/**
 * Criticopolis Home Page Styles
 */

:root {
  --home-bg-primary: #012148;
  --home-bg-secondary: #0a376e;
  --home-accent-gold: #f0c72d;
  --home-text-white: var(--color-white, #ffffff);
  --home-text-muted: rgba(255, 255, 255, 0.7);
  --home-card-radius: 8px;
}

/* ================================
   Home Page Container
================================ */
.home-page {
  background-color: var(--home-bg-primary);
  min-height: 100vh;
}

.home-container {
  max-width: 1216px;
  margin: 0 auto;
  padding: 1rem;
  width: 100%;
  box-sizing: border-box;
}

/* ================================
   Hero Section (Destaques)
================================ */
.home-hero {
  padding: 32px 0 0 0;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: stretch;
  justify-content: center;
}

.home-hero-main {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  height: 387px;
}

.home-hero-main-image {
  width: 100%;
  height: 387px;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  display: block;
}

.home-hero-main-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 32px 32px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.7) 60%,
    transparent 100%
  );
}

.home-hero-category {
  display: inline-block;
  background-color: transparent;
  color: var(--home-accent-gold);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0;
  border-radius: 0;
  margin-bottom: 16px;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.home-hero-category:hover {
  color: var(--home-accent-gold);
  text-decoration: underline;
}

.home-hero-main-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--home-text-white);
  margin: 0 0 12px;
  line-height: 1.3;
}

.home-hero-main-title a {
  color: inherit;
  text-decoration: none;
}

.home-hero-main-title a:hover {
  text-decoration: underline;
}

.home-hero-main-excerpt {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin: 0;
}

/* Hero Sidebar (right big card) */
.home-hero-sidebar {
  display: flex;
  flex-direction: column;
  background: var(--home-bg-secondary);
  border-radius: 12px;
  padding: 20px;
  width: 400px;
  height: 387px;
}

.home-hero-side-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  text-decoration: none;
  transition: opacity 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex: 1;
  align-items: flex-start;
}

.home-hero-side-item:hover {
  opacity: 0.85;
}

.home-hero-side-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.home-hero-side-item:first-child {
  padding-top: 0;
}

.home-hero-side-thumbnail {
  width: 120px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
}

.home-hero-side-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-hero-side-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 1;
  padding-top: 0;
}

.home-hero-side-category {
  color: var(--home-accent-gold);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.home-hero-side-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--home-text-white);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ================================
   Films Section (Carrossel)
================================ */
.home-filmes-section {
  /* padding: 40px 0; */
  width: 100%;
  overflow: hidden;
}

.home-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  gap: 24px;
}

.home-section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--home-text-white);
  margin: 0;
  flex-shrink: 0;
}

.home-section-header-right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
  justify-content: flex-end;
}

