/* ===== Halaman depan gaya portal (SuaraLutim) ===== */
.home .sl-front { padding-bottom: 10px; }
.sl-front { padding-top: 0; }

.sl-ticker { display: flex; align-items: stretch; background: #16213e; color: #fff; margin: 16px 0 20px; border-radius: 6px; overflow: hidden; }
.sl-ticker-label { background: var(--sl-red); font-weight: 800; font-size: 12px; letter-spacing: 1px; padding: 11px 15px; display: flex; align-items: center; }
.sl-ticker-items { display: flex; gap: 26px; align-items: center; padding: 0 16px; overflow: hidden; white-space: nowrap; -webkit-mask-image: linear-gradient(to right, #000 88%, transparent 100%); mask-image: linear-gradient(to right, #000 88%, transparent 100%); }
.sl-ticker-items a { color: #fff; font-size: 14.5px; font-weight: 600; }
.sl-ticker-items a:hover { color: #ffd7d7; }
.sl-ticker-dot { color: var(--sl-red); font-size: 9px; margin-right: 7px; vertical-align: middle; }

.sl-front-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 30px; align-items: start; }
.sl-front-main { min-width: 0; }

.sl-lead-img, .sl-duo-item > a:first-child, .sl-rubrik-lead > a:first-child, .sl-gal-item > a:first-child, .sl-row-thumb { display: block; overflow: hidden; border-radius: 6px; background: #f0f0f0; }
.sl-lead-img img, .sl-duo-item img, .sl-rubrik-lead img, .sl-gal-item img, .sl-row-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.sl-noimg { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; background: #ededed; color: #9a9a9a; font-size: 12px; font-weight: 700; letter-spacing: 1px; }

.sl-lead { padding-bottom: 22px; border-bottom: 1px solid #ececec; }
.sl-lead-title { font-size: clamp(25px, 3.1vw, 35px); line-height: 1.16; margin: 11px 0 8px; font-weight: 800; }
.sl-lead-title a { color: #101010; }
.sl-lead-title a:hover { color: var(--sl-red); }
.sl-lead-excerpt { color: #4a4a4a; font-size: 16px; line-height: 1.66; margin: 10px 0 0; }

.sl-chip { display: inline-block; background: #fdecec; color: #c8102e; font-size: 10.5px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; margin-top: 12px; }
.sl-chip:hover { background: var(--sl-red); color: #fff; }
.sl-time { color: #8d8d8d; font-size: 12.5px; margin-top: 7px; }

.sl-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 22px 0 4px; }
.sl-duo-item h3 { font-size: 19px; line-height: 1.3; margin: 9px 0 5px; font-weight: 700; }
.sl-duo-item h3 a { color: #101010; }
.sl-duo-item h3 a:hover { color: var(--sl-red); }

.sl-sechead { display: flex; align-items: center; gap: 11px; font-size: 19px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; margin: 30px 0 14px; color: #101010; }
.sl-sechead:before { content: ''; width: 5px; height: 21px; background: var(--sl-red); display: block; }
.sl-sechead a { color: #101010; }
.sl-sechead a:hover { color: var(--sl-red); }

.sl-rows { border-top: 1px solid #ececec; }
.sl-row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 18px; padding: 16px 0; border-bottom: 1px solid #ececec; }
.sl-row-thumb img { aspect-ratio: 16 / 10; }
.sl-row-text h3 { font-size: 18px; line-height: 1.32; margin: 8px 0 0; font-weight: 700; }
.sl-row-text h3 a { color: #101010; }
.sl-row-text h3 a:hover { color: var(--sl-red); }

.sl-rubrik { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; align-items: start; }
.sl-rubrik-lead h3 { font-size: 19.5px; line-height: 1.3; margin: 10px 0 4px; font-weight: 700; }
.sl-rubrik-lead h3 a { color: #101010; }
.sl-rubrik-item { padding: 11px 0; border-bottom: 1px solid #efefef; }
.sl-rubrik-item:first-child { padding-top: 0; }
.sl-rubrik-item h4 { font-size: 15.5px; line-height: 1.38; margin: 0 0 4px; font-weight: 600; }
.sl-rubrik-item h4 a { color: #171717; }
.sl-rubrik-item h4 a:hover { color: var(--sl-red); }

.sl-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 34px; }
.sl-gal-item h4 { font-size: 14px; line-height: 1.35; margin: 9px 0 0; font-weight: 600; }
.sl-gal-item h4 a { color: #171717; }
.sl-gal-item h4 a:hover { color: var(--sl-red); }

.sl-side { min-width: 0; }
.sl-widget { border: 1px solid #e8e8e8; border-radius: 8px; margin-bottom: 22px; overflow: hidden; background: #fff; }
.sl-widget-head { background: #16213e; color: #fff; font-size: 12.5px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; padding: 12px 15px; margin: 0; }
.sl-widget-list { list-style: none; margin: 0; padding: 6px 15px 10px; }
.sl-widget-list li { display: flex; gap: 11px; padding: 10px 0; border-bottom: 1px solid #f2f2f2; font-size: 14.5px; line-height: 1.4; }
.sl-widget-list li:last-child { border-bottom: 0; }
.sl-widget-list a { color: #171717; font-weight: 600; }
.sl-widget-list a:hover { color: var(--sl-red); }
.sl-w-time { color: var(--sl-red); font-size: 12.5px; font-weight: 700; min-width: 38px; padding-top: 2px; }
.sl-cta { display: block; text-align: center; background: var(--sl-red); color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .8px; text-transform: uppercase; padding: 13px; margin: 12px 15px 15px; border-radius: 6px; }
.sl-cta:hover { background: var(--sl-red-dark); color: #fff; }
.sl-pop { list-style: none; margin: 0; padding: 8px 15px 14px; }
.sl-pop li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f2f2f2; }
.sl-pop li:last-child { border-bottom: 0; }
.sl-num { font-size: 21px; font-weight: 800; color: #cfcfcf; min-width: 20px; line-height: 1.1; }
.sl-pop li:first-child .sl-num { color: var(--sl-red); }
.sl-pop a { color: #171717; font-weight: 600; font-size: 14.5px; line-height: 1.4; }
.sl-pop a:hover { color: var(--sl-red); }
.sl-taglist { list-style: none; margin: 0; padding: 13px 15px 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.sl-taglist a { display: inline-block; font-size: 12.5px; font-weight: 700; color: #333; background: #f4f4f4; border-radius: 999px; padding: 6px 12px; }
.sl-taglist a:hover { background: var(--sl-red); color: #fff; }

/* --- header & footer gaya portal --- */
.sl-topbar { background: #101d42; color: #fff; font-size: 12.5px; padding: 7px 0; }
.sl-topbar-in { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.sl-topbar-in .sl-tag { color: #ffd7d7; font-weight: 700; letter-spacing: .3px; }
.sl-header-in { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 14px 0; flex-wrap: wrap; }
.sl-logo-link { flex: 0 0 auto; }
.sl-search { display: flex; flex: 1 1 320px; max-width: 520px; border: 2px solid #e6e6e6; border-radius: 999px; overflow: hidden; background: #fff; }
.sl-search input[type=search] { flex: 1; border: 0; outline: 0; padding: 11px 18px; font-size: 14.5px; background: transparent; }
.sl-search button { border: 0; background: var(--sl-red); color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .6px; padding: 0 22px; cursor: pointer; text-transform: uppercase; }
.sl-search button:hover { background: var(--sl-red-dark); }
.sl-nav { background: var(--sl-red); }
.sl-nav ul { padding: 0; gap: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.sl-nav ul::-webkit-scrollbar { display: none; }
.sl-nav li { display: block; flex: 0 0 auto; }
.sl-nav a { display: block; padding: 13px 11px; font-size: 12.5px; text-transform: uppercase; letter-spacing: .3px; font-weight: 700; white-space: nowrap; }
.sl-nav li.current-menu-item > a, .sl-nav a:hover { background: var(--sl-red-dark); color: #fff; }
.sl-footer { margin-top: 44px; background: #101d42; color: #fff; padding: 34px 0 0; }
.sl-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; padding-bottom: 26px; }
.sl-footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 1.1px; margin: 0 0 12px; color: #ffd7d7; }
.sl-footer p { color: #c9cfe0; font-size: 14px; line-height: 1.65; }
.sl-footer ul { list-style: none; margin: 0; padding: 0; }
.sl-footer li { padding: 5px 0; font-size: 14px; }
.sl-footer a { color: #e7ebf5; }
.sl-footer a:hover { color: #fff; text-decoration: underline; }
.sl-foot-bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 16px 0 20px; font-size: 13px; color: #b9c0d4; }

.sl-widget-date { background: #16213e; color: #ffd7d7; font-size: 12.5px; font-weight: 700; padding: 9px 15px; border-top: 1px solid rgba(255,255,255,.12); }
.sl-lead-img { position: relative; }
.sl-lead-over { display: none; }

@media (max-width: 1000px) {
  .sl-front-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .sl-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  /* Judul menempel di atas gambar, mengikuti pola portal mobile */
  .sl-lead-img img { aspect-ratio: 4 / 3; }
  .sl-lead-over { display: block; position: absolute; left: 0; right: 0; bottom: 0; padding: 13px 13px 14px; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.5) 42%, rgba(0,0,0,.9) 100%); border-radius: 0 0 6px 6px; }
  .sl-lead-over-title { display: block; color: #fff; font-size: 19px; font-weight: 800; line-height: 1.26; margin-top: 8px; }
  .sl-lead-over-time { display: block; color: #e4e4e4; font-size: 12px; margin-top: 7px; }
  .sl-chip-light { background: rgba(215,25,32,.94); color: #fff; margin-top: 0; }
  .sl-lead > .sl-chip, .sl-lead-title, .sl-lead > .sl-time, .sl-lead-excerpt { display: none; }
  .sl-sechead { background: #16213e; color: #fff; padding: 11px 13px; font-size: 15px; letter-spacing: .7px; margin: 24px 0 12px; border-radius: 4px; gap: 9px; }
  .sl-sechead a { color: #fff; }
  .sl-sechead:before { width: 5px; height: 15px; }
  .sl-ticker-items { white-space: normal; padding: 9px 12px; gap: 0; -webkit-mask-image: none; mask-image: none; }
  .sl-ticker-items a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13.5px; line-height: 1.36; }
  .sl-ticker-label { font-size: 11px; padding: 10px 12px; }
  .sl-nav ul { -webkit-mask-image: linear-gradient(to right, #000 92%, transparent 100%); mask-image: linear-gradient(to right, #000 92%, transparent 100%); }
  .sl-duo, .sl-rubrik, .sl-footer-grid { grid-template-columns: 1fr; }
  .sl-row { grid-template-columns: 130px minmax(0, 1fr); gap: 13px; }
  .sl-row-text h3 { font-size: 15.5px; }
  .sl-lead-title { font-size: 24px; }
  .sl-sechead { font-size: 17px; }
}