/* ==========================================================================
   ADAM HODGES — ACADEMIC PROFILE
   styles.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   All colors, fonts, and spacing values defined here for easy theming.
   -------------------------------------------------------------------------- */
:root {
    /* Colors — Warm Neutral with Dark Gold Accent */
    --color-bg: #FAFAF7;
    /* warm off-white page background */
    --color-bg-alt: #F5F3ED;
    /* alternating section background */
    --color-text: #2D2D2D;
    /* primary text — dark charcoal */
    --color-text-light: #5C5C5C;
    /* secondary text — metadata, dates */
    --color-text-muted: #8A8A84;
    /* tertiary text — footnotes, captions */
    --color-accent: #5A4800;
    /* dark gold — links, nav, highlights */
    --color-accent-hover: #7A6300;
    /* lighter gold for hover states */
    --color-accent-light: #F5F1E3;
    /* very light gold for subtle bg fills */
    --color-border: #DDD9CE;
    /* warm gray for dividers and borders */
    --color-border-light: #ECE8DF;
    /* lighter border for subsections */
    --color-white: #FFFFFF;
    --color-hero-bg: #5A4800;
    /* dark gold for hero section */
    --color-hero-text: #F8F5EE;
    /* warm white for hero text */
    --color-nav-bg: #FAFAF7;
    /* nav background */

    /* Typography */
    --font-heading: 'Outfit', 'Helvetica Neue', sans-serif;
    --font-body: 'Karla', 'Helvetica Neue', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Font Sizes */
    --size-hero-name: 3.4rem;
    --size-hero-tag: 1.15rem;
    --size-h2: 2rem;
    --size-h3: 1.25rem;
    --size-h4: 1.05rem;
    --size-body: 1rem;
    --size-small: 0.9rem;
    --size-xs: 0.82rem;

    /* Spacing */
    --space-section: 5rem;
    /* vertical padding between sections */
    --space-subsection: 2rem;
    /* spacing between subsection blocks */
    --space-item: 1.25rem;
    /* spacing between individual entries */
    --content-width: 860px;
    /* max width of main content column */
    --content-padding: 1.5rem;
    /* horizontal padding inside content */

    /* Effects */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.10);
    --shadow-book: 0 6px 20px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.06);
    --radius-sm: 4px;
    --radius-md: 6px;
    --transition: 0.25s ease;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE STYLES
   Normalize defaults and set global typography.
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* smooth scroll when clicking nav links */
    scroll-padding-top: 72px;
    /* offset for sticky nav height */
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: var(--size-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY — Global heading and text styles
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.25;
    color: var(--color-text);
}

/* Section titles (War Discourse, Language & Politics, etc.) */
h2 {
    font-size: var(--size-h2);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 0.4rem;
}

/* Subsection headers (Journal Articles, Book Chapters, etc.) */
h3 {
    font-size: var(--size-h3);
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 1rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--color-border-light);
}

/* Sub-subsection or label headers */
h4 {
    font-size: var(--size-h4);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

/* Italic styling for book titles */
em,
i {
    font-style: italic;
}

/* --------------------------------------------------------------------------
   4. LINKS — Teal accent with hover transition
   -------------------------------------------------------------------------- */
a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition), border-color var(--transition);
}

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

/* Links within publication entries — subtle underline on hover */
.entry a {
    border-bottom: 1px solid transparent;
}

.entry a:hover {
    border-bottom-color: var(--color-accent-hover);
}

