/* ==========================================================
   Asaf Blasberg - site stylesheet (css/site.css)
   ========================================================== */

/* ---------- BASE, NAVIGATION, SAMPLE FILTERS, PAGE FADE, SCROLL ARROW ---------- */

/* ---------- Samples page: favorites (js/samples.js) ---------- */
.fav-btn {
  position: absolute;
  left: 12px;
  top: 12px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

.fav-btn svg,
.fav-filter svg {
  fill: none;
  stroke: #24598F;
  stroke-width: 2;
  stroke-linejoin: round;
}

.fav-btn.on svg {
  fill: #24598F;
}

.fav-btn:focus-visible {
  outline: 3px solid #F9D4A2;
  outline-offset: 2px;
}

.fav-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.fav-filter.on svg {
  fill: #FFFFFF;
  stroke: #FFFFFF;
}

/* ---------- Samples page: genre buttons, search and My Favorites stay on screen ----------
   They stick under the menu bar while you scroll the samples, and let go at the end of the list.
   --nav-h comes from js/search.js, --band-h from js/samples.js. */
.samples-stick-wrap .shared-div-3 {
  position: sticky;
  top: calc(var(--nav-h, 0px) - 1px);
  z-index: 31;
  box-shadow: 0 -24px 0 #FFFFFF;
}

.samples-stick-wrap .samples-div-1 {
  position: sticky;
  top: calc(var(--nav-h, 0px) + var(--band-h, 0px) - 2px);
  z-index: 30;
  margin: -12px -6px 0;
  padding: 12px 6px;
  background: #FFFFFF;
  /* white fill behind the band's rounded bottom corners, so no card edges peek through */
  box-shadow: 0 -24px 0 #FFFFFF;
}

/* Phones: the genre buttons sit on one line you can swipe, so they take less room */
@media (max-width: 640px) {
  .samples-stick-wrap .samples-section-1 {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .samples-stick-wrap .shared-p-3 {
    font-size: 17px;
    margin-bottom: 10px;
  }

  .samples-stick-wrap .chip-row {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0 calc(clamp(16px, 3vw, 36px) * -1);
    padding: 0 clamp(16px, 3vw, 36px) 2px;
  }

  .samples-stick-wrap .chip-row::-webkit-scrollbar {
    display: none;
  }

  .samples-stick-wrap .chip {
    flex: none;
  }

  /* Search box and My Favorites share one line; the button shows the heart and the count */
  .samples-stick-wrap .samples-div-1 {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .samples-stick-wrap .samples-label-1 {
    flex: 1 1 0;
    min-width: 0;
  }

  .samples-stick-wrap .fav-filter {
    padding-left: 12px;
    padding-right: 12px;
    gap: 5px;
  }

  .samples-stick-wrap .fav-word {
    display: none;
  }
}

/* ---------- Sticky menu bar (all pages) ----------
   The logo row scrolls away and the dark blue menu bar stays at the top of the screen.
   js/search.js measures the logo row and sets --hdr-row (without it, nothing sticks). */
.header-top {
  position: sticky;
  top: calc(var(--hdr-row, 9999px) * -1);
  z-index: 40;
}

.header-top .site-header {
  transition: box-shadow .2s ease;
}

.header-top.is-stuck .site-header {
  box-shadow: 0 6px 18px rgba(20, 50, 90, .25);
}

/* Phones: the open menu scrolls inside itself if it is taller than the screen */
@media (max-width: 900px) {
  .header-top.is-stuck .nav-chk:checked ~ .nav-links {
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
}


/* Always show the browser's vertical scrollbar */
html {
  overflow-y: scroll;
}

body {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.nav-chk {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.nav-hb {
  display: none;
}

.nav-hb .nav-x {
  display: none;
}

.nav-chk:checked + .nav-hb .nav-x {
  display: block;
}

.nav-chk:checked + .nav-hb .nav-bars {
  display: none;
}

.nav-chk:focus-visible + .nav-hb {
  outline: 3px solid #F9D4A2;
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .nav-hb {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 8px;
    cursor: pointer;
    color: #CAE3F8;
    font-size: 18px;
    font-weight: 700;
  }
  .nav-links {
    display: none !important;
    flex-direction: column;
    align-items: stretch !important;
    padding: 0 0 8px !important;
  }
  .nav-chk:checked ~ .nav-links {
    display: flex !important;
  }
  .nav-links a {
    padding: 14px 12px !important;
    border-top: 1px solid rgba(255,255,255,.25);
    border-radius: 0 !important;
  }
  .nav-links a:active {
    background: #EBEEFA;
    color: #1F4C7A;
  }
}

@media (max-width: 600px) {
  h1 {
    word-break: break-word;
  }
}

.nav-links a {
  color: #CAE3F8;
  padding: 10px 16px;
  border-radius: 12px;
  transition: background .2s ease,color .2s ease,transform .2s ease;
}

.nav-links a.on {
  background: #EBEEFA;
  color: #1F4C7A;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}

@media (hover:hover) and (min-width:901px) {
  .nav-links a:hover,
  .nav-links a:focus-visible {
    background: #EBEEFA;
    color: #1F4C7A;
  }
}

.nav-links a:focus-visible {
  outline: 2px solid #F9D4A2;
  outline-offset: 2px;
}

@media (prefers-reduced-motion:reduce) {
  .nav-links a {
    transition: none;
  }
  .nav-links a:hover {
    transform: none;
  }
}

.dchip {
  padding: 10px 18px;
  background: #FFFFFF;
  border: 1px solid #B5C1EE;
  border-radius: 999px;
  color: #24598F;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

.dchip.on {
  background: #24598F;
  border-color: #24598F;
  color: #FFFFFF;
}

[hidden] {
  display: none !important;
}

@view-transition {
  navigation: auto;
}

header {
  view-transition-name: site-header;
}

::view-transition-old(root) {
  animation: fx-out .4s ease both;
}

::view-transition-new(root) {
  animation: fx-in .4s ease both;
}

@keyframes fx-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes fx-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion:reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
}

#scrollhint {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #24598F;
  border: 2px solid #FFFFFF;
  box-shadow: 0 4px 14px rgba(0,0,0,.28);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  z-index: 50;
  opacity: 1;
  transition: opacity .3s ease,visibility .3s ease;
}

#scrollhint.gone,
#scrollhint.idle {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#scrollhint:focus-visible {
  outline: 3px solid #F9D4A2;
  outline-offset: 3px;
}

.sitefoot {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px 24px;
}

.sitefoot>:last-child {
  text-align: right;
}

@media (max-width:640px) {
  .sitefoot {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .sitefoot>:last-child {
    text-align: center;
  }
  .sitefoot .totop {
    order: 3;
  }
}

button {
  font-family: inherit;
  cursor: pointer;
}

.th {
  position: relative;
  display: block;
  aspect-ratio: 16/9;
  background-color: #B5C1EE;
  overflow: hidden;
}

.tile {
  display: block;
  background: #EBEDF8;
  border: 2px solid #F9D4A2;
  border-radius: 12px;
  overflow: hidden;
  color: #1A1A1A;
}

.tile:hover {
  border-color: #24598F;
  box-shadow: 0 2px 10px rgba(36,89,143,0.25);
}

.cat {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 24px;
  background: #FFFFFF;
  border: 2px solid #B5C1EE;
  border-radius: 12px;
  color: #1A1A1A;
  text-align: left;
  font-size: 16px;
}

.cat.on {
  background: #F9D4A2;
  border-color: #24598F;
}

.chip {
  padding: 10px 18px;
  background: #FFFFFF;
  border: 1px solid #B5C1EE;
  border-radius: 999px;
  color: #24598F;
  font-size: 16px;
  font-weight: 700;
}

.chip.on {
  background: #24598F;
  border-color: #24598F;
  color: #FFFFFF;
}

.cat:focus-visible,
.chip:focus-visible,
.more:focus-visible {
  outline: 3px solid #24598F;
  outline-offset: 2px;
}

.dchip:focus-visible {
  outline: 3px solid #24598F;
  outline-offset: 2px;
}

/* ---------- ARTICLE PAGES (MusicalBackground, MultiCameraSessions, DVD-Blu-ray-differences) ---------- */

.article {
  padding: 24px clamp(20px, 5vw, 64px) 56px;
  max-width: 900px;
  margin: 0 auto;
}

.article-heading {
  margin: 36px 0 16px;
  color: #24598F;
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 28px);
  letter-spacing: -0.02em;
}

.article-list {
  margin: 8px 0 24px;
  padding: 0;
  list-style: none;
  counter-reset: item;
  display: grid;
  gap: 14px;
}

.article-list > li {
  counter-increment: item;
  position: relative;
  padding: 18px 20px 18px 70px;
  background: #EBEDF8;
  border-radius: 12px;
  font-size: 17px;
  line-height: 1.7;
  color: #1A1A1A;
}

.article-list > li::before {
  content: counter(item);
  position: absolute;
  left: 18px;
  top: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F9D4A2;
  color: #24598F;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-list strong {
  color: #24598F;
}

.article-list li p {
  margin: 12px 0 0;
}

.article-clips {
  margin-top: 32px;
}

.content-section.packages-section {
  padding-bottom: 0;
}

.film-band {
  margin-top: 24px;
}

.film-band > .content-section {
  padding-top: 32px;
  padding-bottom: 36px;     /* same space below the cards as above the heading */
}

.editing-tagline {
  margin: 36px auto 0;
  padding: 0 clamp(20px, 5vw, 64px);
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #24598F;
}

.card-list {
  margin: 0;
  padding: 0 0 0 20px;
  line-height: 1.55;
}

.card-list li {
  margin: 0 0 8px;
}

.card-list li:last-child {
  margin-bottom: 0;
}

.card-list li::marker {
  color: #24598F;
}

@media (max-width: 600px) {
  .article-list > li {
    padding: 16px 16px 16px 60px;
  }
  .article-list > li::before {
    left: 14px;
  }
}

/* ==========================================================
   PAGE STYLES
   (update-website.html matches these classes; keep one class per rule)
   ========================================================== */

/* ---------- Header, Page Title, Event Band and Footer (all pages) ---------- */

.site-page {
  background: #FFFFFF;
  color: #1A1A1A;
  font-family: 'Inter', Arial, sans-serif;
  min-height: 100%;
  box-sizing: border-box;
}

.header-top {
  background: #FFFFFF;
  font-family: 'Inter', Arial, sans-serif;
}

.site-header {
  margin: 16px clamp(12px, 3vw, 40px) 22px;
  border-radius: 18px;
  overflow: hidden;
  background: #24598F;
}

.header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 40px;
  margin: 0;
  padding: 20px clamp(16px, 2.5vw, 32px) 20px;
  background: #EBEDF8;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.brand-name {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  color: #24598F;
}

.brand-role {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.34em;
  color: #24598F;
  text-transform: uppercase;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.tagline {
  margin: 0;
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 600;
  color: #24598F;
  letter-spacing: -0.01em;
}

.search-btn {
  flex: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: #24598F;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.site-nav {
  position: relative;
  margin: 0;
  padding: 0 8px;
  background: #24598F;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #CAE3F8;
}

.nav-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  padding: 8px;
}

.page-head {
  background: #FFFFFF;
  padding: 8px clamp(20px, 5vw, 64px) 8px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.page-title {
  margin: 0;
  color: #24598F;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.1;
}

.page-title-icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #F9D4A2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon {
  flex: none;
}

.event-band {
  padding: 36px clamp(20px, 5vw, 64px);
  text-align: center;
  background: #B5C1EE;
  margin-top: -12px;
}

.event-title {
  margin: 0 auto;
  color: #24598F;
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(18px, 2.2vw, 28px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: none;
}

.event-text {
  margin: 12px 0 0;
  color: #2B2B2B;
  font-size: 16px;
}

.event-btn {
  display: inline-block;
  margin-top: 18px;
  padding: 12px 26px;
  font-size: 15px;
  background: #24598F;
  color: #FFFFFF;
  font-weight: 500;
  border-radius: 999px;
}

.event-phones {
  margin: 14px 0 0;
  color: #2B2B2B;
  font-size: 14px;
  line-height: 1.7;
}

.site-footer {
  padding: 24px clamp(20px, 5vw, 64px);
  font-size: 14px;
  color: #FFFFFF;
  background: #28659F;
}

.totop-link {
  color: #FFFFFF;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-self: center;
}

/* ---------- Shared Components (cards, buttons, links, grids) ---------- */

.shared-p-1 {
  margin: 14px 0 0;
  font-size: 18px;
  color: #24598F;
  font-weight: 700;
}

.shared-p-2 {
  margin: 8px 0 12px;
  font-size: 17px;
}

.btn {
  display: inline-block;
  margin-top: 8px;
  padding: 16px 28px;
  background: #24598F;
  color: #FFFFFF;
  font-weight: 700;
  border-radius: 999px;
}

.shared-div-1 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.disc-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: #EBEEFA;
  border: 2px solid #F9D4A2;
  border-radius: 12px;
  overflow: hidden;
  color: #1A1A1A;
}

.disc-cover {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 380 / 529;
  object-fit: contain;
  background: #B5C1EE;
}

.disc-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 14px 16px;
}

.card-genre {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #24598F;
  font-weight: 700;
  margin-bottom: 4px;
}

.card-title {
  display: block;
  font-weight: 700;
  line-height: 1.35;
}

.disc-meta {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: #4A4A4A;
}

.card-meta {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: #4A4A4A;
}

.disc-buy {
  display: block;
  margin-top: auto;
  padding-top: 14px;
  text-align: center;
}

.disc-buy-btn {
  display: inline-block;
  padding: 8px 18px;
  background: #24598F;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  border-radius: 999px;
}

.body-text {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.7;
  color: #1A1A1A;
}

.shared-h2-1 {
  margin: 0 0 20px;
  text-align: center;
  color: #24598F;
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 3vw, 34px);
}

.shared-ul-1 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #FFFFFF;
  border: 1px solid #B5C1EE;
  border-radius: 10px;
  font-size: 17px;
  line-height: 1.5;
}

.feature-icon {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F9D4A2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bg-pale {
  background: #EBEEFA;
}

.content-section {
  padding: 56px clamp(20px, 5vw, 64px);
  max-width: 1100px;
  margin: 0 auto;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card-peach {
  padding: 28px;
  background: #F9D4A2;
  border-radius: 10px;
}

.card-heading {
  margin: 0 0 12px;
  color: #24598F;
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 700;
  font-size: 21px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.card-body-text {
  margin: 0;
  line-height: 1.65;
}

.card-periwinkle {
  padding: 28px;
  background: #B5C1EE;
  border-radius: 10px;
}

.section-title {
  margin: 0 0 20px;
  color: #24598F;
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 3vw, 34px);
  text-align: center;
}

.shared-div-2 {
  margin-bottom: 10px;
}

.quote-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FFFFFF;
}

.link-semibold {
  color: #24598F;
  text-decoration: underline;
  font-weight: 600;
}

.mb-12 {
  margin: 0 0 12px;
}

.featured-section {
  padding: 28px clamp(20px, 5vw, 64px) 0;
  max-width: 1280px;
  margin: 0 auto;
}

.clip-card {
  display: block;
  background: #FFFFFF;
  border: 2px solid #F9D4A2;
  border-radius: 12px;
  overflow: hidden;
  color: #1A1A1A;
}

.clip-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: #F9D4A2;
}

.thumb-img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-link {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.clip-play {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #24598F;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.card-text {
  display: block;
  padding: 14px 16px;
  background: #EBEDF8;
}

.clip-genre {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #24598F;
  font-weight: 700;
}

.clip-thumb-alt {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: #B5C1EE;
}

.shared-div-3 {
  background: #EBEEFA;
  margin-top: 24px;
}

.shared-p-3 {
  margin: 0 0 14px;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #24598F;
  text-align: center;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.chip-link {
  display: inline-block;
  padding: 10px 18px;
  background: #FFFFFF;
  border: 1px solid #B5C1EE;
  border-radius: 999px;
  color: #24598F;
  font-size: 16px;
  font-weight: 700;
}

.link-bold {
  color: #24598F;
  font-weight: 700;
  text-decoration: underline;
}

.mb-8 {
  margin-bottom: 8px;
}

.link {
  color: #24598F;
  text-decoration: underline;
}

.credit-item {
  break-inside: avoid;
  margin-bottom: 4px;
}

.shared-span-1 {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4A7FCF;
  font-weight: 700;
}

.center {
  text-align: center;
}

.genre-section {
  padding: 24px clamp(20px, 5vw, 64px) 64px;
  max-width: 1240px;
  margin: 0 auto;
}

.genre-intro {
  margin: 0 0 24px;
  font-size: 16px;
  color: #2B2B2B;
}

.sample-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.card-play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #24598F;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.faq-item {
  border-top: 1px solid #B5C1EE;
  padding: 18px 20px;
  background: #FFFFFF;
}

.faq-item:nth-of-type(even) {
  background: #EBEEFA;
}

.faq-item:last-of-type {
  border-bottom: 1px solid #B5C1EE;
}

.faq-question {
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  color: #24598F;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-answer {
  margin: 14px 0 0;
  font-size: 17px;
  line-height: 1.7;
}

.td {
  padding: 14px;
}

.td-center {
  padding: 14px;
  text-align: center;
}

.sr-only {
  position: absolute;
  left: -9999px;
}

.t-card {
  margin: 0 0 24px;
  break-inside: avoid;
  padding: 28px;
  background: #B5C1EE;
  border-radius: 10px;
  overflow: hidden;
  display: block;
}

.t-photo {
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
  margin: 0 auto 20px;
  border-radius: 14px;
  background: #EBEEFA;
}

.t-head {
  margin-bottom: 12px;
}

.t-quote {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  flex: 1;
}

.t-caption {
  margin-top: 16px;
  color: #1F4E80;
  line-height: 1.5;
  font-size: 14.5px;
  text-align: right;
}

.t-name {
  display: block;
  font-weight: 700;
  font-size: 16px;
}

.t-role {
  display: block;
  font-weight: 500;
}

/* ---------- DVD/Blu-ray Authoring Page ---------- */

.discs-section-1 {
  padding: 16px clamp(20px, 5vw, 64px) 56px;
  max-width: 1100px;
  margin: 0 auto;
}

.discs-div-1 {
  background: #EBEEFA;
  border: 1px solid #B5C1EE;
  border-radius: 10px;
  padding: 28px;
  text-align: center;
  margin: 8px 0 28px;
}

.discs-p-1 {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 3vw, 32px);
  color: #24598F;
}

.discs-section-2 {
  margin: 0 0 28px;
}

.discs-div-2 {
  display: flex;
  justify-content: center;
  text-align: center;
  margin-top: 24px;
}

.discs-a-1 {
  display: inline-block;
  padding: 16px 28px;
  background: #24598F;
  color: #FFFFFF;
  font-weight: 700;
  border-radius: 999px;
}

.discs-div-3 {
  background: #EBEEFA;
  border: 1px solid #B5C1EE;
  border-radius: 10px;
  padding: 28px;
  margin: 8px 0 16px;
}

.discs-div-4 {
  column-width: 300px;
  column-gap: 24px;
}

.discs-figure-1 {
  margin: 0 0 24px;
  break-inside: avoid;
  padding: 28px;
  background: #F9D4A2;
  border-radius: 10px;
}

.discs-blockquote-1 {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.65;
}

.discs-figcaption-1 {
  margin-top: 16px;
  font-weight: 700;
  color: #1F4E80;
  line-height: 1.5;
}

.discs-figure-2 {
  margin: 0 0 24px;
  break-inside: avoid;
  padding: 28px;
  background: #B5C1EE;
  border-radius: 10px;
}

.discs-a-2 {
  display: block;
  width: fit-content;
  margin: 24px auto 0;
  padding: 16px 28px;
  background: #24598F;
  color: #FFFFFF;
  font-weight: 700;
  border-radius: 999px;
}

/* ---------- Videography Page ---------- */

.videography-section-1 {
  padding: 28px clamp(20px, 5vw, 64px) 28px;
  max-width: 1280px;
  margin: 0 auto;
}

.read-more {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.7;
}

.videography-div-1 {
  background: #EBEEFA;
  border: 1px solid #B5C1EE;
  border-radius: 10px;
  padding: 28px;
  text-align: center;
  margin: 8px 0 8px;
}

.videography-p-2 {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 28px);
  color: #24598F;
}

