/* Inhaltselemente (Text/Bild-Blöcke, Tabellen, Slideshows, eingebettete Inhalte) */

.csc-frame-frame1 {
  background: #fde897;
  padding: 5px;
}

/* ---------- Text mit Bildern ---------- */

.csc-textpic-imagewrap {
  padding: 0;
  max-width: 100%;
}

.csc-textpic img {
  border: 0;
  vertical-align: bottom;
}

.csc-textpic-border .csc-textpic-image img,
.csc-textpic-border .csc-textpic-single-image img {
  border: 2px solid #f0c95e;
}

.csc-textpic-imagewrap ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.csc-textpic-imagewrap li,
.csc-textpic-imagewrap dl.csc-textpic-image {
  float: left;
  margin: 0;
  padding: 0;
}

.csc-textpic-imagewrap .csc-textpic-image {
  margin-bottom: 10px;
}

.csc-textpic-imagewrap dl.csc-textpic-image dt,
.csc-textpic-imagewrap dl.csc-textpic-image dd {
  margin: 0;
}

.csc-textpic-single-image img {
  margin-bottom: 10px;
}

.csc-textpic-imagerow {
  clear: both;
}

.csc-textpic-imagerow-last,
.csc-textpic-imagerow-last .csc-textpic-image {
  margin-bottom: 0;
}

.csc-textpic-clear {
  clear: both;
}

.csc-textpic-center {
  text-align: center;
}

.csc-textpic-center .csc-textpic-imagewrap {
  margin: 0 auto;
}

.csc-textpic-center .csc-textpic-image,
.csc-textpic-center .csc-textpic-text {
  text-align: left;
}

.csc-textpic-above .csc-textpic-text {
  clear: both;
}

.csc-textpic-intext-right .csc-textpic-imagewrap {
  float: right;
  margin-left: 10px;
}

.csc-textpic-intext-left .csc-textpic-imagewrap {
  float: left;
  margin-right: 10px;
}

.csc-textpic-intext-left ul,
.csc-textpic-intext-left ol {
  padding-left: 40px;
  overflow: auto;
}

.csc-textpic-caption {
  margin: 0;
}

/* Bildergalerien: gleich breite Spalten statt fester Pixelbreiten auf kleinen Bildschirmen */
@media (max-width: 719px) {
  .csc-textpic-imagewrap {
    float: none !important;
    margin: 0 !important;
    width: auto !important;
  }

  .csc-textpic-intext-right .csc-textpic-imagewrap,
  .csc-textpic-intext-left .csc-textpic-imagewrap {
    margin-bottom: 10px !important;
    text-align: center;
  }

  .csc-textpic-imagerow li,
  .csc-textpic-imagerow dl.csc-textpic-image {
    width: 50%;
    box-sizing: border-box;
    padding: 0 3px;
  }

  .csc-textpic-imagerow li img {
    width: 100%;
  }
}

/* ---------- Tabellen (Preise, Ausflugsziele) ---------- */

.contenttable {
  border-collapse: collapse;
  max-width: 100%;
}

.contenttable td,
.contenttable th {
  vertical-align: top;
}

@media (max-width: 719px) {
  .contenttable {
    display: block;
    overflow-x: auto;
  }
}

/* ---------- Hilfsklassen aus ehemaligen Inline-Styles/Attributen ---------- */

.text-center,
.align-center {
  text-align: center;
}

.text-left,
.align-left {
  text-align: left;
}

.align-right {
  text-align: right;
}

.align-justify {
  text-align: justify;
}

table.align-center {
  margin-left: auto;
  margin-right: auto;
}

.valign-top {
  vertical-align: top;
}

.font-small {
  font-size: small;
}

.font-medium {
  font-size: medium;
}

.font-large {
  font-size: large;
}

.text-red {
  color: #f00;
}

.mr-210 {
  margin-right: 210px;
}

/* ---------- Bildwechsel (Startseite 700x370, Unterseiten 700x260) ---------- */

#bildwechsel,
.tx-imagecycle-pi1-images {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

#bildwechsel {
  aspect-ratio: 700 / 370;
}

.tx-imagecycle-pi1-images {
  aspect-ratio: 700 / 260;
}

[data-slideshow] > * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  transition: opacity 3s ease-in-out;
}

[data-slideshow] > *:first-child,
[data-slideshow] > .is-active {
  opacity: 1;
}

.js-slideshow > *:first-child:not(.is-active) {
  opacity: 0;
}

[data-slideshow] img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Eingebettete externe Inhalte (nur nach Zustimmung) ---------- */

.embed iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}

.embed-placeholder {
  box-sizing: border-box;
  padding: 14px;
  border: 1px solid #e99b37;
  background: #fff8e0;
  text-align: center;
}

.embed-placeholder p {
  margin: 0 0 8px;
}

.embed-load {
  padding: 8px 16px;
  border: 1px solid #e99b37;
  background: #f0c95e;
  font: bold 13px Arial, Helvetica, sans-serif;
  color: #630;
  cursor: pointer;
}

.embed-load:hover,
.embed-load:focus-visible {
  background: #e99b37;
  color: #fff;
}

.embed[data-embed="maps"] {
  min-height: 150px;
}

.weather-box {
  width: 180px;
  max-width: 100%;
  background: #fde585;
  color: #630;
  font-size: 11px;
}

.weather-box .embed-placeholder {
  padding: 8px;
}

.weather-box img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ---------- Video ---------- */

#content video {
  display: block;
  max-width: 100%;
  height: auto;
}
