/*
Theme Name: Children of Afghanistan
Description: Accessible charity layouts for the free Kadence theme.
Author: Children of Afghanistan
Template: kadence
Version: 1.0.6
Requires at least: 6.6
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: coa
*/

:root {
  --coa-red: #c42b3b;
  --coa-red-dark: #a51f2d;
  --coa-ink: #222626;
  --coa-muted: #59605f;
  --coa-paper: #fff;
  --coa-soft: #f2f4f3;
  --coa-line: #d9dfdc;
  --coa-width: 1280px;
  --coa-font: Arial, Helvetica, sans-serif;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body.coa-site {
  margin: 0;
  background: var(--coa-paper);
  color: var(--coa-ink);
  font: 18px/1.7 var(--coa-font);
  letter-spacing: 0;
}
.coa-site * {
  box-sizing: border-box;
}
.coa-site h1,
.coa-site h2,
.coa-site h3,
.coa-site h4 {
  font-family: var(--coa-font);
  font-style: normal;
  color: inherit;
  letter-spacing: 0;
  overflow-wrap: break-word;
  margin: 0 0 24px;
  font-weight: 700;
}
.coa-site h1 {
  font-size: 60px;
  line-height: 1.1;
}
.coa-site h2 {
  font-size: 42px;
  line-height: 1.2;
}
.coa-site h3 {
  font-size: 24px;
  line-height: 1.3;
}
.coa-site p {
  margin: 0 0 24px;
}
.coa-site a {
  color: var(--coa-red-dark);
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  overflow-wrap: anywhere;
}
.coa-site a:hover {
  color: var(--coa-red);
}
.coa-site :focus-visible {
  outline: 3px solid #13706b;
  outline-offset: 5px;
}
.coa-site img {
  max-width: 100%;
  height: auto;
}
.coa-shell {
  width: min(calc(100% - 96px), var(--coa-width));
  margin-inline: auto;
}
.coa-skip {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 999999;
  padding: 12px 20px;
  background: #fff;
  color: #111;
}
.coa-skip:focus {
  top: 12px;
}
.coa-header {
  position: relative;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--coa-line);
}
.coa-header-inner {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.coa-brand {
  display: block;
  text-decoration: none !important;
  color: var(--coa-ink) !important;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.15;
  flex-shrink: 0;
}
.coa-brand span {
  display: block;
  color: var(--coa-red);
  font-size: 27px;
}
.coa-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.coa-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 28px;
}
.coa-nav li {
  margin: 0;
}
.coa-nav a {
  font-size: 15px;
  font-weight: 600;
  color: var(--coa-ink);
  text-decoration: none;
  white-space: nowrap;
}
.coa-nav a:hover,
.coa-nav [aria-current="page"] {
  color: var(--coa-red);
}
.coa-nav .coa-button {
  color: #fff;
  font-size: 15px;
  padding: 13px 23px;
  min-height: 48px;
}
.coa-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--coa-line);
  background: #fff;
  color: var(--coa-ink);
  border-radius: 4px;
}
.coa-menu-toggle .dashicons {
  font-size: 26px;
  width: 26px;
  height: 26px;
}
.coa-menu-toggle[hidden] {
  display: none;
}
.coa-site .coa-button,
.coa-site .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 15px 26px;
  border: 1px solid var(--coa-red);
  border-radius: 4px;
  background: var(--coa-red);
  color: #fff;
  text-decoration: none;
  font: 700 16px/1.35 var(--coa-font);
  box-shadow: none;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}
