/*
Theme Name: LS Sports hub
Author: Kites Global (D)
Description: Bootstrap WordPress theme for LS Sports Hub
Version: 1.0
*/

/* ====================================
   LS SPORTS HUB - Custom Styles
   ==================================== */

/* Bootstrap Icons */
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

/* Google Fonts - Rajdhani */
@import url("https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&display=swap");

/* Root Variables */
:root {
  /* Brand Colors */
  --primary-green: #2d8659;
  --primary-yellow: #ffd900;
  --live-green: #11a60c;

  /* Background Colors */
  --dark-bg: #2a2a2a;
  --card-dark-bg: #1a1a1a;
  --card-footer-bg: #000000;
  --light-gray: #e8e7e7;

  /* Text Colors */
  --text-dark: #333333;
  --text-gray: #666666;
  --text-white: #ffffff;
  --text-yellow: #ffdd00;
  --text-muted: rgba(255, 255, 255, 0.6);

  /* Common Colors */
  --white: #ffffff;
  --black: #000000;

  /* Typography */
  --font-primary: "Rajdhani", sans-serif;
  --font-secondary: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  color: var(--text-dark);
  background-color: var(--light-gray);
  line-height: 1.6;
}

/* ====================================
   Navigation Bar
   ==================================== */

.navbar {

  .navbar-toggler {
    border: none;
    background: transparent;
    padding-left: 0;
  }

  .navbar-brand {
    width: 60%;
  }

  .navbar-nav {
    display: flex;
    align-items: center;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;

    .nav-link {
      font-weight: 500;
      color: var(--text-dark);
      padding: 0.5rem 1rem;
      transition: color 0.3s ease;
      text-transform: uppercase;

      .bi {
        font-size: 1.2rem;
      }
    }

    #deskCatNavBtn {
      display: none;
    }
  }

  .overflow-menu-cont {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
    border-top: 3px solid var(--primary-green);
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
    pointer-events: none;
    transition: opacity 350ms cubic-bezier(0.2, 0.8, 0.2, 1),
      transform 350ms cubic-bezier(0.2, 0.8, 0.2, 1), visibility 350ms;
  }

  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active {
    color: var(--primary-green);
  }

  #deskNavBtn {
    display: none;
  }

  .overflow-menu-cont {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
    border-top: 3px solid var(--primary-green);
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
    pointer-events: none;
    transition: opacity 350ms cubic-bezier(0.2, 0.8, 0.2, 1),
      transform 350ms cubic-bezier(0.2, 0.8, 0.2, 1), visibility 350ms;
  }

  .overflow-menu-cont.show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }

  .overflow-menu {
    width: 100%;
    padding: 0.5rem 0;
  }

  .overflow-menu .list-group {
    border: none;
    flex-direction: row;
  }

  .overflow-menu .list-group-item {
    padding: 0.75rem 1rem;
    border: none;
  }

  .overflow-menu .list-group-item:last-child {
    border-bottom: none;
  }

  .overflow-menu .list-group-item a {
    color: var(--text-dark);
    display: block;
    transition: all 0.2s ease;
  }

  .overflow-menu .list-group-item a:hover {
    color: var(--primary-green);
  }
}

/* Search Container */
.search-container {
  display: flex;
  align-items: center;
  position: relative;

  .search-input {
    display: none;
  }

  /* hide desktop form on small screens since we use the modal */
  @media (max-width: 767px) {

    .search-container form,
    .search-container .search-form {
      display: none !important;
    }
  }

  .search-submit-btn {
    display: none;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.25rem 0.5rem;
    z-index: 1;

    &:focus {
      box-shadow: none;
    }
  }


  /* Mobile Search Modal 
  .search-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;

    &.active {
      opacity: 1;
      visibility: visible;

      .search-modal {
        transform: translateY(0);
        opacity: 1;
      }
    }
  }*/

  /* ensure overlay only used on small screens 
  @media (min-width: 768px) {
    .search-modal-overlay {
      display: none !important;
    }
  }*/

  .search-modal {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1rem;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  }

  .search-modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .search-modal-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    background: var(--light-gray);
    border-radius: 25px;
    padding: 0.75rem 1rem;
    gap: 0.75rem;

    i {
      color: var(--text-gray);
      font-size: 1.125rem;
      /* 18px */
    }

    .search-modal-input {
      flex: 1;
      border: none;
      background: transparent;
      font-family: var(--font-primary);
      font-size: 1rem;
      /* 16px */
      font-weight: 500;
      color: var(--text-dark);
      outline: none;

      &::placeholder {
        color: var(--text-gray);
      }
    }
  }

  .search-modal-close {
    background: transparent;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--text-dark);

    i {
      font-size: 1.25rem;
      /* 20px */
    }

    &:hover {
      color: var(--primary-green);
    }
  }
}

/* ====================================
   Match Schedule Section
   ==================================== */

