/* Paseo del Álamo — Blog. Cambios de diseño de tarjetas y artículos. */
body.pda-blog-post { margin: 0; }
body #pda-blog-hero {
  --pda-rojo: #a90000;
  --pda-terracota: #a45644;
  --pda-oro: #b5903d;
  min-height: clamp(440px,68svh,660px);
  width: 100vw;
  max-width: none;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  color: #fff;
  background: #151111;
  font-family: "Montserrat",Arial,sans-serif;
}
body #pda-blog-hero .pda-blog-background {
  background-image: url("https://paseodelalamo.com/wp-content/uploads/2026/09/panoramica-casas-scaled.webp");
  background-position: center;
}
body #pda-blog-hero .pda-blog-content { padding-bottom: clamp(60px,7vw,90px); }
body #pda-blog-hero::before {
  background: linear-gradient(90deg,rgba(9,7,7,.88),rgba(9,7,7,.46) 72%),
              linear-gradient(0deg,rgba(9,7,7,.74),transparent 58%);
}
body #pda-blog-hero h1 { max-width: 850px; }

#pda-blog-list,
#pda-blog-list * { box-sizing: border-box; }
#pda-blog-list {
  --pda-red: #a90000;
  --pda-clay: #a45644;
  --pda-ink: #171313;
  width: 100vw;
  max-width: none;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  padding: clamp(75px,8vw,115px) 0 clamp(95px,9vw,135px);
  background: #f8f5f0;
  color: var(--pda-ink);
  font-family: "Montserrat",Arial,sans-serif;
}
#pda-blog-list a { font-family: inherit; }
#pda-blog-list .pda-blog-shell {
  width: min(1200px,calc(100% - 48px));
  margin: 0 auto;
}
#pda-blog-list .pda-blog-intro { max-width: 700px; margin-bottom: 42px; }
#pda-blog-list .pda-blog-kicker {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--pda-clay);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .17em;
  text-transform: uppercase;
}
#pda-blog-list .pda-blog-kicker::before {
  content: "";
  width: 31px;
  height: 2px;
  background: var(--pda-red);
}
#pda-blog-list .pda-blog-intro h2 {
  margin: 17px 0 0;
  font-size: clamp(39px,5vw,67px);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: 1.02;
}
#pda-blog-list .pda-blog-intro p {
  margin: 20px 0 0;
  color: rgba(23,19,19,.66);
  font-size: 16px;
  line-height: 1.75;
}
#pda-blog-list .pda-blog-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 22px;
  scroll-margin-top: 105px;
}
#pda-blog-list .pda-blog-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(23,19,19,.09);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(48,30,25,.07);
  transition: transform .35s ease,box-shadow .35s ease;
}
#pda-blog-list .pda-blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 55px rgba(48,30,25,.12);
}
#pda-blog-list .pda-blog-card-image {
  aspect-ratio: 1.5;
  display: block;
  overflow: hidden;
  background: #d9cebd;
}
#pda-blog-list .pda-blog-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.22,1,.36,1);
}
#pda-blog-list .pda-blog-card:hover img { transform: scale(1.045); }
#pda-blog-list .pda-blog-card-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(135deg,#e8d9c6,#b8a68f);
  color: #5d3129;
  font-size: 18px;
  font-weight: 850;
  letter-spacing: .06em;
  text-align: center;
  text-transform: uppercase;
}
#pda-blog-list .pda-blog-card-body {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 27px 27px 29px;
}
#pda-blog-list .pda-blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--pda-clay);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
#pda-blog-list .pda-blog-card-meta time { color: rgba(23,19,19,.46); }
#pda-blog-list .pda-blog-card h3 {
  margin: 16px 0 0;
  font-size: clamp(22px,2.2vw,29px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.2;
}
#pda-blog-list .pda-blog-card h3 a {
  color: var(--pda-ink);
  text-decoration: none;
}
#pda-blog-list .pda-blog-card p {
  margin: 13px 0 22px;
  color: rgba(23,19,19,.65);
  font-size: 14px;
  line-height: 1.7;
}
#pda-blog-list .pda-blog-read {
  display: inline-flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(23,19,19,.11);
  color: var(--pda-red);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}
