/*
Theme Name: Immobilier Futé
Theme URI: https://www.immobilierfute.fr
Author: L'équipe Immobilier Futé
Author URI: https://www.immobilierfute.fr
Description: Thème WordPress sur-mesure au design éditorial centré et moderne pour Immobilier Futé. Spécialisé en investissement locatif, crédits, banque, finance et assurance.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: immobilierfute-fr
*/

/* ==========================================================================
   1. VARIABLES & RESET
   ========================================================================== */
:root {
    --primary: #038ff4;
    --primary-hover: #0277bd;
    --primary-dark: #015d9e;
    --primary-light: #e0f2fe;
    --primary-glow: rgba(3, 143, 244, 0.18);
    --secondary: #f77907;
    --secondary-hover: #e06d06;
    --secondary-light: #ffedd5;
    --secondary-glow: rgba(247, 121, 7, 0.2);
    --accent-emerald: #10b981;
    --accent-indigo: #6366f1;
    --accent-pink: #ec4899;
    --dark: #0f172a;
    --dark-midnight: #0b1329;
    --dark-surface: #1e293b;
    --text: #334155;
    --text-muted: #64748b;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --border-hover: #cbd5e1;
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.06);
    --shadow: 0 6px 16px -2px rgb(0 0 0 / 0.08), 0 2px 6px -2px rgb(0 0 0 / 0.04);
    --shadow-md: 0 12px 24px -4px rgb(0 0 0 / 0.09), 0 4px 10px -4px rgb(0 0 0 / 0.04);
    --shadow-lg: 0 24px 38px -6px rgb(0 0 0 / 0.12), 0 10px 16px -6px rgb(0 0 0 / 0.06);
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition: all 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
    background-color: var(--light-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

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

ul, ol {
    list-style: none;
}

button, input, textarea, select {
    font: inherit;
    color: inherit;
}

/* ==========================================================================
   2. LAYOUT & CONTAINERS
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.site-main {
    flex: 1 0 auto;
    padding-bottom: 5rem;
}

/* Reading Progress Bar */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    width: 0%;
    z-index: 1001;
    transition: width 0.1s linear;
}

/* ==========================================================================
   3. TOP BAR & CENTERED MASTHEAD HEADER
   ========================================================================== */
.top-editorial-bar {
    background-color: var(--dark-midnight);
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-editorial-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 38px;
}

.top-date-info {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.02em;
}

.editorial-pulse {
    width: 7px;
    height: 7px;
    background-color: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--secondary);
}

.top-editorial-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.top-editorial-links a {
    color: #cbd5e1;
}

.top-editorial-links a:hover {
    color: var(--white);
}

.top-editorial-links .sep {
    color: #475569;
}

/* Centered Masthead Header */
.site-header-centered {
    background-color: var(--white);
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 100;
}

.masthead-inner {
    padding: 1.75rem 0 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.site-branding-centered {
    text-align: center;
}

.site-branding-centered .site-logo-link {
    display: inline-block;
    transition: transform 0.25s ease;
}

.site-branding-centered .site-logo-link:hover {
    transform: scale(1.02);
}

.site-logo-centered-img {
    height: 96px;
    width: auto;
    display: block;
    margin: 0 auto;
}

.mobile-nav-toggle-centered {
    display: none;
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--dark);
}

.mobile-nav-toggle-centered .hamburger-box {
    width: 18px;
    height: 14px;
    position: relative;
    display: inline-block;
}

.mobile-nav-toggle-centered .hamburger-inner,
.mobile-nav-toggle-centered .hamburger-inner::before,
.mobile-nav-toggle-centered .hamburger-inner::after {
    width: 18px;
    height: 2px;
    background-color: var(--dark);
    position: absolute;
    transition: var(--transition);
}

.mobile-nav-toggle-centered .hamburger-inner {
    top: 6px;
}

.mobile-nav-toggle-centered .hamburger-inner::before {
    content: '';
    top: -6px;
}

.mobile-nav-toggle-centered .hamburger-inner::after {
    content: '';
    bottom: -6px;
}

