/*
Theme Name: soeasy.blog
Author: OpenAI
Description: Finans blogu için mobil uyumlu, özelleştirilebilir WordPress teması.
Version: 1.3
*/

body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f7f9fb;
    color: #222;
}

a {
    color: #006666;
    text-decoration: none;
}

a:hover {
    color: #009999;
    text-decoration: underline;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

header {
    background-color: #ffffff;
    border-bottom: 2px solid #e0e0e0;
    padding: 1rem;
    text-align: center;
}

header .custom-logo {
    max-width: 250px;
    max-height: 250px;
    height: auto;
    width: auto;
    display: block;
    margin: 0 auto 10px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: #006666;
    font-weight: bold;
}

.grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
    align-items: stretch;
}

.grid-item {
    background: #ffffff;
    flex: 1 1 calc(25% - 20px);
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.grid-item:hover {
    transform: translateY(-5px);
}

.grid-item img {
    width: 100%;
    max-width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 6px;
    margin: auto;
}

.grid-item h2 {
    font-size: 1.1rem;
    color: #003333;
    margin-top: 10px;
    min-height: 60px;
}

.grid-item p {
    font-size: 0.9rem;
    color: #444;
    flex-grow: 1;
    min-height: 80px;
}

.grid-item button {
    margin-top: 10px;
    background-color: #007777;
    color: white;
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.grid-item button:hover {
    background-color: #005555;
}

footer {
    background: #e6f2f2;
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
    color: #004d4d;
}

footer nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    list-style: none;
    margin-bottom: 10px;
}

footer nav ul li a {
    color: #006666;
}

@media (max-width: 768px) {
    .grid-item {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .grid-item {
        flex: 1 1 100%;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }
}


.single-post {
    background: #ffffff;
    padding: 30px;
    margin-top: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.single-post .featured-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.single-post .post-title {
    font-size: 2rem;
    color: #004d4d;
    margin-bottom: 10px;
}

.single-post .post-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

.single-post .post-content {
    line-height: 1.8;
    font-size: 1rem;
    color: #222;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.post-navigation .prev a,
.post-navigation .next a {
    color: #007777;
    font-weight: bold;
}


.centered-image {
    text-align: center;
    margin-bottom: 20px;
}

.centered-image img {
    margin: 0 auto;
    display: block;
    border-radius: 8px;
    max-width: 100%;
    height: auto;
}

.post-tags {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #666;
}

.social-share {
    margin-top: 20px;
    font-size: 0.9rem;
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-share a {
    background-color: #007777;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
}

.social-share a:hover {
    background-color: #005555;
}


.comments-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #ddd;
}

.comments-title,
.comment-reply-title {
    font-size: 1.3rem;
    color: #004d4d;
    margin-bottom: 15px;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment-list li {
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.comment-meta {
    font-size: 0.85rem;
    color: #666;
}

.comment-content {
    margin-top: 5px;
    font-size: 1rem;
    color: #222;
}

.comment-form-comment textarea,
.comment-form-author input,
.comment-form-email input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    border-radius: 6px;
}

.comment-form-submit input[type="submit"] {
    background-color: #007777;
    color: white;
    padding: 8px 18px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.comment-form-submit input[type="submit"]:hover {
    background-color: #005555;
}


.category-title {
    font-size: 1.6rem;
    color: #004d4d;
    margin-bottom: 20px;
    text-align: center;
}


.pagination {
    margin-top: 30px;
    text-align: center;
}

.pagination .page-numbers {
    display: inline-block;
    margin: 0 5px;
    padding: 6px 12px;
    background: #e0f7f7;
    color: #004d4d;
    text-decoration: none;
    border-radius: 5px;
}

.pagination .current {
    background: #007777;
    color: #fff;
    font-weight: bold;
}


.post-content img {
    max-width: 100%;
    max-height: 600px;
    height: auto;
    display: block;
    margin: 20px auto;
    object-fit: contain;
    border-radius: 8px;
}


.post-content img {
    max-width: 100%;
    max-height: 500px;
    height: auto;
    display: block;
    margin: 20px auto;
    object-fit: contain;
    border-radius: 8px;
}


.featured-image img {
    max-width: 100%;
    max-height: 500px;
    height: auto;
    display: block;
    margin: 0 auto 20px;
    object-fit: cover;
    border-radius: 8px;
}


/* İçerik içi ve öne çıkarılan görseller */
.post-content img,
.featured-image img {
    max-width: 100%;
    max-height: 500px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto 20px;
    border-radius: 8px;
}
.moneynest-contact-form input,
.moneynest-contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.moneynest-contact-form input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px 20px;
}

.success { color: green; }
.error { color: red; }
