/*
Theme Name: Eagle Movement
Theme URI: https://eaglemovement.org
Author: Eagle Movement
Description: Clean premium Elementor-ready WordPress theme with a universal compact desktop header, mobile-friendly navigation, editable slider, cards and footer.
Version: 9.3.2
Text Domain: eagle-movement
*/

:root{
  --em-red:#c9000b;
  --em-text:#111111;
  --em-bg:#ffffff;
  --em-soft:#f5f5f5;
  --em-border:#dedede;
  --em-content:1480px;
  --em-header-open:108px;
  --em-header-small:76px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--em-bg);
  color:var(--em-text);
  font-family:Inter,Arial,sans-serif;
  overflow-x:hidden;
}
a{text-decoration:none;color:inherit}
img{max-width:100%;height:auto}
.em-wrap{width:min(var(--em-content),calc(100% - 40px));margin-inline:auto}

/* =========================================================
   UNIVERSAL HEADER — same markup on every template
   ========================================================= */
.site-header{
  background:#fff;
  border-bottom:1px solid #ececec;
  z-index:9999;
}

.header-inner{
  min-height:var(--em-header-open);
  display:flex;
  align-items:center;
  gap:28px;
}

.site-branding{
  flex:0 0 300px;
  min-width:220px;
}

.custom-logo-link{display:block}
.custom-logo{
  display:block;
  width:auto;
  max-height:86px;
}

.site-name{
  font-family:"Barlow Condensed",sans-serif;
  font-size:38px;
  font-weight:800;
  line-height:.9;
  text-transform:uppercase;
}

.site-name span{
  display:block;
  color:var(--em-red);
  font-size:22px;
  letter-spacing:.22em;
  margin-top:8px;
}

.primary-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:25px;
  flex:1;
  list-style:none;
  margin:0;
  padding:0;
}

.primary-nav li{list-style:none}

.primary-nav a{
  display:block;
  position:relative;
  padding:41px 0 16px;
  font-family:"Barlow Condensed",sans-serif;
  font-size:20px;
  font-weight:700;
  text-transform:uppercase;
  transition:color .2s ease,padding .34s cubic-bezier(.22,.61,.36,1),font-size .34s cubic-bezier(.22,.61,.36,1);
}

.primary-nav a:hover,
.primary-nav a:focus-visible{color:var(--em-red)}

.primary-nav a:hover:after,
.primary-nav .current-menu-item>a:after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:3px;
  background:var(--em-red);
}

.header-cta{
  background:var(--em-red);
  color:#fff;
  padding:16px 25px;
  border-radius:5px;
  font-family:"Barlow Condensed",sans-serif;
  font-size:21px;
  font-weight:700;
  text-transform:uppercase;
  white-space:nowrap;
  transition:background-color .25s ease,color .25s ease,padding .34s cubic-bezier(.22,.61,.36,1),font-size .34s cubic-bezier(.22,.61,.36,1),transform .2s ease,box-shadow .25s ease;
}

.header-cta:hover,
.header-cta:focus-visible{
  background:#090909;
  color:#fff;
  transform:translateY(-2px);
  box-shadow:0 10px 24px rgba(0,0,0,.18);
}

.menu-toggle{
  display:none;
  border:0;
  background:transparent;
  padding:8px;
  cursor:pointer;
}

.menu-toggle span{
  display:block;
  width:28px;
  height:3px;
  margin:5px;
  background:#111;
}

/* Fixed + compact desktop header. The permanent body offset prevents layout jumps. */
@media(min-width:901px){
  html{scroll-padding-top:92px}
  body{padding-top:var(--em-header-open)}

  .site-header{
    position:fixed;
    top:0;
    left:0;
    right:0;
    width:100%;
    height:var(--em-header-open);
    background:rgba(255,255,255,.99);
    box-shadow:0 1px 0 rgba(0,0,0,.06);
    transform:translateZ(0);
    transition:height .34s cubic-bezier(.22,.61,.36,1),box-shadow .34s ease,background-color .34s ease;
  }

  body.admin-bar .site-header{top:32px}

  .header-inner{
    height:var(--em-header-open);
    min-height:0;
    transition:height .34s cubic-bezier(.22,.61,.36,1);
  }

  .site-branding{
    width:300px;
    flex-basis:300px;
    transition:width .34s cubic-bezier(.22,.61,.36,1),flex-basis .34s cubic-bezier(.22,.61,.36,1);
  }

  .custom-logo{transition:max-height .34s cubic-bezier(.22,.61,.36,1)}
  .site-name{transition:font-size .34s cubic-bezier(.22,.61,.36,1),line-height .34s ease}
  .site-name span{transition:font-size .34s cubic-bezier(.22,.61,.36,1),margin .34s ease}

  .site-header.em-header-compact{
    height:var(--em-header-small);
    background:rgba(255,255,255,.965);
    box-shadow:0 10px 30px rgba(0,0,0,.11);
    -webkit-backdrop-filter:blur(13px) saturate(145%);
    backdrop-filter:blur(13px) saturate(145%);
  }

  .site-header.em-header-compact .header-inner{height:var(--em-header-small)}
  .site-header.em-header-compact .site-branding{width:226px;flex-basis:226px;min-width:190px}
  .site-header.em-header-compact .custom-logo{max-height:55px}
  .site-header.em-header-compact .site-name{font-size:30px;line-height:.88}
  .site-header.em-header-compact .site-name span{font-size:16px;margin-top:4px}
  .site-header.em-header-compact .primary-nav a{padding-top:25px;padding-bottom:11px;font-size:17px}
  .site-header.em-header-compact .header-cta{padding:11px 18px;font-size:18px}
}

