/* =========================================================
   SINGLE BLOG PAGE
========================================================= */

.tl-single-blog {
    width: 100%;
    overflow: hidden;

    background: #ffffff;

    color: #10264d;
}

.tl-single-blog *,
.tl-single-blog *::before,
.tl-single-blog *::after {
    box-sizing: border-box;
}

.tl-single-blog svg {
    display: block;

    width: 20px;
    height: 20px;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.tl-blog-breadcrumb {
    min-height: 58px;

    display: flex;
    align-items: center;

    gap: 6px;

    overflow: hidden;

    color: #748196;

    font-size: px;
    line-height: 1.3;

    white-space: nowrap;
}

.tl-blog-breadcrumb a {
    color: #4c607b;
}

.tl-blog-breadcrumb a:hover {
    color: #f4511e;
}

.tl-blog-breadcrumb svg {
    width: 12px !important;
    height: 12px !important;

    flex: 0 0 12px;

    color: #8792a0;
}

.tl-blog-breadcrumb span:last-child {
    overflow: hidden;

    text-overflow: ellipsis;
}


/* =========================================================
   LAYOUT
========================================================= */

.tl-single-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 2.15fr)
        minmax(260px, .82fr);

    align-items: start;

    gap: 36px;

    padding-bottom: 35px;
}

.tl-single-main {
    min-width: 0;
}

.tl-single-sidebar {
    min-width: 0;

    display: grid;

    gap: 18px;
}


/* =========================================================
   CATEGORY
========================================================= */

.tl-single-category {
    min-height: 25px;

    padding: 0 9px;

    display: inline-flex;
    align-items: center;

    border-radius: 3px;

    background: #397ed6;
    color: #ffffff;

    font-size: 16px;
    line-height: 1;
    font-weight: 600;

    letter-spacing: .3px;

    text-transform: uppercase;
}

.tl-single-category:hover {
    color: #fff;

    background: #286bbe;
}


/* =========================================================
   TITLE
========================================================= */

.tl-single-title {
    max-width: 900px;
    margin: 12px 0 0;
    color: #09214d;
    font-size: clamp(22px, 3vw, 36px);
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: -1.2px;
}

.tl-single-intro {
    max-width: 900px;

    margin: 15px 0 0;

    color: #51627a;

    font-size: 16px;
    line-height: 1.7;
}


/* =========================================================
   META
========================================================= */

.tl-single-meta {
    margin: 20px 0 20px;

    display: grid;

    grid-template-columns:
        auto
        1fr
        auto;

    align-items: end;

    gap: 20px;
}

.tl-single-author {
    display: flex;
    align-items: center;

    gap: 9px;
}

.tl-single-author-avatar {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    overflow: hidden;

    border-radius: 50%;

    background: #edf2f7;
}

.tl-single-author-avatar img {
    width: 100% !important;
    height: 100% !important;

    display: block;

    object-fit: cover;
}

.tl-single-author strong {
    display: block;

    color: #15315d;

    font-size: 16px;
}

.tl-single-author span {
    display: block;

    margin-top: 2px;

    color: #7c8797;

    font-size: 16px;
}


/* DATE */

.tl-single-meta-date {
    align-self: end;

    display: flex;
    align-items: center;

    gap: 8px;

    color: #718095;

    font-size: 16px;
}

.tl-single-meta-date i {
    width: 3px;
    height: 3px;

    border-radius: 50%;

    background: #9ba5b2;
}


/* SHARE */

.tl-single-share {
    display: flex;
    flex-direction: column;

    gap: 6px;
}

.tl-single-share small {
    color: #65748a;

    font-size: 16px;
}

.tl-single-share > div {
    display: flex;
    align-items: center;

    gap: 7px;
}

.tl-single-share a {
    width: 30px;
    height: 30px;

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

    border-radius: 50%;

    background: #2467bd;
    color: #ffffff;

    transition:
        transform .2s ease,
        opacity .2s ease;
}

.tl-single-share a:nth-child(2) {
    background: #3286d9;
}

