/*
Theme Name: Noticias de Derecho Ambiental
Theme URI: https://daeconsultores.ar/noticias/
Description: Child theme editorial para Noticias de Derecho Ambiental.
Author: DAE Consultores
Template: jupiterx
Version: 1.0.4
Text Domain: dae-noticias
*/

:root{
  --dae-bg:#eef4f9;
  --dae-surface:#ffffff;
  --dae-ink:#173256;
  --dae-muted:#71819a;
  --dae-line:#dce6f1;
  --dae-navy:#2f4b69;
  --dae-navy-2:#2f4b69;
  --dae-green:#3ea2c6;
  --dae-green-soft:#eaf7fb;
  --dae-blue:#3ea2c6;
  --dae-shadow:0 12px 34px rgba(8,46,99,.10);
  --dae-radius:18px;
  --dae-max:1240px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--dae-bg);
  color:var(--dae-ink);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  font-size:16px;
  line-height:1.6;
}
body.admin-bar .dae-site-header{top:32px}
a{color:inherit}
img{max-width:100%;height:auto}
.dae-wrap{width:min(calc(100% - 40px),var(--dae-max));margin:0 auto}
.dae-screen-reader{
  position:absolute!important;
  width:1px!important;height:1px!important;
  padding:0!important;margin:-1px!important;
  overflow:hidden!important;clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;border:0!important;
}

