/* briefnation — beranda: hero, pola A, kartu visual, sponsor. */
/* visual cards: 2-up grid on mobile too (lifestyle) */
.cards--visual { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
.cards--visual > .item, .cards--visual > .item + .item { grid-template-columns: minmax(0, 1fr); gap: 10px; border: 0; padding: 0; margin: 0; }
.cards--visual > .item .item__media { order: -1; aspect-ratio: 4 / 5; }
.cards--visual .item__title { font-size: .875rem; }
@media (min-width: 768px) {
  .cards--visual { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 20px; }
  .cards--visual > .item .item__media { aspect-ratio: 4 / 5; }
}

/* Pattern A — compact feature + two list columns */
.feature { display: grid; gap: 16px; }
.feature > *, .hero__grid > * { min-width: 0; }
.feature > .list { border-top: 1px solid var(--line); padding-top: 14px; }
.feature .item--stack .item__title { font-size: 1.0625rem; }
@media (min-width: 900px) {
  .feature { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
  .feature > .list { border-top: 0; padding-top: 0; border-left: 1px solid var(--line); padding-left: 24px; }
  .feature .list .item { grid-template-columns: minmax(0, 1fr) 76px; gap: 12px; }
  .feature .list .item__title { font-size: .875rem; }
}
.hero { padding-top: 20px; }
.hero__grid { display: grid; gap: 28px; }

.slider { display: flex; flex-direction: column; min-width: 0; }
.slider__stage { position: relative; aspect-ratio: 4 / 3; margin-inline: calc(var(--gutter) * -1); background: var(--navy-deep); overflow: hidden; }
.slider__track { position: absolute; inset: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.slider__track::-webkit-scrollbar { display: none; }
.slide { position: relative; scroll-snap-align: start; scroll-snap-stop: always; min-width: 0; overflow: hidden; }
.slide__link { position: absolute; inset: 0; display: block; color: #fff; }
.slide__link img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide__link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,31,69,0) 28%, rgba(0,31,69,.62) 64%, rgba(0,20,48,.95) 100%); }
.slide__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: grid; gap: 8px; justify-items: start; padding: 16px var(--gutter) 18px; }
.label { display: inline-block; font-size: .625rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; line-height: 1; color: #fff; background: var(--red); padding: 5px 8px; border-radius: 2px; }
.slide__title { font-size: 1.25rem; line-height: 1.28; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; border-left: 3px solid var(--gold); padding-left: 12px; }
.slide__body .meta { color: rgba(255,255,255,.78); padding-left: 15px; }
.slider__count { position: absolute; top: 12px; left: var(--gutter); z-index: 2; font-size: .6875rem; font-weight: 700; letter-spacing: .04em; color: rgba(255,255,255,.75); background: rgba(0,20,48,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 4px 9px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.slider__count b { color: #fff; font-weight: 800; }
.slider__arrows { display: none; position: absolute; right: 18px; bottom: 20px; z-index: 2; gap: 8px; }
.slider__arrows button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); color: #fff; display: grid; place-items: center; transition: background .15s, color .15s, border-color .15s; }
.slider__arrows button:hover { background: #fff; color: var(--navy); border-color: #fff; }
.slider__arrows svg { width: 15px; height: 15px; }

.slider__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.slider__tab { display: grid; gap: 8px; align-content: start; text-align: left; min-width: 0; }
.slider__bar { display: block; height: 3px; border-radius: 3px; margin-bottom: 2px; background: var(--line-2); overflow: hidden; }
.slider__bar i { display: block; height: 100%; background: var(--red); transform: scaleX(0); transform-origin: 0 50%; }
.slider__tab.is-active .slider__bar i { animation: slider-fill var(--slider-dur, 6s) linear forwards; }
.slider.is-paused .slider__tab.is-active .slider__bar i { animation-play-state: paused; }
@keyframes slider-fill { to { transform: scaleX(1); } }
.slider__tabtime { display: none; font-size: .6875rem; font-weight: 500; color: var(--faint); }
.slider__tabtitle { display: none; font-size: .8125rem; font-weight: 700; line-height: 1.4; letter-spacing: -.01em; color: var(--muted); -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .15s; }
.slider__tab.is-active .slider__tabtitle, .slider__tab:hover .slider__tabtitle { color: var(--ink); }

@media (min-width: 640px) {
  .slider__stage { margin-inline: 0; border-radius: 4px; aspect-ratio: 16 / 9; }
  .slide__body { padding: 20px 22px 22px; }
  .slider__count { left: 16px; }
  .slide__title { font-size: 1.5rem; }
  .slider__arrows { display: flex; }
  .slide__body { padding-right: 124px; }
  .slider__tabs { gap: 16px; margin-top: 14px; }
  .slider__tabtitle { display: -webkit-box; }
  .slider__tabtime { display: block; }
}
@media (min-width: 900px) {
  .hero { padding-top: 28px; }
  .hero__grid { grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
  /* stage absorbs any height difference so slider and The Brief end level */
  .slider__stage { flex: 1 1 auto; aspect-ratio: auto; min-height: 340px; }
  .slide__title { font-size: 1.625rem; }
}
.sponsor { border: 1px solid var(--line-2); border-radius: 8px; padding: 16px; }
.sponsor__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.sponsor__brand { display: flex; align-items: center; gap: 10px; }
.sponsor__brand img { height: 18px; width: auto; }
.sponsor__brand h2 { font-size: 1.0625rem; font-weight: 800; letter-spacing: -.015em; padding-left: 10px; border-left: 1px solid var(--line-2); }
.tag-sponsored { font-size: .5625rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-2); padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
@media (min-width: 768px) { .sponsor { padding: 20px; } }
.sponsor { border-color: var(--line-2); box-shadow: 6px 6px 0 var(--tint); }
