/*
  West Texas District Church of the Nazarene
  Site-wide visual system for DNN / DNNGo content builder sections.
*/

:root {
  --wtx-ink: #17202a;
  --wtx-navy: #173b57;
  --wtx-navy-dark: #142836;
  --wtx-teal: #2f766f;
  --wtx-gold: #c6923d;
  --wtx-rust: #a95f3d;
  --wtx-muted: #5c6670;
  --wtx-line: #d9e0e4;
  --wtx-paper: #fbfcfb;
  --wtx-soft: #eef4f1;
  --wtx-white: #ffffff;
  --wtx-shadow: 0 18px 50px rgba(23, 32, 42, 0.12);
}

body {
  color: var(--wtx-ink);
  background: var(--wtx-paper);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: var(--wtx-teal);
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

a:hover,
a:focus {
  color: var(--wtx-navy);
  text-decoration: none;
}

.is-section {
  overflow: hidden;
}

.layout-container,
.is-container {
  max-width: 1500px;
  width: calc(100% - 80px);
  margin-right: auto;
  margin-left: auto;
}

.wtx-section {
  background: var(--wtx-white);
}

.wtx-section-soft {
  background: var(--wtx-soft);
}

.wtx-eyebrow {
  margin: 0 0 12px;
  color: var(--wtx-rust);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: uppercase;
}

.wtx-title {
  color: var(--wtx-navy);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.04;
}

.wtx-title-xl {
  font-size: clamp(54px, 6vw, 104px);
  line-height: 0.96;
}

.wtx-title-lg {
  font-size: clamp(38px, 4vw, 68px);
}

.wtx-title-md {
  font-size: clamp(30px, 3vw, 46px);
}

.wtx-text {
  color: var(--wtx-muted);
  font-size: 18px;
}

.wtx-lead {
  color: #263743;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.45;
}

.wtx-button,
.button-01.wtx-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--wtx-teal);
  border-radius: 6px;
  padding: 0 24px;
  color: var(--wtx-white);
  background: var(--wtx-teal);
  font-weight: 800;
  line-height: 1;
}

.wtx-button:hover,
.wtx-button:focus,
.button-01.wtx-button:hover,
.button-01.wtx-button:focus {
  color: var(--wtx-white);
  background: var(--wtx-navy);
  border-color: var(--wtx-navy);
  transform: translateY(-1px);
}

.wtx-button-secondary,
.button-01.wtx-button-secondary {
  color: var(--wtx-navy);
  background: var(--wtx-white);
  border-color: rgba(23, 59, 87, 0.28);
}

.wtx-button-secondary:hover,
.wtx-button-secondary:focus,
.button-01.wtx-button-secondary:hover,
.button-01.wtx-button-secondary:focus {
  color: var(--wtx-white);
  background: var(--wtx-navy);
  border-color: var(--wtx-navy);
}

.wtx-button-gold,
.button-01.wtx-button-gold {
  color: var(--wtx-white);
  background: var(--wtx-gold);
  border-color: var(--wtx-gold);
}

.wtx-hero {
  min-height: 720px;
}

.wtx-hero .is-overlay-bg {
  background-position: center;
  background-size: cover;
}

.wtx-hero-panel {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 8px;
  box-shadow: var(--wtx-shadow);
  overflow: hidden;
}

.wtx-stat {
  padding: 30px 34px;
  border-bottom: 1px solid var(--wtx-line);
}

.wtx-stat:last-child {
  border-bottom: 0;
}

.wtx-stat-number {
  display: block;
  color: var(--wtx-teal);
  font-size: clamp(44px, 4vw, 62px);
  font-weight: 850;
  line-height: 1;
}

.wtx-stat-label {
  display: block;
  margin-top: 8px;
  color: var(--wtx-muted);
  font-size: 16px;
  font-weight: 750;
}

.wtx-ministry-card,
.icon-box01.wtx-ministry-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 28px;
  border: 1px solid rgba(23, 59, 87, 0.1);
  border-radius: 8px;
  background: var(--wtx-white);
}

.wtx-ministry-card img,
.icon-box01.wtx-ministry-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.wtx-ministry-card .icon,
.icon-box01.wtx-ministry-card .icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 50%;
  color: var(--wtx-white);
  background: var(--wtx-navy);
  font-size: 15px;
  font-weight: 850;
  line-height: 1;
}

