/**
 * Shared styles for plugin markup (archive, single, [ap_search], [ap_listing]).
 *
 * Hello Elementor's reset.css paints every <button> with a red #c36 border and hover background
 * and every a:hover with #336. The rules below neutralise that inside .apt-scope only, so Elementor
 * widgets keep their own styling. Keyboard focus gets a cyan ring instead of the removed outline.
 */

.hero-pattern {
  background-image: linear-gradient(180deg, rgba(6, 50, 62, 0.88) 0%, rgba(6, 50, 62, 0.96) 100%),
                    url('../images/hero.jpg');
  background-size: cover;
  background-position: center;
}

.apt-scope button,
.apt-scope [type=button],
.apt-scope [type=reset],
.apt-scope [type=submit] {
  border: none !important;
  text-decoration: none !important;
}

.apt-scope button:focus,
.apt-scope [type=button]:focus,
.apt-scope [type=submit]:focus,
.apt-scope a:focus {
  outline: none !important;
}

.apt-scope button:focus-visible,
.apt-scope [type=button]:focus-visible,
.apt-scope [type=submit]:focus-visible,
.apt-scope a:focus-visible,
.apt-scope select:focus-visible {
  outline: 2px solid #1DB2C9 !important;
  outline-offset: 2px !important;
}

.apt-scope .home-filter-tab,
.apt-scope .apt-filter-tab {
  background-color: #f3f4f6 !important;
  color: #374151 !important;
  border-radius: 12px !important;
}

.apt-scope .home-filter-tab:hover,
.apt-scope .apt-filter-tab:hover {
  background-color: #e5e7eb !important;
  color: #06323E !important;
}

.apt-scope .home-filter-tab:active,
.apt-scope .apt-filter-tab:active {
  background-color: #d1d5db !important;
  color: #06323E !important;
}

.apt-scope .home-filter-tab.active,
.apt-scope .home-filter-tab.active:hover,
.apt-scope .home-filter-tab.active:active,
.apt-scope .apt-filter-tab.active,
.apt-scope .apt-filter-tab.active:hover,
.apt-scope .apt-filter-tab.active:active {
  background-color: #1DB2C9 !important;
  color: #06323E !important;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.apt-scope .home-search-btn,
.apt-scope .apt-filter-submit {
  background-color: #06323E !important;
  color: #ffffff !important;
  border-radius: 12px !important;
}

.apt-scope .home-search-btn:hover,
.apt-scope .home-search-btn:active,
.apt-scope .apt-filter-submit:hover,
.apt-scope .apt-filter-submit:active {
  background-color: #1D4656 !important;
  color: #ffffff !important;
}

.apt-scope .home-search-btn {
  height: 52px !important;
  box-sizing: border-box !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 52px !important;
}

.apt-scope .apt-filter-reset {
  background-color: #f3f4f6 !important;
  color: #4b5563 !important;
  border-radius: 12px !important;
}

.apt-scope .apt-filter-reset:hover,
.apt-scope .apt-filter-reset:active {
  background-color: #e5e7eb !important;
  color: #06323E !important;
}

.apt-scope .apt-btn-copy-link {
  background-color: #ffffff !important;
  color: #374151 !important;
  border: 1px solid #d1d5db !important;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
  border-radius: 12px !important;
}

.apt-scope .apt-btn-copy-link:hover,
.apt-scope .apt-btn-copy-link:active {
  background-color: #f3f4f6 !important;
  color: #06323E !important;
  border: 1px solid #9ca3af !important;
}

.apt-scope input[type=text],
.apt-scope input[type=number],
.apt-scope input[type=search],
.apt-scope input[type=email],
.apt-scope input[type=tel],
.apt-scope select,
.apt-scope textarea {
  border-radius: 12px !important;
}

.apt-scope #home-search-input {
  height: 52px !important;
  box-sizing: border-box !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 52px !important;
}

@media (max-width: 767px) {
  .apt-scope nav[aria-label="Breadcrumb"] a {
    display: inline-block;
    padding: 12px 0;
  }
}

.apt-scope a.text-white:hover,
.apt-scope a.text-white:focus,
.apt-scope a.text-white:active,
.apt-scope .apt-btn-whatsapp:hover,
.apt-scope .apt-btn-whatsapp:focus,
.apt-scope .apt-btn-whatsapp:active {
  color: #ffffff !important;
  text-decoration: none !important;
}
