/*************************************************************************************************/
/* Variables                                                                                */
/*************************************************************************************************/
:root {
    --page-container-padding: 3%;
    --page-container-max-width: 1500px;
    --color-oht-red: #ac162c;
    --font-oht-serif-1: "Libre Bodoni", serif;
    --font-oht-sans-1: "Open Sans", sans-serif;
    /* Heritage matters variables */
    --column-separator-rule: 1px solid #c3c3c3;
    --padding-between-cards: 1.75rem;
  }

/*************************************************************************************************/
/* HTML element styles                                                                           */
/* Base styles for native HTML tags (not classes or IDs)                                         */
/*************************************************************************************************/
html {
    font-size: 16px;
}
body {
    max-width: 100%;
    overflow-x: hidden;
    font-family: var(--font-oht-sans-1) !important;
    color: #000;
    font-size: 1rem;
    font-weight: 400;
}

@media (max-width: 767.98px) {
    html {
        font-size: 0.785rem;
    }
}

h1 {    
    font-family: var(--font-oht-serif-1);
}

@font-face {
    font-family: 'Charman Serif';
    src: url('./fonts/CharmanSerif-Variable-VF.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

a {
    color: black;
    cursor: pointer !important;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    margin-top: 1rem;
}

li {
    margin-top: 1em;
}

/*************************************************************************************************/
/* Grid element styles                                                                           */
/* Styles that control the overall page grid                                                     */
/*************************************************************************************************/

.page-container {
    padding-left: var(--page-container-padding);
    padding-right: var(--page-container-padding);
    max-width: var(--page-container-max-width);
    margin-left: auto;
    margin-right: auto;
    margin-top: 100px; 
    padding-top: var(--page-container-padding);
}

.full-width {
    margin-left: calc(-3%);
    margin-right: calc(-3%);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow-x: hidden;
    overflow-y: hidden;
}

.full-width-content {
    max-width: var(--page-container-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 3%;
    padding-right: 3%;
    width: 100%;
}

/* .page-title-wrapper {
    border: solid thin magenta;
} */

/* Grid element styles used only in HM */

.full-width-image {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

/* ---------------------------------- */

.page-title h1 {
    font-size: 3.5rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.1em;
    letter-spacing: -0.01em;
}
@media (max-width: 1024px) {
    .page-title h1 {
        font-size: 3rem !important;
    }
}

@media (max-width: 768px) {
    .page-title h1 {
        font-size: 1.75rem !important;
    }
}

.lead-text p, .lead-text {
    font-size: 1.25rem;
    width: 70%;
}

.lead-text-full-width p {
    width: 100%;
    font-size: 1.25rem;
}

.oht-red {
    color: var(--color-oht-red);
}

@media (max-width: 1024px) {
    .lead-text p {
        width: 100%;
    }
}

.text-small {
    font-size: 0.8rem !important;
}

.text-big {
    font-size: 1.125rem !important;
}

.text-huge {
    font-size: 1.25rem !important;
}

.more-letter-space {
    letter-spacing: 0.125em;
}

@media (max-width: 768px) {
    .page-container {
        margin-top: 70px; 
    }
}

.info-link {
    color: var(--color-oht-red) !important;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
}

.info-link:hover {
    text-decoration: underline !important;
}


article > h2:first-child,
section > h2:first-child,
div > h2:first-child,
h3:first-child {
  margin-top: 0;
}

.border-radius-8 {
    border-radius: 8px;
}


/*************************************************************************************************/
/* Globals                                                                                       */
/*************************************************************************************************/

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 3rem;
    margin-bottom: 3rem;  
}

.section-header span.category-title {
    display: block;
    font-family: var(--font-oht-serif-1);
    margin-top: 2rem;
    font-size: 3rem;
    text-transform: initial;
    letter-spacing: initial; 
}

@media (max-width: 768px) {
    .section-header span.category-title {
        font-size: 2rem;
    }
}

.section-header::before {
    background-color: var(--color-oht-red);
    content: "";
    display: inline-block;
    height: 2px;
    position: relative;
    vertical-align: middle;
    width: 50px;
    margin-bottom: 0.5rem
  }

  .section-header h1,
  .section-header h2 {
    font-size: 1rem !important;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 3.029px;
    margin-top: .3rem !important;
    font-family: var(--font-oht-sans-1) !important;
    text-align: center;
}

.section-header h1 span:first-of-type,
.section-header h2 span:first-of-type {
    color: var(--color-oht-red);
}

.content-alignment {
    /* padding-left: var(--size-post-narrow-outer);
    padding-right: var(--size-post-narrow-outer); */
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .content-alignment {
        max-width: 550px;
    }
}

@media (max-width: 425px) {
    .content-alignment {
        max-width: 350px;
    }
}

@media (max-width: 375px) {
    .content-alignment {
        max-width: 300px;
    }
}

@media (max-width: 320px) {
    .content-alignment {
        max-width: 250px;
    }
}

.content-block {
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
}

.page-container > .content-block:first-child {
    margin-top: 0;
  }

.content-block-padding {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.tag-pill {
    border: 1px solid #6c757d; 
    color: grey;
    font-weight: 200;
    padding: 0.25rem 0.75rem; 
    border-radius: 50rem; 
    display: inline-block;
    text-decoration: none;
    font-size: 0.875rem;
    margin: 0 5px;
}

.tag-pill:hover {
    background-color: #6c757d;
    color: #fff !important;
}

.red-vl, blockquote {
    font-size: 1.25em;
    border-left: 1px solid red;
    padding-left: 1rem;
    font-weight: 700;
}

blockquote {
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

blockquote cite {
    font-size: 1rem;
    font-weight: 400;
}

.rich-text-block a,
.column-text a,
.lead-text a {
    color: var(--color-oht-red) !important;
    text-decoration: underline !important;
}

.itinerary-button {
    border-radius: 5px;
    border: 1px solid var(--color-oht-red);
    background-color: var(--color-oht-red);
    color: white;
    padding: 0.5rem 1rem;
}

.map-marker-image {
    height: 55px;
    width: auto;
}

.mapboxgl-popup-content {
    padding: 15px 30px 15px !important;
}

.no-underline {
    text-decoration: none !important;
}

.no-br {
    border-radius: 0 !important;
}


/*************************************************************************************************/
/* Buttons                                                                                       */
/*************************************************************************************************/

/* Base button styles */
.ewg-button-primary,
.ewg-button-secondary,
.ewg-button-tertiary,
.ewg-more-info,
.oht-primary-button,
.oht-button-secondary,
.global-button-primary,
.cta-button,
.oha-clear-button,
.event-cta-button,
.subscribe-button {
    padding: 1rem 2.25rem !important;
    border-radius: 5px !important;
    font-size: 1rem !important;
    text-align: center !important;
    font-weight: 600 !important;
    border: 2px solid !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    justify-content: center !important;
    align-items: center !important;
}

@media (max-width: 768px) {
    .ewg-button-primary,
    .ewg-button-secondary,
    .ewg-button-tertiary,
    .ewg-more-info,
    .oht-primary-button,
    .oht-button-secondary,
    .global-button-primary,
    .cta-button,
    .oha-clear-button,
    .event-cta-button,
    .subscribe-button {
        padding: 0.75rem 1.25rem !important;
    }
}

.subscribe-button {
    color: #AAA3A3 !important;
    background-color: black;
    border-color: #AAA3A3;
}

.footer-col-3 button:hover { 
    background-color: white;
    color: black !important;
    border-color: white;
}

/* Based on selection in the CMS: light or dark */
.cta-button.light-bg:hover {
    background-color: #1E1E1E !important;
    color: #F2F2EF !important;
    border-color: #1E1E1E !important;
}

.cta-button.dark-bg {
    color: #fff !important;
}

.cta-button.dark-bg:hover {
    background-color: #F2F2EF !important;
    color: #1E1E1E !important;
    border-color: #F2F2EF !important;
}
/* --------------------------------------------- */

.oht-primary-button {
    background-color: #FFF;
    color: #000;
    border-color: #FFF;
}

.oht-primary-button:hover {
    background-color: transparent;
    color: #FFF !important;
}

.oht-button-secondary {
    background-color: transparent;
    color: var(--color-oht-red);
    border-color: var(--color-oht-red);
}

.oht-button-secondary:hover {
    background-color: var(--color-oht-red);
    color: #FFF !important;
}

.ewg-button-primary {
    background-color: #FFF;
    color: #000;
    border-color: #FFF;
}

.ewg-button-primary:hover {
    background-color: transparent;
    color: #FFF !important;
}

.ewg-button-secondary {
    background-color: #FFCC08;
    color: #000;
    border-color: #FFCC08;
}

.ewg-button-secondary:hover {
    background-color: #FFF;
    color: #000 !important;
    border-color: #FFCC08;
}

.ewg-button-tertiary {
    background-color: #F1F1EE;
    color: var(--color-oht-red);
    border-color: var(--color-oht-red) !important;
    font-size: 1.375rem;
    font-weight: 400;
    line-height: 1;
}

.ewg-button-tertiary:hover {
    background-color: #000;
    color: #fff !important;
    border-color: #000;
}

.global-button-primary {
    background-color: #000 !important;
    color: #FFF !important;
    border-color: #000 !important;
}

.global-button-primary:hover {
    background-color: transparent !important;
    color: #000 !important;
}

.ewg-more-info {
    background-color: #FFCC08;
    color: #000;
    border-color: #FFCC08;
}

.ewg-more-info:hover {
    background-color: transparent;
    color: #000 !important;
}

.oha-clear-button {
    background-color: transparent;
    color: #000;
    border-color: #000;
    padding: 10px 20px;
    width: 168px;
}

.oha-clear-button:hover {
    background-color: #000;
    color: #FFF !important;
}

.oha-clear-button.active {
    background-color: #000;
    color: #FFF !important;
}

.event-cta-button {
    background: var(--color-oht-red);
    border-color: var(--color-oht-red) !important;
    color: #fff !important;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.event-cta-button:hover {
    background: #fff;
    color: var(--color-oht-red) !important;
}

@media (max-width: 1440px) {
    .ewg-button-primary,
    .ewg-button-secondary,
    .ewg-button-tertiary,
    .ewg-more-info,
    .oht-primary-button,
    .oht-button-secondary,
    .global-button-primary,
    .oha-clear-button {
        font-size: 0.8rem !important;
    }
}

/*************************************************************************************************/
/* Home Page Items Styling                                                                        */
/*************************************************************************************************/

.hero-controls {
    position: absolute;
    top: 74%;
    right: 50%;
}

.hero-controls .play-button-overlay {
    padding: 0.5rem;
}

.hero-controls img {
    width: 40px;
    height: 40px;
}

.carousel-inner.hero {
    height: calc(100vh - 100px);
}

.hero-text-overlay {
    position: absolute;
    bottom: 35%;
    left: 0%;   
    width: auto;
    z-index: 2;
    margin-left: 6%;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 1rem;
}

.hero-navigation-title h1 {
    color: #fff;
    font-size: 4.5rem;
    font-style: normal;
    font-weight: 500;
    line-height: 104%; /* 66.56px */
    letter-spacing: -2.56px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    padding: 1rem 0.5rem;
    display: inline-block;
}

.hero-navigation-sub-title {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 400;
    line-height: 28px; /* 155.556% */
    padding: 1rem 0.35rem;
}

.hero-navigation-sub-title p {
    margin-bottom: 0;
}

.hero-navigation-links {
    position: relative;
    bottom: 11%;
    z-index: 2;
    display: flex;
    justify-content: center;
    width: 88%;
    margin-left: 6%;
}

.carousel.slide {
    height: calc(100vh - 100px);
}

@media (max-width: 768px) {
    .carousel.slide {
        height: calc(100vh - 70px);
    }
}

.hero-slide-button {
    background: #254583;
    color: #ffffff !important;
    padding: 0.25rem 2rem;
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px 8px 0px 0px;
    text-decoration: none !important;
    height: 8rem;
    flex: 1;
    text-align: center;
    max-width: none;
    min-width: 0;
}

.hero-slide-button p {
    font-size: 0.875rem;
    padding-top: 3px;
}

.hero-navigation-links .hero-slide-button.active {
    transform: translateY(-40px) !important; 
    background: #122C5F;
    transition: transform 0.3s ease, background 0.3s ease; 
}

.hero-navigation-links .hero-slide-button {
    transition: transform 0.3s ease, background 0.3s ease;
}

.hero-slide-button p {
    display: none;
}

.hero-slide-button.active p {
    display: block;
}

.hero-slide-button:hover {
    background: #1a3d8a;
}

.hero-slide-title {
    color: var(--White, #F2F2F2);
    font-size: 1.1875rem;
    font-style: normal;
    font-weight: 700;
    line-height: 120%; /* 22.8px */
    letter-spacing: 2.66px;
    text-transform: uppercase;
}

.hero-slide-button:hover h2,
.hero-slide-button:hover .hero-slide-title {
    color: #ffffff !important;
}

.hero-pagination {
    position: relative;
    margin: 0;
    justify-content: flex-end;
}

.pagination-container .carousel-indicators {
    position: relative;
    left: 0% !important;
    top: 0% !important;
    transform: translateX(0%);
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Update these styles with higher specificity */
.carousel-indicators [data-bs-target] {
    width: auto !important;
    height: auto !important;
    margin: 0 4px !important;
    border: none !important;
    opacity: 1 !important;
    background: transparent !important;
    padding: 0 !important;
}

.indicator-inactive, .indicator-active {
    border-radius: 10px;
}

.carousel-indicators button .indicator-active {
    display: none;
}

.carousel-indicators button .indicator-inactive {
    display: block;
}

.carousel-indicators button.active .indicator-active {
    display: block;
}

.carousel-indicators button.active .indicator-inactive {
    display: none;
}

.carousel-item-description {
    margin-top: 15px;
    text-align: center;
}

.carousel-item img {
    height: calc(100vh - 100px); 
    width: 100%; 
    object-fit: cover;
}

.slide-description {
    display: none;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 135%; /* 21.6px */
    letter-spacing: -0.08px;
}

.slide-description.active {
    display: block;
}

.slide-sub-title {
    color: #0F0E0E;
    font-weight: 400;
}

.read-more-link {
    color: var(--color-oht-red) !important;
}

.read-more-link:hover {
    color: var(--color-oht-red) !important;
    text-decoration: underline !important;
}

.read-more-link:hover .read-more-arrow {
    border-bottom: 1px solid currentColor;
}

.read-more-arrow {
    width: 10px;
    padding-bottom: 1px;
}

.hero-carousel-control-prev,
.hero-carousel-control-next {
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0);
    border: none;
    opacity: 1;
    z-index: 5;
}

.hero-carousel-control-prev,
.hero-carousel-control-next {
    transition: transform 0.2s ease;
}

.hero-carousel-control-prev:active,
.hero-carousel-control-next:active {
    transform: translateY(-50%) scale(1.2);
}

.hero-carousel-control-next, .hero-carousel-control-prev {
    top: 74%;
    transform: translateY(-50%);
    border-radius: 28px;
    background: #0000002b;
}

.hero-carousel-control-next-icon {
    background-image: url("/assets/images/arrow-right.svg");
}

.hero-carousel-control-prev-icon {
    background-image: url("/assets/images/arrow-left.svg");
}

.hero-carousel-control-prev {
    left: 6%;
}

.hero-carousel-control-next {
    right: 6%;
}

.hero-carousel-control-prev-icon,
.hero-carousel-control-next-icon {
    display: inline-block;
    width: 15px;
    height: 40px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

@media (max-width: 1200px) {
    .hero-navigation-title {
        font-size: 4.5rem;
    }
}

@media (max-width: 1024px) {
    .hero-controls {
        top: 74%;
        right: 50%;
    }
    .hero-text-overlay {
        top: 0%;
        bottom: unset;
        left: 0%;
        width: 100%;
        margin-left: 0%;
    }
    .hero-navigation-title h1 {
        font-size: 3rem;
        padding: 0rem;
        margin-bottom: 0rem;
        margin-top: 0rem;
    }
    .hero-navigation-sub-title {
        padding: 0.25rem;
    }
    .pagination-container .carousel-indicators {
        display: none;
    }
    .hero-slide-button {
        padding: 1rem 1rem;
    }

    .hero-navigation-links {
        bottom: 21%;
        flex-wrap: nowrap; 
    }

    .hero-navigation-links .hero-slide-button.active {
        transform: translateY(0px) !important; 
        padding-top: 1.5rem;
    }
    
    .hero-slide-button {
        display: none; 
    }
    
    .hero-slide-button.active {
        display: block; 
        width: auto;
        min-width: 300px;
        height: auto;
        transform: none !important; 
        margin: 0 auto;
    }

    .hero-slide-title {
        display: block; 
        padding: 0rem;
    }

    .carousel-item img {
        height: calc(100vh - 70px);
    }
    
    .hero-carousel-control-prev {   
        left: 6%; 
    }
    .hero-carousel-control-next {
        right: 6%;
    }
    .hero-navigation-title {
        font-size: 3rem;
    }

    .hero-navigation-sub-title {
        width: 80%;
    }

    .hero-navigation-container .row {
        flex-direction: column;
    }

    .hero-navigation-container .col-4 {
        order: 1;
    }

    .hero-navigation-container .col-8 {
        width: 100%;
        order: 2;
    }

    .hero-slide-title.hero-slide-active {
        display: block;
    }

}

@media (max-width: 992px) {
    .hero-navigation-title {
        font-size: 3rem;
    }
    .hero-slide-title.hero-slide-active {
        font-size: 1.5rem;
    }
    .hero-navigation-sub-title {
        font-size: 1.1rem;
    }
    .hero-slide-button p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-navigation-links {
        bottom: 14%;
    }
}

@media (max-width: 640px) {
    .hero-navigation-container {
        margin-top: 0.5rem;
    }
    .carousel.slide {
        height: calc(100svh - 70px);
    }
    .hero-carousel-control-next, .hero-carousel-control-prev {
        top: 77%;
    }
    .hero-controls {
        top: 77%;
        right: 50%;
    }
}

@media (max-width: 576px) {
    .hero-navigation-links {
        bottom: 30%;
    }
    .hero-controls .play-button-overlay {
        padding: 0rem;
    }
    .hero-text-overlay {
        top: 0%;
        left: 0%;
        margin: 0%;
        text-align: center;
    }
    .hero-navigation-overlay {
        padding: 1rem;
    }
    .hero-navigation-title h1 {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
        padding-bottom: 0rem;
        margin-top: 0rem;
    }
    .hero-navigation-links .hero-slide-button.active {
        padding-top: 1.5rem;
    }
    .hero-navigation-title {
        font-size: 2.5rem;
        letter-spacing: -1.2px;
    }
    
    .hero-slide-title {
        font-size: 1.5rem;
    }
    
    .hero-navigation-sub-title {
        font-size: 1rem;
        padding: 0 0.35rem;
        width: 100%;
        line-height: normal;
    }

    .slide-sub-title {
        font-size: 0.8rem;
        line-height: 1rem;
    }

    .read-more-link {
        font-size: 0.8rem;
    }
    .hero-slide-button {
        height: auto;
        border-radius: 8px;
    }
}

@media (max-width: 425px) {
    .hero-navigation-links {
        bottom: 31%;
    }
}



/*************************************************************************************************/
/* Map Styling                                                                                  */
/*************************************************************************************************/

.map-container {
    padding: 0 !important;
    line-height: 0; 
    display: block;
}
.map-container iframe {
    display: block; 
    margin: 0;
    padding: 0;
    border: none;
}
.map-container h3 {
    color: #0F0E0E;
    font-size: 3.5rem;
    font-weight: 300;
    text-align: center;
    line-height: 120%; 
    letter-spacing: -1.818px;
}
.homepage-map-description {
    color: #000;
    text-align: center;
    line-height: 1.5rem;
}

.animate-fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}




@media (max-width: 640px) {
    .homepage-map h3 {
        font-size: 1.75rem;
    }
    .homepage-map-description {
        font-size: 0.75rem !important;
    }
}

@media (max-width: 425px) {
    .homepage-map-hr {
        width: 10%;
    }
    .homepage-map {
        height: 270px;
    }
}

/*************************************************************************************************/
/* Property Items Styling                                                                        */
/*************************************************************************************************/

.location-map {
    border-radius: 8px;
    overflow: hidden;
}

.icon {
    width: 20px;
    height: 20px;
}

.in-person-services.icon {
    height: auto !important;
}

.property-image-caption, .plaque-image-caption {
    font-weight: 400 !important;
    font-size: 0.785rem !important;
    margin: 0; 
    line-height: 1.5;
    text-align: left; 
}

.property-image-credit, .plaque-image-credit {
    font-size: 0.75rem;
}

@media (max-width: 997px) {
    .property-description {
        width: 100%;
    }
    .property-title {
        font-size: 2.5rem !important;
    }
}

.property-content {
    margin-top: 6rem;
}

.property-columnTwoImage {
    overflow: hidden;
    border-radius: 8px;
    width: 100%;
    height: auto;
    aspect-ratio: 653 / 416;
    object-fit: cover;
}

.property-image, .plaque-image, .featured-slider-image {
    max-height: 625px;
    object-fit: cover;
    border-radius: 8px;
}



.location-info {
    width: 100%;
    padding-left: 15px;
}

.location-info h4 {
    font-size: 1.2rem !important;
    font-weight: 400 !important;
}

.location-map {
    border-radius: 3px;
    overflow: hidden;
}

/* Location Details Responsive Layout */
@media (max-width: 991.98px) { /* Tablet and below */
    #location-details-container .row {
        flex-direction: column;
    }

    #location-details-container .col {
        width: 100%;
    }

    .location-map {
        margin-bottom: 2rem;
    }

    .location-map #map {
        height: 400px; /* Slightly taller map on mobile */
        width: 100%;
    }

    .location-info {
        padding-left: 0;
    }
}

@media (max-width: 767.98px) {

    .property-columnTwoImage {
        max-width: 100%;
        aspect-ratio: 1 / 1; 
    }

    .location-info {
        padding: 0 15px;
        padding-left: 0px;
    }
    
    .location-info h4 {
        margin-bottom: 0.5rem !important;
    }
    
    .location-info .mb-4 {
        margin-bottom: 1rem !important;
    }
    
    /* Ensure equal height columns */
    .location-info .row {
        margin-left: -8px;
        margin-right: -8px;
    }
    
    .location-info .col-6 {
        padding-left: 8px;
        padding-right: 8px;
    }
    .location-map #map {
        height: 300px; 
    }

    .location-info .row {
        flex-direction: column;
    }

    .location-info .col-6 {
        width: 100%;
        margin-bottom: 1.5rem;
    }

    .location-info h4 {
        font-size: 1.1rem !important;
    }

    .location-info .mb-5 {
        margin-bottom: 1.5rem !important;
    }
}

@media (max-width: 425px) {
    .property-intro {
        margin-top: 35px;
    }
}

/*************************************************************************************************/
/*************************************************************************************************/

/* MAIN CONTENT BLOCKS STYLING                                                                   */

/*************************************************************************************************/
/* Accordion Styling                                                                              */
/*************************************************************************************************/

.accordion {
    --bs-accordion-border-color: #7E7E7E;
    --bs-accordion-border-radius: 0 !important;
    --bs-accordion-border-width: 0 !important;
}

.accordion-button { 
    background: #ECECE9 !important;
    font-size: 1.25rem !important;
    border: none !important;
    border-bottom: 1px solid #7E7E7E !important;
}

.accordion-item {
    border: none !important;
}

.accordion-body {
    background: #ECECE9 !important;
    /* padding-left: 0 !important; */
}

.accordion-button:not(.collapsed) {
    color: #000 !important;
}

.accordion-button:focus {
    box-shadow: none !important;
}

.accordion-item:first-of-type>.accordion-header .accordion-button {
    border-radius: 0 !important;
    text-decoration: none !important;
}

.property-accordion-body, .plaque-accordion-body {
    background: #F7F8F9 !important;
}

.accordion-footnotes {
    font-size: 1rem;
}

/*************************************************************************************************/
/* Gallery Styling                                                                               */
/*************************************************************************************************/

.gallery-swiper {
    width: 100%;
    height: 100vh;
    padding: 0% 5% 0% 5%;
}

.gallery-swiper-wrapper {
    position: relative;
    top: 8%;
}

.gallery-image {
    width: 100%;
    height: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.swiper-3d .swiper-slide-shadow-left,
.swiper-3d .swiper-slide-shadow-right {
    display: none;
}

.gallery-swiper .swiper-slide:not(.swiper-slide-active) .red-vl {
    display: none;
}

.swiper-pagination-bullet-active {
    background: var(--color-oht-red) !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    display: none;
}

.swiper-button-next {
    background-image: url('/assets/images/Vector_next.svg');
    background-repeat: no-repeat;
    background-position: right;
    background-size: 100%;
}

.swiper-button-prev {
    background-image: url('/assets/images/Vector_prev.svg');
    background-repeat: no-repeat;
    background-position: left;
    background-size: 100%;
}

.swiper-button-next:active,
.swiper-button-prev:active {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

.swiper-item-caption {
    color: #e0e0e0;
    font-weight: 400 !important;
    opacity: 0;
    font-size: 0.785rem !important;
    transition: opacity 0.3s ease;
    margin: 0; 
    line-height: 1.5;
    text-align: left; 
}
.swiper-item-credit {
    opacity: 0;
    font-size: 0.75rem;
    color: #AAA3A3;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.swiper-slide-active .swiper-item-caption,
.swiper-slide-active .swiper-item-credit,
.swiper-slide-active .gallery-red-vl {
    opacity: 1;
}

.gallery-red-vl {
    opacity: 0;
    align-self: stretch; 
    min-height: 100%; 
}

.swiper-slide-active .gallery-red-vl {
    opacity: 1; 
}

.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-modal.active {
    display: flex;
    opacity: 1;
    justify-content: center;
    align-items: center;
}

.gallery-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
}

.gallery-modal-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.gallery-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 1.875rem;
    cursor: pointer;
    background: none;
    border: none;
}

.gallery-modal-caption {
    position: absolute;
    bottom: -50px;
    left: 0;
    color: white;
    width: 100%;
    text-align: left;
}

.modal-backdrop.show {
    opacity: 0.9;
    background-color: #000;
}

.modal.fade .modal-dialog {
    max-width: 65%;
    max-height: 90vh;
}

.modal-body img {
    max-height: 90vh;
    object-fit: contain;
}

.modal .btn-close {
    z-index: 1050;
}

.gallery-image-credits {
    font-size: 0.75rem;
    color: #D2D2D6;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.swiper-slide-active .gallery-image-credits {
    opacity: 1;
}

.mobile-swipe-indicator, .mobile-swipe-indicator-dark {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    top: 25%;
}

.mobile-swipe-indicator {
    color: #FFF;
}

.mobile-swipe-indicator-dark {
    color: #000;
}

.mobile-swipe-indicator p, .mobile-swipe-indicator-dark p {
    font-size: 1rem;
    letter-spacing: 1px;
}

.mobile-swipe-indicator svg, .mobile-swipe-indicator-dark svg {
    animation: bounce 2s infinite;
}

.swipe-right-indicator {
    rotate: -90deg;
}

.swipe-left-indicator {
    rotate: 90deg; 
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

@media (max-width: 1024px) {
    .swiper-button-next,
    .swiper-button-prev {
        width: 50px;
    }
    .gallery-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .mobile-swipe-indicator {
        top: 0%;
    }
    .modal.fade .modal-dialog {
        max-width: 100%;
    }

    .gallery-title {
        font-size: 2.5rem !important;
        top: 30px;
    }

    .gallerySwiper {
        padding: 300px 0px 60px 0px;
    }

    .swiper-slide {
        width: 100%; 
        padding: 0 10px;
    }

    .gallery-image {
        height: 300px; 
        /* width: 70%;  */
        margin: 0 auto;
    }

    .swiper-button-prev, .swiper-button-next {
        display: none;
    }

    .swiper-item-caption {
        text-align: left;
    }
    .gallery-image-credits {
        right: 12%; 
    }
    .swiper-item-caption {
        font-size: 0.75rem !important;
    }
}

@media (max-width: 480px) {
    .gallery-swiper {
        height: 100%;
        padding: 5%;
    }

    .gallery-title {
        margin-top: 0.5rem !important;
        font-size: 2rem;
        top: 20px;
    }

    .gallerySwiper {
        padding: 50px 0px 40px 0px;
    }

    .gallery-image {
        height: 350px;
    }

    .swiper-item-caption {
        font-size: 0.75rem;
    }

    .gallery-image-credits {
        font-size: 0.6rem !important;
    }

}

@media (max-width: 425px) {
    .mobile-swipe-indicator {
        top: 25%;
    }
    .swiper-slide {
        padding: 0 0px;
    }
}
/* ----------------------------------------------- */
/* Call To Action (with and without image) */
/* ----------------------------------------------- */

.image-container a {
    height: 100%;
}
.image-container img {
    object-fit: cover;
}

.cta-wrapper .image-container img {
    max-height: 850px;
}

.cta-logo {
    height: 100px;
}

.cta-image .image-container {
    border-radius: 0 !important;
}

.cta-heading {
    font-size: 2.625rem !important;
}

@media (max-width: 1024px) {
    .cta-wrapper .image-container img {
        max-height: 650px;
    }
}

@media (max-width: 767.98px) {
    .cta-heading {
        font-size: 1.875rem !important;
    }
    .cta-button {
        margin-bottom: 0 !important;
    }
    .cta-button-simple {
        font-size: 1rem ;
    }
}

.cta-with-image-text {
    padding: 2rem;
}

/* Call To Action Image Overlay */
.image-container {
    position: relative;
}

.image-container a {
    display: block;
    position: relative;
}

.figcaption-wrapper-with-underlay {
    width: 100%;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.75) 0%,  
        rgba(0, 0, 0, 0.5) 50%,  
        rgba(0, 0, 0, 0) 100%    
    );
    height: 20%;
    position: absolute;
    bottom: 0;
    left: 0;
    color: white;
}

.figcaption-wrapper-with-underlay .photo-info {
    position: absolute;
    bottom: 1rem;
    left: 2rem;
    border-color: white;
}


/*************************************************************************************************/
/* Tabs                                                                           */
/*************************************************************************************************/

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    background-color: none !important;
}

.nav-tabs {
    border-bottom: none !important;
}

.nav-tabs .nav-link {
    border: none !important;
    border-bottom: 1px solid #cbcbcb !important;
    padding: 0.5rem 2rem !important; 
    color: #000 !important;
    
}

.nav-tabs .nav-link.active {
    color: var(--color-oht-red) !important;
    border-bottom: 1px solid var(--color-oht-red) !important;
}

/*************************************************************************************************/
/* Testimonial Styling                                                                           */
/*************************************************************************************************/

#testimonialCarousel .carousel-inner {
    position: relative;
    min-height: 300px;
    display: flex;
}

