:root {
  color-scheme: light;
  --ink: #202124;
  --muted: #62666d;
  --line: #d8dde3;
  --paper: #ffffff;
  --soft: #f5f7f8;
  --accent: #c7372f;
  --accent-dark: #9f241e;
  --teal: #1d766f;
  --max: 1040px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

html {
  overflow-wrap: anywhere;
}

a {
  color: var(--accent-dark);
}

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

iframe,
embed,
video,
object {
  max-width: 100%;
}

.site-header {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px 18px;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #fff;
  object-fit: contain;
  padding: 2px;
}

nav {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 8px 14px;
  justify-content: flex-end;
  min-width: 0;
}

nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

nav a.nav-blog {
  opacity: 0.58;
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 18px 56px;
}

.directory-index {
  max-width: 920px;
  margin: 0 auto;
}

.directory-index .lede {
  max-width: 720px;
}

.index-section {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.page-list,
.post-list {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
}

.page-list li,
.post-list li {
  margin-bottom: 12px;
}

.post-list time {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 14px;
}

.index-card {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 0 rgb(32 33 36 / 4%);
}

.index-card a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.index-card a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.index-card span {
  color: var(--muted);
  font-size: 13px;
}

.month-section {
  margin-top: 26px;
}

.month-section h3 {
  margin-bottom: 8px;
  color: var(--teal);
}

.home-hero {
  display: grid;
  gap: 24px;
  align-items: center;
  padding: 22px 0 30px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 14px;
  font-size: 38px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

h2 {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.25;
}

.lede {
  max-width: 680px;
  color: var(--muted);
  font-size: 19px;
}

.contact-card,
.qr-panel,
.trust-points article,
.shortcode-placeholder,
.static-notice {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.contact-card {
  display: grid;
  gap: 6px;
  max-width: 380px;
  margin-top: 22px;
  padding: 18px;
}

.contact-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-card strong {
  font-size: 26px;
}

.contact-modern,
.about-modern {
  max-width: 980px;
  margin: 0 auto;
}

.contact-hero,
.about-hero {
  display: grid;
  gap: 22px;
  align-items: center;
  padding: 14px 0 28px;
}

.about-logo-card {
  width: min(210px, 72vw);
  border-radius: 28px;
  box-shadow: 0 18px 60px rgb(32 33 36 / 12%);
}

.contact-options,
.about-grid {
  display: grid;
  gap: 16px;
}

.contact-option,
.about-grid article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
}

.contact-option h2,
.about-grid h2 {
  margin-bottom: 8px;
}

.contact-handle {
  margin: 8px 0 14px;
  color: var(--accent-dark);
  font-size: clamp(24px, 8vw, 34px);
  font-weight: 900;
  line-height: 1;
}

.contact-qr {
  width: min(260px, 100%);
  border: 10px solid #fff;
  border-radius: 14px;
  box-shadow: 0 12px 34px rgb(32 33 36 / 12%);
}

.primary-contact {
  background: #fff8f7;
  border-color: #f0c7c3;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.secondary-button {
  background: var(--ink);
}

.about-visual {
  margin: 18px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
}

.about-visual img {
  width: 100%;
  display: block;
}

.partners-page {
  max-width: 980px;
  margin: 0 auto;
}

.partners-hero {
  max-width: 720px;
  margin-bottom: 26px;
}

.partners-grid {
  display: grid;
  gap: 16px;
}

.partner-card,
.partner-placeholder {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft);
}

.partner-card {
  display: grid;
  overflow: hidden;
  background: #fff;
}

.partner-photo-wrap {
  display: grid;
  height: 340px;
  place-items: center;
  background: #0a7db6;
}

.partner-photo-wrap-soft {
  background: #eef2fb;
}

.partner-photo {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center top;
}

.partner-body,
.partner-placeholder {
  padding: 20px;
}

.partner-logo-box {
  display: grid;
  width: min(440px, 100%);
  min-height: 76px;
  margin-bottom: 16px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 10px;
}

.partner-logo-box img {
  display: block;
  max-width: 100%;
  max-height: 86px;
  object-fit: contain;
}

.partner-tag {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.partner-subtitle {
  margin-top: -4px;
  color: var(--muted);
  font-weight: 800;
}

.partner-placeholder {
  border-style: dashed;
  color: var(--muted);
}

.partner-cta {
  margin-top: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
}

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

.partner-cta p {
  max-width: 680px;
  color: rgb(255 255 255 / 74%);
}

.partner-cta strong {
  font-size: 24px;
}

.partner-placeholder h2 {
  color: var(--ink);
}

.button {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.qr-panel {
  display: grid;
  justify-items: center;
  padding: 18px;
  text-align: center;
}

.qr-code {
  width: min(280px, 100%);
  border: 8px solid #fff;
  box-shadow: 0 8px 24px rgb(32 33 36 / 12%);
}

.qr-placeholder {
  display: grid;
  width: min(280px, 100%);
  aspect-ratio: 1;
  place-items: center;
  border: 2px dashed var(--line);
  background: #fff;
  color: var(--muted);
  font-weight: 800;
}

.trust-points {
  display: grid;
  gap: 14px;
  margin: 28px 0;
}

.trust-points article {
  padding: 18px;
}

.latest {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.content-page {
  max-width: 820px;
  margin: 0 auto;
}

.content-page h1 {
  margin-top: 4px;
  font-size: 34px;
  line-height: 1.16;
}

.post-meta {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 14px;
}

.featured-image {
  display: block;
  margin: 0 0 26px;
  border-radius: 6px;
}

.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content blockquote,
.entry-content figure {
  margin-bottom: 1.4em;
}

.entry-content {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.72;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content a {
  overflow-wrap: anywhere;
}

.entry-content img {
  display: block;
  max-width: 100%;
  height: auto !important;
  margin: 18px auto;
  border-radius: 4px;
}

.entry-content img.alignleft,
.entry-content .alignleft,
.entry-content [style*="float: left"] {
  float: left;
  max-width: min(44%, 320px);
  margin: 6px 20px 16px 0;
}

.entry-content img.alignright,
.entry-content .alignright,
.entry-content [style*="float: right"] {
  float: right;
  max-width: min(44%, 320px);
  margin: 6px 0 16px 20px;
}

.entry-content .aligncenter,
.entry-content [style*="text-align: center"] img {
  margin-right: auto;
  margin-left: auto;
}

.entry-content::after {
  display: block;
  clear: both;
  content: "";
}

.entry-content h2,
.entry-content h3 {
  margin-top: 1.8em;
}

.entry-content iframe,
.entry-content embed,
.entry-content video {
  display: block;
  max-width: 100%;
}

.recovered-video {
  margin: 22px 0 24px;
}

.recovered-video-link a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
  color: var(--muted);
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.recovered-video-link a:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.recovered-video-link {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.video-box {
  width: 100%;
  margin: 22px 0;
  overflow: hidden;
  border-radius: 8px;
  background: #111;
}

.video-box iframe,
.video-box embed,
.video-box video,
.video-box object {
  display: block;
  max-width: 100%;
  border: 0;
}

.video-box-youtube,
.video-box-ratio {
  position: relative;
  aspect-ratio: var(--video-ratio, 16 / 9);
}

.video-box-youtube iframe,
.video-box-youtube embed,
.video-box-youtube video,
.video-box-youtube object,
.video-box-ratio iframe,
.video-box-ratio embed,
.video-box-ratio video,
.video-box-ratio object {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}

.video-box-fluid {
  display: grid;
  justify-items: center;
}

.video-box-fluid iframe,
.video-box-fluid embed,
.video-box-fluid video,
.video-box-fluid object {
  width: 100% !important;
  min-height: min(62vw, 520px);
}

.video-box-fluid video {
  height: auto;
}

.wp-caption {
  margin-right: 0;
  margin-left: 0;
  color: var(--muted);
  font-size: 14px;
}

.shortcode-placeholder,
.static-notice {
  margin: 18px 0;
  padding: 14px;
  color: var(--muted);
}

.static-notice h2 {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 18px;
}

.static-notice p:last-child {
  margin-bottom: 0;
}

code {
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--soft);
  font-size: 0.92em;
}

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 18px 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 640px) {
  .site-header {
    gap: 8px;
    padding: 10px 12px;
  }

  .brand span {
    display: none;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }

  nav {
    width: auto;
    gap: 6px 10px;
  }

  nav a {
    flex: 0 0 auto;
    font-size: 12px;
  }

  .content-page h1 {
    font-size: 31px;
  }

  .contact-hero,
  .about-hero {
    padding-top: 8px;
  }

  .entry-content img.alignleft,
  .entry-content .alignleft,
  .entry-content [style*="float: left"],
  .entry-content img.alignright,
  .entry-content .alignright,
  .entry-content [style*="float: right"] {
    float: none;
    max-width: 100%;
    margin: 18px auto;
  }
}

@media (min-width: 760px) {
  main {
    padding-top: 44px;
  }

  .home-hero {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 42px;
    min-height: 500px;
  }

  h1 {
    font-size: 48px;
  }

  .content-page h1 {
    font-size: 44px;
  }

  .trust-points {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-options,
  .about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-hero {
    grid-template-columns: minmax(0, 1fr) 260px;
  }

  .about-grid article:last-child {
    grid-column: span 2;
  }

  .featured-partner {
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: stretch;
  }
}
