/*
Theme Name: BisGroup
Theme URI: https://example.com/bisgroup
Author: Mirza Nayeem
Author URI: https://example.com
Description: BisGroup — A premium corporate conglomerate WordPress theme with animated hero, business ecosystem cards, global presence globe, newsroom, and full Customizer support. Perfect for group-of-companies websites. Made by Mirza Nayeem.
Version: 1.9.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: corporate-nexus
Tags: corporate, business, one-page, customizer, custom-logo, custom-menu, featured-images, full-width-template, rtl-language-support, threaded-comments, translation-ready
*/

/* ==========================================================================
   CSS Custom Properties (Design Tokens)
   ========================================================================== */

:root {
  /* Brand Colors */
  --brand-navy:    #0b2a6e;
  --brand-blue:    #0d3280;
  --deep-navy:     #060f35;
  --cyan:          #00c8f0;
  --green:         #22b573;
  --mist:          #f4f6fb;
  --ink:           #1a1f3c;
  --cool-grey:     #7a82a6;
  --white:         #ffffff;

  /* Typography */
  --font-display:  'Oswald', sans-serif;
  --font-body:     'Barlow Semi Condensed', sans-serif;

  /* Spacing */
  --section-pad:   clamp(4rem, 9vw, 8rem);
  --container:     1280px;
  --gutter:        clamp(1rem, 4vw, 2rem);

  /* Radii */
  --radius-sm:     8px;
  --radius-md:     14px;
  --radius-lg:     22px;

  /* Shadows */
  --elev-1:        0 2px 16px rgba(6,15,53,0.08);
  --elev-2:        0 8px 40px rgba(6,15,53,0.16);
  --elev-3:        0 20px 60px rgba(6,15,53,0.22);

  /* Transitions */
  --dur-ui:        0.25s;
  --dur-md:        0.45s;
  --ease-out:      cubic-bezier(0.22, 1, 0.36, 1);
  --ease-inout:    cubic-bezier(0.65, 0, 0.35, 1);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul, ol { list-style: none; }

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--deep-navy);
}

h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: clamp(1.1rem, 1.8vw, 1.5rem); }

p { max-width: 70ch; }

.lead {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.72;
  color: var(--ink);
  opacity: 0.82;
}

/* ==========================================================================
   Layout Utilities
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-pad); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 2rem); }

@media (max-width: 900px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .grid-4 { grid-template-columns: 1fr; }
}

.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }

.text-center { text-align: center; }
.text-white { color: #fff; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.78rem 1.8rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  transition: transform var(--dur-ui) var(--ease-out),
              box-shadow var(--dur-ui),
              background var(--dur-ui),
              color var(--dur-ui),
              border-color var(--dur-ui);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--brand-blue);
  color: #fff;
  box-shadow: 0 4px 20px rgba(13,50,128,0.3);
}
.btn-primary:hover {
  background: #0a2568;
  box-shadow: 0 8px 28px rgba(13,50,128,0.4);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn-ghost {
  background: transparent;
  color: var(--brand-blue);
  border: 1.5px solid var(--brand-blue);
}
.btn-ghost:hover {
  background: var(--brand-blue);
  color: #fff;
}

.btn-green {
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 20px rgba(34,181,115,0.3);
}
.btn-green:hover {
  background: #1a9e62;
  box-shadow: 0 8px 28px rgba(34,181,115,0.4);
}

/* ==========================================================================
   Eyebrow / Chapter Labels
   ========================================================================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 10px;
  background:
    linear-gradient(var(--brand-blue),var(--brand-blue)) 0 0/100% 1.5px no-repeat,
    linear-gradient(var(--brand-blue),var(--brand-blue)) 0 50%/100% 1.5px no-repeat,
    linear-gradient(var(--brand-blue),var(--brand-blue)) 0 100%/100% 1.5px no-repeat;
  flex-shrink: 0;
}

.eyebrow-white {
  color: rgba(255,255,255,0.7);
}
.eyebrow-white::before {
  background:
    linear-gradient(rgba(255,255,255,0.7),rgba(255,255,255,0.7)) 0 0/100% 1.5px no-repeat,
    linear-gradient(rgba(255,255,255,0.7),rgba(255,255,255,0.7)) 0 50%/100% 1.5px no-repeat,
    linear-gradient(rgba(255,255,255,0.7),rgba(255,255,255,0.7)) 0 100%/100% 1.5px no-repeat;
}

.eyebrow-cyan::before {
  background:
    linear-gradient(var(--cyan),var(--cyan)) 0 0/100% 1.5px no-repeat,
    linear-gradient(var(--cyan),var(--cyan)) 0 50%/100% 1.5px no-repeat,
    linear-gradient(var(--cyan),var(--cyan)) 0 100%/100% 1.5px no-repeat;
}
.eyebrow-cyan { color: var(--cyan); }

.eyebrow-green::before {
  background:
    linear-gradient(var(--green),var(--green)) 0 0/100% 1.5px no-repeat,
    linear-gradient(var(--green),var(--green)) 0 50%/100% 1.5px no-repeat,
    linear-gradient(var(--green),var(--green)) 0 100%/100% 1.5px no-repeat;
}
.eyebrow-green { color: var(--green); }

/* ==========================================================================
   Page Loader
   ========================================================================== */

