/* ============================================================
   CHICAGO DAILY NEWS â€” HOMEPAGE
   ============================================================ */

:root {
  --red:       #b21b1b;
  --red-soft:  #fff2f0;
  --ink:       #141414;
  --text:      #222;
  --muted:     #6d6d6d;
  --line:      #d9d9d6;
  --line-soft: #ececea;
  --paper:     #fafafa;
  --panel:     #f4f4f2;
  --white:     #fff;
  --sans:      'Source Sans 3', 'Helvetica Neue', sans-serif;
  --max-w:     1240px;
  --nav-h:     58px;

  --primary-500: #b21b1b;
  --primary-700: #8f1515;
  --primary-800: #6a0f0f;
  --primary-100: #fff2f0;
  --accent-400:  #b21b1b;
  --accent-500:  #8f1515;
  --text-muted:  #6d6d6d;
  --gray-300:    #d9d9d6;
  --gray-600:    #6d6d6d;
  --background:  #fafafa;
  --border:      #d9d9d6;
  --surface-100: #f4f4f2;
  --box-shadow-sm: 0 1px 3px 0 rgba(34, 40, 42, 0.1);
  --box-shadow-md: 0 4px 20px 0 rgba(33, 37, 41, 0.05);
  --box-shadow-lg: 0 4px 20px 0 rgba(33, 37, 41, 0.15);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  width: 100%;
  max-width: 100%;
  background: var(--paper);
}
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.5;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { background: var(--white); }
a { text-decoration: none; color: inherit; transition: color .18s ease, background-color .18s ease, border-color .18s ease; }
img { max-width: 100%; }
h1, h2, h3, h4, p, li, a { overflow-wrap: break-word; }
::selection { background: var(--red); color: var(--white); }

/* Universal headline transitions */
h1 a, h2 a, h3 a, h4 a { transition: color .18s ease; }

/* Headline link hover â€” all contexts */
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover,
.text-list a:hover, .story-list a:hover, .three-list a:hover,
.catchup-box a:hover,
.mini-title a:hover, .env-title a:hover,
.feat-hed a:hover, .col-feat-hed a:hover,
.three-col-hed a:hover, .right-feat-hed a:hover,
.right-story-txt a:hover { color: var(--red); }


/* Card-level hover â†’ title turns red (whole card is interactive) */

/* Card-level hover — image zoom */

ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; padding: 0; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; border-radius: 2px; }

/* ---- Image System ---- */
.img-box {
  overflow: hidden;
  display: block;
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
}
.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .32s ease, filter .32s ease;
}
.img-box:hover img { transform: scale(1.025); filter: saturate(1.04); }
.image-link { display: block; color: inherit; }
.thumb-row > .image-link,
.right-story > .image-link,
.mfc-story > .image-link { flex: 0 0 auto; }
.image-link:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 5px; }

.r-16-9 { aspect-ratio: 16 / 9; }
.r-4-3  { aspect-ratio: 4 / 3; }
.r-3-2  { aspect-ratio: 3 / 2; }

.t-90 { width: 104px; min-width: 104px; height: 78px; flex-shrink: 0; }
.t-80 { width: 92px;  min-width: 92px;  height: 69px; flex-shrink: 0; }
.t-72 { width: 84px;  min-width: 84px;  height: 63px; flex-shrink: 0; }

