/* Pensiun Pro 2.3: readable pages, landscape stories, gentle depth. */
:root {
  --pp-ink: #0B2D55;
  --pp-ink-soft: #123F73;
  --pp-teal: #008C95;
  --pp-bright: #00A7A5;
  --pp-aqua: #38C4C1;
  --pp-light: #8ADBD5;
  --pp-white: #FFFFFF;
  --pp-teal-light: #8ADBD5;
  --pp-sand: #FFFFFF;
  --pp-orange: #38C4C1;
  --pp-line: rgba(18, 63, 115, .18);
  --background: #FFFFFF;
  --foreground: #0B2D55;
  --primary: #0B2D55;
  --primary-foreground: #FFFFFF;
  --card-foreground: #0B2D55;
  --secondary: #8ADBD5;
  --secondary-foreground: #0B2D55;
  --muted: #FFFFFF;
  --muted-foreground: #123F73;
  --accent: #008C95;
  --accent-foreground: #FFFFFF;
  --border: var(--pp-line);
  --ring: #123F73;
}
html { scroll-padding-top: 7rem; }
html[data-large-text="true"] { font-size: 112.5%; }
body { font-size: 1.125rem; line-height: 1.8; overflow-x: clip; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: rgba(56, 196, 193, .2); }
:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid var(--pp-ink-soft);
  outline-offset: 4px;
  box-shadow: 0 0 0 7px var(--pp-white);
}
[hidden] { display: none !important; }
[id] { scroll-margin-top: 6rem; }
.container, .section, .duo, .quote-wrap { width: 100%; }
.section, .section-tinted, .quote-wrap { padding-block: clamp(3rem, 6vw, 5.5rem); }
.section-tinted { background: rgba(138, 219, 213, .16); }
.section-title { margin: 0; line-height: 1.25; letter-spacing: -.025em; }
.section-intro { font-size: 1.125rem; line-height: 1.8; }
.card, .panel, .tool-card, .post-card, .shop-card { border-color: var(--pp-line); }
.card p, .panel p, .tool-body p, .step p { font-size: 1.125rem; }
.card h3, .step h3 { font-size: 1.35rem; line-height: 1.4; }
.badge, .post-card .tag { color: var(--pp-ink); background: rgba(138,219,213,.4); font-size: 1rem; }
.entry-content { font-size: 1.1875rem; line-height: 1.85; overflow-wrap: break-word; }
.entry-content a, .shop-note a { color: var(--pp-ink-soft); text-decoration: underline; text-underline-offset: .2em; }
.entry-content :is(iframe, video, table) { max-width: 100%; }
.entry-content table { display: block; overflow-x: auto; }
.btn, .btn-secondary, .btn-toko, .nav-toggle { min-height: 48px; font-size: 1rem; line-height: 1.5; }
.btn, .btn-secondary { display: inline-flex; align-items: center; justify-content: center; gap: .75rem; padding: .8rem 1.25rem; }
.btn-accent { color: var(--pp-ink); background: var(--pp-aqua); box-shadow: 0 5px 0 var(--pp-teal); }
.btn-accent:hover { background: var(--pp-light); color: var(--pp-ink); transform: translateY(-2px); }
.btn-secondary { color: var(--pp-ink); background: rgba(138,219,213,.35); }
.btn-secondary:hover { background: var(--pp-light); color: var(--pp-ink); }
.btn-primary { color: var(--pp-white); background: var(--pp-ink); }
.card:hover, .tool-card:hover, .shop-card:hover { transform: none; }

