/*
Theme Name: IbaFest
Theme URI: https://ibafest.com
Author: IbaFest
Author URI: https://ibafest.com
Description: Official WordPress theme for the Ibadan Book and Arts Festival (IbaFest) — a vibrant celebration of African literature, creativity, and cultural dialogue.
Version: 3.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ibafest
Tags: culture, festival, literature, arts, custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* =========================================================
   FONT FACES
   ========================================================= */
@font-face {
    font-family: 'CreatoDisplay';
    src: url('fonts/CreatoDisplay-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'CreatoDisplay';
    src: url('fonts/CreatoDisplay-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'CreatoDisplay';
    src: url('fonts/CreatoDisplay-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'CreatoDisplay';
    src: url('fonts/CreatoDisplay-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'CreatoDisplay';
    src: url('fonts/CreatoDisplay-ExtraBold.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'CreatoDisplay';
    src: url('fonts/CreatoDisplay-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* =========================================================
   CSS CUSTOM PROPERTIES
   ========================================================= */
:root {
    --color-primary: #661018;
    --color-primary-dark: #4a0b12;
    --color-secondary: #000000;
    --color-accent-blue: #000000;
    --color-accent-red: #DA6237;
    --color-accent-gold: #DA6237;
    --color-background: #ffffff;
    --color-surface: #ffffff;
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-700: #374151;
    --color-gray-900: #111827;
    --color-text-primary: #661018;
    --color-text-secondary: #374151;
    --gradient-accent: linear-gradient(90deg, #000000, #661018, #DA6237);
    --font-display: 'CreatoDisplay', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --radius-button: 8px;
    --radius-card: 10px;
    --shadow-card: 0 6px 20px rgba(0, 0, 0, 0.08);
    --header-height: 72px;
    --container-max: 1200px;
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

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

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-display);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    background: var(--color-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Prevent layout shift while images load */
img { content-visibility: auto; }

/* Skeleton shimmer for lazy-loaded images before they arrive */
img[loading="lazy"] {
    background: linear-gradient(90deg, var(--color-gray-100) 25%, var(--color-gray-200) 50%, var(--color-gray-100) 75%);
    background-size: 200% 100%;
    animation: ibafest-shimmer 1.4s ease-in-out infinite;
}
img[loading="lazy"].loaded,
img[loading="lazy"][src=""] {
    background: none;
    animation: none;
}
@keyframes ibafest-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

a { color: var(--color-primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-primary-dark); }
a:focus-visible { outline: 3px solid var(--color-accent-gold); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1.2;
    margin: 0 0 1rem;
}

p { margin: 0 0 1rem; }
ul, ol { padding-left: 1.5rem; }

button, input, textarea, select {
    font-family: var(--font-display);
    font-size: inherit;
}

/* =========================================================
   LAYOUT
   ========================================================= */
.container-max {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.25rem;
}
@media (min-width: 768px) { .container-max { padding: 0 2rem; } }
@media (min-width: 1200px) { .container-max { padding: 0 2.5rem; } }

.site-wrapper { display: flex; flex-direction: column; min-height: 100vh; }
.site-content { flex: 1; margin-top: var(--header-height); }

/* =========================================================
   SITE HEADER
   ========================================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: #fff;
    border-bottom: 1px solid var(--color-gray-100);
    transition: box-shadow 0.3s;
}
.site-header.is-scrolled {
    box-shadow: 0 2px 20px rgba(102, 16, 24, 0.12);
}

.site-header__inner {
    display: flex;
    align-items: center;
    height: var(--header-height);
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.25rem;
    gap: 1.5rem;
    position: relative;
}
@media (min-width: 1024px) { .site-header__inner { padding: 0 2rem; } }

/* Logo */
.site-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    text-decoration: none;
}
.site-logo__img {
    height: 52px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

/* Primary nav — desktop */
.main-nav {
    display: none;
    align-items: center;
    gap: 0.1rem;
    flex: 1;
    justify-content: flex-end;
}
@media (min-width: 1024px) { .main-nav { display: flex; } }

/* nav items from wp_nav_menu walker */
.main-nav__list {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.main-nav > a,
.main-nav__list > li > a {
    display: block;
    padding: 0.45rem 0.7rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    border-radius: 6px;
    white-space: nowrap;
    transition: background 0.18s, color 0.18s;
    letter-spacing: 0.01em;
}
.main-nav > a:hover,
.main-nav__list > li > a:hover,
.main-nav__list > li.current-menu-item > a,
.main-nav__list > li.current-menu-ancestor > a {
    background: var(--color-gray-50);
    color: var(--color-accent-red);
}

/* Dropdown */
.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}
.nav-dropdown > a {
    display: block;
    padding: 0.45rem 0.7rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    border-radius: 6px;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
}
.nav-dropdown > a:hover { background: var(--color-gray-50); color: var(--color-accent-red); }

.nav-dropdown__menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 200px;
    background: #fff;
    border: 1px solid var(--color-gray-200);
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    padding: 0.5rem;
    z-index: 200;
}
.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu { display: block; }

.nav-dropdown__menu a {
    display: block;
    padding: 0.55rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}
.nav-dropdown__menu a:hover { background: var(--color-gray-50); color: var(--color-primary); }

/* Dropdown via WP menu list items */
.main-nav__list > li.menu-item-has-children { position: relative; }
.main-nav__list > li.menu-item-has-children > .sub-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 200px;
    background: #fff;
    border: 1px solid var(--color-gray-200);
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    padding: 0.5rem;
    z-index: 200;
    list-style: none;
    margin: 0;
}
.main-nav__list > li.menu-item-has-children:hover > .sub-menu,
.main-nav__list > li.menu-item-has-children:focus-within > .sub-menu { display: block; }
.main-nav__list > li.menu-item-has-children > .sub-menu > li > a {
    display: block;
    padding: 0.55rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}
.main-nav__list > li.menu-item-has-children > .sub-menu > li > a:hover {
    background: var(--color-gray-50);
    color: var(--color-primary);
}

/* Header CTAs */
.header-cta {
    display: none;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
    margin-left: 0.5rem;
}
@media (min-width: 1024px) { .header-cta { display: flex; } }

.btn-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: #fff !important;
    font-weight: 800;
    font-size: 0.8rem;
    padding: 0.5rem 1.1rem;
    border-radius: var(--radius-button);
    border: 2px solid var(--color-primary);
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
    text-decoration: none;
    letter-spacing: 0.02em;
}
.btn-register:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: #fff !important;
    transform: translateY(-1px);
}

/* Mobile hamburger */
.mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-primary);
    padding: 0.5rem;
    margin-left: auto;
    border-radius: 6px;
    transition: background 0.2s;
}
.mobile-menu-toggle:hover { background: var(--color-gray-50); }
@media (min-width: 1024px) { .mobile-menu-toggle { display: none; } }

/* Mobile nav */
.mobile-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--color-gray-100);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    padding: 1rem 1.5rem 1.5rem;
    flex-direction: column;
    gap: 0.15rem;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    z-index: 999;
}
.mobile-nav.is-open { display: flex; }
@media (min-width: 1024px) { .mobile-nav { display: none !important; } }

.mobile-nav a,
.mobile-nav .mobile-nav__list a {
    display: block;
    padding: 0.65rem 0.75rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-primary);
    border-radius: 8px;
    transition: background 0.15s;
    text-decoration: none;
}
.mobile-nav a:hover,
.mobile-nav .mobile-nav__list a:hover { background: var(--color-gray-50); }

