/* ====== RESET ====== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ====== CSS CUSTOM PROPERTIES ====== */
:root {
  /* Original design tokens */
  --bg:        #f6f5ec;
  --text:      #111111;
  --border:    #111111;
  --border-lt: #d8d7af;
  --muted:     #6b6b6b;
  --white:     #ffffff;
  --black:     #111111;
  --red:       #c8102e;
  --font-ser:  Georgia, 'Times New Roman', serif;
  --font-ui:   system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --max-w:     1380px;
  --gutter:    32px;

  /* Standardized platform variables — mapped from existing palette */
  --text-muted:    #6b6b6b;
  --primary-100:   #d8d7af;
  --primary-500:   #111111;
  --primary-700:   #3a3a3a;
  --primary-800:   #000000;
  --accent-400:    #c8102e;
  --accent-500:    #a50d25;
  --gray-300:      #d8d7af;
  --gray-600:      #6b6b6b;
  --background:    #f6f5ec;
  --surface-100:   #faf9f3;
  --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);
}

html { font-size: 16px; background: var(--bg); color: var(--text); font-family: var(--font-ser); }
body { font-family: var(--font-ser); background: var(--bg); display: flex; flex-direction: column; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }

/* ====== LOGO CLEANUP ====== */
.logo {
  max-width: 200px;
}

.logo a {
  display: flex;
}

.site-footer .logo {
  margin: 0 auto 16px;
}

/* ====== TOP BAR ====== */
.top-bar { background: var(--black); height: 36px; display: flex; align-items: center; justify-content: center; }
.top-bar span { font-family: var(--font-ui); font-size: 10px; color: rgba(255,255,255,0.4); letter-spacing: 0.08em; text-transform: uppercase; }

/* ====== HEADER ====== */
.site-header { background: var(--bg); }
.header-main { padding: 0 var(--gutter); flex-wrap: wrap; align-items: center; }
/* Logo row: full-width centered on desktop */
.header-logo-wrap { width: 100%; display: flex; justify-content: center; align-items: center; padding: 12px 0; }
.header-logo-wrap a { display: flex; align-items: center; }

/* ====== MAIN NAV ====== */
/* Collapse must fill its own full-width row on desktop */
.navbar-collapse { width: 100%; }
.main-nav { width: 100%; display: flex; align-items: center; justify-content: center; height: 50px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.main-nav a { font-family: var(--font-ui); font-size: 15px; font-weight: 500; color: var(--text); padding: 0 18px; display: flex; align-items: center; height: 100%; transition: opacity 0.15s; }
.main-nav a:hover { opacity: 0.55; }

/* ====== MOBILE NAV ====== */
@media (max-width: 991.98px) {
  /* Logo takes flex:1, toggler sits on the right */
  .header-logo-wrap { width: auto; flex: 1; justify-content: flex-start; }
  .navbar-toggler { border-color: var(--border); }
  /* Vertical nav when hamburger opens */
  .main-nav { flex-direction: column; height: auto; align-items: flex-start; padding: 8px var(--gutter); border-top: none; border-bottom: 1px solid var(--border); }
  .main-nav a { height: auto; padding: 10px 4px; width: 100%; }
}

/* ====== PAGE CONTAINER ====== */
.page-container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }

/* ====== NEWS TAG ====== */
.news-tag {
  display: inline-flex; align-items: center;
  border: 1px solid var(--border); border-radius: 40px;
  padding: 3px 11px; font-family: var(--font-ser);
  font-size: 14px; font-weight: 400; color: var(--text);
  margin-bottom: 11px; text-transform: uppercase; letter-spacing: 0.01em;
  flex-shrink: 0; transition: background 0.15s, color 0.15s;
}
.news-tag:hover { background: var(--text); color: var(--bg); }

/* ====== SECTION SEPARATOR ====== */
.section-sep { border-top: 1px solid var(--border); padding-top: 9px; margin-bottom: 22px; }
.section-label { font-family: var(--font-ui); font-size: 12px; font-weight: 400; text-transform: uppercase; letter-spacing: 0.01em; color: var(--text); }

/* ====== HOMEPAGE TOPPER 3-COL ====== */
.homepage-topper { display: flex; padding-top: 28px; padding-bottom: 28px; align-items: flex-start; border-bottom: 1px solid var(--border); }

