/*
Theme Name: jtallumgroup
Author: Dexter Banfield
Author URI: https://dexterbanfield.com
Description: WordPress Theme for JT Allum Group Website
Version: 2026.1
Text Domain: jtallumgroup
*/

@charset "UTF-8";

/* CSS Document */

/*****************************************/
/* RESET */
/*****************************************/

#wpadminbar {
    display: none;
}

*,
*:before,
*:after,
*:hover,
*:active,
*:focus {
    outline: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-overflow-scrolling: auto;
}

html {
    scroll-behavior: smooth;
}

button {
    outline: 0;
}

/*ol,
ul {list-style: none }*/

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
    content: none;
}

input,
button {
    background: transparent;
    border: 0;
    border-radius: 0;
    -webkit-border-radius: 0;
    cursor: pointer;
}

textarea,
input[type="text"],
input[type="button"],
input[type="submit"],
input[type="reset"],
input[type="search"],
input[type="password"] {
    -webkit-appearance: none;
    appearance: none;
}

textarea {
    font-family: Poppins-Regular;
}

input[type="search"] {
    -webkit-appearance: textfield;
}

input.error {
    border: 2px solid #ec3f3c;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

small,
sup,
sub {
    font-size: 80%;
}

sup {
    vertical-align: super;
}

sub {
    vertical-align: sub;
}

del,
strike,
s {
    text-decoration: line-through;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

/*************************************************/
/* COMMON */
/*************************************************/

html,
body {
    margin: 0 !important;
    padding: 0;
    font-family: Georgia, serif;
    font-size: 18px;
    color: #000;
    line-height: 1.5;
    -webkit-text-size-adjust: none;
    overflow-x: clip;
}

a {
    text-decoration-skip-ink: auto
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 15px;
    font-family: Georgia, serif;
    font-weight: normal;
    color: #0F3161;
    text-align: left;
    line-height: 1.2;
}

h1 {
    font-size: 54px;
    font-weight: bold;
}

h2 {
    font-size: 44px;
}

h3 {
    font-size: 34px;
}

a {
    color: #0F3161;
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

.alignleft {
    float: left;
    margin: 0px 40px 40px 0px;
}

.alignright {
    float: right;
    margin: 0px 0px 40px 40px;
}

.aligncenter {
    text-align: center;
    margin: 0 auto;
}

.textaligncenter {
    text-align: center;
}

.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    zoom: 1;
}

.container {
    margin: 0 auto !important;
    width: 100%;
    max-width: 1200px;
}

.container-with-top-and-bottom-margin {
    margin: 60px auto !important;
}

.blue-background {
    background: #0F3161;
}

.page-cover-photo {
    position: relative;
    display: flex;
    align-items: center;
    isolation: isolate;
}

/* Keep the fade stationary above the moving parallax image. */

.vc_row.page-cover-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: block;
    background: linear-gradient(to right, #fff 0%, rgba(255, 255, 255, 0) 50%);
    pointer-events: none;
}

.page-cover-photo > .vc_parallax-inner {
    z-index: 0;
}

/* Keep Mack's face in view as the Founder cover narrows and scrolls. */
.page-id-13 .page-cover-photo > .vc_parallax-inner {
    top: 0 !important;
    height: 100% !important;
    background-position: 69% top;
}

.page-cover-photo > .vc_column_container {
    position: relative;
    z-index: 2;
}

.page-cover-photo > .vc_column_container > .vc_column-inner {
    padding-top: 0 !important;
}

.page-cover-photo .wpb_content_element {
    margin-bottom: 0;
}

.page-cover-photo h1 {
    margin: 0 auto !important;
    padding: 0 40px;
    width: 100%;
    max-width: 1440px;
    text-shadow: 0 0 4px rgba(255,255,255,0.95), 0 0 8px rgba(255,255,255,0.85), 0 0 14px rgba(255,255,255,0.7), 0 0 22px rgba(255,255,255,0.5), 0 0 35px rgba(255,255,255,0.3), 0 0 50px rgba(255,255,255,0.15);
}

table tr th,
table tr td {
    padding: 10px;
    border: 1px solid #ccc;
    border-style: collapse;
}

/*************************************************/
/* WP BAKERY BUILDER */
/*************************************************/

.container .vc_column_container>.vc_column-inner {
    padding-left: 40px !important;
    padding-right: 40px !important;
}

.vc_btn3.vc_btn3-size-lg {
    font-size: 24px !important;
}

/*************************************************/
/* GRAVITY FORMS */
/*************************************************/

.gform-theme--framework .gfield_list_group_item::before,
.gform-theme--framework .gform-field-label:where(:not([class*=gform-field-label--type-])) {
    font-size: 24px !important;
}

.gform-theme.gform-theme--framework.gform_wrapper .button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),
.gform-theme.gform-theme--framework.gform_wrapper .gform-theme-button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),
.gform-theme.gform-theme--framework.gform_wrapper :where(:not(.mce-splitbtn))>button:not([id*=mceu_]):not(.mce-open):where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),
.gform-theme.gform-theme--framework.gform_wrapper button.button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),
.gform-theme.gform-theme--framework.gform_wrapper input:is([type=submit],[type=button],[type=reset]).button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),
.gform-theme.gform-theme--framework.gform_wrapper input:is([type=submit],[type=button],[type=reset]):where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),
.gform-theme.gform-theme--framework.gform_wrapper input[type=submit].button.gform_button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)) {
    background: #0F3161 !important;
    padding: 10px 30px !important;
    font-size: 24px !important;
}

