/* ==========================================================================
   Vida Celular - Component Styles
   ==========================================================================
   All colors reference CSS custom properties (--vc-*) defined in style.css.
   This file contains all reusable UI component styles for the theme.
   ========================================================================== */


/* ==========================================================================
   1. HEADER (.site-header)
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--vc-z-header);
  width: 100%;
}

/* --- Ad Banner --- */

.header-ad-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: var(--vc-background);
}

.header-ad-banner .ad-slot {
  width: 970px;
  max-width: 100%;
  height: 90px;
}

/* --- Header Main --- */

.header-main {
  background: #000;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}

.header-logo a {
  display: flex;
  align-items: center;
}

.header-logo img {
  height: 40px;
  width: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-search-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--vc-transition);
}

.header-search-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.header-cta {
  padding: 0.5rem 1rem;
  background: var(--vc-primary);
  color: #fff;
  border-radius: 9999px;
  font-weight: 600;
  font-size: var(--vc-text-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: var(--vc-transition);
  border: none;
  cursor: pointer;
}

.header-cta:hover {
  background: var(--vc-primary-light);
}

.header-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* --- Header Navigation --- */

.header-nav {
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  height: 40px;
}

.header-nav ul {
  display: flex;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}

.header-nav li {
  height: 100%;
}

.header-nav a {
  padding: 0 1rem;
  height: 40px;
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--vc-transition);
  white-space: nowrap;
}

.header-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Submenu */

.header-nav .has-submenu {
  position: relative;
}

.header-nav .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #1a1a1a;
  min-width: 200px;
  border-radius: var(--vc-radius);
  box-shadow: var(--vc-shadow-lg);
  display: none;
  list-style: none;
  padding: 0.5rem 0;
  z-index: 10;
}

.header-nav .submenu li {
  height: auto;
}

.header-nav .submenu a {
  height: auto;
  padding: 0.5rem 1rem;
  font-size: 13px;
}

.header-nav .has-submenu:hover .submenu {
  display: block;
}

/* --- Header Responsive --- */

@media (max-width: 1023px) {
  .header-ad-banner .ad-slot {
    max-width: 100%;
    height: 250px;
  }

  .header-menu-toggle {
    display: flex;
  }

  .header-nav {
    display: none;
  }
}


/* ==========================================================================
   2. MOBILE MENU (.mobile-menu)
   ========================================================================== */

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: calc(var(--vc-z-overlay) - 1);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  background: #000;
  z-index: var(--vc-z-overlay);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-close {
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu ul a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: #fff;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--vc-transition);
}

.mobile-menu ul a:hover {
  background: rgba(255, 255, 255, 0.05);
}

.mobile-menu .sub-menu {
  padding-left: 1rem;
  background: rgba(255, 255, 255, 0.03);
}


/* ==========================================================================
   3. BADGES (.badge)
   ========================================================================== */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.5rem;
  border-radius: var(--vc-radius-sm);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.5;
  white-space: nowrap;
}

.badge-primary {
  background: var(--vc-badge-bg);
  color: var(--vc-badge-text);
}

.badge-destructive {
  background: var(--vc-destructive);
  color: #fff;
}

.badge-live {
  background: var(--vc-destructive);
  color: #fff;
  gap: 0.375rem;
}

.badge-live::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: #fff;
  animation: pulse 2s ease-in-out infinite;
}

.badge-new {
  background: var(--vc-destructive);
  color: #fff;
}

.badge-video {
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
}

.badge-review {
  background: #7C3AED;
  color: #fff;
}

.badge-guide {
  background: #2563EB;
  color: #fff;
}

.badge-offer {
  background: #D97706;
  color: #fff;
}

.badge-course {
  background: #9333EA;
  color: #fff;
}


/* ==========================================================================
   4. BUTTONS (.btn)
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--vc-font-sans);
  font-weight: 600;
  border-radius: var(--vc-radius);
  transition: var(--vc-transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
  height: 40px;
  padding: 0 1.25rem;
  font-size: 14px;
  line-height: 1;
}

/* Sizes */

.btn-sm {
  height: 32px;
  padding: 0 0.75rem;
  font-size: 13px;
}

.btn-lg {
  height: 44px;
  padding: 0 1.5rem;
  font-size: 15px;
}

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
}

/* Variants */