/* LEFT */
.col-left { width: 256px; flex-shrink: 0; padding-right: 28px; border-right: 1px solid var(--border); }
.art-img { display: block; width: 100%; aspect-ratio: 4/3; overflow: hidden; margin-bottom: 20px; }
.art-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
.art-img:hover img { transform: scale(1.04); }
.art-title { font-family: var(--font-ser); font-size: 20px; font-weight: 400; line-height: 1.3; margin-bottom: 10px; }
.art-excerpt { font-family: var(--font-ui); font-size: 14px; line-height: 1.55; margin-bottom: 13px; }

/* CENTER */
.col-center { flex: 1; padding: 0 30px; border-right: 1px solid var(--border); }
.feat-img { display: block; width: 100%; aspect-ratio: 16/9; overflow: hidden; margin-bottom: 20px; }
.feat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
.feat-img:hover img { transform: scale(1.04); }
.feat-title { font-family: var(--font-ser); font-size: 34px; font-weight: 400; line-height: 1.2; margin-bottom: 14px; }
.feat-excerpt { font-family: var(--font-ui); font-size: 15px; line-height: 1.6; margin-bottom: 20px; }

/* RIGHT — LATEST */
.col-right { width: 280px; flex-shrink: 0; padding-left: 28px; }
.latest-pill { display: inline-block; border: 1px solid var(--border); border-radius: 40px; padding: 4px 13px; font-family: var(--font-ui); font-size: 12px; text-transform: uppercase; letter-spacing: 0.02em; color: var(--text); margin-bottom: 14px; }
.latest-list { display: flex; flex-direction: column; }
.latest-item { display: flex; gap: 12px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid var(--border-lt); color: inherit; text-decoration: none; }
.latest-item:first-child { border-top: 1px solid var(--border-lt); }
.latest-item-text { flex: 1; }
.latest-item-title { font-family: var(--font-ui); font-size: 14px; font-weight: 500; line-height: 1.35; margin-bottom: 5px; }
.latest-item:hover .latest-item-title { text-decoration: underline; text-underline-offset: 3px; }
.latest-thumb { width: 68px; height: 54px; flex-shrink: 0; overflow: hidden; }
.latest-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ====== EDITOR'S PICKS ====== */
.editors-picks { padding-bottom: 48px; }
.picks-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.pick-big-img { display: block; width: 100%; aspect-ratio: 16/9; overflow: hidden; margin-bottom: 20px; }
.pick-big-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
.pick-big-img:hover img { transform: scale(1.04); }
.pick-big-title { font-family: var(--font-ser); font-size: 28px; font-weight: 400; line-height: 1.25; margin-bottom: 10px; }
.pick-big-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pick-big-excerpt { font-family: var(--font-ui); font-size: 14px; line-height: 1.55; margin-bottom: 12px; }
.pick-right-col { display: flex; flex-direction: column; }
.pick-sub-list { display: flex; flex-direction: column; margin-top: 4px; }
.pick-sub-item { display: block; padding: 15px 0; border-bottom: 1px solid var(--border-lt); color: inherit; text-decoration: none; }
.pick-sub-item:first-child { border-top: 1px solid var(--border-lt); }
.pick-sub-title { font-family: var(--font-ui); font-size: 15px; font-weight: 500; line-height: 1.35; margin-bottom: 6px; }
.pick-sub-item:hover .pick-sub-title { text-decoration: underline; text-underline-offset: 3px; }

/* ====== BOROUGHS — FULL WIDTH BLACK ====== */
.boroughs-section { background: var(--black); color: var(--white); width: 100%; padding: 0 var(--gutter) 56px; }
.boroughs-header-bar { max-width: var(--max-w); margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.35); padding-top: 10px; margin-bottom: 32px; }
.boroughs-label-text { font-family: var(--font-ui); font-size: 12px; font-weight: 400; text-transform: uppercase; letter-spacing: 0.04em; color: rgba(255,255,255,0.65); }
.boroughs-content { max-width: 1100px; margin: 0 auto; text-align: center; line-height: 1.2; font-family: var(--font-ser); font-size: clamp(32px, 4.2vw, 64px); font-weight: 400; color: var(--white); margin-bottom: 30px; }
.borough-pill { display: inline-flex; align-items: center; border: 1.5px solid rgba(255,255,255,0.9); border-radius: 999px; padding: 4px 22px; font-family: var(--font-ui); font-size: clamp(22px, 3vw, 50px); font-weight: 400; color: var(--white); text-transform: uppercase; letter-spacing: 0.01em; vertical-align: middle; margin: 4px 3px; line-height: 1.3; transition: background 0.15s; }
.borough-pill:hover { background: rgba(255,255,255,0.1); }