.tl-single-share a:nth-child(3) {
    background: #d91f37;
}

.tl-single-share a:nth-child(4) {
    background: #3978c7;
}

.tl-single-share a:hover {
    transform: translateY(-2px);

    opacity: .9;
}

.tl-single-share svg {
    width: 14px !important;
    height: 14px !important;
}


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

.tl-single-featured {
    width: 100%;

    margin: 0;

    overflow: hidden;

    border-radius: 8px;

    background: #eef2f6;
    margin-bottom: 20px;
}

.tl-single-featured img {
    display: block;

    width: 100% !important;
    height: auto !important;

    max-height: 520px;

    object-fit: cover;
}


/* =========================================================
   BENEFIT STRIP
========================================================= */

.tl-article-benefits {
    margin-top: 17px;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0,1fr));

    border: 1px solid #e0e6ed;
    border-radius: 7px;

    background: #fff;
}

.tl-article-benefits > div {
    min-width: 0;

    min-height: 76px;

    padding: 13px;

    display: flex;
    align-items: center;

    gap: 9px;

    border-right: 1px solid #e5eaf0;
}

.tl-article-benefits > div:last-child {
    border-right: 0;
}

.tl-article-benefit-icon {
    width: 34px;
    height: 34px;

    flex: 0 0 34px;

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

    color: #2469c4;
}

.tl-article-benefit-icon svg {
    width: 29px !important;
    height: 29px !important;
}

.tl-article-benefits strong {
    display: block;

    color: #15325c;

    font-size: 16px;
}

.tl-article-benefits small {
    display: block;

    margin-top: 3px;

    color: #6e7b8d;

    font-size: 16px;
    line-height: 1.4;
}


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

.tl-article-content {
    padding-top: 26px;

    color: #3f4e64;

    font-size: 16px;
    line-height: 1.78;
}

.tl-article-content > *:first-child {
    margin-top: 0;
}

.tl-article-content p {
    margin: 0 0 17px;
}

.tl-article-content h2 {
    margin:
        30px
        0
        11px;
    scroll-margin-top: 100px;
    color: #102b58;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 600;
}

.tl-article-content h3 {
    margin:
        24px
        0
        9px;

    scroll-margin-top: 100px;

    color: #15325f;

    font-size: 16px;
    line-height: 1.3;
}

.tl-article-content h4 {
    margin: 20px 0 8px;

    color: #193865;

    font-size: 16px;
}

.tl-article-content a {
    color: #1765b7;

    text-decoration: underline;

    text-underline-offset: 2px;
}

.tl-article-content strong {
    color: #1e385d;
}

.tl-article-content ul,
.tl-article-content ol {
    margin: 0 0 18px;
    padding-left: 22px;
}

.tl-article-content li {
    margin: 7px 0;
}

.tl-article-content img {
    max-width: 100%;

    height: auto;

    border-radius: 7px;
}

.tl-article-content figure {
    margin: 22px 0;
}

.tl-article-content figcaption {
    margin-top: 6px;

    color: #8994a2;

    font-size: 16px;

    text-align: center;
}


/* IMAGE ALIGNMENTS FROM WP */

.tl-article-content .alignleft {
    float: left;

    max-width: 42%;

    margin:
        4px
        22px
        16px
        0;
}

.tl-article-content .alignright {
    float: right;

    max-width: 42%;

    margin:
        4px
        0
        16px
        22px;
}

.tl-article-content .aligncenter {
    display: block;

    margin-left: auto;
    margin-right: auto;
}


/* BLOCKQUOTE */

.tl-article-content blockquote {
    margin: 22px 0;
    padding: 16px 18px;

    border-left: 4px solid #2d72c7;
    border-radius: 0 6px 6px 0;

    background: #f4f8fd;

    color: #304c6c;
}


/* TABLE */

.tl-article-content table {
    width: 100%;

    margin: 18px 0;

    border-collapse: collapse;

    font-size: 16px;
}

