@font-face {
  font-family: "Oswald";
  /* Your preferred font name */
  src: url("/assets/fonts/Oswald/static/Oswald-SemiBold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Oswald";
  /* Your preferred font name */
  src: url("/assets/fonts/Oswald/static/Oswald-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat";
  /* Your preferred font name */
  src: url("/assets/fonts/Montserrat/static/Montserrat-Bold.ttf")
    format("truetype");
  font-weight: normal;
  font-style: normal;
}

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

body {
  background-color: #ffffff;
  color: #111;
  line-height: 1.5;
  font-family: "Oswald";
}

a {
  text-decoration: none;
  color: #111;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
}

/* //Heading */

.heading-container {
  display: flex;
  align-items: center;
  width: 100%;
}

.heading-text {
  font-size: 20px;
  font-weight: bold;
  text-transform: uppercase;
  white-space: nowrap;
}

.heading-line {
  flex-grow: 1;
  height: 4px;
  background-color: #ddd;
  margin-left: 20px;
}

/* Header styles */
header {
  background-color: #fff;
  /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

.social-icons a {
  margin-left: 15px;
  font-size: 16px;
  color: #666;
}

.top-menu {
  display: flex;
}

.top-menu a {
  margin-left: 20px;
  font-size: 14px;
  color: #777;
}

.header-main {
  display: flex;
  justify-content: space-between;
  align-items: normal;
  padding: 20px 0;
  text-align: center;
}

.logo {
  font-size: 32px;
  font-weight: bold;
  color: #ffffff;
  padding: 22px 50px;
  background-color: red;
  align-content: center;
  width: 100%;
  height: 100%;
}

.header-main .ad-block {
  display: flex;
  align-items: baseline;
  gap: 20px;
}

.header-ad {
  width: 728px;
  height: 90px;
  background-color: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.main-nav {
  background-color: #fff;
  border-top: 1px solid;
  border-bottom: 1px solid;
  border-color: #dddddd;
  position: relative;
  z-index: 1000;
}

.main-nav .container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.main-nav ul {
  display: flex;
  list-style: none;
}

.main-nav li {
  position: relative;
  color: #000;
}

.main-nav li.has-dropdown {
  position: static;
}

.main-nav a {
  display: block;
  padding: 15px 20px;
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  color: #000;
}

.main-nav a:hover {
  background-color: #000;
  color: white;
}

/* Style for active menu item when dropdown is being hovered */
.main-nav li.has-dropdown:hover > a {
  background-color: #000;
  color: white;
}

/* Dropdown styles */
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 1000px;
  max-width: 1200px;
  width: auto;
  background-color: white;
  padding: 40px 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 100;
  border-radius: 0 0 8px 8px;
}

.main-nav li.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 500px) {
  .header-main {
    display: none;
  }
}

.carousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.articles-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  transition: transform 0.5s ease-in-out;
}

.article {
  width: 23%;
  margin: 0 1%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  background-color: white;
  border-radius: 4px;
  flex: 0 0 calc(25% - 10px);
  /* 4 items at a time */
  box-sizing: border-box;
}

.article-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.5s;
  display: block;
}

.article:hover .article-img {
  transform: scale(1.05);
}