.wtx-ministry-card .icon.wtx-teal {
  background: var(--wtx-teal);
}

.wtx-ministry-card .icon.wtx-gold {
  background: var(--wtx-gold);
}

.wtx-ministry-card .title {
  margin-bottom: 8px;
  color: var(--wtx-navy);
  font-size: 19px;
  font-weight: 850;
}

.wtx-ministry-card .info {
  color: var(--wtx-muted);
  font-size: 15px;
}

.wtx-ministry-card a {
  color: var(--wtx-teal);
  font-weight: 850;
}

.wtx-ministry-card p:last-child,
.icon-box01.wtx-ministry-card p:last-child {
  margin-top: auto;
}

.wtx-newsletter {
  min-height: 320px;
  padding: clamp(34px, 5vw, 56px);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--wtx-navy), #285b74);
}

.wtx-newsletter,
.wtx-newsletter .wtx-eyebrow,
.wtx-newsletter .wtx-title,
.wtx-newsletter .wtx-text {
  color: var(--wtx-white);
}

.wtx-newsletter .wtx-text {
  color: rgba(255, 255, 255, 0.88);
}

.wtx-links {
  min-height: 320px;
  padding: clamp(30px, 4vw, 44px);
  border: 1px solid var(--wtx-line);
  border-radius: 8px;
  background: var(--wtx-paper);
}

.wtx-links h2,
.wtx-links .title {
  color: var(--wtx-navy);
  font-weight: 850;
}

.wtx-link-row {
  display: block;
  min-height: 48px;
  padding: 12px 0;
  border-bottom: 1px solid var(--wtx-line);
  color: var(--wtx-navy);
  font-weight: 850;
}

.wtx-link-row:last-child {
  border-bottom: 0;
}

.wtx-link-row span {
  float: right;
  color: var(--wtx-gold);
}

.wtx-dark-band {
  color: rgba(255, 255, 255, 0.8);
  background: var(--wtx-navy-dark);
}

.wtx-dark-band a {
  color: rgba(255, 255, 255, 0.8);
}

.wtx-dark-band a:hover,
.wtx-dark-band a:focus {
  color: var(--wtx-white);
}

.wtx-page-hero {
  min-height: 460px;
}

.wtx-page-hero .is-overlay-bg {
  background-position: center;
  background-size: cover;
}

.wtx-page-hero-card {
  max-width: 900px;
  padding: clamp(34px, 5vw, 58px);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--wtx-shadow);
}

.wtx-card {
  height: 100%;
  padding: clamp(26px, 3vw, 36px);
  border: 1px solid rgba(23, 59, 87, 0.1);
  border-radius: 8px;
  background: var(--wtx-white);
}

.wtx-card-title {
  margin-bottom: 10px;
  color: var(--wtx-navy);
  font-size: 22px;
  font-weight: 850;
  line-height: 1.2;
}

.wtx-value-marker {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--wtx-white);
  background: var(--wtx-teal);
  font-weight: 850;
}

.wtx-value-marker.wtx-gold {
  background: var(--wtx-gold);
}

.wtx-value-marker.wtx-navy {
  background: var(--wtx-navy);
}

.wtx-fact-strip {
  border-top: 1px solid var(--wtx-line);
  border-bottom: 1px solid var(--wtx-line);
  background: var(--wtx-paper);
}

.wtx-fact-item {
  padding: 24px 0;
}

.wtx-fact-number {
  display: block;
  color: var(--wtx-teal);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 850;
  line-height: 1;
}

.wtx-fact-label {
  display: block;
  margin-top: 8px;
  color: var(--wtx-muted);
  font-size: 15px;
  font-weight: 750;
}

.wtx-list-card {
  padding: 0;
  border: 1px solid var(--wtx-line);
  border-radius: 8px;
  background: var(--wtx-white);
  overflow: hidden;
}

.wtx-list-row {
  display: block;
  padding: 22px 26px;
  border-bottom: 1px solid var(--wtx-line);
}

.wtx-list-row:last-child {
  border-bottom: 0;
}

.wtx-list-row strong {
  display: block;
  color: var(--wtx-navy);
  font-size: 18px;
  line-height: 1.25;
}

.wtx-list-row span {
  display: block;
  margin-top: 6px;
  color: var(--wtx-muted);
}

