@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root { 
  --content-margin: 10%; 
  /* backdrop fade, lower the --body-bg share to thin the image further */
  --pv-header-bg-fade: color-mix(in srgb, var(--body-bg) 20%, transparent);
  /* --pv-header-bg-image is set in functions.php themeStyles() */
  --form-primary:#E4E4E7;
  --form-secondary:#71717B;
  --form-text:#3F3F47;
  --form-text-highlight:#00B095;
}
@media (max-width: 640px) {
  :root { --content-margin: 6%; }
}

/* Reset / base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
    background-color: var(--body-bg);
    /* pinned to the right edge, has to start at the top of #site-header
    fallback is the desktop utility bar with no ad */
    background-image: var(--pv-header-bg-image);
    background-repeat: no-repeat;
    background-position: right var(--pv-header-bg-offset, 72px);
    background-size: 100%;
    font-family: var(--body-font);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
/* veil the backdrop with the page background to thin it out
   @supports guards color-mix, without it the image would drop out entirely */
@supports (background: color-mix(in srgb, red 50%, transparent)) {
  body {
    background-image:
      linear-gradient(var(--pv-header-bg-fade), var(--pv-header-bg-fade)),
      var(--pv-header-bg-image);
  }
}

/* bare pages (e.g. /tv-activate) have no header for the backdrop to sit behind */
body.sc-bare-page {
  background-image: none;
}

html {
  background-color: var(--utility-bg);
  /* Keeps focused elements and in-page jumps clear of the sticky header and
     the bottom-docked utility bar (WCAG 2.4.11) — measured by
     initScrollPadding() in script.js */
  scroll-padding-top: var(--pv-sticky-top, 200px);
  scroll-padding-bottom: var(--pv-sticky-bottom, 0px);
}

a { color: var(--highlight-text); }
a:hover { color: var(--highlight-text-hover); }

h1, h2, h3,  h4,  h5,  h6 {
	font-family: var(--heading-font) !important;
}
h1 {
  font-size:60px;
  font-weight:700;
}
h2 {
  font-size:30px;
  font-weight:700;
}
h3 {
  font-size:20px;
  font-weight:500;
}
p, th, td, li {
  font-family: var(--body-font) !important;
}

.content-width {
  max-width:var(--content-width);
  margin: 0 auto;
  padding: 35px;
}
.content-container.content-width {
  padding-left: var(--content-margin);
  padding-right: var(--content-margin);
}

@media (max-width: 740px) {
  .content-width { padding: 20px; }
  h1 { font-size:28px; }
  h2 { font-size:20px; }
  h3 { font-size:18px; }
  h4, h5 { font-size:16px; }
}

/*********************************
--form-primary:#E4E4E7;
--form-secondary:#71717B;
--form-text:#3F3F47;
--form-text-highlight:#00B095;
*/
/* Contest Page */
/**********************************/
.scwin.scWidgetContainer {
  padding: 30px;
  border: 4px solid var(--form-primary);
  border-radius: 25px;
}
.scwin .progress_steps li.step::before {
  background-color: var(--body-content-bg)!important;
  border: 2px solid var(--form-primary);
  color: var(--form-secondary);
}
.scwin .progress_steps {
  color: var(--form-text);
}
.scwin .progress_steps li.step.active::before {
  border: 2px solid var(--form-text-highlight);
  color: var(--form-text-highlight);
}
.scwin .progress_steps .active {
  color: var(--form-text-highlight);
}
.scwin .progress_steps li.step.complete::before {
  border: 2px solid var(--form-primary);
  color: var(--form-primary);
}
.scwin .progress_steps li.step.complete {
  color: var(--form-primary);
}
.scwin #entryFormSubmitBtn,
.scwin #checkEmailBtn,
.scwin #loginBtn, 
.scwin #signupBtn {
  border: 2px solid var(--body-text);
  color: var(--body-text);
  box-shadow: 0px 2px 0px 2px #FFFFFF;
  background: radial-gradient(165% 165% at 50% -65%, transparent 72%, rgba(0,0,0,.2) 73%, rgba(0,0,0,.2) 100%);
  border-radius: 999px;
  text-transform:uppercase;
  padding:16px;
  background-color: var(--primary-accent);
  text-shadow: 0px 2px 0px var(--primary-accent);

}
.scwin .btn.btn-white.btn-block {
  border: 2px solid var(--body-text);
  color: var(--body-text);
  border-radius: 999px;
  text-transform:uppercase;
  padding:16px;
}
.scwin input[type='text'],
.scwin input[type='tel'],
.scwin input[type='email'],
.scwin input[type='password'] {
  border-radius:12px;
}

/**********************************/
/* Search Page */
/**********************************/
/* The search page is a shared module (themes/modules/search/search.php) and its
   form comes from socast_get_search_form() in themes/common_functions.php, so
   the field and submit button arrive with the platform's square, hairline
   styling. Bring them in line with the contest entry form above: 12px fields,
   and the same pill/accent/black-border treatment on the button.

   Scoped to #site-search-form, the id the search page's own form carries — this
   theme's header search is separate markup (.header-nav-search-*) and stays as
   it is.

   The !importants are unavoidable: common_functions.php prints
   .primary_bgd_color / .primary_border_color per account as !important rules,
   and those are the classes the module puts on this button and input. */
#site-search-form .search-form-modern .bar {
  height: 56px;
}
#site-search-form .search-form-modern input {
  height: 56px;
  padding: 8px 68px 8px 20px;
  border: 2px solid var(--form-primary) !important;
  border-radius: 12px;
  color: var(--form-text);
}
#site-search-form .search-form-modern input::placeholder {
  color: var(--form-secondary);
}
#site-search-form .search-form-modern input:focus {
  border-color: var(--form-text-highlight) !important;
  outline: none;
}
/* Same button as .scwin #checkEmailBtn, sized down to the icon-only square the
   module positions inside the field. */
#site-search-form .search-form-modern button {
  top: 8px;
  right: 8px;
  height: 40px;
  width: 40px;
  border: 2px solid var(--body-text);
  border-radius: 5px;
  background-color: var(--primary-accent) !important;
  background-image: radial-gradient(165% 165% at 50% -65%, transparent 72%, rgba(0,0,0,.2) 73%, rgba(0,0,0,.2) 100%);
  /* The module drops a bare <svg> in the button, so it sits on the text
     baseline; centring it is the button's job. */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 0;
}
#site-search-form .search-form-modern button:hover {
  opacity: 1;
  background-color: var(--secondary-accent) !important;
}
/* The module's icon is white on the platform's dark button; on the accent fill
   it reads as the button label does on the contest buttons — body text colour. */
#site-search-form .search-form-modern button svg,
#site-search-form .search-form-modern button svg .path {
  fill: var(--body-text);
}
/* Sort / Type / Author keep the field treatment, so the row reads as one form. */
#site-search-form .search_filter_group label {
  color: var(--form-text);
  margin-bottom: 6px;
}
#site-search-form .search_filter_group .form-control {
  height: 48px;
  padding: 8px 16px;
  border: 2px solid var(--form-primary);
  border-radius: 12px;
  color: var(--form-text);
  background-color: var(--body-content-bg);
  box-shadow: none;
}
#site-search-form .search_filter_group .form-control:focus {
  border-color: var(--form-text-highlight);
  outline: none;
  box-shadow: none;
}

/**********************************/
/* Article Page */
/**********************************/
article,
.content-container > .type-page { /* pages render as a <div>, see content-page.php */
  position:relative;
}
/* Comments normally provide the trailing spacing below the article — restore
   it directly when the site-wide comment provider is 'none' and nothing
   renders there (see templates/content-post-single.php). */
article.comments-disabled {
  margin-bottom: 40px;
}

.article-wrapper {
  display:flex;
  column-gap:40px;
}
.article-content {
  position:relative;
  width:auto;
  flex: 1 1 auto;
  /* Without this, a full-bleed (100vw) descendant like .shorts-widget-wrap
     inflates this flex item past the flex container's width, since flex
     items default to min-width:auto (content-based, not 0). */
  min-width: 0;
}
.article-sidebar {
  position:relative;
  width:475px;
  display:flex;
}
/* Contest (sc_win) sidebar has no prev/next nav arrows, so it only needs to
   match .post-media-wrapper's width instead of the post template's 475px
   (post-media + nav column). */
.article-sidebar.image-only {
  width: 375px;
}

.post-media-wrapper {
  width: 375px;
  position:sticky;
  top:200px;
  align-self: flex-start;
  box-shadow: 0px 12px 24px 0px #0000001A;
  border-radius: 1.5rem;
}

