.guides-body {
    color: #dbe7f6;
    background:
        radial-gradient(circle at 12% 0%, rgba(37, 99, 235, 0.24), transparent 34rem),
        radial-gradient(circle at 90% 2%, rgba(56, 189, 248, 0.16), transparent 24rem),
        linear-gradient(180deg, #060f27 0%, #070f24 100%);
}

.guides-page {
    width: 100%;
    max-width: 76rem;
    margin: 0 auto 4rem;
    display: grid;
    gap: 1rem;
}

.guides-overview,
.guides-library {
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 1rem;
    background: rgba(10, 22, 45, 0.86);
    box-shadow: 0 1rem 2.8rem rgba(2, 6, 23, 0.42);
}

.guides-overview {
    display: grid;
    grid-template-columns: minmax(8.25rem, 10rem) minmax(0, 1fr);
    gap: 1.2rem;
    align-items: start;
    padding: 1rem;
}

.guides-overview__media {
    align-self: start;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 0.9rem;
    overflow: hidden;
    border: 1px solid rgba(147, 197, 253, 0.25);
    background: rgba(12, 28, 52, 0.82);
}

.guides-overview__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.guides-overview__content h1 {
    margin: 0;
    color: #f8fbff;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    line-height: 1.12;
}

.guides-overview__updated {
    margin: 0.5rem 0 0;
    color: #9fb3cc;
    font-size: 0.9rem;
    font-weight: 700;
}

.guides-overview__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1rem;
    margin-top: 0.85rem;
}

.guides-overview__stats span {
    color: #c8d5e5;
    font-size: 0.92rem;
    font-weight: 700;
}

.guides-overview__stats b {
    color: #22c55e;
}

.guides-overview__notice {
    margin-top: 0.85rem;
    padding: 0.58rem 0.7rem;
    color: #dbeafe;
    background: rgba(37, 99, 235, 0.2);
    border: 1px solid rgba(96, 165, 250, 0.35);
    border-radius: 0.55rem;
    font-size: 0.88rem;
    font-weight: 700;
}

.guides-overview__description {
    margin: 0.9rem 0 0;
    color: #dbe7f6;
    line-height: 1.6;
}

.guides-library {
    padding: 0.95rem;
}

.guides-library__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.7rem;
}

.guides-library__header h2 {
    margin: 0;
    color: #f8fbff;
    font-size: clamp(1.25rem, 2.2vw, 1.7rem);
}

.guides-library__header a {
    display: inline-flex;
    min-height: 2.1rem;
    align-items: center;
    padding: 0 0.75rem;
    color: #bfdbfe;
    background: rgba(30, 64, 175, 0.2);
    border: 1px solid rgba(96, 165, 250, 0.38);
    border-radius: 0.55rem;
    font-size: 0.82rem;
    font-weight: 760;
    text-decoration: none;
}

.guides-filters {
    display: grid;
    gap: 0.6rem;
    margin-bottom: 0.8rem;
}

.guides-search {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 2.8rem;
    padding: 0 0.75rem;
    background: rgba(11, 26, 49, 0.78);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 0.65rem;
}

.guides-search span {
    color: #8ca3bc;
}

.guides-search input {
    width: 100%;
    color: #f8fbff;
    background: transparent;
    border: 0;
    outline: 0;
    font: inherit;
}

.guides-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.guides-topic {
    min-height: 2rem;
    padding: 0.35rem 0.7rem;
    color: #c8d5e5;
    background: rgba(15, 30, 53, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 999px;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 760;
    cursor: pointer;
}

.guides-topic.is-active {
    color: #ffffff;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-color: #1d4ed8;
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
}

.guide-card {
    display: grid;
    gap: 0.55rem;
    padding: 0.75rem;
    background: rgba(12, 27, 50, 0.88);
    border: 1px solid rgba(96, 165, 250, 0.18);
    border-radius: 0.65rem;
}

.guide-card__image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 0.55rem;
    background: rgba(15, 23, 42, 0.45);
}

.guide-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.guide-card.is-hidden {
    display: none !important;
}

.guide-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.4rem;
}

.guide-card__meta span {
    display: inline-flex;
    min-height: 1.65rem;
    align-items: center;
    padding: 0 0.5rem;
    color: #bfdbfe;
    background: rgba(30, 64, 175, 0.2);
    border: 1px solid rgba(96, 165, 250, 0.38);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 760;
}

.guide-card__meta small {
    color: #9fb3cc;
    font-size: 0.78rem;
    font-weight: 700;
}

.guide-card h3 {
    margin: 0;
    color: #f8fbff;
    font-size: 1.03rem;
    line-height: 1.35;
}

