/* Home page only: this stylesheet is loaded by Default.aspx. */
#header {
    min-height: 90px;
    padding-inline: clamp(12px, 3vw, 48px);
    gap: 16px;
}
#header > img {
    width: clamp(150px, 24vw, 320px);
    max-width: 55%;
    height: auto;
    flex-shrink: 0;
}
#header > .container { min-width: 0; justify-content: flex-end; }
.home-page { padding-top: 100px; }
.home-page section {
    padding: clamp(32px, 5vw, 72px) 0;
    background-position: center;
}
.home-page #about { padding-top: clamp(32px, 5vw, 72px) !important; }
.home-page .row > .fade-in-bottom { min-width: 0; width: 100%; }
.home-page .ResponsiveImage { display: block; max-width: 100%; height: auto; }
.home-page h1 {
    font-size: clamp(20px, 2.2vw, 32px);
    line-height: 1.5;
    overflow-wrap: break-word;
}
.home-page #about h1 { text-align: left !important; }
.home-page .NextPrevButton,
.home-page .VisitPageButton {
    min-height: 44px;
    margin: 8px 8px 8px 0;
    white-space: normal;
}
.home-page a:focus-visible { outline: 3px solid #ffb900; outline-offset: 4px; }
.home-resources > .container > .row > .fade-in-bottom > .form-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(24px, 4vw, 56px);
}
.home-resources .col-lg-6 { width: 100%; max-width: 100%; float: none; min-width: 0; }
.home-resources .col-lg-6 > div:first-child img { max-height: 160px; object-fit: contain; margin-inline: auto; }
.home-page #NewAcquisitions { padding: 24px 0 0; }
.home-page #heroCarousel { padding: 0 40px 32px; }
.home-page #heroCarousel .carousel-item { text-align: center; }
.home-page #heroCarousel .carousel-item img {
    width: 19% !important;
    height: auto !important;
    max-height: 300px;
    object-fit: contain;
    vertical-align: middle;
}
.home-page #heroCarousel .carousel-control-prev,
.home-page #heroCarousel .carousel-control-next { width: 36px; }
img[id$="img_footer"] { display: block; width: 100%; height: auto; }
@media (max-width: 991px) {
    #header .mobile-nav-toggle { color: white; font-size: 30px; padding: 8px; }
    #header .navbar-mobile .mobile-nav-toggle { position: fixed; }
    .home-resources > .container > .row > .fade-in-bottom > .form-group { grid-template-columns: 1fr; }
    .home-page #heroCarousel .carousel-item img { width: 32% !important; max-height: 240px; }
}
@media (max-width: 575px) {
    #header { min-height: 80px; gap: 8px; padding-inline: 12px; }
    #header > img { width: 190px; max-width: 65%; }
    #header > .container { width: auto; margin-left: auto; margin-right: 0; padding: 0; }
    .home-page { padding-top: 90px; }
    .home-page .container { padding-inline: 20px; }
    .home-page .form-group { margin-bottom: 16px; }
    .home-page #heroCarousel { padding-inline: 28px; }
    .home-page #heroCarousel .carousel-item img { width: 48% !important; max-height: 220px; }
    .home-page #heroCarousel .carousel-control-prev,
    .home-page #heroCarousel .carousel-control-next { width: 26px; }
}
@media (prefers-reduced-motion: reduce) {
    .home-page .fade-in-bottom { animation: none; opacity: 1; }
}
