/* Box-sizing reset - safe for all elements */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Minimal reset for navigation lists only */
nav ul,
nav ol {
  list-style: none;
}

table {
  border-collapse: collapse;
}

/* ======================================
 CSS VARIABLES
 ====================================== */

:root {
  /* Primary colors */
  --color-text: #333333;
  --color-text-light: #555555;
  --color-text-muted: #888888;

  /* Brand colors */
  --color-accent: #ffc556;
  --color-accent-hover: #e6b04d;
  --color-primary: #2d708f;
  --color-primary-light: #57a5ca;
  --color-primary-bg: #ecf7fb;

  /* Neutrals */
  --color-white: #ffffff;
  --color-bg: #fafafa;
  --color-bg-alt: #f5f5f5;
  --color-border: #c2c2c2;
  --color-border-light: #dddddd;
  --color-dark: #4a4949;

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;

  /* Typography */
  --font-family: Arial, Helvetica, sans-serif;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;

  /* Transitions */
  --transition-fast: 0.2s ease-in-out;

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-full: 9999px;
}

/* colors */

.wp-admin {
  font-family: Arial, Helvetica, sans-serif;
}

.login #loginform {
  background: transparent;
  border: none;
  box-shadow: none;
}

.login #loginform .input {
  border-radius: 0;
}

.login #loginform .forgetmenot {
  float: none;
}

.login #loginform input[type="checkbox"] {
  border-radius: 0;
  box-shadow: none;
}

.login #login h1 a {
  background-image: url(../images/atmp-logo.svg);
  background-size: 180px;
  width: 200px;
  height: 80px;
}

.login #login #backtoblog a,
.login #login #nav a {
  font-size: 15px;
  color: var(--color-text);
}

.login #login #backtoblog a:hover,
.login #login #nav a:hover {
  text-decoration: underline;
}

.login #login p.submit {
  margin: 10px auto;
  text-align: center;
  overflow: hidden;
  display: flex;
}

.login #login .button-large.button-primary {
  background: var(--color-accent);
  border: none;
  border-radius: 0;
  color: var(--color-text);
  font-family: "Roboto", serif;
  font-size: 17px;
  margin: 10px auto;
  text-align: center;
  width: 180px;
}

.login #login .button-large.button-primary:hover {
  background: rgba(255, 197, 86, 0.6);
}

html {
  min-height: 100%;
}

body {
  position: relative;
  font-family: "Roboto", serif;
  line-height: 1;
  color: var(--color-text);
  background: var(--color-bg);
  /* Sticky footer layout */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ======================================
   HEADER & NAVIGATION - Mobile First
   ====================================== */

/* Base header - mobile layout */
header.outer-margin {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0px 20px 0px;
  height: auto;
  height: 100px;
  margin: 0 auto;
  overflow: visible;
  position: relative;
}

.fas.fa-bars {
  width: 50px;
}

/* Navigation wrapper - mobile */
.navigation-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
  z-index: 200;
  color: var(--color-text);
}

/* Logo */
.navigation-wrapper .slogan-link {
  flex-shrink: 0;
}

.navigation-wrapper .title-wrapper {
  position: relative;
}

.navigation-wrapper .title-wrapper img {
  max-height: 60px;
  width: auto;
}

/* Hamburger icon - visible on mobile */
header.outer-margin > i.fa-bars,
.navigation-wrapper i.fa-bars {
  display: block;
  font-size: 24px;
  padding: 12px;
  cursor: pointer;
  color: var(--color-text);
  margin-left: auto;
  order: 1;
}

/* Hide main nav on mobile */
#main-nav {
  display: none;
}

/* Hide header buttons (login) on mobile */
.header-buttons {
  display: none;
}

/* ======================================
   MOBILE NAV - Base mobile styles
   ====================================== */

#mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-white);
  z-index: 99999;
  overflow-y: auto;
  padding: 20px;
  pointer-events: auto;
}

/* Ensure the nav container doesn't block clicks */
.navigation-wrapper .outer-margin {
  overflow: visible;
}

#mobile-nav.open {
  display: block;
}

#mobile-nav .close-mobile {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}

#mobile-nav .close-mobile i {
  font-size: 24px;
  cursor: pointer;
  padding-right: 20px;
}

#mobile-nav .mobile-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  pointer-events: auto !important;
}

/* Override any external pointer-events: none (e.g., from WP Rocket) */
#mobile-nav .mobile-menu,
#mobile-nav .mobile-menu * {
  pointer-events: auto !important;
}

#mobile-nav li {
  position: relative;
  border-bottom: 1px solid var(--color-border-light);
  background-color: var(--color-white);
}

#mobile-nav li a {
  display: block;
  padding: 15px 10px;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  z-index: 1;
}

.process-stages__icon {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  padding-left: 10px;
  padding-right: 10px;
  grid-gap: 20px;
  gap: 20px;
}

.process-stage {
  display: flex;
  position: relative;
  margin-bottom: 10px;

  span {
    display: inline-block;
  }
}

.process-stage .process-stage__icon {
  margin-right: 7px;
  width: clamp(1.8rem, 4vw, 40px);
  height: clamp(1.8rem, 4vw, 40px);
}

.process-stage .process-stage__title {
  margin: 0;
  color: #2d708f;
  font-size: clamp(0.6rem, 4vw, 15px);
  font-weight: 500;
  line-height: 1.2;
}

.slider-container {
  position: relative;
  min-height: 700px;
  max-width: 1180px;
  overflow: hidden;
  margin: 30px auto;
}

.slider-container .process-stage {
  cursor: pointer;
}

.slider-container .process-block__description {
  color: #000;
  font-size: clamp(0.6rem, 4vw, 15px);
  text-align: left;
  padding-left: clamp(0.8rem, 5vw, 60px);
  padding-bottom: 20px;
  max-width: 660px;
  margin: 0;
}

.slider-container .process-block__title {
  color: #2d708f;
  font-size: clamp(1.5rem, 4vw, 30px);
  text-align: left;
  font-weight: bold;
  padding-left: clamp(0.8rem, 5vw, 60px);
  padding-bottom: 20px;
}

.hero-wrapper.process-block-wrapper .hero-content .links {
  margin-bottom: 30px;
  margin-top: auto;
}

.hero-wrapper.process-block-wrapper .hero-content .links a {
  font-size: clamp(0.8rem, 4vw, 18px);
  font-family: "Roboto";
  color: white;
  line-height: 1.5;
  min-height: 44px;
  display: flex;
  justify-content: flex-start;
  font-weight: 400;
  align-items: center;
  padding-left: 20px;
  padding-right: 20px;
  background-color: #223d4c;
  gap: 5px;
  width: 100%;
}

.hero-wrapper.process-block-wrapper .hero-content .links a span {
  font-weight: bold;
  white-space: nowrap;
}

.hero-wrapper.process-block-wrapper .hero-content .links a img {
  margin-left: auto;
  position: static;
}

.slides li .process-content {
  display: flex;
  flex-direction: column;
}

.process-content .right-svg {
  height: 16px;
  width: 16px;
}

/* ── Process Block: selected stage indicator ── */
.process-stage.selected::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 4px;
  bottom: -10px;
  background-color: var(--wp--preset--color--luminous-vivid-amber);
}

.slider-container .first-row .number {
  line-height: 1;
}

/* ── Process Block: slider list reset ── */
.slider-container ul {
  margin-left: 0 !important;
  list-style: none;
  list-style-type: none;
}

/* ── Process Block: slides ── */
.slides {
  height: 600px;
}

.slides li {
  position: absolute !important;
  display: table;
  top: 0;
  left: 0;
  height: 100% !important;
  width: 100%;
  transform: translateX(100%);
  transition: transform 0.5s ease;
}

.slides li.selected {
  z-index: 2;
  transform: translateX(0);
}

.slides li.move-left {
  transform: translateX(-100%);
}

.slides li.visible {
  z-index: 2;
}

/* ── Process Block: slider navigation arrows ── */
.slider-nav a {
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  left: 10px;
}

.slider-nav a.next {
  left: auto;
  right: 10px;
}

/* ── Process Block: dot navigation ── */
.slider-dot-nav {
  z-index: 3;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 15px;
  margin: 0 !important;
}

.slider-dot-nav li {
  display: inline-block;
  margin-right: 15px;
}

.slider-dot-nav .dot-nav a {
  display: block;
  width: 6px;
  height: 6px;
  border: 1px solid #2d708f;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.slider-dot-nav .arrow-nav a,
.slider-dot-nav .arrow-nav img {
  display: block;
  width: 37px;
  height: 37px;
}

.slider-dot-nav .arrow-nav img {
  background-color: #2d708f;
  border-radius: 50%;
  padding: 9px;
}

.slider-dot-nav a.selected {
  background: #2d708f;
}

/* ── Process Block: dropdown filter ── */
#filter-process-form {
  z-index: 4;
  margin-left: clamp(0.8rem, 5vw, 60px);
  margin-bottom: 20px;
  box-sizing: border-box;
  height: 45px;
  max-width: 300px;
  width: 100%;
  cursor: pointer;
  left: 0;
  top: 20px;
}

#filter-process-form select {
  height: 100%;
  width: 100%;
  font-size: 18px;
  padding: 8px 36px 8px 8px;
}

#filter-process-form select .process_selected {
  background-color: #2d708f;
  color: #fff;
}

#filter-process-form select .process_selected:hover {
  background-color: #2d708f;
  color: #fff;
}

/* ── Process Block: inverted layout ── */
.hero-wrapper.process-block-wrapper.inverted .hero-content .first-row {
  grid-template-columns: 270px 1fr;
}

.hero-wrapper.process-block-wrapper.inverted .hero-content .first-row > div {
  order: 2;
  text-align: right;
}

.hero-wrapper.process-block-wrapper.inverted .hero-content .first-row > div h2 {
  text-align: right;
}

.hero-wrapper.process-block-wrapper.inverted .hero-content .first-row > p {
  order: 1;
  text-align: left;
}

.hero-wrapper.process-block-wrapper.inverted .hero-content .links a {
  margin-left: auto;
}

/* ── Process Block: mobile (≤ 800px) ── */
@media (max-width: 800px) {
  .hero-wrapper.process-block-wrapper .hero-content .links a {
    margin-left: 0 !important;
    margin-right: auto;
  }

  .hero-wrapper.process-block-wrapper.inverted .hero-content .first-row > div {
    order: 1;
  }

  .hero-wrapper.process-block-wrapper.inverted
    .hero-content
    .first-row
    > div
    h2 {
    text-align: left;
  }
}

/* ── Process Block: hero-wrapper.new-hero-wrapper base styles ── */
.hero-wrapper.new-hero-wrapper {
  width: 100%;
}

.hero-wrapper.new-hero-wrapper .hero-content {
  background-color: transparent;
  width: 100%;
  color: white;
}

.hero-wrapper.new-hero-wrapper .hero-content p {
  margin: 0;
  font-family: "Roboto";
}

.hero-wrapper.new-hero-wrapper .hero-content .first-row {
  display: grid;
  grid-template-columns: 1fr 270px;
  text-align: left;
  color: white;
  font-family: "Roboto";
}

.hero-wrapper.new-hero-wrapper .hero-content .first-row h2 {
  text-align: left;
  color: var(--wp--preset--color--luminous-vivid-amber);
  font-weight: 500;
  font-size: clamp(1.6rem, 4vw, 30px);
  text-transform: capitalize;
  font-family: "Roboto";
  margin-top: 0;
  padding-bottom: 5px;
}

.hero-wrapper.new-hero-wrapper .hero-content .first-row .number {
  font-size: 67px;
  font-weight: 500;
  font-family: "Roboto";
}

.hero-wrapper.new-hero-wrapper .hero-content .first-row .goal-text {
  font-size: clamp(0.9rem, 4vw, 18px);
  font-weight: 400;
  line-height: 1.3;
  font-family: "Roboto";
  text-align: left;
  padding-bottom: 10px;
}

.hero-wrapper.new-hero-wrapper .hero-content .first-row p {
  font-size: clamp(1.1rem, 4vw, 21px);
  font-weight: 500;
  line-height: 27px;
  font-family: "Roboto";
  text-align: right;
  padding-bottom: 10px;
}

.hero-wrapper.new-hero-wrapper .hero-content .tips {
  margin-top: auto;
  font-size: clamp(0.9rem, 4vw, 18px);
  font-family: "Roboto";
  color: white;
  font-weight: 500;
  line-height: 1.2;
  text-align: left;
  border-top: 1.5px dashed white;
  padding-top: 20px;
  max-width: 402px;
}

.hero-wrapper.new-hero-wrapper .hero-content .tips + a {
  display: block;
  padding-bottom: 20px;
  height: fit-content;
}

.hero-wrapper.new-hero-wrapper .hero-content a {
  width: 100%;
  font-size: clamp(0.8rem, 4vw, 17px);
  font-family: "Roboto";
  color: white;
  line-height: 21px;
  text-align: left;
  border: 0;
  margin: 0;
  margin-top: 10px;
  padding: 0;
  padding-right: 50px;
  display: block;
  margin-left: 0;
  font-weight: 400;
}

.hero-wrapper.new-hero-wrapper .hero-content a img {
  position: absolute;
  right: 20px;
  top: 0;
}

.hero-wrapper.new-hero-wrapper .hero-background {
  background-position: center;
}

/* ── Process Block: inverted hero tips alignment ── */
.hero-wrapper.new-hero-wrapper.inverted .hero-content .tips,
.hero-wrapper.new-hero-wrapper.inverted .hero-content .tips + a {
  margin-left: auto;
}

/* ── Process Block: responsive ≤ 1140px ── */
@media screen and (max-width: 1140px) {
  .hero-wrapper.not-faded.new-hero-wrapper .hero-background {
    height: 100%;
    width: 100%;
    margin: 0;
    float: none;
    position: absolute;
  }
}

/* ── Process Block: responsive ≤ 800px ── */
@media (max-width: 800px) {
  .hero-wrapper.new-hero-wrapper .hero-content .tips,
  .hero-wrapper.new-hero-wrapper .hero-content .tips + a {
    margin-left: 0 !important;
    margin-right: auto;
  }

  .hero-wrapper.not-faded.new-hero-wrapper .hero-background {
    background-position: 60% center;
  }

  .hero-wrapper.not-faded.new-hero-wrapper.inverted .hero-background {
    background-position: 40% center;
  }

  .hero-wrapper.new-hero-wrapper .hero-content .first-row {
    display: flex;
    flex-direction: column;
  }

  .hero-wrapper.new-hero-wrapper .hero-content .first-row .number {
    text-align: left;
  }

  .hero-wrapper.new-hero-wrapper .hero-content .first-row p {
    text-align: left;
  }
}

/* Hide the CSS arrow - the submenu-toggle button handles this */
#mobile-nav .menu-item-has-children > a::after {
  display: none;
}

#mobile-nav li a:hover {
  background: var(--color-bg-alt);
}

#mobile-nav li ul {
  display: none;
  list-style: none;
  margin: 0;
  padding-left: 20px;
}

#mobile-nav li.submenu-open > ul {
  display: block;
}

#mobile-nav li ul li {
  background-color: #f3f3f3;
}
#mobile-nav li ul li ul li {
  background-color: #e5e5e5;
}
#mobile-nav li ul li ul li ul li {
  background-color: #d5d5d5;
}
#mobile-nav li ul li ul li ul li ul li {
  background-color: #c8c8c8;
  padding-left: 8px;
  border-left: 2px solid var(--color-primary);
}
#mobile-nav li ul li ul li ul li ul li ul li {
  background-color: #bcbcbc;
  padding-left: 8px;
  border-left: 2px solid var(--color-text-muted);
}
#mobile-nav li ul li ul li ul li ul li ul li ul li {
  background-color: #b0b0b0;
  padding-left: 8px;
  border-left: 2px solid var(--color-text);
}

#mobile-nav .menu-item-has-children > a::after {
  content: "\f054";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  float: right;
  transition: transform 0.2s;
}

#mobile-nav .menu-item-has-children.submenu-open > a::after {
  transform: rotate(90deg);
}

