:root {
  --ww-primary: #002366;
  --ww-accent: #b8912f;
}

body {
  font-family: "Segoe UI", "Trebuchet MS", "PT Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6,
.navbar-brand {
  font-family: "Playfair Display", "Georgia", "Times New Roman", serif;
  letter-spacing: -0.01em;
  font-weight: 700;
}

.text-brand {
  color: var(--ww-primary) !important;
}

.bg-brand {
  background-color: var(--ww-primary) !important;
}

.btn-brand {
  background-color: var(--ww-primary);
  border-color: var(--ww-primary);
  color: #fff;
}
.btn-brand:hover, .btn-brand:focus {
  background-color: #001c52;
  border-color: #001c52;
  color: #fff;
}

.navbar-brand img {
  height: 40px;
  width: auto;
}

.navbar-nav .nav-link {
  position: relative;
  padding-bottom: 0.6rem !important;
  color: #495057;
  transition: color 0.15s ease;
}
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.1rem;
  width: 0;
  height: 3px;
  background: var(--ww-primary);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.2s ease;
}
.navbar-nav .nav-link:hover {
  color: var(--ww-primary);
}
.navbar-nav .nav-link:hover::after {
  width: 55%;
}
.navbar-nav .nav-link.active {
  color: var(--ww-primary) !important;
  font-weight: 700;
}
.navbar-nav .nav-link.active::after {
  width: 70%;
  background: var(--ww-primary);
}

.hero {
  position: relative;
  background-color: #000;
}
.hero img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  opacity: 0.85;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 35, 102, 0.35) 0%, rgba(0, 35, 102, 0.15) 45%, rgba(0, 35, 102, 0.55) 100%);
}

.hero-verse {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem 2rem;
  gap: 1.25rem;
  color: #fff;
}

.hero-verse-cite {
  margin: 0;
  font-family: "Poppins", "Trebuchet MS", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.hero-verse-quote {
  margin: 0;
  max-width: 720px;
  font-family: "Playfair Display", "Georgia", serif;
  font-weight: 700;
  font-style: italic;
  font-size: 2.5rem;
  line-height: 1.35;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

.hero-verse-heading {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

.hero-verse-lead {
  font-family: "Playfair Display", "Georgia", serif;
  font-weight: 400;
  font-style: italic;
  font-size: 1.6rem;
}

.hero-verse-emphasis {
  font-family: "Playfair Display", "Georgia", serif;
  font-weight: 900;
  font-size: 5rem;
  line-height: 1;
}

.hero-verse-line {
  font-family: "Playfair Display", "Georgia", serif;
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1.3;
}

.hero-verse-divider {
  width: 40px;
  height: 2px;
  background-color: var(--ww-accent);
}

@media (max-width: 576px) {
  .hero-verse-quote {
    font-size: 1.5rem;
  }
  .hero-verse-lead {
    font-size: 1.1rem;
  }
  .hero-verse-emphasis {
    font-size: 3.2rem;
  }
  .hero-verse-line {
    font-size: 1.2rem;
  }
}
.profile-card {
  max-width: 640px;
}

.profile-photo {
  width: 220px;
  height: 220px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.profile-name {
  font-size: 2rem;
}

.profile-divider {
  width: 60px;
  height: 2px;
  background-color: var(--ww-accent);
}

.profile-tagline {
  font-family: "Playfair Display", "Georgia", serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ww-accent);
}

.testimony-block {
  font-size: 0.98rem;
  line-height: 1.75;
}

.testimony-label {
  font-family: "Playfair Display", "Georgia", serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ww-accent);
  margin-bottom: 0.75rem;
}

.eyebrow-word {
  font-family: "Poppins", "Trebuchet MS", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ww-primary);
  margin-bottom: 0.85rem;
}
.eyebrow-word-accent {
  color: #8a6d23;
}

.dropcap-block {
  display: flow-root;
}

.dropcap {
  float: left;
  font-family: "Playfair Display", "Georgia", serif;
  font-weight: 900;
  font-size: 5.25rem;
  line-height: 0.8;
  padding-right: 0.75rem;
}
.dropcap-primary {
  color: var(--ww-primary);
}
.dropcap-accent {
  color: var(--ww-accent);
}

.dropcap-text {
  color: #495057;
  line-height: 1.75;
  margin-bottom: 0;
}

.vision-photo {
  position: relative;
  height: 460px;
  overflow: hidden;
}
.vision-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 249, 250, 0.6) 45%, rgba(248, 249, 250, 0.85) 100%);
}
.vision-photo + .container {
  position: relative;
}
.vision-photo + .container::before, .vision-photo + .container::after {
  content: "W";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Playfair Display", "Georgia", serif;
  font-weight: 900;
  font-size: 11rem;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.vision-photo + .container::before {
  left: 3rem;
  color: rgba(0, 35, 102, 0.06);
}
.vision-photo + .container::after {
  right: 3rem;
  color: rgba(184, 145, 47, 0.12);
}
@media (max-width: 1300px) {
  .vision-photo + .container::before, .vision-photo + .container::after {
    display: none;
  }
}

.vision-photo-img {
  position: absolute;
  inset: -20px;
  background-image: url("../images/worship-team-stage.webp");
  background-size: cover;
  background-position: center 30%;
  filter: blur(5px) saturate(1);
}

@media (max-width: 576px) {
  .vision-photo {
    height: 280px;
  }
}
.vision-block {
  max-width: 720px;
}
.vision-block p {
  color: #495057;
  line-height: 1.75;
}

.vision-card {
  position: relative;
  z-index: 1;
  margin-top: -125px;
  padding: 3rem 2.5rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 25px 50px rgba(0, 35, 102, 0.16);
}

@media (max-width: 576px) {
  .vision-card {
    margin-top: -60px;
    padding: 2rem 1.5rem;
  }
}
.vision-heading {
  color: var(--ww-primary);
}

.footer {
  background-color: #f8f9fa;
}

.footer-logos img {
  height: 48px;
  width: auto;
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(0, 35, 102, 0.06);
  border: 1px solid rgba(0, 35, 102, 0.15);
  color: var(--ww-primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.footer-credit-label {
  color: #6c757d;
  font-weight: 400;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid #dee2e6;
  margin-left: 0.35rem;
  color: #495057;
}
.social-icons a:hover {
  color: var(--ww-primary);
  border-color: var(--ww-primary);
}

.video-embed {
  background-color: #000;
  border-radius: 0.375rem;
  overflow: hidden;
}
.video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-embed-thumb {
  display: block;
}
.video-embed-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-embed-thumb .bi-play-circle-fill {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  transition: transform 0.15s ease;
}
.video-embed-thumb:hover .bi-play-circle-fill {
  transform: translate(-50%, -50%) scale(1.1);
}
.video-embed-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.25) 45%, rgba(0, 0, 0, 0) 70%);
  opacity: 0.9;
  transition: opacity 0.15s ease;
}
.video-embed-thumb:hover::after {
  opacity: 1;
}

