/*
Theme Name: battersea-child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.1.3
*/

/*
 * Front-end CSS is centralized in Flatsome > Advanced > Custom CSS.
 * This file keeps only styles used by WordPress admin screens.
 */

/* BATTERSEA TREATMENT ADMIN START */
.battersea-treatment-checkbox-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 12px;
  margin: 12px 0 0;
}

.battersea-treatment-checkbox-group {
  margin: 0;
  border: 1px solid #c3c4c7;
  border-radius: 4px;
  background: #fff;
}

.battersea-treatment-checkbox-group summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  cursor: pointer;
  font-weight: 600;
}

.battersea-treatment-checkbox-count {
  color: #646970;
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
}

.battersea-treatment-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 6px 18px;
  margin: 0;
  padding: 0 12px 12px;
}

.battersea-treatment-checkbox-grid li {
  margin: 0;
}

.battersea-treatment-checkbox-grid label {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 0;
}

.battersea-treatment-checkbox-grid input {
  margin-top: 3px;
}

.battersea-treatment-checkbox-role {
  display: block;
  margin-top: 2px;
  color: #646970;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}

@media (max-width: 782px) {
  .battersea-treatment-checkbox-groups {
    grid-template-columns: 1fr;
  }
}
/* BATTERSEA TREATMENT ADMIN END */


/* BATTERSEA SEARCH HOVER REFINEMENT START */
.battersea-search-popular-list button {
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.battersea-search-popular-list button:hover {
  background: linear-gradient(90deg, rgba(21, 96, 130, 0.07), rgba(21, 96, 130, 0));
  border-bottom-color: rgba(21, 96, 130, 0.42);
  color: #156082;
  outline: none;
}

.battersea-search-popular-list button:focus-visible {
  color: #156082;
  outline: 0px solid #156082;
  outline-offset: 3px;
}
/* BATTERSEA SEARCH HOVER REFINEMENT END */

/* BATTERSEA TEAM RESULTS + TREATMENT CARDS START */
.battersea-surgeon-profile-image,
.battersea-surgeon-profile-image img {
  border-radius: 24px;
  overflow: hidden;
}

.battersea-surgeon-result-card {
  height: 100%;
  margin: 0 0 28px;
  padding: 12px;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(21, 96, 130, 0.08);
}

.battersea-surgeon-result-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.battersea-surgeon-result-card figcaption {
  padding: 14px 8px 6px;
  color: #156082;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}

.battersea-home-treatment-card,
.battersea-home-treatment-banner,
.battersea-home-treatment-banner .banner-inner,
.battersea-home-treatment-banner .banner-bg,
.battersea-home-treatment-banner .banner-bg img {
  border-radius: 24px !important;
  overflow: hidden;
}

.battersea-home-treatment-banner .text-box .button {
  display: flex !important;
  width: 100% !important;
  min-height: 46px;
  margin: 0 !important;
  padding: 0.75rem 1rem !important;
  align-items: center;
  justify-content: center;
  white-space: normal;
}
/* BATTERSEA TEAM RESULTS + TREATMENT CARDS END */


.battersea-surgeon-results .coca-image-compare-horizontal,
.battersea-surgeon-results .coca-bais-container {
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
}

.battersea-surgeon-results .battersea-treatment-results-label {
  margin: 14px 0 28px;
  color: #156082;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}

/* BATTERSEA SEARCH RESULTS PAGE START */
.battersea-search-page {
  color: #173746;
  background: #fff;
}

.battersea-search-page-hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 8%, rgba(21, 96, 130, 0.12), transparent 30%),
    linear-gradient(135deg, #f8f5f0 0%, #f4f7f7 100%);
}

.battersea-search-page-intro {
  max-width: 940px;
  margin: 0 auto;
  text-align: center;
}

.battersea-search-page-kicker {
  margin: 0 0 14px;
  color: #156082;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.battersea-search-page-intro h1 {
  max-width: 850px;
  margin: 0 auto 14px;
  color: #173746;
  font-size: clamp(2.25rem, 5vw, 4.45rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.battersea-search-page-lead {
  margin: 0 0 34px;
  color: #4f6873;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.battersea-search-page-form {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.battersea-search-page-form label {
  display: block;
  margin: 0 0 9px;
  color: #173746;
  font-size: 0.9rem;
  font-weight: 600;
}

.battersea-search-page-field {
  display: flex;
  gap: 10px;
}

.battersea-search-page-field input[type="search"] {
  width: 100%;
  height: 58px;
  margin: 0;
  padding: 0 20px;
  border: 1px solid rgba(21, 96, 130, 0.35);
  border-radius: 14px;
  background: #fff;
  color: #173746;
  font-size: 1rem;
  box-shadow: 0 8px 25px rgba(21, 96, 130, 0.06);
}

.battersea-search-page-field input[type="search"]:focus {
  border-color: #156082;
  outline: 3px solid rgba(21, 96, 130, 0.15);
  box-shadow: none;
}

.battersea-search-page-field button {
  flex: 0 0 auto;
  min-width: 138px;
  height: 58px;
  margin: 0;
  padding: 0 22px;
  border: 1px solid #156082;
  border-radius: 14px;
  background: #156082;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
}

.battersea-search-page-field button:hover {
  border-color: #104c67;
  background: #104c67;
}

.battersea-search-page-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin: 24px auto 0;
}

.battersea-search-page-filters a {
  display: inline-flex;
  min-height: 42px;
  padding: 9px 17px;
  align-items: center;
  border: 1px solid rgba(21, 96, 130, 0.45);
  border-radius: 999px;
  color: #156082;
  background: rgba(255, 255, 255, 0.65);
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.2;
}

.battersea-search-page-filters a:hover,
.battersea-search-page-filters a:focus-visible,
.battersea-search-page-filters a.is-active {
  border-color: #156082;
  color: #fff;
  background: #156082;
}

.battersea-search-page-results {
  max-width: 1240px;
  margin: 0 auto;
}

.battersea-search-page-summary {
  margin: 0 0 34px;
  color: #58707a;
  font-size: 1rem;
}

.battersea-search-page-summary strong {
  color: #173746;
  font-size: 1.2rem;
}

.battersea-search-page-group + .battersea-search-page-group {
  margin-top: 58px;
}

.battersea-search-page-group-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
}

.battersea-search-page-group-heading h2 {
  margin: 0;
  color: #173746;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.battersea-search-page-group-heading span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #156082;
  background: rgba(21, 96, 130, 0.1);
  font-size: 0.8rem;
  font-weight: 700;
}

.battersea-search-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.battersea-search-page-card {
  min-width: 0;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(21, 96, 130, 0.16);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(21, 96, 130, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.battersea-search-page-card:hover {
  border-color: rgba(21, 96, 130, 0.42);
  box-shadow: 0 20px 42px rgba(21, 96, 130, 0.13);
  transform: translateY(-3px);
}

.battersea-search-page-card > a {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  min-height: 220px;
  height: 100%;
  color: inherit;
}

.battersea-search-page-card.has-no-image > a {
  grid-template-columns: 1fr;
}

.battersea-search-page-card-image {
  min-height: 220px;
  overflow: hidden;
  background: #edf3f4;
}

.battersea-search-page-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center;
}

.battersea-search-page-group[aria-labelledby$="surgeon"] .battersea-search-page-card-image img {
  object-position: center top;
}

.battersea-search-page-card-content {
  display: flex;
  min-width: 0;
  padding: 25px 25px 23px;
  flex-direction: column;
  align-items: flex-start;
}

.battersea-search-page-card-type {
  margin: 0 0 9px;
  color: #156082;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  line-height: 1.35;
  text-transform: uppercase;
}

.battersea-search-page-card h3 {
  margin: 0 0 10px;
  color: #173746;
  font-size: 1.2rem;
  font-weight: 550;
  line-height: 1.25;
}

.battersea-search-page-card p {
  margin: 0 0 20px;
  color: #58707a;
  font-size: 0.91rem;
  line-height: 1.55;
}

.battersea-search-page-card-action {
  margin-top: auto;
  color: #156082;
  font-size: 0.83rem;
  font-weight: 700;
}

.battersea-search-page-empty {
  padding: 50px 32px;
  border-radius: 24px;
  background: #f7f5f1;
  text-align: center;
}

.battersea-search-page-empty h2 {
  margin: 0 0 12px;
}

.battersea-search-page-pagination {
  margin: 54px 0 0;
}

.battersea-search-page-pagination .page-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  list-style: none;
}

.battersea-search-page-pagination a,
.battersea-search-page-pagination span {
  display: inline-flex;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(21, 96, 130, 0.3);
  border-radius: 999px;
}

.battersea-search-page-pagination .current {
  border-color: #156082;
  color: #fff;
  background: #156082;
}

@media (max-width: 849px) {
  .battersea-search-page-grid {
    grid-template-columns: 1fr;
  }

  .battersea-search-page-card > a {
    grid-template-columns: 185px minmax(0, 1fr);
  }
}

@media (max-width: 549px) {
  .battersea-search-page-intro {
    text-align: left;
  }

  .battersea-search-page-field {
    flex-direction: column;
  }

  .battersea-search-page-field button {
    width: 100%;
  }

  .battersea-search-page-filters {
    justify-content: flex-start;
  }

  .battersea-search-page-card > a,
  .battersea-search-page-card.has-no-image > a {
    display: block;
  }

  .battersea-search-page-card-image {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .battersea-search-page-card-content {
    padding: 22px;
  }

  .battersea-search-page-group + .battersea-search-page-group {
    margin-top: 44px;
  }
}
/* BATTERSEA SEARCH RESULTS PAGE END */

