@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&family=Oswald:wght@200..700&display=swap');
/*
Title: Neutral Theme Styles for Jadu Galaxies Reusable Theme
Description: Neutral styles using grayscale palette and Open Sans/Oswald fonts
Version: 1.0
Created by: John Kelly
Last updated: 03/09/2025 10:30 // Updated date
*/

/* Brand Colours as CSS Variables */

:root {
  --white: #ffffff;
  --black: #000000;
  /* Blue Zodiac */
  --blue-50: #f0f8fe;
  --blue-100: #ddeefc;
  --blue-200: #c3e2fa;
  --blue-300: #9ad0f6;
  --blue-400: #6bb6ef;
  --blue-500: #4899e9;
  --blue-600: #337ddd;
  --blue-700: #2a68cb;
  --blue-800: #2855a5;
  --blue-900: #264982;
  --blue-950: #192a49;
  /* Pomegranate (Supporting) */
  --orange-50: #fef4ee;
  --orange-100: #fee5d6;
  --orange-200: #fbc6ad;
  --orange-300: #f89f79;
  --orange-400: #f46e43;
  --orange-500: #f1471d;
  --orange-600: #e22e14;
  --orange-700: #bc2012;
  --orange-800: #951b17;
  --orange-900: #781a16;
  --orange-950: #410909;
  /* Hollywood Cerise (Action) */
  --pink-50: #fdf2f9;
  --pink-100: #fde6f5;
  --pink-200: #fcceed;
  --pink-300: #fca5dd;
  --pink-400: #f86ec4;
  --pink-500: #f033a3;
  --pink-600: #e12189;
  --pink-700: #c3136d;
  --pink-800: #a1135a;
  --pink-900: #86154d;
  --pink-950: #52052c;
  /* Hover/Focus states */
  --black-hover: #333333;
  --white-hover: #e4e4e7;
  --blue-hover: var(--blue-700);
  --orange-hover: var(--orange-600);
  --pink-hover: var(--pink-600);
}
/* Focus outline */

*:focus, #wrapper .toggle:focus {
  outline: 2px solid var(--blue-600);
  outline-offset: 2px;
}
#wrapper .toggle:focus {
  outline: 2px solid var(--blue-600);
  outline-offset: 2px;
}
/* Base font settings */

html {
  font-size: 16px;
  font-family: 'Figtree', Arial, sans-serif !important;
}
body {
  margin: 0;
  padding: 0;
  line-height: 1.5;
  color: var(--black);
  font-family: 'Figtree', Arial, sans-serif !important;
  hyphens: none !important;
  letter-spacing: 0;
  background-color: var(--white) !important;
}
/* Typography for standard elements */

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 1rem;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 600;
  text-transform: none;
  letter-spacing: -0.025em;
}
p, li {
  margin: 0 0 1rem;
  font-family: 'Figtree', Arial, sans-serif;
  font-weight: 400;
  letter-spacing: -0.025em;
}
/* Mobile-first typography */

h1 {
  font-size: 2.25rem;
}
h2 {
  font-size: 1.5rem;
}
h3 {
  font-size: 1.25rem;
}
h4 {
  font-size: 1.125rem;
}
h5 {
  font-size: 1rem;
}
h6 {
  font-size: 0.875rem;
}
p, li {
  font-size: 1rem;
}
/* Larger breakpoint (640px) */

@media (min-width: 640px) {
  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.5rem;
  }
  h4 {
    font-size: 1.25rem;
  }
  h5 {
    font-size: 1.125rem;
  }
  h6 {
    font-size: 1rem;
  }
}
/* Add this to override CMS base heading colors */

h1, .h1, .site-header .identity__heading, h2, .form__heading, .directory-records .widget__heading, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6, .govuk-heading-xl, .govuk-heading-l, .govuk-heading-m, .govuk-heading-s {
  color: var(--blue-950) !important;
}
/* If there are any specific heading classes in the CMS that need overriding */

.page-title, .content-heading, .section-heading, .block-heading {
  color: var(--blue-950) !important;
}
/* For any WYSIWYG editor content where headings might inherit styles */

.editor h1, .editor h2, .editor h3, .editor h4, .editor h5, .editor h6 {
  color: var(--blue-950) !important;
}
/* Typography for GOV.UK-specific classes */

.govuk-heading-xl {
  font-size: 2.25rem;
  font-weight: 700;
}
.govuk-heading-l {
  font-size: 1.5rem;
  font-weight: 700;
}
.govuk-heading-m {
  font-size: 1.25rem;
  font-weight: 700;
}
.govuk-heading-s {
  font-size: 1rem;
  font-weight: 700;
}
.govuk-body {
  font-size: 1rem;
  line-height: 1.5;
}
.govuk-body-l {
  font-size: 1.25rem;
  line-height: 1.6;
  font-weight: 400;
}
.govuk-body-s {
  font-size: 0.875rem;
  line-height: 1.4;
}
.govuk-list {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  list-style-type: disc;
}
@media (min-width: 640px) {
  .govuk-heading-xl {
    font-size: 3rem;
  }
  .govuk-heading-l {
    font-size: 2rem;
  }
  .govuk-heading-m {
    font-size: 1.5rem;
  }
  .govuk-heading-s {
    font-size: 1.25rem;
  }
}
/* List styles */

