/* =========================================
   HOUSE OF STAPLETON
   MEDIA.CSS
========================================= */

/* =========================================
   MOVIE INFO CARD
========================================= */

.movie-info {
    text-align: center;
}

.movie-heading {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.movie-poster {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.movie-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;

    margin-top: 10px;

    text-align: left;

    font-size: .95rem;
}

.movie-meta span {
    font-weight: 600;
    color: #444;
}

.movie-group {
    margin-top: 15px;
    text-align: left;
}

.group-title {
    font-weight: 600;
    margin-bottom: 5px;
    color: #222;
}

.movie-group ul {
    margin: 0;
    padding-left: 18px;
}

.movie-group li {
    font-size: .9rem;
    margin-bottom: 2px;
}

/* =========================================
   TABS
========================================= */

.tabs {
    display: flex;
    gap: 10px;

    margin-bottom: 15px;

    border-bottom: 1px solid rgba(0,0,0,.10);
}

.tab {

    background: none;
    border: none;

    padding: 8px 12px;

    cursor: pointer;

    font-size: .95rem;
    font-weight: 600;

    color: #555;

    border-radius: 6px 6px 0 0;

    transition: all .2s ease;
}

.tab:hover {
    background: rgba(0,0,0,.05);
}

.tab.active {
    color: var(--color-gold);
    border-bottom: 2px solid var(--color-gold);
}

/* =========================================
   TAB CONTENT
========================================= */

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.section-block {
    margin-bottom: 15px;
}

.section-subtitle {
    font-weight: 600;
    margin-bottom: 5px;
    color: #222;
}

.section-subtitle.centered {
    text-align: center;
    margin-bottom: 10px;
}

/* =========================================
   CAST LIST
========================================= */

.cast-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cast-item {

    display: flex;
    align-items: center;
    gap: 10px;

    padding: 6px;

    border-radius: 6px;

    transition: background .2s ease;
}

.cast-item:hover {
    background: rgba(0,0,0,.05);
}

.cast-item img {

    width: 45px;
    height: 65px;

    object-fit: cover;

    border-radius: 4px;
}

.actor-name {
    font-weight: 600;
}

.character-name {
    font-size: .85rem;
    color: #777;
}

/* =========================================
   RELATED MOVIES
========================================= */

.related-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

.related-box {

    width: 100%;
    max-width: 420px;

    padding: 15px;

    text-align: center;

    border-radius: 10px;

    background: rgba(0,0,0,.03);

    border: 1px solid rgba(201,162,26,.60);

    box-shadow:
        0 4px 12px rgba(0,0,0,.08),
        0 0 10px rgba(201,162,26,.25);
}

.related-inline {

    display: flex;
    justify-content: center;

    flex-wrap: nowrap;

    gap: 12px;
}

.related-card {
    flex: 0 0 80px;
    text-align: center;
}

.related-title {
    margin-top: 5px;
    font-size: .75rem;
}

.related-title a {
    text-decoration: none;
    color: #222;
}

.related-title a:hover {
    color: var(--color-gold);
}

/* =========================================
   CAST GRID
========================================= */

.cast-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fill,minmax(180px,1fr));

    gap: 12px;
}

.cast-card {

    display: flex;
    align-items: center;
    gap: 10px;

    padding: 8px;

    text-decoration: none;
    color: inherit;

    border-radius: 8px;

    background: rgba(0,0,0,.03);

    border: 1px solid rgba(0,0,0,.06);

    transition: all .2s ease;
}

.cast-card:hover {

    background: rgba(0,0,0,.06);

    border-color: rgba(201,162,26,.40);

    transform: translateY(-2px);
}

.cast-card img {

    width: 45px;
    height: 65px;

    object-fit: cover;

    border-radius: 4px;
}

.cast-info {

    display: flex;
    flex-direction: column;
}

.cast-name {

    font-size: .9rem;
    font-weight: 600;

    color: #111;
}

.cast-character {

    font-size: .8rem;

    color: #777;

    font-style: italic;
}

/* =========================================
   ACTOR PAGE
========================================= */

.actor-info {
    text-align: center;
}

