/* Guides room scenes (preview). Leaves v8.css and guides.css untouched. */
.guides-page .g-room{margin:8px 0 28px;padding:0}
.guides-page .g-room img{display:block;width:100%;height:auto;border-radius:8px;background:var(--ph,#E4EAED)}
@media (min-width:1100px){.guides-page .g-room-hero{width:1040px;margin-left:50%;transform:translateX(-50%)}}
.guides-page .g-cards{list-style:none;padding:0;margin:0 0 32px;display:grid;grid-template-columns:1fr 1fr;gap:18px 14px}
@media (min-width:760px){.guides-page .g-cards{grid-template-columns:1fr 1fr 1fr}}
.guides-page .g-cards li{margin:0}
.guides-page .g-cards a{display:block;text-decoration:none;color:inherit}
.guides-page .g-cards .g-room{margin:0 0 8px}
.guides-page .g-cards span{font-size:.95em;line-height:1.35;text-decoration:underline;text-underline-offset:3px}

/* Guides hub, magazine layout (preview) */
.gx-hub .pstrip{position:relative;z-index:2}
.gx-hero{position:relative;width:100vw;margin:0 0 0 calc(50% - 50vw);overflow:hidden}
.gx-hero figure{margin:0}
.gx-hero img{display:block;width:100%;height:min(78vh,56.25vw);min-height:320px;object-fit:cover}
.gx-hero-in{position:absolute;inset:auto 0 0 0;padding:120px 24px 32px;background:linear-gradient(to top,rgba(0,0,0,.66),rgba(0,0,0,.28) 55%,transparent)}
.gx-hero h1{max-width:1040px;margin:0 auto;color:#fff;font-size:clamp(2rem,5.2vw,3.8rem);line-height:1.05;text-shadow:0 1px 18px rgba(0,0,0,.35)}
.gx-wrap{max-width:1040px;margin:0 auto;padding:0 16px}
.gx-wrap>.g-lead{max-width:720px;margin:28px auto 40px;text-align:center}
.gx-card{display:flex;flex-direction:column;text-decoration:none;color:inherit}
.gx-card figure{margin:0;overflow:hidden;border-radius:8px;background:var(--ph,#E4EAED)}
.gx-card img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.gx-card:hover img,.gx-card:focus-visible img{transform:scale(1.045)}
@media (prefers-reduced-motion:reduce){.gx-card img{transition:none}.gx-card:hover img{transform:none}}
.gx-txt{display:block;padding:12px 2px 0}
.gx-h{display:block;font-size:1.35rem;line-height:1.2;margin:0 0 6px}
.gx-line{display:block;opacity:.85;line-height:1.45}
.gx-cover{margin:0 0 48px}
.gx-cover img{aspect-ratio:4/3}
.gx-cover .gx-h{font-size:clamp(1.5rem,3vw,2.2rem)}
.gx-mosaic{display:grid;grid-template-columns:1fr;gap:28px 20px;margin:0 0 48px}
.gx-m .gx-txt{border-top:3px solid var(--acc);margin-top:10px;padding-top:10px}
.gx-label{display:block;color:var(--acc);font-weight:600;letter-spacing:.08em;text-transform:uppercase;font-size:.8rem;margin:0 0 4px}
body.dark .gx-label{filter:brightness(1.7)}
.gx-m img{aspect-ratio:4/3}
.gx-pair{display:grid;grid-template-columns:1fr;gap:28px 20px;margin:0 0 48px}
.gx-small img{aspect-ratio:3/2}
.gx-more{max-width:1040px;margin:0 auto 48px;padding:0 16px}
.gx-more>summary{cursor:pointer;display:inline-block;padding:10px 18px;border:1px solid currentColor;border-radius:999px;margin:0 0 8px}
.gx-more[open]>summary{margin-bottom:24px}
@media (min-width:820px){
 .gx-cover{display:grid;grid-template-columns:3fr 2fr;gap:28px;align-items:center}
 .gx-cover .gx-txt{padding:0}
 .gx-mosaic{grid-template-columns:repeat(3,1fr)}
 .gx-mosaic .gx-big{grid-column:span 2;grid-row:span 2}
 .gx-mosaic .gx-big figure{flex:1;min-height:0}
 .gx-mosaic .gx-big img{aspect-ratio:auto}
 .gx-mosaic>:nth-child(4){grid-column:1;grid-row:3}
 .gx-mosaic>:nth-child(5){grid-column:1;grid-row:4}
 .gx-mosaic>:nth-child(6){grid-column:2 / span 2;grid-row:3 / span 2}
 .gx-pair{grid-template-columns:1fr 1fr}
}

/* instinct 2026-11-19: AI room badge (as on the product page) + one-line AI note under room scenes */
.guides-page .g-room,.gx-card figure,.gx-hero figure{position:relative}
.guides-page .aitag{position:absolute;left:10px;bottom:10px;background:rgba(0,0,0,.5);color:#fff;font-size:11px;line-height:1.4;padding:3px 8px;border-radius:999px;z-index:2;pointer-events:none}
.gx-hero .aitag{left:auto;right:10px;top:10px;bottom:auto}
.guides-page .g-room:has(+ .ai-note){margin-bottom:0}
.guides-page .ai-note,.guides-page .g-wrap p.ai-note{margin:6px 0 28px;font-size:13px;line-height:1.4;color:var(--muted,#6b665f)}
.gx-wrap>.ai-note{text-align:center;margin:14px auto 0}
