.guides-page {
    --guides-blue: #0d6efd;
    --guides-navy: #071f42;
    --guides-ink: #151922;
    --guides-muted: #697386;
    --guides-line: #e6ebf2;
    background: #fff;
    color: var(--guides-ink);
}

.guides-page *,
.guides-page *::before,
.guides-page *::after { box-sizing: border-box; }

.guides-hero {
    position: relative;
    overflow: hidden;
    padding: 76px 0 82px;
    background: linear-gradient(135deg, #061a38 0%, #0a3269 55%, #075cb7 100%);
    isolation: isolate;
}

.guides-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .15;
    background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0);
    background-size: 24px 24px;
}

.guides-hero__glow {
    position: absolute;
    z-index: -1;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    filter: blur(70px);
    opacity: .34;
}

.guides-hero__glow--one { top: -190px; right: -100px; background: #4eb8ff; }
.guides-hero__glow--two { bottom: -230px; left: 5%; background: #ffb733; }
.guides-hero__content { position: relative; text-align: center; }

.guides-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, .58);
    font-size: 12px;
}

.guides-breadcrumb a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.guides-breadcrumb a:hover { color: #fff; }

.guides-kicker,
.guides-count {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    color: #d7ecff;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(8px);
}

.guides-kicker { padding: 7px 14px; font-size: 12px; font-weight: 700; }
.guides-hero h1 { margin: 20px 0 13px; color: #fff; font-size: clamp(32px, 5vw, 58px); font-weight: 900; letter-spacing: -.04em; }
.guides-hero p { width: min(100%, 690px); margin: 0 auto; color: rgba(255, 255, 255, .72); font-size: 16px; line-height: 2; }
.guides-count { margin-top: 22px; padding: 7px 13px; color: #fff; font-size: 11px; font-weight: 800; }

.guides-content { padding-top: 70px; padding-bottom: 84px; }
.guides-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.guides-heading > div > span { color: var(--guides-blue); font-size: 12px; font-weight: 800; }
.guides-heading h2 { margin: 7px 0 0; font-size: clamp(23px, 3vw, 34px); font-weight: 900; letter-spacing: -.025em; }
.guides-heading > p { width: min(100%, 500px); margin: 0; color: var(--guides-muted); font-size: 13px; line-height: 1.9; }

.guides-category-filter {
    display: flex;
    gap: 8px;
    margin: -4px 0 24px;
    padding: 2px 0 8px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd8e8 transparent;
}

.guides-category-filter a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 7px 13px;
    border: 1px solid var(--guides-line);
    border-radius: 999px;
    color: #4b5668;
    background: #fff;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.guides-category-filter a:hover {
    border-color: #bcd5f6;
    color: var(--guides-blue);
    background: #f7faff;
}

.guides-category-filter a.is-active {
    border-color: var(--guides-blue);
    color: #fff;
    background: var(--guides-blue);
    box-shadow: 0 7px 18px rgba(13, 110, 253, .18);
}

.guides-category-filter small {
    display: grid;
    min-width: 21px;
    height: 21px;
    padding-inline: 5px;
    place-items: center;
    border-radius: 999px;
    color: inherit;
    background: #eef3f9;
    font-size: 9px;
}

.guides-category-filter a.is-active small { background: rgba(255, 255, 255, .18); }

@media (min-width: 1200px) {
    .guides-heading > p {
        flex: 0 0 auto;
        width: max-content;
        max-width: none;
        white-space: nowrap;
    }
}

.guides-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.guide-card { min-width: 0; overflow: hidden; border: 1px solid var(--guides-line); border-radius: 22px; background: #fff; box-shadow: 0 9px 30px rgba(19, 37, 63, .06); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.guide-card:hover { transform: translateY(-5px); border-color: #ccdef5; box-shadow: 0 18px 42px rgba(19, 37, 63, .12); }
.guide-card__media { position: relative; display: block; height: 230px; overflow: hidden; background: #dce9f8; }
.guide-card__media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .45s ease; }
.guide-card:hover .guide-card__media img { transform: scale(1.045); }
.guide-card__shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgba(5, 21, 43, .48)); }
.guide-card__badge { position: absolute; right: 14px; bottom: 14px; padding: 6px 10px; border-radius: 999px; color: #fff; background: rgba(4, 21, 46, .76); backdrop-filter: blur(8px); font-size: 10px; font-weight: 800; }
.guide-card__body { padding: 20px 20px 21px; }
.guide-card__eyebrow { display: inline-block; color: var(--guides-blue); font-size: 10px; font-weight: 800; text-decoration: none; }
.guide-card a.guide-card__eyebrow:hover { color: #074fba; text-decoration: underline; text-underline-offset: 3px; }
.guide-card h2 { min-height: 55px; margin: 8px 0 9px; font-size: 18px; font-weight: 900; line-height: 1.55; }
.guide-card h2 a { color: var(--guides-ink); text-decoration: none; }
.guide-card p { min-height: 68px; margin: 0 0 16px; overflow: hidden; color: var(--guides-muted); font-size: 12px; line-height: 1.9; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.guide-card__link { display: inline-flex; align-items: center; gap: 7px; color: var(--guides-blue); font-size: 12px; font-weight: 900; text-decoration: none; }
.guide-card__link svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.guide-card:hover .guide-card__link svg { transform: translateX(-3px); }
.guides-pagination { margin-top: 36px; }
.guides-empty { padding: 70px 20px; border: 1px dashed #ced8e6; border-radius: 24px; text-align: center; background: #f8fbff; }
.guides-empty > span { color: var(--guides-blue); font-size: 32px; }
.guides-empty h2 { margin: 10px 0 7px; font-size: 20px; font-weight: 900; }
.guides-empty p { color: var(--guides-muted); }
.guides-empty a { display: inline-flex; margin-top: 8px; padding: 10px 18px; border-radius: 12px; color: #fff; background: var(--guides-blue); font-size: 12px; font-weight: 800; text-decoration: none; }

@media (max-width: 991.98px) {
    .guides-hero { padding: 58px 0 64px; }
    .guides-content { padding-top: 50px; padding-bottom: 60px; }
    .guides-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
    .guides-heading { align-items: start; flex-direction: column; gap: 9px; }
}

@media (max-width: 575.98px) {
    .guides-hero { padding: 38px 0 44px; }
    .guides-breadcrumb { margin-bottom: 18px; }
    .guides-hero p { font-size: 13px; }
    .guides-content { padding-top: 34px; padding-bottom: 45px; }
    .guides-heading { margin-bottom: 20px; }
    .guides-category-filter { margin-top: -2px; margin-bottom: 16px; }
    .guides-category-filter a { min-height: 34px; padding: 6px 11px; font-size: 10px; }
    .guides-heading h2 { font-size: 22px; }
    .guides-grid { grid-template-columns: minmax(0, 1fr); gap: 15px; }
    .guide-card { display: grid; grid-template-columns: 118px minmax(0, 1fr); border-radius: 17px; }
    .guide-card__media { height: 100%; min-height: 176px; }
    .guide-card__badge { right: 7px; bottom: 7px; max-width: calc(100% - 14px); padding: 5px 7px; font-size: 8px; }
    .guide-card__body { padding: 14px 13px; }
    .guide-card h2 { min-height: 0; margin: 5px 0 7px; font-size: 14px; line-height: 1.65; }
    .guide-card p { min-height: 0; margin-bottom: 10px; font-size: 10px; line-height: 1.8; -webkit-line-clamp: 2; }
    .guide-card__link { font-size: 10px; }
}
