/* 트래블랭크 메인 — 포털형 레이아웃 */
.cert-home {
    color: #1e293b;
}

.cert-home-hero {
    background: linear-gradient(135deg, #0f2744 0%, #1e3a5f 48%, #234876 100%);
    color: #fff;
}

.cert-home-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 2rem 2.5rem;
    align-items: stretch;
    padding-block: 2.75rem 2.5rem;
}

.cert-home-hero__badge {
    display: inline-block;
    margin: 0 0 1rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #bfdbfe;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
}

.cert-home-hero__title {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 4.5vw, 2.85rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.04em;
    color: #fff;
}

.cert-home-hero__title-accent {
    color: #fdba74;
}

.cert-home-hero__lead {
    margin: 0 0 1.35rem;
    max-width: 34rem;
    font-size: 1.02rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
}

.cert-home-search {
    margin-bottom: 1rem;
}

.cert-home-search .site-search-form__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.cert-home-search .site-search-form__row {
    display: flex;
    gap: 0.5rem;
    max-width: 34rem;
}

.cert-home-search .site-search-form__input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

.cert-home-search .site-search-form__input:focus {
    outline: 2px solid #fdba74;
    outline-offset: 2px;
}

.cert-home-search .site-search-form__submit {
    flex-shrink: 0;
    padding: 0.85rem 1.25rem;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    background: #f76707;
    color: #fff;
    cursor: pointer;
    transition: background 0.15s;
}

.cert-home-search .site-search-form__submit:hover {
    background: #e8590c;
}

.cert-home-hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.cert-home-tag {
    display: inline-flex;
    padding: 0.35rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    transition: background 0.15s, border-color 0.15s;
}

.cert-home-tag:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;
}

.cert-home-hero__panel {
    display: flex;
    flex-direction: column;
    padding: 1.35rem 1.25rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    backdrop-filter: blur(6px);
}

.cert-home-hero__panel-label {
    margin: 0 0 0.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #93c5fd;
}

.cert-home-hero__panel-title {
    margin: 0 0 1rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
}

.cert-home-roadmap {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.cert-home-roadmap__item {
    margin: 0;
}

.cert-home-roadmap__link {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.75rem 0.85rem;
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.cert-home-roadmap__link:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateX(2px);
    color: inherit;
}

.cert-home-roadmap__num {
    font-size: 0.78rem;
    font-weight: 800;
    color: #fdba74;
    letter-spacing: 0.04em;
}

.cert-home-roadmap__body {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.cert-home-roadmap__title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
}

.cert-home-roadmap__desc {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.68);
}

.cert-home-roadmap__arrow {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.45);
}

.cert-home-cats {
    padding-block: 2.25rem 2rem;
    background: #fff;
    border-bottom: 1px solid #e8edf3;
}

.cert-home-section-head {
    margin-bottom: 1.25rem;
}

.cert-home-section-head--row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
}

.cert-home-section-head--compact {
    margin-top: 2rem;
    margin-bottom: 0.85rem;
}

.cert-home-section-head__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #64748b;
}

.cert-home-section-head__title {
    margin: 0;
    font-size: clamp(1.35rem, 2.5vw, 1.65rem);
    font-weight: 800;
    line-height: 1.3;
    color: #0f172a;
    letter-spacing: -0.03em;
}

.cert-home-section-head__desc {
    margin: 0.45rem 0 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #64748b;
}

.cert-home-section-head__more {
    flex-shrink: 0;
    font-size: 0.88rem;
    font-weight: 600;
    color: #1e3a5f;
    text-decoration: none;
}

.cert-home-section-head__more:hover {
    color: #f76707;
}

.cert-home-cats__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.cert-home-cat-tile {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.85rem;
    align-items: center;
    min-height: 5.5rem;
    padding: 1rem 1.1rem;
    text-decoration: none;
    color: inherit;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.cert-home-cat-tile:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 24px rgba(15, 39, 68, 0.08);
    transform: translateY(-2px);
    color: inherit;
}

.cert-home-cat-tile--tone-1 { border-left: 4px solid #1e3a5f; }
.cert-home-cat-tile--tone-2 { border-left: 4px solid #f76707; }
.cert-home-cat-tile--tone-3 { border-left: 4px solid #0d9488; }
.cert-home-cat-tile--tone-4 { border-left: 4px solid #7c3aed; }

.cert-home-cat-tile__index {
    font-size: 1.1rem;
    font-weight: 800;
    color: #cbd5e1;
    letter-spacing: -0.02em;
}

.cert-home-cat-tile__body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.cert-home-cat-tile__name {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

.cert-home-cat-tile__desc {
    font-size: 0.82rem;
    line-height: 1.45;
    color: #64748b;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cert-home-cat-tile__go {
    font-size: 1rem;
    color: #94a3b8;
}

.cert-home-split {
    padding-block: 2.25rem;
    background: #f4f7fb;
}

.cert-home-split__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 1.75rem;
    align-items: start;
}

.cert-home-cert-grid.post-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.cert-home-topic-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.cert-home-topic-list__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.cert-home-topic-list__link:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 14px rgba(15, 39, 68, 0.06);
    color: inherit;
}

.cert-home-topic-list__text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.cert-home-topic-list__text strong {
    font-size: 0.92rem;
    color: #0f172a;
}

.cert-home-topic-list__text span {
    font-size: 0.8rem;
    color: #64748b;
}

.cert-home-topic-list__arrow {
    flex-shrink: 0;
    color: #94a3b8;
}

.cert-home-split__aside {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: calc(var(--site-header-offset) + 0.75rem);
}

.cert-home-aside-card {
    padding: 1.15rem 1.1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(15, 39, 68, 0.04);
}

.cert-home-aside-card--notice {
    background: #fff8f1;
    border-color: #fed7aa;
}

.cert-home-aside-card__eyebrow {
    margin: 0 0 0.25rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.cert-home-aside-card__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
}

.cert-home-aside-card__desc {
    margin: 0.35rem 0 0.85rem;
    font-size: 0.82rem;
    line-height: 1.5;
    color: #64748b;
}

.cert-home-guide-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid #eef2f7;
}

.cert-home-guide-nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    border-bottom: 1px solid #eef2f7;
    transition: color 0.15s;
}

.cert-home-guide-nav__link:hover {
    color: #f76707;
}

.cert-home-notice__title {
    margin: 0 0 0.45rem;
    font-size: 0.88rem;
    font-weight: 800;
    color: #c2410c;
}

.cert-home-notice__text {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.6;
    color: #7c2d12;
}

.cert-home-posts {
    padding-block: 2.25rem 2.75rem;
    background: #fff;
}

.cert-home-post-grid.post-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.cert-home-empty {
    margin: 0;
    padding: 2rem 1rem;
    text-align: center;
    font-size: 0.92rem;
    color: #64748b;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
}

.cert-home-empty--sm {
    padding: 1rem;
    font-size: 0.85rem;
}

@media (max-width: 960px) {
    .cert-home-hero__grid {
        grid-template-columns: 1fr;
    }

    .cert-home-split__grid {
        grid-template-columns: 1fr;
    }

    .cert-home-split__aside {
        position: static;
    }
}

@media (max-width: 720px) {
    .cert-home-hero__grid {
        padding-block: 2rem 1.75rem;
    }

    .cert-home-cats__grid,
    .cert-home-cert-grid.post-list,
    .cert-home-post-grid.post-list {
        grid-template-columns: 1fr;
    }

    .cert-home-search .site-search-form__row {
        flex-direction: column;
        max-width: none;
    }

    .cert-home-search .site-search-form__submit {
        width: 100%;
    }
}
