﻿/*
Theme Name: Binaryus Premium Magazine & Lifestyle Theme
Theme URI: https://binaryus.com/
Author: Antigravity
Author URI: https://binaryus.com/
Description: A luxury, modern hybrid editorial & lifestyle WordPress theme inspired by DROZY and OFFOOD. Features floating overlap hero banners, category icon carousels, asymmetric magazine grids, numbered trending rankings, author spotlight widgets, and rich post metadata.
Version: 2.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: binaryus-theme
*/

/* ==========================================================================
   WORDPRESS MENU & HEADER ISOLATION (ZERO BULLET POINTS, HORIZONTAL SCROLL)
   ========================================================================== */
.site-header {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 999;
}

[data-theme="dark"] .site-header {
    background-color: rgba(17, 24, 39, 0.96) !important;
}

.header-main-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 76px !important;
    gap: 16px !important;
    padding: 8px 0 !important;
}

.site-logo {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-shrink: 0 !important;
}

.main-nav-wrapper,
header nav {
    display: flex !important;
    align-items: center !important;
    flex: 1 1 auto !important;
    justify-content: center !important;
    max-width: calc(100% - 320px) !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.main-nav-wrapper::-webkit-scrollbar,
header nav::-webkit-scrollbar {
    display: none !important;
}

/* Force all menu containers and lists into horizontal rows without bullets */
.main-nav-wrapper div,
.main-nav-wrapper nav,
header nav div {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.main-nav-wrapper ul,
.main-nav-wrapper .menu,
.main-nav-wrapper .main-navigation,
.main-nav-wrapper .nav-menu,
.site-header nav ul,
.site-header ul.menu {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 8px !important;
    white-space: nowrap !important;
}

.main-nav-wrapper li,
.site-header nav li,
.site-header ul.menu li,
.site-header .page_item,
.site-header .menu-item {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
}

.main-nav-wrapper li a,
.site-header nav li a,
.site-header ul.menu li a,
.nav-link {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: var(--text-muted) !important;
    padding: 7px 13px !important;
    border-radius: var(--radius-full) !important;
    transition: var(--transition) !important;
    text-decoration: none !important;
    display: inline-block !important;
    white-space: nowrap !important;
    background: transparent !important;
    border: none !important;
}

.main-nav-wrapper li a:hover,
.site-header nav li a:hover,
.main-nav-wrapper li.current-menu-item a,
.main-nav-wrapper li.current_page_item a,
.nav-link.active,
.nav-link:hover {
    color: var(--primary) !important;
    background-color: var(--primary-light) !important;
}

/* Category Strip / Pill Lists */
.category-strip {
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    overflow-x: auto;
}

.cat-scroll-container {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    scrollbar-width: none;
}

.cat-scroll-container::-webkit-scrollbar {
    display: none;
}

.cat-pill-item {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 7px 16px !important;
    background-color: var(--bg-surface-alt) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-full) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--text-muted) !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: var(--transition) !important;
}

.cat-pill-item:hover, .cat-pill-item.active {
    background-color: var(--primary-light) !important;
    border-color: var(--primary) !important;
    color: var(--primary) !important;
}

/* ==========================================================================
   EXPLICIT GRID & CARD DIMENSIONS (PREVENTS VERTICAL STRETCHING)
   ========================================================================== */
.topic-hub-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    margin-bottom: 45px !important;
}

.topic-card {
    position: relative !important;
    height: 200px !important;
    min-height: 200px !important;
    max-height: 200px !important;
    border-radius: var(--radius-md) !important;
    overflow: hidden !important;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    padding: 20px !important;
    text-decoration: none !important;
}

.topic-card img.topic-card-bg {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.5s ease !important;
    z-index: 1 !important;
    border-radius: 0 !important;
    margin: 0 !important;
}

.topic-card:hover img.topic-card-bg {
    transform: scale(1.08) !important;
}

.topic-card-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 20%, rgba(15, 23, 42, 0.2) 80%) !important;
    z-index: 2 !important;
}

