/* =========================================================
   VTX Homepage Hero — Expo Protection Event Promo
========================================================= */


/* ---------------------------------------------------------
   Event Promo
--------------------------------------------------------- */

.vtx-home-hero .vtx-home-event {
    display: flex;
    align-items: center;

    width: max-content;
    max-width: 100%;
    min-height: 100px;

    margin: 0;
    padding: 14px 20px;

    background: #fff;
    color: #2e3135;

    text-decoration: none;
    box-sizing: border-box;

    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}


.vtx-home-hero .vtx-home-event:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.18);

    text-decoration: none;
}


/* ---------------------------------------------------------
   Expo Protection Brand
--------------------------------------------------------- */

.vtx-home-hero .vtx-home-event__brand {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 96px;
}

.vtx-home-hero .vtx-home-event__logo {
    display: block;

    width: 88px;
    height: auto;
}


/* ---------------------------------------------------------
   Divider
--------------------------------------------------------- */

.vtx-home-hero .vtx-home-event__divider {
    align-self: stretch;

    flex: 0 0 1px;

    margin: 0 16px;

    background: rgba(46, 49, 53, 0.38);
}


/* ---------------------------------------------------------
   Event Details
--------------------------------------------------------- */

.vtx-home-hero .vtx-home-event__details {
    display: flex;
    flex-direction: column;
    justify-content: center;

    min-width: 0;
}

.vtx-home-hero .vtx-home-event__detail {
    display: flex;
    align-items: center;
    gap: 7px;

    font-size: 13px;
    line-height: 1.35;
    font-weight: 400;

    white-space: nowrap;
}

.vtx-home-hero .vtx-home-event__detail
+ .vtx-home-event__detail {
    margin-top: 7px;
}

.vtx-home-hero .vtx-home-event__icon {
    display: block;

    flex: 0 0 16px;

    width: 16px;
    height: 16px;

    fill: #3bb6b3;
}


/* ---------------------------------------------------------
   Varytex Stand
--------------------------------------------------------- */

.vtx-home-hero .vtx-home-event__stand {
    margin-top: 5px;
    margin-left: 23px;

    font-size: 13px;
    line-height: 1.35;
    font-weight: 600;

    color: #302d5d;
}


/* =========================================================
   Desktop
========================================================= */

@media (min-width: 1000px) {

    /*
     * The event card is now inside .vtx-cover__content.
     * Use that content wrapper as the desktop positioning context.
     */

    .vtx-home-hero .vtx-cover__content {
        position: relative;
    }


    .vtx-home-hero .vtx-home-event {
        position: absolute;

        right: 0;
        bottom: 0;

        z-index: 2;

        max-width: 450px;

        margin: 0;
    }

}


/* =========================================================
   Tablet
========================================================= */

@media (min-width: 768px) and (max-width: 999px) {

    .vtx-home-hero .vtx-home-event {
        position: static;

        width: max-content;
        max-width: 100%;

        margin-top: 32px;
        margin-right: 0;
        margin-bottom: 0;
        margin-left: 0;
    }

}


/* =========================================================
   Mobile
========================================================= */

@media (max-width: 767px) {

    .vtx-home-hero .vtx-home-event {
        position: static;

        width: 100%;
        max-width: 100%;
        min-height: 0;

        margin-top: 32px;
        margin-right: 0;
        margin-bottom: 0;
        margin-left: 0;

        padding: 20px 16px;
    }


    .vtx-home-hero .vtx-home-event__brand {
        flex: 0 0 30%;
    }


    .vtx-home-hero .vtx-home-event__logo {
        width: 100%;
        max-width: 104px;
    }


    .vtx-home-hero .vtx-home-event__divider {
        margin-right: 16px;
        margin-left: 16px;
    }


    .vtx-home-hero .vtx-home-event__detail {
        font-size: 14px;

        white-space: normal;
    }


    .vtx-home-hero .vtx-home-event__stand {
        font-size: 14px;
    }

}

/* =========================================================
   VTX Homepage Insights
========================================================= */


/* ---------------------------------------------------------
   Section Header
--------------------------------------------------------- */

.vtx-home-insights__header {
    text-align:left;
}


/* ---------------------------------------------------------
   Main Layout
--------------------------------------------------------- */

.vtx-home-insights__layout {
    display:grid;
    grid-template-columns:minmax(0, 1.22fr) minmax(0, 1fr);
    gap:64px;
    align-items:start;
}


