/*
Theme Name: Clarified
Theme URI: https://clarified.co.za
Author: Clarified.co.za
Author URI: https://clarified.co.za
Description: Native theme for Clarified.co.za — an independent South African articles platform exploring technology, education, business, lifestyle and culture through thoughtful perspectives and insights.
Version: 1.0.2
Requires at least: 6.4
Requires PHP: 7.4
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: clarified
*/

/* ==========================================================================
   Everything below this line is the site's original design CSS,
   preserved exactly as authored — no classes renamed, no rules altered.
   ========================================================================== */

:root {
  --cyan: #19c6d8;
  --cyan-dark: #079db0;
  --cyan-soft: #e9fbfd;
  --ink: #101719;
  --muted: #6d777a;
  --line: #e7ecee;
  --soft: #f6f8f8;
  --white: #fff;
  --container: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
}

img {
  display: block;
  width: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 56px));
  margin-inline: auto;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  font-family: "Space Grotesk", sans-serif;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -1.2px;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand span {
  color: var(--ink);
}

.brand b {
  color: var(--cyan-dark);
  font-weight: 700;
}

.main-nav {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
}

.main-nav a {
  color: #5f696c;
  position: relative;
  transition: color .15s ease;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--cyan-dark);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -28px;
  height: 3px;
  border-radius: 3px;
  background: var(--cyan);
}

.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-btn {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  font-size: 20px;
}

.subscribe-btn {
  border: 0;
  border-radius: 7px;
  background: var(--cyan);
  color: #062a2f;
  padding: 10px 17px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.menu {
  display: none;
}

.mobile-nav {
  display: none;
}

/* INTRO */

.intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding: 56px 0 28px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  display: block;
  color: var(--cyan-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 7px;
}

.intro h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(32px, 4.5vw, 58px);
  line-height: .95;
  letter-spacing: -3px;
}

.intro>p {
  max-width: 360px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
  margin: 0 0 4px;
}

/* HERO */

.hero-grid {
  display: grid;
  grid-template-columns: 1.75fr .85fr;
  gap: 22px;
  padding-top: 28px;
}

.hero-story {
  position: relative;
  min-height: 520px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--ink);
}

.hero-story>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-story::after,
.large-story::after,
.editor-pick::after {
  content: "";
  position: absolute;
  inset: 30% 0 0;
  background: linear-gradient(transparent, rgba(7, 15, 17, .92));
}

.hero-story::before,
.large-story::before,
.editor-pick::before {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  z-index: 1;
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 75%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 75%);
}

.hero-content {
  position: absolute;
  z-index: 2;
  left: 34px;
  right: 34px;
  bottom: 30px;
  color: #fff;
  max-width: 700px;
}

.meta {
  color: #c62828;
  font-size: 15px;
  font-weight: 600;
  margin: 10px 0;
}

.hero-content .meta,
.story-overlay .meta,
.editor-content .meta {
  color: #ff6f61;
}

.tag {
  display: inline-block;
  padding: 5px 8px;
  margin-right: 6px;
  border-radius: 4px;
  background: var(--cyan);
  color: #073238;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .8px;
}

.hero-content h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(32px, 4vw, 54px);
  line-height: .98;
  letter-spacing: -2.5px;
  margin: 12px 0;
}

.hero-content p {
  max-width: 600px;
  color: #d6ddde;
  font-size: 16px;
  line-height: 1.55;
}

.read-link {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 8px;
  color: var(--cyan);
  font-size: 15px;
  font-weight: 700;
}

.read-link span {
  font-size: 18px;
}

.hero-side {
  display: grid;
  gap: 12px;
}

.side-feature {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.side-feature img {
  height: 135px;
  border-radius: 9px;
}

.side-feature h3 {
  margin: 5px 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: -.5px;
}

.side-feature p {
  color: var(--cyan-dark);
  font-size: 13px;
  font-weight: 700;
}

/* SECTIONS */

.section {
  margin-top: 62px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 17px;
}

.section-head h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 28px;
  letter-spacing: -1.2px;
}

.section-head a {
  color: var(--cyan-dark);
  font-size: 14px;
  font-weight: 700;
}

.section-head a span {
  font-size: 17px;
}

/* CARDS */

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card img {
  height: 190px;
  border-radius: 9px;
}

.card h3 {
  margin: 7px 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  line-height: 1.18;
  letter-spacing: -.45px;
}

.card p {
  margin: 0 0 9px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.read-meta {
  color: var(--cyan-dark);
  font-size: 13px;
  font-weight: 700;
}

/* FEATURED */

.featured-grid {
  display: grid;
  grid-template-columns: 1.65fr .85fr;
  gap: 18px;
}

.large-story {
  min-height: 420px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: var(--ink);
}

.large-story img {
  position: absolute;
  inset: 0;
  height: 100%;
}

.story-overlay {
  position: absolute;
  z-index: 2;
  left: 26px;
  right: 26px;
  bottom: 25px;
  color: #fff;
}

.story-overlay h3 {
  max-width: 650px;
  margin: 8px 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 30px;
  line-height: 1.02;
  letter-spacing: -1.4px;
}

.story-overlay p {
  max-width: 600px;
  color: #d6ddde;
  font-size: 15px;
  line-height: 1.5;
}

.two-stories {
  display: grid;
  gap: 18px;
}

.compact-story {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 14px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
}

.compact-story img {
  height: 145px;
  border-radius: 9px;
}

.compact-story h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 19px;
  line-height: 1.12;
  margin: 6px 0 10px;
}

