:root {
  --hp-bg: #000000;
  --hp-bg-soft: #020709;
  --hp-text: #edfdfa;
  --hp-soft: rgba(232, 251, 247, 0.80);
  --hp-dim: rgba(222, 246, 241, 0.56);
  --hp-glow: #8bffea;
  --hp-card: rgba(10, 30, 34, 0.34);
  --hp-card-border: rgba(214, 255, 248, 0.16);
  --hp-card-shadow: 0 28px 84px rgba(0, 0, 0, 0.44), inset 0 1px 0 rgba(255,255,255,0.10), 0 0 32px rgba(123, 255, 232, 0.09);
}

body.hp-med-portal-preview-page,
body.hp-med-portal-preview-page #page-container,
body.hp-med-portal-preview-page #main-content {
  background: #000 !important;
}

body.hp-med-portal-preview-page .et_pb_section,
body.hp-med-portal-preview-page .entry-content,
body.hp-med-portal-preview-page .container,
body.hp-med-portal-preview-page .et_pb_row,
body.hp-med-portal-preview-page .et-l--post {
  max-width: none !important;
  width: auto !important;
  padding: 0 !important;
}

.hp-med-portal {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 100vh;
  color: var(--hp-text);
  background:
    radial-gradient(circle at 50% 28%, rgba(32, 135, 122, 0.10), transparent 24%),
    radial-gradient(circle at 88% 82%, rgba(34, 134, 129, 0.08), transparent 26%),
    linear-gradient(180deg, #000 0%, #010406 38%, #000 100%);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.hp-med-portal * { box-sizing: border-box; }

.hp-med-portal__bg,
.hp-med-portal__noise,
.hp-med-portal__vignette,
.hp-med-portal__glow,
.hp-med-portal__path,
.hp-med-feature {
  pointer-events: none;
}

.hp-med-portal__bg {
  position: absolute;
  inset: 0;
  background-image: image-set(
    url('../img/01-portal-background-hd-2160x3840.png') 1x,
    url('../img/01-portal-background-hd-3840x2160.png') 2x
  );
  background-position: center top;
  background-size: cover;
  opacity: 0.14;
  filter: brightness(0.34) saturate(0.64) contrast(1.05);
}

.hp-med-portal__noise {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: radial-gradient(rgba(255,255,255,0.65) 0.55px, transparent 0.65px);
  background-size: 9px 9px;
  mask-image: radial-gradient(circle at center, black 42%, transparent 96%);
}

.hp-med-portal__vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 40%, transparent 16%, rgba(0, 0, 0, 0.30) 62%, rgba(0, 0, 0, 0.94) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.82) 0%, transparent 14%, transparent 86%, rgba(0,0,0,0.82) 100%);
}

.hp-med-portal__glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(96px);
  opacity: 0.22;
  background: radial-gradient(circle, rgba(129,255,231,0.62), rgba(129,255,231,0));
}

.hp-med-portal__glow--a {
  width: 560px;
  height: 560px;
  top: -160px;
  left: -70px;
}

.hp-med-portal__glow--b {
  width: 640px;
  height: 640px;
  right: -120px;
  bottom: 100px;
}

.hp-med-portal__inner {
  position: relative;
  z-index: 2;
  width: min(1440px, calc(100% - 54px));
  margin: 0 auto;
  padding: 24px 0 32px;
}

.hp-med-portal__path {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(1780px, 132vw);
  opacity: 0.92;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 18px rgba(125,255,232,0.26)) drop-shadow(0 0 38px rgba(125,255,232,0.18));
}

.hp-med-portal__path--master {
  top: -10px;
}

.hp-med-portal__header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  min-height: 210px;
}

.hp-med-portal__brand {
  position: relative;
  display: block;
  width: clamp(200px, 22vw, 300px);
  margin-left: 42px;
  margin-top: 18px;
}

.hp-med-portal__logo {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 24px rgba(135,255,230,0.12)) drop-shadow(0 0 54px rgba(135,255,230,0.12));
}

.hp-med-portal__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 44px;
  margin-right: 120px;
}

.hp-med-portal__nav-item {
  appearance: none;
  background: transparent;
  border: 0;
  color: rgba(241,255,251,0.84);
  font-size: 18px;
  line-height: 1;
  padding: 10px 2px 14px;
  position: relative;
  cursor: pointer;
  transition: color .22s ease, transform .22s ease;
}

