/* Fix for breadcrumb covering dropdown menus */
.header-one {
    z-index: 1000 !important;
}

.main-menu ul.nav li ul.sub-menu {
    z-index: 999 !important;
}

.page-area {
    z-index: 1 !important;
}

/* Ensure sticky header remains on top */
.header-area.stick {
    z-index: 999999 !important;
}

/* Mejoras legibilidad desktop (SEO: gap móvil vs desktop) */
@media (min-width: 992px) {
  .container {
    max-width: 1140px;
  }

  .deposite-table table,
  .panel-body,
  .card-body {
    font-size: 16px;
    line-height: 1.6;
  }

  .display-4, .display-5 {
    font-size: 2.25rem;
  }

  .winner-results .winner-inner {
    min-height: 220px;
  }
}

/* Home: tarjetas de últimos sorteos */
.home-draw-cards {
  display: flex;
  flex-wrap: wrap;
}

.home-draw-cards > [class*="col-"] {
  display: flex;
  margin-bottom: 30px;
}

.winner-card-link {
  display: flex;
  flex: 1 1 auto;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.winner-card-link:hover,
.winner-card-link:focus {
  color: inherit;
  text-decoration: none;
}

.home-draw-cards .winner-results {
  flex: 1 1 auto;
  width: 100%;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
}

.home-draw-cards .winner-inner {
  flex: 1 1 auto;
  overflow: hidden;
}

.winner-images--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  font-size: 28px;
  font-weight: 700;
  color: #1FC157;
  background: #f5f5f5;
  border-radius: 4px;
}

.winning-number--wide li span {
  width: auto;
  min-width: 40px;
  padding: 0 10px;
}

/* Fix image aspect ratio for cupón diario logo */
.big-icon img {
    width: auto !important;
    height: 100px !important;
    max-width: 100%;
    object-fit: contain;
}

/* Páginas de pronóstico */
.pronostico-page {
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}

.pronostico-page .panel {
  clear: both;
  overflow: hidden;
}

.pronostico-panel .panel-body {
  overflow: hidden;
}

.pronostico-actions {
  margin-bottom: 0 !important;
}

.pronostico-actions .btn {
  margin: 0 6px 6px 0;
}

.pronostico-prose {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  clear: both;
}

.pronostico-prose p {
  margin-bottom: 0.75rem;
}

.pronostico-page .winning-number {
  display: block;
  margin: 0 auto 10px;
  padding: 0;
  list-style: none;
  text-align: center;
}

.pronostico-page .winning-number li {
  display: inline-block;
  float: none;
  vertical-align: middle;
  margin: 0 2px 6px;
}

.pronostico-page .prediction-extras li b {
  display: inline-block;
  margin-right: 4px;
  font-weight: 600;
}

.pronostico-page .winning-number.euromillones-numbers li span {
  background: #d9534f;
  border-color: #d9534f;
}

.pronostico-page .winning-number.stars li span {
  background: #f0ad4e;
  border-color: #f0ad4e;
}

.pronostico-stats {
  clear: both;
  margin-top: 1.5rem;
}

/* Páginas de resultado reciente (hoy/ayer) */
.draw-result-page {
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}

.draw-result-page .winning-numbers-row {
  margin: 0;
  padding: 0;
}

.draw-result-page .winning-numbers-row li {
  display: inline-block;
  margin: 0 4px 8px;
}

.draw-result-page .winning-numbers-row .label {
  display: inline-block;
  font-size: 18px;
  padding: 8px 14px;
}

.draw-result-page .draw-how-to-play li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* Chartkick: reservar espacio mientras cargan los gráficos */
[id^="chart-"] {
  min-height: 300px;
  margin-bottom: 1.5rem;
}

.pronostico-page .table-responsive {
  margin-bottom: 0;
}

