@import url('https://fonts.googleapis.com/css?family=Lato');

:root {
  /* Original theme name: sublime atlantis */
  /* Original SCSS colors:
     $label-primary: #619BC7;
     $text-details: #619BC7;
     $theme-color: #00589B;
     $theme-color-semi-trans: #92C83E;
     $theme-button-color: #92C83E;
     $link-color: #00589B;
     $success-color: #0FA600;
     $danger-color: #CC181E;
     $warning-color: #E98300;
     $info-color: #619BC7;
     $site-header-color: #fff;
     $site-header-font-color: #444;
     $site-header-font-color-hover: $link-color;

     $border-radius: 3px;

     $h1-font-size: 50px;
     $h2-font-size: 37px;
     $h3-font-size: 28px;
     $h4-font-size: 21px;
     $h5-font-size: 16px;
     $h6-font-size: 13px;
  */

  /* Potential issues / skipped variables:
     - $feature-color / --feature-color was not provided in the original SCSS input and has been skipped.
     - $anchor-font-color-hover / --link-color-hover was not provided in the original SCSS input and has been skipped.
  */

  /* === Primary Color Palette (#00589B) === */
  --color-primary: #00589B;
  --color-primary-100: #e6f0f8;
  --color-primary-200: #c1d9ec;
  --color-primary-300: #94bcde;
  --color-primary-400: #629ed0;
  --color-primary-500: #3180c1;
  --color-primary-600: #00589B;
  --color-primary-700: #00457a;
  --color-primary-800: #003259;
  --color-primary-900: #002038;

  /* === Success Color Palette (#0FA600) === */
  --color-success: #0FA600;
  --color-success-100: #e7fae6;
  --color-success-200: #bdf2bb;
  --color-success-300: #8ee88b;
  --color-success-400: #5fde5a;
  --color-success-500: #30d42a;
  --color-success-600: #0FA600;
  --color-success-700: #0c8300;
  --color-success-800: #085f00;
  --color-success-900: #053c00;

  /* === Danger Color Palette (#CC181E) === */
  --color-danger: #CC181E;
  --color-danger-100: #fbe8e9;
  --color-danger-200: #f4bec0;
  --color-danger-300: #e99093;
  --color-danger-400: #df6165;
  --color-danger-500: #d53438;
  --color-danger-600: #CC181E;
  --color-danger-700: #a11317;
  --color-danger-800: #760e11;
  --color-danger-900: #4b090b;

  /* === Warning Color Palette (#E98300) === */
  --color-warning: #E98300;
  --color-warning-100: #fdf3e6;
  --color-warning-200: #fadbbf;
  --color-warning-300: #f6be8e;
  --color-warning-400: #f1a15d;
  --color-warning-500: #ed842c;
  --color-warning-600: #E98300;
  --color-warning-700: #b86700;
  --color-warning-800: #874c00;
  --color-warning-900: #563000;

  /* === Info Color Palette (#619BC7) === */
  --color-info: #619BC7;
  --color-info-100: #eff5fa;
  --color-info-200: #d5e5f2;
  --color-info-300: #b5d2e7;
  --color-info-400: #91bfdd;
  --color-info-500: #71add4;
  --color-info-600: #619BC7;
  --color-info-700: #467ba2;
  --color-info-800: #315b7b;
  --color-info-900: #1d3b53;

  /* === Mapped Theme Variables === */
  --label-primary: var(--color-info);
  --text-details: var(--color-info);
  --heading-color: var(--color-primary);
  --theme-button-color: #92C83E;
  --theme-button-color-hover: #78a631;
  --link-color: var(--color-primary);
  --site-header-color: #fff;
  --site-header-font-color: #444;
  --site-header-font-color-hover: var(--link-color);

  /* === Typography & Layout Variables === */
  --header-font-family: "Lato", helvetica, arial, sans-serif;
  --subheader-font-family: "Lato", helvetica, arial, sans-serif;
  --body-font-family: "Lato", helvetica, arial, sans-serif;

  --border-radius: 3px;
  --h1-font-size: 50px;
  --h2-font-size: 37px;
  --h3-font-size: 28px;
  --h4-font-size: 21px;
  --h5-font-size: 16px;
  --h6-font-size: 13px;
}

/* Base Typography Styles */
body {
  font-family: var(--body-font-family);
  color: var(--text-details);
}

h1, h2, h3, h4, h5, h6,
.mce-content-body h1, 
.mce-content-body h2, 
.mce-content-body h3, 
.mce-content-body h4, 
.mce-content-body h5, 
.mce-content-body h6 {
  font-family: var(--header-font-family);
  color: var(--heading-color);
  text-transform: none;
}

h1 { font-size: var(--h1-font-size); }
h2 { font-size: var(--h2-font-size); }
h3 { font-size: var(--h3-font-size); }
h4 { font-size: var(--h4-font-size); }
h5 { font-size: var(--h5-font-size); }
h6 { font-size: var(--h6-font-size); }

/* Cookie Banner Heading Fix */
.cookie-banner h5,
.cookie-banner h2,
#cookie-banner h5,
#cookie-banner h2,
.cookie-notice h5,
.cookie-notice h2,
#cookie-notice h5,
#cookie-notice h2,
.cc-banner h5,
.cc-banner h2,
#portal-cookie-banner h5,
#portal-cookie-banner h2,
.privacy-cookie-banner h5,
.privacy-cookie-banner h2 {
  font-size: var(--h2-font-size) !important;
  font-family: var(--subheader-font-family) !important;
  color: #ffffff !important;
}

/* Plone Toolbar Top Customization */
body.plone-toolbar-top #edit-bar #edit-zone, 
body.plone-toolbar-top #edit-bar #edit-zone .toolbar-header {
  background-color: var(--color-primary-700) !important;
}

body.plone-toolbar-top #edit-bar #edit-zone a,
body.plone-toolbar-top #edit-bar #edit-zone span,
body.plone-toolbar-top #edit-bar #edit-zone button {
  color: #ffffff !important;
}

body.plone-toolbar-top #edit-bar #edit-zone a:hover,
body.plone-toolbar-top #edit-bar #edit-zone button:hover {
  color: var(--color-primary-200) !important;
}