/*
Theme Name: KDUB Hit Country
Description: A country radio theme for KDUB Hit Country, with live audio, recently played tracks, and music news.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: kdub-hit-country
*/
:root {
    --ink: #111a20;
    --blue: #1b6586;
    --sky: #8dd8f2;
    --red: #ac302d;
    --paper: #f2eee6;
    --white: #fff;
    --rule: #d1cfc7;
    --display: Impact, "Arial Black", "Liberation Sans Narrow", "Arial Narrow", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; padding-bottom: 90px; color: var(--ink); background: var(--paper); font: 16px/1.55 Arial, sans-serif; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #3b9bc1; outline-offset: 4px; }
.shell { width: min(1240px, calc(100% - 72px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 50; padding: .7rem; background: var(--white); }
.skip-link:focus { top: .5rem; }
.site-header { background: white; border-top: 5px solid var(--red); }
.masthead { min-height: 92px; display: flex; align-items: center; gap: 2rem; justify-content: space-between; }
.logo { display: block; width: 166px; flex-shrink: 0; line-height: 0; }
.masthead nav { display: flex; gap: clamp(1rem, 3.6vw, 3rem); }
.masthead nav a, .eyebrow, .button, .hero-actions a, .air-play, .read-story, .site-footer a {
    font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; text-decoration: none;
}
.masthead nav a:hover, .read-story:hover { text-decoration: underline; text-underline-offset: .35em; }
.button { display: inline-flex; align-items: center; gap: .7rem; border: 0; color: white; background: var(--red); padding: 1rem 1.3rem; white-space: nowrap; }
.button:hover { background: #882624; }
.hero {
    color: var(--white); background: #17232b;
    background-image: linear-gradient(90deg, rgba(9,16,22,.95), rgba(9,16,22,.69) 51%, rgba(9,16,22,.38)), url("assets/concert.jpg");
    background-position: center, center 45%; background-size: cover;
    border-bottom: 5px solid var(--blue);
}
.hero-grid { min-height: 555px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 350px); align-items: end; gap: 2rem; padding-block: 70px; }
.eyebrow { display: flex; align-items: center; gap: .7rem; margin: 0 0 1rem; }
.hero .eyebrow { color: #b7e7fa; }
.dot { background: #f07064; width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.hero h1, .section h2 { font-family: var(--display); font-weight: 900; line-height: .91; letter-spacing: -.035em; text-transform: uppercase; margin: 0; }
.hero h1 { font-size: clamp(3.2rem, 8vw, 7.5rem); }
.hero h1 em { color: var(--sky); font-style: normal; }
.hero-actions { margin-top: 2rem; display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.hero-actions a { text-decoration: underline; text-underline-offset: .4em; }
.on-air { background: #141e25; padding: 1.5rem; border: 1px solid #4b626d; border-top: 3px solid var(--sky); }
.air-track { display: flex; align-items: center; gap: 1rem; }
.air-track img { width: 80px; aspect-ratio: 1; object-fit: cover; }
.air-track div { min-width: 0; }
.air-track h2 { font-size: 1.28rem; line-height: 1.15; margin: 0; overflow-wrap: anywhere; }
.air-track p { color: #c3d3dc; margin: .35rem 0 0; overflow-wrap: anywhere; }
.air-play { display: flex; justify-content: space-between; width: 100%; margin-top: 1.25rem; padding: .8rem 0 0; color: white; border: 0; border-top: 1px solid #40515c; background: transparent; text-align: left; }
.air-play:hover { color: var(--sky); }
.section { padding: clamp(2.6rem, 6vw, 5rem) 0; }
.section-heading { margin-bottom: 1.8rem; }
.section-heading .eyebrow { color: var(--blue); margin-bottom: .6rem; }
.section h2 { font-size: clamp(3rem, 6.2vw, 5.5rem); }
.section h2 span { color: var(--red); }
.track-message { padding: 1rem 0; border-top: 1px solid var(--rule); color: #43515a; }
.recent-list { margin: 0; padding: 0; list-style: none; }
.recent-list li { display: grid; grid-template-columns: 2.25rem 54px minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: .75rem .3rem; border-top: 1px solid var(--rule); }
.recent-list li:last-child { border-bottom: 1px solid var(--rule); }
.track-number, .recent-list time { color: var(--blue); font-weight: 700; font-size: .8rem; font-variant-numeric: tabular-nums; }
.recent-list img { display: block; width: 54px; aspect-ratio: 1; object-fit: cover; }
.track-name { min-width: 0; overflow-wrap: anywhere; }
.track-name strong, .track-name span { display: block; }
.track-name span { color: #43515a; font-size: .88rem; }
.news-section { background: #e5ebec; border-top: 1px solid #c6d2d6; }
.news-grid { display: grid; grid-template-columns: 1.45fr repeat(2, 1fr); gap: 1rem; }
.news-card { background: white; border-top: 3px solid var(--blue); min-width: 0; }
.news-card:first-child { grid-row: span 3; }
.news-image { display: block; }
.news-image img { display: block; width: 100%; aspect-ratio: 1.7; object-fit: cover; }
.news-copy { padding: 1.2rem; }
.news-copy .eyebrow { color: var(--blue); margin-bottom: .4rem; }
.news-copy h3 { margin: 0 0 .8rem; line-height: 1.2; }
.news-copy h3 a { text-decoration: none; }
.news-copy h3 a:hover { text-decoration: underline; }
.read-story { color: var(--red); }
.content-page { max-width: 860px; min-height: 48vh; padding-block: 2rem 4rem; }
.article { overflow-wrap: anywhere; }
.article h1 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.05; }
.site-footer { background: #182229; color: white; padding: 2rem 0; }
.footer-line { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; }
.footer-line p { margin: .2rem 0 0; color: #c3d3dc; font-size: .88rem; }
.player { position: fixed; z-index: 30; bottom: 0; inset-inline: 0; background: #11191f; color: white; border-top: 3px solid var(--sky); padding-bottom: env(safe-area-inset-bottom); }
.player-inner { min-height: 76px; display: flex; align-items: center; gap: .85rem; padding-block: .45rem; }
.player-toggle { flex: 0 0 46px; height: 46px; border: 0; border-radius: 50%; color: #11191f; background: var(--sky); font-weight: 900; }
.player-art { width: 52px; aspect-ratio: 1; object-fit: cover; }
.player-copy { flex: 1; min-width: 0; line-height: 1.25; }
.player-copy strong, .player-artist { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-status { display: block; margin-bottom: .12rem; color: var(--sky); font-weight: 800; font-size: .67rem; text-transform: uppercase; letter-spacing: .1em; }
.player-artist, .volume { color: #c3d3dc; font-size: .8rem; }
.volume { display: flex; align-items: center; gap: .5rem; }
.volume input { width: 100px; accent-color: var(--sky); }
@media (max-width: 880px) {
    .shell { width: calc(100% - 40px); }
    .hero-grid { gap: 1.25rem; grid-template-columns: minmax(0, 1fr) 260px; min-height: 460px; }
    .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .news-card:first-child { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 650px) {
    .shell { width: calc(100% - 32px); }
    .masthead { flex-wrap: wrap; padding-top: .55rem; gap: .5rem; }
    .logo { width: 118px; }
    .masthead nav { width: 100%; order: 3; gap: 1rem; padding: .65rem 0; border-top: 1px solid var(--rule); }
    .masthead nav a { font-size: .65rem; letter-spacing: .07em; }
    .mast-listen { padding: .65rem .8rem; }
    .hero-grid { grid-template-columns: 1fr; min-height: auto; padding-block: 2.9rem 1.6rem; }
    .hero-actions { margin-top: 1.5rem; }
    .hero h1 { font-size: clamp(3.05rem, 11vw, 5rem); }
    .on-air { margin-top: .65rem; }
    .recent-list li { grid-template-columns: 1.5rem 44px minmax(0, 1fr) auto; gap: .5rem; }
    .recent-list img { width: 44px; }
    .volume { display: none; }
    .player-art { width: 42px; }
    .player-inner { min-height: 66px; gap: .6rem; }
    .news-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
