@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/dm-sans-400.ttf") format("truetype");
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/dm-sans-500.ttf") format("truetype");
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/dm-sans-700.ttf") format("truetype");
}

@font-face {
  font-family: "DM Sans";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/dm-sans-400-italic.ttf") format("truetype");
}

:root {
  --dark: #28292d;
  --text: #25262a;
  --muted: #9b9da3;
  --line: #ececef;
  --teal: #981b1e;
  --teal-dark: #c1272d;
  --soft-teal: #e9fbf9;
  --news-bg: #d5d5d5;
  --footer-text: #b9bbc0;
  --container: 1290px;
  --font-primary: "DM Sans", Arial, sans-serif;
  --font-secondary: "DM Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--font-primary);
  letter-spacing: 0;
  overflow-x: hidden;
}

button,
input,
select,
textarea,
a {
  font-family: var(--font-primary);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.topbar {
  height: 36px;
  background: var(--dark);
  color: #d8d8dc;
  font-size: 14px;
}

.topbar-inner {
  width: min(var(--container), calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-links {
  display: flex;
  gap: 38px;
}

.top-links a,
.language {
  opacity: .95;
}

.language {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.language-wrap {
  position: relative;
}

.language-wrap .nav-arrow {
  color: #d8d8dc;
}

.language-wrap:hover .nav-arrow,
.language-wrap:focus-within .nav-arrow {
  transform: rotate(180deg);
  color: #fff;
}

.language-menu {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  z-index: 25;
  min-width: 132px;
  margin: 0;
  padding: 7px 0;
  list-style: none;
  border: 1px solid #3a3b40;
  border-radius: 0 0 5px 5px;
  background: var(--dark);
  box-shadow: 0 10px 22px rgb(0 0 0 / 14%);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.language-menu::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 0;
  width: 100%;
  height: 9px;
}

.language-wrap:hover .language-menu,
.language-wrap:focus-within .language-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-menu a {
  display: block;
  padding: 8px 14px;
  color: #d8d8dc;
}

.language-menu a:hover {
  color: #fff;
  background: #323339;
}

.site-header {
  position: relative;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 8px rgb(0 0 0 / 3%);
}

.site-header.is-fixed {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
}

.header-spacer {
  display: none;
}

.header-spacer.is-active {
  display: block;
}

.header-inner {
  width: min(var(--container), calc(100% - 48px));
  height: 96px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 42px;
}

.brand {
  flex: 0 0 auto;
  display: inline-flex;
}

.brand img {
  display: block;
  width: 287px;
  height: auto;
  object-fit: cover;
}

.main-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: center;
  gap: 32px;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
  text-transform: uppercase;
  font-size: inherit;
  font-weight: inherit;
}

.nav-link.is-active {
  color: var(--teal);
}

.nav-arrow {
  color: #a7a9ae;
  font-size: 10px;
  line-height: 1;
  transition: transform .2s ease, color .2s ease;
}

.nav-arrow-light {
  color: #fff;
}

.has-dropdown:hover .nav-arrow,
.has-dropdown:focus-within .nav-arrow,
.has-dropdown.is-open .nav-arrow,
.donate-wrap:hover .nav-arrow,
.donate-wrap:focus-within .nav-arrow,
.donate-wrap.is-open .nav-arrow {
  transform: rotate(180deg);
  color: var(--teal);
}

.donate-wrap:hover .nav-arrow-light,
.donate-wrap:focus-within .nav-arrow-light,
.donate-wrap.is-open .nav-arrow-light {
  color: #fff;
}

.submenu,
.donate-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  z-index: 20;
  min-width: 238px;
  margin: 0;
  padding: 12px 0;
  list-style: none;
  border: 1px solid #ededf0;
  border-radius: 0 0 6px 6px;
  background: #fff;
  box-shadow: 0 12px 30px rgb(0 0 0 / 10%);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.submenu::before,
.donate-menu::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 0;
  width: 100%;
  height: 15px;
}

.submenu-wide {
  min-width: 300px;
}

.has-dropdown:hover .submenu,
.has-dropdown:focus-within .submenu,
.has-dropdown.is-open .submenu,
.donate-wrap:hover .donate-menu,
.donate-wrap:focus-within .donate-menu,
.donate-wrap.is-open .donate-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.submenu a,
.donate-menu a {
  display: block;
  padding: 9px 22px;
  color: #4b4d55;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  text-transform: none;
  white-space: nowrap;
  transition: color .2s ease, background-color .2s ease, padding-left .2s ease;
}

.submenu a:hover,
.donate-menu a:hover {
  padding-left: 27px;
  background: #f7fbfb;
  color: var(--teal);
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 22px;
}

.search-btn {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #1f2228;
  cursor: pointer;
}

.search-btn i {
  font-size: 22px;
  line-height: 1;
}

.donate-btn {
  min-width: 134px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border-radius: 5px;
  border: 0;
  background: var(--teal);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.donate-wrap {
  position: relative;
}

.donate-menu {
  right: 0;
  left: auto;
  min-width: 205px;
  transform: translate(0, 10px);
}

.donate-wrap:hover .donate-menu,
.donate-wrap:focus-within .donate-menu,
.donate-wrap.is-open .donate-menu {
  transform: translate(0, 0);
}

.donate-btn:hover {
  background: var(--teal-dark);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
}

.menu-toggle i {
  color: var(--dark);
  font-size: 24px;
}

.search-panel {
  position: absolute;
  right: max(24px, calc((100% - var(--container)) / 2));
  bottom: -58px;
  width: min(360px, calc(100% - 48px));
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 14px 35px rgb(0 0 0 / 12%);
}

.search-panel input {
  width: 100%;
  height: 38px;
  border: 1px solid #dedee2;
  border-radius: 4px;
  padding: 0 14px;
  outline-color: var(--teal);
}

.hero {
  padding-top: 20px;
}

.hero-slider {
  width: 100%;
  aspect-ratio: 1290 / 477;
  overflow: hidden;
}

.hero-track {
  height: 100%;
  display: flex;
  transition: transform .65s ease;
}

.hero-slide {
  min-width: 100%;
  height: 100%;
}

.hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-dots {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.slider-dots button {
  width: 28px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: #e5e5e5;
  cursor: pointer;
}

.slider-dots .is-active {
  background: #24252a;
}

.service-strip {
  padding: 0 0 66px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 62px;
  row-gap: 44px;
}

.service-item {
  min-height: 88px;
  display: grid;
  grid-template-columns: 89px 18px minmax(0, 1fr);
  align-items: center;
  color: #222428;
}

.service-icon {
  width: 78px;
  height: 78px;
  display: inline-grid;
  place-items: center;
  border: 4px solid #e7f8f6;
  border-radius: 50%;
  background: #f8fdfc;
  box-shadow: inset 0 0 0 2px #d8f1ee, 0 0 0 1px #f2f2f2;
  color: var(--teal);
}

.service-icon i {
  font-size: 38px;
  line-height: 1;
}

.chevron {
  color: var(--teal);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

.service-item span:last-child {
  display: block;
  font-size: 24px;
  line-height: .98;
}

.service-item strong {
  display: block;
  color: var(--teal);
  font-weight: 800;
}

.service-item b {
  display: block;
  font-weight: 800;
}

.news-band {
  background: var(--news-bg);
  padding: 56px 0 52px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 32px);
}

.news-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 300 / 251;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 4px 11px rgb(0 0 0 / 22%);
}

.news-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.news-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 45%;
  display: flex;
  align-items: flex-end;
  padding: 0 18px 18px;
  background: linear-gradient(to top, rgb(0 0 0 / 85%) 0%, rgb(0 0 0 / 48%) 48%, rgb(0 0 0 / 0%) 100%);
}

.news-title {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.18;
  text-shadow: 0 2px 5px rgb(0 0 0 / 55%);
  transition: color .25s ease;
}

.news-card:hover img {
  transform: scale(1.08);
}

.news-card:hover .news-title {
  color: var(--teal);
}

.quick-links {
  padding: 42px 0 72px;
}

.page-hero {
  padding: 25px 0 15px;
  background: #f7f7f8;
  border-bottom: 1px solid var(--line);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
  color: #777a82;
  font-size: 18px;
  font-weight: 500;
}

.breadcrumbs a {
  transition: color .2s ease;
}

.breadcrumbs a:hover {
  color: var(--teal);
}

.breadcrumbs i {
  color: #b7b9be;
  font-size: 10px;
}

.page-hero h1 {
  margin: 0;
  color: #222428;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  text-transform: uppercase;
}

.listing-section {
  padding: 35px 0 82px;
}

.listing-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 27px;
}

.listing-head p {
  max-width: 580px;
  margin: 0;
  color: #62656c;
  font-size: 16px;
  line-height: 1.5;
}

.listing-head span {
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 31px;
}

.article-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 10px 28px rgb(0 0 0 / 7%);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: #e0e1e5;
  box-shadow: 0 16px 34px rgb(0 0 0 / 12%);
}

