/*
 * Home page sections (all screen sizes). Loaded by frontend/page.blade.php;
 * templates are in frontend/home-sections. The phone hero is home-mobile.css.
 */
.sgd { --ink: #12161C; --ink-2: #3A424D; --muted: #5B6470; --line: #E3E7EC; --bg: #F4F6F8;
  --blue: #006EBF; --blue-d: #0B3F7A; --link: #0062A8; --navy: #031D2C; --green: #59B33B; --green-d: #3F8F25;
  --red: #E5484D; --gold: #F5A623; --r: 14px;
  color: var(--ink); font-family: Poppins, system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 14px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
.sgd { background: var(--bg); }
.sgd *, .sgd *::before, .sgd *::after { box-sizing: border-box; }
.sgd h1, .sgd h2, .sgd h3, .sgd p, .sgd ul, .sgd ol { margin: 0; padding: 0; list-style: none; }
.sgd h1, .sgd h2, .sgd h3 { font-family: inherit; text-transform: none; color: inherit; }
.sgd a { text-decoration: none; color: inherit; }
.sgd a:hover { text-decoration: none; }
.sgd img { display: block; max-width: 100%; }
.sgd button { font-family: inherit; }
.sgd .i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sgd .i-sm { width: 16px; height: 16px; }
.sgd .i-lg { width: 28px; height: 28px; }
.sgd-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.sgd a:focus-visible, .sgd button:focus-visible, .sgd input:focus-visible, .sgd select:focus-visible { outline: 3px solid #4DA3E0; outline-offset: 2px; }
.sgd-wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* Hero */
.sgd-hero { position: relative; color: #fff; background: #00599E; }
.sgd-hero-bg { position: absolute; inset: 0; overflow: hidden; }
.sgd-hero-bg::before { content: ""; position: absolute; inset: 0; background: url('../img/banner.jpeg') center / cover; opacity: .6; }
.sgd-hero-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 75% at 50% 45%, rgba(0, 74, 133, .96) 0, rgba(0, 90, 160, .82) 55%, rgba(0, 110, 191, .35) 100%); }
.sgd-hero .sgd-wrap { position: relative; z-index: 1; display: flow-root; text-align: center; padding-top: calc(var(--sgd-top, 52px) + 56px); }
.sgd-kicker { font-size: 13px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: #9BE07F; }
.sgd-hero h1 { font-size: 48px; line-height: 1.1; font-weight: 700; letter-spacing: -.8px; margin: 12px auto !important; max-width: 760px; color: #fff; }
.sgd-lead { font-size: 17px; color: rgba(255, 255, 255, .88); max-width: 560px; margin: 0 auto !important; }
.sgd-bar { margin: 30px auto 0; max-width: 900px; display: flex; align-items: stretch; background: #fff; border-radius: 16px; padding: 7px; box-shadow: 0 20px 44px rgba(0, 30, 60, .38); color: var(--ink); text-align: left; }
.sgd-bar label { display: flex; align-items: center; gap: 10px; padding: 0 16px; margin: 0; min-width: 0; font-weight: 400; }
.sgd-bar label + label { border-left: 1px solid var(--line); }
.sgd-kw { flex: 1.7; color: var(--muted); }
.sgd-sel { flex: 1; color: var(--blue-d); }
.sgd-bar input, .sgd-bar select { border: 0; outline: 0; box-shadow: none; font: inherit; font-size: 15px; color: var(--ink); background: transparent; width: 100%; height: 54px; padding: 0; margin: 0; appearance: none; -webkit-appearance: none; text-overflow: ellipsis; }
.sgd-bar input::placeholder { color: #8a929c; }
.sgd-bar .sgd-chev { color: #8a929c; pointer-events: none; }
.sgd-bar label:focus-within { background: #F4F8FC; border-radius: 10px; }
.sgd-bar button { border: 0; background: var(--green); color: #fff; border-radius: 11px; padding: 0 30px; font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 8px; cursor: pointer; }
.sgd-bar button:hover { background: var(--green-d); }
.sgd-popular { margin: 16px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; align-items: center; font-size: 13px; color: rgba(255, 255, 255, .8); }
.sgd-popular a { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; padding: 5px 13px; color: #fff; font-weight: 500; }
.sgd-popular a:hover { background: rgba(255, 255, 255, .22); color: #fff; }
/* The category cards sit across the hero's bottom edge. */
.sgd-cats { position: relative; z-index: 2; margin: 36px auto 0; transform: translateY(64px); max-width: 1040px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.sgd-cats a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 8px 16px; border-radius: 16px; background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: 0 10px 26px rgba(10, 40, 70, .14); text-align: center; font-size: 13px; font-weight: 600; line-height: 1.25; transition: transform .15s, box-shadow .15s; }
.sgd-cats a:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(10, 40, 70, .2); color: var(--ink); }
.sgd-cats img { width: 44px; height: 44px; object-fit: contain; margin-bottom: 4px; }
.sgd-cats small { font-size: 11.5px; font-weight: 500; color: var(--muted); }
.sgd-after-hero { height: 40px; }

/* Section shell */
.sgd-sec { padding: 48px 0 8px; }
.sgd-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.sgd-head h2 { font-size: 26px; font-weight: 700; letter-spacing: -.4px; line-height: 1.25; display: flex; align-items: center; gap: 10px; color: var(--ink); }
.sgd-head p { color: var(--muted); margin-top: 4px !important; font-size: 14px; }
.sgd-head-r { display: flex; gap: 10px; align-items: center; flex: none; }
.sgd-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--link) !important; white-space: nowrap; padding: 8px 14px; border: 1px solid #CFE0EF; border-radius: 999px; background: #fff; cursor: pointer; font-size: 14px; }
.sgd-more:hover { background: #EAF3FB; }
.sgd-pill { font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px; text-transform: uppercase; letter-spacing: .4px; background: #FDECEC; color: var(--red); }
.sgd-arrows { display: flex; gap: 8px; }
.sgd-arrows button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--ink); padding: 0; }
.sgd-arrows button:disabled { opacity: .4; cursor: default; }
.sgd-arrows[hidden] { display: none; }

/* Ad cards */
.sgd-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sgd-grid.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sgd-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 0 8px; margin: -4px 0 -8px; }
.sgd-track::-webkit-scrollbar { display: none; }
.sgd-track > * { scroll-snap-align: start; }
.sgd-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: box-shadow .18s, transform .18s, border-color .18s; display: flex; flex-direction: column; }
.sgd-card:hover { box-shadow: 0 12px 28px rgba(18, 22, 28, .10); transform: translateY(-3px); border-color: #d5dbe2; }
.sgd-card[hidden] { display: none; }
.sgd-ph { position: relative; aspect-ratio: 4 / 3; background: #D9E1E8; color: #7A8591; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.sgd-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.sgd-card:hover .sgd-ph img { transform: scale(1.04); }
.sgd-badge { position: absolute; left: 10px; top: 10px; font-size: 10px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; color: #fff; background: var(--red); }
.sgd-badge.is-feat { background: var(--gold); color: #3b2600; }
.sgd-cnt { position: absolute; left: 10px; bottom: 10px; background: rgba(0, 0, 0, .6); color: #fff; font-size: 11px; padding: 3px 7px; border-radius: 6px; display: flex; gap: 4px; align-items: center; }
.sgd .sgd-save { position: absolute; z-index: 2; right: 10px; top: 10px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .95); border: 0; display: grid; place-items: center; color: var(--ink); cursor: pointer; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); padding: 0; }
.sgd .sgd-save:hover { color: var(--red); }
.sgd .sgd-save[aria-pressed="true"] { color: var(--red); }
.sgd .sgd-save[aria-pressed="true"] .i { fill: currentColor; }
.sgd-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.sgd-price { font-size: 17px; font-weight: 700; color: var(--ink); }
.sgd-price.is-muted { font-size: 14px; color: var(--green-d); }
.sgd .sgd-title { font-size: 13.5px; line-height: 1.35; height: 36px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; color: var(--ink-2); }
/* The whole card is the link; the heart sits above it. */
.sgd .sgd-title::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.sgd .sgd-title:focus-visible { outline: none; }
.sgd-card:has(.sgd-title:focus-visible) { outline: 3px solid #4DA3E0; outline-offset: 2px; }
.sgd-meta { display: flex; justify-content: space-between; gap: 6px; font-size: 11.5px; color: var(--muted); margin-top: auto; padding-top: 8px; border-top: 1px dashed var(--line); }
.sgd-meta span { display: flex; align-items: center; gap: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.sgd-meta span:last-child { flex: none; }
.sgd-tint { background: linear-gradient(180deg, #FFF5F5 0, #F4F6F8 100%); border-top: 1px solid #FBE1E1; }

/* Category tabs */
.sgd-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: -4px 0 18px; }
.sgd-tabs button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 500; color: var(--ink-2); cursor: pointer; }
.sgd-tabs button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Popular categories */
.sgd-tiles { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); grid-auto-rows: 240px; gap: 16px; }
.sgd-tiles.is-3 { grid-template-columns: 3fr 2fr; grid-template-rows: 190px 190px; grid-auto-rows: auto; }
.sgd-tiles.is-3 .sgd-tile:first-child { grid-row: span 2; }
.sgd .sgd-tile { position: relative; border-radius: 18px; overflow: hidden; color: #fff; display: flex; align-items: flex-end; padding: 20px; background: #0B3F7A; }
.sgd-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.sgd-tile:hover img { transform: scale(1.05); }
.sgd-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(3, 20, 32, .85)); }
.sgd-tile div { position: relative; z-index: 1; }
.sgd-tile b { display: block; font-size: 20px; font-weight: 700; line-height: 1.25; }
.sgd-tiles.is-3 .sgd-tile:first-child b { font-size: 28px; }
.sgd-tile span { font-size: 13px; opacity: .85; display: flex; align-items: center; gap: 6px; }
.sgd .sgd-tile:hover { color: #fff; }

/* Fresh recommendations */
.sgd-rec { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 20px; }
.sgd-rec.no-rail { grid-template-columns: minmax(0, 1fr); }
.sgd-rail { position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #fff; min-height: 320px; }
.sgd-rail a { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.sgd-rail a.is-on { opacity: 1; visibility: visible; }
.sgd-rail img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.sgd-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 2; }
.sgd-dots button { width: 8px; height: 8px; border-radius: 4px; border: 0; padding: 0; background: rgba(255, 255, 255, .55); box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); cursor: pointer; transition: width .2s; }
.sgd-dots button[aria-current="true"] { width: 22px; background: #fff; }
.sgd-center { text-align: center; margin-top: 22px; }

/* Top categories */
.sgd-tops { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.sgd-top { border-radius: 18px; padding: 22px 20px 18px; display: flex; flex-direction: column; justify-content: space-between; min-height: 190px; overflow: hidden; border: 1px solid rgba(0, 0, 0, .04); transition: transform .18s, box-shadow .18s; background: color-mix(in srgb, var(--c, #E2EAFB) 24%, #fff); }
.sgd-top:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(18, 22, 28, .10); color: var(--ink); }
.sgd-top img { width: 96px; height: 96px; object-fit: contain; align-self: flex-end; margin: -6px -6px 0 0; }
.sgd-top b { display: block; font-size: 16px; font-weight: 700; line-height: 1.25; }
.sgd-top span { font-size: 12px; color: var(--ink-2); display: flex; align-items: center; gap: 4px; margin-top: 4px; }

/* Promo slider */
.sgd-promo { position: relative; border-radius: 22px; overflow: hidden; background: #0A6CC0; }
.sgd-promo-track { display: flex; transition: transform .5s ease; }
.sgd-promo-track > * { flex: 0 0 100%; }
.sgd-promo img { width: 100%; height: 280px; object-fit: cover; }
.sgd-promo .sgd-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .95); border: 0; display: grid; place-items: center; box-shadow: 0 4px 12px rgba(0, 0, 0, .18); cursor: pointer; color: var(--ink); padding: 0; z-index: 2; }
.sgd-promo .sgd-nav.is-l { left: 16px; }
.sgd-promo .sgd-nav.is-r { right: 16px; }

/* Browse live ads */
.sgd-dir { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sgd-dcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: flex; flex-direction: column; }
.sgd-dcard h3 { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; line-height: 1.3; }
.sgd-dcard h3 a { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sgd-dcard h3 img { width: 36px; height: 36px; object-fit: contain; background: #F1F5F9; border-radius: 10px; padding: 5px; flex: none; }
.sgd-dcard h3 small { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--link); background: #EAF3FB; padding: 2px 9px; border-radius: 999px; }
.sgd-dcard ul { margin: 14px 0 10px; flex: 1; }
.sgd-dcard li a { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; font-size: 13px; color: var(--ink-2); }
.sgd-dcard li a:hover { color: var(--link); }
.sgd-dcard li em { font-style: normal; color: var(--muted); font-size: 12px; }
.sgd-dcard li em.has { color: var(--ink); font-weight: 600; }
.sgd-dcard .sgd-empty { font-size: 13px; color: var(--muted); padding: 6px 0; }
.sgd-dcard .sgd-all { font-size: 13px; font-weight: 600; color: var(--link); display: flex; align-items: center; gap: 4px; padding-top: 10px; border-top: 1px solid var(--line); }
.sgd-count { color: var(--blue); }

/* Blog */
.sgd-posts { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; }
.sgd-post { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: box-shadow .18s; }
.sgd-post:hover { box-shadow: 0 12px 28px rgba(18, 22, 28, .10); color: var(--ink); }
.sgd-post img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.sgd-post > div { padding: 16px 18px 18px; }
.sgd-tag { display: inline-block; font-size: 11px; font-weight: 600; color: var(--green-d); background: #EAF6E4; padding: 3px 9px; border-radius: 999px; margin: 0 4px 4px 0; }
.sgd-post h3 { font-size: 17px; font-weight: 700; margin: 8px 0 6px !important; line-height: 1.3; }
.sgd-post p { font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sgd-post small { display: block; margin-top: 12px; font-size: 12px; color: var(--muted); }

/* Closing: sell on Salone Goo */
.sgd-closing { padding: 56px 0; }
.sgd-cta { margin: 0; background: #EAF6E4; border: 1px solid #D3ECC8; border-radius: 24px; padding: 40px 44px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 40px; align-items: center; }
.sgd-cta h2 { font-size: 30px; font-weight: 700; letter-spacing: -.4px; color: var(--ink); }
.sgd-cta .sgd-sub { color: var(--ink-2); margin: 10px 0 24px !important; font-size: 15px; }
.sgd-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.sgd-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 12px; font-weight: 600; font-size: 14px; }
.sgd-btn.is-g { background: var(--green); color: #fff !important; }
.sgd-btn.is-g:hover { background: var(--green-d); }
.sgd-btn.is-o { background: #fff; border: 1px solid #C9D3DC; color: var(--ink); }
.sgd-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.sgd .sgd-steps li { display: block; background: #fff; border-radius: 16px; padding: 20px 18px; border: 1px solid #DDEBD6; }
.sgd-num { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; margin-bottom: 12px; }
.sgd-steps b { display: block; font-size: 15px; margin-bottom: 4px; }
.sgd-steps b + span { font-size: 13px; color: var(--muted); }
.sgd-safe { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); border-top: 1px solid #D3ECC8; padding-top: 18px; margin-top: -8px !important; }
.sgd-safe .i { color: var(--green-d); }
.sgd-safe a { color: var(--link); font-weight: 600; }

/* Narrower screens */
@media (max-width: 1199.98px) {
  .sgd-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sgd-grid.is-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sgd-track { grid-auto-columns: calc((100% - 3 * 16px) / 4); }
  .sgd-dir { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sgd-tops { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sgd-hero h1 { font-size: 42px; }
}
@media (max-width: 991.98px) {
  .sgd-grid, .sgd-grid.is-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sgd-track { grid-auto-columns: calc((100% - 2 * 16px) / 3); }
  .sgd-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sgd-rec { grid-template-columns: minmax(0, 1fr); }
  .sgd-rail { display: none; }
  .sgd-dir { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sgd-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sgd-posts > :first-child { grid-column: 1 / -1; }
  .sgd-cta { grid-template-columns: minmax(0, 1fr); padding: 32px; }
  .sgd-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sgd-hero h1 { font-size: 36px; }
  .sgd-bar { flex-wrap: wrap; }
  .sgd-kw { flex-basis: 100%; border-bottom: 1px solid var(--line); }
  .sgd-bar label + label.sgd-sel:nth-of-type(2) { border-left: 0; }
  .sgd-bar button { padding: 0 20px; height: 50px; margin-top: 6px; }
}

/* Small extras */
.sgd-bolt { color: var(--red); display: flex; }
.sgd-price small { font-size: 11px; font-weight: 600; color: var(--green-d); margin-left: 4px; }
.sgd-regions { display: none; }

/* Phones (<768px): the hero is frontend/home-mobile/search; these are the other sections. */
@media (max-width: 767.98px) {
  .sgd { font-size: 14px; }
  .sgd-wrap { padding: 0 16px; }
  .sgd-sec { padding: 22px 0 4px; }
  .sgd-head { align-items: flex-start; margin-bottom: 12px; gap: 12px; }
  .sgd-head h2 { font-size: 18px; gap: 8px; flex-wrap: wrap; }
  .sgd-head p { font-size: 12px; margin-top: 2px !important; }
  .sgd-head .sgd-more { padding: 0; border: 0; background: none; font-size: 14px; }
  .sgd-arrows { display: none !important; }
  .sgd-pill { font-size: 10px; padding: 3px 7px; }

  .sgd-grid, .sgd-grid.is-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .sgd-track { grid-auto-columns: 46%; gap: 10px; margin: -4px -16px -8px; padding: 4px 16px 8px; scroll-padding: 0 16px; }
  .sgd-card { border-radius: 12px; }
  .sgd-card:hover { transform: none; box-shadow: none; }
  .sgd-ph { aspect-ratio: 1; }
  .sgd-body { padding: 8px 10px 10px; gap: 2px; }
  .sgd-price { font-size: 15px; }
  .sgd-price.is-muted { font-size: 13px; }
  .sgd .sgd-title { font-size: 13px; height: 34px; }
  .sgd-meta { font-size: 11px; padding-top: 6px; margin-top: 6px; }
  .sgd .sgd-save { width: 36px; height: 36px; top: 6px; right: 6px; }
  .sgd-badge { left: 6px; top: 6px; font-size: 9px; padding: 3px 6px; }
  .sgd-cnt { left: 6px; bottom: 6px; }

  .sgd-tabs { flex-wrap: nowrap; overflow-x: auto; margin: -2px -16px 12px; padding: 0 16px; scrollbar-width: none; }
  .sgd-tabs::-webkit-scrollbar { display: none; }
  .sgd-tabs button { flex: none; height: 38px; padding: 0 14px; }

  .sgd-tiles, .sgd-tiles.is-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: 130px; gap: 10px; }
  .sgd-tiles .sgd-tile:first-child { grid-column: 1 / -1; grid-row: auto; }
  .sgd .sgd-tile { padding: 12px; border-radius: 14px; }
  .sgd-tile b, .sgd-tiles.is-3 .sgd-tile:first-child b { font-size: 15px; }
  .sgd-tiles .sgd-tile:first-child b { font-size: 18px; }
  .sgd-tile span { font-size: 12px; }

  .sgd-grid.is-4 > :nth-child(n+7) { display: none; }
  .sgd-center { margin-top: 12px; }
  .sgd-center .sgd-more { display: flex; justify-content: center; height: 46px; border-radius: 12px; border: 1.5px solid #C3CBD4; color: var(--ink) !important; }

  .sgd-tops { display: flex; overflow-x: auto; gap: 10px; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .sgd-tops::-webkit-scrollbar { display: none; }
  .sgd-top { flex: 0 0 140px; min-height: 150px; padding: 14px; border-radius: 14px; }
  .sgd-top b { font-size: 14px; }
  .sgd-top img { width: 64px; height: 64px; margin: 0; }

  .sgd-promo { border-radius: 14px; }
  .sgd-promo img { height: auto; aspect-ratio: 16 / 7; }
  .sgd-promo .sgd-nav { display: none; }
  .sgd-dots { bottom: 8px; }

  .sgd-dir { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .sgd-dcard { padding: 12px; border-radius: 12px; }
  .sgd-dcard h3 { flex-direction: column; align-items: flex-start; gap: 8px; font-size: 13px; position: relative; }
  .sgd-dcard h3 a { flex-direction: column; align-items: flex-start; gap: 8px; }
  .sgd-dcard h3 small { position: absolute; top: 0; right: 0; }
  .sgd-dcard ul, .sgd-dcard .sgd-all { display: none; }
  .sgd-regions { display: block; margin-top: 20px; }
  .sgd-regions h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
  .sgd-regions div { display: flex; flex-wrap: wrap; gap: 8px; }
  .sgd-regions a { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 20px; border: 1.5px solid #D5DBE2; background: #fff; font-size: 13px; font-weight: 500; }

  .sgd-posts { display: flex; overflow-x: auto; gap: 10px; margin: 0 -16px; padding: 0 16px 4px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .sgd-posts::-webkit-scrollbar { display: none; }
  .sgd-post { flex: 0 0 78%; scroll-snap-align: start; border-radius: 12px; }
  .sgd-post > div { padding: 12px 14px 14px; }
  .sgd-post h3 { font-size: 15px; }

  .sgd-closing { padding: 28px 0 24px; }
  .sgd-cta { padding: 22px 18px; border-radius: 18px; gap: 18px; }
  .sgd-cta h2 { font-size: 22px; }
  .sgd-cta .sgd-sub { font-size: 14px; margin: 6px 0 16px !important; }
  .sgd-btns { flex-direction: column; gap: 8px; }
  .sgd-btn { justify-content: center; height: 48px; }
  .sgd-steps { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .sgd .sgd-steps li { display: grid; grid-template-columns: 32px 1fr; column-gap: 12px; padding: 12px 14px; border-radius: 12px; }
  .sgd-num { grid-row: span 2; margin: 0; }
  .sgd-steps b { font-size: 14px; margin: 0; }
  .sgd-safe { margin-top: 0 !important; padding-top: 14px; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .sgd *, .sgd *::before, .sgd *::after { transition: none !important; }
}
