
/* =========================================================
   BLOG PAGE - GLOBUS WORLD WIDE
========================================================= */

:root {
    --blog-bg: #F5F7FA;
    --blog-white: #FFFFFF;
    --blog-text: #172033;
    --blog-muted: #64748B;
    --blog-accent: #2563EB;
    --blog-accent-dark: #1749B5;
    --blog-border: #E5EAF2;
    --blog-container: 1180px;
}


/* =========================================================
   GLOBAL BLOG STYLES
========================================================= */

.blog-hero,
.blog-listing,
.blog-cta {
    font-family: inherit;
    box-sizing: border-box;
}

.blog-hero *,
.blog-listing *,
.blog-cta * {
    box-sizing: border-box;
}

.blog-container {
    width: min(var(--blog-container), calc(100% - 40px));
    margin: 0 auto;
}

.blog-listing img {
    display: block;
    max-width: 100%;
}

.blog-listing a,
.blog-hero a,
.blog-cta a {
    text-decoration: none;
}


/* =========================================================
   BLOG HERO
========================================================= */

.blog-hero {
    position: relative;
    min-height: 360px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 70px 20px;

    background-image:
        url("/assets/images/blog/blog-bg.webp");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    overflow: hidden;
    isolation: isolate;
}

.blog-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;

    background: linear-gradient(
        90deg,
        rgba(8, 20, 43, 0.84) 0%,
        rgba(8, 20, 43, 0.65) 50%,
        rgba(8, 20, 43, 0.48) 100%
    );
}

.blog-hero-content {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: var(--blog-container);

    margin: 0 auto;

    text-align: center;
}

.blog-hero-content h1 {
    margin: 0 0 20px;

    color: #FFFFFF;

    font-size: clamp(36px, 5vw, 58px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.2px;
}


/* =========================================================
   BLOG BREADCRUMB
========================================================= */

.blog-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;

    color: #FFFFFF;

    font-size: 15px;
    font-weight: 500;
}

.blog-breadcrumb a {
    color: #FFFFFF;
    transition: color 0.25s ease;
}

.blog-breadcrumb a:hover {
    color: #93C5FD;
}

.blog-breadcrumb > span:nth-child(2) {
    color: #93C5FD;
    font-size: 23px;
    line-height: 1;
}

.blog-breadcrumb .breadcrumb-current {
    color: #DBEAFE;
}


/* =========================================================
   BLOG LISTING SECTION
========================================================= */

.blog-listing {
    padding: 90px 0 100px;
    background: var(--blog-bg);
}


/* =========================================================
   SECTION HEADING
========================================================= */

.blog-section-heading {
    max-width: 740px;
    margin: 0 auto 48px;

    text-align: center;
}

.blog-kicker {
    display: inline-block;
    margin-bottom: 14px;

    color: var(--blog-accent);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1.5;
    text-transform: uppercase;
}

.blog-section-heading h2 {
    margin: 0 0 18px;

    color: var(--blog-text);

    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.8px;
}

.blog-section-heading p {
    max-width: 650px;
    margin: 0 auto;

    color: var(--blog-muted);

    font-size: 16px;
    line-height: 1.8;
}


/* =========================================================
   BLOG GRID
========================================================= */

.blog-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 28px;

    align-items: stretch;
}


/* =========================================================
   BLOG CARD
========================================================= */

.blog-card {
    min-width: 0;

    display: flex;
    flex-direction: column;

    background: var(--blog-white);

    border: 1px solid var(--blog-border);
    border-radius: 16px;

    overflow: hidden;

    box-shadow: 0 5px 22px rgba(15, 23, 42, 0.045);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-7px);

    border-color: #C7D8FF;

    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.10);
}


/* =========================================================
   BLOG CARD IMAGE
========================================================= */

.blog-image-link {
    position: relative;
    display: block;

    width: 100%;
    aspect-ratio: 16 / 10;

    background: #E8EDF5;

    overflow: hidden;
}

.blog-card-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image {
    transform: scale(1.06);
}


/* =========================================================
   BLOG CARD CONTENT
========================================================= */

.blog-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;

    align-items: flex-start;

    padding: 26px 24px 25px;
}


/* =========================================================
   BLOG META / AUTHOR
========================================================= */

.blog-meta {
    display: flex;
    align-items: center;

    margin-bottom: 15px;
}

.blog-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--blog-muted);

    font-size: 13px;
    font-weight: 500;
}

.blog-meta i {
    color: var(--blog-accent);
    font-size: 15px;
}


/* =========================================================
   BLOG CARD TITLE
========================================================= */

