:root{
  --aa-dp-bg:#f4f7f8;
  --aa-dp-surface:#ffffff;
  --aa-dp-surface-soft:#f8fbfb;
  --aa-dp-text:#14323c;
  --aa-dp-text-soft:#5f7680;
  --aa-dp-border:rgba(20,50,60,.10);
  --aa-dp-border-strong:rgba(20,50,60,.18);
  --aa-dp-accent:#173d47;
  --aa-dp-accent-soft:#e6efef;
  --aa-dp-shadow:0 22px 44px rgba(20,50,60,.10);
  --aa-dp-shadow-soft:0 12px 28px rgba(20,50,60,.07);
  --aa-dp-radius:28px;
  --aa-dp-radius-lg:34px;
  --aa-dp-radius-md:22px;
  --aa-dp-radius-sm:18px;
}

.aa-dp-site,
.aa-dp-site *{box-sizing:border-box}

.aa-dp-site{
  color:var(--aa-dp-text);
}

.aa-dp-wrap{
  max-width:1320px;
  margin:0 auto;
  padding:clamp(28px,4vw,52px) 20px 70px;
}

.aa-dp-shell{
  display:grid;
  gap:28px;
}

.aa-dp-card{
  background:var(--aa-dp-surface);
  border:1px solid var(--aa-dp-border);
  border-radius:var(--aa-dp-radius);
  box-shadow:var(--aa-dp-shadow-soft);
}

.aa-dp-hero{
  display:grid;
  grid-template-columns:minmax(280px,380px) minmax(0,1fr);
  gap:28px;
  align-items:stretch;
}

.aa-dp-hero-media,
.aa-dp-hero-content{
  min-width:0;
}

.aa-dp-hero-media{
  border-radius:var(--aa-dp-radius-lg);
  overflow:hidden;
  box-shadow:var(--aa-dp-shadow);
  background:linear-gradient(180deg,#e4ecee,#cddadc);
  min-height:420px;
}

.aa-dp-hero-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  display:block;
}

.aa-dp-image-placeholder{
  min-height:420px;
  display:grid;
  place-items:center;
  font-size:clamp(4rem,8vw,7rem);
  font-weight:800;
  color:var(--aa-dp-accent);
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.95), transparent 35%),
    linear-gradient(135deg, #e7eff0, #d5e3e6 50%, #edf4f5 100%);
}

.aa-dp-hero-content{
  padding:clamp(24px,3vw,34px);
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:16px;
  position:relative;
  overflow:hidden;
}

.aa-dp-hero-content::after{
  content:"";
  position:absolute;
  inset:auto -70px -80px auto;
  width:220px;
  height:220px;
  background:radial-gradient(circle, rgba(23,61,71,.08), transparent 70%);
  pointer-events:none;
}

.aa-dp-badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.aa-dp-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 14px;
  border-radius:999px;
  background:var(--aa-dp-accent);
  color:#fff;
  font-size:.8rem;
  font-weight:700;
  letter-spacing:.02em;
}

.aa-dp-badge-soft{
  background:var(--aa-dp-accent-soft);
  color:var(--aa-dp-accent);
}

.aa-dp-badge-current{
  background:#dcebe2;
  color:#295840;
}

.aa-dp-title{
  margin:0;
  font-size:clamp(2rem,4vw,3.3rem);
  line-height:1.02;
  letter-spacing:0;
}

.aa-dp-summary{
  margin:0;
  font-size:1.08rem;
  line-height:1.7;
  color:var(--aa-dp-text-soft);
  max-width:78ch;
}

.aa-dp-stat-row{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
  gap:14px;
  margin-top:4px;
}

.aa-dp-stat{
  padding:16px 18px;
  border:1px solid var(--aa-dp-border);
  border-radius:20px;
  background:var(--aa-dp-surface-soft);
  min-height:88px;
}

.aa-dp-stat span{
  display:block;
  font-size:1rem;
  font-weight:800;
  line-height:1.35;
}

.aa-dp-stat small{
  display:block;
  margin-top:7px;
  color:var(--aa-dp-text-soft);
  font-size:.8rem;
  text-transform:uppercase;
  letter-spacing:.05em;
}

.aa-dp-layout{
  display:grid;
  grid-template-columns:minmax(0,1.7fr) minmax(290px,.95fr);
  gap:26px;
  align-items:start;
}

.aa-dp-main,
.aa-dp-sidebar{
  display:grid;
  gap:24px;
}

.aa-dp-section{
  padding:26px;
}

.aa-dp-section-heading{
  display:grid;
  gap:8px;
  margin-bottom:16px;
}

.aa-dp-section-heading h2,
.aa-dp-section h2{
  margin:0;
  font-size:clamp(1.45rem,2vw,1.95rem);
  letter-spacing:0;
}

.aa-dp-section-heading p,
.aa-dp-section-intro,
.aa-dp-muted{
  margin:0;
  color:var(--aa-dp-text-soft);
  line-height:1.75;
}

.aa-dp-prose{
  color:var(--aa-dp-text);
  line-height:1.9;
  font-size:1rem;
}

.aa-dp-prose p:first-child{margin-top:0}
.aa-dp-prose p:last-child{margin-bottom:0}

.aa-dp-subblock{
  margin-top:22px;
  padding-top:20px;
  border-top:1px solid var(--aa-dp-border);
}

.aa-dp-subblock h3,
.aa-dp-hours h3{
  margin:0 0 10px;
  font-size:1.04rem;
}

.aa-dp-cards,
.aa-dp-related-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:18px;
}

.aa-dp-card-mini{
  background:var(--aa-dp-surface);
  border:1px solid var(--aa-dp-border);
  border-radius:24px;
  overflow:hidden;
  box-shadow:var(--aa-dp-shadow-soft);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.aa-dp-card-mini:hover{
  transform:translateY(-3px);
  box-shadow:0 18px 36px rgba(20,50,60,.10);
  border-color:var(--aa-dp-border-strong);
}

.aa-dp-card-mini-media{
  height:240px;
  overflow:hidden;
  background:linear-gradient(135deg, #eef4f5, #dbe7ea);
}

.aa-dp-card-mini-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  display:block;
}

.aa-dp-thumb-placeholder{
  width:100%;
  height:100%;
  position:relative;
}

.aa-dp-thumb-placeholder-person::before,
.aa-dp-thumb-placeholder-entity::before{
  content:"";
  position:absolute;
  inset:18px;
  border-radius:20px;
  background:rgba(255,255,255,.6);
}

.aa-dp-card-mini-body{
  padding:18px 18px 20px;
  display:grid;
  gap:8px;
}

.aa-dp-card-mini-topline{
  color:var(--aa-dp-text-soft);
  font-size:.77rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.06em;
}

.aa-dp-card-mini h3{
  margin:0;
  font-size:1.12rem;
  line-height:1.35;
}

.aa-dp-card-mini h3 a{
  color:var(--aa-dp-text);
  text-decoration:none;
}

.aa-dp-card-mini h3 a:hover{
  color:var(--aa-dp-accent);
}

.aa-dp-card-mini p{
  margin:0;
  color:var(--aa-dp-text-soft);
  line-height:1.65;
}

.aa-dp-card-mini-role{
  color:var(--aa-dp-accent) !important;
  font-weight:700;
}

.aa-dp-kv-list,
.aa-dp-contact-list{
  display:grid;
  gap:14px;
}

.aa-dp-kv-list div,
.aa-dp-contact-list div{
  display:grid;
  gap:3px;
  padding-bottom:12px;
  border-bottom:1px solid var(--aa-dp-border);
}

.aa-dp-kv-list div:last-child,
.aa-dp-contact-list div:last-child{border-bottom:none;padding-bottom:0}

.aa-dp-kv-list strong,
.aa-dp-contact-list strong{
  font-size:.82rem;
  text-transform:uppercase;
  letter-spacing:.05em;
  color:var(--aa-dp-text-soft);
}

.aa-dp-kv-list span,
.aa-dp-contact-list span,
.aa-dp-contact-list a{
  color:var(--aa-dp-text);
  line-height:1.6;
  text-decoration:none;
}

.aa-dp-contact-list a:hover{color:var(--aa-dp-accent)}

.aa-dp-hours-block + .aa-dp-hours-block{
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid var(--aa-dp-border);
}

.aa-dp-hours pre{
  margin:0;
  white-space:pre-wrap;
  font-family:inherit;
  line-height:1.8;
  color:var(--aa-dp-text-soft);
}

.aa-dp-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 18px;
  border-radius:999px;
  background:var(--aa-dp-accent);
  color:#fff;
  font-weight:700;
  text-decoration:none;
}