.home-section-tabs {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.home-section-tab {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  padding: 0;
  border: none;
  background: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.home-section-tab:hover {
  color: var(--home-text-white);
}

.home-section-tab.active {
  color: var(--home-text-white);
}

.home-section-link {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.home-section-link:hover {
  color: var(--home-text-white);
}

.home-section-nav {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

.home-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  color: #012148;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.home-nav-btn svg {
  width: 20px;
  height: 20px;
  stroke: #012148;
  stroke-width: 2;
}

.home-nav-btn:hover {
  background: #f0f0f0;
  color: #012148;
}

.home-nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.home-nav-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

/* Films Carousel */
.home-filmes-carousel {
  overflow: hidden;
  padding: 10px 0;
  width: 100%;
  margin: 0;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
  mask-image: linear-gradient(to right, black 85%, transparent 100%);
}

.home-filmes-carousel .swiper-wrapper {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.home-filmes-carousel .swiper-slide {
  height: auto;
  display: flex;
  flex-shrink: 0;
  box-sizing: border-box;
}

.home-filmes-carousel .filme-card {
  width: 100%;
  max-width: 100%;
}

.home-filmes-carousel .filme-card .card-img-top {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.home-filme-card {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.home-filme-card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  align-items: center;
}

.home-filme-card-poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
  position: relative;
}

.home-filme-card-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.home-filme-card:hover .home-filme-card-poster img {
  transform: scale(1.05);
}

.home-filme-card-placeholder {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--home-text-white);
  font-size: 14px;
  text-align: center;
  padding: 16px;
}

.home-filme-card-ratings {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.home-filme-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
}

.home-filme-rating-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.home-filme-rating-icon.icon-white,
.icon-white {
  filter: brightness(0) invert(1);
}

.home-filme-rating-value {
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  min-width: 32px;
  text-align: center;
}

.home-filme-rating-value.verde {
  background-color: #10b981;
  color: white;
}

.home-filme-rating-value.amarelo {
  background-color: #f59e0b;
  color: white;
}

.home-filme-rating-value.vermelho {
  background-color: #ef4444;
  color: white;
}

.home-filme-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--home-text-white);
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: center;
}

.home-filme-card-link:hover .home-filme-card-title {
  text-decoration: underline;
}

/* ================================
   Newsletter Section
   Uses blog-homepage-newsletter-section styles
================================ */
.home-newsletter-wrapper {
  padding: 0;
}

.home-newsletter-wrapper .blog-homepage-newsletter-section {
  width: 1214px;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

/* ================================
   Últimas Matérias Section
================================ */
.home-materias-section {
  padding: 40px 0;
}

/* Matérias Carousel */
.home-materias-carousel {
  overflow: hidden;
  padding: 10px 0;
  width: 100%;
  margin: 0;
}

.home-materias-carousel .swiper-wrapper {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.home-materias-carousel .swiper-slide {
  width: 220px;
  height: auto;
  display: flex;
  flex-shrink: 0;
  box-sizing: border-box;
}

.home-materia-card {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 220px;
  min-width: 0;
  background: transparent;
  border-radius: var(--home-card-radius);
  overflow: hidden;
  transition: transform 0.2s ease;
  box-sizing: border-box;
}

.home-materia-card:hover {
  transform: translateY(-4px);
}

.home-materia-thumbnail {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--home-card-radius);
  overflow: hidden;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.1);
}

.home-materia-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.home-materia-card:hover .home-materia-thumbnail img {
  transform: scale(1.05);
}

.home-materia-category {
  color: var(--home-accent-gold);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
  letter-spacing: 0.3px;
}

.home-materia-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--home-text-white);
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ================================
   Videos Section
================================ */
.home-videos-section {
  padding: 40px 12px;
}

.home-videos-section .home-container {
  width: 1217px;
  max-width: 100%;
  padding: 0;
  margin: 0 auto;
}

.home-videos-section .home-section-title {
  margin-bottom: 24px;
}

.home-videos-container {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 0;
  background: #161117;
  border-radius: var(--home-card-radius);
  overflow: hidden;
  width: 100%;
}

.home-video-featured {
  width: 100%;
  max-width: 795px;
  height: 497px;
  overflow: hidden;
  background: #000;
  position: relative;
}

.home-video-featured iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

.home-video-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-video-featured-link {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
}

.home-video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(255, 0, 0, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.home-video-play-btn svg {
  width: 40px;
  height: 40px;
  fill: white;
  margin-left: 4px;
}

.home-videos-list {
  background: #161117;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 500px;
  overflow-y: auto;
}

.home-video-item {
  display: flex;
  gap: 16px;
  cursor: pointer;
  transition: background 0.2s ease;
  padding: 12px;
  border-radius: 6px;
  align-items: flex-start;
}

.home-video-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.home-video-item.active {
  background: rgba(255, 255, 255, 0.1);
}

.home-video-item-thumbnail {
  width: 140px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  min-width: 140px;
  min-height: 80px;
}

.home-video-item-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-video-item-thumbnail img[src=""],
.home-video-item-thumbnail img:not([src]) {
  display: none;
}

.home-video-item-thumbnail:has(img[src=""])::before,
.home-video-item-thumbnail:has(img:not([src]))::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.home-video-item-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--home-text-white);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  flex: 1;
  align-self: center;
}

/* ================================
   Criticópolis Recomenda
================================ */
.home-recomenda-section {
  background: var(--home-accent-gold);
  padding: 32px 0;
  margin: 40px 0;
}

