:root {
    --sig-white: #F1F8FF;
    --sig-sky: #009EDA;
    --sig-blue: #1588FF;
    --sig-deepblue: #0065D1;
    --sig-navy: #014188;
    --guide-bg: #F4F8FC;
    --guide-card: #FFFFFF;
    --guide-text: #102B45;
    --guide-muted: #667C92;
    --guide-soft: #EAF5FF;
    --guide-line: #D9E8F6;
    --guide-shadow: 0 14px 34px rgba(1, 65, 136, 0.08);
}

body {
    background: var(--guide-bg);
}

.finance-guide-page {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 76px;
    color: var(--guide-text);
    font-family: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
}

.finance-guide-page *,
.finance-guide-page *::before,
.finance-guide-page *::after {
    box-sizing: border-box;
}

.finance-guide-page a {
    color: inherit;
    text-decoration: none;
}

.guide-hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 28px;
    align-items: stretch;
    margin-bottom: 24px;
    padding: 34px;
    border: 1px solid rgba(0, 101, 209, 0.1);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 248, 255, 0.96) 58%, rgba(232, 244, 255, 0.96) 100%);
    box-shadow: var(--guide-shadow);
}

.guide-hero-copy {
    min-width: 0;
}

.guide-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    color: var(--sig-deepblue);
    font-size: 13px;
    font-weight: 800;
}

.guide-breadcrumb span::before {
    content: "›";
    margin-right: 9px;
    color: #8DBCEB;
}

.guide-eyebrow {
    margin: 0 0 8px;
    color: var(--sig-sky);
    font-size: 13px;
    font-weight: 900;
}

.guide-hero-copy h1 {
    max-width: 680px;
    margin: 0 0 16px;
    color: var(--sig-navy);
    font-size: 38px;
    line-height: 1.22;
    font-weight: 900;
    letter-spacing: 0;
    word-break: keep-all;
}

.guide-hero-lead {
    max-width: 720px;
    margin: 0;
    color: #526D86;
    font-size: 15px;
    line-height: 1.84;
    word-break: keep-all;
}

.guide-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.guide-hero-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid #D7E9FA;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    color: #466784;
    font-size: 13px;
    font-weight: 800;
}

.guide-hero-meta strong {
    margin-right: 3px;
    color: var(--sig-deepblue);
}

.guide-finder-panel {
    align-self: center;
    padding: 22px;
    border: 1px solid #CFE4F8;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 10px 24px rgba(1, 65, 136, 0.06);
}

.guide-search-box label {
    display: block;
    margin-bottom: 9px;
    color: var(--sig-navy);
    font-size: 13px;
    font-weight: 900;
}

.guide-search-box input {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border: 1px solid #CDE4FB;
    border-radius: 8px;
    background: #fff;
    color: var(--guide-text);
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    outline: none;
}

.guide-search-box input:focus {
    border-color: var(--sig-sky);
    box-shadow: 0 0 0 4px rgba(0, 158, 218, 0.12);
}

.guide-search-box input::placeholder {
    color: #94AABF;
    font-weight: 600;
}

.guide-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.filter-chip {
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid #D6E8F8;
    border-radius: 999px;
    background: #fff;
    color: #536E88;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.filter-chip:hover,
.filter-chip:focus {
    border-color: rgba(0, 158, 218, 0.48);
    color: var(--sig-deepblue);
    outline: none;
}

.filter-chip.is-active {
    border-color: var(--sig-deepblue);
    background: var(--sig-deepblue);
    color: #fff;
    box-shadow: 0 8px 18px rgba(0, 101, 209, 0.22);
}

.guide-content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
    gap: 22px;
}

.guide-detail-section {
    min-width: 0;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
    padding: 0 2px;
}

.section-heading span {
    display: block;
    margin-bottom: 6px;
    color: var(--sig-sky);
    font-size: 12px;
    font-weight: 900;
}

.section-heading h2 {
    margin: 0;
    color: var(--sig-navy);
    font-size: 24px;
    line-height: 1.3;
    font-weight: 900;
    letter-spacing: 0;
}

.section-heading p {
    flex: 0 0 auto;
    margin: 0 0 3px;
    color: #7890A6;
    font-size: 13px;
    font-weight: 800;
}

.section-heading strong {
    color: var(--sig-deepblue);
}

.guide-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.guide-row {
    min-width: 0;
}

.guide-row[hidden] {
    display: none;
}