/* Carousel Navigation Arrows */
.match-carousel {
  position: relative;

  .owl-nav {
    position: absolute;
    top: 45%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    padding: 0 10px;
  }

  .owl-prev,
  .owl-next {
    width: 55px;
    height: 55px;

    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: opacity 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    opacity: 1;

    i {
      font-size: 1.5rem;
      /* 24px */
      color: white;
    }

    &:hover {
      background: rgba(255, 255, 255, 0.5) !important;
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    }

    &.disabled {
      opacity: 0;
      pointer-events: none;
    }
  }

  .owl-prev {
    margin-left: -27px !important;
  }

  .owl-next {
    margin-right: -27px !important;
  }
}

.match-schedule {
  background-color: var(--white);
  border-radius: 1rem;
  padding: 1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;

  /* Mobile: Stack tabs and link vertically */
  .schedule-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
  }
}

.schedule-tabs {
  flex-wrap: nowrap;
  overflow-x: auto;
  width: 65%;
  padding-bottom: 0.5rem;
  -ms-overflow-style: none;
  scrollbar-width: none;

  &::-webkit-scrollbar {
    display: none;
  }

  .nav-link {
    color: var(--text-gray);
    border: none;
    border-radius: 0;
    margin-right: 0.25rem;
    font-size: 0.75rem;
    white-space: nowrap;
    background: transparent;

    &:hover {
      color: var(--primary-green);
    }

    &.active {
      background-color: transparent;
      color: var(--primary-green);
      border-bottom: 2px solid var(--primary-green);
    }
  }
}

.all-fixtures-link {
  color: var(--primary-green);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.8rem;
  /* border: 1px solid;  */

  &:hover {
    text-decoration: underline;
  }

  i {
    margin-left: 0.25rem;
    font-weight: bold;
  }
}

.item {
  width: 200px;

  .match-card {
    width: 100%;
    padding: 0.65rem 0;
    background-color: var(--card-dark-bg);
    border-radius: 8px;
    color: var(--text-white);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: relative;

    .match-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0.5rem 0.6rem 0.4rem;
    }

    .match-league {
      color: var(--text-white);
      font-size: 0.5625rem;
      /* 9px */
      font-weight: 600;

      .match-tournament {
        color: var(--text-muted);
        font-weight: 400;
        margin-left: 4px;
      }
    }

    .match-status {
      padding: 0.12rem 0.4rem;
      font-size: 0.5625rem;
      /* 9px */
      font-weight: 600;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      line-height: 1;
    }

    .match-status.live {
      background-color: var(--live-green);
      color: var(--text-white);
      border: none;
    }

    .match-status.ft {
      background-color: rgba(255, 255, 255, 0.15);
      color: var (--text-muted);
    }

    .match-status.upcoming {
      background-color: var(--live-green);
      color: var(--text-white);
    }

    .match-body {
      padding: 0 0.6rem;
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 0.2rem;
    }

    .match-team {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0.1rem 0;

      .team-left {
        display: flex;
        align-items: center;
        gap: 0.4rem;
      }

      .team-logo {
        width: 28px;
        height: 24px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;

        img {
          width: 100%;
          height: 100%;
          object-fit: contain;
        }
      }

      .team-name {
        font-weight: 600;
        font-size: 0.75rem;
        /* 12px */
        color: var(--text-white);
        text-transform: uppercase;
      }

      .team-score {
        font-weight: 600;
        font-size: 0.75rem;
        /* 12px */
        color: var(--text-white);
        text-align: right;
      }
    }

    .match-summary {
      padding: 0.2rem 0.6rem;
      font-size: 0.5625rem;
      /* 9px */
      color: var(--text-yellow);
      text-align: center;
      font-weight: 400;
    }

    .match-summary.upcoming-text {
      color: rgba(255, 255, 255, 0.5);
    }

    .match-actions {
      display: flex;
      background-color: var(--card-footer-bg);
      margin-top: auto;

      .match-action-btn {
        flex: 1;
        text-align: center;
        padding: 0.28rem 0;
        color: var(--text-white);
        text-decoration: none;
        font-size: 0.5625rem;
        /* 9px */
        font-weight: 600;
        transition: background-color 0.2s ease;

        &:hover {
          background-color: var(--live-green);
          color: var(--text-white);
        }
      }
    }
  }
}

/* ====================================
   Hero News Section
   ==================================== */

/* Large Featured Card */
.hero-card-large {
  display: block;
  position: relative;
  border-radius: 31px;
  overflow: hidden;
  height: 100%;
  min-height: 500px;
  text-decoration: none;

  .hero-card-image {
    position: absolute;
    inset: 0;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }

  .hero-card-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.9) 100%);
  }

  .hero-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    z-index: 1;
  }

  .hero-card-title {
    font-size: 1.5rem;
    /* 24px */
    font-weight: 600;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 0.75rem;
  }

  .hero-card-date {
    font-size: 1.5rem;
    /* 24px */
    font-weight: 600;
    color: var(--primary-yellow);
  }

  &:hover {
    .hero-card-image img {
      transform: scale(1.05);
      transition: transform 0.3s ease;
    }
  }
}