#pda-blog-list .pda-blog-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr);
  min-height: 425px;
}
#pda-blog-list .pda-blog-card--featured .pda-blog-card-image { height: 100%; aspect-ratio: auto; }
#pda-blog-list .pda-blog-card--featured .pda-blog-card-body {
  justify-content: center;
  padding: clamp(32px,5vw,64px);
}
#pda-blog-list .pda-blog-card--featured h3 { font-size: clamp(32px,4vw,52px); }
#pda-blog-list .pda-blog-card--featured p { font-size: 16px; }
#pda-blog-list .pda-blog-empty {
  grid-column: 1 / -1;
  padding: 70px 35px;
  border: 1px solid rgba(23,19,19,.1);
  border-radius: 17px;
  background: #fff;
  text-align: center;
}
#pda-blog-list .pda-blog-empty h3 { margin: 0; font-size: 27px; }
#pda-blog-list .pda-blog-empty p { margin: 12px 0 0; color: rgba(23,19,19,.63); }
#pda-blog-list .pda-blog-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 45px;
}
#pda-blog-list .pda-blog-pagination .page-numbers {
  min-width: 42px;
  min-height: 42px;
  display: inline-grid;
  place-items: center;
  padding: 10px 13px;
  border: 1px solid rgba(23,19,19,.14);
  border-radius: 8px;
  background: #fff;
  color: var(--pda-ink);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}
#pda-blog-list .pda-blog-pagination .page-numbers.current {
  border-color: var(--pda-red);
  background: var(--pda-red);
  color: #fff;
}

/* Plantilla de lectura de cada Entrada. */
#pda-article,
#pda-article * { box-sizing: border-box; }
#pda-article {
  --pda-red: #a90000;
  --pda-clay: #a45644;
  --pda-ink: #171313;
  width: 100%;
  color: var(--pda-ink);
  background: #faf8f4;
  font-family: "Montserrat",Arial,sans-serif;
}
#pda-article .pda-article-hero {
  min-height: clamp(480px,69svh,700px);
  position: relative;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(135deg,#30211c,#100c0c);
  color: #fff;
}
#pda-article .pda-article-hero > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#pda-article .pda-article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg,rgba(9,7,7,.9),rgba(9,7,7,.32) 74%),
              linear-gradient(90deg,rgba(9,7,7,.58),transparent 70%);
}
#pda-article .pda-article-hero-inner {
  width: min(1120px,calc(100% - 48px));
  margin: 0 auto;
  padding: 150px 0 70px;
}
#pda-article .pda-article-back {
  color: rgba(255,255,255,.85);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}
#pda-article .pda-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 48px;
  color: #eac2b9;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
