/*************************************************************************************************/
/* Focus */
/*************************************************************************************************/

.form-control:focus {
    box-shadow: none;
    border-color: none !important;
    outline-offset: 2px
}

/* Add focus styles for image links */
.image-container a:focus {
    outline: 2px solid var(--focus-outline-color);
    outline-offset: 3px;
    border: 2px solid var(--focus-outline-color);
}

/* Keyboard navigation fixes - ensure header links are focusable across all browsers */
.header-link:focus, 
.logoWrapper a:focus,
a[class*="logo"]:focus,
.tag-filter-button.btn:focus {
    outline: 2px solid var(--focus-outline-color);
    outline-offset: 2px;
    box-shadow: none;
}

/* Ensure all header links are properly focusable */
.header-link,
.logoWrapper a,
a[class*="logo"] {
    display: inline-block;
    position: relative;
}

.carousel-control-next:focus, .carousel-control-prev:focus {
    outline: 2px solid var(--focus-outline-color);
    outline-offset: 2px;
    box-shadow: none;
}

/* Modern browsers focus-visible support */
.logoWrapper a:focus-visible,
.header-link:focus-visible,
a[class*="logo"]:focus-visible {
    outline: 2px solid var(--focus-outline-color);
    outline-offset: 2px;
}

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

/* Donate button */
/*************************************************************************************************/

.donate-sticky-container {
    position: fixed;
    right: 1.5em;
    top: 55%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: right center;
    z-index: 1000;
}

.donate-button {
    background: var(--color-oht-red);
    color: white !important;
    display: flex;
    padding: 0 2em;
    height: 3em;
    width: 100%;
    border-radius: 8px 8px 0 0;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    text-decoration: none;
    opacity: .85;
    text-overflow: ellipsis;
    overflow: hidden;
}

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

@media (min-width: 1600px) {
    .donate-sticky-container {
        right: 1.5em;
    }
}

@media (max-width: 768px) {

    .donate-sticky-container {
        position: fixed;
        right: 0%;
        top: unset;
        bottom: 0;
        transform: translateY(0%);
        width: 100%;
        z-index: 1007;
    }
    
    .donate-button {
        width: 100%;
        height: 3em;
        border-radius: 0;
        opacity: 1;
    }
}

/* end donate button */
/*************************************************************************************************/

h2.directory-title {
    font-size: 2.6rem;
}

.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: 0.189rem;
    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: calc(var(--page-container-max-width) * 0.6);
    margin-left: auto;
    margin-right: auto;
}

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

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

/* @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;
}


.tag-pill {
    border: 1px solid #707070; 
    color: #707070;
    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: #707070;
    color: #fff !important;
}

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

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,
.twi.full-width.content-block 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;
}

.bg-semiblack {
    background-color: #222222;
}


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

/* Base button styles */
.ewg-button-primary,
.ewg-button-secondary,
.ewg-button-tertiary,
.ewg-more-info,
.oht-primary-button,
.oht-button-secondary,
.oha-clear-button,
.event-cta-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,
    .oha-clear-button,
    .event-cta-button {
        padding: 0.75rem 1.25rem !important;
    }
}

.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 {
    transform: scale(1.05);
}

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

.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);
    font-size: 1.375rem;
    font-weight: 400;
    line-height: 1;
}

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

.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;
}

.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,
    .oha-clear-button {
        font-size: 0.9rem !important;
    }
}

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

/*************************************************************************************************/
/* HERO SLIDER CAROUSEL*/
/*************************************************************************************************/

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

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

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

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

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

.hero-text-overlay {
    max-width: fit-content !important;
    position: absolute;
    bottom: 37%;
    left: 0%;   
    width: auto;
    z-index: 2;
    margin-left: var(--page-container-padding);
    background-color: rgba(0, 0, 0, 0.6);
    padding: 3rem;
}

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

.hero-navigation-sub-title {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 1.5rem;
}

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

/*************************************************************************************************/
/* START --> HERO SLIDER CAROUSEL --> TABBED NAVIGATION */
/*************************************************************************************************/

ul.hero-navigation-links {
    position: absolute;
    width: calc(100% - (var(--page-container-padding) * 2));
    left: var(--page-container-padding);
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end; /* This was the key */
    list-style: none;
    padding: 0;
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    ul.hero-navigation-links {
        width:100%;
        left: 0;
        /* flex-wrap: nowrap;  */
    }
}

li.hero-navigation-item {
    font-size: 1rem;
    display: flex;
    flex: 1;
    margin: 0;
    padding: 0;
    border-radius: 8px 8px 0px 0px;
    background-color: var(--color-oht-blue-light);
    height: 4em;
    transition: height .3s ease;
}

li.hero-navigation-item.active {
    background-color: var(--color-oht-blue-dark);
    height: 10em;
    transition: height .3s ease;
}

li.hero-navigation-item.active .hero-slide-description {
    display: block;
}

li.hero-navigation-item .hero-slide-description {
    display: none;
}

@media (max-width: 1024px) {
    li.hero-navigation-item {
        display: none;
    }
    li.hero-navigation-item.active {
        display: flex;
    }
}

a.hero-slide-button {
    display: flex;
    flex: 1;
    color: #ffffff !important;
    padding: 0.25em 2em;
    font-weight: 500;
    border-radius: 8px 8px 0px 0px;
    text-decoration: none !important;
    text-align: center;
    overflow: hidden;
}

span.hero-slide-title {
    font-size: 1.2em;
    display: block; 
    padding: 0rem;
    color: var(--White, #F2F2F2);
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    letter-spacing: 0.166rem;
    text-transform: uppercase;
    margin: 0;
}

.hero-slide-description {
    display: none;
    padding-top: 3px;
    margin: 0.5rem 0 0 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
}

a.hero-slide-button:hover > h2 {
    color: white !important;
}

/*************************************************************************************************/
/* END --> HERO SLIDER CAROUSEL --> TABBED NAVIGATION */
/*************************************************************************************************/

.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.005rem;
}