/* ---- Labels / badges ---- */
.lbl {
  display: inline-block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  padding: 4px 8px;
  line-height: 1.4;
  margin-bottom: 6px;
  border-radius: 2px;
}
.lbl-exclusive { background: var(--red);  color: var(--white); }
.lbl-analysis  { background: var(--ink);  color: var(--white); }
.lbl-featured  { background: #245c74;     color: var(--white); }

/* ---- Layout ---- */
.wrap { max-width: var(--max-w); margin: 0 auto; width: 100%; }
.wrap, .hero-grid, .more-top-grid, .two-col, .three-col, .four-grid, .mfc-grid,
.hero-left, .hero-center, .hero-right, section, article,
.hero-grid > *, .more-top-grid > *, .two-col > *, .three-col > *,
.four-grid > *, .mfc-grid > * { min-width: 0; }

/* ---- Section heads ---- */
.sh {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  padding: 24px 0 14px;
  border-top: 1px solid var(--line);
}
.sh-title {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  white-space: nowrap;
  color: var(--ink);
  margin-right: auto;
}
.sh-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 13px;
  background: var(--red);
  margin-right: 8px;
  vertical-align: -2px;
}
.sh-rule { display: none; }
.sh-more {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--muted);
  white-space: nowrap;
  transition: color .18s ease;
}
.sh-more::after {
  content: '›';
  font-size: 15px;
  line-height: 1;
  display: inline-block;
  margin-left: 1px;
  transition: transform .18s ease;
  padding-bottom: 3px;
}
.sh-more:hover { color: var(--red); }
.sh-more:hover::after { transform: translateX(2px); }

/* ============================================================
   NAVIGATION
============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  width: 100%;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav-bar {
  display: flex;
  align-items: center;
  height: var(--nav-h);
}

.nav-brand {
  margin-right: 10px;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 10px 0 10px 14px;
  flex-shrink: 0;
  margin-left: auto;
  min-width: 44px;
  min-height: 44px;
  order: 3;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform .28s cubic-bezier(.4,0,.2,1), opacity .22s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.logo {
  max-width: 140px;
}

.main-nav {
  display: flex;
  height: var(--nav-h);
  order: 2;
  width: 100%;
  justify-content: space-between;
}
.main-nav a {
  display: flex;
  align-items: center;
  color: #3d3d3d;
  font-size: 14px;
  font-weight: 700;
  padding: 0 12px;
  white-space: nowrap;
  flex: 0 0 auto;
  position: relative;
  letter-spacing: 0;
  transition: color .18s ease;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform .22s ease;
}
.main-nav a:hover { color: var(--red); }
.main-nav a:hover::after { transform: scaleX(1); }

/* Mobile dropdown */
.mob-nav {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--white);
  z-index: 190;
  border-top: 1px solid var(--line-soft);
  box-shadow: 0 18px 30px rgba(0,0,0,.11);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: max-height .32s cubic-bezier(.4,0,.2,1), opacity .24s ease;
}
.mob-nav.open {
  max-height: calc(100dvh - var(--nav-h));
  overflow-y: auto;
  opacity: 1;
  pointer-events: auto;
}
.mob-nav a {
  display: flex;
  align-items: center;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  padding: 15px 24px;
  border-bottom: 1px solid var(--line-soft);
  border-left: 3px solid transparent;
  letter-spacing: 0;
  transition: background .15s ease, color .15s ease, border-left-color .15s ease;
}
.mob-nav a:hover {
  background: var(--red-soft);
  color: var(--red);
  border-left-color: var(--red);
  text-decoration: none;
}

/* ============================================================
   HERO GRID
============================================================ */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(220px, 270px) minmax(0, 1fr) minmax(240px, 300px);
  gap: 24px;
  padding: 26px 0 30px;
}

/* Left sidebar */
.hero-left { padding-right: 0; }

.side-card {
  padding: 0 0 17px;
  margin-bottom: 17px;
  border-bottom: 1px solid var(--line-soft);
  cursor: pointer;
}
.side-card:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.side-card .img-box { margin-bottom: 10px; }
.side-card-body h3 {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.24;
  letter-spacing: 0;
}
.side-card-body .lbl { margin-bottom: 6px; }

/* Center feature */
.hero-center { padding: 0; }