.article-media {
  display: block;
  width: 100%;
  aspect-ratio: 410 / 258;
  overflow: hidden;
  background: #ececef;
}

.article-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.article-card:hover .article-media img {
  transform: scale(1.06);
}

.article-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 23px 24px 24px;
}

.article-meta {
  display: block;
 
  color: var(--teal);
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
}

.article-body h2 {
  margin: 0 0 12px;
  color: #23252a;
  font-size: 18px;
  line-height: 1.2;
}

.article-body h2 a {
  transition: color .2s ease;
}

.article-body h2 a:hover {
  color: var(--teal);
}

.article-body p {
  margin: 0 0 19px;
  color: #696c73;
  font-size: 15px;
  line-height: 1.58;
}

.article-more {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: #222428;
  font-size: 14px;
  font-weight: 800;
  transition: color .2s ease, gap .2s ease;
}

.article-more i {
  color: var(--teal);
  font-size: 13px;
}

.article-more:hover {
  gap: 12px;
  color: var(--teal);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 48px;
}

.pagination a {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  color: #3c3f46;
  font-size: 15px;
  font-weight: 800;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.pagination a:hover,
.pagination .is-active {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.pagination-next i {
  font-size: 12px;
}

.detail-hero {
  padding: 43px 0 42px;
  background: #f7f7f8;
  border-bottom: 1px solid var(--line);
}

.detail-category {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 14px;
  padding: 0 13px;
  border-radius: 5px;
  background: var(--teal);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.detail-hero h1 {
  max-width: 900px;
  margin: 0 0 17px;
  color: #222428;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #777a82;
  font-size: 15px;
  font-weight: 500;
}

.detail-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.detail-meta i {
  color: var(--teal);
}

.detail-section {
  padding: 58px 0 82px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 46px;
  align-items: start;
}

.detail-article {
  min-width: 0;
}

.detail-cover {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 7px;
  box-shadow: 0 10px 28px rgb(0 0 0 / 10%);
}

.lead-quote {
  margin: 34px 0 31px;
  padding: 24px 28px;
  border-left: 5px solid var(--teal);
  border-radius: 0 7px 7px 0;
  background: #f8f8f9;
  color: #31333a;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.45;
}

.detail-content {
  color: #555860;
  font-size: 17px;
  line-height: 1.78;
}

.detail-content h2 {
  margin: 37px 0 13px;
  color: #222428;
  font-size: 29px;
  line-height: 1.2;
  text-transform: uppercase;
}

.detail-content p {
  margin: 0 0 17px;
}

.donation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 24px;
}

.donation-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--teal);
  border-radius: 5px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  transition: background-color .2s ease, color .2s ease;
}

