/* HABER70 – Approved editorial layout, rewritten for the new data-driven application.
   Frontend-only design extension: no persistence, login or API changes. */
:root{--h70-navy:#172d4a;--h70-deep:#12223a;--h70-red:#cf1738;--h70-gray:#ebedf1;--h70-yellow:#ffdb54}
body{background:#fff;color:#1d2736;-webkit-font-smoothing:antialiased}
a,button{-webkit-tap-highlight-color:transparent}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #fa9d29;outline-offset:2px}
.site-header{border-bottom:1px solid #e9edf2}
.topline{background:#f4f6f9;border-bottom:1px solid #e5e8ee}
.topline .headline-strip{min-height:33px;font-size:10px}
.topline-mark{font-weight:650;color:#5f6c7d}
.topline-mark span{color:#cf1738;padding:0 5px}
.topline-right{display:flex;align-items:center;gap:20px}
.topline-right a{font-weight:900;color:#d01536;letter-spacing:.5px}
.topline-right a:hover{text-decoration:underline}
.header-inner{height:105px;gap:27px}
.site-logo{width:285px;max-width:31%}
.site-logo img{max-height:87px}
.header-weather{margin-left:auto;gap:9px;min-width:147px}
.weather-icon{width:35px;height:35px;border-radius:100px;background:#fff7df;display:grid;place-items:center;font-size:23px}
.header-search{width:270px;height:44px;background:#f4f5f8;border-color:#e8e9ec}
.header-search input{font-size:12px}
.header-search button{font-weight:700}
.navigation{background:#192e4e;border-bottom:3px solid #bd1738;box-shadow:0 3px 10px #0925400e}
.nav-inner{min-height:44px}
.nav-inner a{font-size:11px;padding:16px 10px;letter-spacing:.12px}
.nav-inner a:hover,.nav-inner a:focus-visible{background:#314663}
.nav-inner .nav-home{background:#d0193c}
.h70-ticker{background:#fff;border:1px solid #e5e8ed;border-left:0;border-radius:0;margin-top:12px;margin-bottom:6px;min-height:38px}
.h70-ticker>strong{display:inline-flex;align-items:center;gap:7px;background:#d10b30;padding:12px 14px;letter-spacing:1px;font-size:10px}
.red-signal{width:6px;height:6px;border-radius:50%;background:white;box-shadow:0 0 0 4px #ffffff33}
.h70-ticker .ticker-news{font-weight:750}
.h70-ticker .ticker-clock{border-left:1px solid #e4e6eb;padding-left:16px;padding-right:16px}
.main-content{padding-top:13px}
.h70-home .advert{margin-bottom:14px}
/* Desktop signature: 788 x 450 main frame and a single portrait companion */
.h70-headline-stage{display:grid;grid-template-columns:minmax(0,788px) minmax(0,248px);gap:14px;height:450px;min-height:450px}
.h70-headline-stage .hero-main{height:450px;background:#142743;position:relative}
.h70-headline-stage .hero-slide{position:absolute;inset:0;display:block;overflow:hidden}
.h70-headline-stage .hero-slide[hidden]{display:none!important}
.h70-headline-stage .hero-slide>img{width:100%;height:100%;object-fit:cover;transition:transform .55s}
.h70-headline-stage .hero-slide:hover>img{transform:scale(1.025)}
.h70-headline-stage .hero-gradient{position:absolute;inset:auto 0 0;padding:105px 31px 70px;background:linear-gradient(0deg,#07111de8 0%,#0e162cbf 53%,transparent 100%);z-index:1;color:white;pointer-events:none}
.h70-headline-stage .hero-category{display:inline-block;background:#d01639;padding:6px 10px;font-size:10px;letter-spacing:1px;font-weight:900;color:white}
.h70-headline-stage .hero-gradient h1{font-size:33px;line-height:1.16;font-weight:900;margin:14px 0 0;letter-spacing:-.5px;text-shadow:0 2px 12px #0004;max-width:690px}
.h70-headline-stage .hero-kicker{display:inline-block;margin-top:12px;font-size:10px;letter-spacing:1px;color:#dbe7f3;font-weight:900}
.h70-headline-stage .hero-kicker span{font-size:17px;vertical-align:-1px}
.h70-headline-stage .hero-controls{position:absolute;left:0;right:0;bottom:0;z-index:4;display:flex;align-items:center;gap:9px;background:linear-gradient(90deg,#0008,#1119);height:46px;padding:7px 12px}
.h70-headline-stage .hero-controls>button{display:grid;place-items:center;min-width:30px;height:30px;border:1px solid #ffffff4d;border-radius:6px;background:#ffffff26;color:white;font-size:24px;padding:0 5px;line-height:1;backdrop-filter:blur(4px)}
.h70-headline-stage .hero-numbers{display:flex;align-items:center;gap:5px;flex:1;overflow-x:auto;scrollbar-width:none}
.h70-headline-stage .hero-numbers::-webkit-scrollbar{display:none}
.h70-headline-stage .hero-numbers>button{height:27px;min-width:28px;padding:0 6px;border:1px solid #d6dbe5;background:linear-gradient(135deg,#fff,#cbd0db);color:#101827;border-radius:5px;font-size:12px;font-weight:900;box-shadow:inset 0 1px 0 #fff9}
.h70-headline-stage .hero-numbers>button.is-active{background:#d7193f;border-color:#fa9eb0;color:white}
.h70-headline-stage .hero-side{display:flex;flex-direction:column;min-height:0;background:#f2f3f5;border:none;overflow:hidden}
.h70-headline-stage .side-heading{height:35px;display:flex;align-items:center;justify-content:space-between;flex-shrink:0;padding:0 10px;background:#172d4b;color:#fff;font-size:11px;font-weight:900;letter-spacing:.6px}
.h70-headline-stage .small-red-line{width:27px;height:3px;background:#e32343}
.h70-headline-stage .side-feature-major{display:block;position:relative;flex:1;min-height:0;overflow:hidden;background:#14253b}
.h70-headline-stage .side-feature-img{position:absolute;inset:0;background:#183252}
.h70-headline-stage .side-feature-img img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.h70-headline-stage .side-feature-major:hover img{transform:scale(1.05)}
.h70-headline-stage .side-feature-caption{position:absolute;left:0;right:0;bottom:0;padding:105px 14px 17px;color:white;background:linear-gradient(0deg,#080b13f0,#080b1399 55%,transparent)}
.h70-headline-stage .side-feature-caption>span{font-size:10px;font-weight:900;color:#ffb8c4}
.h70-headline-stage .side-feature-caption h3{font-size:19px;line-height:1.3;margin:9px 0 0;font-weight:900}
.h70-headline-stage .hero-image-placeholder{display:grid;place-items:center;height:100%;background:linear-gradient(120deg,#173251,#111827)}
.h70-headline-stage .hero-image-placeholder img{width:52%;height:auto;max-height:100px;object-fit:contain}
.empty-front{background:#f7f8fa;border:1px solid #e8ebf0;min-height:290px;padding:45px 25px;margin:0}
.empty-front img{width:min(290px,80%)}
.empty-front a{display:inline-block;margin-top:15px;color:#b10d2c;font-weight:900}
.section-head{border-bottom:1px solid #e3e8ec;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0;margin:0 0 14px}
.section-head h2{font-size:19px;letter-spacing:-.25px;color:#23344e;padding:11px 0;margin:0;font-weight:900}
.section-head a{font-size:10px;font-weight:900;color:#c21637;letter-spacing:.55px}
.section-head a:hover{text-decoration:underline}
.red-rule{display:inline-block;height:18px;width:4px;background:#d21135;vertical-align:-3px;margin-right:9px}
.h70-under-headlines{margin-top:22px}
.h70-under-headlines .section-head{margin-bottom:11px}
.h70-under-headlines .scroll-cards{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 5*12px)/6);grid-template-columns:none;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;padding-bottom:10px}
.h70-under-headlines .news-card{scroll-snap-align:start}
.h70-under-headlines .news-image{aspect-ratio:16/9}
.h70-under-headlines .card-copy h3{font-size:12px;line-height:1.38;font-weight:900;max-height:3.9em;overflow:hidden}
.horiz-actions{display:flex;gap:6px;align-items:center}
.horiz-actions button{display:grid;place-items:center;border:1px solid #d7dce4;background:#fafafa;color:#3e516a;width:29px;height:29px;border-radius:5px;font-size:23px;line-height:1}
.horiz-actions button:hover{border-color:#a9b3bf;background:#e9edf4}
.home-feature-grid{display:grid;grid-template-columns:510px minmax(0,1fr);gap:21px;align-items:stretch;margin:24px 0 20px}
.feature-firms{background:#ffe17a;padding:20px 23px;box-shadow:inset 0 -4px 0 #f7cb48;border-radius:3px}
.feature-firms .firm-title-row{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;border-bottom:2px solid #bda54e;padding-bottom:13px;margin-bottom:9px}
.feature-firms .firm-title-row small{display:block;font-size:10px;letter-spacing:1.3px;color:#7a6231;font-weight:900;margin-bottom:5px}
.feature-firms .firm-title-row h2{color:#2c2a1e;font-size:24px;line-height:1.05;margin:0;letter-spacing:-.5px}
.feature-firms .firm-title-row a{font-size:10px;font-weight:900;color:#493c24;white-space:nowrap}
.feature-firm-list{display:grid;grid-template-columns:1fr 1fr;gap:2px 18px}
.feature-firms .firm-mini{min-width:0;display:flex;align-items:center;gap:9px;border-bottom:1px solid #c4a95783;padding:11px 0;transition:transform .12s}
.feature-firms .firm-mini:hover{transform:translateX(3px)}
.feature-firms .firm-mini img,.feature-firms .firm-monogram{width:44px;height:44px;flex-shrink:0;border-radius:5px;object-fit:cover;background:white}
.feature-firms .firm-mini b{font-size:11px;line-height:1.25;color:#282722;display:block}
.feature-firms .firm-mini small{font-size:10px;display:block;margin-top:3px;color:#806d42}
.feature-firms .firm-mini>span:nth-child(2){overflow:hidden;min-width:0}
.feature-firms .mini-arrow{margin-left:auto;font-size:23px;color:#715b2b}
.feature-firms .all-companies{background:#2b2a24;color:#fff;display:flex;align-items:center;justify-content:space-between;max-width:none;width:100%;padding:11px 13px;margin-top:13px;border-radius:3px;font-size:10px;font-weight:900;letter-spacing:.8px}
.feature-firms .all-companies span{font-size:17px}
.feature-latest{min-width:0}
.feature-latest .section-head{margin-top:1px}
.breaking-grid{display:grid;gap:0}
.latest-row{min-height:64px;border-bottom:1px solid #e8eaef;display:flex;align-items:center;gap:12px;padding:9px 2px}
.latest-row:hover strong{color:#bb1436}
.latest-time{font-size:10px;color:#c5193a;border:1px solid #f6d7de;background:#fff7f9;border-radius:3px;padding:5px 7px;font-weight:900;min-width:48px;text-align:center}
.latest-copy{flex:1;min-width:0}
.latest-copy strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;line-height:1.3;transition:color .2s}
.latest-copy small{font-size:9px;color:#9b9da4;margin-top:4px;display:block;font-weight:900;letter-spacing:.8px}
.latest-row-arrow{font-size:25px;color:#b6bdc6}
.home-two-cols{margin-top:29px;grid-template-columns:minmax(0,1fr) 260px;gap:22px}
.news-list-grid{gap:20px 16px}
.news-card .news-image{background:#f0f2f5;border-radius:2px;overflow:hidden}
.news-card .news-image img{width:100%;height:100%;object-fit:cover}
.news-card .card-copy h3{color:#202d3d;font-weight:900;line-height:1.42}
.news-card .card-copy p{line-height:1.55}
.news-card .card-date{font-size:10px;color:#929bab}
.news-card .category-label{font-size:9px;letter-spacing:1px;font-weight:900;color:#c31838}
.home-col-side>.advert{margin-top:0}
.news-rail{background:#182d4b;padding:21px;color:#e7f0fa;display:grid;gap:11px;margin-top:15px}
.news-rail strong{font-size:22px;color:white}
.news-rail span{font-size:12px;line-height:1.6;color:#b6c4d5}
.news-rail a{border-top:1px solid #ffffff44;font-size:11px;font-weight:900;padding-top:11px;color:#fff}
.side-poll{margin-top:14px;border:1px solid #e6e9ee;padding:15px}
.side-poll h3{line-height:1.45}
.h70-color-module{margin-top:29px;border:0}
.h70-color-module .module-title{height:auto;min-height:49px;padding:0 14px;background:var(--module-color);display:flex;align-items:center;gap:11px}
.h70-color-module .module-title h2{font-weight:900;letter-spacing:.65px;font-size:18px;flex:1;margin:0;padding:13px 0;color:#fff}
.h70-color-module .module-title>a{font-size:10px;color:white;font-weight:900;letter-spacing:.5px}
.h70-color-module .module-title .horiz-actions button{background:#ffffff22;color:white;border:1px solid #ffffff55;height:27px;width:27px}
.h70-color-module .module-items{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:17px 0}
.h70-color-module .module-items .news-image{aspect-ratio:16/9}
.h70-color-module .news-card.compact .card-copy h3{font-size:13px}
.h70-color-module .news-card:nth-child(n+5){display:none}
.detail-layout{grid-template-columns:minmax(0,710px) minmax(0,310px);gap:30px}
.story-category-stamp{font-size:11px;font-weight:900;letter-spacing:.9px;color:#b8223d;margin:2px 0 10px}
.story-category-stamp span{color:#b3bdc8;margin:0 7px}
.story-title{font-family:'The News Roman',Georgia,'Times New Roman',serif;font-size:40px!important;line-height:1.12!important;letter-spacing:-.8px;font-weight:800;color:#1b2430}
.story-lead{font-size:19px!important;line-height:1.5!important;color:#394453}
.story-meta{margin:18px 0 13px;font-size:11px}
.author-stamp{font-weight:900;color:#b91636}
.story-hero{margin:16px 0 25px}
.story-hero img{width:100%;height:auto;display:block}
.story-content{font-family:Georgia,'Times New Roman',serif;line-height:1.88;font-size:19px;color:#232630}
.story-content img,.story-content iframe{max-width:100%;height:auto}
.story-content p{line-height:1.85}
.story-content h2,.story-content h3{font-family:Arial,Helvetica,sans-serif}
.detail-aside .firm-showcase{background:#ffdf72;border-radius:3px}
.detail-aside .firm-title-row{border-bottom:1px solid #dfba49;padding-bottom:8px}
.detail-aside .firm-mini{border-bottom:1px solid #b8953b55}
.popular-sidebar{background:#f0f2f5;border-radius:3px;padding:14px}
.popular-link strong{color:#bd1634}
.score-placeholder{background:#f3f6f9;border-left:3px solid #314f72}
.latest-side-link{margin-top:16px;border:1px solid #e5e9ee;padding:14px;color:#c31634;font-weight:900;font-size:11px}
.firm-card{border:1px solid #e3e7ed;border-radius:3px}
.firm-card:hover{box-shadow:0 12px 34px #0d2d4f22}
.firm-card-body h2{font-size:18px}
/* Responsive behaviours match the separately approved mobile composition */
@media(max-width:1090px) and (min-width:761px){
 .h70-headline-stage{grid-template-columns:minmax(0,3fr) minmax(0,1fr)}
 .home-feature-grid{grid-template-columns:1fr 1fr}
 .feature-firm-list{grid-template-columns:1fr}
 .h70-under-headlines .scroll-cards{grid-auto-columns:calc((100% - 4*11px)/5)}
 .detail-layout{grid-template-columns:minmax(0,1fr) 270px}
}
@media(max-width:760px){
 body{overflow-x:hidden;background:#fff}
 .layout{width:100%;padding-left:12px;padding-right:12px}
 .desktop-only{display:none!important}
 .mobile-only{display:flex}
 .site-header{position:relative;z-index:10}
 .header-inner{height:67px;gap:8px;justify-content:space-between;padding-left:12px;padding-right:12px}
 .site-logo{width:min(188px,53vw);max-width:none;flex-shrink:1;height:65px}
 .site-logo img{max-height:53px}
 .mobile-toggle{color:#233552;border:1px solid #e9edf3;border-radius:6px;background:#fff;height:37px;width:37px;display:grid;place-items:center;flex-shrink:0;font-size:21px}
 .header-search{height:38px;width:38px;flex-shrink:0;background:#f5f6f8;border-radius:6px}
 .header-search button{font-size:25px}
 .header-search input{top:43px;right:0;width:min(320px,calc(100vw - 26px));height:42px;border:1px solid #b4c1d1;border-radius:5px;box-shadow:0 8px 22px #15294136}
 .navigation{position:absolute;top:67px;left:0;right:0;z-index:20;box-shadow:0 15px 25px #0005}
 .nav-inner{padding:12px;grid-template-columns:1fr 1fr;max-height:min(76vh,640px)}
 .nav-inner a{font-size:12px;border-bottom:1px solid #ffffff1a}
 .ticker{display:none!important}
 .main-content{padding:0 0 32px}
 .h70-home{padding-top:0}
 .h70-headline-stage{display:block;height:auto;min-height:0;margin:0 -12px;overflow:visible}
 .h70-headline-stage .hero-main{width:100%;height:auto;aspect-ratio:16/10}
 .h70-headline-stage .hero-gradient{padding:55px 16px 48px}
 .h70-headline-stage .hero-gradient h1{font-size:clamp(21px,5vw,29px);line-height:1.14;margin:9px 0 0}
 .h70-headline-stage .hero-category{font-size:9px;padding:5px 8px}
 .h70-headline-stage .hero-kicker{display:none}
 .h70-headline-stage .hero-controls{height:38px;padding:5px 9px;gap:6px;background:#152946d9}
 .h70-headline-stage .hero-controls>button{height:25px;min-width:27px;font-size:22px}
 .h70-headline-stage .hero-numbers{justify-content:center}
 .h70-headline-stage .hero-numbers>button{font-size:0;min-width:6px;width:7px;height:7px;padding:0;border:0;border-radius:50%;background:#fff8;box-shadow:none}
 .h70-headline-stage .hero-numbers>button.is-active{width:20px;border-radius:7px;background:#e9214a}
 .h70-headline-stage .hero-side{display:none}
 .currency-rail{align-items:center;gap:10px;border:1px solid #edf0f3;background:#f7f8fa;padding:10px 12px;margin:0 -12px 6px;min-height:46px;font-size:11px;color:#687788}
 .currency-rail-title{font-size:10px;font-weight:900;background:#1d3555;color:white;padding:5px 7px;letter-spacing:.5px}
 .currency-rail a{margin-left:auto;color:#b71537;font-weight:900;white-space:nowrap}
 .h70-under-headlines{margin-top:15px}
 .section-head h2{font-size:16px}
 .h70-under-headlines .scroll-cards{grid-auto-columns:calc((100% - 13px)/2);gap:13px;padding-bottom:8px}
 .h70-under-headlines .news-card .news-image{aspect-ratio:16/9}
 .h70-under-headlines .news-card.compact .card-copy h3{font-size:13px;line-height:1.3}
 .h70-under-headlines .news-card .category-label{font-size:9px}
 .home-feature-grid{display:flex;flex-direction:column;gap:16px;margin:18px 0}
 .feature-firms{order:1;margin:0 -12px;border-radius:0;padding:18px 15px;background:#ffe083}
 .feature-firms .firm-title-row h2{font-size:21px}
 .feature-firm-list{grid-template-columns:1fr 1fr;gap:0 11px}
 .feature-firms .firm-mini{padding:8px 0;gap:6px}
 .feature-firms .firm-mini img,.feature-firms .firm-monogram{width:35px;height:35px}
 .feature-firms .firm-mini b{font-size:10px}
 .feature-firms .firm-mini small{font-size:9px}
 .feature-firms .mini-arrow{display:none}
 .feature-latest{order:0}
 .latest-row{min-height:58px}
 .home-two-cols{display:flex;flex-direction:column;gap:12px;margin-top:21px}
 .home-col-main{order:0}
 .home-col-side{order:1}
 .news-list-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}
 .news-list-grid .news-image{aspect-ratio:16/9}
 .news-list-grid .card-copy h3{font-size:14px}
 .h70-color-module{margin:23px -12px 0}
 .h70-color-module .module-title{padding:0 13px;min-height:44px}
 .h70-color-module .module-title h2{font-size:16px}
 .h70-color-module .module-items{display:grid;grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:calc((100% - 13px)/2);gap:13px;overflow-x:auto;scroll-snap-type:x mandatory;padding:12px 12px 14px}
 .h70-color-module .module-items .news-card{scroll-snap-align:start}
 .h70-color-module .news-card:nth-child(n+5){display:flex}
 .h70-color-module .news-card.compact .card-copy h3{font-size:13px}
 .story-category-stamp{margin-top:16px}
 .story-title{font-size:clamp(29px,8vw,36px)!important;line-height:1.15!important}
 .story-lead{font-size:17px!important}
 .story-content{font-size:18px;line-height:1.8}
 .detail-aside{margin-top:20px}
 .listing-grid,.firms-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .site-footer{margin-top:24px}
 .footer-top{padding:26px 12px}
 .empty-front{padding:40px 15px;min-height:260px}
}
@media(max-width:370px){.feature-firm-list{grid-template-columns:1fr}.h70-headline-stage .hero-gradient h1{font-size:20px}.h70-under-headlines .scroll-cards{grid-auto-columns:70%}.h70-color-module .module-items{grid-auto-columns:70%}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media(max-width:760px){
  /* Keep the approved full-bleed mobile modules without creating horizontal page overflow. */
  .main-content.layout{padding-left:12px;padding-right:12px}
}
