/* Herculean Alliance .ae and .be: the look of the former WordPress theme. Sofia Pro, navy, orange and teal. */
@font-face { font-family: 'Sofia Pro'; font-weight: 300; font-display: swap; src: url(../fonts/sofia-pro-300.woff2) format('woff2'); }
@font-face { font-family: 'Sofia Pro'; font-weight: 400; font-display: swap; src: url(../fonts/sofia-pro-400.woff2) format('woff2'); }
@font-face { font-family: 'Sofia Pro'; font-weight: 500; font-display: swap; src: url(../fonts/sofia-pro-500.woff2) format('woff2'); }
@font-face { font-family: 'Sofia Pro'; font-weight: 600; font-display: swap; src: url(../fonts/sofia-pro-600.woff2) format('woff2'); }
:root {
  --brand: #eb5a40;
  --brand-dark: #eb5a40;
  --brand-border: #b84632;
  --accent: #eb5a40;
  --accent-dark: #b84632;
  --dark: #002335;
  --teal: #5bc0cd;
  --text: #002335;
  --heading: #002335;
  --nav: #002335;
  --body-size: 18px;
  --body-line: 1.5;
  --h2-size: 32px;
  --button-size: 13px;
}
body { font-family: 'Sofia Pro', Arial, Helvetica, sans-serif; font-weight: 300; }
h1, h2, h3, h4, strong, b { font-family: 'Sofia Pro', Arial, Helvetica, sans-serif; font-weight: 600; }
main h1, main h2 { font-size: var(--h2-size); line-height: 1.2; color: var(--heading); margin: 0 0 8px; }
main h3 { font-size: 24px; line-height: 1.25; margin: 0 0 8px; }
.text a, .list a, .post__body a { color: inherit; text-decoration: underline; }
.block { padding-block: 32px; }
.container { max-width: 1040px; }

/* Header */
.site-topbar { display: flex; justify-content: flex-end; gap: 24px; padding: 6px 4%; background: #f8f9fa; font-size: 13px; }
.site-topbar a { color: #78909c; }
.site-header { background: #fff; color: var(--nav); box-shadow: none; }
.site-header__logo img { width: 167px; height: auto; }
.site-nav { margin-left: auto; }
.site-nav a { font-size: 15px; font-weight: 400; color: var(--nav); text-transform: none; }

/* Buttons */
.button { border-radius: 0; border: 2px solid transparent; font-weight: 600; font-size: var(--button-size); letter-spacing: 2px; text-transform: uppercase; text-shadow: none; padding: 12px 24px; }
.button--brand { background: var(--brand); border-color: var(--brand); color: #fff; }
.button--dark { background: var(--dark); border-color: var(--dark); color: #fff; }
.button--info { background: var(--teal); border-color: var(--teal); color: #fff; }
.button--outline { background: #fff; border-color: var(--teal); color: var(--teal); }
.button--full { display: block; width: 100%; text-align: center; }
.button-group { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }

.site-header__login { padding: 7px 20px; border: 0; border-radius: 20px; background: var(--brand); color: #fff; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; text-shadow: none; }

/* Opening of a page */
.slider__slides { position: relative; min-height: 450px; background: var(--dark); }
.slider__slide { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; visibility: hidden; opacity: 0; transition: opacity .25s; }
.slider__slide.is-active { visibility: visible; opacity: 1; }
.slider__text { padding: 100px 20% 20px; color: #fff; }
.slider__text p { margin: 0 0 8px; }
.slider__label { font-size: 20px; font-weight: 600; }
.slider__title, main h1.slider__title { margin: 0 0 12px; color: #fff; font-size: 32px; font-weight: 600; line-height: 1.2; }
.slider__image { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.slider__tiles { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1200px; margin: -52px auto 0; padding-inline: 16px; }
.tile { text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 24px 12px 20px; background: #fff; border-bottom: 3px solid var(--dark); color: var(--dark); font-weight: 600; text-align: center; }
.tile img { width: 48px; height: 48px; object-fit: contain; }
.tile:hover, .tile:focus, .tile.is-active { color: var(--brand); border-bottom-color: var(--brand); }
.banner { min-height: 450px; padding: 64px 7%; background: var(--dark); color: #fff; }
.banner__inner { max-width: 620px; }
.banner__inner p { margin: 0 0 8px; }
.banner__logo { width: 72px; height: auto; margin-bottom: 8px; }
.banner__label { font-size: 20px; font-weight: 600; }
.banner__title { font-size: 28px; font-weight: 600; line-height: 1.2; }
.banner__text { font-size: 18px; }

/* What came out of the editor */
.rule { position: relative; height: 1px; margin: 32px 0; border: 0; background: var(--dark); overflow: visible; }
.rule::after { content: ''; position: absolute; left: 50%; top: -6px; width: 12px; height: 12px; margin-left: -6px; border: 1px solid var(--brand); border-radius: 50%; background: #fff; }

/* The form at the foot of every page, half over the footer */
.contact-panel { position: relative; z-index: 1; margin-bottom: -96px; padding: 32px 16px 0; }
.contact-panel__box { max-width: 860px; margin-inline: auto; padding: 32px; background: var(--brand); color: #fff; }
.contact-panel__box h2 { color: #fff; font-size: 24px; }
.contact-panel__box .pending { color: #fff; }

/* Footer */
.site-footer { background: var(--dark); padding-top: 96px; }
.site-footer__columns { grid-template-columns: 1fr 2fr 2fr 2fr 2fr; gap: 32px; padding: 40px 4%; color: #a9b7c0; font-size: 14px; line-height: 1.6; }
.site-footer__columns h2 { color: #fff; font-size: 14px; text-transform: none; margin-bottom: 8px; }
.site-footer__columns li { margin-bottom: 4px; }
.site-footer__columns a { color: inherit; }
.site-footer__brand { order: -1; }
.site-footer__brand img { width: 56px; }
.site-footer__search { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.site-footer__search input { width: 100%; padding: 8px; border: 0; background: #78909c; color: #fff; }
.site-footer__search input::placeholder { color: #fff; }
.site-footer__search button { padding: 8px 20px; border: 0; background: var(--brand); color: #fff; font: inherit; font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; }
.site-footer__bottom { margin: 0; padding: 16px 4%; border-top: 1px solid #78909c; color: #fff; font-size: 13px; }
.site-footer__bottom a { color: inherit; text-decoration: underline; }

@media (max-width: 900px) {
  :root { --h2-size: 28px; --body-size: 16px; }
  .site-header__logo img { width: 120px; }
  .site-header__login { margin-left: auto; }
  .slider__slides { min-height: 300px; }
  .slider__slide { grid-template-columns: 1fr; }
  .slider__image { display: none; }
  .slider__text { padding: 32px 16px; }
  .slider__tiles { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 0; padding-top: 12px; }
  .tile { padding: 16px 8px; }
  .banner { min-height: 0; padding: 32px 16px; }
  .contact-panel { margin-bottom: 0; padding-top: 16px; }
  .contact-panel__box { padding: 16px; }
  .site-footer { padding-top: 16px; }
  .site-footer__columns { grid-template-columns: 1fr 1fr; }
}