/* ====== LATEST SECTION (below boroughs) ====== */
.latest-section { padding: 48px 0 0; }
.latest-section-cards { flex: 1; }
.hor-card { display: flex; gap: 20px; align-items: flex-start; padding: 0 0 24px; border-bottom: 1px solid var(--border-lt); margin-bottom: 24px; }
.hor-card:last-child { border-bottom: none; margin-bottom: 0; }
.hor-card-img { display: block; width: 265px; height: 175px; flex-shrink: 0; overflow: hidden; }
.hor-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
.hor-card-img:hover img { transform: scale(1.04); }
.hor-card-content { flex: 1; padding-top: 2px; }
.hor-card-title-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.hor-card-title { font-family: var(--font-ser); font-size: 26px; font-weight: 400; line-height: 1.2; color: var(--text); }
.hor-card-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hor-card-excerpt { font-family: var(--font-ui); font-size: 14px; line-height: 1.6; color: var(--text); margin-bottom: 20px; }

.spacer-48 { height: 48px; }

/* ====== HOVER EFFECTS ====== */
.art-title a:hover, .feat-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.rec-main-title a, .rec-sub-title a, .rec-side-title a { color: inherit; text-decoration: none; }
.rec-main-title a:hover, .rec-sub-title a:hover, .rec-side-title a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ====== RECOMMENDED SECTION ====== */
.recommended-section { padding-bottom: 48px; }
.rec-grid { display: grid; grid-template-columns: 1fr 420px; gap: 48px; align-items: start; }

/* LEFT col */
.rec-main-img { width: 100%; aspect-ratio: 16/9; overflow: hidden; margin-bottom: 18px; display: block; }
.rec-main-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
.rec-main-img:hover img { transform: scale(1.03); }
.rec-main-title { display: block; font-family: var(--font-ser); font-size: 30px; font-weight: 400; line-height: 1.2; margin-bottom: 12px; }
.rec-main-excerpt { display: block; font-family: var(--font-ui); font-size: 15px; line-height: 1.6; color: var(--text); margin-bottom: 0; }

/* Left sub-articles */
.rec-sub-list { margin-top: 4px; }
.rec-sub-item { display: flex; align-items: baseline; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--border-lt); flex-wrap: wrap; }
.rec-sub-item:first-child { border-top: 1px solid var(--border-lt); }
.rec-sub-title { display: block; font-family: var(--font-ser); font-size: 19px; font-weight: 400; line-height: 1.3; color: var(--text); }

/* RIGHT col — articles with thumbnail */
.rec-side-list { display: flex; flex-direction: column; }
.rec-side-item { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--border-lt); }
.rec-side-item:first-child { border-top: 1px solid var(--border-lt); }
.rec-side-thumb { width: 100px; height: 72px; flex-shrink: 0; overflow: hidden; display: block; }
.rec-side-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
.rec-side-thumb:hover img { transform: scale(1.03); }
.rec-side-content { flex: 1; display: block; }
.rec-side-title { font-family: var(--font-ui); font-size: 14px; font-weight: 500; line-height: 1.35; color: var(--text); display: block; }

/* pick-sub-title is now a span (was p) — needs display:block */
.pick-sub-title { display: block; }