.dae-topbar{
  background:#062956;
  color:#c9d8df;
  font-size:12px;
}
.dae-topbar .dae-wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  min-height:34px;
}
.dae-topbar a{color:#fff;text-decoration:none;font-weight:700}
.dae-topbar a:hover{text-decoration:underline}

.dae-site-header{
  position:sticky;
  z-index:1200;
  top:0;
  background:rgba(255,255,255,.97);
  border-bottom:1px solid var(--dae-line);
  backdrop-filter:saturate(160%) blur(10px);
}
.dae-header-main{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  min-height:84px;
}
.dae-brand{
  display:flex;
  align-items:center;
  gap:13px;
  min-width:0;
  color:var(--dae-navy);
  text-decoration:none;
}
.dae-brand-mark{
  display:grid;
  place-items:center;
  width:43px;height:43px;
  flex:0 0 43px;
  border-radius:12px;
  background:linear-gradient(145deg,var(--dae-green),#076faf);
  color:#fff;
  font-weight:900;
  letter-spacing:-.04em;
}
.dae-brand-copy{display:flex;flex-direction:column;line-height:1.08}
.dae-brand-copy strong{font-size:18px;letter-spacing:-.025em}
.dae-brand-copy span{margin-top:5px;color:#78909d;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}

.dae-header-actions{display:flex;align-items:center;gap:12px}
.dae-search-toggle{
  display:grid;
  place-items:center;
  width:42px;height:42px;
  border:1px solid var(--dae-line);
  border-radius:999px;
  background:#fff;
  color:var(--dae-navy);
  cursor:pointer;
  font-size:17px;
}
.dae-search-toggle:hover{background:#f4f8fa}
.dae-search-panel{
  display:none;
  padding:0 0 18px;
}
.dae-search-panel.is-open{display:block}
.dae-search-form{
  display:flex;
  gap:8px;
  max-width:620px;
  margin-left:auto;
}
.dae-search-form input{
  width:100%;
  height:44px;
  padding:0 14px;
  border:1px solid #ccdbe2;
  border-radius:10px;
  background:#fff;
  color:var(--dae-ink);
  font:inherit;
  outline:none;
}
.dae-search-form input:focus{border-color:#5d9fce;box-shadow:0 0 0 3px rgba(23,123,165,.10)}
.dae-search-form button{
  padding:0 18px;
  border:0;
  border-radius:10px;
  background:var(--dae-navy);
  color:#fff;
  font:inherit;
  font-weight:800;
  cursor:pointer;
}

.dae-category-nav{
  border-top:1px solid #edf1f3;
  overflow-x:auto;
  scrollbar-width:none;
}
.dae-category-nav::-webkit-scrollbar{display:none}
.dae-category-nav .dae-wrap{
  display:flex;
  align-items:center;
  gap:4px;
  min-height:44px;
  white-space:nowrap;
}
.dae-category-nav a{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:0 11px;
  border-radius:999px;
  color:#4f6777;
  text-decoration:none;
  font-size:12px;
  font-weight:750;
}
.dae-category-nav a:hover,
.dae-category-nav a.is-current{
  background:var(--dae-green-soft);
  color:#087fc8;
}

.dae-main{padding:30px 0 60px}
.dae-section{margin-top:34px}
.dae-section:first-child{margin-top:0}
.dae-section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:18px;
}
.dae-section-head h2,
.dae-section-head h1{
  margin:0;
  color:var(--dae-navy);
  font-size:28px;
  line-height:1.15;
  letter-spacing:-.035em;
}
.dae-section-head p{
  max-width:660px;
  margin:7px 0 0;
  color:var(--dae-muted);
  font-size:14px;
}
.dae-section-link{
  color:var(--dae-blue);
  text-decoration:none;
  font-size:12px;
  font-weight:800;
  white-space:nowrap;
}
.dae-section-link:hover{text-decoration:underline}

.dae-hero{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(330px,.65fr);
  gap:22px;
}
.dae-hero-main{
  position:relative;
  min-height:520px;
  border-radius:24px;
  overflow:hidden;
  background:#d9e8ee;
  box-shadow:var(--dae-shadow);
}
.dae-hero-main img{
  position:absolute;
  inset:0;
  width:100%;height:100%;
  object-fit:cover;
}
.dae-hero-main:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(4,25,37,.05) 10%,rgba(4,25,37,.82) 100%);
}
.dae-hero-content{
  position:absolute;
  z-index:2;
  right:0;bottom:0;left:0;
  padding:38px;
  color:#fff;
}
.dae-kicker{
  display:inline-flex;
  align-items:center;
  min-height:26px;
  margin-bottom:11px;
  padding:0 10px;
  border-radius:999px;
  background:rgba(61,127,104,.94);
  color:#fff;
  font-size:10px;
  font-weight:900;
  letter-spacing:.07em;
  text-transform:uppercase;
}
.dae-hero-content h1{
  max-width:860px;
  margin:0;
  color:#fff;
  font-size:38px;
  line-height:1.12;
  letter-spacing:-.04em;
}
.dae-hero-content p{
  max-width:760px;
  margin:14px 0 0;
  color:#e4edf1;
  font-size:15px;
  line-height:1.55;
}
.dae-meta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 12px;
  margin-top:14px;
  color:#728694;
  font-size:11px;
  font-weight:650;
}
.dae-hero-content .dae-meta{color:#d7e3e8}
.dae-hero-side{
  display:grid;
  grid-template-rows:repeat(3,minmax(0,1fr));
  gap:14px;
}
.dae-side-card{
  display:grid;
  grid-template-columns:145px 1fr;
  gap:14px;
  min-height:0;
  padding:12px;
  border:1px solid var(--dae-line);
  border-radius:16px;
  background:var(--dae-surface);
  box-shadow:0 5px 18px rgba(21,55,74,.045);
  text-decoration:none;
}
.dae-side-card:hover{border-color:#bfd2da;box-shadow:0 8px 22px rgba(21,55,74,.08)}
.dae-side-card img{
  width:145px;height:100%;
  min-height:122px;
  object-fit:cover;
  border-radius:11px;
}
.dae-side-card-copy{align-self:center;min-width:0}
.dae-side-card-copy h2{
  margin:7px 0 0;
  color:var(--dae-navy);
  font-size:16px;
  line-height:1.3;
  letter-spacing:-.02em;
}

.dae-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}
.dae-card{
  display:flex;
  min-width:0;
  flex-direction:column;
  border:1px solid var(--dae-line);
  border-radius:var(--dae-radius);
  background:var(--dae-surface);
  overflow:hidden;
  box-shadow:0 7px 24px rgba(15,45,64,.045);
}
.dae-card:hover{border-color:#c6d8df;box-shadow:var(--dae-shadow)}
.dae-card-media{
  position:relative;
  aspect-ratio:16/9;
  overflow:hidden;
  background:#dfecef;
}
.dae-card-media img{
  width:100%;height:100%;
  object-fit:cover;
  transition:transform .22s ease;
}
.dae-card:hover .dae-card-media img{transform:scale(1.025)}
.dae-card-body{
  display:flex;
  flex:1;
  flex-direction:column;
  padding:18px 19px 20px;
}
.dae-card-body h2{
  margin:8px 0 0;
  color:var(--dae-navy);
  font-size:19px;
  line-height:1.3;
  letter-spacing:-.025em;
}
.dae-card-body p{
  margin:11px 0 14px;
  color:#657a88;
  font-size:13px;
  line-height:1.55;
}
.dae-card-link{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin-top:auto;
  color:var(--dae-blue);
  text-decoration:none;
  font-size:12px;
  font-weight:850;
}
.dae-card-link:hover{text-decoration:underline}

.dae-category-blocks{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
}
.dae-category-block{
  padding:22px;
  border:1px solid var(--dae-line);
  border-radius:18px;
  background:#fff;
}
.dae-category-block-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding-bottom:13px;
  border-bottom:1px solid #e9eef1;
}
.dae-category-block-head h3{
  margin:0;
  color:var(--dae-navy);
  font-size:17px;
}
.dae-category-block-head a{
  color:var(--dae-blue);
  text-decoration:none;
  font-size:11px;
  font-weight:800;
}
.dae-category-row{
  display:grid;
  grid-template-columns:110px 1fr;
  gap:13px;
  padding:14px 0;
  border-bottom:1px solid #edf1f3;
  text-decoration:none;
}
.dae-category-row:last-child{padding-bottom:0;border-bottom:0}
.dae-category-row img{
  width:110px;height:72px;
  object-fit:cover;
  border-radius:9px;
}
.dae-category-row h4{
  margin:3px 0 0;
  color:#1e3d53;
  font-size:14px;
  line-height:1.35;
}

.dae-archive-hero{
  padding:30px 32px;
  border:1px solid var(--dae-line);
  border-radius:20px;
  background:linear-gradient(135deg,#fff,#edf5f2);
}
.dae-archive-eyebrow{
  color:var(--dae-green);
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.dae-archive-hero h1{
  margin:6px 0 0;
  color:var(--dae-navy);
  font-size:34px;
  line-height:1.15;
}
.dae-archive-hero p{
  max-width:760px;
  margin:10px 0 0;
  color:var(--dae-muted);
  font-size:14px;
}
.dae-archive-grid{margin-top:24px}

.dae-pagination{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  margin-top:30px;
}
.dae-pagination .page-numbers{
  display:grid;
  place-items:center;
  min-width:38px;height:38px;
  padding:0 10px;
  border:1px solid var(--dae-line);
  border-radius:9px;
  background:#fff;
  color:#4d6879;
  text-decoration:none;
  font-size:12px;
  font-weight:800;
}
.dae-pagination .current{
  border-color:var(--dae-navy);
  background:var(--dae-navy);
  color:#fff;
}

.dae-single{
  width:min(calc(100% - 40px),980px);
  margin:0 auto;
}
.dae-single-back{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin-bottom:18px;
  color:var(--dae-blue);
  text-decoration:none;
  font-size:12px;
  font-weight:800;
}
.dae-single-header{
  padding:32px 36px 28px;
  border:1px solid var(--dae-line);
  border-radius:22px 22px 0 0;
  background:#fff;
}
.dae-single-header h1{
  max-width:900px;
  margin:10px 0 0;
  color:var(--dae-navy);
  font-size:42px;
  line-height:1.13;
  letter-spacing:-.045em;
}
.dae-single-lead{
  margin:15px 0 0;
  color:#657b89;
  font-size:17px;
  line-height:1.6;
}
.dae-single-media{
  margin:0;
  border-right:1px solid var(--dae-line);
  border-left:1px solid var(--dae-line);
  background:#dce9ed;
}
.dae-single-media img{
  display:block;
  width:100%;
  max-height:560px;
  object-fit:cover;
}
.dae-single-content{
  padding:38px 42px;
  border:1px solid var(--dae-line);
  border-top:0;
  border-radius:0 0 18px 18px;
  background:#fff;
  color:#405c6d;
  font-size:16px;
  line-height:1.75;
}
.dae-single-content>:first-child{margin-top:0}
.dae-single-content>:last-child{margin-bottom:0}
.dae-single-content h2,
.dae-single-content h3{
  color:var(--dae-navy);
  line-height:1.25;
}
.dae-single-content h2{margin:30px 0 12px;font-size:26px}
.dae-single-content h3{margin:26px 0 10px;font-size:20px}
.dae-single-content p{margin:0 0 18px}
.dae-single-content a{color:var(--dae-blue);font-weight:700}
.dae-single-content ul,
.dae-single-content ol{padding-left:24px}
.dae-single-content blockquote{
  margin:24px 0;
  padding:18px 20px;
  border-left:4px solid var(--dae-green);
  background:#eef7fc;
  color:#173256;
}

.dae-empty{
  padding:50px 30px;
  border:1px dashed #cbdadf;
  border-radius:18px;
  background:#fff;
  text-align:center;
  color:var(--dae-muted);
}
.dae-empty h2{margin:0;color:var(--dae-navy)}
.dae-empty p{margin:8px 0 0}

.dae-site-footer{
  margin-top:60px;
  background:#062956;
  color:#d5e0e5;
}
.dae-footer-main{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr;
  gap:40px;
  padding:42px 0 34px;
}
.dae-footer-main h3{
  margin:0 0 11px;
  color:#fff;
  font-size:14px;
}
.dae-footer-main p,
.dae-footer-main li{
  margin:0;
  color:#acc0ca;
  font-size:12px;
  line-height:1.65;
}
.dae-footer-main ul{margin:0;padding:0;list-style:none}
.dae-footer-main li+li{margin-top:5px}
.dae-footer-main a{color:#dce8ed;text-decoration:none}
.dae-footer-main a:hover{text-decoration:underline}
.dae-footer-brand{
  display:block;
  margin-bottom:8px;
  color:#fff;
  font-size:19px;
  font-weight:850;
}
.dae-footer-bottom{
  padding:15px 0;
  border-top:1px solid rgba(255,255,255,.10);
  color:#829ba8;
  font-size:11px;
}

@media(max-width:1050px){
  .dae-hero{grid-template-columns:1fr}
  .dae-hero-main{min-height:480px}
  .dae-hero-side{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:none}
  .dae-side-card{grid-template-columns:1fr}
  .dae-side-card img{width:100%;height:150px}
  .dae-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:780px){
  body.admin-bar .dae-site-header{top:46px}
  .dae-wrap{width:min(calc(100% - 28px),var(--dae-max))}
  .dae-topbar .dae-wrap{justify-content:center}
  .dae-topbar span:last-child{display:none}
  .dae-header-main{min-height:74px}
  .dae-brand-copy strong{font-size:16px}
  .dae-brand-copy span{font-size:9px}
  .dae-hero-main{min-height:430px}
  .dae-hero-content{padding:26px}
  .dae-hero-content h1{font-size:31px}
  .dae-hero-side{grid-template-columns:1fr}
  .dae-side-card{grid-template-columns:130px 1fr}
  .dae-side-card img{width:130px;height:110px}
  .dae-category-blocks{grid-template-columns:1fr}
  .dae-single-header{padding:26px 22px}
  .dae-single-header h1{font-size:32px}
  .dae-single-content{padding:28px 22px}
  .dae-footer-main{grid-template-columns:1fr;gap:26px}
}
@media(max-width:560px){
  .dae-main{padding-top:18px}
  .dae-grid{grid-template-columns:1fr}
  .dae-hero-main{min-height:470px}
  .dae-hero-content h1{font-size:28px}
  .dae-hero-content p{font-size:13px}
  .dae-side-card{grid-template-columns:108px 1fr}
  .dae-side-card img{width:108px;height:92px}
  .dae-section-head{align-items:flex-start;flex-direction:column}
  .dae-section-head h2,.dae-section-head h1{font-size:25px}
  .dae-archive-hero{padding:24px 20px}
  .dae-archive-hero h1{font-size:29px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .dae-card-media img{transition:none}
}

/* N5C — acceso directo a SICA */
.dae-sica-login{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:42px;
  padding:0 15px;
  border:1px solid var(--dae-navy);
  border-radius:999px;
  background:var(--dae-navy);
  color:#fff;
  text-decoration:none;
  font-size:12px;
  font-weight:850;
  line-height:1;
  white-space:nowrap;
  transition:background .18s ease,border-color .18s ease,transform .18s ease;
}
.dae-sica-login:hover{
  border-color:var(--dae-navy-2);
  background:var(--dae-navy-2);
  color:#fff;
  text-decoration:none;
  transform:translateY(-1px);
}
.dae-sica-login:focus-visible{
  outline:3px solid rgba(23,123,165,.22);
  outline-offset:2px;
}
.dae-sica-login-short{display:none}
.dae-sica-login-arrow{
  font-size:13px;
  line-height:1;
}

@media(max-width:560px){
  .dae-header-actions{gap:8px}
  .dae-sica-login{
    min-height:40px;
    padding:0 11px;
    font-size:11px;
  }
  .dae-sica-login-long{display:none}
  .dae-sica-login-short{display:inline}
  .dae-search-toggle{
    width:40px;
    height:40px;
  }
}

/* N6A — autoridad editorial */
.dae-breadcrumb{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:7px;
  margin:0 0 16px;
  color:#728694;
  font-size:11px;
  font-weight:700;
}
.dae-breadcrumb a{
  color:var(--dae-blue);
  text-decoration:none;
}
.dae-breadcrumb a:hover{text-decoration:underline}
.dae-breadcrumb-sep{color:#a8b7bf}
.dae-breadcrumb span[aria-current="page"]{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.dae-source-box{
  display:grid;
  grid-template-columns:42px 1fr;
  gap:16px;
  margin-top:20px;
  padding:22px 24px;
  border:1px solid #d8e5ef;
  border-radius:16px;
  background:#f8fbfe;
}
.dae-source-icon{
  display:grid;
  place-items:center;
  width:42px;height:42px;
  border-radius:12px;
  background:var(--dae-green);
  color:#fff;
  font-size:20px;
  font-weight:900;
}
.dae-source-box h2{
  margin:0;
  color:var(--dae-navy);
  font-size:17px;
  line-height:1.25;
}
.dae-source-box p{
  margin:5px 0 10px;
  color:#71819a;
  font-size:12px;
}
.dae-source-box ul{
  margin:0;
  padding:0;
  list-style:none;
}
.dae-source-box li+li{margin-top:5px}
.dae-source-box a{
  color:#087fc8;
  text-decoration:none;
  font-size:12px;
  font-weight:800;
}
.dae-source-box a:hover{text-decoration:underline}

.dae-editorial-box{
  display:grid;
  grid-template-columns:54px 1fr;
  gap:16px;
  margin-top:14px;
  padding:20px 24px;
  border:1px solid var(--dae-line);
  border-radius:16px;
  background:#fff;
}
.dae-editorial-mark{
  display:grid;
  place-items:center;
  width:54px;height:54px;
  border-radius:14px;
  background:var(--dae-navy);
  color:#fff;
  font-size:13px;
  font-weight:900;
  letter-spacing:.04em;
}
.dae-editorial-box strong{
  color:var(--dae-navy);
  font-size:14px;
}
.dae-editorial-box p{
  margin:4px 0 7px;
  color:#70818d;
  font-size:12px;
  line-height:1.55;
}
.dae-editorial-box a{
  color:var(--dae-blue);
  text-decoration:none;
  font-size:11px;
  font-weight:850;
}
.dae-editorial-box a:hover{text-decoration:underline}

.dae-related{
  margin-top:34px;
}
.dae-related .dae-section-head{
  margin-bottom:16px;
}
.dae-related .dae-card-body h2{
  font-size:16px;
}

@media(max-width:560px){
  .dae-source-box,
  .dae-editorial-box{
    grid-template-columns:1fr;
    padding:18px;
  }
  .dae-source-icon,
  .dae-editorial-mark{
    width:42px;height:42px;
  }
}

/* N7 — SICA VISUAL + AUTHORS */

.dae-topbar,
.dae-footer-main{
	background:#062956;
}

.dae-sica-login{
	background:#087fc8;
	border-color:#087fc8;
	color:#fff;
}

.dae-sica-login:hover,
.dae-sica-login:focus-visible{
	background:#076faf;
	border-color:#076faf;
}

.dae-archive-eyebrow,
.dae-section-eyebrow{
	color:#087fc8;
}

.dae-section-eyebrow{
	display:block;
	margin:0 0 7px;
	font-size:12px;
	font-weight:800;
	letter-spacing:.08em;
	text-transform:uppercase;
}

.dae-meta-stack{
	display:flex;
	flex-direction:column;
	gap:10px;
}

.dae-author-byline{
	display:flex;
	align-items:center;
	min-width:0;
}

.dae-author-byline-link{
	display:inline-flex;
	align-items:center;
	gap:9px;
	min-width:0;
	color:#173256;
	text-decoration:none;
}

.dae-author-byline-link:hover strong{
	color:#087fc8;
	text-decoration:underline;
}

.dae-author-avatar{
	display:block;
	flex:0 0 auto;
	width:100%;
	height:100%;
	border-radius:50%;
	object-fit:cover;
}

.dae-author-byline-link > img{
	width:38px;
	height:38px;
	border:2px solid #fff;
	box-shadow:0 0 0 1px #d8e5ef;
}

.dae-author-byline-link > span{
	display:block;
	color:#71819a;
	font-size:12px;
	line-height:1.25;
}

.dae-author-byline-link strong{
	color:#173256;
	font-weight:800;
}

.dae-hero-content .dae-author-byline-link,
.dae-hero-content .dae-author-byline-link strong{
	color:#fff;
}

.dae-hero-content .dae-author-byline-link > span{
	color:#d8eaff;
}

.dae-hero-content .dae-author-byline-link > img{
	box-shadow:0 0 0 1px rgba(255,255,255,.45);
}

.dae-side-card .dae-author-byline-link > img{
	width:30px;
	height:30px;
}

.dae-side-card .dae-author-byline-link > span{
	font-size:11px;
}

.dae-author-interest-section{
	padding-top:8px;
}

.dae-author-interest-grid{
	display:grid;
	grid-template-columns:repeat(4,minmax(0,1fr));
	gap:18px;
}

.dae-author-interest-card{
	overflow:hidden;
	border:1px solid #dce6f1;
	border-radius:16px;
	background:#fff;
	box-shadow:0 8px 24px rgba(8,46,99,.07);
}

.dae-author-interest-media{
	display:block;
	aspect-ratio:16/9;
	overflow:hidden;
	background:#e4f3ff;
}

.dae-author-interest-media img{
	display:block;
	width:100%;
	height:100%;
	object-fit:cover;
	transition:transform .2s ease;
}

.dae-author-interest-card:hover .dae-author-interest-media img{
	transform:scale(1.025);
}

.dae-author-interest-body{
	padding:18px;
}

.dae-author-interest-kicker{
	color:#087fc8;
	font-size:11px;
	font-weight:800;
	letter-spacing:.05em;
	text-decoration:none;
	text-transform:uppercase;
}

.dae-author-interest-body h3{
	margin:7px 0 9px;
	color:#082e63;
	font-size:19px;
	line-height:1.28;
}

.dae-author-interest-body h3 a{
	color:inherit;
	text-decoration:none;
}

.dae-author-interest-body h3 a:hover{
	color:#087fc8;
}

.dae-author-interest-body > p{
	margin:0 0 16px;
	color:#71819a;
	font-size:13px;
	line-height:1.55;
}

.dae-author-interest-author{
	display:flex;
	align-items:center;
	gap:10px;
	padding-top:14px;
	border-top:1px solid #e6edf5;
	color:#173256;
	text-decoration:none;
}

.dae-author-interest-author > img{
	width:42px;
	height:42px;
	box-shadow:0 0 0 1px #d8e5ef;
}

.dae-author-interest-author span{
	display:grid;
	gap:2px;
	min-width:0;
}

.dae-author-interest-author strong{
	overflow:hidden;
	color:#082e63;
	font-size:12px;
	text-overflow:ellipsis;
	white-space:nowrap;
}

.dae-author-interest-author small{
	color:#71819a;
	font-size:10px;
}

.dae-author-editorial-box{
	border-color:#d8e5ef;
	background:#f8fbfe;
}

.dae-author-editorial-avatar{
	flex:0 0 auto;
	width:72px;
	height:72px;
}

.dae-author-editorial-avatar img{
	width:72px;
	height:72px;
	box-shadow:0 0 0 1px #d8e5ef;
}

.dae-author-archive-hero{
	display:flex;
	align-items:center;
	gap:26px;
	margin:22px 0 34px;
	padding:28px;
	border:1px solid #dce6f1;
	border-radius:18px;
	background:linear-gradient(135deg,#fff,#eef7fc);
	box-shadow:0 8px 24px rgba(8,46,99,.06);
}

.dae-author-archive-avatar{
	flex:0 0 auto;
	width:112px;
	height:112px;
}

.dae-author-archive-avatar img{
	width:112px;
	height:112px;
	box-shadow:0 0 0 5px #fff,0 0 0 6px #d8e5ef;
}

.dae-author-archive-copy h1{
	margin:2px 0 8px;
	color:#082e63;
}

.dae-author-archive-copy p{
	max-width:760px;
	margin:0;
	color:#71819a;
	line-height:1.65;
}

@media(max-width:980px){
	.dae-author-interest-grid{
		grid-template-columns:repeat(2,minmax(0,1fr));
	}
}

@media(max-width:620px){
	.dae-author-interest-grid{
		grid-template-columns:1fr;
	}

	.dae-author-archive-hero{
		align-items:flex-start;
		flex-direction:column;
		gap:18px;
		padding:22px;
	}

	.dae-author-archive-avatar,
	.dae-author-archive-avatar img{
		width:92px;
		height:92px;
	}
}


/* N11 R3 — HOME VISUAL FIXES */

/* Logo temporal: conservar el enlace sin subrayado en hover/focus. */
.dae-brand:hover,
.dae-brand:hover *,
.dae-brand:focus,
.dae-brand:focus *{
  text-decoration:none !important;
}

/*
 * Cards laterales:
 * el contenedor dejó de ser <a> para no anidar el link del autor.
 * Este hit-link conserva la card completa clickeable,
 * mientras el link del autor queda por encima y sigue siendo independiente.
 */
.dae-side-card{
  position:relative;
}

.dae-side-card-hit{
  position:absolute;
  inset:0;
  z-index:1;
  border-radius:inherit;
  text-decoration:none !important;
}

.dae-side-card-hit:focus-visible{
  outline:2px solid var(--dae-blue);
  outline-offset:-3px;
}

.dae-side-card .dae-author-byline-link{
  position:relative;
  z-index:2;
}

/* Hero principal: avatar en flujo, inmediatamente antes de "Por ...". */
.dae-hero-content .dae-author-byline{
  position:static !important;
}

.dae-hero-content .dae-author-byline-link{
  display:inline-flex !important;
  flex-direction:row !important;
  align-items:center !important;
  gap:8px !important;
  width:auto !important;
  max-width:100%;
  position:static !important;
}

.dae-hero-content .dae-author-byline-link > img{
  position:static !important;
  inset:auto !important;
  left:auto !important;
  right:auto !important;
  top:auto !important;
  bottom:auto !important;
  transform:none !important;
  float:none !important;
  margin:0 !important;
  width:38px !important;
  height:38px !important;
  min-width:38px !important;
  flex:0 0 38px !important;
  object-fit:cover;
}

.dae-hero-content .dae-author-byline-link > span{
  display:inline-block !important;
  margin:0 !important;
}


/* N12 R3 — TWO SIDE STORIES + AUTHOR AVATAR */

/* Desktop: sólo dos noticias laterales, una arriba de la otra. */
.dae-hero-side{
  grid-template-rows:repeat(2,minmax(0,1fr));
}

.dae-side-card{
  grid-template-columns:minmax(160px,42%) minmax(0,1fr);
  min-height:0;
}

/* Sólo la imagen editorial directa de la card. */
.dae-side-card > img{
  width:100% !important;
  height:100% !important;
  min-height:0;
  object-fit:cover;
}

/* Avatar lateral: círculo real, sin heredar tamaño de la imagen editorial. */
.dae-side-card .dae-author-byline{
  position:relative;
  z-index:2;
}

.dae-side-card .dae-author-byline-link{
  display:inline-flex !important;
  flex-direction:row !important;
  align-items:center !important;
  gap:8px !important;
  width:auto !important;
  max-width:100%;
}

.dae-side-card .dae-author-byline-link > img,
.dae-side-card img.dae-author-avatar{
  position:static !important;
  inset:auto !important;
  left:auto !important;
  right:auto !important;
  top:auto !important;
  bottom:auto !important;
  transform:none !important;
  float:none !important;
  display:block !important;

  width:36px !important;
  height:36px !important;
  min-width:36px !important;
  max-width:36px !important;
  min-height:36px !important;
  max-height:36px !important;

  flex:0 0 36px !important;
  margin:0 !important;
  padding:0 !important;

  border-radius:50% !important;
  object-fit:cover !important;
  aspect-ratio:1 / 1 !important;
}

.dae-side-card .dae-author-byline-link > span{
  display:inline-block !important;
  margin:0 !important;
  line-height:1.25;
}

/* Tablet: dos noticias laterales en dos columnas debajo del hero principal. */
@media (max-width:980px) and (min-width:701px){
  .dae-hero-side{
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-template-rows:none;
  }

  .dae-side-card{
    grid-template-columns:1fr;
  }

  .dae-side-card > img{
    width:100% !important;
    height:180px !important;
  }
}

/* Mobile: dos noticias laterales una debajo de la otra. */
@media (max-width:700px){
  .dae-hero-side{
    grid-template-columns:1fr;
    grid-template-rows:none;
  }

  .dae-side-card{
    grid-template-columns:108px minmax(0,1fr);
  }

  .dae-side-card > img{
    width:108px !important;
    height:100% !important;
    min-height:118px;
  }
}


/* N13 R2 — NDA BRANDING + PALETTE */

:root{
  --nda-accent:#3ea2c6;
  --nda-dark:#2f4b69;
}

/* Header — logo oficial configurado en Personalizador. */
.dae-brand-slot{
  display:flex;
  align-items:center;
  min-width:0;
}

.dae-brand-slot .custom-logo-link{
  display:block;
  line-height:0;
  text-decoration:none !important;
}

.dae-brand-slot .custom-logo-link:hover,
.dae-brand-slot .custom-logo-link:focus{
  text-decoration:none !important;
}

.dae-brand-slot .custom-logo{
  display:block;
  width:auto;
  height:58px;
  max-width:min(440px,45vw);
  object-fit:contain;
}

.dae-brand-fallback{
  color:var(--nda-dark);
  font-weight:800;
  text-decoration:none !important;
}

/* Etiquetas redondeadas / categorías destacadas. */
.dae-kicker,
.dae-news-kicker{
  background:var(--nda-accent) !important;
  border-color:var(--nda-accent) !important;
  color:#fff !important;
}

/* Azul oscuro principal solicitado. */
.dae-topbar,
.dae-footer,
.dae-footer-main,
.dae-footer-bottom{
  background:var(--nda-dark) !important;
}

/* Footer — logo NDA blanco. */
.dae-footer-logo-link{
  display:inline-block;
  line-height:0;
  text-decoration:none !important;
  margin-bottom:14px;
}

.dae-footer-logo-link:hover,
.dae-footer-logo-link:focus{
  text-decoration:none !important;
}

.dae-footer-logo{
  display:block;
  width:min(390px,100%);
  height:auto;
  max-height:82px;
  object-fit:contain;
  object-position:left center;
}

@media (max-width:700px){
  .dae-brand-slot .custom-logo{
    height:44px;
    max-width:74vw;
  }

  .dae-footer-logo{
    width:min(320px,100%);
    max-height:70px;
  }
}

/* N14 R1 — HEADER LOGO MAX 270PX */
.dae-brand-slot .custom-logo{
  width:270px !important;
  max-width:270px !important;
  height:auto !important;
  max-height:none !important;
  object-fit:contain !important;
}

/* Si el viewport es menor, el logo se adapta sin deformarse. */
@media (max-width:700px){
  .dae-brand-slot .custom-logo{
    width:min(270px,72vw) !important;
    max-width:min(270px,72vw) !important;
    height:auto !important;
  }
}


/* N15 R1 — FOOTER UNIFIED + CREDIT */

/*
 * Unificar visualmente todo el footer, incluyendo el contenedor exterior
 * que estaba dejando franjas laterales con el navy histórico.
 */
footer.dae-footer,
.dae-footer,
footer.dae-site-footer,
.dae-site-footer,
.dae-footer-main,
.dae-footer-bottom,
.dae-footer > .dae-wrap,
.dae-footer .dae-wrap,
.dae-site-footer > .dae-wrap,
.dae-site-footer .dae-wrap{
  background:#2f4b69 !important;
  background-color:#2f4b69 !important;
  background-image:none !important;
}

/* Evitar que pseudoelementos recuperen un fondo anterior. */
footer.dae-footer::before,
footer.dae-footer::after,
.dae-footer::before,
.dae-footer::after,
footer.dae-site-footer::before,
footer.dae-site-footer::after,
.dae-site-footer::before,
.dae-site-footer::after{
  background:#2f4b69 !important;
  background-color:#2f4b69 !important;
  background-image:none !important;
}

/* Crédito de desarrollo. */
.dae-footer-bottom strong{
  font-weight:700;
}

.dae-footer-credit-link{
  color:inherit !important;
  font-weight:700;
  text-decoration:none !important;
}

.dae-footer-credit-link:hover,
.dae-footer-credit-link:focus{
  color:#fff !important;
  text-decoration:underline !important;
}

/* Isolated to the launch card and post 73. No global theme overrides. */
.nda-launch-card{display:grid;grid-template-columns:1.05fr 1fr;background:#fff;border:1px solid #dce6f1;border-radius:18px;overflow:hidden;box-shadow:0 6px 24px rgba(47,75,105,.045)}
.nda-launch-card__image{display:flex;align-items:center;background:#eef4f9;min-width:0}
.nda-launch-card__image img{display:block;width:100%;height:auto;aspect-ratio:1200/630;object-fit:contain}
.nda-launch-card__copy{padding:36px 38px;align-self:center;min-width:0}
.nda-launch-card .dae-kicker{background:#eaf7fb;color:#245c71;font-size:12px;letter-spacing:.08em}
.nda-launch-card h1{font-size:clamp(26px,2.5vw,36px);line-height:1.18;letter-spacing:-.025em;margin:17px 0;color:#2f4b69}
.nda-launch-card h1 a{text-decoration:none;color:inherit}
.nda-launch-card p{font-size:16px;line-height:1.65;color:#53677b;margin:16px 0 22px}
.nda-launch-card .dae-meta{font-size:12px}
.nda-launch-card__link{display:inline-flex;align-items:center;gap:12px;color:#2f4b69;text-decoration:none;font-size:14px;font-weight:700;border-bottom:2px solid #3ea2c6;padding:0 0 5px}
.nda-launch-card a:focus-visible,.nda-launch-article a:focus-visible{outline:3px solid #3ea2c6;outline-offset:5px}
.nda-launch-article{max-width:1040px;margin:0 auto}
.nda-launch-article .dae-single-header{max-width:850px;margin:26px auto 28px;padding:0;background:transparent;box-shadow:none;border:0}
.nda-launch-article .dae-single-header h1{font-size:clamp(30px,4vw,48px);line-height:1.13;letter-spacing:-.028em;color:#2f4b69;margin:20px 0}
.nda-launch-article .dae-single-lead{font-size:19px;line-height:1.65;color:#53677b;margin-top:22px}
.nda-launch-article .dae-single-media{max-width:850px;margin:0 auto 42px;border:1px solid #dce6f1;border-radius:16px;overflow:hidden;box-shadow:none;background:#eef4f9}
.nda-launch-article .dae-single-media img{display:block;width:100%;height:auto;aspect-ratio:1200/630;object-fit:contain}
.nda-launch-article .dae-single-content{max-width:740px;margin:0 auto;padding:36px 42px;background:#fff;border:1px solid #dce6f1;border-radius:16px;color:#293f52;font-size:17px;line-height:1.85}
.nda-launch-article .dae-single-content h2{font-size:25px;line-height:1.25;color:#2f4b69;margin:38px 0 20px;letter-spacing:-.015em}
.nda-launch-article .dae-single-content h2:first-child{margin-top:0}
.nda-launch-article .dae-single-content p{margin:0 0 22px}
.nda-launch-article .dae-single-content p:has(>strong:only-child){border-top:1px solid #dce6f1;padding-top:24px;color:#2f4b69;font-size:16px}
.nda-launch-article .dae-single-content p:last-child{background:#eaf7fb;border-left:3px solid #3ea2c6;padding:22px;text-align:left;margin-bottom:0;font-size:16px;line-height:1.65}
.nda-launch-article .dae-single-content p:last-child a{color:#245c71;text-underline-offset:3px;font-weight:600}
.nda-launch-article .dae-editorial-box{max-width:740px;margin:26px auto}
@media(max-width:760px){.nda-launch-card{grid-template-columns:1fr}.nda-launch-card__copy{padding:24px}.nda-launch-card h1{font-size:29px}.nda-launch-card__image{border-bottom:1px solid #dce6f1}.nda-launch-article{padding:0 16px}.nda-launch-article .dae-single-header{margin-top:20px}.nda-launch-article .dae-single-header h1{font-size:32px}.nda-launch-article .dae-single-lead{font-size:17px}.nda-launch-article .dae-single-media{margin-bottom:26px;border-radius:12px}.nda-launch-article .dae-single-content{padding:26px 20px;font-size:16px;line-height:1.8}.nda-launch-article .dae-single-content h2{font-size:23px}.nda-launch-article .dae-single-content p:last-child{padding:18px}.nda-launch-card .dae-meta{flex-wrap:wrap}}

/* Justified institutional launch copy, including excerpt, signature and closing. */
.nda-launch-card p,.nda-launch-article .dae-single-lead,.nda-launch-article .dae-single-content p{ text-align:justify !important; }
