/* 
===========================================
    MANNI SAVOUR PULAO - Design System
=========================================== 
*/

:root {
    /* Color Palette */
    --color-black: #080808;
    /* Deep rich black for headers, footers */
    --color-dark-grey: #1a1a1a;
    /* Slightly lighter for dark sections */
    --color-text-main: #2A2A2A;
    /* Soft charcoal for readability */
    --color-text-light: #666666;
    /* For secondary text */
    --color-white: #FFFFFF;
    /* Pure white backgrounds */
    --color-off-white: #F8F6F2;
    /* Warm off-white for subtle section breaks */
    --color-accent: #C5A059;
    /* Sophisticated gold/saffron accent */
    --color-accent-hover: #D5B472;
    /* Hover state for accent */

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Open Sans', sans-serif;

    /* Layout */
    --container-max: 1440px;
    --container-padding: 2rem;

    /* Transitions */
    --trans-fast: 0.2s ease;
    --trans-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --trans-slow: 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ===========================================
    RESET & BASE
=========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--color-black);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--trans-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===========================================
    UTILITIES
=========================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.text-center {
    text-align: center;
}

.text-accent {
    color: var(--color-accent);
}

.btn-primary {
    display: inline-block;
    background-color: var(--color-white);
    color: var(--color-black);
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--trans-smooth);
    border: none;
}

.btn-primary:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
}

/* ===========================================
    HEADER (PC Hotels Dual-Tier Style)
=========================================== */
.site-header {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
    transition: transform var(--trans-smooth), background-color var(--trans-smooth);
}

/* Header Hide on Scroll Down */
.site-header.is-hidden {
    transform: translateY(-100%);
}

