/* ============================================================
   Spun Theme – Main Stylesheet
   Matches credittus.com visual design
   ============================================================ */

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  --bg:      #f7f8fb;
  --surface: #f8f9fa;
  --text:    #0f172a;
  --muted:   #64748b;
  --brand:   #0ea5e9;
  --brand-dk:#0284c7;
  --max: 1280px;
  --b:       1px solid #e2e8f0;
  --radius:  8px;
  --font:    system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --shadow:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,.08), 0 2px 4px -2px rgba(0,0,0,.04);
  --header-h: 64px;
}

/* ── Reset / Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  font-family: var(--font);
  font-size:   16px;
  color:       var(--text);
  background:  var(--bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .6em;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

p { margin: 0 0 1em; }

.screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── Container ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Preloader ──────────────────────────────────────────────── */
.spun-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity .35s ease, visibility .35s ease;
}

.spun-preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.spun-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--b);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spun-spin .7s linear infinite;
}

@keyframes spun-spin {
  to { transform: rotate(360deg); }
}

.spun-preloader__text {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--muted);
}

/* ── Header ─────────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: var(--b);
  height: var(--header-h);
  width: 100%;
}

.header__wrap {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.header__brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header__logo {
  display: flex;
  align-items: center;
}

.header__logo img,
.logo-light,
.logo-dark {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.logo-dark { display: none; }

.header__nav {
  flex: 1;
}

.header__nav .nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.header__nav .nav li a {
  display: block;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border-radius: 6px;
  text-decoration: none;
  transition: background .15s, color .15s;
}

.header__nav .nav li a:hover,
.header__nav .nav li.current-menu-item > a {
  background: var(--surface);
  color: var(--brand);
}

.header__tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Search mini (desktop inline) */
.search-mini {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: var(--b);
  border-radius: 999px;
  padding: 0 12px;
  gap: 6px;
  height: 36px;
}

.search-mini svg {
  width: 16px;
  height: 16px;
  color: var(--muted);
  flex-shrink: 0;
}

.search-mini input {
  border: none;
  background: transparent;
  font-size: 13px;
  color: var(--text);
  outline: none;
  width: 160px;
  font-family: var(--font);
}

.search-mini input::placeholder { color: var(--muted); }

/* Search trigger button (mobile icon) */
.search-trigger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  border-radius: 6px;
  padding: 0;
  transition: background .15s;
}

.search-trigger:hover { background: var(--surface); }

.search-trigger svg {
  width: 20px;
  height: 20px;
}

/* Mobile hamburger */
.header__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  flex-shrink: 0;
  transition: background .15s;
}

.header__toggle:hover { background: var(--surface); }

.header__toggle-outer,
.header__toggle-outer::before,
.header__toggle-outer::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
  position: relative;
}

.header__toggle-outer::before,
.header__toggle-outer::after {
  content: '';
  position: absolute;
  left: 0;
}

.header__toggle-outer::before { top: -7px; }
.header__toggle-outer::after  { top:  7px; }

