/* ==========================================================================
   Blog Pages — Single Post Hero + Archive Card Grid
   ========================================================================== */

/* ── Single Post: Hero Image ─────────────────────── */
.sltv-single-hero {
    position: relative;
    width: 100%;
    min-height: 280px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 28px;
    background: #1e293b;
}

.sltv-single-hero__img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
}

.sltv-single-hero__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 30px 28px;
    background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.35) 60%, transparent 100%);
    color: #fff;
}

.sltv-single-hero__category {
    display: inline-block;
    background: #617ca3;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 12px;
    text-decoration: none;
}

.sltv-single-hero__category:hover {
    background: #4a6389;
    color: #fff;
    text-decoration: none;
}

.sltv-single-hero__title {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
    margin: 0 0 12px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.sltv-single-hero__meta {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    align-items: center;
}

.sltv-single-hero__meta a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
}

.sltv-single-hero__meta a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Hero placeholder when no image */
.sltv-single-hero--no-image {
    min-height: auto;
    background: linear-gradient(135deg, #617ca3 0%, #3d5a80 100%);
    border-radius: 12px;
}

.sltv-single-hero--no-image .sltv-single-hero__overlay {
    position: relative;
    background: none;
    padding: 36px 30px 28px;
}

/* Single post body */
.sltv-single-body {
    max-width: 100%;
}

.sltv-single-body p {
    font-size: 16px;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 22px;
}

.sltv-single-body h2,
.sltv-single-body h3,
.sltv-single-body h4 {
    color: #1e293b;
    margin-top: 32px;
    margin-bottom: 12px;
}

.sltv-single-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 8px 0;
}

.sltv-single-body blockquote {
    border-left: 4px solid #617ca3;
    background: #f8fafc;
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #475569;
}

.sltv-single-body blockquote p {
    font-size: 15px;
    margin-bottom: 0;
    color: #475569;
}

/* Tags / categories footer */
.sltv-single-footer {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.sltv-single-footer__label {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    margin-right: 4px;
}

.sltv-single-footer__tag {
    display: inline-block;
    padding: 5px 14px;
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.sltv-single-footer__tag:hover {
    background: #617ca3;
    color: #fff;
    text-decoration: none;
}

/* ── Archive: Card Grid ──────────────────────────── */
.sltv-archive-header {
    margin-bottom: 24px;
}

.sltv-archive-header__title {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px;
    line-height: 1.3;
}

.sltv-archive-header__desc {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* Card grid — reuses .sltv-blog-card styles from blog-slider.css */
.sltv-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 32px;
}

@media (max-width: 900px) {
    .sltv-archive-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (max-width: 600px) {
    .sltv-archive-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .sltv-single-hero__title {
        font-size: 22px;
    }

    .sltv-single-hero__img {
        height: 240px;
    }

    .sltv-single-hero__overlay {
        padding: 40px 20px 20px;
    }
}

/* Archive cards — same design as slider cards but in a grid */
.sltv-archive-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sltv-archive-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.sltv-archive-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.sltv-archive-card__link:hover,
.sltv-archive-card__link:focus {
    text-decoration: none;
    color: inherit;
}

.sltv-archive-card__image {
    position: relative;
    width: 100%;
    padding-top: 58%;
    overflow: hidden;
    background: #f1f5f9;
}

.sltv-archive-card__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.sltv-archive-card:hover .sltv-archive-card__img {
    transform: scale(1.05);
}

.sltv-archive-card__placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
}

.sltv-archive-card__category {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: #617ca3;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    line-height: 1.4;
}

.sltv-archive-card__body {
    padding: 16px 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.sltv-archive-card__date {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    display: none;
}

.sltv-archive-card__title {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.35;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sltv-archive-card__excerpt {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.55;
    margin: 0 0 12px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sltv-archive-card__read-more {
    font-size: 13px;
    font-weight: 600;
    color: #617ca3;
    transition: color 0.2s ease;
}

.sltv-archive-card:hover .sltv-archive-card__read-more {
    color: #4a6389;
}

/* ── Pagination ──────────────────────────────────── */
.sltv-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 8px 0 20px;
}

.sltv-pagination a,
.sltv-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s ease;
    background: #fff;
}

.sltv-pagination a:hover {
    background: #617ca3;
    border-color: #617ca3;
    color: #fff;
    text-decoration: none;
}

.sltv-pagination .current {
    background: #617ca3;
    border-color: #617ca3;
    color: #fff;
    font-weight: 700;
}

.sltv-pagination .dots {
    border: none;
    background: none;
    color: #94a3b8;
    min-width: auto;
    padding: 0 4px;
}

/* ── Blog Page: Category Sections ────────────────── */
.sltv-blog-section {
    margin-bottom: 36px;
}

.sltv-blog-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
}

.sltv-blog-section__title {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.3;
}

.sltv-blog-section__title a {
    color: #1e293b;
    text-decoration: none;
}

.sltv-blog-section__title a:hover {
    color: #617ca3;
}

.sltv-blog-section__more {
    font-size: 13px;
    font-weight: 600;
    color: #617ca3;
    text-decoration: none;
    white-space: nowrap;
}

.sltv-blog-section__more:hover {
    color: #4a6389;
    text-decoration: none;
}

/* Subcategory chips */
.sltv-blog-subcats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.sltv-blog-subcat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #f1f5f9;
    color: #475569;
    font-size: 13px;
    font-weight: 500;
    border-radius: 20px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.sltv-blog-subcat:hover {
    background: #617ca3;
    color: #fff;
    text-decoration: none;
}

.sltv-blog-subcat i {
    font-size: 11px;
}
