/* ===== Featured Blogs Widget ===== */
.fblog-section {
  padding: 80px 0 64px;
}

/* ---- Section header ---- */
.fblog-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}
.fblog-head-left {
  flex: 1;
}
.fblog-overline {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1a56db;
  margin: 0 0 10px;
}
.fblog-heading {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--et-ink, #0f172a);
  margin: 0 0 14px;
}
.fblog-heading-plain {
  display: inline;
}
.fblog-heading-accent {
  font-family: var(--display, 'Instrument Serif', Georgia, serif);
  font-style: italic;
  font-weight: 400;
  color: var(--et-brand, #1a56db);
  display: inline;
}
.fblog-desc {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--et-muted, #64748b);
  max-width: 56ch;
  margin: 0;
}
.fblog-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--et-ink, #0f172a);
  border: 1.5px solid var(--et-ink, #0f172a);
  border-radius: 8px;
  padding: 10px 18px;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
  text-decoration: none;
}
.fblog-all-link svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.fblog-all-link:hover {
  background: var(--et-ink, #0f172a);
  color: #fff;
}

/* ---- Main grid ---- */
.fblog-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}

/* ---- Lead card ---- */
.fblog-lead {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.fblog-lead:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.fblog-lead-img {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--et-surface, #f1f5f9);
}
.fblog-lead-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.fblog-lead:hover .fblog-lead-img img {
  transform: scale(1.03);
}
.fblog-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #e02424;
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 100px;
  padding: 5px 12px;
  line-height: 1;
}
.fblog-lead-body {
  padding: 24px 28px 32px;
}

/* ---- Side list ---- */
.fblog-side {
  display: flex;
  flex-direction: column;
}
.fblog-divider {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin: 0;
}
.fblog-row {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 20px 4px;
  transition: background 0.15s ease;
  border-radius: 8px;
}
.fblog-row:hover {
  background: rgba(0, 0, 0, 0.025);
}
.fblog-row-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

/* ---- Shared: meta chips ---- */
.fblog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.fblog-cat {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  border-radius: 100px;
  padding: 4px 12px;
  background: rgba(26, 86, 219, 0.08);
  color: #1a56db;
  letter-spacing: 0.01em;
}
/* Colour variants match category slugs */
.fblog-cat--skiing   { background: rgba(26, 86, 219, 0.1); color: #1a56db; }
.fblog-cat--cycling  { background: rgba(5, 150, 105, 0.1); color: #059669; }
.fblog-cat--planning { background: rgba(124, 58, 237, 0.1); color: #7c3aed; }
.fblog-cat--safety   { background: rgba(234, 88, 12, 0.1); color: #ea580c; }
.fblog-cat--gear     { background: rgba(5, 150, 105, 0.1); color: #059669; }
.fblog-cat--skills   { background: rgba(26, 86, 219, 0.1); color: #1a56db; }

.fblog-readtime {
  font-size: 14px;
  color: var(--et-muted, #64748b);
}

/* ---- Titles ---- */
.fblog-lead-title {
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--et-ink, #0f172a);
  margin: 0;
}
.fblog-lead-excerpt {
  font-size: clamp(14px, 1.4vw, 16px);
  color: var(--et-muted, #64748b);
  line-height: 1.6;
  margin: 12px 0 0;
}
.fblog-lead-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 700;
  color: #1e3a5f;
  text-decoration: none;
  transition: gap 0.2s;
}
.fblog-lead:hover .fblog-lead-readmore {
  gap: 10px;
}
.fblog-lead-readmore svg {
  width: 15px;
  height: 15px;
}
.fblog-row-title {
  font-size: clamp(15px, 1.6vw, 17px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--et-ink, #0f172a);
  margin: 0;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .fblog-grid {
    grid-template-columns: 1fr;
  }
  .fblog-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  .fblog-section {
    padding: 48px 0 40px;
  }
  .fblog-head {
    margin-bottom: 28px;
  }
  .fblog-lead-img {
    aspect-ratio: 4 / 3;
  }
}

/* ---- Cards row ---- */
.fblog-cards {
  display: grid;
  grid-template-columns: repeat(var(--fblog-cols, 3), 1fr);
  gap: 24px;
  margin-top: 40px;
}
.fblog-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.fblog-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.09);
  transform: translateY(-2px);
}
.fblog-card-img {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--et-surface, #f1f5f9);
  flex-shrink: 0;
}
.fblog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.fblog-card:hover .fblog-card-img img {
  transform: scale(1.03);
}
/* Card badge — inherits same base as fblog-badge but can be coloured by category */
.fblog-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border-radius: 100px;
  padding: 5px 12px;
  line-height: 1;
  background: #e02424;
  color: #fff;
}
.fblog-card-badge--skiing,
.fblog-card-badge--skills   { background: #1e3a5f; color: #fff; }
.fblog-card-badge--cycling,
.fblog-card-badge--gear     { background: #064e3b; color: #fff; }
.fblog-card-badge--planning { background: #e02424; color: #fff; }
.fblog-card-badge--grades   { background: rgba(255,255,255,0.92); color: #0f172a; border: 1.5px solid rgba(0,0,0,0.12); }
.fblog-card-badge--safety   { background: #ea580c; color: #fff; }
.fblog-card-badge--field    { background: #0e7490; color: #fff; }

.fblog-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 20px 18px;
}
.fblog-card-title {
  font-size: clamp(16px, 1.7vw, 19px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--et-ink, #0f172a);
  margin: 0 0 10px;
}
.fblog-card-title-accent {
  font-family: var(--display, 'Instrument Serif', Georgia, serif);
  font-style: italic;
  font-weight: 400;
  color: var(--et-brand, #1a56db);
}
.fblog-card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--et-muted, #64748b);
  margin: 0 0 14px;
  flex: 1;
}
.fblog-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  margin-top: auto;
}
.fblog-card-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--et-ink, #0f172a);
}
.fblog-card-author .bl-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10.5px;
  font-weight: 700;
  flex-shrink: 0;
}
.fblog-card-time {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--et-muted, #64748b);
  white-space: nowrap;
}
.fblog-card-time svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

/* Responsive: cards */
@media (max-width: 900px) {
  .fblog-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .fblog-cards {
    grid-template-columns: 1fr;
  }
}
