/* 쉬멜만남 — 독립 디자인 (header / main / footer + 5섹션 id 통일) */
:root {
    --color-bg: #f4edf1;
    --color-surface: #ffffff;
    --color-header: #2a0a1c;
    --color-header-border: #5c1a3d;
    --color-footer: #1f0715;
    --color-text: #2a0a1c;
    --color-text-muted: #6b4a5c;
    --color-accent: #c41e6a;
    --color-accent-soft: #f8e4ee;
    --color-border: #e2d0da;
    --color-border-strong: #c9a8b8;
    --shadow-sec: 0 4px 24px rgba(42, 10, 28, 0.07);
    --radius-sec: 12px;
    --max-width: 1120px;
    --sec-gap: 28px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--color-text);
    background: var(--color-bg);
}

a {
    color: var(--color-accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

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

/* ── HEADER ── */
#site-header {
    flex-shrink: 0;
    background: var(--color-header);
    border-bottom: 3px solid var(--color-accent);
    color: #fff;
}

#header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 14px 20px;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
        "logo login"
        "cats cats"
        "search search";
    gap: 12px 20px;
    align-items: center;
}

#header-logo {
    grid-area: logo;
}

#header-logo-link {
    display: inline-block;
}

#header-logo-img {
    display: block;
    height: 64px;
    width: auto;
    max-width: min(280px, 78vw);
    aspect-ratio: 520 / 140;
    object-fit: contain;
    object-position: left center;
}

#header-login {
    grid-area: login;
    justify-self: end;
    font-size: 14px;
}

#header-login-link,
#header-logout-link {
    color: #fff;
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    text-decoration: none;
}

#header-login-link:hover,
#header-logout-link:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    text-decoration: none;
}

#header-categories {
    grid-area: cats;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    width: 100%;
    padding: 12px 0 2px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.site-header__cat-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    min-height: 42px;
    padding: 10px 16px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    text-decoration: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.site-header__cat-link:hover {
    color: #fff;
    text-decoration: none;
    background: var(--color-accent);
    border-color: var(--color-accent);
    box-shadow: 0 6px 16px rgba(196, 30, 106, 0.35);
    transform: translateY(-1px);
}

.site-header__cat-link.is-current,
.site-header__cat-link[aria-current="page"] {
    color: #fff;
    background: var(--color-accent);
    border-color: #e45a96;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

#header-search {
    grid-area: search;
    display: flex;
    gap: 8px;
}

#header-search-input {
    flex: 1;
    min-width: 0;
    padding: 10px 14px;
    border: 0;
    border-radius: 8px;
    font-size: 15px;
}

#header-search-btn {
    padding: 10px 20px;
    border: 0;
    border-radius: 8px;
    background: var(--color-accent);
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}

#header-search-btn:hover {
    background: #a01858;
}

/* ── MAIN ── */
#site-main,
.site-main {
    flex: 1 0 auto;
    width: 100%;
}

#main-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--sec-gap) 20px 48px;
    display: flex;
    flex-direction: column;
    gap: var(--sec-gap);
}

.main-sec {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sec);
    box-shadow: var(--shadow-sec);
    overflow: hidden;
}

.main-sec::before {
    content: "";
    display: block;
    height: 4px;
    background: linear-gradient(90deg, var(--color-header), var(--color-accent));
}

.sec-inner {
    padding: 28px 28px 24px;
}

.sec-title {
    margin: 0;
    padding: 20px 28px 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-header);
    border-bottom: 0;
}

.sec-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 28px 0;
}

.sec-head .sec-title {
    padding: 0;
}

.review-write-link {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 8px;
    background: var(--color-header);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.review-write-link:hover {
    background: var(--color-accent);
    color: #fff;
}

.review-summary {
    margin: 0 0 16px;
    font-size: 15px;
    color: var(--color-text-muted);
}

.review-summary strong {
    font-size: 1.1rem;
    color: var(--color-header);
}

.sec-body {
    padding: 16px 28px 28px;
}

#sec-related-desc,
.sec-desc {
    margin: 0;
    padding: 8px 28px 0;
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.sec-head+.sec-desc {
    padding-top: 12px;
}

.sec-empty {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 15px;
}

/* sec-hero */
#sec-hero {
    border-color: var(--color-border-strong);
}

#sec-hero-title,
.page-title {
    margin: 0 0 12px;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    line-height: 1.25;
    color: var(--color-header);
    letter-spacing: -0.02em;
}

#sec-hero-intro,
.page-intro {
    margin: 0 0 20px;
    font-size: 1.05rem;
    color: var(--color-text-muted);
    max-width: 52em;
}

#sec-hero-figure,
.hero-figure {
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--color-border);
}

