/*
Theme Name: Manajio Blog
Theme URI: https://blog.manajio.com/
Author: Manajio
Author URI: https://manajio.com/
Description: Tema blog Manajio yang mengikuti gaya landing ekosistem Manajio (Google Sans Flex, palet Meet/Task/Goals/People), lengkap dengan meta SEO, data terstruktur, llms.txt, dan impor konten awal.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: manajio-blog
*/

@font-face {
    font-family: 'Google Sans Flex';
    font-style: normal;
    font-weight: 1 1000;
    font-display: swap;
    src: url('assets/fonts/GoogleSansFlex-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Google Sans Flex';
    font-style: normal;
    font-weight: 1 1000;
    font-display: swap;
    src: url('assets/fonts/GoogleSansFlex-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --font: 'Google Sans Flex', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
    --bg: #ffffff;
    --surface: #f6f8fc;
    --surface-2: #edf2fa;
    --ink: #0e1726;
    --ink-2: #334155;
    --muted: #5b6576;
    --line: #e3e8f0;
    --blue: #155dfc;
    --blue-d: #0e47cf;
    --meet: #155dfc;
    --meet-c: #dce7ff;
    --meet-on: #0b3bae;
    --task: #0e8a6e;
    --task-c: #cbefe2;
    --task-on: #065a47;
    --goals: #e39b0b;
    --goals-c: #ffe7b3;
    --goals-on: #6e4200;
    --people: #7b4fe0;
    --people-c: #ebe1ff;
    --people-on: #4a23a8;
    --eco: #155dfc;
    --eco-c: #dce7ff;
    --eco-on: #0b3bae;
    --emph: cubic-bezier(0.2, 0, 0, 1);
    --spring: cubic-bezier(0.34, 1.45, 0.5, 1);
    --r-xl: 40px;
    --r-lg: 28px;
    --r-md: 20px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 96px;
}
body {
    margin: 0;
    font-family: var(--font);
    font-optical-sizing: auto;
    color: var(--ink-2);
    background: var(--bg);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
a {
    color: inherit;
    text-decoration: none;
}
:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 3px;
    border-radius: 12px;
}
h1,
h2,
h3,
h4 {
    color: var(--ink);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.12;
    font-variation-settings: 'ROND' 40;
    margin: 0;
    text-wrap: balance;
}
p {
    margin: 0;
}
.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.wrap-narrow {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
.skip-link:focus {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
    width: auto;
    height: auto;
    clip: auto;
    background: #fff;
    padding: 10px 16px;
    border-radius: 999px;
}

/* ===== tombol & chip ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 550;
    font-size: 16px;
    white-space: nowrap;
    transition: transform 0.5s var(--spring), background 0.2s, box-shadow 0.3s;
}
.btn:active {
    transform: scale(0.96);
}
.btn-primary {
    background: var(--blue);
    color: #fff;
}
.btn-primary:hover {
    background: var(--blue-d);
    box-shadow: 0 10px 30px -8px rgba(21, 93, 252, 0.55);
}
.btn-tonal {
    background: var(--surface-2);
    color: var(--ink);
}
.btn-tonal:hover {
    background: #e2e9f5;
}
.btn-sm {
    height: 40px;
    padding: 0 16px;
    font-size: 15px;
}
.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    padding: 4px 13px;
    line-height: 1.3;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--line);
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
}
.chip-cat {
    border: 0;
    background: var(--c, var(--eco-c));
    color: var(--on, var(--eco-on));
}
.chip-cat:hover {
    filter: brightness(0.97);
}
.p-meet {
    --c: var(--meet-c);
    --on: var(--meet-on);
    --accent: var(--meet);
}
.p-task {
    --c: var(--task-c);
    --on: var(--task-on);
    --accent: var(--task);
}
.p-goals {
    --c: var(--goals-c);
    --on: var(--goals-on);
    --accent: var(--goals);
}
.p-people {
    --c: var(--people-c);
    --on: var(--people-on);
    --accent: var(--people);
}
.p-eco {
    --c: var(--eco-c);
    --on: var(--eco-on);
    --accent: var(--eco);
}

/* ===== navigasi ===== */
.nav {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, 0.86);
    -webkit-backdrop-filter: saturate(1.6) blur(16px);
    backdrop-filter: saturate(1.6) blur(16px);
    box-shadow: 0 1px 0 var(--line);
}
.nav .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 16px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 20px;
    color: var(--ink);
    letter-spacing: -0.02em;
}
.brand img {
    width: 32px;
    height: 32px;
}
.brand span {
    color: var(--muted);
    font-weight: 500;
}
.nav-links {
    display: flex;
    gap: 4px;
    padding: 5px;
    border-radius: 999px;
    background: rgba(237, 242, 250, 0.7);
    list-style: none;
    margin: 0;
}
.nav-links a {
    display: block;
    white-space: nowrap;
    font-size: 15px;
    font-weight: 500;
    padding: 7px 14px;
    border-radius: 999px;
    transition: background 0.2s, color 0.2s;
}
.nav-links a:hover,
.nav-links .current-cat > a,
.nav-links a[aria-current='page'] {
    background: #fff;
    color: var(--ink);
}
.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-site {
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    padding: 8px 14px;
    border-radius: 999px;
}
.nav-site:hover {
    background: var(--surface-2);
}
.menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    background: var(--surface-2);
    color: var(--ink);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}
