/* ── Page-specific styles for guides.php ── */
.guides-page-wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 3rem 1.5rem 5rem;
}

/* ── Intro block ── */
.guides-intro {
    background: var(--note-bg);
    border: 1px solid var(--note-border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin-bottom: 2.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.guides-intro-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 2px;
}

.guides-intro-text {
    color: var(--note-text);
    font-size: 14px;
    line-height: 1.7;
}

.guides-intro-text strong {
    font-weight: 600;
}

/* ── Section label ── */
.section-label {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: .85rem;
}

/* ── Guide cards grid ── */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.guide-card {
    background: #fff;
    border: 1px solid var(--step-num-border);
    border-radius: 10px;
    padding: 1.25rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: .45rem;
    transition: border-color .15s, box-shadow .15s, transform .15s;
    position: relative;
    overflow: hidden;
}

.guide-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand), var(--brand-dark));
    opacity: 0;
    transition: opacity .2s;
}

.guide-card:hover {
    border-color: var(--brand);
    box-shadow: 0 4px 16px rgba(37, 211, 102, .12);
    transform: translateY(-2px);
    text-decoration: none;
}

.guide-card:hover::before {
    opacity: 1;
}

.guide-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .3rem;
    flex-shrink: 0;
}

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

.guide-card-header {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}

.guide-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    margin: 0;
    line-height: 1.3;
}

.guide-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.55;
    flex: 1;
    margin: 0;
}

.guide-card-arrow {
    font-size: 13px;
    color: var(--brand-dark);
    align-self: flex-end;
    margin-top: .2rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity .15s;
}

.guide-card:hover .guide-card-arrow {
    opacity: 1;
}

/* VIP badge - reuses guide.css .badge-vip */

/* ── Divider ── */
.guides-divider {
    border: none;
    border-top: 1px solid var(--step-line);
    margin: 2rem 0;
}

/* ── Resources grid ── */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: .9rem;
    margin-bottom: 2.5rem;
}

.resource-card {
    background: var(--step-num-bg);
    border: 1px solid var(--step-num-border);
    border-radius: 10px;
    padding: 1rem 1.1rem;
    text-decoration: none;
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    transition: border-color .15s, background .15s;
}

.resource-card:hover {
    border-color: var(--brand);
    background: var(--note-bg);
    text-decoration: none;
}

.resource-card-icon {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    background: #fff;
    border: 1px solid var(--step-num-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.resource-card-icon i,
.resource-card-icon svg {
    font-size: 14px;
    color: var(--brand-dark);
    width: 14px;
    height: 14px;
}

.resource-card-title {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.3;
}

.resource-card-desc {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
    line-height: 1.4;
}

/* ── CTA strip ── */
.guides-cta {
    background: var(--note-bg);
    border: 1px solid var(--note-border);
    border-radius: 10px;
    padding: 1.4rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.guides-cta-text h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--note-text);
    margin: 0 0 3px;
}

.guides-cta-text p {
    font-size: 13px;
    color: var(--note-text);
    margin: 0;
    opacity: .85;
}

.guides-cta-btn {
    background: var(--brand);
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: .6rem 1.25rem;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.guides-cta-btn:hover {
    background: var(--brand-dark);
    color: #fff;
    text-decoration: none;
}

/* ── Responsive ── */
@media (max-width: 576px) {
    .guides-page-wrap {
        padding: 2rem 1rem 4rem;
    }

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

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

    .guides-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .guides-intro {
        flex-direction: column;
        gap: .5rem;
    }
}

@media (max-width: 380px) {
    .resources-grid {
        grid-template-columns: 1fr;
    }
}