:root {
  --hib-cream: #fffaf0;
  --hib-paper: #ffffff;
  --hib-ink: #183126;
  --hib-forest: #2f7138;
  --hib-forest-dark: #1f542b;
  --hib-sage: #e7f0df;
  --hib-yellow: #ffc84a;
  --hib-peach: #ffe0c2;
  --hib-lavender: #eee7f8;
  --hib-muted: #5d6b63;
  --hib-border: #d8e1d6;
  --hib-shadow: 0 18px 50px rgba(26, 66, 38, 0.1);
}

/* Privacy consent controls v0.5.4 */
.hib-cookie-banner{align-items:center;background:#101a28;border:1px solid #29435f;border-radius:16px;bottom:1rem;box-shadow:0 18px 55px #0006;color:#fff;display:flex;gap:1.5rem;justify-content:space-between;left:50%;max-width:1180px;padding:1.15rem 1.25rem;position:fixed;transform:translateX(-50%);width:calc(100% - 2rem);z-index:100000}
.hib-cookie-banner[hidden],.hib-cookie-dialog[hidden]{display:none!important}
.hib-cookie-banner h2,.hib-cookie-dialog h2{color:#fff;font-family:inherit;font-size:1.2rem;margin:0 0 .3rem}
.hib-cookie-banner p{color:#dbe7f5;font-size:.92rem;line-height:1.5;margin:0;max-width:700px}
.hib-cookie-banner a{color:#72bdff;text-decoration:underline}
.hib-cookie-banner__actions,.hib-cookie-dialog__actions{display:flex;flex-wrap:wrap;gap:.65rem}
.hib-cookie-banner button,.hib-cookie-dialog button{background:transparent;border:1px solid #66809b;border-radius:999px;color:#fff;cursor:pointer;font:inherit;font-size:.86rem;font-weight:800;min-height:42px;padding:.65rem 1rem}
.hib-cookie-banner [data-hib-consent-accept],.hib-cookie-dialog [data-hib-consent-save]{background:#168bf2;border-color:#168bf2}
.hib-cookie-dialog{align-items:center;background:#030a12bb;display:flex;inset:0;justify-content:center;padding:1rem;position:fixed;z-index:100001}
.hib-cookie-dialog__panel{background:#101a28;border:1px solid #29435f;border-radius:18px;color:#dbe7f5;max-height:calc(100vh - 2rem);max-width:620px;overflow:auto;padding:1.5rem;width:100%}
.hib-cookie-dialog__close{float:right;margin-bottom:.5rem}
.hib-cookie-option{align-items:center;border-top:1px solid #29435f;color:#fff;display:flex;gap:1rem;justify-content:space-between;padding:1rem 0}
.hib-cookie-option span,.hib-cookie-option small{display:block}.hib-cookie-option small{color:#bac9d8;font-weight:400}.hib-cookie-option input{accent-color:#168bf2;height:24px;width:24px}
.hib-cookie-dialog__actions{border-top:1px solid #29435f;justify-content:flex-end;padding-top:1rem}
.hib-cookie-banner button:focus-visible,.hib-cookie-dialog button:focus-visible{outline:3px solid #ffc84a;outline-offset:3px}
@media(max-width:760px){.hib-cookie-banner{align-items:stretch;bottom:.5rem;flex-direction:column;gap:.9rem;padding:1rem;width:calc(100% - 1rem)}.hib-cookie-banner__actions{display:grid;grid-template-columns:1fr 1fr}.hib-cookie-banner [data-hib-consent-accept]{grid-column:1/-1;grid-row:1}}
.hib-footer-cookie-settings{background:none;border:0;color:inherit;cursor:pointer;font:inherit;padding:0;text-decoration:underline;text-underline-offset:.18em}

.hib-comments {
  border-top: 1px solid var(--hib-border);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(2rem, 4vw, 3rem);
}

.hib-comments > h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  margin-bottom: 1.25rem;
}

.hib-comment {
  background: var(--hib-paper);
  border: 1px solid var(--hib-border);
  border-radius: 12px;
  margin-block: 1rem;
  padding: 1rem 1.1rem;
}

.hib-comments .comment-form input:not([type="checkbox"]),
.hib-comments .comment-form textarea {
  border: 1px solid var(--hib-border);
  border-radius: 8px;
  box-sizing: border-box;
  max-width: 100%;
  padding: .75rem;
  width: 100%;
}

.hib-recall-checker{background:#f4f8fc;border:1px solid var(--hib-border);border-radius:18px;padding:clamp(1.25rem,3vw,2rem)}
.hib-recall-checker form,.hib-recall-checker label{display:grid;gap:.45rem}.hib-recall-checker form{gap:1rem}.hib-recall-checker__fields{display:grid;gap:1rem;grid-template-columns:repeat(2,minmax(0,1fr))}
.hib-recall-checker select,.hib-recall-checker input{background:#fff;border:1px solid #9ba9b8;border-radius:8px;font:inherit;min-height:48px;padding:.7rem .8rem;width:100%}.hib-recall-checker button{background:#0d6b38;border:0;border-radius:999px;color:#fff;cursor:pointer;font:inherit;font-weight:800;justify-self:start;padding:.8rem 1.2rem}
.hib-recall-checker__result{border-radius:10px;margin-top:1rem;padding:1rem}.hib-recall-checker__result:empty{display:none}.hib-recall-checker__result.is-match{background:#e5f5e9}.hib-recall-checker__result.is-partial{background:#fff4d8}.hib-recall-checker__result.is-none{background:#edf1f5}.hib-recall-checker__note{font-size:.9rem;margin-bottom:0;margin-top:1rem}
@media(max-width:620px){.hib-recall-checker__fields{grid-template-columns:1fr}}

html { scroll-behavior: smooth; }

/* Prevent WordPress's global block gap from adding a white strip above the header. */
.wp-site-blocks > header.wp-block-template-part {
  margin-block-start: 0 !important;
}

body {
  background: var(--hib-cream);
  color: var(--hib-ink);
  margin: 0;
}

a { text-underline-offset: 0.2em; }
a:hover { text-decoration: underline; }

.hib-announcement {
  background: var(--hib-forest-dark);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 0.55rem 1rem;
  text-align: center;
}

.hib-site-header {
  background: rgba(255, 250, 240, 0.96);
  border-bottom: 1px solid var(--hib-border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.admin-bar .hib-site-header { top: 32px; }

.hib-header-inner {
  align-items: center;
  display: flex;
  gap: clamp(0.8rem, 1.8vw, 1.5rem);
  justify-content: space-between;
  min-height: 78px;
}

.hib-header-search {
  flex: 0 0 auto;
  margin: 0;
}

.hib-header-search .wp-block-search__button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  margin: 0;
  padding: 0;
  width: 42px;
}

.hib-header-search .wp-block-search__inside-wrapper {
  gap: 0.75rem;
  margin: 0;
}

.hib-header-search.wp-block-search__button-only:not(.wp-block-search__searchfield-hidden) .wp-block-search__inside-wrapper {
  max-width: 100%;
  width: min(215px, 62vw);
}

.hib-header-search .wp-block-search__input { min-width: 0; }

.hib-primary-nav {
  align-items: center;
  display: flex;
  gap: clamp(0.65rem, 1.1vw, 1.15rem);
  margin-left: auto;
}

.hib-primary-nav a {
  color: var(--hib-ink);
  font-size: clamp(0.76rem, 0.88vw, 0.88rem);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.hib-primary-nav a:hover,
.hib-primary-nav a:focus-visible { color: var(--hib-forest); text-decoration: underline; }

.hib-menu-toggle,
.hib-menu-close,
.hib-menu-scrim { display: none; }

.hib-brand {
  background: url("../images/helpfulinfobase-logo.png") left center / contain no-repeat;
  display: block;
  flex: 0 0 auto;
  height: 54px;
  width: clamp(220px, 25vw, 310px);
}

.hib-brand:focus-visible {
  border-radius: 6px;
  outline: 3px solid var(--hib-yellow);
  outline-offset: 4px;
}

.hib-brand .screen-reader-text {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.hib-section { padding: clamp(3.5rem, 7vw, 6rem) 1.25rem; }

.hib-trending-list .wp-block-post {
  background: var(--hib-paper);
  border: 1px solid var(--hib-border);
  border-radius: 16px;
  padding: 1.1rem;
}

.hib-trending-list .wp-block-post-featured-image { margin-bottom: 1rem; }
.hib-trending-list .wp-block-post-featured-image img { aspect-ratio: 16 / 9; max-height: 230px; object-fit: cover; width: 100%; }
.hib-trending-list .wp-block-post-title { font-size: clamp(1.35rem, 2.2vw, 1.75rem) !important; line-height: 1.2; margin-block: 0.45rem; }
.hib-trending-list .wp-block-post-excerpt { font-size: 1rem; line-height: 1.55; }

.hib-site-footer {
  background: var(--hib-forest-dark);
  color: rgba(255, 255, 255, 0.88);
  margin-top: 3rem;
  padding: 2.25rem 1.25rem 1.25rem;
}

.hib-site-footer a { color: white; }
.hib-site-footer .wp-block-columns { gap: clamp(1.25rem, 4vw, 3rem); margin-bottom: 1.25rem; }
.hib-site-footer h2,
.hib-site-footer h3 { margin-block: 0 0.55rem; }
.hib-site-footer p { margin-block: 0.4rem; }
.hib-site-footer ul { margin-block: 0; }
.hib-site-footer li + li { margin-top: 0.3rem; }
.hib-footer-note { color: rgba(255, 255, 255, 0.7); font-size: 0.86rem; }
.hib-footer-links { align-items: center; display: flex; flex-wrap: wrap; gap: 0.35rem 0.7rem; justify-content: center; }
.hib-footer-links > span[aria-hidden="true"] { color: rgba(255, 255, 255, 0.42); }

.hib-published-date { margin-bottom: 1.25rem; }

.hib-breadcrumbs {
  color: var(--hib-muted);
  display: block;
  font-size: 0.86rem;
  margin-bottom: 0.9rem;
}

.hib-breadcrumbs a { color: var(--hib-muted); }
.hib-breadcrumbs__sep { margin: 0 0.4rem; }
.hib-breadcrumbs [aria-current="page"] { color: var(--hib-ink); }

.hib-byline {
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1rem 0 1.75rem;
}

.hib-byline .wp-block-avatar { flex: 0 0 auto; margin: 0; }
.hib-byline .wp-block-avatar img { border-radius: 999px; display: block; }

.hib-byline__meta { gap: 0.15rem !important; }

.hib-byline__name {
  color: var(--hib-ink);
  display: block;
  font-weight: 800;
}

.hib-byline__dates {
  align-items: center;
  color: var(--hib-muted);
  font-size: 0.86rem;
  gap: 0.6rem !important;
}

.hib-byline__dates > * { margin: 0; }

.hib-byline__dates > *:not(:last-child)::after {
  color: var(--hib-border);
  content: "\00B7";
  margin-left: 0.6rem;
}

.hib-byline__date--updated { color: var(--hib-forest-dark); }

.hib-author-card {
  align-items: flex-start;
  background: var(--hib-paper);
  border: 1px solid var(--hib-border);
  border-radius: 12px;
  gap: 1rem;
  margin: 2.5rem 0 1rem;
  padding: 1.25rem;
}

.hib-author-card .wp-block-avatar { flex: 0 0 auto; margin: 0; }
.hib-author-card .wp-block-avatar img { border-radius: 999px; display: block; }
.hib-author-card__label { color: var(--hib-muted); font-size: 0.8rem; margin: 0 0 0.15rem; text-transform: uppercase; letter-spacing: 0.04em; }
.hib-author-card__name { display: block; font-weight: 800; margin-bottom: 0.35rem; }
.hib-author-card__bio { color: var(--hib-ink); font-size: 0.96rem; line-height: 1.55; margin: 0; }

.hib-spoiler-warning {
  background: var(--hib-yellow);
  border-radius: 8px;
  color: #17251d;
  font-weight: 700;
  margin-block: 1.75rem;
  padding: 0.85rem 1.1rem;
}

.hib-spoiler-warning p { margin: 0; }

.hib-article-callout--update { border-left-color: var(--hib-forest-dark); }
.hib-article-callout--correction { background: #fbeceb; border-left-color: #a33b32; }

.hib-quick-facts { margin-block: 1.75rem; }
.hib-quick-facts__table td { padding: 0.5rem 0.75rem; vertical-align: top; }
.hib-quick-facts__table td:first-child { color: var(--hib-muted); width: 40%; }

.hib-related {
  background: var(--hib-sage);
  border-radius: 12px;
  margin-block: 2rem;
  padding: 1.25rem 1.5rem;
}

.hib-related__list { margin: 0; }
.hib-related__list li + li { margin-top: 0.4rem; }

.hib-article-intro {
  color: #314a3a;
  font-size: clamp(1.2rem, 2.5vw, 1.42rem) !important;
  line-height: 1.55;
}

.hib-article-callout {
  background: #edf5e8;
  border-left: 5px solid var(--hib-forest);
  border-radius: 8px;
  margin-block: 1.75rem;
  padding: 1rem 1.25rem;
}

.hib-article-callout p { margin: 0; }
.hib-article-stock {
  background: #dfe4df;
  border-radius: 5px;
  height: clamp(210px, 38vw, 380px);
  margin: 1.75rem 0 2rem;
  max-height: 380px;
  max-width: 100%;
  position: relative;
  width: 100%;
}

.hib-article-stock > img {
  border-radius: 5px;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hib-article-stock__info {
  align-items: center;
  background: rgba(17, 24, 20, 0.9);
  border: 2px solid #fff;
  border-radius: 50%;
  bottom: 0.55rem;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-family: Georgia, serif;
  font-size: 0.78rem;
  font-weight: 800;
  height: 25px;
  justify-content: center;
  left: 0.55rem;
  line-height: 1;
  padding: 0;
  position: absolute;
  width: 25px;
  z-index: 3;
}

.hib-article-stock__info:hover,
.hib-article-stock__info:focus-visible { background: #111; outline: 3px solid #ffc84a; outline-offset: 2px; }

.hib-article-stock__panel {
  background: #fff;
  border: 2px solid #be1455;
  border-radius: 6px;
  bottom: 0;
  box-shadow: 0 14px 32px rgba(23, 31, 26, 0.2);
  color: #26372e;
  font-size: 0.86rem;
  left: 0;
  line-height: 1.45;
  max-width: calc(100vw - 2rem);
  padding: 0.9rem 2rem 0.9rem 0.9rem;
  position: absolute;
  transform: translateY(calc(100% - 1px));
  width: 340px;
  z-index: 20;
}

.hib-article-stock__panel[hidden] { display: none !important; }
.hib-article-stock__panel p { font-size: inherit; margin: 0.35rem 0 0.5rem; }
.hib-article-stock__close { background: transparent; border: 0; color: #be1455; cursor: pointer; font-size: 1.2rem; line-height: 1; padding: 0; position: absolute; right: 0.45rem; top: 0.35rem; }
.hib-source-title { border-top: 1px solid var(--hib-border); margin-top: 3rem; padding-top: 1.5rem; }
.hib-source-list { font-size: 0.96rem !important; }
.hib-source-list li + li { margin-top: 0.55rem; }

/* Replace Jetpack's editable legacy row with one consistent reader-facing share bar. */
.sharedaddy,
.sd-sharing-enabled,
.wp-block-jetpack-sharing-buttons { display: none !important; }

.hib-share {
  border-top: 1px solid var(--hib-border);
  margin-top: 2.75rem;
  padding-top: 1.5rem;
}

.hib-share h2 { font-size: 1.35rem; margin: 0 0 0.85rem; }

.hib-share__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hib-share__button {
  align-items: center;
  background: #fff;
  border: 1px solid #aebcb2;
  border-radius: 999px;
  box-sizing: border-box;
  color: var(--hib-forest-dark);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  height: 46px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  text-decoration: none;
  vertical-align: middle;
  width: 46px;
}

.hib-share__icon {
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  display: block;
  flex: 0 0 22px;
  height: 22px;
  margin: 0;
  width: 22px;
}

.hib-share__icon--facebook { background-image: url("../icons/facebook.svg"); }
.hib-share__icon--x { background-image: url("../icons/x.svg"); }
.hib-share__icon--linkedin { background-image: url("../icons/linkedin.svg"); }
.hib-share__icon--instagram { background-image: url("../icons/instagram.svg"); }
.hib-share__icon--link { background-image: url("../icons/link.svg"); filter: invert(1); }

.hib-share__button:hover,
.hib-share__button:focus-visible {
  background: var(--hib-sage);
  border-color: var(--hib-forest);
  outline: 2px solid transparent;
  text-decoration: none;
}

.hib-share__button--copy { background: var(--hib-forest); border-color: var(--hib-forest); color: #fff; }
.hib-share__button--copy:hover,
.hib-share__button--copy:focus-visible { background: var(--hib-forest-dark); color: #fff; }
.hib-share__status { color: var(--hib-muted); font-size: 0.88rem; margin: 0.65rem 0 0; min-height: 1.35em; }

.wp-block-post-content > p,
.wp-block-post-content > ul,
.wp-block-post-content > ol { font-size: 1.08rem; }

.hib-place-photo {
  box-sizing: border-box;
  clear: both;
  display: block;
  float: none;
  margin: 1.25rem auto 1.6rem;
  max-width: 760px;
  width: 100%;
}

.hib-place-photo img {
  border-radius: 12px;
  display: block;
  height: auto;
  margin: 0 auto;
  max-height: 620px;
  max-width: 100%;
  object-fit: cover;
  width: 100%;
}

.hib-place-photo figcaption {
  color: var(--hib-muted);
  font-size: 0.82rem;
  line-height: 1.45;
  margin-top: 0.55rem;
}

@media (min-width: 782px) {
  body.single .wp-block-post-featured-image,
  body.single .wp-block-post-content figure.hib-place-photo {
    margin-left: auto;
    margin-right: auto;
    max-width: 760px;
    width: min(100%, 760px);
  }

  body.single .wp-block-post-featured-image img {
    height: auto;
    max-height: 430px;
    object-fit: cover;
  }

  body.single .wp-block-post-content figure.hib-place-photo img {
    height: auto;
    max-height: 520px;
    object-fit: contain;
    width: 100%;
  }
}

.hib-article-featured-image,
.wp-block-post-featured-image {
  margin: clamp(1.25rem, 3vw, 2rem) 0 clamp(1.75rem, 4vw, 2.75rem);
}

.hib-article-featured-image img,
.wp-block-post-featured-image img {
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  display: block;
  object-fit: cover;
  width: 100%;
}

.wp-block-post-content .wp-block-table {
  -webkit-overflow-scrolling: touch;
  margin: 1.75rem 0;
  overflow-x: auto;
}

.wp-block-post-content .wp-block-table table {
  border: 1px solid #93a59a;
  border-collapse: collapse;
  min-width: 680px;
  width: 100%;
}

.wp-block-post-content .wp-block-table th,
.wp-block-post-content .wp-block-table td {
  border: 1px solid #93a59a;
  padding: 0.75rem 0.85rem;
  text-align: left;
  vertical-align: top;
}

.wp-block-post-content .wp-block-table th {
  background: var(--hib-sage);
  color: var(--hib-ink);
  font-weight: 800;
}

.wp-block-post-content .wp-block-table tbody tr:nth-child(even) {
  background: #f7faf6;
}

.wp-block-post-content .wp-block-table figcaption {
  color: var(--hib-muted);
  font-size: 0.88rem;
  margin-top: 0.55rem;
  text-align: left;
}

/* Homepage modules & the [hib_post_list] shortcode output shared across them. */

.hib-home-intro {
  padding: clamp(3.25rem, 6vw, 5.5rem) 1.25rem clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
}

.hib-home-intro h1 {
  font-size: clamp(2.3rem, 6vw, 4.8rem);
  margin-bottom: 1rem;
  text-wrap: balance;
}

.hib-home-intro p {
  color: #40564a;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.55;
  margin-inline: auto;
  max-width: 760px;
}

.hib-section-heading { margin-bottom: 1.5rem; }
.hib-section-heading h2,
.hib-section-heading h3 { margin: 0; }
.hib-section-note { color: var(--hib-muted); font-size: 0.92rem; margin: 0.3rem 0 0; }

.hib-topic-hubs { padding-top: clamp(1.5rem, 3vw, 2.5rem); }

.hib-topic-hub-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.hib-topic-hub-card {
  background: var(--hib-paper);
  border: 1px solid var(--hib-border);
  border-radius: 16px;
  color: var(--hib-ink);
  display: flex;
  flex-direction: column;
  grid-column: span 2;
  min-width: 0;
  min-height: 245px;
  padding: 1.25rem;
  text-decoration: none;
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.hib-topic-hub-card:hover,
.hib-topic-hub-card:focus-visible {
  box-shadow: var(--hib-shadow);
  text-decoration: none;
  transform: translateY(-3px);
}

.hib-topic-hub-card::before {
  background: var(--hib-forest);
  border-radius: 999px;
  content: "";
  height: 6px;
  margin-bottom: 1rem;
  width: 54px;
}

.hib-topic-hub-card--sports::before { background: #da6b35; }
.hib-topic-hub-card--tech::before { background: #336dc3; }
.hib-topic-hub-card--money::before { background: #8b5aa8; }
.hib-topic-hub-card--consumer::before { background: #c58a2c; }
.hib-topic-hub-card:nth-child(4) { grid-column: 2 / span 2; }
.hib-topic-hub-card:nth-child(5) { grid-column: 4 / span 2; }
.hib-topic-hub-card__number { color: var(--hib-muted); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.08em; }
.hib-topic-hub-card strong { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.28rem, 1.8vw, 1.7rem); line-height: 1.1; margin: 0.45rem 0 0.7rem; }
.hib-topic-hub-card > span:not(.hib-topic-hub-card__number) { color: #40564a; font-size: 0.92rem; line-height: 1.5; }
.hib-topic-hub-card em { color: var(--hib-forest-dark); font-size: 0.84rem; font-style: normal; font-weight: 800; margin-top: auto; padding-top: 1rem; }

.hib-post-list {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.hib-latest-stories .hib-post-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hib-recently-updated .hib-post-list { grid-template-columns: 1fr; }

.hib-post-list__item {
  background: var(--hib-paper);
  border: 1px solid var(--hib-border);
  border-radius: 14px;
  overflow: hidden;
  padding: 1rem;
}

.hib-recently-updated .hib-post-list__item {
  align-items: baseline;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hib-border);
  border-radius: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  padding: 1rem 0;
}

.hib-post-list__item--with-image { grid-column: 1 / -1; padding: 0; }
.hib-post-list__item--with-image article { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.hib-post-list article > p { display: none; }
.hib-post-list__body > p:empty { display: none; }

.hib-post-list__media { display: block; flex: 1 1 320px; }
.hib-post-list__media img { border-radius: 12px 0 0 12px; display: block; height: 100%; max-height: 280px; object-fit: cover; width: 100%; }
.hib-post-list__item--with-image .hib-post-list__body { flex: 1 1 260px; padding: 1.25rem 1.25rem 1.25rem 0; }

.hib-trending-now .hib-post-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hib-trending-now .hib-post-list__item--with-image,
.hib-latest-stories .hib-post-list__item--with-image,
.hib-popular-explainers .hib-post-list__item--with-image { grid-column: auto; }

.hib-trending-now .hib-post-list__item--with-image article,
.hib-latest-stories .hib-post-list__item--with-image article,
.hib-popular-explainers .hib-post-list__item--with-image article {
  display: block;
}

.hib-trending-now .hib-post-list__item:first-child { grid-column: span 2; }
.hib-trending-now .hib-post-list__media img,
.hib-latest-stories .hib-post-list__media img,
.hib-popular-explainers .hib-post-list__media img {
  aspect-ratio: 16 / 9;
  border-radius: 0;
  height: auto;
  max-height: none;
}

.hib-trending-now .hib-post-list__item--with-image .hib-post-list__body,
.hib-latest-stories .hib-post-list__item--with-image .hib-post-list__body,
.hib-popular-explainers .hib-post-list__item--with-image .hib-post-list__body { padding: 1rem; }

.hib-trending-now .hib-post-list__item:first-child .hib-post-list__title { font-size: clamp(1.45rem, 2.7vw, 2rem); }
.hib-popular-explainers .hib-post-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.hib-post-list__category {
  color: var(--hib-forest-dark);
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
}

.hib-post-list__title { font-size: 1.1rem; line-height: 1.3; margin: 0 0 0.3rem; }
.hib-post-list__item--with-image .hib-post-list__title { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.hib-post-list__title a { color: var(--hib-ink); text-decoration: none; }
.hib-post-list__title a:hover { color: var(--hib-forest); }

.hib-post-list__excerpt { color: #40564a; font-size: 0.96rem; line-height: 1.5; margin: 0 0 0.3rem; }
.hib-post-list__date { color: var(--hib-muted); font-size: 0.82rem; }
.hib-post-list__empty { color: var(--hib-muted); font-style: italic; }

.hib-category-strips { display: grid; gap: 0; }

.hib-topic-section { border-top: 1px solid var(--hib-border); padding: clamp(2rem, 4vw, 3.5rem) 0; }
.hib-topic-section:first-child { border-top: 0; padding-top: 0.5rem; }
.hib-topic-section:last-child { padding-bottom: 0; }
.hib-topic-section .hib-section-heading > p { flex: 0 0 auto; margin: 0; }
.hib-topic-section .hib-section-heading a { font-weight: 800; }
.hib-topic-section .hib-post-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hib-topic-section .hib-post-list__item--with-image { grid-column: auto; }
.hib-topic-section .hib-post-list__item--with-image article { display: block; }
.hib-topic-section .hib-post-list__media img { aspect-ratio: 16 / 9; border-radius: 0; height: auto; max-height: none; }
.hib-topic-section .hib-post-list__item--with-image .hib-post-list__body { padding: 1rem; }
.hib-topic-section .hib-post-list__item--with-image .hib-post-list__title { font-size: clamp(1.15rem, 2vw, 1.45rem); }
.hib-topic-section .hib-post-list__empty { background: var(--hib-cream); border: 1px dashed var(--hib-border); border-radius: 12px; margin: 0; padding: 1rem 1.15rem; }

.hib-about-strip { border-radius: 24px; }
.hib-about-strip a { font-weight: 700; }

/* Category, author, search, and 404 archive scaffolding. */

.hib-category-heading,
.hib-search-heading { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); max-width: none; }
.hib-category-heading .wp-block-query-title,
.hib-search-heading .wp-block-query-title { font-size: clamp(2rem, 4.5vw, 3.5rem); }
.hib-category-heading .taxonomy-description { color: var(--hib-muted); font-size: 1.05rem; max-width: 720px; }

.hib-topic-chips { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.25rem; }
.hib-topic-chips a { background: var(--hib-paper); border: 1px solid var(--hib-border); border-radius: 999px; color: var(--hib-ink); font-size: 0.86rem; font-weight: 800; padding: 0.45rem 0.8rem; text-decoration: none; }
.hib-topic-chips a:hover,
.hib-topic-chips a:focus-visible { background: var(--hib-sage); border-color: var(--hib-forest); text-decoration: none; }

.hib-editorial-notice { background: #f5effa; border-left: 5px solid #8b5aa8; border-radius: 8px; color: #3d3047; line-height: 1.55; margin-top: 1.25rem; max-width: 780px; padding: 1rem 1.15rem; }
.hib-editorial-notice strong { display: block; margin-bottom: 0.2rem; }

.hib-category-start-here { margin-bottom: clamp(2rem, 4vw, 3rem); }
.hib-category-start-here > h2 { margin-bottom: 1.25rem; }
.hib-category-start-here .hib-post-list { grid-template-columns: 1fr; }
.hib-category-start-here .hib-post-list__item { padding: 0; }
.hib-category-start-here .hib-post-list__item article { min-height: 240px; width: 100%; }
.hib-category-start-here .hib-post-list__body {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1rem, 2vw, 1.5rem);
}
.hib-category-start-here .hib-post-list__item--with-image article {
  display: grid;
  gap: 0;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.4fr);
}
.hib-category-start-here .hib-post-list__item article:not(:has(.hib-post-list__media)) {
  display: block;
  min-height: 0;
}
.hib-category-start-here .hib-post-list__media { grid-column: 1; grid-row: 1; min-height: 100%; }
.hib-category-start-here .hib-post-list__media img {
  border-radius: 0;
  height: 100%;
  max-height: none;
  min-height: 240px;
  object-fit: cover;
}
.hib-category-start-here .hib-post-list__item--with-image .hib-post-list__body {
  grid-column: 2;
  grid-row: 1;
  padding: clamp(1rem, 2vw, 1.5rem);
}
.hib-category-start-here .hib-post-list__title {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  max-width: 22ch;
}
.hib-category-stories > h2 { margin-bottom: 1.25rem; }
.hib-category-stories .hib-post-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hib-category-stories .hib-post-list__item--with-image { grid-column: auto; }
.hib-category-stories .hib-post-list__item--with-image article { display: block; }
.hib-category-stories .hib-post-list__media img { aspect-ratio: 16 / 9; border-radius: 0; height: auto; max-height: none; }
.hib-category-stories .hib-post-list__item--with-image .hib-post-list__body { padding: 1.1rem; }
.hib-category-stories .hib-post-list__item--with-image .hib-post-list__title { font-size: clamp(1.2rem, 2.2vw, 1.55rem); }

/* Wide, paginated archives and search results. */
.hib-archive-page {
  box-sizing: border-box;
  max-width: none !important;
  padding-block: clamp(2.25rem, 4vw, 4rem) !important;
  width: 100% !important;
}
.hib-archive-page > * { max-width: none !important; width: 100% !important; }
.hib-archive-section-title { margin: 1.75rem 0 1.25rem; }
.hib-archive-grid {
  display: grid !important;
  gap: 1.4rem !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
.hib-category-page .hib-category-heading,
.hib-category-page .hib-archive-section-title,
.hib-category-page .hib-archive-query,
.hib-search-page .hib-search-heading,
.hib-search-page .hib-archive-query {
  margin-inline: auto !important;
  max-width: 1600px !important;
  width: calc(100% - 2.5rem) !important;
}
.hib-archive-card {
  background: #fff;
  border: 1px solid #cfdae7;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(8, 20, 38, .055);
  height: 100%;
  overflow: hidden;
}
.hib-archive-card > * { max-width: none !important; }
.hib-archive-card-image { margin: 0 !important; }
.hib-archive-card-image img { aspect-ratio: 16 / 9; display: block; height: auto; object-fit: cover; width: 100%; }
.hib-archive-card-body { padding: 1.1rem 1.2rem 1.25rem; }
.hib-archive-card-body .wp-block-post-terms { color: var(--hib-blue, #168dff); font-size: .75rem !important; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.hib-archive-card-body .wp-block-post-title { font-size: clamp(1.15rem, 1.7vw, 1.5rem) !important; margin: .45rem 0 .65rem; }
.hib-archive-card-body .wp-block-post-excerpt { color: #4b5f76; font-size: .94rem; line-height: 1.5; }
.hib-archive-card-body .wp-block-post-date { color: #65778c; font-size: .8rem; margin-top: .75rem; }
.hib-archive-query .wp-block-query-pagination { border-top: 1px solid #cfdae7; margin-top: 2rem; padding-top: 1.25rem; }
.hib-archive-query .wp-block-query-pagination a,
.hib-archive-query .wp-block-query-pagination .current { background: #fff; border: 1px solid #cbd8e6; border-radius: 8px; display: inline-flex; margin: .15rem; padding: .45rem .7rem; }
.hib-archive-query .wp-block-query-pagination .current { background: #168dff; border-color: #168dff; color: #fff; }

/* Compact recently-updated module without a narrow 760px inner column. */
.hib-recently-updated { max-width: 1180px !important; padding-block: 2.25rem !important; width: calc(100% - 2rem) !important; }
.hib-recently-updated > .hib-section-heading,
.hib-recently-updated > .hib-post-list { max-width: none !important; width: 100% !important; }
.hib-recently-updated .hib-post-list { gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hib-recently-updated .hib-post-list__item { background: #fff; border: 1px solid #d4deea; border-radius: 12px; padding: 1.1rem 1.2rem; }

@media (max-width: 900px) {
  .hib-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 620px) {
  .hib-archive-grid,
  .hib-recently-updated .hib-post-list { grid-template-columns: 1fr !important; }
  .hib-archive-page { width: 100% !important; }
  .hib-category-page .hib-category-heading,
  .hib-category-page .hib-archive-section-title,
  .hib-category-page .hib-archive-query,
  .hib-search-page .hib-search-heading,
  .hib-search-page .hib-archive-query { width: calc(100% - 1.25rem) !important; }
}

.hib-author-header { align-items: flex-start; gap: 1.25rem; margin-bottom: 2rem; }
.hib-author-header .wp-block-avatar { flex: 0 0 auto; margin: 0; }
.hib-author-header .wp-block-avatar img { border-radius: 999px; display: block; }
.hib-author-header__bio { color: #40564a; font-size: 1.02rem; line-height: 1.55; margin-top: 0.5rem; }

.hib-404 { text-align: left; }
.hib-404 .wp-block-search { margin: 1.5rem 0 2.5rem; max-width: 420px; }

/*
 * Reserved ad slot heights. Not populated with markup pre-approval; kept here
 * so that dropping an ad unit in later (Ad Inserter or similar) doesn't shift
 * layout. Apply .hib-ad-slot to the wrapper and set a size modifier.
 */
.hib-ad-slot {
  align-items: center;
  display: flex;
  justify-content: center;
  margin-block: 2rem;
  overflow: hidden;
}

.hib-ad-slot--in-article { min-height: 250px; }
.hib-ad-slot--leaderboard { min-height: 90px; }
.hib-ad-slot--sidebar { min-height: 600px; }

@media (max-width: 781px) {
  .admin-bar .hib-site-header { top: 46px; }
  .hib-header-inner { gap: 0.65rem; justify-content: flex-start; min-height: 66px; }
  .hib-brand { height: 46px; width: clamp(175px, 52vw, 235px); }
  .hib-header-search { margin-left: auto; }
  .hib-header-search.wp-block-search__button-only:not(.wp-block-search__searchfield-hidden) .wp-block-search__inside-wrapper { width: min(190px, 56vw); }
  .hib-site-footer { margin-top: 2rem; padding-top: 1.75rem; }

  .hib-menu-toggle {
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--hib-ink);
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 38px;
    font-size: 1.55rem;
    height: 38px;
    justify-content: center;
    padding: 0;
  }

  .hib-primary-nav {
    align-items: stretch;
    animation: none;
    background: var(--hib-cream);
    box-shadow: 12px 0 35px rgba(13, 34, 21, 0.22);
    display: flex;
    flex-direction: column;
    gap: 0;
    height: 100dvh;
    inset: 0 auto 0 0;
    margin: 0;
    max-width: none;
    overflow-y: auto;
    padding: 4.75rem 1.35rem 2rem;
    position: fixed;
    transform: translateX(-105%);
    transition: transform 220ms ease-out;
    width: min(68vw, 240px);
    z-index: 100002;
  }

  .hib-primary-nav.is-open { transform: translateX(0); }

  .hib-primary-nav a {
    border-bottom: 1px solid var(--hib-border);
    display: block;
    font-size: 1rem;
    padding: 0.9rem 0;
    text-align: left;
    width: 100%;
  }

  .hib-menu-close {
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--hib-ink);
    cursor: pointer;
    display: inline-flex;
    font-size: 2rem;
    height: 40px;
    justify-content: center;
    padding: 0;
    position: absolute;
    right: 1.25rem;
    top: 1.25rem;
    width: 40px;
  }

  .hib-menu-scrim:not([hidden]) {
    background: rgba(15, 38, 24, 0.5);
    border: 0;
    display: block;
    inset: 0;
    padding: 0;
    position: fixed;
    z-index: 100001;
  }

  body.hib-menu-open { overflow: hidden; }

  .hib-latest-stories .hib-post-list,
  .hib-trending-now .hib-post-list,
  .hib-topic-section .hib-post-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .hib-topic-hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hib-topic-hub-card,
  .hib-topic-hub-card:nth-child(4),
  .hib-topic-hub-card:nth-child(5) { grid-column: auto; }
  .hib-topic-hub-card { min-height: 220px; }
}

@media (max-width: 620px) {
  .hib-post-list,
  .hib-latest-stories .hib-post-list,
  .hib-trending-now .hib-post-list,
  .hib-popular-explainers .hib-post-list,
  .hib-topic-section .hib-post-list { grid-template-columns: 1fr; }

  .hib-topic-hub-grid { grid-template-columns: 1fr; }
  .hib-category-stories .hib-post-list { grid-template-columns: 1fr; }
  .hib-topic-hub-card { box-sizing: border-box; min-height: 0; padding: .85rem; width: 100%; }
  .hib-topic-hub-card strong { display: block; font-size: .8rem; line-height: 1.12; white-space: normal; }
  .hib-topic-section .hib-section-heading { align-items: flex-start; flex-direction: column; gap: 0.75rem; }

  .hib-trending-now .hib-post-list__item:first-child { grid-column: auto; }

  .hib-post-list__item--with-image article { flex-direction: column; }
  .hib-post-list__item--with-image .hib-post-list__body { padding: 0 1rem 1rem; }
  .hib-category-start-here .hib-post-list__item--with-image article { display: block; min-height: 0; }
  .hib-category-start-here .hib-post-list__media { width: 100%; }
  .hib-category-start-here .hib-post-list__media img { aspect-ratio: 16 / 9; height: auto; min-height: 0; width: 100%; }
  .hib-category-start-here .hib-post-list__item--with-image .hib-post-list__body { padding: 1.2rem; width: 100%; }
  .hib-category-start-here .hib-post-list__title { max-width: none; }
}

@keyframes hib-menu-slide-in {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hib-primary-nav { transition: none; }
}
/* TrendDrop publication redesign v0.5.1 */
:root {
  --hib-cream: #f3f6fa;
  --hib-paper: #ffffff;
  --hib-ink: #111a27;
  --hib-forest: #168dff;
  --hib-forest-dark: #0867d1;
  --hib-sage: #e8f3ff;
  --hib-yellow: #4fc3ff;
  --hib-peach: #dfeeff;
  --hib-lavender: #e8eaff;
  --hib-muted: #5d6b7d;
  --hib-border: #d9e1eb;
  --hib-shadow: 0 18px 45px rgba(8, 20, 38, 0.12);
  --hib-night: #070b12;
  --hib-night-soft: #0d1522;
  --hib-blue: #168dff;
  --hib-blue-bright: #51c3ff;
}

body {
  background: var(--hib-cream);
  color: var(--hib-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h1, h2, h3, h4, h5, h6,
.wp-block-post-title,
.hib-post-list__title,
.hib-topic-hub-card strong {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight: 850;
  letter-spacing: -0.035em;
}

.hib-announcement {
  background: linear-gradient(90deg, #0867d1, #23a9ff 55%, #0867d1);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  padding: 0.48rem 1rem;
}

.hib-site-header {
  background: rgba(7, 11, 18, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.hib-header-inner { min-height: 72px; }

.hib-brand {
  align-items: center;
  background: none;
  color: #fff;
  display: inline-flex;
  gap: 0.7rem;
  height: auto;
  text-decoration: none;
  width: auto;
}

.hib-brand:hover { text-decoration: none; }

.hib-brand__mark {
  background: #05070b url("../images/trenddrop-mark.png") center / cover no-repeat;
  border: 1px solid rgba(81, 195, 255, 0.42);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(22, 141, 255, 0.32);
  display: block;
  flex: 0 0 44px;
  height: 44px;
  width: 44px;
}

.hib-brand__text {
  color: #fff;
  font-size: 0.98rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hib-primary-nav a { color: rgba(255, 255, 255, 0.82); font-size: 0.78rem; letter-spacing: 0.015em; }
.hib-primary-nav a:hover,
.hib-primary-nav a:focus-visible { color: var(--hib-blue-bright); }

.hib-header-search .wp-block-search__button {
  background: var(--hib-blue);
  border: 0;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 8px 20px rgba(22,141,255,.22);
  color: #fff;
}

.hib-header-search .wp-block-search__input {
  background: #101a29;
  border: 1px solid #2a3b51;
  border-radius: 999px;
  color: #fff;
  padding-inline: 0.9rem;
}

.hib-home-intro {
  background:
    radial-gradient(circle at 18% 20%, rgba(22, 141, 255, 0.31), transparent 30%),
    radial-gradient(circle at 78% 5%, rgba(68, 202, 255, 0.16), transparent 28%),
    linear-gradient(135deg, #05080e 0%, #0b1422 58%, #07101b 100%);
  box-sizing: border-box;
  color: #fff;
  margin: 0 !important;
  max-width: none !important;
  overflow: hidden;
  padding: clamp(4.5rem, 10vw, 8.5rem) 1.25rem;
  position: relative;
  width: 100%;
}

.hib-home-intro::before {
  color: var(--hib-blue-bright);
  content: "HELPFUL INFO BASE";
  display: block;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  margin-bottom: 1.1rem;
}

.hib-home-intro::after {
  background: linear-gradient(90deg, var(--hib-blue), transparent);
  bottom: 0;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  width: 42%;
}

.hib-home-intro h1 {
  color: #fff;
  font-size: clamp(3rem, 8vw, 6.8rem);
  letter-spacing: -0.065em;
  line-height: 0.92;
  margin: 0 auto 1.35rem;
  max-width: 940px;
}

.hib-home-intro p {
  color: #b8c6d8;
  font-size: clamp(1.02rem, 1.8vw, 1.25rem);
  max-width: 760px;
}

.hib-section { padding-block: clamp(3rem, 6vw, 5.25rem); }
.hib-section-heading h2 { font-size: clamp(1.8rem, 3.3vw, 2.8rem); }
.hib-section-note { color: var(--hib-muted); }

.hib-topic-hubs { padding-top: clamp(2.75rem, 5vw, 4.25rem); }
.hib-topic-hub-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hib-topic-hub-card,
.hib-topic-hub-card:nth-child(4),
.hib-topic-hub-card:nth-child(5) {
  background: linear-gradient(155deg, #121d2c, #090f19);
  border: 1px solid #26364b;
  border-radius: 14px;
  color: #fff;
  grid-column: auto;
  min-height: 205px;
  overflow: hidden;
  padding: 1.2rem;
  position: relative;
}

.hib-topic-hub-card:hover,
.hib-topic-hub-card:focus-visible {
  border-color: var(--hib-blue);
  box-shadow: 0 18px 44px rgba(8, 20, 38, 0.24), 0 0 0 1px rgba(22, 141, 255, 0.22);
}

.hib-topic-hub-card::before { background: var(--hib-blue); height: 4px; margin-bottom: 1.15rem; width: 44px; }
.hib-topic-hub-card--sports::before { background: #ff7a45; }
.hib-topic-hub-card--tech::before { background: #4f9dff; }
.hib-topic-hub-card--money::before { background: #ad78ff; }
.hib-topic-hub-card--consumer::before { background: #ffbd45; }
.hib-topic-hub-card--how-to::before { background: #25c98a; }
.hib-topic-hub-card__number { color: #77879c; }
.hib-topic-hub-card strong { color: #fff; font-size: clamp(1.1rem, 1.35vw, 1.35rem); letter-spacing: -0.035em; }
.hib-topic-hub-card > span:not(.hib-topic-hub-card__number) { color: #aebdd0; font-size: 0.82rem; }
.hib-topic-hub-card em { color: var(--hib-blue-bright); font-size: 0.78rem; }

/* Keep the six primary desks readable on wide screens. The constrained
   block layout otherwise limits the grid itself to the narrow content size. */
.hib-topic-hubs > .hib-section-heading,
.hib-topic-hubs > .hib-topic-hub-grid {
  max-width: var(--wp--style--global--wide-size, 1180px) !important;
  width: 100% !important;
}

.hib-topic-hub-card {
  overflow: visible;
}

.hib-topic-hub-card strong {
  font-size: clamp(.98rem, 1.05vw, 1.18rem);
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

.hib-trending-now { padding-top: clamp(3rem, 6vw, 5rem); }
.hib-trending-now .hib-section-heading h2::before {
  background: var(--hib-blue);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(22,141,255,.14);
  content: "";
  display: inline-block;
  height: 9px;
  margin: 0 .7rem .22rem 0;
  width: 9px;
}

.hib-post-list__item {
  border: 1px solid var(--hib-border);
  border-radius: 12px;
  box-shadow: 0 8px 26px rgba(12, 27, 48, 0.06);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.hib-post-list__item:hover {
  border-color: #a9c8e8;
  box-shadow: 0 16px 38px rgba(12, 27, 48, 0.11);
  transform: translateY(-3px);
}

.hib-post-list__media img { border-radius: 0; }
.hib-post-list__category { color: var(--hib-forest-dark); letter-spacing: 0.08em; }
.hib-post-list__title a { color: var(--hib-ink); }
.hib-post-list__title a:hover { color: var(--hib-forest-dark); text-decoration: none; }
.hib-post-list__excerpt { color: #526174; }

.hib-primary-sections { background: #eaf0f7 !important; max-width: none !important; }
.hib-primary-sections > * { margin-inline: auto; max-width: 1180px; }
.hib-topic-section { border-color: #cbd7e4; }
.hib-topic-section .hib-section-heading a { color: var(--hib-forest-dark); }

.hib-about-strip {
  background: linear-gradient(135deg, #0a111c, #102138) !important;
  border: 1px solid #263c58;
  border-radius: 18px;
  color: #fff;
}
.hib-about-strip h2 { color: #fff; }
.hib-about-strip p { color: #b8c6d8; }
.hib-about-strip a { color: var(--hib-blue-bright); }

.hib-category-heading .wp-block-query-title,
.hib-search-heading .wp-block-query-title { letter-spacing: -0.055em; }
.hib-topic-chips a { background: #fff; border-color: #cfd9e5; }
.hib-topic-chips a:hover,
.hib-topic-chips a:focus-visible { background: var(--hib-sage); border-color: var(--hib-blue); }
.hib-category-start-here .hib-post-list__item { overflow: hidden; }

body.single main.hib-section,
body.page main.hib-section {
  background: #fff;
  border: 1px solid #e0e6ee;
  border-radius: 18px;
  box-shadow: 0 18px 55px rgba(10, 26, 47, 0.07);
  box-sizing: border-box;
  margin-bottom: 3rem;
  margin-top: 2.5rem;
  padding-inline: clamp(1.2rem, 4.5vw, 4rem);
}

body.single .wp-block-post-title {
  color: #101722;
  font-size: clamp(2.35rem, 5.4vw, 4.6rem) !important;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.hib-breadcrumbs,
.hib-breadcrumbs a,
.hib-byline__dates { color: #68768a; }
.hib-byline__name { color: var(--hib-ink); }
.hib-article-intro { color: #334258; }
.wp-block-post-content h2 { font-size: clamp(1.7rem, 3.2vw, 2.35rem); margin-top: 2.5rem; }
.wp-block-post-content h3 { font-size: clamp(1.25rem, 2.3vw, 1.65rem); margin-top: 2rem; }
.wp-block-post-content a { color: #0867d1; text-decoration: underline; }
.wp-block-post-content a:hover { color: #004a9c; }
.hib-article-featured-image img,
body.single .wp-block-post-featured-image img { border-radius: 12px; }
.wp-block-post-content .wp-block-table th { background: #e8f3ff; }
.wp-block-post-content .wp-block-table th,
.wp-block-post-content .wp-block-table td { border-color: #aebdce; }
.wp-block-post-content .wp-block-table tbody tr:nth-child(even) { background: #f5f8fc; }
.hib-share__button { border-color: #b8c5d4; color: var(--hib-forest-dark); }
.hib-share__button:hover,
.hib-share__button:focus-visible { background: var(--hib-sage); border-color: var(--hib-blue); }
.hib-share__button--copy { background: var(--hib-blue); border-color: var(--hib-blue); }
.hib-related { background: var(--hib-sage); }

.hib-site-footer {
  background: #060a10;
  border-top: 3px solid var(--hib-blue);
  color: #aebbd0;
}
.hib-site-footer h2,
.hib-site-footer h3 { color: #fff; font-family: inherit !important; letter-spacing: -0.02em; }
.hib-site-footer a { color: #d9edff; }

@media (max-width: 1100px) {
  .hib-topic-hub-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .hib-primary-nav { gap: .65rem; }
  .hib-primary-nav a { font-size: .72rem; }
  .hib-brand__text { font-size: .82rem; }
}

@media (max-width: 781px) {
  .hib-header-inner { min-height: 62px; }
  .hib-menu-toggle { color: #fff; order: 0; }
  .hib-brand { order: 1; }
  .hib-brand__mark { flex-basis: 38px; height: 38px; width: 38px; }
  .hib-brand__text { font-size: .74rem; }
  .hib-header-search { order: 2; }
  .hib-primary-nav {
    background: #09111d;
    border-right: 1px solid #26364b;
    box-shadow: 16px 0 45px rgba(0,0,0,.45);
    width: min(66vw, 238px);
  }
  .hib-primary-nav a { border-color: #223146; color: #d7e2f0; font-size: .92rem; }
  .hib-menu-close { color: #fff; }
  .hib-menu-scrim:not([hidden]) { background: rgba(2, 6, 12, .72); }
  .hib-topic-hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hib-topic-hub-card { min-height: 180px; padding: 1rem; }
  .hib-topic-hub-card strong {
    font-size: .86rem;
    letter-spacing: -.02em;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  body.single main.hib-section,
  body.page main.hib-section { border-left: 0; border-radius: 0; border-right: 0; margin-top: 0; }
}

@media (max-width: 560px) {
  .hib-announcement { font-size: .61rem; letter-spacing: .1em; }
  .hib-brand__text { display: none; }
  .hib-home-intro { padding-block: 4.5rem; text-align: left; }
  .hib-home-intro::before { margin-inline: 0; }
  .hib-home-intro h1 { font-size: clamp(3.15rem, 17vw, 5rem); margin-inline: 0; }
  .hib-home-intro p { margin-inline: 0; }
  .hib-topic-hub-grid { grid-template-columns: 1fr; }
  .hib-topic-hub-card { min-height: 0; }
  body.single .wp-block-post-title { font-size: clamp(2.25rem, 12vw, 3.4rem) !important; }
}/* Always-visible search v0.5.2 */
.hib-header-search {
  flex: 0 1 235px;
  width: min(235px, 20vw);
}

.hib-header-search .wp-block-search__inside-wrapper {
  align-items: center;
  background: #101a29;
  border: 1px solid #2a3b51;
  border-radius: 999px;
  box-sizing: border-box;
  display: flex;
  gap: 0.2rem !important;
  padding: 3px;
  width: 100%;
}

.hib-header-search .wp-block-search__input {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #fff;
  flex: 1 1 auto;
  font-size: 0.88rem;
  min-width: 0;
  padding: 0.48rem 0.3rem 0.48rem 0.8rem;
}

.hib-header-search .wp-block-search__input::placeholder { color: #91a2b7; }

.hib-header-search .wp-block-search__button {
  flex: 0 0 38px;
  height: 38px;
  margin: 0 !important;
  order: 2;
  width: 38px;
}

@media (max-width: 781px) {
  .hib-header-inner {
    flex-wrap: wrap !important;
    padding-bottom: 0.7rem;
    padding-top: 0.55rem;
  }

  .hib-menu-toggle { order: 0; }
  .hib-brand { order: 1; }

  .hib-header-search {
    flex: 1 0 100%;
    margin: 0 !important;
    order: 3;
    width: 100%;
  }

  .hib-header-search .wp-block-search__inside-wrapper {
    max-width: none !important;
    width: 100% !important;
  }
}/* Compact mobile header v0.5.3 */
@media (max-width: 781px) {
  .hib-header-inner {
    flex-wrap: nowrap !important;
    gap: 0.45rem;
    min-height: 60px;
    padding: 0.45rem 0.75rem;
  }

  .hib-menu-toggle {
    flex-basis: 32px;
    height: 34px;
    width: 32px;
  }

  .hib-brand {
    flex: 0 1 auto;
    gap: 0.38rem;
    min-width: 0;
  }

  .hib-brand__mark {
    flex-basis: 34px;
    height: 34px;
    width: 34px;
  }

  .hib-brand__text {
    display: block;
    font-size: 0.63rem;
    letter-spacing: 0.035em;
    line-height: 1.05;
    max-width: 72px;
    white-space: normal;
  }

  .hib-header-search {
    flex: 1 1 120px;
    margin: 0 0 0 auto !important;
    max-width: 170px;
    min-width: 96px;
    order: 2;
    width: auto;
  }

  .hib-header-search .wp-block-search__inside-wrapper {
    height: 38px;
    max-width: none !important;
    width: 100% !important;
  }

  .hib-header-search .wp-block-search__input {
    font-size: 0.76rem;
    padding: 0.35rem 0.15rem 0.35rem 0.65rem;
  }

  .hib-header-search .wp-block-search__button {
    flex-basis: 32px;
    height: 32px;
    width: 32px;
  }
}

@media (max-width: 390px) {
  .hib-header-inner { gap: 0.32rem; padding-inline: 0.45rem; }
  .hib-brand { gap: 0.25rem; }
  .hib-brand__mark { flex-basis: 30px; height: 30px; width: 30px; }
  .hib-brand__text { font-size: 0.57rem; max-width: 62px; }
  .hib-header-search { min-width: 88px; }
  .hib-header-search .wp-block-search__input { padding-left: 0.5rem; }
}
