/*
 Theme Name:   Astra Child Rounded
 Theme URI:    https://wpastra.com/
 Description:  Rounded Child Theme für Astra
 Author:       D&sup3; Data Development (Inh.: Thomas Dartsch)
 Author URI:   https://www.d3data.de
 Template:     astra
 Version:      1.0.0
*/


body {
    background:#f8f9fa;
}

body:not(.home) {
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='1' fill='%23e0e0e0' /%3E%3C/svg%3E");
    background-repeat: repeat;
}

body, button, input, select, textarea {
    font-family: 'Roboto', sans-serif;
}

body a {
	color:#212529;
}

body a:hover {
	color:#2d5016;
}

.ast-primary-header-bar {
    background: linear-gradient(135deg, #007a33, #00b25c);
}

button, .ast-button, .menu-toggle {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
}

::selection {
    background: #2d5016;
}

.img-fluid.rounded {
    width:100%;
} 

a {
    color:#212529;
}

a:hover {
    color:#2d5016;
}
/*
#wpadminbar a {
    color:#fff !important;
}

#wpadminbar a:hover {
    color:#72aee6 !important;
}
*/

h5, .entry-content h5 {
    font-size:24px;
}

h6, .entry-content h6 {
    font-size:22px;
}

.ast-logo-title-inline .ast-site-identity {
    padding-bottom:0;
}

.ast-container h2 {
    font-size:24px;
}

.site-header {
    border-top: 10px solid #803c3c;
    border-bottom: 2px solid #0c472f;
}

.ast-mobile-header-wrap .ast-primary-header-bar, .ast-primary-header-bar .site-primary-header-wrap {
    min-height:120px;
}

.site-primary-header-wrap.ast-container {
    background:none;
}

.main-header-menu .menu-item-has-children > a {
    border-radius: 12px 12px 0 0;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.main-header-menu > .menu-item > .menu-link, #astra-footer-menu > .menu-item > .menu-link {
    text-transform: uppercase;
    font-weight: 600;
    color:#fff !important;
}

.main-header-menu > .menu-item:last-child > .menu-link,
#astra-footer-menu > .menu-item:last-child > .menu-link {
    color:#9d9d9d;
}

.main-header-menu > .menu-item > .menu-link:hover, #astra-footer-menu > .menu-item > .menu-link:hover {
    background-color: rgba(255,255,255,0.2);
}

.ast-builder-menu-1 .menu-item:hover > .menu-link, .ast-builder-menu-1 .inline-on-mobile .menu-item:hover > .ast-menu-toggle {
    color:#2d5016;
}

.ast-primary-header-bar {
    border:0;
}

.ast-builder-menu-1 .sub-menu, .ast-builder-menu-1 .inline-on-mobile .sub-menu {
    border-color:#2d5016;
}

.header-image {
text-align: center;
margin: 0 auto;
}

.header-image img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

#content.site-content {
    background:#f8f9fa;

}
.ast-container {
    background:#f8f9fa;
}

.ast-plain-container.ast-no-sidebar #primary.primary {
    padding:0 15px;
}

.icon-box {
    font-size: 1.5rem;
    color: #fff;
    background-color: #2e7d32;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    padding-bottom: 5px;
    z-index: 99;
}

.icon-box.line {
    height: 3px;
    margin-top: 15px;
    font-size: 1px;
    padding: 0;
    margin-right:25px;
}

.termine-line {
    padding-left: 1rem;
    margin-left: 0.5rem;
    position: relative;
}

.termine-line .col {
    position: relative;
}

.termine-line .col:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 15px;
    top: 40px;
    height: calc(100% - 40px);
    width: 2px;
    background-color: #2e7d32;
}

.termine-line .col:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 30px;
    top: -15px;
    height: calc(220% - 10px);
    width: 2px;
    background-color: #d5d5d5;
}

.profil-box {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}
/*
hr {
    height: 3px !important;
    margin: 0 35px 50px !important;
    background: #4a7c2a;
}
*/
.custom-footer {
    background-color: #434343;
    padding: 40px 20px;
    font-size: 16px;
    color: #FFF;
    border-top: 10px solid #2d5016;
}

.footer-inner.ast-container {
    background-color: #434343;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-column h4 {
    margin-bottom: 10px;
    font-size: 20px;
    color: #FFF;
    font-weight: 600;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-heading {
    margin-bottom: 30px;
}

.footer-heading h3 {
    font-size: 24px;
    color: #FFF;
    margin: 0;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #FFF !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FFF;
    text-decoration:underline;
}

#ast-scroll-top {
    background:#2d5016;
}