.coa-site .coa-button:hover,
.coa-site .wp-block-button__link:hover {
  background: var(--coa-red-dark);
  color: #fff;
  border-color: var(--coa-red-dark);
}
.coa-site .is-style-outline .wp-block-button__link {
  background: transparent;
  color: var(--coa-ink);
  border-color: var(--coa-line);
}
.coa-site .is-style-outline .wp-block-button__link:hover {
  border-color: var(--coa-ink);
  background: #fff;
}
.coa-site .wp-block-buttons {
  gap: 14px;
  display: flex;
  flex-wrap: wrap;
  margin-top: 32px;
}
.coa-site .coa-kicker {
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--coa-red);
  margin-bottom: 18px;
}
.coa-main {
  display: block;
  min-width: 0;
}
.coa-home .wp-block-group {
  margin-block: 0;
}
/* Classic-theme compatibility wrappers must not become extra grid or flex items. */
.coa-home .wp-block-group__inner-container {
  display: contents;
}
.coa-home .coa-hero {
  position: relative;
  min-height: 620px;
  height: min(780px, calc(100svh - 220px));
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
  background: #303a32;
}
.coa-hero-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  margin: 0 !important;
}
.coa-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.coa-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    0deg,
    rgba(12, 20, 17, 0.88),
    rgba(12, 20, 17, 0.12) 64%,
    transparent
  );
}
.coa-hero-copy {
  padding: 70px 0 56px;
  width: min(calc(100% - 96px), var(--coa-width));
  margin-inline: auto !important;
  color: #fff;
}
.coa-hero-copy h1 {
  max-width: 760px;
  font-size: 64px;
  line-height: 1.06;
  margin-bottom: 24px;
  color: #fff;
}
.coa-hero-copy p:not(.coa-kicker) {
  max-width: 610px;
  font-size: 21px;
  line-height: 1.55;
  color: #fff;
}
.coa-hero .coa-kicker {
  color: #fff;
}
.coa-site .coa-hero .wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color) {
  border-color: #fff;
  color: #fff;
}
.coa-site .coa-hero .wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color):hover {
  color: var(--coa-ink);
  background: #fff;
}
.coa-home .coa-section {
  padding-block: 100px;
}
.coa-home .coa-intro {
  border-bottom: 1px solid var(--coa-line);
}
.coa-home .coa-intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 100px;
  align-items: start;
}
.coa-intro h2 {
  max-width: 600px;
}
.coa-intro-copy {
  padding-top: 34px;
  color: var(--coa-muted);
}
.coa-intro-copy p:last-child {
  margin-bottom: 0;
}
.coa-text-link {
  display: inline-block;
  font-weight: 700;
  text-decoration: none !important;
  border-bottom: 1px solid currentColor;
  padding-bottom: 5px;
}
.coa-home .coa-support {
  background: var(--coa-soft);
}
.coa-section-heading {
  display: flex;
  gap: 32px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 42px !important;
}
.coa-section-heading h2 {
  margin: 0;
}
.coa-support-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
}
.coa-support-item {
  padding-top: 24px;
  border-top: 3px solid var(--coa-red);
}
.coa-support-item p {
  color: var(--coa-muted);
  margin-bottom: 0;
}
.coa-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.coa-photo-grid figure {
  margin: 0;
}
.coa-photo-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 0;
}
.coa-photo-grid figure:nth-child(2) img {
  object-position: left center;
}
.coa-photo-grid figcaption {
  font-size: 15px;
  line-height: 1.5;
  text-align: left;
  padding: 14px 0 0;
  color: var(--coa-muted);
}
.coa-photos .coa-photo-grid + p {
  margin-top: 36px;
}
.coa-founder {
  background: var(--coa-soft);
}
.coa-founder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}
.coa-founder figure {
  margin: 0;
}
.coa-founder img {
  width: 100%;
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.coa-founder p:not(.coa-kicker) {
  color: var(--coa-muted);
}
.coa-home .coa-giving {
  background: var(--coa-red);
  color: #fff;
  padding-block: 72px;
}
.coa-giving-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.coa-giving h2 {
  font-size: 38px;
  max-width: 750px;
  margin-bottom: 12px;
}
.coa-giving p {
  margin: 0;
  color: #fff;
  max-width: 720px;
}
.coa-giving .wp-block-buttons {
  margin: 0;
  flex-shrink: 0;
}
.coa-giving .wp-block-button__link {
  background: #fff;
  color: var(--coa-red-dark);
  border-color: #fff;
}
.coa-giving .wp-block-button__link:hover {
  background: #f2f4f3;
  color: var(--coa-red-dark);
  border-color: #f2f4f3;
}
.coa-page-header {
  padding-block: 68px 42px;
  border-bottom: 1px solid var(--coa-line);
}
.coa-page-header .coa-kicker {
  margin-bottom: 14px;
}
.coa-page-header h1 {
  font-size: 52px;
  margin: 0;
}
.coa-page-content {
  padding-block: 54px 96px;
  overflow-wrap: break-word;
  min-width: 0;
}
.coa-page-content > * {
  max-width: 100%;
}
.coa-page-content > p,
.coa-page-content > h2,
.coa-page-content > h3 {
  max-width: 900px;
}
.coa-page-content p {
  line-height: 1.75;
}
.coa-page-content h2 {
  font-size: 32px;
  margin-top: 48px;
}
.coa-page-content h3 {
  margin-top: 38px;
}
.coa-page-content figure {
  max-width: 100%;
  margin: 28px 0;
}
.coa-page-content iframe {
  max-width: 100%;
}
.coa-page-content table {
  display: block;
  max-width: 100%;
  overflow: auto;
}
.coa-page-content .alignleft {
  margin: 0 36px 24px 0;
  max-width: 45%;
}
.coa-page-content .alignright {
  margin: 0 0 24px 36px;
  max-width: 45%;
}
.coa-page-content::after {
  content: "";
  display: table;
  clear: both;
}
.coa-page-content .ngg-galleryoverview,
.coa-page-content .ngg-albumoverview {
  width: 100%;
  margin-bottom: 32px;
}
.coa-page-content .ngg-album-compact {
  box-sizing: content-box;
  padding: 16px !important;
}
.coa-page-content .ngg-gallery-thumbnail img {
  max-width: 100%;
  height: auto;
}
.coa-page-content .wpcf7 {
  max-width: 740px;
}
.coa-page-content .wpcf7 label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
}
.coa-page-content input[type="text"],
.coa-page-content input[type="email"],
.coa-page-content input[type="tel"],
.coa-page-content input[type="number"],
.coa-page-content textarea.wpcf7-textarea,
.coa-page-content select {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-top: 8px;
  border: 1px solid #aab5af;
  background: #fff;
  border-radius: 4px;
  padding: 13px 15px;
  color: var(--coa-ink);
  font: 400 18px/1.5 var(--coa-font);
  box-shadow: none;
}
.coa-page-content textarea.wpcf7-textarea {
  min-height: 180px;
  resize: vertical;
}
.coa-page-content input[type="submit"] {
  background: var(--coa-red);
  border: 1px solid var(--coa-red);
  border-radius: 4px;
  padding: 15px 28px;
  color: #fff;
  font: 700 16px/1.5 var(--coa-font);
  cursor: pointer;
  min-height: 52px;
}
.coa-page-content .wpcf7-not-valid-tip {
  font-size: 15px;
}
.coa-page-content .wpcf7-response-output {
  margin-inline: 0;
  padding: 16px;
  line-height: 1.5;
}
.coa-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 90px;
}
.coa-contact-layout > * {
  min-width: 0;
}
.coa-page-content .cf7sr-g-recaptcha,
.coa-page-content .cf7sr-g-recaptcha > div,
.coa-page-content .cf7sr-g-recaptcha > div > div,
.coa-page-content .captcha-image {
  max-width: 100%;
}
.coa-page-content .cf7sr-g-recaptcha textarea.g-recaptcha-response {
  max-width: calc(100% - 50px);
}
.coa-contact-note {
  padding-top: 6px;
}
.coa-site .coa-contact-note h2 {
  font-size: 28px;
  margin: 0 0 20px;
}
.coa-contact-note p {
  color: var(--coa-muted);
}
.coa-contact-note a {
  font-size: 17px;
}
.coa-footer {
  background: #222b29;
  color: #fff;
  padding-top: 72px;
}
.coa-footer-top {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 1fr;
  gap: 80px;
  padding-bottom: 58px;
}
.coa-footer .coa-brand {
  color: #fff !important;
  font-size: 24px;
  margin-bottom: 24px;
}
.coa-footer .coa-brand span {
  color: #fff;
  font-size: 29px;
}
.coa-footer p {
  color: #d0d8d4;
  font-size: 16px;
  max-width: 440px;
}
.coa-site .coa-footer h2 {
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 22px;
  text-transform: uppercase;
  color: #fff;
}
.coa-footer a {
  color: #fff;
  text-decoration: none;
}
.coa-footer a:hover {
  text-decoration: underline;
  color: #fff;
}
.coa-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.coa-footer li {
  margin-bottom: 9px;
  font-size: 16px;
}
.coa-footer-bottom {
  border-top: 1px solid #52615b;
  padding-block: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}