.topic-card-content {
    position: relative !important;
    z-index: 3 !important;
}

.topic-card-content h4 {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 4px !important;
}

.topic-card-content span {
    font-size: 12px !important;
    color: #cbd5e1 !important;
}

/* Editorial Grid */
.editorial-grid {
    display: grid !important;
    grid-template-columns: 1.6fr 1fr !important;
    gap: 30px !important;
    margin-bottom: 50px !important;
}

/* Spotlight & Trending */
.spotlight-trending-row {
    display: grid !important;
    grid-template-columns: 1fr 1.8fr !important;
    gap: 30px !important;
    margin-bottom: 50px !important;
}

/* Hardware & Gear */
.gear-lab-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    margin-bottom: 50px !important;
}

/* Post Grid 3 Col */
.post-grid-3col {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 26px !important;
    margin-bottom: 45px !important;
}

/* Reading Room */
.books-reading-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    margin-bottom: 50px !important;
}

/* Curated Essays */
.curated-essays-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    margin-bottom: 50px !important;
}

/* Retreats */
.retreats-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    margin-bottom: 50px !important;
}

/* WordPress Core Alignment Classes */
.alignnone { margin: 5px 20px 20px 0; }
.aligncenter, div.aligncenter { display: block; margin: 5px auto 5px auto; }
.alignright { float: right; margin: 5px 0 20px 20px; }
.alignleft { float: left; margin: 5px 20px 20px 0; }
a img.alignright { float: right; margin: 5px 0 20px 20px; }
a img.alignnone { margin: 5px 20px 20px 0; }
a img.alignleft { float: left; margin: 5px 20px 20px 0; }
a img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { background: var(--bg-surface-alt); border: 1px solid var(--border-color); max-width: 96%; padding: 5px 3px 10px; text-align: center; border-radius: var(--radius-sm); }
.wp-caption-text { font-size: 12px; line-height: 17px; margin: 0; padding: 0 4px 5px; color: var(--text-muted); }
.sticky { }
.bypostauthor { }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }


/* ==========================================================================
   DROZY + OFFOOD HYBRID DESIGN SYSTEM (BINARYUS.COM)
   Modern Editorial Magazine & Lifestyle Theme
   ========================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,400;1,600&display=swap');

/* --- COLOR TOKENS & VARIABLES --- */
:root {
    /* Light Theme */
    --bg-body: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-alt: #f1f5f9;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;

    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --text-inverse: #ffffff;

    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --primary-light: rgba(79, 70, 229, 0.08);
    --primary-glow: rgba(79, 70, 229, 0.25);

    --accent: #f97316;
    --accent-hover: #ea580c;
    --accent-light: rgba(249, 115, 22, 0.08);

    --teal: #0d9488;
    --teal-light: rgba(13, 148, 136, 0.08);

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 6px 18px -2px rgba(15, 23, 42, 0.07), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 16px 36px -4px rgba(15, 23, 42, 0.09), 0 6px 14px -2px rgba(15, 23, 42, 0.04);
    --shadow-xl: 0 24px 48px -8px rgba(15, 23, 42, 0.12);

    --font-headings: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --container-max: 1240px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --bg-body: #0b0f19;
    --bg-surface: #111827;
    --bg-surface-alt: #1e293b;
    --bg-card: #151e30;
    --border-color: #1e293b;
    --border-light: #162032;

    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-light: #64748b;
    --text-inverse: #0b0f19;

    --primary: #6366f1;
    --primary-hover: #818cf8;
    --primary-light: rgba(99, 102, 241, 0.15);
    --primary-glow: rgba(99, 102, 241, 0.35);

    --accent: #fb923c;
    --accent-light: rgba(251, 146, 60, 0.15);

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 6px 18px -2px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 36px -4px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 24px 48px -8px rgba(0, 0, 0, 0.6);
}

