:root {
    --site-header-offset: 5rem;
    --z-site-header: 100;
    --z-site-nav-overlay: 900;
    --z-site-nav-drawer: 1200;
    --z-post-toc-overlay: 1100;
    --z-post-toc-fab: 1110;
    --z-post-toc-panel: 1120;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    margin: 0;
    overflow-x: clip;
    max-width: 100%;
    font-family: "Noto Sans KR", "Noto Sans", sans-serif;
    line-height: 1.7;
    color: #1a1a1a;
    background: #f6f4f0;
}

.site-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    overflow-x: clip;
}

a {
    color: #1b4332;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

.site-header {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid #e0dcd5;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: var(--z-site-header);
    box-shadow: 0 4px 20px rgba(27, 67, 50, 0.06);
}

.site-header__inner {
    padding-block: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    flex-wrap: wrap;
}

.site-nav--drawer {
    display: none;
}

.site-header__actions {
    display: none;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
}

.site-search-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 1px solid #e0dcd5;
    border-radius: 10px;
    background: #fff;
    color: #1b4332;
    cursor: pointer;
    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.site-search-open:hover {
    background: #f8faf9;
    border-color: #c8d9ce;
    box-shadow: 0 2px 8px rgba(27, 67, 50, 0.08);
}

.site-search-open__icon {
    display: block;
}

.site-search-open--mobile {
    display: none;
}

.site-search-open--desktop {
    flex-shrink: 0;
    margin-left: 0.15rem;
}

.site-search-form {
    margin: 0;
}

.site-search-form__label {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
}

.site-search-form__row {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
}

.site-search-form__input {
    flex: 1;
    min-width: 0;
    box-sizing: border-box;
    padding: 0.72rem 0.85rem;
    border: 1px solid #d8e2dc;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    color: #1a1a1a;
}

.site-search-form__input:focus {
    outline: 2px solid rgba(45, 106, 79, 0.35);
    border-color: #2d6a4f;
}

.site-search-form__submit {
    flex-shrink: 0;
    padding: 0.72rem 1.1rem;
    border: none;
    border-radius: 10px;
    background: #1b4332;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease;
}

.site-search-form__submit:hover {
    background: #2d6a4f;
}

.site-search-form__submit:hover {
    filter: brightness(1.05);
}

.site-search-form--page {
    margin-bottom: 1.75rem;
    max-width: 36rem;
}

.page-head--search .page-head__sub {
    margin: 0.35rem 0 0;
    font-size: 0.95rem;
    color: #64748b;
}

.page-head--search .page-head__sub strong {
    color: #1b4332;
}

.site-search-modal {
    width: min(92vw, 440px);
    padding: 0;
    border: none;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.22);
}

.site-search-modal::backdrop {
    background: rgba(15, 23, 42, 0.45);
}

.site-search-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.15rem;
    border-bottom: 1px solid #e8e4df;
}

.site-search-modal__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #1a1a1a;
}

.site-search-modal__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #64748b;
    font-size: 1.65rem;
    line-height: 1;
    cursor: pointer;
}

.site-search-modal__close:hover {
    background: #f1f5f3;
    color: #1a1a1a;
}

.site-search-modal__body {
    padding: 1.15rem;
}

.site-nav-toggle {
    display: none;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 1px solid #e0dcd5;
    border-radius: 10px;
    background: #fff;
    color: #1b4332;
    cursor: pointer;
    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.site-nav-toggle:hover {
    background: #f8faf9;
    border-color: #c8d9ce;
    box-shadow: 0 2px 8px rgba(27, 67, 50, 0.08);
}

.site-nav-toggle__icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 1.15rem;
}

.site-nav-toggle__bar {
    display: block;
    width: 100%;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.site-nav-toggle[aria-expanded="true"] .site-nav-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-nav-toggle[aria-expanded="true"] .site-nav-toggle__bar:nth-child(2) {
    opacity: 0;
}

.site-nav-toggle[aria-expanded="true"] .site-nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.site-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: var(--z-site-nav-overlay);
    background: rgba(15, 23, 42, 0.5);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.28s ease,
        visibility 0.28s ease;
    pointer-events: none;
}

.site-nav-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.site-nav-open {
    overflow: hidden;
}

.site-header__brand {
    min-width: 0;
    flex: 0 1 auto;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    text-decoration: none;
}

.site-logo:hover {
    text-decoration: none;
    opacity: 0.88;
}

.site-logo__img {
    display: block;
    width: auto;
    height: 2.25rem;
    max-width: min(9.5rem, 42vw);
    object-fit: contain;
}

.site-tagline {
    margin: 0.35rem 0 0;
    font-size: 0.72rem;
    font-weight: 500;
    color: #64748b;
    letter-spacing: 0.01em;
    line-height: 1.35;
}

.site-nav {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.35rem;
}

.site-nav__head,
.site-nav__chevron,
.site-nav-close {
    display: none;
}

.site-nav__label {
    display: inline;
}

.site-nav__track {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 0.4rem 0.35rem;
    padding: 0.1rem 0;
}

.site-nav__link--pill {
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #475569;
    text-decoration: none;
    padding: 0.48rem 0.9rem;
    border-radius: 999px;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.65);
    transition:
        color 0.15s ease,
        background 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease;
    white-space: nowrap;
}

.site-nav__link--pill:hover {
    color: #1b4332;
    background: #fff;
    border-color: #d8e2dc;
    box-shadow: 0 2px 8px rgba(27, 67, 50, 0.08);
    text-decoration: none;
}

.site-nav__link--pill.is-active {
    color: #fff;
    background: #1b4332;
    border-color: transparent;
    box-shadow: 0 2px 10px rgba(45, 106, 79, 0.22);
    text-decoration: none;
}

