/*
Theme Name: APRILV-ONE190
Author: Jose Feria
Author URI: https://onez.com/
Description: José Féria real estate agency 
Version: 3000.8.8.9
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

blockquote {
  font-size: 17.6px;
  color: rgb(51, 65, 85);
  line-height: 29.04px;
  margin: 26.4px;
  padding: 20px;
}

body {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

body {
  font-family:
    -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu,
    Cantarell, "Helvetica Neue", sans-serif;
  font-size: 16px;
  display: block;
  color: #111;
  margin: 0px;
  border-color: inherit;
  border-style: solid;
  border-width: 0;
}

h1 {
  font-size: 35px;
  color: #144a68;
  font-weight: 400;
  line-height: 39px;
  padding: 0;
  max-width: 1240px;
  margin: 10px;
}

h2 {
  font-size: 30px;
  color: #144a68;
  font-weight: 400;
  line-height: 39px;
  padding: 0;
  max-width: 800px;
  margin: 45px auto 20px auto;
}

h3 {
  max-width: 800px;
  color: #144a68;
  margin-top: 30px;
  margin: 45px auto 20px auto;
  font-size: 23.6px;
  font-weight: 400;
  line-height: 2em;
  padding: 0;
}

h4 {
  margin-top: 30px;
  color: #144a68;
  font-weight: 400;
  line-height: 24px;
  padding: 0;
  max-width: 800px;
  margin: 45px auto 20px auto;
}

h5 {
  margin-top: 30px;
  color: #144a68;
  margin: 45px auto 20px auto;
}

h6 {
  margin-top: 30px;
  color: #144a68;
  margin: 45px auto 20px auto;
}

li {
  font-size: 18px;
  color: #111;
  line-height: 26.4px;
}

ul {
  font-size: 18px;
  color: #111;
  line-height: 26.4px;
  padding: 0 0 0 20px;
  max-width: 800px;
  margin: 10px auto;
}

ol {
  font-size: 18px;
  color: #111;
  line-height: 26.4px;
  padding: 0 0 0 20px;
  max-width: 800px;
  margin: 10px auto;
}

p {
  font-size: 18px;
  font-weight: 300;
  color: #111;
  line-height: 26.4px;
  padding: 0;
  max-width: 800px;
  margin: 0 auto 50px;
  letter-spacing: 0.02em;
}

@media (max-width: 820px) {
  p,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  li,
  ul,
  ol,
  blockquote {
    padding-left: 20px;
    padding-right: 20px;
  }
}

a {
  text-decoration-thickness: 0.1px;
  text-underline-offset: 3px;
  color: #144a68;
}

strong {
  font-weight: 700;
  color: rgb(51, 65, 85);
}

#page .site-content {
  background: #fff;
  padding-bottom: 200px;
}

.site-content {
  margin-top: 80px;
  display: block;
  width: 100%;
}

body.admin-bar .site-content {
  margin-top: 80px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-content {
    margin-top: 88px;
  }
}

@media (min-width: 922px) {
  .site-content .ast-container {
    display: flex;
  }
}

.ast-separate-container #primary,
.ast-separate-container.ast-left-sidebar #primary,
.ast-separate-container.ast-right-sidebar #primary {
  margin: 10px;
  padding: 0;
}

.ast-plain-container.ast-no-sidebar #primary {
  margin-top: 10px;
  margin-bottom: 60px;
}

.site-content,
.content-area,
.ast-container {
  display: block !important;
  float: none !important;
}

.site-sidebar,
.sidebar-main {
  display: none !important;
}

.ast-primary-header-bar {
  background-color: #ffffff;
}

.site-title {
  font-size: 26px;
  display: block;
}

.site-title a,
.site-title-link {
  color: #144a68 !important;
}

.are-home-h1 {
  font-size: 30px;
  font-weight: normal;
  line-height: 1.5em;
  text-align: center;
  margin-top: 30px;
}

.are-home-h2 {
  font-size: 30px;
  text-align: center;
  line-height: 1.5em;
  margin-top: 30px;
}

.are-footer-h2 {
  color: #fff;
  font-size: 44px;
  line-height: 1;
}

.are-footer-h3,
.are-footer-h4 {
  color: #fff;
  text-decoration: none;
  text-underline-offset: 4px;
  text-decoration-thickness: 0.1px;
  text-transform: uppercase;
}

#footer-bottom > div.are-footer h2,
#footer-bottom > div.are-footer h3,
#footer-bottom > div.are-footer h4 {
  color: #fff;
}

.tax-h2 {
  font-size: 30px;
  font-weight: bold;
  line-height: 1.5em;
  margin-top: 30px;
}

.tax-h2-div {
  border-bottom: 1px dotted #6d0005;
}

.span-round-numbers {
  border-radius: 50px;
  background: #144a68;
  color: #fff;
  padding: 0 10px;
}

.lp-section {
  max-width: 1240px;
  margin: 0 auto 60px auto;
  padding: 0 16px;
}

.dark-blue {
  background: #144a68;
}

.lp-grid {
  display: grid;
  gap: 24px;
  width: 100%;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  overflow: hidden;
}

.lp-grid-centered {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.lp-grid-centered .lp-card {
  width: 384px;
  flex: 0 0 384px;
}

.lp-grid-dev-homes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.lp-grid-dev-homes .lp-card {
  width: 384px;
  flex: 0 0 384px;
}

.lp-grid-4 {
  display: grid;
  gap: 24px;
  width: 100%;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

.lp-grid-8cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

.lp-frame {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin: 40px auto;
}

.lp-frame h2,
.lp-frame h3 {
  color: #144a68;
  margin-top: 0;
}

.button-container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.lp-card {
  background: #144a68;
  width: 100%;
  border: 1px solid #efefef;
  padding: 20px;
  margin-bottom: 30px;
  text-align: center;
  box-sizing: border-box;
}

.lp-card a {
  display: inline-block;
  text-decoration: none;
  color: #fff;
}

.lp-card img {
  width: 100%;
  height: auto;
  display: block;
}

.lp-card h3 {
  margin-top: 8px;
  font-size: 0.9rem;
}

.lp-card time {
  display: block;
  font-size: 0.9rem;
  opacity: 0.8;
}

.lp-card-link {
  display: block;
  height: 100%;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.lp-card-link:hover article {
  background: #0f3a52;
}

.lp-card p span:first-child {
  color: #f4d03f;
}

.lp-card p span:last-child {
  color: #fff;
}

.lp-card .highlight-price td {
  color: #6d0005;
  font-weight: bold;
}

.lp-grid .lp-card,
.lp-grid-4 .lp-card {
  background: #fff;
  border: 1px solid #efefef;
  border-radius: 8px;
  text-align: center;
  padding: 10px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  overflow: hidden;
}

.lp-grid .lp-card:hover,
.lp-grid-4 .lp-card:hover {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.lp-card h3,
.lp-card p {
  color: #144a68;
  margin: 10px 0 0;
  font-size: 1.1rem;
  line-height: 1.3;
}

/* Property Type Cards (homepage) */

.lp-card-property-type {
  background: #a2a2a2;
  border: 1px solid #efefef;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.lp-card-property-type:hover {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.lp-card-property-type img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 12px;
}

