/* =========================================================
   FINLIX CAPITAL — BLOG (list + single post)
   Extracted from style.css. Enqueued only on blog pages.
   ========================================================= */

/* Variables the original blog CSS used but never defined */
:root{
  --radius-md:16px;
  --radius-lg:24px;
  --transition:.35s ease;
}

/* Wrapper used in blog-detail.html */
.blog-container{width:100%;max-width:1320px;margin:0 auto;}


.blog-hero h1 {
    margin-top: 24px;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.08;
    font-weight: 500;
    letter-spacing: -2px;
}

    .blog-hero h1 strong {
        display: block;
        color: var(--gold-400);
        font-weight: 500;
    }

.blog-hero p {
    max-width: 650px;
    margin-top: 25px;
    color: var(--ink-200);
    font-size: 17px;
}
/* ========================================= BLOG SECTION ========================================= */

.blog-section {
    padding: 50px 0;
    background: var(--navy-900);
}
/* ========================================= BLOG HEADING ========================================= */

.blog-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 50px;
    margin-bottom: 55px;
}

    .blog-heading h2 {
        margin-top: 15px;
        font-size: 30px;
        line-height: 1.15;
        letter-spacing: -1px;font-weight: 700;
    text-transform: uppercase;
    }

        .blog-heading h2 span {
            color: var(--gold-400);
        }

    .blog-heading > p {
        max-width: 390px;
        color: var(--ink-400);
        font-size: 14px;
    }
/* ========================================= BLOG GRID ========================================= */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
/* ========================================= BLOG CARD ========================================= */

.blog-card {
    position: relative;
    background: var(--navy-800);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

    .blog-card:hover {
        transform: translateY(-8px);
        border-color: var(--line);
        box-shadow: 0 25px 60px rgba(0,0,0,.3);
    }
/* ========================================= BLOG IMAGE ========================================= */

.blog-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

    .blog-image::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( to top, rgba(7,12,20,.65), transparent 60% );
    }

    .blog-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .6s ease;
    }

.blog-card:hover .blog-image img {
    transform: scale(1.08);
}
/* ========================================= CATEGORY ========================================= */

.blog-category {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 2;
    padding: 7px 13px;
    background: rgba(7,12,20,.85);
    border: 1px solid var(--line);
    border-radius: 50px;
    color: var(--gold-400);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
}
/* ========================================= BLOG CONTENT ========================================= */

.blog-content {
    padding: 27px;
}
/* ========================================= META ========================================= */

.blog-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 15px;
    color: var(--ink-400);
    font-size: 12px;
}

    .blog-meta span {
        display: flex;
        align-items: center;
        gap: 7px;color: var(--ink-200);
    }

    .blog-meta i {
        color: var(--gold-500);
    }
/* ========================================= BLOG TITLE ========================================= */

.blog-content h3 {
    font-size: 18px;
    line-height: 1.35;
    font-weight: 600;
    color: var(--cream);
    transition: var(--transition);
}

.blog-card:hover h3 {
    color: var(--gold-400);
}
/* ========================================= BLOG DESCRIPTION ========================================= */

.blog-content p {
    margin-top: 14px;
    color: var(--ink-400);
    font-size: 14px;
    line-height: 1.75;
}
/* ========================================= READ MORE ========================================= */

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    color: var(--gold-400);
    font-size: 13px;
    font-weight: 700;
    transition: var(--transition);
}

    .read-more i {
        transition: transform .3s ease;
    }

    .read-more:hover {
        color: var(--cream);
    }

        .read-more:hover i {
            transform: translateX(5px);
        }



/* =========================================
   ARTICLE HERO
========================================= */
.article-hero {
    padding: 120px 0 75px;
    background: radial-gradient( circle at 75% 10%, rgba(232,192,125,.10), transparent 35% ), var(--navy-950);
}

.back-blog {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 55px;
    color: var(--ink-400);
    font-size: 13px;
    transition: .3s ease;
}

    .back-blog:hover {
        color: var(--gold-400);
    }

    .back-blog i {
        color: var(--gold-500);
    }


.article-category {
    color: var(--gold-400);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}


.article-hero h1 {
    margin-top: 18px;
    font-size: clamp(20px,6vw,35px);
    line-height: 1.08;
    letter-spacing: -2px;
    font-weight: 500;color: var(--gold-400);
}


.article-intro {
    margin-top: 25px;
    color: var(--ink-200);
    font-size: 16px;
    line-height: 1.8;
}


