@media (min-width: 761px) and (max-width: 1240px) {
  main .ee-v-application {
    margin-inline: 0 !important;
    padding-inline: clamp(24px, 5vw, 64px);
  }
}

@media (max-width: 760px) {
  main .ee-button {
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  main .wp-block-group,
  main .wp-block-column {
    min-width: 0;
  }

  main .wp-block-paragraph,
  main .wp-block-heading,
  main .ee-v-skill h3 {
    overflow-wrap: anywhere;
  }

  main .wp-block-table {
    max-width: 100%;
    overflow-x: auto;
  }
}

@media (max-width: 340px) {
  main .ee-v-skills {
    grid-template-columns: minmax(0, 1fr);
  }

  main .ee-v-skill + .ee-v-skill {
    border-left: 0;
  }
}
@media (max-width: 340px) {
  main .ee-v-guidelines,
  main .ee-v-corporate-cta {
    flex-wrap: wrap;
  }

  main .ee-v-guidelines > *,
  main .ee-v-corporate-cta > *,
  main .ee-button > span {
    min-width: 0;
  }

  main .ee-v-guidelines > p,
  main .ee-v-corporate-cta > p {
    flex: 1 1 100%;
    max-width: 100%;
    margin-inline: 0;
  }

  main .ee-button {
    display: inline-block;
    padding-inline: 12px;
  }

  main .ee-button > span {
    margin-inline-start: .35em;
  }
}
.eekaa-builder-gallery {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));
  gap:16px;
  margin-block:24px;
}
.eekaa-builder-gallery figure {margin:0}
.eekaa-builder-gallery a {display:block}
.eekaa-builder-gallery img {
  display:block;
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  border-radius:12px;
}

