.myaa-news-directory,.myaa-news-profile { margin:0; max-width:none !important; width:100%; font-size:var(--myaa-design-font-size, inherit); font-weight:var(--myaa-design-font-weight, inherit); line-height:var(--myaa-design-line-height, inherit); letter-spacing:var(--myaa-design-letter-spacing, normal); text-align:var(--myaa-design-text-align, start); color:var(--myaa-design-color, var(--myaa-color-navy)); background:var(--myaa-design-background, var(--wp--preset--color--white)); }
.myaa-news-directory__filters { align-items:center; background:var(--wp--preset--color--canvas); border-block-start:1px solid var(--wp--preset--color--ivory); color:var(--wp--preset--color--ivory); display:flex; flex-wrap:wrap; gap:0 16px; justify-content:space-between; padding:1px var(--myaa-shell-inline); }
.myaa-news-directory__filters nav { align-items:center; display:flex; flex:0 0 auto; flex-wrap:wrap; gap:0 .75rem; max-width:100%; }
.myaa-news-directory__heading,.myaa-news-directory__filters nav a { font-family:var(--myaa-font-heading); font-size:.8125rem; font-weight:500; letter-spacing:.02em; line-height:1.5; text-transform:uppercase; }
.myaa-news-directory__heading { align-items:center; display:flex; margin:0; min-height:44px; }
.myaa-news-directory__filters a { align-items:center; color:inherit; display:inline-flex; min-height:44px; text-decoration:none; }
.myaa-news-directory__filters a { position: relative; text-decoration:underline; text-decoration-color:transparent; text-underline-offset:.4em; }
.myaa-news-directory__filters a[aria-current] { color: var(--myaa-design-active-color, var(--wp--preset--color--accent-active)); }
.myaa-news-directory__filters a[aria-current]::after { background: var(--wp--preset--color--accent-active); content: ''; height: 4px; position: absolute; inset-inline: 0; bottom: 0; }
.myaa-news-directory__filters a:hover { text-decoration-color:currentColor; }
.myaa-news-directory__filters form { flex:0 0 auto; }
.myaa-news-directory__search .myaa-searchcontrol__input { color: var(--wp--preset--color--ivory); font-family:var(--myaa-font-body); font-size:1rem; font-weight:400; line-height:var(--myaa-line-secondary); }
.myaa-news-directory__content { padding:3rem var(--myaa-shell-inline); }
.myaa-related-news { padding:clamp(2rem,4vw,4.8rem) var(--myaa-shell-inline); }
.myaa-news-directory__count { font-size:var(--myaa-type-secondary); line-height:var(--myaa-line-secondary); margin:0 0 1.5rem; }
.myaa-news-grid { align-items:stretch; display:grid; grid-template-columns:var(--myaa-layout-columns, var(--myaa-design-grid-template-columns, repeat(3,minmax(0,1fr)))); gap:var(--myaa-design-card-gap, var(--myaa-design-gap, 2rem)); }
.myaa-news-item { min-width:0; border-bottom:1px solid #aaa; padding-bottom:2rem; overflow-wrap:normal; display:flex; flex-direction:column; }
.myaa-news-item img { display:block; width:100%; height:auto; aspect-ratio:1.5; object-fit:cover; margin-block-end:.25rem; }
.myaa-news-item--text { padding-top:1rem; }
.myaa-news-item .myaa-news-item__type { color:var(--myaa-color-navy); font-family:var(--myaa-font-body); font-size:.75rem; font-weight:400; line-height:var(--myaa-line-secondary); letter-spacing:.04em; text-transform:uppercase; margin:1rem 0; }
.myaa-news-item h2,.myaa-news-item h3 { font-size:var(--myaa-design-font-size, var(--myaa-design-card-size, 1.125rem)); line-height:var(--myaa-design-line-height, 1.3); font-weight:var(--myaa-design-font-weight, 600); letter-spacing:var(--myaa-design-letter-spacing, inherit); text-align:var(--myaa-design-text-align, inherit); margin:0 0 1rem; }
.myaa-news-item p { font-size:var(--myaa-design-body-size, 1rem); line-height:var(--myaa-design-line-height, 1.5); letter-spacing:var(--myaa-design-letter-spacing, inherit); text-align:var(--myaa-design-text-align, inherit); }
.myaa-news-item > p:not(.myaa-news-item__type) { margin:0 0 1rem; }
.myaa-news-item a,.myaa-related-news>a { color:var(--myaa-design-link-color, var(--myaa-color-navy)); }
.myaa-news-item h2 a,.myaa-news-item h3 a { text-decoration:underline; text-decoration-color:transparent; }
.myaa-news-item a:hover { color:var(--myaa-design-hover-color, currentColor); text-decoration:underline; text-decoration-color:currentColor; }
.myaa-news-item__more { display:inline-flex; align-items:center; min-height:44px; margin:auto 0 0; padding:.25rem 0 0; }
.myaa-news-pagination { display:flex; flex-wrap:wrap; justify-content:center; gap:1rem; margin-top:3rem; }
.myaa-news-pagination a { display:flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; color:var(--myaa-color-navy); }
.myaa-news-pagination a[aria-current] { color:var(--myaa-color-navy); font-weight:600; text-decoration:none; }
.myaa-news-pagination a:hover { text-decoration:underline; }
.myaa-news-profile__content { max-width:none; margin:0; padding:3rem var(--myaa-shell-inline); overflow-wrap:break-word; }
.myaa-news-profile__intro { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:3rem; }
.myaa-news-profile__intro--text { grid-template-columns:minmax(0,1fr); max-width:65rem; }
.myaa-news-profile__image img { width:100%; height:auto; }
.myaa-news-profile h1 { font-size:var(--myaa-design-heading-size, 2.25rem); font-weight:600; line-height:1.2; margin:1rem 0 2rem; }
.myaa-news-profile__excerpt { font-size:var(--myaa-type-lead); line-height:1.5; }
.myaa-news-profile__metadata { font-size:.75rem; line-height:var(--myaa-line-secondary); margin:1.5rem 0 0; }
.myaa-news-profile__body { font-size:var(--myaa-design-font-size, var(--myaa-design-body-size, var(--myaa-type-body))); line-height:var(--myaa-design-line-height, var(--myaa-line-body)); margin-top:1.5rem; max-width:56rem; }
.myaa-news-profile__relations { margin-top:3rem; }
.myaa-news-profile__relations a,.myaa-news-profile__source a { color:var(--myaa-design-link-color, var(--myaa-color-navy)); }
.myaa-news-profile__relations li { font-size:var(--myaa-design-font-size, 1rem); line-height:var(--myaa-design-line-height, 1.6); margin:.75rem 0; }
.myaa-news-profile__preview { margin:0; padding:1rem; text-align:center; }
.myaa-related-news { background:var(--wp--preset--color--white); color:var(--myaa-color-navy); }
.myaa-related-news>h2,.myaa-news-profile__relations h2 { font-size:var(--myaa-design-section-size, 1.5rem); font-weight:500; line-height:1.25; margin:0 0 1.5rem; }
.myaa-related-news>a { display:inline-block; margin-top:2rem; font-size:var(--myaa-type-secondary); }
.myaa-news-directory a,.myaa-news-profile a,.myaa-related-news a { transition:color 160ms ease,text-decoration-color 160ms ease; }
.myaa-news-directory a:active,.myaa-news-profile a:active,.myaa-related-news a:active { color:var(--myaa-design-active-color, currentColor); }
.myaa-news-directory a:focus-visible,.myaa-news-profile a:focus-visible,.myaa-related-news a:focus-visible { outline:0; color:var(--myaa-design-focus-color, currentColor); text-decoration:underline; text-decoration-color:var(--myaa-design-focus-color, var(--myaa-color-navy)); text-decoration-thickness:1px; text-underline-offset:4px; }
.myaa-news-directory .myaa-news-item__more:focus-visible,.myaa-news-pagination a:focus-visible,.myaa-related-news>a:focus-visible,.myaa-news-profile__source a:focus-visible,.myaa-news-profile__relations a:focus-visible,.myaa-news-profile__body a:focus-visible { text-decoration-thickness:2px; }
.myaa-news-directory__filters a:focus-visible { text-decoration-color:var(--wp--preset--color--ivory); }
.myaa-news-profile__neighbors a:focus-visible { text-decoration-color:var(--wp--preset--color--ivory); }
.myaa-related-news .myaa-news-grid--related-1 { grid-template-columns: minmax(0, 1fr); max-width: 42rem; }
.myaa-related-news .myaa-news-grid--related-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.myaa-related-news .myaa-news-grid--related-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media(max-width:63.99rem) { .myaa-related-news .myaa-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .myaa-related-news .myaa-news-grid--related-1 { grid-template-columns: minmax(0, 1fr); } }
@media(max-width:47.99rem) { .myaa-related-news .myaa-news-grid { grid-template-columns: minmax(0, 1fr); } }
@media(max-width:63.99rem) { .myaa-news-grid { grid-template-columns:var(--myaa-layout-columns, var(--myaa-design-grid-template-columns, repeat(2,minmax(0,1fr)))); } }
@media(max-width:47.99rem) { .myaa-news-grid,.myaa-news-profile__intro { grid-template-columns:var(--myaa-layout-columns, var(--myaa-design-grid-template-columns, minmax(0,1fr))); } .myaa-news-directory__content { padding-block:1.5rem; } .myaa-news-profile__content { padding-block:1.5rem; } .myaa-news-profile__intro { gap:1.5rem; } .myaa-news-profile h1 { font-size:var(--myaa-design-heading-size, 1.75rem); } .myaa-news-profile__body { font-size:var(--myaa-design-font-size,var(--myaa-design-body-size,1rem)); } .myaa-related-news>h2,.myaa-news-profile__relations h2 { font-size:var(--myaa-design-section-size, 1.375rem); } }

.myaa-news-profile__neighbors { background: var(--wp--preset--color--canvas); border: 0; color: var(--wp--preset--color--ivory); grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 1px var(--myaa-shell-inline); position: relative; }
/* A transformed rule preserves the quarter-pixel stroke at both DPRs. */
.myaa-news-profile__neighbors::before { background: var(--wp--preset--color--white); content: ''; height: 1px; inset: 0 0 auto; pointer-events: none; position: absolute; transform: scaleY(.25); transform-origin: top; }
.myaa-section-nav--editorial > a { font-family:var(--myaa-font-heading); font-size:var(--myaa-type-secondary); font-weight:500; letter-spacing:.02em; line-height:var(--myaa-line-secondary); }
.myaa-section-nav--editorial > a > svg { color: currentColor; height: 9.344px; width: 4.672px; }
.myaa-section-nav--editorial > a { gap: 8px; }
.myaa-section-nav--editorial > .myaa-section-nav__back { justify-self: stretch; }
.myaa-news-profile__neighbors a { color:inherit; }
.myaa-related-news { container-type:inline-size; }
.myaa-related-news .myaa-news-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,max(16rem,calc((100% - 4rem)/3))),1fr)); gap:var(--myaa-design-card-gap, var(--myaa-design-gap, 2rem)); }

