/* ═══════════════════════════════════════════════════════════
   IMPORT PREMIUM DESIGN SYSTEM
   ═══════════════════════════════════════════════════════════ */

@import url('premium-spa.css');
@import url('article-editorial.css');
@import url('articles-list.css');

/* ═══════════════════════════════════════════════════════════
   LEGACY VARIABLES (for backwards compatibility)
   ═══════════════════════════════════════════════════════════ */

:root {
    --bs-link-color: #4682B4;
    --bs-link-hover-color: #4169E1;
    --dark-blue: #0B2531;
    --light-blue: #9BDEFF;
    --text-gray: #8892b0;
}

body {
    font-size: 1rem;
    padding-top: 3.875rem;
    font-family: "Montserrat", sans-serif;
    color: #444;
}

h1, h2, h3, h4, h5, h6 {
    color: #2C3E50;
}

a {
    color: #4682B4;
}

a:hover {
    color: #4169E1;
}

.btn-primary {
    --bs-btn-bg: #4682B4;
    --bs-btn-border-color: #4682B4;
    --bs-btn-hover-bg: #4169E1;
    --bs-btn-hover-border-color: #4169E1;
    --bs-btn-active-bg: #4169E1;
    --bs-btn-active-border-color: #4169E1;
    --bs-btn-disabled-bg: #4682B4;
    --bs-btn-disabled-border-color: #4682B4;
}

.btn-outline-primary {
    --bs-btn-color: #4682B4;
    --bs-btn-border-color: #4682B4;
    --bs-btn-hover-bg: #4169E1;
    --bs-btn-hover-border-color: #4169E1;
    --bs-btn-active-bg: #4169E1;
    --bs-btn-active-border-color: #4169E1;
    --bs-btn-disabled-color: #4682B4;
    --bs-btn-disabled-border-color: #4682B4;
}

blockquote {
    border-left: 5px solid #4682B4;
    padding-left: 15px;
    color: #7F8C8D;
    background-color: #ECF0F1;
}

/* Header */
#top-navbar .navbar-brand img {
    max-height: 3.25rem;
}

#top-navbar .dropdown-flags {
    min-width: 1rem;
}

/* Hero */
.hero {
    min-height: 70vh;
    padding: 10rem 0;
    display: flex;
    align-items: center;
}

/* Breadcrumbs */
.breadcrumb-container {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
}

.breadcrumb {
    font-size: 0.875rem;
}

.breadcrumb-item a {
    color: var(--color-primary, #2D5F5D);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--color-primary-dark, #1a3938);
}

/* Articles */
.articles-section {
    margin-bottom: 4rem;
}

.articles-item-date {
    font-size: 0.75rem;
}

.articles-list {
    margin-bottom: 2rem;
}

.articles-list h4 {
    padding-top: 1rem;
}

.article-categories {
    margin-bottom: 2rem;
}

.article-date {
    font-size: .75rem;
    color: #444;
}

.article-image {
    margin-bottom: 2rem;
    text-align: center;
}

/* About project */
.about-project {
    margin: 0 auto 4rem auto;
    max-width: 40rem;
}

/* Search page */
.search-form {
    margin-bottom: 2rem;
    width: 100%;
}

.search-results {
    margin-bottom: 2rem;
    width: 100%;
}

/* Full page */
.full-page {
    margin-bottom: 4rem;
    padding-top: 4rem;
}

.text-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 50rem;
    margin: 0 auto 2rem auto;
}

.text-content h1 {
    margin-bottom: 2rem;
}

.text-block {
    margin-bottom: 4rem;
}

.contact-block {
    margin-bottom: 4rem;
}

.pagination-container {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pagination-container nav {
    margin-bottom: .5rem;
}

/* Footer */
footer .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

footer .nav {
    margin-bottom: 4rem;
}

footer .footer-search {
    margin-bottom: 4rem;
}

footer .footer-search form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .5rem;
}