/* Toggle active = X */
.header__toggle[aria-expanded="true"] .header__toggle-outer {
  background: transparent;
}
.header__toggle[aria-expanded="true"] .header__toggle-outer::before {
  transform: rotate(45deg) translate(5px, 5px);
}
.header__toggle[aria-expanded="true"] .header__toggle-outer::after {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Drawer (mobile nav) ─────────────────────────────────────── */
.drawer {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0; bottom: 0;
  z-index: 99;
  background: var(--bg);
  transform: translateX(-100%);
  transition: transform .3s ease;
  overflow-y: auto;
}

.drawer[aria-hidden="false"] {
  transform: translateX(0);
}

.drawer__inner {
  padding: 24px 20px;
}

.drawer__menu .menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.drawer__menu .menu li {
  border-bottom: var(--b);
}

.drawer__menu .menu li a {
  display: block;
  padding: 14px 4px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
}

.drawer__menu .menu li a:hover { color: var(--brand); }

/* ── Search Overlay ──────────────────────────────────────────── */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15,23,42,.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.search-overlay[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

.search-overlay__panel {
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 560px;
  padding: 28px;
  margin: 0 16px;
}

.search-overlay__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.search-overlay__title {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

.search-overlay__close {
  width: 32px; height: 32px;
  border: none;
  background: var(--surface);
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: background .15s;
}
.search-overlay__close:hover { background: #e2e8f0; }

.search-overlay__form {
  display: flex;
}

.search-overlay__input {
  width: 100%;
  border: var(--b);
  border-radius: var(--radius);
  padding: 10px 16px;
  font-size: 16px;
  font-family: var(--font);
  color: var(--text);
  outline: none;
  transition: border-color .15s;
}
.search-overlay__input:focus { border-color: var(--brand); }

.search-overlay__hint {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}

/* ── Site Main ───────────────────────────────────────────────── */
.site-main {
  flex: 1;
}

/* ── Breadcrumbs ─────────────────────────────────────────────── */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}
.breadcrumbs a:hover { color: var(--brand); text-decoration: underline; }

.breadcrumbs span[aria-current] {
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 280px;
}

/* ── Post Hero ───────────────────────────────────────────────── */
.post-hero {
  padding: 40px 0 0;
  background: var(--bg);
}

.post-hero__wrap {
  /* uses .container */
}

.post-hero__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.post-hero--no-sidebar .post-hero__content {
  grid-template-columns: 1fr 420px;
  gap: 48px;
}

.post-hero__main {
  /* left column */
}

.post-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--text);
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

.meta-dot {
  width: 4px; height: 4px;
  background: var(--muted);
  border-radius: 50%;
}

.post-hero__thumb {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--surface);
}

.post-hero__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Post Body ───────────────────────────────────────────────── */
.post-body {
  padding: 32px 0 48px;
}

.post-body__inner {
  max-width: 780px;
}

.post-content {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
}

.post-content h2 { font-size: 1.4rem; margin-top: 2em; }
.post-content h3 { font-size: 1.2rem; margin-top: 1.5em; }

/* ── Article post-card heading hierarchy ─────────────────── */
article.post-card h2   { font-size: 1.4rem;  font-weight: 700; margin-top: 2em;   margin-bottom: .5em; color: var(--text); }
article.post-card h3   { font-size: 1.15rem; font-weight: 700; margin-top: 1.5em; margin-bottom: .4em; color: var(--text); }
article.post-card h4   { font-size: 1.05rem; font-weight: 600; margin-top: 1.25em; }
article.post-card h5,
article.post-card h6   { font-size: 1rem;    font-weight: 600; margin-top: 1em; }
article.post-card p    { margin-bottom: 1.2em; line-height: 1.75; }
article.post-card ul,
article.post-card ol   { padding-left: 1.5em; margin-bottom: 1.2em; }
article.post-card li   { margin-bottom: .4em; }

.post-content p  { margin-bottom: 1.2em; }
.post-content a  { color: var(--brand); }
.post-content ul,
.post-content ol { padding-left: 1.5em; margin-bottom: 1.2em; }
.post-content li { margin-bottom: .4em; }
.post-content img {
  border-radius: var(--radius);
  margin: 1.5em auto;
  display: block;
}
.post-content blockquote {
  margin: 1.5em 0;
  padding: 12px 20px;
  border-left: 4px solid var(--brand);
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--muted);
  font-style: italic;
}

/* ── Author Box ──────────────────────────────────────────────── */
.author {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 40px;
  padding: 20px;
  background: var(--surface);
  border-radius: var(--radius);
  border: var(--b);
}

.author__avatar img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.author__name {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 4px;
}

.author__bio {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* ── Related Posts ───────────────────────────────────────────── */
.related {
  margin-top: 40px;
}

.related__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: var(--b);
}

.related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.related__grid a {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  border-radius: var(--radius);
  overflow: hidden;
  transition: opacity .15s;
}

.related__grid a:hover { opacity: .85; }

.related__grid .thumb {
  aspect-ratio: 16/9;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
}

.related__grid .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related__grid > a > div:last-child {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

/* ── Home Hero ───────────────────────────────────────────────── */
.home-hero {
  padding: 40px 0 32px;
  background: var(--bg);
}

.home-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.home-hero__media {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--surface);
}

.home-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.home-hero__media:hover img { transform: scale(1.03); }

.home-hero__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.home-hero__kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
}

.home-hero__kicker a {
  color: var(--brand);
  text-decoration: none;
}

.home-hero__title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
}

.home-hero__title a {
  color: var(--text);
  text-decoration: none;
}
.home-hero__title a:hover { color: var(--brand); }

.home-hero__excerpt {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.home-hero__read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  transition: color .15s;
}
.home-hero__read:hover { color: var(--brand-dk); text-decoration: underline; }

/* ── Home Grid ───────────────────────────────────────────────── */
.home-grid {
  padding: 0 0 48px;
}

/* ── Posts List (grid of cards) ──────────────────────────────── */
.posts-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ── Post Card ───────────────────────────────────────────────── */
.postit {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  border: var(--b);
  background: var(--bg);
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}

.postit:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.postit__media {
  display: block;
  aspect-ratio: 16/9;
  background: var(--surface);
  overflow: hidden;
  flex-shrink: 0;
}

.postit__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.postit:hover .postit__media img { transform: scale(1.04); }

.postit__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.postit__kicker {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
}

.postit__kicker a { color: var(--brand); text-decoration: none; }

.kdot {
  display: inline-block;
  width: 3px; height: 3px;
  background: currentColor;
  border-radius: 50%;
  opacity: .5;
}

.postit__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.postit__title a {
  color: var(--text);
  text-decoration: none;
}
.postit__title a:hover { color: var(--brand); }

.postit__excerpt {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Category / Archive Head ─────────────────────────────────── */
.cathead {
  background: var(--surface);
  border-bottom: var(--b);
  padding: 28px 0;
}

.cathead__wrap {
  /* uses .container */
}

.cathead__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin: 0;
}

/* ── Archive main layout ─────────────────────────────────────── */
.archive-main {
  padding: 36px 0 48px;
}

.layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
}

.layout__main {
  min-width: 0;
}

