/*
 * Agivee Mobile First
 * Responsive compatibility layer for the original fixed-width theme.
 * Defaults target small screens; wider layouts are progressively enhanced.
 */

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

/* ---------- Typography refinement ---------- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body, button, input, select, textarea {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
body {
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.maincontent,
.maincontent p,
.maincontent li,
#side-box,
#side-box p,
.widgets,
.widgets li {
  font-size: 15px;
  line-height: 1.65;
}
h1, h2, h3, h4, h5, h6 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
h1 { font-size: 28px; }
h2 { font-size: 23px; }
h3 { font-size: 19px; }
h4 { font-size: 17px; }
h5 { font-size: 14px; }
#page-title .title h1, .title h1 { line-height: 1.15; }
.ddsmoothmenu ul li a { font-size: 14px; }
#footer, #footer p, #footer li { font-size: 13px; line-height: 1.55; }

html, body { width: 100%; min-width: 0; }
body { overflow-x: hidden; }
*, *::before, *::after { box-sizing: border-box; }
img, embed, object, video, iframe { max-width: 100%; }
img { height: auto; }
iframe { width: 100%; }

/* Accessible focus styles: the original theme removes focus outlines globally. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid currentColor !important;
  outline-offset: 2px;
}

/* ---------- Mobile base: 0–767px ---------- */
#page-container,
.page-container-inner,
.frame,
#header,
#bottom-header,
#content,
#content-inner,
#content-inner-full,
#page-title,
#footer,
#bottom-box,
#bottom-box-inner,
#recentPostList,
#commentFormArea,
#contactFormArea {
  width: 100% !important;
  max-width: 100% !important;
}

#page-container { margin: 0; padding: 0; }
.page-container-inner { float: none; background-image: none; }
.frame { padding: 0 16px; }

/* Header */
#header {
  height: auto;
  min-height: 0;
  background-position: center bottom;
}
#top-header {
  height: auto;
  min-height: 0;
  padding: 14px 0 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}
.logo {
  float: none;
  width: min(68%, 360px);
  padding: 0;
  margin-right: auto;
}
.logo a,
.logo img { display: block; max-width: 100%; height: auto; }
.lang,
.phone {
  float: none;
  width: auto;
  padding: 0;
  margin: 0;
}
.lang { order: 2; margin-left: auto; }
.phone {
  order: 3;
  flex: 1 0 100%;
  font-size: 15px;
  line-height: 1.45;
}
.phone-get { font-size: 13px; }

#bottom-header {
  float: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
}
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid #b9b9b9;
  background: #fff;
  color: #444;
  font: inherit;
  cursor: pointer;
}
.mobile-menu-toggle__icon,
.mobile-menu-toggle__icon::before,
.mobile-menu-toggle__icon::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  content: "";
  transition: transform .2s ease, opacity .2s ease;
}
.mobile-menu-toggle__icon { position: relative; }
.mobile-menu-toggle__icon::before { position: absolute; top: -6px; left: 0; }
.mobile-menu-toggle__icon::after { position: absolute; top: 6px; left: 0; }
.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle__icon { background: transparent; }
.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle__icon::before { transform: translateY(6px) rotate(45deg); }
.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle__icon::after { transform: translateY(-6px) rotate(-45deg); }

#nav-menu {
  display: none;
  float: none;
  order: 3;
  width: 100% !important;
  margin: 0;
}
#nav-menu.is-open { display: block; }
#smoothmenu1,
.ddsmoothmenu { float: none !important; width: 100% !important; }
.ddsmoothmenu ul,
.ddsmoothmenu ul li,
.ddsmoothmenu ul li ul,
.ddsmoothmenu ul li ul li {
  position: static !important;
  float: none !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  visibility: visible !important;
  margin: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}