.videography-h3-1 {
  margin: 24px 0 8px;
  color: #24598F;
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 700;
  font-size: 18px;
}

.videography-ul-1 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0 40px;
  margin: 0 0 16px;
  padding: 0 0 0 22px;
  font-size: 17px;
  line-height: 1.7;
}

.videography-ul-2 {
  column-width: 240px;
  column-gap: 32px;
  margin: 0 0 16px;
  padding: 0 0 0 22px;
  font-size: 16px;
  line-height: 1.6;
}

/* ---------- Editing Page ---------- */

.editing-h2-1 {
  margin: 0 0 20px;
  color: #24598F;
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 3vw, 34px);
}

.editing-ul-1 {
  margin: 0 0 16px;
  padding: 0 0 0 22px;
  font-size: 17px;
  line-height: 1.7;
}

/* ---------- Contact Page ---------- */

.contact-a-1 {
  text-decoration: underline;
}

.contact-a-2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: #24598F;
  font-weight: 700;
  text-decoration: underline;
}

.contact-h2-1 {
  margin: 48px 0 20px;
  color: #24598F;
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 3vw, 34px);
}

.contact-div-1 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.contact-div-2 {
  padding: 28px;
  background: #EBEEFA;
  border: 1px solid #B5C1EE;
  border-radius: 10px;
}

