@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Darker Grotesque";
  src: url("../fonts/darker-grotesque-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Darker Grotesque";
  src: url("../fonts/darker-grotesque-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Darker Grotesque";
  src: url("../fonts/darker-grotesque-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Darker Grotesque";
  src: url("../fonts/darker-grotesque-900.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --brand-blue: #4764AE;
  --tech-green: #4EBEA4;
  --aqua-blue: #369FD9;
  --soft-green: #80C99B;
  --turquoise: #00B2B4;
  --bg-light: #ffffff;
  --panel-light: #f3f6f9;
  --panel-line-light: #e1e7ee;
  --text-hi-light: #101820;
  --text-mid-light: #48566a;
  --text-low-light: #8b98a8;
  --link-light: #4764AE;
  --bg-dark: #060c17;
  --panel-dark: #0e1626;
  --panel-line-dark: rgba(244, 246, 248, 0.1);
  --text-hi-dark: #fbfcfd;
  --text-mid-dark: rgba(244, 246, 248, 0.72);
  --text-low-dark: rgba(244, 246, 248, 0.45);
  --link-dark: #369FD9;
  --font-heading: 'Darker Grotesque', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
}

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

.afs-container {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  padding: 0 48px;
}
@media (max-width: 720px) {
  .afs-container {
    padding: 0 24px;
  }
}

.site-nav {
  position: relative;
  z-index: 3;
  padding: 20px 0;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(16, 24, 32, 0.08);
}
@media (max-width: 900px) {
  .site-nav {
    padding: 18px 0;
  }
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (max-width: 900px) {
  .nav-inner {
    padding: 0 24px;
  }
}

.nav-mark {
  display: flex;
  align-items: center;
}

.nav-logo-link {
  display: block;
  text-decoration: none;
}
.nav-logo-link svg {
  width: 140px;
  height: auto;
  display: block;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
  color: #384454;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links li {
  display: inline-flex;
}
.nav-links a {
  color: inherit;
  text-decoration: none;
}
.nav-links a.current-menu-item,
.nav-links li.current-menu-item a {
  color: var(--brand-blue);
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 4px;
  border: 1px solid var(--panel-line-light);
  border-radius: 999px;
  background: var(--panel-light);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.lang-switcher-item a {
  display: block;
  padding: 5px 14px;
  border-radius: 999px;
  color: #8b98a8;
  text-decoration: none;
}

.lang-switcher-item.is-current a {
  background: #16202c;
  color: #fbfcfd;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: #16202c;
  border-radius: 2px;
  transition: transform 0.2s ease, 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);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }
  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid rgba(16, 24, 32, 0.08);
    box-shadow: 0 12px 24px rgba(16, 24, 32, 0.08);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.25s ease, opacity 0.2s ease;
  }
  .nav-links li {
    display: block;
    width: 100%;
  }
  .nav-links a {
    display: block;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(16, 24, 32, 0.06);
    font-size: 16px;
  }
  body[data-nav-open=true] .nav-links {
    max-height: 400px;
    opacity: 1;
  }
  .site-nav {
    position: relative;
  }
}
.btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 26px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(45deg, #4764AE, #60C2AC);
  color: #fff;
}

.btn-ghost-dark {
  background: rgba(6, 12, 23, 0.25);
  border: 1px solid rgba(244, 246, 248, 0.55);
  color: #fbfcfd;
}

.btn-ghost-light {
  background: transparent;
  border: 1px solid var(--link-light);
  color: var(--link-light);
}

.site-footer {
  position: relative;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 48px 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand {
  max-width: 280px;
}
.footer-brand svg {
  width: 140px;
  height: auto;
  display: block;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

.footer-columns {
  display: flex;
  gap: 64px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col a {
  font-size: 14px;
  text-decoration: none;
}

.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  text-decoration: none;
  color: var(--text-low-light);
}
.footer-legal a:hover {
  color: var(--link-light);
}

@media (max-width: 700px) {
  .footer-top {
    flex-direction: column;
    gap: 36px;
  }
  .footer-columns {
    gap: 40px;
    flex-wrap: wrap;
  }
}
.site-footer.is-dark {
  border-top: 1px solid rgba(244, 246, 248, 0.1);
  background: var(--bg-dark);
}
.site-footer.is-dark .footer-brand p {
  color: var(--text-mid-dark);
}
.site-footer.is-dark .footer-col h4 {
  color: var(--text-low-dark);
}
.site-footer.is-dark .footer-col a {
  color: var(--text-mid-dark);
}

.site-footer.is-light {
  border-top: 1px solid var(--panel-line-light);
  background: var(--bg-light);
}
.site-footer.is-light .footer-brand p {
  color: var(--text-mid-light);
}
.site-footer.is-light .footer-col h4 {
  color: var(--text-low-light);
}
.site-footer.is-light .footer-col a {
  color: var(--link-light);
}

.footer-funding-bar {
  background: #ffffff;
  border-top: 1px solid var(--panel-line-light);
}

.footer-funding-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  color: var(--text-low-light);
}

.footer-funding-logos {
  display: flex;
  align-items: center;
}

.footer-funding-notice {
  height: 180px;
  width: auto;
  display: block;
}

.footer-funding-legal {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 700px) {
  .footer-funding-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
  }
  .footer-funding-notice {
    height: 90px;
  }
  .footer-funding-legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
.page-header {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 48px 0;
}
@media (max-width: 800px) {
  .page-header {
    padding: 48px 24px 0;
  }
}

.page-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--link-light);
  margin: 0 0 14px;
}

.page-title {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.1;
  color: var(--text-hi-light);
  margin: 0 0 16px;
}
@media (max-width: 800px) {
  .page-title {
    font-size: 32px;
  }
}

.page-sub {
  font-size: 19px;
  line-height: 1.65;
  color: var(--text-mid-light);
  max-width: 560px;
  margin: 0;
}

.contact-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 48px 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
@media (max-width: 800px) {
  .contact-section {
    grid-template-columns: 1fr;
    padding: 40px 24px 80px;
  }
}

.contact-card {
  background: var(--panel-light);
  border: 1px solid var(--panel-line-light);
  border-radius: 14px;
  padding: 28px;
  align-self: start;
}
.contact-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-hi-light);
  margin: 0 0 6px;
}
.contact-card .role {
  font-size: 13px;
  color: var(--text-low-light);
  margin: 0 0 18px;
}
.contact-card a {
  display: block;
  font-size: 14px;
  color: var(--link-light);
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 6px;
}