#sec-hero-img {
    width: 100%;
    aspect-ratio: 1200 / 630;
    object-fit: cover;
}

#sec-hero-video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #000;
}

#sec-hero-caption span {
    display: block;
    margin-top: 3px;
}

.location-city-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.location-city-card {
    padding: 20px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: linear-gradient(145deg, #fff 0%, var(--color-accent-soft) 100%);
}

.location-city-card--seoul {
    grid-column: span 2;
    grid-row: span 2;
}

.location-city-card__title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-accent);
    color: var(--color-header);
    font-size: 1.15rem;
    line-height: 1.4;
}

.location-district-grid {
    display: grid;
    gap: 14px;
}

.location-city-card--seoul .location-district-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.location-district {
    padding: 14px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.88);
}

.location-district__title {
    margin: 0 0 11px;
    color: var(--color-header);
    font-size: 0.95rem;
}

.location-district__notice {
    margin: 0 0 12px;
    padding: 9px 11px;
    border-radius: 8px;
    background: #fff1c7;
    color: #7a4b00;
    font-size: 13px;
    font-weight: 700;
}

.location-manager-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.location-manager-list a {
    position: relative;
    display: inline-block;
    padding: 7px 10px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: #fff;
    color: var(--color-text);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.location-manager-list a:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-1px);
}

.location-manager-link--featured {
    border-color: color-mix(in srgb, var(--color-accent) 55%, var(--color-border)) !important;
    box-shadow: 0 2px 8px rgba(196, 61, 110, 0.13);
}

.location-manager-link__plus {
    position: absolute;
    top: -7px;
    right: -6px;
    display: grid;
    width: 16px;
    height: 16px;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--color-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

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

    .location-city-card--seoul {
        grid-column: span 2;
        grid-row: auto;
    }
}

@media (max-width: 600px) {
    .location-city-grid,
    .location-city-card--seoul .location-district-grid {
        grid-template-columns: 1fr;
    }

    .location-city-card--seoul {
        grid-column: auto;
    }
}

.location-manager-notice {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 9px;
    margin-top: 20px;
    padding: 14px 16px;
    border-left: 4px solid var(--color-accent);
    border-radius: 8px;
    background: var(--color-accent-soft);
    color: var(--color-text);
    font-size: 14px;
    line-height: 1.6;
}

.location-manager-notice strong {
    color: var(--color-header);
    font-size: 15px;
}

.location-manager-notice__rule {
    flex-basis: 100%;
    padding-left: 27px;
}

.location-manager-notice .is-no {
    color: #b42318;
}

.location-manager-notice .is-yes {
    color: #087443;
}

.location-updated {
    margin: 12px 0 0;
    color: var(--color-text-muted);
    font-size: 13px;
    text-align: right;
}

.restriction-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.restriction-list li {
    position: relative;
    padding: 12px 14px 12px 42px;
    border: 1px solid #efc9c6;
    border-radius: 9px;
    background: #fff8f7;
    color: var(--color-text);
    font-size: 14px;
    line-height: 1.55;
}

.restriction-list li::before {
    content: "✕";
    position: absolute;
    top: 12px;
    left: 15px;
    color: #b42318;
    font-weight: 800;
}

.consultation-checklist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.consultation-checklist li {
    position: relative;
    padding: 12px 14px 12px 42px;
    border: 1px solid #b9dfcd;
    border-radius: 9px;
    background: #f5fcf8;
    color: var(--color-text);
    font-size: 14px;
    line-height: 1.55;
}

.consultation-checklist li::before {
    content: "✓";
    position: absolute;
    top: 12px;
    left: 15px;
    color: #087443;
    font-weight: 800;
}

@media (max-width: 600px) {
    .consultation-checklist {
        grid-template-columns: 1fr;
    }
}

.service-option-group + .service-option-group {
    margin-top: 26px;
}