/* --- BASE & RESET --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.65;
    font-size: 15px;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

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

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

button, input, textarea, select {
    font-family: inherit;
    outline: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: var(--radius-md);
}

/* --- LAYOUT UTILITIES --- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 48px 0;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 26px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 14px;
    gap: 16px;
    flex-wrap: wrap;
}

.section-title {
    font-size: 24px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 22px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    border-radius: 4px;
}

.view-all-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.view-all-link:hover {
    color: var(--accent);
    gap: 8px;
}

/* --- BUTTONS & BADGES --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    gap: 8px;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff !important;
    box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-accent {
    background-color: var(--accent);
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background-color: var(--bg-surface-alt);
    border-color: var(--text-main);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: var(--radius-full);
    line-height: 1;
    width: fit-content;
}

.badge-tech { background-color: rgba(79, 70, 229, 0.12); color: #6366f1; }
.badge-lifestyle { background-color: rgba(249, 115, 22, 0.12); color: #ea580c; }
.badge-food { background-color: rgba(13, 148, 136, 0.12); color: #0d9488; }
.badge-culture { background-color: rgba(236, 72, 153, 0.12); color: #db2777; }
.badge-design { background-color: rgba(168, 85, 247, 0.12); color: #9333ea; }

/* ==========================================================================
   HEADER & TOPBAR
   ========================================================================== */
.site-topbar {
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    padding: 8px 0;
    font-size: 12px;
    color: var(--text-muted);
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.topbar-ticker {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ticker-pill {
    background: var(--accent);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.topbar-socials {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-socials a {
    color: var(--text-muted);
    font-size: 13px;
}

.topbar-socials a:hover {
    color: var(--primary);
}

.theme-toggle-btn {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.theme-toggle-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.site-header {
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 90;
    transition: var(--transition);
}

[data-theme="dark"] .site-header {
    background-color: rgba(17, 24, 39, 0.92);
}

.header-main-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    gap: 20px;
}

.site-logo {
    font-family: var(--font-headings);
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.site-logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(79, 70, 229, 0.35);
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.25s ease;
    object-fit: cover;
}

.site-logo:hover .site-logo-icon {
    transform: scale(1.08) rotate(-3deg);
}

.site-logo span {
    color: var(--accent);
}

.site-logo .logo-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
    display: inline-block;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    border-radius: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.icon-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: var(--primary-light);
}

/* Category Strip */
.category-strip {
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
}

.cat-scroll-container {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 2px 0;
}
.cat-scroll-container::-webkit-scrollbar { display: none; }

.cat-pill-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: var(--radius-full);
    background-color: var(--bg-surface-alt);
    border: 1px solid var(--border-color);
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    white-space: nowrap;
    cursor: pointer;
    transition: var(--transition);
}

.cat-pill-item:hover, .cat-pill-item.active {
    background-color: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Reading Progress Bar */
#reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(to right, var(--primary), var(--accent));
    z-index: 1000;
    transition: width 0.1s linear;
}

/* ==========================================================================
   EXCLUSIVE HOME SECTIONS (HOMEPAGE STYLES)
   ========================================================================== */
.daily-thought-box {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.06), rgba(249, 115, 22, 0.06));
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px 28px;
    margin-bottom: 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.editor-letter-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px;
    margin-bottom: 45px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.recipe-spotlight-banner {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 45px;
    box-shadow: var(--shadow-md);
}

.recipe-banner-img {
    height: 100%;
    min-height: 340px;
    width: 100%;
    object-fit: cover;
    border-radius: 0;
}

.recipe-banner-body {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Gear Lab Teardown Grid */
.gear-lab-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 45px;
}

.gear-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.gear-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.gear-media {
    height: 200px;
    position: relative;
}

.gear-media img {
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.gear-score-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #0f172a;
    color: #fbbf24;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255,255,255,0.2);
}

.gear-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.gear-body h4 {
    font-size: 17px;
    margin-bottom: 8px;
}

.gear-verdict {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 14px;
    line-height: 1.55;
    flex-grow: 1;
}

/* Books & Library Section */
.books-reading-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 45px;
}