.mobile-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.15rem; }
.mobile-nav ul .sub-menu { padding-left: 1rem; }
.mobile-nav ul .sub-menu a { font-weight: 600; font-size: 0.875rem; color: var(--color-text-secondary); }

.mobile-nav-divider { height: 1px; background: var(--color-gray-100); margin: 0.5rem 0; }
.mobile-nav-cta-row { display: flex; gap: 0.75rem; margin-top: 0.75rem; flex-wrap: wrap; }
.mobile-nav-cta-row a { flex: 1; min-width: 120px; text-align: center; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: #fff !important;
    font-weight: 800;
    font-size: 0.9rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-button);
    border: 2px solid var(--color-primary);
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    text-decoration: none;
    letter-spacing: 0.02em;
}
.btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 16, 24,0.3);
}
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--color-primary) !important;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.73rem 1.75rem;
    border-radius: var(--radius-button);
    border: 2px solid var(--color-primary);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
    letter-spacing: 0.02em;
}
.btn-secondary:hover {
    background: var(--color-primary);
    color: #fff !important;
}

/* =========================================================
   PAGE HERO — Graphic / no-image design
   ========================================================= */
.page-hero {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #000;
}
@media (min-width: 768px) { .page-hero { min-height: 380px; } }

/* Hide any leftover <img> bg tags — design is pure CSS now */
.page-hero__bg { display: none !important; }