.actor-heading {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.actor-photo {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.actor-meta {

    display: flex;
    flex-direction: column;
    gap: 10px;

    text-align: left;

    font-size: .95rem;
}

.actor-meta span {
    font-weight: 600;
    color: #444;
}

.subtle {
    font-size: .85rem;
    color: #777;
}

/* =========================================
   FILMOGRAPHY
========================================= */

.filmography-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fill,minmax(140px,1fr));

    gap: 15px;
}

.film-card {

    display: flex;
    flex-direction: column;

    align-items: center;
    text-align: center;

    padding: 8px;

    border-radius: 8px;

    background: rgba(0,0,0,.03);

    border: 1px solid rgba(0,0,0,.06);

    transition: all .2s ease;
}

.film-card:hover {

    transform: translateY(-3px);

    border-color: rgba(201,162,26,.40);

    background: rgba(0,0,0,.05);
}

.film-meta {
    margin-top: 6px;
}

.film-year {
    font-size: .8rem;
    color: #777;
}

.film-title a {

    text-decoration: none;

    font-size: .9rem;
    font-weight: 600;

    color: #111;
}

.film-title a:hover {
    color: var(--color-gold);
}

/* =========================================
   SEASON SELECTOR
========================================= */

.season-selector {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 20px;
}

.season-link {

    text-decoration: none;

    padding: 6px 12px;

    border-radius: 20px;

    font-size: .85rem;
    font-weight: 600;

    color: #444;

    background: rgba(0,0,0,.05);

    border: 1px solid rgba(0,0,0,.08);

    transition: all .25s ease;
}

.season-link:hover {

    background: rgba(201,162,26,.12);

    border-color: rgba(201,162,26,.40);

    color: var(--color-gold);

    transform: translateY(-1px);
}

.season-link.active {

    background: var(--color-gold);

    color: #fff;

    border-color: var(--color-gold);

    box-shadow:
        0 4px 10px rgba(201,162,26,.30);
}

/* =========================================
   EPISODES
========================================= */

.episode-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.episode-card {

    padding: 12px;

    border-radius: 10px;

    background: rgba(0,0,0,.03);

    border: 1px solid rgba(0,0,0,.05);

    transition: all .2s ease;
}

.episode-card:hover {

    background: rgba(0,0,0,.06);

    transform: translateY(-2px);
}

.episode-header {

    display: flex;
    gap: 6px;

    margin-bottom: 6px;

    font-weight: 600;
}

.episode-number {
    color: var(--color-gold);
}

.episode-title {
    color: #111;
}

.episode-meta {
    font-size: .8rem;
    color: #777;
    margin-bottom: 6px;
}

.episode-plot {
    font-size: .9rem;
    line-height: 1.4;
    color: #333;
    margin-bottom: 6px;
}

.episode-extra {
    font-size: .85rem;
    color: #555;
}

/* =========================================
   TV GUIDE
========================================= */

.tvguide-card {
    padding: 15px;
}

.tvguide-empty {
    text-align: center;
    padding: 20px;
    color: #777;
}

.tvguide-day {

    margin-bottom: 16px;

    padding: 10px;

    border-radius: 8px;

    background: rgba(0,0,0,.02);
}

.tvguide-day.active {

    border: 2px solid var(--color-gold);

    background: rgba(201,162,26,.08);
}

.tvguide-day-title {

    font-size: 1rem;
    font-weight: 700;

    margin-bottom: 6px;

    color: #222;
}

.tvguide-list {

    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tvguide-item {

    display: grid;

    grid-template-columns:
        80px
        60px
        1fr;

    gap: 10px;

    align-items: center;
}

.tvguide-item:hover {

    background: rgba(0,0,0,.04);

    border-radius: 4px;

    padding-left: 4px;
}

.tvguide-time {
    width: 80px;
    font-weight: 600;
    color: var(--color-gold);
}

.tvguide-channel {
    width: 60px;
    font-weight: 600;
}

.tvguide-info {
    font-weight: 500;
}

.tvguide-network {
    margin-left: 4px;
    font-size: .85rem;
    color: #777;
}