.hp-med-portal__nav-item::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(126,255,231,0.06), rgba(215,255,249,0.95), rgba(126,255,231,0.06));
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity .22s ease, transform .22s ease;
}

.hp-med-portal__nav-item:hover,
.hp-med-portal__nav-item.is-active { color: #fff; }
.hp-med-portal__nav-item:hover::after,
.hp-med-portal__nav-item.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.hp-med-portal__hero {
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 360px;
  margin-top: -20px;
}

.hp-med-portal__hero-copy { max-width: 760px; }

.hp-med-portal__title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(68px, 7.4vw, 118px);
  line-height: 0.90;
  font-weight: 500;
  letter-spacing: -0.045em;
  color: rgba(245,255,252,0.96);
  text-shadow: 0 0 22px rgba(171,255,240,0.10);
}

.hp-med-portal__subtitle {
  margin: 28px 0 0;
  font-size: clamp(22px, 2vw, 34px);
  line-height: 1.35;
  color: rgba(229, 250, 245, 0.82);
}

.hp-med-portal__cta {
  appearance: none;
  border: 1px solid rgba(182,255,243,0.20);
  cursor: pointer;
  border-radius: 999px;
  padding: 16px 32px;
  min-width: 220px;
  margin-top: 32px;
  font-size: 28px;
  line-height: 1;
  color: #ecfffb;
  background: linear-gradient(180deg, rgba(32,104,101,0.66), rgba(15,76,75,0.78));
  box-shadow: 0 14px 34px rgba(0,0,0,0.24), inset 0 1px 0 rgba(255,255,255,0.10), 0 0 22px rgba(122,255,230,0.12);
  transition: transform .22s ease, box-shadow .22s ease;
}

.hp-med-portal__cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.30), inset 0 1px 0 rgba(255,255,255,0.12), 0 0 28px rgba(122,255,230,0.16);
}

.hp-med-portal__cta--small {
  margin-top: 16px;
  padding: 14px 22px;
  min-width: 0;
  font-size: 18px;
}

.hp-med-portal__stage {
  position: relative;
  min-height: 1320px;
  margin-top: 88px;
}

.hp-med-feature {
  position: absolute;
  right: 182px;
  top: 500px;
  width: clamp(590px, 45vw, 810px);
  opacity: 0.98;
  z-index: 1;
  filter: drop-shadow(0 0 28px rgba(122,255,230,0.12));
}

.hp-med-feature img,
.hp-med-tile__visual img {
  width: 100%;
  height: auto;
  display: block;
}

.hp-med-tile {
  position: absolute;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  padding: 26px 28px;
  border-radius: 28px;
  background: transparent;
  cursor: pointer;
  transition: transform .24s ease, filter .24s ease;
  outline: none;
  z-index: 3;
}

.hp-med-tile:focus-visible,
.hp-med-tile:hover {
  transform: translateY(-5px);
  filter: brightness(1.03);
}

.hp-med-tile__glass {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(10,32,37,0.50), rgba(6,18,21,0.66));
  border: 1px solid var(--hp-card-border);
  box-shadow: var(--hp-card-shadow);
  backdrop-filter: blur(16px) saturate(125%);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
}

.hp-med-tile::before {
  content: "";
  position: absolute;
  inset: 1px 1px auto 1px;
  height: 34%;
  border-radius: 27px 27px 84px 84px;
  background: linear-gradient(180deg, rgba(255,255,255,0.11), rgba(255,255,255,0));
  opacity: 0.40;
}

.hp-med-tile__content,
.hp-med-tile__visual { position: relative; z-index: 1; }

.hp-med-tile__content {
  width: min(100%, 360px);
  padding-right: 18px;
}

.hp-med-tile__eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 11px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: rgba(205,255,247,0.58);
}

.hp-med-tile h2 {
  margin: 0;
  font-size: clamp(26px, 2.05vw, 44px);
  line-height: 1.06;
  font-weight: 500;
  letter-spacing: -0.045em;
  color: rgba(245,255,252,0.98);
}

.hp-med-tile ul {
  margin: 18px 0 0;
  padding-left: 24px;
}