footer .copyright {
    margin-bottom: 4rem;
}

/* Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 1rem;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 1000;
    overflow: scroll;
    padding-top: 5rem;
    top: 0;
}

#cookieForm {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.cookieText {
    flex-grow: 1;
    margin-bottom: 1rem;
    font-size: 0.75rem;
}

.cookieText h2 {
    font-size: 1rem;
}

.cookieText label {
    margin-right: 0.5rem;
}

.cookieButtons {
    flex-shrink: 1;
    display: flex;
    flex-direction: column;
    min-width: 15rem;
}

.cookieButtons .btn {
    margin-bottom: .25rem;
}

/* Other */
#top {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    display: none;
    z-index: 10;
    cursor: pointer;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .cookie-consent {
        overflow: visible;
        padding: 2rem;
        top: auto;
    }

    #cookieForm {
        flex-direction: row;
    }

    .cookieText {
        margin-bottom: 0rem;
        font-size: 1rem;
    }

    .cookieText h2 {
        font-size: 1.5rem;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {}

/* Home Page Styles */
.hero-section {
    position: relative;
    background-color: var(--dark-blue);
    background-size: cover;
    background-position: center;
    display: flex;
    min-height: calc(100vh - 90px);
    align-items: center;
    color: white;
    text-align: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(292deg, transparent 5.51%, rgba(11, 37, 49, 0.8));
    z-index: 1;
}

.hero-section > .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    color: white;
    font-family: "Open Sans", sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    color: var(--light-blue);
    font-family: "Open Sans", sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.scroll-down-btn {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.scroll-down-btn:hover {
    transform: translate(-50%, 5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.scroll-down-btn i {
    font-size: 20px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.content-section {
    padding: 5rem 0;
}

.bg-light-section {
    background-color: #f8f9fa;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
    text-align: center;
    color: #2C3E50;
}

.section-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 2rem;
}

.feature-card-simple {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 10px;
    transition: transform 0.3s ease;
    height: 100%;
}

.feature-card-simple:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #4682B4, #4169E1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.feature-card-simple h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2C3E50;
}

.feature-card-simple p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

.partner-benefits {
    margin: 2rem 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #555;
}

.benefit-item i {
    color: #4682B4;
    font-size: 1.2rem;
}

.partner-image {
    position: relative;
}

.partner-image img {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-content {
    margin-top: 2rem;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4682B4;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats-row {
        gap: 1.5rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .scroll-down-btn {
        bottom: 50px;
    }
    
    .content-section {
        padding: 3rem 0;
    }
}

/* Partner Modal Styles */
.partner-form .modal-header {
    background: linear-gradient(135deg, #4682B4, #4169E1);
    color: white;
    border-bottom: none;
}

.partner-form .modal-header .modal-title {
    color: white;
    font-weight: 600;
}

.partner-form .modal-header .btn-close {
    filter: invert(1);
    opacity: 0.8;
}

.partner-form .modal-header .btn-close:hover {
    opacity: 1;
}

.partner-form .modal-body {
    padding: 2rem;
}

.partner-form .form-label {
    font-weight: 500;
    color: #2C3E50;
    margin-bottom: 0.5rem;
}

.partner-form .form-control {
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.partner-form .form-control:focus {
    border-color: #4682B4;
    box-shadow: 0 0 0 0.2rem rgba(70, 130, 180, 0.1);
}

.partner-form .form-check-input:checked {
    background-color: #4682B4;
    border-color: #4682B4;
}

.partner-form .btn-primary {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(70, 130, 180, 0.2);
    transition: all 0.3s ease;
}

.partner-form .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(70, 130, 180, 0.3);
}

.partner-form .btn-secondary {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    border: 2px solid #6c757d;
    background-color: transparent;
    color: #6c757d;
    transition: all 0.3s ease;
}

.partner-form .btn-secondary:hover {
    background-color: #6c757d;
    color: white;
}

@media (max-width: 768px) {
    .partner-form .modal-dialog {
        margin: 1rem;
    }
    
    .partner-form .modal-body {
        padding: 1.5rem;
    }
}
/* ===================================
   SPA THEME - MODERN WELLNESS DESIGN
   =================================== */

/* Color Palette */
:root {
    --spa-primary: #5DADA6;
    --spa-primary-dark: #4A9089;
    --spa-secondary: #D4A59A;
    --spa-accent: #1A3B47;
    --spa-sage: #8B9D83;
    --spa-cream: #F5F1ED;
    --spa-sand: #E8E5E1;
    --spa-charcoal: #2C2C2C;
    --spa-gray-light: #F8F7F5;
    --spa-text: #4A4A4A;
    --spa-text-light: #6B6B6B;
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ===================================
   HOMEPAGE - HERO SECTION
   =================================== */

.spa-hero-section {
    position: relative;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.spa-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 59, 71, 0.85) 0%, rgba(93, 173, 166, 0.65) 100%);
    z-index: 1;
}

.spa-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

.spa-hero-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.875rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.spa-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.spa-hero-description {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.spa-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: white;
    color: var(--spa-accent);
    text-decoration: none;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.spa-hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    color: var(--spa-accent);
}

.spa-hero-btn i {
    animation: bounce 2s infinite;
}

.spa-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.spa-scroll-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.6));
    animation: scrollDown 2s infinite;
}

/* ===================================
   CATEGORIES SECTION
   =================================== */

.spa-categories-section {
    padding: 6rem 0;
    background: var(--spa-gray-light);
}

.spa-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.spa-section-subtitle {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--spa-primary);
    margin-bottom: 0.75rem;
}

.spa-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.75rem;
    font-weight: 600;
    color: var(--spa-charcoal);
    line-height: 1.3;
}