.lp-card-property-type p {
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.3;
  margin: 0;
}

.lp-card-property-type p span:first-child {
  color: #f4d03f;
}

/* Listing Cards Override */

.products-list .lp-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  text-align: left;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  flex: none !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
}

.products-list .lp-card a {
  display: block;
  text-decoration: none;
  color: #fff;
}

.products-list .lp-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  margin: auto;
  object-fit: cover;
  display: block;
}

.products-list .lp-card h3 {
  margin: 10px 0;
  font-size: 16px;
  color: #144a68;
  min-height: 59px;
}

.products-list .lp-card .highlight-price td {
  color: #6d0005;
  font-weight: 700;
}

/* Phone Button */

.lisbonproperty-phone {
  border: 2px solid #4c7288;
  padding: 10px 3px 10px 10px;
  font-size: 18px;
  margin-left: 15px;
  border-radius: 25px;
  background: #144a68;
  color: #fff;
}

.lisbonproperty-phone-number {
  background: #fff;
  border: 1px solid #144a68;
  border-radius: 25px;
  padding: 6px 28px;
  text-underline-offset: 2px;
  text-decoration-thickness: 0.1px;
  color: #144a68;
  font-weight: 500;
  letter-spacing: 1px;
}

/* WhatsApp Buttons */

.are-home-whatsapp-subtitle,
.are-home-whatsapp-subtitle-mobile {
  background: rgba(18, 140, 126, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  margin: 0 auto 25px auto;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-size: 15px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.are-home-whatsapp-subtitle {
  padding: 0 40px;
}

.are-home-whatsapp-subtitle:hover,
.are-home-whatsapp-subtitle-mobile:hover {
  background: #075e54;
  cursor: pointer;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.are-home-whatsapp-subtitle a,
.are-home-whatsapp-subtitle-mobile a {
  color: #ffffff !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 15px;
}

.are-home-whatsapp-subtitle a {
  line-height: 3.2em;
}

/* Properties Button */

.are-button-properties,
.are-button-properties-mobile {
  border: 1px solid #1e6a94;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #144a68;
  color: #fff;
  border-radius: 5px;
  box-shadow:
    0 4px 10px rgba(255, 255, 255, 0.3),
    0 2px 4px rgba(255, 255, 255, 0.2);
  width: fit-content;
}

.are-button-properties {
  font-size: 26px;
  margin: 0px auto;
  width: 90%;
  max-width: 1084px;
}

.are-button-properties:hover,
.are-button-properties-mobile:hover {
  background: #0f3a52;
  cursor: pointer;
}

.are-button-properties a,
.are-button-properties-mobile a {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 20px;
  line-height: 1em;
  padding: 15px 0;
}

.are-button-properties a {
  line-height: 2em;
}

/* Property Buttons */

.property-button {
  flex: 1;
  background: #144a68;
  color: white;
  text-align: center;
  padding: 15px 15px 36px;
  border-radius: 5px;
  margin: 10px;
  cursor: pointer;
  font-size: 18px;
  transition: background 0.3s ease;
}

.property-button:hover {
  background: #1b77b8;
}

.property-button.active {
  background: #2ea3f2;
}

.property-button-city {
  font-size: 3em;
  color: #fecc00;
}

/* Property Type Buttons */

.lp-property-type-list {
  margin: 20px 0px;
  display: flex;
  flex-wrap: wrap;
  max-width: 1240px;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  list-style: none;
  padding: 0;
}

.lp-property-type-list li {
  margin: 0;
}

.lp-btn-type {
  display: inline-block;
  background: #144a68;
  color: #fff;
  padding: 10px 18px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.4;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.15s ease;
}

.lp-btn-type:hover,
.lp-btn-type:focus {
  background: #f4d03f;
  color: #144a68;
  transform: translateY(-1px);
}

.lp-btn-type:active {
  transform: translateY(0);
}

/* Inline Links */

.lp-inline-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 10px;
}

.lp-inline-links a {
  text-decoration: none;
  color: inherit;
}

.lp-inline-links a:hover {
  text-decoration: underline;
}

.features-link {
  font-weight: normal;
  transition: color 0.3s ease;
  font-size: 16px;
  text-underline-offset: 3px;
  text-decoration-thickness: 0.1px;
}

.features-link:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* Menu Colors - Classic Blue/Purple */

.ast-builder-menu-1 .menu-item > .menu-link {
  color: #0000ee !important;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 0.1px;
}

.ast-builder-menu-1 .menu-item.current-menu-item > .menu-link,
.ast-builder-menu-1
  .inline-on-mobile
  .menu-item.current-menu-item
  > .ast-menu-toggle,
.ast-builder-menu-1 .current-menu-ancestor > .menu-link {
  color: #551a8b !important;
}

.ast-builder-menu-1 .menu-item > .menu-link:hover {
  color: #ee0000 !important;
}

/* Mobile Hamburger Menu */

.ast-mobile-menu-trigger-minimal svg {
  fill: #000 !important;
}

.ast-mobile-menu-trigger-minimal .mobile-menu-toggle-icon::before {
  content: "MENU";
  font-size: 16px;
  font-weight: 400;
  color: #000;
  margin-right: 8px;
}

.homepage-h1 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff !important;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.hero-container {
  position: relative;
  width: 100%;
  margin-top: 80px;
  background: #144a68;
  height: 347px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero-container {
    display: block !important;
    visibility: visible !important;
    color: #ffffff !important;
    position: relative;
    min-height: 450px;
    margin-top: 80px;
  }
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.hero-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.33);
  z-index: 2;
}

.hero-agent {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 100%;
  width: auto;
  object-fit: contain;
  z-index: 3;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 4;
  color: #fff;
}

.section-intro-text {
  text-align: center;
}

/* Area Links Section */

.lp-area-links {
  text-align: left;
}

.lp-area-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 30px;
}

.lp-area-group h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #144a68;
}

.lp-area-group ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 0 0 1rem;
}

.lp-area-group li {
  margin-bottom: 0.3rem;
}

.lp-area-group a {
  color: #0000ee;
  text-decoration: underline;
}

.lp-area-group a:visited {
  color: #551a8b;
}

.lp-area-group a:hover,
.lp-area-group a:focus {
  color: #ff0000;
  text-decoration: underline;
}

/* Developments Section */

.lp-developments-section {
  margin-top: 40px;
}

.developments-list ul.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 98%;
  padding: 0;
  margin: 5px auto;
  list-style: none;
}

.developments-list ul.nav li.son {
  border-radius: 4px;
  flex: 1 1 auto;
  background: #144a68;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: #f4d03f;
  font-size: 14px;
}

.developments-list ul.nav li.son a {
  display: block;
  padding: 7px 0px;
  border-radius: 4px;
  background: #144a68;
  color: #fff;
  transition: all 0.3s ease;
}

.developments-list ul.nav li.son a:hover {
  background: #f4d03f;
  color: #144a68;
}

.developments-list ul.nav li.son.active a {
  background: #144a68;
  color: #f4d03f;
  font-weight: 400;
}