.articles-container .article-title {
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  margin: 0;
  padding: 15px 10px;
  text-transform: uppercase;
  line-height: 1.4;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navigation {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.nav-btn {
  background-color: white;
  border: 1px solid #e0e0e0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 5px;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 50%;
  font-size: 18px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  padding: 10px;
  user-select: none;
}

.nav-btn:hover {
  background-color: #f5f5f5;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Featured section */
.featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 30px 0;
}

.featured-main {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.featured-side-item {
  position: relative;
  height: 200px;
  overflow: hidden;
  border: 1px solid #dddddd;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
}

.featured-side-item img {
  width: 50%;
  height: 100%;
  object-fit: cover;
}

.featured-side-info {
  display: block;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  color: #000;
}

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

.featured-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: #fff;
}

.category {
  display: inline-block;
  color: red;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-family: "Montserrat", sans-serif;
}

.featured-title {
  font-size: 28px;
  margin-bottom: 10px;
}

.featured-meta {
  font-size: 14px;
  opacity: 0.8;
}

.featured-side {
  display: grid;
  gap: 20px;
}

.featured-side-block1 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.side-item {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.side-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.side-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: #fff;
}

.side-title {
  font-size: 18px;
  margin-bottom: 5px;
}

/* Trending News Ticker */
.ticker-section {
  margin: 40px 0;
}

.ticker-container {
  display: flex;
  align-items: center;
  background-color: #f5f5f5;
  padding: 10px;
  max-width: 900px;
  margin: 20px auto;
  border-radius: 5px;
}

.ticker-label {
  background-color: red;
  color: white;
  padding: 5px 10px;
  font-weight: bold;
  border-radius: 3px;
  margin-right: 10px;
}

.ticker-text {
  flex-grow: 1;
  font-weight: bold;
}

.ticker-controls button {
  background: none;
  border: 1px solid #ccc;
  padding: 5px;
  cursor: pointer;
  width: 30px;
}

.ticker-controls button:hover {
  background: red;
  color: white;
  border-color: red;
}

/* Latest news with side section */
.latest-news {
  margin: 40px 0;
}

.section-title {
  font-size: 22px;
  border-bottom: 2px solid #ff0036;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.news-container {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.news-item {
  height: 100%;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.news-img {
  height: auto;
  overflow: hidden;
}

.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.news-img:hover img {
  transform: scale(1.05);
}

.news-content {
  padding: 20px;
}

.news-title {
  font-size: 20px;
}

.news-excerpt {
  color: #666;
  font-size: 14px;
  margin-bottom: 15px;
}

.news-meta {
  font-size: 13px;
  color: #888;
}

/* Latest  post */
.latest-posts {
  padding-bottom: 20px;
  margin-bottom: 20px;
  margin-top: 20px;
  border: 1px solid #eee;
}

.latest-posts-img {
  width: 100%;
}

.latest-posts-img img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.latest-must-read-content {
  padding: 6px;
}

.latest-must-read-content .tag {
  margin-bottom: 5px;
  font-family: "Montserrat", sans-serif;
}

.latest-must-read-content h3 {
  font-size: 15px;
}

/* Must Read Side Section */

.must-read-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #ff0036;
}

.must-read-item {
  display: flex;
  margin-bottom: 20px;
  margin-top: 20px;
  border: 1px solid #eee;
}

.must-read-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.must-read-img {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  margin-right: 15px;
}

.must-read-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.must-read-content {
  padding: 6px;
}

.must-read-content .tag {
  margin-bottom: 5px;
  font-family: "Montserrat", sans-serif;
}

.must-read-content h3 {
  font-size: 15px;
}

.must-read-meta {
  font-size: 12px;
  color: #888;
}

/* Celebrity section */
.celebrity-section {
  margin: 40px 0;
}

.celeb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.celeb-item {
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.celeb-img {
  height: 240px;
  overflow: hidden;
}

.celeb-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.celeb-img:hover img {
  transform: scale(1.05);
}

.celeb-content {
  padding: 15px;
}

.celeb-title {
  font-size: 16px;
  margin-bottom: 5px;
}

/* Footer */
footer {
  background-color: black;
  color: #fff;
  padding: 50px 0 0;
  font-family: "Montserrat", sans-serif !important;
  text-transform: uppercase;
}

.footer-widgets {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.footer-widget h3 {
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: 600;
  color: #fff;
}

.footer-widget p {
  color: #fff;
  margin-bottom: 15px;
}

.footer-widget ul {
  list-style: none;
  font-family: "Montserrat";
}

.footer-widget ul li {
  /* border-bottom: 1px solid #333; */
  padding: 10px 0;
  cursor: pointer !important;
  line-height: 1;
  letter-spacing: 1.2;
}

.footer-widget ul li a {
  color: #fff;
  font-size: 10px;
}

.footer-widget ul li a:hover {
  color: red;
}

.stay-touch {
  color: #fff;
  margin-bottom: 15px;
}

.stay-touch p {
  margin-block: 28px;
}

.footer-input input {
  width: 100%;
  height: 44px;
  padding-inline: 10px;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 14px;
  color: #666;
}

.footer-sing-div {
  margin-block: 10px;
}

.footer-sing-div button {
  background-color: red;
  cursor: pointer;
  color: white;
  border: none;
  height: 42px;
  width: 100%;
}

.footer-sing-div button:hover {
  background-color: #20c3cc;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 768px) {
  .footer-bottom-links {
    gap: 20px;
    justify-content: center;
  }
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
}

.social-icons a {
  display: inline-block;
  width: 48px;
  height: 48px;
  display: flex;
  gap: 20px;
  background: #20c3cc;
  color: white;
  text-align: center;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-weight: 400;
}

.social-icons a:hover {
  background: #e63946;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-contact hr {
  height: 2px;
  width: 90%;
}

.footer-links ul {
  display: flex;
  gap: 10px;
}

.footer-links ul li {
  list-style: none;
}

.footer-links a {
  color: white;
}

@media (max-width: 992px) {
  .featured {
    grid-template-columns: 1fr;
  }

  .news-container {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .celeb-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .header-ad {
    display: none;
  }

  .footer-widgets {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .news-grid {
    grid-template-columns: 1fr;
  }

  .celeb-grid {
    grid-template-columns: 1fr;
  }

  .footer-widgets {
    grid-template-columns: 1fr;
  }

  .header-main {
    flex-direction: column;
  }
}

/* Fashion Grid Section */
.fashion-grid-section {
  margin: 50px 0;
  padding: 40px 0;
}

.fashion-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 30px;
}

.fashion-card {
  position: relative;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
}

.fashion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.fashion-card-img {
  position: relative;
  height: 168px;
  overflow: hidden;
}

.fashion-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
  aspect-ratio: 16 / 9;
}

.fashion-card:hover .fashion-card-img img {
  transform: scale(1.05);
}

.fashion-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: #ff0036;
  color: #fff;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.fashion-category:hover {
  background-color: #000;
}

.fashion-card-content {
  padding: 20px;
}

.fashion-card-title {
  font-size: 18px;
  margin: 0;
  font-weight: 700;
  text-transform: uppercase;
  line-height: normal;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fashion-card-title a {
  color: #000;
  transition: color 0.3s;
}

.details-social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.details-social-links {
  display: inline-block;
  width: 40px;
  height: 40px;
  display: flex;
  background: #e63946;
  color: white;
  text-align: center;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-weight: 400;
}

.details-social-links:hover {
  background: #20c3cc;
}
.contents-ul-list {
  padding-left: 20px;
}

.fashion-card-title a:hover {
  color: #ff0036;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .fashion-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .fashion-grid {
    grid-template-columns: 1fr;
  }

  .fashion-card-title {
    font-size: 16px;
  }
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

.grid-item {
  height: 400px;
  position: relative;
  /* border-radius: 10px; */
  overflow: hidden;
}

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 40px;
  background: white;
  padding: 10px;
  border-radius: 0;
}

.tag {
  color: red;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif;
}

.title {
  font-size: 20px;
  font-weight: bold;
}

@media (max-width: 768px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .grid-container {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* Category Carousel Section Styles */
.category-carousel-section {
  padding: 40px 0;
  /* background-color: #fff; */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Category Tabs */
.category-tabs {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  position: relative;
}

.category-tabs::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #e0e0e0;
  z-index: 1;
}

.category-tab {
  font-size: 18px;
  font-weight: 700;
  color: #000;
  padding: 10px 0;
  position: relative;
  cursor: pointer;
  text-transform: uppercase;
}

.category-tab.active {
  position: relative;
}

.category-tab.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #111;
  z-index: 2;
}

/* Carousel Layout */
.category-carousel {
  position: relative;
  overflow: hidden;
}

.carousel-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  /* Hide scrollbar for Firefox */
  -ms-overflow-style: none;
  /* Hide scrollbar for IE and Edge */
  padding: 10px 0;
}

.carousel-container::-webkit-scrollbar {
  display: none;
  /* Hide scrollbar for Chrome, Safari, and Opera */
}

/* Navigation Buttons */
.carousel-navigation {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 10;
  pointer-events: none;
  display: flex;
  justify-content: space-between;
}

.nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  pointer-events: auto;
}

.nav-btn:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.arrow {
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

.prev-btn {
  margin-left: 10px;
}

.next-btn {
  margin-right: 10px;
}

/* Cards */
.carousel-card {
  flex: 0 0 auto;
  width: calc(33.333% - 14px);
  min-width: 300px;
  position: relative;
  overflow: hidden;
}

.card-image {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.carousel-card:hover .card-image img {
  transform: scale(1.05);
}

.card-tag {
  position: absolute;
  left: 20px;
  bottom: 116px;
  background-color: #e63946;
  color: #fff;
  padding: 5px 15px;
  font-size: 14px;
  font-weight: bold;
  z-index: 2;
}

.card-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0.3),
    transparent
  );
  padding: 30px 20px 20px;
}

.card-title h3 {
  color: white;
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

/* Responsive */
@media (max-width: 992px) {
  .carousel-card {
    width: calc(50% - 10px);
  }
}

@media (max-width: 576px) {
  .carousel-card {
    width: 100%;
  }

  .category-tab {
    font-size: 16px;
  }
}

/* //carousel cards */
.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 30px;
  max-width: 1600px;
  margin: 0 auto;
}

.slideshow-container {
  position: relative;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
   background-color: #fff; */
}

.category-header {
  font-size: 20px;
  font-weight: bold;
  padding: 10px 0px;
  background-color: #fff;
  border-bottom: 1px solid #eee;
  text-transform: uppercase;
}

.category-header::before {
  content: "";
  display: block;
  height: 4px;
  position: absolute;
  top: 24px;
  right: 0;
  margin-top: -2px;
  width: 173px;
  background-color: #f5f5f5;
}

.slide {
  display: none;
  position: relative;
  width: 100%;
  margin-top: 20px;
}

.slide.active {
  display: block;
}

.slide-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.category-tag {
  bottom: 180px;
  left: 50%;
  color: white;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
}

.beauty-tag {
  background-color: #e74c3c;
}

.entertainment-tag {
  background-color: #3498db;
}

.modelling-tag {
  background-color: #9b59b6;
}

.slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  color: white;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

.slide-title {
  font-size: 22px;
  font-weight: bold;
  margin-top: 10px;
  text-transform: uppercase;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.slide-subtitle {
  font-size: 16px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.slideshow-container .prev,
.slideshow-container .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  padding: 12px;
  color: white;
  font-weight: bold;
  font-size: 24px;
  transition: 0.6s ease;
  user-select: none;
  text-decoration: none;
  z-index: 10;
}

.slideshow-container .prev {
  left: 0;
  border-radius: 0 3px 3px 0;
}

.slideshow-container .next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 1200px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .slide-title {
    font-size: 20px;
  }

  .slide-subtitle {
    font-size: 14px;
  }

  .category-header {
    font-size: 20px;
  }
}

/* /////Detail Page */

/* Main content styles */
.page-content {
  display: flex;
  gap: 20px;
  background-color: white;
  position: relative;
  margin-bottom: 50px;
}

.detail-category-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 25px 0px;
}

