/* 2.9.0: geometría pública de 2.8.0; mismos selectores, valores y orden. */
.cmp-portal-shell{
  font-family:"Segoe UI",Arial,sans-serif;
}

.cmp-portal-shell{
  --cmp-border:rgba(21,38,126,.12);
}

.cmp-page-credit{
  margin-top:24px;
  font-size:13px;
  text-align:center;
}

.cmp-portal-shell{
  display:grid;
  gap:24px;
  width:100%;
  max-width:1680px;
  margin:0 auto;
}

.cmp-portal-shell.has-left-ads.has-right-ads{
  grid-template-columns:minmax(0,15fr) minmax(0,70fr) minmax(0,15fr);
}

.cmp-portal-shell.has-left-ads:not(.has-right-ads){
  grid-template-columns:minmax(0,15fr) minmax(0,85fr);
}

.cmp-portal-shell.has-right-ads:not(.has-left-ads){
  grid-template-columns:minmax(0,85fr) minmax(0,15fr);
}

.cmp-portal-shell:not(.has-left-ads):not(.has-right-ads){
  grid-template-columns:minmax(0,1fr);
}

.cmp-portal-main{
  min-width:0;
}

.cmp-portal-shell--hub-frame{
  gap:0;
}

.cmp-portal-main--hub-intro{
  width:min(90%, 1680px);
  margin:0 auto 24px;
}

.cmp-hub-layout{
  display:grid;
  gap:24px;
  grid-template-columns:minmax(0,15fr) minmax(0,70fr) minmax(0,15fr);
  align-items:start;
}

.cmp-ad-column{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.cmp-ad-slot{
  min-height:0;
  border-radius:22px;
  border:0;
  overflow:visible;
}

.cmp-ad-slot.has-ad{
  border:1px solid var(--cmp-border);
  overflow:hidden;
}

.cmp-ad-slot.has-ad a{
  display:block;
  height:auto;
}

.cmp-ad-slot img{
  width:100%;
  height:auto;
  display:block;
  animation:cmpAdFade 10s ease-in-out infinite;
}

@keyframes cmpAdFade{
  0%,100%{opacity:1}
  50%{opacity:.78}
}

.cmp-news-hub-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(320px,420px);
  gap:28px;
  align-items:end;
  margin-bottom:18px;
}

.cmp-news-hub-copy{
  max-width:none;
}

.cmp-news-hub-badge{
  display:inline-block;
  font-weight:900;
  border-radius:999px;
  padding:7px 12px;
  font-size:12px;
}

.cmp-news-hub-copy h2{
  margin:14px 0 8px;
  font-weight:1000;
  font-size:42px;
  line-height:1.05;
  letter-spacing:-0.03em;
}

.cmp-news-hub-copy p{
  margin:0;
  font-size:19px;
  line-height:1.45;
}

.cmp-news-hub-search{
  display:flex;
  flex-direction:column;
  gap:12px;
  justify-self:end;
  width:min(100%,420px);
}

.cmp-news-hub-search input{
  border:1px solid var(--cmp-border);
  border-radius:999px;
  padding:15px 18px;
  width:100%;
  box-sizing:border-box;
}

.cmp-news-hub-search button{
  align-self:flex-start;
  border:0;
  border-radius:999px;
  padding:16px 20px;
  min-width:122px;
  font-weight:900;
  cursor:pointer;
}

.cmp-news-hub-filters{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:14px 0 22px;
}

.cmp-news-filter{
  display:inline-flex;
  align-items:center;
  border:1px solid var(--cmp-border);
  border-radius:999px;
  padding:10px 14px;
  text-decoration:none;
  font-weight:800;
  font-size:14px;
}

.cmp-news-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
  align-items:stretch;
}

.cmp-news-inline-ad{
  display:none;
}

.cmp-news-card{
  border:1px solid rgba(21,38,126,.10);
  border-radius:28px;
  overflow:hidden;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  min-height:100%;
}

.cmp-news-card:hover{
  transform:translateY(-8px);
}

.cmp-news-body{
  padding:22px;
  display:flex;
  flex-direction:column;
  gap:14px;
  flex:1;
  text-align:left;
}

.cmp-news-top{
  display:flex;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}

.cmp-news-title{
  margin:0;
  font-size:21px;
  line-height:1.18;
  font-weight:900;
  text-align:left;
  min-height:3.54em;
}

.cmp-news-excerpt{
  margin:0;
  font-size:14px;
  line-height:1.65;
  text-align:left;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height:4.95em;
}

.cmp-news-empty{
  padding:16px;
  border:1px dashed rgba(21,38,126,.25);
  border-radius:14px;
}