.hero-hed {
  font-size: 38px;
  font-weight: 750;
  line-height: 1.04;
  text-align: center;
  margin-bottom: 18px;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-img-wrap { position: relative; margin-bottom: 12px; }

/* Right sidebar */
.hero-right { padding-left: 22px; border-left: 1px solid var(--line); }

.catchup-box {
  background: var(--panel);
  border-top: 3px solid var(--red);
  padding: 14px;
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}
.right-sec-lbl {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
  margin-bottom: 12px;
}
.right-sec-lbl::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 12px;
  background: var(--red);
  margin-right: 7px;
  vertical-align: -2px;
}
.right-feat-hed {
  font-size: 17px;
  font-weight: 650;
  line-height: 1.25;
  margin: 10px 0 12px;
}
.right-story {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
  align-items: flex-start;
  min-width: 0;
}
.right-story-txt { min-width: 0; font-size: 13px; font-weight: 700; line-height: 1.32; }

/* ============================================================
   MORE TOP STORIES
============================================================ */
.more-top { padding: 0 0 36px; }
.more-top-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 34px; align-items: start; }
.mt-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; }
.mt-lead { cursor: pointer; }
.mt-card { cursor: pointer; }
.mt-card .img-box { margin-bottom: 8px; }
.mt-card h4 {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: 0;
  text-wrap: balance;
}

.feat-hed {
  font-size: 27px;
  font-weight: 750;
  line-height: 1.14;
  margin-top: 12px;
  letter-spacing: 0;
  text-wrap: balance;
}
.story-list li {
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}
.story-list li:last-child { border-bottom: none; }

.thumb-row { display: flex; gap: 10px; align-items: flex-start; min-width: 0; }
.thumb-row a { min-width: 0; }

/* ============================================================
   TWO-COLUMN ROW  (Weather + Lifestyle)
============================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  padding: 0 0 36px;
  align-items: start;
}

.climate-hero { position: relative; margin-bottom: 14px; }
.climate-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 58px 16px 15px;
  background: linear-gradient(transparent, rgba(0,0,0,.88));
  border-radius: 0 0 4px 4px;
}
.climate-overlay p { color: var(--white); font-size: 17px; font-weight: 700; line-height: 1.28; letter-spacing: 0; }
.climate-overlay p a:hover { color: rgba(255,255,255,.8); }

.three-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mini-title { font-size: 13.5px; font-weight: 700; line-height: 1.32; margin-top: 7px; }

.col-feat-hed {
  font-size: 23px;
  font-weight: 750;
  line-height: 1.16;
  margin: 12px 0 12px;
  letter-spacing: 0;
  text-wrap: balance;
}
.text-list { padding-left: 0; margin: 0; }
.text-list li { padding: 10px 0; border-top: 1px solid var(--line-soft); font-size: 14.5px; font-weight: 700; line-height: 1.38; }

/* ============================================================
   THREE-COLUMN ROW
============================================================ */
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 0 0 36px;
  align-items: start;
}
.three-col-hed {
  font-size: 20px;
  font-weight: 750;
  line-height: 1.18;
  margin: 10px 0;
  letter-spacing: 0;
  text-wrap: balance;
}
.three-list { padding-left: 0; margin: 0; }
.three-list li {
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
  line-height: 1.36;
  font-weight: 700;
}

/* ============================================================
   LOCAL NEWS / FOUR-COLUMN STRIP
============================================================ */
.env-watch { padding: 0 0 36px; }
.four-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.env-title { font-size: 14.5px; font-weight: 700; line-height: 1.32; margin-top: 8px; }

/* ============================================================
   MORE FROM CDN  (dark full-width section)
============================================================ */
.mfc { background: var(--ink); padding: 36px 0 32px; margin-top: 6px; }

.mfc-lbl {
  color: var(--white);
  font-size: 25px;
  font-weight: 750;
  letter-spacing: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  margin-bottom: 20px;
}
.mfc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 34px; }
.mfc .img-box { border: 0; }
.mfc .lbl { margin-top: 12px; }

