/*
Theme Name: NWBDR Proposal B
Theme URI: https://northwestdr.wordpress.com
Author: Kenton Demo
Description: Block theme for the Northwest Baptist Disaster Relief WordPress demo. Navy and gold brand palette drawn from the SBC DR roundel logo.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: nwbdr-theme
Tags: block-theme, full-site-editing, church, disaster-relief
*/

html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

::selection {
  background: var(--wp--preset--color--accent);
  color: var(--wp--preset--color--primary-deep);
}

/* Sticky top bar: alert band + header scroll as one unit.
   Targets the header template-part wrapper directly (footer part is <footer>,
   so this selector is unambiguous). Adding className/slug variants to the
   wp:template-part block re-triggers a WP 7.1 double-render bug — do not. */
header.wp-block-template-part {
  position: sticky;
  top: 0;
  z-index: 1000;
  margin-inline: calc(-1 * var(--wp--style--root--padding-left, 0px));
  width: calc(100% + var(--wp--style--root--padding-left, 0px) + var(--wp--style--root--padding-right, 0px));
}

.admin-bar header.wp-block-template-part {
  top: 32px;
}

/* Header */
.nwb-header {
  background: #fff;
  border-bottom: 1px solid #e7ebea;
  box-shadow: 0 1px 14px rgba(21, 34, 46, 0.06);
}

.nwb-header-inner {
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--wp--preset--color--primary);
}

.brand img {
  width: 58px;
  height: 58px;
}

.brand-name {
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-size: 0.95rem;
}

.brand-name strong {
  white-space: nowrap;
}

.brand-name strong {
  display: block;
  color: var(--wp--preset--color--accent-deep);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Nav (custom markup, no core navigation block) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid #d8dee0;
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--wp--preset--color--primary);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav .nav-list {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 1.4vw, 1.35rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav li {
  position: relative;
}

.main-nav .nav-list > li > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding-bottom: 4px;
  text-decoration: none;
  font-weight: 600;
  color: var(--wp--preset--color--primary);
  white-space: nowrap;
  transition:
    color 0.25s cubic-bezier(0.33, 1, 0.68, 1),
    transform 0.25s cubic-bezier(0.33, 1, 0.68, 1),
    padding-bottom 0s;
}

.main-nav .nav-list > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--wp--preset--color--accent-deep);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.main-nav .nav-list > li:hover > a,
.main-nav .nav-list > li:focus-within > a {
  color: var(--wp--preset--color--accent-deep);
  transform: translateY(-1px);
}

.main-nav .nav-list > li:hover > a::after,
.main-nav .nav-list > li:focus-within > a::after {
  transform: scaleX(1);
}

/* Get Help: calm urgency, distinct from everyday links */
.nav-get-help > a {
  color: #a8402a;
  font-weight: 700;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  padding: 0.3em 0.95em !important;
  transition:
    background-color 0.25s ease,
    color 0.25s cubic-bezier(0.33, 1, 0.68, 1),
    box-shadow 0.25s ease;
}

.nav-get-help > a::after {
  display: none;
}

.nav-get-help:hover > a,
.nav-get-help:focus-within > a {
  color: #8f3421;
  background: #fdf1ec;
  box-shadow: 0 3px 12px rgba(168, 64, 42, 0.22);
}

.main-nav .caret {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.main-nav .has-sub:hover > a .caret,
.main-nav .has-sub:focus-within > a .caret,
.main-nav .has-sub.open > a .caret {
  transform: rotate(180deg);
}

.submenu {
  position: absolute;
  top: 100%;
  left: -12px;
  min-width: 250px;
  margin: 0;
  padding: 0.5rem;
  list-style: none;
  background: #fff;
  color: var(--wp--preset--color--primary);
  border: 1px solid #e7ebea;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(21, 34, 46, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
  transition:
    opacity 0.24s cubic-bezier(0.33, 1, 0.68, 1),
    transform 0.24s cubic-bezier(0.33, 1, 0.68, 1),
    visibility 0s linear 0.24s;
  z-index: 20;
}

.has-sub:hover > .submenu,
.has-sub:focus-within > .submenu,
.has-sub.open > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition-delay: 0s;
}