.book-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.book-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.book-cover {
    height: 190px;
    width: 130px;
    margin: 0 auto 14px;
    border-radius: 6px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    overflow: hidden;
}

.book-cover img {
    width: 100%;
    height: 100%;
    border-radius: 6px;
}

.book-card h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.book-author {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 8px;
}

/* Global Retreats Grid */
.retreats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 45px;
}

.retreat-card {
    position: relative;
    height: 280px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
}

.retreat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.retreat-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    z-index: 1;
}

.retreat-card:hover .retreat-bg {
    transform: scale(1.06);
}

.retreat-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 15%, rgba(15, 23, 42, 0.2) 85%);
    z-index: 2;
}

.retreat-content {
    position: relative;
    z-index: 3;
    color: #ffffff;
}

.retreat-content h4 {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 4px;
}

.retreat-content p {
    color: #cbd5e1;
    font-size: 13px;
    margin-bottom: 8px;
}

/* Luxury Print Issue Promo Banner */
.luxury-print-banner {
    background: linear-gradient(135deg, #1e1b4b, #0f172a);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 44px;
    margin-bottom: 45px;
    box-shadow: var(--shadow-xl);
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 36px;
    align-items: center;
}

.luxury-print-content h2 {
    color: #ffffff;
    font-size: 28px;
    margin: 8px 0 12px;
}

.luxury-print-content p {
    color: #cbd5e1;
    font-size: 14.5px;
    line-height: 1.65;
    margin-bottom: 22px;
}

.print-mockup-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
}

/* ==========================================================================
   HERO SECTION: FLOATING OVERLAP CARD
   ========================================================================== */
.hero-banner-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #0f172a;
    height: 500px;
    margin-bottom: 40px;
}

.hero-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.88;
    transition: transform 0.6s ease;
}

.hero-banner-container:hover .hero-banner-img {
    transform: scale(1.03);
}

.floating-hero-card {
    position: absolute;
    bottom: 35px;
    left: 35px;
    max-width: 620px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: var(--transition);
}

[data-theme="dark"] .floating-hero-card {
    background: rgba(17, 24, 39, 0.92);
    border-color: rgba(255, 255, 255, 0.1);
}

.floating-hero-card .hero-tag {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 8px;
    display: inline-block;
}

.floating-hero-card h1, .floating-hero-card h2 {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 12px;
}

.floating-hero-card p {
    font-size: 14.5px;
    color: var(--text-muted);
    margin-bottom: 18px;
    line-height: 1.6;
}

.hero-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
}

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

/* ==========================================================================
   EDITORIAL SPLIT GRID
   ========================================================================== */
.editorial-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 28px;
    margin-bottom: 45px;
}

.editorial-lead-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.editorial-lead-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    border-color: var(--primary-glow);
}

.lead-card-media {
    height: 320px;
    position: relative;
    overflow: hidden;
}

.lead-card-media img {
    width: 100%;
    height: 100%;
    border-radius: 0;
    transition: transform 0.5s ease;
}

.editorial-lead-card:hover .lead-card-media img {
    transform: scale(1.05);
}

.lead-card-body {
    padding: 26px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.lead-card-body h3 {
    font-size: 22px;
    margin: 10px 0 12px;
}

.lead-card-body p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.editorial-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.stack-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    gap: 18px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    align-items: center;
}

.stack-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-glow);
}

.stack-card-media {
    width: 130px;
    height: 105px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.stack-card-media img {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-sm);
}

.stack-card-body {
    flex-grow: 1;
}

.stack-card-body h4 {
    font-size: 15.5px;
    margin: 5px 0 6px;
    line-height: 1.35;
}

.meta-small {
    font-size: 12px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ==========================================================================
   SPOTLIGHT & NUMBERED TRENDING
   ========================================================================== */
.spotlight-trending-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 28px;
    margin-bottom: 45px;
}