.site-header.is-scrolled {
    background-color: var(--color-black);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Top Tier */
.header-top {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-nav ul {
    display: flex;
    gap: 2rem;
}

.top-nav a {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.top-nav a:hover {
    color: var(--color-accent);
}

.logo h1,
.logo .logo-text {
    font-size: 2.25rem;
    color: var(--color-white);
    margin: 0;
    font-style: italic;
    letter-spacing: 1px;
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
}

.logo span {
    color: var(--color-accent);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.search-btn {
    background: none;
    border: none;
    color: var(--color-white);
    cursor: pointer;
    transition: color var(--trans-fast);
}

.search-btn:hover {
    color: var(--color-accent);
}

/* Bottom Tier */

.main-nav ul {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.main-nav a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 4px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-accent);
    transition: width var(--trans-smooth);
}

.main-nav a:hover {
    color: var(--color-white);
}

.main-nav a:hover::after {
    width: 100%;
}

/* --- Mobile Nav Utilities --- */
.mobile-only {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-white);
    transition: all var(--trans-fast);
}

/* Mobile Media Query */
@media screen and (max-width: 991px) {
    .top-nav {
        display: none;
    }

    .d-none-mobile {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .logo h1,
    .logo .logo-text {
        font-size: 1.5rem;
    }

    .header-bottom.mobile-nav-wrapper {
        position: fixed;
        top: 60px;
        /* Below top header */
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: var(--color-black);
        padding: 3rem 2rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--trans-smooth);
        overflow-y: auto;
        z-index: 999;
    }

    .header-bottom.mobile-nav-wrapper.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .main-nav a {
        font-size: 1.2rem;
    }

    .mobile-only {
        display: block;
    }

    /* Hamburger Animation */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* ===========================================
    FOOTER
=========================================== */
.site-footer {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col h2 {
    color: var(--color-white);
    font-style: italic;
    margin-bottom: 1rem;
}

.footer-col h2 span {
    color: var(--color-accent);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--color-accent) !important;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* ===========================================
    HERO SECTION
=========================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--color-white);
    margin-top: 0;
    /* Nav sits over the hero */
}

/* Base styling for fake image backgrounds */
.placeholder-img {
    background-color: var(--color-dark-grey);
    background-image: linear-gradient(45deg, #1a1a1a 25%, #2a2a2a 25%, #2a2a2a 50%, #1a1a1a 50%, #1a1a1a 75%, #2a2a2a 75%, #2a2a2a 100%);
    background-size: 40px 40px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    /* Extra height for parallax */
    background: url('https://images.unsplash.com/photo-1596560548464-f010549b84d7?auto=format&fit=crop&q=80&w=2000') center/cover no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 100px;
    /* Offset for header */
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    color: var(--color-accent);
}

.hero-title {
    font-size: 6rem;
    color: var(--color-white);
    margin-bottom: 2rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-text {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 4rem;
    line-height: 1.8;
}

/* PC Hotels Style Booking/Search Bar */
.hero-booking-bar {
    background-color: rgba(8, 8, 8, 0.85);
    backdrop-filter: blur(15px);
    display: inline-flex;
    border-radius: 4px;
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.booking-field {
    padding: 1rem 2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.booking-field label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-accent);
    margin-bottom: 0.25rem;
}

.booking-field select {
    background: transparent;
    border: none;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    outline: none;
    cursor: pointer;
    appearance: none;
    padding-right: 1rem;
}

.booking-field select option {
    color: var(--color-black);
}

.booking-action {
    display: flex;
    align-items: center;
    padding: 0 1rem;
}

/* ===========================================
    LAYOUT GRIDS & SECTIONS
=========================================== */
.section-padding {
    padding: 8rem 0;
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-desc {
    max-width: 600px;
    margin: 0 auto;
    color: var(--color-text-light);
}

.grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-2-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

/* ===========================================
    CARDS & COMPONENTS
=========================================== */
.category-card {
    background-color: var(--color-white);
    border: 1px solid #ebebeb;
    transition: transform var(--trans-smooth), box-shadow var(--trans-smooth);
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.card-img-wrap {
    height: 300px;
    overflow: hidden;
}

.category-card .card-img {
    width: 100%;
    height: 100%;
    transition: transform var(--trans-slow);
}

/* Real imagery for categories */
.category-card:nth-child(1) .card-img {
    background: url('https://images.unsplash.com/photo-1628151015968-3a4429e9ef04?auto=format&fit=crop&q=80&w=800') center/cover;
}

.category-card:nth-child(2) .card-img {
    background: url('https://images.unsplash.com/photo-1544681280-d25a782adc9b?auto=format&fit=crop&q=80&w=800') center/cover;
}

.category-card:nth-child(3) .card-img {
    background: url('https://images.unsplash.com/photo-1585937421612-70a008356fbe?auto=format&fit=crop&q=80&w=800') center/cover;
}

.category-card:hover .card-img {
    transform: scale(1.05);
}

.card-content {
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-content h3 {
    font-size: 1.5rem;
    margin: 0;
}

.arrow-link {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.arrow-link span {
    transition: transform var(--trans-fast);
}

.arrow-link:hover span {
    transform: translateX(5px);
    color: var(--color-accent);
}

/* ===========================================
    FEATURED STORY (Split Layout)
=========================================== */
.featured-story {
    display: flex;
    min-height: 80vh;
}

.story-img-col {
    flex: 1;
    background: url('https://images.unsplash.com/photo-1593504049359-74330189a345?auto=format&fit=crop&q=80&w=1000') center/cover;
}

.story-text-col {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 6rem;
    background-color: var(--color-white);
}

.story-text-content {
    max-width: 500px;
}

.sub-heading {
    display: block;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.story-text-content h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

.story-text-content p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

/* ===========================================
    BLOG GRID & CARDS (3-Column Vertical Style)
=========================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background-color: var(--color-white);
    border: 1px solid #ebebeb;
    transition: transform var(--trans-smooth), box-shadow var(--trans-smooth);
    overflow: hidden;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.blog-card-img-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.blog-card-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform var(--trans-slow);
}

.blog-card:hover .blog-card-img {
    transform: scale(1.1);
}

.blog-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(197, 160, 89, 0.9);
    backdrop-filter: blur(5px);
    color: var(--color-white);
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 2px;
}

.blog-card-content {
    padding: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    font-size: 0.8rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.blog-card-content h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-card-content h3 a:hover {
    color: var(--color-accent);
}

.blog-card-content p {
    color: var(--color-text-light);
    margin-bottom: 2rem;
    font-size: 0.95rem;
    line-height: 1.7;
    flex-grow: 1;
}

.read-more {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-main);
    transition: color var(--trans-fast);
}

.read-more span {
    transition: transform var(--trans-fast);
}

.read-more:hover {
    color: var(--color-accent);
}

.read-more:hover span {
    transform: translateX(5px);
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 0;
    border: 2px dashed #eee;
}

/* ===========================================
    SUBPAGES & BLOG ARCHIVE
=========================================== */
.page-header {
    padding: 180px 0 100px;
}

.page-header.dark-bg {
    background-color: var(--color-black);
    color: var(--color-white);
}

.page-header h1 {
    font-size: 4.5rem;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.filter-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
    border-bottom: 1px solid #ebebeb;
}

.filter-bar ul {
    display: flex;
    gap: 2rem;
}

.filter-bar a {
    display: block;
    padding: 1rem 0;
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--color-text-light);
    position: relative;
}

.filter-bar a.active,
.filter-bar a:hover {
    color: var(--color-black);
}

.filter-bar a.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-accent);
}

.pagination {
    margin-top: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #ebebeb;
    font-weight: 600;
}

.pagination a.active,
.pagination a:hover {
    background-color: var(--color-black);
    color: var(--color-white);
    border-color: var(--color-black);
}

.pagination .page-next {
    width: auto;
    padding: 0 1.5rem;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* ===========================================
    SINGLE POST REDESIGN - AdSense & UX
=========================================== */
/* ===========================================
    SINGLE POST PREMIUM REDESIGN
=========================================== */
.post-hero {
    height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--color-white);
}

.post-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.post-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.9));
    z-index: 2;
}

.post-hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding-top: 50px;
}

.post-hero .blog-meta {
    color: var(--color-accent);
    margin-bottom: 2rem;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

/* Quick Actions */
.post-quick-actions {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.btn-action {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background: var(--color-accent);
    color: var(--color-white);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all var(--trans-smooth);
    border: 1px solid var(--color-accent);
}

.btn-action.outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-action:hover {
    background: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    transform: translateY(-3px);
}

.btn-action.outline:hover {
    border-color: var(--color-accent);
}

.category-tag {
    text-transform: capitalize;
    font-weight: 700;
}

.post-title {
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--color-white);
    line-height: 1;
    margin-bottom: 0;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.post-container {
    max-width: 1240px;
    margin: -100px auto 80px;
    background: var(--color-white);
    position: relative;
    z-index: 10;
    padding: 6rem;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.12);
}

/* Ad Placement Fix */
.top-ad-slot {
    margin-bottom: 5rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid #eee;
}

.ad-slot-wrapper {
    margin: 0;
}

.post-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 5rem;
    align-items: start;
}

/* Post Content Typography */
.post-content {
    font-family: var(--font-body);
    font-size: 1.2rem;
    line-height: 2;
    color: var(--color-text-main);
}

.post-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin: 4rem 0 1.5rem;
}

.post-content p {
    margin-bottom: 2rem;
}

.post-footer-meta {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid #eee;
}

.tag-pill {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--color-off-white);
    color: var(--color-text-light);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all var(--trans-fast);
}