#mobile-nav .partner-cta {
  display: block;
  background: var(--color-accent);
  color: var(--color-text);
  text-align: center;
  padding: 12px 24px;
  margin: 20px auto;
  border-radius: 4px;
  font-weight: 600;
  max-width: 200px;
}

#mobile-nav .login-partner {
  display: block;
  margin: 20px auto;
  text-align: center;
}

#mobile-nav .partner-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-text);
  color: var(--color-white);
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
}

/* ======================================
   SUB-HEADER - Mobile first
   ====================================== */

.sub-header {
  background: var(--color-white);
  padding: 0px 20px 10px;
  height: 50px;
  border-bottom: 1px solid var(--color-border-light);
  overflow: visible;
  position: relative;
  z-index: 9999;
}

.sub-header-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  overflow: visible;
}

.sub-header-spacer {
  display: none;
}

.sub-header .search-form {
  flex: 1;
}

.sub-header .search-wrapper {
  display: flex;
  align-items: center;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border-light);
  border-radius: 25px;
  position: relative;
}

.sub-header .search-icon {
  position: absolute;
  color: var(--color-text-muted);
  font-size: 14px;
}

.sub-header .search-wrapper #searchinput {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  outline: none;
  min-width: 0;
}

.sub-header .search-submit {
  background: var(--color-accent);
  border: none;
  width: 50px;
  padding: 10px 15px;
  cursor: pointer;
  flex-shrink: 0;
}

.sub-header .search-submit:hover {
  background: var(--color-accent-hover);
}

.sub-header .search-submit i {
  color: var(--color-text);
}

.sub-header-cta {
  flex-shrink: 0;
}

.sub-header-cta .partner-cta {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-text);
  padding: 10px 15px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 4px;
  white-space: nowrap;
}

.sub-header-cta .partner-cta:hover {
  background: var(--color-accent-hover);
}

/* Main content grows to fill available space */
.main-content {
  flex: 1;
}

.main-content .outer-margin {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
}

.outer-margin {
  max-width: 100%;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
}

.title_replacement_whitespace {
  width: 100%;
  height: 20px;
}

.page-main p iframe {
  width: 100%;
}

.media-frame-toolbar .media-toolbar {
  bottom: 0 !important;
}

header {
  overflow: visible !important;
  background-color: var(--color-white);
  position: relative;
  z-index: 10000;
}

p > a {
  text-decoration: underline;
}

a {
  text-decoration: none;
  letter-spacing: 0.5px;
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 500;
}

/* Arrow link - base style */
.link--arrow {
  color: var(--color-primary);
  font-weight: 500;
  position: relative;
  padding-right: 25px;
  font-size: 17px;
  text-decoration: none;
}

.link--arrow::after {
  content: "\f061";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--color-primary);
  position: absolute;
  right: 0;
  top: -2px;
  transition: right 0.2s ease-in-out;
}

.link--arrow:hover {
  text-decoration: none;
}

.link--arrow:hover::after {
  right: -5px;
}

/* Read more link variant */
.link--readmore {
  color: var(--color-text);
}

.link--readmore::after {
  color: var(--color-accent);
}

/* Hide icons inside links (using CSS pseudo-elements instead) */
.link--arrow > i,
.link--readmore > i {
  display: none;
}

/* Legacy support - keep until templates updated */
a.with-arrow,
a.read-more,
.news-item__link {
  color: var(--color-primary);
  font-weight: 500;
  position: relative;
  padding-right: 25px;
  font-size: 17px;
  text-decoration: none;
}

a.with-arrow::after,
a.read-more::after,
.news-item__link::after {
  content: "\f061";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--color-primary);
  position: absolute;
  right: 0;
  transition: right 0.2s ease-in-out;
}

a.with-arrow:hover::after,
a.read-more:hover::after,
.news-item__link:hover::after {
  right: -5px;
}

a.read-more,
.news-item__link {
  color: var(--color-text);
}

a.read-more::after,
.news-item__link::after {
  color: var(--color-accent);
}

/* Link with arrow before text */
.link--arrow-before,
a.arrow-before,
.text-block__link {
  color: var(--color-text);
  font-weight: 500;
  position: relative;
  font-size: 17px;
  text-decoration: none;
}

.link--arrow-before::before,
a.arrow-before::before,
.text-block__link::before {
  content: "\f061";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--color-primary);
  transition: margin-right 0.2s ease-in-out;
  margin-right: 5px;
}

.link--arrow-before:hover::before,
a.arrow-before:hover::before,
.text-block__link:hover::before {
  margin-right: 7px;
}

/* Email link */
.link--email,
a.email {
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 500;
  font-size: 16px;
}

.link--email::before,
a.email::before {
  content: "\f0e0";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 5px;
}

/* External link */
.link--external,
a.external {
  font-weight: 500;
  font-size: 16px;
}

.link--external::after,
a.external::after {
  font-weight: 900;
  color: var(--color-primary);
  font-size: 17px;
  margin-left: 7px;
}

a h1,
a h2,
a h3,
a h4,
a h5 {
  color: var(--color-text);
  font-weight: 400;
}

h1,
h2,
h3,
h4 {
  line-height: 1.4;
  font-weight: 400;
}

h1.underline,
h2.underline,
h3.underline,
h4.underline {
  position: relative;
  width: fit-content;
  padding-bottom: 15px;
  margin: 20px auto 10px;
}

h1.underline:after,
h2.underline:after,
h3.underline:after,
h4.underline:after {
  content: "";
  height: 3px;
  background: var(--color-accent);
  position: absolute;
  bottom: 0;
  left: -10px;
  right: -10px;
}

h1.center,
h2.center,
h3.center,
h4.center {
  text-align: center;
}

h1 {
  color: var(--color-text);
  padding: 10px 0;
  font-size: 38px;
  position: relative;
  clear: both;
  margin-top: 40px;
  margin-bottom: 26px;
  z-index: 5;
}

h2,
.atmp-guide h1 {
  font-size: 30px;
  margin-top: 40px;
  margin-bottom: 0;
  color: var(--color-text);
  width: 100%;
  padding-bottom: 10px;
  position: relative;
  clear: both;
}

h3,
.atmp-guide h2 {
  font-size: 24px;
  position: relative;
  width: 100%;
  margin-top: 16px;
  margin-bottom: 12px;
  clear: both;
}

h4 .atmp-guide h3 {
  font-size: 20px;
  color: var(--color-text);
  position: relative;
  width: 100%;
  margin-top: 14px;
  margin-bottom: 10px;
  font-weight: 500;
  clear: both;
}

h4 {
  font-size: 20px;
  color: var(--color-text);
  position: relative;
  width: 100%;
  margin-top: 14px;
  margin-bottom: 10px;
  clear: both;
}

em {
  font-style: italic;
}

strong {
  font-weight: 500;
}

p {
  font-size: 16px;
  line-height: 1.5;
  margin-top: 10px;
  margin-bottom: 15px;
  font-family: "Roboto", serif;
  font-weight: 300;
}

p.center {
  text-align: center;
}

.grid-wrapper p {
  font-size: 16px;
  line-height: 22px;
}

a,
p > a {
  color: var(--color-primary);
  font-weight: 500;
  transition: color 0.2s ease;
}

a:hover,
p > a:hover {
  color: var(--color-text-light);
}

i {
  font-style: italic;
}

i.fa,
i.far,
i.fas {
  font-style: normal;
}

.page-main h3 {
  margin-top: 20px;
}

.page-main ul {
  width: 100%;
  margin-bottom: 20px;
}

.page-main li {
  font-size: 16px;
  margin-top: 5px;
  margin-bottom: 5px;
}

.page-main ul li a {
  cursor: pointer;
}

.page-main p > a {
  text-decoration: underline;
}

ul,
ol {
  position: relative;
  font-size: 16px;
  list-style: unset;
  margin-left: 28px;
}

ul li,
ol li {
  line-height: 1.5;
  margin-top: 10px;
}

ol {
  list-style: decimal;
}

.quick-links ul {
  margin-left: 0;
  list-style: none;
}

nav ul {
  margin-left: 0;
}

.front-page iframe {
  width: 100%;
  height: 480px;
}

.grid-wrapper {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  width: 100%;
}

.grid-wrapper .col3 {
  position: relative;
  flex: 0 1 calc(33.333% - var(--spacing-md));
  min-width: 280px;
  max-width: calc(50% - var(--spacing-md));
  display: flex;
}

.grid-wrapper .col3.img-wrapper {
  display: block;
}

.grid-wrapper .col2 {
  /* flex: 1 1 calc(50% - var(--spacing-md)); */
  min-width: 280px;
}

/* images in the grid (small text blocks with image */

.small-image-grid-blocks {
  display: flex;
  flex-wrap: wrap;
  gap: 7%;
  margin-top: 20px;
  margin-bottom: -20px;
}

.small-image-grid-blocks img {
  width: 28.66667%;
}

.small-image-grid-blocks img:nth-child(3) {
  float: right;
  margin-left: 7%;
}

/* Search form - modern flexbox styling */
.search-form {
  display: flex;
  align-items: center;
  position: relative;
}

.search-form .search-wrapper {
  display: flex;
  width: 100%;
  height: 36px;
  align-items: center;
  position: relative;
  background: var(--color-bg-alt);
  border-radius: 4px;
  border: 1px solid var(--color-border-light);
  overflow: visible;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.search-form .search-wrapper:focus-within {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(255, 197, 86, 0.2);
}

.search-form input[type="text"] {
  border: none;
  background: transparent;
  padding: 8px 35px 8px 10px;
  font-size: 14px;
  width: 150px;
  outline: none;
  transition: width 0.3s ease;
}

.search-form input[type="text"]:focus {
  width: 220px;
}

.search-form input[type="text"]::placeholder {
  color: var(--color-text-muted);
  font-style: italic;
}

.search-form .search-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.search-form .search-submit:hover {
  background: var(--color-accent-hover);
}

/* Hide dictionary search submit button */
.search-button {
  display: none;
}

.search-form .search-submit i {
  color: var(--color-text);
  font-size: 14px;
}

/* Third-level base - overridden in desktop media query for flyout */
#main-nav ul ul ul {
  height: auto;
}

.main-menu {
  opacity: 1;
  transition: opacity 0.5s ease;
}

.main-menu.fade-menu {
  opacity: 0.3;
}

/* Base sub-menu - hidden by default */
.menu > li.menu-item > ul.sub-menu {
  position: absolute;
  background-color: var(--color-white);
  display: none;
}

/* Legacy visible class - no longer using mega-menu width */
.menu > li.menu-item > ul.sub-menu.visible {
  display: block;
}

.sub-menu {
  padding: 0;
  margin: 0;
  list-style: none;
}

.wp-admin .search-form {
  display: inline-block;
  position: relative;
  height: unset;
  padding: unset;
  top: unset;
  right: unset;
  font-size: unset;
  width: unset;
}

header .title-wrapper p.slogan {
  color: var(--color-primary-light);
  font-size: 44px;
  font-weight: 200;
  line-height: 44px;
}

header .title-wrapper p.slogan span {
  font-weight: 500;
}

header .title-wrapper {
  text-align: right;
  flex-shrink: 0;
}

.login-partner {
  position: relative;
  z-index: 100;
}

button.partner-login i {
  /* Removed absolute positioning - using flexbox gap instead */
  margin-left: 8px;
}

button.partner-login {
  background-color: var(--color-dark);
  border: none;
  color: var(--color-text);
  padding: 0 18px;
  text-align: center;
  text-decoration: none;
  font-size: 16px;

  display: flex;
  align-items: center;
  font-weight: 500;
  height: 34px;
  line-height: 34px;
  position: relative;
  cursor: pointer;
}

/* TODO: Replace hardcoded menu ID with a class */
#main-nav li#menu-item-456 a {
  color: var(--color-accent);
}

#main-nav ul li#menu-item-456 > ul > li a {
  color: var(--color-white);
}

.login.modal {
  position: absolute;
  right: 0;
  top: 78px;
  background-color: var(--color-primary-bg);
  z-index: 300;
  height: 0;
  transition: height 0.5s ease;
  overflow: hidden;
}

.login.modal input[type="submit"] {
  background-color: var(--color-primary-light);
  border: none;
  color: var(--color-white);
  padding: 7px 30px;
  font-size: 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin-left: -5px;
  cursor: pointer;
  float: right;
  margin: 8px 0;
}

.login.modal.display {
  height: 190px;
  padding: 30px 30px;
  border-bottom: 5px solid var(--color-primary-light);
  border-top: 5px solid var(--color-primary-light);
  margin-top: -5px;
}

.future-partner {
  position: relative;
  z-index: 50;
}

.future-partner .button,
.future-partner button,
.future-partner button {
  line-height: 46px !important;
}

.future-partner .button::after,
.future-partner button::after,
.future-partner button::after {
  content: "" !important;
}

#catapult-cookie-bar a.ctcc-more-info-link {
  color: var(--color-white);
  text-decoration: underline;
}

.hero-layover,
.hero-background {
  position: absolute;
  top: 0;
  height: 225px;
}

.hero-layover {
  left: 0;
  width: 100%;
}

.hero-background {
  width: 100%;
  background-color: var(--color-white);
  opacity: 0.6;
  background-size: cover;
  z-index: 3;
  left: 0;
}

.hero-layover {
  height: 125px;
  background: url("../images/fade-to-white.png");
  bottom: 0;
  top: initial;
  z-index: 4;
}

.hero-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  align-content: center;
  height: 225px;
  position: relative;
  margin-bottom: 40px;
  margin-top: 1px;
}

.hero-wrapper .hero-content {
  background-color: var(--color-accent);
  position: relative;
  width: 100%;
  z-index: 10;
  color: black;
  padding: 30px;
}

.hero-wrapper a {
  padding: 13px 18px;
  position: relative;
  text-align: center;
  margin: 0 auto;
  color: var(--color-text);
  margin-top: 24px;
  font-size: 16px;
  font-weight: 500;
  min-height: 50px;
  clear: both;
  width: fit-content;
  line-height: 50px;
  transition: all 0.2s ease-in-out;
  border: 2px solid var(--color-text);
  float: none;
  min-width: 150px;
  letter-spacing: 0.3px;
}

.hero-wrapper a:hover {
  text-decoration: none;
  border-color: #a5a5a5;
}

.hero-wrapper i {
  display: unset !important;
  padding-left: 15px;
}

.hero-wrapper h1 {
  color: var(--color-text);
  padding: 10px 0px;
  font-weight: 500;
  z-index: 5;
  margin-top: 10px;
}

.hero-wrapper.not-faded {
  height: 592px;
}

.hero-wrapper.not-faded .hero-background {
  height: 592px;
  opacity: 1;
}

.hero-wrapper.not-faded .hero-layover {
  display: none;
}

.hero-wrapper.no-image {
  height: initial;
  position: relative;
  float: left;
  position: absolute;
  top: 24px;
  left: 35%;
}

.hero-wrapper.no-image h1 {
  top: 0;
  float: left;
  position: relative;
}

.page-main.no-image {
  margin-top: 120px;
}

a.logo-banner-item,
.logo-banner-item img {
  width: 100%;
}

a.logo-banner-item {
  position: relative;
}

a.logo-banner-item img.align-logo {
  margin-top: 8px;
}

.logo-wrapper {
  margin-top: 30px;
  margin-bottom: 32px;
}

.page-main {
  width: 74%;
  flex: 0 0 74%;
  box-sizing: border-box;
  min-width: 0;
}

.page-main p.ingress {
  font-size: 18px;
  font-weight: 400;
  margin-top: 26px;
  margin-bottom: 24px;
  width: 100%;
}

p.ingress {
  font-size: 18px;
  line-height: 1.5;
}

.linked-text-blocks {
  position: relative;
  display: flex;
  padding: 20px;
  box-sizing: border-box;
  background: var(--color-white);
}

.linked-text-blocks.image-grid {
  background: transparent;
  padding: 10px;
  margin-top: 20px;
  justify-content: left;
  gap: var(--spacing-md);
}

.linked-text-blocks.image-grid .col3,
.linked-text-blocks.image-grid .col2 {
  background-color: var(--color-white);
  padding: 0;
}

/* Yellow blocks */
.image-grid .yellow {
  background-color: var(--color-accent);
}

.image-grid .yellow .text-block-wrapper a {
  color: var(--color-text);
  transition: all 0.3s ease;
}