.home-recomenda-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.home-recomenda-header svg {
  width: 24px;
  height: 24px;
  fill: var(--home-bg-primary);
}

.home-recomenda-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--home-bg-primary);
  margin: 0;
}

.home-recomenda-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.home-recomenda-card {
  background: white;
  border-radius: var(--home-card-radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.home-recomenda-card-header {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.home-recomenda-card-poster {
  width: 80px;
  height: 120px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
}

.home-recomenda-card-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-recomenda-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--home-bg-primary);
  line-height: 1.3;
  margin: 0;
}

.home-recomenda-card-text {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  flex: 1;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-recomenda-card-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.home-recomenda-card-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
}

.home-recomenda-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-recomenda-card-author-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--home-bg-primary);
  margin: 0;
}

.home-recomenda-card-author-role {
  font-size: 12px;
  color: #888;
  margin: 0;
}

/* ================================
   Descubra Mais Section
================================ */
.home-descubra-section {
  padding: 40px 0;
  width: 1213px;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.home-descubra-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.home-descubra-card {
  text-decoration: none;
}

.home-descubra-thumbnail {
  width: 100%;
  height: 157px;
  border-radius: var(--home-card-radius);
  overflow: hidden;
  margin-bottom: 12px;
}

.home-descubra-thumbnail img {
  width: 100%;
  height: 157px;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

.home-descubra-card:hover .home-descubra-thumbnail img {
  transform: scale(1.05);
}

.home-descubra-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--home-text-white);
  line-height: 1.4;
  margin: 0;
}

/* ================================
   Footer CTA Bar
================================ */
.home-footer-cta {
  background: var(--home-accent-gold);
  padding: 16px 0;
}