.tag-pill:hover {
    background: var(--color-accent);
    color: var(--color-white);
}

/* Author Card */
.author-card {
    margin-top: 6rem;
    padding: 4rem;
    background: var(--color-off-white);
    display: flex;
    gap: 3rem;
    align-items: center;
}

.author-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-size: cover;
    flex-shrink: 0;
}

.author-role {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.author-details h4 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.author-details p {
    color: var(--color-text-light);
    font-size: 1rem;
    line-height: 1.7;
}

/* Sidebar & Widgets */
.post-sidebar {
    position: sticky;
    top: 120px;
}

.post-toc-card {
    margin-bottom: 3rem;
}

.post-toc-card h3 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
}

.toc-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.toc-list a {
    font-size: 0.95rem;
    color: var(--color-text-light);
    display: block;
    line-height: 1.4;
    transition: color var(--trans-fast);
}

.toc-list a:hover {
    color: var(--color-accent);
}

.sidebar-ad {
    margin: 0 0 3rem 0 !important;
}

.sidebar-widget-premium {
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.widget-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.widget-links {
    list-style: none;
    padding: 0;
}

.widget-links li {
    margin-bottom: 0.8rem;
}

.widget-links a {
    font-size: 0.95rem;
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.widget-links a::before {
    content: '→';
    color: var(--color-accent);
}

.widget-links a:hover {
    color: var(--color-accent);
}

/* Related Stories grid */
.related-section {
    margin-top: 8rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.related-item-card {
    display: block;
    background: var(--color-white);
    transition: transform var(--trans-smooth);
}

.related-item-card:hover {
    transform: translateY(-10px);
}

.related-img {
    height: 250px;
    background-size: cover;
    background-position: center;
    margin-bottom: 1.5rem;
}

.related-cat {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-accent);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.related-item-card h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    line-height: 1.3;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .post-container {
        padding: 3rem;
        margin: -50px 1rem 50px;
    }

    .post-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .post-sidebar {
        position: static;
    }

    .post-title {
        font-size: 3rem;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .post-container {
        padding: 2rem 1.5rem;
    }

    .author-card {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .post-hero {
        height: 50vh;
    }
}

/* Existing Author Block overrides if needed */
.author-block {
    margin-top: 4rem;
}

/* ===========================================
    RESPONSIVENESS (Media Queries)
=========================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }

    .grid-3-col {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-story {
        flex-direction: column;
    }

    .story-img-col {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .top-nav {
        display: none;
    }

    /* Hide top nav on mobile, would need a hamburger menu */
    .hero-title {
        font-size: 3rem;
    }

    .grid-3-col,
    .grid-2-col,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-booking-bar {
        flex-direction: column;
        width: 100%;
        border-radius: 8px;
    }

    .booking-field {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
    }

    .booking-action {
        padding: 1rem;
        width: 100%;
    }

    .booking-action .btn-primary {
        width: 100%;
        text-align: center;
    }

    .blog-card {
        flex-direction: column;
    }

    .blog-card-img {
        width: 100%;
        height: 250px;
    }

    .blog-card-content {
        width: 100%;
        padding: 1.5rem;
    }

    .post-container {
        margin: -50px 1rem 50px;
        padding: 2rem;
        width: auto;
    }

    .post-title {
        font-size: 2.2rem;
    }

    .post-content h2 {
        font-size: 2rem;
    }

    .post-content blockquote {
        font-size: 1.4rem;
        padding-left: 1rem;
    }

    .author-block {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
}

/* ===========================================
    LEGAL PAGES (Privacy, Terms, Disclaimer)
    AdSense-Compliant Two-Column Layout
=========================================== */

/* ---- Page Header ---- */
.legal-page-header {
    background-color: var(--color-black);
    padding: 140px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.legal-page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.legal-page-header h1 {
    font-size: 3.5rem;
    color: var(--color-white);
    margin-bottom: 0.75rem;
}

.legal-page-header .legal-breadcrumb {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.legal-page-header .legal-breadcrumb a {
    color: var(--color-accent);
}

.legal-page-header .legal-breadcrumb a:hover {
    text-decoration: underline;
}

/* ---- Ad Banner (top horizontal) ---- */
.legal-ad-banner {
    background: var(--color-off-white);
    border-top: 1px solid #e8e4de;
    border-bottom: 1px solid #e8e4de;
    padding: 1rem 0;
}

.ad-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border: 1px dashed #d0cdc8;
    color: #aaa;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-body);
    min-height: 90px;
    width: 100%;
}

.ad-slot-leaderboard {
    min-height: 90px;
    max-width: 728px;
    margin: 0 auto;
}

.ad-slot-sidebar {
    min-height: 250px;
    width: 100%;
}

.ad-slot-in-content {
    min-height: 90px;
    margin: 2.5rem 0;
}

/* ---- Two-column layout wrapper ---- */
.legal-layout-wrapper {
    padding: 4rem 0 6rem;
    background: var(--color-white);
}

.legal-layout-inner {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ---- Main content card ---- */
.legal-main-content {
    background: var(--color-white);
    border: 1px solid #ebebeb;
    padding: 3rem 3.5rem 3rem;
    position: relative;
}

.legal-main-content::before {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-accent);
    margin-bottom: 2rem;
}

.legal-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #f0ece6;
}

.legal-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-section h2 {
    font-size: 1.4rem;
    color: var(--color-black);
    margin-bottom: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.legal-section h2 .section-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: var(--color-off-white);
    border: 1px solid #e0dbd2;
    font-size: 0.8rem;
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--color-accent);
    flex-shrink: 0;
    border-radius: 2px;
}

.legal-section h3 {
    font-size: 1.1rem;
    color: var(--color-text-main);
    margin: 1.4rem 0 0.6rem;
    font-style: italic;
}

.legal-section p {
    font-size: 0.975rem;
    line-height: 1.85;
    color: var(--color-text-light);
    margin-bottom: 0.75rem;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-section a:hover {
    color: var(--color-accent-hover);
}

/* Last updated stamp */
.legal-updated-stamp {
    display: inline-block;
    margin-top: 2.5rem;
    padding: 0.6rem 1.2rem;
    background: var(--color-off-white);
    border-left: 3px solid var(--color-accent);
    font-size: 0.85rem;
    font-style: italic;
    color: var(--color-text-light);
}

/* ---- Sidebar ---- */
.legal-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: sticky;
    top: 110px;
}

.sidebar-widget {
    background: var(--color-white);
    border: 1px solid #ebebeb;
    padding: 1.5rem;
}

.sidebar-widget-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f0ece6;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
}

.sidebar-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.sidebar-nav-list a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-text-light);
    padding: 0.4rem 0;
    border-bottom: 1px solid #f5f5f5;
    transition: color var(--trans-fast), padding-left var(--trans-fast);
}