/* No overflow:hidden here — the inner .post-media does the clipping, so corner
   stickers can overhang the card edge the same way they do on the shorts and
   grid cards. */
.post-media-item {
  position: relative;
  width: 375px;
  height: 70vh; /* fallback for browsers without svh */
  height: 70svh;
  min-height: 340px;
  max-height: 650px;
  border-radius: 1.5rem;
  border: 7px solid var(--primary-accent, var(--body-content-bg));
  outline: 2px solid #FFFFFF;
  outline-offset: 0;
  background: var(--primary-accent, var(--body-content-bg));
  box-shadow: 0 20px 35px -24px rgba(0, 0, 0, .3);
  box-sizing: border-box;
}
.post-media-item.has-video { cursor: pointer; }
.single-sc_win .post-media-item {
  max-height: 450px;
}

/* Clipped media box — inset:0 sits inside the 7px border (box-sizing:border-box),
   so the inner radius is the outer radius minus that border. */
.post-media {
  position: absolute;
  inset: 0;
  border-radius: calc(1.5rem - 7px);
  overflow: hidden;
  background-color: #111;
}
.post-media img,
.post-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
/* Video sits under the poster until it previews on hover (matches the shorts
   card). While it's lifted into the modal the card keeps showing the poster. */
.post-media .media-video { opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s linear .5s; }
.post-media-item.has-video:hover .media-video,
.post-media-item.is-playing .media-video { opacity: 1; visibility: visible; transition-delay: 0s; }

.post-media-item .media-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  border-radius: 999px;
  background-color: #000000B3;
  border: 2px solid #FFFFFF;
  display: flex; align-items: center; justify-content: center;
  /* Decorative — the whole card is the click target. */
  pointer-events: none;
  z-index: 4;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), background-color .2s ease;
}
.post-media-item.has-video:hover .media-play-btn {
  transform: translate(-50%, -50%) scale(1.08);
  background-color: #000000E6;
}
.post-media-item .media-play-btn svg { width: 24px; height: 24px; fill: #FFFFFF!important; margin-left: 3px; }

.post-media-item .media-duration {
  position: absolute;
  bottom: 0.85rem; left: 0.85rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.35rem 0.7rem 0.35rem 0.55rem;
  background-color: #00000040;
  color: #FFFFFF;
  border-radius: 999px;
  font-size: 0.78rem; font-weight: 700;
  z-index: 3;
  backdrop-filter: blur(8px);
}
.post-media-item .media-duration svg { width: 12px; height: 12px; fill: currentColor; }

/* Stickers are rendered by PattisonContentGridRenderer::renderStickers(), so
   they reuse the shared .pw-slide-sticker class/positioning. */
.post-media-item .pw-slide-sticker {
  position: absolute;
  width: clamp(40px, 24%, 64px);
  aspect-ratio: 1 / 1;
  object-fit: contain;
  z-index: 6;
  translate: -50% -50%;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.25));
  transition: scale .25s cubic-bezier(.34, 1.56, .64, 1), rotate .25s cubic-bezier(.34, 1.56, .64, 1);
}
.post-media-item:hover .pw-slide-sticker { scale: 1.1; rotate: 4deg; }

/* Program Host Page Style */
.program_host_page .host_details h1 {
  line-height: 120%;
  margin: 15px 0 30px 0;
}
.program_host_page .host_details {
  padding:30px;
}
.program_host_page img {
  border: 8px solid var(--primary-accent);
  outline: 2px solid #FFFFFF;
  box-shadow: 0px 2px 4px 0px #0000001A;
  box-shadow: 0px 8px 16px 0px #0000001A;
  box-shadow: 0px 12px 24px 0px #0000001A;
  border-radius:25px;
}
/**********************************/
/* Post video modal */
/**********************************/
/* The <video> element is physically moved into this modal on open and returned
   to its card on close (see post-media.js), so playback position and any
   attached HLS stream survive the transition. */
/* Enter/exit are driven by the .is-open class rather than [hidden] alone, since
   display:none can't be transitioned — post-media.js unhides first, forces a
   reflow, then adds the class, and on close waits out the transition before
   re-hiding. Its CLOSE_MS must stay longer than the durations below. */
.post-video-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vmin;
  opacity: 0;
  transition: opacity .25s ease;
}
.headerType-iframe .post-video-modal { bottom: 100pt; }  /* move above app footer menu */
.post-video-modal.is-open { opacity: 1; }
.post-video-modal[hidden] { display: none; }

.post-video-modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, .85);
  backdrop-filter: blur(6px);
}

.post-video-modal-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: min(1280px, 100%);
  max-height: 100%;
  /* Slight rise + scale so the video reads as growing out of the card. */
  opacity: 0;
  transform: scale(.92) translateY(12px);
  transition: transform .3s cubic-bezier(.22, 1, .36, 1), opacity .25s ease;
}
.post-video-modal.is-open .post-video-modal-inner {
  opacity: 1;
  transform: scale(1) translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .post-video-modal,
  .post-video-modal-inner {
    transition-duration: .01ms;
  }
  .post-video-modal-inner { transform: none; }
  .post-video-modal.is-open .post-video-modal-inner { transform: none; }
}
/* Overrides the card's absolute/cover rules now that the same element is here. */
.post-video-modal-inner video {
  position: static;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 90svh;
  object-fit: contain;
  border-radius: 12px;
  background-color: #000000;
  display: block;
  opacity: 1;
}

/* Sits in the modal's own top-right corner, not the video's, so it stays put
   regardless of the video's aspect ratio. Stacked above .post-video-modal-inner
   (which makes a stacking context via its transform) by z-index and DOM order. */
