body.guide-page {
    background: #f7fbff;
}

.guide-page .site-header {
    background: rgba(255, 255, 255, .96);
}

.guide-hero {
    border-bottom: 1px solid var(--line);
    background: #fff;
    padding: 72px 0 58px;
}

.guide-hero-inner {
    max-width: 920px;
    text-align: center;
}

.guide-eyebrow,
.guide-detail-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
    font-size: .84rem;
    font-weight: 650;
    text-transform: uppercase;
}

.guide-eyebrow > span {
    width: 18px;
    height: 18px;
}

.guide-hero h1,
.guide-detail-hero h1 {
    margin: 18px 0 14px;
    color: var(--ink);
    font-size: clamp(2.4rem, 5vw, 3.35rem);
    line-height: 1.08;
    letter-spacing: 0;
    font-weight: 650;
}

.guide-hero > .container > p,
.guide-detail-hero p {
    max-width: 760px;
    margin: 0 auto;
    color: var(--text);
    font-size: 1.08rem;
    line-height: 1.75;
}

.guide-hero-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px 34px;
    margin-top: 28px;
    color: #52617e;
    font-size: .9rem;
}

.guide-hero-links span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.guide-hero-links span > span {
    width: 19px;
    height: 19px;
    color: var(--blue);
}

.guide-browser {
    padding: 58px 0 76px;
}

.guide-browser-heading,
.guide-group-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.guide-browser-heading h2,
.guide-group-title h2,
.guide-start h2,
.guide-article h2 {
    margin: 0;
    color: var(--ink);
    font-size: 1.65rem;
    line-height: 1.25;
    font-weight: 620;
}

.guide-browser-heading p,
.guide-start p,
.guide-section-heading p {
    margin: 7px 0 0;
    color: var(--text);
    line-height: 1.65;
}

.guide-result-count,
.guide-group-title span {
    color: var(--muted);
    font-size: .88rem;
}

.guide-search-row {
    margin-top: 26px;
}

.guide-search {
    display: flex;
    width: min(720px, 100%);
    min-height: 54px;
    align-items: center;
    gap: 12px;
    padding: 0 18px;
    border: 1px solid #cfdced;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(18, 50, 105, .05);
}

.guide-search:focus-within {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(23, 105, 232, .12);
}

.guide-search-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    border: 2px solid #71809a;
    border-radius: 50%;
    position: relative;
}

.guide-search-icon::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 2px;
    right: -5px;
    bottom: -2px;
    background: #71809a;
    transform: rotate(45deg);
}

.guide-search input {
    width: 100%;
    border: 0;
    outline: 0;
    color: var(--ink);
    background: transparent;
    font-size: 1rem;
}

.guide-search input::placeholder {
    color: #8794aa;
}

.guide-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 18px 0 44px;
}

.guide-filters button {
    min-height: 38px;
    padding: 0 15px;
    border: 1px solid #d5e1f0;
    border-radius: 8px;
    color: #44536f;
    background: #fff;
    cursor: pointer;
    font-size: .88rem;
}

.guide-filters button:hover,
.guide-filters button.is-active {
    border-color: var(--blue);
    color: #fff;
    background: var(--blue);
}

.guide-group + .guide-group {
    margin-top: 48px;
}

