/* =========================================================
   Карточка врача — page-specific blocks
   Hero · Цитата (О себе) · Галерея · Опыт работы (timeline)
   ========================================================= */

/* ---------- HERO ---------- */
.doc-hero { padding: 18px 0 4px; }
.doc-hero-card {
  --hero-pad: clamp(26px, 3vw, 46px);
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: clamp(20px, 3vw, 48px);
  align-items: stretch;
  background: linear-gradient(118deg, #F1EBFA 0%, #F7ECEF 100%);
  border-radius: var(--r-2xl);
  padding: var(--hero-pad);
  position: relative;
  overflow: hidden;
}
.doc-hero-card::after {
  content: none;
}

.doc-hero-figure {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 0;
  margin-bottom: calc(-1 * var(--hero-pad));
}
.doc-hero-figure::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6%;
  width: 92%;
  height: 78%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.7), rgba(255,255,255,0) 68%);
  pointer-events: none;
  z-index: 1;
}
.doc-hero-figure img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  filter: drop-shadow(0 22px 34px rgba(48, 30, 110, 0.16));
}
.doc-hero-rating {
  position: absolute;
  left: 4px;
  bottom: calc(var(--hero-pad) + 6px);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px 9px 11px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(48, 30, 110, 0.16);
}
.doc-hero-rating .rt-stars { color: var(--yellow-star); font-size: 14px; letter-spacing: 1px; }
.doc-hero-rating .rt-score { font-weight: 700; font-size: 15px; color: var(--text); }
.doc-hero-rating .rt-label { font-size: 12px; color: var(--text-muted); white-space: nowrap; }

.doc-hero-body { min-width: 0; align-self: center; padding: 6px 0; }
.doc-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--violet);
  padding: 7px 14px;
  border-radius: 999px;
  margin: 0 0 18px;
}
.doc-hero-name {
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.04;
  color: var(--text);
  margin: 0 0 14px;
}
.doc-hero-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 0 0 26px;
}
.doc-hero-roles span {
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--violet-deep);
}
.doc-hero-roles span + span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--violet);
  opacity: 0.55;
  margin-right: 10px;
}

.doc-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.doc-stat {
  background: #fff;
  border: 1px solid rgba(96, 84, 177, 0.08);
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow:
    0 10px 30px rgba(48, 30, 110, 0.05);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}
.doc-stat:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 14px 36px rgba(48, 30, 110, 0.10);
}
.doc-stat-num {
  font-size: clamp(20px, 1.9vw, 24px);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--violet);
  line-height: 1.05;
  margin-bottom: 6px;
}
.doc-stat-label {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.3;
}

.doc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.doc-hero-actions .btn { height: 56px; padding: 0 30px; font-size: 16px; }
.doc-hero-price {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.doc-hero-price b { font-size: 22px; font-weight: 700; color: var(--text); letter-spacing: -0.01em; }
.doc-hero-price span { font-size: 13px; color: var(--text-muted); }

/* ---------- УСЛОВИЯ-ЧИПЫ heading wrap reuse gchips ---------- */
.doc-chips-section { padding-top: 44px; padding-bottom: 8px; }
.doc-chips-section .section-title { margin-bottom: 26px; }
.doc-chips-sub {
  text-align: center;
  font-size: 16px;
  color: var(--text-muted);
  max-width: 640px;
  margin: -14px auto 30px;
}
.gchip.is-collapsed-hidden { display: none; }
.gastro-chips.is-expanded .gchip.is-collapsed-hidden { display: inline-flex; }
.doc-chips-more { text-align: center; margin-top: 24px; }

.price-group-title {
  margin: 12px 6px 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--violet-deep);
}
.price-group-title.is-hidden { display: none; }