.sidebar-nav-list a:hover,
.sidebar-nav-list a.current {
    color: var(--color-accent);
    padding-left: 0.4rem;
}

.sidebar-nav-list a::before {
    content: '→';
    font-size: 0.75rem;
    opacity: 0.5;
    transition: opacity var(--trans-fast);
}

.sidebar-nav-list a:hover::before,
.sidebar-nav-list a.current::before {
    opacity: 1;
    color: var(--color-accent);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .legal-layout-inner {
        grid-template-columns: 1fr 260px;
        gap: 2rem;
    }

    .legal-main-content {
        padding: 2rem 2.5rem;
    }
}

@media (max-width: 768px) {
    .legal-page-header h1 {
        font-size: 2.4rem;
    }

    .legal-layout-inner {
        grid-template-columns: 1fr;
    }

    .legal-sidebar {
        position: static;
        order: -1;
    }

    .ad-slot-leaderboard {
        max-width: 100%;
    }

    .legal-main-content {
        padding: 1.5rem;
    }

    .legal-section h2 {
        font-size: 1.2rem;
    }
}

/* ===========================================
    CONTACT PAGE
    AdSense-Compliant Two-Column Layout
=========================================== */

/* ---- Contact main area ---- */
.contact-layout-wrapper {
    padding: 4rem 0 6rem;
    background: var(--color-off-white);
}