.wtx-callout {
  padding: clamp(34px, 5vw, 58px);
  border-radius: 8px;
  color: var(--wtx-white);
  background: linear-gradient(135deg, var(--wtx-navy), #285b74);
}

.wtx-callout .wtx-title,
.wtx-callout .wtx-text,
.wtx-callout .wtx-eyebrow {
  color: var(--wtx-white);
}

.wtx-person-card {
  height: 100%;
  padding: 0;
  border: 1px solid rgba(23, 59, 87, 0.1);
  border-radius: 8px;
  background: var(--wtx-white);
  overflow: hidden;
}

.wtx-person-photo {
  display: flex;
  min-height: 260px;
  align-items: center;
  justify-content: center;
  color: rgba(23, 59, 87, 0.58);
  background:
    linear-gradient(135deg, rgba(47, 118, 111, 0.12), rgba(198, 146, 61, 0.14)),
    var(--wtx-soft);
  font-size: 14px;
  font-weight: 850;
  text-align: center;
  text-transform: uppercase;
}

.wtx-person-body {
  padding: 26px;
}

.wtx-person-name {
  margin: 0 0 4px;
  color: var(--wtx-navy);
  font-size: 22px;
  font-weight: 850;
  line-height: 1.2;
}

.wtx-person-role {
  margin: 0 0 14px;
  color: var(--wtx-rust);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
  text-transform: uppercase;
}

.wtx-person-meta {
  margin: 0;
  color: var(--wtx-muted);
  font-size: 15px;
  line-height: 1.55;
}

.wtx-person-meta a {
  color: var(--wtx-teal);
  font-weight: 800;
}

.wtx-feature-person {
  border-radius: 8px;
  background: var(--wtx-white);
  box-shadow: var(--wtx-shadow);
  overflow: hidden;
}

.wtx-feature-person .wtx-person-photo {
  min-height: 420px;
}

.wtx-feature-person .wtx-person-body {
  padding: clamp(30px, 4vw, 48px);
}

.wtx-belief-card {
  height: 100%;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(23, 59, 87, 0.1);
  border-radius: 8px;
  background: var(--wtx-white);
}

.wtx-belief-number {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--wtx-white);
  background: var(--wtx-navy);
  font-size: 14px;
  font-weight: 850;
}

.wtx-belief-card:nth-child(2n) .wtx-belief-number {
  background: var(--wtx-teal);
}

.wtx-belief-card:nth-child(3n) .wtx-belief-number {
  background: var(--wtx-gold);
}

.wtx-belief-title {
  margin: 0 0 10px;
  color: var(--wtx-navy);
  font-size: 21px;
  font-weight: 850;
  line-height: 1.2;
}

.wtx-belief-text {
  margin: 0;
  color: var(--wtx-muted);
  font-size: 16px;
  line-height: 1.6;
}

.wtx-anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  padding: 18px;
  border: 1px solid var(--wtx-line);
  border-radius: 8px;
  background: var(--wtx-paper);
}

.wtx-anchor-nav a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border: 1px solid rgba(23, 59, 87, 0.14);
  border-radius: 999px;
  padding: 0 16px;
  color: var(--wtx-navy);
  background: var(--wtx-white);
  font-size: 14px;
  font-weight: 850;
}

.wtx-anchor-nav a:hover,
.wtx-anchor-nav a:focus {
  color: var(--wtx-white);
  background: var(--wtx-teal);
  border-color: var(--wtx-teal);
}

.wtx-ministry-detail {
  border: 1px solid rgba(23, 59, 87, 0.1);
  border-radius: 8px;
  background: var(--wtx-white);
  overflow: hidden;
}

.wtx-ministry-detail-image {
  width: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

.wtx-ministry-detail-body {
  padding: clamp(28px, 4vw, 46px);
}

.wtx-ministry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.wtx-contact-card {
  height: 100%;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--wtx-line);
  border-radius: 8px;
  background: var(--wtx-paper);
}

.wtx-contact-card img {
  width: 100%;
  max-width: 220px;
  margin-bottom: 18px;
  border-radius: 8px;
}