.contact-form-wrap .wpcf7-form p {
  margin: 0 0 18px;
}
.contact-form-wrap .wpcf7-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-hi-light);
  margin-bottom: 6px;
}
.contact-form-wrap .wpcf7-form-control {
  width: 100%;
  border: 1px solid var(--panel-line-light);
  border-radius: 8px;
  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-hi-light);
  background: #fff;
}
.contact-form-wrap .wpcf7-form-control:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(71, 100, 174, 0.15);
}
.contact-form-wrap textarea.wpcf7-form-control {
  min-height: 120px;
  resize: vertical;
}
.contact-form-wrap .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  background: linear-gradient(45deg, #4764AE, #60C2AC);
  color: #fff;
  border: none;
  cursor: pointer;
}
.contact-form-wrap .wpcf7-not-valid-tip {
  color: #c0392b;
  font-size: 12px;
  margin-top: 4px;
}
.contact-form-wrap .wpcf7-response-output {
  border-radius: 8px;
  border: 1px solid var(--panel-line-light);
  padding: 12px 16px;
  font-size: 14px;
  margin-top: 20px;
}
.contact-form-wrap form.sent .wpcf7-response-output {
  border-color: var(--tech-green);
  color: #1f6e5c;
}
.contact-form-wrap form.failed .wpcf7-response-output,
.contact-form-wrap form.aborted .wpcf7-response-output {
  border-color: #c0392b;
  color: #c0392b;
}

