:root {
    --jlpt180-seo-bg: #f6f7f3;
    --jlpt180-seo-surface: #ffffff;
    --jlpt180-seo-ink: #17211b;
    --jlpt180-seo-muted: #637067;
    --jlpt180-seo-line: #dfe5df;
    --jlpt180-seo-brand: #1f6b47;
    --jlpt180-seo-brand-deep: #174f37;
    --jlpt180-seo-soft: #eaf4ee;
    --jlpt180-seo-warm: #fff7df;
    --jlpt180-seo-shadow: 0 12px 30px rgba(30, 50, 38, 0.08);
}

html {
    scroll-behavior: smooth;
}

body.jlpt180-sce-body {
    margin: 0 !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
    background: var(--jlpt180-seo-bg) !important;
}

#jlpt180-seo-root,
#jlpt180-seo-root * {
    box-sizing: border-box;
}

#jlpt180-seo-root {
    width: 100%;
    min-width: 0;
    overflow-x: clip;
    color: var(--jlpt180-seo-ink);
    background: var(--jlpt180-seo-bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Noto Sans", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

#jlpt180-seo-root a {
    color: var(--jlpt180-seo-brand);
    text-decoration: none;
}

#jlpt180-seo-root img,
#jlpt180-seo-root svg {
    max-width: 100%;
    height: auto;
}

#jlpt180-seo-root h1,
#jlpt180-seo-root h2,
#jlpt180-seo-root h3,
#jlpt180-seo-root p,
#jlpt180-seo-root ul,
#jlpt180-seo-root ol {
    margin-top: 0;
}

#jlpt180-seo-root h1,
#jlpt180-seo-root h2,
#jlpt180-seo-root h3 {
    color: var(--jlpt180-seo-ink);
    font-family: inherit;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.18;
    text-wrap: balance;
}

#jlpt180-seo-root p,
#jlpt180-seo-root li,
#jlpt180-seo-root a,
#jlpt180-seo-root strong,
#jlpt180-seo-root summary {
    overflow-wrap: anywhere;
}

#jlpt180-seo-root .jlpt180-seo-topbar {
    position: sticky;
    z-index: 50;
    top: 0;
    width: 100%;
    border-bottom: 1px solid rgba(223, 229, 223, 0.92);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
}

#jlpt180-seo-root .jlpt180-seo-topbar__inner,
#jlpt180-seo-root .jlpt180-seo-footer__inner {
    width: min(1120px, calc(100% - 28px));
    margin: 0 auto;
}

#jlpt180-seo-root .jlpt180-seo-topbar__inner {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

#jlpt180-seo-root .jlpt180-seo-brand {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 9px;
    color: var(--jlpt180-seo-ink);
    font-weight: 900;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

#jlpt180-seo-root .jlpt180-seo-brand__mark {
    width: 34px;
    height: 34px;
    display: inline-flex;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #fff;
    background: var(--jlpt180-seo-brand);
    font-size: 18px;
    font-weight: 900;
}

#jlpt180-seo-root .jlpt180-seo-nav {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

#jlpt180-seo-root .jlpt180-seo-nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    border-radius: 11px;
    color: var(--jlpt180-seo-ink);
    font-size: 14px;
    font-weight: 750;
    white-space: nowrap;
}

#jlpt180-seo-root .jlpt180-seo-nav .jlpt180-seo-nav__cta {
    padding-inline: 13px;
    color: #fff;
    background: var(--jlpt180-seo-brand);
}

#jlpt180-seo-root .jlpt180-seo-main {
    width: min(1120px, calc(100% - 28px));
    margin: 0 auto;
    padding: 26px 0 56px;
}

#jlpt180-seo-root .jlpt180-seo-article {
    min-width: 0;
}

#jlpt180-seo-root .jlpt180-seo-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
    margin-bottom: 18px;
    color: var(--jlpt180-seo-muted);
    font-size: 13px;
    font-weight: 650;
}

#jlpt180-seo-root .jlpt180-seo-breadcrumb a {
    color: inherit;
}

#jlpt180-seo-root .jlpt180-seo-hero {
    max-width: 890px;
    padding: 18px 0 24px;
}

#jlpt180-seo-root .jlpt180-seo-eyebrow {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--jlpt180-seo-brand);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
}