.contact-layout-inner {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ---- Contact card (contains info + form) ---- */
.contact-main-content {
    background: var(--color-white);
    border: 1px solid #ebebeb;
    padding: 3rem 3.5rem;
}

.contact-main-content::before {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-accent);
    margin-bottom: 2rem;
}

.contact-intro-title {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.contact-intro-text {
    font-size: 0.975rem;
    line-height: 1.8;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
}

/* ---- Info rows ---- */
.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #f0ece6;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--color-off-white);
    border: 1px solid #e0dbd2;
    color: var(--color-accent);
    flex-shrink: 0;
    font-size: 1rem;
}

.contact-info-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 0.3rem;
}

.contact-info-value {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ---- Form ---- */
.contact-form-title {
    font-size: 1.4rem;
    margin-bottom: 1.75rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.78rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--color-text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid #ddd;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-text-main);
    background: var(--color-white);
    outline: none;
    transition: border-color var(--trans-fast);
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-accent);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.form-submit-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-submit-btn {
    display: inline-block;
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 0.85rem 2rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1px solid var(--color-black);
    cursor: pointer;
    transition: background-color var(--trans-smooth), color var(--trans-smooth);
}

.contact-submit-btn:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
}

/* ---- Sharing legal sidebar reuse ---- */
/* .legal-sidebar, .sidebar-widget etc. are reused from the legal block */

/* ---- Contact Responsive ---- */
@media (max-width: 1024px) {
    .contact-layout-inner {
        grid-template-columns: 1fr 260px;
        gap: 2rem;
    }

    .contact-main-content {
        padding: 2rem 2.5rem;
    }
}

@media (max-width: 768px) {
    .contact-layout-inner {
        grid-template-columns: 1fr;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-main-content {
        padding: 1.5rem;
    }

    .contact-intro-title {
        font-size: 1.6rem;
    }
}

/* ══ TechSpot-like Layout Styles ══ */
.tech-layout {
    background: #f8f9fa;
    color: #333;
    line-height: 1.7;
}

.tech-layout .container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.tech-layout-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    margin-top: 2rem;
    align-items: start;
}

.tech-main-content {
    background: #fff;
    padding: 0;
    min-width: 0;
    /* Fix for grid overflow */
}

.tech-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    background: #555;
    transition: opacity 0.3s;
}

.tech-tag.recipes {
    background: #e67e22;
}

.tech-tag.tips {
    background: #27ae60;
}

.tech-tag.culture {
    background: #8e44ad;
}

.tech-tag.nutrition {
    background: #c0392b;
}

.tech-tag:hover {
    opacity: 0.85;
}

.tech-post-header {
    margin-bottom: 2rem;
}

.tech-post-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.tech-post-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 1.5rem;
    max-width: 900px;
}

.tech-post-byline {
    font-size: 0.9rem;
    color: #888;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.tech-post-byline a {
    color: #005599;
    text-decoration: none;
    font-weight: 600;
}

.tech-post-byline a:hover {
    text-decoration: underline;
}

.tech-ad-leaderboard {
    margin: 2rem 0;
    text-align: center;
}

.ad-label {
    font-size: 0.7rem;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.ad-placeholder-leaderboard {
    width: 728px;
    height: 90px;
    background: #eee;
    color: #aaa;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 1px dashed #ccc;
}

.tech-layout-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    margin-top: 2rem;
    align-items: start;
}

.tech-main-content {
    background: #fff;
    padding: 0;
}

.tech-featured-image {
    margin: 0 auto 3rem;
    max-width: 900px;
    text-align: center;
}

