body.single-sc_event .site-main,
body.single-sc_event .page-content {
    max-width: 100% !important;
    width: 100% !important;
    background-color: #fff5eb;
    padding: 0 !important;
    margin: 0;
    h1, h2, h3, h4, h5, h6 {
        font-family: 'Lora', serif;
        font-weight: 500;
        line-height: 110%;
        letter-spacing: -0.02em;
    }
}



hr.wp-block-separator {
    margin: 40px 0;
    padding: 0;
    height: 0;
    min-height: 0;
    width: 100%;
    border: none;
    border-top: 2px solid rgba(24, 37, 28, 0.25);
    opacity: 1;
}

.custom-hero-container {
    display: flex;
    flex-direction: column-reverse;
    width: 100%;
    background-color: #18251c;
}

@media (min-width: 1024px) {
    .custom-hero-container {
        flex-direction: row;
        min-height: 500px;
    }
}

.custom-hero-image-side {
    width: 100%;
    position: relative;
    background-color: #18251c;
    max-height: 300px;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .custom-hero-image-side {
        width: 60%;
        max-height: none;
    }
}

.custom-hero-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (min-width: 1024px) {
    .custom-hero-image-side img {
        position: absolute;
        top: 0;
        left: 0;
    }
}

.custom-hero-content-side {
    width: 100%;
    padding: 32px 12px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 1024px) {
    .custom-hero-content-side {
        width: 40%;
        padding: 50px;
    }
}

.custom-hero-content-side .custom-hero-title {
    font-family: 'Lora', serif;
    font-weight: 500;
    line-height: 110%;
    letter-spacing: -0.02em;
    color: #ffffff;
    font-size: 32px !important;
    margin: 0 0 12px 0;
}

@media (min-width: 1024px) {
    .custom-hero-content-side .custom-hero-title {
        font-size: 42px !important;
    }
}

.custom-hero-content-side .custom-hero-meta {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: start;
}

.custom-hero-content-side .custom-hero-meta,
.custom-hero-content-side .custom-hero-meta * {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    line-height: 140%;
    letter-spacing: 0em;
    color: #ffffff;
    font-size: 12px;
}
.custom-hero-content-side .custom-hero-meta .custom-meta-location a:hover{
    text-decoration: underline;
}

@media (min-width: 1024px) {
    .custom-hero-content-side .custom-hero-meta,
    .custom-hero-content-side .custom-hero-meta * {
        font-size: 14px;
    }
}
.custom-hero-content-side .custom-hero-btn{
    background-color: #FFF5EC;
}.custom-hero-content-side .custom-hero-btn:hover{
    background-color: #fffaef;
}

.custom-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #d2c174;
    color: #18251C;
    font-weight: 600;
    font-size: 12px;
    padding: 0px 18px 0px 11px;
    border-radius: 100px;
    text-decoration: none;
    transition: background-color 0.2s ease-in-out;
    border: none;
    cursor: pointer;
    width: max-content;
    text-transform: uppercase;
    letter-spacing: 10%;
    line-height: 100%;
}

.custom-hero-btn:hover {
    background-color: #d9ca89;
}

.custom-hero-back-link {
    align-self: flex-start;
    margin-bottom: 24px;
    text-decoration: none;
    color: #ffffff !important;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
}

.custom-hero-description {
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    line-height: 150%;
    margin: 0 0 16px 0;
    max-width: 90%;
    font-size: 12px;
}

@media (min-width: 1024px) {
    .custom-hero-description {
        font-size: 14px;
    }
    .custom-desktop-cta-section .custom-hero-description{
        max-width: 40%;
    }
}

.diagnostic-container {
    width: 100%;
    padding: 36px 12px;
    box-sizing: border-box;
    background-color: #fff5eb;
    gap: 12px;
    display: flex;
    justify-content: start;
    flex-direction: column;
    align-items: start;
}

.diagnostic-container h1, .diagnostic-container h2, .diagnostic-container h3, .diagnostic-container h4, .diagnostic-container h5, .diagnostic-container h6 {
    font-size: 32px !important;
}

@media (min-width: 1024px) {
    .diagnostic-container {
        padding: 72px 50px;
    }
    .diagnostic-container h1, .diagnostic-container h2, .diagnostic-container h3, .diagnostic-container h4, .diagnostic-container h5, .diagnostic-container h6 {
        font-size: 28px !important;
    }
}

.diagnostic-container > div:not(.elementor-widget-icon-list) {
    max-width: 60%;
    margin-bottom: 0px;
}

.diagnostic-container .elementor-element {
    margin-bottom: 0;
    padding-bottom: 0;
}

.diagnostic-container .elementor-widget-container {
    margin: 0;
    padding: 0;
}

.diagnostic-container .elementor-widget-heading {
    margin-top: 0;
}

.diagnostic-container p, 
.diagnostic-container span, 
.diagnostic-container time, 
.diagnostic-container li {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: 0em;
    color: #18251C;
    margin:0px;

}

@media (min-width: 1024px) {
    .diagnostic-container p, .diagnostic-container h2 {
        max-width: 50%;
    }
}

