/*
 * du-hub.css — Shared T2 City Hub stylesheet
 * Enqueued only on pages using the "DU City Hub" page template (page-city-hub.php).
 * Consolidates the per-page inline <style> blocks + page-ID-scoped !important
 * overrides that every city hub previously needed (Bali fix, 2026-07-26).
 * This template renders content OUTSIDE .entry-content, so the global
 * Customizer CSS rules that caused the original bleed-through bug cannot
 * reach these classes — no !important overrides should be needed here.
 */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,900;1,700&family=DM+Sans:wght@300;400;500;600&display=swap');

/* Template-level resets — Kadence theme conflicts (see project Technical Reference) */
body.page-template-page-city-hub-php #primary.content-area{margin-top:0}
body.page-template-page-city-hub-php .content-container.site-container{display:block}
body.page-template-page-city-hub-php article.du-hub-page{display:block;max-width:100%;margin:0;padding:0}

.bu{font-family:'DM Sans',sans-serif;color:#2c2c2c}

/* HERO */
.bu-hero{position:relative;min-height:480px;height:auto;max-height:none;display:flex;align-items:center;justify-content:center;overflow:hidden;text-align:center;padding:56px 24px}
.bu-hbg{position:absolute;inset:0;background-size:cover;background-position:center}
.bu-hov{position:absolute;inset:0;background:linear-gradient(160deg,rgba(8,22,12,.72) 0%,rgba(15,35,20,.45) 55%,rgba(8,22,12,.78) 100%)}
.bu-hfd{position:absolute;bottom:0;left:0;right:0;height:150px;background:linear-gradient(to top,#fff,transparent)}
.bu-hi{position:relative;z-index:2;max-width:860px}
.bu-logo-hp{margin-bottom:24px;display:flex;align-items:center;justify-content:center;gap:14px}
.bu-sun{width:44px;height:44px;opacity:.92}
.bu-logo-text{font-family:'Playfair Display',serif;font-size:1.6rem;line-height:1;color:#fff;font-weight:700}
.bu-logo-text em{font-style:italic;color:#2DD4BF;font-weight:700}
.bu-eye{display:inline-block;font-size:10px;font-weight:600;letter-spacing:4px;text-transform:uppercase;color:#2DD4BF;margin-bottom:22px;padding:6px 16px;border:1px solid rgba(201,168,76,.45);border-radius:2px}
.bu-hero h1{font-family:'Playfair Display',serif;font-size:clamp(1.6rem,3.2vw,2.6rem);font-weight:700;color:#fff;line-height:1.1;margin-bottom:12px;letter-spacing:-0.5px}
.bu-hero h1 em{font-style:italic;color:#2DD4BF}
.bu-hs{font-size:1.15rem;color:rgba(255,255,255,.8);max-width:580px;margin:0 auto 40px;line-height:1.65;font-weight:300}
.bu-ctas{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.bp{background:#2DD4BF;color:#0f1f16;padding:15px 34px;border-radius:3px;font-size:.92rem;font-weight:600;text-decoration:none;transition:all .2s}
.bp:hover{background:#dbb95a;transform:translateY(-2px)}
.bs{background:#fff;color:#1a3a2a;padding:15px 34px;border-radius:3px;font-size:.92rem;font-weight:600;text-decoration:none;border:1px solid #fff;transition:all .2s}
.bs:hover{background:rgba(255,255,255,.85);color:#0f2418}

/* EMAIL (optional section, some cities may not use it) */
.bu-em{background:#1a3a2a;padding:60px 24px;text-align:center}
.bu-em h2{font-family:'Playfair Display',serif;font-size:2rem;color:#fff;margin:0 0 6px}
.bu-em .sub{color:rgba(255,255,255,.6);margin-bottom:6px;font-size:.9rem}
.bu-em .inc{color:#2DD4BF;font-size:.86rem;font-weight:600;margin-bottom:24px}
.bu-fm{display:flex;gap:10px;max-width:500px;margin:0 auto;flex-wrap:wrap;justify-content:center}
.bu-fm input{flex:1;min-width:220px;padding:14px 16px;border:1px solid rgba(255,255,255,.18);border-radius:3px;font-size:.92rem;background:rgba(255,255,255,.1);color:#fff;font-family:'DM Sans',sans-serif}
.bu-fm input::placeholder{color:rgba(255,255,255,.38)}
.bu-fm button{background:#2DD4BF;color:#0f1f16;padding:14px 24px;border:none;border-radius:3px;font-size:.88rem;font-weight:600;cursor:pointer;white-space:nowrap}
.bu-tc{font-size:.7rem;color:rgba(255,255,255,.3);max-width:500px;margin:10px auto 0;line-height:1.5;display:block;text-align:center}

/* PILLAR / TOPIC CARDS */
.bu-pl{padding:48px 24px 56px;max-width:1240px;margin:0 auto}
.bu-lbl{font-size:10px;font-weight:600;letter-spacing:4px;text-transform:uppercase;color:#2DD4BF;margin-bottom:12px;display:block}
.bu-ttl{font-family:'Playfair Display',serif;font-size:clamp(2rem,4vw,3rem);font-weight:700;color:#1a3a2a;margin-bottom:44px;line-height:1.15}
.bu-gd{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
@media(max-width:1100px){.bu-gd{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){.bu-gd{grid-template-columns:1fr}}
.bu-cd{border-radius:8px;overflow:hidden;border:1px solid #e8d9c0;transition:all .25s;background:#fff;box-shadow:0 2px 10px rgba(0,0,0,.05)}
.bu-cd:hover{transform:translateY(-4px);box-shadow:0 16px 40px rgba(26,58,42,.14);border-color:#2DD4BF}
.bu-cd img{height:190px;object-fit:cover;width:100%;display:block}
.bu-cdb{padding:18px 16px}
.bu-cd h3{font-family:'Playfair Display',serif;font-size:.98rem;font-weight:700;margin:0 0 7px;color:#1a3a2a;line-height:1.25}
.bu-cd p{font-size:.8rem;line-height:1.5;color:#666;margin:0 0 12px}
.bu-cd a{font-size:.78rem;font-weight:600;color:#2DD4BF;text-decoration:none}
.bu-cd a:hover{text-decoration:underline}

/* TWO-COL SPOTLIGHT SECTION */
.bu-2col{padding:80px 24px;background:#f8f4ed}
.bu-2col-in{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:start}
@media(max-width:768px){.bu-2col-in{grid-template-columns:1fr;gap:32px}}
.bu-col img{width:100%;height:380px;object-fit:cover;border-radius:6px;margin-bottom:20px}
.bu-col-label{font-size:10px;font-weight:600;letter-spacing:3px;text-transform:uppercase;color:#2DD4BF;margin-bottom:12px;display:block}
.bu-col h2{font-family:'Playfair Display',serif;font-size:1.8rem;font-weight:700;color:#1a3a2a;margin:0 0 14px;line-height:1.2}
.bu-col p{font-size:.95rem;line-height:1.7;color:#555;margin:0 0 20px}
.bu-col a.btn-dk{background:#1a3a2a;color:#fff;padding:13px 26px;border-radius:3px;font-size:.88rem;font-weight:600;text-decoration:none;display:inline-block}
.bu-col a.btn-gd{background:#2DD4BF;color:#0f1f16;padding:13px 26px;border-radius:3px;font-size:.88rem;font-weight:600;text-decoration:none;display:inline-block}

/* ABOUT */
.bu-ab{padding:48px 24px;max-width:860px;margin:0 auto;text-align:center}
.bu-ab p{font-size:1.05rem;line-height:1.8;color:#555;margin-bottom:18px}
.bu-dv{width:60px;height:2px;background:#2DD4BF;margin:0 auto 32px}

.bu-du{font-size:.73rem;color:rgba(255,255,255,.22);margin-top:10px}
.bu-du a{color:rgba(255,255,255,.28);margin:0 3px}

/* MORE GUIDES GRID */
.bu-more{padding:56px 24px 64px;max-width:1240px;margin:0 auto}
.bu-mg-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
@media(max-width:900px){.bu-mg-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.bu-mg-grid{grid-template-columns:1fr}}

/* LATEST FROM CITY (dynamic query block) */
.bu-latest{background:#fbf8f2;padding:84px 24px;border-top:1px solid #eadfce}
.bu-latest .bu-latest-head{text-align:center;max-width:700px;margin:0 auto 46px}
.bu-latest .bu-latest-head .bu-ttl{margin:8px 0 14px;text-align:center}
.bu-latest .bu-latest-sub{color:#5a6b5f;font-size:1.06rem;line-height:1.65}
.bu-latest-grid ul.wp-block-post-template{display:grid !important;grid-template-columns:repeat(3,1fr);gap:28px;margin:0 auto;padding:0;list-style:none;max-width:1240px}
.bu-latest-grid li.wp-block-post{background:#fff;border:1px solid #e8d9c0;border-radius:12px;overflow:hidden;display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s}
.bu-latest-grid li.wp-block-post:hover{transform:translateY(-4px);box-shadow:0 14px 32px rgba(26,58,42,.14)}
.bu-latest-grid .wp-block-post-featured-image{margin:0}
.bu-latest-grid .wp-block-post-featured-image img{width:100%;aspect-ratio:3/2;object-fit:cover;display:block}
.bu-latest-grid .wp-block-post-terms{padding:18px 22px 0;font-size:.72rem;letter-spacing:2px;text-transform:uppercase;font-weight:600}
.bu-latest-grid .wp-block-post-terms a{color:#2DD4BF;text-decoration:none}
.bu-latest-grid .wp-block-post-title{padding:7px 22px 0;margin:0;font-family:'Playfair Display',serif;font-size:1.24rem;line-height:1.28}
.bu-latest-grid .wp-block-post-title a{color:#1a3a2a;text-decoration:none}
.bu-latest-grid .wp-block-post-title a:hover{color:#2DD4BF}
.bu-latest-grid .wp-block-post-excerpt{padding:9px 22px 24px;margin:0;color:#5a6b5f;font-size:.92rem;line-height:1.55}
.bu-latest-grid .wp-block-post-excerpt__more-text{display:none}
.bu-latest .wp-block-buttons{margin-top:44px;display:flex;justify-content:center}
.bu-blog-btn a{display:inline-block;background:#1a3a2a;color:#fff !important;padding:15px 34px;border-radius:4px;font-weight:600;text-decoration:none;font-size:.88rem;letter-spacing:.5px}
.bu-blog-btn a:hover{background:#2DD4BF;color:#0f1f16 !important}
@media(max-width:900px){.bu-latest-grid ul.wp-block-post-template{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.bu-latest-grid ul.wp-block-post-template{grid-template-columns:1fr}}
