:root {
  --ely-bg: #a8c5b0;
  --ely-text: #123f67;
  --ely-accent: #c6f000;
  --ely-blue: #19a8d7;
  --ely-card: #0b4967;
  --ely-white: #ffffff;
  --ely-border: rgba(18, 63, 103, 0.55);
}

body {
  background: var(--ely-bg);
  color: var(--ely-text);
  font-family: "Century Gothic", "Tw Cen MT", Futura, Arial, sans-serif;
}

body:not(.home) .wp-site-blocks > header,
body:not(.home) .wp-site-blocks > footer {
  display: none !important;
}

a {
  color: var(--ely-text);
}

a:hover {
  color: var(--ely-text);
}

.ely-site-header,
.ely-site-footer {
  padding: 28px 0;
}

.ely-site-header {
  padding: 28px 0 10px;
  border-bottom: 0;
}

.ely-site-footer {
  margin-top: 120px;
  border-top: 0;
}

.ely-site-header .container-ely,
.ely-site-footer .container-ely {
  width: min(calc(100% - 70px), 1180px);
  margin-inline: auto;
}

@media (max-width: 820px) {
  .ely-site-header .container-ely,
  .ely-site-footer .container-ely {
    width: min(calc(100% - 32px), 1180px);
  }

  .ely-site-footer {
    margin-top: 90px;
  }
}

.ely-logo {
  width: 68px;
  height: auto;
  display: block;
}

.ely-main-nav .menu,
.ely-main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.ely-main-nav li {
  display: flex;
  align-items: center;
}

.ely-main-nav li:not(:last-child)::after {
  content: "|";
  margin: 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ely-text);
}

.ely-main-nav a {
  color: var(--ely-text);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.2;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ely-main-nav a:hover {
  text-decoration: underline;
}

.ely-page-section {
  padding: 56px 0;
}

.ely-page-title,
.ely-archive-title,
.ely-single-title {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
  font-weight: 700;
}

.ely-lead {
  font-size: 1.15rem;
  line-height: 1.5;
  max-width: 780px;
}

.ely-card {
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(18, 63, 103, 0.12);
  border-radius: 18px;
  padding: 1.4rem;
  height: 100%;
  backdrop-filter: blur(1px);
}

.ely-card-title {
  font-size: 1.4rem;
  line-height: 1.1;
  margin-bottom: 0.6rem;
  font-weight: 700;
}

.ely-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 24px;
  border-radius: 999px;
  background: var(--ely-accent);
  color: var(--ely-text);
  text-decoration: none;
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: 0;
}

.ely-btn:hover {
  color: var(--ely-text);
  opacity: 0.95;
}

.ely-meta {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: rgba(18, 63, 103, 0.82);
}

.ely-featured-image img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  display: block;
}

.ely-content {
  font-size: 1.05rem;
  line-height: 1.7;
}

.ely-content h2,
.ely-content h3,
.ely-content h4 {
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  line-height: 1.1;
  font-weight: 700;
}

.ely-content p:last-child {
  margin-bottom: 0;
}

.ely-post-grid-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1.5 / 1;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 1rem;
}

.ely-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  margin-right: 8px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ely-text);
  border: 1px solid rgba(18, 63, 103, 0.25);
  background: rgba(255,255,255,0.15);
}

.ely-pagination .current {
  background: var(--ely-accent);
  border-color: var(--ely-accent);
  font-weight: 700;
}

.ely-sidebar-title {
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.ely-empty {
  padding: 2rem;
  border: 1px dashed rgba(18, 63, 103, 0.35);
  border-radius: 16px;
}

@media (max-width: 991.98px) {
  .ely-page-section {
    padding: 40px 0;
  }

  .ely-site-footer {
    margin-top: 56px;
  }
}
.ely-team-page {
  padding-top: 12px;
}

.ely-team-hero {
  margin-bottom: 52px;
}

.ely-team-title {
  font-size: clamp(3.6rem, 8vw, 6.2rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  font-weight: 700;
  color: var(--ely-text);
}

.ely-team-group-image img {
  display: block;
  width: 100%;
  max-width: 760px;
  height: auto;
}

.ely-team-grid {
  margin-top: 8px;
}

.ely-team-card {
  height: 100%;
  border: 2px solid rgba(18, 63, 103, 0.9);
  border-radius: 24px;
  padding: 26px 24px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: transparent;
}

.ely-team-card-content {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ely-text);
}

.ely-team-card-content p {
  margin: 0;
}

.ely-team-card-logo {
  float: left;
  width: 120px;
  max-width: 38%;
  height: auto;
  margin: 0 18px 12px 0;
  display: block;
}

.ely-team-socials {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding-top: 14px;
}

.ely-team-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ely-text);
  text-decoration: none;
  background: transparent;
  border: 0;
  padding: 0;
  width: auto;
  height: auto;
  margin: 0;
}

.ely-team-socials a:hover {
  color: var(--ely-text);
  opacity: 0.75;
}

.ely-social-icon {
  font-size: 0.95rem;
  line-height: 1;
  text-transform: lowercase;
  font-weight: 700;
}

@media (max-width: 991.98px) {
  .ely-team-hero {
    margin-bottom: 40px;
  }

  .ely-team-group-image img {
    max-width: 620px;
  }

  .ely-team-card {
    min-height: auto;
  }
}

@media (max-width: 767.98px) {
  .ely-team-page {
    padding-top: 4px;
  }

  .ely-team-title {
    font-size: clamp(2.8rem, 14vw, 4.6rem);
    margin-bottom: 1.25rem;
  }

  .ely-team-group-image img {
    max-width: 100%;
  }

  .ely-team-card {
    padding: 22px 18px 16px;
    border-radius: 18px;
  }

  .ely-team-card-logo {
    width: 96px;
    margin: 0 14px 10px 0;
  }

  .ely-team-socials {
    gap: 12px;
    margin-top: 14px;
    padding-top: 10px;
  }
}