
/* Basic card styles */
.card {
  border: none;
  border-radius: 8px;
  overflow: hidden;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
  box-shadow: 0 1px 0px rgba(134, 120, 120, 0.31);

  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: var(--card-bg-color);
  color: var(--card-text-color);
}
/* Thumbnail styles */
.featured-image, .video-thumbnail {
    aspect-ratio: 16/9;
    width: 100%;
    /* height: 200px; */
    object-fit: cover;
}

/* Video styles */
.video-player {
    width: 100%;
    height: auto;
}

/* Hover effects */
.article-card:hover, .audio-card:hover, .video-card:hover {
    transform: scale(1.03);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
}



/* ---------------------------------------------- dark and light theme  start --------------------------------------*/
/* Links (common for both themes) */
.article-link, .audio-link, .video-link {
    text-decoration: none;
    color: #000000; /* Default color for light theme */
}

/* Hover state */
.article-link:hover, .audio-link:hover, .video-link:hover {
    color: #003366; /* Hover color */
}

/* Dark theme specific link styles */
[data-bs-theme="dark"] .article-link,
[data-bs-theme="dark"] .audio-link,
[data-bs-theme="dark"] .video-link {
    color: #eaeaea; /* Light color for dark theme */
}

/* Dark theme hover state */
[data-bs-theme="dark"] .article-link:hover,
[data-bs-theme="dark"] .audio-link:hover,
[data-bs-theme="dark"] .video-link:hover {
    color: #66ccff; /* Lighter hover color for dark theme */
}

/* Light theme specific link styles */
[data-bs-theme="light"] .article-link,
[data-bs-theme="light"] .audio-link,
[data-bs-theme="light"] .video-link {
    color: #000000; /* Default color for light theme */
}

/* Light theme hover state */
[data-bs-theme="light"] .article-link:hover,
[data-bs-theme="light"] .audio-link:hover,
[data-bs-theme="light"] .video-link:hover {
    color: #003366; /* Hover color for light theme */
}
/* ---------------------------------------------- dark and light theme  end--------------------------------------*/

/* Video thumbnail wrapper for 16:9 aspect ratio */


.video-thumbnail-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    padding-top: 56.25%; /* 16:9 */
    background-color: #000;
}


.video-thumbnail-wrapper .video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}


.video-thumbnail-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


h1.card-title, h1.audio-title, h1.video-title{
  font-size: 1.11rem;
  font-weight: 400;
}

h1 {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.3;
  }

h1.main-feature
{
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.4;
}
  audio {
      max-width: 100%;
      display: inline-block; /* Less restrictive than 'block' */
  }






  button#themeToggle.btn.btn-outline-secondary
  {
    display: inline-block;
    padding: 6px 12px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 4px;
    background-image: none;

  }


button#themeToggle.btn.btn-outline-light{
    display: inline-block;
    padding: 6px 12px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 4px;
    background-image: none;

  }