/* Small Cards */
.hero-card-small {
  display: block;
  text-decoration: none;
  height: 100%;

  .hero-card-small-image {
    border-radius: 20px;
    overflow: hidden;
    height: 188px;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s ease;
    }
  }

  .hero-card-small-content {
    padding: 0.75rem 0;
  }

  .hero-card-small-title {
    font-size: 1rem;
    /* 16px */
    font-weight: 600;
    color: var(--black);
    line-height: 1.4;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero-card-small-date {
    font-size: 1rem;
    /* 16px */
    font-weight: 600;
    color: #676666;
  }

  &:hover {
    .hero-card-small-image img {
      transform: scale(1.05);
    }
  }
}

/* ====================================
   Advertisement Banner
   ==================================== */
.ad-content {
  background: linear-gradient(135deg, #1e5a3a 0%, #2d8659 100%);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  min-height: 120px;

  .ad-logo-box {
    width: 120px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
  }

  .ad-contact {
    font-size: 1.75rem;
    font-weight: 700;

    i {
      color: var(--primary-yellow);
      margin-right: 0.5rem;
    }
  }

  .ad-website {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-yellow);
  }
}

/* ====================================
   More Stories & Features Section
   ==================================== */

.section-title {
  color: var(--primary-green);
  font-size: 2.25rem;
  /* 36px */
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* Large Story Card */
.stories-card-large {
  display: block;
  position: relative;
  border-radius: 31px;
  overflow: hidden;
  height: 100%;
  min-height: 520px;
  text-decoration: none;

  .stories-card-image {
    position: absolute;
    inset: 0;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s ease;
    }
  }

  .stories-card-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(13, 13, 13, 0) 39%,
        rgba(0, 0, 0, 0.95) 100%);
  }

  .stories-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    z-index: 1;
  }

  .stories-card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 0.5rem;
  }

  .stories-card-date {
    font-size: 1rem;
    /* 16px */
    font-weight: 600;
    color: var(--primary-yellow);
  }

  &:hover {
    .stories-card-image img {
      transform: scale(1.05);
    }
  }
}

/* Stories List */
.stories-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  height: 100%;
}

/* Small Story Card */
.stories-card-small {
  display: flex;
  gap: 1rem;
  text-decoration: none;

  .stories-card-small-image {
    flex-shrink: 0;
    width: 180px;
    height: 120px;
    border-radius: 17px;
    overflow: hidden;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s ease;
    }
  }

  .stories-card-small-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
  }

  .stories-card-small-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--black);
    line-height: 1.4;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .stories-card-small-date {
    font-size: 1rem;
    /* 16px */
    font-weight: 600;
    color: #676666;
  }

  &:hover {
    .stories-card-small-image img {
      transform: scale(1.05);
    }
  }
}

/* Features List */
.features-list-wrapper {
  max-height: 520px;
  overflow-y: auto;
  padding-right: 0.5rem;

  /* Custom Scrollbar Styling */
  &::-webkit-scrollbar {
    width: 11px;
  }

  &::-webkit-scrollbar-track {
    background: transparent;
    border: 1px solid #9b9b9b;
    border-radius: 5.5px;
  }

  &::-webkit-scrollbar-thumb {
    background-color: #9b9b9b;
    border-radius: 5.5px;
  }

  &::-webkit-scrollbar-thumb:hover {
    background-color: #7a7a7a;
  }

  /* Firefox scrollbar */
  scrollbar-width: thin;
  scrollbar-color: #9b9b9b transparent;
}

.features-list {
  display: flex;
  flex-direction: column;
}

.feature-item {
  padding: 1.25rem 0;
  border-bottom: 1px dashed #9b9b9b;

  &:last-child {
    border-bottom: none;
  }

  .feature-text {
    font-size: 1rem;
    font-weight: 500;
    color: var(--black);
    line-height: 1.4;
    margin-bottom: 0.1rem;
  }

  .feature-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .feature-category {
    font-size: 1rem;
    font-weight: 700;
    color: #047300;
  }

  .feature-time {
    font-size: 1rem;
    font-weight: 400;
    color: var(--black);
  }

  .feature-link {
    text-decoration: none;

    p {
      margin-bottom: 0.1rem;
    }
  }
}

/* ====================================
   Sport News Sections (Cricket, Rugby, Football)
   ==================================== */

/* Schedule Tabs */
.sport-news-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;

  .nav-item {
    margin: 0;
  }

  .nav-link {
    background-color: var(--white);
    border: 1px solid #585656;
    border-radius: 18px;
    color: var(--text-dark);
    font-size: 0.875rem;
    /* 14px */
    font-weight: 500;
    padding: 0.2rem 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;

    &:hover {
      border-color: var(--text-dark);
    }

    &.active {
      background-color: var(--white);
      border-color: var(--text-dark);
    }
  }
}

