
main {
    font-family: "Poppins", sans-serif;
}

h1, h2, h3, h4, h5 {
    font-family: "Poppins", sans-serif;
    color: #1d6791;
    font-weight: 600;
}

h1 {
    font-size: 2rem;
}

h3 {
    font-size: 1.6rem;
}

p,
ul,
ol {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    color: #4f4f4f;
    font-size: 1.1rem;
    line-height: 1.6;
}

.seminar-header,
.seminar-content-wrapper {
    margin: 0;
}

.seminar-header {
    margin-bottom: 5px;
}

.seminar-header .seminar-meta,
.seminar-header .seminar-status-tags {
    display: none;
}

.seminar-sidebar {
    padding: 25px 35px 35px 35px;
    background: linear-gradient(134deg, #007c94, #005a6b);
    border-radius: 10px;
    color: #ffffff;
    font-family: "Open Sans", sans-serif;
}
.seminar-sidebar .seminar-basic-info {
    margin-bottom: 30px;
}
.seminar-sidebar a {
    color: #ffffff;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}
.seminar-sidebar a:hover {
    text-decoration: none;
}
.seminar-sidebar h3 {
    margin-bottom: 15px;
}
.seminar-sidebar .seminar-basic-info > div {
    margin: 0 0 5px 0;
}

.seminar-sidebar strong {
    font-weight: 600;
    min-width: 100px;
    display: inline-block;
}

.seminar-sidebar h3,
.seminar-sidebar h4,
.seminar-sidebar p {
    color: #ffffff;
}

.seminar-leader,
.lecturer {
    display: flex;
    align-items: center;
    gap: 24px;
}

.leader-image-wrapper,
.lecturer-image-wrapper {
    flex: 0 0 100px;
}

.leader-image,
.lecturer-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.leader-info p {
    font-size: 1rem;
}

.leader-info,
.lecturer-info {
    flex: 1;
}

.leader-info h4,
.leader-info p,
.lecturer-info h4,
.lecturer-info p {
    margin: 0 0 3px 0;
}

.job-title {
    margin-top: 0.25rem;
    color: #666;
    font-size: 0.9em;
}

.placeholder-image {
    width: 100px;
    height: 100px;
    background-color: #f0f0f0;
    border-radius: 4px;
}

.seminar-lecturers {
    margin-top: 0;
} 

.seminar-content-wrapper > div {
    gap: 70px;
}

.seminar-content-wrapper h1 .seminar-is-new {
    position: relative;
    bottom: 5px;
    margin-left: 10px;
    font-size: 1rem;
    border-radius: 50px;
    background-color: #d3d800;
    padding: 6px 14px;
    color: #00435f;
}

.seminar-related {
    font-family: "Poppins", sans-serif;
    margin: 60px 0 !important;
}

.seminar-related h2 {
    font-size: 1.6rem;
}

.related-seminars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-seminar-item {
    padding: 35px;
    box-sizing: border-box;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(134deg, #d3d800, #afca0b);
    min-height: 285px;
}
.related-seminar-item:nth-child(2) {
    background: linear-gradient(134deg, #007c94, #005a6b);
}
.related-seminar-item:nth-child(3) {
    background: linear-gradient(134deg, #c51a1b, #a31818);
}

.related-seminar-item h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.6rem;
    line-height: 1.3;
    color: #ffffff;
}

.related-seminar-item h3 a {
    text-decoration: none;
    color: #ffffff;
}

.related-seminar-item:first-child h3 a,
.related-seminar-item:first-child .seminar-date,
.related-seminar-item:first-child .wp-block-button__link {
    color: #00435f;
}

.related-seminar-item:first-child .wp-block-button__link {
    border: 2px solid #00435f;
}

.related-seminar-item:first-child .wp-block-button__link:hover,
.related-seminar-item:first-child .wp-block-button__link:focus {
    background-color: #00435f;
    color: #ffffff;
}

.related-seminar-item:first-child .wp-block-button__link::before {
    border-bottom: 2px solid #00435f;
    border-right: 2px solid #00435f;
}

.related-seminar-item:first-child .wp-block-button__link:hover::before,
.related-seminar-item:first-child .wp-block-button__link:focus::before {
    border-bottom: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
}


.related-seminar-item .seminar-date {
    display: block;
    margin-bottom: 5px;
    font-size: 1.2rem;
    color: #ffffff;
}

.related-seminar-item .wp-block-button {
    margin-top: auto;
}

.related-seminar-item .wp-block-button a,
.seminar-booking .wp-block-button a {
    display: inline-block;
    margin-top: auto;
    padding: 8px 40px 8px 25px;
    color: #ffffff;
    background-color: transparent;
    border: 2px solid #ffffff;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    margin-top: 15px;
    position: relative;
    width: auto;
    height: auto;
}

.related-seminar-item .wp-block-button a::before,
.seminar-booking .wp-block-button a::before {
    content: "";
    position: absolute;
    border-bottom: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
    height: 10px;
    width: 10px;
    transform: rotate(-45deg);
    right: 20px;
    top: 15px;
    transition: all 0.3s ease;
}

.related-seminar-item  .wp-block-button a:hover,
.related-seminar-item  .wp-block-button a:focus,
.seminar-booking .wp-block-button a:hover,
.seminar-booking .wp-block-button a:focus {
    background-color: #ffffff;
    color: #004a6b;
}

.related-seminar-item  .wp-block-button a:hover::before,
.related-seminar-item  .wp-block-button a:focus::before,
.seminar-booking .wp-block-button a:hover::before,
.seminar-booking .wp-block-button a:focus::before {
    border-bottom: 2px solid #004a6b;
    border-right: 2px solid #004a6b;
}

.seminar-sidebar .seminar-booking .wp-block-button a {
    background-color: #ffffff;
    color: #004a6b;
    font-weight: 600;
    font-family: "Poppins", sans-serif;
}
.seminar-sidebar .seminar-booking .wp-block-button a:hover {
    background-color: transparent;
    color: #ffffff;
}
.seminar-sidebar .seminar-booking .wp-block-button a::before {
    border-bottom: 2px solid #004a6b;
    border-right: 2px solid #004a6b;
    top: 16px;
}
.seminar-sidebar .seminar-booking .wp-block-button a:hover::before,
.seminar-sidebar .seminar-booking .wp-block-button a:focus::before {
    border-bottom: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
}

.seminar-main-content {
    margin: 0;
}

.seminar-main-content .seminar-content,
.seminar-main-content .seminar-learning-targets,
.seminar-main-content .seminar-target-group,
.seminar-main-content .seminar-description,
.seminar-main-content .seminar-media,
.seminar-main-content .seminar-booking {
    margin: 0;
}

.seminar-main-content .seminar-content,
.seminar-main-content .seminar-booking,
.seminar-main-content .seminar-description {
    margin-top: 20px;
}

.seminar-main-content .seminar-booking .wp-block-button a {
    border: 2px solid #1d6791;
    color: #1d6791;
    padding: 10px 40px 10px 25px;
}
.seminar-main-content .seminar-booking .wp-block-button a:hover,
.seminar-main-content .seminar-booking .wp-block-button a:focus {
    background-color: #1d6791;
    color: #ffffff;
}
.seminar-main-content .seminar-booking .wp-block-button a::before {
    top: 17px;
    border-bottom: 2px solid #1d6791;
    border-right: 2px solid #1d6791;
}
.seminar-main-content .seminar-booking .wp-block-button a:hover::before,
.seminar-main-content .seminar-booking .wp-block-button a:focus::before {
    border-bottom: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
}
.seminar-main-content span.seminar-tag {
    margin: 0;
    font-weight: 500;
    color: #1d6791;
    font-size: 1.1rem;
    position: relative;
    margin-left: 23px;
    display: inline-block;
    margin-top: 5px;
}
.seminar-main-content span.seminar-tag.seminar-is-online::before,
.seminar-main-content span.seminar-tag.seminar-presence::before {
    content: '';
    position: absolute;
    left: -22px;
    top: 3px;
    background-image: url('data:image/svg+xml,<%3Fxml version="1.0" encoding="UTF-8"%3F><svg id="Ebene_1" data-name="Ebene 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 54.55 72.12"><defs><style> .cls-1 { fill: %231d6791; stroke: %23004a6b; stroke-miterlimit: 10; } </style></defs><path class="cls-1" d="M48.58,11C43.47,4.3,35.68.5,27.27.5S11.07,4.3,5.97,11c-7.3,9.6-7.3,22.9,0,32.5l21.3,27.8,21.3-27.8c7.3-9.6,7.3-22.9,0-32.5ZM27.27,12.6c7.7,0,14,6.3,14,14s-6.3,14-14,14-14-6.3-14-14,6.3-14,14-14Z"/></svg>');
    background-repeat: no-repeat;
    height: 20px;
    width: 20px;
}

.seminar-sidebar div.seminar-time {
    margin-top: 14px;
    padding: 12px 0 14px 0;
    border-top: 1px solid #78aab4;
    border-bottom: 1px solid #78aab4;
}
.seminar-sidebar div.seminar-time span.seminar-time p {
    margin: 10px 0 0 0;
    font-size: 1rem;
}

.seminar-tags {
    border-top: 1px solid #78aab4;
    padding-top: 30px;
}

/* Image Slider Styles */
.seminar-image-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.slider-container {
    position: relative;
}

.slider-container button,
.slide {
    display: none;
}

.slide img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Navigation Buttons */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 1;
}

.prev {
    left: 0;
    border-radius: 0 3px 3px 0;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* Dots Navigation */
.slider-dots {
    text-align: center;
}

.dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid #004a6b;
    padding: 0;
    cursor: pointer;
    margin: 0 5px;
}
.dot:hover,
.dot:focus {
    background-color: #004a6b;
}

.dot.active {
    background-color: #004a6b;
}