/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base styles */
:root {
  color-scheme: light dark;

  /* Light Mode Variables */
  --bg-primary-light: #ffffff;
  --bg-secondary-light: #f0f0f0;
  --bg-tertiary-light: #e9ecef;
  --text-primary-light: #24292f;
  --text-secondary-light: #0d1117;
  --text-tertiary-light: #3d444d;
  --link-color-light: #0078d3;
  --link-hover-color-light: #0056b3;
  --border-color-light: #e0e0e0;
  --footer-bg-light: #f6f8fa;
  --footer-text-light: #57606a;
  --footer-link-light: #0078d3;
  --footer-link-hover-light: #0056b3;
  --footer-border-light: #dfe2e5;

  /* Dark Mode Variables */
  --bg-primary-dark: #0d1117;
  --bg-secondary-dark: #1f242c;
  --bg-tertiary-dark: #212830;
  --text-primary-dark: #c9d1d9;
  --text-secondary-dark: #c9d1d9;
  --text-tertiary-dark: #c9d1d9;
  --link-color-dark: #58a6ff;
  --link-hover-color-dark: #1f6feb;
  --border-color-dark: #30363d;
  --footer-bg-dark: #0d1117;
  --footer-text-dark: #8b949e;
  --footer-link-dark: #58a6ff;
  --footer-link-hover-dark: #1f6feb;
  --footer-border-dark: #30363d;

  /* Header Variables (Always Dark) */
  --header-bg: #0d1117;
  --header-border: #30363d;
  --header-text-logo-color: #c9d1d9;
  --header-nav-link-color: #c9d1d9;
  --header-nav-link-hover-active-color: #58a6ff;
  --header-mobile-toggle-icon-color: #c9d1d9;
  --header-mobile-menu-bg: #161b22;
  --header-mobile-menu-link-color: #c9d1d9;
  --header-mobile-menu-border-color: #30363d;
  --header-mobile-menu-hover-bg: #1f242c;
  --header-mobile-menu-active-bg: #212830;
  --header-mobile-menu-active-text-color: #58a6ff;
  --header-mobile-menu-active-border-color: #58a6ff;
  --header-mobile-nav-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  --header-logo-light-display: none;
  --header-logo-dark-display: block;
  --header-height: 60px;

  /* Initial Default Values (Light Mode) */
  --bg-primary: var(--bg-primary-light);
  --bg-secondary: var(--bg-secondary-light);
  --bg-tertiary: var(--bg-tertiary-light);
  --text-primary: var(--text-primary-light);
  --text-secondary: var(--text-secondary-light);
  --text-tertiary: var(--text-tertiary-light);
  --link-color: var(--link-color-light);
  --link-hover-color: var(--link-hover-color-light);
  --border-color: var(--border-color-light);
  --footer-bg: var(--footer-bg-light);
  --footer-text: var(--footer-text-light);
  --footer-link: var(--footer-link-light);
  --footer-link-hover: var(--footer-link-hover-light);
  --footer-border: var(--footer-border-light);
}

body {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 2;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overscroll-behavior-y: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
}

h1 {
  font-size: 27px;
}
h2 {
  font-size: 21px;
  margin-top: 32px;
}
h3 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 24px;
}

p {
  margin-bottom: 16px;
}

/* Links */
a {
  color: var(--link-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Layout */
.page-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
header {
  background-color: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cxhacks-logo {
  display: flex;
  align-items: center;
}

.blog-logo {
  width: 32px;
  height: 32px;
  margin-right: 12px;
}

.text-logo {
  color: var(--header-text-logo-color);
  font-size: 1.25rem;
  font-weight: 600;
}

.main-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.main-nav a {
  color: var(--header-nav-link-color);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-bottom-color 0.2s ease;
}

.main-nav a:hover {
  color: var(--header-nav-link-hover-active-color);
  border-bottom-color: var(--header-nav-link-hover-active-color);
}

.main-nav a.active {
  color: var(--header-nav-link-hover-active-color);
  border-bottom-color: var(--header-nav-link-hover-active-color);
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  z-index: 1001;
}

.mobile-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--header-mobile-toggle-icon-color);
  margin: 4px 0;
  transition: transform 0.3s ease;
}

.mobile-nav-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background-color: var(--header-mobile-menu-bg);
  padding: 1rem;
  border-bottom: 1px solid var(--header-mobile-menu-border-color);
  box-shadow: var(--header-mobile-nav-shadow);
  z-index: 999;
}