.diagnostic-container h1, 
.diagnostic-container h2, 
.diagnostic-container h3, 
.diagnostic-container h4, 
.diagnostic-container h5, 
.diagnostic-container h6, 
.diagnostic-container .heading-title {
    color: #18251C;
    margin: 0;
    padding: 0;
    font-family: 'Lora', serif;
}

.diagnostic-container h3.heading-title {
    margin-bottom: 16px;
}

.diagnostic-container ul {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.diagnostic-container p:empty,
.diagnostic-container .elementor-widget-container > p:only-child:has(strong:empty) {
    display: none;
}

.diagnostic-container .elementor-widget-icon-list {
    margin: 26px 0 40px 0;
    padding: 0;
    height: auto;
    min-height: 0;
    width: 100%;
    border-top: 2px solid rgba(24, 37, 28, 0.25);
}

.diagnostic-container .elementor-widget-icon-list .e-con,
.diagnostic-container .elementor-widget-icon-list .e-con-inner,
.diagnostic-container .elementor-widget-icon-list .elementor-widget-container,
.diagnostic-container .elementor-widget-icon-list .jeg-elementor-kit {
    margin: 0;
    padding: 0;
    height: 0;
    min-height: 0;
    display: none;
}

.diagnostic-container .jeg-elementor-kit.jkit-icon-box p {
    margin: 0;
    padding: 0;
    line-height: 0;
}

.diagnostic-container figure.wp-block-gallery {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    gap: 24px;
    width: 100% !important;
    margin: 24px 0 0 0;
    padding: 0;
}

@media (min-width: 768px) {
    .diagnostic-container figure.wp-block-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

.diagnostic-container figure.wp-block-gallery figure.wp-block-image {
    display: block;
    width: 100% !important;
    margin: 0;
}

.diagnostic-container figure.wp-block-gallery figure.wp-block-image img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 3px;
}

.diagnostic-container figure.wp-block-gallery figcaption.wp-element-caption,
.diagnostic-container figure.wp-block-gallery > p {
    display: none;
}

.custom-desktop-cta-section {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
    background-color: #18251c;
    box-sizing: border-box;
}

.custom-desktop-cta-section::before {
    content: "";
    display: block;
    width: 100%;
    height: 300px;
    max-height: 300px;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    order: 1;
}

@media (min-width: 1024px) {
    .custom-desktop-cta-section {
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    
    .custom-desktop-cta-section::before {
        display: none;
    }
}

.custom-desktop-cta-overlay {
    width: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.75) 25.31%, rgba(0, 0, 0, 0) 74.14%), transparent;
    padding: 32px 12px 42px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    order: 2;
}

@media (min-width: 1024px) {
    .custom-desktop-cta-overlay {
        padding: 160px 48px 60px 48px;
        justify-content: flex-start;
    }
}

@media (max-width: 1023px) {
    .custom-desktop-cta-overlay {
        background: #fff5ec;
    }

    .custom-desktop-cta-section .custom-desktop-cta-inner p,
    .custom-desktop-cta-section .custom-desktop-cta-inner h2,
    .custom-desktop-cta-section .custom-desktop-cta-inner span,
    .custom-desktop-cta-section .custom-desktop-cta-subtitle,
    .custom-desktop-cta-section .custom-desktop-cta-title,
    .custom-desktop-cta-section .custom-hero-description {
        color: #18251c !important;
    }
}

.custom-desktop-cta-inner {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 1024px) {
    .custom-desktop-cta-inner {
        gap: 8px;
    }
}

.custom-desktop-cta-inner p, 
.custom-desktop-cta-inner h2, 
.custom-desktop-cta-inner span {
    color: #ffffff !important;
}

.custom-desktop-cta-subtitle {
    display: block;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    line-height: 140%;
    letter-spacing: 0.05em;
    font-size: 12px;
}

@media (min-width: 1024px) {
    .custom-desktop-cta-subtitle {
        font-size: 14px;
    }
}

.custom-desktop-cta-title {
    margin: 0;
    margin-bottom: 4px;
    font-size: 28px;
    font-family: 'Lora', serif;
    font-weight: 500;
    line-height: 110%;
    letter-spacing: -0.02em;
}

@media (min-width: 1024px) {
    .custom-desktop-cta-title {
        max-width: 40%;
        font-size: 36px !important;
        margin-bottom: 0px;
    }
}

.custom-desktop-cta-buttons {
    display: flex;
    flex-direction: row;
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 1024px) {
    .custom-desktop-cta-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        width: auto;
    }
}

.custom-desktop-cta-buttons .custom-hero-btn {
    flex: 1;
    width: 100%;
    max-width: 100%;
    padding: 12px 24px;
    height: auto;
    font-size: 12px;
    letter-spacing: 0.02em;
    box-sizing: border-box;
    text-align: center;
}

@media (min-width: 1024px) {
    .custom-desktop-cta-buttons .custom-hero-btn {
        flex: none;
        width: max-content;
        padding: 12px 28px;
    }
}