.tech-featured-image img {
    width: 100%;
    max-height: 550px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* Inline Images */
.post-inline-figure {
    margin: 2.5rem 0;
    text-align: center;
}

.post-inline-figure img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.post-inline-figure figcaption {
    font-size: 0.85rem;
    color: #666;
    margin-top: 10px;
    font-style: italic;
}

.tech-content-body {
    font-size: 1.15rem;
    color: #2c3e50;
    line-height: 1.8;
}

.tech-content-body p {
    margin-bottom: 1.5rem;
}

.tech-content-body h2 {
    font-size: 1.75rem;
    margin: 2.5rem 0 1rem;
    color: #1a1a1a;
}

.tech-post-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.tech-tags a {
    display: inline-block;
    padding: 2px 8px;
    background: #f0f0f0;
    color: #666;
    border-radius: 3px;
    font-size: 0.9rem;
    text-decoration: none;
    margin-left: 5px;
}

/* Related Posts */
.tech-related-posts {
    margin-top: 4rem;
    border-top: 2px solid #005599;
    padding-top: 2rem;
}

.tech-related-posts h3 {
    margin-bottom: 1.5rem;
    color: #005599;
    font-weight: 800;
}

.tech-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.tech-related-card {
    position: relative;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    display: block;
    text-decoration: none;
}

.tech-related-card .related-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s;
}

.tech-related-card:hover .related-img {
    transform: scale(1.1);
}

.tech-related-card .related-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.tech-related-card h4 {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    color: #fff;
    font-size: 0.95rem;
    margin: 0;
}

/* Sidebar */
.tech-sidebar-widget {
    background: #fff;
    padding: 1.5rem;
    border: 1px solid #eee;
    margin-bottom: 2rem;
    border-radius: 4px;
}

.widget-title {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: #1a1a1a;
    border-bottom: 2px solid #005599;
    padding-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Search Box */
.sidebar-search-form {
    background: #f8f9fa;
    padding: 5px;
    border: 1px solid #eee;
    border-radius: 6px;
}

.search-input-group {
    display: flex;
    align-items: center;
}

.search-input-group input {
    border: none;
    background: transparent;
    padding: 10px 12px;
    flex-grow: 1;
    font-size: 0.9rem;
    outline: none;
}

.search-input-group button {
    background: #005599;
    color: #fff;
    border: none;
    width: 40px;
    height: 38px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
}

.search-input-group button:hover {
    background: #003366;
}

/* Sidebar Categories */
.sidebar-cats-list {
    list-style: none;
    padding: 0;
}

.sidebar-cats-list li {
    margin-bottom: 8px;
}

.sidebar-cats-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: #444;
    font-size: 0.95rem;
    padding: 8px 10px;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}

.sidebar-cats-list a:hover {
    background: #f0f4f8;
    color: #005599;
}

.cat-count {
    background: #eee;
    color: #777;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 700;
}

.popular-list {
    list-style: none;
    padding: 0;
}

.popular-list li {
    margin-bottom: 1.2rem;
}

.popular-list li a {
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: #333;
}

.popular-thumb {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 4px;
    background-size: cover;
    background-position: center;
}

.popular-title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
}

.popular-list li a:hover .popular-title {
    color: #005599;
}

.tech-sidebar-ad {
    margin-bottom: 2rem;
    text-align: center;
}

.sidebar-ad-placeholder {
    background: #eee;
    color: #aaa;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed #ccc;
    margin-bottom: 5px;
}

.tech-sidebar-ad:nth-of-type(1) .sidebar-ad-placeholder {
    width: 300px;
    height: 250px;
}

.tech-sidebar-ad:nth-of-type(2) .sidebar-ad-placeholder {
    width: 300px;
    height: 600px;
}

/* ══ Comment System Styles ══ */
.comments-section {
    margin-top: 5rem;
    background: #fff;
    padding: 2rem;
    border: 1px solid #eee;
    border-radius: 4px;
}

.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #005599;
}

.comments-header h3 {
    margin: 0;
    font-weight: 800;
}

.btn-post-comment {
    text-decoration: none;
    color: #005599;
    font-weight: 700;
    font-size: 0.9rem;
}

.btn-post-comment .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #e67e22;
    color: #fff;
    border-radius: 50%;
    margin-left: 5px;
}

.comment-item {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f0f0f0;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
}

.comment-author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-size: cover;
}

.comment-author-info {
    flex-grow: 1;
}

.comment-author-name {
    display: block;
    font-weight: 700;
    color: #1a1a1a;
}

.comment-date {
    font-size: 0.8rem;
    color: #888;
}

.comment-rating {
    display: flex;
    gap: 2px;
}

.star {
    color: #ddd;
    font-size: 1.2rem;
}

.star.filled {
    color: #f1c40f;
}

.comment-content p {
    margin: 0;
    color: #444;
}

.comment-form-wrapper {
    margin-top: 4rem;
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
}

.comment-form-wrapper h4 {
    margin-bottom: 2rem;
    font-weight: 800;
}

.comment-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.comment-form .form-group {
    margin-bottom: 1.5rem;
}

.comment-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.comment-form input,
.comment-form select,
.comment-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.btn-submit-comment {
    background: #005599;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit-comment:hover {
    background: #003366;
}

