﻿@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css");

:root {
    --page-bg: #f7f8fa;
    --surface: #fff;
    --text: #222;
    --muted: #777;
    --line: #e9ecef;
    --accent: #ff5a3d;
    --radius: 12px;
    --shadow: 0 10px 26px rgba(24, 29, 38, 0.08);
    font-family: Pretendard, Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    background: var(--page-bg);
    color: var(--text);
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1200px, 100%);
    min-height: 76px;
    margin: 0 auto;
    padding: 6px 24px;
}

.brand-block {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.brand {
    display: inline-flex;
    align-items: center;
    width: 150px;
    min-width: 0;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0;
}

.brand img {
    display: block;
    width: 100%;
    height: auto;
}

.brand-tagline {
    margin: 0;
    color: #55514a;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    white-space: nowrap;
}

.main-nav,
.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.main-nav {
    margin-right: auto;
    margin-left: 32px;
}

/* ── nav item + dropdown ── */
.nav-item {
    position: relative;
}

.main-nav a {
    color: var(--text);
    font-size: 18px;
    font-weight: 500;
    white-space: nowrap;
}

.nav-item > a::after {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-left: 5px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    opacity: .55;
}

/* dropdown panel */
.dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 186px;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 36px rgba(20,28,40,.13), 0 0 0 1px rgba(0,0,0,.06);
    z-index: 100;
}

/* 위쪽 삼각형 */
.dropdown::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    border-radius: 2px 0 0 0;
    background: #fff;
    box-shadow: -2px -2px 4px rgba(0,0,0,.05);
}

.dropdown li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 18px;
    color: #2e3540;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: background .12s;
}

.dropdown li a:hover {
    background: #f5f7fa;
    color: var(--accent);
}

.dropdown li a span {
    color: #aaa;
    font-size: 12px;
    font-weight: 400;
}

/* 그룹 레이블 */
.dropdown-group {
    padding: 8px 18px 4px;
    color: #b0b8c4;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    border-top: 1px solid #f0f2f5;
    margin-top: 4px;
}

.dropdown-group:first-child {
    border-top: none;
    margin-top: 0;
}

.nav-item:hover > a { color: var(--accent); }
.nav-item:hover .dropdown { display: block; }

/* nav link와 dropdown 사이 틈을 메워 hover가 끊기지 않도록 */
.nav-item::after {
    content: "";
    position: absolute;
    top: 100%;
    left: -20px;
    right: -20px;
    height: 14px;
    display: none;
}

.nav-item:hover::after { display: block; }

.header-actions {
    gap: 18px;
}

.icon-button {
    width: 28px;
    height: 28px;
    color: #aaa;
    font-size: 24px;
    line-height: 1;
}

.login-icon {
    width: 32px;
    height: 32px;
}

.login-icon svg {
    width: 100%;
    height: 100%;
}

.page {
    width: min(1200px, 100%);
    margin: 0 auto;
    padding: clamp(16px, 2vw, 24px);
}

.hero-carousel {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 18px;
    margin-bottom: 26px;
}

.hero-card {
    display: flex;
    align-items: flex-end;
    min-height: 260px;
    padding: 30px;
    border-radius: var(--radius);
    color: #fff;
    overflow: hidden;
}

.hero-card-primary {
    background:
        linear-gradient(90deg, rgba(18, 20, 24, 0.72), rgba(18, 20, 24, 0.08)),
        url("../img/hero-meetup.png") center / cover no-repeat;
}

.hero-card-secondary {
    background:
        linear-gradient(180deg, rgba(18, 20, 24, 0.18), rgba(18, 20, 24, 0.68)),
        url("../img/card-covers.png") 100% 50% / 200% 200% no-repeat;
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 12px;
    font-weight: 700;
}

.hero-card h1,
.hero-card h2,
.hero-card p {
    margin: 0;
}

.hero-card h1 {
    max-width: 580px;
    font-size: 38px;
    line-height: 1.22;
}

.hero-card h2 {
    font-size: 26px;
    line-height: 1.28;
}

.hero-card p {
    max-width: 560px;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
    line-height: 1.55;
}

