/* ============================================================================
   ADMEbio — /Protocols page styles (SCE-03, owner-approved mockup 2026-10-29)

   Loaded only by pages/Protocols.php; every rule is nested under .sce-protocols, which appears
   exactly once, so nothing reaches the catalogue, search, product, cart, ELK or other static
   pages. basic.css, the header and the footer are not modified. The hero, buttons and contact
   strip deliberately repeat page/Technical-Support.css (SCE-01) so both pages look the same.
   Card art: the approved illustration pack, decorative (see pages/Protocols.php).

   No font-family: the page inherits the site stack.

   NO @media RULE, for the same reason as page/Technical-Support.css: the storefront has no viewport
   meta and .container is a fixed 1008px, so a device-width query would fire on a phone while the
   box around this content is still 1008px wide. Layout switches are CONTAINER QUERIES on
   .sce-protocols, so they follow the width this content actually has:
     - 860px and wider (today: always, at 1008px): three protocol cards per row;
     - 560-859px: two per row;
     - narrower than 560px: one per row;
     - narrower than 760px: the hero stacks (art above text) and the contact strip wraps.
   Browsers without container-query support keep the desktop layout, which is what they show today.

   basic.css zeroes heading margins and list styles, so every heading and list here states its own.
   -moz-text-size-adjust:none stops Firefox Android text inflation on this page only.
   ========================================================================== */

.sce-protocols{container-type:inline-size;color:#333333;font-size:15px;line-height:1.6;-moz-text-size-adjust:none;padding:0 0 30px;}
.sce-protocols h1,.sce-protocols h2{color:#18334A;}
.sce-protocols p{margin:0 0 10px;font-size:15px;line-height:1.55;}
.sce-protocols a{color:#0071bb;}
.sce-protocols img{max-width:100%;}
.sce-protocols a:focus-visible{outline:2px solid #0071bb;outline-offset:2px;}

/* ---- hero: same treatment as /Technical-Support, 15px below the navigation ---- */
.sce-protocols .sce-pr-hero{position:relative;display:flex;align-items:center;min-height:228px;overflow:hidden;
  background:linear-gradient(90deg,#EAF4FB 0,#EAF4FB 45%,#DCEDF8 100%);border-radius:4px;margin:15px 0 22px;}
.sce-protocols .sce-pr-hero-text{position:relative;z-index:1;flex:0 1 600px;min-width:0;padding:28px 30px;box-sizing:border-box;}
/* Decorative art; a mask fades its left edge into the hero colour so no text sits on the image. */
.sce-protocols .sce-pr-hero-art{position:absolute;right:0;top:0;height:100%;width:auto;max-width:55%;object-fit:cover;object-position:right center;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 40%);mask-image:linear-gradient(90deg,transparent 0,#000 40%);}
.sce-protocols .sce-pr-h1{font-size:clamp(28px,3vw,38px);line-height:1.15;font-weight:700;margin:0 0 6px;}
.sce-protocols .sce-pr-sub{font-size:22px;line-height:1.3;font-weight:700;color:#1F4E79;margin:0 0 12px;}
.sce-protocols .sce-pr-intro{font-size:16px;line-height:1.5;margin:0;max-width:520px;}

/* ---- protocol cards ---- */
.sce-protocols .sce-pr-grid{list-style:none;margin:0 0 22px;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
.sce-protocols .sce-pr-card{list-style:none;margin:0;display:flex;gap:14px;align-items:flex-start;background:#FFFFFF;
  border:1px solid #DCE3E8;border-radius:6px;padding:18px 16px;box-sizing:border-box;min-width:0;}
.sce-protocols .sce-pr-icon{flex:0 0 72px;width:72px;height:72px;border-radius:8px;background:#F4F8FB;overflow:hidden;border:1px solid #E3E9EE;box-sizing:border-box;}
/* Approved illustrations (about 110px, about 1.5x this tile): fill the tile, trimming the thin crop edges. */
.sce-protocols .sce-pr-icon img{display:block;width:100%;height:100%;object-fit:cover;transform:scale(1.06);}
.sce-protocols .sce-pr-card-body{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;align-self:stretch;}
.sce-protocols .sce-pr-card-body p{font-size:14.5px;}
.sce-protocols .sce-pr-h2{font-size:17px;line-height:1.3;font-weight:700;color:#1F4E79;margin:0 0 6px;overflow-wrap:break-word;}
.sce-protocols .sce-pr-pdf{margin-top:auto;align-self:flex-start;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:4px 0;
  font-weight:600;text-decoration:none;}
.sce-protocols .sce-pr-pdf:hover span,.sce-protocols .sce-pr-pdf:focus span{text-decoration:underline;}
.sce-protocols .sce-pr-pdf svg{flex:0 0 18px;}

/* ---- contact strip: as /Technical-Support ---- */
.sce-protocols .sce-pr-contact{display:flex;gap:16px;align-items:center;background:#EAF4FB;border-radius:6px;padding:20px 22px;}
.sce-protocols .sce-pr-badge{flex:0 0 56px;width:56px;height:56px;border-radius:50%;background:#FFFFFF;display:flex;align-items:center;justify-content:center;}
.sce-protocols .sce-pr-badge img{width:32px;height:32px;}
.sce-protocols .sce-pr-contact-body{flex:1 1 auto;min-width:0;}
.sce-protocols .sce-pr-contact-body .sce-pr-h2{font-size:21px;color:#18334A;margin:0 0 4px;}
.sce-protocols .sce-pr-contact-body p{margin:0;}
.sce-protocols .sce-pr-btn{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:10px 22px;
  border-radius:4px;border:1px solid #d9a800;background:#EEB800;color:#18334A;font-weight:700;font-size:15px;line-height:1.2;
  text-decoration:none;box-sizing:border-box;}
.sce-protocols .sce-pr-btn:hover,.sce-protocols .sce-pr-btn:focus{background:#d9a800;color:#18334A;text-decoration:none;}
.sce-protocols .sce-pr-btn img{width:28px;height:28px;flex:0 0 28px;}
.sce-protocols .sce-pr-btn-lines{display:flex;flex-direction:column;align-items:flex-start;text-align:left;min-width:0;}
.sce-protocols .sce-pr-btn-addr{font-weight:700;overflow-wrap:anywhere;}

/* ---- narrower content: two cards per row (container query, see the header) ---- */
@container (max-width: 859px){
  .sce-protocols .sce-pr-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
/* ---- narrow content: hero stacks, contact strip wraps ---- */
@container (max-width: 759px){
  .sce-protocols .sce-pr-hero{flex-direction:column;align-items:stretch;min-height:0;}
  .sce-protocols .sce-pr-hero-art{position:static;order:-1;width:100%;max-width:100%;height:140px;
    -webkit-mask-image:linear-gradient(180deg,#000 55%,transparent 100%);mask-image:linear-gradient(180deg,#000 55%,transparent 100%);}
  .sce-protocols .sce-pr-hero-text{flex:1 1 auto;padding:4px 20px 22px;}
  .sce-protocols .sce-pr-sub{font-size:19px;}
  .sce-protocols .sce-pr-contact{flex-wrap:wrap;}
  .sce-protocols .sce-pr-contact-body{flex:1 1 200px;}
  .sce-protocols .sce-pr-btn{flex:1 1 100%;}
}
/* ---- phone-width content: one card per row ---- */
@container (max-width: 559px){
  .sce-protocols .sce-pr-grid{grid-template-columns:minmax(0,1fr);}
  .sce-protocols .sce-pr-icon{flex-basis:56px;width:56px;height:56px;}
}
