/* ===== NextyHost Guides section (dark site theme) ===== */
.guide-wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 30px 20px 70px;
    background: #020617;
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.7;
}

.guide-crumb {
    font-size: 14px;
    color: #94a3b8;
    margin: 0 0 18px;
    line-height: 1.6;
}

.guide-crumb a {
    color: #93c5fd;
    text-decoration: none;
}

.guide-crumb a:hover {
    text-decoration: underline;
}

.guide-layout {
    display: grid;
    grid-template-columns: 285px 1fr;
    gap: 28px;
    align-items: start;
}

.guide-hero {
    margin-bottom: 26px;
}

.guide-hero h1 {
    font-size: clamp(1.9rem, 4vw, 2.7rem);
    color: #ffffff;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin: 0 0 10px;
}

.guide-hero p {
    color: #94a3b8;
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

/* ===== Sidebar ===== */
.gs {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 18px;
    padding: 18px;
    position: sticky;
    top: 16px;
}

.gs h2 {
    font-size: 15px;
    color: #ffffff;
    font-weight: 800;
    margin: 0 0 4px;
}

.gs-sub {
    font-size: 12.5px;
    color: #64748b;
    margin: 0 0 10px;
}

.gs-cat {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    color: #60a5fa;
    margin: 14px 0 6px;
}

.gs-link {
    display: block;
    padding: 8px 10px;
    border-radius: 8px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 13.5px;
    line-height: 1.45;
    border-left: 3px solid transparent;
}

.gs-link:hover {
    background: #1e293b;
    color: #ffffff;
}

.gs-link.gs-active {
    background: rgba(59, 130, 246, 0.12);
    color: #93c5fd;
    font-weight: 600;
    border-left-color: #3b82f6;
}

.gs-cta {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #1e293b;
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.6;
}

.gs-cta a {
    color: #93c5fd;
    text-decoration: none;
    font-weight: 600;
}

.gs-cta a:hover {
    text-decoration: underline;
}

/* ===== Guide content ===== */
.guide-content {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 18px;
    padding: 28px 30px;
    color: #cbd5e1;
    font-size: 15.5px;
    line-height: 1.75;
}

.guide-content h2 {
    font-size: 1.42rem;
    color: #ffffff;
    font-weight: 800;
    line-height: 1.35;
    margin: 30px 0 10px;
    padding-top: 6px;
}

.guide-content h2:first-child {
    margin-top: 0;
}

.guide-content h3 {
    font-size: 1.15rem;
    color: #e2e8f0;
    font-weight: 700;
    margin: 22px 0 8px;
}

.guide-content p {
    margin: 0 0 14px;
}

.guide-content ol,
.guide-content ul {
    margin: 0 0 16px;
    padding-left: 22px;
}

.guide-content li {
    margin-bottom: 7px;
}

.guide-content code {
    background: #020617;
    border: 1px solid #1e293b;
    border-radius: 6px;
    padding: 1px 7px;
    font-size: 14px;
    color: #e2e8f0;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.guide-content a {
    color: #93c5fd;
}

.guide-quick {
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: 14px;
    padding: 16px 18px;
    margin: 0 0 24px;
}

.guide-quick strong {
    color: #93c5fd;
}

.guide-note {
    background: rgba(250, 204, 21, 0.08);
    border: 1px solid rgba(250, 204, 21, 0.3);
    border-radius: 14px;
    padding: 14px 18px;
    margin: 0 0 16px;
    font-size: 14.5px;
    color: #cbd5e1;
}

.guide-note strong {
    color: #fde68a;
}

.guide-help {
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid #1e293b;
    font-size: 14.5px;
    color: #94a3b8;
}

.guide-help a {
    color: #93c5fd;
    font-weight: 600;
    text-decoration: none;
}

/* ===== Guides index cards ===== */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
    margin-bottom: 36px;
}

.gcard {
    display: block;
    background: #020617;
    border: 1px solid #1e293b;
    border-radius: 14px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.gcard:hover {
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.12);
}

.gcard-cat {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #93c5fd;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: 999px;
    padding: 3px 10px;
    margin-bottom: 10px;
}

.gcard h3 {
    font-size: 16.5px;
    color: #ffffff;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.4;
}

.gcard p {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 900px) {
    .guide-layout {
        grid-template-columns: 1fr;
    }

    .gs {
        position: static;
    }

    .guide-content {
        padding: 22px 18px;
    }
}
