/*
 * The property tax guides (templates/website/tax/): the marketing team's
 * stylesheet, kept as they wrote it but only for .ptx -- their classes carry
 * a "ptx-" prefix (manage.py import_tax_pages), their element rules sit
 * under .ptx, and their <footer> is .ptx-foot. Their logo bar's rules are
 * left out: the site's navbar replaces it.
 */
.ptx, .ptx * { box-sizing: border-box; }
.ptx * { margin: 0; padding: 0; }
.ptx { font-family: 'Plus Jakarta Sans', Arial, sans-serif; background: #F3F5F8; color: #1c2433; line-height: 1.65; font-size: 17px; }
.ptx a { color: #1E4FA3; }
.ptx-wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }

.ptx-hero { background: #13315C; color: #fff; padding: 26px 0 48px; }
.ptx-crumbs { font-size: 14px; margin-bottom: 18px; opacity: .9; }
.ptx-crumbs a { color: #fff; }
.ptx-crumbs span { opacity: .6; margin: 0 6px; }
.ptx-badge, .ptx-badge2 { display: inline-block; color: #fff; font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 20px; margin-bottom: 14px; }
.ptx-badge2 { background: rgba(255, 255, 255, .15); }
.ptx-hero h1 { font-size: 36px; line-height: 1.2; font-weight: 800; margin-bottom: 14px; color: #fff; }
.ptx-hero p { font-size: 18px; opacity: .92; max-width: 720px; }
.ptx-updated { font-size: 14px !important; opacity: .75 !important; margin-top: 14px; }

.ptx section { padding: 30px 0; }
.ptx h2 { font-size: 26px; color: #13315C; margin: 18px 0 12px; font-weight: 800; line-height: 1.3; }
.ptx h3 { font-size: 19px; color: #13315C; margin: 16px 0 8px; font-weight: 700; line-height: 1.35; }
.ptx p { margin-bottom: 12px; }
.ptx ul, .ptx ol { margin-bottom: 12px; }

.ptx-short { background: #fff; border-left: 6px solid; padding: 22px 24px; border-radius: 10px; margin-top: -26px; box-shadow: 0 6px 20px rgba(19, 49, 92, .08); }
.ptx-short p { margin: 0; }

.ptx-series { background: #fff; border-radius: 12px; padding: 18px 20px; margin-top: 22px; box-shadow: 0 3px 12px rgba(19, 49, 92, .06); }
.ptx-series .ptx-st { font-weight: 800; color: #13315C; margin-bottom: 8px; }
.ptx-series .ptx-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0; }
.ptx-series .ptx-g { font-size: 13px; font-weight: 800; color: #fff; padding: 3px 10px; border-radius: 14px; min-width: 70px; text-align: center; }
.ptx-series a { font-size: 14px; font-weight: 600; text-decoration: none; background: #EEF2F8; padding: 6px 12px; border-radius: 16px; }
.ptx-series a[aria-current] { background: #13315C; color: #fff; }
.ptx-series .ptx-cur { font-size: 14px; font-weight: 800; background: #13315C; color: #fff; padding: 6px 12px; border-radius: 16px; }

.ptx-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.ptx-card { background: #fff; border-radius: 12px; padding: 20px; box-shadow: 0 3px 12px rgba(19, 49, 92, .06); }
.ptx-card .ptx-big { font-size: 30px; font-weight: 800; }
.ptx-card .ptx-lbl { font-size: 15px; }

.ptx-panel { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 3px 12px rgba(19, 49, 92, .06); overflow-x: auto; }
.ptx table { width: 100%; border-collapse: collapse; font-size: 16px; }
.ptx th, .ptx td { text-align: left; padding: 12px 10px; border-bottom: 1px solid #e3e8ef; vertical-align: top; }
.ptx th { background: #13315C; color: #fff; }

.ptx-note { background: #FFF4E5; border-radius: 10px; padding: 16px 18px; margin-top: 16px; font-size: 16px; }
.ptx-small { font-size: 14px; color: #5b6678; margin-top: 8px; }

.ptx-bar { margin: 12px 0; }
.ptx-bl { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.ptx-bt { display: flex; align-items: center; gap: 10px; }
.ptx-bf { height: 26px; border-radius: 6px; min-width: 4px; }
.ptx-bt span { font-weight: 800; color: #13315C; white-space: nowrap; }

.ptx ol.ptx-steps { list-style: none; counter-reset: s; }
.ptx ol.ptx-steps li { counter-increment: s; background: #fff; border-radius: 10px; padding: 16px 18px 16px 64px; margin-bottom: 12px; position: relative; }
.ptx ol.ptx-steps li::before { content: counter(s); position: absolute; left: 18px; top: 14px; width: 32px; height: 32px; border-radius: 50%; background: #1E4FA3; color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }

.ptx details { background: #fff; border-radius: 10px; padding: 16px 18px; margin-bottom: 10px; }
.ptx summary { font-weight: 700; cursor: pointer; color: #13315C; }
.ptx details p { margin-top: 10px; }

.ptx-cta { background: #D62828; color: #fff; border-radius: 14px; padding: 30px; text-align: center; }
.ptx .ptx-cta h2 { color: #fff; margin-top: 0; }
.ptx-btn { display: inline-block; background: #fff; color: #D62828 !important; font-weight: 800; padding: 14px 26px; border-radius: 30px; text-decoration: none; margin: 8px; }

.ptx-grp { font-weight: 800; color: #13315C; margin-top: 10px; }
.ptx-next { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin-bottom: 10px; }
.ptx-next a { background: #fff; border-radius: 10px; padding: 16px; text-decoration: none; font-weight: 600; display: block; border-left: 5px solid #1E4FA3; }
.ptx-next a small { display: block; font-weight: 400; color: #5b6678; font-size: 14px; margin-top: 4px; }

.ptx-pager { display: flex; gap: 12px; flex-wrap: wrap; }
.ptx-pager a { flex: 1; min-width: 240px; background: #fff; border-radius: 10px; padding: 16px; text-decoration: none; font-weight: 700; }
.ptx-pager a small { display: block; font-weight: 400; color: #5b6678; font-size: 13px; }
.ptx-pager a.ptx-nx { text-align: right; }

.ptx-disc { font-size: 14px; color: #5b6678; }

.ptx-facts { background: #fff; border-radius: 12px; padding: 18px 22px; margin-top: 22px; box-shadow: 0 3px 12px rgba(19, 49, 92, .06); }
.ptx .ptx-facts h2 { font-size: 20px; margin: 0 0 8px; }
.ptx-facts ul { padding-left: 20px; }
.ptx-facts li { margin: 6px 0; font-size: 16px; }
.ptx-partof { margin-top: 16px; font-size: 16px; color: #3a4558; }

/* Their footer of tax pages, above the site's own. */
.ptx-foot { background: #13315C; color: #fff; padding: 36px 0; margin-top: 20px; }
.ptx-foot .ptx-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.ptx-foot h4 { font-size: 15px; margin-bottom: 8px; color: #fff; font-weight: 700; }
.ptx .ptx-foot a { color: #cfe0ff; text-decoration: none; display: block; font-size: 15px; margin: 5px 0; }
.ptx .ptx-foot a[aria-current] { color: #fff; font-weight: 800; }
.ptx-foot .ptx-fcur { display: block; font-size: 15px; margin: 5px 0; font-weight: 800; }
.ptx-foot .ptx-copy { font-size: 13px; opacity: .7; margin-top: 22px; }

@media (max-width: 600px) {
    .ptx-hero h1 { font-size: 28px; }
}