.btn-primary {
  background: var(--vc-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--vc-primary-light);
}

.btn-secondary {
  background: var(--vc-secondary);
  color: var(--vc-foreground);
}

.btn-secondary:hover {
  background: var(--vc-border);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--vc-border);
  color: var(--vc-foreground);
}

.btn-outline:hover {
  background: var(--vc-surface);
}

.btn-ghost {
  background: transparent;
  color: var(--vc-foreground);
}

.btn-ghost:hover {
  background: var(--vc-surface);
}

.btn-white {
  background: #fff;
  color: #000;
}

.btn-white:hover {
  background: rgba(255, 255, 255, 0.9);
}


/* ==========================================================================
   5. CARDS
   ========================================================================== */

/* --- Card Feed (horizontal news card) --- */

.card-feed {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--vc-card);
  border-radius: var(--vc-radius-lg);
  border: 1px solid var(--vc-border);
  transition: var(--vc-transition);
  text-decoration: none;
  color: inherit;
}

.card-feed:hover {
  border-color: rgba(0, 122, 51, 0.3);
  box-shadow: var(--vc-shadow-md);
}

.card-feed__image {
  flex-shrink: 0;
  width: 200px;
  aspect-ratio: 6 / 5;
  border-radius: var(--vc-radius);
  overflow: hidden;
}

.card-feed__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card-feed:hover .card-feed__image img {
  transform: scale(1.05);
}

.card-feed__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

.card-feed__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--vc-text-xs);
  color: var(--vc-muted-foreground);
}

.card-feed__title {
  font-family: var(--vc-font-display);
  font-size: var(--vc-text-lg);
  font-weight: 700;
  line-height: 1.3;
  color: var(--vc-foreground);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.card-feed__excerpt {
  font-size: var(--vc-text-sm);
  color: var(--vc-muted-foreground);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

@media (max-width: 639px) {
  .card-feed {
    flex-direction: column;
  }

  .card-feed__image {
    width: 100%;
    aspect-ratio: 16 / 9;
  }
}

/* --- Card Grid (image card with overlay) --- */

.card-grid {
  position: relative;
  border-radius: var(--vc-radius-xl);
  overflow: hidden;
  border: 1px solid var(--vc-border);
  display: block;
  text-decoration: none;
  color: inherit;
}

.card-grid__image {
  aspect-ratio: 4 / 3;
  position: relative;
}

.card-grid__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card-grid:hover .card-grid__image img {
  transform: scale(1.05);
}

.card-grid__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    transparent 100%
  );
  z-index: 1;
}

.card-grid__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  z-index: 2;
}

.card-grid__title {
  color: #fff;
  font-family: var(--vc-font-display);
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  line-height: 1.3;
}

.card-grid__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--vc-text-xs);
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.375rem;
}

/* --- Card Video --- */

.card-video {
  position: relative;
  border-radius: var(--vc-radius-xl);
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: inherit;
}

.card-video__image {
  aspect-ratio: 16 / 9;
  position: relative;
}

.card-video__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card-video:hover .card-video__image img {
  transform: scale(1.05);
}

.card-video__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    transparent 100%
  );
  z-index: 1;
}

.card-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: transform 0.3s ease;
}

.card-video:hover .card-video__play {
  transform: translate(-50%, -50%) scale(1.1);
}

.card-video__play svg {
  width: 20px;
  height: 20px;
  color: #000;
  margin-left: 2px;
}

.card-video__duration {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
}

.card-video__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  z-index: 2;
}

.card-video__title {
  color: #fff;
  font-family: var(--vc-font-display);
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  line-height: 1.3;
}

/* --- Card Trending (with ranking number) --- */

.card-trending {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--vc-radius-lg);
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: inherit;
}

.card-trending__image {
  position: absolute;
  inset: 0;
}

.card-trending__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card-trending:hover .card-trending__image img {
  transform: scale(1.05);
}

.card-trending__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    transparent 100%
  );
  z-index: 1;
}

.card-trending__rank {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  width: 28px;
  height: 28px;
  background: var(--vc-primary);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  border-radius: var(--vc-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.card-trending__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  z-index: 2;
}

.card-trending__title {
  color: #fff;
  font-family: var(--vc-font-display);
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  line-height: 1.3;
}

/* --- Card Most Read (numbered list item) --- */

.card-most-read {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--vc-border);
  text-decoration: none;
  color: inherit;
  transition: var(--vc-transition);
}

