/* 
Theme Name: DI YourTech
Description: Childtheme 
Author: Designers Inn 
Template: di-basis 
Version: 1.4 
*/

#main-header, #main-header .nav li ul, .et-search-form, #main-header .et_mobile_menu {
background: rgba(255, 255, 255, 0.7) !important;

}
/* Beim Scrollen den transparenten Verlauf entfernen */
#main-header.et-fixed-header,
#main-header.et-fixed-header .nav li ul,
#main-header.et-fixed-header .et_mobile_menu,
.et-fixed-header .et-search-form {
    background-image: none !important;
	 background-color: #ffffff !important;
}

.et_pb_widget_area_left {
    border-right-width: 0;
}
.sub-menu {min-width:300px;}
#top-menu li li a {width: 300px;}

#sidebar h1, #sidebar h2, #sidebar h3, #sidebar h4 {
    margin-bottom: 2px !important; /* Wert nach Wunsch anpassen */
}

.study-comment-box {
background: #f5f7fa;
border-left: 5px solid #2c6fb7;
padding: 22px;
margin: 30px 0;
font-size: 1.05em;
}

.custom-sidebar-cats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 2px;
}

.sidebar-category-block {
  padding-bottom: 10px;
  border-bottom: 3px solid #ddd;
}

.sidebar-category-title {
  margin-bottom: 5px;
  font-size: 28px;
  line-height: 1.3;
}

.sidebar-category-title a {
  text-decoration: none;
}

.sidebar-category-posts {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-category-posts li {
  margin-bottom: 8px;
}

.sidebar-category-posts a {
  text-decoration: none;
  line-height: 1.4;
}

.pp-test-section {
  max-width: 1100px;
  margin: 0 auto;
}

.pp-section-title {
  font-size: 28px;
  line-height: 1.3;
  margin-bottom: 34px;
}

.pp-test-question {
  margin-bottom: 34px;
}

.pp-question-number {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.pp-question-text {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 18px;
}

.pp-answer-group {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.pp-answer {
  display: block;
  cursor: pointer;
}

.pp-answer input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pp-answer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 10px;
  border: 2px solid #d6d6d6;
  border-radius: 8px;
  background: #ffffff;
  transition: all 0.2s ease;
  text-align: center;
}

.pp-answer-text {
  font-size: 15px;
  line-height: 1.3;
}

.pp-answer:hover .pp-answer-content {
  border-color: #999999;
}

.pp-answer input:checked + .pp-answer-content {
  border-color: #44596e;
  background: #f5f7f9;
  box-shadow: 0 0 0 1px #44596e;
}

.pp-answer input:focus-visible + .pp-answer-content {
  outline: 3px solid rgba(68, 89, 110, 0.3);
  outline-offset: 3px;
}

@media (max-width: 767px) {

  .pp-section-title {
    font-size: 24px;
    margin-bottom: 28px;
  }

  .pp-test-question {
    margin-bottom: 30px;
  }

  .pp-question-text {
    font-size: 18px;
  }

  .pp-answer-group {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .pp-answer-content {
    min-height: 64px;
    padding: 10px 12px;
  }

  .pp-answer-text {
    font-size: 15px;
  }

}