/* EDITOR */

.editor-pick {
  position: relative;
  height: 400px;
  border-radius: 13px;
  overflow: hidden;
  background: var(--ink);
}

.editor-pick img {
  position: absolute;
  inset: 0;
  height: 100%;
}

.editor-content {
  position: absolute;
  z-index: 2;
  left: 32px;
  bottom: 30px;
  max-width: 660px;
  color: #fff;
}

.editor-content h3 {
  margin: 8px 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 35px;
  line-height: 1;
  letter-spacing: -1.7px;
}

.editor-content p {
  color: #d6ddde;
  font-size: 15px;
  line-height: 1.55;
}

/* SPLIT */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
}

.small-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}

/* CATEGORIES */

.categories {
  margin-top: 64px;
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 9px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.categories>span {
  margin-right: 7px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 15px;
}

.categories a {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  color: #566164;
  transition: .2s;
}

.categories a:hover {
  background: var(--cyan-soft);
  border-color: var(--cyan);
  color: #075e69;
}

/* NEWSLETTER */

.newsletter {
  scroll-margin-top: 100px;
  margin-top: 55px;
  padding: 34px;
  border-radius: 13px;
  background: var(--cyan-soft);
  border: 1px solid #c9f0f4;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.newsletter h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 29px;
  letter-spacing: -1px;
}

.newsletter p {
  color: #637073;
  font-size: 15px;
  margin-bottom: 0;
}

.newsletter form {
  display: flex;
  width: min(440px, 100%);
  gap: 8px;
}

.newsletter input {
  min-width: 0;
  flex: 1;
  border: 1px solid #b8e3e7;
  border-radius: 7px;
  background: #fff;
  padding: 13px;
  font-size: 15px;
  outline: none;
}

.newsletter input:focus {
  border-color: var(--cyan);
}

.newsletter button {
  border: 0;
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
  padding: 0 17px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

/* FOOTER */

.footer {
  margin-top: 70px;
  background: #f5f7f7;
  border-top: 1px solid var(--line);
}

.footer-top {
  padding: 48px 0;
  display: grid;
  grid-template-columns: 2.3fr 1fr 1fr 1fr;
  gap: 45px;
}

.footer-brand p {
  color: #1a1a1a;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  margin-top: 12px;
}

.socials {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.social-icon {
  width: 44px;
  height: 44px;
  border: 1px solid #d7e1e3;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--muted);
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

.social-icon:hover {
  color: var(--cyan-dark);
  border-color: var(--cyan);
  background: var(--cyan-soft);
}

.footer h4 {
  margin: 0 0 13px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 15px;
}

.footer-top>div:not(.footer-brand) a {
  display: block;
  color: #687477;
  font-size: 14px;
  margin: 9px 0;
}

.footer-bottom {
  padding: 17px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: #8a9496;
  font-size: 13px;
}

/* RESPONSIVE */

@media (max-width: 1050px) {
  .main-nav {
    gap: 15px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-side {
    grid-template-columns: repeat(2, 1fr);
  }

  .side-feature {
    display: block;
  }

  .side-feature img {
    height: 150px;
    margin-bottom: 7px;
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-grid {
    grid-template-columns: 1fr;
  }

  .two-stories {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1050px) {
  .container {
    width: min(100% - 30px, var(--container));
  }

  .nav {
    min-height: 66px;
  }

  .main-nav {
    display: none;
  }

  .menu {
    display: block;
    border: 0;
    background: transparent;
    font-size: 22px;
    cursor: pointer;
  }

  .search-btn {
    display: none;
  }

  .mobile-nav {
    display: flex;
    gap: 19px;
    padding: 0 15px 12px;
    overflow-x: auto;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 700;
  }

  .intro {
    display: block;
    padding: 38px 0 22px;
  }

  .intro h1 {
    letter-spacing: -2px;
  }

  .intro>p {
    margin-top: 17px;
  }

  .hero-story {
    min-height: 470px;
  }

  .hero-content {
    left: 22px;
    right: 22px;
    bottom: 22px;
  }

  .hero-content h2 {
    font-size: 35px;
  }

  .hero-side {
    grid-template-columns: 1fr;
  }

  .side-feature {
    display: grid;
    grid-template-columns: 125px 1fr;
  }

  .side-feature img {
    height: 115px;
    margin: 0;
  }

  .section {
    margin-top: 46px;
  }

  .section-head h2 {
    font-size: 24px;
  }

  .news-grid,
  .small-grid {
    grid-template-columns: 1fr 1fr;
    gap: 13px;
  }

  .card img {
    height: 135px;
  }

  .card h3 {
    font-size: 17px;
  }

  .large-story {
    min-height: 390px;
  }

  .story-overlay h3 {
    font-size: 25px;
  }

  .two-stories {
    grid-template-columns: 1fr;
  }

  .editor-pick {
    height: 380px;
  }

  .editor-content {
    left: 22px;
    right: 22px;
    bottom: 22px;
  }

  .editor-content h3 {
    font-size: 28px;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .newsletter {
    display: block;
    padding: 25px;
  }

  .newsletter form {
    margin-top: 22px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .hero-content h2 {
    font-size: 30px;
  }

  .news-grid,
  .small-grid {
    grid-template-columns: 1fr;
  }

  .news-grid .card img,
  .small-grid .card img {
    height: 190px;
  }

  .compact-story {
    grid-template-columns: 120px 1fr;
  }

  .compact-story img {
    height: 120px;
  }

  .newsletter form {
    flex-direction: column;
  }

  .newsletter button {
    min-height: 42px;
  }

  .footer-bottom {
    display: block;
    line-height: 1.8;
  }
}

/* =========================================================
   CLARIFIED MOBILE NAV — FINAL
   Full topic strip wraps to two rows; header actions are
   trimmed to just Search + hamburger on small screens.
   ========================================================= */

@media (max-width: 1050px) {
  .site-header {
    position: sticky;
  }

  .main-nav {
    display: none !important;
  }

  .subscribe-btn {
    display: none !important;
  }

  .icon-btn {
    display: grid !important;
    width: 34px;
    height: 34px;
    margin-right: 4px;
  }

  .menu {
    display: grid !important;
    position: relative;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
  }

  .menu span {
    position: absolute;
    width: 20px;
    height: 2px;
    background: var(--ink);
    transition: transform .18s ease, opacity .18s ease;
  }

  .menu span:nth-child(1) {
    transform: translateY(-6px);
  }

  .menu span:nth-child(2) {
    transform: translateY(0);
  }

  .menu span:nth-child(3) {
    transform: translateY(6px);
  }

  .menu.is-open span:nth-child(1) {
    transform: rotate(45deg);
  }

  .menu.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu.is-open span:nth-child(3) {
    transform: rotate(-45deg);
  }

  /* The full set of section links now lives here, wrapping to a
     second row on narrow screens. Only non-section pages (About,
     Contact, Advertise, Privacy) live in the hamburger drawer. */
  .mobile-nav {
    position: static !important;
    display: flex !important;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap !important;
    row-gap: 10px;
    column-gap: clamp(10px, 3.6vw, 18px);
    width: 100%;
    padding: 0 12px 14px !important;
    margin: 0;
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  .mobile-nav a {
    display: block !important;
    flex: 0 0 auto;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #5f696c !important;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
    white-space: nowrap;
    position: relative;
  }

  .mobile-nav a.active {
    color: var(--cyan-dark) !important;
  }

  .mobile-nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    border-radius: 2px;
    background: var(--cyan);
  }

  /* The remaining pages live here, not in .mobile-nav. */
  .mobile-menu-panel {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 100%;
    z-index: 200;
    display: none;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 18px 35px rgba(16, 23, 25, .10);
  }

  .mobile-menu-panel.open {
    display: flex !important;
  }

  .mobile-menu-panel a {
    display: block;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 7px;
    color: #566164;
    font-size: 14px;
    font-weight: 700;
    transition: color .15s ease, border-color .15s ease, background .15s ease;
  }

  .mobile-menu-panel a:hover {
    color: var(--cyan-dark);
    border-color: var(--cyan);
  }

  .mobile-menu-panel a.active {
    color: var(--cyan-dark);
    border-color: var(--cyan);
    background: var(--cyan-soft);
  }
}

@media (min-width: 1051px) {

  .mobile-nav,
  .mobile-menu-panel,
  .menu {
    display: none !important;
  }

  .main-nav {
    display: flex !important;
  }
}

/* FINAL ARTICLE + IMAGE + EXISTING BRIEF FIXES
   No homepage layout changes. */

.article-page {
  padding-top: 52px;
  padding-bottom: 70px;
}

.article-page .article-meta {
  color: var(--cyan-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.article-header-text {
  text-align: center;
  margin-bottom: 24px;
}

.article-kicker {
  text-align: center;
}

.article-page h1 {
  max-width: 900px;
  margin: 10px auto !important;
  text-align: center !important;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(38px, 6vw, 68px);
  line-height: .98;
  letter-spacing: -2.8px;
}

.article-dek {
  max-width: 800px;
  margin: 18px auto 25px !important;
  text-align: center !important;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.article-image {
  display: block;
  width: min(100%, 960px);
  height: min(54vw, 540px);
  min-height: 280px;
  margin: 0 auto;
  object-fit: cover;
  object-position: center;
  border-radius: 13px;
}

.article-body {
  width: min(100%, 740px);
  margin: 38px auto 45px;
  color: #303a3d;
  font-size: 19px;
  line-height: 1.85;
}

.article-body p {
  margin: 0 0 24px;
}

.article-share {
  width: min(100%, 740px);
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
}

.article-share button {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 9px 13px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

/* Article hero: consistent editorial image treatment */
.article-page .article-image {
  width: min(100%, 900px);
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: 506px;
  object-fit: cover;
  margin-left: 0;
  margin-right: 0;
}

@media (max-width: 1050px) {
  .article-page .article-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    max-height: none;
    border-radius: 7px;
  }
}


/* FINAL PATCH — category story photos + Clarified Brief only.
   Everything else remains unchanged. */

/* Category pages: use the same compact rounded editorial cards as the rest of Clarified. */
.category-grid {
  width: 100%;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.category-grid .card {
  display: block;
  min-width: 0;
  padding: 0 0 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.category-grid .card>a:first-child {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  background: #eef4f5;
}

.category-grid .card img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 16 / 9 !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 10px;
  transition: transform .2s ease;
}

.category-grid .card>a:first-child:hover img {
  transform: scale(1.02);
}

.category-grid .card .eyebrow {
  margin-top: 12px;
  margin-bottom: 5px;
}

.category-grid .card h3 {
  margin: 0 0 7px;
  font-size: 19px;
  line-height: 1.16;
}

.category-grid .card p {
  max-width: 680px;
  margin: 0 0 9px;
  font-size: 14px;
  line-height: 1.5;
}

.category-grid .card .read-meta {
  display: inline-block;
}

/* The mobile category view stays compact: no full-height photo cards. */
@media (max-width: 700px) {
  .category-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .category-grid .card {
    display: grid;
    grid-template-columns: 124px minmax(0, 1fr);
    column-gap: 14px;
    align-items: center;
    padding: 0 0 16px;
  }

  .category-grid .card>a:first-child {
    grid-row: 1 / span 4;
    width: 124px !important;
    height: 78px !important;
    aspect-ratio: 16 / 10 !important;
    border-radius: 9px !important;
    overflow: hidden !important;
    display: block !important;
    background: #eef4f5;
    flex-shrink: 0 !important;
    align-self: center !important;
    margin-top: 5px !important;
  }

  .category-grid .card img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    aspect-ratio: 16 / 10 !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 9px !important;
    display: block !important;
  }

  .category-grid .card .eyebrow {
    margin-top: 0;
    margin-bottom: 3px;
  }

  .category-grid .card h3 {
    font-size: 17px;
    line-height: 1.2;
    margin: 0 0 5px;
  }

  .category-grid .card p {
    display: none;
  }

  .category-grid .card .read-meta {
    margin-top: 2px;
  }
}

/* Clarified Brief ticker: larger type, visible immediately, seamless loop. */
.brief-strip {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #08273d 0%, #0b3b4b 50%, #07535b 100%);
  border-top: 1px solid rgba(54, 201, 198, .35);
  border-bottom: 1px solid rgba(54, 201, 198, .35);
}

.brief-strip::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--cyan);
}

.brief-inner {
  min-height: 46px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.brief-message {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  color: #f2ffff;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 500;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .05px;
}

.brief-track {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 70px;
  transform: translateX(0);
  animation: clarifiedBriefLoop 60s linear infinite;
  will-change: transform;
}

.brief-track span::before {
  content: "◆";
  color: var(--cyan);
  font-size: 12px;
  margin-right: 16px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

@keyframes clarifiedBriefLoop {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 35px));
  }
}

@media (max-width: 700px) {
  .brief-inner {
    min-height: 42px;
  }

  .brief-message {
    font-size: 15px;
  }

  .brief-track {
    gap: 48px;
    animation-duration: 100s;
  }

  .brief-track span::before {
    margin-right: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brief-track {
    animation: none;
  }
}

/* =========================================================
   SEARCH ICON — was referenced in HTML (.icon-btn) but had
   no CSS at all, so it rendered as an invisible empty link.
   ========================================================= */

.icon-btn {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  transition: border-color .2s ease, background .2s ease;
}

.icon-btn::before {
  content: "";
  width: 15px;
  height: 15px;
  background-color: var(--ink);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'><circle cx='11' cy='11' r='7'/><line x1='21' y1='21' x2='16.2' y2='16.2'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'><circle cx='11' cy='11' r='7'/><line x1='21' y1='21' x2='16.2' y2='16.2'/></svg>") center / contain no-repeat;
}

.icon-btn:hover {
  border-color: var(--cyan);
  background: var(--cyan-soft);
}

.icon-btn:hover::before {
  background-color: var(--cyan-dark);
}

/* =========================================================
   SECTION INTROS — shared by category pages (.page-head)
   and the search page (.page-intro). Reuses the same rhythm
   as the homepage .intro block so every page feels consistent.
   ========================================================= */

.page-head,
.page-intro {
  padding: 40px 0 26px;
  border-bottom: 1px solid var(--line);
}

.page-head h1,
.page-intro h1 {
  margin: 6px 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(32px, 4.5vw, 48px);
  letter-spacing: -1.6px;
  line-height: 1;
}

.page-head p {
  max-width: 480px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

@media (max-width: 1050px) {

  .page-head,
  .page-intro {
    padding: 30px 0 20px;
  }
}

/* =========================================================
   INFO PAGES — About / Contact / Privacy / Advertise.
   Previously unstyled: rendered as plain, unformatted text.
   ========================================================= */

.info-page {
  max-width: 700px;
  padding: 48px 0 90px;
}

.info-page h1 {
  margin: 6px 0 18px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: -1.8px;
  line-height: 1.02;
}

.info-page>p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 16px;
}

.info-page .lead {
  color: var(--ink);
  font-size: 19px;
  line-height: 1.7;
  margin: 0 0 16px;
}

.info-page form {
  display: grid;
  gap: 12px;
  max-width: 480px;
  margin-top: 24px;
}

.info-page input,
.info-page textarea {
  border: 1px solid var(--line);
  padding: 13px 14px;
  font-size: 16px;
  outline: none;
  background: #fff;
  font-family: inherit;
}

.info-page input:focus,
.info-page textarea:focus {
  border-color: var(--cyan);
}

.info-page textarea {
  min-height: 120px;
  resize: vertical;
}

.info-page button {
  justify-self: start;
  border: 0;
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
  padding: 13px 22px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.info-page button:disabled {
  opacity: .6;
  cursor: default;
}

/* =========================================================
   SEARCH PAGE
   ========================================================= */

.search-page {
  padding-bottom: 80px;
}

.search-form {
  display: flex;
  gap: 10px;
  max-width: 560px;
  margin: 26px 0 40px;
}

.search-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  padding: 14px 16px;
  font-size: 17px;
  outline: none;
  background: #fff;
}

.search-form input:focus {
  border-color: var(--cyan);
}

.search-form button {
  border: 0;
  background: var(--ink);
  color: #fff;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

/* =========================================================
   EMPTY STATE — used by search with no results, and by any
   category page that has no articles yet.
   ========================================================= */

.empty-state {
  grid-column: 1 / -1;
  padding: 60px 20px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 12px;
}

.empty-state h2 {
  margin: 0 0 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.ui-arrow {
  display: inline-block;
  transition: transform .15s ease;
}

a:hover .ui-arrow {
  transform: translateX(2px);
}

/* =========================================================
   TOPIC TILES — quick access to sections otherwise tucked
   away in the mobile burger menu (Entertainment, Lifestyle).
   Sits between the top story and the Latest News section.
   ========================================================= */

.topic-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.topic-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-height: 120px;
  padding: 24px 64px 24px 26px;
  border-radius: 26px;
  transition: transform .18s ease, background .18s ease;
}

.topic-tile:hover {
  transform: translateY(-2px);
}

.topic-tile::after {
  content: "→";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  font-size: 17px;
  font-weight: 700;
  transition: transform .18s ease;
}

.topic-tile:hover::after {
  transform: translateX(3px);
}

.topic-tile-dark {
  background: var(--ink);
}

.topic-tile-dark::after {
  background: rgba(255, 255, 255, .14);
  color: var(--cyan);
}

.topic-tile-dark:hover {
  background: #0a1315;
}

.topic-tile-light {
  background: var(--cyan-soft);
  border: 1px solid #c9f0f4;
}

.topic-tile-light::after {
  background: #fff;
  color: var(--cyan-dark);
}

.topic-tile-light:hover {
  background: #ddf6f8;
}

.topic-tile-label {
  font-family: "Space Grotesk", sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.7px;
}

.topic-tile-dark .topic-tile-label {
  color: #fff;
}

.topic-tile-light .topic-tile-label {
  color: var(--ink);
}

.topic-tile-cta {
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 16px;
  font-weight: 700;
}

.topic-tile-dark .topic-tile-cta {
  color: var(--cyan);
}

.topic-tile-light .topic-tile-cta {
  color: var(--cyan-dark);
}

@media (max-width: 1050px) {
  .topic-tiles {
    gap: 12px;
  }

  .topic-tile {
    min-height: 96px;
    padding: 18px 20px;
    border-radius: 22px;
  }

  .topic-tile::after {
    display: none;
  }

  .topic-tile-label {
    font-size: 20px;
  }

  .topic-tile-cta {
    font-size: 15px;
  }
}

@media (max-width: 420px) {
  .topic-tile-cta {
    display: none;
  }

  .topic-tile {
    min-height: 78px;
    justify-content: center;
    padding-right: 20px;
  }
}

:root {
  --brand: #D50205;
}

.meta,
.meta-tag,
.article-meta {
  background: #D50205 !important;
  color: #fff !important
}

.faq-section {
  margin: 6rem auto;
  max-width: 900px;
  padding: 0 1.5rem
}

.faq-section h2 {
  color: #D50205;
  margin-bottom: 1.5rem
}

.faq-item {
  border: 1px solid #ddd;
  border-radius: 10px;
  margin-bottom: 1rem
}

/* CLARIFIED ARTICLE SYSTEM */
.article-page {
  max-width: 1140px;
  margin: 0 auto;
  padding-top: 62px;
}

.article-kicker {
  color: var(--cyan, #36c9c6);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.article-page h1 {
  max-width: 860px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin: 10px auto !important;
  text-align: center !important;
}

.article-dek {
  max-width: 800px;
  font-size: 20px;
  line-height: 1.55;
  color: #5d676a;
  margin: 18px auto 30px !important;
  text-align: center !important;
}

.article-figure {
  margin: 0 0 34px;
}

.article-figure figcaption {
  color: #737d80;
  font-size: 12px;
  line-height: 1.45;
  margin-top: 9px;
}

.clarified-short-version,
.clarified-bottom-line {
  border: 1px solid var(--line, #e5e8e8);
  border-radius: 14px;
  padding: 24px 26px;
  margin: 30px 0;
  background: #f7fbfb;
}

.clarified-bottom-line {
  background: #11191b;
  color: #fff;
  border-color: #11191b;
}

.clarified-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--cyan, #36c9c6);
  margin-bottom: 9px;
}

.clarified-short-version p,
.clarified-bottom-line p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
}

.clarified-bottom-line p:not(:last-child) {
  margin-bottom: 18px;
}

.clarified-bottom-line p {
  color: #f3f6f6;
}

.article-body {
  max-width: 1050px;
  margin: 0 auto;
}

.article-body h2[id] {
  scroll-margin-top: 120px;
}

.what-to-expect-box {
  background: var(--soft, #f6f8f8);
  border-left: 4px solid var(--brand);
  padding: 20px 24px;
  margin: 30px 0;
  border-radius: 0 8px 8px 0;
}

.what-to-expect-box h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink);
  margin-top: 0;
  margin-bottom: 12px;
  font-weight: 800;
}

.what-to-expect-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.what-to-expect-box ul li {
  margin-bottom: 8px;
  font-size: 16px;
}

.what-to-expect-box ul li::before {
  content: "→";
  color: var(--brand);
  margin-right: 8px;
  font-weight: bold;
}

.what-to-expect-box ul a {
  color: var(--brand) !important;
  text-decoration: none !important;
  font-weight: 600;
  transition: opacity 0.2s;
}

.what-to-expect-box ul a:hover {
  opacity: 0.8;
  text-decoration: underline !important;
}

.article-body p a,
.article-body ul a {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-color: var(--brand);
  text-underline-offset: 3px;
}

.clarified-section {
  margin: 42px 0;
}

.clarified-section h2 {
  font-size: 28px;
  line-height: 1.15;
  margin: 0 0 15px;
  letter-spacing: -.025em;
}

.clarified-section p {
  font-size: 18px;
  line-height: 1.75;
  margin: 0 0 18px;
  color: #283033;
}

.article-author {
  max-width: 1050px;
  margin: 46px auto 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line, #e5e8e8);
  border-bottom: 1px solid var(--line, #e5e8e8);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: #697275;
}

.author-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #11191b;
  color: #fff;
  font-weight: 800;
}

.article-author strong {
  color: #11191b;
  display: block;
  margin-bottom: 3px;
}

.article-tags {
  max-width: 760px;
  margin: 18px auto;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.article-tags span {
  border: 1px solid var(--line, #e5e8e8);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  color: #596467;
}

/* ── Article Social Share Bar ─────────────────────────────────────────── */
.article-share {
  max-width: 800px;
  margin: 32px auto 48px;
  padding: 16px 20px;
  background: #f8fafc;
  border: 1px solid var(--line, #e2e8f0);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.article-share strong {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink, #0e1516);
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.2px;
}

.article-share .share-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.article-share .share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  line-height: 1;
  font-family: inherit;
}

.article-share .share-btn svg {
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.article-share .share-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.article-share .share-btn.share-whatsapp {
  color: #128c7e;
}

.article-share .share-btn.share-whatsapp:hover {
  background: #25D366;
  border-color: #25D366;
  color: #ffffff;
}

.article-share .share-btn.share-facebook {
  color: #1877F2;
}

.article-share .share-btn.share-facebook:hover {
  background: #1877F2;
  border-color: #1877F2;
  color: #ffffff;
}

.article-share .share-btn.share-x,
.article-share .share-btn.share-twitter {
  color: #0f1419;
}

.article-share .share-btn.share-x:hover,
.article-share .share-btn.share-twitter:hover {
  background: #000000;
  border-color: #000000;
  color: #ffffff;
}

.article-share .share-btn.share-instagram {
  color: #c13584;
}

.article-share .share-btn.share-instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-color: #d6249f;
  color: #ffffff;
}

.article-share .share-btn.share-tiktok {
  color: #010101;
}

.article-share .share-btn.share-tiktok:hover {
  background: #010101;
  border-color: #010101;
  color: #ffffff;
}

.article-share .share-btn.share-copy {
  color: var(--cyan-dark, #008080);
}

.article-share .share-btn.share-copy:hover {
  background: var(--cyan-dark, #008080);
  border-color: var(--cyan-dark, #008080);
  color: #ffffff;
}

.article-share .share-btn.copied {
  background: #10b981 !important;
  border-color: #10b981 !important;
  color: #ffffff !important;
}

.article-share .share-btn.copied svg {
  stroke: #ffffff !important;
}

@media (max-width: 768px) {
  .article-share {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px;
  }

  .article-share .share-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 100%;
  }

  .article-share .share-btn {
    justify-content: center;
    padding: 9px 8px;
    font-size: 12px;
  }
}

@media (max-width: 440px) {
  .article-share .share-buttons {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── "More from Clarified" Article Section Fix ───────────────────────── */
.article-page .section,
.article-page section.section {
  max-width: 100% !important;
  width: 100% !important;
  margin-top: 54px !important;
  padding: 0 !important;
}

.article-page .section-head {
  max-width: 100% !important;
  margin-bottom: 24px !important;
  border-bottom: 2px solid var(--ink, #0e1516);
  padding-bottom: 12px;
}

.article-page .section-head h2 {
  font-size: 30px !important;
  font-family: "Space Grotesk", sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: -0.5px !important;
  margin-top: 4px !important;
}

.article-page .news-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 26px !important;
  width: 100% !important;
}

.article-page .news-grid .card {
  display: flex !important;
  flex-direction: column !important;
  background: #ffffff !important;
  border-radius: 12px !important;
  border: 1px solid var(--line, #e2e8f0) !important;
  padding: 14px !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  height: 100% !important;
  box-sizing: border-box !important;
}

.article-page .news-grid .card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07) !important;
}

.article-page .news-grid .card a>img,
.article-page .news-grid .card img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  display: block !important;
  margin-bottom: 12px !important;
}

.article-page .news-grid .card .eyebrow {
  font-size: 11.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: var(--cyan-dark, #008080) !important;
  margin-bottom: 6px !important;
}

.article-page .news-grid .card h3 {
  font-size: 18px !important;
  font-family: "Space Grotesk", sans-serif !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  margin: 0 0 10px 0 !important;
}

.article-page .news-grid .card h3 a {
  color: var(--ink, #0e1516) !important;
  text-decoration: none !important;
}

.article-page .news-grid .card h3 a:hover {
  color: var(--cyan-dark, #008080) !important;
}

.article-page .news-grid .card p {
  font-size: 14px !important;
  line-height: 1.55 !important;
  color: #4b5563 !important;
  margin: 0 0 16px 0 !important;
  flex-grow: 1 !important;
}

.article-page .news-grid .card .read-meta {
  margin-top: auto !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: var(--cyan-dark, #008080) !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

@media (max-width: 960px) {
  .article-page .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px !important;
  }
}

@media (max-width: 600px) {
  .article-page .news-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

.article-newsletter {
  margin-top: 58px;
}

.muted {
  color: #737d80;
}

@media (max-width: 1050px) {
  .article-page {
    padding-top: 38px;
  }

  .article-page h1 {
    font-size: 42px;
  }

  .article-dek {
    font-size: 18px;
  }

  .clarified-short-version,
  .clarified-bottom-line {
    padding: 20px;
  }

  .clarified-section {
    margin: 34px 0;
  }

  .clarified-section p {
    font-size: 17px;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  /* Fix WHAT TO EXPECT size on mobile */
  .what-to-expect-box {
    padding: 14px 16px;
    margin: 20px 0;
    border-left-width: 3px;
  }

  .what-to-expect-box h3 {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .what-to-expect-box ul li {
    font-size: 14.5px;
    margin-bottom: 6px;
  }

  /* ─── Mobile table scroll — definitive fix ───────────────────────────────
     Rule: NO ancestor of .table-responsive may have overflow set to anything
     other than 'visible' or 'auto'. Even overflow-x:clip breaks iOS Safari.
     We set max-width:100% on containers to prevent page-level bleed,
     and let the table wrapper handle its own horizontal scroll. */
  html {
    max-width: 100%;
  }

  body {
    max-width: 100%;
  }

  .article-page {
    max-width: 100%;
  }

  .article-body {
    max-width: 100%;
  }

  .table-responsive,
  .table-container,
  .wp-block-table,
  figure.wp-block-table,
  .article-body>table {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Reduce gaps in intro section */
  .intro {
    padding: 12px 0 16px !important;
  }

  .intro>p {
    margin-top: 8px !important;
  }
}


/* Override default WebKit search cancel button emoji with clean SVG */
input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  height: 16px;
  width: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23637073'%3E%3Cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E") no-repeat 50% 50%;
  background-size: contain;
  cursor: pointer;
  margin-left: 8px;
}

input[type="search"]::-webkit-search-cancel-button:hover {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230e1516'%3E%3Cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E") no-repeat 50% 50%;
}

.clarified-middle-image {
  text-align: center;
  margin: 40px 0;
}

.clarified-middle-image img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  margin: 0 auto;
  display: block;
}

.list-card {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  align-items: flex-start;
}

.list-card a.list-card-img {
  flex: 0 0 140px;
  margin-top: 16px;
  /* Pushes image down to align with h3 heading instead of the eyebrow */
}

.list-card a.list-card-img img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.list-card-content {
  flex: 1;
}

.list-card .eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #17b3b3;
  margin-bottom: 4px;
}

.list-card h3 {
  font-size: 1.1rem;
  line-height: 1.3;
  margin: 0 0 8px 0;
}

.list-card h3 a {
  color: #1a1a1a;
  text-decoration: none;
}

.list-card h3 a:hover {
  color: #17b3b3;
}

.list-card p {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.list-card .list-card-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 0;
  margin-top: -4px;
  /* Pull it up slightly to optically align with the image's top edge */
}

.list-card .eyebrow {
  margin-top: 0 !important;
  line-height: 1;
}

.brief-track:hover {
  animation-play-state: paused;
}

.brief-track a:hover {
  color: var(--cyan) !important;
}

/* Colored Social Icons */
.socials a[aria-label="Facebook"] {
  color: #1877F2;
  border-color: rgba(24, 119, 242, 0.3);
  background: rgba(24, 119, 242, 0.05);
}

.socials a[aria-label="X"] {
  color: #0f1419;
  border-color: rgba(15, 20, 25, 0.3);
  background: rgba(15, 20, 25, 0.05);
}

.socials a[aria-label="LinkedIn"] {
  color: #0A66C2;
  border-color: rgba(10, 102, 194, 0.3);
  background: rgba(10, 102, 194, 0.05);
}

.socials a[aria-label="Instagram"] {
  color: #E4405F;
  border-color: rgba(228, 64, 95, 0.3);
  background: rgba(228, 64, 95, 0.05);
}

.socials a[aria-label="TikTok"] {
  color: #000000;
  border-color: rgba(0, 0, 0, 0.3);
  background: rgba(0, 0, 0, 0.05);
}

/* Solid Color on Hover */
.socials a[aria-label="Facebook"]:hover {
  background: #1877F2;
  color: #fff;
  border-color: #1877F2;
}

.socials a[aria-label="X"]:hover {
  background: #0f1419;
  color: #fff;
  border-color: #0f1419;
}

.socials a[aria-label="LinkedIn"]:hover {
  background: #0A66C2;
  color: #fff;
  border-color: #0A66C2;
}

.socials a[aria-label="Instagram"]:hover {
  background: #E4405F;
  color: #fff;
  border-color: #E4405F;
}

.socials a[aria-label="TikTok"]:hover {
  background: #000000;
  color: #fff;
  border-color: #000000;
}

/* ── Consistent Article Header Images & Body Images ───────────────────────── */
.clarified-single-header {
  margin: 28px auto 36px;
  max-width: 800px;
  text-align: center;
  width: 100%;
}

.clarified-single-header img,
.article-page img.article-hero-image,
.article-page .article-image {
  width: 100% !important;
  max-width: 800px !important;
  height: 420px !important;
  aspect-ratio: 16 / 9;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 10px !important;
  margin: 0 auto !important;
  display: block !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* Any images inside article body must never exceed standard editorial size */
.article-body img {
  max-width: 100% !important;
  max-height: 420px !important;
  width: auto !important;
  height: auto !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 8px !important;
  margin: 28px auto !important;
  display: block !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {

  .clarified-single-header img,
  .article-page img.article-hero-image,
  .article-page .article-image {
    height: 240px !important;
    aspect-ratio: 16 / 9;
    border-radius: 7px !important;
  }

  .article-body img {
    max-height: 260px !important;
  }
}

/* ── Modern Editorial Table System (Mobile-First Touch Scrollable) ──────────── */
/*
  KEY RULES — READ BEFORE EDITING:
  1. The WRAPPER (.table-responsive) gets overflow-x: auto — this is the scroll container.
  2. The TABLE inside gets min-width: 580px so it forces horizontal scroll when narrow.
  3. NO ancestor (html, body, .article-page, .article-body) may have overflow set to
     anything except 'visible'. Even overflow-x:clip breaks iOS Safari scroll inheritance.
  4. To prevent page-level horizontal bleed, use max-width:100% on ancestors — NOT overflow.
*/
.table-responsive,
.table-container,
.wp-block-table,
figure.wp-block-table {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  overflow-y: visible !important;
  -webkit-overflow-scrolling: touch !important;
  touch-action: auto !important;
  margin: 28px 0 !important;
  border-radius: 8px !important;
  border: 1px solid var(--line, #e2e8f0) !important;
  background: #ffffff !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
  scrollbar-width: thin !important;
  scrollbar-color: var(--cyan-dark, #008080) #f1f5f9 !important;
  position: relative !important;
}

/* Fallback for any standalone or unwrapped table inside .article-body */
.article-body>table,
.article-body>figure>table {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  overflow-y: visible !important;
  -webkit-overflow-scrolling: touch !important;
  touch-action: auto !important;
  margin: 28px 0 !important;
  border-radius: 8px !important;
  border: 1px solid var(--line, #e2e8f0) !important;
}

/* Custom WebKit/Blink Scrollbars for Tables */
.table-responsive::-webkit-scrollbar,
.table-container::-webkit-scrollbar,
.wp-block-table::-webkit-scrollbar,
figure.wp-block-table::-webkit-scrollbar,
.article-body>table::-webkit-scrollbar {
  height: 7px !important;
}

.table-responsive::-webkit-scrollbar-track,
.table-container::-webkit-scrollbar-track,
.wp-block-table::-webkit-scrollbar-track,
figure.wp-block-table::-webkit-scrollbar-track,
.article-body>table::-webkit-scrollbar-track {
  background: #f1f5f9 !important;
  border-radius: 999px !important;
}

.table-responsive::-webkit-scrollbar-thumb,
.table-container::-webkit-scrollbar-thumb,
.wp-block-table::-webkit-scrollbar-thumb,
figure.wp-block-table::-webkit-scrollbar-thumb,
.article-body>table::-webkit-scrollbar-thumb {
  background: var(--cyan-dark, #008080) !important;
  border-radius: 999px !important;
}

.table-responsive table,
.table-container table,
.wp-block-table table,
figure.wp-block-table table,
table.clarified-table,
.article-body table {
  display: table !important;
  width: 100% !important;
  min-width: 620px !important;
  border-collapse: collapse !important;
  margin: 0 !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  text-align: left !important;
  border: none !important;
  background: #ffffff !important;
}

.article-body thead,
.table-responsive thead,
.table-container thead,
.wp-block-table thead,
figure.wp-block-table thead,
table.clarified-table thead {
  background: #0e1516 !important;
  color: #ffffff !important;
}

.article-body th,
.table-responsive th,
.table-container th,
.wp-block-table th,
figure.wp-block-table th,
table.clarified-table th {
  padding: 14px 18px !important;
  font-weight: 700 !important;
  font-family: "Space Grotesk", sans-serif !important;
  letter-spacing: -0.2px !important;
  font-size: 13.5px !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  border-bottom: 2px solid var(--cyan-dark, #008080) !important;
  white-space: nowrap !important;
}

.article-body td,
.table-responsive td,
.table-container td,
.wp-block-table td,
figure.wp-block-table td,
table.clarified-table td {
  padding: 13px 18px !important;
  border-bottom: 1px solid #edf2f7 !important;
  color: #2d3748 !important;
  vertical-align: middle !important;
  font-size: 14.5px !important;
  min-width: 120px;
}

.article-body tbody tr:nth-child(even),
.table-responsive tbody tr:nth-child(even),
.table-container tbody tr:nth-child(even),
.wp-block-table tbody tr:nth-child(even),
figure.wp-block-table tbody tr:nth-child(even),
table.clarified-table tbody tr:nth-child(even) {
  background: #f8fafc !important;
}

.article-body tbody tr:hover,
.table-responsive tbody tr:hover,
.table-container tbody tr:hover,
.wp-block-table tbody tr:hover,
figure.wp-block-table tbody tr:hover,
table.clarified-table tbody tr:hover {
  background: #f1f5f9 !important;
}