#testimonialCarousel .carousel-item {
    position: relative;
    padding-right: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-container {
    background: #F2F2EF;
}

.carousel-content-wrapper {
    min-height: 200px;
    margin-bottom: 60px; 
}

@media (max-width: 767.98px) {
    .testimonial-container {
        padding: 3rem !important;
    }
    
    .testimonial-container .carousel-indicators {
        bottom: 1.5rem; /* Adjust for mobile */
    }
}

.testimonial-heading {
    color: #070707;
    font-family: var(--font-oht-serif-1);
    font-size: 4.6875rem;
    font-weight: 200;
    line-height: 5.4375rem; 
    letter-spacing: -0.125rem;
}

.testimonial-subheading {
    color: var(--color-oht-red);
    font-size: 0.785rem;
    font-style: normal;
    font-weight: 700;
    line-height: 150%; 
    text-transform: uppercase;
    letter-spacing: 2px;
}


.testimonial-text,
.testimonial-credits {
    color: var(--color-oht-red);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    visibility: hidden;
}

.testimonial-text {
    font-size: 28.214px;
    line-height: 120%;
    padding: 0rem 3rem 0.75rem 3rem;
    transition-delay: 0.1s;
    flex: 1; 
}

.testimonial-credits {
    transition-delay: 0.4s; 
    padding: 0rem 3rem 0.75rem 3rem;
}

@media (max-width: 1024px) {
    .testimonial-heading {
        font-size: 3.5rem;
    }

    .testimonial-text {
        font-size: 1.4375rem;
    }
}

@media (max-width: 768px) {
    .testimonial-heading {
        font-size: 1.875rem !important;
        line-height: 100% !important;
    }

    .testimonial-text {
        font-size: 1rem !important;
    }

    .testimonial-container {
        padding: 3rem !important;
        padding-bottom: 3rem !important;
    }
    #testimonialCarousel .carousel-control-next {
        top: 15% !important;
    }
}

.testimonial-hr {
    border: 0.75px solid var(--color-oht-red) !important;
    width: 75px;
    margin: 1rem 0;
    opacity: 0;
    margin-left: 3rem;
    transition-delay: 0.4s; 
}