#cn-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--deep-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s var(--ease-out), visibility 0.5s;
  animation: cnAutoFadeLoader 0.5s ease-out 1.2s forwards;
}
#cn-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

@keyframes cnAutoFadeLoader {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }

.loader-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.loader-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  animation: loaderExpand 0.8s var(--ease-out) forwards;
}
.loader-lines span {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--cyan);
  width: 0;
  animation: lineGrow 0.6s var(--ease-out) forwards;
}
.loader-lines span:nth-child(1) { animation-delay: 0.1s; }
.loader-lines span:nth-child(2) { animation-delay: 0.22s; }
.loader-lines span:nth-child(3) { animation-delay: 0.34s; }

@keyframes lineGrow { to { width: 48px; } }

.loader-brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2.2rem;
  color: #fff;
  letter-spacing: 0.06em;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 0.5s var(--ease-out) 0.5s forwards;
}

.loader-tagline {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  opacity: 0;
  animation: fadeUp 0.5s var(--ease-out) 0.7s forwards;
}

@keyframes fadeUp {
  to { opacity: 1; transform: none; }
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--dur-md), box-shadow var(--dur-md), padding var(--dur-md), top 0.2s;
  padding-block: 1.2rem;
}
body.admin-bar .site-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}
.site-header.scrolled {
  background: rgba(6,15,53,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  padding-block: 0.8rem;
}
.site-header.light-mode {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 20px rgba(6,15,53,0.1);
}
.site-header.light-mode .nav-logo-text,
.site-header.light-mode .nav-link,
.site-header.light-mode .nav-menu-toggle { color: var(--deep-navy); }
.site-header.light-mode .nav-link::after { background: var(--brand-blue); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav-logo-lines span {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--cyan);
}
.nav-logo-lines span:nth-child(1) { width: 24px; }
.nav-logo-lines span:nth-child(2) { width: 24px; }
.nav-logo-lines span:nth-child(3) { width: 24px; }

.nav-logo img { height: 36px; width: auto; }

.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  color: #fff;
  letter-spacing: 0.05em;
  line-height: 1;
}
.nav-logo-text span { display: block; font-size: 0.6rem; letter-spacing: 0.2em; color: var(--cyan); font-weight: 400; margin-top: 2px; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
}
.nav-menu li {
  position: relative;
}
.nav-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: rgba(6, 15, 53, 0.98);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 0.6rem 0;
  list-style: none;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), visibility 0.25s;
  z-index: 1000;
}
.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-menu .sub-menu li {
  width: 100%;
}
.nav-menu .sub-menu a {
  display: block;
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.nav-menu .sub-menu a:hover,
.nav-menu .sub-menu a:focus {
  background: rgba(0, 200, 240, 0.12);
  color: var(--cyan);
}
.nav-menu .sub-menu a::after {
  display: none !important;
}

.nav-link {
  position: relative;
  display: block;
  padding: 0.4rem 0.85rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.88);
  transition: color var(--dur-ui);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.85rem;
  right: 0.85rem;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--dur-ui) var(--ease-out);
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
}

