/* =========================================================
   사용가이드 (홈 · 상세 · 자주 묻는 질문 모음 공통)
   /css/pages/guide.css
   · 히어로(.page-hero) · 콘텐츠 배경(.page-section)은 style.css 공통 그대로 사용
   · 가이드 페이지 전용 클래스는 모두 gd- 로 시작
   · 구역 : [공통] 변수 · 리셋 · 카드  →  [홈]  →  [상세 공통]
   ========================================================= */

.gd {
    --gd-green: #42BC74;
    --gd-green-dark: #1F7A48;
    --gd-green-weak: #E9F6EE;
    --gd-text: #1F2420;
    --gd-body: #3D413E;
    --gd-sub: #6B6E6B;
    --gd-mute: #999999;
    --gd-arrow: #BBBBBB;
    --gd-line: #EEEEEE;
    --gd-border: #E5E5E5;
    --gd-tile: #F8F8F8;

    display: flex;
    flex-direction: column;
    gap: 48px;

    color: var(--gd-text);
    letter-spacing: -0.04em;
    word-break: keep-all;
}

/* style.css 공통 태그 스타일 해제 (section 패딩, h2 상단 패딩, p 폭)
   :where()로 우선순위를 0으로 낮춰 아래 클래스 스타일이 항상 이기도록 */
:where(.gd) section {
    padding: 0;
}

:where(.gd) :is(h2, h3) {
    margin: 0;
    padding: 0;
}

:where(.gd) p {
    width: auto;
    margin: 0;
}

:where(.gd) :is(ol, ul) {
    margin: 0;
    padding: 0;
    list-style: none;
}


/* =========================================================
   공통 : 카드 · 섹션 머리
   ========================================================= */
.gd-card {
    background: #FFFFFF;
    border: 1px solid var(--gd-border);
    border-radius: 16px;
}

/* 폭이 모자라면 설명(.gd-head__desc)이 제목 아래 줄로 내려감 */
.gd-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 12px;
}

.gd-head__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
}

.gd-head__desc,
.gd-head__more {
    color: var(--gd-sub);
    font-size: 13px;
}

.gd-head__more {
    flex-shrink: 0;
}

.gd-head__more:hover {
    color: var(--gd-green);
}


/* #########################################################
   [홈] /guide/home.html
   ######################################################### */


/* =========================================================
   1. 처음이라면 이 순서대로
   ========================================================= */
.gd-start {
    display: flex;
    flex-direction: column;
    gap: 20px;

    padding: 28px 32px;
}

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

.gd-step {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;

    height: 100%;
    padding: 20px;

    border: 1px solid transparent;
    border-radius: 12px;
    background: var(--gd-tile);

    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.gd-step:hover {
    border-color: var(--gd-green);
    background: #FFFFFF;
}

.gd-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    border-radius: 50%;
    background: var(--gd-green);

    color: #FFFFFF;
    font-size: 13px;
    font-weight: 700;
}

.gd-step__title {
    font-size: 16px;
    font-weight: 700;
}

.gd-step__desc {
    color: var(--gd-sub);
    font-size: 13px;
    line-height: 1.4;
}


/* =========================================================
   2. 기능별 가이드
   ========================================================= */
.gd-menu {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gd-menu__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 12px;
}

.gd-group {
    display: flex;
    flex-direction: column;
    gap: 12px;

    padding: 24px;
}

.gd-group__head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gd-group__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    width: 36px;
    height: 36px;

    border-radius: 10px;
    background: var(--gd-green-weak);

    color: var(--gd-green-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: -0.06em;
}

.gd-group__title {
    font-size: 17px;
    font-weight: 700;
}

.gd-list__link {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 11px 4px;

    border-top: 1px solid var(--gd-line);

    color: var(--gd-body);
    font-size: 14px;
}

.gd-list__link::after {
    content: "›";
    flex-shrink: 0;

    color: var(--gd-arrow);
    transition: color 0.15s ease, transform 0.15s ease;
}

.gd-list__name {
    flex: 1;
    min-width: 0;
}

.gd-list__link:hover {
    color: var(--gd-green-dark);
}

.gd-list__link:hover::after {
    color: var(--gd-green);
    transform: translateX(2px);
}

/* NEW 배지 */
.gd-new {
    flex-shrink: 0;

    padding: 2px 7px;

    border-radius: 999px;
    background: var(--gd-green-weak);

    color: var(--gd-green-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
}


/* =========================================================
   3. 자주 묻는 질문 (PC 2열, 왼쪽 열부터 위→아래)
   ========================================================= */
.gd-faq {
    display: flex;
    flex-direction: column;
    gap: 8px;

    padding: 28px 32px;
}

.gd-faq__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
    column-gap: 40px;
}

.gd-faq__row {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 16px 4px;

    border-bottom: 1px solid var(--gd-line);

    font-size: 15px;
}

.gd-faq__q {
    flex-shrink: 0;

    color: var(--gd-green);
    font-weight: 700;
}

.gd-faq__text {
    flex: 1;
    min-width: 0;
}

