/* ====================================
   Agafay Oasis Blog - AMH News Style
   FRONTEND ONLY - Scoped to blog pages
   ==================================== */

/* Article Page - News/Magazine Layout */

/* Category Badge */
.blog-article-wrapper .article-category-badge {
    margin-bottom: 1rem;
}

.blog-article-wrapper .article-category-badge span {
    background: #000;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 12px;
    display: inline-block;
}

/* Headline */
.blog-article-wrapper .article-headline {
    font-size: 3rem;
    font-weight: 600;
    color: #000;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

/* Excerpt */
.blog-article-wrapper .article-excerpt {
    font-size: 1.5rem;
    color: #6b7280;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Byline Section */
.blog-article-wrapper .article-byline-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem 0;
    border-top: 1px solid #d1d5db;
    border-bottom: 1px solid #d1d5db;
    margin-bottom: 2.5rem;
}

.blog-article-wrapper .article-author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.blog-article-wrapper .article-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fed7aa;
    border: 1px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-article-wrapper .article-avatar span {
    color: #d97706;
    font-weight: 700;
    font-size: 1.25rem;
}

.blog-article-wrapper .article-author-name {
    font-weight: 700;
    color: #1a202c;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-article-wrapper .article-author-meta {
    font-size: 14px;
    color: #6b7280;
    font-style: italic;
}

/* Social Share Buttons */
.blog-article-wrapper .article-social-share {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.blog-article-wrapper .article-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    text-decoration: none;
}

.blog-article-wrapper .article-social-btn:hover {
    transform: translateY(-2px);
}

.blog-article-wrapper .article-social-fb {
    background: rgba(24, 119, 242, 0.1);
    border: 1px solid rgba(24, 119, 242, 0.3);
    color: #1877F2;
}

.blog-article-wrapper .article-social-fb:hover {
    background: #1877F2;
    color: #fff;
}

.blog-article-wrapper .article-social-tw {
    background: rgba(29, 161, 242, 0.1);
    border: 1px solid rgba(29, 161, 242, 0.3);
    color: #1DA1F2;
}

.blog-article-wrapper .article-social-tw:hover {
    background: #1DA1F2;
    color: #fff;
}

.blog-article-wrapper .article-social-ln {
    background: rgba(0, 119, 181, 0.1);
    border: 1px solid rgba(0, 119, 181, 0.3);
    color: #0077B5;
}

.blog-article-wrapper .article-social-ln:hover {
    background: #0077B5;
    color: #fff;
}

.blog-article-wrapper .article-social-wa {
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.3);
    color: #25D366;
}

.blog-article-wrapper .article-social-wa:hover {
    background: #25D366;
    color: #fff;
}

/* Hero Image */
.blog-article-wrapper .article-hero-figure {
    margin-bottom: 3rem;
}

.blog-article-wrapper .article-hero-image {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #f3f4f6;
}

.blog-article-wrapper .article-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-article-wrapper .article-image-caption {
    font-size: 11px;
    color: #6b7280;
    margin-top: 0.75rem;
    text-align: right;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Article Content */
.blog-article-wrapper .article-content-body {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #4a5568;
    font-family: Georgia, 'Times New Roman', serif;
}

.blog-article-wrapper .article-content-body p {
    margin-bottom: 1.5rem;
}

.blog-article-wrapper .article-content-body p:first-of-type {
    font-size: 1.25rem;
    color: #2d3748;
}

.blog-article-wrapper .article-content-body h2 {
    font-size: 1.875rem;
    font-weight: 600;
    color: #1a202c;
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    line-height: 1.3;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.blog-article-wrapper .article-content-body h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a202c;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.blog-article-wrapper .article-content-body ul,
.blog-article-wrapper .article-content-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.blog-article-wrapper .article-content-body li {
    margin-bottom: 0.5rem;
}

.blog-article-wrapper .article-content-body strong {
    font-weight: 700;
    color: #2d3748;
}

.blog-article-wrapper .article-content-body a {
    color: #d97706;
    text-decoration: underline;
}

.blog-article-wrapper .article-content-body a:hover {
    color: #b45309;
}

.blog-article-wrapper .article-content-body blockquote {
    margin: 2.5rem 0;
    padding-left: 1.5rem;
    border-left: 4px solid #000;
    font-size: 1.5rem;
    font-family: Georgia, 'Times New Roman', serif;
    color: #000;
    font-style: italic;
    line-height: 1.5;
}

.blog-article-wrapper .article-content-body img {
    max-width: 100%;
    height: auto;
    margin: 2rem 0;
}

/* Sidebar */
.blog-article-wrapper .sidebar-sticky-wrapper {
    position: sticky;
    top: 8rem;
}

.blog-article-wrapper .sidebar-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #000;
}

.blog-article-wrapper .sidebar-section-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

/* Sidebar Articles */
.blog-article-wrapper .sidebar-articles-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.blog-article-wrapper .sidebar-article-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-decoration: none;
}