.image-grid .yellow .text-block-wrapper a::before {
  content: "\f061";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.image-grid .yellow a.external::before {
  content: none;
}

/* Blue blocks */
.image-grid .blue {
  background-color: var(--color-white);
}

.image-grid .blue .text-block-wrapper a {
  color: var(--color-primary);
  transition: all 0.3s ease;
}

.image-grid .blue .text-block-wrapper a::before {
  content: "\f061";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--color-primary);
}

.image-grid .blue a.external::before {
  content: none;
}

.linked-text-blocks.image-grid .col3 .text-block-wrapper a.external::after,
.linked-text-blocks.image-grid .col2 .text-block-wrapper a.external::after {
  padding-left: 3px;
  margin-left: 0;
}

.linked-text-blocks.image-grid
  .col3
  .text-block-wrapper
  a.external:hover::after,
.linked-text-blocks.image-grid
  .col2
  .text-block-wrapper
  a.external:hover::after {
  padding-left: 5px;
}

.linked-text-blocks.image-grid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.image-grid .image {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: none !important;
}

.image-grid .image img {
  opacity: 1;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.text-block-wrapper {
  position: relative;
  width: 40ch;
}

.text-block-wrapper .wrapper p {
  width: 100%;
}

.text-block-wrapper a {
  color: var(--color-primary) !important;
  position: unset;
}

.text-block-wrapper a:after {
  position: unset;
}

.text-block-wrapper a i {
  display: none;
  position: absolute;
  top: -2px;
  right: -16px;
}

.text-block-wrapper .wrapper {
  padding: 30px;
  float: left;
}

.linked-text-blocks p {
  float: left;
  margin-top: 12px;
  margin-bottom: 8px;
  width: 100%;
}

/* WITH IMAGES */

.text-block-wrapper i::before {
  font-size: 16px;
}

.linked-text-blocks .col3 {
  background: var(--color-white);
  box-sizing: border-box;
  padding: 10px;
}

.text-block-wrapper a::before {
  font-weight: 900;
}

/* ======================================
 NEWSLETTER MODULE
 ====================================== */

.newsletter-module {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 700px;
  margin: 0 auto;
  padding: var(--spacing-xl) 0;
  border-top: 2px solid var(--color-text);
}

.newsletter-module h2 {
  text-align: center;
  margin-bottom: var(--spacing-sm);
}

.newsletter-module p.ingress {
  max-width: 500px;
  margin: 0 0 var(--spacing-xl);
  line-height: 1.5;
  text-align: center;
}

.newsletter-module a {
  display: inline-flex;
}

/* Mail Subscribe Form */
.mail-subscribe {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  width: 100%;
  margin-bottom: var(--spacing-lg);
}

.mail-subscribe .email {
  flex: 1;
  min-width: 250px;
  max-width: 444px;
  padding: var(--spacing-sm) var(--spacing-lg);
  height: 44px;
  font-size: 15px;
  font-style: italic;
  color: var(--color-text);
  background-color: var(--color-white);
  border: 1px solid var(--color-text-light);
  letter-spacing: 1px;
}

.mail-subscribe .email::placeholder {
  color: var(--color-text-muted);
}

.mail-subscribe input[type="submit"].button {
  background-color: var(--color-text);
  border: none;
  color: var(--color-white);
  padding: 0 var(--spacing-2xl);
  font-size: var(--font-size-base);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.mail-subscribe input[type="submit"].button:hover {
  background-color: var(--color-dark);
}

.search-page {
  overflow: hidden;
}

.search-page #content {
  max-width: 840px;
  margin: 0 auto;
}

.search-page #content h1.page-title {
  padding-top: 50px;
  border-bottom: 3px solid var(--color-accent);
  width: max-content;
  text-align: center;
  margin: 0 auto 40px;
}

.no-results {
  padding-top: 50px;
  padding-bottom: 100px;
}

.no-results p {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.no-results p.bold {
  font-weight: 600;
  margin-top: 20px;
}

.result-list {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-bottom: 80px;
}

.search-item {
  border-top: 1px solid var(--color-border);
}

.search-item:first-child {
  border-top: none;
}

.search-item h3 {
  margin-bottom: 0;
  color: var(--color-text);
  font-size: 18px;
}

.search-item {
  position: relative;
  float: left;
  width: 100%;
  clear: both;
}

.search-item a,
.search-item p {
  clear: both;
  position: relative;
  display: block;
  color: var(--color-text);
}

.news {
  background: var(--color-white);
  padding: 40px;
}

.news-item {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: 840px;
  margin: 20px auto;
  align-items: center;
  margin-bottom: 40px;
}

.news-item h3 {
  margin-bottom: 0;
}

.news-item .news-thumb {
  background-size: contain;
  position: relative;
  width: 90%;
  background-repeat: no-repeat;
  background-position: center;
  max-height: 130px;
  margin-bottom: 10px;
}

.news-item:last-of-type {
  margin-bottom: 50px;
}

.news-item img {
  float: left;
  position: relative;
  width: 100%;
  opacity: 0;
}

.news-item .content {
  float: left;
  position: relative;
  width: 74%;
  margin-left: 5%;
}

.news h3 {
  margin-top: 0;
}

.news .date {
  font-size: 16px;
  color: var(--color-primary);
  margin: 3px 0;
}

.news p.news-ingress {
  margin-top: 8px;
  margin-bottom: 8px;
}

.news-item i {
  font-size: 18px;
}

/* Center the CTA button in news section */
.news > a {
  display: block;
  text-align: center;
}

.news .cta {
  margin: 0 auto 20px;
}

.news-date-single em {
  float: left;
  font-style: italic;
  position: relative;
  margin-top: -24px;
}

.news-hero img {
  position: relative;
  float: left;
  width: 90%;
}

.news-hero {
  position: relative;
  float: right;
  clear: right;
  margin-top: 0;
  margin-bottom: 20px;
  width: 30%;
  margin-left: 5%;
}

.news-single p {
  float: none;
  clear: right;
}

.news-single p.news-date-single {
  position: relative;
  float: left;
  display: block;
  clear: both;
}

.news-wrapper-single {
  position: relative;
  float: left;
}

.news-archive a > h3 {
  color: var(--color-text);
}

.news-archive p.news-date-archive {
  margin-top: 0;
  margin-bottom: 0;
}

.news-archive h3 {
  margin-top: 30px;
}

.news-single ul {
  margin-bottom: 20px;
}

/* ═══ News Single V2 ═══ */

.news-single-v2 {
  max-width: 840px;
  padding: 0 20px;
}

.news-single__header {
  margin-top: 20px;
  margin-bottom: 24px;
}

.news-single__category {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 14px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #eef3f8;
  color: #1e3a5f;
  margin-bottom: 12px;
}

.news-single__category--press-releases {
  background: #f3eef8;
  color: #5a2d82;
}

.news-single__category--member-news {
  background: #eef8f0;
  color: #2d6e3e;
}

.news-single__header h1 {
  margin: 0 0 12px;
  font-size: 2rem;
  line-height: 1.2;
}

/* Title + Share on one row: title fills available space, Share pinned to
   the right edge (which matches the ingress's right edge since both sit in
   the same .news-single__header container). */
.news-single__title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.news-single__title-row h1 {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}

.news-single__title-share {
  flex: 0 0 auto;
  padding-top: 6px; /* optical alignment with the title baseline */
}

.news-single__meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 16px 20px;
  background: #f8f9fa;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  font-size: 0.9rem;
}

.news-single__date,
.news-single__author,
.news-single__source {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #555;
}

.news-single__meta-bar i {
  color: #999;
}

.news-single__meta-bar a {
  color: #1e3a5f;
  text-decoration: none;
}

.news-single__meta-bar a:hover {
  text-decoration: underline;
}

.news-single__hero {
  margin-bottom: 24px;
  border-radius: 8px;
  overflow: hidden;
}

.news-single__hero img {
  height: auto;
  display: block;
}

.news-single__ingress {
  position: relative;
  display: flex;
  align-items: center;
  font-size: 1.05rem;
  font-style: bold;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-accent);
  margin: 20px 0 28px;
  padding: 18px 28px 18px 72px;
  border-radius: 3px;
}

.news-single__ingress::before {
  content: "\201D"; /* ” — matches Gutenberg quote block's glyph */
  position: absolute;
  top: 50%;
  left: 22px;
  transform: translateY(-55%);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.2rem;
  line-height: 1;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.08em;
  pointer-events: none;
}

.news-single__content {
  margin-bottom: 40px;
  line-height: 1.7;
  font-size: 20px; /* matches Gutenberg "M" preset for readable body copy */
}

.news-single__content p,
.news-single__content li {
  margin-bottom: 16px;
  font-size: 20px;
}

/* ─── Related Articles ─── */

.news-single__related {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #e0e0e0;
}

.news-single__related h3 {
  margin-bottom: 16px;
}

.news-single__related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.news-single__related-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.news-single__related-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.news-single__related-img {
  height: 140px;
  overflow: hidden;
}

.news-single__related-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-single__related-info {
  padding: 14px;
}

.news-single__related-date {
  font-size: 0.82rem;
  color: #777;
}

.news-single__related-info h4 {
  margin: 6px 0 0;
  font-size: 1rem;
  line-height: 1.3;
}

/* ─── News Single: Share Bar ─── */

.news-single__share-bar {
  margin-bottom: 20px;
}

/* ─── News Single: Contacts ─── */

.news-single__contacts {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #e0e0e0;
}

.news-single__contacts h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.news-single__contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}

.news-single__contact-card {
  padding: 16px;
  background: #f8f9fa;
  border-radius: 8px;
  overflow: hidden;
}

.news-single__contact-name {
  font-weight: 700;
  margin-bottom: 4px;
}

.news-single__contact-email {
  font-size: 0.9rem;
  color: #555;
}

.news-single__contact-email i {
  margin-right: 6px;
  color: #1e3a5f;
}

.news-single__contact-email a {
  color: #1e3a5f;
  text-decoration: none;
  word-break: break-all;
}

.news-single__contact-email a:hover {
  text-decoration: underline;
}

/* ─── News Single: Documents ─── */

.news-single__documents {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #e0e0e0;
}

.news-single__documents h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.news-single__documents h3 i {
  margin-right: 8px;
  color: #999;
}

.news-single__documents-list {
  display: flex;
  flex-direction: row;
  gap: 10px;
  flex-wrap: wrap;
}

.news-single__document {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  min-width: 250px;
  background: #f8f9fa;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  text-decoration: none !important;
  color: inherit;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.news-single__document:hover {
  border-color: #1e3a5f;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.news-single__document-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.news-single__document-icon i {
  font-size: 1.2rem;
  color: #d63638;
}

.news-single__document-icon i.fa-file-word {
  color: #2b579a;
}

.news-single__document-icon i.fa-file-excel {
  color: #217346;
}

.news-single__document-icon i.fa-file-powerpoint {
  color: #d24726;
}

.news-single__document-icon i.fa-file-archive {
  color: #f0ad4e;
}

.news-single__document-icon i.fa-file {
  color: #999;
}

.news-single__document-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.news-single__document-label {
  font-weight: 600;
  font-size: 0.95rem;
  color: #1d2327;
}

.news-single__document-meta {
  font-size: 0.8rem;
  color: #999;
}

.news-single__document-download {
  flex-shrink: 0;
  color: #1e3a5f;
  font-size: 1rem;
  opacity: 0.4;
  transition: opacity 0.2s;
}

.news-single__document:hover .news-single__document-download {
  opacity: 1;
}

/* ─── News Archive V2 ─── */

.news-archive-v2 h1 {
  margin-bottom: 24px;
}

.news-archive__pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
  padding-top: 20px;
}

.news-archive__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  color: #555;
  font-size: 14px;
}

.news-archive__pagination .page-numbers.current {
  background: #1e3a5f;
  color: #fff;
  border-color: #1e3a5f;
}

.news-archive__pagination .page-numbers:hover:not(.current) {
  background: #f5f5f5;
}

/* ─── News V2 Mobile ─── */

@media (max-width: 768px) {
  .news-single__meta-bar {
    flex-direction: column;
    gap: 10px;
  }

  .news-single__related-grid {
    grid-template-columns: 1fr;
  }

  .news-single__header h1 {
    font-size: 1.6rem;
  }
}

.event-card {
  border: 1px solid var(--color-text);
  padding: 20px;
  width: 100%;
  margin-bottom: 20px;
}

.event-card .event-type {
  text-align: center;
  margin-top: 10px;
}

.event-card .event-type i {
  transform: rotate(-45deg);
}

.event-card .event-type p,
.event-card .event-type i {
  display: inline-block;
}

.event-card .headline-block {
  border-bottom: 1px solid var(--color-text);
  margin-bottom: 10px;
}

.event-card .headline-block h3 {
  margin-top: 0;
  text-align: center;
}

.event-blocks > a {
  margin: 0 auto;
}

.event-blocks p.small {
  font-size: 15px;
  margin: 0;
  line-height: 2;
}

.calendar-icon .inner-calendar {
  background: var(--color-accent);
  width: 70px;
  height: 70px;
  border-radius: 50px;
  text-align: center;
  position: relative;
  margin: 0 auto;
}

