/* Small fixes for things WordPress used to do with scripts. */
.elementor-section.elementor-section-stretched { width: 100vw; position: relative; left: 50%; margin-left: -50vw !important; }
.elementor-invisible { visibility: visible !important; }
#main-nav-mobile { display: none; }
body.pcr-menu-open #main-nav-mobile { display: block; }
#panel-search-secondline { display: none; }
body.pcr-search-open #panel-search-secondline { display: block; }
audio { width: 100%; max-width: 100%; }

/* Home opening photo on tablets and phones: the whole portrait, face never covered by the words (Rebecca's note
   2026-11-09: the old crop showed her earlobe and hair). Tablets: photo on the right, words on the left.
   Phones: photo on top, words start over the dark dress below her face. The space around the photo is a soft
   blurred copy of it (no flat colour band). */
@media (max-width: 1024px) {
  .elementor-55 .elementor-element.elementor-element-e8a396a:not(.elementor-motion-effects-element-type-background) {
    background-image: none !important; position: relative; overflow: hidden;
  }
  .elementor-55 .elementor-element-e8a396a::before,
  .elementor-55 .elementor-element-e8a396a::after {
    content: ''; position: absolute; pointer-events: none;
    background-image: url("/wp-content/uploads/2021/01/Copy-of-Untitled-1.png"); background-repeat: no-repeat;
  }
  .elementor-55 .elementor-element-e8a396a::before { inset: -80px; background-size: cover; background-position: center; filter: blur(40px) brightness(0.75); }
  .elementor-55 .elementor-element-e8a396a::after {
    right: 2%; top: 50%; transform: translateY(-50%); width: 56%; aspect-ratio: 1; background-size: cover;
    -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
  }
  .elementor-55 .elementor-element-e8a396a > .elementor-container { position: relative; z-index: 1; }
}
@media (max-width: 767px) {
  .elementor-55 .elementor-element-e8a396a::after {
    left: 0; right: auto; top: 0; transform: none; width: 100%;
    -webkit-mask-image: linear-gradient(#000 75%, transparent); mask-image: linear-gradient(#000 75%, transparent);
  }
  .elementor-55 .elementor-element.elementor-element-e8a396a { padding-top: 76vw !important; }
}

/* The old theme kept episode lists invisible (opacity 0) until its script faded them in; there is no script now,
   so show them straight away (Rebecca's note 2026-11-09: "huge space" on the home page). */
.secondline-themes-isotope-animation { opacity: 1 !important; }
/* ...and its script also arranged the episodes side by side; without it they stacked in one narrow column. */
:has(> .secondline-masonry-item) { display: flex; flex-wrap: wrap; align-items: flex-start; }

/* The site's own small forms (sign-up and contact): see public/js/forms.js */
.site-signup { margin: 1.2em 0; }
.site-signup__title { font-weight: 700; font-size: 1.15em; margin: 0 0 .3em; }
.site-signup__text { margin: 0 0 .7em; }
.site-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; }
.site-form input[type="email"], .site-form input[type="text"], .site-form textarea { flex: 1 1 200px; min-width: 0; max-width: 100%; padding: 10px 12px; border: 1px solid #999; border-radius: 4px; background: #fff; color: #222; font: inherit; box-sizing: border-box; }
.site-form button[type="submit"], .site-form input[type="submit"] { padding: 10px 18px; border-radius: 4px; cursor: pointer; font: inherit; font-weight: 700; }
.site-form__msg { flex: 1 1 100%; margin: 4px 0 0; min-height: 1.2em; }
.site-form__msg.bad { color: #e2574c; }
.site-form__trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.site-form__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.site-form--contact { display: block; }
.site-form--contact label { display: block; margin: 0 0 1em; }
.site-form--contact input[type="text"], .site-form--contact input[type="email"], .site-form--contact textarea { display: block; width: 100%; margin-top: 4px; }
.site-playlist__go { display: inline-block; padding: 10px 18px; border-radius: 4px; font-weight: 700; background: #d83a3a; color: #fff !important; text-decoration: none; }
.widget .site-form input[type="email"] { flex-basis: 100%; }