.service-option-group__title {
    margin: 0 0 12px;
    color: var(--color-header);
    font-size: 1.05rem;
}

.service-option-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.service-option-list > div {
    padding: 14px;
    border: 1px solid var(--color-border);
    border-radius: 9px;
    background: #fff;
}

.service-option-list dt {
    margin: 0 0 5px;
    color: var(--color-header);
    font-size: 14px;
    font-weight: 700;
}

.service-option-list dt span {
    color: var(--color-text-muted);
    font-weight: 600;
}

.service-option-list dd {
    margin: 0;
    color: var(--color-text);
    font-size: 14px;
    line-height: 1.55;
}

.service-option-list__warning {
    border-color: #e9b5b0 !important;
    background: #fff8f7 !important;
}

.service-option-list__warning dd {
    color: #9f2018;
    font-weight: 700;
}

.service-price-notice {
    margin-top: 20px;
    padding: 14px 16px;
    border: 1px solid #e6c15f;
    border-radius: 9px;
    background: #fff7d8;
    color: #714700;
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
}

@media (max-width: 600px) {
    .service-option-list {
        grid-template-columns: 1fr;
    }
}

/* 프로필/후기 히어로는 세로 이미지 — 메인 히어로 비율 강제 해제 */
.post-view-profile #sec-hero-img,
.post-view-review #sec-hero-img {
    aspect-ratio: auto;
    height: auto;
    object-fit: unset;
}

#sec-hero-caption,
.hero-figure__caption {
    margin: 0;
    padding: 10px 14px;
    font-size: 13px;
    color: var(--color-text-muted);
    background: var(--color-accent-soft);
}

/* sec-content + shemale-info articles */
#sec-content-body .post-body,
#sec-definition-body .post-body,
#sec-reasons-body .post-body,
#sec-china-body .post-body,
#sec-thailand-body .post-body {
    line-height: 1.8;
    color: var(--color-text);
}

#sec-content-body .post-body h3,
#sec-definition-body .post-body h3,
#sec-reasons-body .post-body h3,
#sec-china-body .post-body h3,
#sec-thailand-body .post-body h3 {
    margin: 24px 0 10px;
    font-size: 1.05rem;
    color: var(--color-header);
}

#sec-content-body .post-body h3:first-child,
#sec-definition-body .post-body h3:first-child,
#sec-reasons-body .post-body h3:first-child,
#sec-china-body .post-body h3:first-child,
#sec-thailand-body .post-body h3:first-child {
    margin-top: 0;
}

#sec-content-body .post-body p,
#sec-definition-body .post-body p,
#sec-reasons-body .post-body p,
#sec-china-body .post-body p,
#sec-thailand-body .post-body p {
    margin: 0 0 12px;
    font-size: 15px;
}

#sec-content-body .post-body figure,
#sec-definition-body .post-body figure,
#sec-reasons-body .post-body figure,
#sec-china-body .post-body figure,
#sec-thailand-body .post-body figure {
    margin: 16px 0;
    max-width: 100%;
}

#sec-content-body .post-body img,
#sec-definition-body .post-body img,
#sec-reasons-body .post-body img,
#sec-china-body .post-body img,
#sec-thailand-body .post-body img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 0;
}

#sec-content-body .post-body figcaption,
#sec-definition-body .post-body figcaption,
#sec-reasons-body .post-body figcaption,
#sec-china-body .post-body figcaption,
#sec-thailand-body .post-body figcaption {
    margin: 8px 0 0;
    font-size: 13px;
    color: var(--color-text-muted);
}

.info-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin: 0;
    padding: 10px 28px 0;
    color: var(--color-text-muted);
    font-size: 13px;
    line-height: 1.5;
}

.info-article-meta__author strong {
    color: var(--color-text);
    font-weight: 600;
}

/* 메인 카테고리 그룹 */
.cat-group {
    margin: 0 0 28px;
}

.cat-group:last-child {
    margin-bottom: 0;
}

.cat-group__title {
    margin: 0 0 14px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-header);
}

#sec-content-guide-grid,
#sec-content-country-grid,
.cat-grid {
    margin: 0;
    align-items: stretch;
}

.cat-grid .post-grid__item {
    display: flex;
}

.cat-grid .post-card {
    width: 100%;
}

.cat-grid .post-card__thumb {
    aspect-ratio: 16 / 9;
}

