/* One continuous paper surface through the course sections. The same two
 * contour paths as the approved full-page draft repeat at the outer edges. */
@layer physicum-aussenwellen {
  body.page-id-1599 #physicum-kurse-draft > main.pc-lined-content:has(> #kurse[data-pc-kursring]) {
    background-color: #fcfcf9 !important;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20900%22%20preserveAspectRatio%3D%22none%22%3E%3Cg%3E%3Cpath%20d%3D%22M29.36%200C29.36%20117.00%2079.00%20171.00%2079.00%20279.00S6.00%20477.00%206.00%20594.00S29.36%20810.00%2029.36%20900H0V0Z%22%20fill%3D%22%23f0f3ef%22%2F%3E%3Cpath%20d%3D%22M29.36%200C29.36%20117.00%2079.00%20171.00%2079.00%20279.00S6.00%20477.00%206.00%20594.00S29.36%20810.00%2029.36%20900%22%20transform%3D%22translate(7.80%200)%22%20fill%3D%22none%22%20stroke%3D%22%2352763e%22%20stroke-opacity%3D%220.22%22%20stroke-width%3D%220.9%22%20vector-effect%3D%22non-scaling-stroke%22%2F%3E%3Cpath%20d%3D%22M29.36%200C29.36%20117.00%2079.00%20171.00%2079.00%20279.00S6.00%20477.00%206.00%20594.00S29.36%20810.00%2029.36%20900%22%20transform%3D%22translate(15.60%200)%22%20fill%3D%22none%22%20stroke%3D%22%2352763e%22%20stroke-opacity%3D%220.17%22%20stroke-width%3D%220.8%22%20vector-effect%3D%22non-scaling-stroke%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E"),url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20900%22%20preserveAspectRatio%3D%22none%22%3E%3Cg%20transform%3D%22translate(100%20900)%20scale(-1%20-1)%22%3E%3Cpath%20d%3D%22M46.68%200C46.68%20117.00%2097.00%20171.00%2097.00%20279.00S23.00%20477.00%2023.00%20594.00S46.68%20810.00%2046.68%20900H0V0Z%22%20fill%3D%22%23f0f3ef%22%2F%3E%3Cpath%20d%3D%22M46.68%200C46.68%20117.00%2097.00%20171.00%2097.00%20279.00S23.00%20477.00%2023.00%20594.00S46.68%20810.00%2046.68%20900%22%20transform%3D%22translate(-7.80%200)%22%20fill%3D%22none%22%20stroke%3D%22%2352763e%22%20stroke-opacity%3D%220.22%22%20stroke-width%3D%220.9%22%20vector-effect%3D%22non-scaling-stroke%22%2F%3E%3Cpath%20d%3D%22M46.68%200C46.68%20117.00%2097.00%20171.00%2097.00%20279.00S23.00%20477.00%2023.00%20594.00S46.68%20810.00%2046.68%20900%22%20transform%3D%22translate(-15.60%200)%22%20fill%3D%22none%22%20stroke%3D%22%2352763e%22%20stroke-opacity%3D%220.17%22%20stroke-width%3D%220.8%22%20vector-effect%3D%22non-scaling-stroke%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") !important;
    background-size: clamp(8px,max(3.3vw,calc((100% - 1280px) / 2 - 14px)),160px) var(--physicum-welle-laenge) !important;
    background-position: left top, right top !important;
    background-repeat: repeat-y !important;
  }
  body.page-id-1599 #physicum-kurse-draft > main.pc-lined-content:has(> #kurse[data-pc-kursring])::before,
  body.page-id-1599 #physicum-kurse-draft > main.pc-lined-content:has(> #kurse[data-pc-kursring])::after {
    content: none !important;
  }
}

@layer physicum-aussenwellen {
  @media (max-width:767px) {
    body.page-id-1599 #physicum-kurse-draft > main.pc-lined-content:has(> #kurse[data-pc-kursring]) { background-image: none !important; }
    body.page-id-1599 #physicum-kurse-draft > main.pc-lined-content:has(> #kurse[data-pc-kursring])::before,
    body.page-id-1599 #physicum-kurse-draft > main.pc-lined-content:has(> #kurse[data-pc-kursring])::after { content: "" !important; }
  }
}