/* Centered Navigation Bar (Sticky) */
.nav-center-bar {
    border-top: 1px solid var(--border);
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 99;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.nav-center-inner {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-menu-centered {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.45rem 0;
    flex-wrap: wrap;
}

.nav-menu-centered > li > a {
    color: var(--dark);
    font-size: 0.92rem;
    font-weight: 600;
    padding: 0.55rem 1.05rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: var(--transition);
}

.nav-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}

.nav-menu-centered > li > a:hover,
.nav-menu-centered > li.current-menu-item > a {
    background-color: #f1f5f9;
    color: var(--primary-dark);
}

.nav-pill-cta {
    background: linear-gradient(135deg, var(--secondary) 0%, #ff9100 100%) !important;
    color: var(--white) !important;
    padding: 0.5rem 1.25rem !important;
    box-shadow: 0 4px 10px rgba(247, 121, 7, 0.28);
}

.nav-pill-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(247, 121, 7, 0.35);
}

/* ==========================================================================
   4. BENTO HERO SECTION
   ========================================================================== */
.bento-hero-section {
    padding: 2.5rem 0 3.5rem;
}

.bento-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 2rem;
}

/* Showcase Big Card */
.bento-showcase-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    min-height: 540px;
    box-shadow: var(--shadow-md);
    background-color: var(--dark-midnight);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: var(--transition);
}

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

.bento-media-wrapper {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.bento-media-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-showcase-card:hover .bento-media-wrapper img {
    transform: scale(1.04);
}

.bento-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 19, 41, 0.1) 0%, rgba(11, 19, 41, 0.65) 45%, rgba(11, 19, 41, 0.95) 100%);
}

.bento-content-overlay {
    position: relative;
    z-index: 2;
    padding: 3rem 2.75rem;
    color: var(--white);
}

.bento-badge-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.badge-tag-capsule {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(3, 143, 244, 0.4);
}