.gd-faq__cat {
    flex-shrink: 0;

    color: var(--gd-mute);
    font-size: 12px;
}

.gd-faq__row:hover .gd-faq__text {
    color: var(--gd-green-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* =========================================================
   4. 1:1 문의
   ========================================================= */
.gd-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    padding: 24px 32px;

    border-radius: 16px;
    background: var(--gd-green-weak);
}

.gd-contact__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gd-contact__title {
    font-size: 17px;
    font-weight: 700;
}

.gd-contact__desc {
    color: var(--gd-body);
    font-size: 14px;
}

.gd-contact__btn {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;

    padding: 12px 22px;

    border-radius: 999px;
    background: var(--gd-green);

    color: #FFFFFF;
    font-size: 15px;
    font-weight: 700;

    transition: background-color 0.15s ease;
}

.gd-contact__btn:hover {
    background: #36A564;
}


/* =========================================================
   공통 : 키보드 포커스
   ========================================================= */
.gd a:focus-visible {
    outline: 2px solid var(--gd-green);
    outline-offset: 2px;
    border-radius: 8px;
}


/* =========================================================
   반응형 (홈)
   ========================================================= */
@media (max-width: 1200px) {
    .gd-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 768px) {
    .gd {
        gap: 32px;
    }

    .gd-start,
    .gd-faq {
        padding: 22px 20px;
    }

    .gd-head__title {
        font-size: 18px;
    }

    .gd-step {
        padding: 16px;
    }

    .gd-menu__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .gd-group {
        padding: 20px;
    }

    .gd-faq__list {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: none;
        grid-auto-flow: row;
    }

    .gd-faq__row {
        padding: 14px 2px;
        font-size: 14px;
    }

    .gd-contact {
        flex-direction: column;
        align-items: stretch;
        padding: 22px 20px;
    }

    .gd-contact__btn {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .gd-steps {
        grid-template-columns: minmax(0, 1fr);
    }
}


/* #########################################################
   [상세 공통] /guide/start.html 외 상세 페이지 18개
   · 페이지마다 다른 건 마크업 구성뿐, 스타일은 여기 것을 같이 씀
   ######################################################### */

.gd-detail {
    gap: 24px;
}


/* =========================================================
   타이틀 영역 : 브레드크럼 + 한 줄 설명
   ========================================================= */
.gd-hero {
    position: relative;
}

.gd-crumb {
    position: absolute;
    top: 0;
    right: 0;

    display: flex;
    align-items: center;
    gap: 8px;

    color: #6B6E6B;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.04em;
}

.gd-crumb a:hover {
    color: #1F7A48;
}

.gd-hero__desc {
    margin-top: 20px;

    color: #6B6E6B;
    font-size: 15px;
    letter-spacing: -0.04em;
}


/* =========================================================
   섹션 카드 : 라벨(초록 작은 글씨) + 제목 + 설명
   ========================================================= */
.gd-sec {
    display: flex;
    flex-direction: column;
    gap: 20px;

    padding: 32px;

    scroll-margin-top: 24px; /* 앵커로 내려왔을 때 위 여백 */
}

.gd-sec__head {
    display: flex;
    flex-direction: column;
    gap: 6px;

    line-height: 1.6;
}

.gd-sec__label {
    color: var(--gd-green-dark);
    font-size: 13px;
    font-weight: 700;
}

.gd-sec__title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
}

.gd-sec__desc {
    color: var(--gd-body);
    font-size: 15px;
}

/* 글(왼쪽) + 화면 이미지(오른쪽) */
.gd-sec--split {
    flex-direction: row;
    align-items: flex-start;
    gap: 32px;
}

.gd-sec__body {
    display: flex;
    flex-direction: column;
    gap: 16px;

    flex: 1;
    min-width: 0;
}


/* =========================================================
   단계 카드 (한눈에 보기)
   ========================================================= */
.gd-flow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.gd-flow__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;

    padding: 20px;

    border-radius: 12px;
    background: var(--gd-tile);

    line-height: 1.6;
}

.gd-flow__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    border-radius: 50%;
    background: var(--gd-green);

    color: #FFFFFF;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.gd-flow__title {
    font-size: 16px;
    font-weight: 700;
}

.gd-flow__desc {
    color: var(--gd-sub);
    font-size: 13px;
}


/* =========================================================
   순서 목록 (작은 초록 번호)
   ========================================================= */
.gd-howto {
    display: flex;
    flex-direction: column;
    gap: 10px;

    counter-reset: gd-howto;
}

.gd-howto > li {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    color: var(--gd-body);
    font-size: 15px;
    line-height: 1.6;

    counter-increment: gd-howto;
}

.gd-howto > li::before {
    content: counter(gd-howto);

    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    width: 22px;
    height: 22px;
    margin-top: 1px;

    border-radius: 50%;
    background: var(--gd-green);

    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}


/* =========================================================
   안내 박스 (알아두면 좋아요 등)
   ========================================================= */
.gd-info {
    display: flex;
    flex-direction: column;
    gap: 6px;

    padding: 18px 20px;

    border-radius: 10px;
    background: #F7F9F5;

    font-size: 14px;
    line-height: 1.6;
}