.spa-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.spa-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2.5rem 2rem;
    background: white;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.spa-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--spa-primary), var(--spa-sage));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.spa-category-card:hover::before {
    transform: scaleX(1);
}

.spa-category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(93, 173, 166, 0.2);
    border-color: var(--spa-primary);
}

.spa-category-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--spa-primary), var(--spa-sage));
    border-radius: 50%;
    color: white;
    font-size: 1.75rem;
    transition: all 0.4s ease;
}

.spa-category-card:hover .spa-category-icon {
    transform: rotate(10deg) scale(1.1);
}

.spa-category-name {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--spa-charcoal);
    text-align: center;
}

.spa-category-arrow {
    color: var(--spa-primary);
    font-size: 1.25rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s ease;
}

.spa-category-card:hover .spa-category-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ===================================
   ARTICLES SECTION
   =================================== */

.spa-articles-section {
    padding: 6rem 0;
    background: white;
}

.spa-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.spa-article-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.spa-article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.spa-article-image {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
}

.spa-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.spa-article-card:hover .spa-article-image img {
    transform: scale(1.1);
}

.spa-article-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(93, 173, 166, 0.9), rgba(139, 157, 131, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.spa-article-card:hover .spa-article-overlay {
    opacity: 1;
}

.spa-read-more-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--spa-primary);
    font-size: 1.5rem;
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.spa-article-card:hover .spa-read-more-icon {
    transform: scale(1);
}

.spa-article-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.spa-article-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.spa-article-date {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: var(--spa-text-light);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.spa-article-title {
    margin-bottom: 1rem;
}

.spa-article-title a {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--spa-charcoal);
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.spa-article-title a:hover {
    color: var(--spa-primary);
}

.spa-article-excerpt {
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--spa-text);
    margin-bottom: 1.5rem;
    flex: 1;
}

.spa-article-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--spa-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.3s ease;
}

.spa-article-link:hover {
    gap: 0.75rem;
    color: var(--spa-primary-dark);
}

.spa-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--spa-text-light);
}

.spa-empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

/* ===================================
   ARTICLE DETAIL PAGE
   =================================== */