.cat-grid .post-card__thumb img {
    object-fit: cover;
}

.cat-grid .post-card__title {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 1.4em;
}

.cat-grid .post-card__intro {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3em;
    margin-bottom: 0;
}

/* 메인 카테고리 목차 */
#sec-content-toc,
.toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.toc-list__item {
    border-bottom: 1px solid var(--color-border);
}

.toc-list__item:last-child {
    border-bottom: 0;
}

.toc-list__link {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 4px;
    color: inherit;
    text-decoration: none;
}

.toc-list__link:hover {
    text-decoration: none;
    background: var(--color-accent-soft);
}

.toc-list__num {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-header);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.toc-list__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.toc-list__name {
    font-size: 18px;
    color: var(--color-text);
}

.toc-list__desc {
    font-size: 14px;
    line-height: 1.55;
    color: var(--color-text-muted);
}

/* sec-related */
#sec-related-list,
.related-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.related-list__item {
    margin: 0;
}

.related-list__link {
    display: inline-block;
    padding: 11px 20px;
    border-radius: 8px;
    background: #fff;
    color: var(--color-header);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    border: 2px solid var(--color-border-strong);
    box-shadow: 0 1px 4px rgba(42, 10, 28, 0.06);
}

.related-list__link:hover {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(196, 30, 106, 0.25);
}

/* sec-reviews */
#sec-reviews-list,
.review-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.review-list__item {
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
}

.review-list__item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.review-list__item:first-child {
    padding-top: 0;
}

.review-list__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin: 0 0 8px;
    font-size: 13px;
    color: var(--color-text-muted);
}

.review-list__author {
    font-weight: 700;
    color: var(--color-header);
}

.review-list__date {
    color: var(--color-text-muted);
}

.review-list__rating {
    display: inline-block;
    margin: 0;
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--color-header);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
}

.review-list__text {
    margin: 0;
    font-size: 15px;
}

a.review-list__text {
    display: block;
    padding: 14px 16px;
    border-radius: 8px;
    background: #fff;
    border: 2px solid var(--color-border-strong);
    color: var(--color-header);
    font-weight: 700;
    text-decoration: none;
}

a.review-list__text:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
}

/* sec-howto (HowTo 스키마 대비) */
#sec-howto-figure,
.howto-figure {
    margin: 0 0 24px;
    width: 100%;
    max-width: none;
    overflow: hidden;
    border-radius: var(--radius-sec);
}

#sec-howto-img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
}

#sec-howto-caption,
.howto-figure__caption {
    margin-top: 8px;
    font-size: 13px;
    color: var(--color-text-muted);
}

.sec-howto .howto-toc {
    margin: 0 0 28px;
    padding: 20px 22px;
    border-radius: var(--radius-sec);
    background: var(--color-accent-soft);
    border: 1px solid var(--color-border);
}

.howto-toc__title {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-header);
}

.howto-toc__list {
    margin: 0;
    padding-left: 1.25rem;
}

.howto-toc__item {
    margin: 0 0 6px;
}

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

.howto-toc__link {
    color: var(--color-accent);
    font-weight: 600;
    text-decoration: none;
}

.howto-toc__link:hover {
    text-decoration: underline;
}

#sec-howto-steps,
.howto-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: howto-step;
}

.howto-steps__item {
    padding: 24px 0;
    border-bottom: 1px solid var(--color-border);
}

.howto-steps__item:first-child {
    padding-top: 0;
}

.howto-steps__item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.howto-steps__title {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 12px;
    font-size: 18px;
    line-height: 1.4;
    color: var(--color-header);
}

.howto-steps__num {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-header);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.howto-steps__text {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text);
}

.howto-steps__detail {
    margin: 0;
    padding-left: 1.25rem;
    font-size: 14px;
    line-height: 1.65;
    color: var(--color-text-muted);
}

.howto-steps__detail li {
    margin-bottom: 6px;
}

.howto-steps__detail li:last-child {
    margin-bottom: 0;
}

.tag-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-list__item {
    margin: 0;
}