/* Left crimson slab */
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #661018;
    clip-path: polygon(0 0, 58% 0, 46% 100%, 0 100%);
    z-index: 0;
}

/* Orange-red diagonal accent band */
.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: #DA6237;
    clip-path: polygon(54% 0, 62% 0, 50% 100%, 42% 100%);
    opacity: 0.55;
    z-index: 0;
}

/* Decorative ruled lines (book-pages motif) — right side */
.page-hero__lines {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 52%;
    z-index: 1;
    pointer-events: none;
}
.page-hero__lines::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -12deg,
        transparent,
        transparent 28px,
        rgba(218, 98, 55, 0.10) 28px,
        rgba(218, 98, 55, 0.10) 30px
    );
}

/* Top accent bar */
.page-hero__bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #661018 0%, #DA6237 50%, #000 100%);
    z-index: 3;
}

/* Bottom accent bar */
.page-hero__bar-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #DA6237 0%, #661018 60%, transparent 100%);
    z-index: 3;
    opacity: 0.6;
}

/* Large decorative letter — watermark */
.page-hero__watermark {
    position: absolute;
    right: 3%;
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(7rem, 18vw, 14rem);
    font-weight: 900;
    font-family: var(--font-display);
    color: rgba(255,255,255, 0.04);
    line-height: 1;
    letter-spacing: -0.05em;
    user-select: none;
    pointer-events: none;
    z-index: 1;
}

.page-hero__content {
    position: relative;
    z-index: 2;
    padding: 3.5rem 1.25rem;
    color: #fff;
    max-width: 680px;
}
@media (min-width: 768px) { .page-hero__content { padding: 4.5rem 1.25rem; } }

/* Small label pill above title */
.page-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #DA6237;
    margin-bottom: 1rem;
}
.page-hero__eyebrow::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background: #DA6237;
    border-radius: 2px;
}

.page-hero__title {
    font-size: clamp(1.9rem, 5vw, 3.5rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.08;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

/* Underline accent on title */
.page-hero__title-underline {
    display: block;
    width: 56px;
    height: 4px;
    background: linear-gradient(90deg, #DA6237, #661018);
    border-radius: 2px;
    margin-bottom: 1rem;
}

.page-hero__subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.75);
    margin: 0;
    line-height: 1.6;
    max-width: 480px;
}

.page-hero__breadcrumb {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.45);
    margin-bottom: 1.1rem;
    letter-spacing: 0.02em;
}
.page-hero__breadcrumb a { color: rgba(255,255,255,0.6); text-decoration: none; }
.page-hero__breadcrumb a:hover { color: #DA6237; }

/* =========================================================
   HOMEPAGE HERO — Graphic, no image
   ========================================================= */
.hero-section {
    position: relative;
    min-height: clamp(560px, 88vh, 960px);
    display: flex;
    align-items: stretch;
    overflow: hidden;
    background: #000;
}

/* Hide leftover <img> if any */
.hero-image { display: none !important; }
.hero-overlay { display: none !important; }

/* Left column: crimson */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #661018;
    clip-path: polygon(0 0, 62% 0, 48% 100%, 0 100%);
    z-index: 0;
}

