/*
 * Tier 1 City Page (template-pages/temp_city_page.php)
 * Everything is scoped under .cty so it can't leak into the rest of the site.
 * Colours follow css/style.css: #305fac primary, #6ca8d2 secondary, #e2eef6 light.
 */

/* Undo theme base rules (css/style.css sets colour/weight/size on div, p, a, li, h1, h2). */
.cty{font-family:"Montserrat",sans-serif;color:var(--ink);font-size:17px;line-height:1.6;letter-spacing:.2px;background:#fff;clear:both}
.cty div,.cty p,.cty a,.cty li,.cty ul,.cty ol,.cty span,.cty dl,.cty dt,.cty dd,.cty figure,.cty figcaption,.cty blockquote,.cty th,.cty td,.cty small{color:inherit;font-weight:inherit}
.cty p{font-size:inherit;line-height:inherit;letter-spacing:inherit}
.cty img{max-width:100%;height:auto;display:block}
.cty :focus-visible{outline:3px solid #f79320;outline-offset:2px}
.cty [hidden]{display:none!important}

/* The theme renders the featured image as a full-width banner above the content;
   on this page it is the skyline at the foot of the hero instead. */
.cty-page .inner-contact-banner{display:none}

.cty{--blue:#305fac; --blue-dark:#1f3b78; --navy:#14264d; --sky:#6ca8d2; --ice:#e2eef6;
  --ink:#1b1f2a; --muted:#4a5468; --line:#d6e2ee; --amber:#f79320;}
.cty h1,.cty h2,.cty h3{margin:0;color:var(--navy);font-weight:700;line-height:1.18;letter-spacing:.3px}
.cty h2{font-size:36px;margin-bottom:16px}
.cty h3{font-size:21px}
.cty p{margin:0 0 14px}
.cty .cty-container{width:1170px;max-width:calc(100% - 32px);margin:0 auto}
.cty .cty-narrow{width:820px}
.cty section{padding:76px 0}
.cty .cty-center{text-align:center}
.cty .cty-sec-head{max-width:820px;margin:0 auto 38px}
.cty .cty-sub{font-size:20px;font-weight:500;color:var(--muted)}
.cty .cty-strong{font-weight:700}
.cty .cty-bg-ice{background:var(--ice)}
.cty .cty-bg-soft{background:#f6f9fc}

/* Buttons and links. Contextual links stay visually subordinate to the two conversion buttons. */
.cty .cty-btn{display:inline-flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px 10px;font:600 16px/1.2 "Montserrat",sans-serif;text-transform:uppercase;letter-spacing:.4px;padding:16px 26px;border:1px solid var(--blue);text-decoration:none;cursor:pointer;transition:background .25s,color .25s;text-align:center}
.cty .cty-btn-amber{background:var(--amber);border-color:var(--amber);color:#1b1f2a}
.cty .cty-btn-amber:hover{background:#ffab45}
.cty .cty-btn-primary{background:var(--blue);color:#fff}
.cty .cty-btn-primary:hover{background:var(--blue-dark)}
.cty .cty-btn-ghost{background:#fff;color:var(--blue)}
.cty .cty-btn-ghost:hover{background:var(--ice)}
.cty .cty-btn-outline-light{background:transparent;border-color:rgba(255,255,255,.65);color:#fff}
.cty .cty-btn-outline-light:hover{background:rgba(255,255,255,.1)}
.cty .cty-btn-call small{font-size:15px;font-weight:600;letter-spacing:.2px;white-space:nowrap}
.cty .cty-btn-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.cty .cty-btn-row-center{justify-content:center}
.cty .cty-textlink{font-size:14px;font-weight:600;letter-spacing:.6px;color:var(--blue);text-decoration:none;border-bottom:2px solid var(--sky);padding-bottom:2px}
.cty .cty-textlink:hover{color:var(--navy)}
.cty .cty-link-row{margin:18px 0 0}

/* Hero: copy over the pale banner colour, with the city skyline along the bottom. */
.cty .cty-hero{padding:42px 0 0;background:#eef2f6;overflow:hidden}
.cty .cty-crumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:6px;margin:0 0 26px;padding:0;font-size:13px;color:var(--muted)}
.cty .cty-crumbs li+li::before{content:"›";margin-right:6px}
.cty .cty-crumbs a{color:var(--blue)}
.cty .cty-crumbs [aria-current]{font-weight:600}
.cty .cty-eyebrow{display:block;font-size:13px;font-weight:700;letter-spacing:2px;color:var(--blue);margin-bottom:12px}
.cty .cty-statement{font-size:50px;font-weight:800;line-height:1.1;color:var(--navy);margin:0 0 18px;max-width:960px}
.cty .cty-statement span{display:block;color:var(--blue);font-size:38px;font-weight:700;margin-top:8px}
.cty .cty-hero h1{font-size:22px;font-weight:700;color:var(--ink);margin-bottom:8px}
.cty .cty-tagline{font-weight:600;color:var(--ink);margin-bottom:6px}
.cty .cty-hero-lead{max-width:700px;color:var(--muted)}
.cty .cty-micro{font-size:14px;color:var(--muted);margin:12px 0 0}
.cty .cty-skyline{margin-top:6px}
.cty .cty-skyline img{width:100%;height:clamp(120px,19vw,300px);object-fit:cover;object-position:center bottom}

/* Proof and answer */
.cty .cty-proof{padding:44px 0;background:#fff;border-bottom:1px solid var(--line);text-align:center}
.cty .cty-proof h2{font-size:27px;margin-bottom:10px}
.cty .cty-rating{font-size:18px;margin:0}
.cty .cty-rating b{font-size:24px;font-weight:800;color:var(--navy)}
.cty .cty-rating>span{color:var(--amber)}
.cty .cty-answer{padding:54px 0 0;text-align:center}
.cty .cty-answer h2{font-size:30px;color:var(--blue)}
.cty .cty-answer p{font-size:20px;line-height:1.55}
.cty .cty-problem{padding:44px 0 76px;text-align:center}

/* Three-layer and package cards */
.cty .cty-layers,.cty .cty-packages{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.cty .cty-layers article,.cty .cty-packages article{background:#fff;border:1px solid var(--line);border-top:4px solid var(--blue);padding:28px 26px;display:flex;flex-direction:column;align-items:flex-start}
.cty .cty-layers p,.cty .cty-packages p{flex:1}
.cty .cty-packages p{margin:0}
.cty .cty-tag{font-size:12px;font-weight:700;letter-spacing:1.6px;color:var(--blue);margin-bottom:8px}
.cty .cty-layers h3,.cty .cty-packages h3{margin-bottom:10px}

/* Text beside a photo */
.cty .cty-split{display:grid;grid-template-columns:1fr 1fr;gap:54px;align-items:center}
.cty .cty-photo img{width:100%;height:380px;object-fit:cover}

.cty .cty-checks{list-style:none;margin:6px 0 0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:12px 28px}
.cty .cty-checks li{position:relative;padding-left:28px;font-weight:500}
.cty .cty-checks li::before{content:"";position:absolute;left:2px;top:5px;width:12px;height:7px;border-left:3px solid var(--blue);border-bottom:3px solid var(--blue);transform:rotate(-45deg)}

.cty .cty-threats-wrap{margin-top:56px}
.cty .cty-h3-center{text-align:center;font-size:27px;margin-bottom:26px}
.cty .cty-threats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin:0}
.cty .cty-threats>div{background:#f6f9fc;border:1px solid var(--line);padding:22px}
.cty .cty-threats dt{font-weight:700;color:var(--blue);margin-bottom:6px}
.cty .cty-threats dd{margin:0;font-size:15.5px}

.cty .cty-bg-navy{background:var(--navy);color:#fff}
.cty .cty-bg-navy h2{color:#fff}
.cty .cty-bg-navy .cty-textlink{color:#fff}
.cty .cty-bg-navy .cty-textlink:hover{color:var(--ice)}

/* Reviews */
.cty .cty-reviews{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.cty .cty-reviews figure{margin:0;border:1px solid var(--line);padding:26px;display:flex;flex-direction:column;justify-content:space-between;gap:14px}
.cty .cty-reviews blockquote{margin:0;font-size:16px}
.cty .cty-reviews figcaption{font-size:14px;font-weight:600;color:var(--blue)}

/* Service area */
.cty .cty-area{display:grid;grid-template-columns:1.1fr 1fr;gap:48px;align-items:start}
.cty .cty-outside{background:var(--ice);padding:32px}
.cty .cty-outside h3{margin-bottom:10px}
.cty .cty-communities{list-style:none;margin:18px 0 0;padding:0}
.cty .cty-communities li{display:flex;justify-content:space-between;gap:18px;padding:10px 0;border-bottom:1px solid var(--line)}
.cty .cty-communities b{font-weight:600}
.cty .cty-communities span{font-size:14.5px;color:var(--muted);text-align:right}

.cty .cty-facts{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--line);margin-top:8px}
.cty .cty-facts th,.cty .cty-facts td{padding:12px 16px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top;font-size:16px}
.cty .cty-facts th{width:38%;font-weight:600;color:var(--navy)}

/* FAQ */
.cty .cty-faq-item{border-bottom:1px solid var(--line)}
.cty .cty-faq-item h3{font-size:inherit;font-weight:inherit;letter-spacing:inherit}
.cty .cty-faq button{width:100%;display:flex;justify-content:space-between;gap:16px;text-align:left;background:none;border:0;padding:18px 0;font:600 17px/1.35 "Montserrat",sans-serif;color:var(--navy);cursor:pointer}
.cty .cty-faq button::after{content:"+";font-size:22px;line-height:1;color:var(--blue)}
.cty .cty-faq button[aria-expanded="true"]::after{content:"\2212"}
.cty .cty-faq-a{padding:0 0 12px}

.cty .cty-final{background:var(--navy);color:#fff}
.cty .cty-final h2{color:#fff;font-size:40px}
.cty .cty-final h2 span{display:block;color:var(--sky)}
.cty .cty-final .cty-sub{color:#dfe8f3}

/* Editors only */
.cty .cty-verify{background:repeating-linear-gradient(135deg,#fff7e8,#fff7e8 10px,#ffefcf 10px,#ffefcf 20px);border:2px dashed #c77700;color:#5a3600;padding:12px 16px;margin:16px 0;font-size:14px;line-height:1.5;text-align:left}
.cty .cty-verify strong{font-weight:800}
.cty .cty-verify span{font-weight:700}
.cty .cty-missing{outline:2px dashed #c77700;outline-offset:3px;opacity:.75}

@media (min-width:1170px){
	/* The theme's blue nav bar overlaps the top of the content at this width. */
	.cty .cty-hero{padding-top:126px}
}
@media (max-width:1000px){
	.cty .cty-threats{grid-template-columns:1fr 1fr}
	.cty .cty-reviews{grid-template-columns:1fr}
}
@media (max-width:860px){
	.cty section{padding:56px 0}
	.cty h2{font-size:29px}
	.cty .cty-hero{padding-top:30px}
	.cty .cty-statement{font-size:38px}
	.cty .cty-statement span{font-size:28px}
	.cty .cty-answer{padding-top:44px}
	.cty .cty-problem{padding:32px 0 56px}
	.cty .cty-layers,.cty .cty-packages,.cty .cty-split,.cty .cty-area{grid-template-columns:1fr}
	.cty .cty-split{gap:30px}
	/* Keep copy above its photo whichever side the photo is on at desktop width. */
	.cty .cty-split-flip .cty-photo{order:2}
	.cty .cty-photo img{height:260px}
	.cty .cty-final h2{font-size:31px}
}
@media (max-width:600px){
	.cty{font-size:16px}
	.cty .cty-statement{font-size:32px}
	.cty .cty-statement span{font-size:24px}
	.cty .cty-checks,.cty .cty-threats{grid-template-columns:1fr}
	.cty .cty-btn-row .cty-btn{width:100%}
	.cty .cty-facts th,.cty .cty-facts td{display:block;width:100%}
	.cty .cty-facts th{border-bottom:0;padding-bottom:0}
	.cty .cty-communities li{flex-direction:column;gap:2px}
	.cty .cty-communities span{text-align:left}
}