/* ---------------------------------------------------------
   Shared Article Image Behaviour
--------------------------------------------------------- */

.vtx-home-insights__featured-image-link,
.vtx-home-insights__recent-image-link {
    display:block;
    width:100%;
    overflow:hidden;
}

.vtx-home-insights__featured-image-link {
    aspect-ratio:16 / 9;
}

.vtx-home-insights__recent-image-link {
    aspect-ratio:1 / 1;
}


.vtx-home-insights__featured-image,
.vtx-home-insights__recent-image {
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}


/* ---------------------------------------------------------
   Shared Article Meta
--------------------------------------------------------- */

.vtx-home-insights__meta {
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:8px;

    margin:0;

    font-size:14px;
    line-height:1.5;

    color:var(--vtx-muted);
}


.vtx-home-insights__category {
    color:var(--vtx-muted);
    font-weight:500;
    text-decoration:none;
}

.vtx-home-insights__category:hover {
    color:var(--vtx-primary-navy);
    text-decoration:underline;
}


.vtx-home-insights__meta-separator {
    color:var(--vtx-muted);
}


/* ---------------------------------------------------------
   Featured Article
--------------------------------------------------------- */

.vtx-home-insights__featured-content {
    margin-top:24px;
}


.vtx-home-insights__featured-title {
    margin:16px 0 0;

    font-size:30px;
    line-height:1.25;
}


.vtx-home-insights__featured-title a {
    color:var(--vtx-primary-navy);
    text-decoration:none;
}


.vtx-home-insights__featured-title a:hover {
    text-decoration:underline;
}


.vtx-home-insights__featured-excerpt {
    margin:16px 0 0;

    max-width:680px;

    color:var(--vtx-body);
}


/* ---------------------------------------------------------
   Recent Articles
--------------------------------------------------------- */

.vtx-home-insights__recent {
    display:flex;
    flex-direction:column;
}


.vtx-home-insights__recent-item {
    display:grid;
    grid-template-columns:minmax(0, 180px) minmax(0, 1fr);
    gap:24px;
    align-items:start;
}


.vtx-home-insights__recent-item + .vtx-home-insights__recent-item {
    margin-top:32px;
    padding-top:32px;

    border-top:1px solid var(--vtx-border);
}


.vtx-home-insights__recent-content {
    min-width:0;
}


.vtx-home-insights__recent-title {
    margin:12px 0 0;

    font-size:22px;
    line-height:1.35;
}


.vtx-home-insights__recent-title a {
    color:var(--vtx-primary-navy);
    text-decoration:none;
}


.vtx-home-insights__recent-title a:hover {
    text-decoration:underline;
}


.vtx-home-insights > .vtx-section-cta {
    margin-top:64px;
    justify-content:center;
}


/* =========================================================
   Tablet
========================================================= */

@media (max-width:999px) {

    .vtx-home-insights__layout {
        grid-template-columns:1fr;
        gap:48px;
    }


    .vtx-home-insights__featured-title {
        font-size:28px;
    }


    .vtx-home-insights__recent-item {
        grid-template-columns:minmax(0, 36%) minmax(0, 1fr);
        gap:32px;
    }

    .vtx-home-insights__recent-image-link {
        aspect-ratio:16 / 9;
    }

    .vtx-home-insights > .vtx-section-cta {
        margin-top:64px;
    }

}


/* =========================================================
   Mobile
========================================================= */

@media (max-width:767px) {

    .vtx-home-insights__layout {
        gap:40px;
    }


    .vtx-home-insights__featured-content {
        margin-top:20px;
    }


    .vtx-home-insights__featured-title {
        margin-top:12px;

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


    .vtx-home-insights__featured-excerpt {
        margin-top:12px;
    }


    .vtx-home-insights__read-link {
        margin-top:16px;
    }


    .vtx-home-insights__recent-item {
        display:block;
    }


    .vtx-home-insights__recent-content {
        margin-top:20px;
    }


    .vtx-home-insights__recent-title {
        margin-top:12px;

        font-size:21px;
        line-height:1.35;
    }


    .vtx-home-insights__recent-item
    + .vtx-home-insights__recent-item {
        margin-top:32px;
        padding-top:32px;
    }

    .vtx-home-insights > .vtx-section-cta {
        margin-top:32px;
    }

}