/* =========================================================
   Knowledge Base Page – Page-specific styles
   ========================================================= */

/* ---- Hero Section ---- */
.kb-hero-cta {
    margin-top: 24px;
}

/* ---- Featured Article Section ---- */
.kb-featured-section {
    padding: 60px 0;
}

.kb-featured-card {
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
}

.kb-featured-card__heading {
    margin-top: 16px;
}

.kb-featured-card__excerpt {
    margin: 16px 0;
    color: var(--muted);
    font-size: 1rem;
}

.kb-featured-card__meta {
    display: flex;
    gap: 16px;
    margin: 20px 0;
    font-size: 0.9rem;
    color: var(--muted);
}

.kb-featured-card__image {
    border-radius: 16px;
    overflow: hidden;
    height: 300px;
    background: linear-gradient(135deg, var(--accent-soft), rgba(187, 122, 31, 0.06));
}

.kb-featured-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---- Blog Articles Section ---- */
.kb-article-thumb {
    border-radius: 12px;
    overflow: hidden;
    height: 180px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--accent-soft), rgba(187, 122, 31, 0.06));
}

.kb-article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kb-article-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
}

.kb-article-meta {
    display: flex;
    gap: 12px;
    margin: 12px 0;
    font-size: 0.85rem;
    color: var(--muted);
}

/* ---- Learning Videos Section ---- */
.kb-video-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.kb-video-thumb {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    height: 180px;
    background: linear-gradient(135deg, var(--accent-soft), rgba(187, 122, 31, 0.06));
}

.kb-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kb-video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
}

.kb-video-play-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
}

.kb-video-play-btn span {
    font-size: 28px;
}

.kb-video-duration {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
}

.kb-video-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.kb-video-body h3 {
    margin-top: 0;
}

.kb-video-meta {
    display: flex;
    gap: 12px;
    margin: 12px 0;
    font-size: 0.85rem;
    color: var(--muted);
}

.kb-video-body .inline-link {
    margin-top: auto;
}

/* ---- Subscription CTA Section ---- */
.kb-cta-card {
    padding: 50px;
    text-align: center;
    background: linear-gradient(135deg, var(--deep), #1a416d);
    color: white;
    border: none;
}

.kb-cta-card__eyebrow {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    display: inline-block;
}

.kb-cta-card__heading {
    color: white;
    margin-top: 16px;
}

.kb-cta-card__intro {
    color: rgba(255, 255, 255, 0.85);
    margin: 16px 0;
}

.kb-cta-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 32px auto;
    text-align: left;
}

.kb-cta-benefit {
    display: flex;
    gap: 12px;
}

.kb-cta-benefit__icon {
    font-size: 20px;
    flex-shrink: 0;
}

.kb-cta-benefit__text {
    color: rgba(255, 255, 255, 0.9);
}

.kb-cta-card__btn {
    margin-top: 24px;
}