.article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 30px;
    color: var(--ink-400);
    font-size: 13px;
}

    .article-meta span {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .article-meta i {
        color: var(--gold-500);
    }


/* =========================================
   FEATURE IMAGE
========================================= */

.article-image-section {
    padding-bottom: 80px;
    background: var(--navy-950);
}

.article-feature-image {
    height: 650px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
}

    .article-feature-image img {
        width: 100%;
        height:auto;
/*         object-fit: cover; */
    }


/* =========================================
   ARTICLE SECTION
========================================= */
.article-hero{padding:50px 0px;}
.article-section {
    padding: 50px 0 50px;
    background: var(--navy-900);
}


.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 935px) 280px;
    justify-content: center;
    gap: 80px;
}


/* =========================================
   ARTICLE CONTENT
========================================= */

.article-content {
    color: var(--ink-200);
    font-size: 16px;
    line-height: 1.9;
}

    .article-content p {
        margin-bottom: 24px;
    }


    .article-content .article-lead {
        color: var(--cream);
        font-size: 16px;
        line-height: 1.8;
        margin-bottom: 45px;
    }


    .article-content h2 {
        margin: 55px 0 20px;
        color: var(--cream);
        font-size: 25px;
        line-height: 1.3;
        font-weight: 500;
    }


    .article-content h3 {
        margin: 32px 0 12px;
        color: var(--gold-400);
        font-size: 15px;
        font-weight: 600;
    }


/* =========================================
   HIGHLIGHT
========================================= */

.article-highlight {
    position: relative;
    margin: 45px 0;
    padding: 35px 40px;
    background: var(--navy-800);
    border-left: 3px solid var(--gold-500);
    border-radius: 0 15px 15px 0;
}

    .article-highlight i {
        color: var(--gold-500);
        font-size: 25px;
        margin-bottom: 15px;
    }

    .article-highlight p {
        margin: 0;
        color: var(--cream);
        font-size: 19px;
        font-style: italic;
        line-height: 1.7;
    }


/* =========================================
   TAGS
========================================= */

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 55px;
}

    .article-tags span {
        padding: 8px 14px;
        border: 1px solid var(--line);
        border-radius: 50px;
        color: var(--gold-400);
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .5px;
    }


/* =========================================
   AUTHOR
========================================= */

.article-author {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 55px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,.08);
}


.author-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    flex: 0 0 60px;
    border-radius: 50%;
    background: linear-gradient( 135deg, var(--gold-400), var(--gold-600) );
    color: var(--navy-950);
    font-weight: 800;
}


.article-author span {
    color: var(--gold-500);
    font-size: 10px;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.article-author h4 {
    margin: 3px 0;
    color: var(--cream);
    font-size: 18px;
}

.article-author p {
    margin: 0;
    color: var(--ink-400);
    font-size: 13px;
}


/* =========================================
   SIDEBAR
========================================= */

.article-sidebar {
    position: relative;
}


.share-box {
    position: sticky;
    top: 30px;
    padding: 25px;
    background: var(--navy-800);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 18px;
}


    .share-box > span {
        color: var(--ink-400);
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 1.5px;
    }


.share-buttons {
    display: flex;
    gap: 9px;
    margin-top: 16px;
}

    .share-buttons a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border: 1px solid var(--line);
        border-radius: 50%;
        color: var(--gold-400);
        transition: .3s ease;
    }

        .share-buttons a:hover {
            background: var(--gold-500);
            color: var(--navy-950);
            transform: translateY(-3px);
        }


/* =========================================
   SIDEBAR CONTACT
========================================= */

.sidebar-contact {
    margin-top: 25px;
    padding: 30px;
    background: linear-gradient( 145deg, #101b2a, var(--navy-800) );
    border: 1px solid var(--line);
    border-radius: 18px;
}


    .sidebar-contact h3 {
        margin: 18px 0 22px;
        color: var(--cream);
        font-size: 22px;
        line-height: 1.4;
        font-weight: 500;
    }

    .sidebar-contact > a {
        display: inline-flex;
        align-items: center;
        gap: 9px;
        color: var(--gold-400);
        font-size: 13px;
        font-weight: 700;
    }


/* =========================================
   RELATED
========================================= */

.related-section {
    padding: 90px 0 110px;
    background: var(--navy-950);
}

.related-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 40px;
}

    .related-heading h2 {
        margin-top: 12px;
        color: var(--cream);
        font-size: 42px;
        font-weight: 500;
    }

        .related-heading h2 span {
            color: var(--gold-400);
        }

    .related-heading > a {
        color: var(--gold-400);
        font-size: 13px;
        font-weight: 700;
    }