/* Responsive Tech Layout */
@media (max-width: 1024px) {
    .tech-layout-grid {
        grid-template-columns: 1fr;
    }

    .tech-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .tech-post-title {
        font-size: 2.2rem;
    }

    .tech-sidebar {
        grid-template-columns: 1fr;
    }

    .tech-related-grid {
        grid-template-columns: 1fr;
    }

    .comment-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* ===========================================
    CULINARY BLOG REDESIGN 2026
=========================================== */

/* --- Blog Archive (blog.php) --- */
.blog-main-wrapper {
    background-color: var(--color-off-white);
    min-height: 100vh;
}

.culinary-header {
    background-color: var(--color-black);
    padding: 180px 0 100px;
    border-bottom: 5px solid var(--color-accent);
}

.culinary-title {
    font-size: 5rem;
    color: var(--color-white);
    margin: 1rem 0;
}

.culinary-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.culinary-filter-wrapper {
    margin-top: -40px;
    background: var(--color-white);
    padding: 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    margin-bottom: 5rem;
    position: relative;
    z-index: 10;
}

.filter-nav ul {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.filter-link {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-text-light);
    position: relative;
    padding-bottom: 5px;
}

.filter-link.active {
    color: var(--color-accent);
}

.filter-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width var(--trans-smooth);
}

.filter-link:hover::after,
.filter-link.active::after {
    width: 100%;
}

/* Culinary Grid */
.culinary-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    padding-bottom: 2rem;
}

.culinary-post-card {
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    transition: all var(--trans-smooth);
    border: 1px solid #f0f0f0;
    height: 100%;
}

/* Removed .card-featured override to maintain consistent grid */

.post-card-visual {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.post-card-image {
    width: 100%;
    height: 280px;
    background-size: cover;
    background-position: center;
    transition: transform var(--trans-slow);
}

.culinary-post-card:hover .post-card-image {
    transform: scale(1.05);
}

.post-card-tag {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background: var(--color-accent);
    color: var(--color-white);
    padding: 0.5rem 1.2rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.post-card-body {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background-color: var(--color-white);
}

.post-card-meta {
    font-size: 0.8rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.post-card-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.post-card-excerpt {
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.culinary-read-more {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--color-black);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.culinary-read-more span {
    transition: transform var(--trans-fast);
}

.culinary-read-more:hover span {
    transform: translateX(10px);
}

/* --- Single Post Redesign (single-post.php) --- */
.culinary-main-container {
    padding: 180px 0 100px;
    background-color: var(--color-off-white);
}

.recipe-focused-article {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--color-white);
    padding: 6rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.03);
}

.article-breadcrumb-meta {
    text-align: center;
    margin-bottom: 2rem;
}

.culinary-category-tag {
    color: var(--color-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
}

.meta-separator {
    margin: 0 1rem;
    color: #ddd;
}

.publish-date {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.article-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem;
}

.article-title {
    font-size: 4.5rem;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.article-lead-text {
    font-size: 1.4rem;
    color: var(--color-text-light);
    font-family: var(--font-heading);
    font-style: italic;
    line-height: 1.6;
}

.article-byline {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-black);
}

.author-role {
    font-size: 0.8rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-hero-wrap {
    margin: 0 -6rem 5rem;
}

.hero-figure {
    width: 100%;
}

.hero-image {
    width: 100%;
    height: 700px;
    object-fit: cover;
}

.hero-figure figcaption {
    padding: 1.5rem 6rem;
    background: var(--color-off-white);
    font-size: 0.9rem;
    color: var(--color-text-light);
    font-style: italic;
    border-left: 4px solid var(--color-accent);
}

.article-content-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 5rem;
}

.article-sidebar-left {
    position: sticky;
    top: 150px;
    height: fit-content;
}

.widget-mini-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.toc-widget ul {
    list-style: none;
    padding: 0;
}

.toc-widget li {
    margin-bottom: 1rem;
}

.toc-widget a {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-text-light);
    transition: color 0.3s;
}

.toc-widget a:hover {
    color: var(--color-accent);
}

.share-widget {
    margin-top: 4rem;
}

.share-icons {
    display: flex;
    gap: 1rem;
}

.share-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 50%;
    transition: all 0.3s;
}

.share-btn:hover {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}

.article-body-content {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--color-text-main);
}

.article-body-content h2 {
    font-size: 2.5rem;
    margin: 4rem 0 2rem;
}

.article-body-content p {
    margin-bottom: 2rem;
}

.article-body-content blockquote {
    padding: 3rem;
    background: var(--color-off-white);
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.6rem;
    margin: 4rem 0;
    border-left: 5px solid var(--color-accent);
}

.article-footer-meta {
    margin-top: 6rem;
    padding-top: 3rem;
    border-top: 1px solid #eee;
}

.tag-label {
    font-weight: 700;
    margin-right: 1rem;
}