.submenu::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.submenu li {
  opacity: 0;
  transform: translateX(-8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.has-sub:hover .submenu li,
.has-sub:focus-within .submenu li,
.has-sub.open .submenu li {
  opacity: 1;
  transform: translateX(0);
}

.has-sub:hover .submenu li:nth-child(1),
.has-sub:focus-within .submenu li:nth-child(1),
.has-sub.open .submenu li:nth-child(1) { transition-delay: 0.03s; }

.has-sub:hover .submenu li:nth-child(2),
.has-sub:focus-within .submenu li:nth-child(2),
.has-sub.open .submenu li:nth-child(2) { transition-delay: 0.08s; }

.has-sub:hover .submenu li:nth-child(3),
.has-sub:focus-within .submenu li:nth-child(3),
.has-sub.open .submenu li:nth-child(3) { transition-delay: 0.13s; }

.submenu a {
  display: block;
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  color: var(--wp--preset--color--primary);
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    padding-left 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.submenu li:hover a,
.submenu li:focus-within a,
.submenu a:hover,
.submenu a:focus {
  background: rgba(249, 218, 48, 0.28);
  color: var(--wp--preset--color--primary-deep);
  padding-left: 1.15rem;
}

@media (max-width: 880px) {
  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--wp--preset--color--primary-deep);
    box-shadow: 0 22px 40px rgba(10, 18, 26, 0.35);
    animation: nwbdr-menu-in 0.28s cubic-bezier(0.33, 1, 0.68, 1);
  }

  .main-nav.open {
    display: block;
  }

  @keyframes nwbdr-menu-in {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nwb-header {
    position: relative;
  }

  .main-nav .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem 0 0.9rem;
  }

  .main-nav .nav-list > li > a {
    width: 100%;
    justify-content: space-between;
    color: #eef2f4;
    padding: 0.75rem 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 0;
  }

  .main-nav .nav-list > li > a::after {
    display: none;
  }

  .has-sub > .submenu {
    position: static;
    min-width: 0;
    background: rgba(255, 255, 255, 0.04);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    transition: max-height 0.35s cubic-bezier(0.33, 1, 0.68, 1);
  }

  .has-sub:hover > .submenu,
  .has-sub.open > .submenu {
    max-height: 260px;
    transform: none;
  }

  .submenu li {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .submenu a {
    color: #cfd9e2;
    border-radius: 0;
  }

  .submenu li:hover a,
  .submenu a:hover {
    background: rgba(249, 218, 48, 0.14);
    color: #fff;
    padding-left: 1.7rem;
  }

  .nav-get-help > a {
    color: #ffb9a6;
    border-color: rgba(255, 185, 166, 0.75);
    justify-content: center;
    width: fit-content;
    margin: 0.6rem auto 0.9rem;
    padding: 0.55em 1.6em !important;
  }

  .nav-get-help:hover > a,
  .nav-get-help:focus-within > a {
    color: #fff;
    background: rgba(168, 64, 42, 0.45);
  }
}

/* Alert band */
.alert-band {
  background-color: var(--wp--preset--color--accent);
  background-image: linear-gradient(
    -45deg,
    #ffe66b 25%,
    var(--wp--preset--color--accent) 25%,
    var(--wp--preset--color--accent) 50%,
    #ffe66b 50%,
    #ffe66b 75%,
    var(--wp--preset--color--accent) 75%
  );
  background-size: 44px 44px;
  animation: nwbdr-alert-drift 2s linear infinite;
  color: var(--wp--preset--color--primary-deep);
}

@keyframes nwbdr-alert-drift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 44px 0;
  }
}

body.alert-anim-off .alert-band {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  .alert-band {
    animation: none;
  }

  .brand img,
  .nav-toggle-bar,
  .main-nav .caret,
  .main-nav .nav-list > li > a,
  .main-nav .nav-list > li > a::after,
  .submenu,
  .submenu a,
  .submenu li {
    transition: none;
    transform: none;
  }

  .main-nav.open {
    animation: none;
  }
}

.alert-band a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.alert-band .alert-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: baseline;
  justify-content: center;
  text-align: center;
  font-weight: 600;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

.alert-kicker {
  background: var(--wp--preset--color--primary-deep);
  color: var(--wp--preset--color--accent);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  border-radius: 999px;
  padding: 0.15rem 0.7rem;
}

/* Hero */
.nwb-hero .wp-block-cover__inner-container {
  z-index: 2;
}