.myaa-related-news .myaa-news-grid--related-1 { grid-template-columns:minmax(0,1fr); }
.myaa-related-news .myaa-news-grid--related-2 { grid-template-columns:repeat(auto-fit,minmax(min(100%,max(16rem,calc((100% - 2rem)/2))),1fr)); gap:var(--myaa-design-card-gap, var(--myaa-design-gap, 2rem)); }

.myaa-news-profile__body p { margin:0 0 1em; }
.myaa-news-item__more,.myaa-news-pagination a { font-size:var(--myaa-type-secondary); font-weight:500; line-height:var(--myaa-line-secondary); }

/* Stable columns preserve one/two-card widths and the previous related selection. */
.myaa-related-news { font-size:var(--myaa-design-font-size,inherit); font-weight:var(--myaa-design-font-weight,inherit); background:var(--myaa-design-background,var(--wp--preset--color--white)); color:var(--myaa-design-color,var(--myaa-color-navy)); }
.myaa-related-news .myaa-news-grid { max-width:none; grid-template-columns:var(--myaa-layout-columns,repeat(var(--myaa-design-related-columns,3),minmax(0,1fr))); }
@media(max-width:70rem) { .myaa-related-news .myaa-news-grid { grid-template-columns:var(--myaa-layout-columns,repeat(var(--myaa-design-related-columns,2),minmax(0,1fr))); } }
@media(max-width:47.99rem) { .myaa-related-news .myaa-news-grid { grid-template-columns:var(--myaa-layout-columns,repeat(var(--myaa-design-related-columns,1),minmax(0,1fr))); } }

