/**
 * WEB ARCHI
 *
 * Homepage additional sections.
 *
 * This file extends the existing home.css.
 * It does not replace the established Home foundation.
 */

/* =========================================================
   ABOUT THE PROGRAM
========================================================= */

.wa-home-about {
  padding: 96px 0;
  background: #ffffff;
}

.wa-home-about-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 0.9fr)
    minmax(0, 1.1fr);
  gap: 72px;
  align-items: center;
}

.wa-home-about-content {
  min-width: 0;
}

.wa-home-about-content .wa-home-section-title {
  max-width: 620px;
}

.wa-home-about-content .wa-home-section-text {
  max-width: 580px;
  margin-bottom: 30px;
}

.wa-home-about-visual {
  min-width: 0;
}

.wa-home-about-image {
  margin: 0;
  overflow: hidden;
  background: #eef2f0;
}

.wa-home-about-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.wa-home-about-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid #dfe5e2;
  border-top: 0;
  background: #ffffff;
}

.wa-home-fact {
  min-width: 0;
  padding: 20px 16px;
  border-right: 1px solid #dfe5e2;
}

.wa-home-fact svg {
  display: block;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
}

.wa-home-fact:last-child {
  border-right: 0;
}

.wa-home-fact strong {
  display: block;
  color: #16201d;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 700;
}

.wa-home-fact span {
  display: block;
  margin-top: 5px;
  color: #68736f;
  font-size: 11px;
  line-height: 1.35;
}

/* =========================================================
   LATEST NEWS
========================================================= */

.wa-home-news {
  padding: 72px 0 96px;
  background: var(--wa-color-white);
}

.wa-home-news-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.wa-home-news-heading .wa-home-section-label {
  margin-bottom: 0;
}

.wa-home-news-view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  color: var(--wa-color-primary);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
  text-decoration: none;
}

.wa-home-news-view-all span {
  font-size: 18px;
  line-height: 1;
  transition: transform 160ms ease;
}

.wa-home-news-view-all:hover span,
.wa-home-news-view-all:focus-visible span {
  transform: translateX(4px);
}

/* News grid */

.wa-home-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

/* News card */

.wa-home-news-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;

  border: 1px solid #e2e8e5;
  background: var(--wa-color-white);

  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.wa-home-news-card:hover {
  border-color: var(--wa-color-accent);
  box-shadow: 0 8px 22px rgba(0, 107, 80, 0.08);
  transform: translateY(-3px);
}

/* Image */

.wa-home-news-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--wa-color-mint);
}

.wa-home-news-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 250ms ease;
}

.wa-home-news-card:hover .wa-home-news-image img {
  transform: scale(1.04);
}

.wa-home-news-image-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--wa-color-sky);
}

/* Content */

.wa-home-news-content {
  flex: 1;
  min-width: 0;
  padding: 16px 16px 8px;
}

.wa-home-news-date {
  display: block;
  margin-bottom: 9px;
  color: var(--wa-color-text-muted);
  font-size: 12px;
  line-height: 1.4;
}

.wa-home-news-title {
  margin: 0;
  color: var(--wa-color-text);
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
}

.wa-home-news-title a {
  color: inherit;
  text-decoration: none;
}

.wa-home-news-title a:hover,
.wa-home-news-title a:focus-visible {
  color: var(--wa-color-primary);
}

/* Read more link */

.wa-home-news-arrow {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin: 0 16px 16px;

  color: var(--wa-color-primary);
  font-size: 0;
  line-height: 1.4;
  font-weight: 600;
  text-decoration: none;

  transition: color 160ms ease;
}

.wa-home-news-arrow::before {
  content: "Read More →";
  font-size: 14px;
}

:lang(id) .wa-home-news-arrow::before {
  content: "Baca Selengkapnya →";
}

.wa-home-news-arrow:hover,
.wa-home-news-arrow:focus-visible {
  color: var(--wa-color-accent);
}

.wa-home-news-empty {
  padding: 32px;
  border: 1px solid var(--wa-color-mint);
  color: var(--wa-color-text-muted);
  text-align: center;
}

/* =========================================================
   LATEST NEWS — RESPONSIVE
========================================================= */

