/* Texas Property Protest, county service pages. First built for /fort-bend-county/ and the template for the other county pages.
   Loaded AFTER home.css and texas.css and only holds what those two lack. Every class here is prefixed cty-.
   Same palette, fonts, 2px ink borders and hard offset shadows. No inline styles anywhere:
   the site's CSP only allows stylesheets from this origin. */

/* ---------- Breadcrumb ---------- */
.cty-crumbs ol{display:flex;flex-wrap:wrap;align-items:center;font:500 .8rem/1.2 var(--mono);letter-spacing:.06em;text-transform:uppercase}
.cty-crumbs li:not(:last-child)::after{content:"\203A";margin:0 10px;color:var(--red)}
.cty-crumbs a{display:inline-block;padding:15px 0;color:var(--navy-2);text-decoration:none}
.cty-crumbs a:hover{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:2px}
.cty-crumbs [aria-current]{display:inline-block;padding:15px 0;color:var(--mute)}

/* ---------- Hero: copy and the address form on the left, the county's own scene and character on the right ---------- */
.cty-hero{padding-top:clamp(0px,.8vw,8px);padding-bottom:0}
.cty-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:0 clamp(28px,4vw,64px);align-items:center;margin-top:clamp(6px,1.5vw,18px)}
.cty-copy .kick{margin:0 0 14px}
.cty-copy h1{font-size:clamp(2.2rem,1.15rem + 3.6vw,3.5rem)}
.cty-claim{width:min(100%,640px);margin:clamp(22px,2.4vw,30px) 0 0;text-align:left}
.cty-art{position:relative;width:100%;max-width:460px;justify-self:center;margin-bottom:6%}
.cty-art img{height:auto}
.cty-ra-scene{display:block;width:100%}
.cty-ra-char{position:absolute;width:33%;left:-7%;bottom:-17%;transform:rotate(-5deg)}
.cty-hero .tx-chips{grid-column:1/-1;width:100%;margin-top:clamp(34px,4.4vw,56px)}

/* ---------- In short: the plain answer under the hero ---------- */
.cty-short{padding:clamp(40px,5vw,64px) 0 clamp(52px,6.5vw,88px)}
.cty-short .kick{margin-bottom:0}
.cty-short .sub{margin-top:12px;max-width:70ch}

/* ---------- How a protest works: the four routes, what happens after, the district's dates ---------- */
.cty-how .sub{max-width:66ch}
.cty-how .sub a,.cty-routes .inbox a,.note a,.cty-card p a{color:var(--ink);font-weight:600;text-underline-offset:3px}
.cty-how-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(28px,4.5vw,64px);align-items:start;margin-top:clamp(32px,4vw,48px)}
.cty-how-grid--cards{grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr)}
.cty-routes .inbox{margin-top:20px}
.cty-steps-h{margin-top:clamp(32px,4vw,48px)}
.cty-stepsblock{max-width:720px;margin-top:clamp(32px,4vw,48px)}
.cty-stepsblock .cty-steps-h{margin-top:0}
.cty-steps{counter-reset:cty;margin-top:16px}
.cty-steps li{counter-increment:cty}
.cty-steps li::before{content:counter(cty) ". ";font-weight:700;color:var(--red)}
.cty-after{display:grid;gap:18px}
.cty-card{display:grid;align-content:start;gap:8px;background:var(--sky-2);border:var(--bd);border-radius:var(--r);box-shadow:4px 4px 0 var(--ink);padding:22px 24px 24px}
.cty-card h3::before{content:"\2605";content:"\2605" / "";color:var(--red);font-size:.8em;margin-right:.45em;position:relative;top:-.06em}
.cty-card p{color:var(--ink-2)}
.cty-dates{margin-top:clamp(52px,6.5vw,88px)}
.cty-dates .sub{max-width:66ch;margin-top:12px}
.cty-dates .year li:nth-child(3){background:var(--sky-2)}
.cty-dates .year li.hl{background:var(--sun)}
.cty-dates .year--4{grid-template-columns:repeat(4,1fr)}