.guide-group-title {
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.guide-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.guide-card {
    display: grid;
    min-height: 220px;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 16px;
    padding: 22px;
    border: 1px solid #d9e4f2;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 9px 24px rgba(18, 50, 105, .05);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.guide-card:hover {
    transform: translateY(-3px);
    border-color: #aecaef;
    box-shadow: 0 15px 32px rgba(18, 50, 105, .09);
}

.guide-card[hidden],
.guide-group[hidden] {
    display: none;
}

.guide-card-icon {
    display: inline-grid;
    width: 52px;
    height: 52px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 8px;
}

.guide-card-icon > span {
    display: block;
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
    background: currentColor;
    -webkit-mask: var(--icon) center / contain no-repeat;
    mask: var(--icon) center / contain no-repeat;
}

.guide-card-icon.is-blue { color: var(--blue); background: var(--blue-soft); }
.guide-card-icon.is-green { color: var(--green); background: var(--green-soft); }
.guide-card-icon.is-violet { color: var(--violet); background: var(--violet-soft); }
.guide-card-icon.is-orange { color: var(--orange); background: var(--orange-soft); }

.guide-card h3 {
    margin: 3px 0 9px;
    font-size: 1.08rem;
    font-weight: 620;
}

.guide-card p {
    margin: 0;
    color: var(--text);
    font-size: .91rem;
    line-height: 1.58;
}

.guide-card a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 17px;
    color: var(--blue);
    font-size: .9rem;
    font-weight: 600;
}

.guide-empty {
    padding: 58px 24px;
    text-align: center;
}

.guide-empty > span {
    display: block;
    width: 46px;
    height: 46px;
    margin: 0 auto 15px;
    color: var(--blue);
}

.guide-empty h2 {
    margin: 0 0 8px;
    font-size: 1.35rem;
}

.guide-empty p {
    margin: 0;
    color: var(--text);
}

.guide-start {
    padding: 0 0 76px;
}

.guide-start-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 26px 30px;
    border: 1px solid #ccdbed;
    border-radius: 8px;
    background: #fff;
}

.guide-start-inner > div {
    display: flex;
    align-items: center;
    gap: 18px;
}

.guide-start-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    color: var(--blue);
}

.guide-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    padding-top: 26px;
    color: #697791;
    font-size: .84rem;
}

.guide-breadcrumbs a {
    color: var(--blue);
}

.guide-breadcrumbs strong {
    color: var(--ink);
    font-weight: 580;
}

.guide-detail-hero {
    padding: 38px 0 48px;
}

.guide-detail-hero-inner {
    display: flex;
    max-width: 980px;
    align-items: flex-start;
    gap: 22px;
}

.guide-detail-hero .guide-card-icon {
    width: 68px;
    height: 68px;
}

.guide-detail-hero .guide-card-icon > span {
    width: 34px;
    height: 34px;
}

.guide-detail-hero h1 {
    margin: 8px 0 12px;
    font-size: clamp(2.2rem, 4vw, 3rem);
}

.guide-detail-hero p {
    margin: 0;
}

.guide-detail-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: start;
    gap: 44px;
    padding-bottom: 88px;
}

.guide-sidebar {
    position: sticky;
    top: 96px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding: 18px;
    border: 1px solid #d9e4f2;
    border-radius: 8px;
    background: #fff;
}

.guide-sidebar-heading {
    display: flex;
    align-items: center;
    gap: 9px;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--line);
}

.guide-sidebar-heading > span {
    width: 20px;
    height: 20px;
    color: var(--blue);
}

.guide-sidebar section {
    margin-top: 18px;
}

.guide-sidebar h2 {
    margin: 0 0 7px;
    color: #8190a7;
    font-size: .7rem;
    font-weight: 650;
    text-transform: uppercase;
}

.guide-sidebar a {
    display: block;
    padding: 7px 9px;
    border-radius: 5px;
    color: #44536f;
    font-size: .82rem;
    line-height: 1.35;
}

.guide-sidebar a:hover,
.guide-sidebar a.is-current {
    color: var(--blue);
    background: #edf4ff;
}

.guide-article {
    min-width: 0;
}

.guide-article > section {
    padding: 34px 0;
    border-top: 1px solid var(--line);
}

.guide-article > section:first-child {
    padding-top: 0;
    border-top: 0;
}

.guide-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
}

.guide-section-heading > span {
    display: inline-grid;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--blue);
    font-size: .75rem;
}

.guide-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.guide-feature {
    display: flex;
    min-height: 72px;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border: 1px solid #dbe5f2;
    border-radius: 8px;
    background: #fff;
}

.guide-feature span {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    color: var(--green);
}