.angle-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin-bottom: 36px;
}

.angle-list a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 96px;
    border-radius: var(--radius);
    background: var(--surface);
    color: #3d4249;
    font-size: 14px;
    font-weight: 600;
    box-shadow: inset 0 0 0 1px var(--line);
}

/* 필터 아이콘 — 카테고리별 색상 */
.angle-list .filter-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 22px;
}

/* 신앙 나눔 */
.angle-list a:nth-child(1) .filter-icon { background: #ffe8ee; color: #e0405e; }
/* 피정·특강 */
.angle-list a:nth-child(2) .filter-icon { background: #eef0ff; color: #4f46e5; }
/* 주말모임 */
.angle-list a:nth-child(3) .filter-icon { background: #fff6d6; color: #d97706; }
/* 평일모임 */
.angle-list a:nth-child(4) .filter-icon { background: #e8f8f0; color: #16a34a; }
/* 봉사·사목 */
.angle-list a:nth-child(5) .filter-icon { background: #fff0e6; color: #ea5a08; }
/* 취미·친교 */
.angle-list a:nth-child(6) .filter-icon { background: #e8f4ff; color: #0369a1; }

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 16px;
}

.section-head h2,
.section-head p {
    margin: 0;
}

.section-head h2 {
    font-size: 24px;
}

.section-head p {
    margin-top: 6px;
    color: var(--muted);
}

.section-head a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 34px;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    color: #8b95a2;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.section-head a span {
    font-size: 18px;
    line-height: 1;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.meeting-card {
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.card-image {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    height: 172px;
    padding: 12px;
    background: #d9dde3;
}

.card-image span {
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 12px;
    font-weight: 700;
}

.image-food,
.image-culture,
.image-walk,
.image-study {
    background-image: url("../img/card-covers.png");
    background-size: 200% 200%;
    background-repeat: no-repeat;
}

.image-food {
    background-position: 0 0;
}

.image-culture {
    background-position: 100% 0;
}

.image-walk {
    background-position: 0 100%;
}

.image-study {
    background-position: 100% 100%;
}

.card-body {
    padding: 15px;
}

.meta,
.schedule {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
}

.meeting-card h3 {
    min-height: 54px;
    margin: 8px 0 14px;
    font-size: 18px;
    line-height: 1.35;
}

.card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    font-size: 14px;
}

.card-foot span {
    color: var(--muted);
    font-weight: 500;
}

.card-foot strong {
    color: var(--text);
}

.review-section {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 44px;
    align-items: start;
    margin-top: 54px;
    padding: 8px 0 34px;
}

.review-intro h2 {
    margin: 0;
    color: #222;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
}

.review-intro p {
    margin: 10px 0 0;
    color: #96999f;
    font-size: 16px;
    line-height: 1.55;
}

.review-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.review-card {
    display: flex;
    flex-direction: column;
    min-height: 230px;
    padding: 14px;
    border-radius: 10px;
    background: #fff;
    box-shadow: inset 0 0 0 1px #edf0f3;
}

.review-card header {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 18px;
    gap: 10px;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #eef0f2;
}

.review-thumb {
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background-image: url("../img/card-covers.png");
    background-size: 200% 200%;
    background-repeat: no-repeat;
}

.review-thumb-walk {
    background-position: 0 100%;
}

.review-thumb-art {
    background-position: 100% 0;
}

.review-thumb-party {
    background-position: 100% 100%;
}

.review-card h3 {
    margin: 0;
    color: #272b31;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.42;
}

.review-arrow {
    color: #777;
    font-size: 26px;
    line-height: 1;
}

.review-card > p {
    margin: 12px 0 0;
    color: #3d4249;
    font-size: 14px;
    line-height: 1.7;
}

.review-card footer {
    margin-top: auto;
    padding-top: 18px;
}

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

.review-card strong {
    color: #ffb000;
    font-size: 14px;
    font-weight: 600;
}

.review-card footer span {
    margin-top: 10px;
    color: #a0a3aa;
    font-size: 14px;
}

.story-gallery {
    position: relative;
    margin-top: 36px;
    padding-bottom: 58px;
}

.story-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 26px;
}

.story-head h2,
.story-head p,
.story-card p {
    margin: 0;
}

.story-head h2 {
    color: #222;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.35;
}

.story-head p {
    margin-top: 10px;
    color: #96999f;
    font-size: 16px;
}

.story-head a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #a0a3aa;
    font-size: 16px;
    font-weight: 500;
}

.story-head a span {
    font-size: 24px;
    line-height: 1;
}

.story-list {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    scroll-behavior: smooth;
    cursor: grab;
    user-select: none;
}

.story-list.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    scroll-snap-type: none;
}

.story-list::-webkit-scrollbar {
    display: none;
}

.story-card {
    flex: 0 0 180px;
    min-width: 0;
    scroll-snap-align: start;
}

.story-image {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    position: relative;
    height: 180px;
    margin-bottom: 12px;
    padding: 14px;
    border-radius: 8px;
    background-image: url("../img/card-covers.png");
    background-size: 200% 200%;
    background-repeat: no-repeat;
    overflow: hidden;
}

.story-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.28));
}