.post-video-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 2px solid #FFFFFF;
  background-color: #000000B3;
  color: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background-color .2s ease, transform .2s ease;
}
.post-video-modal-close:hover { background-color: #000000; transform: scale(1.08); }
.post-video-modal-close svg { width: 20px; height: 20px; }

@media (max-width: 640px) {
  .post-video-modal { padding: 0; }
  .post-video-modal-inner { max-width: 100%; }
  .post-video-modal-inner video { border-radius: 0; max-height: 100svh; }
}

/* Page must not scroll behind the open modal. */
body.post-video-modal-open { overflow: hidden; }

/* Same for the mobile nav panel — it's a fixed full-viewport overlay, so the
   page behind it must stay put. Applied to <html> as well because iOS Safari
   ignores overflow:hidden on <body> alone. initMobileNav() only adds this
   below 1025px, where the panel exists. */
html.header-nav-mobile-open,
body.header-nav-mobile-open { overflow: hidden; }

.article-badge {
  padding: 12px 20px !important;
  border-radius: 24px;
  background-color: var(--primary-accent);
  color: var(--body-content-bg);
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
  line-height: 10px;
  text-transform: uppercase;
  margin-bottom:40px;
  white-space: nowrap;
}

.endless-scroll-divider {
  margin:60px 0px;
}

.article-nav-wrapper {
	width: 100px;
	display: flex;
	justify-content: flex-end;
}
.article-nav-group {
	border:2px solid var(--tertiary-accent);
	background-color:var(--body-content-bg);
	border-radius:16px;
	overflow:hidden;
	position: sticky;
	top: 300px;
}
.article-nav-up, .article-nav-down {
  background-color:var(--tertiary-accent);
  width: 55px;
  height: 55px;
  text-align: center;
  padding: 18px;
  display:block;
}
.article-nav-up {
	margin-bottom:1px;
}
.article-nav-up:hover, .article-nav-down:hover {
	background-color: color-mix(in srgb, var(--tertiary-accent) 95%, black);
}
.article-nav-up path, .article-nav-down path {
	fill: var(--body-secondary-text);
    stroke: var(--body-secondary-text);
}
.article-nav-up.disabled, .article-nav-down.disabled {
  background-color:var(--tertiary-accent);
  opacity: 0.6;
  cursor: default;
}
.article-nav-up.disabled path, .article-nav-down.disabled path {
  opacity: 0.6;
}

@media (max-width: 1024px) {
  .post-media-wrapper {
    top:170px;
  }
  .article-nav-group {
    top:200px;
  }
}
/* was 840px */
@media (max-width: 1024px) {
  .article-wrapper {
    flex-wrap: wrap;
  }
  .has_media .article-content {
    padding-top: 40px;
  }
  .article-content {
    order:2;
    width:100%
  }
  .article-sidebar,
  .article-sidebar.image-only {
    order:1;
    width:100%
  }
  .post-media-wrapper,
  .post-media-item {
    width: 100%;
  }

  /* .article-nav-wrapper {
    display:none;
  } */
  .endless-scroll-divider {
    margin:30px 0px;
  }
}

@media (max-width: 640px) {
  .post-media-item {
    max-height: 400px;
  }
}


/**********************************/
/* Comments */
/**********************************/
/* Class-based, not #respond/#comment/#comments: the endless-scroll feed holds one
   comment block per loaded post, so those ids are suffixed per post id (see
   templates/comments-post.php) and only the classes are shared. */
.comment-respond {
  background-color: transparent;
  padding: 0 0 14px 0px;
  border: 0px;
  position: relative;
  margin: 0 0 25px;
}
.comment-textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--nav-secondary-text);
  border-radius: 25px;
  margin-bottom: 12px;
  padding: 30px;
}
.post-comments { padding-top:40px; }
.post-comments .logged-in-as {
  position: absolute;
  top: 0px;
  right: 0;
  text-align: right;
}
.comment-respond .form-submit {
  text-align:right;
}
.comment-respond .form-submit input[type="submit"] {
  color: var(--body-text);
  background-color: var(--body-content-bg);
  border: 2px solid var(--body-text);
  border-radius: 25px;
  padding: 14px 24px;
  text-transform: uppercase;
  cursor:pointer;
  font-weight: 700;
}
.comment-form-comment {
  margin-bottom:0px;
}
.comment-form-notice {
  margin: 0 0 12px;
  font-weight: 600;
}
.comment-form-notice.is-error { color: #D64545; }
@media (max-width: 740px) {
  .post-comments .logged-in-as {
    position: relative;
    top: unset;
    right: unset;
    text-align: left;
  }
}

/**********************************/
/* Skip Links */
/**********************************/
/* Off-screen until focused (unlike .sr-text, which is never shown —
   a skip link must become visible so sighted keyboard users can see it). */
.skip-link {
  position: absolute;
  top: -999px;
  left: 0;
  z-index: 9999;
  padding: 12px 20px;
  background: var(--body-bg);
  color: var(--highlight-text);
  font-family: var(--body-font);
  font-weight: 600;
  text-decoration: underline;
}
.skip-link:focus {
  position: fixed;
  top: 10px;
  left: 10px;
}

/**********************************/
/* Ad Placement */
/**********************************/
.ads-header-container, .ads-footer-container, .sc-ad-block {
    background: var(--utility-bg);
    color: var(--utility-text);
}
.ads-footer-container {
  position:relative;
}
.ads-header .sc-ad-block, 
.ads-footer .sc-ad-block,
#blog_header_ad {
    padding:20px;
    text-align:center;
}
.post-fullpage-ad {
  overflow-x: clip;
  padding: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.post-fullpage-ad .sc-ad-block {
  text-align:center;
  background: var(--utility-text);
  color: var(--utility-bg);
}
.sc-ad-block.is-empty,
.sc-ad-block:empty,
.sc-ad-block.is-empty,
.sc-ad-block:empty,
#blog_header_ad:empty,
.slot-mobile_footer, 
.slot-mobile {
    display:none;
}
.sc-ad-block:before, .sc-ad-content-block:before {
  font-size:10px;
}
#blog_header_ad:before {
  content: "Advertisement";
  margin-bottom: 5px;
  display: block;
  text-align: center;
  opacity: 0.75;
  font-size: 0.5rem;
  line-height: 1em;
}
.fake-ads-banner {
  background-color: var(--primary-accent);
  color: var(--body-text);
  margin: 0px auto;
  display: flex!important;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.fake-ads-banner-728-90 {
  width: 728px;
  height: 90px;
}
.fake-ads-banner-300-250 {
  width: 300px;
  height: 250px;
}
.fake-ads-banner-320-50 {
  width: 320px;
  height: 50px;
}
.fake-ads-full-page {
  width: 100%;
  height: 500px;
}

@media (max-width: 740px) {
  .slot-mobile_footer, .slot-mobile {
    display:block;
  }
  .slot-footer, .slot-leaderboard {
    display:none;
  }
}


/**********************************/
/* Utility Bar */
/**********************************/
:root {
    --utility-nav-ease: cubic-bezier(.62,.16,.13,1.01);
    --utility-nav-duration: 700ms;
    /* Nav hover: snap in, ease back out. Every hover surface in the header
       (link, chevron, buttons) shares these so nothing lags behind anything
       else it sits next to */
    --nav-hover-in-duration: 120ms;
    --nav-hover-in-ease: cubic-bezier(.4,0,.2,1);
    --nav-hover-out-duration: 450ms;
    --nav-hover-out-ease: cubic-bezier(.33,1,.68,1);
}
.utility-nav-bar,
.utility-nav-mobile-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--utility-bg);
  color: var(--utility-text);
  width: 100%;
}
.utility-nav-corner {
  position: absolute;
  top: 100%;
  width: 16px;
  height: 16px;
  color: var(--utility-bg);
  pointer-events: none;
}
.utility-nav-mobile-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  display:none;
  padding: 12px 0px;
}
.utility-nav-mobile-bar p {
  text-align:center;
}
.utility-nav-corner-left  { left: 0; }
.utility-nav-corner-right { right: 0; transform: scaleX(-1); }

/* Inner / row */
.utility-nav-inner { width: 100%; padding: 0 28px; }

.utility-nav-row {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

/* Left & right sections (equal-flex) */
.utility-nav-section {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 28px;
  overflow: hidden;
  min-width: 0;
}
.utility-nav-left  { justify-content: flex-start; }
.utility-nav-right { justify-content: flex-end; }

/* Labels (primary-coloured small caps) */
.utility-nav-label,
.utility-nav-mobile-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--primary-accent);
  line-height: 1;
  height: 16px;
  white-space: nowrap;
  margin:0px;
  padding:0px;
}
.utility-nav-mobile-label {
  margin: 0 auto;
  font-size:14px;
  font-weight: 600;
}
.utility-nav-mobile-label span {
  margin: 0 auto;
  font-size:14px;
  font-weight: 600;
  color: var(--utility-nav-text);
  padding-left: 10px;
}
.utility-nav-icon { width: 16px; height: 16px; flex-shrink: 0; }
.utility-nav-mobile-phone, .utility-nav-mobile-phone:hover { color: var(--primary-accent); }

/* Contact block */
.utility-nav-contact,
.utility-nav-mobile-contact { display: flex; flex-direction: column; gap: 4px; }
.utility-nav-phone {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  color: var(--utility-nav-text);
}
.utility-nav-phone:hover { color: var(--utility-nav-text); }

/* Social links */
.utility-nav-social { display: flex; flex-direction: column; gap: 4px; }
.utility-nav-social-links { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.utility-nav-social-link { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; color: var(--utility-nav-text); transition: opacity .2s; }
.utility-nav-social-link:hover { opacity: .7; }
.utility-nav-social-link svg,
.utility-nav-social-link span svg { width: 20px; height: 20px; display: block; }

/* Center group (On Air · Play · Now Playing) */
.utility-nav-center-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* On Air widget */
.utility-nav-onair {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.utility-nav-onair-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
}

/* Now Playing widget */
.utility-nav-nowplaying {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.utility-nav-track {
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
  min-width: 0;
}
.utility-nav-track-title { font-size: .875rem; font-weight: 700; color: var(--utility-nav-text); }
.utility-nav-track-artist { font-size: .75rem; font-weight: 500; opacity: .6; color: var(--utility-nav-text); margin-left: 6px; }

/* Shared thumbnail */
.utility-nav-thumb {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  background: #000000;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,.2);
}
.utility-nav-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Hidden until the image has loaded (JS adds .is-loaded) */
  opacity: 0;
  transition: opacity 0.3s ease;
}
.utility-nav-thumb img.is-loaded { opacity: 1; }

/* On Air icon/marquee link to program page (only active once JS supplies an href) */
.utility-nav-onair-link { text-decoration: none; color:var(--utility-nav-text); }
/* No program page to link to — script.js drops the href, so it's plain text */
.utility-nav-onair-link:not([href]) { cursor: default; }
.utility-nav-onair-link:hover { color:var(--utility-nav-text); }
.utility-nav-thumb-link { display: block; width: 100%; height: 100%; }

/* Marquee text */
.utility-nav-marquee-wrap {
  height: 20px;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  width: 100%;
  position: relative;
  max-width: 180px;
}
.utility-nav-marquee-track { display: flex; width: fit-content; }
.utility-nav-marquee-text  { font-size: .875rem; font-weight: 700; color: var(--utility-nav-text); white-space: nowrap; }

/* Fade edges only when marquee is running */
.utility-nav-marquee-wrap.is-scrolling::before,
.utility-nav-marquee-wrap.is-scrolling::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 8px;
  z-index: 1;
  pointer-events: none;
}
.utility-nav-marquee-wrap.is-scrolling::before { left: 0;  background: linear-gradient(to right, var(--utility-bg), transparent); }
.utility-nav-marquee-wrap.is-scrolling::after  { right: 0; background: linear-gradient(to left,  var(--utility-bg), transparent); }

