/* ============================================================================
   ADMEbio — /Contact page styles (CONTACT-DEV-1)

   WHY THIS FILE EXISTS AND WHY IT IS SHAPED THIS WAY.

   basic.css is loaded by every page on the site, so a single-page restyle must
   not touch it. This file is loaded only by pages/Contact.php, and every rule
   below is nested under #sgc-contact, which appears exactly once, on this page.
   A bare element or utility selector here would repaint the catalogue, search,
   product, cart and ELK templates that share basic.css, so there are none.

   TWO basic.css BEHAVIOURS ARE DELIBERATELY OVERRIDDEN IN SCOPE, NOT GLOBALLY.
   Line 7 zeroes the margin on every heading, so each heading below states its
   own margin or it would collapse against the next block. Line 20 sets a global
   img{display:block}, which stacks an icon above its text; the previous version
   of this page worked around that with .fl-l floats, and this file restores
   inline flow for its own two icons instead.

   NO @media RULE. The storefront has no viewport meta and .container is a fixed
   1008px, so a device-width query would fire on a narrow phone while the box
   around this content is still 1008px wide. Reflow here is container-driven
   (flex-wrap), which is correct at 1008px today and will reflow by itself if a
   fluid container ever arrives. Mobile is deferred by the owner.

   Values follow the owner-approved UI Style Guide v0.1 direction (2026-10-15):
   H1 32 / H2 23 / H3 19 / body 16, navy #18334A,
   gold #EEB800, text #333, secondary #666, light #F8F8F8, border #DDD, 4px
   radius, 5px spacing basis, 1008px content width.
   ========================================================================== */

/* TYPOGRAPHY-1. NO font-family IS DECLARED IN THIS FILE, DELIBERATELY.
   The page inherits the site stack from basic.css so it renders in the same face as the
   homepage, the other static pages and the six scientific articles.
   An earlier revision pinned Arial, Helvetica, sans-serif per the v0.1 note. That was
   measurably wrong. Every chrome-sharing page declares "myriad-pro", sans-serif, and
   myriad-pro is not loaded anywhere on this site -- there is no @font-face, no Typekit
   and no Google Fonts link -- so those pages fall back to the generic sans-serif, which
   resolves to Helvetica on macOS. Naming Arial first picked a font that IS installed, so
   this page rendered Arial while its own navigation, a few centimetres above it, rendered
   Helvetica. Inheriting keeps the page consistent on every platform, and keeps it correct
   if the real brand font is ever loaded. Size, weight, line-height, colour, spacing and
   layout are all unchanged by this correction. */
/* FIREFOX ANDROID TEXT INFLATION, SCOPED TO THIS PAGE (MOBILE-FONT-03).
   Gecko enlarges text in proportion to its container's width on any page with no
   viewport meta, which is every page here because .container is a fixed 1008px. On
   this page .sgc-lead rendered at 1.73x its declared size while .sgc-note in the
   ~212px cards beside it stayed at 1.00x -- container width, not the cascade.

   PR262's root-level text-size-adjust:100% fixed Chromium and Samsung Internet but
   is inert in Gecko: the Gecko property is keyword-only (auto | none), so the
   percentage is a parse error and both the -webkit- alias and the unprefixed
   spelling are discarded. none is the only value Gecko accepts that stops the
   algorithm. Scoped here instead of the root so it touches this page only, and
   -moz- prefixed so Blink and WebKit drop it and Samsung cannot move.
   Full reasoning in assets/css/page/About.css and the offline test suite. */
#sgc-contact{color:#333333;font-size:16px;line-height:1.6;-moz-text-size-adjust:none;}
#sgc-contact h1,#sgc-contact h2,#sgc-contact h3{color:#18334A;}

#sgc-contact .sgc-h1{font-size:32px;line-height:38px;font-weight:700;margin:0 0 10px;}
#sgc-contact .sgc-lead{font-size:16px;line-height:1.6;color:#333333;margin:0 0 25px;max-width:62em;}

/* CONTACT-DEV-1 refinement 1: the owner asked for 5-10px more breathing room
   between major sections. The section separator is this top margin, raised
   from 40px to 48px. The 15px gap to the section's own body is unchanged. */