@media (max-width: 820px) {
  .developments-list ul.nav li,
  .lp-property-type-list li,
  ul.nav li {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .developments-list ul.nav li.son a {
    padding: 0px 2px !important;
  }
  h1 {
    padding: 0px;
    font-size: 22px;
    color: #144a68;
    font-weight: 500;
  }
}

/* Category Extra Content */

.lp-category-extra-content {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
}

.lp-thumb-32 {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.lp-thumb-32 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.table {
  width: 100%;
  color: #2b739b;
  vertical-align: top;
  border-color: #dee2e6;
  border-collapse: collapse;
  border: 0 !important;
  padding-bottom: 40px;
  table-layout: fixed;
  font-size: 18px;
  line-height: 2.3em;
}

.table td,
.table th {
  border-top: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-bottom: 0;
}

.table tbody tr:not(:last-child) td,
.table tbody tr:not(:last-child) th {
  border-bottom: 1px solid #eee !important;
}

.table tr {
  border-bottom: 1px solid #eee;
}

.table td {
  text-align: left;
}

.products-list .lp-card .card-details {
  width: 100%;
  font-size: 16px;
  line-height: 1.3;
}

.products-list .lp-card .card-detail-row dt,
.products-list .lp-card .card-detail-row dd {
  padding: 6px 0;
}

.card-details {
  width: 100%;
  color: #144a68;
  font-size: 18px;
  line-height: 1.3em;
}

.card-detail-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
}

.card-detail-row:last-child {
  border-bottom: 0;
}

.card-detail-row dt {
  font-weight: normal;
  text-align: left;
}

.card-detail-row dd {
  margin: 0;
  text-align: right;
}

.card-detail-row.highlight-price dt,
.card-detail-row.highlight-price dd {
  color: #6d0005;
  font-weight: 400;
}

.card-detail-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
  padding: 6px 0;
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
  background: #fff;
  padding: 0.5rem 0.5rem;
}

.table-striped > tbody > tr:nth-of-type(even) > * {
  background: #fff;
  padding: 0.5rem 0.5rem;
}

.primeira {
  padding: 0 10px;
  border: 2px solid #eee;
  border-radius: 10px;
}

.completa {
  background: #fdfdfd;
  padding: 0 10px;
  border: 2px solid #eee;
  border-radius: 10px;
}

.entry-content table:not(.variations) {
  border: none;
  margin: 0 0 0px;
  text-align: left;
  width: 100%;
}

.tbody {
  border-color: inherit;
  border-style: solid;
  border-width: 0;
}

td.text-end {
  text-align: right;
}

div.text-end {
  text-align: right;
  font-weight: bold;
  font-size: 1.3em;
  color: #6d0005;
}

.latest-view {
  width: 100%;
  max-width: 300px;
  font-size: 13px;
  border-collapse: collapse;
}

.latest-view tr {
  height: auto;
  min-height: 18px;
}

.latest-view td,
.latest-view th {
  padding: 0px 4px;
  border-bottom: 1px solid #ddd;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 140px;
  background-color: #f9f9f9;
  text-align: left;
}

.price-cell {
  width: 100%;
  table-layout: fixed;
}

.home-price {
  width: 100%;
  text-align: right;
}

.home-price .price {
  color: #800808;
}

.start-price {
  display: inline-block;
  float: left;
  color: #800808;
  font-weight: bold;
}

.latest-price {
  display: inline-block;
  float: right;
  color: #6d0005;
  font-weight: bold;
  white-space: nowrap;
  text-align: right;
}

.asking_price {
  border-bottom: 1px dotted #800808;
}

#LatestViewedProperties {
  margin-bottom: 20px;
  text-align: center;
  border-bottom: 1px solid #d8d8d8;
  text-transform: uppercase;
}

.my-product-meta {
  width: 100%;
  color: #2b739b;
  font-size: 18px;
  line-height: 1.3em;
  border-collapse: collapse;
}

.my-product-meta span {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
  padding: 0.5rem 0;
}

.my-product-meta .meta-ref::before {
  content: "Reference: ";
  font-weight: normal;
}

.my-product-meta .meta-area::before {
  content: "Interior area: ";
  font-weight: normal;
}

/* Tax Tables */

.tax-table {
  background: #fffdea;
  padding: 10px;
  width: 100%;
  color: #2b739b;
  vertical-align: top;
  border-color: #dee2e6;
  border-collapse: collapse;
  font-size: 18px;
  line-height: 2.3em;
}

.tax-table tr {
  border-bottom: 1px solid #e6e6e6;
}

.tax-info {
  text-align: center;
  margin-top: 20px;
}

.tax-table td {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tax-table td:first-child {
  white-space: normal;
  word-wrap: break-word;
  flex: 2;
}

.tax-table td:last-child {
  flex: 1;
}

#usage_type {
  padding: 4px;
  font-size: 16px;
  border-radius: 20px;
  color: #069;
  border: 1px solid #efefef;
}

.scroll-offset {
  position: relative;
}

.scroll-offset::before {
  content: "";
  display: block;
  height: 20px;
  margin-top: -60px;
}

.tax-highlight {
  color: #6d0005;
}

.home-gallery {
  margin: 30px 0;
  text-align: center;
}

.property-gallery-main {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.featured-link,
.featured-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.property-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
  margin-top: 18px;
  width: 100%;
  max-width: 100%;
  align-self: stretch;
}

.property-gallery-thumbs a {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  display: block;
  aspect-ratio: 3 / 2;
}

.property-gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.property-gallery-thumbs a:hover img {
  transform: scale(1.05);
}

.gallery-thumb {
  display: block;
}

.gallery-thumb:hover {
  transform: scale(1.03);
}

.pswp__button--arrow {
  width: 400px;
  height: 300px;
}

.are-footer {
  background: #092230;
  text-align: center;
  color: #fff;
  line-height: 2em;
}

.are-footer-whatsapp {
  text-align: center;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.are-footer-whatsapp img {
  margin-right: 8px;
}

.are-footer-websites {
  font-size: 12px;
  width: 80%;
  display: block;
  margin: auto;
}

.footer-disclaimer {
  display: block;
  width: 100%;
  margin: 0px;
  background: #092230;
  padding: 20px 0px;
  color: #ffffff;
  font-size: 14px;
}

.footer-disclaimer a,
.are-footer a,
.scroll-text-wrapper a {
  color: #ffffff;
  text-decoration: underline;
}

.footer-disclaimer-inner {
  display: block;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
  text-align: right;
}

.footer-webmaster {
  display: inline;
  border: 1px solid #eee;
  padding: 0px 4px 5px 5px;
  border-radius: 5px;
  background: #efefef;
}

@keyframes scroll {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

#mobile-link {
  display: block;
  background: #144a68;
  padding: 10px;
}

#mobile-link ul.nav {
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  padding: 0;
  margin: 0 0 12px;
  list-style: none;
  gap: 10px;
}

#mobile-link li {
  flex: 1;
  text-align: center;
  padding: 10px 5px;
  width: 33%;
}

#mobile-link a {
  display: block;
  padding: 12px 8px;
  border-radius: 6px;
  background: #fff;
  color: #144a68;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.3;
  transition: all 0.25s ease-in-out;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  min-height: 60px;
  height: calc(2em * 2);
}

#mobile-link a:hover,
#mobile-link a:focus {
  background: #0e4664;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

