/* Velora Blog — matches velora-space.css tokens */
.velora-blog-page {
    position: relative;
    z-index: 1;
    padding: 0 0 4rem;
}

.velora-blog-page .velora-container {
    max-width: var(--velora-max);
}

/* ─── Hero / page head ─── */
.velora-blog-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.velora-blog-hero .velora-section-sub {
    margin-left: auto;
    margin-right: auto;
}

/* ─── Grid ─── */
.velora-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.velora-blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.velora-blog-card:hover {
    transform: translateY(-4px);
    border-color: rgba(247, 183, 49, .28);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}

.velora-blog-card--featured {
    grid-column: span 2;
}

.velora-blog-card__thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.velora-blog-card--featured .velora-blog-card__thumb {
    aspect-ratio: 21 / 9;
}

.velora-blog-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.velora-blog-card:hover .velora-blog-card__thumb img {
    transform: scale(1.04);
}

.velora-blog-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(4, 5, 10, .75) 100%);
    pointer-events: none;
}

.velora-blog-card__meta {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .65rem;
    z-index: 1;
}

.velora-blog-card__tag,
.velora-blog-card__date {
    padding: .35rem .7rem;
    border-radius: 50px;
    background: rgba(4, 5, 10, .72);
    backdrop-filter: blur(8px);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.velora-blog-card__tag {
    color: var(--gold);
    border: 1px solid rgba(247, 183, 49, .25);
}

.velora-blog-card__date {
    color: var(--text);
}

.velora-blog-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.35rem 1.4rem 1.4rem;
}

.velora-blog-card__title {
    margin: 0 0 .65rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.4;
}

.velora-blog-card__title a {
    color: #fff !important;
    text-decoration: none !important;
    transition: color .2s;
}

.velora-blog-card__title a:hover {
    color: var(--gold) !important;
}

.velora-blog-card__excerpt {
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.7;
    margin: 0 0 1rem;
    flex: 1;
}

.velora-blog-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding-top: .85rem;
    border-top: 1px solid var(--border);
}

.velora-blog-card__read {
    color: var(--muted);
    font-size: .78rem;
    font-weight: 500;
}

.velora-blog-card__link {
    display: inline-flex !important;
    align-items: center;
    gap: .35rem;
    color: var(--gold) !important;
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: gap .2s;
}

.velora-blog-card__link:hover {
    gap: .55rem;
    color: #FFD700 !important;
}

/* ─── Pagination ─── */
.velora-blog-pagination {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
}

.velora-space-page .velora-blog-pagination .pagination {
    gap: .35rem;
    margin: 0;
}

.velora-space-page .velora-blog-pagination .page-link {
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--muted);
    border-radius: 8px !important;
    padding: .45rem .85rem;
    min-width: 38px;
    text-align: center;
}

.velora-space-page .velora-blog-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--gold), #FF8C00);
    border-color: transparent;
    color: #000;
    font-weight: 700;
}

.velora-space-page .velora-blog-pagination .page-item.disabled .page-link {
    opacity: .4;
}

.velora-space-page .velora-blog-pagination .d-flex.justify-content-between.flex-fill {
    display: none !important;
}

.velora-space-page .velora-blog-pagination .flex-sm-fill {
    display: flex !important;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: center;
    justify-content: center !important;
    width: 100%;
}

/* ─── Detail page ─── */
.velora-blog-detail-wrap {
    padding-bottom: 4rem;
}

.velora-blog-detail {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    padding: 1.5rem;
}

.velora-blog-detail__hero img {
    width: 100%;
    border-radius: 14px;
    display: block;
    margin-bottom: 1.25rem;
}

.velora-blog-detail__chips {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1rem;
}

.velora-blog-detail__chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .4rem .75rem;
    border-radius: 50px;
    background: rgba(247, 183, 49, .08);
    border: 1px solid rgba(247, 183, 49, .2);
    color: var(--gold);
    font-size: .75rem;
    font-weight: 600;
}

.velora-blog-detail__title {
    font-family: 'Space Grotesk', sans-serif;
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 1.25rem;
}

.velora-blog-detail__content {
    color: var(--muted) !important;
    font-size: .95rem;
    line-height: 1.85;
}

.velora-blog-detail__content p,
.velora-blog-detail__content li,
.velora-blog-detail__content span,
.velora-blog-detail__content div {
    color: var(--muted) !important;
}

.velora-blog-detail__content h1,
.velora-blog-detail__content h2,
.velora-blog-detail__content h3,
.velora-blog-detail__content h4,
.velora-blog-detail__content h5 {
    color: #fff !important;
    font-family: 'Space Grotesk', sans-serif;
    margin-top: 1.75rem;
    margin-bottom: .65rem;
}

.velora-blog-detail__content p {
    margin-bottom: 1rem;
}

.velora-blog-detail__content ul,
.velora-blog-detail__content ol {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.velora-blog-detail__content li {
    margin-bottom: .45rem;
}

.velora-blog-detail__content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 1rem 0;
}

.velora-blog-detail__content a {
    color: var(--gold) !important;
}

.velora-blog-share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .85rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.velora-blog-share__label {
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: .95rem;
    font-weight: 600;
    margin: 0;
}

.velora-blog-share__links {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.velora-blog-share__links a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--border);
    color: var(--muted) !important;
    text-decoration: none !important;
    transition: all .2s;
}

.velora-blog-share__links a:hover {
    background: rgba(247, 183, 49, .12);
    border-color: rgba(247, 183, 49, .35);
    color: var(--gold) !important;
}

/* ─── Sidebar ─── */
.velora-blog-sidebar {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.35rem;
    position: sticky;
    top: 6rem;
}

.velora-blog-sidebar__title {
    font-family: 'Space Grotesk', sans-serif;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 1rem;
    padding-bottom: .85rem;
    border-bottom: 1px solid var(--border);
}

.velora-blog-sidebar__item {
    display: flex;
    gap: .85rem;
    padding: .85rem 0;
    border-bottom: 1px solid var(--border);
}

.velora-blog-sidebar__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.velora-blog-sidebar__thumb {
    width: 68px;
    min-width: 68px;
    height: 68px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--border);
}

.velora-blog-sidebar__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.velora-blog-sidebar__item-title {
    margin: 0 0 .3rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: .85rem;
    line-height: 1.4;
    font-weight: 600;
}

.velora-blog-sidebar__item-title a {
    color: #fff !important;
    text-decoration: none !important;
}

.velora-blog-sidebar__item-title a:hover {
    color: var(--gold) !important;
}

.velora-blog-sidebar__item-date {
    color: var(--muted);
    font-size: .75rem;
}

/* ─── Back link ─── */
.velora-blog-more{margin-top:2rem}
.velora-blog-back{
    display:inline-flex;align-items:center;gap:.4rem;color:var(--muted);
    text-decoration:none;font-size:.85rem;font-weight:500;margin-bottom:1.25rem;transition:color .2s
}
.velora-blog-back:hover{color:var(--gold)}

@media (max-width: 991px) {
    .velora-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .velora-blog-card--featured {
        grid-column: span 2;
    }

    .velora-blog-sidebar {
        position: static;
    }
}

@media (max-width: 767px) {
    .velora-blog-grid {
        grid-template-columns: 1fr;
    }

    .velora-blog-card--featured {
        grid-column: span 1;
    }

    .velora-blog-card--featured .velora-blog-card__thumb {
        aspect-ratio: 16 / 10;
    }
}
