/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
/* ================================================================
   TECHFUTURIST — SINGLE ARTICLE
   ================================================================ */

.tf-single-post {
    background: #ffffff;
}


/* ================================================================
   ARTICLE HERO
   ================================================================ */

.tf-article__hero {
    padding-top: clamp(4rem, 8vw, 7rem);
    padding-bottom: clamp(3rem, 6vw, 5rem);
    background: #ffffff;
}

.tf-article__hero-inner {
    max-width: 900px;
    margin-inline: auto;
    text-align: center;
}


.tf-article__category {
    display: inline-flex;
    align-items: center;
    padding: .45rem .8rem;

    border-radius: 999px;

    background: rgba(46, 107, 230, .08);

    color: var(--tf-blue-600, #2E6BE6);

    font-size: .72rem;
    font-weight: 700;

    letter-spacing: .08em;
    text-transform: uppercase;

    margin-bottom: 1.5rem;
}


.tf-article__title {
    max-width: 850px;
    margin: 0 auto 1.4rem;

    font-family:
        var(--tf-font-display, Inter, sans-serif);

    font-size:
        clamp(2.4rem, 6vw, 5rem);

    line-height: 1;

    letter-spacing: -.055em;

    font-weight: 700;

    color:
        var(--tf-navy-950, #0F1E3D);
}


.tf-article__excerpt {
    max-width: 700px;

    margin: 0 auto 1.5rem;

    font-size:
        clamp(1rem, 1.5vw, 1.2rem);

    line-height: 1.7;

    color:
        var(--tf-text-muted, #667085);
}


.tf-article__meta {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: .7rem;

    font-size: .8rem;

    color:
        var(--tf-text-muted, #667085);
}


.tf-article__meta-divider {
    opacity: .45;
}


/* ================================================================
   FEATURED IMAGE
   ================================================================ */

.tf-article__featured {
    position: relative;

    margin-bottom:
        clamp(3rem, 7vw, 5rem);

    overflow: hidden;

    border-radius:
        clamp(18px, 3vw, 30px);

    box-shadow:
        0 25px 70px
        rgba(15, 30, 61, .10);
}


.tf-article__featured-image {
    display: block;

    width: 100%;
    height: auto;

    object-fit: cover;
}


/* ================================================================
   ARTICLE BODY
   ================================================================ */

.tf-article__layout {
    display: block;

    max-width: 780px;

    margin-inline: auto;

    padding-bottom:
        clamp(3rem, 7vw, 6rem);
}


.tf-article__content {
    font-size: 1.05rem;

    line-height: 1.85;

    color:
        var(--tf-text-muted, #667085);
}


.tf-article__content p {
    margin-bottom: 1.6rem;
}


.tf-article__content h2 {
    margin-top: 3rem;
    margin-bottom: 1rem;

    font-family:
        var(--tf-font-display, Inter, sans-serif);

    font-size:
        clamp(1.6rem, 3vw, 2.2rem);

    line-height: 1.15;

    letter-spacing: -.035em;

    color:
        var(--tf-navy-950, #0F1E3D);
}


.tf-article__content h3 {
    margin-top: 2.5rem;
    margin-bottom: .8rem;

    font-family:
        var(--tf-font-display, Inter, sans-serif);

    font-size: 1.4rem;

    color:
        var(--tf-navy-950, #0F1E3D);
}


.tf-article__content a {
    color:
        var(--tf-blue-600, #2E6BE6);

    text-decoration:
        underline;

    text-decoration-thickness: 1px;

    text-underline-offset: 3px;
}


.tf-article__content ul,
.tf-article__content ol {
    margin-bottom: 1.6rem;

    padding-left: 1.5rem;
}


.tf-article__content li {
    margin-bottom: .55rem;
}


.tf-article__content blockquote {
    margin:
        2.5rem 0;

    padding:
        1.5rem 1.7rem;

    border-left:
        4px solid
        var(--tf-blue-600, #2E6BE6);

    border-radius:
        0 14px 14px 0;

    background:
        #F5F8FF;

    color:
        var(--tf-navy-950, #0F1E3D);

    font-size: 1.15rem;

    line-height: 1.7;
}


.tf-article__content img {
    max-width: 100%;
    height: auto;

    border-radius: 18px;

    margin:
        2rem 0;
}


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

.tf-article__tags {
    display: flex;

    flex-wrap: wrap;

    gap: .6rem;

    margin-top: 3rem;

    padding-top: 2rem;

    border-top:
        1px solid
        rgba(15, 30, 61, .08);
}


.tf-article__tag {
    display: inline-flex;

    padding:
        .5rem .8rem;

    border:
        1px solid
        rgba(15, 30, 61, .10);

    border-radius: 999px;

    font-size: .72rem;

    color:
        var(--tf-navy-950, #0F1E3D);

    text-decoration: none !important;

    transition:
        background .2s ease,
        color .2s ease;
}


.tf-article__tag:hover {
    background:
        var(--tf-navy-950, #0F1E3D);

    color: #ffffff;
}


/* ================================================================
   ARTICLE NAVIGATION
   ================================================================ */

.tf-article__navigation {
    display: grid;

    grid-template-columns: 1fr;

    gap: 1rem;

    padding-top: 2rem;
    padding-bottom: 5rem;

    border-top:
        1px solid
        rgba(15, 30, 61, .08);
}


.tf-article__nav-item a {
    display: flex;

    flex-direction: column;

    gap: .4rem;

    padding: 1.3rem;

    border:
        1px solid
        rgba(15, 30, 61, .08);

    border-radius: 18px;

    text-decoration: none;

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}


.tf-article__nav-item a:hover {
    transform: translateY(-3px);

    border-color:
        rgba(46, 107, 230, .20);

    box-shadow:
        0 12px 30px
        rgba(15, 30, 61, .07);
}


.tf-article__nav-item span {
    font-size: .7rem;

    font-weight: 700;

    letter-spacing: .08em;

    text-transform: uppercase;

    color:
        var(--tf-blue-600, #2E6BE6);
}


.tf-article__nav-item strong {
    font-family:
        var(--tf-font-display, Inter, sans-serif);

    font-size: 1rem;

    line-height: 1.35;

    color:
        var(--tf-navy-950, #0F1E3D);
}


.tf-article__nav-item--next {
    text-align: right;
}


/* ================================================================
   DESKTOP
   ================================================================ */

@media (min-width: 768px) {

    .tf-article__navigation {
        grid-template-columns: 1fr 1fr;
    }

}


/* ================================================================
   MOBILE
   ================================================================ */

@media (max-width: 767px) {

    .tf-article__title {
        font-size: clamp(2.2rem, 11vw, 3.4rem);
    }

    .tf-article__meta {
        flex-wrap: wrap;
    }

}