.tl-article-content th,
.tl-article-content td {
    padding: 10px;

    border: 1px solid #dfe5ec;

    text-align: left;
}

.tl-article-content th {
    background: #f5f8fc;

    color: #16335f;
}


/* PRO TIP STYLE */

.tl-article-content .pro-tip,
.tl-article-content .wp-block-group.is-style-pro-tip {
    margin: 18px 0;
    padding: 14px;

    border: 1px solid #bfe6cf;
    border-radius: 6px;

    background: #f1fbf5;
}


/* BUTTON */

.tl-article-content .wp-block-button__link {
    min-height: 42px;

    padding: 0 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #2163ad;
    border-radius: 5px;

    background: #fff;
    color: #195b9f;

    text-decoration: none;

    font-size: 16px;
    font-weight: 700;
}


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

.tl-author-box {
    margin-top: 35px;
    padding: 18px;

    display: flex;
    align-items: center;

    gap: 14px;

    border: 1px solid #e0e6ed;
    border-radius: 8px;

    background: #f8fafc;
}

.tl-author-box-avatar {
    width: 70px;
    height: 70px;

    flex: 0 0 70px;

    overflow: hidden;

    border-radius: 50%;
}

.tl-author-box-avatar img {
    width: 100% !important;
    height: 100% !important;

    object-fit: cover;
}

.tl-author-box small {
    color: #768397;

    font-size: 16px;
}

.tl-author-box h3 {
    margin: 3px 0 5px;

    color: #12315f;

    font-size: 16px;
}

.tl-author-box p {
    margin: 0;

    color: #697688;

    font-size: 16px;
    line-height: 1.6;
}


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

.tl-sidebar-card {
    padding: 18px;

    border: 1px solid #e0e5ec;
    border-radius: 8px;

    background: #fff;

    box-shadow:
        0 3px 10px rgba(16,42,75,.035);
}

.tl-sidebar-card h2 {
    margin: 0 0 13px;

    color: #102e5b;

    font-size: 16px;
}


/* =========================================================
   TABLE OF CONTENTS
========================================================= */

.tl-toc-card {
    position: sticky;

    top: 95px;
}

body.admin-bar .tl-toc-card {
    top: 127px;
}

.tl-toc-card ol {
    margin: 0;
    padding-left: 22px;

    color: #506078;

    font-size: 16px;
}

.tl-toc-card li {
    margin: 0 0 11px;
    padding-left: 3px;
}

.tl-toc-card a {
    color: #415673;

    line-height: 1.45;
}

.tl-toc-card a:hover,
.tl-toc-card a.active {
    color: #f4511e;
}

.tl-toc-card button {
    margin: 4px 0 0 !important;
    padding: 0 !important;

    border: 0 !important;

    background: transparent !important;
    color: #175ea8 !important;

    box-shadow: none !important;

    font-size: 8px !important;
    font-weight: 700 !important;
}


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

.tl-sidebar-newsletter {
    position: relative;

    min-height: 230px;

    padding: 20px;

    overflow: hidden;

    border-radius: 8px;

    background:
        linear-gradient(
            145deg,
            #093d84,
            #061f55
        );

    color: #fff;
   margin-top:70px;
}

.tl-sidebar-newsletter-content {
    position: relative;
    z-index: 2;
}

.tl-sidebar-newsletter h2 {
    max-width: 240px;

    margin: 0;

    color: #fff;

    font-size: 20px;
    line-height: 1.15;
}

.tl-sidebar-newsletter p {
    max-width: 240px;

    margin: 10px 0 15px;

    color: rgba(255,255,255,.82);

    font-size: 16px;
    line-height: 1.55;
}

.tl-sidebar-newsletter form {
    display: grid;

    gap: 8px;
}

.tl-sidebar-newsletter input {
    width: 100%;
    height: 40px;

    padding: 0 11px;

    border: 0;
    border-radius: 4px;

    outline: none;

    font-size: 16px;
}