#jlpt180-seo-root .jlpt180-seo-hero h1,
#jlpt180-seo-root .jlpt180-seo-archive-hero h1 {
    margin-bottom: 16px;
    font-size: clamp(32px, 7vw, 56px);
}

#jlpt180-seo-root .jlpt180-seo-lead,
#jlpt180-seo-root .jlpt180-seo-archive-hero > p {
    max-width: 800px;
    margin-bottom: 16px;
    color: #455248;
    font-size: clamp(18px, 4.5vw, 22px);
    line-height: 1.55;
}

#jlpt180-seo-root .jlpt180-seo-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--jlpt180-seo-muted);
    font-size: 13px;
    font-weight: 650;
}

#jlpt180-seo-root .jlpt180-seo-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

#jlpt180-seo-root .jlpt180-seo-reading,
#jlpt180-seo-root .jlpt180-seo-aside {
    min-width: 0;
}

#jlpt180-seo-root .jlpt180-seo-toc,
#jlpt180-seo-root .jlpt180-seo-takeaways,
#jlpt180-seo-root .jlpt180-seo-aside__card {
    border: 1px solid var(--jlpt180-seo-line);
    border-radius: 18px;
    background: var(--jlpt180-seo-surface);
    box-shadow: var(--jlpt180-seo-shadow);
}

#jlpt180-seo-root .jlpt180-seo-toc {
    margin-bottom: 20px;
    padding: 18px;
}

#jlpt180-seo-root .jlpt180-seo-toc > strong {
    display: block;
    margin-bottom: 10px;
    font-size: 15px;
}

#jlpt180-seo-root .jlpt180-seo-toc ol {
    margin: 0;
    padding-left: 22px;
}

#jlpt180-seo-root .jlpt180-seo-toc li {
    margin: 7px 0;
    color: var(--jlpt180-seo-muted);
    font-size: 14px;
}

#jlpt180-seo-root .jlpt180-seo-toc a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: #b9c8be;
    text-underline-offset: 3px;
}

#jlpt180-seo-root .jlpt180-seo-entry {
    min-width: 0;
    padding: 22px 18px;
    border: 1px solid var(--jlpt180-seo-line);
    border-radius: 20px;
    background: var(--jlpt180-seo-surface);
    box-shadow: var(--jlpt180-seo-shadow);
}

#jlpt180-seo-root .jlpt180-seo-entry .jlpt180-seo-takeaways {
    margin: 0 0 30px;
    padding: 18px;
    border-color: #cfe3d6;
    background: var(--jlpt180-seo-soft);
    box-shadow: none;
}

#jlpt180-seo-root .jlpt180-seo-entry .jlpt180-seo-takeaways h2 {
    margin-bottom: 12px;
    font-size: 20px;
}

#jlpt180-seo-root .jlpt180-seo-entry .jlpt180-seo-takeaways ul {
    margin-bottom: 0;
    padding-left: 22px;
}

#jlpt180-seo-root .jlpt180-seo-entry .jlpt180-seo-section {
    scroll-margin-top: 84px;
    margin: 0 0 34px;
}

#jlpt180-seo-root .jlpt180-seo-entry .jlpt180-seo-section:last-child {
    margin-bottom: 0;
}

#jlpt180-seo-root .jlpt180-seo-entry h2 {
    margin-bottom: 14px;
    font-size: clamp(23px, 5.3vw, 31px);
}

#jlpt180-seo-root .jlpt180-seo-entry p,
#jlpt180-seo-root .jlpt180-seo-entry li {
    color: #344238;
    font-size: 17px;
    line-height: 1.8;
}

#jlpt180-seo-root .jlpt180-seo-entry p {
    margin-bottom: 16px;
}

#jlpt180-seo-root .jlpt180-seo-entry ul {
    margin-bottom: 16px;
    padding-left: 24px;
}

#jlpt180-seo-root .jlpt180-seo-faq details {
    margin: 10px 0;
    border: 1px solid var(--jlpt180-seo-line);
    border-radius: 14px;
    background: #fbfcfa;
}

#jlpt180-seo-root .jlpt180-seo-faq summary {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 12px 14px;
    cursor: pointer;
    color: var(--jlpt180-seo-ink);
    font-weight: 800;
}