/* ---------- At a glance: the one table ---------- */
.cty-glance .sub{max-width:62ch}
.cty-glance-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:clamp(20px,4vw,56px);align-items:end;max-width:1040px}
.cty-landmark{width:clamp(170px,20vw,250px);height:auto}
.cty-tbl{margin-top:30px;max-width:1040px;background:var(--white);border:var(--bd);border-radius:var(--r);overflow:hidden;box-shadow:6px 6px 0 var(--ink)}
.cty-tbl table{width:100%;border-collapse:collapse;font-size:.97rem}
.cty-tbl th,.cty-tbl td{text-align:left;vertical-align:top;padding:16px 20px;border-top:var(--bd)}
.cty-tbl thead th{white-space:nowrap;border-top:0;background:var(--sky-2);font:500 .76rem/1.3 var(--mono);letter-spacing:.05em;text-transform:uppercase;color:var(--ink-2)}
.cty-tbl tbody th{font-weight:700}
.cty-tbl td{color:var(--ink-2)}
.cty-tbl td.num{color:var(--ink);font:800 1.3rem/1.15 var(--disp);letter-spacing:-.02em;white-space:nowrap}
.cty-tbl a{color:var(--ink);font-weight:600;text-underline-offset:3px}

/* ---------- What it costs: the navy card, compact ---------- */
.cty-pricecard{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:clamp(24px,4vw,56px);align-items:center}
.cty-pricecard h2{font-size:clamp(2rem,1.4rem + 2.6vw,3rem)}
.cty-price-lead{margin-top:16px;max-width:34ch;color:#dfe7fb;font-size:1.1rem}
.cty-pricecard .tx-renew{margin-top:16px;font-size:1rem}
.cty-pricecard .textlink{margin-top:6px;color:#fff}
.cty-pricecard .tx-tiles{margin-top:0}
.cty-tile--sun{background:var(--sun);box-shadow:4px 4px 0 var(--red)}

/* ---------- The deadline ---------- */
.cty-split{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);grid-template-rows:auto 1fr;gap:0 clamp(24px,5vw,72px);align-items:start}
.cty-split .cty-prose{grid-column:2;grid-row:1/3}
.cty-mascot{grid-column:1;grid-row:2;height:clamp(170px,17vw,215px);width:auto;margin-top:22px}
.cty-prose{display:grid;gap:18px;max-width:62ch}
.cty-prose p{color:var(--ink-2)}
.cty-prose .cty-rule{padding:4px 0 4px 22px;border-left:6px solid var(--red);font:600 clamp(1.25rem,1.05rem + .8vw,1.7rem)/1.3 var(--body);color:var(--ink)}
.cty-links{display:flex;flex-wrap:wrap;gap:0 28px}

/* ---------- Questions and guides ---------- */
.cty-faq .tx-faq-grid{margin-bottom:0}
.cty-guides{padding:clamp(40px,5vw,64px) 0}
.cty-guides .kick{margin-bottom:0}
.cty-guides .plain{margin-top:16px}
.cty-guides .plain li{padding:2px 0}

/* ---------- Tablets and phones ---------- */
@media (max-width:980px){
  .cty-how-grid,.cty-split,.cty-pricecard{grid-template-columns:1fr}
  .cty-split{gap:22px 0}
  .cty-split .cty-prose{grid-column:auto;grid-row:auto}
  .cty-mascot{grid-column:auto;grid-row:auto;justify-self:end;height:150px;margin-top:-6px}
  .cty-dates .year--4{grid-template-columns:1fr 1fr}
  .cty-dates .year--4 li:nth-child(n){border-left:var(--bd);border-top:0}
  .cty-dates .year--4 li:nth-child(odd){border-left:0}
  .cty-dates .year--4 li:nth-child(n+3){border-top:var(--bd)}
}
@media (max-width:860px){
  .cty-hero .tx-chips{max-width:none}
  .cty-grid{grid-template-columns:1fr;gap:0}
  .cty-hero .tx-chips{order:2;margin-top:28px}
  .cty-art{order:3;max-width:400px;margin:28px auto 9%}
  .cty-claim{width:100%}
}
@media (max-width:700px){
  .cty-glance-head{grid-template-columns:1fr;gap:18px}
  .cty-landmark{width:190px}
  .cty-card{box-shadow:3px 3px 0 var(--ink);padding:18px 18px 20px}
  .cty-tbl{background:none;border:0;border-radius:0;overflow:visible;box-shadow:none}
  .cty-tbl table,.cty-tbl tbody,.cty-tbl tr,.cty-tbl th,.cty-tbl td{display:block}
  .cty-tbl thead{position:absolute;left:-9999px}
  .cty-tbl tr{background:var(--white);border:var(--bd);border-radius:var(--r);box-shadow:4px 4px 0 var(--ink);padding:14px 16px;margin-bottom:16px;overflow:hidden}
  .cty-tbl tbody th{padding:0 0 8px;border:0;font-size:1.08rem}
  .cty-tbl td{display:flex;justify-content:space-between;gap:16px;padding:8px 0;border-top:var(--bd);text-align:right}
  .cty-tbl td::before{content:attr(data-l);flex:none;max-width:44%;text-align:left;color:var(--mute);font:400 .86rem/1.5 var(--body)}
  .cty-tbl td.num{white-space:normal}
}
@media (max-width:700px),(pointer:coarse){
  .cty-how .sub a,.cty-routes .inbox a,.cty-tbl a,.note a,.cty-card p a,
  .cty-prose a,.cty-steps li a,.cty-dates .year a,.cty-dates .source a,.tx-faq-grid details p a,#right .sub a{padding:14px 0}
}
@media (max-width:480px){
  .cty-ra-char{left:0}
  .cty-copy .kick{font-size:.7rem;letter-spacing:.03em;text-wrap:balance}
  .cty-dates .year{grid-template-columns:1fr}
  .cty-dates .year li:nth-child(n){border-left:0;border-top:var(--bd)}
  .cty-dates .year li:first-child{border-top:0}
}
@media (max-width:420px){
  .cty-tbl td.num{flex-direction:column;align-items:flex-end;gap:2px}
  .cty-tbl td.num::before{max-width:none;align-self:flex-start}
}

/* ---------- Landing sections shared with the Houston page (built by seo/build_county_landing.py) ---------- */
.cty-place{max-width:56ch;margin-top:14px;font-size:.9rem;line-height:1.45;color:var(--ink-2)}
.cty-buy{align-items:center}
.cty-pay .cty-pricecard{grid-template-columns:1fr;gap:22px}
.cty-pay .cty-price-lead{max-width:none}
.cty-cta{margin-top:clamp(28px,3.6vw,48px);text-align:center}
.cty-where{position:relative}
.cty-where-char{position:absolute;right:28px;bottom:-34px;height:150px;width:auto}
@media (max-width:860px){.cty-where-char{height:122px}}
@media (max-width:700px){
  .cty-where-char{position:static;display:block;height:96px;margin:6px 0 -34px auto}
  .cty-truth > div{display:contents}
  .cty-truth{row-gap:0}
  .cty-truth h2{order:1}
  .cty-truth .sub{order:2}
  .cty-truth .slice{order:3;margin:30px 0 30px}
  .cty-truth .xlist{order:4}
  .cty-truth .textlink{order:5;justify-self:start}
}
@media (max-width:340px){.cty-where-char{display:none}}
/* the price tiles stack while the card is narrow; the service questions run in one column like the Houston page */
@media (min-width:981px) and (max-width:1120px){.cty-pay .tx-tiles{grid-template-columns:1fr}}
#faq .tx-faq-grid{grid-template-columns:1fr;max-width:760px;margin-inline:auto}
.stickybar .btn{min-height:44px}
@media (max-width:700px){body.has-sticky{padding-bottom:84px}}
