/* ==========================================================================
   AelisMed — Company / Technology / Blog pages (Framos-style layout)
   Companion stylesheet for the com_sppagebuilder page override (ids 7, 12)
   and the com_content category blog override (catid 79).
   Every rule is scoped to the three page containers so the rest of the
   theme is untouched. Design tokens mirror aelismed-mockups/css/design.css.
   ========================================================================== */

@font-face {
  font-family: 'Tomorrow';
  src: url('../fonts/Tomorrow-Bold.woff2') format('woff2'),
       url('../fonts/Tomorrow-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

#aelismed-company,
#aelismed-tech,
#aelismed-blog, #aelismed-contact {
  --ink:        #202b39;
  --ink-2:      #11181e;
  --ink-3:      #2c3d4d;
  --muted:      #53616b;
  --muted-2:    #7d8b95;
  --accent:     #397f91;
  --accent-d:   #286779;
  --accent-l:   #5097a9;
  --accent-pale:#8cc6d4;
  --bg:         #f7f8fa;
  --bg-2:       #eef2f4;
  --white:      #ffffff;
  --line:       #dce1e4;
  --line-2:     #e8edef;
  --eyebrow-bg: #e8f0f2;
  --eyebrow-fg: #327487;
  --h-font: 'Tomorrow', 'Segoe UI', system-ui, sans-serif;
  --b-font: 'Source Sans 3', 'Source Sans Pro', -apple-system, 'Segoe UI', 'Microsoft YaHei', sans-serif;

  background: #fff;
  color: var(--muted);
  font-family: var(--b-font);
  font-size: 16px;
  line-height: 1.65;
}

#aelismed-company *, #aelismed-tech *, #aelismed-blog *,
#aelismed-company *::before, #aelismed-tech *::before, #aelismed-blog *::before,
#aelismed-company *::after,  #aelismed-tech *::after,  #aelismed-blog *::after { box-sizing: border-box; }

#aelismed-company img, #aelismed-tech img, #aelismed-blog img { max-width: 100%; height: auto; display: block; }
#aelismed-company a, #aelismed-tech a, #aelismed-blog a { text-decoration: none; color: inherit; }

#aelismed-company h1, #aelismed-tech h1, #aelismed-blog h1, #aelismed-contact h1, #aelismed-article h1,
#aelismed-company h2, #aelismed-tech h2, #aelismed-blog h2, #aelismed-contact h2, #aelismed-article h2,
#aelismed-company h3, #aelismed-tech h3, #aelismed-blog h3, #aelismed-contact h3, #aelismed-article h3,
#aelismed-company h4, #aelismed-tech h4, #aelismed-blog h4, #aelismed-contact h4, #aelismed-article h4 {
  font-family: var(--h-font);
  color: var(--ink);
  margin: 0;
  font-weight: 700;
}
#aelismed-company h1, #aelismed-tech h1, #aelismed-blog h1, #aelismed-contact h1, #aelismed-article h1 { font-size: 44px; line-height: 1.06; letter-spacing: -0.03em; text-transform: uppercase; color: #fff; }
#aelismed-company h2, #aelismed-tech h2, #aelismed-blog h2, #aelismed-contact h2 { font-size: 36px; line-height: 1.14; letter-spacing: -0.02em; }
#aelismed-company h3, #aelismed-tech h3, #aelismed-blog h3, #aelismed-contact h3 { font-size: 22px; line-height: 1.28; letter-spacing: -0.01em; }
#aelismed-company h4, #aelismed-tech h4, #aelismed-blog h4 { font-size: 16.5px; line-height: 1.32; }
#aelismed-company p,  #aelismed-tech p,  #aelismed-blog p  { margin: 0; }

/* ------------------------------------------------------------- containers */
.aep-wrap { max-width: 1240px; margin: 0 auto; padding: 0 40px; }

