/*============================================================
AZTÖR Automation — custom stylesheet
Extends the base theme. Uses the theme's own tokens throughout
so new components read as native rather than bolted on.

Contents
1.  Mega menu
2.  Floating action buttons
3.  Footer additions
4.  Solution / product grids
5.  Detail page: specs, applications, sidebar
6.  Filter chips & alphabet index
7.  Brand cards
8.  Industry cards
9.  Search results
10. Forms & utility pages
11. Responsive & accessibility
==============================================================*/

/*==========================
1. Mega menu
===========================*/
@media all and (min-width: 992px) {
  .navbar .nav-item.mega-menu {
    position: static;
  }
  .navbar .nav-item.mega-menu > .dropdown-menu {
    width: 100%;
    left: 0;
    right: 0;
    padding: 30px 28px;
    max-height: calc(100vh - 190px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .navbar .nav-item.mega-menu > .dropdown-menu > li {
    border-bottom: none;
  }
  .navbar .nav-item.mega-menu .mega-menu-title {
    font-family: var(--heading-font);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-white);
    padding-bottom: 10px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }
  .navbar .nav-item.mega-menu .mega-menu-title a {
    color: var(--theme-color);
    transition: var(--transition2);
  }
  .navbar .nav-item.mega-menu .mega-menu-title a:hover {
    color: var(--color-white);
  }
  .navbar .nav-item.mega-menu .dropdown-item {
    font-size: 15px;
    padding: 5px 0 5px 16px;
    line-height: 1.45;
    white-space: normal;
  }
  .navbar .nav-item.mega-menu .dropdown-item::before {
    left: 0;
    top: 5px;
  }
  .navbar .nav-item.mega-menu .dropdown-item:hover {
    padding-left: 22px;
    color: var(--theme-color);
  }
  .navbar .nav-item.mega-menu .mega-more {
    color: var(--theme-color);
    font-weight: 600;
    font-size: 14px;
    margin-top: 4px;
  }
  .navbar .nav-item.mega-menu .mega-more::before {
    display: none;
  }
  /* scrollbar inside the mega panel */
  .navbar .nav-item.mega-menu > .dropdown-menu::-webkit-scrollbar {
    width: 6px;
  }
  .navbar .nav-item.mega-menu > .dropdown-menu::-webkit-scrollbar-thumb {
    background: var(--theme-color);
    border-radius: 3px;
  }
  /* long dropdowns (Services, Industries) scroll instead of overflowing */
  .navbar .nav-item .dropdown-menu.fade-down {
    max-height: calc(100vh - 190px);
    overflow-y: auto;
  }
}

@media all and (max-width: 991px) {
  .navbar .nav-item.mega-menu .mega-menu-title {
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--theme-color);
    margin: 18px 0 6px;
  }
  .navbar .nav-item.mega-menu .mega-content .row > div {
    padding-bottom: 6px;
  }
  .navbar .nav-item.mega-menu .mega-more {
    color: var(--theme-color);
    font-weight: 600;
  }
}