#jlpt180-seo-root .jlpt180-seo-faq details p {
    padding: 0 14px 14px;
    margin: 0;
}

#jlpt180-seo-root .jlpt180-seo-nextstep {
    margin-top: 22px;
    padding: 22px 18px;
    border: 1px solid #d9c98f;
    border-radius: 20px;
    background: var(--jlpt180-seo-warm);
}

#jlpt180-seo-root .jlpt180-seo-nextstep__label {
    margin-bottom: 7px;
    color: #7e692c;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

#jlpt180-seo-root .jlpt180-seo-nextstep h2 {
    margin-bottom: 10px;
    font-size: 24px;
}

#jlpt180-seo-root .jlpt180-seo-nextstep p {
    margin-bottom: 16px;
    color: #5d552f;
}

#jlpt180-seo-root .jlpt180-seo-nextstep a {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 12px;
    color: #fff;
    background: var(--jlpt180-seo-brand);
    font-weight: 850;
}

#jlpt180-seo-root .jlpt180-seo-related {
    margin-top: 30px;
}

#jlpt180-seo-root .jlpt180-seo-related h2 {
    margin-bottom: 14px;
    font-size: 25px;
}

#jlpt180-seo-root .jlpt180-seo-related__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

#jlpt180-seo-root .jlpt180-seo-related__card {
    min-height: 104px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 16px;
    border: 1px solid var(--jlpt180-seo-line);
    border-radius: 16px;
    color: var(--jlpt180-seo-ink);
    background: #fff;
}

#jlpt180-seo-root .jlpt180-seo-related__card span {
    color: var(--jlpt180-seo-muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

#jlpt180-seo-root .jlpt180-seo-related__card strong {
    font-size: 16px;
    line-height: 1.35;
}

#jlpt180-seo-root .jlpt180-seo-aside {
    display: grid;
    gap: 12px;
}

#jlpt180-seo-root .jlpt180-seo-aside__card {
    padding: 17px;
}

#jlpt180-seo-root .jlpt180-seo-aside__card > strong {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
}

#jlpt180-seo-root .jlpt180-seo-aside__card p {
    margin: 0;
    color: var(--jlpt180-seo-muted);
    font-size: 14px;
}

#jlpt180-seo-root .jlpt180-seo-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

#jlpt180-seo-root .jlpt180-seo-tags span {
    display: inline-flex;
    padding: 6px 9px;
    border-radius: 999px;
    color: var(--jlpt180-seo-brand-deep);
    background: var(--jlpt180-seo-soft);
    font-size: 12px;
    font-weight: 750;
}

#jlpt180-seo-root .jlpt180-seo-footer {
    border-top: 1px solid var(--jlpt180-seo-line);
    background: #fff;
}

#jlpt180-seo-root .jlpt180-seo-footer__inner {
    min-height: 92px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding: 18px 0;
}

#jlpt180-seo-root .jlpt180-seo-footer__inner strong {
    font-size: 16px;
}

#jlpt180-seo-root .jlpt180-seo-footer__inner span {
    color: var(--jlpt180-seo-muted);
    font-size: 13px;
}

/* Archive */
#jlpt180-seo-root .jlpt180-seo-main--archive {
    padding-top: 34px;
}

#jlpt180-seo-root .jlpt180-seo-archive-hero {
    padding: 30px 0 38px;
}

#jlpt180-seo-root .jlpt180-seo-archive-hero > p {
    margin-bottom: 24px;
}

#jlpt180-seo-root .jlpt180-seo-archive-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    max-width: 650px;
}

#jlpt180-seo-root .jlpt180-seo-archive-stats > div {
    min-width: 0;
    padding: 14px 10px;
    border: 1px solid var(--jlpt180-seo-line);
    border-radius: 15px;
    background: #fff;
}

#jlpt180-seo-root .jlpt180-seo-archive-stats strong,
#jlpt180-seo-root .jlpt180-seo-archive-stats span {
    display: block;
}

#jlpt180-seo-root .jlpt180-seo-archive-stats strong {
    margin-bottom: 2px;
    font-size: 22px;
}

