/* ==========================================================================
   Radio Fontibón 107.8 FM - Public Portal CSS (Subfase 5A.2 Responsive & Assets)
   ========================================================================== */

:root {
  --pub-primary: #002a5c;
  --pub-primary-hover: #001f44;
  --pub-accent: #d62828;
  --pub-accent-hover: #b81d1d;
  --pub-live-green: #10b981;
  --pub-bg: #f8fafc;
  --pub-surface: #ffffff;
  --pub-text-main: #1e293b;
  --pub-text-muted: #64748b;
  --pub-border: #f1f5f9;
  --pub-radius-lg: 16px;
  --pub-radius-md: 12px;
  --pub-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --pub-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --pub-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--pub-font-family);
  font-size: 16px;
  line-height: 1.5;
  color: var(--pub-text-main);
  background-color: var(--pub-bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Skip Link para Accesibilidad */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--pub-accent);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  border-radius: 0 0 8px 8px;
  z-index: 9999;
  transition: top 0.2s ease;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid #ffffff;
}

:focus-visible {
  outline: 3px solid var(--pub-accent);
  outline-offset: 2px;
}

/* Topbar Superior Delgada */
.pub-topbar {
  background-color: #0f172a;
  color: #cbd5e1;
  font-size: 0.75rem;
  padding: 0.5rem 1rem;
}

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

.pub-date-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pub-social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pub-social-link {
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
}

.pub-social-link:hover, .pub-social-link:focus-visible {
  color: #ffffff;
  transform: scale(1.15);
}

.pub-social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Header & Marca & Banner Proporcionado */
.pub-header {
  background-color: var(--pub-surface);
  box-shadow: var(--pub-shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.pub-header-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.pub-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
}

.pub-brand-logo {
  height: 64px;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.pub-brand:hover .pub-brand-logo {
  transform: scale(1.04);
}

.pub-brand-title {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--pub-primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.pub-brand-title span {
  color: #2563eb;
}

.pub-brand-slogan {
  font-size: 0.875rem;
  color: var(--pub-text-muted);
  font-weight: 500;
}

/* Banner Promocional */
.pub-banner-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-left: auto;
}

.pub-header-banner {
  display: block;
  width: 100%;
  max-width: 460px;
  height: auto;
  border-radius: 6px;
  transition: opacity 0.2s ease;
}

.pub-header-banner:hover {
  opacity: 0.92;
}




/* Navegación Principal */
.pub-nav-wrapper {
  background-color: var(--pub-primary);
  color: #ffffff;
}

.pub-nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pub-nav-list {
  display: flex;
  list-style: none;
}

.pub-nav-link {
  display: block;
  padding: 0.75rem 1.25rem;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.pub-nav-link:hover,
.pub-nav-link:focus-visible,
.pub-nav-link.is-active {
  background-color: rgba(255, 255, 255, 0.15);
}

.pub-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.875rem;
}

/* Main Layout Grid con Reordenamiento Flex en Móvil */
.pub-main-content {
  max-width: 1280px;
  margin: 1.5rem auto;
  padding: 0 1rem;
  flex: 1;
  width: 100%;
}

.pub-layout-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pub-sidebar-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  order: 1; /* En móvil, el sidebar (con radio) va PRIMERO */
}

.pub-radio-widget {
  order: 1; /* El reproductor va en la parte superior en móvil */
}

.pub-sidebar-card {
  order: 3; /* Lo más leído va después de las noticias en móvil */
}

.pub-news-column {
  order: 2; /* Noticias van en segundo lugar en móvil */
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Grid de escritorio (≥ 1024px) */
@media (min-width: 1024px) {
  .pub-layout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
  }

  .pub-news-column {
    order: 1;
  }

  .pub-sidebar-column {
    order: 2;
  }

  .pub-radio-widget {
    order: 1;
  }

  .pub-sidebar-card {
    order: 2;
  }
}

/* Titular Sección con Barra Roja */
.pub-section-header {
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 0.5rem;
}

.pub-section-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1e293b;
  position: relative;
  display: inline-block;
}