.carousel-item.active .testimonial-text,
.carousel-item.active .testimonial-credits,
.carousel-item.active .testimonial-hr {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.carousel-control-next, .carousel-control-prev {
    width: 40px;
    height: 40px;
    background: var(--color-oht-red);
    border-radius: 50%;
    opacity: 1;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-prev {
    left: -30px;
}

.carousel-control-next {
    right: -30px;
}
/* .carousel-control-prev {
    display: none;
} */

.carousel-control-next-icon, .carousel-control-prev-icon {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {

    .carousel-control-next {
        right: -30px;
    }
    .carousel-control-prev {
        left: -30px;
    }

    .carousel-control-next.carousel-control-next-icon {
        width: 30px;
        height: 30px;
        /* top: 30%; */
    }

    .carousel-control-next-icon, .carousel-control-prev-icon {
        width: 15px;
        height: 15px;
    }

    .testimonial-text {
        padding: 0rem 2rem 0.75rem 0rem;
    }
    .testimonial-heading {
        font-size: 3rem;
    }
    .testimonial-credits {
        padding: 0rem 0rem 0.75rem 0rem;
        font-size: 1rem;
    }

    .testimonial-hr {
        margin-left: 0rem;
    }
}

@media (max-width: 425px) {
    .banner-text {
        display: none;
    }
    .carousel-control-next {
        right: -20px;
    }
    .carousel-control-prev {
        left: -20px;
    }
    .carousel-control-next, .carousel-control-prev {
        width: 25px;
        height: 25px;
    }
}

/* Image carousel */
/* Carousel container */
#galleryCarousel {
    position: relative;
}


/*************************************************************************************************/
/* Text with Image (Right)                                                                     */
/*************************************************************************************************/

@media (max-width: 767.98px) {
    .twi-block {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

.twi-header {
    font-size: 1.5rem;
}

@media (min-width: 768px) {
    .twi-padding-left {
        padding-left: 2rem;
    }

    .twi-padding-right {
        padding-right: 2rem;
    }
}

@media (max-width: 767.98px) {
    .twi-block {
        margin-bottom: 0;
    }
}

/*************************************************************************************************/
/* Related Heritage                                                                             */
/*************************************************************************************************/

/* -------------------------------------------- */
/* Header Container Styling */
/* -------------------------------------------- */

.back-to-top {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 10px;
    right: -100px; 
    z-index: 1004;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.back-to-top.show {
    right: 0;
    opacity: 1;
    display: flex;
}

.back-to-top-btn {
    font-size: 0.785rem;
    margin-top: 1rem;
    margin-right: 0.5rem;
    background-color: var(--color-oht-red);
    color: white;
    padding: 2px 5px 2px 5px;
    border-radius: 5px;
}

@media (max-width: 767.98px) {
    .back-to-top {
        bottom: 50px;
    }
}

.global-header, .global-footer {
    padding-left: 3%;
    padding-right: 3%;
}


.footer-content {
    max-width: 1820px;
    margin-left: auto;
    margin-right: auto;
}

.footer-icon {
    height: 1.5rem;
}

.footer-icon-big {
    height: 2.5rem
}



.header-container {
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    top: 0;
    left: 0;
    z-index: 1005;
    width: 100%;
    background-color: #fff;
    box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.05);
    height: 100px;
    transition: transform 0.3s ease-in-out;
}

.header-container .dropdown-menu {
    position: fixed;
    top: 100px;
    right: 0 !important;
    left: revert-layer !important;
    width: 450px;
    height: 100vh;
    margin: 0;
    padding: 2rem;
    border-radius: 0;
    border: none;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    background-color: #f7f2f2;
    z-index: 998;
    transform: translateX(100%);
    visibility: hidden; /* Add this */
    transition: transform 0.4s ease-in-out, visibility 0.4s; /* Add visibility to transition */
}

.dropdown-menu.show {
    transform: translateX(0);
    visibility: visible; /* Add this */
}

.dropdown-menu .nav-link {
    transform: translateX(50px); /* Initial position */
    transition: transform 0.4s ease-in-out;
    opacity: 0;
}

.dropdown-menu.show .nav-link {
    transform: translateX(0);
    opacity: 1;
}

.header-hidden {
    transform: translateY(-100%);
}

.header-visible {
    transform: translateY(0);
}

.menuIcon {
    cursor: pointer;
}

.close-menu-btn {
    cursor: pointer;    
    margin-bottom: 0.5rem;
}

.close-menu-text {
    cursor: pointer;
}

.menu {
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    padding: 0;
    width: 40px;
    height: 40px;
}

.menu .line {
    fill: none;
    stroke: black;
    stroke-width: 4;  /* Reduced from 6 */
    transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
        stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.menu .line1 {
    stroke-dasharray: 60 207;
    stroke-width: 4;
}

.menu .line2 {
    stroke-dasharray: 60 60;
    stroke-width: 4;
}

.menu .line3 {
    stroke-dasharray: 60 207;
    stroke-width: 4;
}

.menu.opened .line1 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
    stroke-width: 4;
}

.menu.opened .line2 {
    stroke-dasharray: 1 60;
    stroke-dashoffset: -30;
    stroke-width: 4;
}

.menu.opened .line3 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
    stroke-width: 4;
}

/* Navigation Links */
.nav-link {
    cursor: pointer;
    color: #000;
    font-size: 1.15rem;
    line-height: 20px;
    text-decoration: none;
    color: #000;
    transition: color 0.3s ease;
}

.nav-item-container {
    padding-bottom: 1rem;
}

/* Only top-level nav items should be bold */
.dropdown-menu > .list-unstyled > li > div > .nav-link {
    font-size: 1.2rem;
}

/* Hover and active states for top-level nav links */
.dropdown-menu > .list-unstyled > li > div > .nav-link:hover,
.dropdown-menu > .list-unstyled > li > div > .nav-link.active {
    color: var(--color-oht-red) !important; /* Red color */
}

/* Ensure child nav links are not bold */
.sub-menu .nav-link {
    font-weight: 200;
}

.toggle-submenu {
    background: none;
    border: none;
    color: #000;
    font-size: 1.2rem;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-function-icon {
    width: 12px;
    height: 12px;
}

.logoWrapper a img {
    width: 170px;
    height: 65px;
}

.header-link {
    font-size: 0.875rem;
    text-decoration: none !important;
}

.mobile-nav-link {
    display: none;
    text-decoration: none;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: none !important;
}

.mobile-nav-list li::marker {
    display: none;
}

.itinerary-count-badge {
    background-color: #ac162c;
    color: white;
    font-size: 0.75rem;
    border-radius: 50%;
    padding: 0.10rem 0.35rem;
    position: relative;
    top: -5px;
    right: -24.5%;
}

.itinerary-count-badge.mobile {
    right: -2px;
}

#itinerary-count {
    min-width: 1rem;
    text-align: center;
}

/* Mobile responsive styles for header and dropdown */
@media (max-width: 768px) {
    .header-container {
        height: 70px; 
    }

    .logoWrapper a img {
        height: 35px;
        width: 85px;
    }

    .header-container .dropdown-menu {
        width: 100%; 
        top: 70px; 
        padding: 1rem;
        padding-left: 6%;
    }

    .dropdown-menu > .list-unstyled > li > div > .nav-link {
        font-size: 1.15rem;
    }

    .sub-menu .nav-link {
        font-size: 1.1rem;
    }

    .nav-link.active {
        color: var(--color-oht-red) !important;
    }

    .header-link, .header-item svg, .mapIcon, .searchIcon {
        display: none;
    }

    .mobile-nav-link {
        display: block;
        font-size: 1.1rem;
        line-height: 20px;
        text-decoration: none;
        color: #000;
        transition: color 0.3s ease;
    }
    .mobile-nav-list {
        display: block !important;
    }
}

/* -------------------------------------------- */
/* Footer Container Styling */
/* -------------------------------------------- */ 

.footer-content p, .footer-content a {
    color: #AAA3A3 !important;
}

.footer-content a {
    text-decoration: underline;
}

.footer-col-2 p{
    width: 85%;
}

.footer-col-3 p {
    color: #AAA3A3 !important;
    font-size: 1.75rem;
    width: 80%;
    margin-top: -0.5rem;
}

.footer-row span, .footer-row a, .footer-row p {
    color: #AAA3A3 !important;
    font-size: 0.785rem;
    font-style: normal;
    font-weight: var(--font-weight-400, 400);
    line-height: 14px; /* 100% */
    text-decoration: none !important;
    margin: 0.5rem 0;
}

.footer-logo {
    max-width: 150px;
    height: auto;
    cursor: pointer;
}

.footer-link {
    color: #AAA3A3 !important;
    transition: color 0.3s ease;
}

/* Footer responsive styles */
@media (max-width: 768px) {
    .footer-col-1,
    .footer-col-2,
    .footer-col-3 {
        width: 100%;
        margin-bottom: 2rem;
    }

    .footer-col-3 p {
        margin-top: 1rem;
        font-size: 0.75rem;        
    }

    .footer-row {
        flex-direction: column;
        padding-bottom: 2rem;
    }

    .footer-row span,
    .footer-row a,
    .footer-row p {
        display: block;
        margin: 0.5rem 0;
    }

    .footer-row span.mx-2 {
        display: none;
    }
}

/* -------------------------------------------- */
/* Home Page Styling */
/* -------------------------------------------- */

.row {
    display: flex; 
    flex-wrap: wrap;
}

.thumbnail {
    object-fit: fill; 
    height: 200px;
}

.donate-sticky-container {
    position: fixed;
    right: 45px;
    top: 37vh;
    z-index: 1000;
    transform-origin: 100% 100%;
    transform: rotate(-90deg) translateY(100%);
}

.donate-button {
    background: var(--color-oht-red);
    color: white !important;
    display: flex;
    width: clamp(120px, 12vw, 100px); 
    height: 45px;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    text-decoration: none;
}

.donate-button:hover {
    background-color: white;
    color: var(--color-oht-red) !important;
    border: 1px solid var(--color-oht-red);
}



@media (min-width: 1921px) {
    .donate-sticky-container {
        top: 22vh;
    }
}

@media (max-width: 1920px) {
    .donate-sticky-container {
        top: 32vh;
    }
}

@media (max-width: 1024px) {
    .donate-sticky-container {
        top: 28vh;
    }
}

@media (max-width: 768px) {

    .donate-sticky-container {
        position: fixed;
        right: 50%;
        top: calc(100vh - 35px);
        transform: translateX(50%);
        width: 100%;
        z-index: 1007;
    }
    
    .donate-button {
        transform: rotate(0);
        width: 100%;
        height: 35px;
        font-size: 1rem;
        border-radius: 0;
    }
}

@media (max-width: 320px) {
    .donate-sticky-container {
        top: 96vh;
    }
}

/* Text Content with Image Styling */
/* Container for image and text */
.content-container {
    display: flex;
    align-items: center; 
    margin: 20px 0; 
}

/* Image container */
.image-container {
    flex: 0 0 50%; 
    overflow: hidden;
    margin:0;
    border-radius: 8px;
}

/* Style for the image */
.content-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 25px;
}

/* Text container */
.text-container {
    flex: 1;
    padding: 0 20px; 
    box-sizing: border-box;
    text-align: left;
}

/* Image Left (Default) */
.content-container.imageLeft {
    flex-direction: row;
}

/* Image Right */
.content-container.imageRight {
    display: flex; 
    flex-direction: row-reverse;
}

/* Image Top */
.content-container.imageTop {
    flex-direction: column;
    align-items: center; 
}
.image-container.imageTop {
    width: 100%;
    margin-bottom: 20px; 
}

/* Image Bottom */
.content-container.imageBottom {
    flex-direction: column-reverse;
    align-items: center; 
}
.image-container.imageBottom {
    width: 100%;
    margin-top: 20px; 
}

/* -------------------------------------------- */
/* Touchpoints Styling */
/* -------------------------------------------- */

.touchpoint-featured-img, .touchpoint-category-img {
    width: 100%;
    object-fit: cover;
}

.touchpoint-featured-img {
    border-radius: 8px;
    height: 600px;
}

.touchpoint-category-img {
    border-radius: 8px 8px 0px 0px;
    height: 315px;
}

.touchpointsSwiper {
    padding: 3rem 0;  
    position: relative;
}

.touchpointsSwiper .swiper-slide {
    height: auto;  
}


.touchpointsSwiper .card-body {
    padding: 0;  
    text-align: left;
}

.touchpoints-swiper-nav {
    position: relative;
}

.touchpoints-swiper-nav .swiper-button-next {
    right: 0%;
}

.touchpoints-swiper-nav .swiper-button-prev {
    left: 95%;
}

.touchpointsSwiper .swiper-button-next,
.touchpointsSwiper .swiper-button-prev {
    color: #000;  
}

.touchpointsSwiper .swiper-pagination-bullet-active {
    background: #000;  
}

/* Touchpoint category */
.touchpoint-category-hero-row {
    padding: 0 0.5% 0 0.5%;
}

.touchpoint-category-hero {
    border-radius: 8px 0px 0px 8px;
    background: #1C1C1C;
    padding: 3%;
}

.touchpoint-category-hero h1 {
    font-family: Open Sans;
    color: #FFF;
    font-size: 3rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; 
    letter-spacing: 3.029px;
}

.touchpoint-category-hero-subtitle {
    color: #FFF;
    font-size: 2.5rem;
    line-height: 117%; 
}

.touchpoint-category-hero-image {
    border-radius: 0px 8px 8px 0px;
    height: 500px;
}

.touchpoint-category-card {
    min-height: 46%;
    background: #FFF;
    border-radius: 0px 0px 8px 8px;
}

.categoriesSwiper {
    padding: 3rem 0;
    position: relative;
}

.categoriesSwiper .swiper-slide {
    height: auto;
}

/* Navigation styling for categories swiper */
.categories-swiper-nav, .touchpointItems-swiper-nav, .touchpointEntry-swiper-nav, .relatedTouchpoints-swiper-nav {
    position: relative;
    margin-top: 6%;
}

.categories-next,
.categories-prev,
.touchpointItems-next,
.touchpointItems-prev,
.touchpointEntry-next,
.touchpointEntry-prev,
.relatedTouchpoints-next,
.relatedTouchpoints-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #000;
}

.categories-next::after,
.categories-prev::after,
.touchpointItems-next::after,
.touchpointItems-prev::after,
.touchpointEntry-next::after,
.touchpointEntry-prev::after,
.relatedTouchpoints-next::after,
.relatedTouchpoints-prev::after {
    font-family: swiper-icons;
    font-size: 18px;
    font-weight: 900;
}

.categories-next::after,
.touchpointItems-next::after,
.touchpointEntry-next::after,
.relatedTouchpoints-next::after {
    content: 'next';
    right: 0;
}

.categories-prev::after,
.touchpointItems-prev::after,
.touchpointEntry-prev::after,
.relatedTouchpoints-prev::after {
    content: 'prev';
    left: 0;
}

.categories-next,
.touchpointItems-next,
.touchpointEntry-next,
.relatedTouchpoints-next {
    right: 1%;
}

.categories-prev,
.touchpointItems-prev,
.touchpointEntry-prev,
.relatedTouchpoints-prev {
    left: 92%;
}

.categories-next:hover,
.categories-prev:hover,
.touchpointItems-next:hover,
.touchpointItems-prev:hover,
.touchpointEntry-next:hover,
.touchpointEntry-prev:hover,
.relatedTouchpoints-next:hover,
.relatedTouchpoints-prev:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.touchpoints-categories-pagination, .touchpoints-pagination, .touchpoints-swiper-nav, .touchpointItems-pagination, .touchpointEntry-pagination, .relatedTouchpoints-pagination {
    text-align: center;
    margin-top: 6%;
}

.touchpoints-categories-pagination .swiper-pagination-bullet-active {
    background: #000;
}

@media (max-width: 768px) {
    .categories-swiper-nav, .touchpointItems-swiper-nav, .touchpointEntry-swiper-nav, .relatedTouchpoints-swiper-nav {
        display: none;
    }
    .touchpoints-categories-pagination {
        margin-top: 10%;
    }
    .touchpointItems-pagination {
        margin-top: 3%;
    }
    .touchpointEntry-pagination {
        margin-bottom: 3rem;
    }
}
@media (max-width: 425px) {
    .touchpoints-categories-pagination{
        margin-top: 23%;
    }
}

.touchpoint-category-title {
    color: #000;
    font-size: 1.2rem;
    letter-spacing: 0.2rem;
}



/* -------------------------------------------- */
/* Exhibits Styling */
/* -------------------------------------------- */

.carousel.slide.full {
    height: 100%;
}

.swiper-wrapper.exhibits-categories-wrapper {
    left: 0 !important;
    top: 0 !important;
    padding: 0 !important;
}

.swiper-button-prev.exhibits-carousel-btn.exhibit-categories {
    left: 5px;
}

.swiper-button-next.exhibits-carousel-btn.exhibit-categories {
    left: 60px;
}


.exhibits-carousel-btn {
    display: flex;
    width: 48px;
    height: 48px;
    padding: 14px;
    justify-content: center;
    align-items: center;
    border-radius: 9999px;
    border: none;
    background: rgba(69, 71, 67, 0.35);
    backdrop-filter: blur(6px);
}


.exhibit-carousel-index {
    font-size: 1.5rem;
    letter-spacing: 0.156rem;
}

.exhibit-category-container {
    margin-top: 5rem;
    padding-top: 5rem;
    padding-bottom: 5rem;
    background-color: #F2F2F2;
}

.exhibit-category-title h3 {
    text-align: center;
    font-size: 2.875rem;
    line-height: normal;
    letter-spacing: -0.079rem;
}

.exhibit-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: 100%; 
    height: 100%;
    display: flex;
    flex-direction: column;
}

.exhibit-card-image-container {
    width: 100%;
    aspect-ratio: 16 / 9; 
    overflow: hidden;
    position: relative;
}

.exhibit-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.exhibit-category-image {
    width: 100%;
    object-fit: cover;
    border-radius: 0px;
}

.recently-added-badge {
    position: absolute;
    background-color: var(--color-oht-red);
    color: white;
    padding: 4px 8px;
    border-radius: 4px 0px 0px 0px;
    font-size: 0.875rem;
}

.exhibit-category-row {
    padding: 0 1% 0 1%;
}

.exhibit-card-title {
    color: #000;
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.579rem;
    margin-bottom: 0.5rem;
}

.exhibit-card-text {
    color: #000;
    font-size: 1rem;
    line-height: 1.579rem;
    letter-spacing: -0.045rem;
    margin-bottom: 1rem;
    overflow: hidden;
    display: -webkit-box;
}


.exhibit-card-image-container {
    min-height: 200px; 
    max-height: 300px;
    overflow: hidden;
}

.exhibit-image-wrapper {
    height: 350px;
    flex-shrink: 0;
    align-self: stretch;
    overflow: hidden;
    width: 100%;
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-bottom: 2rem;
}

.exhibit-category-hero-row {
    padding: 0 0.5% 0 0.5%;
}

.exhibit-category-hero {
    border-radius: 8px 0px 0px 8px;
    background: #1C1C1C;
    padding: 3%;
}

.exhibit-category-hero h1 {
    text-transform: uppercase;
    color: #B1B1B1;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 21.205px */
    letter-spacing: 3.029px;
}

.exhibit-category-hero-subtitle {
    color: #FFF;
    font-size: 2.5rem;
    line-height: 117%; /* 67.86px */
}

.exhibit-category-subtitle {
    color: #0D0D0D;
    text-align: center;
    font-size: 1.15rem;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 25.2px */
    letter-spacing: -0.3px;
}

.exhibit-category-text {
    padding: 0;
    width: 25%;
    color: #0D0D0D;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 22.4px */
}

.exhibit-category-hero-image {
    border-radius:  0px 5px 5px 0px;
    height: 500px;
}

.exhibit-category-link {
    color: #979797 !important;
    text-transform: uppercase;
    font-size: 0.785rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 21.205px */
    letter-spacing: 3.029px;
}

.carousel-item .row {
    display: flex;
    align-items: stretch;
}

/* Ensure consistent carousel height */
#exhibitCategoriesCarouselMobile .carousel-inner,
/* #exhibitCategoriesCarouselTablet .carousel-inner, */
#exhibitCategoriesCarouselDesktop .carousel-inner {
    min-height: 550px;
}

@media (min-width: 1200px) {
    
    .exhibit-card-image-container {
        aspect-ratio: 1 / 1;
    }
}

@media (max-width: 1200px) {
    .exhibit-category-hero-subtitle {
        font-size: 2rem;
    }
}

@media (max-width: 1024px) {
    .exhibit-category-hero-subtitle {
        font-size: 1.5px;
    }
    .exhibit-image-wrapper {
        height: 250px;
    }
}


@media (max-width: 768px) {
    #exhibitCategoriesCarouselMobile .carousel-inner {
        min-height: 500px; 
    }
    
    .exhibit-card-image-container {
        aspect-ratio: 4 / 3;
    }

    .exhibit-category-hero, .exhibit-category-hero-row {
        border-radius: 0;
    }
    .card {
        max-width: 100%; 
    }

    .thumbnail {
        height: 150px;
    }
    .card {
        margin: 0; 
    }
    
    .exhibit-image-wrapper {
        height: 200px;
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 425px) {
    #exhibitCategoriesCarouselMobile .carousel-inner {
        min-height: 450px; 
    }
}

/* -------------------------------------------- */
/* contact Us styling */
/* -------------------------------------------- */

.form-selector:hover {
    text-decoration: underline;
    font-weight: 600;
}

.form-submit-container div {
    width: 100%;
}
#boardOfDirectors-form > div > form > div.form-submit-container > div:nth-child(2),
#bookings-form > div > form > div.form-submit-container > div:nth-child(2),
#donations-form > div > form > div.form-submit-container > div:nth-child(2),
#ewg-form > div > form > div.form-submit-container > div:nth-child(2),
#marketingCommunications-form > div > form > div.form-submit-container > div:nth-child(2),
#properties-form > div > form > div.form-submit-container > div:nth-child(2),
#plaques-form > div > form > div.form-submit-container > div:nth-child(2),
#oha-form > div > form > div.form-submit-container > div:nth-child(2) {
    display: none;
}
#boardOfDirectors-form button,
#bookings-form button,
#donations-form button,
#ewg-form button,
#marketingCommunications-form button,
#properties-form button,
#plaques-form button,
#oha-form button {
    width: 100%;
}

/* -------------------------------------------- */
/* Search Page                                  */
/* -------------------------------------------- */

.form-control:focus {
    box-shadow: none;
    border-color: var(--bg-light) !important;
}
.search-container {
    max-width: 100%;
    overflow: hidden;
}
.search-results-list {
    max-width: 100%;
}
.search-result-item {
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}
.search-result-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}
.search-result-item h3 a {
    text-decoration: none;
    color: #00467f;
    word-break: break-word;
}
.search-result-item h3 a:hover {
    text-decoration: underline;
}
.search-result-url {
    color: var(--color-oht-red);
    font-size: 0.9rem;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.search-result-snippet {
    line-height: 1.4;
    color: #545454;
    word-break: break-word;
    overflow-wrap: break-word;
}
#search-results::-webkit-scrollbar {
    width: 8px;
}
#search-results::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}
#search-results::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}
#search-results::-webkit-scrollbar-thumb:hover {
    background: #555;
}
.search-pagination nav ul {
    margin-top: 0rem;
    width: auto;
    justify-content: flex-end;
    display: flex;
    gap: 1rem;
    list-style: none;
}
.search-results {
    overflow-y: auto; 
    word-wrap: break-word; 
    overflow-wrap: break-word; 
    max-width: 100%; 
    padding-right: 1rem;
}

/* Corporate calendar page */

.corporate-events-list {
    border-top: 1px solid rgba(0, 0, 0, 0.60);
    padding: 3rem 0 3rem 0;
    flex-shrink: 0;
}


/* Calendar */
.calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    border: 1px solid #ddd;
    max-width: 100%;
}

.calendar-header {
    grid-column: span 7;
    background-color: #f4f4f4;
    text-align: center;
    padding: 10px;
    font-weight: bold;
    font-size: 1.5em;
}

.calendar-day-header {
    background-color: #f4f4f4;
    text-align: center;
    padding: 10px;
    font-weight: bold;
    color: #333;
}