/* ---------------------------------------------------------------- crumb */
#aelismed-company .aep-crumb, #aelismed-tech .aep-crumb, #aelismed-blog .aep-crumb, #aelismed-contact .aep-crumb, #aelismed-article .aep-crumb {
  background: var(--ink-2); padding: 13px 0;
}
#aelismed-company .aep-crumb-pill, #aelismed-tech .aep-crumb-pill, #aelismed-blog .aep-crumb-pill, #aelismed-contact .aep-crumb-pill, #aelismed-article .aep-crumb-pill {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, .06); border-radius: 24px;
  padding: 8px 20px; font-size: 13px; color: #93a3ac;
}
#aelismed-company .aep-crumb-pill a, #aelismed-tech .aep-crumb-pill a, #aelismed-blog .aep-crumb-pill a, #aelismed-contact .aep-crumb-pill a, #aelismed-article .aep-crumb-pill a { color: var(--accent-pale); }
#aelismed-company .aep-crumb-pill a:hover, #aelismed-tech .aep-crumb-pill a:hover, #aelismed-blog .aep-crumb-pill a:hover, #aelismed-contact .aep-crumb-pill a:hover, #aelismed-article .aep-crumb-pill a:hover { color: #fff; }
#aelismed-company .aep-sep, #aelismed-tech .aep-sep, #aelismed-blog .aep-sep, #aelismed-article .aep-sep { opacity: .5; }
#aelismed-company .aep-cur, #aelismed-tech .aep-cur, #aelismed-blog .aep-cur, #aelismed-contact .aep-cur, #aelismed-article .aep-cur { color: #fff; }

/* --------------------------------------------------------------- buttons */
#aelismed-company .btn, #aelismed-tech .btn, #aelismed-blog .btn, #aelismed-contact .btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--b-font); font-size: 15px; font-weight: 700;
  padding: 13px 28px; border-radius: 40px;
  background: var(--accent); color: #fff; border: 0;
  transition: background .18s, transform .18s, box-shadow .18s;
  white-space: nowrap; cursor: pointer;
}
#aelismed-company .btn:hover, #aelismed-tech .btn:hover, #aelismed-blog .btn:hover, #aelismed-contact .btn:hover {
  background: var(--accent-d); color: #fff; transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(57,127,145,.28);
}
#aelismed-company .btn-light, #aelismed-tech .btn-light, #aelismed-blog .btn-light { background: #fff; color: var(--ink); }
#aelismed-company .btn-light:hover, #aelismed-tech .btn-light:hover, #aelismed-blog .btn-light:hover { color: var(--accent-d); }
#aelismed-company .btn .arr, #aelismed-tech .btn .arr, #aelismed-blog .btn .arr { font-size: 15px; }

/* --------------------------------------------------------------- eyebrow */
#aelismed-company .eyebrow, #aelismed-tech .eyebrow, #aelismed-blog .eyebrow, #aelismed-contact .eyebrow, #aelismed-article .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--eyebrow-bg); color: var(--eyebrow-fg);
  font-size: 12.5px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: 7px 17px; border-radius: 30px;
}
#aelismed-company .eyebrow.on-dark, #aelismed-tech .eyebrow.on-dark, #aelismed-blog .eyebrow.on-dark, #aelismed-contact .eyebrow.on-dark, #aelismed-article .eyebrow.on-dark {
  background: rgba(140,198,212,.14); color: var(--accent-pale);
}
#aelismed-company .eyebrow.dot::before, #aelismed-tech .eyebrow.dot::before, #aelismed-blog .eyebrow.dot::before, #aelismed-contact .eyebrow.dot::before, #aelismed-article .eyebrow.dot::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor;
}

/* ----------------------------------------------------------------- hero */
#aelismed-company .hero, #aelismed-tech .hero, #aelismed-blog .hero, #aelismed-contact .hero, #aelismed-article .hero {
  position: relative; min-height: 330px;
  display: flex; align-items: center;
  overflow: hidden; background: var(--ink-2);
}
#aelismed-company .hero-bg, #aelismed-tech .hero-bg, #aelismed-blog .hero-bg, #aelismed-contact .hero-bg, #aelismed-article .hero-bg {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(120% 100% at 68% 30%, rgba(80,151,169,.30), transparent 62%),
    linear-gradient(115deg, #16212c 0%, #22323f 46%, #101a22 100%);
}
#aelismed-company .hero-bg::after, #aelismed-tech .hero-bg::after, #aelismed-blog .hero-bg::after, #aelismed-contact .hero-bg::after, #aelismed-article .hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 54px 54px;
}
#aelismed-company .hero .aep-wrap, #aelismed-tech .hero .aep-wrap, #aelismed-blog .hero .aep-wrap, #aelismed-contact .hero .aep-wrap, #aelismed-article .hero .aep-wrap {
  position: relative; z-index: 3; padding-top: 56px; padding-bottom: 56px;
}
#aelismed-company .hero h1, #aelismed-tech .hero h1, #aelismed-blog .hero h1, #aelismed-contact .hero h1, #aelismed-article .hero h1 { margin-top: 20px; max-width: 780px; }
#aelismed-company .hero .sub, #aelismed-tech .hero .sub, #aelismed-blog .hero .sub, #aelismed-contact .hero .sub, #aelismed-article .hero .sub {
  color: #a9bcc5; font-size: 18.5px; max-width: 660px; margin: 22px 0 0;
}