.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;
    margin-left: 6px;
}

.hero-carousel-control-prev,
.hero-carousel-control-next {
    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: scale(1.2);
}

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

.hero-navigation-controls {
    position: absolute;
    bottom: 10rem;
    z-index: 1;
    width: calc(100% - (var(--page-container-padding) * 2));
    left: var(--page-container-padding);
    margin-bottom: 2rem;
}

@media (min-width: 1600px) and (min-height: 830px) {
    .hero-text-overlay {
        bottom: 45%;
    }
}

@media (max-width: 1024px) {

    .hero-text-overlay {
        top: 0%;
        bottom: unset;
        left: 0%;
        max-width: 100% !important;
        margin-left: 0%;
        text-align: center;
        padding: 2rem 1rem;
    }
    .hero-navigation-title h1 {
        font-size: 3rem;
        padding: 0rem;
        margin-bottom: 0rem;
        margin-top: 0rem;
    }
    .hero-navigation-sub-title {
        padding: 0.25rem;
        font-size: 1rem;
    }
    .pagination-container .carousel-indicators {
        display: none;
    }

    .carousel-item img {
        height: calc(100vh - 105px);
    }

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

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

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

@media (max-width: 640px) {
    .hero-navigation-container {
        margin-top: 0.5rem;
    }
    .carousel.slide {
        height: calc(100svh - 103px);
    }
}

@media (max-width: 576px) {
    .hero-controls .play-button-overlay {
        padding: 0rem;
    }
    .hero-text-overlay {
        top: 0%;
        left: 0%;
        margin: 0%;
        padding: 1.5rem;
    }
    .hero-navigation-overlay {
        padding: 1rem;
    }
    .hero-navigation-title h1 {
        margin-bottom: 0.5rem;
        padding-bottom: 0rem;
        margin-top: 0rem;
        font-size: 2.5rem;
    }
    
    .hero-navigation-sub-title {
        font-size: 0.825rem;
        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;
    }
}

/*************************************************************************************************/
/* 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: -0.113625rem;
}

@media (max-width: 1024px) {
    .map-container h3 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .map-container h3 {
        font-size: 1.75rem;
    }
}

.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: 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, .property-content .content-block.h-75 .directory-card-image  {
    overflow: hidden;
    border-radius: 8px;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    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 h3 {
    font-size: 1.25rem !important;
    
}
.location-info h4, .location-info-cols h3 {
    font-size: 1rem !important;
    font-weight: 700 !important;
}

.location-info-row {
    border-color: var(--column-separator-rule);
}

.location-info-row-top {
    border-bottom: 1px solid;
    margin-bottom: 1.25rem;
}

.location-info-row-bottom {
    border-top: 1px solid;
    margin-top: 1.25rem;
    padding-top: 1rem;
}

.location-info-single-column > :last-child {
    margin-bottom: 0;
}

.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                                                                              */
/*************************************************************************************************/

.oht-accordion * {
    background-color: transparent !important;       
}

/* .accordion-without-bg {
    padding-top: 2rem;
    border-top: var(--column-separator-rule);
} */

.accordion-with-bg {
    padding-top: 4rem;
    padding-bottom: 4rem;
    background-color: var(--color-oht-gray-background-light);
}

.accordion-title h2,
.accordion-title h3  {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-family: var(--font-oht-serif-1);
}

.accordion-intro-text h3,
.accordion-intro-text h4,
.accordion-intro-text h5 {
    font-size: 1.75rem;
}

.accordion {
    --bs-accordion-border-radius: 0 !important;
    --bs-accordion-border-width: 0 !important;
}

.accordion-item {
    border-bottom: var(--column-separator-rule) !important;
    background-color: transparent !important;
}

.accordion-item:first-of-type {
    border-top: var(--column-separator-rule) !important;
}

.accordion-button { 
    font-size: 1.25rem !important;
    border: none !important;
    padding-left: 0;
}

.accordion-button h2,
.accordion-button h3,
.accordion-button h4 { 
    font-size: 1.5rem;
    margin-bottom: 0;
}

.accordion-button:not(.collapsed) {
    color: #000 !important;
    background-color: var(--color-oht-gray-background-light) !important;
}

.accordion-body {
    padding-top: 0;
    padding-left: 0;
}

.accordion-body h3,
.accordion-body h4,
.accordion-body h5 {
    font-size: 1.25rem;
}

/* for properties and plaques */
.accordion-light, .accordion-light.accordion-button:not(.collapsed) {
    background: #F7F8F9 !important;
}

.accordion-footnotes {
    font-size: .8rem;
    margin-top: 2rem;
}

.accordion-footnotes p:last-of-type {
    margin-bottom: 0;
}

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

.gallery-title-padding {
    padding-left: var(--page-container-padding);
}


.gallery-swiper {
    width: 100%;
    height: 100%;
    padding: 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.2);
    transition: transform 0.4s ease;
}

.swiper-button-next:not(active),
.swiper-button-prev:not(active) {
    transform: scale(1);
    transition: transform 0.4s 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;
    padding-bottom: 1rem;
}

.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: 0.0625rem;
}

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

.mobile-swipe-indicator.show-desktop {
    display: block;
}

.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 (min-width: 1600px) {
    .gallery-swiper {
        padding-bottom: 10%;
    }
}

@media (max-width: 1024px) {
    .swiper-button-next,
    .swiper-button-prev {
        width: 25px;
    }
}

@media (max-width: 768px) {
    .modal.fade .modal-dialog {
        max-width: 100%;
    }

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

    .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 {
        padding-bottom: 5%;
    }

}

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

.tab-items nav h2, .tab-items nav h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* .tab-items nav h3 {
    font-size: 1.25rem;
} */

.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: 0.125rem;
}


.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)                                                                     */
/*************************************************************************************************/