.ast-single-post .entry-content .wp-block-button .wp-block-button__link, .ast-single-post .entry-content .wp-block-search .wp-block-search__button, body .entry-content .wp-block-file .wp-block-file__button {
    color: #fff !important;
	background: #2d5016;
}

#post-88 ul.wp-block-latest-posts__list li {
    padding:20px;
}

a.wp-block-latest-posts__post-title {
    display:none;
}

header.entry-header .entry-title {
    text-decoration:underline;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: 'Segoe UI', sans-serif;
}

.initials {
    background: linear-gradient(135deg, #fff, #fff);
    color: #2d5016;
    font-weight: bold;
    font-size: 2.5rem;
    padding: 0.6rem 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    font-family: 'Georgia', serif;
    letter-spacing: 2px;
}

.school-name {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.initials:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
    cursor: default;
}

.news-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 2rem;
}

.news-section.one {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    padding: 2rem;
}

.news-section.three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem;
}

.news-section h3,  .news-section h2 {
    color: #2d5016;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #4a7c2a;
    padding-bottom: 0.5rem;
    grid-column: 1 / -1;
}

.news-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: linear-gradient(152deg, #fff 0%, #f2f2f2 100%);
	height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.news-item:hover {
//    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.news-button-wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.news-button {
    background-color: #007cba;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.news-button:hover {
    background-color: #005a8c;
}

.news-date {
    background: #4a7c2a;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 0.8rem;
}

.news-title {
    color: #2d5016;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.news-excerpt {
    color: #666;
    line-height: 1.6;
}

.hero {
    background: url(Hero2.jpg);
    background-size: cover;
    background-position: center;
    color: white;
    padding: 4rem 0;
    text-align: center;
}
/*
.img-fluid.rounded:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
*/
.fa-solid, .fas {
    color:#5c9f3e;
}

.news-link {
    background: #4a7c2a;
    color: white !important;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 0.8rem;
    text-decoration:none !important;
    align-self: flex-end;
}

.news-link:hover {
    color: white !important;
}



[data-section="section-header-mobile-trigger"] .ast-button-wrap .mobile-menu-toggle-icon .ast-mobile-svg {
	width:25px;
	height:25px;
	fill: #fbfbfb;
}

input:focus, input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="reset"]:focus, input[type="search"]:focus, input[type="number"]:focus, textarea:focus, .wp-block-search__input:focus, [data-section="section-header-mobile-trigger"] .ast-button-wrap .ast-mobile-menu-trigger-minimal:focus, .ast-mobile-popup-drawer.active .menu-toggle-close:focus, .woocommerce-ordering select.orderby:focus, #ast-scroll-top:focus, #coupon_code:focus, .woocommerce-page #comment:focus, .woocommerce #reviews #respond input#submit:focus, .woocommerce a.add_to_cart_button:focus, .woocommerce .button.single_add_to_cart_button:focus, .woocommerce .woocommerce-cart-form button:focus, .woocommerce .woocommerce-cart-form__cart-item .quantity .qty:focus, .woocommerce .woocommerce-billing-fields .woocommerce-billing-fields__field-wrapper .woocommerce-input-wrapper > .input-text:focus, .woocommerce #order_comments:focus, .woocommerce #place_order:focus, .woocommerce .woocommerce-address-fields .woocommerce-address-fields__field-wrapper .woocommerce-input-wrapper > .input-text:focus, .woocommerce .woocommerce-MyAccount-content form button:focus, .woocommerce .woocommerce-MyAccount-content .woocommerce-EditAccountForm .woocommerce-form-row .woocommerce-Input.input-text:focus, .woocommerce .ast-woocommerce-container .woocommerce-pagination ul.page-numbers li a:focus, body #content .woocommerce form .form-row .select2-container--default .select2-selection--single:focus, #ast-coupon-code:focus, .woocommerce.woocommerce-js .quantity input[type="number"]:focus, .woocommerce-js .woocommerce-mini-cart-item .quantity input[type="number"]:focus, .woocommerce p#ast-coupon-trigger:focus {
	border:0;
}

@media (max-width: 921px) {

    div.ast-container.full-width {
        display: flex;
    }

    .ast-builder-menu-mobile .main-navigation .main-header-menu, .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-link, .ast-builder-menu-mobile .main-navigation .main-header-menu .sub-menu {
        background: #803C3C;
    }

    .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item:hover > .menu-link, .ast-builder-menu-mobile .main-navigation .inline-on-mobile .menu-item:hover > .ast-menu-toggle {
        background: #2d5016;
    }
}