/* Sidebar (Right Column) */
.sport-news-sidebar-tabs {
  display: flex;
  position: relative;

  .sport-news-sidebar-tab {
    font-size: 0.875rem;
    /* 14px */
    font-weight: 600;
    padding: 0.25rem 1rem;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    box-shadow: #3e3e3e85 1px 3px 20px 0px;

    &:first-child {
      background-color: var(--primary-green);
      color: var(--white);
      z-index: 2;
      padding-right: 1.75rem;
      margin-right: -20px;
    }

    &:last-child {
      background-color: var(--primary-yellow);
      color: var(--text-dark);
      z-index: 1;
      padding-left: 1.75rem;
    }

    &.active {
      z-index: 3;
    }

    &:not(.active):first-child {
      background-color: var(--primary-green);
      color: var(--white);
      z-index: 1;
    }

    &:not(.active):last-child {
      background-color: var(--primary-yellow);
      color: var(--text-dark);
      z-index: 2;
    }
  }
}

.sport-news-sidebar-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sport-news-sidebar-item {
  display: flex;
  gap: 0.25rem;
  align-items: flex-start;

  .sport-news-sidebar-number {
    font-size: 2rem;
    /* 32px */
    font-weight: 600;
    color: var(--primary-green);
    line-height: 1;
    flex-shrink: 0;
    min-width: 40px;
  }

  .sport-news-sidebar-text {
    a {
      font-size: 0.875rem;
      font-weight: 500;
      color: var(--text-dark);
      line-height: 1.3;
      margin: 0;
      padding-top: 0.35rem;
      transition: all 0.3s ease;
      text-decoration: none;
    }

    a:hover {
      color: var(--primary-green);
    }
  }

  .sport-news-sidebar-views {
    display: block;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: var(--primary-green);
  }
}

/* View All Button */
.sport-news-view-all-btn {
  display: inline-block;
  font-size: 1rem;
  font-weight: 500;
  width: 100%;
  color: var(--primary-green);
  background-color: transparent;
  border: 2px solid var(--primary-green);
  border-radius: 20px;
  padding: 0.4rem 1.5rem;
  text-decoration: none;
  transition: all 0.3s ease;

  &:hover {
    background-color: var(--primary-green);
    color: var(--white);
  }
}

/* ====================================
   Double Advertisement Banners
   ==================================== */
.ad-content-double {
  background: linear-gradient(135deg, #1e5a3a 0%, #2d8659 100%);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  min-height: 120px;

  .ad-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .ad-contact-double {
    font-size: 1.25rem;
    font-weight: 700;

    i {
      color: var(--primary-yellow);
      margin-right: 0.5rem;
    }
  }

  .ad-website-double {
    font-size: 1.5rem;
    font-weight: 900;
    color: var (--primary-yellow);
  }
}

/* ====================================
   Footer
   ==================================== */
.footer {
  background-color: var(--dark-bg);
  color: rgba(255, 255, 255, 0.7);
  margin-top: 2rem;

  .footer-links {
    list-style: none;
    padding: 0;

    li {
      margin-bottom: 0.75rem;
    }

    a {
      color: rgba(255, 255, 255, 0.7);
      text-decoration: none;
      font-size: 0.95rem;
      transition: color 0.3s ease;

      &:hover {
        color: var(--white);
      }
    }
  }

  .footer-social-title {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
  }

  .social-icons {
    display: flex;
    gap: 1rem;

    .social-icon {
      padding: 0.2rem 0 0 0;
      width: 40px;
      height: 40px;
      background-color: rgba(255, 255, 255, 0.1);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--white);
      font-size: 1.25rem;
      text-decoration: none;
      transition: all 0.3s ease;

      &:hover {
        background-color: var(--primary-green);
        color: var(--white);
        transform: translateY(-3px);
      }
    }
  }

  .footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0;
  }
}


/* ====================================
   Custom page Styles
   ==================================== */
.page-container {
  h1 {
    padding: 2rem 0 0.5rem 0;
  }

  ul {
    padding: 0.5rem 1.5rem;

    li {
      margin-bottom: 0.5rem;
    }
  }
}



/* ====================================
   Custom Button Styles
   ==================================== */
.btn-success {
  background-color: var(--primary-green);
  border-color: var(--primary-green);

  &:hover {
    background-color: #236b47;
    border-color: #236b47;
  }
}

.btn-warning {
  background-color: var(--primary-yellow);
  border-color: var(--primary-yellow);
  color: var(--text-dark);

  &:hover {
    background-color: #e6c400;
    border-color: #e6c400;
    color: var(--text-dark);
  }
}

/* ====================================
   Responsive Adjustments (Mobile-First)
   Standard Bootstrap Breakpoints:
   - xs: < 576px (base styles, no media query)
   - sm: >= 576px
   - md: >= 768px
   - lg: >= 992px
   - xl: >= 1200px
   ==================================== */

