/* Merzifon Haber visual refresh: clear media/text boundaries and a logo-led palette. */
:root{
    --ink:#20343a;
    --navy:#173b45;
    --navy2:#102f38;
    --muted:#687b80;
    --paper:#f7f6f1;
    --line:#e2e2dc;
    --accent:#d94a4d;
    --red:#d94a4d;
    --white:#fff;
    --shadow:0 16px 40px rgba(21,54,63,.12);
    --radius:16px;
}

body.ahs-portal{background:var(--paper);color:var(--ink)}
.market-strip{background:#163943;color:#f4f6f3;border-bottom:1px solid rgba(255,255,255,.1)}
.market-currency,.currency-dollar,.currency-euro,.currency-pound,.currency-franc{color:#ee7771}
.live-rates-status i{background:#e9a94c;box-shadow:0 0 0 4px rgba(233,169,76,.14)}
.live-rates-status.is-live i{background:#53bb9b;box-shadow:0 0 0 4px rgba(83,187,155,.14)}

.site-header .header-main{background:#fff;border-bottom:1px solid #ecebe6}
.site-header .header-main-inner{height:90px;min-height:90px;justify-content:space-between;overflow:visible}
.site-header .header-brand{position:relative;inset:auto;z-index:12;width:210px;height:76px;min-width:210px;display:flex;align-items:center;justify-content:flex-start;overflow:visible;flex:0 0 auto}
.site-header .header-brand .ahs-logo{position:relative;width:196px;height:auto;max-width:100%;max-height:70px;margin:0;object-fit:contain;object-position:left center;filter:none}
.site-header .header-utility{margin-left:auto;gap:24px;color:var(--ink)}
.site-header .quick-nav{gap:22px}
.site-header .quick-nav a,.site-header .social-mark,.site-header .header-icon{color:var(--ink)}
.site-header .quick-nav a:hover,.site-header .social-mark:hover,.site-header .header-icon:hover{color:var(--accent)}
.site-header .quick-icon{color:var(--accent)}
.site-header .social-nav{gap:15px}
.site-header .category-bar{background:var(--navy)}
.site-header .category-bar-inner{min-height:46px;padding-left:0;background:var(--navy);clip-path:none}
.site-header .main-nav{min-height:46px;justify-content:space-between}
.site-header .main-nav>a{color:#fff;font-size:13px;padding:0 12px;border-color:rgba(255,255,255,.14)}
.site-header .main-nav>a:hover,.site-header .main-nav>a:focus{background:var(--accent);color:#fff}
.site-header .main-nav .nav-button{background:var(--accent);color:#fff}
.site-header .main-nav .nav-button:hover{background:#bd383e;color:#fff}
.header-search-panel{background:#102f38;border-color:rgba(255,255,255,.15)}
.header-search-panel button{background:var(--accent);color:#fff}
.breaking-bar{background:#f0eee8;color:#394a4d;border-color:#e5e1d8}
.breaking-inner strong,.breaking-inner .bolt,.breaking-time{color:#cc3f46}
.breaking-track a{color:#394a4d}
.breaking-track a:hover{color:#b9353d}

.home-hero,.archive-hero,.page-hero,.article-top{background:#f0eee7}
.hero-heading .section-kicker,.section-kicker{color:#b64045}
.hero-heading h1 em{color:#b64045}
.lead-story{background:#173b45}
.lead-copy .read-more{color:#f3a39c}
.category-badge,.latest-news-badge{background:#d94a4d;color:#fff}
.news-card{border-color:#e4e3dc;background:#fff}
.featured-section,.news-section,.stream-section,.split-section,.contact-section{background:#fff}
.featured-grid .news-card:first-child{background:#173b45;color:#fff;overflow:hidden}
.featured-grid .news-card:first-child .news-card-body{background:#173b45}
.featured-grid .news-card:first-child .news-card-body h2 a{color:#fff}
.featured-grid .news-card:first-child .news-card-body h2 a:hover{color:#ffd0c7}
.featured-grid .news-card:first-child .news-card-body p{color:#d1dedf}
.featured-grid .news-card:first-child .news-card-body .read-more{color:#ffaaa0}
.latest-news-section,.video-section,.category-ribbon,.daily-brief,.site-footer{background:#173b45}
.latest-news-heading .section-kicker,.visual-tile small,.daily-brief .section-kicker{color:#ff9b91}
.latest-news-controls button:hover,.gallery-controls button:hover{background:var(--accent);border-color:var(--accent);color:#fff}
.visual-discover,.photo-section{background:#f2f0e9}
.visual-tile{background:#173b45}
.category-tile>span{background:var(--accent);color:#fff}
.category-tile:hover{background:#24525b}
.random-panel,.contact-box,.aside-box{background:#f2f0e9}
.random-orbit,.contact-icon{color:#bf4148}
.button{background:var(--accent);color:#fff;border-radius:4px}
.button:hover{background:#bd383e;color:#fff}
.outline-link:hover{border-color:var(--accent);background:var(--accent);color:#fff}
.breadcrumbs a:hover,.article-content a{color:#b64045}
.article-content a:hover,.source-note a{color:#9e3038}
.footer-brand-link{display:inline-flex;align-items:center;padding:7px 10px;background:#fff;border-radius:8px}
.footer-brand-link .ahs-logo{width:205px;max-height:70px}
.site-footer h2{color:#fff}
.footer-bottom{border-color:rgba(255,255,255,.16)}
.side-label,.mini-news>div>span,.random-result a{color:#b64045}
.mini-news h3 a:hover{color:#b64045}
.pagination .current{background:var(--accent);border-color:var(--accent);color:#fff}
.contact-form input:focus,.contact-form textarea:focus{border-color:var(--accent)}
.source-note{border-left-color:var(--accent);background:#fff5f2}
.source-note span{color:#a53b40}
.skip-link{background:var(--accent);color:#fff}

/* Keep image and story copy in separate grid tracks on every screen size. */
.featured-grid .news-card:first-child>.news-card-media{display:block;position:relative;width:100%;min-width:0;min-height:0;height:auto;aspect-ratio:1.9/1;flex:0 0 auto;overflow:hidden}
.featured-grid .news-card:first-child>.news-card-media img{display:block;width:100%;height:100%;object-fit:cover}
.featured-grid .news-card:first-child>.news-card-body{position:relative;inset:auto;width:100%;min-width:0;flex:0 0 auto;overflow-wrap:anywhere}
.news-card-body,.latest-news-body,.lead-copy{min-width:0;overflow-wrap:anywhere}
.news-card-body h2,.latest-news-body h3,.lead-copy h2{overflow-wrap:anywhere}

.footer-brand .footer-brand-link .ahs-logo{background:transparent}
.section-intro{color:var(--muted);margin:-10px 0 18px;font-size:14px}

@media(max-width:1180px){
    .site-header .category-bar-inner{padding-left:0;overflow-x:auto;scrollbar-width:none}
    .site-header .category-bar-inner::-webkit-scrollbar{display:none}
    .site-header .main-nav{width:max-content;min-width:100%;justify-content:flex-start}
    .site-header .main-nav>a{flex:0 0 auto;padding-inline:11px}
    .site-header .header-utility{gap:18px}
    .site-header .quick-nav{gap:15px}
}
@media(max-width:860px){
    .site-header .header-main-inner{height:82px;min-height:82px}
    .site-header .header-brand{width:178px;height:70px;min-width:178px}
    .site-header .header-brand .ahs-logo{width:168px;max-height:64px}
    .site-header .quick-nav a:nth-child(n+3){display:none}
    .site-header .social-nav{gap:11px}
    .site-header .category-bar-inner{padding-left:0}
}
@media(max-width:760px){
    .site-header .header-main-inner{height:78px;min-height:78px;width:calc(100% - 30px)}
    .site-header .header-brand{position:relative;left:auto;top:auto;width:142px;height:66px;min-width:142px}
    .site-header .header-brand .ahs-logo{width:136px;max-height:60px;object-position:left center}
    .site-header .header-utility{margin-left:auto;gap:8px}
    .site-header .quick-nav{display:none}
    .site-header .social-nav{gap:9px}
    .site-header .category-bar{height:0;min-height:0}
    .site-header .category-bar-inner{height:0;min-height:0;padding:0;overflow:visible}
    .site-header .main-nav{display:none;position:absolute;left:15px;right:15px;top:0;width:auto;min-width:0;max-height:min(72vh,520px);overflow-y:auto;background:#173b45;padding:8px 10px 12px;box-shadow:0 18px 30px rgba(0,0,0,.22);border-top:2px solid var(--accent);z-index:20}
    .site-header .main-nav.is-open{display:block}
    .site-header .main-nav>a{display:block;text-align:left;justify-content:flex-start;padding:10px 8px;color:#fff;border-right:0;border-bottom:1px solid rgba(255,255,255,.12);font-size:13px}
    .site-header .main-nav .home-nav{display:none}
    .header-search-panel{top:78px}
    .footer-brand-link{padding:6px 8px}
    .footer-brand-link .ahs-logo{width:185px}
    .featured-grid .news-card:first-child>.news-card-media{aspect-ratio:1.55/1}
}
