/* ==========================================================
   CABECERA ALTERNATIVA INSPIRADA EN ARAGONDIGITAL.ES
   Sustituye tu <header> actual por el bloque HTML adjunto
   y añade este CSS al final de tu hoja principal o cárgalo aparte.
   ========================================================== */

.ad-header-alt {
  position: relative;
  z-index: 30;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
}

.ad-header-alt a {
  text-decoration: none;
}

.ad-topbar {
  background: #f5f5f5;
  border-bottom: 1px solid #ececec;
  font-size: 12px;
  line-height: 1;
}

.ad-topbar__inner,
.ad-brandbar__inner,
.ad-trending-topics__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ad-topbar__inner {
  min-height: 38px;
  gap: 16px;
}

.ad-topbar__right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.ad-topbar__left .ad-date {
font-family:"Poppins",sans-serif;font-weight:700;
}

.ad-date,
.ad-account-links a {
  color: #444;
  font-weight: 600;
}

.ad-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ad-social a {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #666;
  border-radius: 50%;
  transition: background-color .2s ease, color .2s ease;
}

.ad-social a:hover {
  background: #cc0000;
  color: #fff;
}

.ad-sep {
  color: #999;
  margin: 0 4px;
}

.ad-brandbar {
  background: #fff;
  border-bottom: 1px solid #efefef;
}

.ad-brandbar__inner {
  min-height: 86px;
  gap: 16px;
}

.ad-menu-btn,
.ad-search-btn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e3e3e3;
  background: #fff;
  color: #222;
  cursor: pointer;
  transition: all .2s ease;
  flex: 0 0 42px;
}

.ad-menu-btn:hover,
.ad-search-btn:hover {
  border-color: #cc0000;
  color: #cc0000;
}

.ad-menu-btn {
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

.ad-menu-btn span {
  width: 18px;
  height: 2px;
  background: currentColor;
  display: block;
}

.ad-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
}

/* .ad-logo {
  max-height: 56px;
  width: auto;
}*/

/* LOGO MÁS GRANDE */
.ad-logo img{
    height: 75px;
    width: auto;
    display: block;
}

/* AJUSTE HEADER PARA CENTRADO VERTICAL */
.ad-header{
    display: flex;
    align-items: center;
}
/* LOGIN */
.login-fullscreen {
    position: relative;
    width: 100%;
    min-height: 15vh;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
}

.login-box {
    background: #fff;
    padding: 20px 40px;
    border-radius: 20px;
    width: 100%;
    max-width: 800px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    text-align: center;
}

.login-box h2 {
    margin-bottom: 30px;
    font-weight: 700;
    color: #111;
}

/* FILA HORIZONTAL */
.login-box form .form-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.login-box form .form-row .form-group {
    position: relative;
    flex: 1 1 0;
    width: auto;
    margin-bottom: 0;
}

.login-box input {
    width: 100%;
    padding: 14px 14px 14px 45px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 15px;
    transition: 0.3s;
    box-sizing: border-box;
}

.login-box input:focus {
    border-color: #003366;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,51,102,0.15);
}

.icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
    z-index: 2;
}

.login-box button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: #003366;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.login-box button:hover {
    background: #6b3f91;
}