/* Small screens and up (576px+) */
@media (min-width: 576px) {

  /* Match Schedule Section */
  .match-schedule {
    padding: 1.25rem;
    border-radius: 1.25rem;
    width: 100%;
  }

  .schedule-tabs .nav-link {
    font-size: 0.8rem;
    padding: 0.4rem 0.7rem;
    margin-right: 0.3rem;
  }

  .all-fixtures-link {
    font-size: 0.85rem;
  }

  .item {
    width: 210px;

    .match-card {
      padding: 0.75rem 0;
      border-radius: 9px;

      .match-header {
        padding: 0.6rem 0.65rem 0.45rem;
      }

      .match-league {
        font-size: 0.5625rem;
        /* 9px */
      }

      .match-status {
        font-size: 0.5625rem;
        /* 9px */
        padding: 0.12rem 0.42rem;
      }

      .match-body {
        padding: 0 0.65rem;
      }

      .match-team {
        .team-logo {
          width: 30px;
          height: 26px;
        }

        .team-name {
          font-size: 0.8125rem;
          /* 13px */
        }

        .team-score {
          font-size: 0.8125rem;
          /* 13px */
        }
      }

      .match-summary {
        font-size: 0.5625rem;
        /* 9px */
        padding: 0.2rem 0.65rem;
      }

      .match-actions .match-action-btn {
        font-size: 0.5625rem;
        /* 9px */
        padding: 0.3rem 0;
      }
    }
  }

  /* Hero News */
  .hero-card-large {
    min-height: 350px;
    border-radius: 18px;

    .hero-card-title {
      font-size: 1.375rem;
      /* 22px */
    }

    .hero-card-date {
      font-size: 1rem;
      /* 16px */
    }
  }

  .hero-card-small {
    .hero-card-small-image {
      height: 140px;
      border-radius: 14px;
    }
  }

  /* Sport News Sections */
  .sport-news-tabs {
    gap: 0.4rem;

    .nav-link {
      font-size: 0.8125rem;
      /* 13px */
      padding: 0.18rem 0.7rem;
    }
  }

  .sport-news-sidebar-tabs .sport-news-sidebar-tab {
    font-size: 0.8125rem;
    /* 13px */
    padding: 0.22rem 0.8rem;
  }

  .sport-news-view-all-btn {
    font-size: 0.9375rem;
    /* 15px */
    padding: 0.38rem 1.35rem;
  }

  /* Category Page */
  .category-page {
    .category-posts-grid {
      .hero-card-small {
        .hero-card-small-image {
          height: 160px;
        }
      }
    }
  }
}

/* Medium screens and up (768px+) */
@media (min-width: 768px) {

  /* Search Container - Desktop slide-in */
  .search-container {
    position: relative;

    .search-input {
      display: block;
      position: absolute;
      right: 100%;
      top: 50%;
      transform: translateY(-50%);
      width: 0;
      padding: 0;
      border: none;
      border-bottom: 2px solid var(--primary-green);
      background: var(--white);
      font-family: var(--font-primary);
      font-size: 0.875rem;
      /* 14px */
      font-weight: 500;
      color: var(--text-dark);
      outline: none;
      opacity: 0;
      transition: width 0.3s ease, opacity 0.3s ease, padding 0.3s ease;

      &::placeholder {
        color: var(--text-gray);
      }
    }

    .search-submit-btn {
      display: none;
    }

    &.active {
      .search-input {
        width: 200px;
        padding: 0.25rem 0.5rem;
        opacity: 1;
      }

      .search-submit-btn {
        display: block;
        opacity: 1;
      }

      .search-toggle-btn .bi-search::before {
        content: "\f62a";
        /* X icon */
      }
    }
  }

  /* Hide mobile search modal on desktop 
  .search-modal-overlay {
    display: none;
  }*/

  .section-title {
    font-size: 2rem;
    /* 32px */
  }

  .section-title-main {
    font-size: 1.75rem;
  }

  /* Match Schedule Section */
  .match-schedule {
    padding: 1.5rem;
    border-radius: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;

    >.d-flex {
      flex-direction: row;
      align-items: center !important;
      gap: 0;
    }
  }

  .schedule-tabs {
    width: auto;
    padding-bottom: 0;

    .nav-link {
      font-size: 0.85rem;
      padding: 0.45rem 0.85rem;
      margin-right: 0.4rem;
    }
  }

  .all-fixtures-link {
    align-self: center;
    font-size: 0.9rem;
  }

  .item {
    width: 230px;

    .match-card {
      padding: 0.8rem 0;
      border-radius: 10px;

      .match-header {
        padding: 0.65rem 0.7rem 0.45rem;
      }

      .match-league {
        font-size: 0.625rem;
        /* 10px */
      }

      .match-status {
        font-size: 0.625rem;
        /* 10px */
        padding: 0.12rem 0.45rem;
      }

      .match-body {
        padding: 0 0.7rem;
        gap: 0.25rem;
      }

      .match-team {
        .team-logo {
          width: 34px;
          height: 28px;
        }

        .team-name {
          font-size: 0.875rem;
          /* 14px */
        }

        .team-score {
          font-size: 0.875rem;
          /* 14px */
        }
      }

      .match-summary {
        font-size: 0.625rem;
        /* 10px */
        padding: 0.22rem 0.7rem;
      }

      .match-actions .match-action-btn {
        font-size: 0.625rem;
        /* 10px */
        padding: 0.32rem 0;
      }
    }
  }

  /* Hero News */
  .hero-card-large {
    min-height: 400px;
    border-radius: 24px;

    .hero-card-title {
      font-size: 1.625rem;
      /* 26px */
    }

    .hero-card-date {
      font-size: 1.125rem;
      /* 18px */
    }
  }

  .hero-card-small {
    .hero-card-small-image {
      height: 160px;
      border-radius: 16px;
    }

    .hero-card-small-title {
      font-size: 0.9375rem;
      /* 15px */
    }

    .hero-card-small-date {
      font-size: 0.9375rem;
      /* 15px */
    }
  }

  /* Stories Section */
  .stories-card-large {
    min-height: 400px;
    border-radius: 24px;
  }

  .stories-card-small {
    .stories-card-small-image {
      width: 150px;
      height: 100px;
      border-radius: 14px;
    }

    .stories-card-small-title {
      font-size: 1rem;
      /* 16px */
      -webkit-line-clamp: 3;
      line-clamp: 3;
    }

    .stories-card-small-date {
      font-size: 0.9375rem;
      /* 15px */
    }
  }

  .feature-item {
    .feature-text {
      font-size: 1.125rem;
      /* 18px */
    }

    .feature-category,
    .feature-time {
      font-size: 1.125rem;
      /* 18px */
    }
  }

  .sport-featured-card {
    min-height: 350px;
  }

  .sport-small-card {
    min-height: 200px;
  }

  .news-card-medium {
    height: 220px;
  }

  /* Category Page */
  .category-page {
    padding: 2rem 0 4rem;

    .category-header {
      margin-bottom: 2rem;

      .category-title {
        font-size: 2rem;
        /* 32px */
      }
    }

    .category-posts-grid {
      .hero-card-small {
        .hero-card-small-image {
          height: 180px;
        }
      }
    }
  }
}

