/*
Theme Name: GTA 6 Guides
Version: 1.0
Text Domain: gta6guides
*/
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:20px}body{margin:0;background:#101019;color:#f8f2f7;font:16px/1.55 Inter,Arial,sans-serif}header,main,footer{max-width:1240px;margin:auto;padding:0 5%}header,nav{display:flex;align-items:center;justify-content:space-between;gap:24px}header{min-height:78px}.brand{font-weight:900;letter-spacing:-1px}.brand i{padding:4px 9px;margin-right:8px;background:#ff78aa;color:#201221;border-radius:5px}.brand b,small,a:hover{color:#ff86b5}a{color:inherit;text-decoration:none}nav a{font-size:14px}nav span{background:#332237;border-radius:9px;padding:2px 7px}.hero{position:relative;overflow:hidden;border-radius:20px;background:#382339}.hero svg{position:absolute;inset:0;width:100%;height:100%}.lead{position:relative;padding:clamp(25px,5vw,72px);background:linear-gradient(90deg,#211629ec,transparent 83%)}small{font-size:11px;font-weight:800;letter-spacing:2px;text-transform:uppercase}h1,h2,h3{line-height:1.06;letter-spacing:-.045em}h1{font-size:clamp(39px,5.8vw,82px);margin:20px 0}h1 em{color:#ffc0d2;font-family:Georgia,serif}.lead p{color:#ffe6ee}.cta,button{cursor:pointer}.cta,.action{background:#ff91b4;color:#241221;padding:12px 20px;border:0;border-radius:8px;font-weight:750;display:inline-block;margin-top:8px}.cta:hover{color:#111;background:#ffc1d6}section+section{margin-top:52px}h2{font-size:clamp(30px,4vw,48px);margin:8px 0 16px}p{color:#c6c1ce}.atlas,.cards{display:grid;gap:16px}.atlas{grid-template-columns:1.65fr 1fr;background:#201e29;border:1px solid #403846;border-radius:16px;overflow:hidden}.map{position:relative;min-height:300px}.map svg{position:absolute;width:100%;height:100%}.map button{position:absolute;transform:translate(-50%,-50%);background:#252133;border:2px solid #ffb2d0;color:#fff;border-radius:50%;width:34px;height:34px;font-weight:bold}.map button[aria-pressed=true]{background:#ff9fc2;color:#241221;outline:4px solid #ff91b437}.map label{position:absolute;bottom:10px;left:12px;font:10px monospace;color:#c1d4d8}#panel{padding:28px}h3{font-size:28px;margin:12px 0}.cards{grid-template-columns:repeat(3,1fr);margin-top:20px}article,dialog{background:#211e2b;color:#fff;border:1px solid #3d3545;border-radius:14px;padding:24px}article a,footer a,dialog a,#panel a,#favorites a{color:#ff9bc0}input{width:min(100%,480px);background:#1c1924;color:white;border:1px solid #494050;border-radius:8px;font:inherit;padding:12px 16px}dialog{max-width:min(590px,94vw)}dialog::backdrop{background:#080710d9}#close{float:right;background:transparent;color:#fff;border:1px solid #716678;border-radius:5px;padding:6px}footer{margin-top:50px;padding-top:23px;padding-bottom:28px;border-top:1px solid #322c3a;color:#aaa;font-size:13px}footer a{display:inline-block;margin-left:12px}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #70e7d1}button{font:inherit}@media(max-width:720px){header{align-items:flex-start;flex-direction:column;gap:9px;padding-top:16px;padding-bottom:14px}.atlas,.cards{grid-template-columns:1fr}.map{min-height:275px}.lead{background:linear-gradient(90deg,#201429e8,transparent)}nav{gap:18px}.cards article{padding:18px}section+section{margin-top:34px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.filters{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.filters label{color:#c9bdcf}select{background:#211e2b;color:white;padding:10px;border-radius:6px;border:1px solid #494050}.cards article{display:flex;flex-direction:column}.cards article[hidden]{display:none}.cards h3 a{color:#fff}.cards .read{margin-top:auto}.kicker{font-family:Georgia,serif;font-style:italic;color:#ffc3d9}summary{cursor:pointer;color:#ffa7cc}dialog{max-height:85vh}dialog h2{margin-top:14px}
.cards article.gta-paged-out{display:none}.library-pages{display:flex;justify-content:space-between;align-items:center;gap:10px}.library-pages [hidden]{display:none}.library-pages p{font-size:14px}
.article-main{max-width:880px;padding-block:28px 60px}.breadcrumbs{justify-content:flex-start;flex-wrap:wrap;font-size:14px;color:#c6bece;margin-bottom:24px;gap:10px}.article-main article{padding:clamp(20px,5vw,54px)}.article-main article h1{font-size:clamp(32px,5vw,58px)}.article-main article h1 a{color:#fff}.article-main article p{line-height:1.8}

.hero .hero-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:65% 53%}.hero .lead{background:linear-gradient(90deg,rgba(17,10,28,.9) 0%,rgba(25,13,35,.75) 35%,rgba(18,10,29,.15) 70%)}@media(max-width:720px){.hero .hero-cover{object-position:62% center}.hero .lead{background:linear-gradient(90deg,rgba(15,10,26,.84),rgba(20,12,27,.46) 75%,rgba(17,10,28,.24))}}
.atlas-links{display:block;padding:20px 24px;background:#201d29;border:1px solid #443345;border-radius:14px;margin:16px 0}.atlas-links ul{display:flex;flex-wrap:wrap;gap:10px;list-style:none;padding:0;margin:10px 0 0}.atlas-links a{display:inline-block;padding:8px 12px;background:#322534;border-radius:7px;color:#ffc0d4}.atlas-links a:hover{background:#4a3144}
.route-guide{margin:28px 0;padding:clamp(15px,3vw,25px);border-radius:16px;background:#1d2130;border:1px solid #494253}.route-guide h2{font-size:clamp(23px,3vw,34px);margin:0 0 .6em}.route-guide figure{margin:12px 0}.route-guide img{width:100%;height:auto;display:block;border-radius:9px}.route-guide figcaption{font-weight:700;margin-top:12px}.route-guide li{margin:.4em 0}.route-guide small,.source-credit{font-size:.86rem;color:#cbbfcb}.route-guide small{letter-spacing:normal}
/* Phone and compact landscape layouts */
body{overflow-wrap:break-word}main,section,.cards article,.filters>*{min-inline-size:0}img,video,iframe{max-inline-size:100%}.cards article[hidden]{display:none!important}
.language-compact{display:none}
@media(max-width:760px),(max-height:520px) and (orientation:landscape){
html{scroll-padding-top:12px}header,main,footer{padding-inline:clamp(12px,4vw,28px)}
header{min-height:0;align-items:flex-start;gap:4px;padding-block:10px}header nav{display:flex;gap:4px 12px;flex-wrap:wrap;justify-content:flex-start;align-items:center;width:100%}header nav a,.brand,.breadcrumbs a,.read,.atlas-links a{display:inline-flex;min-block-size:44px;align-items:center}
.language-wide{display:none!important}.language-compact{display:flex;align-items:center;justify-content:flex-end;padding:4px max(12px,4vw);background:#1b1726}.language-compact select{width:auto;max-width:100%;min-height:44px;margin:0;font-size:16px}
.hero{border-radius:14px}.hero:not(:has(.lead)){padding:clamp(18px,6vw,36px)}.hero h1{font-size:clamp(33px,9vw,56px);line-height:1.04}.lead{padding:clamp(18px,5vw,32px)}.hero p{max-width:36ch}.cta,.action,summary,#close,.library-pages button{min-height:44px}
h1,h2,h3,summary{overflow-wrap:anywhere}.article-main article{padding:clamp(14px,4vw,25px)}.article-main article h1,main>section>h1{font-size:clamp(30px,8.3vw,50px)}main>section>figure{margin:16px 0}main>section>figure img{height:auto;display:block}.route-guide{padding:15px}.route-guide ol{padding-inline-start:22px}
.filters{align-items:stretch;gap:8px}.filters input,.filters label{width:100%}.filters label{display:flex;align-items:center;gap:8px}.filters select{flex:1}.filters input,.filters select,#findGuide,#category{font-size:16px;min-height:44px}.cards{grid-template-columns:minmax(0,1fr)}.map button{width:44px;height:44px}.atlas{grid-template-columns:minmax(0,1fr)}.atlas-links ul{gap:4px}.atlas-links{padding:14px}
dialog{width:min(100% - 20px,590px);max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px);padding:16px;overscroll-behavior:contain}dialog #close{float:none;position:sticky;top:0;display:block;margin-left:auto;z-index:1;background:#292331}dialog h2{clear:both}.breadcrumbs{gap:6px;line-height:1.35}
#atlas iframe{display:block;width:100%!important;height:clamp(340px,68svh,640px)!important;border:0;min-width:0}
}
@media(orientation:landscape) and (max-height:520px){#atlas iframe{height:86svh!important;min-height:225px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.hero h1{font-size:clamp(32px,6.5vw,52px)}dialog{max-height:calc(100dvh - 12px)}}

