/*
Theme Name: Goldmann Accounting
Theme URI: http://goldmannaccounting.hu/
Author: Explicit Studio
Description: Goldmann Accounting Kft. — könyvelés és adótanácsadás. Kétnyelvű (HU/EN) céges téma szerkeszthető szolgáltatás-, csapat-, folyamat- és publikációs blokkokkal, videós hero szekcióval, betöltési és scroll animációkkal.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.6
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: goldmann
Tags: business, accounting, two-columns, custom-logo, custom-menu, editor-style, translation-ready, block-styles
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */

:root {
  --gm-navy: rgb(8, 18, 49);
  --gm-navy-deep: rgb(7, 17, 45);
  --gm-navy-soft: rgb(16, 27, 59);
  --gm-gold: rgb(168, 130, 60);
  --gm-gold-dark: rgb(131, 102, 47);
  --gm-cream: rgb(247, 245, 241);
  --gm-blue: rgb(233, 237, 251);
  --gm-blue-dark: rgb(211, 220, 248);
  --gm-grey: rgb(107, 107, 107);
  --gm-grey-soft: rgb(102, 102, 102);
  --gm-white: rgb(255, 255, 255);
  --gm-rule: rgba(15, 42, 46, 0.14);
  --gm-rule-light: rgba(255, 255, 255, 0.102);
  --gm-pad-x: clamp(20px, 4.4vw, 64px);
  --gm-pad-y: clamp(32px, 3.4vw, 48px);
  --gm-body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --gm-display: Mattone, "Plus Jakarta Sans", Georgia, serif;
  --gm-ease: cubic-bezier(.16, 1, .3, 1);
}

/* ==========================================================================
   2. Fonts
   ========================================================================== */

@font-face {
  font-family: Mattone;
  src: url(assets/fonts/Mattone-Regular.woff2) format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Mattone;
  src: url(assets/fonts/Mattone-Bold.woff2) format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Mattone;
  src: url(assets/fonts/Mattone-Black.woff2) format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   3. Base
   ========================================================================== */

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--gm-white);
  overflow-x: hidden;
  font-family: var(--gm-body);
  font-size: 16px;
  line-height: 1.4;
  color: var(--gm-navy);
  -webkit-font-smoothing: antialiased;
}

img,
video,
svg { max-width: 100%; }

a {
  color: var(--gm-gold);
  text-decoration: none;
  transition: color .2s ease;
}
a:hover,
a:focus { color: var(--gm-gold-dark); }

p { margin: 0; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 400;
}

.gm-site {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.gm-main {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* Every band spans the full viewport width, whatever the host page wraps it in. */
.gm-header,
.gm-footer,
.gm-hero,
.gm-stats,
.gm-section,
.gm-reference,
.gm-contact-bar,
.gm-filters,
.gm-media-band {
  width: 100%;
  max-width: 100%;
  flex-shrink: 0;
}

.gm-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100000;
  padding: 12px 24px;
  background: var(--gm-gold);
  color: var(--gm-white);
  font-weight: 700;
}
.gm-skip-link:focus {
  left: 0;
  color: var(--gm-white);
}

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

/* ==========================================================================
   4. Section shells
   ========================================================================== */

.gm-section {
  width: 100%;
  padding: var(--gm-pad-y) var(--gm-pad-x);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 36px;
}

.gm-section--cream { background: var(--gm-cream); }
.gm-section--navy { background: var(--gm-navy); }
.gm-section--navy-deep { background: var(--gm-navy-deep); }
.gm-section--gold { background: var(--gm-gold); }
.gm-section--blue { background: var(--gm-blue); }
.gm-section--center { align-items: center; }
.gm-section--ruled { border: 1.57px solid var(--gm-rule); }
.gm-section--outlined { border: 1px solid var(--gm-grey); }

/* ==========================================================================
   5. Type roles
   ========================================================================== */

.gm-kicker {
  align-self: stretch;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.21;
  letter-spacing: 1.71px;
  text-transform: uppercase;
  color: var(--gm-gold);
}
.gm-kicker--tight { letter-spacing: 1.5px; }
.gm-kicker--wide {
  font-weight: 600;
  letter-spacing: 3.47px;
}
.gm-kicker--navy { color: var(--gm-navy); }
.gm-kicker--center { text-align: center; }

.gm-h1 {
  font-family: var(--gm-display);
  font-weight: 400;
  font-size: clamp(32px, 4.45vw, 64px);
  line-height: 1.2;
  text-wrap: balance;
  color: var(--gm-white);
}
.gm-h1--navy { color: var(--gm-navy-soft); }
.gm-h1--page {
  font-size: clamp(30px, 3.35vw, 48px);
  max-width: 760px;
}

.gm-h2 {
  font-family: var(--gm-display);
  font-weight: 400;
  font-size: clamp(30px, 3.35vw, 48px);
  line-height: 1.2;
  color: var(--gm-navy-soft);
}
.gm-h2--white { color: var(--gm-white); }
.gm-h2--navy { color: var(--gm-navy); }

.gm-lede {
  font-size: 16px;
  line-height: 1.4;
  color: var(--gm-grey);
  text-wrap: pretty;
}
.gm-lede--white { color: rgba(255, 255, 255, .7); }
.gm-lede--center { text-align: center; }
.gm-lede--pre { white-space: pre-line; }

.gm-label {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gm-navy);
}
.gm-label--bold { font-weight: 700; }

