/**
 * @file
 * Styles for the Blog listing (archive) page.
 *
 * Matches authoritative design at /var/www/docs/design/blog_list/AbroadLink Blog.html.
 * Card component styles (blog-pcard, blog-thumb, etc.) are redeclared here
 * because blog.less scopes them under .node--type-blog.
 */
/**
 * @file
 * Shared LESS variables — imported by general.less and component files.
 *
 * Breakpoint variables used in @media queries across the theme.
 */
/**
 * @file
 * Layout mixins — shared across content types.
 */
/* Full-bleed: break out of parent container to fill viewport width.
   Uses margin-left: calc(50% - 50vw) — the percentage resolves against the
   direct parent's width, cancelling out any centering offset, so the element
   always aligns with the viewport's left edge regardless of nesting depth. */
/* =========================================================================
   FULL-BLEED and GAP FIXES
   Drupal's highlighted region and .main-content both sit between the
   sticky header and hero section. Kill all their vertical spacing.
   ========================================================================= */
.path-blog .highlighted {
  display: none;
}
.path-blog main.main-content {
  /* Bootstrap 5 grid (.row > .col) leaves 8px gap between main and its
     first child section even with margin/padding 0. This counteracts it. */
  margin-top: -8px !important;
  padding-top: 0 !important;
}
/* Eliminate any Bootstrap grid gutter-y that leaks onto <main>. */
.path-blog .row {
  --bs-gutter-y: 0;
}
.path-blog #main-wrapper {
  padding-top: 0 !important;
  margin-top: 0 !important;
  /* Prevent horizontal scrollbar from full-bleed sections (100vw includes
     classic scrollbar width on some browsers). clip is needed, not hidden,
     because hidden creates a scroll container that clips position:sticky. */
  overflow-x: clip;
}
.bx-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
}
.bx-toolbar {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
.blog-newsband {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
/* =========================================================================
   HERO
   ========================================================================= */
.view-blog-archive,
.blog-listing {
  margin-top: 0;
}
.bx-hero {
  background: var(--al-navy-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}
.bx-hero::after {
  content: "";
  position: absolute;
  right: -150px;
  top: -110px;
  width: 480px;
  height: 270px;
  border: 2px solid rgba(224, 144, 48, 0.3);
  border-radius: 50%;
  transform: rotate(-18deg);
  pointer-events: none;
}
.bx-hero::before {
  content: "";
  position: absolute;
  left: -120px;
  bottom: -160px;
  width: 340px;
  height: 340px;
  border: 1.5px solid rgba(224, 144, 48, 0.16);
  border-radius: 50%;
  pointer-events: none;
}
.bx-hero .container {
  position: relative;
}
.bx-hero__figure {
  position: absolute;
  right: -40px;
  bottom: 0;
  width: 600px;
  z-index: 1;
  pointer-events: none;
}
.bx-hero__figure svg {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 1080px) {
  .bx-hero__figure {
    display: none;
  }
}
.bx-hero__inner {
  position: relative;
  z-index: 2;
  padding: 56px 0 60px;
  max-width: 880px;
}
.bx-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f3c993;
  border: 1px solid rgba(224, 144, 48, 0.45);
  background: rgba(224, 144, 48, 0.1);
  padding: 7px 15px;
  border-radius: var(--radius-pill);
}
.bx-hero__eyebrow svg {
  width: 15px;
  height: 15px;
}
.bx-hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 80px 0 0;
  text-wrap: balance;
}
.bx-hero__title .accent {
  color: var(--al-orange);
}
.bx-hero__standfirst {
  font-family: var(--font-sans);
  font-size: 19px;
  line-height: 1.6;
  color: #cfe0ec;
  max-width: 62ch;
  margin: 20px 0 0;
  text-wrap: pretty;
}
.bx-hero__statsrow {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px 48px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.bx-hero__stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.bx-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bx-hero__stat b {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 48px;
  color: #fff;
  line-height: 1;
}
.bx-hero__stat span {
  font-family: var(--font-sans);
  font-size: 16px;
  color: #9fc0d6;
  letter-spacing: 0.02em;
}
/* ---------- Breadcrumb (inside hero) ---------- */
.bx-hero .blog-bc,
.bx-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.bx-hero .blog-bc a,
.bx-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.12s;
}
.bx-hero .blog-bc a:hover,
.bx-hero .breadcrumb a:hover {
  color: #fff;
}
.bx-hero .blog-bc .sep,
.bx-hero .breadcrumb__sep {
  color: rgba(255, 255, 255, 0.3);
}
.bx-hero .breadcrumb__current {
  color: var(--al-orange-300);
  font-weight: 600;
}
/* =========================================================================
   TOOLS (search + sort) — inside hero stats row
   ========================================================================= */
.bx-tools {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex: none;
  width: 364px;
  max-width: 100%;
  margin-top: 100px;
}
.bx-search {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--border-1);
  border-radius: var(--radius-pill);
  padding: 0 16px;
  height: 44px;
  width: 100%;
  transition: border-color 0.14s, box-shadow 0.14s;
}
.bx-search:focus-within {
  border-color: var(--al-orange);
  box-shadow: 0 0 0 3px rgba(224, 144, 48, 0.16);
}
.bx-search svg {
  width: 17px;
  height: 17px;
  color: var(--fg-3);
  flex: none;
}
.bx-search input {
  border: 0;
  outline: 0;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--fg-1);
  width: 100%;
}
.bx-search input::-moz-placeholder {
  color: var(--fg-muted);
}
.bx-search input::placeholder {
  color: var(--fg-muted);
}
/* ---------- Sort segmented control ---------- */
.bx-sortseg {
  display: flex;
  align-items: center;
  gap: 12px;
  align-self: stretch;
  width: 100%;
  flex-wrap: wrap;
}
.bx-sortseg__lbl {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.bx-sortseg__opts {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #fff;
  width: 100%;
  border: 1px solid var(--border-1);
  border-radius: var(--radius-pill);
  padding: 4px;
}
.bx-sortseg__inlbl {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  padding: 0 10px 0 8px;
  white-space: nowrap;
}
.bx-sortseg__opt {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-2);
  flex: 1;
  background: transparent;
  border: 0;
  border-radius: var(--radius-pill);
  height: 36px;
  padding: 0 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.12s, color 0.12s;
}
.bx-sortseg__opt:hover {
  background: #eef4f8;
  color: var(--al-navy);
}
.bx-sortseg__opt:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(224, 144, 48, 0.22);
}
.bx-sortseg__opt.is-active {
  background: var(--al-navy);
  color: #fff;
}
.bx-sortseg__opt.is-active:hover {
  background: var(--al-navy);
  color: #fff;
}
/* =========================================================================
   TOOLBAR (sticky) — chips only
   ========================================================================= */