.blog-article-wrapper .sidebar-article-image {
    width: 100%;
    aspect-ratio: 3/2;
    overflow: hidden;
    background: #f3f4f6;
}

.blog-article-wrapper .sidebar-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-article-wrapper .sidebar-article-card:hover .sidebar-article-image img {
    transform: scale(1.05);
}

.blog-article-wrapper .sidebar-article-category {
    color: #d97706;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-article-wrapper .sidebar-article-title {
    font-size: 1.125rem;
    font-family: Georgia, 'Times New Roman', serif;
    color: #000;
    line-height: 1.4;
    margin: 0.25rem 0 0 0;
}

.blog-article-wrapper .sidebar-article-card:hover .sidebar-article-title {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    text-decoration-color: #d1d5db;
}

/* Newsletter Widget */
.blog-article-wrapper .sidebar-newsletter-widget {
    margin-top: 3rem;
    background: #f9fafb;
    padding: 2rem;
    border: 1px solid #d1d5db;
    text-align: center;
}

.blog-article-wrapper .sidebar-newsletter-icon {
    margin: 0 auto 1rem auto;
    color: #d97706;
}

.blog-article-wrapper .sidebar-newsletter-title {
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #000;
    margin-bottom: 0.5rem;
}

.blog-article-wrapper .sidebar-newsletter-desc {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 1.5rem;
    font-family: Georgia, 'Times New Roman', serif;
}

.blog-article-wrapper .sidebar-newsletter-input {
    width: 100%;
    border: none;
    border-bottom: 1px solid #000;
    background: transparent;
    padding: 0.5rem 0;
    text-align: center;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
    margin-bottom: 1rem;
}

.blog-article-wrapper .sidebar-newsletter-input:focus {
    border-bottom-color: #d97706;
}

.blog-article-wrapper .sidebar-newsletter-btn {
    width: 100%;
    background: #000;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.75rem;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.blog-article-wrapper .sidebar-newsletter-btn:hover {
    background: #d97706;
}

/* Responsive Design */
@media (min-width: 640px) {
    .blog-article-wrapper .article-byline-section {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .blog-article-wrapper .article-headline {
        font-size: 2rem;
    }
    
    .blog-article-wrapper .article-excerpt {
        font-size: 1.125rem;
    }
    
    .blog-article-wrapper .article-content-body {
        font-size: 1rem;
    }
    
    .blog-article-wrapper .article-content-body p:first-of-type {
        font-size: 1.125rem;
    }
    
    .blog-article-wrapper .article-content-body h2 {
        font-size: 1.5rem;
        margin-top: 2rem;
    }
    
    .blog-article-wrapper .article-content-body h3 {
        font-size: 1.25rem;
        margin-top: 1.5rem;
    }
    
    .blog-article-wrapper .article-content-body blockquote {
        font-size: 1.25rem;
        padding-left: 1rem;
    }
    
    .blog-article-wrapper .sidebar-sticky-wrapper {
        position: static;
    }
}

@media (max-width: 640px) {
    .blog-article-wrapper .article-headline {
        font-size: 1.75rem;
    }
    
    .blog-article-wrapper .article-excerpt {
        font-size: 1rem;
    }
}

/* WhatsApp Float Button - Article Page Override */
.blog-article-wrapper .whatsapp-float {
    bottom: 24px;
    right: 24px;
    width: 52px;
    height: 52px;
    font-size: 24px;
    z-index: 998;
}

@media (max-width: 768px) {
    .blog-article-wrapper .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 48px;
        height: 48px;
        font-size: 22px;
    }
}