.gd-info__title {
    font-weight: 700;
}

.gd-info__list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.gd-info__list > li {
    position: relative;
    padding-left: 14px;

    color: var(--gd-body);
}

.gd-info__list > li::before {
    content: "·";
    position: absolute;
    top: 0;
    left: 2px;

    font-weight: 700;
}


/* =========================================================
   화면 이미지 자리
   ========================================================= */
.gd-shot {
    flex-shrink: 0;

    width: 560px;
    margin: 0;

    border-radius: 12px;
    overflow: hidden;
}

/* 이미지가 아직 없을 때만 점선 상자로 보임 */
.gd-shot:not(:has(img)) {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 380px;

    border: 1px dashed #C9CEC9;
    background: #F8F8F5;
}

.gd-shot__ph {
    color: var(--gd-sub);
    font-size: 13px;
}

.gd-shot img {
    width: 100%;
    height: auto;
}


/* =========================================================
   플랜 흐름 카드 (3일 무료 체험)
   ========================================================= */
.gd-plans {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.gd-plan {
    display: flex;
    flex-direction: column;
    gap: 10px;

    padding: 22px;

    border-radius: 12px;
    background: var(--gd-tile);

    line-height: 1.6;
}

.gd-plan.is-current {
    background: var(--gd-green-weak);
}

.gd-plan__when {
    color: var(--gd-sub);
    font-size: 13px;
    font-weight: 500;
}

.gd-plan__name {
    color: var(--gd-body);
    font-size: 20px;
    font-weight: 700;
}

.gd-plan.is-current .gd-plan__name {
    color: var(--gd-green-dark);
}

.gd-plan__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gd-plan__list > li {
    position: relative;
    padding-left: 22px;

    color: var(--gd-body);
    font-size: 14px;
}

.gd-plan__list > li::before {
    content: "✓";
    position: absolute;
    top: 0;
    left: 0;
}


/* =========================================================
   자주 묻는 질문 (아코디언, <details>)
   ========================================================= */
.gd-acc {
    gap: 0;
}

.gd-acc__title {
    padding-bottom: 16px;

    font-size: 20px;
    font-weight: 700;
    line-height: 1.6;
}

.gd-acc__item {
    border-top: 1px solid var(--gd-line);
}

.gd-acc__q {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 18px 4px;

    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;

    list-style: none;
    cursor: pointer;
}

.gd-acc__q::-webkit-details-marker {
    display: none;
}

.gd-acc__q::after {
    content: "+";
    flex-shrink: 0;

    width: 14px;

    color: var(--gd-mute);
    font-size: 20px;
    font-weight: 400;
    text-align: center;
}

.gd-acc__item[open] > .gd-acc__q::after {
    content: "−";
}

.gd-acc__q:hover .gd-acc__text {
    color: var(--gd-green-dark);
}

.gd-acc__mark {
    flex-shrink: 0;

    color: var(--gd-green);
    font-weight: 700;
}

.gd-acc__text {
    flex: 1;
    min-width: 0;
}

.gd-acc__a {
    padding: 0 4px 20px 32px;

    color: var(--gd-body);
    font-size: 15px;
    line-height: 1.6;
}


/* =========================================================
   다음 단계 (어두운 띠)
   ========================================================= */
.gd-next {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    padding: 24px 32px;

    border-radius: 16px;
    background: #1F2420;

    line-height: 1.6;
}

.gd-next__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gd-next__title {
    color: #FFFFFF;
    font-size: 17px;
    font-weight: 700;
}

.gd-next__desc {
    color: #C9CEC9;
    font-size: 14px;
}

.gd-next__btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gd-next__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 22px;

    border-radius: 999px;
    background: var(--gd-green);

    color: #FFFFFF;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;

    transition: background-color 0.15s ease;
}

.gd-next__btn:hover {
    background: #36A564;
}

/* 다음 가이드로 가는 보조 버튼 (02 블로그 분석부터 사용) */
.gd-next__btn--sub {
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: transparent;
}

.gd-next__btn--sub:hover {
    border-color: #FFFFFF;
    background: transparent;
}

.gd-next__btn:focus-visible,
.gd-acc__q:focus-visible,
.gd-crumb a:focus-visible {
    outline: 2px solid var(--gd-green);
    outline-offset: 2px;
    border-radius: 8px;
}