.calendar-icon i {
  color: var(--color-text);
  font-size: 40px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.main-event .button.cta.event,
.main-event button.cta.event {
  font-size: 14px;
}

.event-item {
  overflow: hidden;
}

.event-item .event-date {
  color: var(--color-text);
}

.event-item .event-block-wrapper {
  color: var(--color-text);
}

.event-item .event-block-wrapper p {
  display: block;
}

.event-item p.small {
  font-size: 15px;
  margin: 0;
  line-height: 2;
}

.event-item p,
.event-item i {
  display: inline-block;
}

.event-item a.read-more,
.event-item .news-item a,
.news-item .event-item a {
  float: right;
}

.event-item a.read-more:after,
.event-item .news-item a:after,
.news-item .event-item a:after {
  padding-right: 5px;
}

.event-info-sidebar .event-type {
  text-align: left;
  margin-top: 10px;
}

.event-info-sidebar .event-type i {
  transform: rotate(-45deg);
}

.event-info-sidebar .event-type p,
.event-info-sidebar .event-type i {
  display: inline-block;
  margin: 0;
  line-height: 2;
}

.event-info-sidebar a .button,
.event-info-sidebar a button {
  margin: 20px 0;
}

p.event-banner {
  float: left;
  line-height: 1;
  padding: 10px 20px;
  background: var(--color-accent);
  border-radius: 20px;
  position: relative;
  width: fit-content;
}

p.event-banner::before {
  content: "\f05a";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 5px;
}

.event-category {
  background-color: var(--color-primary-bg);
  border: 1px solid var(--color-primary);
  border-radius: 20px;
  color: var(--color-text);
  padding: 6px 20px;
  font-size: 15px;
  position: absolute;
  bottom: 12px;
  left: 20px;
}

p.small {
  font-size: 15px;
  margin: 0;
  line-height: 2;
}

.event-content {
  border-top: 1px solid var(--color-border);
  padding: 10px;
}

.event-content .headline-block {
  border-bottom: 1px solid var(--color-text);
  margin-bottom: 10px;
  text-align: center;
  margin-top: 10px;
}

.event-content .headline-block h3 {
  margin-top: 0;
  text-align: center;
}

.event-content .headline-block a {
  margin: 0 auto;
  text-align: center;
}

.event-content .headline-block a i {
  transform: rotate(-45deg);
  display: block;
  color: var(--color-text);
  display: inline-block;
  margin-right: 5px;
}

.event-content .headline-block a p.event-category-archive {
  display: inline-block;
  color: var(--color-text);
  background: transparent;
  font-size: 14px;
  border: none;
  padding: 0;
  margin-bottom: 10px;
  line-height: 2;
  position: unset;
  float: unset;
  font-weight: 400;
}

/*

 EVENT ARCHIVE

---------------------------------- */

.events-archive {
  margin-top: 50px;
}

div.event-archive-item {
  border: 1px solid var(--color-text);
  padding: 20px;
  width: 100%;
  margin-bottom: 20px;
}

p.event-category-archive {
  background-color: var(--color-primary-bg);
  border: 1px solid var(--color-primary);
  border-radius: 20px;
  color: var(--color-text);
  padding: 6px 20px;
  font-size: 15px;
  position: absolute;
  clear: both;
  position: relative;
  margin-top: 0;
  margin-bottom: 3px;
  display: inline-block;
  float: left;
  clear: both;
}

.category-filter {
  position: relative;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 600px;
  margin: 30px auto;
}

.category-filter a,
.category-filter p {
  clear: none;
  position: relative;
  margin-right: 5px;
  margin-left: 5px;
  margin-bottom: 10px;
}

.events-archive h2.underline {
  margin-bottom: 30px;
}

.events-archive h2.underline:last-of-type {
  margin-top: 50px;
}

.event-category-archive.not-current {
  background-color: var(--color-primary-bg);
}

.event-organizer {
  position: relative;
}

.event-organizer .fas {
  position: absolute;
  top: 6px;
  left: 0;
}

.event-organizer p.small {
  margin-left: 23px !important;
}

.single-event,
.events-archive,
.news-archive,
.news-single {
  background-color: var(--color-white);
  margin-top: 0;
  padding-top: 50px;
  border-top: 1px solid #c6c6c6;
}

.events-archive .events-wrapper,
.news-wrapper {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 10px;
}

.single-event .main-event {
  margin-left: auto;
  margin-right: auto;
  padding: 10px;
}

.single-event > .border-wrapper {
  width: 1444px;
  margin-left: auto;
  margin-right: auto;
  background-color: var(--color-white);
  padding-left: 72.25px;
  padding-right: 72.25px;
  border-top: 1px solid var(--color-border-light);
  display: inherit;
  padding-bottom: 40px;
}

.front-page {
  padding-bottom: 80px;
}

.front-page .grid-wrapper,
.front-page .ingress,
.front-page .linked-text-blocks,
.front-page .outer-wrapper,
.front-page .mail-subscribe,
.front-page .big-imgage-text-block,
.front-page .center,
.front-page .news,
.front-page .image-grid,
.front-page .event-blocks,
.front-page h2 {
  margin: 20px auto;
}

.front-page .mail-subscribe {
  float: none;
  overflow: hidden;
}

.front-page .big-imgage-text-block {
  margin: 40px auto;
}

.front-page .logo-wrapper {
  margin: 30px auto;
}

.front-page h2,
.front-page h2.center {
  margin: 30px auto 0;
  text-align: center;
}

.front-page .outer-wrapper {
  margin-bottom: 40px;
}

.front-page .event-blocks {
  max-width: 840px;
  margin-bottom: 60px;
}

.front-page .news {
  margin-bottom: 60px;
}

.front-page .grid-wrapper {
  margin-bottom: 60px;
}

/* Image Text Block Card */
.big-imgage-text-block {
  background-color: var(--color-white);
  position: relative;
  margin: 30px 0;
  display: flex;
  flex-direction: row;
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.big-imgage-text-block .image {
  position: relative;
  width: 45%;
  min-height: 280px;
  background-color: #f8f8f8;
  overflow: hidden;
}

.big-imgage-text-block .image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: var(--bitb-img-fit, contain);
}

.big-imgage-text-block .content {
  width: 55%;
  padding: 30px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.big-imgage-text-block .content h3 {
  margin-bottom: 15px;
  font-size: 24px;
}

.big-imgage-text-block .content p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.big-imgage-text-block .content .button.cta,
.big-imgage-text-block .content button.cta {
  margin-left: 0;
  align-self: flex-start;
}

footer {
  background-color: var(--color-primary);
  position: relative;
  width: 100%;
  background-position: 100% -115px;
  background-size: 701px;
  min-height: 470px;
}

footer h2 {
  border: none;
  font-size: 24px;
  color: var(--color-white);
  text-transform: uppercase;
  margin-bottom: 5px;
}

footer a {
  color: var(--color-white);
  line-height: 20px;
}

footer a.external:after {
  color: var(--color-white);
}

footer a:hover {
  color: var(--color-primary-bg);
}

.footer-wrapper {
  padding-top: 16px;
  display: flex;
  overflow: hidden;
}

.left-footer {
  width: 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.left-footer .soMe {
  margin-top: 30px;
}

.left-footer .soMe a,
.left-footer .soMe p {
  color: var(--color-white);
}

.left-footer .soMe a i,
.left-footer .soMe p i {
  font-weight: 400;
  display: inline-block;
  font-style: unset;
  font-size: 22px;
  margin-right: 10px;
}

.left-footer .soMe a.external::after {
  content: none;
}

.contact-wrapper {
  flex: 1;
  margin-left: 5%;
  color: var(--color-white);
}

.footer-contacts {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-lg);
}

.contact-wrapper a {
  text-decoration: underline;
}

.footer-contact {
  position: relative;
  float: left;
  width: 50%;
  margin-bottom: 26px;
}

.footer-contact h3 {
  font-size: 20px;
  font-weight: 400;
  margin: 5px 0;
}

.footer-contact p {
  margin-bottom: 5px;
  margin-top: 4px;
  float: left;
  clear: both;
}

.footer-contact .phone {
  margin: 0;
  margin-top: 2px;
}

.footer-contact a {
  margin-top: 0;
  float: left;
  clear: both;
}

.footer-contact a::before {
  content: "\f0e0";
  font-family: "Font Awesome 5 Free";
  margin-right: 5px;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
}

.footer-contact a:hover:before {
  margin-right: 7px;
}

.page-aside {
  width: 26%;
  flex: 0 0 26%;
  margin-top: 44px;
  overflow: hidden;
  box-sizing: border-box;
}

.page-aside a {
  padding: 4px 0px;
  float: left;
  width: 100%;
  margin-left: 12px;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

.page-aside li.page_item_has_children::before {
  content: "\f054";
  font-size: 14px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  top: 5px;
  left: -5px;
  cursor: pointer;
  padding: 4px;
}

.page-aside li.page_item_has_children.down-arrow::before {
  content: "\f078";
  font-size: 14px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  top: 5px;
  left: -8px;
  cursor: pointer;
  padding: 4px;
}

.page-aside li {
  float: left;
  width: 100%;
  position: relative;
}

.page-aside .current_page_item > a {
  text-decoration: underline;
}

aside .sub-menu .h3 {
  font-size: 26px;
  color: var(--color-text);
  padding: 10px 12px;
  margin-left: 10px;
}

aside .sub-menu ul {
  color: var(--color-text);
  padding: 24px 12px;
  position: relative;
  float: left;
  margin-left: 0;
  list-style: none;
  padding-top: 0;
}

aside .sub-menu ul ul {
  border: none;
  padding: 0;
}

aside .sub-menu ul ul.display-children {
  height: initial;
  margin-left: 20px;
  margin-bottom: 3px;
}

aside .sub-menu ul ul.display-current-ul {
  height: initial;
  margin-left: 20px;
  margin-bottom: 3px;
  overflow: visible;
}

aside .sub-menu .children {
  display: block !important;
}

aside .sub-menu .has-children > .hasmore::after {
  content: "\f078";
  font-size: 14px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  cursor: pointer;
  padding: 4px;
}

aside .sub-menu .parent-link {
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.1;
  padding: 4px 0px;
  float: left;
  width: 100%;
  margin-left: 12px;
  padding-left: 12px;
  font-weight: 300;
}

aside .sub-menu .current.parent-link {
  font-weight: bold;
}

aside .current.parent-link::before {
  content: "\f054";
  font-family: "Font Awesome 5 Free";
  padding-right: 5px;
  font-weight: 900;
  position: absolute;
  left: 8px;
}

aside > div > .wrapper > ul > li a.current::before {
  content: "\f054";
  font-family: "Font Awesome 5 Free";
  padding-right: 5px;
  font-weight: 900;
  position: absolute;
  left: -4px;
}

aside .sub-menu {
  width: 100%;
  position: relative;
  float: left;
}

aside .sub-menu ul {
  width: 100%;
}

aside .sub-menu ul li a {
  color: var(--color-text);
  font-size: 16px;
  font-weight: 200;
  line-height: 1.1;
}

aside .sub-menu ul li a.current {
  font-weight: 500;
  text-decoration: none;

  /* &:before {
 content: "\f054";
 font-family: $fontawesome;
 padding-right: 5px;
 font-weight: 900;
 display: none;
 } */
}

aside .sub-menu ul.children {
  width: 96%;
  margin-left: 4%;
}

aside.sub-page a i {
  position: absolute;
  left: -6px;
  font-size: 14px;
  line-height: 22px;
  opacity: 1;
  transition: opacity 0.3s ease;
  padding-left: 6px;
}

aside.sub-page a i.fa-chevron-down {
  left: -9px;
}

aside.sub-page a i.fa-chevron-down.hidden,
aside.sub-page a i.fa-chevron-right.hidden {
  opacity: 0;
}

aside.sub-page ul ul.children.display {
  height: auto;
}

aside > .sub-menu > .wrapper > ul {
  padding-left: 30px;
}

aside .sub-menu .vis {
  display: block;
}

.mobile.drop-down {
  display: none;
}

.page-main .image-wrap {
  float: left;
  clear: left;
  width: auto;
  margin-right: 34px;
  margin-top: 4px;
}

.standard-page {
  margin-left: auto;
  margin-right: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.standard-page > .border-wrapper {
  max-width: 100%;
  flex: 1;
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border-light);
  display: flex;
  flex-wrap: wrap;
  padding-bottom: 40px;
  box-sizing: border-box;
  align-content: flex-start;
}

.standard-page > .border-wrapper > .breads {
  width: 100%;
}

.outer-margin.single-event {
  margin-top: 0;
  padding-top: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.inner-margin {
  max-width: 1155px;
}

.page-main .image-text-wrap {
  float: none;
  clear: right;
}

.page-main p img,
.page-main div img {
  max-width: 100%;
  height: auto;
}

img.alignleft {
  float: left;
  margin-right: 30px;
  margin-bottom: 20px;
}

.main-content {
  z-index: 100;
}

.main-content div.alignleft {
  float: left;
  margin-right: 30px;
  margin-bottom: 20px;
}

.wp-caption {
  max-width: 100%;
  position: relative;
  float: left;
}

.wp-caption .wp-caption-text {
  float: left;
  position: absolute;
  max-width: 100%;
  width: 86%;
  background-color: rgba(65, 65, 65, 0.3);
  color: var(--color-white);
  bottom: 0;
  margin-bottom: 0;
  padding: 14px 7%;
  font-size: 18px;
  line-height: 20px;
}

.alignright {
  float: right;
}

.alignleft {
  float: left;
}

.page-main img.alignright,
.news-single img.alignright {
  float: right;
  margin-left: 26px;
  margin-bottom: 20px;
}

.news-single p {
  clear: unset;
}

/*

 QUOTE for standard page

------------------------------------ */

.quote {
  background: var(--color-accent);
  width: 90ch;
  padding: 10px 40px;
  clear: both;
  position: relative;
  margin: 30px 0;
}

.quote i:before {
  position: absolute;
  font-size: 40px;
  color: var(--color-text);
  top: 15px;
  left: -15px;
}

.quote p {
  margin: 0 0 10px;
}

/*

 Icons for standard page

------------------------------------ */

.icon-list {
  position: relative;
  float: left;
  width: 100%;
  margin: 20px 0;
}

.icon-list ul {
  margin-left: 0;
}

.icon-list ul li {
  list-style: none;
  margin-left: 5px;
  display: flex;
  align-items: center;
  margin-top: 15px;
}

.icon-list ul li i {
  display: inline-block;
  padding: 10px;
  border: 2px solid var(--color-accent);
  border-radius: 50px;
  color: var(--color-accent);
  margin-right: 10px;
}

.icon-list ul li > span {
  display: inline-block;
  width: 90%;
}

.page-main input[type="text"] {
  box-sizing: border-box;
  background-color: var(--color-white);
  border: 1px solid var(--color-text-light);
  float: left;
  font-size: 16px;
}

.page-main textarea {
  float: left;
  resize: none;
  width: 90%;
  margin: 8px 0;
  padding: 12px 20px;
  background-color: var(--color-white);
  border: 1px solid var(--color-text-light);
  font-size: 16px;
}

.page-main form label {
  width: 100%;
  font-size: 15px;
  margin-top: 8px;
}

.page-main form {
  margin-top: 20px;
}

.page-main input[type="submit"] {
  padding: 5px 20px;
  margin: 8px 0;
  box-sizing: border-box;
  background-color: var(--color-text);
  color: var(--color-white);
  float: left;
  font-size: 16px;
}

.person-contact-wrapper {
  position: relative;
  overflow: hidden;
  display: block;
  margin-top: 20px;
  margin-bottom: 40px;
  width: 100%;
}

.contact-card {
  width: 30%;
  float: left;
  position: relative;
  text-align: center;
}

.contact-card p.title {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 15px;
}

.contact-card p.phone,
.contact-card p.email {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 15px;
}

.contact-card h4.name {
  font-size: 20px;
  font-weight: 500;
  margin-top: 22px;
  text-transform: uppercase;
  margin-bottom: 0;
}

.contact-card img {
  border-radius: 50%;
  opacity: 0;
  width: 100%;
  max-height: 230px;
}

.contact-card:first-child {
  margin-right: 5%;
}

.contact-card:nth-child(3) {
  float: right;
}

.person-contact-wrapper .image-wrapper {
  border-radius: 50%;
  background-size: cover;
  height: 180px;
  width: 180px;
  margin-left: auto;
  margin-right: auto;
}

.breadcrumbs,
.m-breadcrums {
  display: flex;
  align-items: center;
  margin-top: 30px;
  margin-left: 25px;
  flex-wrap: wrap;
}

.breadcrumbs a,
.m-breadcrums a {
  font-weight: 400;
  font-size: 14px;
  color: var(--color-text);
  transition: all 0.2s ease-in-out;
  text-transform: none;
  text-decoration: none;
}

.breadcrumbs a:after,
.m-breadcrums a:after {
  content: "\f054";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-left: 10px;
  margin-right: 10px;
  color: var(--color-text);
  font-size: 13px;
  position: unset;
}

.breadcrumbs a:first-child,
.m-breadcrums a:first-child {
  margin-left: 0;
}

.breadcrumbs a:hover,
.m-breadcrums a:hover {
  text-decoration: underline;
}

.breadcrumbs a:last-child:after,
.m-breadcrums a:last-child:after {
  content: none;
}

.breadcrumbs p,
.m-breadcrums p {
  font-weight: 400;
  font-size: 14px;
  color: var(--color-text);
  margin: 0 0 0 5px;
}

.events-archive .breadcrumbs,
.events-archive .m-breadcrums {
  margin-left: 0;
}

.single-event section.breads {
  position: relative;
  float: left;
  margin-top: -112px;
  width: 100%;
  clear: both;
}

.atmp-guide {
  overflow: hidden;
  display: flex;
  background: var(--color-bg);
}

.atmp-guide .inner-atmp-guide {
  margin-left: auto;
  margin-right: auto;
  position: relative;
  display: flex;
}

aside.guide {
  height: 100%;
  margin: 0;
  background: var(--color-bg);
  width: 30%;
  padding: 20px 0 0 0;
  float: left;
  position: relative;
}

aside.guide .sub-menu .m-sub-menu {
  float: none;
  overflow: hidden;
}

aside.guide .sub-menu .m-sub-menu .h3 {
  overflow: hidden;
  margin-top: 10px;
}

aside.guide .sub-menu .m-sub-menu ul {
  float: none;
}

aside.guide .sub-menu .m-sub-menu ul li {
  float: none;
  display: flex;
}

aside.guide .sub-menu .m-sub-menu ul li img {
  position: unset;
  width: 36px;
  height: 36px;
  float: none;
  margin: 0 10px 0 20px;
}

aside.guide .sub-menu .m-sub-menu ul li a {
  float: none;
  margin-left: 10px;
}

aside.guide > div > ul > li > a::before {
  content: none;
}

/* Remove external-link icon from all guide-related links */
.atmp-guide a::after,
.atmp-guide a.external::after,
.atmp-guide .link--external::after,
aside.guide a::after,
aside.guide a.external::after,
aside.guide .link--external::after {
  content: none !important;
}

/* Restore breadcrumb chevron arrows inside guide pages */
.atmp-guide .m-breadcrums a::after,
.atmp-guide .m-breadcrums a.external::after,
.atmp-guide .breadcrumbs a::after,
.atmp-guide .breadcrumbs a.external::after {
  content: "\f054" !important;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-left: 10px;
  margin-right: 10px;
  color: var(--color-text);
  font-size: 13px;
  position: unset;
}

.atmp-guide .guide-content {
  width: 100%;
  position: relative;
  float: left;
  display: table-cell;
  height: 100%;
  background-color: var(--color-white);
}

.atmp-guide .guide-content.without-navigation {
  width: 100%;
}

.atmp-guide .guide-content .breadcrumbs {
  white-space: nowrap;
  align-items: baseline;
  margin-bottom: 20px;
  margin-top: 10px;
  margin-left: 0;
}

aside.guide .sub-menu img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  align-self: center;
  margin-left: 8px;
  filter: saturate(0%) brightness(60%) contrast(600%);
}

aside.guide .sub-menu ul li a,
aside.guide .sub-menu li .has-children {
  line-height: 22px;
  margin-left: 0;
  padding: 14px 20px;
  color: var(--color-text);
  transition: color 0.3s ease;
  cursor: pointer;
  font-weight: 300;
}

aside.guide .sub-menu ul li a i,
aside.guide .sub-menu li .has-children i {
  transform: rotate(90deg);
  margin-left: 10px;
}

aside .guide-title {
  width: 97%;
  padding-left: 3%;
  margin-left: 3%;
}

aside .guide-title a {
  font-weight: 400 !important;
}

aside.guide .sub-menu ul li {
  transition: background-color 0.3s ease;
  display: flex;
}

aside.guide .sub-menu ul li.current-guide {
  background: var(--color-accent);
}

aside.guide ul.children {
  height: auto;
  padding-left: 3%;
  display: block;
}

aside.guide .sub-menu ul li:hover {
  border-left: 2px solid var(--color-accent);
}

aside.guide .sub-menu ul li.guide-current {
  border-left: 0;
  background-color: var(--color-accent);
}

aside.guide .sub-menu ul li.guide-title:hover {
  border-left: 0;
}

aside.guide .sub-menu .h3 {
  color: var(--color-text);
  overflow: hidden;
}

aside.guide .sub-menu .h3 a {
  padding: 4px 0px;
  width: 100%;
  margin-left: 0;
  color: var(--color-text);
}

aside.guide .sub-menu > ul {
  padding: 0 0px;
  float: none;
  overflow: hidden;
  height: 100%;
}

.atmp-guide h1.guide-title {
  padding: 0 0 10px;
  margin-top: 40px;
}

.atmp-guide h2.expand-title {
  font-size: 18px;
  position: relative;
  width: 97%;
  margin: 16px 0 12px;
  font-weight: 500;
  color: var(--color-text);
  background: var(--color-accent);
  padding: 6.66667px 20px 6.66667px 3%;
  border-radius: 50px;
  cursor: pointer;
}

.atmp-guide h2.expand-title i {
  position: absolute;
  right: 3%;
}

.atmp-guide h2.expand-title i.fa-plus-circle:before {
  content: "\f078";
  border: 2px solid var(--color-text);
  border-radius: 50px;
  font-size: 14px;
  padding: 3px 3.5px;
}

.atmp-guide h2.expand-title i.fa-minus-circle:before {
  content: "\f077";
  border: 2px solid var(--color-text);
  border-radius: 50px;
  font-size: 14px;
  padding: 3px 3.5px;
}

.atmp-guide h1.guide-title.no-capitals,
.atmp-guide h2.expand-title.no-capitals {
  text-transform: none;
}

.atmp-guide .expand-content {
  display: none;
  opacity: 0;
  transition: opacity 2s ease;
}

.atmp-guide .expand-content.active {
  opacity: 1;
}

.atmp-guide h2.expand-title .fa-plus-circle {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.atmp-guide h2.expand-title.active .fa-plus-circle {
  opacity: 0;
}

.atmp-guide h2.expand-title .fa-minus-circle {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.atmp-guide h2.expand-title.active .fa-minus-circle {
  opacity: 1;
}

.atmp-guide h3 {
  word-break: break-word;
}

.guide-content p,
.guide-content ol,
.guide-content ul {
  margin-top: 10px;
  margin-bottom: 20px;
  max-width: 100%;
  word-break: break-word;
  width: 100%;
  clear: both;
}

.guide-content {
  padding: 0 30px;
}

.guide-content p a {
  text-decoration: underline;
}

.guide-content p a.with-arrow,
.guide-content p a.read-more,
.guide-content p a.read-more,
.guide-content p .news-item a,
.news-item .guide-content p a,
.guide-content p .news-item a,
.news-item .guide-content p a,
.guide-content .with-arrow p > a,
.with-arrow .guide-content p > a,
.guide-content p a.external,
.guide-content p a.external {
  text-decoration: none;
}

.guide-content .expand-content {
  width: 95%;
  margin: 0 auto;
}

.guide-content img {
  max-width: 100%;
  width: 100%;
  position: relative;
  float: left;
  height: auto;
}

aside.guide .sub-menu ul.children {
  width: 97%;
}

aside.guide .sub-menu li {
  margin-top: 0;
}

aside.guide .sub-menu li.guide-title {
  margin-left: 0;
}

.atmp-guide .guide-content .m-breadcrums {
  margin-left: 0;
}

/* ======================================
 BUTTONS - Modern System
 ====================================== */

/* Base button styles */
.btn,
.button,
button,
.button-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: 0 var(--spacing-lg);
  height: 36px;
  font-size: var(--font-size-base);
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  color: var(--color-text);
  background: transparent;
  border: 2px solid var(--color-text);
  cursor: pointer;
  transition: all var(--transition-fast);
  letter-spacing: 0.3px;
}

.btn:hover,
.button:hover,
button:hover,
.button-download:hover {
  border-color: var(--color-border);
  text-decoration: none;
}

/* CTA Button - Yellow background */
.btn--cta,
.button.cta,
button.cta,
.cta.button-download {
  background-color: var(--color-accent);
  border: none;
  color: var(--color-text);
}

.btn--cta:hover,
.button.cta:hover,
button.cta:hover,
.cta.button-download:hover {
  background-color: var(--color-accent-hover);
}

/* Primary Button - Blue background */
.btn--primary {
  background-color: var(--color-primary);
  border: none;
  color: var(--color-white);
}

.btn--primary:hover {
  background-color: var(--color-primary-light);
}

/* Dark Button */
.btn--dark {
  background: var(--color-text);
  color: var(--color-white);
  border: none;
}

.btn--dark:hover {
  background: var(--color-dark);
}

/* Ghost Button - No border */
.btn--ghost,
button.partner-login {
  background: transparent;
  border: none;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  flex-direction: row-reverse;
  gap: var(--spacing-sm);
}

button.partner-login i::before {
  content: "\f09c";
}

/* External link icon */
.btn--external::after,
.button.external::after,
button.external::after,
.external.button-download::after {
  content: "\f35d";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.button.external i,
button.external i,
.external.button-download i {
  display: none;
}

/* Arrow icon for CTA */
.button.cta i,
button.cta i {
  padding-left: var(--spacing-sm);
}

.button.cta i::before,
button.cta i::before {
  content: "\f061";
  font-family: "Font Awesome 5 Free";
}

/* Reset nested elements */
.btn p,
.button p,
button p {
  margin: 0;
}

.btn a,
.button a,
button a {
  text-decoration: none;
  color: inherit;
}

.button-box {
  padding: 7px 38px 7px 14px;
  background-color: var(--color-primary-light);
  color: var(--color-white);
  float: left;
  clear: both;
  font-weight: normal;
  margin: 4px 0;
  transition: background-color 0.2s ease;
  position: relative;
}

.button-box a {
  color: var(--color-white);
}

.button-box::after {
  font-family: "Font Awesome 5 Free";
  content: "\f054";
  font-weight: 700;
  color: var(--color-white);
  position: absolute;
  right: 12px;
  top: 8px;
}

.button-download i:before {
  padding-left: 15px;
}

.button-download a:after {
  width: 100%;
  height: 1px;
  content: "\f063";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-left: 8px;
}

/* Event buttons */
.button.more i::before,
button.more i::before {
  padding-left: 15px;
}

.button.event,
button.event {
  border: none;
}

.button.event i::before,
button.event i::before {
  content: "\f35d";
  font-family: "Font Awesome 5 Free";
  margin-left: 10px;
}

.button.event.closed,
button.event.closed {
  background: var(--color-border-light);
}

.button.event.closed i::before,
button.event.closed i::before {
  content: none;
}

.button.event.closed:hover,
button.event.closed:hover {
  background: rgba(233, 233, 233, 0.867);
}

.button.event:hover,
button.event:hover {
  background: rgba(255, 197, 86, 0.6);
}

p.event-category-archive {
  background-color: var(--color-primary-bg);
  border: 1px solid var(--color-primary);
  border-radius: 20px;
  color: var(--color-text);
  padding: 6px 20px;
  font-size: 15px;
  position: relative;
  margin-top: 0;
  margin-bottom: 3px;
  width: fit-content;
  letter-spacing: 0.3px;
}

p.event-category-archive.current {
  background: var(--color-primary);
  color: var(--color-white);
}

#catapult-cookie-bar #catapultCookie {
  background: transparent;
  border: 2px solid var(--color-white);
  color: var(--color-white);
  padding: 0 20px;
  margin-top: 0;
  margin-left: 10px;
  font-weight: 400;
}

/*

 EVENT SINGLE PAGE

---------------------------------- */

.single-event {
  padding: 10px;
}

/* =====================================================
 HEADER & SUB-HEADER - Flexbox layout for desktop/mobile
 ===================================================== */

/* Search autocomplete dropdown */
.search-autocomplete {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-top: 5px;
  z-index: 10000;
  max-height: 300px;
  overflow-y: auto;
  pointer-events: auto !important;
}

/* Override WP Rocket pointer-events blocking */
.search-autocomplete,
.search-autocomplete * {
  pointer-events: auto !important;
}

.search-autocomplete-item {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid var(--color-border-light);
  transition: background 0.15s;
}

.search-autocomplete-item:last-child {
  border-bottom: none;
}

.search-autocomplete-item:hover,
.search-autocomplete-item.selected {
  background: var(--color-bg-alt);
}

.search-autocomplete-item i {
  color: var(--color-primary);
  margin-right: 10px;
  font-size: 12px;
}

.search-autocomplete-item span {
  font-size: 14px;
}

.search-autocomplete-item .search-item-title {
  flex: 1;
  font-size: 14px;
}

.search-autocomplete-item .search-item-type {
  font-size: 11px;
  color: var(--color-text-muted);
  background: var(--color-bg-alt);
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 10px;
}

.search-loading {
  padding: 15px;
  color: var(--color-text-muted);
  text-align: center;
  font-size: 14px;
}

.search-no-results {
  padding: 15px;
  color: var(--color-text-muted);
  text-align: center;
  font-size: 14px;
}

/* Mobile menu: split-link layout (link + toggle side by side) */
#mobile-nav .menu-item-has-children {
  display: flex;
  flex-wrap: wrap;
}

#mobile-nav .menu-item-has-children > a {
  flex: 1;
  min-width: 0;
}

#mobile-nav .menu-item-has-children > .sub-menu {
  flex-basis: 100%;
}

/* Submenu toggle button (added by JavaScript) */
#mobile-nav .submenu-toggle {
  width: 44px;
  background: transparent;
  border: none;
  border-left: 1px solid var(--color-border-light, rgba(255, 255, 255, 0.2));
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
}