.bx-toolbar {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--border-1);
}
.bx-chipsband {
  background: #eef4f8;
  padding: 14px 0;
  box-shadow: inset 0 1px 0 rgba(1, 55, 83, 0.06), 0 6px 18px rgba(0, 48, 80, 0.06);
  border-top: 1px solid rgba(1, 55, 83, 0.07);
  border-bottom: 1px solid rgba(1, 55, 83, 0.07);
}
.bx-toolbar__row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
  justify-content: flex-start;
}
.bx-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.bx-chip {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--al-navy);
  background: #fff;
  border: 1px solid rgba(1, 55, 83, 0.14);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.14s, color 0.14s, border-color 0.14s, box-shadow 0.14s;
}
.bx-chip:hover {
  background: #fff;
  border-color: var(--al-navy-300);
  color: var(--al-navy);
  box-shadow: 0 3px 10px rgba(0, 48, 80, 0.1);
}
.bx-chip.is-active {
  background: var(--al-navy);
  border-color: var(--al-navy);
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 48, 80, 0.22);
}
.bx-chip__count {
  opacity: 0.55;
  font-weight: 600;
  margin-left: 5px;
  font-size: 12px;
}
/* =========================================================================
   LISTING SHELL
   ========================================================================= */
.bx-listing {
  background: var(--al-white, #ffffff);
  padding: 42px 0 8px;
}
.bx-results {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 0 26px;
}
.bx-results__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  color: var(--al-navy);
  margin: 0;
  letter-spacing: -0.01em;
}
.bx-results__count {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--fg-3);
}
.bx-results__count b {
  color: var(--al-navy);
  font-weight: 700;
}
/* =========================================================================
   FEATURED CAROUSEL
   ========================================================================= */