.author-spotlight-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px 22px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.author-avatar-lg {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: 0 auto 14px;
    border: 3px solid var(--accent);
    padding: 3px;
}

.author-avatar-lg img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.author-spotlight-box h3 {
    font-size: 19px;
    margin-bottom: 4px;
}

.author-spotlight-box .author-role {
    font-size: 12.5px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 12px;
}

.author-spotlight-box p {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-bottom: 18px;
    line-height: 1.6;
}

.author-social-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 18px;
}

.author-social-row a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bg-surface-alt);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--text-muted);
}

.author-social-row a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.trending-list {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 26px;
    box-shadow: var(--shadow-sm);
}

.trending-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.trending-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.trending-item:first-child {
    padding-top: 0;
}

.trending-rank {
    font-family: var(--font-headings);
    font-size: 30px;
    font-weight: 900;
    color: var(--text-light);
    line-height: 1;
    width: 40px;
    flex-shrink: 0;
    transition: var(--transition);
}

.trending-item:hover .trending-rank {
    color: var(--accent);
    transform: scale(1.1);
}

.trending-thumb {
    width: 80px;
    height: 64px;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    overflow: hidden;
}

.trending-thumb img {
    width: 100%;
    height: 100%;
}

.trending-body {
    flex-grow: 1;
}

.trending-body h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

/* ==========================================================================
   PODCAST SPOTLIGHT
   ========================================================================== */
.podcast-spotlight-container {
    background: linear-gradient(135deg, #090d16, #1e1b4b);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-bottom: 45px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-xl);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 36px;
    align-items: center;
}

.podcast-info-col h2 {
    color: #ffffff;
    font-size: 28px;
    margin: 10px 0 14px;
}

.podcast-info-col p {
    color: #cbd5e1;
    font-size: 14.5px;
    line-height: 1.65;
    margin-bottom: 24px;
}

.podcast-player-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.audio-waveform-visual {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 36px;
    padding: 0 4px;
}

.wave-bar {
    width: 4px;
    background: var(--accent);
    border-radius: 2px;
    animation: wavePulse 1.2s infinite ease-in-out alternate;
}

@keyframes wavePulse {
    0% { height: 15%; opacity: 0.4; }
    100% { height: 100%; opacity: 1; }
}

.wave-bar:nth-child(2n) { animation-delay: 0.2s; background: var(--primary); }
.wave-bar:nth-child(3n) { animation-delay: 0.4s; }
.wave-bar:nth-child(4n) { animation-delay: 0.6s; }

/* ==========================================================================
   TOPIC EXPLORATION & THEMATIC HUB
   ========================================================================== */
.topic-hub-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 45px;
}

.topic-card {
    position: relative;
    height: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}

.topic-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.topic-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    z-index: 1;
}

.topic-card:hover .topic-card-bg {
    transform: scale(1.08);
}

.topic-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 20%, rgba(15, 23, 42, 0.2) 80%);
    z-index: 2;
}

.topic-card-content {
    position: relative;
    z-index: 3;
    color: #ffffff;
}

.topic-card-content h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 4px;
}

.topic-card-content span {
    font-size: 12px;
    color: #cbd5e1;
}

/* ==========================================================================
   CURATED ESSAYS & POLL
   ========================================================================== */
.curated-essays-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 45px;
}

.curated-essay-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.curated-essay-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.essay-badge-pill {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
    margin-bottom: 8px;
}

.curated-essay-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.35;
}

.curated-essay-card p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 18px;
    flex-grow: 1;
}

.community-poll-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px;
    margin-bottom: 45px;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 36px;
    align-items: center;
}

.poll-info h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.poll-info p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 16px;
}

.poll-options-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.poll-option-row {
    background: var(--bg-surface-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 18px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.poll-option-row:hover {
    border-color: var(--primary);
}

.poll-progress-bg {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--primary-light);
    z-index: 1;
    border-radius: var(--radius-sm);
}

.poll-option-text {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    font-weight: 700;
}

/* ==========================================================================
   INSTAGRAM GALLERY
   ========================================================================== */
.insta-gallery-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    margin-bottom: 45px;
}