.detail-category-bar .grey-bar {
  color: #ddd;
  width: 1px;
  height: 28px;
}

.detail-category-bar p {
  color: #ea1717;
  font-size: 14px;
  font-weight: normal;
}

.left-sidebar {
  width: 22%;
  position: sticky;
  top: 50px;
  /* Below the nav bar */
  align-self: flex-start;
  max-height: calc(100vh - 50px);
  overflow-y: auto;
}

.article-content {
  width: 77%;
  padding-top: 0px;
}

.right-sidebar {
  width: 22%;
  position: sticky;
  top: 50px;
  /* Below the nav bar */
  align-self: flex-start;
  max-height: calc(100vh - 50px);
  overflow-y: auto;
}

@media (max-width: 768px) {
  .page-content {
    display: block;
    width: 100%;
  }

  .article-content {
    width: 100%;
  }
  .right-sidebar {
    width: 100%;
    position: relative;
    top: 0;
    overflow: unset;
  }
  .right-sidebar > img {
    margin: 30px auto;
    height: 200px;
    width: 100%;
    object-fit: cover;
  }
}

/* Article header */
.article-date {
  font-size: 14px;
  color: #333;
  margin-bottom: 10px;
}

.article-author {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.article-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}

.article-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.article-content p {
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0.5px !important;
  margin-bottom: 20px;
}

