/* Headings override */
h3 {
  font-size: 1.5rem !important;
}


/* Header background color */
.container-header {
    background-color: #ffffff;
    background-image: none;
}

/* Override DJ MegaMenu link height */
.dj-megamenu-clean li a.dj-up_a {
    height: 30px !important;
    text-transform: uppercase !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}


.dj-megamenu-clean li a.dj-up_a > span {
  height: 0 !important;
}

/* Login button color */
#login-btn {
  background-color: #9dcc3b;
  border-color: #9dcc3b;
}

#login-btn:hover {
  background-color: #60a31c;
  border-color: #60a31c;
}

/* Override DJ MegaMenu border bottom */
.dj-megamenu-wrapper {
  border-bottom: 2px solid #FF6600;
}

/* Fix intro image dimensions in Articles modules */
.mod-articles-image img {
    width: 100% !important;
    height: 300px !important; /* Adjust this value to your desired height */
    object-fit: cover !important;
}

/* Optional: Add some styling to the figure container */
.mod-articles-image {
    margin: 0 0 1rem 0; /* Adjust spacing as needed */
    overflow: hidden; /* Ensures clean cropping */
}

/* Featured layout - first article full width, rest in 2 columns */
.featured-layout .mod-articles-items {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 columns */
    gap: 1.5rem;
    list-style: none;
    padding: 0;
}

/* First article (li) spans both columns */
.featured-layout .mod-articles-items > li:first-child {
    grid-column: 1 / -1; /* Full width */
}

/* Optional: Style the featured article differently */
.featured-layout .mod-articles-items > li:first-child {
    padding-bottom: 1.5rem;
    margin-bottom: 0.5rem;
    border-bottom: 2px solid #e0e0e0;
}

/* Larger image for featured (first) article */
.featured-layout .mod-articles-items > li:first-child .mod-articles-image img {
    height: 300px !important;
    object-fit: cover;
}

/* Smaller images for grid articles (2nd onwards) */
.featured-layout .mod-articles-items > li:not(:first-child) .mod-articles-image img {
    height: 180px !important;
    object-fit: cover;
}

/* Responsive: stack on mobile */
@media (max-width: 767px) {
    .featured-layout .mod-articles-items {
        grid-template-columns: 1fr; /* Single column on mobile */
    }
    
    .featured-layout .mod-articles-items > li:first-child {
        grid-column: 1; /* No spanning needed */
    }
}

/* DJ Classifieds overrides */
#dj-classifieds a {
  font-size: 16px !important;
}

/* Side-layout module image override */
.side-layout .mod-articles-image {
    height: 180px !important;
}

/* Hide the blank article from MegaMenu */
.dj-megamenu .itemid627 {
    display: none !important;
}
}