.mobile-nav-menu.active {
  display: block;
}

.mobile-nav-menu a {
  display: block;
  color: var(--header-mobile-menu-link-color);
  text-decoration: none;
  padding: 12px 20px;
  font-weight: 500;
  text-align: left;
  border-bottom: 1px solid var(--header-mobile-menu-border-color);
}

.mobile-nav-menu a:last-child {
  border-bottom: none;
}

.mobile-nav-menu a:hover {
  background-color: var(--header-mobile-menu-hover-bg);
  color: var(--header-nav-link-hover-active-color);
}

.mobile-nav-menu a.active {
  background-color: var(--header-mobile-menu-active-bg);
  border-left: 4px solid var(--header-mobile-menu-active-border-color);
  color: var(--header-mobile-menu-active-text-color);
  padding-left: 16px;
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-divider {
  border: none;
  border-top: 2px solid #e0e0e0;
  margin: 16px 0 32px;
  width: 100%;
}

/* Featured image */
.featured-image {
  width: 100%;
  height: 400px;
  background-color: #f0f0f0;
  margin-bottom: 16px;
  position: relative;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-caption {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  color: #404040;
  margin-top: 8px;
  margin-bottom: 32px;
}

/* Footer */
footer {
  background-color: #fff;
  color: #0d1117;
  padding: 1.2rem 0;
  margin-top: 3rem;
  text-align: center;
  border-top: 0.5px solid #c9d1d9;
  bottom: 0;
  width: 100%;
  position: fixed;
  z-index: 1000;
}

.footer-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-container p {
  margin: 0;
  font-size: 0.6rem;
  color: var(--footer-text);
}

.footer-container a {
  color: var(--footer-link);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-container a:hover {
  color: var(--footer-link-hover);
  text-decoration: underline;
}

/* Apple-style Dropdown Search */
.search-container {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
}

.search-button {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.search-button:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.search-button svg {
  width: 16px;
  height: 16px;
  fill: #333333;
}

/* Search dropdown panel */
.search-dropdown {
  position: fixed;
  top: 71px;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: all 0.3s ease;
  overflow-y: auto;
}

.search-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Inner container for content */
.search-dropdown-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 40px 20px;
  display: flex;
  flex-direction: column;
}

/* Search form */
.search-form {
  position: relative;
  margin-bottom: 30px;
}

.search-form input {
  width: 100%;
  padding: 14px 40px;
  font-size: 17px;
  border: none;
  border-radius: 8px;
  background-color: rgba(210, 210, 215, 0.8);
  font-family: "Roboto", sans-serif;
  outline: none;
  transition: background-color 0.2s ease;
}

.search-form input:focus {
  background-color: rgba(210, 210, 215, 1);
}

.search-form svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  fill: #666;
}

.search-form .clear-button {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  width: 18px;
  height: 18px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-form .clear-button.active {
  opacity: 1;
}

.search-form .clear-button svg {
  position: static;
  transform: none;
  width: 12px;
  height: 12px;
  fill: #666;
}

/* Quick Links Section */
.quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(225px, 1fr));
  gap: 30px;
}

.quick-link-category {
  margin-bottom: 10px;
}

.quick-link-category-title {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e1e1e1;
}

.quick-link-item {
  display: block;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.quick-link-item:hover {
  color: #0078d3;
}

.quick-link-subcategory {
  margin-top: 2px;
  padding-left: 10px;
  border-left: 1px solid #e1e1e1;
  margin-bottom: 8px;
}

.quick-link-subcategory-title {
  font-size: 13px;
  font-weight: 600;
  color: #444;
  margin-bottom: 5px;
}

/* Live Search Results */
.live-search-results {
  margin-top: 30px;
  display: none;
}

.live-search-results.active {
  display: block;
}

.result-category {
  margin-bottom: 24px;
}

.result-category-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #666;
}

.result-item {
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-bottom: 5px;
}

.result-item:hover {
  background-color: rgba(210, 210, 215, 0.5);
}

.result-item-title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
  color: #333;
}

