/* =========================================================
   association.css
   Single association detail page (EfVET, EVBB, GICA…)
   ========================================================= */


.as-intro { padding: 24px 0 0; }


/* ============ HERO ============ */
.as-hero {
  padding: 28px 0 64px;
  background: var(--paper, #f5f3ef);
}

@media (max-width: 767.98px) {
  .as-hero { padding: 20px 0 48px; }
}

.as-hero__inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
}

@media (max-width: 880px) {
  .as-hero__inner {
    grid-template-columns: 1fr;
    gap: 28px;
    justify-items: start;
  }
  .as-hero__body { width: 100%; }
}

/* ---- Logo box ---- */
.as-hero__logo {
  aspect-ratio: 1 / 1;
  background: var(--white, #fff);
  border: 1px solid rgba(20, 20, 20, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.as-hero__logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 880px) {
  .as-hero__logo {
    max-width: 240px;
    padding: 32px;
  }
}


/* ---- Hero body ---- */
.as-hero__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 8px;
}

.as-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.as-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 11px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--ink, #141414);
  background: var(--white, #fff);
  border: 1px solid rgba(20, 20, 20, .12);
  border-radius: 999px;
}

.as-hero__tag--region {
  background: var(--ink, #141414);
  color: var(--white, #fff);
  border-color: var(--ink, #141414);
}

.as-hero__tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2bb673;
  box-shadow: 0 0 0 0 rgba(43, 182, 115, .45);
  animation: as-pulse 2.2s ease-out infinite;
}

@keyframes as-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(43, 182, 115, .45); }
  50%      { box-shadow: 0 0 0 6px rgba(43, 182, 115, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .as-hero__tag-dot { animation: none; }
}

.as-hero__title {
  font-family: "Inter", "Noto Sans Georgian", sans-serif;
  font-size: clamp(30px, 4.4vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.025em;
  color: var(--ink, #141414);
  margin: 4px 0 0;
  overflow-wrap: break-word;
}

.as-hero__full {
  font-size: 16px;
  font-weight: 500;
  color: rgba(20, 20, 20, .65);
  margin: 0;
  line-height: 1.4;
}

.as-hero__lede {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(20, 20, 20, .82);
  margin: 6px 0 12px;
  max-width: 56ch;
}

/* ---- 4-stat strip ---- */
.as-hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(20, 20, 20, .1);
  border: 1px solid rgba(20, 20, 20, .1);
  margin-top: 4px;
}

@media (max-width: 767.98px) {
  .as-hero__stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 379.98px) {
  .as-hero__stats { grid-template-columns: 1fr; }
}

.as-hero__stat {
  background: var(--paper, #f5f3ef);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.as-hero__stat-num {
  font-family: "Inter", "Noto Sans Georgian", sans-serif;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--red, #e11932);
}

.as-hero__stat-label {
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(20, 20, 20, .6);
  line-height: 1.4;
}


/* ============ BODY (content + sticky aside) ============ */
.as-body {
  padding: 80px 0 96px;
  background: var(--white, #fff);
}

@media (max-width: 980px) {
  .as-body { padding: 56px 0 64px; }
}

@media (max-width: 575.98px) {
  .as-body { padding: 40px 0 48px; }
}

.as-body__inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: start;
}

@media (max-width: 980px) {
  .as-body__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.as-content {
  display: flex;
  flex-direction: column;
  gap: 56px;
  min-width: 0;
}

@media (max-width: 575.98px) {
  .as-content { gap: 40px; }
}

.as-section { }

.as-section__title {
  font-family: "Inter", "Noto Sans Georgian", sans-serif;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--ink, #141414);
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(20, 20, 20, .08);
}

.as-section__lead {
  font-size: 17px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--ink, #141414);
  margin: 0 0 16px;
}

.as-section__text {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(20, 20, 20, .78);
  margin: 0 0 14px;
}

.as-section__text:last-child { margin-bottom: 0; }


/* ---- Checklist (our role) ---- */
.as-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: rgba(20, 20, 20, .08);
  border: 1px solid rgba(20, 20, 20, .08);
}

.as-checklist__item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 18px;
  padding: 22px 22px 24px;
  background: var(--white, #fff);
  align-items: start;
  transition: background var(--dur, .25s) var(--ease, cubic-bezier(.22,.61,.36,1));
}

@media (max-width: 479.98px) {
  .as-checklist__item {
    padding: 18px 16px 20px;
    gap: 14px;
  }
}

.as-checklist__item:hover {
  background: var(--paper, #f5f3ef);
}

.as-checklist__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red, #e11932);
  color: var(--white, #fff);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  flex-shrink: 0;
}

.as-checklist__icon svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
}

.as-checklist__title {
  font-family: "Inter", "Noto Sans Georgian", sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink, #141414);
  margin: 2px 0 6px;
}

.as-checklist__text {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(20, 20, 20, .72);
  margin: 0;
}


/* ---- Timeline alias (reuses .tm-list from team-member.css) ---- */
.as-timeline {
  /* Override in case team-member.css isn't loaded — provide fallback */
}

/* Standalone timeline styles (since team-member.css is NOT loaded here) */
.tm-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: rgba(20, 20, 20, .08);
  border: 1px solid rgba(20, 20, 20, .08);
}

.tm-list-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  padding: 22px 22px 24px;
  background: var(--white, #fff);
  transition: background var(--dur, .25s) var(--ease, cubic-bezier(.22,.61,.36,1));
}

@media (max-width: 640px) {
  .tm-list-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 479.98px) {
  .tm-list-item { padding: 18px 16px 20px; }
}

.tm-list-item:hover {
  background: var(--paper, #f5f3ef);
}

.tm-list-item__year {
  font-family: "Inter", monospace;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--red, #e11932);
  padding-top: 4px;
}

.tm-list-item__title {
  font-family: "Inter", "Noto Sans Georgian", sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink, #141414);
  margin: 0 0 4px;
}

.tm-list-item__meta {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: rgba(20, 20, 20, .55);
  letter-spacing: .02em;
  margin-bottom: 8px;
}

.tm-list-item__text {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(20, 20, 20, .72);
  margin: 0;
}


/* ---- Quote ---- */
.as-section--quote {
  background: var(--ink, #141414);
  color: var(--white, #fff);
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-left: 3px solid var(--red, #e11932);
}

@media (max-width: 600px) {
  .as-section--quote { padding: 28px 22px; }
}

@media (max-width: 379.98px) {
  .as-section--quote { padding: 22px 18px; }
}

.as-section--quote .as-section__title { display: none; }

.as-quote__eyebrow {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255, 255, 255, .55);
}

.as-quote__text {
  font-family: "Inter", "Noto Sans Georgian", sans-serif;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -.005em;
  color: var(--white, #fff);
  margin: 0;
  font-style: italic;
}

.as-quote__source {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, .65);
}


/* ============ STICKY ASIDE ============ */
.as-aside {
  position: sticky;
  top: calc(var(--header-h, 72px) + 24px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (max-width: 980px) {
  .as-aside {
    position: static;
    top: auto;
  }
}

.as-aside__card {
  background: var(--paper, #f5f3ef);
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.as-aside__card--dark {
  background: var(--ink, #141414);
  color: var(--white, #fff);
}

.as-aside__eyebrow {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(20, 20, 20, .55);
}

.as-aside__eyebrow--light,
.as-aside__card--dark .as-aside__eyebrow {
  color: rgba(255, 255, 255, .6);
}

.as-aside__facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.as-aside__facts li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(20, 20, 20, .08);
  align-items: baseline;
}

@media (max-width: 379.98px) {
  .as-aside__facts li {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 8px 0;
  }
}

.as-aside__facts li:last-child { border-bottom: 0; }

.as-aside__fact-label {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(20, 20, 20, .55);
}

.as-aside__fact-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink, #141414);
  line-height: 1.4;
}

.as-aside__cta-text {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .8);
  margin: 0;
}

.as-aside__cta-text-light {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(20, 20, 20, .72);
  margin: 0;
}

.as-aside__btn {
  width: 100%;
  justify-content: center;
}

.as-aside__btn-ghost {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  padding: 0 18px;
  background: transparent;
  color: var(--white, #fff);
  border: 1px solid rgba(255, 255, 255, .25);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .01em;
  text-decoration: none;
  transition: border-color var(--dur, .25s) var(--ease, cubic-bezier(.22,.61,.36,1)),
              background var(--dur, .25s) var(--ease, cubic-bezier(.22,.61,.36,1));
}

.as-aside__btn-ghost:hover {
  border-color: var(--white, #fff);
  background: rgba(255, 255, 255, .06);
}

.as-aside__btn-ghost svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}


/* ============ RELATED ASSOCIATIONS ============ */
.as-related {
  background: var(--paper, #f5f3ef);
  padding: 80px 0 96px;
  border-top: 1px solid rgba(20, 20, 20, .06);
}

@media (max-width: 767.98px) {
  .as-related { padding: 56px 0 64px; }
}

@media (max-width: 479.98px) {
  .as-related { padding: 40px 0 48px; }
}

.as-related__head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 32px;
}

.as-related__eyebrow {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--red, #e11932);
}

.as-related__title {
  font-family: "Inter", "Noto Sans Georgian", sans-serif;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--ink, #141414);
  margin: 0;
}

.as-related__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(20, 20, 20, .08);
  border: 1px solid rgba(20, 20, 20, .08);
}

@media (max-width: 980px) {
  .as-related__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .as-related__grid { grid-template-columns: 1fr; }
}

.as-related-card {
  background: var(--white, #fff);
  padding: 24px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  transition: background var(--dur, .25s) var(--ease, cubic-bezier(.22,.61,.36,1));
}

.as-related-card:hover {
  background: var(--paper, #f5f3ef);
}

.as-related-card__logo {
  aspect-ratio: 1 / 1;
  background: var(--paper, #f5f3ef);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  transition: background var(--dur, .25s) var(--ease, cubic-bezier(.22,.61,.36,1));
}

.as-related-card:hover .as-related-card__logo {
  background: var(--white, #fff);
}

.as-related-card__logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.as-related-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.as-related-card__region {
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(20, 20, 20, .55);
  margin-bottom: 2px;
}

.as-related-card__title {
  font-family: "Inter", "Noto Sans Georgian", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink, #141414);
  margin: 0;
  letter-spacing: -.01em;
}

.as-related-card__full {
  font-size: 12px;
  font-weight: 500;
  color: rgba(20, 20, 20, .58);
  line-height: 1.4;
  margin: 0;
}

.as-related__foot {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
