/*
|--------------------------------------------------------------------------
| Vertical Shift
| Public Website
|--------------------------------------------------------------------------
*/


/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

:root {
    --vs-dark: #151719;
    --vs-soft-dark: #212529;
    --vs-light: #f6f7f8;
    --vs-border: #e4e6e8;
    --vs-muted: #6c757d;
}


html {
    scroll-behavior: smooth;
}


body {
    background: #ffffff;
    color: #212529;
    font-family:
        system-ui,
        -apple-system,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;
}


/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.site-header .navbar {
    min-height: 72px;
}


.site-header .navbar-brand {
    letter-spacing: 0.08em;
}


.site-header .nav-link {
    font-weight: 500;
}


.site-header .nav-link.active {
    color: #ffffff;
}


/* --------------------------------------------------------------------------
   Page Headers
   -------------------------------------------------------------------------- */

.page-hero {
    background: var(--vs-light);
    border-bottom: 1px solid var(--vs-border);
    padding: 4rem 0;
}


.page-hero h1 {
    font-weight: 700;
    letter-spacing: -0.025em;
}


.page-hero .lead {
    color: var(--vs-muted);
    max-width: 720px;
}


/* --------------------------------------------------------------------------
   Content
   -------------------------------------------------------------------------- */

.section-padding {
    padding-top: 4rem;
    padding-bottom: 4rem;
}


.section-heading {
    font-weight: 700;
    letter-spacing: -0.02em;
}


/* --------------------------------------------------------------------------
   Episode Cards
   -------------------------------------------------------------------------- */

.episode-card {
    height: 100%;
    border: 0;
    border-radius: 0.75rem;
    overflow: hidden;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.episode-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 0.75rem 2rem rgba(0, 0, 0, 0.10);
}


.episode-card-image {
    position: relative;
    background: #e9ecef;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}


.episode-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.episode-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(
            135deg,
            #343a40,
            #111315
        );
    color: rgba(255, 255, 255, 0.65);
}


.episode-card-placeholder i {
    font-size: 3rem;
}


.episode-card .card-title {
    font-weight: 700;
    line-height: 1.3;
}


.episode-card .card-title a {
    color: inherit;
    text-decoration: none;
}


.episode-card .card-title a:hover {
    text-decoration: underline;
}


.episode-meta {
    font-size: 0.875rem;
    color: var(--vs-muted);
}


.episode-summary {
    color: #5d6369;
}


/* --------------------------------------------------------------------------
   Category Badges
   -------------------------------------------------------------------------- */

.category-badge {
    display: inline-block;
    padding: 0.3rem 0.6rem;
    border-radius: 50rem;
    background: #f1f3f5;
    color: #495057;
    font-size: 0.75rem;
    font-weight: 600;
}


/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
    background: var(--vs-dark);
    color: #ffffff;
    padding: 4rem 0 2rem;
}


.footer-brand {
    font-weight: 700;
    letter-spacing: 0.08em;
}


.footer-heading {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    margin-bottom: 1rem;
}


.footer-links li {
    margin-bottom: 0.5rem;
}


.footer-links a {
    color: #adb5bd;
    text-decoration: none;
}


.footer-links a:hover {
    color: #ffffff;
}


.footer-divider {
    border-color: rgba(255, 255, 255, 0.15);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

/* Discreet administration link in the public footer. */
.footer-admin-link {
    color: #495057;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-decoration: none;
}

.footer-admin-link:hover,
.footer-admin-link:focus-visible {
    color: #212529;
    text-decoration: underline;
}


/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 991.98px) {

    .site-header .navbar {
        min-height: auto;
    }


    .site-header .navbar-collapse {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }


    .page-hero {
        padding: 3rem 0;
    }


    .section-padding {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

}