.spa-reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--spa-sand);
    z-index: 1000;
}

.spa-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--spa-primary), var(--spa-sage));
    width: 0%;
    transition: width 0.1s ease;
}

.spa-article-header {
    margin-top: -3.875rem;
}

.spa-article-hero {
    height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.spa-article-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 1) 100%);
}

.spa-article-main {
    padding: 2rem 0 6rem;
}

.spa-article-container {
    max-width: 800px;
    margin: 0 auto;
}

.spa-breadcrumb-wrapper {
    margin-bottom: 2rem;
}

.spa-breadcrumb-wrapper .breadcrumb {
    background: transparent;
    padding: 0;
    font-size: 0.875rem;
}

.spa-article-info {
    margin-bottom: 3rem;
}

.spa-article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.spa-tag {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--spa-gray-light);
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--spa-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.spa-tag:hover {
    background: var(--spa-primary);
    color: white;
    transform: translateY(-2px);
}

.spa-article-main-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 600;
    color: var(--spa-charcoal);
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.spa-article-meta-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    color: var(--spa-text-light);
}

.spa-article-main-date,
.spa-article-read-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.spa-article-divider {
    color: var(--spa-sand);
}

.spa-article-cta-desktop {
    margin: 3rem 0;
}

.spa-cta-box {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--spa-cream), var(--spa-sand));
    border-radius: 20px;
    border: 2px solid var(--spa-primary);
}

.spa-cta-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--spa-primary), var(--spa-sage));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.spa-cta-content {
    flex: 1;
}

.spa-cta-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--spa-charcoal);
    margin-bottom: 0.5rem;
}

.spa-cta-content p {
    font-family: 'Inter', sans-serif;
    color: var(--spa-text);
    margin: 0;
}

.spa-cta-btn {
    flex-shrink: 0;
    padding: 1rem 2rem;
    background: var(--spa-primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.spa-cta-btn:hover {
    background: var(--spa-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(93, 173, 166, 0.3);
    color: white;
}

.spa-article-body {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    line-height: 1.9;
    color: var(--spa-text);
    margin-bottom: 4rem;
}

.spa-article-body h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--spa-charcoal);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.spa-article-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--spa-charcoal);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.spa-article-body p {
    margin-bottom: 1.5rem;
}

.spa-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
}

.spa-article-body blockquote {
    border-left: 4px solid var(--spa-primary);
    padding-left: 2rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--spa-text-light);
    background: var(--spa-gray-light);
    padding: 1.5rem 2rem;
    border-radius: 8px;
}

.spa-article-footer {
    border-top: 2px solid var(--spa-sand);
    padding-top: 2rem;
}

.spa-share-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.spa-share-label {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--spa-charcoal);
}

.spa-share-buttons {
    display: flex;
    gap: 1rem;
}

.spa-share-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--spa-gray-light);
    border-radius: 50%;
    color: var(--spa-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.spa-share-btn:hover {
    background: var(--spa-primary);
    color: white;
    transform: translateY(-3px);
}

.spa-article-cta-mobile {
    display: none;
}

/* ===================================
   ANIMATIONS
   =================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(8px);
    }
    60% {
        transform: translateY(4px);
    }
}

@keyframes scrollDown {
    0% {
        opacity: 0;
        height: 0;
    }
    50% {
        opacity: 1;
        height: 60px;
    }
    100% {
        opacity: 0;
        height: 60px;
    }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 1200px) {
    .spa-articles-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 991px) {
    .spa-hero-title {
        font-size: 3.5rem;
    }

    .spa-section-title {
        font-size: 2.25rem;
    }

    .spa-category-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .spa-articles-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .spa-cta-box {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .spa-hero-section {
        min-height: 80vh;
    }

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

    .spa-hero-description {
        font-size: 1.125rem;
    }

    .spa-section-title {
        font-size: 2rem;
    }

    .spa-categories-section,
    .spa-articles-section {
        padding: 4rem 0;
    }

    .spa-category-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .spa-articles-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .spa-article-hero {
        height: 300px;
    }

    .spa-article-main-title {
        font-size: 2rem;
    }

    .spa-article-body {
        font-size: 1.0625rem;
    }

    .spa-share-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    /* Mobile CTA */
    .spa-article-cta-desktop {
        display: none;
    }

    .spa-article-cta-mobile {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 999;
        padding: 1rem;
        background: white;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
        border-top: 1px solid var(--spa-sand);
    }

    .spa-cta-mobile-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        width: 100%;
        padding: 1.125rem 2rem;
        background: var(--spa-primary);
        color: white;
        text-decoration: none;
        border-radius: 50px;
        font-family: 'Inter', sans-serif;
        font-weight: 600;
        font-size: 1rem;
        transition: all 0.3s ease;
    }

    .spa-cta-mobile-btn:hover {
        background: var(--spa-primary-dark);
        color: white;
    }

    .spa-article-main {
        padding-bottom: 8rem;
    }
}