/* --------------------------------------------------------------- sections */
#aelismed-company .section, #aelismed-tech .section, #aelismed-blog .section { padding: 96px 0; }
#aelismed-company .section.tight, #aelismed-tech .section.tight, #aelismed-blog .section.tight { padding: 68px 0; }
#aelismed-company .section.bg, #aelismed-tech .section.bg, #aelismed-blog .section.bg { background: var(--bg); }
#aelismed-company .section.dark, #aelismed-tech .section.dark, #aelismed-blog .section.dark, #aelismed-contact .section.dark {
  background: var(--ink); color: #b9c6ce;
}
#aelismed-company .section.dark h2, #aelismed-tech .section.dark h2, #aelismed-blog .section.dark h2,
#aelismed-company .section.dark h3, #aelismed-tech .section.dark h3, #aelismed-blog .section.dark h3,
#aelismed-company .section.dark h4, #aelismed-tech .section.dark h4, #aelismed-blog .section.dark h4 { color: #fff; }

#aelismed-company .sec-head, #aelismed-tech .sec-head, #aelismed-blog .sec-head { max-width: 780px; }
#aelismed-company .sec-head.center, #aelismed-tech .sec-head.center, #aelismed-blog .sec-head.center { margin: 0 auto; text-align: center; }
#aelismed-company .sec-head .eyebrow, #aelismed-tech .sec-head .eyebrow, #aelismed-blog .sec-head .eyebrow { margin-bottom: 20px; }
#aelismed-company .sec-head h2, #aelismed-tech .sec-head h2, #aelismed-blog .sec-head h2 { margin-top: 4px; }
#aelismed-company .sec-head p, #aelismed-tech .sec-head p, #aelismed-blog .sec-head p, #aelismed-contact .sec-head p {
  font-size: 17.5px; margin: 18px 0 0; color: var(--muted);
}
#aelismed-company .section.dark .sec-head p, #aelismed-tech .section.dark .sec-head p, #aelismed-blog .section.dark .sec-head p { color: #a7b6bf; }

/* ------------------------------------------------------------------ grid */
#aelismed-company .grid, #aelismed-tech .grid, #aelismed-blog .grid { display: grid; gap: 26px; }
#aelismed-company .g2, #aelismed-tech .g2, #aelismed-blog .g2 { grid-template-columns: repeat(2, 1fr); }
#aelismed-company .g3, #aelismed-tech .g3, #aelismed-blog .g3 { grid-template-columns: repeat(3, 1fr); }
#aelismed-company .g4, #aelismed-tech .g4, #aelismed-blog .g4 { grid-template-columns: repeat(4, 1fr); }

/* ------------------------------------------------------------- value card */
#aelismed-company .value-card, #aelismed-tech .value-card, #aelismed-blog .value-card, #aelismed-contact .value-card {
  background: #fff; border: 1px solid var(--line-2);
  border-radius: 18px; padding: 30px 26px 32px;
  transition: transform .2s, box-shadow .2s;
}
#aelismed-company .value-card:hover, #aelismed-tech .value-card:hover, #aelismed-blog .value-card:hover, #aelismed-contact .value-card:hover {
  transform: translateY(-3px); box-shadow: 0 14px 30px rgba(32,43,57,.09);
}
#aelismed-company .vc-icon, #aelismed-tech .vc-icon, #aelismed-blog .vc-icon, #aelismed-contact .vc-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--eyebrow-bg); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 20px;
  font-family: var(--h-font); font-size: 15px;
}
#aelismed-company .value-card h4, #aelismed-tech .value-card h4, #aelismed-blog .value-card h4 { margin-bottom: 10px; }
#aelismed-company .value-card p, #aelismed-tech .value-card p, #aelismed-blog .value-card p { font-size: 14.5px; margin: 0; }
#aelismed-company .section.dark .value-card, #aelismed-tech .section.dark .value-card, #aelismed-blog .section.dark .value-card, #aelismed-contact .section.dark .value-card {
  background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.1);
}
#aelismed-company .section.dark .vc-icon, #aelismed-tech .section.dark .vc-icon, #aelismed-blog .section.dark .vc-icon, #aelismed-contact .section.dark .vc-icon {
  background: rgba(140,198,212,.14); color: var(--accent-pale);
}
#aelismed-company .section.dark .value-card p, #aelismed-tech .section.dark .value-card p, #aelismed-blog .section.dark .value-card p { color: #9db0ba; }

