/* ============================================================
   BASE
   ============================================================ */
html,
body {
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-primary);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.text-center {
    text-align: center;
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

.text-light {
    color: var(--color-text-light);
}

.text-light-dim {
    color: rgba(255, 255, 255, 0.8);
}

.w-full {
    width: 100%;
}

.is-disabled {
    filter: grayscale(100%);
    opacity: 0.6;
    pointer-events: none;
    cursor: default;
    text-decoration: none !important;
}

/* ============================================================
   BUTTONS & LINKS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: var(--text-sm);
    transition: var(--transition-fast);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

/* .btn--primary-blue merged into .btn--primary (identical rules) */
.btn--primary,
.btn--primary-blue {
    background-color: var(--color-midnight-blue);
    color: #fff;
}

.btn--primary:hover {
    background-color: #0f155a;
}

.btn-block {
    width: 100%;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--color-text-main);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: var(--transition-fast);
}

.link-arrow span {
    transition: transform 0.2s;
}

.link-arrow:hover span {
    transform: translateX(5px);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
    width: 90%;
    max-width: 1320px;
    margin: 0 auto;
}

.section {
    padding: 3rem 0;
}

.section-title {
    font-size: var(--text-lg);
    margin-bottom: 2rem;
    color: var(--color-text-main);
}

/* ============================================================
   DARK MODE — All consolidated here
   ============================================================ */
body.dark-mode {
    background-color: var(--color-primary);
    color: var(--color-text-main);
}

body.dark-mode .navbar.scrolled {
    background-color: rgba(18, 18, 18, 0.95);
}

body.dark-mode .section,
body.dark-mode .bg-light,
body.dark-mode .about-section,
body.dark-mode .stories-section,
body.dark-mode .dossier-section,
body.dark-mode .reviews-section {
    background-color: var(--color-primary);
}

body.dark-mode .dossier__card,
body.dark-mode .review-card,
body.dark-mode .story-card {
    background-color: var(--color-card-bg);
}

body.dark-mode .footer-simple,
body.dark-mode .footer {
    background-color: var(--color-footer-bg);
    border-top-color: var(--color-celestial-silver);
}

body.dark-mode .section-title,
body.dark-mode .brand-name,
body.dark-mode .nav-link,
body.dark-mode .footer-copyright {
    color: var(--color-text-main);
}

body.dark-mode .footer-links-col a {
    color: #C4A484;
}

body.dark-mode .navbar__logo {
    color: #FFFFFF;
}

/* Buttons */
body.dark-mode .btn,
body.dark-mode .btn--primary,
body.dark-mode .btn--primary-blue {
    color: #C4A484;
    background-color: #0D1757;
}

/* Hero Social Cards */
body.dark-mode .social-tile {
    background-color: #2D2D2D;
    border-color: #3A3A3A;
}

body.dark-mode .social-label,
body.dark-mode .platform-name {
    color: #FFD700;
}

body.dark-mode .platform-cta {
    color: #00B0FF;
}

body.dark-mode .social-arrow {
    color: #FFD700;
}

/* Theme toggle hover */
body.dark-mode .theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.04);
}

/* Stories nav dots */
body.dark-mode .stories-dot {
    background: rgba(196, 164, 132, 0.3);
}

body.dark-mode .stories-dot.active {
    background: #C4A484;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    padding: 1.5rem 0;
    background: transparent;
    border-top: 8px solid var(--color-solar-gold);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease, padding 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(5px);
    padding: 1rem 0;
}

.navbar__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    color: var(--color-midnight-blue);
    text-decoration: none;
    text-transform: uppercase;
}

.nav-logo-img,
.footer-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.navbar__links {
    display: flex;
    gap: 3rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-main);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
}

.bar {
    width: 25px;
    height: 2px;
    background-color: var(--color-text-main);
    transition: all 0.3s ease;
}

/* Animate Hamburger into Close X on Mobile */
.hamburger.is-active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.is-active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.is-active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ============================================================
   THEME TOGGLE
   ============================================================ */
.theme-toggle-wrapper {
    margin-top: 110px;
    margin-bottom: 1rem;
    display: flex;
    justify-content: flex-start;
}

.theme-toggle-btn {
    background: none;
    border: 1px solid var(--color-celestial-silver);
    padding: 0.4rem 0.8rem;
    border-radius: 16px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-main);
    transition: all 0.2s ease;
    line-height: 1;
}

.theme-toggle-btn:hover {
    background: rgba(0, 0, 0, 0.04);
}

