/* Override base.css font-family */
.videos-base-layout {
  /* Override base.css font-family to prevent bold text */
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
}

.videos-base-layout p,
.videos-base-layout span,
.videos-base-layout div,
.videos-base-layout li,
.videos-base-layout a,
.videos-base-layout h1,
.videos-base-layout h2,
.videos-base-layout h3,
.videos-base-layout h4,
.videos-base-layout h5,
.videos-base-layout h6 {
  font-family: inherit !important;
}

/* Container */
.videos-container {
  max-width: 1216px;
  margin: 0 auto;
  padding: 0 0px;
}

.videos-body-wrapper {
  padding-top: 80px;
  padding-bottom: 200px;
}

/* Breadcrumb Section */
.videos-breadcrumb-section {
  padding-top: 20px;
}

/* Main Content */
.main-content {
  padding-bottom: 0px;
}

.videos-breadcrumb {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  background: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.videos-breadcrumb-item {
  color: #6c757d;
}

.videos-breadcrumb-item+.videos-breadcrumb-item::before {
  content: "/";
  padding: 0 10px;
  color: #6c757d;
}

.videos-breadcrumb-item a {
  color: #000;
  text-decoration: none;
  transition: color 0.3s;
}

.videos-breadcrumb-item a:hover {
  color: #007bff;
}

.videos-breadcrumb-item:not(.active) {
  color: #6c757d;
}

.videos-breadcrumb-item:not(.active) a {
  color: #000;
}

.videos-breadcrumb-item.active {
  color: #2e90fa;
}

.videos-breadcrumb-item.active a {
  color: #2e90fa;
}

.videos-breadcrumb-section .videos-breadcrumb {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
}

.videos-breadcrumb-section .videos-breadcrumb-item {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
  font-weight: 400 !important;
}

.videos-breadcrumb-section .videos-breadcrumb-item a {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
  font-weight: 400 !important;
  color: #000 !important;
}

.videos-breadcrumb-section .videos-breadcrumb-item.active a {
  color: #2e90fa !important;
}

.page-title {
  text-align: center;
  font-size: 48px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 50px;
  padding: 0;
  margin-top: 40px;
}

/* Featured Video Section */
.featured-video-section {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--Gray-200, #EAECF0);
  background: var(--Gray-50, #F9FAFB);
}

.featured-video-section .base-layout {
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--Gray-200, #EAECF0);
  background: var(--Gray-50, #F9FAFB);
}

.featured-video-card {
  display: flex;
  gap: 50px;
  align-items: center;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;

}

.featured-video-thumbnail {
  flex: 0 0 40%;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

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

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.featured-video-thumbnail:hover .play-overlay {
  background: rgba(0, 0, 0, 0.5);
}

.play-button {
  width: 60px;
  height: 60px;
  background: linear-gradient(94deg, #0DA8FF 0%, #005096 100%);
  border: 0.43px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  box-shadow:
    0 0 0 10px rgba(255, 255, 255, 0.3),
    0px 5.14px 6.86px -1.71px rgba(16, 24, 40, 0.08),
    0px 1.71px 2.57px -0.86px rgba(16, 24, 40, 0.03);
  backdrop-filter: blur(2.57px);
}

.play-button i {
  color: #ffffff;
  font-size: 12px;
  margin-left: 2px;
}

.featured-video-thumbnail:hover .play-button {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(13, 168, 255, 0.5);
}

.featured-video-content {
  flex: 1;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 10px;
  padding-bottom: 20px;
}

.featured-video-title {
  font-size: clamp(18px, 3vw, 20px);
  font-style: normal;
  font-weight: 600;
  color: #212529;
  line-height: 130%;
  margin-bottom: 5px;
}

.featured-video-description {
  font-size: clamp(16px, 2.5vw, 18px);
  font-style: normal;
  font-weight: 500;
  line-height: 1.8;
  color: #6c757d;
  padding-top: 20px;
}

.featured-video-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 50px;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-watch-now {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  border: 1px solid var(--Gray-400, #98A2B3);
  box-shadow: 0 12px 16px -4px rgba(16, 24, 40, 0.08);
  color: #007196;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  white-space: nowrap;
}

.btn-watch-now:hover {
  background: #007196;
  color: #ffffff;
}

.btn-watch-now i {
  font-size: 18px;
}

.video-duration {
  color: #6c757d;
  text-align: right;
  font-size: clamp(14px, 2.5vw, 18px);
  font-style: normal;
  font-weight: 500;
  line-height: 1.8;
}

/* Latest Videos Section */
.latest-videos-section {
  padding: 50px 0;
  background-color: #ffffff;
}

.latest-videos-section .base-layout {
  padding: 0;
}

.section-header {
  text-align: left;
  margin-bottom: 60px;
}

.section-title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  color: #212529;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: clamp(14px, 2vw, 16px);
  color: #6c757d;
  margin: 0;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.video-card {
  background: #F9FAFB;
  border: 1px solid #EAECF0;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s;
  padding: 20px;
}

.video-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
  position: relative;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
}

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

.play-button-small {
  width: 40px;
  height: 40px;
  background: linear-gradient(94deg, #0DA8FF 0%, #005096 100%);
  border: 0.43px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  box-shadow:
    0 0 0 8px rgba(255, 255, 255, 0.3),
    0px 5.14px 6.86px -1.71px rgba(16, 24, 40, 0.08),
    0px 1.71px 2.57px -0.86px rgba(16, 24, 40, 0.03);
  backdrop-filter: blur(2.57px);
}

.play-button-small i {
  color: #ffffff;
  font-size: 8px;
  margin-left: 2x;
}

.video-card:hover .play-button-small {
  transform: scale(1.1);
  box-shadow: 0 5px 25px rgba(13, 168, 255, 0.5);
}

.video-info {
  padding-top: 20px;
}

.video-title {
  font-size: clamp(18px, 2.5vw, 20px);
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  color: #212529;
  margin-bottom: 12px;
}

.video-description {
  font-size: 14px;
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-watch-small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: transparent;
  border-radius: 8px;
  border: 1px solid var(--Gray-400, #98A2B3);
  box-shadow: 0 12px 16px -4px rgba(16, 24, 40, 0.08);
  color: #007196;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
  white-space: nowrap;
}

.btn-watch-small:hover {
  background: #007196;
  color: #ffffff;
}

.btn-watch-small i {
  font-size: 16px;
}

.video-duration-small {
  color: #6c757d;
  font-size: 14px;
  font-weight: 500;
}

/* View More Section */
.view-more-section {
  text-align: center;
  margin-top: 40px;
  padding: 0;
}

.btn-view-more {
  height: 44px;
  min-width: 220px;
  width: auto;
  padding: 0 30px;
  border: 1px solid #98A2B3;
  border-radius: 8px;
  background: transparent;
  color: #212529;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-view-more:hover {
  background: #007196;
  color: #ffffff;
}

/* Footer CTA Section */
.footer-cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #0091ff 0%, #0077cc 100%);
  position: relative;
  overflow: hidden;
}

.footer-cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.footer-cta-section::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.footer-cta-card {
  display: flex;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.footer-cta-content {
  flex: 0 0 45%;
}

.footer-cta-title {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin: 0;
}

.footer-cta-form {
  flex: 1;
}

.footer-cta-text {
  font-size: clamp(14px, 2vw, 16px);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 24px;
}

.cta-form {
  display: flex;
  gap: 12px;
  background: rgba(255, 255, 255, 0.15);
  padding: 8px;
  border-radius: 50px;
  backdrop-filter: blur(10px);
}

.cta-input {
  flex: 1;
  padding: 14px 24px;
  border: none;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 15px;
  outline: none;
  backdrop-filter: blur(10px);
  min-width: 0;
}

.cta-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.cta-input:focus {
  background: rgba(255, 255, 255, 0.25);
}

.cta-button {
  padding: 14px 32px;
  background: #212529;
  border: none;
  border-radius: 50px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.cta-button:hover {
  background: #000000;
  transform: translateY(-2px);
}

/* Responsive Design */

/* Tablet lớn - 1024px */
@media (max-width: 1024px) {
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .featured-video-card {
    gap: 25px;
    padding: 15px;
  }

  .featured-video-thumbnail {
    flex: 0 0 350px;
  }

  .featured-video-thumbnail img {
    height: 250px;
  }

  .featured-video-content {
    min-height: 250px;
  }

  .featured-video-actions {
    padding-top: 30px;
  }
}

/* Mobile & Tablet - 768px và dưới */
@media (max-width: 768px) {
  .videos-container {
    padding: 0 16px;
  }

  .videos-breadcrumb-section {
    padding: 16px 0;
  }

  .videos-breadcrumb {
    font-size: 11px;
    white-space: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 16px 0;
  }

  .page-title {
    text-align: left;
    font-size: 32px;
    margin-top: 0px;
    margin-bottom: 8px;

  }

  .breadcrumb-item+.breadcrumb-item::before {
    padding: 0 5px;
  }

  .featured-video-section {
    padding: 30px 0;
  }

  .featured-video-card {
    flex-direction: column;
    gap: 20px;
    padding: 15px;
    border-radius: 12px;
  }

  .featured-video-thumbnail {
    flex: 1;
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
  }

  .featured-video-thumbnail img {
    height: 250px;
  }

  .featured-video-content {
    min-height: auto;
    padding-top: 0;
  }

  .featured-video-actions {
    padding-top: 20px;
    flex-direction: row;
    justify-content: space-between;
  }

  .btn-watch-now {
    width: auto;
    justify-content: left;
    font-size: 13px;
    padding: 8px 16px;
  }

  .video-duration {
    text-align: right;
  }

  .latest-videos-section {
    padding: 40px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

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

  .video-card {
    padding: 15px;
  }

  .video-thumbnail img {
    height: 180px;
  }

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

  .play-button i {
    font-size: 12px;
  }

  .play-button-small {
    width: 45px;
    height: 45px;
  }

  .play-button-small i {
    font-size: 12px;
  }

  .btn-watch-small {
    font-size: 13px;
    padding: 8px 16px;
  }

  .footer-cta-section {
    padding: 60px 0;
  }

  .footer-cta-section::before,
  .footer-cta-section::after {
    display: none;
  }

  .footer-cta-card {
    flex-direction: column;
    gap: 40px;
  }

  .footer-cta-content {
    flex: 1;
    text-align: center;
  }

  .cta-form {
    flex-direction: column;
    border-radius: 12px;
    gap: 8px;
  }

  .cta-input,
  .cta-button {
    border-radius: 8px;
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
  }

  .cta-button {
    padding: 12px 20px;
  }

  .videos-base-layout {
    padding: 0px;
  }
}