#jlpt180-seo-root .jlpt180-seo-archive-stats span {
    color: var(--jlpt180-seo-muted);
    font-size: 11px;
    line-height: 1.35;
}

#jlpt180-seo-root .jlpt180-seo-archive-section {
    padding: 28px 0 0;
    border-top: 1px solid var(--jlpt180-seo-line);
}

#jlpt180-seo-root .jlpt180-seo-section-head {
    display: grid;
    gap: 8px;
    margin-bottom: 20px;
}

#jlpt180-seo-root .jlpt180-seo-section-head .jlpt180-seo-eyebrow {
    margin-bottom: 5px;
}

#jlpt180-seo-root .jlpt180-seo-section-head h2 {
    margin: 0;
    font-size: clamp(27px, 6vw, 39px);
}

#jlpt180-seo-root .jlpt180-seo-section-head > p {
    max-width: 540px;
    margin: 0;
    color: var(--jlpt180-seo-muted);
    font-size: 14px;
}

#jlpt180-seo-root .jlpt180-seo-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

#jlpt180-seo-root .jlpt180-seo-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    min-height: 230px;
    padding: 18px;
    border: 1px solid var(--jlpt180-seo-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--jlpt180-seo-shadow);
}

#jlpt180-seo-root .jlpt180-seo-card__cluster {
    margin-bottom: 10px;
    color: var(--jlpt180-seo-brand);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.1em;
}

#jlpt180-seo-root .jlpt180-seo-card h3 {
    margin-bottom: 10px;
    font-size: 21px;
}

#jlpt180-seo-root .jlpt180-seo-card h3 a {
    color: var(--jlpt180-seo-ink);
}

#jlpt180-seo-root .jlpt180-seo-card p {
    flex: 1;
    margin-bottom: 16px;
    color: var(--jlpt180-seo-muted);
    font-size: 14px;
}

#jlpt180-seo-root .jlpt180-seo-card__link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 7px;
    font-weight: 850;
}

@media (max-width: 430px) {
    #jlpt180-seo-root .jlpt180-seo-topbar__inner,
    #jlpt180-seo-root .jlpt180-seo-footer__inner,
    #jlpt180-seo-root .jlpt180-seo-main {
        width: min(100% - 24px, 1120px);
    }

    #jlpt180-seo-root .jlpt180-seo-brand {
        font-size: 14px;
    }

    #jlpt180-seo-root .jlpt180-seo-brand__mark {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }

    #jlpt180-seo-root .jlpt180-seo-nav a:first-child {
        display: none;
    }

    #jlpt180-seo-root .jlpt180-seo-main {
        padding-top: 20px;
    }

    #jlpt180-seo-root .jlpt180-seo-entry,
    #jlpt180-seo-root .jlpt180-seo-toc,
    #jlpt180-seo-root .jlpt180-seo-nextstep,
    #jlpt180-seo-root .jlpt180-seo-card {
        border-radius: 16px;
    }

    #jlpt180-seo-root .jlpt180-seo-entry {
        padding: 18px 15px;
    }

    #jlpt180-seo-root .jlpt180-seo-entry p,
    #jlpt180-seo-root .jlpt180-seo-entry li {
        font-size: 16px;
        line-height: 1.75;
    }

    #jlpt180-seo-root .jlpt180-seo-archive-stats {
        gap: 6px;
    }

    #jlpt180-seo-root .jlpt180-seo-archive-stats > div {
        padding: 12px 8px;
    }
}

@media (min-width: 700px) {
    #jlpt180-seo-root .jlpt180-seo-main {
        padding-top: 34px;
    }

    #jlpt180-seo-root .jlpt180-seo-entry {
        padding: 34px;
    }

    #jlpt180-seo-root .jlpt180-seo-toc,
    #jlpt180-seo-root .jlpt180-seo-nextstep {
        padding: 24px;
    }

    #jlpt180-seo-root .jlpt180-seo-related__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    #jlpt180-seo-root .jlpt180-seo-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    #jlpt180-seo-root .jlpt180-seo-section-head {
        grid-template-columns: minmax(0, 1fr) minmax(250px, 0.55fr);
        align-items: end;
        gap: 28px;
    }
}