.related-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 25px;
}


.related-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    background: var(--navy-800);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 18px;
    overflow: hidden;
    transition: .35s ease;
}

    .related-card:hover {
        transform: translateY(-5px);
        border-color: var(--line);
    }


    .related-card > img {
        width: 100%;
        height: 100%;
        min-height: 210px;
        object-fit: cover;
    }


    .related-card > div {
        padding: 25px;
    }


        .related-card > div > span {
            color: var(--gold-500);
            font-size: 10px;
            letter-spacing: 1.5px;
            font-weight: 800;
        }


    .related-card h3 {
        margin: 12px 0 20px;
        color: var(--cream);
        font-size: 19px;
        line-height: 1.4;
    }

    .related-card a {
        color: var(--gold-400);
        font-size: 12px;
        font-weight: 700;
    }



/* =========================================
   WORDPRESS-SPECIFIC ADDITIONS
========================================= */

/* Blockquote in editor = "article-highlight" look */
.article-content blockquote{
    position:relative;
    margin:45px 0;
    padding:35px 40px 35px 40px;
    background:var(--navy-800);
    border-left:3px solid var(--gold-500);
    border-radius:0 15px 15px 0;
}
.article-content blockquote::before{
    content:"\f10d";
    display:block;
    font-family:"Font Awesome 6 Free";
    font-weight:900;
    color:var(--gold-500);
    font-size:25px;
    margin-bottom:15px;
}
.article-content blockquote p{
    margin:0;color:var(--cream);font-size:19px;font-style:italic;line-height:1.7;
}
.article-content blockquote cite{display:block;margin-top:12px;color:var(--ink-400);font-size:13px;font-style:normal;}

.article-content ul,.article-content ol{margin:0 0 24px 22px;}
.article-content li{margin-bottom:8px;}
.article-content a{color:var(--gold-400);text-decoration:underline;text-underline-offset:3px;}
.article-content a:hover{color:var(--cream);}
.article-content img{max-width:100%;height:auto;border-radius:14px;}
.article-content figure{margin:0 0 24px;}
.article-content figcaption{margin-top:8px;color:var(--ink-400);font-size:13px;text-align:center;}
.article-content table{width:100%;margin-bottom:24px;border-collapse:collapse;}
.article-content th,.article-content td{padding:10px 14px;border:1px solid rgba(255,255,255,.1);}
.article-tags a{
    padding:8px 14px;border:1px solid var(--line);border-radius:50px;
    color:var(--gold-400);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;
    transition:var(--transition);
}
.article-tags a:hover{background:var(--gold-500);color:var(--navy-950);}
.blog-content h3 a{color:inherit;}
.blog-image > a{display:block;height:100%;}
.author-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover;}
.blog-empty{padding:60px 0;text-align:center;color:var(--ink-400);}

/* Pagination */
.blog-pagination{margin-top:50px;}
.blog-pagination .nav-links{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;}
.blog-pagination .page-numbers{
    display:flex;align-items:center;justify-content:center;min-width:42px;height:42px;padding:0 14px;
    border:1px solid var(--line);border-radius:50px;color:var(--gold-400);font-size:13px;font-weight:700;
    transition:var(--transition);
}
.blog-pagination .page-numbers.current,
.blog-pagination a.page-numbers:hover{background:var(--gold-500);color:var(--navy-950);}

/* Archive title (category / tag pages) */
.blog-heading h2 em{font-style:normal;color:var(--gold-400);}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width:1199px){
  .article-layout{grid-template-columns:minmax(0,1fr) 260px;gap:50px;}
}
@media (max-width:991px){
  .blog-grid{grid-template-columns:repeat(2,1fr);}
  .blog-heading{flex-direction:column;align-items:flex-start;gap:18px;margin-bottom:40px;}
  .article-layout{grid-template-columns:1fr;gap:40px;}
  .share-box{position:static;}
  .article-feature-image{height:400px;}
}
@media (max-width:767px){
  .blog-grid{grid-template-columns:1fr;}
  .blog-image{height:auto;}
	.blog-image img {object-fit: inherit}
  .article-feature-image{height:250px;}
  .article-image-section{padding-bottom:40px;}
  .article-highlight,.article-content blockquote{padding:25px 22px;}
  .article-content h2{font-size:22px;margin-top:40px;}
  .article-meta{gap:14px;}
}