.aa-dp-button:hover{filter:brightness(1.05);color:#fff}

.aa-dp-timeline{
  position:relative;
  display:grid;
  gap:18px;
  padding-left:26px;
}

.aa-dp-timeline::before{
  content:"";
  position:absolute;
  left:8px;
  top:4px;
  bottom:4px;
  width:2px;
  background:linear-gradient(180deg, rgba(23,61,71,.24), rgba(23,61,71,.06));
}

.aa-dp-time-item{
  position:relative;
}

.aa-dp-time-point{
  position:absolute;
  left:-26px;
  top:12px;
  width:18px;
  height:18px;
  border-radius:50%;
  background:var(--aa-dp-surface);
  border:4px solid var(--aa-dp-accent);
  box-shadow:0 0 0 6px rgba(23,61,71,.06);
}

.aa-dp-time-body{
  background:var(--aa-dp-surface-soft);
  border:1px solid var(--aa-dp-border);
  border-radius:22px;
  padding:18px 18px 18px 20px;
}

.aa-dp-time-header{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  margin-bottom:10px;
}

.aa-dp-time-period{
  color:var(--aa-dp-text-soft);
  font-size:.88rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.05em;
}

.aa-dp-time-body h3{
  margin:0 0 6px;
  font-size:1.15rem;
}

.aa-dp-time-body h3 a{
  color:var(--aa-dp-text);
  text-decoration:none;
}

.aa-dp-time-body h3 a:hover{color:var(--aa-dp-accent)}

.aa-dp-time-role{
  margin:0;
  color:var(--aa-dp-accent);
  font-weight:700;
}

.aa-dp-time-type{
  margin:6px 0 0;
  color:var(--aa-dp-text-soft);
}

.aa-dp-empty-state{
  margin:0;
  padding:20px;
  border-radius:20px;
  background:var(--aa-dp-surface-soft);
  color:var(--aa-dp-text-soft);
  border:1px dashed var(--aa-dp-border-strong);
}

.aa-dp-placeholder-block{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:16px;
  align-items:start;
}

.aa-dp-placeholder-icon{
  width:48px;
  height:48px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background:var(--aa-dp-accent-soft);
  color:var(--aa-dp-accent);
  font-size:1.4rem;
  font-weight:800;
}

.aa-dp-sticky-card{
  position:sticky;
  top:24px;
}

.aa-dp-site .screen-reader-text{position:absolute;left:-999em}

@media (max-width: 1080px){
  .aa-dp-hero,
  .aa-dp-layout{
    grid-template-columns:1fr;
  }

  .aa-dp-hero-media,
  .aa-dp-image-placeholder{
    min-height:340px;
  }

  .aa-dp-sticky-card{position:relative;top:auto}
}

@media (max-width: 768px){
  .aa-dp-wrap{padding:24px 16px 54px}
  .aa-dp-hero-content,
  .aa-dp-section{padding:20px}
  .aa-dp-title{font-size:clamp(1.8rem,8vw,2.4rem)}
  .aa-dp-hero-media,
  .aa-dp-image-placeholder,
  .aa-dp-card-mini-media{min-height:auto;height:280px}
  .aa-dp-cards,
  .aa-dp-related-grid,
  .aa-dp-stat-row{grid-template-columns:1fr}
  .aa-dp-timeline{padding-left:22px}
  .aa-dp-time-point{left:-22px;width:16px;height:16px}
}

.aa-dp-directory-shell{display:grid;gap:22px}
.aa-dp-directory-intro{padding:24px 26px;display:grid;gap:18px}
.aa-dp-directory-title{margin:0;font-size:clamp(1.6rem,2.5vw,2.3rem);letter-spacing:0}
.aa-dp-directory-subtitle{margin:8px 0 0;color:var(--aa-dp-text-soft);line-height:1.75}
.aa-dp-search-form{display:grid;gap:14px}
.aa-dp-search-grid{display:grid;grid-template-columns:minmax(0,1.3fr) 260px auto;gap:14px;align-items:end}
.aa-dp-search-field{display:grid;gap:8px}
.aa-dp-search-field span{font-size:.84rem;font-weight:700;color:var(--aa-dp-text-soft);text-transform:uppercase;letter-spacing:.06em}
.aa-dp-search-field input,
.aa-dp-search-field select{width:100%;padding:14px 16px;border:1px solid var(--aa-dp-border-strong);border-radius:18px;background:#fff;color:var(--aa-dp-text);font:inherit}
.aa-dp-search-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.aa-dp-button{display:inline-flex;align-items:center;justify-content:center;padding:14px 18px;border-radius:16px;background:var(--aa-dp-accent);color:#fff;text-decoration:none;font-weight:700;border:none;cursor:pointer}
.aa-dp-button:hover{opacity:.96}
.aa-dp-button-soft{background:var(--aa-dp-accent-soft);color:var(--aa-dp-accent)}
.aa-dp-directory-meta{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}
.aa-dp-directory-count{display:flex;align-items:baseline;gap:10px}
.aa-dp-directory-count strong{font-size:1.7rem;line-height:1}
.aa-dp-directory-count span{color:var(--aa-dp-text-soft)}
.aa-dp-directory-chips{display:flex;gap:8px;flex-wrap:wrap}
.aa-dp-filter-chip{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:999px;background:#eef3f4;color:var(--aa-dp-text-soft);font-size:.86rem;font-weight:700}
.aa-dp-filter-chip.is-active{background:var(--aa-dp-accent);color:#fff}
.aa-dp-empty-state-box{text-align:center}

.aa-dp-agenda-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;margin-bottom:20px}
.aa-dp-agenda-summary-card{padding:14px 16px;border:1px solid var(--aa-dp-border);border-radius:18px;background:var(--aa-dp-surface-soft);display:grid;gap:6px}
.aa-dp-agenda-summary-card span{font-size:.82rem;text-transform:uppercase;letter-spacing:.06em;color:var(--aa-dp-text-soft);font-weight:700}
.aa-dp-agenda-summary-card strong{font-size:1.4rem;line-height:1}
.aa-dp-agenda-public-list{display:grid;gap:14px}
.aa-dp-agenda-public-item{display:grid;grid-template-columns:82px minmax(0,1fr);gap:16px;align-items:center;padding:16px;border:1px solid var(--aa-dp-border);border-radius:20px;background:#fff}
.aa-dp-agenda-public-date{display:grid;place-items:center;background:var(--aa-dp-accent);color:#fff;border-radius:18px;min-height:82px;padding:10px 8px}
.aa-dp-agenda-public-date span{font-size:1.75rem;font-weight:800;line-height:1}
.aa-dp-agenda-public-date small{text-transform:uppercase;letter-spacing:.08em;opacity:.85}
.aa-dp-agenda-public-topline{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.aa-dp-agenda-public-body h3{margin:0 0 6px;font-size:1.08rem}
.aa-dp-agenda-public-body h3 a{text-decoration:none;color:inherit}

@media(max-width:900px){
  .aa-dp-search-grid{grid-template-columns:1fr}
  .aa-dp-agenda-public-item{grid-template-columns:1fr}
}

/* === Ajustes visuales V4 === */
.aa-dp-hero{
  grid-template-columns:minmax(300px,420px) minmax(0,1fr);
  align-items:start;
}

.aa-dp-hero-content{
  align-self:center;
  min-height:auto;
}

.aa-dp-layout-no-sidebar{
  grid-template-columns:minmax(0,1fr);
}

.aa-dp-layout-no-sidebar .aa-dp-main{
  max-width:980px;
}

.aa-dp-page-news{
  display:grid;
  gap:24px;
}

.aa-dp-news-shell{
  display:grid;
  gap:22px;
}

.aa-dp-news-intro h1{
  margin:0;
  font-size:clamp(2rem,3vw,3rem);
  letter-spacing:0;
}

.aa-dp-news-filters{
  margin-top:8px;
}

.aa-dp-news-filters-grid{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) repeat(2,minmax(180px,240px)) auto;
  gap:14px;
  align-items:end;
}

.aa-dp-news-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:20px;
}

.aa-dp-news-grid-related{
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
}

.aa-dp-news-card{
  overflow:hidden;
  display:flex;
  flex-direction:column;
}

.aa-dp-news-thumb{
  display:block;
  height:230px;
  background:linear-gradient(135deg,#eef3f4,#d9e7ea);
}

.aa-dp-news-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.aa-dp-news-thumb-placeholder{
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
  color:var(--aa-dp-text-soft);
  font-weight:700;
}

.aa-dp-news-body{
  padding:20px;
  display:grid;
  gap:14px;
}

.aa-dp-news-meta{
  display:flex;
  gap:8px;
  align-items:center;
  flex-wrap:wrap;
  color:var(--aa-dp-text-soft);
  font-size:.9rem;
}

.aa-dp-news-dot{opacity:.5}

.aa-dp-news-title{
  margin:0;
  font-size:1.32rem;
  line-height:1.3;
  letter-spacing:0;
}

.aa-dp-news-title a{
  color:var(--aa-dp-text);
  text-decoration:none;
}

.aa-dp-news-title a:hover{color:var(--aa-dp-accent)}

.aa-dp-news-excerpt{
  margin:0;
  color:var(--aa-dp-text-soft);
  line-height:1.75;
}

.aa-dp-news-chip-row,
.aa-dp-news-linked-list{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.aa-dp-news-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:7px 11px;
  border-radius:999px;
  background:#eef3f4;
  color:var(--aa-dp-text-soft);
  font-size:.82rem;
  font-weight:700;
}

.aa-dp-news-related-mini{
  display:grid;
  gap:8px;
  padding-top:4px;
}

.aa-dp-news-related-group{
  display:grid;
  gap:3px;
}

.aa-dp-news-related-group small{
  color:var(--aa-dp-text-soft);
  text-transform:uppercase;
  letter-spacing:.06em;
  font-size:.72rem;
  font-weight:700;
}

.aa-dp-news-related-group span{
  color:var(--aa-dp-text);
  line-height:1.55;
}

.aa-dp-news-readmore{
  justify-self:start;
}

.aa-dp-pagination{
  display:flex;
  justify-content:center;
  margin-top:6px;
}

.aa-dp-pagination > span{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.aa-dp-pagination .page-numbers{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:44px;
  min-height:44px;
  padding:0 14px;
  border-radius:14px;
  background:#fff;
  border:1px solid var(--aa-dp-border);
  color:var(--aa-dp-text);
  text-decoration:none;
  font-weight:700;
}

.aa-dp-pagination .page-numbers.current{
  background:var(--aa-dp-accent);
  color:#fff;
  border-color:transparent;
}

.aa-dp-post-relations{
  margin-top:28px;
}

.aa-dp-related-group + .aa-dp-related-group{
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid var(--aa-dp-border);
}

.aa-dp-related-group h3{
  margin:0 0 10px;
  font-size:1rem;
}

.aa-dp-news-linked-item{
  display:grid;
  gap:2px;
  padding:12px 14px;
  border-radius:16px;
  background:var(--aa-dp-surface-soft);
  border:1px solid var(--aa-dp-border);
}

.aa-dp-news-linked-item small{
  color:var(--aa-dp-text-soft);
  text-transform:uppercase;
  letter-spacing:.06em;
  font-size:.72rem;
  font-weight:700;
}

.aa-dp-news-linked-item strong{
  color:var(--aa-dp-text);
  font-size:.95rem;
}

.aa-dp-news-linked-anchor{
  text-decoration:none;
}

.aa-dp-news-linked-anchor:hover .aa-dp-news-linked-item{
  border-color:var(--aa-dp-border-strong);
  transform:translateY(-1px);
}

@media (max-width: 1080px){
  .aa-dp-hero-media{order:2}
  .aa-dp-hero-content{order:1}
  .aa-dp-news-filters-grid{grid-template-columns:1fr 1fr}
}

@media (max-width: 768px){
  .aa-dp-hero{gap:18px}
  .aa-dp-hero-media,
  .aa-dp-image-placeholder{min-height:280px}
  .aa-dp-hero-content{padding:18px}
  .aa-dp-news-filters-grid,
  .aa-dp-news-grid{grid-template-columns:1fr}
  .aa-dp-news-thumb{height:220px}
  .aa-dp-card-mini-media{height:220px}
  .aa-dp-card-mini-body,
  .aa-dp-news-body{padding:18px}
}


/* === Ajustes V1.1.1 · fechas, vínculos y línea pastoral === */
.aa-dp-cards-current-links{
  grid-template-columns:repeat(auto-fit,minmax(280px,360px));
  justify-content:start;
  justify-items:start;
  align-items:stretch;
}

.aa-dp-card-current-link{
  display:flex;
  flex-direction:column;
  height:100%;
}

.aa-dp-card-current-link-media{
  height:190px;
}

.aa-dp-card-current-link-body{
  text-align:center;
  justify-items:center;
  gap:10px;
}

.aa-dp-card-current-link-body h3{
  font-size:1.18rem;
}

.aa-dp-card-current-link-summary{
  max-width:34ch;
  margin-inline:auto !important;
}

.aa-dp-timeline-compact{
  gap:20px;
}

.aa-dp-time-item-media{
  position:relative;
}

.aa-dp-time-body-media{
  display:grid;
  grid-template-columns:88px minmax(0,1fr);
  gap:18px;
  align-items:center;
  padding:18px 20px;
  min-height:112px;
}

.aa-dp-time-avatar-wrap{
  display:flex;
  align-items:center;
  justify-content:center;
}

.aa-dp-time-avatar{
  width:76px;
  height:76px;
  border-radius:50%;
  object-fit:cover;
  display:block;
  border:3px solid rgba(23,61,71,.10);
  background:linear-gradient(135deg,#eef4f5,#dbe7ea);
}

.aa-dp-time-avatar-placeholder{
  display:grid;
  place-items:center;
  font-size:1.45rem;
  font-weight:800;
  color:var(--aa-dp-accent);
}

.aa-dp-time-content{
  min-width:0;
  display:grid;
  gap:6px;
}

.aa-dp-time-body-media .aa-dp-time-header{
  margin-bottom:2px;
}

.aa-dp-time-body-media h3{
  margin:0;
  font-size:1.2rem;
  line-height:1.3;
}

.aa-dp-time-body-media .aa-dp-time-role{
  margin:0;
}

.aa-dp-time-body-media .aa-dp-time-type{
  margin:0;
  font-size:.96rem;
}

@media (max-width: 768px){
  .aa-dp-cards-current-links{
    grid-template-columns:1fr;
  }

  .aa-dp-time-body-media{
    grid-template-columns:64px minmax(0,1fr);
    gap:14px;
    padding:16px;
    min-height:unset;
  }

  .aa-dp-time-avatar{
    width:56px;
    height:56px;
  }

  .aa-dp-time-body-media h3{
    font-size:1.04rem;
  }

  .aa-dp-time-period{
    font-size:.8rem;
  }
}

/* === Ajustes V1.1.2 · duplicados, tratamiento, iconos y estructura === */
.aa-dp-prose p,
.aa-dp-justified-text{ text-align:justify; }
.aa-dp-summary,.aa-dp-prose,.aa-dp-card-mini p,.aa-dp-contact-list span,.aa-dp-contact-list a{ overflow-wrap:anywhere; }
.aa-dp-cards,.aa-dp-cards-personas,.aa-dp-cards-entidades{ align-items:stretch; }
.aa-dp-card-mini{ display:flex; flex-direction:column; height:100%; }
.aa-dp-card-mini-media{ flex:0 0 auto; }
.aa-dp-card-mini-body{ flex:1 1 auto; align-content:start; }
.aa-dp-card-mini-body-centered,.aa-dp-cards-personas .aa-dp-card-mini-body,.aa-dp-cards-entidades .aa-dp-card-mini-body{ text-align:center; justify-items:center; }
.aa-dp-card-mini-body h3{ max-width:24ch; }
.aa-dp-card-mini p{ max-width:36ch; }
.aa-dp-kv-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:16px; }
.aa-dp-kv-card{ display:grid; gap:6px; padding:18px; border-radius:20px; border:1px solid var(--aa-dp-border); background:var(--aa-dp-surface-soft); }
.aa-dp-kv-card strong{ font-size:.82rem; text-transform:uppercase; letter-spacing:.06em; color:var(--aa-dp-text-soft); }
.aa-dp-kv-card span{ color:var(--aa-dp-text); line-height:1.6; font-weight:700; }
.aa-dp-social-block{ margin-top:18px; padding-top:18px; border-top:1px solid var(--aa-dp-border); display:grid; gap:12px; }
.aa-dp-social-title{ font-size:.82rem; text-transform:uppercase; letter-spacing:.06em; color:var(--aa-dp-text-soft); }
.aa-dp-social-row{ display:flex; flex-wrap:wrap; gap:10px; }
.aa-dp-social-icon{ width:46px; height:46px; border-radius:14px; display:inline-flex; align-items:center; justify-content:center; text-decoration:none; background:var(--aa-dp-surface-soft); border:1px solid var(--aa-dp-border); color:var(--aa-dp-accent); transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.aa-dp-social-icon:hover{ transform:translateY(-2px); border-color:var(--aa-dp-border-strong); box-shadow:0 14px 28px rgba(20,50,60,.10); }
.aa-dp-social-icon svg{ width:22px; height:22px; display:block; }
.aa-dp-social-icon-facebook{ color:#1877f2; }
.aa-dp-social-icon-instagram{ color:#d62976; }
.aa-dp-social-icon-whatsapp{ color:#25d366; }
.aa-dp-social-icon-youtube{ color:#ff0000; }
.aa-dp-social-row-contact{ margin-top:16px; }
.aa-dp-time-body-media-simple{ grid-template-columns:88px minmax(0,1fr); align-items:center; }
.aa-dp-time-content-simple{ gap:4px; }
.aa-dp-time-kicker{ margin:0; color:var(--aa-dp-text-soft); font-size:.78rem; font-weight:700; text-transform:uppercase; letter-spacing:.07em; }
.aa-dp-time-role-muted{ color:var(--aa-dp-text-soft); font-weight:600; }
.aa-dp-time-period-inline{ margin:0; text-transform:none; letter-spacing:0; color:var(--aa-dp-accent); font-size:.98rem; }
.aa-dp-time-content-simple h3{ margin:0; font-size:1.18rem; line-height:1.28; }
.aa-dp-time-content-simple h3 a{ color:var(--aa-dp-text); text-decoration:none; }
.aa-dp-time-content-simple h3 a:hover{ color:var(--aa-dp-accent); }
.aa-dp-section-heading p,.aa-dp-section-intro{ display:none; }
.aa-dp-hero-content{ align-self:start; }
.aa-dp-stat-row{ align-items:stretch; }
@media (max-width: 768px){ .aa-dp-kv-grid{ grid-template-columns:1fr; } .aa-dp-time-body-media-simple{ grid-template-columns:64px minmax(0,1fr); gap:14px; } }


/* === Ajustes V1.1.3 · cargos en cabecera y contacto mejorado === */
.aa-dp-role-list{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:-2px;
}
.aa-dp-role-pill{
  display:inline-flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid var(--aa-dp-border);
  background:var(--aa-dp-surface-soft);
  color:var(--aa-dp-text);
  font-size:.95rem;
  line-height:1.45;
}
.aa-dp-role-pill-role{
  font-weight:800;
  color:var(--aa-dp-accent);
}
.aa-dp-role-pill-sep{
  color:var(--aa-dp-text-soft);
}
.aa-dp-role-pill-link,
.aa-dp-role-pill-entity{
  color:var(--aa-dp-text);
  text-decoration:none;
  font-weight:600;
}
.aa-dp-role-pill-link:hover{
  color:var(--aa-dp-accent);
}
.aa-dp-role-pill-period{
  padding-left:2px;
  color:var(--aa-dp-text-soft);
  font-size:.75rem;
  font-weight:700;
}
.aa-dp-contact-block .aa-dp-contact-list-gap{
  margin-top:14px;
}
@media (max-width:768px){
  .aa-dp-role-pill{
    width:100%;
    border-radius:18px;
  }
}


/* === Ajustes página de personas · cargos, títulos y enlaces === */
.aa-dp-section-title{
  margin:0 0 24px;
  padding-bottom:18px;
  border-bottom:1px solid var(--aa-dp-border);
  font-size:clamp(2rem,3vw,2.5rem);
  line-height:1.05;
  letter-spacing:0;
}

.aa-dp-subblock-no-top{
  margin-top:0;
  padding-top:0;
  border-top:none;
}

.aa-dp-contact-list-gap{
  gap:0;
}

.aa-dp-contact-block .aa-dp-contact-list div,
.aa-dp-contact-block .aa-dp-kv-list div{
  padding:18px 0;
}

.aa-dp-contact-block .aa-dp-social-block{
  margin-top:22px;
  padding-top:22px;
  border-top:1px solid var(--aa-dp-border);
}

.aa-dp-other-links-list{
  display:grid;
  gap:12px;
}

.aa-dp-other-link-item a,
.aa-dp-other-link-item span{
  display:inline-block;
  color:var(--aa-dp-text);
  font-size:1.05rem;
  line-height:1.5;
  text-decoration:none;
}

.aa-dp-other-link-item a:hover{
  color:var(--aa-dp-accent);
  text-decoration:underline;
}

@media (max-width: 768px){
  .aa-dp-section-title{
    margin-bottom:20px;
    padding-bottom:16px;
    font-size:clamp(1.7rem,8vw,2.2rem);
  }
}

/* === Ajustes V1.1.4 · asignaciones, color corporativo y contacto === */
:root{
  --aa-dp-brand-green:#6e8b61;
  --aa-dp-brand-green-strong:#58724d;
}

.aa-dp-persona .aa-dp-role-list{
  display:grid;
  gap:8px;
  margin-top:-2px;
}

.aa-dp-persona .aa-dp-role-pill{
  padding:0;
  border:0;
  background:transparent;
  border-radius:0;
  gap:8px;
  font-size:1rem;
  line-height:1.55;
}

.aa-dp-persona .aa-dp-role-pill-role{
  color:var(--aa-dp-text);
  font-weight:700;
}

.aa-dp-persona .aa-dp-role-pill-sep{
  color:var(--aa-dp-brand-green);
  font-weight:700;
}

.aa-dp-persona .aa-dp-role-pill-link,
.aa-dp-persona .aa-dp-role-pill-entity{
  color:var(--aa-dp-brand-green) !important;
  font-weight:600;
}

.aa-dp-persona .aa-dp-role-pill-link:hover{
  color:var(--aa-dp-brand-green-strong) !important;
  text-decoration:underline;
}

.aa-dp-contact-block .aa-dp-section-title,
.aa-dp-main .aa-dp-section-title{
  margin-bottom:24px;
}

.aa-dp-contact-block .aa-dp-contact-list{
  margin-top:0;
}

.aa-dp-contact-block .aa-dp-contact-list div:first-child,
.aa-dp-contact-block .aa-dp-kv-list div:first-child{
  padding-top:0;
}

.aa-dp-contact-block .aa-dp-other-link-item a,
.aa-dp-contact-block .aa-dp-other-link-item span{
  color:var(--aa-dp-brand-green) !important;
  font-weight:700;
}

.aa-dp-contact-block .aa-dp-other-link-item a:hover{
  color:var(--aa-dp-brand-green-strong) !important;
}


/* === Ajuste puntual V1.1.5 · forzar verde corporativo en enlaces de ficha pública === */
.aa-dp-persona .aa-dp-hero-content .aa-dp-role-list .aa-dp-role-pill a.aa-dp-role-pill-link,
.aa-dp-persona .aa-dp-hero-content .aa-dp-role-list .aa-dp-role-pill a.aa-dp-role-pill-link:any-link,
.aa-dp-persona .aa-dp-hero-content .aa-dp-role-list .aa-dp-role-pill a.aa-dp-role-pill-link:link,
.aa-dp-persona .aa-dp-hero-content .aa-dp-role-list .aa-dp-role-pill a.aa-dp-role-pill-link:visited{
  color:var(--aa-dp-brand-green) !important;
  -webkit-text-fill-color:var(--aa-dp-brand-green) !important;
}

.aa-dp-persona .aa-dp-hero-content .aa-dp-role-list .aa-dp-role-pill a.aa-dp-role-pill-link:hover,
.aa-dp-persona .aa-dp-hero-content .aa-dp-role-list .aa-dp-role-pill a.aa-dp-role-pill-link:focus{
  color:var(--aa-dp-brand-green-strong) !important;
  -webkit-text-fill-color:var(--aa-dp-brand-green-strong) !important;
}

.aa-dp-contact-block .aa-dp-other-links-list .aa-dp-other-link-item a,
.aa-dp-contact-block .aa-dp-other-links-list .aa-dp-other-link-item a:any-link,
.aa-dp-contact-block .aa-dp-other-links-list .aa-dp-other-link-item a:link,
.aa-dp-contact-block .aa-dp-other-links-list .aa-dp-other-link-item a:visited{
  color:var(--aa-dp-brand-green) !important;
  -webkit-text-fill-color:var(--aa-dp-brand-green) !important;
}

.aa-dp-contact-block .aa-dp-other-links-list .aa-dp-other-link-item a:hover,
.aa-dp-contact-block .aa-dp-other-links-list .aa-dp-other-link-item a:focus{
  color:var(--aa-dp-brand-green-strong) !important;
  -webkit-text-fill-color:var(--aa-dp-brand-green-strong) !important;
}


/* === Ajustes finales V1.1.6 · asignaciones, anchos y línea de tiempo === */
.aa-dp-persona-wide-stack{
  display:grid;
  gap:36px;
  margin-top:28px;
}

.aa-dp-persona-wide-stack > .aa-dp-section + .aa-dp-section,
.aa-dp-persona-wide-stack > .aa-dp-card + .aa-dp-card,
.aa-dp-persona-wide-stack > .aa-dp-card + .aa-dp-section,
.aa-dp-persona-wide-stack > .aa-dp-section + .aa-dp-card{
  margin-top:0;
}

.aa-dp-card-current-link-body{
  display:grid;
  align-content:start;
}

.aa-dp-card-current-link-body .aa-dp-card-mini-role{
  margin:0;
  color:var(--aa-dp-accent);
  font-weight:800;
  font-size:1.08rem;
}

.aa-dp-card-mini-period{
  margin:3px 0 0;
  color:var(--aa-dp-text-soft);
  font-size:.78rem;
  font-weight:700;
  line-height:1.35;
}

.aa-dp-card-mini-role-always{
  margin:3px 0 0;
  color:var(--aa-dp-accent);
  font-size:.82rem;
  font-weight:800;
  line-height:1.35;
}

.aa-dp-card-current-link-body h3{
  margin:0;
}

.aa-dp-card-current-link-summary{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
}

.aa-dp-card-current-link-button{
  margin-top:4px;
}

.aa-dp-time-link-card{
  color:inherit;
  text-decoration:none;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.aa-dp-time-link-card:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 36px rgba(20,50,60,.10);
  border-color:var(--aa-dp-border-strong);
}

.aa-dp-time-link-card .aa-dp-time-kicker{
  margin:0;
  color:var(--aa-dp-text-soft);
  text-transform:uppercase;
  letter-spacing:.05em;
  font-size:.82rem;
  font-weight:800;
}

.aa-dp-timeline-intro{
  margin-bottom:14px;
}

.aa-dp-timeline-person-label{
  margin:0;
  color:var(--aa-dp-text-soft);
  font-size:1rem;
  font-weight:700;
}

.aa-dp-time-content-simple{
  gap:8px;
}

.aa-dp-time-content-simple h3{
  line-height:1.25;
}

@media (min-width: 992px){
  .aa-dp-persona-wide-stack .aa-dp-section,
  .aa-dp-persona-wide-stack > .aa-dp-section{
    width:100%;
  }
}

/* === Tarjetas públicas de entidades · archivo único de decisión === */
.aa-dp-related-entity-shell{
  display:grid;
  gap:18px;
}

.aa-dp-related-entity-groups{
  display:grid;
  gap:18px;
}

.aa-dp-related-entity-group{
  display:grid;
  gap:16px;
  padding:22px;
}

.aa-dp-related-entity-title{
  margin:0;
  font-size:1.18rem;
  line-height:1.3;
}

.aa-dp-related-grid-entities{
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
}

.aa-dp-card-mini-social-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:4px;
}

.aa-dp-card-mini-social-icon{
  width:36px;
  height:36px;
  border-radius:12px;
}

.aa-dp-card-mini-social-icon svg{
  width:16px;
  height:16px;
}

.aa-dp-social-icon-website{
  color:var(--aa-dp-accent);
}

.aa-dp-card-current-link-body .aa-dp-card-mini-social-row + .aa-dp-card-current-link-button{
  margin-top:8px;
}

.aa-dp-cards-archive-entidades,
.aa-dp-related-grid-entities.aa-dp-cards-archive-entidades{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:14px;
  align-items:start;
}

.aa-dp-cards-archive-entidades .aa-dp-card-mini,
.aa-dp-related-grid-entities.aa-dp-cards-archive-entidades .aa-dp-card-mini{
  min-width:0;
  display:flex;
  flex-direction:column;
  height:100%;
  border-radius:20px;
}

.aa-dp-cards-archive-entidades .aa-dp-card-mini-media,
.aa-dp-related-grid-entities.aa-dp-cards-archive-entidades .aa-dp-card-mini-media{
  height:132px !important;
  min-height:132px !important;
  flex:0 0 132px !important;
}

.aa-dp-cards-archive-entidades .aa-dp-card-mini-body,
.aa-dp-related-grid-entities.aa-dp-cards-archive-entidades .aa-dp-card-mini-body{
  flex:1 1 auto;
  padding:10px 12px 12px;
  gap:5px;
  align-content:start;
  justify-items:center;
  text-align:center;
}

.aa-dp-cards-archive-entidades .aa-dp-card-mini-topline,
.aa-dp-related-grid-entities.aa-dp-cards-archive-entidades .aa-dp-card-mini-topline{
  margin:0;
  font-size:.66rem;
  line-height:1.15;
  letter-spacing:.10em;
  color:var(--aa-dp-brand-green) !important;
  -webkit-text-fill-color:var(--aa-dp-brand-green) !important;
}

.aa-dp-cards-archive-entidades .aa-dp-card-mini h3,
.aa-dp-related-grid-entities.aa-dp-cards-archive-entidades .aa-dp-card-mini h3{
  margin:0;
  font-size:.88rem;
  line-height:1.22;
  max-width:100%;
}

.aa-dp-cards-archive-entidades .aa-dp-card-mini-location,
.aa-dp-related-grid-entities.aa-dp-cards-archive-entidades .aa-dp-card-mini-location{
  margin:0;
  font-size:.76rem;
  line-height:1.2;
  font-weight:700;
  color:var(--aa-dp-brand-green) !important;
  -webkit-text-fill-color:var(--aa-dp-brand-green) !important;
}

.aa-dp-cards-archive-entidades .aa-dp-card-mini-role,
.aa-dp-cards-archive-entidades .aa-dp-card-current-link-summary,
.aa-dp-related-grid-entities.aa-dp-cards-archive-entidades .aa-dp-card-mini-role,
.aa-dp-related-grid-entities.aa-dp-cards-archive-entidades .aa-dp-card-current-link-summary{
  font-size:.80rem;
  line-height:1.4;
  max-width:100%;
}

.aa-dp-cards-archive-entidades .aa-dp-card-mini-social-row,
.aa-dp-related-grid-entities.aa-dp-cards-archive-entidades .aa-dp-card-mini-social-row{
  gap:7px;
  margin-top:2px;
}

.aa-dp-cards-archive-entidades .aa-dp-card-mini-social-icon,
.aa-dp-related-grid-entities.aa-dp-cards-archive-entidades .aa-dp-card-mini-social-icon{
  width:30px !important;
  height:30px !important;
  border-radius:10px;
}

.aa-dp-cards-archive-entidades .aa-dp-card-mini-social-icon svg,
.aa-dp-related-grid-entities.aa-dp-cards-archive-entidades .aa-dp-card-mini-social-icon svg{
  width:13px !important;
  height:13px !important;
}

@media (max-width: 1199px){
  .aa-dp-cards-archive-entidades,
  .aa-dp-related-grid-entities.aa-dp-cards-archive-entidades{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}

@media (max-width: 991px){
  .aa-dp-cards-archive-entidades,
  .aa-dp-related-grid-entities.aa-dp-cards-archive-entidades{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media (max-width: 767px){
  .aa-dp-cards-archive-entidades,
  .aa-dp-related-grid-entities.aa-dp-cards-archive-entidades{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
  }

  .aa-dp-cards-archive-entidades .aa-dp-card-mini-media,
  .aa-dp-related-grid-entities.aa-dp-cards-archive-entidades .aa-dp-card-mini-media{
    height:118px !important;
    min-height:118px !important;
    flex-basis:118px !important;
  }

  .aa-dp-cards-archive-entidades .aa-dp-card-mini-body,
  .aa-dp-related-grid-entities.aa-dp-cards-archive-entidades .aa-dp-card-mini-body{
    padding:9px 10px 11px;
  }

  .aa-dp-cards-archive-entidades .aa-dp-card-mini-topline,
  .aa-dp-related-grid-entities.aa-dp-cards-archive-entidades .aa-dp-card-mini-topline{
    font-size:.61rem;
  }

  .aa-dp-cards-archive-entidades .aa-dp-card-mini h3,
  .aa-dp-related-grid-entities.aa-dp-cards-archive-entidades .aa-dp-card-mini h3{
    font-size:.84rem;
  }

  .aa-dp-cards-archive-entidades .aa-dp-card-mini-location,
  .aa-dp-related-grid-entities.aa-dp-cards-archive-entidades .aa-dp-card-mini-location{
    font-size:.71rem;
  }

  .aa-dp-cards-archive-entidades .aa-dp-card-mini-social-icon,
  .aa-dp-related-grid-entities.aa-dp-cards-archive-entidades .aa-dp-card-mini-social-icon{
    width:28px !important;
    height:28px !important;
  }

  .aa-dp-cards-archive-entidades .aa-dp-card-mini-social-icon svg,
  .aa-dp-related-grid-entities.aa-dp-cards-archive-entidades .aa-dp-card-mini-social-icon svg{
    width:12px !important;
    height:12px !important;
  }
}

/* === Ajuste final tarjetas entidades archivo 2026-03-28 === */
.aa-dp-cards-archive-entidades article.aa-dp-card-mini-entidad.aa-dp-card-current-link > .aa-dp-card-mini-media.aa-dp-card-current-link-media,
.aa-dp-related-grid-entities.aa-dp-cards-archive-entidades article.aa-dp-card-mini-entidad.aa-dp-card-current-link > .aa-dp-card-mini-media.aa-dp-card-current-link-media{
  height:108px !important;
  min-height:108px !important;
  max-height:108px !important;
  flex:0 0 108px !important;
  aspect-ratio:auto !important;
  overflow:hidden !important;
}

.aa-dp-cards-archive-entidades article.aa-dp-card-mini-entidad.aa-dp-card-current-link > .aa-dp-card-mini-media.aa-dp-card-current-link-media img,
.aa-dp-related-grid-entities.aa-dp-cards-archive-entidades article.aa-dp-card-mini-entidad.aa-dp-card-current-link > .aa-dp-card-mini-media.aa-dp-card-current-link-media img,
.aa-dp-cards-archive-entidades article.aa-dp-card-mini-entidad.aa-dp-card-current-link > .aa-dp-card-mini-media.aa-dp-card-current-link-media .aa-dp-thumb-placeholder,
.aa-dp-related-grid-entities.aa-dp-cards-archive-entidades article.aa-dp-card-mini-entidad.aa-dp-card-current-link > .aa-dp-card-mini-media.aa-dp-card-current-link-media .aa-dp-thumb-placeholder{
  width:100% !important;
  height:108px !important;
  min-height:108px !important;
  max-height:108px !important;
  object-fit:cover !important;
  display:block !important;
}

.aa-dp-cards-archive-entidades article.aa-dp-card-mini-entidad.aa-dp-card-current-link > .aa-dp-card-mini-body.aa-dp-card-current-link-body,
.aa-dp-related-grid-entities.aa-dp-cards-archive-entidades article.aa-dp-card-mini-entidad.aa-dp-card-current-link > .aa-dp-card-mini-body.aa-dp-card-current-link-body{
  padding:9px 10px 11px !important;
  gap:4px !important;
}

.aa-dp-cards-archive-entidades article.aa-dp-card-mini-entidad.aa-dp-card-current-link .aa-dp-card-mini-topline,
.aa-dp-related-grid-entities.aa-dp-cards-archive-entidades article.aa-dp-card-mini-entidad.aa-dp-card-current-link .aa-dp-card-mini-topline{
  font-size:.60rem !important;
  line-height:1.1 !important;
  color:var(--aa-dp-brand-green) !important;
  -webkit-text-fill-color:var(--aa-dp-brand-green) !important;
}

.aa-dp-cards-archive-entidades article.aa-dp-card-mini-entidad.aa-dp-card-current-link .aa-dp-card-mini-location,
.aa-dp-related-grid-entities.aa-dp-cards-archive-entidades article.aa-dp-card-mini-entidad.aa-dp-card-current-link .aa-dp-card-mini-location{
  font-size:.68rem !important;
  line-height:1.12 !important;
  color:var(--aa-dp-brand-green) !important;
  -webkit-text-fill-color:var(--aa-dp-brand-green) !important;
}

@media (max-width: 767px){
  .aa-dp-cards-archive-entidades article.aa-dp-card-mini-entidad.aa-dp-card-current-link > .aa-dp-card-mini-media.aa-dp-card-current-link-media,
  .aa-dp-related-grid-entities.aa-dp-cards-archive-entidades article.aa-dp-card-mini-entidad.aa-dp-card-current-link > .aa-dp-card-mini-media.aa-dp-card-current-link-media{
    height:96px !important;
    min-height:96px !important;
    max-height:96px !important;
    flex-basis:96px !important;
  }

  .aa-dp-cards-archive-entidades article.aa-dp-card-mini-entidad.aa-dp-card-current-link > .aa-dp-card-mini-media.aa-dp-card-current-link-media img,
  .aa-dp-related-grid-entities.aa-dp-cards-archive-entidades article.aa-dp-card-mini-entidad.aa-dp-card-current-link > .aa-dp-card-mini-media.aa-dp-card-current-link-media img,
  .aa-dp-cards-archive-entidades article.aa-dp-card-mini-entidad.aa-dp-card-current-link > .aa-dp-card-mini-media.aa-dp-card-current-link-media .aa-dp-thumb-placeholder,
  .aa-dp-related-grid-entities.aa-dp-cards-archive-entidades article.aa-dp-card-mini-entidad.aa-dp-card-current-link > .aa-dp-card-mini-media.aa-dp-card-current-link-media .aa-dp-thumb-placeholder{
    height:96px !important;
    min-height:96px !important;
    max-height:96px !important;
  }

  .aa-dp-cards-archive-entidades article.aa-dp-card-mini-entidad.aa-dp-card-current-link .aa-dp-card-mini-topline,
  .aa-dp-related-grid-entities.aa-dp-cards-archive-entidades article.aa-dp-card-mini-entidad.aa-dp-card-current-link .aa-dp-card-mini-topline{
    font-size:.57rem !important;
  }

  .aa-dp-cards-archive-entidades article.aa-dp-card-mini-entidad.aa-dp-card-current-link .aa-dp-card-mini-location,
  .aa-dp-related-grid-entities.aa-dp-cards-archive-entidades article.aa-dp-card-mini-entidad.aa-dp-card-current-link .aa-dp-card-mini-location{
    font-size:.64rem !important;
  }
}


/* === Ajustes 2026-03-31 · entidades parroquiales === */
.aa-dp-inline-related-shell{
  margin-top:18px;
}

.aa-dp-related-entity-groups-inline,
.aa-dp-inline-related-group{
  display:grid;
  gap:0;
}

.aa-dp-related-grid-compact{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(168px,168px));
  gap:14px;
  justify-content:flex-start;
}

.aa-dp-card-mini-compact .aa-dp-card-mini-body{
  padding:9px 10px 11px !important;
  gap:4px !important;
}

.aa-dp-card-mini-compact .aa-dp-card-mini-topline{
  margin:0;
  font-size:.60rem !important;
  line-height:1.1 !important;
  color:var(--aa-dp-brand-green) !important;
  -webkit-text-fill-color:var(--aa-dp-brand-green) !important;
}

.aa-dp-card-mini-compact h3{
  margin:0;
  font-size:.88rem;
  line-height:1.22;
}

@media (max-width: 767px){
  .aa-dp-related-grid-compact{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}


/* === Ajustes 2026-03-31 · comunidad parroquial directa === */
.aa-dp-related-entity-group-flat{
  gap:18px;
}

.aa-dp-community-direct-grid{
  margin:0;
}

.aa-dp-community-direct-grid + .aa-dp-community-direct-grid{
  margin-top:2px;
}

/* === Ajuste 2026-03-31 · comunidad parroquial unificada === */
.aa-dp-community-direct-grid-unified{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:14px;
  align-items:start;
}

.aa-dp-community-direct-grid-unified .aa-dp-card-mini{
  min-width:0;
  display:flex;
  flex-direction:column;
  height:100%;
  border-radius:20px;
}

.aa-dp-community-direct-grid-unified .aa-dp-card-mini-media,
.aa-dp-community-direct-grid-unified .aa-dp-card-mini-media.aa-dp-card-current-link-media{
  height:108px !important;
  min-height:108px !important;
  max-height:108px !important;
  flex:0 0 108px !important;
  aspect-ratio:auto !important;
  overflow:hidden !important;
}

.aa-dp-community-direct-grid-unified .aa-dp-card-mini-media img,
.aa-dp-community-direct-grid-unified .aa-dp-card-mini-media .aa-dp-thumb-placeholder{
  width:100% !important;
  height:108px !important;
  min-height:108px !important;
  max-height:108px !important;
  object-fit:cover !important;
  display:block !important;
}

.aa-dp-community-direct-grid-unified .aa-dp-card-mini-body,
.aa-dp-community-direct-grid-unified .aa-dp-card-mini-body.aa-dp-card-current-link-body{
  flex:1 1 auto;
  padding:9px 10px 11px !important;
  gap:4px !important;
  align-content:start;
  justify-items:center;
  text-align:center;
}

.aa-dp-community-direct-grid-unified .aa-dp-card-mini-topline{
  margin:0;
  font-size:.60rem !important;
  line-height:1.1 !important;
  letter-spacing:.10em;
  color:var(--aa-dp-brand-green) !important;
  -webkit-text-fill-color:var(--aa-dp-brand-green) !important;
}

.aa-dp-community-direct-grid-unified .aa-dp-card-mini h3{
  margin:0;
  font-size:.88rem;
  line-height:1.22;
  max-width:100%;
}

.aa-dp-community-direct-grid-unified .aa-dp-card-mini h3 a{
  color:var(--aa-dp-text);
  text-decoration:none;
}

.aa-dp-community-direct-grid-unified .aa-dp-card-mini h3 a:hover{
  color:var(--aa-dp-accent);
}

@media (max-width: 1199px){
  .aa-dp-community-direct-grid-unified{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}

@media (max-width: 991px){
  .aa-dp-community-direct-grid-unified{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media (max-width: 767px){
  .aa-dp-community-direct-grid-unified{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
  }

  .aa-dp-community-direct-grid-unified .aa-dp-card-mini-media,
  .aa-dp-community-direct-grid-unified .aa-dp-card-mini-media.aa-dp-card-current-link-media{
    height:96px !important;
    min-height:96px !important;
    max-height:96px !important;
    flex-basis:96px !important;
  }

  .aa-dp-community-direct-grid-unified .aa-dp-card-mini-media img,
  .aa-dp-community-direct-grid-unified .aa-dp-card-mini-media .aa-dp-thumb-placeholder{
    height:96px !important;
    min-height:96px !important;
    max-height:96px !important;
  }

  .aa-dp-community-direct-grid-unified .aa-dp-card-mini-topline{
    font-size:.57rem !important;
  }

  .aa-dp-community-direct-grid-unified .aa-dp-card-mini h3{
    font-size:.84rem;
  }
}


.aa-dp-media-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
  align-items:start;
}

.aa-dp-media-grid > :only-child{
  grid-column:1 / -1;
}

.aa-dp-media-stack{
  display:grid;
  gap:24px;
}

.aa-dp-gallery-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  align-items:stretch;
}

.aa-dp-gallery-item{
  display:block;
  position:relative;
  border-radius:22px;
  overflow:hidden;
  border:1px solid var(--aa-dp-border);
  background:var(--aa-dp-surface-soft);
  box-shadow:var(--aa-dp-shadow-soft);
  aspect-ratio:16 / 10;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.aa-dp-gallery-item:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 38px rgba(15, 23, 42, .14);
}

.aa-dp-gallery-item img{
  display:block;
  width:100%;
  height:100%;
  min-height:0;
  aspect-ratio:16 / 10;
  object-fit:cover;
}

.aa-dp-video-frame{
  position:relative;
  width:100%;
  overflow:hidden;
  border-radius:24px;
  border:1px solid var(--aa-dp-border);
  background:#000;
  box-shadow:var(--aa-dp-shadow-soft);
}

.aa-dp-video-frame::before{
  content:"";
  display:block;
  padding-top:56.25%;
}

.aa-dp-video-frame iframe,
.aa-dp-video-frame video,
.aa-dp-video-frame embed,
.aa-dp-video-frame object{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}

@media (max-width: 991px){
  .aa-dp-media-grid{grid-template-columns:1fr}
  .aa-dp-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width: 767px){
  .aa-dp-gallery-grid{grid-template-columns:1fr;gap:12px}
  .aa-dp-gallery-item,
  .aa-dp-gallery-item img{aspect-ratio:4 / 3}
}

/* === Ajustes profesionales DICAV 2026-07 === */
.aa-dp-site h1,
.aa-dp-site h2,
.aa-dp-site h3,
.aa-dp-site h4,
.aa-dp-site .aa-dp-badge,
.aa-dp-site .aa-dp-stat small,
.aa-dp-site .aa-dp-card-mini-topline,
.aa-dp-site .aa-dp-kv-card strong,
.aa-dp-site .aa-dp-contact-list strong,
.aa-dp-site .aa-dp-social-title,
.aa-dp-site .aa-dp-time-kicker,
.aa-dp-site .aa-dp-time-period,
.aa-dp-site .aa-dp-search-field span,
.aa-dp-section-title{
  letter-spacing:0 !important;
}

.aa-dp-hero-content::after{
  display:none !important;
}

.aa-dp-site.aa-dp-persona .aa-dp-shell .aa-dp-hero,
.aa-dp-site.aa-dp-entidad .aa-dp-shell .aa-dp-hero{
  align-items:stretch !important;
}

.aa-dp-site.aa-dp-persona .aa-dp-shell .aa-dp-hero .aa-dp-hero-media,
.aa-dp-site.aa-dp-entidad .aa-dp-shell .aa-dp-hero .aa-dp-hero-media,
.aa-dp-site.aa-dp-persona .aa-dp-shell .aa-dp-hero .aa-dp-hero-content,
.aa-dp-site.aa-dp-entidad .aa-dp-shell .aa-dp-hero .aa-dp-hero-content{
  align-self:stretch !important;
  min-height:0 !important;
}

.aa-dp-site.aa-dp-persona .aa-dp-shell .aa-dp-hero .aa-dp-hero-content,
.aa-dp-site.aa-dp-entidad .aa-dp-shell .aa-dp-hero .aa-dp-hero-content{
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
}

.aa-dp-site.aa-dp-persona .aa-dp-shell .aa-dp-hero .aa-dp-hero-media img,
.aa-dp-site.aa-dp-entidad .aa-dp-shell .aa-dp-hero .aa-dp-hero-media img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  object-fit:cover !important;
  object-position:center center !important;
}

.aa-dp-site.aa-dp-persona .aa-dp-shell .aa-dp-hero.aa-dp-hero-persona .aa-dp-hero-media img{
  object-position:center center !important;
}

@media (min-width: 1181px){
  .aa-dp-site.aa-dp-persona .aa-dp-shell .aa-dp-hero,
  .aa-dp-site.aa-dp-entidad .aa-dp-shell .aa-dp-hero{
    grid-template-columns:minmax(240px,32%) minmax(0,1fr) !important;
    gap:clamp(22px,2.4vw,34px) !important;
  }

  .aa-dp-site.aa-dp-persona .aa-dp-shell .aa-dp-hero .aa-dp-hero-media,
  .aa-dp-site.aa-dp-entidad .aa-dp-shell .aa-dp-hero .aa-dp-hero-media{
    width:100% !important;
    max-width:430px !important;
    height:auto !important;
    max-height:none !important;
    justify-self:stretch !important;
  }

  .aa-dp-site.aa-dp-persona .aa-dp-shell .aa-dp-hero .aa-dp-hero-content,
  .aa-dp-site.aa-dp-entidad .aa-dp-shell .aa-dp-hero .aa-dp-hero-content{
    padding:clamp(30px,3vw,46px) !important;
  }
}

@media (min-width: 768px) and (max-width: 1180px){
  .aa-dp-site.aa-dp-persona .aa-dp-shell .aa-dp-hero,
  .aa-dp-site.aa-dp-entidad .aa-dp-shell .aa-dp-hero{
    grid-template-columns:minmax(220px,34%) minmax(0,1fr) !important;
    gap:22px !important;
  }

  .aa-dp-site.aa-dp-persona .aa-dp-shell .aa-dp-hero .aa-dp-hero-media,
  .aa-dp-site.aa-dp-entidad .aa-dp-shell .aa-dp-hero .aa-dp-hero-media{
    width:100% !important;
    max-width:360px !important;
    min-height:0 !important;
    height:auto !important;
    justify-self:stretch !important;
  }
}

@media (max-width: 767px){
  .aa-dp-site.aa-dp-persona .aa-dp-shell,
  .aa-dp-site.aa-dp-entidad .aa-dp-shell{
    padding-inline:0 !important;
  }

  .aa-dp-site.aa-dp-persona .aa-dp-shell .aa-dp-hero,
  .aa-dp-site.aa-dp-entidad .aa-dp-shell .aa-dp-hero{
    grid-template-columns:1fr !important;
    gap:18px !important;
    margin-inline:0 !important;
  }

  .aa-dp-site.aa-dp-persona .aa-dp-shell .aa-dp-hero .aa-dp-hero-media,
  .aa-dp-site.aa-dp-entidad .aa-dp-shell .aa-dp-hero .aa-dp-hero-media{
    order:2 !important;
    width:100% !important;
    max-width:100% !important;
    min-height:0 !important;
    height:auto !important;
    aspect-ratio:4 / 3 !important;
    margin:0 !important;
  }

  .aa-dp-site.aa-dp-persona .aa-dp-shell .aa-dp-hero .aa-dp-hero-content,
  .aa-dp-site.aa-dp-entidad .aa-dp-shell .aa-dp-hero .aa-dp-hero-content{
    order:1 !important;
    width:100% !important;
    padding:22px !important;
    margin:0 !important;
  }

  .aa-dp-site.aa-dp-persona .aa-dp-shell .aa-dp-hero .aa-dp-title,
  .aa-dp-site.aa-dp-entidad .aa-dp-shell .aa-dp-hero .aa-dp-title{
    font-size:clamp(2rem,8.8vw,2.55rem) !important;
    line-height:1.08 !important;
    letter-spacing:0 !important;
  }

  .aa-dp-site.aa-dp-persona .aa-dp-shell .aa-dp-hero .aa-dp-summary,
  .aa-dp-site.aa-dp-entidad .aa-dp-shell .aa-dp-hero .aa-dp-summary{
    line-height:1.58 !important;
  }
}

.aa-dp-cards-current-links{
  display:grid !important;
  grid-template-columns:repeat(6,minmax(0,1fr)) !important;
  gap:14px !important;
  justify-content:stretch !important;
  justify-items:stretch !important;
  align-items:stretch !important;
}

.aa-dp-cards-current-links .aa-dp-card-mini{
  width:100% !important;
  min-width:0 !important;
  height:100% !important;
  display:flex !important;
  flex-direction:column !important;
  border-radius:18px !important;
}

.aa-dp-cards-current-links .aa-dp-card-mini-media{
  height:92px !important;
  min-height:92px !important;
  max-height:92px !important;
  flex:0 0 92px !important;
  background:#eef4f5 !important;
}

.aa-dp-cards-current-links .aa-dp-card-mini-media img,
.aa-dp-cards-current-links .aa-dp-thumb-placeholder{
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  object-fit:cover !important;
}

.aa-dp-cards-current-links .aa-dp-card-mini-media img{
  object-position:center center !important;
}

.aa-dp-cards-current-links .aa-dp-card-mini-body{
  flex:1 1 auto !important;
  display:grid !important;
  align-content:start !important;
  justify-items:center !important;
  gap:5px !important;
  padding:12px !important;
  text-align:center !important;
}

.aa-dp-cards-current-links .aa-dp-card-mini-role{
  font-size:.88rem !important;
  line-height:1.2 !important;
}

.aa-dp-cards-current-links .aa-dp-card-mini-topline{
  font-size:.68rem !important;
  line-height:1.15 !important;
}

.aa-dp-cards-current-links .aa-dp-card-mini h3{
  font-size:.9rem !important;
  line-height:1.22 !important;
  max-width:16ch !important;
}

.aa-dp-card-current-link-summary,
.aa-dp-card-current-link-button{
  display:none !important;
}

@media (max-width: 1400px){
  .aa-dp-cards-current-links{grid-template-columns:repeat(5,minmax(0,1fr)) !important;}
}

@media (max-width: 1180px){
  .aa-dp-cards-current-links{grid-template-columns:repeat(4,minmax(0,1fr)) !important;}
}

@media (max-width: 900px){
  .aa-dp-cards-current-links{grid-template-columns:repeat(3,minmax(0,1fr)) !important;}
}

@media (max-width: 767px){
  .aa-dp-cards-current-links{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:12px !important;
  }
}

.aa-dp-timeline{
  gap:12px !important;
  padding-left:24px !important;
}

.aa-dp-timeline::before{
  left:7px !important;
}

.aa-dp-time-item{
  margin-bottom:0 !important;
}

.aa-dp-time-point{
  left:-24px !important;
  top:18px !important;
  width:16px !important;
  height:16px !important;
  border-width:4px !important;
  box-shadow:0 0 0 5px rgba(23,61,71,.06) !important;
}

.aa-dp-time-body-media{
  grid-template-columns:64px minmax(0,1fr) !important;
  gap:14px !important;
  align-items:center !important;
  min-height:0 !important;
  padding:14px 16px !important;
  border-radius:18px !important;
}

.aa-dp-time-avatar{
  width:56px !important;
  height:56px !important;
  min-width:56px !important;
  border-radius:50% !important;
  object-fit:cover !important;
  object-position:center center !important;
}

.aa-dp-time-content-simple{
  gap:3px !important;
}

.aa-dp-time-role{
  margin:0 !important;
  font-size:.98rem !important;
  line-height:1.2 !important;
}

.aa-dp-time-kicker{
  margin:0 !important;
  font-size:.72rem !important;
  line-height:1.2 !important;
  letter-spacing:0 !important;
}

.aa-dp-time-content-simple h3{
  margin:0 !important;
  font-size:1rem !important;
  line-height:1.25 !important;
}

.aa-dp-time-place,
.aa-dp-time-place-sep{
  color:var(--aa-dp-text-soft) !important;
  font-size:.92em !important;
  font-weight:700 !important;
}

.aa-dp-time-period-inline{
  margin:0 !important;
  font-size:.9rem !important;
  line-height:1.25 !important;
  letter-spacing:0 !important;
}

.aa-dp-timeline-intro{
  margin-bottom:8px !important;
}

.aa-dp-timeline-person-label{
  font-size:.92rem !important;
  line-height:1.3 !important;
}

@media (max-width: 767px){
  .aa-dp-timeline{
    padding-left:22px !important;
  }

  .aa-dp-time-point{
    left:-22px !important;
  }

  .aa-dp-time-body-media{
    grid-template-columns:54px minmax(0,1fr) !important;
    gap:12px !important;
    padding:12px 14px !important;
  }

  .aa-dp-time-avatar{
    width:48px !important;
    height:48px !important;
    min-width:48px !important;
  }
}

.aa-dp-section{
  display:grid !important;
  gap:16px !important;
}

.aa-dp-section h2,
.aa-dp-section-title{
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
}

.aa-dp-section-heading{
  margin-bottom:0 !important;
  gap:6px !important;
}

.aa-dp-section .aa-dp-prose,
.aa-dp-section .aa-dp-kv-grid,
.aa-dp-section .aa-dp-kv-list,
.aa-dp-section .aa-dp-contact-list,
.aa-dp-section .aa-dp-hours-block{
  margin-top:0 !important;
}

.aa-dp-subblock-no-top{
  margin-top:0 !important;
  padding-top:0 !important;
  border-top:0 !important;
}

.aa-dp-contact-divider{
  display:none !important;
}

.aa-dp-contact-list{
  gap:0 !important;
}

.aa-dp-contact-list div{
  padding:12px 0 !important;
}

.aa-dp-contact-list div:first-child{
  padding-top:0 !important;
}

.aa-dp-contact-list div:last-child{
  padding-bottom:0 !important;
}

.aa-dp-hours-block + .aa-dp-hours-block{
  margin-top:14px !important;
  padding-top:14px !important;
}

.aa-dp-hours pre,
.aa-dp-preline,
.aa-dp-preline p{
  white-space:pre-wrap !important;
}

.aa-dp-prose.aa-dp-preline{
  display:grid !important;
  gap:6px !important;
}

.aa-dp-prose.aa-dp-preline p{
  margin:0 !important;
}

/* Ajustes DICAV 2026-07-08: la portada toma la altura del panel de texto. */
@media (min-width: 768px){
  .aa-dp-site.aa-dp-persona .aa-dp-shell .aa-dp-hero,
  .aa-dp-site.aa-dp-entidad .aa-dp-shell .aa-dp-hero{
    align-items:stretch !important;
  }

  .aa-dp-site.aa-dp-persona .aa-dp-shell .aa-dp-hero .aa-dp-hero-media,
  .aa-dp-site.aa-dp-entidad .aa-dp-shell .aa-dp-hero .aa-dp-hero-media{
    position:relative !important;
    align-self:stretch !important;
    min-height:0 !important;
    height:auto !important;
    aspect-ratio:auto !important;
    overflow:hidden !important;
  }

  .aa-dp-site.aa-dp-persona .aa-dp-shell .aa-dp-hero .aa-dp-hero-media img,
  .aa-dp-site.aa-dp-entidad .aa-dp-shell .aa-dp-hero .aa-dp-hero-media img,
  .aa-dp-site.aa-dp-persona .aa-dp-shell .aa-dp-hero .aa-dp-image-placeholder,
  .aa-dp-site.aa-dp-entidad .aa-dp-shell .aa-dp-hero .aa-dp-image-placeholder{
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    min-height:0 !important;
    display:block !important;
  }

  .aa-dp-site.aa-dp-persona .aa-dp-shell .aa-dp-hero .aa-dp-image-placeholder,
  .aa-dp-site.aa-dp-entidad .aa-dp-shell .aa-dp-hero .aa-dp-image-placeholder{
    display:grid !important;
    place-items:center !important;
  }

  .aa-dp-site.aa-dp-persona .aa-dp-shell .aa-dp-hero .aa-dp-hero-content,
  .aa-dp-site.aa-dp-entidad .aa-dp-shell .aa-dp-hero .aa-dp-hero-content{
    align-self:stretch !important;
    min-height:0 !important;
  }
}

@media (min-width: 1181px){
  .aa-dp-site.aa-dp-persona .aa-dp-shell .aa-dp-hero,
  .aa-dp-site.aa-dp-entidad .aa-dp-shell .aa-dp-hero{
    grid-template-columns:minmax(220px,30%) minmax(0,1fr) !important;
  }

  .aa-dp-site.aa-dp-persona .aa-dp-shell .aa-dp-hero .aa-dp-hero-media,
  .aa-dp-site.aa-dp-entidad .aa-dp-shell .aa-dp-hero .aa-dp-hero-media{
    max-width:400px !important;
  }
}

.aa-dp-prose.aa-dp-preline{
  display:block !important;
  white-space:normal !important;
  line-height:1.55 !important;
}