.login-footer {
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

.login-footer a {
    color: #003366;
    text-decoration: none;
    font-weight: 500;
}

/* SOLO en móvil apilados */
@media (max-width: 640px) {
    .login-box form .form-row {
        flex-direction: column;
    }

    .login-box form .form-row .form-group {
        width: 100%;
    }
}

/* responsive */
@media (max-width: 600px){
    .form-row {
        flex-direction: column;
    }

    .form-group {
        width: 100%;
    }
}

/* OPCIONAL: en móvil un poco más pequeño para que no rompa */
@media (max-width: 768px){
    .ad-logo img{
        height: 75px;
    }
}

.ad-trending-topics {
  background: #fff;
  border-bottom: 1px solid #efefef;
}

.ad-trending-topics__inner {
  min-height: 48px;
  gap: 14px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.ad-topics-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  background: #cc0000;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}

.ad-trending-topics a {
  font-size: 13px;
  font-weight: 700;
  color: #222;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.ad-trending-topics a:hover {
  color: #cc0000;
}

.ad-mainnav-wrap {
  background: #fff;
  border-bottom: 3px solid #cc0000;
}

.ad-mainnav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.ad-mainnav__list > li {
  position: relative;
}

.ad-mainnav__list > li > a {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 800;
  color: #171717;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.ad-mainnav__list > li > a:hover,
.ad-mainnav__list > li.ad-mainnav__more > a {
  color: #cc0000;
}

.ad-mainnav__list > li > a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 8px;
  height: 2px;
  background: #cc0000;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}

.ad-mainnav__list > li > a:hover::after {
  transform: scaleX(1);
}

/* Ajuste para integrarlo con tu home actual */
.home-custom {
  padding-top: 0;
}
/* Agencia aragonesa de noticias texto en cabecera */
.ad-brandbar__inner {
  display: flex;
  align-items: center; /* centra verticalmente */
}
.denominacion {
  font-size: 1.50rem;
  display: flex;
  align-items: center; /* centra verticalmente */
margin-left:25px;
}

@media (max-width: 991px) {
  .ad-topbar {
    display: none;
  }

  .ad-brandbar__inner {
    min-height: 74px;
  }

  .ad-logo {
    max-height: 75px;
  }

  .ad-trending-topics__inner {
    min-height: 42px;
    gap: 10px;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .ad-trending-topics__inner::-webkit-scrollbar {
    display: none;
  }

  .ad-mainnav__list {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .ad-mainnav__list::-webkit-scrollbar {
    display: none;
  }

  .ad-mainnav__list > li > a {
    min-height: 48px;
    padding: 0 14px;
    font-size: 13px;
    white-space: nowrap;
  }
}

@media (max-width: 575px) {
  .ad-brandbar__inner {
    min-height: 68px;
  }

  .ad-menu-btn,
  .ad-search-btn {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .ad-logo {
    max-height: 75px;
  }

  .ad-trending-topics {
    display: none;
  }

  .ad-mainnav__list > li > a {
    min-height: 44px;
    padding: 0 12px;
    font-size: 12px;
  }
	
	.denominacion {
  font-size: 100%;
  display: flex;
  align-items: center; /* centra verticalmente */
		text-aling: center;
		clear: both;
		width:100%
}
	
}


/* ===== Menú móvil lateral para Aragón Press ===== */
.ad-mobile-menu-modal .modal-content {
  min-height: 100vh;
}

.ad-mobile-menu-modal .modal-header {
  align-items: center;
}

.ad-mobile-nav {
  width: 100%;
}

.ad-mobile-nav .nav-item {
  border-bottom: 1px solid #ececec;
}

.ad-mobile-nav .nav-link {
  display: block;
  padding: 14px 0;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.ad-mobile-nav .nav-link:hover {
  color: #cc0000 !important;
}

@media (min-width: 992px) {
  .ad-mobile-menu-modal {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .ad-mainnav-wrap {
    display: none;
  }
}


/* ===== Menú móvil lateral funcional ===== */
.ad-mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
}

.ad-mobile-menu-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: min(86vw, 380px);
  max-width: 100%;
  height: 100%;
  background: #fff;
  box-shadow: 0 0 30px rgba(0,0,0,.15);
  transform: translateX(-100%);
  transition: transform .28s ease;
  display: flex;
  flex-direction: column;
}

.ad-mobile-menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ad-mobile-menu-overlay.is-open .ad-mobile-menu-panel {
  transform: translateX(0);
}

.ad-mobile-menu-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px;
  border-bottom: 1px solid #ececec;
}

.ad-mobile-menu-head .widget__form-search-bar {
  flex: 1 1 auto;
}

.ad-mobile-menu-close {
  width: 40px;
  height: 40px;
  border: 1px solid #e3e3e3;
  background: #fff;
  color: #222;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  flex: 0 0 40px;
}

.ad-mobile-menu-body {
  padding: 0 16px 20px;
  overflow-y: auto;
}

body.ad-mobile-menu-open {
  overflow: hidden;
}

@media (min-width: 992px) {
  .ad-menu-btn {
    display: none;
  }

  .ad-mobile-menu-overlay {
    display: none !important;
  }

  .ad-mainnav-wrap {
    display: block;
  }
}

@media (max-width: 991px) {
  .ad-mainnav-wrap {
    display: none !important;
  }

  .ad-menu-btn {
    display: inline-flex;
  }
}


.article-page-custom{background:#fff}
.article-shell{padding-top:40px;padding-bottom:60px}
.article-header-full{max-width:980px;}
.article-kicker{display:inline-flex;align-items:center;font-size:13px;font-weight:700;letter-spacing:1.6px;text-transform:uppercase;color:#c00;margin-bottom:14px}
.article-hero-title{font-size: clamp(2rem, 3.5vw, 3.3rem);line-height:1.06;margin-bottom:18px;color:#003366;font-weight:900}
.article-hero-subtitle{font-size:1.35rem;line-height:1.45;color:#5a5a5a;font-weight:500;margin-bottom:0}
.article-main-media{margin:0 0 18px}
.article-main-media img{width:100%;display:block;border-radius:10px}
.article-main-media figcaption{margin-top:10px;font-size:.92rem;color:#003366;text-align:right; }
.article-meta-strip{display:flex;align-items:center;justify-content:space-between;gap:22px;flex-wrap:wrap;border-top:1px solid #ececec;border-bottom:1px solid #ececec;padding:18px 0 22px;margin-bottom:28px}
.article-meta-author{display:flex;align-items:center;gap:14px}
.article-author-avatar{width:52px;height:52px;border-radius:50%;object-fit:cover;flex:0 0 52px}
.article-meta-label{font-size:11px;text-transform:uppercase;letter-spacing:1.4px;color:#888;font-weight:700}
.article-meta-value{font-size:1rem;font-weight:700;color:#111}
.article-meta-dates{font-size:.95rem;color:#555;display:grid;gap:4px}
.article-meta-share{display:flex;align-items:center;gap:10px;font-size:.95rem;color:#666;font-weight:600}
.article-meta-share a{width:34px;height:34px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#f3f3f3;color:#222}
.article-meta-share a:hover{background:#c00;color:#fff;text-decoration:none}
.article-two-columns{align-items:flex-start}
.article-body-card{padding-right:22px}
.article-body-card p{font-size:1.08rem;line-height:1.85;color:#262626;margin-bottom:1.35rem}
.article-body-card .article-lead{font-size:1.2rem;line-height:1.85;color:#1c1c1c;font-weight:500}
.article-body-card h2{margin:2.4rem 0 1rem;font-size:1.45rem;line-height:1.25;text-transform:uppercase;color:#111}
.article-index-box{background:#faf7f7;border:1px solid #f0dede;border-left:4px solid #c00;border-radius:10px;padding:20px 22px;margin:28px 0 34px}
.article-index-title{font-size:.85rem;letter-spacing:1.4px;font-weight:800;color:#c00;margin-bottom:12px}
.article-index-box ol{margin:0;padding-left:18px}
.article-index-box li{margin-bottom:10px}
.article-index-box a{font-weight:700;color:#111}
.article-index-box a:hover{color:#c00;text-decoration:none}
.article-sidebar{top:24px}
.article-sidebar-block{background:#fff;border:1px solid #ececec;border-radius:12px;padding:24px 20px;margin-bottom:24px;box-shadow:0 10px 25px rgba(0,0,0,.04)}
.article-sidebar-list{display:grid;gap:16px}
.article-sidebar-item{display:grid;grid-template-columns:34px 1fr;gap:14px;align-items:flex-start;color:#111}
.article-sidebar-item:hover{text-decoration:none}
.article-sidebar-number{width:34px;height:34px;border-radius:50%;background:#c00;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:800;font-size:.95rem}
.article-sidebar-text{font-weight:700;line-height:1.45}
.article-categories-tags .list-inline-item{margin:0 8px 10px 0}
.article-categories-tags a{display:inline-block;padding:8px 14px;border-radius:999px;background:#f4f4f4;color:#111;font-weight:700;font-size:.9rem}
.article-categories-tags a:hover{background:#c00;color:#fff;text-decoration:none}
.article-mini-card{align-items:center}
.article-mini-card .image-sm{max-width:110px;flex:0 0 110px}
.article-mini-card .card__post__title h6{font-size:15px;line-height:1.35;margin-bottom:0}
@media (max-width: 991.98px){
  .article-hero-title{font-size:2.55rem}
  .article-hero-subtitle{font-size:1.15rem}
  .article-body-card{padding-right:0}
  .article-sidebar{position:static !important;top:auto}
}
@media (max-width: 767.98px){
  .article-shell{padding-top:22px}
  .article-hero-title{font-size:2rem}
  .article-hero-subtitle{font-size:1rem}
  .article-meta-strip{display:block}
  .article-meta-author,.article-meta-dates{margin-bottom:16px}
  .article-meta-share{flex-wrap:wrap}
  .article-body-card p{font-size:1rem;line-height:1.75}
  .article-body-card .article-lead{font-size:1.08rem}
}

.category-page-custom{background:#f5f6f8;}
.category-header-full{padding-bottom:1.5rem;border-bottom:1px solid #e3e6ea;margin-bottom:2rem;}
.category-list-wrap{display:block;}
.category-featured-card{background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 12px 35px rgba(0,0,0,.06);margin-bottom:28px;}
.category-featured-media img{width:100%;display:block;aspect-ratio:16/9;object-fit:cover;}
.category-featured-content{padding:24px 26px 28px;}
.category-featured-content h2{font-size:2rem;line-height:1.15;margin:10px 0 12px;font-weight:700;}
.category-featured-content h2 a,.category-list-body h3 a{color:#111;text-decoration:none;}
.category-featured-content h2 a:hover,.category-list-body h3 a:hover{color:#c00;}
.category-featured-content p{font-size:1.05rem;color:#4c5561;margin:0;}
.category-meta-row{display:flex;gap:16px;flex-wrap:wrap;font-size:.9rem;color:#7a838d;margin-top:14px;}
.category-list-stack{display:flex;flex-direction:column;gap:20px;}
.category-list-card{display:flex;gap:22px;background:#fff;border-radius:18px;padding:18px;box-shadow:0 10px 28px rgba(0,0,0,.05);align-items:flex-start;}
.category-list-thumb{flex:0 0 260px;max-width:260px;}
.category-list-thumb img{width:100%;border-radius:14px;aspect-ratio:4/3;object-fit:cover;}
.category-list-body{flex:1 1 auto;}
.category-list-body h3{font-size:1.45rem;line-height:1.22;margin:8px 0 10px;font-weight:700;}
.category-list-body p{margin:0;color:#4c5561;font-size:1rem;}
.category-pagination{margin-top:30px;}
.category-pagination .pagination{justify-content:center;}
@media (max-width:991.98px){.category-list-card{flex-direction:column;}.category-list-thumb{max-width:none;flex:1 1 auto;}.article-sidebar{margin-top:30px;position:static!important;}}

.wrapper__list__article h4 {color:#003366}
.bg__footer-dark {background-color: #003366;
}
