.sidebar-navigation-container {
  padding: 32px 0;
  @media screen and (max-width: 768px) {
    padding: 0 0 32px;
  }
}

.sidebar-navigation-wrapper {
  display: flex;
  min-height: 350px;
  margin: 0 auto;
  max-width: 1200px;
  width: 100%;
  @media screen and (max-width: 968px) {
    padding: 0 16px;
  }
}

.sidebar-navigation-menu {
  flex: 0 0 325px;
  padding: 0;
}

.sidebar-navigation-slider {
  flex: 1;
  padding: 0 20px 60px 20px;
  background: #ffffff;
  max-width: 900px;
  @media screen and (max-width: 768px) {
    padding: 20px 0;
  }
}

.sidebar-navigation__header {
  margin-bottom: 24px;
}

.sidebar-navigation__title {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  color: rgba(69, 80, 85, 1);
  @media screen and (max-width: 768px) {
    display: none;
  }
}

.sidebar-navigation__current-page__mobile {
  display: none;
  @media screen and (max-width: 768px) {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    background: #f6f6f6;
    cursor: pointer;
    padding: 12px 16px;
    width: 100vw;
    position: relative;
    margin-left: -16px;
  }
}

.sidebar-navigation__current-page__mobile p {
  font-size: 18px;
  font-weight: 700;
  color: #292f34;
  margin: 0;
  padding: 0;
}

.sidebar-navigation__current-page__mobile span {
  width: 32px;
  height: 32px;
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2233%22%20viewBox%3D%220%200%2032%2033%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M22.667%2012.6a1.333%201.333%200%200%200-1.88%200L16%2017.32l-4.72-4.72a1.333%201.333%200%201%200-1.88%201.893l5.654%205.653a1.33%201.33%200%200%200%201.893%200l5.72-5.653a1.33%201.33%200%200%200%200-1.894%22%20fill%3D%22%23E30613%22%2F%3E%3C%2Fsvg%3E");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: inline-block;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

.sidebar-navigation__current-page__mobile.active span {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

.sidebar-navigation__nav {
  @media screen and (max-width: 768px) {
    display: none;
  }
}

.sidebar-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-nav-list--level-2 {
  margin-top: 8px;
}

.sidebar-nav-list--level-2 li a {
  margin: 8px 4px 8px 16px;
}

.sidebar-nav-list--level-3 {
  margin-top: 5px;
}

.sidebar-nav-list--level-3 li a {
  margin: 8px 4px 8px 32px;
}

.sidebar-nav-list a.current,
.sidebar-nav-list a.active {
  color: #e30613 !important;
}

.sidebar-nav-link {
  display: block;
  padding: 8px 0;
  text-decoration: none;
  color: #292f34;
  line-height: 1.25;
  border-radius: 4px;
  transition: all 0.2s ease;
  border-bottom: 1px solid #ededed;
}

.sidebar-nav-link:hover {
}

.sidebar-nav-link--level-1 {
  font-weight: 500;
  font-size: 18px;
}

.sidebar-nav-link--level-2 {
  font-size: 16px;
  color: #555;
}

.sidebar-nav-link--level-3 {
  font-size: 16px;
  color: #666;
}

.sidebar-nav-list--level-2 li a:hover,
.sidebar-nav-list--level-3 li a:hover {
  color: #c10a13;
  text-decoration: underline;
}

.sidebar-nav-item--current > .sidebar-nav-link:hover {
}

.sidebar-slider-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.sidebar-slider {
  width: 100%;
  position: relative;
}

.sidebar-slide-item {
  padding: 0;
  text-align: center;
  outline: none;
  position: relative;
}

.sidebar-slide-image {
  width: 100%;
  height: auto;
  position: relative;
  aspect-ratio: 16 / 9;
  @media screen and (max-width: 768px) {
    aspect-ratio: 1 / 1;
  }
}

.sidebar-slide-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 16 / 9;
  @media screen and (max-width: 768px) {
    aspect-ratio: 1 / 1;
  }
}

.sidebar-slide-image .content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 10px;
  background: rgba(41, 47, 52, 0.6);
  color: white;
  z-index: 10;
  display: grid;
  place-items: center;
}

.sidebar-slide-image .content div {
  width: 100%;
  text-align: left;
  padding: 56px;
  @media screen and (max-width: 768px) {
    padding: 16px;
  }
}

.sidebar-slide-image .content div h3 {
  font-size: 40px;
  font-weight: 700;
  margin: 0 0 24px 0 !important;
  @media screen and (max-width: 768px) {
    font-size: 32px;
    margin-bottom: 16px;
  }
}

.sidebar-slide-image .content div a {
  font-size: 16px;
  color: #fff;
  background: #e30613;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
}

.sidebar-slide-image .content div a:hover {
  background: #c10a13;
  text-decoration: none;
}

.sidebar-slide-description {
  font-size: 14px;
  line-height: 1.5;
  color: #555;
}

.sidebar-slide-description h1,
.sidebar-slide-description h2,
.sidebar-slide-description h3,
.sidebar-slide-description h4,
.sidebar-slide-description h5,
.sidebar-slide-description h6 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #333;
}

.sidebar-slide-description p {
  margin-bottom: 10px;
}

/* Slick Slider Customization */
.sidebar-slider .slick-prev,
.sidebar-slider .slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 124, 186, 0.8);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.sidebar-slider .slick-prev:hover,
.sidebar-slider .slick-next:hover {
  background: rgba(0, 90, 135, 0.9);
  transform: translateY(-50%) scale(1.1);
}