.wtx-contact-label {
  margin: 0 0 8px;
  color: var(--wtx-rust);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.wtx-contact-method {
  display: block;
  padding: 18px 0;
  border-bottom: 1px solid var(--wtx-line);
}

.wtx-contact-method:last-child {
  border-bottom: 0;
}

.wtx-contact-method strong {
  display: block;
  color: var(--wtx-navy);
  font-size: 18px;
  line-height: 1.25;
}

.wtx-contact-method span,
.wtx-contact-method a {
  display: block;
  margin-top: 5px;
  font-size: 17px;
}

.wtx-form {
  display: grid;
  gap: 16px;
}

.wtx-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.wtx-form label {
  display: block;
  margin-bottom: 7px;
  color: var(--wtx-navy);
  font-size: 14px;
  font-weight: 850;
}

.wtx-form input,
.wtx-form textarea {
  width: 100%;
  border: 1px solid var(--wtx-line);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--wtx-ink);
  background: var(--wtx-white);
  font: inherit;
}

.wtx-form input {
  min-height: 48px;
}

.wtx-form textarea {
  min-height: 150px;
  resize: vertical;
}

.wtx-form input:focus,
.wtx-form textarea:focus {
  border-color: var(--wtx-teal);
  box-shadow: 0 0 0 3px rgba(47, 118, 111, 0.12);
  outline: 0;
}

.wtx-resource-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wtx-resource-list li {
  padding: 20px 22px;
  border: 1px solid var(--wtx-line);
  border-radius: 8px;
  background: var(--wtx-white);
  color: var(--wtx-muted);
}

.wtx-resource-list a {
  color: var(--wtx-navy);
  font-weight: 850;
}

.wtx-resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.wtx-resource-card-link {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 26px;
  border: 1px solid rgba(23, 59, 87, 0.1);
  border-radius: 8px;
  color: var(--wtx-muted);
  background: var(--wtx-white);
}

.wtx-resource-card-link:hover,
.wtx-resource-card-link:focus {
  color: var(--wtx-muted);
  border-color: rgba(47, 118, 111, 0.34);
  box-shadow: 0 14px 34px rgba(23, 32, 42, 0.1);
  transform: translateY(-2px);
}

.wtx-resource-card-link strong {
  display: block;
  margin-bottom: 8px;
  color: var(--wtx-navy);
  font-size: 21px;
  line-height: 1.2;
}

.wtx-resource-card-link span {
  display: block;
}

.wtx-banner-list {
  display: grid;
  gap: 14px;
}

.wtx-banner-link {
  display: block;
  border: 1px solid rgba(23, 59, 87, 0.1);
  border-radius: 8px;
  background: var(--wtx-white);
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(23, 32, 42, 0.08);
}

.wtx-banner-link:hover,
.wtx-banner-link:focus {
  border-color: rgba(47, 118, 111, 0.34);
  box-shadow: 0 14px 34px rgba(23, 32, 42, 0.12);
  transform: translateY(-2px);
}

.wtx-banner-link img {
  display: block;
  width: 100%;
  aspect-ratio: 1920 / 692;
  object-fit: cover;
}

.wtx-video-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: var(--wtx-navy-dark);
  aspect-ratio: 16 / 9;
}

.wtx-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.wtx-embed-frame {
  width: 100%;
  min-height: 630px;
  border: 0;
  display: block;
}

.wtx-audio-frame {
  display: block;
  width: 100%;
  height: 92px;
  border: 0;
  border-radius: 8px;
  background: var(--wtx-paper);
}

.wtx-playlist-player {
  width: 100%;
  margin: 18px 0 20px;
}

.wtx-playlist {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wtx-playlist button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--wtx-line);
  border-radius: 8px;
  padding: 16px 18px;
  color: var(--wtx-navy);
  background: var(--wtx-white);
  font: inherit;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.wtx-playlist button:hover,
.wtx-playlist button:focus,
.wtx-playlist button.is-active {
  border-color: rgba(47, 118, 111, 0.36);
  background: var(--wtx-soft);
  outline: 0;
}

.wtx-playlist button span {
  color: var(--wtx-muted);
  font-size: 14px;
  font-weight: 750;
}

.wtx-address {
  margin: 16px 0 0;
  padding: 18px;
  border-left: 4px solid var(--wtx-gold);
  color: var(--wtx-navy);
  background: var(--wtx-paper);
  font-weight: 800;
  line-height: 1.45;
}

