/* Tejo FM prototype — brand: official wordmark (black «tejo» + cyan arcs, 102.9 FM); palette from the station's
   manifest (#0380cd theme, #e5f5fa background) and site bars (#02a7e9). Dark river-blue surfaces carry the hero,
   player and footer; the cyan is the single accent. Fonts: Sora (titles) + Inter Tight (text). */
:root {
  --night: #0b1f33;
  --river: #0d2f4d;
  --river-2: #123c60;
  --cyan: #00a6e8;
  --cyan-ink: #0a7bb5;
  --cyan-soft: #bfe9fa;
  --sky: #e5f5fa;
  --paper: #e9eff4;
  --card: #ffffff;
  --ink: #14212b;
  --ink-2: #3d4c58;
  --ink-3: #5f6e7a;
  --line: #c9d6e0;
  --focus: #ffb703;
  --font-title: "Sora", "Segoe UI", Arial, sans-serif;
  --font-text: "Inter Tight", "Segoe UI", Arial, sans-serif;
  --wrap: 1200px;
  --radius: 10px;
  --player-h: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-bottom: calc(var(--player-h) + 1rem); scroll-padding-top: 1rem; }
a, button, summary, input, select, textarea { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
section[id], h2[id] { scroll-margin-top: 1rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font-text); font-size: 17px; line-height: 1.55; color: var(--ink); background: var(--paper); padding-bottom: var(--player-h); }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--cyan-ink); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--night); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--font-title); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
.tj-wrap { width: min(var(--wrap), 100% - 2rem); margin-inline: auto; }
.tj-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tj-skip { position: absolute; left: 1rem; top: -4rem; background: var(--night); color: #fff; padding: .6rem 1rem; border-radius: var(--radius); z-index: 100; }
.tj-skip:focus { top: 1rem; }

/* buttons */
.tj-btn { display: inline-flex; align-items: center; gap: .5rem; min-height: 46px; padding: .6rem 1.2rem; border-radius: 999px; border: 2px solid transparent; font: 600 1rem var(--font-text); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, transform .15s; white-space: nowrap; }
.tj-btn:active { transform: translateY(1px); }
.tj-btn--cyan { background: var(--cyan); color: var(--night); }
.tj-btn--cyan:hover { background: #33b8ee; color: var(--night); }
.tj-btn--ink { background: var(--cyan-ink); color: #fff; }
.tj-btn--ink:hover { background: var(--river); color: #fff; }
.tj-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.tj-btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.tj-btn--sm { min-height: 40px; padding: .4rem 1rem; font-size: .95rem; }
.tj-icon { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }

/* header */
.tj-header { background: var(--night); color: #fff; position: relative; z-index: 20; }
.tj-header__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.tj-logo { display: inline-flex; align-items: center; }
.tj-logo img { height: 40px; width: auto; }
.tj-nav { display: flex; align-items: center; gap: .1rem; }
.tj-nav > a { color: #e8f1f8; text-decoration: none; padding: .55rem .7rem; border-radius: 8px; font-weight: 500; font-size: .98rem; }
.tj-nav > a:hover { background: rgba(255,255,255,.08); color: #fff; }
.tj-nav > a[aria-current="page"] { color: var(--cyan); }
.tj-nav .tj-btn { margin-left: .6rem; }
.tj-header__mobile { display: none; }
.tj-menu summary { list-style: none; cursor: pointer; color: #fff; font-weight: 600; padding: .5rem .9rem; border: 2px solid rgba(255,255,255,.45); border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center; }
.tj-menu summary::-webkit-details-marker { display: none; }
.tj-menu__panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--night); border-top: 1px solid rgba(255,255,255,.12); padding: .6rem 1rem 1rem; display: grid; gap: .2rem; }
.tj-menu__panel a { color: #fff; text-decoration: none; padding: .75rem .6rem; border-radius: 8px; font-weight: 500; }
.tj-menu__panel a:hover { background: rgba(255,255,255,.08); }
.tj-menu__panel .tj-btn { justify-content: center; margin-top: .5rem; }
@media (max-width: 1023px) { .tj-nav { display: none; } .tj-header__mobile { display: flex; align-items: center; gap: .6rem; } }

/* hero */
.tj-hero { background: linear-gradient(180deg, var(--night) 0%, var(--river) 70%, rgba(13,47,77,.55) 100%), url(img/hero.jpg) center bottom / cover no-repeat var(--night); color: #fff; padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(2.5rem, 5vw, 4.5rem); }
.tj-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.tj-hero h1 { color: #fff; margin-bottom: .6rem; max-width: 16ch; }
.tj-hero__lead { font-size: 1.15rem; color: #d7e6f2; max-width: 42ch; margin-bottom: 1.4rem; }
.tj-hero__actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.tj-hero__brand { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.tj-hero__brand img { height: 64px; width: auto; }
.tj-hero__freq { font: 600 .95rem var(--font-title); color: var(--cyan); letter-spacing: .02em; }
.tj-onair { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 1.2rem 1.3rem; display: grid; gap: .9rem; }
.tj-onair__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.tj-onair__label { font: 700 .85rem var(--font-title); color: var(--cyan); text-transform: uppercase; letter-spacing: .06em; display: inline-flex; align-items: center; gap: .5rem; }
.tj-onair__label::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #ff4d4d; box-shadow: 0 0 0 4px rgba(255,77,77,.25); }
.tj-onair__time { font-size: .9rem; color: #c5d6e4; }
.tj-onair__body { display: grid; grid-template-columns: 96px 1fr; gap: 1rem; align-items: center; }
.tj-onair__img { width: 96px; height: 96px; border-radius: 12px; object-fit: cover; background: var(--river-2); }
.tj-onair__name { font: 700 1.35rem var(--font-title); line-height: 1.15; margin: 0 0 .2rem; }
.tj-onair__host { margin: 0; color: #d7e6f2; }
.tj-onair__next { margin: 0; font-size: .95rem; color: #c5d6e4; border-top: 1px solid rgba(255,255,255,.12); padding-top: .8rem; }
.tj-onair__next strong { color: #fff; font-weight: 600; }
@media (max-width: 860px) { .tj-hero__grid { grid-template-columns: 1fr; } .tj-hero h1 { max-width: none; } }

/* sections */
.tj-section { padding: clamp(2.2rem, 5vw, 4rem) 0; }
.tj-section--sky { background: var(--sky); }
.tj-section--paper { background: var(--paper); }
.tj-section--river { background: var(--river); color: #fff; }
.tj-section--river h2, .tj-section--river h3 { color: #fff; }
.tj-section--river a { color: var(--cyan-soft); }
.tj-section--river a:hover { color: #fff; }
.tj-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
.tj-section__head h2 { margin: 0; }
.tj-section__head a { font-weight: 600; text-decoration: none; }
.tj-section__head a:hover { text-decoration: underline; }
.tj-lead { font-size: 1.1rem; color: var(--ink-2); max-width: 62ch; }

/* news */
.tj-chip { display: inline-block; font: 600 .78rem var(--font-title); letter-spacing: .03em; text-transform: uppercase; color: var(--cyan-ink); text-decoration: none; }
.tj-chip:hover { text-decoration: underline; }
.tj-date { font-size: .88rem; color: var(--ink-3); }
.tj-news-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.5rem; }
.tj-feature { background: var(--card); border-radius: 14px; overflow: hidden; display: grid; text-decoration: none; color: var(--ink); }
.tj-feature img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.tj-feature__body { padding: 1.1rem 1.3rem 1.3rem; }
.tj-feature h3 { font-size: 1.45rem; margin: .3rem 0 .4rem; }
.tj-feature p { color: var(--ink-2); margin: 0; }
.tj-feature:hover h3 { color: var(--cyan-ink); }
.tj-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.tj-list li { border-top: 1px solid var(--line); padding: .8rem 0; }
.tj-list li:first-child { border-top: 0; padding-top: 0; }
.tj-list a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.02rem; display: block; margin-top: .15rem; }
.tj-list a:hover { color: var(--cyan-ink); }
.tj-list--thumb li { display: grid; grid-template-columns: 110px 1fr; gap: .9rem; align-items: start; }
.tj-list--thumb img { width: 110px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; }
.tj-meta { display: flex; gap: .6rem; align-items: baseline; flex-wrap: wrap; }
.tj-two { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.tj-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.2rem; }
.tj-card { background: var(--card); border-radius: 12px; overflow: hidden; text-decoration: none; color: var(--ink); display: grid; grid-template-rows: auto 1fr; }
.tj-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.tj-card--ep img { object-fit: contain; background: var(--night); }
.tj-card__body { padding: .9rem 1rem 1.1rem; }
.tj-card h3 { font-size: 1.05rem; margin: .25rem 0 .3rem; }
.tj-card:hover h3 { color: var(--cyan-ink); }
.tj-cats { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.tj-cats a { display: inline-flex; align-items: center; min-height: 40px; padding: .3rem .9rem; border-radius: 999px; background: var(--card); color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; border: 1px solid var(--line); }
.tj-cats a:hover, .tj-cats a[aria-current="page"] { background: var(--night); color: #fff; border-color: var(--night); }
@media (max-width: 860px) { .tj-news-grid, .tj-two { grid-template-columns: 1fr; } }

/* article */
.tj-article { max-width: 760px; }
.tj-article__hero { border-radius: 14px; overflow: hidden; margin: 1.2rem 0 1.6rem; }
.tj-article__hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.tj-article p { font-size: 1.08rem; }
.tj-article__share { margin-top: 2rem; display: flex; gap: .6rem; flex-wrap: wrap; }
.tj-pagehead { background: var(--night); color: #fff; padding: clamp(1.6rem, 3vw, 2.6rem) 0; }
.tj-pagehead h1 { color: #fff; margin: 0; }
.tj-pagehead p { color: #d7e6f2; margin: .5rem 0 0; max-width: 60ch; }
.tj-crumbs { font-size: .9rem; color: #b8cbdb; margin-bottom: .4rem; }
.tj-crumbs a { color: var(--cyan-soft); text-decoration: none; }
.tj-crumbs a:hover { text-decoration: underline; }
.tj-related { margin-top: 3rem; }

/* schedule */
.tj-days { display: flex; gap: .4rem; flex-wrap: wrap; margin: 0 0 1.2rem; padding: 0; list-style: none; }
.tj-days button { font: 600 .95rem var(--font-text); min-height: 42px; padding: .4rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; cursor: pointer; }
.tj-days button[aria-selected="true"] { background: var(--cyan); color: var(--night); border-color: var(--cyan); }
.tj-days button:hover { border-color: #fff; }
.tj-slots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .8rem; }
.tj-slot { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: .8rem; display: grid; grid-template-columns: 56px 1fr; gap: .7rem; align-items: center; }
.tj-slot img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; background: var(--river-2); }
.tj-slot__time { font: 600 .82rem var(--font-title); color: var(--cyan); margin: 0; font-variant-numeric: tabular-nums; }
.tj-slot__name { font: 600 .98rem var(--font-title); margin: .1rem 0; line-height: 1.2; }
.tj-slot__host { margin: 0; font-size: .88rem; color: #c5d6e4; }
.tj-slot--now { background: var(--cyan); border-color: var(--cyan); color: var(--night); }
.tj-slot--now .tj-slot__time, .tj-slot--now .tj-slot__host { color: var(--night); }
.tj-slot--now .tj-slot__time::after { content: " · no ar"; }
.tj-day[hidden] { display: none; }
.tj-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: .8rem; overflow-x: auto; padding-bottom: .6rem; scroll-snap-type: x proximity; }
.tj-strip .tj-slot { scroll-snap-align: start; }
.tj-rubricas { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.tj-rubrica { background: var(--card); border-radius: 12px; padding: 1.1rem 1.2rem; }
.tj-rubrica h3 { margin-bottom: .3rem; }
.tj-rubrica p { margin: 0; color: var(--ink-2); font-size: .98rem; }

/* team */
.tj-team { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.2rem; }
.tj-person { background: var(--card); border-radius: 12px; overflow: hidden; }
.tj-person img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.tj-person__body { padding: .9rem 1rem 1.1rem; }
.tj-person__role { font: 600 .78rem var(--font-title); color: var(--cyan-ink); text-transform: uppercase; letter-spacing: .03em; margin: 0 0 .2rem; }
.tj-person h3 { margin: 0 0 .4rem; }
.tj-person p { margin: 0 0 .4rem; color: var(--ink-2); font-size: .95rem; }
.tj-faces { display: flex; flex-wrap: wrap; gap: .6rem; }
.tj-faces img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid var(--card); }

/* contacts */
.tj-contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2.5rem; align-items: start; }
.tj-contact__info p { margin: 0 0 .6rem; }
.tj-contact__info h3 { margin-top: 1.3rem; }
.tj-emails { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.tj-emails li { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding: .45rem 0; }
.tj-emails span { color: var(--ink-2); }
.tj-form { background: var(--card); border-radius: 14px; padding: 1.4rem; display: grid; gap: 1rem; }
.tj-field { display: grid; gap: .35rem; }
.tj-field label { font-weight: 600; font-size: .95rem; }
.tj-field input, .tj-field select, .tj-field textarea { font: 1rem var(--font-text); padding: .65rem .8rem; border: 1.5px solid #9fb2c1; border-radius: 8px; background: #fff; color: var(--ink); min-height: 46px; width: 100%; }
.tj-field textarea { min-height: 140px; resize: vertical; }
.tj-field input:focus, .tj-field select:focus, .tj-field textarea:focus { border-color: var(--cyan-ink); outline: 3px solid var(--cyan-soft); outline-offset: 0; }
.tj-field [aria-invalid="true"] { border-color: #b3261e; }
.tj-error { color: #b3261e; font-size: .9rem; margin: 0; }
.tj-error:empty { display: none; }
.tj-check { display: flex; gap: .6rem; align-items: start; font-size: .95rem; }
.tj-check input { width: 20px; height: 20px; margin-top: .2rem; flex: none; }
.tj-map { border-radius: 12px; overflow: hidden; margin-top: 1rem; aspect-ratio: 4 / 3; }
.tj-map iframe { width: 100%; height: 100%; border: 0; }
.tj-two--form { grid-template-columns: 1fr; }
@media (max-width: 860px) { .tj-contact { grid-template-columns: 1fr; } }

/* text pages */
.tj-prose { max-width: 760px; }
.tj-prose h2 { margin-top: 2rem; }
.tj-prose ol { padding-left: 1.3rem; }
.tj-prose li { margin-bottom: .6rem; }
.tj-banner { border-radius: 14px; overflow: hidden; margin-bottom: 1.5rem; }

/* footer */
.tj-footer { background: var(--night); color: #cfdce7; padding: 2.5rem 0 1.5rem; margin-top: 0; }
.tj-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; }
.tj-footer h3 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .7rem; }
.tj-footer p { margin: 0 0 .4rem; font-size: .95rem; }
.tj-footer a { color: #fff; text-decoration: none; }
.tj-footer a:hover { color: var(--cyan); text-decoration: underline; }
.tj-footer__logo { height: 44px; width: auto; margin-bottom: .8rem; }
.tj-footer__legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding-top: 1rem; font-size: .85rem; color: #9fb4c6; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.tj-social { display: flex; gap: .6rem; margin-top: .8rem; }
.tj-social a { display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: .3rem .8rem; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; font-size: .9rem; }
@media (max-width: 860px) { .tj-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tj-footer__grid { grid-template-columns: 1fr; } }

/* fixed player */
.tj-player { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--night); color: #fff; border-top: 1px solid rgba(255,255,255,.14); box-shadow: 0 -8px 24px rgba(11,31,51,.35); }
.tj-player__row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; min-height: var(--player-h); }
.tj-player__btn { width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--cyan); color: var(--night); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .2s, transform .15s; }
.tj-player__btn:hover { background: #33b8ee; }
.tj-player__btn:active { transform: scale(.96); }
.tj-player__btn svg { width: 24px; height: 24px; fill: currentColor; }
.tj-player__info { display: grid; grid-template-columns: 44px 1fr; gap: .7rem; align-items: center; min-width: 0; }
.tj-player__info > div { min-width: 0; }
.tj-player__img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: var(--river-2); }
.tj-player__label { margin: 0; font: 700 .72rem var(--font-title); color: var(--cyan); text-transform: uppercase; letter-spacing: .06em; }
.tj-player__name { margin: 0; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tj-player__host { margin: 0; font-size: .85rem; color: #c5d6e4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tj-player__status { font-size: .85rem; color: #c5d6e4; text-align: right; }
.tj-player__status a { color: var(--cyan-soft); }
.tj-player[data-state="playing"] .tj-player__status::before { content: "No ar · "; color: #ff6b6b; font-weight: 600; }
@media (max-width: 640px) { .tj-player__status { display: none; } .tj-player__row { grid-template-columns: auto 1fr; } }

/* live page */
.tj-live { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.tj-live__big { background: var(--night); color: #fff; border-radius: 16px; padding: 1.6rem; display: grid; gap: 1rem; }
.tj-live__big .tj-btn { justify-self: start; }
.tj-live__note { font-size: .9rem; color: #c5d6e4; margin: 0; }
@media (max-width: 860px) { .tj-live { grid-template-columns: 1fr; } }

/* episodes */
.tj-episode { max-width: 760px; }
.tj-audio-note { background: var(--card); border-left: 4px solid var(--cyan); padding: .9rem 1.1rem; border-radius: 8px; margin: 1.2rem 0; }
.tj-audio-note p { margin: 0; }

/* 404 */
.tj-404 { padding: 4rem 0; text-align: left; }