.hp-med-tile li {
  margin: 10px 0;
  font-size: clamp(18px, 1.38vw, 28px);
  line-height: 1.3;
  color: rgba(229,250,246,0.84);
}

.hp-med-tile__visual {
  position: absolute;
  right: -12px;
  bottom: -20px;
  width: 42%;
  min-width: 164px;
  max-width: 360px;
}

.hp-med-tile__visual img {
  filter: drop-shadow(0 0 20px rgba(122,255,230,0.10));
}

.tile-ausbildungen {
  top: 120px;
  left: 88px;
  width: clamp(390px, 31vw, 500px);
  min-height: 248px;
}

.tile-ausbildungen .hp-med-tile__visual {
  width: 42%;
  right: -6px;
  bottom: -12px;
}

.tile-seminare {
  top: 190px;
  right: 130px;
  width: clamp(360px, 28vw, 440px);
  min-height: 238px;
}

.tile-seminare .hp-med-tile__visual {
  width: 45%;
  left: -18px;
  right: auto;
  bottom: -10px;
}

.tile-seminare .hp-med-tile__content {
  margin-left: auto;
  width: min(100%, 240px);
  padding-right: 0;
}

.tile-lernplattform {
  top: 470px;
  left: 310px;
  width: clamp(420px, 31vw, 540px);
  min-height: 252px;
}

.tile-lernplattform .hp-med-tile__visual {
  width: 47%;
  right: -10px;
  bottom: -28px;
}

.tile-lehrpraxis {
  top: 860px;
  left: 648px;
  width: clamp(420px, 31vw, 520px);
  min-height: 218px;
  z-index: 4;
}

.tile-lehrpraxis .hp-med-tile__visual {
  display: none;
}

.tile-partner {
  top: 1148px;
  right: 86px;
  width: clamp(392px, 30vw, 468px);
  min-height: 244px;
  z-index: 3;
}

.tile-partner .hp-med-tile__visual {
  width: 44%;
  right: -18px;
  bottom: -18px;
}

.hp-med-portal__footer {
  position: relative;
  margin-top: -10px;
  padding-left: 14px;
  padding-bottom: 16px;
}

.hp-med-portal__socials {
  display: flex;
  gap: 18px;
}

.hp-med-portal__socials a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(12, 35, 38, 0.46);
  border: 1px solid rgba(205,255,247,0.11);
  box-shadow: 0 8px 22px rgba(0,0,0,0.22);
}

.hp-med-portal__socials img {
  width: 18px;
  height: 18px;
  opacity: 0.95;
}

.hp-med-modal[hidden] { display: none; }
.hp-med-modal { position: fixed; inset: 0; z-index: 9999; }

.hp-med-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,10,14,0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hp-med-modal__panel {
  position: relative;
  width: min(920px, calc(100% - 32px));
  margin: min(8vh, 72px) auto 0;
  border-radius: 30px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(12,36,39,0.92), rgba(4,18,23,0.94));
  border: 1px solid rgba(210,255,247,0.16);
  box-shadow: 0 30px 80px rgba(0,0,0,0.45), 0 0 40px rgba(122,255,230,0.10);
}

.hp-med-modal__close {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(240,255,251,0.86);
  font-size: 34px;
  position: absolute;
  top: 16px;
  right: 22px;
  cursor: pointer;
}

.hp-med-modal__kicker {
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(205,255,247,0.58);
}

.hp-med-modal__hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: center;
}

.hp-med-modal__visual {
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(17,56,58,0.42), rgba(7,27,30,0.68));
  border: 1px solid rgba(210,255,247,0.14);
  min-height: 360px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hp-med-modal__visual img {
  width: 90%;
  height: auto;
  display: block;
}

