/* Zusätzliches Theme-CSS (vormals WordPress › Anpassen › Zusätzliches CSS) */

/*-- Vision --*/
.page-three-column {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 40px 20px;
}

.page-three-column .col {
  flex: 1 1 200px;
  max-width: 250px;
  background: rgba(255, 255, 255, 0.85);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: left;
}

/* Unsichtbare Break-Spalte */
.page-three-column .break {
  flex-basis: 100%;
  height: 0;
}

@media (max-width: 992px) {
  .page-three-column:not(.mygroup-org) .col {
    flex: 1 1 45%;
  }
}

@media (max-width: 600px) {
  .page-three-column:not(.mygroup-org) .col {
    flex: 1 1 100%;
  }
}

/*---Slider---*/
.app-screenshot-slider .smart-slider {
  width: 100% !important;
  max-width: 360px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 10px;
}

@media (max-width: 400px) {
  .app-screenshot-slider .smart-slider {
    max-width: 100% !important;
  }
}

/* 1. Seitentitel ausblenden */
.page .entry-title {
  display: none;
}

/* 2. Hauptinhalt mit Hintergrundbild (lokal: /wp-content/...) */
.page .content-area {
  background-image: url("/assets/images/wg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 60px 20px;
}

.page-three-column .col {
  background: rgba(255, 255, 255, 0.8);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/*----Listenelemente--*/
.page-three-column .col ul {
  padding-left: 2px;
  margin-left: 0;
  list-style-position: inside;
  font-size: 0.9rem;
}

.page-three-column .col li {
  text-indent: -20px;
  padding-left: 10px;
  margin-bottom: 4px;
}

.page .content-area {
  position: relative;
  background-image: url("/assets/images/wg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 60px 20px;
  z-index: 0;
}

.page .content-area::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
  pointer-events: none;
}

.page .content-area > * {
  position: relative;
  z-index: 2;
}

.flowtext-three-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1100px;
  margin: 40px auto;
  padding: 5px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.flowtext-three-container .col {
  flex: 1 1 260px;
  margin: 15px;
  padding: 10px;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  text-align: left;
  min-width: 0;
  box-sizing: border-box;
}

@media (max-width: 992px) {
  .flowtext-three-container .col {
    flex: 1 1 45%;
  }
}

@media (max-width: 600px) {
  .flowtext-three-container {
    padding: 0.75rem;
  }

  .flowtext-three-container .col {
    flex: 1 1 100%;
  }
}

/* ===GLOBAL ============== */
h1,
h2,
h3,
p,
ul,
li {
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #444;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a1a1a;
}

h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #0e1d31;
}

h3 {
  font-size: 1.2rem;
  font-weight: 500;
  color: #0e1d31;
}

p {
  font-size: 1rem;
}

ul {
  padding-left: 2px;
  margin-left: 0;
  list-style-position: inside;
}

li {
  text-indent: -20px;
  padding-left: 10px;
  margin-bottom: 4px;
  font-size: 1rem;
}

.title-col-image {
  border: 1px solid #000000;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.mygroup-org {
  display: grid;
  gap: 30px;
  width: 100%;
  box-sizing: border-box;
  align-items: stretch;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1024px) {
  .mygroup-org {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .mygroup-org {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 440px) {
  .mygroup-org {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* .col nur als Grid-Zelle: Padding/Hintergrund liegen auf dem Link = volle Fläche klickbar */
.page-three-column.mygroup-org > .col,
.mygroup-org.page-three-column > .col {
  padding: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  flex: unset;
  min-width: 0;
}

.mygroup-org .col {
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  min-height: 0;
  height: 100%;
}

/* Ganze Organisations-Karte = dieser Block (tr/de/en organisation.html) */
.mygroup-org .col a.mygroup-org-card {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  align-self: stretch;
  min-height: 100%;
  box-sizing: border-box;
  padding: 20px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  color: inherit;
  text-decoration: none;
  outline-offset: 3px;
  transition: box-shadow 0.15s ease;
}

.mygroup-org .col a.mygroup-org-card:hover,
.mygroup-org .col a.mygroup-org-card:focus-visible {
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

.mygroup-org .col img {
  width: 100%;
  max-width: 180px;
  height: auto;
  display: block;
}

.mygroup-org .col h2 {
  margin: 12px 0 6px;
  font-size: 1.05rem;
  line-height: 1.35;
}

.mygroup-org .col p {
  margin: 0 0 10px;
}

.mygroup-org .col ul {
  margin: 0;
  padding-left: 18px;
  list-style-position: outside;
}

.mygroup-org .col li {
  text-indent: 0;
  padding-left: 0;
  margin-bottom: 6px;
}

@media (max-width: 600px) {
  .mygroup-org {
    grid-template-columns: 1fr;
  }
}

body #wrapper.site.wp-site-blocks #main-header {
  display: block !important;
}

body #wrapper.site.wp-site-blocks #mobile-header {
  display: none !important;
}

@media screen and (max-width: 1024px) {
  body #wrapper.site.wp-site-blocks #main-header {
    display: none !important;
  }

  body #wrapper.site.wp-site-blocks #mobile-header {
    display: block !important;
  }
}