.figcaption-wrapper-with-underlay {
    pointer-events: none;
}

.figcaption-wrapper-with-underlay .photo-info {
    pointer-events: auto;
}

@media (max-width: 769px) {
    .twi img {
        width: 100%;
        height: 50vh;
    }
    .twi .figcaption-wrapper-with-underlay .photo-info .photo-caption {
        font-size: 0.75rem !important;
    }
    .twi .figcaption-wrapper-with-underlay .photo-info {
        left: 1rem;
    }

}

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

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

/* 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 */
/* -------------------------------------------- */


.touchpointEntrySwiper .swiper-slide {
    width: calc(33.333% - 20px) !important; /* For 3 slides with spacing */
    flex-shrink: 0;
}

@media (max-width: 1023px) {
    .touchpointEntrySwiper .swiper-slide {
        width: calc(50% - 15px) !important; /* For 2 slides with spacing */
    }
}

@media (max-width: 767px) {
    .touchpointEntrySwiper .swiper-slide {
        width: 100% !important; /* For 1 slide */
    }
}


.touchpointEntrySwiper .swiper-slide .h-100 {
    width: 100%;
    height: 100%;
}


.touchpoint-category-img {
    width: 100%;
    height: 315px;
    object-fit: cover;
    border-radius: 8px 8px 0px 0px;
}

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

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

.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: var(--page-container-padding);
}

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

.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 {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
}

.categories-next,
.categories-prev,
.touchpointItems-next,
.touchpointItems-prev,
.touchpointEntry-next,
.touchpointEntry-prev,
.relatedTouchpoints-next,
.relatedTouchpoints-prev {
    position: relative;
    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;
    flex-shrink: 0;
}

.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';
}

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

.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;
}

.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%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    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: 3em;
}

.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: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    max-height: 550px;
}

.exhibit-category-link {
    color: #737373 !important;
    text-transform: uppercase;
    font-size: 0.785rem;
    text-underline-offset: 0.3em;
    line-height: 150%; /* 21.205px */
    letter-spacing: 0.05em;
    border-right: 1px solid #737373;
    padding-left: 1em;
    padding-right: 1em;
}

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

.exhibit-category-link:last-child {
    border-right: none;
}

.exhibit-category-link:first-child {
    padding-left: 0;
}

.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 {
    text-decoration: none;
}

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

.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%;
}

form .form {
    margin-bottom: 1rem;
}


.required::after {
    content: "*";
    color: var(--color-oht-red);
    margin-left: 0.25rem;
}

.freeform-form-errors, .freeform-form-success {
   display: flex;
   justify-content: center;
   align-items: center;
   margin: 2em 0;
}

.freeform-form-errors {
	background-color: var(--color-oht-red);
    padding: 2em 1em;
    color: white;
    border-radius: 8px;
    font-size: 1.2rem;
}

.freeform-form-success {
    background-color: #4CAF50;
    padding: 1em 3em;
    color: white;
    border-radius: 8px;
    font-size: 1.2rem;
}

.freeform-form-success p, .freeform-form-errors p {
    margin-bottom: 0;
}


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

.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; 
}

/* -------------------------------------------- */
/* 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);
}

.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-image-details figcaption .photo-caption {
    color: #E0E0E0;
    font-weight: 400 !important;
    font-size: 0.9rem !important;
}

.directory-image-details figcaption .photo-credit {
    color: #AAA3A3;
    font-weight: 400 !important;
    font-size: 0.8rem !important;
}

.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;
}

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

.directory-card-content {
    height: 100%;
    border-left: 1px solid #757171;
    align-self: stretch;
    flex-shrink: 0; 
    margin-bottom: 3rem;
}

.directory-card-description a {
    color: var(--color-oht-red) !important;
}

.ewg.directory-card-description a {
    color: #FFF !important;
}

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

@media (max-width: 768px) {
    .directory-card-title {
        min-height: unset;
    }
}

.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: underline !important;
    text-underline-offset: 0.25rem;
}

.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; 
        row-gap: 1rem; 
    }

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

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

    .directory-card-image {
        height: auto;
    }

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

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

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

    .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: fit-content;
    max-width: 90%;
    position: absolute;
    bottom: 6%;
    left: 5%;
    background: rgba(255, 255, 255, 0.8);
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.15rem;
}

@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 */
/* -------------------------------------------- */

/* Portraits: Flex layout (replaces grid for this block) */
.portraits-flex-list {
    display: flex;
    flex-wrap: wrap;
    --portraits-gap: 4rem;
    gap: var(--portraits-gap);
    max-width: var(--page-container-max-width);
    margin: 0 auto;
    justify-content: flex-start;
    padding-left: var(--portraits-gap);
    padding-right: var(--portraits-gap);
}

.portraits-flex-list .content-block-grid-item-sm {
    flex: 0 0 calc((100% - 3 * var(--portraits-gap)) / 4);
    max-width: calc((100% - 3 * var(--portraits-gap)) / 4);
}

@media (max-width: 1200px) {
    .portraits-flex-list .content-block-grid-item-sm {
        flex: 0 0 calc((100% - 3 * var(--portraits-gap)) / 4);
        max-width: calc((100% - 3 * var(--portraits-gap)) / 4);
    }
}

@media (max-width: 1024px) {
    .portraits-flex-list {
        --portraits-gap: 1.5rem;
        padding-left: var(--portraits-gap);
        padding-right: var(--portraits-gap);
    }
    .portraits-flex-list .content-block-grid-item-sm {
        flex: 0 0 calc((100% - 2 * var(--portraits-gap)) / 3);
        max-width: calc((100% - 2 * var(--portraits-gap)) / 3);
    }
}

@media (max-width: 768px) {
    .portraits-flex-list .content-block-grid-item-sm {
        flex: 0 0 calc((100% - 1 * var(--portraits-gap)) / 2);
        max-width: calc((100% - 1 * var(--portraits-gap)) / 2);
    }
}

