/* Primary menu: reuse the theme's click, Escape and outside-click behavior. */
.ttp-primary-menu .ttp-depth-menu > a {white-space:nowrap}
.ttp-primary-menu .ttp-depth-menu > a::after {content:"";width:7px;height:7px;margin-left:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg);opacity:.72}
.ttp-primary-menu .ttp-depth-menu > .sub-menu {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;width:min(590px,calc(100vw - 32px));min-width:0;padding:16px;border-top:3px solid #315f5d;background:#fffdf8;max-height:min(75vh,620px);overflow-y:auto;overscroll-behavior:contain;visibility:hidden}
.ttp-primary-menu .ttp-depth-menu.is-submenu-open > .sub-menu {visibility:visible}
.ttp-primary-menu .ttp-depth-menu:not(.is-submenu-open) > .sub-menu * {pointer-events:none!important}
.ttp-primary-menu .ttp-depth-menu > .sub-menu > li > a {display:flex;min-height:44px;font-size:14px;line-height:1.5;padding:10px 12px;white-space:normal}
.ttp-primary-menu .ttp-depth-menu .ttp-depth-overview {grid-column:1/-1;border-bottom:1px solid #d7ddd5;padding-bottom:10px;margin-bottom:6px}
.ttp-primary-menu .ttp-depth-overview > a {flex-direction:column;align-items:flex-start;gap:7px;color:#244a46}
.ttp-depth-menu-label {font-size:15px;font-weight:800}
.ttp-depth-menu-description {font-size:12px;font-weight:400;color:#59675f;line-height:1.6}
/* A compact identifier on expanded articles links back to the collection. */
.ttp-depth-report-strip {display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px;width:100%;max-width:1440px;margin:20px auto;padding:14px 0;border-bottom:1px solid #c8c6b8;color:#596359;font:400 13px/1.6 system-ui,-apple-system,sans-serif}
.ttp-depth-report-strip a {color:#315f5d!important;text-decoration:underline!important;pointer-events:auto!important;min-height:44px;display:inline-flex;align-items:center}
.ttp-depth-report-strip > a:first-child {font-weight:800;text-transform:uppercase;letter-spacing:.08em;font-size:11px}
.ttp-depth-report-strip .ttp-depth-browse {margin-left:auto;font-weight:650}
/* The report collection keeps the newspaper palette and proportional photographs. */
body.ttp-depth-hub {background:#f5f2e9;color:#24271f}
body.ttp-depth-hub .ttp-main {width:94%;max-width:1440px;margin:32px auto}
body.ttp-depth-hub .ttp-page {max-width:none;width:100%;background:transparent}
body.ttp-depth-hub .ttp-entry-content {width:100%;max-width:none;padding:0}
body.ttp-depth-hub .ttp-editorial-entry-hero--page {display:block;padding:34px 0 26px;margin:0;border-radius:0;border:0;border-top:5px double #24271f;border-bottom:1px solid #c8c6b8;background:transparent;box-shadow:none}
body.ttp-depth-hub .ttp-editorial-entry-hero--page::before {display:none}
body.ttp-depth-hub .ttp-editorial-entry-hero--page .ttp-entry-title {max-width:none;margin:0;font:700 clamp(40px,5vw,72px)/1.08 Georgia,'Times New Roman',serif;letter-spacing:-.035em;color:#24271f}
body.ttp-depth-hub .ttp-editorial-entry-hero--page .ttp-kicker {display:none}
body.ttp-depth-hub .ttp-editorial-entry-hero--page .ttp-entry-dek {display:none}
.ttp-depth-collection {font:400 17px/1.8 Georgia,'Times New Roman',serif}
.ttp-depth-collection * {box-sizing:border-box}
.ttp-depth-collection [hidden] {display:none!important}
.ttp-depth-collection a {pointer-events:auto!important;color:#315f5d!important;text-decoration:underline;text-underline-offset:3px}
.ttp-depth-collection .ttp-depth-intro {max-width:1000px;padding:34px 0 38px}
.ttp-depth-collection .ttp-depth-kicker {font:700 11px/1.6 system-ui,-apple-system,sans-serif;text-transform:uppercase;letter-spacing:.15em;color:#783c36;margin:0 0 12px}
.ttp-depth-collection h2 {margin:0 0 20px;padding:0;border:0;font:700 clamp(28px,3vw,40px)/1.18 Georgia,'Times New Roman',serif;letter-spacing:-.025em;color:#24271f}
.ttp-depth-collection :is(h2,h3)::before,.ttp-depth-collection :is(h2,h3)::after {display:none}
.ttp-depth-collection p {font:inherit;color:inherit;margin:0 0 18px}
.ttp-depth-topics {display:flex;flex-wrap:wrap;gap:10px 24px;font:600 12px/1.6 system-ui,-apple-system,sans-serif;color:#315f5d;margin-top:25px}
.ttp-depth-topics span {border-bottom:2px solid #c8c6b8;padding-bottom:7px}
.ttp-depth-reports {border-top:1px solid #c8c6b8;padding:32px 0}
.ttp-depth-toolbar {display:flex;justify-content:space-between;align-items:flex-end;gap:24px}
.ttp-depth-toolbar h2 {margin-bottom:0}
.ttp-depth-toolbar label {font:600 13px/1.6 system-ui,-apple-system,sans-serif;min-width:0;width:340px}
.ttp-depth-toolbar input {display:block;min-height:48px;width:100%;border:1px solid #89958c;border-radius:4px;background:#fffcf6;padding:12px;font:400 16px/1.5 system-ui,-apple-system,sans-serif;margin-top:7px;color:#24271f}
.ttp-depth-collection .ttp-depth-count {font:400 12px/1.6 system-ui,-apple-system,sans-serif;color:#636b62;margin:18px 0}
.ttp-depth-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.ttp-depth-card {display:flex;flex-direction:column;min-width:0;border:1px solid #c8c6b8;background:#fffcf6;overflow:hidden}
.ttp-depth-card-image {display:flex;align-items:center;justify-content:center;aspect-ratio:16/10;padding:15px;background:#eae8df;border-bottom:1px solid #d5d3c8}
.ttp-depth-card-image img {display:block;width:100%;height:100%;max-height:220px;object-fit:contain;border-radius:0;box-shadow:none}
.ttp-depth-card-copy {padding:24px;display:flex;flex-direction:column;flex:1}
.ttp-depth-card-copy .ttp-depth-badge {font:700 10px/1.6 system-ui,-apple-system,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#783c36;margin:0 0 12px}
.ttp-depth-card-copy h3 {margin:0 0 16px;padding:0;border:0;font:700 26px/1.2 Georgia,'Times New Roman',serif;letter-spacing:-.02em}
.ttp-depth-card-copy h3 a {color:#24271f!important;text-decoration:none}
.ttp-depth-card-copy h3 a:hover {text-decoration:underline}
.ttp-depth-card-copy > p:not(.ttp-depth-badge) {font:400 15px/1.75 system-ui,-apple-system,sans-serif;margin:0 0 20px;color:#4e584f}
.ttp-depth-card-link {margin-top:auto;font:700 13px/1.6 system-ui,-apple-system,sans-serif}
.ttp-depth-card-link a {display:inline-flex;align-items:center;gap:8px;min-height:44px}
.ttp-depth-collection :is(a,input):focus-visible {outline:3px solid #315f5d;outline-offset:4px}
@media(min-width:981px){
 .ttp-primary-menu > .ttp-depth-menu > .sub-menu {left:0;right:auto}
}
@media(min-width:981px) and (max-width:1280px){
 .ttp-header-inner {gap:12px}
 .ttp-brand {flex:0 1 270px;max-width:270px;min-width:0}
 .ttp-site-logo-link,.custom-logo-link {max-width:100%}
 .ttp-site-logo-img,.custom-logo {max-width:270px!important;width:100%;height:auto}
 .ttp-primary-menu {gap:2px}
 .ttp-primary-menu > li > a {font-size:13px;white-space:nowrap;padding-left:8px;padding-right:8px}
 .ttp-header-search {flex:0 0 110px;width:110px}
}
@media(max-width:1100px){.ttp-depth-grid {grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:980px){
 .ttp-primary-menu .ttp-depth-menu > .sub-menu {display:none;position:static;width:auto;max-height:none;grid-template-columns:minmax(0,1fr);padding:2px 0 8px 10px;margin:0 0 10px 8px;border:0;border-left:2px solid #b8c9c1;border-radius:0;background:transparent;box-shadow:none;overflow:visible;visibility:visible}
 .ttp-primary-menu .ttp-depth-menu.is-submenu-open > .sub-menu {display:grid}
 .ttp-primary-menu .ttp-depth-menu > a::after {margin-left:auto}
 .ttp-primary-menu .ttp-depth-menu > .sub-menu > li > a {font-size:14px;padding:11px 12px}
 .ttp-depth-menu-description {font-size:12px}
}
@media(max-width:700px){
 body.ttp-depth-hub .ttp-main {width:calc(100% - 24px);margin:20px auto}
 body.ttp-depth-hub .ttp-editorial-entry-hero--page {padding:26px 0 22px}
 .ttp-depth-collection .ttp-depth-intro {padding:26px 0}
 .ttp-depth-toolbar {display:block}
 .ttp-depth-toolbar label {display:block;width:100%;margin-top:24px}
 .ttp-depth-grid {grid-template-columns:minmax(0,1fr);gap:24px}
 .ttp-depth-card-copy {padding:20px}
 .ttp-depth-card-image {max-height:270px}
 .ttp-depth-report-strip {gap:0 12px;margin:12px auto;padding:8px 0}
 .ttp-depth-report-strip > span {flex-basis:100%;font-size:12px}
 .ttp-depth-report-strip .ttp-depth-browse {margin-left:0}
}
@media(prefers-reduced-motion:reduce){.ttp-primary-menu .ttp-depth-menu > .sub-menu {transition:none}}

/* Keep the extra top-level item comfortable across desktop header widths. */
@media(min-width:1281px){
 .ttp-header-inner .ttp-brand{flex:0 1 310px;max-width:310px;min-width:0}
 .ttp-header-inner .ttp-site-logo-link,.ttp-header-inner .custom-logo-link{max-width:100%}
 .ttp-header-inner .ttp-site-logo-img,.ttp-header-inner .custom-logo{width:100%;max-width:310px;height:auto}
}
@media(min-width:981px) and (max-width:1100px){
 .ttp-header-inner .ttp-brand{flex-basis:220px;max-width:220px}
 .ttp-header-inner .ttp-site-logo-img,.ttp-header-inner .custom-logo{max-width:220px!important}
}

/* The collection spans the page instead of inheriting the theme's prose-width cap. */
body.ttp-depth-hub .ttp-editorial-entry-hero--page {max-width:none;width:100%}
body.ttp-depth-hub .ttp-entry-content > .ttp-depth-collection {max-width:none;width:100%;margin:0}
@media(min-width:1281px){.ttp-primary-menu > li > a{white-space:nowrap;font-size:14px;padding-left:10px;padding-right:10px}}

/* Expanded report identifiers: decorative document, descriptive link name and visual label. */
.ttp-depth-report-link .ttp-depth-case-title {display:inline-grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:8px;position:relative;width:100%;min-width:0}
.ttp-depth-report-link .ttp-depth-document-icon {display:block;flex:none;width:18px;height:20px;min-width:18px;max-width:18px;color:#315f5d;align-self:start;margin-top:1px}
.ttp-depth-report-link .ttp-depth-case-name {min-width:0;overflow-wrap:anywhere}
.ttp-depth-report-link .ttp-depth-case-tooltip {position:absolute;left:0;bottom:calc(100% + 6px);z-index:3;display:block;max-width:100%;width:max-content;padding:5px 8px;border-radius:4px;background:#214e49;color:#fff;font:600 11px/1.5 system-ui,-apple-system,sans-serif;letter-spacing:0;text-transform:none;white-space:normal;box-shadow:0 3px 10px rgba(15,35,30,.15);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .12s ease}
.ttp-depth-report-link:is(:hover,:focus-visible) .ttp-depth-case-tooltip {opacity:1;visibility:visible;pointer-events:auto}
@media(max-width:980px),(hover:none){
 .ttp-depth-report-link .ttp-depth-case-title {row-gap:2px;align-items:start}
 .ttp-depth-report-link .ttp-depth-case-tooltip {position:static;grid-column:2;width:auto;max-width:none;padding:0;border-radius:0;background:transparent;box-shadow:none;opacity:1;visibility:visible;color:#4d6962;font:500 11px/1.4 system-ui,-apple-system,sans-serif}
 .ttp-depth-report-link .ttp-depth-document-icon {grid-row:1 / span 2;margin-top:2px}
 .ttp-primary-menu .ttp-depth-menu > .sub-menu > li > a.ttp-depth-report-link {padding-top:9px;padding-bottom:9px}
}
@media(prefers-reduced-motion:reduce){.ttp-depth-report-link .ttp-depth-case-tooltip {transition:none}}

/* Keep the report marker next to the destination button on archive/search/post cards. */
:is(.ttp-card-body,.ttp-home-story-card__body) > .ttp-card-actions {display:flex;align-items:center;gap:10px;width:100%;min-width:0;margin-top:auto;padding:0;box-sizing:border-box}
.ttp-card-actions > .ttp-read-more {flex:0 0 auto;margin-top:0}
.ttp-card-actions .ttp-card-report-badge {display:inline-flex;align-items:center;gap:8px;flex:0 1 auto;min-width:0;max-width:180px;min-height:44px;padding:8px 10px;border:1px solid #a9c3b8;border-radius:9px;background:#e5f0e9;color:#244f46;font:750 13px/1.3 system-ui,-apple-system,sans-serif;letter-spacing:0;text-transform:none;box-sizing:border-box}
.ttp-card-report-badge .ttp-depth-document-icon {display:block;flex:0 0 24px;width:24px;height:26px;color:inherit;stroke-width:1.8}
.ttp-card-report-badge .ttp-card-report-label {min-width:0}

/* Very compact homepage cards keep the enlarged label readable on small phones. */
@media(max-width:360px){
 .ttp-home-story-card__body > .ttp-card-actions {flex-wrap:wrap}
 .ttp-home-story-card__body > .ttp-card-actions .ttp-card-report-badge {flex:0 0 auto;max-width:100%}
}