/* ------------------------------------------------------------- feat list */
#aelismed-company .feat-list, #aelismed-tech .feat-list, #aelismed-blog .feat-list { list-style: none; margin: 0; padding: 0; }
#aelismed-company .feat-list li, #aelismed-tech .feat-list li, #aelismed-blog .feat-list li, #aelismed-contact .feat-list li {
  position: relative; padding: 11px 0 11px 30px;
  border-bottom: 1px solid var(--line-2); font-size: 15px;
}
#aelismed-company .feat-list li::before, #aelismed-tech .feat-list li::before, #aelismed-blog .feat-list li::before, #aelismed-contact .feat-list li::before {
  content: ""; position: absolute; left: 0; top: 19px;
  width: 13px; height: 7px; border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}
#aelismed-company .feat-list li strong, #aelismed-tech .feat-list li strong, #aelismed-blog .feat-list li strong { color: var(--ink); }

/* ----------------------------------------------------------------- stats */
#aelismed-company .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
#aelismed-company .stat {
  text-align: center; padding: 30px 18px;
  background: #fff; border: 1px solid var(--line-2); border-radius: 18px;
}
#aelismed-company .stat .num { font-family: var(--h-font); font-size: 38px; color: var(--accent); line-height: 1.05; letter-spacing: -0.03em; }
#aelismed-company .stat .lbl { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); font-weight: 700; margin-top: 12px; }

/* ----------------------------------------------------------------- split */
#aelismed-company .split, #aelismed-tech .split, #aelismed-blog .split, #aelismed-contact .split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
#aelismed-company .split p + p, #aelismed-tech .split p + p, #aelismed-blog .split p + p { margin-top: 16px; }
#aelismed-company .split .sp-img, #aelismed-tech .split .sp-img, #aelismed-blog .split .sp-img, #aelismed-contact .split .sp-img {
  border-radius: 18px; overflow: hidden;
}
#aelismed-company .split .sp-img img, #aelismed-tech .split .sp-img img, #aelismed-blog .split .sp-img img, #aelismed-contact .split .sp-img img {
  width: 100%; height: auto; display: block;
}

/* lens motif for placeholder panels */
#aelismed-company .lens, #aelismed-tech .lens, #aelismed-blog .lens, #aelismed-contact .lens {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 168px; height: 168px; border-radius: 50%;
  border: 1px solid rgba(140,198,212,.5);
  box-shadow: inset 0 0 0 22px rgba(140,198,212,.07), inset 0 0 44px rgba(140,198,212,.22);
}
#aelismed-company .lens::before, #aelismed-tech .lens::before, #aelismed-blog .lens::before, #aelismed-contact .lens::before {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 92px; height: 92px; border-radius: 50%;
  border: 1px solid rgba(140,198,212,.42);
}
#aelismed-company .lens::after, #aelismed-tech .lens::after, #aelismed-blog .lens::after, #aelismed-contact .lens::after {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 34px; height: 34px; border-radius: 50%;
  background: radial-gradient(circle at 35% 32%, #a9dbe7, var(--accent) 55%, #1d3d47);
  box-shadow: 0 0 30px rgba(140,198,212,.55);
}
#aelismed-company .sp-img .lens, #aelismed-tech .sp-img .lens { position: absolute; }
#aelismed-company .split .sp-img, #aelismed-tech .split .sp-img { position: relative; }
#aelismed-company .split.rev .sp-img, #aelismed-tech .split.rev .sp-img, #aelismed-blog .split.rev .sp-img { order: 2; }

