  .container {
    display: flex;
    gap: 2rem;
    /* padding: 1rem; */
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
  }

  .main-content {
    flex: 3;
  }

  .sports-section {
    background: linear-gradient(90deg, #ade9f4 0%, #57c4ff 100%);
    border-radius: 12px;
    /* padding: 1.2em 0.5em; */
    /* margin-bottom: 0.7em; */
    margin-left: auto;
    margin-right: auto;
    /* text-align: center; */
    box-shadow: 0 2px 12px rgba(44, 62, 80, 0.07);
  }

  .news-tiles {
    border-radius: 12px;
    /* margin-left: auto;
      margin-right: auto; */
    text-align: center;
    gap: 1.5em;
    box-shadow: 0 2px 12px rgba(44, 62, 80, 0.07);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .tile {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
    width: 250px;
    height: 200px;
  }

  .tile h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
  }

  .color1 {
    background: linear-gradient(135deg, #f6c5b5 0%, #38f9d7 100%);
  }

  .color2 {
    background: linear-gradient(135deg, #b2bff9 0%, #764ba2 100%);
  }

  .color3 {
    background: linear-gradient(135deg, #efe0cf 0%, #3b7db8 100%);
  }

  .color4 {
    background: linear-gradient(135deg, #eddbc2 0%, #fcb69f 100%);
  }

  .color5 {
    background: linear-gradient(135deg, #43cea2 0%, #185a9d 100%);
  }

  .color6 {
    background: linear-gradient(135deg, #f3acb3 0%, #72363e 100%);
  }


  .sports-section-heading {
    font-size: 1.4rem;
    font-weight: 600;
    color: #185a9d;
    width: 100%;
    margin: 0.5em 0 0em 0;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.7);
    display: inline-block;
    padding: 0.3em 1em;
    border-left: 5px solid #185a9d;
    border-radius: 0 8px 8px 0;
    box-shadow: 1px 2px 8px rgba(44, 62, 80, 0.07);
    font-family: 'Segoe UI', 'Arial', sans-serif;
  }

  .category-buttons {
    margin: 1rem 0;
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    align-items: center;
  }

  .category-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #999;
    border-radius: 20px;
    background-color: #f0f0f0;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
  }

  .category-btn.active {
    background-color: #339aee;
    color: white;
    border-color: #339aee;
  }

  /* Mobile: hide category buttons */
  @media (max-width: 768px) {
    .category-buttons {
      /* display: none; */
    }

    .toggle-filters-btn {
      display: block;
      margin-bottom: 1rem;
    }
  }

  /* Desktop: show category buttons */
  .toggle-filters-btn {
    display: none;
    padding: 0.5rem 1rem;
    border: none;
    background-color: #339aee;
    color: white;
    border-radius: 5px;
    font-size: 0.9rem;
    cursor: pointer;

  }

  .read-more-btn,
  .read-full-btn {
    margin-top: 0.5rem;
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    cursor: pointer;
    border: none;
    border-radius: 4px;
    background-color: #2196f3;
    color: white;
  }

  .read-full-btn {
    background-color: #4caf50;
  }

  .extra-content {
    margin-top: 0.5rem;

  }

  /* .extra-content {
  max-height: 3000px;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease;
  opacity: 0;
}

.extra-content.expanded {
  max-height: 3000px; 
  opacity: 1;
} */
  .news-placeholder {
    min-height: 150px;
    background-color: #f3f3f3;
    border: 1px dashed #ccc;
    margin-bottom: 1rem;
  }

  .news-item {
    border: 1px solid #ddd;
    padding: 1rem;
    border-radius: 6px;
    background-color: #fff;
  }

  .read-more-btn,
  .read-full-btn {
    margin-top: 0.5rem;
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    cursor: pointer;
    border: none;
    border-radius: 4px;
    background-color: #2196f3;
    color: white;
  }

  .read-full-btn {
    background-color: #4caf50;
  }

  /* @media (max-width: 768px) {
  .container {
    flex-direction: column;
    gap: 1rem;
    padding: 0.8rem;
  }

  .main-content {
    flex: 1 1 100%;
    width: 100%;
  }

  .tile {
    padding: 0.8rem;
  }

  .tile h3 {
    font-size: 1rem;
  }

  .news-item {
    padding: 0.8rem;
  }

  .read-more-btn,
  .read-full-btn {
    width: 100%;
    font-size: 0.9rem;
  }

  .category-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }

  .category-btn {
    width: 100%;
    text-align: center;
  }

  .extra-content {
    font-size: 0.95rem;
  }
} */

  .sports-tiles {
    border-radius: 12px;
    /* margin-left: auto;
      margin-right: auto; */
    text-align: center;
    gap: 1.5em;
    box-shadow: 0 2px 12px rgba(44, 62, 80, 0.07);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .sports-tiles div {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
    width: 350px;
    height: 350px;
  }

  .card-container {
    display: flex;
    align-items: center;
    position: hidden;

  }

  .card-list {
    display: flex;
    overflow: hidden;
    transition: transform 0.3s ease;
    width: 100%;
    height: 100%;
  }

  .card {
    min-width: 100%;
    flex-shrink: 0;
    background: #fff;
    padding: 0.6rem;
    border-radius: 6px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
    /* width: 50px;
  height: 50px; */
  }

  .card-nav {
    background: #339aee;
    border: none;
    color: white;
    padding: 0rem 0rem;
    font-size: 1.2rem;
    cursor: pointer;
  }

  .timestamp {
    font-size: 0.8rem;
    color: #666;
  }