/* Archive posts list = 2-col */
.archive-main .posts-list {
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* ── Sidebar ─────────────────────────────────────────────────── */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebox {
  background: var(--surface);
  border: var(--b);
  border-radius: var(--radius);
  overflow: hidden;
}

.sidebox__title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  padding: 12px 16px;
  border-bottom: var(--b);
  background: rgba(0,0,0,.02);
}

.side-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.side-list li {
  border-bottom: var(--b);
}
.side-list li:last-child { border-bottom: none; }

.side-list li a {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
  transition: background .12s, color .12s;
}
.side-list li a:hover {
  background: rgba(14,165,233,.05);
  color: var(--brand);
}

/* ── Pagination ──────────────────────────────────────────────── */
.pag,
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 36px;
}

.pag .page-numbers,
.nav-links .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: var(--b);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  background: var(--bg);
  transition: background .15s, color .15s, border-color .15s;
}

.pag .page-numbers:hover,
.nav-links .page-numbers:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.pag .page-numbers.current,
.nav-links .page-numbers.current {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  font-weight: 700;
}

/* ── Page (static pages) ─────────────────────────────────────── */
.page-bc {
  background: var(--surface);
  border-bottom: var(--b);
  padding: 12px 0;
  font-size: 13px;
  color: var(--muted);
}

.page-bc__wrap a {
  color: var(--muted);
  text-decoration: none;
}
.page-bc__wrap a:hover { color: var(--brand); }

.page-hero {
  padding: 36px 0 28px;
  background: var(--bg);
  border-bottom: var(--b);
}

.page-hero__wrap h1 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  margin: 0 0 10px;
}

.page-meta {
  font-size: 13px;
  color: var(--muted);
}

.dot {
  display: inline-block;
  width: 4px; height: 4px;
  background: var(--muted);
  border-radius: 50%;
  margin: 0 6px;
  vertical-align: middle;
}

.page-section {
  padding: 36px 0 64px;
}

.page__content {
  max-width: 780px;
}

.page-legal__body {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
}

.page-legal__body h2 { font-size: 1.3rem; margin-top: 2em; }
.page-legal__body h3 { font-size: 1.1rem; margin-top: 1.5em; }
.page-legal__body a  { color: var(--brand); }
.page-legal__body ul,
.page-legal__body ol { padding-left: 1.5em; margin-bottom: 1.2em; }

/* ── WP default widget styles ────────────────────────────────── */
.widget { margin-bottom: 24px; }
.widget-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
  margin-bottom: 12px;
}

/* ── Utility ─────────────────────────────────────────────────── */
.body--locked { overflow: hidden; }

/* ── Responsive ──────────────────────────────────────────────── */