.bx-feat-carousel {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 42px;
  box-shadow: 0 24px 60px rgba(0, 32, 54, 0.2);
  background: #013753;
}
.bx-feat-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.bx-feat-slide {
  flex: 0 0 100%;
  min-width: 0;
}
@media (prefers-reduced-motion: reduce) {
  .bx-feat-track {
    transition: none;
  }
}
/* ---------- Featured article card (inside carousel) ---------- */
.bx-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 0;
  color: #fff;
  position: relative;
}
.bx-featured__art {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, #013753, #0a4f74);
}
.bx-featured__art::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 300px;
  height: 210px;
  border: 2px solid rgba(224, 144, 48, 0.4);
  border-radius: 50%;
  transform: rotate(-16deg);
  pointer-events: none;
  z-index: 2;
}
/* Hand-drawn featured scene SVG — full bleed behind tint layer */
.bx-featured__scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}
.bx-featured__tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(150deg, rgba(1, 55, 83, 0.28), rgba(10, 79, 116, 0) 50%, rgba(1, 55, 83, 0.4));
}
.bx-featured__body {
  padding: 38px 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.bx-featured__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #013753;
  background: var(--al-orange);
  padding: 6px 13px;
  border-radius: var(--radius-pill);
}
.bx-featured__badge svg {
  width: 13px;
  height: 13px;
}
.bx-featured__cat {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: #f3c993;
  margin: 20px 0 0;
}
.bx-featured__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: #fff;
  margin: 9px 0 0;
  text-wrap: balance;
}
.bx-featured__excerpt {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: #cfe0ec;
  margin: 14px 0 0;
  max-width: 52ch;
}
.bx-featured__meta {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-wrap: wrap;
  margin-top: 24px;
  color: #bcd6e7;
  font-family: var(--font-sans);
  font-size: 14px;
}
.bx-featured__meta .blog-ava {
  width: 42px;
  height: 42px;
  font-size: 15px;
}
.bx-featured__who b {
  display: block;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.25;
}
.bx-featured__who span {
  font-size: 12.5px;
  color: #9fc0d6;
}
.bx-featured__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #6f97b1;
}
.bx-featured__cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  align-self: flex-start;
  margin-top: 28px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: #013753;
  background: #fff;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: transform 0.14s, box-shadow 0.14s, background 0.14s;
}
.bx-featured__cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.14s;
}
.bx-featured__cta:hover {
  background: var(--al-orange);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(224, 144, 48, 0.4);
}
.bx-featured__cta:hover svg {
  transform: translateX(3px);
}
/* ---------- Carousel arrows ---------- */
.bx-feat-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 48, 80, 0.82);
  color: #fff;
  font-size: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.14s, border-color 0.14s, transform 0.14s;
}
.bx-feat-arrow svg {
  width: 22px;
  height: 22px;
}
.bx-feat-arrow:hover {
  background: rgba(0, 48, 80, 0.94);
  border-color: var(--al-orange);
}
.bx-feat-arrow--prev {
  left: 16px;
}
.bx-feat-arrow--next {
  right: 16px;
}
@media (max-width: 840px) {
  .bx-feat-arrow {
    display: none;
  }
}
/* ---------- Carousel dots ---------- */
.bx-feat-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 9px;
  z-index: 5;
}
.bx-feat-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.32);
  transition: background 0.2s, width 0.2s;
}
.bx-feat-dot.is-active {
  width: 26px;
  border-radius: 5px;
  background: var(--al-orange);
}
.bx-feat-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}
/* =========================================================================
   CARD COMPONENTS (unscoped — blog.less scopes these under .node--type-blog)
   ========================================================================= */