/* --------------------------------------------------------------------------
   5. NAVIGATION — Sticky top bar
   -------------------------------------------------------------------------- */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--color-nav-bg);
    border-bottom: 1px solid var(--color-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--content-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

/* Site name in the nav bar */
.nav-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.nav-name:hover {
    color: var(--color-accent);
}

/* Navigation link list */
.nav-links {
    display: flex;
    gap: 0.25rem;
    list-style: none;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-links a {
    font-size: var(--size-xs);
    font-weight: 500;
    color: var(--color-text-light);
    padding: 0.35rem 0.65rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: color var(--transition), background-color var(--transition);
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.nav-links a:hover {
    color: var(--color-accent);
    background-color: var(--color-accent-light);
}

/* Hamburger menu button — hidden on desktop */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--color-text);
}

.nav-toggle svg {
    width: 24px;
    height: 24px;
}

/* --------------------------------------------------------------------------
   6. HERO SECTION — Name, tagline, affiliation
   -------------------------------------------------------------------------- */
.hero {
    background-color: var(--color-hero-bg);
    color: var(--color-hero-text);
    padding: 5rem var(--content-padding) 4.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle texture overlay on hero */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%,
            rgba(122, 99, 0, 0.2) 0%,
            transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* Headshot photo in hero */
.hero-headshot {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(248, 245, 238, 0.25);
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: var(--size-hero-name);
    font-weight: 700;
    color: var(--color-hero-text);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 400;
    font-style: normal;
    color: rgba(248, 245, 238, 0.8);
    letter-spacing: 0.06em;
    margin-bottom: 0.35rem;
}

.hero-affiliation {
    font-size: var(--size-small);
    color: rgba(248, 245, 238, 0.55);
    letter-spacing: 0.02em;
}

.hero-affiliation a {
    color: rgba(248, 245, 238, 0.55);
    text-decoration: none;
    border-bottom: 1px dotted rgba(248, 245, 238, 0.3);
}

.hero-affiliation a:hover {
    color: rgba(248, 245, 238, 0.8);
}

/* --------------------------------------------------------------------------
   TOOLTIP — Hero tagline definition
   -------------------------------------------------------------------------- */
.tooltip-trigger {
    position: relative;
    cursor: help;
    border-bottom: 1px dotted rgba(248, 245, 238, 0.45);
}

.tooltip {
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: calc(100% + 0.75rem);
    width: 340px;
    padding: 1rem 1.15rem;
    background: var(--color-white);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0;
    text-transform: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 100;
}

/* Small arrow pointing down */
.tooltip::before {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--color-white);
    border-bottom: none;
}

/* Invisible bridge to keep tooltip hoverable */
.tooltip::after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 0;
    width: 100%;
    height: 0.75rem;
}

.tooltip a {
    display: inline-block;
    margin-top: 0.4rem;
    font-size: 0.8rem;
    color: var(--color-accent);
}

.tooltip a:hover {
    text-decoration: underline;
}

/* Show on hover and focus (for keyboard/mobile accessibility) */
.tooltip-trigger:hover .tooltip {
    display: block;
}

@media (max-width: 480px) {
    .tooltip {
        width: 280px;
    }
}

/* --------------------------------------------------------------------------
   7. MAIN CONTENT CONTAINER
   -------------------------------------------------------------------------- */
.content-wrap {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 var(--content-padding);
}

/* --------------------------------------------------------------------------
   BOOKS SHOWCASE
   -------------------------------------------------------------------------- */
.books-showcase {
    padding: var(--space-section) 0;
    background: var(--color-bg);
}

.books-showcase h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.books-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.book-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 380px;
    /* controls column width */
    max-width: 100%;
}

.book-card>a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.book-card>a:hover .book-card-title {
    color: var(--color-accent);
}

.book-cover {
    width: 280px;
    /* book cover width independent of column width */
    margin-bottom: 0.75rem;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: var(--shadow-book);
    transition: box-shadow var(--transition);
}

.book-card:hover .book-cover {
    box-shadow: var(--shadow-lg);
}

.book-cover img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: none;
    display: block;
}

.book-card-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--color-heading);
    transition: color 0.2s;
}

.book-card-year {
    font-size: var(--size-small);
    color: var(--color-text-muted);
    margin-top: 0.15rem;
}

.book-interview {
    width: 100%;
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.interview-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin: 0;
}

.interview-link {
    font-size: 0.85rem;
    color: var(--color-accent);
    text-decoration: none;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--color-border-light);
}

.interview-link:hover {
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   ABOUT BIO — inside collapsible subsection
   -------------------------------------------------------------------------- */
.about-bio p {
    max-width: 42rem;
}

@media (max-width: 600px) {
    .books-grid {
        gap: 2rem;
    }
}

/* Fallback styling when image fails to load */
.book-cover-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.75rem;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-hero-text);
    background-color: var(--color-hero-bg);
    text-align: center;
}