.donation-action.primary,
.donation-action:hover {
  background: var(--teal);
  color: #fff;
}

.info-box {
  display: grid;
  gap: 5px;
  margin: 28px 0 29px;
  padding: 18px 20px;
  border: 1px solid #eed7d8;
  border-radius: 7px;
  background: #fff8f8;
  color: #555860;
}

.info-box strong {
  color: var(--teal);
  font-size: 15px;
  text-transform: uppercase;
}

.share-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.share-row span {
  margin-right: 3px;
  color: #222428;
  font-size: 16px;
  font-weight: 800;
}

.share-row a {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #f1f1f2;
  color: #33363d;
  transition: background-color .2s ease, color .2s ease;
}

.share-row a:hover {
  background: var(--teal);
  color: #fff;
}

.detail-sidebar {
  display: grid;
  gap: 24px;
  position: sticky;
  top: 126px;
}

.side-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 10px 28px rgb(0 0 0 / 7%);
}

.side-panel h2 {
  margin: 0 0 16px;
  color: #222428;
  font-size: 22px;
  line-height: 1.25;
}

.donate-panel {
  background: #fbf6f6;
}

.donate-panel p {
  margin: 0 0 18px;
  color: #666970;
  font-size: 15px;
  line-height: 1.58;
}

.donate-panel > a {
  width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: var(--teal);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.side-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.side-card:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.side-card:last-child {
  padding-bottom: 0;
}

.side-card img {
  width: 86px;
  height: 64px;
  padding: 6px;
  border-radius: 5px;
  background: #f8fdfc;
  object-fit: contain;
}

.side-card span {
  color: #303239;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  transition: color .2s ease;
}

.side-card:hover span {
  color: var(--teal);
}

.donation-page {
  background: #f5f6f8;
}

.donation-topbar {
  min-height: 36px;
  background: var(--dark);
  color: #d8d8dc;
  font-size: 14px;
}

.donation-topbar-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.donation-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.donation-quick-links a:hover {
  color: #fff;
}

.donation-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 15px rgb(0 0 0 / 6%);
}

.donation-header-inner {
  min-height: 96px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
}

.donation-brand {
  display: inline-flex;
  align-items: center;
}

.donation-brand img {
  display: block;
  width: 278px;
  height: auto;
}

.donation-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  color: #23252a;
  cursor: pointer;
}

.donation-menu-toggle i {
  font-size: 22px;
  line-height: 1;
}

.donation-main-nav {
  display: flex;
  justify-content: flex-end;
  gap: 28px;
  color: #23252a;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.donation-main-nav > a,
.donation-nav-item > button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-bottom: 2px solid transparent;
  border-top: 0;
  border-right: 0;
  border-left: 0;
  background: transparent;
  color: #23252a;
  cursor: pointer;
  font: inherit;
  text-transform: uppercase;
  transition: color .2s ease, border-color .2s ease;
}