.menu-btn svg {
    width: 20px;
    height: 20px;
}
.mobile-menu {
    display: none;
    border-top: 1px solid var(--line);
    background: #fff;
}
.mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 12px 24px 20px;
    display: grid;
    gap: 2px;
}
.mobile-menu a {
    display: block;
    padding: 10px 0;
    font-weight: 500;
    color: var(--ink);
}
.nav.open .mobile-menu {
    display: block;
}

/* ===== hero / header halaman ===== */
.hero {
    position: relative;
    padding: 72px 0 40px;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: -40% -10% auto;
    height: 520px;
    background:
        radial-gradient(420px 260px at 18% 60%, rgba(21, 93, 252, 0.13), transparent 70%),
        radial-gradient(380px 240px at 52% 30%, rgba(14, 138, 110, 0.12), transparent 70%),
        radial-gradient(360px 240px at 80% 62%, rgba(227, 155, 11, 0.13), transparent 70%),
        radial-gradient(320px 220px at 95% 20%, rgba(123, 79, 224, 0.12), transparent 70%);
    z-index: -1;
    pointer-events: none;
}
.hero h1 {
    font-size: clamp(38px, 6vw, 68px);
    margin: 18px 0 16px;
    max-width: 900px;
}
.hero .lead {
    font-size: clamp(17px, 1.6vw, 20px);
    color: var(--muted);
    max-width: 680px;
}
.cat-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
    list-style: none;
    padding: 0;
}

/* ===== daftar artikel ===== */
.posts {
    padding: 24px 0 96px;
}
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: var(--r-lg);
    background: var(--surface);
    overflow: hidden;
    transition: transform 0.6s var(--spring), box-shadow 0.3s;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px -24px rgba(15, 30, 54, 0.35);
}
.card .thumb {
    aspect-ratio: 1200 / 630;
    background: var(--c, var(--surface-2));
}
.card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card .body {
    padding: 22px 24px 26px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}
.card h2,
.card h3 {
    font-size: 22px;
    letter-spacing: -0.02em;
    line-height: 1.22;
}
.card h2 a::after,
.card h3 a::after {
    content: '';
    position: absolute;
    inset: 0;
}
.card .excerpt {
    color: var(--muted);
    font-size: 15.5px;
}
.card .meta {
    margin-top: auto;
    font-size: 14px;
    color: var(--muted);
}
.card .chip-cat {
    position: relative;
    z-index: 1;
    align-self: flex-start;
}
.card-feature {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
}
.card-feature .thumb {
    aspect-ratio: auto;
    min-height: 100%;
}
.card-feature .body {
    padding: 40px;
    justify-content: center;
}
.card-feature h2 {
    font-size: clamp(26px, 3vw, 38px);
}
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}
.pagination .page-numbers {
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--surface);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}
.pagination .current {
    background: var(--blue);
    color: #fff;
}

