/* Skippy blog styles (added 19 Nov 2026) */
/* Blog post title */
.article-details .article-header [itemprop="headline"] {
  font-size: 46px;
  font-weight: 700;
  line-height: 1.2;
  color: #121B46;
}
/* Headings inside a blog post */
.article-details [itemprop="articleBody"] h2 {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.25;
  margin-top: 1.4em;
}
@media (max-width: 767px) {
  .article-details .article-header [itemprop="headline"] { font-size: 34px; }
  .article-details [itemprop="articleBody"] h2 { font-size: 30px; }
}

/* ===== Header (added 19 Nov 2026) ===== */
/* Homepage: menu sits at the top (was at the bottom of the hero) */
#sp-header.has-slideshow { position: fixed; top: 0; bottom: auto; }
/* Thin orange line under the menu on every page */
#sp-header { border-bottom: 3px solid #F15F23; }

/* ===== Phones (added 19 Nov 2026) ===== */
@media (max-width: 767px) {
  /* Stop the page moving sideways */
  .body-wrapper { overflow-x: clip; }
  #sp-page-title .row, #sp-main-body > .row, #sp-main-body .container > .row { margin-left: 0; margin-right: 0; }

  /* Homepage hero: text full width, house graphic underneath */
  #home-wrapper .sp-slider-outer-stage, #home-wrapper .sp-item { height: auto !important; min-height: 0 !important; }
  #home-wrapper .sp-item { position: relative !important; }
  #home-wrapper .sp-item .sppb-container { padding-top: 90px; padding-bottom: 40px; }
  #home-wrapper .sp-item .sppb-col-xs-6 { flex: 0 0 100%; max-width: 100%; width: 100%; }
  #home-wrapper h1.sppb-sp-slider-title { font-size: 36px !important; line-height: 1.15 !important; }
  #home-wrapper p.sppb-sp-slider-title { font-size: 18px !important; line-height: 1.5 !important; }
  #home-wrapper p.sppb-sp-slider-title[id*="-num-0-key"] { font-size: 14px !important; letter-spacing: 1px; }
  #home-wrapper .sp-slider-image-align- img { max-width: 80%; margin: 30px auto 0; display: block; }

  /* Easier reading: 16px body text */
  body { font-size: 16px; }
  .sppb-addon-text p, .sppb-addon-text-block p, .sppb-addon-content p, .sppb-addon-content li,
  [itemprop="articleBody"] p, [itemprop="articleBody"] li { font-size: 16px !important; line-height: 1.6 !important; }

  /* Orange page-title banner: smaller title, no "You are here" line */
  #sp-page-title .sp-page-title-heading { font-size: 30px !important; line-height: 1.2 !important; }
  #sp-page-title .mod-breadcrumbs__wrapper { display: none; }
  #sp-page-title .sp-page-title { padding-top: 80px; padding-bottom: 24px; }
  #sp-page-title .sp-page-title-heading { padding-top: 0; margin: 0; }

  /* No fade-in animations on phones */
  .sppb-wow { visibility: visible !important; animation: none !important; opacity: 1 !important; }
}

/* ===== Tablets (added 19 Nov 2026) ===== */
@media (min-width: 768px) and (max-width: 991.98px) {
  .body-wrapper { overflow-x: clip; }
  /* Homepage hero: text full width, house graphic underneath */
  #home-wrapper .sp-slider-outer-stage, #home-wrapper .sp-item { height: auto !important; min-height: 0 !important; }
  #home-wrapper .sp-item { position: relative !important; }
  #home-wrapper .sp-item .sppb-container { padding-top: 130px; padding-bottom: 60px; }
  #home-wrapper .sp-item .sppb-col-xs-6, #home-wrapper .sp-item .sppb-col-sm-6 { flex: 0 0 100%; max-width: 100%; width: 100%; }
  #home-wrapper h1.sppb-sp-slider-title { font-size: 52px !important; line-height: 1.12 !important; }
  #home-wrapper p.sppb-sp-slider-title { font-size: 20px !important; line-height: 1.5 !important; max-width: 600px; }
  #home-wrapper p.sppb-sp-slider-title[id*="-num-0-key"] { font-size: 15px !important; letter-spacing: 1px; max-width: none; }
  #home-wrapper .sp-slider-image-align- img { max-width: 60%; margin: 40px auto 0; display: block; }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  /* Homepage cards: 2 per row on tablets */
  #about-us-wrapper .sppb-row:has(> .sppb-row-column:nth-child(4)) > .sppb-row-column,
  #Services-wrapper .sppb-row:has(> .sppb-row-column:nth-child(4)) > .sppb-row-column { flex: 0 0 50% !important; max-width: 50% !important; width: 50% !important; margin-bottom: 30px; }
  #Services-wrapper .sppb-row:has(> .sppb-row-column:nth-child(4)) > .sppb-row-column:first-child,
  #Services-wrapper .sppb-row:has(> .sppb-row-column:nth-child(4)) > .sppb-row-column:last-child { flex: 0 0 100% !important; max-width: 100% !important; width: 100% !important; }
  #about-us-wrapper p, #about-us-wrapper li, #Services-wrapper p { font-size: 16px !important; line-height: 1.6 !important; }
}

/* ===== Small laptops / landscape tablets (added 19 Nov 2026) ===== */
@media (min-width: 992px) and (max-width: 1199.98px) {
  #home-wrapper .sp-slider-content-align-left { padding-left: 0 !important; padding-right: 20px !important; }
  #home-wrapper h1.sppb-sp-slider-title { font-size: 46px !important; line-height: 1.12 !important; }
  #home-wrapper p.sppb-sp-slider-title { font-size: 17px !important; line-height: 1.5 !important; }
  #home-wrapper p.sppb-sp-slider-title[id*="-num-0-key"] { font-size: 14px !important; }
}

/* ===== Mega menu division headings look clickable (added 19 Nov 2026) ===== */
#sp-header .sp-mega-group a.sp-group-title { display: flex; width: 100%; box-sizing: border-box; align-items: center; gap: 8px; cursor: pointer; padding-bottom: 4px; border-bottom: 2px solid rgba(241, 95, 35, 0.35); transition: color .2s ease, border-color .2s ease; }
#sp-header .sp-mega-group a.sp-group-title::after { content: "\2192"; font-size: 0.9em; transition: transform .2s ease; }
#sp-header .sp-mega-group a.sp-group-title:hover, #sp-header .sp-mega-group a.sp-group-title:focus-visible { color: #ffffff !important; border-bottom-color: #F15F23; }
#sp-header .sp-mega-group a.sp-group-title:hover::after, #sp-header .sp-mega-group a.sp-group-title:focus-visible::after { transform: translateX(4px); color: #F15F23; }