.insta-item {
    height: 170px;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.insta-item:hover {
    transform: scale(1.04);
    box-shadow: var(--shadow-md);
}

.insta-item img {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-md);
    transition: transform 0.4s ease;
}

.insta-item:hover img {
    transform: scale(1.1);
}

.insta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 22px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.insta-item:hover .insta-overlay {
    opacity: 1;
}

/* ==========================================================================
   POST GRID 3-COLUMN CARDS
   ========================================================================== */
.post-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-bottom: 45px;
}

.post-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.post-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--primary-glow);
}

.card-media {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.card-media img {
    width: 100%;
    height: 100%;
    border-radius: 0;
    transition: transform 0.4s ease;
}

.post-card:hover .card-media img {
    transform: scale(1.06);
}

.card-floating-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
}

.card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-body h3 {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.35;
}

.card-body p {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-bottom: 18px;
    flex-grow: 1;
    line-height: 1.6;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
    font-size: 12px;
    color: var(--text-light);
    font-weight: 600;
}

/* ==========================================================================
   PAGINATION
   ========================================================================== */
.pagination-container {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 40px 0 20px;
}

.page-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition);
}

.page-btn.active, .page-btn:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

/* ==========================================================================
   DARK NEWSLETTER CTA BANNER
   ========================================================================== */
.cta-newsletter-banner {
    background: linear-gradient(135deg, #0f172a, #1e1b4b);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 48px;
    margin-bottom: 45px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-content {
    max-width: 540px;
}

.cta-pill {
    display: inline-block;
    background: rgba(99, 102, 241, 0.3);
    color: #a5b4fc;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.cta-content h2 {
    color: #ffffff;
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 10px;
}

.cta-content p {
    color: #94a3b8;
    font-size: 14.5px;
    line-height: 1.6;
}

.cta-form-box {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 440px;
}

.cta-input {
    flex-grow: 1;
    padding: 13px 18px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 14px;
    outline: none;
}

.cta-input::placeholder {
    color: #94a3b8;
}

/* ==========================================================================
   MEGA-FOOTER COMPONENT
   ========================================================================== */
.site-footer {
    background-color: #0b0f19;
    color: #94a3b8;
    border-top: 1px solid #1e293b;
    padding: 55px 0 24px;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h2 {
    color: #f8fafc;
    font-size: 24px;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 13.5px;
    line-height: 1.65;
    margin-bottom: 20px;
    max-width: 320px;
}

.footer-social-links {
    display: flex;
    gap: 10px;
}

.f-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: var(--transition);
}

.f-social-btn:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-col-title {
    color: #f8fafc;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 18px;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-list a {
    color: #94a3b8;
    font-size: 13.5px;
}

.footer-links-list a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-bottom-bar {
    border-top: 1px solid #1e293b;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12.5px;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

/* ==========================================================================
   PAGE: SINGLE POST
   ========================================================================== */
.single-post-hero {
    text-align: center;
    max-width: 840px;
    margin: 20px auto 35px;
}

.single-post-hero h1 {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.25;
    margin: 14px 0 20px;
}

.single-author-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 13.5px;
    color: var(--text-muted);
}

.single-author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.single-featured-image {
    max-width: 1000px;
    margin: 0 auto 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.single-featured-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.audio-player-bar {
    max-width: 780px;
    margin: 0 auto 30px;
    background: var(--bg-surface-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.audio-play-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
}

.single-content-container {
    max-width: 780px;
    margin: 0 auto;
    position: relative;
}

.single-body-text {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-main);
}

.single-body-text p {
    margin-bottom: 24px;
}

.single-body-text h2 {
    font-size: 26px;
    margin: 36px 0 16px;
}

.single-body-text h3 {
    font-size: 20px;
    margin: 28px 0 12px;
}

.styled-pullquote {
    border-left: 4px solid var(--accent);
    padding: 20px 28px;
    margin: 32px 0;
    background: var(--accent-light);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-family: var(--font-serif);
    font-size: 20px;
    font-style: italic;
    color: var(--text-main);
    line-height: 1.6;
}

.styled-takeaway-box {
    background: var(--bg-surface-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    margin: 32px 0;
}

.styled-takeaway-box h4 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--primary);
}

.styled-takeaway-box ul {
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14.5px;
    color: var(--text-muted);
}

.post-author-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px;
    margin: 40px 0;
    display: flex;
    gap: 22px;
    align-items: center;
}

.author-box-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    flex-shrink: 0;
}