.calendar-body {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.calendar-day {
    border: 1px solid #ddd;
    padding: 10px;
    height: 150px;
    width: 180px;
    box-sizing: border-box;
    position: relative;
    text-align: center;
}

.calendar-day.blank {
    background-color: #f9f9f9;
}

.event {
    background-color: #4CAF50;
    color: #fff;
    padding: 2px 4px;
    margin-top: 5px;
    border-radius: 4px;
    font-size: 0.8em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-box {
    position: relative;
    padding: 2px;
}

.event-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    border-bottom: 2px solid;
    height: 4px; 
    background-color: #f00;
    width: 100%;
}

.event-text {
    position: absolute;
    bottom: 4px; 
    left: 0;
    width: 100%;
    color: white;
    text-align: center;
    font-weight: bold;
    font-size: 0.8em;
    pointer-events: none;
    display: none; 
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .calendar-day {
        height: 120px;
    }
}

@media (max-width: 992px) {
    .calendar-day {
        height: 100px;
    }
}

@media (max-width: 768px) {
    .calendar-day {
        height: 80px;
    }
}

@media (max-width: 576px) {
    .calendar-day {
        height: 60px;
    }

    .calendar-header {
        font-size: 1.2em;
    }

    .calendar-day-header {
        padding: 5px;
        font-size: 0.9em;
    }

    .day-number {
        font-size: 1em;
    }
}


/* Title with 2 text columns */
.text-block-container {
    /* margin: 0 auto; 
    max-width: 1200px; */
    padding: 20px; 
}

.text-block-container .text-center h3 {
    text-align: center;
    margin-bottom: 20px;
}

.text-block-container .row {
    display: flex; 
    flex-wrap: wrap;
}

.text-block-container .col-md-6 {
    flex: 0 0 50%; 
    max-width: 50%;
    padding: 10px; 
}

.accordion-body {
    text-align: left;
    line-height: 1.5;
}

/* -------------------------------------------- */
/* Banner Image With Text */
/* -------------------------------------------- */

.banner-with-text {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16/9; 
    height: 750px;
}

.carousel-item.banner {
    height: 750px; 
}

.carousel-inner.hero {
    border-radius: 0px !important;
}

.image-banner-with-text {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
}

.image-banner-with-text img,
.video-banner-with-text iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.carousel-inner {
    border-radius: 8px; 
}

.video-banner-with-text .ratio-16x9 {
    width: 100%;
    height: 100% !important;
    position: absolute;
    top: 0;
    left: 0;
}

.banner-text {
    padding: 1rem 1rem 1rem 0rem;
    border-radius: 5px;
    z-index: 10;
}

.banner-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.banner-text p {
    font-size: 1.1rem;
    margin: 0;
}

.banner-controls-prev, .banner-controls-next {
    width: 80px;
    height: 80px;
    position: relative;
    top: 0%;
    transform: none;
    z-index: 10;
}

.banner-controls-prev {
    left: 0;
}

.banner-controls-next {
    right: 0;
}

.banner-text {
    display: none;
}

.banner-text.active {
display: block;
}

/* Responsive adjustments for banner */
@media (max-width: 768px) {
    .banner-text {
        bottom: 1rem;
        left: 1rem;
    }
    
    .banner-text h2 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .banner-text p {
        font-size: 1rem;
    }
    .banner-with-text, .carousel-item.banner {
        height: 600px;
    }
}

@media (max-width: 576px) {
    .banner-text {
        padding: 0.75rem 0.75rem 0.75rem 0rem;
    }
    
    .banner-text h3 {
        font-size: 1.2rem;
        margin-bottom: 0.3rem;
    }
    
    .banner-text p {
        font-size: 0.9rem;
    }
    .banner-controls-prev, .banner-controls-next {
        width: 40px;
        height: 40px;
    }

}


/* -------------------------------------------- */
/* Directory Card Styles */
/* -------------------------------------------- */

.directory-container {
    height: 100vh;
}

.directory-ewg-header h3 {
    color: #FEF6D8;
    font-family: "Charman Serif";
    font-size: 4rem !important;
    font-style: normal;
    font-weight: 400 !important;
    line-height: 62px; /* 96.875% */
}

.directory-ewg-title {
    color: #FEF6D8 !important;
    font-family: "Charman Serif" !important;
    font-size: 2rem !important;
    font-weight: 400 !important;
    line-height: normal !important;
    min-height: 1em !important;
}

.directory-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.card {
    background-color: white !important;
    width: 100%;
    border: none;
}

/* Add overlay */
.directory-container .position-relative::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.directory-item-caption {
    color: #E0E0E0;
    font-weight: 400 !important;
    font-size: 0.9rem !important;
}

.directory-item-credit {
    font-size: 0.8rem;
    color: #AAA3A3;
}

.image-credits .red-vl {
    height: 1rem;
}

.grey-vl {
    width: 1px;
    background-color: #757171;
    align-self: stretch;
    height: 100%;
    min-height: 100%;
    flex-shrink: 0; 
}

.directory-title h3 {
    font-size: 3.5rem;
    font-weight: 200;
}

.directory-card-content {
    height: 100%;
}

.directory-card-title {
    color: #FFF;
    font-size: 1.1rem;
    font-style: normal;
    font-weight: 500;
    line-height: 120%; 
    min-height: 3.5em;
}

.directory-card-description {
    color: #FFF;
    font-size: 1rem;
}

.directory-card-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}
.directory-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    cursor: pointer;
    background-color: #00000052;
    border-radius: 8px;
}

.directory-link {
    transition: color 0.3s ease;
    font-size: 1rem;
    text-decoration: none;
}

.directory-link .read-more-arrow path {
    fill: #FFF;
    transition: fill 0.2s ease;
}

.read-more-arrow path {
    fill: var(--color-oht-red);
}

.directory-card-video-container {
    border-radius: 8px;
    overflow: hidden;
}

.directory-card-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1200px) {
    .directory-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .directory-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .directory-grid {
        flex-direction: column; 
        gap: 2rem; 
    }

    .grey-vl {
        position: absolute; 
        top: 0;  
        bottom: 0;
        height: 100%;
        min-height: 100%;
    }

    .card {
        max-width: 100%; 
        padding-right: 0;
        margin-bottom: 20px;
    }

    .directory-card-content {
        width: 100%;
        position: relative;
    }

    .directory-card-image {
        width: 75%;
        height: auto;
    }

    .directory-title h3 {
        font-size: 2.25rem;
    }

    .directory-link {
        font-size: 1rem;
    }

    .directory-card-content {
        width: 100%;
        display: flex; 
    }

    .grey-vl {
        width: 1px;
        height: auto;
        position: relative;
        margin-right: 1rem;
    }

    .directory-grid {
        grid-template-columns: 1fr;
    }
}

/* -------------------------------------------- */
/* Scrolling Image With Text */
/* -------------------------------------------- */

.scrolling-images-section {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
  }
  
  .scrolling-images-container {
    position: relative;
    width: 100vw;
    height: 100vh;
  }
  
  .image-text-block {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }
  
  .image-text-block.active {
    opacity: 1;
  }
  

.scrolling-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease-out;
}
  
  
.scrolling-image-text-overlay {
    width: 30%;
    position: absolute;
    bottom: 6%;
    left: 5%;
    background: rgba(255, 255, 255, 0.8);
    padding: 10px;
    border-radius: 8px;
    font-size: 1.5rem;
}

@media (max-width: 1024px) {
    .scrolling-image-text-overlay {
        width: 50%;
    }
}

@media (max-width: 768px) {
    .scrolling-image-text-overlay {
        width: 100%;
    }
}

@media (max-width: 425px) {
    .scrolling-images-container {
        height: 50vh;
    }
    .image-text-block {
        align-items: flex-start; /* not center */
    }
    .scrolling-image-text-overlay {
    width: 100%;
    position: absolute;
    bottom: 6%;
    right: 0%;
    left: -6%;
    margin: 6%;
    }
}

/* Waypoint text on map */
.waypoint-title {
    font-size:larger;
}

.mapboxgl-popup-close-button {
    color: #000 !important;
    font-size: 1.6rem;
    padding: 0 .5rem .5rem;
}

/* -------------------------------------------- */
/* Sponsors & Portrait items */
/* -------------------------------------------- */

.content-block-title {
    color: #000;
    text-align: center;
    font-size: 2.8rem;
    font-style: normal;
    font-weight: 600;
    line-height: 47.503px; /* 106.522% */
    letter-spacing: -1.784px;
}

.content-block-grid-sm {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 130px));
    gap: 3rem;
    max-width: 1150px;
    margin: 0 auto;
    justify-content: center;
}