.editor ul:not([class]):not([type]) li::before, .editor ul:not([class]):not([type]) .list__item::before, .list--unordered li::before, .list--unordered .list__item::before {
  background-color: var(--black);
  border: 1px solid var(--black);
  border-radius: 50%;
  content: "";
  display: block;
  height: 0.375rem;
  left: 0.75rem;
  width: 0.375rem;
}
/* Base link styles */

a {
  font-weight: 500;
  text-decoration: underline;
  color: var(--blue-950) !important;
  transition: color 0.2s ease-in-out;
}
a:hover {
  color: var(--black) !important;
}
a:visited {
  color: var(--blue-900) !important;
}
a:focus {
  outline: 2px solid var(--orange-600) !important;
  outline-offset: 2px;
}
hr {
  background-color: var(--orange-300);
  border: 0;
  height: 1px;
  margin: 1.5rem 0;
}
/* Table styles */

.data-table th, .data-table td.th, .page-content table:not([class]) th, .page-content table:not([class]) td.th {
  background-color: var(--orange-800);
  border: 1px solid var(--orange-800);
  border-bottom: 0;
  color: var(--white);
  font-weight: 600;
  padding: 0.75rem;
  text-align: left;
}
.site-main {
  margin: 0;
  z-index: 995;
}
.site-footer__text a, .site-footer__text a:visited {
  background-image: linear-gradient(to top, var(--white) 0, var(--white) 1px, transparent 1px, transparent 100%);
  background-position: 0 -2px;
  background-repeat: no-repeat;
  background-size: 0 100%;
  color: var(--white) !important;
  text-decoration: none;
  text-shadow: none;
  font-weight: 500;
}
/* == Button Styles == */

/* Base button styles */

a.button {
  font-family: 'Figtree', Arial, sans-serif !important;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  border-width: 1px;
  border-style: solid;
  border-radius: 0.375rem;
  transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
  padding: 0.5rem 1rem;
  text-decoration: none;
  display: inline-block;
}
/* Override menu toggle button */

#js-menu-toggle.button {
  border-radius: 0 !important;
}
/* Button sizes */

a.button.small {
  font-size: 0.875rem;
  padding: 0.25rem 0.75rem;
}
a.button.standard {
  font-size: 1rem;
  padding: 0.5rem 1rem;
}
a.button.large {
  font-size: 1.125rem;
  padding: 0.75rem 1.5rem;
}
/* Gray variant */

a.button.gray {
  background-color: var(--zinc-200) !important;
  color: var(--black) !important;
  border-color: var(--zinc-400);
}
a.button.gray:hover {
  background-color: var(--zinc-300) !important;
}
a.button.gray:focus {
  outline: 2px solid var(--zinc-600);
  outline-offset: 2px;
}
/* Black variant */

a.button.black {
  background-color: var(--black) !important;
  color: var(--white) !important;
  border-color: var(--black);
}
a.button.black:hover {
  background-color: var(--zinc-800) !important;
}
a.button.black:focus {
  outline: 2px solid var(--zinc-400);
  outline-offset: 2px;
}
/* White variant */

a.button.white {
  background-color: var(--white) !important;
  color: var(--black) !important;
  border-color: var(--zinc-300);
}
a.button.white:hover {
  background-color: var(--zinc-100) !important;
}
a.button.white:focus {
  outline: 2px solid var(--zinc-600);
  outline-offset: 2px;
}
/* Toggle icon */

.toggle-icon::before, .toggle-icon::after, .toggle-icon .toggle-icon__line {
  background-color: var(--blue-950);
  height: 2px;
  left: 0;
  position: absolute;
  transition: transform 0.2s ease-out;
  width: 100%;
}
/* Alerts */

.alert--warning, .alert--site-announcement {
  background-color: var(--orange-200);
  border-color: var(--orange-300);
}
.aside__section .form {
  background-color: var(--orange-100);
  padding: 1rem;
}
.aside__section .form__label {
  color: var(--blue-950);
}
/* Form buttons */

.aside__section .google-translate .goog-te-combo, .google-translate .aside__section .goog-te-combo, .aside__section .form__select {
  border-color: var(--orange-800);
}
.form__action--primary .button {
  background-color: var(--orange-500);
  color: var(--white);
  border: 1px solid var(--orange-800);
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-family: 'Figtree', Arial, sans-serif !important;
  text-transform: capitalize !important;
}
.form__action--primary .button:hover {
  background-color: var(--orange-800);
}
.form__action--primary .button:focus {
  outline: 2px solid var(--orange-400);
  outline-offset: 2px;
}
/* Navigation */

