body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
}

.news-container {
    display: flex;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    padding-bottom: 70px; /* Make room for the tabs at the bottom */
}

.news-section {
    flex: 1;
    min-width: 300px;
}

.section-title {
    position: sticky;
    top: 0;
    background-color: #f0f0f0;
    padding: 10px 0;
    margin: 0;
    z-index: 10;
}

.container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    padding-top: 10px;
}

.tile-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.tile {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.tile-link:hover .tile {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    padding: 20px;
    box-sizing: border-box;
}

.newspaper-name {
    padding: 20px;
    box-sizing: border-box;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    color: #333;
}

.tabs {
    display: none;
    justify-content: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #f0f0f0;
    padding: 10px 0;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
}

.tab-btn {
    padding: 10px 20px;
    background-color: #e0e0e0;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 0 5px;
}

.tab-btn.active {
    background-color: #ffffff;
}

@media (max-width: 768px) {
    .news-container {
        flex-direction: column;
    }

    .news-section {
        display: none;
    }

    .news-section.active {
        display: block;
    }

    .tabs {
        display: flex;
    }
}

.announcement-banner {
    background-color: #4b4ba3;
    color: #fff;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }
  
  .banner-button {
    display: inline-block;
    padding: 8px 16px;
    background-color: #fff;
    color: #4b4ba3;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.3s, color 0.3s;
  }
  
  .banner-button:hover {
    background-color: #e0e0ff;
  }
  
  @media (max-width: 768px) {
    .banner-content {
      flex-direction: column;
      gap: 10px;
    }
  }