/* Hide chat widget on article pages */
.blog-article-wrapper ~ .chat-widget,
body:has(.blog-article-wrapper) .chat-widget {
    display: none !important;
}

/* Article page refresh: aligned with the warm editorial system on the blog index. */
.blog-article-wrapper {
    --article-ink: #2a2a2a;
    --article-muted: #737373;
    --article-gold: #c9a96e;
    --article-line: #e7e1d8;
    background: #faf9f7;
}

.blog-article-wrapper .article-category-badge span {
    padding: 7px 11px;
    border: 1px solid rgba(201, 169, 110, 0.42);
    border-radius: 999px;
    background: rgba(201, 169, 110, 0.12);
    color: #8a672f;
    font-size: 0.66rem;
    letter-spacing: 0.12em;
}

.blog-article-wrapper .article-headline {
    max-width: 14ch;
    margin-bottom: 1.1rem;
    color: var(--article-ink);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.35rem, 5vw, 4.35rem);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.blog-article-wrapper .article-excerpt {
    max-width: 52rem;
    margin-bottom: 1.75rem;
    color: var(--article-muted);
    font-size: clamp(1.05rem, 1.8vw, 1.3rem);
    font-weight: 400;
    line-height: 1.65;
}

.blog-article-wrapper .article-byline-section {
    gap: 1.25rem;
    padding: 1rem 0;
    border-color: var(--article-line);
    margin-bottom: 2rem;
}

.blog-article-wrapper .article-avatar {
    width: 42px;
    height: 42px;
    border: 0;
    background: #efe4d2;
}

.blog-article-wrapper .article-avatar span {
    color: #8a672f;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.2rem;
}

.blog-article-wrapper .article-author-name {
    color: var(--article-ink);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
}

.blog-article-wrapper .article-author-meta {
    color: var(--article-muted);
    font-size: 0.8rem;
    font-style: normal;
}

.blog-article-wrapper .article-social-share {
    gap: 0.5rem;
}

.blog-article-wrapper .article-social-btn,
.blog-article-wrapper .article-social-fb,
.blog-article-wrapper .article-social-tw,
.blog-article-wrapper .article-social-ln,
.blog-article-wrapper .article-social-wa {
    width: 34px;
    height: 34px;
    border: 1px solid var(--article-line);
    background: #fff;
    color: var(--article-ink);
}

.blog-article-wrapper .article-social-btn:hover,
.blog-article-wrapper .article-social-fb:hover,
.blog-article-wrapper .article-social-tw:hover,
.blog-article-wrapper .article-social-ln:hover,
.blog-article-wrapper .article-social-wa:hover {
    border-color: var(--article-ink);
    background: var(--article-ink);
    color: #fff;
    transform: translateY(-2px);
}

.blog-article-wrapper .article-hero-figure {
    margin-bottom: 2.75rem;
}

.blog-article-wrapper .article-hero-image {
    border-radius: 14px;
    aspect-ratio: 16 / 9;
    box-shadow: 0 18px 40px rgba(53, 42, 29, 0.12);
}

.blog-article-wrapper .article-image-caption {
    color: var(--article-muted);
    font-size: 0.63rem;
    letter-spacing: 0.1em;
}

.blog-article-wrapper .article-content-body {
    color: #4b4a47;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 1.03rem;
    line-height: 1.85;
}

.blog-article-wrapper .article-content-body p:first-of-type {
    color: #3d3b37;
    font-size: 1.14rem;
}

.blog-article-wrapper .article-content-body h2,
.blog-article-wrapper .article-content-body h3 {
    color: var(--article-ink);
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
}

.blog-article-wrapper .article-content-body h2 {
    font-size: 2rem;
}

.blog-article-wrapper .article-content-body h3 {
    font-size: 1.5rem;
}

.blog-article-wrapper .article-content-body a {
    color: #8a672f;
    text-decoration-color: rgba(138, 103, 47, 0.45);
    text-underline-offset: 3px;
}