@media (max-width: 1023px) {
  .ddsmoothmenu > ul > li { border-top: 1px solid #e1e1e1; }
}
.ddsmoothmenu ul li a,
.ddsmoothmenu ul li ul li a,
.ddsmoothmenu ul li ul li a:link {
  float: none !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 42px;
  padding: 12px 10px !important;
  border: 0 !important;
  line-height: 1.35 !important;
  overflow: visible !important;
  text-align: left;
  background: transparent;
}
.ddsmoothmenu ul li ul li a,
.ddsmoothmenu ul li ul li a:link {
  padding-left: 26px !important;
  background: #f5f5f5;
}
.ddsmoothmenu ul li ul li ul li a,
.ddsmoothmenu ul li ul li ul li a:link { padding-left: 42px !important; }
.ddshadow, .toplevelshadow, .downarrowclass, .rightarrowclass { display: none !important; }

#search-box {
  order: 2;
  float: none;
  width: auto;
  height: auto;
  margin-left: auto;
  padding: 0;
}
#search { float: none; }
#search p { white-space: nowrap; }
#s { width: min(42vw, 190px); max-width: 100%; }

/* Slider */
#slideshow,
#slideshow-threed,
#box-nav-slider,
#slider,
#accordion-slider,
.slide-shadow-accordion {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
}
#slideshow { margin-top: 12px; }
#slider {
  width: 100% !important;
  height: auto !important;
  min-height: 0;
  aspect-ratio: 920 / 283;
  overflow: hidden;
  background-size: 100% 100% !important;
  background-position: center center !important;
}
#slider img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
}
.nivoSlider { width: 100% !important; }
.nivo-slice, .nivo-box {
  max-width: 100%;
  background-size: 100% 100% !important;
}
.nivo-caption { width: min(78%, 320px); bottom: 12px; }
.nivo-caption p { padding: 10px 12px; font-size: 13px; }
.nivo-controlNav { left: 50%; transform: translateX(-50%); white-space: nowrap; }

@media (max-width: 767px) {
  #slideshow { margin-top: 8px; overflow: visible; }
  #slider {
    aspect-ratio: 16 / 7;
    border-radius: 0;
  }
  #slider img { object-position: center center; }
  .nivo-caption {
    left: 8px;
    right: 8px;
    bottom: 8px;
    width: auto;
    max-width: none;
    border-radius: 4px;
  }
  .nivo-caption p {
    padding: 7px 9px;
    font-size: 12px;
    line-height: 1.3;
  }
  .nivo-directionNav { display: none !important; }
  .nivo-controlNav {
    bottom: -24px;
    width: max-content;
    max-width: calc(100% - 24px);
  }
  .nivo-controlNav a {
    margin-right: 7px;
    transform: scale(1.1);
  }
}

@media (max-width: 479px) {
  #slider { aspect-ratio: 16 / 8; }
  .nivo-caption p { font-size: 11px; }
}

/* Cycle/text slider gets a taller mobile canvas so image + text both fit. */
#slideshow > .slide-text {
  width: 100% !important;
  height: 520px !important;
  max-width: 100%;
  overflow: hidden;
}
.img-slide,
.text-slide {
  float: none !important;
  width: 100% !important;
  max-width: 100%;
}
.img-slide { height: 245px !important; }
.img-slide img { width: 100%; height: 245px; object-fit: cover; }
.text-slide {
  height: 275px !important;
  padding: 14px 16px !important;
  overflow: auto !important;
}
.slide-text h1 { padding: 0 0 8px; font-size: 22px; line-height: 1.2; }
.slide-text p, .slide-text li { padding-right: 0; line-height: 1.55; }

/* Legacy Kwicks accordion is not usable as an accordion on touch screens;
   present each panel as a normal horizontal card instead. */
#accordion-slider { overflow: hidden; }
.kwicks_4 {
  width: 100% !important;
  height: 283px !important;
  overflow: hidden;
}
.kwicks_4 .kwick {
  display: none !important;
  width: 100% !important;
  height: 283px !important;
  float: none !important;
}
.kwicks_4 .kwick:first-child { display: block !important; }
.kwicks_4 .kwick img { display: block !important; width: 100%; height: 283px; object-fit: cover; }
.kwicks_4 .kwick_desc { display: none !important; }
.kwicks_4 .kwick_title { width: 100%; box-sizing: border-box; }