.gm-body {
  font-size: 16px;
  line-height: 1.4;
  color: var(--gm-grey);
}

/* ==========================================================================
   6. Buttons
   ========================================================================== */

.gm-btn {
  height: 43px;
  display: inline-flex;
  gap: 10px;
  padding: 12px 32px;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  line-height: 100%;
  white-space: nowrap;
  border: 0;
  cursor: pointer;
  font-family: var(--gm-body);
  transition: background .2s ease, color .2s ease, transform .1s ease;
}
.gm-btn--gold {
  background: var(--gm-gold);
  color: var(--gm-white);
}
.gm-btn--gold:hover,
.gm-btn--gold:focus {
  background: var(--gm-gold-dark);
  color: var(--gm-white);
}
.gm-btn--blue {
  background: var(--gm-blue);
  color: var(--gm-navy);
}
.gm-btn--blue:hover,
.gm-btn--blue:focus {
  background: var(--gm-blue-dark);
  color: var(--gm-navy);
}
.gm-btn--outline {
  height: 47px;
  background: transparent;
  color: var(--gm-gold);
  box-shadow: inset 0 0 0 2px var(--gm-gold);
}
.gm-btn--outline:hover,
.gm-btn--outline:focus { background: rgba(168, 130, 60, .08); }
.gm-btn:active { transform: scale(.97); }
.gm-btn[disabled],
.gm-btn[aria-disabled="true"] {
  background: rgba(168, 130, 60, .45);
  cursor: not-allowed;
}

.gm-textlink {
  font-weight: 600;
  font-size: 15px;
  line-height: 100%;
  white-space: nowrap;
  color: var(--gm-gold);
}
.gm-textlink--arrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 16px;
  font-weight: 700;
}
.gm-textlink--arrow:hover { color: var(--gm-white); }

/* ==========================================================================
   7. Header
   ========================================================================== */

.gm-header {
  width: 100%;
  background: var(--gm-navy-deep);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px clamp(16px, 3vw, 112px);
  padding: 16px var(--gm-pad-x);
  align-items: center;
}

.gm-header__logo {
  flex-shrink: 0;
  display: block;
}
.gm-header__logo img {
  width: 183.191px;
  height: auto;
  display: block;
}

.gm-header__bar {
  min-height: 43px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 14px clamp(14px, 2.5vw, 36px);
  justify-content: flex-end;
  align-items: center;
  flex: 1 1 320px;
}

.gm-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 14px clamp(14px, 2.5vw, 36px);
  align-items: center;
}
.gm-nav a {
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  font-size: 16px;
  line-height: 100%;
  white-space: nowrap;
  color: var(--gm-cream);
}
.gm-nav a:hover,
.gm-nav a:focus,
.gm-nav .current-menu-item > a,
.gm-nav .current_page_item > a { color: var(--gm-gold); }
.gm-nav li { position: relative; }

