/* Global Styles */
body {
    margin: 0;
    padding: 0;
    color: #390634; /* Original: #390634 */
    font-family: "Liberation sans", Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 1.5em;
    background-color: #0f0f0f;
    background-image: url(../images/main_bg.gif);
    background-repeat: repeat;
    background-position: left top;
}

.main-container {
    background-image: url(../images/header_bg.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    padding-top: 1px; /* Prevent margin collapse for header background */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Times New Roman', Times, serif;
    color: #3f3f3f; /* Original h2 color */
}

h2 span, h3 span { /* For the colored part of headings */
    color: #EC64E1; /* A common accent color from original sidebar/fbg h2 */
}


a {
    color: #F081E7; /* Original link color */
    text-decoration: underline;
}

a:hover {
    color: #E932D7; /* Original link hover color */
}

.img-thumbnail {
    background-color: #fff;
    border: 1px solid #AE15A3; /* Adapted from .content .mainbar img.fl */
}

/* Header */
.page-header .header-resize {
    padding-top: 20px; /* Approximate original spacing */
    padding-bottom: 10px;
}

.logo h1 {
    margin: 0;
    padding: 28px 0 0;
    font-size: 48px;
    font-weight: normal;
    line-height: 1.2em;
    color: #F081E7;
}

.logo h1 small {
    display: block;
    margin: 0;
    font-size: 20px;
    font-weight: normal;
    line-height: 1.2em;
    color: #F081E7;
}

.searchform {
    padding-top: 44px; /* Original padding */
}

.searchform .editbox_search {
    background-color: transparent;
    border: 1px solid #AE15A3; /* Giving it some definition */
    color: #F9C6F4;
    border-radius: 0.25rem 0 0 0.25rem;
}
.searchform .editbox_search::placeholder { /* For modern browsers */
    color: #F9C6F4;
    opacity: 0.7;
}
.searchform .editbox_search:-ms-input-placeholder { /* For Internet Explorer 10-11 */
    color: #F9C6F4;
    opacity: 0.7;
}
.searchform .editbox_search::-ms-input-placeholder { /* For Microsoft Edge */
    color: #F9C6F4;
    opacity: 0.7;
}


.searchform .button_search {
    background-color: transparent;
    border: none;
    padding: 0;
}
.searchform .button_search img {
    vertical-align: middle; /* Align image with input box */
     height: calc(1.5em + .75rem + 2px); /* Match form-control height */
}


/* Navigation Menu */
.menu_nav {
    background-color: #000;
    border-radius: 6px; /* From original script.js */
    margin-top: 20px; /* Original margin-bottom, now top */
    margin-bottom: 20px;
    padding: 0;
}
.menu_nav .navbar-nav .nav-link {
    padding: 19px 25px; /* Adjusted for better spacing */
    font-size: 13px;
    line-height: 17px;
    font-weight: normal;
    color: #F9C6F4;
    text-transform: uppercase;
    text-align: center;
}

.menu_nav .navbar-nav .nav-item.active .nav-link,
.menu_nav .navbar-nav .nav-link:hover,
.menu_nav .navbar-nav .nav-link:focus {
    color: #E932D7;
    text-decoration: none;
}

.navbar-toggler {
    border-color: rgba(249, 198, 244, 0.5); /* Light border for toggler */
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(249, 198, 244, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


/* Slider Area */
.slider-container {
    padding-bottom: 34px; /* Original padding */
}
#mainImageSlider .carousel-item img {
    max-height: 360px; /* Original height */
    object-fit: cover; /* Ensures image covers the area, might crop */
    width: 100%;
}
#mainImageSlider .carousel-caption {
    background-color: rgba(0, 0, 0, 0.5); /* Similar to original overlay.png */
    color: #FBDBF8;
    padding: 16px 24px;
    width: 100%;
    left: 0;
    right: 0;
    bottom: 0; /* Position at bottom */
    font-size: 15px;
    line-height: 1.5em;
}
#mainImageSlider .carousel-caption big {
    font-size: 15px; /* Original size */
    line-height: 32px;
}
.carousel-indicators [data-bs-target] {
    background-color: #AE15A3; /* Accent color for indicators */
}


/* Content Area */
.content-area .content_resize {
    padding: 18px 0 32px; /* Original padding */
}

.mainbar {
    background-color: #FCE4FA;
    padding: 20px;
    border-radius: 10px; /* From original script.js */
    margin-bottom: 20px; /* Space below mainbar on smaller screens */
}

.mainbar h2 {
    margin-bottom: 0;
    padding-bottom: 8px;
    font-size: 30px;
    line-height: 1.2em;
    color: #390634;
    border-bottom: 1px solid #AE15A3;
}
.mainbar .article-image {
    border: 1px solid #AE15A3; /* Original .content .mainbar img.fl */
    background: #fff;
    padding: 4px; /* Added padding for better look */
    margin-bottom: 15px;
}
.mainbar .article {
    margin-bottom: 32px;
}
.mainbar .article:last-child {
    margin-bottom: 0;
}
.mainbar .article a {
    color: #EC64E1;
}
.mainbar .post_content strong, .post_content strong { /* Added .post_content strong for other pages */
    color: #37132F;
}

p.infopost {
    margin-bottom: 0;
    padding: 0;
    color: #AE15A3;
    font-size: 0.9em;
}
p.infopost a {
    padding: 0 2px;
    color: #8a8a8a;
    text-decoration: underline;
}