@media (min-width: 980px) {
    #jlpt180-seo-root .jlpt180-seo-layout {
        grid-template-columns: minmax(0, 760px) minmax(220px, 1fr);
        gap: 28px;
    }

    #jlpt180-seo-root .jlpt180-seo-aside {
        position: sticky;
        top: 86px;
    }

    #jlpt180-seo-root .jlpt180-seo-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

#jlpt180-seo-root .jlpt180-seo-checklist {
    display: grid;
    gap: 9px;
    margin: 18px 0;
    padding: 0;
    list-style: none;
}

#jlpt180-seo-root .jlpt180-seo-checklist li {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    margin: 0;
}

#jlpt180-seo-root .jlpt180-seo-checklist li > span:first-child {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 3px;
    border-radius: 50%;
    color: #fff;
    background: var(--jlpt180-seo-brand);
    font-size: 12px;
    font-weight: 900;
}

#jlpt180-seo-root .jlpt180-seo-table-wrap {
    width: 100%;
    max-width: 100%;
    margin: 18px 0;
    overflow: hidden;
    border: 1px solid var(--jlpt180-seo-line);
    border-radius: 14px;
}

#jlpt180-seo-root .jlpt180-seo-table {
    width: 100%;
    max-width: 100%;
    border: 0;
    border-collapse: collapse;
    table-layout: fixed;
    background: #fff;
}

#jlpt180-seo-root .jlpt180-seo-table th,
#jlpt180-seo-root .jlpt180-seo-table td {
    padding: 11px 12px;
    border: 0;
    border-bottom: 1px solid var(--jlpt180-seo-line);
    border-right: 1px solid var(--jlpt180-seo-line);
    vertical-align: top;
    overflow-wrap: anywhere;
    word-break: normal;
    text-align: left;
    font-size: 14px;
    line-height: 1.55;
}

#jlpt180-seo-root .jlpt180-seo-table th:last-child,
#jlpt180-seo-root .jlpt180-seo-table td:last-child {
    border-right: 0;
}

#jlpt180-seo-root .jlpt180-seo-table tr:last-child td {
    border-bottom: 0;
}

#jlpt180-seo-root .jlpt180-seo-table th {
    color: var(--jlpt180-seo-ink);
    background: var(--jlpt180-seo-soft);
    font-weight: 850;
}

#jlpt180-seo-root .jlpt180-seo-callout {
    margin: 18px 0;
    padding: 15px 16px;
    border-left: 4px solid var(--jlpt180-seo-brand);
    border-radius: 0 12px 12px 0;
    background: var(--jlpt180-seo-soft);
}

#jlpt180-seo-root .jlpt180-seo-callout strong {
    display: block;
    margin-bottom: 5px;
    color: var(--jlpt180-seo-ink);
}

#jlpt180-seo-root .jlpt180-seo-callout p {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
}

#jlpt180-seo-root .jlpt180-seo-practice-links {
    padding-top: 28px;
    border-top: 1px solid var(--jlpt180-seo-line);
}

#jlpt180-seo-root .jlpt180-seo-practice-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 16px;
}

#jlpt180-seo-root .jlpt180-seo-practice-card {
    min-height: 88px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 14px;
    border: 1px solid #cfe3d6;
    border-radius: 14px;
    color: var(--jlpt180-seo-ink);
    background: #f7fbf8;
}

#jlpt180-seo-root .jlpt180-seo-practice-card strong {
    font-size: 16px;
}

#jlpt180-seo-root .jlpt180-seo-practice-card span {
    color: var(--jlpt180-seo-muted);
    font-size: 13px;
    line-height: 1.5;
}

#jlpt180-seo-root .jlpt180-seo-nextstep__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

#jlpt180-seo-root .jlpt180-seo-nextstep .jlpt180-seo-nextstep__secondary {
    color: var(--jlpt180-seo-brand-deep);
    border: 1px solid #b6ccbE;
    background: #fff;
}

@media (max-width: 430px) {
    #jlpt180-seo-root .jlpt180-seo-table th,
    #jlpt180-seo-root .jlpt180-seo-table td {
        padding: 9px 8px;
        font-size: 13px;
    }

    #jlpt180-seo-root .jlpt180-seo-nextstep__actions,
    #jlpt180-seo-root .jlpt180-seo-nextstep__actions a {
        width: 100%;
    }
}