.article-image {
  width: 100%;
  height: auto;
  margin: 20px 0;
}

/* Sidebar styles */
.sidebar-heading {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.sidebar-post {
  display: flex;
  margin-bottom: 20px;
}

.sidebar-post img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  margin-right: 10px;
}

.sidebar-post-content h3 {
  font-size: 14px;
  margin-bottom: 5px;
}

.sidebar-post-content .category {
  color: #e63333;
  font-size: 12px;
  text-transform: uppercase;
}

/* Ad banner */
.ad-banner {
  width: 100%;
  margin: 20px 0;
  border: 1px solid #ddd;
}

/* Social share */
.social-share {
  display: flex;
  margin: 20px 0;
  justify-content: center;
}

.social-share a {
  display: inline-block;
  width: 48px;
  height: 48px;
  display: flex;

  background: #20c3cc;
  color: white;
  text-align: center;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-weight: 400;
}

/* Drop down */
.contents-container {
  width: 100%;
  max-width: 800px;
  margin-top: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.contents-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;

  cursor: pointer;
}

.contents-header h2 {
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: 700;
  color: #222;
}

.contents-header h2 .book-icon {
  color: #56a97f;
  margin-right: 15px;
  font-size: 28px;
}

.contents-toggle {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.contents-toggle.collapsed {
  transform: rotate(180deg);
}

.contents-body {
  padding: 0 20px;
  color: #0e0e0e;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.contents-body.collapsed {
  max-height: 0;
}

.contents-list {
  list-style: none;
  padding: 5px 0;
  display: flex;
  justify-content: space-between;
}

.list-item {
  margin-bottom: 5px;
  padding: 5px 0;
  width: 100%;
  border-bottom: 1px solid #eee;
}

.list-item-1 {
  margin-bottom: 10px;
  font-size: 14px !important;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.list-item:last-child {
  margin-bottom: 20px;
}

.list-item a {
  text-decoration: none;
  color: #222;
  display: flex;
  align-items: center;
  width: 100%;
}

.contents-list a:hover {
  color: #ff0000;
}

.item-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 25px;
  height: 20px;
  background-color: #222;
  color: white;
  font-weight: bold;
  margin-right: 15px;
  font-size: 12px;
}

.item-title {
  font-weight: 600;
  flex: 1;
}

.social-share a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  font-size: 32px;

  color: white;

  text-decoration: none;
}