/* Mobile header scrolls away normally. */
@media(max-width:900px){
  body{padding-top:0}
  .site-header{position:relative;top:auto;height:auto;box-shadow:none}
  .header-inner{flex-wrap:wrap;padding:10px 0;min-height:auto}
  .site-branding{flex-basis:210px;min-width:180px}
  .custom-logo{max-height:76px}
  .menu-toggle{display:block;margin-left:auto}

  .primary-nav{
    display:none;
    order:3;
    width:100%;
    flex-direction:column;
    align-items:stretch;
    gap:0;
  }

  .primary-nav.open{display:flex}
  .primary-nav a{padding:13px 4px;border-bottom:1px solid #eee}
  .header-cta{order:4;width:100%;text-align:center}
}

/* =========================================================
   SLIDER
   ========================================================= */
.em-slider{
  width:100%;
  position:relative;
  overflow:hidden;
  background:#ddd;
}

.em-slides{height:650px;position:relative}

.em-slide{
  position:absolute;
  inset:0;
  opacity:0;
  visibility:hidden;
  background-size:cover;
  background-position:center;
  transition:opacity .8s ease;
}

.em-slide.active{opacity:1;visibility:visible}

.em-slide:before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.93) 35%,rgba(255,255,255,.28) 58%,rgba(255,255,255,0) 100%);
}

.em-slide-content{
  height:100%;
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
}

.em-copy{max-width:690px}

.em-copy h2{
  margin:0;
  font-family:"Barlow Condensed",sans-serif;
  font-size:92px;
  line-height:.88;
  letter-spacing:-.02em;
  font-weight:800;
  text-transform:uppercase;
}

.em-copy h2 span{display:block}
.em-copy h2 .red{color:var(--em-red)}

.em-rule{
  width:145px;
  height:4px;
  margin:27px 0 15px;
  background:var(--em-red);
}

.em-subtitle{
  margin-bottom:28px;
  font-size:24px;
  line-height:1.35;
}

.em-actions{display:flex;gap:30px;flex-wrap:wrap}

.em-button{
  min-height:64px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 26px;
  border-radius:5px;
  font-family:"Barlow Condensed",sans-serif;
  font-size:23px;
  font-weight:700;
  text-transform:uppercase;
  cursor:pointer;
  transition:background-color .25s ease,color .25s ease,border-color .25s ease,transform .2s ease,box-shadow .25s ease;
}