.blog-article-wrapper .article-content-body blockquote {
    padding: 1.25rem 0 1.25rem 1.5rem;
    border-left-color: var(--article-gold);
    color: #4b4338;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.45rem;
}

.blog-article-wrapper .sidebar-sticky-wrapper {
    top: 6.75rem;
}

.blog-article-wrapper .sidebar-section-header {
    border-bottom: 1px solid var(--article-gold);
    margin-bottom: 1.25rem;
}

.blog-article-wrapper .sidebar-section-header h3 {
    color: var(--article-ink);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

.blog-article-wrapper .sidebar-articles-list {
    gap: 1.2rem;
}

.blog-article-wrapper .sidebar-article-card {
    display: grid;
    grid-template-columns: 104px 1fr;
    gap: 0.85rem;
    align-items: start;
}

.blog-article-wrapper .sidebar-article-image {
    aspect-ratio: 4 / 3;
    border-radius: 8px;
}

.blog-article-wrapper .sidebar-article-category {
    color: #8a672f;
    font-size: 0.61rem;
    letter-spacing: 0.08em;
}

.blog-article-wrapper .sidebar-article-title {
    color: var(--article-ink);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1rem;
    line-height: 1.3;
    margin-top: 0.2rem;
}

.blog-article-wrapper .sidebar-trip-cta {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-top: 2.25rem;
    padding: 1.45rem;
    border-radius: 12px;
    background: #2d2a32;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 14px 28px rgba(45, 42, 50, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-article-wrapper .sidebar-trip-cta:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 18px 32px rgba(45, 42, 50, 0.25);
}

.sidebar-trip-cta-eyebrow {
    color: #e8c98b;
    font-size: 0.63rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.sidebar-trip-cta strong {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.2;
}

.sidebar-trip-cta > span:last-child {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.78rem;
}

.blog-article-wrapper .sidebar-newsletter-widget {
    margin-top: 1.25rem;
    padding: 1.65rem;
    border: 1px solid #eadfcd;
    border-radius: 12px;
    background: #fffdf9;
}

.blog-article-wrapper .sidebar-newsletter-title {
    color: var(--article-ink);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

.blog-article-wrapper .sidebar-newsletter-desc {
    color: var(--article-muted);
    font-family: 'Poppins', Arial, sans-serif;
    line-height: 1.55;
}

.blog-article-wrapper .sidebar-newsletter-input {
    border-bottom-color: #b7aa98;
    color: var(--article-ink);
}

.blog-article-wrapper .sidebar-newsletter-btn {
    border-radius: 6px;
    background: var(--article-ink);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
}

.blog-article-wrapper .sidebar-newsletter-btn:hover {
    background: #8a672f;
}

.sidebar-newsletter-success,
.sidebar-newsletter-error {
    margin: 0 0 1rem;
    font-size: 0.78rem;
    line-height: 1.45;
}

.sidebar-newsletter-success { color: #2d7a4d; }
.sidebar-newsletter-error { color: #b53a32; }

@media (max-width: 1099px) {
    .blog-article-wrapper .sidebar-sticky-wrapper { position: static; }
    .blog-article-wrapper .blog-article-sidebar { max-width: 680px; }
}

@media (max-width: 640px) {
    .blog-article-wrapper .article-headline { font-size: 2.25rem; }
    .blog-article-wrapper .article-social-share { width: 100%; }
    .blog-article-wrapper .article-hero-image { border-radius: 10px; }
    .blog-article-wrapper .sidebar-article-card { grid-template-columns: 96px 1fr; }
}


/* ====================================
   Blog Index Page Styles (Preserved)
   ==================================== */

.blog-page {
    --blog-gold: #c9a96e;
    --blog-dark: #1a1a1a;
    --blog-charcoal: #2a2a2a;
    --blog-white: #ffffff;
    --blog-off-white: #f8f8f8;
    --blog-light-gray: #e5e5e5;
    --blog-mid-gray: #737373;
    --blog-border: #d4d4d4;
    --blog-max-width: 1200px;
    --blog-content-width: 900px;
}

.blog-page * {
    box-sizing: border-box;
}

/* Compact Header */
.blog-compact-header {
    margin-top: 80px;
    padding: 60px 0 40px;
    background: var(--blog-warm-white, #faf9f7);
    border-bottom: 1px solid var(--blog-light-gray);
}

.blog-compact-header .container {
    max-width: var(--blog-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.blog-page-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blog-gold, #c9a96e);
    margin-bottom: 12px;
}

.blog-page-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 400;
    color: var(--blog-charcoal);
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.blog-page-subtitle {
    font-size: 16px;
    color: var(--blog-mid-gray);
    line-height: 1.6;
    max-width: 600px;
    margin: 0;
}

/* Featured Article Section */
.featured-article-section {
    padding: 60px 0;
    background: white;
}

.featured-article-section .container {
    max-width: var(--blog-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.featured-article-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blog-mid-gray);
    margin-bottom: 30px;
}

.featured-article {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: start;
}

.featured-article-image-wrap {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--blog-light-gray);
}

.featured-article-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.featured-article-content {
    padding-top: 8px;
}

.featured-article-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--blog-mid-gray);
}

.featured-article-category {
    color: var(--blog-gold, #c9a96e);
    text-decoration: none;
    font-weight: 500;
}

.featured-article-category:hover {
    text-decoration: underline;
}

.featured-article-meta .separator {
    color: var(--blog-light-gray);
}

.featured-article-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 400;
    line-height: 1.3;
    margin: 0 0 16px 0;
}

.featured-article-title a {
    color: var(--blog-charcoal);
    text-decoration: none;
}

.featured-article-title a:hover {
    color: var(--blog-gold, #c9a96e);
}

.featured-article-excerpt {
    font-size: 16px;
    line-height: 1.7;
    color: var(--blog-mid-gray);
    margin-bottom: 20px;
}

.featured-article-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--blog-mid-gray);
}

.featured-article-link {
    display: inline-block;
    color: var(--blog-charcoal);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid var(--blog-charcoal);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}

.featured-article-link:hover {
    color: var(--blog-gold, #c9a96e);
    border-bottom-color: var(--blog-gold, #c9a96e);
}

/* Articles Grid Section */
.articles-grid-section {
    padding: 60px 0 80px;
    background: var(--blog-warm-white, #faf9f7);
}

.articles-grid-section .container {
    max-width: var(--blog-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.articles-grid-header {
    margin-bottom: 40px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--blog-light-gray);
}

.articles-grid-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 400;
    color: var(--blog-charcoal);
    margin: 0;
}

/* Category Filter Bar */
.category-filter-bar {
    margin-bottom: 40px;
    padding: 16px 0;
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.category-filter-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--blog-mid-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.category-filter-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.category-filter-link {
    font-size: 14px;
    color: var(--blog-mid-gray);
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.category-filter-link:hover,
.category-filter-link.active {
    color: var(--blog-gold, #c9a96e);
    border-bottom-color: var(--blog-gold, #c9a96e);
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 48px 32px;
}

.article-card {
    display: flex;
    flex-direction: column;
}

.article-card-image-wrap {
    position: relative;
    aspect-ratio: 3/2;
    overflow: hidden;
    background: var(--blog-light-gray);
    margin-bottom: 16px;
}

.article-card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s;
}

.article-card:hover .article-card-image-wrap img {
    opacity: 0.85;
}

.article-card-meta {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 12px;
    font-size: 12px;
    color: var(--blog-mid-gray);
}

.article-card-category {
    color: var(--blog-gold, #c9a96e);
    text-decoration: none;
    font-weight: 500;
}

.article-card-category:hover {
    text-decoration: underline;
}

.article-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.4;
    margin: 0 0 12px 0;
}

.article-card-title a {
    color: var(--blog-charcoal);
    text-decoration: none;
}

.article-card-title a:hover {
    color: var(--blog-gold, #c9a96e);
}

.article-card-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: var(--blog-mid-gray);
    margin-bottom: 16px;
    flex-grow: 1;
}

.article-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--blog-light-gray);
    font-size: 13px;
}

.article-card-author {
    color: var(--blog-mid-gray);
}

.article-card-link {
    color: var(--blog-charcoal);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.article-card-link:hover {
    color: var(--blog-gold, #c9a96e);
}

/* Pagination */
.blog-pagination {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--blog-light-gray);
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-item .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    color: var(--blog-charcoal);
    text-decoration: none;
    font-size: 14px;
    border: 1px solid var(--blog-light-gray);
    background: white;
    transition: all 0.2s;
}

.page-item .page-link:hover,
.page-item.active .page-link {
    color: white;
    background: var(--blog-charcoal);
    border-color: var(--blog-charcoal);
}

/* Empty State */
.blog-empty-state {
    text-align: center;
    padding: 80px 20px;
}

.blog-empty-state-icon {
    font-size: 48px;
    color: var(--blog-light-gray);
    margin-bottom: 20px;
}

.blog-empty-state h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 400;
    color: var(--blog-charcoal);
    margin: 0 0 12px 0;
}

.blog-empty-state p {
    font-size: 15px;
    color: var(--blog-mid-gray);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .featured-article {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .blog-compact-header {
        margin-top: 80px;
        padding: 40px 0 32px;
    }

    .blog-page-title {
        font-size: 32px;
    }

    .featured-article-section {
        padding: 40px 0;
    }

    .featured-article-title {
        font-size: 28px;
    }

    .articles-grid-section {
        padding: 40px 0 60px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 390px) {
    .blog-compact-header .container,
    .featured-article-section .container,
    .articles-grid-section .container {
        padding: 0 20px;
    }

    .blog-page-title {
        font-size: 28px;
    }

    .featured-article-title {
        font-size: 24px;
    }
}

/* ==================================================
   Travel journal listing refresh
   ================================================== */
.blog-page {
    --blog-gold: #cf9d55;
    --blog-charcoal: #272421;
    --blog-mid-gray: #706c67;
    --blog-light-gray: #e6dfd5;
    background: #f5f1eb;
}

.blog-compact-header {
    position: relative;
    overflow: hidden;
    margin-top: 80px;
    padding: 92px 0 122px;
    color: #fff;
    background:
        radial-gradient(circle at 82% 10%, rgba(207, 157, 85, .26), transparent 28%),
        linear-gradient(118deg, #1f2d2d 0%, #273737 52%, #3d4b45 100%);
    border: 0;
}

.blog-compact-header::after {
    position: absolute;
    right: 7%;
    bottom: -110px;
    width: 330px;
    height: 330px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    content: '';
}

.blog-compact-header .container {
    position: relative;
    z-index: 1;
}

.blog-page-label,
.featured-article-label {
    color: #e9c480;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .17em;
}

.blog-page-title {
    max-width: 650px;
    color: #fff;
    font-size: clamp(42px, 5vw, 66px);
    line-height: 1.04;
    letter-spacing: -.03em;
}

.blog-page-subtitle {
    max-width: 590px;
    color: rgba(255, 255, 255, .76);
    font-size: 16px;
}

.featured-article-section {
    padding: 0 0 76px;
    background: #f5f1eb;
}

.featured-article-section .container {
    margin-top: -62px;
}

.featured-article-label {
    margin-bottom: 16px;
}

.featured-article {
    gap: 0;
    overflow: hidden;
    align-items: stretch;
    border: 1px solid #e8dfd4;
    border-radius: 18px;
    background: #fffdfa;
    box-shadow: 0 22px 55px rgba(49, 38, 26, .12);
}

.featured-article-image-wrap {
    min-height: 430px;
    aspect-ratio: auto;
}

.featured-article-image-wrap img,
.article-card-image-wrap img {
    transition: transform .55s ease;
}

.featured-article:hover .featured-article-image-wrap img,
.article-card:hover .article-card-image-wrap img {
    opacity: 1;
    transform: scale(1.045);
}

.featured-article-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 46px 50px;
}

.featured-article-meta,
.article-card-meta {
    color: #7f786f;
    font-size: 12px;
    letter-spacing: .02em;
}

.featured-article-category,
.article-card-category {
    color: #a66d2b;
    font-weight: 700;
}

.featured-article-title {
    font-size: clamp(31px, 3.25vw, 45px);
    line-height: 1.13;
    letter-spacing: -.02em;
}

.featured-article-excerpt {
    color: #625d57;
}

.featured-article-author {
    color: #706a63;
}

.featured-article-link,
.article-card-link {
    width: fit-content;
    color: #2b3734;
    font-weight: 700;
    letter-spacing: .02em;
}

.featured-article-link:hover,
.article-card-link:hover {
    color: #a66d2b;
    border-color: #a66d2b;
}

.articles-grid-section {
    padding: 0 0 96px;
    background: #f5f1eb;
}

.articles-grid-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 17px;
    border-bottom-color: #c9a36c;
}

.articles-grid-title {
    font-size: 32px;
    letter-spacing: -.02em;
}

.category-filter-bar {
    gap: 14px;
    margin-bottom: 34px;
    padding: 0;
}

.category-filter-label {
    color: #756d63;
    font-size: 11px;
    letter-spacing: .12em;
}

.category-filter-links {
    gap: 9px;
}

.category-filter-link {
    border: 1px solid #e1d8cd;
    border-radius: 999px;
    background: rgba(255, 253, 250, .74);
    color: #615b54;
    padding: 8px 14px;
    transition: color .2s, background .2s, border-color .2s;
}

.category-filter-link:hover,
.category-filter-link.active {
    border-color: #2b3734;
    background: #2b3734;
    color: #fff;
}

.articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.article-card {
    overflow: hidden;
    min-width: 0;
    border: 1px solid #e8dfd4;
    border-radius: 14px;
    background: #fffdfa;
    box-shadow: 0 8px 26px rgba(49, 38, 26, .06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 35px rgba(49, 38, 26, .13);
}

.article-card-image-wrap {
    margin: 0 0 20px;
    aspect-ratio: 16 / 10;
}

.article-card-meta,
.article-card-title,
.article-card-excerpt,
.article-card-footer {
    margin-right: 24px;
    margin-left: 24px;
}

.article-card-meta {
    margin-bottom: 11px;
}

.article-card-title {
    font-size: 25px;
    line-height: 1.2;
    letter-spacing: -.015em;
}

.article-card-excerpt {
    color: #6d665f;
}

.article-card-footer {
    margin-top: auto;
    margin-bottom: 22px;
    border-top-color: #ede5dc;
}

.articles-grid .article-card:first-child {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    grid-template-rows: auto auto 1fr auto;
    align-items: start;
}

.articles-grid .article-card:first-child .article-card-image-wrap {
    grid-row: 1 / -1;
    height: 100%;
    min-height: 315px;
    margin: 0;
}

.articles-grid .article-card:first-child .article-card-meta {
    margin-top: 35px;
}

.articles-grid .article-card:first-child .article-card-footer {
    width: auto;
}

.blog-pagination {
    border-top-color: #ded4c7;
}

@media (max-width: 1024px) {
    .featured-article-content {
        padding: 38px;
    }
}

@media (max-width: 768px) {
    .blog-compact-header {
        padding: 62px 0 88px;
    }

    .blog-page-title {
        font-size: 39px;
    }

    .featured-article-section .container {
        margin-top: -42px;
    }

    .featured-article-image-wrap {
        min-height: 270px;
    }

    .featured-article-content {
        padding: 31px 26px;
    }

    .articles-grid-section {
        padding-bottom: 70px;
    }

    .category-filter-bar {
        align-items: flex-start;
    }

    .articles-grid {
        gap: 22px;
    }

    .articles-grid .article-card:first-child {
        display: flex;
        grid-column: auto;
    }

    .articles-grid .article-card:first-child .article-card-image-wrap {
        min-height: 0;
        height: auto;
    }

    .articles-grid .article-card:first-child .article-card-meta {
        margin-top: 0;
    }
}

@media (max-width: 540px) {
    .blog-compact-header .container,
    .featured-article-section .container,
    .articles-grid-section .container {
        padding: 0 18px;
    }

    .blog-compact-header {
        margin-top: 72px;
    }

    .blog-page-title {
        font-size: 35px;
    }

    .featured-article-title {
        font-size: 30px;
    }

    .articles-grid-title {
        font-size: 28px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .article-card-meta,
    .article-card-title,
    .article-card-excerpt,
    .article-card-footer {
        margin-right: 20px;
        margin-left: 20px;
    }

    .category-filter-links {
        gap: 7px;
    }

    .category-filter-link {
        padding: 7px 11px;
    }
}
