/* ═══════════════════════════════════════════════════════════════
   A YOKED CONGREGATION — PAGE CSS
   Created: August 6, 2026
   Scope: .yoked-tri-county-widget
   Pattern: Based on Newcomers: Understanding UU page style

   RULES FOLLOWED:
   - No CSS variables (var(--anything))
   - No inherit, initial, unset
   - Explicit values only
   - All selectors scoped to .yoked-tri-county-widget

   BREAKPOINTS:
   - Desktop: Base (1024px+)
   - Tablet: max-width: 1023.98px
   - Mobile: max-width: 767.98px
   - Small phone: max-width: 374.98px
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@200;300;400;500;600&family=Manrope:wght@300;400;500;600&family=Space+Grotesk:wght@400;500;600&display=swap');


/* ═══════════════════════════════════════════════════════════════
   BASE CONTAINER
   ═══════════════════════════════════════════════════════════════ */

.yoked-tri-county-widget {
  display: block;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  font-family: "Manrope", "Barlow", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #666666;
  text-align: left;
  box-sizing: border-box;
}

.yoked-tri-county-widget *,
.yoked-tri-county-widget *::before,
.yoked-tri-county-widget *::after {
  box-sizing: border-box;
}

@keyframes yokedFadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .yoked-tri-county-widget * {
    animation: none;
    transition: none;
  }
}


/* ═══════════════════════════════════════════════════════════════
   PAGE WRAPPER
   ═══════════════════════════════════════════════════════════════ */

.yoked-tri-county-widget .page-wrapper {
  max-width: 1140px;
  margin: 2rem auto;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-radius: 8px 8px 0 0;
  overflow: hidden;
}


/* ═══════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════ */

.yoked-tri-county-widget header {
  background: linear-gradient(135deg, #614E6B 0%, #8B4049 100%);
  color: white;
  padding: 2.5rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 120px;
}

.yoked-tri-county-widget h1 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: 200;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
  opacity: 0;
  animation: yokedFadeInUp 0.6s ease forwards;
}

.yoked-tri-county-widget header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.875rem, 2.5vw, 1rem);
  font-weight: 300;
  margin: 0;
  opacity: 0;
  animation: yokedFadeInUp 0.6s ease 0.2s forwards;
}


/* ═══════════════════════════════════════════════════════════════
   CONTENT WRAPPER
   ═══════════════════════════════════════════════════════════════ */

.yoked-tri-county-widget .content-wrapper {
  padding: 2rem 2rem 3rem 2rem;
}


/* ═══════════════════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════════════════ */

.yoked-tri-county-widget section {
  padding: 2rem 0;
  border-bottom: 1px solid rgba(97, 78, 107, 0.1);
  opacity: 0;
  animation: yokedFadeInUp 0.8s ease forwards;
}

.yoked-tri-county-widget section:first-child {
  padding-top: 0;
}

.yoked-tri-county-widget section:last-child {
  border-bottom: none;
  padding-bottom: 1.5rem;
}

.yoked-tri-county-widget .content-wrapper section:nth-of-type(1) { animation-delay: 0.1s; }
.yoked-tri-county-widget .content-wrapper section:nth-of-type(2) { animation-delay: 0.2s; }
.yoked-tri-county-widget .content-wrapper section:nth-of-type(3) { animation-delay: 0.3s; }
.yoked-tri-county-widget .content-wrapper section:nth-of-type(4) { animation-delay: 0.4s; }
.yoked-tri-county-widget .content-wrapper section:nth-of-type(5) { animation-delay: 0.5s; }
.yoked-tri-county-widget .content-wrapper section:nth-of-type(6) { animation-delay: 0.6s; }
.yoked-tri-county-widget .content-wrapper section:nth-of-type(7) { animation-delay: 0.7s; }


/* ═══════════════════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════════════════ */

.yoked-tri-county-widget h2 {
  font-family: "Outfit", sans-serif;
  font-size: 1.75rem;
  font-weight: 400;
  color: #614E6B;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 1.5rem 0;
  line-height: 1.3;
}