/* Large screens and up (992px+) */
@media (min-width: 992px) {

  /* Search Container */
  .search-container {
    &.active .search-input {
      width: 280px;
    }

    .search-input {
      font-size: 0.9375rem;
      /* 15px */
    }
  }

  .navbar {
    .navbar-brand {
      width: 15%;
    }

    .navbar-nav {
      #deskCatNavBtn {
        display: block;
      }
    }

    #deskNavBtn {
      display: flex;

      .bi {
        font-size: 1.5rem;
      }
    }

    .overflow-menu-cont {
      display: block;
    }
  }

  .section-title {
    font-size: 2.25rem;
    /* 36px */
  }

  /* Match Schedule Section */
  .match-schedule {
    padding: 2rem;
    border-radius: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  .schedule-tabs .nav-link {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    margin-right: 0.5rem;
  }

  .item {
    width: 250px;

    .match-card {
      .match-header {
        padding: 0.75rem 0.75rem 0.5rem;
      }

      .match-team {
        .team-logo {
          width: 39px;
          height: 33px;
        }

        .team-name {
          font-size: 0.9375rem;
          /* 15px */
        }

        .team-score {
          font-size: 0.9375rem;
          /* 15px */
        }
      }

      .match-summary {
        padding: 0.25rem 0.75rem;
      }

      .match-actions .match-action-btn {
        padding: 0.35rem 0;
      }
    }
  }

  /* Hero News */
  .hero-card-large {
    min-height: 500px;
    border-radius: 31px;

    .hero-card-title {
      font-size: 2rem;
      /* 32px */
    }

    .hero-card-date {
      font-size: 1.5rem;
      /* 24px */
    }
  }

  .hero-card-small {
    .hero-card-small-image {
      height: 188px;
      border-radius: 20px;
    }

    .hero-card-small-title {
      font-size: 1rem;
      /* 16px */
    }

    .hero-card-small-date {
      font-size: 1rem;
      /* 16px */
    }
  }

  /* Stories Section */
  .stories-card-large {
    min-height: 520px;
    border-radius: 31px;
  }

  .stories-card-small {
    .stories-card-small-image {
      width: 180px;
      height: 120px;
      border-radius: 17px;
    }

    .stories-card-small-title {
      font-size: 1rem;
      /* 18px */
    }

    .stories-card-small-date {
      font-size: 1rem;
      /* 16px */
    }
  }

  .feature-item {
    .feature-text {
      font-size: 1rem;
    }

    .feature-category,
    .feature-time {
      font-size: 1rem;
      /* 20px */
    }
  }

  /* Sport News Sections */
  .sport-news-tabs .nav-link {
    font-size: 0.875rem;
    /* 14px */
    padding: 0.2rem 0.9rem;
  }

  .sport-news-sidebar-item {
    .sport-news-sidebar-number {
      font-size: 2rem;
      /* 32px */
      min-width: 40px;
    }

    .sport-news-sidebar-text {
      font-size: 0.875rem;
      /* 14px */
    }
  }

  .sport-news-sidebar-tabs .sport-news-sidebar-tab {
    font-size: 0.875rem;
    /* 14px */
    padding: 0.25rem 1rem;
  }

  .sport-news-view-all-btn {
    font-size: 1rem;
    /* 16px */
    padding: 0.4rem 1.5rem;
  }

  /* Advertisement */
  .ad-content {
    flex-direction: row;
    text-align: left;
    gap: 0;
  }

  .ad-website {
    font-size: 2rem;
  }

  .ad-contact {
    font-size: 1.75rem;
  }

  .news-card-large {
    height: auto;
  }

  .sport-featured-card {
    min-height: 400px;
  }

  .sport-small-card {
    min-height: 220px;
  }

  .news-card-medium {
    height: 250px;
  }

  /* Category Page */
  .category-page {
    .category-header {
      .category-title {
        font-size: 2.25rem;
        /* 36px */
      }
    }

    .category-posts-grid {
      .hero-card-small {
        .hero-card-small-image {
          height: 188px;
        }

        .hero-card-small-title {
          font-size: 1rem;
          /* 16px */
        }
      }
    }
  }

  #searchform {
    display: flex !important;
  }
}

