/* ============================================================
   Aptomix — News Section CSS
   Enqueued by: Aptomix_News_Widget::get_style_depends()
   Google Fonts: enqueued globally via wp_enqueue_scripts
   ============================================================ */

/* ── Scoped reset ────────────────────────────────────────────── */
.aptomix-news *,
.aptomix-news *::before,
.aptomix-news *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Section wrapper ─────────────────────────────────────────── */
.aptomix-news {
  background: #ffffff;
  padding: 100px 0;
  font-family: 'DM Sans', sans-serif;
  color: #1A2E3B;
  scroll-margin-top: 72px;
}

/* ── Container ───────────────────────────────────────────────── */
.aptomix-news__container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── Section header ──────────────────────────────────────────── */
.aptomix-news__head {
  margin-bottom: 48px;
}

.aptomix-news__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  color: #00B0F0;
  margin-bottom: 14px;
}

.aptomix-news__heading {
  font-family: 'Outfit', sans-serif;
  font-size: 46px;
  font-weight: 700;
  color: #0D1B2A;
  letter-spacing: -1px;
  line-height: 1.1;
  position: relative;
  padding-left: 20px;
}

/* Blue vertical accent bar */
.aptomix-news__heading::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 3px;
  background: linear-gradient(to bottom, #00B0F0 0%, rgba(0, 176, 240, 0.5) 100%);
  border-radius: 2px;
}

/* ── News items list ─────────────────────────────────────────── */
.aptomix-news__items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 860px;
}

/* ── Individual news item ────────────────────────────────────── */
.aptomix-news__item {
  background: #F4F7FA;
  border-left: 4px solid #00B0F0;
  border-radius: 0 10px 10px 0;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Date tag */
.aptomix-news__item-date {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #00B0F0;
}

/* Headline */
.aptomix-news__item-headline {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #0D1B2A;
  letter-spacing: -0.2px;
  line-height: 1.25;
}

/* Body */
.aptomix-news__item-body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #3D5166;
}

.aptomix-news__item-body p {
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
}

.aptomix-news__item-body strong {
  color: #0D1B2A;
  font-weight: 600;
}

/* CTA link */
.aptomix-news__item-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #00B0F0;
  text-decoration: none;
  transition: color 0.2s;
}

.aptomix-news__item-cta:hover {
  color: #0D1B2A;
}

.aptomix-news__item-cta svg {
  transition: transform 0.2s;
}

.aptomix-news__item-cta:hover svg {
  transform: translateX(3px);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .aptomix-news__heading { font-size: 40px; }
}

@media (max-width: 900px) {
  .aptomix-news__heading { font-size: 36px; letter-spacing: -0.6px; }
}

@media (max-width: 600px) {
  .aptomix-news            { padding: 60px 0; }
  .aptomix-news__container { padding: 0 20px; }
  .aptomix-news__heading   { font-size: 30px; padding-left: 16px; }
  .aptomix-news__item      { padding: 24px 20px; }
}