/* Dropdowns */

.gm-nav .sub-menu,
.gm-nav .children {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  z-index: 60;
  min-width: 240px;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 8px 0;
  background: var(--gm-navy);
  box-shadow: 0 18px 44px -12px rgba(0, 0, 0, .5);
  border-top: 2px solid var(--gm-gold);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .25s var(--gm-ease), visibility .2s;
}
.gm-nav li:hover > .sub-menu,
.gm-nav li:hover > .children,
.gm-nav li.is-open > .sub-menu,
.gm-nav li.is-open > .children {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.gm-nav .sub-menu a,
.gm-nav .children a {
  justify-content: flex-start;
  padding: 10px 20px;
  font-weight: 500;
  white-space: normal;
}
.gm-nav .sub-menu .sub-menu,
.gm-nav .children .children {
  top: 0;
  left: 100%;
}

.gm-submenu-toggle {
  position: absolute;
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gm-submenu-toggle__icon {
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--gm-cream);
  border-bottom: 2px solid var(--gm-cream);
  transform: rotate(45deg) translateY(-1px);
  transition: transform .25s var(--gm-ease), border-color .2s ease;
}
.gm-submenu-toggle[aria-expanded="true"] .gm-submenu-toggle__icon {
  transform: rotate(225deg) translateY(-1px);
  border-color: var(--gm-gold);
}

.gm-lang {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}
.gm-lang__item {
  font-weight: 600;
  font-size: 16px;
  line-height: 100%;
  color: rgb(199, 199, 199);
}
.gm-lang__item:hover { color: var(--gm-gold); }
.gm-lang__item.is-active { color: var(--gm-gold); }

/* Mobile menu button */

.gm-burger {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.gm-burger__lines,
.gm-burger__lines::before,
.gm-burger__lines::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gm-cream);
  transition: transform .3s var(--gm-ease), opacity .2s ease;
}
.gm-burger__lines::before { transform: translateY(-7px); }
.gm-burger__lines::after { transform: translateY(5px); }
.gm-burger[aria-expanded="true"] .gm-burger__lines { background: transparent; }
.gm-burger[aria-expanded="true"] .gm-burger__lines::before { transform: translateY(0) rotate(45deg); }
.gm-burger[aria-expanded="true"] .gm-burger__lines::after { transform: translateY(-2px) rotate(-45deg); }

