/* Cordcell — styles layered on top of the Tailwind build.
   Kept in a separate file with cc- prefixed names because the main stylesheet
   is purged: utilities like h-20, w-auto, object-cover and aspect-video were
   never emitted by the original build, so using them here would silently do
   nothing. These rules are self-contained and survive a Tailwind config change. */

:root {
  --cc-brand: #05a9d0;
  --cc-ink: #0f172a;
  --cc-muted: #475569;
  --cc-line: #e2e8f0;
}

/* ------------------------------------------------------------------ logo -- */
.cc-logo { height: 34px; width: auto; display: block; }
@media (min-width: 640px) { .cc-logo { height: 40px; } }

/* The footer sits on slate-900 and the artwork is dark, so it needs a card. */
.cc-logo-chip {
  display: inline-block; background: #fff; border-radius: 10px;
  padding: 8px 12px; line-height: 0;
}
.cc-logo-chip .cc-logo { height: 32px; }

/* -------------------------------------------------- consulting doctors -- */
.cc-doc-grid { display: grid; gap: 20px; margin-top: 22px; }
@media (min-width: 640px) { .cc-doc-grid { grid-template-columns: 1fr 1fr; } }

.cc-doc-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--cc-line);
  border-radius: 16px; padding: 20px;
}
.cc-doc-photo {
  width: 84px; height: 84px; flex: 0 0 84px;
  border-radius: 9999px; object-fit: cover; object-position: center top;
  background: #e6f6fb; box-shadow: 0 0 0 3px #d8f0f8;
}
.cc-doc-name { margin: 0; font-size: 15px; font-weight: 700; color: var(--cc-ink); }
.cc-doc-role {
  margin: 3px 0 0; font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--cc-brand);
}
.cc-doc-line { margin: 6px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--cc-muted); }
.cc-doc-avail { font-weight: 600; color: #15803d; }
.cc-doc-note { margin-top: 16px; font-size: 13.5px; color: var(--cc-muted); }
.cc-doc-note a { color: var(--cc-brand); font-weight: 600; }

@media (max-width: 420px) {
  .cc-doc-card { flex-direction: column; }
  .cc-doc-photo { width: 76px; height: 76px; flex-basis: 76px; }
}

/* ----------------------------------------------- pregnancy tips videos -- */
.cc-video-main {
  margin-top: 28px; background: #fff; border: 1px solid var(--cc-line);
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 18px 40px -28px rgba(15, 23, 42, 0.35);
}
.cc-video-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  background: #0b1220; min-height: 220px;
}
.cc-video-frame iframe {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; z-index: 1;
}
.cc-video-caption {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap; padding: 18px 24px;
}
.cc-video-title { margin: 0; font-weight: 700; color: var(--cc-ink); }
.cc-video-sub { margin: 2px 0 0; font-size: 14px; color: var(--cc-muted); }

.cc-video-cols { display: grid; gap: 22px; margin-top: 22px; }
@media (min-width: 900px) { .cc-video-cols { grid-template-columns: 1fr 1fr; } }

.cc-video-panel {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--cc-line); border-radius: 16px; overflow: hidden;
}
.cc-video-ph {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px; border-bottom: 1px solid var(--cc-line);
  font-size: 14px; font-weight: 700; color: var(--cc-ink);
}
.cc-dot { width: 10px; height: 10px; border-radius: 9999px; display: inline-block; }
.cc-dot-yt { background: #ff0000; }
.cc-dot-fb { background: #1877f2; }
.cc-video-body { position: relative; flex: 1; min-height: 430px; background: #f1f5f9; }
.cc-video-body iframe {
  position: relative; z-index: 1; display: block;
  width: 100%; height: 430px; border: 0;
}
.cc-video-pf { padding: 14px 20px; border-top: 1px solid var(--cc-line); }
.cc-video-pf a { display: block; text-align: center; }

/* Shown only when an embed is blocked (ad blocker, consent tool, offline).
   A loaded YouTube or Facebook embed is opaque and covers this entirely. */
.cc-embed-fallback {
  position: absolute; inset: 0; z-index: 0;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 8px; padding: 28px 24px;
  text-align: center; font-size: 14px; color: var(--cc-muted);
}
.cc-embed-ic { font-size: 30px; line-height: 1; color: var(--cc-brand); }

/* ------------------------------------------- Managing Director's message -- */
.cc-md { display: grid; gap: 36px; }
@media (min-width: 900px) { .cc-md { grid-template-columns: 260px 1fr; gap: 48px; } }

.cc-md-aside { text-align: center; }
@media (min-width: 900px) { .cc-md-aside { position: sticky; top: 96px; } }

.cc-md-photo {
  width: 220px; height: 220px; margin: 0 auto; display: block;
  border-radius: 9999px; object-fit: cover; object-position: center top;
  background: #e6f6fb; border: 6px solid #fff;
  box-shadow: 0 0 0 2px #d8f0f8, 0 18px 40px -24px rgba(15, 23, 42, 0.45);
}
.cc-md-name { margin: 18px 0 0; font-size: 17px; font-weight: 700; color: var(--cc-ink); }
.cc-md-role {
  margin: 2px 0 0; font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--cc-brand);
}
.cc-md-contact { margin: 12px 0 0; font-size: 14px; line-height: 1.8; color: var(--cc-muted); }
.cc-md-contact a { color: var(--cc-brand); font-weight: 600; }

.cc-md-quote {
  margin: 18px 0 0; padding: 4px 0 4px 20px;
  border-left: 4px solid var(--cc-brand);
  font-size: 18px; line-height: 1.55; font-weight: 500; color: var(--cc-ink);
}
.cc-md-sign { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--cc-line); }
.cc-md-sign-name { margin: 0; font-size: 17px; font-weight: 700; color: var(--cc-ink); }
.cc-md-sign-role { margin: 2px 0 0; font-size: 14px; color: var(--cc-muted); }

@media (max-width: 600px) {
  .cc-md-photo { width: 180px; height: 180px; }
  .cc-md-quote { font-size: 16px; }
  .cc-video-body, .cc-video-body iframe { min-height: 380px; height: 380px; }
}