/* Orange diagonal slash */
.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #DA6237 0%, #a3401a 100%);
    clip-path: polygon(56% 0, 66% 0, 52% 100%, 43% 100%);
    opacity: 0.7;
    z-index: 0;
}

/* Ruled-line texture on right half */
.hero-lines {
    position: absolute;
    right: 0; top: 0; bottom: 0;
    width: 55%;
    z-index: 1;
    pointer-events: none;
}
.hero-lines::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -10deg,
        transparent,
        transparent 32px,
        rgba(218, 98, 55, 0.09) 32px,
        rgba(218, 98, 55, 0.09) 34px
    );
}

/* Big IBA watermark right side */
.hero-watermark {
    position: absolute;
    right: -2%;
    bottom: -4%;
    font-size: clamp(9rem, 22vw, 18rem);
    font-weight: 900;
    font-family: var(--font-display);
    color: rgba(255,255,255,0.035);
    line-height: 1;
    letter-spacing: -0.04em;
    user-select: none;
    pointer-events: none;
    z-index: 1;
}

/* Top bar */
.hero-topbar {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #DA6237 0%, #661018 50%, #000 100%);
    z-index: 4;
}

/* Vertical rule accent */
.hero-vline {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, #DA6237, #661018);
    z-index: 4;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: #fff;
    padding: 6rem 1.25rem 5rem;
    display: flex;
    align-items: center;
    width: 100%;
}

.hero-text-content {
    max-width: 640px;
}

/* Eyebrow */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #ffffff;
    margin-bottom: 1.5rem;
}
.hero-eyebrow::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    flex-shrink: 0;
}

.hero-content h1 {
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.05;
    margin-bottom: 0;
    letter-spacing: -0.025em;
}

/* Underline accent after h1 */
.hero-title-rule {
    display: block;
    width: 64px;
    height: 4px;
    background: linear-gradient(90deg, #DA6237, transparent);
    border-radius: 2px;
    margin: 1.25rem 0 1.5rem;
}

.hero-content p {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: rgba(255,255,255,0.78);
    margin-bottom: 2.5rem;
    max-width: 500px;
    line-height: 1.65;
}

.hero-buttons { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* Stats row embedded in hero bottom */
.hero-stats {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 3;
    display: flex;
    background: #661018 !important;
    border-top: 3px solid #DA6237;
}
.hero-stats__item {
    flex: 1;
    padding: 1.25rem 1.25rem;
    border-right: 1px solid rgba(218,98,55,0.25);
    text-align: center;
}
.hero-stats__item:last-child { border-right: none; }
.hero-stats__num {
    display: block;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 900;
    color: #DA6237;
    line-height: 1;
}
.hero-stats__label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.7);
    margin-top: 0.35rem;
}

@media (max-width: 600px) {
    .hero-stats { position: relative; }
    .hero-content { padding-bottom: 2rem; }
}

/* =========================================================
   SECTION LABELS & TITLES
   ========================================================= */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent-red);
    margin-bottom: 0.75rem;
}
.section-title {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 900;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}
.section-subtitle {
    font-size: 1rem;
    color: var(--color-text-secondary);
    max-width: 640px;
    line-height: 1.8;
}

/* =========================================================
   CARDS
   ========================================================= */
.card {
    background: #fff;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(0,0,0,0.12); }
.card__image { width: 100%; height: 220px; object-fit: cover; display: block; }
.card__body { padding: 1.25rem; }
.card__tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-accent-red);
    background: rgba(218, 98, 55,0.08);
    border-radius: 4px;
    padding: 0.2rem 0.6rem;
    margin-bottom: 0.6rem;
}
.card__title { font-size: 1.05rem; font-weight: 800; color: var(--color-primary); margin-bottom: 0.5rem; line-height: 1.35; }
.card__excerpt { font-size: 0.875rem; color: var(--color-text-secondary); line-height: 1.75; text-align: justify; }