.site-nav-guide {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.site-nav-guide__trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    font-family: inherit;
    line-height: inherit;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.site-nav--desktop .site-nav-guide__trigger.site-nav__link--pill {
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.site-nav-guide__caret {
    display: block;
    flex-shrink: 0;
    width: 0;
    height: 0;
    border-left: 0.35rem solid transparent;
    border-right: 0.35rem solid transparent;
    border-top: 0.42rem solid currentColor;
    opacity: 0.65;
    transition: transform 0.15s ease;
}

.site-nav-guide.is-open .site-nav-guide__caret {
    transform: rotate(180deg);
}

.site-nav-guide.is-open .site-nav-guide__trigger:not(.is-active) {
    color: #1b4332;
    background: #fff;
    border-color: #1a1a1a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.site-nav-guide__panel {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0;
    z-index: 120;
    min-width: 17.5rem;
    padding: 1rem 1rem 0.85rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

.site-nav-guide__panel[hidden] {
    display: none !important;
}

.site-nav-guide__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
}

.site-nav-guide__item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.35rem;
    padding: 0.55rem 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    color: #374151;
    text-decoration: none;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition:
        color 0.15s ease,
        background 0.15s ease,
        border-color 0.15s ease;
}

.site-nav-guide__item:hover {
    color: #1b4332;
    background: #eef6f1;
    border-color: #cfe0d6;
    text-decoration: none;
}

.site-nav-guide__item.is-active {
    color: #1b4332;
    background: #e8f3ec;
    border-color: #b7d4c4;
}

.site-nav--desktop .site-nav__track {
    flex: 1 1 auto;
    min-width: 0;
}

.site-main {
    flex: 1 0 auto;
    position: relative;
    z-index: 0;
    width: 100%;
    margin: 0;
    padding-block: 1.75rem 2.25rem;
    background-color: #fff;
    box-sizing: border-box;
}

.site-main:has(.post-detail),
.site-main:has(.home-page) {
    padding-block: 0;
    background-color: #fff;
}

.site-footer {
    flex-shrink: 0;
    background: #fff;
    border-top: 1px solid #e8e4df;
    margin-top: auto;
}

.site-footer__inner {
    padding-block: 1.75rem 2rem;
    font-size: 0.88rem;
    color: #5c5c5c;
}

.site-footer a,
.site-footer a.site-footer__legal-link,
.site-footer button.site-footer__legal-link {
    text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible,
.site-footer a.site-footer__legal-link:hover,
.site-footer a.site-footer__legal-link:focus-visible,
.site-footer button.site-footer__legal-link:hover,
.site-footer button.site-footer__legal-link:focus-visible {
    text-decoration: none;
}

.site-footer__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    padding-bottom: 1.15rem;
    margin-bottom: 1.15rem;
    border-bottom: 1px solid #e8e4df;
}

.site-footer__brand {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
}

.site-footer__legal-link {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    font: inherit;
    font-size: 0.86rem;
    color: #5c5c5c;
    cursor: pointer;
    text-decoration: none;
}

.site-footer__legal-link:hover,
.site-footer__legal-link:focus-visible {
    color: #2d6a4f;
}

.site-footer__sep {
    color: #c4c4c4;
    font-size: 0.75rem;
    user-select: none;
}

.site-footer__body {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.site-footer__meta {
    margin: 0;
    font-size: 0.86rem;
    color: #666;
}

.site-footer__meta a {
    color: #444;
    text-decoration: none;
}

.site-footer__meta a:hover {
    color: #2d6a4f;
}

.site-footer__disclaimer {
    margin: 0;
    font-size: 0.84rem;
    color: #777;
    line-height: 1.55;
}

.site-footer__disclaimer em {
    font-style: italic;
}

.site-footer__notice {
    margin: 0;
    line-height: 1.6;
    font-size: 0.84rem;
    color: #777;
}

/* 푸터 배너 — 본문/홈/글상세와 분리, 이 블록만 수정 */
.site-partner-logos {
    --partner-logos-pad-y: 10px;
    --partner-logos-item-h: 48px;
    --partner-logos-bg: #f9f9f9;
    --partner-logos-border: #e8e4df;
    flex-shrink: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: var(--partner-logos-bg);
    border-top: 1px solid var(--partner-logos-border);
    border-bottom: none;
    overflow-x: hidden;
    box-sizing: border-box;
}

.site-partner-logos .site-container {
    max-width: var(--site-width);
    margin-inline: auto;
    padding: 0 var(--site-gutter);
    box-sizing: border-box;
}

.site-partner-logos__box {
    margin: 0;
    padding: var(--partner-logos-pad-y) 0;
    min-height: calc(var(--partner-logos-pad-y) * 2 + var(--partner-logos-item-h));
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    box-sizing: border-box;
}

.site-partner-logos__list {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    width: max-content;
    min-width: 100%;
    height: var(--partner-logos-item-h);
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
}

.site-partner-logos__item {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-start;
    height: var(--partner-logos-item-h);
    min-width: 0;
    padding: 0 0.65rem;
    background: #fff;
    border: 1px solid #d8d8d8;
    border-radius: 2px;
    box-sizing: border-box;
}

.site-partner-logos__item img {
    display: block;
    max-width: 160px;
    max-height: 40px;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: left center;
}

.site-partner-logos__link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
}

.site-footer__categories {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.25rem 0.35rem;
    margin: 0.35rem 0 0;
    font-size: 0.84rem;
    text-align: center;
}

.site-footer__categories a {
    color: #555;
    text-decoration: none;
}

.site-footer__categories a:hover {
    color: #2d6a4f;
}

.site-footer__cat-sep {
    color: #bbb;
    user-select: none;
}

.site-footer__copy {
    margin: 0.5rem 0 0;
    font-size: 0.82rem;
    color: #999;
    text-align: center;
}

.site-legal-modal {
    width: min(92vw, 640px);
    max-height: min(88vh, 720px);
    padding: 0;
    border: none;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.22);
}

.site-legal-modal::backdrop {
    background: rgba(15, 23, 42, 0.45);
}

.site-legal-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.15rem;
    border-bottom: 1px solid #e8e4df;
}

.site-legal-modal__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #1a1a1a;
}

.site-legal-modal__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #64748b;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}

.site-legal-modal__close:hover {
    background: #f1f5f3;
    color: #1a1a1a;
}

.site-legal-modal__body {
    padding: 1.15rem 1.25rem 1.35rem;
    max-height: min(70vh, 560px);
    overflow-y: auto;
    font-size: 0.9rem;
    line-height: 1.65;
    color: #444;
}

.site-legal-modal__body p {
    margin: 0 0 0.85rem;
}

.site-legal-modal__body ul {
    margin: 0 0 0.85rem;
    padding-left: 1.25rem;
}

.site-legal-modal__body li {
    margin-bottom: 0.35rem;
}

.site-legal-modal__body a {
    color: #2d6a4f;
}

.legal-page {
    padding: 1.5rem 0 2.5rem;
}

.legal-page__head {
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid #e8e4df;
}

.legal-page__title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.35;
}

.legal-page__body {
    padding: 0;
    max-height: none;
    overflow: visible;
    font-size: 0.9rem;
    line-height: 1.65;
    color: #444;
}

.legal-page__body p {
    margin: 0 0 0.85rem;
}

.legal-page__body ul {
    margin: 0 0 0.85rem;
    padding-left: 1.25rem;
}

.legal-page__body li {
    margin-bottom: 0.35rem;
}

.legal-page__body a {
    color: #2d6a4f;
}

.legal-page__body .site-legal-modal__updated {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #eee;
    font-size: 0.82rem;
    color: #888;
}

.contact-page {
    padding: 1.5rem 0 2.5rem;
    max-width: 640px;
}

.contact-page__head {
    margin-bottom: 1.25rem;
}

.contact-page__title {
    margin: 0 0 0.5rem;
    font-size: 1.35rem;
    font-weight: 800;
    color: #1a1a1a;
}

.contact-page__lead {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.6;
    color: #5c5c5c;
}

.contact-page__success {
    margin: 0 0 1rem;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    background: #edf7f1;
    color: #1b4332;
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-page__error--form {
    margin: 0 0 1rem;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 0.9rem;
}

.contact-form__field {
    margin-bottom: 1.1rem;
}

.contact-form__label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1a1a;
}

.contact-form__required {
    color: #c2410c;
}

.contact-form__input,
.contact-form__textarea {
    display: block;
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 1px solid #d8d3cc;
    border-radius: 10px;
    background: #fff;
    font: inherit;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #1a1a1a;
    box-sizing: border-box;
}

.contact-form__textarea {
    min-height: 10rem;
    resize: vertical;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
    outline: none;
    border-color: #2d6a4f;
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.15);
}

.contact-form__field--error .contact-form__input,
.contact-form__field--error .contact-form__textarea {
    border-color: #dc2626;
}

.contact-form__error {
    margin: 0.35rem 0 0;
    font-size: 0.82rem;
    color: #dc2626;
}

.contact-form__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.88rem;
    line-height: 1.55;
    color: #444;
    cursor: pointer;
}

.contact-form__checkbox input {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.contact-form__checkbox a {
    color: #2d6a4f;
    text-decoration: underline;
}

.contact-form__actions {
    margin-top: 1.25rem;
}

.contact-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 8rem;
    padding: 0.7rem 1.25rem;
    border: none;
    border-radius: 10px;
    background: #1b4332;
    color: #fff;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
}

