/* AISOV client-requirements re-baseline — 2026-08-23 */
@font-face {
  font-family: Gandom;
  src: url("fonts/gandom/gandom-normal.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* Header site search: bilingual, keyboard-accessible disclosure and form. */
.am-search[type="button"] {
  appearance: none;
  position: relative;
  flex: 0 0 22px;
  width: 22px;
  min-width: 22px;
  height: 22px;
  min-height: 22px;
  margin: 0;
  padding: 0;
  border-width: 1.6px;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  box-sizing: border-box;
  font: inherit;
  cursor: pointer;
}

.am-search[type="button"]::after {
  content: "";
  position: absolute;
  top: auto;
  right: -7px;
  bottom: -4px;
  left: auto;
  width: 9px;
  height: 2px;
  border: 0;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: center;
}

.am-search[type="button"]:focus-visible {
  outline: 3px solid rgba(198, 144, 26, .5);
  outline-offset: 6px;
}

.am-search-panel[hidden] {
  display: none !important;
}

.am-search-panel {
  border-top: 1px solid rgba(24, 48, 39, .12);
  background: #f6f4ed;
  box-shadow: inset 0 8px 18px rgba(24, 48, 39, .035);
}

.am-search-panel__inner {
  position: relative;
  padding-block: clamp(24px, 3vw, 38px);
  padding-inline-end: 58px;
}

.am-search-form {
  display: grid;
  grid-template-columns: minmax(190px, .7fr) minmax(360px, 1.7fr);
  align-items: end;
  gap: clamp(24px, 4vw, 56px);
}

.am-search-form__copy {
  display: grid;
  gap: 4px;
}

.am-search-form__copy strong {
  color: var(--am-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.15;
}

.am-search-form__copy label {
  color: var(--am-muted);
  font-size: .94rem;
  line-height: 1.5;
}

.am-search-form__field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.am-search-form input[type="search"] {
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 11px 16px;
  border: 1px solid rgba(24, 48, 39, .25);
  border-radius: 6px;
  background: #fff;
  color: var(--am-ink);
  font: inherit;
  line-height: 1.4;
}

.am-search-form input[type="search"]:focus {
  border-color: var(--am-green);
  outline: 3px solid rgba(8, 122, 69, .14);
  outline-offset: 1px;
}

.am-search-submit {
  min-width: 108px;
  min-height: 52px;
  padding: 11px 22px;
  border: 1px solid var(--am-green);
  border-radius: 6px;
  background: var(--am-green);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.am-search-submit:hover,
.am-search-submit:focus-visible {
  border-color: var(--am-ink);
  background: var(--am-ink);
  outline: 3px solid rgba(198, 144, 26, .35);
  outline-offset: 2px;
}

.am-search-close {
  position: absolute;
  top: clamp(24px, 3vw, 38px);
  inset-inline-end: 0;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(24, 48, 39, .2);
  border-radius: 50%;
  background: transparent;
  color: var(--am-ink);
  font: inherit;
  cursor: pointer;
}

.am-search-close span {
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1;
  transform: translateY(-1px);
}

.am-search-close:hover,
.am-search-close:focus-visible {
  border-color: var(--am-green);
  background: #fff;
  outline: 3px solid rgba(8, 122, 69, .14);
  outline-offset: 2px;
}

body.aisov-modern-fa .am-search-form__copy,
body.aisov-modern-fa .am-search-form input[type="search"] {
  text-align: right;
}

@media (max-width: 760px) {
  .am-search-panel__inner {
    padding-block: 24px 28px;
    padding-inline-end: 54px;
  }

  .am-search-form {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .am-search-form__field {
    grid-template-columns: minmax(0, 1fr);
  }

  .am-search-submit {
    width: 100%;
  }

  .am-search-close {
    top: 22px;
  }
}

.am-search-results-page {
  background: #fffdf8;
}

.am-search-results-hero {
  padding: clamp(64px, 8vw, 104px) 0 clamp(52px, 7vw, 84px);
  background: #183027;
  color: #fff;
}

.am-search-results-kicker {
  display: block;
  margin-bottom: 14px;
  color: #f0c75e;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.am-search-results-hero h1 {
  max-width: 16ch;
  margin: 0 0 14px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1.02;
}

.am-search-results-hero > .am-container > p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}

.am-search-results-form {
  max-width: 790px;
  margin-top: 34px;
}

.am-search-results-form label {
  display: block;
  margin-bottom: 9px;
  color: #fff;
  font-size: .9rem;
  font-weight: 750;
}

.am-search-results-form > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.am-search-results-form input {
  min-height: 54px;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 6px;
  background: #fff;
  color: var(--am-ink);
  font: inherit;
}

.am-search-results-form input:focus {
  border-color: #f0c75e;
  outline: 3px solid rgba(240, 199, 94, .3);
  outline-offset: 2px;
}

.am-search-results-form button {
  min-width: 116px;
  min-height: 54px;
  padding: 12px 24px;
  border: 1px solid #f0c75e;
  border-radius: 6px;
  background: #f0c75e;
  color: #183027;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.am-search-results-form button:hover,
.am-search-results-form button:focus-visible {
  border-color: #fff;
  background: #fff;
  outline: 3px solid rgba(240, 199, 94, .35);
  outline-offset: 2px;
}

.am-search-results-list {
  padding: clamp(58px, 8vw, 100px) 0;
}

.am-search-results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.am-search-result {
  display: flex;
  min-width: 0;
  min-height: 100%;
  padding: clamp(26px, 3vw, 38px);
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid rgba(24, 48, 39, .12);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(20, 46, 36, .065);
}

.am-search-result time {
  margin-bottom: 15px;
  color: var(--am-muted);
  font-size: .82rem;
  font-weight: 700;
}

.am-search-result h3 {
  margin: 0 0 14px;
  color: var(--am-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.22;
}

.am-search-result h3 a {
  color: inherit;
  text-decoration: none;
}

.am-search-result h3 a:hover,
.am-search-result h3 a:focus-visible {
  color: var(--am-green);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.am-search-result p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 22px;
  color: var(--am-muted);
  line-height: 1.72;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.am-search-result p img,
.am-search-result p img.emoji {
  display: inline-block !important;
  width: 1em !important;
  height: 1em !important;
  margin: 0 .15em !important;
  object-fit: contain;
  vertical-align: -.1em;
}

.am-search-result__link {
  margin-top: auto;
  color: var(--am-green);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.am-search-empty {
  max-width: 760px;
  padding: clamp(30px, 5vw, 52px);
  border: 1px solid rgba(24, 48, 39, .12);
  border-radius: 14px;
  background: #f6f4ed;
}

.am-search-empty h2 {
  margin: 0 0 12px;
  color: var(--am-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.am-search-empty p {
  margin: 0;
  color: var(--am-muted);
  line-height: 1.75;
}

.am-search-pagination {
  margin-top: 42px;
}

.am-search-pagination .page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.am-search-pagination a,
.am-search-pagination span {
  display: grid;
  min-width: 42px;
  min-height: 42px;
  padding: 8px 12px;
  place-items: center;
  border: 1px solid rgba(24, 48, 39, .18);
  border-radius: 5px;
  color: var(--am-ink);
  text-decoration: none;
}

.am-search-pagination .current,
.am-search-pagination a:hover,
.am-search-pagination a:focus-visible {
  border-color: var(--am-green);
  background: var(--am-green);
  color: #fff;
}

body.aisov-modern-fa .am-search-results-page,
body.aisov-modern-fa .am-search-results-form input {
  text-align: right;
}

body.aisov-modern-search-results .handheld-footer-bar {
  display: none !important;
}

@media (max-width: 760px) {
  .am-search-results-form > div,
  .am-search-results-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .am-search-results-form button {
    width: 100%;
  }
}

/* Solidarity focus area: shared English/Persian Elementor composition. */
.aisov-solidarity-section {
  padding: clamp(64px, 8vw, 104px) 0;
}

.aisov-solidarity-section > .elementor-container {
  width: min(1080px, calc(100% - 40px));
  margin-inline: auto;
}

.aisov-solidarity-section .elementor-widget-heading h2 {
  max-width: 18ch;
  margin: 0 auto 24px;
  color: var(--am-ink);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
  text-align: center;
}

.aisov-solidarity-intro {
  background: #fffdf8;
}

.aisov-solidarity-lead {
  max-width: 780px;
  margin-inline: auto;
  color: var(--am-muted);
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  line-height: 1.85;
}

.aisov-solidarity-lead p:last-child,
.aisov-solidarity-approach-copy p:last-child,
.aisov-solidarity-cta-copy p:last-child {
  margin-bottom: 0;
}

.aisov-solidarity-values {
  border-block: 1px solid var(--am-line);
  background: var(--am-soft);
}

.aisov-solidarity-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 38px;
}

.aisov-solidarity-principle {
  min-height: 100%;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid rgba(24, 48, 39, .11);
  border-radius: 16px;
  background: #fffefb;
  box-shadow: 0 16px 36px rgba(20, 46, 36, .07);
}

.aisov-solidarity-principle__number {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--am-green);
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.aisov-solidarity-principle h3 {
  margin: 0 0 14px;
  color: var(--am-ink);
  font-size: 1.35rem;
  line-height: 1.25;
}

.aisov-solidarity-principle p {
  margin: 0;
  color: var(--am-muted);
  line-height: 1.75;
}

.aisov-solidarity-approach-copy {
  max-width: 850px;
  margin-inline: auto;
  color: var(--am-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.aisov-solidarity-approach-copy ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
  margin: 30px 0;
  padding: 0;
  list-style: none;
}

.aisov-solidarity-approach-copy li {
  position: relative;
  padding-inline-start: 28px;
}

.aisov-solidarity-approach-copy li::before {
  content: "";
  position: absolute;
  top: .72em;
  inset-inline-start: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--aisov-accent);
  box-shadow: 0 0 0 5px rgba(224, 172, 82, .16);
}

.aisov-solidarity-cta {
  padding: 0 0 clamp(64px, 8vw, 104px);
  background: #fffdf8;
}

.aisov-solidarity-cta > .elementor-container {
  padding: clamp(38px, 6vw, 68px);
  border-radius: 20px;
  background: #143c2d;
  box-shadow: 0 24px 54px rgba(13, 42, 31, .16);
}

.aisov-solidarity-cta .elementor-widget-heading h2 {
  color: #fff;
}

.aisov-solidarity-cta-copy {
  max-width: 720px;
  margin-inline: auto;
  color: rgba(255, 255, 255, .82);
  font-size: 1.08rem;
  line-height: 1.8;
  text-align: center;
}

.aisov-solidarity-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.aisov-solidarity-actions a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--am-green);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.aisov-solidarity-actions a:last-child {
  border-color: rgba(255, 255, 255, .5);
  background: transparent;
}

.aisov-solidarity-actions a:hover,
.aisov-solidarity-actions a:focus-visible {
  border-color: #fff;
  background: #fff;
  color: #143c2d;
}

body.aisov-modern-fa .aisov-solidarity-lead,
body.aisov-modern-fa .aisov-solidarity-approach-copy,
body.aisov-modern-fa .aisov-solidarity-principle {
  text-align: right;
}

@media (max-width: 760px) {
  .aisov-solidarity-principles,
  .aisov-solidarity-approach-copy ul {
    grid-template-columns: 1fr;
  }

  .aisov-solidarity-section > .elementor-container {
    width: min(100% - 32px, 1080px);
  }

  .aisov-solidarity-cta > .elementor-container {
    padding: 34px 24px;
    border-radius: 14px;
  }

  .aisov-solidarity-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .aisov-solidarity-actions a {
    width: 100%;
  }
}

/* News and events: two clearly labelled, non-overlapping archive streams. */
.am-news-stream-nav {
  border-bottom: 1px solid var(--am-line);
  background: #fff;
}

.am-news-stream-nav__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-block: 18px;
}

.am-news-stream-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid rgba(8, 122, 69, .28);
  border-radius: 999px;
  color: var(--am-ink);
  font-weight: 750;
  line-height: 1.35;
  text-decoration: none;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.am-news-stream-nav a span {
  width: 9px;
  height: 9px;
  margin-inline-end: 9px;
  border-radius: 50%;
  background: var(--am-green);
}

.am-news-stream-nav a:last-child {
  border-color: rgba(198, 144, 26, .42);
}

.am-news-stream-nav a:last-child span {
  background: var(--am-gold);
}

.am-news-stream-nav a:hover,
.am-news-stream-nav a:focus-visible {
  border-color: var(--am-green);
  background: rgba(8, 122, 69, .07);
  color: var(--am-green);
}

.am-news-stream {
  scroll-margin-top: 96px;
}

.am-news-stream--events {
  border-block: 1px solid var(--am-line);
  background: var(--am-soft);
}

.am-news-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  overflow: hidden;
  margin-bottom: clamp(28px, 4vw, 42px);
  border: 1px solid var(--am-line);
  border-block-start: 5px solid var(--am-green);
  border-radius: 16px;
  background: #fff;
}

.am-news-feature--events,
.am-news-stream--events .am-news-card {
  border-block-start-color: var(--am-gold);
}

.am-news-feature__media,
.am-news-card__media {
  display: block;
  overflow: hidden;
  background: #e6ece8;
}

.am-news-feature__media img,
.am-news-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.am-news-feature__media img {
  min-height: 340px;
}

.am-news-feature__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(28px, 4vw, 52px);
}

.am-news-feature__title {
  margin: 14px 0 12px;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.18;
}

.am-news-feature__title a,
.am-news-card h3 a {
  color: var(--am-ink);
  text-decoration: none;
}

.am-news-feature__body p,
.am-news-card__body p {
  color: var(--am-muted);
  line-height: 1.7;
}

.am-content-type {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(8, 122, 69, .1);
  color: var(--am-green);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1;
  text-transform: uppercase;
}

.am-content-type--events {
  background: rgba(198, 144, 26, .14);
  color: #825d0d;
}

html[dir="rtl"] .am-content-type {
  letter-spacing: 0;
  text-transform: none;
}

.am-news-date {
  display: block;
  margin-top: 11px;
  color: #597066;
  font-size: .84rem;
  font-weight: 650;
}

.am-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.am-news-card {
  overflow: hidden;
  border: 1px solid var(--am-line);
  border-block-start: 4px solid var(--am-green);
  border-radius: 12px;
  background: #fff;
}

.am-news-card__media {
  aspect-ratio: 16 / 10;
}

.am-news-card__body {
  padding: 22px;
}

.am-news-card h3 {
  margin: 13px 0 9px;
  font-size: 1.25rem;
  line-height: 1.34;
}

@media (max-width: 920px) {
  .am-news-feature {
    grid-template-columns: 1fr;
  }

  .am-news-feature__media img {
    min-height: 0;
    aspect-ratio: 16 / 8;
  }

  .am-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .am-news-stream-nav__inner {
    display: grid;
    grid-template-columns: 1fr;
  }

  .am-news-stream-nav a {
    width: 100%;
  }

  .am-news-feature__media img {
    aspect-ratio: 4 / 3;
  }

  .am-news-feature__body {
    padding: 24px;
  }

  .am-news-grid {
    grid-template-columns: 1fr;
  }
}

@font-face {
  font-family: Gandom;
  src: url("fonts/gandom/gandom-bold.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

/*
 * Persian typography is a language-level requirement. Elementor can emit
 * per-widget font families with greater selector specificity, so enforce
 * Gandom for FA document text while leaving icon-font and SVG glyphs alone.
 */
html[lang^="fa"] body,
html[lang^="fa"] body *:not(i):not(svg):not(path):not(.elementor-icon):not(.fa):not(.fas):not(.far):not(.fab):not([class^="eicon-"]):not([class*=" eicon-"]):not([class^="opal-icon-"]):not([class*=" opal-icon-"]),
[lang="fa"],
[lang="fa"] *:not(i):not(svg):not(path):not(.elementor-icon):not(.fa):not(.fas):not(.far):not(.fab):not([class^="eicon-"]):not([class*=" eicon-"]):not([class^="opal-icon-"]):not([class*=" opal-icon-"]) {
  font-family: Gandom, Tahoma, "Segoe UI", Arial, sans-serif !important;
  letter-spacing: 0 !important;
}

html[lang^="en"] body,
html[lang^="en"] button,
html[lang^="en"] input,
html[lang^="en"] select,
html[lang^="en"] textarea {
  font-family: Roboto, Arial, sans-serif !important;
}

/* Balanced desktop distribution for the Elementor-owned global footer. */
.am-footer--elementor .am-footer__grid > * > strong {
  color: rgba(255, 255, 255, .94) !important;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .01em;
}

@media (min-width: 981px) {
  .am-footer--elementor {
    padding-top: 48px;
  }

  .am-footer--elementor .am-footer__grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1.1fr);
    column-gap: 40px;
    align-items: start;
  }

  .am-footer--elementor .am-footer__grid > * {
    min-width: 0;
  }

  .am-footer--elementor .am-footer__links {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 22px !important;
    row-gap: 10px !important;
    align-content: start;
  }

  .am-footer--elementor .am-footer__links > strong {
    grid-column: 1 / -1;
  }

  .am-footer--elementor .am-footer__contact {
    display: grid;
    align-content: start;
    gap: 10px;
  }

  .am-footer--elementor .am-footer__social {
    display: block !important;
  }

  .am-footer--elementor .am-footer__social .am-follow {
    display: flex !important;
    flex-flow: row wrap;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
  }

  .am-footer--elementor .am-footer__social .am-social-link {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
  }
}

/* Development-reference Board layout, retained as native Elementor widgets. */
.aisov-modern-board-page .am-elementor-page-hero .am-page-hero__content {
  align-items: flex-start;
}

.aisov-modern-board-page .am-elementor-page-hero .am-page-hero__content > * {
  font-family: Inter, "Segoe UI", Tahoma, Arial, sans-serif !important;
}

.aisov-modern-board-page .am-elementor-page-hero h1 {
  font-weight: 700 !important;
}

html[lang^="en"] .aisov-modern-board-page .am-elementor-page-hero .am-page-hero__content,
html[lang^="en"] .aisov-modern-board-page .am-elementor-page-hero .am-page-hero__content > *,
html[lang^="en"] .aisov-modern-board-page .am-elementor-page-content,
html[lang^="en"] .aisov-modern-board-page .elementor-element-ab58f70 .elementor-widget-heading,
html[lang^="en"] .aisov-modern-board-page :is(.aisov-board-card, .elementor-element-511956bb > .elementor-container > .elementor-column) .elementor-image-box-content {
  text-align: left !important;
}

.aisov-modern-board-page .am-elementor-page-content--board {
  box-sizing: border-box;
  padding-top: 86px;
  padding-bottom: 86px;
}

.aisov-board-title-row > .elementor-container,
.elementor-element-ab58f70 > .elementor-container {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.aisov-board-title-row > .elementor-container > .elementor-column,
.elementor-element-ab58f70 > .elementor-container > .elementor-column,
.aisov-board-grid-section > .elementor-container > .elementor-column,
.elementor-element-511956bb > .elementor-container > .elementor-column {
  width: auto !important;
  min-width: 0;
}

.aisov-board-title-row .elementor-heading-title,
.elementor-element-ab58f70 .elementor-heading-title {
  margin: 0 !important;
  font-family: Roboto, Arial, sans-serif !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

html[lang^="fa"] .aisov-board-title-row .elementor-heading-title,
html[lang^="fa"] .elementor-element-ab58f70 .elementor-heading-title {
  font-family: Gandom, Tahoma, "Segoe UI", Arial, sans-serif !important;
}

.aisov-board-count,
.aisov-board-count p {
  margin: 0 !important;
  color: #007a32 !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
  white-space: nowrap;
}

.aisov-board-grid-section > .elementor-container,
.elementor-element-511956bb > .elementor-container {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.aisov-modern-board-page :is(.elementor-element-ab58f70, .elementor-element-511956bb) > .elementor-container {
  width: min(1240px, calc(100% - 48px));
  max-width: none !important;
  margin-right: auto;
  margin-left: auto;
}

.aisov-board-card,
.elementor-element-511956bb > .elementor-container > .elementor-column {
  overflow: hidden;
  border: 1px solid #dbe5df;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 35, 22, .08);
}

:is(.aisov-board-card, .elementor-element-511956bb > .elementor-container > .elementor-column) > .elementor-widget-wrap,
.elementor-element-511956bb > .elementor-container > .elementor-column > .elementor-widget-wrap {
  display: block !important;
  padding: 0 !important;
}

:is(.aisov-board-card, .elementor-element-511956bb > .elementor-container > .elementor-column) .elementor-widget-image-box,
:is(.aisov-board-card, .elementor-element-511956bb > .elementor-container > .elementor-column) .elementor-widget-container,
:is(.aisov-board-card, .elementor-element-511956bb > .elementor-container > .elementor-column) .elementor-image-box-wrapper {
  width: 100%;
  height: 100%;
  margin: 0 !important;
}

:is(.aisov-board-card, .elementor-element-511956bb > .elementor-container > .elementor-column) .elementor-image-box-wrapper {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
}

:is(.aisov-board-card, .elementor-element-511956bb > .elementor-container > .elementor-column) .elementor-image-box-img {
  width: 100% !important;
  margin: 0 !important;
}

:is(.aisov-board-card, .elementor-element-511956bb > .elementor-container > .elementor-column) .elementor-image-box-img img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0 !important;
  background: #edf5ef;
}

:is(.aisov-board-card, .elementor-element-511956bb > .elementor-container > .elementor-column) .elementor-image-box-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px;
  text-align: left;
}

:is(.aisov-board-card, .elementor-element-511956bb > .elementor-container > .elementor-column) .elementor-image-box-description {
  order: 1;
  display: block;
  margin: 0 0 8px !important;
  color: #007a32 !important;
  font-family: Roboto, Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1.3 !important;
  text-transform: uppercase;
}

:is(.aisov-board-card, .elementor-element-511956bb > .elementor-container > .elementor-column) .elementor-image-box-title {
  order: 2;
  margin: 0 !important;
  color: #17211b !important;
  font-family: Roboto, Arial, sans-serif !important;
  font-size: 21px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

html[lang^="fa"] :is(.aisov-board-card, .elementor-element-511956bb > .elementor-container > .elementor-column) .elementor-image-box-content {
  align-items: flex-start;
  text-align: right;
}

html[lang^="fa"] :is(.aisov-board-card, .elementor-element-511956bb > .elementor-container > .elementor-column) .elementor-image-box-description {
  font-family: Gandom, Tahoma, "Segoe UI", Arial, sans-serif !important;
  text-transform: none;
}

html[lang^="fa"] :is(.aisov-board-card, .elementor-element-511956bb > .elementor-container > .elementor-column) .elementor-image-box-title {
  font-family: Gandom, Tahoma, "Segoe UI", Arial, sans-serif !important;
}

@media (max-width: 980px) {
  .aisov-board-grid-section > .elementor-container,
  .elementor-element-511956bb > .elementor-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .aisov-modern-board-page .am-elementor-page-content--board {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .aisov-board-title-row > .elementor-container,
  .elementor-element-ab58f70 > .elementor-container {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .aisov-board-title-row .elementor-heading-title,
  .elementor-element-ab58f70 .elementor-heading-title {
    font-size: 22px !important;
  }
}

.ar-slider__viewport { position: relative; }
.ar-slider [data-ar-slide] { display: none; }
.ar-slider [data-ar-slide].is-active { display: block; }
.ar-slider__controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.5rem; }
.ar-slider__controls button,
.ar-carousel-button { border: 1px solid #0d5b4c; background: #fff; color: #0d5b4c; border-radius: 999px; padding: .7rem 1rem; cursor: pointer; font: inherit; font-weight: 700; }
.ar-slider__dots { display: flex; gap: .55rem; }
.ar-slider__dots button { width: .75rem; height: .75rem; padding: 0; border-radius: 50%; background: transparent; }
.ar-slider__dots button.is-active { background: #0d5b4c; }

.ar-home-hero { min-height: 34rem; background: #102820; }
.ar-hero-slider { position: relative; }
.ar-hero-slide { position: relative; min-height: 34rem; overflow: hidden; }
.ar-hero-slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ar-hero-slide__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,31,26,.88) 0%, rgba(8,31,26,.58) 48%, rgba(8,31,26,.18) 100%); }
.ar-hero-slide__copy { position: relative; z-index: 2; color: #fff; width: min(1240px, calc(100% - 48px)); margin-inline: auto; min-height: 34rem; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-top: 4rem; padding-bottom: 4rem; box-sizing: border-box; }
.ar-hero-slide__copy h1 { color: #fff; max-width: 16ch; font-size: clamp(2.5rem, 6vw, 5rem); margin: .25rem 0 1rem; }
.ar-hero-slide__copy p { width: 100%; max-width: min(44rem, 100%); font-size: 1.2rem; white-space: normal !important; overflow-wrap: break-word !important; }
.ar-slider__controls--hero { position: absolute; z-index: 5; left: 50%; bottom: 1.5rem; transform: translateX(-50%); margin: 0; }
.ar-slider__controls--hero button { color: #fff; border-color: rgba(255,255,255,.8); background: rgba(0,0,0,.35); }
.ar-slider__controls--hero .ar-slider__dots button.is-active { background: #fff; }

.ar-vision { max-width: 58rem; margin-bottom: 3rem; }
.ar-vision h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
.ar-vision p { font-size: 1.15rem; }
.ar-focus-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1.25rem; }
.ar-focus-card { background: #fff; border: 1px solid rgba(13,91,76,.16); border-radius: 1rem; overflow: hidden; box-shadow: 0 .5rem 1.5rem rgba(5,43,35,.08); }
.ar-focus-card__image { display: block; aspect-ratio: 16/10; overflow: hidden; }
.ar-focus-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.ar-focus-card:hover .ar-focus-card__image img { transform: scale(1.035); }
.ar-focus-card__body { padding: 1.2rem; }
.ar-focus-card__body h3 { font-size: 1.15rem; margin: 0 0 .7rem; }
.ar-focus-card__body h3 a { color: inherit; text-decoration: none; }
.ar-text-link { font-weight: 700; color: #0d5b4c; }

.ar-page-hero .am-page-hero__media img { object-position: center; }

body:is(.page-id-11149, .page-id-11176) .am-elementor-page-hero .am-page-hero__media img {
  object-position: center 45%;
}
.ar-about-slide { background: #fff; border-radius: 1.25rem; overflow: hidden; box-shadow: 0 .8rem 2.5rem rgba(5,43,35,.12); }
.ar-slider [data-ar-slide].is-active.ar-about-slide { display: grid; grid-template-columns: minmax(18rem, .8fr) minmax(0, 1.2fr); }
.ar-about-slide__media { min-height: 32rem; }
.ar-about-slide__media img { width: 100%; height: 100%; object-fit: cover; }
.ar-about-slide__body { padding: clamp(1.5rem, 4vw, 3rem); }
.ar-about-slide__body > p { max-width: 52rem; }
.ar-about-slide .ar-focus-grid { margin: 2rem 0; }

.ar-updates-carousel { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 1rem; align-items: center; }
.ar-updates-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(18rem, 31%); gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding: .5rem .2rem 1.2rem; }
.ar-update-card { scroll-snap-align: start; background: #fff; border-radius: 1rem; overflow: hidden; border: 1px solid rgba(13,91,76,.14); }
.ar-update-card__media { display: block; aspect-ratio: 16/10; overflow: hidden; }
.ar-update-card__media img { width: 100%; height: 100%; object-fit: cover; }
.ar-update-card__body { padding: 1.2rem; }
.ar-update-card__body > span { color: #5d6f68; font-size: .88rem; }
.ar-update-card__body h3 { margin: .45rem 0 .7rem; font-size: 1.2rem; }
.ar-update-card__body h3 a { color: inherit; text-decoration: none; }

.ar-privacy-brief { background: #eef6f2; }
.ar-privacy-brief__inner { display: grid; grid-template-columns: minmax(12rem, .75fr) minmax(18rem, 1.5fr) auto; align-items: center; gap: 2rem; }
.ar-privacy-brief__inner h2 { margin: .2rem 0; }
.ar-privacy-brief__inner p { margin: 0; }

@media (max-width: 1024px) {
  .am-header { position: relative; z-index: 1000; isolation: isolate; }
  .am-nav { position: relative; }
  .am-menu-toggle { display: block !important; position: relative; z-index: 52; flex: 0 0 44px; background: #007a32 !important; border-color: #007a32 !important; }
  .am-menu-toggle span { background: #fff !important; }
  .am-menu {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: 0 !important;
    z-index: 1001 !important;
    display: none !important;
    width: 100% !important;
    max-height: calc(100dvh - var(--aisov-mobile-header-height, 132px));
    box-sizing: border-box;
    margin: 0 !important;
    padding: 18px max(20px, calc((100% - 1240px) / 2)) 28px !important;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 0 !important;
    border-top: 1px solid rgba(0, 114, 50, .16) !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: 0 18px 38px rgba(15, 31, 22, .2) !important;
    opacity: 1 !important;
    align-items: stretch;
    isolation: isolate;
  }
  .am-menu.is-open { display: grid !important; }
  body.am-menu-open { overflow: hidden !important; }
  .am-menu > a,
  .am-menu-item,
  .am-menu-item > a { position: relative; z-index: 1; }
  .am-submenu {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    z-index: auto !important;
  }
  .ar-focus-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ar-updates-track { grid-auto-columns: minmax(18rem, 48%); }
  .ar-privacy-brief__inner { grid-template-columns: 1fr 2fr; }
  .ar-privacy-brief__inner .am-btn { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 680px) {
  html,
  body.aisov-modern-elementor-page { overflow-x: hidden !important; }
  .aisov-modern-elementor-page .elementor-column,
  .aisov-modern-elementor-page .elementor-widget-wrap,
  .aisov-modern-elementor-page .elementor-widget-container { min-width: 0 !important; }
  .aisov-modern-elementor-document-v1 .am-page-hero { overflow: hidden; }
  .aisov-modern-elementor-document-v1 .am-page-hero__content {
    box-sizing: border-box;
    width: calc(100% - 28px) !important;
    max-width: calc(100% - 28px) !important;
    margin-inline: auto !important;
  }
  .aisov-modern-elementor-document-v1 .am-page-hero__content h1,
  .aisov-modern-elementor-document-v1 .am-page-hero__content p,
  .aisov-modern-elementor-document-v1 .am-about-vision h2,
  .aisov-modern-elementor-document-v1 .am-section-title h2 {
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }
  .aisov-modern-elementor-document-v1 .am-page-hero__content h1 {
    font-size: clamp(2rem, 10vw, 3rem) !important;
    line-height: 1.12 !important;
  }
  .am-social-dock { display: none !important; }
  .am-footer__bottom { padding-bottom: max(20px, env(safe-area-inset-bottom)); }
  .ar-hero-slide__copy { width: calc(100% - 28px); }
  .ar-hero-slide__copy p { max-width: 19rem; font-size: 1.05rem; line-height: 1.55; }
  .ar-home-hero, .ar-hero-slide, .ar-hero-slide__copy { min-height: 30rem; }
  .ar-hero-slide__overlay { background: rgba(8,31,26,.68); }
  .ar-slider__controls--hero > button:not([data-ar-dot]) { font-size: 0; width: 2.75rem; height: 2.75rem; }
  .ar-slider__controls--hero > button:not([data-ar-dot])::before { content: '\2039'; font-size: 1.5rem; }
  .ar-slider__controls--hero > button[data-ar-next]::before { content: '\203A'; }
  .ar-focus-grid { grid-template-columns: 1fr; }
  .ar-slider [data-ar-slide].is-active.ar-about-slide { display: block; }
  .ar-about-slide__media { min-height: 15rem; height: 15rem; }
  .ar-updates-carousel { grid-template-columns: 1fr; }
  .ar-updates-track { grid-auto-columns: 86%; }
  .ar-carousel-button { display: none; }
  .ar-privacy-brief__inner { grid-template-columns: 1fr; }
  .ar-privacy-brief__inner .am-btn { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .ar-focus-card__image img { transition: none; }
  .ar-updates-track { scroll-behavior: auto !important; }
}

/* Useful Information stays sourced from the editor-managed Elementor page. */
.am-content-body--useful-information { max-width: 1180px; }
.am-content-body--useful-information .aisov-useful-primary-resources > .elementor-container,
.am-content-body--useful-information .aisov-useful-government-services > .elementor-container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}
.am-content-body--useful-information .aisov-useful-primary-resources > .elementor-container > .elementor-column,
.am-content-body--useful-information .aisov-useful-government-services > .elementor-container > .elementor-column {
  width: auto !important;
  min-width: 0;
}
.am-content-body--useful-information .aisov-useful-primary-resources .elementor-widget-wrap,
.am-content-body--useful-information .aisov-useful-government-services .elementor-widget-wrap { align-content: start; }
.am-content-body--useful-information .aisov-useful-family-violence > .elementor-container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem 1.25rem;
}
.am-content-body--useful-information .aisov-useful-family-violence > .elementor-container > .elementor-column,
.am-content-body--useful-information .aisov-useful-family-violence .elementor-widget-wrap { display: contents !important; }
.am-content-body--useful-information .aisov-useful-family-violence .elementor-widget-heading { grid-column: 1 / -1; }
.am-content-body--useful-information .aisov-useful-family-violence .elementor-widget-spacer { display: none; }
.am-content-body--useful-information .elementor-widget-heading h2,
.am-content-body--useful-information .elementor-widget-heading h3,
.am-content-body--useful-information .elementor-heading-title {
  color: #17211c;
  font-size: 1.08rem;
  line-height: 1.35;
  margin-bottom: .6rem;
}
.am-content-body--useful-information .elementor-widget-button { min-width: 0; }
.am-content-body--useful-information .elementor-button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.75rem;
  padding: .85rem 1rem !important;
  border: 1px solid #008f3c !important;
  border-radius: .45rem !important;
  background: #008f3c !important;
  color: #fff !important;
  fill: #fff !important;
  font: 700 .9rem/1.3 Roboto, Arial, sans-serif !important;
  letter-spacing: .025em;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 .2rem .55rem rgba(0, 96, 43, .15);
}
.am-content-body--useful-information .elementor-button:hover,
.am-content-body--useful-information .elementor-button:focus-visible {
  background: #006f31 !important;
  border-color: #006f31 !important;
  color: #fff !important;
  transform: translateY(-1px);
}

@media (max-width: 820px) {
  .am-content-body--useful-information .aisov-useful-primary-resources > .elementor-container,
  .am-content-body--useful-information .aisov-useful-government-services > .elementor-container,
  .am-content-body--useful-information .aisov-useful-family-violence > .elementor-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .am-content-body--useful-information .aisov-useful-primary-resources > .elementor-container,
  .am-content-body--useful-information .aisov-useful-government-services > .elementor-container,
  .am-content-body--useful-information .aisov-useful-family-violence > .elementor-container {
    grid-template-columns: 1fr;
  }
}

/* Elementor-owned homepage: native section/column wrappers remain layout-
   neutral so the same AISOV components match the renderer reference. */
.elementor-section.aisov-elementor-home-block {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}
.elementor-section.aisov-elementor-home-block > .elementor-container {
  max-width: none !important;
  width: 100% !important;
}
.elementor-section.aisov-elementor-home-block .elementor-column,
.elementor-section.aisov-elementor-home-block .elementor-widget-wrap,
.elementor-section.aisov-elementor-home-block .elementor-widget,
.elementor-section.aisov-elementor-home-block .elementor-widget-container {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}
.aisov-modern-elementor-home .am-elementor-page-content {
  overflow: hidden;
}

/* Site-wide Elementor documents. Dynamic family widgets own their complete
   reference layout; native content pages receive the same readable content
   width and spacing in both the editor canvas and public shell. */
.elementor-section.aisov-elementor-dynamic-block {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}
.elementor-section.aisov-elementor-dynamic-block > .elementor-container {
  max-width: none !important;
  width: 100% !important;
}
.elementor-section.aisov-elementor-dynamic-block .elementor-column,
.elementor-section.aisov-elementor-dynamic-block .elementor-widget-wrap,
.elementor-section.aisov-elementor-dynamic-block .elementor-widget,
.elementor-section.aisov-elementor-dynamic-block .elementor-widget-container {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}
.elementor-section.aisov-elementor-native-content {
  padding: clamp(3rem, 7vw, 6.5rem) 1.25rem !important;
}
.elementor-section.aisov-elementor-native-content > .elementor-container {
  margin: 0 auto !important;
  max-width: 1120px !important;
}
.elementor-section.aisov-elementor-native-content .elementor-widget-text-editor,
.elementor-section.aisov-elementor-native-content .elementor-widget-shortcode {
  color: var(--am-ink, #1c2a35);
  font-size: 1.06rem;
  line-height: 1.8;
}
.elementor-section.aisov-elementor-native-content .elementor-widget + .elementor-widget {
  margin-top: 2rem;
}
.elementor-section.aisov-elementor-native-content h2,
.elementor-section.aisov-elementor-native-content h3 {
  color: var(--am-navy, #16334b);
  font-weight: 800;
}
.aisov-modern-elementor-document-v1 .am-elementor-page-content {
  overflow: hidden;
}

/* Elementor's global kit is printed after this stylesheet on canvas pages.
   Keep the migrated homepage visually identical to the reference renderer by
   explicitly restoring the component typography and rhythm at this scope. */
.aisov-modern-elementor-home .aisov-elementor-home-block h1,
.aisov-modern-elementor-home .aisov-elementor-home-block h2,
.aisov-modern-elementor-home .aisov-elementor-home-block h3 {
  font-family: Roboto, Arial, sans-serif !important;
  font-weight: 700 !important;
  line-height: 1.6 !important;
}
.aisov-modern-elementor-home .aisov-elementor-home-block p {
  line-height: 1.6 !important;
}
.aisov-modern-elementor-home .ar-hero-slide__copy h1 {
  font-size: clamp(2.5rem, 6vw, 5rem) !important;
}
.aisov-modern-elementor-home .ar-hero-slide__copy p {
  margin: 1em 0 !important;
}
.aisov-modern-elementor-home .ar-vision h2 {
  font-size: clamp(2rem, 4vw, 3.5rem) !important;
  margin: .83em 0 !important;
}
.aisov-modern-elementor-home .ar-vision p {
  margin: 1em 0 !important;
}
.aisov-modern-elementor-home .ar-focus-card__body h3 {
  font-size: 1.15rem !important;
}
.aisov-modern-elementor-home .ar-focus-card__body p {
  margin: 1em 0 !important;
}
.aisov-modern-elementor-home .am-section-title h2 {
  font-family: Inter, "Segoe UI", Arial, sans-serif !important;
  font-size: clamp(1.8rem, 3vw, 2.7rem) !important;
  font-weight: 800 !important;
  margin: 0 !important;
}
.aisov-modern-elementor-home .ar-update-card__body h3 {
  font-size: 1.2rem !important;
}
.aisov-modern-elementor-home .ar-update-card__body p {
  margin: 1em 0 !important;
}
.aisov-modern-elementor-home .ar-privacy-brief__inner h2 {
  font-size: 1.5rem !important;
  margin: .2rem 0 !important;
}
.aisov-modern-elementor-home .ar-privacy-brief__inner p {
  margin: 0 !important;
}

@media (min-width: 1025px) {
  html[dir="rtl"] .am-menu > .am-menu-item:nth-last-child(-n+3) > .am-submenu {
    right: auto;
    left: 0;
  }
}

/*
 * Impeccable visual polish — 2026-08-30
 *
 * This is an additive presentation layer over AISOV's Elementor-compatible
 * renderer. It changes no Elementor document data or widget structure.
 */
:root {
  --am-green: #087a45;
  --am-green-dark: #075a37;
  --am-ink: #183027;
  --am-muted: #52675f;
  --am-line: #d6e2da;
  --am-soft: #f1f6f0;
  --am-cream: #f7faf8;
  --am-shadow: 0 18px 40px rgba(0, 0, 0, .11);
  --aisov-accent: #c98a2e;
  --aisov-accent-soft: #f5e7c8;
  --aisov-heading-en: "Roboto Slab", Georgia, "Times New Roman", serif;
  --aisov-body-en: Barlow, "Trebuchet MS", sans-serif;
  --aisov-ease: cubic-bezier(.22, 1, .36, 1);
}

html[lang^="en"] body,
html[lang^="en"] button,
html[lang^="en"] input,
html[lang^="en"] select,
html[lang^="en"] textarea,
html[lang^="en"] .aisov-modern-elementor-home .aisov-elementor-home-block p {
  font-family: var(--aisov-body-en) !important;
}

html[lang^="en"] :is(
  h1,
  h2,
  h3,
  .elementor-heading-title,
  .am-section-title h2,
  .am-purpose-head h2,
  .am-purpose-copy h2,
  .am-media-panel__head h3,
  .am-update-card h3,
  .am-event-card h3,
  .am-work-card h3,
  .am-cta h2
) {
  font-family: var(--aisov-heading-en) !important;
  letter-spacing: -.018em;
}

html[lang^="fa"] :is(h1, h2, h3, .elementor-heading-title) {
  line-height: 1.45 !important;
}

body.aisov-modern-home,
body.aisov-modern-page {
  color: var(--am-ink);
  background: var(--am-cream);
  font-family: var(--aisov-body-en);
  text-rendering: optimizeLegibility;
}

body.aisov-modern-home :is(p, li),
body.aisov-modern-page :is(p, li) {
  text-wrap: pretty;
}

:is(.am-kicker, .am-news-date, .am-media-label, .am-cta span),
.am-board-card span,
.am-report-feature .am-kicker,
.am-resource-card span {
  letter-spacing: .015em !important;
  text-transform: none !important;
}

.ar-hero-slide__copy > .am-kicker {
  display: none !important;
}

.am-container {
  width: min(1220px, calc(100% - 56px));
}

.am-topbar {
  background: #0d3b2c;
  padding-block: 5px;
}

.am-topbar__inner {
  min-height: 32px;
}

.am-topbar :is(a, button) {
  min-height: 36px;
}

.am-topbar :is(.am-phone, .am-language, .am-top-join) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin-block: 0;
  padding-block: 0;
  line-height: 1;
}

.am-header {
  border-bottom-color: rgba(24, 48, 39, .1);
  background: rgba(255, 255, 253, .96);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .055);
  backdrop-filter: blur(16px) saturate(125%);
}

.am-nav {
  min-height: 102px;
}

.am-menu {
  gap: clamp(18px, 2.1vw, 32px);
  font-family: var(--aisov-body-en);
}

.am-menu a {
  text-underline-offset: .28em;
}

.am-menu a:hover,
.am-menu a:focus-visible {
  color: var(--am-green-dark);
}

.am-menu a.is-current::after {
  bottom: -14px;
  height: 2px;
  border-radius: 2px;
  background: var(--aisov-accent);
}

.am-submenu {
  border-color: var(--am-line);
  border-radius: 10px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, .11);
  transition: opacity .2s var(--aisov-ease), transform .2s var(--aisov-ease);
}

.am-submenu a {
  border-radius: 6px;
  white-space: normal;
}

.am-submenu a:hover,
.am-submenu a:focus-visible {
  background: var(--am-soft);
}

:is(a, button, input, select, textarea):focus-visible {
  outline: 3px solid #e0ac52 !important;
  outline-offset: 3px;
}

.am-btn,
.am-join,
.am-top-join,
.elementor-button {
  transition:
    color .2s var(--aisov-ease),
    background-color .2s var(--aisov-ease),
    border-color .2s var(--aisov-ease),
    box-shadow .2s var(--aisov-ease),
    transform .2s var(--aisov-ease);
}

.am-btn {
  box-sizing: border-box;
  padding-block: .75rem;
  line-height: 1.3;
}

.am-btn--primary,
.am-join,
.am-top-join {
  background: var(--am-green);
  box-shadow: none;
}

.am-btn--primary:hover,
.am-btn--primary:focus-visible,
.am-join:hover,
.am-join:focus-visible,
.am-top-join:hover,
.am-top-join:focus-visible {
  background: var(--am-green-dark);
  color: #fff;
  box-shadow: none;
  transform: translateY(-1px);
}

.am-btn--secondary {
  border-color: var(--am-line);
  background: #fff;
}

.am-section {
  padding-block: clamp(64px, 7vw, 96px);
}

.am-section--compact {
  padding-block: clamp(44px, 5vw, 64px);
}

.am-section--soft,
.am-focus-section,
.am-news-support,
.ar-privacy-brief {
  background: var(--am-soft);
}

.am-section-title {
  align-items: end;
  margin-bottom: clamp(24px, 3vw, 36px);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--am-line);
}

.am-section-title h2,
.aisov-modern-elementor-home .am-section-title h2 {
  color: var(--am-ink);
  font-size: clamp(1.75rem, 3vw, 2.7rem) !important;
  line-height: 1.16 !important;
}

.am-section-title a,
.ar-text-link {
  padding-block: .35rem;
  color: var(--am-green-dark);
  text-decoration: underline;
  text-decoration-color: rgba(7, 90, 55, .32);
  text-decoration-thickness: 1px;
  text-underline-offset: .3em;
}

.am-section-title a:hover,
.am-section-title a:focus-visible,
.ar-text-link:hover,
.ar-text-link:focus-visible {
  text-decoration-color: currentColor;
}

.ar-home-hero,
.ar-hero-slide,
.ar-hero-slide__copy {
  min-height: clamp(34rem, 66vh, 44rem);
}

.ar-hero-slide > img {
  filter: saturate(.88) contrast(1.04);
  transform: scale(1.01);
}

.ar-hero-slide__overlay {
  background:
    linear-gradient(90deg, rgba(5, 30, 23, .94) 0%, rgba(5, 30, 23, .72) 42%, rgba(5, 30, 23, .22) 78%),
    linear-gradient(0deg, rgba(7, 34, 26, .38), transparent 46%);
}

html[dir="rtl"] .ar-hero-slide__overlay {
  background:
    linear-gradient(270deg, rgba(5, 30, 23, .94) 0%, rgba(5, 30, 23, .72) 42%, rgba(5, 30, 23, .22) 78%),
    linear-gradient(0deg, rgba(7, 34, 26, .38), transparent 46%);
}

.ar-hero-slide__copy {
  width: min(1220px, calc(100% - 56px));
  padding-block: clamp(4.5rem, 8vw, 7rem);
}

.ar-hero-slide__copy h1,
.aisov-modern-elementor-home .ar-hero-slide__copy h1 {
  max-width: 15ch;
  margin: 0 0 1.15rem !important;
  font-size: clamp(3rem, 5.4vw, 4.85rem) !important;
  font-weight: 700 !important;
  line-height: 1.06 !important;
  text-wrap: balance;
}

html[dir="rtl"] .ar-hero-slide__copy h1,
html[dir="rtl"] .aisov-modern-elementor-home .ar-hero-slide__copy h1 {
  max-width: 18ch;
  line-height: 1.4 !important;
}

.ar-hero-slide__copy p,
.aisov-modern-elementor-home .ar-hero-slide__copy p {
  max-width: 62ch;
  margin: 0 0 1.75rem !important;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.65 !important;
}

.ar-slider__controls--hero {
  bottom: 1.75rem;
  gap: .75rem;
}

.ar-slider__controls--hero > button:not([data-ar-dot]) {
  min-width: 5.6rem;
  min-height: 2.75rem;
  border-color: #fff;
  background: #0b2d22;
  box-shadow: none;
  backdrop-filter: none;
}

.ar-slider__dots button {
  width: .7rem;
  height: .7rem;
  border: 1px solid rgba(255, 255, 255, .78);
}

.ar-vision {
  max-width: 68rem;
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
}

.ar-vision h2,
.aisov-modern-elementor-home .ar-vision h2 {
  max-width: 22ch;
  margin: .35em 0 !important;
  color: var(--am-ink);
  font-size: clamp(2.25rem, 4.3vw, 3.85rem) !important;
  font-weight: 700 !important;
  line-height: 1.12 !important;
  text-wrap: balance;
}

.ar-vision p,
.aisov-modern-elementor-home .ar-vision p {
  max-width: 72ch;
  color: var(--am-muted);
  font-size: clamp(1.08rem, 1.35vw, 1.2rem);
  line-height: 1.78 !important;
}

:is(
  .ar-focus-card,
  .ar-update-card,
  .am-card,
  .am-focus-card,
  .am-news-card,
  .am-event-card,
  .am-gallery-album,
  .am-gallery-photo,
  .am-archive-issue,
  .am-board-card,
  .am-report-feature,
  .am-report-archive,
  .am-pdf-panel,
  .am-resource-card,
  .am-membership-panel,
  .am-membership-aside,
  .am-contact-panel,
  .am-contact-map,
  .am-content-body,
  .am-single-aside,
  .am-purpose-copy,
  .am-media-panel,
  .am-media-card,
  .am-work-card
) {
  border-color: var(--am-line);
  box-shadow: none;
}

:is(.ar-focus-card, .ar-update-card, .am-card, .am-news-card, .am-event-card) {
  border-radius: 12px;
}

.ar-focus-card,
.ar-update-card,
.am-event-card,
.am-gallery-album,
.am-gallery-photo,
.am-archive-issue,
.am-resource-card {
  transition:
    border-color .24s var(--aisov-ease),
    background-color .24s var(--aisov-ease),
    transform .24s var(--aisov-ease);
}

.ar-focus-card:hover,
.ar-focus-card:focus-within,
.ar-update-card:hover,
.ar-update-card:focus-within,
.am-event-card:hover,
.am-event-card:focus-visible,
.am-gallery-album:hover,
.am-gallery-album:focus-visible,
.am-gallery-photo:hover,
.am-gallery-photo:focus-visible,
.am-archive-issue:hover,
.am-archive-issue:focus-visible,
.am-resource-card:hover,
.am-resource-card:focus-visible {
  border-color: rgba(8, 122, 69, .55);
  box-shadow: none;
  transform: translateY(-3px);
}

.ar-focus-card__image img {
  transition: transform .45s var(--aisov-ease), filter .45s var(--aisov-ease);
}

.ar-focus-card:hover .ar-focus-card__image img,
.ar-focus-card:focus-within .ar-focus-card__image img {
  filter: saturate(1.06);
  transform: scale(1.025);
}

.ar-focus-card__body,
.ar-update-card__body {
  padding: clamp(1.25rem, 2vw, 1.6rem);
}

.ar-focus-card__body h3,
.ar-update-card__body h3 {
  color: var(--am-ink);
  line-height: 1.28 !important;
}

.ar-focus-card__body p,
.ar-update-card__body p {
  color: var(--am-muted);
  line-height: 1.7 !important;
}

.ar-update-card__body > span {
  color: #597066;
}

.ar-updates-track {
  gap: 1.5rem;
  padding-block: .25rem 1.25rem;
}

.ar-privacy-brief {
  border-block: 1px solid rgba(8, 122, 69, .12);
}

.ar-privacy-brief__inner p {
  max-width: 66ch;
  color: var(--am-muted);
  line-height: 1.7 !important;
}

.am-page-hero__media::after {
  background:
    linear-gradient(90deg, rgba(5, 30, 23, .92), rgba(5, 30, 23, .58) 52%, rgba(5, 30, 23, .2)),
    linear-gradient(0deg, rgba(5, 30, 23, .3), transparent 52%);
}

html[dir="rtl"] .am-page-hero__media::after {
  background:
    linear-gradient(270deg, rgba(5, 30, 23, .92), rgba(5, 30, 23, .58) 52%, rgba(5, 30, 23, .2)),
    linear-gradient(0deg, rgba(5, 30, 23, .3), transparent 52%);
}

.am-page-hero__content {
  padding-block: clamp(72px, 9vw, 112px);
}

.am-page-hero h1 {
  max-width: 18ch;
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  text-wrap: balance;
}

.am-page-hero p {
  max-width: 62ch;
  font-weight: 500;
  line-height: 1.65;
}

.am-content-body {
  width: 100%;
  max-width: 980px;
  min-width: 0;
  box-sizing: border-box;
  justify-self: center;
  padding: clamp(1.5rem, 4vw, 3.25rem);
  border-radius: 12px;
}

/* Keep Elementor post content inside the responsive single-post grid. */
.am-single-layout {
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
}

.am-content-body :is(.elementor, .elementor-section, .elementor-container, .elementor-column, .elementor-widget-wrap, .elementor-widget) {
  min-width: 0;
  max-width: 100%;
}

.am-content-body :is(a, p, li, .elementor-button-text) {
  overflow-wrap: anywhere;
}

.am-content-body .elementor-button {
  max-width: 100%;
  white-space: normal;
}

.am-content-body :is(img, video, iframe) {
  max-width: 100%;
}

.am-content-body :is(p, li) {
  max-width: 72ch;
  color: var(--am-muted);
  line-height: 1.8;
}

.am-content-body :is(h2, h3, h4) {
  max-width: 28ch;
  color: var(--am-ink);
  text-wrap: balance;
}

.elementor-section.aisov-elementor-native-content {
  padding-inline: clamp(1.25rem, 4vw, 2rem) !important;
}

.elementor-section.aisov-elementor-native-content .elementor-widget-text-editor {
  color: var(--am-muted);
  line-height: 1.8;
}

.am-content-body--useful-information .elementor-button {
  min-height: 3.5rem;
  border-radius: 6px !important;
  background: var(--am-green) !important;
  font-family: var(--aisov-body-en) !important;
  letter-spacing: .01em;
  text-transform: none;
  box-shadow: none;
}

.am-content-body--useful-information .elementor-button:hover,
.am-content-body--useful-information .elementor-button:focus-visible {
  background: var(--am-green-dark) !important;
  border-color: var(--am-green-dark) !important;
}

.am-social-dock {
  border-color: rgba(24, 48, 39, .12);
  background: rgba(255, 255, 253, .94);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
}

.am-footer {
  border-top: 4px solid var(--aisov-accent);
  background: #10271f;
}

.am-footer a {
  text-underline-offset: .25em;
}

.am-footer a:hover,
.am-footer a:focus-visible {
  color: #f2c46f;
  text-decoration: underline;
}

.am-header {
  position: relative;
  z-index: 1100 !important;
  overflow: visible;
  isolation: isolate;
}

.am-nav {
  position: relative;
  z-index: 1101;
}

.am-menu {
  z-index: 1102;
}

.am-submenu {
  z-index: 1103;
}

@media (max-width: 1024px) {
  .am-menu {
    z-index: 1102 !important;
    border-top-color: var(--am-line) !important;
    background: #fffefb !important;
    box-shadow: 0 18px 36px rgba(0, 0, 0, .16) !important;
  }

  .am-menu > :is(a, .am-menu-item),
  .am-menu-item > a {
    min-height: 44px;
  }

  .ar-privacy-brief__inner {
    gap: 1.5rem 2rem;
  }
}

@media (max-width: 680px) {
  .am-container,
  .ar-hero-slide__copy {
    width: calc(100% - 40px) !important;
  }

  .am-topbar__inner {
    min-height: 32px;
  }

  .am-nav {
    min-height: 86px;
  }

  .am-brand img {
    width: min(148px, 42vw);
  }

  .ar-home-hero,
  .ar-hero-slide,
  .ar-hero-slide__copy {
    min-height: 31rem;
  }

  .ar-hero-slide__copy {
    justify-content: center;
    padding-block: 4rem 6.5rem;
  }

  .ar-hero-slide__copy h1,
  .aisov-modern-elementor-home .ar-hero-slide__copy h1 {
    max-width: 13ch;
    font-size: clamp(2.35rem, 11vw, 3.35rem) !important;
    line-height: 1.08 !important;
  }

  html[dir="rtl"] .ar-hero-slide__copy h1,
  html[dir="rtl"] .aisov-modern-elementor-home .ar-hero-slide__copy h1 {
    max-width: 16ch;
    font-size: clamp(2.15rem, 9.6vw, 3rem) !important;
    line-height: 1.48 !important;
  }

  .ar-hero-slide__copy p,
  .aisov-modern-elementor-home .ar-hero-slide__copy p {
    max-width: 34ch;
    font-size: 1rem;
    line-height: 1.65 !important;
  }

  .ar-slider__controls--hero {
    bottom: 1.35rem;
  }

  .ar-slider__controls--hero > button:not([data-ar-dot]) {
    display: inline-grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    min-width: 2.75rem;
    padding: 0;
    line-height: 0;
  }

  .ar-slider__controls--hero > button:not([data-ar-dot])::before {
    content: '';
    display: block;
    box-sizing: border-box;
    width: .58rem;
    height: .58rem;
    border: solid currentColor;
    border-width: 0 3px 3px 0;
    font-size: 0;
    line-height: 1;
    transform: rotate(135deg);
    transform-origin: center;
  }

  .ar-slider__controls--hero > button[data-ar-next]::before {
    transform: rotate(-45deg);
  }

  html[dir="rtl"] .ar-slider__controls--hero > button[data-ar-prev]::before {
    content: '';
    transform: rotate(-45deg);
  }

  html[dir="rtl"] .ar-slider__controls--hero > button[data-ar-next]::before {
    content: '';
    transform: rotate(135deg);
  }

  .am-section,
  .am-section--compact {
    padding-block: 52px;
  }

  .am-section-title {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }

  .ar-vision h2,
  .aisov-modern-elementor-home .ar-vision h2 {
    font-size: clamp(2rem, 9.5vw, 2.75rem) !important;
  }

  .ar-focus-card__body,
  .ar-update-card__body {
    padding: 1.35rem;
  }

  .ar-updates-track {
    grid-auto-columns: minmax(17rem, 88%);
  }

  .ar-privacy-brief__inner {
    gap: 1.25rem;
  }

  .am-page-hero__content {
    padding-block: 64px;
  }

  .am-content-body {
    padding: 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Keep the four solidarity content sections distinct after Elementor resets. */
body:is(.page-id-11147, .page-id-11148, .page-id-11149, .page-id-11150, .page-id-11174, .page-id-11175, .page-id-11176, .page-id-11177)
  .am-elementor-page-content
  .elementor-section.aisov-solidarity-section {
  padding-block: clamp(56px, 7vw, 88px) !important;
}

body:is(.page-id-11147, .page-id-11148, .page-id-11149, .page-id-11150, .page-id-11174, .page-id-11175, .page-id-11176, .page-id-11177)
  .am-elementor-page-content
  .elementor-section.aisov-solidarity-section
  + .elementor-section.aisov-solidarity-section {
  margin-top: clamp(24px, 3vw, 40px) !important;
}

body:is(.page-id-11147, .page-id-11148, .page-id-11149, .page-id-11150, .page-id-11174, .page-id-11175, .page-id-11176, .page-id-11177)
  .am-elementor-page-content
  .elementor-section.aisov-solidarity-cta {
  padding-block: clamp(56px, 7vw, 88px) !important;
}

@media (max-width: 760px) {
  body:is(.page-id-11147, .page-id-11148, .page-id-11149, .page-id-11150, .page-id-11174, .page-id-11175, .page-id-11176, .page-id-11177)
    .am-elementor-page-content
    .elementor-section.aisov-solidarity-section {
    padding-block: 48px !important;
  }

  body:is(.page-id-11147, .page-id-11148, .page-id-11149, .page-id-11150, .page-id-11174, .page-id-11175, .page-id-11176, .page-id-11177)
    .am-elementor-page-content
    .elementor-section.aisov-solidarity-section
    + .elementor-section.aisov-solidarity-section {
    margin-top: 18px !important;
  }
}

/* Useful Information v64: matched English/Persian Elementor resource groups. */
.am-content-body--useful-information {
  width: 100%;
  max-width: none;
  padding: 0;
}

.aisov-useful-section {
  margin: 0 !important;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 !important;
}

.aisov-useful-section:nth-child(even) {
  border-block: 1px solid var(--am-line);
  background: var(--am-soft);
}

.aisov-useful-section > .elementor-container {
  width: min(1120px, calc(100% - 40px));
  max-width: none !important;
  margin-inline: auto;
}

.aisov-useful-section > .elementor-container > .elementor-column {
  width: 100% !important;
  min-width: 0;
}

.aisov-useful-section .elementor-widget-wrap {
  padding: 0 !important;
}

.aisov-useful-section .elementor-widget-heading {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem) !important;
}

.aisov-useful-section .elementor-widget-heading h2 {
  max-width: none;
  margin: 0 !important;
  color: var(--am-ink);
  font-size: clamp(1.9rem, 3.7vw, 3rem) !important;
  font-weight: 700;
  line-height: 1.15;
  text-wrap: balance;
}

.aisov-resource-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.aisov-resource-card {
  display: flex;
  min-width: 0;
  min-height: 13rem;
  flex-direction: column;
  padding: clamp(1.4rem, 2.6vw, 2rem);
  border: 1px solid rgba(24, 48, 39, .12);
  border-radius: 14px;
  background: #fffefb;
  box-shadow: 0 14px 32px rgba(20, 46, 36, .07);
}

.aisov-resource-card h3 {
  margin: 0 0 1.5rem;
  color: var(--am-ink);
  font-family: var(--aisov-heading-en);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.25;
  text-wrap: balance;
}

.aisov-resource-link,
.aisov-resource-support-link {
  display: flex;
  min-width: 0;
  min-height: 3.35rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1rem;
  border: 1px solid var(--am-green);
  border-radius: 8px;
  background: var(--am-green);
  color: #fff !important;
  font-family: var(--aisov-body-en);
  font-size: .93rem;
  font-weight: 750;
  line-height: 1.35;
  text-decoration: none !important;
  overflow-wrap: anywhere;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.aisov-resource-card .aisov-resource-link {
  margin-top: auto;
}

.aisov-resource-link:hover,
.aisov-resource-link:focus-visible,
.aisov-resource-support-link:hover,
.aisov-resource-support-link:focus-visible {
  border-color: var(--am-green-dark);
  background: var(--am-green-dark);
  color: #fff !important;
  transform: translateY(-1px);
}

.aisov-resource-link span:first-child,
.aisov-resource-support-link span:first-child {
  min-width: 0;
  flex: 1 1 auto;
}

.aisov-resource-link span:last-child,
.aisov-resource-support-link span:last-child {
  flex: 0 0 auto;
  font-size: 1.1rem;
}

.aisov-resource-support-panel {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 16px;
  background: var(--am-ink);
  box-shadow: 0 18px 42px rgba(13, 43, 33, .14);
}

.aisov-resource-support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.aisov-resource-support-link {
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .1);
}

html[dir="rtl"] .aisov-useful-section .elementor-widget-heading h2,
html[dir="rtl"] .aisov-resource-card,
html[dir="rtl"] .aisov-resource-link,
html[dir="rtl"] .aisov-resource-support-link {
  text-align: right;
}

html[dir="rtl"] .aisov-resource-card h3,
html[dir="rtl"] .aisov-resource-link,
html[dir="rtl"] .aisov-resource-support-link {
  font-family: Gandom, Tahoma, "Segoe UI", Arial, sans-serif;
}

@media (max-width: 900px) {
  .aisov-resource-card-grid,
  .aisov-resource-support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .aisov-useful-section {
    padding-block: 3rem !important;
  }

  .aisov-useful-section > .elementor-container {
    width: min(100% - 28px, 1120px);
  }

  .aisov-resource-card-grid,
  .aisov-resource-support-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .aisov-resource-card {
    min-height: 0;
  }
}

/* Membership application v66: bilingual landing content and native PMPro checkout. */
body:is(.page-id-6956, .page-id-11180) .am-elementor-page-content {
  overflow: clip;
  background: #fffdf9;
}

body:is(.page-id-6956, .page-id-11180) .elementor-section.aisov-membership-section {
  margin: 0 !important;
  padding: clamp(4rem, 7vw, 6.5rem) 0 !important;
}

body:is(.page-id-6956, .page-id-11180) .aisov-membership-section > .elementor-container {
  width: min(1160px, calc(100% - 48px));
  max-width: none !important;
  margin-inline: auto;
}

body:is(.page-id-6956, .page-id-11180) .aisov-membership-section .elementor-widget-wrap {
  padding: 0 !important;
}

.aisov-membership-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(34rem, 64vw, 46rem);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(circle at 82% 20%, rgba(202,162,69,.28), transparent 32%), linear-gradient(125deg, #082d25, #174d3c 56%, #296b52);
}

.aisov-membership-hero::before,
.aisov-membership-hero::after {
  position: absolute;
  z-index: -1;
  width: clamp(14rem, 36vw, 32rem);
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  content: "";
}

.aisov-membership-hero::before { inset: -12% -6% auto auto; }
.aisov-membership-hero::after { width: clamp(9rem, 23vw, 19rem); inset: auto auto -16% 9%; }

.aisov-membership-hero-inner {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
  padding-block: clamp(5rem, 9vw, 8rem);
}

.aisov-membership-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 1.4rem;
  color: #f3d787;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.aisov-membership-eyebrow::before {
  width: 2rem;
  height: 2px;
  background: currentColor;
  content: "";
}

.aisov-membership-hero h1 {
  max-width: 13ch;
  margin: 0 !important;
  color: #fff !important;
  font-size: clamp(2.8rem, 7vw, 5.75rem) !important;
  font-weight: 720 !important;
  letter-spacing: -.045em;
  line-height: .98 !important;
  text-wrap: balance;
}

.aisov-membership-hero-copy {
  max-width: 700px;
  margin: 1.6rem 0 0;
  color: rgba(255,255,255,.85);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.75;
}

.aisov-membership-hero-meta,
.aisov-membership-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.aisov-membership-hero-meta { margin-top: 2.25rem; }

.aisov-membership-price {
  display: inline-flex;
  align-items: baseline;
  gap: .55rem;
  padding: .85rem 1.15rem;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 10px;
  background: rgba(255,255,255,.1);
}

.aisov-membership-price strong { color: #fff; font-size: 1.5rem; }
.aisov-membership-price span { color: rgba(255,255,255,.76); font-size: .9rem; }

.aisov-membership-button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  padding: .85rem 1.25rem;
  border: 1px solid #f0cf70;
  border-radius: 8px;
  background: #f0cf70;
  color: #173d31 !important;
  font-weight: 800;
  text-decoration: none !important;
  transition: transform .18s ease, background-color .18s ease;
}

.aisov-membership-button--ghost { border-color: rgba(255,255,255,.38); background: transparent; color: #fff !important; }
.aisov-membership-button:hover, .aisov-membership-button:focus-visible { transform: translateY(-2px); }

.aisov-membership-section-heading { max-width: 740px; margin-bottom: clamp(2rem,4vw,3rem); }
.aisov-membership-section-heading h2,
.aisov-membership-details h2,
.aisov-membership-form-intro h2 {
  margin: 0 0 1rem;
  color: var(--am-ink);
  font-size: clamp(2rem,4.2vw,3.35rem);
  font-weight: 720;
  letter-spacing: -.03em;
  line-height: 1.08;
  text-wrap: balance;
}

.aisov-membership-section :is(p, li) { line-height: 1.72; }
.aisov-membership-section-heading p, .aisov-membership-details p, .aisov-membership-form-intro p { margin: 0; color: var(--am-muted); font-size: 1.05rem; }

.aisov-membership-benefits {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1.25rem;
}

.aisov-membership-benefit {
  min-width: 0;
  padding: clamp(1.5rem,3vw,2rem);
  border: 1px solid rgba(23,77,60,.14);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(10,49,38,.07);
}

.aisov-membership-benefit-mark {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 1.4rem;
  place-items: center;
  border-radius: 50%;
  background: #e3f0e9;
  color: var(--am-green-dark);
  font-weight: 850;
}

.aisov-membership-benefit h3 { margin: 0 0 .65rem; color: var(--am-ink); font-size: 1.35rem; }
.aisov-membership-benefit p { margin: 0; color: var(--am-muted); }

.aisov-membership-details-section { border-block: 1px solid var(--am-line); background: #f3f7f3; }
.aisov-membership-details-grid { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(19rem,.92fr); align-items: start; gap: clamp(2rem,6vw,5rem); }
.aisov-membership-checklist { display: grid; gap: .9rem; margin: 1.8rem 0 0; padding: 0; list-style: none; }
.aisov-membership-checklist li { position: relative; padding-inline-start: 2rem; color: var(--am-ink); }
.aisov-membership-checklist li::before { position: absolute; inset: .17rem auto auto 0; display: grid; width: 1.25rem; height: 1.25rem; place-items: center; border-radius: 50%; background: var(--am-green); color: #fff; content: "✓"; font-size: .75rem; font-weight: 900; }

.aisov-membership-tier-card { padding: clamp(1.75rem,4vw,2.5rem); border-radius: 16px; background: var(--am-ink); color: #fff; box-shadow: 0 24px 54px rgba(10,45,35,.16); }
.aisov-membership-tier-label { margin: 0 0 .7rem; color: #f0cf70 !important; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.aisov-membership-tier-card h3 { margin: 0; color: #fff; font-size: 1.65rem; }
.aisov-membership-tier-cost { display: flex; align-items: baseline; gap: .55rem; margin: 1rem 0 1.4rem; }
.aisov-membership-tier-cost strong { color: #fff !important; font-size: clamp(2.5rem,5vw,3.6rem); line-height: 1; }
.aisov-membership-tier-card p, .aisov-membership-tier-cost span { color: rgba(255,255,255,.78); }
.aisov-membership-review-note { margin-top: 1.4rem !important; padding: 1rem 1.1rem; border-inline-start: 3px solid #f0cf70; background: rgba(255,255,255,.08); }
.aisov-membership-review-note strong { color: #f3d787 !important; }

.aisov-membership-form-intro-section { padding-bottom: clamp(2.25rem,4vw,3.5rem) !important; }
.aisov-membership-form-intro { max-width: 800px; }
.aisov-membership-form-section { padding-top: 0 !important; }
.aisov-membership-form-section > .elementor-container { width: min(920px,calc(100% - 48px)) !important; }
.aisov-membership-form-section .pmpro { width: 100%; }

.aisov-membership-form-section .pmpro_card,
.aisov-membership-form-section .pmpro_form_fieldset > .pmpro_card {
  margin: 0 0 1.5rem;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(23,77,60,.16);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(10,49,38,.06);
}

.aisov-membership-form-section .pmpro_card_title,
.aisov-membership-form-section .pmpro_form_legend {
  width: 100%;
  margin: 0;
  padding: 1.35rem clamp(1.25rem,4vw,2rem);
  border-bottom: 1px solid rgba(23,77,60,.12);
  background: #eff5f0;
}

.aisov-membership-form-section .pmpro_card_title,
.aisov-membership-form-section .pmpro_form_legend h2 { color: var(--am-ink); font-size: clamp(1.25rem,2.5vw,1.6rem) !important; font-weight: 750; }
.aisov-membership-form-section .pmpro_card_content { padding: clamp(1.35rem,4vw,2rem); }
.aisov-membership-form-section .pmpro_form_fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.15rem 1.25rem; }
.aisov-membership-form-section .pmpro_form_field { min-width: 0; margin: 0; }
.aisov-membership-form-section #pmpro_user_fields :is(.pmpro_form_field-username, .pmpro_cols-2) { grid-column: 1 / -1; }
.aisov-membership-form-section :is(.pmpro_form_field-checkbox,.pmpro_form_field-checkbox_grouped,.pmpro_form_field-textarea,.pmpro_form_field-description,.pmpro_form_field-html) { grid-column: 1 / -1; }
.aisov-membership-form-section .pmpro_form_label:not(.pmpro_form_label-inline) { display: block; margin-bottom: .48rem; color: var(--am-ink); font-size: .92rem; font-weight: 750; }

.aisov-membership-form-section :is(input[type="text"],input[type="email"],input[type="password"],input[type="date"],input[type="tel"],select,textarea) {
  width: 100%;
  max-width: none;
  min-height: 3.2rem;
  padding: .78rem .9rem;
  border: 1px solid #bccbc3;
  border-radius: 7px;
  background: #fff;
  color: var(--am-ink);
  font: inherit;
}

.aisov-membership-form-section textarea { min-height: 8rem; resize: vertical; }
.aisov-membership-form-section :is(input,select,textarea):focus-visible { border-color: var(--am-green); outline: 0; box-shadow: 0 0 0 3px rgba(34,108,82,.14); }
.aisov-membership-form-section input[type="checkbox"] { width: 1.2rem; height: 1.2rem; flex: 0 0 auto; margin: .18rem .55rem 0 0; accent-color: var(--am-green); }
.aisov-membership-form-section :is(.pmpro_form_label-inline,.pmpro_form_field-checkbox-grouped-item) { display: flex; align-items: flex-start; gap: .3rem; color: var(--am-ink); line-height: 1.55; }
.aisov-membership-form-section .pmpro_form_fieldset-description, .aisov-membership-form-section .pmpro_level_description_text { color: var(--am-muted); line-height: 1.72; }
.aisov-membership-form-section .pmpro_form_fieldset-description { margin-bottom: 1.35rem; }
.aisov-membership-form-section .pmpro_level_description_text p { margin: 0 0 1rem; }
.aisov-membership-form-section .pmpro_level_description_text ul { padding-inline-start: 1.3rem; }
.aisov-membership-form-section .aisov-membership-applicant-note { margin-top: 1.25rem; padding: 1rem 1.1rem; border-inline-start: 3px solid #c89b31; border-radius: 0 8px 8px 0; background: #fff8e5; color: #514526; }
.aisov-membership-form-section #pmpro_level_cost { margin-top: 1.25rem; padding-top: 1.15rem; border-top: 1px solid var(--am-line); color: var(--am-ink); }

.aisov-membership-form-section .pmpro_btn,
.aisov-membership-form-section input[type="submit"] { min-height: 3.2rem; padding: .8rem 1.2rem; border: 1px solid var(--am-green); border-radius: 7px; background: var(--am-green); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.aisov-membership-form-section .pmpro_btn:hover, .aisov-membership-form-section input[type="submit"]:hover { border-color: var(--am-green-dark); background: var(--am-green-dark); }
.aisov-membership-form-section #pmpro_btn-submit { width: 100%; margin-top: .75rem; }

.aisov-membership-help-section { padding-top: 0 !important; }
.aisov-membership-help { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: clamp(1.4rem,3vw,2rem); border: 1px solid rgba(23,77,60,.14); border-radius: 12px; background: #f3f7f3; }
.aisov-membership-help h2 { margin: 0 0 .35rem; color: var(--am-ink); font-size: 1.25rem; }
.aisov-membership-help p { margin: 0; color: var(--am-muted); }
.aisov-membership-help a { flex: 0 0 auto; color: var(--am-green-dark); font-weight: 800; }

html[dir="rtl"] :is(.aisov-membership-hero,.aisov-membership-section,.aisov-membership-form-section .pmpro) { direction: rtl; text-align: right; }
html[dir="rtl"] .aisov-membership-section :is(h1,h2,h3,p,label,input,textarea,select,button) { font-family: Gandom,Tahoma,"Segoe UI",Arial,sans-serif; }
html[dir="rtl"] .aisov-membership-checklist li::before { inset-inline: 0 auto; }
html[dir="rtl"] .aisov-membership-form-section input[type="checkbox"] { margin: .18rem 0 0 .55rem; }
html[dir="rtl"] .aisov-membership-form-section .aisov-membership-applicant-note { border-radius: 8px 0 0 8px; }

@media (max-width: 860px) {
  .aisov-membership-benefits { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .aisov-membership-benefit:last-child { grid-column: 1 / -1; }
  .aisov-membership-details-grid { grid-template-columns: minmax(0,1fr); }
}

@media (max-width: 620px) {
  body:is(.page-id-6956,.page-id-11180) .elementor-section.aisov-membership-section { padding-block: 3.25rem !important; }
  body:is(.page-id-6956,.page-id-11180) .aisov-membership-section > .elementor-container,
  .aisov-membership-hero-inner,
  .aisov-membership-form-section > .elementor-container { width: min(100% - 28px,1160px) !important; }
  .aisov-membership-hero { min-height: 0; }
  .aisov-membership-hero-inner { padding-block: 4.5rem; }
  .aisov-membership-hero h1 { font-size: clamp(2.45rem,13vw,3.75rem) !important; }
  .aisov-membership-hero-meta, .aisov-membership-actions, .aisov-membership-help { align-items: stretch; flex-direction: column; }
  .aisov-membership-price, .aisov-membership-button { justify-content: center; }
  .aisov-membership-benefits, .aisov-membership-form-section .pmpro_form_fields { grid-template-columns: minmax(0,1fr); }
  .aisov-membership-benefit:last-child, .aisov-membership-form-section .pmpro_form_field { grid-column: auto; }
  .aisov-membership-form-section :is(.pmpro_card_title,.pmpro_form_legend,.pmpro_card_content) { padding-inline: 1rem; }
  .aisov-membership-help a { flex: auto; overflow-wrap: anywhere; }
}

/* Modern bilingual Contact page. The content remains fully Elementor-managed. */
body:is(.page-id-1351,.page-id-7939) main > .am-section {
  padding-block: 0;
}

body:is(.page-id-1351,.page-id-7939) main > .am-section > .am-container {
  width: 100%;
  max-width: none;
  padding: 0;
}

body:is(.page-id-1351,.page-id-7939) .am-content-body {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body:is(.page-id-1351,.page-id-7939) .am-content-body > .elementor {
  width: 100%;
}

body:is(.page-id-1351,.page-id-7939) .elementor-section.aisov-contact-section {
  margin: 0 !important;
  padding: clamp(4.25rem,7vw,6.5rem) 0 !important;
}

body:is(.page-id-1351,.page-id-7939) .aisov-contact-section > .elementor-container {
  width: min(1160px,calc(100% - 48px));
  max-width: none !important;
  margin-inline: auto;
}

body:is(.page-id-1351,.page-id-7939) .aisov-contact-section .elementor-widget-wrap,
body:is(.page-id-1351,.page-id-7939) .aisov-contact-section .elementor-widget-container {
  min-width: 0;
}

.aisov-contact-kicker {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 1rem;
  color: var(--am-green-dark);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.aisov-contact-kicker::before {
  width: 2rem;
  height: 2px;
  background: var(--am-green);
  content: "";
}

.aisov-contact-heading {
  max-width: 800px;
  margin-bottom: clamp(2.3rem,5vw,3.8rem);
}

.aisov-contact-heading h2,
.aisov-contact-form-header h2,
.aisov-contact-visit-copy h2 {
  margin: 0 0 1rem;
  color: var(--am-ink);
  font-size: clamp(2rem,4.5vw,3.5rem);
  font-weight: 780;
  letter-spacing: -.035em;
  line-height: 1.08;
  text-wrap: balance;
}

.aisov-contact-heading p,
.aisov-contact-form-header p,
.aisov-contact-visit-copy > p {
  max-width: 720px;
  margin: 0;
  color: var(--am-muted);
  font-size: clamp(1rem,1.7vw,1.14rem);
  line-height: 1.78;
}

.aisov-contact-cards {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1rem;
}

.aisov-contact-card {
  position: relative;
  display: flex;
  min-height: 15rem;
  flex-direction: column;
  padding: clamp(1.45rem,3vw,2rem);
  overflow: hidden;
  border: 1px solid rgba(23,77,60,.15);
  border-radius: 16px;
  background: #fff;
  color: var(--am-ink) !important;
  box-shadow: 0 16px 42px rgba(10,49,38,.07);
  text-decoration: none !important;
  transition: transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}

.aisov-contact-card:hover,
.aisov-contact-card:focus-visible {
  border-color: rgba(8,122,69,.5);
  box-shadow: 0 22px 50px rgba(10,49,38,.12);
  transform: translateY(-3px);
}

.aisov-contact-card__mark {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1.6rem;
  place-items: center;
  border-radius: 50%;
  background: #e8f3ed;
  color: var(--am-green-dark);
  font-size: .78rem;
  font-weight: 900;
}

.aisov-contact-card h3 {
  margin: 0 0 .65rem;
  color: var(--am-ink);
  font-size: 1.35rem;
  font-weight: 780;
}

.aisov-contact-card p {
  margin: 0 0 1.5rem;
  color: var(--am-muted);
  line-height: 1.65;
}

.aisov-contact-card__action {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: auto;
  color: var(--am-green-dark);
  font-weight: 800;
}

.aisov-contact-card__action::after { content: "\2192"; }

body:is(.page-id-1351,.page-id-7939) .elementor-section.aisov-contact-form-section {
  border-block: 1px solid rgba(23,77,60,.1);
  background: #f3f7f3;
}

body:is(.page-id-1351,.page-id-7939) .aisov-contact-form-section > .elementor-container {
  display: grid !important;
  grid-template-columns: minmax(0,1.55fr) minmax(18rem,.72fr);
  align-items: start;
  gap: clamp(1.5rem,4vw,3rem);
}

body:is(.page-id-1351,.page-id-7939) .aisov-contact-form-section > .elementor-container > .elementor-column {
  width: 100% !important;
}

body:is(.page-id-1351,.page-id-7939) .aisov-contact-form-section > .elementor-container > .elementor-column:first-child > .elementor-widget-wrap {
  padding: clamp(1.5rem,4vw,2.75rem) !important;
  border: 1px solid rgba(23,77,60,.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(10,49,38,.07);
}

.aisov-contact-form-header { margin-bottom: 2rem; }
.aisov-contact-form-header h2 { font-size: clamp(1.9rem,4vw,3rem); }

.aisov-contact-form-section .wpcf7-form .row {
  display: grid !important;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 1.15rem 1.25rem;
  margin: 0 !important;
}

.aisov-contact-form-section .wpcf7-form :is(.col-md-12,.col-md-6) {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
}

.aisov-contact-form-section .wpcf7-form .col-md-12 { grid-column: 1 / -1; }
.aisov-contact-form-section .wpcf7-form .mb-4 { margin: 0 !important; }

.aisov-contact-form-section .wpcf7-form label {
  display: block;
  margin-bottom: .45rem;
  color: var(--am-ink);
  font-size: .92rem;
  font-weight: 780;
}

.aisov-contact-form-section .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.aisov-contact-form-section .wpcf7-form :is(input[type="text"],input[type="email"],input[type="tel"],textarea) {
  width: 100%;
  max-width: none;
  min-height: 3.25rem;
  margin: 0;
  padding: .82rem .9rem;
  border: 1px solid #b9c9c1;
  border-radius: 8px;
  background: #fff;
  color: var(--am-ink);
  font: inherit;
  box-shadow: none;
}

.aisov-contact-form-section .wpcf7-form textarea {
  min-height: 9rem;
  resize: vertical;
}

.aisov-contact-form-section .wpcf7-form :is(input,textarea):focus-visible {
  border-color: var(--am-green);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(8,122,69,.14);
}

.aisov-contact-form-section .wpcf7-submit {
  min-width: 10rem;
  min-height: 3.25rem;
  margin-top: 1.35rem;
  padding: .82rem 1.35rem;
  border: 1px solid var(--am-green);
  border-radius: 8px;
  background: var(--am-green);
  color: #fff;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.aisov-contact-form-section .wpcf7-submit:hover,
.aisov-contact-form-section .wpcf7-submit:focus-visible {
  border-color: var(--am-green-dark);
  background: var(--am-green-dark);
}

.aisov-contact-form-section .wpcf7-response-output {
  margin: 1.4rem 0 0 !important;
  padding: 1rem !important;
  border-radius: 8px;
}

.aisov-contact-guidance {
  position: sticky;
  top: 2rem;
  padding: clamp(1.65rem,3vw,2.25rem);
  border-radius: 18px;
  background: var(--am-ink);
  color: #fff;
  box-shadow: 0 22px 55px rgba(8,40,31,.16);
}

.aisov-contact-guidance h3 {
  margin: 0 0 .8rem;
  color: #fff;
  font-size: 1.55rem;
}

.aisov-contact-guidance > p {
  margin: 0;
  color: rgba(255,255,255,.78);
  line-height: 1.72;
}

.aisov-contact-guidance ul {
  display: grid;
  gap: .9rem;
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}

.aisov-contact-guidance li {
  position: relative;
  padding-inline-start: 1.6rem;
  color: rgba(255,255,255,.88);
  line-height: 1.58;
}

.aisov-contact-guidance li::before {
  position: absolute;
  inset: .48rem auto auto 0;
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: #f0cf70;
  content: "";
}

.aisov-contact-guidance a {
  color: #f0cf70 !important;
  font-weight: 800;
}

body:is(.page-id-1351,.page-id-7939) .aisov-contact-visit-section > .elementor-container {
  display: grid !important;
  grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr);
  align-items: center;
  gap: clamp(2rem,6vw,5rem);
}

body:is(.page-id-1351,.page-id-7939) .aisov-contact-visit-section > .elementor-container > .elementor-column {
  width: 100% !important;
}

.aisov-contact-address {
  margin: 1.5rem 0;
  padding: 1rem 1.1rem;
  border-inline-start: 3px solid var(--am-green);
  background: #f3f7f3;
  color: var(--am-ink);
  line-height: 1.65;
}

.aisov-contact-map-link {
  display: inline-flex;
  min-height: 3.2rem;
  align-items: center;
  justify-content: center;
  padding: .8rem 1.2rem;
  border: 1px solid var(--am-green);
  border-radius: 8px;
  background: var(--am-green);
  color: #fff !important;
  font-weight: 850;
  text-decoration: none !important;
}

.aisov-contact-visit-section .elementor-widget-image a {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(23,77,60,.14);
  border-radius: 18px;
  box-shadow: 0 20px 48px rgba(10,49,38,.1);
}

.aisov-contact-visit-section .elementor-widget-image img {
  display: block;
  width: 100%;
  min-height: 22rem;
  object-fit: cover;
  transition: transform .28s ease;
}

.aisov-contact-visit-section .elementor-widget-image a:hover img { transform: scale(1.015); }

html[dir="rtl"] .aisov-contact-section {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .aisov-contact-section :is(h2,h3,p,a,label,input,textarea,button) {
  font-family: Gandom,Tahoma,"Segoe UI",Arial,sans-serif;
}

html[dir="rtl"] .aisov-contact-kicker { letter-spacing: 0; }
html[dir="rtl"] .aisov-contact-card__action::after { content: "\2190"; }
html[dir="rtl"] .aisov-contact-guidance li::before { inset-inline: 0 auto; }
html[dir="rtl"] .aisov-contact-form-section .wpcf7-form :is(input,textarea) { text-align: right; }
html[dir="rtl"] .aisov-contact-form-section .wpcf7-form :is(input[type="email"],input[type="tel"]) { direction: ltr; text-align: left; }

@media (max-width: 900px) {
  .aisov-contact-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .aisov-contact-card:last-child { grid-column: 1 / -1; }
  body:is(.page-id-1351,.page-id-7939) :is(.aisov-contact-form-section,.aisov-contact-visit-section) > .elementor-container { grid-template-columns: minmax(0,1fr); }
  .aisov-contact-guidance { position: static; }
  .aisov-contact-visit-section .elementor-widget-image img { min-height: 18rem; }
}

@media (max-width: 620px) {
  body:is(.page-id-1351,.page-id-7939) .elementor-section.aisov-contact-section { padding-block: 3.5rem !important; }
  body:is(.page-id-1351,.page-id-7939) .aisov-contact-section > .elementor-container { width: min(100% - 28px,1160px); }
  .aisov-contact-cards { grid-template-columns: minmax(0,1fr); }
  .aisov-contact-card:last-child { grid-column: auto; }
  .aisov-contact-card { min-height: 0; }
  .aisov-contact-form-section .wpcf7-form .row { grid-template-columns: minmax(0,1fr); }
  .aisov-contact-form-section .wpcf7-form :is(.col-md-12,.col-md-6) { grid-column: auto; }
  .aisov-contact-form-section .wpcf7-submit,
  .aisov-contact-map-link { width: 100%; }
  .aisov-contact-visit-section .elementor-widget-image img { min-height: 14rem; }
}

@media (prefers-reduced-motion: reduce) {
  .aisov-contact-card,
  .aisov-contact-visit-section .elementor-widget-image img { transition: none; }
}