@media (max-width: 1024px) {
  .gm-header {
    flex-wrap: nowrap;
    gap: 16px;
  }
  .gm-burger { display: flex; }
  .gm-header__bar {
    flex: 1 1 100%;
    order: 3;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .4s var(--gm-ease), opacity .3s ease, padding .3s ease;
  }
  .gm-header__bar.is-open {
    max-height: 70vh;
    overflow-y: auto;
    opacity: 1;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .gm-nav,
  .gm-nav ul {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .gm-nav a { font-size: 18px; }
  .gm-header__bar .gm-btn { width: 100%; }
  .gm-lang { padding-bottom: 8px; }

  /* Dropdowns become inline accordions on mobile. */
  .gm-nav .sub-menu,
  .gm-nav .children {
    position: static;
    min-width: 0;
    width: 100%;
    padding: 8px 0 0 16px;
    background: transparent;
    box-shadow: none;
    border-top: 0;
    border-left: 2px solid rgba(168, 130, 60, .5);
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .gm-nav li.is-open > .sub-menu,
  .gm-nav li.is-open > .children { display: flex; }
  .gm-nav .sub-menu a,
  .gm-nav .children a {
    padding: 8px 0;
    font-size: 16px;
  }
  .gm-submenu-toggle {
    position: static;
    transform: none;
    width: 44px;
    height: 44px;
    margin-left: 4px;
  }
  .gm-nav .menu-item-has-children,
  .gm-nav .page_item_has_children {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
  }
}

/* ==========================================================================
   8. Hero
   ========================================================================== */

.gm-hero {
  width: 100%;
  overflow: hidden;
  background: var(--gm-navy-deep);
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding: 0 clamp(16px, 2vw, 29px) var(--gm-pad-y);
  align-items: center;
}

.gm-hero__media {
  width: 100%;
  height: clamp(200px, 29vw, 420px);
  overflow: hidden;
  background: var(--gm-navy-deep);
  box-shadow: 0 8px 32px -4px rgba(0, 0, 0, .08);
}
.gm-hero__media video,
.gm-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gm-hero__copy {
  width: min(792px, 100%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: center;
  padding: clamp(8px, 2vw, 24px) 0;
  text-align: center;
}
.gm-hero__kicker {
  width: 100%;
  font-weight: 700;
  font-size: clamp(13px, 1.1vw, 16px);
  line-height: 1.2;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gm-gold);
}
.gm-hero__lede {
  width: min(420px, 100%);
  text-align: center;
  color: rgba(255, 255, 255, .7);
  text-wrap: pretty;
}
.gm-hero__actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  padding: 16px 0;
  justify-content: center;
  align-items: center;
}

.gm-media-band {
  width: 100%;
  height: clamp(280px, 55vw, 796px);
  border-radius: 8px;
  overflow: hidden;
  background: var(--gm-navy-deep);
}
.gm-media-band video,
.gm-media-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   9. Stats
   ========================================================================== */

.gm-stats {
  width: 100%;
  background: var(--gm-gold);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(max(220px, 22%), 1fr));
  gap: 24px 0;
  padding: 36px var(--gm-pad-x);
  align-items: center;
}
.gm-stat {
  min-height: 108px;
  border-left: 2px solid var(--gm-white);
  padding: 0 14px 0 26.6px;
}
.gm-stat__value {
  font-weight: 600;
  font-size: clamp(30px, 2.7vw, 39.2px);
  line-height: 1.21;
  letter-spacing: -1.176px;
  color: var(--gm-white);
}
.gm-stat__label {
  max-width: 217px;
  margin-top: 5px;
  font-size: clamp(18px, 1.55vw, 22.4px);
  line-height: 1.33;
  color: var(--gm-white);
}

/* ==========================================================================
   10. Service cards
   ========================================================================== */

.gm-cards {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(max(280px, 30%), 1fr));
  gap: 40px;
  padding: 0 clamp(0px, 7vw, 112px);
}

.gm-card {
  min-height: 339px;
  background: var(--gm-white);
  border: 1px solid var(--gm-gold);
  border-top: 3px solid var(--gm-gold);
  box-shadow: 0 8px 24px 0 rgba(16, 27, 59, .0392);
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
  align-items: flex-start;
}
.gm-card__head {
  min-height: 76px;
  align-self: stretch;
}
.gm-card__title {
  font-family: var(--gm-display);
  font-weight: 400;
  font-size: 24px;
  line-height: 1;
  color: var(--gm-navy-soft);
  white-space: pre-line;
}
.gm-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-grow: 1;
  align-self: stretch;
}
.gm-card__list li {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  font-size: 15px;
  line-height: 1.4;
  color: var(--gm-grey);
}
.gm-card__bullet {
  width: 3px;
  height: 6px;
  margin: 0 6.5px;
  flex-shrink: 0;
}

/* ==========================================================================
   11. Split columns (values, segments)
   ========================================================================== */

.gm-split {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
}
.gm-split__title {
  flex: 1 1 380px;
  max-width: 487px;
}
.gm-split__text {
  flex: 1 1 380px;
  max-width: 529px;
}

.gm-columns {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(max(240px, 30%), 1fr));
  gap: 24px 40px;
  align-self: stretch;
  padding: 30px 0;
}
.gm-columns--four {
  grid-template-columns: repeat(auto-fill, minmax(max(240px, 22%), 1fr));
  gap: 24px 32px;
  padding: 20px 0;
}
.gm-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.gm-column + .gm-column {
  padding-left: 24px;
  border-left: 1px solid var(--gm-rule);
}

.gm-rule {
  height: 2px;
  background: var(--gm-rule);
  align-self: stretch;
  border: 0;
  margin: 0;
  width: 100%;
}

.gm-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  align-self: stretch;
}

/* ==========================================================================
   12. Reference
   ========================================================================== */