.contact-form__submit:hover {
    filter: brightness(1.05);
}

.feeding-calculator-form .food-analysis-input {
    max-width: 20rem;
}

.feeding-calculator-neutered[hidden] {
    display: none;
}

.feeding-calc-modal {
    width: min(92vw, 400px);
    max-height: calc(100vh - 2rem);
    padding: 0;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.22);
}

.feeding-calc-modal::backdrop {
    background: rgba(15, 23, 42, 0.5);
}

.feeding-calc-modal__inner {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 2rem);
    background: #fff;
}

.feeding-calc-modal__head {
    padding: 1.35rem 1.25rem 0.5rem;
    text-align: center;
}

.feeding-calc-modal__title {
    margin: 0 0 0.35rem;
    font-size: 1.12rem;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.feeding-calc-modal__subtitle {
    margin: 0;
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.45;
}

.feeding-calc-modal__body {
    flex: 1;
    overflow-y: auto;
    padding: 0.85rem 1.25rem 0.25rem;
    -webkit-overflow-scrolling: touch;
}

.feeding-calc-modal__hero {
    margin-bottom: 1rem;
    padding: 1.15rem 1rem;
    border: 1px solid #e8e4df;
    border-radius: 12px;
    background: #f8faf9;
    text-align: center;
}

.feeding-calc-modal__hero-label {
    margin: 0 0 0.4rem;
    font-size: 0.84rem;
    font-weight: 600;
    color: #64748b;
}

.feeding-calc-modal__hero-value {
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.feeding-calc-modal__list {
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}

.feeding-calc-modal__list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.72rem 0;
    border-bottom: 1px solid #f0eeea;
    font-size: 0.92rem;
}

.feeding-calc-modal__list li:last-child {
    border-bottom: none;
}

.feeding-calc-modal__list span {
    color: #475569;
}

.feeding-calc-modal__list strong {
    font-weight: 700;
    color: #1a1a1a;
    text-align: right;
}

.feeding-calc-modal__disclaimer {
    margin: 0;
    padding-top: 0.85rem;
    border-top: 1px solid #eceae6;
    font-size: 0.78rem;
    line-height: 1.55;
    color: #94a3b8;
}

.feeding-calc-modal__confirm {
    display: block;
    width: calc(100% - 2.5rem);
    margin: 0.5rem 1.25rem 1.25rem;
    padding: 0.9rem 1rem;
    border: none;
    border-radius: 12px;
    background: #1b4332;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: filter 0.15s ease;
}

.feeding-calc-modal__confirm:hover {
    filter: brightness(1.05);
}

.food-analysis-shell {
    width: 100%;
    padding: 1.25rem 0 2.5rem;
    box-sizing: border-box;
}

.food-analysis-page,
.food-analysis-result,
.food-analysis-list-page {
    width: 100%;
    max-width: none;
}

.food-analysis-page__title,
.food-analysis-result__title {
    margin: 0 0 0.5rem;
    font-size: 1.35rem;
    font-weight: 800;
    color: #1a1a1a;
}

.food-analysis-page__lead {
    margin: 0 0 1.25rem;
    font-size: 0.92rem;
    line-height: 1.6;
    color: #5c5c5c;
}

.food-analysis-page__alert {
    margin: 0 0 1rem;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.food-analysis-page__alert--error {
    background: #fef2f2;
    color: #b91c1c;
}

.food-analysis-form {
    --food-analysis-section-gap: calc(1.35rem + 10px);
}

.food-analysis-section {
    margin-bottom: var(--food-analysis-section-gap);
}

.food-analysis-section__title {
    margin: 0 0 0.65rem;
    padding-left: 0.55rem;
    border-left: 3px solid #1a1a1a;
    font-size: 0.95rem;
    font-weight: 800;
    color: #1a1a1a;
}

.food-analysis-section__optional {
    font-weight: 500;
    color: #888;
}

.food-analysis-section__hint {
    margin: 0.45rem 0 0;
    font-size: 0.82rem;
    color: #888;
}

.food-analysis-upload {
    display: block;
    cursor: pointer;
}

.food-analysis-upload__input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
}

.food-analysis-upload__box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    min-height: 11rem;
    padding: 1.5rem 1.25rem;
    border-radius: 14px;
    background: #fff5f7;
    border: 1px dashed #f0c4cf;
    text-align: center;
    box-sizing: border-box;
}

.food-analysis-upload--error .food-analysis-upload__box {
    border-color: #dc2626;
    background: #fef2f2;
}

.food-analysis-upload__box--has-image {
    padding: 0.5rem;
}

.food-analysis-upload__icon {
    font-size: 1.75rem;
    line-height: 1;
}

.food-analysis-upload__text {
    font-size: 0.9rem;
    color: #666;
}

.food-analysis-upload__preview {
    display: block;
    width: 100%;
    max-height: min(52vh, 420px);
    object-fit: contain;
    border-radius: 10px;
}

.food-analysis-field__error {
    margin: 0.4rem 0 0;
    font-size: 0.82rem;
    color: #dc2626;
}

.food-analysis-segments {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.food-analysis-segment {
    cursor: pointer;
}

.food-analysis-segment input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.food-analysis-segment span {
    display: inline-block;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    border: 1px solid #e0dbd4;
    background: #fff;
    font-size: 0.9rem;
    color: #444;
}

.food-analysis-segment input:checked + span {
    border-color: #2d6a4f;
    background: #edf7f1;
    color: #1b4332;
    font-weight: 700;
}

.food-analysis-input {
    display: block;
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 1px solid #d8d3cc;
    border-radius: 10px;
    font: inherit;
    font-size: 0.95rem;
    box-sizing: border-box;
}

.food-analysis-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.food-analysis-chip {
    cursor: pointer;
}

.food-analysis-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.food-analysis-chip span {
    display: inline-block;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    border: 1px solid #e0dbd4;
    background: #fff;
    font-size: 0.85rem;
    color: #555;
}

.food-analysis-chip input:checked + span {
    border-color: #2d6a4f;
    background: #edf7f1;
    color: #1b4332;
    font-weight: 600;
}

.food-analysis-form__actions {
    margin-top: calc(1.5rem + 10px);
}

.food-analysis-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.85rem 1rem;
    border: none;
    border-radius: 12px;
    background: #1b4332;
    color: #fff;
    font: inherit;
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    transition: background 0.15s ease;
}

.food-analysis-submit:hover {
    background: #2d6a4f;
}

.food-analysis-submit:disabled {
    opacity: 0.7;
    cursor: wait;
}

.food-analysis-submit--secondary {
    background: #fff;
    color: #1b4332;
    border: 1px solid #2d6a4f;
}

.food-analysis-form__note {
    margin: 0.75rem 0 0;
    font-size: 0.8rem;
    line-height: 1.5;
    color: #888;
    text-align: center;
}

.food-analysis-coupang {
    margin-bottom: 1rem;
}

.food-analysis-coupang__disclosure {
    margin: 0.5rem 0 0;
    font-size: 0.8rem;
    line-height: 1.5;
    color: #888;
}

.food-analysis-result__meta {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
}

.food-analysis-result__meta li + li {
    margin-top: 0.2rem;
}

.food-analysis-result__image {
    margin: 0 0 1rem;
}

.food-analysis-result__image img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid #eee;
}

.food-analysis-result__card {
    margin-bottom: 1rem;
    padding: 1rem 1.05rem;
    border-radius: 12px;
    background: #faf9f7;
    border: 1px solid #ece8e2;
}

.food-analysis-result__card-title {
    margin: 0 0 0.65rem;
    font-size: 0.95rem;
    font-weight: 800;
    color: #1a1a1a;
}