/* ===== artikel ===== */
.crumbs {
    font-size: 14px;
    color: var(--muted);
}
.crumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
}
.crumbs li + li::before {
    content: '/';
    margin-right: 6px;
    color: #a5afbf;
}
.crumbs a:hover {
    color: var(--blue);
}
.article-head {
    padding: 48px 0 28px;
    position: relative;
}
.article-head h1 {
    font-size: clamp(34px, 5vw, 54px);
    margin: 18px 0 18px;
}
.article-head .lead {
    font-size: clamp(18px, 1.7vw, 21px);
    color: var(--muted);
}
.byline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 16px;
    margin-top: 22px;
    font-size: 14.5px;
    color: var(--muted);
}
.byline .who {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    font-weight: 550;
}
.byline img {
    width: 28px;
    height: 28px;
}
.cover {
    margin: 8px auto 40px;
    max-width: 1000px;
    padding: 0 24px;
}
.cover img {
    border-radius: var(--r-lg);
    width: 100%;
}
.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 56px;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px 80px;
}
.toc {
    position: sticky;
    top: 92px;
    align-self: start;
    font-size: 14.5px;
    border-left: 2px solid var(--line);
    padding-left: 18px;
}
.toc strong {
    display: block;
    color: var(--ink);
    font-weight: 600;
    margin-bottom: 10px;
}
.toc ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}
.toc a {
    color: var(--muted);
}
.toc a:hover {
    color: var(--blue);
}
.prose {
    font-size: 18px;
    line-height: 1.75;
    color: var(--ink-2);
    min-width: 0;
}
.prose > * + * {
    margin-top: 1.1em;
}
.prose h2 {
    font-size: clamp(26px, 3vw, 34px);
    margin-top: 2em;
    letter-spacing: -0.025em;
}
.prose h3 {
    font-size: clamp(21px, 2.2vw, 25px);
    margin-top: 1.6em;
    letter-spacing: -0.02em;
}
.prose a {
    color: var(--blue);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
.prose a:hover {
    color: var(--blue-d);
}
/* Tombol di dalam artikel (mis. kotak CTA) tidak ikut gaya tautan teks. */
.prose a.btn {
    text-decoration: none;
}
.prose a.btn-primary,
.prose a.btn-primary:hover {
    color: #fff;
}
.prose a.btn-tonal,
.prose a.btn-tonal:hover {
    color: var(--ink);
}
.prose strong {
    color: var(--ink);
    font-weight: 600;
}
.prose ul,
.prose ol {
    padding-left: 1.3em;
}
.prose li + li {
    margin-top: 0.4em;
}
.prose blockquote {
    margin-left: 0;
    padding: 18px 22px;
    border-left: 4px solid var(--accent, var(--blue));
    background: var(--surface);
    border-radius: 0 var(--r-md) var(--r-md) 0;
}
.prose code {
    font-size: 0.9em;
    background: var(--surface-2);
    padding: 2px 6px;
    border-radius: 6px;
}
.prose pre {
    background: #0f1e36;
    color: #e8eefb;
    padding: 20px;
    border-radius: var(--r-md);
    overflow-x: auto;
    font-size: 15px;
    line-height: 1.6;
}
.prose pre code {
    background: none;
    padding: 0;
    color: inherit;
}
.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
}
.prose table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15.5px;
    line-height: 1.5;
    min-width: 560px;
}
.prose th,
.prose td {
    text-align: left;
    vertical-align: top;
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
}
.prose thead th {
    background: var(--surface);
    color: var(--ink);
    font-weight: 600;
}
.prose tr:last-child td {
    border-bottom: 0;
}
.prose figcaption,
.prose .note {
    font-size: 14.5px;
    color: var(--muted);
}
.answer-box {
    border-radius: var(--r-md);
    background: var(--c, var(--surface));
    color: var(--on, var(--ink));
    padding: 22px 24px;
}
.answer-box strong.label {
    display: block;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.answer-box p,
.answer-box li {
    color: inherit;
}
.answer-box ul {
    margin: 8px 0 0;
}
.prose .template {
    background: var(--surface);
    border: 1px dashed #c9d3e1;
    border-radius: var(--r-md);
    padding: 20px 22px;
}
.faq {
    margin-top: 56px;
}
.faq h2 {
    margin-bottom: 16px;
}
.faq details {
    border-bottom: 1px solid var(--line);
    padding: 16px 0;
}
.faq summary {
    cursor: pointer;
    list-style: none;
    font-weight: 550;
    color: var(--ink);
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}
.faq summary::-webkit-details-marker {
    display: none;
}
.faq summary::after {
    content: '+';
    font-weight: 400;
    color: var(--muted);
}
.faq details[open] summary::after {
    content: '\2212';
}
.faq details p {
    margin-top: 10px;
    color: var(--ink-2);
}
.cta-box {
    margin-top: 56px;
    border-radius: var(--r-lg);
    background: var(--c, var(--surface));
    padding: 32px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    align-items: center;
}
.cta-box img {
    width: 64px;
    height: 64px;
}
.cta-box h2 {
    font-size: 24px;
    margin-bottom: 6px;
}
.cta-box p {
    color: var(--ink-2);
    margin-bottom: 16px;
}
.author-box {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
    font-size: 15.5px;
    color: var(--muted);
}
.author-box strong {
    display: block;
    color: var(--ink);
}
.author-box a {
    color: var(--blue);
}
.related {
    background: var(--surface);
    padding: 72px 0 88px;
}
.related h2 {
    font-size: clamp(26px, 3vw, 34px);
    margin-bottom: 28px;
}
.related .card {
    background: #fff;
}
.page-body {
    padding: 0 0 96px;
}

/* ===== footer ===== */
.site-footer {
    padding: 64px 0 36px;
    font-size: 15px;
    border-top: 1px solid var(--line);
}
.f-grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 40px;
}
.f-grid h2 {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--ink);
    margin-bottom: 14px;
}
.f-grid ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 4px;
}
.f-grid ul a {
    display: inline-block;
    padding: 4px 0;
    color: var(--muted);
}
.f-grid ul a:hover {
    color: var(--blue);
}
.f-grid .about {
    color: var(--muted);
    margin-top: 14px;
    max-width: 340px;
}
.legal {
    margin-top: 44px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    font-size: 13px;
    color: var(--muted);
}
.search-form {
    display: flex;
    gap: 8px;
    max-width: 520px;
    margin-top: 24px;
}
.search-form input[type='search'] {
    flex: 1;
    height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid #c9d3e1;
    font: inherit;
    font-size: 16px;
}

/* ===== responsif ===== */
@media (max-width: 1080px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .article-layout {
        grid-template-columns: minmax(0, 1fr);
    }
    .toc {
        display: none;
    }
    .f-grid {
        grid-template-columns: 1fr 1fr;
    }
}
/* Lima topik + tombol butuh sekitar 1200px; di bawah itu pakai menu ponsel. */
@media (max-width: 1240px) {
    .nav-links,
    .nav-site {
        display: none;
    }
    .menu-btn {
        display: inline-flex;
    }
}
@media (max-width: 860px) {
    .card-feature {
        grid-template-columns: 1fr;
    }
    .card-feature .thumb {
        aspect-ratio: 1200 / 630;
    }
    .card-feature .body {
        padding: 24px;
    }
}
@media (max-width: 640px) {
    .grid {
        grid-template-columns: 1fr;
    }
    .hero {
        padding: 48px 0 24px;
    }
    .prose {
        font-size: 17px;
    }
    .cta-box {
        grid-template-columns: 1fr;
        padding: 24px;
    }
    .f-grid {
        grid-template-columns: 1fr;
    }
    .nav .btn-primary {
        display: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }
}
