/* WP-2139: shared styles for the claims-period launch. Colours follow the How to claim guide. */
:root {
  --gp-blue: #4285f4;
  --gp-red: #db4437;
  --gp-yellow: #f4b400;
  --gp-green: #0f9d58;
  --gp-dark: #202124;
  --gp-dark-box: #2a2b2e;
}

/* "Claim your payment" button, used at the top and end of every page */
.claim-cta-wrap { margin: 24px 0; }
.claim-cta-wrap--center { text-align: center; }
a.claim-cta {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--gp-red);
  color: #fff !important;
  font-family: "Roboto", Sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none !important;
}
a.claim-cta:hover, a.claim-cta:focus-visible { background: #b8372c; }
a.claim-cta:focus-visible { outline: 3px solid var(--gp-yellow); outline-offset: 2px; }
.claim-cta-note { margin: 8px 0 0; font-size: 15px; }

/* highlighted banner, e.g. the top of the FAQ page */
.claim-banner {
  margin: 0 0 32px;
  padding: 20px 24px;
  border-left: 6px solid var(--gp-green);
  border-radius: 12px;
  background: #e8f5ee;
}
.claim-banner p { margin: 0 0 12px; }
.claim-banner .claim-cta-wrap { margin: 12px 0; }

/* plain text links inside copy */
.gp-copy a { color: #1e73be; text-decoration: underline; }

/* About Us photo */
.gp-portrait { margin: 0 0 16px; max-width: 300px; }
.gp-portrait img { display: block; width: 100%; height: auto; border-radius: 12px; }
.gp-portrait figcaption { margin-top: 6px; font-size: 14px; color: #555; }

/* FAQ: The Settlement section in green */
.elementor-201 .elementor-element.elementor-element-a4b81ff .elementor-heading-title { color: var(--gp-green); }
.elementor-201 .elementor-element.elementor-element-5bbbcbd .elementor-tab-title { background-color: var(--gp-green); }
/* FAQ questions are h3 now; keep the old div size instead of the theme's h3 size */
.elementor-201 .elementor-accordion h3.elementor-tab-title { font-size: inherit; }

/* Header: the menu button was sized for "Claim Here"; let it fit "Claim your payment" */
.elementor-nav-menu .menu-item-681 > a.elementor-item { width: auto !important; padding-left: 16px !important; padding-right: 16px !important; }

/* New containers added for WP-2139 have no Elementor per-element CSS: line them up with the page content */
.elementor .elementor-element.elementor-element-c0a1b21,
.elementor .elementor-element.elementor-element-c0a1b23,
.elementor .elementor-element.elementor-element-a7c4e21,
.elementor .elementor-element.elementor-element-f4q0b01 { --display: flex; --flex-direction: column; --padding-left: clamp(16px, 6vw, 80px); --padding-right: clamp(16px, 6vw, 80px); padding-left: clamp(16px, 6vw, 80px) !important; padding-right: clamp(16px, 6vw, 80px) !important; }

/* Header menu (WP-2139 client review). Wide screens: logo and full menu share one row
   without running off the right edge. Below 1200px: logo, "Claim your payment" and a
   menu toggle; the full menu opens as a drop-down (assets/js/site-nav.js). */
.gp-nav-bar { display: none; }

@media (min-width: 1200px) {
  .elementor-10 .elementor-element.elementor-element-5561a55 > .e-con-inner { flex-wrap: nowrap; align-items: center; padding-left: 24px; padding-right: 24px; }
  .elementor-10 .elementor-element.elementor-element-1ec0670 { --width: auto; flex: 0 1 240px; min-width: 180px; margin-right: 24px; }
  .elementor-10 .elementor-element.elementor-element-9328f79 nav.elementor-nav-menu--main { display: flex; justify-content: flex-end; }
  .elementor-10 .elementor-element.elementor-element-714c03f img { width: 100%; max-width: 240px; }
  .elementor-10 .elementor-element.elementor-element-e5466b5 { --width: auto; flex: 1 1 auto; min-width: 0; align-items: flex-end; }
  .elementor-10 .elementor-element.elementor-element-9328f79 .elementor-nav-menu--main .elementor-nav-menu { justify-content: flex-end; flex-wrap: nowrap; }
  .elementor-10 .elementor-element.elementor-element-9328f79 .elementor-nav-menu .elementor-item { font-size: 16px; }
  .elementor-10 .elementor-element.elementor-element-9328f79 .elementor-nav-menu--main .elementor-item { padding-left: .55em; padding-right: .55em; }
  li.menu-item.menu-item-681 a { margin-left: 16px; white-space: nowrap; }
}

@media (max-width: 1199px) {
  .gp-nav-js .elementor-element.elementor-element-5561a55 { position: relative; }
  .gp-nav-js .elementor-element.elementor-element-5561a55 > .e-con-inner { flex-wrap: nowrap !important; align-items: center; gap: 12px; padding: 0 16px; }
  .gp-nav-js .elementor-element.elementor-element-1ec0670 { --width: auto; flex: 0 1 220px; min-width: 0; }
  .gp-nav-js .elementor-element.elementor-element-714c03f > .elementor-widget-container { margin: 0 !important; }
  .gp-nav-js .elementor-element.elementor-element-714c03f img { width: 100% !important; max-width: 220px; }
  .gp-nav-js .elementor-element.elementor-element-e5466b5 { --width: auto; flex: 0 0 auto; width: auto !important; margin-left: auto; align-items: flex-end; }
  /* the drop-down spans the whole header, not just the menu column */
  .gp-nav-js .elementor-element.elementor-element-e5466b5,
  .gp-nav-js .elementor-element.elementor-element-9328f79,
  .gp-nav-js .elementor-element.elementor-element-9328f79 > .elementor-widget-container { position: static !important; }
  .gp-nav-js .elementor-element.elementor-element-9328f79 { width: auto !important; }
  .gp-nav-js .elementor-element.elementor-element-9328f79 > .elementor-widget-container { margin: 0 !important; }

  .gp-nav-js .gp-nav-bar { display: flex; align-items: center; gap: 8px; }
  a.claim-cta.gp-nav-bar-cta { padding: 10px 16px; font-size: 15px; white-space: nowrap; }
  .gp-menu-toggle {
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    width: 44px; height: 44px; padding: 0; border: 1px solid #d6d6d6 !important; border-radius: 8px; background: #fff !important; cursor: pointer;
  }
  .gp-menu-toggle span { display: block; width: 22px; height: 2px; border-radius: 1px; background: #646464; transition: transform .2s, opacity .2s; }
  .gp-nav-open .gp-menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .gp-nav-open .gp-menu-toggle span:nth-child(2) { opacity: 0; }
  .gp-nav-open .gp-menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .gp-menu-toggle:focus-visible { outline: 3px solid var(--gp-yellow); outline-offset: 2px; }

  .gp-nav-js nav.elementor-nav-menu--main { display: none; }
  .gp-nav-open nav.elementor-nav-menu--main {
    display: block; position: absolute; top: 100%; left: 0; right: 0; z-index: 100;
    background: #fff; box-shadow: 0 10px 14px rgba(0, 0, 0, .15);
  }
  .gp-nav-open .elementor-nav-menu { flex-direction: column; flex-wrap: nowrap !important; }
  .gp-nav-open .elementor-nav-menu > li { width: 100%; border-top: 1px solid #eee; }
  .gp-nav-open .elementor-nav-menu > li::after, .gp-nav-open .elementor-nav-menu > li::before { display: none !important; }
  .gp-nav-open .elementor-nav-menu > li.menu-item-681 { display: none; }
  .gp-nav-open .elementor-nav-menu .elementor-item { padding: 14px 24px !important; font-size: 17px !important; }
}

@media (max-width: 400px) {
  .gp-nav-js .elementor-element.elementor-element-5561a55 > .e-con-inner { gap: 8px; padding: 0 12px; }
  a.claim-cta.gp-nav-bar-cta { padding: 9px 12px; font-size: 14px; }
}

/* About Us: Professor Rodger's photo beside his biography, like the team rows below (WP-2139 client review) */
.gp-rodger { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.gp-rodger .gp-portrait { margin: 0; }
.gp-rodger .gp-portrait img { aspect-ratio: 1; object-fit: cover; object-position: center 10%; }
@media (min-width: 768px) {
  .gp-rodger { flex-direction: row; align-items: flex-start; gap: 40px; }
  .gp-rodger-photo { flex: 0 0 300px; }
  .gp-rodger-bio { flex: 1 1 auto; min-width: 0; }
}
