:root {
  --white: #fefefe;
  --teal: #11b9ba;
  --navy: #023061;
  --ink: #15394d;
  --muted: #647780;
  --line: #dde6e6;
  --pale: #f1f7f6;
  --green: #007779;
  --radius: 5px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
}
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.65;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button {
  color: inherit;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  color: var(--navy);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.045em;
}
h1 {
  font-size: clamp(44px, 5vw, 72px);
}
h2 {
  font-size: clamp(32px, 3.2vw, 46px);
}
h3 {
  font-size: 23px;
  letter-spacing: -0.025em;
}
p {
  color: var(--muted);
}
img,
video {
  display: block;
  max-width: 100%;
  object-fit: cover;
}
svg {
  flex-shrink: 0;
}
button {
  border: 0;
}
em {
  font-style: normal;
  color: var(--green);
}
.container {
  width: min(1240px, calc(100% - 96px));
  margin-inline: auto;
}
.top-strip {
  background: var(--navy);
  color: #d9e5ef;
  font-size: 11px;
  letter-spacing: 0.02em;
}
.top-strip .container {
  display: flex;
  justify-content: space-between;
  padding-block: 9px;
}
.top-strip .container > span:last-child {
  display: flex;
  align-items: center;
  gap: 13px;
}
.tiny-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
}
.header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 102px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 31px;
  color: var(--navy);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -1.4px;
}
.logo small {
  display: block;
  font-size: 9px;
  letter-spacing: 3.3px;
  margin-top: 8px;
  font-weight: 600;
}
.logo-icon {
  border: 1px solid #b0dcd9;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--green);
  border-radius: 50%;
}
.nav {
  display: flex;
  gap: 29px;
  font-size: 13px;
}
.nav a {
  position: relative;
  padding: 40px 0;
}
.nav a.active:after {
  content: "";
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--teal);
}
.nav a.active {
  color: var(--green);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 25px;
}
.language-switch {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 11px;
  color: #788a91;
}
.language-switch .selected {
  color: var(--navy);
  font-weight: bold;
}
.language-divider {
  color: #bcc7cb;
}
.button,
.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  min-height: 50px;
  padding: 13px 23px;
  border-radius: 3px;
  background: var(--navy);
  color: white;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: #064774;
}
.button.small,
.outline-button.small {
  padding: 10px 17px;
  min-height: 40px;
  font-size: 12px;
  gap: 16px;
}
.outline-button {
  border: 1px solid #bfcece;
  color: var(--navy);
  background: transparent;
}
.outline-button:hover {
  background: #e5f2ef;
}
.menu-button {
  display: none;
  background: transparent;
}
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 50px;
  padding-top: 64px;
  padding-bottom: 64px;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.9px;
  color: var(--green);
  line-height: 1.6;
}
.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 9px;
  letter-spacing: 1.4px;
}
.hero h1 {
  margin-top: 26px;
  margin-bottom: 25px;
  line-height: 1.06;
  letter-spacing: -3.8px;
}
.hero-copy > p {
  font-size: 15px;
  line-height: 1.85;
  max-width: 450px;
}
.hero-buttons {
  display: flex;
  gap: 23px;
  align-items: center;
  margin-top: 31px;
  flex-wrap: wrap;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 500;
}
.text-link:hover {
  color: var(--green);
}
.hero-note {
  margin-top: 42px;
  display: flex;
  gap: 14px;
  align-items: center;
  color: #74878a;
  font-size: 10px;
  letter-spacing: 0.4px;
}
.note-line {
  height: 1px;
  width: 35px;
  background: #a1c6c3;
}
.hero-art {
  position: relative;
  background: linear-gradient(130deg, #b5d5cf, #7fb8b2 60%, #82b5b4);
  height: 490px;
  overflow: hidden;
  border-radius: 3px;
}
.art-grid,
.placeholder-grid {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image:
    linear-gradient(#fff 1px, transparent 1px),
    linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.art-label {
  position: absolute;
  left: 29px;
  top: 26px;
  font-size: 9px;
  letter-spacing: 2px;
  color: #194e55;
}
.art-label span {
  margin: 0 9px;
}
.microscope-art {
  position: absolute;
  inset: 8px 0 0;
  height: 100%;
  width: 100%;
}
.art-caption {
  position: absolute;
  left: 28px;
  bottom: 27px;
  display: flex;
  flex-direction: column;
  color: #073f49;
  gap: 5px;
}
.art-caption > span {
  font-size: 8px;
  letter-spacing: 1.8px;
}
.art-caption strong {
  font-size: 17px;
  font-weight: 500;
}
.art-caption small {
  font-size: 8px;
  opacity: 0.75;
}
.art-corner {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 21px;
  background: #e0ece7;
  color: var(--green);
}
.discipline-band {
  background: var(--pale);
  border-block: 1px solid #e8eeee;
}
.discipline-band .container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding-block: 23px;
  font-size: 12px;
  color: #506c72;
}
.discipline-band span {
  display: flex;
  align-items: center;
  gap: 14px;
}
.discipline-band svg {
  color: var(--green);
}
.discipline-band i {
  width: 1px;
  height: 21px;
  background: #d5e2df;
}
.section {
  padding-top: 86px;
  padding-bottom: 86px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 60px;
  margin-bottom: 39px;
}
.section-heading h2 {
  margin-top: 15px;
  max-width: 530px;
}
.section-heading > p {
  max-width: 340px;
  font-size: 13px;
}
.approach-heading {
  align-items: flex-start;
}
.approach-heading > div {
  flex: 1;
}
.approach-heading > div:last-child {
  padding-top: 3px;
}
.approach-heading p {
  font-size: 13px;
  line-height: 1.95;
}
.approach-heading .text-link {
  margin-top: 17px;
}
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.approach-grid article {
  position: relative;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
}
.line-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 47px;
  height: 47px;
  background: #eaf5f2;
  border-radius: 5px;
  color: var(--green);
}
.approach-grid small {
  position: absolute;
  right: 0;
  top: 34px;
  color: #a4b2b8;
  font-size: 10px;
}
.approach-grid h3 {
  font-size: 20px;
  margin: 20px 0 12px;
}
.approach-grid p {
  font-size: 13px;
  line-height: 1.9;
  max-width: 310px;
}
.learning-section {
  background: #f1f6f5;
}
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.module-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.module-card:hover h3 {
  color: var(--green);
}
.card-media {
  position: relative;
  height: 215px;
  overflow: hidden;
}
.card-media > img {
  width: 100%;
  height: 100%;
  transition: transform 0.3s;
}
.module-card:hover .card-media > img {
  transform: scale(1.04);
}
.media-placeholder {
  height: 100%;
  min-height: 180px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: linear-gradient(135deg, #d9e8e3, #bdd7d2);
  color: #40756e;
  overflow: hidden;
}
.media-placeholder:before,
.media-placeholder:after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border: 1px solid #f6fffc77;
  border-radius: 50%;
  right: -5px;
  top: -55px;
}
.media-placeholder:after {
  width: 310px;
  height: 310px;
  top: -100px;
  right: -50px;
}
.media-placeholder > span {
  position: absolute;
  left: 22px;
  bottom: 17px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  letter-spacing: 1px;
}
.placeholder-cross {
  border: 1px solid #729e9260;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  display: grid;
  place-items: center;
  opacity: 0.55;
}
.media-placeholder.large {
  min-height: 340px;
}
.play-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  background: var(--white);
  border-radius: 50%;
  color: var(--navy);
  box-shadow: 0 3px 15px #02306115;
}
.media-tag {
  position: absolute;
  top: 18px;
  left: 20px;
  color: #285d56;
  background: #fefefebd;
  padding: 3px 9px;
  border-radius: 2px;
  font-size: 8px;
  letter-spacing: 1.5px;
}
.card-copy {
  padding: 25px;
}
.small-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #6c8086;
}
.card-copy h3 {
  margin: 13px 0 12px;
  font-size: 23px;
}
.card-copy > p:not(.small-meta) {
  font-size: 12px;
  line-height: 1.8;
}
.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 17px;
  margin-top: 21px;
  font-size: 11px;
}
.card-bottom svg {
  color: var(--green);
}
.placeholder-label {
  display: block;
  color: #6b787c;
  font-size: 10px;
  margin-top: 13px;
}
.library-card {
  border: 1px solid #cbded8;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  padding: 40px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  background: #e8f0ed;
}
.library-card h3 {
  font-size: 35px;
  margin: 25px 0 16px;
}
.library-card p {
  font-size: 14px;
  max-width: 320px;
}
.library-card .text-link {
  margin-top: 40px;
}
.library-circle {
  position: absolute;
  right: -170px;
  bottom: -240px;
  width: 400px;
  height: 400px;
  border: 1px solid #b1cbc4;
  border-radius: 50%;
  pointer-events: none;
}
.doctor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.doctor-card {
  display: flex;
  gap: 25px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
}
.doctor-photo {
  position: relative;
  width: 190px;
  min-width: 155px;
  height: 210px;
  overflow: hidden;
  background: #edf2f1;
  border-radius: 3px;
}
.doctor-photo img {
  width: 100%;
  height: 100%;
}
.doctor-photo svg {
  position: absolute;
  bottom: 0;
  fill: #cddcda;
  stroke: #b7ceca;
  stroke-width: 1.3;
  width: 100%;
}
.doctor-photo .coat {
  fill: none;
  stroke: #edf2f1;
  stroke-width: 3;
}
.doctor-photo > span:not(.doctor-number) {
  position: absolute;
  bottom: 8px;
  left: 12px;
  font-size: 8px;
  color: #5c7875;
  background: #edf2f1c9;
  padding: 2px 6px;
}
.doctor-number {
  position: absolute;
  right: 11px;
  top: 9px;
  font-size: 10px;
  color: #8baba6;
}
.doctor-info h3 {
  font-size: 25px;
  margin-bottom: 12px;
}
.doctor-info > p {
  font-size: 12px;
  max-width: 230px;
}
.doctor-info > a {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 11px;
  margin-top: 25px;
  color: var(--green);
}
.doctor-info dl {
  margin: 20px 0 0;
  font-size: 12px;
}
.doctor-info dl > div {
  margin-bottom: 13px;
}
.doctor-info dt {
  font-weight: bold;
}
.doctor-info dd {
  margin: 4px 0;
  color: var(--muted);
  white-space: pre-line;
}
.gallery-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 0 0 85px;
}
.gallery-preview h2 {
  margin-top: 16px;
  margin-bottom: 19px;
}
.gallery-preview p {
  font-size: 13px;
}
.gallery-preview .text-link {
  margin-top: 25px;
}
.gallery-preview-art {
  height: 250px;
  position: relative;
  overflow: hidden;
}
.gallery-preview-art .placeholder-cross {
  display: none;
}
.gallery-slideshow {
  touch-action: pan-y pinch-zoom;
}
.gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 800ms ease;
  pointer-events: none;
}
.gallery-slide.is-active { opacity: 1; z-index: 1; }
.gallery-slide:has(video)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 19, 31, 0.18);
  pointer-events: none;
}
.gallery-slide img, .gallery-slide video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-slideshow:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  .gallery-slide { transition: none; }
}
.gallery-figure {
  position: absolute;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  color: #f6fafa88;
  font-family: Georgia, serif;
  font-size: 200px;
  line-height: 1;
}
.gallery-figure > span {
  font-family: Arial, sans-serif;
  font-size: 65px;
  vertical-align: middle;
  margin-left: -8px;
}
.cta-section {
  background: var(--navy);
  color: white;
  padding-block: 63px;
}
.cta-section .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}
.cta-section h2 {
  color: white;
  font-size: 37px;
  max-width: 600px;
  margin: 13px 0 16px;
}
.cta-section .eyebrow {
  color: #81d3d0;
}
.cta-section p {
  color: #b9cddd;
  font-size: 12px;
}
.button.teal {
  background: var(--teal);
  color: #002c41;
  white-space: nowrap;
}
.button.teal:hover {
  background: #66d6d4;
}
footer {
  background: #f6f8f7;
  padding-top: 58px;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 75px;
  padding-bottom: 49px;
}
.footer-brand p {
  max-width: 260px;
  font-size: 12px;
  margin-top: 20px;
}
.footer-main h3 {
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0;
  margin: 5px 0 20px;
}
.footer-main > div:not(:first-child) > a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: #5b757e;
  margin-top: 10px;
}
.footer-main > div:not(:first-child) > p {
  font-size: 12px;
  max-width: 220px;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-block: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #7c8c92;
  font-size: 9px;
}
.footer-bottom a {
  display: flex;
  gap: 8px;
  align-items: center;
}
.page-intro {
  padding-block: 78px 62px;
  max-width: 1000px;
}
.page-intro h1 {
  margin-top: 21px;
  max-width: 850px;
}
.page-intro > p {
  max-width: 720px;
  margin-top: 27px;
  font-size: 17px;
  line-height: 1.9;
}
.page-intro.compact {
  padding-top: 0;
}
.about-mission {
  padding-bottom: 20px;
}
.mission-block {
  padding: 40px;
  background: var(--pale);
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: 60px 1fr 1.5fr;
  align-items: center;
  gap: 30px;
}
.mission-block p {
  font-size: 14px;
}
.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.filter-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}
.filter {
  padding: 9px 18px;
  background: var(--pale);
  border-radius: 3px;
  font-size: 12px;
}
.filter.active {
  background: var(--navy);
  color: white;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.gallery-item {
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.gallery-item > img,
.gallery-item > video {
  width: 100%;
  height: 300px;
  background: #022a3a;
}
.gallery-item-copy {
  padding: 25px;
}
.gallery-item-copy h3 {
  margin: 12px 0;
}
.gallery-item-copy p {
  font-size: 13px;
}
.empty-state {
  border: 1px dashed #c7d8d3;
  padding: 35px;
  text-align: center;
  background: #f6faf8;
}
.empty-state .media-placeholder {
  max-width: 600px;
  margin: auto auto 25px;
}
.empty-state h3 {
  font-size: 20px;
}
.detail-heading {
  padding-block: 40px;
}
.detail-heading h1 {
  margin-top: 13px;
}
.detail-heading > p {
  margin-top: 20px;
  max-width: 760px;
}
.detail-meta {
  display: flex;
  gap: 30px;
  margin-top: 20px;
  font-size: 12px;
}
.detail-meta > span {
  display: flex;
  gap: 9px;
  align-items: center;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 36px;
  align-items: start;
}
.detail-grid video {
  width: 100%;
  aspect-ratio: 16/9;
  background: #062431;
}
.detail-grid .small-meta {
  margin-top: 14px;
}
.access-card {
  padding: 30px;
  background: var(--pale);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.access-card > svg {
  color: var(--green);
  margin-bottom: 20px;
}
.access-card h2 {
  font-size: 28px;
  margin-bottom: 15px;
}
.access-card > p {
  font-size: 13px;
}
.access-card > .button {
  margin-top: 25px;
}
.access-card form {
  margin-top: 23px;
}
.access-card form .button {
  width: 100%;
  margin-top: 22px;
}
.notice {
  padding: 14px;
  background: #e4edeb;
  border-radius: 3px;
  margin-top: 20px;
}
.success {
  color: var(--green);
  margin-top: 20px;
}
.preserve-lines {
  white-space: pre-line;
}
.underlined {
  text-decoration: underline;
  font-size: 12px;
  color: var(--green);
}
label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  color: var(--ink);
  margin-bottom: 18px;
}
input:not([type="checkbox"]),
select,
textarea {
  width: 100%;
  border: 1px solid #c8d8d7;
  background: white;
  border-radius: 4px;
  padding: 11px 13px;
  color: var(--ink);
  min-height: 44px;
}
textarea {
  resize: vertical;
  line-height: 1.6;
}
.checkbox-label {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.6;
}
.checkbox-label input {
  accent-color: var(--green);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
}
.loading-screen {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  padding: 30px;
  text-align: center;
}
.loading-screen h1 {
  font-size: 30px;
}
.brand-symbol {
  font:
    70px Georgia,
    serif;
  color: var(--green);
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  background: var(--navy);
  color: white;
  padding: 12px;
  z-index: 100;
}
.skip-link:focus {
  top: 10px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.login-page {
  min-height: 100vh;
  background: var(--pale);
  padding: 40px;
}
.login-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: auto;
}
.login-brand > span {
  font-size: 12px;
  color: var(--muted);
}
.login-card {
  max-width: 460px;
  margin: 65px auto 0;
  padding: 40px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 15px 60px #143d4310;
}
.login-card h1 {
  font-size: 32px;
  margin: 20px 0 13px;
}
.login-card > p {
  font-size: 13px;
}
.login-card form {
  margin-top: 28px;
}
.login-card .button {
  width: 100%;
}
.login-card [role="alert"] {
  color: #9e3f36;
  margin-top: 15px;
}
.login-links {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin-top: 25px;
}
.dashboard {
  display: flex;
  min-height: 100vh;
  background: #f5f8f7;
}
.dashboard-sidebar {
  width: 260px;
  background: white;
  border-right: 1px solid var(--line);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
}
.dashboard-sidebar .logo {
  font-size: 26px;
}
.dashboard-sidebar .eyebrow {
  margin: 48px 0 20px;
  font-size: 9px;
}
.dashboard-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dashboard-sidebar nav button {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  background: none;
  padding: 12px;
  border-radius: 4px;
  font-size: 12px;
  color: #658087;
}
.dashboard-sidebar nav button.selected {
  background: #e7f5f2;
  color: var(--green);
  font-weight: bold;
}
.sidebar-user {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.sidebar-user small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.sidebar-user button {
  background: none;
  margin-left: auto;
  padding: 5px;
}
.user-avatar {
  border-radius: 50%;
  background: var(--pale);
  color: var(--green);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
}
.dashboard-main {
  flex: 1;
  min-width: 0;
}
.dashboard-top {
  height: 80px;
  background: white;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 40px;
  font-size: 11px;
  color: var(--muted);
}
.dashboard-top > div {
  display: flex;
  gap: 24px;
}
.dashboard-top a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
}
.dashboard-content {
  padding: 40px;
  max-width: 1400px;
  margin: auto;
}
.dashboard-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 32px;
}
.dashboard-title h1 {
  font-size: 34px;
  margin-top: 9px;
}
.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  background: white;
  border-radius: 5px;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 12px;
}
th {
  font-size: 10px;
  color: var(--muted);
  font-weight: 500;
  background: #fafcfb;
  padding: 16px 22px;
  white-space: nowrap;
}
td {
  padding: 22px;
  border-top: 1px solid var(--line);
}
td strong {
  font-weight: 500;
}
td small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 7px;
}
.row-actions {
  text-align: right;
  white-space: nowrap;
}
.row-actions > * {
  display: inline-flex;
  vertical-align: middle;
  margin-left: 10px;
}
.badge {
  background: #edf5f2;
  padding: 5px 9px;
  font-size: 10px;
  border-radius: 3px;
  white-space: nowrap;
}
.icon-button {
  background: transparent;
  padding: 6px;
  display: inline-flex;
}
.danger {
  color: #aa5248;
}
.editor-panel,
.upload-form {
  background: white;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 30px;
}
.editor-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.editor-top h2 {
  font-size: 24px;
}
.editor-actions {
  position: sticky;
  bottom: 0;
  background: #fffefef0;
  border-top: 1px solid var(--line);
  margin-top: 26px;
  padding-top: 18px;
  padding-bottom: 10px;
}
.bilingual-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
fieldset {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 20px;
  margin: 0 0 20px;
}
legend {
  font-size: 12px;
  padding: 0 8px;
  color: var(--green);
}
.translation-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}
.search-field {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.search-field input {
  max-width: 400px;
}
.upload-form {
  margin-bottom: 30px;
}
.upload-form h2 {
  font-size: 25px;
  margin-bottom: 10px;
}
.upload-form p {
  font-size: 12px;
  margin-bottom: 20px;
}
.status-message {
  padding: 14px 18px;
  background: #e3f1eb;
  border: 1px solid #bcd9cd;
  font-size: 13px;
  border-radius: 4px;
  margin-bottom: 20px;
}
@media (min-width: 1500px) {
  .hero {
    gap: 80px;
  }
  .hero-art {
    height: 530px;
  }
  .hero h1 {
    font-size: 78px;
  }
}
@media (max-width: 1100px) {
  .container {
    width: calc(100% - 60px);
  }
  .header-contact {
    display: none;
  }
  .nav {
    gap: 24px;
  }
  .hero {
    gap: 28px;
  }
  .hero-art {
    height: 440px;
  }
  .hero h1 {
    font-size: 58px;
  }
  .hero-buttons {
    gap: 18px;
  }
  .hero-buttons .button {
    gap: 16px;
    padding-inline: 18px;
  }
  .hero-buttons .text-link {
    font-size: 11px;
  }
  .doctor-card {
    gap: 18px;
  }
  .doctor-photo {
    min-width: 130px;
    width: 145px;
    height: 190px;
  }
  .doctor-info h3 {
    font-size: 21px;
  }
  .footer-main {
    gap: 40px;
  }
  .dashboard-sidebar {
    width: 220px;
    padding-inline: 18px;
  }
  .dashboard-content {
    padding: 30px;
  }
  .dashboard-top {
    padding-inline: 30px;
  }
  .detail-grid {
    grid-template-columns: 1.4fr 1fr;
  }
}
@media (max-width: 800px) {
  .container {
    width: calc(100% - 40px);
  }
  .header-inner {
    height: 85px;
  }
  .logo {
    font-size: 27px;
  }
  .logo-icon {
    width: 42px;
    height: 42px;
  }
  .header-actions {
    gap: 17px;
  }
  .menu-button {
    display: block;
  }
  .nav {
    display: none;
    position: absolute;
    top: 122px;
    left: 0;
    right: 0;
    background: white;
    z-index: 20;
    border-bottom: 1px solid var(--line);
    padding: 15px 25px;
  }
  .nav.open {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .nav a {
    padding: 13px 0;
  }
  .nav a.active:after {
    bottom: 6px;
    right: auto;
    width: 25px;
  }
  .hero {
    padding-block: 44px;
    gap: 30px;
    grid-template-columns: 1fr 1fr;
  }
  .hero h1 {
    font-size: 48px;
    letter-spacing: -2.7px;
  }
  .hero .eyebrow {
    font-size: 8px;
  }
  .hero-copy > p {
    font-size: 13px;
  }
  .hero-art {
    height: 405px;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-note {
    margin-top: 26px;
    font-size: 8px;
  }
  .art-caption strong {
    font-size: 13px;
  }
  .art-label {
    font-size: 7px;
    left: 18px;
  }
  .art-caption {
    left: 18px;
    bottom: 20px;
  }
  .art-corner {
    padding: 14px;
  }
  .discipline-band .container {
    font-size: 10px;
  }
  .discipline-band span {
    gap: 7px;
  }
  .section {
    padding-block: 60px;
  }
  .section-heading {
    gap: 30px;
  }
  .section-heading > p {
    max-width: 240px;
  }
  .section-heading h2 {
    font-size: 34px;
  }
  .approach-grid {
    gap: 20px;
  }
  .approach-grid h3 {
    font-size: 18px;
  }
  .approach-grid p {
    font-size: 12px;
  }
  .doctor-grid {
    gap: 25px;
  }
  .doctor-card {
    display: block;
  }
  .doctor-photo {
    width: 100%;
    height: 235px;
    margin-bottom: 20px;
  }
  .doctor-photo svg {
    height: 100%;
    left: 0;
  }
  .gallery-preview {
    gap: 35px;
    padding-bottom: 60px;
  }
  .cta-section h2 {
    font-size: 32px;
  }
  .footer-main {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 30px;
  }
  .footer-main .logo {
    font-size: 24px;
  }
  .footer-main .logo-icon {
    display: none;
  }
  .footer-bottom > span:nth-child(2) {
    display: none;
  }
  .module-grid {
    grid-template-columns: 1fr 1fr;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .mission-block {
    grid-template-columns: 50px 1fr;
  }
  .mission-block p {
    grid-column: 1/-1;
  }
  .dashboard-sidebar {
    width: 185px;
    padding: 25px 12px;
  }
  .dashboard-sidebar .logo {
    font-size: 22px;
    gap: 7px;
  }
  .dashboard-sidebar .logo small {
    font-size: 7px;
    letter-spacing: 2px;
  }
  .dashboard-sidebar .logo-icon {
    width: 30px;
    height: 30px;
  }
  .dashboard-sidebar .logo-icon svg {
    width: 22px;
  }
  .dashboard-content {
    padding: 25px 20px;
  }
  .dashboard-top {
    padding: 20px;
  }
  .dashboard-top > span {
    display: none;
  }
  .dashboard-top > div {
    width: 100%;
    justify-content: space-between;
  }
  .dashboard-title {
    align-items: flex-start;
  }
  .dashboard-title h1 {
    font-size: 27px;
  }
  .bilingual-fields,
  .translation-fields {
    grid-template-columns: 1fr;
  }
  .editor-panel {
    padding: 20px;
  }
  .dashboard-title .button {
    padding: 10px;
    gap: 7px;
    font-size: 11px;
    min-height: 40px;
  }
}
@media (max-width: 560px) {
  .container {
    width: calc(100% - 36px);
  }
  .top-strip {
    font-size: 9px;
  }
  .top-strip .container > span:last-child {
    display: none;
  }
  .header-inner {
    height: 78px;
  }
  .logo {
    font-size: 25px;
  }
  .logo small {
    font-size: 8px;
    letter-spacing: 2.8px;
  }
  .logo-icon {
    width: 39px;
    height: 39px;
  }
  .language-switch {
    gap: 5px;
    font-size: 10px;
  }
  .language-switch svg {
    display: none;
  }
  .nav {
    top: 111px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 38px;
    gap: 33px;
  }
  .hero h1 {
    font-size: 58px;
    line-height: 1.05;
    letter-spacing: -3px;
    margin-top: 23px;
  }
  .hero-copy > p {
    max-width: 100%;
    font-size: 14px;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 1.2px;
  }
  .hero-buttons {
    flex-direction: row;
    align-items: center;
    gap: 19px;
    flex-wrap: wrap;
    margin-top: 26px;
  }
  .hero-buttons .button {
    font-size: 12px;
    gap: 18px;
  }
  .hero-note {
    margin-top: 28px;
    font-size: 9px;
  }
  .hero-art {
    height: 365px;
  }
  .microscope-art {
    height: 115%;
    top: -47px;
  }
  .art-label {
    top: 20px;
    left: 24px;
    font-size: 8px;
  }
  .art-caption {
    left: 24px;
    bottom: 23px;
  }
  .art-caption strong {
    font-size: 16px;
  }
  .art-corner {
    padding: 19px;
  }
  .discipline-band .container {
    justify-content: space-between;
    font-size: 9px;
    padding-block: 18px;
    gap: 10px;
  }
  .discipline-band span {
    gap: 5px;
  }
  .discipline-band svg {
    width: 12px;
  }
  .discipline-band i {
    height: 15px;
  }
  .section {
    padding-block: 48px;
  }
  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 21px;
    margin-bottom: 28px;
  }
  .section-heading h2 {
    font-size: 34px;
  }
  .section-heading > p {
    max-width: 100%;
  }
  .approach-heading {
    gap: 23px;
  }
  .approach-heading p {
    font-size: 13px;
  }
  .approach-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .approach-grid article {
    padding: 20px 0 0 65px;
    min-height: 110px;
  }
  .approach-grid .line-icon {
    position: absolute;
    left: 0;
    top: 22px;
  }
  .approach-grid h3 {
    margin: 4px 30px 10px 0;
    font-size: 20px;
  }
  .approach-grid small {
    top: 25px;
  }
  .approach-grid p {
    max-width: 100%;
    font-size: 13px;
  }
  .featured-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .library-card {
    padding: 30px;
    min-height: 300px;
  }
  .library-card h3 {
    margin-top: 18px;
    font-size: 30px;
  }
  .library-card .text-link {
    margin-top: 25px;
  }
  .doctor-grid {
    gap: 18px;
  }
  .doctor-photo {
    height: 185px;
  }
  .doctor-info h3 {
    font-size: 21px;
    line-height: 1.25;
  }
  .doctor-info > p {
    font-size: 11px;
  }
  .doctor-info > a {
    font-size: 10px;
    gap: 10px;
    margin-top: 18px;
  }
  .doctor-card {
    padding-bottom: 20px;
  }
  .gallery-preview {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 48px;
  }
  .gallery-preview-art {
    height: 220px;
  }
  .gallery-preview h2 {
    font-size: 34px;
  }
  .cta-section {
    padding-block: 42px;
  }
  .cta-section .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }
  .cta-section h2 {
    font-size: 34px;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 30px 24px;
    padding-bottom: 35px;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
  .footer-main .logo-icon {
    display: grid;
  }
  .footer-main .logo {
    font-size: 27px;
  }
  .footer-brand p {
    max-width: 100%;
    margin-top: 17px;
  }
  .footer-bottom {
    font-size: 8px;
    gap: 15px;
    padding-block: 17px;
  }
  footer {
    padding-top: 38px;
  }
  .page-intro {
    padding-block: 45px;
  }
  .page-intro h1 {
    font-size: 43px;
  }
  .page-intro > p {
    font-size: 15px;
    margin-top: 23px;
  }
  .mission-block {
    padding: 25px;
    gap: 20px;
  }
  .mission-block h2 {
    font-size: 30px;
  }
  .module-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .detail-heading h1 {
    font-size: 40px;
  }
  .detail-meta {
    flex-direction: column;
    gap: 12px;
  }
  .access-card {
    padding: 25px;
  }
  .gallery-item > img,
  .gallery-item > video {
    height: 230px;
  }
  .empty-state {
    padding: 20px;
  }
  .media-placeholder.large {
    min-height: 240px;
  }
  .login-page {
    padding: 28px 18px;
  }
  .login-brand > span {
    display: none;
  }
  .login-card {
    margin-top: 40px;
    padding: 28px;
  }
  .dashboard {
    display: block;
  }
  .dashboard-sidebar {
    width: 100%;
    height: auto;
    position: static;
    padding: 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .dashboard-sidebar > .eyebrow {
    display: none;
  }
  .dashboard-sidebar nav {
    flex-direction: row;
    overflow-x: auto;
    margin-top: 22px;
    padding-bottom: 4px;
  }
  .dashboard-sidebar nav button {
    white-space: nowrap;
    font-size: 11px;
    padding: 9px 12px;
  }
  .sidebar-user {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 0;
    border: 0;
    font-size: 10px;
  }
  .sidebar-user .user-avatar {
    display: none;
  }
  .sidebar-user strong {
    display: block;
    max-width: 90px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
  }
  .dashboard-top {
    height: 52px;
    padding: 15px 20px;
  }
  .dashboard-content {
    padding: 25px 18px;
  }
  .dashboard-title h1 {
    font-size: 27px;
  }
  .dashboard-title .eyebrow {
    font-size: 8px;
  }
  .dashboard-title {
    gap: 15px;
  }
  td,
  th {
    padding: 15px;
  }
  .row-actions > * {
    margin-left: 4px;
  }
  .editor-panel,
  .upload-form {
    padding: 20px;
  }
  .editor-panel .editor-top h2 {
    font-size: 22px;
  }
  .editor-panel fieldset {
    padding: 15px;
  }
  .table-wrap .outline-button {
    font-size: 10px;
    padding: 8px;
  }
  .upload-form input {
    font-size: 11px;
  }
  .dashboard-sidebar .logo {
    font-size: 23px;
  }
  .translation-fields {
    gap: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

.hero-custom-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-art:has(.hero-custom-image) .art-caption {
  background: #fefefee8;
  padding: 12px;
  border-radius: 3px;
}
.hero-art:has(.hero-custom-image) .art-label {
  background: #fefefee8;
  padding: 5px;
}

.editor-fields {
  border: 0;
  padding: 0;
  margin: 0;
}
.saved-preview {
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.saved-preview figure {
  margin: 0;
  max-width: 300px;
}
.saved-preview img,
.saved-preview video {
  width: 100%;
  max-height: 240px;
  object-fit: contain;
  background: #edf2f1;
}
.saved-preview figcaption {
  font-size: 12px;
  margin-bottom: 8px;
}
.footer-main > div a[href^="tel:"] {
  display: block;
  margin-block: 10px;
}
.footer-main > div .preserve-lines {
  font-size: 12px;
  margin-block: 12px;
}
/* Persistent navigation and proportionally scaled academy artwork. */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(254, 254, 254, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(2, 48, 97, 0.12);
}
.header-inner {
  min-height: 116px;
  height: auto;
  padding-block: 8px;
}
.logo {
  display: inline-flex;
  flex-shrink: 0;
}
.logo img {
  display: block;
  width: 111px;
  height: 100px;
  object-fit: contain;
}
.footer-main .logo img {
  width: 133px;
  height: 120px;
}
.module-cover {
  width: 100%;
  max-height: 540px;
  object-fit: contain;
  background: #eef7f7;
  border-radius: 12px;
}
.protected-material {
  margin-top: 24px;
}
.drop-zone {
  border: 2px dashed #759aab;
  padding: 20px;
  border-radius: 12px;
  background: #f6fafb;
}
.drop-zone.dragging {
  background: #dff7f6;
  border-color: #078183;
}
.drop-zone ul {
  overflow-wrap: anywhere;
}
.media-library {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.media-library-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: white;
  min-width: 0;
}
.media-library-card > img,
.media-library-card > video {
  width: 100%;
  height: 190px;
  object-fit: contain;
  background: #eaf2f5;
  display: block;
}
.media-library-card > div {
  padding: 16px;
  overflow-wrap: anywhere;
}
.media-library-card p {
  font-size: 12px;
  margin: 8px 0 16px;
}
.selected-media img,
.selected-media video {
  display: block;
  margin-top: 12px;
  max-width: 100%;
  width: 240px;
  max-height: 180px;
  object-fit: contain;
  background: #eaf2f5;
}
@media (max-width: 900px) {
  .header .nav {
    top: 100%;
  }
}
@media (max-width: 600px) {
  .header-inner {
    min-height: 96px;
  }
  .logo img {
    width: 89px;
    height: 80px;
  }
  .header .nav {
    top: 100%;
  }
  .dashboard-sidebar .logo img {
    width: 67px;
    height: 60px;
  }
}
.newsletter-section {
  padding-block: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  scroll-margin-top: 130px;
}
.newsletter-section h2 {
  font-size: 36px;
  margin: 16px 0;
}
.newsletter-form,
.test-email-form {
  display: grid;
  gap: 18px;
}
.name-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.header-register {
  display: inline-flex;
}
.nav .mobile-register {
  display: none;
}
.resource-editor,
.campaign-preview {
  margin: 28px 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.resource-item {
  padding: 20px;
  margin: 20px 0;
  min-width: 0;
}
.resource-item > img,
.resource-item > video,
.resource-public img {
  max-width: 100%;
  max-height: 320px;
  object-fit: contain;
}
.resource-public {
  margin: 24px 0;
}
.pdf-preview {
  width: 100%;
}
.pdf-preview iframe {
  width: 100%;
  height: 260px;
  border: 0;
}
.pdf-preview a {
  display: block;
  padding: 10px;
  overflow-wrap: anywhere;
}
.campaign-toolbar,
.selection-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin: 18px 0;
}
.campaign-module-selection,
.campaign-subscriber-selection {
  margin: 28px 0;
}
.campaign-module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.campaign-module-option {
  display: flex;
  flex-direction: row;
  padding: 14px;
  border: 1px solid var(--line);
  align-items: flex-start;
}
.campaign-module-option img {
  width: 70px;
  height: 70px;
  object-fit: cover;
}
.campaign-module-option input {
  flex-shrink: 0;
}
.campaign-module-option small {
  display: block;
  margin-top: 8px;
}
.subscriber-options {
  max-height: 360px;
  overflow: auto;
  padding: 12px;
  border: 1px solid var(--line);
}
.campaign-preview > iframe {
  width: 100%;
  height: 620px;
  border: 1px solid var(--line);
  background: #edf5f5;
}
.campaign-preview > label,
.campaign-preview > p {
  margin: 18px 0;
}
.test-email-form {
  margin: 24px 0;
}
@media (max-width: 1000px) {
  .header-register {
    display: none;
  }
  .nav .mobile-register {
    display: block;
    color: #007578;
    font-weight: 700;
  }
}
@media (max-width: 650px) {
  .newsletter-section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 40px;
  }
  .name-fields {
    grid-template-columns: 1fr;
  }
  .resource-editor,
  .campaign-preview {
    padding: 14px;
  }
}
.pdf-preview {
  background: #eef4f5;
  padding: 12px;
  border-radius: 8px;
}
.pdf-preview canvas {
  max-width: 100%;
  height: auto !important;
  margin: 0 auto;
  background: white;
  box-shadow: 0 1px 6px #02306120;
}
.pdf-preview small {
  display: block;
  text-align: center;
  margin-top: 8px;
}
.resource-item > img,
.resource-item > video {
  width: min(100%, 400px);
  min-height: 160px;
  background: #eef4f5;
}
.visual-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.visual-gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #edf5f5;
  aspect-ratio: 4/3;
}
.visual-gallery button {
  border: 0;
  padding: 0;
  cursor: zoom-in;
  width: 100%;
  height: 100%;
}
.visual-gallery img,
.visual-gallery video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-lightbox {
  border: 0;
  border-radius: 12px;
  padding: 16px;
  background: #023061;
  max-width: 95vw;
  max-height: 95vh;
}
.gallery-lightbox::backdrop {
  background: #001528dd;
}
.gallery-lightbox img {
  display: block;
  max-width: 88vw;
  max-height: 78vh;
  object-fit: contain;
}
.gallery-lightbox button {
  display: block;
  margin: 0 0 12px auto;
}
.library-dropzone {
  padding: 24px;
  border: 2px dashed #11b9ba;
  border-radius: 12px;
  margin-bottom: 24px;
}
.library-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.library-items article {
  border: 1px solid #dce6ec;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  border-radius: 12px;
}
.library-items img,
.library-items video {
  width: 100%;
  height: 180px;
  object-fit: contain;
}
.simple-library form {
  display: grid;
  gap: 16px;
  max-width: 700px;
}
.simple-library label {
  display: grid;
  gap: 8px;
}
.simple-library input,
.simple-library select {
  padding: 12px;
  max-width: 100%;
}
@media (max-width: 900px) {
  .visual-gallery,
  .library-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .visual-gallery,
  .library-items {
    grid-template-columns: 1fr;
  }
}
.public-course-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 520px));
  gap: 24px;
}
.public-course-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  align-content: start;
  gap: 20px;
  padding: 16px;
  border: 1px solid #dce6ec;
  border-radius: 20px;
  overflow: hidden;
  background: #fefefe;
  box-shadow: 0 8px 25px #02306108;
}
.course-preview-image {
  width: 100%;
  min-width: 0;
  height: clamp(220px, 38vw, 450px);
}
.course-preview-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}
.gallery-document {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  padding: 28px;
  min-height: 260px;
  background: #eff8f9;
  color: #023061;
  overflow-wrap: anywhere;
}
.course-card-content {
  min-width: 0;
  padding: 0 2px 4px;
  overflow-wrap: anywhere;
}
.public-course-card h2 {
  margin: 0 0 16px;
  font-size: clamp(25px, 2.4vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: #023061;
}
.course-card-dates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 14px;
}
.course-card-dates dt {
  color: #526a7d;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.course-card-dates dd {
  margin: 0;
  color: #023061;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}
.course-card-count.badge {
  display: inline-block;
  margin: 0 0 14px;
  padding: 7px 12px;
  background: #e7f7f6;
  color: #023061;
  border: 1px solid #c6eae8;
  border-radius: 8px;
  font-size: 13px;
}
.course-card-description {
  margin: 0;
  white-space: pre-line;
  font-size: 16px;
  line-height: 1.75;
  color: #39566c;
}
.course-card-modules {
  border-top: 1px solid #e0e9ee;
  margin: 16px 0 0;
  padding: 14px 0 0 22px;
  font-size: 14px;
  line-height: 1.65;
  color: #023061;
}
.course-card-modules li + li {
  margin-top: 8px;
}
.course-card-modules li::marker {
  color: #077b80;
  font-weight: 600;
}
.course-card-modules small {
  color: #526a7d;
}
.course-card-without-image {
  grid-template-columns: minmax(0, 1fr);
}
.doctor-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.doctor-specialties li {
  padding: 5px 10px;
  border-radius: 6px;
  background: #eaf6f5;
  color: var(--navy);
  font-size: 12px;
  overflow-wrap: anywhere;
}
.doctor-profiles-full .doctor-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 24px;
  min-width: 0;
}
.doctor-profiles-full .doctor-photo {
  width: 190px;
  min-width: 155px;
  height: 210px;
  margin: 0;
  align-self: flex-start;
  flex-shrink: 0;
  border-radius: 10px;
}
.doctor-profiles-full .doctor-photo img {
  object-fit: cover;
  object-position: center top;
}
.doctor-profiles-full .doctor-info {
  min-width: 0;
  overflow-wrap: anywhere;
}
@media (max-width: 1100px) {
  .doctor-profiles-full .doctor-photo {
    width: 145px;
    min-width: 130px;
    height: 190px;
  }
}
@media (max-width: 800px) {
  .doctor-profiles-full .doctor-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .doctor-profiles-full .doctor-photo {
    height: 235px;
  }
}
@media (max-width: 560px) {
  .doctor-profiles-full .doctor-photo {
    height: 185px;
  }
}
.doctor-profiles-full .doctor-info dl {
  font-size: 15px;
  line-height: 1.8;
}
.doctor-specialty-editor {
  margin: 20px 0;
}
.specialty-editor-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
  margin-bottom: 16px;
}
.specialty-editor-row label {
  display: grid;
  gap: 6px;
  min-width: 0;
}
@media (max-width: 700px) {
  .doctor-profiles-full .doctor-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .specialty-editor-row {
    grid-template-columns: minmax(0, 1fr);
  }
}
.course-image-preview {
  width: 100%;
  max-width: 320px;
  max-height: 220px;
  object-fit: contain;
}
.bulk-selection {
  margin: 20px 0;
}
.course-pdf-options {
  margin: 16px 0;
  max-height: 340px;
  overflow: auto;
}
.course-pdf-options label {
  padding: 8px;
}
.course-manager .editor-panel fieldset > label {
  display: grid;
  gap: 8px;
  margin: 16px 0;
}
.course-manager .editor-panel fieldset > label.checkbox-label {
  display: flex;
}
@media (max-width: 850px) {
  .public-course-grid {
    grid-template-columns: minmax(0, 440px);
  }
  .public-course-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 16px;
  }
  .course-card-content {
    padding: 0 4px 6px;
  }
  .public-course-card h2 {
    margin-bottom: 16px;
  }
}
@media (max-width: 600px) {
  .course-preview-image {
    height: auto;
    overflow: visible;
  }
  .course-preview-image > img {
    height: auto;
    object-fit: contain;
  }
}
@media (max-width: 450px) {
  .public-course-card {
    padding: 14px;
    border-radius: 16px;
  }
  .course-card-content {
    padding: 0 2px 6px;
  }
  .course-card-dates {
    gap: 12px;
  }
}