.mfc-feat-hed {
  font-size: 29px;
  font-weight: 750;
  color: var(--white);
  line-height: 1.14;
  margin-top: 10px;
  letter-spacing: 0;
  text-wrap: balance;
}
.mfc-story {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  min-width: 0;
}
.mfc-story:last-child { border-bottom: none; }
.mfc-story-txt { min-width: 0; color: rgba(255,255,255,.9); font-size: 14px; font-weight: 700; line-height: 1.34; }

/* ============================================================
   FOOTER
============================================================ */
.footer { background: var(--ink); width: 100%; }

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 24px 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  gap: 12px;
  box-sizing: border-box;
  text-align: center;
}

.footer-brand {
  margin-bottom: 10px;
}

.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: center; }
.footer-nav a { color: rgba(255,255,255,.55); font-size: 12px; font-weight: 600; transition: color .15s ease; }
.footer-nav a:hover { color: var(--white); text-decoration: none; }

.footer-btm { max-width: var(--max-w); margin: 0 auto; padding: 14px 24px; text-align: center; box-sizing: border-box; width: 100%; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.38); font-size: 11px; transition: color .15s ease; }
.footer-links a:hover { color: rgba(255,255,255,.7); text-decoration: none; }
.site-disclaimer { color: rgba(255,255,255,.25); font-size: 11px; margin-top: 6px; line-height: 1.6; }
.site-disclaimer a { color: rgba(255,255,255,.45); text-decoration: underline; transition: color .15s ease; }
.site-disclaimer a:hover { color: rgba(255,255,255,.75); }

/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 1280px) {
  .wrap { padding: 0 28px }
}

@media (max-width: 1190px) {
  .hamburger { display: flex; }
  .main-nav { display: none; }
  .logo { margin-right: 0; }
}

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 220px minmax(0, 1fr) 250px; gap: 20px; }
  .hero-right { padding-left: 18px; }
  .wrap { padding: 0 22px; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 210px minmax(0, 1fr); }
  .hero-right { display: none; }
  .three-col { grid-template-columns: 1fr 1fr; }
  .mfc-grid { grid-template-columns: minmax(0, 1fr) 290px; }
}

@media (max-width: 700px) {
  .wrap { padding: 0 16px; }
  .nav-bar { height: 56px; }
  .mob-nav { top: 56px; }
  .mob-nav.open { max-height: calc(100dvh - 56px); }
  .logo { max-width: 150px}
  .hero-grid { grid-template-columns: 1fr; gap: 18px; padding: 20px 0 26px; }
  .hero-center { order: -1; padding: 0; }
  .hero-left {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 2px;
  }
  .side-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
  }
  .side-card-body { min-width: 0; }
  .side-card .img-box { margin-bottom: 0; }
  .hero-right {
    display: block;
    border-left: none;
    padding-left: 0;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }
  .hero-hed { font-size: 30px; }
  .more-top-grid { grid-template-columns: 1fr; gap: 24px; }
  .two-col { grid-template-columns: 1fr; }
  .three-col { grid-template-columns: 1fr; }
  .four-grid { grid-template-columns: 1fr 1fr; }
  .mfc-grid { grid-template-columns: 1fr; }
  .footer-top { padding: 14px 16px; }
  .footer-btm { padding: 12px 16px; }
}