.content-block-grid-item-sm {
    display: block;
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.content-block-grid-item-sm-text {  
    color: #000000;
    font-size: 1rem;
    line-height: 1.4;
    margin-top: 0.5rem;  
}

.content-block-grid-item-sm:hover {
    transform: scale(1.05);
}

.content-block-grid-item-sm img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

@media (max-width: 1024px) {
    .content-block-grid-item-sm img {
        width: 100px;
    }
    .content-block-grid-item-sm img {
        margin-bottom: 0;
    }
    .content-block-grid-small {
        padding: 0 1rem;
        gap: 1.5rem;
        max-width: 80%;
    }

}

/* Responsive adjustments */
@media (max-width: 768px) {
    .content-block-grid-item-sm {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .content-block-grid-item-sm img {
        width: 100px;
    }
    .content-block-grid-item-sm-text {
        padding: 0 1rem;
    }
    
    .content-block-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .content-block-grid-item-sm-text {
        font-size: 1rem;
    }
    
    .content-block-grid-lg {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
}

/* -------------------------------------------- */
/* Sponsors & Portrait items */
/* -------------------------------------------- */

.content-block-grid-lg {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 250px));
    gap: 2rem;
    width: 100%;
    margin: 0 auto;
    justify-content: center;
    max-width: 1300px;
    padding: 0 1rem;
}

.content-block-grid-item-lg {
    background-color: #FFF;
    border-radius: 8px;
    padding: 1rem;
    transition: transform 0.3s ease;
}

.content-block-grid-item-lg:hover {
    transform: scale(1.05);
}

.content-block-grid-item-lg a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-block-grid-item-lg img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.red-vl.portrait-credits {
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .content-block-grid-lg {
        grid-template-columns: repeat(auto-fit, minmax(150px, 200px));
        gap: 1rem;
    }
    
    .content-block-grid-item-lg {
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .content-block-grid-lg {
        grid-template-columns: minmax(120px, 215px);
        gap: 2.5rem;
    }
    
    .content-block-grid-item-lg {
        padding: 0.5rem;
    }
}

/* Youtube video auto scroll */
.video-wrap {
    margin: 0 auto;
    position: relative;
    width: 100%;
    max-width: 970px; 
    height: 555px; 
    overflow: hidden;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
}

.iframe {
    display: block;
    margin: auto;
    position: relative;
}

/* Overlay styling */
.overlay-content {
    position: absolute;
    top: 80%;
    left: 35%;
    transform: translate(-50%, -50%);
    z-index: 10;
    color: #fff;
    font-size: 1.5rem;
    text-align: left;
    padding: 1rem;
}

.video-overlay:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 5;
}



/* -------------------------------------------- */
/* Hover cards */
/* -------------------------------------------- */

.hovercard-container {
    padding: 3rem 0;
    background: #F1F1EE;
    width: 100%;
}

.hovercard-title {
    color: #0D0D0D;
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.hovercard-text {
    color: #0D0D0D;
    font-size: 1.15rem;
    margin-bottom: 2rem;
    max-width: 600px;
    text-align: center;
}

.hoverCardSwiper {
    max-width: 900px; 
    margin: 0 auto;
    padding: 2rem 4rem;
    overflow: hidden;
}

.hoverCardSwiper .swiper-slide {
    height: 400px !important;
    position: relative;
    transition: transform 0.4s ease-out;
    flex-shrink: 0;
}


.hoverCardSwiper .swiper-slide-active {
    z-index: 5;
}

.hoverCardSwiper .swiper-slide-visible:not(.swiper-slide-active):not(.swiper-slide-next):not(.swiper-slide-next + .swiper-slide) {
    visibility: hidden;
}

/* Hover effect on slides */
.hoverCardSwiper .swiper-slide:hover {
    transform: scale(1.15);
    z-index: 10;
}

/* Image container */
.hoverCardSwiper .position-relative {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
}

/* Image styles */
.hoverCard-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Navigation buttons */
.hoverCardSwiper .swiper-button-next,
.hoverCardSwiper .swiper-button-prev {
    color: var(--color-oht-red);
}

/* Caption and credits styling */
.hoverCardSwiper .swiper-item-caption {
    color: #0D0D0D;
    font-size: 0.785rem !important;
}

.hoverCardSwiper .swiper-item-credit {
    color: #756C6C;
    font-size: 0.785rem;
}

.hoverCardSwiper .gallery-red-vl {
    width: 3px;
    /* height: 40px; */
    background-color: red;
}

/* Position navigation buttons */
.hovercard-container .swiper-button-next,
.hovercard-container .swiper-button-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    margin: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hovercard-container .swiper-button-prev {
    left: 22%;
}

.hovercard-container .swiper-button-next {
    right: 22%;
}

.hovercard-container .swiper-button-next::after,
.hovercard-container .swiper-button-prev::after {
    display: none;
}

/*-- EWG hovercard styling --*/

.ewg-hovercard-title {
    color: #FEF6D8 !important;
    font-family: "Charman Serif" !important;
    font-size: 4rem !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 62px !important; /* 96.875% */
    text-align: center;
}

.ewg-hovercard-text {
    color: #FFF !important;
    text-align: center !important;
    font-size: 1rem !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 24px !important; /* 150% */
    letter-spacing: 0.1px !important;
}

.ewg-hovercard-white-vl {
    background-color: #FFF !important;
}

.ewg-hovercard-swiper-text {
    color: #FFF !important;
}

.ewg-hovercard-swiper-btn {
    background-color: #FFF;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 30px !important;
    height: 20px !important;
    margin: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 1440px) {
    .hoverCardSwiper {
        padding: 3rem 0.5rem 6rem 0.5rem;
        max-width: 900px;
    }
}

@media (max-width: 1024px) {
    .hoverCardSwiper {
        padding: 6rem 0.5rem;
        max-width: 910px;
    }
    .hovercard-container .swiper-button-prev {
        left: 1.5%;
    }
    .hovercard-container .swiper-button-next {
        right: 1.5%;
    }
}

@media (min-width: 769px) {
    .mobile-swipe-indicator-dark, .mobile-swipe-indicator {
        display: none;
    }
}

@media (max-width: 768px) {

    .hovercard-container .swiper-button-prev, .hovercard-container .swiper-button-next {
        display: none;
    }
    .hovercard-container .swiper-button-prev, .hovercard-container .swiper-button-next {
        display: none;
    }
    
    .mobile-swipe-indicator-dark {
        display: flex;
    }
    .hoverCardSwiper {
        padding: 4rem 1rem;
    }
    
    .hoverCardSwiper .swiper-slide {
        width: 240px;
        height: 340px;
    }
    
    .hovercard-title {
        font-size: 1.5rem;
    }
    
    .hovercard-text {
        font-size: 1rem;
        padding: 0 3rem;
    }
}

@media (max-width: 576px) {
    .hoverCardSwiper {
        padding: 2rem 43px;
        max-width: 27rem;
    }
}

@media (max-width: 425px) {
    .hoverCardSwiper {
        padding: 0rem 42px 5rem 42px;
        max-width: 27rem;
    }
    .hoverCardSwiper .swiper-slide {
        left: 5%;
    }
    .hovercard.swiper-wrapper {
        top: 27%;
        left: 10%;
    }
    .hovercard-container .swiper-button-prev {
        left: 1%;
    }
    .hovercard-container .swiper-button-next {
        right: 1%;
    }
}
@media (max-width: 375px) {
    .hoverCardSwiper .swiper-slide {
        width: 220px !important;
    }
    .hoverCardSwiper {
        max-width: 18rem;
        padding: 0rem 10px 5rem 10px;
    }
    .hoverCardSwiper .swiper-slide {
        left: 2%;
    }
}

@media (max-width: 320px) {
    .hoverCardSwiper .swiper-slide {
        width: 215px !important;
    }
    .hoverCardSwiper {
        max-width: 18rem;
        padding: 5rem 12px;
    }
}

/*************************************************************************************************/
/* Related Heritage                                                                              */
/*************************************************************************************************/


.grid-repeat-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.grid-repeat-2 .single-entry {
    grid-column: span 2;
}

.content-block-title-lg, .content-block-title-lg h2 {
    font-size: 3.6rem;
    font-style: normal;
    font-weight: 400;
    line-height: 120%; /* 69.6px */
    letter-spacing: -1.16px;
}

@media (max-width: 768px) {
    .content-block-title-lg {
        font-size: 1.25rem;
    }
}

@media (max-width: 425px) {
    .content-block-title-lg {
        font-size: 1.15rem;
    }
}

/*************************************************************************************************/
/* Heritage Wall                                                                              */
/*************************************************************************************************/

/* .heritage-wall-intro {
    padding-top: 8%;
} */

.heritage-wall-title {
    text-align: center;
    font-size: 0.785rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 21px */
    letter-spacing: 3px;
    text-transform: uppercase;
}

.heritage-wall-text {
    color: #0F0E0E;
    font-family: var(--font-oht-serif-1);
    font-size: 56.546px;
    font-style: normal;
    text-align: center;
    font-weight: 200;
    line-height: 120%; 
    letter-spacing: -1.818px;
}

.grid-wrapper {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    grid-auto-flow: dense;
    margin: 20px 0px;
}

.grid-wrapper > div {
    position: relative;
    overflow: hidden;
}

.grid-wrapper > div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Size variations */
.grid-wrapper .wide {
    grid-column: span 2;
}

.grid-wrapper .tall {
    grid-row: span 2;
}

.grid-wrapper .big {
    grid-column: span 2;
    grid-row: span 2;
}
@media (max-width: 1024px) {
    .heritage-wall-intro {
        padding-top: 0% !important;
    } 
}

@media (max-width: 900px) {
    .grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .grid-wrapper {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }
    
    .grid-wrapper .wide,
    .grid-wrapper .tall,
    .grid-wrapper .big {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (max-width: 425px) {
    .heritage-wall-text, .heritage-wall-text span {
        font-size: 2rem !important;
        letter-spacing: -0.818px !important;
    }
    
}


@media (max-width: 375px) {
    .heritage-wall-title {
        font-size: 0.75rem;
        padding-bottom: 0 !important;
    }
    .heritage-wall-intro {
        height: auto;
    }
}

.heritage-wall-item {
    break-inside: avoid;
    margin: 0;
}

.heritage-wall-item a {
    display: block;
    height: 100%;
}

/* Base styles for heritage wall items */
.heritage-wall-item {
    position: relative;
}

.heritage-wall-item a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.heritage-wall-overlay {
    position: absolute; 
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #093c71;
    opacity: 0; 
    transition: opacity 0.3s ease; 
    display: flex; 
    flex-direction: column; 
    justify-content: flex-end; 
}

.heritage-wall-overlay-title {
    position: absolute;
    font-family: var(--font-oht-serif-1);
    font-weight: 200;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 80%;
    opacity: 0;
    color: white;
    font-size: 1.2rem;
    transition: opacity 0.3s ease;
}

.heritage-wall-overlay-text {
    position: absolute;
    left: 5%;
    bottom: 0%;
    color: white; 
    font-weight: 200;
    width: 80%;
    opacity: 0;
    font-size: 0.75rem;
    text-wrap: wrap;
    margin-bottom: 1rem; 
    transition: opacity 0.3s ease;
}

.heritage-wall-overlay-icon {
    opacity: 0;
    position: absolute;
    bottom: 4.5%;
    right: 4%;
    transition: opacity 0.3s ease;
}

/* Hover effects */
.heritage-wall-item a:hover .heritage-wall-overlay,
.heritage-wall-item a:hover .heritage-wall-overlay-title,
.heritage-wall-item a:hover .heritage-wall-overlay-text,
.heritage-wall-item a:hover .heritage-wall-overlay-icon {
    opacity: 1;
}

/* Ensure proper z-index stacking */
.heritage-wall-item img {
    z-index: 1;
}

.heritage-wall-overlay {
    z-index: 2;
}

.heritage-wall-overlay-title,
.heritage-wall-overlay-text,
.heritage-wall-overlay-icon {
    z-index: 3;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spin-animation {
    animation: spin 0.5s linear;
}


/*************************************************************************************************/
/* Expanding Image                                                                            */
/*************************************************************************************************/

.image-wrapper {
    position: sticky;
    top: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.expanding-image {
    width: 100%;
    height: auto;
    transform: scale(1);
    transition: transform 0.2s ease-in-out;
}

/*************************************************************************************************/
/* Alerts                                                                                      */
/*************************************************************************************************/

.alert-container {
    padding: 16px;
    text-align: left;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 16px 0;
    transition: all 0.3s ease;
}

.alert-container.full-width {
    width: 100%;
}

.alert-icon-container {
    margin-right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alert-icon {
    width: 75px;
    height: 75px;
    object-fit: contain;
    filter: drop-shadow(0px 4px 15px rgba(0, 0, 0, 0.15)) 
            drop-shadow(0px 8px 12px rgba(0, 0, 0, 0.1));  
}

.alert-text-container h4 {
    font-size: 2rem;
    font-style: normal;
    font-weight: 500;
    line-height: 157%; /* 50.24px */
    text-align: left;
    margin-bottom: 0;
}

.alert-text-container p {
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 23.4px */
    text-align: left; 
}

@media (max-width: 768px) {
    .alert-text-container h4 {
        font-size: 1.5rem;
    }
    .alert-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0.75rem;
    }   
    .alert-text-container p {
        width: 75%;
    }
}
@media (max-width: 425px) {
    .alert-text-container p {
        width: 100%;
    }
}

@media (max-width: 325px) {
    .alert-text-container h4 {
        font-size: 1.25rem;
        margin-left: 2px;
    }
    .alert-icon {
        margin-bottom: 1rem;
    }  
}


/*************************************************************************************************/
/* Media Reel                                                                                    */
/*************************************************************************************************/

.media-item {
    transition: opacity 0.6s ease, transform 0.6s ease;
    opacity: 0; 
    transform: translateY(20px);
}

.media-item:not(:last-child) {
    margin-bottom: 3rem;
}

.media-item.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.media-content {
    position: relative;
    bottom: 0; 
    left: 0;
    z-index: 3; 
    color: #fff;
    border-radius: 8px;
    background-color: rgba(0, 0, 0, 0.5);
    max-width: 50%; 
}

.media-video {
    height: 100%;
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
    position: relative;
}

.video-thumbnail-wrapper {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    max-height: calc(100vh - 12vh);
    max-width: calc((100vh - 12vh) * (16 / 9));
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    z-index: 2;
    transition: opacity 0.3s ease;
}

.video-thumbnail-wrapper.hidden {
    opacity: 0;
    pointer-events: none;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-thumbnail img {
    border-radius: 10px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button-overlay {
    position: absolute;
    padding: 1rem;
    background: #0000002b;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: transform 0.2s ease;
    z-index: 3;
}

.play-button-overlay:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.vimeo-video {
    border-radius: 10px;
    max-height: calc(100vh - 12vh); 
    max-width: calc((100vh - 12vh) * (16 / 9));
    width: 99%;
    height: auto;
    aspect-ratio: 16 / 9;
}

.media-image {
    position: relative;
    width: 100%;
}

.media-image img {
    border-radius: 8px;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16 / 9;
}

/* Submission contact form */
.submission-summary {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    width: 80%;
    max-width: 600px;
    margin: 20px auto;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.submission-summary h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
    text-align: center;
}

.submission-summary p {
    font-size: 1rem;
    line-height: 1.5;
    color: #555;
    margin-bottom: 10px;
}

.submission-summary strong {
    font-weight: 600;
    color: #333;
}

/*************************************************************************************************/
/* Tags                                                                                          */
/*************************************************************************************************/

.tag-img {
    width: 100%;
    height: 100%;
    cursor: pointer;
    object-fit: cover;
}

.card-title {
    font-size: 1.15rem !important;
    font-weight: 500 !important;
    letter-spacing: -0.5px !important;
}

.card-tags {
    max-height: 425px;
}

.card-body-tags {
    padding: 0.5rem 0.6rem 0rem 0rem !important;
}

.card-description {
    font-size: 0.8rem;
    font-weight: 300;
}

.tag-header {
    color: #0D0D0D;
    font-size: 2.8125rem;
    font-style: normal;
    font-weight: 400;
    line-height: 65px; /* 116.071% */
    letter-spacing: -1.5px;
}

.tag-filter-button {
    background-color: rgb(242, 242, 239);
    border-radius: 0px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 125%;
    letter-spacing: 2.851px;
    box-shadow: none;
    min-width: 205px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11.5px;
    outline: none;
    border-width: initial;
    border-style: none;
    border-color: initial;
    border-image: initial;
    
}

.dropdown-filter-menu {
    position: absolute;
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    z-index: 999;
    width: 100%;
    text-decoration: none;
}

.dropdown-filter-menu .dropdown-item {
    display: block;
    padding: 8px 12px;
    color: #374151;
    text-decoration: none;
    width: 100%;
    white-space: nowrap; 
}

.dropdown-filter-menu .dropdown-item:hover {
    background-color: #f3f4f6;
}

.dropdown-toggle::after {
    display: none;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: unset !important;
}

.tag-filter-button.btn:hover {
    background-color: rgb(242, 242, 239) !important; 
    border-color: transparent !important;
}

.tag-filter-button.btn:hover,
.tag-filter-button.btn:active,
.tag-filter-button.btn:focus,
.tag-filter-button.btn.active,
.tag-filter-button.btn:focus-visible {
    background-color: rgb(242, 242, 239) !important; 
    border-color: transparent !important;
    outline: none !important;
    box-shadow: none !important;
}

.tag-filter-button.btn:focus {
    outline: 0 !important;
    box-shadow: none !important;
}

/*************************************************************************************************/
/* EWG                                                                                          */
/*************************************************************************************************/

.bg-ewg {
    background-color: #840d1a;
}

.ewg-menu {
    height: auto !important;
    background-color: #000 !important;
    padding: 0 !important;
}

.ewg-nav-link {
    color: #fff !important;
    font-size: 1.15rem !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: normal !important;
}

.ewg-mobile-nav-link {
    padding-left: 2rem !important;
    padding-top: 1rem !important;
    color: #fff !important;
    font-size: 1.15rem !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: normal !important;
}

.nav-link:hover {
    color: var(--color-oht-red) !important;
}

.ewg-nav-item-container {
    padding-left: 2rem !important;
    padding-top: 1rem !important;
}

.ewg-nav-item-container:hover,
.ewg-mobile-nav-link:hover {
    background-color: #FFCC08 !important;
}

/* Set ewg menu nodes hover to black
.dropdown-menu > .list-unstyled > li > div > .nav-link:hover,
.dropdown-menu > .list-unstyled > li > div > .nav-link.active {
    color: #000 !important; 
} */

.logo-divider {
    width: 1px;
    height: 70px;
    background-color: #B1B1B1;
    margin: 0 30px;
    display: block;
}

.ewg-header-text {
    color: #020202;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 500;
    line-height: 20.533px;
    letter-spacing: 0.88px; 
    margin-bottom: -4.5px;
}

.ewg-logo {
    margin-left: -5px;
    width: 187px;
    height: 67px;
}

.logo-divider-wrapper {
    margin-top: 10px;
}

/*************************************************************************************************/
/* Ewg Home Page                                                                                      */
/*************************************************************************************************/

.ewg-logo-secondary {
    width: 138px;
    height: 150px;
    flex-shrink: 0;
}

.ewg-home-heading h1 {
    color: #0D0D0D;
    font-family: "Charman Serif" !important;
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 55px; 
    letter-spacing: -1px;
}

.ewg-home-subtitle {
    color: #0D0D0D;
    font-size: 1.1rem;
    line-height: 140%; 
    letter-spacing: -0.35px;
    width: 45%;
}

.ewg-hero-item {
    background-color: #0F0E0E;
    border-radius: 10px;
    max-height: 700px; 
    height: 700px;
}

.ewg-hero-item .col-lg-8 {
    height: 100%;
}

.ewg.photo-info.figcaption-wrapper-with-underlay {
    height: 12%;
}

.ewg-hero-item-col {
    padding: 2rem 3rem;
}

.ewg-hero-image {
    height: 75vh !important;
    width: 100%;
    object-fit: cover;
}

.ewg-hero-content-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ewg-pagination-link {
    height: 11px; 
    width: 38px; 
}

.ewg-pagination-link .ewg-pagination-active,
.ewg-pagination-link .ewg-pagination-inactive {
    transition: opacity 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.ewg-pagination-link .ewg-pagination-active {
    opacity: 0;
    visibility: visible;
}

.ewg-pagination-link .ewg-pagination-inactive {
    opacity: 1;
    visibility: visible;
    left: 50%;
    transform: translateX(-50%); 
}

.ewg-pagination-link.active .ewg-pagination-active {
    opacity: 1;
}

.ewg-pagination-link.active .ewg-pagination-inactive {
    opacity: 0;
}

/* Pagination container with relative positioning */
.ewg-pagination-container {
    position: relative;
    display: flex;
    gap: 11px;
    height: 11px;
    align-items: center;
}

@media (max-width: 1024px) {
    .ewg-pagination-container {
        display: none;
    }
}

.ewg-pagination-link {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ewg-pagination-active-indicator {
    position: absolute;
    width: 35px;
    height: 11px;
    background: #000;
    border-radius: 5.139px;
    transition: left 0.3s ease;
    left: 0;
    z-index: 1;
    transform: translateX(-10px);
}

.ewg-pagination-link.active .ewg-pagination-dot {
    opacity: 0;
}

.ewg-pagination-dot {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.ewg-events-container {
    position: relative;
    z-index: 1; 
}

.ewg-events-blur-container {
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1; 
    pointer-events: none;
    height: 100%;
    overflow: hidden;
}

.ewg-events-blur {
    position: absolute;
    top: -200px;
    right: -150px;
    /* border: 1px solid red; */
}
.ewg-events-blur-2 {
    transform: rotate(180deg);
    position: absolute;
    bottom: 35%;
    left: -150px;
    /* border: 1px solid red; */
}

.ewg-events-blur-3 {
    position: absolute;
    bottom: -300px;
    right: -150px;
    /* border: 1px solid red; */
}

.ewg-hero-svg {
    z-index: -1;
}

/* Ensure all content within the container is above the blur */
.ewg-events-container > *:not(.ewg-events-blur-container) {
    position: relative;
    z-index: 1;
}

.ewg-hero-title {
    color: #FFF;
    font-family: "Charman Serif";
    font-size: 3rem;
    font-weight: 400;
    line-height: 40px; /* 83.333% */
}

.ewg-hero-description {
    color: #FFF;
    font-size: 1.25rem;
}

.ewg-hero-time {
    color: #FFF;
    font-size: 1.5rem;
}

.ewg-hero-date {
    color: #FFF;
    font-size: 1.8rem;
    font-weight: 700;
}

.carousel-indicators {
    position: relative;
    margin: 0;
}

.carousel-indicators button {
    width: auto !important;
    height: auto !important;
    margin: 0 4px !important;
    border: none !important;
    opacity: 1 !important;
    background: transparent !important;
    padding: 0 !important;
}

.indicator-inactive, .indicator-active {
    border-radius: 10px;
}

.carousel-indicators button .indicator-active {
    display: none;
}

.carousel-indicators button .indicator-inactive {
    display: block;
}

.carousel-indicators button.active .indicator-active {
    display: block;
}

.carousel-indicators button.active .indicator-inactive {
    display: none;
}

.event-list-item-image {
    border-radius: 8px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ewg-upcoming-events-header {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; 
}

.ewg-upcoming-events-header h3 {
    color: #1E1E1E;
    font-family: "Charman Serif";
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 54px;
    position: relative; 
    z-index: 2; 
}

.ewg-upcoming-events-header p {
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 24px; /* 133.333% */
    letter-spacing: -0.3px;
    position: relative;
    z-index: 2;
}

.ewg-upcoming-events-header-logo {
    width: 135px;
    height: 190px;
    position: absolute; 
    bottom: 0%;
    z-index: 1; 
    filter: drop-shadow(2px 5px 11px rgba(0, 0, 0, 0.09)) drop-shadow(7px 19px 20px rgba(0, 0, 0, 0.08)) drop-shadow(16px 43px 27px rgba(0, 0, 0, 0.05)) drop-shadow(28px 77px 33px rgba(0, 0, 0, 0.01)) drop-shadow(44px 120px 36px rgba(0, 0, 0, 0.00));
}

.ewg-hero-carousel {
    position: relative;
    z-index: 2;
}

.ewg-description-title {
    color: #302D1C;
    font-size: 1.75rem;
    font-weight: 400;
    line-height: normal;
}

.ewg-events-title {
    font-family: "Charman Serif" !important;
    color: #302D1C;
    font-size: 3.25rem;
    font-weight: 400;
    line-height: normal;
}

.upcoming-events-title {
    color: #302D1C;
    font-size: 2.625rem;
    font-weight: 700;
    margin-top: -0.5rem;
}

.upcoming-events-label {
    color: #1C1C1C;
    font-size: 1.75rem;
    line-height: 100%;
    letter-spacing: -0.3px;
    margin-bottom: 8px;
}

.upcoming-events-date {
    color: #1C1C1C;
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 105%;
    letter-spacing: -0.3px;
}

.ewg-upcoming-events-description {
    width: 75%;
    color: #000;
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 26px; /* 144.444% */
    letter-spacing: -0.3px;
}

.modal-events-controls {
    padding-top: 2rem;
}

.ewg-background-image-container {
    position: relative;
}

.ewg-background-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
}

.ewg-info-header {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ewg-info-header h3 {
    color: #FEF6D8;
    font-family: "Charman Serif";
    font-size: 4rem;
    font-weight: 400;
    line-height: 62px; /* 96.875% */
}

.ewg-info-subtitle {
    width: 50%;
    text-align: center;
    color: #FFF;
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 130%; /* 23.4px */
}

.ewg-info-column-text {
    color: #FFF;
}

.ewg-info-column-text ul {
    padding-left: 1rem;
}

.ewg-info-column-title {
    color: #FFF;
    font-family: "Charman Serif" !important;
    font-size: 2rem;
    letter-spacing: 1px;
}

.ewg-info-column-image {
    width: 45px;
    height: 39.75px;
    flex-shrink: 0;
}

.ewg-footer-title {
    color: #FFF;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 160%; /* 22.4px */
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ewg-footer-text, .ewg-footer-text a {
    color:#AAA3A3 !important;
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 28px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ewg-footer-text a {
    text-decoration: underline !important;
}

.seperator-rule {
    height: 1px;
    background-color: #5a5959;
    width: 100%;
}

@media (max-width: 768px) {
    .ewg-hero-image {
        height: 55vh !important;
    }
    .upcoming-events-title {
        font-size: 1.5rem;
    }

    .upcoming-events-label {
        font-size: 1rem;
    }

    .upcoming-events-date {
        font-size: 1rem;
    }
}

@media (max-width: 425px) {

    .ewg-hero-image-mobile {
        height: 20vh !important;
    }
    .carousel-controls {
        gap: 13rem !important;
    }
    /* .ewg-hero-svg {
        height: 130px;
    } */
    .ewg-hero-item-col {
        padding: 1rem 2rem;
        min-height: 700px;
    }
    .ewg-hero-title {
        font-size: 1.75rem;
        line-height: 1;
    }
    .ewg-hero-date {
        font-size: 1.25rem;
    }
    .ewg-hero-time {
        font-size: 1.25rem;
    }
    .ewg-hero-description {
        margin-top: 1rem;
        line-height: 1.5;
    }
    .ewg-upcoming-events-header h3 {
        font-size: 2.5rem;
        line-height: 1;
    }
    .ewg-upcoming-events-header-logo {
        right: 20%;
    }
}

/*************************************************************************************************/
/* Basic Page                                                                                    */
/*************************************************************************************************/

.ewg-basic-intro-container {
    background-color: #ffcc08;
    padding-left: 6%;
    padding-right: 6%;
}

.caption-credits-container {
    display: none !important;
    height: 48px;  
    min-height: 48px;
}

.caption-credits-container.active {
    display: flex !important;
}

.ewg-red-vl {
    width: 1px;
    background-color: red;
}

.ewg-red-vl.h-48 {
    height: 48px;
}

.ewg-red-vl.h-24 {
    height: 24px;
}

.ewg-red-vl.h-0 {
    height: 0;
}

/* parent/child page navigation */

.related-navigation figure > a > img {
    max-height: 500px;
}

.swiper-wrapper.siblings-swiper-wrapper {
    padding: 0;
    top: 0;
    left: 0;
}

.swiper-pagination.siblings-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-vertical {
    right: 5% !important;
}

.swiper-nav-buttons {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.siblings-swiper-button-next, 
.siblings-swiper-button-prev {
    position: static;
    margin: 0;
    height: 40px;
    width: 40px;
}

.siblings-swiper-button-next:after, 
.siblings-swiper-button-prev:after {
    font-size: 18px;
}

.siblings-swiper-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.siblings-swiper {
    height: 100%;
    padding-bottom: 5rem;
}

.sibling-navigation {
    position: relative;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);
}

.siblings-swiper .swiper-slide {
    height: auto;
}

.siblings-swiper-button-next,
.siblings-swiper-button-prev {
    color: white;
    transition: transform 0.3s ease-in-out;
}

.siblings-swiper-button-next:hover,
.siblings-swiper-button-prev:hover {
    transform: scale(1.2);
}

.siblings-swiper-button-next:active,
.siblings-swiper-button-prev:active {
    transform: scale(1.3);
    transition: transform 0.1s ease-in-out;
}

.siblings-pagination .swiper-pagination-bullet {
    background: white;
    opacity: 0.5;
}

.siblings-pagination .swiper-pagination-bullet-active {
    opacity: 1;
}


/* Tablet styles (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    
    .swiper-nav-buttons {
        bottom: 15px;
        right: 15px;
        gap: 8px;
    }
    
    .siblings-swiper-button-next, 
    .siblings-swiper-button-prev {
        height: 35px;
        width: 35px;
    }
    
    .siblings-swiper-button-next:after, 
    .siblings-swiper-button-prev:after {
        font-size: 16px;
    }
    
    .siblings-swiper .swiper-slide img {
        height: 250px !important;
    }
}

/* Mobile styles (up to 768px) */
@media (max-width: 768px) {
    
    .swiper-nav-buttons {
        bottom: 10px;
        right: 10px;
        left: 10px;
        justify-content: space-between;
        gap: 0;
    }
    
    .siblings-swiper-button-next, 
    .siblings-swiper-button-prev {
        height: 44px;
        width: 44px;
        background: rgba(0, 0, 0, 0.5);
        border-radius: 50%;
    }
    
    .siblings-swiper-button-next:after, 
    .siblings-swiper-button-prev:after {
        font-size: 20px;
        font-weight: bold;
    }
    
    .siblings-swiper .swiper-slide h3 {
        font-size: 1.25rem;
        margin-bottom: 15px;
    }
    
    .siblings-swiper .swiper-slide p {
        font-size: 0.9rem;
        margin: 10px 0;
    }
    
    /* Touch-friendly hover states for mobile */
    .siblings-swiper-button-next:hover,
    .siblings-swiper-button-prev:hover {
        transform: scale(1.1);
    }
    
    .siblings-swiper-button-next:active,
    .siblings-swiper-button-prev:active {
        transform: scale(1.2);
    }
    
    /* Pagination adjustments for mobile */
    .swiper-pagination.siblings-pagination {
        bottom: 40px !important;
        left: 50% !important;
        transform: translateX(-50%);
        right: auto !important;
        width: auto !important;
    }
}

/* Small mobile styles (up to 480px) */
@media (max-width: 480px) {
    .siblings-swiper .swiper-slide img {
        height: 150px !important;
    }
    
    .siblings-swiper .swiper-slide h3 {
        font-size: 1.1rem;
    }
    
    .siblings-swiper .swiper-slide p {
        font-size: 0.85rem;
    }
    
    .siblings-swiper-button-next, 
    .siblings-swiper-button-prev {
        height: 40px;
        width: 40px;
    }
    
    .siblings-swiper-button-next:after, 
    .siblings-swiper-button-prev:after {
        font-size: 18px;
    }
}

/* Layout adjustments for mobile - make columns stack */
@media (max-width: 768px) {
    .full-width-content.row {
        flex-direction: column;
    }
    
    .col-lg-6[style*="border-left"] {
        border-left: none !important;
        border-top: 1px solid grey;
        margin-top: 30px;
        padding-top: 30px;
    }
}


/*************************************************************************************************/
/* Calendar                                                                                      */
/*************************************************************************************************/

.date-picker-container {
    border: 1px solid #000;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
    width: max-content;
    align-items: center; 
}

.date-picker-container button {
    width: 55px;
    height: 54px;
    border: 0px solid #000;
    background: #D9D9D9;
}

.date-picker-date {
    padding: 0 2rem 0 2rem;
    display: flex;
    align-items: center;
}

.event-list-item {
    border-top: 1px solid rgba(0, 0, 0, 0.60);
    padding: 3rem 0 3rem 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    flex-shrink: 0;
}

.event-list-item h4 {
    color: #000;
    font-family: "Charman Serif";
    font-size: 2.5rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.event-list-item h5 {
    color: #5B5B5B;
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.1px;
}

.calendar-cta {
    position: relative;
    z-index: 1;
    border: 2px solid #AAA3A3;
    background: #F1F1EE;
    padding: 3rem 2rem 3rem 2rem;
    margin-left: 25%;
    overflow: hidden;
}

.calendar-cta-content {
    padding-bottom: 5rem;
}

.calendar-cta-icon {
    position: absolute;
    width: 99%;
    height: 119%;
    bottom: -50%;
    right: -35%;
    z-index: -1;
    filter: drop-shadow(4px 1px 10px rgba(0, 0, 0, 0.10)) drop-shadow(18px 4px 18px rgba(0, 0, 0, 0.09)) drop-shadow(40px 8px 24px rgba(0, 0, 0, 0.05)) drop-shadow(70px 14px 29px rgba(0, 0, 0, 0.01)) drop-shadow(110px 22px 31px rgba(0, 0, 0, 0.00));
}

.calendar-cta-heading {
    color: #141824;
    font-size: 2.8125rem;
    font-style: normal;
    font-weight: 600;
    line-height: 118%;
    letter-spacing: -2px;
    width: 50%;
}

.calendar-date-heading {
    color: #750F1D;
    margin-left: 5px;
    font-family: "Charman Serif";
    font-size: 2rem;
    font-style: normal;
    font-weight: 600;
    line-height: 118%; /* 42.48px */
}

.calendar-view-content {
    margin-bottom: 3rem;
}

.calendar-view-button {
    border: 1px solid #000;
    padding: 0.9rem 1rem;
    background: #fff;
    color: #000;
    font-size: 1.15rem;
    font-weight: 500;
    background: none;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    opacity: 0.6;
}

.calendar-view-button.active {
    border: 1px solid var(--color-oht-red);
    opacity: 1;
    color: var(--color-oht-red);    
}

.calendar-view-button.active svg path {
    fill: var(--color-oht-red);
}

.calendar-table {
    width: 100%;
    border-collapse: collapse;
}

.calendar-table th {
    padding: 10px;
    text-align: right;
    font-weight: normal;
    background-color: #fff;
    border-top: 1px solid #7C797A;
    border-bottom: 1px solid #7C797A;
}

.calendar-day {
    height: 100px;
    border: 1px solid #7C797A;
    vertical-align: top;
    padding: 8px;
    position: relative;
    background-color: #fff;
}

.day-number {
    text-align: right;
    margin-bottom: 5px;
    font-size: 1.2em;
    font-weight: lighter;
    display: block;
    margin-bottom: 5px;
}

.calendar-day.out-of-month {
    background-color: #fff;
}

.calendar-day.has-events {
    background: #f5f5f5;
}

.calendar-day.today {
    background-color: #FFCC08;
}

.day-events {
    overflow-y: auto;
    max-height: 70px;
}

.day-event {
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.event-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.event-title {
    font-size: 1rem;
    text-wrap: auto;

}

.event-title:hover {
    color: #ad0f2d !important;
    text-decoration: underline !important;
}

.date-picker-date {
    padding: 0 15px;
    display: flex;
    align-items: center;
}

.date-picker-date p {
    margin: 0;
    font-size: 1.15rem;
    padding: 0rem 3rem 0rem 3rem;
}

.prev-month, .next-month {
    border: none;
    background: none;
    padding: 10px 15px;
    cursor: pointer;
}

.event-dot {
    color: var(--color-oht-red);
    font-size: 20px;
    line-height: 1;
    display: inline-block; 
}

.ewg-more-info-content {
    top: 40%;
}

@media (max-width: 768px) {
    .ewg-upcoming-events-description {
        width: 100%;
    }
    .upcoming-events-date {
       line-height: 1;
       width: 75%;
    }
    .calendar-view-buttons {
        display: none !important;
    }
    .calendar-cta-heading {
        width: 100%;
    }
    .calendar-cta-content {
        font-size: 1rem;
    }
    .ewg-home-subtitle {
        width: 100%;
    }
    .ewg-button-primary, .ewg-button-secondary, .ewg-button-tertiary, .ewg-buy-button, .ewg-more-info, .oht-primary-button {
        width: auto;
    }

    .ewg-background-image {
        height: 100vh;
    }
    .calendar-table {
        font-size: 0.785rem; 
    }
    
    .calendar-table th,
    .calendar-table td {
        padding: 0.25rem;
    }
    
    .day-event {
        font-size: 0.75rem;
    }
}

@media (max-width: 425px) {
    .ewg-events-title {
        font-size: 2.5rem;
    }
    .ewg-more-info-content {
        top: 25%;
    }
    .ewg-info-header h3 {
        font-size: 2rem;
        width: 100%;
        text-align: left;
    }
    .ewg-info-subtitle {
        width: 100%;
        text-align: left;
    }
    .ewg-info-subtitle p {
        width: 75%;
    }
    .ewg-logo-secondary {
        top: 0%;
        right: 0%;
        height: 110px;
        width: 110px;
    }
    .ewg-info-column-title {
        font-size: 1.5rem;
    }
    .ewg-description-title {
        font-size: 1.5rem;
    }
    .calendar-date-heading {
        font-size: 2rem;
        margin-left: 0;
    }
    .calendar-table th {
        border-top: none;
        text-align: center;
    }
    .date-picker-date p {
        padding: 0 2rem 0 2rem;
    }
    .calendar-day {
        height: 60px;
    }
    .day-number {
        text-align: center;
        font-size: 1rem;
    }
    .day-event {
        text-decoration: none;
    }
}

/*************************************************************************************************/
/* Calendar Items                                                                                */
/*************************************************************************************************/
input[type="checkbox"]#trust-events,
input[type="checkbox"]#partner-events,
input[type="checkbox"]#ewg-events {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkbox-container {
  display: block;
  position: relative;
  padding-left: 45px; 
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 1.25rem;
  user-select: none;
}

.checkbox-container .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 30px;
  width: 30px; 
  background-color: #fff;
  border: 2px solid #ccc;
  border-radius: 4px; 
}

.checkbox-container:hover .checkmark {
  background-color: #f5f5f5;
}

.checkbox-container.trust input:checked ~ .checkmark {
  background-color: #00467F; 
  border-color: #00467F;
}

.checkbox-container.partner input:checked ~ .checkmark {
    background-color: #009d89; 
    border-color: #009d89;
}

.checkbox-container.ewg input:checked ~ .checkmark {
    background-color: #FFCC08; 
    border-color: #FFCC08;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

.checkbox-container .checkmark:after {
  left: 10px;
  top: 4px; 
  width: 8px; 
  height: 15px; 
  border: solid white;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.event-white-icon {
    filter: brightness(0) invert(1);
}

.calendar-item-description {
    font-size: 1.5rem;
    line-height: 130%;
    letter-spacing: -0.35px;
}

.event-header h1, .corporate-event-header h2{
    font-weight: 400;
    font-size: 3.5rem !important;
}

.event-header h1, .ewg-page-title h1 {
    font-family: "Charman Serif" !important;
    font-size: 3.5rem !important;
}

.corporate-event-header {
    font-family: var(--font-oht-serif-1) !important;
}

.event-details {
    background-color: #ffcc08;
    padding: 1.5rem 0 1.5rem 0;
}
.event-location {
    display: flex;
    align-items: flex-start; 
}

.event-location img {
    margin-top: 4px; 
    flex-shrink: 0;
}

.event-location p {
    margin: 0; 
    line-height: 1.5;
}

.event-details-container {
    background: #FFCC08;
    height: 100px;
}

.event-content {
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.event-content-text {
    font-size: 1.15rem;
    padding-right: 3rem;
}

.event-content-text a, .rich-text-block a {
    text-decoration: underline !important;
    color: var(--color-oht-red) !important;
}



.event-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.event-icon-large {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.tooltip-container {
    position: relative;
    display: flex;
}

.tooltip-text {
    font-size: 0.75rem;
    visibility: hidden;
    width: auto;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 5px 10px;
    position: absolute;
    z-index: 1;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.tooltip-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.event-image {
    overflow: hidden;
    border-radius: 5px;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.event-video {
    justify-content: center;
    align-items: center;
    position: relative; 
}


.event-cta-heading {
    color: #141824;
    font-size: 2.8rem;
    font-weight: 600;
    line-height: 118%;
    /* letter-spacing: -2px; */
}

.event-cta-content {
    width: 75%;
    font-size: 1.375rem;
}

.event-cta-image {
    filter: drop-shadow(7px 2px 15px rgba(0, 0, 0, 0.10)) drop-shadow(27px 6px 28px rgba(0, 0, 0, 0.09)) drop-shadow(61px 14px 38px rgba(0, 0, 0, 0.05)) drop-shadow(109px 26px 45px rgba(0, 0, 0, 0.01)) drop-shadow(170px 40px 49px rgba(0, 0, 0, 0.00));
}


.negate-page-container-padding {
    margin-top: calc(-1 * (var(--page-container-padding) + 115px)); 
    padding-top: 100px;
    position: relative;
    z-index: 1;
}

@media (max-width: 1440px) {
    .negate-page-container-padding  {
        margin-top: calc(-1 * (var(--page-container-padding) + 100px));
    }
}

@media (max-width: 768px) {
    .negate-page-container-padding  {
        margin-top: calc(-1 * (var(--page-container-padding) + 70px));
        padding-top: 70px;
    }
}

@media (min-width: 1921px) {
    .negate-page-container-padding  {
        margin-top: -160px;
    }
}
@media (min-width: 1921px) {
    .negate-page-container-padding  {
        margin-top: -175px;
    }
}


@media (max-width: 991.98px) {
    .event-icon {
        width: 25px;
        height: 25px;
    }
    .event-cta-heading {
        font-size: 2rem;
        text-align: center;
    }

    .event-cta-content {
        width: 100%;
        font-size: 1.15rem;
        text-align: center;
    }

    .event-cta-button {
        display: block;
        text-align: center;
        width: 100%;
    }

    .event-cta-image {
        max-width: 200px;
        height: auto;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .event-dot {
        font-size: 24px;
        font-weight: bold;
    }
    
    .calendar-day.has-events .day-event {
        display: flex !important; 
        justify-content: center;
        align-items: center;
        padding-top: 2px;
    }
    
    .calendar-day.has-events {
        position: relative;
    }
    
    .event-header h2, .event-header {
        width: 100%;
    }
    .event-location p {
        font-size: 1rem;
    }
    .ewg-logo {
        width: 90px;
        height: auto;
        margin-top: 8px;
    }
    .logo-divider {
        height: 35px;
        margin: 0 15px;
    }
    .ewg-header-text {
        font-size: 0.3rem;
    }
    .ewg-header-text {
        margin-bottom: -7.5px;
    }
    .event-cta-heading {
        font-size: 1.75rem;
    }

    .event-cta-content {
        font-size: 1rem;
    }
    .calendar-cta {
        margin-left: 0;
    }
    .calendar-item-description {
        font-size: 1rem;
    }
}

@media (min-width: 425px) {

    .event-tickets-mobile {
        display: none !important;
    }
}

@media (max-width: 425px) {
    .event-cta-image {
        display: none;
    }
    .event-header h2, .event-header, .ewg-home-heading {
        font-size: 2.5rem !important;
        line-height: 1;
    }
    .event-header h1 {
        width: 100%;
        font-size: 2rem;
    }

    .event-tickets {
        display: none !important;
    }

    .event-tickets-mobile {
        display: block !important;
    }

    .event-content-text {
        padding-right: 0;
    }   

    .event-location {
        font-size: 0.785rem !important; 
    }
}

/* ------------------------------------------------------------------------------------------------ */
/* OHA                                                                                              */
/* ------------------------------------------------------------------------------------------------ */

.oha-lead-width p {
    width: 100% !important;
    margin-bottom: 0 !important;
}

.border-grey {
    border: solid thin #bababa;
}

body:has(.page-container.bg-light) {
    background-color: #F7F8F9; 
}

.field-heritage_function_category-container, li.oha-list-item, .collapsable-container li, .collapsable-container ul {
    list-style: none;
}

.badge-border-dark {
    border: solid thin #000;
}

.oha-label {
    font-size: 1.25rem;
    font-weight: 500;
}

.location-results {
    display: none;
    position: absolute;
    z-index: 1000;
    background-color: white;
    border: 1px solid #ccc;
    max-height: 300px;
    overflow-y: auto;
    width: 100%;
}

.location-item {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #000;
}

.location-item:last-child {
    border-bottom: none;
}

.location-item:hover,
.location-item.focused {
    background-color: #f0f0f0;
}

.location-field-container {
    position: relative;
}

.oha-results-summary, .oha-results-summary ul {
    list-style: none;
    padding-left: 0;
}

.oha-pagination {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 0 auto;
    padding: 0;
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 1.2em;
    letter-spacing: 1px;
}
#pow-results table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
}

#pow-results th,
#pow-results td {
    padding: 0.75em 1em;
    border: 1px solid #ddd;
    text-align: left;
}

#pow-results thead th {
    font-weight: bold;
}

#pow-results tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

#pow-results tbody tr:hover {
    background-color: #f0f0f0;
}

#pow-results .td-numeric {
    text-align: right;
}

#pow-results .pow-doctypes ul {
    margin: 0;
    padding-left: 1.2em;
    list-style-type: disc;
}

#pow-results .pow-doctypes li {
    margin: 0.2em 0;
}

/* Add styles for filtered content */
.highlight {
    background-color: #ffff99;
    font-weight: bold;
}

/* No results message */
.no-results {
    padding: 20px;
    text-align: center;
    font-size: 1.2em;
    color: #666;
}

.page-number, .active-page {
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    background-color: #fff;
	border-radius: 5px;
}

.active-page {
	color: var(--color-oht-red) !important;
	background-color: var(--bs-light);
	border: 1px solid #ddd;
    font-weight: bold;
}

.page-number:hover {
    background-color: #f0f0f0;
}
#prev-page, #next-page {
    cursor: pointer;
}

#form-input-propertyName, #form-input-name, #form-input-email, #form-input-subject, #form-input-comments, #form-input-number, #form-input-fullName, #form-input-message, #form-input-firstName, #form-input-lastName, #form-input-company {
	width: 100%;
	padding: 1rem 0 1rem 0;
	padding-left: 1rem;
	background-color: #f8f9fa !important; 
	border-radius: 8px;
}

.freeform-label.freeform-required, .freeform-label {
    padding-bottom: 0.5rem;
    font-size: 1.25rem;
}

.freeform-row [class*="freeform-col-"] .freeform-label.freeform-required:after {
    color: var(--color-oht-red) !important;
}

label.checkbox-text {
    font-size: 1.25rem;
    padding-bottom: 0.5rem;
    display: flex !important ;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    cursor: pointer;
}

#form-input-subscribe-0, #form-input-subscribe-1, #form-input-subscribe-2 {
    width: 1.5rem;
    height: 1.5rem;
    accent-color: var(--color-oht-red);
}

.oha-comment-button {
	background-color: #f8f9fa !important; 
}
.oha-comment-form label {
	font-size: 1.2rem;
	font-weight: 600;
}

.freeform-errors {
	list-style: none;
    padding-left: 0;
    color: var(--color-oht-red);
}

.freeform-form-errors {
	background-color: var(--color-oht-red);
	font-size: 1.2rem;
}

.freeform-form-success {
    color: #27d618;
}

@media (max-width: 1024px) {
    #places_of_worship_search-form > div.position-relative {
        top: 1rem !important;
    }
    #fields-heritage_conservation_districts-field-dt {
        width: 100% !important;
    }
    #fields-heritage_conservation_districts-field-dd {
        top: 0 !important;
    }
    .oha-clear-button, .global-button-primary {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 768px) {
    #fields-heritage_functions-field-dd {
        top: 1rem !important;
    }
    #fields-heritage_conservation_districts-field-dd {
        top: -1rem !important;
    }

}


.error-page {
    margin-top: -100px;
}

@media (max-width: 991.98px) {
    .error-page {
        margin-top: -70px;
    }
    .error-page img {
        width: 35%;
    }
}

/*************************************************************************************************/
/* HERITAGE MATTERS */
/*************************************************************************************************/

body.fr .date {
  text-transform: unset !important;
}
body.fr .topMenu .siteSearch .searchForm form input[type="text"] {
  font-size: 1.5em;
}
.shareLabel {
  /*  */
  /* text-transform: uppercase; */
  font-size: 0.7em;
  letter-spacing: 0.1em;
}

/*GLOBAL Links and Buttons*/
a:hover > h2 {
  text-decoration: none !important;
  color: #ac162c !important;
}

a.linkArrow {
  display: inline-block;
  margin-left: 0.25em;
}
a.linkArrow img {
  width: 0.5em;
  transform: scale(1, 1);
  transition: 0.2s;
  display: inline-block;
}
a.linkArrow:hover img {
  transform: scale(1.5, 1.5);
  text-decoration: none;
  filter: opacity(0.5);
}
/* Links and BUttons End */
/* ######### Start Anitmated LINK ######### */
.hmLink {
  font-size: .9rem;
  text-decoration: none;
  color: #000000;
  display: inline-block;
  letter-spacing: 2px;
}
.hmLink:hover {
  color: #000000;
  text-decoration: none;
}
.hmLink:after {
  display: block;
  content: '';
  transform: scaleX(0);
  transition: transform 250ms ease-in-out;
  padding-bottom: 0.5em;
  border-bottom: solid 1px red;
}
.hmLink.fromCenterLead:after {
  display: block;
  content: '';
  transform: scaleX(0.18);
  transition: transform 250ms ease-in-out;
  border-bottom: solid 1px red;
  padding-bottom: 0.5em;
}
.hmLink.fromLeftLead:after {
  display: block;
  content: '';
  transform: scaleX(0.4);
  transition: transform 250ms ease-in-out;
  padding-bottom: 0.5em;
}
.hmLink.fixed:after {
  display: block;
  content: '';
  width: 2.5em;
  transition: width 250ms ease-in-out;
  padding-bottom: 0.25em;
  transform: unset;
}
.hmLink.fixed:hover:after {
  width: 100% !important;
  transform-origin: unset;
}
.hmLink:hover:after {
  transform: scaleX(1);
}
.hmLink.fromRight:after {
  transform-origin: 100% 50%;
}
.hmLink.fromLeft:after {
  transform-origin: 0% 50%;
}
.hmLink.fromLeftLead:after {
  transform-origin: 0% 0%;
  border-bottom: solid 1px red;
}
/* ######### End Animated Links ######### */
.box {
  display: inline-block;
}
.box:last-of-type {
  margin-right: auto;
}
/* ----- Flex gap 10px: ----- */
.flex > * {
  margin: 5px;
}
.flex-wrapper {
  width: 100%;
}
/* .no-margin {
  margin: 0 !important;
} */
/* .no-padding {
  padding: 0 !important;
} */
.uppercase {
  text-transform: uppercase;
}
p.contributor-blurb-date {
  position: relative;
  /*  */
  font-weight: 400;
  color: #4a4a4a;
  font-size: 0.875rem;
  padding-left: 0em;
  padding-right: 0em;
  margin-bottom: 0em !important;
}
div.initialPublication {
  border-top: 1px solid red;
  background-color: whitesmoke;
  padding: 1rem;
  width: 100%;
  /*  */
  font-weight: 700;
  margin-top: 1rem;
  margin-bottom: 2rem;
}
div.initialPublication p {
  position: relative;
  
  font-weight: 400;
  padding-left: 0em;
  margin-bottom: 0em !important;
}
div.initialPublication p:not(:first-child) {
  margin-top: 0.5rem;
  /*  */
  font-weight: 700;
}
.no-padding {
  padding: 0;
}
.modal {
  z-index: 99999 !important;
}
button.hm {
  padding-left: 2.5em;
  padding-right: 2.5em;
  padding-top: 0.9em;
  padding-bottom: 0.8em;
  margin: 0 auto;
  color: white;
  background: black;
  /*  */
  font-weight: 500;
  display: block;
  border: 1px solid black;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: 0.35s;
}
table {
  width: 100%;
}
table thead {
  border-bottom: 1px solid #000;
}
table thead tr th {
  padding: 0.5em;
}
table tbody tr {
  border-bottom: 1px solid #cccccc;
}
table tbody tr td {
  padding: 0.5em;
}
table tbody tr:last-of-type {
  border-bottom: 0px solid #cccccc;
}
figure.container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  max-width: unset;
}
figure.container .video, figure.container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
figure.video-container iframe{
  height: 850px;
  width: 100%;
}

figure.container img {
  object-fit: contain;
}
button.hm:hover {
  background: white;
  color: black;
  border: 1px solid black;
}
h3.loadMore {
  text-align: center;
  
  margin-top: 3em;
}
.loader {
  border: 8px solid #f3f3f3;
  border-radius: 50%;
  display: none;
  margin: 0 auto;
  width: 68px;
  /* opacity: 0.5; */
  /* filter: drop-shadow(0px 0px 0px #000000); */
  height: 68px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}
.loader.oht {
  border-top: 8px solid #00467f;
  border-right: 8px solid #629080;
  border-bottom: 8px solid #7f4300;
  border-left: 8px solid #eeb011;
}
.loader.hm {
  border-top: 8px solid black;
  border-right: 8px solid #bdbdbd;
  border-bottom: 8px solid black;
  border-left: 8px solid #bdbdbd;
}
@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.searchCategories {
  
  margin-top: 2em;
}
/* Hide the browser's default checkbox */
.box input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
/* Create a custom checkbox */
.checkmark {
  position: relative;
  top: 0.5em;
  left: 0;
  margin-right: 0.5em;
  height: 24px;
  display: inline-block;
  width: 24px;
  background-color: white;
  border: 1px solid #d8d8d8;
}
/* On mouse-over, add a grey background color */
.box:hover input ~ .checkmark {
  background-color: #ccc;
}
/* When the checkbox is checked, add a blue background */
.box input:checked ~ .checkmark {
  background-color: #000;
}
/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}
/* Show the checkmark when checked */
.box input:checked ~ .checkmark:after {
  display: block;
}
/* Style the checkmark/indicator */
.box .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
#helperModal .modal-content {
  background-color: #000;
  color: white;
  
}
#helperModal .modal-header {
  
  
  font-style: italic;
  border-bottom: 1px solid #6b6b6b;
}
#helperModal .modal-footer {
  border-top: 1px solid #6b6b6b;
}
#helperModal button {
  color: white;
}
.error-404 .contentWrapper.footer {
  display: block;
  margin-left: unset !important;
  margin-right: unset !important;
  display: block;
  position: fixed;
  top: unset;
  left: unset;
  -webkit-transform: unset;
  transform: unset;
  z-index: 1;
  bottom: 0em;
  width: 100% !important;
  padding-left: 4em;
  padding-right: 4em;
}
.error-404 .error-wrapper {
  width: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.error-404 .error-wrapper .error-container {
  text-align: center;
}
.error-404 .error-wrapper .error-container img {
  max-width: 10em;
}
.error-404 .error-wrapper .error-container p:first-of-type {
  
  font-weight: 700;
  font-size: 12em;
  margin-bottom: 0em;
  margin-top: 0em;
  line-height: 1em;
  color: #6e6e6e;
}
.error-404 .error-wrapper .error-container p {
  margin-top: 1em;
  margin-bottom: 1em;
  
  letter-spacing: 1px;
}
.error-404 .error-wrapper .error-container a, .error-404 .error-wrapper .error-container p {
  font-size: 2em;
}

.info-icon {
  width: 1.8em;
  position: relative;
  top: -0.4em;
  margin-left: 0.5em;
}
.helperTooltip {
  display: inline-block;
  opacity: 1 !important;
}
.helperTooltip .tooltiptext {
  visibility: hidden;
  width: 350px;
  background-color: #000;
  color: #fff;
  text-align: left;
  border-radius: 0px;
  padding: 1.5em;
  position: absolute;
  z-index: 1;
  bottom: 3em;
  opacity: 1;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
  
}
.helperTooltip .tooltiptext p {
  
  font-size: 1.2em;
}
.helperTooltip .tooltiptext img.helperClose {
  filter: invert(1);
  width: 1em;
  position: absolute;
  right: 0.5em;
  top: 0.5em;
}
.helperTooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}
html {
  scroll-behavior: smooth;
  height: 100%;
  width: 100%;
}

body.homepage {
  background-color: #ffffff00;
}


.contentWrapper .oht-logo img {
  width: 10em;
  position: absolute;
  right: 0em;
  top: 0em;
}
.contentWrapper h1.section, h1.section, .content-alignment h1.section {
  
  font-weight: 800;
  font-size: 1.9em;
  text-transform: uppercase;
  padding-top: 0.5em;
  margin-bottom: 2em;
  letter-spacing: 4px;
}
.contentWrapper h1.section span, h1.section span, .content-alignment h1.section span {
  
  
}
.contentWrapper .section-header.centered, .section-header.centered {
  text-align: center;
  margin: 0 auto;
  display: block;
}
.contentWrapper .section-header.centered h1.section, .section-header.centered h1.section {
  
  font-weight: 800;
  font-size: 1.9em;
  padding-top: 0 !important;
  text-transform: uppercase;
  margin-bottom: 5em;
  letter-spacing: 4px;
}
.contentWrapper .section-header.centered::before, .section-header.centered::before {
  background-color: red;
  content: "";
  display: inline-block;
  height: 1px;
  position: relative;
  vertical-align: middle;
  width: 50px;
}
.contentWrapper .section-header.centered h1.section span, .section-header.centered h1.section span {
  
  
}
.contentWrapper .section-header h1.section, .section-header h1.section {
  
  font-weight: 700;
  font-size: 1.9em;
  text-transform: uppercase;
  padding-top: 0.5em;
  margin-bottom: 2em;
  letter-spacing: 4px;
}
.contentWrapper .contributor-blurb-author, .contributor-blurb-author {
  display: inline-block;
}
.author {
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  padding-top: 0.5em;
  margin-bottom: 2em;
  margin-top: 0 !important;
  letter-spacing: 1.3px;
  overflow-wrap: break-word; 
  word-break: break-word;    
  white-space: normal;
  
}

.contentWrapper .contributor-blurb-author::before,
.contributor-blurb-author::before {
  background-color: black;
  content: "";
  display: inline-block;
  height: 3px;
  position: relative;
  vertical-align: middle;
  width: 25px;
}

.author a {
  text-decoration: none;
}

.contentWrapper .contributor-blurb-author p.contributor-blurb-category, .contributor-blurb-author p.contributor-blurb-category {
  position: relative;
  /* margin-left: 1em; */
  
  font-size: 1em;
  padding-left: 1em;
  margin-bottom: 1em !important;
}
.contributor-blurb-category {
  position: relative !important;
  font-size: 1em !important;
  padding-left: 0em !important;
  margin-bottom: 1em !important;
}

.slideOutMessageToggle {
  position: absolute;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-90deg);
  top: 150%;
  left: -4em;
  background-color: black;
  color: white;
  padding: 2em 3em;
  text-align: center;
  
  text-transform: uppercase;
  font-size: 1.5em;
  cursor: pointer;
}
.slideOutMessageToggle .closeEditorMessage {
  display: none;
}
.slideIn {
  left: 0%;
}
.slideOut {
  left: -100vw;
}
.slideOutMessageContainer {
  position: fixed;
  background-color: #000000;
  padding: 11em 15em;
  overflow-y: scroll;
  display: block;
  top: 0em;
  width: 100%;
  min-height: 100vh;
  height: 100%;
  z-index: 999;
  transition: 1s ease-in-out;
}
.slideOutMessageContainer .message {
  padding: 0em 4em;
}
.slideOutMessageContainer .messageImage {
  width: 100%;
  max-width: 40em;
  margin: 0 auto 2em auto;
  display: block;
}
.slideOutMessageContainer .messageImage:nth-child(1) {
  margin-top: 4em;
}
.slideOutMessageContainer img.nameplate {
  z-index: 99;
  position: absolute;
  top: 0em;
  left: 50%;
  transform: translate(-50%, 0);
  max-width: 25em;
}
.slideOutMessageContainer .closeSlideOut {
  filter: invert(1);
  width: 3em;
  position: absolute;
  right: 2em;
  top: 50%;
  transition: 0.2s;
  cursor: pointer;
}
.slideOutMessageContainer img.closeSlideOut:hover {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: 0.2s;
}
.slideOutMessageContainer h1 {
  
  font-weight: 700;
  font-size: 6em;
  text-transform: uppercase;
}
.slideOutMessageContainer p.heading2 {
  
  color: white;
  font-size: 3em;
}
.slideOutMessageContainer p.heading3 {
  font-size: 3em;
}
.slideOutMessageContainer p {
  
  font-size: 1.125em;
  color: white;
}
.contentWrapper img.nameplate {
  z-index: 99;
  max-width: 40%;
  max-height: 7em;
  position: relative;
  top: 0em;
  margin: 0 auto;
  display: none;
  left: unset;
  -webkit-transform: unset;
  transform: unset;
  z-index: 2;
}
.contentWrapper .oht-logo img {
  width: 9em;
}
.contentWrapper.first-block {
  margin-top: 0em !important;
}
.contributorHeader {
  background-image: url(../images/conributorBanner_bg-01.svg);
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: center;
  margin-top: 0em !important;
  width: 100%;
  height: 18em;
  margin-bottom: 1em;
}
.contributorHeader h1 {
  
  font-weight: 800;
  font-size: 2.5em;
  color: white;
  position: absolute;
  bottom: 1em;
  margin-left: 4.2em;
  text-transform: uppercase;
  letter-spacing: 3px;
}
.contributor-info {
  border-left: 1px solid #cccccc;
}