#mobile-link li.main a {
  font-weight: 700;
  text-transform: uppercase;
  background: #075e54;
  color: #fff;
}

#mobile-link li.main a:hover {
  background: #128c7e;
}

#mobile-link li.son a {
  background: #f9f9f9;
  color: #144a68;
}

#mobile-link .active-condominiums a {
  background: #0e4664;
  color: #fff !important;
}

/* Variations */

#mobile-link-condo li {
  padding: 10px 5px;
  width: 33%;
}

#mobile-link-condo a {
  font-size: 18px;
  color: #144a68;
  height: calc(1.3em * 2);
}

#mobile-link-2 li {
  padding: 10px 5px;
}

#mobile-link-2 a {
  font-size: 16px;
  color: #144a68;
  height: calc(1.3em * 2);
  width: 17vw;
}

#mobile-link-condo-2 {
  display: block !important;
}

#mobile-link-condo-2 ul.nav {
  text-align: center;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style-type: none;
}

#mobile-link-condo-2 li {
  padding: 10px 5px;
  width: 50%;
}

#mobile-link-condo-2 a {
  padding: 5px;
  border-radius: 5px;
  color: #144a68;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
  height: calc(1.5em * 2);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 0.1px;
  text-align: center;
  font-size: 16px;
}

#mobile-link-condo-2 .main {
  text-transform: uppercase;
  font-weight: bold;
}

#mobile-link-condo-2 .main a {
  background: #f1f1f1;
}

#mobile-link-condo-2 .son {
  text-transform: none;
}

#mobile-link-condo-2 .son a {
  background: #f1f1f1;
}

#mobile-link-condo-4 li {
  padding: 10px 5px;
  width: 25%;
}

#mobile-link-condo-4 a {
  font-size: 16px;
  color: #144a68;
  padding: 35px 5px;
  height: calc(1.3em * 2);
}

/* Footer Nav (mobile-link-4) */

#mobile-link-4 {
  display: block;
  margin-top: 20px;
}

#mobile-link-4 ul.nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  padding: 20px 0;
  margin: 0;
  list-style: none;
  align-items: stretch;
}

#mobile-link-4 ul.nav li {
  display: flex;
}

#mobile-link-4 ul.nav li a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 56px;
  width: 100%;
  line-height: 1.3;
  white-space: normal;
  padding: 10px 16px;
  border-radius: 4px;
  background: #144a68;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 0.1px;
  transition: all 0.25s ease-in-out;
}

#mobile-link-4 .son {
  text-transform: none;
  flex: 0 0 calc((100% - 60px) / 4);
  max-width: calc((100% - 60px) / 4);
  box-sizing: border-box;
}

#mobile-link-4 ul.nav li a:hover,
#mobile-link-4 ul.nav li a:focus {
  background: #0e4664;
  color: #fff;
}

.products-list {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 50px 24px !important;
  width: 98% !important;
  margin: 0 auto;
  margin-bottom: 40px;
}

.products-list .product-item,
.product-item a {
  text-decoration: none;
}

.product-item img {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.product-item h3 {
  font-size: 16px;
  color: #333;
  min-height: 59px;
}

.products-list img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

/* Pagination */

.products-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.5rem 0;
  font-family: Arial, sans-serif;
  font-size: 15px;
}

.products-pagination a,
.products-pagination span {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  background-color: #f9f9f9;
  transition: all 0.2s ease-in-out;
}

.products-pagination a:hover {
  background-color: #0073aa;
  color: #fff;
  border-color: #0073aa;
}

.products-pagination .current {
  background-color: #0073aa;
  color: #fff;
  border-color: #0073aa;
  font-weight: bold;
  cursor: default;
}

.products-pagination .prev,
.products-pagination .next {
  font-weight: bold;
}

.products-pagination .disabled {
  color: #aaa;
  border-color: #eee;
  background-color: #f5f5f5;
  cursor: not-allowed;
}

.lp-single-home {
  background: #fff;
  padding: 20px;
  margin: 0 auto;
  border-radius: 8px;
}

.lp-single-home #primary,
.lp-single-home .site-main,
.lp-single-home main#main {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 auto !important;
}

.lp-single-home .ast-container,
.lp-single-home .ast-row {
  max-width: 100% !important;
  padding: 0 !important;
}

.lp-single-home .entry-content {
  margin: 0 !important;
  padding: 0 !important;
}

.lp-single-home article {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0rem;
}

.lp-single-home .home-header {
  margin-bottom: 1rem;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 0.5rem;
}

.lp-single-home .home-header h1 {
  font-size: 1.5rem;
}

.lp-single-home .home-price .price {
  font-size: 1.5rem;
  font-weight: 400;
}

.lp-single-home .home-gallery,
.lp-single-home .home-description,
.lp-single-home .home-details,
.lp-single-home__image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.lp-single-home__title {
  font-size: 2rem;
  font-weight: bold;
  color: #144a68;
  margin-bottom: 20px;
  text-align: center;
}

.lp-single-home__content {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
}

.lp-single-home__footer {
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid #ddd;
  font-size: 0.9rem;
  color: #666;
}

.home-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.home-header-top .entry-title {
  margin: 0;
  font-size: 2rem;
  line-height: 1.2;
}

.home-header-top .home-price .price {
  color: #800808;
  font-size: 1.5rem;
  font-weight: 400;
  white-space: nowrap;
}

@media (max-width: 850px) {
  .products-pagination .page-numbers:nth-child(n + 6):nth-last-child(n + 4) {
    display: none;
  }
}

@media (max-width: 1024px) {
  .lp-section {
    margin-bottom: 80px;
  }
}