.share-link {
  display: flex;
  flex-direction: column !important;
  font-size: 10px !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100px !important;
}

.social-facebook {
  background-color: #3b5998;
}

.social-twitter {
  background-color: #1da1f2;
}

.social-pinterest {
  background-color: #bd081c;
}

.social-whatsapp {
  background-color: #25d366;
}

/* Quote styling */
.quote {
  font-style: italic;
  color: #e63333;
  font-size: 20px;
  text-align: center;
  margin: 30px 0;
  line-height: 1.4;
}

/* Tags */
.tags {
  margin: 20px 0;
}

.tag {
  display: inline-block;
  background-color: #e63333;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  margin-right: 10px;
  margin-bottom: 10px;
  font-size: 14px;
}

/* Related articles */
.related-heading {
  font-size: 20px;
  font-weight: bold;
  margin: 30px 0 20px;
  text-transform: uppercase;
}

.related-articles {
  display: flex;
  flex-wrap: wrap;
}

.related-article {
  width: 100%;
  height: 100%;
  margin-bottom: 20px;
}

.related-article img {
  width: 100%;
  height: 100%;
  max-height: 400px;
  object-fit: cover;
  margin-bottom: 10px;
}

.related-article h3 {
  font-size: 16px;
  margin-bottom: 5px;
}

.related-article .category {
  display: flex;
  gap: 10px;
  border-top: 2px solid red;
  width: 100%;

  color: #e63333;
  font-size: 12px;
  text-transform: uppercase;
}

.number-category {
  display: flex;

  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: red;
  color: white;
}

.related-article .category p {
  padding-top: 5px;
}

/* Newsletter Form */
.newsletter-form {
  background-color: #f0f0f0;
  padding: 20px;
  margin: 20px 0;
}

.newsletter-heading {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.newsletter-form input[type="email"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
}

.newsletter-form button {
  width: 100%;
  padding: 10px;
  background-color: #e63333;
  color: white;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
}

/* //Detail profile box */
.profile-box {
  background: #f5f5f5;
  padding: 16px;
  text-align: center;
  border-radius: 8px;
  margin-bottom: 30px;
}

.profile-pic-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.date {
  font-size: 18px;
  font-weight: bold;
  color: black;
}

.profile-pic {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin: 10px 0;
}

.name {
  font-size: 18px;
  font-weight: bold;
  color: #e63946;
}

/* style category css */

.style-grid-section {
  margin: 0;
  padding: 0;
}

.style-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 30px;
}