@media (max-width: 576px) {
    .spa-hero-title {
        font-size: 2rem;
    }

    .spa-hero-tag {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }

    .spa-section-title {
        font-size: 1.75rem;
    }

    .spa-article-main-title {
        font-size: 1.75rem;
    }

    .spa-cta-box {
        padding: 1.5rem;
    }

    .spa-cta-content h3 {
        font-size: 1.25rem;
    }
}

/* Content Sections */
.content-section {
    padding: 4rem 0;
}

.content-section.bg-light {
    background-color: #f8f9fa;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #2C3E50;
}

@media (max-width: 768px) {
    .content-section {
        padding: 2.5rem 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
}

/* ═══════════════════════════════════════════════════════════
   CRITICAL OVERRIDES - Must be last
   ═══════════════════════════════════════════════════════════ */

/* Articles List Page - Fix white title on light background */
.articles-hero .hero-title {
    color: #1A3937 !important;
}

.articles-hero .hero-description {
    color: #2C3E50 !important;
}

/* Articles Filter - Fix active button text color */
a.filter-pill.active {
    color: #FFFFFF !important;
}

/* Article Page Hero - Ensure white text on dark overlay */
.article-header-overlay .article-headline {
    color: #FFFFFF !important;
}

.article-header-overlay .category-pill {
    color: #FFFFFF !important;
}

.article-header-overlay .meta-date,
.article-header-overlay .meta-read,
.article-header-overlay .meta-sep {
    color: rgba(255, 255, 255, 0.9) !important;
}

.article-header-overlay .meta-share-btn {
    color: #FFFFFF !important;
}

/* Fix Article Page Breadcrumb Layout */
.article-hero-immersive .hero-content-overlay {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.article-hero-immersive .hero-breadcrumb {
    display: block !important;
    width: 100% !important;
}

.article-hero-immersive .article-header-overlay {
    flex-grow: 1 !important;
}

/* Article Page Hero - Ensure Dark Overlay for White Text Visibility */
.article-hero-immersive .hero-gradient {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.7) 50%,
        rgba(0, 0, 0, 0.8) 100%
    ) !important;
}

.article-hero-immersive .hero-image {
    filter: brightness(0.7) !important;
}

/* Ensure all text in article header is white */
.article-header-overlay h1,
.article-header-overlay .article-headline,
.article-header-overlay a,
.article-header-overlay span,
.article-header-overlay time,
.article-header-overlay button {
    color: #FFFFFF !important;
}

.article-header-overlay .category-pill {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.article-header-overlay .meta-share-btn {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}
/* ═══════════════════════════════════════════════════════════
   ARTICLE PAGE HERO - COMPLETE OVERRIDE
   ═══════════════════════════════════════════════════════════ */

/* Hero Container - Always Dark Background */
.article-hero-immersive {
    position: relative !important;
    height: 70vh !important;
    min-height: 600px !important;
    margin-top: -3.875rem !important;
    overflow: hidden !important;
    background: #1A3937 !important;
}

/* Image Layer */
.article-hero-immersive .hero-image-container {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
}

.article-hero-immersive .hero-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 0.4 !important;
}