.cmp-news-pager{
  display:flex;
  gap:10px;
  justify-content:center;
  align-items:center;
  margin:24px 0 0;
  flex-wrap:wrap;
}

.cmp-news-page{
  text-decoration:none;
  border:1px solid var(--cmp-border);
  border-radius:999px;
  padding:11px 15px;
  font-weight:900;
  font-size:14px;
}

.cmp-news-page--info{
  opacity:.9;
}

.cmp-single-news-card{
  border:1px solid var(--cmp-border);
  border-radius:28px;
  padding:28px;
}

.cmp-single-kicker{
  font-size:13px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
  margin-bottom:10px;
}

.cmp-single-title{
  margin:0 0 10px;
  font-size:58px;
  line-height:1.02;
  font-weight:1000;
  letter-spacing:-0.045em;
}

.cmp-single-authorline{
  margin:0 0 12px;
  font-size:16px;
  font-weight:800;
}

.cmp-single-meta{
  font-size:15px;
  margin-bottom:26px;
}

.cmp-single-carousel{
  position:relative;
  margin-bottom:28px;
}

.cmp-single-video{
  position:relative;
  width:100%;
  margin-bottom:28px;
  border-radius:28px;
  overflow:hidden;
}

.cmp-single-video iframe{
  display:block;
  width:100%;
  border:0;
}

.cmp-single-video--horizontal iframe{
  aspect-ratio:16/9;
  min-height:420px;
}

.cmp-single-video--vertical{
  max-width:520px;
  margin-left:auto;
  margin-right:auto;
}

.cmp-single-video--vertical iframe{
  aspect-ratio:9/16;
  min-height:620px;
}

.cmp-single-carousel-viewport{
  overflow:hidden;
  border-radius:28px;
}

.cmp-single-carousel-track{
  display:flex;
  transition:transform .48s ease;
  will-change:transform;
}

.cmp-single-slide{
  flex:0 0 100%;
}

.cmp-single-slide img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:16/9;
  object-fit:cover;
}

.cmp-single-news-card--document .cmp-single-carousel{
  max-width:900px;
  margin-left:auto;
  margin-right:auto;
}

.cmp-single-news-card--document .cmp-single-slide img{
  aspect-ratio:8.5/11;
  object-fit:contain;
}

.cmp-single-carousel-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:52px;
  height:52px;
  border:0;
  border-radius:999px;
  font-size:22px;
  cursor:pointer;
}

.cmp-single-carousel-prev{
  left:16px;
}

.cmp-single-carousel-next{
  right:16px;
}

.cmp-single-content{
  font-size:20px;
  line-height:1.85;
  text-align:justify;
}

.cmp-single-content p{
  margin:0 0 1.55em;
  text-align:justify;
}

.cmp-single-content p + p{
  margin-top:.2em;
}

.cmp-single-content > *:first-child{
  margin-top:0 !important;
}

.cmp-single-content > *:last-child{
  margin-bottom:0 !important;
}

.cmp-single-content h1,
.cmp-single-content h2,
.cmp-single-content h3,
.cmp-single-content h4,
.cmp-single-content h5,
.cmp-single-content h6{
  margin:1.7em 0 .7em;
  line-height:1.22;
  font-weight:900;
}

.cmp-single-content ul,
.cmp-single-content ol{
  margin:0 0 1.5em;
  padding-left:1.6em;
  list-style-position:outside;
}

.cmp-single-content ul{
  list-style:disc;
}

.cmp-single-content ol{
  list-style:decimal;
}

.cmp-single-content li{
  margin:0 0 .35em;
  padding-left:.15em;
  line-height:1.7;
  text-align:left;
}

.cmp-single-content li > ul,
.cmp-single-content li > ol{
  margin-top:.45em;
  margin-bottom:.45em;
}

.cmp-single-content li > p{
  margin:0;
}

.cmp-single-content blockquote{
  margin:0 0 1.5em;
  padding:1.1em 1.25em;
  border-left:4px solid rgba(21,38,126,.24);
  border-radius:0 18px 18px 0;
}

.cmp-single-content hr{
  border:0;
  border-top:1px solid var(--cmp-border);
  margin:2em 0;
}

.cmp-single-content img{
  max-width:100%;
  height:auto;
  border-radius:18px;
}

.cmp-single-content a{
  font-weight:800;
}

.cmp-single-content .post-views,
.cmp-single-content .postviews,
.cmp-single-content .wp-postviews{
  display:none !important;
}

.cmp-single-pdf{
  margin-top:24px;
}

.cmp-single-pdf a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 18px;
  border-radius:999px;
  text-decoration:none;
  font-weight:900;
}