.hero-compact {
  position: relative;
  min-height: 32vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hc-bg {
  position: absolute;
  inset: 0;
  animation-duration: 20s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

@keyframes hcDrift1 {
  0% {
    background-image: linear-gradient(38deg, #4764AE, #60C2AC);
  }
  100% {
    background-image: linear-gradient(52deg, #4764AE, #60C2AC);
  }
}
.hc-bg--1 {
  background: linear-gradient(45deg, #4764AE, #60C2AC);
  animation-name: hcDrift1;
}

@keyframes hcDrift2 {
  0% {
    background-image: linear-gradient(-6deg, #4EBEA4, #00B2B4);
  }
  100% {
    background-image: linear-gradient(6deg, #4EBEA4, #00B2B4);
  }
}
.hc-bg--2 {
  background: linear-gradient(0deg, #4EBEA4, #00B2B4);
  animation-name: hcDrift2;
}

@keyframes hcDrift3 {
  0% {
    background-image: linear-gradient(-6deg, #80C99B, #369FD9);
  }
  100% {
    background-image: linear-gradient(8deg, #80C99B, #369FD9);
  }
}
.hc-bg--3 {
  background: linear-gradient(0deg, #80C99B, #369FD9);
  animation-name: hcDrift3;
}

@media (prefers-reduced-motion: reduce) {
  .hc-bg {
    animation: none;
  }
}
.hc-dark-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(5, 11, 21, 0.7) 0%, rgba(5, 11, 21, 0.45) 34%, rgba(5, 11, 21, 0.1) 58%, rgba(5, 11, 21, 0) 74%);
}

.hc-symbol {
  position: absolute;
  inset: 0;
  opacity: 0.4;
}
.hc-symbol svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hc-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  padding: 0 48px;
}

.hc-inner {
  max-width: 620px;
}

.hc-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--tech-green);
  margin: 0 0 14px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.hc-title {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.1;
  color: #fbfcfd;
  margin: 0 0 14px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.hc-sub {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(244, 246, 248, 0.82);
  max-width: 480px;
  margin: 0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

@media (max-width: 720px) {
  .hc-title {
    font-size: 28px;
  }
  .hc-content {
    padding: 0 24px;
  }
}
.card-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 48px 120px;
}
@media (max-width: 800px) {
  .card-section {
    padding: 56px 24px 80px;
  }
}

.card-lead {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-mid-light);
  max-width: 640px;
  margin: 0 0 56px;
}

.card-lead-content p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-mid-light);
  max-width: 640px;
  margin: 0 0 20px;
}
.card-lead-content p:last-of-type {
  margin-bottom: 56px;
}

.card-grid {
  display: grid;
  gap: 20px;
}
.card-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}
.card-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.card-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 800px) {
  .card-grid.cols-2, .card-grid.cols-3, .card-grid.cols-4 {
    grid-template-columns: 1fr;
  }
}

.info-card {
  background: var(--panel-light);
  border: 1px solid var(--panel-line-light);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.info-card .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-bottom: 20px;
}
.info-card .tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--link-light);
  background: rgba(71, 100, 174, 0.1);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 16px;
  align-self: flex-start;
}
.info-card h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-hi-light);
  margin: 0 0 10px;
}
.info-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-mid-light);
  margin: 0 0 20px;
  flex-grow: 1;
}
.info-card a {
  font-size: 13px;
  font-weight: 600;
  color: var(--link-light);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-grid.is-dark .info-card {
  background: var(--panel-dark);
  border-color: var(--panel-line-dark);
}
.card-grid.is-dark .info-card .tag {
  color: var(--aqua-blue);
  background: rgba(54, 159, 217, 0.12);
}
.card-grid.is-dark .info-card h3 {
  color: var(--text-hi-dark);
}
.card-grid.is-dark .info-card p {
  color: var(--text-mid-dark);
}
.card-grid.is-dark .info-card a {
  color: var(--aqua-blue);
}

body.page-template-page-about-php {
  background: var(--bg-dark);
}

.mission-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 88px 48px 40px;
}
@media (max-width: 720px) {
  .mission-section {
    padding: 64px 24px 24px;
  }
}

.mission-content p:first-of-type {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.2px;
  line-height: 1.35;
  color: #fbfcfd;
  margin: 0;
  max-width: 780px;
}
@media (max-width: 720px) {
  .mission-content p:first-of-type {
    font-size: 22px;
  }
}
.mission-content p:not(:first-of-type) {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(244, 246, 248, 0.72);
  margin: 32px 0 0;
  max-width: 680px;
}
.mission-content h2 {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.2px;
  line-height: 1.2;
  color: #fbfcfd;
  margin: 56px 0 16px;
  max-width: 680px;
}
.mission-content h2:first-child {
  margin-top: 0;
}
.mission-content h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: #fbfcfd;
  padding-top: 40px;
  margin: 0 0 2px;
  max-width: 680px;
}
.mission-content h3:first-of-type {
  padding-top: 12px;
}
.mission-content h3 + p {
  margin-top: 2px;
  margin-bottom: 24px;
}
.mission-content .muted {
  color: rgba(244, 246, 248, 0.45);
}

.principles-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 48px 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 860px) {
  .principles-section {
    grid-template-columns: 1fr;
    padding: 56px 24px 80px;
  }
}

.principles-text h2 {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: #fbfcfd;
  margin: 0 0 20px;
  line-height: 1.15;
}

.principles-text p {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(244, 246, 248, 0.72);
  margin: 0 0 28px;
  max-width: 480px;
}

.principles-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.principles-list li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid rgba(244, 246, 248, 0.1);
}
.principles-list li:last-child {
  border-bottom: 1px solid rgba(244, 246, 248, 0.1);
}
.principles-list .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}
.principles-list strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #fbfcfd;
  margin-bottom: 4px;
}
.principles-list span {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(244, 246, 248, 0.62);
}