.guide-feature p {
    margin: 0;
    color: #33425e;
    line-height: 1.45;
}

.guide-steps {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.guide-steps li {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 15px;
    padding: 18px;
    border: 1px solid #dbe5f2;
    border-radius: 8px;
    background: #fff;
}

.guide-steps li > span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 8px;
    color: var(--blue);
    background: var(--blue-soft);
    font-size: .8rem;
    font-weight: 650;
}

.guide-steps h3 {
    margin: 1px 0 5px;
    font-size: 1rem;
    font-weight: 620;
}

.guide-steps p {
    margin: 0;
    color: var(--text);
    line-height: 1.58;
}

.guide-tips {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.guide-tips li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #33425e;
}

.guide-tips span {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    color: var(--orange);
}

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

.guide-related-grid > a {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    padding: 14px;
    border: 1px solid #dbe5f2;
    border-radius: 8px;
    background: #fff;
}

.guide-related-grid .guide-card-icon {
    width: 42px;
    height: 42px;
}

.guide-related-grid .guide-card-icon > span {
    width: 21px;
    height: 21px;
}

.guide-related-grid a > span:nth-child(2) {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.guide-related-grid strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .88rem;
    font-weight: 600;
}

.guide-related-grid small {
    color: var(--muted);
    font-size: .75rem;
}

.guide-related-grid i {
    margin-left: auto;
    color: var(--blue);
    font-style: normal;
}

.guide-help {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    margin-top: 14px;
    padding: 24px !important;
    border: 1px solid #bed6f7 !important;
    border-radius: 8px;
    background: #edf5ff;
}

.guide-help h2 {
    font-size: 1.2rem;
}

.guide-help p {
    margin: 5px 0 0;
    color: var(--text);
    line-height: 1.5;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

@media (max-width: 1050px) {
    .guide-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .guide-detail-layout {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 28px;
    }

    .guide-related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .guide-hero {
        padding: 48px 0 42px;
    }

    .guide-hero h1 {
        font-size: 2.3rem;
    }

    .guide-hero-links {
        display: grid;
        justify-content: start;
        width: fit-content;
        margin-inline: auto;
        text-align: left;
    }

    .guide-browser {
        padding: 42px 0 58px;
    }

    .guide-browser-heading,
    .guide-group-title {
        align-items: flex-start;
    }

    .guide-browser-heading {
        display: grid;
    }

    .guide-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 5px;
    }

    .guide-filters button {
        flex: 0 0 auto;
    }

    .guide-card-grid {
        grid-template-columns: 1fr;
    }

    .guide-card {
        min-height: 0;
    }

    .guide-start-inner,
    .guide-start-inner > div {
        align-items: flex-start;
    }

    .guide-start-inner {
        display: grid;
    }

    .guide-start .button {
        width: 100%;
    }

    .guide-breadcrumbs {
        padding-top: 18px;
    }

    .guide-detail-hero {
        padding: 28px 0 38px;
    }

    .guide-detail-layout {
        display: block;
    }

    .guide-sidebar {
        position: static;
        max-height: none;
        margin-bottom: 30px;
    }

    .guide-feature-grid {
        grid-template-columns: 1fr;
    }

    .guide-help {
        grid-template-columns: 46px minmax(0, 1fr);
    }

    .guide-help .button {
        grid-column: 1 / -1;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .guide-hero h1 {
        font-size: 2rem;
    }

    .guide-card {
        grid-template-columns: 44px minmax(0, 1fr);
        padding: 17px;
    }

    .guide-card-icon {
        width: 44px;
        height: 44px;
    }

    .guide-card-icon > span {
        width: 22px;
        height: 22px;
    }

    .guide-detail-hero-inner {
        display: grid;
    }

    .guide-detail-hero .guide-card-icon {
        width: 58px;
        height: 58px;
    }

    .guide-steps li {
        grid-template-columns: 38px minmax(0, 1fr);
        padding: 15px;
    }

    .guide-steps li > span {
        width: 36px;
        height: 36px;
    }
}
