/* Etkin Madde V7.0 — completely independent breadcrumb, restrained drug hero.
 * Unlike the v6.5–6.9 revisions, breadcrumbs live OUTSIDE the em65 main.
 * All rules are scoped to drug details; existing data/PDF/related logic stays intact.
 */
body.single-em_drug .em70-stage{
  position:relative;
  isolation:isolate;
  width:100%;
  background:#f3f6fa;
  padding:0 0 46px;
  min-height:480px;
}
body.single-em_drug .em70-stage::before{
  content:'';
  position:absolute;
  inset:0 0 auto;
  height:255px;
  z-index:-1;
  pointer-events:none;
  background-image:linear-gradient(to bottom,rgba(243,246,250,0) 0%,rgba(243,246,250,.05) 49%,rgba(243,246,250,.82) 88%,#f3f6fa 100%),url('../img/hero-full-bg.webp');
  background-size:cover;
  background-position:center 34%;
  background-repeat:no-repeat;
}
body.single-em_drug .em70-layout{
  box-sizing:border-box;
  width:min(1190px,calc(100% - 32px));
  max-width:1190px;
  margin:0 auto;
  padding:20px 0 0;
  position:relative;
  z-index:3;
}
/* No .em60-crumbs/.em65-crumbs classes — old style chains cannot hide this row. */
body.single-em_drug .em70-trail{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap;
  gap:7px;
  position:relative!important;
  box-sizing:border-box;
  min-height:26px;
  width:100%;
  max-width:100%;
  margin:0 0 13px!important;
  padding:0 4px;
  border:0;
  background:transparent;
  visibility:visible!important;
  opacity:1!important;
  overflow:visible!important;
  transform:none!important;
  z-index:5;
  font-size:12px;
  line-height:1.5;
  text-align:left;
  color:#355273;
  text-shadow:0 1px 5px rgba(255,255,255,.9);
}
body.single-em_drug .em70-trail a{
  display:inline;
  color:#174880!important;
  font-weight:800;
  text-decoration:none;
}
body.single-em_drug .em70-trail a:hover,
body.single-em_drug .em70-trail a:focus-visible{text-decoration:underline;color:#c71639!important}
body.single-em_drug .em70-trail__arrow{color:#849db5;font-size:17px;line-height:1}
body.single-em_drug .em70-trail__current{
  min-width:0;
  overflow-wrap:anywhere;
  font-weight:650;
  color:#4d6685;
}
/* The frame sits below the breadcrumb, not over it. */
body.single-em_drug .em70-page{
  display:block;
  margin:0!important;
  padding:0!important;
  width:100%;
  max-width:none;
  position:relative;
  z-index:1;
  background:transparent!important;
  min-height:0;
  overflow:visible;
}
body.single-em_drug .em70-page .em70-frame{
  display:block;
  box-sizing:border-box;
  position:relative;
  margin:0!important;
  width:100%;
  padding:16px 16px 19px;
  border:1px solid #d9e3ee;
  border-radius:23px;
  background:#fff;
  box-shadow:0 18px 43px rgba(20,49,84,.073),0 3px 12px rgba(22,49,78,.026);
  overflow:visible;
}
/* Premium drug name and price — restrained contrast, no gratuitous data. */
body.single-em_drug .em70-hero{
  box-sizing:border-box;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:26px;
  align-items:center;
  position:relative;
  isolation:isolate;
  min-height:157px;
  margin:0 0 15px;
  padding:23px 24px 23px 29px;
  overflow:hidden;
  border:1px solid rgba(241,250,255,.12);
  border-radius:20px;
  color:#fff;
  background:linear-gradient(112deg,#133c73 0%,#174d80 48%,#0f6576 100%);
  box-shadow:0 9px 20px rgba(23,66,110,.11);
}
body.single-em_drug .em70-hero::before{
  content:'';
  position:absolute;
  z-index:-1;
  width:420px;height:280px;
  top:-130px;right:10%;
  pointer-events:none;
  border-radius:50%;
  background:radial-gradient(ellipse,rgba(135,220,229,.13),rgba(135,220,229,0) 68%);
}
body.single-em_drug .em70-hero::after{
  content:'';
  position:absolute;
  z-index:-1;
  width:4px;
  top:26px;bottom:26px;left:0;
  border-radius:0 4px 4px 0;
  background:#f5425f;
}
body.single-em_drug .em70-hero__copy{min-width:0;max-width:100%}
body.single-em_drug .em70-hero__eyebrow{
  display:inline-flex;
  align-items:center;
  gap:9px;
  color:#dceeff;
  font-size:11px;
  font-weight:870;
  letter-spacing:.1em;
  line-height:1.3;
  margin:0 0 12px;
}
body.single-em_drug .em70-hero__eyebrow-icon{
  display:inline-block;
  width:8px;height:8px;
  border-radius:3px;
  background:#ff4a68;
  box-shadow:0 0 0 4px rgba(255,87,113,.16);
}
body.single-em_drug .em70-hero h1{
  margin:0!important;
  padding:0!important;
  color:#fff!important;
  text-align:left!important;
  max-width:860px;
  font-size:clamp(22px,2.15vw,30px)!important;
  font-weight:850;
  line-height:1.18!important;
  letter-spacing:-.027em!important;
  overflow-wrap:anywhere;
  text-wrap:pretty;
}
body.single-em_drug .em70-hero__subline{
  margin:11px 0 0;
  font-size:12px;
  line-height:1.5;
  font-weight:540;
  color:#cce3f6;
}
body.single-em_drug .em70-price{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:8px;
  box-sizing:border-box;
  flex-shrink:0;
  min-width:170px;
  max-width:260px;
  padding:18px 20px;
  background:#fff;
  border:1px solid rgba(255,255,255,.98);
  border-radius:17px;
  box-shadow:0 9px 21px rgba(3,28,57,.15);
  text-align:right;
}
body.single-em_drug .em70-price__label{
  font-size:10px;
  font-weight:850;
  letter-spacing:.085em;
  line-height:1.3;
  color:#60758b;
}
body.single-em_drug .em70-price strong{
  font-size:clamp(22px,1.95vw,27px);
  line-height:1.12;
  font-weight:880;
  letter-spacing:-.032em;
  color:#dd1739;
  font-variant-numeric:tabular-nums;
  overflow-wrap:anywhere;
}
/* Keep historical two-column card/PDF and 3 related lists aligned. */
body.single-em_drug .em70-page .em63-grid{gap:14px!important;align-items:stretch!important}
body.single-em_drug .em70-page .em63-related-grid{gap:14px!important;margin-top:14px!important}
body.single-em_drug .em70-page .em63-bottom-card{margin-top:0!important}
body.single-em_drug .em70-page .em69-ingredient-band{
  border:1px solid #f2b1c0!important;
  border-left:5px solid #d81a3f!important;
  background:linear-gradient(104deg,#fff2f5 0%,#fff7f9 100%)!important;
}
@media(max-width:1024px){
  body.single-em_drug .em70-stage::before{height:230px}
  body.single-em_drug .em70-layout{padding-top:16px}
  body.single-em_drug .em70-hero{min-height:140px;padding:20px 19px;gap:16px}
}
@media(max-width:650px){
  body.single-em_drug .em70-layout{width:calc(100% - 20px);padding-top:14px}
  body.single-em_drug .em70-stage::before{height:210px}
  body.single-em_drug .em70-trail{font-size:11px;min-height:25px;margin-bottom:10px!important;padding:0 2px;gap:5px}
  body.single-em_drug .em70-page .em70-frame{padding:10px;border-radius:18px}
  body.single-em_drug .em70-hero{grid-template-columns:1fr;gap:15px;min-height:0;padding:20px 17px 17px;border-radius:16px;margin-bottom:12px}
  body.single-em_drug .em70-hero h1{font-size:clamp(20px,5.8vw,25px)!important}
  body.single-em_drug .em70-hero__eyebrow{font-size:10px;margin-bottom:10px}
  body.single-em_drug .em70-hero__subline{margin-top:9px;font-size:11px}
  body.single-em_drug .em70-price{width:100%;max-width:none;min-width:0;text-align:left;gap:5px;padding:11px 13px;border-radius:12px}
  body.single-em_drug .em70-price strong{font-size:23px}
  body.single-em_drug .em70-page .em63-grid{gap:10px!important}
  body.single-em_drug .em70-page .em63-related-grid{gap:10px!important;margin-top:10px!important}
}
/* Inherited header input paddings should never force a mobile horizontal scroll. */
body.single-em_drug .site-header .header-search-wrap,
body.single-em_drug .site-header .search-form {min-width:0;max-width:100%;box-sizing:border-box}
body.single-em_drug .site-header .search-form input[type=search] {
  flex:1 1 0;
  width:100%;
  min-width:0;
  max-width:100%;
  padding-right:8px!important;
}
@media(max-width:650px){
  body.single-em_drug .site-header .header-search-wrap .search-form>button{flex:0 0 67px;min-width:67px!important}
  body.single-em_drug .site-header .header-search-wrap .search-form{width:100%;min-width:0;max-width:100%}
}