.donation-user-icon-link,
.donation-user-menu > button {
  position: relative;
  width: 42px;
  min-height: 42px;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.donation-user-icon-link i,
.donation-user-menu > button > i:first-child {
  font-size: 16px;
}

.donation-user-menu > button > i:last-child {
  position: absolute;
  right: -9px;
  bottom: 4px;
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  font-size: 8px;
}

.donation-main-nav > a:hover,
.donation-nav-item:hover > button,
.donation-nav-item.is-open > button {
  border-color: var(--teal);
  color: var(--teal);
}

.donation-nav-item {
  position: relative;
}

.donation-nav-item > button i {
  color: #a7a9ae;
  font-size: 10px;
  transition: transform .2s ease, color .2s ease;
}

.donation-nav-item:hover > button i,
.donation-nav-item.is-open > button i {
  color: var(--teal);
  transform: rotate(180deg);
}

.donation-user-menu:hover > button > i:first-child,
.donation-user-menu.is-open > button > i:first-child {
  transform: none;
}

.donation-nav-item ul {
  position: absolute;
  top: calc(100% + 15px);
  left: 50%;
  z-index: 20;
  min-width: 235px;
  margin: 0;
  padding: 11px 0;
  list-style: none;
  border: 1px solid #ededf0;
  border-radius: 0 0 6px 6px;
  background: #fff;
  box-shadow: 0 12px 30px rgb(0 0 0 / 10%);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.donation-nav-item ul::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 0;
  width: 100%;
  height: 15px;
}

.donation-nav-item:hover ul,
.donation-nav-item:focus-within ul,
.donation-nav-item.is-open ul {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.donation-nav-item li a,
.donation-nav-item li button {
  display: block;
  width: 100%;
  padding: 9px 20px;
  border: 0;
  background: transparent;
  color: #4b4d55;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
  text-transform: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease, padding-left .2s ease;
}

.donation-nav-item li a:hover,
.donation-nav-item li button:hover {
  padding-left: 25px;
  background: #f7fbfb;
  color: var(--teal);
}

.donation-cart-link {
  min-width: 76px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  gap: 9px;
  border-radius: 5px;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
}

.donation-cart-link i {
  font-size: 17px;
}

.donation-hero {
  padding: 45px 0 42px;
  background: #f5f6f8;
  border-bottom: 1px solid var(--line);
}

.donation-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: center;
}

.donation-hero h1 {
  margin: 0 0 10px;
  color: #222428;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.02;
  text-transform: uppercase;
}

.donation-hero p {
  max-width: 610px;
  margin: 0;
  color: #686b72;
  font-size: 18px;
  line-height: 1.55;
}

.donation-trust {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  padding: 18px;
  border: 1px solid #eed7d8;
  border-radius: 7px;
  background: #fff8f8;
  color: #555860;
  font-size: 14px;
  line-height: 1.45;
}

.donation-trust i {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
}

.donation-workspace {
  padding: 38px 0 74px;
  background: #fff;
}

.donation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.donation-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.donation-tabs button {
  min-height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: #33363d;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 8px 22px rgb(0 0 0 / 5%);
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.donation-tabs i {
  color: var(--teal);
  font-size: 21px;
  transition: color .2s ease;
}

.donation-tabs button:hover,
.donation-tabs .is-active {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.donation-tabs button:hover i,
.donation-tabs .is-active i {
  color: #fff;
}

.donation-categories {
  position: sticky;
  top: 126px;
  display: grid;
  gap: 11px;
}

.donation-categories a {
  min-height: 84px;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 14px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: #33363d;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 8px 22px rgb(0 0 0 / 5%);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.donation-categories i {
  color: var(--teal);
  font-size: 24px;
  transition: color .2s ease;
}

.donation-categories a:hover,
.donation-categories .is-active {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.donation-categories a:hover i,
.donation-categories .is-active i {
  color: #fff;
}

.donation-content {
  display: grid;
  gap: 42px;
}

.donation-group {
  scroll-margin-top: 126px;
}

.donation-group[hidden] {
  display: none;
}

.donation-section-title {
  margin-bottom: 19px;
}

.donation-section-title h2 {
  margin: 0 0 7px;
  padding-left: 15px;
  border-left: 4px solid var(--teal);
  color: #222428;
  font-size: 28px;
  line-height: 1.15;
  text-transform: uppercase;
}

.donation-section-title p {
  margin: 0;
  color: #686b72;
  font-size: 16px;
  line-height: 1.5;
}

.donation-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.donation-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 10px 26px rgb(0 0 0 / 7%);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.donation-card:hover {
  transform: translateY(-3px);
  border-color: #e0e1e5;
  box-shadow: 0 16px 34px rgb(0 0 0 / 12%);
}

.donation-card img {
  display: block;
  width: 100%;
  aspect-ratio: 292 / 202;
  object-fit: contain;
  background: #fff;
}

.donation-card-body {
  display: grid;
  gap: 15px;
  padding: 18px;
}

.donation-card h3 {
  min-height: 46px;
  margin: 0;
  color: #24262b;
  font-size: 18px;
  line-height: 1.25;
}

.donation-price {
  min-height: 48px;
  display: flex;
  align-items: baseline;
  gap: 5px;
  color: var(--teal);
}

.donation-price span {
  font-size: 18px;
  font-weight: 800;
}

.donation-price strong {
  font-size: 31px;
  line-height: 1;
}

.donation-price.compact {
  flex-wrap: wrap;
  gap: 5px 8px;
}

.donation-price.compact strong {
  font-size: 18px;
}

.donation-input {
  min-height: 48px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  border: 1px solid #dedfe3;
  border-radius: 5px;
  background: #fff;
}

.donation-input span {
  height: 100%;
  display: inline-grid;
  place-items: center;
  background: #f5f5f6;
  color: var(--teal);
  font-weight: 800;
}

.donation-input input {
  width: 100%;
  height: 46px;
  border: 0;
  padding: 0 12px;
  color: #33363d;
  font-size: 15px;
  outline-color: var(--teal);
}

.donation-card button,
.donation-card-button,
.cart-panel button,
.donor-actions button {
  min-height: 42px;
  min-width: 150px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 5px;
  background: var(--teal);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  transition: background-color .2s ease;
}

.donation-card button:hover,
.donation-card-button:hover,
.cart-panel button:hover,
.donor-actions button:hover {
  background: #7e1518;
}

.donation-sidebar {
  position: sticky;
  top: 126px;
  display: grid;
  gap: 20px;
}

.donor-panel,
.cart-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 10px 26px rgb(0 0 0 / 7%);
}

.donor-panel h2,
.cart-panel h2 {
  margin: 0 0 17px;
  color: #222428;
  font-size: 22px;
  line-height: 1.2;
}

.donor-panel label {
  display: grid;
  gap: 7px;
  margin-bottom: 13px;
  color: #555860;
  font-size: 13px;
  font-weight: 700;
}

.donor-panel input {
  height: 42px;
  border: 1px solid #dedfe3;
  border-radius: 5px;
  padding: 0 12px;
  color: #33363d;
  font-size: 14px;
  outline-color: var(--teal);
}

.donor-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 16px;
}

.donor-actions button:last-child {
  border: 1px solid var(--teal);
  background: #fff;
  color: var(--teal);
}

.donor-actions button:last-child:hover {
  background: var(--teal);
  color: #fff;
}

.empty-cart {
  display: grid;
  place-items: center;
  gap: 9px;
  min-height: 118px;
  border: 1px dashed #d8d9de;
  border-radius: 7px;
  color: #8a8d94;
  text-align: center;
  padding: 50px;
}

.empty-cart i {
  color: var(--teal);
  font-size: 25px;
}

.empty-cart p {
  margin: 0;
  font-size: 15px;
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: #33363d;
  font-size: 16px;
  font-weight: 800;
}

.cart-total strong {
  color: var(--teal);
  font-size: 24px;
}

.cart-panel button {
  width: 100%;
}

.donation-footer {
  background: var(--dark);
  color: var(--footer-text);
}

.donation-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(240px, .7fr);
  gap: 56px;
  padding: 45px 0;
}

.donation-footer img {
  width: 250px;
  max-width: 100%;
  filter: grayscale(1);
  opacity: .9;
}

.donation-footer p {
  max-width: 760px;
  margin: 14px 0 0;
  line-height: 1.55;
}

.donation-footer nav {
  display: grid;
  align-content: start;
  gap: 14px;
}

.donation-footer a:hover {
  color: #fff;
}

.donation-copyright {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid #515258;
  color: #b8bac0;
  font-size: 14px;
  text-align: center;
}

.donation-detail-hero .donation-hero-inner {
  align-items: center;
}

.donation-detail-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 14px;
  padding: 0 13px;
  border-radius: 5px;
  background: var(--teal);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.donation-detail-section {
  padding: 42px 0 76px;
  background: #fff;
}

.donation-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 36px;
  align-items: start;
}