.yoked-tri-county-widget h3 {
  font-family: "Outfit", sans-serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: #8B4049;
  margin: 0 0 1rem 0;
  line-height: 1.4;
}

.yoked-tri-county-widget h4 {
  font-family: "Outfit", sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: #614E6B;
  margin: 1.5rem 0 0.75rem 0;
  line-height: 1.4;
}

.yoked-tri-county-widget p {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.6;
  margin: 0 0 1rem 0;
}

.yoked-tri-county-widget p:last-child {
  margin-bottom: 0;
}

.yoked-tri-county-widget strong {
  font-weight: 600;
  color: #616161;
}

.yoked-tri-county-widget em {
  font-style: italic;
}

.yoked-tri-county-widget .takeaway {
  font-style: italic;
  color: #614E6B;
  padding-left: 1rem;
  border-left: 3px solid #6B8E9F;
  margin-top: 1rem;
}


/* ═══════════════════════════════════════════════════════════════
   LINKS — Dusty Teal with animated underline
   ═══════════════════════════════════════════════════════════════ */

.yoked-tri-county-widget a {
  color: #6B8E9F;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.yoked-tri-county-widget a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #8B4049;
  transition: width 0.4s ease;
}

.yoked-tri-county-widget a:hover {
  color: #8B4049;
}

.yoked-tri-county-widget a:hover::after {
  width: 100%;
}

.yoked-tri-county-widget a:focus-visible {
  outline: 2px solid #6B8E9F;
  outline-offset: 2px;
}

.yoked-tri-county-widget a:focus:not(:focus-visible) {
  outline: none;
}


/* ═══════════════════════════════════════════════════════════════
   LISTS
   ═══════════════════════════════════════════════════════════════ */

.yoked-tri-county-widget ul {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
  list-style-type: square;
}

.yoked-tri-county-widget ul li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
  color: #666666;
  font-weight: 300;
}

.yoked-tri-county-widget ul li:last-child {
  margin-bottom: 0;
}

.yoked-tri-county-widget ul li::marker {
  color: #8B4049;
}


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1023.98px) {
  .yoked-tri-county-widget .page-wrapper {
    margin: 1.5rem 1rem;
  }

  .yoked-tri-county-widget .content-wrapper {
    padding: 1.5rem 1.5rem 2.5rem 1.5rem;
  }

  .yoked-tri-county-widget h2 {
    font-size: 1.5rem;
  }
}


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 767.98px) {
  .yoked-tri-county-widget .page-wrapper {
    margin: 1rem 0.5rem;
  }

  .yoked-tri-county-widget header {
    padding: 2rem 1rem;
  }

  .yoked-tri-county-widget .content-wrapper {
    padding: 1.25rem 1.25rem 2rem 1.25rem;
  }

  .yoked-tri-county-widget section {
    padding: 1.5rem 0;
  }

  .yoked-tri-county-widget h2 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
  }

  .yoked-tri-county-widget h3 {
    font-size: 1.2rem;
  }

  .yoked-tri-county-widget p {
    font-size: 1rem;
  }
}


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — SMALL PHONE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 374.98px) {
  .yoked-tri-county-widget .content-wrapper {
    padding: 1rem 1rem 1.5rem 1rem;
  }

  .yoked-tri-county-widget h2 {
    font-size: 1.2rem;
  }

  .yoked-tri-county-widget ul {
    padding-left: 1.25rem;
  }
}


/* Vertical explainer video (YouTube Short, 9:16) */
.yoked-tri-county-widget .yoked-video {
  margin-top: 1.5rem;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;
  max-width: 340px;
}

.yoked-tri-county-widget .yoked-video iframe {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-width: 0;
  border-style: none;
}

.yoked-tri-county-widget .yoked-video-caption {
  margin-top: 0.5rem;
  margin-bottom: 0;
  text-align: center;
  font-size: 0.9rem;
}

@media (max-width: 374.98px) {
  .yoked-tri-county-widget .yoked-video {
    max-width: 100%;
  }
}