.gform-theme--foundation .gfield textarea.large {
    min-block-size: 1rem !important;
}

/*************************************************/
/* SCREEN READER */
/*************************************************/

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
    word-break: normal
}

.screen-reader-text:focus {
    background-color: #f7f7f7;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, .6);
    clip: auto !important;
    -webkit-clip-path: none;
    clip-path: none;
    color: #007acc;
    display: block;
    font-size: 14px;
    font-size: .875rem;
    font-weight: 700;
    height: auto;
    right: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000
}

/*************************************************/
/* WEBSITE HEADER */
/*************************************************/

/* Full-width header with a constrained content row. */

.site-header {
    position: relative;
    z-index: 100;
    width: 100%;
    background: #0F3161;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    width: 100%;
    max-width: 1920px;
    height: 150px;
    margin: 0 auto;
    padding: 24px 40px;
}

.site-logo {
    display: block;
    flex: 0 1 293px;
    min-width: 0;
}

.site-logo img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 152px;
    object-fit: contain;
}

.site-navigation {
    margin-left: auto;
}

.site-navigation a {
    display: block;
    color: #fff;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 18px;
    text-decoration: none;
    padding: 10px 0;
}

.site-navigation a:hover,
.site-navigation .current-menu-item>a {
    color: #ddd;
}

.site-header a:focus-visible,
.submenu-toggle:focus-visible,
.menu-toggle:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 6px;
}

#menu-main-menu,
#menu-main-menu ul,
#menu-main-menu li {
    list-style: none;
}

.main-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px 32px;
}

.main-menu li {
    position: relative;
}

.main-menu .sub-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 240px;
    padding: 12px 0;
    background: #123C73;
    visibility: hidden;
    opacity: 0;
}

.site-navigation .sub-menu a {
    padding: 10px 24px;
    font-size: 14px;
}

.main-menu .sub-menu > li:not(:last-child) {
    border-bottom: 1px solid #254C7F;
}

.main-menu li:hover>.sub-menu,
.main-menu li:focus-within>.sub-menu,
.main-menu li:hover > .submenu-panel > .sub-menu,
.main-menu li:focus-within > .submenu-panel > .sub-menu {
    visibility: visible;
    opacity: 1;
}

.main-menu .sub-menu .sub-menu {
    top: 0;
    right: 100%;
}

.menu-toggle,
.submenu-toggle,
.submenu-overview,
.site-navigation .menu-logo {
    display: none;
}

.submenu-panel {
    display: contents;
}

.has-submenu-toggle > a::after,
.submenu-toggle::after {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: translateY(-3px) rotate(45deg);
}

/*************************************************/
/* HOMEPAGE */
/*************************************************/