.gm-reference {
  width: 100%;
  background: var(--gm-navy);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: clamp(32px, 7.4vw, 106px);
  padding: clamp(40px, 3.4vw, 48px) var(--gm-pad-x);
  align-items: center;
}
.gm-reference__aside {
  flex: 0 1 322px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: flex-start;
}
.gm-reference__photo {
  width: 100%;
  height: clamp(260px, 22vw, 322px);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.gm-reference__byline {
  font-weight: 600;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 1.71px;
  text-transform: uppercase;
  color: var(--gm-cream);
  white-space: pre-line;
}
.gm-reference__body {
  flex: 1 1 420px;
  max-width: 755px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: flex-start;
}
.gm-reference__quote {
  align-self: stretch;
  font-weight: 500;
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.4;
  letter-spacing: -.44px;
  color: var(--gm-white);
  text-wrap: pretty;
}

/* ==========================================================================
   13. Process
   ========================================================================== */

.gm-steps {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
}
.gm-step {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 22px 0;
  align-items: flex-start;
  align-self: stretch;
}
.gm-step__no {
  flex: 0 0 auto;
  width: clamp(48px, 14.6vw, 210px);
  font-weight: 600;
  font-size: 19.26px;
  line-height: 100%;
  letter-spacing: 3.47px;
  color: var(--gm-gold);
}
.gm-step__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  flex: 1 1 260px;
}
.gm-step__title {
  align-self: stretch;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gm-gold);
}

/* ==========================================================================
   14. Service detail rows
   ========================================================================== */

.gm-detail {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: stretch;
}
.gm-detail__media {
  flex: 1 1 380px;
  min-height: 277px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.gm-detail__body {
  flex: 1 1 460px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  align-items: flex-start;
}
.gm-detail__frame {
  border: 1px solid var(--gm-gold);
  display: flex;
  flex-direction: row;
  gap: 10px;
  padding: 24px 16px 24px 8px;
  align-items: center;
  align-self: stretch;
  flex-grow: 1;
}
.gm-detail__text {
  flex-grow: 1;
  font-size: 16px;
  line-height: 1.4;
  color: var(--gm-white);
  text-wrap: pretty;
}

/* ==========================================================================
   15. Team
   ========================================================================== */

.gm-team {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(max(260px, 22%), 1fr));
  gap: 20px;
  align-self: stretch;
}
.gm-member {
  position: relative;
  min-height: clamp(380px, 33vw, 480px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
}
.gm-member::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 18, 49, 0) 40%, rgba(8, 18, 49, .902) 95%);
}
.gm-member__body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  align-self: stretch;
}
.gm-member__name {
  font-weight: 700;
  font-size: 22px;
  line-height: 100%;
  color: var(--gm-white);
}
.gm-member__role {
  font-weight: 700;
  font-size: 12px;
  line-height: 100%;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gm-gold);
}
.gm-member__rule {
  height: 2px;
  background: rgba(255, 255, 255, .1412);
  align-self: stretch;
}
.gm-member__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 11px;
  line-height: 100%;
  color: var(--gm-white);
}
.gm-member__meta span:first-child { opacity: .9; }

/* ==========================================================================
   16. Insights / articles
   ========================================================================== */

.gm-filters {
  width: 100%;
  background: var(--gm-cream);
  border: 1px solid var(--gm-rule-light);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
  padding: 36px var(--gm-pad-x);
  align-items: center;
}

.gm-posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(max(320px, 45%), 1fr));
  gap: 24px;
  align-self: stretch;
}
.gm-post {
  background: var(--gm-navy);
  box-shadow: inset 0 0 0 2px var(--gm-rule-light);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  align-items: flex-start;
}
.gm-post__media {
  position: relative;
  height: clamp(240px, 26.5vw, 383px);
  align-self: stretch;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.gm-post__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 18, 49, 0) 40%, rgba(8, 18, 49, .902) 95%);
}
.gm-post__cat {
  font-weight: 700;
  font-size: 12px;
  line-height: 100%;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gm-gold);
}
.gm-post__title {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  color: var(--gm-white);
}
.gm-post__excerpt {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .7);
}

