/*
Theme Name: Vortex Blog
Theme URI: https://vortexdigitallabs.com
Author: Vortex Digital Labs
Description: Custom blog theme matching the main Vortex Digital Labs site header, footer and dark visual style.
Version: 2.0
Text Domain: vortex-blog
*/

/* ==========================================================================
   Supplemental CSS only. The site's own bootstrap.css / main.css / spacing.css
   etc. already ship with the main PHP site and are loaded via the copied
   header.php <link> tags — do not duplicate those rules here.
   ========================================================================== */

:root {
    --vb-accent: #336EF9;
    --vb-white: #F5F7F5;
    --vb-dark: #121212;
    --vb-line: rgba(245, 247, 245, .12);
    --vb-muted: rgba(245, 247, 245, .6);
}

/* ---------- Hero ---------- */
.vb-hero {
    position: relative;
    padding: 220px 0 90px;
    background: linear-gradient(135deg, #0d0d0d 0%, #121212 60%, #0b1730 100%);
    overflow: hidden;
}

.vb-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(51, 110, 249, .18), transparent 60%);
    pointer-events: none;
}

.vb-hero-inner {
    position: relative;
    z-index: 2;
}
.tp-blog-list-text{
	text-align:left!important;
}

.vb-hero .tp-blog-list-text span {
    color: var(--vb-accent);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.vb-hero h1 {
    font-size: clamp(2.4rem, 5.5vw, 4.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
    margin-top: 14px;
    margin-bottom: 18px;
		text-align:left!important;
}

.vb-hero p {
    max-width: 640px;
    color: var(--vb-muted);
    font-size: 1.05rem;
    line-height: 1.7;
		text-align:left!important;
}

/* Category filter pills */
.vb-cat-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 40px 0 10px;
    position: relative;
    z-index: 3;
}

.vb-cat-filter a {
    display: inline-block;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    border: 1px solid var(--vb-line);
    border-radius: 30px;
    color: rgba(245, 247, 245, .75);
    transition: all .25s ease;
}

.vb-cat-filter a:hover,
.vb-cat-filter a.is-active {
    background: var(--vb-accent);
    border-color: var(--vb-accent);
    color: #fff;
}

/* ---------- Card grid (listing + related) ---------- */
.vb-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
    padding: 80px 0 20px;
}

.vb-grid-related {
    padding-top: 0;
}

.vb-card {
    display: flex;
    flex-direction: column;
    background: #161616;
    border: 1px solid var(--vb-line);
    border-radius: 14px;
    overflow: hidden;
    transition: transform .3s ease, border-color .3s ease;
}

.vb-card:hover {
    transform: translateY(-6px);
    border-color: rgba(51, 110, 249, .45);
}

.vb-card-featured {
    grid-column: span 3;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
}

.vb-card-featured .vb-card-thumb {
    aspect-ratio: auto;
    height: 100%;
}

.vb-card-featured .vb-card-body {
    justify-content: center;
}

.vb-card-featured .vb-card-title {
    font-size: 30px;
}

.vb-card-thumb {
    position: relative;
    display: block;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #1e1e1e;
}

.vb-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.vb-card:hover .vb-card-thumb img {
    transform: scale(1.07);
}

.vb-card-cat {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #fff;
    background: rgba(20, 20, 20, .55);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .18);
    padding: 6px 14px;
    border-radius: 30px;
}

.vb-card-flag {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #fff;
    background: var(--vb-accent);
    padding: 6px 14px;
    border-radius: 30px;
}

.vb-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 26px;
}

.vb-card-meta {
    font-size: 13px;
    color: var(--vb-muted);
    margin-bottom: 12px;
}

.vb-dot {
    margin: 0 6px;
    opacity: .6;
}

.vb-card-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 12px;
}

.vb-card-title a {
    color: #fff;
    transition: color .25s ease;
}

.vb-card-title a:hover {
    color: var(--vb-accent);
}

.vb-card-excerpt {
    color: var(--vb-muted);
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 22px;
    flex: 1;
}

