:root {
  --acoge-forest: #1B4D3E;
  --acoge-cartographic: #003366;
  --acoge-terracotta: #A0522D;
  --acoge-gold: #D4AF37;
  --acoge-ivory: #F4F6F9;
  --acoge-text: #102820;
  --acoge-heading-font: "Merriweather", Georgia, serif;
  --acoge-body-font: "Inter", sans-serif;
}

body {
  color: var(--acoge-text);
  background: var(--acoge-ivory);
  font-family: var(--acoge-body-font);
}

h1,
h2,
h3,
h4,
h5,
h6,
.wp-block-site-title {
  font-family: var(--acoge-heading-font);
}

.acoge-topbar {
  background: var(--acoge-forest);
  color: #d9e9df;
}

.acoge-topbar p {
  margin: 0;
}

.acoge-header {
  background: #ffffff;
  border-bottom: 1px solid rgba(16, 40, 32, 0.08);
  max-width: 100%;
  position: relative;
  z-index: 90;
  transition: padding 0.25s ease, box-shadow 0.25s ease;
}

.acoge-header .wp-block-columns.are-vertically-aligned-center {
  width: 100%;
  max-width: 100%;
}

.acoge-header .wp-block-navigation-item__content {
  color: #17372d;
  font-weight: 600;
}

.acoge-header .wp-block-site-logo img,
.acoge-header .custom-logo {
  max-height: 100px;
  width: auto;
  height: auto;
  transition: max-height 0.25s ease;
}

.acoge-header.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

body.admin-bar .acoge-header.is-sticky {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .acoge-header.is-sticky {
    top: 46px;
  }
}

.acoge-header.is-sticky .wp-block-site-logo img,
.acoge-header.is-sticky .custom-logo {
  max-height: 60px;
}

.acoge-hero-cover .wp-block-cover__background {
  background: linear-gradient(130deg, rgba(0, 22, 41, 0.75), rgba(14, 52, 43, 0.45));
}

.acoge-hero-wrap {
  margin-block-start: 0;
}

.acoge-hero-content {
  color: #ffffff;
  padding-top: clamp(3rem, 8vw, 8rem);
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

.acoge-hero-content h1,
.acoge-hero-content p {
  max-width: 16ch;
}

.acoge-hero-content p {
  max-width: 48ch;
}

.acoge-kicker {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--acoge-gold);
  margin-bottom: 1rem;
}

.acoge-kicker-orange {
  color: var(--acoge-terracotta);
}

.acoge-presidency {
  background: radial-gradient(circle at 90% 45%, rgba(212, 175, 55, 0.12), transparent 35%), #fff;
}

.acoge-president-photo img {
  border-radius: 14px;
  width: 100%;
  object-fit: cover;
  box-shadow: 0 14px 34px rgba(2, 27, 38, 0.14);
}

.acoge-impact {
  background: linear-gradient(180deg, #0f4b3d, #123f34);
  color: #ffffff;
}

.acoge-event {
  background: #ffffff;
}

.acoge-event-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(7, 29, 50, 0.15);
}

.acoge-event-copy {
  color: #ffffff;
  background: linear-gradient(140deg, #072f53, #0c3f6f);
  padding: clamp(1.2rem, 3vw, 2.2rem);
}

.acoge-event-image img {
  min-height: 100%;
  width: 100%;
  object-fit: cover;
}

.acoge-explore {
  background: var(--acoge-ivory);
}

.acoge-explore .wp-block-column {
  padding: 1.1rem;
  border-top: 3px solid rgba(0, 51, 102, 0.2);
  background: #ffffff;
}

.acoge-footer-main {
  background: linear-gradient(110deg, #083b30, #0f4d3f);
  color: #e8f4ee;
}

.acoge-footer-main a {
  color: #f3d26b;
}

.acoge-footer-bottom {
  background: #6e371f;
  color: #f8f4ee;
}

.geographers-counters {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.geographers-counter-card {
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  padding: 1rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

.geographers-counter-value {
  display: block;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.6rem;
}

.geographers-counter-label {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
}

.geographers-counter-description {
  margin-top: 0.5rem;
  opacity: 0.82;
  font-size: 0.85rem;
}

.geographers-timeline {
  border-left: 4px solid var(--acoge-gold);
  padding-left: 1.4rem;
}

.geographers-timeline-item {
  margin-bottom: 1.2rem;
  position: relative;
}

.geographers-timeline-item::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--acoge-cartographic);
  position: absolute;
  left: -1.75rem;
  top: 0.25rem;
}

.geographers-timeline-year {
  margin: 0;
  color: var(--acoge-cartographic);
  font-weight: 700;
}

.geographers-membership-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.geographers-membership-table th,
.geographers-membership-table td {
  border: 1px solid rgba(16, 40, 32, 0.12);
  padding: 0.8rem;
  text-align: left;
  vertical-align: top;
}

.geographers-membership-table th {
  background: rgba(27, 77, 62, 0.09);
}

.geographers-accordion details {
  border: 1px solid rgba(0, 51, 102, 0.2);
  border-radius: 6px;
  margin-bottom: 0.7rem;
  overflow: hidden;
}

.geographers-accordion summary {
  cursor: pointer;
  padding: 0.9rem 1rem;
  background: rgba(0, 51, 102, 0.06);
  font-weight: 600;
}

.geographers-accordion .content {
  padding: 1rem;
}

@media (max-width: 960px) {
  .geographers-counters {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .acoge-header .wp-block-columns,
  .acoge-topbar .wp-block-columns {
    gap: 0.5rem;
  }

  .acoge-hero-content h1 {
    max-width: 12ch;
  }
}

@media (max-width: 640px) {
  .geographers-counters {
    grid-template-columns: 1fr;
  }

  .acoge-topbar p,
  .acoge-topbar .has-text-align-right {
    text-align: left !important;
  }
}
