@import url('colors.css');

/* Home.aspx's own stylesheet. Split out of main.css in session 24: Home no longer links main.css at
   all, so everything Home uses lives here, including the chrome (nav, footer, header, card utilities)
   that Individual gets from individual.css (main.css was folded into it, session 168). Those rules are therefore duplicated on purpose
   — the two files are free to diverge, which is the point of the de-merge. Anything changed in the
   chrome block below has a twin in individual.css; change one, decide about the other.

   Not carried over, because Home has no element for them: #MainContentPage1 and
   .background-additional-services (both form pages only) and .background-color-secondary-10
   (Individual only). */

/* ---- chrome and utilities (twin: individual.css, its main.css section) ---- */

.text-box-shadow {
    box-shadow: 0 15px 30px 0 rgba(0, 0, 0, .2);
}
.background-color-footer-100 {
    background-color: var(--footer-background-color);
}
.bold {
    font-weight: bold;
}
.nav-link:focus, .nav-link:hover {
    color: var(--primary-color)!important;
}

/* The footer row is full-bleed and holds its .container-fluid *inside* itself rather than sitting in
   one, so nothing supplies the padding that normally absorbs Bootstrap's negative gutters. The markup
   carries .ms-0, which zeroes the left gutter only — the right one was left dangling at -12px, making
   the row 12px wider than the viewport and putting a horizontal scrollbar on the page (§26.10).
   Scoped to the footer's own row so form rows, which are width: 100% and rely on their gutters, are
   untouched. */
footer > .row {
    margin-right: 0;
}

footer p a {
    color: var(--white);
    text-decoration: none;
}

    footer p a:hover {
        text-decoration: underline;
    }

/* Footer chrome, moved out of Home.aspx's style attributes in §52. footer.container-fluid beats
   Bootstrap's .container-fluid on specificity, and the child combinator keeps the "Need Help" block —
   a .container-fluid grandchild inside the row — out of the border rule. The copyright attribute also
   carried font-size: 14px, dead and deleted rather than moved: that element is .fs-6, and Bootstrap's
   `font-size: 1rem !important` beats a normal inline declaration. */
footer.container-fluid {
    padding-left: 0;
    padding-right: 0;
}

/* Identical declaration on the contact strip and the copyright line, so one rule serves both. */
footer > div.container-fluid,
footer > p.background-color-footer-100 {
    border-top: 1px solid hsla(0, 0%, 100%, .2);
}

footer > p.background-color-footer-100 {
    margin-bottom: 0;
}

/* ---- Home only ---- */

/* The url() is relative to THIS FILE, not to the page that links it — hence ../JPG/ rather than the
   JPG/ that stood in Home.aspx's style attribute. Both resolve to /JPG/BackgroundCoverLP.jpg.
   The gradient reads the skin's --secondary-color (30% to solid); it was a navy rgba() literal. */
.hero-section {
    height: 450px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--secondary-color) 30%, transparent), var(--secondary-color)), url('../JPG/BackgroundCoverLP.jpg') center/cover no-repeat;
}
    .hero-section .left-content {
        width:50%;
    }
    .hero-section .right-content {
        width: 50%;
    }

/* Home's #firstToggle is a direct child of a .row, so Bootstrap's `.row > *` gutter gives it 12px each
   side and the panel does not sit flush with the card above it. Groups and Individual have a
   #firstToggle too, but theirs is nested inside a padded div — the child combinator is what kept this
   rule off them while it still lived in the shared file. */
.row > #firstToggle {
    padding-left: 0;
    padding-right: 0;
}

/* Last item in each tab pane holds the CTA button rather than list content: no bullet, and 10px of
   separation from the benefit above it. */
#group ul > li:last-child,
#individual ul > li:last-child {
    list-style-type: none;
    padding-top: 10px;
}

/* The asterisk footnote under the Group list — small print, no bullet. The Individual pane had an
   empty <li> in the same position carrying the same two declarations and no content; it rendered a
   zero-height box and was deleted with the attribute (§52.2). */
#group ul > li:nth-last-child(2) {
    list-style-type: none;
    font-size: 12px;
}

@media (max-width: 1024px) {
    .hero-section .left-content {
        display:none;
    }
    .hero-section .right-content {
       width: 70%;
       margin: 50px auto;
    }
    .hero-section {
        height: unset;
    }
}
@media (min-width: 300px) and (max-width: 560px) {
    .right-content a {
        font-size: 1rem;
    }
}

/* Home's hero had no local font rule at all: the two lines rode Bootstrap's .fs-3 / .fs-4, which are
   RFS calc() and shrink below 1280 (23 / 21.5 at 360). This pins both lines at 28 — Home only: the
   twins, group.css .additional-text-1-h1 and individual.css .additional-text-1-h1, have since moved to
   24px uppercase, so the three pages no longer agree. Change one, decide about the others.
   The flag is required, not cosmetic: .fs-3 and .fs-4 are Bootstrap utilities and carry !important, so
   a normal declaration cannot win. Same reason .additional-text-1-h1 carries one on the other two pages.
   Matches exactly two elements — Home has one h1 and one .lead, both inside .right-content. */
.hero-section .right-content h1,
.hero-section .right-content .lead {
    font-size: var(--fs-28, 28px) !important;
}