@media (max-width: 480px) {
    .portraits-flex-list {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}

/* Sponsors: Flex layout */
.sponsors-flex-list {
    display: flex;
    flex-wrap: wrap;
    --sponsors-gap: 2rem;
    gap: var(--sponsors-gap);
    max-width: var(--page-container-max-width);
    margin: 0 auto;
    justify-content: center;
    padding-left: var(--sponsors-gap);
    padding-right: var(--sponsors-gap);
}

.sponsors-flex-list .content-block-grid-item-lg {
    flex: 0 0 calc((100% - 4 * var(--sponsors-gap)) / 5);
    max-width: calc((100% - 4 * var(--sponsors-gap)) / 5);
    min-width: 200px;
}

/* Handle fewer sponsors */
.sponsors-flex-list .content-block-grid-item-lg:only-child {
    flex: 0 0 100%;
    max-width: 100%;
}

.sponsors-flex-list .content-block-grid-item-lg:first-child:nth-last-child(2),
.sponsors-flex-list .content-block-grid-item-lg:first-child:nth-last-child(2) ~ .content-block-grid-item-lg {
    flex: 0 0 calc((100% - 1 * var(--sponsors-gap)) / 2);
    max-width: calc((100% - 1 * var(--sponsors-gap)) / 2);
}

.sponsors-flex-list .content-block-grid-item-lg:first-child:nth-last-child(3),
.sponsors-flex-list .content-block-grid-item-lg:first-child:nth-last-child(3) ~ .content-block-grid-item-lg {
    flex: 0 0 calc((100% - 2 * var(--sponsors-gap)) / 3);
    max-width: calc((100% - 2 * var(--sponsors-gap)) / 3);
}

.sponsors-flex-list .content-block-grid-item-lg:first-child:nth-last-child(4),
.sponsors-flex-list .content-block-grid-item-lg:first-child:nth-last-child(4) ~ .content-block-grid-item-lg {
    flex: 0 0 calc((100% - 3 * var(--sponsors-gap)) / 4);
    max-width: calc((100% - 3 * var(--sponsors-gap)) / 4);
}

@media (max-width: 1024px) {
    .sponsors-flex-list .content-block-grid-item-lg {
        flex: 0 0 calc((100% - 3 * var(--sponsors-gap)) / 4);
        max-width: calc((100% - 3 * var(--sponsors-gap)) / 4);
    }
    
    .sponsors-flex-list .content-block-grid-item-lg:first-child:nth-last-child(2),
    .sponsors-flex-list .content-block-grid-item-lg:first-child:nth-last-child(2) ~ .content-block-grid-item-lg {
        flex: 0 0 calc((100% - 1 * var(--sponsors-gap)) / 2);
        max-width: calc((100% - 1 * var(--sponsors-gap)) / 2);
    }
    
    .sponsors-flex-list .content-block-grid-item-lg:first-child:nth-last-child(3),
    .sponsors-flex-list .content-block-grid-item-lg:first-child:nth-last-child(3) ~ .content-block-grid-item-lg {
        flex: 0 0 calc((100% - 2 * var(--sponsors-gap)) / 3);
        max-width: calc((100% - 2 * var(--sponsors-gap)) / 3);
    }
}

@media (max-width: 768px) {
    .sponsors-flex-list .content-block-grid-item-lg {
        flex: 0 0 calc((100% - 1 * var(--sponsors-gap)) / 2);
        max-width: calc((100% - 1 * var(--sponsors-gap)) / 2);
    }

}

.content-block-title {
    color: #000;
    text-align: center;
    font-size: 2.8rem;
    font-style: normal;
    font-weight: 600;
    line-height: 106%;
}

.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;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .content-block-title {
        font-size: 2rem;
        line-height: 1.2;
    }
}

.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-item-lg {
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .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 {
    margin: 0 auto;
    padding: 2rem 4rem;
    overflow: hidden;
    max-width: calc( var(--page-container-max-width) * 0.6);
}

.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: static;
    margin: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #000;
    flex-shrink: 0;
}

.hovercard-container .swiper-button-next:hover,
.hovercard-container .swiper-button-prev:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Navigation container for hovercard buttons */
.hovercard-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.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: 97% !important; 
    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: 150% !important; 
    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;
    }
}

@media (max-width: 1024px) {
    .hoverCardSwiper {
        padding: 6rem 0.5rem;
    }
    .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;
    }
    .hoverCardSwiper {
        padding: 3rem 0.5rem 6rem 0.5rem;

    }
}

@media (max-width: 768px) {
    .hoverCardSwiper {
        padding: 3rem 0.5rem 3rem 0.5rem;
    }
}


