@CHARSET "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Onest:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');
:root {
    --font-family--default: "Onest", sans-serif;
    --font-family--heading: "Onest", sans-serif;

    --font-weight--thin: 100;
    --font-weight--extra-light: 200;
    --font-weight--light: 300;
    --font-weight--regular: 400;
    --font-weight--medium: 500;
    --font-weight--weight-semi-bold: 600;
    --font-weight--bold: 700;
    --font-weight--black: 900;

    --font-size--h1: 40px;
    --font-size--h2: 32px;
    --font-size--h3: 24px;
    --font-size--h4: 20px;
    --font-size--h5: 18px;
    --font-size--h6: 16px;

    --bs-body-font-weight: var(--wp--custom--typography--font-weight);
    --colour--body: var(--wp--preset--color--black);
    --wp--preset--color--link: #CC012B;

    /* Header */
    --header--background-colour: var(--wp--preset--color--white);
    --header--bottom-border--width: 2px;
    --header--bottom-border: var(--header--bottom-border--width) solid var(--wp--preset--color--eao-red);
    --header--height: 104px;
    --header--sub-nav--height: 32px;
    
    /* Navbar */
    --navbar--item--colour: var(--wp--preset--color--black);
    --navbar--dropdowwn--item--colour: var(--wp--preset--color--black);
    --navbar--item--font-family: var(--font-family--default);
    --navbar--dropdown--menu--border--colour: var(--wp--preset--color--eao-red);
    --navbar--dropdown--menu--border--width: var(--header--bottom-border--width);
    --navbar--dropdown-item--colour: var(--navbar--item--colour);

    /* Footer */
    --footer--background-colour: #F5F5F5;
    --footer--colour: #000;
    --footer--link--colour: var(--wp--preset--color--eao-red);
}

/* WordPress and PB */
.is-layout-constrained {
    margin-right: auto;
    margin-left: auto;
    padding-right: calc(1.5rem * .5);
    padding-left: calc(1.5rem * .5);
}
.is-layout-constrained .is-layout-constrained {
    padding: initial;
}
.has-dark-background-color {
    color: #FFF;
}
.has-light-background-color {
    color: var(--colour--body);
}
.wp-block-quote,
.wp-block-quote *,
.has-dark-background-color table tbody,
.has-dark-background-color table tbody * {
    /* color: var(--colour--body); */
}
.has-dark-background-color .wp-block-quote {
    border-color: var(--wp--preset--color--white);
    color: var(--wp--preset--color--white) !important;
}
figure.img-fluid img {
    height: auto !important;
    width: 100% !important;
}
.video-wrapper > .wp-block-embed__wrapper {
    position: relative;
    margin-top: 45px;
    /* margin-bottom: 200px; */
    padding-bottom: 56.25%;
    padding-top: 25px;
    height: 0;
}
.video-wrapper > .wp-block-embed__wrapper > iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.is-position-sticky {
    top: var(--header--height) !important;
}

/* Site specific styles */
b, strong {
    font-weight: 700;
}
img.img-cover, .wp-block-image.img-cover img {
    object-fit: cover;
    width: 100% !important;
}
.wp-block-button {
    display: inline-block;
}
.wp-block-button__link, button {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.wp-block-button__link:hover {
    box-shadow: 0 0 0 2px white, 0 0 0 calc(2px + 2px) var(--wp--preset--color--eao-red);
}
.wp-block-button__link.has-slate-blue-background-color:hover {
    box-shadow: 0 0 0 2px white, 0 0 0 calc(2px + 2px) var(--wp--preset--color--slate-blue);
}
.wp-block-button__link.has-slate-blue-background-color:hover {
    box-shadow: 0 0 0 2px white, 0 0 0 calc(2px + 2px) var(--wp--preset--color--slate-blue);
}
.is-style-outline {
    border-radius: 100px;
    position: relative;
    display: inline-block;
    overflow: hidden;
    z-index: 1;
    transition: color 0.3s ease;
}
.is-style-outline::before {
    border-radius: 100px;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--wp--preset--color--eao-red);
    z-index: -1;
    transition: width 0.4s ease;
}
.is-style-outline:hover::before {
    width: 100%;
}
.is-style-outline a.wp-block-button__link, .is-style-outline button {
    background: transparent !important;
    border: 1px solid var(--wp--preset--color--eao-red);
    border-radius: 100px;
    color: var(--wp--preset--color--eao-red);
    padding-bottom: 0.5rem;
    padding-top: 0.5rem;
}
.is-style-outline:hover a.wp-block-button__link, .is-style-outline:hover button {
    color: #FFF;
}