#sgc-contact .sgc-h2{font-size:23px;line-height:30px;font-weight:700;margin:48px 0 15px;
  padding-bottom:8px;border-bottom:3px solid #EEB800;}
#sgc-contact .sgc-h3{font-size:19px;line-height:25px;font-weight:700;margin:0 0 5px;}

#sgc-contact .sgc-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:0 0 10px;}
#sgc-contact .sgc-btn{display:inline-flex;align-items:center;gap:10px;padding:13px 25px;
  border-radius:4px;font-size:16px;font-weight:700;line-height:20px;text-decoration:none;
  border:1px solid transparent;cursor:pointer;}
/* Gold fill with DARK ink. White on #EEB800 measures 1.83:1 and fails WCAG AA;
   #333 on #EEB800 measures 6.91:1 and passes. White-on-gold is never used. */
#sgc-contact .sgc-btn-primary{background:#EEB800;border-color:#d9a800;color:#333333;}
#sgc-contact .sgc-btn-primary:hover,#sgc-contact .sgc-btn-primary:focus{background:#d9a800;color:#18334A;text-decoration:none;}
#sgc-contact .sgc-btn-secondary{background:#FFFFFF;border-color:#DDDDDD;color:#18334A;}
#sgc-contact .sgc-btn-secondary:hover,#sgc-contact .sgc-btn-secondary:focus{background:#F8F8F8;border-color:#18334A;text-decoration:none;}
#sgc-contact .sgc-btn-ico{width:18px;height:18px;flex:0 0 auto;display:inline-block;}
#sgc-contact .sgc-inline-ico{display:inline-block;vertical-align:middle;width:16px;height:16px;}

#sgc-contact .sgc-grid{display:flex;flex-wrap:wrap;gap:15px;}
#sgc-contact .sgc-card{flex:1 1 210px;background:#FFFFFF;border:1px solid #DDDDDD;border-radius:4px;
  padding:20px;box-sizing:border-box;}
#sgc-contact .sgc-card .sgc-note{font-size:15px;line-height:1.5;color:#666666;margin:0 0 10px;}

/* CONTACT-DEV-1 refinement 2: email and contact links stay navy, gain an
   underline on hover, and show an unmistakable keyboard focus ring. The ring is
   stated here rather than inherited so that a later edit to this file cannot
   quietly drop it; it matches the 2px #0071bb ring basic.css already ships
   site-wide, and :focus-visible keeps it off mouse clicks while
   :focus is the fallback for browsers without :focus-visible support. */
#sgc-contact .sgc-link{color:#18334A;font-weight:700;text-decoration:none;word-break:break-word;}
#sgc-contact .sgc-link:hover{text-decoration:underline;}
#sgc-contact .sgc-link:focus{outline:2px solid #0071bb;outline-offset:2px;text-decoration:underline;}
#sgc-contact .sgc-link:focus:not(:focus-visible){outline:none;}
#sgc-contact .sgc-link:focus-visible{outline:2px solid #0071bb;outline-offset:2px;text-decoration:underline;}

#sgc-contact .sgc-panel{background:#F8F8F8;border:1px solid #DDDDDD;border-radius:4px;padding:25px;
  display:flex;flex-wrap:wrap;gap:30px;}
#sgc-contact .sgc-panel-col{flex:1 1 260px;}
#sgc-contact .sgc-panel-col h3{margin:0 0 10px;}
#sgc-contact .sgc-panel-line{margin:0 0 10px;}
#sgc-contact .sgc-panel-line-last{margin:0;}
#sgc-contact address{font-style:normal;font-size:16px;line-height:1.7;color:#333333;margin:0;}
#sgc-contact .sgc-tel{font-size:19px;}

#sgc-contact .sgc-links{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px 30px;}
#sgc-contact .sgc-links li{margin:0;}
/* Refinement 1 again at the foot of the page: 48px below the last section so the
   content does not sit hard against the footer. */
#sgc-contact .sgc-bottom{margin-bottom:48px;}