/*==========================
2. Floating action buttons
===========================*/
.floating-actions {
  position: fixed;
  right: 20px;
  bottom: 90px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.floating-actions .float-btn {
  display: flex;
  align-items: center;
  gap: 0;
  width: 52px;
  height: 52px;
  border-radius: 50px;
  color: var(--color-white);
  box-shadow: var(--box-shadow2);
  overflow: hidden;
  white-space: nowrap;
  transition: var(--transition2);
}
.floating-actions .float-btn i {
  min-width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.floating-actions .float-btn span {
  font-size: 15px;
  font-weight: 600;
  opacity: 0;
  padding-right: 0;
  transition: var(--transition2);
}
.floating-actions .float-btn:hover {
  width: 165px;
}
.floating-actions .float-btn:hover span {
  opacity: 1;
  padding-right: 20px;
}
.floating-actions .whatsapp {
  background: #25d366;
}
.floating-actions .emergency {
  background: var(--theme-color);
}
.floating-actions .emergency i {
  font-size: 19px;
}

/*==========================
3. Footer additions
===========================*/
.footer-emergency {
  border: 1px solid var(--border-white-color2);
  border-left: 3px solid var(--theme-color);
  padding: 16px 18px;
  border-radius: 8px;
}
.footer-emergency h5 {
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--footer-text-color);
  opacity: 0.75;
  margin-bottom: 6px;
}
.footer-emergency h5 i {
  color: var(--theme-color);
  margin-right: 6px;
}
.footer-emergency .emergency-number {
  font-family: var(--heading-font);
  font-size: 21px;
  font-weight: 700;
  color: var(--color-white);
}
.footer-emergency .emergency-number:hover {
  color: var(--theme-color);
}

.footer-utility {
  border-top: 1px solid var(--border-white-color2);
  padding-top: 18px;
  margin-top: 10px;
}
.footer-utility ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-utility ul li a {
  font-size: 14px;
  color: var(--footer-text-color);
  opacity: 0.7;
  transition: var(--transition2);
}
.footer-utility ul li a:hover {
  opacity: 1;
  color: var(--theme-color);
}

/*==========================
4. Solution / product grids
===========================*/
.solution-card {
  position: relative;
  height: 100%;
  background: var(--color-white);
  border: 1px solid var(--border-info-color);
  border-radius: 12px;
  padding: 26px 24px;
  transition: var(--transition2);
}
.solution-card:hover {
  border-color: var(--theme-color);
  box-shadow: var(--box-shadow);
  transform: translateY(-4px);
}
.solution-card .sc-icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--theme-bg-light2);
  margin-bottom: 18px;
}
.solution-card .sc-icon img {
  width: 30px;
  height: 30px;
}
.solution-card .sc-icon i {
  font-size: 24px;
  color: var(--theme-color);
}
.solution-card h4 {
  font-size: 19px;
  margin-bottom: 10px;
  line-height: 1.35;
}
.solution-card h4 a {
  color: var(--color-dark);
  transition: var(--transition2);
}
.solution-card h4 a:hover {
  color: var(--theme-color);
}
.solution-card p {
  font-size: 15px;
  margin-bottom: 16px;
}
.solution-card .sc-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--theme-color);
}
.solution-card .sc-link i {
  font-size: 12px;
  margin-left: 6px;
  transition: var(--transition2);
}
.solution-card .sc-link:hover i {
  margin-left: 11px;
}
.solution-card .sc-count {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--heading-font);
  font-size: 30px;
  font-weight: 700;
  color: var(--color-gray);
  line-height: 1;
}

/* compact link list — used where a category has many items */
.solution-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 2px 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.solution-list li a {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 9px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-dark);
  border-bottom: 1px dashed var(--border-info-color);
  transition: var(--transition2);
}
.solution-list li a i {
  color: var(--theme-color);
  font-size: 13px;
  margin-top: 5px;
}
.solution-list li a:hover {
  color: var(--theme-color);
  padding-left: 6px;
}

/* category strip on the solutions overview page */
.category-block {
  padding: 34px 0;
  border-bottom: 1px solid var(--border-info-color);
}
.category-block:last-child {
  border-bottom: none;
}
.category-block .cb-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}
.category-block .cb-head i {
  font-size: 26px;
  color: var(--theme-color);
}
.category-block .cb-head h3 {
  font-size: 24px;
  margin: 0;
}
.category-block .cb-head h3 a {
  color: var(--color-dark);
}
.category-block .cb-head h3 a:hover {
  color: var(--theme-color);
}
.category-block .cb-count {
  font-size: 14px;
  font-weight: 600;
  color: var(--theme-color);
  background: var(--theme-bg-light2);
  padding: 3px 12px;
  border-radius: 30px;
}