/* ------------------------------------------------------------ facility strip (company) */
#aelismed-company .fac-strip {
  margin-top: 54px; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line-2); background: #fff;
}
#aelismed-company .fac-strip img { width: 100%; }

/* ------------------------------------------------------------ hiring band (company) */
#aelismed-company .hiring {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
}
#aelismed-company .hiring .hiring-img { border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); background: #fff; }
#aelismed-company .hiring .hiring-img img { width: 100%; }

/* ------------------------------------------------------------------ blog */
#aelismed-blog .post-feat-img, #aelismed-contact .post-feat-img {
  border-radius: 18px; overflow: hidden; min-height: 400px;
  background: #1b2532; border: 1px solid var(--line-2);
}
#aelismed-blog .post-feat-img img { width: 100%; height: 100%; object-fit: cover; }
#aelismed-blog .post-meta, #aelismed-contact .post-meta {
  font-size: 13px; letter-spacing: .07em; text-transform: uppercase;
  color: var(--muted-2); font-weight: 700;
  display: flex; align-items: center; gap: 14px; margin-bottom: 16px;
}
#aelismed-blog .post-meta .pm-cat { color: var(--accent); }
#aelismed-blog .post-card, #aelismed-contact .post-card {
  border-radius: 18px; overflow: hidden; background: #fff;
  border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
#aelismed-blog .post-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(32,43,57,.11); }
#aelismed-blog .post-card .po-img, #aelismed-contact .post-card .po-img {
  height: 200px; overflow: hidden; background: #1b2532;
}
#aelismed-blog .post-card .po-img img { width: 100%; height: 100%; object-fit: cover; }
#aelismed-blog .post-card .po-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
#aelismed-blog .post-card .po-meta, #aelismed-contact .post-card .po-meta {
  font-size: 12px; letter-spacing: .09em; text-transform: uppercase;
  color: var(--accent); font-weight: 700; margin-bottom: 12px;
}
#aelismed-blog .post-card h3 { font-size: 19px; line-height: 1.3; margin-bottom: 11px; }
#aelismed-blog .post-card h3 a { color: inherit; }
#aelismed-blog .post-card h3 a:hover { color: var(--accent-d); }
#aelismed-blog .post-card p { font-size: 14.3px; margin: 0 0 18px; flex: 1; }
#aelismed-blog .cc-link { color: var(--accent); font-size: 14px; font-weight: 700; }
#aelismed-blog .cc-link .arr { margin-left: 5px; }

/* -------------------------------------------------------------- cta band */
#aelismed-company .cta-band, #aelismed-tech .cta-band, #aelismed-blog .cta-band, #aelismed-contact .cta-band {
  background: var(--ink); padding: 76px 0;
}
#aelismed-company .cta-band .aep-wrap, #aelismed-tech .cta-band .aep-wrap, #aelismed-blog .cta-band .aep-wrap, #aelismed-contact .cta-band .aep-wrap {
  display: flex; align-items: center; gap: 40px; justify-content: space-between;
}
#aelismed-company .cta-band h2, #aelismed-tech .cta-band h2, #aelismed-blog .cta-band h2, #aelismed-contact .cta-band h2 {
  color: #fff; max-width: 640px; font-size: 33px;
}
#aelismed-company .cta-band p, #aelismed-tech .cta-band p, #aelismed-blog .cta-band p, #aelismed-contact .cta-band p {
  color: #a7b6bf; margin: 14px 0 0; max-width: 560px;
}