/* Home: bloque de enlaces rápidos */
.home-quick-links .section-headline p {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.home-link-panel {
  margin-bottom: 20px;
  overflow: hidden;
}

.home-link-panel .panel-body {
  overflow: hidden;
  padding: 20px 15px;
}

.home-link-title {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 18px;
}

.home-link-actions .btn {
  display: block;
  width: 100%;
  max-width: 240px;
  margin: 0 auto 8px;
  white-space: normal;
}

.home-link-cta {
  margin-top: 10px;
  clear: both;
}

.home-link-cta .btn {
  white-space: normal;
  max-width: 100%;
}

@media (min-width: 768px) {
  .home-link-actions .btn {
    display: inline-block;
    width: auto;
    min-width: 200px;
    margin: 0 4px 8px;
  }
}

/* Breadcrumb: encabezado de la miga actual (antes era un <h1> duplicado).
   Mantiene el mismo aspecto tanto si es <h1> (main_heading) como <p>. */
.breadcrumb .breadcrumb-current {
  font-family: 'Nunito', sans-serif;
  font-size: 34px;
  line-height: 1.25;
  font-weight: 700;
  color: #29446e;
  margin: 0 auto;
  max-width: 900px;
  padding: 0 15px;
  text-transform: none;
  overflow-wrap: break-word;
}

@media (max-width: 767px) {
  .breadcrumb .breadcrumb-current {
    font-size: 24px;
  }
}

/* Artículos de noticias: título legible, sin mayúsculas forzadas */
.breadcrumb .breadcrumb-current--article {
  text-transform: none;
  font-size: 30px;
  line-height: 38px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 767px) {
  .breadcrumb .breadcrumb-current--article {
    font-size: 22px;
    line-height: 28px;
  }
}

.blog-subtitle {
  font-size: 18px;
  line-height: 1.5;
  color: #666;
  margin: 0 0 15px;
  font-style: italic;
}

/* Logo de cabecera: antes era un <h1> repetido en todas las páginas (SEO). Mismo aspecto, sin semántica de h1. */
.logo .title2 {
  font-family: 'Nunito', sans-serif;
  font-size: 48px;
  line-height: 50px;
  font-weight: 700;
  color: #29446e;
  margin: 0 0 15px;
}

/* Reserva de altura para el título de la banda (evita saltos de layout al cargar la fuente) */
.breadcrumb .section-headline { min-height: 44px; }

/* ==========================================================================
   REDISEÑO 2026 — identidad visual (paleta, tipografía, cabecera, breadcrumb)
   ========================================================================== */

:root {
  --frk-ink: #342fa0;
  --frk-ink-2: #4338ca;
  --frk-primary: #4338ca;
  --frk-gold: #f2b84b;
  --frk-bg: #f6f5fb;
}

body {
  background: var(--frk-bg);
  font-family: "Manrope", "Nunito", sans-serif;
}

h1, h2, h3, h4, h5, h6,
.logo .title2,
.section-headline h3,
.section-headline h4,
.game-card__name,
.result-card__title {
  font-family: "Baloo 2", "Nunito", sans-serif;
}

a:hover,
a:focus {
  color: var(--frk-primary);
}

/* --- Cabecera y menú: fondo siempre claro, el color vive en los acentos --- */
.topbar-area {
  background: var(--frk-ink) !important;
}

.header-area,
.header-area.stick,
.mobile-menu-area {
  background: #fff !important;
  border-bottom: 1px solid #eef0f5;
}

.topbar-left a,
.topbar-left i {
  color: #c7cdf0 !important;
}

.logo .title2 {
  color: var(--frk-ink) !important;
}

.main-menu ul.navbar-nav li a,
.header-area.stick .main-menu ul.navbar-nav li a {
  color: var(--frk-ink);
}

.main-menu ul.navbar-nav li a:hover,
.header-area.stick .main-menu ul.navbar-nav li a:hover,
.main-menu ul.navbar-nav li.active a {
  color: var(--frk-primary);
}

.main-menu ul.nav li ul.sub-menu li a,
.header-area.stick .main-menu ul.nav li ul.sub-menu li a {
  color: var(--frk-ink);
}

/* Menú móvil (meanmenu) */
.mean-container .mean-bar {
  background: #fff;
}

.mean-container a.meanmenu-reveal {
  color: var(--frk-ink);
}

.mean-container a.meanmenu-reveal span {
  background: var(--frk-ink);
}

.mean-container .mean-nav {
  background: var(--frk-bg);
}

.mean-container .mean-nav ul li {
  background: transparent;
  border-top-color: #e4e2f5;
}

.mean-container .mean-nav ul li a {
  color: var(--frk-ink);
  background: transparent;
  border-color: #e4e2f5;
}

.mean-container .mean-nav ul li a:hover {
  color: var(--frk-primary);
  background: rgba(67, 56, 202, .06);
}

.mean-container .mean-nav ul li li a {
  background: rgba(0, 0, 0, .03);
}

/* --- Breadcrumb / banda de título + hero de home: fondo claro, texto oscuro --- */
.winner-area.bg-color {
  background: linear-gradient(135deg, #eef0fb, var(--frk-bg));
  border-bottom: 3px solid var(--frk-primary);
}

.winner-area.bg-color .section-headline h1,
.winner-area.bg-color .section-headline h2,
.winner-area.bg-color .section-headline h3,
.winner-area.bg-color .breadcrumb-current {
  color: var(--frk-ink);
}

.winner-area.bg-color .section-headline p {
  color: #4a5f80;
}

.winner-area.bg-color .breadcrumb ul li a {
  color: var(--frk-primary);
}

.winner-area.bg-color .breadcrumb ul li a:hover {
  color: var(--frk-ink);
}

.winner-area.bg-color .breadcrumb {
  padding: 22px 0;
}

.winner-area.bg-color .breadcrumb .section-headline {
  padding-bottom: 0;
  margin-top: 0;
}

/* --- Footer: fondo claro, borde de color de cierre --- */
.footer-1 {
  background: #fff;
  border-top: 4px solid var(--frk-primary);
}

.footer-area-bottom {
  background: var(--frk-bg);
}

.footer-area-bottom .copyright > p {
  color: #4a5f80;
}

.footer-logo h3,
.footer-head h4 {
  color: var(--frk-ink);
}

.footer-content p {
  color: #4a5f80;
}

.footer-list li a {
  color: #4a5f80;
}

.footer-list li a:hover,
.footer-list li a:hover::after {
  color: var(--frk-primary);
}

/* --- Tarjetas de blog (home): mismo lenguaje redondeado --- */
.single-blog {
  border-radius: 16px;
  overflow: hidden;
}

.blog-content a h4:hover,
.blog-category span,
.admin-type i,
.date-type i,
.comments-type i {
  color: var(--frk-primary);
}

/* --- Bloque "Resultados de lotería y administraciones" --- */
.quicklinks-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

@media (min-width: 768px) {
  .quicklinks-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.quicklinks-card {
  background: #fff;
  border-radius: 16px;
  padding: 18px 20px;
  border-top: 4px solid var(--game-color, var(--frk-primary));
  box-shadow: 0 1px 3px rgba(20, 30, 60, .08);
}

.quicklinks-card__title {
  margin: 0 0 12px;
  font-size: 17px;
}

.quicklinks-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quicklinks-card__list a {
  color: var(--frk-ink);
  font-weight: 700;
  font-size: 14px;
}

.quicklinks-card__list a:hover {
  color: var(--frk-primary);
}

.quicklinks-cta {
  text-align: center;
}

.quicklinks-cta__btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  background: var(--frk-gold);
  color: #4a3200;
  font-weight: 800;
  text-decoration: none;
}

.quicklinks-cta__btn:hover,
.quicklinks-cta__btn:focus {
  color: #4a3200;
  text-decoration: none;
  opacity: .9;
}

/* ==========================================================================
   REDISEÑO 2026 — insignias vectoriales + tarjetas de resultado (mobile-first)
   ========================================================================== */

/* Insignia de icono de línea en marco cuadrado (ver app/helpers/game_badges_helper.rb) */
.game-badge {
  display: block;
  flex-shrink: 0;
}

.game-badge--logo {
  object-fit: contain;
}

.game-badge__frame {
  fill: #fff;
  stroke: var(--badge-color, #29446e);
  stroke-width: 7;
}

.game-badge__icon {
  fill: none;
  stroke: var(--badge-color, #29446e);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.game-badge__icon .game-badge__dot {
  fill: var(--badge-color, #29446e);
  stroke: none;
}

.game-badge__icon .game-badge__glyph {
  fill: var(--badge-color, #29446e);
  stroke: none;
  font-family: "Baloo 2", "Nunito", sans-serif;
  font-weight: 800;
  font-size: 22px;
}

/* Hero: tipografía fluida para que no se desborde en móvil */
.winner-area .section-headline h1 {
  font-size: clamp(1.4rem, 4.5vw + 0.5rem, 2.4rem);
  line-height: 1.25;
}

.winner-area .section-headline h2 {
  font-size: clamp(1.1rem, 2.5vw + 0.5rem, 1.6rem);
}

/* Franja de acceso rápido a juegos (home) — scroll horizontal en móvil */
.game-quicknav {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px 14px;
  margin: 0 0 18px;
  list-style: none;
  scrollbar-width: thin;
}

.game-quicknav li {
  flex: 0 0 auto;
}

.game-quicknav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 84px;
  padding: 10px 6px;
  border-radius: 14px;
  border: 2px solid var(--game-color, #eef0f5);
  text-decoration: none;
  color: #29446e;
  background: #fff;
}

.game-quicknav__item:hover,
.game-quicknav__item:focus {
  color: #29446e;
  text-decoration: none;
  background: color-mix(in srgb, var(--game-color, #29446e) 10%, #fff);
}

.game-quicknav__item span {
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .game-quicknav {
    justify-content: center;
    overflow-x: visible;
    flex-wrap: wrap;
  }
}

/* Rejilla de tarjetas de juego (home) — 1 columna en móvil */
.game-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 0 0 10px;
  list-style: none;
  padding: 0;
}

@media (min-width: 540px) {
  .game-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 992px) {
  .game-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}

.game-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: 16px;
  padding: 14px 16px;
  border: 1px solid #eef0f5;
  border-top: 4px solid var(--game-color, #eef0f5);
  box-shadow: 0 1px 3px rgba(20, 30, 60, .08);
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
}

.game-card:hover,
.game-card:focus {
  color: inherit;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(20, 30, 60, .12);
}

.game-card__body {
  min-width: 0;
  flex: 1 1 auto;
}

.game-card__name {
  margin: 0 0 2px;
  font-size: 16px;
  font-weight: 800;
  color: #29446e;
}

.game-card__date {
  display: block;
  font-size: 12px;
  color: #8a93a6;
  margin-bottom: 6px;
}

.game-card__numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.num-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  border-radius: 50%;
  background: #eef1f6;
  color: #29446e;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
}

.num-chip--star {
  background: #f2b84b;
  color: #5a3b00;
}

.num-chip--wide {
  border-radius: 13px;
  padding: 0 10px;
  min-width: 40px;
}

/* Tarjetas de resultado (listados tipo draw_euromillions#index) */
.result-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 0 20px;
}

.result-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #eef0f5;
  box-shadow: 0 1px 3px rgba(20, 30, 60, .08);
}

.result-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}

.result-card__title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #29446e;
}

.result-card__date {
  display: block;
  font-size: 12px;
  color: #8a93a6;
}

.result-card__numbers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 0 16px 16px;
  margin: 0;
  list-style: none;
}

.result-card__footer {
  display: block;
  text-align: center;
  padding: 10px;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  background: var(--game-color, #29446e);
}

.result-card__footer:hover,
.result-card__footer:focus {
  color: #fff;
  text-decoration: none;
  opacity: .92;
}

@media (min-width: 768px) {
  .num-chip {
    min-width: 32px;
    height: 32px;
    font-size: 15px;
  }

  .result-card__header {
    padding: 16px 20px;
  }

  .result-card__numbers {
    padding: 0 20px 18px;
    gap: 10px;
  }
}

/* Mapa OpenStreetMap: administraciones cerca de mí */
.nearby-offices__map {
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
  margin: 0 0 20px;
  border: 1px solid #eef0f5;
  box-shadow: 0 1px 3px rgba(20, 30, 60, .08);
}

@media (min-width: 768px) {
  .nearby-offices__map {
    height: 420px;
  }
}

.nearby-map__you-marker {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--frk-primary, #4338ca);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--frk-primary, #4338ca), 0 2px 6px rgba(0, 0, 0, .35);
}

/* ==========================================================================
   Tarjetas de lugar (administraciones, localidades, provincias)
   ========================================================================== */

.place-chips {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

@media (min-width: 600px) {
  .place-chips {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .place-chips {
    grid-template-columns: repeat(3, 1fr);
  }
}

.place-chip {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #eef0f5;
  box-shadow: 0 1px 2px rgba(20, 30, 60, .06);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--frk-ink, #342fa0);
  text-decoration: none;
}

.place-chip i {
  margin-top: 2px;
}

.place-chip:hover,
.place-chip:focus {
  border-color: var(--frk-primary, #4338ca);
  color: var(--frk-primary, #4338ca);
  text-decoration: none;
}

.place-chip i {
  color: var(--frk-primary, #4338ca);
}

.place-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

@media (min-width: 600px) {
  .place-grid--2,
  .place-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .place-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.place-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  height: 100%;
  background: #fff;
  border-radius: 16px;
  padding: 16px 18px;
  border: 1px solid #eef0f5;
  box-shadow: 0 1px 3px rgba(20, 30, 60, .08);
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
}

.place-card:hover,
.place-card:focus {
  color: inherit;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(20, 30, 60, .12);
}

.place-card__icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef0fb;
  color: var(--frk-primary, #4338ca);
  font-size: 17px;
}

.place-card__body {
  min-width: 0;
  flex: 1 1 auto;
}

.place-card__title {
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: 800;
  color: var(--frk-ink, #342fa0);
}

.place-card__meta {
  display: block;
  font-size: 13px;
  color: #8a93a6;
  margin-bottom: 2px;
}

.place-card__cta {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--frk-primary, #4338ca);
}

.place-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.place-card__badge {
  flex: 0 0 auto;
  padding: 3px 10px;
  border-radius: 999px;
  background: #eafaf0;
  color: #1f9d55;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

/* ==========================================================================
   Ficha de administración (lottery_offices#show)
   ========================================================================== */

.office-hero {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid #eef0f5;
  box-shadow: 0 1px 3px rgba(20, 30, 60, .08);
  margin-bottom: 20px;
}

.office-hero__title {
  margin: 0 0 12px;
}

.office-hero__address {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #4a5f80;
  margin-bottom: 18px;
  font-size: 15px;
}

.office-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.office-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border: 1.5px solid var(--frk-primary, #4338ca);
  color: var(--frk-primary, #4338ca);
  background: #fff;
}

.office-hero__btn:hover,
.office-hero__btn:focus {
  text-decoration: none;
  opacity: .85;
}

.office-hero__btn--primary {
  background: var(--frk-primary, #4338ca);
  color: #fff;
}

.office-map {
  height: 280px;
  border-radius: 16px;
  overflow: hidden;
  margin: 0 0 10px;
  border: 1px solid #eef0f5;
  box-shadow: 0 1px 3px rgba(20, 30, 60, .08);
}

@media (min-width: 768px) {
  .office-map {
    height: 360px;
  }
}

.office-map__link {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--frk-primary, #4338ca);
}

/* Botón "subir arriba": más pegado al borde derecho, sobre todo en móvil */
#scrollUp {
  right: 16px;
  bottom: 16px;
  background-color: var(--frk-primary, #4338ca);
  border-color: var(--frk-primary, #4338ca);
}

#scrollUp:hover {
  background-color: var(--frk-ink, #342fa0);
  border-color: var(--frk-ink, #342fa0);
}

@media (min-width: 768px) {
  #scrollUp {
    right: 24px;
    bottom: 24px;
  }
}

/* Texto de noticias: el tema reserva 30px de padding fijo incluso en móvil,
   dejando poco ancho útil en pantallas estrechas. */
@media (max-width: 767px) {
  .blog-details .blog-content {
    padding: 16px;
  }
}