#pda-article h1 {
  max-width: 970px;
  margin: 19px 0 0;
  font-size: clamp(43px,6vw,80px);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: 1.04;
  text-wrap: balance;
}
#pda-article .pda-article-body {
  width: min(800px,calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(65px,8vw,110px) 0 clamp(76px,8vw,115px);
  font-size: 17px;
  line-height: 1.85;
}
#pda-article .pda-article-body > :first-child { margin-top: 0; }
#pda-article .pda-article-body h2,
#pda-article .pda-article-body h3 {
  margin: 1.8em 0 .6em;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.2;
}
#pda-article .pda-article-body h2 { font-size: clamp(28px,3vw,39px); }
#pda-article .pda-article-body h3 { font-size: clamp(23px,2.3vw,29px); }
#pda-article .pda-article-body p,
#pda-article .pda-article-body ul,
#pda-article .pda-article-body ol { margin: 0 0 1.5em; }
#pda-article .pda-article-body a { color: var(--pda-red); text-underline-offset: 3px; }
#pda-article .pda-article-body img { max-width: 100%; height: auto; border-radius: 12px; }
#pda-article .pda-article-body figure { margin: 2.4em 0; }
#pda-article .pda-article-body blockquote {
  margin: 2em 0;
  padding: 8px 0 8px 24px;
  border-left: 3px solid var(--pda-red);
  font-size: 1.15em;
  font-weight: 650;
}
#pda-article .pda-article-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-top: 55px;
  padding-top: 24px;
  border-top: 1px solid rgba(23,19,19,.14);
}
#pda-article .pda-article-bottom a {
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}
#pda-article .pda-article-cta {
  padding: 60px 24px;
  background: #ede4d8;
  text-align: center;
}
#pda-article .pda-article-cta strong {
  display: block;
  font-size: clamp(26px,3vw,42px);
  letter-spacing: -.045em;
}
#pda-article .pda-article-cta p {
  margin: 12px 0 24px;
  color: rgba(23,19,19,.65);
}
#pda-article .pda-article-cta a {
  display: inline-block;
  padding: 16px 22px;
  border-radius: 7px;
  background: var(--pda-red);
  color: #fff;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

@media (max-width: 850px) {
  #pda-blog-list .pda-blog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #pda-blog-list .pda-blog-card--featured { grid-column: 1 / -1; }
}
@media (max-width: 650px) {
  body #pda-blog-hero { min-height: 590px; }
  body #pda-blog-hero .pda-blog-content { padding-bottom: 70px; }
  #pda-blog-list .pda-blog-shell,
  #pda-article .pda-article-hero-inner,
  #pda-article .pda-article-body { width: calc(100% - 36px); }
  #pda-blog-list .pda-blog-grid { grid-template-columns: minmax(0,1fr); gap: 18px; }
  #pda-blog-list .pda-blog-card--featured { display: flex; min-height: 0; }
  #pda-blog-list .pda-blog-card--featured .pda-blog-card-image { aspect-ratio: 1.5; height: auto; }
  #pda-blog-list .pda-blog-card--featured .pda-blog-card-body { padding: 27px; }
  #pda-blog-list .pda-blog-card--featured h3 { font-size: 29px; }
  #pda-article .pda-article-hero { min-height: 560px; }
  #pda-article .pda-article-hero-inner { padding-bottom: 55px; }
  #pda-article .pda-article-body { font-size: 16px; }
  #pda-article .pda-article-bottom { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  #pda-blog-list *, #pda-article * { transition: none !important; animation: none !important; }
}