/* Main content and sidebars */
#content,
#content-inner,
#content-inner-full { float: none; padding: 18px 0; }
#content-left,
#side-box,
#side-map,
#content-map,
#content1,
#content2,
#content3,
.service-item,
.services-icon,
.related-item-wrapper,
.portfolio-box,
.portfolio-box-bottom,
.pf-gall,
.pf-gall-nomargin,
.box1,
.box2,
.footer1,
.footer2,
.footer3 {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
#content1, #content2, #content3 { margin-bottom: 22px; }
#side-box, #side-map { margin-top: 28px; }
.services-icon { height: auto; margin-bottom: 10px; }
.spacer, .spacer-pf, .related-item-spacer { display: none !important; }

/* Titles */
#page-title {
  float: none;
  height: auto;
  min-height: 0;
  padding: 18px 0;
  display: block;
}
#page-title .title,
#page-title .desc {
  float: none;
  width: 100% !important;
  margin: 0 !important;
}
#page-title .desc { margin-top: 10px !important; padding: 10px; }

/* Feature and portfolio blocks */
.bg-featured { width: 100% !important; max-width: 100%; height: auto; min-height: 157px; }
.pf-title { width: 100% !important; }
.pf-content { width: 100%; padding: 14px; }
.pf-content img { max-width: 42%; height: auto; }
.portfolio-box, .portfolio-box-bottom { margin-bottom: 22px !important; }
.pf-gall, .pf-gall-nomargin { margin-bottom: 18px !important; }
.pf-gall img, .pf-gall-nomargin img { width: 100%; height: auto; }

/* Bottom boxes + footer */
#bottom-box { float: none; padding: 5px; }
#bottom-box-inner { float: none; padding: 4px 10px; }
.box1, .box2 { padding: 14px 0 !important; overflow: hidden; }
#footer {
  float: none;
  height: auto;
  min-height: 0;
  padding: 10px 16px 24px;
  overflow: hidden;
}
.footer1, .footer2, .footer3 { padding-top: 18px !important; }

/* Forms, maps, tables */
input, textarea, select, button { max-width: 100%; }
.textfield,
.textarea,
.input,
.input2,
.textarea-comment,
#author,
#email,
#url,
#comment {
  width: 100% !important;
  max-width: 100% !important;
}
label { float: none; width: auto; }
.form-row, .form-row-textarea { float: none; width: 100%; margin-right: 0; }
.google-map, .google-map2, #google-map, [class^="google_map"] { width: 100% !important; max-width: 100%; }
table { max-width: 100%; }
.maincontent table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
pre { max-width: 100%; overflow-x: auto; }

/* Old shortcode columns */
.col_12, .col_12_last, .col_13, .col_13_last, .col_23, .col_14, .col_14_last, .col_34 {
  float: none;
  display: block;
  width: 100%;
  margin: 0 0 20px;
}

/* Posts/comments/media */
.blog-posted,
.blog-posted-inner { width: 100% !important; max-width: 100%; }
.related-item-wrapper { height: auto; min-height: 100px; }
.wp-caption { max-width: 100%; height: auto; margin-left: 0; margin-right: 0; }
.maincontent img, .widget img, .widgets img { max-width: 100%; height: auto; }

/* Do not let floated editorial images crush the text on narrow phones. */
@media (max-width: 479px) {
  .maincontent img.alignleft,
  .maincontent img.alignright,
  .maincontent .alignleft,
  .maincontent .alignright {
    float: none;
    display: block;
    margin: 0 auto 15px;
  }
  .imgleft-box, .imgright-box { float: none; margin: 0 0 15px; }
  .imgleft-bottom { max-width: 72px; height: auto; }
}