.notice--red{color:#D93833;}

/* =========================================================
   반응형 (상세)
   ========================================================= */
@media (max-width: 1200px) {
    .gd-flow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* 글 + 이미지 → 위아래로 */
    .gd-sec--split {
        flex-direction: column;
        align-items: stretch;
    }

    .gd-shot {
        width: 100%;
    }

    .gd-shot:not(:has(img)) {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .gd-detail {
        gap: 16px;
    }

    /* 브레드크럼은 제목 위 한 줄로 */
    .gd-crumb {
        position: static;
        margin-bottom: 8px;

        font-size: 13px;
    }

    .gd-hero__desc {
        margin-top: 12px;
        font-size: 14px;
    }

    .gd-sec {
        gap: 16px;
        padding: 22px 20px;
    }

    .gd-sec__title {
        font-size: 19px;
    }

    .gd-sec__desc,
    .gd-howto > li,
    .gd-acc__a {
        font-size: 14px;
    }

    .gd-plans {
        grid-template-columns: minmax(0, 1fr);
    }

    .gd-acc__title {
        font-size: 18px;
    }

    .gd-acc__q {
        padding: 14px 2px;
        font-size: 15px;
    }

    .gd-acc__a {
        padding: 0 2px 16px 28px;
    }

    .gd-next {
        flex-direction: column;
        align-items: stretch;
        padding: 22px 20px;
    }

    .gd-next__btns {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .gd-flow {
        grid-template-columns: minmax(0, 1fr);
    }

    .gd-shot:not(:has(img)) {
        height: 200px;
    }
}

/* #########################################################
   [상세 부품 추가] 02 블로그 분석부터 쓰는 것
   · 섹션 탭 · 화면 번호 마커 + 설명 목록 · 소제목 · 용어 카드 · 칩/배지 · 색 범례
   ######################################################### */


/* =========================================================
   섹션 탭 (페이지 안 앵커 이동)
   · 현재 섹션 표시는 .is-active (스크롤 위치에 따라 바꾸는 건 개발)
   · 탭이 많아 폭이 모자라면 가로 스크롤
   ========================================================= */
/* 탭(앵커) 누르면 부드럽게 스크롤 : 탭이 있는 페이지에서만 (JS 없이 CSS로)
   · 움직임 줄이기 설정을 켠 사용자는 바로 이동 */
html:has(.gd-tabs) {
    scroll-behavior: smooth;
}

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

.gd-tabs {
    display: flex;
    gap: 32px;

    padding: 0 28px;

    border: 1px solid var(--gd-border);
    border-radius: 12px;
    background: #FFFFFF;

    overflow-x: auto;
    scrollbar-width: none;
}

.gd-tabs::-webkit-scrollbar {
    display: none;
}

.gd-tabs__link {
    flex-shrink: 0;

    padding: 16px 0 13px;

    border-bottom: 3px solid transparent;

    color: var(--gd-sub);
    font-size: 15px;
    line-height: 1.6;
    white-space: nowrap;

    transition: color 0.15s ease;
}

.gd-tabs__link:hover {
    color: var(--gd-green-dark);
}

.gd-tabs__link.is-active {
    border-bottom-color: var(--gd-green);

    color: var(--gd-green-dark);
    font-weight: 700;
}

.gd-tabs__link:focus-visible {
    outline: 2px solid var(--gd-green);
    outline-offset: -2px;
    border-radius: 6px;
}


/* =========================================================
   소제목 (섹션 카드 안 작은 제목)
   ========================================================= */
.gd-subtitle {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
}


/* =========================================================
   화면 번호 마커 + 설명 목록 (한눈에 보기)
   · 왼쪽 : 세로로 긴 결과 화면 캡처 위에 번호(.gd-pin)를 얹음
   · 오른쪽 : 같은 번호의 설명(.gd-points)
   ========================================================= */
.gd-map {
    display: grid;
    grid-template-columns: 440px minmax(0, 1fr);
    align-items: start;
    gap: 24px;
}

.gd-map__shot {
    position: relative;
    margin: 0;

    border: 1px solid var(--gd-line);
    border-radius: 12px;
    background: #F8F8F5;

    /* 번호가 가장자리에 걸려도 잘리지 않게 overflow 는 열어 둠 (모서리는 이미지에 둥글게) */
}

/* 캡처가 없을 때 : 세로형 상자 + 가운데 안내 문구 */
.gd-map__shot:not(:has(img)) {
    display: flex;
    align-items: center;
    justify-content: center;

    aspect-ratio: 2736 / 4464;
}

.gd-map__shot img {
    display: block;
    width: 100%;
    height: auto;

    border-radius: 11px;
}

.gd-map__ph {
    color: var(--gd-mute);
    font-size: 13px;
}

/* 번호 마커 : 마크업의 --x / --y (캡처 기준 %) 지점에 번호 가운데가 오게 */
.gd-pin {
    position: absolute;
    top: var(--y, 0);
    left: var(--x, 0);
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 3px #FFFFFF;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    border-radius: 50%;
    background: var(--gd-green);

    color: #FFFFFF;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.gd-points {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* 오른쪽 칸 (설명 목록 + 안내 박스 묶음) */
.gd-map__side {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* .gd-map--fill : 오른쪽 칸을 왼쪽 이미지 높이에 맞춰 늘림
   · 설명 박스들이 남는 높이를 똑같이 나눠 가지고, 글은 박스 안에서 세로 가운데
   · .gd-map--narrow : 이미지 칸을 좁혀(360px) 이미지 자체 높이를 줄임 (항목이 적은 페이지용) */
.gd-map--fill {
    align-items: stretch;
}

.gd-map--fill .gd-map__side,
.gd-map--fill > .gd-points {
    height: 100%;
}

.gd-map--fill .gd-points {
    flex: 1;
}

.gd-map--fill .gd-point {
    flex: 1;
    align-items: center;

    padding: 18px 20px;
}

.gd-map--narrow {
    grid-template-columns: 360px minmax(0, 1fr);
}

.gd-point {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    padding: 14px 16px;

    border-radius: 10px;
    background: var(--gd-tile);

    line-height: 1.6;
}

.gd-point__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    width: 24px;
    height: 24px;

    border-radius: 50%;
    background: var(--gd-green);

    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.gd-point__text {
    display: flex;
    flex-direction: column;
    gap: 2px;

    flex: 1;
    min-width: 0;
}

.gd-point__title {
    font-size: 15px;
    font-weight: 700;
}

.gd-point__desc {
    color: var(--gd-body);
    font-size: 13px;
}


/* =========================================================
   구역 카드 (한눈에 보기 : 결과 화면을 구역별로 잘라 번호 · 설명과 묶음)
   · 위 : 구역 캡처 (2:1 칸, 이미지는 잘리지 않고 가운데)
   · 아래 : 번호 + 제목 + 설명 (.gd-point__* 그대로)
   ========================================================= */
.gd-areas {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.gd-area {
    display: flex;
    flex-direction: column;
    gap: 16px;

    padding: 16px 16px 20px;

    border-radius: 12px;
    background: var(--gd-tile);

    line-height: 1.6;
}

.gd-area__shot {
    display: flex;
    align-items: center;
    justify-content: center;

    aspect-ratio: 2 / 1;
    margin: 0;
    padding: 12px;

    border: 1px solid var(--gd-line);
    border-radius: 10px;
    background: #F8F8F5;
}

/* 이미지는 칸 안쪽 여백(12px)에 맞춰 잘리지 않게 꽉 채움 (칸 높이는 비율로 고정) */
.gd-area__shot {
    position: relative;
}

.gd-area__shot img {
    position: absolute;
    inset: 12px;

    display: block;
    width: calc(100% - 24px);
    height: calc(100% - 24px);
    object-fit: contain;
}

/* 캡처가 아직 없을 때 : 점선 칸 + 가운데 안내 문구 */
.gd-area__shot:not(:has(img)) {
    border: 1px dashed #C9CEC9;
}

.gd-area__ph {
    color: var(--gd-sub);
    font-size: 13px;
    text-align: center;
}

.gd-area__text {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    padding: 0 4px;
}

/* 3열 구역 카드 : 위 칸은 4:3
   · 6칸 격자에 카드 하나가 2칸씩 → 3열 / .gd-area--half 는 3칸씩 → 한 줄에 2장 / .gd-area--wide 는 한 줄 전체 */
.gd-areas--3 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.gd-areas--3 > .gd-area {
    grid-column: span 2;
}

.gd-areas--3 > .gd-area--half {
    grid-column: span 3;
}

.gd-areas--3 > .gd-area--half .gd-area__shot {
    aspect-ratio: 16 / 9;
}

.gd-areas--3 > .gd-area--43 .gd-area__shot {
    aspect-ratio: 4 / 3;
}

/* 한 카드에 설명이 두 개일 때 (이미지 하나 = 화면 한 묶음) */
.gd-area__text + .gd-area__text {
    margin-top: -4px;
}

.gd-areas--3 .gd-area__shot {
    aspect-ratio: 4 / 3;
}

/* 가로로 긴 구역 : 한 줄 전체, 이미지 왼쪽 · 글 오른쪽 */
.gd-area--wide,
.gd-areas--3 > .gd-area--wide {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    gap: 24px;

    padding: 16px 24px 16px 16px;
}

.gd-areas .gd-area--wide .gd-area__shot {
    flex: 1;
    min-width: 0;
    aspect-ratio: auto;
}

.gd-area--wide .gd-area__shot img {
    position: static;
    width: 100%;
    height: auto;
}

.gd-area--wide .gd-area__text {
    flex-shrink: 0;
    width: 300px;
}

/* 가로형 카드에 설명이 여러 개일 때 : 글 묶음 (이미지 하나 = 화면 한 묶음) */
.gd-area__texts {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    gap: 20px;
}


/* =========================================================
   용어 카드
   · 열 수는 .gd-terms--1 / --2 / --3 / --4 (기본 2열)
   · 카드 머리는 제목(.gd-term__title) 또는 칩/배지(.gd-chip / .gd-badge)
   ========================================================= */
.gd-terms {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.gd-terms--1 { grid-template-columns: minmax(0, 1fr); }
.gd-terms--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gd-terms--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gd-terms--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.gd-term {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;

    padding: 20px;

    border-radius: 12px;
    background: var(--gd-tile);

    line-height: 1.6;
}

/* 노출상태 카드 : 배지가 들어가서 조금 좁게 */
.gd-term--status {
    gap: 10px;
    padding: 18px;
}

.gd-term__title {
    font-size: 16px;
    font-weight: 700;
}

.gd-term__desc {
    color: var(--gd-body);
    font-size: 14px;
}


/* =========================================================
   칩 (연초록 용어 표시) · 배지 (노출상태, 색으로 구분)
   ========================================================= */
.gd-chip,
.gd-badge {
    display: inline-flex;
    align-items: center;

    border-radius: 999px;

    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
    white-space: nowrap;
}

.gd-chip {
    padding: 3px 10px;

    background: #E5F4EA;
    color: #218A4C;
}

/* 보라 칩 : 다른 블로그 · 나와 비슷한 블로그 영역 (유효키워드 리스트의 보라색과 같은 색) */
.gd-chip--purple {
    background: #F2EEFD;
    color: #7255E0;
}

/* 파랑 칩 : 내 최근 포스팅에서 (키워드 추천 페이지 출처 색과 같은 색, 08 키워드 추천부터) */
.gd-chip--blue {
    background: #EAF1FA;
    color: #3476C2;
}

.gd-badge {
    padding: 4px 10px;

    background: var(--gd-green);
    color: #FFFFFF;
}

.gd-badge--wait { background: #FFC107; }   /* 반영대기중 */
.gd-badge--miss { background: #E24D4D; }   /* 상단미노출 */
.gd-badge--off  { background: #949CA8; }   /* 검색비허용 */


/* =========================================================
   색 범례 (인기글 유입 비율)
   ========================================================= */
.gd-legend__row {
    display: flex;
    align-items: center;
    gap: 14px;

    padding: 14px 0;

    border-top: 1px solid var(--gd-line);

    line-height: 1.6;
}

.gd-legend__dot {
    flex-shrink: 0;

    width: 12px;
    height: 12px;

    border-radius: 50%;
    background: var(--gd-green);
}

.gd-legend__dot--high { background: #C23434; }   /* 매우 높음 */
.gd-legend__dot--mid  { background: #FFB520; }   /* 다소 높음 */
.gd-legend__dot--low  { background: #949CA8; }   /* 매우 낮음 */

.gd-legend__name {
    flex-shrink: 0;

    width: 90px;

    font-size: 15px;
    font-weight: 700;
}

.gd-legend__desc {
    flex: 1;
    min-width: 0;

    color: var(--gd-body);
    font-size: 14px;
}


/* 팁 카드 : 용어 카드 옆에 두는 연초록 카드 (안에 .gd-info__list) */
.gd-term--tip {
    gap: 6px;
    background: #F7F9F5;
}

.gd-term--tip .gd-info__list {
    font-size: 14px;
}

/* 섹션 폭 전체를 쓰는 화면 이미지 (목록 탭 등) */
.gd-shot--wide {
    width: 100%;
}

.gd-shot--wide:not(:has(img)) {
    height: 260px;
}

/* 글 : 이미지 = 5 : 5 (.gd-sec--split 안에서)
   · 오른쪽 칸에 이미지 여러 장을 위아래로 쌓음
   · 1200px 이하에서는 .gd-sec--split 규칙대로 위아래 배치 */
.gd-shots {
    display: flex;
    flex-direction: column;
    gap: 16px;

    flex: 1;
    min-width: 0;
}

/* 가로로 긴 표 이미지 : 모바일에서 글자가 너무 작아지지 않게 옆으로 밀어서 보기
   · PC 는 .gd-shot--wide 와 같음, 768px 이하에서만 가로 스크롤 */
@media (max-width: 768px) {
    .gd-shot--scroll {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .gd-shot--scroll img {
        width: 760px;
        max-width: none;
    }
}

/* =========================================================
   플랜 비교표 (플랜별 차이) : 스탠다드 열만 연초록
   ========================================================= */
.gd-plan-table-wrap {
    border: 1px solid var(--gd-line);
    border-radius: 12px;
    overflow: hidden;
}

.gd-plan-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;

    font-size: 14px;
    line-height: 1.6;
}

.gd-plan-table th,
.gd-plan-table td {
    padding: 14px 16px;

    text-align: center;
}

.gd-plan-table thead th {
    background: #FCFBFB;
    font-weight: 700;
}

.gd-plan-table tbody tr {
    border-top: 1px solid var(--gd-line);
}

.gd-plan-table tbody th {
    font-weight: 700;
    text-align: left;
}

.gd-plan-table td {
    color: var(--gd-text);
}

/* 스탠다드 열 */
.gd-plan-table .is-std {
    background: #F3FAF6;
}

.gd-plan-table thead .is-std {
    background: #FCFBFB;
    color: var(--gd-green-dark);
}

/* 이용 불가 × */
.gd-plan-table .is-no {
    color: var(--gd-arrow);
}

/* =========================================================
   07 키워드 분석부터 쓰는 것
   ========================================================= */

/* 안내 박스 넓은 간격판 (브리핑 읽는 법처럼 항목 사이를 띄울 때) + 박스 안 작은 회색 문장 */
.gd-info--roomy {
    gap: 12px;
    padding: 20px;
}

.gd-info__note {
    color: var(--gd-sub);
    font-size: 13px;
}

/* 판정별 작성 방향 제목 (흰 작은 카드 나열) */
.gd-verdicts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gd-verdict {
    display: flex;
    flex-direction: column;
    gap: 2px;

    padding: 10px 14px;

    border: 1px solid var(--gd-border);
    border-radius: 8px;
    background: #FFFFFF;

    white-space: nowrap;
}

.gd-verdict__when {
    color: var(--gd-sub);
    font-size: 12px;
    font-weight: 500;
}

.gd-verdict__title {
    font-size: 14px;
    font-weight: 700;
}

/* 추세 배지 줄 : 증가 · 급등 = 파랑 / 감소 · 지나간 이슈 = 빨강 / 비슷함 = 회색 */
.gd-trends {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.gd-trends__label {
    font-size: 14px;
    font-weight: 700;
}

.gd-tbadge {
    padding: 4px 10px;

    border-radius: 999px;

    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
    white-space: nowrap;
}

.gd-tbadge--up   { background: #E9F1FB; color: #3476C2; }
.gd-tbadge--down { background: #FBECEC; color: #C23434; }
.gd-tbadge--flat { background: #F1F1F1; color: var(--gd-sub); }

/* 지표 이름 나열 (초록 글씨 한 줄) */
.gd-metrics {
    color: var(--gd-green-dark);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
}

/* 표 아래 작은 안내 문장 */
.gd-note {
    color: var(--gd-sub);
    font-size: 14px;
    line-height: 1.6;
}


/* 글 + 작은 화면 이미지 (블로그 정보 : 520 × 340) */
.gd-shot--sm {
    width: 520px;
}

.gd-shot--sm:not(:has(img)) {
    height: 340px;
}


/* =========================================================
   반응형 (02부터 추가된 부품)
   ========================================================= */
@media (max-width: 1200px) {
    /* 캡처 + 설명 → 위아래로 (캡처는 너무 길어지지 않게 폭 제한, 가운데) */
    .gd-map {
        grid-template-columns: minmax(0, 1fr);
    }

    .gd-map__shot {
        width: 100%;
        max-width: 440px;
        margin: 0 auto;
    }

    .gd-map--fill .gd-point {
        flex: none;
        align-items: flex-start;
        padding: 14px 16px;
    }

    .gd-terms--3,
    .gd-terms--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .gd-shot--sm {
        width: 100%;
    }

    .gd-shot--sm:not(:has(img)) {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .gd-tabs {
        gap: 24px;
        padding: 0 20px;
    }

    .gd-tabs__link {
        padding: 13px 0 10px;
        font-size: 14px;
    }

    .gd-pin {
        width: 22px;
        height: 22px;
        font-size: 11px;
    }

    .gd-terms,
    .gd-terms--3,
    .gd-terms--4,
    .gd-terms--5 {
        grid-template-columns: minmax(0, 1fr);
    }

    /* 구역 카드 : 1열, 이미지 칸 비율 고정 해제, 가로형도 위아래로 */
    .gd-areas,
    .gd-areas--3 {
        grid-template-columns: minmax(0, 1fr);
    }

    .gd-areas--3 > .gd-area,
    .gd-areas--3 > .gd-area--half {
        grid-column: auto;
    }

    .gd-areas .gd-area__shot {
        aspect-ratio: auto;
    }

    .gd-area--wide,
    .gd-areas--3 > .gd-area--wide {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 16px 16px 20px;
    }

    .gd-area--wide .gd-area__text {
        width: auto;
    }

    .gd-area__texts {
        gap: 12px;
    }

    .gd-area__shot {
        aspect-ratio: auto;
        padding: 8px;
    }

    .gd-area__shot img,
    .gd-area--wide .gd-area__shot img {
        position: static;
        width: 100%;
        height: auto;
    }

    .gd-term {
        padding: 16px;
    }

    .gd-term__title {
        font-size: 15px;
    }

    /* 판정 카드 : 긴 제목은 줄바꿈 */
    .gd-verdict {
        white-space: normal;
    }

    /* 플랜 비교표 : 가로 스크롤 */
    .gd-plan-table-wrap {
        overflow-x: auto;
    }

    .gd-plan-table {
        min-width: 560px;
        font-size: 13px;
    }

    .gd-plan-table th,
    .gd-plan-table td {
        padding: 12px 10px;
    }

    /* 범례 : 설명은 이름 아래 줄로 */
    .gd-legend__row {
        flex-wrap: wrap;
        gap: 4px 10px;
    }

    .gd-legend__name {
        width: auto;
        font-size: 14px;
    }

    .gd-legend__desc {
        flex-basis: 100%;
        padding-left: 22px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .gd-shot--sm:not(:has(img)) {
        height: 200px;
    }
}


/* =========================================================
   12 키챌 플래너부터 추가
   ========================================================= */

/* 칩 : TOP 3 순위 변동 네 갈래 색 (플래너 화면과 같은 색) */
.gd-chip--red    { background: #FBECEC; color: #C23434; }   /* 순위권 이탈 */
.gd-chip--orange { background: #FDF1E2; color: #B86A12; }   /* 이탈 주의 */

/* 단계 카드 3열 (.gd-flow 는 기본 4열) */
.gd-flow--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* 단계 카드 2장 (14 회원정보 비밀번호 재설정) */
.gd-flow--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* 한 줄 점 범례 : 1 · 2 · 3위 닉네임 색 */
.gd-dots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.gd-dots__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    font-size: 15px;
    font-weight: 700;
    line-height: 1.6;
}

.gd-dots__item::before {
    content: "";

    width: 12px;
    height: 12px;

    border-radius: 50%;
    background: var(--dot, #A2A2A2);
}

.gd-dots__item--win   { --dot: #3D7C46; }   /* 우세 */
.gd-dots__item--close { --dot: #B48328; }   /* 접전 */
.gd-dots__item--lose  { --dot: #A83C32; }   /* 열세 */
.gd-dots__item--none  { --dot: #A2A2A2; }   /* 기록 부족 */
.gd-dots__item--me    { --dot: #4068B6; }   /* 나 */

/* 한 줄 점 범례 : 인플루언서 등급 색 (12-2 키워드챌린지 리스트) */
.gd-dots__item--splus { --dot: #C0453C; }   /* S+ */
.gd-dots__item--s     { --dot: #2E8B57; }   /* S */
.gd-dots__item--a     { --dot: #3C6DA8; }   /* A */
.gd-dots__item--b     { --dot: #A07B2D; }   /* B */
.gd-dots__item--c     { --dot: #737874; }   /* C */
.gd-dots__item--new   { --dot: #9AA09B; }   /* 신입 */

/* 안내 상자 안 문단 (목록 대신 글 한 덩어리) */
.gd-info__text {
    margin: 0;

    color: var(--gd-body);
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .gd-flow--2,
    .gd-flow--3 {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* =========================================================
   자주 묻는 질문 모음 (/guide/faq.html)
   · 질문 목록은 상세 가이드 FAQ 아코디언(.gd-acc) 그대로 + 아래 추가분만
   · 카테고리 탭(알약) 모양은 인플루언서 리스트 .filter-chip 과 같게
   ========================================================= */
.gd-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.gd-cat {
    padding: 6px 14px;

    border: 1px solid #D8D8D8;
    border-radius: 999px;
    background: #FFFFFF;

    color: var(--gd-text);
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;

    cursor: pointer;
    transition: border-color 0.12s, background-color 0.12s, color 0.12s;
}

.gd-cat:hover {
    border-color: #C7C7C0;
}

.gd-cat.is-active {
    border-color: var(--gd-green);
    background: var(--gd-green);

    color: #FFFFFF;
    font-weight: 600;
}

/* 질문 오른쪽 분류 (작은 회색 글씨) */
.gd-acc__cat {
    flex-shrink: 0;

    color: var(--gd-mute);
    font-size: 13px;
    font-weight: 400;
}

/* 모음 페이지는 머리 제목이 없어서 첫 질문 위 줄을 뺌
   · 탭으로 거른 뒤에도 '보이는 첫 질문'만 줄이 없도록 : 앞에 보이는 질문이 있을 때만 위 줄 */
.gd-acc--all .gd-acc__item {
    border-top: 0;
}

.gd-acc--all .gd-acc__item:not([hidden]) ~ .gd-acc__item {
    border-top: 1px solid var(--gd-line);
}

/* 답 안 문단 + 가이드로 가는 초록 링크 */
.gd-acc__a p {
    margin: 0;
}

.gd-acc__more {
    display: inline-block;
    margin-top: 8px;

    color: var(--gd-green-dark);
    font-size: 14px;
    font-weight: 600;
}

.gd-acc__more:hover {
    text-decoration: underline;
}

/* 고른 분류에 질문이 없을 때 */
.gd-acc__empty {
    padding: 40px 0;

    color: var(--gd-sub);
    font-size: 15px;
    text-align: center;
}

@media (max-width: 768px) {
    .gd-cats {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin: 0 -16px;
        padding: 0 16px;

        scrollbar-width: none;
    }

    .gd-cats::-webkit-scrollbar {
        display: none;
    }

    .gd-cat {
        flex-shrink: 0;
    }

    /* 좁은 폭 : 분류 글씨는 질문 아래로 내리지 않고 숨김 (탭으로 거를 수 있음) */
    .gd-acc__cat {
        display: none;
    }
}


/* =========================================================
   18 멤버십 · 결제부터 쓰는 것
   ========================================================= */

/* 팁 박스 : 안내 박스(.gd-info)에 연초록 테두리 + 초록 제목 (알아두면 좋아요) */
.gd-info--tip {
    border: 1px solid #D6EBDD;
}

.gd-info--tip .gd-info__title {
    color: var(--gd-green-dark);
}

/* 단계 카드 머리 : 번호 + STEP 표시 */
.gd-flow__head {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gd-flow__step {
    color: var(--gd-green-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* 플랜 비교표 묶음 줄 (채널 · 키워드 · 인플루언서 · 계정) */
.gd-plan-table .gd-plan-table__group th {
    padding: 10px 16px;

    background: #FAFAF8;

    color: var(--gd-sub);
    font-size: 13px;
    font-weight: 700;
    text-align: left;
}