#homepage-video .wpb_button,
.wpb_content_element,
ul.wpb_thumbnails-fluid>li {
    padding: 0 !important;
    margin: 0 !important;
}

.jtag-fullwidth-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    max-height: min(670px, 75svh);
    overflow: hidden;
}

.jtag-fullwidth-video video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#rooted-in-tradition h2,
#our-story h2 {
    text-align: right;
}

.logo-row {
    padding: 40px 0;
}

.group-logo {
    width: 100% !important;
    max-width: 480px !important;
    height: auto !important;
}

.group-logo-2nd-row {
    max-width: 320px !important;
    width: auto !important;
    height: 140px !important;
}

.group-logo-3rd-row,
.group-logo-3rd-row img,
.group-logo-4th-row,
.group-logo-4th-row img {
    max-width: 360px !important;
    width: auto !important;
    height: 120px !important;
}

#cross-crossing-centre-logo {
    max-width: 340px !important;
    height: 150px !important;
}

#st-croix-orchard-limited-logo img {
    width: auto !important;
    max-width: 90% !important;
    object-fit: contain;
}

/*************************************************/
/* ANIMATED COUNTER */
/*************************************************/

.jtag-counter {
    font-family: Georgia, serif;
    color: #fff;
    text-align: center;
}

.jtag-counter__value {
    font-size: 50px;
    font-weight: normal;
    line-height: 1.2;
}

.jtag-counter__label {
    margin-top: 8px;
    font-size: 18px;
    font-weight: normal;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

/*************************************************/
/* HISTORY - TIMELINE */
/*************************************************/

.timeline-milestone {
    color: #fff;
    background: #0F3161;
}

.timeline-milestone h2 {
    padding: 20px;
    color: #fff;
    font-size: 30px;
}

/*************************************************/
/* BUSINESSES */
/*************************************************/

.business-block,
.business-block h1,
.business-block h2 {
    color: #fff !important;
}

.business-block h1 {
    font-weight: normal !important;
}

.business-block h2 a {
    color: #fff !important;
    text-decoration: none;
}

.business-block h2 a:hover {
    text-decoration: underline;
}

.business-block .wpb_wrapper {
    padding: 20px !important;
}

.business-block {
    position: relative;
    overflow: hidden;
}

.business-block > .vc_column-inner {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.business-block > .vc_column-inner::before {
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: inherit;
    pointer-events: none;
    transition: transform 300ms ease;
}

.business-block > .vc_column-inner:has(.learn-more .vc_btn3:hover)::before,
.business-block > .vc_column-inner:has(.learn-more .vc_btn3:focus-visible)::before {
    transform: scale(1.1);
}

.business-block > .vc_column-inner::after {
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient( to bottom, rgba(15, 49, 97, 1) 0%, rgba(15, 49, 97, 0) 100% );
    z-index: 0;
    pointer-events: none;
}

.business-block > .vc_column-inner > .wpb_wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.business-block .learn-more {
    margin-top: auto;
    margin-bottom: 0;
    align-self: flex-end;
    text-align: right;
}

.business-block .learn-more .vc_btn3 {
    font-weight: bold;
    letter-spacing: 0.08em;
    padding: 12px 24px;
    transition: background-color 300ms ease, color 300ms ease;
}

.business-block .learn-more .vc_btn3::after {
    content: "\2192";
    display: inline-block;
    margin-left: 10px;
    letter-spacing: 0;
    transition: transform 300ms ease;
}

.business-block .learn-more .vc_btn3:hover::after,
.business-block .learn-more .vc_btn3:focus-visible::after {
    transform: translateX(3px);
}

.business-block .learn-more .vc_btn3:hover,
.business-block .learn-more .vc_btn3:focus-visible {
    background-color: #0F3161 !important;
    background-image: none;
    color: #fff !important;
}

/*************************************************/
/* FOOTER */
/*************************************************/

.site-footer {
    background: #0F3161;
    color: #fff;
    padding: 0;
    font-size: 18px;
    line-height: 1.6;
}

.site-footer__columns {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 2fr) minmax(0, 2fr) minmax(0, 2fr);
    gap: 32px;
    padding: 48px 40px;
    max-width: 1920px;
    width: 100%;
    margin: 0 auto;
}

.site-footer__column {
    min-width: 0;
    overflow-wrap: anywhere;
}

.site-footer a {
    color: inherit;
    text-decoration: none;
}

.site-footer a:hover {
    color: #ddd;
}

.site-footer a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

.footer-contact-row {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 12px;
}

.footer-contact-row > i {
    flex: 0 0 20px;
    text-align: center;
}

.footer-contact-row address {
    font-style: normal;
}

.footer-contact-row address p {
    margin: 0;
}

.footer-contact-row address strong,
.footer-contact-row address b {
    font-weight: 700;
}

.footer-social-heading {
    margin: 0 0 12px;
}

.footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    font-size: 24px;
}

