.office-container {
    max-width: 1200px;
    margin: 0 auto;
}

.header {
    text-align: center;
    margin-bottom: 20px;
}

.header h1 {
    font-size: 2.5rem;
    color: #333;
}

.advert-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.advert-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.advert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.advert-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.advert-card h3 {
    padding: 15px;
    font-size: 1.2rem;
    color: #333;
    text-align: center;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    z-index: 10;
}

.pagination a {
    margin: 0 5px;
    padding: 10px 15px;
    background-color: #002C3E;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.pagination a:hover {
    background-color: rgb(17, 83, 109);
}

.pagination a.active {
    background-color: rgb(17, 83, 109);

    font-weight: bold;
}

.filters {
    display: flex;
    justify-content: space-between;
}

.filters select {
    background-color: #002C3E;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: white;
}

districts-menu filters-menu{
    background-color: #002C3E;
}

.loader-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.loader {
    justify-content: center;
    margin-top: 100px;
    margin-bottom: 100px;
    width: 50px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 8px solid;
    border-color: #000 #0000;
    animation: l1 1s infinite;
  }
  @keyframes l1 {to{transform: rotate(.5turn)}}