@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");

/* ── AEO Simple Header ────────────────────────────────────── */
.aeo-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: .5px solid rgba(0,0,0,.12);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}
.aeo-header-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: .65rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.aeo-brand {
  color: #000;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: -.03em;
  white-space: nowrap;
}
.aeo-brand:hover { opacity: .6; }
.aeo-nav {
  display: flex;
  align-items: center;
  gap: .15rem;
}
.aeo-nav a {
  color: #555;
  text-decoration: none;
  font-size: .8rem;
  font-weight: 500;
  padding: .3rem .55rem;
  border-radius: 6px;
  transition: background .15s, color .15s;
}
.aeo-nav a:hover {
  background: rgba(0,0,0,.05);
  color: #000;
}
.aeo-nav-phone {
  color: #000 !important;
  font-weight: 700 !important;
  font-size: .85rem !important;
  letter-spacing: .01em;
}

@media (max-width: 768px) {
  .aeo-header-inner {
    padding: .55rem 1rem;
  }
  .aeo-brand {
    font-size: .85rem;
  }
  .aeo-nav a {
    font-size: .72rem;
    padding: .25rem .35rem;
  }
  .aeo-nav-phone {
    font-size: .78rem !important;
  }
}

/* AEO Page Styles — scoped under .aeo-wrapper to avoid hospital site CSS conflicts */
.aeo-wrapper {
  --aeo-text: #000000;
  --aeo-text-sub: #86868b;
  --aeo-bg: #ffffff;
  --aeo-bg-sub: #f5f5f7;
  --aeo-border: #d2d2d7;

  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color: var(--aeo-text);
  background: var(--aeo-bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-sizing: border-box;
}

.aeo-wrapper *, .aeo-wrapper *::before, .aeo-wrapper *::after {
  box-sizing: border-box;
}

/* Breadcrumb */
.aeo-wrapper .aeo-breadcrumb {
  font-size: .82rem;
  color: var(--aeo-text-sub);
  margin-bottom: 1.5rem;
}
.aeo-wrapper .aeo-breadcrumb a {
  color: var(--aeo-text-sub);
  text-decoration: none;
}
.aeo-wrapper .aeo-breadcrumb a:hover {
  color: var(--aeo-text);
}

/* Author Bio */
.aeo-wrapper .author-bio {
  background: var(--aeo-bg-sub);
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
}
.aeo-wrapper .author-bio p {
  margin: 0 0 .25rem;
  font-size: .88rem;
  line-height: 1.6;
}
.aeo-wrapper .author-bio .author-review {
  font-size: .9rem;
}
.aeo-wrapper .author-bio .author-education {
  color: var(--aeo-text-sub);
  font-size: .82rem;
}
.aeo-wrapper .author-bio .last-updated {
  color: var(--aeo-text-sub);
  font-size: .82rem;
  margin-bottom: 0;
}

/* Headings */
.aeo-wrapper h1 {
  font-size: 1.75rem;
  margin: 0 0 1rem;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -.04em;
  color: #000;
}
.aeo-wrapper h2 {
  font-size: 1.3rem;
  margin: 2.5rem 0 .75rem;
  font-weight: 700;
  letter-spacing: -.02em;
  padding-bottom: .5rem;
  border-bottom: .5px solid var(--aeo-border);
  color: #000;
}
.aeo-wrapper h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 .5rem;
  font-weight: 600;
  color: #000;
}

/* Text */
.aeo-wrapper p {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.75;
}
.aeo-wrapper a {
  color: #000;
  text-decoration: none;
}
.aeo-wrapper a:hover {
  opacity: .6;
}

/* Lists */
.aeo-wrapper ul, .aeo-wrapper ol {
  margin: .5rem 0 1rem 1.5rem;
  padding: 0;
}
.aeo-wrapper li {
  margin-bottom: .25rem;
  line-height: 1.7;
}

/* Tables */
.aeo-wrapper table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: .9rem;
}
.aeo-wrapper th, .aeo-wrapper td {
  padding: .75rem;
  border-bottom: 1px solid var(--aeo-border);
  text-align: left;
}
.aeo-wrapper th {
  font-weight: 600;
  color: var(--aeo-text-sub);
  font-size: .82rem;
  letter-spacing: .02em;
}
.aeo-wrapper .comparison-table {
  overflow-x: auto;
}

/* Blockquote */
.aeo-wrapper blockquote {
  border-left: 2px solid #d2d2d7;
  padding-left: 1rem;
  color: var(--aeo-text-sub);
  margin: 1rem 0;
}

/* FAQ */
.aeo-wrapper .faq-section {
  margin-top: 2rem;
}
.aeo-wrapper .faq-item {
  margin-bottom: 1rem;
  padding: 1.25rem;
  border: .5px solid var(--aeo-border);
  border-radius: 12px;
}
.aeo-wrapper .faq-item h3 {
  color: #000;
  font-size: 1rem;
  margin: 0 0 .5rem;
}
.aeo-wrapper .faq-item p {
  margin-bottom: 0;
  font-size: .95rem;
}

/* References */
.aeo-wrapper .references {
  margin-top: 2rem;
  font-size: .85rem;
  color: var(--aeo-text-sub);
}
.aeo-wrapper .references ol {
  padding-left: 1.5rem;
}
.aeo-wrapper .references li {
  margin-bottom: .5rem;
}
.aeo-wrapper .references a {
  color: var(--aeo-text-sub);
  text-decoration: underline;
}

/* Disclaimer */
.aeo-wrapper .disclaimer {
  margin-top: 3rem;
  padding: 1.25rem;
  border-top: .5px solid var(--aeo-border);
  font-size: .85rem;
  color: var(--aeo-text-sub);
}
.aeo-wrapper .disclaimer p {
  margin-bottom: 0;
}

/* AEO Footer (simple, inside wrapper) */
.aeo-footer {
  background: #1d1d1f;
  color: rgba(255,255,255,.75);
  padding: 2rem 1.5rem 1.25rem;
  font-size: .85rem;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}
.aeo-footer a {
  color: rgba(255,255,255,.85);
  text-decoration: none;
}
.aeo-footer-inner {
  max-width: 900px;
  margin: 0 auto;
}
.aeo-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.aeo-footer-name {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .1rem;
}
.aeo-footer-sub {
  font-size: .78rem;
  color: rgba(255,255,255,.45);
  margin-bottom: .4rem;
}
.aeo-footer-addr {
  font-size: .82rem;
  line-height: 1.6;
}
.aeo-footer-hours {
  font-size: .78rem;
  margin-top: .3rem;
  color: rgba(255,255,255,.45);
}
.aeo-footer-phone {
  text-align: center;
}
.aeo-phone-label {
  font-size: .72rem;
  color: rgba(255,255,255,.45);
  margin-bottom: .2rem;
  letter-spacing: .03em;
}
.aeo-phone-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .02em;
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: 10px;
  padding: .2rem 1rem;
  display: inline-block;
}
.aeo-footer-bottom {
  padding-top: 1rem;
  text-align: center;
  font-size: .72rem;
  color: rgba(255,255,255,.3);
}

/* Responsive */
@media (max-width: 768px) {
  .aeo-wrapper {
    padding: 1.5rem 1rem;
  }
  .aeo-wrapper h1 {
    font-size: 1.4rem;
  }
  .aeo-footer-top {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .aeo-phone-number {
    font-size: 1.25rem;
  }
}
