/* =====================================================================
   GOVAROX — additive styles

   This file only ADDS rules for markup the original template did not
   have: the language switcher, form feedback, the honeypot, sidebar
   cards, filter pills and pagination.

   assets/css/style.css is never edited. Everything here inherits the
   template's own colours and typography through `currentColor`, `inherit`
   and the same font stack, so nothing hard-codes a brand colour that
   could drift away from the design.
   ===================================================================== */

/* ---------------------------------------------------------------------
   Honeypot — visually gone, still focusable by a bot, never by a person.
   Not display:none, because some bots skip hidden inputs entirely.
   --------------------------------------------------------------------- */
.govarox-hp {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* ---------------------------------------------------------------------
   Form feedback
   --------------------------------------------------------------------- */
.form-error {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.4;
  color: #dc2626;
}

.govarox-alert {
  padding: 14px 18px;
  margin-bottom: 20px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.5;
  border: 1px solid transparent;
}

.govarox-alert.alert-success {
  color: #14532d;
  background: #dcfce7;
  border-color: #86efac;
}

.govarox-alert.alert-danger {
  color: #7f1d1d;
  background: #fee2e2;
  border-color: #fca5a5;
}

.govarox-alert.alert-info {
  color: #1e3a5f;
  background: #dbeafe;
  border-color: #93c5fd;
}

.govarox-form-feedback {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.5;
}

.govarox-form-feedback.is-success { color: #16a34a; }
.govarox-form-feedback.is-error   { color: #dc2626; }

/* A submitting form should not accept a second click. */
.govarox-ajax-form.is-submitting {
  opacity: .65;
  pointer-events: none;
}

.govarox-field-label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  opacity: .75;
}

.govarox-radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.govarox-radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
}

.govarox-radio input { accent-color: currentColor; }

/* ---------------------------------------------------------------------
   Sidebar cards on detail pages
   --------------------------------------------------------------------- */
.govarox-sticky {
  position: sticky;
  top: 120px;
}

.govarox-card {
  padding: 28px;
  margin-bottom: 24px;
  border: 1px solid rgba(128, 128, 128, .22);
  border-radius: 10px;
}

.govarox-card .title {
  margin-bottom: 18px;
  font-size: 20px;
}

.govarox-card--cta {
  border-style: dashed;
}

/* ---------------------------------------------------------------------
   Lists
   --------------------------------------------------------------------- */
.govarox-feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.govarox-feature-list li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 15px;
  line-height: 1.6;
}

.govarox-feature-list li i {
  position: absolute;
  left: 0;
  top: 12px;
  font-size: 14px;
  opacity: .7;
}

.govarox-feature-list li strong { display: block; }

.govarox-feature-list li span {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  opacity: .7;
}

.govarox-meta-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.govarox-meta-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(128, 128, 128, .18);
  font-size: 15px;
}

.govarox-meta-list li:last-child { border-bottom: 0; }

.govarox-meta-list li span { opacity: .65; }

.govarox-meta-list li strong {
  text-align: right;
  word-break: break-word;
}

.govarox-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.govarox-tag-list li {
  padding: 6px 14px;
  border: 1px solid rgba(128, 128, 128, .3);
  border-radius: 100px;
  font-size: 13px;
  line-height: 1.4;
}

/* ---------------------------------------------------------------------
   CMS-authored rich text
   --------------------------------------------------------------------- */
.govarox-content p {
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.8;
}

.govarox-content ul,
.govarox-content ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

.govarox-content li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.govarox-content h2,
.govarox-content h3,
.govarox-content h4 {
  margin: 28px 0 12px;
}

.govarox-content a { text-decoration: underline; }

.govarox-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.govarox-article .lead {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* ---------------------------------------------------------------------
   Portfolio filter
   --------------------------------------------------------------------- */
.govarox-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 40px;
  padding: 0;
  list-style: none;
}

.govarox-filter li a {
  display: inline-block;
  padding: 9px 20px;
  border: 1px solid rgba(128, 128, 128, .3);
  border-radius: 100px;
  font-size: 14px;
  transition: all .25s ease;
}