.food-analysis-result__product-name {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a1a;
}

.food-analysis-result__badge {
    display: inline-block;
    margin: 0 0 0.5rem;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    background: #edf7f1;
    color: #1b4332;
    font-size: 0.8rem;
    font-weight: 700;
}

.food-analysis-result__kv {
    margin: 0;
    padding: 0;
    list-style: none;
}

.food-analysis-result__kv li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid #ece8e2;
    font-size: 0.88rem;
}

.food-analysis-result__kv li:last-child {
    border-bottom: 0;
}

.food-analysis-result__kv span {
    color: #666;
}

.food-analysis-result__text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.65;
    color: #444;
}

.food-analysis-result__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.food-analysis-result__tags li {
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e0dbd4;
    font-size: 0.82rem;
    color: #444;
}

.food-analysis-result__tags--accent li {
    background: #edf7f1;
    border-color: #b7dfc8;
    color: #1b4332;
}

.food-analysis-result__warnings {
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 12px;
    background: #fff8eb;
    border: 1px solid #f0dfa8;
}

.food-analysis-result__warnings ul {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.85rem;
    line-height: 1.55;
    color: #7c5e10;
}

.food-analysis-result__actions {
    margin: 1.5rem 0 0;
}

.food-analysis-result__actions--row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.food-analysis-result__actions--row .food-analysis-submit {
    flex: 1 1 10rem;
}

.dog-face-reading-progress {
    margin-bottom: var(--food-analysis-section-gap, calc(1.35rem + 10px));
}

.dog-face-reading-progress__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #888;
}

.dog-face-reading-progress__bar {
    height: 6px;
    background: #e8ece8;
    border-radius: 999px;
    overflow: hidden;
}

.dog-face-reading-progress__fill {
    height: 100%;
    width: 0;
    background: #1b4332;
    border-radius: 999px;
    transition: width 0.25s ease;
}

.dog-face-reading-page #dfr-question-text {
    font-size: calc(0.95rem + 2px);
}

.dog-face-reading-choices {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.dog-face-reading-choice {
    --dfr-choice-accent: #1b4332;
    --dfr-choice-bg: #fff;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid #e8e4df;
    border-left: 4px solid var(--dfr-choice-accent);
    border-radius: 14px;
    background: var(--dfr-choice-bg);
    font: inherit;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        border-color 0.15s ease,
        background 0.15s ease;
    animation: dog-face-reading-choice-in 0.35s ease both;
    animation-delay: var(--dfr-choice-delay, 0ms);
}

@keyframes dog-face-reading-choice-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dog-face-reading-choice:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(27, 67, 50, 0.1);
    border-color: #cfe0d6;
    background: #f8fcfa;
}

.dog-face-reading-choice:active {
    transform: translateY(0);
}

.dog-face-reading-choice__badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 999px;
    background: var(--dfr-choice-accent);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
}

.dog-face-reading-choice__emoji {
    flex-shrink: 0;
    font-size: 1.35rem;
    line-height: 1;
}

.dog-face-reading-choice__label {
    flex: 1;
    min-width: 0;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.45;
    color: #333;
}

.dog-face-reading-choice[data-type="ceo"] {
    --dfr-choice-accent: #1b4332;
    --dfr-choice-bg: #f4faf7;
}

.dog-face-reading-choice[data-type="thief"] {
    --dfr-choice-accent: #c2410c;
    --dfr-choice-bg: #fff8f5;
}

.dog-face-reading-choice[data-type="baeksu"] {
    --dfr-choice-accent: #64748b;
    --dfr-choice-bg: #f8fafc;
}

.dog-face-reading-choice[data-type="scholar"] {
    --dfr-choice-accent: #1d4ed8;
    --dfr-choice-bg: #f5f8ff;
}

.dog-face-reading-choice[data-type="angel"] {
    --dfr-choice-accent: #db2777;
    --dfr-choice-bg: #fff5f9;
}

.dog-face-reading-choice[data-type="warrior"] {
    --dfr-choice-accent: #ea580c;
    --dfr-choice-bg: #fff8f3;
}

.dog-face-reading-choice[data-type="fox"] {
    --dfr-choice-accent: #7c3aed;
    --dfr-choice-bg: #f9f6ff;
}

.dog-face-reading-choice[data-type="baby"] {
    --dfr-choice-accent: #0891b2;
    --dfr-choice-bg: #f2fbfd;
}

.dog-face-reading-toast {
    position: fixed;
    left: 50%;
    bottom: 1.25rem;
    transform: translateX(-50%) translateY(120%);
    max-width: calc(100% - 2rem);
    padding: 0.75rem 1rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #fff;
    background: #1b4332;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(27, 67, 50, 0.25);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
    z-index: 50;
    pointer-events: none;
}

.dog-face-reading-toast.is-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.dog-face-reading-result__list {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.9rem;
    line-height: 1.65;
    color: #444;
}

.dog-face-reading-result__list li + li {
    margin-top: 0.35rem;
}

.dog-face-reading-note {
    margin-top: 0;
    text-align: left;
}

@media (min-width: 640px) {
    .food-analysis-form__optional-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 1.25rem;
    }

    .food-analysis-form__optional-grid .food-analysis-section {
        margin-bottom: var(--food-analysis-section-gap, calc(1.35rem + 10px));
    }

    .food-analysis-segments {
        flex-wrap: nowrap;
    }

    .food-analysis-segment {
        flex: 1 1 0;
    }

    .food-analysis-segment span {
        display: block;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}

@media (min-width: 900px) {
    .food-analysis-upload__box {
        min-height: 14rem;
    }
}

.food-analysis-page__head-row,
.food-analysis-list-page__head-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem 1rem;
}

.food-analysis-page__list-link,
.food-analysis-list-page__new {
    flex-shrink: 0;
    width: auto;
    min-width: 5.5rem;
    padding-inline: 1rem;
    font-size: 0.9rem;
}

.food-analysis-list-page__title {
    margin: 0 0 0.35rem;
    font-size: 1.35rem;
    font-weight: 800;
}