.principles-visual {
  background: #0e1626;
  border: 1px solid rgba(244, 246, 248, 0.1);
  border-radius: 16px;
  padding: 8px;
}

.nm-flow-line {
  stroke-dasharray: 3 5;
  animation: nmFlowMove 1.8s linear infinite;
}

@keyframes nmFlowMove {
  to {
    stroke-dashoffset: -24;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nm-flow-line {
    animation: none;
  }
}
.about-cta {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px 120px;
}
.about-cta h2 {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: #fbfcfd;
  margin: 0 0 12px;
}
.about-cta p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(244, 246, 248, 0.72);
  max-width: 480px;
  margin: 0 0 28px;
}
@media (max-width: 720px) {
  .about-cta {
    padding: 0 24px 80px;
  }
}

.post-list {
  display: flex;
  flex-direction: column;
}

.post-list-item {
  padding: 32px 0;
  border-top: 1px solid var(--panel-line-light);
}
.post-list-item:last-child {
  border-bottom: 1px solid var(--panel-line-light);
}

.post-list-meta time {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-low-light);
}

.post-list-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.2px;
  margin: 8px 0 12px;
}
.post-list-title a {
  color: var(--text-hi-light);
  text-decoration: none;
}
.post-list-title a:hover {
  color: var(--link-light);
}

.post-list-excerpt {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-mid-light);
  max-width: 680px;
  margin: 0 0 14px;
}

.post-list-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--link-light);
  text-decoration: none;
}

.post-pagination {
  margin-top: 48px;
}
.post-pagination ul.page-numbers {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.post-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid-light);
  text-decoration: none;
  border: 1px solid transparent;
}
.post-pagination .page-numbers:hover {
  border-color: var(--panel-line-light);
}
.post-pagination .page-numbers.current {
  background: var(--panel-light);
  border-color: var(--panel-line-light);
  color: var(--link-light);
  font-weight: 700;
}
.post-pagination .page-numbers.dots {
  border: none;
}

.post-back {
  margin: 0 0 16px;
}
.post-back a {
  font-size: 13px;
  font-weight: 600;
  color: var(--link-light);
  text-decoration: none;
}

.entry-content {
  max-width: 680px;
}
.entry-content.entry-content--wide {
  max-width: 1000px;
}
.entry-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-mid-light);
  margin: 0 0 24px;
}
.entry-content h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-hi-light);
  margin: 40px 0 16px;
}
.entry-content h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-hi-light);
  margin: 32px 0 14px;
}
.entry-content a {
  color: var(--link-light);
}
.entry-content ul, .entry-content ol {
  color: var(--text-mid-light);
  font-size: 16px;
  line-height: 1.8;
  padding-left: 22px;
  margin: 0 0 24px;
}
.entry-content img {
  border-radius: 12px;
  margin: 8px 0 24px;
}
.entry-content .alignleft,
.entry-content .alignright {
  max-width: 46%;
}
.entry-content .alignleft img,
.entry-content .alignright img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
}
.entry-content .alignleft {
  float: left;
  margin: 4px 28px 20px 0;
}
.entry-content .alignright {
  float: right;
  margin: 4px 0 20px 28px;
}
@media (max-width: 720px) {
  .entry-content .alignleft,
  .entry-content .alignright {
    float: none;
    max-width: 100%;
    margin: 0 0 20px;
  }
}
.entry-content blockquote {
  border-left: 3px solid var(--link-light);
  margin: 0 0 24px;
  padding: 4px 0 4px 20px;
  color: var(--text-hi-light);
  font-style: italic;
}

@media (max-width: 720px) {
  .post-list-title {
    font-size: 22px;
  }
}
.partner-list {
  display: flex;
  flex-direction: column;
}

.partner-row {
  display: grid;
  grid-template-columns: 30% 1fr;
  gap: 40px;
  padding: 40px 0;
  border-top: 1px solid var(--panel-line-light);
}
.partner-row:last-child {
  border-bottom: 1px solid var(--panel-line-light);
}
@media (max-width: 800px) {
  .partner-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.partner-col-logo {
  min-width: 0;
}

.partner-logo {
  margin-bottom: 16px;
  height: 100px;
}
.partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.partner-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.partner-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-hi-light);
  margin: 0 0 10px;
}

.partner-contact {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  line-height: 1.7;
}

.partner-contact-line {
  color: var(--text-mid-light);
}
.partner-contact-line:is(a) {
  color: var(--link-light);
  text-decoration: none;
}
.partner-contact-line:is(a):hover {
  text-decoration: underline;
}

