/* ============================================================
   featured.css — LadangGo "Stories Worth Savoring" Section
   Palette: #1a3a0d (hijau gelap) | #5cb324 (hijau terang)
            #d4852a (oranye)      | #f5f0e8 (krem/alami)
   ============================================================ */

/* ---------- CSS Variables (selaraskan dengan blog.css) ---------- */
:root {
  --fg-green-dark:   #1a3a0d;
  --fg-green-light:  #5cb324;
  --fg-orange:       #d4852a;
  --fg-cream:        #f5f0e8;

  --fg-green-mid:    #2d6b14;
  --fg-orange-light: #f0a84e;
  --fg-text-dark:    #1a1a14;
  --fg-text-muted:   #6b7154;
  --fg-border:       #ddd8c8;
  --fg-card-hover:   #edeae0;

  --fg-radius-sm:    8px;
  --fg-radius-md:    14px;
  --fg-radius-lg:    22px;

  --fg-shadow-card:  0 4px 18px rgba(26, 58, 13, 0.10);
  --fg-shadow-hover: 0 8px 32px rgba(26, 58, 13, 0.18);
}

/* ---------- Section Wrapper ---------- */
.featured-section {
  background-color: var(--fg-cream);
  padding: 72px 0 80px;
  position: relative;
}

.featured-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--fg-green-dark), var(--fg-green-light), var(--fg-orange));
}

/* ---------- Container ---------- */
.featured-section .container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Section Header ---------- */
.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 16px;
  flex-wrap: wrap;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-green-light);
  margin-bottom: 8px;
}

.section-tag::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fg-green-light);
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--fg-green-dark);
  line-height: 1.15;
  margin: 0;
  font-family: inherit;
}

.section-title em {
  font-style: italic;
  color: var(--fg-green-light);
}

.see-all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg-green-mid);
  text-decoration: none;
  border-bottom: 1.5px solid var(--fg-green-light);
  padding-bottom: 2px;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}

.see-all:hover {
  color: var(--fg-orange);
  border-color: var(--fg-orange);
}

/* ---------- Featured Grid Layout ---------- */
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

@media (max-width: 860px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Big Featured Card ---------- */
.featured-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 440px;
  border-radius: var(--fg-radius-lg);
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--fg-shadow-card);
  transition: box-shadow 0.3s, transform 0.3s;
  background: var(--fg-green-dark);
}

.featured-card:hover {
  box-shadow: var(--fg-shadow-hover);
  transform: translateY(-3px);
}

/* Gradient background layer */
.featured-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Decorative large emoji watermark */
.featured-emoji-bg {
  position: absolute;
  bottom: -12px;
  right: -8px;
  font-size: 9rem;
  opacity: 0.18;
  pointer-events: none;
  user-select: none;
  line-height: 1;
  filter: blur(1px);
}

/* Dark gradient overlay for legibility */
.featured-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(10, 28, 5, 0.88) 0%,
    rgba(10, 28, 5, 0.35) 55%,
    transparent 100%
  );
}

/* Content sits above overlay */
.featured-card-content {
  position: relative;
  z-index: 2;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* "Deep Dive" pill tag */
.featured-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--fg-orange);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
  width: fit-content;
  box-shadow: 0 2px 10px rgba(212, 133, 42, 0.40);
}

.featured-card-title {
  color: #fff;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.3;
  margin: 0;
}

.featured-card-meta {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.80rem;
  margin: 0;
}

.featured-card-meta strong {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}

/* ---------- Side List ---------- */
.featured-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.featured-list-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1.5px solid var(--fg-border);
  border-radius: var(--fg-radius-md);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(26, 58, 13, 0.05);
}

.featured-list-item:hover {
  background: var(--fg-card-hover);
  border-color: var(--fg-green-light);
  box-shadow: var(--fg-shadow-card);
  transform: translateX(3px);
}

/* Emoji thumb circle */
.featured-list-thumb {
  width: 46px;
  height: 46px;
  border-radius: var(--fg-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  background: var(--thumb-bg);
}


/* Category tag above title */
.featured-list-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--fg-green-light);
  margin-bottom: 3px;
}

.featured-list-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fg-text-dark);
  line-height: 1.4;
  margin-bottom: 4px;
}

.featured-list-meta {
  font-size: 0.75rem;
  color: var(--fg-text-muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
  .featured-section {
    padding: 48px 0 56px;
  }

  .featured-card {
    min-height: 320px;
  }

  .featured-list-thumb {
    width: 40px;
    height: 40px;
    font-size: 1.15rem;
  }

  .featured-list-title {
    font-size: 0.82rem;
  }
}

.featured-card-bg--main {
    background: linear-gradient(135deg, #0d2a06, #1a3a0d, #2d6b14, #5cb324);
}