.blog-card-content h2 {
    margin: 0 0 14px;

    color: var(--blog-text);

    font-size: 21px;
    font-weight: 750;
    line-height: 1.45;
    letter-spacing: -0.3px;
}

.blog-card-content h2 a {
    color: inherit;

    transition: color 0.25s ease;
}

.blog-card-content h2 a:hover {
    color: var(--blog-accent);
}


/* =========================================================
   BLOG CARD DESCRIPTION
========================================================= */

.blog-card-content > p {
    margin: 0 0 22px;

    color: var(--blog-muted);

    font-size: 14px;
    font-weight: 400;
    line-height: 1.85;
}


/* =========================================================
   READ ARTICLE LINK
========================================================= */

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-top: auto;
    padding-top: 5px;

    color: var(--blog-accent);

    font-size: 14px;
    font-weight: 700;

    transition:
        color 0.25s ease,
        gap 0.25s ease;
}

.blog-read-more i {
    font-size: 17px;
    transition: transform 0.25s ease;
}

.blog-read-more:hover {
    color: var(--blog-accent-dark);
    gap: 13px;
}

.blog-read-more:hover i {
    transform: translateX(3px);
}


/* =========================================================
   FINAL CTA SECTION
========================================================= */

.blog-cta {
    padding: 75px 0;

    background: #FFFFFF;
}

.blog-cta-wrapper {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;

    padding: 48px 50px;

    background: linear-gradient(
        120deg,
        #102448 0%,
        #173B78 55%,
        #2563EB 100%
    );

    border-radius: 20px;
    overflow: hidden;
    isolation: isolate;
}

.blog-cta-wrapper::before {
    content: "";

    position: absolute;
    z-index: -1;

    width: 300px;
    height: 300px;

    top: -170px;
    right: 100px;

    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;

    box-shadow:
        0 0 0 35px rgba(255, 255, 255, 0.035),
        0 0 0 70px rgba(255, 255, 255, 0.025);
}


/* =========================================================
   CTA CONTENT
========================================================= */

.blog-cta-content {
    flex: 1;
    min-width: 0;
}