#mobile-nav .submenu-toggle::after {
  content: "\f054";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 12px;
  color: var(--color-text-light);
  transition: transform 0.2s;
}

#mobile-nav .submenu-open > .submenu-toggle::after {
  transform: rotate(90deg);
}

/* =====================================================
 FOOTER REWRITE
 Clean flexbox-based layout
 ===================================================== */

/* Footer base */
footer {
  background-color: var(--color-primary);
  width: 100%;
  padding: 40px 0;
  height: auto;
  float: none;
  margin-top: auto; /* Push to bottom when content is short */
}

footer h2 {
  color: var(--color-white);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

footer a {
  color: var(--color-white);
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover {
  color: var(--color-accent);
}

/* Footer wrapper */
.footer-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Footer links row - quick links and contacts side by side */
.footer-links-row {
  display: flex;
  flex-direction: row;
  gap: 40px;
}

/* Quick links section */
.quick-links {
  flex: 0 0 250px;
}

.quick-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.quick-links ul li {
  margin-bottom: 10px;
}

.quick-links ul li a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-white);
  font-size: 15px;
}

.quick-links ul li a::before {
  content: "\f061";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 12px;
  transition: transform 0.2s;
}

.quick-links ul li a:hover::before {
  transform: translateX(3px);
}

/* Contact wrapper */
.contact-wrapper {
  flex: 1;
  color: var(--color-white);
}

.footer-contacts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
}

.footer-contact {
  color: var(--color-white);
}

.footer-contact h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: var(--color-white);
}

.footer-contact p {
  margin: 4px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.footer-contact a {
  text-decoration: underline;
}

/* Social media section */
.social-links {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 25px;
  text-align: center;
}

.social-links p {
  color: var(--color-white);
  margin-bottom: 15px;
  font-size: 14px;
}

.social-links .icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-links .icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--color-white);
  font-size: 18px;
  transition: all 0.2s;
}

.social-links .icons a:hover {
  background: var(--color-accent);
  color: var(--color-text);
}

/* Override external link styling for social icons */
.social-links .icons a.external {
  text-decoration: none;
  font-size: 18px;
  font-weight: normal;
  padding-right: 0;
}

.social-links .icons a.external::after {
  content: none;
}

/* Left footer (if exists) */
.left-footer {
  display: none;
}

#main-nav > ul > li {
  margin: 0px;
  height: 100%;
}

#main-nav > ul > li > a {
  height: 100%;
}

span.word-dictionary,
span.word-dictionary-synonym {
  cursor: default !important;
}

.word-dictionary-notice-icon {
  display: none;
}

.word-dictionary-synonym {
  color: var(--color-primary);
}

/* Mobile footer */

/* ======================================
 RESPONSIVE STYLES
 ====================================== */

@media (max-width: 1462px) {
  .sub-menu.mega {
    left: -180px !important;
    width: 1444px !important;
  }
}

@media (max-width: 1353px) {
  #main-nav li a {
    padding: 0 8px;
    font-size: 15px;
  }
}

@media (max-width: 1270px) {
  #main-nav li a {
    font-size: 16px;
  }
}

