/* =========================================================
   BENJAMIN SERVICES – LATEST BLOG CARDS

   Brand Colours:
   Primary Green: #006b46
   Dark Green:    #043d2b
   Deep Green:    #023526
   Orange:        #ff5001
   Light Orange:  #ff7131
========================================================= */

.latest-posts-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.latest-post-col {
    flex: 1 1 calc(33.333% - 24px);
    min-width: 0;
    box-sizing: border-box;
}

/* =========================================================
   MAIN CARD
========================================================= */

.Industry-blogbox01 {
    position: relative;

    display: block;
    height: 100%;
    margin-bottom: 20px;

    overflow: hidden;

    border: 1px solid rgba(0, 107, 70, 0.15);
    border-radius: 22px;

    background: #ffffff;
    color: #043d2b;

    text-decoration: none !important;

    box-shadow:
        0 12px 32px rgba(2, 53, 38, 0.08);

    isolation: isolate;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

/* Hide original image area */

.Industry-blogbox01 .pic {
    display: none !important;
}

/* Decorative green and orange glow */

.Industry-blogbox01::before {
    content: "";

    position: absolute;
    top: -100px;
    right: -100px;
    z-index: 0;

    width: 225px;
    height: 225px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(0, 107, 70, 0.16) 0%,
            rgba(255, 80, 1, 0.08) 42%,
            transparent 70%
        );

    opacity: 0.75;

    transition:
        opacity 0.35s ease,
        transform 0.35s ease;
}

/* Hover background */

.Industry-blogbox01::after {
    content: "";

    position: absolute;
    inset: 0;
    z-index: 0;

    border-radius: 22px;

    background:
        radial-gradient(
            circle at 92% 8%,
            rgba(255, 80, 1, 0.24),
            transparent 35%
        ),
        radial-gradient(
            circle at 5% 95%,
            rgba(0, 107, 70, 0.36),
            transparent 42%
        ),
        linear-gradient(
            145deg,
            #023526 0%,
            #043d2b 56%,
            #006b46 100%
        );

    opacity: 0;

    transition: opacity 0.35s ease;
}

/* =========================================================
   CONTENT
========================================================= */

.Industry-blogbox01 .content {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;

    min-height: 360px;
    padding: 38px 30px;

    border-radius: 22px;

    background: transparent;

    transition:
        transform 0.35s ease;
}

/* =========================================================
   HEADER / DATE / CATEGORY
========================================================= */

.Industry-blogbox01 .content-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;

    margin-bottom: 18px;

    color: #006b46;

    font-size: 12.5px;
    line-height: 1.5;
    font-weight: 850;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.Industry-blogbox01 .content-header .date,
.Industry-blogbox01 .content-header .category,
.Industry-blogbox01 .content-header .sep,
.Industry-blogbox01 .content-header time {
    color: #006b46;
}

.Industry-blogbox01 .content-header .sep {
    color: #ff5001;
}

/* =========================================================
   TITLE
========================================================= */

.Industry-blogbox01 .content-body .title {
    margin: 0 0 17px;

    color: #043d2b;

    font-size: 27px;
    line-height: 1.3;
    font-weight: 900;
    letter-spacing: -0.7px;
}

.Industry-blogbox01 .title a {
    color: inherit !important;
    text-decoration: none !important;
}

/* =========================================================
   EXCERPT
========================================================= */

.Industry-blogbox01 .content-body .excerpt {
    margin: 0 0 26px;

    color: #5e6964;

    font-size: 14.5px;
    line-height: 1.85;
    font-weight: 500;
}

/* =========================================================
   FOOTER LINK
========================================================= */

.Industry-blogbox01 .content-footer {
    margin-top: auto;
    padding-top: 18px;

    border-top: 1px solid rgba(4, 61, 43, 0.1);
}

.Industry-blogbox01 .content-footer .link,
.Industry-blogbox01 .content-footer .link i {
    color: #ff5001 !important;

    font-size: 13.5px;
    line-height: 1.4;
    font-weight: 850;

    text-decoration: none !important;
}

/* Add arrow when module does not already provide one */

.Industry-blogbox01 .content-footer .link::after {
    content: " →";

    display: inline-block;
    margin-left: 5px;

    transition: transform 0.3s ease;
}

/* =========================================================
   TOP ACCENT LINE
========================================================= */

.Industry-blogbox01 .content::before {
    content: "";

    position: absolute;
    top: 0;
    left: 30px;

    width: 54px;
    height: 4px;

    border-radius: 0 0 8px 8px;

    background:
        linear-gradient(
            90deg,
            #006b46 0%,
            #006b46 60%,
            #ff5001 60%,
            #ff5001 100%
        );

    transition:
        width 0.35s ease,
        background 0.35s ease;
}

/* =========================================================
   HOVER
========================================================= */

.Industry-blogbox01:hover {
    border-color: rgba(255, 80, 1, 0.5);

    transform: translateY(-8px);

    box-shadow:
        0 26px 58px rgba(2, 53, 38, 0.2),
        0 10px 28px rgba(255, 80, 1, 0.1);
}

.Industry-blogbox01:hover::before {
    opacity: 1;
    transform: scale(1.12);
}