.food-analysis-list-page__lead {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.food-analysis-list-grid {
    margin-top: 1.25rem;
}

.site-body--app .food-analysis-list-grid,
.site-body--app .food-analysis-list--empty {
    margin-top: 0;
}

.site-body--app .food-analysis-form {
    margin-top: 0;
}

.food-analysis-page__head--app .food-analysis-page__head-row,
.food-analysis-list-page__head--app .food-analysis-list-page__head-row {
    justify-content: flex-end;
}

.food-analysis-list-page .pagination {
    margin-top: 1.75rem;
}

@media (max-width: 768px) {
    .food-analysis-list-page__head-row,
    .food-analysis-page__head-row {
        flex-wrap: nowrap;
        align-items: flex-start;
        gap: 0.5rem 0.65rem;
    }

    .food-analysis-list-page__head-row > div:first-child,
    .food-analysis-page__head-row > div:first-child {
        flex: 1;
        min-width: 0;
    }

    .food-analysis-list-page__new,
    .food-analysis-page__list-link {
        margin-left: auto;
        align-self: flex-start;
        width: auto;
        min-width: 0;
        white-space: nowrap;
    }

    .food-analysis-page__list-link {
        padding-block: calc(0.85rem * 0.7);
    }

    .food-analysis-page__head {
        margin-bottom: 20px;
    }

    .food-analysis-list-page__head {
        margin-bottom: 15px;
    }

    .food-analysis-list-grid {
        margin-top: 0;
    }
}

.food-analysis-list--empty {
    margin-top: 1.25rem;
}

@media (max-width: 768px) {
    .food-analysis-list--empty {
        margin-top: 0;
    }
}

.food-analysis-list__empty-card {
    width: 100%;
    box-sizing: border-box;
    padding: 2rem 1.25rem;
    border: 1px solid #ece8e2;
    border-radius: 12px;
    background: #faf9f7;
    text-align: center;
}

.food-analysis-list__empty-icon {
    display: block;
    margin-bottom: 0.65rem;
    font-size: 2rem;
    line-height: 1;
    opacity: 0.85;
}

.food-analysis-list__empty-title {
    margin: 0 0 0.45rem;
    font-size: 1rem;
    font-weight: 800;
    color: #1a1a1a;
}

.food-analysis-list__empty-desc {
    margin: 0;
    max-width: 22rem;
    margin-inline: auto;
    font-size: 0.88rem;
    line-height: 1.55;
    color: #666;
}

.food-analysis-list__empty-desc strong {
    color: #1b4332;
    font-weight: 700;
}

.post-card__category-pill {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    color: #1b4332;
    background: #eef5f1;
    border-radius: 999px;
    font-size: inherit;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.food-analysis-card__options-line {
    margin: 0 0 0.55rem;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.55;
    color: #3d3d3d;
    word-break: keep-all;
}

.post-card--food-analysis .post-card__meta {
    margin-top: 0;
}

.food-analysis-card__title-fallback {
    margin: 0 0 0.35rem;
}

.site-legal-modal__updated {
    margin-top: 1rem !important;
    padding-top: 0.75rem;
    border-top: 1px solid #eee;
    font-size: 0.82rem;
    color: #888 !important;
}

@media (max-width: 640px) {
    .site-partner-logos {
        --partner-logos-item-h: 42px;
    }

    .site-partner-logos__list {
        gap: 0.5rem;
    }

    .site-partner-logos__item {
        padding: 0 0.5rem;
    }

    .site-partner-logos__item img {
        max-width: 140px;
        max-height: 34px;
    }

    .site-footer__top {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer__legal {
        width: 100%;
    }
}

.page-head {
    margin-bottom: 1rem;
    padding: 1.5rem 2rem;
    background-color: #f9f9f9;
    border: 1px solid #f2f2f2;
    border-radius: 7px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}

.page-head h1 {
    margin: 0 0 0.35rem;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    color: #1a1a1a;
}

.page-head__lead {
    margin: 0;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.55;
}

.empty-message {
    padding: 2rem 1rem;
    text-align: center;
    color: #666;
    background: #fff;
    border: 1px solid #f2f2f2;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}

.post-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.post-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid #f2f2f2;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.post-card__link {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}

.post-card__link:focus-visible {
    outline: 2px solid #2d6a4f;
    outline-offset: 2px;
}

.post-card:hover {
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.1);
    transform: translateY(-2px);
}

.post-card__thumb {
    display: none;
}

.post-list--with-thumb .post-card__thumb {
    display: block;
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #eef2f6;
}

.post-list--with-thumb .post-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.post-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    padding: 1.5rem 2rem 1.35rem;
}

.post-card__category {
    margin: 0 0 0.5rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.post-card__category a {
    position: relative;
    z-index: 2;
    display: inline-block;
    padding: 0.2rem 0.65rem;
    color: #1b4332;
    background: #eef5f1;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.post-card__category a:hover {
    color: #fff;
    background: #2d6a4f;
    text-decoration: none;
}

.post-card__title {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.45;
    color: #1a1a1a;
}

.post-card:hover .post-card__title {
    color: #2d6a4f;
}

.post-card__meta {
    margin: 0 0 0.85rem;
    font-size: 0.82rem;
    color: #94a3b8;
}

.post-card__excerpt {
    flex: 1;
    margin: 0;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.post-card__footer {
    margin: 1rem 0 0;
    text-align: right;
}

.post-card__more {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #2563eb;
}

.post-card:hover .post-card__more {
    color: #1d4ed8;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1rem;
}

.pagination__link {
    font-weight: 600;
}

.pagination__link--disabled {
    color: #aaa;
}

.pagination__status {
    font-size: 0.95rem;
    color: #555;
}

.breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb__item:not(:last-child)::after {
    content: "›";
    margin-left: 0.35rem;
    color: #999;
}

.post-detail__category {
    margin: 0 0 0.65rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.post-detail__category a {
    display: inline-block;
    padding: 0.28rem 0.75rem;
    color: #1b4332;
    background: #eef5f1;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.post-detail__category a:hover {
    color: #fff;
    background: #2d6a4f;
    text-decoration: none;
}

.post-detail__header h1.post-detail__title {
    margin: 0 0 0.5rem;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.5;
}

.post-detail__meta {
    margin: 0 0 1rem;
    font-size: 0.9rem;
    color: #888;
}

.post-detail__excerpt {
    margin: 0;
    padding: 1rem 0 0;
    font-size: 0.98rem;
    line-height: 1.75;
    color: #64748b;
    border-top: 1px solid #e8e4df;
}

.post-detail__header {
    margin-bottom: 1.5rem;
    padding-bottom: 0.25rem;
}

.post-detail {
    width: 100%;
    background-color: #f9f9f9;
}

.post-detail__canvas {
    padding-block: 1.25rem 2.5rem;
    background-color: #f9f9f9;
}

.post-detail__layout {
    display: flex;
    align-items: flex-start;
    gap: 3px;
    width: 100%;
    box-sizing: border-box;
}

.post-detail__box {
    min-width: 0;
    background-color: #fff;
    border: 1px solid #f2f2f2;
    border-radius: 5px;
    box-sizing: border-box;
}

.post-detail__box--body {
    flex: 1 1 auto;
    min-width: 0;
    overflow: visible;
}

.post-detail__box--body .post-detail__box-scroll {
    padding: 1.25rem 1.25rem 2rem;
    overflow: visible;
}

.post-detail__box--toc {
    flex: 0 0 270px;
    width: 270px;
    max-width: 270px;
    position: sticky;
    top: 5.25rem;
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 6rem);
    overflow: hidden;
}

.post-detail__box--toc .post-detail__box-scroll {
    padding: 1rem 0.85rem 1.25rem;
    max-height: calc(100vh - 7.5rem);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.post-detail__box--toc .post-detail__box-scroll::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.post-toc {
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
}

.post-toc__title {
    margin: 0 0 0.85rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

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

.post-toc__item {
    margin: 0 0 0.55rem;
    padding: 0;
}

.post-toc__item:last-child {
    margin-bottom: 0;
}

.post-toc__link {
    display: block;
    font-size: 0.86rem;
    line-height: 1.5;
    color: #64748b;
    text-decoration: none;
    transition: color 0.15s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.post-toc__link:hover {
    color: #1b4332;
    text-decoration: none;
}

.post-toc--panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.post-toc__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-shrink: 0;
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid #e8e4df;
}

.post-toc__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #64748b;
    font-size: 1.65rem;
    line-height: 1;
    cursor: pointer;
}

.post-toc__close:hover {
    background: #f1f5f3;
    color: #1a1a1a;
}

.post-toc--panel .post-toc__list {
    flex: 1;
    overflow-y: auto;
    padding: 0 0.85rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.post-toc--panel .post-toc__list::-webkit-scrollbar {
    display: none;
}

.post-toc--panel .post-toc__link {
    padding: 0;
    font-size: 0.86rem;
    line-height: 1.5;
}

.post-toc + .post-topic-related {
    margin-top: 1.35rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e8e4df;
}

.post-topic-related__title {
    margin: 0 0 0.85rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.post-topic-related__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.post-topic-related__item {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    margin: 0 0 0.55rem;
}

.post-topic-related__item:last-child {
    margin-bottom: 0;
}

.post-topic-related__item::before {
    flex-shrink: 0;
    content: '';
    width: 5px;
    height: 5px;
    margin-top: 0.55em;
    background: #b8c0cc;
}

.post-topic-related__item.is-current::before {
    content: '→';
    width: auto;
    height: auto;
    margin-top: 0.4em;
    background: none;
    color: #d4a574;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
}

.post-topic-related__link,
.post-topic-related__label {
    flex: 1;
    min-width: 0;
    display: block;
    font-size: 0.86rem;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.post-topic-related__link {
    color: #8b95a5;
    font-weight: 400;
    text-decoration: none;
}

.post-topic-related__link:hover {
    color: #1b4332;
    text-decoration: none;
}

.post-topic-related__item.is-current .post-topic-related__label {
    color: #a54a26;
    font-weight: 700;
}

.post-toc--panel + .post-topic-related {
    margin-top: 1.35rem;
    padding: 1.25rem 0.85rem 1rem;
    border-top: 1px solid #e8e4df;
}

.post-toc-mobile > .post-toc__head + .post-topic-related .post-topic-related__title {
    display: none;
}

.post-toc-fab {
    display: none;
    position: fixed;
    top: 5.25rem;
    right: 1rem;
    z-index: var(--z-post-toc-fab);
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #2c3e50;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    box-shadow: 0 4px 16px rgba(44, 62, 80, 0.35);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition:
        opacity 0.28s ease,
        visibility 0.28s ease,
        transform 0.28s ease;
}

.post-toc-fab.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.post-toc-fab[hidden] {
    display: none !important;
}

.post-toc-mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: var(--z-post-toc-overlay);
    background: rgba(15, 23, 42, 0.5);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.28s ease,
        visibility 0.28s ease;
    pointer-events: none;
}

.post-toc-mobile-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.post-toc-mobile {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(20rem, 86vw);
    z-index: var(--z-post-toc-panel);
    background: #fff;
    box-shadow: -8px 0 32px rgba(15, 23, 42, 0.18);
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.post-toc-mobile.is-open {
    transform: translateX(0);
}

body.post-toc-mobile-open {
    overflow: hidden;
}

.post-toc-mobile {
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.post-toc-mobile::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.post-toc-mobile .post-toc--panel {
    height: auto;
    min-height: 0;
    flex: 0 0 auto;
}

.post-toc-mobile .post-toc--panel .post-toc__list {
    flex: 0 0 auto;
    overflow: visible;
}

.post-toc-mobile .post-toc__head {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #fff;
}

.site-body--app .post-detail__canvas {
    padding: 0.75rem 1rem 2rem;
    background-color: #f9f9f9;
}

.site-body--app .post-detail__layout {
    flex-direction: column;
    gap: 0;
    min-height: 0;
}

.site-body--app .post-detail__box--toc {
    display: none;
}

.site-body--app .post-detail__box {
    border: none;
    border-radius: 0;
    overflow: visible;
}

.site-body--app .post-detail__box-scroll {
    flex: none;
    overflow: visible;
}

.site-body--app .post-detail__box--body .post-detail__box-scroll {
    padding: 1rem 1rem 2rem;
}

.site-body--app .post-toc-fab {
    top: 1rem;
}

.site-body--app .post-toc-fab:not([hidden]) {
    display: inline-flex;
}

.site-body--app .post-toc-mobile-overlay {
    display: block;
}

.site-body--app .post-toc-mobile {
    display: flex;
}

.post-detail__figure {
    margin: 0 0 1.5rem;
}

.post-detail__figure img {
    border-radius: 8px;
}

.post-detail__content {
    font-size: 1.05rem;
    line-height: 1.5;
    overflow: visible;
}

.post-detail__content h1 {
    margin: 0 0 1rem;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.5;
    color: #1a1a1a;
}

.post-detail__content h2 {
    margin: 2.25rem 0 1rem;
    padding: 0.9rem 1rem 0.9rem 1.1rem;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.45;
    color: #1e3a5f;
    background-color: #f5f7fa;
    border-left: 5px solid #2c3e50;
    border-top: 1px solid #e4e8ee;
    border-bottom: 1px solid #e4e8ee;
    border-right: none;
    scroll-margin-top: 5.5rem;
}

.post-detail__content h3 {
    margin: 1.5rem 0 0.65rem;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    color: #1a1a1a;
}

.post-detail__content p {
    margin: 0 0 1rem;
}

.post-detail__content ul,
.post-detail__content ol {
    margin: 0 0 1rem 1.5rem;
    padding-left: 0.35rem;
    list-style-position: outside;
}

.post-detail__content ul {
    list-style-type: disc;
}

.post-detail__content ol {
    list-style-type: decimal;
}

.post-detail__content li {
    margin-bottom: 0.45rem;
    padding-left: 0;
}

.post-detail__content li:last-child {
    margin-bottom: 0;
}

.post-detail__content ul ul,
.post-detail__content ul ol,
.post-detail__content ol ul,
.post-detail__content ol ol {
    margin-top: 0.35rem;
    margin-left: 1.25rem;
    margin-bottom: 0;
}

.post-detail__content li > p {
    margin: 0 0 0.5rem;
}

.post-detail__content li > p:last-child {
    margin-bottom: 0;
}

/* 본문 내 내부링크 — 글 흐름 속 클릭 유도 */
.post-detail__content a.internal-link,
a.internal-link {
    display: inline;
    padding: 0.15em 0.4em;
    margin: 0 0.1em;
    color: #1b4332;
    font-weight: 600;
    text-decoration: none;
    background-color: #eef5f1;
    border-radius: 5px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    transition:
        color 0.15s ease,
        background-color 0.15s ease;
}

.post-detail__content a.internal-link:hover,
a.internal-link:hover {
    color: #fff;
    background-color: #2d6a4f;
    text-decoration: none;
}

/* 관련글·함께 보면 좋은 글 링크 */
a.internal-link-underline {
    color: #1b4332;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: #95b8a8;
    text-underline-offset: 0.22em;
    text-decoration-thickness: 2px;
    transition:
        color 0.15s ease,
        text-decoration-color 0.15s ease;
}

a.internal-link-underline:hover {
    color: #2d6a4f;
    text-decoration-color: #2d6a4f;
    text-decoration: underline;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
}

.tag-list__link {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    background: #eef5f1;
    border-radius: 999px;
    font-size: 0.85rem;
    text-decoration: none;
}

.box {
    margin-top: 2rem;
    padding: 1.25rem;
    background: #fff;
    border: 1px solid #e8e4df;
    border-radius: 12px;
}

.box__title {
    margin: 0 0 0.75rem;
    font-size: 1.1rem;
}

.box__lead {
    margin: 0 0 1rem;
    font-size: 0.9rem;
    color: #555;
}

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

.link-list__item {
    border-top: 1px solid #eee;
    padding: 0.75rem 0;
}

.link-list__item:first-child {
    border-top: none;
    padding-top: 0;
}

.link-list__item a {
    display: block;
    text-decoration: none;
}

.link-list__sub {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.15rem;
}

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

.affiliate-list__item {
    padding: 1rem 0;
    border-top: 1px solid #eee;
}

.affiliate-list__item:first-child {
    border-top: none;
    padding-top: 0;
}

.affiliate-list__title {
    margin: 0 0 0.35rem;
    font-size: 1rem;
}

.affiliate-list__type {
    margin: 0 0 0.35rem;
    font-size: 0.85rem;
    color: #2d6a4f;
}

.affiliate-list__desc {
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
    color: #555;
}

.affiliate-list__disclosure {
    margin: 0.5rem 0 0;
    font-size: 0.8rem;
    color: #888;
}

.notice-box {
    margin-top: 2rem;
    padding: 1rem 1.15rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

.notice-box--medical {
    background: #fff8e6;
    border: 1px solid #f0e0b0;
    color: #5c4a1a;
}

.btn {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: #2d6a4f;
    color: #fff !important;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none !important;
}

.btn--outline {
    background: transparent;
    color: #2d6a4f !important;
    border: 1px solid #2d6a4f;
}

.post-unavailable {
    max-width: 36rem;
    margin-inline: auto;
    padding-block: 2rem 3rem;
    text-align: center;
}

.post-unavailable__badge {
    display: inline-block;
    margin: 0 0 1rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #1b4332;
    background: #e8f5e9;
    border: 1px solid #b7dfc3;
}

.post-unavailable__title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.35rem, 4vw, 1.85rem);
    line-height: 1.35;
    color: #1b4332;
    word-break: keep-all;
}

.post-unavailable__category {
    margin: 0 0 1.25rem;
    font-size: 0.92rem;
}

.post-unavailable__category a {
    font-weight: 700;
}

.post-unavailable__lead {
    margin: 0 0 0.75rem;
    color: #334155;
    line-height: 1.75;
}

.post-unavailable__note {
    margin: 0 0 1.75rem;
    font-size: 0.92rem;
    color: #64748b;
}

.post-unavailable__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
}

.error-page {
    text-align: center;
    padding: 3rem 1rem;
}

.error-page h1 {
    margin: 0 0 1rem;
    font-size: 2.5rem;
    color: #2d6a4f;
}

@media (max-width: 900px) {
    .post-detail__canvas {
        padding: 0.75rem 1rem 2rem;
        background-color: #f9f9f9;
    }

    .post-detail__layout {
        flex-direction: column;
        gap: 0;
        min-height: 0;
    }

    .post-detail__box--toc {
        display: none;
    }

    .post-detail__box {
        border: none;
        border-radius: 0;
        overflow: visible;
    }

    .post-detail__box-scroll {
        flex: none;
        overflow: visible;
    }

    .post-detail__box--body .post-detail__box-scroll {
        padding: 1rem 1rem 2rem;
    }

    .post-toc-fab:not([hidden]) {
        display: inline-flex;
    }

    .post-toc-mobile-overlay {
        display: block;
    }

    .post-toc-mobile {
        display: flex;
    }
}

@media (max-width: 768px) {
    .site-header {
        transition: transform 0.28s ease;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .site-header.is-scroll-hidden {
        transform: translateY(-100%);
        pointer-events: none;
    }

    body.site-nav-open .site-header {
        transform: none;
        pointer-events: auto;
    }

    .site-header__inner {
        padding: 0.75rem 1rem;
        flex-wrap: nowrap;
        gap: 0.75rem;
    }

    .site-header__brand {
        flex: 1;
        min-width: 0;
    }

    .site-header__actions {
        display: flex;
    }

    .site-search-open--mobile {
        display: inline-flex;
    }

    .site-search-open--desktop {
        display: none !important;
    }

    .site-nav-toggle {
        display: inline-flex;
    }

    .site-nav--desktop {
        display: none !important;
    }

    .site-nav--drawer {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 60vw;
        z-index: var(--z-site-nav-drawer);
        transform: translateX(100%);
        transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: none;
        visibility: hidden;
    }

    .site-nav--drawer.is-open {
        transform: translateX(0);
        pointer-events: auto;
        visibility: visible;
    }

    .site-nav-overlay {
        display: block;
    }

    .site-logo__img {
        height: 2rem;
        max-width: min(8.5rem, 52vw);
    }

    .site-tagline {
        font-size: 0.68rem;
        margin-top: 0.28rem;
    }

    .site-nav--drawer .site-nav__panel {
        display: flex;
        flex-direction: column;
        height: 100%;
        background: #fff;
        box-shadow: -8px 0 32px rgba(15, 23, 42, 0.14);
    }

    .site-nav--drawer .site-nav__head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        flex-shrink: 0;
        padding: 1.1rem 1.25rem;
        border-bottom: 1px solid #e8e4df;
    }

    .site-nav--drawer .site-nav__title {
        margin: 0;
        font-size: 1.05rem;
        font-weight: 700;
        color: #1a1a1a;
        letter-spacing: -0.02em;
        line-height: 1.3;
    }

    .site-nav--drawer .site-nav-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 2.25rem;
        height: 2.25rem;
        padding: 0;
        border: none;
        border-radius: 8px;
        background: transparent;
        color: #64748b;
        cursor: pointer;
        transition: background 0.15s ease, color 0.15s ease;
    }

    .site-nav--drawer .site-nav-close:hover {
        background: #f1f5f3;
        color: #1b4332;
    }

    .site-nav--drawer .site-nav-close__icon {
        font-size: 1.65rem;
        line-height: 1;
        font-weight: 300;
    }

    .site-nav--drawer .site-nav__track {
        flex: 1;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .site-nav--drawer .site-nav__link--pill {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        font-size: 0.95rem;
        font-weight: 500;
        color: #1a1a1a;
        padding: 1rem 1.25rem;
        border-radius: 0;
        border: none;
        border-bottom: 1px solid #eceae6;
        background: #fff;
        box-shadow: none;
        white-space: normal;
        transition: background 0.15s ease;
    }

    .site-nav--drawer .site-nav__link--pill:hover {
        background: #f8faf9;
        color: #1b4332;
        border-color: #eceae6;
        box-shadow: none;
    }

    .site-nav--drawer .site-nav__link--pill.is-active {
        color: #fff;
        font-weight: 600;
        background: #1b4332;
        border-color: transparent;
        box-shadow: none;
    }

    .site-nav--drawer .site-nav__link--pill.is-active .site-nav__chevron {
        border-top-color: rgba(255, 255, 255, 0.92);
        border-right-color: rgba(255, 255, 255, 0.92);
    }

    .site-nav-guide--drawer .site-nav-guide__trigger.is-active .site-nav-guide__caret {
        border-top-color: #fff;
        opacity: 1;
    }

    .site-nav--drawer .site-nav__chevron {
        display: block;
        flex-shrink: 0;
        width: 0.45rem;
        height: 0.45rem;
        border-top: 2px solid #b8c4be;
        border-right: 2px solid #b8c4be;
        transform: rotate(45deg);
    }

    .site-nav-guide--drawer {
        display: block;
        width: 100%;
    }

    .site-nav-guide--drawer .site-nav-guide__trigger {
        display: flex;
        width: 100%;
        justify-content: space-between;
        text-align: left;
        border-radius: 0;
    }

    .site-nav-guide--drawer .site-nav-guide__trigger .site-nav__chevron,
    .site-nav-guide--drawer .site-nav-guide__trigger .site-nav-guide__chevron {
        display: none !important;
    }

    .site-nav-guide--drawer .site-nav-guide__caret {
        border-top-color: #b8c4be;
        opacity: 1;
    }

    .site-nav-guide--drawer .site-nav-guide__panel {
        position: static;
        min-width: 0;
        margin: 0;
        padding: 0;
        border: none;
        border-bottom: 1px solid #eceae6;
        border-radius: 0;
        box-shadow: none;
        background: #f8faf9;
    }

    .site-nav-guide--drawer .site-nav-guide__grid--stack {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .site-nav-guide--drawer .site-nav-guide__sub {
        padding-left: 1.75rem;
    }

    .post-list {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .page-head {
        padding: 1.25rem 1.5rem;
    }

    .page-head h1 {
        font-size: 1.15rem;
    }

    .post-card__body {
        padding: 1.25rem 1.5rem 1.15rem;
    }
}

@media (min-width: 769px) {
    .site-nav-toggle {
        display: none !important;
    }

    .site-nav--drawer {
        display: none !important;
    }

    .site-logo__img {
        height: 2.5rem;
        max-width: 9.75rem;
    }
}

/* —— 메인 홈: 히어로 풀폭, 본문은 .site-container —— */
.home-page {
    color: #333;
}

/* 히어로: 배경·영역 전체 너비 */
.home-hero {
    width: 100%;
    margin: 0;
    background: #f4faf7;
    border: none;
    border-bottom: 1px solid #e8ece8;
    border-radius: 0;
}

.home-hero__inner {
    padding-block: 2.5rem 2rem;
}

.home-page__body {
    padding-block: 0.5rem 0rem;
}

.home-page__body > .home-section {
    max-width: none;
    margin-inline: 0;
    padding-inline: 0;
}

.home-page__body > .home-section--muted {
    width: 100vw;
    max-width: 100vw;
    margin-inline: calc(50% - 50vw);
    box-sizing: border-box;
}

.home-hero__title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 800;
    line-height: 1.25;
    color: #1a1a1a;
    letter-spacing: -0.03em;
}

.home-hero__lead {
    margin: 0 0 1.5rem;
    max-width: 36rem;
    font-size: 1rem;
    line-height: 1.65;
    color: #555;
}

.home-hero__cards {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.65rem;
}

.home-hero-card {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.9rem 0.85rem;
    background: #fff;
    border: 1px solid #e4ebe6;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.home-hero-card:hover {
    border-color: #b8d4c4;
    box-shadow: 0 4px 14px rgba(45, 106, 79, 0.08);
    color: inherit;
}

.home-hero-card__label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #3d6a9f;
}

.home-hero-card__title {
    font-size: 0.98rem;
    font-weight: 800;
    color: #1a1a1a;
}

.home-hero-card__hint {
    font-size: 0.8rem;
    color: #777;
}

.home-section {
    padding-block: 2rem;
}

.home-page .home-section__title,
.home-page .home-alert__title {
    scroll-margin-top: var(--site-header-offset);
}

.home-section--muted {
    max-width: none;
    width: 100%;
    padding: 1.75rem 0;
    background: #fafbfc;
    border: none;
    border-top: 1px solid #eef1f4;
    border-bottom: 1px solid #eef1f4;
    border-radius: 0;
}

.home-section--muted > .home-section__head,
.home-section--muted > .home-grid,
.home-section--muted > .home-empty,
.home-section--muted > .home-latest {
    width: 100%;
    max-width: var(--site-width);
    margin-inline: auto;
    padding-inline: var(--site-gutter);
    box-sizing: border-box;
}

.home-section--alert {
    padding-top: 0;
    padding-bottom: 1.5rem;
}

.home-section__head {
    margin-bottom: 1.15rem;
}

.home-section__title {
    margin: 0 0 0.35rem;
    font-size: 1.35rem;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.home-section__desc {
    margin: 0;
    font-size: 0.92rem;
    color: #666;
    line-height: 1.55;
}

.home-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.home-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.9rem;
    background: #fff;
    border: 1px solid #d4e8de;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #2d5a47;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

a.home-chip:hover {
    background: #eef8f4;
    border-color: #2d6a4f;
    color: #1b4332;
}

.home-alert {
    padding: 1.35rem 1.4rem 1.15rem;
    background: #fffaf6;
    border: 1px solid #f0e4d8;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(45, 90, 71, 0.06);
}

.home-alert__head {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.1rem;
}

.home-alert__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: #fff3e8;
    color: #c45c26;
}

.home-alert__head-text {
    min-width: 0;
}

.home-alert__badge {
    margin: 0 0 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #c45c26;
}

.home-alert__title {
    margin: 0 0 0.4rem;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: #1a1a1a;
}

.home-alert__lead {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.6;
    color: #555;
}

.home-alert__signals {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem 0.65rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-alert__signal {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.7rem 0.85rem;
    background: #fff;
    border: 1px solid #ebe6e0;
    border-radius: 10px;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #333;
}

.home-alert__signal::before {
    content: "";
    flex-shrink: 0;
    width: 7px;
    height: 7px;
    margin-top: 0.42em;
    border-radius: 50%;
    background: #d97706;
}

.home-alert__footnote {
    margin: 1rem 0 0;
    padding-top: 0.85rem;
    border-top: 1px solid #f0e8df;
    font-size: 0.8rem;
    line-height: 1.55;
    color: #888;
}

.home-grid {
    display: grid;
    gap: 0.85rem;
}

.home-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-card {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 1.15rem 1.2rem;
    background: #fff;
    border: 1px solid #e8ece8;
    border-radius: 14px;
    min-height: 100%;
    box-sizing: border-box;
}

a.home-card--link {
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}

a.home-card--link:hover {
    border-color: #b8d4c4;
    box-shadow: 0 4px 14px rgba(45, 106, 79, 0.08);
}

a.home-card--link:hover .home-card__action {
    color: #2d6a4f;
}

.home-section--muted .home-card {
    background: #fff;
}

.home-card__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.35;
}

.home-card__desc {
    margin: 0;
    flex: 1;
    font-size: 0.88rem;
    line-height: 1.55;
    color: #666;
}

.home-card__action {
    display: inline-flex;
    align-items: center;
    margin-top: 0.25rem;
    font-size: 0.84rem;
    font-weight: 700;
    color: #3d6a9f;
}

.home-section__desc a {
    color: #2d6a4f;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.home-empty {
    margin: 0;
    padding: 2rem 1rem;
    text-align: center;
    font-size: 0.95rem;
    color: #888;
    background: #f9f9f9;
    border-radius: 12px;
    border: 1px dashed #ddd;
}

.home-latest.post-list {
    gap: 1rem;
}

@media (max-width: 900px) {
    .home-grid--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .home-hero__inner {
        padding: 1.75rem 1rem 1.5rem;
    }

    .home-section {
        padding: 1.5rem 1rem;
    }

    .home-section--muted {
        padding: 1.35rem 0;
    }

    .home-section--muted > .home-section__head,
    .home-section--muted > .home-grid,
    .home-section--muted > .home-empty {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .home-grid--3,
    .home-grid--2 {
        grid-template-columns: 1fr;
    }

    .home-hero__cards {
        flex-wrap: wrap;
    }

    .home-hero-card {
        flex: 1 1 calc(50% - 0.35rem);
    }

    .home-alert__signals {
        grid-template-columns: 1fr;
    }

    .home-alert__head {
        gap: 0.7rem;
    }

    .home-alert__icon {
        width: 2.5rem;
        height: 2.5rem;
    }
}

.site-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 45;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.85rem;
    height: 2.85rem;
    padding: 0;
    border: 1px solid #d4e8de;
    border-radius: 50%;
    background: #fff;
    color: #2d6a4f;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease, background 0.15s, color 0.15s, box-shadow 0.15s;
}

.site-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.site-top:hover {
    background: #2d6a4f;
    color: #fff;
    border-color: #2d6a4f;
    box-shadow: 0 6px 20px rgba(45, 106, 79, 0.25);
}

.site-top:focus-visible {
    outline: 2px solid #2d6a4f;
    outline-offset: 2px;
}

.site-top__icon {
    display: block;
}

@media (max-width: 640px) {
    .site-top {
        right: 1rem;
        bottom: 1rem;
        width: 2.65rem;
        height: 2.65rem;
    }
}