/*==========================
5. Detail page components
===========================*/
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 12px;
}
.spec-table th,
.spec-table td {
  padding: 13px 18px;
  border: 1px solid var(--border-info-color);
  font-size: 15px;
  vertical-align: top;
}
.spec-table th {
  width: 34%;
  background: var(--theme-bg-light);
  font-family: var(--heading-font);
  font-weight: 600;
  color: var(--color-dark);
  text-align: left;
}
.spec-table td {
  color: var(--body-text-color);
}
.spec-note {
  font-size: 14px;
  font-style: italic;
  color: var(--body-text-color);
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.application-grid li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  background: var(--theme-bg-light);
  border-left: 3px solid var(--theme-color);
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-dark);
}
.application-grid li i {
  color: var(--theme-color);
  font-size: 14px;
}

.sidebar-cta {
  background: var(--color-dark);
  border-radius: 12px;
  padding: 30px 26px;
  text-align: center;
  color: var(--color-white);
}
.sidebar-cta i {
  font-size: 36px;
  color: var(--theme-color);
  margin-bottom: 14px;
  display: block;
}
.sidebar-cta h4 {
  color: var(--color-white);
  font-size: 20px;
  margin-bottom: 8px;
}
.sidebar-cta p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  margin-bottom: 18px;
}
.sidebar-cta .phone {
  display: block;
  font-family: var(--heading-font);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 16px;
}
.sidebar-cta .phone:hover {
  color: var(--theme-color);
}

.service-sidebar .category a.active {
  background: var(--theme-color);
  color: var(--color-white);
}
.service-sidebar .widget .category {
  max-height: 420px;
  overflow-y: auto;
}
.service-sidebar .widget .category::-webkit-scrollbar {
  width: 5px;
}
.service-sidebar .widget .category::-webkit-scrollbar-thumb {
  background: var(--theme-color);
  border-radius: 3px;
}

/*==========================
6. Filter chips & index
===========================*/
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}
.filter-chips a {
  padding: 8px 20px;
  border: 1px solid var(--border-info-color);
  border-radius: 30px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-dark);
  background: var(--color-white);
  transition: var(--transition2);
}
.filter-chips a:hover,
.filter-chips a.active {
  background: var(--theme-color);
  border-color: var(--theme-color);
  color: var(--color-white);
}

/*==========================
7. Brand cards
===========================*/
.brand-card {
  height: 100%;
  background: var(--color-white);
  border: 1px solid var(--border-info-color);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition2);
}
.brand-card:hover {
  border-color: var(--theme-color);
  box-shadow: var(--box-shadow);
}
.brand-card .bc-logo {
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.brand-card .bc-logo img {
  max-height: 52px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.75;
  transition: var(--transition2);
}
.brand-card:hover .bc-logo img {
  filter: none;
  opacity: 1;
}
.brand-card h4 {
  font-size: 19px;
  margin-bottom: 4px;
}
.brand-card h4 a {
  color: var(--color-dark);
}
.brand-card h4 a:hover {
  color: var(--theme-color);
}
.brand-card .bc-origin {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--theme-color);
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}
.brand-card p {
  font-size: 15px;
  margin: 0;
}

/*==========================
8. Industry cards
===========================*/
.industry-card {
  position: relative;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-dark);
}
.industry-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  opacity: 0.55;
  transition: var(--transition);
}
.industry-card:hover img {
  opacity: 0.35;
  transform: scale(1.06);
}
.industry-card .ic-body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px;
}
.industry-card .ic-body i {
  font-size: 26px;
  color: var(--theme-color);
  margin-bottom: 8px;
  display: block;
}
.industry-card .ic-body h4 {
  font-size: 20px;
  margin-bottom: 6px;
}
.industry-card .ic-body h4 a {
  color: var(--color-white);
}
.industry-card .ic-body h4 a:hover {
  color: var(--theme-color);
}
.industry-card .ic-body p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/*==========================
9. Search results
===========================*/
.search-result {
  padding: 22px 0;
  border-bottom: 1px solid var(--border-info-color);
}
.search-result .sr-type {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--theme-color);
  background: var(--theme-bg-light2);
  padding: 3px 11px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.search-result h4 {
  font-size: 19px;
  margin-bottom: 6px;
}
.search-result h4 a {
  color: var(--color-dark);
}
.search-result h4 a:hover {
  color: var(--theme-color);
}
.search-result p {
  font-size: 15px;
  margin: 0;
}
.search-empty {
  text-align: center;
  padding: 60px 20px;
}
.search-empty i {
  font-size: 52px;
  color: var(--color-gray);
  margin-bottom: 18px;
  display: block;
}