.style-card {
  position: relative;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
}

.style-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.style-card-img {
  position: relative;
  height: 168px;
  overflow: hidden;
}

.style-heading-text {
  font-size: 30px;
  font-weight: bold;
  text-transform: uppercase;
  white-space: nowrap;
  margin-bottom: 10px;
}

.style-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
  aspect-ratio: 16 / 9;
}

.style-card:hover .style-card-img img {
  transform: scale(1.05);
}

.style-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: #ff0036;
  color: #fff;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.style-category:hover {
  background-color: #000;
}

.style-card-content {
  padding: 20px;
}

.style-card-title {
  font-size: 18px;
  margin: 0;
  font-weight: 700;
  text-transform: uppercase;
  line-height: normal;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.style-card-title a {
  color: #000;
  transition: color 0.3s;
}

.style-card-title a:hover {
  color: #ff0036;
}

.style-heading-line {
  flex-grow: 1;
  height: 4px;
  background-color: #ddd;
  margin-bottom: 1%;
}

.style-advertisement {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.style-advertisement img {
  margin-bottom: 15px;
  max-width: 100%;
  height: auto;
}

.category-heading-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 15px;
  margin-top: 10px;
}

.category-heading-text {
  font-size: 18px;
  font-weight: bold;
}

.category-heading-line {
  width: 50px;
  height: 3px;
  background-color: black;
}

.category-ul-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.list-item {
  display: flex;
  justify-content: space-between;
  min-width: 280px;
}

.list-category,
.list-count {
  display: inline-block;
}

.sibling-category {
  margin-bottom: 15px;
  position: relative;
  clear: both;
}

.sibling-category-div {
  text-align: left;
}

.sibling-category-div ul {
  display: flex;
  list-style: none;
  flex-wrap: wrap;
  gap: 10px;
}

.sibling-category-div ul li {
  margin-right: 0;
  background-color: red;
  padding: 5px 10px;
  border-radius: 10px;
  cursor: pointer;
  color: white;
  font-size: 14px;
}
.close-sidebar {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .style-grid {
    gap: 20px;
  }

  .style-card-img {
    height: 140px;
  }

  .style-card-content {
    padding: 15px;
  }
}

@media (max-width: 992px) {
  .style-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .style-heading-text {
    font-size: 26px;
  }

  .categories-title {
    margin-left: 20%;
  }
}

@media (max-width: 768px) {
  .style-grid {
    gap: 15px;
    margin-top: 20px;
  }

  .style-card-img {
    height: 120px;
  }

  .style-card-title {
    font-size: 16px;
  }

  .style-heading-text {
    font-size: 22px;
    white-space: normal;
  }

  .categories-title {
    margin-left: 15%;
  }

  .categories-title h1 {
    font-size: 28px;
  }

  .sibling-category-div ul li {
    padding: 4px 8px;
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .style-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .style-card-img {
    height: 180px;
  }

  .style-card-title {
    font-size: 16px;
  }

  .style-heading-text {
    font-size: 20px;
  }

  .categories-title {
    margin-left: 10%;
  }

  .categories-title h1 {
    font-size: 24px;
  }

  .list-item {
    max-width: 100%;
  }
}

/* Mobile sidebar styles */
@media (max-width: 800px) {
  .main-nav {
    border: none;
    background-color: transparent;
  }

  .main-nav .container {
    flex-direction: column;
  }

  .main-nav > .container > ul {
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    overflow-y: auto;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)),
      url("/assets/img/nav-bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 20px 20px;
    display: flex;
    text-align: left;
    pointer-events: none; /* prevent clicks when hidden */
  }

  .main-nav > .container > ul.active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav > .container > ul li {
    margin-bottom: 10px;
    pointer-events: none;
  }

  .main-nav > .container > ul li a {
    color: white;
    display: block;
    padding: 12px 0;
    pointer-events: auto;
    font-size: 18px;
    text-transform: uppercase;
  }

  .main-nav .dropdown,
  .main-nav .has-dropdown.active .dropdown,
  .main-nav .dropdown .article {
    display: none !important;
  }

  .main-nav > .container > ul li.has-dropdown > a::after {
    display: none;
  }

  .mobile-menu-toggle {
    color: white;
    display: block;
    padding: 15px 5px;
    cursor: pointer;
    font-size: 24px;
  }

  .main-nav-block2 {
    display: none;
  }

  .close-sidebar {
    display: none; /* hidden by default */
  }

  .contents-ul-list {
    padding-left: 0px;
  }
  .contents-ul-list:last-child {
    border-bottom: 1px solid #eee;
  }
  .list-item:last-child {
    margin-bottom: 0px;
  }

  /* Show only when nav is open */
  body.nav-open .close-sidebar {
    display: none;
    position: fixed;
    top: 15px;
    right: 15px;
    padding: 10px;
    font-size: 30px;
    cursor: pointer;
    z-index: 1001;
    color: white;
    transition: opacity 0.3s ease;
  }

  .contents-list {
    list-style: none;
    padding: 5px 0;
    display: block;
  }

  /* index */
  .featured-main {
    position: relative;
    height: 500px;
    overflow: hidden;
  }
  .featured-side {
    display: flex;
    flex-direction: row-reverse;
    gap: 10px;
  }
  .news-item {
    height: 100%;
    background-color: none;
    box-shadow: inset;
  }
  .news-item a {
    position: relative;
  }
  .details-news-img {
    height: 300px !important;
  }

  .details-news-img img {
  }

  .featured-side-item {
    position: relative;
    height: 291px;
    overflow: hidden;
    border: 1px solid #dddddd;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    width: 163px;
    max-width: 163px;
  }

  .featured-side-item img {
    width: 100%;
    /* height: 100%; */
    object-fit: cover;
  }

  .featured-side-info {
    display: block;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    color: #000;
  }
  .news-title {
    color: white;
  }

  .featured-side-block1 {
    display: flex;
    grid-template-columns: none;
    flex-direction: column;
    width: 100%;
  }

  .news-content {
    /* display: none; */
  }
  .news-contant-data {
    position: absolute;
  }

  .news-content-1 h3 {
    font-size: 14px !important;
  }
  .category {
    color: white !important;
    background-color: #6666;
    border-radius: 2px;
    padding-inline: 15px;
  }

  .news-img {
    height: 142px;
    overflow: hidden;
  }

  .featured-side-block1 a {
    position: relative;
  }
  .news-content {
    position: absolute;
    bottom: 10px;
    z-index: 1;
    padding: 5px;
    font-size: 10px;
  }
  .news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
  }

  .news-img:hover img {
    transform: scale(1.05);
  }

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

  .featured-side-info {
    position: absolute;
    bottom: 10px;
    z-index: 1;
    padding: 5px;
    color: white;
  }

  .featured-info {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
  }
  .news-item,
.featured-side-block1 a,
.most-look-div {
  position: relative;

}

  .news-item::after,
  .featured-side-block1 a::after,
  .most-look-div::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%; /* adjust for how much shadow you want */
    background: linear-gradient(to top, rgba(28, 2, 2, 0.5), transparent);
    z-index: 0;
    pointer-events: none;
  }
}