/* ---------- Tablet: 768–1023px ---------- */
@media (min-width: 768px) {
  .frame { padding-left: 24px; padding-right: 24px; }
  .logo { width: min(55%, 500px); }
  .phone { flex: 0 1 auto; order: 2; margin-left: auto; }
  .lang { order: 3; margin-left: 0; }

  #content { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  #content1, #content2, #content3 { width: auto !important; margin: 0 !important; }
  #bottom-box { grid-column: 1 / -1; }
  #bottom-box-inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

  #content-inner { display: grid; grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr); gap: 28px; }
  #content-inner-full { display: block; }
  #content-left, #side-box, #side-map { width: auto !important; margin-top: 0; }

  #page-title { display: grid; grid-template-columns: minmax(180px, .8fr) minmax(0, 2fr); gap: 24px; align-items: center; }
  #page-title .desc { margin-top: 0 !important; }

  #footer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }

  .portfolio-box, .portfolio-box-bottom { width: calc(50% - 10px) !important; float: left !important; margin-left: 5px !important; margin-right: 5px !important; }
  .pf-gall, .pf-gall-nomargin { width: calc(50% - 12px) !important; float: left !important; margin-right: 12px !important; }

  .col_12, .col_12_last { width: calc(50% - 10px); float: left; }
  .col_12_last { margin-left: 20px; }
  .col_13, .col_13_last { width: calc(33.333% - 14px); float: left; margin-right: 20px; }
  .col_13_last { margin-right: 0; }
  .col_23 { width: calc(66.666% - 7px); float: left; margin-right: 20px; }
  .col_14, .col_14_last { width: calc(25% - 15px); float: left; margin-right: 20px; }
  .col_14_last { margin-right: 0; }
  .col_34 { width: calc(75% - 5px); float: left; margin-right: 20px; }
}


/* Typography: tablet */
@media (min-width: 768px) and (max-width: 1023px) {
  body { font-size: 15.5px; line-height: 1.62; }
  .maincontent, .maincontent p, .maincontent li, #side-box, #side-box p, .widgets, .widgets li {
    font-size: 15px;
    line-height: 1.65;
  }
  h1 { font-size: 31px; }
  h2 { font-size: 25px; }
  h3 { font-size: 20px; }
  h4 { font-size: 18px; }
  .ddsmoothmenu ul li a { font-size: 14px; }
}

