/*
Theme Name: HabariHub Kadence Child
Theme URI: https://habarihub.co.ke/
Description: Kadence child theme recreating the original HabariHub politics and sports news layout. Includes original colours, typography, layout and responsive styling.
Author: HabariHub
Template: kadence
Version: 2.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: habarihub
License: GPL-2.0-or-later
*/

:root {
      --bg: #f7f7f3;
      --paper: #ffffff;
      --ink: #17221f;
      --muted: #67736e;
      --line: #e3e7e1;
      --brand: #173e35;
      --brand-deep: #0d2923;
      --accent: #e46d4b;
      --sports: #b1e06a;
      --gold: #ddc69c;
      --radius: 16px;
      --shadow: 0 16px 46px rgba(14, 42, 33, .07);
    }
    body.dark {
      --bg: #101b17;
      --paper: #1b2a24;
      --ink: #eff4ed;
      --muted: #a4b2aa;
      --line: #32433b;
      --brand: #b9dbcb;
      --brand-deep: #10241d;
      --shadow: 0 16px 46px rgba(0,0,0,.18);
    }
    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; transition: background .25s, color .25s; }
    button, input { font: inherit; }
    a { color: inherit; text-decoration: none; }
    button { cursor: pointer; }
    button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
    .wrap { max-width: 1276px; padding-inline: 30px; margin-inline: auto; }
    .topline { background: #0d2721; color: #d9e8e1; font-size: 11px; font-weight: 700; letter-spacing: .10em; }
    .topline .wrap { min-height: 34px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
    .topline b { color: #ffab88; }
    .masthead { background: var(--paper); border-bottom: 1px solid var(--line); }
    .masthead .wrap { min-height: 111px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
    .brand { display: inline-flex; align-items: center; gap: 12px; }
    .brand-mark { width: 43px; height: 43px; border-radius: 12px; flex-shrink: 0; background: #173e35; color: #fff; display: grid; place-items: center; transform: rotate(-7deg); font: 900 27px/1 Georgia, serif; position: relative; }
    .brand-mark::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #e46d4b; position: absolute; top: 6px; right: 6px; }
    .brand-name { font-size: clamp(22px, 3.6vw, 37px); line-height: .98; font-weight: 900; letter-spacing: -.075em; white-space: nowrap; }
    .brand-name span { color: var(--accent); }
    .brand-domain { display: block; text-align: right; margin-top: 4px; font-size: 9px; font-weight: 900; color: var(--muted); letter-spacing: .27em; }
    .masthead-side { display: flex; align-items: center; gap: 28px; }
    .tagline { font-family: Georgia, serif; font-style: italic; color: var(--muted); font-size: 15px; }
    .header-actions { display: flex; align-items: center; gap: 8px; }
    .icon-btn { border: 1px solid var(--line); color: var(--ink); background: var(--paper); width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; transition: .2s; }
    .icon-btn:hover { border-color: var(--accent); transform: translateY(-1px); }
    .icon-btn svg { width: 18px; height: 18px; }
    .navline { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 30; box-shadow: 0 4px 15px rgba(0,0,0,.018); }
    .navline .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 61px; }
    .navlinks { display: flex; align-items: center; gap: 9px; }
    .navlink { font-size: 13px; font-weight: 800; padding: 11px 19px; border-radius: 999px; background: transparent; border: 0; color: var(--muted); transition: .2s; }
    .navlink:hover, .navlink.active { background: #173e35; color: white; }
    .nav-note { font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 9px; }
    .nav-note .dot { display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
    .mobile-menu-btn { display: none; }
    .demo-note { max-width: 1276px; margin: 16px auto -15px; padding: 9px 30px 0; font-size: 11px; color: var(--muted); }
    .demo-note b { color: var(--accent); }
    .intro { padding-top: 58px; padding-bottom: 26px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
    .eyebrow { color: var(--accent); font-size: 11px; font-weight: 900; letter-spacing: .19em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; }
    .eyebrow::before { content: ''; width: 24px; height: 2px; background: currentColor; }
    .intro h1 { margin: 10px 0 0; font: 700 clamp(34px, 5vw, 63px)/1.05 Georgia, "Times New Roman", serif; letter-spacing: -.052em; }
    .intro h1 em { color: #bd785c; font-weight: 500; }
    .intro-copy { font-size: 14px; max-width: 275px; margin: 0 0 7px; color: var(--muted); }
    .lead-grid { display: grid; grid-template-columns: 1.57fr 1fr; gap: 18px; }
    .feature { position: relative; overflow: hidden; border-radius: var(--radius); min-height: 503px; background: #174d42; color: #fff; isolation: isolate; box-shadow: var(--shadow); }
    .feature::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(3,24,19,.9) 0%, rgba(10,40,31,.27) 67%, rgba(13,40,28,.04) 100%); }
    .feature.feature-main { padding: 36px; display: flex; flex-direction: column; justify-content: end; }
    .cover-art { position: absolute; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
    .art-main { background: radial-gradient(circle at 80% 22%, #3e826b 0%, #184c41 44%, #0a342c 100%); }
    .art-main::before { content: ''; position: absolute; width: 530px; height: 530px; border-radius: 50%; border: 85px solid rgba(204,240,206,.14); right: -75px; top: -116px; transform: rotate(20deg); }
    .art-main::after { content: 'THE BIG PICTURE'; position: absolute; right: -33px; top: 125px; color: rgba(255,255,255,.10); white-space: nowrap; font-weight: 900; font-size: 75px; letter-spacing: -.07em; transform: rotate(-90deg); }
    .visual-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.07) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,.07) 1px,transparent 1px); background-size: 46px 46px; mask-image: linear-gradient(90deg, transparent, black); }
    .feature-index { position: absolute; top: 28px; right: 30px; font: 900 16px/1 system-ui; opacity: .6; }
    .cover-tag { align-self: flex-start; color: #fff; background: var(--accent); border-radius: 999px; font-size: 10px; font-weight: 900; letter-spacing: .16em; padding: 7px 13px; text-transform: uppercase; }
    .feature-main h2 { max-width: 660px; margin: 18px 0 13px; font: 700 clamp(34px, 4.5vw, 57px)/1.09 Georgia, serif; letter-spacing: -.042em; }
    .feature p { color: rgba(255,255,255,.78); font-size: 14px; max-width: 550px; margin: 0 0 23px; }
    .feature-meta { font-size: 11px; color: rgba(255,255,255,.74); font-weight: 800; letter-spacing: .03em; }
    .feature-meta span { padding: 0 7px; }
    .feature-click { position: absolute; inset: 0; z-index: 3; border: 0; background: none; }
    .feature-click:focus-visible { outline-offset: -4px; }
    .side-features { display: grid; grid-template-rows: 1fr 1fr; gap: 18px; }
    .feature-small { min-height: 242px; display: flex; flex-direction: column; justify-content: end; padding: 25px 28px; }
    .feature-small h3 { margin: 12px 0 6px; max-width: 420px; font: 700 clamp(23px, 2.2vw, 32px)/1.14 Georgia, serif; letter-spacing: -.03em; }
    .feature-small .cover-tag { font-size: 9px; padding: 5px 10px; }
    .art-sport { background: linear-gradient(125deg, #172f3b 0%, #286e68 56%, #85ad66 100%); }
    .art-sport::before { content: ''; position: absolute; width: 400px; height: 400px; border: 1px solid rgba(255,255,255,.23); border-radius: 50%; right: -123px; top: -169px; box-shadow: 0 0 0 52px rgba(255,255,255,.045), 0 0 0 103px rgba(255,255,255,.045); }
    .art-sport::after { content: 'SPORT'; position: absolute; right: 22px; top: -20px; font-size: 112px; line-height: 1; font-weight: 900; letter-spacing: -.075em; color: rgba(255,255,255,.09); }
    .art-politics { background: linear-gradient(125deg, #8b5c49 0%, #b98056 54%, #e1c297 100%); }
    .art-politics::before { content: ''; position: absolute; width: 310px; height: 310px; border: 75px solid rgba(255,255,255,.10); border-radius: 50%; right: -80px; top: -190px; }
    .art-politics::after { content: 'POLITICS'; position: absolute; right: 21px; top: -11px; font-size: 77px; font-weight: 900; letter-spacing: -.065em; color: rgba(255,255,255,.10); }
    .focus-strip { padding-block: 26px 29px; }
    .focus-inner { border-bottom: 1px solid var(--line); padding: 22px 0 25px; display: grid; grid-template-columns: 170px repeat(3, minmax(0,1fr)); gap: 20px; }
    .strip-label { font-size: 12px; font-weight: 900; letter-spacing: .10em; color: var(--accent); text-transform: uppercase; display: flex; gap: 9px; align-items: center; }
    .strip-label::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
    .focus-item { border: 0; padding: 0 0 0 18px; border-left: 1px solid var(--line); background: none; text-align: left; color: var(--ink); font-weight: 800; font-size: 13px; line-height: 1.45; }
    .focus-item:hover { color: var(--accent); }
    .focus-item span { font-size: 10px; display: block; color: var(--muted); text-transform: uppercase; letter-spacing: .10em; font-weight: 900; margin-bottom: 4px; }
    .section { padding-top: 50px; }
    .section-top { display: flex; gap: 16px; align-items: end; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 19px; margin-bottom: 25px; }
    .section-top .section-title { margin: 5px 0 0; font: 700 clamp(29px, 3.4vw, 40px)/1.1 Georgia, serif; letter-spacing: -.045em; }
    .section-title .lined { color: var(--accent); }
    .section-link { display: inline-flex; align-items: center; gap: 9px; border: none; background: none; color: var(--brand); font-size: 12px; font-weight: 900; padding: 10px 0; white-space: nowrap; }
    .section-link .arrow { display: grid; place-items: center; width: 28px; height: 28px; background: var(--brand); color: var(--paper); border-radius: 50%; font-size: 15px; }
    body.dark .section-link .arrow { color: #10241d; }
    .article-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
    .story { background: var(--paper); border: 1px solid var(--line); border-radius: 15px; overflow: hidden; transition: transform .2s, box-shadow .2s; }
    .story:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
    .story-image { display: block; width: 100%; height: 193px; border: 0; position: relative; overflow: hidden; text-align: left; padding: 22px; color: #fff; }
    .story-image::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 80% 20%,rgba(255,255,255,.2) 0 13%,transparent 13.2%), linear-gradient(105deg, transparent 0 62%,rgba(255,255,255,.10) 62.3% 78%,transparent 78.3%); }
    .story-image::after { content: ''; position: absolute; width: 170px; height: 170px; border: 35px solid rgba(255,255,255,.14); border-radius: 50%; right: -40px; bottom: -75px; }
    .theme-p1 { background: linear-gradient(132deg,#27594c,#799e85); }
    .theme-p2 { background: linear-gradient(132deg,#614d45,#be9871); }
    .theme-p3 { background: linear-gradient(132deg,#2e4a57,#729ba0); }
    .theme-s1 { background: linear-gradient(132deg,#214e50,#9fbd71); }
    .theme-s2 { background: linear-gradient(132deg,#233e5a,#618cb3); }
    .theme-s3 { background: linear-gradient(132deg,#4b395d,#a089b0); }
    .story-image-label { display: block; position: absolute; z-index: 1; left: 23px; bottom: 14px; font-size: 47px; line-height: .95; font-weight: 900; letter-spacing: -.075em; color: rgba(255,255,255,.30); text-transform: uppercase; pointer-events: none; }
    .story-image .story-corner { position: absolute; z-index: 1; top: 19px; left: 23px; font-size: 10px; font-weight: 900; letter-spacing: .16em; color: rgba(255,255,255,.93); }
    .story-info { padding: 21px 22px 22px; }
    .story-meta { color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; font-weight: 900; display: flex; align-items: center; gap: 9px; }
    .story-meta .pill { color: #be654b; }
    .story h3 { font: 700 23px/1.23 Georgia, serif; letter-spacing: -.026em; margin: 11px 0 8px; }
    .story h3 button { all: unset; cursor: pointer; }
    .story h3 button:hover { color: #bd6e54; }
    .story-desc { color: var(--muted); font-size: 13px; line-height: 1.7; margin: 0 0 19px; }
    .story-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 15px; border-top: 1px solid var(--line); color: var(--muted); font-weight: 700; font-size: 11px; }
    .read-btn { color: var(--brand); background: none; border: 0; padding: 0; font-size: 11px; font-weight: 900; }
    .read-btn:hover { color: var(--accent); }
    .break-band { margin-top: 65px; padding: 37px 44px; border-radius: 16px; color: #fff; background: #173d34; display: flex; justify-content: space-between; align-items: center; gap: 25px; position: relative; overflow: hidden; }
    .break-band::after { content: ''; position: absolute; width: 310px; height: 310px; right: 110px; top: -200px; border: 55px solid rgba(255,255,255,.065); border-radius: 50%; }
    .break-band small { color: #b8df9c; font-weight: 900; font-size: 10px; letter-spacing: .17em; }
    .break-band h2 { font: 700 clamp(23px,3vw,37px)/1.12 Georgia,serif; letter-spacing: -.035em; margin: 6px 0; }
    .break-band p { font-size: 13px; color: #d3e1d8; margin: 0; }
    .band-button { background: #eceddf; border: none; color: #173d34; border-radius: 999px; font-size: 12px; font-weight: 900; padding: 15px 21px; white-space: nowrap; position: relative; z-index: 1; }
    .band-button:hover { background: #f7c29f; }
    .news-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(250px, .8fr); gap: 40px; }
    .filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; }
    .chip { border: 1px solid var(--line); background: var(--paper); color: var(--muted); padding: 10px 17px; border-radius: 99px; font-size: 11px; font-weight: 900; }
    .chip.active, .chip:hover { background: #173e35; color: #fff; border-color: #173e35; }
    .latest-items { display: flex; flex-direction: column; gap: 0; }
    .latest-story { display: grid; grid-template-columns: 158px 1fr; gap: 20px; padding: 21px 0; border-top: 1px solid var(--line); }
    .latest-image { position: relative; overflow: hidden; border: 0; border-radius: 11px; height: 118px; color: #fff; display: grid; place-items: center; font-size: 20px; font-weight: 900; letter-spacing: -.07em; }
    .latest-image::before { content: ''; position: absolute; inset: -20%; border: 22px solid rgba(255,255,255,.12); border-radius: 50%; transform: translateX(34%); }
    .latest-text .story-meta { font-size: 9px; }
    .latest-text h3 { font: 700 21px/1.24 Georgia, serif; letter-spacing: -.02em; margin: 7px 0; }
    .latest-text h3 button { border: 0; background: none; padding: 0; text-align: left; color: var(--ink); font: inherit; }
    .latest-text h3 button:hover { color: var(--accent); }
    .latest-text p { font-size: 12px; color: var(--muted); margin: 0; line-height: 1.55; }
    .latest-end { padding: 22px; font-size: 13px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 12px; }
    #loadMore { display: block; width: 100%; margin-top: 15px; border: 1px solid var(--line); background: var(--paper); padding: 14px; color: var(--ink); border-radius: 10px; font-size: 12px; font-weight: 900; }
    #loadMore:hover { background: var(--brand-deep); color: #fff; }
    .sidebox { background: var(--paper); border: 1px solid var(--line); padding: 27px; border-radius: 15px; margin-bottom: 20px; }
    .sidebox h3 { font: 700 24px Georgia,serif; margin: 0 0 17px; letter-spacing: -.025em; }
    .trend { display: grid; grid-template-columns: 38px 1fr; gap: 10px; padding: 16px 0; border-top: 1px solid var(--line); }
    .trend-n { font: 700 28px/1 Georgia,serif; color: #c58a70; }
    .trend button { border: 0; background: none; color: var(--ink); text-align: left; font-size: 12px; line-height: 1.5; font-weight: 850; padding: 0; }
    .trend button:hover { color: var(--accent); }
    .trend small { font-size: 9px; color: var(--muted); text-transform: uppercase; font-weight: 900; letter-spacing: .09em; }
    .sideabout { background: #e8f0e9; color: #214a3c; border: 0; }
    .sideabout h3 { margin-bottom: 10px; }
    .sideabout p { font-size: 13px; margin-bottom: 0; }
    .sideabout .seal { font: 900 40px/1 Georgia,serif; color: #8cae97; margin-bottom: 8px; }
    .site-footer { margin-top: 95px; background: #0f2c25; color: #d8e6df; }
    .footer-grid { padding-block: 58px 45px; display: grid; grid-template-columns: 2.1fr 1fr 1fr; gap: 55px; }
    .footer-brand { color: #fff; font-size: 30px; font-weight: 900; letter-spacing: -.075em; line-height: 1; }
    .footer-brand span { color: #ec855e; }
    .footer-grid p { max-width: 340px; color: #a4bfb0; font-size: 13px; line-height: 1.8; }
    .footer-grid h4 { color: #fff; font-size: 11px; text-transform: uppercase; letter-spacing: .15em; margin: 2px 0 18px; }
    .footer-grid a { display: block; color: #c7d8cf; font-size: 13px; padding: 4px 0; }
    .footer-grid a:hover { color: #f6af87; }
    .copyright { border-top: 1px solid #2f4a3c; padding-block: 19px; display: flex; justify-content: space-between; gap: 12px; color: #9fb8aa; font-size: 11px; }
    .search-overlay { position: fixed; inset: 0; z-index: 80; background: rgba(8,24,20,.72); backdrop-filter: blur(8px); display: none; justify-content: center; align-items: flex-start; padding: 16vh 20px 30px; }
    .search-overlay.show { display: flex; }
    .search-panel { width: min(630px,100%); background: var(--paper); border-radius: 18px; padding: 30px; box-shadow: 0 40px 80px rgba(0,0,0,.2); }
    .panel-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 23px; }
    .panel-title h2 { margin: 0; font: 700 30px Georgia,serif; }
    .close-btn { border: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--bg); color: var(--ink); font-size: 21px; }
    .search-form { display: flex; gap: 8px; }
    .search-form input { flex: 1; min-width: 0; border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 10px; padding: 14px 15px; }
    .search-form button { border: 0; background: #173e35; color: #fff; padding: 12px 21px; border-radius: 10px; font-weight: 900; }
    .search-panel p { font-size: 12px; color: var(--muted); }
    .reader { border: 0; border-radius: 16px; background: var(--paper); color: var(--ink); box-shadow: 0 35px 95px rgba(0,0,0,.3); width: min(740px,calc(100% - 25px)); max-height: min(85vh,900px); overflow-y: auto; padding: clamp(22px,5vw,47px); }
    .reader::backdrop { background: rgba(6,22,17,.76); backdrop-filter: blur(5px); }
    .reader-top { display: flex; justify-content: space-between; align-items: center; }
    .reader h2 { font: 700 clamp(29px,4.5vw,48px)/1.12 Georgia,serif; letter-spacing: -.04em; margin: 17px 0; }
    .reader .reader-dek { font-size: 17px; color: var(--muted); line-height: 1.7; }
    .reader .reader-body { border-top: 1px solid var(--line); padding-top: 19px; font-size: 15px; line-height: 1.9; }
    .reader .reader-body p { margin: 0 0 18px; }
    .preview-label { display: inline-block; margin-top: 14px; color: #bc6448; font-size: 10px; font-weight: 900; letter-spacing: .1em; }
    .hidden { display: none !important; }
    @media (max-width: 1020px) {
      .wrap { padding-inline: 23px; }
      .lead-grid { grid-template-columns: 1.24fr 1fr; }
      .feature { min-height: 440px; }
      .feature-small { min-height: 210px; }
      .feature-main h2 { font-size: 42px; }
      .focus-inner { grid-template-columns: 130px repeat(3, 1fr); gap: 12px; }
      .focus-item { font-size: 12px; padding-left: 12px; }
      .news-layout { gap: 24px; grid-template-columns: 1.65fr .85fr; }
      .article-grid { gap: 14px; }
      .story h3 { font-size: 21px; }
    }
    @media (max-width: 750px) {
      .masthead .wrap { min-height: 85px; }
      .tagline, .nav-note { display: none; }
      .navline .wrap { min-height: 54px; }
      .intro { padding-top: 43px; display: block; }
      .intro-copy { margin-top: 13px; }
      .lead-grid { grid-template-columns: 1fr; }
      .feature.feature-main { min-height: 430px; }
      .side-features { grid-template-columns: 1fr 1fr; grid-template-rows: auto; gap: 13px; }
      .feature-small { min-height: 250px; padding: 19px; }
      .feature-small h3 { font-size: 25px; }
      .focus-inner { grid-template-columns: 1fr 1fr; }
      .strip-label { grid-column: 1/-1; }
      .article-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
      .story:last-child:nth-child(odd) { display: none; }
      .news-layout { grid-template-columns: 1fr; }
      .side-column { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
      .sidebox { margin-bottom: 0; }
      .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 25px; }
    }
    @media (max-width: 520px) {
      .wrap { padding-inline: 17px; }
      .topline .wrap { font-size: 9px; }
      .topline .top-right { display: none; }
      .brand-mark { width: 37px; height: 37px; font-size: 23px; }
      .brand { gap: 7px; }
      .brand-name { font-size: 26px; }
      .masthead-side { gap: 7px; }
      .icon-btn { width: 35px; height: 35px; }
      .navline .wrap { justify-content: flex-start; }
      .navlinks { width: 100%; gap: 4px; }
      .navlink { padding: 10px 14px; font-size: 12px; }
      .demo-note { padding-inline: 17px; }
      .intro h1 { font-size: 42px; }
      .intro { padding-top: 35px; }
      .feature.feature-main { min-height: 465px; padding: 25px; }
      .feature-main h2 { font-size: 40px; }
      .feature p { font-size: 12px; }
      .side-features { grid-template-columns: 1fr; }
      .feature-small { min-height: 215px; }
      .focus-strip { padding-block: 12px; }
      .focus-inner { gap: 13px; }
      .focus-item { font-size: 12px; }
      .section { padding-top: 38px; }
      .article-grid { grid-template-columns: 1fr; }
      .story:last-child:nth-child(odd) { display: block; }
      .story-image { height: 196px; }
      .section-link { font-size: 0; }
      .section-link .arrow { font-size: 16px; }
      .break-band { margin-top: 42px; display: block; padding: 28px; }
      .band-button { margin-top: 20px; }
      .latest-story { grid-template-columns: 107px 1fr; gap: 13px; }
      .latest-image { height: 105px; font-size: 16px; }
      .latest-text h3 { font-size: 18px; }
      .latest-text p { display: none; }
      .side-column { display: block; }
      .sidebox { margin-bottom: 16px; }
      .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px 22px; }
      .footer-intro { grid-column: 1/-1; }
      .copyright { display: block; }
      .copyright span { display: block; margin: 4px 0; }
      .search-panel { padding: 20px; }
    }
    @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

    /* 2026 newsroom refinement: tighter cards, clear authors, and lean footer. */
    .navlinks { flex-wrap: wrap; }
    #latest, #politics, #sports, #authors { scroll-margin-top: 86px; }
    .navlink[data-go="latest"] { display: inline-flex; align-items: center; gap: 8px; }
    .navlink[data-go="latest"]::before { content: ''; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
    .navlink[data-go="latest"].active::before { background: #ffd6bd; }
    .story { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; box-shadow: 0 8px 22px rgba(18,43,32,.035); }
    .story-image { height: 215px; border-radius: 0; transition: filter .25s ease; }
    .story:hover .story-image { filter: saturate(1.16) brightness(1.02); }
    .story-image .image-caption { position: absolute; top: 42px; left: 23px; font: 600 12px Georgia,serif; letter-spacing: .03em; color: rgba(255,255,255,.76); }
    .story-info { display: flex; flex-direction: column; flex: 1; padding: 23px 23px 18px; }
    .story h3 { font-size: clamp(20px,2vw,24px); line-height: 1.24; margin-top: 13px; }
    .story-desc { flex: 1; margin-bottom: 20px; }
    .story .story-meta { flex-wrap: wrap; }
    .story .story-meta .pill { display: inline-block; border-radius: 20px; padding: 4px 9px; font-size: 9px; background: #faeee8; color: #9e4f39; letter-spacing: .1em; }
    body.dark .story .story-meta .pill { background: #49372f; color: #ffb897; }
    .story-author { display:flex; align-items:center; gap:10px; padding: 12px 0 14px; border-top: 1px solid var(--line); }
    .author-initials { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; color: #fff; background: #1d5346; display: grid; place-items: center; font-size: 11px; font-weight: 900; letter-spacing: .03em; }
    .author-initials.alt { background: #bf7659; }
    .story-author small, .latest-byline small { display: block; font-size: 9px; line-height: 1.2; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .09em; }
    .author-link { border: 0; background: none; padding: 0; color: var(--ink); font-weight: 900; font-size: 12px; text-align: left; }
    .author-link:hover { color: var(--accent); }
    .story-bottom { padding-top: 13px; }
    .read-btn { font-size: 12px; }
    .latest-story { align-items: start; padding: 23px 0; }
    .latest-image { height: 124px; border-radius: 13px; }
    .latest-text h3 { margin: 8px 0 6px; }
    .latest-byline { margin-top: 10px; display: flex; gap: 8px; align-items: center; font-size: 11px; font-weight: 850; }
    .latest-byline .author-initials { height: 24px; width: 24px; flex-basis: 24px; font-size: 8px; }
    .latest-byline .author-link { font-size: 11px; }
    .latest-byline .read-btn { margin-left: auto; }
    .author-filter-note { display: none; align-items: center; flex-wrap: wrap; gap: 9px; color: var(--muted); background: var(--paper); padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 12px; font-size: 12px; }
    .author-filter-note.visible { display:flex; }
    .author-filter-note strong { color: var(--ink); }
    .author-filter-note button { border: 0; background: none; margin-left: auto; color: #a95238; font-weight: 900; font-size: 11px; }
    .authors-section { padding-bottom: 8px; }
    .authors-grid { display: grid; grid-template-columns: minmax(0,1fr); max-width: 710px; gap: 22px; }
    .author-card { min-height: 234px; background: var(--paper); position: relative; overflow: hidden; display: flex; align-items: flex-start; gap: 23px; padding: clamp(22px, 3vw, 35px); border: 1px solid var(--line); border-radius: 19px; box-shadow: 0 9px 25px rgba(0,0,0,.025); }
    .author-card::before { content: ''; position: absolute; width: 190px; height: 190px; border: 32px solid #e7efea; border-radius: 50%; top: -110px; right: -85px; opacity: .62; pointer-events: none; }
    .author-card:nth-child(2)::before { border-color: #f8e9df; }
    body.dark .author-card::before { opacity: .13; }
    .author-portrait { flex: 0 0 88px; width: 88px; height: 88px; display: grid; place-items:center; border-radius: 22px; background: #1b4b3f; color: #f1f8ef; font: 800 31px Georgia,serif; letter-spacing: -.09em; position:relative; }
    .author-card:nth-child(2) .author-portrait { background: #b66a50; }
    .author-portrait::after { content: ''; position:absolute; width: 10px; height:10px; right: 9px; top:9px; background:#b8df88; border-radius:50%; }
    .author-eyebrow { display: block; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-weight: 900; margin-bottom: 7px; }
    .author-card h3 { font: 700 clamp(25px,2.8vw,34px)/1.13 Georgia,serif; letter-spacing:-.04em; margin: 0 0 11px; }
    .author-card p { font-size: 13px; color: var(--muted); margin: 0 0 16px; max-width: 460px; }
    .author-card button { padding: 0; background:none; border:0; font-size:12px; font-weight:900; color:var(--brand); }
    .author-card button:hover { color: var(--accent); }
    .reader-author { display: flex; gap: 10px; align-items: center; margin: 16px 0; padding: 12px 0; border-block: 1px solid var(--line); }
    .reader-author strong { font-size: 13px; }
    .reader-author small { display: block; font-size: 10px; color: var(--muted); }
    .site-footer { margin-top: 75px; }
    .footer-grid { max-width: 730px; padding-block: 48px 40px; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 45px; }
    .footer-grid h4 { font-size: 12px; }
    .footer-grid a { padding: 6px 0; }
    .copyright { justify-content: center; text-align: center; }
    @media(max-width:750px) { .authors-grid { grid-template-columns: 1fr; } .footer-grid { grid-template-columns: 1fr 1fr; } }
    @media(max-width:520px) {
      .navlink { padding: 10px 10px; font-size: 11px; }
      .navlinks { justify-content: space-between; }
      .navlink[data-go="latest"] { gap: 5px; }
      .story h3 { font-size: 24px; }
      .author-card { gap: 16px; padding: 23px 19px; }
      .author-portrait { width: 66px; height: 66px; flex-basis: 66px; font-size: 26px; border-radius: 15px; }
      .author-card h3 { font-size: 27px; }
      .footer-grid { gap: 20px; }
      .latest-byline { flex-wrap: wrap; }
      .latest-byline .read-btn { margin-left: 0; }
    }
  
/* HabariHub footer — brand + social links + categories + site-information pages only */
.site-footer { margin-top: 90px; background: #0d2b23; color: #d8e6df; }
.footer-grid { max-width: none; display: grid; grid-template-columns: minmax(240px,1.55fr) minmax(140px,.72fr) minmax(200px,1fr); gap: clamp(28px,5vw,85px); padding-block: 64px 52px; }
.footer-identity { min-width:0; }
.footer-grid a.footer-brand-link { display: inline-flex; align-items: center; gap: 13px; padding: 0; color: #fff; }

.footer-wordmark { display:block; font-weight:950; font-size: clamp(25px,2.7vw,36px); letter-spacing: -.077em; line-height:1; white-space:nowrap; color:#fff; }
.footer-wordmark span { color: #ef936c; }
.footer-domain { display:block; text-align:right; letter-spacing:.27em; font-size:10px; font-weight:900; color:#b7c9bd; margin-top:5px; }
.social-links { display:flex; align-items:center; gap:11px; margin-top:26px; }
.footer-grid .social-links a.social-icon { display:inline-flex; align-items:center; justify-content:center; width:43px; height:43px; padding:0; border:1px solid #476157; border-radius:50%; color:#fff; background:rgba(255,255,255,.045); transition:transform .2s, background .2s, border-color .2s; }
.footer-grid .social-links a.social-icon:hover, .footer-grid .social-links a.social-icon:focus-visible { background:#e46d4b; border-color:#e46d4b; color:#0b2921; transform: translateY(-3px); }
.social-icon svg { width:19px; height:19px; display:block; }
.footer-grid h4 { margin: 2px 0 20px; color:#fff; font-size:11px; font-weight:900; letter-spacing:.16em; text-transform:uppercase; }
.footer-grid .footer-links a { display:block; padding:6px 0; color:#c8d9d0; font-size:13px; font-weight:550; line-height:1.5; }
.footer-grid .footer-links a:hover { color:#ffaf8a; }
.copyright { display:block; padding-block:20px; text-align:center; border-top:1px solid #365247; color:#b5c8ba; font-size:11px; letter-spacing:.02em; }
@media (max-width:850px) { .footer-grid { grid-template-columns: minmax(230px,1.1fr) repeat(2,minmax(130px,.75fr)); gap:28px; } }
@media (max-width:650px) { .footer-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap:35px 20px; padding-block:45px 36px; } .footer-identity { grid-column:1/-1; } .footer-wordmark {font-size:32px;} .social-links { margin-top:21px; } }
@media (max-width:370px) { .footer-grid { gap:26px 16px; } .footer-wordmark {font-size:29px;} }
@media (max-width:650px) { .copyright span { display:inline; margin:0; } }

/* WordPress integration: the HTML design above remains unchanged. */
.site-shell {min-height: 100vh; display: flex; flex-direction: column; }
.site-shell > main { flex: 1 0 auto; width: 100%; }
.site-shell > .site-footer { flex-shrink: 0; }
.navlink { display: inline-flex; justify-content: center; align-items: center; }
.navlink[aria-current="page"], .navlink[aria-current="true"] { background: #173e35; color: #fff; }
.cover-art img { width: 100%; height: 100%; display: block; object-fit: cover; }
.cover-art.has-photo::before, .cover-art.has-photo::after { display: none; }
.story-image img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; z-index: 0; }
.story-image.has-photo::before { z-index: 1; background: linear-gradient(0deg,rgba(7,33,24,.42),transparent 72%); }
.story-image.has-photo::after { display:none; }
.story-image > .story-corner, .story-image > .story-image-label, .story-image > .image-caption { z-index: 2; }
.latest-image { display: block; padding: 0; }
.latest-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.latest-image.has-photo::before { display: none; }
.latest-image .latest-fallback { position:absolute; inset:0;display:grid;place-items:center;z-index:1;color:#fff; }
.feature-click { display: block; cursor: pointer; }
.feature-click:focus-visible { outline: 3px solid var(--accent); }
.feature h2, .feature h3, .feature p, .feature .cover-tag, .feature .feature-meta { position: relative; z-index: 1; pointer-events: none; }
.footer-grid .social-links .social-icon { display:inline-flex;align-items:center;justify-content:center;width:43px;height:43px;padding:0;border:1px solid #476157;border-radius:50%;color:#fff;background:rgba(255,255,255,.045); }
.social-links .social-icon.is-unconfigured { opacity: .8; cursor: default; }
.search-overlay[aria-hidden="false"] { display:flex; }
.search-form { margin: 0; }
.newsroom-empty { padding:24px; border:1px dashed var(--line); border-radius:15px; background:var(--paper); color:var(--muted); font-size:14px; }
.article-grid > .newsroom-empty { grid-column:1/-1; }
.feature.no-story { background:#174d42; }
.feature.no-story .feature-click { pointer-events:none; }
.feature.feature-small.no-story { background:#9e704e; }
.single-shell, .archive-shell { padding-top:48px; padding-bottom:56px; }
.breadcrumb { font-size:11px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); margin-bottom:25px; }
.breadcrumb a:hover { color:var(--accent); }
.breadcrumb span { padding-inline:8px; }
.archive-intro { padding-bottom:22px; margin-bottom:32px; border-bottom:1px solid var(--line); }
.archive-intro h1, .single-title, .page-title {font:700 clamp(36px,5vw,60px)/1.10 Georgia,serif; letter-spacing:-.048em; margin:10px 0 14px;}
.archive-intro p { color:var(--muted); font-size:15px; max-width:720px; margin:0; }
.archive-stories { margin-bottom: 28px; }
.pagination { display:flex; flex-wrap:wrap; align-items:center;gap:8px;margin-top:30px; }
.pagination .page-numbers { display:inline-grid;place-items:center;min-width:39px;height:39px;padding-inline:10px;border:1px solid var(--line);background:var(--paper);border-radius:10px;font-weight:800;font-size:12px; }
.pagination .page-numbers.current, .pagination .page-numbers:hover {background:#173e35;color:#fff;border-color:#173e35;}
.single-layout { display:grid; grid-template-columns:minmax(0,1fr) 292px;gap:54px;align-items:start; }
.article-main { min-width:0; }
.single-title { margin-top:12px; }
.single-summary { font: 18px/1.65 Georgia,serif; color:#3a6c57; padding:14px 19px; border-left:4px solid var(--accent); background:var(--paper); margin:20px 0; }
body.dark .single-summary { color:#bddbc8; }
.single-byline { display:flex;align-items:center;gap:12px; padding:16px 0; margin: 20px 0 23px; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.single-byline a { font-weight:900; font-size:13px; }
.single-byline a:hover { color:var(--accent); }
.single-byline .author-initials { width:45px;height:45px;flex-basis:45px; }
.single-byline small { display:block;color:var(--muted);font-size:11px;font-weight:750; }
.single-cover { margin: 0 0 30px; }
.single-cover img { width:100%;height:auto;display:block; border-radius:16px; }
.single-cover figcaption { font-size:11px;color:var(--muted);padding-top:8px;line-height:1.5; }
.article-content { font: 17px/1.92 Georgia,'Times New Roman',serif; color:var(--ink); overflow-wrap:anywhere; }
.article-content p { margin:0 0 21px; }
.article-content h2,.article-content h3,.article-content h4 {font-family:Georgia,serif;line-height:1.26;letter-spacing:-.02em;margin:31px 0 13px;}
.article-content h2 {font-size:30px;}.article-content h3{font-size:25px;}
.article-content a { color:#bf6146;text-decoration:underline;text-underline-offset:3px; }
.article-content a:hover {color:var(--brand);}
.article-content img {max-width:100%;height:auto;}
.article-content blockquote {border-left:3px solid var(--accent);margin:25px 0;padding:4px 0 4px 24px;color:var(--muted);font-style:italic;}
.article-content ul, .article-content ol { padding-left:26px; margin-bottom:22px; }
.article-content figure { max-width:100%; }
.article-content .wp-block-image figcaption { font:12px/1.6 system-ui,sans-serif;color:var(--muted); }
.article-content iframe { max-width:100%; }
.article-tags {border-top:1px solid var(--line);margin-top:30px;padding-top:20px;font-size:12px;color:var(--muted);}
.article-tags a {display:inline-block;margin:4px 5px 4px 0;background:var(--paper);border:1px solid var(--line);padding:5px 12px;border-radius:100px;font-weight:750;}
.article-tags a:hover {color:var(--accent);}
.related-stories { margin-top:55px; }
.related-stories .article-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.related-stories .story-image { height:165px; }
.related-stories .story h3 {font-size:20px;}
.page-content-panel {max-width:860px;margin:0 auto;background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:clamp(22px,5vw,52px);}
.page-content-panel .page-title { font-size:clamp(34px,4.8vw,52px); }
.page-content-panel .article-content { margin-top:28px; }
.sidebox a.trend-title { display:block; color:var(--ink); text-align:left; font-size:12px;line-height:1.5;font-weight:850;padding:0; }
.sidebox a.trend-title:hover { color:var(--accent); }
@media (max-width:950px) { .single-layout{grid-template-columns:1fr;} .article-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;} .article-side .sidebox{margin-bottom:0;} }
@media (max-width:600px) { .single-shell,.archive-shell {padding-top:30px;padding-bottom:40px;} .article-side{display:block;} .article-side .sidebox{margin-bottom:15px;} .single-title{font-size:clamp(34px,10vw,46px);} .article-content{font-size:16px;} .related-stories .article-grid{grid-template-columns:1fr;} .footer-grid .social-links .social-icon{width:43px;height:43px;} }
/* Match links to the original design's button typography, while using real URLs. */
.story h3 a:hover, .latest-text h3 a:hover { color: var(--accent); }
.author-card .read-btn { display: inline-block; font-size: 12px; }
.section-link:hover { color: var(--accent); }
.section-top .section-link .arrow { flex-shrink: 0; }
.feature.no-story .feature-click { pointer-events: auto; }
@media (min-width: 1050px) { .archive-stories { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 750px) { .archive-stories { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 520px) { .archive-stories { grid-template-columns: 1fr; } }
/* Never conceal a real published article to balance a two-column row. */
.article-grid .story:last-child:nth-child(odd) { display: flex; }


/* Kadence CHILD COMPATIBILITY — load after Kadence parent styles.
   These overrides remove the parent theme's generic heading/link styles
   without changing the uploaded HabariHub design. */
html { min-height: 100%; }
body { margin: 0; min-height: 100vh; background:var(--bg); color:var(--ink);
  font:15px/1.6 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif; }
body .site-shell { width:100%; min-height:100vh; min-height:100dvh; display:flex; flex-direction:column; background:var(--bg); color:var(--ink); }
body .site-shell > main { width:100%; flex:1 0 auto; }
body .site-shell > .site-footer { flex:0 0 auto; }
body .site-shell a { text-decoration:none; }
body .site-shell h1,body .site-shell h2,body .site-shell h3,
body .site-shell h4,body .site-shell h5,body .site-shell h6 { color:inherit; }
body .site-shell .masthead .brand-name { color:#17221f; }
body.dark .site-shell .masthead .brand-name { color:var(--ink); }
body .site-shell .footer-grid h4 { color:#fff; }
body .site-shell .site-footer { margin-top:75px; background:#0d2b23; color:#d8e6df; }
body .site-shell .footer-grid { max-width:none; padding-block:42px 31px;
  grid-template-columns:minmax(200px,1.55fr) minmax(130px,.72fr) minmax(180px,1fr);
  gap:clamp(22px,4vw,60px); }
body .site-shell .footer-grid .footer-wordmark { color:#fff; }
body .site-shell .footer-grid .footer-links a { color:#c8d9d0; }
body .site-shell .footer-grid .footer-links a:hover { color:#ffaf8a; }
body .site-shell .copyright { padding-block:16px; }
body .site-shell .search-overlay { margin:0; }
body .site-shell :is(button, input, select, textarea) { font:inherit; }
body .site-shell .story h3 a, body .site-shell .latest-text h3 a { color:var(--ink); }
body .site-shell .story h3 a:hover, body .site-shell .latest-text h3 a:hover { color:var(--accent); }
body .site-shell .archive-shell,body .site-shell .single-shell { max-width:1276px; }
body .site-shell img { max-width:100%; }
/* Keep the exact HTML's spacing on phone screens. */
@media (max-width:650px) {
  body .site-shell .footer-grid { grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:30px 20px; padding-block:36px 27px; }
  body .site-shell .footer-identity { grid-column:1 / -1; }
}
@media (max-width:370px) {
  body .site-shell .footer-grid { gap:24px 14px; }
}
/* Keep dark-mode controls and cards legible when the parent is Kadence. */
body.dark .site-shell { background:var(--bg); color:var(--ink); }
body.dark .site-shell .story h3 a, body.dark .site-shell .latest-text h3 a { color:var(--ink); }
body.dark .site-shell .story h3 a:hover, body.dark .site-shell .latest-text h3 a:hover { color:var(--accent); }


/* ================================================================
   HABARIHUB FOOTER REFINEMENT — KADENCE CHILD / OCTOBER 2026
   Only the footer is affected; page, hero and article styles stay put.
   Keeps the brand aligned with the first pixel of .wrap content.
   ================================================================ */
body .site-shell > .site-footer {
  margin-top: 58px;
  background: #0d2b23;
  color: #d8e6df;
}

/* Match the homepage content gutter; keep the columns compact. */
body .site-shell > .site-footer > .footer-grid.wrap {
  width: 100%;
  max-width: 1276px;
  margin-left: auto;
  margin-right: auto;
  padding: 29px 30px 23px;
  display: grid;
  grid-template-columns: minmax(0, 345px) minmax(0, 180px) minmax(0, 235px);
  column-gap: clamp(27px, 4vw, 53px);
  row-gap: 24px;
  justify-content: start;
  align-items: start;
}
body .site-shell > .site-footer .footer-identity {
  margin: 0;
  min-width: 0;
  text-align: left;
}
body .site-shell > .site-footer a.footer-brand-link {
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: flex-start;
  text-align: left;
}
body .site-shell > .site-footer .footer-wordmark {
  font-size: clamp(27px, 2.2vw, 32px);
  line-height: 1;
  color: #fff;
}
body .site-shell > .site-footer .footer-domain {
  font-size: 9px;
  margin-top: 4px;
}
body .site-shell > .site-footer .social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 9px;
  margin: 16px 0 0;
  padding: 0;
}

/* Hover works for configured links and visible placeholder icons. */
body .site-shell > .site-footer .footer-grid .social-links .social-icon {
  width: 39px;
  height: 39px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 39px;
  padding: 0;
  border: 1px solid #476157;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .045);
  opacity: 1;
  line-height: 1;
  transform: translateY(0);
  box-shadow: none;
  transition: background-color .2s ease, border-color .2s ease,
              color .2s ease, transform .2s ease, box-shadow .2s ease;
}
body .site-shell > .site-footer .footer-grid .social-links .social-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}
body .site-shell > .site-footer .footer-grid .social-links .social-icon:hover,
body .site-shell > .site-footer .footer-grid .social-links a.social-icon:focus-visible {
  color: #0b2921;
  background: #e46d4b;
  border-color: #e46d4b;
  transform: translateY(-3px);
  box-shadow: 0 7px 17px rgba(0, 0, 0, .23);
}
body .site-shell > .site-footer .footer-grid .social-links a.social-icon {
  cursor: pointer;
}
/* Placeholders react visually, but do not pretend to link anywhere. */
body .site-shell > .site-footer .footer-grid .social-links span.social-icon.is-unconfigured {
  cursor: default;
}
body .site-shell > .site-footer .footer-grid h4 {
  margin: 2px 0 10px;
  font-size: 11px;
  line-height: 1.5;
}
body .site-shell > .site-footer .footer-grid .footer-links a {
  display: block;
  width: fit-content;
  padding: 3px 0;
  font-size: 12px;
  line-height: 1.45;
}
body .site-shell > .site-footer .footer-grid .footer-links a:hover,
body .site-shell > .site-footer .footer-grid .footer-links a:focus-visible {
  color: #ffaf8a;
}
body .site-shell > .site-footer > .copyright.wrap {
  width: 100%;
  max-width: 1276px;
  margin-inline: auto;
  padding: 13px 30px;
  text-align: center;
  font-size: 11px;
}
@media (max-width: 1020px) {
  body .site-shell > .site-footer > .footer-grid.wrap { padding-inline: 23px; }
  body .site-shell > .site-footer > .copyright.wrap { padding-inline: 23px; }
}
@media (max-width: 750px) {
  body .site-shell > .site-footer > .footer-grid.wrap {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .7fr) minmax(0, .9fr);
    column-gap: 21px;
    padding-top: 26px;
    padding-bottom: 20px;
  }
}
@media (max-width: 650px) {
  body .site-shell > .site-footer > .footer-grid.wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 17px;
    row-gap: 22px;
    padding: 26px 17px 22px;
  }
  body .site-shell > .site-footer .footer-identity { grid-column: 1 / -1; }
  body .site-shell > .site-footer .footer-wordmark { font-size: 30px; }
  body .site-shell > .site-footer .social-links { margin-top: 14px; }
  body .site-shell > .site-footer > .copyright.wrap { padding: 13px 17px; }
}
@media (prefers-reduced-motion: reduce) {
  body .site-shell > .site-footer .social-links .social-icon { transition: none; }
}


/* HabariHub / Kadence Child — footer columns right alignment.
   Paste at the END of the existing style.css after earlier footer refinements.
   The brand stays left; Categories and Site Information align right. */
@media (min-width: 651px) {
  body .site-shell > .site-footer > .footer-grid.wrap {
    grid-template-columns: minmax(0, 1fr) minmax(0, 170px) minmax(0, 220px);
    justify-content: stretch;
    column-gap: clamp(25px, 3vw, 55px);
  }
  body .site-shell > .site-footer .footer-identity {
    justify-self: start;
    text-align: left;
  }
  body .site-shell > .site-footer .footer-links {
    justify-self: stretch;
    text-align: left;
  }
}

/* ======================================================================
   HABARIHUB — APPROVED ANIMATED CATEGORY PAGE (Kadence Child)
   Append ALL of this to the END of the CURRENT child theme style.css.
   Do not replace your full stylesheet: your homepage/footer rules stay intact.
   This only affects WordPress category pages.
   ====================================================================== */

/* Category-only, compact dark bar with navigation to the real categories. */
body.category .site-shell > header.hhac-category-header {
  width:100%; flex:0 0 auto; background:#fff; color:#17221f;
}
body.category .site-shell > header.hhac-category-header .hhac-announcement {
  background:#0d2923; color:#e7eee8; font-size:10px; font-weight:900;
  letter-spacing:.115em; border:0;
}
body.category .site-shell > header.hhac-category-header .hhac-bar-wrap {
  width:min(1180px,calc(100% - 58px)); max-width:1180px; padding:0;
  min-height:38px; margin:0 auto; display:flex;
  justify-content:space-between; align-items:center; gap:14px;
}
body.category .site-shell .hhac-announcement-text {font-size:10px;font-weight:900;letter-spacing:.115em;white-space:nowrap;}
body.category .site-shell .hhac-announcement-text b {color:#f39b77;}
body.category .site-shell .hhac-utilities {display:flex;align-items:center;gap:17px;}
body.category .site-shell .hhac-edition {font-size:9px;letter-spacing:.1em;font-weight:900;white-space:nowrap;color:#b3c7ba;}
body.category .site-shell .hhac-home-link {font-size:11px;font-weight:850;white-space:nowrap;color:#f7d6c8;}
body.category .site-shell .hhac-home-link:hover {color:#fff;}
body.category .site-shell .hhac-switcher {display:flex;align-items:center;gap:8px;}
body.category .site-shell .hhac-switcher label {font-size:9px;letter-spacing:.1em;font-weight:850;color:#b3c7ba;white-space:nowrap;}
body.category .site-shell .hhac-switcher select {
  -webkit-appearance:none; appearance:none; min-width:145px; max-width:190px;
  border:1px solid #496359; border-radius:6px;
  background:#1a3c31; color:#fff; font:850 11px/1.2 system-ui,sans-serif;
  padding:7px 29px 7px 10px;cursor:pointer;
  background-image:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="12" height="8"%3E%3Cpath fill="none" stroke="%23ffffff" stroke-linecap="round" stroke-width="1.5" d="m1 1 5 5 5-5"/%3E%3C/svg%3E');
  background-repeat:no-repeat;background-position:right 10px center;
}
body.category .site-shell .hhac-switcher select:focus-visible,
body.category .site-shell .hhac-home-link:focus-visible,
body.category .site-shell .hhac-brand:focus-visible {outline:3px solid #e46d4b;outline-offset:3px;}

/* The white masthead is taller, full-width, and centres BOTH brand and category. */
body.category .site-shell > header.hhac-category-header .masthead.hhac-masthead {
  position:relative;isolation:isolate;overflow:hidden;
  width:100%;background:#fff;border-bottom:1px solid #e6e9e4;
}
body.category .site-shell > header.hhac-category-header .hhac-masthead::before,
body.category .site-shell > header.hhac-category-header .hhac-masthead::after {
  content:"";position:absolute;width:365px;height:365px;
  border:1px solid #d8e8db;border-radius:50%;top:-285px;
  pointer-events:none;opacity:.52;z-index:-1;
}
body.category .site-shell > header.hhac-category-header .hhac-masthead::before {left:calc(50% - 565px);}
body.category .site-shell > header.hhac-category-header .hhac-masthead::after {right:calc(50% - 565px);border-color:#f1ddd5;}
body.category .site-shell > header.hhac-category-header .masthead .wrap.hhac-masthead-inner {
  width:min(1180px,calc(100% - 58px));max-width:1180px;
  min-height:296px;padding:39px 0 41px;margin:0 auto;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:0;text-align:center;
}
body.category .site-shell > header.hhac-category-header .masthead a.hhac-brand {
  display:inline-flex;align-items:center;gap:13px;margin:0 auto;
  text-align:left;transform-origin:center;
  animation:hhac-move-centre 850ms cubic-bezier(.16,.82,.2,1) both;
}
body.category .site-shell > header.hhac-category-header .masthead .brand-mark {
  width:54px;height:54px;flex:0 0 54px;border-radius:14px;
  background:#173e35;color:#fff;transform:rotate(-7deg);
  font:900 36px/1 Georgia,"Times New Roman",serif;
  box-shadow:0 4px 13px rgba(18,57,43,.09);
}
body.category .site-shell > header.hhac-category-header .masthead .brand-mark::after {
  content:"";top:6px;right:6px;width:8px;height:8px;background:#e46d4b;
}
body.category .site-shell > header.hhac-category-header .masthead .brand-name {
  color:#111e18;font-size:clamp(30px,3.4vw,43px);font-weight:950;
  letter-spacing:-.085em;line-height:.96;white-space:nowrap;
}
body.category .site-shell > header.hhac-category-header .masthead .brand-name span {color:#e46d4b;}
body.category .site-shell > header.hhac-category-header .masthead .brand-domain {
  display:block;text-align:right;font-size:9px;font-weight:900;
  color:#71837a;letter-spacing:.29em;margin-top:7px;
}
body.category .site-shell .hhac-category-label {
  margin:29px 0 0;font-size:10px;letter-spacing:.2em;color:#a95f47;
  text-transform:uppercase;font-weight:950;animation:hhac-fade-up 500ms 360ms both;
}
body.category .site-shell .hhac-category-name {
  color:#172e26;font:700 clamp(46px,6.5vw,77px)/1.04 Georgia,"Times New Roman",serif;
  letter-spacing:-.065em;margin:4px 0 10px;padding:0;
  animation:hhac-fade-up 630ms 460ms both;
}
body.category .site-shell .hhac-period {color:#e46d4b;}
body.category .site-shell .hhac-category-decor {
  width:70px;height:3px;border-radius:12px;
  background:linear-gradient(90deg,#e46d4b 0 55%,#e9d8be 55% 100%);
  display:block;margin:0 auto;animation:hhac-line-out 520ms 680ms both;
}
body.category .site-shell .hhac-category-subtitle {
  color:#687a70;font-size:13px;line-height:1.65;max-width:600px;
  margin:13px auto 0;animation:hhac-fade-up 550ms 730ms both;
}
@keyframes hhac-move-centre {
  from{opacity:.85;transform:translateX(clamp(-520px,-28vw,-90px)) scale(.97);}
  to{opacity:1;transform:translateX(0) scale(1);}
}
@keyframes hhac-fade-up {from{opacity:0;transform:translateY(14px);}to{opacity:1;transform:translateY(0);}}
@keyframes hhac-line-out {from{opacity:0;transform:scaleX(.15);}to{opacity:1;transform:scaleX(1);}}

/* An editorial LIST, not a homepage-style card grid. */
body.category .site-shell > main.hhac-archive-main {
  flex:1 0 auto;min-width:0;width:100%;display:block;
  color:#17221f;background:#f7f7f3;
}
body.category .site-shell .hhac-archive-wrap {
  width:min(1180px,calc(100% - 58px));max-width:1180px;
  margin:0 auto;padding:42px 0 72px;
}
body.category .site-shell .hhac-archive-top {
  display:flex;justify-content:space-between;align-items:flex-end;gap:20px;
  padding:0 0 18px;border-bottom:2px solid #173e35;
}
body.category .site-shell .hhac-archive-kicker {
  color:#b6664c;font-size:10px;font-weight:900;letter-spacing:.18em;
  text-transform:uppercase;display:flex;align-items:center;gap:9px;
}
body.category .site-shell .hhac-archive-kicker::before {content:"";width:22px;height:2px;background:currentColor;}
body.category .site-shell .hhac-archive-top h2 {
  margin:6px 0 0;padding:0;color:#17221f;
  font:700 clamp(24px,3vw,33px)/1.1 Georgia,"Times New Roman",serif;
  letter-spacing:-.046em;
}
body.category .site-shell .hhac-story-count {
  font-size:11px;color:#839088;font-weight:850;
  letter-spacing:.08em;text-transform:uppercase;white-space:nowrap;padding-bottom:3px;
}
body.category .site-shell .hhac-article-list {display:flex;flex-direction:column;min-width:0;}
body.category .site-shell .hhac-article {
  position:relative;display:grid;
  grid-template-columns:30px minmax(220px,285px) minmax(0,1fr) 39px;
  gap:22px;align-items:center;padding:23px 13px 23px 4px;min-width:0;
  border-bottom:1px solid #e0e7df;border-radius:12px;
  transition:background .25s,box-shadow .25s,transform .25s,border-color .25s;
  animation:hhac-article-enter 650ms both;
  animation-delay:calc(var(--hhac-i, 0) * 65ms + 120ms);
}
body.category .site-shell .hhac-article::before {
  content:"";position:absolute;left:-9px;top:29px;bottom:29px;
  width:3px;background:#e46d4b;border-radius:3px;opacity:0;
  transform:scaleY(.55);transition:opacity .25s,transform .25s;
}
body.category .site-shell .hhac-article:hover,
body.category .site-shell .hhac-article:focus-within {
  background:#fff;transform:translateY(-2px);
  box-shadow:0 16px 34px rgba(25,56,42,.06);border-color:transparent;
}
body.category .site-shell .hhac-article:hover::before,
body.category .site-shell .hhac-article:focus-within::before {opacity:1;transform:scaleY(1);}
body.category .site-shell .hhac-story-index {
  align-self:start;padding-top:14px;color:#b8c6bc;
  font:800 12px/1 Georgia,serif;
}
body.category .site-shell .hhac-thumbnail {
  display:block;position:relative;width:100%;height:174px;border-radius:11px;
  overflow:hidden;isolation:isolate;color:#fff;
  background:linear-gradient(125deg,#255d4b,#8eb49a);
}
body.category .site-shell .hhac-thumbnail::before {
  content:"";position:absolute;width:240px;height:240px;border:47px solid rgba(255,255,255,.12);
  border-radius:50%;right:-104px;top:-120px;transform:rotate(-12deg);
  transition:transform .55s;pointer-events:none;
}
body.category .site-shell .hhac-thumbnail::after {
  content:"";position:absolute;inset:0;
  background:linear-gradient(0deg,rgba(5,31,23,.3),transparent 70%);pointer-events:none;
}
body.category .site-shell .hhac-thumbnail.hhac-theme-sports {background:linear-gradient(132deg,#1b4c5c,#428375 58%,#a9c788);}
body.category .site-shell .hhac-thumbnail.hhac-theme-latest-stories {background:linear-gradient(132deg,#77574e,#b17e60 59%,#e4bf91);}
body.category .site-shell .hhac-thumbnail img {
  position:absolute;inset:0;width:100%;height:100%;max-width:none;
  object-fit:cover;display:block;z-index:1;
  transition:transform .55s cubic-bezier(.2,.8,.2,1);
}
body.category .site-shell .hhac-article:hover .hhac-thumbnail img,
body.category .site-shell .hhac-article:focus-within .hhac-thumbnail img {transform:scale(1.045);}
body.category .site-shell .hhac-article:hover .hhac-thumbnail::before {transform:rotate(-12deg) scale(1.2);}
body.category .site-shell .hhac-placeholder-label {
  position:absolute;left:16px;bottom:15px;z-index:1;
  color:#fff;font-size:25px;font-weight:950;letter-spacing:-.065em;line-height:1.05;
  text-transform:uppercase;opacity:.87;
}
body.category .site-shell .hhac-story-content {min-width:0;}
body.category .site-shell .hhac-story-metadata {
  display:flex;flex-wrap:wrap;align-items:center;gap:9px;color:#7e8981;
  text-transform:uppercase;font-size:10px;font-weight:850;letter-spacing:.075em;
}
body.category .site-shell .hhac-story-tag {
  background:#faece5;color:#a9543b;font-size:9px;font-weight:950;
  padding:4px 10px;border-radius:99px;
}
body.category .site-shell .hhac-meta-dot {width:3px;height:3px;border-radius:50%;background:#bcc6bd;}
body.category .site-shell .hhac-story-content h3 {
  color:#203b2e;margin:11px 0 9px;padding:0;
  font:700 clamp(22px,2.3vw,29px)/1.25 Georgia,"Times New Roman",serif;
  letter-spacing:-.037em;
}
body.category .site-shell .hhac-story-content h3 a {color:inherit;text-decoration:none;}
body.category .site-shell .hhac-story-content h3 a:hover {color:#b85b44;}
body.category .site-shell .hhac-story-summary {
  font-size:13px;line-height:1.68;color:#697a70;margin:0 0 14px;
  max-width:650px;
}
body.category .site-shell .hhac-byline {
  display:flex;align-items:center;gap:8px;font-size:11px;font-weight:750;color:#819087;
}
body.category .site-shell .hhac-author-badge {
  width:24px;height:24px;border-radius:50%;flex:0 0 24px;
  display:grid;place-items:center;background:#173e35;color:#fff;
  font-weight:950;font-size:8px;
}
body.category .site-shell .hhac-byline b {color:#34594a;}
body.category .site-shell .hhac-read-arrow {
  width:37px;height:37px;border:1px solid #d7e3da;background:#fff;color:#173e35;
  display:grid;place-items:center;border-radius:50%;font-size:18px;font-weight:600;
  justify-self:end;transition:transform .2s,color .2s,background .2s,border-color .2s;
}
body.category .site-shell .hhac-article:hover .hhac-read-arrow,
body.category .site-shell .hhac-read-arrow:hover {
  background:#173e35;color:#fff;border-color:#173e35;transform:translateX(3px);
}
@keyframes hhac-article-enter {from{opacity:0;transform:translateY(15px);}to{opacity:1;transform:translateY(0);}}
body.category .site-shell .hhac-pagination {
  display:flex;gap:9px;justify-content:center;align-items:center;flex-wrap:wrap;
  padding:34px 0 0;
}
body.category .site-shell .hhac-pagination .page-numbers {
  display:inline-flex;align-items:center;justify-content:center;min-height:41px;min-width:41px;
  padding:0 14px;border-radius:10px;border:1px solid #dce4dd;
  background:#fff;color:#2e5543;text-decoration:none;font-size:12px;font-weight:850;
}
body.category .site-shell .hhac-pagination .page-numbers.current,
body.category .site-shell .hhac-pagination .page-numbers:hover {background:#173e35;color:#fff;border-color:#173e35;}
body.category .site-shell .hhac-no-articles {
  margin:28px auto 0;padding:60px 25px;background:#fff;
  border:1px dashed #cadbd0;border-radius:15px;text-align:center;
}
body.category .site-shell .hhac-no-articles h2 {
  color:#183b2f;margin:0 0 10px;font:700 30px/1.15 Georgia,serif;
}
body.category .site-shell .hhac-no-articles p {color:#68776d;font-size:14px;margin:0;}

/* Keep the existing footer; only bring it against the archive cleanly. */
body.category .site-shell > .site-footer {margin-top:0;}

@media(max-width:1000px) {
  body.category .site-shell .hhac-article {grid-template-columns:24px 235px minmax(0,1fr) 36px;gap:17px;}
  body.category .site-shell .hhac-thumbnail {height:154px;}
  body.category .site-shell .hhac-story-content h3 {font-size:24px;}
}
@media(max-width:880px) {
  body.category .site-shell .hhac-edition,
  body.category .site-shell .hhac-switcher label {display:none;}
  body.category .site-shell .hhac-utilities {gap:9px;}
  body.category .site-shell .hhac-announcement-text {font-size:9px;letter-spacing:.075em;}
}
@media(max-width:700px) {
  body.category .site-shell > header.hhac-category-header .hhac-bar-wrap {width:calc(100% - 34px);min-height:42px;}
  body.category .site-shell .hhac-announcement-text {font-size:8px;}
  body.category .site-shell .hhac-utilities {gap:10px;}
  body.category .site-shell .hhac-switcher select {min-width:123px;font-size:10px;padding:6px 24px 6px 8px;}
  body.category .site-shell .hhac-home-link {font-size:10px;}
  body.category .site-shell > header.hhac-category-header .masthead .wrap.hhac-masthead-inner {width:calc(100% - 34px);min-height:260px;padding:36px 0 39px;}
  body.category .site-shell > header.hhac-category-header .masthead .brand-mark {width:46px;height:46px;flex-basis:46px;font-size:29px;border-radius:12px;}
  body.category .site-shell > header.hhac-category-header .masthead .brand-name {font-size:31px;}
  body.category .site-shell .hhac-category-label {margin-top:24px;}
  body.category .site-shell .hhac-category-name {font-size:58px;}
  body.category .site-shell .hhac-category-subtitle {font-size:12px;max-width:340px;}
  body.category .site-shell .hhac-archive-wrap {width:calc(100% - 34px);padding:30px 0 65px;}
  body.category .site-shell .hhac-archive-top h2 {font-size:25px;}
  body.category .site-shell .hhac-article {
    grid-template-columns:136px minmax(0,1fr);gap:13px;align-items:start;
    padding:17px 0;border-radius:5px;
  }
  body.category .site-shell .hhac-story-index,
  body.category .site-shell .hhac-read-arrow {display:none;}
  body.category .site-shell .hhac-thumbnail {height:123px;border-radius:9px;}
  body.category .site-shell .hhac-placeholder-label {font-size:18px;left:10px;bottom:12px;}
  body.category .site-shell .hhac-story-metadata {font-size:8px;gap:6px;}
  body.category .site-shell .hhac-story-tag {font-size:8px;padding:3px 6px;}
  body.category .site-shell .hhac-story-content h3 {font-size:18px;line-height:1.23;margin:8px 0 8px;}
  body.category .site-shell .hhac-story-summary {display:none;}
  body.category .site-shell .hhac-byline {gap:5px;font-size:9px;}
  body.category .site-shell .hhac-author-badge {width:20px;height:20px;flex-basis:20px;font-size:7px;}
}
@media(max-width:400px) {
  body.category .site-shell .hhac-announcement-text {font-size:7px;letter-spacing:.06em;}
  body.category .site-shell .hhac-switcher select {min-width:105px;max-width:120px;}
  body.category .site-shell .hhac-home-link {display:none;}
  body.category .site-shell > header.hhac-category-header .masthead a.hhac-brand {gap:9px;}
  body.category .site-shell > header.hhac-category-header .masthead .brand-name {font-size:28px;}
  body.category .site-shell > header.hhac-category-header .masthead .brand-mark {width:43px;height:43px;flex-basis:43px;}
  body.category .site-shell .hhac-category-name {font-size:48px;}
  body.category .site-shell .hhac-article {grid-template-columns:113px minmax(0,1fr);gap:12px;}
  body.category .site-shell .hhac-thumbnail {height:113px;}
  body.category .site-shell .hhac-story-content h3 {font-size:17px;}
  body.category .site-shell .hhac-minutes {display:none;}
}
@media(prefers-reduced-motion:reduce) {
  body.category .site-shell > header.hhac-category-header .masthead a.hhac-brand,
  body.category .site-shell .hhac-category-label,
  body.category .site-shell .hhac-category-name,
  body.category .site-shell .hhac-category-decor,
  body.category .site-shell .hhac-category-subtitle,
  body.category .site-shell .hhac-article {animation:none!important;}
  body.category .site-shell .hhac-article,
  body.category .site-shell .hhac-thumbnail img,
  body.category .site-shell .hhac-read-arrow {transition:none!important;}
}

/* ================================================================
   HABARIHUB — APPROVED SINGLE NEWS ARTICLE DESIGN
   Append this CSS to the END of your ACTIVE Kadence Child style.css.
   Scope: posts only. Homepage, category archives, footer unchanged.
   ================================================================ */
body.single-post .site-shell .hharticle-header { background: #fff; }
body.single-post .site-shell .hharticle-header .hharticle-masthead {
  background: #fff;
  border-bottom: 0;
}
body.single-post .site-shell .hharticle-header .hharticle-masthead-inner {
  width: 100%; max-width: 1276px; min-height: 172px;
  margin: 0 auto; padding: 28px 30px 22px;
  display: flex; flex-direction: column; justify-content: center;
  align-items: center; gap: 13px; text-align: center;
}
body.single-post .site-shell .hharticle-logo {
  margin: 0; display: inline-flex; align-items: center; gap: 14px;
  transform-origin: center;
  animation: hhSingleLogo .83s cubic-bezier(.19,.86,.21,1) both;
}
body.single-post .site-shell .hharticle-logo .brand-mark {
  width: 52px; height: 52px; border-radius: 14px; font-size: 34px;
  transform: rotate(-7deg);
}
body.single-post .site-shell .hharticle-logo .brand-name {
  font-size: clamp(31px,3.5vw,44px); color: #17221f;
}
body.single-post .site-shell .hharticle-tagline {
  margin: 0; color: #76867c; font: italic 15px/1.45 Georgia,serif;
  animation: hhSingleFade .8s .25s both;
}
body.single-post .site-shell .hharticle-nav {
  background: #fff; border-bottom: 1px solid #e5ebe5;
}
body.single-post .site-shell .hharticle-nav-inner {
  min-height: 68px; display: flex; gap: 13px; align-items: center;
  justify-content: center;
}
body.single-post .site-shell .hharticle-navbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border-radius: 999px; border: 1px solid #d9e4da;
  background: #fff; color: #254738; padding: 11px 24px; min-width: 122px;
  font: 850 12px/1.4 system-ui,-apple-system,"Segoe UI",sans-serif;
  transition: background .22s,border-color .22s,color .22s,transform .22s,box-shadow .22s;
  animation: hhSingleFade .65s .45s both;
}
body.single-post .site-shell .hharticle-navbtn-back {
  border-color: #173e35; background: #173e35; color: #fff;
}
body.single-post .site-shell .hharticle-navbtn span { font-size: 18px; line-height: 1; }
body.single-post .site-shell .hharticle-navbtn:is(:hover,:focus-visible) {
  color: #fff; background: #e46d4b; border-color: #e46d4b;
  transform: translateY(-2px); box-shadow: 0 8px 16px rgba(170,92,60,.16);
}
body.single-post .site-shell > .hharticle-main {
  display: block; flex: 1 0 auto; width: 100%; min-width: 0;
  color: #172b21; background: #f7f7f3;
}
body.single-post .site-shell .hharticle-story { min-width: 0; margin: 0; }
body.single-post .site-shell .hharticle-heading-wrap {
  background: radial-gradient(ellipse 48% 200px at 50% 100px,rgba(225,238,226,.78),transparent 95%);
}
body.single-post .site-shell .hharticle-head {
  margin: 0 auto; max-width: 1030px; padding: 48px 0 33px; text-align: center;
}
body.single-post .site-shell .hharticle-category {
  display: inline-flex; justify-content: center; align-items: center;
  color: #bd6046; font: 900 11px/1.4 system-ui,sans-serif;
  letter-spacing: .17em; text-transform: uppercase;
  animation: hhSingleFade .72s .19s both;
}
body.single-post .site-shell .hharticle-category:hover { color: #173e35; }
body.single-post .site-shell .hharticle-title {
  color: #193327; max-width: 1020px; margin: 17px auto 23px; padding: 0;
  font: 700 clamp(39px,5.2vw,72px)/1.09 Georgia,"Times New Roman",serif;
  letter-spacing: -.052em; text-wrap: balance; overflow-wrap: anywhere;
  animation: hhSingleTitle 1s .30s cubic-bezier(.16,.87,.21,1) both;
}
body.single-post .site-shell .hharticle-title::after {
  content: ""; display: block; width: 84px; height: 3px;
  border-radius: 6px; margin: 23px auto 0; background: #e46d4b;
  animation: hhSingleRule .65s 1s both;
}
body.single-post .site-shell .hharticle-summary {
  position: relative; isolation: isolate; overflow: hidden; max-width: 840px;
  margin: 0 auto 25px; padding: 23px 29px;
  background: linear-gradient(110deg,#e6f0e8 0%,#f2f7ef 60%,#e9f1e8 100%);
  border: 1px solid #d9e7db; border-radius: 14px;
  color: #28523e; text-align: center;
  font: 500 clamp(16px,1.6vw,19px)/1.65 system-ui,-apple-system,"Segoe UI",sans-serif;
  box-shadow: 0 13px 31px rgba(27,69,46,.055);
  animation: hhSingleSummary .86s .62s cubic-bezier(.19,.75,.25,1) both;
}
body.single-post .site-shell .hharticle-summary::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: #e46d4b;
}
body.single-post .site-shell .hharticle-summary::after {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: linear-gradient(105deg,transparent 27%,rgba(255,255,255,.45) 50%,transparent 72%);
  animation: hhSingleShine 1.1s 1.32s both; pointer-events: none;
}
body.single-post .site-shell .hharticle-author {
  display: flex; justify-content: center; align-items: center; gap: 11px;
  text-align: left; padding: 0; margin: 0 auto;
  animation: hhSingleFade .70s .95s both;
}
body.single-post .site-shell .hharticle-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: 0 0 42px;
  display: grid; place-items: center;
  background: #245646; color: #fff; font: 900 12px/1 system-ui,sans-serif;
}
body.single-post .site-shell .hharticle-author-name {
  color: #234a37; font: 900 13px/1.3 system-ui,sans-serif;
}
body.single-post .site-shell .hharticle-author-name:hover { color: #bd6046; }
body.single-post .site-shell .hharticle-date {
  color: #75877a; font: 650 11px/1.6 system-ui,sans-serif;
  display: flex; gap: 7px; flex-wrap: wrap;
}
body.single-post .site-shell .hharticle-cover {
  max-width: 1160px; margin: 0 auto; padding-top: 2px;
  animation: hhSingleFade 1s 1.10s both;
}
body.single-post .site-shell .hharticle-cover-image {
  display: block; width: 100%; height: auto;
  aspect-ratio: 2.05; object-fit: cover; border-radius: 16px;
  background: #e0e9e3;
}
body.single-post .site-shell .hharticle-cover figcaption {
  color: #738177; padding: 11px 2px 0; text-align: left;
  font: 500 11px/1.65 system-ui,sans-serif;
}
body.single-post .site-shell .hharticle-content-grid {
  width: 100%; max-width: 1160px; min-width: 0;
  display: grid; grid-template-columns: minmax(0,730px) minmax(240px,300px);
  justify-content: space-between; gap: clamp(30px,5vw,74px);
  align-items: start; padding-top: 54px; padding-bottom: 60px;
}
body.single-post .site-shell .hharticle-primary { min-width: 0; }
body.single-post .site-shell .hharticle-copy {
  font: 18px/1.86 Georgia,"Times New Roman",serif; color: #253a2d;
  overflow-wrap: break-word;
}
body.single-post .site-shell .hharticle-copy p { margin: 0 0 24px; }
body.single-post .site-shell .hharticle-copy h2,
body.single-post .site-shell .hharticle-copy h3 {
  color: #1e3a2d; font-family: Georgia,"Times New Roman",serif;
  letter-spacing: -.035em; line-height: 1.19;
}
body.single-post .site-shell .hharticle-copy h2 { font-size: clamp(27px,3vw,34px); margin: 40px 0 16px; }
body.single-post .site-shell .hharticle-copy h3 { font-size: 25px; margin: 32px 0 13px; }
body.single-post .site-shell .hharticle-copy a { color: #b0553b; text-decoration: underline; text-underline-offset: 3px; }
body.single-post .site-shell .hharticle-copy a:hover { color: #173e35; }
body.single-post .site-shell .hharticle-copy :is(img,video,iframe) { max-width: 100%; }
body.single-post .site-shell .hharticle-copy blockquote {
  border-left: 4px solid #e46d4b; margin: 31px 0; padding: 12px 0 12px 25px;
  font-style: italic; color: #42634f;
}
body.single-post .site-shell .hharticle-tags {
  border-top: 1px solid #dce5dd; margin-top: 35px; padding-top: 22px;
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  font: 700 12px/1.6 system-ui,sans-serif;
}
body.single-post .site-shell .hharticle-tags a {
  display: inline-flex; border: 1px solid #d8e2d9; background: #fff;
  border-radius: 30px; padding: 6px 12px; color: #335b46;
}
body.single-post .site-shell .hharticle-tags a:hover { color: #fff; background: #173e35; }
body.single-post .site-shell .hharticle-content-grid .article-side { min-width: 0; }
body.single-post .site-shell .hharticle-related {
  border-top: 1px solid #e1e8df; background: #edf2ed; padding: 46px 0 64px;
}
body.single-post .site-shell .hharticle-related-heading {
  display: flex; justify-content: space-between; align-items: end;
  gap: 16px; margin-bottom: 24px;
}
body.single-post .site-shell .hharticle-related-heading h2 {
  margin: 7px 0 0; color: #193528;
  font: 700 clamp(28px,3.1vw,36px)/1.12 Georgia,serif;
  letter-spacing: -.04em;
}
body.single-post .site-shell .hharticle-related-heading > a {
  color: #265441; font: 850 12px system-ui,sans-serif; white-space: nowrap;
}
body.single-post .site-shell .hharticle-related-heading > a:hover { color: #b15e43; }
body.single-post .site-shell .hharticle-related-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
/* Entrance motion intentionally finishes quickly and respects reduced motion. */
@keyframes hhSingleLogo { from {opacity:0;transform:translateX(-55px) scale(.96);} to {opacity:1;transform:translateX(0) scale(1);} }
@keyframes hhSingleTitle { from {opacity:0;filter:blur(5px);transform:translateY(28px);} to {opacity:1;filter:blur(0);transform:translateY(0);} }
@keyframes hhSingleSummary { from {opacity:0;transform:translateY(22px) scale(.985);} to {opacity:1;transform:translateY(0) scale(1);} }
@keyframes hhSingleFade { from {opacity:0;transform:translateY(12px);} to {opacity:1;transform:translateY(0);} }
@keyframes hhSingleRule { from {opacity:0;transform:scaleX(0);} to {opacity:1;transform:scaleX(1);} }
@keyframes hhSingleShine { from {transform:translateX(-120%);} to {transform:translateX(120%);} }
@media (max-width:960px) {
  body.single-post .site-shell .hharticle-content-grid { grid-template-columns:minmax(0,1fr); gap:35px; }
  body.single-post .site-shell .hharticle-content-grid .article-side { position:static; }
  body.single-post .site-shell .hharticle-related-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:650px) {
  body.single-post .site-shell .hharticle-header .hharticle-masthead-inner { min-height:146px; padding:20px 17px 15px; gap:10px; }
  body.single-post .site-shell .hharticle-logo .brand-mark { width:43px;height:43px;font-size:27px; }
  body.single-post .site-shell .hharticle-logo .brand-name { font-size:29px; }
  body.single-post .site-shell .hharticle-tagline { font-size:13px; }
  body.single-post .site-shell .hharticle-nav-inner { min-height:60px; }
  body.single-post .site-shell .hharticle-navbtn { min-width:111px; padding:9px 16px; font-size:11px; }
  body.single-post .site-shell .hharticle-head { padding:34px 0 28px; }
  body.single-post .site-shell .hharticle-title { font-size:clamp(35px,9vw,49px);margin:14px auto 20px; }
  body.single-post .site-shell .hharticle-title::after { margin:19px auto 0; }
  body.single-post .site-shell .hharticle-summary { padding:17px 18px;margin-bottom:21px; font-size:15px; }
  body.single-post .site-shell .hharticle-cover-image { aspect-ratio:1.55; border-radius:11px; }
  body.single-post .site-shell .hharticle-content-grid { padding-top:34px;padding-bottom:42px; }
  body.single-post .site-shell .hharticle-copy { font-size:16px;line-height:1.82; }
  body.single-post .site-shell .hharticle-related { padding:39px 0 50px; }
  body.single-post .site-shell .hharticle-related-grid { grid-template-columns:1fr; }
}
@media (prefers-reduced-motion:reduce) {
  body.single-post .site-shell :is(.hharticle-logo,.hharticle-tagline,.hharticle-navbtn,.hharticle-category,.hharticle-title,.hharticle-summary,.hharticle-author,.hharticle-cover),
  body.single-post .site-shell .hharticle-title::after,
  body.single-post .site-shell .hharticle-summary::after {
    animation:none!important; filter:none!important; transform:none!important;
  }
  body.single-post .site-shell .hharticle-navbtn {transition:none!important;}
}
@media print {
  body.single-post .site-shell .hharticle-nav,body.single-post .site-shell .hharticle-content-grid .article-side,body.single-post .site-shell .hharticle-related {display:none!important;}
  body.single-post .site-shell .hharticle-content-grid {display:block;max-width:100%;}
  body.single-post .site-shell .hharticle-copy {font-size:12pt;}
  body.single-post .site-shell .hharticle-title {font-size:32pt;}
}

/* ================================================================
   HABARIHUB — ARTICLE NEWS SIDEBAR (Kadence Child)
   Paste at the very END of the active style.css file.
   Changes only individual WordPress news posts, not homepage/categories.
   ================================================================ */

body.single-post .site-shell .hharticle-content-grid {
  grid-template-columns: minmax(0, 730px) minmax(265px, 310px);
  column-gap: clamp(30px, 4.8vw, 74px);
  align-items: start;
}

body.single-post .site-shell .hharticle-news-rail {
  min-width: 0;
  width: 100%;
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  animation: hhrailEnter .7s .15s both;
}

body.single-post .site-shell .hhrail-card {
  background: #fff;
  border: 1px solid #e1e9e1;
  border-radius: 15px;
  padding: 24px 23px;
  box-shadow: 0 9px 30px rgba(12, 50, 34, .035);
  color: #20372d;
}

body.single-post .site-shell .hhrail-facts-card {
  border-top: 3px solid #1d4c3d;
  background: linear-gradient(160deg, #fff 0%, #fff 73%, #f8fbf7 100%);
}

body.single-post .site-shell .hhrail-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #b35b43;
  font: 900 9px/1.5 system-ui, sans-serif;
  letter-spacing: .17em;
  text-transform: uppercase;
}

body.single-post .site-shell .hhrail-kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e46d4b;
}

body.single-post .site-shell .hhrail-card h2 {
  margin: 10px 0 19px;
  color: #19382a;
  font: 700 26px/1.12 Georgia, 'Times New Roman', serif;
  letter-spacing: -.035em;
}

body.single-post .site-shell .hhrail-heading-mark { color: #e46d4b; }

body.single-post .site-shell .hhrail-facts {
  padding: 0;
  margin: 0;
}

body.single-post .site-shell .hhrail-facts > div {
  display: grid;
  grid-template-columns: minmax(94px, .93fr) minmax(0, 1.35fr);
  gap: 9px;
  padding: 12px 0;
  border-top: 1px solid #e9eee7;
}

body.single-post .site-shell .hhrail-facts dt {
  color: #75877a;
  font-size: 11px;
  font-weight: 800;
}

body.single-post .site-shell .hhrail-facts dd {
  margin: 0;
  color: #244737;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

body.single-post .site-shell .hhrail-facts dd a:hover { color: #d15e40; }

body.single-post .site-shell .hhrail-headline-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

body.single-post .site-shell .hhrail-headline-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 11px;
  border-top: 1px solid #e9eee7;
  padding: 15px 0;
}

body.single-post .site-shell .hhrail-number {
  color: #c77b5e;
  font: 700 22px/1 Georgia, serif;
}

body.single-post .site-shell .hhrail-headline-body a {
  display: block;
  color: #203c2c;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.48;
  transition: color .2s ease;
}

body.single-post .site-shell .hhrail-headline-body a:hover {
  color: #bf674b;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.single-post .site-shell .hhrail-headline-body time {
  display: block;
  margin-top: 7px;
  color: #829186;
  font-size: 10px;
  font-weight: 700;
}

body.single-post .site-shell .hhrail-more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 900;
  color: #23513d;
}

body.single-post .site-shell .hhrail-more-link:hover { color: #be6349; }

body.single-post .site-shell .hhrail-desk-nav {
  display: grid;
  gap: 8px;
}

body.single-post .site-shell .hhrail-desk-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 13px;
  background: #f5f8f4;
  border: 1px solid #e4ebe1;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 800;
  color: #1f4837;
  transition: background .2s, color .2s, transform .2s;
}

body.single-post .site-shell .hhrail-desk-nav a:is(:hover, :focus-visible) {
  background: #173e35;
  color: white;
  transform: translateX(2px);
}

body.single-post .site-shell .hhrail-share {
  margin-top: 23px;
  padding-top: 18px;
  border-top: 1px solid #e9eee7;
}

body.single-post .site-shell .hhrail-share > span {
  display: block;
  color: #839085;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .13em;
  margin-bottom: 10px;
}

body.single-post .site-shell .hhrail-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

body.single-post .site-shell .hhrail-share-actions a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #dce7df;
  border-radius: 999px;
  padding: 8px 12px;
  color: #275342;
  background: #fff;
  font-size: 10px;
  font-weight: 850;
  transition: color .2s, background .2s, border-color .2s;
}

body.single-post .site-shell .hhrail-share-actions a:is(:hover,:focus-visible) {
  background: #e46d4b;
  border-color: #e46d4b;
  color: #fff;
}

@keyframes hhrailEnter {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 960px) {
  body.single-post .site-shell .hharticle-content-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 31px;
  }
  body.single-post .site-shell .hharticle-news-rail {
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 15px;
  }
  body.single-post .site-shell .hhrail-explore-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 650px) {
  body.single-post .site-shell .hharticle-news-rail {
    grid-template-columns: minmax(0,1fr);
    gap: 14px;
  }
  body.single-post .site-shell .hhrail-explore-card {
    grid-column: auto;
  }
  body.single-post .site-shell .hhrail-card {
    padding: 22px 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.single-post .site-shell .hharticle-news-rail { animation: none; }
  body.single-post .site-shell .hhrail-desk-nav a,
  body.single-post .site-shell .hhrail-share-actions a { transition: none; }
}

@media print {
  body.single-post .site-shell .hharticle-news-rail { display: none !important; }
}

/* ============================================================
   HABARIHUB — AMBER NEWS SUMMARY (single article pages only)
   Styles the FIRST paragraph of the article body, under the
   featured image. No extra summary field or label is needed.
   ============================================================ */

body.single-post .site-shell .hharticle-copy > p:first-of-type {
  background: linear-gradient(110deg, #fff5df 0%, #fffaf0 100%);
  color: #95580b; /* readable, rich amber */
  border-left: 5px solid #d99122;
  border-radius: 0 14px 14px 0;
  box-shadow: 0 10px 28px rgba(147, 96, 17, 0.08);
  padding: 25px 30px;
  margin: 2px 0 36px;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  font-size: clamp(19px, 1.9vw, 23px);
  font-weight: 600;
  font-style: normal;
  line-height: 1.65;
  letter-spacing: -0.012em;
  animation: hhAmberSummaryIn 0.7s ease-out both;
}

body.single-post .site-shell .hharticle-copy > p:first-of-type strong,
body.single-post .site-shell .hharticle-copy > p:first-of-type b {
  color: #794302;
  font-weight: 800;
}

body.single-post .site-shell .hharticle-copy > p:first-of-type a {
  color: #805004;
  text-decoration-color: #d99122;
}

@keyframes hhAmberSummaryIn {
  from { opacity: 0; transform: translateY(13px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 650px) {
  body.single-post .site-shell .hharticle-copy > p:first-of-type {
    padding: 19px 20px;
    margin-bottom: 27px;
    font-size: 18px;
    line-height: 1.6;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.single-post .site-shell .hharticle-copy > p:first-of-type {
    animation: none;
  }
}


/* ============================================================
   HABARIHUB / FOOTER INFORMATION PAGES
   Templates: page-about-us, page-contact-us, page-disclaimer,
   page-privacy-policy, page-terms-and-conditions
   Uses the original HabariHub green / coral / warm-white palette.
   ============================================================ */
.hhinfo {background:var(--bg, #f7f7f3); color:var(--ink, #17221f);}
.hhinfo-wrap {padding-top:30px;padding-bottom:76px;}
.hhinfo-breadcrumb{display:flex;align-items:center;gap:11px;font-size:12px;font-weight:750;color:var(--muted,#67736e);margin-bottom:24px;}
.hhinfo-breadcrumb a:hover{color:var(--accent,#e46d4b);}
.hhinfo-breadcrumb span:last-child{color:var(--ink,#17221f);}
.hhinfo-hero{border-radius:22px;padding:clamp(30px,5.3vw,70px);position:relative;overflow:hidden;background:#fff;border:1px solid var(--line,#e3e7e1);box-shadow:0 20px 60px rgba(11,43,33,.045);}
.hhinfo-hero-about{display:flex;align-items:center;justify-content:space-between;gap:30px;min-height:300px;}
.hhinfo-hero-simple{background:linear-gradient(125deg,#ffffff 0%,#ffffff 70%,#eff4ee 100%);}
.hhinfo-hero-copy{max-width:780px;position:relative;z-index:1;}
.hhinfo-eyebrow,.hhinfo-label{display:inline-flex;align-items:center;gap:10px;color:#c46145;letter-spacing:.15em;font-size:11px;font-weight:900;text-transform:uppercase;}
.hhinfo-eyebrow i{display:block;width:26px;height:2px;background:var(--accent,#e46d4b);}
.hhinfo-hero h1{font:700 clamp(42px,6.4vw,78px)/1.02 Georgia,'Times New Roman',serif;letter-spacing:-.065em;margin:19px 0 18px;}
.hhinfo-hero h1 em{color:#bd795e;font-style:italic;font-weight:500;}
.hhinfo-hero p{color:var(--muted,#67736e);font-size:clamp(15px,1.5vw,18px);line-height:1.8;max-width:650px;margin:0;}
.hhinfo-hero-mark{font:900 clamp(130px,19vw,275px)/.8 Georgia,serif;color:rgba(23,62,53,.065);letter-spacing:-.10em;white-space:nowrap;}
.hhinfo-hero-mark span{color:rgba(228,109,75,.15);}
.hhinfo-page-nav{display:flex;gap:9px;flex-wrap:wrap;margin:21px 0 32px;}
.hhinfo-page-nav a{background:#fff;border:1px solid var(--line,#e3e7e1);border-radius:999px;font-size:12px;font-weight:800;color:#41534b;padding:10px 17px;transition:background .2s,color .2s,border-color .2s;}
.hhinfo-page-nav a:hover{border-color:#e46d4b;color:#ba5338;}
.hhinfo-page-nav a[aria-current="page"]{background:#173e35;border-color:#173e35;color:#fff;}
.hhinfo-intro-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(230px,1fr);gap:22px;}
.hhinfo-panel{background:#fff;border:1px solid var(--line,#e3e7e1);border-radius:18px;padding:clamp(23px,3.5vw,43px);}
.hhinfo h2{font:700 clamp(28px,3vw,40px)/1.17 Georgia,serif;letter-spacing:-.04em;color:#17221f;margin:13px 0 18px;}
.hhinfo-panel p,.hhinfo-legal-section p,.hhinfo-contact-head p{font-size:15px;line-height:1.9;color:#53635b;margin:0 0 15px;}
.hhinfo-panel p:last-child{margin-bottom:0;}
.hhinfo-quote-card{background:linear-gradient(125deg,#173e35,#0d2923);color:white;border-radius:18px;padding:clamp(25px,3.3vw,43px);display:flex;flex-direction:column;justify-content:center;}
.hhinfo-quote-mark{color:#f4a688;font:80px/.8 Georgia,serif;}
.hhinfo-quote-card blockquote{font:italic 26px/1.42 Georgia,serif;letter-spacing:-.025em;margin:14px 0 22px;}
.hhinfo-quote-card>span:last-child{font-size:10px;letter-spacing:.12em;font-weight:900;color:#c9e0d6;}
.hhinfo-section{margin-top:55px;}
.hhinfo-section-heading{margin-bottom:23px;}
.hhinfo-section-heading h2{margin:10px 0 0;}
.hhinfo-period{color:var(--accent,#e46d4b);}
.hhinfo-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;}
.hhinfo-desk-card{background:#fff;border:1px solid var(--line,#e3e7e1);padding:26px;border-radius:17px;display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s;}
.hhinfo-desk-card:hover{transform:translateY(-4px);box-shadow:0 15px 35px rgba(13,41,35,.08);}
.hhinfo-desk-card>span{font-size:10px;font-weight:900;letter-spacing:.14em;color:#c46145;}
.hhinfo-desk-card h3{font:700 24px/1.25 Georgia,serif;letter-spacing:-.035em;margin:15px 0 10px;}
.hhinfo-desk-card p{color:#657169;font-size:13px;line-height:1.75;margin:0 0 23px;}
.hhinfo-desk-card b{margin-top:auto;font-size:12px;color:#173e35;}
.hhinfo-principle-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;}
.hhinfo-principle-grid>div{padding:20px 0;border-top:3px solid #e46d4b;}
.hhinfo-principle-grid strong{font:700 22px/1.2 Georgia,serif;}
.hhinfo-principle-grid p{font-size:13px;line-height:1.8;color:#617067;}
.hhinfo-editor{background:#fff;border:1px solid var(--line,#e3e7e1);border-radius:17px;padding:clamp(20px,4vw,43px);overflow-wrap:anywhere;}
.hhinfo-editor p{font-size:15px;line-height:1.9;color:#53635b;}
.hhinfo-editor a,.hhinfo-legal-section a,.hhinfo-privacy-note a{color:#b65438;text-decoration:underline;text-underline-offset:3px;}
.hhinfo-cta{background:#173e35;color:#fff;border-radius:20px;padding:clamp(25px,4vw,46px);margin-top:55px;display:flex;gap:30px;align-items:center;justify-content:space-between;}
.hhinfo-cta .hhinfo-label{color:#ffad90;}
.hhinfo-cta h2{color:#fff;margin:9px 0 9px;}
.hhinfo-cta p{color:#dce9e0;margin:0;}
.hhinfo-btn{display:inline-flex;align-items:center;justify-content:center;background:#e46d4b;color:white!important;text-decoration:none!important;font-size:13px;font-weight:900;white-space:nowrap;padding:14px 21px;border-radius:100px;transition:background .2s;}
.hhinfo-btn:hover{background:#c85738;}
.hhinfo-btn-small{font-size:12px;padding:11px 16px;}
.hhinfo-contact-head{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(230px,1fr);gap:28px;align-items:start;padding:20px 0 25px;}
.hhinfo-contact-head h2{margin-top:10px;}
.hhinfo-contact-head p{max-width:650px;}
.hhinfo-contact-aside{border-left:3px solid #e46d4b;padding:7px 0 7px 23px;}
.hhinfo-contact-aside ul{padding-left:20px;color:#53635b;line-height:2;font-size:14px;margin:10px 0 0;}
.hhinfo-form-section{background:#fff;border:1px solid var(--line,#e3e7e1);border-radius:20px;padding:clamp(13px,3vw,30px);max-width:880px;margin:10px auto 0;}
.hhinfo-form-heading{text-align:center;border-bottom:1px solid #ecede7;padding:12px 0 19px;margin-bottom:13px;}
.hhinfo-form-heading p,.hhinfo-form-fallback{color:#78857d;font-size:12px;}
.hhinfo-google-form{width:100%;max-width:760px;margin:auto;overflow:hidden;}
.hhinfo-form-fallback a{color:#b65438;text-decoration:underline;}
.hhinfo-contact-editor{margin-bottom:20px;}
.hhinfo-privacy-note{color:#6b776f;font-size:12px;text-align:center;line-height:1.8;margin:24px auto 0;max-width:780px;}
.hhinfo-legal-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:28px;align-items:start;}
.hhinfo-legal-content{background:#fff;border:1px solid var(--line,#e3e7e1);border-radius:18px;padding:clamp(24px,4vw,50px);min-width:0;}
.hhinfo-legal-section{padding:0 0 28px;margin:0 0 31px;border-bottom:1px solid var(--line,#e3e7e1);scroll-margin-top:25px;}
.hhinfo-legal-section:last-of-type{padding-bottom:0;margin-bottom:0;border:0;}
.hhinfo-legal-section h2{font-size:clamp(24px,2.8vw,31px);margin:10px 0 15px;}
.hhinfo-legal-section p{margin-bottom:12px;}
.hhinfo-legal-side{display:flex;flex-direction:column;gap:18px;}
.hhinfo-side-card{background:#173e35;border-radius:17px;padding:26px;color:#fff;}
.hhinfo-side-card h3{font:700 26px/1.15 Georgia,serif;margin:15px 0;}
.hhinfo-side-card p{font-size:13px;line-height:1.75;color:#cfddd5;margin-bottom:24px;}
.hhinfo-side-card .hhinfo-label{color:#ffad90;}
.hhinfo-toc{border:1px solid var(--line,#e3e7e1);border-radius:16px;background:#fff;padding:23px;display:flex;flex-direction:column;gap:13px;}
.hhinfo-toc a{font-size:12px;color:#43554b;font-weight:750;line-height:1.5;}
.hhinfo-toc a:hover{color:#c46145;}
.hhinfo-legal-note{border-left:3px solid #d99122;background:#fff8ec;padding:15px 19px;color:#815e28;font-size:12px;line-height:1.7;border-radius:0 8px 8px 0;margin-top:30px;}
@media(max-width:960px){.hhinfo-intro-grid,.hhinfo-legal-layout{grid-template-columns:1fr;}.hhinfo-legal-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:750px){.hhinfo-cards,.hhinfo-principle-grid,.hhinfo-contact-head{grid-template-columns:1fr;}.hhinfo-hero-mark{display:none;}.hhinfo-cta{flex-direction:column;align-items:flex-start;}.hhinfo-legal-side{grid-template-columns:1fr;}}
@media(max-width:560px){.hhinfo-wrap{padding-top:20px;padding-bottom:45px;}.hhinfo-hero{border-radius:15px;padding:28px 23px;}.hhinfo-hero h1{font-size:clamp(38px,10vw,55px);}.hhinfo-page-nav{gap:7px;margin:17px 0 25px;}.hhinfo-page-nav a{font-size:11px;padding:9px 12px;}.hhinfo-section{margin-top:36px;}.hhinfo-form-section{padding:8px;}.hhinfo-google-form iframe{height:2100px!important;}.hhinfo-legal-content{padding:25px 21px;}.hhinfo-hero p{font-size:15px;}}
@media(prefers-reduced-motion:reduce){.hhinfo-desk-card,.hhinfo-btn,.hhinfo-page-nav a{transition:none;}}



/* ============================================================
   HABARIHUB / FOOTER INFORMATION PAGES
   Templates: page-about-us, page-contact-us, page-disclaimer,
   page-privacy-policy, page-terms-and-conditions
   Uses the original HabariHub green / coral / warm-white palette.
   ============================================================ */
.hhinfo {background:var(--bg, #f7f7f3); color:var(--ink, #17221f);}
.hhinfo-wrap {padding-top:30px;padding-bottom:76px;}
.hhinfo-breadcrumb{display:flex;align-items:center;gap:11px;font-size:12px;font-weight:750;color:var(--muted,#67736e);margin-bottom:24px;}
.hhinfo-breadcrumb a:hover{color:var(--accent,#e46d4b);}
.hhinfo-breadcrumb span:last-child{color:var(--ink,#17221f);}
.hhinfo-hero{border-radius:22px;padding:clamp(30px,5.3vw,70px);position:relative;overflow:hidden;background:#fff;border:1px solid var(--line,#e3e7e1);box-shadow:0 20px 60px rgba(11,43,33,.045);}
.hhinfo-hero-about{display:flex;align-items:center;justify-content:space-between;gap:30px;min-height:300px;}
.hhinfo-hero-simple{background:linear-gradient(125deg,#ffffff 0%,#ffffff 70%,#eff4ee 100%);}
.hhinfo-hero-copy{max-width:780px;position:relative;z-index:1;}
.hhinfo-eyebrow,.hhinfo-label{display:inline-flex;align-items:center;gap:10px;color:#c46145;letter-spacing:.15em;font-size:11px;font-weight:900;text-transform:uppercase;}
.hhinfo-eyebrow i{display:block;width:26px;height:2px;background:var(--accent,#e46d4b);}
.hhinfo-hero h1{font:700 clamp(42px,6.4vw,78px)/1.02 Georgia,'Times New Roman',serif;letter-spacing:-.065em;margin:19px 0 18px;}
.hhinfo-hero h1 em{color:#bd795e;font-style:italic;font-weight:500;}
.hhinfo-hero p{color:var(--muted,#67736e);font-size:clamp(15px,1.5vw,18px);line-height:1.8;max-width:650px;margin:0;}
.hhinfo-hero-mark{font:900 clamp(130px,19vw,275px)/.8 Georgia,serif;color:rgba(23,62,53,.065);letter-spacing:-.10em;white-space:nowrap;}
.hhinfo-hero-mark span{color:rgba(228,109,75,.15);}
.hhinfo-page-nav{display:flex;gap:9px;flex-wrap:wrap;margin:21px 0 32px;}
.hhinfo-page-nav a{background:#fff;border:1px solid var(--line,#e3e7e1);border-radius:999px;font-size:12px;font-weight:800;color:#41534b;padding:10px 17px;transition:background .2s,color .2s,border-color .2s;}
.hhinfo-page-nav a:hover{border-color:#e46d4b;color:#ba5338;}
.hhinfo-page-nav a[aria-current="page"]{background:#173e35;border-color:#173e35;color:#fff;}
.hhinfo-intro-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(230px,1fr);gap:22px;}
.hhinfo-panel{background:#fff;border:1px solid var(--line,#e3e7e1);border-radius:18px;padding:clamp(23px,3.5vw,43px);}
.hhinfo h2{font:700 clamp(28px,3vw,40px)/1.17 Georgia,serif;letter-spacing:-.04em;color:#17221f;margin:13px 0 18px;}
.hhinfo-panel p,.hhinfo-legal-section p,.hhinfo-contact-head p{font-size:15px;line-height:1.9;color:#53635b;margin:0 0 15px;}
.hhinfo-panel p:last-child{margin-bottom:0;}
.hhinfo-quote-card{background:linear-gradient(125deg,#173e35,#0d2923);color:white;border-radius:18px;padding:clamp(25px,3.3vw,43px);display:flex;flex-direction:column;justify-content:center;}
.hhinfo-quote-mark{color:#f4a688;font:80px/.8 Georgia,serif;}
.hhinfo-quote-card blockquote{font:italic 26px/1.42 Georgia,serif;letter-spacing:-.025em;margin:14px 0 22px;}
.hhinfo-quote-card>span:last-child{font-size:10px;letter-spacing:.12em;font-weight:900;color:#c9e0d6;}
.hhinfo-section{margin-top:55px;}
.hhinfo-section-heading{margin-bottom:23px;}
.hhinfo-section-heading h2{margin:10px 0 0;}
.hhinfo-period{color:var(--accent,#e46d4b);}
.hhinfo-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;}
.hhinfo-desk-card{background:#fff;border:1px solid var(--line,#e3e7e1);padding:26px;border-radius:17px;display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s;}
.hhinfo-desk-card:hover{transform:translateY(-4px);box-shadow:0 15px 35px rgba(13,41,35,.08);}
.hhinfo-desk-card>span{font-size:10px;font-weight:900;letter-spacing:.14em;color:#c46145;}
.hhinfo-desk-card h3{font:700 24px/1.25 Georgia,serif;letter-spacing:-.035em;margin:15px 0 10px;}
.hhinfo-desk-card p{color:#657169;font-size:13px;line-height:1.75;margin:0 0 23px;}
.hhinfo-desk-card b{margin-top:auto;font-size:12px;color:#173e35;}
.hhinfo-principle-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;}
.hhinfo-principle-grid>div{padding:20px 0;border-top:3px solid #e46d4b;}
.hhinfo-principle-grid strong{font:700 22px/1.2 Georgia,serif;}
.hhinfo-principle-grid p{font-size:13px;line-height:1.8;color:#617067;}
.hhinfo-editor{background:#fff;border:1px solid var(--line,#e3e7e1);border-radius:17px;padding:clamp(20px,4vw,43px);overflow-wrap:anywhere;}
.hhinfo-editor p{font-size:15px;line-height:1.9;color:#53635b;}
.hhinfo-editor a,.hhinfo-legal-section a,.hhinfo-privacy-note a{color:#b65438;text-decoration:underline;text-underline-offset:3px;}
.hhinfo-cta{background:#173e35;color:#fff;border-radius:20px;padding:clamp(25px,4vw,46px);margin-top:55px;display:flex;gap:30px;align-items:center;justify-content:space-between;}
.hhinfo-cta .hhinfo-label{color:#ffad90;}
.hhinfo-cta h2{color:#fff;margin:9px 0 9px;}
.hhinfo-cta p{color:#dce9e0;margin:0;}
.hhinfo-btn{display:inline-flex;align-items:center;justify-content:center;background:#e46d4b;color:white!important;text-decoration:none!important;font-size:13px;font-weight:900;white-space:nowrap;padding:14px 21px;border-radius:100px;transition:background .2s;}
.hhinfo-btn:hover{background:#c85738;}
.hhinfo-btn-small{font-size:12px;padding:11px 16px;}
.hhinfo-contact-head{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(230px,1fr);gap:28px;align-items:start;padding:20px 0 25px;}
.hhinfo-contact-head h2{margin-top:10px;}
.hhinfo-contact-head p{max-width:650px;}
.hhinfo-contact-aside{border-left:3px solid #e46d4b;padding:7px 0 7px 23px;}
.hhinfo-contact-aside ul{padding-left:20px;color:#53635b;line-height:2;font-size:14px;margin:10px 0 0;}
.hhinfo-form-section{background:#fff;border:1px solid var(--line,#e3e7e1);border-radius:20px;padding:clamp(13px,3vw,30px);max-width:880px;margin:10px auto 0;}
.hhinfo-form-heading{text-align:center;border-bottom:1px solid #ecede7;padding:12px 0 19px;margin-bottom:13px;}
.hhinfo-form-heading p,.hhinfo-form-fallback{color:#78857d;font-size:12px;}
.hhinfo-google-form{width:100%;max-width:760px;margin:auto;overflow:hidden;}
.hhinfo-form-fallback a{color:#b65438;text-decoration:underline;}
.hhinfo-contact-editor{margin-bottom:20px;}
.hhinfo-privacy-note{color:#6b776f;font-size:12px;text-align:center;line-height:1.8;margin:24px auto 0;max-width:780px;}
.hhinfo-legal-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:28px;align-items:start;}
.hhinfo-legal-content{background:#fff;border:1px solid var(--line,#e3e7e1);border-radius:18px;padding:clamp(24px,4vw,50px);min-width:0;}
.hhinfo-legal-section{padding:0 0 28px;margin:0 0 31px;border-bottom:1px solid var(--line,#e3e7e1);scroll-margin-top:25px;}
.hhinfo-legal-section:last-of-type{padding-bottom:0;margin-bottom:0;border:0;}
.hhinfo-legal-section h2{font-size:clamp(24px,2.8vw,31px);margin:10px 0 15px;}
.hhinfo-legal-section p{margin-bottom:12px;}
.hhinfo-legal-side{display:flex;flex-direction:column;gap:18px;}
.hhinfo-side-card{background:#173e35;border-radius:17px;padding:26px;color:#fff;}
.hhinfo-side-card h3{font:700 26px/1.15 Georgia,serif;margin:15px 0;}
.hhinfo-side-card p{font-size:13px;line-height:1.75;color:#cfddd5;margin-bottom:24px;}
.hhinfo-side-card .hhinfo-label{color:#ffad90;}
.hhinfo-toc{border:1px solid var(--line,#e3e7e1);border-radius:16px;background:#fff;padding:23px;display:flex;flex-direction:column;gap:13px;}
.hhinfo-toc a{font-size:12px;color:#43554b;font-weight:750;line-height:1.5;}
.hhinfo-toc a:hover{color:#c46145;}
.hhinfo-legal-note{border-left:3px solid #d99122;background:#fff8ec;padding:15px 19px;color:#815e28;font-size:12px;line-height:1.7;border-radius:0 8px 8px 0;margin-top:30px;}
@media(max-width:960px){.hhinfo-intro-grid,.hhinfo-legal-layout{grid-template-columns:1fr;}.hhinfo-legal-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:750px){.hhinfo-cards,.hhinfo-principle-grid,.hhinfo-contact-head{grid-template-columns:1fr;}.hhinfo-hero-mark{display:none;}.hhinfo-cta{flex-direction:column;align-items:flex-start;}.hhinfo-legal-side{grid-template-columns:1fr;}}
@media(max-width:560px){.hhinfo-wrap{padding-top:20px;padding-bottom:45px;}.hhinfo-hero{border-radius:15px;padding:28px 23px;}.hhinfo-hero h1{font-size:clamp(38px,10vw,55px);}.hhinfo-page-nav{gap:7px;margin:17px 0 25px;}.hhinfo-page-nav a{font-size:11px;padding:9px 12px;}.hhinfo-section{margin-top:36px;}.hhinfo-form-section{padding:8px;}.hhinfo-google-form iframe{height:2100px!important;}.hhinfo-legal-content{padding:25px 21px;}.hhinfo-hero p{font-size:15px;}}
@media(prefers-reduced-motion:reduce){.hhinfo-desk-card,.hhinfo-btn,.hhinfo-page-nav a{transition:none;}}



/* ==========================================================
   HABARIHUB / COMPACT CONTACT FORM & STICKY LEGAL CONTENTS
   Contact page no longer embeds an oversized Google Form.
   ========================================================== */
.hhinfo.hh-contact-page .hh-contact-grid{
  display:grid;
  grid-template-columns:minmax(0, 680px) minmax(205px, 1fr);
  gap:clamp(20px, 3.7vw, 55px);
  align-items:start;
  max-width:1100px;
  margin:0 auto;
}
.hhinfo.hh-contact-page .hh-contact-card{
  min-width:0;background:#fff;border:1px solid #e3e7e1;
  border-radius:20px;padding:clamp(22px,3.2vw,37px);
  box-shadow:0 12px 35px rgba(13,41,35,.035);
}
.hhinfo.hh-contact-page .hh-contact-card h2{margin:9px 0 6px;font-size:clamp(28px,3vw,38px);}
.hhinfo.hh-contact-page .hh-contact-subtitle{color:#617067;font-size:14px;line-height:1.65;margin:0 0 22px;}
.hhinfo.hh-contact-page .hh-contact-form{display:flex;flex-direction:column;gap:14px;}
.hhinfo.hh-contact-page .hh-contact-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
.hhinfo.hh-contact-page .hh-contact-field{min-width:0;display:flex;flex-direction:column;gap:6px;}
.hhinfo.hh-contact-page .hh-contact-field label{font:750 12px/1.4 system-ui,-apple-system,'Segoe UI',Arial,sans-serif;color:#273e33;}
.hhinfo.hh-contact-page .hh-contact-field label span{font-weight:500;color:#75847a;}
.hhinfo.hh-contact-page .hh-contact-field label b{color:#ca553b;}
.hhinfo.hh-contact-page .hh-contact-field input,
.hhinfo.hh-contact-page .hh-contact-field select,
.hhinfo.hh-contact-page .hh-contact-field textarea{
  width:100%;min-width:0;margin:0;padding:11px 13px;
  border:1px solid #dce3dc;border-radius:10px;background:#fbfcf9;
  color:#17221f;font:14px/1.45 system-ui,-apple-system,'Segoe UI',Arial,sans-serif;
  box-shadow:none;max-width:100%;
}
.hhinfo.hh-contact-page .hh-contact-field input,
.hhinfo.hh-contact-page .hh-contact-field select{min-height:44px;}
.hhinfo.hh-contact-page .hh-contact-field textarea{resize:vertical;min-height:102px;}
.hhinfo.hh-contact-page .hh-contact-field :is(input,select,textarea):focus{
  outline:2px solid rgba(228,109,75,.48);outline-offset:1px;border-color:#e46d4b;background:#fff;
}
.hhinfo.hh-contact-page .hh-contact-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:3px;}
.hhinfo.hh-contact-page .hh-contact-send{
  border:0;border-radius:10px;background:#173e35;color:#fff;
  padding:12px 21px;font:800 13px/1.35 system-ui,-apple-system,'Segoe UI',Arial,sans-serif;
  cursor:pointer;transition:background .2s,transform .2s;
}
.hhinfo.hh-contact-page .hh-contact-send:hover{background:#0d2923;transform:translateY(-1px);}
.hhinfo.hh-contact-page .hh-contact-send:focus-visible{outline:3px solid #e46d4b;outline-offset:3px;}
.hhinfo.hh-contact-page .hh-contact-actions p{color:#77847c;font-size:11px;line-height:1.5;margin:0;}
.hhinfo.hh-contact-page .hh-contact-help{
  padding:24px 0 20px 25px;border-left:3px solid #e46d4b;color:#52655b;
}
.hhinfo.hh-contact-page .hh-contact-help h3{font:700 29px/1.2 Georgia,serif;color:#17221f;margin:14px 0 13px;}
.hhinfo.hh-contact-page .hh-contact-help p,
.hhinfo.hh-contact-page .hh-contact-help li{font-size:13px;line-height:1.8;}
.hhinfo.hh-contact-page .hh-contact-help ul{padding-left:18px;margin:15px 0;}
.hhinfo.hh-contact-page .hh-contact-help-note{margin-top:16px;font-size:12px!important;color:#75847c;}
.hhinfo.hh-contact-page .hh-contact-extra{max-width:680px;margin:22px auto;}
.hhinfo.hh-contact-page .hh-contact-alert{padding:11px 14px;border-radius:10px;font-size:13px;line-height:1.6;margin-bottom:17px;}
.hhinfo.hh-contact-page .hh-contact-alert.is-success{color:#14583c;background:#e8f7ee;border:1px solid #b6e4c9;}
.hhinfo.hh-contact-page .hh-contact-alert.is-error{color:#92482f;background:#fff0e6;border:1px solid #f2c7ad;}
/* Honeypot is visually hidden and not keyboard focusable; not part of the visible form. */
.hhinfo.hh-contact-page .hh-contact-hp{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;}
.hhinfo.hh-contact-page .hhinfo-privacy-note{max-width:850px;}

/* Keep 'ON THIS PAGE' visible while scrolling legal pages on desktop. */
@media (min-width: 961px){
  .hhinfo .hhinfo-legal-side{position:sticky;top:90px;align-self:start;z-index:4;}
}
.hhinfo .hhinfo-legal-section{scroll-margin-top:110px;}
.hhinfo .hhinfo-toc a:focus-visible{outline:2px solid #e46d4b;outline-offset:4px;}
@media(max-width:820px){
  .hhinfo.hh-contact-page .hh-contact-grid{grid-template-columns:1fr;max-width:700px;gap:18px;}
  .hhinfo.hh-contact-page .hh-contact-help{padding:7px 0 7px 18px;}
}
@media(max-width:560px){
  .hhinfo.hh-contact-page .hh-contact-row{grid-template-columns:1fr;}
  .hhinfo.hh-contact-page .hh-contact-card{padding:20px 18px;border-radius:15px;}
  .hhinfo.hh-contact-page .hh-contact-actions{align-items:stretch;flex-direction:column;}
  .hhinfo.hh-contact-page .hh-contact-send{width:100%;}
}
@media(prefers-reduced-motion: reduce){
  .hhinfo.hh-contact-page .hh-contact-send{transition:none;transform:none!important;}
}

/* Category Home navigation and readable category dropdown. */
body.category .site-shell .hhac-category-home-nav {
  display:flex;justify-content:center;align-items:center;margin-top:19px;
  animation:hhac-fade-up 550ms 800ms both;
}
body.category .site-shell .hhac-category-home-button {
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  min-width:122px;padding:11px 24px;border:1px solid #d9e4da;
  border-radius:999px;background:#fff;color:#254738;
  font:850 12px/1.4 system-ui,-apple-system,"Segoe UI",sans-serif;
  transition:background .22s,border-color .22s,color .22s,transform .22s,box-shadow .22s;
}
body.category .site-shell .hhac-category-home-button span {font-size:18px;line-height:1;}
body.category .site-shell .hhac-category-home-button:is(:hover,:focus-visible) {
  background:#e46d4b;border-color:#e46d4b;color:#fff;
  transform:translateY(-2px);box-shadow:0 8px 16px rgba(170,92,60,.16);
}
/* Native options: set light text on dark background before hover. */
body.category .site-shell .hhac-switcher select {color:#fff;color-scheme:dark;}
body.category .site-shell .hhac-switcher select option {
  background-color:#173e35;color:#fff;font-weight:700;
}
body.category .site-shell .hhac-switcher select option:checked {
  background-color:#345b49;color:#fff;font-weight:900;
}
body.category .site-shell .hhac-switcher select option:disabled {
  background-color:#173e35;color:#d7e7dd;
}
@media (max-width:700px) {
  body.category .site-shell .hhac-category-home-nav {margin-top:16px;}
  body.category .site-shell .hhac-category-home-button {min-width:111px;padding:9px 16px;font-size:11px;}
}
@media (prefers-reduced-motion:reduce) {
  body.category .site-shell .hhac-category-home-nav {animation:none!important;}
  body.category .site-shell .hhac-category-home-button {transition:none!important;}
}

/* Category title and Home share the same heading line. */
body.category .site-shell .hhac-category-title-row {
  display:flex;align-items:center;justify-content:center;
  column-gap:20px;max-width:100%;margin:4px auto 10px;
}
body.category .site-shell .hhac-category-title-row .hhac-category-name {
  margin:0;
}
body.category .site-shell .hhac-category-title-row .hhac-category-home-nav {
  margin:0;flex:0 0 auto;
}
body.category .site-shell .hhac-category-title-row .hhac-category-home-button {
  min-width:auto;padding:8px 15px;font-size:11px;
}
@media (max-width:520px) {
  body.category .site-shell .hhac-category-title-row {column-gap:10px;}
  body.category .site-shell .hhac-category-title-row .hhac-category-name {font-size:clamp(35px,9vw,48px);}
  body.category .site-shell .hhac-category-title-row .hhac-category-home-button {padding:7px 10px;font-size:10px;gap:5px;}
}


/* Final category heading layout: HOME first, category title second, on one line. */
body.category .site-shell .hhac-category-title-row {
  display:flex;align-items:center;justify-content:center;
  gap:clamp(10px,2vw,20px);width:100%;max-width:100%;
  margin:4px auto 10px;flex-wrap:nowrap;
}
body.category .site-shell .hhac-category-title-row .hhac-category-home-nav {
  flex:0 0 auto;margin:0;animation:none;
}
body.category .site-shell .hhac-category-title-row .hhac-category-home-button {
  display:inline-flex;min-width:0;padding:9px 16px;
  border-radius:999px;background:#0d2923;border-color:#0d2923;
  color:#fff;font-size:11px;white-space:nowrap;
}
body.category .site-shell .hhac-category-title-row .hhac-category-name {
  flex:0 1 auto;min-width:0;margin:0;
}
@media(max-width:520px){
  body.category .site-shell .hhac-category-title-row {gap:9px;}
  body.category .site-shell .hhac-category-title-row .hhac-category-name {font-size:clamp(28px,8vw,45px);}
  body.category .site-shell .hhac-category-title-row .hhac-category-home-button {padding:7px 10px;font-size:10px;gap:5px;}
  body.category .site-shell .hhac-category-title-row .hhac-category-home-button span {font-size:14px;}
}

/* Home precedes the category title in the SAME line, never below the description. */
body.category .site-shell .hhac-home-first-heading {
  display:flex !important; flex-direction:row !important; flex-wrap:nowrap !important;
  align-items:center !important; justify-content:center !important;
  gap:clamp(10px,2vw,20px) !important; width:100%;
}
body.category .site-shell .hhac-home-first-heading .hhac-category-home-nav {
  display:flex !important; order:0; margin:0 !important; width:auto !important;
}
body.category .site-shell .hhac-home-first-heading .hhac-category-name {
  order:1; display:block; margin:0 !important; width:auto !important;
}
body.category .site-shell .hhac-category-pill-nav { display:none !important; }

/* Restore the original white-and-green Home pill without moving it from the title line. */
body.category .site-shell .hhac-home-first-heading .hhac-category-home-button {
  min-width:122px; padding:11px 24px;
  border:1px solid #d9e4da; border-radius:999px;
  background:#fff; color:#254738;
  font:850 12px/1.4 system-ui,-apple-system,"Segoe UI",sans-serif;
  gap:9px;
  transition:background .22s,border-color .22s,color .22s,transform .22s,box-shadow .22s;
}
body.category .site-shell .hhac-home-first-heading .hhac-category-home-button:is(:hover,:focus-visible) {
  background:#e46d4b; border-color:#e46d4b; color:#fff;
  transform:translateY(-2px); box-shadow:0 8px 16px rgba(170,92,60,.16);
}
@media(max-width:520px) {
  body.category .site-shell .hhac-home-first-heading .hhac-category-home-button {
    min-width:0; padding:7px 10px; font-size:10px; gap:5px;
  }
}
