.sermon-page {
  background: #f3f5f7;
}

.sermon-hero {
  background:
    radial-gradient(circle at 83% 21%, rgba(65, 137, 225, 0.16), transparent 26%),
    linear-gradient(135deg, #fbfbfc 0%, #eef4fb 100%);
}

.sermon-board {
  padding-top: 120px;
}

.sermon-board-heading {
  margin-bottom: 54px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.sermon-board-heading .content-kicker {
  margin-bottom: 11px;
}

.sermon-board-heading h2 {
  margin: 0;
  color: #111b2c;
  font-size: clamp(37px, 4vw, 58px);
  line-height: 1.15;
  letter-spacing: -0.055em;
}

.sermon-board-heading > p {
  margin: 0 0 7px;
  color: #758092;
  font-size: 15px;
}

.sermon-tabs {
  justify-content: flex-start;
}

.sermon-toolbar {
  margin-top: 74px;
  display: grid;
  grid-template-columns: 1fr minmax(500px, 0.8fr);
  align-items: center;
  gap: 50px;
}

.sermon-count {
  margin: 0;
  color: #687486;
  font-size: 15px;
}

.sermon-count strong {
  margin: 0 3px;
  color: #17243a;
  font-size: 21px;
}

.sermon-search {
  min-height: 66px;
  padding: 0 20px 0 24px;
  display: grid;
  grid-template-columns: 100px 1fr 40px;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid #cbd2dc;
  border-radius: 15px;
}

.sermon-search span {
  color: #445064;
  border-right: 1px solid #d3d9e1;
  font-size: 14px;
  font-weight: 800;
}

.sermon-search input {
  min-width: 0;
  color: #17243a;
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 14px;
}

.sermon-search input::placeholder {
  color: #a4acb7;
}

.sermon-search svg {
  width: 25px;
  fill: none;
  stroke: #1a273a;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.sermon-list {
  margin-top: 48px;
  border-top: 2px solid #17243a;
}

.sermon-row {
  position: relative;
  min-height: 156px;
  padding: 25px 14px;
  display: grid;
  grid-template-columns: 48px 184px minmax(0, 1fr) 165px 100px 50px;
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid #cbd2db;
  scroll-margin-top: 125px;
  transition: background-color 0.25s, box-shadow 0.25s;
}

.sermon-row.is-targeted {
  z-index: 1;
  background: #fff;
  box-shadow: inset 4px 0 0 var(--blue-600), 0 12px 35px rgba(19, 54, 96, 0.07);
}

.sermon-number,
.sermon-date {
  color: #7b8592;
  font-size: 13px;
}

.sermon-thumbnail {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 74% 24%, rgba(140, 194, 255, 0.38), transparent 26%),
    linear-gradient(145deg, #276bb3, #092543 78%);
  border-radius: 12px;
}

.sermon-thumbnail::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: radial-gradient(circle at 2px 2px, #fff 1px, transparent 0);
  background-size: 18px 18px;
}

.sermon-thumbnail span {
  z-index: 1;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: -0.02em;
  max-width: 85%;
  text-align: center;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.sermon-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #091b35; opacity: 0; }
.sermon-thumbnail.has-cover .sermon-cover { opacity: 1; }
.sermon-thumbnail.has-cover span, .sermon-thumbnail.has-cover::before { display: none; }

.sermon-row:nth-child(3n + 2) .sermon-thumbnail {
  background: linear-gradient(145deg, #1c4f86, #071d36 78%);
}

.sermon-row:nth-child(3n) .sermon-thumbnail {
  background:
    radial-gradient(circle at 28% 25%, rgba(249, 182, 77, 0.27), transparent 26%),
    linear-gradient(145deg, #315f91, #0b223e 78%);
}

.sermon-copy small {
  color: var(--blue-700);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.sermon-copy h3 {
  margin: 8px 0 6px;
  color: #111b2c;
  font-size: 21px;
  line-height: 1.4;
  letter-spacing: -0.035em;
}

.sermon-copy p,
.sermon-speaker {
  margin: 0;
  color: #788393;
  font-size: 13px;
}

.sermon-speaker {
  line-height: 1.7;
}

.sermon-play {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--blue-700);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
}

.sermon-play:hover {
  background: #123f79;
  transform: scale(1.07);
}

.sermon-play svg {
  width: 19px;
  fill: currentColor;
}

.sermon-empty[hidden] {
  display: none;
}

.sermon-empty {
  min-height: 190px;
  margin: 0;
  display: grid;
  place-items: center;
  color: #7a8594;
  border-bottom: 1px solid #cbd2db;
}

@media (max-width: 1050px) {
  .sermon-row {
    grid-template-columns: 40px 160px minmax(0, 1fr) 115px 80px 46px;
    gap: 15px;
  }

  .sermon-speaker {
    font-size: 12px;
  }
}

@media (max-width: 900px) {
  .sermon-toolbar {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .sermon-search {
    width: min(100%, 680px);
  }

  .sermon-row {
    grid-template-columns: 36px 145px minmax(0, 1fr) 45px;
  }

  .sermon-speaker,
  .sermon-date {
    grid-column: 3;
  }

  .sermon-speaker {
    align-self: end;
  }

  .sermon-date {
    align-self: start;
  }

  .sermon-play {
    grid-column: 4;
    grid-row: 1 / 3;
  }
}

@media (max-width: 700px) {
  .sermon-board {
    padding-top: 92px;
  }

  .sermon-board-heading {
    margin-bottom: 42px;
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .sermon-board-heading h2 {
    font-size: 38px;
  }

  .sermon-board-heading > p {
    font-size: 14px;
  }

  .sermon-tabs {
    justify-content: flex-start;
  }

  .sermon-toolbar {
    margin-top: 50px;
  }

  .sermon-search {
    min-height: 60px;
    padding: 0 15px 0 18px;
    grid-template-columns: 78px minmax(0, 1fr) 28px;
    gap: 10px;
  }

  .sermon-search span,
  .sermon-search input {
    font-size: 12px;
  }

  .sermon-search input::placeholder {
    color: transparent;
  }

  .sermon-list {
    margin-top: 35px;
  }

  .sermon-row {
    min-height: 0;
    padding: 26px 2px;
    grid-template-columns: 28px 112px minmax(0, 1fr) 40px;
    gap: 10px 12px;
  }

  .sermon-number {
    grid-row: 1 / 4;
    align-self: start;
    padding-top: 2px;
    font-size: 11px;
  }

  .sermon-thumbnail {
    grid-column: 2;
    grid-row: 1;
    border-radius: 9px;
  }

  .sermon-thumbnail span {
    font-size: 8px;
  }

  .sermon-copy {
    grid-column: 2 / -1;
    grid-row: 2;
  }

  .sermon-copy h3 {
    margin-top: 5px;
    font-size: 18px;
  }

  .sermon-speaker {
    grid-column: 2;
    grid-row: 3;
    font-size: 11px;
  }

  .sermon-date {
    grid-column: 3 / -1;
    grid-row: 3;
    justify-self: end;
    font-size: 11px;
  }

  .sermon-play {
    width: 38px;
    height: 38px;
    grid-column: 4;
    grid-row: 1;
    align-self: center;
  }
}

@media (max-width: 390px) {
  .sermon-row {
    grid-template-columns: 24px 96px minmax(0, 1fr) 36px;
    gap: 9px;
  }

  .sermon-play {
    width: 34px;
    height: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sermon-row,
  .sermon-play {
    transition: none;
  }
}
.youtube-admin-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 24px 0; padding: 16px; border-radius: 12px; background: #edf3fc; }
.youtube-admin-actions[hidden] { display: none; }
.youtube-admin-actions span { color: #51647c; font-size: 13px; font-weight: 700; }
.youtube-admin-actions a { padding: 10px 14px; border-radius: 8px; color: #fff; background: #1f5fba; font-size: 14px; font-weight: 700; }
.youtube-edit-link { display: inline-block; margin-top: 8px; color: #1f5fba; font-size: 12px; font-weight: 700; text-decoration: underline; }