@keyframes utility-nav-marquee { 0% { transform: translateX(0); } to { transform: translateX(-50%); } }
.utility-nav-marquee-wrap.is-scrolling .utility-nav-marquee-track {
  /* --duration is set by JS proportional to text length; fall back to 15s */
  animation: utility-nav-marquee var(--duration, 15s) linear infinite;
}
/* Paused on hover and on keyboard focus (the On Air wrap is itself a link) - WCAG 2.2.2.
   Keyed off the wrap, not the track: the track is inert, so it never matches :hover */
.utility-nav-marquee-wrap.is-scrolling:hover .utility-nav-marquee-track,
.utility-nav-marquee-wrap.is-scrolling:focus-within .utility-nav-marquee-track { animation-play-state: paused; }
/* script.js doesn't start the marquee under reduced motion, so truncate instead */
@media (prefers-reduced-motion: reduce) {
  .utility-nav-marquee-track { max-width: 100%; }
  .utility-nav-marquee-text  { overflow: hidden; text-overflow: ellipsis; }
}

/* Play / Pause button (centre) */
.utility-nav-play-wrap {
  position: relative;
  top: 6px;   /* original uses top-1.5 = 6px */
  flex-shrink: 0;
}

.utility-nav-play-btn {
  position: relative;
  display: flex;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary-accent);
  border: 2px solid #000000;
  box-shadow: 0 5px 25px rgba(0,0,0,.3);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: box-shadow .3s var(--utility-nav-ease), transform .3s var(--utility-nav-ease);
  outline: 2px solid #FFFFFF;
  outline-offset: 0;
}
.utility-nav-play-btn:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
  transform: scale(1.05);
}

/* Radial gradient overlay */
.utility-nav-play-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(165% 165% at 50% -65%, transparent 72%, rgba(0,0,0,.2) 73%, rgba(0,0,0,.2) 100%);
  box-shadow: inset 0 0 0 2px var(--primary-accent);
}

/* Animated rotating border ring on hover */
.utility-nav-play-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  pointer-events: none;
  background: conic-gradient(from 0deg, var(--primary-accent), var(--secondary-accent), var(--primary-accent));
  opacity: 0;
  transition: opacity .3s;
  animation: utility-nav-spin 3s linear infinite;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), white calc(100% - 3px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 3px), white calc(100% - 3px));
}
.utility-nav-play-btn:hover .utility-nav-play-ring { opacity: 1; }
@keyframes utility-nav-spin { to { transform: rotate(360deg); } }

/* Play icon */
.utility-nav-play-icon {
  width: 32px;
  height: 32px;
  color: var(--utility-bg);
  stroke: var(--primary-accent);
  stroke-width: 2;
}

/* App store buttons */
.utility-nav-apps { 
  display: flex; 
  align-items: center; 
  gap: 8px; 
  flex-shrink: 0; 
}
.utility-nav-app-btn {
  display: inline-block;
  height: 41px;
  flex-shrink: 0;
  transition: opacity .2s;
  background-color: var(--utility-bg);
  color: var(--utility-bg);
  border-radius:5px;
  border: 1px solid #262626;
  border-radius: 6px;
}
.utility-nav-app-btn:hover { color:var(--utility-bg); opacity: .8; }
.utility-nav-app-btn svg { height: 40px; width: auto; display: block; }

@media (max-width: 1270px) {
.utility-nav-onair { display:none; }
}

@media (max-width: 1170px) {
  .utility-nav-nowplaying { display:none; }
  }
  
/* move utility nav to bottom for tablet and phone */
/* show mobile contact top bar */
@media (max-width: 1023px) {
  .utility-nav-onair, .utility-nav-nowplaying { display:flex; }
  /* Equal side columns so the play button stays centred whatever the text lengths */
  .utility-nav-center-group {
    flex: 1;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }
  .utility-nav-onair,
  .utility-nav-nowplaying,
  .utility-nav-onair-text {
    min-width: 0;
  }
  .utility-nav-onair { justify-content: flex-end; }
  .utility-nav-nowplaying { justify-content: flex-start; }
  .utility-nav-bar {
    position: fixed;
    bottom: 0;
    top: unset;
  }
  .utility-nav-play-wrap {
    top: -15px;
  }
  .utility-nav-mobile-bar {
    display:block;
  }
  .utility-nav-left,
  .utility-nav-right {
    display:none;
  }

  .utility-nav-bar .utility-nav-corner-left {
    transform: rotate(270deg);
    top:-16px;
  }
  .utility-nav-bar .utility-nav-corner-right {
    transform: rotate(180deg);
    top:-16px;
  }
}
@media (max-width: 560px) {
  .utility-nav-thumb {
    display:none;
  }

}