.guide-card p {
    margin: 0;
    color: #c8d5e5;
    line-height: 1.55;
}

.guide-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.32rem;
}

.guide-card__tags small {
    display: inline-flex;
    min-height: 1.6rem;
    align-items: center;
    padding: 0 0.45rem;
    color: #dbeafe;
    background: rgba(15, 23, 42, 0.82);
    border: 1px solid rgba(96, 165, 250, 0.18);
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
}

.guide-card__foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.55rem;
}

.guide-card__foot small {
    color: #9fb3cc;
    font-size: 0.76rem;
    font-weight: 700;
}

.guide-card__foot a {
    display: inline-flex;
    min-height: 2rem;
    align-items: center;
    padding: 0 0.65rem;
    color: #dbeafe;
    background: rgba(30, 64, 175, 0.2);
    border: 1px solid rgba(96, 165, 250, 0.38);
    border-radius: 0.45rem;
    font-size: 0.8rem;
    font-weight: 760;
    text-decoration: none;
}

.guide-article-body {
    color: #dbe7f6;
    font-size: 0.98rem;
    line-height: 1.75;
    white-space: normal;
}

.guide-article-body h1,
.guide-article-body h2,
.guide-article-body h3,
.guide-article-body h4 {
    margin: 1.1rem 0 0.55rem;
    color: #f8fbff;
    line-height: 1.25;
}

.guide-article-body h1 {
    margin-top: 0;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.guide-article-body h2 {
    font-size: clamp(1.3rem, 2.2vw, 1.72rem);
}

.guide-article-body h3 {
    font-size: clamp(1.08rem, 1.8vw, 1.3rem);
}

.guide-article-body p {
    margin: 0.55rem 0 0.7rem;
}

.guide-article-body ul,
.guide-article-body ol {
    margin: 0.45rem 0 0.8rem 1.2rem;
    padding: 0;
}

.guide-article-body li + li {
    margin-top: 0.2rem;
}

.guide-toc {
    margin: 0 0 0.8rem;
    padding: 0.7rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 0.55rem;
    background: rgba(15, 30, 53, 0.62);
}

.guide-toc strong {
    display: block;
    color: #f8fbff;
    font-size: 0.86rem;
    margin-bottom: 0.45rem;
}

.guide-toc div {
    display: grid;
    gap: 0.35rem;
}

.guide-toc a {
    color: #bfdbfe;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
}

.guide-toc a.is-sub {
    padding-left: 0.8rem;
    color: #c8d5e5;
    font-weight: 600;
}

.guide-toc-compact {
    margin: 0 0 0.7rem;
    padding: 0.62rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 0.55rem;
    background: rgba(15, 30, 53, 0.56);
    display: grid;
    gap: 0.5rem;
}

.guide-toc-compact strong {
    color: #f8fbff;
    font-size: 0.84rem;
    line-height: 1.2;
}

.guide-toc-compact__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.guide-toc-compact__chips a,
.guide-toc-more a {
    display: inline-flex;
    align-items: center;
    min-height: 1.8rem;
    padding: 0 0.52rem;
    color: #dbeafe;
    background: rgba(15, 23, 42, 0.84);
    border: 1px solid rgba(96, 165, 250, 0.25);
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.15;
}

.guide-toc-more {
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    padding-top: 0.45rem;
}

.guide-toc-more summary {
    color: #bfdbfe;
    font-size: 0.78rem;
    font-weight: 760;
    cursor: pointer;
    list-style: none;
}

.guide-toc-more summary::-webkit-details-marker {
    display: none;
}

.guide-toc-more div {
    margin-top: 0.45rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.guide-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.42rem 0.55rem;
    padding: 0.6rem 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 0.55rem;
    background: rgba(9, 21, 43, 0.72);
}

.guide-breadcrumbs a {
    color: #bfdbfe;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 760;
    line-height: 1.25;
}

.guide-breadcrumbs a:hover {
    color: #ffffff;
}

.guide-cta {
    border: 1px solid rgba(96, 165, 250, 0.28);
    border-radius: 0.7rem;
    padding: 0.85rem;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.24), rgba(2, 132, 199, 0.18));
    display: grid;
    gap: 0.65rem;
}

.guide-cta strong {
    color: #eff6ff;
    font-size: 0.95rem;
    line-height: 1.35;
}