.card-most-read:last-child {
  border-bottom: none;
}

.card-most-read__number {
  font-family: var(--vc-font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--vc-primary);
  opacity: 0.3;
  min-width: 3rem;
  text-align: center;
  flex-shrink: 0;
  line-height: 1;
}

.card-most-read__content {
  flex: 1;
  min-width: 0;
}

.card-most-read__title {
  font-weight: 600;
  font-size: var(--vc-text-base);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  line-height: 1.4;
  color: var(--vc-foreground);
}

.card-most-read__meta {
  font-size: var(--vc-text-xs);
  color: var(--vc-muted-foreground);
  margin-top: 0.25rem;
}

.card-most-read:hover .card-most-read__title {
  color: var(--vc-primary);
}

/* --- Card Cluster (thematic cluster) --- */

.card-cluster {
  display: grid;
  gap: 1rem;
}

.card-cluster__main {
  aspect-ratio: 16 / 9;
  border-radius: var(--vc-radius-xl);
  overflow: hidden;
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
}

.card-cluster__main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card-cluster__main:hover img {
  transform: scale(1.05);
}

.card-cluster__main-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    transparent 100%
  );
  z-index: 1;
}

.card-cluster__main-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
  z-index: 2;
}

.card-cluster__main-title {
  color: #fff;
  font-family: var(--vc-font-display);
  font-weight: 700;
  font-size: var(--vc-text-xl);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  line-height: 1.3;
}

.card-cluster__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card-cluster__list-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  transition: var(--vc-transition);
}

.card-cluster__list-item:hover .card-cluster__list-title {
  color: var(--vc-primary);
}

.card-cluster__list-thumb {
  width: 80px;
  aspect-ratio: 1;
  border-radius: var(--vc-radius);
  overflow: hidden;
  flex-shrink: 0;
}

.card-cluster__list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-cluster__list-title {
  font-weight: 600;
  font-size: var(--vc-text-sm);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  line-height: 1.4;
  color: var(--vc-foreground);
  transition: var(--vc-transition);
}

@media (min-width: 1024px) {
  .card-cluster {
    grid-template-columns: 1fr 1fr;
  }
}


/* ==========================================================================
   6. SECTION HEADERS (.section-header)
   ========================================================================== */

.section-header {
  margin-bottom: 1.5rem;
}

.section-title {
  font-family: var(--vc-font-display);
  font-size: var(--vc-text-xl);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--vc-foreground);
  margin: 0;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .section-title {
    font-size: var(--vc-text-2xl);
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: var(--vc-text-3xl);
  }
}

.section-subtitle {
  font-size: var(--vc-text-sm);
  color: var(--vc-muted-foreground);
  margin-top: 0.25rem;
}

.section-divider {
  border: none;
  border-top: 1px solid var(--vc-border);
  position: relative;
  margin: 2rem 0;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4rem;
  height: 2px;
  border-radius: 9999px;
  background: var(--vc-primary);
  opacity: 0.15;
}


/* ==========================================================================
   7. AD SLOT (.ad-slot)
   ========================================================================== */

.ad-slot {
  background: var(--vc-ad-bg);
  border: 1px dashed var(--vc-ad-border);
  border-radius: var(--vc-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--vc-muted-foreground);
  font-size: var(--vc-text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}


/* ==========================================================================
   8. HERO CAROUSEL (.hero-carousel)
   ========================================================================== */

.hero-carousel__grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .hero-carousel__grid {
    grid-template-columns: 2fr 1fr;
  }
}

/* Main slide */

.hero-carousel__main {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--vc-radius-xl);
  overflow: hidden;
}

@media (max-width: 1023px) {
  .hero-carousel__main {
    aspect-ratio: 4 / 3;
  }
}

.hero-carousel__main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-carousel__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    transparent 100%
  );
  z-index: 1;
}

.hero-carousel__content {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 1.5rem;
  max-width: 80%;
  z-index: 2;
}

.hero-carousel__badge {
  margin-bottom: 0.75rem;
}

.hero-carousel__headline {
  color: #fff;
  font-family: var(--vc-font-display);
  font-size: var(--vc-text-2xl);
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  line-height: 1.2;
}

