:root {
    --primary-color: #0A192F;
    --secondary-color: #1B365D;
    --accent-color: #0056B3;
    --gold-color: #C5A059;
    --text-dark: #333333;
    --text-light: #555555;
    --bg-light: #F8F9FA;
    --bg-gray: #ECEFF4;
    --white: #FFFFFF;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.25s ease;
}

html,
body {
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.7;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 0;
}

p {
    color: var(--text-light);
    font-weight: 300;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--gold-color);
}

.text-gold {
    color: var(--gold-color) !important;
}

.navbar {
    padding: 18px 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.navbar-brand img {
    width: 120px;
    height: auto;
}

.nav-link {
    color: var(--text-dark) !important;
    font-size: 0.92rem;
    font-weight: 500;
    margin: 0 8px;
}

.nav-link:hover {
    color: var(--gold-color) !important;
}

.btn-premium {
    border-radius: 0;
    padding: 14px 26px;
    font-family: var(--font-heading);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary-premium {
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: var(--white);
}

.btn-primary-premium:hover {
    background: var(--gold-color);
    border-color: var(--gold-color);
    color: var(--white);
}

.btn-outline-premium {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-premium:hover {
    color: var(--white);
    background: var(--primary-color);
}

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1050;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 32px rgba(18, 140, 126, 0.32);
    border: 2px solid rgba(255,255,255,0.9);
}

.whatsapp-float:hover {
    background: #128C7E;
    color: #fff;
    transform: translateY(-3px);
}

.whatsapp-float i {
    font-size: 2rem;
    line-height: 1;
}

.section-tag {
    display: block;
    color: var(--gold-color);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.blog-hero {
    background: var(--bg-light);
    padding: 160px 0 82px;
    border-bottom: 1px solid var(--bg-gray);
}

.blog-hero h1 {
    font-size: clamp(2.4rem, 5vw, 4.6rem);
    font-weight: 400;
    max-width: 900px;
}

.blog-hero h1 strong {
    display: block;
    font-weight: 700;
}

.blog-hero p {
    font-size: 1.16rem;
    max-width: 760px;
}

.blog-shell {
    padding: 80px 0 90px;
}

.filter-panel {
    background: var(--white);
    border-left: 4px solid var(--gold-color);
    box-shadow: 0 18px 40px rgba(10, 25, 47, 0.06);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.filter-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
}

.filter-form .form-control,
.filter-form .form-select {
    border-radius: 0;
    border-color: var(--bg-gray);
    min-height: 50px;
}

.category-row {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-top: 1rem;
}

.category-pill {
    border: 1px solid var(--bg-gray);
    color: var(--primary-color);
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 10px 14px;
}

.category-pill.active,
.category-pill:hover {
    border-color: var(--gold-color);
    background: var(--primary-color);
    color: var(--white);
}

.featured-card {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    background: var(--primary-color);
    margin-bottom: 2rem;
}

.featured-card img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

.featured-card-body {
    padding: clamp(2rem, 5vw, 4rem);
}

.featured-card h2,
.featured-card p {
    color: var(--white);
}

.featured-card p {
    color: rgba(255,255,255,0.78);
}

.post-card {
    height: 100%;
    background: var(--white);
    border-top: 4px solid transparent;
    box-shadow: 0 12px 34px rgba(10, 25, 47, 0.06);
    transition: var(--transition);
}

.post-card:hover {
    border-top-color: var(--gold-color);
    transform: translateY(-4px);
}

.post-card img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    width: 100%;
}

.post-card-body {
    padding: 1.6rem;
}

.post-card h2,
.post-card h3 {
    font-size: 1.24rem;
    line-height: 1.35;
}

.post-meta {
    align-items: center;
    color: #748091;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.87rem;
    gap: 12px;
}

.post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.post-category {
    color: var(--gold-color);
    font-family: var(--font-heading);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.empty-state {
    background: var(--bg-light);
    border-left: 4px solid var(--gold-color);
    padding: 3rem;
    text-align: center;
}

.pagination .page-link {
    border-radius: 0 !important;
    color: var(--primary-color);
    min-width: 44px;
    text-align: center;
}

.pagination .active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.article-hero {
    background: var(--bg-light);
    padding: 140px 0 50px;
}

.breadcrumb {
    font-size: 0.88rem;
}

.article-title {
    font-size: clamp(2.2rem, 4.6vw, 4.2rem);
    font-weight: 600;
    max-width: 1040px;
}

.article-lead {
    font-size: 1.18rem;
    max-width: 860px;
}

.article-image {
    width: 100%;
    max-height: 620px;
    object-fit: cover;
}

.article-body {
    font-size: 1.06rem;
}

.article-body h1,
.article-body h2,
.article-body h3 {
    margin-top: 2.3rem;
}

.article-body p,
.article-body li {
    color: #4f5a69;
}

.article-body blockquote {
    border-left: 4px solid var(--gold-color);
    background: var(--bg-light);
    color: var(--primary-color);
    margin: 2rem 0;
    padding: 1.4rem 1.6rem;
}

.article-body img {
    height: auto;
    max-width: 100%;
}

.article-body .faq-section {
    margin-top: 3rem;
}

.article-body .faq-section h2 {
    margin-top: 0;
    margin-bottom: 1.4rem;
}

.article-body .accordion {
    border-top: 1px solid #dce2ea;
}

.article-body .accordion-item {
    border: 0;
    border-bottom: 1px solid #dce2ea;
    border-radius: 0;
    margin: 0;
}

.article-body .accordion-header {
    margin: 0;
}

.article-body .accordion-button {
    background: #fff;
    box-shadow: none;
    color: var(--primary-color);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.45;
    min-height: auto;
    padding: 1.2rem 1.35rem;
}

.article-body .accordion-button:not(.collapsed) {
    background: var(--bg-light);
    color: var(--primary-color);
}

.article-body .accordion-button:focus {
    border-color: transparent;
    box-shadow: inset 4px 0 0 var(--gold-color);
}

.article-body .accordion-body {
    background: #fff;
    color: #4f5a69;
    padding: 0 1.35rem 1.25rem;
}

.article-body .accordion-body p:last-child {
    margin-bottom: 0;
}

.tag-chip {
    border: 1px solid var(--bg-gray);
    color: var(--primary-color);
    display: inline-flex;
    font-size: 0.9rem;
    margin: 0 8px 8px 0;
    padding: 8px 12px;
}

.article-cta {
    background: var(--primary-color);
    color: var(--white);
    padding: 2rem;
    position: sticky;
    top: 100px;
}

.article-cta h3,
.article-cta p {
    color: var(--white);
}

.related-card {
    background: var(--white);
    border-left: 4px solid var(--gold-color);
    box-shadow: 0 12px 30px rgba(10, 25, 47, 0.06);
    height: 100%;
    padding: 1.5rem;
}

footer {
    background: #050d1a;
    color: rgba(255,255,255,0.62);
    padding: 54px 0 28px;
}

footer h5,
footer h3 {
    color: var(--white);
}

footer a {
    color: rgba(255,255,255,0.68);
}

footer a:hover {
    color: var(--gold-color);
}

@media (max-width: 991px) {
    .blog-hero,
    .article-hero {
        padding-top: 120px;
    }

    .featured-card {
        grid-template-columns: 1fr;
    }

    .featured-card img {
        min-height: 240px;
    }

    .filter-form {
        grid-template-columns: 1fr;
    }

    .article-cta {
        position: static;
    }
}

@media (max-width: 575px) {
    .navbar {
        padding: 14px 0;
    }

    .navbar-brand img {
        width: 106px;
    }

    .blog-hero {
        padding: 112px 0 54px;
    }

    .blog-hero h1 {
        font-size: 2.15rem;
        line-height: 1.14;
    }

    .blog-hero p {
        font-size: 1.02rem;
        line-height: 1.65;
    }

    .blog-shell {
        padding: 48px 0 64px;
    }

    .filter-panel {
        padding: 1.15rem;
    }

    .category-row {
        gap: 8px;
    }

    .category-pill {
        font-size: 0.78rem;
        padding: 8px 11px;
    }

    .featured-card-body,
    .post-card-body {
        padding: 1.25rem;
    }

    .article-hero {
        padding: 112px 0 38px;
    }

    .breadcrumb {
        font-size: 0.82rem;
        line-height: 1.45;
    }

    .breadcrumb-item.active {
        display: none;
    }

    .article-hero .post-category {
        display: inline-flex;
        font-size: 0.7rem;
        letter-spacing: 1.1px;
        line-height: 1.35;
        margin-bottom: 0.75rem;
        margin-right: 0.8rem !important;
    }

    .article-title {
        font-size: 2.05rem;
        line-height: 1.12;
        margin-top: 0.65rem !important;
    }

    .article-lead {
        font-size: 1.03rem;
        line-height: 1.62;
    }

    .article-image {
        margin-bottom: 2rem !important;
        max-height: 320px;
    }

    .article-body {
        font-size: 1rem;
    }

    .article-body h1,
    .article-body h2 {
        font-size: 1.65rem;
        line-height: 1.22;
    }

    .article-body h3 {
        font-size: 1.25rem;
        line-height: 1.3;
    }

    .tag-chip {
        font-size: 0.82rem;
        padding: 7px 10px;
    }

    .whatsapp-float {
        bottom: 18px;
        right: 18px;
        width: 54px;
        height: 54px;
    }

    .whatsapp-float i {
        font-size: 1.7rem;
    }
}