/* ---------- Original desktop geometry: 1024px+ ---------- */
@media (min-width: 1024px) {
  body { font-size: 14px; line-height: 1.55; }
  .maincontent, .maincontent p, .maincontent li, #side-box, #side-box p, .widgets, .widgets li {
    font-size: 14px;
    line-height: 1.58;
  }
  h1 { font-size: 30px; }
  h2 { font-size: 23px; }
  h3 { font-size: 18px; }
  h4 { font-size: 16px; }
  h5 { font-size: 13px; }
  #footer, #footer p, #footer li { font-size: 12px; line-height: 1.5; }
  .ddsmoothmenu > ul > li { border-top: 0 !important; }
  .ddsmoothmenu ul li a { font-size: 13px; }
  #page-container { width: 988px !important; margin: 0 auto; }
  .page-container-inner { width: 988px !important; float: left; background-image: url(../images/bg-container.png); }
  .frame { width: 920px !important; padding: 0; margin: 0 auto; }

  #header { width: 920px !important; height: 139px; }
  #top-header { height: 108px; padding: 0; display: block; }
  .logo { width: 600px; padding: 10px 0 0 10px; float: left; margin: 0; }
  .phone { float: right; width: auto; padding: 20px 20px 0 0; margin: 0; font-size: 18px; }
  .lang { float: right; width: auto; padding: 10px 20px 0 0; margin: 0; }

  #bottom-header { width: 920px !important; float: left; display: block; padding: 0; }
  .mobile-menu-toggle { display: none; }
  #nav-menu { display: block !important; float: left; width: 680px !important; margin: 5px 0; }
  #search-box { display: block; float: left; width: auto; height: 23px; padding-bottom: 6px; margin: 0; }
  #search { float: right; }
  #s { width: 185px; }
  .ddsmoothmenu { float: left !important; width: auto !important; position: relative !important; z-index: 10000 !important; }
  .ddsmoothmenu > ul { position: relative !important; display: block !important; visibility: visible !important; width: auto !important; overflow: visible !important; }
  .ddsmoothmenu > ul > li { position: relative !important; display: block !important; float: left !important; width: auto !important; overflow: visible !important; }
  .ddsmoothmenu ul li a { float: none !important; display: block !important; width: auto !important; min-height: 0; padding: 0 17px !important; border-right: 1px solid #8e8c8c !important; line-height: 12px !important; background: transparent; }

  .ddsmoothmenu > ul > li > ul {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 230px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 12px 0 0 !important;
    overflow: visible !important;
    z-index: 10001 !important;
  }
  .ddsmoothmenu > ul > li:hover > ul,
  .ddsmoothmenu > ul > li:focus-within > ul,
  .ddsmoothmenu > ul > li.submenu-open > ul {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .ddsmoothmenu > ul > li > ul > li,
  .ddsmoothmenu > ul > li > ul > li > ul > li {
    position: relative !important;
    display: block !important;
    float: none !important;
    width: 230px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    visibility: visible !important;
  }
  .ddsmoothmenu ul li ul li a,
  .ddsmoothmenu ul li ul li a:link {
    display: block !important;
    float: none !important;
    box-sizing: border-box !important;
    width: 230px !important;
    min-height: 0 !important;
    padding: 8px 17px !important;
    border-left: 1px solid #969696 !important;
    border-right: 1px solid #969696 !important;
    border-bottom: 1px solid #969696 !important;
    line-height: 18px !important;
    background: #fff !important;
  }
  .ddsmoothmenu > ul > li > ul > li > ul {
    position: absolute !important;
    top: 0 !important;
    left: 230px !important;
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 230px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 10002 !important;
  }
  .ddsmoothmenu > ul > li > ul > li:hover > ul,
  .ddsmoothmenu > ul > li > ul > li:focus-within > ul,
  .ddsmoothmenu > ul > li > ul > li.submenu-open > ul {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  #slideshow, #slideshow-threed, #box-nav-slider, #slider { width: 920px !important; }
  #slideshow, #slider { height: 283px !important; aspect-ratio: auto; }
  #slideshow > .slide-text { width: 920px !important; height: 283px !important; }
  .img-slide { width: 460px !important; height: 283px !important; float: left !important; }
  .img-slide img { width: auto; height: auto; object-fit: initial; }
  .text-slide { width: 420px !important; height: 283px !important; float: left !important; padding: 0 20px !important; overflow: hidden !important; }
  .slide-text h1 { padding: 30px 20px 0 0; font-size: inherit; }

  /* Let the original Kwicks plugin own the accordion on desktop. */
  #accordion-slider { width: 1188px !important; }
  .kwicks_4 { width: 920px !important; height: 283px !important; }
  .kwicks_4 .kwick { display: block !important; width: 230px !important; height: 283px !important; float: left !important; }
  .kwicks_4 .kwick img { display: none !important; width: auto; height: auto; object-fit: initial; }
  .kwicks_4 .kwick_desc { display: block !important; }

  #content { width: 920px !important; float: left; display: block; padding: 20px 0; }
  #content1 { float: left !important; width: 284px !important; }
  #content2 { float: left !important; width: 284px !important; margin-left: 34px !important; }
  #content3 { float: left !important; width: 284px !important; margin-left: 34px !important; }
  #bottom-box { width: 908px !important; float: left; }
  #bottom-box-inner { width: 908px !important; float: left; display: block; }
  .box1 { float: left !important; width: 437px !important; padding: 10px 0 10px 10px !important; }
  .box2 { float: left !important; width: 437px !important; margin-left: 10px !important; padding: 10px 0 !important; }

  #page-title { width: 920px !important; height: 99px; float: left; display: block; padding: 0; }
  #page-title .title { width: 200px !important; float: left; margin: 30px 0 0 28px !important; }
  #page-title .desc { width: 640px !important; float: left; margin: 20px 0 0 !important; }

  #content-inner, #content-inner-full { width: 920px !important; float: left; display: block; padding: 20px 0; }
  #content-left { float: left !important; width: 602px !important; }
  #side-box { float: left !important; width: 284px !important; margin: 0 0 0 34px !important; }
  #side-map { float: left !important; width: 493px !important; margin: 0 0 0 34px !important; }

  #footer { width: 920px !important; min-height: 142px; float: left; display: block; padding: 0; }
  .footer1 { float: left !important; width: 269px !important; margin-left: 20px !important; padding-top: 15px !important; }
  .footer2 { float: left !important; width: 269px !important; margin-left: 37px !important; padding-top: 21px !important; }
  .footer3 { float: left !important; width: 269px !important; margin-left: 37px !important; padding-top: 15px !important; }

  .portfolio-box { width: 442px !important; float: left !important; margin: 0 9px 37px !important; }
  .portfolio-box-bottom { width: 442px !important; float: left !important; }
  .pf-title { width: 422px !important; }
  .pf-gall { width: 200px !important; float: left !important; margin-right: 24px !important; }
  .pf-gall-nomargin { width: 200px !important; float: left !important; margin-right: 0 !important; }

  #recentPostList { width: 602px !important; float: left; }
  #commentFormArea { width: 540px !important; float: left; }
}

/* ======================================================================
   v1.0.5 — Subtle modern refinement
   Keeps the Agivee visual identity and geometry; improves typography,
   whitespace and small interaction details only.
   ====================================================================== */

/* More contemporary, calm text rendering without loading external fonts. */
body,
button,
input,
select,
textarea {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
}
body { color: #666; }

.maincontent,
.maincontent p,
.maincontent li,
#side-box,
#side-box p,
.widgets,
.widgets li {
  color: #666;
}

/* Headings: same hierarchy, cleaner rhythm and slightly stronger contrast. */
h1, h2, h3, h4, h5, h6 {
  color: #444;
  font-weight: 500;
  letter-spacing: -0.018em;
  margin-top: 0;
}
h1, h2, h3 { margin-bottom: 17px; }
h4, h5, h6 { margin-bottom: 12px; }
.maincontent p { margin-bottom: 17px; }
.maincontent ul,
.maincontent ol { margin-bottom: 22px; }
.maincontent li + li { margin-top: 4px; }

/* Links remain unmistakably Agivee orange, but transitions feel less dated. */
a { transition: color .16s ease, opacity .16s ease; }

/* Header/menu: preserve original dimensions, improve legibility and breathing room. */
.phone { letter-spacing: -0.01em; }
.phone-get { font-weight: 500; }
.ddsmoothmenu ul li a {
  font-weight: 500;
  letter-spacing: .005em;
}

/* Search and standard form controls: tiny refinement, no redesign. */
#s,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
textarea,
select {
  font-family: inherit;
  line-height: 1.45;
}
#s:focus,
input:focus,
textarea:focus,
select:focus {
  transition: border-color .16s ease, box-shadow .16s ease;
}

/* Page title/description spacing. */
#page-title .title h1 { margin-bottom: 0; }
#page-title .desc { line-height: 1.6; }

/* Widgets/footer: clearer hierarchy without cards, shadows or new visual language. */
.widgets h3,
#side-box h3,
.footer1 h3,
.footer2 h3,
.footer3 h3 {
  font-weight: 500;
  letter-spacing: -0.01em;
}
.widgets li { line-height: 1.55; }

/* Mobile: slightly more air and a calmer reading measure. */
@media (max-width: 767px) {
  .frame { padding-left: 18px; padding-right: 18px; }
  #top-header { padding-top: 16px; padding-bottom: 14px; }
  #bottom-header { padding-top: 10px; padding-bottom: 10px; }

  body { font-size: 15px; line-height: 1.68; }
  .maincontent,
  .maincontent p,
  .maincontent li,
  #side-box,
  #side-box p,
  .widgets,
  .widgets li {
    font-size: 15px;
    line-height: 1.68;
  }

  h1 { font-size: 29px; line-height: 1.18; }
  h2 { font-size: 23px; line-height: 1.24; }
  h3 { font-size: 19px; line-height: 1.28; }
  h4 { font-size: 17px; line-height: 1.3; }

  #content,
  #content-inner,
  #content-inner-full { padding-top: 22px; padding-bottom: 24px; }
  #content1, #content2, #content3 { margin-bottom: 27px; }
  #side-box, #side-map { margin-top: 32px; }
  #page-title { padding-top: 21px; padding-bottom: 21px; }

  .ddsmoothmenu ul li a,
  .ddsmoothmenu ul li ul li a,
  .ddsmoothmenu ul li ul li a:link {
    min-height: 46px;
    padding-top: 13px !important;
    padding-bottom: 13px !important;
    font-size: 14.5px;
  }

  #footer,
  #footer p,
  #footer li { font-size: 13px; line-height: 1.62; }
}

/* Tablet: keep the established responsive structure, add measured whitespace. */
@media (min-width: 768px) and (max-width: 1023px) {
  .frame { padding-left: 28px; padding-right: 28px; }
  body { font-size: 15.5px; line-height: 1.66; }
  .maincontent,
  .maincontent p,
  .maincontent li,
  #side-box,
  #side-box p,
  .widgets,
  .widgets li { line-height: 1.66; }

  #content,
  #content-inner,
  #content-inner-full { padding-top: 25px; padding-bottom: 28px; }
  #content { gap: 29px; }
  #content-inner { gap: 32px; }
  #page-title { gap: 28px; padding-top: 22px; padding-bottom: 22px; }
  #footer { gap: 30px; }
}

/* Desktop: stay faithful to the original fixed 920px design. */
@media (min-width: 1024px) {
  body { font-size: 14.5px; line-height: 1.62; }
  .maincontent,
  .maincontent p,
  .maincontent li,
  #side-box,
  #side-box p,
  .widgets,
  .widgets li {
    font-size: 14.5px;
    line-height: 1.62;
  }

  h1 { font-size: 31px; line-height: 1.16; }
  h2 { font-size: 23px; line-height: 1.25; }
  h3 { font-size: 18px; line-height: 1.3; }
  h4 { font-size: 16px; line-height: 1.35; }

  #content { padding-top: 26px; padding-bottom: 27px; }
  #content-inner,
  #content-inner-full { padding-top: 27px; padding-bottom: 30px; }

  /* Slightly more horizontal room per item while retaining the original menu. */
  .ddsmoothmenu ul li a {
    font-size: 13.5px;
    line-height: 14px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
  .ddsmoothmenu ul li ul li a,
  .ddsmoothmenu ul li ul li a:link {
    font-size: 13.5px;
    line-height: 19px !important;
    padding-top: 9px !important;
    padding-bottom: 9px !important;
  }

  #page-title .title { margin-top: 28px !important; }
  #page-title .desc { margin-top: 18px !important; line-height: 1.6; }

  #footer,
  #footer p,
  #footer li { font-size: 12.5px; line-height: 1.58; }
}

/* v1.0.12 - lightweight responsive slider lightbox */
.agivee-slider-lightbox {
  display: block;
  cursor: zoom-in;
}

.agivee-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, .9);
}

.agivee-lightbox.is-open {
  display: flex;
}

.agivee-lightbox__figure {
  position: relative;
  margin: 0;
  max-width: min(96vw, 1600px);
  max-height: 92vh;
  text-align: center;
}

.agivee-lightbox__image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 84vh;
  margin: 0 auto;
  object-fit: contain;
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}

.agivee-lightbox__caption {
  margin-top: 10px;
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
}

.agivee-lightbox__close {
  position: fixed;
  top: 14px;
  right: 16px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  color: #fff;
  font: 300 34px/40px Arial, sans-serif;
  cursor: pointer;
  z-index: 2;
}

.agivee-lightbox__close:hover,
.agivee-lightbox__close:focus {
  background: rgba(255,255,255,.24);
  outline: none;
}

body.agivee-lightbox-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .agivee-lightbox { padding: 12px; }
  .agivee-lightbox__figure { max-width: 100%; max-height: 94vh; }
  .agivee-lightbox__image { max-height: 82vh; }
  .agivee-lightbox__caption { font-size: 13px; }
}


/* v1.0.13 - contact form full-width rows */
#contactFormArea .label-form-inline {
  float: left;
  display: block;
  clear: both;
  width: 100%;
}

/* v1.0.13 - global image lightbox affordance */
.agivee-lightbox-target {
  cursor: zoom-in;
}