.wtx-step-list {
  counter-reset: wtx-step;
  display: grid;
  gap: 14px;
}

.wtx-step {
  position: relative;
  min-height: 72px;
  padding: 20px 22px 20px 82px;
  border: 1px solid var(--wtx-line);
  border-radius: 8px;
  background: var(--wtx-white);
}

.wtx-step::before {
  counter-increment: wtx-step;
  content: counter(wtx-step);
  position: absolute;
  top: 20px;
  left: 22px;
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--wtx-white);
  background: var(--wtx-teal);
  font-weight: 850;
}

.wtx-step strong {
  display: block;
  color: var(--wtx-navy);
  font-size: 18px;
  line-height: 1.25;
}

.wtx-step span {
  display: block;
  margin-top: 6px;
  color: var(--wtx-muted);
}

.wtx-counselor-card {
  height: 100%;
  border: 1px solid rgba(23, 59, 87, 0.1);
  border-radius: 8px;
  background: var(--wtx-white);
  overflow: hidden;
}

.wtx-counselor-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.wtx-counselor-body {
  padding: 22px;
}

.wtx-counselor-area {
  margin: 0 0 8px;
  color: var(--wtx-rust);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.wtx-supply-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--wtx-line);
  border-radius: 8px;
  background: var(--wtx-white);
  overflow: hidden;
}

.wtx-supply-table th,
.wtx-supply-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--wtx-line);
  text-align: left;
}

.wtx-supply-table th {
  color: var(--wtx-navy);
  background: var(--wtx-paper);
  font-weight: 850;
}

.wtx-supply-table tr:last-child td {
  border-bottom: 0;
}

.wtx-event-tile {
  display: block;
  border-radius: 8px;
  background: var(--wtx-white);
  box-shadow: 0 12px 32px rgba(23, 32, 42, 0.1);
  overflow: hidden;
}

.wtx-event-tile img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.wtx-events-listing {
  max-width: 1200px;
  width: calc(100% - 80px);
  margin: 0 auto;
}

.wtx-event-item {
  margin-bottom: 28px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(23, 59, 87, 0.1);
  border-radius: 8px;
  background: var(--wtx-white);
  box-shadow: 0 12px 32px rgba(23, 32, 42, 0.08);
}

.wtx-event-content {
  display: flex;
  gap: 22px;
  height: 100%;
}

.wtx-event-date {
  flex: 0 0 92px;
  height: 104px;
  padding: 14px 10px;
  border-radius: 8px;
  color: var(--wtx-white);
  background: var(--wtx-navy);
  text-align: center;
}

.wtx-event-day,
.wtx-event-month {
  display: block;
}

.wtx-event-day {
  font-size: 42px;
  font-weight: 850;
  line-height: 0.95;
}

.wtx-event-month {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
}

.wtx-event-main {
  min-width: 0;
}

.wtx-event-title {
  margin: 0 0 10px;
  color: var(--wtx-navy);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 850;
  line-height: 1.08;
}

.wtx-event-meta,
.wtx-event-time,
.wtx-event-summary {
  color: var(--wtx-muted);
  font-size: 16px;
  line-height: 1.55;
}

.wtx-event-meta a {
  color: var(--wtx-teal);
  font-weight: 850;
}

.wtx-event-time {
  color: var(--wtx-navy);
  font-weight: 800;
}

.wtx-event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
}

.wtx-event-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.wtx-events-pager {
  max-width: 1200px;
  width: calc(100% - 80px);
  margin: 24px auto 0;
  text-align: center;
}

.wtx-directory-shell {
  display: grid;
  grid-template-columns: minmax(320px, 440px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.wtx-directory-panel,
.wtx-map-panel {
  border: 1px solid var(--wtx-line);
  border-radius: 8px;
  background: var(--wtx-white);
  overflow: hidden;
}

.wtx-directory-controls {
  display: grid;
  gap: 12px;
  padding: 20px;
  border-bottom: 1px solid var(--wtx-line);
  background: var(--wtx-paper);
}

.wtx-directory-controls input[type="search"],
.wtx-directory-controls select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--wtx-line);
  border-radius: 6px;
  padding: 0 14px;
  color: var(--wtx-ink);
  background: var(--wtx-white);
  font-size: 15px;
}

.wtx-check-row {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--wtx-navy);
  font-size: 15px;
  font-weight: 800;
}

