/* Tide (rebuilt 1.0.616; 1.0.624 the big wave became one wide arc, Alex: too close to Aiir).
   A coastal look in the station's own colours. The Header colour runs from the top of the page
   into a band that ends in a soft wave; on the home page that band holds who's on air with
   Listen Live and the song playing now, on other pages the page title with on air and now
   playing beside it. The same wave opens the footer, and section titles carry a small wave
   under them. Flat panels with fine lines, no shadows. Listen Live: in the hero on the home page,
   in the menu everywhere else, so there is only ever one. */
body.theme-tide{--td-ink:var(--header-solid-text,var(--header-text,#1B1E24));--td-dim:color-mix(in srgb,var(--td-ink) 72%,transparent);--td-line:color-mix(in srgb,var(--td-ink) 16%,transparent);--td-tint:color-mix(in srgb,var(--td-ink) 6%,transparent);
  --td-wave:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60 L0 8 Q 720 92 1440 8 L1440 60 Z'/%3E%3C/svg%3E");
  --td-wave-top:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60 L0 8 Q 720 92 1440 8 L1440 60 Z'/%3E%3C/svg%3E");
  --td-squiggle:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 8'%3E%3Cpath d='M1 5 C 6 1 10 1 15.5 4 S 25 7 30 4 S 39 1 43 4' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");}

/* ---- Header: logo, then the menu, on the Header colour. On air and now playing move out of
   the header into the band below, so they're never shown twice. ---- */
.theme-tide .header-band{padding:1rem 0 0.6rem;}
.theme-tide .header-band__details,.theme-tide .header-band__toggle{display:none !important;}
.theme-tide .nav-band{background:var(--header-bg,#F7F6F3);}
.theme-tide .nav-band a,.theme-tide .nav-band__hamburger{color:var(--td-ink);}
/* Menu hovers and the current page work exactly as in Classic (Alex 1.0.617). */
@media (min-width:881px){.theme-tide .nav-band__inner{border-top:1px solid var(--td-line);}}
.theme-tide .nav-band .btn-listen-outline{background:var(--color-primary);border-color:var(--color-primary);color:var(--accent-text,#fff);}
.theme-tide .nav-band .btn-listen-outline .btn-listen-outline__icon circle{fill:var(--accent-text,#fff);}
.theme-tide .nav-band .btn-listen-outline .btn-listen-outline__icon path{fill:var(--color-primary);}
/* One Listen Live per page: on the home page it's in the hero. */
body.theme-tide:has(.th-hero--tide) .nav-band .btn-listen-outline{display:none;}

/* ---- Home: the hero ---- */
.th-hero--tide{position:relative;background:var(--header-bg,#F7F6F3);color:var(--td-ink);padding:2.6rem 0 6rem;}
.th-tide{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,380px);gap:3rem;align-items:center;}
.th-tide__onair{display:grid;grid-template-columns:132px minmax(0,1fr);gap:1.6rem;align-items:center;}
.th-tide__photo{width:132px;height:132px;border-radius:14px;overflow:hidden;background:var(--td-tint);outline:1px solid var(--td-line);outline-offset:6px;}
.th-tide__photo img,.th-tide__photo svg{width:100%;height:100%;object-fit:cover;display:block;}
.th-tide__label{display:block;font-size:0.95rem;font-weight:700;color:var(--color-primary);margin-bottom:0.35rem;}
.th-tide__onair h2{margin:0 0 0.35rem;font-size:clamp(2rem,3.6vw,3rem);line-height:1.08;letter-spacing:-0.015em;color:inherit;text-wrap:balance;}
.th-tide__onair p{margin:0;color:var(--td-dim);font-size:1.05rem;}
.th-tide__btns{grid-column:2;margin-top:-0.4rem;}
.th-hero--tide .th-btn{background:var(--color-primary);color:var(--accent-text,#fff);border-color:var(--color-primary) !important;margin-top:0;}
.th-hero--tide .th-btn .th-btn__icon circle{fill:var(--accent-text,#fff);}
.th-hero--tide .th-btn .th-btn__icon path{fill:var(--color-primary);}
.th-hero--tide .th-btn:hover{filter:brightness(1.08);}
/* Now playing and the last few songs: a flat panel with fine lines, in the band's own colours. */
.th-tide__card{background:var(--td-tint);color:var(--td-ink);border:1px solid var(--td-line);border-radius:12px;padding:1.3rem 1.4rem;}
.th-tide__np{display:grid;grid-template-columns:72px minmax(0,1fr);gap:1rem;align-items:center;}
.th-tide__np b{display:block;font-size:1.15rem;line-height:1.25;}
.th-tide__np span{display:block;color:var(--td-dim);}
.th-tide__art{width:72px;height:72px;border-radius:8px;overflow:hidden;background:var(--td-tint);}
.th-tide__art img,.th-tide__art svg,.th-tide__card .mp-art img,.th-tide__card .mp-art svg{width:100%;height:100%;object-fit:cover;display:block;}
.th-tide__card .th-tide__np + .th-tide__label{margin-top:1.2rem;padding-top:1rem;border-top:1px solid var(--td-line);}
.th-tide__card .mp-list{list-style:none;margin:0;padding:0;}
.th-tide__card li{display:flex;align-items:center;gap:0.75rem;padding:0.45rem 0;font-size:0.92rem;border:0;}
.th-tide__card li + li{border-top:1px solid var(--td-line);}
.th-tide__card li:first-child:not(:only-child),.th-tide__card li:nth-child(n+5){display:none;}
.th-tide__card li:nth-child(2){border-top:0;}
.th-tide__card .mp-art{width:40px;height:40px;border-radius:6px;overflow:hidden;flex-shrink:0;}
.th-tide__card li b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.th-tide__card li > div,.th-tide__card li > span{min-width:0;}
.th-tide__card .mp-sub{display:block;color:var(--td-dim);opacity:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.th-tide__card .mp-played{display:none;}
.th-tide__wave{position:absolute;left:0;right:0;bottom:-1px;width:100%;height:70px;display:block;}
.th-tide__wave path{fill:var(--color-bg);}
@media (max-width:880px){
  .th-hero--tide{padding:1.6rem 0 4.5rem;}
  .th-tide{grid-template-columns:minmax(0,1fr);gap:1.8rem;}
  .th-tide__onair{grid-template-columns:84px minmax(0,1fr);gap:1.1rem;}
  .th-tide__photo{width:84px;height:84px;outline-offset:4px;border-radius:10px;}
  .th-tide__onair h2{font-size:1.65rem;}
  .th-tide__btns{grid-column:1 / -1;margin-top:0.2rem;}
  .th-tide__btns .th-btn{width:100%;justify-content:center;}
  .th-tide__wave{height:40px;}
}

/* ---- Inner pages: the title band with on air and now playing beside the title ---- */
.theme-tide .mp-pagehead{background:var(--header-bg);color:var(--td-ink);padding:2.6rem 0 5.5rem;position:relative;}
.theme-tide .mp-pagehead :is(h1,a){color:inherit;}
.theme-tide .mp-pagehead :is(.mp-pagehead__date,.mp-pagehead__from,.mp-crumbs){color:var(--td-dim);}
.theme-tide .mp-pagehead h1{font-size:clamp(2.2rem,4.5vw,3.4rem);font-weight:800;line-height:1.05;letter-spacing:-0.015em;text-wrap:balance;}
.theme-tide .mp-pagehead::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:70px;background:var(--color-bg);-webkit-mask:var(--td-wave) center/100% 100% no-repeat;mask:var(--td-wave) center/100% 100% no-repeat;}
.theme-tide .mp-pagehead + :is(.mp-cols,section){margin-top:0.5rem;}
.theme-tide .mp-pagehead .section-inner{display:flex;align-items:center;justify-content:space-between;gap:2.5rem;}
.theme-tide .mp-pagehead__main{min-width:0;flex:1 1 auto;}
.th-tideph{display:flex;flex:0 0 auto;max-width:62%;background:var(--td-tint);border:1px solid var(--td-line);border-radius:12px;padding:0.9rem 1.2rem;gap:1.4rem;}
.th-tideph__item{display:flex;align-items:center;gap:0.85rem;min-width:0;}
.th-tideph__item + .th-tideph__item{padding-left:1.4rem;border-left:1px solid var(--td-line);}
.th-tideph__pic{width:56px;height:56px;border-radius:8px;overflow:hidden;flex-shrink:0;background:var(--td-tint);}
.th-tideph__item:first-child .th-tideph__pic{border-radius:50%;}
.th-tideph__pic img,.th-tideph__pic svg{width:100%;height:100%;object-fit:cover;display:block;}
.th-tideph__txt{min-width:0;line-height:1.3;}
.th-tideph__txt .th-label{display:block;color:var(--color-primary);font-weight:700;font-size:0.85rem;text-transform:none;letter-spacing:0;}
.th-tideph__txt b{display:block;font-size:1rem;color:var(--td-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:210px;}
.th-tideph__txt span[data-mirror]{display:block;color:var(--td-dim);font-size:0.9rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:210px;}
@media (max-width:880px){.theme-tide .mp-pagehead .section-inner{flex-direction:column;align-items:flex-start;gap:1.4rem;text-align:left;}.theme-tide .mp-pagehead__main{width:100%;text-align:left;}.th-tideph{max-width:100%;}}
/* 1.0.620 (Alex, like Spotlight and Vinyl): on wider screens on air and now playing keep the same
   width and place on the right, and a long page title wraps onto more lines instead. Names run to
   two lines rather than being cut short. */
@media (min-width:881px){
  body.theme-tide .mp-pagehead .section-inner{flex-wrap:nowrap !important;}
  .theme-tide .mp-pagehead h1{overflow-wrap:break-word;}
  .th-tideph{flex:0 0 min(640px,58%);max-width:none;box-sizing:border-box;}
  .th-tideph__item{flex:1 1 0;}
}
.th-tideph__txt b{white-space:normal;max-width:none;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;overflow-wrap:anywhere;line-height:1.25;}
.th-tideph__txt span[data-mirror]{max-width:none;}
@media (max-width:600px){
  .theme-tide .mp-pagehead{padding:1.8rem 0 4rem;}
  .theme-tide .mp-pagehead::after{height:40px;}
  .th-tideph{flex-direction:column;gap:0.8rem;width:100%;box-sizing:border-box;}
  .th-tideph__item + .th-tideph__item{padding-left:0;border-left:0;padding-top:0.8rem;border-top:1px solid var(--td-line);}
  .th-tideph__pic{width:48px;height:48px;}
  .th-tideph__txt b,.th-tideph__txt span[data-mirror]{max-width:none;}
}

/* ---- Throughout: flat panels with fine lines, and a small wave under section titles ---- */
.theme-tide :is(.news-section,.our-shows,.schedule,.mp-widget,.about-station__card,.hl-show__slide,.about-station__photo,.mp-panel){box-shadow:none !important;border:1px solid color-mix(in srgb,var(--page-text,#1B1E24) 10%,transparent);border-radius:12px;}
.theme-tide .mp-h2row h2,.theme-tide .mp-widget > h2,.theme-tide .mp-widget > h3,.theme-tide .listen-band h2{position:relative;padding-bottom:0.7rem;}
.theme-tide .mp-h2row h2::after,.theme-tide .mp-widget > h2::after,.theme-tide .mp-widget > h3::after,.theme-tide .listen-band h2::after{content:"";position:absolute;left:0;bottom:0;width:34px;height:7px;background:var(--color-primary);-webkit-mask:var(--td-squiggle) left/100% 100% no-repeat;mask:var(--td-squiggle) left/100% 100% no-repeat;}
.theme-tide .listen-band h2::after{left:50%;margin-left:-17px;}
.theme-tide .mp-h2row{align-items:flex-end;}

/* ---- Footer: opens with the same wave ---- */
body.theme-tide .site-footer{border-top:0 !important;position:relative;margin-top:4.5rem;}
.theme-tide .site-footer::before{content:"";position:absolute;left:0;right:0;bottom:100%;height:60px;margin-bottom:-1px;background:var(--footer-bg,var(--header-bg,#F7F6F3));-webkit-mask:var(--td-wave-top) center/100% 100% no-repeat;mask:var(--td-wave-top) center/100% 100% no-repeat;pointer-events:none;}
@media (max-width:600px){.theme-tide .site-footer::before{height:34px;}.theme-tide .site-footer{margin-top:3rem;}}

/* Labels in sentence case. */
.theme-tide .th-label{text-transform:none;letter-spacing:0;}

/* With a header picture, Tide's hero and title band read in the picture's words colour, and the
   panels get a soft blur so they stay readable on it (1.0.618). */
body.theme-tide:has(.header-band--pic){--td-ink:var(--header-text);--td-tint:color-mix(in srgb,var(--header-bg) 55%,transparent);}
body.hb-full.theme-tide :is(.th-tide__onair h2,.th-tide__onair p,.th-tide__label,.mp-pagehead h1,.mp-pagehead__date,.mp-pagehead__from){text-shadow:var(--header-tshadow,none);}
body.hb-full.theme-tide :is(.th-tide__card,.th-tideph){-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);}
body.hb-full.theme-tide :is(.th-tide__card,.th-tideph) *{text-shadow:none;}

/* 1.0.635 (Alex, Brooklands): on computers the logo is at least 140px tall, like Classic, Cards,
   Vinyl and Spotlight, and starts exactly where the menu's first item block starts. */
@media (min-width:881px){
  .theme-tide .header-band__logo{margin-left:-0.95rem;}
  .theme-tide .header-band__logo img{height:max(var(--logo-h, 112px), 140px);max-width:440px;}
}

/* 1.0.637 (Alex, Brooklands: the words on the Now Playing card "look weird with the shadow"): on a
   header picture the card is dark glass behind white words (light glass behind dark words), whatever
   the header colour is, and nothing inside it has the glow. */
body.theme-tide:has(.header-band--pic) :is(.th-tide__card,.th-tideph){background:var(--header-glass,rgba(10,14,20,0.5));--td-ink:var(--glass-ink,#FFFFFF);--td-dim:color-mix(in srgb,var(--td-ink) 72%,transparent);--td-line:color-mix(in srgb,var(--td-ink) 16%,transparent);--td-tint:color-mix(in srgb,var(--td-ink) 6%,transparent);color:var(--td-ink);}
body.theme-tide :is(.th-tide__card,.th-tideph) *{text-shadow:none !important;}
/* 1.0.638 (Alex): the on-air photo follows Theme > Corners like the artwork (was always a circle). */
html.corners-square .theme-tide .th-tide__photo,html.corners-square .theme-tide .th-tide__art{border-radius:3px;}
/* 1.0.643 (Alex: "this isn't very clear, we need a pill for on air now"): On Air Now in the hero is
   a pill in the station colour, so it reads on any header picture. */
.theme-tide .th-tide__onair .th-tide__label{display:inline-block;background:var(--color-primary);color:var(--accent-text,#fff);padding:0.28rem 0.8rem;border-radius:999px;font-size:0.85rem;line-height:1.2;margin-bottom:0.6rem;text-shadow:none !important;}
html.corners-square .theme-tide .th-tide__onair .th-tide__label{border-radius:3px;}
/* 1.0.643 (Alex: "on every other theme it's in capitals"): Bay's On Air Now, Now Playing and
   Recently played labels are small capitals like the other themes' pills. */
.theme-tide .th-tide__label{text-transform:uppercase;letter-spacing:0.04em;font-size:0.78rem;}
.theme-tide .th-tide__onair .th-tide__label{font-size:0.75rem;padding:0.32rem 0.75rem;}
/* 1.0.645 (Alex): the header advert sits beside the logo, as on Cards. */
.theme-tide .ad--beside-logo{width:min(var(--ad-w), 728px);max-width:62%;margin:0 0 0 auto;flex:0 1 auto;}
.theme-tide .header-band__inner:has(.ad--beside-logo) .header-band__details,
.theme-tide .header-band__inner:has(.ad--beside-logo) .header-band__toggle{display:none !important;}
@media (max-width:880px){.theme-tide .header-band__inner:has(.ad--beside-logo){flex-wrap:wrap;}.theme-tide .ad--beside-logo{max-width:100%;width:100%;margin:0 0 1.25rem;order:-1;}}
/* 1.0.645 (Alex: "nav bar changes size when clicking from home to secondary page"): inner pages
   carry Listen Live in the menu bar, which made the bar taller than on the home page (where the
   button lives in the header instead). The bar is now always the inner-page height, so nothing jumps. */
.theme-tide .nav-band__inner{min-height:78px;}
@media (max-width:880px){.theme-tide .nav-band__inner{min-height:81px;}}
/* 1.0.645 (Alex, Brooklands on iPhone): a long song title made the one-column phone layout
   wider than the screen; the column can't grow past the screen now, and titles end in … */
.th-tide > *,.th-tide__onair > *,.th-tide__card,.th-tide__np > div{min-width:0;}
.th-tide__np b,.th-tide__np span{overflow-wrap:anywhere;}
.th-tide__onair h2{overflow-wrap:anywhere;}
/* 1.0.646 (Alex, Brooklands: words on a bright photo "not very clear"): with Shade None a soft
   local shade sits behind the words on the picture (--text-scrim, transparent otherwise); the
   line under the show name and page title uses the full word colour, a little heavier; the
   on-air photo loses its faint outline on a picture; the glass boxes are more solid and frosted. */
body.theme-tide:has(.header-band--pic) :is(.th-tide__onair p,.mp-pagehead__date,.mp-pagehead__from,.mp-crumbs){color:var(--header-text);font-weight:500;opacity:0.95;}
body.theme-tide:has(.header-band--pic) .th-tide__photo{outline:0;}
body.theme-tide:has(.header-band--pic) :is(.th-tide__card,.th-tideph){-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);}
/* 1.0.646: the On Air Now / Now Playing labels beside page titles are small capitals too, like the home page. */
.th-tideph__txt .th-label{text-transform:uppercase;letter-spacing:0.04em;font-size:0.75rem;}
/* 1.0.646 (Alex: "why is there a secondary line around here on schedule??"): a block inside a
   page's card (Schedule, Shows, News...) has no second border; the page card is the only box. */
.theme-tide .mp-panel :is(.news-section,.our-shows,.schedule,.mp-widget,.mp-panel){border:0 !important;border-radius:0;}
/* 1.0.647 (Alex: the soft shades "looked awful"): no smudges. When the picture runs behind the
   whole header, the menu sits on a crisp full-width bar in the menu colour (90%), its words
   following that colour with no glow; the words over the picture get a tight, crisp shadow. */
html.hb-top body.hb-full.theme-tide .nav-band{background:color-mix(in srgb,var(--nav-bg) 90%,transparent) !important;}
html.hb-top body.hb-full.theme-tide .nav-band{--nav-text:var(--nav-solid-text);}
html.hb-top body.hb-full.theme-tide .nav-band :is(.nav-band__links > a,.nav-band__links > .mp-item > a,.nav-band__hamburger){color:var(--nav-solid-text);text-shadow:none;}
html.hb-top body.hb-full.theme-tide .nav-band :is(.nav-band__links > a.mp-cur,.nav-band__links > .mp-item > a.mp-cur){color:var(--nav-active-text);}
body.theme-tide:has(.header-band--pic) :is(.th-tide__onair h2,.th-tide__onair p,.mp-pagehead h1,.mp-pagehead__date,.mp-pagehead__from){text-shadow:0 1px 2px rgba(0,0,0,0.5),0 2px 8px rgba(0,0,0,0.45) !important;}
/* 1.0.649 (Alex: on air "still isn't working, perhaps this needs to be on a card like now
   playing"): on a header picture, On air (photo, show, time and Listen Live) sits on the same
   glass card as Now playing, so the two read as a pair on any photo. */
body.theme-tide:has(.header-band--pic) .th-tide__onair{justify-self:start;align-self:center;background:var(--header-glass,rgba(10,14,20,0.62));-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid color-mix(in srgb,var(--glass-ink,#fff) 16%,transparent);border-radius:12px;padding:1.4rem 1.6rem;--td-ink:var(--glass-ink,#FFFFFF);--td-dim:color-mix(in srgb,var(--td-ink) 72%,transparent);--td-line:color-mix(in srgb,var(--td-ink) 16%,transparent);--td-tint:color-mix(in srgb,var(--td-ink) 6%,transparent);color:var(--td-ink);}
body.theme-tide:has(.header-band--pic) .th-tide__onair h2{color:var(--td-ink);}
body.theme-tide:has(.header-band--pic) .th-tide__onair p{color:var(--td-dim) !important;}
body.theme-tide:has(.header-band--pic) .th-tide__onair *{text-shadow:none !important;}
html.corners-square body.theme-tide:has(.header-band--pic) .th-tide__onair,html.corners-square .theme-tide .th-tide__card,html.corners-square .theme-tide .th-tideph{border-radius:3px;}
@media (max-width:880px){body.theme-tide:has(.header-band--pic) .th-tide__onair{justify-self:stretch;padding:1.2rem 1.3rem;}}
body.theme-tide:has(.header-band--pic) .th-tide__onair :is(h2,p,.th-tide__label){text-shadow:none !important;}
/* 1.0.649 (Alex: "spacing is not right here, needs more padding"): equal, generous space above and
   below the logo (and the advert beside it), on every page. */
.theme-tide .header-band{padding:2.25rem 0;}
@media (max-width:880px){.theme-tide .header-band{padding:1.35rem 0;}}
/* 1.0.649: the On air box beside page titles matches the home page cards (same glass, corners,
   padding and labels). */
body.theme-tide:has(.header-band--pic) .th-tideph{border:1px solid color-mix(in srgb,var(--glass-ink,#fff) 16%,transparent);padding:1.2rem 1.4rem;}
/* 1.0.650 (Alex, option A): on a header picture the page title sits on a glass card like the
   home and On Air cards, with no shadow on the words. */
body.theme-tide:has(.header-band--pic) .mp-pagehead__main{flex:0 1 auto !important;width:auto;max-width:100%;min-width:0;box-sizing:border-box;background:var(--header-glass,rgba(10,14,20,0.62));-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid color-mix(in srgb,var(--glass-ink,#fff) 16%,transparent);border-radius:12px;padding:1.1rem 1.6rem;color:var(--glass-ink,#fff);}
body.theme-tide:has(.header-band--pic) .mp-pagehead__main :is(h1,p,.mp-pagehead__date,.mp-pagehead__from){color:var(--glass-ink,#fff) !important;text-shadow:none !important;}
body.theme-tide:has(.header-band--pic) .mp-pagehead__main h1{margin:0;overflow-wrap:anywhere;}
html.corners-square body.theme-tide:has(.header-band--pic) .mp-pagehead__main{border-radius:3px;}
@media (max-width:880px){body.theme-tide:has(.header-band--pic) .mp-pagehead__main{padding:0.85rem 1.2rem;}}
/* 1.0.652 (Alex): one spacing scale in the Now playing / Recently played card. Each label sits
   0.6rem above what it names, and every divider has the same 0.85rem above and below it. */
.theme-tide .th-tide__card .th-tide__label{line-height:1.2;margin-bottom:0.6rem;}
.theme-tide .th-tide__card .th-tide__np + .th-tide__label{margin-top:0.85rem;padding-top:0.85rem;}
.theme-tide .th-tide__card li{padding:0.85rem 0;}
.theme-tide .th-tide__card :is(li:nth-child(2),li:only-child){padding-top:0;}
.theme-tide .th-tide__card :is(li:nth-child(4),li:last-child){padding-bottom:0;}
@media (max-width:600px){
  .theme-tide .th-tideph{gap:0.85rem;}
  .theme-tide .th-tideph__item + .th-tideph__item{padding-top:0.85rem;}
}
/* 1.0.653 (Alex): the rule from 1.0.278, header On air and Now playing names are never cut short.
   Long show and song names wrap onto as many lines as they need, and the presenter photo has the
   same corners as the song artwork (rounded, or square on square-corner sites), never a circle. */
.theme-tide .th-tideph__txt b{display:block;-webkit-line-clamp:unset;line-clamp:none;overflow:visible;}
.theme-tide .th-tideph__txt span[data-mirror]{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;}
.theme-tide .th-tideph__item:first-child .th-tideph__pic{border-radius:8px;}
html.corners-square .theme-tide .th-tideph__pic{border-radius:3px !important;}
/* 1.0.656 (Alex, option A): a short solid bar in the brand colour under section, page and widget
   titles, replacing the wave. Widget titles (home and sidebars) get it too. */
.theme-tide .mp-widget > .about-station__card-title{position:relative;padding-bottom:0.7rem;margin-bottom:1rem;}
.theme-tide :is(.mp-h2row h2,.mp-widget > h2,.mp-widget > h3,.listen-band h2,.mp-widget > .about-station__card-title)::after{content:"";position:absolute;left:0;bottom:0;width:28px;height:3px;border-radius:3px;background:var(--color-primary);-webkit-mask:none;mask:none;}
.theme-tide .listen-band h2::after{left:50%;margin-left:-14px;}
html.corners-square .theme-tide :is(.mp-h2row h2,.mp-widget > h2,.mp-widget > h3,.listen-band h2,.mp-widget > .about-station__card-title)::after{border-radius:0;}
/* 1.0.657 (Alex): the button beside a section title sits level with the title words, not with
   the bar underneath them. */
.theme-tide .mp-h2row{align-items:center;}
@media (min-width:761px){.theme-tide .mp-h2row > :not(h2){margin-bottom:0.7rem;}}
/* 1.0.663 (Alex: gradient menu "looks weird and the hover disappears"): drop-down words follow
   the menu colour they sit on (they used the header's words, dark on the dark menu). */
.theme-tide .nav-band .mp-dd a{color:var(--nav-solid-text,var(--nav-text));text-shadow:none;}
.theme-tide .nav-band .mp-dd a.mp-cur{color:var(--nav-active-text);}
/* 1.0.675 (Alex: still low on Brooklands): with a short show name the photo was taller than the
   words, so the words sat in the middle of the photo's row and Listen Live waited below the photo.
   Now the photo spans both rows, the words sit at the bottom of the first and the button straight
   under them, the same 12px whatever the name's length or the header background. */
.theme-tide .th-tide__onair{row-gap:12px;}
.theme-tide .th-tide__photo{grid-row:1 / span 2;align-self:center;}
.theme-tide .th-tide__onair > .th-tide__photo + *{grid-column:2;grid-row:1;align-self:end;}
.theme-tide .th-tide__btns{grid-column:2;grid-row:2;align-self:start;margin-top:0;}
@media (max-width:880px){
  .theme-tide .th-tide__photo{grid-row:1;}
  .theme-tide .th-tide__onair > .th-tide__photo + *{align-self:center;}
  .theme-tide .th-tide__btns{grid-column:1 / -1;margin-top:2px;}
}