@media (max-width: 1140px) {
  h1 {
    margin-top: 8px;
  }

  /* Don't fade logo on mobile when search is focused */
  .title-wrapper.fade-title {
    opacity: 1;
  }

  .atmp-guide .inner-atmp-guide {
    flex-direction: column;
    width: 100%;
  }

  .outer-margin {
    width: 100%;
    padding-right: 0;
    padding-left: 0;
  }

  .hero-layover,
  .hero-background,
  .hero-wrapper {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  i.fa-search {
    right: 56px;
    top: 11px;
  }

  header {
    height: 65px;
  }
  .grid-wrapper.logo-wrapper {
    width: 90%;
    margin-left: 5%;
  }
  .hero-wrapper {
    width: 100%;
    overflow: hidden;
    margin-bottom: 10px;
    height: auto;
    display: block;
  }

  .hero-wrapper.not-faded {
    height: auto;
    position: relative;
    overflow: hidden;
  }

  .hero-wrapper.not-faded .hero-background {
    height: 280px;
    width: 100%;
    float: left;
    position: relative;
    left: 0;
    transform: none;
  }

  .hero-wrapper .hero-content {
    background-color: var(--color-accent);
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    z-index: 10;
    float: left;
    color: black;
    padding: 30px;
  }

  .hero-wrapper .hero-content .paragraph {
    margin-top: 2px;
    position: relative;
    width: 100%;
    margin-bottom: 31px;
  }

  .hero-wrapper h1 {
    font-size: 28px;
    position: relative;
    top: unset;
    left: unset;
    font-weight: 500;
    z-index: 5;
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .news-item .news-thumb {
    height: auto;
  }

  .news {
    padding: 20px;
  }

  .news-item {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 20px;
  }

  .news-item:last-of-type {
    border-bottom: none;
  }

  .big-imgage-text-block {
    flex-direction: column;
    margin: 20px 15px;
    width: calc(100% - 30px);
  }

  .big-imgage-text-block .image {
    width: 100%;
    min-height: 200px;
    max-height: 300px;
  }

  .big-imgage-text-block .content {
    width: 100%;
    max-width: 50ch;
    padding: 25px 20px;
    margin: auto;
    text-align: center;
  }

  .big-imgage-text-block .content h3 {
    font-size: 20px;
  }

  .mobile.drop-down {
    display: block;
    padding: 0 30px;
    border: 1px solid var(--color-border);
    text-align: left;
    cursor: pointer;
  }

  .mobile.drop-down p {
    position: relative;
    font-weight: bold;
  }

  .mobile.drop-down p i {
    position: absolute;
    right: 0;
    top: 5px;
  }

  aside .sub-menu {
    width: 100%;
    position: relative;
    float: left;
    z-index: 100;
  }

  aside .sub-menu .wrapper {
    position: absolute;
    border: 1px solid var(--color-border);
    border-top: none;
    padding-top: 24px;
    background-color: var(--color-white);
    max-height: 260px;
    overflow-y: auto;
    overflow-x: clip;
    display: none;
  }

  aside .sub-menu .vis .has-children .hasmore {
    display: none;
  }

  aside .sub-menu .hide {
    display: none;
  }

  aside > .sub-menu > .wrapper > ul {
    padding-left: 24px;
  }

  aside .sub-menu .has-children > .hasmore::after {
    position: absolute;
    right: 15px;
  }

  aside .sub-menu ul li a {
    max-width: 80%;
  }

  aside.sub-page {
    margin-left: auto;
    margin-right: auto;
    float: none;
    width: 355px;
    clear: both;
    max-width: 90%;
  }

  .page-aside {
    width: 100%;
    flex: 0 0 100%;
    margin-top: 20px;
    overflow: visible;
  }

  .page-main {
    width: 100%;
    flex: 0 0 100%;
    margin-left: 0;
    overflow: visible;
  }

  .standard-page > .border-wrapper {
    flex-direction: column;
  }

  .hero-wrapper.no-image {
    top: 0;
    left: 0;
    position: relative;
    float: left;
  }

  .hero-wrapper.no-image h1 {
    margin-top: 30px;
    margin-bottom: 0;
  }

  .page-main.no-image {
    margin-top: 0;
  }

  .standard-page > .border-wrapper,
  .single-event > .border-wrapper {
    max-width: unset;
    width: 100%;
    padding: 0 5%;
  }
  .contact-card {
    width: 100%;
    float: left;
    position: relative;
    text-align: center;
    margin-bottom: 12px;
  }
  .front-page iframe {
    width: 100%;
    height: 260px;
  }

  .grid-wrapper .col3 {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 30px;
  }

  .grid-wrapper .col3:nth-child(3) {
    margin-left: 0;
  }

  .grid-wrapper .col2 {
    width: 100%;
    margin-bottom: 30px;
  }

  h2 {
    font-size: 28px;
  }

  .big-imgage-text-block .content > a {
    display: block;
    margin-top: 15px;
  }

  .outer-margin.footer-wrapper {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
  }

  .footer-wrapper {
    padding-top: 16px;
    display: block;
  }

  .quick-links {
    width: 100%;
  }

  footer {
    height: initial;
  }

  footer h2 {
    text-align: left;
    font-size: 28px;
  }

  .contact-wrapper {
    width: 100%;
    margin-left: 0;
  }

  .footer-contact {
    width: 100%;
  }

  .grid-wrapper.logo-wrapper {
    width: 80%;
    margin-left: 10%;
  }

  .mail-subscribe .email {
    width: 300px;
  }

  .mail-subscribe .button,
  .mail-subscribe button {
    margin-left: -6px;
  }

  .front-page p.ingress {
    font-size: 20px;
    line-height: 24px;
    padding-right: 22px;
    padding-left: 22px;
  }

  p {
    font-size: 16px;
    margin-bottom: 8px;
  }
  .atmp-guide h1.guide-title {
    margin-top: 100px;
  }

  aside.guide .sub-menu .wrapper {
    display: none;
  }

  .atmp-guide .mobile.drop-down {
    margin-top: 76px;
  }

  .atmp-guide .guide-content {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 4%;
    padding-left: 4%;
  }

  .atmp-guide .guide-content .breads {
    margin-top: -194px;
  }

  .inner-atmp-guide {
    display: block !important;
  }

  .inner-atmp-guide .page-aside {
    display: block;
    width: 400px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    float: unset;
    height: auto;
    background: var(--color-white);
    padding-top: 26px;
    padding-bottom: 6px;
  }

  .atmp-guide {
    background: var(--color-white);
  }

  .atmp-guide .guide-content .m-breadcrums {
    margin-left: 0;
  }

  aside.guide > .sub-menu > .wrapper > ul {
    padding-left: 0;
  }

  aside.guide > .sub-menu > .wrapper > ul li a {
    padding-left: 54px;
  }

  aside.guide .sub-menu ul li a {
    margin-left: 0;
  }

  aside.guide ul.children {
    padding-left: 1%;
  }

  aside.guide .sub-menu li.guide-title {
    padding-left: 0;
    width: 100%;
    margin-left: 6px;
  }
  .atmp-guide .guide-content .breads {
    margin-top: -130px;
  }

  .atmp-guide .mobile.drop-down {
    margin-top: 50px;
  }

  .atmp-guide h1.guide-title {
    margin-top: 100px;
  }

  /* Front page mobile adjustments */
  .front-page .big-imgage-text-block {
    margin-bottom: 10px;
  }

  .front-page .grid-wrapper {
    margin-bottom: 20px;
    padding: 10px;
  }

  .front-page .news {
    margin-bottom: 40px;
  }

  .front-page .news-item {
    padding-bottom: 30px;
  }
}

@media (max-width: 1100px) {
  .outer-margin {
    width: 100%;
  }
}

@media (max-width: 840px) {
  h1.underline:after,
  h2.underline:after,
  h3.underline:after,
  h4.underline:after {
    content: "";
    left: 0;
    right: 0;
  }
  .atmp-guide {
    overflow: hidden;
    display: flex;
    width: unset;
    background: var(--color-white);
  }

  .atmp-guide .inner-atmp-guide {
    flex-direction: column;
    width: 100%;
  }

  .atmp-guide .guide-content {
    padding: 10px 6%;
  }

  .atmp-guide .guide-content .breadcrumbs {
    flex-wrap: wrap;
  }

  aside.guide {
    padding-bottom: 30px;
    padding-top: 10px;
  }

  aside.page-aside.guide {
    width: 430px;
    max-width: 96%;
  }

  .atmp-guide .guide-content {
    margin-left: 0;
    width: 100%;
  }

  .atmp-guide h2.expand-title {
    font-size: 16px;
    padding-left: 3%;
    width: 100%;
    text-align: left;
  }

  .guide-content .expand-content {
    float: left;
    width: 100%;
    position: relative;
  }

  .guide-content .expand-content p {
    width: 100%;
  }

  .atmp-guide h3 {
    font-size: 18px;
    word-break: break-word;
  }
}

@media (max-width: 800px) {
  .atmp-guide .guide-content .breads {
    margin-top: -156px;
  }

  .atmp-guide .mobile.drop-down {
    margin-top: 50px;
  }

  .atmp-guide h1.guide-title {
    margin-top: 100px;
  }
}

@media (max-width: 768px) {
  header .title-wrapper p.slogan {
    font-size: 22px;
    line-height: 24px;
  }
  footer {
    padding: 30px 0;
  }

  .footer-links-row {
    flex-direction: column;
    gap: 30px;
  }

  .quick-links {
    flex: none;
    width: 100%;
  }

  .contact-wrapper {
    width: 100%;
  }

  .footer-contacts {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .social-links {
    padding-top: 20px;
  }
}

@media (max-width: 600px) {
  .atmp-guide .guide-content .breads {
    margin-top: -159px;
  }

  .atmp-guide .mobile.drop-down {
    margin-top: 50px;
  }

  .atmp-guide h1.guide-title {
    margin-top: 100px;
  }
}

@media (max-width: 552px) {
  .mail-subscribe .email {
    width: 189px;
    font-size: 14px;
  }

  .mail-subscribe input[type="submit"] {
    background-color: var(--color-primary-light);
    border: none;
    color: var(--color-white);
    padding: 8px 37px;
    font-size: 18px;
    cursor: pointer;
    margin: 8px 0;
  }

  .mail-subscribe .button,
  .mail-subscribe button {
    font-size: 16px;
  }
}

@media (max-width: 400px) {
  .atmp-guide .guide-content .breads {
    margin-top: -170px;
  }

  .atmp-guide .mobile.drop-down {
    margin-top: 76px;
  }

  .atmp-guide h1.guide-title {
    margin-top: 100px;
  }

  .sub-header-cta {
    display: none;
  }
}

@media (min-width: 1140px) {
  .news-item {
    flex-direction: row;
  }

  .news-item .news-thumb {
    width: 21%;
  }
  .event-blocks {
    max-width: 840px;
    margin: 0 auto;
  }

  .event-card {
    border: none;
    display: flex;
    align-items: center;
    width: 100%;
  }

  .event-card .event-block-wrapper a.read-more,
  .event-card .event-block-wrapper .news-item a,
  .news-item .event-card .event-block-wrapper a {
    float: none;
  }

  .event-card .headline-block h3 {
    text-align: left;
  }

  .event-blocks > a {
    margin: 0 auto;
  }

  .event-item .event-date,
  .event-item .event-place,
  .event-item .event-organizer {
    display: inline-block;
    margin-right: 15px;
  }

  .calendar-icon {
    width: 20%;
  }

  .calendar-icon .inner-calendar {
    width: 100px;
    height: 100px;
  }

  .calendar-icon .inner-calendar i {
    font-size: 50px;
  }

  .event-content {
    width: 80%;
    border: none;
  }

  .event-content .headline-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
    margin-top: 0;
  }

  .event-content .headline-block a {
    text-align: right;
    margin: 0;
    min-width: 160px;
  }

  .event-content .headline-block h3 {
    text-align: left;
    margin-bottom: 0;
  }

  .event-content .headline-block .event-type {
    width: 30%;
  }

  .event-content .headline-block .event-type p {
    margin-bottom: 10px;
  }

  .event-content .event-block-wrapper a.read-more,
  .event-content .event-block-wrapper .news-item a,
  .news-item .event-content .event-block-wrapper a {
    float: none;
  }

  div.event-archive-item {
    display: flex;
    border: none;
    max-width: 840px;
    margin: 10px auto 20px;
  }

  .main-event .cta.button.event,
  .main-event .button.cta.event,
  .main-event button.cta.event {
    font-size: 14px;
  }
  .single-event {
    padding: 0;
  }

  .events-archive {
    width: unset;
  }

  .events-archive .main-event {
    display: flex;
  }

  .events-archive .main-event .inner-event {
    width: 46%;
    padding: 20px;
  }

  .events-archive .main-event aside {
    width: 25%;
    margin-top: 90px;
    padding: 20px;
  }

  .events-archive .main-event aside .sub-menu {
    margin-top: 20px;
  }

  .events-archive .event-date,
  .events-archive .event-place,
  .events-archive .event-organizer {
    display: block;
  }

  .events-archive .main-event aside:last-child {
    width: 29%;
  }
}

/* ======================================
   DESKTOP OVERRIDES (min-width: 1141px)
   ====================================== */

@media (min-width: 1141px) {
  .navigation-wrapper {
    flex: 1;
    justify-content: flex-start;
  }

  .navigation-wrapper .title-wrapper img {
    max-height: 60px;
  }

  .navigation-wrapper i.fa-bars {
    display: none;
  }

  #mobile-nav {
    display: none !important;
  }

  .calendar-icon {
    height: 100%;
  }

  #main-nav {
    display: flex;
    align-items: center;
    height: 48px;
    position: relative;
  }

  #main-nav .main-menu {
    display: flex;
    height: 100%;
    flex-direction: row;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  #main-nav .main-menu > li {
    position: relative;
  }

  #main-nav > ul > li {
    line-height: 48px;
    position: relative;
    background-color: var(--color-white);
  }

  #main-nav > ul > li > a {
    display: block;
    padding: 0 10px;
    color: var(--color-text);
    font-weight: 400;
    font-size: 17px;
    text-decoration: none;
  }

  #main-nav > ul > li > a:hover {
    color: black;
  }

  /* =====================================================
     ACCORDION MENU SYSTEM
     - First dropdown: appears on hover (standard)
     - Deeper levels: click-to-expand accordion
     ===================================================== */

  /* First-level dropdown */
  #main-nav > ul > li > ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    background: var(--color-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 280px;
    padding: 10px 0;
    z-index: 1000;
  }

  /* Dropdown opens on click (JS adds .dropdown-open) */
  #main-nav > ul > li.dropdown-open > ul.sub-menu {
    display: block;
  }

  /* ── Second-level items (inside dropdown) ── */
  #main-nav > ul > li > ul.sub-menu > li {
    float: none;
    width: 100%;
    background: var(--color-white);
    transition: background-color 0.15s ease;
  }

  #main-nav > ul > li > ul.sub-menu > li:hover {
    background: var(--color-bg-alt);
  }

  #main-nav > ul > li > ul.sub-menu > li > a {
    display: block;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
    line-height: 1.4;
    height: auto;
    text-decoration: none;
  }

  /* Items with children: flex row so link + toggle sit side by side */
  #main-nav ul.sub-menu li.menu-item-has-children {
    display: flex;
    flex-wrap: wrap;
  }

  #main-nav ul.sub-menu li.menu-item-has-children > a {
    flex: 1;
    min-width: 0;
  }

  /* All sub-menus below the first dropdown: hidden, inline */
  #main-nav ul.sub-menu ul.sub-menu {
    display: none;
    flex-basis: 100%;
    position: relative;
    background: var(--color-bg-alt);
    padding: 5px 0 5px 15px;
    border-left: 3px solid var(--color-primary);
  }

  /* Click-to-expand: shown when parent has .submenu-open */
  #main-nav ul.sub-menu li.submenu-open > ul.sub-menu {
    display: block;
  }

  /* ── Toggle button (injected by JS) ── */
  .desktop-submenu-toggle {
    width: 44px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    border-left: 1px solid var(--color-border-light);
    cursor: pointer;
    color: var(--color-text-muted);
    transition:
      background 0.15s ease,
      color 0.15s ease;
    flex-shrink: 0;
    padding: 0;
  }

  .desktop-submenu-toggle:hover {
    background: var(--color-bg-alt);
    color: var(--color-primary);
  }

  .desktop-submenu-toggle::after {
    content: "";
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    transition: transform 0.2s ease;
  }

  /* Rotate arrow when open */
  li.submenu-open > .desktop-submenu-toggle::after {
    transform: rotate(45deg);
  }

  li.submenu-open > .desktop-submenu-toggle {
    color: var(--color-primary);
  }

  /* ── Third-level items ── */
  #main-nav ul.sub-menu ul.sub-menu > li {
    float: none;
    width: 100%;
    line-height: 1.5;
    background: transparent;
  }

  #main-nav ul.sub-menu ul.sub-menu > li > a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 400;
    color: var(--color-text);
    line-height: 1.5;
    height: auto;
    text-decoration: none;
    transition:
      background 0.15s ease,
      color 0.15s ease;
  }

  #main-nav ul.sub-menu ul.sub-menu > li > a:hover {
    background: var(--color-primary-bg);
    color: var(--color-primary);
  }

  /* ── Fourth level — slightly different ── */
  #main-nav ul.sub-menu ul.sub-menu ul.sub-menu {
    border-left-color: var(--color-text-muted);
    background: var(--color-white);
    padding-left: 12px;
  }

  #main-nav ul.sub-menu ul.sub-menu ul.sub-menu > li > a {
    font-size: 13px;
    padding: 8px 16px;
  }

  /* ── Fifth level ── */
  #main-nav ul.sub-menu ul.sub-menu ul.sub-menu ul.sub-menu {
    border-left-color: var(--color-primary);
    background: var(--color-bg-alt);
  }

  #main-nav ul.sub-menu ul.sub-menu ul.sub-menu ul.sub-menu > li > a {
    font-size: 12px;
    padding: 6px 12px;
  }

  /* Remove old arrow styles */
  #main-nav li li a:before {
    display: none;
  }

  /* Remove ::after arrows from links (toggle button replaces them) */
  #main-nav ul.sub-menu li.menu-item-has-children > a::after {
    display: none;
  }

  .header-buttons {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }

  .header-buttons .login-partner {
    display: block;
  }

  .header-buttons .partner-login {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: var(--color-text);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .header-buttons .partner-login:hover {
    background: var(--color-primary);
    color: var(--color-white);
  }

  .sub-header-inner {
    justify-content: space-between;
    margin: 0 auto;
  }

  .sub-header .search-icon {
    right: 56px;
  }

  .sub-header .search-submit {
    padding: 10px 18px;
  }

  .sub-header-cta .partner-cta {
    padding: 10px 20px;
    font-size: 13px;
    letter-spacing: 0.5px;
  }

  /* Hero desktop styles */
  .hero-background {
    max-width: 1444px;
    left: 50%;
    transform: translateX(-50%);
  }

  .hero-wrapper .hero-content {
    position: absolute;
    left: max(0px, calc(50% - 722px));
    top: 0;
    width: 551px;
    height: 592px;
    padding: 69px 114px;
  }

  .guide-content {
    min-height: 100svh;
  }
}