/**********************************/
/* Header Navigation */
/**********************************/
/* Bar */
.header-gap {
    height:100px;
}
#site-header {
    position: sticky;
    left: 0;
    right: 0;
    top: 45px;
    z-index: 400;
    padding: 24px 0;
    pointer-events: none;             /* children opt-in via pointer-events:auto */
  }
  /* Transition only turns on once JS (initScrollBehaviour) has resolved and
     painted the correct initial scroll state */
  #site-header.header-scroll-ready {
    transition: padding var(--utility-nav-duration) var(--utility-nav-ease);
  }
  #site-header.is-scrolled-down {
    padding: 8px 0;
  }
  
  /* Inner / row */
  .header-nav-inner {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 1rem;
  }
  @media (min-width: 640px)  { #site-header { top: 45px; } .header-nav-inner { padding: 0 15px; } }
  @media (min-width: 1024px) { #site-header { top: 84px; } .header-nav-inner { padding: 0 22px; } }
  
  .header-nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    pointer-events: auto;
  }
  
  /* Left (logo + desktop nav) */
  .header-nav-left {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
  }
  @media (min-width: 1025px) { .header-nav-left { gap: 32px; } }
  
  /* Logo */
  .header-nav-logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
  }
  /* The platform's global frontend.css carries `body a:focus { outline-style:
     dotted }`, which boxes the logo in a dotted border on plain mouse clicks.
     Narrow that to keyboard focus only, using the same :focus-visible ring the
     footer links already use. Don't drop the outline outright — the logo is the
     first tab stop in the header. */
  .header-nav-logo-link:focus { outline: none; }
  .header-nav-logo-link:focus-visible {
    outline: 3px solid var(--primary-accent);
    outline-offset: 3px;
    border-radius: 4px;
  }
  .header-nav-logo-link img { max-height: 90px; }
  .header-nav-logo {
    height: 64px;
    width: auto;
  }
  #site-header.header-scroll-ready .header-nav-logo {
    transition: height var(--utility-nav-duration) var(--utility-nav-ease);
  }
  .header-nav-logo text { fill: var(--primary-accent); }
  .header-nav-logo rect { fill: var(--utility-bg); }
  #site-header.is-scrolled-down .header-nav-logo { height: 40px; }

  @media (min-width: 1025px) {
    #site-header {
      padding: 24px 0;
      transform: translateZ(0); /* own compositing layer */
    }
    #site-header.is-scrolled-down {
      padding: 24px 0;
    }
    #site-header.header-scroll-ready .header-nav-row {
      transition: transform var(--utility-nav-duration) var(--utility-nav-ease);
    }
    #site-header.is-scrolled-down .header-nav-row {
      transform: translateY(-16px);
    }
    #site-header.header-scroll-ready .header-nav-logo {
      transition: transform var(--utility-nav-duration) var(--utility-nav-ease);
    }
    #site-header.is-scrolled-down .header-nav-logo {
      height: 64px;
      transform: scale(0.625); /* 40/64 — same visual size as the mobile height shrink */
    }
  }

  /* logo text placeholder colours */
  svg.header-nav-logo rec { fill: var(--utility-bg); }
  svg.header-nav-logo text { 
    fill: var(--utility-text); 
    font-weight:800; 
    font-size:72px; 
  }
 
  /* Desktop nav (hidden at or below 1024px) */
  .header-nav-container {
    display: none;
  }
  @media (min-width: 1025px) { .header-nav-container { display: block; } }

  
  /* Pill (shared by nav + auth) */
  .header-nav-pill {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 4px;
    border-radius: 8px;
    background: var(--nav-bg);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
  
  /* Nav item wrapper */
  .header-nav-item {
    position: relative;
    margin-right:8px;
    display: inline-flex;
    align-items: stretch; /* dropdown-toggle stretches to match the link's height */
  }
  .header-nav-item:last-child {
    margin-right: 0;
  }

  /* Nav link */
  .header-nav-link {
    display: inline-block;
    padding: 16px 12px;
    border-radius: 6px;
    font-size: 19px;
    font-weight: 600;
    line-height: 1;
    color: var(--nav-primary-text);
    text-decoration: none !important;
    white-space: nowrap;
    transition: background-color var(--nav-hover-out-duration) var(--nav-hover-out-ease),
                color var(--nav-hover-out-duration) var(--nav-hover-out-ease);
  }
  .header-nav-link:hover,
  .header-nav-item.is-open .header-nav-link {
    background-color: var(--nav-item-hover-bg);
    color: var(--nav-hover-text);
    transition-duration: var(--nav-hover-in-duration);
    transition-timing-function: var(--nav-hover-in-ease);
  }
  
  /* Chevron — hidden visually; button remains keyboard-accessible */
  .header-nav-chevron { display: none; }

  /* Dropdown toggle button (chevron) */
  .header-nav-dropdown-toggle {
    background: none;
    border: none;
    padding: 4px;
    margin: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--nav-primary-text);
    border-radius: 4px;
    transition: background-color var(--nav-hover-out-duration) var(--nav-hover-out-ease),
                color var(--nav-hover-out-duration) var(--nav-hover-out-ease);
  }
  .header-nav-dropdown-toggle:hover {
    background-color: var(--nav-item-hover-bg);
    color: var(--nav-hover-text);
    transition-duration: var(--nav-hover-in-duration);
    transition-timing-function: var(--nav-hover-in-ease);
  }

  @media (min-width: 1025px) {
    /* Rotate the chevron 90deg from its default (mobile) orientation */
    .header-nav-dropdown-toggle svg { transform: rotate(90deg); }

    /* Make the toggle read as part of the link button rather than a
       separate control: same background, adjoining (not fully rounded)
       corners, and the whole item — not just whichever half the pointer
       is over — drives the shared hover/open state. */
    .header-nav-item[data-dropdown] .header-nav-link {
      border-radius: 6px 0 0 6px;
    }
    .header-nav-item[data-dropdown] .header-nav-dropdown-toggle {
      border-radius: 0 6px 6px 0;
      padding: 0 12px 0 4px;
    }
    .header-nav-item:hover .header-nav-link,
    .header-nav-item:hover .header-nav-dropdown-toggle,
    .header-nav-item.is-open .header-nav-link,
    .header-nav-item.is-open .header-nav-dropdown-toggle {
      background-color: var(--nav-item-hover-bg);
      color: var(--nav-hover-text);
      transition-duration: var(--nav-hover-in-duration);
      transition-timing-function: var(--nav-hover-in-ease);
    }
  }

  /* Dropdown */
  .header-nav-dropdown {
    list-style: none;
    margin: 0;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 4px;
    padding: 4px;
    z-index: 40;
    min-width: 224px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(0px) scale(.95);
    transform-origin: top left;
    /* visibility (not just opacity) keeps a closed panel's links out of the
       tab order and the accessibility tree; it flips only once the fade-out
       has finished */
    visibility: hidden;
    transition: opacity 200ms ease-out,
                transform 250ms cubic-bezier(.22,1,.36,1),
                visibility 0s linear 250ms;
    /* Visual panel (was on .header-nav-dropdown-inner) */
    background: rgba(255,255,255,.95);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: 6px;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,.10), 0 4px 6px -4px rgba(0,0,0,.10);
    outline: 1px solid rgba(9,9,11,.10);
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .header-nav-item.is-open .header-nav-dropdown {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    visibility: visible;
    transition-delay: 0s;
  }
  .header-nav-dropdown-link {
    display: block;
    padding: 10px 12px;
    border-radius: 4px;
    font-size: 1rem;
    line-height: 1;
    font-weight: 500;
    color: var(--nav-primary-text);
    text-decoration: none;
    white-space: nowrap;
    transition: background-color var(--nav-hover-out-duration) var(--nav-hover-out-ease),
                color var(--nav-hover-out-duration) var(--nav-hover-out-ease);
    opacity: 0;
    animation: none;
  }
  .header-nav-item.is-open .header-nav-dropdown-link,
  .header-nav-item-member.is-open .header-nav-dropdown-link {
    animation: header-fade-in 300ms cubic-bezier(.22,1,.36,1) forwards;
  }
  /* li > a structure: target nth-child on the <li>, cascade to the link */
  .header-nav-item.is-open .header-nav-dropdown li:nth-child(1) .header-nav-dropdown-link { animation-delay:  60ms; }
  .header-nav-item.is-open .header-nav-dropdown li:nth-child(2) .header-nav-dropdown-link { animation-delay: 110ms; }
  .header-nav-item.is-open .header-nav-dropdown li:nth-child(3) .header-nav-dropdown-link { animation-delay: 160ms; }
  .header-nav-item.is-open .header-nav-dropdown li:nth-child(4) .header-nav-dropdown-link { animation-delay: 210ms; }
  .header-nav-dropdown-link:hover {
    background-color: var(--nav-item-hover-bg);
    color: var(--nav-hover-text);
    text-decoration: none !important;
    transition-duration: var(--nav-hover-in-duration);
    transition-timing-function: var(--nav-hover-in-ease);
  }
  @keyframes header-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
  }

  /* Dropdown links with leading icons (Profile / Logout) */
  .header-nav-dropdown-link--icon {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .header-nav-dropdown-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    color: var(--nav-secondary-text);
    fill:none!important;
  }