.coa-footer-bottom p {
  font-size: 13px;
  margin: 0;
}
.coa-empty {
  padding-block: 100px;
}
.coa-pagination {
  margin-top: 36px;
}
@media (min-width: 1800px) {
  :root {
    --coa-width: 1500px;
  }
  .coa-hero-copy h1 {
    font-size: 76px;
    max-width: 930px;
  }
  .coa-hero-copy p:not(.coa-kicker) {
    font-size: 23px;
  }
  .coa-home .coa-hero {
    height: min(880px, calc(100svh - 240px));
  }
  .coa-site h2 {
    font-size: 48px;
  }
  .coa-header-inner {
    min-height: 116px;
  }
  .coa-nav a {
    font-size: 17px;
  }
}
@media (max-width: 1100px) {
  .coa-shell {
    width: calc(100% - 56px);
  }
  .coa-header-inner {
    gap: 24px;
  }
  .coa-nav {
    gap: 20px;
  }
  .coa-nav ul {
    gap: 17px;
  }
  .coa-nav a {
    font-size: 14px;
  }
  .coa-brand {
    font-size: 18px;
  }
  .coa-brand span {
    font-size: 23px;
  }
  .coa-home .coa-intro-grid,
  .coa-founder-grid {
    gap: 50px;
  }
  .coa-contact-layout {
    gap: 48px;
  }
  .coa-hero-copy {
    width: calc(100% - 56px);
  }
  .coa-footer-top {
    gap: 40px;
  }
}
@media (max-width: 900px) {
  .coa-header-inner {
    min-height: 88px;
    position: relative;
  }
  .coa-menu-toggle {
    display: flex;
    flex-shrink: 0;
  }
  .coa-nav {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
    position: absolute;
    left: -28px;
    right: -28px;
    top: 100%;
    padding: 24px 28px;
    background: #fff;
    border-bottom: 1px solid var(--coa-line);
    box-shadow: 0 14px 18px #17242014;
  }
  .coa-nav[hidden] {
    display: none;
  }
  .coa-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .coa-nav li a {
    display: block;
    padding: 10px 0;
    font-size: 17px;
  }
  .coa-nav .coa-button {
    align-self: flex-start;
  }
  .coa-home .coa-hero {
    min-height: 640px;
    height: auto;
  }
  .coa-hero-copy h1 {
    font-size: 54px;
  }
  .coa-hero-photo img {
    object-position: 62% 50%;
  }
  .coa-home .coa-intro-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .coa-intro-copy {
    padding-top: 4px;
    max-width: 800px;
  }
  .coa-support-list {
    gap: 28px;
  }
  .coa-footer-top {
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
  }
  .coa-footer-top > div:first-child {
    grid-column: 1/-1;
  }
  .coa-home .coa-section {
    padding-block: 76px;
  }
  .coa-founder-grid {
    gap: 38px;
  }
  .coa-giving-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }
  .coa-site h2 {
    font-size: 36px;
  }
}
@media (max-width: 640px) {
  body.coa-site {
    font-size: 17px;
  }
  .coa-shell {
    width: calc(100% - 40px);
  }
  .coa-header-inner {
    min-height: 84px;
  }
  .coa-brand {
    font-size: 17px;
  }
  .coa-brand span {
    font-size: 22px;
  }
  .coa-nav {
    left: -20px;
    right: -20px;
    padding: 20px;
  }
  .coa-home .coa-hero {
    min-height: 670px;
    min-height: min(760px, calc(100svh - 84px));
    height: auto;
    align-items: flex-end;
  }
  .coa-hero-photo img {
    object-position: 59% 35%;
  }
  .coa-hero-copy {
    width: calc(100% - 40px);
    padding-block: 230px 38px;
  }
  .coa-hero-copy h1 {
    font-size: 40px;
    line-height: 1.12;
    margin-bottom: 20px;
    max-width: 420px;
  }
  .coa-hero-copy p:not(.coa-kicker) {
    font-size: 18px;
    line-height: 1.5;
  }
  .coa-hero .coa-kicker {
    font-size: 12px;
  }
  .coa-hero::after {
    background: linear-gradient(
      0deg,
      rgba(12, 20, 17, 0.94),
      rgba(12, 20, 17, 0.5) 46%,
      transparent 78%
    );
  }
  .coa-site .wp-block-buttons {
    gap: 12px;
    margin-top: 26px;
  }
  .coa-site .wp-block-button__link {
    min-height: 50px;
    padding: 13px 19px;
    font-size: 15px;
  }
  .coa-home .coa-section {
    padding-block: 58px;
  }
  .coa-site h2 {
    font-size: 32px;
    line-height: 1.2;
  }
  .coa-site h3 {
    font-size: 23px;
  }
  .coa-section-heading {
    display: block;
    margin-bottom: 30px !important;
  }
  .coa-section-heading .coa-text-link {
    margin-top: 22px;
  }
  .coa-support-list,
  .coa-photo-grid,
  .coa-founder-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .coa-photo-grid {
    gap: 28px;
  }
  .coa-founder-grid {
    gap: 34px;
  }
  .coa-founder img {
    max-height: 380px;
    object-position: center;
  }
  .coa-home .coa-giving {
    padding-block: 50px;
  }
  .coa-giving h2 {
    font-size: 31px;
  }
  .coa-giving .wp-block-buttons {
    margin: 0;
  }
  .coa-page-header {
    padding-block: 45px 30px;
  }
  .coa-page-header h1 {
    font-size: 38px;
    line-height: 1.15;
  }
  .coa-page-content {
    padding-block: 34px 58px;
  }
  .coa-page-content h2 {
    font-size: 29px;
  }
  .coa-contact-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .coa-site .coa-contact-note h2 {
    font-size: 25px;
  }
  .coa-page-content .alignleft,
  .coa-page-content .alignright {
    float: none;
    display: block;
    max-width: 100%;
    margin: 0 0 28px;
  }
  .coa-footer {
    padding-top: 50px;
  }
  .coa-footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 30px;
  }
  .coa-footer-top > div:first-child {
    grid-column: auto;
  }
  .coa-footer .coa-brand {
    font-size: 21px;
  }
  .coa-footer .coa-brand span {
    font-size: 26px;
  }
  .coa-footer h2 {
    margin-bottom: 16px;
  }
  .coa-footer-bottom {
    padding-block: 22px;
    gap: 12px;
  }
  .coa-footer p {
    max-width: none;
  }
  .coa-page-content .ngg-album-compact {
    padding: 12px !important;
    max-width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .coa-site * {
    transition: none !important;
    animation: none !important;
  }
}