.myaa-news-directory .myaa-news-index--tarjetas { align-items:stretch; }
.myaa-news-directory .myaa-news-index--tarjetas > .myaa-news-item { align-self:start; height:auto; }
.myaa-news-directory .myaa-news-item__body { display:grid; gap:.75rem; align-content:start; min-width:0; }
.myaa-news-directory .myaa-news-item__meta { display:flex; flex-wrap:wrap; align-items:baseline; gap:.35rem 1rem; margin:0; }
.myaa-news-directory .myaa-news-item__title { margin:0; }
.myaa-news-directory .myaa-news-item__excerpt { margin:0; color:var(--myaa-color-navy); opacity:.82; max-width:68ch; }
.myaa-news-directory .myaa-news-item__figure { margin:0; overflow:hidden; background:var(--wp--preset--color--canvas); }
.myaa-news-directory .myaa-news-item__figure img { display:block; width:100%; height:100%; object-fit:cover; }
.myaa-news-index--lista .myaa-news-item--list { display:grid; grid-template-columns:minmax(0,1fr) minmax(9rem,24%); gap:clamp(1rem,4vw,3.3rem); padding-block:clamp(1.2rem,3.4vw,2.1rem); border-bottom:1px solid #aaa; }
.myaa-news-index--lista .myaa-news-item--list:not(:has(.myaa-news-item__figure)) .myaa-news-item__body,
.myaa-news-directory--no-photos .myaa-news-index--lista .myaa-news-item__body { grid-column:1 / -1; }
.myaa-news-index--lista .myaa-news-item__figure { align-self:center; aspect-ratio:3 / 2; }
.myaa-news-index--lista .myaa-news-item__title { max-width:43ch; }
.myaa-news-index--tarjetas { --myaa-news-card-columns:3; grid-template-columns:repeat(min(var(--myaa-news-card-columns),var(--myaa-design-columns,3)),minmax(0,1fr)); margin-top:0; }
.myaa-news-index--tarjetas .myaa-news-item--card { border:1px solid #ddd; padding:clamp(1rem,2vw,1.55rem); display:flex; flex-direction:column; min-height:100%; gap:0; border-bottom-width:1px; }
.myaa-news-index--tarjetas .myaa-news-item__card-meta { display:flex; justify-content:space-between; align-items:flex-start; gap:.8rem; min-height:3rem; }
.myaa-news-index--tarjetas .myaa-news-item__meta { display:grid; gap:.15rem; }
.myaa-news-index--tarjetas .myaa-news-item__date { margin:0; }
.myaa-news-index--tarjetas .myaa-news-item__figure { width:4.125rem; aspect-ratio:3 / 2; flex:none; }
.myaa-news-index--tarjetas .myaa-news-item__more { margin-block-start:auto; padding-block-start:.5rem; }
.myaa-news-index--secciones { display:grid; gap:0; }
.myaa-news-section { padding-block:1.8rem 1.2rem; }
.myaa-news-section + .myaa-news-section { border-top:1px solid var(--myaa-color-navy); margin-top:1rem; }
.myaa-news-section__title { font-family:var(--myaa-font-heading); font-size:clamp(1.5rem,2.7vw,2.2rem); font-weight:500; line-height:1.15; letter-spacing:-.025em; margin:0 0 1.15rem; }
.myaa-news-section__entries--noticias { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(1.35rem,4vw,3rem); }
.myaa-news-section .myaa-news-item--section-news { display:grid; gap:1rem; align-content:start; border-bottom:0; padding:0; }
.myaa-news-section .myaa-news-item--section-news .myaa-news-item__figure { aspect-ratio:2.05 / 1; }
.myaa-news-section .myaa-news-item--section-row { display:grid; grid-template-columns:minmax(0,1fr) minmax(9rem,24%); gap:clamp(1rem,4vw,3.3rem); border-top:1px solid #aaa; padding-block:1rem; border-bottom:0; align-items:start; }
.myaa-news-section .myaa-news-item--section-row:not(:has(.myaa-news-item__figure)) { grid-template-columns:minmax(0,1fr); }
.myaa-news-section .myaa-news-item--section-row .myaa-news-item__figure { align-self:center; aspect-ratio:3 / 2; margin:0; overflow:hidden; background:var(--wp--preset--color--canvas); }
.myaa-news-section .myaa-news-item--section-row .myaa-news-item__figure img { display:block; width:100%; height:100%; object-fit:cover; }
.myaa-news-section .myaa-news-item__type { display:none; }
.myaa-news-directory--no-photos .myaa-news-item__figure { display:none; }
@media (max-width:61rem) {
  .myaa-news-index--tarjetas { --myaa-news-card-columns:2; }
}
@media (max-width:47.99rem) {
  .myaa-news-index--lista .myaa-news-item--list { grid-template-columns:minmax(0,1fr) minmax(4.6rem,26%); gap:.9rem; }
  .myaa-news-index--lista .myaa-news-item__figure { align-self:start; }
  .myaa-news-index--lista .myaa-news-item--list:has(.myaa-news-item__figure) .myaa-news-item__body { grid-column:1; }
  .myaa-news-directory--no-photos .myaa-news-index--lista .myaa-news-item--list:has(.myaa-news-item__figure) .myaa-news-item__body { grid-column:1 / -1; }
  .myaa-news-index--tarjetas { --myaa-news-card-columns:1; }
  .myaa-news-section__entries--noticias { grid-template-columns:minmax(0,1fr); }
  .myaa-news-section .myaa-news-item--section-row { grid-template-columns:minmax(0,1fr) minmax(4.6rem,26%); gap:.9rem; }
  .myaa-news-section .myaa-news-item--section-row .myaa-news-item__figure { align-self:start; }
  .myaa-news-section .myaa-news-item--section-row:has(.myaa-news-item__figure) .myaa-news-item__body { grid-column:1; }
  .myaa-news-directory--no-photos .myaa-news-section .myaa-news-item--section-row .myaa-news-item__body { grid-column:1 / -1; }
}

.myaa-news-item .myaa-news-item__date { font-family:var(--myaa-font-body); font-size:var(--myaa-type-secondary); font-weight:400; line-height:var(--myaa-line-secondary); margin:0 0 .75rem; }

/* Pulso Legal: autor bajo el título; fecha única */
.myaa-news-item .myaa-news-item__author { font-family:var(--myaa-font-body); font-size:var(--myaa-type-body); font-weight:500; line-height:1.4; color:var(--myaa-color-navy); margin:0; }
.myaa-news-item__author-label { font-weight:400; }
.myaa-news-profile h1:has(+ .myaa-news-profile__byline) { margin-bottom:1.25rem; }
.myaa-news-profile__byline { display:flex; align-items:center; gap:1rem; margin:0 0 2rem; }
.myaa-news-profile__author-photo { flex:none; display:block; inline-size:4.5rem; aspect-ratio:1; overflow:hidden; background:var(--wp--preset--color--canvas); }
.myaa-news-profile__author-photo img { display:block; inline-size:100%; block-size:100%; object-fit:cover; object-position:50% 0; transform:scale(2.1); transform-origin:50% 30%; }
.myaa-news-profile__byline-text { display:grid; gap:.2rem; margin:0; }
.myaa-news-profile__author-name { font-family:var(--myaa-font-body); font-size:var(--myaa-type-lead); font-weight:600; line-height:1.3; color:var(--myaa-color-navy); }
.myaa-news-profile__author-label { position:absolute; inline-size:1px; block-size:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.myaa-news-profile__author-name a { color:inherit; text-decoration:none; }
.myaa-news-profile__author-name a:hover { text-decoration:underline; }
.myaa-news-profile__date { font-size:var(--myaa-type-secondary); line-height:var(--myaa-line-secondary); }