/* ---------- О СЕБЕ — quote ---------- */
.doc-about-section { padding-top: var(--section-pad-tight); padding-bottom: var(--section-pad-tight); }
.doc-quote-card {
  --quote-pad: clamp(32px, 4vw, 60px);
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: clamp(20px, 3vw, 48px);
  align-items: stretch;
  background:
    radial-gradient(120% 120% at 100% 0%, #FBEDEA 0%, rgba(251,237,234,0) 55%),
    linear-gradient(125deg, #F1ECFB 0%, #F3EEF9 100%);
  border-radius: var(--r-2xl);
  padding: var(--quote-pad);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s ease;
}
.doc-quote-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(
    480px circle at var(--mx, 50%) var(--my, 0%),
    rgba(252, 226, 226, 0.7),
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 0;
}
.doc-quote-card > * { position: relative; z-index: 1; }
.doc-quote-card:hover {
  transform: translateY(-4px);
}
.doc-quote-card:hover::before { opacity: 1; }
.doc-quote-card--text {
  display: block;
  grid-template-columns: none;
}
.doc-quote-card--text .doc-quote-body {
  align-self: auto;
  max-width: 920px;
}
.doc-quote-figure {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: calc(-1 * var(--quote-pad));
}
.doc-quote-figure::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4%;
  width: 92%;
  height: 74%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.65), rgba(255,255,255,0) 68%);
  pointer-events: none;
  z-index: 1;
}
.doc-quote-figure img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 340px;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  filter: drop-shadow(0 20px 30px rgba(48, 30, 110, 0.14));
}
.doc-quote-body { position: relative; align-self: center; padding: 6px 0; }
.doc-quote-mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 110px;
  line-height: 0.6;
  color: var(--violet);
  opacity: 0.22;
  height: 46px;
  display: block;
}
.doc-quote-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--violet);
  margin: 0 0 16px;
}
.doc-quote-text {
  font-size: clamp(19px, 1.9vw, 26px);
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--text);
  margin: 0 0 26px;
  text-wrap: pretty;
}
.doc-quote-sign {
  display: flex;
  align-items: center;
  gap: 14px;
}
.doc-quote-sign::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--violet);
  opacity: 0.6;
  border-radius: 2px;
}
.doc-quote-card--text .doc-quote-sign::before { display: none; }
.doc-quote-avatar {
  flex: 0 0 auto;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(180deg, #F4EFFA 0%, #ECE2F3 100%);
}
.doc-quote-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.doc-quote-sign b { font-size: 16px; font-weight: 700; color: var(--text); }
.doc-quote-sign span { font-size: 14px; color: var(--text-muted); display: block; }

/* ---------- ГАЛЕРЕЯ ---------- */
.doc-gallery-section { padding-top: var(--section-pad-tight); padding-bottom: var(--section-pad-tight); }
.doc-gallery-viewport { position: relative; }
.doc-gallery-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px;
}
.doc-gallery-track::-webkit-scrollbar { display: none; }
.doc-gallery-track figure {
  margin: 0;
  flex: 0 0 auto;
  height: clamp(280px, 32vw, 400px);
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: zoom-in;
  background: #E9EBF4;
}
.doc-gallery-track figure a { display: block; height: 100%; }
.doc-gallery-track img {
  height: 100%;
  width: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.doc-gallery-track figure:hover img { transform: scale(1.06); }
.doc-gallery-track figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(34, 22, 70, 0.28));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.doc-gallery-track figure:hover::after { opacity: 1; }
.doc-gallery-zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--violet);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 2;
  pointer-events: none;
}
.doc-gallery-track figure:hover .doc-gallery-zoom { opacity: 1; transform: none; }