.nav-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.4rem;
  color: #fff;
  cursor: pointer;
}
.nav-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-menu-toggle.open span:nth-child(2) { opacity: 0; }
.nav-menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-menu {
  display: none !important;
}

@media (max-width: 960px) {
  .nav-menu-toggle { display: flex; }
  .nav-desktop-menu,
  .nav-cta { display: none !important; }

  .nav-mobile-menu {
    display: flex !important;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: radial-gradient(120% 100% at 50% 0%, #0d2868 0%, #060f35 60%, #03081e 100%);
    z-index: 999999;
    flex-direction: column;
    justify-content: space-between;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 1.5rem 1.8rem 2.5rem;
    box-sizing: border-box;
    overflow-y: auto;
  }
  .nav-mobile-menu.open {
    transform: translateX(0);
  }

  .mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .mobile-logo-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.06em;
  }
  .nav-mobile-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
  }
  .nav-mobile-close:hover {
    background: var(--brand-blue);
    transform: rotate(90deg);
  }

  .mobile-menu-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 0;
    gap: 2rem;
    width: 100%;
  }

  .nav-mobile-menu .mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 0;
    margin: 0;
    width: 100%;
  }

  .nav-mobile-menu li {
    width: 100%;
    text-align: center;
    list-style: none;
  }

  .nav-mobile-menu a,
  .nav-mobile-menu .mobile-nav-list a,
  .nav-mobile-menu .nav-link {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 600;
    color: #ffffff !important;
    text-decoration: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: inline-block;
    padding: 0.4rem 1.2rem;
    transition: color 0.2s, transform 0.2s;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  }
  .nav-mobile-menu a:hover,
  .nav-mobile-menu .nav-link:hover,
  .nav-mobile-menu .nav-link.active,
  .nav-mobile-menu li.current-menu-item > a {
    color: var(--cyan) !important;
    transform: scale(1.06);
  }

  .mobile-menu-cta {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 1rem;
  }
  .btn-mobile-cta {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: 0.85rem 1.8rem;
    font-size: 1rem;
    font-weight: 600;
  }
}

/* ==========================================================================
   Scroll Thread (Decorative)
   ========================================================================== */

.scroll-thread {
  position: fixed;
  top: 0;
  right: 2rem;
  bottom: 0;
  z-index: 100;
  width: 2px;
  pointer-events: none;
}
.scroll-thread-bg { position: absolute; inset: 0; background: rgba(255,255,255,0.08); }
.scroll-thread-fill {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: var(--cyan);
  height: 0%;
  transition: height 0.1s linear;
}
@media (max-width: 768px) { .scroll-thread { display: none; } }

/* ==========================================================================
   Skip Link
   ========================================================================== */

.skip-link {
  position: absolute;
  top: -999px;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--brand-blue);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 9999;
}
.skip-link:focus { top: 1rem; }

/* ==========================================================================
   Back to Top
   ========================================================================== */

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(13,50,128,0.4);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--dur-ui), transform var(--dur-ui), background var(--dur-ui);
  cursor: pointer;
}
.back-to-top.visible { opacity: 1; transform: none; }
.back-to-top:hover { background: var(--cyan); }
.back-to-top svg { width: 20px; height: 20px; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--deep-navy);
  color: rgba(255,255,255,0.7);
  padding-top: clamp(3rem, 6vw, 6rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .fb-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: #fff;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}
.footer-brand .fb-tagline {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.2rem;
}
.footer-brand .fb-desc {
  font-size: 0.92rem;
  line-height: 1.72;
  max-width: 32ch;
}
.footer-brand .fb-social {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.5rem;
}
.footer-brand .fb-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  transition: border-color var(--dur-ui), color var(--dur-ui), background var(--dur-ui);
}
.footer-brand .fb-social a:hover {
  border-color: var(--cyan);
  color: var(--deep-navy);
  background: var(--cyan);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.2rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col ul li a {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--dur-ui), padding-left var(--dur-ui);
}
.footer-col ul li a:hover { color: var(--cyan); padding-left: 4px; }