.guide-row-link {
    position: relative;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) 26px;
    gap: 15px;
    align-items: center;
    min-height: 178px;
    height: 100%;
    padding: 18px;
    border: 1px solid #E0EDF9;
    border-radius: 8px;
    background: linear-gradient(180deg, #FFFFFF 0%, #FAFDFF 100%);
    box-shadow: 0 8px 22px rgba(1, 65, 136, 0.04);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.guide-row-link:hover,
.guide-row-link:focus {
    border-color: rgba(0, 158, 218, 0.52);
    box-shadow: 0 16px 30px rgba(1, 65, 136, 0.1);
    outline: none;
    transform: translateY(-2px);
}

.guide-row-image {
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guide-row-image img {
    display: block;
    width: 76px;
    height: 76px;
    object-fit: contain;
    filter: drop-shadow(0 7px 8px rgba(1, 65, 136, 0.12));
}

.guide-row-copy {
    display: grid;
    align-content: start;
    min-width: 0;
}

.guide-row-badge {
    justify-self: start;
    min-height: 24px;
    margin-bottom: 8px;
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--guide-soft);
    color: var(--sig-deepblue);
    font-size: 12px;
    font-weight: 900;
}

.guide-row-copy strong {
    display: block;
    margin-bottom: 7px;
    color: #17334F;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 900;
    letter-spacing: 0;
}

.guide-row-summary {
    display: -webkit-box;
    overflow: hidden;
    min-height: 67px;
    color: #627B92;
    font-size: 13px;
    line-height: 1.72;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    word-break: keep-all;
}

.guide-row-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.guide-row-tags em {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    border: 1px solid #E1ECF6;
    border-radius: 999px;
    color: #7890A6;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}

.guide-row-arrow {
    display: flex;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #EFF7FF;
    color: var(--sig-deepblue);
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.guide-row-link:hover .guide-row-arrow,
.guide-row-link:focus .guide-row-arrow {
    background: var(--sig-deepblue);
    color: #fff;
    transform: translateX(2px);
}

.empty-result {
    margin: 16px 0 0;
    padding: 18px;
    border: 1px solid #DCEBFA;
    border-radius: 8px;
    background: var(--guide-soft);
    color: var(--guide-muted);
    font-size: 14px;
    font-weight: 800;
}

.guide-sidebar {
    display: grid;
    gap: 14px;
    position: sticky;
    top: 18px;
}

.side-card {
    padding: 20px;
    border: 1px solid rgba(0, 101, 209, 0.09);
    border-radius: 8px;
    background: var(--guide-card);
    box-shadow: 0 10px 26px rgba(1, 65, 136, 0.05);
}

.company-card {
    border-color: rgba(0, 158, 218, 0.22);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 248, 255, 0.96) 100%);
    box-shadow: 0 16px 34px rgba(1, 65, 136, 0.09);
}

.side-title,
.board-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.side-title span {
    display: block;
    margin-bottom: 4px;
    color: var(--sig-sky);
    font-size: 12px;
    font-weight: 900;
}

.side-title h2,
.board-title h2 {
    margin: 0;
    color: var(--sig-navy);
    font-size: 17px;
    line-height: 1.32;
    font-weight: 900;
    letter-spacing: 0;
}

.side-title > a {
    flex: 0 0 auto;
    margin-top: 3px;
    color: #7890A6;
    font-size: 12px;
    font-weight: 900;
}

.side-title > a:hover,
.side-title > a:focus {
    color: var(--sig-deepblue);
}

.company-list,
.mini-board ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.company-list {
    display: grid;
    gap: 10px;
    counter-reset: company;
}

.company-list li + li {
    border-top: 0;
}

.company-list a {
    position: relative;
    display: grid;
    gap: 12px;
    align-items: center;
    min-height: 74px;
    padding: 12px 42px 12px 12px;
    border: 1px solid rgba(0, 158, 218, 0.24);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 248, 255, 0.94) 62%, rgba(226, 243, 255, 0.94) 100%);
    box-shadow: 0 8px 18px rgba(1, 65, 136, 0.05);
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.company-list a::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, var(--sig-sky), var(--sig-deepblue));
}

.company-list a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 18px;
    width: 9px;
    height: 9px;
    border-top: 2px solid var(--sig-deepblue);
    border-right: 2px solid var(--sig-deepblue);
    opacity: 0.58;
    transform: translateY(-50%) rotate(45deg);
    transition: right 0.18s ease, opacity 0.18s ease, border-color 0.18s ease;
}

