/* workwithlic.com refresh - sitewide (.wwl-site on <body>); homepage hero uses .wwl-home */
.wwl-site {
  --wwl-navy: #0b3d91;
  --wwl-navy-dark: #072a66;
  --wwl-blue: #1d4ed8;
  --wwl-yellow: #f5b301;
  --wwl-ink: #0f172a;
  --wwl-text: #475569;
  --wwl-muted: #8a96a8;
  --wwl-line: #e5e7eb;
  --wwl-soft: #f5f7fb;
  --wwl-radius: 12px;
  --wwl-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 4px 14px rgba(15, 23, 42, .06);
  --wwl-shadow-hover: 0 6px 24px rgba(11, 61, 145, .14);
  background: var(--wwl-soft);
}
.wwl-home { padding-bottom: 32px; }

/* ---------- Hero ---------- */
.wwl-hero {
  background: radial-gradient(1200px 400px at 85% -10%, rgba(245, 179, 1, .18), transparent 60%),
              linear-gradient(135deg, var(--wwl-navy-dark) 0%, var(--wwl-navy) 55%, #1e5bd6 100%);
  color: #fff;
  padding: 56px 0 0;
  margin-bottom: 56px;
}
.wwl-hero-inner { max-width: 720px; }
.wwl-hero-kicker {
  display: inline-block;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fde68a;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.wwl-home .wwl-hero-title {
  color: #fff;
  font-size: 40px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0 0 14px;
}
.wwl-hero-sub {
  color: rgba(255, 255, 255, .86);
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 26px;
}
.wwl-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.wwl-home a.wwl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.wwl-home a.wwl-btn-primary { background: var(--wwl-yellow); color: #1f2937 !important; box-shadow: 0 6px 18px rgba(245, 179, 1, .35); }
.wwl-home a.wwl-btn-primary:hover { transform: translateY(-1px); background: #ffc21a; }
.wwl-home a.wwl-btn-ghost { background: rgba(255, 255, 255, .08); color: #fff !important; border: 1px solid rgba(255, 255, 255, .4); }
.wwl-home a.wwl-btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.wwl-hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0 0 40px; }
.wwl-hero-points li { position: relative; padding-left: 22px; font-size: 14px; color: rgba(255, 255, 255, .9); }
.wwl-hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--wwl-yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23072a66' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 10px no-repeat;
}

/* Quick-link tiles overlapping the bottom edge of the hero */
.wwl-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  position: relative;
  top: 32px;
  margin-top: -32px;
}
.wwl-home a.wwl-tile {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--wwl-line);
  border-radius: var(--wwl-radius);
  padding: 18px;
  box-shadow: var(--wwl-shadow);
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.wwl-home a.wwl-tile:hover { transform: translateY(-3px); box-shadow: var(--wwl-shadow-hover); border-color: #c7d6f5; }
.wwl-tile-icon {
  flex: 0 0 42px;
  height: 42px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e8efff;
  color: var(--wwl-navy);
}
.wwl-tile-body { display: flex; flex-direction: column; min-width: 0; }
.wwl-tile-title { color: var(--wwl-ink); font-weight: 700; font-size: 15px; line-height: 1.3; }
.wwl-tile-text { color: var(--wwl-text); font-size: 13px; line-height: 1.45; margin-top: 3px; }

/* ---------- Breaking news bar ---------- */
.wwl-site .section-newsticker { margin: 0 0 4px; }
.wwl-site .newsticker-container {
  background: #fff;
  border: 1px solid var(--wwl-line);
  border-radius: var(--wwl-radius);
  padding: 8px 10px;
  box-shadow: var(--wwl-shadow);
  align-items: center;
}
.wwl-site .newsticker-title { background: var(--wwl-navy) !important; border-radius: 8px; }

/* ---------- Category sections as white panels ---------- */
.wwl-site .section-category,
.wwl-site .section-cat-slider { margin-top: 28px; margin-bottom: 0; }
.wwl-site .section-cat-slider > .container-xl { overflow: hidden; }
.wwl-site .section-cat-slider .section-content { height: auto; min-height: 300px; }
.wwl-site .section-cat-slider .post-item .image { border-radius: 10px; overflow: hidden; margin-bottom: 12px; }
.wwl-site .section-cat-slider .post-item { margin-bottom: 20px; position: relative; }
.wwl-site .section-cat-slider .post-item .badge-category { position: absolute; z-index: 2; margin: 10px; }
.wwl-site .nav-sm-buttons button {
  border-radius: 8px;
  border: 1px solid var(--wwl-line);
  background: #fff;
  width: 32px;
  height: 32px;
}
.wwl-site .nav-sm-buttons button:hover { background: var(--wwl-navy); border-color: var(--wwl-navy); color: #fff; }
.wwl-site .section-category > .container-xl,
.wwl-site .section-cat-slider > .container-xl {
  background: #fff;
  border: 1px solid var(--wwl-line);
  border-radius: 16px;
  padding: 24px 24px 4px;
  box-shadow: var(--wwl-shadow);
}
.wwl-site .section-title { border-bottom: 1px solid var(--wwl-line) !important; margin-bottom: 20px; padding-bottom: 12px; }
.wwl-site .section-title .title {
  color: var(--wwl-ink);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.01em;
  position: relative;
  padding-left: 14px;
  margin: 0;
  border: 0 !important;
}
.wwl-site .section-title .title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 4px;
  background: var(--wwl-yellow);
}
.wwl-site .section-title::after,
.wwl-site .section-title .title::after { display: none !important; }

/* Subcategory filters as pills */
.wwl-site .nav-category-block .nav-item .nav-link {
  border-radius: 999px;
  padding: 5px 12px !important;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--wwl-text) !important;
  background-color: var(--wwl-soft) !important;
  border: 1px solid var(--wwl-line) !important;
  margin-left: 6px;
}
.wwl-site .nav-category-block .nav-item .nav-link.active,
.wwl-site .nav-category-block .nav-item.show .nav-link {
  background-color: var(--wwl-navy) !important;
  border-color: var(--wwl-navy) !important;
  color: #fff !important;
}
.wwl-site .nav-category-block .dropdown-menu .dropdown-item { color: var(--wwl-ink) !important; }

/* ---------- Featured cards (former purple boxes) ---------- */
.wwl-site .post-item-vr {
  position: relative;
  border-radius: var(--wwl-radius);
  overflow: hidden;
  box-shadow: var(--wwl-shadow);
  transition: transform .15s ease, box-shadow .15s ease;
  margin-bottom: 20px;
}
.wwl-site .post-item-vr:hover { transform: translateY(-3px); box-shadow: var(--wwl-shadow-hover); }
.wwl-site .section-cat-block .post-item-vr .image {
  background: linear-gradient(135deg, var(--wwl-navy-dark), #2563eb) !important;
}
.wwl-site .post-item-vr .caption .title a { color: #fff !important; font-weight: 700; }
.wwl-site .post-item-vr a.text-warning { color: #fde68a !important; }
.wwl-site .post-item-vr .post-meta,
.wwl-site .post-item-vr .post-meta span { color: rgba(255, 255, 255, .8) !important; }

/* ---------- Text cards (list items) ---------- */
.wwl-site .post-item-mid,
.wwl-site .post-item-no-image:not(.post-item-vr),
.wwl-site .post-item-small {
  background: #fff;
  border: 1px solid var(--wwl-line);
  border-radius: var(--wwl-radius);
  padding: 16px 16px 12px;
  margin-bottom: 20px;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.wwl-site .row > [class*="col-"] > .post-item-mid,
.wwl-site .row > [class*="col-"] > .post-item-no-image:not(.post-item-vr) {
  height: calc(100% - 20px);
  display: flex;
  flex-direction: column;
}
.wwl-site .post-item-mid:hover,
.wwl-site .post-item-no-image:not(.post-item-vr):hover,
.wwl-site .post-item-small:hover {
  border-color: #c7d6f5;
  box-shadow: var(--wwl-shadow-hover);
  transform: translateY(-2px);
}
.wwl-site .post-item:not(.post-item-vr) .title,
.wwl-site .post-item-small .title {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 700;
}
.wwl-site .post-item:not(.post-item-vr) .title a,
.wwl-site .post-item-small .title a { color: var(--wwl-ink) !important; text-decoration: none; }
.wwl-site .post-item:not(.post-item-vr) .title a:hover,
.wwl-site .post-item-small .title a:hover { color: var(--wwl-blue) !important; }
.wwl-site p.text-white:empty { display: none; }
.wwl-site .post-item:not(.post-item-vr) p.text-white,
.wwl-site .post-item-small p.text-white { color: var(--wwl-text) !important; font-size: 13px; }

/* Placeholder image for posts without a picture */
.wwl-site .post-item-no-image:not(.post-item-vr)::before {
  content: "";
  display: block;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: #0b3d91 url("../img/wwl-placeholder.svg") center / cover no-repeat;
  margin-bottom: 14px;
}
.wwl-site .post-item-small.post-item-no-image { flex-direction: column; }
.wwl-site .post-item-small.post-item-no-image .tbl-cell { display: flex; flex-direction: column; flex: 1 1 auto; width: 100%; }
/* Sidebar: small thumbnail on the left instead */
.wwl-site .sidebar-widget .post-item-small.post-item-no-image { flex-direction: row; align-items: flex-start; gap: 14px; }
.wwl-site .sidebar-widget .post-item-small.post-item-no-image::before {
  width: 110px;
  min-width: 110px;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  margin: 0;
}
.wwl-site .sidebar-widget .post-item-small.post-item-no-image .tbl-cell { width: auto; min-width: 0; }

/* Read more link */
.wwl-site a.text-warning {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  color: var(--wwl-blue) !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.wwl-site a.text-warning:hover { text-decoration: underline; }
.wwl-site .small-post-meta,
.wwl-site .small-post-meta span,
.wwl-site .post-item:not(.post-item-vr) .post-meta,
.wwl-site .post-item:not(.post-item-vr) .post-meta span {
  color: var(--wwl-muted) !important;
  font-size: 12px;
  margin: 6px 0 0;
}

/* Category badges */
.wwl-site .badge-category {
  background: #e8efff !important;
  color: var(--wwl-navy) !important;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 4px 8px;
}

/* ---------- Latest posts ---------- */
.wwl-site .latest-posts { margin-top: 36px; }
.wwl-site .latest-posts .view-all { color: var(--wwl-blue) !important; font-size: 13px; font-weight: 700; }
.wwl-site .post-item-small.post-item-no-image .right { padding-left: 0; }
.wwl-site .btn-load-more {
  background: var(--wwl-navy) !important;
  border: 0 !important;
  border-radius: 10px !important;
  font-size: 15px !important;
  font-weight: 700;
  padding: 12px 28px !important;
  box-shadow: 0 6px 18px rgba(11, 61, 145, .25);
}
.wwl-site .btn-load-more:hover { background: var(--wwl-navy-dark) !important; }

/* ---------- Sidebar ---------- */
.wwl-site .col-sidebar { padding-top: 36px; }
.wwl-site .sidebar-widget {
  background: #fff;
  border: 1px solid var(--wwl-line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--wwl-shadow);
  margin-bottom: 24px;
}
.wwl-site .sidebar-widget .widget-title,
.wwl-site .sidebar-widget .widget-head .title { color: var(--wwl-ink); font-weight: 800; }
.wwl-site .sidebar-widget .post-item-small,
.wwl-site .sidebar-widget .post-item-no-image { box-shadow: none; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .wwl-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wwl-home .wwl-hero-title { font-size: 32px; }
}
@media (max-width: 575.98px) {
  .wwl-hero { padding-top: 36px; margin-bottom: 40px; }
  .wwl-home .wwl-hero-title { font-size: 26px; }
  .wwl-hero-sub { font-size: 15px; }
  .wwl-hero-actions .wwl-btn { flex: 1 1 100%; }
  .wwl-hero-points { margin-bottom: 28px; }
  .wwl-tiles { grid-template-columns: 1fr; gap: 10px; top: 20px; margin-top: -20px; }
  .wwl-site .section-category > .container-xl,
  .wwl-site .section-cat-slider > .container-xl { border-radius: 12px; padding: 18px 14px 2px; margin: 0 10px; width: auto; }
  .wwl-site .newsticker-container { margin: 0 10px; }
  .wwl-site .section-title .d-flex { flex-wrap: wrap; gap: 8px; }
  .wwl-site .section-title .title { font-size: 19px; }
}

/* =====================================================================
   Sitewide additions: sidebar thumbnails, category pages, article pages,
   footer.
   ===================================================================== */

/* Sidebar: thumbnail on the left (beats the generic column rule) */
.wwl-site .sidebar-widget .row > [class*="col-"] > .post-item-small.post-item-no-image,
.wwl-site .sidebar-widget .post-item-small.post-item-no-image {
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
  height: auto;
}
.wwl-site .sidebar-widget .post-item-small .title { font-size: 14px; margin-bottom: 6px; }
.wwl-site .sidebar-widget .post-item-small { padding: 12px; margin-bottom: 12px; }
.wwl-site .sidebar-widget .post-item-small .left { width: 110px; min-width: 110px; }
.wwl-site .sidebar-widget .post-item-small .left img { border-radius: 8px; }
.wwl-site .sidebar-widget .widget-head { border-bottom: 1px solid var(--wwl-line); margin-bottom: 16px; }
.wwl-site .sidebar-widget .widget-head:after { display: none; }
.wwl-site .sidebar-widget .widget-head .title { font-size: 18px; position: relative; padding-left: 12px; }
.wwl-site .sidebar-widget .widget-head .title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 4px;
  border-radius: 4px;
  background: var(--wwl-yellow);
}
/* tags */
.wwl-site .tag-list li a {
  border-radius: 999px !important;
  background: var(--wwl-soft) !important;
  border: 1px solid var(--wwl-line);
  color: var(--wwl-text) !important;
  font-weight: 600;
  font-size: 12px;
}
.wwl-site .tag-list li a:hover { background: var(--wwl-navy) !important; border-color: var(--wwl-navy); color: #fff !important; }

/* ---------- Inner pages (category, post, page) ---------- */
.wwl-site .section-page { padding-top: 24px; padding-bottom: 40px; }
.wwl-site .breadcrumb { font-size: 13px; margin-bottom: 10px; }
.wwl-site .breadcrumb a { color: var(--wwl-blue) !important; }
.wwl-site .breadcrumb-item span,
.wwl-site .breadcrumb-item.active { color: var(--wwl-muted); }
.wwl-site .page-title {
  color: var(--wwl-ink);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.01em;
  margin: 4px 0 24px;
  padding-left: 14px;
  position: relative;
}
.wwl-site .page-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 5px;
  border-radius: 4px;
  background: var(--wwl-yellow);
}
/* category grid cards */
.wwl-site .section-page .post-item:not(.post-item-vr) {
  background: #fff;
  border: 1px solid var(--wwl-line);
  border-radius: var(--wwl-radius);
  padding: 16px 16px 12px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.wwl-site .section-page .row > [class*="col-"] > .post-item:not(.post-item-vr) { height: calc(100% - 20px); }
.wwl-site .section-page .post-item:not(.post-item-vr):hover { border-color: #c7d6f5; box-shadow: var(--wwl-shadow-hover); transform: translateY(-2px); }
.wwl-site .section-page .post-item .image { border-radius: 8px; overflow: hidden; margin-bottom: 14px; }
.wwl-site p.description:empty { display: none; }
.wwl-site .post-item p.description { color: var(--wwl-text); font-size: 13px; line-height: 1.55; margin: 8px 0 0; }
/* pagination */
.wwl-site .pagination .page-link { border-radius: 8px !important; margin: 0 3px; border-color: var(--wwl-line); color: var(--wwl-ink) !important; }
.wwl-site .pagination .active .page-link { background: var(--wwl-navy); border-color: var(--wwl-navy); color: #fff !important; }

/* ---------- Article page ---------- */
.wwl-site .post-content {
  background: #fff;
  border: 1px solid var(--wwl-line);
  border-radius: 16px;
  box-shadow: var(--wwl-shadow);
  padding: 32px 36px;
}
.wwl-site .post-content .post-title {
  color: var(--wwl-ink);
  font-size: 34px;
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 6px 0 12px;
}
.wwl-site .post-content .post-details-meta { color: var(--wwl-muted); font-size: 13px; border-bottom: 1px solid var(--wwl-line); padding-bottom: 14px; }
.wwl-site .post-content .post-details-meta span { color: var(--wwl-muted); }
.wwl-site .post-share-buttons { gap: 8px; flex-wrap: wrap; }
.wwl-site .post-share-buttons .btn-share { margin: 0 !important; }
.wwl-site .post-share-buttons .btn-share a {
  border-radius: 8px !important;
  min-width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
}
.wwl-site .post-share-buttons .btn-share .btn-print { background: var(--wwl-soft) !important; color: var(--wwl-ink) !important; border: 1px solid var(--wwl-line); }
.wwl-site .post-image:not(:has(img)) { display: none; }
.wwl-site .post-image img { border-radius: 12px; }
/* readable article text */
.wwl-site .post-text,
.wwl-site .post-text p,
.wwl-site .post-text li { color: #1f2937; font-size: 17px; line-height: 1.8; }
.wwl-site .post-text li { margin-bottom: 6px; }
.wwl-site .post-text h2,
.wwl-site .post-text h3,
.wwl-site .post-text h4 { color: var(--wwl-ink); font-weight: 800; margin: 1.6em 0 .6em; line-height: 1.3; }
.wwl-site .post-text h2 { font-size: 26px; }
.wwl-site .post-text h3 { font-size: 21px; }
.wwl-site .post-text strong,
.wwl-site .post-text b { color: var(--wwl-ink); }
.wwl-site .post-text a { color: var(--wwl-blue) !important; text-decoration: underline; text-underline-offset: 3px; }
.wwl-site .post-text img { max-width: 100%; height: auto; border-radius: 10px; }
.wwl-site .post-text table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 15px; }
.wwl-site .post-text table td,
.wwl-site .post-text table th { border: 1px solid var(--wwl-line); padding: 10px 12px; }
.wwl-site .post-text table tr:nth-child(even) td { background: var(--wwl-soft); }
.wwl-site .post-text blockquote {
  border-left: 4px solid var(--wwl-yellow);
  background: #fffbeb;
  padding: 14px 18px;
  border-radius: 0 10px 10px 0;
  margin: 1.2em 0;
}
/* hide the empty "Tags:" row */
.wwl-site .post-tags:not(:has(li)) { display: none !important; }
.wwl-site .post-tags .title { font-size: 15px; font-weight: 800; color: var(--wwl-ink); }
.wwl-site .post-tags ul li a {
  border-radius: 999px;
  background: var(--wwl-soft);
  border: 1px solid var(--wwl-line);
  color: var(--wwl-text) !important;
  font-size: 12px;
  font-weight: 600;
}
/* previous / next */
.wwl-site .post-next-prev {
  background: var(--wwl-soft);
  border: 1px solid var(--wwl-line) !important;
  border-radius: var(--wwl-radius);
  padding: 18px 20px;
}
.wwl-site .post-next-prev .head-title a { color: var(--wwl-muted) !important; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.wwl-site .post-next-prev .title a { color: var(--wwl-ink) !important; font-weight: 700; }
.wwl-site .post-next-prev .title a:hover { color: var(--wwl-blue) !important; }

/* ---------- Footer ---------- */
.wwl-site #footer .post-item-small,
.wwl-site #footer .post-item-no-image {
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
  transform: none;
  margin-bottom: 18px;
}
.wwl-site #footer .post-item-small.post-item-no-image { flex-direction: row; align-items: flex-start; gap: 14px; height: auto; }
.wwl-site #footer .post-item-small.post-item-no-image::before {
  width: 96px;
  min-width: 96px;
  aspect-ratio: 4 / 3;
  margin: 0;
  border-radius: 8px;
}
.wwl-site #footer .post-item-small .left { width: 96px; min-width: 96px; }
.wwl-site #footer .post-item-small .left img { border-radius: 8px; }
.wwl-site #footer .post-item-small .title { font-size: 14px; }
.wwl-site #footer .post-item-small .title a { color: #f1f5f9 !important; }
.wwl-site #footer .post-item-small .title a:hover { color: #fde68a !important; }
.wwl-site #footer a.text-warning { color: #fbbf24 !important; }
.wwl-site #footer .small-post-meta,
.wwl-site #footer .small-post-meta span { color: #94a3b8 !important; }
.wwl-site #footer .widget-title { position: relative; padding-left: 12px; }
.wwl-site #footer .widget-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 4px;
  border-radius: 4px;
  background: var(--wwl-yellow);
}

@media (max-width: 767.98px) {
  .wwl-site .post-content { padding: 20px 16px; border-radius: 12px; }
  .wwl-site .post-content .post-title { font-size: 25px; }
  .wwl-site .post-text,
  .wwl-site .post-text p,
  .wwl-site .post-text li { font-size: 16px; }
  .wwl-site .page-title { font-size: 24px; }
}

/* fixes: flex layout for small items everywhere, article font, empty widgets */
.wwl-site .tbl-container.post-item-small { display: flex !important; }
.wwl-site .post-text,
.wwl-site .post-text p,
.wwl-site .post-text li { font-family: var(--vr-font-primary); letter-spacing: 0; }
.wwl-site .sidebar-widget:not(:has(.widget-body *)) { display: none; }

/* small items that have a real image: keep the image column fixed */
.wwl-site .tbl-container.post-item-small > .tbl-cell.left { flex: 0 0 auto; }
.wwl-site .tbl-container.post-item-small > .tbl-cell.left .image img { width: 100%; height: auto; display: block; }
.wwl-site .tbl-container.post-item-small > .tbl-cell.right { flex: 1 1 auto; min-width: 0; }

/* =====================================================================
   Modern header / menu bar
   ===================================================================== */
.wwl-site #nav-top { display: none !important; }
.wwl-site #header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, .96) !important;
  backdrop-filter: saturate(160%) blur(8px);
  -webkit-backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--wwl-line);
  box-shadow: 0 4px 18px rgba(15, 23, 42, .05);
}
.wwl-site .nav-main {
  background: transparent !important;
  border-bottom: 0 !important;
  padding: 0 !important;
}
.wwl-site .nav-main > .container-xl,
.wwl-site .navbar > .container-xl { height: 72px !important; }
.wwl-site .nav-main .navbar-brand { margin-right: 22px; }
.wwl-site .nav-main .navbar-brand .logo {
  height: 46px !important;
  width: auto;
  border-radius: 8px;
}
/* menu links */
.wwl-site .nav-main .navbar-nav.navbar-left { gap: 2px; }
.wwl-site .nav-main .navbar-nav .nav-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px;
  color: var(--wwl-ink) !important;
  font-family: var(--vr-font-secondary);
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-transform: none !important;
  letter-spacing: 0;
  padding: 10px 12px !important;
  border-radius: 10px;
  white-space: nowrap;
  transition: background-color .15s ease, color .15s ease !important;
}
.wwl-site .nav-main .navbar-nav .nav-link .icon-arrow-down {
  font-size: 9px;
  opacity: .55;
  margin-left: 2px;
  transition: transform .15s ease;
}
.wwl-site .nav-main .navbar-left .nav-item:hover > .nav-link,
.wwl-site .nav-main .navbar-left .nav-item.active > .nav-link {
  background: #eef3ff;
  color: var(--wwl-navy) !important;
}
.wwl-site .nav-main .navbar-left .nav-item:hover > .nav-link .icon-arrow-down { transform: rotate(180deg); opacity: .9; }
.wwl-site .nav-main .navbar-left .nav-link.wwl-current {
  color: var(--wwl-navy) !important;
  background: #eef3ff;
  box-shadow: inset 0 -2px 0 var(--wwl-yellow);
}
/* search button */
.wwl-site .nav-main .navbar-right .search-icon {
  width: 40px;
  height: 40px;
  padding: 0 !important;
  justify-content: center;
  border-radius: 10px;
  background: var(--wwl-soft);
  border: 1px solid var(--wwl-line);
  color: var(--wwl-ink) !important;
}
.wwl-site .nav-main .navbar-right .search-icon:hover { background: #eef3ff; color: var(--wwl-navy) !important; }
.wwl-site .nav-main .navbar-right .search-icon svg { width: 18px; height: 18px; }
.wwl-site .nav-main .search-form {
  border-radius: 12px;
  border: 1px solid var(--wwl-line);
  box-shadow: 0 12px 32px rgba(15, 23, 42, .12);
  overflow: hidden;
}
/* call-to-action button */
.wwl-site .nav-main .wwl-nav-cta-item { margin-left: 10px; }
.wwl-site .nav-main a.wwl-nav-cta {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  background: var(--wwl-yellow);
  color: #1f2937 !important;
  font-family: var(--vr-font-secondary);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(245, 179, 1, .35);
  transition: transform .15s ease, background-color .15s ease;
}
.wwl-site .nav-main a.wwl-nav-cta:hover { background: #ffc21a; transform: translateY(-1px); }
/* mega menu dropdown */
.wwl-site .mega-menu {
  border: 1px solid var(--wwl-line) !important;
  border-top: 0 !important;
  border-radius: 0 0 16px 16px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .12) !important;
}
.wwl-site .mega-menu .menu-left { background: var(--wwl-navy) !important; background-image: none !important; }
.wwl-site .mega-menu .menu-left a { border-radius: 8px; color: rgba(255, 255, 255, .85) !important; }
.wwl-site .mega-menu .menu-left a.active,
.wwl-site .mega-menu .menu-left a:hover { background: rgba(255, 255, 255, .12); color: #fff !important; }
.wwl-site .mega-menu .menu-post-item .image { border-radius: 10px; overflow: hidden; }
.wwl-site .mega-menu .menu-post-item .title a { color: var(--wwl-ink) !important; font-weight: 700; }
.wwl-site .mega-menu .menu-post-item .title a:hover { color: var(--wwl-blue) !important; }

/* tighter menu on mid-size screens */
@media (max-width: 1399.98px) {
  .wwl-site .nav-main .navbar-nav .nav-link { padding: 9px 9px !important; font-size: 13.5px !important; }
}
@media (max-width: 1199.98px) {
  .wwl-site .nav-main .navbar-nav .nav-link { padding: 8px 7px !important; font-size: 13px !important; }
  .wwl-site .nav-main .navbar-brand { margin-right: 10px; }
}

/* mobile header */
.wwl-site .header-mobile {
  background: var(--wwl-navy) !important;
  box-shadow: 0 4px 18px rgba(7, 42, 102, .25);
}
.wwl-site .header-mobile .mobile-logo .logo { border-radius: 6px; }
.wwl-site .nav-mobile { background: var(--wwl-navy-dark) !important; }

/* real-image thumbnails in small items: same size as the placeholders */
.wwl-site .tbl-container.post-item-small > .tbl-cell.left { width: 110px !important; min-width: 110px; display: block; }
.wwl-site .tbl-container.post-item-small > .tbl-cell.left .image {
  width: 110px !important;
  height: 82px !important;
  border-radius: 8px;
  overflow: hidden;
}
.wwl-site .tbl-container.post-item-small > .tbl-cell.left .image img { width: 100% !important; height: 100% !important; object-fit: cover; }
.wwl-site #footer .tbl-container.post-item-small > .tbl-cell.left { width: 96px !important; min-width: 96px; }
.wwl-site #footer .tbl-container.post-item-small > .tbl-cell.left .image { width: 96px !important; height: 72px !important; }
.wwl-site .tbl-container.post-item-small > .tbl-cell.right { padding-left: 14px; }
.wwl-site .tbl-container.post-item-small.post-item-no-image > .tbl-cell.right { padding-left: 0; }

/* =====================================================================
   Menu on the right + responsive
   ===================================================================== */
/* logo left, everything else grouped on the right */
.wwl-site .nav-main .navbar-collapse { justify-content: flex-end; }
.wwl-site .nav-main .navbar-nav.navbar-left { margin-left: auto !important; }
.wwl-site .nav-main .navbar-nav.navbar-right {
  margin-left: 10px !important;
  flex-wrap: nowrap !important;
  gap: 8px;
}
.wwl-site .nav-main .navbar-right > .nav-item { width: auto !important; flex: 0 0 auto; }
.wwl-site .nav-main .wwl-nav-cta-item { margin-left: 0; }
.wwl-site .nav-main .navbar-nav.navbar-left { flex-wrap: nowrap; }

/* small laptops: keep it on one line */
@media (max-width: 1199.98px) {
  .wwl-site .nav-main .wwl-nav-cta-item { display: none !important; }
  .wwl-site .nav-main .navbar-brand .logo { height: 40px !important; }
}
@media (min-width: 992px) and (max-width: 1099.98px) {
  .wwl-site .nav-main .navbar-nav .nav-link { padding: 8px 6px !important; font-size: 12.5px !important; }
  .wwl-site .nav-main .navbar-nav .nav-link .icon-arrow-down { display: none; }
}

/* ---------- Mobile header + slide-out menu (below 992px) ---------- */
@media (max-width: 991.98px) {
  .wwl-site #header {
    background: transparent !important;
    border-bottom: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .wwl-site .header-mobile { height: 64px; padding: 0 12px; display: flex; align-items: center; }
  .wwl-site .header-mobile > .d-flex { width: 100%; }
  .wwl-site .header-mobile .menu-button {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .wwl-site .header-mobile .menu-button svg { width: 20px; height: 20px; }
  .wwl-site .header-mobile .mobile-logo .logo { height: 42px; width: auto; }
  .wwl-site .mobile-search-form { background: var(--wwl-navy) !important; padding: 0 12px 12px; }
  .wwl-site .mobile-search-form .form-input { border-radius: 10px 0 0 10px; height: 44px; border: 0; }
  .wwl-site .mobile-search-form .btn-custom { border-radius: 0 10px 10px 0; height: 44px; background: var(--wwl-yellow) !important; color: #1f2937 !important; border: 0; }

  /* drawer */
  .wwl-site .nav-mobile {
    top: 64px !important;
    background: #fff !important;
    box-shadow: 12px 0 32px rgba(15, 23, 42, .18);
    text-align: left;
  }
  .wwl-site .nav-mobile-open,
  .wwl-site .nav-mobile-open .nav-mobile-inner { width: min(320px, 86vw); }
  .wwl-site .nav-mobile .nav-mobile-inner { width: min(320px, 86vw); padding: 18px 16px 80px; }
  .wwl-site .nav-mobile .navbar-nav { gap: 2px; }
  .wwl-site .nav-mobile .nav-item .nav-link {
    color: var(--wwl-ink) !important;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 14px;
    border-radius: 10px;
    align-items: center;
  }
  .wwl-site .nav-mobile .nav-item .nav-link:hover,
  .wwl-site .nav-mobile .nav-item.show > .nav-link { background: #eef3ff; color: var(--wwl-navy) !important; }
  .wwl-site .nav-mobile .nav-item .nav-link .icon-arrow-down { font-size: 10px; opacity: .6; transition: transform .15s ease; }
  .wwl-site .nav-mobile .nav-item.show > .nav-link .icon-arrow-down { transform: rotate(180deg); }
  .wwl-site .nav-mobile .dropdown .menu-sub-items {
    margin: 2px 0 6px 14px !important;
    padding: 2px 0 2px 10px !important;
    border-left: 2px solid #e8efff !important;
  }
  .wwl-site .nav-mobile .dropdown .menu-sub-items .nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--wwl-text) !important;
    padding: 9px 12px;
  }
  .wwl-site .nav-mobile .btn-custom,
  .wwl-site .nav-mobile .btn-default { border-radius: 10px !important; }
  .wwl-site .overlay-bg { background: rgba(7, 23, 52, .55) !important; }
  .wwl-site a.wwl-mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    margin-bottom: 14px;
    border-radius: 10px;
    background: var(--wwl-yellow);
    color: #1f2937 !important;
    font-family: var(--vr-font-secondary);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(245, 179, 1, .35);
  }
}
@media (min-width: 992px) {
  .wwl-site a.wwl-mobile-cta { display: none; }
}
@media (max-width: 1279.98px) {
  .wwl-site .nav-main .wwl-nav-cta-item { display: none !important; }
}
.wwl-site .nav-mobile .btn-switch-mode-mobile {
  background: var(--wwl-soft) !important;
  border: 1px solid var(--wwl-line) !important;
  color: var(--wwl-ink) !important;
  border-radius: 10px !important;
}

/* mega menu: no hover gap between menu item and dropdown panel */
@media (min-width: 992px) {
  .wwl-site .nav-main .navbar-collapse,
  .wwl-site .nav-main .navbar-nav.navbar-left { align-self: stretch; height: 72px; align-items: stretch !important; }
  .wwl-site .nav-main .navbar-left > .nav-item { display: flex; align-items: center; height: 100%; position: relative; }
  /* invisible bridge below each item, covering any leftover gap */
  .wwl-site .nav-main .navbar-left > .nav-item-category::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 14px;
  }
  .wwl-site .mega-menu { top: 0 !important; }
}
/* mega menu: always readable (white panel, dark titles) */
.wwl-site .mega-menu,
.wwl-site .mega-menu .menu-right,
.wwl-site .mega-menu .menu-right .container-fluid { background-color: #fff !important; }
.wwl-site .mega-menu .menu-post-item .title,
.wwl-site .mega-menu .menu-post-item .title a { color: var(--wwl-ink) !important; font-size: 14px; line-height: 1.4; }
.wwl-site .mega-menu .menu-post-item .title a:hover { color: var(--wwl-blue) !important; }
.wwl-site .mega-menu .menu-post-item .small-post-meta,
.wwl-site .mega-menu .menu-post-item .small-post-meta span { color: var(--wwl-muted) !important; }

/* =====================================================================
   No black backgrounds: dark-mode toggle removed, footer in navy
   ===================================================================== */
.wwl-site .btn-switch-mode,
.wwl-site .btn-switch-mode-mobile { display: none !important; }
.wwl-site #footer {
  background: linear-gradient(160deg, var(--wwl-navy-dark) 0%, var(--wwl-navy) 70%, #134aa8 100%) !important;
  color: rgba(255, 255, 255, .8);
}
.wwl-site #footer .footer-copyright,
.wwl-site #footer .footer-bottom {
  background: rgba(0, 0, 0, .12) !important;
  border-top: 1px solid rgba(255, 255, 255, .12) !important;
}
.wwl-site #footer,
.wwl-site #footer p,
.wwl-site #footer .copyright { color: rgba(255, 255, 255, .8) !important; }
.wwl-site #footer .widget-title { color: #fff !important; }
.wwl-site #footer a { color: #fde68a !important; }
.wwl-site #footer .post-item-small .title a { color: #fff !important; }
.wwl-site #footer .small-post-meta,
.wwl-site #footer .small-post-meta span { color: rgba(255, 255, 255, .6) !important; }
.wwl-site #footer .newsletter-input,
.wwl-site #footer input.form-input {
  background: rgba(255, 255, 255, .1) !important;
  border: 1px solid rgba(255, 255, 255, .25) !important;
  color: #fff !important;
  border-radius: 10px 0 0 10px;
}
.wwl-site #footer input::placeholder { color: rgba(255, 255, 255, .6); }
.wwl-site #footer .newsletter .btn,
.wwl-site #footer button[type="submit"] {
  background: var(--wwl-yellow) !important;
  color: #1f2937 !important;
  border: 0 !important;
  font-weight: 700;
  border-radius: 0 10px 10px 0;
}
.wwl-site #footer .footer-social-links a,
.wwl-site #footer a.facebook,
.wwl-site #footer a.rss { background: rgba(255, 255, 255, .12) !important; color: #fff !important; }
.wwl-site #footer .footer-social-links a:hover { background: var(--wwl-yellow) !important; color: #1f2937 !important; }
/* search popup + image placeholders: light, not black */
.wwl-site .nav-main .search-form { background: #fff !important; }
.wwl-site .nav-main .search-form .form-input { background: #fff !important; color: var(--wwl-ink) !important; }
.wwl-site #nav-top { background: #fff !important; }
.wwl-site .scrollup { background: var(--wwl-navy) !important; border-radius: 10px; color: #fff !important; }
.wwl-site .scrollup i { color: #fff !important; }
.wwl-site .cookies-warning { background: #fff !important; color: var(--wwl-ink) !important; border-radius: 12px; box-shadow: 0 12px 32px rgba(15, 23, 42, .18); }
.wwl-site .scrollup i { background: var(--wwl-navy) !important; border-radius: 10px; }
.wwl-site #btn_modal_newsletter,
.wwl-site .modal .btn-custom { background: var(--wwl-navy) !important; border-color: var(--wwl-navy) !important; color: #fff !important; border-radius: 10px; }
.wwl-site .image { background-color: #e8efff !important; }
.wwl-site .mobile-search-form { background: var(--wwl-navy) !important; }

/* WhatsApp button inside posts */
.wwl-site .post-text a.wwl-wa-btn,
.wwl-site a.wwl-wa-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  background: #25D366 !important;
  color: #fff !important;
  font-weight: 700;
  font-size: 16px !important;
  line-height: 1.2 !important;
  padding: 13px 24px;
  border-radius: 12px;
  text-decoration: none !important;
  margin: 12px 0;
  box-shadow: 0 6px 18px rgba(37, 211, 102, .35);
  transition: transform .15s ease, background-color .15s ease;
}
.wwl-site a.wwl-wa-btn:hover { background: #1ebe5b !important; transform: translateY(-1px); color: #fff !important; }
.wwl-site a.wwl-wa-btn svg { flex: 0 0 auto; }
.wwl-site a.wwl-wa-btn { text-align: left !important; text-align-last: left !important; max-width: 100%; }

/* "Insurance Exams" dropdown (desktop) */
.wwl-site .nav-main .wwl-dd { position: relative; }
.wwl-site .nav-main .wwl-dd-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 10000;
  width: 560px;
  background: #fff;
  border: 1px solid var(--wwl-line);
  border-radius: 0 0 16px 16px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .14);
  padding: 18px 18px 12px;
}
.wwl-site .nav-main .wwl-dd:hover > .wwl-dd-panel,
.wwl-site .nav-main .wwl-dd:focus-within > .wwl-dd-panel { display: block; }
.wwl-site .nav-main .wwl-dd:hover > .nav-link,
.wwl-site .nav-main .wwl-dd:focus-within > .nav-link { background: #eef3ff; color: var(--wwl-navy) !important; }
.wwl-site .nav-main .wwl-dd:hover > .nav-link .icon-arrow-down { transform: rotate(180deg); opacity: .9; }
.wwl-site .wwl-dd-grid { columns: 2; column-gap: 22px; }
.wwl-site .wwl-dd-group { break-inside: avoid; margin-bottom: 12px; }
.wwl-site .wwl-dd-org {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--wwl-muted);
  padding: 0 10px 4px;
}
.wwl-site .nav-main a.wwl-dd-link {
  display: block;
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--wwl-ink) !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}
.wwl-site .nav-main a.wwl-dd-link:hover { background: #eef3ff; color: var(--wwl-navy) !important; }
.wwl-site .nav-main a.wwl-dd-all {
  display: block;
  margin-top: 4px;
  padding: 11px 12px;
  border-top: 1px solid var(--wwl-line);
  color: var(--wwl-blue) !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.wwl-site .nav-main a.wwl-dd-all:hover { text-decoration: underline; }

/* room for "Insurance Exams": CTA only on wide screens, Home link hidden on small laptops */
@media (max-width: 1399.98px) {
  .wwl-site .nav-main .wwl-nav-cta-item { display: none !important; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .wwl-site .nav-main .navbar-left > .nav-item:first-child { display: none !important; }
  .wwl-site .nav-main .navbar-nav .nav-link { padding: 8px 7px !important; font-size: 13px !important; }
}
@media (max-width: 1499.98px) {
  .wwl-site .nav-main .wwl-nav-cta-item { display: none !important; }
}
@media (min-width: 992px) and (max-width: 1299.98px) {
  .wwl-site .nav-main .navbar-left > .nav-item:first-child { display: none !important; }
}
@media (min-width: 992px) and (max-width: 1099.98px) {
  .wwl-site .nav-main .navbar-nav .nav-link { padding: 8px 5px !important; font-size: 12.5px !important; }
  .wwl-site .nav-main .navbar-brand .logo { height: 36px !important; }
}

/* Sticky "LIC AAO & Insurance Exam" button (pages mentioning AAO) */
.wwl-aao-sticky {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 1040;
  display: flex;
  align-items: center;
  max-width: calc(100vw - 110px);
  background: linear-gradient(135deg, #072a66, #0b3d91 60%, #1e5bd6);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(7, 42, 102, .35);
  animation: wwlAaoIn .35s ease-out both;
}
@keyframes wwlAaoIn { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
.wwl-aao-sticky a.wwl-aao-sticky-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 8px 12px 14px;
  color: #fff !important;
  text-decoration: none !important;
  min-width: 0;
}
.wwl-aao-sticky-icon {
  flex: 0 0 36px;
  height: 36px;
  border-radius: 10px;
  background: #f5b301;
  color: #072a66;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.wwl-aao-sticky-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.wwl-aao-sticky-text strong { font-size: 14px; font-weight: 800; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wwl-aao-sticky-text small { font-size: 12px; color: #fde68a; font-weight: 600; }
.wwl-aao-sticky a.wwl-aao-sticky-link:hover .wwl-aao-sticky-text strong { text-decoration: underline; }
.wwl-aao-sticky-close {
  flex: 0 0 auto;
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, .7);
  font-size: 20px;
  line-height: 1;
  padding: 6px 12px 6px 4px;
  cursor: pointer;
}
.wwl-aao-sticky-close:hover { color: #fff; }
@media (max-width: 575.98px) {
  .wwl-aao-sticky { left: 10px; bottom: 12px; max-width: calc(100vw - 90px); }
  .wwl-aao-sticky-text strong { font-size: 13px; }
  .wwl-aao-sticky-icon { flex-basis: 32px; height: 32px; }
}
@media (max-width: 1599.98px) {
  .wwl-site .nav-main .wwl-nav-cta-item { display: none !important; }
}
