.page-title-section.page-title-section-wide .breadcrumb-title {
    padding: 40px 0 40px 0 !important;
}


.right-side-media .pimcore_editable_image_empty,
.left-side-media .pimcore_editable_image_empty{
    height: 100%
}

.small-screen-image-slider {
    display: block !important;
}

.gfort-owl-slider.owl-theme.owl-dots-no-padding .owl-dots {
    padding-top: 0 !important;
}

.overflow-hidden {
    overflow: hidden !important;
}


.tame-owl .owl-stage-outer,
.tame-owl .owl-stage,
.tame-owl .owl-item,
.tame-owl .gfort-owl-slider-item,
.tame-owl .testimonials-item,
.tame-owl .testimonials-item-container,
.tame-owl .testimonials-item-body {
    height: 100% !important;
}

.tame-owl .testimonials-item-body img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.d-none {
    display: none !important;
}

.testimonials-item-style-2 .testimonials-item-container  {
    max-width: unset;
}


/* =========================================================================
   Event detail page
   ========================================================================= */

/* Constrain the body to a comfortable reading width and centre it */
.events-single-item .event-item-body {
    max-width: 840px;
    margin: 0 auto;
}

.events-single-item .event-item-header {
    margin-bottom: 28px;
}

/* When the event has no cover image the top of the page used to be a big
   empty gap above a small title. Give the header a filled, intentional
   "hero" panel instead so the page no longer feels empty. */
.event-item-container--no-cover {
    padding-top: 10px;
}
.event-item-container--no-cover .event-item-body::after {
    display: none; /* drop the hairline that assumes an image sits above it */
}
.event-item-container--no-cover .event-item-header {
    position: relative;
    margin: 0 0 35px;
    padding: 42px 40px;
    overflow: hidden;
    border-radius: 4px;
    border-left: 4px solid #8f9a7e;
    background: linear-gradient(135deg, #f6f7f4 0%, #eef0ea 100%);
}
/* faint oversized calendar glyph so the panel reads as designed, not blank */
.event-item-container--no-cover .event-item-header::after {
    content: '\f073';
    font-family: 'FontAwesome';
    position: absolute;
    right: -12px;
    bottom: -28px;
    font-size: 150px;
    line-height: 1;
    color: #8f9a7e;
    opacity: 0.09;
    pointer-events: none;
}
.event-item-container--no-cover .event-item-meta {
    padding-top: 0;
}
.event-item-container--no-cover .event-item-title {
    position: relative;
    font-size: 30px;
    line-height: 38px;
}

/* -------------------------------------------------------------------------
   Rich-text (WYSIWYG) content — make editor HTML look styled and readable
   ------------------------------------------------------------------------- */
.event-item-description {
    color: #4a4a4a;
    font-size: 16px;
    line-height: 1.75;
}
.event-item-description > *:first-child { margin-top: 0; }

.event-item-description p {
    margin: 0 0 18px;
}

.event-item-description h2,
.event-item-description h3,
.event-item-description h4 {
    color: #212121;
    font-weight: 600;
    line-height: 1.3;
    margin: 32px 0 14px;
}
.event-item-description h2 { font-size: 24px; }
.event-item-description h3 { font-size: 20px; }
.event-item-description h4 { font-size: 17px; }

.event-item-description a {
    color: #8f9a7e;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.event-item-description a:hover { color: #6f7a5f; }

.event-item-description ul,
.event-item-description ol {
    margin: 0 0 18px;
    padding-left: 22px;
}
.event-item-description li { margin-bottom: 8px; }

.event-item-description img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 12px 0;
}

.event-item-description blockquote {
    margin: 24px 0;
    padding: 6px 22px;
    color: #555555;
    font-style: italic;
    border-left: 4px solid #8f9a7e;
    background: #f6f7f4;
}

.event-item-description table {
    width: 100%;
    margin: 0 0 20px;
    border-collapse: collapse;
}
.event-item-description th,
.event-item-description td {
    padding: 10px 12px;
    text-align: left;
    border: 1px solid #e4e4e4;
}
.event-item-description th { background: #f6f7f4; }

/* keep the image gallery using its own styling, not the rich-text rules */
.event-item-description .gallery-items-wrapper img {
    margin: 0;
    border-radius: 0;
}

@media (max-width: 767px) {
    .event-item-container--no-cover .event-item-header {
        padding: 28px 24px;
    }
    .event-item-container--no-cover .event-item-title {
        font-size: 24px;
        line-height: 30px;
    }
    .event-item-description { font-size: 15px; }
}

/* List card: fallback banner when an event has no cover image, matching the
   detail view's no-cover treatment (gradient + green accent + calendar icon).
   The aspect-ratio + flex live on the <a> itself, and the selector is scoped
   under .event-item-container so it beats the theme's `.event-item-media a`
   `display:block` rule (otherwise the box collapses to just the icon). */
.event-item-container .event-item-media--placeholder a {
    display: flex;
    width: 100%;
    aspect-ratio: 810 / 325;
    align-items: center;
    justify-content: center;
    border-left: 4px solid #8f9a7e;
    background: linear-gradient(135deg, #eef0ea 0%, #dde2d4 100%);
}
.event-item-media--placeholder i {
    font-size: 64px;
    line-height: 1;
    color: #8f9a7e;
    opacity: 0.5;
    transition: opacity 0.2s ease-in-out;
}
.event-item-media--placeholder a:hover i {
    opacity: 0.7;
}