/* Extra large screens (1200px+) */
@media (min-width: 1200px) {
  .section-title {
    font-size: 2.25rem;
    /* 36px */
  }

  .hero-card-large {
    .hero-card-title {
      font-size: 2.25rem;
      /* 36px */
    }
  }

  .stories-card-small {
    .stories-card-small-image {
      width: 200px;
      height: 130px;
    }
  }

  /* Category Page */
  .category-page {
    .category-posts-grid {
      .hero-card-small {
        .hero-card-small-image {
          height: 200px;
        }
      }
    }
  }
}

/* ====================================
   Smooth Scrolling
   ==================================== */
html {
  scroll-behavior: smooth;
}

/* ====================================
   Loading Animation for Images
   ==================================== */
.news-image,
.story-image,
.story-image-small,
.sport-featured-image,
.sport-small-image {
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0% {
    opacity: 0.8;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0.8;
  }
}

/* ====================================
   Single News Page Styles
   ==================================== */

/* Category Navigation Bar */
.category-nav-bar {
  background-color: #515151;
  padding: 12px 0;

  .category-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;

    li {
      a {
        color: var(--white);
        text-decoration: none;
        font-size: 0.875rem;
        /* 14px */
        font-weight: 700;
        padding: 5px 12px;
        transition: color 0.3s ease;

        &:hover,
        &.active {
          color: var(--primary-yellow);
        }
      }
    }
  }
}

/* Single News Article */
.single-news-article {
  padding: 30px 0 50px;

  .article-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px;

    .article-title {
      font-size: 1.5rem;
      /* 24px */
      font-weight: 700;
      line-height: 1.3;
      color: var(--black);
      margin-bottom: 15px;
    }

    .article-meta {
      font-size: 0.875rem;
      /* 14px */
      font-weight: 500;
      color: var(--text-gray);

      .author-name {
        font-weight: 600;
        color: var(--black);
      }
    }
  }

  .article-featured-image {
    max-width: 100%;
    margin: 0 auto 30px;
    border-radius: 20px;
    overflow: hidden;

    img {
      width: 100%;
      height: auto;
      display: block;
      object-fit: cover;
    }
  }

  .article-content {
    max-width: 100%;
    margin: 0 auto 4rem;

    p {
      font-size: 1rem;
      /* 16px */
      font-weight: 500;
      line-height: 1.7;
      color: var(--black);
      text-align: justify;
      margin-bottom: 20px;

      &:last-child {
        margin-bottom: 0;
      }

      a {
        color: var(--primary-green);
        text-decoration: underline;

        &:hover {
          color: var(--black);
        }
      }
    }
  }
}

/* Related Articles Section */
.related-articles {
  max-width: 100%;
  margin: 0 auto;

  h2 {
    font-weight: 600;
  }

  .related-article-card {
    display: block;
    text-decoration: none;
    margin-bottom: 15px;

    .related-article-image {
      border-radius: 15px;
      overflow: hidden;
      margin-bottom: 12px;

      img {
        width: 100%;
        height: 150px;
        object-fit: cover;
        display: block;
        transition: transform 0.3s ease;
      }
    }

    &:hover {
      .related-article-image img {
        transform: scale(1.05);
      }
    }

    .related-article-title {
      font-size: 1rem;
      /* 14px */
      font-weight: 600;
      color: var(--black);
      line-height: 1.4;
      margin-bottom: 8px;
    }

    .related-article-date {
      font-size: 0.75rem;
      /* 12px */
      font-weight: 600;
      color: #676666;
    }
  }
}

