:root {
    --brand: #ff6a2a;
    --bg: #f4f6f9;
    --text: #111827;
    --muted: #6b7280;
}

body, body * {
    font-family: Freesentation, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Noto Sans KR",
    Arial, sans-serif !important;
    font-weight: 500;
}


/* ===== hero under search ===== */
.hero-under-search {
    width: 100%;
    text-align: center;
    padding: 26px 12px 22px;
}

.hero-title {
    margin: 0;
    font-size: 25px;
    font-weight: 600;
    color: var(--brand);
    line-height: 1.35;
    word-break: keep-all;
}

.hero-desc {
    margin: 10px 0 0;
    font-size: 17px;
    line-height: 1.7;
    color: #374151;
    word-break: keep-all;
}

.hero-update {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    white-space: nowrap;
    margin:50px 10px 10px 10px;
}

.hero-update-text .dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--brand);
    opacity: .95;
    margin-right: 6px;
}

.hero-update-text {
    display: flex;
    align-items: center;
    gap: 6px;
    color: black;
    font-size: 16px;
}

@media (max-width: 768px) {
    .hero-update {
        flex-wrap: wrap;
        white-space: normal;
        gap: 8px;
    }
}

@media (max-width: 991px) {
    .hero-under-search {
        padding: 18px 10px 16px;
    }

    .hero-title {
        font-size: 18px;
    }

    .hero-desc {
        font-size: 13px;
    }
}

/* ===== 회색 밴드 + 중앙 컨테이너 ===== */

.guide-section {
    background: var(--bg);
    padding: 56px 0 80px;
}

.guide-container {
    width: min(1100px, calc(100% - 48px));
    margin: 0 auto;
}

.guide-layout {
    margin-top: 20px;
}

@media (max-width: 991px) {
    .guide-section {
        padding: 40px 0 56px;
    }
}

/* ===== 4칸(2x2) 그리드 ===== */

.guide-4 {
    display: grid;
    grid-template-columns:1fr 1fr;
    grid-template-areas:
    "why how"
    "ex  hot"
    "notice notice";
    column-gap: 64px;
    row-gap: 26px;
    align-items: start;
}

.g-why {
    grid-area: why;
}

.g-how {
    grid-area: how;
}

.g-ex {
    grid-area: ex;
}

.g-hot {
    grid-area: hot;
}

.gnotice {
    grid-area: notice;
}

/* ===== 각 박스: 배지 왼쪽 / 내용 오른쪽 (시안) ===== */

.gbox {
    min-width: 0;
    display: grid;
    grid-template-columns:150px 1fr; /* 배지 폭 */
    column-gap: 22px;
    row-gap: 10px;
    align-items: start;
}

/* ghead wrapper를 풀어서, 배지/서브텍스트를 그리드에 직접 올림 */

.ghead {
    display: contents;
}

/* ===== 배지 ===== */

.gchip {
    grid-column: 1;
    justify-self: start;
    width: 120px; /* 배지 폭(원하면 110~130 조절) */
    height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 17px;
    white-space: nowrap;
    line-height: 1;
}

.gchip-solid {
    background: var(--brand);
    color: #fff;
}

/* 서브텍스트(검색예시 오른쪽 문구) */

.gsub {
    grid-column: 2;
    align-self: center;
    margin: 0;
    font-size: 17px;
    color: var(--muted);
}

/* ===== 우측 컨텐츠는 모두 2열 고정 ===== */

.gchecks,
.ghow,
.gtags,
.gbtns,
.ghot {
    grid-column: 2;
}

/* ===== 왜 편한가요 ===== */

.gchecks {
    list-style: none;
    margin: 2px 0 0;
    padding: 0;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    color: #4b5563;
    font-weight: 700;
}

.gchecks li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 17px;
}

.gmark {
    color: var(--brand);
    font-weight: 900;
}

/* ===== 사용방법 ===== */

.ghow {
    margin: 0 0 0 18px;
    padding: 0;
    color: #4b5563;
    font-weight: 600;
    line-height: 1.65;
}

.ghow li {
    gap: 8px;
    font-size: 17px;
    white-space: nowrap;
}

.gtags {
    /*margin-top:4px;*/
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 17px;
    color: var(--muted);
}

/* ===== 검색예시 버튼 ===== */

.gbtns {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gbtn {
    width: 70%;
    /*max-width: 520px;*/
    text-align: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 106, 42, .35);
    background: transparent;
    padding: 7px 8px;
    font-weight: 500;
    font-size: 17px;
    color: var(--text);
    cursor: pointer;
    transition: background .12s ease, border-color .12s ease, transform .08s ease;
}

.gbtn:hover {
    background: rgba(255, 106, 42, .08);
    border-color: rgba(255, 106, 42, .6);
}

.gbtn:active {
    transform: translateY(1px);
}

/* ===== 인기검색어 ===== */

.ghot {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.ghot li {
    display: flex;
    align-items: center;
    justify-content: normal;
    padding: 6px 0;
}

.ghot .t {
    font-weight: 500;
    color: var(--text);
    font-size: 17px;
    margin-left: 10px;
}

.ghot .d {
    font-weight: 500;
    font-size: 17px;
    min-width: 54px;
    text-align: right;
}
.ghot .rank{
    color:#ff6a2a;
    font-size: 17px;
}

.d.up {
    color: #ef4444;
}

.d.down {
    color: #2563eb;
}

.d.dash {
    color: #9ca3af;
}

/* ===== notice ===== */

.gnotice {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    font-size: 17px;
    color: var(--muted);
}


/* ===== 모바일 ===== */
@media (max-width: 991px) {
    .guide-4 {
        grid-template-columns:1fr;
        grid-template-areas:
      "why"
      "how"
      "ex"
      "hot"
      "notice";
        column-gap: 0;
        row-gap: 18px;
    }

    .gbox {
        grid-template-columns:1fr;
        row-gap: 8px;
    }

    .gchip,
    .gsub,
    .gchecks,
    .ghow,
    .gtags,
    .gbtns,
    .ghot {
        grid-column: 1;
    }

    .gbtn {
        max-width: 100%;
    }
}

#center .d-flex {
    overflow: inherit;
}

#center.closed {
    padding: 30px 0 0 0% !important;
}

#searchWrapParent {
    margin-bottom: 0;
}

#top {
    height: auto
}

.guide-section {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background: #f4f6f9;
}

@media (max-width: 1600px) {
    .ghow li {
        white-space: normal;
        word-break: keep-all;
    }

}

@media (max-width: 991px) {
    html, body {
        height: auto;
    }
}

@media (max-width: 991px) {
    #searchWrap {
        position: inherit;
        top: 0;
        height: auto;
        width: 100%;
        left: auto;
        margin: auto;
        transform: none;
    }
}

@media (max-width: 767px) {
    div#searchWrap, div#inqExpert, div#indIntro, div#indSpeIntro, div#useCases, div#helloUser {
        display: block;
    }
}

