@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Roboto:wght@400;500&display=swap');

/* ==========================================================================
   New Blog Tema Değişkenleri
   ========================================================================== */
:root {
    --nb-dark-blue: #0A192F;
    --nb-slate: #8892b0;
    --nb-light-slate: #a8b2d1;
    --nb-white: #e6f1ff;
    --nb-gold: #DAA520;
    --nb-background: #F5F7FA;
    --nb-card-bg: #FFFFFF;
    --nb-serif-font: 'Playfair Display', serif;
    --nb-sans-font: 'Roboto', sans-serif;
}

/* ==========================================================================
   New Blog Temel Ayarlar
   ========================================================================== */
#page-new-blog {
    background-color: var(--nb-background);
    color: var(--nb-slate);
    font-family: var(--nb-sans-font);
}

/* ==========================================================================
   Hero Alanı
   ========================================================================== */
.nb-hero {
    background-color: var(--nb-dark-blue);
    padding: 60px 0 40px;
    min-height: 30vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: linear-gradient(rgba(10, 25, 47, 0.8), rgba(10, 25, 47, 0.8)), url('cardarkaplan.jpg');
    background-size: cover;
    background-position: center;
}

.nb-hero-title {
    font-family: var(--nb-serif-font);
    font-size: 3.5rem;
    color: var(--nb-white);
    margin-bottom: 1rem;
}

.nb-hero-subtitle {
    font-size: 1.2rem;
    color: var(--nb-light-slate);
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.nb-cta-button {
    background-color: transparent;
    color: var(--nb-gold);
    border: 2px solid var(--nb-gold);
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nb-cta-button:hover {
    background-color: var(--nb-gold);
    color: var(--nb-dark-blue);
}

/* ==========================================================================
   Blog İçerik Alanı
   ========================================================================== */
.nb-blog-content {
    padding: 5rem 0;
}

.nb-blog-content .container {
    display: flex;
    gap: 3rem;
}

/* Filtreleme Alanı */
.nb-filters {
    flex: 0 0 200px;
}

.nb-filter-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--nb-dark-blue);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #eef;
    padding-bottom: 1rem;
}

