/* ============================================================
   Atheria Experience List widget
   Numbered list pulled from the Experience CPT: number + title
   on the left, excerpt in the middle, featured image on the
   right, each row separated by a divider. Row 1 only lightly
   shifts its own content on reveal; rows 2+ also slide the whole
   row in — see the specificity note on .ath-stagger below.
   ============================================================ */

.ath-exp-list {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(3rem, 2rem + 4vw, 6rem) 64px;
  box-sizing: border-box;
}

.ath-exp-list__inner {
  max-width: 100%;
  margin: 0 auto;
}

.ath-exp-list__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 5rem);
  align-items: end;
  padding-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border-bottom: 1px solid var(--ath-arctic-mist);
}

.ath-exp-list__eyebrow {
  display: inline-block;
  font-family: var(--ath-font-body, sans-serif);
  font-size: 0.6875rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ath-reflection);
  background: var(--ath-frost);
  border-radius: 100px;
  padding: 0.5rem 0.9rem;
  margin-bottom: 1.25rem;
}

.ath-exp-list__heading {
  font-family: var(--ath-font-heading, serif);
  font-weight: var(--ath-fw-heading-l, 450);
  font-size: var(--ath-size-heading-xl);
  line-height: 1.1;
  color: var(--ath-text);
  margin: 0;
}

.ath-exp-list__heading .ath-muted-text {
  color: var(--ath-muted);
}

.ath-exp-list__intro {
  font-family: var(--ath-font-body, sans-serif);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ath-muted);
  margin: 0 0 0 auto;
  max-width: 500px;
}

.ath-exp-list__rows {
  display: flex;
  flex-direction: column;
}

.ath-exp-list__row {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--ath-arctic-mist);
}

.ath-exp-list__row-inner {
  display: grid;
  grid-template-columns: minmax(auto, 328px) minmax(auto, 332px) 405px;
  justify-content: space-between;
  gap: 2rem;
  align-items: start;
  padding: 24px 0;
}

.ath-exp-list__col--title {
  display: flex;
  flex-direction: column;
}

.ath-exp-list__num {
  font-family: var(--ath-font-body, sans-serif);
  font-size: 0.75rem;
  font-weight: 650;
  color: var(--ath-arctic-blue);
  margin-bottom: 0.6rem;
}

.ath-exp-list__title {
  font-family: var(--ath-font-heading, serif);
  font-weight: var(--ath-fw-heading-m, 500);
  font-size: var(--ath-size-heading-m);
  line-height: 1.15;
  color: var(--ath-text);
  margin: 0;
}

.ath-exp-list__title a {
  color: inherit;
  text-decoration: none;
}

.ath-exp-list__excerpt {
  font-family: var(--ath-font-body, sans-serif);
  font-weight: 400;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ath-muted);
  margin: 0;
}

.ath-exp-list__img-wrap {
  border-radius: var(--ath-radius-md, 1.5rem);
  overflow: hidden;
  width: 405px;
  height: 250px;
  flex-shrink: 0;
  isolation: isolate;
  transform: translateZ(0);
}

.ath-exp-list__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform-origin: center center;
}

.ath-exp-list[data-ath-img-parallax="yes"] .ath-exp-list__img-wrap img {
  will-change: transform;
}

.ath-js-ready .ath-exp-list .ath-onload-blur {
  opacity: 0;
  filter: blur(12px);
  will-change: opacity, filter;
}

.ath-no-motion .ath-exp-list .ath-onload-blur,
body.elementor-editor-active .ath-exp-list .ath-onload-blur {
  opacity: 1 !important;
  filter: blur(0px) !important;
  transform: none !important;
}

.ath-js-ready .ath-exp-list__row-inner--offset {
  transform: translateY(-11rem) rotate(-2.5deg);
  will-change: transform;
}

.ath-no-motion .ath-exp-list__row-inner--offset,
body.elementor-editor-active .ath-exp-list__row-inner--offset {
  transform: none !important;
}

@media (max-width: 900px) {
  .ath-exp-list {
    width: 100%;
    margin-left: 0;
    padding: clamp(3rem, 2rem + 4vw, 6rem) clamp(1.25rem, 1rem + 2vw, 3rem);
  }

  .ath-exp-list__head {
    grid-template-columns: 1fr;
    text-align: center;
    align-items: center;
    gap: 1.5rem;
  }
  
  .ath-exp-list__eyebrow {
    margin-left: auto;
    margin-right: auto;
  }

  .ath-exp-list__intro {
    margin: 0 auto;
  }
  
  .ath-exp-list__row-inner {
    grid-template-columns: 1fr;
    justify-content: stretch;
    gap: 1rem;
  }
  
  .ath-exp-list__img-wrap {
    order: 3;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }
  
  .ath-exp-list__col--text {
    order: 2;
  }
  
  .ath-exp-list__col--title {
    order: 1;
  }
}

body.elementor-editor-active .ath-exp-list {
  width: 100% !important;
  margin-left: 0 !important;
  min-height: 20rem; 
}