.footer-map iframe {
    display: block;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    height: auto;
    aspect-ratio: 1 / 1;
    border: 0;
}

.site-footer #copyright {
    margin: 0;
    padding: 24px;
    background: #fff;
    color: #000;
    text-align: center;
    font-size: 18px;
}

/* Keep sticky navigation and anchor targets clear of the WordPress toolbar. */

html {
    scroll-padding-top: 60px;
}

body.admin-bar {
    --jtag-admin-offset: 32px;
}

html:has(body.admin-bar) {
    scroll-padding-top: 92px;
}

/* The spacer preserves page position when the scrolled header becomes fixed. */

/*.site-header.is-sticky {
    position: fixed;
    top: var(--jtag-admin-offset,
    0px);
    left: 0;
}*/

.site-header.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
}

.site-header.is-sticky .site-header__inner {
    height: 50px;
    gap: 24px;
    padding: 7px 24px;
}

.site-header.is-sticky .site-logo {
    flex: 0 0 118px;
}

.site-header.is-sticky .site-logo img {
    max-height: 36px;
}

/* Timeline: consecutive points share an uninterrupted center line. */

.jtag-timeline-point {
    --timeline-red: #cc191d;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(64px, 14vw, 180px);
    padding: 16px 0 32px;
    margin: 0;
    color: #0f3161;
}

.jtag-timeline-point::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 6px;
    transform: translateX(-50%);
    background: var(--timeline-red);
}

.jtag-timeline-dot {
    position: absolute;
    z-index: 1;
    top: 32px;
    left: 50%;
    width: 28px;
    height: 28px;
    margin-left: -14px;
    border-radius: 50%;
    background: var(--timeline-red);
}

.jtag-timeline-content {
    min-width: 0;
}

.jtag-timeline-content--left {
    grid-column: 1;
    grid-row: 1;
}

.jtag-timeline-content--right {
    grid-column: 2;
    grid-row: 1;
}

.jtag-timeline-content img {
    max-width: 100%;
    height: auto;
}

.jtag-timeline-content h2,
.jtag-timeline-content h3 {
    margin-top: 0;
}

.jtag-timeline-content > :last-child {
    margin-bottom: 0;
}

.jtag-timeline-point.is-animated .jtag-timeline-dot {
    transform: translateY(-32px);
    transition: transform 550ms ease-out;
}

.jtag-timeline-point.is-animated .jtag-timeline-content {
    opacity: 0;
    transform: translateY(-50px);
    transition: opacity 600ms ease 550ms, transform 600ms ease 550ms;
}

.jtag-timeline-point.is-revealed .jtag-timeline-dot,
.jtag-timeline-point.is-revealed .jtag-timeline-content {
    transform: translateY(0);
    opacity: 1;
}

/* Shared footer company information,
arranged as rows for page content. */

.jtag-company-details {
    display: flex;
    flex-direction: column;
    gap: 48px;
    color: #0f3161;
}

.jtag-company-details__row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.jtag-company-details__row > i {
    flex: 0 0 28px;
    text-align: center;
    line-height: inherit;
}

.jtag-company-details__row > span,
.jtag-company-details address {
    min-width: 0;
    overflow-wrap: anywhere;
}

.jtag-company-details address {
    font-style: normal;
}

.jtag-company-details p {
    margin: 0;
}

.jtag-company-details a {
    color: inherit;
}