@media (min-width: 801px) {
  .mobile-menu-toggle,
  .close-sidebar {
    display: none !important;
  }

  .main-nav > .container > ul {
    display: flex !important;
  }

  /* Ensure desktop dropdowns are visible if needed */
  .main-nav .dropdown {
    display: block !important;
  }
}

/* mobile header style */
.categories-header {
  position: relative;
  background: #f60000;
  border-bottom: 1px solid #eee;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
}

.categories-title h1 {
  font-size: 32px;
  margin: 9px;
  color: #ffffff;
}

.categories-title {
  margin-left: 25%;
}

@media (min-width: 768px) {
  .categories-header {
    display: none;
  }
}

@media (max-width: 767px) {
  header .container {
    display: none;
  }

  .categories-title {
    margin-left: 0;
    width: 100%;
  }

  .categories-title h1 {
    font-size: 24px;
  }
}

/* Additional mobile optimizations */
@media (max-width: 480px) {
  .style-card-img {
    height: 150px;
  }

  .style-card-content {
    padding: 12px;
  }

  .style-card-title {
    font-size: 15px;
  }

  .categories-title h1 {
    font-size: 20px;
    margin: 5px;
  }

  .sibling-category-div ul {
    gap: 8px;
  }

  .sibling-category-div ul li {
    padding: 3px 6px;
    font-size: 12px;
  }
}

.category-container {
  margin-bottom: 50px;
}
