/* Shared styles for the driver-side guide/landing pages (/old-north-tlv/,
   /blue-and-white-parking/). Loaded AFTER home.css, which already provides the
   header, footer, buttons and colour tokens — this file only adds the article
   layout those pages need. */

/* ---------- Compact hero (the homepage hero is full-viewport; these are not) ---------- */
.g-hero{
  position:relative;display:flex;align-items:flex-end;min-height:520px;
  background-size:cover;background-position:center;
}
.g-hero::after{
  content:'';position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.55) 0%,rgba(0,0,0,.35) 45%,rgba(0,0,0,.62) 100%);
}
.g-hero-inner{position:relative;z-index:1;max-width:1100px;margin:0 auto;padding:150px 56px 56px;width:100%}
.g-crumb{color:rgba(255,255,255,.85);font-size:17px;font-weight:500;margin:0 0 18px}
.g-crumb a{color:rgba(255,255,255,.85)}
.g-crumb a:hover{color:#fff}
.g-crumb .sep{margin:0 8px;opacity:.6}
.g-hero h1{margin:0 0 18px;color:#fff;font-size:52px;line-height:1.2;font-weight:700;max-width:900px}
.g-hero .lede{margin:0 0 30px;color:#fff;font-size:23px;line-height:1.55;font-weight:500;max-width:760px}

/* ---------- Article body ---------- */
.g-wrap{max-width:1100px;margin:0 auto;padding:72px 56px 40px}
.g-wrap h2{margin:0 0 20px;font-size:38px;line-height:1.3;font-weight:700;color:#0d2b29}
.g-wrap h3{margin:34px 0 12px;font-size:24px;line-height:1.35;font-weight:700;color:#0d2b29}
.g-wrap p{margin:0 0 18px;font-size:20px;line-height:1.7;color:#26403e}
.g-wrap ul,.g-wrap ol{margin:0 0 18px;padding-inline-start:26px}
.g-wrap li{font-size:20px;line-height:1.7;color:#26403e;margin-bottom:10px}
.g-wrap a{font-weight:600;text-decoration:underline;text-underline-offset:3px}
.g-section{margin-bottom:58px}
.g-section:last-child{margin-bottom:0}

/* Alternating band so a long guide does not read as one wall of text */
.g-band{background:linear-gradient(180deg,#ebfaf8 0%,#f7fdfc 100%)}

/* Two-column block: copy beside a map/screenshot */
.g-split{display:flex;align-items:center;gap:56px;flex-wrap:wrap}
.g-split .g-col{flex:1 1 380px;min-width:0}
.g-split img{width:100%;max-width:480px;border-radius:16px;box-shadow:0 18px 44px rgba(0,40,38,.18);display:block}

/* Key-facts table (payment hours, permit rules) */
.g-table{width:100%;border-collapse:collapse;margin:0 0 18px;font-size:19px;background:#fff;
  border-radius:14px;overflow:hidden;box-shadow:0 6px 22px rgba(0,40,38,.08)}
.g-table th,.g-table td{padding:16px 20px;text-align:start;border-bottom:1px solid #e8f1f0}
.g-table th{background:#0d2b29;color:#fff;font-weight:700;font-size:18px}
.g-table tr:last-child td{border-bottom:0}
.g-table td:first-child{font-weight:600;color:#0d2b29}
.g-table-scroll{overflow-x:auto}

/* Callout — used for the "always obey the signage" warning */
.g-note{
  background:#fff;border-inline-start:6px solid var(--teal);border-radius:12px;
  padding:22px 26px;margin:0 0 18px;box-shadow:0 6px 22px rgba(0,40,38,.08);
}
.g-note p:last-child{margin-bottom:0}
.g-note b{color:#0d2b29}

/* Cards (tips / common mistakes) */
.g-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px}
.g-cards.pairs{grid-template-columns:repeat(auto-fit,minmax(420px,1fr))}  /* 4 cards -> 2x2, not 3+1 */
.g-card{background:#fff;border-radius:16px;padding:28px;box-shadow:0 10px 30px rgba(0,40,38,.1)}
.g-card h3{margin:0 0 10px;font-size:21px}
.g-card p{margin:0;font-size:18px;line-height:1.6}

/* FAQ — same accordion look as the homepage, scoped so it works outside .faq-inner */
.g-faq details{background:#fff;border-radius:14px;margin-bottom:12px;box-shadow:0 6px 20px rgba(0,40,38,.08)}
.g-faq summary{
  display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;
  padding:20px 24px;font-size:20px;font-weight:700;color:#0d2b29;list-style:none;
}
.g-faq summary::-webkit-details-marker{display:none}
.g-faq summary .x{color:var(--teal);font-size:26px;font-weight:700;line-height:1;transition:transform .2s ease}
.g-faq details[open] summary .x{transform:rotate(45deg)}
.g-faq p{padding:0 24px 22px;margin:0;font-size:19px;line-height:1.65}

/* Closing call-to-action */
.g-cta{background:linear-gradient(160deg,#42c8bf 0%,#2ea9a1 100%);text-align:center}
.g-cta .g-wrap{padding-top:64px;padding-bottom:64px}
.g-cta h2{color:#fff}
.g-cta p{color:#eafffd;max-width:700px;margin-inline:auto}
.g-cta .badges{justify-content:center;display:flex;gap:12px;margin-top:26px}
.g-cta .badges img{height:56px;width:auto;display:block;border-radius:10px}

/* Cross-links between the guides */
.g-more{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:24px}
.g-more a{
  display:block;background:#fff;border-radius:16px;padding:26px 28px;text-decoration:none;
  box-shadow:0 10px 30px rgba(0,40,38,.1);color:#0d2b29;transition:transform .15s ease;
}
.g-more a:hover{transform:translateY(-3px);color:#0d2b29}
.g-more b{display:block;font-size:21px;margin-bottom:8px}
.g-more span{display:block;font-size:17px;line-height:1.5;color:#4a6664}

@media (max-width:1024px){
  .g-hero{min-height:440px}
  .g-hero-inner{padding:130px 32px 44px}
  .g-hero h1{font-size:38px}
  .g-hero .lede{font-size:20px}
  .g-wrap{padding:56px 32px 32px}
  .g-wrap h2{font-size:30px}
  .g-wrap p,.g-wrap li{font-size:18px}
  .g-split{gap:32px}
}
@media (max-width:640px){
  .g-hero{min-height:400px}
  .g-hero-inner{padding:120px 20px 36px}
  .g-hero h1{font-size:28px}
  .g-hero .lede{font-size:17px}
  .g-wrap{padding:44px 20px 26px}
  .g-wrap h2{font-size:25px}
  .g-wrap h3{font-size:20px}
  .g-wrap p,.g-wrap li{font-size:17px}
  .g-table{font-size:16px}
  .g-table th,.g-table td{padding:12px 14px}
  .g-faq summary{font-size:17px;padding:16px 18px}
  .g-faq p{font-size:16px;padding:0 18px 18px}
}