@media (max-width: 480px) {
  .three-grid { grid-template-columns: 1fr 1fr; }
  .mt-cards { grid-template-columns: 1fr; }
  .four-grid { grid-template-columns: 1fr; }
  .hero-hed { font-size: 27px; }
  .feat-hed { font-size: 23px; }
  .mfc-feat-hed { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
  .img-box:hover img { transform: none; }
}

/* LAYOUT RESET */
.home .container.main {
  width: 100%;
  max-width: 100%;
  padding: 0;
}

.container.layout {
  max-width: 100%;
  padding: 0;
}

.container.layout .row.layout {
  margin: 0;
}

.container.layout .row.layout > .cols {
  overflow-x: hidden;
}

.home .container.layout .row.layout > .cols {
  padding: 0;
}

.pages .main-wrapper .container.main {
  padding: 24px 28px;
  max-width: var(--max-w);
  margin: 0 auto;
}

/* FONTS RESET */
.pages .layout h1,
.pages .layout h2 {
  font-weight: 700;
  color: var(--text);
}

.pages .layout h1,
.pages .layout h2,
.pages .layout h3,
.pages .layout p,
.pages .layout strong {
  color: var(--text);
}

.pages .layout h1 {
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

.pages .layout h2 {
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 40px 0 18px;
}

.pages .layout h3 {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 600;
  margin: 24px 0 10px;
}

.pages .layout p {
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 16px;
}

.pages .layout strong {
  font-weight: 700;
}

@media (max-width: 768px) {
  .pages .layout h1 {
    font-size: 30px;
    margin-bottom: 16px;
  }

  .pages .layout h2 {
    font-size: 25px;
    margin: 32px 0 16px;
  }

  .pages .layout h3 {
    font-size: 20px;
    margin: 22px 0 8px;
  }

  .pages .layout p {
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 14px;
  }
}

/* TABLE RESET */
table { margin: 32px 0; }

table th, table td {
  border-color: var(--border) !important;
  padding: 8px 16px !important;
}

table td {
  color: var(--text) !important;
}

table th {
  background: var(--primary-500) !important;
  color: var(--white) !important;
  font-size: 13px !important;
  font-weight: bold !important;
}

table tbody tr:nth-child(even) td {
  background: var(--surface-100) !important;
}

@media (max-width: 992px) {
  table {
    display: block !important;
    overflow-x: auto !important;
    border: 0 !important;
  }
}

/* CONTACT US FORM */
#contact-form {
  margin: 45px auto 0;
  max-width: 500px;
}

#contact-form input,
#contact-form textarea {
  flex: 1;
  border: 2px solid var(--line);
  border-radius: 6px;
  outline: 0;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--text);
  min-width: 100%;
}

#contact-form input:active,
#contact-form input:focus,
#contact-form textarea:active,
#contact-form textarea:focus {
  border: 2px solid var(--primary-500);
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
  color: var(--muted);
}

#contact-form button {
  background: var(--primary-500);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  padding: 16px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s;
  white-space: nowrap;
  width: 100%;
}

#contact-form button:hover {
  background: var(--accent-500);
}

/* ============================================================
           WIDGETS
============================================================ */

/* IMAGE STYLE RESET */
.item-current-image img {
  box-shadow: none !important;
  border-radius: 4px !important;
  border-color: var(--line) !important;
}

/* SUBLIST */
.item-sublist a {
  width: 100%;
  height: 100%;
  background: none;
}

.item.item-bubbles {
  margin-bottom: 32px;
}

.item-bubbles .row {
  margin: 0;
}

.bubbles-chip {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  display: flex;
  font-weight: 500;
  height: 100%;
  padding: 16px 48px 16px 24px;
  position: relative;
  transition: padding 0.2s ease-in-out;
}

.bubbles-chip:hover {
  color: var(--text);
  background: var(--surface-100);
  border-color: var(--primary-500);
  padding-left: 20px;
}

.bubbles-chip:active,
.bubbles-chip:focus {
  background: var(--red-soft);
  color: var(--text);
}

.bubbles-link {
  display: block;
  width: 100%;
  max-width: 100%;
  text-decoration: none;
}

.bubbles-link .bubbles-outer {
  height: 100%;
  padding: 5px;
  max-width: 100%;
}

.sibling.link-button .bubbles-link .bubbles-outer,
.sibling.link-button .bubbles-chip {
  height: auto;
}

.col-gap:has(> .item-bubbles)::before {
  display: none !important;
}

