html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

footer {
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 16px;
    padding-right: 16px;
    white-space: normal;
    overflow-wrap: break-word;
    text-align: center;
}

.footer-second-line {
    display: inline;
}

@media (max-width: 600px) {
    .footer-second-line {
        display: block;
        margin-top: 4px;
    }
}


.footer-ichthys {
    display: inline-block;
    vertical-align: -2px;
    margin-left: 8px;
}

    .footer-ichthys svg {
        display: block;
    }

/* ---- Realms Radio (appended to wwwroot/css/site.css, Nov 5, 2026) ----
   From the realms_radio_demo page. Lives in site.css because Razor reads
   @media in a .cshtml as C# (CS0103). Scoped under .radio-page so none of
   it touches the rest of the site. */
.radio-page {
    --radio-bg: #2b124a; /* house purple */
    --radio-bg-deep: #1d0b33;
    --radio-gold: #ffc94d;
    --radio-gold-dim: #d9a93a;
    --radio-cream: #fff3d6;
    --radio-soft: #d8c4f0;
    --radio-panel: #3a1a5e;
    background: var(--radio-bg-deep);
    color: var(--radio-cream);
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

    .radio-page .radio-head {
        background: var(--radio-bg);
        border-bottom: 3px solid var(--radio-gold);
        padding: 18px 24px 14px;
        text-align: center;
    }

        .radio-page .radio-head h1 {
            margin: 0;
            color: var(--radio-gold);
            font-size: 44px;
            letter-spacing: 4px;
            text-transform: uppercase;
        }

        .radio-page .radio-head p {
            margin: 4px 0 0;
            color: var(--radio-soft);
            font-size: 16px;
            letter-spacing: 1px;
        }

    .radio-page .radio-main {
        max-width: 1180px;
        margin: 0 auto;
        padding: 20px;
    }
    /* Now playing bar */
    .radio-page #nowbar {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 24px;
        align-items: baseline;
        background: var(--radio-panel);
        border: 1px solid var(--radio-gold-dim);
        border-radius: 8px;
        padding: 12px 16px;
        margin-bottom: 16px;
    }

        .radio-page #nowbar .label {
            color: var(--radio-gold);
            font-size: 12px;
            letter-spacing: 2px;
            text-transform: uppercase;
        }

    .radio-page #nowplaying {
        font-size: 20px;
        font-weight: bold;
    }

    .radio-page #upnext {
        color: var(--radio-soft);
        font-size: 15px;
    }
    /* DJ strip */
    .radio-page #djbar {
        display: flex;
        gap: 12px;
        align-items: center;
        background: #241040;
        border: 1px dashed var(--radio-gold-dim);
        border-radius: 8px;
        padding: 10px 16px;
        margin-bottom: 16px;
        min-height: 52px;
    }

    .radio-page #djbadge {
        flex: 0 0 auto;
        font-weight: bold;
        color: #1d0b33;
        background: var(--radio-gold);
        border-radius: 20px;
        padding: 4px 12px;
        font-size: 14px;
        white-space: nowrap;
    }

        .radio-page #djbadge.aria {
            background: #c9a7eb;
        }

    .radio-page #djtext {
        font-size: 15px;
        color: var(--radio-cream);
        font-style: italic;
    }

    .radio-page #skipintro {
        margin-left: auto;
        flex: 0 0 auto;
        background: transparent;
        color: var(--radio-gold);
        border: 1px solid var(--radio-gold);
        border-radius: 20px;
        padding: 5px 12px;
        font-size: 13px;
        cursor: pointer;
        display: none;
    }

        .radio-page #skipintro:hover {
            background: var(--radio-gold);
            color: #1d0b33;
        }
    /* Layout: player + playlist */
    .radio-page .stage {
        display: flex;
        gap: 20px;
        align-items: flex-start;
    }

    .radio-page .player-wrap {
        flex: 1 1 0;
        min-width: 0;
        position: relative;
    }

    .radio-page #player {
        width: 100%;
        aspect-ratio: 16 / 9;
        background: #000;
        border: 2px solid var(--radio-gold);
        border-radius: 8px;
        overflow: hidden;
    }

        .radio-page #player iframe {
            width: 100%;
            height: 100%;
            display: block;
            border: 0;
        }
    /* Tune-in overlay */
    .radio-page #tunein {
        position: absolute;
        inset: 0;
        display: flex;
        flex-direction: column;
        gap: 14px;
        align-items: center;
        justify-content: center;
        background: rgba(29, 11, 51, 0.88);
        border-radius: 8px;
        text-align: center;
        padding: 20px;
    }

        .radio-page #tunein h2 {
            margin: 0;
            color: var(--radio-gold);
            font-size: 28px;
            letter-spacing: 2px;
        }

        .radio-page #tunein p {
            margin: 0;
            color: var(--radio-soft);
            max-width: 420px;
        }

        .radio-page #tunein button {
            font-size: 20px;
            font-weight: bold;
            color: #1d0b33;
            background: var(--radio-gold);
            border: 0;
            border-radius: 30px;
            padding: 12px 34px;
            cursor: pointer;
        }

            .radio-page #tunein button:hover {
                background: #ffd97a;
            }
    /* Playlist */
    .radio-page .playlist {
        flex: 0 0 340px;
        background: var(--radio-panel);
        border: 1px solid var(--radio-gold-dim);
        border-radius: 8px;
        overflow: hidden;
    }

        .radio-page .playlist h2 {
            margin: 0;
            padding: 12px 16px;
            font-size: 14px;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: var(--radio-gold);
            border-bottom: 1px solid var(--radio-gold-dim);
        }

        .radio-page .playlist ol {
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .radio-page .playlist li {
            display: flex;
            gap: 10px;
            align-items: baseline;
            padding: 10px 16px;
            cursor: pointer;
            border-bottom: 1px solid rgba(255, 201, 77, 0.15);
        }

            .radio-page .playlist li:last-child {
                border-bottom: 0;
            }

            .radio-page .playlist li:hover {
                background: rgba(255, 201, 77, 0.12);
            }

            .radio-page .playlist li.active {
                background: rgba(255, 201, 77, 0.22);
            }

            .radio-page .playlist li .num {
                color: var(--radio-gold);
                font-weight: bold;
                flex: 0 0 22px;
            }

            .radio-page .playlist li .song {
                font-size: 15px;
            }

            .radio-page .playlist li .artist {
                color: var(--radio-soft);
                font-size: 13px;
            }

            .radio-page .playlist li.active .song::after {
                content: "  ▶";
                color: var(--radio-gold);
            }

    .radio-page .radio-footnote {
        max-width: 1180px;
        margin: 0 auto;
        padding: 0 20px 30px;
        color: var(--radio-soft);
        font-size: 13px;
    }

        .radio-page .radio-footnote a {
            color: var(--radio-gold);
        }

@media (max-width: 860px) {
    .radio-page .stage {
        flex-direction: column;
    }

    .radio-page .playlist {
        flex: 1 1 auto;
        width: 100%;
    }

    .radio-page .radio-head h1 {
        font-size: 32px;
    }
}

/* Realms' Riggs — window shell (Nov 18, 2026) */
.riggs-window {
    max-width: 1000px;
    margin: 2rem auto;
    border: 2px solid #212529;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    background: #fff;
}

.riggs-titlebar {
    background: #212529;
    color: #fff;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.05em;
    padding: 0.75rem 1rem;
}

.riggs-panel {
    padding: 1.5rem;
    background: #fff;
}

@media print {
    .riggs-titlebar,
    button,
    .no-print {
        display: none !important;
    }

    .riggs-window {
        border: none;
        box-shadow: none;
        max-width: none;
    }

    .riggs-panel {
        padding: 0;
    }

    a {
        color: #000;
        text-decoration: none;
    }
}

@media (max-width: 640px) {
    .riggs-panel {
        padding: 1rem;
    }

    .riggs-titlebar {
        font-size: 1rem;
        padding: 0.5rem;
    }

    .table-scroll {
        overflow-x: auto;
    }
}

/* Realms Radio v2.0 — podcast section. Append to wwwroot/css/site.css.
   Scoped under .radio-page, like the v1.0 radio styles. */
.radio-page .radio-podcast {
    margin-top: 28px;
    padding: 20px 22px;
    border: 2px solid #6b3fa0;
    border-radius: 12px;
    background: #fff8e7;
}

    .radio-page .radio-podcast h2 {
        margin-top: 0;
    }

    .radio-page .radio-podcast h3 {
        margin-bottom: 6px;
    }

    .radio-page .radio-podcast .rundown {
        margin: 8px 0 12px 20px;
    }

        .radio-page .radio-podcast .rundown li {
            margin-bottom: 6px;
        }

.radio-page .radio-winners {
    margin-top: 12px;
    font-style: italic;
}

/* Radio podcast card text fix */
.radio-page .radio-podcast {
    color: #2e2a24;
}

    /* Podcast cover image */
    .radio-page .radio-podcast .podcast-cover {
        display: block;
        width: 100%;
        height: auto;
        border-radius: 8px;
        margin-bottom: 14px;
    }