@media (min-width: 700px) {
    #jlpt180-seo-root .jlpt180-seo-practice-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* v1.3.1: a few inspirational visuals on the hub + compact community CTAs in articles. */
#jlpt180-seo-root .jlpt180-seo-image-link {
    width: 100%;
    min-width: 0;
    display: block;
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(25, 46, 35, 0.10);
    transform: translateZ(0);
}

#jlpt180-seo-root .jlpt180-seo-image-link img,
#jlpt180-seo-root .jlpt180-seo-inspire-image {
    width: 100%;
    height: auto;
    display: block;
    border: 0;
}

#jlpt180-seo-root .jlpt180-seo-image-link:focus-visible {
    outline: 3px solid var(--jlpt180-seo-brand);
    outline-offset: 4px;
}

#jlpt180-seo-root .jlpt180-seo-visual-hero {
    max-width: 900px;
    margin: 0 auto 18px;
}

#jlpt180-seo-root .jlpt180-seo-inspire-image {
    border-radius: 22px;
    box-shadow: 0 14px 34px rgba(25, 46, 35, 0.11);
}

#jlpt180-seo-root .jlpt180-seo-hub-promos {
    width: min(520px, 100%);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0 auto 30px;
}

#jlpt180-seo-root .jlpt180-seo-hub-promo {
    border-radius: 18px;
}

#jlpt180-seo-root .jlpt180-seo-archive-hero {
    padding-top: 12px;
}

#jlpt180-seo-root .jlpt180-seo-community-ctas {
    width: 100%;
    max-width: 760px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 22px 0 0;
}

#jlpt180-seo-root .jlpt180-seo-community-cta {
    border-radius: 16px;
}

@media (hover: hover) and (pointer: fine) {
    #jlpt180-seo-root .jlpt180-seo-image-link {
        transition: transform 160ms ease, box-shadow 160ms ease;
    }

    #jlpt180-seo-root .jlpt180-seo-image-link:hover {
        transform: translateY(-2px);
        box-shadow: 0 17px 38px rgba(25, 46, 35, 0.15);
    }
}

@media (max-width: 430px) {
    #jlpt180-seo-root .jlpt180-seo-visual-hero {
        margin-bottom: 14px;
    }

    #jlpt180-seo-root .jlpt180-seo-inspire-image,
    #jlpt180-seo-root .jlpt180-seo-image-link,
    #jlpt180-seo-root .jlpt180-seo-hub-promo,
    #jlpt180-seo-root .jlpt180-seo-community-cta {
        border-radius: 14px;
    }

    #jlpt180-seo-root .jlpt180-seo-hub-promos {
        gap: 10px;
        margin-bottom: 24px;
    }

    #jlpt180-seo-root .jlpt180-seo-community-ctas {
        gap: 10px;
        margin-top: 18px;
    }
}

@media (min-width: 700px) {
    #jlpt180-seo-root .jlpt180-seo-hub-promos {
        width: min(560px, 100%);
        gap: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #jlpt180-seo-root .jlpt180-seo-image-link {
        transition: none;
    }
}

/* v1.3.2: high-resolution image assets; avoid browser interpolation blur. */
#jlpt180-seo-root .jlpt180-seo-inspire-image,
#jlpt180-seo-root .jlpt180-seo-hub-promo img,
#jlpt180-seo-root .jlpt180-seo-community-cta img {
    image-rendering: auto;
}