.eao--group--box-shadow, .eao--group-pricing-box {
    background-color: #FFF;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05), 0 4px 12px rgba(0, 0, 0, 0.06), 0 16px 24px rgba(0, 0, 0, 0.04);
    padding: 32px;
}
.is-vertically-aligned-stretch .eao--group--box-shadow, .is-vertically-aligned-stretch .eao--group-pricing-box {
    height: 100%;
}
.eao--group-pricing-box {
    padding: 0;
}
.eao--group-pricing-box > * {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 32px !important;
    text-align: center;
}
.eao--group-pricing-box > *:nth-child(1) {
    height: 280px;
}
.eao--group-pricing-box > *:nth-child(2) {
    background-color: var(--wp--preset--color--eao-red);
    color: #FFF;
    height: 180px;
}
.eao--group-pricing-box > * > * {
    justify-content: center;
    text-align: center;
}
.eao--group-pricing-box > *:nth-child(2) a {
    color: #FFF !important;
}
.eao--group--box-rounded-corners {
    background-color: #FFF;
    border: 1px solid #D5D5D5;
    border-radius: 4px;
    padding: 0.25rem;;
}
.eao--parallax-container {
    align-items: center;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    display: flex;
    min-height: calc(100vh - var(--header--height));
}
.channel--latest-videos--video {
    color: #000 !important;
    display: block;
    height: 100%;
    text-decoration: none;
}
.channel--latest-videos--video--details {
    padding: 1.25rem;
}
.channel--latest-videos--video--details--rundtime {
    font-size: 0.8em;
}
.square-block {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: auto;
}
.round-block {
    align-items: center;
    aspect-ratio: 1;
    border-radius: 9999px;
    display: flex;
    flex-direction: column;
    height: auto;
    justify-content: center;
}
.overlay--black, .overlay--red {
    position: relative;
    z-index: 0;
}
.overlay--black::before, .overlay--red::before {
    content: '';
    inset: 0;
    mix-blend-mode: hard-light;
    pointer-events: none;
    position: absolute;
    z-index: 1;
}
.overlay--black::before {
    background: rgb(0 0 0 / 0.3)
}
.overlay--black > *, .overlay--red > * {
    z-index: 2;
}
.overlay--red::before {
    background: rgba(112 0 5 / 1);
}
.wp-block-quote {
    position: relative;
    z-index: 1;
}
.wp-block-quote::before {
    background-image: url('../images/quotes.svg');
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: contain;
    bottom: 0;
    content: '';
    height: 276px;
    left: 0;
    position: absolute;
    width: 48vw;
    z-index: -1;
}
.wp-block-quote::after {
    background-image: url('../images/quotes.svg');
    background-position: top;
    background-size: contain;
    background-repeat: no-repeat;
    bottom: 0;
    content: '';
    height: 276px;
    position: absolute;
    right: 0;
    transform: rotate(180deg);
    width: 48vw;
    z-index: -1;
}
a.wp-block-tiptip-hyperlink-group-block, a.wp-block-tiptip-hyperlink-group-block:hover {
    text-decoration: none;
}
.tag {
    background-color: var(--wp--preset--color--light-grey);
    border-radius: 100px;
    font-size: 14px;
    font-weight: var(--font-weight--weight-semi-bold);
    padding: 0.25rem 1rem;
}
.tag.tag-green {
    background-color: #64AB7D;
    color: #FFF;
}
.tag.tag-highlight {
    background-color: var(--wp--preset--color--eao-red);
    color: #FFF;
}
.circular-tag img {
    aspect-ratio: 1;
    background-color: var(--wp--preset--color--light-grey);
    border-radius: 9999px;
    padding: 1rem;
}
.eao--page-header {
    padding: 0;
}
.eao--page-header > * {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.eao--page-header > * > *:first-child {
    border: 1rem solid #FFF;
    border-bottom: none;
    padding: 3rem 1rem;
}
.eao--page-header > * > *:last-child {
    width: 100%;
}
:root :where(.wp-block-separator.is-style-dots):before {
    color: #D5D5D5;
    content: "························";
    font-size: 46px;
    padding-left: 0;
}

/* Accordion */
.pb--accordion--item {
    border-top: 2px solid #F5F5F5;
    margin-top: 0;
    padding: 1em 0;
}
.pb--accordion--item--heading {
    position: relative;
}
.pb--accordion--item--heading:hover {
    cursor: pointer;
}
.pb--accordion--item--heading::after {
    border-bottom: 1px solid #4a6e78;
    border-right: 1px solid #4a6e78;
    content: " ";
    height: 12px;
    right: 10px;
    position: absolute;
    top: calc(50% - 6px);
    width: 12px;
    transform: rotate(-45deg);
    transition: all 0.2s ease-in-out;
}
.pb--accordion--item.active .pb--accordion--item--heading::after {
    transform: rotate(45deg);
    transition: all 0.2s ease-in-out;
}
.pb--accordion--item--heading > :is(h1, h2, h3, h4, h5, h6) {
    line-height: 1.5;
    margin-bottom: 0;
    padding-right: 4rem;
}
.pb--accordion--item--content {
    margin-top: 0;
    padding: 10px 15px 30px;
}
.img-has-midnight-blue-background-color img {
    background-color: var(--wp--preset--color--midnight-blue);
}
.email_back {
    display: none;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {

}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .is-layout-constrained {
        max-width: 720px;
    }
    .eao--page-header > * {
        display: grid !important;
        grid-template-columns: repeat(12, 1fr);
        gap: 1rem;
    }
    .eao--page-header > * > *:first-child {
        border: none;
        grid-column: 1 / span 7;
        padding: 0;
        padding-left: max(calc((100vw - 720px) / 2 + 2em), 1rem);
    }
    .eao--page-header > * > *:last-child {
        grid-column: 8 / span 6;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .is-layout-constrained {
        max-width: 960px;
    }
    :root {
        --header--height: 130px;
        --header--sub-nav--height: 64px;
    }

    .wp-block-quote {
        padding-bottom: inherit;
    }
    .wp-block-quote::before {
        height: 276px;
        width: 391px;
    }
    .wp-block-quote::after {
        bottom: inherit;
        height: 276px;
        top: 0;
        width: 391px;
    }
    .eao--page-header > * > *:first-child {
        border: none;
        grid-column: 1 / span 8;
        padding: 0;
        padding-left: max(calc((100vw - 960px) / 2 + 1em), 1rem);
    }
    .eao--page-header > * > *:last-child {
        grid-column: 9 / span 4;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    :root {
        --font-size--h1: 64px;
        --font-size--h2: 37px;
        --font-size--h3: 30px;
        --font-size--h4: 26px;
        --font-size--h5: 22px;
        --font-size--h6: 18px;
    }
    .is-layout-constrained {
        max-width: 1140px;
    }
    .eao--page-header > * > *:first-child {
        padding-left: max(calc((100vw - 1200px) / 2 + 3em), 1rem);
    }
}

/* Extra xl large devices (large desktops, 1400px and up) */
@media (min-width: 1400px) {
    .is-layout-constrained {
        max-width: 1320px;
    }
    .eao--page-header > * > *:first-child {
        padding-left: max(calc((100vw - 1320px) / 2 + 1em), 1rem);
    }
}

/* Publishing Bureau xxl large devices (large desktops, 1600px and up) */
@media (min-width: 1600px) {

}
.red {
    color: var(--wp--preset--color--eao-red);
}
/* EAO Timeline styling */
.eao-timeline {
    position: relative;
    padding: 2rem 0;
}

/* Timeline vertical line */
.eao-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #000;
    transform: translateX(-50%);
    z-index: -1;
}

/* Position timeline boxes */
.eao-timeline .eao--group--box-shadow {
    position: relative;
    margin-bottom: 3rem;
}

/* Timeline red circle */
#timeline-red-circle {
    position: fixed;
    left: 50%;
    top: 50%;
    width: 40px;
    height: 40px;
    background-color: #E91018;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    display: none;
    pointer-events: none;
}

/* Mobile adjustments */
@media (max-width: 991px) {
    .eao-timeline .wp-block-column[style*="flex-basis:50%"] {
        flex-basis: 100% !important;
    }
    
    .eao-timeline .wp-block-column[style*="flex-basis:25%"] {
        display: none;
    }
}