/* .logo-image img {
  filter: brightness(0) invert(1);
} */

/* header sub nav */
.subnav {
  display: flex;
  flex-direction: row;
  align-items: center;
  cursor: pointer;
}

.subnav ul {
  position: absolute;
  right: -8px;
  top: 100%;
  min-width: 160px;
  background: white;
  display: flex;
  flex-direction: column;
  visibility: hidden;
  opacity: 0;
  z-index: 9;
  list-style: none;
  padding: 0;
  margin: 0;
  border-radius: 5px;
  border: 1px solid #e8e9eb;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(8px);
  transition: transform 0.15s;
}

.subnav ul::before {
  content: "";
  width: 100%;
  height: 34px;
  background: transparent;
  top: 0;
  z-index: -1;
  margin-top: -34px;
  position: absolute;
  left: 0;
}

.subnav ul::after {
  content: "";
  position: absolute;
  right: 21px;
  top: -20px;
  border: 10px solid transparent;
  border-bottom-color: var(--body-bg);
}
.subnav ul li{
    padding: 0 !important;
}
.subnav ul li a {
  color: var(--text-color-dark) !important;
  background-color: transparent !important;
  border-radius: 0;
  width: 100%;
  height: 48px;
  padding: 0 16px;
  line-height: 48px;
  display: block;
}

.subnav ul li:first-child {
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.subnav ul li a:hover {
  background: var(--light-bg-color) !important;
  color: var(--ghost-accent-color) !important;
}

.subnav svg {
  width: 12px;
  height: 12px;
  vertical-align: middle;
  margin-left: 4px;
  margin-top: -2px;
  fill: #fff;
}

.subnav:hover ul {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}


/* post page style */

/* Style for the video-raw div */
.video-container{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
}
.video-container .kg-video-card{
  overflow: hidden;
}

.video-container .kg-video-card .kg-video-volume-slider,
.video-container .kg-video-card .kg-video-current-time,
.video-container .kg-video-card .kg-video-time{
  display: none;
}

.video-container .kg-video-card .kg-video-player{
  justify-content: space-between;
}

.mobile-nav-wrap ul li a{
  color: #000;
}

.mobile-nav-wrap .subnav svg{
  fill: #000;
  display: none;
}
.mobile-nav-wrap .subnav{
  display: grid;
  grid-template-columns: 1fr 20px;
}
.mobile-nav-wrap .subnav ul{
  position: static;
  grid-column: span 2;
}

.mobile-nav-wrap .header-nav-list .subnav > ul {
  display: flex;
  visibility: visible;
  opacity: 0.8;
  border: none;
  box-shadow: none;
}


.nav-list-primary li .dropdown li {
  overflow: visible;
}

.is-dropdown .dropdown-arrow{display: none;}



/* new header styling */
.header-bottom{
  background: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-list-primary li a{
  color: var(--theme-color);
}

.nav-list-primary li a.nav-current, .nav-list-primary li a.nav-current:hover {
  background: var(--theme-color);
  color: #fff;
}

.menu-icon .line{
  background: var(--theme-color);
}

@media (max-width: 767px) {
  .logo {
    margin-top: 24px;
  }

  .header-nav-list .nav-list-primary{
    display: flex;
    flex-direction: column;
  }

  .mobile-nav-wrap .mobile-nav li a.nav-current {
    background: transparent;
    color: #000; 
  }
  .video-container{
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 400px) {
  .video-container{
    grid-template-columns: 1fr;
  }
}
