/* Press carousel — shared styles for "Herd in the wild" section */
.press {
  background: var(--cream);
  padding: 120px 0;
  overflow: hidden;
}
.press-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}
.press-pill-wrap { text-align: center; margin-bottom: 20px; }
.press-pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(46, 139, 71, 0.10);
  color: #1E5A34;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.press-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #1A1A1A;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-align: center;
  margin: 0 auto 64px;
}
.press-carousel { position: relative; }
.press-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  margin: 0 -24px;
  padding: 8px 24px 16px;
  scrollbar-width: none;
}
.press-track::-webkit-scrollbar { display: none; }
.press-card {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid rgba(46, 139, 71, 0.10);
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 200ms ease-out,
              box-shadow 200ms ease-out,
              border-color 200ms ease-out;
}
.press-card-image {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #1a3c2a;
  overflow: hidden;
  flex-shrink: 0;
}
.press-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.press-card-image-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  padding: 16px;
}
.press-card-body {
  padding: 24px 28px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.press-card-source {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: #2E8B47;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.press-card-headline {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: #1A1A1A;
  line-height: 1.4;
  letter-spacing: -0.005em;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.press-card-foot {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.press-loading,
.press-empty {
  flex: 1 1 100%;
  text-align: center;
  color: #4A4A4A;
  font-size: 14px;
  padding: 48px 0;
  font-family: var(--font-body);
  margin: 0;
}
.press-card-date {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: #4A4A4A;
}
.press-card-arrow {
  width: 16px;
  height: 16px;
  color: #4A4A4A;
  transition: color 200ms ease-out;
}
.press-card-arrow svg { width: 100%; height: 100%; display: block; }

@media (hover: hover) {
  .press-card:hover {
    transform: translateY(-4px);
    border-color: #2E8B47;
    box-shadow: 0 8px 24px rgba(30, 90, 52, 0.08);
  }
  .press-card:hover .press-card-arrow { color: #2E8B47; }
}
.press-card:focus-visible {
  outline: 2px solid #2E8B47;
  outline-offset: 4px;
}

.press-arrows {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.press-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid rgba(46, 139, 71, 0.14);
  color: #2E8B47;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(30, 90, 52, 0.08);
  pointer-events: auto;
  z-index: 2;
  transition: transform 200ms ease-out,
              background 200ms ease-out,
              box-shadow 200ms ease-out,
              opacity 200ms ease-out;
}
.press-arrow svg { width: 16px; height: 16px; display: block; }
.press-arrow.prev { left: 16px; }
.press-arrow.next { right: 16px; }
.press-arrow:hover {
  background: #E8EFE3;
  transform: translateY(calc(-50% - 2px));
  box-shadow: 0 8px 16px rgba(30, 90, 52, 0.12);
}
.press-arrow:focus-visible {
  outline: 2px solid #2E8B47;
  outline-offset: 3px;
}
.press-arrow[aria-disabled="true"] {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.press .press-title,
.press .press-card,
.press .press-arrow {
  opacity: 0;
  transition-property: opacity, transform, box-shadow, border-color;
  transition-timing-function: ease-out;
}
.press .press-title { transform: translateY(16px); transition-duration: 500ms; }
.press .press-card  { transform: translateY(12px); transition-duration: 400ms; }
.press .press-arrow { transition-duration: 300ms; }

.press.is-visible .press-title,
.press.is-visible .press-card.is-in {
  opacity: 1;
  transform: translateY(0);
}
.press.is-visible .press-arrow.is-in { opacity: 1; }
.press.is-visible .press-arrow.is-in[aria-disabled="true"] { opacity: 0.4; }

@media (max-width: 1023px) {
  .press { padding: 100px 0; }
  .press-card { flex: 0 0 calc((100% - 24px) / 2); }
}

@media (max-width: 767px) {
  .press { padding: 72px 0; }
  .press-title { font-size: 32px; margin-bottom: 48px; }
  .press-arrow { display: none; }
  .press-track {
    gap: 16px;
    padding: 8px 24px 16px;
    margin: 0;
  }
  .press-card { flex: 0 0 85%; }
  .press-card-body { padding: 20px 22px 24px; }
  .press-card-headline { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .press .press-title,
  .press .press-card,
  .press .press-arrow {
    opacity: 1;
    transform: none;
    transition: border-color 200ms ease-out, color 200ms ease-out;
  }
  .press.is-visible .press-arrow[aria-disabled="true"] { opacity: 0.4; }
  .press-card:hover { transform: none; box-shadow: none; }
  .press-arrow:hover {
    transform: translateY(-50%);
    box-shadow: 0 4px 12px rgba(30, 90, 52, 0.08);
  }
  .press-track { scroll-behavior: auto; }
}