.home-footer-cta-container {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.home-footer-cta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--home-bg-primary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.home-footer-cta-item:hover {
  text-decoration: underline;
}

.home-footer-cta-item svg {
  width: 20px;
  height: 20px;
}

/* ================================
   Responsive Design
================================ */
@media (max-width: 1199.98px) {
  .home-hero-grid {
    grid-template-columns: 1fr 350px;
  }

  .home-materias-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .home-recomenda-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991.98px) {
  .home-hero {
    padding: 24px 0 0 0;
  }

  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .home-hero-main {
    min-height: 400px;
  }

  .home-hero-main-overlay {
    padding: 32px 24px 24px;
  }

  .home-hero-main-title {
    font-size: 28px;
  }

  .home-hero-sidebar {
    flex-direction: row;
    overflow-x: auto;
    padding: 16px;
    padding-bottom: 8px;
  }

  .home-hero-side-item {
    flex-shrink: 0;
    width: 280px;
    padding: 16px 0;
  }

  .home-hero-side-item:first-child {
    padding-top: 0;
  }

  .home-videos-container {
    grid-template-columns: 1fr;
  }

  .home-video-featured {
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: var(--home-card-radius) var(--home-card-radius) 0 0;
  }

  .home-videos-list {
    border-radius: 0 0 var(--home-card-radius) var(--home-card-radius);
    max-height: none;
    flex-direction: row;
    overflow-x: auto;
  }

  .home-video-item {
    flex-shrink: 0;
    flex-direction: column;
    width: 200px;
  }

  .home-video-item-thumbnail {
    width: 100%;
    height: 112px;
  }

  .home-materias-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .home-descubra-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1200px) {
  .home-hero-grid {
    grid-template-columns: 1fr 400px;
  }

  .home-hero-main {
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  /* ── Hero: pixel-perfect mobile per Figma node 3246-14665 ── */
  .home-hero {
    padding: 20px 0 24px;
  }

  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .home-hero-main {
    width: 100%;
    height: 343px;
    min-height: 0;
    border-radius: 8px;
  }

  .home-hero-main-image {
    height: 343px;
  }

  .home-hero-main-overlay {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
  }

  .home-hero-category {
    font-size: 14px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 0;
  }

  .home-hero-main-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.21;
    margin: 0;
  }

  .home-hero-main-excerpt {
    font-size: 16px;
    color: #E7E7E7;
    margin: 0;
  }

  /* Sidebar: revert horizontal-scroll to vertical stacked list */
  .home-hero-sidebar {
    flex-direction: column;
    overflow: visible;
    height: auto;
    width: auto;
    padding: 0;
    border-radius: 8px;
    gap: 0;
  }

  .home-hero-side-item {
    flex: none;
    flex-shrink: 1;
    width: auto;
    padding: 11px 17px;
    border-bottom: 0.5px solid #6D6D6D;
    border-right: none;
    align-items: center;
    gap: 16px;
  }

  .home-hero-side-item:first-child {
    padding-top: 11px;
  }

  .home-hero-side-item:last-child {
    border-bottom: none;
    padding-bottom: 11px;
  }

  .home-hero-side-thumbnail {
    width: 103px;
    height: 79px;
  }

  .home-hero-side-content {
    gap: 8px;
    justify-content: center;
    padding-top: 0;
  }

  .home-hero-side-category {
    font-size: 12px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 0;
  }

  .home-hero-side-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.21;
    -webkit-line-clamp: 2;
  }
  /* ── End Hero mobile ── */

  .home-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .home-section-header-right {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .home-section-tabs {
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
  }

  .home-section-nav {
    align-self: flex-end;
  }

  .home-materias-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-recomenda-grid {
    grid-template-columns: 1fr;
  }

  .home-footer-cta-container {
    gap: 24px;
  }

  /* ── Descubra Mais: mobile per Figma node 2541-6066 ── */
  .home-descubra-section .home-section-header {
    flex-direction: row;
    align-items: center;
  }

  .home-descubra-section .home-section-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.21;
  }

  .home-descubra-section .home-section-link {
    font-weight: 400;
  }

  .home-descubra-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .home-descubra-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .home-descubra-thumbnail {
    width: 100%;
    height: 160px;
    margin-bottom: 0;
  }

  .home-descubra-thumbnail img {
    width: 100%;
    height: 160px;
  }

  .home-descubra-title {
    font-size: 20px;
    line-height: 1.21;
  }
  /* ── End Descubra Mais mobile ── */

  /* ── Últimos Vídeos: mobile per Figma node 2541-5882 ── */
  .home-videos-section .home-section-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.21;
    margin-bottom: 20px;
  }

  .home-videos-container {
    grid-template-columns: 1fr;
    border-radius: 10px;
    padding: 20px;
    gap: 37px;
    align-items: center;
    overflow: visible;
  }

  .home-video-featured {
    max-width: 100%;
    height: auto;
    aspect-ratio: 305 / 172;
    border-radius: 8px;
  }

  .home-videos-list {
    flex-direction: column;
    overflow-x: visible;
    overflow-y: visible;
    max-height: none;
    width: calc(100% - 40px);
    padding: 0;
    gap: 20px;
    border-radius: 0;
    background: transparent;
  }

  .home-video-item {
    flex-direction: row;
    flex-shrink: 1;
    width: auto;
    padding: 0;
    gap: 24px;
    align-items: center;
  }

  .home-video-item-thumbnail {
    width: 151px;
    min-width: 151px;
    height: 85px;
    min-height: 85px;
    border-radius: 8px;
  }

  .home-video-item-title {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.1;
  }
  /* ── End Últimos Vídeos mobile ── */
}

@media (max-width: 575.98px) {
  /* Hero overrides handled entirely in the 767.98px block above */

  .home-materias-grid {
    grid-template-columns: 1fr;
  }

  .home-filme-card {
    width: 100%;
  }

  .home-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .home-section-header-right {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
  }

  .home-section-tabs {
    gap: 16px;
    order: 1;
  }

  .home-section-nav {
    order: 2;
  }

  .home-footer-cta-container {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
}

/* ================================
   Scrollbar Styling
================================ */
.home-videos-list::-webkit-scrollbar,
.home-hero-sidebar::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.home-videos-list::-webkit-scrollbar-track,
.home-hero-sidebar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.home-videos-list::-webkit-scrollbar-thumb,
.home-hero-sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

.home-videos-list::-webkit-scrollbar-thumb:hover,
.home-hero-sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* Divider */
.home-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 40px 0;
}
