/* Pulido visual específico para URLs de localidades.
   Estas páginas reutilizan la estructura de la plantilla de Sant Andreu, pero
   necesitan reglas propias para mantener tamaños y columnas estables. */

#section-16-9 > .ct-section-inner-wrap,
#section-461-9 > .ct-section-inner-wrap,
#section-527-9 > .ct-section-inner-wrap,
#section-585-9 > .ct-section-inner-wrap,
#section-633-143 > .ct-section-inner-wrap {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

#headline-17-9 {
  font-size: clamp(30px, 3vw, 42px) !important;
  line-height: 1.2 !important;
  margin-bottom: 18px !important;
}

#headline-18-9 {
  font-size: clamp(38px, 4.3vw, 58px) !important;
  line-height: 1.12 !important;
  font-weight: 700 !important;
  margin: 0 0 12px !important;
}

#link-22-9 {
  margin: 8px 0 18px !important;
}

#text_block-25-9 {
  font-size: clamp(38px, 4.2vw, 58px) !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

#headline-26-9 {
  font-size: clamp(22px, 2.2vw, 30px) !important;
  line-height: 1.25 !important;
  margin-top: 12px !important;
}

#text_block-601-9 {
  width: min(100%, 980px) !important;
  max-width: 980px !important;
  font-size: 20px !important;
  line-height: 1.65 !important;
  text-align: left !important;
}

#headline-462-9 {
  max-width: 1050px !important;
  font-size: clamp(34px, 4vw, 50px) !important;
  line-height: 1.15 !important;
  margin-bottom: 16px !important;
}

#text_block-597-9 {
  width: min(100%, 900px) !important;
  max-width: 900px !important;
  font-size: 19px !important;
  line-height: 1.6 !important;
}

#div_block-615-9 {
  width: min(90%, 920px) !important;
  max-width: 920px !important;
}

#div_block-615-9 .ct-new-columns {
  gap: 0 !important;
  justify-content: center !important;
  margin-bottom: 36px !important;
}

#div_block-615-9 .ct-new-columns > .ct-div-block {
  padding-left: 18px !important;
  padding-right: 18px !important;
}

#div_block-615-9 .atomic-content-23-wrapper {
  min-height: 245px !important;
  padding: 34px 24px !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18) !important;
}

#section-527-9 #headline-528-9 {
  max-width: 980px !important;
  font-size: clamp(34px, 3.6vw, 48px) !important;
  line-height: 1.18 !important;
}

#section-527-9 #text_block-529-9 {
  width: min(100%, 900px) !important;
  max-width: 900px !important;
  font-size: 19px !important;
  line-height: 1.6 !important;
}

#section-527-9 #div_block-630-9 {
  width: min(90%, 900px) !important;
  max-width: 900px !important;
}

#section-527-9 .ct-new-columns {
  gap: 0 !important;
  justify-content: center !important;
  margin-bottom: 28px !important;
}

#section-527-9 .atomic-iconblock-4-column {
  padding: 18px 42px !important;
}

#section-527-9 .atomic-iconblock-4-title {
  font-size: 15px !important;
  letter-spacing: .14em !important;
  line-height: 1.35 !important;
}

#section-527-9 .atomic-iconblock-4-text {
  font-size: 15px !important;
  line-height: 1.55 !important;
}

#headline-587-9 {
  font-size: clamp(32px, 3.5vw, 46px) !important;
  line-height: 1.2 !important;
}

#text_block-592-9 {
  font-size: 19px !important;
  line-height: 1.65 !important;
}

#section-633-143 > .ct-section-inner-wrap {
  padding-top: 90px !important;
  padding-bottom: 90px !important;
}

#inner_content-19-21 [data-aos],
.ct-inner-content [data-aos] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

#new_columns-634-143 {
  gap: 50px !important;
  align-items: flex-start !important;
}

#div_block-635-143,
#div_block-648-143 {
  width: calc(50% - 25px) !important;
}

#div_block-646-143 {
  min-height: 340px !important;
  border-radius: 4px !important;
  overflow: hidden !important;
}

#div_block-646-143 iframe {
  min-height: 340px !important;
}

#div_block-651-143 {
  padding: 48px 56px !important;
}

@media (max-width: 991px) {
  #section-16-9 > .ct-section-inner-wrap,
  #section-461-9 > .ct-section-inner-wrap,
  #section-527-9 > .ct-section-inner-wrap,
  #section-585-9 > .ct-section-inner-wrap,
  #section-633-143 > .ct-section-inner-wrap {
    padding-left: 28px !important;
    padding-right: 28px !important;
  }

  #div_block-615-9,
  #section-527-9 #div_block-630-9 {
    width: 100% !important;
  }

  #new_columns-634-143 {
    flex-direction: column !important;
    gap: 32px !important;
  }

  #div_block-635-143,
  #div_block-648-143 {
    width: 100% !important;
  }
}