/*
@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-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}


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

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

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

.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-title {
    text-align: center;
    font-size: 0.785rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; 
    letter-spacing: 0.188rem;
    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,
.heritage-wall-item a:focus .heritage-wall-overlay,
.heritage-wall-item a:focus .heritage-wall-overlay-title,
.heritage-wall-item a:focus .heritage-wall-overlay-text,
.heritage-wall-item a:focus .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-reel.play-button-overlay:hover {

    transform: scale(1.1) !important;
}

.media-reel.play-button-overlay:not(:hover) {
    transform: scale(1) !important;
}

.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 {
    padding: 1rem;
    background: #0000002b;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease;
    z-index: 3;
}

.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;
    min-height: 2.5em;
}

.card-body-tags {
    padding: 0.5rem 0rem 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: 116%;
    letter-spacing: -1.5px;
}

@media (max-width: 425px) {
    .tag-header {
        font-size: 2.25rem;
    }
}

.tag-filter-button {
    background-color: rgb(242, 242, 239);
    border-radius: 0px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    line-height: 125%;
    min-width: 10rem;
    gap: 3rem;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    
}

.dropdown-menu.dropdown-filter-menu {
    height: 400px; 
    overflow-y: auto;
}

.dropdown-filter-menu {
    position: absolute;
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    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;
    text-decoration: none;
}

.dropdown-filter-menu .dropdown-item {
    display: block;
    padding: 8px 12px;
    color: #374151;
    text-decoration: none;
    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.active{
    background-color: rgb(242, 242, 239) !important; 
    border-color: transparent !important;
    outline: none !important;
    box-shadow: none !important;
}

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

.negate-page-container-padding {
    margin-top: -3rem !important;
}

.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;
}

.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;
}

.ewg-alert-text > p:last-child {
    margin-bottom: 0;
}

.event-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.5rem;
    animation: flash-dot 1.5s ease-in-out infinite;
}

@keyframes flash-dot {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
    50% {
        opacity: 0.6;
        box-shadow: 0 0 8px 2px rgba(255, 255, 255, 0.6);
    }
}

/* 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 {
    border-right: 1px solid #B1B1B1;
    margin: 0 1rem 0 0;
    display: inline-block;
    padding-right: 1rem;
}

.ewg-header-text {
    color: #020202;
    font-size: 11.2px;
    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;
}

@media (max-width: 1024px) {
    header.global-header a img {
        height: 40px;
        width: auto;
    }
    .ewg-header-text {
        font-size: 7px;
    }
}

@media (max-width: 375px) {
    .ewg-header-text {
        font-size: 5.5px;
    }
    header.global-header a img {
        height: 25px;
        width: auto;
    }
}

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

@media (max-width: 425px) {
    .ewg-footer-Logo {
        width: 75%;
        height: auto;
    }
}

.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: -0.0625rem;
}

.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;
}

@media (min-width: 1440px) and (max-width: 1920px) and (min-height: 900px) and (max-height: 1200px) {
    .ewg-hero-item {
        max-height: 550px; 
        height: 550px;
    }
}

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

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

.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: 2.5rem;
    line-height: 83%;
}

.ewg-hero-description {
    color: #FFF;
}

.ewg-hero-description > p > a {
    color: #FFCC08 !important;
}

@media (min-width: 1600px) {
    .ewg-hero-description {
        font-size: 0.85rem;
    }
}

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

.ewg-hero-date {
    color: #FFF;
    font-size: 1.3rem;
    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: 245px;
    position: absolute; 
    bottom: -20%;
    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));
}

@media (max-width: 425px) {
    .ewg-upcoming-events-header-logo {
        bottom: 0%;
    }
}

.ewg-hero-carousel {
    position: relative;
    z-index: 2;
    height: 100% !important;
}

.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;
    margin-bottom: 0.5em;
}

.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: 144%;
    letter-spacing: -0.01em;
}

@media (min-width: 1600px) {
    .ewg-upcoming-events-description {
        font-size: 1rem;
        line-height: 120%;
    }
}

.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: 0.0625rem;
}

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


@media (max-width: 1024px) {
    .ewg-background-image-container, .ewg-background-image {
        height: 100vh;
    }
}

@media (max-width: 768px) {
    .ewg-logo-secondary {
        padding: 2rem 4rem 2rem 0;
        margin-top: 1rem;
    }
    .ewg-info-header {
        align-items: start !important;
    }
    .ewg-info-header h3 {
        font-size: 3rem;
        line-height: normal;
    }
    .ewg-info-column-image {
        width: 25px;
        height: 22.75px;
    }
    .ewg-info-column-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 425px) {
    .ewg-logo-secondary {
        padding: 1rem 4rem 2rem 0;
        margin-top: 0rem;
    }
}

.ewg-footer-title {
    color: #FFF;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 160%; /* 22.4px */
    letter-spacing: 0.0625rem;
    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: 0.0625rem;
    text-transform: uppercase;
}

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

@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;
    }
}

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

.page-container .remove-container-pt {
    margin-top: -3rem !important;
}

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

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

/* parent/child page navigation */

.related-navigation figure > a > img {
    max-height: 400px;
    width: 100%;
}

.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: 0.5em;
    right: 0.25em;
    display: flex;
    gap: 0.75em;
    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: 225px !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: 767.98px) {
    .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                                                                                      */
/*************************************************************************************************/

.event-tooltip {
    position: absolute;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    min-width: 250px;
    max-width: 350px;
    pointer-events: none;
}

.event-tooltip-event {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.event-tooltip-event:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.event-tooltip-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    color: #212121;
}

.event-tooltip-time,
.event-tooltip-location {
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
}

.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-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: -0.125rem;
    width: 50%;
}

.calendar-date-heading {
    color: #750F1D;
    margin-left: 0.5rem;
    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: 0.5rem;
    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: 0.7rem;
    text-align: right;
    font-weight: normal;
    background-color: #fff;
    border-top: 1px solid #7C797A;
    border-bottom: 1px solid #7C797A;
}

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

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

.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: 4.5rem;
}

.day-event {
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.1rem;
    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;

}

@media (min-width: 1600px) {
    .event-title {
        font-size: 0.85rem;
    }
}

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

.date-picker-date {
    padding: 0 1rem;
    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: 0.5rem 1rem;
    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 (min-width: 1024px) {
    .ewg-button-secondary, .ewg-button-primary {
        padding: 1rem 1.25rem !important;
    }
}

@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.015em;
}

.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;
}

@media (max-width: 768px) {
    .event-header h1, .ewg-page-title h1 {
        font-size: 2rem !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-sm, .event-icon-large, .event-icon {
    object-fit: contain;
}

.event-icon-sm {
    width: 20px;
    height: 20px;
}

.event-icon {
    width: 40px;
    height: 40px;
}

.event-icon-large {
    width: 60px;
    height: 60px;
}

.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%;
}

.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));
}


@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;
    }
    .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 {
    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;
}

.toggle-list {
    text-decoration: none;
}

.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: 0.0625rem;
}
#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;
}

#search-input {
    border-radius: 5px 0 0 5px !important;
}