.video-embed-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 0.9rem 1rem 0.75rem;
  color: #fff;
  font-family: "Playfair Display", "Georgia", serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;
  letter-spacing: 0.01em;
}
.video-embed-title::before {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  margin-bottom: 0.4rem;
  background: var(--ww-primary);
  border-radius: 2px;
  transition: width 0.2s ease;
}

.video-embed-thumb:hover .video-embed-title::before {
  width: 48px;
}

.video-embed-ytlink {
  position: absolute !important;
  top: 0.5rem;
  right: 0.5rem;
  left: auto !important;
  width: auto !important;
  height: auto !important;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.6rem;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 0.75rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.video-embed-ytlink:hover {
  background: var(--ww-primary);
  color: #fff;
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (min-width: 576px) {
  .album-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 992px) {
  .album-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.album-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 0.75rem;
  cursor: pointer;
  appearance: none;
  font: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.album-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 35, 102, 0.1);
}
.album-card.is-active {
  border-color: var(--ww-primary);
  box-shadow: 0 10px 24px rgba(0, 35, 102, 0.14);
}

.album-card-cover {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 0.5rem;
}

.album-card-title {
  font-family: "Playfair Display", "Georgia", serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ww-primary);
  line-height: 1.3;
}

.album-card-divider {
  display: block;
  width: 32px;
  height: 2px;
  background-color: var(--ww-accent);
  margin: 0.35rem 0;
}

.album-card-meta {
  font-size: 0.8rem;
  color: #6c757d;
}

.album-panel {
  scroll-margin-top: 100px;
}

.album-cover {
  width: 72px;
  height: 72px;
  object-fit: cover;
  flex-shrink: 0;
}

.track-row {
  padding: 0.5rem 0.25rem;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}
.track-row.playing {
  background-color: rgba(0, 35, 102, 0.06);
}
.track-row.playing .track-title {
  color: var(--ww-primary);
  font-weight: 700;
}
.track-row.playing .track-play-btn {
  background: var(--ww-primary);
  color: #fff;
}

.track-play-btn {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid #dee2e6;
  background: #fff;
  color: var(--ww-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.track-play-btn:hover {
  background: var(--ww-primary);
  color: #fff;
}

.mini-player {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1030;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  background: #fff;
  border-top: 1px solid #dee2e6;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
}

.mp-cover {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.mp-info {
  min-width: 0;
  flex-shrink: 0;
  width: 40%;
  max-width: 260px;
}

.mp-title {
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mp-album {
  font-size: 0.8rem;
  color: #6c757d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#mp-audio {
  flex-grow: 1;
  min-width: 0;
  height: 36px;
}

body:has(#mini-player:not(.d-none)) {
  padding-bottom: 80px;
}