.contact-h3-1 {
  margin: 0 0 12px;
  color: #24598F;
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 700;
  font-size: 21px;
}

.contact-p-1 {
  margin: 0;
  line-height: 1.7;
  font-size: 17px;
}

/* ---------- Disc Samples Page ---------- */

.disc-samples-p-1 {
  margin: 10px 0 0;
  font-size: 16px;
}

.disc-samples-section-1 {
  padding: 24px clamp(20px, 5vw, 64px) 64px;
  max-width: 1100px;
  margin: 0 auto;
}

.disc-samples-div-1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 24px;
}

/* ---------- FAQ Page ---------- */

.faq-ul-1 {
  margin: 10px 0 0;
  padding-left: 22px;
  font-size: 17px;
  line-height: 1.7;
}

.faq-div-1 {
  border-top: 1px solid #B5C1EE;
  padding-top: 24px;
  text-align: center;
}

/* ---------- Home Page ---------- */

.home-div-1 {
  background: #EBEEFA;
  margin-top: 32px;
}

.home-section-1 {
  padding: clamp(32px, 4vw, 56px) clamp(20px, 5vw, 64px) 64px;
  max-width: 1280px;
  margin: 0 auto;
}

.home-h1-1 {
  margin: 0;
  color: #24598F;
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(20px, 2.8vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: none;
  text-align: center;
}

.home-p-1 {
  margin: 28px 0 0;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
  color: #2B2B2B;
  max-width: none;
}

.home-div-2 {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
  justify-content: center;
}

.home-a-1 {
  padding: 16px 28px;
  background: #24598F;
  color: #FFFFFF;
  font-weight: 500;
  border-radius: 999px;
}

.home-section-2 {
  padding: 0 clamp(20px, 5vw, 64px) 40px;
  max-width: 1280px;
  margin: 0 auto;
}

.home-div-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid #B5C1EE;
}