.ee-footer .ee-footer-contact p {align-items:center; gap:12px; margin-block:6px}
.ee-footer .ee-footer-contact .ee-v-icon,
.ee-footer .ee-footer-glyph {
  display:grid;
  flex:0 0 22px;
  width:22px;
  height:22px;
  place-items:center;
}
.ee-footer .ee-footer-glyph {font-size:0; position:relative}
.ee-footer .ee-footer-glyph::before {
  content:"";
  width:20px;
  height:20px;
  background:currentColor;
  mask:var(--ee-footer-icon) center / contain no-repeat;
}
.ee-footer .ee-footer-contact p:nth-child(2) {
  --ee-footer-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linejoin='round'%3E%3Cpath d='M7 3H4a1 1 0 0 0-1 1c0 9.4 7.6 17 17 17a1 1 0 0 0 1-1v-3l-5-2-2 2a14 14 0 0 1-7-7l2-2z'/%3E%3C/svg%3E");
}
.ee-footer .ee-footer-contact p:nth-child(4) {
  --ee-footer-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cellipse cx='12' cy='12' rx='4' ry='9'/%3E%3Cpath d='M3 12h18'/%3E%3C/svg%3E");
}
.ee-footer .ee-social-icons {display:flex; align-items:center; gap:12px; margin-bottom:12px}
.ee-footer .ee-social-icons a {
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  line-height:1;
  flex:0 0 34px;
}
.ee-footer .ee-social-icons svg {display:block; width:22px; height:22px; margin:0}
/* Header follows the approved composition; separators never span the header height. */
.ee-logo img,.ee-footer-logo img{content:url("logo-eekaa.svg?v=43");filter:none!important;}
@media(min-width:1100px){
.ee-header{padding:22px 0!important;}
.ee-nav{align-items:center;gap:22px;}
.ee-menu{align-items:center!important;}
.ee-menu>li+li{border-left:0!important;}
.ee-menu>li+li:before{content:"";position:absolute;left:0;top:50%;height:18px;width:1px;background:#ed1725;transform:translateY(-50%);pointer-events:none;}
.ee-menu>li>a{padding:10px 12px!important;line-height:1.3!important;}
}
/* Mobile menus show one deliberate group at a time. Desktop remains hover/focus driven. */
.ee-submenu-toggle{display:none;}
@media(max-width:1399px){
.ee-nav{flex-wrap:wrap;}
.ee-logo{flex:1 1 220px!important;}
.ee-logo img{width:220px;}
.ee-menu-toggle{display:block;}
.ee-nav nav{flex-basis:100%;display:none;}
.ee-nav nav.is-open{display:block;}
.ee-menu{display:block;}
.ee-menu>li+li{border:0!important;}
.ee-menu>li+li:before{display:none!important;}
.ee-menu>li>a{padding:12px 52px 12px 0!important;}
.ee-menu .sub-menu{position:static;box-shadow:none;background:none;}
.ee-menu>li{position:relative;}
.ee-menu>li>a{padding-right:52px!important;}
.ee-menu>li>.sub-menu{display:none!important;}
.ee-menu>li.is-expanded>.sub-menu{display:block!important;}
.ee-menu>li>.ee-submenu-toggle{display:flex;position:absolute;right:0;top:3px;width:42px;height:42px;align-items:center;justify-content:center;border:1px solid #d8dfe1;border-radius:8px;background:#fff;color:#082e52;font:22px/1 sans-serif;}
.ee-menu>li>.ee-submenu-toggle[aria-expanded=true]{background:#e9ece2;transform:rotate(180deg);}
}
/* Keep the BLS application section inside its viewport at desktop widths. */
.ee-v-application{box-sizing:border-box;max-width:100%;margin-inline:0!important;}

/* Board: editorial hierarchy, compact portraits, readable member cards. */
body:has(.ee-x-president) .ee-x-profiles{gap:24px;align-items:stretch}
body:has(.ee-x-president) .ee-x-profile{border-color:#dde4e7;background:#fff;box-shadow:0 5px 22px #082e5205;border-radius:18px}
body:has(.ee-x-president) .ee-x-profile>.wp-block-image{padding:26px 26px 0!important;display:flex;align-items:center;justify-content:center;background:#fff}
body:has(.ee-x-president) .ee-x-profile>.wp-block-image img{width:160px;height:170px;min-height:0;object-fit:contain;object-position:center;background:#f1f3ef;border-radius:12px}
body:has(.ee-x-president) .ee-x-profile-copy{padding:24px 28px 30px}
body:has(.ee-x-president) .ee-x-profile-copy>.ee-eyebrow{color:#ed1725;letter-spacing:.05em;font-size:12px;font-weight:800;margin:0 0 10px}
body:has(.ee-x-president) .ee-x-profile-copy h3{font-size:25px;line-height:1.25;margin:0 0 16px;overflow-wrap:normal}
body:has(.ee-x-president) .ee-x-profile-copy p:not(.ee-eyebrow){font-size:15px;line-height:1.7;margin:9px 0;overflow-wrap:break-word;color:#3c5264}
body:has(.ee-x-president) .ee-x-president{grid-column:1/-1;display:grid;grid-template-columns:230px minmax(0,1fr);background:linear-gradient(120deg,#eef1e7,#fff);border-top:4px solid #082e52}
body:has(.ee-x-president) .ee-x-president>.wp-block-image{padding:30px!important;background:transparent;align-self:start}
body:has(.ee-x-president) .ee-x-president>.wp-block-image img{width:170px;height:225px;background:#fff}
body:has(.ee-x-president) .ee-x-president .ee-x-profile-copy{padding:30px 35px 30px 0}
body:has(.ee-x-president) .ee-x-president h3{font-size:32px}
body:has(.ee-x-president) .ee-x-person-symbol{height:auto;min-height:0;place-items:start;background:transparent;padding:26px 28px 0}
body:has(.ee-x-president) .ee-x-person-symbol .ee-v-icon{width:45px;height:45px;padding:10px;background:#eef1e7;border-radius:12px}
@media(max-width:700px){body:has(.ee-x-president) .ee-x-president{grid-column:auto;grid-template-columns:1fr}body:has(.ee-x-president) .ee-x-president>.wp-block-image{padding:24px 24px 0!important}body:has(.ee-x-president) .ee-x-president .ee-x-profile-copy{padding:24px}body:has(.ee-x-president) .ee-x-president h3{font-size:27px}body:has(.ee-x-president) .ee-x-profile-copy{padding:24px}body:has(.ee-x-president) .ee-x-profiles{grid-template-columns:minmax(0,1fr)}}