/* Tablet */
@media (max-width: 1024px) {
  .posts-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .layout {
    grid-template-columns: 1fr 240px;
  }
  .archive-main .posts-list {
    grid-template-columns: 1fr;
  }
  .related__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root { --header-h: 56px; }

  /* Header: hide desktop nav & search, show mobile toggle */
  .header__nav { display: none; }
  .search-mini { display: none; }
  .search-trigger { display: flex; }
  .header__toggle { display: flex; }

  /* Posts grid → single col */
  .posts-list {
    grid-template-columns: 1fr;
  }

  /* Home hero → stack */
  .home-hero__inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Post hero → stack */
  .post-hero__content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .post-hero--no-sidebar .post-hero__content {
    grid-template-columns: 1fr;
  }
  .post-hero__thumb {
    order: -1;
  }

  /* Layout → single col */
  .layout {
    grid-template-columns: 1fr;
  }

  .archive-main .posts-list {
    grid-template-columns: 1fr;
  }

  .related__grid {
    grid-template-columns: 1fr;
  }

  /* Footer nav wrap */
  .ft__nav { gap: 16px; }

  .page-hero__wrap h1 { font-size: 1.5rem; }
  .cathead__title { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .postit__body { padding: 12px; }
  .home-hero { padding: 24px 0 16px; }
  .post-title { font-size: 1.35rem; }
  .author { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   CREDITTUS-SPUN CUSTOM OVERRIDES — match credittus.com
   ========================================================= */

/* Body bg */
body { background-color: #f4f8fc; }

/* Post hero bg — pure white */
.post-hero--no-sidebar { background: #fff; }

/* Card gradient 3-stop */


/* Chip */


/* Bullet dots */


/* Read more padding */
.read-more, .more-link { padding: 0 16px; }

/* Footer */
.site-footer { background: #fff; }
.ft__wrap { display:flex; flex-direction:column; align-items:center; gap:20px; text-align:center; }
.ft__logo img { height:48px; width:auto; }
.ft__disclaimer { max-width:680px; font-style:italic; text-align:center; }
.ft__disclaimer-more { text-decoration:underline; color:navy; }
.ft__nav { display:flex; flex-wrap:wrap; justify-content:center; gap:30px; }
.ft__nav a:hover { color:#1d4ed8; }
.ft__bottom { text-align:center; border-top:1px solid #e2e8f0; padding-top:16px; }
.logo-dark { display:none; }

/* Finance container */


/* ── SINGLE POST ── */

/* post-title typography */
.post-title { font-size:34px; font-weight:700; line-height:38px; }

/* post-card paragraphs */
.post-card { font-size:16px; line-height:normal; }
.post-card p { font-size:17px; line-height:29px; }
.post-card h2 { line-height:33.15px; }
.post-card h3 { line-height:25.857px; }

/* post-body__inner centered */
.post-body__inner { max-width:768px; margin:0 auto; }

/* post-meta */
.post-meta { color:rgb(71,85,105); }

/* breadcrumbs */
.breadcrumbs, .breadcrumbs a { font-size:12px; color:rgb(71,85,105); }

/* ── SHARE BUTTONS ── */
.share { display:flex; flex-wrap:wrap; gap:10px; margin:24px 0; padding:0; }
.share a { display:block; padding:8px 10px; background:#fff; border:1px solid rgb(231,234,240); border-radius:10px; font-size:13px; color:#0f172a; text-decoration:none; transition:border-color .2s; }
.share a:hover { border-color:#6b7280; }

/* ── AUTHOR BOX ── */
.author { display:grid; grid-template-columns:64px 1fr; gap:14px; background:#fff; border:1px solid rgb(231,234,240); border-radius:14px; padding:14px; margin:24px 0; }
.author__avatar { width:64px; height:64px; flex-shrink:0; }
.author__avatar img, .author__img { width:64px; height:64px; border-radius:50%; object-fit:cover; display:block; }
.author__name { font-size:1.25rem; font-weight:700; margin:0 0 4px; }
.author__bio { font-size:14px; line-height:24.08px; color:rgb(71,85,105); margin:0; }

/* ── RELATED SECTION ── */
.related { margin:32px 0; background:#fff; border:1px solid rgb(231,234,240); border-radius:14px; padding:14px; }
.related__title { font-size:16px; font-weight:800; line-height:20.8px; margin-bottom:16px; }
.related__grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }

/* related card — vertical */
.related .postit { display:grid; grid-template-columns:1fr; gap:8px; border:1px solid rgb(231,234,240); border-radius:12px; padding:10px; background:transparent; text-decoration:none; color:inherit; }
.related .postit .thumb { width:100%; border-radius:10px; overflow:hidden; background:rgba(15,23,42,0.08); aspect-ratio:16/9; }
.related .postit .thumb img { width:100%; height:100%; object-fit:cover; border-radius:10px; display:block; }
.related .postit h4, .related .postit .postit__title { font-size:14px; line-height:1.4; font-weight:600; color:rgb(15,23,42); margin:0; }

/* ── POST NAV ── */
.post-nav { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:32px 0; padding:0; }
.post-nav > div > a { display:block; padding:12px; background:#fff; border:1px solid rgb(231,234,240); border-radius:14px; font-size:17px; font-weight:400; color:#0f172a; text-decoration:none; line-height:normal; transition:border-color .2s; }
.post-nav > div > a:hover { border-color:#6b7280; }
.post-nav small { display:block; font-size:12px; color:#6b7280; margin-bottom:4px; }

.share a svg{width:15px;height:15px;flex-shrink:0;vertical-align:middle;}


/* =============================================
   FINANCE HOME — HERO + POSTS (credittus original)
   ============================================= */

:root {
  --finance-primary:      #1d4ed8;
  --finance-primary-dark: #1e40af;
  --finance-accent:       #10b981;
  --finance-text:         #0f172a;
  --finance-muted:        #64748b;
  --finance-border:       rgba(15,23,42,0.08);
  --finance-shadow:       0 20px 60px rgba(15,23,42,0.08);
  --finance-shadow-hover: 0 30px 70px rgba(15,23,42,0.14);
  --finance-container:    1280px;
}

.finance-home { color: var(--finance-text); }

.finance-container {
  width: min(100% - 32px, var(--finance-container));
  margin-inline: auto;
}

/* --- Hero --- */
.finance-hero {
  position: relative; overflow: hidden;
  min-height: calc(100vh - 80px); max-height: 100vh;
  display: flex; align-items: center;
  padding: 28px 0;
  background:
    radial-gradient(circle at left top,  rgba(29,78,216,.12), transparent 30%),
    radial-gradient(circle at 90% 20%,   rgba(16,185,129,.10), transparent 26%),
    linear-gradient(rgb(248,251,255) 0%, rgb(244,248,252) 100%);
}
.finance-hero::before {
  content:""; position:absolute; top:-120px; right:-120px;
  width:340px; height:340px;
  background:rgba(29,78,216,.08); filter:blur(60px);
  border-radius:50%; pointer-events:none;
}
.finance-hero::after {
  content:""; position:absolute; bottom:-100px; left:-80px;
  width:280px; height:280px;
  background:rgba(16,185,129,.08); filter:blur(60px);
  border-radius:50%; pointer-events:none;
}

.finance-hero-grid {
  position:relative; z-index:1;
  display:grid;
  grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr);
  gap:56px; align-items:center;
}
.finance-hero-copy   { max-width:620px; }

.finance-badge {
  display:inline-flex; align-items:center; gap:10px;
  min-height:40px; padding:0 16px; border-radius:999px;
  background:rgba(29,78,216,.08); border:1px solid rgba(29,78,216,.08);
  color:var(--finance-primary); font-size:14px; font-weight:700;
  margin-bottom:18px;
}

.finance-hero-copy h1 {
  margin:0 0 18px;
  font-size:clamp(2.4rem,5vw,4.9rem);
  line-height:1.02; letter-spacing:-.04em;
  color:var(--finance-text);
}
.finance-hero-copy p {
  margin:0 0 24px; font-size:18px; line-height:1.75;
  color:var(--finance-muted); max-width:590px;
}

.finance-hero-highlights {
  display:flex; flex-wrap:wrap; gap:12px;
  margin:0 0 30px; padding:0; list-style:none;
}
.finance-hero-highlights li {
  display:inline-flex; align-items:center; gap:10px;
  min-height:44px; padding:0 16px; border-radius:14px;
  background:rgba(255,255,255,.72); border:1px solid var(--finance-border);
  color:var(--finance-text); font-size:14px; font-weight:600;
  box-shadow:0 10px 30px rgba(15,23,42,.04);
  backdrop-filter:blur(8px);
}
.finance-hero-highlights li::before {
  content:""; width:8px; height:8px; border-radius:50%;
  background:var(--finance-accent); flex:0 0 8px;
}

.finance-hero-actions { display:flex; flex-wrap:wrap; gap:14px; }

.finance-btn {
  display:inline-flex; align-items:center; justify-content:center;
  min-height:56px; padding:0 24px; border-radius:14px;
  text-decoration:none; font-weight:700; transition:.25s;
}
.finance-btn-primary {
  background:var(--finance-primary); color:#fff;
  box-shadow:0 18px 38px rgba(29,78,216,.22);
}
.finance-btn-primary:hover {
  background:var(--finance-primary-dark); color:#fff; transform:translateY(-2px);
}
.finance-btn-secondary {
  background:rgba(255,255,255,.82); border:1px solid var(--finance-border);
  color:var(--finance-text); backdrop-filter:blur(8px);
}
.finance-btn-secondary:hover { background:#fff; color:var(--finance-text); transform:translateY(-2px); }

/* --- Hero Visual --- */
.finance-hero-visual {
  position:relative; display:flex;
  justify-content:center; align-items:center;
}
.finance-hero-card-wrap { position:relative; width:100%; max-width:520px; }

.finance-card-scene {
  position:relative; min-height:500px; border-radius:30px;
  background:linear-gradient(rgba(255,255,255,.96) 0%,rgba(245,249,255,.96) 100%);
  border:1px solid rgba(255,255,255,.85); box-shadow:var(--finance-shadow);
  overflow:hidden; display:flex; align-items:center; justify-content:center;
}
.finance-card-scene::before {
  content:""; position:absolute; inset:16px; border-radius:24px;
  background:
    radial-gradient(circle at right top,rgba(29,78,216,.16),transparent 30%),
    radial-gradient(circle at left bottom,rgba(16,185,129,.14),transparent 28%),
    linear-gradient(135deg,rgba(29,78,216,.05),rgba(16,185,129,.03));
  pointer-events:none;
}

.finance-card-illustration {
  position:relative; z-index:2; width:100%; max-width:420px;
  aspect-ratio:1/1; display:flex; align-items:center; justify-content:center;
}

.finance-card-main {
  position:relative; width:340px; height:220px;
  border-radius:24px; padding:24px;
  background:linear-gradient(135deg,#1d4ed8 0%,#2563eb 45%,#10b981 100%);
  box-shadow:0 35px 60px rgba(29,78,216,.24);
  color:#fff; overflow:hidden; transform:rotate(-8deg);
}
.finance-card-main::before {
  content:""; position:absolute; top:-40px; right:-20px;
  width:160px; height:160px; border-radius:50%; background:rgba(255,255,255,.14);
}
.finance-card-main::after {
  content:""; position:absolute; bottom:-55px; left:-35px;
  width:170px; height:170px; border-radius:50%; background:rgba(255,255,255,.10);
}

.finance-card-inner {
  position:relative; z-index:2; height:100%;
  display:flex; flex-direction:column; justify-content:space-between;
}
.finance-card-top { display:flex; align-items:center; justify-content:space-between; }
.finance-card-chip {
  width:52px; height:40px; border-radius:10px;
  background:linear-gradient(rgba(255,255,255,.95),rgba(255,255,255,.65));
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.18);
}
.finance-card-icon {
  width:44px; height:44px; display:inline-flex;
  align-items:center; justify-content:center;
  border-radius:12px; background:rgba(255,255,255,.14);
}
.finance-card-icon svg { width:22px; height:22px; fill:currentColor; color:#fff; }
.finance-card-number { font-size:1.2rem; font-weight:700; letter-spacing:.18em; }
.finance-card-footer {
  display:flex; align-items:flex-end; justify-content:space-between; gap:16px;
}
.finance-card-label {
  display:block; font-size:11px; letter-spacing:.12em;
  opacity:.8; text-transform:uppercase; margin-bottom:6px;
}
.finance-card-name,
.finance-card-expiry { font-size:15px; font-weight:700; }

.finance-card-back {
  position:absolute; inset:auto auto 42px 46px;
  width:290px; height:190px; border-radius:22px;
  background:linear-gradient(135deg,rgba(255,255,255,.82),rgba(226,232,240,.9));
  border:1px solid rgba(255,255,255,.9);
  transform:rotate(10deg); box-shadow:0 18px 45px rgba(15,23,42,.08);
}

/* stat floating cards */
.finance-hero-stat {
  position:absolute; z-index:3;
  background:rgba(255,255,255,.92); border:1px solid var(--finance-border);
  box-shadow:0 18px 45px rgba(15,23,42,.08);
  backdrop-filter:blur(12px); border-radius:18px; padding:14px 16px;
}
.finance-hero-stat strong { display:block; font-size:14px; color:var(--finance-text); margin-bottom:4px; }
.finance-hero-stat span   { display:block; font-size:13px; color:var(--finance-muted); line-height:1.5; }
.finance-stat-top    { top:18px;    left:-24px; }
.finance-stat-bottom { right:-18px; bottom:24px; }

/* --- Posts section --- */
.finance-posts { padding:72px 0 90px; }
.finance-section-head { margin-bottom:32px; }
.finance-section-head h2 {
  margin:0 0 12px;
  font-size:clamp(1.9rem,2.8vw,2.8rem);
  line-height:1.1; letter-spacing:-.02em;
}
.finance-section-head p {
  margin:0; color:var(--finance-muted);
  max-width:720px; font-size:16px; line-height:1.75;
}

.finance-posts-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}

.finance-post-card {
  display:flex; flex-direction:column; height:100%;
  background:rgba(255,255,255,.92); border:1px solid var(--finance-border);
  border-radius:22px; overflow:hidden;
  box-shadow:var(--finance-shadow);
  transition:transform .25s, box-shadow .25s;
}
.finance-post-card:hover {
  transform:translateY(-6px); box-shadow:var(--finance-shadow-hover);
}

.finance-post-thumb {
  display:block; aspect-ratio:16/10;
  background:#e8eff8; overflow:hidden;
}
.finance-post-thumb img {
  width:100%; height:100%; object-fit:cover;
  display:block; transition:transform .35s;
}
.finance-post-card:hover .finance-post-thumb img { transform:scale(1.04); }

.finance-post-content {
  display:flex; flex-direction:column; flex:1; padding:22px;
}
.finance-post-meta {
  display:flex; flex-wrap:wrap; align-items:center; gap:8px;
  margin-bottom:14px; font-size:13px;
  color:var(--finance-primary); font-weight:700;
}
.finance-post-content h3 { margin:0 0 14px; font-size:1.25rem; line-height:1.4; }
.finance-post-content h3 a { color:var(--finance-text); text-decoration:none; }
.finance-post-content h3 a:hover { color:var(--finance-primary); }

.finance-post-excerpt {
  margin:0 0 22px; color:var(--finance-muted);
  font-size:15px; line-height:1.75; flex-grow:1;
}
.finance-read-more {
  display:inline-flex; align-items:center; justify-content:center;
  align-self:flex-start; min-height:44px; padding:0 16px;
  border-radius:12px; background:rgba(29,78,216,.08);
  color:var(--finance-primary); text-decoration:none;
  font-weight:700; transition:.25s;
}
.finance-read-more:hover { background:var(--finance-primary); color:#fff; }

.finance-empty {
  background:#fff; border:1px solid var(--finance-border);
  border-radius:20px; padding:24px; color:var(--finance-muted);
}

/* --- Responsive --- */
@media (max-width:1100px) {
  .finance-hero { min-height:auto; max-height:none; padding:56px 0 42px; }
  .finance-hero-grid { grid-template-columns:1fr; gap:36px; }
  .finance-hero-copy { max-width:100%; }
  .finance-hero-visual { justify-content:flex-start; }
  .finance-hero-card-wrap { max-width:100%; }
  .finance-card-scene { min-height:420px; }
  .finance-stat-top { left:10px; }
  .finance-stat-bottom { right:10px; }
  .finance-posts-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:767px) {
  .finance-hero { padding:38px 0 28px; }
  .finance-hero-copy h1 { font-size:clamp(2rem,9vw,3rem); }
  .finance-hero-copy p { font-size:16px; }
  .finance-hero-highlights { gap:10px; }
  .finance-hero-highlights li { width:100%; }
  .finance-hero-actions { flex-direction:column; align-items:stretch; }
  .finance-btn { width:100%; }
  .finance-card-scene { min-height:340px; padding:18px; }
  .finance-card-illustration { max-width:100%; }
  .finance-card-main { width:280px; height:185px; padding:20px; }
  .finance-card-back { width:230px; height:155px; inset:auto auto 38px 30px; }
  .finance-card-number { font-size:1rem; }
  .finance-stat-top, .finance-stat-bottom { position:static; margin-bottom:12px; }
  .finance-posts { padding:52px 0 60px; }
  .finance-posts-grid { grid-template-columns:1fr; }
}


/* ================================================================
   PATCH v4.3 — Identik credittus.com
   Fixes: H1/H2/H3/H4/F1/F2/F3/SP2/SP3/SP5/H5
   ================================================================ */

/* [H-1] Header position: sticky → relative */
.site-header {
  position: relative !important;
}

/* [H-2] Header background: solid → rgba+blur */
.site-header {
  background: rgba(255,255,255,0.92) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

/* [H-3] Nav link color: sky-blue → #0f172a */
.site-header nav a,
.main-navigation a,
.nav-primary a {
  color: rgb(15,23,42) !important;
}

/* [H-4] Nav font-weight: 500 → 400 */
.site-header nav a,
.main-navigation a,
.nav-primary a {
  font-weight: 400 !important;
}

/* [H-5] Logo size: 125×36 → 118×34 */
.site-header .site-logo img,
.site-branding img,
header .logo img {
  width: 118px !important;
  height: 34px !important;
}

/* [F-1] Footer background: white → #f5f5f5 */
.site-footer {
  background: #f5f5f5 !important;
}

/* [F-2] Footer link color: teal → #1d4ed8 */
.site-footer a {
  color: #1d4ed8 !important;
}

/* [F-3] Disclaimer: highlight box → inline muted */
.site-footer .disclaimer,
.footer-disclaimer,
.site-footer .legal-notice {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: #6b7280 !important;
  font-size: 0.82rem !important;
}

/* [SP-2] Breadcrumb separator: / → › */
.breadcrumbs .separator::before,
.breadcrumb-separator,
.breadcrumbs li + li::before {
  content: '›' !important;
}

/* [SP-3] Share button: brand color → plain muted */
.share-buttons a,
.post-share a,
.sharedaddy a,
.sd-button {
  background: transparent !important;
  color: #6b7280 !important;
  border: 1px solid #e5e7eb !important;
  box-shadow: none !important;
}
.share-buttons a:hover,
.post-share a:hover {
  color: #374151 !important;
  background: #f3f4f6 !important;
}

/* ================================================================
   P1/P2 body class CSS selector fixes
   ================================================================ */

/* P1 template: ensure white site-main background */
.p1-template .site-main,
.p1-template-default .site-main {
  background: #fff;
}

/* P2 template: ensure white site-main background */
.p2-template .site-main,
.p2-template-default .site-main {
  background: #fff;
}


/* ============================================================
   MOBILE RESPONSIVE — atlas.zaeabjal.com
   Breakpoints: 1100px / 960px / 768px / 600px / 480px / 375px
   Audit: 2026-09-10 vs credittus.com @ 375px iPhone SE
   ============================================================ */

/* 1100px — wide tablet */
@media (max-width: 1100px) {
  .finance-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .finance-hero-copy { max-width: 100%; }
  .finance-hero-card-wrap {
    max-width: 480px;
    margin: 0 auto;
  }
}

/* 960px — tablet */
@media (max-width: 960px) {
  .header__nav     { display: none; }
  .header__toggle  { display: inline-flex; }
  .search-mini     { display: none; }
  .search-trigger  { display: inline-flex; }
  .header__title   { display: none; }

  .finance-hero {
    min-height: auto;
    padding: 38px 0 28px;
  }
  .finance-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .finance-hero-copy h1 {
    font-size: clamp(2rem, 9vw, 3rem);
  }
  .finance-hero-copy p { font-size: 16px; }

  .finance-btn {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .finance-hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .finance-hero-highlights li { width: 100%; }
  .finance-stat-top,
  .finance-stat-bottom {
    position: static;
    margin-bottom: 12px;
  }

  .finance-posts-grid,
  .posts-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .finance-card-main { width: 280px; height: 185px; }

  .ft__nav { display: block; }
  .ft__nav ul { flex-direction: column; gap: 8px; }
}

/* 768px — mobile */
@media (max-width: 768px) {
  :root { --header-h: 56px; }
  .site-header { height: var(--header-h); }

  .container,
  .site-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Post hero: single column stacked */
  .post-hero__content { display: block; }

  /* Hero image: SHOW on mobile (order: di atas judul) */
  .post-hero__thumb {
    display: block;
    order: -1;
    width: 100%;
    margin-bottom: 20px;
  }
  .post-hero__thumb img,
  .post-hero__thumb figure {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 12px;
  }

  /* Post title */
  .post-title {
    font-size: clamp(1.5rem, 5vw, 2.125rem);
    line-height: 1.2;
  }

  /* POST NAV — FIX CRITICAL OVERFLOW (378px+378px=756px di 375px) */
  .post-nav {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }
  .post-nav__prev,
  .post-nav__next { width: 100%; }

  /* Layout: no sidebar */
  .layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }

  /* Related articles */
  .related__grid { grid-template-columns: 1fr; gap: 16px; }

  /* Author box */
  .author {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  /* Share bar */
  .share { flex-wrap: wrap; gap: 8px; }
  .share a,
  .share button {
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Breadcrumb */
  .breadcrumb,
  .breadcrumb a,
  .breadcrumb span { font-size: 13px; line-height: 1.5; }

  /* Slick carousel overflow guard (P1) */
  .slick-slider,
  .slick-list,
  .slick-track { max-width: 100%; overflow: hidden; }
  .slick-slide {
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Bootstrap row reset (P1/P2) */
  .container-fluid { padding-left: 16px; padding-right: 16px; }
  .row { margin-left: 0; margin-right: 0; }
}

/* 600px — small mobile */
@media (max-width: 600px) {
  .finance-hero-grid,
  .finance-posts-grid,
  .posts-list { grid-template-columns: 1fr; }

  .finance-hero-image { height: 240px; min-height: 180px; }

  .ft__cols { grid-template-columns: 1fr; gap: 24px; }
  .ft__copy { text-align: center; }

  .card-body { padding: 12px; }
  .card-body h5,
  .card-body p { font-size: 14px; line-height: 1.5; }
}

/* 480px — iPhone SE / narrow */
@media (max-width: 480px) {
  .container,
  .site-container { padding-left: 14px; padding-right: 14px; }

  .post-title { font-size: 1.5rem; line-height: 1.25; }

  .entry-content p,
  .entry-content li,
  article p,
  article li { font-size: 16px; line-height: 1.7; }

  .entry-content h2,
  article h2 { font-size: 1.375rem; }

  .entry-content h3,
  article h3 { font-size: 1.125rem; }

  .finance-btn,
  .btn,
  a.btn,
  button.btn {
    min-height: 44px;
    font-size: 15px;
    padding: 10px 20px;
  }

  /* P1 CTA */
  .p1-template .wp-block-button a { min-height: 44px; display: block; text-align: center; padding: 12px 16px; }

  /* P2 CTA */
  .p2-template .wp-block-button a { min-height: 44px; display: block; text-align: center; padding: 12px 16px; }

  /* No horizontal scroll */
  body { overflow-x: hidden; }
  .site-wrapper,
  .site-main,
  main { max-width: 100vw; overflow-x: hidden; }
}

/* 375px — exact iPhone SE floor */
@media (max-width: 375px) {
  .finance-hero-copy h1 { font-size: 1.875rem; }
  .post-title { font-size: 1.375rem; }
  .finance-card-main { width: 100%; max-width: 280px; height: 165px; }
}

/* P0 FIX: P1/P2 H3 font-size match credittus (26px) */
.p1-template h3,
.p2-template h3,
.single-p1 h3,
.single-p2 h3 {
  font-size: 26px !important;
}

/* P0 FIX: P1 H2 font-size match credittus (16px) */
/* Bootstrap .h2 = 2rem = 32px; credittus spun uses smaller 16px */
.p1-template h2,
.single-p1 h2 {
  font-size: 1rem !important; /* 16px */
  font-weight: 600;
}

/* P0 FIX: Material Icons — ensure icons render as icon, not text */
/* Di credittus, Material Symbols font loaded & icons tidak visible sebagai teks */
.p2-template .material-symbols-outlined,
.single-p2 .material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  vertical-align: middle;
  margin-right: 4px;
  color: inherit;
}


/* ── Options section — fix overflow ─────────────────────── */
.options-section   { overflow: hidden !important; }
.options-section a { box-sizing: border-box; min-width: 0; }

/* ── FIX: Body font-family → Roboto (not Roboto Slab) ────────── */
body,
html,
.container_lazy h1, .container_lazy h2, .container_lazy h3,
.container_lazy h4, .container_lazy h5, .container_lazy h6,
.container_lazy p, .container_lazy span, .container_lazy a,
.container_lazy li, .container_lazy div {
  font-family: 'Roboto', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif !important;
}

/* ================================================================
   PATCH v4.4 — FIX HEADER + BODY FONT
   ================================================================ */

/* [BODY-FONT] Force Roboto (sans-serif) on everything — override Roboto Slab */
:root { --font: 'Roboto', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif; }

html, body,
h1, h2, h3, h4, h5, h6,
p, span, a, li, div, button, input, textarea, select, label {
  font-family: 'Roboto', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif !important;
}

/* [HEADER-BG] .header class (not .site-header) — frosted white */
.header {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
}

/* [HEADER-NAV] nav links dark */
.header__nav .nav li a,
.header a.nav-link,
.header nav a {
  color: rgb(15, 23, 42) !important;
  font-weight: 500 !important;
}

/* [BODY-BG] Match credittus body bg */
body {
  background-color: #f4f8fc !important;
}

/* [P1-P2] product page body white */
.p1-template body,
.p2-template body,
body.single-p1,
body.single-p2 {
  background-color: #ffffff !important;
}

/* [HOUSING/ARTICLE H1] dark near-black match credittus article */
body.single-post .post-title,
body.single .post-title,
body.single-post h1 {
  color: rgb(32, 33, 36) !important;
  font-size: 34px !important;
  font-weight: 700 !important;
}

/* [BYLINE] Hide author byline if contains "Zienic" or generic credit */
.container_lazy .author-name:not(:empty),
.container_lazy [class*=byline] { display: none !important; }