#physicum-kurse-draft #kurse[data-pc-kursring] {
  padding: 0;
  overflow: clip;
  box-sizing: border-box;
}
/* Keep the whole carousel in view below the live navigation and the title. */
@media (min-width: 768px) and (max-height: 780px) {
  #physicum-kurse-draft .orbit-intro:has(+ #kurse[data-pc-kursring]) {
    padding-block: 12px 0 !important;
  }
  #physicum-kurse-draft .orbit-intro:has(+ #kurse[data-pc-kursring]) p:last-child {
    margin-top: 10px !important;
  }
}
#physicum-kurse-draft #kurse[data-pc-kursring] .ring-stage {
  position: relative;
  width: min(96%, 1200px);
  height: clamp(175px, 42vh, 385px);
  margin: clamp(5px, 1.4vh, 15px) auto 0;
  padding: 0;
  perspective: none;
  user-select: none;
  touch-action: pan-y;
  overscroll-behavior-x: contain;
}
#physicum-kurse-draft #kurse.pc-ring-bereit .ring-stage {
  display: block;
  overflow: visible;
  cursor: grab;
}
#physicum-kurse-draft #kurse.pc-ring-bereit .ring-stage:active { cursor: grabbing; }
#physicum-kurse-draft #kurse.pc-ring-bereit .ring-stage::before {
  content: "";
  position: absolute;
  inset: 72% 9% 1%;
  background: radial-gradient(ellipse, #25392526, #5262470e 43%, transparent 70%);
  pointer-events: none;
}
#physicum-kurse-draft #kurse.pc-ring-bereit .ring-card {
  box-sizing: border-box;
  position: absolute;
  left: 50%;
  top: 59%;
  display: block;
  width: min(45.24%,487.2px,48.72vh);
  height: auto;
  /* A wider crop at the approved card height (16% wider, 20% wider orbit). */
  aspect-ratio: 1.7168;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  transform-style: preserve-3d;
  will-change: transform;
  outline-offset: 5px;
}
#physicum-kurse-draft #kurse.pc-ring-bereit .ring-surface,
#physicum-kurse-draft #kurse.pc-ring-bereit .ring-card::after {
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  border: 1px solid #29452c30;
  border-radius: 9px;
  overflow: hidden;
  background-color: #425f43;
  box-shadow: 0 6px 18px #1d33232e, 0 1px 2px #243b2b3d;
}
#physicum-kurse-draft #kurse.pc-ring-bereit .ring-card::after {
  content: "";
  visibility: hidden;
  transform: rotateY(180deg);
  border-color: #dce3d9;
  background: radial-gradient(ellipse at center, transparent 52%,#edf2e438 52.5%, transparent 53.5%),
    linear-gradient(115deg,#9da99b,#4d6551 65%,#354b3c);
  pointer-events: none;
}
#physicum-kurse-draft #kurse.pc-ring-bereit .pc-ring-back .ring-surface { visibility: hidden; }
#physicum-kurse-draft #kurse.pc-ring-bereit .pc-ring-back::after { visibility: visible; }
#physicum-kurse-draft #kurse.pc-ring-bereit .ring-surface img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}
#physicum-kurse-draft #kurse.pc-ring-bereit .ring-copy {
  box-sizing: border-box;
  padding: clamp(12px,1.8vw,22px);
  background: linear-gradient(165deg,#0e221a00 30%,#0d211998 76%,#10261ce8);
  color: white;
  text-shadow: 0 1px 6px #11201866;
}
#physicum-kurse-draft #kurse.pc-ring-bereit .ring-copy .eyebrow {
  color: white;
  font: 400 clamp(7px,.65vw,9px)/1.45 Arial,sans-serif;
  letter-spacing: .17em;
  margin: 0 0 5px;
}
#physicum-kurse-draft #kurse.pc-ring-bereit .ring-copy h2 {
  color: white;
  font: 400 clamp(19px,2.3vw,36px)/1.04 Georgia,serif;
  letter-spacing: -.045em;
  margin: 0;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
#physicum-kurse-draft #kurse.pc-ring-bereit .ring-copy p:not(.eyebrow) { display: none; }
#physicum-kurse-draft #kurse.pc-ring-bereit .ring-copy span {
  font: 400 11px/1.35 Arial,sans-serif;
  margin-top: 8px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
#physicum-kurse-draft #kurse .ring-stage:focus-visible,
#physicum-kurse-draft #kurse .ring-card:focus-visible { outline: 3px solid #548342; outline-offset: 3px; }
@media (max-width:650px) {
  #physicum-kurse-draft #kurse[data-pc-kursring] .ring-stage { width: 100%; height: clamp(164px,35vh,270px); }
  #physicum-kurse-draft #kurse.pc-ring-bereit .ring-card { width: min(64.9%,330px,39.6vh); aspect-ratio: 1.628; }
  #physicum-kurse-draft #kurse.pc-ring-bereit .ring-copy span { font-size: 10px; margin-top: 5px; }
}
@media (max-height:630px) and (min-width:651px) {
  #physicum-kurse-draft #kurse[data-pc-kursring] .ring-stage { height: 34vh; min-height: 134px; }
}
@media (min-width: 768px) and (max-height: 690px) {
  #physicum-kurse-draft #kurse[data-pc-kursring] .ring-stage { max-height: 35vh; }
}