@media (max-width: 767.98px) {
    #search-input {
        border-radius: 5px !important;
    }
}

.form input, .form-control {
	width: 100%;
	padding: 1rem 0 1rem 0;
	padding-left: 1rem;
    margin-bottom: 1rem;
    display: block;
    border: var(--bs-border-width) solid black;
}

/* Radio buttons and checkboxes - consolidated styling */
input[type="radio"], 
input[type="checkbox"],
input[type="radio"].form-control,
input[type="checkbox"].form-control {
    width: 16px !important;
    height: 16px !important;
    opacity: 1 !important;
    position: static !important;
    display: inline-block !important;
    margin-right: 0.5rem !important;
    vertical-align: middle !important;
    cursor: pointer !important;
    border: 2px solid #000 !important;
    padding: 0 !important;
    background: white !important;
    appearance: auto !important;
    -webkit-appearance: auto !important;
    -moz-appearance: auto !important;
    line-height: normal !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Shape differences */
input[type="radio"],
input[type="radio"].form-control {
    border-radius: 50% !important;
}

input[type="checkbox"],
input[type="checkbox"].form-control {
    border-radius: 2px !important;
}

/* Checked state styling */
input[type="radio"]:checked,
input[type="checkbox"]:checked {
    accent-color: var(--color-oht-red) !important;
}

/* Clickable labels */
label {
    cursor: pointer;
}

.form-check-label {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

/* Simplified form layout - only what's needed */
.freeform-field-radios,
.freeform-field-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.freeform-label.freeform-required, .freeform-label {
    padding-bottom: 0.5rem;
    font-size: 1.25rem;
}
    
.freeform-field-checkboxes input {
    margin-top: 0.6rem;
}

.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);
}