/* ------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  #aelismed-company .g4, #aelismed-tech .g4, #aelismed-blog .g4 { grid-template-columns: repeat(2, 1fr); }
  #aelismed-company .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  #aelismed-company .split, #aelismed-tech .split, #aelismed-blog .split,
  #aelismed-company .hiring { grid-template-columns: 1fr; gap: 34px; }
  #aelismed-company .split.rev .sp-img, #aelismed-tech .split.rev .sp-img, #aelismed-blog .split.rev .sp-img { order: 0; }
  #aelismed-company .section, #aelismed-tech .section, #aelismed-blog .section { padding: 64px 0; }
  #aelismed-company h1, #aelismed-tech h1, #aelismed-blog h1, #aelismed-contact h1, #aelismed-article h1 { font-size: 34px; }
  #aelismed-company h2, #aelismed-tech h2, #aelismed-blog h2 { font-size: 28px; }
#aelismed-company .cta-band .aep-wrap, #aelismed-tech .cta-band .aep-wrap, #aelismed-blog .cta-band .aep-wrap, #aelismed-contact .cta-band .aep-wrap {
    flex-direction: column; align-items: flex-start; gap: 26px;
  }
}
@media (max-width: 620px) {
  #aelismed-company .g4, #aelismed-tech .g4, #aelismed-blog .g4,
  #aelismed-company .g3, #aelismed-tech .g3, #aelismed-blog .g3 { grid-template-columns: 1fr; }
  #aelismed-company .stats { grid-template-columns: 1fr; }
  .aep-wrap { padding: 0 22px; }
}

/* ==========================================================================
   Contact page (id 15) — form styles
   ========================================================================== */

#aelismed-contact .grid { display: grid; gap: 26px; }
#aelismed-contact .g3 { grid-template-columns: repeat(3, 1fr); }
#aelismed-contact .value-card a { color: var(--accent-d); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--accent-pale); }
#aelismed-contact .value-card a:hover { color: var(--accent); }

#aelismed-contact .aec-form { max-width: 820px; margin-top: 44px; }
#aelismed-contact .aec-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
#aelismed-contact .aec-form label { display: flex; flex-direction: column; gap: 8px; font-weight: 600; font-size: 14px; color: var(--ink); }
#aelismed-contact .aec-form label.aec-wide { margin-bottom: 20px; }
#aelismed-contact .aec-form input,
#aelismed-contact .aec-form textarea {
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  padding: 13px 16px; font: inherit; font-weight: 400; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease; resize: vertical;
}
#aelismed-contact .aec-form input::placeholder,
#aelismed-contact .aec-form textarea::placeholder { color: var(--muted-2); }
#aelismed-contact .aec-form input:focus,
#aelismed-contact .aec-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(57,127,145,.14); }
/* 2026-09-29: legacy.css(Bootstrap2 残留) 的 input,textarea{width:206px} 把表单控件全压成小块——按栅格拉满 */
#aelismed-contact .aec-form input,
#aelismed-contact .aec-form textarea { width: 100%; display: block; box-sizing: border-box; }
#aelismed-contact .aec-form textarea { min-height: 150px; }
#aelismed-contact .aec-note { font-size: 13.5px; color: var(--muted); margin: 4px 0 24px; }
#aelismed-contact .aec-note a { color: var(--accent-d); font-weight: 600; }

@media (max-width: 900px) {
  #aelismed-contact .g3 { grid-template-columns: 1fr; }
  #aelismed-contact .aec-row { grid-template-columns: 1fr; }
}

/* ===== Technology: pillar card anchor links ===== */
html { scroll-behavior: smooth; }
#aelismed-tech section[id^="tech-"] { scroll-margin-top: 96px; }
#aelismed-tech a.value-card {
  display: block; text-decoration: none; color: inherit; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}
#aelismed-tech a.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(18, 32, 51, .14);
}
#aelismed-tech a.value-card h4 { color: inherit; }
#aelismed-tech .vc-more {
  display: inline-block; margin-top: 14px;
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
  color: #2b6cb0;
}
#aelismed-tech a.value-card:hover .vc-more { text-decoration: underline; }


/* ==========================================================================
   Company page (id 7) - team section
   ========================================================================== */