.nwb-hero-kicker {
  display: inline-block;
  background: rgba(249, 218, 48, 0.95);
  color: var(--wp--preset--color--primary-deep);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
}

.nwb-hero h1 {
  color: #fff;
  text-shadow: 0 2px 24px rgba(10, 18, 26, 0.55);
  margin-top: 1.2rem;
}

.nwb-hero-lede {
  color: #eef2f4;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  max-width: 46rem;
  margin-left: auto !important;
  margin-right: auto !important;
  text-shadow: 0 1px 14px rgba(10, 18, 26, 0.6);
}

.hero-buttons {
  justify-content: center;
  gap: 0.75rem;
}

.hero-buttons .wp-block-button__link {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: #fff;
  padding: 0.7em 1.5em;
}

.hero-buttons .wp-block-button__link:hover {
  background: var(--wp--preset--color--accent);
  border-color: var(--wp--preset--color--accent);
  color: var(--wp--preset--color--primary-deep);
}

.hero-buttons .is-gold .wp-block-button__link,
.hero-buttons .is-gold.wp-block-button__link {
  background: var(--wp--preset--color--accent);
  border-color: var(--wp--preset--color--accent);
  color: var(--wp--preset--color--primary-deep);
}

.hero-buttons .is-gold .wp-block-button__link:hover {
  filter: brightness(0.94);
  color: var(--wp--preset--color--primary-deep);
}

/* Section eyebrow */
.eyebrow {
  color: var(--wp--preset--color--accent-deep);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.82rem;
}

/* Cards */
.nwb-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.nwb-card {
  background: #fff;
  border: 1px solid #e7ebea;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--wp--preset--shadow--card);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  flex-direction: column;
}

.nwb-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--wp--preset--shadow--lift);
}