.pub-section-title-bar {
  position: absolute;
  bottom: -9px;
  left: 0;
  width: 50%;
  height: 4px;
  background-color: var(--pub-accent);
  border-radius: 9999px;
}

/* Hero Card Destacada */
.pub-hero-card {
  display: block;
  position: relative;
  height: 380px;
  border-radius: var(--pub-radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.pub-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pub-hero-card:hover .pub-hero-img {
  transform: scale(1.04);
}

.pub-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
}

.pub-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  color: #ffffff;
}

.pub-badge {
  display: inline-block;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

.pub-hero-title {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.5rem;
  color: #ffffff;
  transition: color 0.2s ease;
}

.pub-hero-card:hover .pub-hero-title {
  color: #6ee7b7;
}

.pub-hero-summary {
  font-size: 0.9375rem;
  color: #d1d5db;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Grid de Noticias Secundarias */
.pub-news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .pub-news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pub-news-card {
  background: var(--pub-surface);
  border-radius: var(--pub-radius-md);
  border: 1px solid var(--pub-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  box-shadow: var(--pub-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pub-news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--pub-shadow-hover);
}

.pub-news-card-img-wrapper {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.pub-news-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pub-news-card:hover .pub-news-card-img {
  transform: scale(1.08);
}

.pub-card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.pub-news-card-body {
  padding: 1.25rem;
  flex: 1;
}

.pub-news-card-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.pub-news-card:hover .pub-news-card-title {
  color: var(--pub-accent);
}

/* Sidebar Column & Widget Reproductor Compacto */
.pub-radio-widget {
  background-color: #0f172a;
  border-radius: var(--pub-radius-lg);
  padding: 1.25rem;
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid #1e293b;
  box-shadow: 0 15px 20px -5px rgba(0, 0, 0, 0.2);
}

.pub-radio-widget-bg-decor1 {
  position: absolute;
  top: -2.5rem;
  right: -2.5rem;
  width: 8rem;
  height: 8rem;
  background-color: var(--pub-primary);
  border-radius: 50%;
  filter: blur(24px);
  opacity: 0.5;
}

.pub-radio-widget-bg-decor2 {
  position: absolute;
  bottom: -2.5rem;
  left: -2.5rem;
  width: 8rem;
  height: 8rem;
  background-color: var(--pub-accent);
  border-radius: 50%;
  filter: blur(24px);
  opacity: 0.3;
}

.pub-radio-widget-inner {
  position: relative;
  z-index: 10;
}

.rfm-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.rfm-status-live {
  background-color: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.rfm-status-offline, .rfm-status-blocked {
  background-color: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.rfm-status-connecting {
  background-color: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

.rfm-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: currentColor;
}

.rfm-status-live .rfm-status-dot {
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.2); }
  100% { opacity: 1; transform: scale(1); }
}

.pub-radio-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.15rem;
}

.pub-radio-subtitle {
  font-size: 0.8125rem;
  color: #cbd5e1;
  margin-bottom: 1rem;
}

/* Ecualizador Compacto */
.rfm-equalizer {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 4px;
  height: 28px;
  margin-bottom: 1rem;
  opacity: 0.3;
  transition: opacity 0.3s ease;
}

.rfm-equalizer.is-animated {
  opacity: 1;
}

.rfm-bar {
  width: 4px;
  background-color: var(--pub-accent);
  border-radius: 2px;
  height: 20%;
}

.rfm-equalizer.is-animated .rfm-bar {
  animation: eq-bounce 1s infinite ease-in-out alternate;
}

.rfm-equalizer.is-animated .rfm-bar:nth-child(1) { animation-delay: 0.1s; }
.rfm-equalizer.is-animated .rfm-bar:nth-child(2) { animation-delay: 0.3s; }
.rfm-equalizer.is-animated .rfm-bar:nth-child(3) { animation-delay: 0.2s; }
.rfm-equalizer.is-animated .rfm-bar:nth-child(4) { animation-delay: 0.4s; }
.rfm-equalizer.is-animated .rfm-bar:nth-child(5) { animation-delay: 0.15s; }

@keyframes eq-bounce {
  0% { height: 15%; }
  100% { height: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .rfm-equalizer.is-animated .rfm-bar,
  .rfm-status-live .rfm-status-dot {
    animation: none !important;
  }
}

/* Controles de Radio Compactos */
.pub-radio-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.rfm-play-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--pub-accent);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 12px -3px rgba(214, 40, 40, 0.4);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.rfm-play-btn:hover, .rfm-play-btn:focus-visible {
  background-color: var(--pub-accent-hover);
  transform: scale(1.06);
}

.rfm-play-btn svg {
  fill: currentColor;
}

.pub-radio-btn-text {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.rfm-volume-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 200px;
  color: #94a3b8;
}

.rfm-volume-slider {
  width: 100%;
  height: 4px;
  background-color: #334155;
  border-radius: 4px;
  appearance: none;
  cursor: pointer;
  accent-color: var(--pub-accent);
}

/* Widget Lo Más Leído */
.pub-sidebar-card {
  background: var(--pub-surface);
  border-radius: var(--pub-radius-md);
  border: 1px solid var(--pub-border);
  padding: 1.25rem;
  box-shadow: var(--pub-shadow);
}

.pub-sidebar-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 0.875rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--pub-border);
}

.pub-top-read-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pub-top-read-item {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  padding: 0.4rem 0.5rem;
  border-radius: 6px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.pub-top-read-item:hover {
  background-color: #f1f5f9;
  transform: translateX(3px);
}

.pub-top-read-item:focus-visible {
  outline: 3px solid var(--pub-accent);
  outline-offset: 2px;
}

.pub-top-read-num {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
  flex-shrink: 0;
}

.pub-top-read-item-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.pub-top-read-item:hover .pub-top-read-item-title,
.pub-top-read-item:focus-visible .pub-top-read-item-title {
  color: var(--pub-accent);
}


/* Footer */
.pub-footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 1.75rem 1rem;
  margin-top: auto;
  border-top: 1px solid #1e293b;
  text-align: center;
  font-size: 0.875rem;
}

.pub-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

/* Responsive Media Queries para Móviles y Tabletas */
@media (max-width: 768px) {
  .pub-header-main {
    flex-direction: column;
    text-align: center;
    padding: 0.75rem;
  }

  .pub-banner-container {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    justify-content: center;
    margin-top: 0.25rem;
  }

  .pub-header-banner {
    width: 100%;
    max-width: 100%;
    height: auto;
  }



  .pub-menu-btn {
    display: inline-flex;
  }

  .pub-nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: var(--pub-primary);
    padding: 0.5rem 0;
  }

  .pub-nav-list.is-active {
    display: flex;
  }

  .pub-nav-link {
    padding: 0.75rem 1rem;
    border-bottom: none;
    border-left: 4px solid transparent;
  }

  .pub-nav-link.is-active {
    border-left-color: var(--pub-accent);
  }

  .pub-hero-card {
    height: 320px;
  }

  .pub-hero-title {
    font-size: 1.25rem;
  }

  .pub-radio-widget {
    padding: 1rem;
  }
}

