/* Editorial Page Widget Styles */

#alta-editorial-ajax-wrapper {
  transition: opacity 0.3s ease;
}

.alta-page-hero {
  padding: 140px 0 80px;
  border-bottom: 1px solid rgba(26, 24, 21, 0.14);
}

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

.alta-page-hero .alta-label {
  margin-bottom: 28px;
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 500;
  color: #6B655C;
  font-family: 'Figtree', -apple-system, system-ui, sans-serif;
}

.alta-page-hero h1.alta-display-xl {
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 300;
  letter-spacing: -0.02em;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  line-height: 1.1;
  color: #1A1815;
  margin: 32px 0;
  max-width: 900px;
}

.alta-page-hero .alta-lead {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: #3F3A33;
  max-width: 680px;
  margin: 0;
}

.alta-editorial-feature {
  padding: 100px 0;
  border-bottom: 1px solid rgba(26, 24, 21, 0.14);
}

.alta-editorial-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.alta-editorial-feature-img {
  aspect-ratio: 4/5;
  overflow: hidden;
}

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

.alta-editorial-feature-grid:hover .alta-editorial-feature-img img {
  transform: scale(1.04);
}

.alta-editorial-feature-text .alta-article-cat {
  margin-bottom: 20px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8A6E3F;
  font-family: 'Figtree', -apple-system, system-ui, sans-serif;
}

.alta-editorial-feature-text h2 {
  font-size: 52px;
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 24px;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  color: #1A1815;
}

.alta-editorial-feature-text p.alta-feature-excerpt {
  font-size: 18px;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-style: italic;
  font-weight: 300;
  color: #3F3A33;
  margin-bottom: 32px;
  line-height: 1.5;
}

.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;
  padding-bottom: 6px;
  border-bottom: 1px solid #1A1815;
  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;
  color: #8A6E3F;
}

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

.alta-editorial-category-bar {
  padding: 40px 0;
  border-bottom: 1px solid rgba(26, 24, 21, 0.14);
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.alta-editorial-category-bar a {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6B655C;
  padding: 4px 0;
  font-family: 'Figtree', -apple-system, system-ui, sans-serif;
  text-decoration: none;
  transition: color 300ms ease;
}

.alta-editorial-category-bar a:hover {
  color: #1A1815;
}

.alta-editorial-category-bar a.active {
  color: #1A1815;
  border-bottom: 1px solid #8A6E3F;
}

.alta-editorial-grid-extended {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 40px;
  padding: 80px 0;
}

.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;
  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;
}

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

@media (max-width: 960px) {
  .alta-container {
    padding: 0 24px;
  }
  .alta-editorial-feature-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .alta-editorial-grid-extended {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .alta-editorial-category-bar {
    gap: 24px;
  }
  .alta-page-hero {
    padding: 100px 0 60px;
  }
}