@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 {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 768px) {
    #fields-heritage_functions-field-dd, #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 */
/*************************************************************************************************/

.hm-header-logo {
    width: auto;
    height: 60px;
}

@media (min-width: 1024px) and (max-width: 1200px) {
    .hm-header-logo {
        height: 45px;
    }
}

@media (max-width: 425px) {
    .hm-header-logo {
        height: 30px;
    }
    /* .logo-divider {
        height: 45px;
        margin: 0px 15px 0;
    } */
}

@media (max-width: 350px) {
    .hm-header-logo {
        height: 22.5px;
    }
}


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: 0.125rem;
    margin-top: 1em;
  }
  .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 {
    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: 0.0625rem;
  }
  .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: 0.25rem;
  }
  
  .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: 0.25rem;
  }
  .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 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: 0.25rem;
  }
  .author {
    font-weight: 800;
    text-underline-offset: 0.25em;
    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;
    
  }
  
  .author a {
    text-decoration: none;
  }

  /* ------------------------------
  SLIDE OUT MESSAGE
  ------------------------------ */
  
  .slideOutMessageToggle {
    position: fixed;
    left: -4.5em;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    z-index: 1000;
    
  }

  .slideOutMessageToggle .slideOutMessageToggleText {
    background-color: black;
    border: 1px solid black;
    color: white;
    padding: 0.5em 1.5em;
    text-align: center;  
    text-transform: uppercase;
    font-size: 1em;
    cursor: pointer;
  }

  .slideOutMessageToggle .slideOutMessageToggleText:hover {
    background-color: white;
    color: black;
    transition: 0.5s;
  }

  .slideOutMessageToggle .slideOutMessageToggleText:not(:hover) {
    background-color: black;
    color: white;
    transition: 0.5s;
  }

  .slideOutMessageToggle .closeEditorMessage {
    display: none;
  }
  .slideOutMessageContainer {
    position: fixed;
    background-color: #000000;
    padding: 11em 15em;
    overflow-y: auto;
    top: 0em;
    left: 0em;
    width: 100%;
    min-height: 100vh;
    height: 100%;
    z-index: 1001;
    transform: translateX(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.5s ease, opacity 0.3s ease;
  }

  .slideIn {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  .slideOut {
    transform: translateX(-100%);
    opacity: 0;
    pointer-events: none;
  }

  .slideOutMessageContainer .message {
    padding: 0em 4em;
  }
  .slideOutMessageContainer .messageImage {
    width: 100%;
    max-width: 40em;
    margin: 0 auto 2em auto;
    display: block;
  }
  .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: 25%;
    transition: 0.2s;
    cursor: pointer;
  }
  .slideOutMessageContainer img.closeSlideOut:hover {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    -webkit-transition: 0.5s;
    transition: 0.5s;
  }
  .slideOutMessageContainer h1 {
    color: var(--color-oht-gray-background-light);
    font-weight: 700;
    font-size: 6em;
    text-transform: uppercase;
  }
  .slideOutMessageContainer p.heading2 {
    color: white;
    font-size: 3em;
  }
  .slideOutMessageContainer p.heading3 {
    font-size: 3em;
    line-height: 110%;
  }
  .slideOutMessageContainer p {
    
    font-size: 1.125em;
    color: white;
  }

  @media (max-width: 1024px) {
    .slideOutMessageContainer {
        padding: 11em 0em;
    }
    .slideOutMessageContainer h1 {
        font-size: 4em;
    }
    .slideOutMessageContainer p.heading2, .slideOutMessageContainer p.heading3 {
        font-size: 2em;
    }
  }

  @media (max-width: 768px) {
    .slideOutMessageContainer .closeSlideOut {
        top: 11%;
    }
  }
  
  .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: 0.188rem;
  }
  .hm-about-the-author {
    border-left: 1px solid #cccccc;
  }
  
  .contributorPortrait {
    max-width: 100%;
    padding-left: var(--padding-between-cards);
  }
  
  span.author,
  div.author {
    font-weight: 800;
    border-bottom: 1px solid red;
    display: inline;
    font-size: 1.1em;
  }
  .hm-about-the-author .author a:hover {
      color: red;
  }
  
  .hm-about-the-author .title {
      font-size: 1em;
      margin-bottom: 0.3em;
      text-transform: uppercase;
  }
  
  .hm-about-the-author h2, .hm-about-the-author 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: 0.125rem;
  }
  .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: 0.0625rem; 
  }
  .category-content-wrapper form button:hover {
    color: red;
  }
  
  #category-content {
    border-left: var(--column-separator-rule);
    margin-bottom: var(--padding-between-cards);
  }
  
  .border-left {
    border-left: var(--column-separator-rule);
  }
  
  .pageWrapper {
    padding-top: 10em;
  }
  
  
  
  
  
  
  /* STYLES SCOPED TO HM ARTICLES */
  .hm-article:first-child {
    margin-top: 0rem;
  }
  @media (max-width: 1200px) {
    .hm-meta.order-1.order-sm-12.col-lg-12.col-xl-2.no-padding.border-right {
        border-right: none;
    }
  }
  .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;
  }
  .hm-article img.contributorPortrait {
    max-width: 100%;
  }
  .hm-article .hm-about-the-author {
      position: relative;
  }
  .hm-monogram {
    display: flex;
    width: 25%;
    margin-top: 3em;
  }
  @media (max-width: 1200px) {
    .hm-monogram {
      max-width: 5rem;
      margin-top: 1em;
      margin-bottom: 1em;
    }
  }
  .hm-article .hm-about-the-author img {
      width: 80%;
      margin-bottom: 2em;
      margin: auto;
      display: block;
  }
  @media (max-width: 1200px) {
    .hm-article .hm-about-the-author img {
      width: 25%;
      margin: unset;
    }
    .hm-about-the-author {
        margin-left: calc(var(--bs-gutter-x) * .5);
        margin-top: 1em;
        margin-bottom: 1em;
    }
  }


  .hm-article .hm-about-the-author .hm-meta {
    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 .hm-about-the-author .hm-meta span.author { 
    font-weight: 800;
    border-bottom: 1px solid red;
    display: block;
  }
  .hm-article .hm-about-the-author .hm-meta span.author a {
    color: black;
  }
  .hm-article .hm-about-the-author .hm-meta span.author a:hover {
      color: #ac162c;
  }
  .hm-article .hm-about-the-author .hm-meta span.title {
    font-size: 0.875rem;
    text-transform: uppercase;
    display: block;
  }
  .hm-article .hm-about-the-author .hm-meta 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 .author-mobile {
      display: block;
      margin-bottom: 1em;
      text-align: center;
    }
    .hm-article .hm-meta-author::before {
      height: 2px;
    }
    .hm-article img.contributorPortrait {
      max-width: 50%;
      display: none;
    }
    .hm-article .hm-about-the-author:first-of-type {
      display: none;
    }
    .hm-article .hm-about-the-author p {
      font-size: 1em;
    }
  
    .hm-article .hm-about-the-author .hm-meta {
      
      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 .hm-about-the-author .hm-meta span.author, .hm-article .hm-about-the-author .hm-meta span.title {
      font-size: 1.5em;
    }
    .hm-article .hm-about-the-author .hm-meta p {
      margin-top: 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)
  }
  
  
  .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: 30vh;
    }
  
    .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;
      
    }
    .slideOutMessageContainer {
        padding: 6em 0em;
    }
  
    .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: 1.4em;
  }
  
    .contentWrapper .oht-logo img {
      display: none;
    }
    
    .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 (max-width: 425px) {
    .image-slide {
      max-height: 32vh;
    }
  }
  
  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;
  }
  
  
  .hm-header .hm-floating-block {
    float:left;
    margin-right: 2% !important;
    margin-bottom: 1rem;
  }
  
  /* Ensures no space above the first element */
  article .hm-header .hm-intro > :first-child {
    margin-top: 0em !important;
  }
  
  /* Ensures no space below the last element */
  article .hm-header .hm-intro > :last-child {
    margin-bottom: 0em !important;
  }
  /* --------------------- */
  
  .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: 3.5rem;
    border-right: var(--column-separator-rule);
  }
  
  .preview.count-3,
  .preview.count-4 {
    padding-bottom: 0;
  }
  
  .preview p {
    font-size: 1.25rem; 
    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: 0.188rem;
    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.6rem; 
    font-weight: 600;
    margin-bottom: 1em;
    margin-top: 1.5rem;
    color: #000000;
  }

  .latest-features-large .preview h2.title {
    font-size: 1.25em;
    font-weight: 700;
    margin-bottom: 0.5em;
    margin-top: 1.5em;
    color: #000000;
  }

  @media (max-width: 768px) {
    .preview h2.title {
        font-size: 1.25em;
    }
  }
  
  .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;
  }
  
  .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: 3rem;
    margin-bottom: 1rem;
  }

  .hm-sliding-banner .body-slide .slide-content .slide-body {
    font-size: 1.2rem;
    margin-bottom: 2rem;
  }

  @media (max-width: 1024px) {
    .hm-sliding-banner .body-slide .slide-content .slide-title h2 {
        font-size: 2.5rem;
    }
    .nameplate-link {
        width: 35%;
    }
    .hm-sliding-banner .body-slide .slide-content .slide-body {
        font-size: 1em;
    }
  }

  @media (max-width: 768px) {
    .nameplate-link {
        width: 55%;
    }
    .hm-sliding-banner {
        height: auto;
    }
    .hm-sliding-banner .body-slide {
      height: auto !important;
    }
    .hm-sliding-banner .body-slide .slide-content {
      position: relative;
      right: 0;
      left: 0;
      min-height: 50vh;
    }
    .hm-sliding-banner .body-slide .slide-content .slide-title h2 {
        font-size: 1.5rem;
    }
    .hm-sliding-banner .body-slide .slide-content .slide-body {
        font-size: 0.875rem;
    }
    .slideOutMessageToggle {
        left: -4em;
    }
    .slideOutMessageToggle .slideOutMessageToggleText {
        font-size: 0.875rem;
    }
    .slideOutMessageToggle {
        top: 25%;
    }
  }

  @media (max-width: 425px) {
    .slideOutMessageToggle {
        left: -3em;
    }
    .slideOutMessageToggleText {
        font-size: 0.675rem !important;
    }
  }

  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: 0.125rem;
    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);
  }

  @media (max-width: 768px) {
    .hm-sliding-banner nav {
        bottom: 4%;
    }
  }
  
  .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 {
    height: 100%;
    border-radius: 0;
  }
  
  /* 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-image-wrapper > figure {
    border-radius: 0 !important;
}

  @media (max-width: 768px) {
    .hm-cta-content {
        padding: 6%;
    }

    .hm-cta-content h1 {
        font-size: 2em;
    }

    .hm-cta-content-text {
        margin-bottom: 1.5em;
      }
  }
  
  /* 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 */
  /* ---------------------------------------------------------------- */
  
  /* CONTRIBUTOR BLURB */
  
  .hm-meta-date {
      position: relative;
      /*  */
      font-weight: 400;
      color: #4a4a4a;
      font-size: 0.875rem;
      padding-left: 0em;
      padding-right: 0em;
      margin-bottom: 0em !important;
    }
    
    .hm-meta-category {
      margin-top: 1em;
      font-size: .8rem;
    }
    
    .hm-meta-author {
      display: inline-block;
      text-underline-offset: 0.15em;
    }
    .hm-meta-author::before {
      background-color: black;
      content: "";
      display: inline-block;
      height: 3px;
      position: relative;
      vertical-align: middle;
      width: 25px;
  }
    /* NEXT AND PREVIOUS BUTTONS */
  
  .hm-next-article, .hm-prev-article {
    position: fixed;
    top: 50%;
    text-transform: uppercase;
    letter-spacing: 0.25rem;
    font-size: 1em;
    color: black;
    padding: 1em;
    background: #FFF;
    background-color: transparent;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 3;
  }
  
  .hm-next-article {
    transform: rotate(90deg) translateX(-50%) translateY(-50%);
    transform-origin: center center;
    right: clamp(-14%, -3% - (1024px - 100vw) * 0.015, 1%);
    opacity: 0.8;
    text-underline-offset: 0.25em;
  }
  .hm-prev-article {
    transform: rotate(-90deg) translateX(50%) translateY(-50%);
    transform-origin: center center;
    left: clamp(-22%, -5% - (1024px - 100vw) * 0.025, 1%);
    opacity: 0.8;
    text-underline-offset: 0.25em;
  }
  @media (max-width: 768px) {
    .hm-next-article {
      right: -6%;
    }
    .hm-prev-article {
      left: -9%;
    }
  }
  @media (max-width: 425px) {
    .hm-next-article {
        right: -10%;    
    }
    .hm-prev-article {
        left: -16%;
    }
  }
  @media (max-width: 375px) {
    .hm-next-article {
        right: -12%;    
    }
    .hm-prev-article {
        left: -18.5%;
    }
  }
  @media (max-width: 325px) {
    .hm-next-article {
        right: -14%;    
    }
    .hm-prev-article {
        left: -22%;
    }
  }
  .hm-next-article:hover, 
  .hm-prev-article:hover {
    background-color: black;
    color: white;
  }

  /* Hidden state for navigation buttons */
  .hm-next-article.hm-nav-hidden, 
  .hm-prev-article.hm-nav-hidden {
    opacity: 0;
    pointer-events: none;
  }
  
  /* ---------------------------------------------------------------- */
  /* Photos */
  /* ---------------------------------------------------------------- */
  
  .photo-info {
    border-left: 1px solid red;
    padding: .5em 1em .5em 1em;
    margin-top: 1rem;
  }
  
  .hm-sliding-banner-wrapper .photo-info {
    color: white;
    border-color: white;
  }
  
  .photo-caption {
    font-size: 0.875rem !important;
  }
  .photo-credit {
      font-size: 0.75rem !important;
  }
  .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-floating-block {
      width: 49%;
      overflow: hidden;
  }
  
  .hanging-image-with-content figure {
      margin-top: 1rem !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;
  }
    
  @media (min-width: 576px) {
      .photo-stack-photos {
          column-count: 1;
      }
  }
    
  @media (min-width: 768px) {
      .photo-stack-photos {
          column-count: 2;
      }
  }
  
  .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;
    }