.cmp-single-divider{
  height:1px;
  margin:28px 0 18px;
}

.cmp-single-socialbar{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
}

.cmp-single-mainbtn,
.cmp-single-share-btn{
  border:1px solid var(--cmp-border);
  border-radius:999px;
  padding:12px 16px;
  cursor:pointer;
  font-weight:900;
}

.cmp-single-mainbtn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  transition:background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.cmp-single-mainbtn:hover,
.cmp-single-share-btn:hover{
  transform:translateY(-1px);
}

.cmp-like-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:18px;
  height:18px;
}

.cmp-like-icon svg{
  width:100%;
  height:100%;
  display:block;
  fill:currentColor;
}

.cmp-single-share{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-left:auto;
}

.cmp-single-share-btn{
  width:44px;
  height:44px;
  padding:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition:transform .18s ease, box-shadow .18s ease, color .18s ease, border-color .18s ease;
}

.cmp-share-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:18px;
  height:18px;
}

.cmp-share-icon svg{
  width:100%;
  height:100%;
  display:block;
  fill:currentColor;
}

.cmp-single-tags{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}

.cmp-single-tag{
  display:inline-flex;
  align-items:center;
  padding:9px 12px;
  border-radius:999px;
  text-decoration:none;
  font-size:13px;
  font-weight:800;
}

.cmp-single-credit{
  margin-top:24px;
  font-size:13px;
  text-align:center;
}

@media (max-width: 1480px){
.cmp-portal-shell{
  grid-template-columns:150px minmax(0,1fr) 150px;
}
}

@media (min-width: 1281px){
.cmp-portal-shell--single,
.cmp-portal-shell--hub{
  width:calc(100vw - 48px);
  max-width:none;
  position:relative;
  left:50%;
  transform:translateX(-50%);
  box-sizing:border-box;
}
}

@media (max-width: 1280px){
.cmp-portal-shell{
  width:100%;
  max-width:100%;
  left:auto;
  transform:none;
  grid-template-columns:1fr;
  grid-template-areas:"main"
      "left"
      "right";
}

.cmp-portal-shell.has-left-ads.has-right-ads,
.cmp-portal-shell.has-left-ads:not(.has-right-ads),
.cmp-portal-shell.has-right-ads:not(.has-left-ads),
.cmp-portal-shell:not(.has-left-ads):not(.has-right-ads){
  grid-template-columns:1fr;
}

.cmp-portal-main{
  grid-area:main;
}

.cmp-hub-layout{
  grid-template-columns:1fr;
  grid-template-areas:"main"
      "left"
      "right";
}

.cmp-portal-main--hub-content{
  grid-area:main;
}

.cmp-hub-layout .cmp-ad-column--left{
  grid-area:left;
}

.cmp-hub-layout .cmp-ad-column--right{
  grid-area:right;
}

.cmp-ad-column--left{
  grid-area:left;
}

.cmp-ad-column--right{
  grid-area:right;
}

.cmp-ad-column{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
}

@media (max-width: 860px){
.cmp-news-grid{
  grid-template-columns:1fr;
}

.cmp-single-title{
  font-size:34px;
}

.cmp-single-content{
  font-size:16px;
  line-height:1.75;
}

.cmp-single-video--horizontal iframe,
.cmp-single-video--vertical iframe{
  min-height:auto;
}

.cmp-news-hub-search{
  width:100%;
  max-width:100%;
}

.cmp-portal-shell--hub-frame .cmp-hub-layout > .cmp-ad-column{
  display:none;
}

.cmp-news-inline-ad{
  display:block;
}
}

@media (max-width: 980px){
.cmp-portal-main--hub-intro{
  width:100%;
}

.cmp-news-hub-head{
  grid-template-columns:1fr;
  align-items:start;
}

.cmp-news-hub-search{
  justify-self:stretch;
  width:100%;
  max-width:100%;
}

.cmp-news-hub-search button{
  align-self:flex-start;
}
}

@media (max-width: 640px){
.cmp-ad-column{
  grid-template-columns:1fr;
}

.cmp-ad-slot{
  min-height:0;
}

.cmp-single-news-card{
  padding:18px;
}

.cmp-news-body{
  padding:18px;
}

.cmp-news-title{
  font-size:18px;
  min-height:0;
}

.cmp-news-excerpt{
  min-height:0;
}
}

/* Copia compatible: campo temporal fuera del flujo, sin desplazar la página. */
.cmpnp-copy-buffer{
  position:fixed;
  left:0;
  top:0;
  width:1px;
  height:1px;
  opacity:0;
  pointer-events:none;
}