.events-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 640px) { .events-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .events-grid { grid-template-columns: repeat(3, 1fr); } }

/* =========================================================
   BLOG CARDS
   ========================================================= */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 0;
}
@media (min-width: 640px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

.blog-card {
    background: #fff;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(0,0,0,0.12); }
.blog-card__image { width: 100%; height: 200px; object-fit: cover; display: block; }
.blog-card__body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.blog-card__category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-accent-red);
    background: rgba(218, 98, 55,0.08);
    border-radius: 4px;
    padding: 0.2rem 0.6rem;
    margin-bottom: 0.6rem;
}
.blog-card__title { font-size: 1rem; font-weight: 800; color: var(--color-primary); margin-bottom: 0.5rem; line-height: 1.4; }
.blog-card__excerpt { font-size: 0.85rem; color: var(--color-text-secondary); line-height: 1.75; flex: 1; text-align: justify; }
.blog-card__meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.78rem;
    color: var(--color-gray-400);
    padding-top: 0.75rem;
    border-top: 1px solid var(--color-gray-100);
    flex-wrap: wrap;
}
.blog-card__avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }

/* =========================================================
   PROGRAMME ROWS
   ========================================================= */
.program-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--color-gray-100);
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
    cursor: pointer;
}
.program-row:hover { background: var(--color-gray-50); }
.program-row:last-child { border-bottom: none; }
.program-left-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--color-primary);
    min-width: 60px;
    text-align: center;
    line-height: 1.3;
    flex-shrink: 0;
}
.program-avatar-wrap { flex-shrink: 0; }
.program-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: top; }
.program-right-content { flex: 1; min-width: 0; }
.program-title { font-size: 0.9rem; font-weight: 700; color: var(--color-primary); line-height: 1.35; white-space: normal; }
.program-date { font-size: 0.75rem; color: var(--color-gray-500); margin-top: 0.2rem; }
.program-arrow { flex-shrink: 0; color: var(--color-gray-300); }

/* =========================================================
   ABOUT GRID
   ========================================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}
@media (min-width: 768px) { .about-grid { grid-template-columns: 1fr 1fr; } }

.about-image {
    width: 100%;
    border-radius: var(--radius-card);
    object-fit: cover;
    max-height: 480px;
}

/* =========================================================
   SPEAKERS GRID
   ========================================================= */
.speakers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
@media (min-width: 640px) { .speakers-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .speakers-grid { grid-template-columns: repeat(4, 1fr); } }

.speaker-card {
    background: #fff;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
    text-align: center;
    padding-bottom: 1.25rem;
}
.speaker-card:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(0,0,0,0.12); }
.speaker-card__img { width: 100%; height: 220px; object-fit: cover; object-position: top; }
.speaker-card__name { font-size: 0.95rem; font-weight: 800; color: var(--color-primary); padding: 0.75rem 1rem 0.25rem; }
.speaker-card__role { font-size: 0.8rem; color: var(--color-gray-500); padding: 0 1rem; }

/* =========================================================
   GALLERY GRID
   ========================================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }

.gallery-item { display: block; overflow: hidden; border-radius: 6px; }
.gallery-item img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 0.3s; }
.gallery-item:hover img { transform: scale(1.04); }

/* =========================================================
   FORMS
   ========================================================= */
.ibafest-form {
    background: #fff;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    padding: 2rem;
}
@media (min-width: 768px) { .ibafest-form { padding: 2.5rem 3rem; } }

.form-group { margin-bottom: 1.25rem; }
.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-secondary);
    margin-bottom: 0.4rem;
}
.form-label span.required { color: var(--color-accent-red); }
.form-control {
    width: 100%;
    padding: 0.7rem 1rem;
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    background: #fff;
    border: 1.5px solid var(--color-gray-200);
    border-radius: 8px;
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
    -webkit-appearance: none;
}
.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(102, 16, 24,0.1);
}
.form-control.has-error { border-color: #DA6237; }
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }

