:root {
  --valorcareers-header-bg: #eef5fa;
  --valorcareers-blue: #3f5d7e;
  --valorcareers-blue-dark: #354f70;
  --valorcareers-blue-deep: #2f4868;
  --valorcareers-gold: #e4a04d;
  --valorcareers-gold-dark: #d58b3a;
  --valorcareers-ink: #111827;
  --valorcareers-muted: #667085;
  --valorcareers-border: rgba(31, 49, 72, 0.14);
  --valorcareers-max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body.valorcareers-site {
  margin: 0;
  min-width: 320px;
  color: var(--valorcareers-ink);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

.valorcareers-site a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 999;
  padding: 0.7rem 1rem;
  border-radius: 6px;
  background: #fff;
  color: var(--valorcareers-blue-deep);
  box-shadow: 0 12px 28px rgba(18, 32, 50, 0.18);
}

.site-header {
  position: relative;
  z-index: 100;
  background: var(--valorcareers-header-bg);
  border-bottom: 1px solid rgba(31, 49, 72, 0.08);
}

.site-header__inner {
  min-height: 88px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  width: min(calc(100% - 24px), 1880px);
  margin: 0 auto;
  position: relative;
}

.header-zone {
  min-width: 0;
  display: flex;
  align-items: center;
}

.header-zone--left {
  justify-content: flex-start;
}

.header-zone--right {
  justify-content: flex-end;
}

.header-zone .moduletable {
  margin: 0;
}

.brand-mark {
  width: 210px;
  height: 116px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  color: var(--valorcareers-blue-deep);
  text-align: center;
  text-decoration: none;
}

.brand-mark img {
  display: block;
  max-width: 190px;
  max-height: 104px;
  object-fit: contain;
}

.brand-mark__fallback {
  color: var(--valorcareers-blue-deep);
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-style: italic;
  line-height: 1;
}

.brand-mark small {
  color: #26364a;
  display: block;
  font-size: 0.56rem;
  font-weight: 700;
  line-height: 1.1;
  margin-top: 5px;
}

.join-button {
  min-height: 42px;
  min-width: 164px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.68rem 1.35rem;
  border-radius: 999px;
  color: #fff;
  background: var(--valorcareers-gold);
  box-shadow: 0 12px 24px rgba(213, 139, 58, 0.26);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.join-button:hover,
.join-button:focus {
  color: #fff;
  background: var(--valorcareers-gold-dark);
  text-decoration: none;
}

.hero {
  min-height: 260px;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
}

.page-main {
  background: #fff;
}

.content-shell {
  width: min(calc(100% - 32px), var(--valorcareers-max));
  margin: 0 auto;
  padding: 10px 0;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

.content-grid.has-sidebar {
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
}

.component-area,
.sidebar > *,
.module-band {
  min-width: 0;
}

.sidebar > * {
  border: 1px solid var(--valorcareers-border);
  border-radius: 8px;
  padding: 20px;
}

.module-band--top {
  margin-bottom: 28px;
}

.module-band--bottom {
  margin-top: 28px;
}

.valor-message-source {
  display: none;
}

.valor-toast-wrapper {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 99999;
  width: min(380px, calc(100vw - 32px));
  pointer-events: none;
}

.valor-toast-wrapper #system-message-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.valor-toast-wrapper .alert,
.valor-toast-wrapper .joomla-alert,
.valor-toast-wrapper joomla-alert,
.valor-toast-wrapper [role="alert"] {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 !important;
  padding: 16px 46px 16px 18px !important;
  border: 0 !important;
  border-left: 5px solid #455e89 !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: #243b53 !important;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.22);
  font-size: 14px;
  line-height: 1.45;
  pointer-events: auto;
  animation: valorToastSlideIn 0.28s ease-out;
  overflow: hidden;
}

.valor-toast-wrapper .alert-heading,
.valor-toast-wrapper h4,
.valor-toast-wrapper .alert-heading span {
  margin: 0 0 6px !important;
  color: #1f3f66 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
}

.valor-toast-wrapper p {
  margin: 0 !important;
}

.valor-toast-wrapper ul {
  margin: 0 !important;
  padding-left: 18px !important;
}

.valor-toast-wrapper .alert-success,
.valor-toast-wrapper .joomla-alert--success,
.valor-toast-wrapper joomla-alert[type="success"],
.valor-toast-wrapper joomla-alert[type="message"] {
  border-left-color: #5f7f3f !important;
}

.valor-toast-wrapper .alert-info,
.valor-toast-wrapper .alert-message,
.valor-toast-wrapper .joomla-alert--info,
.valor-toast-wrapper .joomla-alert--message,
.valor-toast-wrapper joomla-alert[type="info"],
.valor-toast-wrapper joomla-alert[type="notice"] {
  border-left-color: #455e89 !important;
}

.valor-toast-wrapper .alert-warning,
.valor-toast-wrapper .joomla-alert--warning,
.valor-toast-wrapper joomla-alert[type="warning"] {
  border-left-color: #c58a1f !important;
}

.valor-toast-wrapper .alert-danger,
.valor-toast-wrapper .alert-error,
.valor-toast-wrapper .joomla-alert--danger,
.valor-toast-wrapper .joomla-alert--error,
.valor-toast-wrapper joomla-alert[type="danger"],
.valor-toast-wrapper joomla-alert[type="error"] {
  border-left-color: #b42318 !important;
}

.valor-toast-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #667085;
  font-size: 24px;
  line-height: 24px;
  cursor: pointer;
  padding: 0;
}

.valor-toast-close:hover,
.valor-toast-close:focus {
  background: #eef2f6;
  color: #243b53;
  outline: none;
}

.valor-toast-hide {
  animation: valorToastSlideOut 0.28s ease-in forwards !important;
}

@keyframes valorToastSlideIn {
  from {
    opacity: 0;
    transform: translateX(28px) translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

@keyframes valorToastSlideOut {
  from {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }

  to {
    opacity: 0;
    transform: translateX(28px) translateY(10px);
  }
}

.site-footer {
  color: #fff;
  background: var(--valorcareers-blue);
}

.site-footer__inner {
  width: min(calc(100% - 32px), var(--valorcareers-max));
  margin: 0 auto;
  padding: 38px 0 0;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(120px, 0.5fr) minmax(120px, 0.5fr) minmax(280px, 1fr);
  gap: 48px;
  padding-bottom: 30px;
}

.site-footer__brand {
  display: grid;
  gap: 8px;
  max-width: 360px;
}

.site-footer__brand strong {
  font-size: 1.5rem;
  letter-spacing: 0;
  line-height: 1;
}

.site-footer__brand span {
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.site-footer__brand p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.02rem;
}

.site-footer__social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.site-footer__social span {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.11);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.site-footer__links,
.site-footer__contact {
  display: grid;
  align-content: start;
  gap: 12px;
}

.site-footer__links a {
  text-decoration: none;
}

.site-footer__links a:hover,
.site-footer__links a:focus {
  text-decoration: underline;
}

.site-footer__contact {
  font-style: normal;
}

.site-footer__meta {
  min-height: 48px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-left: calc((100vw - min(calc(100vw - 32px), var(--valorcareers-max))) / -2);
  margin-right: calc((100vw - min(calc(100vw - 32px), var(--valorcareers-max))) / -2);
  padding: 0 calc((100vw - min(calc(100vw - 32px), var(--valorcareers-max))) / 2);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--valorcareers-blue-dark);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
}

.site-footer a {
  color: #fff;
}

body.valorcareers-site .icons,
body.valorcareers-site .edit-icon,
body.valorcareers-site .btn.jmodedit,
body.valorcareers-site a[href*="task=article.edit"],
body.valorcareers-site a[href*="layout=edit"] {
  display: none !important;
}

@media (max-width: 760px) {
  .site-header__inner {
    min-height: 88px;
    grid-template-columns: minmax(44px, 1fr) auto minmax(44px, 1fr);
    gap: 8px;
    padding: 0;
    width: min(calc(100% - 24px), 640px);
  }

  .brand-mark {
    grid-column: 2;
    grid-row: 1;
    width: 150px;
    height: 86px;
    margin: 0 auto;
  }

  .brand-mark img {
    max-width: 142px;
    max-height: 78px;
  }

  .header-zone--left {
    grid-column: 1;
    grid-row: 1;
    justify-content: flex-start;
  }

  .header-zone--right {
    grid-column: 3;
    grid-row: 1;
    justify-content: flex-end;
  }

  .header-zone--left .moduletable,
  .header-zone--right .moduletable {
    max-width: 100%;
  }

  .join-button {
    min-width: 0;
    min-height: 36px;
    padding: 0.56rem 0.85rem;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .content-grid.has-sidebar {
    grid-template-columns: 1fr;
  }

  .valor-toast-wrapper {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
  }

  .valor-toast-wrapper .alert,
  .valor-toast-wrapper .joomla-alert,
  .valor-toast-wrapper joomla-alert,
  .valor-toast-wrapper [role="alert"] {
    padding: 15px 42px 15px 16px !important;
    font-size: 13.5px;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-footer__meta {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-top: 14px;
    padding-bottom: 14px;
  }
}