/* HM Category youtube style .category-chips */
.category-chips-container {
    position: relative;
    margin: 1rem 0;
}

.category-chips-wrapper {
    position: relative;
    overflow: hidden;
}

.category-chips {
    scrollbar-width: thin; 
    -ms-overflow-style: auto;
}

.category-chips::-webkit-scrollbar {
    height: 8px;
}

.category-chips::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.category-chips::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.category-chips::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Category scroll arrows */
.category-scroll-arrow {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #d1d5db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #374151;
    font-size: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.category-scroll-arrow:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
    color: #111827;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.category-scroll-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.category-scroll-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f9fafb;
}

.category-scroll-arrow:disabled:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    color: #6b7280;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.category-chip {
    background: #fff;
    border: 1px solid #d1d5db;
    color: #374151;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 50rem;
    font-size: 0.875rem;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.category-chip:hover {
    background-color: #f3f4f6;
    border-color: #9ca3af;
    color: #111827 !important;
}

.category-chip.active {
    background-color: #000;
    color: #fff !important;
    border-color: #000;
}

.category-chip.active:hover {
    background-color: #374151;
    border-color: #374151;
}

/* Articles container styles */
.articles-container {
    min-height: 200px;
}

.article-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-card img {
    max-height: 275px;
    object-fit: cover;
}

.article-card .card-img-container {
    overflow: hidden;
    height: 275px; 
    width: 100%;
}

.article-card .card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}