.form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-error { font-size: 0.78rem; color: #DA6237; margin-top: 0.35rem; }
.form-success {
    padding: 1rem 1.25rem;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    color: #166534;
    font-weight: 600;
    margin-bottom: 1.25rem;
}
.form-submit-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 1.5rem; }

/* Spam protection honeypot */
.hp-field { display: none !important; visibility: hidden; position: absolute; left: -9999px; }

/* =========================================================
   NEWSLETTER
   ========================================================= */
.newsletter-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent-blue) 100%);
    padding: 4rem 0;
    color: #fff;
    text-align: center;
}
.newsletter-inner { max-width: 560px; margin: 0 auto; }
.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}
.newsletter-input {
    flex: 1;
    min-width: 220px;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-button);
    border: none;
    font-family: var(--font-display);
    font-size: 0.9rem;
    background: rgba(255,255,255,0.15);
    color: #fff;
    outline: none;
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.65); }
.newsletter-input:focus { background: rgba(255,255,255,0.25); }
.newsletter-btn {
    padding: 0.75rem 1.75rem;
    background: var(--color-accent-gold);
    color: var(--color-primary);
    font-weight: 800;
    font-size: 0.9rem;
    border: none;
    border-radius: var(--radius-button);
    cursor: pointer;
    transition: background 0.2s;
    font-family: var(--font-display);
    white-space: nowrap;
}
.newsletter-btn:hover { background: #c58b12; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
    background: var(--color-secondary);
    color: rgba(255,255,255,0.75);
    padding: 4rem 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-brand__logo { height: 52px; width: auto; max-width: 160px; object-fit: contain; margin-bottom: 1rem; }
.footer-brand__desc { font-size: 0.875rem; color: rgba(255,255,255,0.55); line-height: 1.75; margin: 0 0 1.25rem; }

.footer-col__title {
    font-size: 0.85rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}
.footer-col a, .footer-nav-list a {
    display: block;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    padding: 0.25rem 0;
    transition: color 0.2s;
    text-decoration: none;
}
.footer-col a:hover, .footer-nav-list a:hover { color: #fff; }
.footer-nav-list { list-style: none; margin: 0; padding: 0; }
.footer-nav-list li { margin: 0; }

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: rgba(255,255,255,0.7);
    transition: background 0.2s, color 0.2s;
}
.footer-social-link:hover { background: var(--color-accent-gold); color: var(--color-primary); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.5rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
}
.footer-bottom p { margin: 0; }

/* =========================================================
   SINGLE POST
   ========================================================= */
.single-post-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3rem 0;
}
@media (min-width: 900px) { .single-post-layout { grid-template-columns: 1fr 320px; } }

.single-post-content { min-width: 0; }
.single-post-content img { border-radius: 8px; margin: 1.5rem 0; }
.single-post-content p { text-align: justify; line-height: 1.9; margin-bottom: 1.25rem; }
.single-post-content h2, .single-post-content h3 { margin-top: 2rem; }
.single-post-content ul, .single-post-content ol { margin-bottom: 1.25rem; }
.single-post-content blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    border-left: 4px solid var(--color-accent-gold);
    background: var(--color-gray-50);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--color-primary);
}

.author-box {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--color-gray-50);
    border-radius: var(--radius-card);
    padding: 1.5rem;
    margin-top: 2rem;
}
.author-box img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-box__name { font-size: 0.95rem; font-weight: 800; color: var(--color-primary); }
.author-box__bio { font-size: 0.85rem; color: var(--color-text-secondary); margin-top: 0.35rem; line-height: 1.65; }