.post-nav-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 40px 0;
}

.nav-post-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: var(--transition);
}

.nav-post-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.nav-direction {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.comments-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

.comment-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.comment-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
}

.comment-content {
    background: var(--bg-surface-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    flex-grow: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 13px;
}

/* ==========================================================================
   PAGE: ABOUT US & TIMELINE
   ========================================================================= */
.about-hero {
    text-align: center;
    max-width: 840px;
    margin: 20px auto 45px;
}

.about-hero h1 {
    font-size: 38px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 16px;
}

.about-hero p {
    font-size: 16.5px;
    color: var(--text-muted);
    line-height: 1.65;
}

.timeline-track {
    position: relative;
    max-width: 840px;
    margin: 40px auto 60px;
    padding-left: 30px;
    border-left: 2px solid var(--border-color);
}

.timeline-node {
    position: relative;
    margin-bottom: 35px;
}

.timeline-node::before {
    content: '';
    position: absolute;
    left: -37px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--bg-surface);
}

.timeline-node h4 {
    font-size: 17px;
    margin-bottom: 6px;
    color: var(--text-main);
}

.timeline-node p {
    font-size: 14px;
    color: var(--text-muted);
}

.stats-counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 55px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 26px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.stat-number {
    font-family: var(--font-headings);
    font-size: 36px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.team-grid-4col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 55px;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.team-card-media {
    height: 220px;
}

.team-card-media img {
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.team-card-body {
    padding: 20px;
}

.team-card-body h4 {
    font-size: 17px;
    margin-bottom: 4px;
}

.team-card-body .team-role {
    font-size: 12.5px;
    color: var(--accent);
    font-weight: 700;
}

/* ==========================================================================
   PAGE: CONTACT US
   ========================================================================== */
.contact-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 55px;
}

.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 22px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
}

.contact-icon-box {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-sm);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-card-text h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.contact-card-text p {
    font-size: 13.5px;
    color: var(--text-muted);
}

.contact-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 34px;
    box-shadow: var(--shadow-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
}

.form-control {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    color: var(--text-main);
    font-size: 14px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.faq-accordion-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px;
    margin-bottom: 45px;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
}

.faq-item:last-child { border-bottom: none; }

.faq-question {
    font-size: 16px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-answer {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 10px;
    line-height: 1.6;
}

/* ==========================================================================
   PAGE: PRIVACY POLICY
   ========================================================================== */
.privacy-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    margin-bottom: 55px;
}

.privacy-toc {
    position: sticky;
    top: 96px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    height: fit-content;
}

.privacy-toc h4 {
    font-size: 15px;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.toc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toc-list a {
    font-size: 13.5px;
    color: var(--text-muted);
    font-weight: 600;
}

.toc-list a:hover, .toc-list a.active {
    color: var(--primary);
    padding-left: 6px;
}

.privacy-content-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 38px;
}

.privacy-section {
    margin-bottom: 36px;
}

.privacy-section:last-child { margin-bottom: 0; }

.privacy-section h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-main);
}

.privacy-section p {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 12px;
}

/* ==========================================================================
   PAGE: SEARCH & ARCHIVE
   ========================================================================== */