.nb-filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nb-filter-list li a {
    display: block;
    padding: 0.75rem 0;
    color: var(--nb-slate);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nb-filter-list li a:hover,
.nb-filter-list li a.active {
    color: var(--nb-gold);
}

/* Yazı Alanı */
.nb-posts-wrapper {
    flex: 1;
}

/* Öne Çıkan Yazı */
.nb-featured-post {
    margin-bottom: 3rem;
}

.nb-post-card.horizontal {
    display: flex;
    gap: 2rem;
    background-color: var(--nb-card-bg);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.nb-post-card.horizontal:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.nb-post-card.horizontal .nb-card-image {
    flex: 0 0 40%;
    object-fit: cover;
}

.nb-post-card.horizontal .nb-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nb-card-eyebrow {
    color: var(--nb-gold);
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-size: 0.8rem;
}

/* Kart Yapısı */
.nb-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.nb-post-card {
    background: var(--nb-card-bg);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

.nb-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.nb-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.nb-card-content {
    padding: 1.5rem;
}

.nb-card-title {
    font-family: var(--nb-serif-font);
    font-size: 1.5rem;
    color: var(--nb-dark-blue);
    margin-bottom: 0.75rem;
}

.nb-card-title a {
    color: inherit;
    text-decoration: none;
}

.nb-card-excerpt {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--nb-slate);
    margin-bottom: 1rem;
}

.nb-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--nb-light-slate);
    font-weight: 500;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.nb-footer {
    background-color: var(--nb-dark-blue);
    padding: 3rem 0;
    text-align: center;
    color: var(--nb-light-slate);
}

.nb-footer p {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.nb-social-links a {
    color: var(--nb-light-slate);
    font-size: 1.5rem;
    margin: 0 0.75rem;
    transition: color 0.3s ease;
}

.nb-social-links a:hover {
    color: var(--nb-gold);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
    .nb-blog-content .container {
        flex-direction: column;
    }

    .nb-filters {
        flex: 1;
        border-bottom: 2px solid #eef;
        padding-bottom: 2rem;
    }

    .nb-filter-list {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .nb-filter-list li a {
        padding: 0.5rem 1rem;
        border: 1px solid #eef;
        border-radius: 20px;
    }
}

@media (max-width: 768px) {
    .nb-hero {
        padding: 5rem 0;
    }

    .nb-hero-title {
        font-size: 2.5rem;
    }

    .nb-hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .nb-post-card.horizontal {
        flex-direction: column;
    }

    .nb-post-card.horizontal .nb-card-image {
        flex: 1;
    }

    .nb-post-card.horizontal .nb-card-image img {
        height: 250px;
    }

    .nb-posts-grid {
        grid-template-columns: 1fr;
    }

    .post-hero-content {
        flex-direction: column;
        gap: 2rem;
    }

    .post-hero-visual {
        flex: 1;
    }

    .post-hero-title {
        font-size: 2rem;
    }

    .content-segment {
        padding-left: 1rem;
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 480px) {
    .nb-hero {
        padding: 3rem 0;
    }

    .nb-hero-title {
        font-size: 2rem;
        padding: 0 1rem;
    }

    .nb-hero-subtitle {
        font-size: 0.95rem;
        padding: 0 1rem;
    }

    .nb-cta-button {
        font-size: 14px;
        padding: 0.75rem 1.5rem;
    }

    .nb-blog-content {
        padding: 3rem 0;
    }

    .nb-blog-content .container {
        gap: 2rem;
    }

    .nb-filter-title {
        font-size: 1rem;
    }

    .nb-filter-list li a {
        font-size: 13px;
        padding: 0.4rem 0.8rem;
    }

    .nb-post-card.horizontal .nb-card-content {
        padding: 1.25rem;
    }

    .nb-card-title {
        font-size: 1.25rem;
    }

    .nb-card-excerpt {
        font-size: 0.9rem;
    }

    .nb-card-meta {
        font-size: 0.8rem;
        flex-direction: column;
        gap: 0.25rem;
    }

    .nb-footer {
        padding: 2rem 0;
    }

    /* Post Detail Page */
    .post-hero-section {
        padding: 3rem 0;
    }

    .post-hero-title {
        font-size: 1.5rem;
    }

    .post-hero-subtitle {
        font-size: 1rem;
    }

    .post-hero-tag {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .post-content-section {
        padding: 3rem 0;
    }

    .post-content-wrapper {
        padding: 0 1rem;
    }

    .content-segment {
        padding-left: 0.75rem;
        margin-bottom: 2rem;
    }

    .content-segment h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .content-segment p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .content-segment ul li {
        font-size: 0.95rem;
    }

    .inline-image {
        margin: 1.5rem 0;
    }

    .post-cta-section {
        padding: 3rem 0;
    }

    .post-cta-section h2 {
        font-size: 1.5rem;
        padding: 0 1rem;
    }

    .post-cta-section p {
        font-size: 0.9rem;
        padding: 0 1rem;
    }
}

/* ==========================================================================
   Blog Post Detay Sayfası Stilleri (v2)
   ========================================================================== */

#page-blog-post {
    background-color: #FFFFFF;
}

.post-full-container {
    background-color: #FFFFFF;
}

/* Post Hero */
.post-hero-section {
    padding: 60px 0 40px;
    min-height: 30vh;
    display: flex;
    align-items: center;
    background-color: var(--nb-dark-blue);
    color: var(--nb-white);
}

.post-hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.post-hero-text {
    flex: 1;
}

.post-hero-tag {
    display: inline-block;
    background-color: var(--nb-gold);
    color: var(--nb-dark-blue);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.post-hero-title {
    font-family: var(--nb-serif-font);
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--nb-white);
}

.post-hero-subtitle {
    font-size: 1.2rem;
    color: var(--nb-light-slate);
    max-width: 500px;
}

.post-hero-visual {
    flex: 0 0 40%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.hero-main-image {
    width: 100%;
    object-fit: cover;
}


/* Post İçerik */
.post-content-section {
    padding: 5rem 0;
    font-family: var(--nb-sans-font);
}

.post-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    color: #333;
}

.content-segment {
    margin-bottom: 3.5rem;
    padding-left: 2rem;
    border-left: 3px solid var(--nb-gold);
}

.content-segment h2 {
    font-family: var(--nb-serif-font);
    font-size: 2rem;
    color: var(--nb-dark-blue);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.content-segment h2 i {
    color: var(--nb-gold);
    font-size: 1.5rem;
}

.content-segment p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.content-segment ul {
    list-style: none;
    padding-left: 0;
}

.content-segment ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.content-segment ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--nb-gold);
    font-weight: 700;
}

.inline-image {
    margin: 2.5rem 0;
    text-align: center;
}

.inline-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.inline-image figcaption {
    font-size: 0.9rem;
    color: var(--nb-slate);
    margin-top: 1rem;
    font-style: italic;
}


/* Post CTA */
.post-cta-section {
    background-color: var(--nb-background);
    padding: 5rem 0;
    text-align: center;
}

.post-cta-section h2 {
    font-family: var(--nb-serif-font);
    font-size: 2.2rem;
    color: var(--nb-dark-blue);
    max-width: 600px;
    margin: 0 auto 1rem auto;
}

.post-cta-section p {
    color: var(--nb-slate);
    max-width: 550px;
    margin: 0 auto 2rem auto;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}