/* Sidebar */
.blog-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.sidebar-widget { background: #fff; border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 1.25rem; }
.sidebar-widget__title { font-size: 0.9rem; font-weight: 800; color: var(--color-primary); margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.06em; }

/* =========================================================
   ARCHIVE / BLOG PAGE
   ========================================================= */
.archive-header {
    padding: 3rem 0 2rem;
    border-bottom: 1px solid var(--color-gray-100);
    margin-bottom: 2.5rem;
}
.archive-header h1 { margin-bottom: 0.5rem; }

/* =========================================================
   404 PAGE
   ========================================================= */
.error-404 {
    text-align: center;
    padding: 6rem 1rem;
}
.error-404__code {
    font-size: clamp(6rem, 20vw, 12rem);
    font-weight: 900;
    color: var(--color-gray-100);
    line-height: 1;
    margin-bottom: 0;
}
.error-404__title { font-size: 1.75rem; color: var(--color-primary); margin-bottom: 0.75rem; }
.error-404__text { color: var(--color-text-secondary); margin-bottom: 2rem; }

/* =========================================================
   DONATE PAGE
   ========================================================= */
.donate-methods {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
}
@media (min-width: 640px) { .donate-methods { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .donate-methods { grid-template-columns: repeat(3, 1fr); } }

.donate-method-card {
    background: #fff;
    border: 1.5px solid var(--color-gray-200);
    border-radius: var(--radius-card);
    padding: 1.5rem;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.donate-method-card:hover { border-color: var(--color-primary); box-shadow: var(--shadow-card); }
.donate-method-card__icon { font-size: 2rem; margin-bottom: 0.75rem; }
.donate-method-card__title { font-size: 0.95rem; font-weight: 800; color: var(--color-primary); margin-bottom: 0.4rem; }
.donate-method-card__desc { font-size: 0.82rem; color: var(--color-text-secondary); }

/* =========================================================
   VOLUNTEER PAGE ROLES
   ========================================================= */
.volunteer-roles {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}
@media (min-width: 640px) { .volunteer-roles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .volunteer-roles { grid-template-columns: repeat(3, 1fr); } }

.volunteer-role-card {
    background: #fff;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    padding: 1.5rem;
    border-left: 4px solid var(--color-accent-gold);
}
.volunteer-role-card h3 { font-size: 0.95rem; color: var(--color-primary); margin-bottom: 0.4rem; }
.volunteer-role-card p { font-size: 0.82rem; color: var(--color-text-secondary); margin: 0; }

/* =========================================================
   HIGHLIGHTS PAGE
   ========================================================= */
.highlight-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.highlight-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: var(--color-gray-500);
    margin: 1rem 0 1.5rem;
}
.highlight-cover {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: var(--radius-card);
    margin-bottom: 2rem;
}
@media (min-width: 768px) { .highlight-cover { height: 480px; } }

/* =========================================================
   EVENTS SECTION
   ========================================================= */
.events-section { padding: 4rem 0; background: #fff; }

/* =========================================================
   ANIMATIONS
   ========================================================= */
.fade-in { opacity: 0; transform: translateY(16px); transition: opacity 0.5s, transform 0.5s; }
.fade-in.is-visible { opacity: 1; transform: none; }

/* =========================================================
   PAGINATION
   ========================================================= */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}
.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 0.6rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary);
    border: 1.5px solid var(--color-gray-200);
    transition: background 0.15s, border-color 0.15s;
    text-decoration: none;
}
.pagination a:hover { background: var(--color-gray-50); border-color: var(--color-primary); }
.pagination .current { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* =========================================================
   UTILITY
   ========================================================= */
.text-center { text-align: center; }
.text-justify { text-align: justify; }
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* Skip link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    z-index: 9999;
    padding: 0.75rem 1.25rem;
    background: var(--color-primary);
    color: #fff;
    font-weight: 700;
    border-radius: 0 0 8px 8px;
    transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* Gradient bar */
.gradient-bar { height: 4px; background: var(--gradient-accent); }

/* Responsive embeds */
.wp-block-embed, .embed-responsive {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1.25rem;
}
.wp-block-embed iframe, .embed-responsive iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}