/* Preserve the existing logo asset, lettering, proportions and treatment. */
.brand, .site-footer .brand-row { --pp-ink: #0d2342; --pp-teal: #2fb7a7; }
.site-header { background: rgba(255,255,255,.97); border-color: var(--pp-line); }
.site-header .inner { max-width: 76rem; gap: .75rem; }
.main-nav a { display: inline-flex; align-items: center; min-height: 48px; font-size: 1rem; padding-inline: .85rem; color: var(--pp-ink); }
.main-nav .btn-toko { color: var(--pp-white); background: var(--pp-ink); }
.main-nav .btn-toko:hover { color: var(--pp-ink); background: var(--pp-light); }
.mobile-nav { max-height: calc(100dvh - 5rem); overflow-y: auto; background: var(--pp-white); }
.mobile-nav a { display: block; width: 100%; min-height: 48px; }
.mobile-nav .inner { align-items: stretch; }
.mobile-nav .menu { display: block; width: 100%; }
.mobile-nav li { width: 100%; }
.mobile-nav .btn-accent { background: var(--pp-light); color: var(--pp-ink); }
.site-header .main-nav { display: none; }
.site-header .nav-toggle { display: inline-flex; align-items: center; }
.site-header .mobile-nav.open { display: block !important; }
@media (min-width: 64rem) {
  .site-header .main-nav { display: flex; }
  .site-header .nav-toggle { display: none; }
  .site-header .mobile-nav.open { display: none !important; }
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

/* Reader controls are in the page flow, so they never cover the article. */
.reading-tools { border-bottom: 1px solid var(--pp-line); background: rgba(138,219,213,.1); }
.reading-tools .container { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .4rem 1rem; padding-block: .5rem; }
.reading-tools-label { margin-right: auto; font-size: .9375rem; color: var(--pp-ink-soft); }
.reading-tools button { min-height: 44px; padding: .45rem .8rem; border: 1px solid transparent; border-radius: .45rem; background: transparent; color: var(--pp-ink); font-size: .9375rem; cursor: pointer; }
.reading-tools button span { margin-right: .3rem; font-weight: 800; }
.reading-tools button:hover { border-color: var(--pp-teal); }
.reading-tools button[aria-pressed="true"] { background: var(--pp-ink); color: var(--pp-white); }

/* Topic openings: familiar objects, generous type, useful destinations. */
.topic-hero { padding: 0; background: var(--pp-ink); color: var(--pp-white); overflow: hidden; }
.topic-hero::after { display: none; }
.topic-hero .topic-hero-grid { max-width: 76rem; display: grid; align-items: center; gap: 3rem; padding-block: 4rem; text-align: left; }
.topic-hero-copy { position: relative; z-index: 1; }
.topic-hero h1 { font-family: var(--font-serif); color: var(--pp-white); font-size: clamp(2.15rem, 4.2vw, 3.5rem); line-height: 1.2; font-weight: 600; letter-spacing: -.035em; margin: 1.15rem 0 1.25rem; text-wrap: balance; }
.topic-hero .lead { font-size: 1.1875rem; line-height: 1.8; color: var(--pp-white); max-width: 39rem; }
.topic-hero .pill { margin: 0; color: var(--pp-light); background: transparent; border: 0; border-bottom: 2px solid var(--pp-aqua); border-radius: 0; padding: 0 0 .5rem; font-size: 1rem; }
.topic-links { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; margin-top: 2rem; }
.topic-link { display: inline-flex; gap: .6rem; align-items: center; min-height: 48px; font-size: 1rem; color: var(--pp-white); text-decoration-thickness: 1px; text-underline-offset: .3em; }
.topic-link:hover { color: var(--pp-light); }
.finance-art { position: relative; padding: 1.5rem 1rem; max-width: 29rem; width: 100%; margin-inline: auto; perspective: 1200px; }
.finance-notebook { position: relative; padding: 1.75rem; background: var(--pp-white); color: var(--pp-ink); border-radius: .4rem 1rem 1rem .4rem; border-left: 9px solid var(--pp-teal); box-shadow: 6px 7px 0 var(--pp-light), 11px 13px 0 var(--pp-teal), 20px 26px 30px rgba(0,0,0,.22); transform: rotate(-4deg); }
.notebook-heading { display: flex; justify-content: space-between; gap: .5rem; border-bottom: 1px solid var(--pp-line); padding-bottom: 1rem; font-size: .6875rem; font-weight: 800; letter-spacing: .09em; }
.notebook-title { font: 600 clamp(1.75rem, 3vw, 2.5rem)/1.3 var(--font-serif); margin: 1.6rem 0; letter-spacing: -.03em; }
.notebook-row { display: flex; align-items: center; gap: .65rem; padding: .95rem 0; border-top: 1px solid var(--pp-line); font-size: 1rem; }
.notebook-row > span:first-child { color: var(--pp-ink-soft); font-size: .8rem; }
.notebook-row > span:last-child { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; margin-left: auto; border-radius: 50%; background: var(--pp-light); font-weight: 800; }
.notebook-footer { display: flex; justify-content: space-between; align-items: center; gap: .8rem; margin-top: 1rem; color: var(--pp-ink-soft); font-size: .625rem; font-weight: 800; letter-spacing: .08em; }
.notebook-footer span { font-size: 2rem; }
.health-art { margin: 1rem auto; width: 100%; max-width: 31rem; position: relative; }
.health-art::before { content: ''; position: absolute; inset: -1rem 1.2rem 1.4rem -1rem; border: 1px solid var(--pp-aqua); border-radius: 7rem .6rem .6rem; transform: rotate(-4deg); pointer-events: none; }
.health-art img { position: relative; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6rem .6rem 0 0; }
.health-art figcaption { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; color: var(--pp-ink); background: var(--pp-light); border-radius: 0 0 .6rem .6rem; font-size: 1rem; font-weight: 700; }
.health-art figcaption span { font-size: 1.5rem; }
@media (min-width: 60rem) { .topic-hero .topic-hero-grid { grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 4rem; padding-block: 4.5rem; } }
@media (min-width: 48rem) and (max-width: 59.99rem) { .topic-hero .topic-hero-grid { grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 2rem; } .finance-notebook { padding: 1.2rem; } .notebook-heading span:last-child { display: none; } }

/* Explicit stacked geometry overrides legacy side-by-side archive rules. */
.topic-archive { border-top: 1px solid var(--pp-line); background: rgba(138,219,213,.13); }
.archive-heading { max-width: 52rem; margin-bottom: 2.5rem; }
.section-eyebrow { margin: 0 0 1rem; color: var(--pp-ink-soft); font-size: .875rem; letter-spacing: .13em; font-weight: 800; }
.archive-heading .section-title { font-family: var(--font-serif) !important; font-weight: 600; font-size: clamp(1.85rem, 3.3vw, 2.65rem) !important; line-height: 1.3; }
.archive-heading .section-intro { max-width: 46rem; margin-bottom: 0; }
.topic-archive .topic-archive-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 2rem; }
@media (min-width: 48rem) { .topic-archive .topic-archive-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
.archive-card-grid > .pp-editorial-card { display: flex; flex-direction: column; min-width: 0; padding: 0; gap: 0; border: 1px solid var(--pp-line); border-radius: 1rem; overflow: hidden; box-shadow: 0 4px 0 rgba(11,45,85,.04); background: var(--pp-white); transform: none; transition: box-shadow .25s, border-color .25s; }
.pp-editorial-card > .post-card-media { flex: none; display: block; width: 100%; height: auto; min-height: 0; max-height: none; aspect-ratio: 16 / 9; margin: 0; border-radius: 0; background: var(--pp-ink); overflow: hidden; }
.pp-editorial-card .post-card-image { display: block; width: 100%; height: 100%; min-height: 0; max-height: none; margin: 0; border-radius: 0; object-fit: contain; transform: none; }
.pp-editorial-card .post-card-fallback { object-fit: cover; }
.pp-editorial-card .pp-card-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: clamp(1.25rem, 2.5vw, 2rem); }
.pp-editorial-card .meta { flex-wrap: wrap; gap: .6rem 1rem; margin: 0 0 1rem; }
.pp-editorial-card .tag { display: inline-block; padding: .25rem .7rem; font-size: .9375rem; line-height: 1.6; font-weight: 700; color: var(--pp-ink); background: rgba(138,219,213,.4); border-radius: .35rem; }
.pp-editorial-card time { font-size: .9375rem; line-height: 1.6; color: var(--pp-ink-soft); }
.pp-editorial-card .pp-card-title { margin: 0 0 1rem; font: 600 clamp(1.375rem, 2vw, 1.7rem)/1.45 var(--font-serif); letter-spacing: -.02em; overflow-wrap: anywhere; }
.pp-card-title a { color: var(--pp-ink); text-decoration: none; }
.pp-card-title a:hover { text-decoration: underline; text-underline-offset: .15em; text-decoration-thickness: 1px; }
.pp-editorial-card p { margin: 0 0 1.5rem; font-size: 1.125rem; line-height: 1.8; color: var(--pp-ink-soft); }
.pp-editorial-card .readmore { display: inline-flex; align-items: center; gap: 1.5rem; justify-content: space-between; min-height: 48px; margin: auto 0 0; padding: .6rem 1rem; border: 1px solid var(--pp-ink); border-radius: .5rem; font-size: 1rem; color: var(--pp-ink) !important; background: var(--pp-white); text-decoration: none; }
.pp-editorial-card .readmore:hover { color: var(--pp-white) !important; background: var(--pp-ink); }
.pp-editorial-card:focus-within { border-color: var(--pp-ink-soft); box-shadow: 0 8px 24px rgba(11,45,85,.1); }
@media (hover: hover) and (pointer: fine) { .archive-card-grid > .pp-editorial-card:hover { border-color: var(--pp-teal); box-shadow: 0 12px 30px rgba(11,45,85,.12); } }

/* Match the surrounding theme to the supplied seven-color family. */
.tool-thumb { background: var(--pp-ink-soft); }
.tool-thumb span { background: var(--pp-white); box-shadow: 5px 5px 0 var(--pp-teal); }
.tool-body h2 { line-height: 1.4; }
.tools-note, .accent-box { background: rgba(138,219,213,.2); }
.hero::before, .hero::after { background: rgba(56,196,193,.12); }
.hero-rhythm { background: var(--pp-ink-soft); }
.hero .pill { background: transparent !important; color: var(--pp-light) !important; border-color: var(--pp-teal); }
.hero .lead, .hero-rhythm-note, .hero-path small, .hero-rhythm-head, .hero-rhythm-main > span { color: var(--pp-white); }
.hero-rhythm-head, .hero-rhythm-note, .hero-path small { font-size: 1rem; }
.hero-rhythm::after, .hero-live-dot, .contact-orbit, .contact-note, .contact-speech-dot { animation-iteration-count: 2; }
.hero-fade-up { animation-duration: .6s; }
.site-footer .copyright { font-size: 1rem; color: var(--pp-white); }
.newsletter-form { flex-wrap: wrap; }
.newsletter-form input { min-width: 0; width: 100%; }
.contact-side > p:not(.contact-eyebrow), .contact-form-intro p, .contact-field label, .contact-field input, .contact-field textarea { font-size: 1.125rem; }
.contact-field input::placeholder, .contact-field textarea::placeholder { color: var(--pp-ink-soft); opacity: .8; }
.contact-eyebrow { color: var(--pp-ink-soft); }
.back-to-top { position: fixed; right: 1rem; bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 40; border: 1px solid var(--pp-light); background: var(--pp-ink); color: var(--pp-white); padding: .65rem .9rem; min-height: 48px; border-radius: .6rem; font-size: .9375rem; box-shadow: 0 4px 18px rgba(11,45,85,.15); cursor: pointer; }
[data-tilt] { transform: perspective(1200px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); transition: transform .3s ease-out; }
@media (max-width: 47.99rem) {
  .reading-tools .container { gap: .25rem; justify-content: space-between; }
  .reading-tools-label { display: none; }
  .reading-tools button { padding-inline: .6rem; }
  .topic-hero .topic-hero-grid { gap: 2rem; padding-block: 2.75rem; }
  .topic-hero h1 { font-size: clamp(2rem, 7.5vw, 2.75rem); }
  .topic-hero .lead { font-size: 1.125rem; }
  .finance-art { max-width: 23rem; }
  .notebook-row { font-size: .875rem; }
  .health-art { padding: 0 .5rem; }
  .health-art::before { left: 0; }
  .topic-archive .topic-archive-grid { gap: 1.5rem; }
  .panel, .quote { padding: 1.5rem; }
  .back-to-top { right: .65rem; bottom: .65rem; }
}
html[data-motion="reduced"] { scroll-behavior: auto; }
html[data-motion="reduced"] *, html[data-motion="reduced"] *::before, html[data-motion="reduced"] *::after { animation: none !important; transition: none !important; }
html[data-motion="reduced"] [data-tilt], html[data-motion="reduced"] .card:hover, html[data-motion="reduced"] .btn:hover { transform: none; }
html[data-motion="reduced"] .hero-fade-up { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-tilt], .card:hover, .btn:hover { transform: none !important; }
  .hero-fade-up { opacity: 1; }
}

/* Navigation below the topic article grids. */
.topic-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2.5rem; }
@media (max-width: 35rem) { .topic-pagination .btn { width: 100%; justify-content: center; } }