.story-image span {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}

.story-card p {
    color: #333840;
    font-size: 16px;
    line-height: 1.5;
}

.match-gallery {
    margin: -24px 0 46px;
    padding: 0 0 2px;
    width: 100%;
}

.match-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.match-gallery h2 {
    margin: 0 0 14px;
    color: #222;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.35;
}

.match-head h2 {
    margin-bottom: 0;
}

.match-head a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #a0a3aa;
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
}

.match-head a span {
    font-size: 24px;
    line-height: 1;
}

.match-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px 12px;
    align-items: start;
    padding-bottom: 2px;
}

.match-profile {
    margin: 0;
    min-width: 0;
}

.match-link {
    display: block;
}

.match-link:focus-visible {
    outline: 3px solid #1f6feb;
    outline-offset: 3px;
}

.match-face {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.faith-widgets {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 28px;
    margin: 0;
}

.faith-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dfe4ea;
    border-radius: 8px;
    background: #fff;
}

.faith-card-head {
    padding: 18px 20px 0;
}

.faith-card-head h2,
.media-feature h2 {
    margin: 0;
}

.faith-card-head h2 {
    color: #20242a;
    font-size: 17px;
    font-weight: 600;
}

.bible-card {
    display: flex;
    flex-direction: column;
}

.bible-slider {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    align-items: center;
    padding: 8px 14px 0;
}

.bible-viewport {
    min-width: 0;
    overflow: hidden;
}

.bible-track {
    display: flex;
    transition: transform 0.32s ease;
    will-change: transform;
}

.slider-arrow {
    color: #3a3d42;
    font-size: 42px;
    font-weight: 300;
    line-height: 1;
}

.bible-slide {
    flex: 0 0 100%;
    min-width: 0;
    text-align: center;
}

.bible-slide > strong {
    display: block;
    margin: 2px 0 14px;
    color: #0077b6;
    font-size: 16px;
    font-weight: 700;
}

.bible-illustration {
    position: relative;
    height: 204px;
    border-radius: 4px;
    background: linear-gradient(#bdf2ec 0 62%, #7fc643 62% 100%);
    overflow: hidden;
}

.bible-illustration-light {
    background:
        radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.95), rgba(255, 236, 165, 0.58) 32%, transparent 58%),
        linear-gradient(#dff7ff 0 58%, #f9e9b4 58% 100%);
}

