/* ==============================
   GLOBAL VARIABLES & RESET
   ============================== */

   :root {
    /* Color Palette */
    --color-primary: #050b17;    /* Deep Corporate Navy */
    --color-primary-light: #111827;
    --color-background: #ffffff; /* White */
    --color-accent: #ff7a1a;     /* Orange for CTAs */
    --color-accent-dark: #cc5f10;
    --color-grey-light: #f4f5f7; /* Light grey background */
    --color-grey: #9da2ad;
    --color-text: #111827;
    --color-text-muted: #6b7280;
  
    /* Typography */
    --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
      sans-serif;
    --font-heading: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
      sans-serif;
  
    /* Layout */
    --container-width: 1120px;
    --radius-card: 12px;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.22);
    --shadow-light: 0 12px 30px rgba(15, 23, 42, 0.12);
    --transition-fast: 0.2s ease-in-out;
  }
  
  /* Reset */
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    margin: 0;
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.6;
  }
  
  ul {
    padding-left: 1.2rem;
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }
  
  img {
    max-width: 100%;
    display: block;
  }
  
  /* ==============================
     STRUCTURE HELPERS
     ============================== */
  
  .container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.25rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .section-alt {
    background-color: var(--color-grey-light);
  }
  
  .section-header {
    text-align: left;
    margin-bottom: 2.25rem;
  }
  
  .section-title {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    margin: 0 0 0.4rem;
  }
  
  .section-subtitle {
    margin: 0;
    color: var(--color-text-muted);
    max-width: 720px;
    font-size: 0.98rem;
  }
  
  /* Grid utilities */
  .grid {
    display: grid;
    gap: 1.75rem;
  }
  
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  
  /* ==============================
     HEADER & NAV
     ============================== */
  
  .site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background-color: rgba(5, 11, 23, 0.96);
    backdrop-filter: blur(16px);
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  }
  
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
  }
  
  .brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  
  .brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #fde68a, #f97316);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
  }
  
  /* Custom logo constraints to prevent design breakage */
  .brand .custom-logo-link {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    max-width: 80px;
    max-height: 60px;
    width: auto;
    height: auto;
  }
  
  .brand .custom-logo {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
  }
  
  .brand-text {
    display: flex;
    flex-direction: column;
  }
  
  .brand-name {
    font-size: 1rem;
    margin: 0;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  
  .brand-tagline {
    font-size: 0.78rem;
    margin: 0;
    color: #d1d5db;
  }
  
  /* Main navigation container - flexbox to keep menu and language switcher inline */
  .main-nav {
    display: flex;
    align-items: center;
    gap: 0;
  }
  
  .main-nav .nav-list {
    list-style: none;
    display: flex;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
    align-items: center;
  }
  
  .main-nav a {
    color: #e5e7eb;
    position: relative;
    padding-bottom: 0.2rem;
  }
  
  .main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width var(--transition-fast);
  }
  
  .main-nav a:hover::after {
    width: 100%;
  }
  
  /* Language switcher styling - inline with menu */
  .language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1.25rem;
    font-size: 0.9rem;
  }
  
  .lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.5rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.375rem;
    color: #e5e7eb;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
    line-height: 1.5;
  }
  
  .lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
  }
  
  .lang-btn--active {
    background: rgba(249, 115, 22, 0.2);
    border-color: var(--color-accent);
    color: var(--color-accent);
  }
  
  .lang-btn .flag-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
  }
  
  .flag-icon-uk {
    background-image: url('../img/flag-uk.svg');
  }
  
  .flag-icon-fr {
    background-image: url('../img/flag-fr.svg');
  }
  
  .lang-code {
    font-weight: 500;
  }
  
  /* Spacer for anchor */
  .header-offset {
    height: 0.5rem;
  }
  
  /* ==============================
     HERO SECTION
     ============================== */
  
  .hero-section {
    padding: 4.25rem 0 3.25rem;
    background: radial-gradient(circle at top left, #1d4ed8 0, transparent 40%),
      radial-gradient(circle at bottom right, #f97316 0, transparent 50%),
      linear-gradient(135deg, var(--color-primary) 0%, #020617 60%, #000 100%);
    color: #ffffff;
  }
  
  .hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.2fr);
    gap: 2.75rem;
    align-items: center;
  }
  
  .hero-title {
    font-size: 2.7rem;
    margin-bottom: 0.35rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  
  .hero-subtitle-main {
    font-weight: 600;
    margin-bottom: 0.65rem;
  }
  
  .hero-subtitle {
    margin-bottom: 1.35rem;
    color: #e5e7eb;
    font-size: 0.98rem;
  }
  
  .highlight {
    color: #facc15;
  }
  
  .hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 1rem;
  }
  
  .hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #9ca3af;
  }
  
  .hero-meta span {
    padding: 0.15rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.5);
  }
  
  /* Hero highlight box */
  .hero-highlight {
    background: radial-gradient(circle at top left, rgba(248, 250, 252, 0.14), transparent 50%),
      rgba(15, 23, 42, 0.9);
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-soft);
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .hero-highlight-elevated {
    position: relative;
    overflow: hidden;
  }
  
  .hero-highlight-elevated::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.18), transparent 60%);
    mix-blend-mode: soft-light;
    pointer-events: none;
  }
  
  .hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.8rem;
    border-radius: 999px;
    background-color: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.5);
    font-size: 0.78rem;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
    letter-spacing: 0.08em;
  }
  
  .hero-highlight-text {
    margin: 0 0 0.75rem;
  }
  
  .hero-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #e5e7eb;
    font-size: 0.9rem;
  }

  /* Hero Video Container */
  .hero-video-container {
    margin: 15px 0;
  }

  .hero-video-container iframe {
    border-radius: 8px;
  }

  /* Hero Video Trigger (Clickable) */
  .hero-video-trigger {
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .hero-video-trigger:hover {
    transform: translateY(-2px);
  }

  .hero-video-trigger:hover .hero-badge {
    background-color: rgba(249, 115, 22, 0.3);
    border-color: var(--color-accent);
  }

  .hero-video-trigger:hover .hero-play-overlay {
    background: rgba(249, 115, 22, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
  }

  .hero-video-thumbnail {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .hero-video-trigger:hover .hero-video-thumbnail {
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
    transform: scale(1.02);
  }

  .hero-video-trigger:hover .hero-video-thumbnail img {
    opacity: 0.95 !important;
  }

  .hero-play-overlay {
    transition: all 0.3s ease;
  }

  .hero-video-trigger:hover .hero-play-overlay {
    background: rgba(249, 115, 22, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.6);
  }

  /* Thumbnail loading animation */
  @keyframes shimmer {
    0% {
      background-position: -200% 0;
    }
    100% {
      background-position: 200% 0;
    }
  }

  .hero-thumbnail-loading {
    animation: shimmer 1.5s infinite;
  }

  /* Hero Social Links */
  .hero-social-links a {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    transition: all 0.3s ease;
  }

  .hero-social-links a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  /* ==============================
     BUTTONS
     ============================== */
  
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.6rem;
    border-radius: 999px;
    border: 2px solid transparent;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color var(--transition-fast),
      color var(--transition-fast),
      border-color var(--transition-fast),
      transform var(--transition-fast),
      box-shadow var(--transition-fast);
    font-family: inherit;
  }
  
  /* Button element styling */
  button.btn {
    /* background: none; */
    border: none;
    padding: 0.7rem 1.6rem;
  }
  
  .btn-primary {
    background: linear-gradient(135deg, var(--color-accent-dark) 0%, #f59e0b 100%);
    transform: translateY(-1px);
    box-shadow: 0 16px 40px rgba(248, 113, 22, 0.6);
  }
  
  .btn-primary:hover {
    background: linear-gradient(135deg, var(--color-accent-dark) 0%, #f59e0b 100%);
    transform: translateY(-1px);
    box-shadow: 0 16px 40px rgba(248, 113, 22, 0.6);
  }
  
  .btn-outline {
    background-color: transparent;
    border-color: #e5e7eb;
    color: #e5e7eb;
  }
  
  .btn-outline:hover {
    background-color: #f9fafb;
    color: #111827;
  }
  
  .btn-small {
    padding: 0.4rem 0.95rem;
    font-size: 0.8rem;
  }
  
  /* ==============================
     CARDS (REUSABLE)
     ============================== */
  
  .content-card {
    position: relative;
    background-color: #ffffff;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-light);
    padding-top: 1.45rem;
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  
  .content-card--product {
    border-top: 4px solid var(--color-accent);
  }
  
  .card-body {
    padding: 0 1.4rem 1.3rem;
  }
  
  .card-footer {
    padding: 0.85rem 1.4rem 1.1rem;
    border-top: 1px solid #e5e7eb;
    margin-top: auto;
  }
  
  .card-title {
    font-size: 1.08rem;
    margin: 0 0 0.5rem;
  }
  
  .card-meta {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin: 0 0 0.75rem;
  }
  
  .card-excerpt {
    margin: 0;
    font-size: 0.9rem;
  }
  
  .card-price {
    font-weight: 700;
    margin: 0.75rem 0 0;
    font-size: 0.98rem;
  }
  
  .card-link {
    font-size: 0.9rem;
    color: var(--color-primary);
    font-weight: 600;
  }
  
  /* Card tags */
  .card-tag {
    position: absolute;
    top: 0.75rem;
    left: 1.4rem;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    background-color: #e5e7eb;
    color: #111827;
  }
  
  .card-tag--article {
    background-color: #e0ecff;
    color: #1d4ed8;
  }
  
  .card-tag--sermon {
    background-color: #fee2e2;
    color: #b91c1c;
  }
  
  .card-tag--video {
    background-color: #ecfdf3;
    color: #15803d;
  }
  
  .card-tag--book {
    background-color: #fef3c7;
    color: #92400e;
  }
  
  .card-tag--course {
    background-color: #e0f2fe;
    color: #0369a1;
  }
  
  /* ==============================
     SERVICE CARDS
     ============================== */
  
  .service-card {
    background-color: #ffffff;
    border-radius: var(--radius-card);
    padding: 1.6rem 1.6rem 1.7rem;
    box-shadow: var(--shadow-light);
    border-top: 3px solid rgba(148, 163, 184, 0.4);
  }
  
  .service-title {
    margin: 0 0 0.6rem;
    font-size: 1.02rem;
  }
  
  .service-text {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-text-muted);
  }
  
  /* ==============================
     ABOUT
     ============================== */
  
  .about-grid {
    align-items: flex-start;
  }
  
  .about-highlight {
    background: linear-gradient(135deg, #f9fafb 0%, #e5e7eb 100%);
    border-radius: var(--radius-card);
    padding: 1.7rem;
    box-shadow: var(--shadow-light);
  }
  
  .about-subheading {
    margin-top: 0;
  }
  
  .about-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.1rem;
  }
  
  .about-list li {
    margin-bottom: 0.4rem;
  }
  
  /* ==============================
     STORE
     ============================== */
  
  .store-note {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
  }
  
  /* ==============================
     MEDIA CENTER
     ============================== */
  
  .media-section {
    margin-top: 2.6rem;
  }
  
  .media-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.05rem;
  }
  
  .media-title {
    margin: 0;
    font-size: 1.18rem;
  }
  
  .media-link {
    font-size: 0.85rem;
    color: var(--color-primary);
    font-weight: 600;
  }
  
  .media-filter {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin: 0;
  }
  
  .media-filter-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    background-color: #e5e7eb;
    margin-left: 0.4rem;
    cursor: pointer;
    font-size: 0.8rem;
  }
  
  .media-filter-pill.is-active {
    background-color: var(--color-accent);
    color: #111827;
    font-weight: 600;
  }
  
  /* ==============================
     AXIOMA CAPITAL
     ============================== */
  
  .axioma-section {
    background: radial-gradient(circle at top right, rgba(249, 115, 22, 0.12), transparent 55%),
      #f3f4f6;
  }
  
  .axioma-header .section-title {
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  
  .axioma-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr);
    gap: 2.5rem;
    align-items: flex-start;
    margin-top: 1.5rem;
  }
  
  .axioma-intro p {
    margin: 0 0 0.9rem;
    font-size: 0.95rem;
  }
  
  .axioma-grid {
    display: grid;
    gap: 1.4rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .axioma-card {
    background-color: #ffffff;
    border-radius: 14px;
    padding: 1.4rem 1.3rem 1.5rem;
    box-shadow: var(--shadow-light);
    border-left: 4px solid rgba(248, 113, 22, 0.6);
  }
  
  .axioma-title {
    margin: 0 0 0.55rem;
    font-size: 0.98rem;
  }
  
  .axioma-text {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-text-muted);
  }
  
  /* ==============================
     PROJECT FACILITATION
     ============================== */
  
  .project-grid {
    align-items: flex-start;
  }
  
  .project-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
  }
  
  .project-list li {
    margin-bottom: 0.4rem;
  }
  
  .project-cta-panel {
    background-color: #ffffff;
    border-radius: var(--radius-card);
    padding: 1.8rem;
    box-shadow: var(--shadow-light);
    border-top: 3px solid rgba(148, 163, 184, 0.5);
  }
  
  .project-cta-title {
    margin-top: 0;
  }
  
  .project-note {
    font-size: 0.85rem;
    color: var(--color-text-muted);
  }
  
  /* ==============================
     CONTACT & DONATE
     ============================== */
  
  .contact-grid {
    align-items: flex-start;
  }
  
  .contact-form {
    display: grid;
    gap: 1rem;
  }
  
  .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
  }
  
  label {
    font-size: 0.85rem;
    font-weight: 600;
  }
  
  input,
  textarea {
    font-family: var(--font-main);
    font-size: 0.9rem;
    padding: 0.6rem 0.75rem;
    border-radius: 7px;
    border: 1px solid #d1d5db;
    outline: none;
    transition: border-color var(--transition-fast),
      box-shadow var(--transition-fast);
  }
  
  input:focus,
  textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(255, 122, 26, 0.25);
  }
  
  .donate-panel {
    background-color: #f9fafb;
    border-radius: var(--radius-card);
    padding: 1.9rem;
    box-shadow: var(--shadow-light);
  }
  
  .donate-title {
    margin-top: 0;
  }
  
  .donate-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.2rem;
  }
  
  .donate-list li {
    margin-bottom: 0.4rem;
  }
  
  .donate-note {
    font-size: 0.85rem;
    color: var(--color-text-muted);
  }
  
  /* ==============================
     RADIO PLAYER (PERSISTENT)
     ============================== */
  
  .radio-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 45;
    background-color: #020617;
    color: #ffffff;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.6);
  }
  
  .radio-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0.45rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
  
  .radio-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
  }
  
  .radio-status {
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background-color: #dc2626;
    font-weight: 600;
    font-size: 0.7rem;
  }
  
  .radio-title {
    font-weight: 500;
  }
  
  .radio-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .radio-btn {
    background-color: transparent;
    border: 1px solid #4b5563;
    border-radius: 999px;
    padding: 0.3rem 0.7rem;
    color: #ffffff;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background-color var(--transition-fast),
      border-color var(--transition-fast);
  }
  
  .radio-btn:hover {
    background-color: #111827;
    border-color: #9ca3af;
  }

  /* Listen Live Button in Radio Player */
  .radio-controls .btn {
    pointer-events: auto;
    cursor: pointer;
    z-index: 1;
    position: relative;
  }

  .radio-controls .btn:hover {
    transform: translateY(-1px);
  }

  .radio-controls .btn:active {
    transform: translateY(0);
  }
  
  /* ==============================
     FOOTER
     ============================== */
  
  .site-footer {
    background-color: #020617;
    color: #9ca3af;
    padding: 1.5rem 0 3.3rem; /* extra bottom to clear radio bar */
    font-size: 0.85rem;
  }
  
  .footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
  
  .footer-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }
  
  .footer-links a {
    color: #e5e7eb;
    font-size: 0.85rem;
  }
  
  /* ==============================
     RESPONSIVE DESIGN
     ============================== */
  
  @media (max-width: 960px) {
    .hero-inner {
      grid-template-columns: minmax(0, 1fr);
    }
  
    .hero-section {
      padding-bottom: 2.75rem;
    }
  
    .grid-3 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  
    .grid-4 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  
    .media-header {
      flex-direction: column;
      align-items: flex-start;
    }
  
    .axioma-layout {
      grid-template-columns: 1fr;
    }
  
    .footer-inner {
      flex-direction: column;
      align-items: flex-start;
    }
  }
  
  @media (max-width: 700px) {
    .header-inner {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.45rem;
    }
  
    .main-nav .nav-list {
      flex-wrap: wrap;
      gap: 0.6rem;
      font-size: 0.8rem;
    }
  
    .hero-title {
      font-size: 2.1rem;
    }
  
    .hero-inner {
      gap: 2.1rem;
    }
  
    .grid-2,
    .grid-3,
    .grid-4 {
      grid-template-columns: 1fr;
    }
  
    .axioma-grid {
      grid-template-columns: 1fr;
    }
  
    .radio-inner {
      flex-direction: column;
      align-items: flex-start;
    }
  }
  
  /* ==============================
     VIDEO POPUP MODAL
     ============================== */
  .video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
  }
  
  .video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
  }
  
  .video-modal-content {
    position: relative;
    max-width: 900px;
    width: 90%;
    margin: 0 auto;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10001;
    background: #1e293b;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
  }
  
  .video-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, var(--color-primary), #1e40af);
    color: white;
  }
  
  .video-modal-info h3 {
    margin: 0 0 0.25rem;
    font-size: 1.5rem;
    font-weight: 600;
  }
  
  .video-modal-info p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
  }
  
  .video-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    line-height: 1;
    padding: 0;
  }
  
  .video-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
  }
  
  .video-modal-body {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    background: #000;
  }
  
  #video-player-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
  .video-loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.2rem;
    z-index: 10;
  }
  
  @media (max-width: 768px) {
    .video-modal-content {
      width: 95%;
      margin: 1rem auto;
      top: 50%;
      transform: translateY(-50%);
      max-width: none;
    }
    
    .video-modal-header {
      padding: 1rem;
    }
    
    .video-modal-info h3 {
      font-size: 1rem;
    }
    
    .video-modal-info p {
      font-size: 0.85rem;
    }
    
    .video-modal-close {
      width: 32px;
      height: 32px;
      font-size: 1.5rem;
    }
  }
  
  @media (max-width: 480px) {
    .video-modal-content {
      width: 100%;
      margin: 0;
      border-radius: 0;
      top: 50%;
      transform: translateY(-50%);
    }
    
    .video-modal-header {
      padding: 0.75rem 1rem;
    }
    
    .video-modal-info h3 {
      font-size: 0.95rem;
    }
  }
  
  /* ==============================
     SERMON & DOCUMENTARY BUTTONS
     ============================== */
  .sermon-watch-btn,
  .documentary-watch-btn {
    display: inline-block;
    padding: 0.65rem 1.5rem;
    background: var(--color-primary);
    color: white !important;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none !important;
    font-family: inherit;
  }
  
  .sermon-watch-btn:hover,
  .documentary-watch-btn:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    text-decoration: none !important;
  }
  
  .sermon-watch-btn:active,
  .documentary-watch-btn:active {
    transform: translateY(0);
  }
  
  .sermon-audio-link {
    display: inline-block;
    padding: 0.65rem 1.5rem;
    background: #10b981;
    color: white !important;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
  }
  
  .sermon-audio-link:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    text-decoration: none !important;
  }
  