.result-item-path {
  font-size: 12px;
  color: #666;
}

/* Search overlay */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* List Styling */
ul,
ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

/* Remove list indentation for post images */
ul .post-image,
ol .post-image {
  margin-left: -2rem;
  text-align: center;
  /* Optional: Adjust width if container constrains it */
  /* width: calc(100% + 2rem); */
  /* max-width: none; /* Override any max-width constraints if needed */
}

ul strong,
ol strong {
  display: inline;
  margin: 0;
  padding: 0;
  font-weight: 700;
}

.subscribe-prompt {
  text-align: center;
  margin-top: 20px;
  font-family: "Roboto", sans-serif;
}

.subscribe-button {
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  background-color: #9a9a9a;
  color: #ffffff;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.subscribe-button:hover {
  background-color: #4a4a4a;
  transform: translateY(-1px);
}

.hidden {
  display: none;
}

.subscribe-form {
  margin-top: 16px;
  text-align: center;
}

.subscribe-form input[type="email"] {
  padding: 12px 16px;
  margin-bottom: 12px;
  font-size: 13px;
  border: none;
  border-bottom: 1px solid #cccccc;
  outline: none;
  width: 80%;
  max-width: 280px;
  background-color: transparent;
  transition: border-color 0.2s ease;
}

.subscribe-form input[type="email"]:focus {
  border-color: #9a9a9a;
}

.subscribe-form button[type="submit"] {
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 600;
  background-color: #9a9a9a;
  color: #ffffff;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.subscribe-form button[type="submit"]:hover {
  background-color: #4a4a4a;
  transform: translateY(-1px);
}

/* Maintain your CNN-style layout for the rest of the page */
.main-content {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
/* Styles for Video Demos Page */

.video-page-container {
  margin: 2rem;
}

.video-demos-container {
  display: flex;
  gap: 2rem;
  padding: 2rem;
  align-items: flex-start;
}

.video-player-section {
  flex: 3;
  min-width: 300px;
  padding-right: 1rem;
}

.video-playlist-section {
  flex: 1;
  min-width: 280px;
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 1rem;
  max-height: calc(100vh - 360px);
  overflow-y: auto;
  box-sizing: border-box;
  border: 1px solid #eee;
}

.video-player-section iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 8px;
}

.video-description {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  padding: 1rem;
  background-color: #f9f9f9;
  border-radius: 8px;
  border: 1px solid #eee;
}

.video-description h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
}

.video-description p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 0.5rem;
}

/* Playlist Section Styling */
.video-playlist-section h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.5rem;
  color: #333;
}

.video-layout-container {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 1.5rem;
  max-width: 1440px;
  margin: 0 auto;
}

/* Playlist Groups */
.playlist-group {
  margin-bottom: 2rem;
}

.playlist-group h4 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.25rem;
  color: #333;
}

/* Individual Playlist Videos */
.playlist-video {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  cursor: pointer;
  align-items: flex-start;
  transition: background-color 0.2s ease;
  padding: 0.5rem;
  border-radius: 6px;
  border: 1px solid transparent;
}

.playlist-video img {
  width: 120px;
  height: auto;
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 4px;
}

.video-info {
  flex: 1;
  min-width: 0; /* Prevents text from forcing container to grow */
}

.video-info h5 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
}