.blog-pcard {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.16s var(--ease-out), transform 0.16s var(--ease-out), border-color 0.16s var(--ease-out);
}
.blog-pcard:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--al-navy-100);
}
.blog-thumb {
  height: 172px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-thumb__halo {
  position: absolute;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  z-index: 0;
  background: conic-gradient(from 0deg, rgba(224, 144, 48, 0) 0deg, rgba(224, 144, 48, 0.85) 60deg, rgba(255, 210, 150, 0.95) 90deg, rgba(224, 144, 48, 0) 150deg, rgba(224, 144, 48, 0) 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px));
  animation: blogOrbit 9s linear infinite;
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out);
}
.blog-thumb__halo::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  border-radius: 50%;
  background: #f2b46a;
  box-shadow: 0 0 9px 2px rgba(242, 180, 106, 0.8);
}
@keyframes blogOrbit {
  to {
    transform: rotate(360deg);
  }
}
.blog-thumb__disc {
  position: absolute;
  width: 78px;
  height: 78px;
  border-radius: 22px;
  z-index: 0;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 8px 22px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(2px);
  transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.blog-thumb::after {
  content: "";
  position: absolute;
  right: -44px;
  bottom: -54px;
  width: 170px;
  height: 120px;
  border: 2px solid rgba(224, 144, 48, 0.42);
  border-radius: 50%;
  transform: rotate(-16deg);
}
.blog-thumb--a {
  background: linear-gradient(135deg, #013753, #0a4f74);
}
.blog-thumb--b {
  background: linear-gradient(135deg, #073048, #114b6a);
}
.blog-thumb--c {
  background: linear-gradient(135deg, #0a3a55, #0f5577);
}
.blog-thumb svg {
  width: 38px;
  height: 38px;
  color: #fff;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
  transition: transform 0.3s var(--ease-out);
}
.blog-pcard:hover .blog-thumb svg {
  transform: translateY(-2px) scale(1.07);
}
.blog-pcard:hover .blog-thumb__disc {
  transform: scale(1.06) rotate(-3deg);
  border-color: rgba(224, 144, 48, 0.5);
}
.blog-pcard:hover .blog-thumb__halo {
  width: 120px;
  height: 120px;
  animation-duration: 3.5s;
}
/* ---------- Card tag ---------- */
.blog-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: background 0.12s;
}
.blog-tag--light {
  color: var(--al-orange-700);
  border: 1px solid rgba(224, 144, 48, 0.45);
  background: #fff6ec;
}
.blog-tag--light:hover {
  background: #ffeed8;
}
/* ---------- Avatar ---------- */
.blog-ava {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0a4565, #0d5a82);
  border: 2px solid rgba(224, 144, 48, 0.55);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  flex: none;
}
/* ---------- Card body ---------- */
.blog-pcard__b {
  padding: 18px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}
.blog-pcard__b .blog-tag--light {
  align-self: flex-start;
}
.blog-pcard h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  color: var(--al-navy);
  margin: 0;
}
.blog-pcard--titlehead h3 {
  color: #fff;
  font-size: 22px;
  line-height: 1.26;
}
.blog-pcard__excerpt {
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
}
.blog-pcard__foot {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding-top: 4px;
}
.blog-pcard__foot .blog-ava {
  width: 30px;
  height: 30px;
  font-size: 11px;
  border-width: 1.5px;
}
.blog-pcard__author {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--al-navy);
  line-height: 1.2;
}
.blog-pcard__author span {
  display: block;
  font-weight: 400;
  color: var(--fg-3);
  font-size: 11.5px;
}
.blog-pcard__meta {
  margin-top: auto;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--fg-3);
  display: flex;
  gap: 8px;
  align-items: center;
}
.blog-pcard__meta .rt {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.blog-pcard__meta .rt svg {
  width: 13px;
  height: 13px;
}
/* ---------- Title-in-thumb variant ---------- */
.blog-pcard--titlehead .blog-thumb {
  padding: 22px 24px;
  align-items: flex-start;
  justify-content: flex-start;
}
.blog-pcard--titlehead .blog-thumb__disc,
.blog-pcard--titlehead .blog-thumb__halo {
  display: none;
}
.blog-thumb__title {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.26;
  color: #fff;
  text-align: left;
  text-wrap: balance;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}
.blog-pcard--titlehead:hover .blog-thumb__title {
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .blog-thumb__halo {
    animation: none;
  }
}
/* ---------- Card grid ---------- */
.bx-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
/* =========================================================================
   EMPTY STATE
   ========================================================================= */
.bx-empty {
  display: none;
  text-align: center;
  padding: 60px 20px 40px;
}
.bx-empty.is-shown {
  display: block;
}
.bx-empty__icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--al-navy-50);
  color: var(--al-navy-300);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.bx-empty__icon svg {
  width: 28px;
  height: 28px;
}
.bx-empty h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  color: var(--al-navy);
  margin: 0 0 8px;
}
.bx-empty p {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--fg-3);
  margin: 0 0 18px;
}
.bx-empty button {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--al-orange-700);
  background: none;
  border: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* =========================================================================
   LOAD MORE / PAGINATION
   ========================================================================= */