.sidebar-slider .slick-prev {
  left: 15px;
}

.sidebar-slider .slick-next {
  right: 15px;
}

.sidebar-slider .slick-prev:before,
.sidebar-slider .slick-next:before {
  display: none;
}

.sidebar-slider .slick-prev span,
.sidebar-slider .slick-next span {
  font-size: 20px;
  font-weight: bold;
  line-height: 1;
}

/* .sidebar-slider .slick-dots {
  bottom: -40px;
  text-align: center;
}

.sidebar-slider .slick-dots li button:before {
  color: #007cba;
  font-size: 14px;
  opacity: 0.4;
  transition: opacity 0.2s ease;
}

.sidebar-slider .slick-dots li.slick-active button:before {
  opacity: 1;
  color: #007cba;
}

.sidebar-slider .slick-dots li {
  margin: 0 5px;
}

.sidebar-slider .slick-dots li button {
  width: 25px;
  height: 25px;
} */

/* Loading Animation */
.sidebar-navigation-loading {
  padding: 15px;
  text-align: center;
  border-radius: 4px;
  margin: 20px 0;
  color: #666;
}

.sidebar-navigation-loading div {
  display: inline-block;
  margin-right: 8px;
}

.sidebar-navigation-loading div div {
  width: 16px;
  height: 16px;
  animation: sidebar-spin 1s linear infinite;
  display: inline-block;
}

@keyframes sidebar-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .sidebar-navigation-wrapper {
    flex-direction: column;
  }

  .sidebar-navigation-menu {
    flex: none;
    border-right: none;
    border-bottom: 1px solid #e9ecef;
  }

  .sidebar-navigation-slider {
    flex: none;
  }

  .sidebar-slider .slick-prev,
  .sidebar-slider .slick-next {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }

  .sidebar-slider .slick-prev {
    left: 10px;
  }

  .sidebar-slider .slick-next {
    right: 10px;
  }

  .sidebar-slider .slick-prev span,
  .sidebar-slider .slick-next span {
    font-size: 18px;
  }

  .sidebar-slider .slick-dots {
    bottom: -30px;
  }
}

/* Fix para evitar conflictos con otros estilos */
.sidebar-slider * {
  box-sizing: border-box;
}

.sidebar-slider .slick-track {
  display: flex;
  align-items: center;
}

.sidebar-slider .slick-slide {
  height: auto;
}

.sidebar-slider .slick-slide > div {
  height: 100%;
}

.sidebar-nav-list ul li {
}

li.sidebar-nav-item--level-1 a:hover {
  color: #e30613;
}

li.sidebar-nav-item--current > a {
  color: #e30613;
}

li.sidebar-nav-item--level-1.sidebar-nav-item--current > a {
  color: #e30613;
}

.slick-dotted.slick-slider {
  margin-bottom: 0 !important;
}

.custom-navigation-slider {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.custom-navigation-slider .custom-arrows {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.custom-navigation-slider .custom-arrows div {
  cursor: pointer;
}

.custom-navigation-slider .custom-arrows div:hover {
  opacity: 0.8;
}

.custom-navigation-slider .custom-dots-sidebar {
  position: relative;
}

.custom-navigation-slider .custom-dots-sidebar ul.slick-dots {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  bottom: 0;
}

.custom-navigation-slider .custom-dots-sidebar ul.slick-dots li {
}

.custom-navigation-slider .custom-dots-sidebar ul.slick-dots li button {
  width: 16px;
  height: 16px;
  background: #ededed !important;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: none;
  min-width: 16px !important;
}

.custom-navigation-slider
  .custom-dots-sidebar
  ul.slick-dots
  li.slick-active
  button {
  background: #e30613 !important;
}

.custom-navigation-slider .custom-dots-sidebar ul.slick-dots li button:before {
  display: none;
}

.sidebar-navigation-slider .top {
  margin-bottom: 24px;
}

.sidebar-navigation-slider .top h3 {
  color: #292f34;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 8px;
  @media screen and (max-width: 768px) {
    font-size: 32px;
  }
}

.sidebar-navigation-slider .top p {
  color: #292f34;
  font-size: 24px;
  line-height: 1.5;
  margin: 0;
  @media screen and (max-width: 768px) {
    font-size: 18px;
  }
}

.video-container {
  width: 100%;
}

.video-thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-thumbnail:hover {
  transform: scale(1.01);
}

.thumbnail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.video-thumbnail:hover .thumbnail-image {
  transform: scale(1.02);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.play-button::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 20px solid #1a1a1a;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 4px;
}

.video-thumbnail:hover .play-button {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(255, 255, 255, 1);
}

.video-info {
  padding: 1rem 0;
}

.video-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.video-description {
  color: #888;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Modal Styles */
dialog {
  border: none;
  border-radius: 20px;
  padding: 0;
  background: #1a1a1a;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  max-width: 90vw;
  max-height: 90vh;
  width: max-content;
  backdrop-filter: blur(10px);
  overflow: visible;
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  animation: fadeIn 0.3s ease;
}

.modal-content {
  position: relative;
  width: 80vw;
  max-width: 1000px;
  aspect-ratio: 16 / 9;
}

.close-button {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #1a1a1a;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  min-width: 40px;
  padding: 0;
}

.close-button:hover {
  background: #ff4757;
  color: white;
  transform: scale(1.1);
}

.video-frame {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 16px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

dialog[open] {
  animation: modalIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .modal-content {
    width: 95vw;
  }

  .play-button {
    width: 60px;
    height: 60px;
  }

  .play-button::after {
    border-left: 15px solid #1a1a1a;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
  }
}
