/* General Styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* No page on the site is meant to scroll sideways.
   The clip goes on the root because root overflow propagates to the viewport
   *without* turning <html> into a scroll container, so the sticky header and
   momentum scrolling keep working. `body { overflow-x: hidden }` does not do
   this: it makes the body its own scroll box nested inside the viewport, and
   iOS Safari still lets you pan that box sideways — which is how the search
   pages ended up scrolling left/right on mobile. */
html {
    overflow-x: clip;
}

/* The footer's social glyphs are inline SVGs carrying width="100%". A rule in
   the hosted Webflow stylesheet resolves that to a literal 800px, so each icon
   overhung the right edge of the page by ~400px and gave every page a
   horizontal scrollbar on a phone. Pin them back to their 24px wrapper. */
.footer6_social-icons_link-list .icon-embed-xsmall > svg {
    width: 100%;
    height: 100%;
    max-width: 100%;
}

footer {
    flex-shrink: 0;
    background-color: #f8f9fa;
    padding: 20px;
    text-align: center;
}

.main-footer {
    background-color: #c128f909;
    color: #fff;
    padding: 20px 0;
    font-size: 14px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-row {
    display: flex;
    justify-content: center;
    /* Center-align the child items horizontally */
    align-items: flex-start;
    /* Align items to the start of the cross-axis (top) */
    flex-wrap: wrap;
    gap: 30px;
    /* Space between the items to ensure they are not too close */
}

.footer-category-section,
.footer-links-section {
    flex: 1;
    margin: 0;
    min-width: 250px;
    max-width: 300px;
}

.footer-category-section h6,
.footer-links-section h6 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 10px;
}

.about-text {
    font-size: 14px;
    line-height: 1.5;
}

.category-links,
.quick-links,
.social-icon-list {
    list-style-type: none;
    padding: 0;
}

.footer-social-section {
    margin-right: 50px;
}

.category-links li,
.quick-links li {
    margin-bottom: 8px;
}

.category-links li a,
.quick-links li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-links li a:hover,
.quick-links li a:hover {
    color: #fff;
}

.footer-bottom-container {
    border-top: 1px solid #444;
    padding-top: 10px;
}

.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright-text {
    margin: 0;
    padding: 10px 50px;
    font-size: 13px;
    flex: 1;
}

.footer-social-section {
    text-align: right;
}

.footer-social-section ul {
    padding: 0;
    margin: 0;
}

.social-icon-list li {
    display: inline-block;
    margin: 0 10px;
}

.social-icon-list li a {
    color: #fff;
    font-size: 18px;
    transition: color 0.3s ease;
}

.social-icon-list li a:hover {
    color: #9833ee;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-row {
        flex-direction: column;
        align-items: center;
        /* Center items when stacking vertically */
    }

    .footer-bottom-row {
        flex-direction: column;
        text-align: center;
    }

    .footer-social-section {
        margin-top: 10px;
    }

    .footer-category-section,
    .footer-links-section {
        margin-bottom: 20px;
        max-width: none;
        /* Remove max-width on smaller screens */
    }

    .footer-social-section {
        margin-right: 0;
    }
}

/* Responsive centering for mobile */
@media (max-width: 768px) {
    /* General styling for the footer */
    .footer6_bottom-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 20px;
        text-align: center;
    }

    /* Logo centering */
    .navbar14_logo-link {
        margin-bottom: 15px; /* Adds spacing below the logo */
    }

    /* Legal list styling */
    .footer2_legal-list {
        display: flex;
        flex-direction: column;
        gap: 10px; /* Spacing between items */
    }

    /* Legal links styling */
    .footer2_legal-link {
        text-decoration: none;
        color: #736d75 !important;
        font-size: 14px;
    }

    .footer6_bottom-wrapper {
        text-align: center;
    }

    .footer2_legal-list {
        justify-content: center;
        align-items: center;
    }
}

.footer2_legal-link {
    color: #969197 !important;
}

/* 44px touch targets for the small legal links. */
.footer2_legal-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

/* Same box as the links, so the copyright line sits on their baseline. */
.footer2_credit-text {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}