/* --------------------------------------------------------------------------
   10. THEMATIC SECTIONS — The main content areas
   -------------------------------------------------------------------------- */
.theme-section {
    padding: var(--space-section) 0;
    border-top: 1px solid var(--color-border);
}

/* Alternate background on even sections for visual rhythm */
.theme-section:nth-of-type(even) {
    background-color: var(--color-bg-alt);
}

/* Section number label above the title */
.section-label {
    font-family: var(--font-body);
    font-size: var(--size-xs);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.35rem;
}

/* --------------------------------------------------------------------------
   11. COLLAPSIBLE SUBSECTIONS — Using <details>/<summary>
   Allows visitors to expand/collapse Journal Articles, Presentations, etc.
   -------------------------------------------------------------------------- */
.subsection {
    margin-top: var(--space-subsection);
}

/* The clickable summary/header of each collapsible */
.subsection summary {
    font-family: var(--font-heading);
    font-size: var(--size-h3);
    font-weight: 600;
    color: var(--color-accent);
    cursor: pointer;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border-light);
    list-style: none;
    /* remove default triangle */
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    transition: color var(--transition);
}

.subsection summary:hover {
    color: var(--color-accent-hover);
}

/* Remove default marker/triangle across browsers */
.subsection summary::-webkit-details-marker {
    display: none;
}

.subsection summary::marker {
    display: none;
    content: '';
}

/* Custom expand/collapse chevron indicator */
.subsection summary::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--color-accent);
    border-bottom: 2px solid var(--color-accent);
    transform: rotate(45deg);
    transition: transform var(--transition);
    flex-shrink: 0;
    margin-left: 1rem;
}

/* Rotate chevron when expanded */
.subsection[open] summary::after {
    transform: rotate(-135deg);
}

/* Content area inside the collapsible */
.subsection-content {
    padding-top: 1.25rem;
}

/* --------------------------------------------------------------------------
   12. PUBLICATION ENTRIES — Individual works
   -------------------------------------------------------------------------- */

/* Each publication entry (article, chapter, review, etc.) */
.entry {
    margin-bottom: var(--space-item);
    padding-left: 0;
    line-height: 1.65;
    font-size: var(--size-body);
}

/* Year label for entries */
.entry-year {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: var(--size-small);
    color: var(--color-text-muted);
    display: inline;
    margin-right: 0.35rem;
}

/* Book title styling within entries (italic) */
.entry .book-title {
    font-style: italic;
}

/* The featured book entries within thematic sections (with cover image) */
.entry-book {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    margin-bottom: 1.75rem;
    padding: 1.25rem;
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border-light);
}

.entry-book .book-thumb {
    width: 90px;
    min-width: 90px;
    height: 130px;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.entry-book .book-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.entry-book .book-info {
    flex: 1;
}

.entry-book .book-info .entry-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    font-style: normal;
    line-height: 1.35;
    margin-bottom: 0.35rem;
}

.entry-book .book-info .entry-title a {
    color: var(--color-text);
    border-bottom: 1px solid transparent;
}