/* Admin bar offset */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* Print */
@media print {
    .site-header, .mobile-nav, footer, .newsletter-section, .btn-primary, .btn-secondary { display: none !important; }
    body { font-size: 12pt; color: #000; }
    .single-post-content p { text-align: left; }
}

/* =========================================================
   COMMENTS
   ========================================================= */
.comments-area { margin-top: 3rem; }
.comments-title { font-size: 1.25rem; font-weight: 800; color: var(--color-primary); margin-bottom: 1.5rem; }
.comment { padding: 1.25rem; background: var(--color-gray-50); border-radius: var(--radius-card); margin-bottom: 1rem; }
.comment__author { font-weight: 700; color: var(--color-primary); font-size: 0.9rem; margin-right: 0.5rem; }
.comment__date { font-size: 0.78rem; color: var(--color-gray-400); }
.comment__text { margin-top: 0.5rem; font-size: 0.875rem; }
.comment-form label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 0.35rem; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1.5px solid var(--color-gray-200);
    border-radius: 8px;
    font-family: var(--font-display);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    transition: border-color 0.2s;
}
.comment-form input:focus, .comment-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(102, 16, 24,0.08);
}
.comment-form input[type="submit"] {
    background: var(--color-primary);
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-button);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s;
}
.comment-form input[type="submit"]:hover { background: var(--color-primary-dark); }
/* White backgrounds — exclude hero and page-hero sections */
body { background: #fff; }
section:not(.hero-section):not(.page-hero) { background: #fff; }

/* Form inputs — fully visible */
.form-control {
    background: #fff !important;
    border: 1.5px solid #d1d5db !important;
    color: #111827 !important;
}
.form-control::placeholder { color: #9ca3af !important; }
.newsletter-input {
    background: rgba(255,255,255,0.92) !important;
    color: #661018 !important;
}
.newsletter-input::placeholder { color: #6b7280 !important; }

/* Card hover */
.blog-card, .card, .speaker-card, .podcast-card {
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.blog-card:hover, .card:hover, .speaker-card:hover, .podcast-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(102, 16, 24,0.13);
}

/* Section dividers */
.section-divider { height: 1px; background: #f3f4f6; margin: 0; }
/* =========================================================
   HOMEPAGE HERO — Photo background (Mapo Hall)
   ========================================================= */

/* When the photo variant is active, override the pure-CSS graphic */
.hero-section--photo {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Remove the left crimson slab and orange slash pseudo-elements on photo hero */
.hero-section--photo::before,
.hero-section--photo::after {
    display: none;
}

/* Full-bleed dark overlay so text stays readable over the photo */
.hero-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(0,0,0,0.78) 0%,
        rgba(102,16,24,0.55) 55%,
        rgba(0,0,0,0.40) 100%
    );
    z-index: 1;
}

/* Bump content and decorative elements above the overlay */
.hero-section--photo .hero-topbar,
.hero-section--photo .hero-vline,
.hero-section--photo .hero-watermark,
.hero-section--photo .hero-content,
.hero-section--photo .hero-stats {
    z-index: 2;
}

/* Hide the ruled-line div (it was decoration for the graphic version) */
.hero-section--photo .hero-lines {
    display: none;
}

/* =========================================================
   ABOUT PAGE HERO — Faded photo background
   ========================================================= */

.page-hero--photo {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Remove graphic pseudo-elements — the photo replaces them */
.page-hero--photo::before,
.page-hero--photo::after {
    display: none;
}

/* Heavy-fade overlay: photo shows through softly while design elements stay visible */
.page-hero__photo-fade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        110deg,
        rgba(0,0,0,0.82) 0%,
        rgba(102,16,24,0.72) 40%,
        rgba(0,0,0,0.65) 100%
    );
    z-index: 1;
}

/* Keep decorative elements and content above the fade */
.page-hero--photo .page-hero__bar,
.page-hero--photo .page-hero__bar-bottom,
.page-hero--photo .page-hero__lines,
.page-hero--photo .page-hero__watermark,
.page-hero--photo .page-hero__content {
    z-index: 2;
}

/* Outline button for use on dark/photo backgrounds (hero, CTA section) */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.73rem 1.75rem;
    border-radius: var(--radius-button);
    border: 2px solid var(--color-primary);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
    text-decoration: none;
    letter-spacing: 0.02em;
}