/*==========================
10. Forms & utility pages
===========================*/
.form-card {
  background: var(--color-white);
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--box-shadow);
}
.form-card h3 {
  font-size: 24px;
  margin-bottom: 8px;
}
.form-card > p {
  margin-bottom: 26px;
}
.form-card .form-group {
  margin-bottom: 18px;
}
.form-card label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 7px;
}
.form-card .form-control,
.form-card .form-select {
  border: 1px solid var(--border-info-color);
  border-radius: 6px;
  padding: 13px 16px;
  font-size: 15px;
  background: var(--theme-bg-light);
}
.form-card .form-control:focus,
.form-card .form-select:focus {
  border-color: var(--theme-color);
  box-shadow: none;
  background: var(--color-white);
}
.form-note {
  font-size: 14px;
  color: var(--body-text-color);
  margin-top: 14px;
}
.alert-msg {
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 15px;
  margin-bottom: 22px;
}
.alert-msg.ok {
  background: rgba(21, 212, 201, 0.12);
  border-left: 3px solid var(--color-green);
  color: #0B1220;
}
.alert-msg.err {
  background: rgba(253, 106, 106, 0.12);
  border-left: 3px solid var(--color-red);
  color: #8a2b2b;
}

.doc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.doc-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 22px;
  border: 1px solid var(--border-info-color);
  border-radius: 8px;
  margin-bottom: 12px;
  background: var(--color-white);
  transition: var(--transition2);
}
.doc-list li:hover {
  border-color: var(--theme-color);
}
.doc-list .doc-name {
  display: flex;
  align-items: center;
  gap: 13px;
  font-weight: 500;
  color: var(--color-dark);
}
.doc-list .doc-name i {
  font-size: 21px;
  color: var(--theme-color);
}
.doc-list .doc-meta {
  font-size: 13px;
  color: var(--body-text-color);
}

.policy-content h3 {
  font-size: 22px;
  margin: 34px 0 12px;
}
.policy-content h3:first-child {
  margin-top: 0;
}
.policy-content p,
.policy-content li {
  font-size: 16px;
  line-height: 1.75;
}
.policy-content ul {
  padding-left: 20px;
  margin-bottom: 18px;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--border-info-color);
  border: 1px solid var(--border-info-color);
  border-radius: 12px;
  overflow: hidden;
}
.stat-strip .stat {
  background: var(--color-white);
  padding: 28px 22px;
  text-align: center;
}
.stat-strip .stat h4 {
  font-size: 34px;
  color: var(--theme-color);
  margin-bottom: 4px;
}
.stat-strip .stat p {
  font-size: 14px;
  margin: 0;
}

/*==========================
11. Responsive & accessibility
===========================*/
@media (max-width: 767px) {
  .form-card {
    padding: 26px 20px;
  }
  .floating-actions {
    right: 14px;
    bottom: 78px;
  }
  .spec-table th {
    width: 42%;
  }
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--theme-color);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .floating-actions .float-btn:hover {
    width: 52px;
  }
  .floating-actions .float-btn:hover span {
    opacity: 0;
  }
}

/* ==========================================================================
   12. LEAD POPUP
   ========================================================================== */

#lead-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}
#lead-popup.show { display: block; }

#lead-popup .lead-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 10, 18, .62);
  backdrop-filter: blur(3px);
}

#lead-popup .lead-box {
  position: relative;
  z-index: 2;
  max-width: 460px;
  width: calc(100% - 40px);
  margin: 12vh auto 0;
  background: #fff;
  border-radius: 16px;
  padding: 42px 34px 34px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .22);
  animation: leadIn .35s ease;
}

@keyframes leadIn {
  from { opacity: 0; transform: translateY(24px) scale(.97); }
  to   { opacity: 1; transform: none; }
}