.govarox-filter li.active a,
.govarox-filter li a:hover {
  border-color: currentColor;
  opacity: 1;
}

.govarox-filter li.active a { font-weight: 600; }

/* ---------------------------------------------------------------------
   Pagination
   --------------------------------------------------------------------- */
.govarox-pagination-wrap {
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

.rr-pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rr-pagination li a,
.rr-pagination li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(128, 128, 128, .3);
  border-radius: 6px;
  font-size: 15px;
  transition: all .25s ease;
}

.rr-pagination li a:hover,
.rr-pagination li.active span {
  border-color: currentColor;
  font-weight: 600;
}

/* ---------------------------------------------------------------------
   Gallery
   --------------------------------------------------------------------- */
.govarox-gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.govarox-gallery .text {
  margin-top: 10px;
  font-size: 14px;
  opacity: .7;
}

/* ---------------------------------------------------------------------
   Quote confirmation
   --------------------------------------------------------------------- */
.govarox-thanks__icon {
  font-size: 56px;
  line-height: 1;
  margin-bottom: 20px;
  color: #16a34a;
}

.govarox-reference {
  margin: 10px 0 18px;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 3px;
  word-break: break-all;
}

/* ---------------------------------------------------------------------
   Language switcher — reuses .dp-menu, so it only needs sizing here.
   --------------------------------------------------------------------- */
.govarox-lang-switch > a { text-transform: none; }

.govarox-lang-switch .dp-menu { min-width: 170px; }

.govarox-lang-switch .dp-menu a[aria-current="true"] {
  font-weight: 700;
  opacity: 1;
}

/* ---------------------------------------------------------------------
   Contact map
   --------------------------------------------------------------------- */
.contact-map iframe {
  display: block;
  width: 100%;
  border: 0;
}

/* ---------------------------------------------------------------------
   Team details
   The template sizes the name for a short, fixed "ALEX MORGAN". Real
   names vary, so the size comes from --name-chars (set by the view):
   Mango Grotesque capitals run about 0.33em wide (--name-em). The photo's overlap
   follows the same size, keeping the template's proportions.
   --------------------------------------------------------------------- */
.team-details {
  --td-title-size: min(420px, calc((min(100vw, 1320px) - 40px) / (var(--name-chars, 11) * var(--name-em, 0.33))));
}

.team-details .team-details__title {
  font-size: var(--td-title-size);
  line-height: 0.9;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.team-details__wrapper {
  gap: 30px;
  align-items: flex-start;
}

.team-details__column {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}


.team-details__value {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
}

.team-details__value a { color: inherit; }
.team-details__value a:hover { opacity: .7; }

.team-details__image {
  flex: 0 1 512px;
  text-align: center;
}

.team-details .team-details__image img {
  margin-top: calc(var(--td-title-size) * -0.43);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.team-details__bio {
  max-width: 860px;
  margin: 100px auto 0;
  text-align: center;
}

.team-details__bio-title {
  font-family: var(--font_mango);
  font-size: 64px;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.team-details__bio .govarox-content {
  margin-bottom: 32px;
}

@media (max-width: 991px) {
  .team-details .team-details__image img { margin-top: -40px; }
}

@media (max-width: 767px) {
  .team-details__wrapper { flex-direction: column; align-items: stretch; }
  .team-details__image { order: -1; flex-basis: auto; }
  .team-details .team-details__image img { margin-top: 0; max-width: 320px; }
  .team-details__column { gap: 16px; }
  .team-details__bio { margin-top: 60px; }
  .team-details__bio-title { font-size: 44px; }
}

/* ---------------------------------------------------------------------
   Small screens
   --------------------------------------------------------------------- */
@media (max-width: 991px) {
  .govarox-sticky {
    position: static;
    margin-top: 40px;
  }
}

@media (max-width: 575px) {
  .govarox-reference {
    font-size: 22px;
    letter-spacing: 2px;
  }

  .govarox-meta-list li {
    flex-direction: column;
    gap: 4px;
  }

  .govarox-meta-list li strong { text-align: left; }
}
