/*
Theme Name: Revista Fan K-pop
Theme URI: https://revistafankpop.com
GitHub Theme URI: https://github.com/akarimediaweb/revista-fan-kpop
Primary Branch:main
Author: Revista Fan Editorial (Akari Media Group)
Author URI: https://revistafankpop.com
Description: Tema editorial minimalista y moderno para Revista Fan K-pop. Encabezado Liquid Glass blanco esmerilado con menu desplegable, banner carrusel compacto estilo revista, capsulas de categoria, seccion +Kultura y fichas de autor con compartir rapido.
Version: 2.0.6
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: revista-fan-kpop
Tags: full-site-editing, block-patterns, blog, news, entertainment, editorial
*/

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--wp--preset--color--canvas);
  color: var(--wp--preset--color--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Liquid Glass Sticky Header */
.rf-liquid-header {
  position: sticky;
  top: 0;
  z-index: auto !important;
  overflow: visible !important;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(26px) saturate(190%);
  -webkit-backdrop-filter: blur(26px) saturate(190%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 8px 30px rgba(13, 13, 18, 0.06), inset 0 -1px 0 rgba(168, 28, 255, 0.12);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.rf-liquid-header.is-scrolled {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 36px rgba(13, 13, 18, 0.09), inset 0 -1px 0 rgba(168, 28, 255, 0.18);
}

.rf-brand-bar {
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, #F58BFF 0%, #A81CFF 50%, #C86BFF 100%);
}

.rf-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 20px;
}

/* Native Navigation Menu Styling */
.wp-block-navigation {
  font-size: 0.9rem;
  font-weight: 700;
}

.wp-block-navigation .wp-block-navigation-item__content {
  padding: 8px 14px !important;
  border-radius: 9999px;
  transition: all 0.2s ease;
  color: #0D0D12;
  text-decoration: none;
  background: rgba(247, 246, 250, 0.9);
  border: 1px solid rgba(13, 13, 18, 0.07);
}

.wp-block-navigation .wp-block-navigation-item__content:hover,
.wp-block-navigation .current-menu-item > .wp-block-navigation-item__content {
  background: linear-gradient(135deg, #F58BFF 0%, #A81CFF 100%) !important;
  color: #FFFFFF !important;
  border-color: transparent !important;
}

.wp-block-navigation__responsive-container.is-menu-open,
.has-modal-open {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100dvh !important;
  z-index: 999999 !important;
  background: #ffffff !important;
  overflow-y: auto !important;
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  padding: 30px 24px;
}

.wp-block-navigation__responsive-container-close {
  color: #0D0D12;
}

.wp-block-navigation__submenu-icon {
  margin-left: 4px;
}

/* Pill / Capsule Categories */
.rf-category-pills a,
.wp-block-post-terms.rf-category-pills a {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(245, 139, 255, 0.18), rgba(168, 28, 255, 0.14));
  color: #8E11DB;
  border: 1px solid rgba(168, 28, 255, 0.22);
  transition: all 0.22s ease;
  margin-right: 6px;
  margin-bottom: 4px;
}

.rf-category-pills a:hover,
.wp-block-post-terms.rf-category-pills a:hover {
  background: linear-gradient(135deg, #F58BFF 0%, #A81CFF 100%);
  color: #FFFFFF;
  border-color: transparent;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(168, 28, 255, 0.3);
}

/* Editorial Cards */
.rf-article-card {
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid rgba(13, 13, 18, 0.07);
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, border-color 0.28s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.rf-article-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 28, 255, 0.32);
  box-shadow: 0 18px 40px rgba(13, 13, 18, 0.07);
}

.rf-article-card .wp-block-post-featured-image img {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.rf-article-card:hover .wp-block-post-featured-image img {
  transform: scale(1.035);
}

.rf-article-card .wp-block-post-title a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.rf-article-card .wp-block-post-title a:hover {
  color: #A81CFF;
}

/* Hero Carousel */
.rf-hero-carousel {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background: #0D0D12;
  box-shadow: 0 20px 50px rgba(13, 13, 18, 0.14);
}

.rf-hero-slides {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.rf-hero-slides::-webkit-scrollbar {
  display: none;
}

.rf-hero-slide {
  flex: 0 0 100%;
  width: 100%;
  scroll-snap-align: start;
  position: relative;
  min-height: 460px !important;
  display: flex !important;
  align-items: flex-end !important;
  padding: 32px 28px 24px 28px !important;
}

.rf-hero-slide .wp-block-cover__background {
  background: linear-gradient(180deg, rgba(13, 13, 18, 0.04) 0%, rgba(13, 13, 18, 0.28) 48%, rgba(13, 13, 18, 0.88) 100%) !important;
  opacity: 1 !important;
}

.rf-hero-slide .wp-block-cover__inner-container {
  width: 100%;
  padding-right: 92px;
}

.rf-hero-controls {
  position: absolute;
  bottom: 22px;
  right: 22px;
  z-index: 20;
  display: flex;
  gap: 8px;
}

.rf-hero-btn {
  width: 38px;
  height: 38px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #FFFFFF;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.rf-hero-btn:hover {
  background: #A81CFF;
  border-color: #A81CFF;
}

/* Single Post Author & Share Bar */
.rf-author-share-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 18px;
  background: #F7F6FA;
  border: 1px solid rgba(13, 13, 18, 0.07);
  margin-bottom: 32px;
}

.rf-author-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rf-author-meta .wp-block-avatar img {
  border-radius: 9999px;
  width: 40px !important;
  height: 40px !important;
  object-fit: cover;
}

.rf-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 9999px;
  border: 1px solid rgba(168, 28, 255, 0.25);
  background: rgba(255, 255, 255, 0.85);
  color: #0D0D12;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rf-share-btn:hover,
.rf-share-btn.is-copied {
  background: #A81CFF;
  color: #FFFFFF;
  border-color: #A81CFF;
}

/* Section Headers */
.rf-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(13, 13, 18, 0.09);
  padding-bottom: 14px;
  margin-bottom: 28px;
}

@media (max-width: 781px) {
  .rf-hero-carousel {
    border-radius: 22px;
  }
  .rf-hero-slide {
    min-height: 380px !important;
    padding: 20px 18px 16px 18px !important;
  }
  .rf-hero-slide .wp-block-cover__inner-container {
    padding-right: 0;
    padding-bottom: 42px;
  }
  .rf-hero-controls {
    bottom: 14px;
    right: 14px;
  }
  .rf-hero-btn {
    width: 34px;
    height: 34px;
    font-size: 0.9rem;
  }
}
