/* ============================================================================
   WordPress layer for the FORGE templates. Loaded after the page stylesheet.
   The rule that hides other plugins' output is added inline by the plugin
   (see OneData_Forge::isolation_css).
   ========================================================================= */

/* WordPress core and plugins expect themes to provide this class. */
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}

/* Keep the sticky header and the preview bar below the admin bar for logged-in editors. */
body.admin-bar .hdr,body.admin-bar .previewbar{top:32px}
@media screen and (max-width:782px){ body.admin-bar .hdr,body.admin-bar .previewbar{top:46px} }
@media screen and (max-width:600px){ body.admin-bar .hdr,body.admin-bar .previewbar{top:0} }

/* AWS partner badges under the landing page headline. The PNGs are 90px tall, so they are shown at
   72px (sharp on high-density screens) and step down on phones so all four stay on one row. */
.awsbadges{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px 22px;list-style:none;margin:24px auto 0;padding:0;max-width:560px}
.awsbadges li{margin:0;padding:0;list-style:none;display:flex}
.awsbadges img{display:block;height:72px;width:auto;max-width:100%}
@media (max-width:560px){ .awsbadges{gap:10px 14px;margin-top:20px} .awsbadges img{height:56px} }
@media (max-width:370px){ .awsbadges{gap:8px 10px} .awsbadges img{height:48px} }

/* The briefing pop-up (lightbox). Opened by the play button; closed by the X, a click outside the
   video, or Esc (see tools/lightbox.part.js). Above everything, including the cookie banner. */
.forge-lightbox{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;
  padding:max(64px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) max(40px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
  background:rgba(5,8,66,.88);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);animation:forge-lb-in .18s ease both;
  font-family:var(--f, "Plus Jakarta Sans", system-ui, sans-serif);overscroll-behavior:contain}
@keyframes forge-lb-in{from{opacity:0}to{opacity:1}}
/* 16:9, as wide as the screen allows, and never so tall that the close button or the hint is pushed off. */
.forge-lightbox-frame{position:relative;width:min(1100px, 100%, calc((100vh - 112px) * 1.7778));width:min(1100px, 100%, calc((100dvh - 112px) * 1.7778));
  aspect-ratio:16 / 9;border-radius:16px;background:#000;box-shadow:0 30px 90px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08)}
.forge-lightbox-media{position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:16px;background:#000;object-fit:contain;display:block}
.forge-lightbox-close{position:absolute;top:-54px;right:0;z-index:2;width:44px;height:44px;padding:0;border-radius:50%;cursor:pointer;
  display:grid;place-items:center;color:#fff;background:rgba(255,255,255,.16);border:1.5px solid rgba(255,255,255,.4);
  transition:background-color .15s ease, transform .15s ease}
.forge-lightbox-close svg{width:20px;height:20px;display:block}
.forge-lightbox-close:hover{background:rgba(255,255,255,.3);transform:scale(1.06)}
.forge-lightbox-close:focus-visible{outline:3px solid #8EB0FF;outline-offset:3px}
.forge-lightbox-hint{position:absolute;left:0;right:0;top:calc(100% + 12px);margin:0;text-align:center;font-size:13px;font-weight:600;color:#B9C6EA}
@media (hover:none), (max-height:560px){ .forge-lightbox-hint{display:none} }
@media (max-width:560px){ .forge-lightbox{padding-top:max(64px, env(safe-area-inset-top, 0px))} .forge-lightbox-frame,.forge-lightbox-media{border-radius:10px} }
@media (prefers-reduced-motion:reduce){ .forge-lightbox{animation:none} .forge-lightbox-close{transition:none} }
@media print{ .forge-lightbox{display:none} }

/* "(optional)" next to a field label. */
.fld .opt-note{font-weight:500;color:#6B7280}

/* Social links. Wide screens: the fixed bar on the left edge, as on the main site (50px, #1E293B,
   rounded on the right, 48px targets, 24px white icons). Narrower screens: a row at the end of the
   page instead, so the icons never cover text. 1280px is where the page's side gutter (60px) first
   has room for the 50px bar. */
.forge-social ul,.forge-social-row ul{list-style:none;margin:0;padding:0}
.forge-social li,.forge-social-row li{margin:0;padding:0;list-style:none}
.forge-social a,.forge-social-row a{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:10%;
  color:#fff;text-decoration:none;transition:opacity .3s ease}
.forge-social a:hover,.forge-social-row a:hover{opacity:.9}
.forge-social a:focus-visible,.forge-social-row a:focus-visible{outline:3px solid #8EB0FF;outline-offset:-3px}
.forge-social svg,.forge-social-row svg{display:block;width:24px;height:24px;fill:#fff}
.forge-social{display:none;position:fixed;left:0;top:40%;z-index:9999;width:50px;padding:5px 0;background:#1E293B;border-radius:0 20px 20px 0}
.forge-social-row{display:block;position:relative;background:#1E293B;text-align:center;
  padding:20px var(--gut, 16px) calc(20px + env(safe-area-inset-bottom, 0px))}
.forge-social-row p{margin:0 0 6px;font:800 12px/1.4 var(--f, system-ui, sans-serif);letter-spacing:.12em;text-transform:uppercase;color:#B9C6EA}
.forge-social-row ul{display:flex;justify-content:center;flex-wrap:wrap;gap:4px}
@media (min-width:1280px){ .forge-social{display:block} .forge-social-row{display:none} }
@media print{ .forge-social,.forge-social-row{display:none} }

/* Setup notice, shown to administrators only when a form is missing. */
.forge-setup-note{position:fixed;left:16px;right:16px;bottom:16px;z-index:100000;max-width:760px;margin:0 auto;padding:14px 18px;
  border-radius:12px;background:#FDF3E1;border:1px solid #F0C98A;color:#5C3A04;font:500 14px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  box-shadow:0 12px 30px rgba(8,12,96,.18)}
.forge-setup-note b{color:#5C3A04}
.forge-setup-note a{color:#5C3A04;font-weight:700}

/* Microsoft Bookings (1.2.0) does not report its height, so the frame is sized to the whole booking page
   (measured: about 2,310px tall when the frame is narrower than 1,000px, 1,900px when wider). The page then
   scrolls as one, with no second scrollbar inside the frame. */
#calHost{container-type:inline-size}
#calHost iframe.ms-bookings{min-height:2350px;height:2350px}
@container (min-width:1000px){#calHost iframe.ms-bookings{min-height:1950px;height:1950px}}