/* AJUSTE RESPONSIVE: ancho real, margenes y barra de administracion. */
body .elementor-88 > .e-con { padding: 0; gap: 0; }
body .elementor-88 > .e-con > .e-con-inner { width: 100%; max-width: none; padding: 0; gap: 0; }
body #pda-blog-top, body #pda-blog-hero, body #pda-blog-list { width: 100%; left: auto; margin-left: 0; }
body #pda-blog-hero, body #pda-blog-hero * { box-sizing: border-box; }
body #pda-blog-hero .pda-blog-content { min-width: 0; }
body #pda-blog-hero h1, #pda-blog-list h2, #pda-blog-list h3, #pda-article h1, #pda-article .pda-article-body { overflow-wrap: anywhere; }
#pda-article h1 { color: #fff; }
body.admin-bar #pda-blog-header { top: 32px; }
body.admin-bar:has(#pda-blog-header) #wpadminbar { position: fixed; }
@media (max-width: 782px) { body.admin-bar #pda-blog-header { top: 46px; } }
@media (max-width: 650px) {
  body #pda-blog-hero .pda-blog-content { width: calc(100% - 40px); }
  #pda-blog-list .pda-blog-shell { width: calc(100% - 40px); }
  #pda-blog-list .pda-blog-intro h2 { font-size: clamp(30px,8.5vw,39px); }
}

/* Footer al ancho util. */
body:has(#pda-blog-list) #pda-footer, body.pda-blog-post #pda-footer { width: 100% !important; max-width: 100%; left: auto !important; margin-left: 0 !important; }


/* Lectura editorial: entradilla, secciones e imagenes */
#pda-article .pda-article-body { width: min(760px,calc(100% - 48px)); padding-top: clamp(60px,7vw,96px); }
#pda-article .pda-article-body > p:first-of-type { margin: 0 0 3.1em; padding-left: clamp(18px,3vw,30px); border-left: 3px solid #a90000; color: #352b27; font-size: clamp(19px,2.1vw,23px); font-weight: 500; line-height: 1.7; }
#pda-article .pda-article-body h2 { position: relative; margin: 2em 0 .75em; padding-top: 28px; border-top: 1px solid rgba(23,19,19,.13); color: #231918; font-size: clamp(28px,3vw,38px); line-height: 1.18; text-wrap: balance; }
#pda-article .pda-article-body h2::before { content: ""; position: absolute; top: -2px; left: 0; width: 52px; height: 3px; background: #a90000; }
#pda-article .pda-article-body p { color: #514945; }
#pda-article .pda-article-body li { padding-left: .35em; }
#pda-article .pda-article-body li::marker { color: #a90000; }
#pda-article .pda-article-body > figure.wp-block-image { width: min(1020px,calc(100vw - 48px)); max-width: none; margin: 3.4em 0; position: relative; left: 50%; transform: translateX(-50%); }
#pda-article .pda-article-body > figure.wp-block-image img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 18px; box-shadow: 0 25px 65px rgba(32,20,16,.14); }
#pda-article .pda-article-body figcaption { margin-top: 12px; color: #82746d; font-size: 12px; line-height: 1.5; text-align: center; }
#pda-article .pda-article-body a[href*="#agenda-visita"] { display: inline-block; margin-top: 10px; padding: 15px 23px; border-radius: 8px; background: #a90000; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-decoration: none; transition: background .2s ease,transform .2s ease; }
#pda-article .pda-article-body a[href*="#agenda-visita"]:hover { background: #830000; transform: translateY(-2px); }
@media (max-width: 650px) {
  #pda-article .pda-article-body { width: calc(100% - 36px); }
  #pda-article .pda-article-body > p:first-of-type { margin-bottom: 2.4em; }
  #pda-article .pda-article-body > figure.wp-block-image { width: calc(100vw - 36px); margin: 2.5em 0; }
  #pda-article .pda-article-body > figure.wp-block-image img { aspect-ratio: 4 / 3; border-radius: 13px; }
}

/* BLOG: ancho completo también dentro de Elementor. */
body.page-id-88 .elementor-88 .e-con-boxed > .e-con-inner { width: 100%; max-width: none; }

/* BLOG: dos tarjetas uniformes en escritorio y una en celular. */
#pda-blog-list .pda-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#pda-blog-list .pda-blog-card--featured { grid-column: auto; display: flex; flex-direction: column; min-height: 0; }
#pda-blog-list .pda-blog-card--featured .pda-blog-card-image { height: auto; aspect-ratio: 1.6; }
#pda-blog-list .pda-blog-card--featured .pda-blog-card-body { justify-content: flex-start; padding: 27px 27px 29px; }
#pda-blog-list .pda-blog-card--featured h3 { font-size: clamp(23px, 2.3vw, 30px); }
#pda-blog-list .pda-blog-card--featured p { font-size: 14px; }
@media (max-width: 650px) {
  #pda-blog-list .pda-blog-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Imagen menos alta en escritorio y proporcionada en celular. */
#pda-blog-list .pda-blog-card--featured .pda-blog-card-image { aspect-ratio: 2.1; }
@media (max-width: 650px) { #pda-blog-list .pda-blog-card--featured .pda-blog-card-image { aspect-ratio: 1.5; } }
