
/* ==========================================
   HSOR GLOBAL FOOTER
   Lightweight, responsive, Montserrat
========================================== */

.hsr-footer,
.hsr-footer * {
    box-sizing: border-box;
}

.hsr-footer {
    --hsr-footer-blue: #78c7ff;
    --hsr-footer-red: #ee1743;
    --hsr-footer-navy: #0d203b;
    --hsr-footer-text: #dce6f2;

    background: var(--hsr-footer-navy);
    color: #f9fbff;

    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.65;

    overflow: hidden;
}

/* ==========================================
   FOOTER CONTAINER
========================================== */

.hsr-footer .hsr-footer-inner {
    width: calc(100% - 72px);
    max-width: 1460px;
    margin-inline: auto;
}

.hsr-footer .hsr-footer-main {
    padding: 54px 0 44px;
}

/* FOUR-COLUMN GRID */

.hsr-footer .hsr-footer-columns {
    display: grid;
    grid-template-columns:
        minmax(0, 1.55fr)
        minmax(0, .85fr)
        minmax(0, 1fr)
        minmax(0, 1.35fr);

    gap: clamp(22px, 2.6vw, 42px);
    align-items: start;
}

.hsr-footer .hsr-footer-identity,
.hsr-footer .hsr-footer-col {
    min-width: 0;
}

/* ==========================================
   BRAND / LOGO
========================================== */

.hsr-footer .hsr-footer-identity {
    padding-right: 22px;
    border-right: 1px solid rgba(255,255,255,.16);
}

.hsr-footer .hsr-footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hsr-footer .hsr-footer-brand img {
    display: block;
    width: 72px;
    height: 74px;
    object-fit: contain;
    flex-shrink: 0;
}

.hsr-footer .hsr-footer-brand-words {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 3px;
}

/* Head Start */

.hsr-footer .hsr-footer-brand-words strong {
    color: #ffffff;
    font-family: inherit;
    font-size: clamp(19px, 1.6vw, 24px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.025em;
    white-space: nowrap;
}

/* Of Rockland */

.hsr-footer .hsr-footer-brand-words span {
    color: var(--hsr-footer-blue);
    font-family: inherit;
    font-size: clamp(10px, .85vw, 12px);
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: .22em;
    white-space: nowrap;
}

/* BRAND DESCRIPTION */

.hsr-footer .hsr-footer-identity p {
    max-width: 300px;
    margin: 19px 0 0;

    color: var(--hsr-footer-text);
    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.85;
}

/* ==========================================
   FOOTER COLUMNS
========================================== */

.hsr-footer .hsr-footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

/* Subtle column dividers */

.hsr-footer .hsr-footer-col:not(:last-child) {
    border-right: 1px solid rgba(255,255,255,.13);
    padding-right: 18px;
}

/* COLUMN HEADINGS */

.hsr-footer .hsr-footer-col h2 {
    position: relative;

    color: #ffffff;
    font-family: inherit;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -.025em;

    margin: 0 0 16px;
    padding: 0 0 14px;
}

/* Red accent underline */

.hsr-footer .hsr-footer-col h2::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 44px;
    height: 3px;
    border-radius: 5px;

    background: var(--hsr-footer-red);
}

/* ==========================================
   FOOTER NAVIGATION LINKS
========================================== */

.hsr-footer .hsr-footer-col a {
    color: #dce6f2;
    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;

    text-decoration: none;
    transition:
        color .18s ease,
        transform .18s ease;
}

.hsr-footer .hsr-footer-col a:hover {
    color: var(--hsr-footer-blue);
}

/* KEYBOARD ACCESSIBILITY */

.hsr-footer a:focus-visible {
    outline: 2px solid #91d8ff;
    outline-offset: 4px;
    border-radius: 2px;
}

/* ==========================================
   CONTACT INFORMATION
========================================== */

.hsr-footer .hsr-footer-contact {
    gap: 13px;
}

.hsr-footer .hsr-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    color: #e6eef9;
    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.7;
}

/* Contact icons */

.hsr-footer .hsr-contact-item svg {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;

    stroke: var(--hsr-footer-blue);
    stroke-width: 1.8;
    fill: none;

    stroke-linecap: round;
    stroke-linejoin: round;

    margin-top: 2px;
}

/* ==========================================
   SOCIAL MEDIA
========================================== */

