/*
Theme Name: OpenHub Press
Author: OpenHub Digital
Description: Reusable responsive editorial and news publishing theme by OpenHub Digital.
Version: 0.2.0
Text Domain: openhub-press
*/
*{box-sizing:border-box}body{margin:0;color:#182332;background:white;font:16px Arial,sans-serif}a{color:inherit;text-decoration:none}.wrap{width:min(100% - 48px,1400px);margin:auto}.topbar{background:#082448;color:white;padding:10px 0;font-size:12px}.brand{font-weight:900;font-style:italic;font-size:38px;color:#0751a2}.brand span{color:#111}.masthead{padding:25px 0}.navigation{border-block:1px solid #ddd;padding:13px 0}.navigation ul{list-style:none;margin:0;padding:0;display:flex;gap:24px;flex-wrap:wrap}.navigation a{font-size:14px;font-weight:700}.menu-toggle{display:none}.hero{display:grid;grid-template-columns:1.7fr 1fr;gap:15px;margin-top:24px}.hero-aside{display:grid;grid-template-rows:1fr 1fr;gap:15px}.feature{position:relative;height:420px;display:block;background:#e5edf5}.feature img{width:100%;height:100%;object-fit:cover}.hero-aside .feature{height:202px}.feature:after{content:"";position:absolute;inset:25% 0 0;background:linear-gradient(transparent,#000d)}.feature-title{position:absolute;bottom:20px;left:22px;right:22px;color:white;z-index:1;font:bold 29px/1.18 Georgia,serif}.hero-aside .feature-title{font-size:20px}.layout{display:grid;grid-template-columns:minmax(0,3fr) minmax(250px,1fr);gap:32px;margin:30px auto}.section-title{font-size:24px;border-left:5px solid #df1d2a;padding-left:12px}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.card{border:1px solid #dfe3ea}.card img{width:100%;aspect-ratio:1.6;object-fit:cover}.card-body{padding:12px}.card h2{font:bold 20px/1.3 Georgia,serif;margin:5px 0}.meta{color:#647185;font-size:13px}.sidebar{border:1px solid #dfe3ea;padding:18px;align-self:start}.sidebar li{padding:10px 0;border-bottom:1px solid #ddd}.sidebar ul{padding-left:18px}.article{min-width:0;max-width:900px}.article h1{font:bold clamp(30px,3vw,48px)/1.15 Georgia,serif;overflow-wrap:break-word}.article-content{font:18px/1.72 Georgia,serif;overflow-wrap:break-word}.article-content img,.article-content iframe{max-width:100%;height:auto}.article-content figure,.article-content .wp-caption{max-width:100%!important}.archive-title{font:bold 40px/1.2 Georgia,serif;margin:30px 0}.footer{background:#082448;color:white;padding:40px 0;margin-top:40px}@media(max-width:800px){.wrap{width:calc(100% - 30px)}.topbar{display:none}.brand{font-size:29px}.menu-toggle{display:inline-block;padding:9px;border:1px solid #aaa;background:white;float:right}.navigation .menu-inner{display:none}.navigation .menu-inner.open{display:block}.navigation ul{display:block}.navigation li{padding:8px}.hero,.layout{display:block}.hero-aside{display:none}.feature{height:360px}.feature-title{font-size:25px}.cards{grid-template-columns:1fr}.sidebar{margin-top:28px}.article h1{font-size:30px}.article-content{font-size:17px}.archive-title{font-size:30px}}@media(min-width:801px) and (max-width:1100px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.navigation ul{gap:12px}}.brand{display:inline-flex;align-items:center}.brand-image{width:200px;height:auto;max-width:100%;object-fit:contain}@media(max-width:800px){.brand-image{width:145px}}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:32px;align-items:start}.footer-logo{width:175px;max-width:100%;height:auto;display:block;filter:none}.footer h2{font-size:16px;margin:0 0 14px}.footer ul{list-style:none;padding:0;margin:0}.footer li{margin:0 0 9px}.footer p,.footer li{font-size:13px;line-height:1.6}.footer-bottom{margin-top:26px;padding-top:15px;border-top:1px solid #54677f;font-size:12px}@media(max-width:800px){.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.footer-brand{grid-column:1/-1}.footer-logo{width:155px}}
.footer-logo{width:105px;height:105px;object-fit:contain;border-radius:12px}@media(max-width:800px){.footer-logo{width:85px;height:85px}}
/* Editorial card rhythm: consistent image dimensions and balanced rows. */
.cards{align-items:stretch;grid-auto-rows:auto}
.cards>.card{min-width:0;display:flex;flex-direction:column;align-self:stretch;overflow:hidden;background:#fff}
.cards>.card>a{display:block;flex:none;overflow:hidden;aspect-ratio:16/10;background:#e8eef4}
.cards>.card>a>img,.cards>.card>a>img.attachment-medium_large{display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:center}
.cards>.card .card-body{flex:1;padding:14px 15px 17px}
.cards>.card h2{font:700 clamp(16px,1.2vw,20px)/1.32 Georgia,serif;overflow-wrap:break-word}
.hero .feature img{object-position:center 30%}
.hero .feature-title{max-width:95%;text-wrap:balance}
.navigation .menu-inner>ul{margin:0;padding:0;list-style:none}
@media(max-width:800px){.cards{grid-template-columns:1fr}.cards>.card>a{aspect-ratio:16/9}.hero .feature-title{font-size:clamp(21px,6vw,28px)}}
/* Mockup alignment: compact editorial cards, distinguished sections and readable sidebar. */
.masthead{padding:16px 0}.brand-image{width:175px}.navigation{background:#fff}.navigation ul{align-items:center}.navigation li a{transition:color .15s ease}.navigation li a:hover,.navigation li.current-menu-item>a{color:#0751a2}
.hero{margin-top:20px}.hero .feature-title{font-size:clamp(23px,2.35vw,33px);line-height:1.16;text-shadow:0 2px 6px #0009}.hero-aside .feature-title{font-size:clamp(16px,1.45vw,22px)}
.layout{grid-template-columns:minmax(0,3fr) minmax(260px,1fr);gap:24px}.section-title{font-size:23px;margin:0 0 16px;padding:0 0 9px 12px;border-bottom:1px solid #e2e7ee;border-left:5px solid #e21b2b}.cards{gap:16px}.cards>.card{box-shadow:0 1px 3px #112b4e0a;transition:box-shadow .18s ease,transform .18s ease}.cards>.card:hover{box-shadow:0 8px 25px #112b4e22;transform:translateY(-2px)}.cards>.card .card-body{padding:12px 13px 15px}.cards>.card h2{font:700 clamp(16px,1.15vw,19px)/1.32 Georgia,serif}.cards>.card h2 a:hover{color:#0751a2}
.sidebar{background:#f7f9fc;border:1px solid #e1e7ef;border-top:4px solid #0751a2;padding:20px}.sidebar h2{font-size:21px;margin:0 0 13px}.sidebar ul{list-style:none;padding:0;margin:0}.sidebar li{font-size:14px;line-height:1.43;padding:12px 0;border-bottom:1px solid #dce3ee}.sidebar li:last-child{border-bottom:0}.sidebar li a:hover{color:#0751a2}
.cards>.card:not(:has(>a)) {background:linear-gradient(135deg,#edf4fc,#dce9f8);border-bottom:3px solid #0751a2;min-height:82px;justify-content:center}.cards>.card:not(:has(>a)) h2{margin:0;font-family:Arial,sans-serif;font-size:17px}.cards>.card:not(:has(>a)) .card-body{padding:18px}
@media(max-width:800px){.masthead{padding:12px 0}.brand-image{width:145px}.layout{display:block}.sidebar{margin-top:25px}.cards>.card:not(:has(>a)){min-height:68px}}

/* Distinct editorial blocks in the approved news hierarchy. */
.editorial-section{margin:28px 0 32px;padding:22px 20px 24px;background:#f4f6f9;border:1px solid #e5e9ef}
.editorial-section:nth-of-type(even){background:#fff}
.section-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;border-bottom:1px solid #dbe2eb;margin-bottom:18px;padding-bottom:12px}
.section-heading h2{font:700 22px/1.25 Georgia,serif;margin:0;border-left:5px solid #0751a2;padding-left:10px}
.section-heading a{font:600 12px Arial,sans-serif;color:#0751a2;border:1px solid #b0d1f0;padding:6px 12px;white-space:nowrap}
.editorial-section .cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.editorial-section .card{background:#fff}
.editorial-section .card h2{font-size:clamp(16px,1.2vw,19px)}
.sports-section{background:#0b1017!important;border:0;color:#fff}
.sports-section .section-heading{border-color:#303b49}
.sports-section .section-heading h2{border-left-color:#1881e7}
.sports-section .section-heading a{color:#fff;border-color:#697a91}
.sports-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc(50% - 10px);gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-inline:contain;padding-bottom:14px}
.sports-track>.card{scroll-snap-align:start;background:#182334;border:1px solid #35445b;color:#fff}
.sports-track>.card>a{display:block;aspect-ratio:16/9;overflow:hidden}
.sports-track>.card>a img{display:block;width:100%;height:100%;object-fit:cover}
.sports-track .meta{color:#d1d8e6}
@media(max-width:800px){.editorial-section{padding:16px 12px}.editorial-section .cards{grid-template-columns:1fr}.sports-track{grid-auto-columns:88%}.section-heading h2{font-size:19px}}

/* Illustrated latest-news sidebar: thumbnails in every editorial template. */
.latest-sidebar{padding:18px;background:#fff;border:1px solid #e1e7ef;border-top:4px solid #0751a2}
.latest-sidebar h2{font-size:21px;margin:0 0 8px}
.latest-list{list-style:none;margin:0;padding:0}
.latest-list li{margin:0;padding:12px 0;border-bottom:1px solid #e5eaf1}
.latest-list li:last-child{border-bottom:0}
.latest-link{display:grid;grid-template-columns:82px minmax(0,1fr);align-items:start;gap:12px;text-decoration:none}
.latest-link .latest-thumb{width:82px;height:66px;display:block;object-fit:cover;aspect-ratio:auto;border-radius:3px;background:#e6eef7}
.latest-placeholder{display:grid!important;place-items:center;color:#0751a2;font-size:18px;font-weight:800}
.latest-copy{min-width:0;display:flex;flex-direction:column;gap:6px}
.latest-title{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;line-height:1.32;font-weight:700}
.latest-link time{color:#68778a;font-size:11px}
.latest-link:hover .latest-title{color:#0751a2}
@media(max-width:800px){.latest-link{grid-template-columns:90px minmax(0,1fr)}.latest-link .latest-thumb{width:90px;height:70px}.latest-title{font-size:14px}}

/* Latest headlines ticker, from every published category (not only Briefs). */
.news-ticker{background:#32b2ec;color:#fff;border-bottom:1px solid #199bd5;overflow:hidden}
.ticker-inner{display:flex;align-items:center;min-height:39px;gap:17px}
.ticker-label{flex:0 0 auto;font:700 17px Georgia,serif;white-space:nowrap}
.ticker-window{flex:1;min-width:0;overflow:hidden;mask-image:linear-gradient(90deg,transparent,#000 3%,#000 96%,transparent)}
.ticker-track{display:flex;align-items:center;gap:42px;width:max-content;animation:mentor-ticker 65s linear infinite}
.ticker-story{font-size:13px;font-weight:600;white-space:nowrap;color:#fff}
.ticker-story:before{content:"•";margin-right:15px;opacity:.8}
.ticker-story:hover{text-decoration:underline}
.news-ticker:hover .ticker-track,.news-ticker:focus-within .ticker-track{animation-play-state:paused}
@keyframes mentor-ticker{from{transform:translateX(0)}to{transform:translateX(-55%)}}
.topbar{background:#edf1f5;color:#243146}
.topbar-details{display:flex;align-items:center;justify-content:space-between;gap:14px}
.topbar-details a:hover{color:#0751a2}
@media(max-width:800px){.ticker-inner{min-height:38px;gap:10px}.ticker-label{font-size:14px}.ticker-story{font-size:12px}.topbar{display:block}.topbar-details{padding:8px 0;justify-content:space-between}.topbar-details span:nth-child(2){display:none}}
@media(prefers-reduced-motion:reduce){.ticker-track{animation:none;max-width:100%;overflow-x:auto}}

/* Article and category templates: separate desktop editorial structure. */
.article-breadcrumb{font-size:12px;color:#667386;display:flex;gap:9px;margin:24px 0 12px}.article-breadcrumb a:hover{color:#0751a2}
.article-layout{grid-template-columns:minmax(0, 2.7fr) minmax(260px,1fr);align-items:start}
.article-layout .article{max-width:900px;width:100%;margin:0;min-width:0}
.article-header{border-bottom:1px solid #e1e6ed;margin-bottom:22px;padding-bottom:17px}
.article-category{color:#fff;background:#0751a2;font-size:11px;text-transform:uppercase;font-weight:700;padding:5px 9px;display:inline-block}
.article-header h1{font:700 clamp(30px,3.2vw,48px)/1.15 Georgia,serif;letter-spacing:-.018em;margin:15px 0;overflow-wrap:break-word}
.article-meta{color:#63738a;font-size:13px}
.article-cover{margin:0 0 24px}.article-cover img{display:block;width:100%;height:auto;max-height:580px;object-fit:contain;background:#f3f5f8}
.article-content{font:18px/1.8 Georgia,serif;color:#212934;max-width:100%;overflow-wrap:anywhere}
.article-content p{margin:0 0 1.3em}.article-content img{height:auto;max-width:100%}.article-content figure{margin:22px auto;max-width:100%}.article-content figcaption,.article-content .wp-caption-text{font:13px/1.5 Arial,sans-serif;color:#617086;text-align:center;margin-top:6px}
.article-content h2{font:700 28px/1.25 Georgia,serif}.article-content h3{font:700 23px/1.3 Georgia,serif}
.article-share{border-top:1px solid #dce3ed;margin:28px 0 0;padding-top:18px;font-size:13px;display:flex;gap:14px;flex-wrap:wrap}.article-share a{color:#0751a2}
.archive-heading{background:#f2f5f9;border-bottom:3px solid #0751a2;padding:27px 30px;margin-top:22px}
.archive-label{text-transform:uppercase;letter-spacing:.12em;font-size:11px;color:#718094;font-weight:700}
.archive-heading h1{font:700 clamp(29px,3.3vw,46px)/1.14 Georgia,serif;margin:9px 0;overflow-wrap:break-word}
.archive-description{font:15px/1.5 Arial,sans-serif;color:#5c6776}
.archive-cards .card{background:#fff}
@media(max-width:800px){.article-breadcrumb{margin:16px 0}.article-header h1{font-size:clamp(27px,7vw,36px)}.article-content{font-size:17px;line-height:1.75}.article-content h2{font-size:24px}.article-cover img{max-height:none}.archive-heading{padding:20px 16px}.archive-heading h1{font-size:30px}.archive-cards{grid-template-columns:1fr}}

/* Clearly identified, optional advertising placements in long-form right rail. */
.article-right-rail{min-width:0;display:flex;flex-direction:column;gap:22px}
.article-right-rail .sidebar{width:100%;margin:0}
.advertising-stack{display:flex;flex-direction:column;gap:22px}
.ad-disclosure{display:block;font:10px/1.5 Arial,sans-serif;letter-spacing:.09em;text-transform:uppercase;color:#67758a}
.advertise-card{border:1px solid #cad8e9;background:linear-gradient(155deg,#f0f6fd,#fff);padding:24px 20px;text-align:center}
.advertise-card h2{font:700 22px/1.2 Georgia,serif;margin:12px 0;color:#082448}
.advertise-card p{font-size:14px;line-height:1.55;color:#40546c}
.advertise-link{display:inline-block;padding:11px 14px;margin-top:9px;background:#0751a2;color:white;font-weight:700;font-size:13px;border-radius:3px}
.advertise-link:hover{background:#083b72}
.ad-slot-skyscraper{border:1px dashed #b7c6d8;background:#f7f9fc;max-width:100%;min-height:600px;display:flex;flex-direction:column;align-items:center;padding:12px}
.ad-slot-message{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;font:600 15px/1.7 Arial,sans-serif;color:#718198}
.ad-slot-message small{font-size:12px;font-weight:400}
@media(max-width:800px){.article-right-rail{margin-top:26px}.ad-slot-skyscraper{min-height:250px}.advertise-card{padding:18px}}

/* Long-article ad spacing and consistent photo captions. */
.article-right-rail .ad-slot-secondary{min-height:250px;border:1px dashed #b7c6d8;background:#f8fafc;padding:12px;display:flex;flex-direction:column;text-align:center}
.article-right-rail .ad-slot-secondary .ad-slot-message{min-height:200px}
.article-right-rail .ad-slot-secondary small{display:block;font-size:12px;font-weight:400}
.article-content .wp-block-image,.article-content figure.wp-caption,.article-content figure{max-width:100%;margin:26px auto}
.article-content figure img{display:block;margin:0 auto;object-fit:contain}
.article-content figcaption,.article-content .wp-caption-text{font:13px/1.55 Arial,sans-serif;color:#5d6c7d;margin:8px auto 0;max-width:75ch}
.article-right-rail .advertising-stack{gap:24px}
@media(min-width:1000px){.article-right-rail .ad-slot-secondary{margin-top:18px}}
@media(max-width:800px){.article-right-rail .ad-slot-secondary{min-height:180px}.article-right-rail .ad-slot-secondary .ad-slot-message{min-height:145px}}
/* Reusable contributor panel and publisher-specific professional CTA. */
.author-card{display:grid;grid-template-columns:84px minmax(0,1fr);gap:17px;border:1px solid #dce4ee;border-top:3px solid #0751a2;background:#f5f8fc;padding:20px;margin:32px 0}
.author-photo img{display:block;width:84px;height:84px;border-radius:50%;object-fit:cover}
.author-eyebrow{font-size:11px;color:#66778b;letter-spacing:.09em;text-transform:uppercase;font-weight:700}
.author-detail h2{font:700 23px/1.25 Georgia,serif;margin:5px 0 4px}.author-role{color:#0751a2;font-size:13px;font-weight:700}.author-detail p{font:14px/1.6 Arial,sans-serif;margin:10px 0}
.author-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:10px}.author-actions a{font-size:13px;color:#0751a2;font-weight:700}.author-actions .author-cta{background:#0751a2;color:#fff;padding:9px 13px;border-radius:3px}
@media(max-width:600px){.author-card{grid-template-columns:60px minmax(0,1fr);gap:12px;padding:14px}.author-photo img{width:60px;height:60px}.author-detail h2{font-size:20px}}
.theme-maker{float:right}.theme-maker a{color:#fff;text-decoration:underline}@media(max-width:650px){.theme-maker{float:none;display:block;margin-top:7px}}

/* Authors directory and linked name-only article byline */
.article-byline{font-size:14px;font-weight:700;color:#182c46;margin-top:9px}
.article-byline a:hover{color:#0751a2;text-decoration:underline}
.article-date{font-size:12px;color:#728093;margin-top:6px}
.authors-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:28px 0 45px}
.directory-author{display:grid;grid-template-columns:112px minmax(0,1fr);gap:18px;background:#f7f9fc;border:1px solid #dce5ee;padding:20px}
.directory-author-photo img{width:112px;height:112px;object-fit:cover;border-radius:8px;display:block}
.directory-author h2{font:700 23px/1.2 Georgia,serif;margin:0 0 7px}
.directory-author p{font-size:14px;line-height:1.6;margin:8px 0;color:#445466}
.directory-author .author-role{color:#0751a2;font-weight:700}
.directory-link{display:inline-block;margin-top:9px;color:#0751a2;font-weight:700;font-size:13px}
.directory-link:hover{text-decoration:underline}
@media(max-width:850px){.authors-grid{grid-template-columns:1fr}}
@media(max-width:480px){.directory-author{grid-template-columns:72px minmax(0,1fr);padding:13px;gap:12px}.directory-author-photo img{width:72px;height:72px}.directory-author h2{font-size:19px}}

/* Compact author portrait and linked byline, matching the publisher's article header. */
.article-byline-link{display:inline-flex;align-items:center;gap:10px;font-size:14px;font-weight:700;color:#17283d;text-decoration:none}
.article-byline-link .author-portrait,.article-byline-link img.avatar{width:40px;height:40px;border-radius:50%;object-fit:cover;display:block;flex:0 0 40px}
.article-byline-link:hover span{color:#0751a2;text-decoration:underline}
@media(max-width:600px){.article-byline-link .author-portrait,.article-byline-link img.avatar{width:34px;height:34px;flex-basis:34px}}

/* Full editorial body: long-form typography, embedded media and accessibility. */
.article-content{max-width:100%;font-size:18px;line-height:1.78;overflow-wrap:break-word}
.article-content p{margin:0 0 1.25em}
.article-content a:not(.wp-block-button__link){color:#0751a2;text-decoration:underline;text-underline-offset:2px}
.article-content blockquote{margin:28px 0;padding:15px 24px;border-left:4px solid #0751a2;background:#f4f8fc;font-style:italic}
.article-content ul,.article-content ol{padding-left:1.6em;margin:15px 0 23px}
.article-content li{margin-bottom:8px}
.article-content figure,.article-content .wp-block-image,.article-content .wp-caption{width:auto;max-width:100%!important;margin:24px auto}
.article-content figure img,.article-content .wp-caption img{display:block;width:auto;max-width:100%;height:auto;margin:0 auto}
.article-content figure figcaption,.article-content .wp-caption-text{display:block;text-align:center;color:#617086;font:13px/1.5 Arial,sans-serif;padding:4px 10px;margin:7px auto 0}
.article-content iframe,.article-content video,.article-content embed{max-width:100%}
.article-content table{width:100%;border-collapse:collapse;display:block;overflow-x:auto;font:14px/1.45 Arial,sans-serif}
.article-content table td,.article-content table th{border:1px solid #dce2ea;padding:9px}
.article-content h2,.article-content h3,.article-content h4{overflow-wrap:break-word}
@media(max-width:800px){.article-content{font-size:17px;line-height:1.72}.article-content blockquote{padding:13px 16px}.article-content figure{margin:20px 0}}

/* OpenHub Press 0.2 responsive quality pass, Nov 2026. */
html{max-width:100%;overflow-x:clip}
body{min-width:0;overflow-x:clip}
.wrap{max-width:1400px}
.article-layout>.article,.archive-layout>section,.news-main{min-width:0}
.article-content pre,.article-content code{white-space:pre-wrap;overflow-wrap:anywhere}
.article-content .wp-block-embed,.article-content .wp-block-video,.article-content .wp-block-cover{max-width:100%}
.article-content .wp-block-embed iframe{width:100%;max-width:100%}
.article-content .alignwide,.article-content .alignfull{max-width:100%;margin-left:auto;margin-right:auto}
.feature-title,.card h2,.section-heading h2{overflow-wrap:break-word}
@media(min-width:801px) and (max-width:1199px){
 .navigation ul{column-gap:13px;row-gap:9px}
 .navigation a{font-size:13px}
 .article-layout{grid-template-columns:minmax(0,2fr) minmax(245px,1fr);gap:22px}
 .hero .feature{min-width:0}
}
@media(max-width:800px){
 .news-ticker .ticker-window{min-width:0}
 .wrap{width:calc(100% - 32px)}
 .hero .feature{max-width:100%}
 .article-layout,.archive-layout{display:block}
 .article-content img,.article-content video{max-width:100%!important;height:auto!important}
 .article-content .wp-caption{width:auto!important}
 .sidebar{max-width:100%}
 .author-card{max-width:100%}
 .article-right-rail{max-width:100%}
 .archive-heading{margin-top:16px}
}
@media(max-width:480px){
 .article-header h1{font-size:clamp(26px,8vw,33px)}
 .article-content{font-size:16.5px;line-height:1.75}
 .section-heading{align-items:start}
 .section-heading h2{font-size:18px}
 .ticker-label{font-size:13px}
 .topbar-details{font-size:11px}
}

/* Mobile editorial density: reduce repetition while retaining section access. */
@media(max-width:800px){
 .navigation .menu-inner.open{display:block;padding:10px 0 14px}
 .navigation .menu-inner.open>ul,.navigation .menu-inner.open>div>ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:8px;row-gap:3px;align-items:stretch}
 .navigation .menu-inner.open li{min-width:0;padding:0}
 .navigation .menu-inner.open li a{display:block;padding:10px 8px;border-bottom:1px solid #edf0f5;font-size:13px;line-height:1.3}
 .editorial-section .cards>.card:nth-child(n+4){display:none}
 .editorial-section .cards>.card>a{aspect-ratio:16/9}
 .editorial-section{margin:18px 0 22px;padding:14px 12px}
 .editorial-section .cards{gap:12px}
 .latest-sidebar .latest-list li:nth-child(n+5){display:none}
 .hero{margin-top:12px}
 .hero .feature{height:340px}
 .hero .feature-title{font-size:24px}
 .section-heading{margin-bottom:12px}
 .sports-track{grid-auto-columns:86%}
}
@media(max-width:440px){
 .news-main>.cards>.card:nth-child(n+5){display:none}
 .editorial-section .cards>.card:nth-child(n+4){display:none}
 .hero .feature{height:305px}
 .hero .feature-title{font-size:22px}
}

/* Mobile category swipe rows; all cards remain accessible. */
@media(max-width:800px){
 .editorial-section .cards{
   display:grid;grid-auto-flow:column;grid-auto-columns:minmax(230px,82%);
   grid-template-columns:none;gap:12px;overflow-x:auto;overscroll-behavior-inline:contain;
   scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;
   padding:0 2px 14px;scrollbar-width:thin;
 }
 .editorial-section .cards>.card:nth-child(n){display:flex}
 .editorial-section .cards>.card{scroll-snap-align:start;min-width:0}
 .editorial-section .cards>.card>a{aspect-ratio:16/10}
 .editorial-section .cards>.card .card-body{padding:11px 12px}
 .editorial-section .cards>.card h2{font-size:16px}
 .editorial-section .section-heading:after{content:"Swipe for more";font-size:10px;color:#67758a;white-space:nowrap}
 .editorial-section .section-heading{flex-wrap:wrap}
 .editorial-section .section-heading a{margin-left:auto}
}
@media(max-width:440px){
 .editorial-section .cards{grid-auto-columns:86%}
 .editorial-section .cards>.card:nth-child(n+4){display:flex}
}

/* House advertising on the home and article pages. */
.ohp-advertise-banner{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;background:linear-gradient(105deg,#072249,#0751a2);color:white;padding:24px 30px;margin:25px 0;border-left:5px solid #e02b35}
.ohp-advertise-banner .ad-disclosure{color:#cbdaf1;font-size:10px}
.ohp-advertise-banner strong{display:block;font:700 25px Georgia,serif;margin:7px 0}
.ohp-advertise-banner p{font-size:14px;line-height:1.5;margin:0;color:#edf6ff}
.ohp-advertise-banner>a,.ohp-nav-subscribe{background:var(--ohps-primary,#0751a2);color:#fff;border:0;border-radius:4px;font-weight:700;cursor:pointer;transition:background-color .15s ease}
.ohp-advertise-banner>a{display:inline-block;padding:12px 18px;font-size:14px;min-height:44px}
.ohp-advertise-banner>a:hover,.ohp-advertise-banner>a:focus-visible,.ohp-nav-subscribe:hover,.ohp-nav-subscribe:focus-visible{background:var(--ohps-button-hover,#063f7d);color:#fff;outline-offset:3px}
.ohp-ad-article{margin:30px 0;flex-wrap:wrap}
.ohp-ad-article strong{font-size:22px}
.ohp-nav-subscribe{display:inline-block;margin:6px 16px;padding:9px 14px}
@media(max-width:800px){.ohp-advertise-banner{padding:18px;gap:16px}.ohp-advertise-banner strong{font-size:21px}.ohp-nav-subscribe{margin:9px 15px}.ohp-ad-article{margin:24px 0}}

/* Newsletter inside Latest News rail */
.latest-sidebar .latest-subscribe{margin:17px -5px 0;padding:18px 13px;background:#eff6fd;border:1px solid #d4e4f5}
.latest-subscribe h3{margin:0 0 7px;font:700 18px/1.25 Georgia,serif;color:#082448}
.latest-subscribe>p{font-size:12px;line-height:1.5;color:#4b6077;margin:0 0 12px}
.latest-subscribe .ohp-fields{display:flex;flex-direction:column;gap:8px}
.latest-subscribe .ohp-fields input,.latest-subscribe .ohp-fields button{width:100%;min-width:0;box-sizing:border-box}
.latest-subscribe .ohp-consent{font-size:11px}
.ohp-back-to-top{position:fixed;right:20px;bottom:22px;z-index:5000;width:44px;height:44px;border-radius:50%;border:0;background:#0751a2;color:white;box-shadow:0 4px 18px #062a5070;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:23px;font-weight:700}
.ohp-back-to-top[hidden]{display:none!important}
.ohp-back-to-top:hover,.ohp-back-to-top:focus-visible{background:#083864;outline-offset:3px}
@media(max-width:800px){.ohp-back-to-top{right:15px;bottom:78px;width:42px;height:42px}}

/* OpenHub Press homepage: curated sections, four items per section. */
.editorial-section .cards{grid-template-columns:repeat(4,minmax(0,1fr))}
.section-feature{background:#edf4fd}
.section-feature .cards{grid-template-columns:1.65fr 1fr 1fr}
.section-feature .cards>.card:first-child{grid-row:span 2}
.section-feature .cards>.card:first-child>a{aspect-ratio:4/3}
.section-feature .cards>.card:first-child h2{font-size:24px}
.section-feature .cards>.card:nth-child(4){grid-column:2/4}
.section-magazine{background:#fff;border-top:4px solid #0751a2}
.section-magazine .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
.section-magazine .cards>.card{display:grid;grid-template-columns:42% 1fr}
.section-magazine .cards>.card>a{height:100%;aspect-ratio:auto}
.section-magazine .cards>.card>a img{width:100%;height:100%;object-fit:cover}
.sports-track{grid-auto-columns:calc(50% - 10px)}
.all-news-cta{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#082448;color:#fff;padding:30px;margin:28px 0 36px}
.all-news-cta h2{font:700 26px Georgia,serif;margin:0 0 8px}.all-news-cta p{margin:0;color:#d8e5f5;font-size:14px}
.all-news-cta>a{display:inline-block;background:#fff;color:#0751a2;padding:14px 22px;font-weight:700;white-space:nowrap}
.all-news-filters{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:20px 0}
.all-news-filters span{font-weight:700}.all-news-filters a{border:1px solid #ccd9e8;padding:6px 10px;font-size:12px}
.archive-pagination ul{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0}
.archive-pagination a,.archive-pagination span{display:block;border:1px solid #cbd6e5;padding:8px 13px}.archive-pagination .current{background:#0751a2;color:#fff}
@media(max-width:800px){
 .editorial-section .cards,.section-feature .cards,.section-magazine .cards{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:86%;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px}
 .section-feature .cards>.card:first-child,.section-feature .cards>.card:nth-child(4){grid-row:auto;grid-column:auto}
 .section-feature .cards>.card:first-child h2{font-size:17px}
 .section-magazine .cards>.card{display:flex;flex-direction:column}
 .section-magazine .cards>.card>a{aspect-ratio:16/10}
 .all-news-cta{padding:21px;flex-direction:column;align-items:start}
 .all-news-cta h2{font-size:22px}
 .sports-track{grid-auto-columns:86%}
}

/* Publisher priority: lead the homepage with Big Achievements. */
.priority-section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:22px 0 12px;padding:0 0 10px;border-bottom:3px solid #0751a2}
.priority-section-heading h1{font:700 clamp(24px,2.5vw,34px)/1.15 Georgia,serif;margin:0;color:#082448}
.priority-section-heading a{font-weight:700;color:#0751a2;font-size:13px;white-space:nowrap}
.priority-section-heading+.hero{margin-top:0}
@media(max-width:600px){.priority-section-heading{align-items:flex-start;flex-wrap:wrap}.priority-section-heading h1{font-size:24px}}

.priority-section-heading{border-bottom-color:var(--ohps-primary,#0751a2)}.all-news-cta{background:var(--ohps-accent,#082448)}.all-news-cta>a{color:var(--ohps-primary,#0751a2)}

/* Approved editorial mockup: white menu, navy text and red active selection. */
.navigation{background:#fff!important;border-bottom:1px solid #e3e7ed}
.navigation .menu-inner>ul{align-items:center;gap:2px}
.navigation li{padding:0}
.navigation li a{display:block;padding:12px 13px;color:#14233a;font-size:13px;font-weight:700}
.navigation li.current-menu-item>a,.navigation li.current_page_item>a,.navigation li.current-menu-ancestor>a,.navigation li a:hover,.navigation li a:focus-visible{background:var(--ohps-accent,#e11c2c);color:#fff!important}
.navigation li a:focus-visible{outline:2px solid #14233a;outline-offset:2px}
@media(max-width:800px){.navigation .menu-inner.open{background:#fff}.navigation li{padding:0}.navigation li a{padding:11px 14px}}
/* Clean informational pages and contact form, preserving editorial style. */
.page .article>article>h1{font:700 clamp(32px,3vw,43px)/1.18 Georgia,serif;margin:0 0 25px;color:#10223b}
.page .article-content h2{font:700 23px/1.3 Georgia,serif;color:#10223b;margin:30px 0 12px}
.page .article-content h3{font:700 19px/1.3 Georgia,serif;color:#10223b;margin:24px 0 10px}
.page .article-content p{line-height:1.65;margin:0 0 16px}
.openhub-contact{background:#f6f8fb;border:1px solid #dce5ef;border-top:4px solid var(--ohps-accent,#e11c2c);padding:24px;margin:20px 0 28px}
.openhub-contact form{display:grid;gap:16px;max-width:680px}
.openhub-contact form>p{margin:0!important}
.openhub-contact label{display:block;font:600 14px/1.5 Arial,sans-serif;color:#20314b}
.openhub-contact input:not([type=hidden]),.openhub-contact select,.openhub-contact textarea{display:block;width:100%!important;max-width:100%!important;margin-top:7px;padding:12px 14px;border:1px solid #bbc8d8;border-radius:4px;background:#fff;color:#10223b;font:15px Arial,sans-serif}
.openhub-contact input:focus-visible,.openhub-contact select:focus-visible,.openhub-contact textarea:focus-visible{outline:2px solid #0751a2;outline-offset:1px}
.openhub-contact button[type=submit]{border:0;border-radius:4px;background:var(--ohps-accent,#e11c2c);color:white;font:700 15px Arial,sans-serif;padding:13px 25px;min-height:44px;cursor:pointer}
.openhub-contact button[type=submit]:hover,.openhub-contact button[type=submit]:focus-visible{filter:brightness(.88)}
@media(max-width:800px){.openhub-contact{padding:18px 14px}.page .article>article>h1{font-size:31px}}

/* Page titles use configurable newspaper red; article headlines stay navy. */
.page .article>article>h1{color:var(--ohps-page-h1,#e11c2c)}
.single-post .article-header h1{color:#10223b}


/* Balanced editorial palette: red advertising invitation, navy headings and light newsletter. */
.ohp-advertise-banner{background:linear-gradient(110deg,#ba1728,#e11c2c);border-left-color:#082448}
.ohp-advertise-banner .ad-disclosure{color:#fff}
.ohp-advertise-banner p{color:#fff}
.ohp-advertise-banner>a{color:#fff;background:var(--ohps-primary,#0751a2)}
.ohp-advertise-banner>a:hover,.ohp-advertise-banner>a:focus-visible{background:var(--ohps-button-hover,#063f7d);color:#fff}

/* Studio article heading colour settings: preserve category cards and section headings. */
.article-content h2{color:var(--ohps-heading-h2,#10223b)}
.article-content h3{color:var(--ohps-heading-h3,#10223b)}

/* Studio newspaper layout presets; Classic is unchanged. */
.ohps-design-modern .hero{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.ohps-design-modern .hero-aside{display:contents}
.ohps-design-modern .hero .feature,.ohps-design-modern .hero-aside .feature{height:290px}
.ohps-design-modern .hero .feature-title{font:700 clamp(18px,2vw,25px)/1.25 Arial,sans-serif}
.ohps-design-modern .editorial-section .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
.ohps-design-modern .article-layout{grid-template-columns:minmax(0,4fr) minmax(220px,1fr)}
.ohps-design-modern .article-header h1{font-family:Arial,Helvetica,sans-serif;letter-spacing:-.02em}
.ohps-design-magazine .hero{grid-template-columns:1.25fr 1fr;gap:22px}
.ohps-design-magazine .hero .feature{height:485px}
.ohps-design-magazine .hero-aside{grid-template-rows:1fr 1fr;gap:18px}
.ohps-design-magazine .hero-aside .feature{height:233px}
.ohps-design-magazine .hero .feature-title{font:700 clamp(25px,2.4vw,35px)/1.2 Georgia,serif}
.ohps-design-magazine .editorial-section .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
.ohps-design-magazine .article-layout{display:block;max-width:940px;margin-left:auto;margin-right:auto}
.ohps-design-magazine .article-right-rail{max-width:940px;margin:32px auto 0}
.ohps-design-magazine .article-header h1{text-align:center}
.ohps-design-magazine .article-byline,.ohps-design-magazine .article-date{text-align:center}
@media(max-width:800px){
.ohps-design-modern .hero,.ohps-design-magazine .hero{display:block}
.ohps-design-modern .hero-aside,.ohps-design-magazine .hero-aside{display:block}
.ohps-design-modern .hero .feature,.ohps-design-modern .hero-aside .feature,.ohps-design-magazine .hero .feature,.ohps-design-magazine .hero-aside .feature{height:260px;margin-bottom:14px}
.ohps-design-modern .editorial-section .cards,.ohps-design-magazine .editorial-section .cards{grid-template-columns:1fr}
.ohps-design-modern .article-layout{display:block}
}
/* Compact editorial masthead: logo and navigation share one row. */
.mentor-header-row{display:flex;align-items:center;gap:24px;justify-content:space-between}
.mentor-header-row .brand{flex:0 0 auto}
.mentor-header-row .navigation{flex:1;min-width:0;border:0;padding:0}
.mentor-header-row .navigation ul{justify-content:flex-end;gap:12px 18px}
.masthead:has(.mentor-header-row){padding:14px 0}
@media(max-width:800px){.mentor-header-row{flex-wrap:wrap;gap:8px}.mentor-header-row .menu-toggle{margin-left:auto;float:none}.mentor-header-row .navigation{flex:0 0 100%}.mentor-header-row .navigation .menu-inner{display:none}.mentor-header-row .navigation .menu-inner.open{display:block}.mentor-header-row .navigation ul{display:block}.masthead:has(.mentor-header-row){padding:9px 0}}

/* Refined responsive editorial navigation — compact desktop and no accidental second row. */
.mentor-header-row{gap:18px}
.mentor-header-row .brand-image{width:160px}
.mentor-header-row .navigation ul{flex-wrap:nowrap;justify-content:flex-end;gap:6px}
.mentor-header-row .navigation li{flex:0 0 auto}
.mentor-header-row .navigation a{display:block;padding:11px 8px;font-size:12px;line-height:1.3;white-space:nowrap}
.topbar-details>span:last-child{white-space:nowrap}
@media(min-width:1201px) and (max-width:1450px){
.mentor-header-row .brand-image{width:130px}
.mentor-header-row .navigation a{font-size:11px;padding:10px 5px}
}
@media(max-width:1200px){
.mentor-header-row{flex-wrap:wrap;gap:8px}
.mentor-header-row .menu-toggle{display:inline-block;margin-left:auto;float:none;border-radius:4px;padding:9px 14px;cursor:pointer}
.mentor-header-row .navigation{flex:0 0 100%}
.mentor-header-row .navigation .menu-inner{display:none}
.mentor-header-row .navigation .menu-inner.open{display:block}
.mentor-header-row .navigation ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px}
.mentor-header-row .navigation a{font-size:14px;white-space:normal;padding:12px}
}
@media(max-width:550px){.mentor-header-row .navigation ul{grid-template-columns:1fr}.mentor-header-row .brand-image{width:140px}}
/* Editorial front-page trial inspired by modern public-service news grids. */
body.home .priority-section-heading{margin-top:22px}
body.home .hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.65fr) minmax(0,1fr);align-items:start;gap:18px;margin-top:16px;margin-bottom:36px}
body.home .hero-aside{display:contents}
body.home .hero>.feature{order:2;min-height:395px;height:395px}
body.home .hero-aside>.feature:first-child{order:1}
body.home .hero-aside>.feature:last-child{order:3}
body.home .hero-aside>.feature{height:auto;min-height:0;display:flex;flex-direction:column;background:#fff;border-bottom:1px solid #dce3eb}
body.home .hero-aside>.feature img{height:185px;width:100%;object-fit:cover;flex:none}
body.home .hero-aside>.feature:after{display:none}
body.home .hero-aside>.feature .feature-title{position:static;color:#10223b;font:700 clamp(18px,1.5vw,22px)/1.25 Georgia,serif;padding:12px 0 14px}
body.home .hero>.feature .feature-title{font:700 clamp(24px,2.35vw,35px)/1.16 Georgia,serif}
body.home .editorial-section{margin-top:32px;margin-bottom:30px}
body.home .editorial-section .cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
body.home .cards>.card{border:0;border-bottom:1px solid #dbe2ec;box-shadow:none!important;transform:none!important}
body.home .cards>.card .card-body{padding:12px 0 15px}
body.home .cards>.card h2{font:700 clamp(17px,1.3vw,21px)/1.28 Georgia,serif}
body.home .cards>.card img{aspect-ratio:1.65;object-fit:cover}
body.home .section-heading{border-top:2px solid #10223b;padding-top:13px}
body.home .section-heading h2{border-left:0;padding-left:0;font:800 19px/1.3 Arial,sans-serif}
body.home .achievements-section .cards{grid-template-columns:repeat(4,minmax(0,1fr))}
body.home .layout .news-main .cards{gap:15px}
body.home .layout .news-main .cards>.card h2{font-size:18px}
body.home .editorial-section.sports-section .cards{display:grid}
body.home .ohp-advertise-banner{margin-top:36px}
@media(max-width:1100px){
 body.home .hero{grid-template-columns:1.4fr 1fr;gap:14px}
 body.home .hero>.feature{order:0;grid-row:span 2;height:390px;min-height:390px}
 body.home .hero-aside>.feature:first-child,body.home .hero-aside>.feature:last-child{order:0}
 body.home .hero-aside>.feature img{height:145px}
 body.home .editorial-section .cards,body.home .achievements-section .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
 body.home .hero{display:block}
 body.home .hero>.feature{height:320px;min-height:0;margin-bottom:18px}
 body.home .hero-aside{display:grid;grid-template-columns:1fr 1fr;gap:12px}
 body.home .hero-aside>.feature img{height:125px}
 body.home .hero-aside>.feature .feature-title{font-size:16px}
 body.home .editorial-section .cards,body.home .achievements-section .cards{grid-template-columns:1fr 1fr;gap:12px}
 body.home .section-heading h2{font-size:17px}
}
@media(max-width:430px){
 body.home .hero-aside{grid-template-columns:1fr}
 body.home .editorial-section .cards,body.home .achievements-section .cards{grid-template-columns:1fr}
}

/* The Mentor editorial trial: centred masthead with a separate navigation row. */
@media(min-width:1201px){
.masthead:has(.mentor-header-row){padding:18px 0 0}
.mentor-header-row{display:flex;flex-direction:column;align-items:center;gap:16px}
.mentor-header-row .brand-image{width:188px}
.mentor-header-row .navigation{width:100%;border-top:1px solid #e2e7ed;border-bottom:1px solid #e2e7ed}
.mentor-header-row .navigation ul{justify-content:center;gap:3px}
.mentor-header-row .navigation a{font-size:13px;padding:13px 11px}
}
/* Three distinct editorial treatments, without repeating the same block across every category. */
body.home .achievements-section .cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}
body.home .achievements-section .card img{aspect-ratio:1.65}
body.home .news-main .cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
body.home .news-main .card:first-child{grid-column:1/-1;display:grid;grid-template-columns:1.15fr 1fr;gap:16px;align-items:center}
body.home .news-main .card:first-child>a img{height:220px;width:100%;object-fit:cover}
body.home .section-grid .cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
body.home .section-magazine .cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
body.home .section-magazine .card{display:block;min-width:0}
body.home .section-magazine .card img{width:100%;height:auto;aspect-ratio:1.65;object-fit:cover}
body.home .section-magazine .card h2{font-size:19px}
body.home .sports-track{grid-auto-columns:minmax(260px,1fr)}
@media(max-width:1000px){
body.home .section-grid .cards,body.home .achievements-section .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
body.home .news-main .card:first-child{display:block}
}
@media(max-width:650px){
body.home .section-grid .cards,body.home .achievements-section .cards,body.home .section-magazine .cards,body.home .news-main .cards{grid-template-columns:1fr}
body.home .news-main .card:first-child{grid-column:auto}
}

/* Three-column BBC-inspired editorial lead */
body.home .ohp-editorial-lead{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.85fr) minmax(0,1fr);gap:22px;align-items:start;margin:18px 0 35px}
.ohp-lead-support,.ohp-lead-main,.ohp-lead-rail{min-width:0}
.ohp-support-story{display:block;border-bottom:1px solid #dae1e9;padding-bottom:16px;margin-bottom:16px}
.ohp-support-story img{width:100%;height:auto;aspect-ratio:1.75;object-fit:cover}
.ohp-support-story h2{font:700 clamp(17px,1.4vw,21px)/1.25 Georgia,serif;margin:9px 0}
.ohp-lead-story{display:block}
.ohp-lead-story img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:center top}
.ohp-lead-story h2{font:700 clamp(26px,2.35vw,36px)/1.17 Georgia,serif;margin:10px 0}
.ohp-lead-label{display:inline-block;color:#e11c2c;font:700 12px Arial,sans-serif;margin-top:13px}
.ohp-lead-story .meta,.ohp-support-story .meta{font-size:12px}
.ohp-lead-rail{border-top:3px solid #0751a2}
.ohp-lead-rail>h2{font:700 21px Georgia,serif;margin:13px 0 8px}
.ohp-rail-story{display:block;border-bottom:1px solid #dce3ec;padding:12px 0}
.ohp-rail-story{display:grid;grid-template-columns:84px minmax(0,1fr);gap:12px;align-items:start;padding:12px 0;text-decoration:none}
.ohp-rail-thumb{display:block;width:84px;height:76px;overflow:hidden;border-radius:3px}
.ohp-rail-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.ohp-rail-copy{display:block;min-width:0}
.ohp-rail-copy strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;font:700 15px/1.35 Georgia,serif;color:#10223b}
.ohp-rail-copy small{display:block;color:#647185;margin-top:7px;font:12px/1.3 Georgia,serif}
.ohp-rail-story:not(:has(.ohp-rail-thumb)){display:block}
.ohp-lead-rail{width:100%;max-width:440px}
@media(max-width:650px){.ohp-lead-rail{max-width:none}.ohp-rail-story{grid-template-columns:84px minmax(0,1fr)}}
.ohp-support-story:hover h2,.ohp-lead-story:hover h2,.ohp-rail-story:hover span{color:#0751a2}
@media(max-width:1050px){body.home .ohp-editorial-lead{grid-template-columns:1fr 1.5fr}.ohp-lead-rail{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 24px}.ohp-lead-rail>h2{grid-column:1/-1}}
@media(max-width:650px){body.home .ohp-editorial-lead{display:flex;flex-direction:column;gap:18px}.ohp-lead-main{order:0}.ohp-lead-support{order:1;display:grid;grid-template-columns:1fr 1fr;gap:13px}.ohp-lead-rail{order:2;display:block;width:100%}.ohp-support-story h2{font-size:16px}.ohp-lead-story h2{font-size:25px}}

/* BBC-style mixed category mosaic, five-story sport strip and full category index */
.ohp-second-segment .news-main .cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.ohp-second-segment .news-main .card:first-child{grid-column:span 2;grid-row:span 2}
.ohp-second-segment .news-main .card:first-child img{aspect-ratio:16/9;object-fit:cover}
.ohp-five-sports,.ohp-all-category-links{margin:35px 0}
.ohp-sports-items{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.ohp-sports-items article{min-width:0}
.ohp-sports-items img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}
.ohp-sports-items h3{font:700 17px/1.3 Georgia,serif;margin:8px 0}
.ohp-sports-items p{font:14px/1.4 Georgia,serif}
.ohp-all-category-links{border-top:2px solid #10223b;padding-top:12px}
.ohp-all-category-links>div{display:flex;flex-wrap:wrap;gap:10px 18px}
.ohp-all-category-links a{text-decoration:underline;text-underline-offset:3px}
@media(max-width:950px){.ohp-second-segment .news-main .cards{grid-template-columns:repeat(2,minmax(0,1fr))}.ohp-sports-items{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.ohp-second-segment .news-main .card:first-child{grid-column:span 2;grid-row:auto}.ohp-sports-items{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Home editorial alignment polish: consistent images and previews */
body.home .editorial-section .cards {align-items:stretch}
body.home .editorial-section .card {display:flex;flex-direction:column;min-width:0;height:100%;overflow:hidden;background:#fff}
body.home .editorial-section .card>a {display:block;flex:none;overflow:hidden}
body.home .editorial-section .card>a img {display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;object-position:center}
body.home .editorial-section .card .card-body {display:flex;flex-direction:column;flex:1;min-width:0;padding-top:8px}
body.home .editorial-section .card .card-body h2 {display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;line-height:1.35;margin-top:6px;overflow-wrap:anywhere}
body.home .achievements-section .card>a img {aspect-ratio:16/9}
body.home .section-magazine .card {display:flex}
body.home .section-magazine .card>a img {aspect-ratio:16/9;height:auto}
body.home .section-magazine .card .card-body {padding:10px 0 0}
body.home .ohp-second-segment .news-main .card:first-child {display:flex;grid-column:1/-1;grid-row:auto}
body.home .ohp-second-segment .news-main .card:first-child>a img {width:100%;height:auto;aspect-ratio:16/9}
body.home .ohp-second-segment .news-main .cards {grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
body.home .ohp-second-segment .news-main .card h2 {font-size:clamp(16px,1.35vw,20px)}
body.home .ohp-sports-items article {min-width:0}
body.home .ohp-sports-items h3 {display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;line-height:1.35}
body.home .ohp-sports-items p {display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}
@media(max-width:650px){body.home .ohp-second-segment .news-main .cards{grid-template-columns:1fr 1fr}body.home .ohp-second-segment .news-main .card:first-child{grid-column:1/-1}body.home .editorial-section .card .card-body h2{-webkit-line-clamp:5}}

/* Portrait-safe editorial photo framing: keep faces visible in local newspaper preview. */
body.home .editorial-section:not(.sports-section) .cards>.card>a,
body.home .ohp-second-segment .news-main .cards>.card>a {
  aspect-ratio:4/3;
  height:auto;
  overflow:hidden;
  background:#f0f3f6;
}
body.home .editorial-section:not(.sports-section) .cards>.card>a>img,
body.home .ohp-second-segment .news-main .cards>.card>a>img {
  display:block;
  width:100%;
  height:100%;
  aspect-ratio:auto;
  object-fit:cover;
  object-position:center 12%;
}
body.home .section-magazine .cards>.card>a {aspect-ratio:5/4}
body.home .section-magazine .cards>.card>a>img {object-position:center 10%;height:100%}
body.home .achievements-section .cards>.card>a {aspect-ratio:4/3}
body.home .ohp-sports-items img {aspect-ratio:16/9;object-position:center}
body.home .ohp-support-story img,
body.home .ohp-rail-thumb img {object-position:center 12%}

/* All Categories lead: fill its photo frame and keep the subject visible. */
body.home .ohp-second-segment .news-main .cards>.card:first-child>a {
  display:block;
  width:100%;
  height:clamp(230px,27vw,410px);
  aspect-ratio:auto;
  overflow:hidden;
  background:#eef2f5;
}
body.home .ohp-second-segment .news-main .cards>.card:first-child>a>img {
  display:block;
  width:100%;
  height:100%;
  max-width:none;
  aspect-ratio:auto;
  object-fit:cover;
  object-position:center 15%;
}
@media(max-width:650px){
 body.home .ohp-second-segment .news-main .cards>.card:first-child>a{height:260px}
}

/* Readable advertising CTA on homepage and individual articles. */
body .ohp-advertise-banner > a {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  min-height:44px;
  padding:12px 18px;
  background:#fff;
  color:#082448 !important;
  font:700 14px/1.2 Arial,sans-serif;
  text-align:center;
  text-decoration:none;
  white-space:normal;
  border:1px solid #fff;
}
body .ohp-advertise-banner > a:hover,
body .ohp-advertise-banner > a:focus-visible {
  background:#edf3fa;
  color:#082448 !important;
  border-color:#082448;
  outline:2px solid #fff;
  outline-offset:2px;
}

/* Inline category filters on the all-news archive */
.all-news-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.all-news-filters a.is-active{background:#0751a2;color:#fff;border-color:#0751a2}
.archive-results-summary{font:600 14px/1.4 Arial,sans-serif;color:#4b5870;margin:0 0 14px}

/* Mobile newspaper refinement: compact navigation and readable long headlines. */
@media (max-width: 550px) {
  .mentor-header-row .brand-image { width: 126px; height: auto; }
  .masthead:has(.mentor-header-row) { padding: 7px 0; }
  .mentor-header-row { gap: 6px 10px; }
  .mentor-header-row .menu-toggle { padding: 8px 12px; font-size: 13px; }
  .mentor-header-row .navigation { margin-top: 0; padding: 0; }
  .mentor-header-row .navigation .menu-inner.open { padding: 6px 0 10px; }
  .mentor-header-row .navigation ul,
  .mentor-header-row .navigation .menu-inner.open > ul,
  .mentor-header-row .navigation .menu-inner.open > div > ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 10px;
  }
  .mentor-header-row .navigation li a,
  .mentor-header-row .navigation .menu-inner.open li a {
    padding: 9px 4px;
    font-size: 12px;
    line-height: 1.3;
    white-space: normal;
    overflow-wrap: anywhere;
    border-bottom: 1px solid #e5ebf1;
  }
  .article-breadcrumb { font-size: 12px; margin: 12px 0 14px; }
  body.single-post .article-header h1 {
    font-size: clamp(24px, 6.2vw, 29px);
    line-height: 1.18;
    letter-spacing: -0.025em;
    overflow-wrap: break-word;
  }
  .article-content { font-size: 16px; line-height: 1.7; }
  .article-cover { margin: 14px 0 20px; }
  .article-cover img { display: block; max-width: 100%; height: auto; }
}
/* Phone news listings: one natural-height card per row, without grid gaps. */
@media (max-width: 650px) {
  body.home .editorial-section .cards,
  body.home .achievements-section .cards,
  body.home .section-grid .cards,
  body.home .section-magazine .cards,
  body.home .ohp-second-segment .news-main .cards,
  body.home .news-main .cards,
  .archive-layout .archive-cards,
  body.category .cards,
  body.archive .cards {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: auto;
    align-items: start;
    gap: 18px;
  }
  body.home .editorial-section .cards > .card,
  body.home .ohp-second-segment .news-main .cards > .card,
  .archive-layout .archive-cards > .card,
  body.category .cards > .card,
  body.archive .cards > .card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
    height: auto;
    grid-column: auto;
    grid-row: auto;
    align-self: start;
  }
  body.home .editorial-section .cards > .card > a,
  body.home .ohp-second-segment .news-main .cards > .card > a,
  body.home .ohp-second-segment .news-main .cards > .card:first-child > a,
  .archive-layout .archive-cards > .card > a,
  body.category .cards > .card > a,
  body.archive .cards > .card > a {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #eef2f5;
    flex: none;
  }
  body.home .editorial-section .cards > .card > a > img,
  body.home .ohp-second-segment .news-main .cards > .card > a > img,
  .archive-layout .archive-cards > .card > a > img,
  body.category .cards > .card > a > img,
  body.archive .cards > .card > a > img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center 20%;
  }
  body.home .editorial-section .card .card-body,
  body.home .section-magazine .card .card-body {
    display: block;
    flex: none;
    padding: 10px 0 12px;
  }
  body.home .ohp-second-segment .news-main .card:first-child {
    grid-column: auto;
    grid-row: auto;
  }
  body.home .ohp-sports-items {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    align-items: start;
  }
  body.home .ohp-sports-items article {
    min-width: 0;
    width: 100%;
    height: auto;
  }
  body.home .ohp-sports-items article > a {
    display: block;
  }
  body.home .ohp-sports-items article img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center 20%;
  }
  body.home .ohp-sports-items h3,
  body.home .ohp-sports-items p {
    margin: 9px 0 0;
  }
}
/* Production-ready contact page */
.mentor-contact-page{max-width:1040px;margin:28px auto 56px}
.mentor-contact-panel{max-width:740px;margin:24px auto;padding:28px;border:1px solid #dce5ef;background:#f8fafc}
.mentor-contact-panel .openhub-contact{padding:0}
.mentor-contact-panel input:not([type=hidden]),.mentor-contact-panel textarea,.mentor-contact-panel select{max-width:100%;padding:10px;border:1px solid #c5d2df}
.mentor-contact-panel button[type=submit]{background:#0751a2;color:#fff;padding:11px 20px;border:0;cursor:pointer}
@media(max-width:650px){.mentor-contact-page{margin:16px auto 32px}.mentor-contact-panel{padding:16px;margin:16px 0}}