.donation-detail-main {
  min-width: 0;
}

.donation-detail-gallery {
  display: grid;
  gap: 14px;
}

.donation-detail-cover {
  display: block;
  width: 100%;
  aspect-ratio: 818 / 468;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 10px 26px rgb(0 0 0 / 7%);
}

.donation-detail-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 104px);
  gap: 10px;
}

.donation-detail-thumbs button {
  width: 104px;
  aspect-ratio: 1;
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 8px 18px rgb(0 0 0 / 8%);
}

.donation-detail-thumbs .is-active {
  border-color: var(--teal);
}

.donation-detail-thumbs img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.donation-detail-content {
  margin-top: 34px;
  color: #555860;
  font-size: 17px;
  line-height: 1.76;
}

.donation-detail-lead {
  margin: 0 0 28px;
  padding: 22px 26px;
  border-left: 5px solid var(--teal);
  border-radius: 0 7px 7px 0;
  background: #f8f8f9;
  color: #303239;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.45;
}

.donation-detail-content h2 {
  margin: 33px 0 12px;
  color: #222428;
  font-size: 28px;
  line-height: 1.2;
  text-transform: uppercase;
}

.donation-detail-content p {
  margin: 0 0 16px;
}

.donation-detail-note {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  margin: 28px 0 30px;
  padding: 18px;
  border: 1px solid #eed7d8;
  border-radius: 7px;
  background: #fff8f8;
  color: #555860;
  font-size: 15px;
  font-weight: 700;
}

.donation-detail-note i {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
}

.donation-detail-share {
  margin-top: 34px;
}

.donation-detail-aside {
  position: sticky;
  top: 126px;
}

.donation-detail-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 12px 30px rgb(0 0 0 / 9%);
}

.donation-detail-form h2 {
  margin: 0;
  color: #222428;
  font-size: 24px;
  line-height: 1.2;
}

.donation-detail-price,
.donation-detail-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.donation-detail-price span,
.donation-detail-total span {
  color: #686b72;
  font-size: 14px;
  font-weight: 700;
}

.donation-detail-price strong,
.donation-detail-total strong {
  color: var(--teal);
  font-size: 28px;
  line-height: 1;
  white-space: nowrap;
}

.donation-detail-price strong span {
  color: inherit;
  font-size: 18px;
}

.donation-detail-amount {
  margin-top: 4px;
}

.donation-detail-field {
  display: grid;
  gap: 7px;
  color: #555860;
  font-size: 13px;
  font-weight: 700;
}

.donation-detail-field input,
.donation-detail-field textarea {
  height: 44px;
  border: 1px solid #dedfe3;
  border-radius: 5px;
  padding: 0 12px;
  color: #33363d;
  font-size: 15px;
  outline-color: var(--teal);
}

.donation-detail-field textarea {
  min-height: 92px;
  padding: 11px 12px;
  resize: vertical;
}

.donation-detail-form .field-validation-error,
.donation-detail-form .validation-summary-errors {
  color: #c92828;
  font-size: 13px;
  font-weight: 700;
}

.donation-detail-form .validation-summary-errors ul {
  margin: 0;
  padding-left: 18px;
}

.donation-detail-form .input-validation-error {
  border-color: #c92828;
  outline-color: #c92828;
}

.donation-detail-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}

.donation-detail-actions button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--teal);
  border-radius: 5px;
  background: var(--teal);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  transition: background-color .2s ease, color .2s ease;
}

.donation-detail-actions button:first-child {
  background: #fff;
  color: var(--teal);
}

.donation-detail-actions button:hover,
.donation-detail-actions button:first-child:hover {
  background: #7e1518;
  border-color: #7e1518;
  color: #fff;
}

.inline-logout {
  display: inline-flex;
  margin: 0;
}

.inline-logout button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
}

.profile-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.profile-nav {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 12px 30px rgb(0 0 0 / 7%);
}

.profile-nav a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 5px;
  color: #3f4249;
  font-size: 14px;
  font-weight: 800;
}

.profile-nav a:hover,
.profile-nav a.is-active {
  background: #f3f9f9;
  color: var(--teal);
}