@media (max-width: 767px) {
  #headline-17-9 {
    font-size: 30px !important;
  }

  #headline-18-9 {
    font-size: 27px !important;
    line-height: 1.2 !important;
  }

  #text_block-25-9 {
    font-size: 28px !important;
  }

  #headline-26-9 {
    font-size: 22px !important;
  }

  #text_block-601-9,
  #text_block-597-9,
  #section-527-9 #text_block-529-9,
  #text_block-592-9 {
    font-size: 17px !important;
    line-height: 1.6 !important;
  }

  #headline-462-9,
  #section-527-9 #headline-528-9,
  #headline-587-9,
  #headline-636-143 {
    font-size: 30px !important;
    line-height: 1.18 !important;
  }

  #section-527-9 .ct-new-columns {
    gap: 0 !important;
  }

  #section-527-9 .atomic-iconblock-4-column,
  #div_block-615-9 .ct-new-columns > .ct-div-block {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  #section-633-143 > .ct-section-inner-wrap {
    padding-top: 52px !important;
    padding-bottom: 52px !important;
  }

  #div_block-651-143 {
    padding: 34px 22px !important;
  }
}

@media (max-width: 479px) {
  #section-16-9 > .ct-section-inner-wrap,
  #section-461-9 > .ct-section-inner-wrap,
  #section-527-9 > .ct-section-inner-wrap,
  #section-585-9 > .ct-section-inner-wrap,
  #section-633-143 > .ct-section-inner-wrap {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  #headline-17-9 {
    font-size: 27px !important;
  }

  #headline-462-9,
  #section-527-9 #headline-528-9,
  #headline-587-9,
  #headline-636-143 {
    font-size: 28px !important;
  }
}

.fb-bottom-locality {
  background: #fff;
  padding: 76px 0 82px;
}

.fb-zone-w {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  font-family: "Open Sans", Arial, sans-serif;
}

.fb-zone-kicker {
  width: fit-content;
  margin: 0 auto 14px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(0, 136, 204, .10);
  color: #0088cc;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.fb-zone-blocks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.fb-zone-copy-card {
  padding: 34px 34px 32px;
  border: 1px solid rgba(0, 136, 204, .14);
  border-radius: 22px;
  background: #f7fafc;
  box-shadow: 0 14px 34px rgba(16, 38, 54, .07);
}

.fb-zone-copy-card--blue {
  background: linear-gradient(135deg, #087db7 0%, #075f8d 100%);
  color: #fff;
}

.fb-zone-copy-card h2,
.fb-zone-related h2,
.fb-zone-faq-wrap h2 {
  margin: 0 0 18px;
  color: #34414a;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 600;
  line-height: 1.16;
  text-align: left;
}

.fb-zone-copy-card--blue h2 {
  color: #fff;
}

.fb-zone-copy-card p {
  margin: 0 0 16px;
  color: #51636d;
  font-size: 18px;
  line-height: 1.7;
}

.fb-zone-copy-card--blue p {
  color: rgba(255, 255, 255, .90);
}

.fb-zone-copy-card p:last-child {
  margin-bottom: 0;
}

.fb-zone-related,
.fb-zone-faq-wrap {
  margin-top: 34px;
  padding: 32px 34px;
  border-radius: 22px;
  background: #f7fafc;
}

.fb-zone-related h2,
.fb-zone-faq-wrap h2 {
  text-align: center;
}

.fb-zone-near {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.fb-zone-near a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 16px;
  border-radius: 999px;
  background: #0088cc;
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  box-shadow: 0 8px 18px rgba(0, 136, 204, .16);
}

.fb-zone-near a:hover {
  background: #076fa8;
}

.fb-zone-faq {
  display: grid;
  gap: 12px;
  max-width: 980px;
  margin: 0 auto;
}

.fb-zone-faq details {
  border: 1px solid rgba(0, 136, 204, .14);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.fb-zone-faq summary {
  position: relative;
  display: block;
  padding: 18px 54px 18px 22px;
  color: #34414a;
  cursor: pointer;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  list-style: none;
}

.fb-zone-faq summary::-webkit-details-marker {
  display: none;
}

.fb-zone-faq summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
  color: #0088cc;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}

.fb-zone-faq details[open] summary::after {
  content: "–";
}

.fb-faq-a {
  padding: 0 22px 20px;
  color: #5b6b73;
  font-size: 16.5px;
  line-height: 1.65;
}

@media (max-width: 767px) {
  .fb-bottom-locality {
    padding: 52px 0 58px;
  }

  .fb-zone-w {
    width: min(100% - 28px, 1180px);
  }

  .fb-zone-blocks {
    grid-template-columns: 1fr;
  }

  .fb-zone-copy-card,
  .fb-zone-related,
  .fb-zone-faq-wrap {
    padding: 24px 20px;
    border-radius: 18px;
  }

  .fb-zone-copy-card h2,
  .fb-zone-related h2,
  .fb-zone-faq-wrap h2 {
    font-size: 27px;
  }

  .fb-zone-copy-card p {
    font-size: 16.5px;
  }

  .fb-zone-near {
    justify-content: flex-start;
  }

  .fb-zone-near a {
    width: 100%;
    justify-content: center;
  }

  .fb-zone-faq summary {
    font-size: 17px;
  }
}
