@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* ══════════════════════════════════════════════
   DESIGN TOKENS
══════════════════════════════════════════════ */
:root {
  --primary:        #0D70FF;
  --primary-100:    #EBF2FF;
  --primary-500:    #0D70FF;
  --primary-700:    #0A5ACC;
  --primary-800:    #0F172A;
  --accent-400:     #0A5ACC;
  --accent-500:     #0952B3;
  --muted:          #A9B8C8;
  --highlight:      #EBF2FF;
  --dark:           #0F172A;
  --black:          #0F172A;
  --gray:           #64748B;
  --light-gray:     #CBD5E1;
  --footer-text:    #334155;
  --white:          #fff;
  --text:           #0F172A;
  --text-muted:     #64748B;
  --border:         #CBD5E1;
  --surface-100:    #EBF2FF;
  --background:     #f4f6f9;
  --pt:             'Plus Jakarta Sans', system-ui, sans-serif;
  --ws:             'Inter', system-ui, sans-serif;
  --content-w:      1400px;
  --gutter:         252.5px;
  --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 & BASE
══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { font-size: 16px; -webkit-font-smoothing: antialiased; }
body  {
  font-family: var(--ws);
  color: var(--black);
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
a     { text-decoration: none; color: inherit; }
img   { display: block; width: 100%; height: 100%; object-fit: cover; }

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

.logo a {
  display: flex;
}

/* ══════════════════════════════════════════════
   IMAGE PLACEHOLDERS  (replace with real <img> in production)
══════════════════════════════════════════════ */
.ph {
  display: block;
  background: #c8d9e4;
  flex-shrink: 0;
}
.ph--food-hero   { background: linear-gradient(135deg, #8fc4a8 0%, #c4e0b0 100%); }
.ph--salad       { background: linear-gradient(135deg, #a8c580 0%, #c5dba0 100%); }
.ph--baking      { background: linear-gradient(135deg, #c4a882 0%, #ddc9a8 100%); }
.ph--knife       { background: linear-gradient(135deg, #8090a8 0%, #b0c0d8 100%); }
.ph--trends      { background: linear-gradient(135deg, #c09060 0%, #d8b890 100%); }
.ph--cocktails   { background: linear-gradient(135deg, #906880 0%, #b89098 100%); }
.ph--coffee      { background: linear-gradient(135deg, #604830 0%, #906848 100%); }
.ph--gut         { background: linear-gradient(135deg, #48804a 0%, #70b060 100%); }
.ph--wellness    { background: linear-gradient(135deg, #608090 0%, #90b8c8 100%); }
.ph--vitamins    { background: linear-gradient(135deg, #88a840 0%, #b8d870 100%); }
.ph--stretch     { background: linear-gradient(135deg, #7888b8 0%, #a8b8e0 100%); }
.ph--owl         { background: linear-gradient(135deg, #203050 0%, #405890 100%); }
.ph--stress      { background: linear-gradient(135deg, #a0a8d0 0%, #c8d0f0 100%); }
.ph--oils        { background: linear-gradient(135deg, #88b860 0%, #b0e080 100%); }
.ph--desk        { background: linear-gradient(135deg, #b8c8d8 0%, #d8e8f0 100%); }
.ph--shopping1   { background: linear-gradient(135deg, #c8d0d8 0%, #d8e0e8 100%); }
.ph--shopping2   { background: linear-gradient(135deg, #d8a880 0%, #f0c8a8 100%); }
.ph--shop-feat   { background: linear-gradient(135deg, #c88090 0%, #e8b0b8 100%); }
.ph--shop-list1  { background: linear-gradient(135deg, #90b880 0%, #b8d8a8 100%); }
.ph--shop-list2  { background: linear-gradient(135deg, #8090b0 0%, #a0b8d0 100%); }
.ph--shop-list3  { background: linear-gradient(135deg, #b0a080 0%, #d0c0a0 100%); }
.ph--shop-list4  { background: linear-gradient(135deg, #608068 0%, #80a888 100%); }

/* ══════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════ */
.site-header {
  height: 92px;
  display: grid;
  grid-template-columns: var(--gutter) 43px 220px 1fr var(--gutter);
  align-items: center;
  border-bottom: 1px solid var(--light-gray);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 201;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.07);
}

.hamburger {
  grid-column: 2;
  background: none;
  border: none;
  cursor: pointer;
  width: 27px;
  height: 24px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  padding: 3px 0;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--black);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* MOBILE MENU */
.mobile-menu {
  display: none;
  position: fixed;
  top: 92px;
  left: 0;
  right: 0;
  background: var(--white);
  z-index: 200;
  padding: 8px 32px 32px;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
  border-top: 1px solid var(--light-gray);
}
.mobile-menu.is-open {
  display: flex;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
}
.mobile-menu .nav__link {
  font-family: var(--pt);
  font-size: 20px;
  font-weight: 600;
  color: var(--black);
  padding: 18px 0;
  border-bottom: 1px solid var(--light-gray);
  display: block;
  transition: color .15s;
}
.mobile-menu .nav__link:hover { color: var(--primary); }

.site-logo {
  grid-column: 3;
  display: flex;
  align-items: center;
}

.primary-nav {
  grid-column: 4;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 28px;
}
.nav__link {
  font-family: var(--ws);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray);
  padding: 0 14px;
  line-height: 16px;
  white-space: nowrap;
  letter-spacing: 0.01em;
  transition: color .15s;
}
.nav__link:hover { color: var(--primary); }
.nav__dot {
  color: var(--dark);
  font-size: 14px;
  line-height: 1;
  user-select: none;
}


/* ══════════════════════════════════════════════
   SECTION SHELL
══════════════════════════════════════════════ */
.section {
  display: grid;
  grid-template-columns: var(--gutter) var(--content-w) var(--gutter);
  padding: 64px 0;
}
.section--blue {
  background: var(--highlight);
  padding: 68px 0 76px;
}
.section--compact { padding: 44px 0; }
.section--compact .section__heading { margin-bottom: 28px; }

.section__heading {
  grid-column: 2;
  font-family: var(--pt);
  font-size: 38px;
  font-weight: 700;
  color: var(--black);
  line-height: 1.15;
  margin-bottom: 36px;
  text-align: center;
  letter-spacing: -0.025em;
  padding-bottom: 20px;
  position: relative;
}
.section__heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}
.section__heading--left {
  text-align: left;
}
.section__heading--left::after {
  left: 0;
  transform: none;
}

.post-module { grid-column: 2; }

/* ══════════════════════════════════════════════
   SHARED ARTICLE ATOMS
══════════════════════════════════════════════ */
.post-category {
  font-family: var(--ws);
  font-size: 14px;
  color: var(--primary);
  display: block;
  margin-bottom: 6px;
  transition: opacity .15s;
}
.post-category:hover { opacity: .75; }
.post-category--upper {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.post-heading,
h3.post-heading,
span.post-heading {
  font-family: var(--pt);
  font-size: 21px;
  font-weight: 600;
  color: var(--black);
  line-height: 1.22;
  letter-spacing: -0.012em;
}
.post-heading a,
span.post-heading a { color: inherit; transition: color .15s; }
.post-heading a:hover,
span.post-heading a:hover { color: var(--primary); }

.post-excerpt {
  font-family: var(--ws);
  font-size: 15px;
  color: var(--gray);
  line-height: 1.65;
  margin-top: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-excerpt > a { color: inherit; text-decoration: none; }
.post-excerpt > a:hover { text-decoration: underline; }
.post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
}
.author-avatar svg { width: 28px; height: 28px; display: block; }
.author-name { font-family: var(--ws); font-size: 13px; color: var(--muted); }
.post-date   { font-family: var(--ws); font-size: 12px; color: var(--muted); }
.meta-sep    { color: var(--light-gray); }
.byline, .byline-name {
  font-family: var(--ws);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gray);
}

/* ══════════════════════════════════════════════
   VARIATION 2  ·  Hero + sidebar list
   Section: "Rental Assistance Programs"
══════════════════════════════════════════════ */
.pm-v2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(5, 96px);
  gap: 16px 48px;
}

/* Hero occupies all 5 rows, column 1 */
.pm-v2 .hero {
  grid-column: 1;
  grid-row: 1 / 6;
  background: var(--highlight);
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 6px;
}
.pm-v2 .hero > a {
  position: absolute;
  inset: 0;
  display: block;
}
.pm-v2 .hero .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.pm-v2 .hero:hover .hero-img {
  transform: scale(1.04);
}
.pm-v2 .hero .hero-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  pointer-events: none;
  padding: 140px 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.65) 40%, rgba(0,0,0,0.20) 70%, transparent 100%);
}
.pm-v2 .hero .hero-title {
  font-family: var(--pt);
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.pm-v2 .hero .author-name { color: var(--white); opacity: .9; }

/* Sidebar items — each 1 row, column 2 */
.pm-v2 .list-item {
  grid-column: 2;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0 14px;
  align-items: start;
  overflow: hidden;
}
.pm-v2 .list-item--nothumbnail { grid-template-columns: 1fr; }
.pm-v2 .list-item .item-thumb { width: 120px; height: 90px; object-fit: cover; flex-shrink: 0; }
.pm-v2 .list-item .ph {
  width: 120px;
  height: 90px;
  border-radius: 3px;
  transition: transform 0.28s ease;
}
.pm-v2 .list-item:hover .ph { transform: scale(1.04); }
.pm-v2 .list-item .item-body {
  display: flex;
  flex-direction: column;
  padding-top: 2px;
}
.pm-v2 .list-item .post-heading,
.pm-v2 .list-item span.post-heading { font-size: 18px; line-height: 1.22; margin-bottom: 8px; }

/* ══════════════════════════════════════════════
   VARIATION 4  ·  2-col text + thumb
   Section: "Home Buying Guidance"
══════════════════════════════════════════════ */
.pm-v4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 40px;
}
.pm-v4 .v4-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  padding-bottom: 16px;
  min-width: 0;
  overflow: hidden;
}
.pm-v4 .v4-content { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; }
.pm-v4 .v4-thumb   { width: 200px; height: 150px; flex-shrink: 0; object-fit: cover; }
.pm-v4 .ph {
  flex: 0 0 200px;
  width: 200px;
  height: 150px;
  border-radius: 6px;
  order: -1;
  transition: transform 0.28s ease;
}
.pm-v4 .v4-item:hover .ph { transform: scale(1.04); }
.pm-v4 .post-heading,
.pm-v4 span.post-heading { font-size: 20px; margin-bottom: 10px; }
.pm-v4 .post-excerpt { -webkit-line-clamp: 4; }
.pm-v4 .post-meta  { margin-top: 12px; flex-wrap: wrap; gap: 6px; }

/* ══════════════════════════════════════════════
   TODAYS-PICKS VARIATION 3  ·  3-col cards (blue bg)
   Section: "Benefits & Resources"
══════════════════════════════════════════════ */
.pm-tp {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 72px;
}
.tp-card {
  background: var(--white);
  display: flex;
  flex-direction: column;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.tp-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.13);
}
.tp-card .card-img { width: 100%; height: 222px; object-fit: cover; }
.tp-card .ph       { width: 100%; height: 222px; transition: transform 0.3s ease; }
.tp-card:hover .ph { transform: scale(1.04); }
.tp-card .card-body { padding: 18px 20px 28px; }
.pm-tp .post-heading,
.pm-tp span.post-heading { font-size: 19px; margin-bottom: 10px; }
.pm-tp .post-excerpt { font-size: 14px; -webkit-line-clamp: 3; margin-bottom: 14px; }

/* ══════════════════════════════════════════════
   VARIATION 1  ·  Large featured + thumbnail list
   Section: "Homeownership Programs"
══════════════════════════════════════════════ */
.pm-v1 {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 0 64px;
  align-items: start;
}
.v1-main { display: flex; flex-direction: column; }
.v1-main .main-img { width: 100%; height: 400px; object-fit: cover; margin-bottom: 18px; }
.v1-main .ph       { width: 100%; height: 500px; margin-bottom: 18px; }
.v1-main .post-heading,
.v1-main span.post-heading { font-size: 28px; margin-bottom: 12px; }

.v1-list { display: flex; flex-direction: column; }
.v1-item {
  display: block;
  padding: 20px 0;
  border-bottom: 1px solid #ebebeb;
}
.v1-item:first-child { padding-top: 0; }
.v1-item:last-child  { border-bottom: none; }
.v1-item .item-date  {
  font-family: var(--ws); font-size: 13px; color: var(--gray);
  display: block; margin-bottom: 6px;
}
.v1-item .post-heading,
.v1-item span.post-heading { font-size: 17px; line-height: 1.28; margin-bottom: 8px; }
.v1-item .ph { border-radius: 3px; }

/* ══════════════════════════════════════════════
   VARIATION 4b  ·  2-col list + right featured image
   Sections: "Home Windows", "Home Security & HVAC"
══════════════════════════════════════════════ */
.pm-v4b {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
  align-items: start;
}
.v4b-list { display: flex; flex-direction: column; }
.v4b-item {
  display: block;
  padding: 20px 0;
  border-bottom: 1px solid #ebebeb;
}
.v4b-item:first-child { padding-top: 0; }
.v4b-item:last-child  { border-bottom: none; }
.v4b-item .post-heading,
.v4b-item span.post-heading { font-size: 18px; line-height: 1.25; margin-bottom: 8px; }
.v4b-item .ph { border-radius: 3px; }
.v4b-featured { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.v1-featured { width: 100%; height: 100%; min-height: 380px; object-fit: cover; }

/* ══════════════════════════════════════════════
   HIDE AUTHOR NAMES & DATES
══════════════════════════════════════════════ */
.post-meta,
.author-avatar,
.author-name,
.post-date,
.byline,
.byline-name,
.meta-sep,
.item-date { display: none !important; }

/* Author avatar SVG reused inline */
.av { width:28px; height:28px; display:block; }

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--light-gray);
  padding: 52px 0 48px;
  display: grid;
  grid-template-columns: var(--gutter) var(--content-w) var(--gutter);
}
.footer-inner { grid-column: 2; }
.footer-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 32px;
  margin-bottom: 28px;
}
.footer-cats { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-cat {
  font-family: var(--ws);
  font-size: 13px;
  font-weight: 500;
  color: var(--gray);
  border: 1px solid var(--light-gray);
  border-radius: 16px;
  padding: 5px 14px;
  height: 32px;
  display: flex;
  align-items: center;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.footer-cat:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.footer-secondary {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.footer-sec-link {
  font-family: var(--ws);
  font-size: 14px;
  color: var(--footer-text);
  transition: color .15s;
}
.footer-sec-link:hover { color: var(--primary); }
.footer-disclaimer {
  font-family: var(--ws);
  font-size: 12px;
  color: #888;
  line-height: 1.65;
  max-width: 1042px;
  margin-bottom: 20px;
}
.site-disclaimer {
  font-family: var(--ws);
  font-size: 13px;
  color: var(--gray);
  line-height: 1.56;
  max-width: 1042px;
  margin-bottom: 12px;
}
.footer-copyright { font-family: var(--ws); font-size: 13px; color: #999; }

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */

/* Fluid gutters + content width — grid always fills 100vw exactly */
:root {
  --gutter:    max(16px, calc((100vw - 1400px) / 2));
  --content-w: min(1400px, calc(100vw - 32px));
}

/* ── compact nav at 1100px ── */
@media (max-width: 1100px) {
  .nav__link { padding: 0 9px; font-size: 13px; }
}

/* ── tablet ≤ 900px ── */
@media (max-width: 900px) {
  .primary-nav { display: none; }

  .pm-v2 {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .pm-v2 .hero { grid-row: auto; height: 480px; }
  .pm-v2 .list-item { grid-column: 1; }

  .pm-tp { grid-template-columns: repeat(2, 1fr); gap: 16px 24px; }

  .pm-v1 { grid-template-columns: 1fr; }
  .v1-main { margin-bottom: 32px; }
  .v1-main .ph, .v1-main .main-img { height: 320px; }

  .pm-v4b { grid-template-columns: 1fr; }
  .v4b-featured { min-height: 280px; margin-top: 24px; }
  .v1-featured  { min-height: 280px; margin-top: 24px; }

  .hamburger { display: flex; grid-column: 4; justify-self: end; }
}

/* ── mobile ≤ 640px ── */
@media (max-width: 640px) {
  :root { --gutter: 16px; }

  .section__heading { font-size: 26px; }
  .section__heading::after { width: 32px; }

  .pm-tp { grid-template-columns: 1fr; }

  .pm-v4 { grid-template-columns: 1fr; }
  .pm-v4 .v4-item { flex-direction: column; }
  .pm-v4 .ph { flex: none; width: 100%; height: 200px; }

  .pm-v2 .hero { height: 280px; }
  .v1-main .ph, .v1-main .main-img { height: 220px; }
  .v4b-featured           { min-height: 200px; height: 200px; }
  .v1-featured            { min-height: 200px; height: 200px; }
  .pm-v4 .ph              { height: 160px; }
  .pm-tp .ph              { height: 160px; }

  .pm-v2 .list-item { grid-template-columns: 90px 1fr; }
  .pm-v2 .list-item .ph { width: 90px; height: 70px; }

  .site-footer { padding: 40px 0 36px; }
  .footer-inner { text-align: center; }
  .footer-top { flex-direction: column; align-items: center; }
  .footer-cats { justify-content: center; }
  .footer-secondary { justify-content: center; gap: 16px 24px; }
  .site-disclaimer,
  .footer-disclaimer { text-align: center; max-width: 100%; }
  .footer-copyright { display: block; text-align: center; }
}

/* ── small mobile ≤ 480px — header flex fallback ── */
@media (max-width: 480px) {
  .site-header {
    display: flex;
    padding: 0 16px;
    gap: 12px;
    height: 64px;
  }
  .hamburger   { order: 3; flex-shrink: 0; display: flex; }
  .site-logo   { order: 1; flex: 1; min-width: 0; overflow: hidden; }
  .primary-nav { display: none; }
  .mobile-menu { top: 64px; }
  .site-logo img { max-width: 200px; height: auto; }
}

/* ══════════════════════════════════════════════
   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: clip;
}

.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) !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);
  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: #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(--border) !important;
  object-fit: cover !important;
  height: auto !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='%230D70FF'/%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;
  }
}