.vb-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--vb-line);
}

.vb-card-author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--vb-muted);
}

.vb-card-author img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.vb-card-link {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: var(--vb-accent);
    white-space: nowrap;
}

.vb-card-link i {
    margin-left: 6px;
    transition: transform .25s ease;
}

.vb-card:hover .vb-card-link i {
    transform: translateX(4px);
}

@media (max-width: 991px) {
    .vb-grid { grid-template-columns: repeat(2, 1fr); }
    .vb-card-featured { grid-column: span 2; grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
    .vb-grid { grid-template-columns: 1fr; padding: 50px 0 10px; }
    .vb-card-featured { grid-column: span 1; }
}

/* ---------- Pagination ---------- */
.vb-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 40px 0 100px;
}

.vb-pagination a,
.vb-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid var(--vb-line);
    color: rgba(245, 247, 245, .75);
    font-size: 14px;
    font-weight: 600;
}

.vb-pagination .current {
    background: var(--vb-accent);
    border-color: var(--vb-accent);
    color: #fff;
}

.vb-pagination a:hover {
    border-color: var(--vb-accent);
    color: #fff;
}

.vb-empty {
    padding: 80px 0;
    text-align: center;
    color: var(--vb-muted);
}

/* ==========================================================================
   Single post
   ========================================================================== */

.vb-breadcrumb {
    padding: 150px 0 20px;
    background: #0d0d0d;
    font-size: 13px;
    color: var(--vb-muted);
}

.vb-breadcrumb a {
    color: var(--vb-muted);
}

.vb-breadcrumb a:hover {
    color: var(--vb-accent);
}

.vb-breadcrumb span {
    margin: 0 8px;
    opacity: .5;
}

.vb-breadcrumb .is-current {
    color: #fff;
    opacity: 1;
}

.vb-post-head {
    padding: 30px 0 40px;
    max-width: 1100px!important;
    margin: 0 auto;
}

.vb-post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 13px;
    color: var(--vb-muted);
    margin-bottom: 20px;
}

.vb-post-cat {
    color: #fff;
    background: var(--vb-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .03em;
    font-size: 12px;
    padding: 5px 14px;
    border-radius: 30px;
    margin-right: 10px;
}

.vb-post-title {
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
    line-height: 1.2;
}

.vb-post-thumb {
    max-width: 1100px;
    margin: 0 auto 60px;
}

.vb-post-thumb img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
}

.vb-post-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    padding-bottom: 40px;
}

.vb-post-content {
    color: rgba(245, 247, 245, .82);
    font-size: 18px;
    line-height: 1.85;
}

.vb-post-content h2,
.vb-post-content h3,
.vb-post-content h4 {
    color: #fff;
    margin: 42px 0 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.vb-post-content h2 { font-size: 28px; scroll-margin-top: 120px; }
.vb-post-content h3 { font-size: 22px; scroll-margin-top: 120px; }

.vb-post-content p {
    margin-bottom: 22px;
}

.vb-post-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 30px 0;
}

.vb-post-content a {
    color: #6fa1ff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.vb-post-content ul,
.vb-post-content ol {
    margin: 0 0 22px 22px;
}

.vb-post-content li {
    margin-bottom: 10px;
}

.vb-post-content blockquote {
    border-left: 3px solid var(--vb-accent);
    padding: 6px 0 6px 26px;
    margin: 34px 0;
    font-size: 22px;
    color: #fff;
    font-style: italic;
}

/* Tags */
.vb-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding-top: 34px;
    margin-top: 34px;
    border-top: 1px solid var(--vb-line);
}

.vb-tags-label {
    color: var(--vb-muted);
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    margin-right: 4px;
}

.vb-tags a {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: rgba(245, 247, 245, .75);
    border: 1px solid var(--vb-line);
    border-radius: 30px;
    padding: 6px 16px;
}

.vb-tags a:hover {
    color: #fff;
    border-color: var(--vb-accent);
    background: var(--vb-accent);
}