.company-hot-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 116, 54, 0.28);
    border-radius: 14px;
    background:
        radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.98) 0 16%, rgba(255, 255, 255, 0) 17%),
        linear-gradient(145deg, #FFFFFF 0%, #FFF3E8 54%, #FFE0C7 100%);
    box-shadow: 0 10px 18px rgba(255, 116, 54, 0.16);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.company-hot-icon::before {
    content: "";
    width: 24px;
    height: 31px;
    border-radius: 72% 54% 64% 44%;
    background: linear-gradient(180deg, #FFB13B 0%, #FF6B2F 54%, #E93822 100%);
    clip-path: polygon(50% 0, 70% 22%, 64% 44%, 90% 72%, 66% 100%, 34% 100%, 10% 72%, 34% 44%, 30% 22%);
    transform: rotate(-5deg);
}

.company-hot-icon::after {
    content: "";
    position: absolute;
    bottom: 12px;
    width: 11px;
    height: 16px;
    border-radius: 70% 50% 60% 42%;
    background: linear-gradient(180deg, #FFF7B0 0%, #FFD34D 62%, #FF9E2F 100%);
    clip-path: polygon(50% 0, 66% 24%, 60% 47%, 83% 72%, 62% 100%, 38% 100%, 17% 72%, 40% 47%, 34% 24%);
}

.company-list span {
    min-width: 0;
}

.company-list strong {
    display: block;
    overflow: hidden;
    color: #18405F;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 900;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.company-list small {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 3px;
    color: #7B91A7;
    font-size: 12px;
    line-height: 1.45;
    white-space: normal;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.company-list a:hover strong,
.company-list a:focus strong {
    color: var(--sig-deepblue);
}

.company-list a:hover,
.company-list a:focus {
    border-color: rgba(0, 158, 218, 0.48);
    background: #fff;
    box-shadow: 0 14px 26px rgba(1, 65, 136, 0.12);
    outline: none;
    transform: translateY(-1px);
}

.company-list a:hover::after,
.company-list a:focus::after {
    right: 15px;
    opacity: 1;
    border-color: var(--sig-sky);
}

.company-list a:hover .company-hot-icon,
.company-list a:focus .company-hot-icon {
    border-color: rgba(255, 116, 54, 0.48);
    box-shadow: 0 13px 24px rgba(255, 116, 54, 0.22);
    transform: scale(1.04);
}

.safety-link-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.safety-link-grid a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 11px;
    border: 1px solid #D7E8F8;
    border-radius: 999px;
    background: #F7FBFF;
    color: #466784;
    font-size: 12px;
    font-weight: 900;
}

.safety-link-grid a:hover,
.safety-link-grid a:focus {
    border-color: var(--sig-deepblue);
    background: var(--sig-deepblue);
    color: #fff;
}

.board-title span {
    color: var(--sig-navy);
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
}

.mini-board li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 54px;
    gap: 10px;
    align-items: center;
    min-height: 30px;
}

.mini-board a {
    overflow: hidden;
    color: #687D92;
    font-size: 12px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.mini-board time {
    color: #91A4B7;
    font-size: 12px;
    text-align: right;
}

.mini-board a:hover,
.mini-board a:focus {
    color: var(--sig-deepblue);
}

@media (max-width: 1120px) {
    .guide-hero-panel,
    .guide-content-layout {
        grid-template-columns: 1fr;
    }

    .guide-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .company-card {
        grid-column: 1 / -1;
    }
}

@media (max-width: 780px) {
    .finance-guide-page {
        width: min(100% - 22px, 1180px);
        padding-top: 18px;
    }

    .guide-hero-panel {
        padding: 24px 18px;
    }

    .guide-hero-copy h1 {
        font-size: 30px;
    }

    .guide-hero-lead {
        font-size: 14px;
    }

    .guide-list,
    .guide-sidebar {
        grid-template-columns: 1fr;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .guide-row-link {
        grid-template-columns: 70px minmax(0, 1fr) 24px;
        min-height: 0;
        padding: 16px;
    }

    .guide-row-image,
    .guide-row-image img {
        width: 70px;
        height: 70px;
    }

    .guide-row-copy strong {
        font-size: 17px;
    }

    .guide-row-summary {
        min-height: 0;
        -webkit-line-clamp: 2;
    }
}

@media (max-width: 500px) {
    .guide-hero-panel {
        padding: 22px 16px;
    }

    .guide-finder-panel,
    .side-card {
        padding: 16px;
    }

    .guide-row-link {
        grid-template-columns: 74px minmax(0, 1fr) 30px;
        gap: 12px;
        align-items: start;
        padding: 16px 14px;
    }

    .guide-row-arrow {
        position: static;
        align-self: start;
        width: 30px;
        height: 30px;
        margin-top: 2px;
    }

    .guide-row-image,
    .guide-row-image img {
        width: 74px;
        height: 74px;
    }

    .guide-row-badge {
        margin-bottom: 7px;
    }

    .guide-row-copy strong {
        font-size: 16px;
        line-height: 1.34;
    }

    .guide-row-summary {
        -webkit-line-clamp: 2;
    }

    .guide-row-tags {
        gap: 5px;
        margin-top: 10px;
    }

    .guide-row-tags em {
        min-height: 22px;
        padding: 0 7px;
        font-size: 11px;
    }
}