/* Sidebar */
.sidebar {
    padding-left: 20px; /* Original padding relative to content_resize */
    padding-right: 20px;
}
.sidebar .gadget {
    margin-bottom: 12px;
    padding-top: 8px;
    padding-bottom: 8px;
}
.sidebar h2 {
    color: #EC64E1;
    font-size: 25px; /* Original h2 was 25px, sidebar h2 was not specified, using main h2 styling */
    text-transform: none;
    border-bottom: 1px solid #AE15A3;
    padding-bottom: 8px;
    margin-bottom: 15px;
}
.sidebar ul.sb_menu li, .sidebar ul.ex_menu li {
    margin-bottom: 8px; /* Spacing for list items */
}
.sidebar ul.sb_menu li a {
    color: #F9C6F4;
    text-decoration: none;
    padding: 4px 8px 4px 16px;
    display: block; /* make the whole area clickable */
    background: url(../images/li.gif) no-repeat left center; /* Re-using original li image */
    margin-left: -16px; /* to align with the bullet */
}
.sidebar ul.ex_menu li a {
    font-weight: bold;
    color: #fff; /* Original was #fff, style.css had #F9C6F4 for ul.ex_menu */
    text-decoration: none;
}
.sidebar ul.sb_menu li a:hover, .sidebar ul.ex_menu li a:hover {
    color: #E932D7;
    font-weight: bold; /* was bold only for ex_menu hover */
    text-decoration: underline;
}
.sidebar ul.ex_menu li {
    color: #F9C6F4; /* Text color for the description part */
    line-height: 1.3em;
}


/* Footer Background Area (FBG) */
.fbg-area {
    color: #F9C6F4;
    padding-top: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #000;
}
.fbg-area h2 {
    color: #EC64E1;
    padding-bottom: 24px;
    font-size: 25px;
}
.fbg-area .img-thumbnail { /* Specific for footer gallery thumbs */
    width: 75px;
    height: 75px;
    object-fit: cover;
}
.fbg_ul li a {
    display: block;
    padding: 2px 0 2px 12px;
    color: #ffffff;
    text-decoration: none;
    background: url(../images/li.gif) no-repeat left center;
}
.fbg_ul li a:hover {
    color: #E932D7;
    text-decoration: underline;
}
p.contact_info {
    line-height: 1.8em;
}
p.contact_info span {
    display: block;
    font-weight: bold;
    color: #fff; /* original style */
}
/* On smaller screens, make fbg columns stack nicely */
@media (max-width: 991.98px) {
    .fbg-area .col-lg-4 {
        margin-bottom: 20px;
    }
    .fbg-area .col-lg-4:last-child {
        margin-bottom: 0;
    }
}

/* Page Footer */
.page-footer .footer_resize {
    padding: 0; /* Container handles padding */
    line-height: 1.5em;
    color: #F9C6F4;
    border-top: 1px solid #AE15A3;
}
.page-footer p {
    margin: 24px 0;
    padding: 0;
    line-height: normal;
    white-space: nowrap;
}
.page-footer a {
    color: #E932D7;
    font-weight: normal;
    text-decoration: underline;
}
.page-footer a:hover {
    color: #FDE8FB;
    text-decoration: none;
}
.page-footer .lf {
    text-align: center; /* Center copyright on small screens */
}

@media (min-width: 768px) {
    .page-footer .lf {
        text-align: left;
    }
}

/* Utilities from original if needed, e.g. for up button */
.text-end img[src="images/up64.png"] {
    width: 48px; /* Slightly smaller for modern look */
    height: 48px;
}

/* Specific for gallery pages like gemaelde.html */
.gallery-item {
    margin-bottom: 20px;
    text-align: center;
}
.gallery-item img {
    border: 1px solid #AE15A3;
    padding: 3px;
    background-color: #fff;
    max-width: 150px; /* Control thumbnail size better */
    height: auto;
}
.gallery-item .caption {
    font-size: 0.9em;
    color: #390634;
    margin-top: 5px;
}

/* Contact Form */
.contact-form label {
    color: #390634;
    font-weight: bold;
    margin-bottom: .5rem;
}
.contact-form .form-control {
    border: 1px solid #AE15A3; /* Using accent color for borders */
    background-color: #fff;
    color: #390634;
}
.contact-form .form-control:focus {
    border-color: #E932D7;
    box-shadow: 0 0 0 0.25rem rgba(233, 50, 215, 0.25);
}
.contact-form .btn-custom-send {
    background-color: #AE15A3;
    color: #fff;
    border-color: #AE15A3;
}
.contact-form .btn-custom-send:hover {
    background-color: #E932D7;
    border-color: #E932D7;
}
.contact-form .btn-custom-reset {
    background-color: #6c757d; /* Standard secondary color */
    color: #fff;
    border-color: #6c757d;
}
.contact-form .btn-custom-reset:hover {
    background-color: #5a6268;
    border-color: #545b62;
}


/* Presse Page List */
#presse-liste {
    list-style-type: disc; /* Standard disc bullets */
    padding-left: 20px; /* Indent list */
    color: #390634; /* Text color for list items */
}
#presse-liste li {
    margin-bottom: 10px;
}
#presse-liste li strong a {
    color: #390634; /* Link color within the list */
    font-weight: bold;
}
#presse-liste li strong a:hover {
    color: #AE15A3;
}

/* Social Page Icons */
.social-icons-table img {
    margin: 5px; /* Add some space around icons */
}
.social-icons-container { /* Alternative to table */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px; /* Space between items */
}
.social-icons-container img {
    width: 64px; /* Original size */
    height: 64px;
}
.social-divider {
    width: 80%;
    margin: 20px auto;
    border-top: 1px solid #AE15A3;
}

/* Cookie Consent Customization (example, if needed beyond JS) */
.cc-window { /* Target the cookie consent popup */
    /* font-family: "Liberation sans", Arial, Helvetica, sans-serif !important; */
}
.cc-btn { /* Target the button in cookie consent */
   /* background-color: #F081E7 !important;
    color: #000 !important; */
}
