.utbp-template {
    font-family: inherit;
}
.utbp-template p {
    line-height: 1.6;
    max-width: 70%;
    margin: 1em auto;
    padding: 0 15px;
}

.utbp-template section {
    text-align: center;
    margin: 50px 0;
}

.utbp-template section:first-of-type {
    margin-top: 25px;
}

.utbp-template h1, .utbp-template h2 {
    font-size: 30px;
    text-transform: uppercase;
    color: black;
    margin-top: 2em;
    margin-bottom: 0;
    font-weight: bold;
}

.utbp-template p.utbp-subheadline {
    color: #be0201;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 500;
    margin: 0 auto 1em;
}

.utbp-template h4 {
    font-size: 18px;
    text-transform: uppercase;
    color: black;
    margin-top: 1em;
    margin-bottom: 0;
    font-weight: 500;
}

.utbp-button {
    border: 1px solid grey;
    color: #be0201;
    width: fit-content;
    border-radius: 20px;
    padding: 10px 20px;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 14px;
    margin: 50px auto 0 auto;    
}

.utbp-button a:hover {
    color: #be0201;
}

.utbp-about-columns {
    display: flex;
    max-width: 1080px;
    margin: 0 auto;
    column-gap: 20px;
}

.utbp-celebs {
    display: flex;
    column-gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: max-content;
}

.utbp-celebs p, .utbp-about-columns p {
    max-width: 100%;
}

.utbp-celebs > *, .utbp-about-columns > * {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
}

.utbp-slider-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.utbp-slider-card {
    flex: 0 0 calc(25% - 20px); /* 4 Karten auf Desktop mit Abstand */
    min-width: 250px;
    box-sizing: border-box;
}

.utbp-about-tudor .utbp-slider-card {
    flex: 0 0 calc(33.33% - 20px); /* 4 Karten auf Desktop mit Abstand */
    min-width: 250px;
    box-sizing: border-box;
}

.utbp-slider-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.utbp-scroll-left,.utbp-scroll-right {
    margin-left: 0px;
    color: #be0300;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1.2rem;
    height: max-content;
    margin-top: 15%;
    transition: opacity 0.3s ease;
}

.utbp-scroll-right svg, .utbp-scroll-left svg {
	fill: #be0300;
	width: 15px;
}

.utbp-scroll-left {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.utbp-scroll-left.visible {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.utbp-scroll-right {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.3s ease;
}

.utbp-scroll-right.hidden {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}


.utbp-slider-wrapper::-webkit-scrollbar {
    display: none;
}
.utbp-slider-wrapper {
    scroll-snap-type: x mandatory;
}

.utbp-slider-card {
    scroll-snap-align: start;
}


.utbp-celebs-slider {
    position: relative;
    display: flex;
    max-width: 1300px;
    margin: 0 auto;
}

.utbp-button svg {
    width: 13px;
    margin-right: 6px;
    fill: #be0300;
}

section.utbp-about-tudor .utbp-subheadline {
    margin-bottom: 2em;
}

div#utbpCelebsSlider {
    margin-top: 4em;
}

@media (max-width: 768px) {
    .utbp-slider-card {
        flex: 0 0 calc(33.33% - 20px); /* 1,5 Karten sichtbar */
    }
    .utbp-scroll-right, .utbp-scroll-left {
        display: none !important;
    }
    
    .utbp-about-columns {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 20px;
    padding-bottom: 1rem;
  }

  .utbp-about-columns .utbp-slider-card {
    flex: 0 0 33.33%;
    scroll-snap-align: start;
  }
}

@media (max-width: 767px) {
  .utbp-about-columns {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 1rem;
  }

  .utbp-about-columns .utbp-slider-card {
    flex: 0 0 auto;
    width: 80%;
    scroll-snap-align: start;
  }
  
  .utbp-template p {
    max-width: 100%;
  }
}