@media (max-width: 768px) {
  /* Layout Adjustments */
  .ast-separate-container #primary,
  .ast-separate-container.ast-left-sidebar #primary,
  .ast-separate-container.ast-right-sidebar #primary {
    margin: 10px 0 10px 0 !important;
    padding: 0 !important;
  }
  .lp-section {
    margin-bottom: 45px;
  }
  .lp-frame {
    padding: 20px;
    margin: 20px auto;
  }
  /* Typography */
  .are-home-h1 {
    font-size: 22px;
    text-transform: none;
  }
  .are-home-h2 {
    font-size: 26px;
  }
  .are-footer-h2 {
    font-size: 27px;
  }
  /* Phone & WhatsApp Buttons */
  .lisbonproperty-phone {
    padding: 10px 3px 10px 10px;
    font-size: 15px;
    margin-left: 0px;
    border-radius: 25px;
  }
  .lisbonproperty-phone-number {
    padding: 6px 28px;
  }
  .are-home-whatsapp-subtitle a {
    line-height: 1em;
  }
  .homepage-h1 {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 10px;
    text-align: left;
  }
  .are-home-whatsapp-subtitle {
    margin: 10px 0 0 0;
    font-size: 16px;
    text-align: left;
    justify-content: flex-start;
    max-width: 80%;
  }
  /* Hero Section */
  .hero-agent {
    right: -10px;
    bottom: 0;
    top: auto;
    transform: none;
    height: auto;
    max-height: 90%;
  }
  .hero-text {
    position: relative !important;
    top: 125px !important;
    bottom: auto !important;
    left: 0 !important;
    width: 100% !important;
    padding: 0 5% !important;
    transform: none !important;
    text-align: center !important;
    box-sizing: border-box !important;
    display: block !important;
  }
  .are-home-p.phero {
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
  }
  /* Tables */
  .table {
    font-size: 14px;
  }
  .table-intro {
    font-size: 14px;
  }
  /* Navigation */
  #mobile-link {
    display: flex;
    flex-wrap: wrap;
  }
  #mobile-link .nav {
    flex: 1 1 50%;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  #mobile-link .nav li {
    margin-bottom: 10px;
    text-align: center;
  }
  #mobile-link .nav a {
    display: block;
    padding: 8px;
  }
  #mobile-link a {
    padding: 12px 8px;
    font-size: 15px;
  }
  #mobile-link-4 ul {
    display: flex;
    flex-wrap: nowrap;
    padding: 0;
    margin: 0;
    list-style: none;
    width: 100%;
  }
  #mobile-link-4 ul li {
    flex: 1 1 25%;
    max-width: 25%;
    text-align: center;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  #mobile-link-4 ul li a {
    display: block;
    padding: 8px;
    font-size: 14px;
  }
  /* Buttons */
  .button-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
  }
  .button-container .property-button {
    flex: 1 1 calc(50% - 10px);
    text-align: center;
    box-sizing: border-box;
    font-size: 14px;
    margin: 0;
  }
  /* Product Grid */
  .product-item {
    flex: 1 1 calc(50% - 20px);
  }
  /* Grids */
  .lp-grid-4.lp-grid-8cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .lp-area-groups {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .property-gallery-thumbs {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 6px;
  }
  .site-title {
    font-size: 26px;
  }
  #are-header #are-branding p {
    transition:
      max-height 0.3s ease,
      opacity 0.3s ease;
    max-height: 40px;
    opacity: 1;
    overflow: hidden;
  }
  #are-header.scrolled #are-branding p {
    max-height: 0;
    opacity: 0;
  }
  #are-header.scrolled {
    padding: 4px 0;
  }
  #are-header.scrolled #are-branding a {
    font-size: 0.9rem;
  }
  #are-header.scrolled #are-nav a {
    font-size: 0.8rem;
    padding: 4px 6px;
  }
}

/* Tablet Range (768px - 980px) */

@media (min-width: 768px) and (max-width: 980px) {
  .are-home-h1 {
    font-size: 22px;
    text-transform: none;
  }
}

/* Extra Small Mobile (≤600px) */

@media (max-width: 600px) {
  .are-home-h2 {
    font-size: 21px;
  }
  main#primary.site-main > h1 {
    font-size: 25px;
  }
  .lp-btn-type {
    display: inline-block;
    background: #144a68;
    color: #fff;
    padding: 6px 8px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    transition:
      background 0.25s ease,
      color 0.25s ease,
      transform 0.15s ease;
  }
}

/* Extra Small Mobile (≤480px) */

@media (max-width: 480px) {
  .product-item {
    flex: 1 1 100%;
  }
}

/* ========================================
   LISBON MAP SVG STYLES
   ======================================== */

/* Outer container */

.a4 {
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin: 30px auto;
}

/* Map wrapper with aspect ratio */

.map-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 69.72%;
  overflow: hidden;
  background-color: #f5f5f5;
}

/* Background image - fills wrapper */

.map-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* SVG overlay - positioned over image */

.svg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

/* Interactive area hover effects */

.area-hover {
  transition:
    fill 0.3s ease,
    fill-opacity 0.3s ease;
  cursor: pointer;
}

.area-hover:hover {
  fill: rgba(41, 128, 185, 0.4);
  fill-opacity: 1;
}

.area-hover:active {
  fill: rgba(41, 128, 185, 0.6);
}

/* Cascais area (special styling) */

.area-blue {
  transition: fill 0.3s ease;
  cursor: pointer;
}

.area-blue:hover {
  fill: rgba(52, 152, 219, 0.5);
}

/* Focus state for accessibility */

a:focus .area-hover,
a:focus .area-blue {
  fill: rgba(41, 128, 185, 0.5);
  outline: 2px solid #2980b9;
  outline-offset: 2px;
}

/* ========================================
   MOBILE RESPONSIVE (≤768px)
   ======================================== */

@media screen and (max-width: 768px) {
  .a4 {
    margin: 20px auto;
    padding: 0px;
  }
  /* Larger touch targets on mobile */
  .area-hover,
  .area-blue {
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 1;
  }
  .area-hover:hover,
  .area-hover:active {
    fill: rgba(41, 128, 185, 0.6);
    stroke: rgba(41, 128, 185, 0.8);
    stroke-width: 2;
  }
  .lp-section.lp-featured-homes {
    padding: 20px 15px;
  }
  .lp-section.lp-featured-homes h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }
  .lp-section.lp-featured-homes p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  .are-button-properties {
    margin-top: 20px !important;
  }
  .are-button-properties a {
    display: inline-block;
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}

/* ========================================
   EXTRA SMALL MOBILE (≤480px)
   ======================================== */

@media screen and (max-width: 480px) {
  .lp-section.lp-featured-homes p {
    font-size: 0.9rem;
    margin-bottom: 10px;
  }
  .lp-section.lp-featured-homes p a {
    display: inline-block;
    padding: 2px 4px;
    margin: 2px 0;
  }
}

/* ========================================
   TABLET (769px - 1024px)
   ======================================== */

@media screen and (min-width: 769px) and (max-width: 1024px) {
  .lp-section.lp-featured-homes {
    padding: 30px 20px;
  }
}

/* ========================================
   PERFORMANCE OPTIMIZATIONS
   ======================================== */

. @media (prefers-reduced-motion: reduce) {
  .area-hover,
  .area-blue {
    transition: none;
  }
}

.breadcrumb {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
  margin: 10px;
}

.breadcrumb a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 0.1px;
  color: #4a7a96;
}

.breadcrumb a:hover {
  color: #144a68;
}

.breadcrumb strong {
  color: #144a68;
  font-weight: 400;
}

.breadcrumb-bottom {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
}

.breadcrumb-bottom .breadcrumb {
  font-size: 14px;
  color: #666;
}

/* ========================================
   FOOTER MENU - HORIZONTAL CENTERED
   ======================================== */

.footer-menu .main-navigation {
  display: flex !important;
  justify-content: center;
  width: 100%;
  margin-top: 40px;
}