.home-p-2 {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 40px;
  color: #24598F;
  display: flex;
  align-items: center;
  gap: 12px;
}

.home-p-3 {
  margin: 6px 0 0;
  color: #2B2B2B;
}

.home-section-3 {
  padding: 16px clamp(20px, 5vw, 64px) 16px;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px;
}

.home-h2-1 {
  margin: 0 0 20px;
  color: #24598F;
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(20px, 2.8vw, 36px);
}

.home-p-4 {
  margin: 0 0 16px;
  line-height: 1.7;
  font-size: 18px;
  color: #2B2B2B;
}

.home-p-5 {
  margin: 0;
  line-height: 1.7;
  font-size: 18px;
  color: #2B2B2B;
}

.home-ul-1 {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid #B5C1EE;
}

.home-li-1 {
  padding: 18px 0;
  border-top: 1px solid #B5C1EE;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.home-span-1 {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #F9D4A2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.home-section-4 {
  padding: 16px clamp(20px, 5vw, 64px) 72px;
  max-width: 1280px;
  margin: 0 auto;
}

.home-div-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px 24px;
}

.home-div-5 {
  display: flex;
  flex-direction: column;
}

.home-h2-2 {
  margin: 0 0 20px;
  text-align: center;
  color: #24598F;
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(20px, 2.8vw, 36px);
}