.header-nav-avatar-icon {
  fill: unset !important;
  width: 50px;
  height: 50px;
}
  /* Member avatar — replaces the Login button when a session is active. */
  .header-nav-member { position: relative; }

  /* Member dropdown — centred under the avatar with a tail, 1px border, shadow.
     z-index lifted above #site-header (50) so it always sits over page content. */
  .header-nav-dropdown--member {
    left: 50%;
    right: auto;
    transform: translate(-50%, -16px) scale(.95);
    transform-origin: top center;
    margin-top: 12px; /* leave room for the tail */
    z-index: 60;
    min-width: 155px;
    padding: 8px;
    gap: 4px;
    background: #ffffff;
    border: 1px solid var(--nav-secondary-text, rgba(9, 9, 11, .10));
    box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .18),
                0 4px 10px -4px rgba(0, 0, 0, .10);
    outline: none;
  }
  .header-nav-item.is-open .header-nav-dropdown--member {
    transform: translate(-50%, 0) scale(1);
  }
  /* Tail — 12 × 12 square rotated 45° so two edges form the triangle */
  .header-nav-dropdown--member::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 50%;
    width: 12px;
    height: 12px;
    margin-left: -6px;
    background: #ffffff;
    border-top: 1px solid var(--nav-secondary-text, rgba(9, 9, 11, .10));
    border-left: 1px solid var(--nav-secondary-text, rgba(9, 9, 11, .10));
    transform: rotate(45deg);
  }
  /* Larger rows + icons inside the member dropdown to match the design */
  .header-nav-dropdown--member .header-nav-dropdown-link {
    padding: 12px 14px;
    gap: 14px;
    font-size: 1.0625rem;
    font-weight: 400;
  }
  .header-nav-dropdown--member .header-nav-dropdown-icon {
    width: 28px;
    height: 28px;
  }
  .header-nav-avatar {
    background: none;
    border: 0;
    padding: 0;
    margin: 10px 0 0 0;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--utility-text);
    background-color: var(--utility-bg);
    transition: box-shadow 150ms ease, background-color 150ms ease;
  }
  .header-nav-avatar:hover,
  .header-nav-member.is-open .header-nav-avatar {
    box-shadow: 0 0 0 2px var(--nav-shadow);
  }
  .header-nav-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  /* Right section */
  .header-nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
  }
  
  /* Auth pill buttons */
  .header-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-radius: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    font-weight: 500;
    color: var(--nav-secondary-text);
    transition: background-color var(--nav-hover-out-duration) var(--nav-hover-out-ease),
                color var(--nav-hover-out-duration) var(--nav-hover-out-ease);
  }
  .header-nav-btn:hover {
    background-color: var(--nav-item-hover-bg);
    color: var(--nav-hover-text);
    text-decoration: none;
    transition-duration: var(--nav-hover-in-duration);
    transition-timing-function: var(--nav-hover-in-ease);
  }
  .header-nav-search-icon { width: 20px; height: 20px; display: block; fill:none!important; }
  
  /* Listen Live button */
  .header-nav-listen-live {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border-radius: 8px;
    background: var(--utility-bg);
    color: var(--utility-text);
    text-decoration: none;
    transition: border-radius 300ms var(--utility-nav-ease);
  }
  .header-nav-listen-live:hover { 
    border-radius: 100px; 
    color: var(--utility-text);
}
  
  /* Border beam (motion-path travelling dot) */
  /*
     Technique from https://scroll.l1f7.com/radio:
     1. The .header-nav-beam wrapper uses CSS mask to make only the
        "border region" visible (padding-box vs border-box mask layers).
     2. The .header-nav-beam-dot travels around the perimeter using
        offset-path + offset-distance animation.
  */
  .header-nav-beam {
    pointer-events: none;
    position: absolute;
    border-radius: inherit;
    /* Expand 5px beyond the button on every side to sit outside it */
    inset: -5px;
    /* 3px-wide transparent border — defines the border region width  */
    border: 3px solid transparent;
    /* Mask: first layer = padding-box (transparent inside), second = border-box (opaque full area) */
    /* intersect composite → only the border strip between the two layers shows */
    -webkit-mask-image: linear-gradient(#000, #000), linear-gradient(#000, #000);
            mask-image: linear-gradient(#000, #000), linear-gradient(#000, #000);
    -webkit-mask-clip: padding-box, border-box;
            mask-clip: padding-box, border-box;
    -webkit-mask-composite: destination-out;  /* Safari */
            mask-composite: exclude;           /* Standard / Chrome */
    /* Hidden until hover */
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 300ms ease,
                transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  .header-nav-listen-live:hover .header-nav-beam {
    opacity: 1;
    transform: scale(1);
  }
  
  /* The moving gradient blob */
  .header-nav-beam-dot {
    position: absolute;
    width: 64px;
    aspect-ratio: 1 / 1;
    background: linear-gradient(to left,
      var(--primary-accent),
      var(--secondary-accent),
      transparent
    );
    /* Moves around the element perimeter */
    offset-path: rect(0px auto auto 0px round 64px);
    offset-distance: 0%;
    animation: header-beam-travel 3s linear infinite;
    animation-play-state: paused;
  }
  .header-nav-listen-live:hover .header-nav-beam-dot {
    animation-play-state: running;
  }
  
  @keyframes header-beam-travel {
    to { offset-distance: 100%; }
  }
  
  .header-nav-listen-label {
    position: relative;
    z-index: 1;
    padding: 16px;
    border-radius: 6px;
    font-size: 1.25rem;
    line-height: 1;
    font-weight: 600;
    white-space: nowrap;
    transition: border-radius 300ms var(--utility-nav-ease);
  }
  
  /* Blue icon circle */
  .header-nav-listen-icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 6px;
    background: var(--primary-accent);
    transition: border-radius 300ms var(--utility-nav-ease);
    box-shadow: inset 0 0 0 2px var(--primary-accent);
    flex-shrink: 0;
  }
  .header-nav-listen-live:hover .header-nav-listen-icon { border-radius: 100px; }
  
  .header-nav-listen-icon-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: radial-gradient(165% 165% at 50% -65%,
      transparent 72%,
      rgba(0,0,0,.20) 73%,
      rgba(0,0,0,.20) 100%);
  }
  
  .header-nav-listen-play {
    width: 24px;
    height: 24px;
    color: #000000;
  }
  
  /* Placeholder spacer so header doesn't overlay content */
  .header-nav-spacer {
    display: block;
    pointer-events: none;
  }
  
  /* Search slide-out */
  
  /* Pill becomes the clipping/positioning context */
  .header-nav-search-pill {
    position: relative;
    overflow: hidden;      /* clips the input as it expands left */
  }
  
  /* The expanding search field — hidden at width:0 until hover */
  .header-nav-search-input {
    box-sizing: border-box;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 0;
    padding: 0;
    border: none;
    outline: none;
    background: #fff; /* opaque — the field slides over the Login button */
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--nav-primary-text);
    pointer-events: none;
    white-space: nowrap;
    /* Hidden from keyboard/AT while collapsed; focusing the search button
       opens it (initSearchExpand) before moving focus in */
    visibility: hidden;
    transition: width 280ms var(--utility-nav-ease),
                visibility 0s linear 280ms;
  }
  .header-nav-search-input.expanded { border: 2px solid var(--nav-secondary-text); }
  /* outline is off above, so the border carries focus - WCAG 2.4.7 */
  .header-nav-search-input.expanded:focus { border-color: var(--nav-primary-text); }

  /* Expanded state — width set by JS, min 250px */
  .header-nav-search-pill.is-searching {
    overflow: visible;     /* allow input to extend beyond pill bounds */
  }
  .header-nav-search-pill.is-searching .header-nav-search-input {
    pointer-events: auto;
    visibility: visible;
    transition-delay: 0s;
    padding: 0 52px 0 16px; /* right padding keeps text clear of search icon */
  }
  
  /* Placeholder colour */
  .header-nav-search-input::placeholder {
    color: var(--nav-secondary-text);
    opacity: 1;
  }
  
  /* Search button must stay above the expanding input */
  .header-nav-search-btn {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
  }
  
  .header-nav-mobile-toggle { display:none; height:60px; width:60px; }
  .header-nav-mobile-toggle .header-nav-btn { padding: 4px; }
  
  .header-nav-mobile-content {
    display:none;
  }
  
  /* Mobile-only blocks are hidden on desktop. They re-appear inside the 1024px block below. */
  .header-nav-mobile-actions,
  .header-nav-mobile-footer,
  .header-nav-dropdown-back,
  .header-nav-backdrop { display: none; }

  .header-nav-item-wrapper { 
    display:flex;
    align-items: center;
    gap: 0;
    padding: 4px;
    
  }
  
  @media (max-width: 1024px) {

    .header-nav-right .header-nav-member { order:2; }
    .header-nav-right .header-nav-avatar { margin-right: 20px; }
    .header-nav-dropdown--member { left: -46%; }
    .header-nav-dropdown--member::before { left: 90%; }
    .header-nav-item { margin:0px; }

    .header-nav-listen-live { display:none; }

    .header-nav-item-wrapper,
    .header-nav-dropdown-toggle { display:block; }

    .header-nav-item-wrapper { overflow:hidden }
    .header-nav-backdrop {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.2);
      -webkit-backdrop-filter: blur(8px);
      backdrop-filter: blur(8px);
      z-index: 99;
    }

    .header-nav-logo-link { order:2; }
    .header-nav-login,
    .header-nav-listen-label { display:none; }
    .header-nav-mobile-toggle { display:block; }

    /* Mobile panel 
       Fixed full-viewport overlay. JS fades the container in/out;
       internal slide animations stay within .header-nav-pill. */
    .header-nav-container {
      order:1;
      position: fixed;
      top: 16px;
      left: 16px;
      right: 16px;
      bottom: auto;
      z-index: 100;
    }
    .header-nav-container .header-nav-pill {
      position: relative;
      width: 100%;
      height: 100%;
      padding: 20px 35px 24px 35px;
      border-radius: 30px;
      background: var(--nav-mobile-bg);
      display: flex;
      flex-direction: column;
      gap: 0;
      overflow: hidden;
    }

    /* Top actions: close · brand · profile */
    .header-nav-mobile-actions {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      flex-shrink: 0;
      margin-bottom: 24px;
    }
    .header-nav-mobile-close,
    .header-nav-mobile-profile { flex: 0 0 auto; }
    .header-nav-mobile-brand   { flex: 1 1 auto; display: flex; justify-content: center; }
    .header-nav-mobile-brand .header-nav-logo { width: 110px; height: auto; }
    .header-nav-mobile-brand img { max-width:100px; }
    .header-nav-mobile-close-btn,
    .header-nav-mobile-profile-btn {
      background: none;
      border: none;
      padding: 4px;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }
    .header-nav-mobile-close-btn { padding: 18px; }
    .header-nav-mobile-profile-btn { padding: 11px; }

    /* Menu items (stacked, big) */
    .header-nav-item-wrapper {
      width: 100%;
      position: relative;
      background: #ffffff;
    }
    /* Override desktop's position:relative so the dropdown anchors to the wrapper, not the item */
    .header-nav-container .header-nav-item {
      width: 100%;
      position: static;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0;
      min-height: 46px;
    }
    .header-nav-container .header-nav-link {
      flex: 1 1 auto;
      padding: 0;
      font-size: 18px;
      font-weight: 500;
      line-height: 1.1;
      color: var(--nav-primary-text);
      background: transparent;
      white-space: normal;
    }
    .header-nav-container .header-nav-link:hover,
    .header-nav-container .header-nav-item.is-open .header-nav-link {
      background: transparent;
      text-decoration: none !important;
    }

    /* Chevron indicator on items that have a submenu (rotated to point right) */
    .header-nav-dropdown-toggle {
      flex: 0 0 auto;
      padding: 8px;
      color: var(--nav-primary-text);
    }
    .header-nav-container .header-nav-chevron {
      display: block;
      width: 20px;
      height: 20px;
      transform: rotate(-90deg);
    }

    /* Drill-in submenu
       Anchored to .header-nav-item-wrapper (item is position:static).
       Background matches the wrapper so they read as one surface. */
    .header-nav-container .header-nav-dropdown {
      position: absolute;
      top: 0; left: 0; right: 0; bottom: auto;
      width: 100%;
      min-width: 0;
      margin: 0;
      padding: 0px;
      background: #ffffff;
      box-shadow: none;
      outline: none;
      opacity: 1;
      pointer-events: none;
      transform: translateX(100%);
      /* Hidden once it has slid out, so a closed submenu can't show through
         while another one (or the member menu) is open */
      visibility: hidden;
      transition: transform 280ms cubic-bezier(.22,1,.36,1), visibility 0s 280ms;
      overflow-y: auto;
      z-index: 3;
      gap: 0;
    }
    .header-nav-container .header-nav-item.is-open .header-nav-dropdown,
    .header-nav-container .header-nav-item-member.is-open .header-nav-dropdown {
      transform: translateX(0);
      pointer-events: auto;
      visibility: visible;
      transition-delay: 0s;
    }

    /* Root list slides out to the left as the submenu slides in, so a submenu
       shorter than the root list can't leave parent rows showing beneath it.

       The open item is handled by moving its own link + chevron rather than
       the item itself: a transform on .header-nav-item would make that item
       the containing block for its own absolutely positioned dropdown, which
       would both drag the submenu out with the row and re-anchor it to the
       row's offset instead of the wrapper's top. Its siblings have nothing
       visible to anchor, so they move as whole rows.

       Distance is 100vw rather than 100% because the chevron is only ~36px
       wide — its own width isn't far enough to clear the panel. The wrapper's
       overflow:hidden clips whatever travels past the edge. */
    .header-nav-container .header-nav-item {
      transition: transform 280ms cubic-bezier(.22,1,.36,1), visibility 0s;
    }
    .header-nav-container .header-nav-link,
    .header-nav-container .header-nav-dropdown-toggle {
      transition: background-color var(--nav-hover-out-duration) var(--nav-hover-out-ease),
                  color var(--nav-hover-out-duration) var(--nav-hover-out-ease),
                  transform 280ms cubic-bezier(.22,1,.36,1);
    }
    .header-nav-item-wrapper.has-open-submenu .header-nav-item:not(.is-open),
    .header-nav-item-wrapper.has-open-submenu .header-nav-item.is-open > .header-nav-link,
    .header-nav-item-wrapper.has-open-submenu .header-nav-item.is-open > .header-nav-dropdown-toggle {
      transform: translateX(-100vw);
    }
    /* ...and hidden once they're out, so no part of a slid-out row can show
       beside or below the open submenu. Visibility only flips after the slide,
       and flips straight back on close so rows are visible as they return. */
    .header-nav-item-wrapper.has-open-submenu .header-nav-item:not(.is-open) {
      visibility: hidden;
      transition: transform 280ms cubic-bezier(.22,1,.36,1), visibility 0s 280ms;
    }

    /* Back-button + section title header inside the submenu */
    .header-nav-dropdown-back {
      display: block;
      list-style: none;
      margin-bottom: 8px;
    }
    .header-nav-back-btn {
      background: none;
      border: none;
      padding: 0;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 0.875rem;
      font-weight: 600;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: var(--nav-primary-text);
    }
    .header-nav-dropdown-title {
      display: block;
      margin-top: 16px;
      font-size: 32px;
      font-weight: 700;
      line-height: 1.1;
      color: var(--nav-primary-text);
    }
    .header-nav-container .header-nav-dropdown-link {
      padding: 14px 0;
      font-size: 18px;
      font-weight: 500;
      color: var(--nav-primary-text);
    }
    .header-nav-container .header-nav-dropdown-link:hover {
      background: transparent;
    }

    /* Bottom footer: phone (left) · social (right) */
    .header-nav-mobile-footer {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 24px;
      margin-top: auto;
      padding-top: 24px;
      flex-shrink: 0;
      width:100%;
    }
    .header-nav-mobile-phone,
    .header-nav-mobile-social { flex: 1 1 0; min-width: 0; }
    .header-nav-mobile-social { text-align: right; }
    .header-nav-mobile-label {
      display: block;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: var(--nav-secondary-text);
      margin: 0 0 8px;
    }
    #header-nav-mobile-social-label {
      text-align:left;
    }
    .header-nav-mobile-social-wrapper { display:inline-block; }
    .header-nav-mobile-phone-link {
      display: inline-block;
      font-size: 22px;
      font-weight: 800;
      color: var(--nav-primary-text);
      text-decoration: none;
    }
    .header-nav-mobile-social-links {
      list-style: none;
      margin: 0;
      padding: 0;
      display: inline-flex;
      gap: 14px;
      justify-content: flex-end;
    }
    .header-nav-mobile-social-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 28px;
      height: 28px;
      color: var(--nav-primary-text);
    }
    .header-nav-mobile-social-link svg { width: 100%; height: 100%; }

    /* Stack footer items on very narrow screens */
    @media (max-width: 479px) {
      .header-nav-mobile-footer {
        flex-direction: column;
        align-items: stretch;
      }
      .header-nav-mobile-phone,
      .header-nav-mobile-social {
        width: 100%;
        flex: 1 1 auto;
        text-align: left;
      }
      .header-nav-mobile-social-links {
        justify-content: flex-start;
      }
    }
  }

  /* Center the logo in the viewport on narrow screens.
     Pull it out of the flex flow so hamburger (left) and right section (right)
     keep their positions via .header-nav-row's justify-content: space-between.
     Only targets the desktop logo; the mobile-brand logo inside the mobile panel
     is not affected. */
  @media (max-width: 779px) {
    .header-nav-row { position: relative; }
    .header-nav-left .header-nav-logo-link--desktop {
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      margin: 0;
      z-index: 1;
      /* Stay clear of the hamburger (left) and search (right): a wide station
         logo would otherwise spill over both and swallow their taps */
      max-width: calc(100% - 144px);
    }
    .header-nav-left .header-nav-logo-link--desktop img {
      max-width: 100%;
      height: auto;
      object-fit: contain;
    }
    .header-nav-mobile-toggle {
      position: relative;
      z-index: 2;
    }
    .header-nav-right .header-nav-member { display: none; }
    

    /* Search expands full-width minus 40px total (20px on each side).
       z-index lifts it above the centered logo. */
    .header-nav-search-pill {
      position: relative;
      z-index: 10;
    }
    .header-nav-search-pill.is-searching .header-nav-search-input {
      width: calc(100vw - 40px);
    }
  }


