/* Phone footer N-3a1z3, sitewide. STAGING Dec 2 2026.
   Loaded on every page with media="(max-width: 768px)" from inc/clint-phone-footer-n.php.
   Desktop and iPad (769px and up) never use these rules. */

/* ===== Footer N-3a1z3 ===== */
/* Approved mockup. N-3a1z3 (based on N-3a1y3: readable department paragraph + 2-line balanced motto).
   Heavier, more widely tracked uppercase name and link labels, with a lighter Managed by CMI line.
   Department / media paragraph is readable (13-14px, clamp so it never drops below 13px on phones), wraps naturally with text-wrap:balance (2-4 even lines; 4 lines only on narrower phones at this size), email never splits, exact wording.
   Motto keeps the y-set 2 near-equal lines (break after "world...").
   Sitewide on every page, phones + small tablets only (<=768px). Desktop and iPad untouched.
   NOTE: theme footer min-height:648px is overridden (min-height:0) in the mockup and must be lowered on go-live. */
/* Approved mockup. Variant N-3a1 : N-3a's compact stack, plus the full media paragraph in muted type under the phone/email line, and the motto as a small italic line under the title. Both always visible.
   Phones + small tablets only (@media max-width:768px). Desktop and iPad (>=769px) untouched.
   Pair with N-3a1.js. Same footer on all pages. Keeps N-3a's icons, links, phone and press email.
   NOTE: the theme reserves footer{min-height:648px} (layout-shift guard); that rule is lowered here for phones. */
@media (max-width:768px){
 #footer.mk-on{padding:16px 16px 14px!important;background:#2c303a;min-height:0!important}
 #footer.mk-on > .max-width{display:none!important}
 #footer.mk-on .mk-foot{text-align:center;color:#ddd}
 #footer.mk-on .mk-foot h5{margin:0;font:500 10.5px/1.25 Oswald,sans-serif;letter-spacing:1.2px;text-transform:uppercase;color:#aaa}
 #footer.mk-on .mk-foot a{color:#fff;text-decoration:none}
 #footer.mk-on .mk-foot .social-icons{display:flex;justify-content:center;gap:6px;margin:0;padding:0}
 #footer.mk-on .mk-foot .social-icons a{display:flex;align-items:center;justify-content:center;width:40px;height:40px}
 #footer.mk-on .mk-links{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;margin-top:2px}
 #footer.mk-on .mk-links a{display:inline-block;padding:9px 11px;line-height:1}
 #footer.mk-on .mk-links h5{display:inline;font-size:12.5px;color:#fff;letter-spacing:1px}
 #footer.mk-on .mk-line{font-size:13px;line-height:20px;margin-top:6px;color:#ddd}
 #footer.mk-on .mk-line .mk-dot{margin:0 8px;color:#777}
 #footer.mk-on .footer-email-link{font-size:13px}
 #footer.mk-on .mk-tel i{margin-right:4px}
 #footer.mk-on .mk-small{margin-top:10px;padding-top:9px;border-top:none;position:relative;width:100%;box-sizing:border-box}
 #footer.mk-on .mk-small::before{content:"";display:block;position:absolute;top:0;left:50%;width:72px;height:1px;background:rgba(0,210,238,.55);transform:translateX(-50%);margin:0}
 #footer.mk-on .mk-copy{font-size:11px;line-height:16px;color:#999;letter-spacing:.03em;margin-top:6px}
 #footer.mk-on #footer-quote{font:italic 12px/18px 'Open Sans',sans-serif;color:#9aa0a8;margin:0;padding:0}
 #footer.mk-on #footer-quote i{font-style:italic}
 #footer.mk-on .mk-media-p, #footer.mk-on .mk-gb, #footer.mk-on .mk-media-p p, #footer.mk-on .mk-gb p{font:12px/18px 'Open Sans',sans-serif;color:#b0b4ba;margin:0}
 #footer.mk-on .mk-media-p .footer-email-link, #footer.mk-on .mk-gb .footer-email-link{font-size:12px;color:#ddd}
 #footer.mk-on details.mk-media{margin-top:8px;text-align:left}
 #footer.mk-on details.mk-media summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;padding:0 2px;min-height:36px;-webkit-appearance:none}
 #footer.mk-on details.mk-media summary::-webkit-details-marker{display:none}
 #footer.mk-on details.mk-media summary:after{content:'+';font:300 20px/1 'Open Sans',sans-serif;color:#aaa}
 #footer.mk-on details.mk-media[open] summary:after{content:'\2212'}
 #footer.mk-on details.mk-media #media-q{font:500 12px/1 Oswald,sans-serif;letter-spacing:1px;text-transform:uppercase;color:#fff;margin:0}
 #footer.mk-on details.mk-media .mk-gb{padding:0 2px 10px}
 #footer.mk-on .mk-media-p{margin:8px 0 0;padding:0 4px}
 #footer.mk-on .mk-small #footer-quote{margin-top:8px}
}

