/* Local repairs for the preserved Hocker Title theme. */
:root {
  --restore-green: #86b742;
  --restore-deep-green: #2e6735;
  --restore-ink: #333333;
}

body.restored-site { margin: 0; color: var(--restore-ink); }
.restored-site #page-container,
.restored-site #et-main-area { padding-top: 0 !important; margin-top: 0 !important; }
.restored-site [hidden] { display: none !important; }
.restored-site img { max-width: 100%; }
.restored-site a:focus-visible,
.restored-site button:focus-visible,
.restored-site summary:focus-visible,
.restored-site input:focus-visible,
.restored-site textarea:focus-visible,
.restored-site [role="button"]:focus-visible {
  outline: 3px solid #2e6735;
  outline-offset: 4px;
}
.restored-site .restore-skip-link,
.restored-site .restore-skip {
  position: absolute; z-index: 10001; top: 12px; left: 12px;
  padding: 12px 18px; background: #fff; color: #222;
  transform: translateY(-180%);
}
.restored-site .restore-skip-link:focus,
.restored-site .restore-skip:focus { transform: none; }

/* The original fixed header required live Divi measurements. */
.restored-site .restore-header {
  position: relative; z-index: 1000; width: 100%;
  background: #fff; color: #333; box-shadow: 0 1px 5px rgba(0,0,0,.12);
}
.restore-topbar,
.restore-header-main { max-width: 1280px; margin: 0 auto; padding-left: 30px; padding-right: 30px; }
.restore-topbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 24px; padding-top: 12px; padding-bottom: 12px;
  border-bottom: 1px solid #eeeeee;
}
.restore-topbar > div,
.restore-topbar > ul { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.restore-topbar a { display: inline-flex; align-items: center; justify-content: center; color: #333; }
.restore-topbar img { display: block; width: 28px; height: 28px; }
.restore-topbar a:not(:has(img)) {
  padding: 7px 12px; background: var(--restore-green); color: #fff;
  font-family: Lora, Georgia, serif; font-size: 14px; line-height: 1.4;
  font-weight: 600; text-transform: uppercase;
}
.restore-topbar a:not(:has(img)):hover { background: var(--restore-deep-green); }
.restore-header-main { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 17px; padding-bottom: 17px; }
.restore-logo { display: block; width: 158px; flex: 0 0 158px; }
.restore-logo img { display: block; width: 100%; height: auto; max-height: 112px; object-fit: contain; }
.restore-nav { min-width: 0; }
.restore-nav > ul {
  display: flex; align-items: center; justify-content: flex-end; gap: 0;
  margin: 0; padding: 0; list-style: none;
  font-family: Lora, Georgia, serif; font-size: 15px; line-height: 1.4;
}
.restore-nav li { margin: 0; padding: 0; list-style: none; }
.restore-nav > ul > li > a,
.restore-submenu > summary {
  display: block; padding: 13px 10px; color: #333; font-weight: 600;
  cursor: pointer; white-space: nowrap; text-decoration: none;
}
.restore-nav a:hover,
.restore-nav a[aria-current="page"],
.restore-submenu > summary:hover { color: var(--restore-deep-green); }
.restore-submenu { position: relative; }
.restore-submenu > summary { list-style: none; }
.restore-submenu > summary::-webkit-details-marker { display: none; }
.restore-submenu > summary::after { content: " ▾"; font-family: Arial, sans-serif; font-size: .8em; }
.restore-submenu[open] > summary::after { content: " ▴"; }
.restore-submenu > ul {
  position: absolute; top: 100%; left: 0; z-index: 1001;
  min-width: 270px; max-height: min(72vh, 680px); overflow-y: auto;
  margin: 0; padding: 10px 0; list-style: none;
  background: #fff; border-top: 3px solid var(--restore-green);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}
.restore-submenu > ul a { display: block; padding: 10px 18px; color: #333; font-weight: 400; line-height: 1.35; }
.restore-submenu > ul a:hover { background: #f3f7ed; }
.restore-menu-toggle {
  display: none; border: 1px solid var(--restore-deep-green); border-radius: 2px;
  padding: 10px 15px; background: #fff; color: var(--restore-deep-green);
  font: 600 16px/1.3 Mulish, Arial, sans-serif; cursor: pointer;
}

/* Animation and waypoint content must remain readable without old plugins. */
.restored-site .et-waypoint,
.restored-site .et_animated,
.restored-site .et_pb_animation_top,
.restored-site .et_pb_animation_bottom,
.restored-site .et_pb_animation_left,
.restored-site .et_pb_animation_right,
.restored-site .et_pb_animation_fade_in,
.restored-site .et_pb_animation_off,
.restored-site .et_pb_slide_description,
.restored-site .et_pb_slide_image {
  opacity: 1 !important; visibility: visible !important;
  animation: none !important; transform: none !important;
}
.restored-site .et_parallax_bg { transform: none !important; }
.restored-site .et_pb_slider { position: relative; }
.restored-site .et_pb_slides > .et_pb_slide {
  display: none !important; position: relative !important;
  opacity: 1 !important; visibility: visible !important; z-index: 1 !important;
}
.restored-site .et_pb_slides > .et_pb_slide:first-child,
.restored-site .et_pb_slides > .et_pb_slide[data-restore-active="true"] { display: block !important; }
.restored-site .et_pb_slides > .et_pb_slide[hidden] { display: none !important; }
.restored-site .et_pb_slider .et-pb-arrow-prev,
.restored-site .et_pb_slider .et-pb-arrow-next,
.restored-site .et_pb_slider .et-pb-controllers,
.restored-site .testimonial_rotator_nav { display: none !important; }
.restore-carousel-controls {
  display: flex; justify-content: center; align-items: center; gap: 14px;
  position: relative; z-index: 4; margin: 22px auto 0;
  font: 14px/1.4 Mulish, Arial, sans-serif;
}
.restore-carousel-controls button,
#restoreImageDialog button {
  display: inline-flex; justify-content: center; align-items: center;
  min-height: 40px; padding: 8px 14px; border: 1px solid currentColor;
  border-radius: 2px; background: #fff; color: var(--restore-deep-green);
  font: 600 14px/1.3 Mulish, Arial, sans-serif; cursor: pointer;
}
.restore-carousel-controls button:hover,
#restoreImageDialog button:hover { color: #fff; background: var(--restore-deep-green); }
.restore-carousel-controls .restore-carousel-status { min-width: 53px; text-align: center; }
.et_pb_slider > .restore-carousel-controls {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  width: max-content; max-width: calc(100% - 24px); margin: 0; color: #fff;
  padding: 4px 8px; background: rgba(0,0,0,.34); border-radius: 3px;
}
.et_pb_slider > .restore-carousel-controls button {
  background: rgba(255,255,255,.95); border-color: #fff; color: #254c29;
}
.et_pb_slider > .restore-carousel-controls button:hover { background: #fff; color: #111; }
.restored-site .testimonial_rotator,
.restored-site .testimonial_rotator_wrap { height: auto !important; }
.restored-site .testimonial_rotator .testimonial_rotator_slide {
  display: block !important; position: relative !important;
  width: 100% !important; opacity: 1 !important; visibility: visible !important;
  padding-top: 14px; padding-bottom: 14px;
}
.restored-site .testimonial_rotator .testimonial_rotator_slide[hidden],
.restored-site .testimonial_rotator_microdata { display: none !important; }
.restored-site .testimonial_rotator_quote { line-height: 1.65; }
.restored-site .testimonial_rotator .restore-carousel-controls { margin-top: 12px; }

/* Every office photograph remains an ordinary image link without JavaScript. */
.restored-site .et_pb_gallery .et_pb_gallery_items {
  display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px; height: auto !important;
}
.restored-site .et_pb_gallery .et_pb_gallery_items::before,
.restored-site .et_pb_gallery .et_pb_gallery_items::after { display: none !important; }
.restored-site .et_pb_gallery .et_pb_gallery_item {
  display: block !important; float: none !important; position: relative !important;
  width: auto !important; height: auto !important; margin: 0 !important;
  opacity: 1 !important; visibility: visible !important; z-index: 1 !important;
}
.restored-site .et_pb_gallery .et_pb_gallery_image a { display: block; }
.restored-site .et_pb_gallery .et_pb_gallery_image img {
  display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover;
}
.restored-site .et_pb_gallery .et_pb_gallery_image a[data-gallery]:not([data-gallery="office"]) img {
  aspect-ratio: auto; object-fit: contain;
}
.restored-site .et_pb_gallery .et_overlay { display: none !important; }
#restoreImageDialog {
  width: min(1080px,calc(100vw - 32px)); max-width: none;
  max-height: 94vh; margin: auto; padding: 18px; border: 0; border-radius: 3px;
  background: #fff; color: #333; box-shadow: 0 15px 70px rgba(0,0,0,.4);
}
#restoreImageDialog:not([open]) { display: none; }
#restoreImageDialog::backdrop { background: rgba(0,0,0,.84); }
#restoreImageDialog figure { margin: 0; }
#restoreDialogImage { display: block; width: auto; height: auto; max-width: 100%; max-height: 72vh; margin: 0 auto; object-fit: contain; }
#restoreDialogCaption { margin: 12px auto; text-align: center; font: 16px/1.5 Mulish, Arial, sans-serif; }
#restoreImageDialog .restore-dialog-controls { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
#restoreImageDialog button[disabled] { opacity: .4; cursor: default; }
html.restore-gallery-open { overflow: hidden; }

/* Office accordions stay expanded when scripting is unavailable. */
.restored-site .et_pb_toggle_content { display: block !important; }
.restored-site .et_pb_toggle_content[hidden] { display: none !important; }
.restore-js .et_pb_toggle_title { cursor: pointer; }
.restored-site .et_pb_toggle_title::before { font-family: Arial,sans-serif !important; content: "−" !important; }
.restore-js .et_pb_toggle_title[aria-expanded="false"]::before { content: "+" !important; }

.restored-site .restore-resource-link { display: block; height: 100%; color: inherit; text-decoration: none; }
.restored-site .restore-resource-link:hover { color: var(--restore-deep-green); }
.restored-site .restore-resource-link .et_pb_code_inner { height: 100%; }
.restored-site .restore-resource-icon { display: block; margin: 0 auto 14px; color: var(--restore-green); font-family: FontAwesome !important; font-size: 68px; line-height: 1.3; }
.restored-site .restore-video-card { width: 100%; max-width: 960px; margin: 24px auto; }
.restored-site .restore-video-link { display: flex; flex-direction: column; align-items: center; gap: 16px; text-decoration: none; }
.restored-site .restore-video-link img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.restored-site .restore-external-service { margin: 24px 0; text-align: center; }
.restored-site #KellyBoothModal[aria-hidden="true"] { display: none !important; }

.restored-site .restore-contact-form { display: none !important; }
.restore-js .restore-contact-form {
  display: grid !important; grid-template-columns: minmax(0,1fr);
  gap: 13px; max-width: 100%; margin: 0;
}
.restore-js .restore-contact-form[hidden] { display: none !important; }
.restore-contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; text-align: left; }
.restore-contact-form input,
.restore-contact-form select,
.restore-contact-form textarea {
  width: 100%; max-width: 100%; box-sizing: border-box;
  padding: 12px 13px; border: 1px solid #b8c3ae; border-radius: 0;
  background: #fff; color: #333; font: 16px/1.5 Mulish, Arial, sans-serif;
}
.restore-contact-form input[type="checkbox"],
.restore-contact-form input[type="radio"] { width: auto; min-width: 18px; height: 18px; margin: 2px 6px 2px 0; padding: 0; accent-color: var(--restore-deep-green); }
.restore-contact-form label:has(input[type="checkbox"]),
.restore-contact-form label:has(input[type="radio"]) { flex-direction: row; align-items: center; flex-wrap: wrap; }
.restore-contact-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.restore-contact-form legend { margin-bottom: 8px; font-weight: 600; }
.restore-contact-form textarea { min-height: 130px; resize: vertical; }
.restore-contact-form button {
  justify-self: start; padding: 12px 21px; border: 1px solid #fff;
  background: var(--restore-deep-green); color: #fff;
  font: 600 16px/1.4 Lora, Georgia, serif; cursor: pointer;
}
.restore-contact-form button:hover { background: #214c27; }
.restore-email-status { font-size: 14px; line-height: 1.55; }
.restored-site .restore-manual-email,
.restored-site .restore-email-direct a { overflow-wrap: anywhere; }
.restored-site #footer-widgets { padding-top: 30px !important; }
.restored-site #footer-widgets .footer-widget { width: 100% !important; margin: 0 !important; }
.restored-site #main-footer .restore-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 20px; width: 100% !important; max-width: 100%; float: none !important; clear: both; margin: 0; padding: 0; list-style: none; box-sizing: border-box; }

@media (max-width: 1100px) {
  .restore-header-main { flex-wrap: wrap; }
  .restore-logo { width: 140px; flex-basis: 140px; }
  .restore-logo img { max-height: 100px; }
  .restore-js .restore-menu-toggle { display: inline-flex; }
  .restore-nav { width: 100%; flex: 1 0 100%; }
  .restore-nav > ul { display: block; border-top: 1px solid #e5e9df; font-size: 17px; }
  .restore-nav > ul > li > a,
  .restore-submenu > summary { padding: 13px 5px; border-bottom: 1px solid #edf0e8; }
  .restore-submenu > ul { position: static; min-width: 0; max-height: none; margin: 0 0 6px; padding: 4px 0; box-shadow: none; border-top: 0; border-left: 3px solid var(--restore-green); }
  .restore-submenu > ul a { padding: 11px 18px; }
}
@media (max-width: 767px) {
  .restore-topbar,
  .restore-header-main { padding-left: 20px; padding-right: 20px; }
  .restore-topbar { justify-content: center; gap: 10px; }
  .restore-topbar > div,
  .restore-topbar > ul { justify-content: center; }
  .restore-topbar a:not(:has(img)) { font-size: 11px; padding: 7px 9px; }
  .restore-topbar img { width: 25px; height: 25px; }
  .restore-header-main { padding-top: 12px; padding-bottom: 12px; }
  .restore-logo { width: 122px; flex-basis: 122px; }
  .restore-logo img { max-height: 86px; }
  .restored-site .et_pb_gallery .et_pb_gallery_items { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .restored-site .testimonial_rotator_wrap,
  .restored-site .testimonial_rotator_wrap.with-prevnext { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
  .restore-carousel-controls { gap: 10px; font-size: 13px; }
  .restore-carousel-controls button { min-height: 38px; padding: 7px 11px; font-size: 13px; }
  .et_pb_slider > .restore-carousel-controls { bottom: 10px; }
  #restoreImageDialog { padding: 12px; }
  #restoreDialogImage { max-height: 68vh; }
}
@media (prefers-reduced-motion: reduce) {
  .restored-site *, .restored-site *::before, .restored-site *::after {
    scroll-behavior: auto !important; animation: none !important; transition: none !important;
  }
}