@media (max-width: 1100px) {
  .wa-home-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 820px) {
  .wa-home-news {
    padding: 56px 0 72px;
  }

  .wa-home-news-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .wa-home-news-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .wa-home-news-title {
    font-size: 16px;
    line-height: 1.4;
  }

  .wa-home-news-content {
    padding: 14px 14px 8px;
  }

  .wa-home-news-arrow {
    margin: 0 14px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-home-news-card,
  .wa-home-news-image img,
  .wa-home-news-arrow,
  .wa-home-news-view-all span {
    transition: none;
  }

  .wa-home-news-card:hover {
    transform: none;
  }
}

/* =========================================================
   QUICK ACCESS — REFERENCE-MATCHED SOFT GRADIENT CARDS
   Markup and dynamic WordPress content remain unchanged.
========================================================= */

.wa-home-quick-access {
  padding: 88px 0;
  background: var(--wa-color-surface);
}

.wa-home-quick-access .wa-home-section-heading {
  margin-bottom: 32px;
}

.wa-home-quick-access .wa-home-section-label {
  text-transform: uppercase !important;
}

.wa-home-access-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.wa-home-access-card {
  position: relative;
  isolation: isolate;
  display: block;
  overflow: hidden;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 1.62 / 1;
  box-sizing: border-box;
  padding: 102px 40px 62px;
  border: 0;
  border-radius: 0;
  text-decoration: none;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

/* Base colors */
.wa-home-access-card--forest {
  background: linear-gradient(145deg, #005b46 0%, #006b50 58%, #007d5b 100%);
  color: #ffffff;
}

.wa-home-access-card--sage {
  background: linear-gradient(145deg, #f0faf3 0%, #ddf2e5 55%, #d4f3e1 100%);
  color: #17251f;
}

.wa-home-access-card--beige {
  background: linear-gradient(145deg, #edf7fb 0%, #e8f2f7 55%, #dff1f8 100%);
  color: #17251f;
}

/*
 * Soft flowing color fields.
 * The wave is created by overlapping blurred gradients:
 * no visible line, stroke, SVG pattern or raster image.
 */
.wa-home-access-card::before,
.wa-home-access-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -22%;
  pointer-events: none;
  border-radius: 0;
  transition:
    transform 420ms ease,
    opacity 320ms ease;
}

/* Forest: deep emerald flowing into vivid jade at the lower edge. */
.wa-home-access-card--forest::before {
  opacity: 1;
  filter: blur(18px);
  background:
    radial-gradient(ellipse 72% 54% at 88% 86%, rgba(30, 190, 131, 0.94) 0%, rgba(18, 157, 111, 0.72) 42%, rgba(18, 157, 111, 0) 76%), radial-gradient(ellipse 72% 44% at 10% 112%, rgba(0, 169, 119, 0.88) 0%, rgba(0, 169, 119, 0) 74%),
    linear-gradient(151deg, rgba(0, 67, 52, 0) 35%, rgba(0, 125, 91, 0.08) 49%, rgba(30, 196, 137, 0.44) 68%, rgba(0, 107, 80, 0) 88%);
}

.wa-home-access-card--forest::after {
  inset: 18% -28% -48% -24%;
  opacity: 0.7;
  filter: blur(28px);
  background: radial-gradient(ellipse 70% 44% at 50% 100%, rgba(70, 221, 158, 0.58) 0%, rgba(70, 221, 158, 0.2) 48%, rgba(70, 221, 158, 0) 82%);
}

/* Sage: bright mint with a broad, low-contrast green wave. */
.wa-home-access-card--sage::before {
  opacity: 1;
  filter: blur(20px);
  background:
    radial-gradient(ellipse 82% 58% at 88% 88%, rgba(111, 231, 177, 0.68) 0%, rgba(111, 231, 177, 0.34) 46%, rgba(111, 231, 177, 0) 80%), radial-gradient(ellipse 76% 46% at 8% 112%, rgba(184, 244, 211, 0.84) 0%, rgba(184, 244, 211, 0) 78%),
    linear-gradient(151deg, rgba(255, 255, 255, 0.22) 8%, rgba(255, 255, 255, 0) 42%, rgba(75, 203, 148, 0.2) 68%, rgba(75, 203, 148, 0) 91%);
}

.wa-home-access-card--sage::after {
  inset: 18% -28% -48% -24%;
  opacity: 0.56;
  filter: blur(30px);
  background: radial-gradient(ellipse 72% 42% at 50% 100%, rgba(127, 232, 180, 0.5) 0%, rgba(127, 232, 180, 0) 82%);
}

/* Sky: pale blue blending into a brighter cyan lower wave. */
.wa-home-access-card--beige::before {
  opacity: 1;
  filter: blur(20px);
  background:
    radial-gradient(ellipse 82% 58% at 88% 88%, rgba(91, 197, 238, 0.72) 0%, rgba(91, 197, 238, 0.36) 45%, rgba(91, 197, 238, 0) 80%), radial-gradient(ellipse 76% 46% at 8% 112%, rgba(159, 226, 247, 0.84) 0%, rgba(159, 226, 247, 0) 78%),
    linear-gradient(151deg, rgba(255, 255, 255, 0.24) 8%, rgba(255, 255, 255, 0) 43%, rgba(68, 181, 228, 0.24) 70%, rgba(68, 181, 228, 0) 92%);
}

.wa-home-access-card--beige::after {
  inset: 18% -28% -48% -24%;
  opacity: 0.58;
  filter: blur(30px);
  background: radial-gradient(ellipse 72% 42% at 50% 100%, rgba(100, 213, 242, 0.52) 0%, rgba(100, 213, 242, 0) 82%);
}

/* Different wave direction and focal point for each card. */
.wa-home-access-card:nth-child(2)::before {
  transform: translate3d(-5%, 2%, 0) rotate(-8deg);
}

.wa-home-access-card:nth-child(3)::before {
  transform: translate3d(5%, 2%, 0) rotate(8deg);
}

.wa-home-access-card:nth-child(4)::before {
  transform: translate3d(-3%, -4%, 0) rotate(8deg);
}

.wa-home-access-card:nth-child(5)::before {
  transform: translate3d(4%, -2%, 0) rotate(-8deg);
}

.wa-home-access-card:nth-child(6)::before {
  transform: translate3d(3%, 4%, 0) rotate(7deg);
}

/* The top wrapper becomes layout-neutral so icon and arrow
   can be positioned independently against the card. */
.wa-home-access-top {
  display: contents;
}

.wa-home-access-icon {
  position: absolute;
  z-index: 2;
  top: 27px;
  left: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
}

.wa-home-access-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Reference layout: vertical divider and #number beside icon. */
.wa-home-access-number {
  position: absolute;
  z-index: 2;
  top: 32px;
  left: 120px;
  display: flex;
  align-items: center;
  min-height: 46px;
  margin: 0;
  padding: 0 0 0 18px;
  border-left: 2px solid currentColor;
  color: var(--wa-color-accent);
  font-size: 30px;
  line-height: 1;
  font-weight: 750;
  letter-spacing: -0.025em;
  opacity: 1;
}

.wa-home-access-number::before {
  content: "#";
  margin-right: 1px;
}

/* Arrow becomes a square-cornered action button at bottom-right. */
.wa-home-access-arrow {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 52px;
  margin: 0;
  background: var(--wa-color-primary);
  color: #ffffff;
  font-size: 0;
  line-height: 1;
  transition:
    background-color 180ms ease,
    color 180ms ease;
}

.wa-home-access-arrow::before {
  content: "→";
  font-size: 34px;
  line-height: 1;
  font-weight: 400;
}

.wa-home-access-card--forest .wa-home-access-arrow {
  background: #ffffff;
  color: var(--wa-color-primary);
}

/* Main text hierarchy and spacing match the supplied reference. */
.wa-home-access-title {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 100%;
  margin: 0;
  color: currentColor;
  font-size: 30px;
  line-height: 1.08;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: -0.015em;
}

.wa-home-access-description {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 365px;
  margin-top: 18px;
  padding-right: 28px;
  color: currentColor;
  font-size: 19px;
  line-height: 1.36;
  font-weight: 400;
  opacity: 0.96;
}

/* Hover: preserve the soft gradient; move only the card subtly. */
.wa-home-access-card:hover,
.wa-home-access-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(0, 67, 52, 0.1);
}

.wa-home-access-card:hover::before,
.wa-home-access-card:focus-visible::before {
  transform: translate3d(2%, -2%, 0) scale(1.035);
}

.wa-home-access-card:hover::after,
.wa-home-access-card:focus-visible::after {
  transform: translate3d(-2%, -2%, 0) scale(1.04);
}

.wa-home-access-card:focus-visible {
  outline: 3px solid var(--wa-color-primary);
  outline-offset: 4px;
}

/* Tablet: retain the composition, scale the card typography. */
@media (max-width: 1100px) {
  .wa-home-access-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .wa-home-access-card {
    padding: 94px 30px 58px;
  }

  .wa-home-access-icon {
    top: 24px;
    left: 30px;
    width: 54px;
    height: 54px;
  }

  .wa-home-access-number {
    top: 27px;
    left: 104px;
    min-height: 42px;
    padding-left: 15px;
    font-size: 27px;
  }

  .wa-home-access-title {
    font-size: 26px;
  }

  .wa-home-access-description {
    margin-top: 14px;
    font-size: 17px;
  }

  .wa-home-access-arrow {
    right: 20px;
    bottom: 22px;
    width: 56px;
    height: 48px;
  }
}

/* Mobile: stack cards and retain icon/number pairing. */
@media (max-width: 640px) {
  .wa-home-quick-access {
    padding: 56px 0;
  }

  .wa-home-access-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .wa-home-access-card {
    aspect-ratio: auto;
    min-height: 250px;
    padding: 92px 24px 66px;
  }

  .wa-home-access-icon {
    top: 22px;
    left: 24px;
    width: 52px;
    height: 52px;
  }

  .wa-home-access-number {
    top: 25px;
    left: 91px;
    min-height: 42px;
    padding-left: 14px;
    font-size: 26px;
  }

  .wa-home-access-title {
    font-size: 25px;
    line-height: 1.1;
  }

  .wa-home-access-description {
    max-width: 340px;
    margin-top: 13px;
    padding-right: 12px;
    font-size: 16px;
    line-height: 1.4;
  }

  .wa-home-access-arrow {
    right: 18px;
    bottom: 18px;
    width: 52px;
    height: 46px;
  }

  .wa-home-access-arrow::before {
    font-size: 30px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .wa-home-access-card,
  .wa-home-access-card::before,
  .wa-home-access-card::after,
  .wa-home-access-arrow {
    transition: none;
  }

  .wa-home-access-card:hover,
  .wa-home-access-card:focus-visible {
    transform: none;
  }
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {
  .wa-home-access-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wa-home-about-grid {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(0, 1fr);
    gap: 40px;
  }
}

/* =========================================================
   MOBILE — TWO COLUMNS
========================================================= */

@media (max-width: 820px) {
  .wa-home-quick-access {
    padding: 64px 0;
  }

  .wa-home-access-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .wa-home-access-card {
    min-height: 170px;
    padding: 18px;
  }

  .wa-home-access-top {
    margin-bottom: 12px;
  }

  .wa-home-access-icon {
    width: 36px;
    height: 36px;
  }

  .wa-home-access-arrow {
    font-size: 23px;
  }

  .wa-home-access-title {
    font-size: 16px;
  }

  .wa-home-access-description {
    font-size: 12px;
    line-height: 1.35;
  }

  .wa-home-about {
    padding: 72px 0;
  }

  .wa-home-about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .wa-home-about-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wa-home-fact:nth-child(2) {
    border-right: 0;
  }

  .wa-home-fact:nth-child(-n + 2) {
    border-bottom: 1px solid #dfe5e2;
  }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {
  .wa-home-access-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .wa-home-access-card {
    min-height: 160px;
    padding: 14px;
  }

  .wa-home-access-top {
    margin-bottom: 10px;
  }

  .wa-home-access-icon {
    width: 30px;
    height: 30px;
  }

  .wa-home-access-arrow {
    font-size: 20px;
  }

  .wa-home-access-number {
    font-size: 9px;
  }

  .wa-home-access-title {
    font-size: 14px;
    line-height: 1.25;
  }

  .wa-home-access-description {
    font-size: 11px;
    line-height: 1.35;
  }

  .wa-home-about-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wa-home-fact {
    padding: 16px 12px;
    border-right: 1px solid #dfe5e2;
    border-bottom: 1px solid #dfe5e2;
  }

  .wa-home-fact:nth-child(even) {
    border-right: 0;
  }

  .wa-home-fact:nth-child(3),
  .wa-home-fact:nth-child(4) {
    border-bottom: 0;
  }
}

/* =========================================================
   ACCESSIBILITY — REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .wa-home-access-card,
  .wa-home-access-arrow {
    transition: none;
  }

  .wa-home-access-card:hover {
    transform: none;
  }
}

/* =========================================================
   QUICK ACCESS — PROPORTION & WAVE REFINEMENT (V2)
   - Match the supplied reference more closely
   - No card-level hover movement or shadow
   - Hover feedback only on the arrow tile
========================================================= */

/* Card proportions and content safe area */
.wa-home-quick-access .wa-home-access-card {
  aspect-ratio: 1.6 / 1;
  padding: 86px 40px 58px;
  transform: none !important;
  box-shadow: none !important;
}

/* Refined wave: broad curved color field with a soft edge,
   not a flat diagonal wash and not a visible outline. */
.wa-home-quick-access .wa-home-access-card--forest {
  background: #006b50;
}

.wa-home-quick-access .wa-home-access-card--forest::before {
  inset: -8% -18% -34% -22%;
  opacity: 1;
  filter: blur(7px);
  background:
    radial-gradient(ellipse 118% 82% at 98% 112%, rgba(29, 194, 133, 0.96) 0%, rgba(13, 164, 116, 0.86) 39%, rgba(0, 137, 98, 0.34) 63%, rgba(0, 107, 80, 0) 82%),
    radial-gradient(ellipse 64% 45% at 16% 112%, rgba(0, 160, 112, 0.7) 0%, rgba(0, 160, 112, 0) 78%);
}

.wa-home-quick-access .wa-home-access-card--forest::after {
  inset: 22% -25% -52% -30%;
  opacity: 0.58;
  filter: blur(20px);
  background: radial-gradient(ellipse 95% 54% at 54% 105%, rgba(76, 220, 158, 0.44) 0%, rgba(76, 220, 158, 0.12) 52%, rgba(76, 220, 158, 0) 80%);
}

/* Mint wave: a light upper field and a fresh green curved
   sweep rising gently toward the right edge. */
.wa-home-quick-access .wa-home-access-card--sage {
  background: #ddf2e5;
}

.wa-home-quick-access .wa-home-access-card--sage::before {
  inset: -8% -18% -34% -22%;
  opacity: 1;
  filter: blur(8px);
  background:
    radial-gradient(ellipse 122% 84% at 100% 112%, rgba(139, 235, 183, 0.84) 0%, rgba(117, 224, 168, 0.64) 40%, rgba(117, 224, 168, 0.24) 63%, rgba(117, 224, 168, 0) 82%),
    radial-gradient(ellipse 76% 50% at 8% 112%, rgba(201, 246, 220, 0.88) 0%, rgba(201, 246, 220, 0) 80%);
}

.wa-home-quick-access .wa-home-access-card--sage::after {
  inset: 22% -25% -52% -30%;
  opacity: 0.42;
  filter: blur(22px);
  background: radial-gradient(ellipse 95% 54% at 54% 105%, rgba(108, 225, 163, 0.38) 0%, rgba(108, 225, 163, 0.1) 52%, rgba(108, 225, 163, 0) 80%);
}

/* Blue wave: same visual weight, cyan-tinted lower curve. */
.wa-home-quick-access .wa-home-access-card--beige {
  background: #e8f2f7;
}

.wa-home-quick-access .wa-home-access-card--beige::before {
  inset: -8% -18% -34% -22%;
  opacity: 1;
  filter: blur(8px);
  background:
    radial-gradient(ellipse 122% 84% at 100% 112%, rgba(111, 211, 241, 0.9) 0%, rgba(87, 194, 232, 0.68) 40%, rgba(87, 194, 232, 0.26) 63%, rgba(87, 194, 232, 0) 82%),
    radial-gradient(ellipse 76% 50% at 8% 112%, rgba(190, 235, 249, 0.88) 0%, rgba(190, 235, 249, 0) 80%);
}

.wa-home-quick-access .wa-home-access-card--beige::after {
  inset: 22% -25% -52% -30%;
  opacity: 0.44;
  filter: blur(22px);
  background: radial-gradient(ellipse 95% 54% at 54% 105%, rgba(91, 202, 238, 0.42) 0%, rgba(91, 202, 238, 0.1) 52%, rgba(91, 202, 238, 0) 80%);
}

/* Icon and number pair: compact, aligned and proportional. */
.wa-home-quick-access .wa-home-access-icon {
  top: 27px;
  left: 26px;
  width: 60px;
  height: 60px;
}

.wa-home-quick-access .wa-home-access-number {
  top: 31px;
  left: 102px;
  min-height: 46px;
  padding-left: 17px;
  border-left-width: 2px;
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
}

/* Title starts higher, matching the reference's vertical rhythm. */
.wa-home-quick-access .wa-home-access-title {
  margin-top: 0;
  font-size: 28px;
  line-height: 1.08;
  font-weight: 750;
  letter-spacing: -0.018em;
}

/* Keep descriptions clear of the bottom-right arrow tile. */
.wa-home-quick-access .wa-home-access-description {
  max-width: 330px;
  margin-top: 17px;
  padding-right: 88px;
  font-size: 18px;
  line-height: 1.38;
  font-weight: 400;
}

/* Arrow tile: fixed geometry, with all hover feedback confined
   to this tile. No card movement, shadow or gradient animation. */
.wa-home-quick-access .wa-home-access-arrow {
  right: 24px;
  bottom: 27px;
  width: 62px;
  height: 52px;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-sizing: border-box;
  background: #006b50;
  color: #ffffff;
  transform: none !important;
  box-shadow: none;
  transition:
    background-color 180ms ease,
    color 180ms ease;
}

.wa-home-quick-access .wa-home-access-arrow::before {
  font-size: 32px;
  line-height: 1;
}

.wa-home-quick-access .wa-home-access-card--forest .wa-home-access-arrow {
  background: #ffffff;
  color: #009572;
}

/* Disable all card-level hover effects. */
.wa-home-quick-access .wa-home-access-card:hover,
.wa-home-quick-access .wa-home-access-card:focus-visible {
  transform: none !important;
  box-shadow: none !important;
}

.wa-home-quick-access .wa-home-access-card:hover::before,
.wa-home-quick-access .wa-home-access-card:hover::after,
.wa-home-quick-access .wa-home-access-card:focus-visible::before,
.wa-home-quick-access .wa-home-access-card:focus-visible::after {
  transform: none !important;
  opacity: inherit;
}

/* Only the arrow tile changes on hover/focus. */
.wa-home-quick-access .wa-home-access-card:hover .wa-home-access-arrow,
.wa-home-quick-access .wa-home-access-card:focus-visible .wa-home-access-arrow {
  background: #00a878;
  color: #ffffff;
  transform: none !important;
}

.wa-home-quick-access .wa-home-access-card--forest:hover .wa-home-access-arrow,
.wa-home-quick-access .wa-home-access-card--forest:focus-visible .wa-home-access-arrow {
  background: #00a878;
  color: #ffffff;
}

/* Tablet: keep the icon/number relationship and readable text. */
@media (max-width: 1100px) {
  .wa-home-quick-access .wa-home-access-card {
    aspect-ratio: 1.58 / 1;
    padding: 88px 30px 58px;
  }

  .wa-home-quick-access .wa-home-access-icon {
    top: 23px;
    left: 24px;
    width: 54px;
    height: 54px;
  }

  .wa-home-quick-access .wa-home-access-number {
    top: 26px;
    left: 91px;
    min-height: 42px;
    padding-left: 14px;
    font-size: 26px;
  }

  .wa-home-quick-access .wa-home-access-title {
    font-size: 25px;
  }

  .wa-home-quick-access .wa-home-access-description {
    max-width: 300px;
    margin-top: 14px;
    padding-right: 76px;
    font-size: 16px;
  }

  .wa-home-quick-access .wa-home-access-arrow {
    right: 18px;
    bottom: 20px;
    width: 54px;
    height: 46px;
  }
}

/* Mobile: single column; avoid forcing the desktop aspect ratio. */
@media (max-width: 640px) {
  .wa-home-quick-access .wa-home-access-card {
    aspect-ratio: auto;
    min-height: 238px;
    padding: 88px 24px 66px;
  }

  .wa-home-quick-access .wa-home-access-icon {
    top: 22px;
    left: 24px;
    width: 50px;
    height: 50px;
  }

  .wa-home-quick-access .wa-home-access-number {
    top: 24px;
    left: 88px;
    min-height: 40px;
    padding-left: 13px;
    font-size: 25px;
  }

  .wa-home-quick-access .wa-home-access-title {
    font-size: 24px;
  }

  .wa-home-quick-access .wa-home-access-description {
    max-width: 100%;
    padding-right: 72px;
    font-size: 16px;
    line-height: 1.4;
  }

  .wa-home-quick-access .wa-home-access-arrow {
    right: 16px;
    bottom: 16px;
    width: 50px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-home-quick-access .wa-home-access-card,
  .wa-home-quick-access .wa-home-access-card::before,
  .wa-home-quick-access .wa-home-access-card::after,
  .wa-home-quick-access .wa-home-access-arrow {
    transition: none;
  }
}

/* =========================================================
   QUICK ACCESS — REFERENCE FINISH (V3)
   Visible soft wave, corrected hierarchy, card hover motion.
========================================================= */

/* Put decorative gradient fields ABOVE the card background
   and BELOW the content. The previous negative z-index hid
   much of the gradient behind the card's own background. */
.wa-home-quick-access .wa-home-access-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--wa-color-text);
  transform-origin: center;
  transition: box-shadow 180ms ease;
}

.wa-home-quick-access .wa-home-access-card::before,
.wa-home-quick-access .wa-home-access-card::after {
  z-index: 0;
  pointer-events: none;
}

/* Keep content legible and above the wave. */
.wa-home-quick-access .wa-home-access-icon,
.wa-home-quick-access .wa-home-access-number,
.wa-home-quick-access .wa-home-access-title,
.wa-home-quick-access .wa-home-access-description,
.wa-home-quick-access .wa-home-access-arrow {
  z-index: 2;
}

/* Exact text contrast for dark green cards, including link states.
   This prevents browser/theme anchor hover colors from tinting
   the icon, heading and description green. */
.wa-home-quick-access .wa-home-access-card--forest,
.wa-home-quick-access .wa-home-access-card--forest:visited,
.wa-home-quick-access .wa-home-access-card--forest:hover,
.wa-home-quick-access .wa-home-access-card--forest:focus,
.wa-home-quick-access .wa-home-access-card--forest:active {
  color: #ffffff;
}

.wa-home-quick-access .wa-home-access-card--forest .wa-home-access-icon,
.wa-home-quick-access .wa-home-access-card--forest .wa-home-access-title,
.wa-home-quick-access .wa-home-access-card--forest .wa-home-access-description {
  color: #ffffff;
}

.wa-home-quick-access .wa-home-access-card--forest .wa-home-access-number {
  color: #00b889;
  border-left-color: #00b889;
}

/* Rebuild the wave as a broad curved color boundary, like the
   reference: rich base color remains visible in the upper-left,
   while the lighter wave rises toward the right and lower edge. */
.wa-home-quick-access .wa-home-access-card--forest::before {
  inset: -8% -12% -22% -10%;
  opacity: 1;
  filter: none;
  background:
    radial-gradient(ellipse 105% 76% at 103% 111%, rgba(34, 194, 137, 0.98) 0%, rgba(22, 177, 125, 0.92) 35%, rgba(12, 151, 108, 0.7) 53%, rgba(0, 107, 80, 0) 76%),
    radial-gradient(ellipse 78% 48% at 2% 115%, rgba(0, 148, 105, 0.88) 0%, rgba(0, 148, 105, 0) 76%);
}

.wa-home-quick-access .wa-home-access-card--forest::after {
  inset: 16% -22% -38% -22%;
  opacity: 0.7;
  filter: blur(16px);
  background: radial-gradient(ellipse 86% 48% at 54% 108%, rgba(67, 216, 157, 0.54) 0%, rgba(67, 216, 157, 0.18) 54%, rgba(67, 216, 157, 0) 82%);
}

/* Mint wave: keep the top-left pale, then let a soft mint-green
   wave sweep up from the lower-left toward the right side. */
.wa-home-quick-access .wa-home-access-card--sage::before {
  inset: -8% -12% -22% -10%;
  opacity: 1;
  filter: none;
  background:
    radial-gradient(ellipse 108% 76% at 103% 111%, rgba(133, 235, 178, 0.94) 0%, rgba(116, 224, 165, 0.82) 36%, rgba(116, 224, 165, 0.48) 54%, rgba(116, 224, 165, 0) 77%),
    radial-gradient(ellipse 78% 48% at 2% 115%, rgba(198, 244, 216, 0.92) 0%, rgba(198, 244, 216, 0) 76%);
}

.wa-home-quick-access .wa-home-access-card--sage::after {
  inset: 16% -22% -38% -22%;
  opacity: 0.62;
  filter: blur(18px);
  background: radial-gradient(ellipse 86% 48% at 54% 108%, rgba(113, 226, 165, 0.48) 0%, rgba(113, 226, 165, 0.12) 54%, rgba(113, 226, 165, 0) 82%);
}

/* Blue wave: same shape and strength, with cyan-blue lower sweep. */
.wa-home-quick-access .wa-home-access-card--beige::before {
  inset: -8% -12% -22% -10%;
  opacity: 1;
  filter: none;
  background:
    radial-gradient(ellipse 108% 76% at 103% 111%, rgba(103, 207, 241, 0.96) 0%, rgba(83, 190, 232, 0.84) 36%, rgba(83, 190, 232, 0.48) 54%, rgba(83, 190, 232, 0) 77%),
    radial-gradient(ellipse 78% 48% at 2% 115%, rgba(184, 231, 248, 0.94) 0%, rgba(184, 231, 248, 0) 76%);
}

.wa-home-quick-access .wa-home-access-card--beige::after {
  inset: 16% -22% -38% -22%;
  opacity: 0.64;
  filter: blur(18px);
  background: radial-gradient(ellipse 86% 48% at 54% 108%, rgba(84, 198, 237, 0.48) 0%, rgba(84, 198, 237, 0.12) 54%, rgba(84, 198, 237, 0) 82%);
}

/* Refine typography to match the reference proportions. */
.wa-home-quick-access .wa-home-access-title {
  font-size: 25px;
  line-height: 1.1;
  font-weight: 750;
  letter-spacing: -0.018em;
  margin-top: 0;
}

.wa-home-quick-access .wa-home-access-description {
  max-width: 100%;
  margin-top: 16px;
  padding-right: 64px;
  font-size: 17px;
  line-height: 1.38;
}

/* Slightly smaller arrow tile; retain the reference's bottom-right
   placement and square corners. */
.wa-home-quick-access .wa-home-access-arrow {
  right: 22px;
  bottom: 22px;
  width: 54px;
  height: 46px;
  border-radius: 0;
  transition:
    background-color 180ms ease,
    color 180ms ease;
}

.wa-home-quick-access .wa-home-access-arrow::before {
  font-size: 29px;
}

/* Card itself gently rocks on hover. Text does not get its own
   hover styling; the complete card is the interaction target. */
@keyframes wa-access-card-wiggle {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-0.45deg);
  }
  50% {
    transform: rotate(0.45deg);
  }
  75% {
    transform: rotate(-0.25deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.wa-home-quick-access .wa-home-access-card:hover {
  animation: wa-access-card-wiggle 420ms ease-in-out;
  box-shadow: 0 8px 20px rgba(0, 67, 52, 0.08);
}

.wa-home-quick-access .wa-home-access-card:focus-visible {
  outline: 3px solid var(--wa-color-primary);
  outline-offset: 4px;
}

/* Arrow gets its own small feedback, without changing text color. */
.wa-home-quick-access .wa-home-access-card:hover .wa-home-access-arrow,
.wa-home-quick-access .wa-home-access-card:focus-visible .wa-home-access-arrow {
  background: #00a878;
  color: #ffffff;
}

.wa-home-quick-access .wa-home-access-card--forest .wa-home-access-arrow {
  background: #ffffff;
  color: #006b50;
}

/* Tablet */
@media (max-width: 1100px) {
  .wa-home-quick-access .wa-home-access-title {
    font-size: 23px;
  }

  .wa-home-quick-access .wa-home-access-description {
    font-size: 16px;
    padding-right: 60px;
  }

  .wa-home-quick-access .wa-home-access-arrow {
    width: 50px;
    height: 44px;
    right: 18px;
    bottom: 18px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .wa-home-quick-access .wa-home-access-title {
    font-size: 23px;
  }

  .wa-home-quick-access .wa-home-access-description {
    font-size: 16px;
    padding-right: 60px;
  }

  .wa-home-quick-access .wa-home-access-arrow {
    width: 48px;
    height: 42px;
    right: 16px;
    bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-home-quick-access .wa-home-access-card:hover {
    animation: none;
  }
}

/* =========================================================
   QUICK ACCESS — DIRECTIONAL HOVER + RESPONSIVE FIX
   Append at the VERY BOTTOM of home-sections.css.
   Desktop visual styles are intentionally untouched.
========================================================= */

/* One-direction nudge: move right gently, then return.
   No alternating rotation or left-right wobble. */
@keyframes wa-access-card-directional-nudge {
  0% {
    translate: 0 0;
  }
  35% {
    translate: 5px -4px;
  }
  100% {
    translate: 1px 0px;
  }
}

.wa-home-quick-access .wa-home-access-card:hover {
  animation: wa-access-card-directional-nudge 360ms ease-out 1;
}

/* Tablet: two columns remain, with enough room for card content. */
@media (min-width: 641px) and (max-width: 820px) {
  .wa-home-quick-access .wa-home-access-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px;
  }

  .wa-home-quick-access .wa-home-access-card {
    aspect-ratio: auto;
    min-height: 218px;
    padding: 86px 22px 60px;
  }

  .wa-home-quick-access .wa-home-access-icon {
    top: 22px;
    left: 22px;
    width: 48px;
    height: 48px;
  }

  .wa-home-quick-access .wa-home-access-number {
    top: 25px;
    left: 82px;
    min-height: 40px;
    padding-left: 12px;
    font-size: 24px;
  }

  .wa-home-quick-access .wa-home-access-title {
    font-size: 21px;
    line-height: 1.12;
  }

  .wa-home-quick-access .wa-home-access-description {
    margin-top: 12px;
    padding-right: 48px;
    font-size: 15px;
    line-height: 1.38;
  }

  .wa-home-quick-access .wa-home-access-arrow {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 40px;
  }

  .wa-home-quick-access .wa-home-access-arrow::before {
    font-size: 25px;
  }
}

/* Mobile: force ONE column. This overrides older two-column
   mobile rules that caused narrow text and overlapping arrows. */
@media (max-width: 640px) {
  .wa-home-quick-access .wa-home-access-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px;
  }

  .wa-home-quick-access .wa-home-access-card {
    width: 100%;
    min-width: 0;
    min-height: 218px;
    aspect-ratio: auto;
    padding: 86px 24px 62px;
  }

  .wa-home-quick-access .wa-home-access-icon {
    top: 20px;
    left: 24px;
    width: 50px;
    height: 50px;
  }

  .wa-home-quick-access .wa-home-access-number {
    top: 23px;
    left: 86px;
    min-height: 40px;
    padding-left: 13px;
    font-size: 25px;
  }

  .wa-home-quick-access .wa-home-access-title {
    max-width: calc(100% - 4px);
    font-size: 23px;
    line-height: 1.12;
    overflow-wrap: normal;
  }

  .wa-home-quick-access .wa-home-access-description {
    max-width: 100%;
    margin-top: 12px;
    padding-right: 58px;
    font-size: 16px;
    line-height: 1.4;
    overflow-wrap: break-word;
  }

  .wa-home-quick-access .wa-home-access-arrow {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 42px;
  }

  .wa-home-quick-access .wa-home-access-arrow::before {
    font-size: 27px;
  }
}

/* Very narrow phones: slightly tighter spacing without
   returning to a two-column layout. */
@media (max-width: 360px) {
  .wa-home-quick-access .wa-home-access-card {
    padding-right: 18px;
    padding-left: 18px;
  }

  .wa-home-quick-access .wa-home-access-icon {
    left: 18px;
    width: 46px;
    height: 46px;
  }

  .wa-home-quick-access .wa-home-access-number {
    left: 76px;
    font-size: 23px;
  }

  .wa-home-quick-access .wa-home-access-title {
    font-size: 21px;
  }

  .wa-home-quick-access .wa-home-access-description {
    font-size: 15px;
    padding-right: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-home-quick-access .wa-home-access-card:hover {
    animation: none;
    translate: none;
  }
}

/* =========================================================
   WEB ARCHI QUICK ACCESS — AA SCHOOL INSPIRED HOVER
   Accent background: WEB ARCHI primary green (#006B50)
   Also fixes duplicated arrows on tablet and mobile.
   Append at the VERY BOTTOM of home-sections.css.
========================================================= */

/* Keep the offset background visible between cards. */
.wa-home-quick-access .wa-home-access-grid {
  overflow: visible;
}

.wa-home-quick-access .wa-home-access-card {
  position: relative;
  z-index: 0;
  transition:
    transform 280ms cubic-bezier(0.2, 0.75, 0.25, 1),
    box-shadow 280ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

/* Only devices with a real hover pointer receive the effect.
   The active card shifts to the upper-left while a green
   rectangular layer remains offset at the lower-right. */
@media (hover: hover) and (pointer: fine) {
  .wa-home-quick-access .wa-home-access-card:hover {
    z-index: 5;
    animation: none !important;
    transform: translate(-8px, -8px) !important;
    box-shadow: 10px 10px 0 #726856 !important;
  }
}

/* Keyboard focus receives the same clear active-card treatment. */
.wa-home-quick-access .wa-home-access-card:focus-visible {
  z-index: 5;
  animation: none !important;
  transform: translate(-6px, -6px) !important;
  box-shadow: 8px 8px 0 #726856 !important;
}

/* The PHP markup now contains an empty arrow span.
   Keep the CSS-drawn line and open arrowhead from home.css.
   Do not restore the legacy Unicode arrow glyph here. */
.wa-home-quick-access .wa-home-access-arrow {
  font-size: 0 !important;
  line-height: 0 !important;
  letter-spacing: 0 !important;
  white-space: nowrap;
}

.wa-home-quick-access .wa-home-access-arrow::before {
  content: "" !important;
  display: block;
  font-size: 0;
  line-height: 0;
}

/* Touch screens do not emulate a sticky hover state. */
@media (hover: none), (pointer: coarse) {
  .wa-home-quick-access .wa-home-access-card:hover {
    z-index: 0;
    animation: none !important;
    transform: none !important;
    box-shadow: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-home-quick-access .wa-home-access-card,
  .wa-home-quick-access .wa-home-access-card:hover,
  .wa-home-quick-access .wa-home-access-card:focus-visible {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}

/* =========================================================
   QUICK ACCESS — SVG EXTENDED ARROW
   Use the same SVG arrow asset as Hero/About.
   Preserve the existing tile dimensions, position and colors.
========================================================= */

.wa-home-quick-access .wa-home-access-arrow {
  position: absolute;
  overflow: hidden;
}

/* SVG is drawn inside the existing action tile. */
.wa-home-quick-access .wa-home-access-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 34px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask-image: url("../images/arrow-right.svg");
  mask-image: url("../images/arrow-right.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  transform: translate(-50%, -50%);
  transition: transform 250ms ease;
}

/* The SVG already contains the arrowhead; remove the legacy CSS head. */
.wa-home-quick-access .wa-home-access-arrow::after {
  content: none !important;
}

/* Move only the SVG; the tile itself stays fixed. */
.wa-home-quick-access .wa-home-access-card:hover .wa-home-access-arrow::before,
.wa-home-quick-access .wa-home-access-card:focus-visible .wa-home-access-arrow::before {
  width: 34px !important;
  height: 24px !important;
  transform: translate(calc(-50% + 6px), -50%);
}

@media (prefers-reduced-motion: reduce) {
  .wa-home-quick-access .wa-home-access-arrow::before {
    transition: none;
  }
}