.bx-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 44px 0 8px;
}
.bx-progress {
  width: 220px;
  max-width: 60vw;
  height: 5px;
  border-radius: 99px;
  background: var(--al-navy-100);
  overflow: hidden;
}
.bx-progress__bar {
  height: 100%;
  background: linear-gradient(90deg, var(--al-orange), var(--al-orange-300));
  border-radius: 99px;
  transition: width 0.4s var(--ease-out);
}
.bx-more__label {
  font-family: var(--font-sans);
  font-size: 13.5px;
  color: var(--fg-3);
}
.bx-more__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  background: var(--al-navy);
  border: 1px solid var(--al-navy);
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.14s, transform 0.14s, box-shadow 0.14s;
}
.bx-more__btn:hover {
  background: var(--al-navy-700);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 48, 80, 0.24);
}
.bx-more__btn svg {
  width: 16px;
  height: 16px;
}
.bx-more__btn[hidden] {
  display: none;
}
/* =========================================================================
   NEWSLETTER BAND
   ========================================================================= */
.blog-newsband {
  background: var(--al-navy-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.blog-newsband::before {
  content: "";
  position: absolute;
  left: -80px;
  bottom: -100px;
  width: 330px;
  height: 190px;
  border: 2px solid rgba(224, 144, 48, 0.28);
  border-radius: 50%;
  transform: rotate(14deg);
  pointer-events: none;
}
.blog-newsband__in {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  flex-wrap: wrap;
  padding: 46px 0;
}
.blog-newsband h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  line-height: 1.15;
  color: #fff;
  margin: 0;
  max-width: 17ch;
}
.blog-newsband p {
  font-family: var(--font-sans);
  font-size: 16px;
  color: #bcd6e7;
  margin: 9px 0 0;
  max-width: 46ch;
}
.blog-newsband form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.blog-newsband input {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 13px 18px;
  font-family: var(--font-sans);
  font-size: 15px;
  min-width: 250px;
}
.blog-newsband input::-moz-placeholder {
  color: #8fb1c8;
}
.blog-newsband input::placeholder {
  color: #8fb1c8;
}
.blog-newsband input:focus {
  outline: none;
  border-color: var(--al-orange);
  background: rgba(255, 255, 255, 0.12);
}
/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1080px) {
  .bx-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 980px) {
  .bx-featured {
    grid-template-columns: 1fr;
  }
  .bx-featured__art {
    min-height: 240px;
  }
}
@media (max-width: 840px) {
  .bx-tools {
    width: 100%;
  }
  .bx-search {
    flex: 1;
    min-width: 200px;
    width: auto;
  }
  .bx-sortseg {
    overflow-x: auto;
    max-width: 100%;
  }
}
@media (max-width: 680px) {
  .bx-cards {
    grid-template-columns: 1fr;
  }
  .bx-hero__inner {
    padding: 42px 0 46px;
  }
  .bx-featured__body {
    padding: 28px 24px;
  }
  .bx-hero__statsrow {
    flex-direction: column;
    gap: 24px;
  }
  .bx-tools {
    width: 100%;
  }
  .blog-newsband__in {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}
@media (max-width: 640px) {
  .bx-hero__stats {
    gap: 20px;
  }
}
/* =========================================================================
   DARK MODE
   ========================================================================= */
body.dark .bx-listing {
  background: var(--al-navy);
}
body.dark .bx-toolbar {
  background: rgba(0, 31, 54, 0.82);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
body.dark .bx-chipsband {
  background: var(--al-navy-800);
  border-top-color: rgba(255, 255, 255, 0.07);
  border-bottom-color: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}
body.dark .bx-chip {
  background: var(--al-navy-800);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.78);
}
body.dark .bx-chip:hover {
  border-color: var(--al-orange);
  color: #fff;
}
body.dark .bx-chip.is-active {
  background: var(--al-orange);
  border-color: var(--al-orange);
  color: #02283f;
}
body.dark .bx-search {
  background: var(--al-navy-800);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}
body.dark .bx-search input {
  color: #fff;
}
body.dark .bx-sortseg__opts {
  background: var(--al-navy-800);
  border-color: rgba(255, 255, 255, 0.12);
}
body.dark .bx-sortseg__opt {
  color: rgba(255, 255, 255, 0.72);
}
body.dark .bx-sortseg__opt:hover {
  background: var(--al-navy-700);
  color: #fff;
}
body.dark .bx-sortseg__opt.is-active {
  background: var(--al-orange);
  color: #02283f;
}
body.dark .bx-sortseg__opt.is-active:hover {
  background: var(--al-orange);
}
body.dark .bx-results__title {
  color: #fff;
}
body.dark .bx-results__count b {
  color: #fff;
}
body.dark .blog-pcard {
  background: var(--al-navy-800);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}
body.dark .blog-pcard:hover {
  border-color: rgba(224, 144, 48, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
body.dark .blog-pcard h3 {
  color: #fff;
}
body.dark .blog-pcard__excerpt {
  color: rgba(255, 255, 255, 0.72);
}
body.dark .blog-pcard__author {
  color: #fff;
}
body.dark .blog-pcard__author span {
  color: rgba(255, 255, 255, 0.55);
}
body.dark .blog-pcard__meta {
  color: rgba(255, 255, 255, 0.55);
}
body.dark .bx-empty__icon {
  background: var(--al-navy-800);
}
body.dark .bx-empty h3 {
  color: #fff;
}
body.dark .bx-more__btn {
  background: var(--al-orange);
  border-color: var(--al-orange);
  color: #02283f;
}
body.dark .bx-more__btn:hover {
  background: var(--al-orange-300);
}
body.dark .bx-progress {
  background: var(--al-navy-800);
}
body.dark .blog-tag--light {
  color: var(--al-orange-300);
  border-color: rgba(224, 144, 48, 0.4);
  background: rgba(224, 144, 48, 0.12);
}
body.dark .blog-tag--light:hover {
  background: rgba(224, 144, 48, 0.22);
}
body.dark .blog-ava {
  border-color: rgba(224, 144, 48, 0.4);
  background: linear-gradient(135deg, #0a3a55, #0d4a6e);
}
body.dark .bx-feat-carousel {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
body.dark .bx-feat-dot {
  background: rgba(255, 255, 255, 0.2);
}
body.dark .bx-feat-dot:hover {
  background: rgba(255, 255, 255, 0.45);
}
body.dark .bx-feat-arrow {
  background: rgba(0, 48, 80, 0.9);
}
