@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Calistoga&display=swap");
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #e2107a;
  --secondary-color: white;
  --accent-color: #d9182f;
  --color-yellow: #f5c518;
  --background-color: #f7f8fa;
  --text-color: white;
  --dark-text-color: #3f4448;
  --border-color: #d1d5db;
  --nav-color: white;
  --meta-color: #707070;
  --color-black: black;
  --footer-color: #091633;
  --content-color: rgb(17, 17, 17);
}

html,
body {
  font-family: "Open Sans", sans-serif;
  background-color: var(--background-color);
  color: var(--dark-text-color);
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Find your existing #topHeader and update it like this: */
#topHeader {
  max-height: 160px;
  opacity: 1;
  overflow: hidden;
  transition:
    max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.25s ease;
}

#headerDivider,
#stickyLogo {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#siteHeader.is-scrolled #topHeader {
  max-height: 0 !important;
  opacity: 0 !important;
  pointer-events: none;
}

#siteHeader.is-scrolled #headerDivider {
  opacity: 0 !important;
}

/* 3. Reveal sticky logo */
#siteHeader.is-scrolled #stickyLogo {
  width: 3.5rem !important;
  margin-right: 1.25rem !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/*  Navbar Links */

.nav-links {
  color: var(--text-color);
  font-size: 15px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0.6px;
}

.nav-links a,
.nav-links button {
  text-transform: uppercase;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: var(--nav-color);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links button:hover {
  opacity: 0.8;
}

/* Dropdown Links */
.nav-links .dropdown-links a {
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  color: var(--dark-text-color);
  opacity: 1;
}

.nav-links .dropdown-links a:hover {
  color: var(--primary-color);
}

/*  Sidebar  */

#sidebar {
  border-left: 1px solid var(--border-color);
}

/*  Sidebar Header  */

.sidebar-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

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

.sidebar-close-btn {
  color: var(--text-color);
  background-color: rgba(255, 255, 255, 0.08);
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.sidebar-close-btn:hover {
  color: white;
  background-color: var(--primary-color);
  transform: rotate(90deg);
}

/*  Sidebar Content  */

.sidebar-content {
  scrollbar-width: thin;
  scrollbar-color: var(--border-color) transparent;
}

.sidebar-content::-webkit-scrollbar {
  width: 5px;
}

.sidebar-content::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar-content::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 20px;
}

/*  Sidebar Navigation  */
.sidebar-nav {
  font-family: "Open Sans", sans-serif;
}

/*  Main Links  */
.sidebar-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px 14px 12px;
  color: var(--dark-text-color);
  font-size: 18px;
  font-weight: 700;
  line-height: 16px;
  border-bottom: 0.5px solid var(--border-color);
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    padding-left 0.2s ease;
}

/* Accent Line  */

.sidebar-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 0;
  background-color: var(--primary-color);
  border-radius: 0 4px 4px 0;
  transform: translateY(-50%);
  transition: height 0.2s ease;
}

/* Main Link Hover  */
.sidebar-link:hover {
  color: var(--primary-color);
}

/* Other Section  */
.sidebar-section {
  margin-top: 26px;
  padding-top: 18px;
}

.sidebar-section-title {
  margin-bottom: 8px;
  padding: 0 12px;
  color: rgb(174, 170, 170);
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.2;
}

/*  Sub Links  */

.sidebar-sub-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
  color: var(--dark-text-color);
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  border-radius: 7px;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    padding-left 0.2s ease;
}

.sidebar-sub-link:hover {
  color: var(--primary-color);
}

/* hr line in heading  */
.hr-line {
  height: 0.5px;
  flex: 1 1 0%;
  background-color: var(--primary-color);
}
p {
  font-size: 16px;
  line-height: 30px;
  font-weight: 400;
}

/* news title size */
.news-banner {
  font-size: 32px;
  font-weight: 600;
  line-height: 40px;
  color: var(--dark-text-color);
  transition: color 0.3s ease;
}
.news-banner:hover {
  color: var(--primary-color);
}
@media (max-width: 768px) {
  .news-banner {
    font-size: 36px;
    line-height: 43px;
  }
}

.news-big {
  font-size: 22px;
  font-weight: 600;
  line-height: 34px;
  color: var(--dark-text-color);
  transition: color 0.3s ease;
}
.news-big:hover {
  color: var(--primary-color);
}

.news-medium {
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;
  color: var(--dark-text-color);
  transition: color 0.3s ease;
}
.news-medium:hover {
  color: var(--primary-color);
}

.news-small {
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  color: var(--dark-text-color);
  transition: color 0.3s ease;
}
.news-small:hover {
  color: var(--primary-color);
}

.news-big-white {
  font-size: 22px;
  font-weight: 600;
  line-height: 34px;
  color: var(--text-color);
}

.news-medium-white {
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;
  color: var(--text-color);
}

.news-small-white {
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  color: var(--text-color);
}

.meta-author {
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  color: var(--meta-color);
}

.category-title {
  font-size: 28px;
  font-weight: 800;
  line-height: 36px;
  text-transform: uppercase;
  font-style: italic;
  color: var(--primary-color);
}

.category-title-white {
  font-size: 28px;
  font-weight: 800;
  line-height: 36px;
  text-transform: uppercase;
  font-style: italic;
  color: var(--text-color);
}

.news-content {
  color: rgb(30, 30, 30);
  font-size: 16px;
  line-height: 30px;
  text-align: justify;
  font-weight: 400;
  letter-spacing: 0.3px;
  word-spacing: 0.7px;
}
.news-content p + p {
  margin-top: 1rem;
}

.trending {
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  color: var(--dark-text-color);
  transition: color 0.3s ease;
}

.trending:hover {
  color: var(--primary-color);
}
.trending-white {
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  color: var(--text-color);
  transition: color 0.3s ease;
}

.single-title {
  font-family: "Calistoga", serif;
  color: rgb(34, 34, 34);
  font-weight: 300;
  font-style: normal;
  font-size: 56px;
  line-height: 70px;
}

@media (max-width: 768px) {
  .single-title {
    font-size: 28px;
    line-height: 40px;
  }
}