.home-figure-1 {
  margin: 0;
  flex: 1;
  padding: 32px;
  background: #F9D4A2;
  border: 1px solid #B5C1EE;
  border-radius: 10px;
}

.home-blockquote-1 {
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
}

.home-figcaption-1 {
  margin-top: 20px;
  color: #24598F;
}

.home-div-6 {
  margin-top: 24px;
  text-align: center;
}

.home-a-2 {
  display: inline-block;
  padding: 16px 32px;
  background: #24598F;
  color: #FFFFFF;
  font-weight: 500;
  border-radius: 999px;
}

.home-figure-2 {
  margin: 0;
  flex: 1;
  padding: 32px;
  background: #B5C1EE;
  border: 1px solid #B5C1EE;
  border-radius: 10px;
}

/* ---------- Live Streaming Page ---------- */

.streaming-section-1 {
  padding: 32px clamp(20px, 5vw, 64px) 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.streaming-section-2 {
  padding: 32px clamp(20px, 5vw, 64px) 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.streaming-div-1 {
  overflow-x: auto;
}

.streaming-table-1 {
  border-collapse: collapse;
  width: 100%;
  min-width: 520px;
  font-size: 16px;
}

.streaming-tr-1 {
  background: #28659F;
  color: #FFFFFF;
}

.streaming-th-1 {
  text-align: left;
  padding: 14px;
}

.streaming-tr-2 {
  background: #FFFFFF;
}

.streaming-div-2 {
  background: #EBEEFA;
  border: 1px solid #B5C1EE;
  border-radius: 10px;
  padding: 28px;
  margin: 8px 0 24px;
}

/* ---------- Samples Page ---------- */

.samples-section-1 {
  padding: 28px clamp(20px, 5vw, 64px) 28px;
  max-width: 1240px;
  margin: 0 auto;
}

.samples-section-2 {
  padding: 40px clamp(20px, 5vw, 64px) 64px;
  max-width: 1240px;
  margin: 0 auto;
}

.samples-div-1 {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.samples-label-1 {
  flex: 1 1 260px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: #FFFFFF;
  border: 1px solid #B5C1EE;
  border-radius: 999px;
}

.samples-input-1 {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  font-size: 16px;
  font-family: inherit;
  background: transparent;
  color: #1A1A1A;
}

.samples-p-1 {
  margin: 28px 0 16px;
  font-size: 16px;
  color: #2B2B2B;
}

.samples-p-2 {
  margin: 32px 0;
  font-size: 18px;
  text-align: center;
}



/* ---------- Testimonials Page ---------- */

.testimonials-section-1 {
  padding: 20px clamp(20px, 5vw, 64px) 56px;
  max-width: 1100px;
  margin: 0 auto;
}

.testimonials-div-1 {
  column-width: 340px;
  column-gap: 24px;
}

/* ---------- Rounded bands, inset to match the header width ---------- */

.bg-pale,
.shared-div-3,
.home-div-1,
.event-band,
.site-footer {
  margin-left: clamp(12px, 3vw, 40px);
  margin-right: clamp(12px, 3vw, 40px);
  border-radius: 18px;
}

.event-band {
  margin-top: 24px;
}

.site-footer {
  margin-top: 16px;
  margin-bottom: 16px;
}

/* Featured clips row: same width as the header and the rounded bands */
.featured-section {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  margin-left: clamp(12px, 3vw, 40px);
  margin-right: clamp(12px, 3vw, 40px);
}

/* Editing page intro: same width as the rounded bands, tighter spacing */
.editing-intro {
  margin: 0 clamp(12px, 3vw, 40px);
  padding: 24px 0 32px;
}

.editing-intro .body-text:last-child {
  margin-bottom: 0;
}

/* Genre buttons: slightly tighter so all 11 fit on one row on desktop */
.chip,
.chip-link {
  padding: 10px 15px;
}

.chip-row {
  gap: 8px;
}

.samples-section-1,
.videography-section-1 {
  padding-left: clamp(16px, 3vw, 36px);
  padding-right: clamp(16px, 3vw, 36px);
}

/* Contact page: intro text sits right under the page title */
.content-section.contact-section {
  padding-top: 12px;
}

/* "Have an upcoming event?" band: a bit closer to the content above */
.event-band {
  margin-top: -16px;
}

/* Editing page: quote button closer to the services card */
.content-section.quote-section {
  padding-top: 24px;
}

/* Phones: featured samples take turns with a cross-fade (js/featured.js).
   The first sample is shown from the very first moment, so nothing flashes on load. */
@media (max-width: 640px) and (prefers-reduced-motion: no-preference) {
  .featured-section .card-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .featured-section .card-grid > * {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
  }

  .featured-section .card-grid > :first-child {
    opacity: 1;
    visibility: visible;
  }

  .featured-section .card-grid.rotating > * {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 0s linear 1s;
  }

  .featured-section .card-grid.rotating > .is-active {
    opacity: 1;
    visibility: visible;
    transition: opacity 1s ease, visibility 0s;
  }
}

/* Home and Videography: random clips fade in one at a time (js/featured.js).
   Each slot stacks the outgoing and incoming card in the same spot. */
.rot-slot {
  display: grid;
  min-width: 0;
}

.rot-slot > * {
  grid-area: 1 / 1;
  opacity: 1;
  transition: opacity 1s ease;
}

.rot-slot > .rot-in,
.rot-slot > .rot-out {
  opacity: 0;
}

.rot-slot > .rot-out {
  pointer-events: none;
}

/* DVD/Blu-ray page: "What Clients Say" closer to the $695 card */
.content-section.clients-section {
  padding-top: 24px;
}

/* ---------- Testimonials page: even grid ----------
   Equal cards in rows (no newspaper columns, so nothing shifts in Safari).
   Long quotes are cut off with a fade and a "Read More" button that opens the
   full testimonial in a window (js/testimonials.js). */
.testimonials-section-1 .testimonials-div-1 {
  columns: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.testimonials-div-1 .t-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: #B5C1EE;
  border: 2px solid #B5C1EE;
  border-radius: 16px;
  color: #1A1A1A;
}

.testimonials-div-1 .t-photo,
.t-dialog .t-photo {
  width: 96px;
  max-width: 96px;
  height: 96px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: 0 0 16px;
  border-radius: 50%;
  border: 3px solid #F9D4A2;
  background: #EBEEFA;
}

.testimonials-div-1.t-js .t-quote.is-clamped {
  max-height: 13.2em;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 65%, transparent);
  mask-image: linear-gradient(#000 65%, transparent);
}

.testimonials-div-1 .t-caption {
  margin-top: auto;
  padding-top: 16px;
  text-align: left;
}

.testimonials-div-1 .t-more {
  align-self: flex-start;
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: none;
  color: #24598F;
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Name, role and website sit at the top, to the right of the photo */
.testimonials-section-1 .testimonials-div-1 .t-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  grid-template-rows: auto auto auto auto 1fr;
  column-gap: 18px;
  align-items: start;
}

.testimonials-div-1 .t-card > * {
  grid-column: 1 / -1;
}

.testimonials-div-1 .t-card > .t-photo {
  grid-column: 1;
  grid-row: 1;
}

.testimonials-div-1 .t-card > .t-caption {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  margin: 0 0 16px;
  padding: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.testimonials-div-1 .t-card > .t-more {
  justify-self: start;
}

/* The "Read More" window */
.t-dialog {
  width: min(680px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  padding: 36px 36px 30px;
  border: 0;
  border-radius: 18px;
  background: #EBEEFA;
  color: #1A1A1A;
  font-family: 'Inter', Arial, sans-serif;
  box-shadow: 0 20px 60px rgba(20, 50, 90, .35);
}

.t-dialog::backdrop {
  background: rgba(20, 40, 70, .55);
}

.t-dialog .t-quote {
  font-size: 17px;
  line-height: 1.7;
}

.t-dialog .t-caption {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 2px solid #F9D4A2;
  text-align: left;
}

.t-dialog .t-close {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #FFFFFF;
  color: #24598F;
  font-size: 24px;
  line-height: 1;
}

.t-dialog:focus,
.t-dialog .t-body:focus,
.t-dialog .t-close:focus:not(:focus-visible) {
  outline: none;
}

.t-dialog .t-close {
  -webkit-user-select: none;
  user-select: none;
}

.t-dialog .t-close:focus-visible {
  outline: 3px solid #24598F;
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .t-dialog {
    padding: 28px 22px 24px;
  }
}

/* DVD/Blu-ray page, phones: the 4 discs show in 2 columns */
@media (max-width: 640px) {
  .discs-section-2 .shared-div-1 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .discs-section-2 .disc-body {
    padding: 10px 10px 12px;
  }

  .discs-section-2 .card-genre {
    font-size: 10px;
    letter-spacing: 0.06em;
  }

  .discs-section-2 .card-title {
    font-size: 15px;
  }

  .discs-section-2 .disc-meta,
  .discs-section-2 .card-meta {
    font-size: 12px;
  }
}

/* Disc Samples page: the All / Ultra HD Blu-ray / Blu-ray buttons stay on screen
   under the menu bar while you scroll the discs (--nav-h comes from js/search.js). */
.disc-samples-section-1 .disc-samples-div-1 {
  position: sticky;
  top: calc(var(--nav-h, 0px) - 1px);
  z-index: 30;
  margin: 0 -12px 24px;
  padding: 12px;
  background: #FFFFFF;
}

/* Disc Samples page, phones: 2 columns, same as the DVD/Blu-ray page */
@media (max-width: 640px) {
  .disc-samples-section-1 .shared-div-1 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .disc-samples-section-1 .disc-body {
    padding: 10px 10px 12px;
  }

  .disc-samples-section-1 .card-genre {
    font-size: 10px;
    letter-spacing: 0.06em;
  }

  .disc-samples-section-1 .card-title {
    font-size: 15px;
  }

  .disc-samples-section-1 .disc-meta,
  .disc-samples-section-1 .card-meta {
    font-size: 12px;
  }

  .disc-samples-section-1 .disc-samples-div-1 {
    flex-wrap: nowrap;
    gap: 6px;
  }

  .disc-samples-section-1 .dchip {
    flex: none;
    padding: 8px 12px;
    font-size: 14px;
  }
}

/* Line break that only happens on phones (e.g. the DVD/Blu-ray page title) */
.br-phone {
  display: none;
}

@media (max-width: 640px) {
  .br-phone {
    display: inline;
  }
}

/* Menu bar: when the items no longer fit on one line, split them evenly into two rows:
   Home ... DVD/Ultra HD Blu-ray, then Live Streaming ... Contact.
   js/search.js adds .nav-2rows only when the one-line menu would wrap. Phones keep the Menu button. */
@media (min-width: 901px) {
  .nav-links.nav-2rows::after {
    content: "";
    flex-basis: 100%;
    height: 0;
    order: 1;
  }

  .nav-links.nav-2rows a:nth-child(n+6) {
    order: 2;
  }
}

/* Samples page, phones: 2 columns of samples */
@media (max-width: 640px) {
  .samples-stick-wrap .sample-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .samples-stick-wrap .card-text {
    padding: 10px 10px 12px;
  }

  .samples-stick-wrap .card-genre {
    font-size: 10px;
    letter-spacing: 0.06em;
  }

  .samples-stick-wrap .card-title {
    font-size: 14px;
  }

  .samples-stick-wrap .card-meta {
    font-size: 12px;
  }

  .samples-stick-wrap .card-play {
    right: 8px;
    bottom: 8px;
    width: 30px;
    height: 30px;
  }

  .samples-stick-wrap .card-play svg {
    width: 14px;
    height: 14px;
  }

  .samples-stick-wrap .fav-btn {
    left: 8px;
    top: 8px;
    width: 32px;
    height: 32px;
  }

  .samples-stick-wrap .fav-btn svg {
    width: 16px;
    height: 16px;
  }
}

/* Featured clips (Home, Videography, Editing, Live Streaming), phones: 2 side by side (js/featured.js) */
@media (max-width: 640px) {
  .featured-section .card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .featured-section .card-grid > * {
    grid-area: auto;
    opacity: 1;
    visibility: visible;
  }

  .featured-section .card-grid > :nth-child(n+3) {
    display: none;
  }

  .featured-section .card-text {
    padding: 10px 10px 12px;
  }

  .featured-section .clip-genre {
    font-size: 10px;
    letter-spacing: 0.06em;
  }

  .featured-section .card-play {
    right: 8px;
    bottom: 8px;
    width: 30px;
    height: 30px;
  }

  .featured-section .card-play svg {
    width: 14px;
    height: 14px;
  }
}

/* Featured clips, larger screens: always 3 in one row (never 2 + 1) */
@media (min-width: 641px) {
  .featured-section .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .featured-section .card-grid {
    gap: 14px;
  }

  .featured-section .card-text {
    padding: 10px 12px 12px;
  }

  .featured-section .clip-genre {
    font-size: 11px;
    letter-spacing: 0.06em;
  }
}

/* DVD/Blu-ray page, phones: only the first 2 discs
   (The Other Side of Darkness and H2H CMNDR: a film and a music Blu-ray) */
@media (max-width: 640px) {
  .discs-section-2 .shared-div-1 > :nth-child(n+3) {
    display: none;
  }
}

/* DVD/Blu-ray page: the 4 discs stay 4 in a row on every screen wider than a phone.
   Phones keep their own rule above (2 discs side by side). */
@media (min-width: 641px) {
  .discs-section-2 .shared-div-1 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* 4 in a row on medium screens: slightly smaller text so it fits */
@media (min-width: 641px) and (max-width: 1040px) {
  .discs-section-2 .shared-div-1 {
    gap: 12px;
  }

  .discs-section-2 .disc-body {
    padding: 10px 10px 12px;
  }

  .discs-section-2 .card-genre {
    font-size: 10px;
    letter-spacing: 0.06em;
  }

  .discs-section-2 .card-title {
    font-size: 15px;
  }

  .discs-section-2 .disc-meta,
  .discs-section-2 .card-meta {
    font-size: 12px;
  }
}

/* DVD/Blu-ray page, 4 in a row on narrow screens: keep "Buy This Disc" on one line */
@media (min-width: 641px) and (max-width: 820px) {
  .discs-section-2 .disc-buy-btn {
    padding: 8px 12px;
    font-size: 13px;
    white-space: nowrap;
  }
}

/* Home page: top 3 samples sit a little closer to the menu bar */
.page-home .featured-section {
  padding-top: 8px;
}

/* Videography page: "Have an upcoming event?" band a little closer to the venues */
.page-videography .event-band {
  margin-top: -40px;
}

/* Home page big pale card: same space above "Browse Samples..." as below the email button */
.page-home .home-div-1 .featured-section {
  padding-top: 36px;
}

.page-home .home-section-1 {
  padding-bottom: 36px;
}

/* Videography page, "What You Receive" box: equal space above the heading and below the list */
.page-videography .bg-pale:not(.film-band) > .content-section {
  padding-top: 36px;
  padding-bottom: 12px;     /* + the list's own bottom margin = 36px */
}

/* Home page: "Have an upcoming event?" band a little closer to the testimonials */
.page-home .event-band {
  margin-top: -40px;
}

/* Videography page: intro text and "What You Receive" box closer to "How I Film" */
.page-videography .film-band + .content-section {
  padding-top: 28px;
  padding-bottom: 12px;     /* + the last line's own margin = 28px, same as above */
}

/* Differences page, phones: smaller title so each of its 3 lines fits */
@media (max-width: 640px) {
  .page-differences .page-title {
    font-size: 21px;
    gap: 10px;
  }
}
