/* Only additions needed for content-driven guides. The approved template CSS is copied at install time. */
body.sd-guide-batch { --guide-header-height:72px; }
.sd-guide-batch [hidden] { display:none !important; }
.sd-guide-batch [data-guide-root] { min-width:0; }
.sd-guide-batch [data-guide-section], .sd-guide-batch [id^="fuente-"] { scroll-margin-top:calc(var(--guide-header-height) + 24px); }
.sd-guide-batch .sd-guide-progress { top:var(--guide-header-height); }
.sd-guide-batch .sd-guide__toc { top:calc(var(--guide-header-height) + 20px); }
.sd-guide-batch .sd-guide__hero-copy, .sd-guide-batch .sd-guide__article, .sd-guide-batch .sd-guide__hero-grid > *, .sd-guide-batch .sd-guide__quick-card > * { min-width:0; }
.sd-guide-batch .sd-guide__author-inline div { min-width:0; }
.sd-guide-batch .sd-guide__hero-media figcaption { color:#536b75; }
.sd-guide-batch .sd-guide__author-inline small { color:#725248; }
.sd-guide-batch .sd-guide__signals-result[data-state="empty"] { background:#eef6f6; color:#183742; }
.sd-guide-batch .sd-guide__signals-result[data-state="empty"] [data-check-kicker], .sd-guide-batch .sd-guide__signals-result[data-state="empty"] > p, .sd-guide-batch .sd-guide__signals-result[data-state="empty"] > small { color:#45616b; }
.sd-guide-batch .sd-guide__signals-result > small { color:#c4d5d8; }
.sd-guide-batch .sd-guide__signals-result { position:static; align-self:start; }
.sd-guide-batch .sd-guide__signals-result [data-check-whatsapp] { min-height:44px; }
.sd-guide-batch .sd-guide__signals-result [data-check-clear] { min-height:36px; padding:.35rem .7rem; }
.sd-guide-batch .sd-guide__checklist label { cursor:pointer; }
.sd-guide-batch .sd-guide__checklist input { accent-color:#006d77; }
.sd-guide-batch .sd-guide__checklist label:focus-within { outline:2px solid #006d77; outline-offset:3px; }
.sd-guide-batch a:focus-visible, .sd-guide-batch button:focus-visible, .sd-guide-batch summary:focus-visible, .sd-guide-batch [role="tabpanel"]:focus-visible { outline:2px solid #006d77; outline-offset:4px; }
.sd-guide-batch .sd-guide__compare-panel { display:block; }
.sd-guide-batch .sd-guide__author-photo { max-width:220px; }
.sd-guide-batch .sd-guide__related h3 a { color:inherit; text-decoration:none; }
.sd-guide-batch .sd-guide__related h3 a:hover { color:#006d77; text-decoration:underline; text-underline-offset:3px; }
.sd-guide-batch .sd-guide__related small { color:#506772; }
.sd-guide-batch .sd-guide__sources li { scroll-margin-top:calc(var(--guide-header-height) + 20px); overflow-wrap:anywhere; }
.sd-guide-batch .sd-batch-citations { font-size:.76rem !important; color:#506772 !important; line-height:1.6 !important; }
.sd-guide-batch .sd-batch-citations a { color:#006d77; padding:3px; display:inline-block; }
.sd-guide-batch .sd-batch-alert { margin-bottom:2rem; padding:1.15rem 1.35rem; border:1px solid #d4b49f; border-left:4px solid #946043; border-radius:18px; background:#faf3ed; color:#523c2f; }
.sd-guide-batch .sd-batch-alert strong { display:block; }
.sd-guide-batch .sd-batch-alert p { margin:.5rem 0 0; line-height:1.6; }
.sd-guide-batch .sd-batch-index { padding-bottom:4rem; }
.sd-guide-batch .sd-batch-index-controls { display:flex; align-items:end; flex-wrap:wrap; gap:1rem; padding:1.2rem; border:1px solid #d8e4e7; border-radius:22px; background:#fff; }
.sd-guide-batch .sd-batch-index-controls label { flex:1 1 240px; display:grid; gap:.5rem; color:#183742; font-size:.88rem; font-weight:700; }
.sd-guide-batch .sd-batch-index-controls input, .sd-guide-batch .sd-batch-index-controls select { width:100%; min-height:48px; border:1px solid #b9d0d5; border-radius:12px; background:#fff; color:#183742; font:inherit; font-weight:400; padding:.7rem .9rem; }
.sd-guide-batch .sd-batch-index-controls input:focus, .sd-guide-batch .sd-batch-index-controls select:focus { outline:2px solid #006d77; outline-offset:2px; }
.sd-guide-batch .sd-batch-index-controls button { min-height:46px; border:1px solid #b9d0d5; border-radius:999px; background:#edf5f5; color:#006d77; font:inherit; padding:.6rem 1rem; cursor:pointer; }
.sd-guide-batch .sd-batch-index [data-review-count] { color:#506772; margin:1.2rem 0; font-size:.9rem; }
.sd-guide-batch .sd-batch-index-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; }
.sd-guide-batch .sd-batch-index-grid article { min-width:0; display:flex; flex-direction:column; gap:1rem; padding:1.3rem; border:1px solid #dde6e8; border-radius:22px; background:#fff; }
.sd-guide-batch .sd-batch-index-grid article > div, .sd-guide-batch .sd-batch-index-grid article > footer { display:flex; flex-wrap:wrap; justify-content:space-between; gap:.6rem; font-size:.76rem; color:#506772; }
.sd-guide-batch .sd-batch-index-grid article > div { color:#006d77; font-weight:700; }
.sd-guide-batch .sd-batch-index-grid h2 { font:inherit; font-size:1.1rem; line-height:1.4; font-weight:700; letter-spacing:0; margin:0; }
.sd-guide-batch .sd-batch-index-grid h2 a { color:#183742; text-decoration:none; }
.sd-guide-batch .sd-batch-index-grid h2 a:hover { color:#006d77; text-decoration:underline; text-underline-offset:3px; }
.sd-guide-batch .sd-batch-index-grid article > p { margin:0; font-size:.9rem; line-height:1.6; color:#506772; }
.sd-guide-batch .sd-batch-index-grid article > footer { margin-top:auto; padding-top:.6rem; border-top:1px solid #e3ebed; }
.sd-guide-batch .sd-batch-index-links { display:flex; flex-wrap:wrap; gap:1rem 1.5rem; margin:1.4rem 0 0; }
.sd-guide-batch .sd-batch-index-links a { color:#006d77; font-weight:700; }
.sd-guide-batch .sd-batch-index [data-review-empty] { padding:2rem; background:#eef6f6; border-radius:18px; color:#183742; }
@media (max-width:920px) {
 .sd-guide-batch .sd-guide__toc { position:relative; top:auto; }
 .sd-guide-batch .sd-batch-index-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:640px) {
 .sd-guide-batch .sd-batch-index-grid { grid-template-columns:1fr; }
 .sd-guide-batch .sd-guide__author-photo { width:150px; max-width:100%; }
 .sd-guide-batch .sd-guide__hero-media { width:100%; }
 .sd-guide-batch .sd-guide__signals-module { grid-template-columns:minmax(0,1fr); }
 .sd-guide-batch .sd-guide__checklist label { min-width:0; }
}
@media (prefers-reduced-motion:reduce) {
 .sd-guide-batch { scroll-behavior:auto; }
 .sd-guide-batch *, .sd-guide-batch *::before, .sd-guide-batch *::after { scroll-behavior:auto !important; transition:none !important; animation:none !important; }
}

/* Blog 40 approved content refinements */
.sd-guide-batch .sd-guide__clinical-note + .sd-guide__content-section { margin-top: clamp(2.1rem, 3.2vw, 3.25rem); }
.sd-guide-batch .sd-guide__signals-message-space { min-height: 2.6rem; margin: 0; }
@media (max-width: 720px) { .sd-guide-batch .sd-guide__clinical-note + .sd-guide__content-section { margin-top: 2rem; } .sd-guide-batch .sd-guide__signals-message-space { min-height: 2.2rem; } }

/* Blog index V2 — Frostik-inspired information architecture, Somnia visual system */
.sd-guide-batch .sd-blog-home-hero {
  padding:clamp(3rem,5.5vw,5rem) 0 clamp(2.8rem,5vw,4.4rem);
  background:
    radial-gradient(circle at 86% 18%, rgba(0,109,119,.075), transparent 27%),
    radial-gradient(circle at 8% 84%, rgba(162,145,211,.07), transparent 29%),
    #f8fafa;
  border-bottom:1px solid rgba(24,55,66,.06);
}
.sd-guide-batch .sd-blog-home-hero-grid {
  display:grid;
  grid-template-columns:minmax(0,1.04fr) minmax(390px,.96fr);
  gap:clamp(2.5rem,5vw,5.5rem);
  align-items:center;
}
.sd-guide-batch .sd-blog-home-copy { min-width:0; }
.sd-guide-batch .sd-blog-home-copy .sd-guide__breadcrumb { margin-bottom:1.4rem; }
.sd-guide-batch .sd-blog-home-copy > .sd-guide__eyebrow { margin-bottom:.9rem; }
.sd-guide-batch .sd-blog-home-copy h1 {
  max-width:760px;
  margin:0;
  color:#183742;
  font-family:var(--display-font);
  font-size:clamp(3rem,5.5vw,5.15rem);
  font-weight:400;
  line-height:.97;
  letter-spacing:-.055em;
}
.sd-guide-batch .sd-blog-home-copy > p:not(.sd-guide__eyebrow) {
  max-width:690px;
  margin:1.25rem 0 0;
  color:#627780;
  font-size:clamp(.98rem,1.35vw,1.08rem);
  line-height:1.7;
}
.sd-guide-batch .sd-blog-search-panel {
  padding:clamp(1.3rem,2vw,1.7rem);
  border:1px solid rgba(24,55,66,.09);
  border-radius:28px;
  background:rgba(255,255,255,.9);
  box-shadow:0 22px 55px rgba(23,58,66,.08);
  backdrop-filter:blur(10px);
}
.sd-guide-batch .sd-blog-search-panel label { display:grid; gap:.7rem; }
.sd-guide-batch .sd-blog-search-panel label > span {
  color:#183742;
  font-size:.84rem;
  font-weight:800;
}
.sd-guide-batch .sd-blog-search-panel input {
  width:100%;
  min-height:58px;
  padding:.85rem 1rem;
  border:1px solid rgba(0,109,119,.2);
  border-radius:16px;
  background:#fff;
  color:#183742;
  font:inherit;
  font-size:.93rem;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7);
}
.sd-guide-batch .sd-blog-search-panel input::placeholder { color:#82949b; }
.sd-guide-batch .sd-blog-search-panel input:focus { outline:2px solid rgba(0,109,119,.24); outline-offset:2px; border-color:#006d77; }
.sd-guide-batch .sd-blog-search-topics { display:grid; gap:.65rem; margin-top:1rem; }
.sd-guide-batch .sd-blog-search-topics > span {
  color:#73868e;
  font-size:.7rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.sd-guide-batch .sd-blog-search-topics > div { display:flex; flex-wrap:wrap; gap:.45rem; }
.sd-guide-batch .sd-blog-search-topics button,
.sd-guide-batch .sd-blog-search-status button,
.sd-guide-batch .sd-blog-library-controls button,
.sd-guide-batch .sd-blog-empty button {
  font:inherit;
  cursor:pointer;
}
.sd-guide-batch .sd-blog-search-topics button {
  min-height:34px;
  padding:.42rem .72rem;
  border:1px solid rgba(0,109,119,.12);
  border-radius:999px;
  background:#f5fafa;
  color:#006d77;
  font-size:.72rem;
  font-weight:750;
  transition:transform .16s ease,border-color .16s ease,background .16s ease;
}
.sd-guide-batch .sd-blog-search-topics button:hover,
.sd-guide-batch .sd-blog-search-topics button:focus-visible { transform:translateY(-1px); border-color:rgba(0,109,119,.3); background:#eef7f7; }
.sd-guide-batch .sd-blog-search-status {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  margin-top:1.15rem;
  padding-top:1rem;
  border-top:1px solid rgba(24,55,66,.07);
}
.sd-guide-batch .sd-blog-search-status strong { color:#61757e; font-size:.78rem; font-weight:700; }
.sd-guide-batch .sd-blog-search-status button {
  min-height:34px;
  padding:.38rem .72rem;
  border:1px solid rgba(24,55,66,.1);
  border-radius:999px;
  background:#fff;
  color:#60757d;
  font-size:.72rem;
  font-weight:750;
}

.sd-guide-batch .sd-blog-featured { padding-top:clamp(3.6rem,6vw,5.5rem); }
.sd-guide-batch .sd-blog-section-heading,
.sd-guide-batch .sd-blog-library-heading {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(260px,.48fr);
  gap:clamp(1.5rem,4vw,4rem);
  align-items:end;
  margin-bottom:1.5rem;
}
.sd-guide-batch .sd-blog-section-heading h2,
.sd-guide-batch .sd-blog-library-heading h2 {
  max-width:790px;
  margin:0;
  color:#183742;
  font-family:var(--display-font);
  font-size:clamp(2.3rem,4vw,3.55rem);
  font-weight:400;
  line-height:1.02;
  letter-spacing:-.045em;
}
.sd-guide-batch .sd-blog-section-heading > p,
.sd-guide-batch .sd-blog-library-heading > p {
  margin:0 0 .25rem;
  color:#6d7f87;
  font-size:.88rem;
  line-height:1.6;
}
.sd-guide-batch .sd-blog-feature-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.9rem;
}
.sd-guide-batch .sd-blog-feature-card,
.sd-guide-batch .sd-blog-library-card {
  min-width:0;
  border:1px solid rgba(24,55,66,.085);
  background:#fff;
  overflow:hidden;
}
.sd-guide-batch .sd-blog-feature-card { border-radius:24px; }
.sd-guide-batch .sd-blog-feature-card > a,
.sd-guide-batch .sd-blog-library-card > a {
  display:flex;
  flex-direction:column;
  height:100%;
  color:inherit;
  text-decoration:none;
}
.sd-guide-batch .sd-blog-feature-card > a {
  min-height:300px;
  padding:1.25rem 1.25rem 1.15rem;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease,background .2s ease;
}
.sd-guide-batch .sd-blog-feature-card:hover { border-color:rgba(0,109,119,.2); box-shadow:0 18px 40px rgba(23,58,66,.07); }
.sd-guide-batch .sd-blog-feature-card:hover > a { transform:translateY(-3px); }
.sd-guide-batch .sd-blog-feature-meta,
.sd-guide-batch .sd-blog-library-meta {
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:.55rem;
  align-items:center;
  color:#006d77;
}
.sd-guide-batch .sd-blog-feature-meta span,
.sd-guide-batch .sd-blog-library-meta span {
  font-size:.66rem;
  font-weight:900;
  letter-spacing:.12em;
}
.sd-guide-batch .sd-blog-feature-meta small,
.sd-guide-batch .sd-blog-library-meta small {
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:.66rem;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.sd-guide-batch .sd-blog-feature-meta em,
.sd-guide-batch .sd-blog-library-meta em {
  color:#86979d;
  font-size:.67rem;
  font-style:normal;
  white-space:nowrap;
}
.sd-guide-batch .sd-blog-feature-card h3 {
  margin:1rem 0 0;
  color:#183742;
  font-size:1.08rem;
  font-weight:750;
  line-height:1.36;
  letter-spacing:-.015em;
}
.sd-guide-batch .sd-blog-feature-card p {
  margin:.7rem 0 0;
  color:#647983;
  font-size:.84rem;
  line-height:1.6;
}
.sd-guide-batch .sd-blog-feature-cta,
.sd-guide-batch .sd-blog-library-cta {
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  margin-top:auto;
  padding-top:1rem;
  color:#006d77;
  font-size:.75rem;
  font-weight:850;
}
.sd-guide-batch .sd-blog-feature-cta b,
.sd-guide-batch .sd-blog-library-cta b { transition:transform .16s ease; }
.sd-guide-batch a:hover .sd-blog-feature-cta b,
.sd-guide-batch a:hover .sd-blog-library-cta b { transform:translateX(4px); }

.sd-guide-batch .sd-blog-library { padding-top:clamp(4.5rem,7vw,6.5rem); padding-bottom:clamp(3.8rem,6vw,5.5rem); }
.sd-guide-batch .sd-blog-library-controls {
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
  margin:0 0 1.35rem;
  padding:.8rem;
  border:1px solid rgba(24,55,66,.08);
  border-radius:20px;
  background:#f7fafa;
}
.sd-guide-batch .sd-blog-library-controls button {
  min-height:38px;
  padding:.48rem .76rem;
  border:1px solid transparent;
  border-radius:999px;
  background:transparent;
  color:#5f747d;
  font-size:.72rem;
  font-weight:750;
  transition:background .16s ease,color .16s ease,border-color .16s ease,transform .16s ease;
}
.sd-guide-batch .sd-blog-library-controls button span { margin-left:.3rem; color:#96a5aa; font-weight:700; }
.sd-guide-batch .sd-blog-library-controls button:hover,
.sd-guide-batch .sd-blog-library-controls button:focus-visible { transform:translateY(-1px); border-color:rgba(0,109,119,.14); background:#fff; color:#006d77; }
.sd-guide-batch .sd-blog-library-controls button.is-active { border-color:rgba(0,109,119,.18); background:#006d77; color:#fff; box-shadow:0 8px 20px rgba(0,109,119,.12); }
.sd-guide-batch .sd-blog-library-controls button.is-active span { color:rgba(255,255,255,.72); }
.sd-guide-batch .sd-blog-library-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.9rem;
}
.sd-guide-batch .sd-blog-library-card { --card-accent:#57bdb5; position:relative; border-radius:22px; }
.sd-guide-batch .sd-blog-library-card::before { content:''; position:absolute; inset:0 auto auto 0; width:100%; height:4px; background:var(--card-accent); opacity:.8; }
.sd-guide-batch .sd-blog-library-card[data-category="Sleep"] { --card-accent:#9386cf; }
.sd-guide-batch .sd-blog-library-card[data-category="Kids"] { --card-accent:#ee9a9f; }
.sd-guide-batch .sd-blog-library-card[data-category="Ortho & Smile"] { --card-accent:#a99be2; }
.sd-guide-batch .sd-blog-library-card[data-category="Smile"] { --card-accent:#cf93ad; }
.sd-guide-batch .sd-blog-library-card[data-category="Endo & Cirugía"] { --card-accent:#c9816d; }
.sd-guide-batch .sd-blog-library-card[data-category="Restauración"] { --card-accent:#82aeb6; }
.sd-guide-batch .sd-blog-library-card[data-category="Encías"] { --card-accent:#78a990; }
.sd-guide-batch .sd-blog-library-card > a {
  min-height:260px;
  padding:1.15rem 1.15rem 1rem;
  transition:transform .18s ease,box-shadow .18s ease;
}
.sd-guide-batch .sd-blog-library-card:hover { box-shadow:0 14px 34px rgba(23,58,66,.065); }
.sd-guide-batch .sd-blog-library-card:hover > a { transform:translateY(-2px); }
.sd-guide-batch .sd-blog-library-card h3 {
  margin:.9rem 0 0;
  color:#183742;
  font-size:.98rem;
  font-weight:750;
  line-height:1.4;
}
.sd-guide-batch .sd-blog-library-card p {
  margin:.65rem 0 0;
  color:#6b7d85;
  font-size:.8rem;
  line-height:1.58;
}
.sd-guide-batch .sd-blog-empty {
  margin-top:1rem;
  padding:2rem;
  border:1px solid rgba(0,109,119,.1);
  border-radius:24px;
  background:#eef6f6;
  text-align:center;
}
.sd-guide-batch .sd-blog-empty h3 { margin:.4rem 0 0; color:#183742; font-size:1.15rem; }
.sd-guide-batch .sd-blog-empty > p:not(.sd-guide__eyebrow) { color:#63777f; }
.sd-guide-batch .sd-blog-empty button {
  min-height:40px;
  margin-top:.6rem;
  padding:.5rem .9rem;
  border:1px solid rgba(0,109,119,.18);
  border-radius:999px;
  background:#fff;
  color:#006d77;
  font-size:.75rem;
  font-weight:800;
}
.sd-guide-batch .sd-blog-bottom-cta {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:2rem;
  align-items:center;
  margin-bottom:clamp(3rem,5vw,4rem);
  padding:clamp(1.8rem,4vw,3rem);
  border-radius:30px;
  background:#163a42;
  color:#fff;
  box-shadow:0 24px 55px rgba(23,58,66,.12);
}
.sd-guide-batch .sd-blog-bottom-cta h2 {
  max-width:800px;
  margin:0;
  color:#fff;
  font-family:var(--display-font);
  font-size:clamp(2.1rem,3.8vw,3.25rem);
  font-weight:400;
  line-height:1.02;
  letter-spacing:-.045em;
}
.sd-guide-batch .sd-blog-bottom-cta p:not(.sd-guide__eyebrow) { max-width:720px; margin:.9rem 0 0; color:rgba(255,255,255,.72); line-height:1.6; }
.sd-guide-batch .sd-blog-bottom-cta > div:last-child { display:grid; gap:.65rem; min-width:220px; }
.sd-guide-batch .sd-blog-bottom-cta a { display:flex; min-height:46px; align-items:center; justify-content:center; padding:.7rem 1rem; border-radius:999px; background:#fff; color:#163a42; font-size:.78rem; font-weight:850; text-decoration:none; }
.sd-guide-batch .sd-blog-bottom-cta a + a { border:1px solid rgba(255,255,255,.24); background:transparent; color:#fff; }
.sd-guide-batch.is-blog-filtering .sd-blog-featured { display:none; }

@media (max-width:1000px) {
  .sd-guide-batch .sd-blog-home-hero-grid { grid-template-columns:1fr; gap:2rem; }
  .sd-guide-batch .sd-blog-search-panel { max-width:760px; }
  .sd-guide-batch .sd-blog-feature-grid,
  .sd-guide-batch .sd-blog-library-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:720px) {
  .sd-guide-batch .sd-blog-home-hero { padding-top:2.4rem; }
  .sd-guide-batch .sd-blog-home-copy h1 { font-size:clamp(2.65rem,12vw,3.75rem); }
  .sd-guide-batch .sd-blog-section-heading,
  .sd-guide-batch .sd-blog-library-heading { grid-template-columns:1fr; gap:.8rem; }
  .sd-guide-batch .sd-blog-feature-grid,
  .sd-guide-batch .sd-blog-library-grid { grid-template-columns:1fr; }
  .sd-guide-batch .sd-blog-feature-card > a { min-height:0; }
  .sd-guide-batch .sd-blog-library-card > a { min-height:0; }
  .sd-guide-batch .sd-blog-bottom-cta { grid-template-columns:1fr; }
  .sd-guide-batch .sd-blog-bottom-cta > div:last-child { min-width:0; width:100%; }
}