.contributorPortrait {
  max-width: 100%;
  padding-left: var(--padding-between-cards);
}
.contributor-info .contributorBlurb {
  padding: 1em;
}
span.author,
div.author {
  font-weight: 800;
  border-bottom: 1px solid red;
  display: inline;
  font-size: 1.5em;
}
.contributor-info .contributorBlurb span.author a {
  color: black;
}
.contributor-info .contributorBlurb span.author a:hover {
  color: red;
}
.contributor-info .contributorBlurb span.title {
  font-size: 1em;
  margin-bottom: 0.3em;
  text-transform: uppercase;
  display: block;
}
.contributor-info .contributorBlurb p, .contributorBlurb p {
  margin-bottom: 0em;;
  color: black;
}
.contributor-info h2, .contributor-info h2 {
  font-size: 1.32em;
  
  font-weight: 800;
  margin-left: 1.75rem;
  padding-left: 0em;
  margin-top: 3em;
  margin-bottom: 1.5em;
}
.category-content-wrapper .section-header {
  margin-bottom: 3em;
}
.category-content-wrapper form {
  margin-bottom: 3em;
}
.category-content-wrapper form fieldset {
  position: relative;
}
.category-content-wrapper form label {
  display: none;
}
.category-content-wrapper form .showMe {
  display: inline-block !important;
}
.category-content-wrapper form input[type=text] {
  width: 100%;
  
  color: #000;
  font-size: 1.5em;
  background-color: #fff;
  border: 0px;
  border-bottom: var(--column-separator-rule);
  padding-bottom: 0.5em;
  padding-left: 2.5em;
  outline: 0;
  letter-spacing: 2px;
}
.category-content-wrapper form img.refineImage {
  display: inline-block;
  left: 0em;
  top: 0.5em;
  position: absolute;
  width: 1.75em;
}
.category-content-wrapper form button {
  position: absolute;
  right: 0em;
  bottom: 0.5em;
  bordeR: 0;
  background-color: white;
  
  font-size: 1em;
  text-transform: uppercase;
  color: black;
  letter-spacing: 1px;
}
.category-content-wrapper form button:hover {
  color: red;
}

