/* ================================
   ULTRA-PREMIUM EDITORIAL BLOG
   Luxurious, Modern, Architectural Design
   ================================ */

/* Google Fonts: Playfair Display (Serif) + Plus Jakarta Sans (Modern Sans) */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeUp 1s cubic-bezier(0.2, 1, 0.3, 1) forwards;
    opacity: 0;
}

.stagger-1 {
    animation-delay: 0.15s;
    animation-fill-mode: forwards;
}

.stagger-2 {
    animation-delay: 0.3s;
    animation-fill-mode: forwards;
}

:root {
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Luxury Color Palette */
    --color-gold: #C6A87C;
    /* Muted Gold */
    --color-gold-dark: #A68A5E;

    --color-black: #0F0F0F;
    /* Soft Rich Black */
    --color-charcoal: #1F1F1F;

    --color-text-main: #2D2D2D;
    --color-text-muted: #666666;
    --color-text-light: #999999;

    --bg-body: #FDFBF8;
    /* Warm Paper / Alabaster */
    --bg-card: #FFFFFF;
    --bg-offset: #F4F2EE;

    --border: #E8E6E1;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 0px;
    /* Sharp corners for premium feel, or very subtle */
}

body {
    background: var(--bg-body);
    color: var(--color-text-main);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

/* ================================
   CONTAINER & LAYOUT
   ================================ */

.blog-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 32px 100px;
}

.blog-layout-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 80px;
}

/* ================================
   HERO SECTION (Cinematic)
   ================================ */

.hero-featured {
    position: relative;
    height: 75vh;
    /* Tall, magazine cover feel */
    min-height: 550px;
    max-height: 700px;
    margin-bottom: 80px;
    border-radius: 2px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.hero-image-wrapper {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-featured:hover .hero-img {
    transform: scale(1.03);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    /* Sophisticated gradient: transparent top, dark bottom */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 60px;
    width: 100%;
    max-width: 900px;
    color: white;
}

.hero-tags {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: var(--font-heading);
}

.hero-badge {
    color: var(--color-gold);
    text-decoration: none;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    padding: 6px 14px;
    border: 1px solid rgba(198, 168, 124, 0.3);
    /* Subtle gold border */
}

.read-time {
    color: rgba(255, 255, 255, 0.7);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 400;
    /* Serif looks better light/regular */
    line-height: 1.1;
    margin-bottom: 32px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.hero-title a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.hero-title a:hover {
    color: #f0e6d2;
}

.hero-footer {
    display: flex;
    align-items: center;
    gap: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 24px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 32px;
    height: 32px;
    background: var(--color-gold);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
}

.author-name {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.hero-date {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* ================================
   FEED & SEARCH
   ================================ */

.feed-tools {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
}

.section-label {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--color-black);
    font-style: italic;
}

.search-minimal {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
}

.search-minimal input {
    border: none;
    background: transparent;
    border-bottom: 1px solid transparent;
    width: 120px;
    padding: 6px 0;
    font-size: 14px;
    font-family: var(--font-body);
    transition: all 0.3s;
}

.search-minimal input:focus {
    width: 200px;
    border-bottom-color: var(--color-black);
    outline: none;
}

.search-icon-btn {
    background: none;
    border: none;
    color: var(--color-text-main);
    cursor: pointer;
    padding: 0;
}

/* ================================
   MASONRY / GRID ARTICLES
   ================================ */

.articles-masonry {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 Columns */
    gap: 48px;
}

.article-card {
    display: flex;
    flex-direction: column;
    group-hover: ;
    /* Just for lint syntax */
}

/* Only the first item spans full width on mobile/tablet if needed, 
   but for grid consistency, let's keep them equal or span 2 for highlight */

.article-card:hover .card-thumb img {
    transform: scale(1.05);
}

.card-thumb {
    width: 100%;
    aspect-ratio: 4/3;
    /* Standard editorial ratio */
    overflow: hidden;
    position: relative;
    margin-bottom: 24px;
    background: #E5E5E5;
}

.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: white;
    color: var(--color-black);
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    z-index: 5;
    transition: background 0.2s;
}

.card-category:hover {
    background: var(--color-gold);
    color: white;
}

.card-meta {
    display: flex;
    gap: 10px;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--color-text-light);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.dot {
    color: var(--color-gold);
}

.card-title {
    font-family: var(--font-heading);
    font-size: 26px;
    line-height: 1.3;
    font-weight: 400;
    /* Serif elegance */
    margin-bottom: 12px;
}

.card-title a {
    color: var(--color-black);
    text-decoration: none;
    transition: color 0.2s;
}

.card-title a:hover {
    color: var(--color-text-muted);
}

.card-excerpt {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-black);
    text-decoration: none;
    transition: gap 0.2s;
}

.link-arrow .arrow {
    color: var(--color-gold);
    font-size: 16px;
}

.link-arrow:hover {
    gap: 12px;
}

/* ================================
   SIDEBAR
   ================================ */

.sidebar-area {
    padding-top: 16px;
}

.widget {
    margin-bottom: 56px;
}

.widget-heading {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    border-top: 2px solid var(--color-black);
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
}

/* Topics Nav */
.cat-nav {
    display: flex;
    flex-direction: column;
}

.cat-link {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: var(--color-text-muted);
    font-size: 15px;
    transition: all 0.2s;
}

.cat-link:hover {
    color: var(--color-black);
    padding-left: 8px;
}

.cat-link .count {
    color: var(--color-text-light);
    font-size: 12px;
}

/* Luxury Newsletter */
.widget-newsletter-lux {
    background: #1A1A1A;
    color: white;
    padding: 40px 32px;
    text-align: center;
    position: relative;
    /* Gold Accent Border top */
    border-top: 4px solid var(--color-gold);
}

.widget-newsletter-lux h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-style: italic;
    margin-bottom: 16px;
    color: var(--color-gold);
}

.widget-newsletter-lux p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.email-mock {
    display: flex;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px;
    margin-bottom: 16px;
}

.email-mock span {
    flex: 1;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    padding-left: 12px;
    text-align: left;
}

.email-mock button {
    background: white;
    color: black;
    border: none;
    padding: 8px 16px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
    cursor: default;
    /* Visual only */
}

.rss-text {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rss-text:hover {
    color: var(--color-gold);
}

/* ================================
   RESPONSIVE
   ================================ */

@media (max-width: 1024px) {
    .blog-layout-grid {
        grid-template-columns: 1fr;
    }

    .articles-masonry {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-featured {
        height: 500px;
    }

    .sidebar-area {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .articles-masonry {
        grid-template-columns: 1fr;
        /* Stack articles on mobile */
    }

    .sidebar-area {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-content {
        padding: 30px;
    }
}