.nwb-card-img img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.nwb-card-body {
  padding: 1.35rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.nwb-card-body h3 {
  margin: 0;
  font-size: 1.25rem;
}

.nwb-card-body p {
  margin: 0;
  color: var(--wp--preset--color--muted);
  font-size: 0.97rem;
  flex: 1;
}

.card-link {
  font-weight: 700;
  text-decoration: none;
  color: var(--wp--preset--color--slate);
}

.card-link:hover {
  color: var(--wp--preset--color--accent-deep);
}

.card-link::after {
  content: "\2192";
  margin-left: 0.35rem;
  transition: margin 0.15s ease;
}

.card-link:hover::after {
  margin-left: 0.6rem;
}

/* CTA band */
.cta-band {
  background:
    radial-gradient(1200px 400px at 80% -20%, rgba(51, 80, 107, 0.55), transparent),
    linear-gradient(135deg, var(--wp--preset--color--primary) 0%, var(--wp--preset--color--primary-deep) 100%);
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  color: #cfd9e2;
}

.cta-motto {
  color: var(--wp--preset--color--accent);
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  text-transform: uppercase;
}

/* Footer */
.site-footer {
  background:
    radial-gradient(900px 300px at 15% -30%, rgba(51, 80, 107, 0.5), transparent),
    var(--wp--preset--color--primary-deep);
  color: #c9d3dc;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.7rem;
}

.footer-brand img {
  width: 52px;
  height: 52px;
}

.footer-motto {
  display: inline-block;
  background: rgba(249, 218, 48, 0.12);
  border: 1px solid rgba(249, 218, 48, 0.4);
  color: var(--wp--preset--color--accent);
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}

.site-footer a {
  color: #fff;
  text-decoration-color: rgba(249, 218, 48, 0.6);
  text-underline-offset: 3px;
}

.site-footer a:hover {
  color: var(--wp--preset--color--accent);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-links a {
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease, padding-left 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-links a:hover {
  color: var(--wp--preset--color--accent);
  padding-left: 0.45rem;
}

.social-links {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.5rem 1.05rem;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    color 0.25s ease;
}

.social-links a i {
  font-size: 1.15rem;
  color: var(--wp--preset--color--accent);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.25s ease;
}

.social-links a:hover {
  background: rgba(249, 218, 48, 0.1);
  border-color: rgba(249, 218, 48, 0.55);
  color: #fff;
  transform: translateY(-3px);
}

.social-links a:hover i {
  transform: scale(1.15);
}

.footer-tagline {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 500;
  max-width: 34rem;
}

.footer-rule {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

/* Content niceties */
.entry-content h2 {
  margin-top: 2.2rem;
}

/* Get Help page */
.page-id-50 .wp-block-post-title,
.page-id-50 .entry-content > p:first-child:empty {
  display: none;
}

.page-id-50 main.wp-block-group,
.page-id-50 .entry-content.wp-block-post-content {
  max-width: none;
  padding-inline: 0;
}

.page-id-50 .entry-content > * {
  max-width: 62rem;
  margin-inline: auto;
}

.page-id-50 .entry-content > .help-hero {
  max-width: none;
  width: 100%;
}

.help-hero {
  background:
    radial-gradient(800px 260px at 85% -40%, rgba(51, 80, 107, 0.55), transparent),
    linear-gradient(150deg, var(--wp--preset--color--primary) 0%, var(--wp--preset--color--primary-deep) 100%);
  color: #fff;
  text-align: center;
  padding: clamp(2.4rem, 6vw, 4.5rem) 1.25rem 2.8rem;
}

.help-hero h1 {
  color: #fff;
  margin: 0.4rem 0 0.9rem;
}

.help-kicker {
  display: inline-block;
  background: rgba(249, 218, 48, 0.14);
  border: 1px solid rgba(249, 218, 48, 0.45);
  color: var(--wp--preset--color--accent);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.32rem 0.95rem;
  border-radius: 999px;
}

.help-lede {
  color: #e3eaf0;
  max-width: 44rem;
  margin: 0 auto 1.4rem !important;
  font-size: clamp(1rem, 1.7vw, 1.18rem);
}

.help-emergency {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(168, 64, 42, 0.24);
  border: 1px solid rgba(255, 158, 132, 0.5);
  color: #fff;
  border-radius: 999px;
  padding: 0.55rem 1.15rem;
  margin: 0 auto !important;
}

.help-emergency a {
  color: var(--wp--preset--color--accent);
  font-size: 1.05em;
}

.help-main {
  max-width: 62rem;
  margin: 0 auto;
  padding: 2.6rem 1.25rem 3.5rem;
}

.help-main h2 {
  margin-top: 2.4rem;
}

.help-note {
  color: var(--wp--preset--color--muted, #5b6b76);
  max-width: 52rem;
}

.help-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.1rem;
  margin-top: 1.2rem;
}

.help-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  background: #fff;
  border: 1px solid #e7ebea;
  border-left: 5px solid var(--wp--preset--color--accent-deep);
  border-radius: 14px;
  padding: 1.3rem 1.35rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 10px rgba(21, 34, 46, 0.06);
  transition:
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.help-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(21, 34, 46, 0.14);
  border-left-color: var(--wp--preset--color--accent);
}

.help-card i {
  font-size: 1.5rem;
  color: var(--wp--preset--color--accent-deep);
}

.help-card h3 {
  margin: 0;
  font-size: 1.12rem;
}

.help-card p {
  margin: 0;
  color: var(--wp--preset--color--muted, #5b6b76);
  line-height: 1.55;
}

.help-tel {
  font-weight: 800;
  font-size: 1.08rem;
  color: var(--wp--preset--color--primary-deep);
}

.help-more {
  margin-top: auto;
  padding-top: 0.5rem;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--wp--preset--color--accent-deep);
}

.help-guides {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.help-guides a {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: #f7faf9;
  border: 1px solid #e7ebea;
  border-radius: 10px;
  padding: 0.9rem 1rem;
  text-decoration: none;
  color: var(--wp--preset--color--primary);
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.help-guides a:hover {
  background: rgba(249, 218, 48, 0.16);
  border-color: rgba(249, 218, 48, 0.65);
  transform: translateX(3px);
}

.help-guides i {
  margin-top: 0.2rem;
  color: var(--wp--preset--color--accent-deep);
  width: 1.2rem;
  text-align: center;
}

.help-close {
  margin-top: 2.6rem !important;
  font-size: 1.06rem;
  color: var(--wp--preset--color--primary);
  border-top: 1px solid #e7ebea;
  padding-top: 1.6rem;
}

.entry-content table {
  border-collapse: collapse;
}

.entry-content td,
.entry-content th {
  border: 1px solid #dfe4e2;
  padding: 0.45rem 0.7rem;
}

.nwb-video-wrap {
  max-width: 880px;
  margin: 1.5rem auto 0;
  aspect-ratio: 16 / 9;
}

.nwb-video-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 14px;
}
