#cityResults {
    font-size: 14px;
    background: #fff;
    border: 1px solid #ddd;
    position: absolute;
    width: 100%;
    z-index: 999;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

#cityResults li {
    list-style: none !important;
    padding: 10px;
    margin: 0;
    border-bottom: 1px solid #eee;
}

#cityResults li:last-child {
    border-bottom: none;
}

#cityResults li a {
    text-decoration: none;
    color: #333;
    display: block;
}

#cityResults li:hover {
    background: #f5f5f5;
}
/* Submenu centreren */
.menu-item-has-children {
    position: relative;
}

.menu-item-has-children .sub-menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 100%;
    z-index: 999999;

    /* 4 kolommen layout */
    display: grid !important;
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    gap: 8px 20px;
    padding: 10px 10px !important;
    width: 800px;
}

.menu-item-has-children .sub-menu li {
    list-style: none;
}

.menu-item-has-children .sub-menu a {
    display: block;
    padding: 3px 0;
    white-space: nowrap;
}

/* Responsiveness: optioneel maar aanbevolen */
@media (max-width: 768px) {
    .menu-item-has-children .sub-menu {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
    }
}

@media (max-width: 480px) {
    .menu-item-has-children .sub-menu {
        grid-template-columns: 1fr;
    }
}
.at-navigation ul li .sub-menu li a {
    font-size: 14px;
    padding: 6px 10px;
}

.at-innerbannerholder {
    min-height: 500px;
    justify-content: top;
}
.at-innerbannercontent {
	margin-top: 40px;
    width: 100%;
}

/* --- START: 4-KOLOMS GRID FIX MET RESPONSIVE MARGINS --- */

/* 1. Algemene Reset: Verwijder floats en gebruik Flexbox voor perfecte uitlijning */
.at-category-gallery {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-right: -15px;
    margin-left: -15px;
}

/* 2. Basis instelling voor de kolommen */
.at-category-gallery [class*="col-"] {
    float: none !important;
    margin-top: 0 !important;
}

/* 3. Mobiel (1 kolom): Vanaf het 2e item 30px ruimte bovenkant */
.at-category-gallery [class*="col-"]:nth-child(n+2) {
    margin-top: 30px !important;
}

/* 4. Tablet (sm - 2 kolommen): Vanaf 576px breed scherm */
@media (min-width: 576px) {
    .at-category-gallery [class*="col-"]:nth-child(-n+2) { margin-top: 0 !important; }
    .at-category-gallery [class*="col-"]:nth-child(n+3) { margin-top: 30px !important; }
}

/* 5. Desktop (md - 3 kolommen): Vanaf 768px breed scherm */
@media (min-width: 768px) {
    .at-category-gallery [class*="col-"]:nth-child(-n+3) { margin-top: 0 !important; }
    .at-category-gallery [class*="col-"]:nth-child(n+4) { margin-top: 30px !important; }
}

/* 6. Breed scherm (lg - 4 kolommen): Vanaf 992px breed scherm */
@media (min-width: 992px) {
    .at-category-gallery [class*="col-"]:nth-child(-n+4) { margin-top: 0 !important; }
    .at-category-gallery [class*="col-"]:nth-child(n+5) { margin-top: 30px !important; }
}

/* 7. Fix voor de 'View All' knop onderaan */
.at-category-gallery .at-btnarea {
    margin-top: 40px !important;
    width: 100% !important;
    text-align: center !important;
}

/* --- EINDE: 4-KOLOMS GRID FIX --- */

.at-main-section {
    padding: 30px 0;
}

.at-category-img {
    aspect-ratio: 7 / 5;
	display: flex !important;
    flex-wrap: wrap !important;
    overflow: hidden;
	border-radius: 10px;
}


.at-category-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 1600px) {
  .container {
    max-width: 85%; /* Of bijvoorbeeld 1600px */
  }
}