.footer-menu .main-header-menu {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.footer-menu.nav .main-navigation .menu-item a.menu-link {
  text-decoration: underline !important;
  text-underline-offset: 5px;
  text-decoration-thickness: 0.1px;
  text-decoration-color: #4169e1;
}

.footer-menu .menu-item {
  display: inline-block !important;
}

.footer-menu .menu-item a {
  text-decoration: underline !important;
  text-underline-offset: 5px;
  text-decoration-thickness: 0.1px;
  text-decoration-color: #4169e1;
}

.homes-locations-footer {
  text-align: right;
  margin-top: 20px;
}

.btn-view-all-homes {
  display: inline-block;
  padding: 10px 24px;
  background: transparent;
  border: 1px solid #144a68;
  color: #144a68;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-view-all-homes:hover {
  background: #144a68;
  color: #fff;
}

/* ========================================
   Location Intro - High-End Luxury Design
   ======================================== */

.location-intro {
  margin: 30px 0 40px 0;
  padding: 0;
  background: transparent;
}

.location-intro-text {
  margin: auto;
  padding: 0;
  font-size: 17px;
  line-height: 1.7;
  color: #2c3e50;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.location-intro-text strong {
  font-weight: 400;
  color: #1a1a1a;
  font-size: 18px;
}

.location-intro-context {
  margin: auto;
  padding: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #6c757d;
  font-weight: 400;
  font-style: italic;
}

.location-intro-more {
  margin: 20px 0 0 0;
  padding: 0;
  text-align: right;
}

/* Mobile refinements */

@media (max-width: 768px) {
  .location-intro {
    margin: 20px 0 30px 0;
  }
  .location-intro-text {
    font-size: 16px;
  }
  .location-intro-text strong {
    font-size: 17px;
  }
  .location-intro-context {
    font-size: 14px;
  }
}

.development-homes-title {
  margin-top: 60px;
  margin-bottom: 20px;
}

/* ========================================
   Property Table - Location Links
   ======================================== */

.property-table .text-end a {
  color: #144a68;
  text-decoration: underline;
  border-bottom: 1px solid;
  text-underline-offset: 3px;
  text-decoration-thickness: 0.1px;
  transition: all 0.25s ease;
  font-weight: 500;
}

.property-table .text-end a:hover {
  color: #0f3a52;
  border-bottom-color: #0f3a52;
}

/* ========================================
   Property Table - Tax Rows Styling
   ======================================== */

/* IMT & Stamp Duty Rows - Override striped background */

.table-striped > tbody > .tax-row-imt > td,
.table-striped > tbody > .tax-row-stamp > td {
  background: #fff !important;
  padding: 0px 15px !important;
  font-size: 15px !important;
}

/* Total Taxes Row (enhanced inline style) */

.table-striped > tbody > .tax-row-total > td {
  font-size: 16px !important;
  letter-spacing: 0.01em;
}

/* Asking Price Row */

.table-striped > tbody > .tax-row-price > td {
  background: #fff9f0 !important;
  padding: 14px 8px !important;
  font-size: 23px !important;
  font-weight: 600 !important;
  color: #800808 !important;
}

/* Fix border for Asking Price row */

.table-striped > tbody > .tax-row-price {
}

.locations-title {
  margin: 120px 0px 30px 0px;
}

/* ========================================
   ACF ADMIN - LIGHTER PLACEHOLDERS
   ======================================== */

/* Make all ACF input placeholders much lighter */

.developments-place-title {
  margin: 20px 0px;
}

.ast-separate-container .ast-article-single {
  padding: 0em;
}

.property-search-form {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 1140px;
  margin: 10px;
}

.property-search-form select {
  flex: 1 1 0;
  min-width: 0;
  padding: 10px 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  color: #333;
  font-size: 14px;
  cursor: pointer;
}

.property-search-form input[type="text"],
.property-search-form input[type="number"] {
  flex: 0 0 180px;
  min-width: 0;
  width: 300px;
  padding: 10px 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  margin-left: auto;
}

.property-search-form #filter-sort {
  flex: 0 0 150px;
}

.property-search-form button {
  flex: 0 0 auto;
  padding: 10px 20px;
  background: #144a68;
  color: #f4d03f;
  border: 1px solid #ffffff;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  font-size: 14px;
}

.property-search-form button:hover {
  background: #0f3a52;
}

.property-search-form #filter-clear {
  background: #888;
}

.property-search-form #filter-clear:hover {
  background: #666;
}

#advanced-search-filter {
  max-width: 100%;
  margin: 10px auto 0 auto;
  background: #0d3247;
  padding: 10px;
  border-radius: 4px 4px 0 0;
}

h2.search-filter-title {
  max-width: 1240px;
  text-align: center;
  margin: 110px 0 30px 0;
}

@media (max-width: 768px) {
  .property-search-form {
    flex-wrap: wrap;
  }
  .property-search-form select,
  .property-search-form input[type="number"] {
    flex: 1 1 calc(50% - 8px);
  }
  .property-search-form #filter-sort {
    flex: 1 1 calc(50% - 8px);
  }
}

/* ===================================
   CONTACT FORM
   =================================== */

/* Section container */

.lp-contact-section {
  max-width: 800px;
  margin: 120px auto;
}

/* Form box */

.lp-contact-form-box {
  padding: 35px;
  background: linear-gradient(135deg, #fffbf0 0%, #fef8e8 100%);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 215, 100, 0.15);
}

/* Form title */

.lp-form-title {
  display: block;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.3px;
  background: #144a68;
  color: #fff;
  margin-bottom: 0px;
  border-radius: 6px 6px 0 0;
  padding: 30px 10px 20px 23px !important;
}

/* Form fields */

.lp-form-field {
  margin-bottom: 20px;
}

.lp-form-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 400;
  color: #333;
  font-size: 15px;
}

.lp-form-field input[type="text"],
.lp-form-field input[type="email"],
.lp-form-field input[type="tel"],
.lp-form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  font-family: inherit;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}

.lp-form-field input:focus,
.lp-form-field textarea:focus {
  outline: none;
  border-color: #0066cc;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.lp-form-field input[readonly] {
  background: #e9ecef;
  cursor: not-allowed;
}

/* Phone group */

.lp-phone-group > div {
  display: flex;
  gap: 10px;
}

.lp-phone-group input[name="phone_country"] {
  width: 90px;
  flex-shrink: 0;
}

.lp-phone-group input[name="phone_number"] {
  flex: 1;
}

/* Field errors */

.lp-field-error {
  display: block;
  color: #dc3545;
  font-size: 14px;
  margin-top: 6px;
  font-weight: 500;
}

/* Submit button */

.lp-form-submit {
  width: 100%;
  padding: 15px 20px;
  background: #144a68;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s;
}