.tl-sidebar-newsletter button {
    width: 130px;
    min-height: 38px !important;

    margin: 0 !important;
    padding: 0 12px !important;

    border: 0 !important;
    border-radius: 4px !important;

    background: #f4511e !important;
    color: #fff !important;

    font-size: 16px !important;
    font-weight: 700 !important;
}

.tl-sidebar-plane {
    position: absolute;

    right: 8px;
    bottom: 15px;

    width: 80px !important;
    height: 80px !important;

    color: rgba(255,255,255,.55);
}


/* =========================================================
   POPULAR GUIDES
========================================================= */

.tl-popular-guides {
    display: grid;

    gap: 10px;
}

.tl-popular-guides h2 {
    margin-bottom: 4px;
}

.tl-popular-guide-item {
    display: grid;

    grid-template-columns:
        65px
        minmax(0,1fr);

    align-items: center;

    gap: 10px;
}

.tl-popular-guide-image {
    width: 65px;
    height: 55px;

    overflow: hidden;

    border-radius: 5px;

    background: #e8eef5;
}

.tl-popular-guide-image img,
.tl-popular-guide-image span {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}

.tl-popular-guide-item strong {
    display: block;

    color: #1a365f;

    font-size: 16px;
    line-height: 1.4;
}

.tl-popular-guide-item small {
    display: block;

    margin-top: 4px;

    color: #7a8696;

    font-size: 16px;
}

.tl-view-guides {
    margin-top: 2px;

    color: #175da5;

    font-size: 16px;
    font-weight: 700;
}


/* =========================================================
   QUICK TIPS
========================================================= */

.tl-quick-tips {
    display: grid;

    gap: 14px;
}

.tl-quick-tips h2 {
    margin-bottom: 1px;
}

.tl-quick-tips > div {
    display: grid;

    grid-template-columns:
        35px
        1fr;

    align-items: center;

    gap: 10px;
}

.tl-quick-tips > div > span {
    width: 34px;
    height: 34px;

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

    border-radius: 50%;
}

.tl-quick-tips svg {
    width: 20px !important;
    height: 20px !important;
}

.tl-quick-tips .green {
    background: #eaf9f0;

    color: #26a35a;
}

.tl-quick-tips .orange {
    background: #fff5e8;

    color: #f19b25;
}

.tl-quick-tips .navy {
    background: #edf1fa;

    color: #173b78;
}

.tl-quick-tips .blue {
    background: #edf5ff;

    color: #3077d0;
}

.tl-quick-tips p {
    margin: 0;

    color: #4d5f76;

    font-size: 16px;
    line-height: 1.5;
}


/* =========================================================
   MORE GUIDES
========================================================= */

.tl-more-guides-section {
    padding: 25px 0 30px;

    background: #f4f8fc;
}

.tl-more-guides-head {
    margin-bottom: 14px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.tl-more-guides-head h2 {
    margin: 0;

    color: #102e5b;

    font-size: 19px;
}

.tl-more-guides-head a {
    color: #165ba3;

    font-size: 16px;
    font-weight: 700;
}

.tl-more-guides-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0,1fr));

    gap: 14px;
}

.tl-more-guide-card {
    position: relative;

    height: 150px;

    overflow: hidden;

    border-radius: 7px;

    background: #18335e;
}

.tl-more-guide-card > img {
    width: 100% !important;
    height: 100% !important;

    display: block;

    object-fit: cover;
}

.tl-more-guide-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(5,21,50,.92),
            rgba(5,21,50,.06) 70%
        );
}

.tl-more-guide-content {
    position: absolute;

    left: 12px;
    right: 12px;
    bottom: 11px;

    z-index: 2;
}

.tl-more-guide-content > span {
    display: inline-flex;

    margin-bottom: 5px;
    padding: 3px 6px;

    border-radius: 3px;

    background: #377ed7;
    color: #fff;

    font-size: 6px;
    font-weight: 700;

    text-transform: uppercase;
}

.tl-more-guide-content h3 {
    margin: 0;

    color: #fff;

    font-size: 11px;
    line-height: 1.3;
}