/**********************************/
/* Blog/News List Widget */
/**********************************/
/* Thumbnails in the [blog_news_list] list layouts get the same frame as the
   Video/Event/Contest Grid's event and contest cards — 3px white border, 2px
   black outline, 12px radius (see .pw-content-grid-type-event
   .pw-content-grid-media in assets/css/widgets/postEventContestGrid.css), which
   is also how the article and host page images are framed here.

   The frame goes on the picture itself, never on .sc-list-img: that wrapper is a
   flex child stretched to the height of the text column beside it, so a frame
   there boxes in a tall empty area under a short image. Which element IS the
   picture depends on the layout (socast-widgets blogList/item-list*.tpl):
     - no-crop layouts put the <img> straight in the wrapper;
     - the 16:9 crop layouts wrap it in .aspect-ratio-container, whose padding-top
       box is the visible rectangle (the <img> inside is absolutely positioned and
       object-fit: cover, and the container's own overflow:hidden rounds it off).
   The child combinator is what keeps those two cases apart — the crop layout's
   <img> is a grandchild, so it never picks up a second frame.

   Scoped with .blogNewsWidget (the widget's own wrapper, see
   blogList/wrapper-default.tpl) so this only reaches news listings, and so each
   selector outspecifies the platform's own .sc-list rules in
   application/stylesheets/frontend/frontend.css. */