.jtag-company-details a:hover {
    text-decoration: underline;
}

.jtag-company-details a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

.jtag-company-details__social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.jtag-company-details__social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    text-decoration: none;
}

/* Per-element social links, using the same Font Awesome brands as the footer. */

.jtag-social-icons {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.jtag-social-icons--left {
    justify-content: flex-start;
}

.jtag-social-icons--center {
    justify-content: center;
}

.jtag-social-icons--right {
    justify-content: flex-end;
}

.jtag-social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    color: #0F3161;
    font-size: 24px;
    line-height: 1;
    text-decoration: none;
}

.jtag-social-icons a:hover,
.jtag-social-icons a:visited,
.jtag-social-icons a:focus {
    color: #0F3161;
}

.jtag-social-icons a:focus-visible {
    outline: 2px solid #0F3161;
    outline-offset: 3px;
}

/*************************************************/
/* MEDIA QUERIES */
/*************************************************/

@media (width < 1366px) {
    .site-footer__columns {
        grid-template-columns: minmax(0, 40fr) minmax(0, 30fr) minmax(0, 30fr);
    }

    /*.jtag-fullwidth-video {
            height: 620px;
        }*/

    .footer-map {
        grid-column: 1 / -1;
    }

    .footer-map iframe {
        max-width: none;
        margin-right: auto;
    }
}

@media (min-width: 721px) and (max-width: 1365px) {
    .footer-map iframe {
        height: 480px;
        aspect-ratio: auto;
    }
}

@media (max-width: 1230px) {

    .group-logo-2nd-row {
        height: 120px !important;
    }

    .group-logo-3rd-row,
    .group-logo-3rd-row img,
    .group-logo-4th-row,
    .group-logo-4th-row img {
        height: 100px !important;
    }

    #cross-crossing-centre-logo {
        height: 120px !important;
    }

    #st-croix-orchard-limited-logo img {
        max-width: 180px !important;
        height: 100px !important;
    }

}

@media (max-width: 1170px) {

    .group-logo-2nd-row {
        height: 100px !important;
    }

    .group-logo-3rd-row,
    .group-logo-3rd-row img,
    .group-logo-4th-row,
    .group-logo-4th-row img {
        height: 80px !important;
    }

    #cross-crossing-centre-logo {
        height: 100px !important;
    }

    #st-croix-orchard-limited-logo img {
        max-width: 160px !important;
        height: 80px !important;
    }

    .logo-row .vc_column_container>.vc_column-inner {
    padding: 0 !important;
    }

}

@media (max-width: 1162px) {
    html,
    body {
        font-size: 16px;
    }

    h1 {
        font-size: 52px;
    }

    h2 {
        font-size: 42px;
    }

    h3 {
        font-size: 32px;
    }

    .site-logo {
        flex: 0 1 243px;
    }

    .site-navigation a,
    .site-footer {
        font-size: 16px;
    }

    .site-navigation .sub-menu a {
        font-size: 12px;
    }
}

@media (max-width: 1054px) {
    .site-header__inner {
        height: 100px;
    }

    .site-logo {
        flex: 0 1 183px;
    }

    .site-navigation a {
        font-size: 14px;
    }

    .site-navigation .sub-menu a {
        font-size: 10px;
    }

}

@media (min-width: 961px) {
    .site-header.is-sticky .site-navigation a {
        font-size: 16px;
        line-height: 20px;
        padding: 8px 0;
    }

    .site-header.is-sticky .site-navigation .sub-menu a {
        padding: 8px 24px;
        font-size: 12px;
    }

    .site-header.is-sticky .main-menu {
        flex-wrap: nowrap;
        gap: 20px;
    }
}

