/*
 Theme Name:   Divi Child
 Theme URI:    https://example.com
 Description:  Child Theme für Divi
 Author:       Dein Name
 Author URI:   https://example.com
 Template:     Divi
 Version:      1.0.0
*/

/* ==============================
   Imports
   ============================== */
@import url("css/fonts.css");
@import url("css/typography.css");
@import url("css/main-nav.css");
@import url("css/page-header.css");
@import url("css/newsletter.css");

/* ==============================
   Base Styles
   ============================== */
body {
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 1.125rem !important;
}

/* Allgemeine Section-Abstände */
.et_pb_section {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

.et_pb_section:nth-child(1) {
  padding-top:0 !important;
  padding-bottom: 0 !important;
}

/* ==============================
   Components
   ============================== */

/* Fact Icon */
.fact-icon .et_pb_icon_wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 6rem;
  width: 6rem;
  padding: 1.5rem;
  border-radius: 5rem;
}

.fact-icon .et-pb-icon {
  font-size: 3rem !important;
}

/* Icon List */
.et_pb_icon_list .et_pb_icon_list_item {
  gap: 0.25rem;
}

/* Aktuelles Section */
.aktuelles .post-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
  height: 100%;
}

.aktuelles .post-content-inner {
  flex: 1;
}

/* More-Link (z. B. Post Carousel) */
.more-link {
  display: inline-block;
  align-self: flex-end;
  width: fit-content;
  padding: 0.5rem 1rem;
  background-color: var(--gcid-primary-color);
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 0.4rem;
  transition: background 0.3s;
}

.more-link:hover,.et_pb_button:hover  {
  background-color: #00595e;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.2)
}



/* ==============================
   Layout Adjustments
   ============================== */
#main-content .et_pb_section:last-of-type {
  padding-bottom: 3rem;
}

#main-content ul, #main-content ol {
  display: flex;
	flex-direction: column;
	gap:.5rem;
}

#main-content ul li {
  list-style-type: square
}

#main-content ol {
	list-style-position: outside;
  	padding-left: 1em;
}

#main-content ul li::marker,#main-content ol li::marker  {
  color: var(--gcid-primary-color);
	font-weight: 700;
}

body #main-content .green-backgrounded ul li::marker{
  color: #ffffff;
}
/* ==============================
   BLOG GRID HOME PAGE
   ============================== */
.et_pb_blog_grid img {
  aspect-ratio: 16/9;
  object-fit: cover;
}

.aktuelles .et_pb_button_0::before {
	left:0 !important;
}

/* ==============================
   Footer
   ============================== */
/* Entferne Aufzählungs-Punkte / Marker */
#menu-footermenu li::before,
.wp-block-social-links li::before {
  display: none;
}

/* Menülinks groß */
#menu-footermenu li a {
  text-transform: uppercase;
}

/* Footer widget list — kein Abstand links */
#footer-widgets .footer-widget li {
  padding-left: 0;
}

/* Sekundäre Nav */
#et-secondary-nav a {
  color: white;
}

/* Footer-Widget Layout */
#footer-widgets,
.footer-widget {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

/* Letztes Menü-Item */
#menu-footermenu li:last-of-type {
  margin-bottom: 0 !important;
}

/* Widgets Styling */
.et_pb_widget {
  float: none !important;
  margin-bottom: 2rem !important;
}

.et_pb_widget img {
  max-width: 200px !important;
}

.et-social-icons li {
  margin-left: 10px;
}

/*Text Inner*/
.et_pb_text_inner,.mce-content-body,.et_pb_toggle_content {
	display:flex;
	flex-direction: column;
	gap:1rem;
}

/* Slider */
.et_pb_bg_layout_dark .et_pb_slide_description {
  text-shadow: none;
}

/* Recaptcha*/

.grecaptcha-badge {
	display:none;
}

/* Responsive Footer (Mobile) */
@media (max-width: 980px) {
  #footer-widgets .footer-widget:nth-child(n) {
    width: 100% !important;
    text-align: center !important;
    margin-bottom: 2rem !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  #footer-widgets {
    flex-direction: column;
  }

  .et-social-icons {
    float: none;
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
	  gap: 1rem;
  }

  .et-social-icons li {
    margin: 0;
    padding: 0;
  }
}

.acht-gute-gruende .et_pb_text_inner {
	display: flex;
    flex-direction: column;
    gap:1rem;	
}

.aktuelle-stellen .et_pb_column {
	overflow: visible !Important;
}

.et_pb_slide_title {
 	padding-bottom:0 !important; 
}