.blogNewsWidget.sc-list .sc-list-item .sc-list-img > img,
.blogNewsWidget.sc-list .sc-list-item .sc-list-img > .aspect-ratio-container {
  box-sizing: border-box;
  border: 3px solid #FFFFFF;
  outline: 2px solid #000000;
  border-radius: 12px;
}
/* The wrapper is layout only now: the 1px #ccc border and #eee fill that
   .sc-image-container carries by default (frontend.css) would otherwise draw a
   second, taller box around the framed picture. */
.blogNewsWidget.sc-list .sc-list-item .sc-list-img {
  border: none;
  background: none;
  /* A little more air than the platform's 15px, so the frame doesn't crowd the
     title. The width has to move with it: frontend.css pairs that margin with
     width: calc(<column> - 15px), and the two have to keep adding up. */
  margin-right: 24px;
  width: calc(50% - 24px);
}
.blogNewsWidget.sc-list.sc-list-sm .sc-list-item .sc-list-img {
  width: calc(25% - 24px);
}
.blogNewsWidget.sc-list.sc-list-xs .sc-list-item .sc-list-img {
  width: calc(10% - 24px);
}
/* Vertical layout stacks the text under the image, so the gap goes below it. */
.blogNewsWidget.sc-list.sc-list-lg .sc-list-item .sc-list-img {
  width: 100%;
  margin-right: 0;
  margin-bottom: 20px;
}
/* Mobile: stack every list layout — full-width image on top, text under it.
   frontend.css only does this below 568px and exempts the sm/xs sizes, which is
   what leaves the small (25%-wide) thumbnail squeezed beside the text on a
   phone. Here it applies to every size, from 940px down.

   The .sc-list-img selector is doubled with the :not() pair on purpose: the
   first form covers the sm/xs sizes, and the second exists only to outweigh
   frontend.css's own 568px rule, which would otherwise pull the gap back to
   15px on the sizes it does handle. */
@media all and (max-width: 939.98px) {
  .blogNewsWidget.sc-list .sc-list-item {
    display: block;
  }
  .blogNewsWidget.sc-list .sc-list-item .sc-list-img,
  .blogNewsWidget.sc-list:not(.sc-list-sm):not(.sc-list-xs) .sc-list-item .sc-list-img {
    /* !important because frontend.css's own .sc-list.sc-list-sm/.sc-list-xs
       widths match this selector's specificity and land later in the cascade. */
    width: 100% !important;
    max-width: 340px;
    margin-right: 0;
    margin-bottom: 20px;
  }
  /* Fill the column rather than sitting at the thumbnail's natural size — the
     no-crop layouts request a 'medium'/'medium_large' file, which is narrower
     than a phone. */
  .blogNewsWidget.sc-list .sc-list-item .sc-list-img > img {
    width: 100%;
  }
  /* The summary is already cut to a character count server-side, but that's
     several lines deep in a one-column layout, so hold it to three. */
  .blogNewsWidget.sc-list .sc-list-item .sc-list-content .text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
  }
}

/**********************************/
/* Bakery Elements */
/**********************************/

footer .edit-link,
.entry-meta .edit-link {
    padding:20px;
    text-align: center;
    display: block;
    width: 100%;
}


/**********************************/
/* Footer */
/**********************************/

.pattison-video-footer {
    background-color: var(--utility-bg);
    color: var(--footer-text);
    padding: 25px 30px;
    position: relative;
}
.footer-corner {
    position: absolute;
    bottom: 100%;
    width: 16px;
    height: 16px;
    color: var(--utility-bg);
    pointer-events: none;
}
.footer-corner.footer-corner-left {
    left: 0;
    transform: rotate(-90deg);
}
.footer-corner.footer-corner-right {
    right: 0; 
    transform: rotate(-180deg);
}
.footer-content-container {
    max-width: var(--content-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    column-gap: 20px;
}
.footer-company {
    width: 300px;
    flex-shrink: 0;
}
.footer-company img {
    max-width:200px;
}
.footer-navigation {
    flex: 1;
}
.footer-socast {
    width: 300px;
    flex-shrink: 0;
    justify-content: flex-end;
    text-align: right;
}
.footer-navigation a, 
.footer-socast a, 
.footer-copyright,
.footer-socast p {
    font-size: 14px;
    font-weight: 500;
    line-height: 120%;
    color: var(--footer-link);
    text-decoration:none;
}
.footer-navigation a:hover {
    color: var(--footer-link-hover);
    text-decoration: underline;
}
.footer-navigation a:focus-visible,
.footer-socast a:focus-visible,
#poweredBySocastLink:focus-visible {
    outline: 3px solid var(--footer-link-hover);
    outline-offset: 3px;
    border-radius: 2px;
    text-decoration: underline;
}
.footer-socast p { display:none; }
.nav.nav-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 40px;
    row-gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}
#poweredBySocastLink svg {
    width: 250px;
}

@media (max-width: 1024px) {
    .pattison-video-footer {
        padding-bottom:120px;
    }
}

@media (max-width: 860px) {
    .footer-content-container {
        flex-wrap: wrap;
        row-gap: 30px;
    }
    .footer-company,
    .footer-navigation,
    .footer-socast {
        width: 100%;
        flex-shrink: 1;
        text-align: center;
    }
    .footer-navigation { order: 1; }
    .footer-company { order: 2; }
    .footer-socast { order: 3; }
}

/* Square Style Override */
.theme_style_square .pw-slide-media,
.theme_style_square .pw-rotator-slide {
  border-radius:0px;
}
/* Borders */
.theme_style_square .pw-rotator-slide {
  border: 7px solid var(--body-text);
}
/* Badges */
.theme_style_square .pw-slide-category,
.theme_style_square .pw-shorts-widget-badge,
.theme_style_square .pw-content-grid-header-badge,
.theme_style_square .article-badge {
  background-color: var(--body-text)!important;
  color: var(--body-content-bg)!important;
  border-radius:4px;
}
.theme_style_square .pw-rotator-thumb,
.theme_style_square .pw-content-grid-media,
.theme_style_square .pw-content-grid-page, 
.theme_style_square .pw-content-grid-page-nav,
.theme_style_square .pw-content-grid-pill,
.theme_style_square .pw-content-grid-more,
.theme_style_square .pw-content-grid-wrap,
.theme_style_square .pw-content-grid-wrap.pw-widget-bg-no-shape .pw-content-grid-container,
.theme_style_square .pw-content-grid-wrap.pw-widget-bg-tear-drop .pw-content-grid-container,
.theme_style_square .pw-content-grid-wrap.pw-widget-bg-arrow .pw-content-grid-container,
.theme_style_square .post-media,
.theme_style_square .comment-textarea,
.theme_style_square .comment-respond .form-submit input[type="submit"],
.theme_style_square .article-nav-group,
.theme_style_square .pw-fs-card-cta-icon-inner:hover {
  border-radius:4px;
}
.theme_style_square .pw-rotator-thumb img {
  border-radius:2px;
}
.theme_style_square .pw-rotator-thumb.pw-is-active {
  border-color: var(--body-text)!important;
}
.theme_style_square .pw-shorts-widget-card {
  background-color: var(--body-text)!important;
  border-color: var(--body-text)!important;
  border-radius:4px;
}
.theme_style_square .pw-feature-slider-card {
  background-color: var(--body-text)!important;
  border-color: var(--body-content-bg)!important;
  border-radius:4px;
}
.theme_style_square .pw-fs-card-category {
  background-color: var(--primary-accent)!important;
  color: var(--body-text)!important;
  border-radius:4px;
}
.theme_style_square .pw-fs-card-media {
  border-radius:4px;
  border: 4px solid white;
}
.theme_style_square .pw-fs-card-body a {
  background-color: var(--primary-accent)!important;
}
.theme_style_square .pw-fs-card-cta-icon {
  background-color: var(--body-text)!important;
}
.theme_style_square .post-media-item {
  border: 7px solid var(--body-text);
  border-radius:4px;
}
.theme_style_square .program_host_page img {
  border-radius:4px;
  border: 7px solid var(--body-text);
}

/* show body */
body { display: block; }