.badge-tag-capsule.immobilier { background-color: #038ff4; }
.badge-tag-capsule.credits { background-color: #f77907; }
.badge-tag-capsule.banque { background-color: #6366f1; }
.badge-tag-capsule.finance { background-color: #10b981; }
.badge-tag-capsule.assurance { background-color: #d97706; }
.badge-tag-capsule.actu { background-color: #ec4899; }

.bento-reading-time {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: #cbd5e1;
    font-weight: 500;
}

.bento-hero-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1rem;
    letter-spacing: -0.015em;
}

.bento-hero-title a {
    color: var(--white);
}

.bento-hero-title a:hover {
    color: #7dd3fc;
}

.bento-hero-excerpt {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #e2e8f0;
    margin-bottom: 2rem;
    max-width: 90%;
}

.bento-author-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.bento-author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary) 0%, #ff9100 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.bento-author-name {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--white);
}

.bento-date {
    display: block;
    font-size: 0.8rem;
    color: #94a3b8;
}

.bento-cta-arrow {
    margin-left: auto;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.bento-showcase-card:hover .bento-cta-arrow {
    background-color: var(--primary);
    transform: translateX(4px);
}

/* Side Card : Le Radar Patrimoine */
.bento-side-card {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.side-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 2px solid var(--light-bg);
    margin-bottom: 1.5rem;
}

.side-header-icon {
    font-size: 1.4rem;
}

.side-header-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--dark);
}

.side-header-tag {
    margin-left: auto;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    background-color: var(--secondary-light);
    color: var(--secondary-hover);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
}

.side-posts-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1 0 auto;
    justify-content: space-around;
}

.side-post-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.side-post-num {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 900;
    color: #cbd5e1;
    line-height: 1;
    padding-top: 0.2rem;
}

.side-post-body {
    flex: 1;
}

.side-post-meta {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.side-badge {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
}

.side-badge.immobilier { color: #038ff4; }
.side-badge.credits { color: #f77907; }
.side-badge.banque { color: #6366f1; }
.side-badge.finance { color: #10b981; }
.side-badge.assurance { color: #d97706; }
.side-badge.actu { color: #ec4899; }

.side-post-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.4rem;
}

.side-post-title a {
    color: var(--dark);
}

.side-post-title a:hover {
    color: var(--primary);
}

.side-post-snippet {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   5. PILLARS MATRIX (6 DOMAINES)
   ========================================================================== */
.pillars-section {
    padding: 3.5rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 4rem;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.centered-section-heading {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

.sub-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-dark);
    background-color: var(--primary-light);
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.centered-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.centered-subtitle {
    font-size: 1.08rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    padding: 0 2rem;
}

.pillar-card {
    background-color: var(--light-bg);
    border: 1px solid var(--border);
    border-top: 4px solid var(--pillar-accent);
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.pillar-card:hover {
    background-color: var(--white);
    border-color: var(--border-hover);
    border-top-color: var(--pillar-accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.pillar-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.pillar-icon {
    font-size: 2rem;
}

.pillar-count {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    background-color: var(--white);
    border: 1px solid var(--border);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
}

.pillar-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.6rem;
}

.pillar-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 1.5rem;
    flex: 1 0 auto;
}

.pillar-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--pillar-accent);
}

.pillar-card:hover .pillar-link-btn svg {
    transform: translateX(4px);
}

/* ==========================================================================
   6. MAGAZINE CARDS GRID
   ========================================================================== */
.section-title-bar-centered {
    text-align: center;
    position: relative;
    margin-bottom: 2.75rem;
}

.title-with-pill {
    display: inline-block;
    background-color: var(--white);
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--dark);
}

.title-bar-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--border);
    z-index: 1;
}

.magazine-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

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

.mag-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-hover);
}

.mag-card-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: var(--dark-midnight);
    display: block;
}

.mag-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.mag-card-category {
    position: absolute;
    bottom: 0.85rem;
    left: 0.85rem;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    background-color: var(--white);
    color: var(--dark);
    box-shadow: var(--shadow-sm);
}

.mag-card-category.immobilier { color: #0284c7; }
.mag-card-category.credits { color: #c2410c; }
.mag-card-category.banque { color: #4338ca; }
.mag-card-category.finance { color: #047857; }
.mag-card-category.assurance { color: #b45309; }
.mag-card-category.actu { color: #be185d; }

.mag-card-body {
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
}

.mag-card-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}

.mag-card-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.mag-card-title a {
    color: var(--dark);
}

.mag-card-title a:hover {
    color: var(--primary);
}

.mag-card-excerpt {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1 0 auto;
}

.mag-card-footer {
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.mag-read-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
}

.mag-read-link:hover {
    color: var(--primary-hover);
    gap: 0.5rem;
}

/* ==========================================================================
   7. DARK CONTRAST SECTION
   ========================================================================== */
.dark-patrimoine-section {
    background-color: var(--dark-midnight);
    color: var(--white);
    padding: 5rem 0;
    margin: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dark-section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3.5rem;
}

.dark-badge {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--secondary);
    background-color: rgba(247, 121, 7, 0.12);
    padding: 0.35rem 0.95rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
    border: 1px solid rgba(247, 121, 7, 0.3);
}

.dark-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.dark-sub {
    font-size: 1.05rem;
    color: #94a3b8;
    line-height: 1.6;
}

.dark-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.dark-feature-card {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    transition: var(--transition);
}

.dark-feature-card:hover {
    background-color: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

.dark-card-icon-box {
    width: 58px;
    height: 58px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.dark-feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.dark-feature-card p {
    font-size: 0.92rem;
    color: #94a3b8;
    line-height: 1.65;
}

/* ==========================================================================
   8. SINGLE POST & PAGES (High-End Magazine)
   ========================================================================== */
.single-article {
    max-width: 860px;
    margin: 2.5rem auto 0;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.breadcrumbs a {
    color: var(--text-muted);
}

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

.breadcrumbs .sep {
    color: var(--border-hover);
}

.breadcrumbs .current {
    color: var(--dark);
    font-weight: 600;
}

.article-header-centered {
    text-align: center;
    margin-bottom: 2.5rem;
}

.article-title {
    font-family: var(--font-heading);
    font-size: 2.45rem;
    font-weight: 800;
    line-height: 1.22;
    color: var(--dark);
    margin: 1.25rem 0;
    letter-spacing: -0.015em;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.article-featured-media {
    margin-bottom: 3rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.article-featured-media img {
    width: 100%;
    height: auto;
}

.article-content {
    background-color: var(--white);
    padding: 3.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    font-size: 1.08rem;
    line-height: 1.8;
    color: #273444;
}

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

.article-content h2 {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--dark);
    margin: 2.75rem 0 1.15rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-light);
}

.article-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin: 2rem 0 0.85rem;
}

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

.article-content ul {
    list-style: disc;
}

.article-content ol {
    list-style: decimal;
}

.article-content li {
    margin-bottom: 0.65rem;
}

.article-content strong {
    color: var(--dark);
}

.article-content blockquote {
    background-color: var(--light-bg);
    border-left: 4px solid var(--secondary);
    padding: 1.75rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 2.25rem 0;
    font-style: italic;
    color: var(--dark);
}

.article-content a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
}

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

/* ==========================================================================
   9. CATEGORY & ARCHIVES
   ========================================================================== */
.archive-header-centered {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3.5rem 2.5rem;
    margin-bottom: 3.5rem;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.archive-title-centered {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.85rem;
}

.archive-description-centered {
    font-size: 1.12rem;
    color: var(--text-muted);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.65;
}

.archive-count-pill {
    display: inline-block;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    margin-top: 1.25rem;
}

/* ==========================================================================
   10. FORMS & CONTACT
   ========================================================================== */
.contact-form-wrapper {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.85rem 1.15rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background-color: var(--light-bg);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(3, 143, 244, 0.15);
}

.form-group-checkbox {
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.form-group-checkbox input {
    margin-right: 0.5rem;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   11. CENTERED FOOTER
   ========================================================================== */
.site-footer-centered {
    background-color: var(--dark-midnight);
    color: #94a3b8;
    padding: 4.5rem 0 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-centered-container {
    text-align: center;
}

.footer-center-masthead {
    max-width: 680px;
    margin: 0 auto 2.5rem;
}

.footer-logo-img {
    height: 84px;
    width: auto;
    margin: 0 auto 1.25rem;
    display: block;
}

.footer-mission-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #94a3b8;
}

.footer-categories-strip {
    margin-bottom: 2.5rem;
}

.footer-strip-title {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    margin-bottom: 1rem;
}

.footer-chips-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.footer-chip {
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.footer-chip:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.08);
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

.footer-nav-centered ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-nav-centered ul li a {
    color: #cbd5e1;
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-nav-centered ul li a:hover {
    color: var(--white);
}

.footer-bottom-centered {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.6;
}

.footer-bottom-centered p {
    margin-bottom: 0.25rem;
}

.footer-sub-note {
    font-size: 0.76rem;
    color: #475569;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--dark);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* ==========================================================================
   12. RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .magazine-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .dark-features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .site-logo-centered-img {
        height: 72px;
    }
    .mobile-nav-toggle-centered {
        display: inline-flex;
    }
    .nav-center-bar {
        display: none;
    }
    .nav-center-bar.active {
        display: block;
        padding: 1rem 0;
    }
    .nav-menu-centered {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    .nav-menu-centered > li > a {
        justify-content: center;
        padding: 0.75rem 1rem;
    }
    .bento-hero-title {
        font-size: 1.7rem;
    }
    .bento-content-overlay {
        padding: 2rem 1.5rem;
    }
    .pillars-grid {
        grid-template-columns: 1fr;
        padding: 0;
    }
    .magazine-cards-grid {
        grid-template-columns: 1fr;
    }
    .article-title {
        font-size: 1.85rem;
    }
    .article-content {
        padding: 2rem 1.25rem;
    }
}