/* ---- N-3a1z3: readable department paragraph + y3 motto; emphasis: Heavier, more widely tracked uppercase name and link labels, with a lighter Managed by CMI line. ---- */
@media (max-width:768px){
 #footer.mk-on{padding:16px 8px 14px!important;min-height:0!important}
 #footer.mk-on .mk-foot .mk-media-p{padding:0;margin:8px -2px 0}
 #footer.mk-on .mk-foot .mk-media-p p{font-family:'Open Sans',sans-serif;font-size:14px;font-weight:400;line-height:1.5;letter-spacing:-0.01em;color:#c4c8ce;text-wrap:balance;max-width:none;width:100%;box-sizing:border-box;margin:0;padding:0;overflow-wrap:normal;hyphens:none}
 #footer.mk-on .mk-foot .mk-media-p .footer-email-link{white-space:nowrap;font-size:1em!important;line-height:inherit!important;color:#ffffff;font-weight:600;letter-spacing:inherit}
 #footer.mk-on .mk-foot #footer-quote{font-size:min(16px,calc((100vw - 16px)/22.4));font-weight:400;line-height:1.45;letter-spacing:-0.015em;color:#aeb3ba;text-wrap:balance;max-width:none;margin:8px auto 0}

 #footer.mk-on .mk-foot .mk-small h5{position:relative;height:auto;line-height:1.3}
 #footer.mk-on .mk-foot .mk-small h5 .mk-name,
 #footer.mk-on .mk-foot .mk-small h5 .mk-by{position:static!important;display:block;float:none;padding-left:0;margin:0 auto;width:auto;text-align:center;font-family:Oswald,sans-serif}
 #footer.mk-on .mk-foot .mk-small h5{font-size:11px;line-height:1.3}
 #footer.mk-on .mk-foot .mk-small h5 .mk-name{font-weight:600;letter-spacing:2.2px!important;color:#f0f2f4;font-size:12px!important}
 #footer.mk-on .mk-foot .mk-small h5 .mk-by{font-weight:300;letter-spacing:1.8px!important;color:#8a9098;font-size:10px!important;margin-top:2px}
 #footer.mk-on .mk-foot .mk-links h5{letter-spacing:1.6px;font-weight:500}
 #footer.mk-on .mk-foot .mk-media-p .footer-email-link{color:#ffffff;font-weight:600}
}

@media (min-width:600px) and (max-width:768px){
 #footer.mk-on .mk-foot .mk-media-p p{max-width:none}
}

/* Theme layout guard footer{min-height:648px} lowered for the compact footer (Home, phones). */
@media (max-width:768px){html body footer#footer.mk-on{min-height:0!important}}

/* Press / media paragraph: 14px Open Sans 400, email nowrap, text-wrap:balance.
   Side margin is 6px from the screen edge at every phone width (footer stays 8px;
   the paragraph is pulled 2px closer so text clears the edge cleanly). At 390 the
   first sentence is 378px, so 6px sides leave 378px of content and 3 balanced lines. */

/* Dec 2 evening: brighter press blurb, a little more room under the last
   footer line, and a 1px true-black frame at the page's bottom edge, kept
   above the iPhone home bar with safe-area padding. Phones only. */
@media (max-width:768px){
 #footer.mk-on{
  position:relative;
  box-sizing:border-box;
  overflow:visible;
  margin-bottom:0;
  padding:16px 8px calc(24px + env(safe-area-inset-bottom, 0px))!important
 }
 /* Old ::after line retired: a fractional footer bottom made WebKit paint
    that 1px box as 2 or 5 device rows. The line is now .mk-pageline, a
    1px-tall dedicated element snapped to the last integer CSS pixel of
    the page (see clint-phone-footer-n.php). */
 #footer.mk-on::after{content:none;display:none}
 #footer.mk-on .mk-pageline{
  position:absolute;
  left:0;right:0;width:100%;
  height:1px;
  background:#000;
  border:0;margin:0;padding:0;
  pointer-events:none;
  z-index:5;
  box-shadow:none;
  transform:none;
  -webkit-transform:none
 }
 #footer.mk-on .mk-pageline-spacer{
  display:block;
  height:0;
  margin:0;padding:0;border:0;
  font-size:0;line-height:0;
  overflow:hidden;
  pointer-events:none
 }
 #footer.mk-on .mk-foot .mk-media-p p{color:#a9aeb7}
}

/* Dec 2 night: on Corporate, Corporate Virtual, Corporate Workshops, and
   Educators the last .speeches-section is unclosed and wraps the footer.
   At max-width 480px that section has padding-bottom:80px and background
   #f2f2f2, which shows as a gray strip under the black frame line. This is
   not a spacer for a fixed bottom bar (only #topNav is fixed). Zero that
   padding when the section contains the footer, phones only, so the line
   is the end of the page. Mid-page speeches sections are unchanged. */
@media (max-width:768px){
 html body .speeches-section:has(#footer),
 html body .speeches-section:has(footer#footer){
  padding-bottom:0!important
 }
}