/* Author box */
.vb-author-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: #161616;
    border: 1px solid var(--vb-line);
    border-radius: 14px;
    padding: 28px;
    margin-top: 40px;
}

.vb-author-box img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    flex-shrink: 0;
}

.vb-author-label {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .04em;
    color: var(--vb-muted);
}

.vb-author-box h4 {
    color: #fff;
    font-size: 18px;
    margin: 4px 0 8px;
}

.vb-author-box p {
    color: var(--vb-muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Sidebar */
.vb-post-sidebar {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.vb-side-box {
    background: #171717;
    border: 1px solid var(--vb-line);
    border-radius: 14px;
    padding: 26px;
}

.vb-side-box h5 {
    color: rgba(245, 247, 245, .55);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--vb-line);
}

/* Share links: stacked full-width buttons */
.vb-side-share {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vb-side-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(245, 247, 245, .8);
    border: 1px solid var(--vb-line);
    border-radius: 8px;
    padding: 12px 16px;
    transition: all .25s ease;
}

.vb-side-share a:hover {
    border-color: var(--vb-accent);
    color: #fff;
    background: rgba(51, 110, 249, .12);
}

/* In this article TOC */
.vb-toc {
    display: flex;
    flex-direction: column;
}

.vb-toc li {
    border-bottom: 1px solid var(--vb-line);
}

.vb-toc li:last-child {
    border-bottom: none;
}

.vb-toc a {
    display: block;
    padding: 12px 2px;
    font-size: 14px;
    line-height: 1.4;
    color: rgba(245, 247, 245, .55);
    transition: color .2s ease, padding-left .2s ease;
}

.vb-toc a:hover,
.vb-toc a.is-active {
    color: var(--vb-accent);
    padding-left: 6px;
}

/* Work with us box */
.vb-side-cta {
    background: linear-gradient(150deg, #4b3ff0, #336EF9);
    border: none;
}

.vb-side-cta h5 {
    color: rgba(255, 255, 255, .8);
    border-bottom-color: rgba(255, 255, 255, .22);
}

.vb-side-cta p {
    color: rgba(255, 255, 255, .92);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 22px;
}

.vb-sidebar-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    background: var(--vb-accent);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    padding: 13px 20px;
    border-radius: 8px;
    transition: opacity .25s ease;
}

.vb-sidebar-btn:hover {
    opacity: .85;
    color: #fff;
}

@media (max-width: 900px) {
    .vb-post-layout { grid-template-columns: 1fr; }
    .vb-sidebar-box { position: static; }
}

/* Related */
.vb-related {
    padding: 40px 0 20px;
}

.vb-related h3 {
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 34px;
}

/* ---------- CTA banner ---------- */
.vb-cta {
    position: relative;
    padding: 80px 0;
    margin-top: 20px;
    background: linear-gradient(135deg, #0d0d0d 0%, #121212 55%, #0b1730 100%);
    text-align: center;
    overflow: hidden;
}

.vb-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(51, 110, 249, .18), transparent 60%);
    pointer-events: none;
}

.vb-cta-inner {
    position: relative;
    z-index: 2;
    max-width: 640px;
    margin: 0 auto;
}

.vb-cta h2 {
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
}

.vb-cta p {
    color: var(--vb-muted);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 34px;
}

.vb-cta-btn {
    display: inline-block;
    background: var(--vb-accent);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    padding: 15px 36px;
    border-radius: 8px;
    transition: opacity .25s ease;
}

.vb-cta-btn:hover {
    opacity: .85;
    color: #fff;
}

/* ==========================================================================
   Footer spacing fix (blog theme only — main PHP site's footer.php /
   includes are untouched). The original footer has a large 120px
   pt-120 top padding meant for pages with a tall hero right above it;
   on the blog it stacks with the CTA banner's own padding and creates
   a big empty gap before "All rights reserved". Tighten it here.
   ========================================================================== */
.tp-footer-3-area.pt-120 {
    padding-top: 60px !important;
}

.tp-footer-3-widget-wrapper .mb-60 {
    margin-bottom: 30px !important;
}