.bible-illustration-group {
    background:
        radial-gradient(circle at 20% 16%, rgba(255, 255, 255, 0.72), transparent 28%),
        linear-gradient(#d7f0ff 0 56%, #75bd58 56% 100%);
}

.bible-illustration-note {
    background:
        radial-gradient(circle at 72% 18%, rgba(255, 255, 255, 0.78), transparent 26%),
        linear-gradient(#f8efd8 0 58%, #e3bf77 58% 100%);
}

.bible-illustration p {
    position: relative;
    z-index: 2;
    margin: 28px 0 0;
    color: #2b8b36;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
}

.bible-illustration-light p,
.bible-illustration-group p,
.bible-illustration-note p {
    margin-top: 24px;
    color: #2b6f6c;
}

.halo {
    position: absolute;
    left: 50%;
    top: 58px;
    width: 88px;
    height: 88px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 0 18px rgba(255, 255, 255, 0.22), 0 0 38px rgba(255, 190, 70, 0.45);
}

.open-bible {
    position: absolute;
    left: 50%;
    bottom: 20px;
    width: 130px;
    height: 58px;
    transform: translateX(-50%);
    border-radius: 8px 8px 18px 18px;
    background:
        linear-gradient(90deg, #fff 0 48%, #d6e2f2 48% 52%, #fff 52% 100%);
    box-shadow: 0 10px 0 rgba(56, 90, 120, 0.15);
}

.group-person {
    position: absolute;
    bottom: 22px;
    width: 48px;
    height: 82px;
    border-radius: 24px 24px 8px 8px;
    background: #30445f;
}

.group-person::before {
    content: "";
    position: absolute;
    left: 12px;
    top: -24px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #efc18f;
}

.group-person-one {
    left: 66px;
    background: #355d78;
}

.group-person-two {
    left: 50%;
    transform: translateX(-50%);
    background: #2d4a37;
}

.group-person-three {
    right: 66px;
    background: #6a526d;
}

.note-paper {
    position: absolute;
    left: 50%;
    bottom: 22px;
    width: 126px;
    height: 122px;
    transform: translateX(-50%) rotate(-2deg);
    border-radius: 8px;
    background: #fffdf7;
    box-shadow: 0 12px 0 rgba(128, 92, 44, 0.14);
}

.note-paper::before {
    content: "";
    position: absolute;
    inset: 30px 18px auto;
    height: 2px;
    background: #e4c78b;
    box-shadow: 0 22px 0 #e4c78b, 0 44px 0 #e4c78b;
}

.note-pencil {
    position: absolute;
    right: 62px;
    bottom: 44px;
    width: 18px;
    height: 94px;
    transform: rotate(34deg);
    border-radius: 8px;
    background: linear-gradient(#f6c44d 0 76%, #3d4249 76% 100%);
}

.cloud {
    position: absolute;
    width: 44px;
    height: 12px;
    border-radius: 999px;
    background: #fff;
}

.cloud::before,
.cloud::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: #fff;
}

.cloud::before {
    width: 18px;
    height: 18px;
    left: 8px;
    top: -8px;
}

.cloud::after {
    width: 24px;
    height: 24px;
    right: 7px;
    top: -12px;
}

.cloud-one {
    left: 55px;
    top: 30px;
}

.cloud-two {
    right: 42px;
    top: 16px;
}

.school {
    position: absolute;
    left: 74px;
    right: 74px;
    bottom: 42px;
    height: 52px;
    background: #fff8e7;
    border: 2px solid #7ea3b0;
}

.school::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 100%;
    width: 52px;
    height: 42px;
    transform: translateX(-50%);
    background: linear-gradient(135deg, transparent 49%, #7ea3b0 50% 54%, transparent 55%),
        linear-gradient(225deg, transparent 49%, #7ea3b0 50% 54%, transparent 55%),
        #fff8e7;
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.tree {
    position: absolute;
    top: 0;
    width: 80px;
    height: 70px;
    border-top: 5px solid #64ac36;
}

.tree::before,
.tree::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffc929;
    box-shadow: 16px 10px 0 #ffc929, 30px 4px 0 #64ac36, 48px 18px 0 #64ac36;
}

.tree-left {
    left: 10px;
    transform: rotate(-16deg);
}

.tree-right {
    right: 8px;
    transform: rotate(18deg);
}

.student {
    position: absolute;
    bottom: 12px;
    width: 26px;
    height: 60px;
    border-radius: 12px 12px 4px 4px;
    background: #29364a;
}

.student::before {
    content: "";
    position: absolute;
    left: 6px;
    top: -18px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #f0c08a;
}

.student-one {
    left: 92px;
    transform: rotate(12deg);
}

.student-two {
    left: 50%;
    transform: translateX(-50%);
    background: #334a5f;
}

.student-three {
    right: 88px;
    transform: rotate(-12deg);
}

.bible-slider-status {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.slider-dots {
    display: flex;
    align-items: center;
    gap: 10px;
}

.slider-dot {
    display: block;
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #666;
    appearance: none;
    cursor: pointer;
}

.slider-dot.is-active {
    background: #000;
}

.slider-dot.is-active ~ .slider-dot {
    background: #666;
}

.bible-links {
    margin-top: 16px;
    border-top: 1px solid #d9dde2;
}

.bible-links a {
    display: block;
    padding: 14px 20px;
    border-bottom: 1px solid #d9dde2;
    color: #20242a;
    font-size: 16px;
    line-height: 1.35;
}

.bible-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: auto;
}

.bible-tabs button {
    min-height: 40px;
    border-right: 1px solid #e1e4e8;
    background: #fafafa;
    color: #4a5058;
    font-size: 14px;
}

.bible-tabs button:last-child {
    border-right: 0;
}

.spirit-card {
    border-color: #eadfca;
}

.spirit-head h2 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #67625f;
    font-size: 18px;
}

.spirit-image-frame {
    display: flex;
    justify-content: center;
    margin: 12px 14px 0;
}

.spirit-image-frame img {
    display: block;
    max-width: 100%;
    height: auto;
}

.media-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 16px 18px 10px;
    color: #737984;
    font-size: 17px;
}

.media-tabs a + a::before {
    content: "|";
    margin-right: 13px;
    color: #b6bac0;
}

.media-tabs a.is-active {
    color: #26303a;
    font-weight: 600;
}

.new-dot {
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-left: 3px;
    border-radius: 50%;
    background: #e60012;
    vertical-align: top;
}

.media-feature {
    display: block;
    padding: 0 20px;
}

.video-thumb {
    position: relative;
    min-height: 214px;
    overflow: hidden;
    border-radius: 8px;
    background:
        radial-gradient(circle at 50% 25%, rgba(55, 92, 158, 0.7), transparent 28%),
        linear-gradient(120deg, #162844, #07101c 58%, #0d1221);
}

.video-thumb::before {
    content: "롬팔이팔    이책정말좋은데";
    position: absolute;
    top: 15px;
    left: 50%;
    padding: 5px 12px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: #0d2447;
    color: #f7cf60;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.video-thumb strong {
    position: absolute;
    right: 18px;
    bottom: 44px;
    max-width: 248px;
    color: #ffe766;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.05;
    text-align: right;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
}

.host {
    position: absolute;
    bottom: 0;
    width: 112px;
    height: 162px;
    border-radius: 54px 54px 0 0;
    background: linear-gradient(#f0c69b 0 34%, #28344a 34% 100%);
}

.host::before {
    content: "";
    position: absolute;
    left: 28px;
    top: 18px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #f0c69b;
    box-shadow: inset 0 -8px 0 rgba(70, 52, 38, 0.22);
}

.host-left {
    left: 26px;
}

.host-right {
    right: 26px;
    background: linear-gradient(#f0c69b 0 34%, #5f666f 34% 100%);
}

.media-feature h2 {
    padding: 14px 0 12px;
    color: #20242a;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.45;
}

.media-list {
    margin: 0 20px;
    padding: 0;
    list-style: none;
    border-top: 1px solid #d6d9dd;
}

.media-list li {
    border-bottom: 1px solid #d6d9dd;
}

.media-list li:nth-child(3) {
    border-bottom: 0;
}

.media-list a {
    display: block;
    padding: 13px 0;
    color: #29313b;
    font-size: 16px;
    line-height: 1.35;
}

.media-channels {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid #e0e3e7;
}

.media-channels a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 39px;
    border-right: 1px solid #e0e3e7;
    color: #4a5058;
    font-size: 14px;
}

.media-channels a:last-child {
    border-right: 0;
}

.media-channels span {
    width: 20px;
    height: 14px;
    border-radius: 4px;
    background: #e62117;
}

.media-channels span::after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    margin: 4px auto 0;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-left: 5px solid #fff;
}

.story-study {
    background-position: 100% 100%;
}

.story-night {
    background-position: 100% 0;
}

.story-office {
    background-position: 0 100%;
}

.story-book {
    background-position: 0 0;
}

.story-table {
    background-image: url("../img/hero-meetup.png");
    background-size: cover;
    background-position: center;
}

.story-empty {
    align-items: flex-end;
    justify-content: space-between;
    background: #f0f0f2;
}

.story-empty::before {
    background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.14));
}

.story-prev,
.story-next {
    display: grid;
    place-items: center;
    position: absolute;
    top: 160px;
    z-index: 3;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 8px 24px rgba(25, 29, 35, 0.18);
    color: #333;
    font-size: 28px;
}

.story-prev {
    left: 0;
}

.story-next {
    right: 0;
}

.story-meetup-01 {
    background-image: url("../img/story-meetup-01.png");
    background-size: cover;
    background-position: center;
}

.story-meetup-02 {
    background-image: url("../img/story-meetup-02.png");
    background-size: cover;
    background-position: center;
}

.story-meetup-03 {
    background-image: url("../img/story-meetup-03.png");
    background-size: cover;
    background-position: center;
}

.story-meetup-04 {
    background-image: url("../img/story-meetup-04.png");
    background-size: cover;
    background-position: center;
}

.story-meetup-05 {
    background-image: url("../img/story-meetup-05.png");
    background-size: cover;
    background-position: center;
}

.story-meetup-06 {
    background-image: url("../img/story-meetup-06.png");
    background-size: cover;
    background-position: center;
}

.story-meetup-07 {
    background-image: url("../img/story-meetup-07.png");
    background-size: cover;
    background-position: center;
}

.story-meetup-08 {
    background-image: url("../img/story-meetup-08.png");
    background-size: cover;
    background-position: center;
}

.story-meetup-09 {
    background-image: url("../img/story-meetup-09.png");
    background-size: cover;
    background-position: center;
}

.story-meetup-10 {
    background-image: url("../img/story-meetup-10.png");
    background-size: cover;
    background-position: center;
}

.site-footer {
    margin-top: 20px;
    background: #f4f4f5;
}

.footer-inner {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 70px;
    width: min(1200px, 100%);
    margin: 0 auto;
    padding: 38px 24px 44px;
}

.footer-links,
.footer-company {
    color: #20242a;
    font-size: 14px;
}

.footer-company {
    justify-self: end;
    text-align: left;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-links strong,
.footer-company strong {
    margin-bottom: 4px;
    color: #3d4249;
    font-size: 14px;
    font-weight: 600;
}

.footer-links a {
    font-weight: 600;
}

.footer-company p {
    margin: 14px 0 0;
    color: #666c75;
    font-size: 13px;
    line-height: 1.65;
    white-space: nowrap;
}

.policy-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 18px;
}

.policy-links a {
    color: #20242a;
    font-size: 13px;
}

.policy-links a + a::before {
    content: "|";
    margin: 0 7px;
    color: #9ba0a8;
}

/* ── Gnuboard theme integration ── */

/* 기본 폰트 */
body, input, textarea, select, button, table {
    font-family: Pretendard, Arial, sans-serif !important;
}

/* default.css가 #container에 float:left; width:930px 적용 → 재정의 */
#container.matching-pc-container {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: inherit !important;
    background: var(--page-bg, #f7f8fa);
}

/* 홈 전용: .page 역할을 .pc-inner가 담당 */
#container.matching-pc-container.is-index .pc-inner {
    width: min(1200px, 100%);
    margin: 0 auto;
    padding: clamp(16px, 2vw, 24px);
}

/* 일반 페이지 inner padding */
#container.matching-pc-container:not(.is-index) .pc-inner {
    width: min(1200px, 100%);
    margin: 0 auto;
    padding: 28px 32px 64px;
}

#container.matching-pc-container.is-index #skip_to_container { display: none; }