/* ====== FOOTER ====== */
.site-footer { background: var(--black); color: var(--white); padding: 56px var(--gutter) 0; text-align: center; }
.footer-logo { display: block; max-width: 160px; margin: 0 auto 16px; }
.footer-tagline { font-family: var(--font-ui); font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.6; max-width: 500px; margin: 0 auto 40px; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 32px; padding-bottom: 32px; }
.footer-nav a { font-family: var(--font-ui); font-size: 13px; font-weight: 500; color: var(--white); text-transform: uppercase; letter-spacing: 0.06em; text-decoration: none; transition: opacity 0.15s; }
.footer-nav a:hover { opacity: 0.55; }
.footer-disclaimer { font-family: var(--font-ui); font-size: 11px; color: rgba(255,255,255,0.4); line-height: 1.6; max-width: 620px; margin: 0 auto; padding-bottom: 16px; }
.site-disclaimer { font-family: var(--font-ui); font-size: 11px; color: rgba(255,255,255,0.4); line-height: 1.6; max-width: 620px; margin: 0 auto; padding-bottom: 32px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.25); padding: 20px 0; display: flex; align-items: center; justify-content: space-between; }
.footer-legal { display: flex; gap: 24px; align-items: center; }
.footer-legal a { font-family: var(--font-ui); font-size: 12px; color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.15s; }
.footer-legal a:hover { color: var(--white); }
.footer-copy { font-family: var(--font-ui); font-size: 12px; color: rgba(255,255,255,0.4); }

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  :root { --gutter: 24px; }
  .col-right { display: none; }
  .col-center { border-right: none; }
  .rec-grid { grid-template-columns: 1fr 320px; gap: 32px; }
  .picks-grid { gap: 20px; }
  .hor-card-img { width: 200px; height: 140px; }
  .hor-card-title { font-size: 22px; }
  .footer-bottom { flex-wrap: wrap; gap: 12px; }
}

@media (max-width: 768px) {
  :root { --gutter: 16px; }
  .homepage-topper { flex-direction: column; padding-top: 20px; padding-bottom: 20px; border-bottom: none; }
  .col-left { width: 100%; padding-right: 0; border-right: none; padding-bottom: 24px; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
  .col-center { padding: 0; border-right: none; }
  .col-right { display: none; }
  .feat-title { font-size: 26px; }
  .art-title { font-size: 18px; }
  .feat-img { aspect-ratio: 4/3; }
  .rec-grid { grid-template-columns: 1fr; }
  .rec-main-title { font-size: 24px; }
  .picks-grid { grid-template-columns: 1fr; gap: 0; }
  .pick-right-col { margin-top: 28px; }
  .pick-big-title { font-size: 22px; }
  .boroughs-section { padding: 0 var(--gutter) 40px; }
  .boroughs-content { font-size: clamp(24px, 6vw, 40px); }
  .borough-pill { font-size: clamp(16px, 4.5vw, 28px); padding: 4px 14px; }
  .latest-section { padding: 32px 0 0; }
  .hor-card { flex-direction: column; gap: 14px; }
  .hor-card-img { width: 100%; height: 220px; }
  .hor-card-title { font-size: 22px; }
  .footer-logo { font-size: 32px; }
  .footer-nav { gap: 8px 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-copy { font-size: 11px; }
}

@media (max-width: 480px) {
  .feat-title { font-size: 22px; }
  .pick-big-title { font-size: 20px; }
  .hor-card-title { font-size: 20px; }
  .boroughs-content { font-size: clamp(20px, 7vw, 32px); }
  .borough-pill { font-size: clamp(14px, 5vw, 22px); padding: 3px 12px; }
}

/* ====== 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 16px;
}

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

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

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

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

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

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

.main-paragraph strong {
  font-weight: 700;
}

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

  .main-paragraph h2 {
    font-size: 25px;
    margin: 32px 0 16px;
  }

  .main-paragraph h3 {
    font-size: 20px;
    margin: 22px 0 8px;
  }

  .main-paragraph 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-lt) !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(--border-lt);
  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(--text-muted);
}

#contact-form button {
  background: var(--primary-500);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  padding: 16px;
  color: var(--white);
  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(--border-lt) !important;
}

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

.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(--primary-800);
  background: var(--surface-100);
  border-color: var(--primary-100);
  padding-left: 20px;
}

.bubbles-chip:active,
.bubbles-chip:focus {
  background: var(--accent-500);
  color: var(--white);
}

.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='%23111111'/%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:has(.sublist.card) .row > div {
  padding: 5px !important;
}

.sublist.card {
  border: none;
  border-radius: 6px;
  box-shadow: var(--box-shadow-md);
  transition: 0.2s ease-in;
}

.sublist.card:hover {
  box-shadow: var(--box-shadow-lg);
  color: var(--primary-500);
  transform: translateY(-4px);
}

.sublist.card h5 {
  margin-bottom: 0;
  font-weight: 500;
}

.sublist.card .card-body {
  padding: 16px;
}

@media (max-width: 767.98px) {
  .row div:has(> .sublist.card) {
    padding: 0 !important;
  }

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

  .sublist.card {
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .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;
    padding: 1rem;
  }

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

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