*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;background:#0c0e12 center top/cover fixed no-repeat;color:#f7f7f7;font:14px Inter,Segoe UI,Arial,sans-serif}.guide-shell{width:min(1320px,calc(100% - 28px));min-height:100vh;margin:auto;padding:22px 0 55px}.guide-top{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:14px 18px;border:1px solid #ffffff20;border-radius:16px;background:#11141beb;backdrop-filter:blur(14px);box-shadow:0 16px 45px #0006}.guide-logo{display:flex;align-items:center;gap:10px;color:#ffd400;text-decoration:none;font-size:25px;font-weight:900}.guide-logo img{display:block;max-width:220px;max-height:58px;object-fit:contain}.guide-search{display:flex;width:min(330px,100%)}.guide-search input{width:100%;height:42px;padding:0 13px;border:1px solid #ffffff28;border-radius:10px 0 0 10px;background:#fff;color:#20242a;outline:none}.guide-search input:focus{box-shadow:0 0 0 4px #ffd40025}.guide-search button{width:48px;border:0;border-radius:0 10px 10px 0;background:#ffd400;color:#111;font-size:16px}.guide-hero{text-align:center;padding:34px 15px 25px}.guide-hero>span{display:grid;place-items:center;width:55px;height:55px;margin:0 auto 12px;border-radius:16px;background:#ffd400;color:#111;font-size:23px}.guide-hero h1{margin:0;font-size:29px}.guide-hero p{max-width:900px;margin:12px auto 0;color:#c6cbd3;line-height:1.6}.guide-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.guide-grid article{overflow:hidden;border:2px solid #ffd400;border-radius:13px;background:linear-gradient(160deg,#ffe700,#ffc800);color:#111;box-shadow:0 15px 35px #0005;transition:.22s}.guide-grid article:hover{transform:translateY(-5px);box-shadow:0 22px 45px #0008}.guide-grid article>img,.guide-placeholder{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;background:#141414}.guide-placeholder{display:grid;place-items:center;font-size:45px}.guide-grid article>div:last-child{display:flex;min-height:188px;flex-direction:column;padding:15px}.guide-grid h2{margin:0 0 8px;font-size:18px;line-height:1.25}.guide-grid time{font-size:10px;font-weight:900}.guide-grid p{margin:9px 0 13px}.guide-grid a{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:auto;padding:10px;border-radius:7px;background:#1478ff;color:#fff;text-decoration:none;font-weight:900;box-shadow:0 7px 16px #0065df45}.guide-empty{text-align:center;padding:55px}.guide-empty i{font-size:42px;color:#ffd400}.guide-article{width:min(900px,100%);margin:22px auto 0;overflow:hidden;border:1px solid #ffffff22;border-radius:16px;background:#fff;color:#20242a;box-shadow:0 25px 70px #0009}.article-tools{display:flex;justify-content:space-between;padding:12px 16px;background:#12151c}.article-tools a,.article-tools button{border:0;background:#ffd400;color:#111;padding:9px 12px;border-radius:7px;text-decoration:none;font-weight:900;cursor:pointer}.guide-article>header{padding:22px 24px;background:linear-gradient(135deg,#171b24,#292f3a);color:#fff}.guide-article>header span{color:#ffd400;font-size:11px;font-weight:900;letter-spacing:1px}.guide-article h1{margin:7px 0;font-size:30px}.guide-article time{color:#aeb5c0;font-size:11px}.article-cover,.guide-article figure img{display:block;width:100%;height:auto}.article-content{padding:24px;font-size:14px;line-height:1.8;white-space:normal}.guide-article figure{margin:0;padding:0 24px 24px}.guide-article figcaption{padding:7px;background:#f1f3f6;text-align:center;color:#687180;font-size:10px}.related-guides{width:min(900px,100%);margin:20px auto}.related-guides h2{font-size:18px}.related-guides>div{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.related-guides a{display:grid;overflow:hidden;border:1px solid #ffd400;border-radius:10px;background:#ffd400;color:#111;text-decoration:none}.related-guides img{width:100%;aspect-ratio:16/9;object-fit:cover}.related-guides b{padding:10px}.related-guides span{margin:0 10px 10px;padding:8px;background:#1478ff;color:#fff;border-radius:6px;text-align:center;font-weight:900}@media(max-width:1050px){.guide-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:760px){.guide-shell{width:min(100% - 12px,1320px);padding-top:7px}.guide-top{align-items:stretch;flex-direction:column}.guide-logo{justify-content:center}.guide-search{width:100%;max-width:none}.guide-grid{grid-template-columns:repeat(2,1fr);gap:9px}.guide-grid article>div:last-child{min-height:170px;padding:11px}.guide-grid h2{font-size:14px}.guide-hero h1{font-size:21px}.related-guides>div{grid-template-columns:1fr}.guide-article h1{font-size:22px}.article-content{padding:16px}}@media(max-width:430px){.guide-grid{grid-template-columns:1fr}.guide-grid article>div:last-child{min-height:auto}}
@media print{body{background:#fff}.guide-top,.article-tools,.related-guides{display:none}.guide-shell{width:100%;padding:0}.guide-article{box-shadow:none;border:0;margin:0}}

/* Katalog desktop dibuat lebih padat agar ukuran kartu mengikuti referensi. */
@media(min-width:1051px){
  .guide-shell{width:min(1000px,calc(100% - 28px))}
  .guide-grid{gap:14px}
  .guide-grid article>div:last-child{min-height:150px;padding:12px}
  .guide-grid h2{font-size:15px;line-height:1.25}
  .guide-grid time{font-size:10px}
  .guide-grid p{margin:7px 0 10px;font-size:12px;line-height:1.35}
  .guide-grid a{padding:8px 10px;font-size:12px}
}

.article-content .article-text-block{white-space:normal;line-height:1.65}.article-content .article-text-block br{line-height:1.35}.article-content .inline-guide-image{margin:20px 0;padding:0}.article-content .inline-guide-image img{display:block;width:100%;height:auto;border-radius:12px;box-shadow:0 12px 32px #1113}.article-content .inline-guide-image figcaption{padding:10px 12px;border-radius:0 0 10px 10px;background:#f1f3f6;color:#687180;text-align:center;font-size:11px}

/* Katalog panduan gaya referensi OLXTOTO */
body:has(.guide-grid){background:#111!important;background-image:none!important}
body:has(.guide-grid) .guide-shell{width:min(1000px,calc(100% - 24px));padding:12px 0 45px}
body:has(.guide-grid) .guide-top{min-height:64px;padding:8px 0;border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none}
body:has(.guide-grid) .guide-logo{font-size:20px}
body:has(.guide-grid) .guide-logo img{max-width:145px;max-height:45px}
body:has(.guide-grid) .guide-search{width:165px}
body:has(.guide-grid) .guide-search input{height:25px;padding:0 9px;border:0;border-radius:2px 0 0 2px;font-size:9px}
body:has(.guide-grid) .guide-search button{width:28px;border-radius:0 2px 2px 0;font-size:10px}
body:has(.guide-grid) .guide-hero{display:grid;grid-template-columns:1fr auto auto 1fr;align-items:center;column-gap:7px;padding:8px 0 10px;overflow:hidden;border-bottom:1px dashed #ffd400}
body:has(.guide-grid) .guide-hero>span{grid-column:2;width:auto;height:auto;margin:0;border-radius:0;background:transparent;color:#fff;font-size:16px}
body:has(.guide-grid) .guide-hero h1{grid-column:3;margin:0;color:#fff;font-size:18px;font-weight:700}
body:has(.guide-grid) .guide-hero p{grid-column:1/-1;justify-self:start;width:max-content;max-width:none;margin:13px 0 0 100%;color:#fff;text-align:left;white-space:nowrap;font-size:10px;line-height:1.2;will-change:transform;animation:guideMarquee 18s linear infinite}
body:has(.guide-grid) .guide-hero p:before{content:"\f0a1";margin-right:8px;color:#ffd400;font-family:"Font Awesome 6 Free";font-weight:900}
body:has(.guide-grid) .guide-hero p:hover{animation-play-state:paused}
@keyframes guideMarquee{from{transform:translateX(0)}to{transform:translateX(calc(-100% - 1000px))}}
body:has(.guide-grid) .guide-grid{gap:7px 17px;padding-top:13px}
body:has(.guide-grid) .guide-grid article{border:3px solid #ffd400;border-radius:4px;background:#ffd900;box-shadow:none;transition:none}
body:has(.guide-grid) .guide-grid article:hover{transform:none;box-shadow:none}
body:has(.guide-grid) .guide-grid article>img,body:has(.guide-grid) .guide-placeholder{aspect-ratio:16/10;border-radius:0}
body:has(.guide-grid) .guide-grid article>div:last-child{min-height:145px;padding:11px 10px 12px}
body:has(.guide-grid) .guide-grid h2{margin:0 0 7px;font-size:15px;font-weight:500;line-height:1.22}
body:has(.guide-grid) .guide-grid time{font-size:8px;font-weight:700}
body:has(.guide-grid) .guide-grid p{margin:7px 0 10px;font-size:11px;line-height:1.25}
body:has(.guide-grid) .guide-grid a{padding:6px;border-radius:2px;background:#1377ff;font-size:10px;box-shadow:none}
@media(max-width:1050px){body:has(.guide-grid) .guide-shell{width:min(760px,calc(100% - 20px))}}
@media(max-width:760px){body:has(.guide-grid) .guide-shell{width:calc(100% - 12px)}body:has(.guide-grid) .guide-top{min-height:auto;gap:10px}body:has(.guide-grid) .guide-search{width:100%}body:has(.guide-grid) .guide-search input{height:38px;font-size:12px}body:has(.guide-grid) .guide-search button{width:42px;font-size:13px}body:has(.guide-grid) .guide-hero{grid-template-columns:auto 1fr;justify-content:center}body:has(.guide-grid) .guide-hero>span{grid-column:1}body:has(.guide-grid) .guide-hero h1{grid-column:2;font-size:16px}body:has(.guide-grid) .guide-hero p{font-size:9px}body:has(.guide-grid) .guide-grid{gap:8px}}

/* Warna katalog dikontrol dari Superadmin */
body:has(.guide-grid){background:var(--guide-page,#111)!important}
body:has(.guide-grid) .guide-search button{background:var(--guide-accent,#ff1738);color:#fff}
body:has(.guide-grid) .guide-hero{border-bottom-color:var(--guide-border,#ff1738)}
body:has(.guide-grid) .guide-hero p:before{color:var(--guide-accent,#ff1738)}
body:has(.guide-grid) .guide-grid article{border-color:var(--guide-border,#ff1738);background:var(--guide-card,#ff1738);color:var(--guide-card-text,#fff)}
body:has(.guide-grid) .guide-grid a{background:var(--guide-button,#b50024);color:var(--guide-button-text,#fff)}

/* Halaman detail Read More mengikuti layout artikel awal */
body:has(.guide-article){background:var(--guide-page,#111)!important;background-image:none!important}
body:has(.guide-article) .guide-shell{display:grid;grid-template-columns:minmax(0,760px) 240px;gap:14px 18px;width:min(1020px,calc(100% - 24px));padding:12px 0 50px}
body:has(.guide-article) .guide-top{grid-column:1/-1;min-height:67px;padding:8px 0;border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none}
body:has(.guide-article) .guide-logo img{max-width:150px;max-height:47px}
body:has(.guide-article) .guide-search{width:165px}
body:has(.guide-article) .guide-search input{height:27px;padding:0 9px;border:0;border-radius:2px 0 0 2px;font-size:9px}
body:has(.guide-article) .guide-search button{width:29px;border-radius:0 2px 2px 0;background:var(--guide-accent,#ff1738);color:#fff;font-size:10px}
body:has(.guide-article) .guide-article{grid-column:1;width:auto;margin:0;overflow:visible;border:0;border-radius:0;background:transparent;color:#20242a;box-shadow:none}
body:has(.guide-article) .article-tools{justify-content:flex-start;padding:0 0 9px;background:transparent}
body:has(.guide-article) .article-tools a{padding:7px 10px;border-radius:3px;background:var(--guide-accent,#ff1738);color:#fff;font-size:10px}
body:has(.guide-article) .article-tools button{display:none}
body:has(.guide-article) .guide-article>header{padding:0 0 12px;background:transparent;color:#fff}
body:has(.guide-article) .guide-article>header span{display:none}
body:has(.guide-article) .guide-article h1{margin:0 0 7px;font-size:29px;font-weight:500}
body:has(.guide-article) .guide-article time{color:#aeb5c0;font-size:10px}
body:has(.guide-article) .article-cover{border:7px solid var(--guide-border,#ff1738);background:#fff}
body:has(.guide-article) .article-content{padding:17px 13px;background:#fff;color:#20242a;font-size:12px;line-height:1.6}
body:has(.guide-article) .guide-article>figure{margin:0;padding:0 13px 18px;background:#fff}
body:has(.guide-article) .related-guides{grid-column:2;align-self:start;width:auto;margin:96px 0 0}
body:has(.guide-article) .related-guides h2{margin:0 0 9px;color:#fff;font-size:15px}
body:has(.guide-article) .related-guides>div{display:grid;grid-template-columns:1fr;gap:9px}
body:has(.guide-article) .related-guides a{border:3px solid var(--guide-border,#ff1738);border-radius:4px;background:var(--guide-card,#ff1738);color:var(--guide-card-text,#fff)}
body:has(.guide-article) .related-guides img{aspect-ratio:16/10}
body:has(.guide-article) .related-guides b{padding:10px 9px 5px;font-size:14px;font-weight:500}
body:has(.guide-article) .related-guides span{margin:5px 9px 9px;padding:7px;border-radius:2px;background:var(--guide-button,#b50024);color:var(--guide-button-text,#fff);font-size:10px}
@media(max-width:850px){body:has(.guide-article) .guide-shell{grid-template-columns:1fr;width:min(760px,calc(100% - 16px))}body:has(.guide-article) .guide-top,body:has(.guide-article) .guide-article,body:has(.guide-article) .related-guides{grid-column:1}body:has(.guide-article) .related-guides{margin:8px 0 0}body:has(.guide-article) .related-guides>div{grid-template-columns:repeat(3,1fr)}}
@media(max-width:600px){body:has(.guide-article) .guide-top{align-items:stretch;flex-direction:column}body:has(.guide-article) .guide-logo{justify-content:center}body:has(.guide-article) .guide-search{width:100%}body:has(.guide-article) .guide-search input{height:38px;font-size:12px}body:has(.guide-article) .guide-search button{width:42px;font-size:13px}body:has(.guide-article) .guide-article h1{font-size:22px}body:has(.guide-article) .article-cover{border-width:4px}body:has(.guide-article) .related-guides>div{grid-template-columns:1fr}}

/* Skeleton loading mandiri pada setiap kartu Panduan. */
.guide-grid article{position:relative}.guide-card-media{width:100%;aspect-ratio:16/10;background:#161216}.guide-card-media>img,.guide-card-media>.guide-placeholder{display:block;width:100%;height:100%;aspect-ratio:auto!important;object-fit:cover}.guide-card-skeleton{display:none}.guide-card-media.is-loading .guide-card-skeleton{position:absolute;z-index:5;inset:0;display:block;padding:34px 14px 14px;background:linear-gradient(150deg,#f21840,#c4052e);overflow:hidden}.guide-card-media.is-loading .guide-card-skeleton:after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 20%,#ffffff28 48%,transparent 72%);transform:translateX(-120%);animation:guideCardShimmer 1.35s linear infinite}.guide-card-skeleton span{position:absolute;z-index:2;top:28%;left:50%;width:62px;height:62px;border-radius:50%;background:#211a1e;transform:translate(-72%,-50%);box-shadow:0 10px 20px #0005;animation:guideCardOrb 1.2s ease-in-out infinite}.guide-card-skeleton span+span{background:#ff526d;transform:translate(-28%,-50%);animation-delay:.14s}.guide-card-skeleton i,.guide-card-skeleton b{position:absolute;z-index:2;left:14px;right:14px;display:block;height:9px;border-radius:8px;background:#ffd5dc}.guide-card-skeleton i:nth-of-type(1){bottom:58px}.guide-card-skeleton i:nth-of-type(2){right:34%;bottom:40px;opacity:.65}.guide-card-skeleton b{bottom:14px;height:22px;background:#24171b}.guide-card-media.is-error .guide-card-skeleton:after{animation:none}.guide-card-media.is-error .guide-card-skeleton span{animation:none}
@keyframes guideCardShimmer{to{transform:translateX(120%)}}@keyframes guideCardOrb{0%,100%{margin-top:0}50%{margin-top:-6px}}

/* Artikel panjang di paling bawah katalog; tidak memakai kartu Promosi. */
.guide-footer-article{margin:28px 0 0;border:1px solid color-mix(in srgb,var(--guide-border) 70%,#fff 8%);border-radius:12px;background:#0b0b0d;color:#ececf0;box-shadow:0 18px 50px #0008;overflow:hidden}.guide-footer-article>header{padding:22px 24px;border-bottom:1px solid #ffffff15;background:linear-gradient(135deg,color-mix(in srgb,var(--guide-accent) 22%,#111),#101014)}.guide-footer-article>header span{display:inline-flex;align-items:center;gap:7px;color:var(--guide-accent);font-size:10px;font-weight:900;letter-spacing:1.2px}.guide-footer-article>header h2{margin:8px 0 5px;color:#fff;font-size:24px;line-height:1.25}.guide-footer-article>header p{margin:0;color:#b6b6bf;font-size:11px}.guide-footer-content{padding:24px;font-size:12px;line-height:1.72}.guide-footer-content h2,.guide-footer-content h3,.guide-footer-content h4{margin:26px 0 10px;color:var(--guide-accent);line-height:1.3}.guide-footer-content h2:first-child{display:none}.guide-footer-content h2{font-size:19px}.guide-footer-content h3{font-size:16px}.guide-footer-content h4{font-size:14px}.guide-footer-content p{margin:0 0 13px;color:#dedee4}.guide-footer-content ul{margin:7px 0 18px;padding:13px 18px 13px 34px;border-left:3px solid var(--guide-accent);background:#ffffff06}.guide-footer-content li{margin:5px 0}
@media(max-width:760px){.guide-footer-article{margin-top:18px}.guide-footer-article>header,.guide-footer-content{padding:17px}.guide-footer-article>header h2{font-size:19px}.guide-footer-content{font-size:11px}}
@media(prefers-reduced-motion:reduce){.guide-card-media.is-loading .guide-card-skeleton:after,.guide-card-skeleton span{animation:none}}