.lp-form-submit:hover {
  background: #0052a3;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.lp-form-submit:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Messages */

.lp-form-messages {
  padding: 15px 18px;
  margin-bottom: 20px;
  border-radius: 4px;
  font-size: 15px;
  line-height: 1.5;
}

.lp-form-messages.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.lp-form-messages.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Sticky contact button */

.lp-sticky-contact {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  padding: 15px 25px;
  background: #0066cc;
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: all 0.3s;
}

.lp-sticky-contact:hover {
  background: #0052a3;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Responsive */

@media (max-width: 768px) {
  .lp-contact-section {
    margin: 30px 15px;
  }
  .lp-contact-form-box {
    padding: 25px 20px;
  }
  .lp-form-title {
    font-size: 18px;
  }
  .lp-sticky-contact {
    bottom: 15px;
    right: 15px;
    padding: 12px 20px;
    font-size: 14px;
  }
}

.ast-site-identity {
  padding: 0em 0;
}

.site-content .ast-container {
  max-width: 1240px;
  margin: auto;
}

.tabela-development {
  width: 100%;
  max-width: 1400px;
  margin: 2rem auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.tabela-development-row {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 0;
  border-bottom: 1px solid #e5e7eb;
  transition: background-color 0.2s ease;
}

.tabela-development-row:last-child {
  border-bottom: none;
}

.tabela-development-row.header {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  color: white;
  font-weight: 400;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.tabela-development-row:not(.header):hover {
  background-color: #f9fafb;
}

.tabela-development-cell {
  padding: 1rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.875rem;
  border-right: 1px solid #e5e7eb;
}

.tabela-development-cell:last-child {
  border-right: none;
}

.tabela-development-row:not(.header) .tabela-development-cell:first-child {
  font-weight: 400;
  color: #1e40af;
}

.tabela-development-row:not(.header) .tabela-development-cell:nth-child(2) {
  font-style: italic;
  color: #6b7280;
}

.tabela-development-row:not(.header) .tabela-development-cell:last-child {
  color: #059669;
  font-weight: 500;
  font-size: 0.8rem;
}

/* Responsive */

@media (max-width: 1200px) {
  .tabela-development {
    overflow-x: auto;
  }
  .tabela-development-row {
    min-width: 1200px;
  }
}

@media (max-width: 768px) {
  .tabela-development-cell {
    padding: 0.75rem 0.5rem;
    font-size: 0.75rem;
  }
  .tabela-development-row.header {
    font-size: 0.65rem;
  }
}

figcaption {
  font-size: 18px;
  color: rgb(51, 65, 85);
  line-height: 26.4px;
  max-width: 800px;
  margin: auto;
  padding: 30px 20px 20px;
}

#are-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

body.admin-bar #are-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar #are-header {
    top: 46px;
  }
}

/* ========================================
   CARD SLIDER / SWIPE (mobile)
   ======================================== */

.card-slider-wrap {
  position: relative;
}

.card-slider {
  display: flex;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-radius: 6px 6px 0 0;
}

.card-slider::-webkit-scrollbar {
  display: none;
}

.card-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  width: 100%;
}

.card-slide img {
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
  display: block;
}

.card-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  text-align: center;
}

.card-cta-title {
  color: #144a68;
  font-size: 16px;
  font-weight: 400;
  margin: 0;
}

.card-cta-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  width: 100%;
  justify-content: center;
  box-sizing: border-box;
}

.card-cta-whatsapp {
  background: #25d366;
  color: #fff;
}

.card-cta-whatsapp img {
  width: 20px !important;
  height: 20px !important;
  object-fit: contain;
  flex-shrink: 0;
}

.card-cta-view {
  background: #144a68;
  border: 2px solid #0d5881;
}

.card-dots {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 5px;
  pointer-events: none;
  z-index: 2;
}

.card-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  transition:
    background 0.2s,
    transform 0.2s;
}

.card-dot.active {
  background-color: #ffffff;
  transform: scale(1.4);
}

/* Disable slider on desktop — show first image only */

@media (min-width: 1024px) {
  .card-slider {
    overflow: hidden;
    scroll-snap-type: none;
  }
  .card-slide:not(:first-child) {
    display: none;
  }
  .card-dots {
    display: none;
  }
}

.card-main-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

@media (max-width: 992px) {
  .products-list {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 600px) {
  .products-list {
    grid-template-columns: 1fr !important;
  }
}

.scroll-text-wrapper {
  background: #092230;
  width: 100%;
  overflow: hidden !important;
  position: relative;
  padding: 10px 0;
  color: #fff;
}

.scroll-text {
  display: inline-block;
  white-space: nowrap;
  will-change: transform;
  padding: 15px 0;
  font-size: 18px;
  animation: scroll 50s linear infinite;
}

.are-footer-ul {
  list-style: none !important;
  padding-inline-start: 0 !important;
  margin-block-start: 0;
  margin-block-end: 0;
}

.entry-content figure {
  margin-inline-start: auto;
  margin-inline-end: auto;
  margin-block-start: 0;
  margin-block-end: 1em;
  max-width: fit-content;
}

.dev-section {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.site-below-footer-wrap {
  border-top: 1px solid #e6e6e6;
  background: #fff;
  padding: 20px;
  text-align: center;
}

.lp-single-home .home-gallery {
  max-width: 98%;
  margin: auto;
}

.lp-single-home .home-description,
.lp-single-home .home-details,
.lp-single-home .home-tax-section {
  max-width: 800px;
  margin: 2em auto;
}

.lp-single-home .home-description {
  max-width: 800px;
  font-size: 1rem;
  line-height: 1.7;
}

.card-slide-cta {
  aspect-ratio: 3 / 2;
  height: auto;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e0e0e0;
}

.are-footer address,
.are-footer p,
.are-footer li,
.are-footer a {
  color: #fff;
}

.are-footer-whatsapp a {
  display: inline-block;
  max-width: 100%;
  margin: 30px;
  box-sizing: border-box;
  white-space: nowrap;
  background: #2d6140;
}

#youth-bonus-section {
  width: 100%;
  box-sizing: border-box;
}

#youth-bonus-section label {
  white-space: normal !important;
  flex-wrap: wrap;
}

#youth-bonus-section span {
  white-space: normal !important;
}

.lp-contact-form input[type="text"],
.lp-contact-form input[type="email"],
.lp-contact-form input[type="tel"],
.lp-contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  max-width: 100%;
}

.property-search-form select:disabled {
  background: #f5f5f5;
  color: #aaa;
  cursor: not-allowed;
}

a {
  color: rgb(51, 65, 85);
}

.card-dot:first-child {
  background-color: #ffffff;
}

.phero {
  color: #ffffff !important;
  margin-bottom: 16px;
}

#primary {
  margin-top: 100px;
  margin-bottom: 20px;
}

body.admin-bar #primary {
  margin-top: 112px;
}

@media screen and (max-width: 782px) {
  body.admin-bar #primary {
    margin-top: 126px;
  }
}

/* ── FROM style.css (production) ── */

#page {
  margin-top: 70px !important;
}

.ast-container::after {
  content: "";
  display: table;
  clear: both;
}

.entry-content img {
  max-width: 100%;
  height: auto;
}

.lp-single-home#primary {
  width: 100%;
  margin: 0;
  padding: 0;
}

.site-footer {
  margin-top: 2px;
}

.site-footer-copyright a {
  color: #1a5f8a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer-copyright p {
  color: #144a68;
  font-size: 16px;
  margin: auto;
}

#are-header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

#are-branding a {
  font-size: 30px;
  font-weight: 400;
  color: #144a68;
  text-decoration: none;
  display: block;
  line-height: 1.2;
}

#are-branding a:hover {
  color: #6d0005;
}

#are-branding p {
  font-size: 15px;
  color: #555;
  margin: 0;
  line-height: 1.2;
}

#are-nav #are-primary-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
  align-items: center;
}

#are-nav #are-primary-menu li a {
  display: block;
  padding: 4px 12px;
  font-size: 16px;
  color: #144a68;
  text-decoration: underline;
  white-space: nowrap;
  transition:
    background 0.2s,
    color 0.2s;
  text-underline-offset: 12px;
  text-decoration-thickness: 0.1px;
}

#are-nav #are-primary-menu li a:hover {
  background: #f0f4f7;
  color: #6d0005;
}

#are-nav #are-primary-menu li.current-menu-item > a {
  border-bottom: 2px solid#3a8dba;
}

#menu-horizontal {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
  align-items: center;
}

