/*!
 * Harnett Classic - site stylesheet (standalone: no Bootstrap, no jQuery, no icon fonts)
 * Values come from reference/design-notes.md of the original site, with a few
 * deliberate accessibility changes (marked "A11Y:").
 */

:root {
  --hd-text: #333333;
  --hd-heading: #1f1f1f;
  --hd-black: #000000;
  --hd-grey: #eaeaea;          /* call-out + information band */
  --hd-navy: #002965;          /* band text + icons */
  --hd-link: #2400b5;          /* links in the band / call-out */
  --hd-underline: #a7a9ac;     /* nav hover/active bar */
  --hd-red: #ed1c23;           /* brand triangle */
  --hd-indicator: #939598;     /* inactive carousel triangles */
  --hd-dark: #222f32;          /* behind carousel images while loading */
  --hd-rule: #eeeeee;          /* rule under the page title */
  --hd-button: #6d6e71;        /* A11Y: original #bfbfbf with white text was ~1.8:1; this is 5.1:1 */
  --hd-button-hover: #444547;
  --hd-caption-text: #4a4a4a;  /* A11Y: original was white on translucent white (~1.3:1); this is >7:1. Set to #fff to revert */
  --hd-focus: #2400b5;
  --hd-font: "Raleway", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --hd-container: 1170px;
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: var(--hd-text);
  font-family: var(--hd-font);
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--hd-focus);
  outline-offset: 2px;
}

.hd-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.hd-skip-link {
  position: absolute;
  left: 12px; top: -80px;
  z-index: 1000;
  padding: 10px 16px;
  background: #fff; color: #000;
  font-weight: 600;
  border: 2px solid var(--hd-focus);
  border-radius: 4px;
}
.hd-skip-link:focus { top: 12px; }

.hd-container {
  width: 100%;
  max-width: var(--hd-container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ------------------------------------------------------------------ Headings & text */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--hd-font);
  font-weight: 200;
  color: var(--hd-heading);
}
h1 { font-size: 38px; line-height: 38px; margin: 10px 0 15px; }
h2 { font-size: 30px; line-height: 30px; margin: 10px 0; }
h3 { font-size: 25px; line-height: 35px; margin: 10px 0; }
h4 { font-size: 18px; line-height: 25px; margin: 10px 0; }

p { margin: 12px 0; }
ul, ol { margin: 0 0 12px; padding-left: 30px; }

.page-header {
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hd-rule);
}
.page-header h1, .page-header h2 { margin-bottom: 15px; }

/* Article body. Sub-headings follow the original's plain h2 rule (margin 10px 0, collapsing into the 12px paragraph
   margin, i.e. a 12px gap above). Only the Drafting page had empty spacer paragraphs between its sections in the
   original; its article is wrapped in .hd-sections to reproduce that rhythm without junk markup. */
.com-content-article__body > :first-child { margin-top: 0; }
.hd-sections h2 { margin-top: 48px; }
.hd-sections > :first-child { margin-top: 0; }

.hd-float-right { float: right; margin: 0 0 12px 10px; line-height: 0; }
.hd-float-right img { display: block; width: 300px; height: auto; }
.com-content-article__body { display: flow-root; }
@media (max-width: 575.98px) {
  .hd-float-right { float: none; display: block; margin: 0 0 12px; }
  .hd-float-right img { width: 100%; max-width: 300px; }
}

/* ------------------------------------------------------------------ Header & navigation */
.hd-header {
  position: relative;
  z-index: 20;
  height: 110px;
  background: #fff;
}
.hd-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  height: 110px;
}
.hd-brand { display: block; flex: none; margin-top: 15px; line-height: 0; }
.hd-brand img { display: block; width: 300px; height: 75px; max-width: none; }

.hd-nav { align-self: stretch; display: flex; align-items: flex-end; }
.hd-nav ul { display: flex; margin: 0; padding: 0; list-style: none; }
.hd-nav li { margin: 0 15px; padding: 0; }
.hd-nav a {
  display: block;
  padding: 75px 0 10px;
  border-bottom: 5px solid transparent;
  color: var(--hd-text);
  font-size: 18px;
  font-weight: 600;
  line-height: 20px;
  text-decoration: none;
  white-space: nowrap;
}
.hd-nav a:hover,
.hd-nav a:focus-visible,
.hd-nav a[aria-current],
.hd-nav li.current > a,
.hd-nav li.active > a {
  border-bottom-color: var(--hd-underline);
}
.hd-nav a[aria-current],
.hd-nav li.current > a,
.hd-nav li.active > a { color: var(--hd-black); font-weight: 700; }
.hd-nav a:focus-visible { outline-offset: -3px; }