.tl-more-guide-content small {
    display: block;

    margin-top: 5px;

    color: rgba(255,255,255,.8);

    font-size: 16px;
}


/* =========================================================
   TRUST STRIP
========================================================= */

.tl-blog-trust-strip {
    border-top: 1px solid #e1e7ed;

    background: #fff;
}

.tl-blog-trust-grid {
    min-height: 74px;

    display: grid;

    grid-template-columns:
        repeat(5,1fr);
}

.tl-blog-trust-grid > div {
    padding: 12px;

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

    gap: 9px;
}

.tl-blog-trust-grid svg {
    width: 25px !important;
    height: 25px !important;

    color: #2989b8;
}

.tl-blog-trust-grid > div:nth-child(1) svg {
    color: #42af69;
}

.tl-blog-trust-grid > div:nth-child(4) svg {
    color: #e46765;
}

.tl-blog-trust-grid > div:nth-child(5) svg {
    color: #3fa267;
}

.tl-blog-trust-grid strong {
    display: block;

    color: #26405f;

    font-size: 16px;
}

.tl-blog-trust-grid small {
    display: block;

    margin-top: 2px;

    color: #7e8998;

    font-size: 16px;
}


/* =========================================================
   RESPONSIVE - LAPTOP
========================================================= */

@media (max-width: 1100px) {

    .tl-single-layout {
        grid-template-columns:
            minmax(0,1.8fr)
            minmax(250px,.8fr);

        gap: 25px;
    }

    .tl-single-title {
        font-size: 38px;
    }

    .tl-single-meta {
        grid-template-columns:
            auto
            1fr;
    }

    .tl-single-share {
        grid-column: 1 / -1;

        flex-direction: row;
        align-items: center;
    }

    .tl-more-guides-grid {
        grid-template-columns:
            repeat(2,1fr);
    }

}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 850px) {

    .tl-single-layout {
        grid-template-columns: 1fr;
    }

    .tl-single-sidebar {
        grid-template-columns:
            repeat(2,1fr);
    }

    .tl-toc-card {
        position: static;
    }

    .tl-article-benefits {
        grid-template-columns:
            repeat(2,1fr);
    }

    .tl-article-benefits > div:nth-child(2) {
        border-right: 0;
    }

    .tl-blog-trust-grid {
        grid-template-columns:
            repeat(3,1fr);
    }

}


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

@media (max-width: 650px) {

    .tl-blog-breadcrumb {
        min-height: 48px;

        font-size: 16px;
    }

    .tl-single-title {
        font-size: 30px;
    }

    .tl-single-intro {
        font-size: 11px;
    }

    .tl-single-meta {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .tl-single-share {
        grid-column: auto;
    }

    .tl-single-featured {
        border-radius: 6px;
    }

    .tl-article-benefits {
        grid-template-columns: 1fr;
    }

    .tl-article-benefits > div {
        border-right: 0;
        border-bottom: 1px solid #e5eaf0;
    }

    .tl-article-benefits > div:last-child {
        border-bottom: 0;
    }

    .tl-article-content {
        font-size: 11px;
    }

    .tl-article-content h2 {
        font-size: 19px;
    }

    .tl-article-content .alignleft,
    .tl-article-content .alignright {
        float: none;

        max-width: 100%;

        margin:
            18px
            0;
    }

    .tl-author-box {
        align-items: flex-start;
    }

    .tl-single-sidebar {
        grid-template-columns: 1fr;
    }

    .tl-more-guides-grid {
        grid-template-columns: 1fr;
    }

    .tl-more-guide-card {
        height: 190px;
    }

    .tl-blog-trust-grid {
        grid-template-columns: 1fr;
    }

    .tl-blog-trust-grid > div {
        justify-content: flex-start;

        border-bottom: 1px solid #edf0f3;
    }

}


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

@media (max-width: 390px) {

    .tl-single-title {
        font-size: 27px;
    }

    .tl-author-box {
        flex-direction: column;
    }

}