.entry-book .book-info .entry-title a:hover {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

.entry-book .book-meta {
    font-size: var(--size-small);
    color: var(--color-text-light);
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   13. (Presentations now use standard .entry class with .entry-year dates)
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   14. (Media now uses standard .entry class with .entry-year dates)
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   15. ANTHROPOLOGY NEWS COLUMN — Special block callout
   -------------------------------------------------------------------------- */
.an-column-note {
    margin-top: 1.25rem;
    padding: 1.1rem 1.3rem;
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    font-size: var(--size-small);
    color: var(--color-text-light);
    line-height: 1.7;
    font-style: italic;
}

.an-column-note .book-title {
    font-style: normal;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   16. SECTION DIVIDER — Thin rule between major areas
   -------------------------------------------------------------------------- */
.section-divider {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 0;
}

/* --------------------------------------------------------------------------
   17. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
    padding: 2.5rem var(--content-padding);
    text-align: center;
    font-size: var(--size-small);
    color: var(--color-text-muted);
    border-top: 1px solid var(--color-border);
    background-color: var(--color-bg);
}

.footer-links {
    margin-top: 0.35rem;
    font-size: var(--size-xs);
}

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

.footer-links a:hover {
    color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   18. UTILITY CLASSES
   -------------------------------------------------------------------------- */

/* Visually hidden but accessible to screen readers */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* --------------------------------------------------------------------------
   19. ANIMATIONS — Fade-in on scroll (optional progressive enhancement)
   -------------------------------------------------------------------------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

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

.fade-in {
    animation: fadeInUp 0.5s ease both;
}

/* --------------------------------------------------------------------------
   20. RESPONSIVE — Tablet (max-width: 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {

    :root {
        --space-section: 3.5rem;
        --size-hero-name: 2.4rem;
        --size-h2: 1.6rem;
    }

    /* Show hamburger menu button */
    .nav-toggle {
        display: block;
    }

    /* Hide nav links by default; show when .nav-open is added */
    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background-color: var(--color-nav-bg);
        border-bottom: 1px solid var(--color-border);
        flex-direction: column;
        padding: 0.75rem 1.5rem 1rem;
        gap: 0;
        box-shadow: var(--shadow-md);
    }

    .nav-links.nav-open {
        display: flex;
    }

    .nav-links a {
        padding: 0.6rem 0.5rem;
        font-size: var(--size-small);
    }

    /* Hero adjustments */
    .hero {
        padding: 3.5rem var(--content-padding) 3rem;
    }

    /* Books grid — scroll horizontally on mobile */
    .books-grid {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 1rem;
        gap: 1.25rem;
        -webkit-overflow-scrolling: touch;
    }

    .book-card {
        min-width: 120px;
    }

    .book-cover {
        width: 120px;
        height: 170px;
    }

    /* Stack book entry cards vertically */
    .entry-book {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .entry-book .book-thumb {
        width: 100px;
        height: 145px;
    }
}

/* --------------------------------------------------------------------------
   21. RESPONSIVE — Small phones (max-width: 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {

    :root {
        --size-hero-name: 2rem;
        --size-h2: 1.4rem;
        --content-padding: 1.1rem;
    }

    .books-showcase h2 {
        font-size: 1.5rem;
    }
}

/* --------------------------------------------------------------------------
   22. PRINT STYLES — Clean output for printing/PDF
   -------------------------------------------------------------------------- */
@media print {

    .site-nav,
    .nav-toggle {
        display: none;
    }

    .hero {
        background-color: white;
        color: black;
        padding: 2rem 0;
    }

    .hero h1 {
        color: black;
    }

    .theme-section {
        page-break-inside: avoid;
    }

    a {
        color: var(--color-text);
    }

    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: var(--color-text-light);
    }
}

/* --------------------------------------------------------------------------
   COURSES — Title + semester listing
   -------------------------------------------------------------------------- */
.course-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: var(--size-small);
    color: var(--color-accent);
    margin-bottom: 0.15rem;
}

.course-semesters {
    font-size: var(--size-small);
    color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   VIDEO THUMBNAILS & LIGHTBOX MODAL
   -------------------------------------------------------------------------- */
.video-thumb {
    width: 90px;
    min-width: 90px;
    height: 130px;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
    position: relative;
    cursor: pointer;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter var(--transition);
}

.video-thumb:hover img {
    filter: brightness(0.75);
}

.video-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(0, 0, 0, 0.25);
    transition: background var(--transition);
    pointer-events: none;
}

.video-thumb:hover .video-play-btn {
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
}

/* Lightbox modal */
.video-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.85);
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.video-modal.active {
    display: flex;
}

.video-modal-content {
    position: relative;
    width: 100%;
    max-width: 900px;
}

.video-modal-close {
    position: absolute;
    top: -2.5rem;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.video-modal-close:hover {
    opacity: 1;
}

.video-modal-player {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    border-radius: 4px;
    overflow: hidden;
}

.video-modal-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}