#lead-popup .lead-close {
  position: absolute;
  top: 12px;
  right: 16px;
  border: 0;
  background: none;
  font-size: 30px;
  line-height: 1;
  color: #9aa5a4;
  cursor: pointer;
  transition: color .2s;
}
#lead-popup .lead-close:hover { color: var(--theme-color); }

#lead-popup .lead-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--theme-color);
  color: #fff;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#lead-popup h4 {
  font-family: var(--heading-font);
  font-size: 23px;
  margin-bottom: 12px;
  color: var(--color-dark);
}

#lead-popup p {
  font-size: 15px;
  margin-bottom: 24px;
}

#lead-popup .lead-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

#lead-popup .lead-phone {
  font-family: var(--heading-font);
  font-weight: 600;
  color: var(--color-dark);
  font-size: 17px;
}
#lead-popup .lead-phone:hover { color: var(--theme-color); }

@media (max-width: 575px) {
  #lead-popup .lead-box { margin-top: 8vh; padding: 36px 22px 28px; }
}

/* ==========================================================================
   13. EMERGENCY HERO
   ========================================================================== */

.emergency-hero {
  background: linear-gradient(135deg, var(--brand-ink) 0%, #16233C 100%);
  border-radius: 16px;
  padding: 56px 44px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.emergency-hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(7, 69, 182, .14);
}

.emergency-hero .eh-tag {
  display: inline-block;
  background: var(--theme-color);
  color: #fff;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 30px;
  margin-bottom: 20px;
}

.emergency-hero h2 {
  color: #fff;
  font-size: 38px;
  margin-bottom: 14px;
}

.emergency-hero p {
  color: rgba(255, 255, 255, .8);
  max-width: 640px;
  margin: 0 auto 26px;
}

.emergency-hero .eh-phone {
  display: inline-block;
  font-family: var(--heading-font);
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .01em;
  margin-bottom: 26px;
}
.emergency-hero .eh-phone:hover { color: var(--theme-color); }

.emergency-hero .eh-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

@media (max-width: 767px) {
  .emergency-hero { padding: 40px 24px; }
  .emergency-hero h2 { font-size: 27px; }
  .emergency-hero .eh-phone { font-size: 29px; }
}

/* ==========================================================================
   14. CHECK LIST / CONTACT MAP / ERROR PAGE
   ========================================================================== */

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.check-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 13px;
  color: var(--color-default);
}
.check-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 1px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: rgba(7, 69, 182, .12);
  color: var(--theme-color);
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-map iframe { display: block; }

.error-wrapper .error-title {
  font-family: var(--heading-font);
  font-size: 36px;
  margin-bottom: 14px;
  color: var(--color-dark);
}
.error-wrapper .error-text {
  max-width: 540px;
  margin: 0 auto;
}
.error-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .error-wrapper .error-title { font-size: 26px; }
}

/* ==========================================================================
   15. SEARCH FORM & RESULT META
   ========================================================================== */

.search-form-inline {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.search-form-inline input[type="text"] {
  flex: 1 1 260px;
  min-width: 0;
  height: 54px;
  padding: 0 20px;
  border: 1px solid #e3e7e7;
  border-radius: 8px;
  font-family: var(--body-font);
  font-size: 15px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.search-form-inline input[type="text"]:focus {
  outline: none;
  border-color: var(--theme-color);
  box-shadow: 0 0 0 3px rgba(7, 69, 182, .12);
}
.search-form-inline .theme-btn {
  flex: 0 0 auto;
  height: 54px;
}

.search-count {
  font-family: var(--heading-font);
  font-size: 15px;
  color: var(--color-dark);
  padding-bottom: 14px;
  border-bottom: 1px solid #eceeee;
  margin-bottom: 8px;
}

.search-result .sr-url {
  display: inline-block;
  margin-top: 6px;
  font-size: 13px;
  color: #8b9695;
  word-break: break-all;
}
.search-result .sr-url:hover { color: var(--theme-color); }

@media (max-width: 575px) {
  .search-form-inline .theme-btn { width: 100%; justify-content: center; }
}