.hp-med-modal__copy h3 {
  margin: 0;
  font-size: clamp(34px, 3vw, 52px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.hp-med-modal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hp-med-modal__badge {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(127,255,229,0.14);
  border: 1px solid rgba(203,255,246,0.20);
  color: rgba(240,255,251,0.94);
}

.hp-med-modal__badge.is-soft { background: rgba(255,255,255,0.06); }

.hp-med-modal__text {
  margin: 18px 0 0;
  font-size: 19px;
  line-height: 1.65;
  color: var(--hp-soft);
}

@media (max-width: 1260px) {
  .hp-med-portal__inner { width: min(1180px, calc(100% - 28px)); }
  .hp-med-portal__nav { margin-right: 28px; gap: 14px; }
  .hp-med-portal__hero { min-height: 320px; }
  .hp-med-feature { right: 84px; top: 530px; width: clamp(520px, 48vw, 720px); }
  .tile-ausbildungen { left: 16px; }
  .tile-seminare { right: 22px; }
  .tile-lernplattform { left: 170px; }
  .tile-lehrpraxis { top: 850px; left: 500px; }
  .tile-partner { top: 1140px; right: 18px; }
}

@media (max-width: 980px) {
  .hp-med-portal__header {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-height: 0;
  }

  .hp-med-portal__brand { width: min(320px, 72vw); margin: 0; }
  .hp-med-portal__nav { margin: 0; gap: 10px 18px; }
  .hp-med-portal__nav-item { font-size: 16px; }
  .hp-med-portal__hero { margin-top: 8px; min-height: 250px; }
  .hp-med-portal__cta { min-width: 180px; font-size: 22px; padding: 14px 28px; }

  .hp-med-portal__path { display: none; }

  .hp-med-portal__stage {
    min-height: auto;
    display: grid;
    gap: 26px;
    margin-top: 48px;
    padding-bottom: 40px;
  }

  .hp-med-feature {
    position: relative;
    right: auto;
    top: auto;
    width: min(720px, 100%);
    margin: 0 auto -120px;
    order: 4;
    opacity: 0.88;
  }

  .hp-med-tile {
    position: relative;
    inset: auto !important;
    width: min(100%, 680px) !important;
    min-height: 0 !important;
    margin: 0 auto;
    padding: 22px 22px 170px;
  }

  .hp-med-tile__content { width: 100%; padding-right: 0; }
  .hp-med-tile h2 { font-size: clamp(30px, 6vw, 42px); }
  .hp-med-tile li { font-size: clamp(18px, 4vw, 24px); }
  .hp-med-tile__visual {
    width: min(72%, 320px) !important;
    right: 0 !important;
    left: auto !important;
    bottom: -24px !important;
  }

  .tile-seminare .hp-med-tile__content { margin-left: 0; width: 100%; }
  .tile-lehrpraxis { order: 5; }
  .tile-lehrpraxis .hp-med-tile__visual { display: block; }
  .tile-partner { order: 6; }
  .hp-med-modal__hero { grid-template-columns: 1fr; }
  .hp-med-modal__visual { min-height: 250px; }
}

@media (max-width: 640px) {
  .hp-med-portal__inner { width: calc(100% - 18px); padding-top: 18px; }
  .hp-med-portal__title { font-size: clamp(52px, 13vw, 74px); }
  .hp-med-portal__subtitle { font-size: 20px; }
  .hp-med-portal__cta { font-size: 20px; min-width: 0; width: auto; }
  .hp-med-tile { padding-bottom: 150px; border-radius: 24px; }
  .hp-med-tile__glass, .hp-med-tile::before { border-radius: 24px; }
  .hp-med-portal__socials { justify-content: center; gap: 14px; }
  .hp-med-portal__footer { padding-left: 0; margin-top: 0; }
  .hp-med-modal__panel { padding: 22px; }
  .hp-med-modal__text { font-size: 17px; }
}

.hp-med-feature[data-draggable-key] {
  pointer-events: auto;
}

.hp-med-layout-tools {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 10050;
  width: min(340px, calc(100vw - 24px));
  padding: 16px 16px 14px;
  border-radius: 18px;
  background: rgba(5, 18, 21, 0.84);
  border: 1px solid rgba(180, 255, 242, 0.18);
  box-shadow: 0 18px 44px rgba(0,0,0,0.38), 0 0 22px rgba(123,255,232,0.08);
  backdrop-filter: blur(16px) saturate(135%);
  -webkit-backdrop-filter: blur(16px) saturate(135%);
}

.hp-med-layout-tools__head {
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(214,255,248,0.72);
}

.hp-med-layout-tools__text {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(230, 250, 246, 0.84);
}

.hp-med-layout-tools__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.hp-med-layout-tools__btn {
  appearance: none;
  border: 1px solid rgba(182,255,243,0.16);
  background: rgba(15, 43, 47, 0.72);
  color: #ecfffb;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

.hp-med-layout-tools__btn.is-primary {
  background: linear-gradient(180deg, rgba(36,124,117,0.84), rgba(15,78,75,0.88));
}

.hp-med-layout-tools__btn.is-ghost {
  background: transparent;
}

.hp-med-layout-tools__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.hp-med-layout-tools__status {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.35;
  color: rgba(214,255,248,0.84);
}

.hp-med-layout-tools__status.is-error {
  color: #ffd3d3;
}

.hp-med-portal.is-layout-editing [data-draggable-key] {
  cursor: grab !important;
  user-select: none;
  touch-action: none;
}

.hp-med-portal.is-layout-editing [data-draggable-key]::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 30px;
  border: 1px dashed rgba(150,255,236,0.34);
  pointer-events: none;
}

.hp-med-portal.is-layout-editing .hp-med-portal__nav::after,
.hp-med-portal.is-layout-editing .hp-med-portal__hero-copy::after,
.hp-med-portal.is-layout-editing .hp-med-portal__socials::after,
.hp-med-portal.is-layout-editing .hp-med-feature::after,
.hp-med-portal.is-layout-editing .hp-med-portal__brand::after {
  border-radius: 20px;
}

.hp-med-portal.is-layout-editing [data-draggable-key].is-dragging {
  cursor: grabbing !important;
  filter: brightness(1.06);
}

.hp-med-layout-customized {
  margin: 0 !important;
}

@media (max-width: 1100px) {
  .hp-med-layout-tools {
    left: 12px;
    right: 12px;
    top: auto;
    bottom: 12px;
    width: auto;
  }
}

/* v1.0.0 editor + responsive stability */
.hp-med-portal__header,
.hp-med-portal__hero,
.hp-med-portal__stage,
.hp-med-portal__footer {
  overflow: visible;
}

.hp-med-portal__custom-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}

.hp-med-portal__custom-lines--draft {
  z-index: 2;
}

.hp-med-portal__nav {
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  max-width: min(100%, 760px);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.hp-med-portal__nav::-webkit-scrollbar {
  display: none;
}

.hp-med-layout-tools__section {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(180,255,242,0.10);
}

.hp-med-layout-tools__label {
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(214,255,248,0.60);
}

.hp-med-layout-tools__selected {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.35;
  color: rgba(240,255,251,0.94);
}

.hp-med-layout-tools__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}

.hp-med-layout-tools__field {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.hp-med-layout-tools__field > span {
  font-size: 12px;
  color: rgba(214,255,248,0.80);
}

.hp-med-layout-tools__field input[type="number"],
.hp-med-layout-tools__field input[type="text"],
.hp-med-layout-tools__field select {
  width: 100%;
  min-height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(182,255,243,0.16);
  background: rgba(10, 29, 32, 0.85);
  color: #ecfffb;
  padding: 0 12px;
}

.hp-med-layout-tools__field input[type="range"] {
  width: 100%;
}

.hp-med-layout-tools__hint {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(214,255,248,0.66);
}

.hp-med-portal.is-layout-editing [data-draggable-key] {
  transition: none !important;
}

.hp-med-portal.is-layout-editing [data-draggable-key].is-selected::after {
  border-color: rgba(244,255,252,0.84);
  box-shadow: 0 0 0 1px rgba(122,255,230,0.18), 0 0 22px rgba(122,255,230,0.16);
}

.hp-med-portal.is-layout-editing .hp-med-tile__visual[data-draggable-key] {
  pointer-events: auto;
  z-index: 5;
}

.hp-med-portal.is-layout-editing .hp-med-tile__visual[data-draggable-key]::after {
  border-radius: 18px;
}

.hp-med-portal.is-line-drawing {
  cursor: crosshair;
}

@media (max-width: 980px) {
  .hp-med-portal__custom-lines,
  .hp-med-layout-tools__section[data-visual-controls] {
    display: none !important;
  }

  .hp-med-portal__nav {
    width: 100%;
    justify-content: flex-start;
    gap: 12px;
    padding: 0 6px 6px;
  }

  .hp-med-portal__nav-item {
    font-size: 15px;
    flex: 0 0 auto;
  }
}
