/*
Theme Name: AH News
Theme URI: https://arunachalheadlines.co.in
Author: Dhananjoy Rabha
Description: Wordpress theme for news posts
Version: 1.0
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

body {
  position: relative;
}

::-webkit-scrollbar {
  width: 5px;
  height: 9px;
}

::-webkit-scrollbar-track {
  width: 5px;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color-77);
  border-radius: 8px;
  transition: ease-in-out 1s;
}

::-webkit-scrollbar-thumb:hover {
  opacity: 1;
  background: var(--primary-color-EE);
}

.root-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

.layout-container {
  display: flex;
}

.content-container {
  flex-grow: 1;
  padding: 20px;
}

.sidebar-container {
  max-width: 360px;
  padding: 10px 10px 20px;
}

.full-width {
  width: 100%;
}

.max-1200 {
  max-width: 1200px;
}

.block-box {
  display: block;
}

.flex-box {
  display: flex;
}

.justify-content-center {
  justify-content: center;
}

.justify-space-between {
  justify-content: space-between;
}

.justify-flex-end {
  justify-content: flex-end;
}

.align-items-center {
  align-items: center;
}

.flex-grow {
  flex-grow: 1;
}

header {
  align-items: center;
  justify-content: center;
  display: flex !important;
}

.header-root-container {
  padding: 0
}

header .site-logo .mobile-menu-btn {
  display: none;
  ;
}

header .site-logo img {
  max-height: 90px;
  width: auto;
}

.header-section {
  padding: 1px 10px;
}

.header-bottom-section {
  background: var(--secondary-color);
}

.featured-image {
  width: auto;
  max-width: 100%;
  height: auto;
}

footer {
  -webkit-box-shadow: 0px 0px 5px 0px #919191;
  box-shadow: 0px 0px 5px 0px #919191;
  padding: 20px 0;
}

footer .footer-copyright-text {
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

header .header-menu-wrapper .mobile-menu-close-btn {
  display: none;
  background: transparent;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

header .header-top-content {
  padding: 5px 0 4px;
}

.news-ticker {
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 100%;
  padding: 10px 0;
  position: relative;
}

.news-ticker-label {
  padding: 0 15px;
  font-weight: bold;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-ticker-wrapper {
  overflow: hidden;
  flex: 1;
  position: relative;
}

.news-ticker-content {
  display: inline-block;
  white-space: nowrap;
}

.news-ticker-content a {
  color: inherit;
  text-decoration: none;
  margin-right: 50px;
}

.ticker-left {
  animation: ticker-left linear infinite;
}

.ticker-right {
  animation: ticker-right linear infinite;
}

@keyframes ticker-left {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

@keyframes ticker-right {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.ticker-alternate {
  animation-direction: alternate;
}

.news-ticker-content:hover {
  animation-play-state: paused;
}

@media (max-width: 992px) {
  .sidebar-container {
    width: 300px;
  }

  .header-top-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
  }

  .header-ad-widget-wrapper,
  .header-top-section-widget {
    width: 100%;
  }

  header .header-top-content .site-logo {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 40px;
  }

  header .header-top-content .site-logo .mobile-menu-btn {
    display: block;
    border: none;
    font-size: 2rem;
  }

  header .header-bottom-section {
    background: transparent;
  }

  header .header-menu-wrapper.m-hidden {
    opacity: 0;
  }

  header .header-menu-wrapper.m-visible {
    opacity: 1;
    visibility: visible;
    left: 0;
  }

  header .header-menu-wrapper .search-container {
    display: none !important;
  }

  header .header-menu-wrapper.m-visible .mobile-menu-close-btn {
    display: block;
  }
}

@media (max-width: 768px) {
  .layout-container {
    flex-direction: column;
    align-items: center;
  }

  .content-container {
    width: 100%;
  }

  .sidebar-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}