.article-tags a {
    color: var(--color-accent);
    font-weight: 600;
}

/* Related Stories */
.related-stories-section {
    margin-top: 8rem;
    padding-top: 5rem;
    border-top: 1px solid #eee;
}

.related-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
}

.related-stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.related-story-card {
    transition: all var(--trans-smooth);
    background: var(--color-white);
    border: 1px solid #f0f0f0;
    overflow: hidden;
    height: 100%;
}

.related-story-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}

.card-preview {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.related-story-card .card-preview::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.1);
    opacity: 0;
    transition: opacity var(--trans-smooth);
}

.related-story-card:hover .card-preview::after {
    opacity: 1;
}

.card-text {
    padding: 1.5rem;
}

.card-text h4 {
    font-size: 1.1rem;
    line-height: 1.4;
    margin: 0;
    font-family: var(--font-body);
    font-weight: 600;
}

/* Trending Widget Styles */
.trending-widget {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.trending-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.trending-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    text-decoration: none;
    transition: transform var(--trans-fast);
}

.trending-item:hover {
    transform: translateX(5px);
}

.trending-thumb {
    width: 60px;
    height: 60px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    border-radius: 4px;
}

.trending-info h5 {
    font-size: 0.9rem;
    line-height: 1.3;
    margin: 0;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--color-black);
}

/* Progress Bar */
#recipe-reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--color-accent);
    z-index: 2000;
    width: 0;
    transition: width 0.1s ease;
}

/* Mobile Adjustments */
@media screen and (max-width: 991px) {
    .culinary-blog-grid {
        grid-template-columns: 1fr;
    }

    .culinary-post-card {
        flex-direction: column;
    }

    .recipe-focused-article {
        padding: 3rem 2rem;
    }

    .article-title {
        font-size: 3rem;
    }

    .article-hero-wrap {
        margin: 0 -2rem 3rem;
    }

    .hero-image {
        height: 400px;
    }

    .article-content-layout {
        grid-template-columns: 1fr;
    }

    .article-sidebar-left {
        position: static;
        margin-bottom: 3rem;
    }
}

/* Blog Content Typography */
.content-text-wrap h2 {
    font-size: 2.2rem;
    color: var(--color-black);
    margin: 3.5rem 0 1.5rem;
    font-family: var(--font-heading);
    line-height: 1.2;
}

.content-text-wrap h3 {
    font-size: 1.8rem;
    color: var(--color-black);
    margin: 2.5rem 0 1.2rem;
    font-family: var(--font-heading);
}

.content-text-wrap p {
    margin-bottom: 1.8rem;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--color-text);
}

.content-text-wrap ol, 
.content-text-wrap ul {
    margin: 2rem 0 2.5rem 1.5rem;
    padding-left: 1rem;
}

.content-text-wrap li {
    margin-bottom: 1.2rem;
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--color-text);
}

.content-text-wrap li b, 
.content-text-wrap li strong {
    color: var(--color-black);
    font-weight: 700;
}

.post-inline-figure {
    margin: 3rem 0;
}

.post-inline-figure img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.post-inline-figure figcaption {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--color-text-light);
    text-align: center;
    font-style: italic;
}


/* Social Share Icons */
.share-icons {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}

.share-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f8f8f8;
    color: var(--color-black);
    text-decoration: none;
    transition: all var(--trans-smooth);
    font-size: 0.9rem;
    border: 1px solid #eee;
}

.share-btn:hover {
    transform: translateY(-3px);
    color: var(--color-white);
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.share-btn.fb:hover { background: #1877F2; }
.share-btn.tw:hover { background: #000000; }
.share-btn.pi:hover { background: #E60023; }

/* ===========================================
    SEARCH OVERLAY
=========================================== */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(8, 8, 8, 0.98);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--trans-smooth);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--color-white);
    cursor: pointer;
    padding: 1rem;
    transition: transform var(--trans-fast);
}

.search-close:hover {
    transform: rotate(90deg);
    color: var(--color-accent);
}

.search-form-wrapper {
    width: 100%;
    max-width: 800px;
    padding: 0 var(--container-padding);
    text-align: center;
}

.search-form-wrapper h3 {
    color: var(--color-white);
    font-size: 3rem;
    margin-bottom: 2rem;
}

.search-form-wrapper .form-group {
    position: relative;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    transition: border-color var(--trans-fast);
}

.search-form-wrapper .form-group:focus-within {
    border-color: var(--color-accent);
}

.search-overlay-input {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 2.5rem;
    padding: 1rem 0;
    outline: none;
}

.search-overlay-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.search-overlay-submit {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--color-white);
    cursor: pointer;
    padding: 0.5rem;
}

.search-overlay-submit:hover {
    color: var(--color-accent);
}

.search-tips {
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}