.profile-alert {
  padding: 12px 14px;
  border: 1px solid #cbe3d7;
  border-radius: 5px;
  background: #f1faf5;
  color: #20734b;
  font-size: 14px;
  font-weight: 700;
}

.profile-actions {
  grid-template-columns: minmax(160px, 240px);
}

.checkout-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.checkout-row > div {
  display: grid;
  gap: 6px;
}

.checkout-row span {
  color: var(--muted);
}

.donation-history-item {
  border-bottom: 1px solid var(--line);
}

.donation-history-item summary {
  cursor: pointer;
  list-style: none;
}

.donation-history-item summary::-webkit-details-marker {
  display: none;
}

.donation-history-item .checkout-row {
  border-bottom: 0;
}

.checkout-row.donation-history-row {
  grid-template-columns: minmax(0, 1fr) auto minmax(110px, auto) auto;
}

.donation-detail-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--teal);
  border-radius: 5px;
  background: #fff;
  color: var(--teal) !important;
  font-size: 13px;
  font-weight: 800;
}

.donation-history-item[open] .donation-detail-toggle {
  background: var(--teal);
  color: #fff !important;
}

.donation-history-details {
  padding: 0 0 18px;
}

.donation-history-details dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fbfb;
}

.donation-history-details dl > div {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.donation-history-details dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.donation-history-details dd {
  margin: 0;
  color: #2d3037;
  font-size: 14px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.donation-history-detail-wide {
  grid-column: 1 / -1;
}

.cart-line-form {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin: 0;
}

.cart-line-form input {
  width: 82px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 10px;
}

.checkout-button,
.secondary-action {
  display: inline-flex;
  width: auto;
  margin-top: 18px;
  padding: 0 22px;
}

.secondary-action {
  margin-left: 10px;
  background: #fff;
  color: var(--teal);
  border: 1px solid var(--teal);
}

.cart-checkout-form {
  margin: 0;
}

.virtual-pos-layout {
  display: grid;
  grid-template-columns: minmax(580px, 2.00fr) minmax(260px, 1fr);
  gap: 24px;
  align-items: start;
}

.virtual-pos-summary,
.virtual-pos-form {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 10px 26px rgb(0 0 0 / 7%);
}

.virtual-pos-summary {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.virtual-pos-bank {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #222428;
  font-size: 18px;
  font-weight: 800;
}

.virtual-pos-bank i {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
}

.virtual-pos-total {
  display: grid;
  gap: 8px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.virtual-pos-total span,
.virtual-pos-meta dt,
.virtual-pos-items span {
  color: #686b72;
  font-size: 13px;
  font-weight: 700;
}

.virtual-pos-total strong {
  color: var(--teal);
  font-size: 34px;
  line-height: 1;
}

.virtual-pos-meta {
  display: grid;
  gap: 12px;
  margin: 0;
}

.virtual-pos-meta div,
.virtual-pos-items div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.virtual-pos-meta dd {
  margin: 0;
  color: #222428;
  font-size: 14px;
  font-weight: 800;
  text-align: right;
}

.virtual-pos-items {
  display: grid;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.virtual-pos-items strong {
  color: #222428;
  font-size: 14px;
  white-space: nowrap;
}

.virtual-card-preview {
  display: grid;
  gap: 18px;
  min-height: 166px;
  padding: 22px;
  border-radius: 7px;
  background: #263238;
  color: #fff;
}

.virtual-card-chip {
  width: 48px;
  height: 34px;
  border-radius: 6px;
  background: #d8b65f;
}

.virtual-card-preview span {
  align-self: end;
  font-size: 22px;
  font-weight: 800;
}

.virtual-card-preview strong {
  color: #eef4f5;
  font-size: 13px;
  text-transform: uppercase;
}

.virtual-pos-card-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 10px;
}

.virtual-pos-actions {
  grid-template-columns: 1fr;
}

.auth-layout {
  display: grid;
  justify-items: center;
}

.auth-layout .donation-detail-form {
  width: min(520px, 100%);
}

.auth-actions-full {
  grid-template-columns: 1fr;
}

.checkbox-line {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #55575d;
  font-size: 15px;
}

.checkbox-line input {
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
}

.service-grid-secondary {
  row-gap: 35px;
}

.site-footer {
  background: var(--dark);
  color: var(--footer-text);
  font-size: 16px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr .9fr 1.45fr;
  gap: 96px;
  padding: 48px 0 58px;
}

.footer-brand img {
  display: block;
  width: 280px;
  height: auto;
  object-fit: cover;
  filter: grayscale(1);
  opacity: .92;
}

.socials {
  display: flex;
  gap: 22px;
  margin-top: 22px;
  color: #d6d7da;
  font-weight: 700;
}

.socials a {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: .85;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 12px;
}

.footer-copy {
  line-height: 1.75;
}

.footer-copy h2 {
  margin: 8px 0 7px;
  color: #d0d2d6;
  font-size: 18px;
}

.footer-copy p {
  margin: 0;
}

.footer-copy u {
  color: #d7d8dc;
  font-weight: 700;
  text-underline-offset: 2px;
}

.bank-lines {
  border-top: 1px solid #515258;
  border-bottom: 1px solid #515258;
  padding: 19px 0 21px;
  text-align: center;
  color: #9b9da3;
  line-height: 1.45;
}

.bank-lines p {
  margin: 1px 0;
}

.bank-lines strong {
  color: var(--teal);
}

.copyright {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #b8bac0;
  font-size: 14px;
}

@media (max-width: 1220px) {
  .header-inner {
    gap: 18px;
  }

  .brand img {
    width: 210px;
  }

  .main-nav {
    gap: 9px;
    font-size: 12px;
  }

  .nav-link {
    gap: 5px;
  }

  .header-actions {
    gap: 12px;
  }

  .donate-btn {
    min-width: 112px;
  }

  .service-grid {
    column-gap: 22px;
  }

  .service-item {
    grid-template-columns: 76px 15px minmax(0, 1fr);
  }

  .service-icon {
    width: 66px;
    height: 66px;
  }

  .service-icon i {
    font-size: 32px;
  }

  .service-item span:last-child {
    font-size: 21px;
  }

  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .donation-header-inner {
    grid-template-columns: 220px minmax(0, 1fr) auto;
    gap: 18px;
  }

  .donation-brand img {
    width: 220px;
  }

  .donation-main-nav {
    gap: 16px;
    font-size: 12px;
  }

  .donation-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .donation-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .donation-detail-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
  }

  .detail-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .detail-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .topbar-inner,
  .header-inner,
  .container {
    width: min(100% - 32px, var(--container));
  }

  .brand img {
    width: 245px;
  }

  .header-inner {
    height: auto;
    min-height: 86px;
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .menu-toggle {
    display: inline-block;
    margin-left: auto;
  }

  .main-nav {
    order: 4;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 8px 0 14px;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav .nav-item,
  .main-nav .nav-link {
    width: 100%;
  }

  .main-nav .nav-link {
    min-height: 40px;
    justify-content: space-between;
    padding: 0;
  }

  .main-nav .submenu {
    position: static;
    display: none;
    width: 100%;
    min-width: 0;
    margin: 0 0 6px;
    padding: 6px 0;
    border-radius: 5px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .main-nav .submenu::before {
    display: none;
  }

  .main-nav .has-dropdown:hover .submenu {
    display: none;
  }

  .main-nav .has-dropdown.is-open .submenu,
  .main-nav .has-dropdown:focus-within .submenu {
    display: block;
    transform: none;
  }

  .main-nav .submenu a {
    padding: 9px 14px;
    white-space: normal;
  }

  .header-actions {
    gap: 12px;
  }

  .service-grid,
  .news-grid,
  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-grid {
    justify-content: stretch;
  }

  .footer-top {
    gap: 34px;
  }

  .donation-header-inner {
    grid-template-columns: 1fr auto auto;
    min-height: 88px;
    padding: 10px 0;
  }

  .donation-menu-toggle {
    display: inline-grid;
    grid-column: 2;
    grid-row: 1;
  }

  .donation-main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 6px;
    margin-top: 6px;
    padding: 12px 0 10px;
    border-top: 1px solid var(--line);
    overflow: visible;
  }

  .donation-main-nav.is-open {
    display: flex;
  }

  .donation-main-nav > a,
  .donation-nav-item,
  .donation-nav-item > button {
    width: 100%;
  }

  .donation-main-nav > a,
  .donation-nav-item > button {
    min-height: 42px;
    justify-content: space-between;
    border-bottom: 0;
  }

  .donation-nav-item ul {
    position: static;
    display: none;
    width: 100%;
    min-width: 0;
    margin: 0 0 6px;
    padding: 6px 0;
    border-radius: 5px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .donation-nav-item ul::before {
    display: none;
  }

  .donation-nav-item:hover ul {
    display: none;
  }

  .donation-nav-item.is-open ul {
    display: block;
    transform: none;
  }

  .donation-nav-item li a {
    padding: 9px 14px;
    white-space: normal;
  }

  .donation-nav-item li button {
    padding: 9px 14px;
    white-space: normal;
  }

  .donation-user-icon-link,
  .donation-user-menu > button {
    width: 100%;
    border-radius: 5px;
    justify-content: space-between;
  }

  .donation-user-menu > button > i:last-child {
    position: static;
  }

  .donation-cart-link {
    grid-column: 3;
    grid-row: 1;
  }

  .profile-layout {
    grid-template-columns: 1fr;
  }

  .profile-form,
  .profile-panel {
    width: 100%;
  }

  .donation-hero-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .donation-layout {
    grid-template-columns: 1fr;
  }

  .donation-detail-layout {
    grid-template-columns: 1fr;
  }

  .virtual-pos-layout {
    grid-template-columns: 1fr;
  }

  .donation-detail-aside {
    order: -1;
    position: static;
  }

  .donation-footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .topbar {
    height: auto;
    padding: 9px 0;
  }

  .topbar-inner {
    align-items: flex-start;
    gap: 16px;
  }

  .top-links {
    gap: 22px;
  }

  .site-header {
    border-bottom: 0;
  }

  .header-inner {
    width: 100%;
    min-height: 0;
    gap: 0;
    padding: 18px 15px 22px;
  }

  .brand {
    order: 1;
    flex: 1 1 auto;
  }

  .brand img {
    width: 214px;
    height: auto;
  }

  .header-actions {
    order: 2;
    display: contents;
  }

  .search-btn {
    order: 2;
    width: 38px;
    height: 38px;
    margin: 0 10px 0 auto;
  }

  .search-btn i {
    font-size: 21px;
  }

  .menu-toggle {
    order: 3;
    width: 36px;
    height: 38px;
    margin-left: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .menu-toggle i {
    font-size: 27px;
  }

  .donate-wrap {
    order: 4;
    width: 100%;
    margin-top: 23px;
  }

  .donate-btn {
    width: 100%;
    min-width: 0;
    height: 49px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 800;
  }

  .donate-menu {
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    width: 100%;
    min-width: 0;
  }

  .main-nav {
    order: 5;
    padding-top: 16px;
  }

  .search-panel {
    right: 15px;
    bottom: auto;
    top: 78px;
    width: calc(100% - 30px);
  }

  .hero {
    padding-top: 14px;
  }

  .slider-dots {
    height: 46px;
  }

  .service-strip {
    padding-bottom: 36px;
  }

  .service-grid,
  .news-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .service-grid {
    row-gap: 22px;
  }

  .service-item {
    grid-template-columns: 78px 17px minmax(0, 1fr);
  }

  .service-icon {
    width: 66px;
    height: 66px;
  }

  .service-icon i {
    font-size: 31px;
  }

  .service-item span:last-child {
    font-size: 22px;
  }

  .news-band {
    padding: 34px 0;
  }

  .quick-links {
    padding: 32px 0 46px;
  }

  .page-hero {
    padding: 31px 0 28px;
  }

  .breadcrumbs {
    flex-wrap: wrap;
  }

  .listing-section {
    padding: 36px 0 56px;
  }

  .listing-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 22px;
  }

  .listing-head p {
    font-size: 16px;
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  .article-body {
    padding: 20px;
  }

  .article-body h2 {
    font-size: 20px;
  }

  .detail-hero {
    padding: 31px 0 30px;
  }

  .detail-section {
    padding: 36px 0 56px;
  }

  .detail-layout {
    gap: 32px;
  }

  .lead-quote {
    margin: 25px 0 24px;
    padding: 18px 20px;
    font-size: 18px;
  }

  .detail-content {
    font-size: 16px;
    line-height: 1.7;
  }

  .detail-content h2 {
    margin-top: 30px;
    font-size: 23px;
  }

  .donation-actions {
    flex-direction: column;
  }

  .donation-action {
    width: 100%;
  }

  .detail-sidebar {
    grid-template-columns: 1fr;
  }

  .side-panel {
    padding: 20px;
  }

  .pagination {
    justify-content: flex-start;
    margin-top: 34px;
  }

  .pagination a {
    width: 38px;
    height: 38px;
  }

  .footer-top {
    padding-top: 40px;
  }

  .donation-topbar-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 9px 0;
  }

  .donation-quick-links {
    gap: 18px;
  }

  .donation-header-inner {
    grid-template-columns: 1fr auto auto;
    gap: 12px;
  }

  .donation-brand img {
    width: 214px;
  }

  .donation-cart-link {
    min-width: 58px;
    height: 38px;
  }

  .donation-main-nav {
    gap: 18px;
    font-size: 12px;
  }

  .donation-hero {
    padding: 31px 0 30px;
  }

  .donation-hero p {
    font-size: 16px;
  }

  .donation-trust {
    grid-template-columns: 36px minmax(0, 1fr);
    padding: 15px;
  }

  .donation-trust i {
    width: 36px;
    height: 36px;
  }

  .donation-workspace {
    padding: 28px 0 52px;
  }

  .donation-detail-section {
    padding: 32px 0 54px;
  }

  .donation-detail-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .donation-detail-thumbs button {
    width: 100%;
  }

  .donation-detail-content {
    margin-top: 26px;
    font-size: 16px;
    line-height: 1.7;
  }

  .donation-detail-lead {
    padding: 18px 20px;
    font-size: 18px;
  }

  .donation-detail-content h2 {
    font-size: 23px;
  }

  .donation-detail-form {
    padding: 20px;
  }

  .donation-detail-actions {
    grid-template-columns: 1fr;
  }

  .cart-panel {
    padding: 18px;
  }

  .checkout-row.cart-row {
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: stretch;
    padding: 14px 0;
  }

  .cart-row > div {
    min-width: 0;
  }

  .cart-row strong {
    overflow-wrap: anywhere;
  }

  .cart-line-form {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(72px, 96px) minmax(0, 1fr);
    gap: 8px;
  }

  .cart-line-form input,
  .cart-line-form button {
    width: 100%;
    min-width: 0;
  }

  .cart-line-form:last-child {
    grid-template-columns: 1fr;
  }

  .cart-total {
    gap: 12px;
    align-items: flex-start;
  }

  .cart-total strong {
    text-align: right;
  }

  .cart-checkout-form .checkout-button {
    width: 100%;
    min-width: 0;
    margin-top: 8px;
  }

  .empty-cart {
    padding: 30px 16px;
  }

  .checkout-row.donation-history-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .checkout-row.donation-history-row > span:not(.donation-detail-toggle) {
    grid-column: 1;
  }

  .donation-detail-toggle {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }

  .donation-history-details dl {
    grid-template-columns: 1fr;
  }

  .virtual-pos-card-row {
    grid-template-columns: 1fr;
  }

  .virtual-card-preview span {
    font-size: 18px;
  }

  .donation-tabs {
    gap: 8px;
  }

  .donation-tabs button {
    min-height: 54px;
    gap: 7px;
    font-size: 14px;
  }

  .donation-grid {
    grid-template-columns: 1fr;
  }

  .donation-section-title h2 {
    font-size: 24px;
  }

  .donation-card h3 {
    min-height: 0;
  }

  .donor-actions {
    grid-template-columns: 1fr;
  }

  .donation-footer-inner {
    padding: 36px 0;
  }

  .bank-lines {
    text-align: left;
  }

  .copyright {
    height: auto;
    min-height: 70px;
    flex-wrap: wrap;
    text-align: center;
  }
}