.blog-cta-content > span {
    display: inline-block;
    margin-bottom: 13px;

    color: #BFDBFE;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.blog-cta-content h2 {
    margin: 0 0 14px;

    color: #FFFFFF;

    font-size: clamp(25px, 3vw, 34px);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.blog-cta-content p {
    max-width: 600px;
    margin: 0;

    color: #E2E8F0;

    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   CTA BUTTONS
========================================================= */

.blog-cta-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;

    flex-shrink: 0;
}


/* QUOTE BUTTON */

.blog-cta-buttons .get-quote-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-height: 49px;
    padding: 13px 20px;

    border: 1px solid #FFFFFF;
    border-radius: 8px;

    background: #FFFFFF;
    color: #173B78;

    font-family: inherit;
    font-size: 14px;
    font-weight: 750;

    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.blog-cta-buttons .get-quote-btn span {
    font-size: 20px;
    line-height: 1;
}

.blog-cta-buttons .get-quote-btn:hover {
    background: #DBEAFE;
    color: #102448;
    transform: translateY(-2px);
}


/* CALL BUTTON */

.blog-call-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-height: 49px;
    padding: 13px 19px;

    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 8px;

    background: transparent;
    color: #FFFFFF;

    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.blog-call-btn i {
    font-size: 15px;
}

.blog-call-btn:hover {
    background: #FFFFFF;
    color: #173B78;
    transform: translateY(-2px);
}


/* =========================================================
   TABLET RESPONSIVE
========================================================= */

@media (max-width: 1024px) {

    .blog-hero {
        min-height: 320px;
    }

    .blog-listing {
        padding: 75px 0 80px;
    }

    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .blog-card-content {
        padding: 23px 22px;
    }

    .blog-card-content h2 {
        font-size: 20px;
    }

    .blog-cta-wrapper {
        align-items: flex-start;
        flex-direction: column;
        gap: 25px;

        padding: 40px;
    }

    .blog-cta-buttons {
        justify-content: flex-start;
    }

}


/* =========================================================
   MOBILE RESPONSIVE
========================================================= */

@media (max-width: 767px) {

    .blog-container {
        width: calc(100% - 32px);
    }

    /* HERO */

    .blog-hero {
        min-height: 260px;
        padding: 55px 16px;

        background-position: center;
    }

    .blog-hero-content h1 {
        margin-bottom: 15px;

        font-size: 36px;
        letter-spacing: -0.6px;
    }

    .blog-breadcrumb {
        gap: 9px;
        font-size: 13px;
    }


    /* LISTING */

    .blog-listing {
        padding: 55px 0 60px;
    }

    .blog-section-heading {
        margin-bottom: 32px;
    }

    .blog-kicker {
        margin-bottom: 10px;
        font-size: 11px;
        letter-spacing: 1.5px;
    }

    .blog-section-heading h2 {
        margin-bottom: 13px;
        font-size: 29px;
        line-height: 1.3;
    }

    .blog-section-heading p {
        font-size: 14px;
        line-height: 1.8;
    }


    /* SINGLE COLUMN CARDS */

    .blog-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .blog-card {
        border-radius: 13px;
    }

    .blog-image-link {
        aspect-ratio: 16 / 10;
    }

    .blog-card-content {
        padding: 22px 20px 23px;
    }

    .blog-meta {
        margin-bottom: 12px;
    }

    .blog-card-content h2 {
        margin-bottom: 12px;
        font-size: 20px;
        line-height: 1.45;
    }

    .blog-card-content > p {
        margin-bottom: 19px;
        font-size: 14px;
        line-height: 1.8;
    }


    /* CTA */

    .blog-cta {
        padding: 50px 0;
    }

    .blog-cta-wrapper {
        gap: 23px;
        padding: 29px 22px;
        border-radius: 15px;
    }

    .blog-cta-content > span {
        margin-bottom: 10px;
        font-size: 10px;
        letter-spacing: 1.3px;
    }

    .blog-cta-content h2 {
        margin-bottom: 12px;
        font-size: 26px;
        line-height: 1.35;
    }

    .blog-cta-content p {
        font-size: 14px;
        line-height: 1.8;
    }

    .blog-cta-buttons {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .blog-cta-buttons .get-quote-btn,
    .blog-call-btn {
        width: 100%;
        min-height: 48px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .blog-container {
        width: calc(100% - 24px);
    }

    .blog-hero {
        min-height: 230px;
    }

    .blog-hero-content h1 {
        font-size: 32px;
    }

    .blog-section-heading h2 {
        font-size: 26px;
    }

    .blog-card-content {
        padding: 19px 16px 21px;
    }

    .blog-card-content h2 {
        font-size: 18px;
    }

    .blog-cta-wrapper {
        padding: 25px 17px;
    }

    .blog-cta-content h2 {
        font-size: 23px;
    }

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.blog-listing a:focus-visible,
.blog-hero a:focus-visible,
.blog-cta a:focus-visible,
.blog-cta button:focus-visible {
    outline: 3px solid #93C5FD;
    outline-offset: 4px;
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .blog-card,
    .blog-card-image,
    .blog-read-more,
    .blog-read-more i,
    .blog-meta a,
    .blog-cta-buttons a,
    .blog-cta-buttons button {
        transition: none;
    }

    .blog-card:hover,
    .blog-card:hover .blog-card-image,
    .blog-cta-buttons a:hover,
    .blog-cta-buttons button:hover {
        transform: none;
    }

}





/* ==========================================
   STATISTICS SECTION
   Globus World Wide
========================================== */

.stats-section {
    width: 100%;
    background-color: #0d1117;
    border-top: 1px solid #252b34;
    border-bottom: 1px solid #252b34;
    padding: 28px 20px;
    box-sizing: border-box;
}


/* MAIN CONTAINER */

.stats-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
}


/* EACH STAT ITEM */

.stats-item {
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
    position: relative;
    box-sizing: border-box;
}


/* VERTICAL DIVIDER */

.stats-item:not(:last-child) {
    border-right: 1px solid #202b38;
}


/* ICON */

.stats-icon {
    color: #58baff;
    font-size: 27px;
    line-height: 1;
    margin-bottom: 10px;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* NUMBER */

.stats-item h2 {
    color: #ffffff;
    font-size: 29px;
    font-weight: 700;
    line-height: 1.2;

    margin: 0 0 10px;
    padding: 0;
}


/* LABEL */

.stats-item p {
    color: #a4a9b1;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.5px;
    line-height: 1.4;

    margin: 0;
    padding: 0;
}


/* ==========================================
   TABLET RESPONSIVE
========================================== */

@media (max-width: 768px) {

    .stats-section {
        padding: 24px 15px;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 25px;
    }

    .stats-item {
        min-height: 115px;
    }

    .stats-item:nth-child(2) {
        border-right: none;
    }

    .stats-item:nth-child(3),
    .stats-item:nth-child(4) {
        border-top: 1px solid #202b38;
        padding-top: 22px;
    }

    .stats-icon {
        font-size: 25px;
        margin-bottom: 9px;
    }

    .stats-item h2 {
        font-size: 26px;
        margin-bottom: 8px;
    }

    .stats-item p {
        font-size: 11px;
    }
}


/* ==========================================
   MOBILE RESPONSIVE
========================================== */

@media (max-width: 380px) {

    .stats-section {
        padding: 20px 10px;
    }

    .stats-container {
        column-gap: 0;
        row-gap: 20px;
    }

    .stats-item {
        min-height: 105px;
        padding-left: 5px;
        padding-right: 5px;
    }

    .stats-icon {
        font-size: 23px;
    }

    .stats-item h2 {
        font-size: 23px;
    }

    .stats-item p {
        font-size: 10px;
        letter-spacing: 0.3px;
    }
}







/* ==========================================
   BLOG DARK THEME
   Background and cards same color
========================================== */

:root {
    --blog-bg: #151515;
    --blog-white: #1C1C1C;
    --blog-text: #FFFFFF;
    --blog-muted: #C7C7C7;
    --blog-accent: #65C8FF;
    --blog-accent-dark: #38BDF8;
    --blog-border: #1C1C1C;
}

/* Main blog background */
.blog-listing {
    background: #151515 !important;
    color: #FFFFFF;
}

/* Blog cards */
.blog-card {
    background: #1C1C1C !important;
    border: 1px solid #1C1C1C !important;
    box-shadow: none !important;
    border-radius: 12px;
}

/* Card hover */
.blog-card:hover {
    background: #1C1C1C !important;
    border-color: #292929 !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18) !important;
}

/* Author text */
.blog-meta span {
    color: #C7C7C7 !important;
}

/* Blog headings */
.blog-card-content h2,
.blog-card-content h2 a {
    color: #FFFFFF !important;
}

/* Blog description */
.blog-card-content > p {
    color: #C7C7C7 !important;
}

/* Read More */
.blog-read-more {
    color: #65C8FF !important;
}

.blog-read-more:hover {
    color: #93DDFF !important;
}

/* Section heading */
.blog-section-heading h2 {
    color: #FFFFFF !important;
}

.blog-section-heading p {
    color: #C7C7C7 !important;
}

.blog-kicker {
    color: #65C8FF !important;
}

/* Bottom CTA section */
.blog-cta {
    background: #151515 !important;
}





/*  card perfect */



/* =========================================================
   FINAL BLOG CARD FIX
   Inner image card inside the outer blog card
   Add this section at the end of the stylesheet
========================================================= */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
    width: 100%;
}

.blog-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 12px;
    overflow: hidden;
    border: 1px solid #2a2a2a !important;
    border-radius: 16px;
    background: #1c1c1c !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16) !important;
    box-sizing: border-box;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: #3a3a3a !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24) !important;
}

/* Image sits inside the outer card with its own rounded corners */
.blog-card .blog-image-link {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    flex: 0 0 auto;
    margin: 0;
    overflow: hidden;
    border-radius: 10px;
    background: #252525;
    line-height: 0;
}

.blog-card .blog-card-image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
    border: 0;
    border-radius: 10px;
    transition: transform 0.45s ease;
}

.blog-card:hover .blog-card-image {
    transform: scale(1.035);
}

/* Text stays inside the same outer card */
.blog-card .blog-card-content {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 10px 12px;
    box-sizing: border-box;
}

.blog-card .blog-card-content h2,
.blog-card .blog-card-content h2 a {
    max-width: 100%;
    overflow-wrap: anywhere;
    color: #fff !important;
}

.blog-card .blog-card-content > p {
    max-width: 100%;
    overflow-wrap: anywhere;
    color: #c7c7c7 !important;
}

.blog-card .blog-meta {
    flex-wrap: wrap;
    gap: 8px 12px;
}

.blog-card .blog-read-more {
    margin-top: auto;
    color: #65c8ff !important;
}

/* Tablet */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .blog-card {
        padding: 10px;
    }

    .blog-card .blog-card-content {
        padding: 18px 8px 10px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .blog-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .blog-card {
        padding: 10px;
        border-radius: 13px;
    }

    .blog-card .blog-image-link {
        aspect-ratio: 16 / 9;
        border-radius: 9px;
    }

    .blog-card .blog-card-image {
        border-radius: 9px;
    }

    .blog-card .blog-card-content {
        padding: 17px 7px 9px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .blog-card,
    .blog-card .blog-card-image {
        transition: none;
    }

    .blog-card:hover,
    .blog-card:hover .blog-card-image {
        transform: none;
    }
}