/* Responsive Video Embeds (YouTube, Vimeo, etc.) */
.pub-article-content iframe,
iframe.pub-video-embed {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 240px;
  border-radius: 12px;
  border: none;
  margin: 1.5rem 0;
  display: block;
}

.pub-video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  margin: 1.5rem 0;
}

.pub-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

/* ==========================================================================
   Tipografía y Formato Editorial de Noticias (.pub-article-content)
   ========================================================================== */
.pub-article-content strong,
.pub-article-content b,
strong,
b {
  font-weight: 700;
  color: inherit;
}

.pub-article-content em,
.pub-article-content i,
em,
i {
  font-style: italic;
}

.pub-article-content u,
u {
  text-decoration: underline;
}

.pub-article-content p {
  margin-bottom: 1.25rem;
}

.pub-article-content ul,
.pub-article-content ol {
  margin: 1rem 0 1.25rem 1.75rem;
}

.pub-article-content li {
  margin-bottom: 0.5rem;
}

.pub-article-content h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 2rem 0 0.75rem 0;
  color: #0f172a;
}

.pub-article-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 1.75rem 0 0.5rem 0;
  color: #0f172a;
}

.pub-article-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 1.5rem 0 0.5rem 0;
  color: #0f172a;
}

.pub-article-content blockquote {
  border-left: 4px solid var(--pub-accent);
  padding: 0.75rem 1.25rem;
  margin: 1.5rem 0;
  background: #f8fafc;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #475569;
}