/* Flip dropdown alignment for right-side top-level items to prevent clipping */
@media (min-width: 1141px) and (max-width: 1500px) {
  #main-nav > ul > li:nth-last-child(-n + 3) > ul.sub-menu {
    left: auto;
    right: 0;
  }
}

/* ============================================
   STYLES MIGRATED FROM new-styles-old.css
   ============================================ */

/* ── 1. Body Font ── */
body,
body * {
  font-family: "Roboto", "Work Sans", sans-serif;
}

header.outer-margin {
  margin-bottom: 5px;
}

/* ── 2. Dictionary / News Styles ── */
.dictionary-single .news-wrapper h1 {
  margin-bottom: 0;
  text-transform: capitalize;
}

.dictionary-single .news-wrapper-single p {
  clear: both;
  margin-bottom: 0;
  margin-top: 5px;
}

.dictionary-single .news-wrapper-single {
  display: block;
  float: none;
  margin: 15px 0;
}

.dictionary-single .news-wrapper-single p {
  margin: 0;
}

.dictionary-single .news-wrapper-single p:nth-child(2) {
  margin-bottom: 10px;
}

.dictionary-single .news-date-single {
  margin-bottom: 10px;
}

.dictionary-single .news-wrapper h4 {
  margin-top: 0;
  margin-bottom: 40px;
  color: #3f6e8b;
}

.news-wrapper > p {
  margin-bottom: 0;
  margin-top: 5px;
  max-width: 700px;
}

.news-wrapper a > h4,
.dictionary-single .news-wrapper h4 {
  color: #3f6e8b;
  margin-top: 0;
  margin-bottom: 0;
  line-height: 25px;
  font-weight: 500;
}

.page .news-wrapper > a {
  margin-top: 50px;
  display: block;
  color: #3f6e8b;
}

.page .news-wrapper > a > h3,
.dictionary-single .news-wrapper h1 {
  color: #203746;
  margin-top: 5px;
  margin-bottom: 0;
  text-transform: capitalize;
  font-weight: 500;
  font-size: 23px;
}

.dictionary-single .news-wrapper h1 {
  padding: 0;
}

.dictionary-single.news-single .news-date-single {
  position: static;
  float: none;
  margin-bottom: 24px;
}

.dictionary-single .news-date-single em {
  float: none;
  margin-top: 0;
  color: #3f6e8b;
}

/* ── 3. Word Tooltip Styles ── */
.word-tooltip {
  --word-tooltip-background: #d8e3e9;
  --word-tooltip-color: #203746;
  --word-tooltip-color-secondary: #3f6e8b;
}

body span.word-dictionary,
body span.word-dictionary-synonym {
  color: #2d708f;
}

body .word-dictionary-notice-icon {
  display: none;
}

body div.word-tooltip h3 {
  margin-bottom: 0;
}

body div.word-tooltip h3 strong {
  font-weight: 400;
}

body div.word-tooltip h4 {
  margin-top: 0;
  line-height: 20px;
}

body div.word-tooltip .permalink i {
  display: inline-block;
  padding-left: 15px;
}

body .word-tooltip .word-synonyms {
  font-size: 17px;
  margin-bottom: 10px;
  clear: both;
}

body .word-tooltip .excerpt,
body .word-tooltip .excerpt-sw {
  font-size: 12px;
  line-height: 1.3;
  font-family: "Roboto", serif;
  font-weight: 400;
}

/* ── 4. Login Partner External ── */
.page .login-partner.external {
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  position: absolute;
  top: 26px;
  text-decoration: none;
  height: 42px;
  transition: none;
}

.page .login-partner.external button {
  padding: 0;
  margin: 0;
  min-width: auto;
}

.login-partner.external i {
  display: none;
}

.page a.external::after {
  position: static;
  margin-left: 0;
}

.breadcrumbs a.external::after,
.m-breadcrums a.external::after {
  content: "\f054";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-left: 10px;
  margin-right: 10px;
  color: var(--color-text);
  font-size: 13px;
  position: unset;
}

.breadcrumbs a.external:last-child::after,
.m-breadcrums a.external:last-child::after {
  content: none;
}

/* ── 5. Layout Width Overrides ── */
header.outer-margin {
  max-width: 100% !important;
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 0;
}

.standard-page {
  max-width: 100%;
}

.standard-page > .border-wrapper {
  width: 100%;
  max-width: 100%;
}

.border-wrapper {
  max-width: 1180px;
  align-self: center;
}

.footer-wrapper > .soMe {
  margin-top: 30px;
  color: #ffffff;
}

.soMe > .icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.footer-wrapper > .soMe a,
.footer-wrapper > .soMe p {
  color: #ffffff;
}

.footer-wrapper > .soMe a i {
  font-weight: 400;
  display: inline-block;
  font-style: unset;
  font-size: 22px;
}

.footer-wrapper > .soMe a.external::after {
  content: none;
}

.footer-wrapper > .soMe a.external {
  text-decoration: none;
}

.page-aside {
  width: 100%;
}

/* Desktop layout - grid for sidebar + main content */
@media screen and (min-width: 1141px) {
  .standard-page > .border-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    grid-template-rows: auto;
    padding-left: 50px;
    padding-right: 50px;
  }

  .standard-page > .border-wrapper > section.breads {
    grid-column: 1 / -1;
  }

  .standard-page .page-aside {
    grid-column: 1;
  }

  .standard-page .page-main {
    grid-column: 2;
    grid-row: 2 / -1;
    min-width: 0;
    max-width: none;
    width: auto;
  }

  html {
    height: 100%;
  }

  body.page {
    min-height: 100%;
    position: relative;
    padding-bottom: 470px;
    box-sizing: border-box;
  }

  .page footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
  }
}

@media screen and (max-width: 1140px) {
  .footer-links-row {
    flex-direction: column;
  }
}

/* ── 6. Big Image Text — (rules consolidated above) ── */

/* ── WordPress Flex Group: stack on mobile ── */
@media screen and (max-width: 1140px) {
  .wp-block-group.is-layout-flex {
    flex-wrap: wrap !important;
    flex-direction: column !important;
  }
  .wp-block-group.is-layout-flex > * {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}

/* ── 7. Image Containment ── */
.page-main img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-main p img,
.page-main div img,
.page-main figure img {
  max-width: 100%;
  height: auto;
}

.page-main .wp-caption {
  max-width: 100%;
  box-sizing: border-box;
}

.page-main .wp-caption img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-main .wp-caption .wp-caption-text {
  position: relative;
  width: 100%;
  padding: 10px 0;
  background-color: transparent;
  color: #555;
  font-size: 14px;
  font-style: italic;
}

.image-wrapper,
.image-wrap {
  max-width: 100%;
  overflow: hidden;
}

.image-wrapper img,
.image-wrap img {
  max-width: 100%;
  height: auto;
  display: block;
}

.linked-text-blocks.image-grid img,
.page-main .linked-text-blocks.image-grid img {
  width: auto;
  max-width: 100%;
  height: auto;
}

.image-grid .image {
  align-items: stretch;
  justify-content: center;
}

.image-grid .image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ── 8. Text Readability ── */

.page-main h1,
.page-main h2,
.page-main h3,
.page-main h4 {
  max-width: 80ch;
}

.page-main ul:not(.process-block-container ul):not(.event-blocks ul),
.page-main ol:not(.process-block-container ol):not(.event-blocks ol) {
  max-width: 70ch;
}

.news-wrapper {
  max-width: 900px;
}

/* ── 9. Floated Image Improvements ── */
.page-main::after {
  content: "";
  display: table;
  clear: both;
}

@media screen and (min-width: 1141px) {
  .page-main img.alignleft,
  .page-main .alignleft {
    float: left;
    margin-right: 30px;
    margin-bottom: 20px;
    clear: left;
  }

  .page-main img.alignright,
  .page-main .alignright {
    float: right;
    margin-left: 30px;
    margin-bottom: 20px;
    clear: right;
  }

  .page-main .wp-caption.alignleft,
  .page-main .wp-caption.alignright {
    max-width: 45%;
  }

  .page-main .wp-caption.alignleft {
    float: left;
    margin-right: 30px;
    margin-bottom: 20px;
  }

  .page-main .wp-caption.alignright {
    float: right;
    margin-left: 30px;
    margin-bottom: 20px;
  }
}

/* ── 10. Grid System Improvements ── */
@media screen and (min-width: 1141px) {
  .grid-wrapper:not(.event-blocks) {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
  }

  .grid-wrapper:not(.event-blocks) .col3 {
    width: 100%;
    float: none;
    margin: 0;
  }

  .grid-wrapper:not(.event-blocks) .col2 {
    width: 100%;
    float: none;
    margin: 0;
  }

  .linked-text-blocks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
  }

  .linked-text-blocks .col3 {
    width: 100%;
    float: none;
    margin: 0;
  }

  .linked-text-blocks .text-block-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .linked-text-blocks .text-block-wrapper .wrapper {
    flex: 1;
    float: none;
  }
}

/* ── 11. Spacing and Margins for Wider Layouts ── */
@media screen and (min-width: 1141px) {
  .standard-page .page-main {
    padding-left: 40px;
  }

  .page-main p {
    margin-bottom: 1.2em;
    line-height: 1.7;
  }

  .page-main li {
    margin-bottom: 8px;
    line-height: 1.6;
  }

  .page-main > section,
  .page-main > .grid-wrapper,
  .page-main > .linked-text-blocks {
    margin-bottom: 40px;
  }
}

/* ── 12. Table Improvements ── */
.page-main table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.page-main th,
.page-main td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.page-main th {
  background-color: #f5f5f5;
  font-weight: 600;
}

/* ── 13. Utility Classes ── */
.page-main .full-width {
  max-width: 100%;
  width: 100%;
  clear: both;
}

.page-main .content-centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.page-main .narrow-content {
  max-width: 60ch;
}

/* ── 14. Tablet Responsive (768px – 1140px) ── */
@media screen and (min-width: 768px) and (max-width: 1140px) {
  .page-main {
    padding: 20px 30px;
  }

  .page-main p,
  .page-main li {
    max-width: 65ch;
  }

  .grid-wrapper:not(.event-blocks) {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    justify-items: center;
  }

  .grid-wrapper:not(.event-blocks) .col3,
  .grid-wrapper:not(.event-blocks) .col2 {
    width: 100%;
    float: none;
    margin: 0;
  }

  .grid-wrapper:not(.event-blocks) .col3:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 50%;
    justify-self: center;
  }

  .linked-text-blocks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    justify-items: center;
  }

  .linked-text-blocks .col3:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 50%;
    justify-self: center;
  }

  .grid-wrapper .cta,
  .grid-wrapper .button,
  .grid-wrapper a.cta,
  .linked-text-blocks .cta,
  .linked-text-blocks .button {
    justify-self: center;
    text-align: center;
  }

  .big-imgage-text-block.outer-wrapper {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 30px;
  }

  .big-imgage-text-block.outer-wrapper .image {
    width: 100%;
    min-height: 200px;
  }

  .big-imgage-text-block.outer-wrapper .content {
    width: 100%;
    padding: 25px;
    text-align: center;
  }

  .big-imgage-text-block.outer-wrapper .content h2,
  .big-imgage-text-block.outer-wrapper .content h3,
  .big-imgage-text-block.outer-wrapper .content p {
    text-align: center;
  }

  .big-imgage-text-block.outer-wrapper .content p {
    max-width: 700px;
  }

  .big-imgage-text-block.outer-wrapper .content a.cta,
  .big-imgage-text-block.outer-wrapper .content .button {
    display: inline-block;
    margin: 10px auto 0;
  }
}

/* ── 15. Mobile Responsive (≤ 767px) ── */
@media screen and (max-width: 767px) {
  .page-main {
    padding: 15px;
  }

  .grid-wrapper:not(.event-blocks) {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .grid-wrapper:not(.event-blocks) .col3,
  .grid-wrapper:not(.event-blocks) .col2 {
    width: 100%;
  }

  .big-imgage-text-block.outer-wrapper {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 20px;
  }

  .big-imgage-text-block.outer-wrapper .image {
    width: 100%;
    min-height: 180px;
  }

  .big-imgage-text-block.outer-wrapper .content {
    width: 100%;
    padding: 20px;
    text-align: center;
  }

  .big-imgage-text-block.outer-wrapper .content h2,
  .big-imgage-text-block.outer-wrapper .content h3,
  .big-imgage-text-block.outer-wrapper .content p {
    text-align: center;
  }

  .big-imgage-text-block.outer-wrapper .content p {
    max-width: 100%;
  }

  .big-imgage-text-block.outer-wrapper .content a.cta,
  .big-imgage-text-block.outer-wrapper .content .button {
    display: inline-block;
    margin: 10px auto 0;
  }

  .page-main a {
    min-height: 44px;
    align-items: center;
  }

  .page-main p,
  .page-main h1,
  .page-main h2,
  .page-main h3,
  .page-main ul,
  .page-main ol {
    max-width: 100%;
    word-wrap: break-word;
  }
}

/* ── 16. Future Partner Button Fix (1141–1191px gap) ── */
@media screen and (min-width: 1141px) and (max-width: 1191px) {
  .future-partner {
    display: block !important;
  }
}

/* ── 17. Menu Improvements ── */
/* Smooth transition for the first dropdown only */
#main-nav > ul > li > ul.sub-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;
}

#main-nav > ul > li.dropdown-open > ul.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#main-nav li a {
  transition:
    color 0.15s ease,
    background-color 0.15s ease;
}

#main-nav li a:hover,
#main-nav li a:focus {
  background-color: #f5f5f5;
}

@media screen and (max-width: 1140px) {
  #mobile-nav li a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 12px 20px;
  }

  #mobile-nav li ul {
    transition: max-height 0.3s ease;
    overflow: hidden;
  }
}

/* ── 18. Single Initiative ── */

.initiative-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}

.initiative-header__logo {
  flex: 0 0 auto;
}

.initiative-header__logo img {
  max-width: 200px;
  max-height: 80px;
  object-fit: contain;
}

.initiative-header__info h1 {
  margin: 0 0 8px;
}

.initiative-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 14px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.initiative-status--current {
  background: #e6f4ea;
  color: #1e7e34;
}

.initiative-status--finalized {
  background: #f0f0f0;
  color: #666;
}

.initiative-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 16px 20px;
  background: #f8f9fa;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  margin-bottom: 30px;
  font-size: 0.9rem;
}

.initiative-meta-category {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
  background: #e8e8e8;
  color: #4a6785;
}

.initiative-meta-category--primary {
  background: #e8f0fe;
  color: #1a56db;
  font-weight: 600;
}

.initiative-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #555;
}