/* Sidebar Ad */
.sidebar-ad {
  .ad-placeholder {
    background: linear-gradient(135deg, #0a5c36 0%, #2d8659 50%, #ffd900 100%);
    border-radius: 15px;
    padding: 30px 15px;
    text-align: center;
    height: 100%;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    .ad-logo {
      max-width: 120px;
      margin-bottom: 20px;
    }

    .ad-badge {
      background: var(--black);
      color: var(--white);
      padding: 12px 20px;
      border-radius: 8px;
      font-size: 0.875rem;
      /* 14px */
      font-weight: 600;
      line-height: 1.3;
    }
  }
}

.pagination {
  .page-item {
    .page-link {
      color: #000000;
    }
  }

  .active>.page-link,
  .page-link.active {
    z-index: 3;
    color: #fff;
    background-color: #00793a;
    border-color: #00793a;
  }
}


#searchform {
  display: none;

  button {
    background-color: #00793a;
    color: #fff;
    border: 1px solid #00793a;
  }
}

.search-result-cont {
  .search-results {
    article {
      margin: 2rem 0;
      border-bottom: 1px dotted #ccc;
      padding-bottom: 1rem;

      .entry-header {
        a {
          text-decoration: underline;
          color: var(--black);
        }
      }

      .entry-footer {
        .btn-theme1 {
          background-color: var(--primary-green);
          color: var(--white);
        }
      }

    }
  }
}

#mobileSearchModal {
  #searchform {
    display: flex;
  }
}

/* Single News Page Responsive (Mobile-First with min-width only) */

/* Small screens and up (576px+) */
@media (min-width: 576px) {
  .category-nav-bar {
    .category-nav-list {
      gap: 8px;

      li a {
        font-size: 0.8125rem;
        /* 13px */
        padding: 5px 10px;
      }
    }
  }

  .single-news-article {
    .article-header {
      .article-title {
        font-size: 1.375rem;
        /* 22px */
      }

      .article-meta {
        font-size: 0.8125rem;
        /* 13px */
      }
    }

    .article-content p {
      font-size: 0.9375rem;
      /* 15px */
    }
  }

  .related-articles {
    .related-article-card {
      .related-article-image img {
        height: 160px;
      }
    }
  }
}

/* Medium screens and up (768px+) */
@media (min-width: 768px) {
  .category-nav-bar {
    .category-nav-list {
      gap: 10px;

      li a {
        font-size: 0.875rem;
        /* 14px */
        padding: 5px 12px;
      }
    }
  }

  .single-news-article {
    padding: 30px 0 50px;

    .article-header {
      margin-bottom: 30px;

      .article-title {
        font-size: 1.5rem;
        /* 24px */
      }

      .article-meta {
        font-size: 0.875rem;
        /* 14px */
      }
    }

    .article-featured-image {
      border-radius: 18px;
      margin-bottom: 30px;
    }

    .article-content {
      margin-bottom: 4rem;

      p {
        font-size: 1rem;
        /* 16px */
      }
    }
  }

  .related-articles {
    .related-article-card {
      .related-article-image img {
        height: 170px;
      }

      .related-article-title {
        font-size: 1rem;
        /* 14px */
      }

      .related-article-date {
        font-size: 0.75rem;
        /* 12px */
      }
    }
  }

  .sidebar-ad {
    margin-top: 0;
  }
}

/* Large screens and up (992px+) */
@media (min-width: 992px) {
  .single-news-article {
    .article-header {
      .article-title {
        font-size: 1.625rem;
        /* 26px */
      }

      .article-meta {
        font-size: 0.875rem;
        /* 14px */
      }
    }

    .article-featured-image {
      border-radius: 20px;
    }
  }

  .related-articles {
    .related-article-card {
      .related-article-image img {
        height: 180px;
      }
    }
  }
}

/* Extra large screens (1200px+) */
@media (min-width: 1200px) {
  .single-news-article {
    .article-header {
      .article-title {
        font-size: 1.75rem;
        /* 28px */
      }

      .article-meta {
        font-size: 0.9375rem;
        /* 15px */
      }
    }
  }

  .related-articles {
    .related-article-card {
      .related-article-image img {
        height: 200px;
      }
    }
  }
}

/* ====================================
   Category Page Styles
   ==================================== */
.category-page {
  padding: 1.5rem 0 3rem;

  .category-header {
    margin-bottom: 1.5rem;

    .category-title {
      font-size: 1.75rem;
      /* 28px */
      font-weight: 700;
      color: var(--black);
      text-transform: uppercase;
      margin: 0;
      padding-bottom: 0.75rem;
      border-bottom: 3px solid var(--primary-green);
      display: inline-block;
    }
  }

  .category-posts-grid {
    margin-bottom: 2rem;

    .hero-card-small {
      .hero-card-small-image {
        height: 140px;
      }
    }
  }

  .category-load-more {
    text-align: center;
    padding-top: 1rem;

    .btn-load-more {
      background-color: var(--primary-green);
      color: var(--white);
      font-family: var(--font-primary);
      font-size: 1rem;
      /* 16px */
      font-weight: 600;
      padding: 0.75rem 2.5rem;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      transition: background-color 0.3s ease, transform 0.2s ease;

      &:hover {
        background-color: #246d48;
        transform: translateY(-2px);
      }

      &:active {
        transform: translateY(0);
      }
    }
  }
}