.video-info p {
  margin: 0.3rem 0 0;
  font-size: 0.8rem;
  color: #666;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
}

/* Highlight Active Video */
.playlist-video.active {
  background-color: #f0f7ff;
  border-color: #0078d3;
}
/* Optional: Stack columns on small screens */
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .text-logo {
    display: none;
  }

  .blog-logo {
    width: 32px;
    height: 32px;
    margin-right: 0;
  }

  .video-page-container {
    padding: 0;
  }

  .video-tabs {
    padding: 10px 5px;
    margin: 0;
  }

  .tab-button {
    font-size: 0.9rem;
    padding: 8px 12px;
  }

  .video-layout-container {
    flex-direction: column;
    gap: 1rem;
    padding: 0;
  }

  .video-player-section {
    width: 100%;
    padding: 0;
  }

  .video-player-section iframe {
    aspect-ratio: 16/9;
    width: 100%;
    height: auto;
    border-radius: 0;
  }

  .video-description {
    font-size: 0.7rem;
    background-color: #fafafa;
  }
  .video-description h2 {
    font-size: 0.9rem;
    margin-bottom: 0;
    margin-top: 0.5rem;
    padding: 1rem;
  }
  .video-description p {
    font-size: 0.7rem;
  }
  .video-playlist-section h3 {
    font-size: 1.2rem;
  }
  .video-info h5 {
    font-size: 0.7rem;
  }
  .video-info p {
    font-size: 0.7rem;
  }
  .playlist-group h4 {
    font-size: 1rem;
    margin: 0.5rem 0;
  }

  .playlist-video {
    padding: 0.5rem;
    margin-bottom: 0.5rem;
  }

  .video-info h5 {
    font-size: 0.9rem;
  }

  .video-info p {
    font-size: 0.8rem;
  }
}

/* Tablet Layout */
@media (min-width: 769px) and (max-width: 1200px) {
  /* Assuming floating-nav-toggle is also mobile-only */
  .floating-nav-toggle {
    position: fixed;
    top: 0;
    left: 225px;
    font-size: 1.5rem;
    background-color: rgba(255, 255, 255, 0);
    color: #333333;
    border: none;
    padding: 10px 16px;
    cursor: pointer;
    z-index: 1000;
  }

  /* Replace .video-demos-container with .video-layout-container and set flex direction */
  .video-layout-container {
    flex-direction: column;
    gap: 2rem;
    padding: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
  }

  .video-player-section {
    width: 100%;
  }

  .video-playlist-section {
    width: 100%;
    max-height: none; /* No height limit */
    overflow-y: visible;
    margin-top: 1rem;
    background-color: #fafafa;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
  }

  .video-info p {
    font-size: 0.9rem;
  }

  .video-playlist-section::-webkit-scrollbar {
    width: 6px;
  }
  .video-playlist-section::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 3px;
  }

  /* Ensure correct navigation is shown */
  .main-nav {
    display: flex;
  }
  .mobile-nav {
    display: none;
  }

  /* Adjust typography if needed */
  /* Example:
  .video-description h2 { font-size: 1.4rem; }
  .video-description p { font-size: 0.95rem; }
  .playlist-group h4 { font-size: 1rem; }
  .video-info h5 { font-size: 0.9rem; }
  */
}

/* Responsive fallback */
@media (min-width: 1201px) {
  .floating-nav-toggle {
    display: none;
  }

  .mobile-nav {
    display: none;
  }

  /* Desktop layout adjustments for video page */
  .video-layout-container {
    align-items: stretch; /* Override base flex-start to make items same height */
    flex-wrap: nowrap; /* Prevent wrapping on desktop if width allows */
  }

  .video-playlist-section {
    display: flex; /* Make this a flex container */
    flex-direction: column; /* Stack title and list vertically */
    /* Base styles provide overflow: auto; */
  }

  /* Ensure playlist title doesn't shrink */
  .video-playlist-section h3 {
    flex-shrink: 0;
  }

  /* Allow playlist groups container to grow and scroll */
  #playlistGroups {
    flex-grow: 1; /* Allow div to take up remaining space */
    overflow-y: auto; /* Enable vertical scroll */
    min-height: 0; /* Crucial for allowing shrinking/scrolling within flex item */
  }
}