.initiative-meta-item i {
  color: #999;
}

.initiative-meta-item a {
  color: #0073aa;
  text-decoration: none;
}

.initiative-meta-item a:hover {
  text-decoration: underline;
}

.initiative-content {
  margin-bottom: 40px;
  line-height: 1.7;
}

.initiative-partners {
  margin-bottom: 40px;
  padding-top: 24px;
  border-top: 1px solid #e0e0e0;
}

.initiative-partners h3 {
  margin-bottom: 16px;
}

.initiative-partners__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.initiative-partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px;
  background: #f8f9fa;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  min-width: 120px;
  text-align: center;
}

.initiative-partner img {
  max-width: 80px;
  max-height: 50px;
  object-fit: contain;
}

.initiative-partner__name {
  font-size: 0.82rem;
  color: #555;
}

.initiative-partner__name a {
  color: #0073aa;
  text-decoration: none;
}

.initiative-partner__name a:hover {
  text-decoration: underline;
}

.initiative-resources {
  margin-bottom: 40px;
  padding-top: 24px;
  border-top: 1px solid #e0e0e0;
}

.initiative-resources h3 {
  margin-bottom: 16px;
}

.initiative-resources__list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.initiative-resource {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
}

.initiative-resource:hover {
  background: #e8f4fd;
  border-color: #0073aa;
  color: #0073aa;
}

.initiative-resource i {
  font-size: 1.1rem;
}

@media screen and (max-width: 768px) {
  .initiative-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .initiative-meta-bar {
    flex-direction: column;
    gap: 10px;
  }

  .initiative-partner {
    min-width: 90px;
    padding: 8px;
  }
}

/* ── 19. Print Styles ── */
@media print {
  .page-main {
    max-width: 100%;
    width: 100%;
  }

  .page-main img {
    max-width: 100%;
    page-break-inside: avoid;
  }

  .page-main p,
  .page-main li {
    max-width: 100%;
  }

  #main-nav,
  #mobile-nav,
  .page-aside {
    display: none;
  }
}

/* ═══ Event Single V2 ═══ */

.event-single-v2 {
  margin-top: 25px;
}

.event-single__banner {
  background: #d32f2f;
  color: #fff;
  text-align: center;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 600;
  margin-bottom: 24px;
}

.event-single__header {
  margin-top: 20px;
  margin-bottom: 24px;
}

.event-single__category {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 14px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #eef3f8;
  color: #1e3a5f;
  margin-bottom: 12px;
}

.event-single__category--conference {
  background: #eef3f8;
  color: #1e3a5f;
}

.event-single__category--workshop {
  background: #eef8f0;
  color: #2d6e3e;
}

.event-single__category--webinar {
  background: #f3eef8;
  color: #6a1b9a;
}

.event-single__category--networking {
  background: #fff3e0;
  color: #e65100;
}

.event-single__header h1 {
  margin: 0 0 12px;
  font-size: 2rem;
  line-height: 1.2;
}

/* Title + Share on one row — share pinned to the right edge, matching the
   news single template. */
.event-single__title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.event-single__title-row h1 {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}

.event-single__title-share {
  flex: 0 0 auto;
  padding-top: 6px;
}

.event-single__meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 16px 20px;
  background: #f8f9fa;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  font-size: 0.9rem;
}

.event-single__date,
.event-single__place,
.event-single__organizer {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #555;
}

.event-single__meta-bar i {
  color: #999;
}

.event-single__place a {
  color: inherit;
  text-decoration: none;
}

.event-single__place a:hover {
  text-decoration: underline;
  color: #1e3a5f;
}

/* ─── Signup Button ─── */

.event-single__signup-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: #1e3a5f;
  color: #fff;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  margin-bottom: 24px;
  transition: background 0.2s ease;
}

.event-single__signup-btn:hover {
  background: #2a4f7f;
  color: #fff;
}

.event-single__signup-btn--closed {
  background: #999;
  cursor: default;
  pointer-events: none;
}

.event-single__signup-btn--info {
  background: #0073aa;
}

.event-single__signup-btn--info:hover {
  background: #005c8a;
}

/* ─── Share Bar ─── */

.event-single__share-bar {
  margin-bottom: 20px;
}

/* ─── Hero Image ─── */

.event-single__hero {
  margin-bottom: 24px;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
}

.event-single__hero img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ─── Ingress ─── */

.event-single__ingress {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 24px;
  color: #333;
}

/* ─── Content ─── */

.event-single__content {
  margin-bottom: 40px;
  line-height: 1.7;
}

.event-single__content p {
  margin-bottom: 16px;
}

/* ─── Related Events ─── */

.event-single__related {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #e0e0e0;
}

.event-single__related h3 {
  margin-bottom: 16px;
}

.event-single__related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.event-single__related-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.event-single__related-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.event-single__related-img {
  height: 140px;
  overflow: hidden;
}

.event-single__related-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-single__related-info {
  padding: 14px;
}

.event-single__related-date {
  font-size: 0.82rem;
  color: #777;
}

.event-single__related-info h4 {
  margin: 6px 0 0;
  font-size: 1rem;
  line-height: 1.3;
}

/* ─── Event Archive V2 ─── */

.event-archive-v2 h1 {
  margin-bottom: 24px;
}

/* ─── Event Single + Archive Mobile ─── */

@media screen and (max-width: 767px) {
  .event-single-v2 {
    padding: 0 15px;
  }

  .event-single__header h1 {
    font-size: 1.6rem;
  }

  .event-single__meta-bar {
    flex-direction: column;
    gap: 10px;
  }

  .event-single__signup-btn {
    width: 100%;
    justify-content: center;
  }

  .event-single__related-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Organization Single Page ── */
.org-single__banner {
  height: 280px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: -60px;
  position: relative;
}
.page-main .org-single__banner img {
  margin: auto;
  width: auto;
  height: 100%;
  object-fit: contain;
  padding-bottom: 34px;
}
.org-single__header {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.org-single__logo {
  flex: 0 0 120px;
  width: 120px;
  height: 120px;
  border-radius: 12px;
  border: 4px solid #fff;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.org-single__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.org-single__logo--placeholder {
  color: #ccc;
  font-size: 48px;
}
.org-single__header-info {
  flex: 1;
  padding-bottom: 4px;
}
.org-single__header-info h1 {
  margin: 0 0 8px;
  font-size: 32px;
  line-height: 0.5;
  margin-left: -24px;
  padding-left: 29px;
}
.org-single__header-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-size: 14px;
  color: #646970;
}
.org-single__sector {
  display: inline-block;
  padding: 3px 12px;
  background: var(--color-accent, #ffc556);
  color: var(--color-text, #1d2327);
  border-radius: 20px;
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.org-single__location i,
.org-single__founded i {
  margin-right: 4px;
}
.org-single__taxonomy-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.org-single__tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
}
.org-single__tag--vc {
  background: #eef3f8;
  color: #1e3a5f;
}
.org-single__tag--mod {
  background: #f3eef8;
  color: #5a2d82;
}
.org-single__description {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 32px;
  max-width: 800px;
}
.org-single__info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}
.org-single__info-card {
  background: #f9f9f9;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 20px 24px;
}
.org-single__info-card h3 {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 600;
  color: #1d2327;
}
.org-single__info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}
.org-single__info-item:last-child {
  margin-bottom: 0;
}
.org-single__info-item i {
  flex: 0 0 18px;
  color: #646970;
  margin-top: 3px;
  font-size: 14px;
}
.org-single__info-item a {
  color: #2271b1;
  text-decoration: none;
}
.org-single__info-item a:hover {
  text-decoration: underline;
}
.org-single__members {
  margin-bottom: 32px;
}
.org-single__members h3 {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 600;
}
.org-single__members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.org-single__member-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #f9f9f9;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
}
.org-single__member-avatar {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
}
.org-single__member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.org-single__member-name {
  font-weight: 500;
  font-size: 14px;
}
.org-single__member-role {
  font-size: 12px;
  color: #646970;
  text-transform: capitalize;
}
.org-single__social {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.org-single__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #f0f0f1;
  border-radius: 50%;
  color: #1d2327;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.2s;
}
.org-single__social a:hover {
  background: var(--color-accent, #ffc556);
  color: var(--color-text, #1d2327);
}

/* ── Organization Posts ── */

.org-single__posts {
  margin-top: 40px;
}

.org-single__posts h2 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e8e8e8;
}

.org-single__posts-section {
  margin-bottom: 24px;
}

.org-single__posts-all {
  margin: 12px 0 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 14px;
}

/* Old-event cards are in the DOM but hidden until the toggle flips
   .is-showing-old on the surrounding section. Compound selector keeps
   our rule more specific than the base .org-single__post-card below. */
.org-single__post-card.org-single__post-card--old {
  display: none;
}
.org-single__posts-section.is-showing-old .org-single__post-card.org-single__post-card--old {
  display: flex;
}

.org-single__posts-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  color: var(--color-primary, #1e3a5f);
  cursor: pointer;
  font-weight: 600;
}
.org-single__posts-toggle:hover {
  background: #f0f0f1;
}

.org-single__posts-section h3 {
  font-size: 1rem;
  color: #555;
  margin-bottom: 12px;
}

.org-single__posts-section h3 i {
  margin-right: 8px;
  color: #999;
}

.org-single__posts-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.org-single__post-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: #f8f9fa;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  text-decoration: none !important;
  color: inherit;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.org-single__post-card:hover {
  border-color: #1e3a5f;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.org-single__post-thumb {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
}

.org-single__post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.org-single__post-thumb--icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8e8e8;
}

.org-single__post-thumb--icon i {
  font-size: 1.2rem;
  color: #999;
}

.org-single__post-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.org-single__post-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: #1d2327;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.org-single__post-date {
  font-size: 0.8rem;
  color: #999;
}

@media (max-width: 767px) {
  .org-single__banner {
    height: 180px;
    margin-bottom: -40px;
  }
  .org-single__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .org-single__logo {
    width: 80px;
    height: 80px;
    flex: 0 0 80px;
  }
  .org-single__header-info h1 {
    font-size: 24px;
  }
  .org-single__info-grid {
    grid-template-columns: 1fr;
  }
  .org-single__members-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   WORKING GROUP — Single Template
   ===================================================== */

.wg-single__header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.wg-single__logo {
  flex: 0 0 120px;
  max-width: 120px;
}

.wg-single__logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 8px;
}

.wg-single__header-info {
  flex: 1 1 auto;
  min-width: 200px;
}

.wg-single__header-info h1 {
  margin: 0 0 8px;
}

.wg-single__status {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 12px;
  background: #e8ebf5;
  color: #3a4a7a;
}

.wg-single__status--forming {
  background: #e0f1ff;
  color: #0a4b85;
}

.wg-single__status--active {
  background: #dff7e2;
  color: #0a6a1e;
}

.wg-single__status--paused {
  background: #fff1d6;
  color: #8a5a00;
}

.wg-single__status--closed {
  background: #eeeeee;
  color: #666;
}

/* Quote-style ingress (reuses quote-block classes) */
.wg-single__ingress {
  margin: 30px 0;
}

/* Meta bar */
.wg-single__meta-bar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 18px;
  background: var(--color-bg, #f8f9fa);
  border-radius: 8px;
  margin-bottom: 32px;
}

.wg-single__meta-item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 14px;
}

.wg-single__meta-item i {
  color: var(--color-primary, #1e3a5f);
}

.wg-single__meta-item strong {
  margin-right: 4px;
}

.wg-single__topic,
.wg-single__tag {
  display: inline-block;
  padding: 3px 10px;
  margin-right: 4px;
  font-size: 12px;
  background: #e5e7eb;
  color: #374151;
  border-radius: 12px;
}

.wg-single__topic--primary {
  background: var(--color-accent, #FFC556);
  color: #000;
  font-weight: 600;
}

.wg-single__lang {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-right: 6px;
}

.wg-single__lang svg {
  border-radius: 2px;
  border: 1px solid rgba(0,0,0,0.1);
}

.wg-single__lang-label {
  font-size: 12px;
  color: #555;
}

/* Structured description */
.wg-single__description {
  margin-bottom: 40px;
}

.wg-single__desc-section {
  margin-bottom: 24px;
}

.wg-single__desc-section h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: var(--color-primary, #1e3a5f);
}

.wg-single__desc-section p {
  margin: 0;
  line-height: 1.6;
}

/* Contacts sections */
.wg-single__contacts-section {
  margin-bottom: 40px;
}

.wg-single__contacts-section h2 {
  margin: 0 0 16px;
}

.wg-contact__details {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  row-gap: 6px;
  margin: 12px 0;
  padding: 14px 0;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}

.wg-contact__details dt {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #888;
  font-weight: 500;
  align-self: center;
}

.wg-contact__details dd {
  margin: 0;
  font-size: 13px;
  color: #222;
  line-height: 1.4;
  align-self: center;
}

/* Contact social icons on the single WG page — match Contacts block exactly.
   The .contacts-block__social sizing/colors come from the Contacts block's
   plugin style.css (enqueued by the template). We only neutralise the
   theme-wide `.page-main a { min-height: 44px }` touch-target rule that
   would otherwise stretch these fixed-size circles on mobile. */
.page-main .contacts-block__social {
  min-height: 0;
}

/* Keep name/title/etc. tight — the contacts block normally styles these too */
.wg-single__contacts-section .contacts-block__name {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
}

.wg-single__contacts-section .contacts-block__title {
  margin: 0 0 6px;
  font-size: 13px;
  color: #555;
}

.wg-single__contacts-section .contacts-block__email,
.wg-single__contacts-section .contacts-block__phone {
  margin: 2px 0;
  font-size: 13px;
}

.wg-single__contacts-section .contacts-block__email a,
.wg-single__contacts-section .contacts-block__phone a {
  color: var(--color-primary, #1e3a5f);
  text-decoration: none;
}

.wg-single__contacts-section .contacts-block__email a:hover,
.wg-single__contacts-section .contacts-block__phone a:hover {
  text-decoration: underline;
}

.wg-single__contacts-section .contacts-block__card {
  padding: 16px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 12px;
}

.wg-single__contacts-section .contacts-block__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.wg-single__contacts-section .contacts-block.contacts-block--cards .contacts-block__card {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  flex: 1 1 100%;
  box-sizing: border-box;
}

@media (max-width: 782px) {
  .wg-single__contacts-section .contacts-block__grid {
    display: block;
  }
  .wg-single__contacts-section .contacts-block.contacts-block--cards .contacts-block__card {
    width: 100%;
    margin-bottom: 12px;
  }
  .wg-single__contacts-section .contacts-block.contacts-block--cards .contacts-block__card:last-child {
    margin-bottom: 0;
  }
}

.wg-single__contacts-section.wg-single__primary-contact .contacts-block__grid,
.wg-single__primary-contact .contacts-block__grid {
  grid-template-columns: minmax(260px, 360px);
}

/* List layout for other contacts — horizontal, compact */
.wg-single__other-contacts .contacts-block__grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wg-single__other-contacts .contacts-block__card {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.wg-single__other-contacts .contacts-block__info {
  flex: 1 1 auto;
  min-width: 200px;
}

/* Resources */
.wg-single__resources {
  margin-bottom: 40px;
}

.wg-single__resources-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wg-single__resources-list a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  color: var(--color-primary, #1e3a5f);
  text-decoration: none;
  transition: background 0.15s;
}

.wg-single__resources-list a:hover {
  background: #eef3f8;
}

.wg-single__resources-list i {
  color: var(--color-primary, #1e3a5f);
}

/* WG News/Events lists */
.wg-single__news,
.wg-single__events {
  margin-bottom: 40px;
}

.wg-single__news-list,
.wg-single__events-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wg-single__news-list a,
.wg-single__events-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  color: inherit;
  text-decoration: none;
}

.wg-single__news-list a:hover,
.wg-single__events-list a:hover {
  border-color: var(--color-primary, #1e3a5f);
}

.wg-single__news-date,
.wg-single__event-date {
  margin-left: auto;
  font-size: 12px;
  color: #666;
}

@media (max-width: 768px) {
  .wg-single__header {
    flex-direction: column;
    align-items: flex-start;
  }
  .wg-single__meta-bar {
    flex-direction: column;
    gap: 10px;
  }
}