@media (max-width: 960px) {
    html,
    body {
        font-size: 18px;
    }

    h1 {
        font-size: 54px;
    }

    h2 {
        font-size: 44px;
    }

    h3 {
        font-size: 34px;
    }

    .site-footer {
        font-size: 18px;
    }

    .site-footer__columns {
        grid-template-columns: minmax(0, 1fr);
        text-align: center;
    }

    .footer-contact-row,
    .footer-social-links {
        justify-content: center;
    }

    .footer-contact-row > i.fa-solid.fa-building {
        display: none;
    }

    .site-header__inner {
        position: relative;
        justify-content: center;
        height: 100px;
        padding: 12px 64px;
    }

    .site-logo {
        flex: 0 1 249px;
    }

    .site-logo img {
        max-height: 76px;
    }

    .menu-toggle {
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 28px;
        height: 2px;
        background: #fff;
        transition: transform 250ms ease, opacity 250ms ease;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .site-navigation {
        position: fixed;
        inset: 0;
        z-index: 1;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        margin: 0;
        padding: 12px 32px 40px;
        overflow-y: auto;
        overscroll-behavior: contain;
        background: #0F3161;
        visibility: hidden;
        opacity: 0;
        transition: none;
    }

    :where(.menu-has-interacted) .site-navigation {
        transition: opacity 300ms ease, visibility 300ms;
    }

    .site-header.is-menu-open {
        z-index: 100000;
    }

    .site-header.is-menu-open .site-logo {
        visibility: hidden;
    }

    .site-header.is-menu-open .site-navigation {
        visibility: visible;
        opacity: 1;
    }

    .menu-toggle {
        z-index: 2;
    }

    .site-header.is-menu-open .menu-toggle {
        position: fixed;
        top: 50px;
    }

    .site-navigation .menu-logo {
        display: block;
        width: min(249px, calc(100% - 64px));
        margin: 0 auto 32px;
        padding: 0;
    }

    .menu-logo img {
        display: block;
        width: 100%;
        height: auto;
    }

    .site-navigation a {
        font-size: 24px;
    }

    .main-menu {
        display: block;
        margin: 0;
        padding: 0;
        text-align: center;
    }

    .main-menu>li+li {
        margin-top: 12px;
    }

    .main-menu .sub-menu,
    .main-menu .sub-menu .sub-menu {
        position: static;
        min-width: 0;
        padding: 4px 0;
        background: #0F3161;
        visibility: visible;
        opacity: 1;
    }

    .main-menu .sub-menu > li:not(:last-child) {
        border-bottom-color: #123C73;
    }

    .main-menu .has-submenu-toggle > a {
        display: none;
    }

    .submenu-toggle {
        display: block;
        margin: 0 auto;
        padding: 10px 0;
        color: #fff;
        font-family: inherit;
        font-size: 24px;
        line-height: inherit;
    }

    .submenu-toggle:hover {
        color: #ddd;
    }

    .submenu-toggle::after {
        transition: transform 250ms ease;
    }

    .submenu-toggle[aria-expanded="true"]::after {
        transform: translateY(1px) rotate(225deg);
    }

    .main-menu .submenu-panel {
        display: grid;
        grid-template-rows: 0fr;
        transition: grid-template-rows 250ms ease;
    }

    .main-menu .is-submenu-open > .submenu-panel {
        grid-template-rows: 1fr;
    }

    .main-menu .submenu-panel > .sub-menu {
        min-height: 0;
        overflow: hidden;
        margin: 0;
        padding: 0;
    }

    .site-navigation .sub-menu a,
    .site-navigation .sub-menu .submenu-toggle {
        font-size: 20px;
        padding: 5px 0;
    }

    .submenu-overview {
        display: block;
    }

    body.menu-is-open {
        overflow: hidden;
    }

    /*.jtag-fullwidth-video {
            height: 540px;
        }*/

    .site-header.is-sticky .site-header__inner {
        padding: 7px 64px;
    }

    .site-header.is-sticky.is-menu-open .menu-toggle {
        top: 25px;
    }

    .site-header.is-sticky .site-navigation {
        padding-top: 7px;
    }

    .site-header.is-sticky .menu-logo {
        width: min(118px, calc(100% - 64px));
    }
}

@media (max-width: 910px) {

    .group-logo-2nd-row {
        height: 90px !important;
    }

    .group-logo-3rd-row,
    .group-logo-3rd-row img {
        height: 60px !important;
    }

    #st-croix-orchard-limited-logo img {
        max-width: 120px !important;
        height: 60px !important;
    }

}