#category-content {
  border-left: var(--column-separator-rule);
  margin-bottom: var(--padding-between-cards);
}
.contributor-blurb-author {
  display: inline-block;
}

.border-left {
  border-left: var(--column-separator-rule);
}

.pageWrapper {
  padding-top: 10em;
}






/* STYLES SCOPED TO HM ARTICLES */

.hm-article:first-child {
  margin-top: 0rem;
}

.hm-article p.contributor-blurb-category {
  position: relative;
  margin-top: 1em;
  font-size: 0.875rem;
  padding-left: 0em;
  margin-bottom: 0em !important;
}

.hm-article .borders {
  border-left: var(--column-separator-rule);
  border-right: var(--column-separator-rule);
}
.hm-article .border-left {
  border-left: var(--column-separator-rule);
  padding-left: 1rem !important;
}
.hm-article .border-right {
  border-right: var(--column-separator-rule);
  padding-right: 1em !important;
  padding-left: 1em !important;
}

@media (max-width: 425px) {
    .hm-article .border-right.hm-header-2 {
        padding-left: 0 !important;
    }
}

.hm-article img.contributorPortrait {
  max-width: 100%;
}
.hm-article .contributor-info {
  position: relative;
}
.hm-article .contributor-info img {
  width: 100%;
  margin-bottom: 1em;
  max-width: 11em;
  display: block;
  /* margin: 0 auto; */
  margin-bottom: 2em;
}
.hm-article .contributor-info .contributorBlurb {
  margin-bottom: 1.5rem;
  border-top: var(--column-separator-rule);
  border-bottom: var(--column-separator-rule);
  padding: 1rem 0.25rem 0.25rem 0.25rem;
}
.hm-article .contributor-info .contributorBlurb span.author {
  
  font-weight: 800;
  border-bottom: 1px solid red;
  display: inline;
}
.hm-article .contributor-info .contributorBlurb span.author a {
  color: black;
}
.hm-article .contributor-info .contributorBlurb span.author a:hover {
  color: #ac162c;
}
.hm-article .contributor-info .contributorBlurb span.title {
  font-size: 0.875rem;
  text-transform: uppercase;
  display: block;
}
.hm-article .contributor-info .contributorBlurb p {
  margin-top: 0.5em;
  margin-bottom: 0em;
}
.hm-article span.endContent {
  display: inline-block;
  height: 0.6em;
  width: 0.6em;
  background-color: red;
  margin-left: 0.5em;
}

.hm-article .contributorPortrait {
    display: none;
  }
  .hm-article p.contributor-blurb-category {
    position: relative;
    /* margin-left: 1em; */
    
    font-size: 1.25em !important;
    padding-left: 1em;
    margin-bottom: 1em !important;
  }
  .hm-article .author-mobile {
    display: block;
    margin-bottom: 1em;
    text-align: center;
  }
  .hm-article .contributor-blurb-author::before {
    height: 2px;
  }
  .hm-article img.contributorPortrait {
    max-width: 50%;
    display: none;
  }
  .hm-article .contributor-info:first-of-type {
    display: none;
  }
  .hm-article .contributor-info p {
    font-size: 1.5em;
  }
  .hm-article .contributor-info img {
    max-width: 25%;
    margin-bottom: 1em;
    display: none;
    vertical-align: top;
    margin-top: 4em;
  }
  .hm-article .contributor-info .contributorBlurb {
    
    border-top: var(--column-separator-rule);
    border-bottom: var(--column-separator-rule);
    padding: 2em 2em;
    width: 100%;
    display: inline-block;
    margin-top: 3em;
    margin-bottom: 2em;
  }
  .hm-article .contributor-info .contributorBlurb span.author, .hm-article .contributor-info .contributorBlurb span.title {
    font-size: 1.5em;
  }
  .hm-article .contributor-info .contributorBlurb p {
    margin-top: 1em;
  }
  
  .hm-article .contributor-blurb-author h1.author {
    font-size: 1.2em;
    line-height: 1em;
  }

/* END FIXING ARTICLE STLES WRAPPER */

.hm-related-stories-wrapper {
  padding-top: 1em;
  padding-bottom: 4rem;
  margin-top: 4rem !important;
  background-color: #f5f5f5 !important;
  clear: both;
}

.hm-related-stories {
  border-left: var(--column-separator-rule)
}

@media (max-width: 768px) {
  .related-stories.title {
      font-size: 1.35rem !important;
  }
}

@media (max-width: 425px) {
    .hm-related-stories {
        border-left: 0 !important;
    }
    .preview {
        border-right: 0 !important;
    }
}

.cl-search .section-header {
  margin-top: 10em !important;
}