.tag-list__link {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff;
    border: 2px solid var(--color-border-strong);
    color: var(--color-header);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.tag-list__link:hover,
.tag-list__link.is-current {
    background: var(--color-header);
    border-color: var(--color-header);
    color: #fff;
    text-decoration: none;
}

.profile-hero__like-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 6px 12px;
    border: 2px solid var(--color-border-strong);
    border-radius: 999px;
    background: #fff;
    color: var(--color-header);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.profile-hero__like-btn:hover,
.profile-hero__like-btn.is-liked {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
}

.profile-hero__like-btn:disabled {
    opacity: 0.75;
    cursor: default;
}

.main-sec.is-empty .sec-empty {
    font-style: italic;
}

/* sec-faq */
#sec-faq-list,
.faq-list {
    margin: 0;
}

.faq-list__item {
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
}

.faq-list__item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.faq-list__item:first-child {
    padding-top: 0;
}

.faq-list__q {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-header);
}

.faq-list__q::before {
    content: "Q. ";
    color: var(--color-accent);
}

.faq-list__a {
    margin: 0;
    padding-left: 1.4em;
    color: var(--color-text-muted);
    font-size: 15px;
}

.faq-list__a::before {
    content: "A. ";
    margin-left: -1.4em;
    color: var(--color-accent);
    font-weight: 600;
}

.faq-list__updated {
    display: block;
    margin-top: 10px;
    font-size: 12px;
    color: var(--color-text-muted);
}

.faq-list__a ul,
.faq-list__a ol {
    margin: 8px 0 0;
    padding-left: 1.2em;
}

.faq-list__a li {
    margin-bottom: 6px;
}

.faq-list__a li:last-child {
    margin-bottom: 0;
}

/* post grid */
#sec-content-grid,
#sec-content-guide-grid,
#sec-content-country-grid,
#sec-related-grid,
#sec-event-grid,
#sec-faq-grid,
#sec-search-profiles-grid,
#sec-search-reviews-grid,
.post-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.post-grid__item {
    margin: 0;
}

.post-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.post-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 6px 20px rgba(196, 30, 106, 0.12);
    text-decoration: none;
}

.post-card__thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--color-accent-soft);
}

.post-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.post-card__body {
    padding: 14px;
    flex: 1;
}

.post-card__cat {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: bold;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.post-card__title {
    margin: 0 0 8px;
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--color-header);
}

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

.post-card__date {
    display: block;
    font-size: 11px;
    color: #999;
}

/* post view profile */
.profile-hero__figure {
    margin: 16px 0 0;
    width: 100%;
    max-width: 1200px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    background: #fff;
}

.profile-hero__figure img {
    display: block;
    width: 100%;
    height: auto;
}

.profile-hero__caption {
    margin: 0;
    padding: 10px 12px;
    font-size: 14px;
    background: #f7f7f7;
    border-top: 1px solid var(--color-border);
}

.profile-hero__caption-link {
    color: var(--color-accent);
    font-weight: 700;
    text-decoration: none;
}

.profile-hero__caption-link:hover {
    text-decoration: underline;
}

.profile-hero__meta {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    align-items: center;
    font-size: 14px;
    color: var(--color-text-muted);
}

.profile-hero__author {
    margin: 0;
}

.profile-hero__author-label {
    margin-right: 6px;
}

.profile-hero__author-link {
    color: var(--color-accent);
    font-weight: 700;
    text-decoration: none;
}

.profile-hero__author-link:hover {
    text-decoration: underline;
}

.profile-hero__stat {
    margin: 0;
}

.breadcrumb {
    margin: 0 0 16px;
    font-size: 13px;
    color: var(--color-text-muted);
}

.breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.breadcrumb__item+.breadcrumb__item::before {
    content: ">";
    margin-right: 6px;
    color: var(--color-border-strong);
}

.breadcrumb__link {
    color: var(--color-text-muted);
    text-decoration: none;
}

.breadcrumb__link:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

.breadcrumb__item--current {
    color: var(--color-text);
    font-weight: 600;
}

.profile-hero__date {
    margin: 0;
    font-size: 14px;
    color: var(--color-text-muted);
}

.profile-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 28px;
    list-style: none;
    padding: 0;
}

.profile-gallery__item {
    display: block;
    width: 100%;
    max-width: 600px;
    margin: 0;
    padding: 0;
    aspect-ratio: 600 / 800;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
}

.profile-gallery__item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.post-body .profile-detail h3 {
    margin: 24px 0 10px;
    font-size: 1rem;
    color: var(--color-header);
}

