    body {
      font-family: 'Inter', sans-serif;
      background: linear-gradient(to right, #fdfcfb, #e2d1c3);
      margin: 0;
      color: #333;
    }

    .story-index {
      text-align: center;
      font-size: 2.5rem;
      margin-bottom: 2.5rem;
      color: #4a4a4a;
      margin-top:30px;
      position: relative;

    }

    .story-index::after {
      content: '';
      display: block;
      width: 42%;
      height: 4px;
      background: #0077cc;
      margin: 0.5rem auto 0;
      border-radius: 2px;
    }
    .story-grid {
      display: grid;
      grid-template-columns: 1fr; /* mobile default */
      gap: 2rem;
      max-width: 1200px;
      margin: auto;
    }

    @media (min-width: 768px) {
      .story-grid {
        grid-template-columns: repeat(2, 1fr);
      }
   }
    .story-card {
      background: white;
      border-radius: 16px;
      box-shadow: 0 10px 25px rgba(0,0,0,0.1);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .story-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    }

    .story-cover {
      height: 180px;
      background-size: cover;
      background-position: center;
    }

    .story-content {
      padding: 1.5rem;
    }

    .story-title {
      font-size: 1.3rem;
      font-weight: 600;
      margin: 0 0 0.5rem;
      color: #222;
      height: 60px;
    }

    .story-subtitle {
      font-size: 1rem;
      color: #666;
      margin-bottom: 1.2rem;
      height: 60px;
    }

    .read-button {
        margin-top: -10px;
      background: linear-gradient(to right, #0077cc, #00aaff);
      color: white;
      text-decoration: none;
      padding: 0.6rem 1.2rem;
      border-radius: 8px;
      text-align: center;
      display: inline-block;
      font-size: 0.95rem;
      font-weight: 500;
      transition: background 0.3s;
    }

    .read-button:hover {
      background: linear-gradient(to right, #005fa3, #008ecc);
    }
    .details {
opacity:1;

    }
    .readAuthor {
        width: 135px;
        max-width: 135px;
        float: left;
        font-size: 1rem;
        color: #666;
        margin-bottom: 1.2rem;
        font-weight: bold;
        text-decoration: underline;
        border: 0px solid red;
    }
    .readDate {
        float: right;
        font-size: 1rem;
        color: #666;
        margin-bottom: 1.2rem;
        font-weight: bold;
        text-decoration: underline;
    }
    
/*--------*/
/* Main menu item styling */
.menu-header {
  cursor: pointer;
  font-weight: bold;
  margin: 8px 0;
  padding: 6px 10px;
  background-color: #f5f5f5;
  border-radius: 4px;
  transition: background-color 0.3s;
}
.menu-header:hover {
  background-color: #e0e0e0;
}
/* Submenu container */
.submenu {
  display: none;
  padding-left: 16px;
  margin-top: 4px;
  border-left: 2px solid #ccc;
  margin-bottom: 8px;
}

/* Submenu links */
.submenu a {
  display: block;
  padding: 4px 8px !important;
  margin: 2px 0 !important;
  color: #007bff !important;
  text-decoration: none;
  font-size: 14px;
  border-radius: 3px;
  transition: background-color 0.2s, color 0.2s;
}
.submenu a:hover {
  background-color: #e6f0ff;
  color: #0056b3;
}

.app-version {
  font-size: 0.75rem;
  color: #999;
  text-align: center;
  padding: 1rem 0;
}
.modal-backdrop {
  display: none !important;
}
/*--------*/

.sidebar {
  width: 240px;
  background: white;
  padding: 1rem;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: -275px;
  bottom: 0;
  height: 100vh;
  overflow-y: auto;       /* Ensures scroll if content overflows */
  padding-right: 8px;     /* Prevents scrollbar cutoff */
  max-height: 100vh;      /* Safety limit */
  transition: left 0.3s ease;
  z-index: 999;
}

.sidebar.open {
  left: 0;
}

.sidebar h2 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.sidebar a {
  display: block;
  color: #333;
  text-decoration: none;
  margin-bottom: 0.5rem;
  padding: 0.3rem 0;
}

.sidebar a:hover {
  color: #0077cc;
}
    .overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      background: rgba(0, 0, 0, 0.3);
      z-index: 998;
    }

    .overlay.active {
      display: block;
    }
    
    .categories {
        margin-top: 120px;
        width: 200px;
    }
    .toggle-btn {
      position: fixed;
      top: 1rem;
      left: 1rem;
      /*height: 35px;*/
      background: #0077cc;
      color: white;
      padding: 0.5rem 1rem !important;
      border-radius: 6px;
      cursor: pointer;
      z-index: 1000;
      font-size: 1rem;
    }

/* Rounded border */
.divider {
  border-top: 2px solid #bbb;
  border-radius: 5px;
}
.story-divider {
  grid-column: 1 / -1; /* Makes it span full width of grid */

  border: none;
  border-top: 2px solid #aaa;
  margin: 1.5rem 0;
  display: none;
}
    .main-content {
      padding: 2rem;
      transition: margin-left 0.3s ease;
    }

    @media (min-width: 768px) {
      .main-content.shifted {
        margin-left: 240px;
      }
      

      .story-divider {
       display: block;
       width:100%;
      }
    }
    
    
/*-----------------------------------------------*/
.tag-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
  min-width: 100%;
}

  .class {
      margin-top: 300px;
  }
/* On small screens: allow wrap */
@media (max-width: 768px) {
  .tag-container {
    flex-wrap: wrap;
  }
  .story-card-1 {
      margin-top: -200px;
  }
}
  .moveUp {
      position: relative;
      top: -87px;
  }
  .moveUp1 {
      position: relative;
      top: -174px;
  }
/* On larger screens: stay in one line, scroll if needed */
@media (min-width: 769px) {
  .tag-container {
    flex-wrap: nowrap;
    flex-shrink: 1;
    flex-grow: 1;
    min-width: 0;
  }
  .moveUp {
      position:relative;
      top: -37px;
  }
  .moveUp1 {
      position:relative;
      top: -74px;
  }
  .class {
      /*margin-left:50%;*/
      margin-top: 200px;
  }
}
.tag-label {
  display: inline-block;
  background-color: #ffc107;
  color: #333;
  padding: 6px 6px 6px 6px;
  font-size: 10px;
  font-weight:bold;
  border-radius: 5px;
  font-family: 'Segoe UI', sans-serif;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
/*6f42c1 fd7e14 117a65*/
.active-tag {
  background: linear-gradient(135deg, #14c1a5, #20c997 40%, #198754);
  color: #fff !important;
  font-weight: bold;
  border-radius: 6px;
  padding: 6px 8px;
  box-shadow: 0 0 6px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}
.active-tag:hover {
  filter: brightness(1.1);
}
/*-----------------------------------------------*/
        .aboutBox {
    height: 490px;
    margin-top:50px;
    }
    .smallVAR {
        font-size: 10px;
    }
    .version-body h3 {
        font-family: 'Arial', sans-serif; /* Change to any font you like */
        font-size: 15px;                  /* Adjust size */
        line-height: 1.6;                 /* Optional for better readability */
}
@media (min-width: 769px) {
    .aboutBox {
        height: 670px;
        max-height: 670px;
    }
    .aboutBoxTitle {
        background-color: red;
    }
    .modal-dialogCustom {
        max-width: 800px;
        width: 100%;
    }
    .about-body p {
        font-family: 'Arial', sans-serif; /* Change to any font you like */
        font-size: 25px;                  /* Adjust size */
        line-height: 1.6;                 /* Optional for better readability */
}
    .modal-body h3 {
        font-family: 'Arial', sans-serif; /* Change to any font you like */
        font-size: 30px;                  /* Adjust size */
        line-height: 1.6;                 /* Optional for better readability */
}
    .smallVAR {
        font-size: 15px;
    }
.gola {
 font-size: 1.1em !important;
 /*color: red;*/
}
.habibi {
    width:18.7%;
}
}
.habibi {
    width:29%;
}
.collapsible-container {
  margin-top: 20px;
}
.collapsible-header {
  background: #007bff;
  color: white;
  padding: 10px;
  cursor: pointer;
  user-select: none;
  transition: background 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.gola {
  font-size: 0.75em;
}
.collapsible-header:hover {
  background: #0056b3;
}
.collapsible-body {
  display: none;
  padding: 10px;
  background: #f1f1f1;
  border: 1px solid #ddd;
}
.red {
    color: red;
}
.green {
    color: green;
}
.blue {
    color: blue;
}
        th, td { border: 0px solid #aaa; padding: 8px; text-align: left; }
        th { background-color: #eee; }
.header-left {
  font-weight: bold;
}
.expand-hint {
  font-size: 0.75em;
  color: #fff;
  white-space: nowrap;
}


/*-----------------------------------------------*/