.doc-gal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--violet);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(48, 30, 110, 0.16);
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
  z-index: 5;
}
.doc-gal-arrow:hover { background: var(--violet); color: #fff; }
.doc-gal-arrow.prev { left: -10px; }
.doc-gal-arrow.next { right: -10px; }
.doc-gal-arrow[disabled] { opacity: 0; pointer-events: none; }

/* ---------- ОБРАЗОВАНИЕ — show more ---------- */
.doc-edu-section .container-narrow { max-width: 860px; }
.about-edu .edu-hidden { display: none; }
.about-edu.is-expanded .edu-hidden { display: grid; }
@media (max-width: 720px) {
  .about-edu.is-expanded .edu-hidden { display: block; }
}

/* ---------- ОПЫТ РАБОТЫ — animated timeline ---------- */
.first-appointment { padding-top: var(--section-pad-tight); padding-bottom: 0; }
.first-appointment-panel { position: relative; display: grid; grid-template-columns: minmax(250px, .72fr) minmax(420px, 1.28fr); gap: clamp(32px, 6vw, 84px); padding: clamp(30px, 5vw, 64px); overflow: hidden; border: 1px solid rgba(96, 84, 177, .12); border-radius: var(--r-2xl); background: linear-gradient(125deg, #f4effb 0%, #fff 58%, #f9eff1 100%); box-shadow: 0 18px 54px rgba(48, 30, 110, .07); }
.first-appointment-panel::after { content: ""; position: absolute; right: -90px; top: -110px; width: 290px; height: 290px; border-radius: 50%; background: rgba(124, 99, 190, .07); pointer-events: none; }
.first-appointment-intro { position: relative; z-index: 1; align-self: center; }
.first-appointment-kicker { display: inline-block; margin-bottom: 16px; color: var(--violet-text); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.first-appointment-intro h2 { margin: 0 0 18px; font-size: clamp(30px, 3.2vw, 48px); line-height: 1.08; }
.first-appointment-intro p { max-width: 410px; margin: 0; color: var(--text-muted); font-size: 17px; line-height: 1.6; }
.first-appointment-list { position: relative; z-index: 1; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.first-appointment-list li { display: grid; grid-template-columns: 42px 1fr; gap: 16px; align-items: center; min-height: 64px; padding: 13px 0; border-bottom: 1px solid rgba(96, 84, 177, .13); color: var(--text); font-size: 16px; line-height: 1.45; }
.first-appointment-list li:last-child { border-bottom: 0; }
.first-appointment-number { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--violet-text); background: #fff; box-shadow: 0 7px 18px rgba(48, 30, 110, .10); font-size: 12px; font-weight: 800; }
@media (max-width: 820px) {
  .first-appointment-panel { grid-template-columns: 1fr; gap: 24px; }
  .first-appointment-intro p { max-width: none; }
}
@media (max-width: 520px) {
  .first-appointment-panel { padding: 26px 20px; border-radius: var(--r-xl); }
  .first-appointment-intro h2 { font-size: 30px; }
  .first-appointment-list li { grid-template-columns: 36px 1fr; gap: 12px; font-size: 15px; }
  .first-appointment-number { width: 34px; height: 34px; }
}

.doc-exp-section { padding-top: var(--section-pad-tight); padding-bottom: var(--section-pad); }
.doc-timeline {
  position: relative;
  max-width: 980px;
  margin: 8px auto 0;
  padding: 8px 0;
}
/* central rail */
.doc-timeline-rail {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(216, 207, 239, 0) 0%, #E2DAF2 8%, #E2DAF2 92%, rgba(216, 207, 239, 0) 100%);
  border-radius: 3px;
  overflow: hidden;
}
.doc-timeline-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(180deg, var(--violet-text), var(--violet));
  border-radius: 3px;
  transition: height 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.tl-item {
  position: relative;
  width: 50%;
  padding: 0 48px 44px;
  box-sizing: border-box;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-item.tl-left { left: 0; text-align: right; }
.tl-item.tl-right { left: 50%; text-align: left; }

/* node dot on the rail */
.tl-item .tl-dot {
  position: absolute;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid #E2DAF2;
  z-index: 2;
  transition: border-color 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}
.tl-item.tl-left .tl-dot { right: -8px; }
.tl-item.tl-right .tl-dot { left: -8px; }

.tl-card {
  display: inline-block;
  text-align: left;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(96, 84, 177, 0.10);
  border-radius: var(--r-xl);
  padding: 22px 26px;
  box-shadow: 0 10px 30px rgba(48, 30, 110, 0.06);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  position: relative;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.3s ease;
  opacity: 0;
}
.tl-item.tl-left  .tl-card { transform: translateX(34px); }
.tl-item.tl-right .tl-card { transform: translateX(-34px); }
.tl-item.is-in .tl-card { opacity: 1; transform: none; }
.tl-item.is-in .tl-dot {
  border-color: var(--violet);
  transform: scale(1.15);
  box-shadow: 0 0 0 5px rgba(96, 84, 177, 0.10);
}
.tl-card:hover {
  box-shadow: 0 16px 40px rgba(48, 30, 110, 0.12);
  transform: translateY(-2px);
}

/* little arrow connector */
.tl-card::before {
  content: "";
  position: absolute;
  top: 13px;
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(96, 84, 177, 0.10);
  transform: rotate(45deg);
}
.tl-item.tl-left .tl-card::before { right: -7px; border-left: none; border-bottom: none; }
.tl-item.tl-right .tl-card::before { left: -7px; border-right: none; border-top: none; }

.tl-year {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--violet);
  background: rgba(96, 84, 177, 0.10);
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}
.tl-role {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 6px;
  line-height: 1.25;
}
.tl-place {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .doc-hero-card { grid-template-columns: 1fr; padding-bottom: 0; }
  .doc-hero-body { align-self: auto; padding-top: 8px; padding-bottom: var(--hero-pad); }
  .doc-hero-figure {
    max-width: none; margin: 0;
    background: linear-gradient(180deg, #ECE3F8 0%, #F6EBF0 100%);
    border-radius: 20px;
    min-height: 380px;
    align-items: flex-end;
    overflow: hidden;
    position: relative;
  }
  .doc-hero-figure::before { content: none; }
  .doc-hero-figure img { max-width: 320px; z-index: 2; }
  .doc-quote-card { grid-template-columns: 1fr; padding-bottom: 0; }
  .doc-quote-figure { max-width: 320px; margin: 0 auto; order: -1; }
  .doc-quote-body { align-self: auto; padding-top: 8px; padding-bottom: var(--quote-pad); }
}
@media (max-width: 860px) {
  /* timeline → single rail on the left */
  .doc-timeline-rail { left: 9px; transform: none; }
  .tl-item { width: 100%; left: 0 !important; text-align: left !important; padding: 0 0 32px 40px; }
  .tl-item .tl-dot { left: 0 !important; right: auto !important; }
  .tl-item .tl-card { transform: translateX(28px) !important; }
  .tl-item.is-in .tl-card { transform: none !important; }
  .tl-item .tl-card::before { left: -7px !important; right: auto !important; border-right: none; border-top: none; border-left: 1px solid var(--border); border-bottom: 1px solid var(--border); }
}
@media (max-width: 720px) {
  .doc-hero-stats { grid-template-columns: 1fr 1fr; }
  .doc-hero-actions { gap: 14px; }
  .doc-gal-arrow { width: 44px; height: 44px; }
}
@media (max-width: 600px) {
  /* Компактный hero врача */
  .doc-hero-figure { min-height: 0; }
  .doc-hero-eyebrow { font-size: 11.5px; padding: 6px 12px; margin: 0 0 14px; }
  .doc-hero-name { font-size: 25px; line-height: 1.1; margin: 0 0 10px; }
  .doc-hero-roles { gap: 6px 9px; margin: 0 0 18px; }
  .doc-hero-roles span { font-size: 15px; }
  .doc-hero-roles span + span::before { margin-right: 8px; }
  .doc-hero-stats { gap: 8px; margin-bottom: 22px; }
  .doc-stat { padding: 13px 16px; border-radius: 14px; }
  .doc-stat-num { font-size: 18px; margin-bottom: 2px; }
  .doc-stat-label { font-size: 12.5px; }
  .doc-hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .doc-hero-actions .btn { width: 100%; }

  /* Галерея: один кадр на всю ширину, фото видно целиком */
  .doc-gallery-track { scroll-snap-type: x mandatory; gap: 12px; }
  .doc-gallery-track figure {
    flex: 0 0 100%;
    width: 100%;
    height: auto;
    scroll-snap-align: center;
  }
  .doc-gallery-track img { width: 100%; height: auto; }
  .doc-gal-arrow.prev { left: 8px; }
  .doc-gal-arrow.next { right: 8px; }
}
@media (max-width: 480px) {
  .doc-hero-stats { grid-template-columns: 1fr; }
  /* статы в одну строку: число + подпись рядом */
  .doc-stat { display: flex; align-items: baseline; gap: 8px; }
  .doc-stat-num { margin-bottom: 0; flex-shrink: 0; }
}

/* ---------- Образование: на всю ширину контента, крупнее и читабельнее ---------- */
.doc-edu-section .about-edu { list-style: none; margin: 0; padding: 0; }
.doc-edu-section .edu-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: start;
  padding: 26px 4px;
  border-top: 1px solid var(--border);
}
.doc-edu-section .edu-item:first-child { border-top: 0; }
/* убираем вертикальную чёрточку-акцент на hover (липла к цифрам) */
.doc-edu-section .edu-item::before { content: none; }
/* свернуто: лишние пункты скрыты, видны только первые 5 (под «Показать больше») */
.doc-edu-section .about-edu:not(.is-expanded) .edu-item.edu-hidden { display: none; }
.doc-edu-section .edu-period {
  font-size: 28px;
  font-weight: 700;
  color: var(--violet);
  letter-spacing: -0.01em;
}
.doc-edu-section .edu-desc {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
}
.doc-edu-section .edu-bullet {
  width: 10px;
  height: 10px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--violet);
}
.doc-edu-section .science-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.doc-edu-section .science-list li {
  position: relative;
  padding: 18px 4px 18px 30px;
  border-top: 1px solid var(--border);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
}
.doc-edu-section .science-list li:first-child { border-top: 0; }
.doc-edu-section .science-list:not(.is-expanded) .science-hidden { display: none; }
.doc-edu-section .science-list li::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--violet);
}
@media (max-width: 720px) {
  .doc-edu-section .edu-item { grid-template-columns: 1fr; gap: 6px; padding: 20px 2px; }
  .doc-edu-section .edu-period { font-size: 24px; }
  .doc-edu-section .edu-desc { font-size: 16px; }
}