.gm-archive-cta {
  background: var(--gm-gold);
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px;
  justify-content: center;
  align-items: center;
  align-self: stretch;
}
.gm-archive-cta__title {
  align-self: stretch;
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  text-align: center;
  color: var(--gm-white);
}

.gm-feature {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: clamp(32px, 4.4vw, 64px);
  align-items: flex-start;
  align-self: stretch;
}
.gm-feature__body {
  flex: 1 1 480px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.gm-feature__title {
  font-weight: 700;
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 1.2;
  color: var(--gm-white);
}
.gm-feature__text {
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .75);
}
.gm-feature__aside {
  flex: 0 1 380px;
  background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .1);
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px;
  align-items: flex-start;
}
.gm-feature__aside-title {
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  color: var(--gm-white);
}
.gm-feature__aside-text {
  font-size: 14px;
  line-height: 20px;
  color: rgba(255, 255, 255, .7);
}
.gm-feature__aside-rule {
  height: 2px;
  background: rgba(255, 255, 255, .15);
  align-self: stretch;
}

/* ==========================================================================
   17. Contact
   ========================================================================== */

.gm-contact-bar {
  width: 100%;
  background: var(--gm-navy-deep);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px clamp(32px, 14vw, 202px);
  padding: var(--gm-pad-y) var(--gm-pad-x);
  align-items: flex-start;
}
.gm-contact-bar__label {
  flex: 0 0 auto;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 1.5px;
  color: var(--gm-white);
}
.gm-contact-bar__data {
  font-weight: 300;
  font-size: 15px;
  line-height: 1.8;
  color: var(--gm-cream);
}
.gm-contact-bar__data a { color: var(--gm-cream); }
.gm-contact-bar__data a:hover { color: var(--gm-gold); }

.gm-form {
  width: min(680px, 100%);
  background: var(--gm-white);
  padding: 38px clamp(24px, 3vw, 42px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 35px 33px;
}
.gm-field {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.gm-field--wide { grid-column: 1 / -1; }
.gm-field label {
  align-self: stretch;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.21;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gm-gold);
}
.gm-field input,
.gm-field textarea {
  align-self: stretch;
  border: 0;
  border-bottom: 1px solid var(--gm-rule);
  background: transparent;
  outline: none;
  font-family: var(--gm-body);
  font-size: 16px;
  line-height: 1.4;
  color: var(--gm-navy-soft);
  transition: border-color .2s ease;
}
.gm-field input { height: 30px; }
.gm-field textarea {
  min-height: 96px;
  resize: vertical;
}
.gm-field input:focus,
.gm-field textarea:focus,
.gm-field input:not(:placeholder-shown),
.gm-field textarea:not(:placeholder-shown) {
  border-bottom: 2px solid var(--gm-gold);
}
.gm-form__actions {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.gm-form__notice {
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  color: var(--gm-grey-soft);
}
.gm-form__notice--error { color: #b3261e; }

/* ==========================================================================
   18. Privacy / long-form
   ========================================================================== */

.gm-legal {
  width: 100%;
  max-width: 880px;
  display: flex;
  flex-direction: column;
}
.gm-legal__item {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(20px, 2.4vw, 28px) 0;
  border-top: 2px solid var(--gm-rule);
}
.gm-legal__head {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: baseline;
}
.gm-legal__no {
  flex: 0 0 auto;
  width: 36px;
  font-weight: 600;
  font-size: clamp(15px, 1.3vw, 19.26px);
  line-height: 1.2;
  letter-spacing: 2px;
  color: var(--gm-gold);
}
.gm-legal__title {
  flex: 1 1 auto;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gm-navy);
}
.gm-legal__body {
  padding-left: 52px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gm-legal__body p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--gm-grey);
  text-wrap: pretty;
}
.gm-legal__body ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.gm-legal__body ul li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 16px;
  line-height: 1.55;
  color: var(--gm-grey);
}
.gm-legal__body ul li::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  background: var(--gm-gold);
  transform: translateY(-2px);
}
.gm-legal__cards {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 4px;
}
.gm-legal__card {
  flex: 1 1 300px;
  background: var(--gm-white);
  border-top: 3px solid var(--gm-gold);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}
