Live
Latest news and updates.
in header.php (replace everything there). Approach: mobile-first. Base rules = mobile (<900px). Everything desktop lives in ONE @media (min-width: 900px) section. Sections 1. Ad slots (shared) 2. Header shell (stacking / height safety) 3. Topbar — mobile base 4. Topbar — desktop (>= 900px) 5. Search drop-down 6. Publication bar + drawer links 7. Primary tag nav + dropdowns 8. Floating rails + wide-screen container widths ========================================================================== */ /* ========================================================================== 1. AD SLOTS (shared) ========================================================================== */ .herald-ad-slot { position: relative; display: block; max-width: 100%; text-align: center; } .herald-ad-slot__label { display: block; margin-bottom: 3px; font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #9a9a9a; } .herald-ad-slot__unit { min-height: 0; background: transparent; } .herald-ad-slot__placeholder { display: block; padding: 22px 10px; border: 1px dashed #c9c9c9; border-radius: 4px; background: #fafafa; color: #8f8f8f; font-size: 12px; font-weight: 600; text-align: center; } .herald-ad-slot__unit:not(:empty) + .herald-ad-slot__placeholder { display: none; } /* Top banner (desktop only) */ .herald-top-ad { display: none; justify-content: center; max-width: 100%; margin: 12px auto 0; } .herald-ad-slot--top .herald-ad-slot__unit { min-height: 126px; } .herald-ad-slot--top .herald-ad-slot__placeholder { padding: 45px 12px; } /* Left / right rails */ .herald-ad-slot--left .herald-ad-slot__unit, .herald-ad-slot--right .herald-ad-slot__unit { width: 160px; min-height: 570px; } .herald-ad-slot--left .herald-ad-slot__placeholder, .herald-ad-slot--right .herald-ad-slot__placeholder { padding: 220px 6px; font-size: 11px; } /* Header strip slots (320x100) — each one traps its own iframe */ .herald-ad-slot--header { flex: 0 0 auto; width: 320px; max-width: 320px; overflow: hidden; contain: paint; } .herald-ad-slot--header .herald-ad-slot__unit { width: 320px; max-width: 100%; height: 100px; min-height: 100px; overflow: hidden; contain: paint; } .herald-ad-slot--header .herald-ad-slot__unit iframe, .herald-ad-slot--header .herald-ad-slot__unit > div { max-width: 100% !important; max-height: 100px !important; } .herald-ad-slot--header .herald-ad-slot__placeholder { display: none; } /* ========================================================================== 2. HEADER SHELL ========================================================================== */ .site-header { position: relative; z-index: 50; background: #fff; box-shadow: 0 1px 0 #e5e5e5, 0 6px 18px rgba(0,0,0,.04); } /* Let the header grow with its content (guards against theme fixed heights) */ .site-header, .topbar, .topbar .topbar__inner { height: auto !important; min-height: 0 !important; max-height: none !important; overflow: visible !important; } .topbar { position: relative; z-index: 2; display: block; background: #fff; border-top: 3px solid #cf2e2e; } .tag-nav, .pub-bar { position: relative; top: auto; z-index: 1; clear: both; } /* ========================================================================== 3. TOPBAR — MOBILE BASE (< 900px) [ ☰ ] [ logo ] ........ [ Subscribe ] [ 🔍 ] ========================================================================== */ .topbar .topbar__inner { display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; padding-top: 8px; padding-bottom: 8px; } /* Hamburger */ .topbar .menu-toggle { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 40px; height: 40px; margin: 0; } /* Logo */ .topbar .brand { position: relative; z-index: 3; flex: 0 1 auto; min-width: 0; max-width: 150px; margin: 0; background: #fff; } .topbar .brand img, .topbar .brand .custom-logo { display: block; width: auto; height: auto; max-width: 100%; max-height: 34px; } /* Middle column: on mobile it only wraps the Subscribe button */ .topbar__mid { position: relative; z-index: 2; display: flex; flex: 0 0 auto; flex-direction: column; align-items: center; justify-content: center; min-width: 0; margin-left: auto; /* pushes Subscribe + Search to the right */ } .topbar__ads { display: none; /* no header ads on mobile */ } /* Subscribe button (topbar + drawer) */ .herald-subscribe-btn { position: relative; z-index: 5; display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #cf2e2e; color: #fff; font-size: 12px; font-weight: 800; line-height: 1; letter-spacing: .02em; text-transform: uppercase; text-decoration: none; white-space: nowrap; box-shadow: 0 1px 2px rgba(0,0,0,.12); transition: background .15s ease, transform .15s ease, box-shadow .15s ease; } .herald-subscribe-btn:hover, .herald-subscribe-btn:focus-visible { background: #a52323; color: #fff; transform: translateY(-1px); box-shadow: 0 4px 10px rgba(207,46,46,.25); } .herald-subscribe-btn:focus-visible { outline: 2px solid #141414; outline-offset: 2px; } .herald-subscribe-btn--drawer { display: flex; width: 100%; padding: 12px 16px; font-size: 14px; } /* Search button: round icon-only on mobile */ .topbar__actions { position: relative; z-index: 4; display: flex; flex: 0 0 auto; align-items: center; gap: 8px; } .topbar .topbar__actions .search-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 40px; height: 40px; padding: 0; border: 1.5px solid #d9d9d9; border-radius: 999px; background: #fff; color: #141414; font-size: 14px; font-weight: 700; cursor: pointer; transition: border-color .15s ease, color .15s ease, box-shadow .15s ease; } .topbar .topbar__actions .search-toggle:hover, .topbar .topbar__actions .search-toggle:focus-visible, .topbar .topbar__actions .search-toggle[aria-expanded="true"] { border-color: #cf2e2e; color: #cf2e2e; box-shadow: 0 2px 8px rgba(207,46,46,.15); } .topbar .topbar__actions .search-toggle svg { flex: 0 0 auto; } .topbar .search-toggle__label { /* visually hidden on mobile */ position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* Very small phones */ @media (max-width: 380px) { .topbar .topbar__inner { gap: 6px; } .topbar .brand { max-width: 120px; } .topbar .brand img, .topbar .brand .custom-logo { max-height: 28px; } .herald-subscribe-btn { padding: 7px 11px; font-size: 11px; } .topbar .menu-toggle, .topbar .topbar__actions .search-toggle { width: 36px; height: 36px; } } /* ========================================================================== 4. TOPBAR — DESKTOP (>= 900px) [ logo ] [ ads ] [ Search ] [ Subscribe ] ========================================================================== */ @media (min-width: 900px) { .herald-top-ad { display: flex; } /* Fixed 3-column grid: the columns can never overlap */ .topbar .topbar__inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 16px; padding-top: 12px; padding-bottom: 12px; } .topbar .menu-toggle { display: none; } .topbar .brand { max-width: 260px; } .topbar .brand img, .topbar .brand .custom-logo { max-height: 64px; } /* Middle column = safe zone, never wider than its grid cell */ .topbar__mid { width: 100%; gap: 8px; margin-left: 0; container-type: inline-size; /* lets us show only the ads that fit */ container-name: hdrmid; } /* Ad strip: hard-clipped to the middle column */ .topbar__ads { display: flex; flex-wrap: nowrap; align-items: center; justify-content: center; justify-content: safe center; gap: 10px; width: 100%; max-width: 100%; min-width: 0; max-height: 120px; /* label + 100px creative */ overflow: hidden; contain: paint; } /* Show only as many ads as physically fit */ .topbar__ads .herald-ad-slot--header:nth-child(n+2) { display: none; } @container hdrmid (min-width: 660px) { /* 2 x 320 + gap */ .topbar__ads .herald-ad-slot--header:nth-child(2) { display: block; } } @container hdrmid (min-width: 990px) { /* 3 x 320 + 2 gaps */ .topbar__ads .herald-ad-slot--header:nth-child(3) { display: block; } } /* Bigger Subscribe pill */ .herald-subscribe-btn { padding: 9px 26px; font-size: 13px; } .herald-subscribe-btn--drawer { padding: 12px 16px; font-size: 14px; } /* Search becomes a pill with label */ .topbar .topbar__actions .search-toggle { width: auto; height: 42px; padding: 0 18px 0 14px; } .topbar .search-toggle__label { position: static; width: auto; height: auto; overflow: visible; clip: auto; } } /* ========================================================================== 5. SEARCH DROP-DOWN ========================================================================== */ .header-search[hidden] { display: none; } .header-search { padding: 16px 0; background: #f7f7f7; border-top: 1px solid #ececec; border-bottom: 1px solid #e5e5e5; } .header-search .search-form { display: flex; gap: 10px; max-width: 760px; margin: 0 auto; } .header-search input[type="search"] { flex: 1 1 auto; min-width: 0; height: 46px; padding: 0 20px; border: 1.5px solid #d0d0d0; border-radius: 999px; background: #fff; color: #141414; font-size: 16px; outline: none; transition: border-color .15s ease, box-shadow .15s ease; } .header-search input[type="search"]:focus { border-color: #cf2e2e; box-shadow: 0 0 0 3px rgba(207,46,46,.15); } .header-search .search-submit { flex: 0 0 auto; height: 46px; padding: 0 26px; border: 0; border-radius: 999px; background: #cf2e2e; color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .15s ease; } .header-search .search-submit:hover { background: #a52323; } /* ========================================================================== 6. PUBLICATION BAR + DRAWER LINKS ========================================================================== */ .pub-bar { padding: 8px 0; background: #fafafa; border-top: 1px solid #ececec; } .pub-bar__list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 18px; margin: 0; padding: 0; list-style: none; } .pub-item { display: inline-block; } .pub-item a { display: inline-block; padding: 2px 0; color: var(--pub-color, #cf2e2e); font-size: 13px; font-weight: 800; letter-spacing: .01em; text-decoration: none; transition: filter .15s ease, opacity .15s ease; } .pub-item a:hover, .pub-item a:focus-visible { filter: brightness(1.15); text-decoration: underline; text-underline-offset: 3px; } .drawer .drawer__list li a[href] { color: var(--pub-color, currentColor); font-weight: 700; } .drawer .drawer__list li a[href]:hover, .drawer .drawer__list li a[href]:focus-visible { filter: brightness(1.15); } /* ========================================================================== 7. PRIMARY TAG NAV + DROPDOWNS ========================================================================== */ .tag-nav { background: #fff; border-top: 1px solid #ececec; } .tag-nav__scroll { width: 100%; overflow: visible; -webkit-overflow-scrolling: touch; scrollbar-width: none; -ms-overflow-style: none; } .tag-nav__scroll::-webkit-scrollbar { display: none; } @media (max-width: 767px) { .tag-nav__scroll { overflow-x: auto; overflow-y: hidden; } } .tag-nav__list { display: flex; flex-wrap: nowrap; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; } .tag-nav__list > li { position: relative; flex: 0 0 auto; } .tag-nav__list > li > a { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 12px; color: #141414; font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: color .15s ease, box-shadow .15s ease; } .tag-nav__list > li > a:hover, .tag-nav__list > li > a:focus-visible { color: #cf2e2e; box-shadow: inset 0 -3px 0 #cf2e2e; } /* Single caret for items with children */ .tag-nav__list > li.menu-item-has-children > a::before { content: "" !important; display: inline-block !important; order: 2; width: 0 !important; height: 0 !important; margin-left: 6px; border-left: 4px solid transparent !important; border-right: 4px solid transparent !important; border-top: 5px solid currentColor !important; border-bottom: 0 !important; background: none !important; transition: transform .15s ease; } .tag-nav__list li.menu-item-has-children.is-open > a::before { transform: rotate(180deg); } /* Kill any extra theme-injected toggles/carets */ .tag-nav__list > li > a::after, .tag-nav__list > li > a > span::before, .tag-nav__list > li > a > span::after, .tag-nav__list > li > a + span, .tag-nav__list > li > a > .sub-menu-toggle, .tag-nav__list > li > a > .menu-item-toggle, .tag-nav__list > li > a > .dropdown-toggle, .tag-nav__list > li > a > .caret, .tag-nav__list > li > a > i { content: none !important; display: none !important; border: 0 !important; background: none !important; } /* Desktop dropdown (fixed-position, placed by JS) */ body .tag-nav .tag-nav__list .sub-menu { position: fixed !important; top: 0; left: 0; display: none !important; min-width: 200px; margin: 0; padding: 6px 0; list-style: none; background: #fff; border: 1px solid #e5e5e5; border-top: 3px solid #cf2e2e; box-shadow: 0 6px 16px rgba(0,0,0,.12); z-index: 99999; } body .tag-nav .tag-nav__list li.is-open > .sub-menu { display: block !important; opacity: 1 !important; visibility: visible !important; transform: none !important; } body .tag-nav .tag-nav__list .sub-menu .sub-menu { position: absolute !important; top: -3px !important; left: 100% !important; border-top-color: #e5e5e5; border-left: 3px solid #cf2e2e; } .tag-nav__list .sub-menu li { position: relative; } .tag-nav__list .sub-menu a { display: block; padding: 8px 32px 8px 16px; color: #141414; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .15s ease, color .15s ease; } .tag-nav__list .sub-menu a:hover, .tag-nav__list .sub-menu a:focus-visible { background: #f4f4f4; color: #cf2e2e; } .tag-nav__list .sub-menu li.menu-item-has-children > a::after { content: ""; position: absolute; top: 50%; right: 12px; margin-top: -4px; border-top: 4px solid transparent; border-bottom: 4px solid transparent; border-left: 5px solid currentColor; } @media (max-width: 899px) { body .tag-nav .tag-nav__list .sub-menu .sub-menu { position: static !important; border: 0; border-left: 3px solid #e5e5e5; background: #fafafa; box-shadow: none; } } /* Touch devices: sub-menu is moved to
by JS ("portal") */ body > .herald-portal { position: fixed !important; display: block !important; opacity: 1 !important; visibility: visible !important; transform: none !important; min-width: 200px; max-width: calc(100vw - 16px); max-height: 70vh; margin: 0; padding: 6px 0; overflow-y: auto; list-style: none; background: #fff; border: 1px solid #e5e5e5; border-top: 3px solid #cf2e2e; box-shadow: 0 8px 24px rgba(0,0,0,.18); z-index: 99999; } body > .herald-portal li { position: relative; margin: 0; list-style: none; } body > .herald-portal a { display: block; padding: 12px 18px; color: #141414; font-size: 15px; font-weight: 600; text-decoration: none; white-space: normal; } body > .herald-portal a:hover, body > .herald-portal a:focus-visible { background: #f4f4f4; color: #cf2e2e; } body > .herald-portal .sub-menu { position: static !important; display: none !important; margin: 0; padding: 0 0 0 14px; list-style: none; background: #fafafa; border: 0; border-left: 3px solid #e5e5e5; box-shadow: none; opacity: 1 !important; visibility: visible !important; transform: none !important; } body > .herald-portal li.is-open > .sub-menu { display: block !important; } /* ========================================================================== 8. FLOATING RAILS + WIDE-SCREEN CONTAINER WIDTHS ========================================================================== */ .herald-rail { display: none; } @media (min-width: 1500px) { .herald-rail { position: fixed; top: 200px; z-index: 30; display: block; width: 160px; } .herald-rail--left { left: 20px; } .herald-rail--right { right: 20px; } /* Content shrinks so it never sits under the rails */ body .site-main > .container, body .site-main > .container.tag-grid-section, body .site-main > .container.tag-featured, body .site-main > .container.tag-hero, body .hero-block > .container, body .topbar > .container, body .tag-nav > .container, body .pub-bar > .container, body .herald-top-ad { max-width: min(1280px, calc(100vw - 340px)); margin-left: auto; margin-right: auto; } } /* Enough room: full 1280px content width */ @media (min-width: 1700px) { body .site-main > .container, body .site-main > .container.tag-grid-section, body .site-main > .container.tag-featured, body .site-main > .container.tag-hero, body .hero-block > .container, body .topbar > .container, body .tag-nav > .container, body .pub-bar > .container, body .herald-top-ad { max-width: 1280px; } } /* Very wide: rails hug the content column */ @media (min-width: 2000px) { .herald-rail--left { left: calc(50vw - 640px - 160px - 20px); } .herald-rail--right { right: calc(50vw - 640px - 160px - 20px); } } Skip to contentLatest news and updates.