.wtx-check-row input {
  width: 18px;
  height: 18px;
}

.wtx-directory-count {
  color: var(--wtx-muted);
  font-size: 14px;
  font-weight: 750;
}

.wtx-church-list {
  max-height: 760px;
  overflow: auto;
}

.wtx-church-card {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--wtx-line);
  padding: 18px 20px;
  color: var(--wtx-ink);
  background: var(--wtx-white);
  text-align: left;
  cursor: pointer;
}

.wtx-church-card:hover,
.wtx-church-card:focus,
.wtx-church-card.is-selected {
  background: var(--wtx-soft);
}

.wtx-church-card-title {
  display: block;
  color: var(--wtx-navy);
  font-size: 18px;
  font-weight: 850;
  line-height: 1.2;
}

.wtx-church-card-meta {
  display: block;
  margin-top: 6px;
  color: var(--wtx-muted);
  font-size: 14px;
  line-height: 1.45;
}

.wtx-open-badge {
  display: inline-flex;
  margin-top: 10px;
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--wtx-white);
  background: var(--wtx-gold);
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
}

.wtx-map-frame {
  width: 100%;
  height: 560px;
  border: 0;
  display: block;
}

.wtx-map-detail {
  padding: clamp(22px, 3vw, 34px);
  border-top: 1px solid var(--wtx-line);
}

.wtx-map-detail h3 {
  margin: 0 0 6px;
  color: var(--wtx-navy);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 850;
  line-height: 1.08;
}

.wtx-map-detail p {
  margin-bottom: 10px;
}

.wtx-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  margin-top: 18px;
}

.wtx-detail-label {
  display: block;
  color: var(--wtx-rust);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.wtx-detail-value {
  display: block;
  color: var(--wtx-muted);
  font-size: 15px;
  line-height: 1.45;
}

.wtx-directory-empty,
.wtx-directory-loading {
  padding: 26px 20px;
  color: var(--wtx-muted);
  font-weight: 750;
}

@media (max-width: 991px) {
  .wtx-hero {
    min-height: auto;
  }

  .wtx-title-xl {
    font-size: clamp(44px, 11vw, 72px);
  }

  .wtx-title-lg {
    font-size: clamp(34px, 8vw, 52px);
  }

  .wtx-directory-shell {
    grid-template-columns: 1fr;
  }

  .wtx-church-list {
    max-height: 520px;
  }

  .wtx-hero-panel {
    margin-top: 34px;
  }

  .wtx-ministry-card,
  .icon-box01.wtx-ministry-card,
  .wtx-person-card,
  .wtx-belief-card,
  .wtx-card {
    margin-bottom: 18px;
  }

  .wtx-resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .layout-container,
  .is-container {
    width: calc(100% - 44px);
    padding-right: 22px;
    padding-left: 22px;
  }

  .wtx-button,
  .button-01.wtx-button,
  .wtx-button-secondary,
  .button-01.wtx-button-secondary {
    width: 100%;
    margin: 0 0 10px !important;
  }

  .wtx-lead,
  .wtx-text {
    font-size: 17px;
  }

  .wtx-stat,
  .wtx-newsletter,
  .wtx-links,
  .wtx-page-hero-card,
  .wtx-card,
  .wtx-callout,
  .wtx-person-body,
  .wtx-belief-card,
  .wtx-ministry-detail-body,
  .wtx-contact-card,
  .wtx-ministry-card,
  .icon-box01.wtx-ministry-card {
    padding: 24px;
  }

  .wtx-person-photo,
  .wtx-feature-person .wtx-person-photo {
    min-height: 220px;
  }

  .wtx-map-frame {
    height: 420px;
  }

  .wtx-detail-grid {
    grid-template-columns: 1fr;
  }

  .wtx-events-listing,
  .wtx-events-pager {
    width: calc(100% - 44px);
  }

  .wtx-anchor-nav,
  .wtx-resource-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .wtx-form-row {
    grid-template-columns: 1fr;
  }

  .wtx-anchor-nav a {
    width: 100%;
  }

  .wtx-step {
    padding: 76px 22px 22px;
  }

  .wtx-event-content {
    display: block;
  }

  .wtx-event-date {
    margin-bottom: 18px;
  }

  .wtx-event-image {
    margin-bottom: 18px;
  }
}