#aelismed-company .team-grid { display: grid; gap: 26px; margin-top: 48px; }
#aelismed-company .team-grid.g4f { grid-template-columns: repeat(4, 1fr); }
#aelismed-company .team-grid.g6o { grid-template-columns: repeat(3, 1fr); margin-top: 26px; }
#aelismed-company .team-card {
  background: #fff; border: 1px solid var(--line-2);
  border-radius: 18px; padding: 30px 24px 32px; text-align: center;
  transition: transform .2s, box-shadow .2s;
}
#aelismed-company .team-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(32,43,57,.09); }
#aelismed-company .team-card img { width: 104px; height: 104px; border-radius: 50%; margin: 0 auto 16px; display: block; }
#aelismed-company .team-card h4 { margin: 0 0 6px; font-size: 17px; }
#aelismed-company .team-card .t-role {
  font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 12px; line-height: 1.5;
}
#aelismed-company .team-card .t-bio { font-size: 13.5px; line-height: 1.62; color: var(--muted); margin: 0; }
@media (max-width: 1080px) {
  #aelismed-company .team-grid.g4f, #aelismed-company .team-grid.g6o { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  #aelismed-company .team-grid { gap: 14px; margin-top: 30px; }
  #aelismed-company .team-grid.g6o { margin-top: 14px; }
  #aelismed-company .team-grid.g4f, #aelismed-company .team-grid.g6o { grid-template-columns: repeat(2, 1fr); }
  #aelismed-company .team-card { padding: 18px 12px 20px; border-radius: 14px; }
  #aelismed-company .team-card img { width: 88px; height: 88px; margin-bottom: 10px; }
  #aelismed-company .team-card h4 { font-size: 14.5px; margin-bottom: 4px; }
  #aelismed-company .team-card .t-role { font-size: 10px; margin-bottom: 8px; letter-spacing: .03em; }
  #aelismed-company .team-card .t-bio { font-size: 12px; line-height: 1.55; }
}

/* ==========================================================================
   Article detail page (com_content article view) — unified typography
   with the rest of the AelisMed pages. Scoped to #aelismed-article.
   ========================================================================== */
#aelismed-article {
  --ink:        #202b39;
  --ink-2:      #11181e;
  --ink-3:      #2c3d4d;
  --muted:      #53616b;
  --accent:     #397f91;
  --accent-d:   #286779;
  --h-font: 'Tomorrow', 'Segoe UI', system-ui, sans-serif;
  --b-font: 'Source Sans 3', 'Source Sans Pro', -apple-system, 'Segoe UI', 'Microsoft YaHei', sans-serif;
}
/* cover image sits at the top of the article body, above the text */
#aelismed-article .art-cover { margin: 0 0 28px; }
#aelismed-article .art-cover img {
  width: 100%; height: auto; display: block;
  border-radius: 14px; box-shadow: 0 16px 38px rgba(32, 43, 57, .16);
}
#aelismed-article .container { max-width: 920px; }
#aelismed-article .article-item-full-text {
  font-family: var(--b-font);
  font-size: 16.5px; line-height: 1.78; color: var(--ink-3);
  padding-top: 8px;
}
#aelismed-article .article-item-full-text h2,
#aelismed-article .article-item-full-text h3,
#aelismed-article .article-item-full-text h4 {
  font-family: var(--h-font); font-weight: 700; color: var(--ink);
  letter-spacing: -0.015em; line-height: 1.22; margin: 1.6em 0 0.6em;
}
#aelismed-article .article-item-full-text h2 { font-size: 30px; }
#aelismed-article .article-item-full-text h3 { font-size: 23px; }
#aelismed-article .article-item-full-text h4 { font-size: 18px; }
#aelismed-article .article-item-full-text p { margin: 0 0 1.15em; }
#aelismed-article .article-item-full-text > p:first-of-type { font-size: 18px; color: var(--ink); }
#aelismed-article .article-item-full-text a { color: var(--accent-d); text-decoration: underline; }
#aelismed-article .article-item-full-text a:hover { color: var(--accent); }
#aelismed-article .article-item-full-text ul,
#aelismed-article .article-item-full-text ol { margin: 0 0 1.15em; padding-left: 1.4em; }
#aelismed-article .article-item-full-text li { margin-bottom: 0.45em; }
#aelismed-article .article-item-full-text blockquote {
  margin: 1.4em 0; padding: 14px 22px; border-left: 4px solid var(--accent);
  background: #f2f7f8; color: var(--ink); font-size: 17px; border-radius: 0 10px 10px 0;
}
#aelismed-article .article-item-full-text img {
  max-width: 100%; height: auto; border-radius: 12px;
  box-shadow: 0 8px 26px rgba(32, 43, 57, .10);
}
#aelismed-article .article-item-full-text p:has(> img:only-child) { text-align: center; }
#aelismed-article .article-item-full-text p:has(> img:only-child) img { display: inline-block; }
@media (max-width: 767.98px) {
  #aelismed-article .container { max-width: 100%; }
  #aelismed-article .article-item-full-text { font-size: 15.5px; line-height: 1.72; }
  #aelismed-article .article-item-full-text h2 { font-size: 24px; }
  #aelismed-article .article-item-full-text h3 { font-size: 20px; }
  #aelismed-article .article-item-full-text > p:first-of-type { font-size: 16.5px; }
}