/* Ensure strong and em remain inline properly */
strong,
em,
b {
  display: inline;
  font-weight: 700; /* or bold */
  margin: 0; /* remove any unwanted spacing */
  padding: 0;
}

ol li .post-image,
ul li .post-image,
ol li blockquote,
ul li blockquote {
  margin-left: -2rem; /* Adjust based on your list indent size */
}

/* Footer */
footer {
  background-color: #f2f2f2;
  padding: 20px 0;
  text-align: center;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  align-items: center;
}

.footer-section {
  flex: 1;
  margin-right: 40px;
  margin-bottom: 16px;
  font-family: "Roboto", sans-serif;
}

.footer-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links {
  padding-left: 0;
  margin: 0;
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.copyright {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  color: #404040;
  margin-top: 16px;
  text-align: center;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* Video Tabs Styling */
.video-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #eee; /* Add a subtle line below tabs */
  max-width: 1400px;
  margin: 0 auto;
}

.tab-button {
  background: none;
  border: none;
  padding: 0.75rem 0.5rem;
  font-size: 0.75rem;
  cursor: pointer;
  border-bottom: 3px solid transparent; /* Make border thicker for visibility */
  transition: border-bottom 0.3s, color 0.3s;
  color: #555;
  margin-bottom: -1px; /* Overlap border-bottom */
}

.tab-button.active {
  border-bottom: 3px solid #0078d3;
  font-weight: 600; /* Make active tab bolder */
  color: #000;
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-primary: var(--bg-primary-dark);
    --bg-secondary: var(--bg-secondary-dark);
    --bg-tertiary: var(--bg-tertiary-dark);
    --text-primary: var(--text-primary-dark);
    --text-secondary: var(--text-secondary-dark);
    --text-tertiary: var(--text-tertiary-dark);
    --link-color: var(--link-color-dark);
    --link-hover-color: var(--link-hover-color-dark);
    --border-color: var(--border-color-dark);
    --footer-bg: var(--footer-bg-dark);
    --footer-text: var(--footer-text-dark);
    --footer-link: var(--footer-link-dark);
    --footer-link-hover: var(--footer-link-hover-dark);
    --footer-border: var(--footer-border-dark);
  }

  .video-description {
    background-color: #0d1117;
    border-color: #30363d;
  }

  .video-description h2 {
    color: #c9d1d9;
  }

  .video-description p {
    color: #c9d1d9;
  }

  footer {
    background-color: #0d1117;
    border-color: #30363d;
  }

  .footer-section {
    background-color: #0d1117;
    border-color: #30363d;
  }

  .footer-container {
    background-color: #0d1117;
  }

  .footer-container p {
    color: #fff;
  }

  .video-playlist-section {
    background-color: #0d1117;
    border-color: #30363d;
  }

  .video-playlist-section h3 {
    color: #c9d1d9;
    border-color: #30363d;
  }

  .video-playlist-section h4 {
    color: #c9d1d9;
    border-color: #30363d;
  }

  .video-playlist-section p {
    color: #fff;
  }

  .playlist-video {
    border-color: transparent;
  }

  .playlist-video:hover {
    background-color: #2d333b;
  }

  .playlist-video.active {
    background-color: #2d333b;
    border-color: #58a6ff;
  }

  .video-info h5 {
    color: #c9d1d9;
  }

  .video-info p {
    color: #8b949e;
  }

  .tab-button {
    color: #8b949e;
  }

  .tab-button.active {
    color: #c9d1d9;
    border-bottom-color: #58a6ff;
  }

  .video-tabs {
    border-bottom-color: #30363d;
  }
}