.partner-col-profile {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-mid-light);
}
.partner-col-profile p {
  margin: 0 0 16px;
}
.partner-col-profile p:last-child {
  margin-bottom: 0;
}
.partner-col-profile a {
  color: var(--link-light);
}

.entry-list {
  display: flex;
  flex-direction: column;
}

.entry-row {
  display: grid;
  grid-template-columns: 30% 1fr;
  gap: 40px;
  padding: 40px 0;
  border-top: 1px solid var(--panel-line-light);
}
.entry-row:last-child {
  border-bottom: 1px solid var(--panel-line-light);
}
@media (max-width: 800px) {
  .entry-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.entry-media {
  margin-bottom: 16px;
}
.entry-media img {
  max-width: 100%;
  max-height: 120px;
  width: auto;
  height: auto;
  border-radius: 8px;
  display: block;
}

.entry-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--link-light);
  background: rgba(71, 100, 174, 0.1);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 12px;
}

.entry-name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-hi-light);
  margin: 0;
}

.entry-text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-mid-light);
}
.entry-text p {
  margin: 0 0 16px;
}
.entry-text p:last-child {
  margin-bottom: 0;
}
.entry-text a {
  color: var(--link-light);
}

body.page-template-page-projects-php {
  background: var(--bg-dark);
}

.entry-list--dark .entry-row {
  border-top-color: var(--panel-line-dark);
}
.entry-list--dark .entry-row:last-child {
  border-bottom-color: var(--panel-line-dark);
}
.entry-list--dark .entry-tag {
  color: var(--aqua-blue);
  background: rgba(54, 159, 217, 0.12);
}
.entry-list--dark .entry-name {
  color: var(--text-hi-dark);
}
.entry-list--dark .entry-text {
  color: var(--text-mid-dark);
}
.entry-list--dark .entry-text a {
  color: var(--aqua-blue);
}

.detail-title-image {
  max-width: 1100px;
  margin: 32px auto 0;
  padding: 0 48px;
}
.detail-title-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}
@media (max-width: 720px) {
  .detail-title-image {
    padding: 0 24px;
  }
}

.detail-body {
  max-width: none;
}
.detail-body > * {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.detail-body > .alignwide,
.detail-body > .alignfull {
  max-width: none;
}

.detail-body img,
.detail-body video {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}
.detail-body .wp-block-embed__wrapper {
  border-radius: 12px;
  overflow: hidden;
}

.external-project-box {
  background: var(--panel-light);
  border: 1px solid var(--panel-line-light);
  border-radius: 14px;
  padding: 24px 28px;
  max-width: 680px;
  margin: 40px 0 0;
}
.external-project-box h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-hi-light);
  margin: 0 0 6px;
}
.external-project-box p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-mid-light);
  margin: 0 0 12px;
}
.external-project-box a {
  font-size: 14px;
  font-weight: 600;
  color: var(--link-light);
  text-decoration: none;
}
.external-project-box a:hover {
  text-decoration: underline;
}

.detail-back {
  margin-top: 48px;
}
.detail-back a {
  font-size: 14px;
  font-weight: 600;
  color: var(--link-light);
  text-decoration: none;
}

.related-fields {
  border-top: 1px solid var(--panel-line-light);
  padding-top: 56px;
  margin-top: -64px;
}

.related-fields-heading {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-hi-light);
  margin: 0 0 32px;
}

.topic-list {
  display: flex;
  flex-direction: column;
}

.topic-row {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding: 40px 0;
  border-top: 1px solid var(--panel-line-light);
}
.topic-row:last-child {
  border-bottom: 1px solid var(--panel-line-light);
}
@media (max-width: 800px) {
  .topic-row {
    flex-direction: column;
    gap: 20px;
  }
}

.topic-row-media {
  flex: 0 0 300px;
  width: 300px;
  height: 230px;
  border-radius: 10px;
  overflow: hidden;
}
.topic-row-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 800px) {
  .topic-row-media {
    width: 100%;
    height: auto;
    aspect-ratio: 300/230;
  }
}

.topic-row-content {
  flex: 1;
  padding-right: 40px;
}
.topic-row-content h3 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-hi-light);
  margin: 0 0 12px;
}
.topic-row-content p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-mid-light);
  max-width: 560px;
  margin: 0 0 14px;
}
.topic-row-content a {
  font-size: 14px;
  font-weight: 600;
  color: var(--link-light);
  text-decoration: none;
}
.topic-row-content a:hover {
  text-decoration: underline;
}

.topic-row-dot {
  position: absolute;
  top: 40px;
  right: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}