/* Alineaciones editoriales de texto */
.pub-article-content .text-left,
.text-left {
  text-align: left;
}

.pub-article-content .text-center,
.text-center {
  text-align: center;
}

.pub-article-content .text-right,
.text-right {
  text-align: right;
}

.pub-article-content .text-justify,
.text-justify {
  text-align: justify;
}

/* ==========================================================================
   Imágenes Incrustadas en el Cuerpo del Artículo (.pub-article-content)
   ========================================================================== */
.pub-article-content figure,
.pub-article-content .post-media-figure {
  display: block;
  max-width: 100%;
  margin: 1.75rem auto;
  text-align: center;
  clear: both;
}

.pub-article-content img,
.pub-article-content .post-media-img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
  object-fit: cover;
}

.pub-article-content figcaption,
.pub-article-content .post-media-caption {
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--pub-text-muted, #64748b);
  margin-top: 0.5rem;
  text-align: center;
  max-width: 100%;
  word-break: break-word;
}

.pub-article-content .post-media-credit {
  font-weight: 600;
  color: #475569;
}

@media (max-width: 768px) {
  .pub-article-content figure,
  .pub-article-content .post-media-figure {
    margin: 1.25rem auto;
  }

  .pub-article-content img,
  .pub-article-content .post-media-img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
  }

  .pub-article-content figcaption,
  .pub-article-content .post-media-caption {
    font-size: 0.8rem;
    margin-top: 0.35rem;
  }
}

/* ==========================================================================
   Botón y Menú de Compartir Noticia (.pub-share-wrapper)
   ========================================================================== */
.pub-share-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  padding: 0.6rem 0;
  margin-bottom: 1.5rem;
}

.pub-share-wrapper .pub-article-meta {
  border: none;
  padding: 0;
  margin: 0;
}

.pub-share-container {
  position: relative;
  display: inline-block;
}

.pub-btn-share {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f8fafc;
  color: var(--pub-primary, #002a5c);
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pub-btn-share:hover,
.pub-btn-share:focus-visible {
  background: #f1f5f9;
  border-color: var(--pub-accent, #c90000);
  color: var(--pub-accent, #c90000);
  outline: none;
}

.pub-share-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  padding: 0.5rem;
  min-width: 180px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.pub-share-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.pub-share-option:hover,
.pub-share-option:focus-visible {
  background: #f1f5f9;
  outline: none;
}

.pub-share-whatsapp:hover {
  color: #16a34a;
  background: #f0fdf4;
}

.pub-share-facebook:hover {
  color: #1877f2;
  background: #eff6ff;
}

.pub-share-twitter:hover {
  color: #0f172a;
  background: #f8fafc;
}

.pub-share-copy:hover {
  color: #0284c7;
  background: #f0fdf4;
}

@media (max-width: 640px) {
  .pub-share-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .pub-share-dropdown {
    left: 0;
    right: auto;
  }
}