.nav--primary-navigation .button .icon {
  display: block;
  margin-top: 0.25rem;
}
@media (min-width: 640px) {
  .nav--primary-navigation .button .icon {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
  }
}
.nav--primary-navigation .button__text {
  color: var(--blue-950);
  font-weight: 700;
  letter-spacing: 0.025em !important;
  margin-top: 1.35rem;
}
.nav--primary-navigation .button:hover, .nav--primary-navigation .button:focus, .nav--primary-navigation .button:active {
  background-color: var(--orange-200) !important;
  border-color: var(--black);
  outline: 0;
}
.menu-navigation__controls .js-menu-toggle {
  background-color: var(--orange-200);
  display: block;
  font-size: 1.25rem;
  padding: 2.25rem;
  text-align: right;
  text-decoration: none;
}
.menu-navigation__controls .js-menu-toggle:hover, .menu-navigation__controls .js-menu-toggle:focus, .menu-navigation__controls .js-menu-toggle:active {
  background-color: var(--orange-900);
  color: var(--white);
}
.menu-navigation__controls .js-menu-toggle .button__text {
  color: var(--blue-950);
  display: inline-block;
  margin-left: 0.5rem;
  text-decoration: underline;
  vertical-align: middle;
}
.menu-navigation__list-container {
  background-color: var(--orange-100);
  height: calc(100% - (4.5rem + 1.125rem));
  overflow-x: hidden;
  overflow-y: auto;
  padding: 1.5rem;
}
.menu-navigation .list__link {
  background-image: linear-gradient(to top, var(--black) 0, var(--black) 1px, transparent 1px, transparent 100%);
  background-position: 0 -2px;
  background-repeat: no-repeat;
  background-size: 0 100%;
  color: var(--black);
  text-decoration: none;
  text-shadow: none;
  display: inline;
  font-size: 1.5rem;
  font-weight: 600;
}
.menu-navigation .list__link:visited {
  color: var(--black) !important;
}
.button::after, .top-task::after, .icon-ui-chevron-right-primary {
  background-image: none !important;
  background-repeat: no-repeat;
}
.identity {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  padding-left: 0;
  padding-right: 0;
}
.identity__logo {
  width: 12rem;
}
.aside.aside--sidebar a.button.button--primary.button--block {
  display: none;
  visibility: hidden;
}
.index-modular .site-main {
  margin: 0;
  padding-top: 3rem;
}
.page-heading {
  display: none;
  visibility: hidden;
}
.site-search--header {
  background-color: var(--orange-500);
  color: var(--white);
  margin: 0;
  padding: 1rem 0;
  width: 100%;
}
input::placeholder {
  color: var(--zinc-500) !important;
}
/* Search button */

.site-search--header .form__field {
  background-color: #fff;
  border: 0;
  color: var(--blue-950);
  font-size: 1.125rem;
  font-weight: 700;
  font-family: 'Figtree', Arial, sans-serif !important;
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  -webkit-transition: padding .2s ease-out;
  -o-transition: padding .2s ease-out;
  transition: padding .2s ease-out;
  white-space: nowrap;
}
.site-search--header .button {
  background-color: var(--orange-100);
  background-position: center;
  background-size: 1.5rem;
  border: 2px solid var(--orange-100);
  color: var(--orange-900);
  font-family: 'Figtree', Arial, sans-serif !important;
  margin: 0;
  padding: 0 1.5rem;
}
.site-search--header .button:hover {
  background-color: var(--orange-700);
  border-color: var(--orange-700);
  color: 2px solid var(--white);
}
.site-search--header .button:focus {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}
/* Breadcrumb */

.list--breadcrumb .list__item {
  color: var(--blue-700);
  display: inline-block;
  font-weight: 400;
  margin: 0.5rem 0;
}
.list--breadcrumb a {
  color: var(--blue-800);
  display: inline-block;
  font-weight: 500;
  text-decoration: none;
}
/* Listing styles */

.list--listing .list__item:first-child, .list--grouped .list__item:first-child, .list--rich .list__item:first-child {
  border-top: none;
}
.list--listing .list__item, .list--grouped .list__item, .list--rich .list__item {
  border-bottom: 1px solid var(--blue-300);
  font-size: 1.125rem;
  margin: 0;
  padding: 0.75rem 0;
}
.editor {
  max-width: 100%;
}
.site-main .container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding: ;
  margin-bottom: 2rem;
}
/* Footer */

.site-footer {
  background-color: var(--orange-500);
  margin: 0;
  padding-top: 2.5rem;
  text-align: center;
}
.site-footer a:visited {
  color: var(--white) !important;
}
.site-footer__group .list__link {
  background-image: linear-gradient(to top, var(--white) 0, var(--white) 1px, transparent 1px, transparent 100%);
  background-position: 0 -2px;
  background-repeat: no-repeat;
  background-size: 0 100%;
  color: var(--white) !important;
  text-decoration: none;
  text-shadow: none;
  vertical-align: middle;
}
.footer-navigation .list__item {
  margin-left: 0;
}
.footer-bottom {
  background-color: var(--orange-900);
  margin-top: 2.5rem;
}
/* Selection style */

::selection {
  background-color: var(--orange-300) !important;
  color: var(--black) !important;
}