.hd-nav-toggle, .hd-nav-close, .hd-nav-backdrop { display: none; }

@media (min-width: 992px) and (max-width: 1199.98px) {
  .hd-nav li { margin: 0 8px; }
  .hd-nav a { font-size: 16px; }
}

/* Off-canvas menu below 992px (also fixes the original's 768-991px three-row nav) */
@media (max-width: 991.98px) {
  .hd-header, .hd-header__inner { height: 105px; }
  .hd-header__inner { align-items: center; }
  .hd-brand { margin-top: 0; max-width: calc(100% - 60px); }
  .hd-brand img { max-width: 100%; height: auto; }

  .hd-nav-toggle {
    display: block;
    position: relative;
    flex: none;
    width: 44px; height: 44px;
    margin: 0 -6px 0 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
  }
  .hd-nav-toggle__bars,
  .hd-nav-toggle__bars::before,
  .hd-nav-toggle__bars::after {
    position: absolute;
    left: 11px;
    width: 22px; height: 2px;
    background: #6d6e71;   /* A11Y: original #a9a9a9 (2.3:1) */
    content: "";
  }
  .hd-nav-toggle__bars { top: 21px; }
  .hd-nav-toggle__bars::before { left: 0; top: -7px; }
  .hd-nav-toggle__bars::after { left: 0; top: 7px; }

  .hd-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(0, 0, 0, 0.45);
  }
  .hd-nav-backdrop:not([hidden]) { display: block; }

  .hd-nav {
    position: fixed;
    top: 0; bottom: 0; left: 0;
    z-index: 100;
    display: block;
    width: min(80vw, 320px);
    overflow-y: auto;
    background: #f3f3f3;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.35);
    transform: translateX(-105%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0s linear 0.3s;
  }
  .hd-nav.is-open {
    transform: none;
    visibility: visible;
    transition: transform 0.3s ease, visibility 0s;
  }
  .hd-nav ul { display: block; }
  .hd-nav li { margin: 0; }
  .hd-nav a {
    padding: 16px 20px 16px 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    border-left: 5px solid transparent;
    color: rgba(0, 0, 0, 0.75);
    white-space: normal;
  }
  .hd-nav a:hover,
  .hd-nav a:focus-visible,
  .hd-nav a[aria-current],
  .hd-nav li.current > a,
  .hd-nav li.active > a {
    border-bottom-color: rgba(0, 0, 0, 0.08);
    border-left-color: var(--hd-underline);
    background: rgba(0, 0, 0, 0.04);
  }

  .hd-nav-close {
    display: block;
    position: relative;
    width: 48px; height: 48px;
    margin: 6px 6px 0 auto;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
  }
  .hd-nav-close__x::before,
  .hd-nav-close__x::after {
    position: absolute;
    left: 13px; top: 23px;
    width: 22px; height: 2px;
    background: #444;
    content: "";
  }
  .hd-nav-close__x::before { transform: rotate(45deg); }
  .hd-nav-close__x::after { transform: rotate(-45deg); }

  html.hd-nav-open { overflow: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  .hd-nav, .hd-nav.is-open { transition: none; }
}

/* ------------------------------------------------------------------ Hero (carousel / page banner) */
.hd-hero { background: var(--hd-dark); }
.hd-hero .mod-custom { margin: 0; }
.hd-hero img { display: block; width: 100%; height: auto; max-width: none; }

.hd-carousel {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1920 / 700;
  background: var(--hd-dark);
  color: #fff;
}
.hd-carousel__track { position: absolute; inset: 0; }
.hd-slide {
  position: absolute;
  inset: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: transform 0.6s ease-in-out;
}
.hd-slide img { display: block; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.hd-slide.is-active { visibility: visible; transform: translateX(0); }
.hd-slide.is-exit-left { visibility: visible; transform: translateX(-100%); }
.hd-slide.is-exit-right { visibility: visible; transform: translateX(100%); }
.hd-slide.is-notransition { transition: none; }
/* No-JS: show the first slide */
.hd-carousel:not(.is-ready) .hd-slide:first-child { visibility: visible; transform: none; }

.hd-caption {
  position: absolute;
  left: 30%; right: 30%;
  bottom: 20px;
  z-index: 3;
  padding: 20px 10px 45px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.75);
  text-align: center;
}
.hd-caption__title {
  margin: 0 0 20px;
  color: var(--hd-heading);
  font-size: clamp(24px, 2.65vw, 38px);
  font-weight: 200;
  line-height: 1;
}
.hd-caption__text {
  margin: 0;
  color: var(--hd-caption-text);
  font-size: clamp(18px, 2.1vw, 30px);
  font-weight: 400;
  line-height: 1.2;
}

.hd-carousel__indicators {
  position: absolute;
  left: 30%; right: 30%;
  bottom: 20px;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 3px;
  margin: 0; padding: 0;
  list-style: none;
}
.hd-carousel__indicators button {
  display: block;
  width: 20px; height: 20px;
  padding: 5px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.hd-carousel__indicators button::before {
  display: block;
  width: 10px; height: 10px;
  background: var(--hd-indicator);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  content: "";
}
.hd-carousel__indicators button[aria-current="true"]::before { background: var(--hd-red); }
.hd-carousel__indicators button:focus-visible { outline: 2px solid var(--hd-focus); outline-offset: 0; background: rgba(255, 255, 255, 0.85); }

.hd-carousel__nav {
  position: absolute;
  top: 0; bottom: 0;
  z-index: 3;
  width: 15%;
  padding: 0;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.2s;
}
.hd-carousel__nav:hover, .hd-carousel__nav:focus-visible { opacity: 1; }
.hd-carousel__nav--prev { left: 0; }
.hd-carousel__nav--next { right: 0; }
.hd-carousel__nav svg {
  display: block;
  width: 40px; height: 70px;
  margin: 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6));
}
.hd-carousel__nav:focus-visible { outline: 3px solid #fff; outline-offset: -6px; box-shadow: inset 0 0 0 6px var(--hd-focus); }

.hd-carousel__pause {
  position: absolute;
  right: 12px; bottom: 12px;
  z-index: 5;
  width: 30px; height: 30px;
  padding: 0;
  background: rgba(255, 255, 255, 0.75);
  border: 0;
  border-radius: 50%;
  color: #222;
  cursor: pointer;
}
.hd-carousel__pause:hover { background: #fff; }
.hd-carousel__pause svg { display: block; width: 14px; height: 14px; margin: 8px; fill: currentColor; stroke: none; }
.hd-carousel__pause .icon-play { display: none; }
.hd-carousel__pause[data-paused="true"] .icon-play { display: block; }
.hd-carousel__pause[data-paused="true"] .icon-pause { display: none; }

@media (max-width: 991.98px) {
  .hd-caption, .hd-carousel__indicators { left: 20%; right: 20%; }
}
@media (max-width: 767.98px) {
  .hd-caption { display: none; }
  .hd-carousel__indicators { left: 0; right: 0; bottom: 6px; }
  .hd-carousel__nav svg { width: 24px; height: 40px; }
  .hd-carousel__pause { right: 6px; bottom: 6px; width: 26px; height: 26px; }
  .hd-carousel__pause svg { margin: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .hd-slide { transition: none; }
}

/* ------------------------------------------------------------------ Main content */
.hd-page { padding: 30px 0 20px; }
.hd-main:focus { outline: none; }

/* Call-out box */
.hd-main-bottom { clear: both; margin-top: 62px; }
.hd-callout {
  margin: 12px 0 20px;
  padding: 10px;
  border-radius: 4px;
  background: var(--hd-grey);
  color: var(--hd-black);
  font-size: 21px;
  font-weight: 200;
  line-height: 29.4px;
}
.hd-callout p { margin: 0; }
.hd-callout a { color: var(--hd-link); }
.hd-callout a:hover { color: var(--hd-black); }
@media (max-width: 767.98px) {
  .hd-callout { font-size: 16.1px; line-height: 22.5px; }
}

/* Services grid */
.hd-services-region { margin: 65px 0 80px; }
.hd-services-title {
  margin: 10px 0;
  color: var(--hd-heading);
  font-size: 18px;
  font-weight: 200;
  line-height: 25px;
  text-transform: uppercase;
}
.hd-services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  margin: 0; padding: 0;
  list-style: none;
}
.hd-service { display: block; color: var(--hd-text); text-decoration: none; }
.hd-service__media { position: relative; display: block; line-height: 0; }
.hd-service__media img { display: block; width: 100%; height: auto; }
.hd-service__media::before {
  position: absolute; top: 0; left: 0;
  border-top: 20px solid var(--hd-red);
  border-right: 20px solid transparent;
  content: "";
}
.hd-service__title { display: block; margin-top: 12px; font-size: 18px; line-height: 24px; }
.hd-service:hover .hd-service__title, .hd-service:focus-visible .hd-service__title { text-decoration: underline; }
@media (max-width: 991.98px) {
  .hd-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
  .hd-services { grid-template-columns: minmax(0, 1fr); }
}

/* ------------------------------------------------------------------ Information band */
.hd-band {
  padding: 27px 0 16px;
  background: var(--hd-grey);
  color: var(--hd-navy);
}
.hd-band a { color: var(--hd-link); text-decoration: none; }
.hd-band a:hover { color: var(--hd-black); text-decoration: underline; }
.hd-sidebar a { text-decoration: none; }
.hd-sidebar a:hover { text-decoration: underline; }
.hd-band-row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  margin: 0 -15px;
}
.hd-band-col { padding: 0 15px; min-width: 0; }
.hd-band-col--contact { grid-column: span 4; }
.hd-band-col--address { grid-column: span 6; }
.hd-band-col--logos { grid-column: span 2; text-align: center; }
.hd-band-heading {
  margin: 10px 0;
  color: var(--hd-black);
  font-size: 25px;
  font-weight: 200;
  line-height: 35px;
}
.hd-band-heading--gap { margin-top: 38px; }
.hd-band-col--logos img { display: block; width: 100%; max-width: 163px; height: auto; margin: 0 auto; }

.hd-iconlist { margin: 0; padding: 0; list-style: none; }
.hd-iconlist li { display: flex; align-items: center; gap: 10px; margin: 0; padding: 13px 0; }
.hd-icon {
  flex: none;
  width: 18px; height: 18px;
  background-color: currentColor;
  -webkit-mask: var(--hd-icon) center / contain no-repeat;
  mask: var(--hd-icon) center / contain no-repeat;
}
/*ICONS*/
/* Inline SVG icons used as CSS masks: they take the text colour and survive editor round-trips. */
.hd-icon--phone { --hd-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath fill='%23000' d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); }
.hd-icon--envelope { --hd-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpath d='M22 6l-10 7L2 6'/%3E%3C/svg%3E"); }
.hd-icon--home { --hd-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath fill='%23000' fill-rule='evenodd' stroke='none' d='M12 1.5L1.5 10H4v11a1.5 1.5 0 0 0 1.5 1.5H9.5V15h5v7.500h4A1.500 1.500 0 0 0 20 21V10h2.500z'/%3E%3C/svg%3E"); }
.hd-icon--clock { --hd-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E"); }
/*END-ICONS*/

@media (max-width: 991.98px) {
  .hd-band-col--contact, .hd-band-col--address, .hd-band-col--logos { grid-column: span 12; }
  .hd-band-col--logos { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 20px; text-align: left; }
  .hd-band-col--logos img { margin: 0; max-width: 150px; }
  .hd-band-heading--gap { margin-top: 10px; }
}

/* ------------------------------------------------------------------ Contact page */
.hd-layout--sidebar {
  display: grid;
  grid-template-columns: minmax(0, 743fr) minmax(0, 357fr);
  column-gap: 30px;
}
body.com_contact .hd-page { padding-bottom: 35px; }
.hd-sidebar { padding: 0 0 0 20px; color: var(--hd-text); }
.hd-sidebar a { color: inherit; }
.hd-sidebar .hd-band-heading:first-child { margin-top: 20px; }
@media (max-width: 767.98px) {
  .hd-layout--sidebar { display: block; }
  .hd-sidebar { padding: 20px 0 0; }
}

.com-contact .page-header { margin: 0; padding: 0; border: 0; }
.com-contact h1 { margin: 10px 0; font-size: 30px; line-height: 30px; }
.hd-contact-form .control-group {
  display: grid;
  grid-template-columns: 25% 75%;
  margin: 0 -15px 25px;
}
.hd-contact-form .control-label { padding: 5px 15px 0; }
.hd-contact-form .control-label label { font-weight: 700; }
.hd-contact-form .star { font-weight: 700; }
.hd-contact-form .controls { padding: 0 15px; min-width: 0; }
.hd-contact-form .hd-submit-row .controls { grid-column: 2; }
.hd-contact-form input[type="text"],
.hd-contact-form input[type="email"],
.hd-contact-form textarea {
  display: block;
  width: 100%;
  height: 34px;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  color: #555;
  font: 400 14px/20px var(--hd-font);
}
.hd-contact-form textarea { height: 114px; resize: vertical; }
.hd-contact-form input:focus-visible,
.hd-contact-form textarea:focus-visible { outline: 3px solid var(--hd-focus); outline-offset: 0; border-color: var(--hd-focus); }
.hd-contact-form .invalid, .hd-contact-form [aria-invalid="true"] { border-color: #b00020; }
.hd-contact-form .form-control-feedback, .hd-contact-form .invalid-feedback { color: #b00020; font-size: 14px; }
.hd-contact-form .optional, .hd-contact-form .form-text { display: none; }

.hd-button,
.hd-contact-form button[type="submit"] {
  display: inline-block;
  min-height: 32px;
  padding: 6px 12px;
  background: var(--hd-button);
  border: 0;
  border-radius: 4px;
  color: #fff;
  font: 400 14px/20px var(--hd-font);
  text-decoration: none;
  cursor: pointer;
}
.hd-button:hover,
.hd-contact-form button[type="submit"]:hover { background: var(--hd-button-hover); }
@media (max-width: 767.98px) {
  .hd-contact-form .control-group { display: block; margin-bottom: 15px; }
  .hd-contact-form .control-label { padding-bottom: 5px; }
}

/* Anti Spam row: core Proof-of-Work captcha (Altcha) styled like the old reCAPTCHA box */
.hd-contact-form altcha-widget {
  display: block;
  --altcha-max-width: 304px;
  --altcha-color-base: #f9f9f9;
  --altcha-color-border: #d3d3d3;
  --altcha-color-border-focus: var(--hd-focus);
  --altcha-color-text: var(--hd-text);
  --altcha-border-radius: 3px;
  font: 400 14px/20px var(--hd-font);
}
.hd-contact-form altcha-widget .altcha { box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.08); }
.hd-contact-form altcha-widget .altcha-main { min-height: 76px; padding: 0 14px; }
.hd-contact-form altcha-widget label { font-weight: 400; }
.hd-contact-form altcha-widget .altcha-checkbox input { width: 24px; height: 24px; margin: 0; }

/* Map band */
.hd-map { line-height: 0; background: #e5e3df; }
.hd-map .mod-custom { margin: 0; }
.hd-map iframe { display: block; width: 100%; height: 350px; border: 0; }

/* ------------------------------------------------------------------ Footer */
.hd-footer { padding: 25px 0; background: #fff; font-size: 12.6px; line-height: 24px; }
.hd-copyright { margin: 0; }

/* ------------------------------------------------------------------ Misc */
.hd-lightbox {
  max-width: min(92vw, 1000px);
  padding: 0;
  border: 0;
  background: #fff;
}
.hd-lightbox::backdrop { background: rgba(0, 0, 0, 0.7); }
.hd-lightbox img { display: block; max-width: 100%; max-height: 85vh; margin: 0 auto; }
.hd-lightbox form { margin: 0; text-align: right; background: #f3f3f3; }
.hd-lightbox button { padding: 8px 16px; background: transparent; border: 0; font: 600 14px var(--hd-font); cursor: pointer; }

.hd-component-only { padding-top: 20px; padding-bottom: 20px; }

/* Joomla system messages */
joomla-alert { display: block; margin: 12px 0; }
#system-message-container:empty { display: none; }
#system-message-container { margin-top: 12px; }

@media print {
  .hd-nav, .hd-nav-toggle, .hd-hero, .hd-map { display: none; }
}