.Industry-blogbox01:hover::after {
    opacity: 1;
}

.Industry-blogbox01:hover .content {
    transform: translateY(-2px);
}

.Industry-blogbox01:hover .content::before {
    width: 78px;

    background:
        linear-gradient(
            90deg,
            #ff5001 0%,
            #ff7131 100%
        );
}

.Industry-blogbox01:hover .content-header,
.Industry-blogbox01:hover .content-header .date,
.Industry-blogbox01:hover .content-header .category,
.Industry-blogbox01:hover .content-header .sep,
.Industry-blogbox01:hover .content-header time {
    color: #ffb08b !important;
}

.Industry-blogbox01:hover .content-body .title,
.Industry-blogbox01:hover .content-body .title a {
    color: #ffffff !important;
}

.Industry-blogbox01:hover .content-body .excerpt {
    color: rgba(255, 255, 255, 0.76) !important;
}

.Industry-blogbox01:hover .content-footer {
    border-color: rgba(255, 255, 255, 0.14);
}

.Industry-blogbox01:hover .content-footer .link,
.Industry-blogbox01:hover .content-footer .link i {
    color: #ffffff !important;
}

.Industry-blogbox01:hover .content-footer .link::after {
    color: #ff7131;
    transform: translateX(5px);
}

/* =========================================================
   KEYBOARD ACCESSIBILITY
========================================================= */

.Industry-blogbox01:focus-visible {
    outline: 3px solid rgba(255, 80, 1, 0.42);
    outline-offset: 4px;

    border-color: #ff5001;
}

.Industry-blogbox01 .title a:focus-visible,
.Industry-blogbox01 .content-footer .link:focus-visible {
    outline: 2px solid #ff5001;
    outline-offset: 4px;
}

/* =========================================================
   TRANSITIONS
========================================================= */

.Industry-blogbox01 .content-header,
.Industry-blogbox01 .content-header .date,
.Industry-blogbox01 .content-header .category,
.Industry-blogbox01 .content-header .sep,
.Industry-blogbox01 .content-header time,
.Industry-blogbox01 .content-body .title,
.Industry-blogbox01 .content-body .title a,
.Industry-blogbox01 .content-body .excerpt,
.Industry-blogbox01 .content-footer,
.Industry-blogbox01 .content-footer .link,
.Industry-blogbox01 .content-footer .link i {
    transition:
        color 0.3s ease,
        border-color 0.3s ease;
}

/* =========================================================
   TABLET
========================================================= */

@media only screen and (max-width: 991px) {

    .latest-post-col {
        flex: 1 1 calc(50% - 24px);
    }

    .Industry-blogbox01 .content {
        min-height: 335px;
        padding: 34px 27px;
    }

    .Industry-blogbox01 .content::before {
        left: 27px;
    }

    .Industry-blogbox01 .content-body .title {
        font-size: 25px;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media only screen and (max-width: 600px) {

    .latest-posts-row {
        gap: 17px;
    }

    .latest-post-col {
        flex: 1 1 100%;
    }

    .Industry-blogbox01 {
        margin-bottom: 0;
        border-radius: 19px;
    }

    .Industry-blogbox01::after {
        border-radius: 19px;
    }

    .Industry-blogbox01 .content {
        min-height: 285px;
        padding: 28px 22px;

        border-radius: 19px;
    }

    .Industry-blogbox01 .content::before {
        left: 22px;
        width: 46px;
    }

    .Industry-blogbox01 .content-header {
        margin-bottom: 14px;

        font-size: 11.5px;
    }

    .Industry-blogbox01 .content-body .title {
        margin-bottom: 14px;

        font-size: 22px;
        line-height: 1.35;
        letter-spacing: -0.4px;
    }

    .Industry-blogbox01 .content-body .excerpt {
        margin-bottom: 22px;

        font-size: 14px;
        line-height: 1.75;
    }

    .Industry-blogbox01:hover {
        transform: none;
    }

    .Industry-blogbox01:hover .content {
        transform: none;
    }
}

/* =========================================================
   TOUCH DEVICES
========================================================= */

@media (hover: none) {

    .Industry-blogbox01:hover {
        transform: none;
    }

    .Industry-blogbox01:hover::after {
        opacity: 0;
    }

    .Industry-blogbox01:hover .content-header,
    .Industry-blogbox01:hover .content-header .date,
    .Industry-blogbox01:hover .content-header .category,
    .Industry-blogbox01:hover .content-header .sep,
    .Industry-blogbox01:hover .content-header time {
        color: #006b46 !important;
    }

    .Industry-blogbox01:hover .content-body .title,
    .Industry-blogbox01:hover .content-body .title a {
        color: #043d2b !important;
    }

    .Industry-blogbox01:hover .content-body .excerpt {
        color: #5e6964 !important;
    }

    .Industry-blogbox01:hover .content-footer .link,
    .Industry-blogbox01:hover .content-footer .link i {
        color: #ff5001 !important;
    }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .Industry-blogbox01,
    .Industry-blogbox01::before,
    .Industry-blogbox01::after,
    .Industry-blogbox01 .content,
    .Industry-blogbox01 .content::before,
    .Industry-blogbox01 .content-footer .link::after {
        transition: none;
    }
}