#menu-horizontal li a {
  display: block;
  padding: 4px 12px;
  font-size: 16px;
  color: #144a68 !important;
  text-decoration: underline !important;
  white-space: nowrap;
  transition:
    background 0.2s,
    color 0.2s;
  text-underline-offset: 12px;
  text-decoration-thickness: 1px;
}

#menu-horizontal li a:hover {
  background: #f0f4f7;
  color: #6d0005 !important;
  text-decoration: underline !important;
}

#menu-horizontal li.current-menu-item > a {
  border-bottom: 2px solid #3a8dba;
  color: #144a68 !important;
}

/* HEADER */

.page-template-page-development .site-content .ast-container {
  display: block !important;
  width: 100%;
}

/* Fix Header Positioning - desktop */

@media (min-width: 921px) {
  .ast-theme-transparent-header #masthead {
    position: relative !important;
    left: auto !important;
    right: auto !important;
  }
}

/* Mobile - 921px and below */

@media (max-width: 921px) {
  .footer-menu .main-header-menu {
    position: static !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .ast-header-break-point .ast-builder-menu-mobile .main-navigation {
    display: block;
    margin-top: 80px;
  }
  .ast-theme-transparent-header #masthead {
    position: relative !important;
    left: auto !important;
    right: auto !important;
  }
  #are-header-inner {
    height: auto;
    flex-direction: column;
    padding: 10px 16px 0;
  }
  #are-branding {
    text-align: center;
    margin-bottom: 6px;
  }
  #are-branding a {
    font-size: 18px;
  }
  #are-nav {
    width: 100%;
    border-top: 1px solid #eee;
  }
  #are-nav #are-primary-menu {
    flex-wrap: nowrap;
    justify-content: center;
  }
  #are-nav #are-primary-menu li {
    padding: 0px;
    flex: 1 1 0;
    min-width: 0;
  }
  #are-nav #are-primary-menu li a {
    font-size: 13px;
    padding: 2px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 0;
  }
}

.dev-table {
  width: 100%;
  border-collapse: collapse;
}

.dev-table-label {
  padding: 7px 12px;
  font-weight: 400;
  width: 40%;
  border-bottom: 1px solid #eee;
  text-align: left;
}

.dev-table-value {
  padding: 7px 12px;
  border-bottom: 1px solid #eee;
  text-align: center;
}

.text-page {
  color: #999;
  font-weight: 100;
}

.dev-homes-hero-about {
  margin-top: 80px;
}

.dev-homes-hero {
  position: relative;
  height: 375px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background-color: #144a68;
}

.dev-homes-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.dev-homes-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 1;
}

.dev-homes-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
}

.dev-homes-hero .development-homes-title {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  margin: 0;
}

.dev-homes-label {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  margin: 8px 0 0 0;
}

@media (max-width: 768px) {
  .dev-homes-hero {
    height: 220px;
  }
}

.lp-price-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 98%;
  margin: auto;
}

.lp-price-buttons .lp-btn-type {
  flex: 1 1 auto;
  text-align: center;
  text-decoration: underline;
  white-space: nowrap;
  font-size: 14px;
  padding: 10px 15px;
  border-radius: 4px;
  display: block;
  text-underline-offset: 3px;
}

@media (max-width: 820px) {
  .lp-price-buttons .lp-btn-type {
    padding: 4px 2px;
  }
}

.lp-price-buttons .lp-price-btn--active {
  background: #144a68;
  color: #f4d03f;
  font-weight: 400;
}

.text-page-price {
  color: #144a68;
  font-weight: 400;
  font-size: 18px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lp-price-buttons h2,
.developments-list h2 {
  font-size: 14px;
  font-weight: inherit;
  margin: 0;
  padding: 0;
  display: inline;
  color: #f4d03f;
  line-height: 1;
  vertical-align: middle;
}

.developments-list ul.nav li.active.son {
  display: flex;
  align-items: center;
  justify-content: center;
}

.developments-list ul.nav li.active.son h2 {
  font-size: 14px;
  font-weight: inherit;
  margin: 0;
  padding: 5px 4px;
  line-height: normal;
  display: block;
  text-align: center;
}

.developments-list ul.nav li.son a.anchor-to-nav {
  color: #fff;
  text-transform: uppercase;
}
.developments-list ul.nav li.son a.anchor-to-nav:hover {
  color: #144a68;
}

.developments-list ul.nav li.son a.anchor-to-nav::before {
  content: "\2193";
  color: #144a68;
  background-color: rgb(244, 208, 63);
  width: 20px;
  height: 20px;
  border-radius: 10%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  vertical-align: middle;
  font-size: 14px;
  font-weight: 400;
}
.developments-list ul.nav li.son a.anchor-to-nav:hover::before {
  color: #144a68;
}

@media (max-width: 820px) {
  .developments-list ul.nav li.son a.anchor-to-nav::before {
    content: "↓";
    background-color: rgb(244, 208, 63);
    width: 18px;
    height: 18px;
    border-radius: 10%;
    font-weight: 400;
  }
}

/* ============================================================
   Site Navigation Footer
   Structured internal navigation — 4 column grid
   ============================================================ */

.footer-site-nav {
  padding: 0 20px 40px 20px;
  background: #0d3247;
  color: #fff;
}

.footer-site-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-nav-col h3.footer-nav-heading {
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 50px 0 12px 0;
  color: #f4d03f;
}

.footer-nav-col h3.footer-nav-heading a {
  color: #f4d03f;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-nav-col h4.footer-nav-subheading {
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 50px 0 12px 0;
  color: #f4d03f;
}

.footer-nav-col h4.footer-nav-subheading a {
  color: #f4d03f;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-nav-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav-col ul li {
  margin: 4px 0;
  list-style: disc;
}

.footer-nav-col ul li::marker {
  padding-left: 9px;
  font-size: 10px;
  color: #fff;
}

.footer-nav-col ul li a {
  font-size: 14px;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
  line-height: 1.4;
  text-decoration-thickness: 0.1px;
  text-decoration-color: rgb(179 179 179);
}

.footer-nav-col ul li a:hover {
  color: #fff;
}

@media (max-width: 768px) {
  .footer-site-nav-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .footer-site-nav-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Filter Toggle — mobile collapsible
   ============================================================ */

.anchor-to-nav {
  display: block;
  text-align: center;
  padding: 10px;
  color: #144a68;
  font-size: 14px;
  text-decoration: underline;
}

#site-navigation {
  scroll-margin-top: 80px;
}

.filter-toggle-btn {
  display: none;
}

@media (max-width: 768px) {
  .filter-toggle-btn {
    display: block;
    text-transform: uppercase;
    width: 100%;
    padding: 8px;
    background: #f8f8f8;
    color: #144a68;
    border: none;
    font-size: 14px;
    font-weight: 300;
    cursor: pointer;
    border-radius: 6px;
    margin-bottom: 10px;
    text-align: center;
  }

  .filter-section-collapsible {
    display: none;
  }

  .filter-section-collapsible.is-open {
    display: block;
  }
}

.lp-grid-resales {
  display: grid;
  gap: 16px;
  width: 100%;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  overflow: hidden;
  opacity: 0.85;
}

@media (max-width: 768px) {
  .lp-grid-resales {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .lp-grid-resales {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}