.post-body .profile-detail p,
.post-body .profile-detail ul {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.65;
}

.post-body .profile-detail ul {
    padding-left: 1.2em;
}

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

/* pagination */
#sec-content-pagination,
.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

.pagination__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    color: var(--color-header);
    background: #fff;
}

.pagination__link:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    text-decoration: none;
}

.pagination__link.is-current {
    background: var(--color-header);
    border-color: var(--color-header);
    color: #fff;
    font-weight: bold;
}

/* member form */
#member-form,
.member-form {
    max-width: 440px;
}

.member-form label {
    display: block;
    margin: 14px 0 6px;
    font-size: 14px;
    font-weight: bold;
    color: var(--color-header);
}

.member-form input[type="text"],
.member-form input[type="email"],
.member-form input[type="password"] {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 15px;
}

.member-form input:focus {
    outline: 2px solid var(--color-accent-soft);
    border-color: var(--color-accent);
}

.member-form .consent {
    margin: 18px 0;
    font-size: 14px;
}

.member-form .consent label {
    font-weight: normal;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 10px 0;
}

.member-form button[type="submit"] {
    margin-top: 8px;
    padding: 12px 24px;
    border: 0;
    border-radius: 8px;
    background: var(--color-header);
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
}

.member-form button[type="submit"]:hover {
    background: var(--color-accent);
}

.member-form__links {
    margin-top: 16px;
    font-size: 14px;
}

.form-error {
    color: #b00020;
    font-size: 14px;
    padding: 10px 14px;
    background: #fde8ec;
    border-radius: 8px;
    border: 1px solid #f5c2cc;
}

.form-msg {
    color: #0a5c2e;
    font-size: 14px;
    padding: 10px 14px;
    background: #e8f8ef;
    border-radius: 8px;
    border: 1px solid #b8e6cc;
}

.action-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0 0;
}

/* ── FOOTER ── */
#site-footer {
    flex-shrink: 0;
    margin-top: auto;
    background: var(--color-footer);
    color: #e8d4de;
    border-top: 3px solid var(--color-accent);
}

#footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 36px 20px 28px;
}

#footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px 40px;
}

.site-footer__title {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
}

.site-footer__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: #e8d4de;
}

.site-footer__note {
    margin: 10px 0 0;
    font-size: 12px;
    line-height: 1.5;
    color: #9a7a8a;
}

.site-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-footer__link {
    color: #f5d8e6;
    font-size: 14px;
    text-decoration: none;
}

.site-footer__link:hover,
.site-footer__link.is-current {
    color: #fff;
    text-decoration: underline;
}

#footer-bottom {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    justify-content: space-between;
    align-items: baseline;
}

#footer-copy {
    margin: 0;
    font-size: 13px;
    color: #9a7a8a;
}

.site-footer__rating {
    margin: 0;
    font-size: 12px;
    color: #7a5a6a;
}

/* legal pages */
.legal-body {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.75;
    color: var(--color-text, #2a1520);
}

.legal-body h2 {
    margin: 28px 0 10px;
    font-size: 18px;
}

.legal-body p,
.legal-body ul {
    margin: 0 0 12px;
}

.legal-body ul {
    padding-left: 1.2em;
}

.legal-body a {
    color: var(--color-accent, #c43d6e);
}

.footer-page #sec-hero-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.footer-page .legal-body {
    margin-top: 0;
}

.footer-page__section {
    margin: 0;
    padding: 26px 0;
    border-bottom: 1px solid var(--color-border);
}

.footer-page__section:first-child {
    padding-top: 0;
}

.footer-page__section:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.footer-page__section--compact {
    padding-bottom: 0;
}

.footer-page__section h2,
.footer-page__notice h2 {
    margin: 0 0 12px;
    color: var(--color-header);
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    line-height: 1.35;
}

.footer-page__section>p:last-child,
.footer-page__notice>p:last-child {
    margin-bottom: 0;
}

.footer-page__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

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

.footer-page__card {
    padding: 18px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: var(--color-accent-soft);
}

.footer-page__card h3 {
    margin: 0 0 8px;
    color: var(--color-header);
    font-size: 1rem;
}

.footer-page__card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-text-muted);
}