.bubbles-chip::after {
  content: url("data:image/svg+xml,%3Csvg width='13' height='12' viewBox='0 0 13 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.87771 7.01782H1.02042C0.737361 7.01782 0.496528 6.91886 0.297917 6.72094C0.0993056 6.52317 0 6.2833 0 6.00136C0 5.71942 0.0993056 5.4781 0.297917 5.2774C0.496528 5.07657 0.737361 4.97615 1.02042 4.97615H8.87771L5.66583 1.76428C5.46111 1.55955 5.35681 1.31719 5.35292 1.03719C5.34889 0.757332 5.45076 0.510249 5.65854 0.295943C5.86632 0.0948319 6.11014 -0.00377823 6.39 0.000110661C6.66986 0.00399955 6.91236 0.108583 7.1175 0.313861L12.0713 5.27407C12.1699 5.37282 12.2464 5.4856 12.3008 5.6124C12.3551 5.73935 12.3823 5.86865 12.3823 6.00032C12.3823 6.13199 12.3551 6.26122 12.3008 6.38803C12.2464 6.51497 12.1727 6.62497 12.0798 6.71803L7.10958 11.688C6.89403 11.9037 6.65368 12.0081 6.38854 12.0012C6.12354 11.9942 5.88715 11.8862 5.67938 11.6772C5.4716 11.4629 5.36771 11.2166 5.36771 10.9382C5.36771 10.6599 5.4716 10.4192 5.67938 10.2162L8.87771 7.01782Z' fill='%23b21b1b'/%3E%3C/svg%3E%0A");
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  transition: 0.2s ease-in-out;
}

.bubbles-chip:hover::after {
  right: 10px;
}

/* SUBLIST CARDS */
.item-sublist {
  padding-top: 0 !important;
}

.item-sublist:has(.sublist.card) .row > div {
  padding: 10px !important;
}

.sublist.card {
  border: none;
  border-radius: 0;
  transition: 0.2s ease-in;
}

.sublist.card .card-img-holder {
  aspect-ratio: 16 / 9;
  position: relative;
  width: 100%;
  height: auto;
}

.sublist.card .card-img-holder img {
  position: absolute;
  border-radius: 0;
  transition: 0.2s ease-in;
}

.sublist.card h2 {
  font-family: var(--sans);
  font-weight: 750;
  font-size: 25px;
  line-height: 1.16;
  color: var(--text);
  margin-top: 12px;
  letter-spacing: 0;
  text-wrap: balance;
}

.sublist.card h5 {
  font-family: var(--sans);
  font-weight: 650;
  font-size: 16px;
  line-height: 1.24;
  color: var(--text);
  margin-top: 10px;
  letter-spacing: 0;
}

.sublist.card.horizontal h5 {
  display: block;
  font-family: var(--sans);
  font-weight: 650;
  font-size: 16px;
  line-height: 1.24;
  color: var(--text);
  margin-top: 0;
  letter-spacing: 0;
}

.sublist.card .card-body {
  padding: 0;
}

.sublist.card:hover h2,
.sublist.card:hover h5 {
  color: var(--red);
}

.sublist.card:hover img {
  transform: scale(1.06);
}

@media (max-width: 767.98px) {

  .item-sublist:has(.sublist.card) .row > div {
    padding: 0 0 10px !important;
  }

  .item-sublist {
    padding-bottom: 0 !important;
  }

  .item-sublist:has(.horizontal) {
    margin-bottom: 20px;
  }

  .container.layout .row.layout > .cols {
    padding: 0;
  }

  .row div:has(> .sublist.card) {
    padding: 0 !important;
  }

  .row:has(> div .sublist.card) {
    margin: 0;
  }

  .sublist.card {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 10px;
  }

  .sublist.card.horizontal {
    margin-bottom: 0;
  }

  .sublist.card .card-img-top {
    border-radius: calc(var(--bs-border-radius) - (var(--bs-border-width)));
    width: 120px;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
  }

  .sublist.card .card-body {
    flex: 1;
  }

  .sublist.card.horizontal .card-title {
    line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .sublist.card.horizontal h5 {
    font-size: 16px;
  }
}