@media (max-width: 782px) {
    body.admin-bar {
        --jtag-admin-offset: 46px;
    }

    html:has(body.admin-bar) {
        scroll-padding-top: 106px;
    }
}

@media (max-width: 767px) {
    /*.jtag-fullwidth-video {
            height: 350px;
        }*/

    #rooted-in-tradition h2,
    #our-story h2 {
        text-align: center;
    }

    .logo-row {
        --logo-gap: 40px;
        display: flex;
        flex-direction: column;
        gap: var(--logo-gap);
        padding: 0;
    }

    .logo-row + .logo-row {
        margin-top: var(--logo-gap);
    }

    /* Keep WPBakery's clearfix from adding flex gaps at the row edges. */
    .vc_row.logo-row::before,
    .vc_row.logo-row::after {
        display: none;
    }

    .logo-row > .wpb_column {
        margin: 0 !important;
    }

    .logo-row .wpb_single_image.vc_align_center {
        height: auto !important;
        margin: 0 auto !important;
        line-height: 0;
    }

    .logo-row img {
        display: block !important;
        margin-inline: auto;
    }

    .group-logo {
        width: 100% !important;
        max-width: 640px !important;
        height: auto !important;
    }

    .group-logo-2nd-row {
        width: 90% !important;
        height: auto !important;
    }

    .group-logo-3rd-row, 
    .group-logo-3rd-row img,
    .group-logo-4th-row, 
    .group-logo-4th-row img {
        height: 120px !important;
    }

    #carlton-centre-logo {
        width: 200px !important;
        height: auto !important;
    }

    #cross-crossing-centre-logo {
        width: 320px !important;
        height: auto !important;
    }

    #allums-centre-logo {
        width: 180px !important;
        height: auto !important;
    }

    #jta-supermarkets-logo img {
        width: 140px !important;
        height: auto !important;
    }

    #c3-centre-logo {
        clear: both;
        width: 140px !important;
        height: auto !important;
    }

    #st-croix-orchard-limited-logo img {
        max-width: 180px !important;
        height: 140px !important;
    }

    #le-reve-conference-centre-logo {
        width: 140px !important;
        height: auto !important;
    }

    #bodc {
        width: 120px !important;
        height: auto !important;
    }

    .jtag-timeline-point {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        padding: 16px 0 32px 44px;
    }

    .jtag-timeline-point::before,
    .jtag-timeline-dot {
        left: 14px;
    }

    .jtag-timeline-content--left,
    .jtag-timeline-content--right {
        grid-column: 1;
        grid-row: auto;
    }
}

@media (max-width: 600px) {
    html,
    body {
        font-size: 16px;
    }

    h1 {
        font-size: 38px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 18px;
    }

    .container-with-top-and-bottom-margin {
        margin: 10px auto 30px auto !important;
    }

    #carlton-centre-logo {
        width: 170px !important;
        height: auto !important;
    }

    #cross-crossing-centre-logo {
        width: 280px !important;
        height: auto !important;
    }

    #allums-centre-logo {
        width: 140px !important;
        height: auto !important;
    }

    #jta-supermarkets-logo img {
        width: 100px !important;
        height: auto !important;
    }

    #c3-centre-logo {
        width: 220px !important;
        height: auto !important;
    }

    #le-reve-conference-centre-logo {
        width: 100px !important;
        height: auto !important;
    }

    .site-footer {
        font-size: 16px;
    }

    .site-footer #copyright {
        font-size: 12px;
    }

    .site-footer__columns {
        padding: 32px 24px;
    }

    body.admin-bar #wpadminbar {
        position: fixed;
    }
}

@media (prefers-reduced-motion: reduce) {
    .business-block > .vc_column-inner::before,
    .business-block .learn-more .vc_btn3,
    .business-block .learn-more .vc_btn3::after {
        transition: none;
    }

    .menu-toggle span,
    .submenu-toggle::after,
    .main-menu .submenu-panel,
    .site-navigation {
        transition: none;
    }

    .jtag-timeline-point.is-animated .jtag-timeline-content,
    .jtag-timeline-point.is-animated .jtag-timeline-dot {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