.search-hero-box {
    background: var(--bg-surface-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 38px;
    margin-bottom: 35px;
    text-align: center;
}

.search-hero-box h1 {
    font-size: 28px;
    margin-bottom: 8px;
}

.search-query-badge {
    color: var(--primary);
    font-style: italic;
}

.search-input-wrapper {
    max-width: 560px;
    margin: 20px auto 0;
    display: flex;
    gap: 10px;
}

.search-input-field {
    flex-grow: 1;
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    color: var(--text-main);
    font-size: 14px;
}

.filter-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 12px;
}

.filter-tags-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-tag-btn {
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: var(--bg-surface-alt);
    border: 1px solid var(--border-color);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.filter-tag-btn.active, .filter-tag-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.horizontal-result-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    gap: 22px;
    margin-bottom: 18px;
    transition: var(--transition);
    align-items: center;
}

.horizontal-result-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-glow);
}

.result-card-media {
    width: 210px;
    height: 145px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.result-card-media img {
    width: 100%;
    height: 100%;
}

.result-card-body {
    flex-grow: 1;
}

.result-card-body h3 {
    font-size: 19px;
    margin: 6px 0 8px;
}

.highlight-text {
    background-color: rgba(249, 115, 22, 0.2);
    color: var(--accent);
    padding: 0 4px;
    border-radius: 3px;
}

/* ==========================================================================
   PAGE: ERROR 404
   ========================================================================== */
.error-404-container {
    text-align: center;
    max-width: 680px;
    margin: 40px auto 60px;
    padding: 40px 20px;
}

.error-code {
    font-family: var(--font-headings);
    font-size: 110px;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 14px;
}

.error-404-container h2 {
    font-size: 28px;
    margin-bottom: 12px;
}

.error-404-container p {
    font-size: 15.5px;
    color: var(--text-muted);
    margin-bottom: 26px;
}

.error-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

/* ==========================================================================
   PAGE: POST GRID SHOWCASE (4 STYLES)
   ========================================================================== */
.grid-variant-title {
    font-size: 18px;
    font-weight: 800;
    margin: 36px 0 18px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.grid-variant-title span {
    font-size: 12px;
    padding: 3px 8px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 4px;
}

.magazine-asym-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

.mag-left-hero {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mag-hero-media {
    height: 280px;
}

.mag-hero-media img {
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.mag-hero-body {
    padding: 24px;
    flex-grow: 1;
}

.mag-right-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.mag-sub-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mag-sub-media {
    height: 120px;
}

.mag-sub-media img {
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.mag-sub-body {
    padding: 14px;
}

.mag-sub-body h4 {
    font-size: 13.5px;
    line-height: 1.35;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
    .editorial-grid, .spotlight-trending-row, .contact-layout-grid, .privacy-layout, .magazine-asym-grid, .podcast-spotlight-container, .community-poll-box, .recipe-spotlight-banner, .luxury-print-banner {
        grid-template-columns: 1fr;
    }
    .post-grid-3col, .team-grid-4col, .stats-counter-grid, .curated-essays-grid, .topic-hub-grid, .gear-lab-grid, .books-reading-grid, .retreats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .insta-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .cta-newsletter-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .floating-hero-card {
        position: static;
        margin: -40px 20px 20px;
        max-width: calc(100% - 40px);
    }
    .hero-banner-container {
        height: 380px;
    }
}

@media (max-width: 768px) {
    .main-navigation {
        display: none;
    }
    .post-grid-3col, .team-grid-4col, .stats-counter-grid, .footer-grid, .mag-right-grid, .curated-essays-grid, .topic-hub-grid, .gear-lab-grid, .books-reading-grid, .retreats-grid {
        grid-template-columns: 1fr;
    }
    .insta-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .form-row, .post-nav-grid, .daily-thought-box, .recipe-spotlight-banner {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }
    .topbar-ticker {
        max-width: 260px;
    }
    .floating-hero-card h1 {
        font-size: 22px;
    }
    .cta-form-box {
        flex-direction: column;
    }
}