.gm-legal__card-name {
  font-family: var(--gm-display);
  font-size: 20px;
  line-height: 1.2;
  color: var(--gm-navy-soft);
}
.gm-legal__card span {
  font-size: 15px;
  line-height: 1.5;
  color: var(--gm-grey);
}

/* Editor content inside a page (WordPress block output) */
.gm-entry {
  width: 100%;
  max-width: 880px;
}
.gm-entry p,
.gm-entry ul,
.gm-entry ol {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--gm-grey);
}
.gm-entry h2,
.gm-entry h3 {
  margin: 32px 0 12px;
  font-family: var(--gm-display);
  color: var(--gm-navy-soft);
}
.gm-entry h2 { font-size: clamp(24px, 2.4vw, 32px); }
.gm-entry h3 { font-size: 20px; }
.gm-entry img { height: auto; }
.gm-entry blockquote {
  margin: 24px 0;
  padding-left: 20px;
  border-left: 3px solid var(--gm-gold);
  font-size: 18px;
  color: var(--gm-navy);
}
.alignwide { max-width: 1100px; }
.alignfull { max-width: none; }
.aligncenter {
  display: block;
  margin-inline: auto;
}
.wp-caption-text,
.gm-entry figcaption {
  font-size: 13px;
  color: var(--gm-grey);
}

.gm-pagination {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  font-weight: 600;
}
.gm-pagination .page-numbers {
  padding: 8px 14px;
  box-shadow: inset 0 0 0 2px var(--gm-gold);
  color: var(--gm-gold);
}
.gm-pagination .page-numbers.current {
  background: var(--gm-gold);
  color: var(--gm-white);
}

/* ==========================================================================
   19. Footer
   ========================================================================== */

.gm-footer {
  width: 100%;
  background: var(--gm-navy);
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: clamp(40px, 3.4vw, 48px) var(--gm-pad-x);
  justify-content: center;
  align-items: center;
}
.gm-footer__top {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  align-self: stretch;
}
.gm-footer__logo img {
  width: 257.05px;
  height: auto;
  display: block;
}
.gm-footer__menus {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px 70px;
  align-items: flex-start;
}
.gm-footer__col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.gm-footer__heading {
  align-self: stretch;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}
.gm-footer__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  align-self: stretch;
}
.gm-footer__col a {
  font-size: 16px;
  line-height: 1.4;
  color: rgba(255, 255, 255, .7);
}
.gm-footer__col a:hover { color: var(--gm-gold); }

.gm-footer__legal {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px 30px;
  align-items: center;
  opacity: .6;
  align-self: stretch;
}
.gm-footer__legal span,
.gm-footer__legal a {
  opacity: .5;
  font-weight: 500;
  font-size: 17.230768px;
  line-height: 22.154px;
  color: var(--gm-white);
}
.gm-footer__legal a:hover { color: var(--gm-gold); }
.gm-footer__sep {
  width: 1.231px;
  height: 29.154px;
  opacity: .2;
  border-radius: 9.846154px;
  background: var(--gm-white);
  flex-shrink: 0;
}

.gm-footer__credit {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px 30px;
  justify-content: space-between;
  align-items: center;
  opacity: .6;
  border: 1px solid rgba(255, 255, 255, .6);
  padding: 20px 16px;
  align-self: stretch;
}
.gm-footer__credit-text {
  flex: 1 1 320px;
  opacity: .5;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  color: var(--gm-white);
}
.gm-footer__credit-logos {
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
.gm-footer__credit-logos img {
  width: auto;
  display: block;
}
.gm-footer__credit-logos img:first-child { height: 60px; }
.gm-footer__credit-logos img:last-child { height: 44px; }

/* ==========================================================================
   19b. Cookie consent
   ========================================================================== */

.gm-cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9998;
  display: flex;
  justify-content: center;
  padding: clamp(12px, 2vw, 24px);
  pointer-events: none;
}