@media (max-width: 1200px) {
  .slide-title {
    font-size: 2rem;
}

.slide-body {
    font-size: 1.1rem;
}

.slide-content {
    padding: 1.5rem;
}
}
@media screen and (max-width: 768px) {
    .hm-sliding-banner {
      height: auto;
  }

.image-slide {
      max-height: 40vh;
  }

.image-slide img {
      height: 100%;
      max-height: 40vh;
  }

  .body-slide {
      min-height: auto;
  }

  .slide-content {
      padding: 1.5rem;
      max-width: 100%;
      margin-top: 0;
      position: relative;
      transform: none;
  }

  .slide-title {
      font-size: 1.5rem;
      margin-top: 0.5rem;
      margin-bottom: 0.75rem;
  }

  .slide-body {
      font-size: 1rem;
      width: 100%;
  }

  .navigation-wrapper {
      bottom: 10px;
      right: 20px;
  }



  a.ctaButton.slider {
      margin-top: 1rem;
      margin-bottom: 1rem;
  }

  .category-content-wrapper form {
    padding-left: 1em;
    padding-right: 1em;
  }
  .helperTooltip .tooltiptext {
    visibility: hidden;
    width: 100%;
    background-color: #000;
    color: #fff;
    text-align: left;
    border-radius: 0px;
    padding: 1.5em;
    position: absolute;
    z-index: 1;
    bottom: unset;
    top: 50%;
    transform: translate(-50%, -50%);
    left: 50%;
    margin-left: unset;
    opacity: 0;
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
    
  }
  .slideOutMessageToggle {
    position: fixed;
    -webkit-transform: rotate(-45deg);
    transform: rotate(0deg);
    top: unset;
    width: 100%;
    z-index: 99;
    left: unset;
    background-color: black;
    color: white;
    padding: 2em 3em;
    bottom: 0em;
    text-align: center;
    
    text-transform: uppercase;
    font-size: 1.5em;
    cursor: pointer;
  }
  .slideOutMessageToggle .closeEditorMessage {
    display: block;
    width: 1em;
    filter: invert(1);
    position: absolute;
    top: 1em;
    right: 1em;
  }
  .slideOutMessageToggle .closeEditorMessage:hover {
    transform: rotate(90deg);
  }

  .about-author img {
    width: 100%;
    max-width: 10em !important;
    margin: 0 auto;
    display: block;
    margin-bottom: 1em !important;
  }
  div.initialPublication p {
    font-size: unset;
  }
  img.explodeImage {
    display: none !important;
  }

  .pageWrapper {
    margin-top: 3em !important;
  }
  .initialPublication {
    font-size: 0.9em;
  }
  
  .hmLink {
font-size: 1em;
  }

  .contentWrapper .oht-logo img {
    display: none;
  }
  
  body {
    font-size: 10px !important;
  }
  
  .contentWrapper img.nameplate {
    z-index: 99;
    min-width: unset;
    max-width: 72%;
    max-height: unset;
    width: 100%;
    position: absolute;
    top: -7em;
    margin: 0 auto;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    z-index: 2;
    display: none;
  }
}
@media screen and (min-width: 769px) and (max-width: 1200px) {
  .hm-next-article{
    right: -4em;
  }
  .hm-prev-article {
    left: -6em;
  }
}


@media screen and (max-width: 425px) {
  .image-slide {
    max-height: 40vh;
  }
}

div.listing {
  -webkit-columns: 20em;
  -moz-columns: 20em;
  columns: 20em;
}
div.listing article {
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  /* Firefox is dumb */
  break-inside: avoid;
}
/* pretty it up! */
div.listing article {
  margin: 1em 0;
  background-color: #CCC;
  padding: 0.5em;
}
div.listing article:first-child {
  margin-top: 0;
}
div.listing article:nth-child(odd) {
  background-color: #ff9;
}
.newsContainer {
  display: flex;
  flex-flow: column wrap;
  align-content: space-between;
  height: 580px;
}
.item {
  width: 32%;
  margin-bottom: 2%;
  /* (100-32*3)/2 */
}
/* Re-order items into rows */
.item:nth-child(3n+1) {
  order: 1;
}
.item:nth-child(3n+2) {
  order: 2;
}
.item:nth-child(3n+3) {
  order: 3;
}
.item:nth-child(3n+4) {
  order: 4;
}
/* Force new columns */
.newsContainer::before, .newsContainer::after {
  content: "";
  flex-basis: 100%;
  width: 0;
  order: 2;
}

.section-header h3 {
  font-size: 1.5rem !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-header h3 .light-weight {
  font-weight: 400;
  margin-right: 0.2em;
}

.section-header h3 .bold-weight {
  font-weight: 800;
}

/* ---------------------------------------------------------------- */
/* ---------------------------------------------------------------- */
/* ---------------------------------------------------------------- */
/* Remediated CSS */
/* ---------------------------------------------------------------- */
/* ---------------------------------------------------------------- */
/* ---------------------------------------------------------------- */

.float-left {
  float: left;
  margin-right: 2rem !important;
}

.float-right {
  float: right;
  margin-left: 2rem !important;
}
/* ---------------------------------------------------------------- */
/* Article Headers 1 - 4 */
/* ---------------------------------------------------------------- */

.hm-header {
  z-index: 1000;
}

@media(max-width: 425px) {
  .hm-header-1 {
    border: 0 !important;
  }
}

.hm-header .hm-header-floating-block {
  float:left;
  margin-right: 2% !important;
  margin-bottom: 1rem;
}

/* Ensures no space above the first element */
article .hm-header .hm-header-body-block > :first-child {
  margin-top: 0em !important;
}

/* Ensures no space below the last element */
article .hm-header .hm-header-body-block > :last-child {
  margin-bottom: 0em !important;
}

article .hm-header .hm-header-body-block p {
    margin-right: 1rem !important;
}

/* --------------------- */

.hm-block {
  /* nothing for now */
}

.contentWrapper {
  width: 80%;
  max-width: 950px;
  margin: auto;
  padding: 0;
}

/* ---------------------------------------------------------------- */
/* HM Global Styles */
/* ---------------------------------------------------------------- */

/* HM Previews */

.preview {
  padding-left: var(--padding-between-cards) !important;
  padding-right: var(--padding-between-cards) !important;
  padding-bottom: 1.5rem;
  border-right: var(--column-separator-rule);
}

.preview.count-3,
.preview.count-4 {
  padding-bottom: 0;
}

.preview p {
  font-size: 1.2em; /* Don't change to rem! */
  margin-bottom: 1.5rem;
}

.preview.count-3 p,
.preview.count-4 p{
  margin-bottom: 0;
}

.preview .preview-image {
  height: 50vh;
  margin-bottom: 0.3em;
}

.preview .preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.preview ul.info {
  margin-bottom: 0em;
  padding-left: 0em;
  list-style: none;
  margin-top: 1rem;
  max-width: 90%;
}

.preview ul.info li {
  font-size: 0.9rem;
  color: #000000;
  margin-right: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  padding-bottom: 0.05rem;
  margin-bottom: 0.5rem;
  width: fit-content;
}

.preview ul.info li a {
  text-decoration: none;
}

.preview h2.title {
  font-size: 1.75em; /* Don't change to rem! */
  font-weight: 700;
  margin-bottom: 1em;
  margin-top: 1.5em;
  color: #000000;
}

.preview-link {
  text-decoration: none;
}

h2.title a {
  text-decoration: none;
}

.preview ul.info li.categories {
  line-height: 1rem;
  font-size: 0.7rem;
}

.preview ul.info li.categories a {
  text-decoration: none;
}

.preview ul.info li:last-of-type {
  border-bottom: 0px;
}
.preview img {
  max-width: 100%;
}

/* ---------------------------------------------------------------- */
/* HM Landing Page */
/* ---------------------------------------------------------------- */

.hm-landing-page {
  --slide-content-left-position: 54%;
  --photo-caption-right-position: 15%;
  --photo-info-and-navigtion-min-height: 2rem;
  --slide-content-bottom-position: 50px;
}

.hm-landing-page .hm-latest-features-wrapper.contentWrapper,
.hm-landing-page .hm-selected-stories-wrapper.contentWrapper{
  width: auto;
  max-width: none;
}

.nameplate-link {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  justify-content: center; /* centers horizontally */
  align-items: center;     /* centers vertically */
  width: 20%;
}

.nameplate {    
    width: 100%;
}

/* HM Landing Page Slider (Swiper) */

.hm-sliding-banner-wrapper {
  position: relative;
  height: 60vh;
  width: 94vw;
  left: 50%;
  transform: translateX(-50%);
}

.hm-sliding-banner {
  display: flex;
  position: relative;
  width: 100%;
  z-index: 100;
}

.hm-sliding-banner figure.image-slide {
  height: 100%;
}

.hm-sliding-banner figure img {
  /* width: 100%; */
  height: 100%;
  object-fit: cover;
}

.hm-sliding-banner .body-slide {
  display: flex;
  align-items: center;
}

.hm-sliding-banner .body-slide .slide-content {
  position: absolute;
  right: calc(var(--slide-content-left-position) - 50%);
  left: var(--slide-content-left-position);
}

.hm-sliding-banner .body-slide .slide-content .slide-title h2 {
  font-weight: 600;
  font-size: 3.5rem;
  margin-bottom: 1rem;
  letter-spacing: -10%;
}

.hm-sliding-banner .body-slide .slide-content .slide-body {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

a.ctaButton.slider {
  padding: 0.75em 1.25em;
  text-align: center;
  display: inline-block;
  max-width: 12em;
  margin-top: 1.5em;
  background-color: black;
  color: white !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: 0.3s ease;
  border: 1px solid transparent;
}

a.ctaButton.slider:hover {
  background-color: white;
  color: black !important;
  border: 1px solid black;
}

.hm-sliding-banner nav {
  position: absolute;
  right: calc(var(--slide-content-left-position) - 50%);
  z-index: 10;
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: right;
  left: calc((var(--photo-caption-right-position) - 100%) * -1);
  min-height: var(--photo-info-and-navigtion-min-height);
  bottom: var(--slide-content-bottom-position);
}

.hm-sliding-banner nav .swiper-pagination {
  color: white;
}

.hm-sliding-banner nav .swiper-pagination-fraction {
  bottom: 0;
}

.hm-sliding-banner nav .swiper-pagination-fraction .fraction-divider {
  margin: 0 5px;
}

.hm-sliding-banner nav .swiper-button-next,
.hm-sliding-banner nav .swiper-button-prev {
  z-index: 11; /*Ensures the buttons are clickable.*/
}

.hm-home-slider-image figure {
  border-radius: 0px !important;
}

/* Features and Selected Stories */

.selected-stories {
  border-left: var(--column-separator-rule);
  font-size: 1.25rem;
}

.selected-stories .preview {
  padding-bottom: 4rem;
}

.selected-stories .preview:last-of-type {
  padding-bottom: 1em;
}

.selected-stories:last-of-type .preview {
  padding-bottom: 0;
}

.latest-features-large {
  border-left: var(--column-separator-rule);
  font-size: 1.5rem;
}

.latest-features-large .preview {
  height: 100%;
}

.latest-features-small {
  align-content: flex-start;
}

.hm-landing-page .section-header h2 {
  margin-bottom: 0 !important;
}

/* HM Call to Action / Advertisments CTA) */

.hm-cta-content-wrapper {
  font-size: 1.2em;
  background-color: black;
  display: flex;
  align-items: center;
}
.hm-cta-content {
  color: white;
  width: 100%;
}
.hm-cta-content-text {
  margin-bottom: 3em;
}
.hm-cta-content h1 {
  font-weight: 800;
  font-size: 3em;
  text-align: center;
}
.hm-cta-content p {
  font-size: 1em;
  margin-bottom: 1em;
  text-align: center;
}
.hm-cta-content-button {
    text-align: center;
}
.hm-cta-image-wrapper {
    height: 100%;
}

.hm-cta-wrapper .hm-cta-image-wrapper figure {
  border-radius: 0px !important;
}

@media (max-width: 425px) {
    
    .hm-cta-content {
        position: absolute;
        top: 30%;
        background-color: rgba(0, 0, 0, 0.75);
        padding: 2rem;
    }

    .hm-cta-content h1,
    .hm-cta-content p {
        color: white; /* or whatever color you want the text to be */
        opacity: 1;
    }
    .hm-cta-image-wrapper figure img {
        height: calc(100vh - 70px);
    }
}

/* HM Categoires Collection Swiper */

.categorySwiper .swiper-slide-prev, 
.categorySwiper .swiper-slide-next
{
    opacity: 1;
    transform: none !important;
}

/* Over-riding some swiper styles specific to the HM categories swiper */

.categorySwiper {
  padding: 0 2px; /* this is a hack to fix the dissapearing line between cards */
  font-size: 1rem;
}

.hm-categories-wrapper nav {
  margin: var(--padding-between-cards);
  position: relative;
}

.hm-categories-wrapper .external-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {
  height: 55px;
  width: 90%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  bottom: 0;
}

.hm-categories-wrapper .swiper-button {
  top: unset;
  bottom: 0;
  height: 55px;
  width: 5%;
  background-size: contain;
}

.hm-categories-wrapper .swiper-button-prev {
  left: 0;
}

.hm-categories-wrapper .swiper-button-next {
  right: 0;
}

/* End Over-ride ------------------------------------------------------- */

/* ---------------------------------------------------------------- */
/* HM Articles */
/* ---------------------------------------------------------------- */

.hm-next-article, .hm-prev-article {
  position: fixed;
  top: 75%;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 1em;
  color: black !important;
  padding: 1em;
  background-color: transparent;
  transition: 0.2s;
  cursor: pointer;
  text-decoration: none !important;
}
a.hm-next-article:hover, 
a.hm-prev-article:hover {
  color: white !important;
}
.hm-next-article {
  transform: rotate(90deg) translateX(-50%);
  transform-origin: right center;
  right: 4%;
  z-index: 9999;
  background: #FFF;
  color: #000;
  opacity: 0.8;
}
.hm-prev-article {
  transform: rotate(-90deg) translateX(50%);
  transform-origin: left center;
  left: 4%;
  z-index: 9999;
  background: #FFF;
  color: #000;
  opacity: 0.8;
}
.hm-next-article:hover, 
.hm-prev-article:hover {
  background-color: black;
}

/* ---------------------------------------------------------------- */
/* Photos */
/* ---------------------------------------------------------------- */

.photo-info {
  border-left: 1px solid red;
  padding: .5em 0 .5em 1em;
  margin-top: 1rem;
}

.hm-sliding-banner-wrapper .photo-info {
  color: white;
  border-color: white;
}

.photo-caption {
  font-size: 0.875rem !important;
  font-weight: 700;
}

.explodeImage {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  position: relative;
  width: 1.25em;
  transition: 0.5s;
  margin-right: 5px;
}
.explodeImage:hover {
  transform: scale(1.4) rotate(45deg);
}

/* Hanging image with content */

.hanging-image-with-content figure,
.hm-header .hm-header-floating-block {
  /* width: 49%; */
  overflow: hidden;
}

.hanging-image-with-content figure {
  margin-top: 0.5rem !important;
}
.hanging-image-with-content figure.float-left {
  margin-right: 2% !important;
}
.hanging-image-with-content figure.float-right {
  margin-left: 2% !important;
}

.hanging-image-with-content figure > a > img {
  width: 100%;
  border-radius: 4px;
}

/* ---------------------------------------------------------------- */
/* Photo stack */
/* ---------------------------------------------------------------- */

.photo-stack-photos {
    column-count: 1;
    column-gap: 1rem;
    margin-bottom: 2rem; 
}

.photo-stack-photos figure img {
    max-height: 300px; 
    width: 100%;
    object-fit: cover;
    object-position: center;
}
  
@media (min-width: 576px) {
    .photo-stack-photos figure img {
      min-height: 400px;
    }
}
  
@media (min-width: 768px) {
    .photo-stack-photos figure img {
      min-width: none;height: 500px;
    }
}

@media (min-width: 992px) {
    .photo-stack-photos figure img {
      min-height: 850px;
    }
}

@media (max-width: 425px) {
    .photo-stack-photos {
        margin-bottom: 0;
    }
}

.photo-stack-photos figure {
break-inside: avoid;
margin-bottom: 1rem;
}

/* ------------ */

/* POPULAR READS SEEMS TO BE USED BY RELATED STORIES */

.popular-reads {
  margin-top: 6em;
  margin-bottom: 6em;
}
.popular-reads .section-header h1.section {
  margin-bottom: 2em;
  margin-left: 1em;
}

.popular-reads .preview img {
  width: 100%;
  object-fit: cover;
  border-radius: 4px;
}
.popular-reads .preview h2.title {
  font-size: 1.2em;
}
.popular-reads .preview p {
  /* font-size: 1.2em; */
  
  white-space: pre-wrap;
}
.popular-reads .preview p a img {
  max-width: 0.5em;
}

.popular-reads .preview {
    border-left: 0px solid #c3c3c3d9 !important;
  }
  .popular-reads .preview {
    padding-bottom: 4em;
  }
  .popular-reads .preview img {
    max-width: 100%;
  }
  .popular-reads .preview h2.title {
    font-size: 1.8em;
  }
  .popular-reads .preview p {
    font-size: 1.75em;
  }
  .popular-reads .preview:last-of-type {
    padding-bottom: 1em;
  }

/* ---------------------------------------------------------------- */
/* Heritage Matters index page */
/* ---------------------------------------------------------------- */

@media (max-width: 1024px) {
    .hm-sliding-banner .body-slide .slide-content {
        position: initial;
    }
    .hm-sliding-banner nav .swiper-button-next {
        right: -5%;
    }
    
    .hm-sliding-banner nav .swiper-button-prev {
        left: -5%;
    }
    .hm-sliding-banner nav .swiper-pagination-fraction {
        top: 15%;
    }
    .preview h2.title {
        font-size: 1.75rem;
    }
    .hm-categories-wrapper .external-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {
        gap: 0rem;
    }
}

@media (max-width: 768px) {
    .hm-sliding-banner-wrapper {
        height: calc(100vh - 70px);
    }
    .hm-sliding-banner .body-slide {
        align-items: flex-start;
    }
    .nameplate-link {
        top: -2%;
        width: 25%;
    }
    .hm-sliding-banner .swiper-wrapper {
        padding: 0px;
    }
    .hm-sliding-banner nav .swiper-button-next {
        right: -15%;
    }
    
    .hm-sliding-banner nav .swiper-button-prev {
        left: -15%;
    }
    .hm-sliding-banner nav .swiper-button-prev, .hm-sliding-banner nav .swiper-button-next {
        display: block;
        background-size: 30%;
    }
    .swiper-pagination-current, .swiper-pagination-total, .hm-sliding-banner nav .swiper-pagination-fraction .fraction-divider {
        font-size: 1rem;
    }
    .hm-sliding-banner .body-slide .slide-content .slide-title h2 {
        font-size: 2.5rem;
    }
    .selected-stories:last-of-type .preview {
        padding-top: 4rem;
    }
    .selected-stories .preview:last-of-type {
        padding-bottom: 0em;
    }
    .preview h2.hm-category.title {
        font-size: 1rem;
    }
    .hm-categories-wrapper .swiper-button-prev {
        display: block;
    }
    .hm-categories-wrapper .swiper-button-next {
        display: block;
    }
}

@media (max-width: 425px) {
    .hm-sliding-banner-wrapper {
        height: calc(90vh - 70px);
    }
    .hm-sliding-banner nav .swiper-button-next {
        right: -25%;
    }
    
    .hm-sliding-banner nav .swiper-button-prev {
        left: -25%;
    }
    .hm-categories-wrapper .external-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {
        width: 75%;
    }
}

@media (max-width: 375px) {
    .hm-sliding-banner nav .swiper-pagination-fraction {
        left: -30%;
    }
    .hm-sliding-banner nav .swiper-button-next {
        right: -20%;
    }
    
    .hm-sliding-banner nav .swiper-button-prev {
        left: -75%;
    }
}