.em-button.primary{background:var(--em-red);color:#fff}
.em-button.secondary{border:2px solid #111;background:rgba(255,255,255,.25)}

.em-button.primary:hover,
.em-button.primary:focus-visible{
  background:#090909;
  color:#fff;
  transform:translateY(-2px);
  box-shadow:0 12px 28px rgba(0,0,0,.2);
}

.em-button.secondary:hover,
.em-button.secondary:focus-visible{
  background:var(--em-red);
  color:#fff;
  border-color:var(--em-red);
  transform:translateY(-2px);
  box-shadow:0 12px 28px rgba(201,0,11,.2);
}

.slider-arrow{
  position:absolute;
  top:50%;
  z-index:5;
  width:48px;
  height:48px;
  border:1px solid rgba(0,0,0,.2);
  border-radius:50%;
  background:rgba(255,255,255,.86);
  font-size:28px;
  transform:translateY(-50%);
  cursor:pointer;
}

.slider-prev{left:18px}
.slider-next{right:18px}

.slider-dots{
  position:absolute;
  bottom:20px;
  left:50%;
  z-index:5;
  display:flex;
  gap:10px;
  transform:translateX(-50%);
}

.slider-dot{
  width:12px;
  height:12px;
  border:0;
  border-radius:50%;
  background:#fff;
  cursor:pointer;
}

.slider-dot.active{background:var(--em-red)}

@media(max-width:900px){
  .em-slides{height:620px}
  .em-slide{background-position:center center}
  .em-slide:before{background:linear-gradient(90deg,rgba(255,255,255,.89),rgba(255,255,255,.65) 48%,rgba(255,255,255,.18))}
  .em-copy h2{font-size:66px}
  .em-subtitle{font-size:21px}
}

@media(max-width:600px){
  .em-wrap{width:calc(100% - 28px)}
  .em-slides{height:600px}
  .em-slide{background-position:center center}
  .em-slide:before{background:linear-gradient(90deg,rgba(255,255,255,.84),rgba(255,255,255,.58) 50%,rgba(255,255,255,.10))}
  .em-copy{max-width:94%}
  .em-copy h2{font-size:48px}
  .em-subtitle{font-size:18px}
  .em-actions{gap:12px}
  .em-button{width:100%;min-height:58px;font-size:20px}
  .slider-arrow{display:none}
}

/* =========================================================
   SIX CARDS
   ========================================================= */
.em-quick-links{
  position:relative;
  z-index:8;
  margin-top:-18px;
  background:transparent;
}

.em-quick-grid{
  width:min(var(--em-content),calc(100% - 40px));
  margin-inline:auto;
  display:grid;
  grid-template-columns:repeat(6,1fr);
  padding:0;
  background:#fff;
  border-radius:8px 8px 0 0;
  overflow:hidden;
  box-shadow:0 14px 32px rgba(0,0,0,.10);
}

.em-quick-card{
  min-height:168px;
  padding:26px 18px 22px;
  text-align:center;
  border-right:1px solid var(--em-border);
  background:#fff;
  display:flex;
  flex-direction:column;
  align-items:center;
  cursor:pointer;
  touch-action:pan-y;
  -webkit-tap-highlight-color:transparent;
  transition:background-color .22s ease,transform .2s ease,box-shadow .22s ease,color .2s ease;
}

.em-quick-card:last-child{border-right:0}

.em-quick-card:hover,
.em-quick-card:focus-visible{
  background:#f0f0f0;
  color:var(--em-red);
  transform:translateY(-4px);
  box-shadow:0 12px 24px rgba(0,0,0,.08);
  z-index:2;
}

.em-quick-icon{
  height:58px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:44px;
  line-height:1;
  transition:transform .22s ease,color .22s ease;
}

.em-quick-card:hover .em-quick-icon,
.em-quick-card:focus-visible .em-quick-icon{
  color:var(--em-red);
  transform:scale(1.08);
}

.em-quick-card h3{
  margin:8px 0 7px;
  font-family:"Barlow Condensed",sans-serif;
  font-size:22px;
  text-transform:uppercase;
}

.em-quick-card p{
  max-width:170px;
  margin:0;
  color:#333;
  font-size:15px;
  line-height:1.4;
}

.em-quick-card:active{
  background:#ececec;
  color:var(--em-red);
  transform:scale(.99);
}

@media(max-width:1000px){
  .em-quick-grid{grid-template-columns:repeat(3,1fr);width:min(var(--em-content),calc(100% - 24px))}
  .em-quick-card{border-bottom:1px solid var(--em-border)}
  .em-quick-card:nth-child(3n){border-right:0}
}

@media(max-width:767px){
  .em-quick-links{margin-top:-10px}
  .em-quick-grid{width:calc(100% - 16px);grid-template-columns:repeat(2,1fr)}
  .em-quick-card{min-height:148px;padding:20px 10px 18px}
  .em-quick-card:nth-child(3n){border-right:1px solid var(--em-border)}
  .em-quick-card:nth-child(even){border-right:0}
}

/* =========================================================
   CONTENT + ELEMENTOR
   ========================================================= */
.site-main{width:100%}
.page-shell{width:min(1120px,calc(100% - 40px));margin:0 auto;padding:60px 0}
.entry-title{margin:0 0 24px;font-family:"Barlow Condensed",sans-serif;font-size:56px;text-transform:uppercase}
.entry-content{font-size:18px;line-height:1.75}
.entry-content a:not(.em-button):hover{color:var(--em-red)}
.elementor-page .page-shell{width:100%;max-width:none;padding:0}
.elementor-page .entry-title{display:none}
.elementor-page .entry-content{width:100%;font-size:inherit;line-height:inherit}
.em-fullwidth-content{width:100%;max-width:none;margin:0;padding:0}

/* =========================================================
   PREMIUM FOOTER
   ========================================================= */
.site-footer{
  background:#0a0a0a;
  color:#fff;
  padding:54px 0 18px;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr 1.2fr;
  gap:38px;
  align-items:start;
}

.footer-brand-title{
  margin:0 0 14px;
  font-family:"Barlow Condensed",sans-serif;
  font-size:31px;
  line-height:1;
  text-transform:uppercase;
}

.footer-title{
  margin:0 0 16px;
  font-family:Inter,Arial,sans-serif;
  font-size:17px;
  line-height:1.3;
  letter-spacing:.04em;
  font-weight:700;
  text-transform:none;
}

.footer-description{
  max-width:390px;
  margin:0 0 18px;
  color:#c9c9c9;
  line-height:1.65;
}

.footer-tagline{margin:0;color:#fff;font-size:14px;line-height:1.6}
.footer-list{list-style:none;padding:0;margin:0}
.footer-list li{margin:0 0 10px}

.footer-list a,
.footer-contact-line a{
  color:#c8c8c8;
  font-size:15px;
  transition:color .2s ease,transform .2s ease;
}

.footer-list a:hover,
.footer-contact-line a:hover{color:var(--em-red)}

.footer-contact-line{margin:0 0 10px;color:#c8c8c8;font-size:15px;word-break:break-word}

.footer-socials{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}

.footer-socials a{
  width:36px;
  height:36px;
  border:1px solid #363636;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:13px;
  font-weight:700;
  transition:background-color .2s ease,border-color .2s ease,transform .2s ease;
}

.footer-socials a:hover{
  background:var(--em-red);
  border-color:var(--em-red);
  transform:translateY(-2px);
}

.footer-bottom{
  margin-top:38px;
  padding-top:17px;
  border-top:1px solid #292929;
  color:#8f8f8f;
  font-size:13px;
  display:flex;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
}

@media(max-width:1000px){
  .footer-grid{grid-template-columns:repeat(2,1fr)}
}

@media(max-width:600px){
  .site-footer{padding:44px 0 16px}
  .footer-grid{grid-template-columns:1fr;gap:30px}
  .footer-brand-title{font-size:28px}
  .footer-title{font-size:16px;margin-bottom:13px}
  .footer-bottom{display:block;margin-top:30px;line-height:1.7}
  .footer-bottom span{display:block}
}

@media(prefers-reduced-motion:reduce){
  *,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important}
}


/* v8.1 premium utility update */
.header-socials{display:flex;align-items:center;gap:8px;margin-left:4px}
.header-socials a{width:32px;height:32px;border:1px solid #dedede;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;color:#111;background:#fff;transition:.2s ease}
.header-socials a:hover,.header-socials a:focus-visible{background:var(--em-red);color:#fff;border-color:var(--em-red);transform:translateY(-2px)}

@media(max-width:900px){
  .site-header{position:absolute!important;top:0!important;left:0!important;right:0!important;width:100%;background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(255,255,255,.70))!important;border-bottom:1px solid rgba(255,255,255,.45);box-shadow:none!important;-webkit-backdrop-filter:blur(10px) saturate(140%);backdrop-filter:blur(10px) saturate(140%);transition:transform .28s ease,background-color .28s ease,box-shadow .28s ease}
  body.admin-bar .site-header{top:46px!important}
  .site-header.mobile-floating{position:fixed!important;transform:translateY(0);box-shadow:0 8px 22px rgba(0,0,0,.12)!important;background:rgba(255,255,255,.82)!important}
  .site-header.mobile-hidden{transform:translateY(-110%)}
  .header-socials{order:5;width:100%;justify-content:center;padding:10px 0 4px}
}

.em-home-ribbon{width:100%;background:var(--em-red);color:#fff;text-align:center;padding:15px 20px;font-family:"Barlow Condensed",sans-serif;font-size:20px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}

.em-back-to-top{position:fixed;right:22px;bottom:22px;width:46px;height:46px;border:0;border-radius:50%;background:var(--em-red);color:#fff;font-size:23px;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:9998;opacity:0;visibility:hidden;transform:translateY(12px);box-shadow:0 10px 24px rgba(201,0,11,.28);transition:.25s ease}
.em-back-to-top.is-visible{opacity:1;visibility:visible;transform:translateY(0)}
.em-back-to-top:hover,.em-back-to-top:focus-visible{background:#090909}

.em-floating-note{position:fixed;left:18px;bottom:18px;z-index:9997;max-width:300px}
.em-floating-note-trigger{border:0;border-radius:999px;background:#111;color:#fff;padding:10px 15px;font-size:13px;font-weight:700;cursor:pointer;box-shadow:0 8px 20px rgba(0,0,0,.18)}
.em-floating-note-panel{position:absolute;left:0;bottom:52px;width:min(300px,calc(100vw - 36px));padding:16px;border-radius:8px;background:#fff;color:#222;font-size:14px;line-height:1.55;box-shadow:0 16px 38px rgba(0,0,0,.18);opacity:0;visibility:hidden;transform:translateY(8px);transition:.2s ease}
.em-floating-note:hover .em-floating-note-panel,.em-floating-note:focus-within .em-floating-note-panel,.em-floating-note.is-open .em-floating-note-panel{opacity:1;visibility:visible;transform:translateY(0)}

.footer-legal{margin-top:16px;color:#9a9a9a;font-size:13px;line-height:1.6}
.footer-legal a{color:#bdbdbd}.footer-legal a:hover{color:var(--em-red)}

@media(max-width:600px){
 .em-home-ribbon{font-size:16px;letter-spacing:.05em;padding:13px 15px}
 .em-back-to-top{right:14px;bottom:14px;width:42px;height:42px}
 .em-floating-note{left:12px;bottom:12px}
}


/* =========================================================
   v9.0 — WordPress standard templates and compatibility
   ========================================================= */

.em-archive-header,
.em-search-header,
.em-error-page{
  padding:64px 0 36px;
}

.em-archive-title,
.em-search-title,
.em-error-title{
  margin:0 0 14px;
  font-family:"Barlow Condensed",sans-serif;
  font-size:52px;
  line-height:1;
  text-transform:uppercase;
}

.em-archive-description,
.em-search-description,
.em-error-description{
  max-width:760px;
  color:#666;
  font-size:18px;
  line-height:1.65;
}

.em-post-list{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
  padding-bottom:64px;
}

.em-post-card{
  background:#fff;
  border:1px solid #e5e5e5;
  border-radius:8px;
  overflow:hidden;
  transition:transform .22s ease,box-shadow .25s ease;
}

.em-post-card:hover{
  transform:translateY(-4px);
  box-shadow:0 14px 30px rgba(0,0,0,.08);
}

.em-post-thumb{
  display:block;
  aspect-ratio:16/10;
  background:#eee;
  overflow:hidden;
}

.em-post-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.em-post-body{
  padding:22px;
}

.em-post-title{
  margin:0 0 10px;
  font-family:"Barlow Condensed",sans-serif;
  font-size:30px;
  line-height:1.05;
  text-transform:uppercase;
}

.em-post-meta{
  margin-bottom:12px;
  color:#888;
  font-size:13px;
}

.em-pagination{
  padding-bottom:64px;
}

.em-search-form{
  display:flex;
  gap:10px;
  max-width:620px;
  margin-top:24px;
}

.em-search-form input[type="search"]{
  flex:1;
  min-height:50px;
  border:1px solid #d8d8d8;
  border-radius:5px;
  padding:0 14px;
  font-size:16px;
}

.em-search-form button{
  min-height:50px;
  border:0;
  border-radius:5px;
  background:var(--em-red);
  color:#fff;
  padding:0 22px;
  font-family:"Barlow Condensed",sans-serif;
  font-size:18px;
  font-weight:700;
  text-transform:uppercase;
  cursor:pointer;
}

.em-error-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:28px;
}

@media(max-width:900px){
  .em-post-list{grid-template-columns:1fr}
  .em-archive-title,
  .em-search-title,
  .em-error-title{font-size:42px}
}

@media(max-width:600px){
  .em-search-form{display:block}
  .em-search-form input[type="search"],
  .em-search-form button{width:100%}
  .em-search-form button{margin-top:10px}
}


/* =========================================================
   v9.1 — ribbon placement, mobile cleanup, multilingual,
   Elementor preview compatibility
   ========================================================= */

/* Red ribbon below the quick-link cards */
.em-home-ribbon{
  width:100%;
  margin:0;
  padding:17px 24px;
  background:linear-gradient(90deg,#b80008 0%,#d0000b 50%,#b80008 100%);
  color:#fff;
  text-align:center;
  font-family:"Barlow Condensed",sans-serif;
  font-size:21px;
  line-height:1.25;
  font-weight:700;
  letter-spacing:.075em;
  text-transform:uppercase;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.15);
  position:relative;
  z-index:7;
}

.em-home-ribbon-inner{
  width:min(var(--em-content),calc(100% - 40px));
  margin-inline:auto;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
}

.em-home-ribbon-mark{
  font-size:24px;
  line-height:1;
  flex:0 0 auto;
}

/* Cards remain connected to the slider */
.em-quick-links{
  margin-top:-18px;
  position:relative;
  z-index:8;
}

/* Remove the lower-left floating note */
.em-floating-note,
.em-floating-note-trigger,
.em-floating-note-panel{
  display:none !important;
}

/* Optional language selector */
.em-language-switcher{
  display:flex;
  align-items:center;
  gap:8px;
  margin-left:4px;
}

.em-language-switcher ul{
  display:flex;
  align-items:center;
  gap:7px;
  list-style:none;
  margin:0;
  padding:0;
}

.em-language-switcher li{list-style:none}

.em-language-switcher a{
  min-width:30px;
  height:30px;
  padding:0 8px;
  border:1px solid #ddd;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  color:#111;
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
}

.em-language-switcher a:hover,
.em-language-switcher .current-lang a{
  background:var(--em-red);
  color:#fff;
  border-color:var(--em-red);
}

/* Elementor iframe safety */
body.elementor-editor-active,
body.elementor-editor-preview{
  padding-top:0 !important;
}

body.elementor-editor-active .site-header,
body.elementor-editor-preview .site-header{
  position:relative !important;
  top:auto !important;
  height:auto !important;
  transform:none !important;
  box-shadow:none !important;
  -webkit-backdrop-filter:none !important;
  backdrop-filter:none !important;
}

body.elementor-editor-active .em-back-to-top,
body.elementor-editor-preview .em-back-to-top{
  display:none !important;
}

/* Mobile: remove the large CTA and social row from the header */
@media(max-width:900px){
  .site-header{
    position:relative !important;
    top:auto !important;
    background:#fff !important;
    border-bottom:1px solid #ececec !important;
    box-shadow:none !important;
    -webkit-backdrop-filter:none !important;
    backdrop-filter:none !important;
    transform:none !important;
  }

  .site-header.mobile-floating,
  .site-header.mobile-hidden{
    position:relative !important;
    transform:none !important;
    box-shadow:none !important;
  }

  .header-cta,
  .header-socials{
    display:none !important;
  }

  .em-language-switcher{
    order:4;
    width:100%;
    justify-content:center;
    padding:8px 0 2px;
  }

  .em-home-ribbon{
    padding:14px 16px;
    font-size:16px;
    letter-spacing:.045em;
  }

  .em-home-ribbon-inner{
    width:100%;
    gap:10px;
  }

  .em-home-ribbon-mark{
    font-size:20px;
  }
}

@media(max-width:600px){
  .em-home-ribbon{
    font-size:15px;
    line-height:1.3;
  }
}


/* v9.2.2 — Polylang support without changing the proven 9.1.2 layout */
.em-language-switcher{display:flex;align-items:center;gap:7px;margin-left:6px}
.em-language-switcher ul{display:flex;align-items:center;gap:6px;list-style:none;padding:0;margin:0}
.em-language-switcher li{list-style:none}
.em-language-switcher a{min-width:29px;height:29px;padding:0 7px;border:1px solid #dedede;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#fff;color:#111;font-size:11px;font-weight:700;line-height:1;text-transform:uppercase;transition:.2s ease}
.em-language-switcher a:hover,.em-language-switcher .current-lang a{background:var(--em-red);color:#fff;border-color:var(--em-red)}
.em-language-switcher img{display:block;width:19px;height:auto}
@media(max-width:900px){.em-language-switcher{order:5;width:100%;justify-content:center;margin:0;padding:7px 0 1px}}


/* v9.2.3 — active navigation and balanced width */
:root{--em-content:1360px}
@media(min-width:901px){
  body{background:#f3f3f3}
  .site-main{background:#fff}
  .em-slider,.em-quick-links,.em-home-ribbon,.entry-content>.elementor{width:min(1360px,100%);margin-left:auto;margin-right:auto}
  .em-slider{box-shadow:0 2px 20px rgba(0,0,0,.06)}
  .em-quick-grid{width:100%;max-width:1360px}
  .em-home-ribbon-inner{width:min(1280px,calc(100% - 48px))}
  .header-inner{width:min(1360px,calc(100% - 42px))}
}
.site-header .primary-nav li{position:relative}
.site-header .primary-nav a{color:#111}
.site-header .primary-nav a::after{content:"";position:absolute;left:50%;right:50%;bottom:0;height:3px;background:var(--em-red);opacity:0;transition:left .22s ease,right .22s ease,opacity .22s ease}
.site-header .primary-nav li.current-menu-item>a,.site-header .primary-nav li.current_page_item>a,.site-header .primary-nav li.current-menu-ancestor>a,.site-header .primary-nav li.current_page_ancestor>a,.site-header .primary-nav a[aria-current="page"],.site-header .primary-nav a.em-current-link{color:var(--em-red)!important}
.site-header .primary-nav li.current-menu-item>a::after,.site-header .primary-nav li.current_page_item>a::after,.site-header .primary-nav li.current-menu-ancestor>a::after,.site-header .primary-nav li.current_page_ancestor>a::after,.site-header .primary-nav a[aria-current="page"]::after,.site-header .primary-nav a.em-current-link::after{left:0;right:0;opacity:1}
@media(max-width:900px){
  body{background:#fff}
  .site-header .primary-nav a{position:relative;padding-left:12px;padding-right:12px}
  .site-header .primary-nav a::after{left:12px;right:auto;bottom:5px;width:0;height:2px;opacity:1;transition:width .22s ease}
  .site-header .primary-nav li.current-menu-item>a::after,.site-header .primary-nav li.current_page_item>a::after,.site-header .primary-nav li.current-menu-ancestor>a::after,.site-header .primary-nav li.current_page_ancestor>a::after,.site-header .primary-nav a[aria-current="page"]::after,.site-header .primary-nav a.em-current-link::after{left:12px;right:auto;width:42px}
  .em-slider,.em-quick-links,.em-home-ribbon,.entry-content>.elementor{width:100%;max-width:none}
}


/* =========================================================
   v9.3.0 — PREMIUM HEADER, SOCIALS AND EAGLE WATERMARK
   ========================================================= */

/* Soft premium header */
.site-header{
  position:relative;
  overflow:visible;
  background:rgba(255,255,255,.965);
  border-bottom:1px solid rgba(0,0,0,.06);
  -webkit-backdrop-filter:blur(12px) saturate(135%);
  backdrop-filter:blur(12px) saturate(135%);
}

/* Very subtle eagle watermark */
.site-header::before{
  content:"🦅";
  position:absolute;
  right:7%;
  top:50%;
  transform:translateY(-50%) scaleX(1.06);
  font-size:150px;
  line-height:1;
  opacity:.028;
  filter:grayscale(1);
  pointer-events:none;
  z-index:0;
}

.site-header .header-inner{
  position:relative;
  z-index:2;
}

/* Desktop social icons */
.header-socials{
  display:flex;
  align-items:center;
  gap:9px;
  margin-left:4px;
}

.header-socials a{
  width:31px;
  height:31px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#111;
  font-size:12px;
  font-weight:800;
  border:0;
  border-radius:50%;
  background:transparent;
  transition:color .2s ease,background-color .2s ease,transform .2s ease;
}

.header-socials a:hover,
.header-socials a:focus-visible{
  color:#fff;
  background:var(--em-red);
  transform:translateY(-2px);
}

/* Mobile menu social area */
.mobile-menu-socials{
  display:none;
}

@media(max-width:900px){
  .site-header::before{
    right:-18px;
    font-size:108px;
    opacity:.022;
  }

  .header-socials{
    display:none !important;
  }

  .mobile-menu-socials{
    display:none;
    order:6;
    width:100%;
    padding:18px 10px 10px;
    border-top:1px solid #ececec;
    text-align:center;
  }

  .primary-nav.open ~ .mobile-menu-socials,
  .mobile-menu-socials.is-visible{
    display:block;
  }

  .mobile-menu-socials-title{
    margin:0 0 12px;
    color:#777;
    font-size:12px;
    font-weight:700;
    letter-spacing:.12em;
    text-transform:uppercase;
  }

  .mobile-menu-socials-links{
    display:flex;
    justify-content:center;
    gap:12px;
    flex-wrap:wrap;
  }

  .mobile-menu-socials-links a{
    min-width:38px;
    height:38px;
    padding:0 11px;
    border:1px solid #ddd;
    border-radius:999px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:#fff;
    color:#111;
    font-size:12px;
    font-weight:800;
    transition:background-color .2s ease,color .2s ease,border-color .2s ease;
  }

  .mobile-menu-socials-links a:active{
    background:var(--em-red);
    color:#fff;
    border-color:var(--em-red);
  }

  .mobile-menu-site{
    margin-top:12px;
    color:#777;
    font-size:12px;
  }
}

/* More refined menu rhythm */
@media(min-width:901px){
  .primary-nav{
    gap:21px;
  }

  .primary-nav a{
    font-size:18px;
    letter-spacing:.015em;
  }

  .header-cta{
    padding:14px 21px;
    font-size:19px;
  }
}

/* Premium footer social treatment */
.footer-socials a{
  border-color:#444;
  background:rgba(255,255,255,.025);
}

.footer-socials a:hover,
.footer-socials a:focus-visible{
  background:var(--em-red);
  border-color:var(--em-red);
}


/* =========================================================
   v9.3.1 — top gap fix, visible social links, page watermark
   ========================================================= */

/* Remove the eagle watermark from the header */
.site-header::before{
  content:none !important;
  display:none !important;
}

/* Fix the large empty gap above the header */
@media(min-width:901px){
  body{
    padding-top:0 !important;
  }

  .site-header,
  .site-header.em-header-compact{
    position:sticky !important;
    top:0 !important;
    left:auto !important;
    right:auto !important;
    height:auto !important;
  }

  body.admin-bar .site-header,
  body.admin-bar .site-header.em-header-compact{
    top:32px !important;
  }

  .site-header .header-inner,
  .site-header.em-header-compact .header-inner{
    min-height:94px;
    height:auto !important;
  }

  .site-header.em-header-compact .header-inner{
    min-height:72px;
  }
}

/* Decorative eagle watermark for all page backgrounds */
body::before{
  content:"🦅";
  position:fixed;
  right:-55px;
  top:54%;
  transform:translateY(-50%);
  font-size:min(42vw,620px);
  line-height:1;
  opacity:.018;
  filter:grayscale(1);
  pointer-events:none;
  z-index:0;
}

.site-header,
.site-main,
.site-footer{
  position:relative;
  z-index:1;
}

.site-main{
  background:rgba(255,255,255,.96);
}

/* Social links always visible when configured */
.header-socials{
  display:flex !important;
  flex:0 0 auto;
}

.header-socials a{
  border:1px solid #e3e3e3;
  background:#fff;
}

/* Mobile social section appears only when menu is open */
@media(max-width:900px){
  body::before{
    right:-80px;
    top:58%;
    font-size:370px;
    opacity:.016;
  }

  .header-socials{
    display:none !important;
  }

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

  .primary-nav.open ~ .mobile-menu-socials,
  .mobile-menu-socials.is-visible{
    display:block !important;
  }

  .site-main{
    background:rgba(255,255,255,.97);
  }
}


/* =========================================================
   v9.3.2 — reliable social menu + Events starter content
   ========================================================= */

/* Social links remain visible on desktop and appear below the opened mobile menu. */
.header-socials{display:flex!important;align-items:center;gap:8px;flex:0 0 auto}
.header-socials a{width:32px;height:32px;border:1px solid #dedede;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#fff;color:#111;font-size:11px;font-weight:800;text-transform:uppercase}
.header-socials a:hover,.header-socials a:focus-visible{background:var(--em-red);border-color:var(--em-red);color:#fff}

@media(max-width:900px){
  .header-socials{display:none!important}
  .mobile-menu-socials{display:none!important;order:6;width:100%;padding:18px 10px 12px;border-top:1px solid #ececec;text-align:center;background:#fff}
  .primary-nav.open ~ .mobile-menu-socials,.mobile-menu-socials.is-visible{display:block!important}
  .mobile-menu-socials-title{margin:0 0 12px;color:#777;font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
  .mobile-menu-socials-links{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
  .mobile-menu-socials-links a{min-width:40px;height:40px;padding:0 12px;border:1px solid #ddd;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#fff;color:#111;font-size:11px;font-weight:800;text-transform:uppercase}
  .mobile-menu-socials-links a:active{background:var(--em-red);border-color:var(--em-red);color:#fff}
  .mobile-menu-site{margin-top:12px;color:#777;font-size:12px}
}

/* Starter Events page */
.eagle-events-intro{padding:72px 0;background:linear-gradient(180deg,#fff,#f7f7f7)}
.eagle-events-intro-inner{width:min(1080px,calc(100% - 40px));margin:0 auto}
.eagle-events-kicker{margin-bottom:12px;color:var(--em-red);font-weight:700;letter-spacing:.16em;text-transform:uppercase}
.eagle-events-intro h1{margin:0 0 18px;font-family:"Barlow Condensed",sans-serif;font-size:64px;line-height:.95;text-transform:uppercase}
.eagle-events-intro p{max-width:760px;margin:0 0 18px;color:#555;font-size:19px;line-height:1.7}
.eagle-events-box{margin-top:30px;padding:26px;border-left:4px solid var(--em-red);background:#fff;box-shadow:0 12px 30px rgba(0,0,0,.06)}
@media(max-width:600px){.eagle-events-intro{padding:48px 0}.eagle-events-intro h1{font-size:46px}.eagle-events-intro p{font-size:17px}}