.guide-cta div {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.guide-cta a {
    display: inline-flex;
    align-items: center;
    min-height: 2.05rem;
    padding: 0 0.65rem;
    color: #e0f2fe;
    background: rgba(12, 23, 46, 0.58);
    border: 1px solid rgba(147, 197, 253, 0.45);
    border-radius: 0.45rem;
    font-size: 0.8rem;
    font-weight: 760;
    text-decoration: none;
}

.guide-cta a:hover {
    color: #ffffff;
    border-color: rgba(191, 219, 254, 0.8);
}

.guide-related-panel {
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 0.7rem;
    padding: 0.85rem;
    background: rgba(10, 22, 45, 0.86);
}

.guide-related-panel h2 {
    margin: 0 0 0.55rem;
    color: #f8fbff;
    font-size: clamp(1.02rem, 1.8vw, 1.2rem);
    line-height: 1.3;
}

.guide-related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.guide-related-links a {
    display: inline-flex;
    align-items: center;
    min-height: 1.95rem;
    padding: 0 0.62rem;
    color: #dbeafe;
    background: rgba(15, 23, 42, 0.82);
    border: 1px solid rgba(96, 165, 250, 0.24);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
}

.guide-related-links a:hover {
    color: #ffffff;
    border-color: rgba(147, 197, 253, 0.6);
}

.guide-image-recommendations {
    margin: 0 0 0.8rem;
    padding: 0.72rem;
    border: 1px dashed rgba(96, 165, 250, 0.42);
    border-radius: 0.55rem;
    background: rgba(30, 64, 175, 0.16);
}

.guide-image-recommendations strong {
    display: block;
    color: #f8fbff;
    margin-bottom: 0.3rem;
    font-size: 0.85rem;
}

.guide-image-recommendations p {
    margin: 0 0 0.55rem;
    color: #dbe7f6;
    font-size: 0.8rem;
    line-height: 1.5;
}

.guide-image-recommendations__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
}

.guide-image-slot {
    background: rgba(11, 26, 49, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.26);
    border-radius: 0.55rem;
    padding: 0.52rem;
}

.guide-image-slot h3 {
    margin: 0 0 0.3rem;
    font-size: 0.8rem;
    line-height: 1.32;
}

.guide-image-slot h3 a {
    color: #bfdbfe;
    text-decoration: none;
}

.guide-image-slot p {
    margin: 0 0 0.35rem;
    color: #dbe7f6;
    font-size: 0.76rem;
    line-height: 1.42;
}

.guide-image-slot code {
    display: block;
    color: #dbeafe;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 0.42rem;
    padding: 0.38rem 0.42rem;
    font-size: 0.69rem;
    line-height: 1.35;
    white-space: normal;
    word-break: break-word;
}

@media (max-width: 1080px) {
    .guides-overview {
        grid-template-columns: 1fr;
    }

    .guides-overview__media {
        width: min(12rem, 100%);
    }

    .guides-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .guide-cta div {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .guides-page {
        gap: 0.75rem;
        margin-bottom: 2.4rem;
    }

    .guides-overview,
    .guides-library,
    .guide-related-panel {
        border-radius: 0.8rem;
    }

    .guides-library__header {
        display: grid;
    }

    .guides-grid {
        grid-template-columns: 1fr;
    }

    .guide-card__foot {
        align-items: flex-start;
        flex-direction: column;
    }

    .guide-breadcrumbs {
        padding: 0.55rem 0.62rem;
        gap: 0.35rem 0.45rem;
    }

    .guide-breadcrumbs a {
        font-size: 0.74rem;
    }

    .guide-cta {
        padding: 0.75rem;
        gap: 0.55rem;
    }

    .guide-cta strong {
        font-size: 0.9rem;
    }

    .guide-cta div {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.45rem;
    }

    .guide-cta a {
        justify-content: center;
        min-height: 2.25rem;
        font-size: 0.82rem;
        padding: 0 0.6rem;
    }

    .guide-toc-compact,
    .guide-image-recommendations {
        padding: 0.65rem;
    }

    .guide-toc-compact__chips a,
    .guide-toc-more a {
        min-height: 1.7rem;
        font-size: 0.71rem;
        padding: 0 0.48rem;
    }

    .guide-toc-more summary {
        font-size: 0.75rem;
    }

    .guide-image-recommendations__grid {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }

    .guide-image-slot {
        padding: 0.5rem;
    }

    .guide-image-slot p {
        font-size: 0.75rem;
    }

    .guide-image-slot code {
        font-size: 0.67rem;
    }

    .guide-related-panel {
        padding: 0.75rem;
    }

    .guide-related-links a {
        min-height: 2rem;
        font-size: 0.8rem;
        padding: 0 0.55rem;
    }

    .guide-article-body {
        font-size: 0.95rem;
        line-height: 1.68;
    }
}