.footer-page__steps {
    list-style: none;
    counter-reset: footer-page-step;
    margin: 16px 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.footer-page__steps li {
    counter-increment: footer-page-step;
    position: relative;
    min-height: 42px;
    padding: 8px 12px 8px 54px;
}

.footer-page__steps li::before {
    content: counter(footer-page-step);
    position: absolute;
    top: 4px;
    left: 0;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #fff;
    font-weight: 700;
    background: var(--color-header);
}

.footer-page__steps strong,
.footer-page__steps span {
    display: block;
}

.footer-page__steps strong {
    margin-bottom: 3px;
    color: var(--color-header);
}

.footer-page__steps span {
    color: var(--color-text-muted);
    font-size: 14px;
}

.footer-page__checklist {
    list-style: none;
    margin: 14px 0;
    padding: 0;
    display: grid;
    gap: 9px;
}

.footer-page__checklist li {
    position: relative;
    padding-left: 27px;
}

.footer-page__checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-accent);
    font-weight: 800;
}

.footer-page__notice {
    margin: 26px 0 0;
    padding: 22px;
    border: 1px solid var(--color-border-strong);
    border-radius: 12px;
    background: linear-gradient(135deg, var(--color-accent-soft), #fff);
}

.footer-page__notice--telegram {
    margin-top: 0;
}

.footer-page__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.footer-page__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border: 1px solid var(--color-header);
    border-radius: 8px;
    background: var(--color-header);
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
}

.footer-page__button:hover {
    border-color: var(--color-accent);
    background: var(--color-accent);
    text-decoration: none;
}

.footer-page__button--secondary {
    background: #fff;
    color: var(--color-header) !important;
}

.footer-page__button--secondary:hover {
    color: #fff !important;
}

.footer-page__address {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin: 0 0 14px;
}

.footer-page__address strong {
    color: var(--color-header);
}

.footer-page__map {
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-accent-soft);
}

.footer-page__map iframe {
    display: block;
    width: 100%;
    height: clamp(300px, 45vw, 450px);
}

.footer-page__map-link {
    margin: 10px 0 0 !important;
    text-align: right;
    font-size: 14px;
}

.section-promo {
    margin: 0;
    width: 100%;
    max-width: 1200px;
}

.section-promo--top {
    margin: 0;
}

.section-promo__link {
    display: block;
    line-height: 0;
    text-decoration: none;
}

.section-promo__image {
    display: block;
    width: 100%;
    max-width: 1200px;
    height: auto;
    aspect-ratio: 1200 / 240;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--color-border);
}

@media (min-width: 768px) {
    #footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr;
        align-items: start;
    }
}

/* ── RESPONSIVE ── */
@media (min-width: 768px) {
    #header-inner {
        grid-template-columns: auto 1fr auto;
        grid-template-areas:
            "logo cats login"
            "search search search";
    }

    #header-logo-img {
        height: 72px;
        max-width: 320px;
    }

    #header-categories {
        padding: 0;
        border-top: 0;
        grid-template-columns: repeat(8, minmax(0, 1fr));
        gap: 3px;
    }

    .site-header__cat-link {
        font-size: 12px;
        min-height: 40px;
        padding: 9px 12px;
    }

    #header-search {
        max-width: 420px;
        justify-self: end;
    }
}

@media (max-width: 900px) {

    #sec-content-grid,
    #sec-content-guide-grid,
    #sec-content-country-grid,
    #sec-related-grid,
    #sec-event-grid,
    #sec-faq-grid,
    .post-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    #main-inner {
        padding-left: 14px;
        padding-right: 14px;
        gap: 20px;
    }

    .sec-inner,
    .sec-body {
        padding-left: 18px;
        padding-right: 18px;
    }

    .sec-title {
        padding-left: 18px;
        padding-right: 18px;
    }

    .footer-page__grid,
    .footer-page__grid--two {
        grid-template-columns: 1fr;
    }

    .footer-page__notice {
        padding: 18px;
    }

    .footer-page__actions {
        flex-direction: column;
    }

    .footer-page__button {
        width: 100%;
    }

    .sec-desc {
        padding-left: 18px;
        padding-right: 18px;
    }

    #sec-content-grid,
    #sec-content-guide-grid,
    #sec-content-country-grid,
    #sec-related-grid,
    #sec-event-grid,
    #sec-faq-grid,
    .post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}