@media (min-width: 1024px) {
  .hero-carousel__headline {
    font-size: var(--vc-text-3xl);
  }
}

.hero-carousel__meta {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--vc-text-xs);
  margin-top: 0.5rem;
}

/* Dots */

.hero-carousel__dots {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.375rem;
  z-index: 2;
}

.hero-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: var(--vc-transition);
}

.hero-carousel__dot.active {
  background: #fff;
  width: 24px;
}

/* Side items */

.hero-carousel__side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-carousel__side-item {
  position: relative;
  flex: 1;
  border-radius: var(--vc-radius-lg);
  overflow: hidden;
  min-height: 120px;
  display: block;
  text-decoration: none;
  color: inherit;
}

.hero-carousel__side-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-carousel__side-item:hover img {
  transform: scale(1.05);
}

.hero-carousel__side-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    transparent 100%
  );
  z-index: 1;
}

.hero-carousel__side-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  z-index: 2;
}

.hero-carousel__side-title {
  color: #fff;
  font-family: var(--vc-font-display);
  font-weight: 700;
  font-size: var(--vc-text-sm);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  line-height: 1.3;
}


/* ==========================================================================
   9. NOW SECTION (.now-section)
   ========================================================================== */

.now-section {
  background: var(--vc-surface);
}

.now-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.now-section__live {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--vc-destructive);
  font-weight: 600;
  font-size: var(--vc-text-sm);
}

.now-section__live::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: var(--vc-destructive);
  animation: pulse 2s ease-in-out infinite;
}

.now-section__grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .now-section__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.now-section__item {
  padding: 1rem;
  background: var(--vc-card);
  border-radius: var(--vc-radius);
  border: 1px solid var(--vc-border);
  transition: var(--vc-transition);
  text-decoration: none;
  color: inherit;
}

.now-section__item:hover {
  border-color: rgba(0, 122, 51, 0.3);
  box-shadow: var(--vc-shadow-sm);
}


/* ==========================================================================
   10. TRENDING SECTION (.trending-section)
   ========================================================================== */

.trending-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.trending-tab {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: var(--vc-text-sm);
  font-weight: 500;
  background: var(--vc-secondary);
  color: var(--vc-foreground);
  cursor: pointer;
  transition: var(--vc-transition);
  border: none;
  white-space: nowrap;
  font-family: var(--vc-font-sans);
}

.trending-tab:hover {
  background: var(--vc-border);
}

.trending-tab.active {
  background: var(--vc-primary);
  color: #fff;
}

.trending-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .trending-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .trending-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}


/* ==========================================================================
   11. LATEST VIDEOS SECTION (.videos-section)
   ========================================================================== */

.videos-section {
  background: #0F1419;
  color: #fff;
}

.videos-section .section-title {
  color: #fff;
}

.videos-section__hero {
  position: relative;
  aspect-ratio: 21 / 9;
  border-radius: var(--vc-radius-xl);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

@media (max-width: 767px) {
  .videos-section__hero {
    aspect-ratio: 16 / 9;
  }
}

.videos-section__hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.videos-section__ambient {
  position: absolute;
  inset: -20%;
  filter: blur(60px);
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
}

.videos-section__hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    transparent 100%
  );
  z-index: 1;
}

.videos-section__hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 1.5rem;
  z-index: 2;
}

.videos-section__row {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.videos-section__row::-webkit-scrollbar {
  height: 4px;
}

.videos-section__row::-webkit-scrollbar-track {
  background: transparent;
}

.videos-section__row::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
}

.videos-section__row .card-video {
  flex-shrink: 0;
  width: 280px;
}

@media (min-width: 768px) {
  .videos-section__row .card-video {
    width: 320px;
  }
}


/* ==========================================================================
   12. MOST READ SECTION (.most-read-section)
   ========================================================================== */

.most-read-section {
  background: var(--vc-surface);
}

.most-read-grid {
  display: grid;
  gap: 0;
}

@media (min-width: 768px) {
  .most-read-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 2rem;
  }
}

.most-read-grid .card-most-read:first-child {
  padding-top: 0;
}


/* ==========================================================================
   13. NEWSLETTER (.newsletter-section)
   ========================================================================== */

.newsletter-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--vc-card);
  border-radius: var(--vc-radius-xl);
  padding: 2.5rem;
  text-align: center;
  border: 1px solid var(--vc-border);
}

