:root {

  --featured-navy: #1b1464;

  --featured-ink: #17173a;

  --featured-blue: #2a3fe0;

}



* { box-sizing: border-box; margin: 0; padding: 0; }

body { font-family: "Inter", sans-serif; background: #fff; color: var(--featured-ink); }



/* ---------- Section ---------- */

.featured { padding: 60px 140px 80px; }

.featured-heading {

  text-align: center;

  font-size: 40px;

  font-weight: 400;

  letter-spacing: -0.02em;

  margin-bottom: 60px;

}



/* 6-column grid: thirds span 2, halves span 3 */

.featured-grid {

  max-width: 1620px;

  margin: 0 auto;

  display: grid;

  grid-template-columns: repeat(6, 1fr);

  gap: 28px 20px;

}

.featured-card--third { grid-column: span 2; }

.featured-card--small { grid-column: span 2; }

.featured-card--wide  { grid-column: span 4; }



/* ---------- Card ---------- */

.featured-card {

  display: flex;

  flex-direction: column;

  background: #fff;

  border-radius: 20px;

  overflow: hidden;

  box-shadow: 0 10px 30px rgba(90, 80, 200, .14);

}

.featured-img {

  background-size: cover;

  background-position: center;

}

.featured-card--third .featured-img,

.featured-card--half  .featured-img,

.featured-card--small .featured-img,

.featured-card--wide  .featured-img { height: 230px; }



/* Placeholder gradients: replace with background-image:url(...) or an <img> */

.featured-img--1 { background-image: url("../../assets/new/308.jpg"); }

.featured-img--2 { background-image: url("../../assets/new/312.jpg"); }

.featured-img--3 { background-image: url("../../assets/new/310.jpg"); }

.featured-img--4 { background-image: url("../../assets/new/311.jpg"); }

.featured-img img { width: 100%; height: 100%; object-fit: cover; display: block; }



.featured-body {

  flex: 1;

  display: flex;

  flex-direction: column;

  align-items: flex-start;

  padding: 14px 20px 16px;

}

.featured-tag {

  background: var(--featured-navy);

  color: #fff;

  font-size: 15px;

  font-weight: 500;

  padding: 1px 8px;

  border-radius: 4px;

}

.featured-title {

  margin-top: 10px;

  font-size: 15px;

  font-family: "Geist", "Inter", sans-serif;

  font-weight: 400;

  line-height: 1.3;

  letter-spacing: -0.01em;

}



/* Read More: pinned to the bottom of the card */

.featured-more {

  margin-top: auto;

  padding-top: 12px;

  display: inline-flex;

  align-items: center;

  gap: 6px;

  align-self: flex-start;

  color: var(--featured-navy);

  font-size: 14px;

  font-weight: 500;

  text-decoration: none;
  transition: color 0.3s ease;

  position: relative;

}

.featured-more svg { width: 12px; height: 12px; transition: transform 0.3s cubic-bezier(0.65, 0, 0.35, 1); }

.featured-more::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}
.featured-more:hover { color: var(--featured-blue); }
.featured-more:hover::after { transform: scaleX(1); transform-origin: left; }
.featured-more:hover svg { transform: translate(4px, -4px); }


/* Row 2 cards: Read More sits on the right */

.featured-card--half .featured-more { align-self: flex-end; }


/* ---------- Responsive ---------- */

@media (max-width: 1300px) {

  .featured { padding: 60px 48px; }

  .featured-card--third,

  .featured-card--small { grid-column: span 2; }

  .featured-card--wide { grid-column: span 4; }

  .featured-title { font-size: 24px; }

}

@media (max-width: 800px) {

  .featured { padding: 48px 20px; }

  .featured-grid { grid-template-columns: 1fr; gap: 28px; }

  .featured-card--third, .featured-card--half, .featured-card--small, .featured-card--wide { grid-column: auto; }

  .featured-card--third .featured-img, .featured-card--half .featured-img, .featured-card--small .featured-img, .featured-card--wide .featured-img { height: 220px; }

  .featured-heading { font-size: 32px; margin-bottom: 36px; }

}

@media (prefers-reduced-motion: reduce) {

  .featured-more::after,
  .featured-more svg { transition: none; }

}