.footer-contact .fc-item {
  display: flex;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
  font-size: 0.92rem;
}
.footer-contact .fc-item svg { flex-shrink: 0; margin-top: 3px; opacity: 0.6; }
.footer-contact .fc-item a { color: rgba(255,255,255,0.6); }
.footer-contact .fc-item a:hover { color: var(--cyan); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 1.5rem;
}
.footer-bottom p { font-size: 0.82rem; }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: 0.82rem; color: rgba(255,255,255,0.5); transition: color var(--dur-ui); }
.footer-bottom-links a:hover { color: var(--cyan); }

/* ==========================================================================
   Reveal Animations (IntersectionObserver driven with safe progressive enhancement)
   ========================================================================== */

.reveal,
.reveal-left,
.reveal-right {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  transition-delay: var(--rd, 0ms);
}

/* Animate gracefully when JS is initialized */
html.js-ready .reveal:not(.in) {
  opacity: 0;
  transform: translateY(20px);
}
html.js-ready .reveal-left:not(.in) {
  opacity: 0;
  transform: translateX(-24px);
}
html.js-ready .reveal-right:not(.in) {
  opacity: 0;
  transform: translateX(24px);
}
html.js-ready .reveal.in,
html.js-ready .reveal-left.in,
html.js-ready .reveal-right.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right,
  html.js-ready .reveal, html.js-ready .reveal-left, html.js-ready .reveal-right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   WordPress Core Alignment Classes
   ========================================================================== */

.wp-block-image.alignwide,
.alignwide { max-width: 110%; margin-left: -5%; }

.wp-block-image.alignfull,
.alignfull { max-width: 100vw; margin-left: calc(50% - 50vw); }

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.pagination {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 3rem;
}
.pagination a, .pagination span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1.5px solid rgba(13,50,128,0.2);
  color: var(--brand-blue);
  transition: background var(--dur-ui), border-color var(--dur-ui), color var(--dur-ui);
}
.pagination .current,
.pagination a:hover {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
}

/* ==========================================================================
   Single Post / Page Content
   ========================================================================== */

.entry-content {
  max-width: 72ch;
}
.entry-content h2, .entry-content h3 { margin-top: 2rem; margin-bottom: 0.8rem; }
.entry-content p { margin-bottom: 1.2rem; }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin-bottom: 1.2rem; list-style: disc; }
.entry-content blockquote {
  border-left: 4px solid var(--cyan);
  padding-left: 1.5rem;
  color: var(--cool-grey);
  font-style: italic;
  margin: 1.5rem 0;
}
.entry-content img { border-radius: var(--radius-md); margin-block: 1.5rem; }
.entry-content a { color: var(--brand-blue); text-decoration: underline; }

/* ==========================================================================
   404 Page
   ========================================================================== */

.not-found-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.not-found-section .nf-code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 20vw, 14rem);
  font-weight: 600;
  color: var(--brand-blue);
  opacity: 0.12;
  line-height: 1;
  margin-bottom: -2rem;
}

/* ==========================================================================
   Comments
   ========================================================================== */

.comments-area { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid rgba(13,50,128,0.1); }
.comment-metadata { font-size: 0.82rem; color: var(--cool-grey); margin-bottom: 0.8rem; }

/* ==========================================================================
   Elementor Seamless Section Wrapping
   ========================================================================== */

.custom-elementor-section-wrap {
  width: 100%;
  position: relative;
}
.custom-elementor-section-wrap .elementor {
  width: 100%;
}