.newsletter-card__icon {
  margin-bottom: 1rem;
}

.newsletter-card__title {
  font-family: var(--vc-font-display);
  font-size: var(--vc-text-xl);
  font-weight: 700;
  color: var(--vc-foreground);
  margin: 0 0 0.5rem;
}

.newsletter-card__desc {
  font-size: var(--vc-text-sm);
  color: var(--vc-muted-foreground);
  margin: 0;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.newsletter-input {
  flex: 1;
  height: 44px;
  padding: 0 1rem;
  border-radius: var(--vc-radius);
  border: 1px solid var(--vc-border);
  font-size: var(--vc-text-base);
  font-family: var(--vc-font-sans);
  background: var(--vc-background);
  color: var(--vc-foreground);
  transition: var(--vc-transition);
}

.newsletter-input::placeholder {
  color: var(--vc-muted-foreground);
}

.newsletter-input:focus {
  border-color: var(--vc-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 122, 51, 0.1);
}

@media (max-width: 479px) {
  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-card {
    padding: 1.5rem;
  }
}


/* ==========================================================================
   14. FOOTER (.site-footer)
   ========================================================================== */

.site-footer {
  background: var(--vc-foreground);
  color: rgba(255, 255, 255, 0.8);
}

.footer-main {
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr repeat(4, 1fr);
  }
}

/* Footer brand */

.footer-brand {
  grid-column: span 2;
}

@media (min-width: 1024px) {
  .footer-brand {
    grid-column: span 1;
  }
}

.footer-brand__logo img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-brand__desc {
  font-size: var(--vc-text-sm);
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.75rem;
  line-height: 1.6;
}

.footer-brand__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-brand__social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  color: #fff;
  transition: var(--vc-transition);
  text-decoration: none;
}

.footer-brand__social a:hover {
  background: var(--vc-primary);
}

/* Footer links */

.footer-links h4 {
  color: #fff;
  font-weight: 600;
  font-size: var(--vc-text-sm);
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--vc-text-sm);
  text-decoration: none;
  transition: var(--vc-transition);
}

.footer-links a:hover {
  color: #fff;
}

/* Footer copyright */

.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding: 1.5rem 0;
  font-size: var(--vc-text-xs);
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}


/* ==========================================================================
   15. PAGINATION (.pagination)
   ========================================================================== */

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-top: 2rem;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.5rem;
  border-radius: var(--vc-radius);
  font-size: var(--vc-text-sm);
  font-weight: 500;
  transition: var(--vc-transition);
  text-decoration: none;
}

.pagination a {
  background: var(--vc-card);
  border: 1px solid var(--vc-border);
  color: var(--vc-foreground);
}

.pagination a:hover {
  background: var(--vc-surface);
}

.pagination .current {
  background: var(--vc-primary);
  color: #fff;
  border-color: var(--vc-primary);
}

.pagination .dots {
  border: none;
  background: none;
  color: var(--vc-muted-foreground);
}


/* ==========================================================================
   16. BREADCRUMBS (.breadcrumbs)
   ========================================================================== */

.breadcrumbs {
  font-size: var(--vc-text-xs);
  color: var(--vc-muted-foreground);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 0.75rem 0;
}

.breadcrumbs a {
  color: var(--vc-muted-foreground);
  text-decoration: none;
  transition: var(--vc-transition);
}

.breadcrumbs a:hover {
  color: var(--vc-primary);
}

.breadcrumbs .separator {
  margin: 0 0.375rem;
  opacity: 0.5;
}


/* ==========================================================================
   17. SEARCH FORM (.search-form)
   ========================================================================== */

.search-form {
  display: flex;
  gap: 0.5rem;
}

.search-form input {
  flex: 1;
  height: 44px;
  padding: 0 1rem;
  border-radius: var(--vc-radius);
  border: 1px solid var(--vc-border);
  background: var(--vc-background);
  font-size: var(--vc-text-base);
  font-family: var(--vc-font-sans);
  color: var(--vc-foreground);
  transition: var(--vc-transition);
}

.search-form input::placeholder {
  color: var(--vc-muted-foreground);
}

.search-form input:focus {
  border-color: var(--vc-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 122, 51, 0.1);
}

