
/* CSS Profesional Periódico R365 Noticias */
* {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  margin: 0;
  padding: 0;
  background-color: #f4f6f9;
  color: #1a1a1a;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* TOPBAR SUPERIOR EN VIVO / ACTUALIDAD */
.site-topbar {
  background: #020712;
  color: #94a3b8;
  font-family: 'Arial', Helvetica, sans-serif;
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 15px;
}

.site-topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.topbar-live {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #dc2626;
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 3px;
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #ffffff;
  animation: pulse-dot-anim 1.5s infinite;
}

@keyframes pulse-dot-anim {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1); }
}

.topbar-date {
  color: #cbd5e1;
  font-weight: 500;
}

.topbar-ticker {
  flex: 1;
  min-width: 280px;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  position: relative;
  background: rgba(15, 23, 42, 0.6);
  padding: 3px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.ticker-label {
  color: #ef4444;
  font-weight: 900;
  font-size: 0.72rem;
  letter-spacing: 0.8px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-transform: uppercase;
}

.ticker-rotator-box {
  flex: 1;
  min-width: 0;
  height: 22px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.ticker-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #e2e8f0;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ticker-link:hover {
  color: #38bdf8;
}

.ticker-category {
  background: #dc2626;
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 3px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.ticker-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticker-nav-controls {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}

.ticker-nav-btn {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  width: 18px;
  height: 18px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: all 0.15s;
}

.ticker-nav-btn:hover {
  background: #dc2626;
  color: #ffffff;
  border-color: #dc2626;
}

/* Transición animada del titular */
.ticker-link.anim-exit {
  opacity: 0;
  transform: translateY(-12px);
}

.ticker-link.anim-enter {
  opacity: 0;
  transform: translateY(12px);
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.topbar-social a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.topbar-social a:hover {
  color: #ef4444;
}

.portal-domain {
  color: #38bdf8 !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px;
}

/* CABECERA PRINCIPAL RD365 NOTICIAS */
header.main-site-header, header {
  background: radial-gradient(circle at center, #071e4d 0%, #03102d 60%, #01081a 100%);
  padding: 0;
  text-align: center;
  border-top: 4px solid #CC0000;
  border-bottom: 2px solid #0284c7;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
}

.header-banner-wrapper {
  max-width: 920px;
  margin: 22px auto 16px;
  padding: 0 15px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner-link {
  display: block;
  width: 100%;
  text-decoration: none;
  line-height: 0;
  transition: filter 0.25s ease, transform 0.25s ease;
}

.banner-link:hover {
  filter: brightness(1.04);
}

.rd365-official-banner {
  width: 100%;
  height: auto;
  max-height: 195px;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0 auto;
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}

/* ACCESIBILIDAD SEO */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* NAVBAR AJUSTADA A LA NUEVA IDENTIDAD */
nav.main-navbar, nav {
  background: #091938;
  border-bottom: 2px solid #CC0000;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  scrollbar-width: none;
}

nav.main-navbar::-webkit-scrollbar, nav::-webkit-scrollbar {
  display: none;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1280px;
  width: 100%;
}

nav a {
  color: #f1f5f9;
  text-decoration: none;
  padding: 13px 14px;
  font-weight: 700;
  font-family: 'Arial', Helvetica, sans-serif;
  text-transform: uppercase;
  font-size: 0.84rem;
  letter-spacing: 0.6px;
  flex-shrink: 0;
  transition: all 0.2s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

nav a:hover, nav a.active {
  color: #ffffff;
  background: rgba(204, 0, 0, 0.25);
  border-bottom: 3px solid #CC0000;
}

.badge-live-sport {
  background: #CC0000;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 1px 5px;
  border-radius: 3px;
  letter-spacing: 0.5px;
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

@media (max-width: 768px) {
  .site-topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .topbar-ticker {
    display: none;
  }
  nav.main-navbar, nav {
    justify-content: flex-start;
  }
  .navbar-inner {
    justify-content: flex-start;
  }
  nav a {
    padding: 11px 10px;
    font-size: 0.78rem;
  }
}

/* BANNER SUPERIOR EDITORIAL (ADBLOCK-RESISTANT) */
.top-commercial-slot {
  max-width: 1200px;
  min-height: 90px;
  margin: 20px auto 10px auto;
  padding: 0 15px;
}

.slot-leaderboard {
  width: 100%;
  min-height: 90px;
  background-color: #e2e8f0;
  border: 2px dashed #94a3b8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #475569;
  font-family: 'Arial', sans-serif;
  font-weight: bold;
  text-align: center;
  padding: 10px;
}

.slot-leaderboard span {
  color: #CC0000;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

/* CONTENEDOR PRINCIPAL */
.main-container {
  display: flex;
  max-width: 1280px;
  margin: 20px auto 50px auto;
  padding: 0 15px;
  gap: 30px;
  align-items: flex-start;
}

/* COLUMNA PRINCIPAL DE NOTICIAS */
.news-content {
  flex: 1;
  min-width: 0;
  background: #ffffff;
  padding: 25px 30px;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

/* BARRA LATERAL (SHOWCASE / PATROCINIOS / VIDEOS) */
.sidebar-panel {
  width: 330px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.commercial-box {
  width: 100%;
  background-color: #e2e8f0;
  border: 2px dashed #94a3b8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #475569;
  font-family: 'Arial', sans-serif;
  text-align: center;
  padding: 15px;
  border-radius: 4px;
}

.commercial-box.box-medium {
  min-height: 250px;
}

.commercial-box.box-halfpage {
  min-height: 600px;
}

.commercial-box span {
  color: #CC0000;
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 5px;
}

/* WIDGET DE VIDEO */
.video-feature-widget {
  background: #0F172A;
  color: #ffffff;
  padding: 15px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.video-feature-widget h3 {
  margin: 0 0 12px 0;
  color: #ef4444;
  font-family: 'Arial', sans-serif;
  text-transform: uppercase;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #334155;
  padding-bottom: 6px;
}

.video-container-box {
  width: 100%;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
}

/* SECCIONES Y TITULARES */
section {
  margin-bottom: 45px;
}

h2.section-title {
  font-family: 'Arial', Helvetica, sans-serif;
  color: #0F172A;
  font-size: 1.6rem;
  font-weight: 800;
  text-transform: uppercase;
  border-bottom: 3px solid #CC0000;
  padding-bottom: 6px;
  margin-top: 0;
  margin-bottom: 22px;
  letter-spacing: 0.5px;
}

/* CUADRICULA DE NOTICIAS */
.newspaper-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.card {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 20px;
  transition: transform 0.15s ease, opacity 0.15s ease;
  position: relative;
}

.card:hover {
  opacity: 0.98;
}

.card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.card:hover .card-title a,
.card-title a:hover {
  color: #CC0000;
}

.card-media-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.card-read-more a {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
}

.card:hover .card-read-more a span,
.card-read-more a:hover span {
  text-decoration: underline;
}

.card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #f1f5f9;
  margin-bottom: 12px;
  border-radius: 4px;
  overflow: hidden;
}

.card-media:empty {
  display: none !important;
}

body.dark-mode .card-media {
  background: #1e293b;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.3s ease;
}

.card-media:hover img {
  transform: scale(1.03);
}

.card-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}



.card-content {
  display: flex;
  flex-direction: column;
}

.card-meta {
  font-family: 'Arial', sans-serif;
  font-size: 0.75rem;
  color: #CC0000;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.card-title {
  font-size: 1.25rem;
  margin: 0 0 8px 0;
  color: #0F172A;
  font-weight: 800;
  line-height: 1.35;
  font-family: 'Arial', Helvetica, sans-serif;
}

.card-excerpt {
  font-size: 0.95rem;
  color: #475569;
  margin: 0;
  line-height: 1.5;
}

/* BOTON MODO OSCURO */
.dark-toggle-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #0F172A;
  color: #ffffff;
  border: 2px solid #CC0000;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: bold;
  font-family: 'Arial', sans-serif;
  font-size: 0.9rem;
  z-index: 9999;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: all 0.2s ease;
}

.dark-toggle-btn:hover {
  background: #CC0000;
}

/* ESTILOS MODO OSCURO */
body.dark-mode {
  background-color: #0b0f19;
  color: #f1f5f9;
}

body.dark-mode header {
  background-color: #111827;
  border-bottom-color: #1f2937;
}

body.dark-mode .logo {
  color: #f8fafc;
}

body.dark-mode .slogan {
  color: #94a3b8;
}

body.dark-mode .news-content {
  background: #111827;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

body.dark-mode .card {
  border-bottom-color: #1f2937;
}

body.dark-mode .card-title,
body.dark-mode .card-title a {
  color: #f8fafc;
}

body.dark-mode .card:hover .card-title a,
body.dark-mode .card-title a:hover {
  color: #CC0000;
}

body.dark-mode .card-excerpt {
  color: #94a3b8;
}

body.dark-mode h2.section-title {
  color: #f8fafc;
  border-bottom-color: #ef4444;
}

body.dark-mode .slot-leaderboard,
body.dark-mode .commercial-box {
  background-color: #1e293b;
  border-color: #334155;
  color: #94a3b8;
}

body.dark-mode .video-feature-widget {
  background: #1e293b;
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .main-container {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 0 15px;
    gap: 20px;
  }
  .news-content {
    width: 100%;
  }
  .sidebar-panel {
    width: 100%;
  }
  .commercial-box {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .logo {
    font-size: 2.2rem;
  }
  .slogan {
    font-size: 0.9rem;
  }
  .main-container {
    padding: 0 10px;
    margin: 10px auto 30px auto;
    gap: 20px;
    width: 100%;
  }
  .news-content {
    padding: 18px 12px;
    width: 100%;
    border-radius: 6px;
  }
  h2.section-title {
    font-size: 1.25rem;
    margin-bottom: 16px;
  }
  .newspaper-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
  }
  .card {
    width: 100%;
    padding: 6px 4px 18px 4px;
  }
  .card-title {
    font-size: 1.15rem;
    line-height: 1.35;
  }
  .card-excerpt {
    font-size: 0.88rem;
  }
  .slot-leaderboard {
    min-height: 55px;
    font-size: 0.8rem;
    padding: 8px;
  }
  .top-commercial-slot {
    margin: 10px auto 5px auto;
    padding: 0 10px;
  }
}

.watermark {
  display: none !important;
}

.watermark img.wm-logo {
  height: 16px;
  width: auto;
  display: block;
}

.watermark span.wm-text {
  color: #ffffff;
  font-family: 'Arial', sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* INTERACTIVIDAD EN LAS TARJETAS */
.card {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: 6px;
  padding: 10px;
}

.card:hover {
  background: #f8fafc;
  transform: translateY(-2px);
}

body.dark-mode .card:hover {
  background: #1e293b;
}

.card-read-more {
  margin-top: 10px;
  display: flex;
  align-items: center;
}

.card-read-more span {
  font-family: 'Arial', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #CC0000;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}

.card:hover .card-read-more span {
  gap: 8px;
  text-decoration: underline;
}

/* ==========================================================================
   MODAL DE LECTURA COMPLETA DE NOTICIAS (DESARROLLO DE CADA NOTICIA)
   ========================================================================== */
.article-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(5px);
  z-index: 100000;
}

.modal-dialog {
  position: relative;
  background: #ffffff;
  width: 100%;
  max-width: 880px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 8px;
  padding: 35px 40px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  z-index: 100001;
  border-top: 6px solid #CC0000;
}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 18px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  font-size: 1.8rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: #CC0000;
  color: #ffffff;
  border-color: #CC0000;
}

.modal-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.modal-cat-badge {
  background: #CC0000;
  color: #ffffff;
  font-family: 'Arial', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-meta {
  font-family: 'Arial', sans-serif;
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 600;
}

.modal-title {
  font-family: 'Arial', Helvetica, sans-serif;
  font-size: 2rem;
  line-height: 1.25;
  color: #0f172a;
  font-weight: 900;
  margin: 0 0 20px 0;
}

.modal-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #f1f5f9;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 25px;
}

.modal-media:empty {
  display: none !important;
}

body.dark-mode .modal-media {
  background: #1e293b;
}

.modal-media img, .modal-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* BARRA DE COMPARTIR */
.modal-share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #f8fafc;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.modal-share-bar span {
  font-family: 'Arial', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
}

.share-btn {
  font-family: 'Arial', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  transition: opacity 0.2s ease;
}

.share-btn:hover {
  opacity: 0.9;
}

.share-wa { background: #25D366; }
.share-tw { background: #000000; }
.share-fb { background: #1877F2; }
.share-copy { background: #475569; }

/* CUERPO DEL ARTICULO */
.modal-article-body {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1.18rem;
  line-height: 1.85;
  color: #1e293b;
}

.modal-article-body p {
  margin-bottom: 1.4rem;
}

.modal-article-body strong {
  color: #0f172a;
  font-weight: 700;
}

.modal-article-body h2, .modal-article-body h3 {
  font-family: 'Arial', sans-serif;
  font-size: 1.35rem;
  color: #0f172a;
  margin: 1.8rem 0 0.8rem 0;
  border-left: 4px solid #CC0000;
  padding-left: 10px;
}

.modal-article-body .news-signature {
  border-top: 1px solid #e2e8f0;
  padding-top: 18px;
  margin-top: 30px;
  color: #64748b;
  font-size: 0.95rem;
  font-style: italic;
}

.modal-footer-editorial {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 2px solid #0f172a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.modal-footer-editorial p {
  margin: 0;
  font-family: 'Arial', sans-serif;
  font-size: 0.85rem;
  color: #64748b;
}

.modal-return-btn {
  background: #0f172a;
  color: #ffffff;
  border: none;
  padding: 10px 18px;
  border-radius: 4px;
  font-family: 'Arial', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.modal-return-btn:hover {
  background: #CC0000;
}

/* MODO OSCURO PARA EL MODAL */
body.dark-mode .modal-dialog {
  background: #0f172a;
  color: #f1f5f9;
  border-top-color: #ef4444;
}

body.dark-mode .modal-close-btn {
  background: #1e293b;
  color: #f1f5f9;
  border-color: #334155;
}

body.dark-mode .modal-close-btn:hover {
  background: #ef4444;
  border-color: #ef4444;
}

body.dark-mode .modal-title {
  color: #f8fafc;
}

body.dark-mode .modal-share-bar {
  background: #1e293b;
  border-color: #334155;
}

body.dark-mode .modal-share-bar span {
  color: #94a3b8;
}

body.dark-mode .modal-article-body {
  color: #cbd5e1;
}

body.dark-mode .modal-article-body strong {
  color: #f8fafc;
}

body.dark-mode .modal-article-body h2, 
body.dark-mode .modal-article-body h3 {
  color: #f8fafc;
  border-left-color: #ef4444;
}

body.dark-mode .modal-article-body .news-signature {
  border-top-color: #334155;
  color: #94a3b8;
}

body.dark-mode .modal-footer-editorial {
  border-top-color: #334155;
}

body.dark-mode .modal-footer-editorial p {
  color: #94a3b8;
}

body.dark-mode .modal-return-btn {
  background: #334155;
}

body.dark-mode .modal-return-btn:hover {
  background: #ef4444;
}

@media (max-width: 768px) {
  .modal-dialog {
    padding: 25px 18px;
  }
  .modal-title {
    font-size: 1.45rem;
  }
  .modal-article-body {
    font-size: 1.05rem;
  }
  .modal-footer-editorial {
    flex-direction: column;
    align-items: flex-start;
  }
}

