/* ============================================================================
   ADMEbio — /Support, Support Center page styles (SCE-04, owner-approved five-card mockup 2026-10-29)

   Loaded only by pages/Support.php; every rule is nested under .sce-support, which appears
   exactly once, so nothing reaches any other page. basic.css, the header and the footer are not
   modified. The hero and buttons repeat page/Technical-Support.css (SCE-01) and
   page/Protocols.css (SCE-03) so the support pages look alike.

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

   NO @media RULE: the storefront has no viewport meta and .container is a fixed 1008px, so a
   device-width query would fire on a phone while this content is still 1008px wide. Layout
   switches are CONTAINER QUERIES on .sce-support:
     - 860px and wider (today: always, at 1008px): three research cards, then two wide order cards
       with the artwork on the right;
     - 560-859px: two cards per row; order cards put their artwork under the text;
     - narrower than 560px: one card per row; the three mailboxes stack;
     - narrower than 760px: the hero stacks (art above text) and section intros wrap.
   Browsers without container-query support keep the desktop layout.

   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-support{container-type:inline-size;color:#333333;font-size:15px;line-height:1.6;-moz-text-size-adjust:none;padding:0 0 30px;}
.sce-support h1,.sce-support h2,.sce-support h3{color:#18334A;}
.sce-support p{margin:0 0 10px;font-size:15px;line-height:1.55;}
.sce-support a{color:#0071bb;}
.sce-support img{max-width:100%;}
.sce-support a:focus-visible{outline:2px solid #0071bb;outline-offset:2px;}
.sce-support ul,.sce-support li{list-style:none;margin:0;padding:0;}

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

/* ---- section heading: title, hairline, short intro on the right ---- */
.sce-support .sce-sp-section{margin:0 0 26px;}
.sce-support .sce-sp-section-head{display:flex;align-items:center;gap:8px 16px;margin:0 0 12px;}
.sce-support .sce-sp-h2{font-size:25px;line-height:1.2;font-weight:700;margin:0;flex:0 1 auto;}
.sce-support .sce-sp-rule{flex:1 1 40px;border-top:1px solid #A9C7DD;}
.sce-support .sce-sp-lead{flex:0 1 auto;font-size:13.5px;line-height:1.4;color:#2C6A9A;margin:0;}

/* ---- cards ---- */
.sce-support .sce-sp-grid{display:grid;gap:14px;}
.sce-support .sce-sp-card{background:#FFFFFF;border:1px solid #DCE3E8;border-radius:6px;padding:16px;box-sizing:border-box;min-width:0;}
.sce-support .sce-sp-card-head{grid-area:head;display:flex;gap:14px;align-items:flex-start;}
.sce-support .sce-sp-badge{flex:0 0 56px;width:56px;height:56px;border-radius:50%;background:#EAF4FB;display:flex;align-items:center;justify-content:center;}
.sce-support .sce-sp-badge img{width:32px;height:32px;}
.sce-support .sce-sp-badge-white{background:#FFFFFF;}
.sce-support .sce-sp-card-copy{min-width:0;}
.sce-support .sce-sp-card-copy p{font-size:14.5px;margin:0;}
.sce-support .sce-sp-h3{font-size:19px;line-height:1.25;font-weight:700;margin:2px 0 6px;overflow-wrap:break-word;}
/* Card artwork, decorative; cropped to fill its box. */
.sce-support .sce-sp-art{grid-area:art;height:130px;border-radius:4px;overflow:hidden;background:#F4F8FB;}
.sce-support .sce-sp-art img{display:block;width:100%;height:100%;object-fit:cover;}
.sce-support .sce-sp-note{grid-area:note;font-size:13px;line-height:1.45;color:#5A6B7A;margin:0;}
/* Inline mail links: a 44px-tall tap area without changing the line box. */
.sce-support .sce-sp-note a{display:inline-block;padding:15px 0;margin:-15px 0;}

/* CTA ALIGNMENT: every card spans the same shared row tracks of its grid (subgrid), so the text,
   artwork, button and note rows line up across the cards of a row whatever the copy length. No
   per-card offsets. */
/* Research & Technical Support: three per row; rows = text, artwork strip, button. The strips keep
   the mockup crops' 336x79 shape, so all three are the same height. */
.sce-support .sce-sp-grid-research{grid-template-columns:repeat(3,minmax(0,1fr));}
.sce-support .sce-sp-grid-research .sce-sp-card{display:grid;grid-row:span 3;grid-template-rows:subgrid;row-gap:12px;
  grid-template-areas:"head" "art" "btn";}
.sce-support .sce-sp-grid-research .sce-sp-art{height:auto;aspect-ratio:336/79;}

/* Orders & Customer Assistance: two wide cards, text, button and note on the left, artwork on the
   right; rows = text, button, note, so the buttons align and the note never pushes them. */
.sce-support .sce-sp-grid-orders{grid-template-columns:repeat(2,minmax(0,1fr));}
.sce-support .sce-sp-grid-orders .sce-sp-card{display:grid;grid-template-columns:minmax(0,1fr) 44%;grid-row:span 3;grid-template-rows:subgrid;
  grid-template-areas:"head art" "btn art" "note art";gap:12px 14px;}
.sce-support .sce-sp-grid-orders .sce-sp-art{height:150px;align-self:start;}
.sce-support .sce-sp-grid-orders .sce-sp-btn{justify-self:start;}
/* Keep the carton, which sits right of centre in its crop, in frame. */
.sce-support #order-support .sce-sp-art img{object-position:85% 50%;}

/* ---- buttons: existing site yellow with navy text; touch-sized ---- */
.sce-support .sce-sp-btn{grid-area:btn;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 22px;justify-self:center;align-self:start;
  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-support .sce-sp-btn:hover,.sce-support .sce-sp-btn:focus{background:#d9a800;color:#18334A;text-decoration:none;}

/* ---- Contact Our Team: intro, then the three mailboxes divided by hairlines ---- */
.sce-support .sce-sp-contact{display:grid;grid-template-columns:minmax(0,290px) minmax(0,1fr);gap:16px 20px;align-items:center;
  background:#EAF4FB;border-radius:6px;padding:20px 22px;}
.sce-support .sce-sp-contact-intro{display:flex;gap:16px;align-items:center;min-width:0;}
.sce-support .sce-sp-contact-intro .sce-sp-h2{font-size:22px;margin:0 0 4px;}
.sce-support .sce-sp-contact-intro p{margin:0;font-size:14.5px;}
.sce-support .sce-sp-mailboxes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));}
.sce-support .sce-sp-mailboxes li{min-width:0;padding:2px 14px;border-left:1px solid #A9C7DD;}
.sce-support .sce-sp-mail-label{display:block;font-size:13.5px;font-weight:700;color:#18334A;line-height:1.35;}
.sce-support .sce-sp-mail{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:15.5px;overflow-wrap:anywhere;}
.sce-support .sce-sp-mail img{width:22px;height:22px;flex:0 0 22px;}

/* ---- narrower content: two cards per row; order artwork moves under the text ---- */
@container (max-width: 859px){
  .sce-support .sce-sp-grid-research{grid-template-columns:repeat(2,minmax(0,1fr));}
  .sce-support .sce-sp-grid-orders .sce-sp-card{grid-template-columns:minmax(0,1fr);grid-row:span 4;
    grid-template-areas:"head" "art" "btn" "note";}
  .sce-support .sce-sp-grid-orders .sce-sp-art{height:130px;}
  .sce-support .sce-sp-grid-orders .sce-sp-btn{justify-self:center;}
  .sce-support .sce-sp-grid-orders .sce-sp-note{text-align:center;}
  .sce-support .sce-sp-contact{grid-template-columns:minmax(0,1fr);}
}
/* ---- narrow content: hero stacks, section intros wrap under their titles ---- */
@container (max-width: 759px){
  .sce-support .sce-sp-hero{flex-direction:column;align-items:stretch;min-height:0;}
  .sce-support .sce-sp-hero-art{position:static;order:-1;width:100%;max-width:100%;height:150px;
    -webkit-mask-image:linear-gradient(180deg,#000 55%,transparent 100%);mask-image:linear-gradient(180deg,#000 55%,transparent 100%);}
  .sce-support .sce-sp-hero-text{flex:1 1 auto;padding:4px 20px 22px;}
  .sce-support .sce-sp-sub{font-size:20px;}
  .sce-support .sce-sp-section-head{flex-wrap:wrap;}
  .sce-support .sce-sp-rule{display:none;}
  .sce-support .sce-sp-h2{font-size:22px;flex-basis:100%;}
}
/* ---- phone-width content: one card per row; mailboxes stack ---- */
@container (max-width: 559px){
  .sce-support .sce-sp-grid-research,.sce-support .sce-sp-grid-orders{grid-template-columns:minmax(0,1fr);}
  .sce-support .sce-sp-grid-orders .sce-sp-art{height:120px;}
  .sce-support .sce-sp-btn,.sce-support .sce-sp-grid-orders .sce-sp-btn{justify-self:stretch;}
  .sce-support .sce-sp-contact{padding:18px 16px;}
  .sce-support .sce-sp-mailboxes{grid-template-columns:minmax(0,1fr);}
  .sce-support .sce-sp-mailboxes li{border-left:0;border-top:1px solid #A9C7DD;padding:10px 0 2px;}
}