.hsr-footer .hsr-social-title {
    width: 100%;

    margin-top: 17px;
    padding-top: 16px;

    border-top: 1px solid rgba(255,255,255,.17);

    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.hsr-footer .hsr-social {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.hsr-footer .hsr-social span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    border-radius: 8px;
    background: #2565b5;

    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    line-height: 1;

    opacity: .9;
    transition:
        opacity .2s ease,
        transform .2s ease;
}

.hsr-footer .hsr-social span:nth-child(2) {
    background: #a53f90;
}

.hsr-footer .hsr-social span:nth-child(3) {
    background: #1977ad;
    font-size: 15px;
}

.hsr-footer .hsr-social span:nth-child(4) {
    background: #e3213b;
    font-size: 17px;
}

/* ==========================================
   COPYRIGHT AND LEGAL SECTION
========================================== */

.hsr-footer .hsr-footer-legal {
    border-top: 1px solid rgba(255,255,255,.23);

    padding: 0 0 24px;
    text-align: center;
}

/* Copyright */

.hsr-footer .hsr-footer-copyright {
    color: #ffffff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.6;

    margin: 0;
    padding: 19px 0;

    border-bottom: 1px solid rgba(255,255,255,.17);
}

/* Federal grant disclaimer */

.hsr-footer .hsr-footer-grant {
    max-width: 1200px;
    margin: 22px auto 0;

    color: #bac9db;
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.85;
    letter-spacing: 0;
}

.hsr-footer .hsr-footer-grant strong {
    color: #ffffff;
    font-weight: 600;
}

/* ==========================================
   FOOTER BOTTOM WAVE
========================================== */

.hsr-footer .hsr-footer-wave {
    display: block;
    width: 100%;
    height: 70px;
    margin: 0;
    overflow: hidden;
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 1050px) {

    .hsr-footer .hsr-footer-inner {
        width: calc(100% - 48px);
    }

    .hsr-footer .hsr-footer-main {
        padding: 48px 0 40px;
    }

    .hsr-footer .hsr-footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px 32px;
    }

    .hsr-footer .hsr-footer-identity {
        border-right: 0;
        padding-right: 0;
    }

    .hsr-footer .hsr-footer-col:not(:last-child) {
        border-right: 0;
    }

    .hsr-footer .hsr-footer-col h2 {
        font-size: 18px;
    }

    .hsr-footer .hsr-footer-grant {
        font-size: 12px;
    }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 620px) {

    .hsr-footer .hsr-footer-inner {
        width: calc(100% - 36px);
    }

    .hsr-footer .hsr-footer-main {
        padding: 40px 0 34px;
    }

    .hsr-footer .hsr-footer-columns {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hsr-footer .hsr-footer-identity {
        padding: 0;
    }

    .hsr-footer .hsr-footer-brand {
        gap: 12px;
    }

    .hsr-footer .hsr-footer-brand img {
        width: 64px;
        height: 66px;
    }

    .hsr-footer .hsr-footer-brand-words strong {
        font-size: 22px;
    }

    .hsr-footer .hsr-footer-brand-words span {
        font-size: 11px;
    }

    .hsr-footer .hsr-footer-identity p {
        margin-top: 16px;
    }

    .hsr-footer .hsr-footer-col {
        gap: 9px;
    }

    .hsr-footer .hsr-footer-col h2 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .hsr-footer .hsr-footer-copyright {
        font-size: 12px;
        padding: 17px 0;
    }

    .hsr-footer .hsr-footer-grant {
        font-size: 12px;
        line-height: 1.8;
        text-align: left;
        margin-top: 19px;
    }

    .hsr-footer .hsr-footer-wave {
        height: 42px;
    }
}

/* ==========================================
   REDUCED MOTION
========================================== */

@media (prefers-reduced-motion: reduce) {

    .hsr-footer * {
        transition: none !important;
        scroll-behavior: auto;
    }
}


/* ==========================================
   HSOR WEBSITE MANAGER V3
   Social Links, Policies and Dynamic Menus
========================================== */

/* SOCIAL MEDIA LINKS */

.hsr-footer .hsr-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    border-radius: 8px;
}

.hsr-footer .hsr-social a span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    background: #2565b5;
    border-radius: 8px;
    color: #fff;

    font-size: 20px;
    font-weight: 600;
    opacity: .9;
}

.hsr-footer .hsr-social a:nth-child(2) span {
    background: #a53f90;
}

.hsr-footer .hsr-social a:nth-child(3) span {
    background: #1977ad;
    font-size: 15px;
}

.hsr-footer .hsr-social a:nth-child(4) span {
    background: #e3213b;
    font-size: 17px;
}

/* PRIVACY AND CIPA POLICY LINKS */

.hsr-footer .hsr-footer-policy-links a:hover {
    color: #78c7ff !important;
    text-decoration: underline;
}

/* OPTIONAL FIFTH FOOTER COLUMN */

@media (min-width: 1051px) {

    .hsr-footer .hsr-footer-columns-five {
        grid-template-columns:
            minmax(0, 1.4fr)
            minmax(0, .83fr)
            minmax(0, 1fr)
            minmax(0, .88fr)
            minmax(0, 1.35fr);

        gap: clamp(16px, 2vw, 34px);
    }
}

/* ==========================================
   V3 DYNAMIC MEGA MENU COLUMNS
========================================== */

.hsr-header .hsr-mega-grid.hsr-mega-grid-dynamic {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(min(145px, 100%), 1fr)
        );

    gap: 20px 24px;
    align-items: start;
}

.hsr-header .hsr-mega-grid-dynamic .hsr-mega-col {
    min-width: 0;
}

/* TABLET */

@media (max-width: 1150px) {

    .hsr-header .hsr-mega-grid.hsr-mega-grid-dynamic {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

/* MOBILE */

@media (max-width: 620px) {

    .hsr-header .hsr-mega-grid.hsr-mega-grid-dynamic {
        grid-template-columns: 1fr;
    }
}