article header.entry-header {
	display:none;
}

.full-width {
	background: #204533;
	max-width: 100%;
	text-align: center;
	margin: 0 auto;
}

.custom-breadcrumb {
	margin: 0 auto;
	text-align: left;
	width: 100%;
	max-width: 1200px;
	background: url('images/breadcrumb.jpg') no-repeat;
	padding-left: 210px;
	font-size: 16px;
	padding-bottom: 1px;
}

.custom-breadcrumb h1 {
	color: #fff;
	font-size: 20px;
}

@media (min-width: 1200px) {
  .ast-plain-container.ast-no-sidebar #primary {
    margin: 2em 0;
  }
  body:not(.page-id-245).ast-plain-container.ast-no-sidebar #primary {
	  margin-top:10px;
  }
}

.page-id-245 .content-area.primary, body:not(.page-id-245) .entry-content {
	line-height: 1.6;
	font-size: 1rem;
	color: #333;
	margin: 2em auto;
	padding: 1.5em;
	background-color: #fafafa;
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.news-section.three h3 {
	font-weight: 600;
	line-height: 1.3em;
}

.entry-content p strong {
	display: block;
	font-size: 1.2em;
	margin: 1.2em 0 0.5em;
	color: #2d5016;
}

.entry-content ul.wp-block-list {
	padding-left: 1.5em;
	margin-bottom: 1.5em;
}

.entry-content ul.wp-block-list li {
	margin-bottom: 0.5em;
	position: relative;
	list-style: none;
	padding-left: 0;
}

.entry-content li::before {
	content: "•";
	color: #2d5016;
	position: absolute;
	left: -15px;
}

.entry-content .wp-block-file  {
	
}

.entry-content .wp-block-file .wp-block-file__button {
	
}

.wp-block-file {
	border-radius: 12px;
	padding: 1.5rem !important;
	margin-bottom: 1.5rem;
	box-shadow: 0 3px 10px rgba(0,0,0,0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	background: linear-gradient(152deg, #fff 0%, #f2f2f2 100%);
}

.wp-block-file a {
	font-size:18px;
	text-decoration:none !important;
}

.wp-block-file a::before {
	font-family: "Font Awesome 5 Free";
	content: "\f0c1"; 
	font-weight: 900;  
	margin-right: 0.5em;
	color:#2d5016;
	}

.wp-block-file a.wp-block-file__button::before {
	content: inherit;
}

.wp-block-file__button {
	color: #fff !important;
    background:#2d5016 !important;
}

.wp-block-file a.wp-block-file__button:hover {
	color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.page-id-102 .entry-content p:last-of-type {
	background-color: #e4ffef;
	padding: 1em;
	border-left: 4px solid #2d5016;
	margin-top: 2em;
	border-radius: 5px;
	font-size: 0.95rem;
}

.entry-content figure {
	margin-top: 2em;
	text-align: center;
}

.entry-content img {
	max-width: 100%;
	height: auto;
	border-radius: 6px;
	box-shadow: 0 1px 5px rgba(0,0,0,0.1);
}
/*
.entry-content img:hover {
	transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
*/


.page-id-76 .entry-content {
	font-family: 'Segoe UI', Roboto, sans-serif;
	font-size: 1rem;
	color: #333;
	margin: 2em auto;
	padding: 2em;
	background-color: #fefefe;
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}


.page-id-76 .wp-block-columns {
	display: flex;
	flex-wrap: wrap;
	gap: 2em;
	margin-bottom: 2em;
}

.page-id-76 .wp-block-column {
	flex: 1;
	min-width: 250px;
}

.page-id-76 .wp-block-column p {
	margin: 0;
	line-height: 1.7;
}

.page-id-76 .wp-block-column:first-child p strong {
	color: #2d5016;
	display: inline-block;
	margin: 0;
	font-size: 16px;
}

.page-id-76 .has-medium-font-size {
	font-size: 1.4em;
	font-weight: bold;
	color: #2d5016;
	margin-top: 2em;
	margin-bottom: 0.5em;
	}

.wpcf7-form {
	display: flex;
	flex-direction: column;
	gap: 1.2em;
	margin-top: 1em;
}

.wpcf7-form label {
	font-weight: 500;
	display: block;
	margin-bottom: 0.3em;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
	width: 100%;
	padding: 0.7em;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 1rem;
	transition: border-color 0.3s;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
	border-color: #2d5016;
	outline: none;
}

.wpcf7-form textarea {
	resize: vertical;
	min-height: 120px;
}

.wpcf7-form .wpcf7-checkbox {
	font-size: 0.95em;
	color: #444;
}

.wpcf7-form input[type="submit"] {
	background-color: #2d5016;
	color: white;
	border: none;
	padding: 0.7em 1.2em;
	font-size: 1rem;
	border-radius: 6px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.wpcf7-form input[type="submit"]:hover {
	color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

@media (max-width: 600px) {
  .page-id-76 .wp-block-columns {
    flex-direction: column;
  }
}


.page-id-88 .wp-block-latest-posts__post-full-content .wp-block-media-text {
	background-color: #f2f2f2;
	padding: 1.5rem;
	border-radius: 10px;
	border-left: 5px solid #00843b;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
	margin-bottom: 2rem;
	display: grid;
	grid-template-columns: 15% auto;
	gap: 1rem;
	align-items: center;
}


.page-id-88 .wp-block-latest-posts__post-full-content .wp-block-media-text__media img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}


.page-id-88 .wp-block-latest-posts__post-full-content .wp-block-media-text__content p {
	margin: 0;
	font-size: 1rem;
	line-height: 1.6;
	color: #222;
}

.page-id-88 .wp-block-latest-posts__post-full-content .wp-block-media-text__content strong {
	color: #2d5016;
	min-width: 90px;
	display: inline-block;
}

.page-id-88 .wp-block-latest-posts__post-full-content .wp-block-details, .page-id-22 .wp-block-details {
	background-color: #f9f9f9;
	border-radius: 10px;
	padding: 1.5rem;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
	margin-bottom: 2rem;
	border: 1px solid #e1e1e1;
}

.page-id-88 .wp-block-latest-posts__post-full-content .wp-block-details summary, .page-id-22 .wp-block-details summary {
	font-weight: bold;
	color: #2d5016;
	font-size: 1.1rem;
	cursor: pointer;
}

.page-id-88 .wp-block-latest-posts__post-full-content .wpcf7-form, .page-id-22 .wpcf7-form {
	display: grid;
	gap: 1rem;
}

.page-id-88 .wp-block-latest-posts__post-full-content .wpcf7-form p, .page-id-22 .wpcf7-form p {
	margin: 0;
}

.page-id-88 .wp-block-latest-posts__post-full-content .wpcf7 input[type="text"],
.page-id-88 .wp-block-latest-posts__post-full-content .wpcf7 input[type="email"],
.page-id-88 .wp-block-latest-posts__post-full-content .wpcf7 textarea {
	width: 100%;
	padding: 0.6rem;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 1rem;
}

.page-id-22 .wpcf7 input[type="text"],
.page-id-22 .wpcf7 input[type="email"],
.page-id-22 .wpcf7 textarea {
	width: 100%;
	padding: 0.6rem;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 1rem;
}

.page-id-88 .wp-block-latest-posts__post-full-content .wpcf7 input[type="submit"], .page-id-22 .wpcf7 input[type="submit"] {
	background-color: #2d5016;
	color: white;
	border: none;
	padding: 0.7rem 1.4rem;
	border-radius: 6px;
	cursor: pointer;
	font-size: 1rem;
	transition: background 0.2s ease-in-out;
}

.page-id-88 .wp-block-latest-posts__post-full-content .wpcf7 input[type="submit"]:hover, .page-id-22 .wpcf7 input[type="submit"]:hover {
	background-color: #005d8f;
}

@media (max-width: 768px) {
  .page-id-88 .wp-block-latest-posts__post-full-content .wp-block-media-text {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .page-id-88 .wp-block-latest-posts__post-full-content .wp-block-media-text__media {
    margin-bottom: 1rem;
  }

  .page-id-88 .wp-block-latest-posts__post-full-content .wp-block-media-text__content strong {
    display: block;
    margin-bottom: 0.2rem;
  }
}

.page-id-88 a.wp-block-latest-posts__post-title {
	color: #2d5016;
	font-size: 1.8rem;
	margin-bottom: 1.5rem;
	border-bottom: 3px solid #4a7c2a;
	padding-bottom: 0.5rem;
	grid-column: 1 / -1;
	display: block;
}



.page-id-86 .wp-block-table.is-style-stripes {
  margin: 0 auto;
  border-collapse: collapse;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}


.page-id-86 .wp-block-table.is-style-stripes table {
  width: 100%;
  border-spacing: 0;
  background-color: #fff;
}


.page-id-86 .wp-block-table.is-style-stripes td {
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid #e6e6e6;
  font-size: 1rem;
}


.page-id-86 .wp-block-table.is-style-stripes tr:first-child td {
  background-color: #008239;
  color: #ffffff;
  font-weight: normal !important;
  font-size: 1.1rem;
}
 
.page-id-86  b, .page-id-86  strong {
	font-weight: normal !important;
}

.page-id-86 .wp-block-table.is-style-stripes tr:nth-child(even) {
  background-color: #f9f9f9;
}

.page-id-88 .wp-block-table.is-style-stripes tr:last-child td {
  border-bottom: none;
}

.page-id-86 .wp-block-table.is-style-stripes mark {
  color: #fff !important;
  font-weight: normal !important;
}

@media (max-width: 600px) {
  .page-id-88 .wp-block-table.is-style-stripes td {
    padding: 0.7rem;
    font-size: 0.95rem;
  }
}

header .custom-logo-link img {
	max-width:100% !important;
}

.ast-builder-layout-element .ast-site-identity {
	margin-left:15px !important;
}

@media (max-width: 921px) {
  .ast-builder-menu-mobile .main-navigation .menu-item.current-menu-item > .menu-link, .ast-builder-menu-mobile .main-navigation .inline-on-mobile .menu-item.current-menu-item > .ast-menu-toggle, .ast-builder-menu-mobile .main-navigation .menu-item.current-menu-ancestor > .menu-link, .ast-builder-menu-mobile .main-navigation .menu-item.current-menu-ancestor > .ast-menu-toggle {
    background: #2d5016;
  }

}

@media (max-width: 767px) {

	.news-section, .news-section.three {
		grid-template-columns: repeat(1, 1fr);
	}
}

.page-id-64 a.wp-block-latest-posts__post-title, .page-id-22 h2.wp-block-post-title {
	color: #2d5016;
	font-size: 1.8rem;
	margin-bottom: 1.5rem;
	border-bottom: 3px solid #4a7c2a;
	padding-bottom: 0.5rem;
	grid-column: 1 / -1;
	display: block;
}

.wp-block-latest-posts .wp-block-latest-posts__post-date, .wp-block-latest-posts .wp-block-latest-posts__post-author {
	background: #4a7c2a;
	color: white;
	padding: 0.3rem 0.8rem;
	border-radius: 20px;
	font-size: 0.8rem;
	display: inline-block;
	margin-bottom: 0.8rem;
}

.wp-block-latest-posts > li > *, .wp-block-latest-posts:not(.is-grid) > li {
	margin-bottom:100px;
}

.page-id-88 .wp-block-latest-posts > li > *, .page-id-88 .wp-block-latest-posts:not(.is-grid) > li {
    margin-bottom:0;
}

.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item {
	line-height:60px;
}

.main-header-menu > .menu-item.menu-item-334 > .menu-link {
	border-radius: 12px 12px 0 0;
}

.sub-menu .menu-link:hover,
.sub-menu .current-menu-item > .menu-link,
.sub-menu .current_page_item > .menu-link,
.sub-menu .current-menu-ancestor > .menu-link,
.sub-menu .current_page_ancestor > .menu-link {
  background-color: #803c3c;
  color: #fff !important;
}

.custom-logo-link::before {
  content: 'Oberschule Thalheim';
  color: white;
  font-size: 17px;
  font-weight: normal;
  position: absolute;
  top: 52px;
  text-align: center;
  margin-left: 65px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.custom-logo-link::after {
  content: 'OT';
  background-color: white;
  width: 50px;
  height: 50px;
  position: absolute;
  border-radius: 10px;
  top: 37px;
  font-size: 33px;
  font-weight: bold;
  color: green;
  text-align: center;
  padding-top: 6px;
}

.custom-logo {
  display: none; 
}

.custom-logo-link:hover::after {
	box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

@media (max-width: 1080px) {
	.custom-logo-link::before {
	  font-size: 16px;
	}
	.main-header-menu > .menu-item > .menu-link, #astra-footer-menu > .menu-item > .menu-link {
		font-size: 14px;
		padding: 0 6px;
	}
}


.menu-item-has-children.submenu-open > .sub-menu {
  display: block !important;
}

.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .menu-link {
	color:#fff !important;
	border-radius: 0;
	padding: 1px 35px;
}



.ast-builder-menu-mobile .main-navigation .menu-item.current-menu-item > .menu-link, .ast-builder-menu-mobile .main-navigation .inline-on-mobile .menu-item.current-menu-item > .ast-menu-toggle, .ast-builder-menu-mobile .main-navigation .menu-item.current-menu-ancestor > .menu-link, .ast-builder-menu-mobile .main-navigation .menu-item.current-menu-ancestor > .ast-menu-toggle {
	color:#fff;
}

.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .ast-menu-toggle {
	color:#fff;	
}

.menu-item-has-children.submenu-open > .sub-menu {
  display: block !important;
}

.ast-header-break-point .main-navigation ul .menu-item .menu-link .icon-arrow:first-of-type svg {
	top:.1em;
}


.menu-item-has-children {
    position: relative;
	z-index: 20;
}

.ast-menu-toggle {
position: absolute;
    inset: 0;
    background: transparent;
    border: none;
    z-index: 10;
    padding: 0;
    cursor: pointer;
}

.ast-menu-toggle .ast-icon {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none; 
}

.ast-menu-toggle .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
}

.menu-item.current-menu-parent > .menu-link {

  opacity: 1 !important;

}

.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .ast-menu-toggle {
	background:transparent;
}
#swpm-login-form {
	max-width: 500px;
    margin: 0 auto;
}

.swpm-login-form-inner {
    display: flex;
    gap: 20px; 
    flex-wrap: wrap; 
    justify-content: center; 
}

.swpm-username-label,
.swpm-username-input,
.swpm-password-label,
.swpm-password-input {
    display: flex;
    flex-direction: column;
    width: 200px; 
}


.swpm-username-label,
.swpm-username-input {
    flex: 1 1 100%;
}

.swpm-password-label,
.swpm-password-input {
    flex: 1 1 100%;
}


.swpm-username-label,
.swpm-username-input,
.swpm-password-label,
.swpm-password-input {
    width: auto;
}

.swpm-login-submit {
    width: 100%;
    margin-top: 15px;
    text-align: center;
}

.swpm-forgot-pass-link,
.swpm-join-us-link {
    display: none;
}

.page-id-90 .entry-content p strong, .page-id-22 .entry-content p strong {
  display: initial;     
  font-size: initial;
  margin: initial;
  color: initial;
}

.tribe-events-pg-template {
	width:100%;
}

@media (min-width: 922px) {
  .ast-narrow-container .site-content > .ast-container {
    max-width: 1240px;
  }
}

article.category-aktuelles.ast-article-single header.entry-header {
	display:block;
}

article.category-aktuelles.ast-article-single header.entry-header .entry-title {
  color: #2d5016;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  border-bottom: 3px solid #4a7c2a;
  padding-bottom: 0.5rem;
  grid-column: 1 / -1;
  display: block;
  text-decoration: none;
}

.swpm-login-widget-form input.swpm-submit-btn-default-style {
	background-color: #2d5016;
	color: white;
	border: none;
	padding: 0.7rem 1.4rem;
	border-radius: 6px;
	cursor: pointer;
	font-size: 1rem;
	transition: background 0.2s ease-in-out;
}

.swpm-login-widget-form input.swpm-submit-btn-default-style:hover {
	background-color: #005d8f;
}


.main-header-menu > .menu-item > .menu-link:hover, #astra-footer-menu > .menu-item > .menu-link:hover {
    background:transparent;
    border-radius: 0 !important;
}

.main-header-menu a {
    position: relative;
    color: white;
    text-decoration: none;
    padding: 0.5rem;
}

.main-header-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 0%;
    height: 2px;
    background: #d4ffd4;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-header-menu a:hover::before {
    width: 100%;
}

h1.custom-page-title {
    margin: 0.5rem 0;
    font-size: 1.3rem;
    line-height: 2rem;
}

body .entry-content h1, body .entry-content h2, body .entry-content h3 {
    padding-bottom: 0.7rem;
    border-bottom: 3px solid #2d5016;
}
body .entry-content h1, body .entry-content h2, body .entry-content h3, body .entry-content h4, body .entry-content h5, body .entry-content h6 {
    color: #2d5016;
    margin: 0 0 20px 0;
}
body .entry-content h1 {
    font-size: 2rem;
}
body .entry-content h2 {
    font-size: 1.8rem;
    border-width: 2px;
}
body .entry-content h3 {
    border-width: 1px;
}
body .entry-content h5 {
    font-size: 1.125rem;
}
body .entry-content h6 {
    font-size: 1rem;
}