/* Dark Overlay */
.article-hero-immersive .hero-gradient {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.6) !important;
    z-index: 2 !important;
}

/* Content Overlay - Centered Layout */
.article-hero-immersive .hero-content-overlay {
    position: absolute !important;
    inset: 0 !important;
    z-index: 10 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 6rem 2rem 2rem !important;
}

/* Breadcrumb at Top */
.article-hero-immersive .hero-breadcrumb {
    position: absolute !important;
    top: 5rem !important;
    left: 2rem !important;
    right: 2rem !important;
    z-index: 11 !important;
}

.article-hero-immersive .hero-breadcrumb * {
    color: rgba(255, 255, 255, 0.8) !important;
}

.article-hero-immersive .hero-breadcrumb a:hover {
    color: #FFFFFF !important;
}

/* Article Header - Centered */
.article-hero-immersive .article-header-overlay {
    max-width: 900px !important;
    text-align: center !important;
    width: 100% !important;
}

/* ALL text white */
.article-hero-immersive .article-header-overlay *,
.article-hero-immersive .article-header-overlay h1,
.article-hero-immersive .article-header-overlay a,
.article-hero-immersive .article-header-overlay span,
.article-hero-immersive .article-header-overlay time,
.article-hero-immersive .article-header-overlay button {
    color: #FFFFFF !important;
}

.article-hero-immersive .article-headline {
    font-size: clamp(2rem, 5vw, 4rem) !important;
    color: #FFFFFF !important;
    margin-bottom: 1.5rem !important;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5) !important;
}

.article-hero-immersive .category-pill {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #FFFFFF !important;
}

.article-hero-immersive .meta-share-btn {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #FFFFFF !important;
}

/* Scroll Indicator */
.article-hero-immersive .hero-scroll-indicator {
    position: absolute !important;
    bottom: 40px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 11 !important;
}

/* Fix top gap - breadcrumb closer to navbar */
.article-hero-immersive .hero-breadcrumb {
    top: 4rem !important;
}

/* Reduce overall padding */
.article-hero-immersive .hero-content-overlay {
    padding: 5rem 2rem 2rem !important;
}

/* Breadcrumb right below navbar */
.article-hero-immersive .hero-breadcrumb {
    top: 4.375rem !important;
}

/* ═══════════════════════════════════════════════════════════
   ARTICLE HERO - FINAL CLEAN FIX
   ═══════════════════════════════════════════════════════════ */

/* Reset and fix hero container */
.article-hero-immersive {
    background: #1A3937 !important;
    margin-top: -3.875rem !important;
}

/* Image with low opacity for dark background */
.article-hero-immersive .hero-image {
    opacity: 0.3 !important;
}

/* Strong dark overlay */
.article-hero-immersive .hero-gradient {
    background: rgba(0, 0, 0, 0.7) !important;
}

/* Content overlay - simple centered layout */
.article-hero-immersive .hero-content-overlay {
    padding: 4.5rem 2rem 2rem !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 2rem !important;
}

/* Breadcrumb positioned at top, no extra gap */
.article-hero-immersive .hero-breadcrumb {
    position: static !important;
    width: 100% !important;
    margin-bottom: auto !important;
}

/* Header centered in remaining space */
.article-hero-immersive .article-header-overlay {
    margin: auto 0 !important;
}

/* Force all text to white */
.article-hero-immersive * {
    color: #FFFFFF !important;
}

.article-hero-immersive .category-pill,
.article-hero-immersive .meta-share-btn {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Center breadcrumb to match header width */
.article-hero-immersive .hero-breadcrumb {
    max-width: 900px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: left !important;
}

/* Add space between hero and article content */
.article-editorial {
    padding-top: 4rem !important;
}
