/* =========================================================
   GAID2 — single guide (long-form), estilo /es/living/marbella.
   Hero full-bleed + intro + índice (sticky) + cuerpo WYSIWYG +
   FAQ acordeón + CTA. Escala fluida 1200 → 1920+ con clamp().
   ========================================================= */

.big_block_home--gaid2 { background: #FFFFFF; }
.big_block_home--gaid2 > .container {
  padding: 0 clamp(50px, 5vw, 96px);
  max-width: 1920px;
  height: auto;
  margin: 0 auto;
}

/* ----- INTRO: breadcrumbs + H1 + lead ----- */
.gaid2_intro {
  padding: clamp(32px, 4vw, 72px) 0 clamp(28px, 3vw, 56px);
  text-align: center;
  max-width: 1180px;
  margin: 0 auto;
}
.gaid2_intro__breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: clamp(6px, 0.4vw, 8px);
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: clamp(14px, 0.5vw + 8px, 18px);
  color: #C4C4C4;
  margin-bottom: clamp(16px, 2vw, 28px);
}
.gaid2_intro__breadcrumbs a,
.gaid2_intro__breadcrumbs span { color: #C4C4C4; text-decoration: none; transition: color .2s; }
.gaid2_intro__breadcrumbs a:hover { color: #010101; }
.gaid2_intro__breadcrumbs .is-active { color: #3C3C3B; }
.gaid2_intro__title {
  font-family: "Felidae", "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: clamp(40px, 2.4vw + 18px, 80px);
  line-height: 110%;
  letter-spacing: 0.02em;
  color: #010101;
  text-transform: uppercase;
  margin: 0 auto clamp(16px, 1.6vw, 24px);
  max-width: 1100px;
}
.gaid2_intro__lead {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: clamp(18px, 0.85vw + 8px, 30px);
  line-height: 130%;
  color: #3C3C3B;
  margin: 0 auto;
  max-width: 900px;
}
/* E-E-A-T byline under the H1: author + published/updated dates. */
.gaid2_intro__byline {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 0.4vw, 10px);
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: clamp(13px, 0.4vw + 8px, 16px);
  color: #A6A6A6;
  margin: 0 auto clamp(14px, 1.4vw, 22px);
}
.gaid2_intro__byline time { color: #3C3C3B; }
.gaid2_intro__byline-sep { opacity: 0.6; }

/* ----- INTRO: rating bars (Amenities / Lifestyle / Beaches / Prices / Investment) -----
   A small panel of labelled progress bars, like drumelia /living/* pages. The
   per-guide fill % comes from the inm_bar_* meta; labels are translatable. */
/* One shared 2-col grid (not per-row) so every label lines up and the bars all
   start at the same x. The label column is sized to the WIDEST label (max-
   content) and column-gap guarantees the label never touches the bar — the
   long RU word "ИНФРАСТРУКТУРА" was overflowing its old fixed column. */
.gaid2_ratings {
  margin: clamp(26px, 3vw, 48px) auto 0;
  max-width: 660px;
  text-align: left;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: clamp(22px, 2.4vw, 44px);
  row-gap: clamp(13px, 1.3vw, 20px);
  align-items: center;
}
.gaid2_ratings__row { display: contents; }
.gaid2_ratings__label {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: clamp(12px, 0.35vw + 8px, 15px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #3C3C3B;
  white-space: nowrap;
}
.gaid2_ratings__track {
  position: relative;
  display: block;
  width: 100%;
  height: clamp(7px, 0.6vw, 10px);
  background: #ECEAE6;
  border-radius: 999px;
  overflow: hidden;
}
.gaid2_ratings__fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  height: 100%;
  background: #A89E8E;
  border-radius: 999px;
}
@media (max-width: 480px) {
  .gaid2_ratings { column-gap: 14px; max-width: 100%; }
  .gaid2_ratings__label { letter-spacing: 0.03em; font-size: 11px; }
}

/* ----- HERO full-bleed ----- */
.gaid2_hero {
  width: 100%;
  margin: 0 0 clamp(40px, 4.5vw, 88px);
}
.gaid2_hero img {
  width: 100%;
  height: clamp(320px, 42vw, 760px);
  object-fit: cover;
  display: block;
}

/* =========================================================
   BODY — índice (sticky) + contenido
   ========================================================= */
.gaid2_body { background: #FFFFFF; }
.gaid2_body__wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 64px);
  display: grid;
  grid-template-columns: clamp(220px, 22vw, 300px) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 80px);
  align-items: start;
}
.gaid2_main--full { grid-column: 1 / -1; }
.gaid2_body__wrap:has(.gaid2_main--full) { grid-template-columns: minmax(0, 1fr); max-width: 920px; }

/* Índice */
.gaid2_toc { position: relative; }
.gaid2_toc__inner {
  position: sticky;
  top: clamp(90px, 10vw, 130px);
}
.gaid2_toc__title {
  /* It is a <button> for the mobile collapse; on desktop it just looks like a
     heading and is not interactive (see the ≤1024px block for the toggle). */
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: default;
  pointer-events: none;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: clamp(13px, 0.4vw + 8px, 15px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8A8A8A;
  text-align: left;
  padding: 0;
  margin: 0 0 clamp(14px, 1.4vw, 22px);
}
.gaid2_toc__chevron { display: none; } /* desktop: no chevron, list always shown */
.gaid2_toc__list { display: flex; flex-direction: column; gap: clamp(10px, 1vw, 16px); }
.gaid2_toc__link {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: clamp(14px, 0.4vw + 9px, 17px);
  line-height: 135%;
  color: #3C3C3B;
  text-decoration: none;
  padding-left: 14px;
  border-left: 1.6px solid #E1E1E1;
  transition: color .2s, border-color .2s;
}
.gaid2_toc__link:hover,
.gaid2_toc__link.is-active { color: #010101; border-left-color: #41545C; }

/* =========================================================
   BODY typography (WYSIWYG output)
   ========================================================= */
.gaid2_main__body {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: clamp(16px, 0.5vw + 10px, 20px);
  line-height: 170%;
  color: #3C3C3B;
}
.gaid2_main__body > *:first-child { margin-top: 0; }
.gaid2_main__body h2 {
  font-family: "Felidae", "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: clamp(28px, 1.4vw + 14px, 48px);
  line-height: 115%;
  letter-spacing: 0.01em;
  color: #010101;
  margin: clamp(40px, 4vw, 72px) 0 clamp(16px, 1.6vw, 26px);
  scroll-margin-top: clamp(90px, 10vw, 120px);
}
.gaid2_main__body h3 {
  font-family: "Felidae", "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: clamp(22px, 0.9vw + 12px, 32px);
  line-height: 120%;
  color: #010101;
  margin: clamp(28px, 3vw, 48px) 0 clamp(12px, 1.2vw, 18px);
  scroll-margin-top: clamp(90px, 10vw, 120px);
}
.gaid2_main__body p { margin: 0 0 clamp(16px, 1.6vw, 26px); }
.gaid2_main__body a { color: #41545C; text-decoration: underline; text-underline-offset: 3px; }
.gaid2_main__body a:hover { color: #010101; }
.gaid2_main__body ul,
.gaid2_main__body ol { margin: 0 0 clamp(16px, 1.6vw, 26px); padding-left: 1.4em; }
.gaid2_main__body li { margin-bottom: 8px; }
.gaid2_main__body img {
  width: 100%;
  height: auto;
  display: block;
  margin: clamp(28px, 3.5vw, 56px) 0;
}
/* Editor-placed in-body images (inm_body_images → <figure class="gaid2_fig">).
   The <figure> owns the vertical rhythm; the img inside resets its own margin. */
.gaid2_main__body .gaid2_fig { margin: clamp(28px, 3.5vw, 56px) 0; }
.gaid2_main__body .gaid2_fig__img { width: 100%; height: auto; display: block; margin: 0; }
.gaid2_main__body .gaid2_fig__cap {
  margin: 12px 0 0;
  font-size: clamp(13px, 0.3vw + 10px, 15px);
  line-height: 150%;
  color: #8A8A88;
}
.gaid2_main__body blockquote {
  margin: clamp(28px, 3vw, 48px) 0;
  padding: clamp(20px, 2vw, 32px) clamp(24px, 2.5vw, 40px);
  border-left: 2px solid #41545C;
  background: #FAFAFA;
  font-size: clamp(18px, 0.7vw + 10px, 26px);
  font-weight: 300;
  font-style: italic;
  color: #010101;
  line-height: 140%;
}
.gaid2_main__body blockquote p:last-child { margin-bottom: 0; }
.gaid2_main__body strong { font-weight: 600; color: #010101; }

/* ----- Body tables (guide fact sheets: th = row label, td = value) -----
   Browser-default tables render borderless with the label glued to the value
   (e.g. "Тип недвижимостиквартиры…"). Give them clear horizontal row lines, a
   fixed-ish label column and real spacing between label and value. */
.gaid2_main__body table {
  width: 100%;
  border-collapse: collapse;
  margin: clamp(24px, 3vw, 44px) 0;
  font-size: clamp(15px, 0.45vw + 9px, 18px);
  line-height: 150%;
}
.gaid2_main__body table th,
.gaid2_main__body table td {
  padding: clamp(10px, 1vw, 15px) clamp(16px, 1.6vw, 26px);
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #E3DFD8;
}
.gaid2_main__body table tr:first-child th,
.gaid2_main__body table tr:first-child td { border-top: 1px solid #E3DFD8; }
.gaid2_main__body table th {
  width: 34%;
  padding-left: 0;
  font-weight: 600;
  color: #010101;
}
.gaid2_main__body table td {
  padding-right: 0;
  color: #3C3C3B;
}
@media (max-width: 600px) {
  .gaid2_main__body table { font-size: 15px; }
  .gaid2_main__body table th { width: 42%; }
  .gaid2_main__body table th,
  .gaid2_main__body table td { padding: 9px 12px; }
  .gaid2_main__body table th { padding-left: 0; }
  .gaid2_main__body table td { padding-right: 0; }
}

/* =========================================================
   FAQ — acordeón
   ========================================================= */
.gaid2_faq { margin-top: clamp(48px, 5vw, 96px); }
/* Standalone FAQ section reused OUTSIDE the guide article layout (catalog,
   rental catalog and project pages). These templates have NO global `.container`
   rule (each section scopes its own), so the section must carry the site width
   itself — same max-width + side padding as the catalog title/listings above,
   so the FAQ lines up with the rest of the page instead of bleeding edge-to-edge.
   Generous vertical padding keeps it off the section that follows (the CTA). */
.inm_faq_section {
  max-width: 1920px;
  margin: 0 auto;
  padding: clamp(56px, 6vw, 104px) 96px clamp(64px, 6vw, 112px);
}
/* Side gutters step down on the SAME breakpoints the host pages use
   (catalog .cat_title/.cat_listings, development .dev_projects/.dev_steps),
   so the FAQ keeps the exact left edge of the section above it instead of
   drifting on tablet/mobile the way a fluid clamp did. */
@media (max-width: 1200px) {
  .inm_faq_section { padding-left: 60px; padding-right: 60px; }
}
@media (max-width: 768px) {
  .inm_faq_section { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 480px) {
  .inm_faq_section { padding-left: 16px; padding-right: 16px; }
}
.inm_faq_section .gaid2_faq { margin-top: 0; }
/* Project single page: extra breathing room below the FAQ so it doesn't sit
   flush against the footer (it's the last section on that template). */
.inm_faq_section.proj_faq--spaced { padding-bottom: clamp(80px, 8vw, 140px); }
.gaid2_faq__title {
  font-family: "Felidae", "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: clamp(28px, 1.4vw + 14px, 48px);
  line-height: 115%;
  letter-spacing: 0.01em;
  color: #010101;
  margin: 0 0 clamp(20px, 2vw, 32px);
}
.gaid2_faq__item { border-top: 1.6px solid #E1E1E1; }
.gaid2_faq__item:last-child { border-bottom: 1.6px solid #E1E1E1; }
.gaid2_faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  padding: clamp(18px, 1.8vw, 28px) 0;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: clamp(17px, 0.6vw + 10px, 24px);
  line-height: 135%;
  color: #010101;
}
.gaid2_faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}
.gaid2_faq__icon::before,
.gaid2_faq__icon::after {
  content: "";
  position: absolute;
  background: #41545C;
  transition: transform .3s ease, opacity .3s ease;
}
.gaid2_faq__icon::before { top: 9px; left: 0; width: 20px; height: 1.6px; }
.gaid2_faq__icon::after  { left: 9px; top: 0; width: 1.6px; height: 20px; }
.gaid2_faq__q[aria-expanded="true"] .gaid2_faq__icon::after { transform: scaleY(0); opacity: 0; }
.gaid2_faq__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height .35s ease;
}
.gaid2_faq__a-inner {
  padding: 0 0 clamp(18px, 1.8vw, 28px);
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: clamp(15px, 0.5vw + 9px, 19px);
  line-height: 165%;
  color: #3C3C3B;
  max-width: 880px;
}
.gaid2_faq__a-inner p { margin: 0 0 12px; }
.gaid2_faq__a-inner p:last-child { margin-bottom: 0; }

/* =========================================================
   CTA de cierre
   ========================================================= */
.gaid2_cta {
  margin: clamp(64px, 7vw, 128px) auto 0;
  max-width: 1920px;
  padding: 0 clamp(24px, 5vw, 96px);
}
/* Premium gradient card (brand slate-teal) — matches the buy/sell guide cards
   on the landing: soft top-right light wash, warm champagne glow and accent. */
.gaid2_cta__inner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
  color: #FFFFFF;
  padding: clamp(56px, 6vw, 104px) clamp(24px, 5vw, 96px);
  background: linear-gradient(145deg, #10171A 0%, #2C3B42 58%, #41545C 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07), 0 40px 80px -48px rgba(16, 23, 26, .7);
}
.gaid2_cta__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, .13), transparent 55%);
}
.gaid2_cta__inner::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -8%;
  bottom: -42%;
  width: clamp(280px, 40vw, 560px);
  height: clamp(280px, 40vw, 560px);
  background: radial-gradient(circle, rgba(201, 168, 124, .28), transparent 62%);
  pointer-events: none;
}
.gaid2_cta__line {
  display: block;
  width: 56px;
  height: 2px;
  margin: 0 auto clamp(22px, 2.4vw, 34px);
  background: linear-gradient(90deg, #C9A87C, rgba(201, 168, 124, .2));
}
.gaid2_cta__title {
  font-family: "Felidae", "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: clamp(28px, 1.6vw + 14px, 56px);
  line-height: 115%;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 clamp(14px, 1.4vw, 22px);
}
.gaid2_cta__text {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: clamp(16px, 0.6vw + 8px, 22px);
  line-height: 150%;
  color: rgba(255, 255, 255, .78);
  margin: 0 auto clamp(28px, 3vw, 44px);
  max-width: 720px;
}
.gaid2_cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: clamp(54px, 4vw, 66px);
  padding: 0 clamp(28px, 2.2vw, 42px);
  background: #C9A87C;
  color: #10171A;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: clamp(13px, 0.4vw + 8px, 16px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 18px 36px -20px rgba(201, 168, 124, .7);
  transition: background-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.gaid2_cta__btn:hover {
  background: #D8BD97;
  transform: translateY(-3px);
  box-shadow: 0 26px 46px -22px rgba(201, 168, 124, .85);
}
.gaid2_cta__btn-arrow {
  display: inline-flex;
  align-items: center;
  transition: transform .3s ease;
}
.gaid2_cta__btn:hover .gaid2_cta__btn-arrow { transform: translateX(4px); }

/* =========================================================
   PROPIEDADES EN ESTA ZONA — rejilla de tarjetas .buy_listing
   (estiladas por buy.css, ya encolada en la guía). Se inserta entre
   el contenido/FAQ y el CTA de cierre.
   ========================================================= */
.gaid2_props {
  max-width: 1920px;
  margin: clamp(56px, 6vw, 104px) auto 0;
  padding: 0 clamp(24px, 5vw, 96px);
}
.gaid2_props__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(24px, 2.6vw, 40px);
}
.gaid2_props__title {
  font-family: "Felidae", "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: clamp(26px, 1.4vw + 12px, 48px);
  line-height: 115%;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #010101;
  margin: 0;
}
.gaid2_props__all {
  flex-shrink: 0;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: clamp(13px, 0.4vw + 8px, 16px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #41545C;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: color .2s;
}
.gaid2_props__all:hover { color: #010101; }
.gaid2_props__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2vw, 32px);
}
.gaid2_props__card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #FFFFFF;
  border: 1px solid #E7E7E7;
  overflow: hidden;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.gaid2_props__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -24px rgba(20, 30, 40, .35);
  border-color: #D2D2D2;
}
.gaid2_props__photo-wrap {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #F4F4F4;
}
.gaid2_props__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.gaid2_props__card:hover .gaid2_props__photo { transform: scale(1.04); }
.gaid2_props__arrow {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.6px solid #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  background: rgba(0, 0, 0, .12);
  transition: background-color .2s ease;
}
.gaid2_props__card:hover .gaid2_props__arrow { background: rgba(255, 255, 255, .25); }
.gaid2_props__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
  padding: clamp(18px, 1.6vw, 26px) clamp(18px, 1.6vw, 24px) clamp(20px, 1.8vw, 28px);
}
.gaid2_props__name {
  font-family: "Felidae", "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: clamp(20px, 0.8vw + 12px, 28px);
  line-height: 120%;
  letter-spacing: 0.01em;
  color: #010101;
  margin: 0;
}
.gaid2_props__specs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: clamp(13px, 0.3vw + 10px, 15px);
  color: #3C3C3B;
}
.gaid2_props__specs li { display: inline-flex; align-items: center; gap: 5px; }
.gaid2_props__specs li + li {
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid #E1E1E1;
}
.gaid2_props__specs span { color: #8A8A8A; }
.gaid2_props__price {
  margin-top: auto;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: clamp(17px, 0.5vw + 11px, 22px);
  letter-spacing: 0.01em;
  color: #10171A;
}
.gaid2_props__price em { font-style: normal; font-weight: 400; }

/* =========================================================
   ADAPTIVE
   ========================================================= */
@media (max-width: 1024px) {
  .gaid2_body__wrap { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .gaid2_props__grid { grid-template-columns: repeat(2, 1fr); }

  /* TOC becomes a collapsible "Содержание ▾" box at the top of the article
     (the sticky sidebar would eat half the screen on a phone). */
  .gaid2_toc {
    margin: 0 0 clamp(24px, 5vw, 36px);
    border: 1px solid #E3DFD8;
    border-radius: 10px;
    background: #FAF9F7;
  }
  .gaid2_toc__inner { position: static; top: auto; }
  .gaid2_toc__title {
    pointer-events: auto;
    cursor: pointer;
    color: #3C3C3B;
    margin: 0;
    padding: clamp(14px, 3vw, 18px) clamp(16px, 4vw, 22px);
  }
  .gaid2_toc__chevron {
    display: block;
    flex-shrink: 0;
    width: 9px;
    height: 9px;
    border-right: 1.6px solid #8A8A8A;
    border-bottom: 1.6px solid #8A8A8A;
    transform: rotate(45deg);
    transition: transform .3s ease;
    margin-top: -3px;
  }
  .gaid2_toc__title[aria-expanded="true"] .gaid2_toc__chevron { transform: rotate(-135deg); margin-top: 3px; }
  .gaid2_toc__list {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 clamp(16px, 4vw, 22px);
    gap: 0;
    transition: max-height .35s ease, opacity .25s ease, padding .35s ease;
  }
  .gaid2_toc.is-open .gaid2_toc__list {
    max-height: 70vh;
    overflow-y: auto;
    opacity: 1;
    padding: 0 clamp(16px, 4vw, 22px) clamp(14px, 3vw, 18px);
    gap: clamp(12px, 2.4vw, 16px);
  }
}
@media (max-width: 768px) {
  .gaid2_intro { padding: 24px 0 20px; }
  .gaid2_body__wrap { padding: 0 30px; }
  .gaid2_cta { padding: 0 30px; }
  .gaid2_props { padding: 0 30px; }
  .gaid2_props__grid { grid-template-columns: 1fr; }
  .gaid2_props__head { flex-direction: column; align-items: flex-start; gap: 10px; }
}
@media (max-width: 360px) {
  .gaid2_body__wrap { padding: 0 16px; }
  .gaid2_cta { padding: 0 16px; }
  .gaid2_cta__btn { min-width: 0; width: 100%; }
  .gaid2_props { padding: 0 16px; }
}

/* =========================================================
   PROPIEDADES EN ESTA ZONA — TEASER "VER TODO EL CATÁLOGO"
   3 tarjetas visibles + una 4ª "peek" centrada y semidifuminada,
   con el CTA superpuesto sobre el degradado (mismo recurso que el
   teaser de buy / invest). El efecto sólo se activa con la clase
   .gaid2_props--teaser, que single-inm_article.php añade cuando hay
   >= 4 objetos en la zona; con menos, el botón cae normal debajo.
   ========================================================= */
.gaid2_props__more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: -moz-fit-content;
  width: fit-content;
  margin: clamp(28px, 3vw, 44px) auto 0;
  height: clamp(54px, 4vw, 64px);
  padding: 0 clamp(30px, 2.6vw, 48px);
  border: 1px solid #41545C;
  background: #FFFFFF;
  color: #41545C;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: clamp(13px, 0.4vw + 8px, 15px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.gaid2_props__more:hover {
  background: #41545C;
  color: #FFFFFF;
  border-color: #41545C;
}

.gaid2_props--teaser .gaid2_props__grid {
  position: relative;
}
.gaid2_props--teaser .gaid2_props__grid > .gaid2_props__card:nth-child(4) {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(100%, 520px);
  max-height: 300px;
  overflow: hidden;
  margin-bottom: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 32%, rgba(0, 0, 0, 0.16) 80%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 32%, rgba(0, 0, 0, 0.16) 80%, transparent 100%);
}
.gaid2_props--teaser .gaid2_props__more {
  position: relative;
  z-index: 5;
  margin-top: -130px;
}
@media (max-width: 1024px) {
  .gaid2_props--teaser .gaid2_props__grid > .gaid2_props__card:nth-child(4) {
    max-height: 260px;
  }
  .gaid2_props--teaser .gaid2_props__more {
    margin-top: -112px;
  }
}
@media (max-width: 768px) {
  .gaid2_props--teaser .gaid2_props__grid > .gaid2_props__card:nth-child(4) {
    max-height: 220px;
  }
  .gaid2_props--teaser .gaid2_props__more {
    margin-top: -96px;
  }
}