/* v1.4.1: compact seasonal discovery block. New classes only; existing v1.4.0 UI remains unchanged. */
#jlpt180-seo-root .jlpt180-seo-hot{
    margin:22px 0 26px;
    padding:20px;
    border:1px solid rgba(234,179,8,.26);
    border-radius:24px;
    background:linear-gradient(135deg,rgba(255,251,235,.96),rgba(255,255,255,.98));
    box-shadow:0 14px 34px rgba(120,96,32,.08);
}
#jlpt180-seo-root .jlpt180-seo-hot__head{margin-bottom:14px;}
#jlpt180-seo-root .jlpt180-seo-hot__grid{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:10px;
}
#jlpt180-seo-root .jlpt180-seo-hot__card{
    min-width:0;
    min-height:132px;
    display:flex;
    flex-direction:column;
    gap:8px;
    padding:14px;
    border:1px solid rgba(15,118,110,.14);
    border-radius:18px;
    background:#fff;
    color:#15342d;
    text-decoration:none;
    box-shadow:0 8px 20px rgba(15,118,110,.06);
}
#jlpt180-seo-root .jlpt180-seo-hot__card span{
    color:#b45309;
    font-size:11px;
    font-weight:900;
    letter-spacing:.08em;
}
#jlpt180-seo-root .jlpt180-seo-hot__card strong{
    font-size:14px;
    line-height:1.4;
    overflow-wrap:anywhere;
}
#jlpt180-seo-root .jlpt180-seo-hot__card small{
    margin-top:auto;
    color:#0f766e;
    font-size:12px;
    font-weight:900;
}
@media (max-width:900px){
    #jlpt180-seo-root .jlpt180-seo-hot__grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:430px){
    #jlpt180-seo-root .jlpt180-seo-hot{margin:16px 0 20px;padding:14px;border-radius:18px;}
    #jlpt180-seo-root .jlpt180-seo-hot__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
    #jlpt180-seo-root .jlpt180-seo-hot__card{min-height:112px;padding:12px;border-radius:15px;}
    #jlpt180-seo-root .jlpt180-seo-hot__card:nth-child(5){grid-column:1 / -1;min-height:0;}
    #jlpt180-seo-root .jlpt180-seo-hot__card strong{font-size:13px;line-height:1.35;}
}

/* v1.4.3: compact SERP-answer block for the five priority JLPT articles only. */
#jlpt180-seo-root .jlpt180-seo-boost-wrap{margin:0 0 18px;}
#jlpt180-seo-root .jlpt180-seo-quick-answer{
    margin:0 0 16px;
    padding:16px 18px;
    border:1px solid rgba(16,185,129,.22);
    border-radius:18px;
    background:linear-gradient(180deg,rgba(240,253,250,.96),rgba(255,255,255,.98));
    box-shadow:0 10px 24px rgba(15,118,110,.07);
}
#jlpt180-seo-root .jlpt180-seo-quick-answer__label{
    display:inline-block;
    margin-bottom:7px;
    font-size:11px;
    font-weight:900;
    letter-spacing:.08em;
    color:#047857;
}
#jlpt180-seo-root .jlpt180-seo-quick-answer p{margin:0;color:#16352f;font-weight:750;line-height:1.65;}
#jlpt180-seo-root .jlpt180-seo-quick-answer__facts{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
    margin:12px 0 0;
    padding:0;
    list-style:none;
}
#jlpt180-seo-root .jlpt180-seo-quick-answer__facts li{
    margin:0;
    padding:6px 9px;
    border-radius:999px;
    background:#fff;
    border:1px solid rgba(15,118,110,.14);
    color:#285a50;
    font-size:12px;
    font-weight:800;
}
#jlpt180-seo-root .jlpt180-seo-quick-answer__links{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:6px 8px;
    margin-top:12px;
    font-size:13px;
}
#jlpt180-seo-root .jlpt180-seo-quick-answer__links a{color:#0f766e;font-weight:850;text-decoration:underline;text-underline-offset:3px;}
#jlpt180-seo-root .jlpt180-seo-quick-answer small{display:block;margin-top:10px;color:#64748b;font-size:11px;}
#jlpt180-seo-root .jlpt180-seo-boost-section{margin-top:0;}
@media(max-width:430px){
    #jlpt180-seo-root .jlpt180-seo-quick-answer{padding:14px;border-radius:16px;}
    #jlpt180-seo-root .jlpt180-seo-quick-answer p{font-size:14px;line-height:1.6;}
    #jlpt180-seo-root .jlpt180-seo-quick-answer__facts{display:grid;grid-template-columns:1fr;gap:6px;}
    #jlpt180-seo-root .jlpt180-seo-quick-answer__facts li{border-radius:12px;}
    #jlpt180-seo-root .jlpt180-seo-quick-answer__links{display:block;line-height:1.8;}
    #jlpt180-seo-root .jlpt180-seo-quick-answer__links strong{display:block;}
    #jlpt180-seo-root .jlpt180-seo-quick-answer__links span{margin:0 5px;}
}