.gm-cookie__panel {
  width: min(880px, 100%);
  background: var(--gm-navy);
  border-top: 3px solid var(--gm-gold);
  box-shadow: 0 24px 64px -12px rgba(0, 0, 0, .45);
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(20px, 2.4vw, 32px);
  pointer-events: auto;
  transform: translateY(calc(100% + 40px));
  opacity: 0;
  transition: transform .55s var(--gm-ease), opacity .55s ease;
}
.gm-cookie.is-open .gm-cookie__panel {
  transform: translateY(0);
  opacity: 1;
}

.gm-cookie__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gm-cookie__title {
  font-family: var(--gm-display);
  font-weight: 400;
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.2;
  color: var(--gm-white);
}
.gm-cookie__text {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .72);
  text-wrap: pretty;
}
.gm-cookie__text a {
  color: var(--gm-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.gm-cookie__text a:hover { color: var(--gm-white); }

.gm-cookie__actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
}
.gm-cookie__toggle {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: var(--gm-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gm-gold);
  transition: color .2s ease;
}
.gm-cookie__toggle:hover { color: var(--gm-white); }

.gm-cookie__details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 20px;
  border-top: 2px solid rgba(255, 255, 255, .14);
}
.gm-cookie__details[hidden] { display: none; }

.gm-cookie__option {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
}
.gm-cookie__option input {
  margin: 2px 0 0;
  width: 18px;
  height: 18px;
  accent-color: var(--gm-gold);
  flex-shrink: 0;
}
.gm-cookie__option span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.gm-cookie__option strong {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gm-white);
}
.gm-cookie__option em {
  font-style: normal;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .65);
}
.gm-cookie__details .gm-btn { align-self: flex-start; }

@media (max-width: 600px) {
  .gm-cookie__actions .gm-btn { flex: 1 1 100%; }
}

@media print {
  .gm-cookie { display: none !important; }
}

/* ==========================================================================
   20. Motion
   ========================================================================== */

.gm-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--gm-navy);
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  justify-content: center;
  transition: transform 1s var(--gm-ease);
}
.gm-loader.is-done { transform: translateY(-100%); }
.gm-loader__logo {
  width: 183px;
  height: auto;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .8s ease, transform .8s var(--gm-ease);
}
.gm-loader.is-ready .gm-loader__logo {
  opacity: 1;
  transform: translateY(0);
}
.gm-loader__bar {
  width: min(240px, 60vw);
  height: 2px;
  background: rgba(255, 255, 255, .16);
  overflow: hidden;
}
.gm-loader__fill {
  width: 0;
  height: 100%;
  background: var(--gm-gold);
  transition: width 1.2s var(--gm-ease);
}
.gm-loader.is-ready .gm-loader__fill { width: 100%; }
.gm-loader__count {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.8px;
  color: var(--gm-gold);
}

[data-gm-item] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--gm-ease), transform .9s var(--gm-ease);
  will-change: opacity, transform;
}
[data-gm-item].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-gm-word] {
  display: inline-block;
  transform: translateY(115%);
  transition: transform .95s var(--gm-ease);
  will-change: transform;
}
[data-gm-word].is-visible { transform: translateY(0); }
.gm-word-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: .14em;
  margin-bottom: -.14em;
}

@media (prefers-reduced-motion: reduce) {
  [data-gm-item],
  [data-gm-word] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .gm-loader { display: none !important; }
}

/* ==========================================================================
   21. Small screens
   ========================================================================== */

@media (max-width: 860px) {
  .gm-column + .gm-column {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--gm-rule);
    padding-top: 24px;
  }
  .gm-legal__body { padding-left: 0; }
  .gm-header__bar { justify-content: flex-start; }
}

@media (max-width: 600px) {
  .gm-header__logo img { width: 150px; }
  .gm-footer__logo img { width: 200px; }
  .gm-footer__credit-logos img:first-child { height: 48px; }
  .gm-footer__credit-logos img:last-child { height: 36px; }
  .gm-footer__legal span,
  .gm-footer__legal a { font-size: 15px; }
}

/* ==========================================================================
   22. Print
   ========================================================================== */

@media print {
  .gm-header,
  .gm-footer,
  .gm-loader,
  .gm-hero__media,
  .gm-media-band { display: none !important; }
  body { background: #fff; }
  [data-gm-item],
  [data-gm-word] {
    opacity: 1 !important;
    transform: none !important;
  }
}