.search-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 44px;
  padding: 0 1.25rem;
  background: var(--vc-primary);
  color: #fff;
  border: none;
  border-radius: var(--vc-radius);
  font-weight: 600;
  font-size: 14px;
  font-family: var(--vc-font-sans);
  cursor: pointer;
  transition: var(--vc-transition);
}

.search-form button:hover {
  background: var(--vc-primary-light);
}


/* ==========================================================================
   18. POST CONTENT (.post-content / .entry-content)
   ========================================================================== */

.post-content,
.entry-content {
  max-width: 720px;
  margin: 0 auto;
}

.post-content p,
.entry-content p {
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--vc-foreground);
}

.post-content h2,
.entry-content h2 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  font-weight: 700;
  color: var(--vc-foreground);
  font-family: var(--vc-font-display);
  line-height: 1.3;
}

.post-content h3,
.entry-content h3 {
  font-size: 1.25rem;
  margin: 1.5rem 0 0.75rem;
  font-weight: 700;
  color: var(--vc-foreground);
  font-family: var(--vc-font-display);
  line-height: 1.3;
}

.post-content h4,
.entry-content h4 {
  font-size: 1.125rem;
  margin: 1.25rem 0 0.5rem;
  font-weight: 600;
  color: var(--vc-foreground);
}

.post-content img,
.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--vc-radius);
  margin: 1.5rem 0;
}

.post-content figure,
.entry-content figure {
  margin: 1.5rem 0;
}

.post-content figcaption,
.entry-content figcaption {
  text-align: center;
  font-style: italic;
  font-size: var(--vc-text-sm);
  color: var(--vc-muted-foreground);
  margin-top: 0.5rem;
}

.post-content blockquote,
.entry-content blockquote {
  border-left: 3px solid var(--vc-primary);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--vc-muted-foreground);
}

.post-content blockquote p,
.entry-content blockquote p {
  color: var(--vc-muted-foreground);
}

.post-content ul,
.entry-content ul,
.post-content ol,
.entry-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.post-content li,
.entry-content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.post-content pre,
.entry-content pre {
  background: var(--vc-surface);
  padding: 1.25rem;
  border-radius: var(--vc-radius);
  overflow-x: auto;
  margin: 1.5rem 0;
  font-size: 0.875rem;
  line-height: 1.6;
}

.post-content code,
.entry-content code {
  background: var(--vc-surface);
  padding: 0.125rem 0.375rem;
  border-radius: var(--vc-radius-sm);
  font-family: 'Fira Code', 'JetBrains Mono', monospace;
  font-size: 0.875em;
}

.post-content pre code,
.entry-content pre code {
  background: none;
  padding: 0;
  border-radius: 0;
}

.post-content table,
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  margin: 1.5rem 0;
}

.post-content th,
.entry-content th {
  background: var(--vc-surface);
  font-weight: 600;
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 2px solid var(--vc-border);
  font-size: var(--vc-text-sm);
}

.post-content td,
.entry-content td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--vc-border);
  font-size: var(--vc-text-sm);
}

.post-content iframe,
.entry-content iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: var(--vc-radius);
  margin: 1.5rem 0;
}

.post-content a,
.entry-content a {
  color: var(--vc-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: var(--vc-transition);
}

.post-content a:hover,
.entry-content a:hover {
  color: var(--vc-primary-dark);
}


/* ==========================================================================
   19. ANIMATIONS
   ========================================================================== */

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes slideIn {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

.animate-fade-in {
  animation: fadeIn 0.5s ease-out forwards;
}

.animate-shimmer {
  animation: shimmer 2s linear infinite;
}


/* ==========================================================================
   20. GLASS EFFECT
   ========================================================================== */

.glass {
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--vc-border);
}


/* ==========================================================================
   21. SKELETON LOADING
   ========================================================================== */

.skeleton {
  background: linear-gradient(
    90deg,
    var(--vc-surface) 25%,
    var(--vc-border) 50%,
    var(--vc-surface) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s linear infinite;
  border-radius: var(--vc-radius);
}

.skeleton-text {
  height: 1em;
  width: 100%;
}

.skeleton-title {
  height: 1.5em;
  width: 70%;
}

.skeleton-image {
  aspect-ratio: 16 / 9;
  width: 100%;
}

.skeleton-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.skeleton-badge {
  height: 1.25em;
  width: 60px;
}