/* ==========================================================================
   [2026-09-29 PM] article two-col: cover breathing room + sticky products aside
   ========================================================================== */
#aelismed-article .item-page { padding-top: 44px; }
#aelismed-article .container { max-width: 1140px; }
@media (min-width: 1280px) { #aelismed-article .container { max-width: 1520px; } }
#aelismed-article .article-two-col {
  display: flex; flex-wrap: wrap; gap: 36px;
  align-items: flex-start;
}
#aelismed-article .article-two-col > article.item-page { flex: 1 1 560px; min-width: 0; }
#aelismed-article .article-two-col > aside.article-aside,
#aelismed-article .article-two-col > aside.article-rail { flex: 0 0 280px; width: 280px; }
#aelismed-article .article-two-col > aside.article-rail { display: none; }
@media (min-width: 1280px) { #aelismed-article .article-two-col > aside.article-rail { display: grid; } }
#aelismed-article .item-page { max-width: none; width: auto; }
#aelismed-article .article-aside, #aelismed-article .article-rail { position: sticky; top: 96px; display: grid; gap: 18px; }
#aelismed-article .aa-block {
  background: #fff; border: 1px solid #e4e9ee; border-radius: 14px;
  padding: 22px 22px 20px; box-shadow: 0 10px 30px rgba(32, 43, 57, .08);
}
#aelismed-article .aa-kicker {
  display: block; font-family: var(--h-font); font-weight: 700; font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
#aelismed-article .aa-cards { display: grid; gap: 14px; }
#aelismed-article .aa-card {
  display: block; background: #fff; border: 1px solid #e4e9ee; border-radius: 12px;
  overflow: hidden; text-decoration: none; transition: box-shadow .18s, transform .18s;
}
#aelismed-article .aa-card:hover { box-shadow: 0 10px 26px rgba(32, 43, 57, .12); transform: translateY(-2px); }
#aelismed-article .aa-card-img {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4 / 3; padding: 14px; background: #f5f7f9;
}
#aelismed-article .aa-card-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
#aelismed-article .aa-card-body { display: block; padding: 12px 14px 13px; }
#aelismed-article .aa-card-tag {
  display: block; font-family: var(--b-font); font-weight: 700; font-size: 10.5px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 5px;
}
#aelismed-article .aa-card-title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-family: var(--b-font); font-size: 13.5px; line-height: 1.35; font-weight: 600;
  color: var(--ink); margin-bottom: 8px;
}
#aelismed-article .aa-card-go { font-family: var(--b-font); font-size: 12px; font-weight: 600; color: var(--accent-d); }
#aelismed-article .aa-all {
  display: inline-block; margin-top: 12px; font-family: var(--b-font);
  font-size: 13.5px; font-weight: 600; color: var(--accent-d);
  text-decoration: none; border-bottom: 1.5px solid rgba(40, 103, 121, .35); padding-bottom: 3px;
}
#aelismed-article .aa-all:hover { color: var(--accent); }
#aelismed-article .aa-cta p { font-family: var(--b-font); font-size: 13.5px; line-height: 1.55; color: var(--muted); margin: 0 0 14px; }
#aelismed-article .aa-wa {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #25d366; color: #fff !important; border-radius: 999px; padding: 11px 16px;
  font-family: var(--b-font); font-size: 14px; font-weight: 600; text-decoration: none !important;
}
#aelismed-article .aa-wa::before { content: "\f232"; font-family: "Font Awesome 6 Brands"; font-weight: 400; }
#aelismed-article .aa-wa:hover { background: #1fb857; }
@media (max-width: 991.98px) {
  #aelismed-article .article-two-col { flex-direction: column; }
  #aelismed-article .article-two-col > article.item-page { order: -1; width: 100%; flex-basis: auto; }
  #aelismed-article .article-two-col > aside.article-aside,
  #aelismed-article .article-two-col > aside.article-rail {
    display: grid; width: auto; flex-basis: auto; margin-top: 4px; position: static;
  }
  #aelismed-article .aa-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
  #aelismed-article .item-page { padding-top: 32px; }
  #aelismed-article .aa-block { padding: 18px 16px 16px; }
}
