/* ============================================================
   Notable Men — Global Theme
   Black & Gold color scheme
   Loaded LAST in the cascade to override shared style.css
   ============================================================ */

/* --- CSS Variable Overrides --- */
:root {
    --color-primary: #D4AF37;
    --color-primary-dark: #B8941F;
    --color-primary-light: #E8D5A3;
    --color-primary-filter: brightness(0) saturate(100%) invert(73%) sepia(50%) saturate(500%) hue-rotate(10deg) brightness(95%) contrast(90%);
    --color-pink-light: #E8D5A3;
    --color-pink-transparent: rgba(212, 175, 55, 0.1);
    --color-dark: #1a1a1a;
    --color-black: #000;
    --color-white: #fff;
    --color-gold: #D4AF37;
}

/* ============================================================
   Site-wide baseline (was in homepage/common.css before 2026-05-12
   — moved here so Insights / Article / Cover Story pages get the
   same reset as the homepage and the masthead doesn't visually
   differ between them).
   ============================================================ */

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

/* Clip horizontal overflow at the document root so absolute/decorative
   elements (hero arcs, footer arc, watermarks) can never produce a
   horizontal scrollbar. */
html,
body {
    overflow-x: clip;
    max-width: 100%;
}

body {
    font-family: "Poppins", sans-serif;
    color: var(--color-black);
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    transition: color 0.3s ease;
    color: inherit;
    font-family: "Inter", sans-serif;
}

ul,
ol,
li {
    list-style: none;
}

h2,
h3,
h4,
h5,
h6 {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    color: var(--color-dark);
    font-size: inherit;
}

img {
    vertical-align: top;
}

button,
input {
    cursor: pointer;
    font-weight: inherit;
    color: inherit;
    font-family: inherit;
    line-height: normal;
    transition: all .3s ease 0s;
    -webkit-appearance: none;
    -moz-appearance: none;
}

button:disabled {
    opacity: 0.5;
    cursor: default;
}

[class*="container"]:not(.fancybox-container) {
    max-width: 1392px;
    margin: 0 auto;
    padding: 0px 12px;
}

/* --- Header --- */
.header .logo-circle { display: none; }
.header .btn-signup {
    background-color: #D4AF37;
    border-color: #D4AF37;
    color: #1a1a1a;
}
.header .btn-signup:hover {
    background-color: #B8941F;
    border-color: #B8941F;
}
.header .btn-login:hover {
    border-color: #D4AF37;
    color: #D4AF37;
}
.header .dropdown-item:hover {
    background-color: #D4AF37;
    color: #1a1a1a;
}
.header .logo-brand,
.header .logo-w,
.header .logo-women {
    color: #D4AF37;
}

/* --- Hero Section --- */
.hero-section .hero-tagline {
    border-color: #D4AF37;
    color: #D4AF37;
}
.hero-section .btn-learn-more {
    background-color: #D4AF37;
    color: #1a1a1a;
}
.hero-section .btn-learn-more:hover {
    background-color: #B8941F;
    color: #fff;
}
.hero-section .pink-frame {
    display: none;
}

/* --- Banner Section --- */
.banner-section {
    background: #D4AF37;
}
.banner-section .banner-left {
    background-color: #D4AF37;
}
.banner-section .banner-middle {
    background-color: #D4AF37;
}

/* --- Experts Section --- */
.experts-section .view-all-btn:hover {
    background-color: #D4AF37;
    border-color: #D4AF37;
    color: #1a1a1a;
}

/* --- Articles Section --- */
.articles-section .all-articles-btn {
    border-color: #D4AF37;
    color: #D4AF37;
}
.articles-section .all-articles-btn:hover {
    background-color: #D4AF37;
    border-color: #D4AF37;
    color: #1a1a1a;
}
.articles-section .article-category,
.articles-section .article-category a {
    color: #B8941F;
}

/* --- CTA Banner --- */
.cta-banner {
    background-color: #D4AF37;
}
.cta-banner .cta-text {
    color: #1a1a1a;
}
.cta-banner .cta-link {
    color: #1a1a1a;
    font-weight: 700;
}
.cta-banner .cta-link:hover {
    color: #fff;
}

/* --- Footer (footer-ntm) ---
   Footer styles now live in assets/public/ntm/styles/footer.css and are
   loaded by the footer template directly. */

/* --- Explore / Card Grid Section --- */
.explore-section {
    background: linear-gradient(135deg, #f7f5ef 0%, #f0ece0 100%);
}
.explore-card-content h3 {
    color: #B8941F;
}
.explore-btn {
    background-color: #D4AF37;
    color: #1a1a1a;
    border: 1px solid #D4AF37;
}
.explore-btn:hover {
    background-color: transparent;
    color: #1a1a1a;
    border: 1px solid #1a1a1a;
}
.explore-title-divider {
    background: linear-gradient(90deg, transparent, #D4AF37, transparent);
}

/* --- Swiper / Slider --- */
.swiper-pagination-bullet-active {
    background: linear-gradient(128deg, #D4AF37 0%, #E8D5A3 100%) !important;
}

/* --- Misc text accent --- */
.text-primary { color: #B8941F !important; }

/* --- Form elements --- */
.form-control:focus {
    border-color: #D4AF37;
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

/* ============================================================
   NTM Homepage Editorial Tokens
   Contract for the homepage rebuild (Wave 2 components must use
   these tokens — never hardcode colors / sizes inside components).
   ============================================================ */
:root {
    --ntm-bg-page: #f6f3ef;
    --ntm-bg-dark: #161616;
    --ntm-bg-cream: #efe6d6;
    --ntm-ink: #14323a;
    --ntm-ink-inverse: #f6f3ef;
    --ntm-accent-gold: #d4af37;
    --ntm-accent-teal: #2a8b94;
    --ntm-rule: rgba(20, 50, 58, 0.15);
    --ntm-muted: rgba(20, 50, 58, 0.6);

    --ntm-font-serif: 'Playfair Display', Georgia, serif;
    --ntm-font-sans: 'Poppins', system-ui, sans-serif;

    --ntm-fs-display: clamp(2.5rem, 5vw, 4.25rem);
    --ntm-fs-h2: clamp(1.75rem, 3vw, 2.5rem);
    --ntm-fs-h3: 1.25rem;
    --ntm-fs-body: 1rem;
    --ntm-fs-eyebrow: 0.75rem;

    --ntm-section-pad-y: clamp(48px, 8vw, 96px);
    --ntm-container-max: 1392px;
}

