/* Editorial Teaser Widget Styles */

.alta-section {
  padding: clamp(80px, 12vw, 160px) 0;
}

.alta-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
}

.alta-section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 60px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(26, 24, 21, 0.14); /* var(--line) */
}

.alta-section-head h2 {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin: 0;
}

.alta-display-m {
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 400;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  line-height: 1.1;
  color: #1A1815; /* var(--ink) */
}

.alta-section-head h2 .alta-num {
  font-size: 13px;
  letter-spacing: 0.22em;
  color: #6B655C; /* var(--ink-muted) */
  font-family: 'Figtree', -apple-system, system-ui, sans-serif;
}

.alta-link-underline {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #1A1815; /* var(--ink) */
  padding-bottom: 6px;
  border-bottom: 1px solid #1A1815; /* var(--ink) */
  transition: gap 400ms ease, border-color 400ms ease, color 400ms ease;
  margin-top: 20px;
  text-decoration: none;
  font-family: 'Figtree', -apple-system, system-ui, sans-serif;
}

.alta-link-underline:hover {
  gap: 20px;
  border-color: #8A6E3F; /* var(--accent) */
  color: #8A6E3F; /* var(--accent) */
}

.alta-link-underline .alta-arrow {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: 16px;
}

/* Editorial Grid */
.alta-editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.alta-article-card {
  cursor: pointer;
  display: block;
  text-decoration: none;
}

.alta-article-img {
  aspect-ratio: 3/2;
  overflow: hidden;
  margin-bottom: 20px;
}

.alta-article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.alta-article-card:hover .alta-article-img img {
  transform: scale(1.04);
}

.alta-article-cat {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8A6E3F; /* var(--accent) */
  margin-bottom: 12px;
  font-family: 'Figtree', -apple-system, system-ui, sans-serif;
}

.alta-article-card h3 {
  font-size: 22px;
  font-weight: 400;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  margin-bottom: 12px;
  line-height: 1.3;
  color: #1A1815; /* var(--ink) */
}

.alta-article-date {
  font-size: 12px;
  color: #6B655C; /* var(--ink-muted) */
  letter-spacing: 0.08em;
  font-family: 'Figtree', -apple-system, system-ui, sans-serif;
}

/* Scroll reveal (force visibility as JS might not be active in Elementor) */
.alta-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.alta-reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .alta-container {
    padding: 0 24px;
  }
  .alta-editorial-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .alta-section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
