
.wp-block-paragraph a {
    text-decoration: none;
}

/* Responsive font size overrides */
@media all and (min-width: 1024px) {
    :root {
        --wp--preset--font-size--x-large: 2.5rem !important;
        --wp--preset--font-size--xx-large: 6.875rem !important;
    }

    h1.wp-block-heading {
        font-size: 6.875rem;
    }

    h2.wp-block-heading {
        font-size: 3.125rem;
    }

    h3.wp-block-heading {
        font-size: 2.5rem;
    }
}

@media all and (min-width: 1280px) {
    body {
        --wp--style--root--padding-right: 5rem !important;
        --wp--style--root--padding-left: 5rem !important;
    }
}

/* Other text styles */

h2 mark.has-inline-color {
    font-weight: 200 !important;
    letter-spacing: 0;
}

p.is-style-strapline {
    letter-spacing: 12%;
    margin-bottom: 0;
}

p.is-style-strapline + h2 {
    margin-top: .25rem;
}

p.has-xx-large-font-size {
    line-height: 1.018181818181818em;
}

/* Main block stuff */

.site-container {
    overflow-x: hidden;
}

.site-container > * {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
}

.site-container > .wp-block-group:first-of-type { position: relative; z-index: 10;}

.site-container > .wp-block-group:first-of-type .wp-block-cover {
    padding-top: 89px;
}

body.admin-bar .wp-block-cover[style*="min-height:100vh"],
body.admin-bar .wp-block-cover[style*="min-height: 100vh"] {
    min-height: calc(100dvh - var(--wp-admin--admin-bar--height, 32px)) !important;
}

.wp-block-media-text > .wp-block-media-text__content,
.wp-block-cover, .wp-block-cover-image {
    padding: 0;
}

.wp-block-group.is-style-widest {
    max-width: 1400px !important;
}

.wp-block-media-text { gap: 2.5rem; }

/* Radial Burst */

.wp-block-group.radial-burst {
    position: relative;
}

.wp-block-group.radial-burst::before {
    content: "";
    display: block;
    position: absolute;
    top: -65%;
    height: 220%;
    width: 150%;
    background: #DC4800;
    background: radial-gradient(circle, rgba(220, 72, 0, 0.95) 15%, rgba(78, 85, 114, 0.96) 32%, rgba(208, 210, 205, 1) 75%, rgba(208, 210, 205, 0) 95%);
    z-index: 0;
    transform: translateX(-50%);
    left: 35%;
}

.wp-block-group.radial-burst::after {
    content: "";
    display: block;
    position: absolute;
    height: 100%;
    width: 150%;
    bottom: -80%;
    z-index: 1;
    transform: translateX(-50%);
    left: 35%;
    background: #ffffff;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 60%);
}

.zindex-top > * {
    position: relative;
    z-index: 2;
}

/* Staggered Cards */

@media all and (min-width: 1024px) {
    .wp-block-group.is-style-staggered-cards {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem 2.5rem;
        align-items: flex-start;
    }

    .wp-block-group.is-style-staggered-cards > * { margin-block-start: 0 !important; }

    .wp-block-group.is-style-staggered-cards > *:nth-child(even) {

        transform: translateY(3.75rem);
    }
}

/* Image Hotspots */
.image-hotspot {
    position: relative;
    width: 100%;
    padding-top: 2rem;
}

.image-hotspot__image {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 10;
}

.image-hotspot__links {
    position: absolute;
    top: 0;
    left: 0;
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    bottom: 0;
    right: 0;
    z-index: 15;
}

.image-hotspot__links li {
    position: absolute;
    cursor: pointer;
    width: 22px;
    height: 22px;
}

.image-hotspot__links li svg { width: 100%; }

.image-hotspot__links li.hotspot--active #rect-vertical { transform: rotate(90deg); }

.image-hotspot__modal {
    background: var(--wp--preset--color--dark-blue);
    border: 1px solid #ffffff;
    position: absolute;
    color: white;
    width: 340px;
    max-width: calc(100vw - 30px); /* Leaves 15px margin on mobile screens smaller than 319px */
    box-sizing: border-box;
    z-index: 1000;
}

.image-hotspot__description {
    color: white;
    margin: 0;
}

.image-hotspot__modal-inner {
    padding: 1.5625rem 1.3125rem 1.5625rem 1.3125rem;
    position: relative;
}

.image-hotspot__modal .image-hotspot__title {
    color: #ffffff;
}

.image-hotspot__modal .image-hotspot__close {
    background: none;
    color: var(--wp--preset--color--brand-light-blue);
    border: 0;
    font-size: 2rem;
    position: absolute;
    top: .23rem;
    right: .25rem;
    cursor: pointer;
}


@media all and (min-width: 1024px) {
    .image-hotspot__links li {
        width: 36px;
        height: 36px;
        border-radius: 9999px;
    }


    .image-hotspot::before {
        content: "";
        display: block;
        background: url('../img/image-hotspot-before.png') top center no-repeat;
        background-size: contain;
        width: 189px;
        height: 126px;
        position: absolute;
        top: 0;
        right: 41px;
    }

    .image-hotspot::after {
        content: "";
        display: block;
        background: url('../img/image-hotspot-after.png') top center no-repeat;
        background-size: contain;
        width: 189px;
        height: 126px;
        position: absolute;
        bottom: -90px;
        left: 23px;
    }


}

/* HEx Grid Icons */

.hex-icon-grid {}

.hex-icon-grid__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.hex-icon-grid__box {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hex-icon-grid__box h3 { margin-top: 1rem; margin-bottom: 1rem; }

.hex-icon-grid__box > * { margin: 0; }

.hexagon-container {
    position: relative;
    width: 88px;
    height: 97px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hexagon-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hexagon-icon {
    position: relative;
    z-index: 1;
    color: #ffffff;
    font-size: 2rem;
    transform: translateY(2px);
}

@media all and (min-width: 768px) {
    .hex-icon-grid { margin: 4rem auto 2rem; }
    .hex-icon-grid__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 6rem;
    }
}
@media all and (min-width: 1280px) {
    .hex-icon-grid__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 4rem 10rem;
    }
}