/* ==========================================================================
   Serve With IT — site-specific styles and layout fixes.
   Loaded after the template CSS, so rules here win.
   ========================================================================== */

/* ---------- Logo sizing (the logo file is large; keep it inside the header) ---------- */
.main-header .logo img { max-height: 72px; width: auto; }
.sticky-header .logo img { max-height: 56px; width: auto; }
.mobile-menu .nav-logo img { max-height: 64px; width: auto; }
.main-footer .about-widget .image img { max-height: 110px; width: auto; }

/* ---------- Links inside template text blocks inherit their colour ---------- */
.main-footer .list-style-five a,
.main-footer .footer-nav a,
.contact-section-h1 .info-box .text a,
.blog-block-h1 .post-meta a { color: inherit; }
.main-footer .list-style-five a:hover,
.main-footer .footer-nav a:hover,
.blog-block-h1 .post-meta a:hover { color: var(--theme-color1); }
.main-footer .list-style-five span { text-transform: none; }

/* ---------- Hero ---------- */
.swi-banner-link { color: #fff; font-weight: 600; font-size: 17px; display: inline-flex; align-items: center; gap: 10px; }
.swi-banner-link:hover { color: var(--theme-color1); }

/* ---------- Service cards ---------- */
.ks-service-item .ks-service-icon span i { font-size: 30px; line-height: 1; display: block; }
.ks-service-item .ks-service-thumb > img { width: 100%; aspect-ratio: 280 / 215; object-fit: cover; }
.ks-service-item .ks-service-title { min-height: 2.6em; }
.swi-services-grid { padding: 110px 0 80px; }
.swi-services-grid .ks-service-item { margin-bottom: 30px; }

/* ---------- Blog cards: any uploaded image keeps the card shape ---------- */
.blog-block-h1 .image-box .image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.blog-block-h1 .meta-comment { cursor: default; }
.swi-section-more { margin-top: 20px; }
.swi-blog-list { padding-bottom: 100px; }
.swi-result-note { margin-bottom: 30px; font-size: 17px; }

/* ---------- Pagination ---------- */
.swi-pagination { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.swi-pagination a,
.swi-pagination span {
  min-width: 48px; height: 48px; padding: 0 12px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; color: var(--theme-color1-dark, #1b152c); background: #f4f3f7;
  transition: background .2s, color .2s;
}
.swi-pagination a:hover,
.swi-pagination .current { background: var(--theme-color1); color: #1b152c; }

/* ---------- Blog article ---------- */
.blog-details__img img { width: 100%; height: auto; }
.blog-details h1.blog-details__title { font-size: 34px; line-height: 1.25; }
.blog-details__meta li > span { color: inherit; }
.swi-post-body { font-size: 17px; line-height: 1.8; overflow-wrap: break-word; }
.swi-post-body p { margin-bottom: 18px; }
.swi-post-body h2, .swi-post-body h3, .swi-post-body h4 { margin: 32px 0 12px; line-height: 1.3; }
.swi-post-body h2 { font-size: 28px; }
.swi-post-body h3 { font-size: 23px; }
.swi-post-body h4 { font-size: 20px; }
.swi-post-body ul, .swi-post-body ol { margin: 0 0 18px; padding-left: 24px; }
.swi-post-body ul li { list-style: disc; margin-bottom: 8px; }
.swi-post-body ol li { list-style: decimal; margin-bottom: 8px; }
.swi-post-body a { color: #b56d00; text-decoration: underline; }
.swi-post-body img { max-width: 100%; height: auto; border-radius: 12px; margin: 10px 0; }
.swi-post-body blockquote { border-left: 4px solid var(--theme-color1); background: #faf8f3; padding: 16px 22px; margin: 0 0 18px; font-style: italic; }
.blog-details .nav-links > div:empty { visibility: hidden; }

/* ---------- Blog sidebar ---------- */
.sidebar__search-form button i { font-size: 18px; }
.sidebar__post-image img { width: 70px; height: 70px; object-fit: cover; }
.swi-sidebar-cta p { margin-bottom: 18px; }

/* ---------- Service detail ---------- */
.swi-service-banner { width: 100%; max-height: 460px; object-fit: cover; border-radius: 12px; }
.swi-lead { font-size: 20px; font-weight: 500; color: var(--theme-color1-dark, #1b152c); }
.swi-check-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 30px; margin: 20px 0 0; padding: 0; }
.swi-check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; }
.swi-check-list li i { color: var(--theme-color1); margin-top: 5px; }
.services-details .accordion-box { margin-top: 20px; }

/* ---------- FAQ section (home) ---------- */
.swi-faq-section { padding: 110px 0 90px; }
.swi-faq-section .accordion-box { margin-bottom: 0; }

/* ---------- About: values ---------- */
.swi-values-section { padding: 110px 0 80px; }
.swi-value-card { background: #fff; border: 1px solid #ece9f2; border-radius: 16px; padding: 34px 28px; height: calc(100% - 30px); margin-bottom: 30px; transition: transform .25s, box-shadow .25s; }
.swi-value-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(27, 21, 44, .08); }
.swi-value-card .icon { width: 68px; height: 68px; border-radius: 50%; background: var(--theme-color1); color: #1b152c; display: flex; align-items: center; justify-content: center; font-size: 30px; margin-bottom: 22px; }
.swi-value-card h4 { font-size: 22px; margin-bottom: 10px; }
.swi-value-card p { margin: 0; }

/* ---------- CTA strip ---------- */
.swi-cta-strip { padding: 0 0 110px; }
.swi-cta-strip .inner { background: #1b152c; border-radius: 20px; padding: 44px 50px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.swi-cta-strip h3 { color: #fff; font-size: 30px; margin-bottom: 6px; }
.swi-cta-strip p { color: #cfcbd9; margin: 0; }

/* ---------- Contact page ---------- */
.swi-contact-info { padding: 100px 0 40px; }
.swi-info-card { text-align: center; background: #fff; border: 1px solid #ece9f2; border-radius: 16px; padding: 36px 24px; margin-bottom: 30px; height: calc(100% - 30px); }
.swi-info-card .icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--theme-color1); color: #1b152c; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.swi-info-card h4 { font-size: 22px; margin-bottom: 6px; }
.swi-info-card p { margin: 0; font-size: 17px; overflow-wrap: anywhere; }
.swi-info-card a { color: inherit; }
.swi-info-card a:hover { color: #b56d00; }
.swi-contact-form-section { padding-top: 40px; }
.map-section iframe { display: block; }

/* ---------- Forms: status messages + spam trap ---------- */
.swi-alert { border-radius: 10px; padding: 14px 18px; margin-bottom: 20px; font-weight: 500; }
.swi-alert-success { background: #e3f6e8; color: #14602f; }
.swi-alert-error { background: #fde8e8; color: #9b1c1c; }
.swi-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.newsletter-form .swi-alert { font-size: 15px; padding: 10px 14px; }

/* ---------- Empty / 404 ---------- */
.swi-empty-state { padding: 110px 0; }
.swi-empty-state h2, .swi-empty-state h3 { margin-bottom: 12px; }
.swi-empty-state p { margin-bottom: 26px; }
.swi-blog-list .swi-empty-state { padding: 40px 0 60px; }

/* ---------- Small screens ---------- */
@media (max-width: 991px) {
  .swi-check-list { grid-template-columns: 1fr; }
  .swi-cta-strip .inner { padding: 34px 28px; }
  .swi-cta-strip h3 { font-size: 24px; }
  .blog-details .sidebar, .swi-blog-list .sidebar { margin-top: 50px; }
}
@media (max-width: 767px) {
  .main-header .logo img { max-height: 56px; }
  .blog-details h1.blog-details__title { font-size: 26px; }
  .swi-faq-section, .swi-values-section, .swi-services-grid { padding-top: 80px; }
  .swi-contact-info { padding-top: 70px; }
}

/* ---------- Footer: decorative squares sat on top of the copyright line ---------- */
.main-footer.footer-style-one > .anim-icon { display: none; }
.blog-details h1.blog-details__title { font-weight: 700; }

/* ---------- "Why choose us" image/circle grid: keep the 2x2 layout on phones ---------- */
@media (max-width: 575.98px) {
  .swi-choose .ks-choose-2-thumb-wrap .row > [class*="col-"] { width: 50%; flex: 0 0 50%; padding: 6px; }
  .swi-choose .ks-choose-2-circle,
  .swi-choose .ks-choose-2-thumb { width: 100%; height: auto; max-width: none; max-height: none; aspect-ratio: 1; margin: 0; transform: none; }
  .swi-choose .ks-choose-2-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
  .swi-choose .ks-choose-2-circle .text { font-size: 17px; line-height: 1.35; }
  .swi-choose .ks-choose-2-icon { display: none; }
}
@media (max-width: 991px) { .swi-service-side { margin-top: 50px; } }

/* Article pages: banner label is not a heading (the article title is the only H1) */
.page-title div.title { font-family: var(--title-font); line-height: 1.2; }