.theme-toggle-btn svg {
    flex-shrink: 0;
}

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--color-primary);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: 0.4s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    font-family: var(--font-heading);
    font-size: 2rem;
    text-decoration: none;
    color: var(--color-text-main);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
    padding: 1.5rem 0 2rem;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr 1fr;
    gap: 4rem;
    align-items: stretch;
    min-height: 60vh;
}

/* Shared Socials Card Component */
.socials-card {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background-color: var(--color-celestial-silver);
    padding: 3rem 2rem;
    border-radius: 0;
    box-shadow: var(--shadow-card);
    justify-content: space-between;
}

.hero-col-socials {
    width: 100%;
}

.footer-card {
    padding: 2rem;
    gap: 1.5rem;
    height: 100%;
    min-width: 300px;
}

.footer-card .social-tile {
    padding: 0 1rem;
    gap: 1rem;
    min-height: 60px;
}

.social-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #555;
    margin-bottom: 0.5rem;
}

.hero-social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-grow: 1;
}

.social-tile {
    display: flex;
    align-items: center;
    background-color: #fff;
    padding: 0 1.5rem;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: var(--color-text-main);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
    flex-grow: 1;
}

.social-tile:hover {
    border-color: var(--color-solar-gold);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.social-text {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.platform-name {
    font-size: 0.75rem;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.platform-cta {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-main);
}

.social-arrow {
    transform: rotate(45deg);
    font-size: 1.2rem;
    font-weight: 300;
    color: #333;
    transition: transform 0.3s ease;
}

.social-tile:hover .social-arrow {
    transform: rotate(45deg) translate(2px, -2px);
}

/* Col 2: Main Text */
.hero-col-main {
    padding-right: 2rem;
}

.hero__eyebrow {
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 1.5rem;
}

.hero__title {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero__subtitle {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 2.5rem;
    max-width: 100%;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero__actions .btn {
    padding: 0.75rem 1.25rem;
    text-align: center;
}

/* Col 3: Image */
.hero-col-image {
    position: relative;
    display: flex;
    align-items: stretch;
}

.hero__image-wrapper {
    width: 100%;
    height: 100%;
}

.hero__image-wrapper a {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.hero__img-adjust {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% center;
    display: block;
}

/* ============================================================
   SEPARATOR
   ============================================================ */
.separator-line {
    width: 100%;
    height: 1px;
    background-color: var(--color-accent-khaki);
    margin-top: 2rem;
    opacity: 0.3;
}

/* ============================================================
   DOSSIER SECTION
   ============================================================ */
.dossier {
    padding-top: 2rem;
    overflow-x: hidden;
}

.dossier__selector {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 0;
    margin: 2rem 0;
    background-color: var(--color-bg-light);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
    left: 0;
    flex-wrap: wrap;
}

.dossier__circle {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    opacity: 0.7;
    transition: 0.3s;
}

.dossier__circle:hover,
.dossier__circle.active {
    opacity: 1;
    transform: translateY(-5px);
}

/* Dossier Image Cropping Logic */
.dossier__circle img {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    margin-bottom: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: 5px solid var(--color-solar-gold);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.dossier__circle:hover img,
.dossier__circle.active img {
    border-color: var(--color-accent-khaki);
    transform: scale(1.05);
}

.placeholder-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 0.5rem;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #666;
}

.circle-name {
    display: none;
}

.dossier__display-area {
    background: var(--color-bg-light);
    padding: 2rem;
    border-radius: 2px;
}

.dossier__card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
}

.dossier__card-image img {
    width: 100%;
    max-width: 220px;
    height: auto;
    max-height: 275px;
    object-fit: cover;
    object-position: top;
    display: block;
    box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.05);
}

.char-role-small {
    font-weight: 700;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    display: block;
    text-transform: uppercase;
    color: var(--color-accent-khaki);
}

.char-headline {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.char-body {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 1rem;
}

.char-subheading {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.char-body-small {
    font-size: 0.9rem;
    color: #777;
}

/* ============================================================
   ABOUT SECTION (DARK)
   ============================================================ */
.about-me-dark {
    background-color: var(--color-midnight-blue);
    color: white;
    padding: 4rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.title-with-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3rem;
}

.title-line {
    width: 100px;
    height: 3px;
    background-color: var(--color-celestial-silver);
    margin-top: 0.5rem;
}

.section-title.text-light {
    color: white;
    margin-bottom: 0;
}

.about-quote {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    padding-left: 1rem;
    border-left: 2px solid var(--color-police-khaki);
}

.about-body p {
    margin-bottom: 1.5rem;
}

.author-img {
    width: 50%;
    max-width: 300px;
    height: auto;
    filter: sepia(0.2) contrast(1.1);
    border-radius: 2px;
    box-shadow: -10px 10px 0 rgba(255, 255, 255, 0.1);
    margin: 0 auto;
    display: block;
}

/* ============================================================
   STORIES / MEDIUM SECTION
   ============================================================ */
.medium-stories {
    padding-bottom: 2rem;
}

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 3rem;
}

.story-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 4px;
    overflow: hidden;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.story-card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.25rem;
}

.story-img-placeholder,
.story-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: #eee;
    background-size: cover;
    background-position: center;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
    border-radius: 2px;
    object-fit: cover;
    height: auto;
}

.story-meta {
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.story-subheading {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.1rem;
}

.story-body {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem;
}

.story-more-link {
    margin-top: auto;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-midnight-blue);
}

/* ============================================================
   STORIES TABS
   ============================================================ */
.stories-tabs {
    display: flex;
    justify-content: flex-start;
    gap: 0.5rem;
    margin: 3rem 0;
    border-bottom: 2px solid var(--color-police-khaki);
    /* For horizontal scrolling on small screens if needed */
    overflow-x: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.stories-tab-btn {
    background-color: #ffffff;
    color: var(--color-midnight-blue);
    border: 2px solid var(--color-police-khaki);
    border-radius: 8px 8px 0 0;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: center;
    box-shadow: none;
    margin-bottom: -2px;
    /* Pull down to overlap the container's bottom border */
    position: relative;
    z-index: 0;
    white-space: nowrap;
}

.stories-tab-btn:hover {
    border-color: var(--color-solar-gold);
    background-color: #fdfdfd;
}

.stories-tab-btn.active {
    border-color: var(--color-solar-gold);
    border-bottom-color: #ffffff;
    /* Sits seamlessly on the container line */
    background-color: #ffffff;
    z-index: 1;
    /* Assures it sits above the bottom border */
}

@media (max-width: 768px) {
    .stories-tabs {
        /* On mobile, standard browser tabs break, so we switch back to a grid of tiles */
        border-bottom: none;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        padding-left: 0;
        padding-right: 0;
        overflow-x: hidden;
    }

    .stories-tab-btn {
        margin-bottom: 0;
        border-radius: 4px;
        box-shadow: var(--shadow-card);
        padding: 0.85rem 1rem;
        font-size: 0.85rem;
        z-index: auto;
    }

    .stories-tab-btn.active {
        border-bottom-color: var(--color-solar-gold);
        /* Full border on mobile */
    }
}

.stories-tab-content {
    display: none;
    animation: fadeInTab 0.4s ease forwards;
}

.stories-tab-content.active {
    display: block;
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   SUBSCRIPTION / JOIN FORM
   ============================================================ */
.sub-text {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.sub-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    max-width: 100%;
}

.sub-form input {
    padding: 1rem;
    border: 1px solid #ccc;
    width: 300px;
    max-width: 100%;
    flex: 1 1 auto;
}

.sub-form button {
    border-radius: 0;
    flex-shrink: 0;
}

.form-consent-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #666;
    margin-top: 0.75rem;
    text-align: left;
    width: 100%;
    flex: 1 1 100%;
}

.form-consent-wrapper input[type="checkbox"] {
    margin-top: 3px;
    width: auto !important;
    flex-shrink: 0;
}

.form-consent-wrapper a {
    color: var(--color-midnight-blue);
    text-decoration: underline;
    font-weight: 500;
}

/* Inline layout (index page) */
.subscription-inline-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.subscription-inline-wrapper .sub-text {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: #444;
}

/* ============================================================
   REVIEWS (light styles — dark mode in reviews.css)
   ============================================================ */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.review-card-simple {
    background: white;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #f9f9f9;
}

.review-quote {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    min-height: 3rem;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.review-avatar {
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
}

.review-details {
    display: flex;
    flex-direction: column;
}

.review-name {
    font-weight: 700;
    font-size: 0.8rem;
}

.review-desc {
    font-size: 0.75rem;
    color: #888;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer-simple {
    padding: 4rem 0;
    background: white;
    border-top: 1px solid #eee;
    font-size: 0.8rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr 0.8fr 1fr;
    gap: 2rem;
    align-items: start;
}

.footer-minimal-socials {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    align-items: center;
    width: fit-content;
    margin-top: 0.5rem;
}

.minimal-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.minimal-tile:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}

.minimal-tile svg {
    width: 24px;
    height: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.brand-name {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.col-head {
    display: block;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
}

.footer-links-col a {
    display: block;
    color: #666;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

.footer-links-col a:hover {
    color: var(--color-midnight-blue);
}

.footer-copyright {
    text-align: center;
    color: #777;
    font-size: 0.85rem;
    padding: 1.5rem 0;
    border-top: 1px solid #eee;
    margin-top: 2rem;
}

/* ============================================================
   CURATOR.IO OVERRIDES
   ============================================================ */
#curator-feed-default-feed-layout .crt-post-c,
#curator-feed-facebook-layout .crt-post-c {
    height: 100%;
    display: flex;
    flex-direction: column;
}

#curator-feed-default-feed-layout .crt-post-content,
#curator-feed-facebook-layout .crt-post-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

#curator-feed-default-feed-layout .crt-post-text,
#curator-feed-facebook-layout .crt-post-text {
    display: -webkit-box;
    -webkit-line-clamp: 4 !important;
    line-clamp: 4 !important;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.5rem;
    color: #666 !important;
    font-size: 0.9rem !important;
    font-family: var(--font-body) !important;
}

#curator-feed-default-feed-layout .crt-post-read-more,
#curator-feed-facebook-layout .crt-post-read-more {
    display: none !important;
}

#curator-feed-default-feed-layout .crt-post-footer,
#curator-feed-facebook-layout .crt-post-footer {
    margin-top: auto;
}

/* ============================================================
   SUCCESS TOAST
   ============================================================ */
.success-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background-color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 2rem 3rem;
    border-radius: 12px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    min-width: 300px;
}

.success-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.toast-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.toast-icon {
    color: #2ecc71;
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(46, 204, 113, 0.1);
}

.toast-message {
    color: var(--color-midnight-blue);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.2rem;
}

/* Unified Stories/Stories-Full Grid */
.stories-grid,
.stories-full-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* ============================================================
   RESPONSIVE — 1024px
   ============================================================ */
@media (max-width: 1024px) {
    .container {
        width: 95%;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-col-socials {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        padding: 2rem;
        order: 3;
    }

    .hero-col-socials a {
        align-items: center;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero-col-main {
        padding-right: 0;
        order: 2;
    }

    .hero-col-image {
        order: 1;
        margin-bottom: 2rem;
    }

    .hero__image-wrapper {
        margin: 0 auto;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .about-text-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .title-with-line {
        align-items: center;
    }

    .about-quote {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--color-police-khaki);
        border-bottom: 1px solid var(--color-police-khaki);
        padding: 1.5rem 0;
    }

    .stories-grid,
    .stories-full-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================================
   RESPONSIVE — 768px
   ============================================================ */
@media (max-width: 768px) {

    .stories-grid,
    .reviews-grid,
    .stories-full-grid {
        grid-template-columns: 1fr;
    }

    .navbar__links.desktop-only {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .dossier__card {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand {
        order: 1;
        grid-column: 1 / -1;
        justify-content: flex-start;
        margin-bottom: 0;
    }

    .footer-links-col:nth-child(2) {
        order: 2;
        padding-left: 1rem;
    }

    .footer-links-col:nth-child(3) {
        order: 3;
    }

    .footer-links-col:last-child {
        order: 4;
        grid-column: 1 / -1;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 1rem;
    }

    .footer-links-col:last-child .col-head {
        text-align: center;
    }

    .footer-links-col:last-child .footer-minimal-socials {
        justify-content: center;
    }

    /* Subscribe bar — center on mobile */
    .stories-subscribe-bar {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .subscription-inline-wrapper {
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    /* Input/button size ~30% smaller on mobile */
    .sub-form-inline input,
    .sub-form input {
        padding: 0.56rem 0.7rem;
        min-width: 140px;
        font-size: 0.85rem;
    }

    .sub-form-inline button,
    .sub-form button {
        padding: 0.56rem 0.875rem;
        font-size: 0.85rem;
    }
}

/* ============================================================
   RESPONSIVE — 480px (form stacking)
   ============================================================ */
@media (max-width: 480px) {

    .sub-form,
    .sub-form-inline {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .sub-form button,
    .sub-form-inline button {
        width: 100%;
    }
}

/* ============================================================
   STORIES PAGE
   ============================================================ */
.stories-section {
    padding-top: 1.5rem;
    padding-bottom: 4rem;
}

.stories-header {
    margin-bottom: 2rem;
}

.stories-header .section-title {
    margin-bottom: 0.5rem;
}

.stories-tagline {
    font-size: 1rem;
    color: #666;
    max-width: 600px;
}

.stories-top-row {
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.stories-subscribe-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 1rem;
}

.stories-subscribe-bar .sub-text {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.sub-form-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    max-width: 100%;
}

.sub-form-inline input {
    padding: 0.8rem 1rem;
    border: 1px solid #ccc;
    min-width: 200px;
    max-width: 100%;
    font-family: var(--font-body);
    flex: 1 1 auto;
}

.sub-form-inline button {
    border-radius: 0;
    flex-shrink: 0;
}

/* ============================================================
   UNIFIED STORIES CAROUSEL
   ============================================================ */
.stories-carousel-container {
    position: relative;
    padding: 1rem 3rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stories-track-container {
    overflow: hidden;
    width: 100%;
}

.stories-track {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    transition: transform 0.5s ease-in-out;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0;
}

.story-slide {
    flex: 0 0 100%;
    box-sizing: border-box;
    padding: 0 1rem;
    min-width: 0;
}

@media (min-width: 768px) {
    .story-slide {
        flex: 0 0 50%;
    }
}

@media (min-width: 1024px) {
    .story-slide {
        flex: 0 0 33.333%;
    }
}

/* Navigation Dots */
.stories-nav {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2rem;
}

.stories-dot {
    border: none;
    width: 12px;
    height: 12px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.stories-dot.active {
    background: var(--color-midnight-blue);
}

/* ============================================================
   SKELETON LOADING
   ============================================================ */
.skeleton-card {
    background: #f0f0f0;
    height: 400px;
    border-radius: 8px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section {
    padding-top: 1.5rem;
    padding-bottom: 4rem;
    min-height: 80vh;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-top: 3rem;
    justify-items: center;
}

.contact-form-col {
    width: 100%;
    max-width: 600px;
}

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

.form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-main);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: white;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-midnight-blue);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-socials-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-top: 2rem;
}

.social-item {
    display: flex;
    flex-direction: column;
}

.social-name {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.social-body {
    font-size: 1rem;
    color: #888;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-socials-col {
        border-top: 1px solid #eee;
        padding-top: 2rem;
    }
}

/* ============================================================
   LEAD MAGNET MODAL
   ============================================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(9, 15, 66, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

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

.modal-container {
    background-color: #fff;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
    padding: 0;
}

.modal-close:hover {
    color: var(--color-midnight-blue);
}

.modal-content {
    padding: 3rem 2rem;
}

.modal-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-accent-khaki);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.5rem;
}

.modal-title {
    font-size: 1.5rem;
    color: var(--color-midnight-blue);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.modal-subtitle {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-input {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-midnight-blue);
    box-shadow: 0 0 0 2px rgba(9, 15, 66, 0.1);
}

.form-response {
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    min-height: 1.2rem;
}

.form-response.success {
    color: #2ecc71;
}

.form-response.error {
    color: #e74c3c;
}

/* ============================================================
   COOKIE CONSENT BANNER
   ============================================================ */
.cookie-consent-banner {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 380px;
    max-width: calc(100vw - 4rem);
    background: #ffffff;
    color: #333;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    font-family: var(--font-body), sans-serif;
    display: none;
    /* hidden until js dictates */
    flex-direction: column;
    padding: 1.5rem;
    transition: opacity 0.3s ease, transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.cookie-consent-banner.hide {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.cookie-consent-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    color: #555;
}

.cookie-consent-actions {
    display: flex;
    gap: 0.75rem;
}

.cookie-btn {
    flex: 1;
    padding: 0.6rem 1rem;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-btn-accept {
    background: var(--color-midnight-blue);
    color: white;
}

.cookie-btn-accept:hover {
    background: var(--color-midnight-blue);
}

.cookie-btn-decline {
    background: #f1f1f1;
    color: #555;
}

.cookie-btn-decline:hover {
    background: #e4e4e4;
    color: #333;
}

/* Dark Mode Override for Banner */
body.dark-mode .cookie-consent-banner {
    background: #1e1e1e;
    color: #e0e0e0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .cookie-consent-content p {
    color: #b0b0b0;
}

body.dark-mode .cookie-btn-decline {
    background: #2a2a2a;
    color: #aaa;
}

body.dark-mode .cookie-btn-decline:hover {
    background: #3a3a3a;
    color: #eee;
}

@media (max-width: 600px) {
    .cookie-consent-banner {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
        max-width: none;
        width: auto;
    }
}