@font-face {
  font-family: "Arizona Flare";
  src: url("../fonts/arizona_flare_300_normal_headings_h1-h6.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Arizona Flare";
  src: url("../fonts/arizona_flare_300_italic_headings_h1-h6.woff2") format("woff2");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Helveesti";
  src: url("../fonts/helveesti_400_normal_body_ui.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Helveesti";
  src: url("../fonts/helveesti_400_italic_body_ui.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Helveesti";
  src: url("../fonts/helveesti_700_normal_body_labels.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Helveesti";
  src: url("../fonts/helveesti_700_italic_body_labels.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* Tokens (scoped) */
.articles {
  --articles-bg: #F8F2E9;
  --articles-text: #170B01;
  --articles-accent: #1C1BAE;
  --articles-soft-1: #BDCFFB;
  --articles-soft-2: #EAFD8B;

  background: var(--articles-bg);
  color: var(--articles-text);
  font-family: "Helveesti", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.articles__inner {
  max-width: none;   /* width now from .dynamic-container */
  margin: 0;         /* centered by container already */
  padding: 0;        /* side padding via container */
  padding-block: clamp(20px, 8vw, 20px); /* vertical spacing only */
  margin-bottom: 20px;
  margin-top: 20px;
}

.articles__title {
  font-family: "Arizona Flare", serif;
  font-weight: 300;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: 0;
  color: var(--articles-text);
  margin: 0 0 20px 0;
}

.articles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 24px 0px;
}

.articles__card-head {
  margin-bottom: 16px;
}

.articles__kicker {
  font-family: "Helveesti", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 12px;
  line-height: 1.1;
  margin: 0 0 12px 0;
  color: var(--articles-text);
}

.articles__rule {
  border: none;
  height: 1px;
  background: var(--articles-text);
  margin: 0;
}

.articles__row {
  display: grid;
  grid-template-columns: 166px 1fr;
  gap: 15px;
  align-items: start;
}

.articles__media {
  width: 166px;
  height: 166px;
  margin: 0;
  overflow: hidden;
  border-radius: 0px;
  background: var(--articles-soft-1);
}
.articles__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.articles__content{
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: flex-start; /* default vertical */
  align-items: flex-start;     /* left align */
}

.articles__headline {
  font-weight: 400;
  font-size: 18px;
  line-height: 1.35;
  text-decoration: none;
  color: var(--articles-text);
}
.articles__headline:hover,
.articles__headline:focus {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  color: var(--articles-text);
}

.articles__cta {
  display: flex;
  align-items: center;
  gap: 5px;
}

.articles__cta-text {
  font-weight: 400;
  font-size: 14px;
  text-decoration: none;
  color: var(--articles-text);
}
.articles__cta-text:hover { text-decoration: underline; }

.articles__cta-icon {
  color: #170B01;
  width: auto;
  height: auto;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.articles__cta-icon:hover {
  border-color: var(--articles-accent);
}
.articles__cta-icon:hover .articles__arrow path {
  stroke: var(--articles-accent);
}

/* Basic responsiveness (non-intrusive) */
@media (max-width: 1200px) {
  .articles__grid { gap: 32px; }
  .articles__row { grid-template-columns: 150px 1fr; gap: 24px; }
  .articles__title { font-size: 64px; }
}
@media (max-width: 900px) {
  .articles__grid { grid-template-columns: 1fr; row-gap: 56px; }
}

@media (max-width: 430px) {
  .articles__title {
    font-size: 24px;
  }
  
  .articles__grid {
     grid-template-columns: 1fr;
     row-gap: 20px; 
  }
}


