/** Editorial Hub Builder v1.1 — SmartMag 10.5+, responsive newspaper-style section pages.
 * No global body style, no replacement site footer, no background canvas.
 * Uses SmartMag's --h-font, --title-font, --ui-font and --body-font settings.
 */
.ehb-page-main { width:100%; max-width:none; margin:0; padding:0; min-height:40vh; }
.ehb-hub {
  --ehb-green:#0b3d32;
  --ehb-deep:#092c27;
  --ehb-red:#b4232a;
  --ehb-ink:#141a18;
  --ehb-muted:#646c68;
  --ehb-line:#dcded9;
  --ehb-title:var(--title-font, "Playfair Display", Georgia, serif);
  --ehb-heading:var(--h-font, "Playfair Display", Georgia, serif);
  --ehb-ui:var(--ui-font,Arial,Helvetica,sans-serif);
  --ehb-body:var(--body-font,Arial,Helvetica,sans-serif);
  color:var(--ehb-ink); background:transparent; font-family:var(--ehb-ui); line-height:1.52;
  font-size:14px; text-align:left; padding:38px 0 38px; width:100%; isolation:isolate;
}
.ehb-hub *, .ehb-hub *::before, .ehb-hub *::after {box-sizing:border-box}
/* SmartMag's content can contain a hub via shortcode; managed pages get full theme width. */
.ehb-hub .ehb-container {width:100%; max-width:var(--main-width,1200px); margin:0 auto; padding:0;}
.ehb-page-main .ehb-hub .ehb-container {width:calc(100% - 70px);max-width:var(--main-width,1200px)}
.ehb-hub :where(a){color:inherit;text-decoration:none}
.ehb-hub a:hover {color:var(--ehb-red)}
.ehb-hub a:focus-visible,.ehb-hub button:focus-visible,.ehb-hub input:focus-visible {outline:2px solid var(--ehb-red);outline-offset:3px}
.ehb-hub h1,.ehb-hub h2,.ehb-hub h3 {margin:0;padding:0; border:0; background:none; font-family:var(--ehb-title); text-transform:none; font-style:normal; letter-spacing:-.025em; font-weight:700; color:inherit;line-height:1.16}
.ehb-hub p {margin:0;padding:0}
.ehb-hub img{display:block;max-width:100%;border:0}
/* Section masthead: editorial hierarchy, not a second site masthead. */
.ehb-hub .ehb-heading {display:flex;justify-content:space-between;align-items:flex-end;gap:30px;padding:20px 0 28px;margin:0 0 26px;border-top:0;border-bottom:1px solid var(--ehb-line);background:none}
.ehb-hub .ehb-heading-copy {max-width:780px;min-width:0}
.ehb-hub .ehb-eyebrow {display:flex;align-items:center;gap:10px;margin-bottom:12px;font:750 10px/1.3 var(--ehb-ui);letter-spacing:.145em;text-transform:uppercase;color:var(--ehb-red)}
.ehb-hub .ehb-eyebrow span {display:block;width:18px;height:2px;flex:0 0 18px;background:var(--ehb-red)}
.ehb-hub .ehb-heading h1 {font-family:var(--ehb-heading);font-size:clamp(38px,5.1vw,62px);line-height:1.05;margin:0 0 13px;letter-spacing:-.035em}
.ehb-hub .ehb-heading-copy > p {font-family:var(--ehb-ui);color:#5b625f;max-width:720px;font-size:15px;line-height:1.65}
.ehb-hub .ehb-heading-stamp {flex:0 0 228px;border-left:1px solid var(--ehb-line);padding:4px 0 4px 22px;display:flex;flex-direction:column;gap:7px;font:700 10px/1.5 var(--ehb-ui);text-transform:uppercase;letter-spacing:.09em;color:var(--ehb-muted)}
.ehb-hub .ehb-heading-stamp span:last-child {font-weight:500;font-size:9px;letter-spacing:.06em}
/* Lead story is an image-first news masthead like the reference website. */
.ehb-hub .ehb-feature {position:relative;isolation:isolate;min-height:430px;display:grid;grid-template-columns:minmax(0,1fr);margin:0 0 41px;overflow:hidden;background:var(--ehb-deep);color:#fff}
.ehb-hub .ehb-feature-image {grid-area:1 / 1;position:absolute;inset:0;min-width:0;overflow:hidden;background:#092c27}
.ehb-hub .ehb-feature-image:after {content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(0,12,12,.94) 0%,rgba(0,14,13,.88) 31%,rgba(0,14,13,.45) 65%,rgba(0,14,13,.16) 100%)}
.ehb-hub .ehb-feature-image > a {display:block;height:100%}
.ehb-hub .ehb-feature-image img {display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.ehb-hub .ehb-feature-image:hover img{transform:scale(1.025)}
.ehb-hub .ehb-feature-body {grid-area:1 / 1;position:relative;z-index:1;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;min-width:0;width:62%;min-height:430px;padding:44px clamp(28px,5vw,60px);pointer-events:none}
.ehb-hub .ehb-feature-body a {pointer-events:auto}
.ehb-hub .ehb-feature .ehb-label {background:var(--ehb-red);color:#fff;font:800 10px/1.1 var(--ehb-ui);letter-spacing:.08em;text-transform:uppercase;padding:7px 9px;margin:0 0 17px}
.ehb-hub .ehb-post-meta {font:700 10px/1.5 var(--ehb-ui);letter-spacing:.065em;text-transform:uppercase;color:var(--ehb-muted);margin-bottom:9px;display:block}
.ehb-hub .ehb-post-meta .ehb-cat {color:var(--ehb-green)}
.ehb-hub .ehb-post-meta .ehb-dot {display:inline-block;margin:0 7px;color:#969b98}
.ehb-hub .ehb-feature .ehb-post-meta {color:#e2e9e3}
.ehb-hub .ehb-feature .ehb-post-meta .ehb-cat {color:#c4ded4}
.ehb-hub .ehb-feature h2 {font-family:var(--ehb-heading);font-size:clamp(29px,3.7vw,48px);line-height:1.08;letter-spacing:-.028em;margin:0 0 16px;color:#fff}
.ehb-hub .ehb-feature h2 a {color:#fff;text-decoration:none}
.ehb-hub .ehb-feature h2 a:hover {color:#f3c8c8}
.ehb-hub .ehb-feature .ehb-excerpt {max-width:530px;color:rgba(255,255,255,.91);font:400 14px/1.65 var(--ehb-ui);margin-bottom:19px}
.ehb-hub .ehb-text-link {display:inline-flex;align-items:center;gap:9px;width:max-content;max-width:100%;font:750 12px/1.4 var(--ehb-ui);color:var(--ehb-green);text-decoration:none;border-bottom:1px solid currentColor;padding-bottom:3px}
.ehb-hub .ehb-text-link span {font-size:17px;line-height:1}
.ehb-hub .ehb-text-link:hover {color:var(--ehb-red)}
.ehb-hub .ehb-feature .ehb-text-link {color:#fff;border-bottom-color:var(--ehb-red)}
.ehb-hub .ehb-feature .ehb-text-link:hover {color:#ffb8bb}
/* Three-column print-inspired card feed — no tinted background cards. */
.ehb-hub .ehb-section-top {display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin:38px 0 19px;padding:0 0 11px;border-bottom:1px solid var(--ehb-line)}
.ehb-hub .ehb-section-top h2 {font:700 clamp(22px,2.4vw,29px)/1.14 var(--ehb-heading);letter-spacing:-.026em}
.ehb-hub .ehb-section-top p {max-width:510px;font:400 12px/1.6 var(--ehb-ui);color:var(--ehb-muted);text-align:right}
.ehb-hub .ehb-story-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:25px;row-gap:32px}
.ehb-hub .ehb-card {position:relative;min-width:0;display:flex;flex-direction:column;border:0;border-right:1px solid var(--ehb-line);padding:0 24px 9px 0;margin:0;background:transparent;box-shadow:none;border-radius:0}
.ehb-hub .ehb-card:nth-child(3n) {border-right:0;padding-right:0}
.ehb-hub .ehb-card-visual {position:relative;display:block;width:100%;aspect-ratio:1.53/1;height:auto;overflow:hidden;background:#e4eae6}
.ehb-hub .ehb-card-visual img {display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.ehb-hub .ehb-card-visual:hover img {transform:scale(1.035)}
.ehb-hub .ehb-photo-placeholder {display:flex;align-items:center;justify-content:center;width:100%;height:100%;position:relative;overflow:hidden;background:#f3f1eb}
.ehb-hub .ehb-photo-placeholder::before {content:"";position:absolute;inset:16px;border:1px solid rgba(11,61,50,.09);pointer-events:none}
.ehb-hub .ehb-photo-placeholder-img {display:block;width:100%;height:100%;object-fit:cover}
.ehb-hub .ehb-photo-placeholder-img.ehb-photo-placeholder-feature {object-position:center center}
.ehb-hub .ehb-card-content {flex:1;position:relative;min-width:0;padding:15px 0 29px}
.ehb-hub .ehb-card h3 {font-family:var(--ehb-heading);font-size:clamp(19px,1.8vw,25px);line-height:1.17;letter-spacing:-.02em;margin:0 0 9px;overflow-wrap:break-word}
.ehb-hub .ehb-card h3 a {color:var(--ehb-ink);text-decoration:none}
.ehb-hub .ehb-card h3 a:hover {color:var(--ehb-red)}
.ehb-hub .ehb-card-excerpt {color:#575f5c;font:400 12.5px/1.57 var(--ehb-ui)}
.ehb-hub .ehb-card-arrow {position:absolute;bottom:0;right:2px;font:400 21px/1 var(--ehb-ui);color:var(--ehb-green);padding:3px 5px;text-decoration:none}
/* Proper paginated navigation; explicitly avoid SmartMag's .page-numbers rules. */
.ehb-hub .ehb-pagination {display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;border-top:1px solid var(--ehb-line);padding-top:21px;margin:44px 0 5px;font:600 12px/1.25 var(--ehb-ui)}
.ehb-hub .ehb-pagination-context {color:var(--ehb-muted);font-weight:500;letter-spacing:.015em}
.ehb-hub .ehb-pagination-context strong {color:var(--ehb-ink);font-weight:700}
.ehb-hub .ehb-pagination-links {display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}
.ehb-hub .ehb-pagination-links > a.page-numbers,.ehb-hub .ehb-pagination-links > span.page-numbers {display:inline-flex;align-items:center;justify-content:center;min-width:39px;min-height:39px;margin:0;padding:9px 12px;font:700 12px/1.15 var(--ehb-ui);background:transparent;border:1px solid var(--ehb-line);color:var(--ehb-ink);text-decoration:none;white-space:nowrap;box-shadow:none;border-radius:0}
.ehb-hub .ehb-pagination-links > span.dots {border:0;min-width:20px;padding:9px 1px}
.ehb-hub .ehb-pagination-links > span.current {color:#fff;background:var(--ehb-green);border-color:var(--ehb-green)}
.ehb-hub .ehb-pagination-links > a:hover {color:#fff;background:var(--ehb-deep);border-color:var(--ehb-deep)}
.ehb-hub .ehb-pagination-links > .prev, .ehb-hub .ehb-pagination-links > .next {padding-inline:16px}
/* Topic links */
.ehb-hub .ehb-related-categories {border-top:1px solid var(--ehb-line);padding-top:23px;margin-top:46px}
.ehb-hub .ehb-related-categories h2 {font:700 22px/1.2 var(--ehb-heading);margin:0 0 14px}
.ehb-hub .ehb-chips {display:flex;gap:8px;flex-wrap:wrap}
.ehb-hub .ehb-chips a {padding:9px 13px;border:1px solid var(--ehb-line);background:transparent;color:var(--ehb-green);font:700 12px/1.5 var(--ehb-ui);text-decoration:none}
.ehb-hub .ehb-chips a:hover {color:#fff;background:var(--ehb-green);border-color:var(--ehb-green)}
.ehb-hub .ehb-chips span {font-weight:400;opacity:.7;margin-left:5px}
/* Regions — clear lightweight indices, no misleading zero-count badges. */
.ehb-hub .ehb-region-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border-top:1px solid var(--ehb-line);border-left:1px solid var(--ehb-line)}
.ehb-hub .ehb-region-card {display:flex;flex-direction:column;justify-content:space-between;min-height:140px;min-width:0;padding:22px;border:0;border-right:1px solid var(--ehb-line);border-bottom:1px solid var(--ehb-line);background:transparent;color:var(--ehb-ink);text-decoration:none;transition:background .2s,color .2s}
.ehb-hub .ehb-region-card:hover,.ehb-hub .ehb-region-card.is-active {background:var(--ehb-green);color:#fff}
.ehb-hub .ehb-region-name {font:700 21px/1.22 var(--ehb-heading);letter-spacing:-.02em;overflow-wrap:anywhere}
.ehb-hub .ehb-region-bottom {display:flex;align-items:center;justify-content:space-between;gap:7px;margin-top:18px;color:inherit;opacity:.74;font:600 11px/1.2 var(--ehb-ui)}
.ehb-hub .ehb-region-bottom > span:last-child {font-size:20px;line-height:1}
.ehb-hub .ehb-back {margin:26px 0 0}
.ehb-hub .ehb-back a,.ehb-hub .ehb-reset-search a {color:var(--ehb-green);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px;font:700 12px/1.4 var(--ehb-ui)}
.ehb-hub .ehb-notice {margin:0 0 20px;padding:13px 17px;border-left:3px solid var(--ehb-red);background:#f5f7f5;color:#545b56;font:400 12px/1.65 var(--ehb-ui)}
/* Evidence collection — clear document records rather than fake databases. */
.ehb-hub .ehb-doc-search {padding:17px 0 20px;margin:0 0 12px;border-bottom:1px solid var(--ehb-line);background:transparent}
.ehb-hub .ehb-doc-search label {display:block;margin:0 0 8px;color:var(--ehb-green);font:750 10px/1.3 var(--ehb-ui);text-transform:uppercase;letter-spacing:.1em}
.ehb-hub .ehb-doc-search-control {display:flex;align-items:stretch;gap:7px}
.ehb-hub .ehb-doc-search-control input {flex:1;min-width:0;min-height:45px;border:1px solid #cfd6d0;border-radius:0;background:transparent;box-shadow:none;color:var(--ehb-ink);font:400 13px/1.5 var(--ehb-ui);padding:12px 14px}
.ehb-hub .ehb-doc-search-control button {min-height:45px;padding:10px 22px;background:var(--ehb-green);border:1px solid var(--ehb-green);border-radius:0;color:#fff;cursor:pointer;font:700 12px/1.3 var(--ehb-ui)}
.ehb-hub .ehb-doc-search-control button:hover {background:var(--ehb-deep)}
.ehb-hub .ehb-doc-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-top:1px solid var(--ehb-line);border-left:1px solid var(--ehb-line)}
.ehb-hub .ehb-document-card {display:flex;align-items:flex-start;flex-direction:column;min-width:0;min-height:235px;padding:25px 23px;border:0;border-right:1px solid var(--ehb-line);border-bottom:1px solid var(--ehb-line);background:transparent}
.ehb-hub .ehb-doc-label {margin:0 0 14px;color:var(--ehb-red);font:800 10px/1.3 var(--ehb-ui);text-transform:uppercase;letter-spacing:.1em}
.ehb-hub .ehb-document-card h3 {font:700 clamp(19px,2vw,23px)/1.18 var(--ehb-heading);letter-spacing:-.025em;margin:0 0 10px}
.ehb-hub .ehb-document-card p {font:400 12px/1.6 var(--ehb-ui);color:var(--ehb-muted)}
.ehb-hub .ehb-document-meta {display:flex;gap:8px 15px;flex-wrap:wrap;font:600 10px/1.5 var(--ehb-ui);color:var(--ehb-muted);margin:16px 0 19px}
.ehb-hub .ehb-document-card .ehb-text-link {margin-top:auto}
.ehb-hub .ehb-reset-search {margin-top:17px}
.ehb-hub .ehb-empty {margin:25px 0 36px;padding:43px 28px;border:1px solid var(--ehb-line);background:transparent;text-align:center}
.ehb-hub .ehb-empty-rule {width:36px;height:2px;display:block;margin:0 auto 18px;background:var(--ehb-red)}
.ehb-hub .ehb-empty h2 {font:700 26px/1.22 var(--ehb-heading);margin:0 0 9px}
.ehb-hub .ehb-empty p {color:var(--ehb-muted);font:400 13px/1.6 var(--ehb-ui)}
/* Responsive across SmartMag breakpoints. */
@media(max-width:1100px){
 .ehb-hub .ehb-heading-stamp{flex-basis:185px;padding-left:16px}
 .ehb-hub .ehb-region-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .ehb-hub .ehb-feature-body{width:74%}
 .ehb-hub .ehb-card{padding-right:17px}.ehb-hub .ehb-story-grid{gap:20px}
}
@media(max-width:767px){
 .ehb-hub{padding:25px 0 26px}
 .ehb-page-main .ehb-hub .ehb-container{width:calc(100% - 38px)}
 .ehb-hub .ehb-heading{padding:15px 0 20px;margin-bottom:20px}
 .ehb-hub .ehb-heading-stamp{display:none}
 .ehb-hub .ehb-heading h1{font-size:clamp(36px,7.6vw,52px)}
 .ehb-hub .ehb-heading-copy > p{font-size:13px}
 .ehb-hub .ehb-feature{min-height:355px;margin-bottom:28px}
 .ehb-hub .ehb-feature-body{width:85%;min-height:355px;padding:27px}
 .ehb-hub .ehb-feature h2{font-size:clamp(27px,5vw,38px)}
 .ehb-hub .ehb-feature .ehb-excerpt{font-size:12px}
 .ehb-hub .ehb-section-top{margin-top:28px}
 .ehb-hub .ehb-story-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 19px}
 .ehb-hub .ehb-card:nth-child(3n){border-right:1px solid var(--ehb-line);padding-right:17px}
 .ehb-hub .ehb-card:nth-child(2n){border-right:0;padding-right:0}
 .ehb-hub .ehb-doc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ehb-hub .ehb-region-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:540px){
 .ehb-page-main .ehb-hub .ehb-container{width:calc(100% - 30px)}
 .ehb-hub .ehb-heading h1{font-size:clamp(34px,10vw,43px);overflow-wrap:break-word}
 .ehb-hub .ehb-feature{min-height:390px}
 .ehb-hub .ehb-feature-image:after{background:linear-gradient(0deg,rgba(0,14,13,.96) 1%,rgba(0,14,13,.83) 45%,rgba(0,14,13,.23) 100%)}
 .ehb-hub .ehb-feature-body{justify-content:flex-end;width:100%;min-height:390px;padding:22px 19px}
 .ehb-hub .ehb-feature h2{font-size:clamp(28px,7.5vw,37px)}
 .ehb-hub .ehb-feature .ehb-excerpt{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
 .ehb-hub .ehb-story-grid,.ehb-hub .ehb-doc-grid{grid-template-columns:minmax(0,1fr)}
 .ehb-hub .ehb-card,.ehb-hub .ehb-card:nth-child(3n),.ehb-hub .ehb-card:nth-child(2n){border-right:0;border-bottom:1px solid var(--ehb-line);padding:0 0 15px}
 .ehb-hub .ehb-card-visual{aspect-ratio:1.64/1}
 .ehb-hub .ehb-card h3{font-size:23px}
 .ehb-hub .ehb-section-top{align-items:flex-start;flex-direction:column;gap:5px}
 .ehb-hub .ehb-section-top p{text-align:left}
 .ehb-hub .ehb-pagination{justify-content:center;margin-top:30px;gap:14px}
 .ehb-hub .ehb-pagination-context{width:100%;text-align:center}
 .ehb-hub .ehb-pagination-links{justify-content:center;gap:4px}
 .ehb-hub .ehb-pagination-links > a.page-numbers,.ehb-hub .ehb-pagination-links > span.page-numbers{min-width:34px;min-height:36px;padding:8px 9px}
 .ehb-hub .ehb-pagination-links > .prev,.ehb-hub .ehb-pagination-links > .next{padding-inline:10px}
 .ehb-hub .ehb-region-card{min-height:117px;padding:16px 12px}
 .ehb-hub .ehb-region-name{font-size:19px}
 .ehb-hub .ehb-doc-search-control{flex-wrap:wrap}
 .ehb-hub .ehb-doc-search-control input{flex-basis:100%}
 .ehb-hub .ehb-doc-search-control button{width:100%}
 .ehb-hub .ehb-document-card{min-height:195px;padding:20px}
}
@media(prefers-reduced-motion:reduce){.ehb-hub *{transition:none !important;scroll-behavior:auto !important}}
