/* =====================================================
   XERO Radio — custom.css
   xero.com.co | +57 316 402 4001
   ===================================================== */

/* ─── Brand Colors ─────────────────────────────────── */
:root {
  --xero-primary:    #7c3aed;
  --xero-secondary:  #a855f7;
  --xero-accent:     #f59e0b;
  --xero-dark:       #0a0a0a;
  --xero-card:       #141414;
  --xero-border:     rgba(124,58,237,0.18);
  --xero-glow:       rgba(124,58,237,0.35);
}

/* ─── Modal ────────────────────────────────────────── */
.modal-content {
  background: linear-gradient(135deg, #7c3aed 0%, #4c1d95 100%);
  width: 100%;
  padding: 12px;
  max-width: 920px;
  border-radius: 18px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  position: relative;
  animation: modalOpen var(--player-duration) ease;
  box-shadow: 0 25px 60px rgba(124,58,237,.45);
}

/* ─── Buttons ──────────────────────────────────────── */
.btn { border-radius: 50px; font-weight: 700; }

/* ─── Player atext (watermark) ─────────────────────── */
.player-atext {
  font-size: 11px;
  letter-spacing: 1px;
  opacity: .5;
  text-transform: uppercase;
}

/* ─── Sections ─────────────────────────────────────── */
.section { margin-bottom: 2rem; }

.section-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.25rem;
}

/* ─── Volume dropdown ───────────────────────────────── */
.volume-dropdown {
  position: absolute;
  left: 50%;
  bottom: 100%;
  padding: .75rem;
  border-radius: 9999px;
  background-color: #fbfbfb;
  transform: translate(-50%, 0);
  box-shadow: var(--box-shadow-high);
  transition: opacity var(--player-duration), transform var(--player-duration);
}

/* ─── Mobile menu ───────────────────────────────────── */
.mobile-menu-list { font-size: 12px; font-weight: 600; gap: 12px; }

/* ─── Static player artist ──────────────────────────── */
.player.is-static .player-desc .artist-name {
  background-color: #000;
  font-weight: 800;
  padding: .25rem .5rem;
}

/* ─── Article modal title ───────────────────────────── */
.modal-article-title { font-weight: 800; }

/* ─── Mini program desc ──────────────────────────────── */
.mini-program-description {
  display: block;
  max-width: 300px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ─── Player equalizer ───────────────────────────────── */
.player-equalizer { border-radius: .5rem; overflow: hidden; }

/* ─── Modal video ────────────────────────────────────── */
.modal.modal-video .modal-body { overflow: hidden; }

/* ============================================================
   SECCIÓN BLOG — #section-blog
   ============================================================ */
#section-blog { scroll-margin-top: 80px; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  background: var(--xero-card, #141414);
  border: 1px solid var(--xero-border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  cursor: pointer;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--xero-glow);
}

.blog-card-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: #1e1e1e;
}

.blog-card-body { padding: 1rem 1.25rem 1.25rem; }

.blog-card-category {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--xero-secondary, #a855f7);
  margin-bottom: .4rem;
}

.blog-card-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: .5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-summary {
  font-size: .8rem;
  opacity: .65;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: .75rem;
}

.blog-card-date {
  font-size: .72rem;
  opacity: .45;
  font-weight: 600;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .8rem;
  font-weight: 700;
  color: var(--xero-secondary, #a855f7);
  text-decoration: none;
  margin-top: .5rem;
}
.blog-card-link:hover { opacity: .75; }

/* Blog loading */
.blog-skeleton {
  background: var(--xero-card, #141414);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--xero-border);
}
.blog-skeleton-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(90deg, #1a1a1a 25%, #222 50%, #1a1a1a 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
.blog-skeleton-body { padding: 1rem 1.25rem; }
.blog-skeleton-line {
  height: 12px;
  border-radius: 6px;
  margin-bottom: .75rem;
  background: linear-gradient(90deg, #1a1a1a 25%, #222 50%, #1a1a1a 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
.blog-skeleton-line.short { width: 60%; }
@keyframes shimmer { 0% {background-position: 200% 0;} 100% {background-position: -200% 0;} }

/* ============================================================
   SECCIÓN QUIÉNES SOMOS — #section-about
   ============================================================ */
#section-about { scroll-margin-top: 80px; }

.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.about-image-wrapper {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  box-shadow: 0 20px 60px var(--xero-glow);
  border: 2px solid var(--xero-border);
}

.about-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .9rem;
  background: var(--xero-border);
  color: var(--xero-secondary);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: .75rem;
}

.about-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.about-text {
  font-size: .9rem;
  line-height: 1.75;
  opacity: .7;
  margin-bottom: 1.25rem;
}

.about-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.about-stat-item { text-align: center; }
.about-stat-num {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--xero-secondary);
  display: block;
}
.about-stat-label { font-size: .72rem; opacity: .55; font-weight: 600; text-transform: uppercase; }

/* About hidden by default (shown when configured) */
.section-about-hidden { display: none !important; }

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  .about-wrapper { grid-template-columns: 1fr; }
  .about-image-wrapper { aspect-ratio: 16/9; }
  .about-title { font-size: 1.5rem; }
  .about-stats { gap: 1.25rem; }
}

@media (max-width: 480px) {
  .blog-grid { grid-template-columns: 1fr; gap: 1rem; }
}
