/* Match the approved homepage composition independently of Bootstrap breakpoints. */
body.archive-home { font: 14px/1.6 Arial, Helvetica, sans-serif; }
.archive-home #carForm > .archive-content { width: 100%; max-width: none; margin-top: 0 !important; padding: 0; }
.archive-home #heroCarousel.homepage-hero { display: grid; grid-template-columns: .9fr 1.3fr; gap: 40px; align-items: center; width: 100%; max-width: none; height: auto; overflow: visible; background: transparent; padding: 52px 5.5%; border-bottom: 1px solid var(--archive-line); }
.archive-home #heroCarousel .hero-overlay { background: none; text-shadow: none; color: var(--archive-ink); padding: 0; min-width: 0; }
.archive-home h1, .archive-home .homepage-section h2, .archive-home .homepage-contribute h3, .archive-home .homepage-section .card-title { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
.archive-home #heroCarousel h1 { font-size: clamp(36px, 4.8vw, 58px); line-height: 1.06; letter-spacing: -1.8px; max-width: 8em; margin: 0 0 22px; }
.archive-home #heroCarousel .lead { font: 20px/1.5 Georgia, 'Times New Roman', serif; max-width: 220px; margin: 0 0 26px; }
.archive-home #heroCarousel .btn { font: 400 12px/1.6 Arial, sans-serif; padding: 11px 22px; text-shadow: none; background: #163b59; border: 0; }
.archive-home .homepage-hero-images { position: relative; min-width: 0; background: var(--archive-surface); }
.archive-home #heroCarousel .carousel-inner { position: relative; inset: auto; width: 100%; aspect-ratio: 1.66; background: var(--archive-surface); }
.archive-home #heroCarousel .carousel-item,
.archive-home #heroCarousel .carousel-item.active { position: absolute; inset: 0; width: 100%; height: 100%; background-color: var(--archive-surface); background-size: contain; background-repeat: no-repeat; background-position: center; }
.archive-home #heroCarousel .carousel-item::before { content: none; }
/* Keep slide navigation available without adding a band below the photograph. */
.archive-home #heroCarousel .carousel-indicators { position: absolute; inset: auto 12px 8px; margin: 0; padding: 0; gap: 5px; z-index: 20; }
.archive-home #heroCarousel .carousel-indicators button { flex: 0 0 18px; width: 18px; height: 3px; margin: 0; border-top: 8px solid transparent; border-bottom: 8px solid transparent; filter: drop-shadow(0 1px 2px #000); }
.archive-home .homepage-section { padding: 42px 5.5% 44px; }
.archive-home .homepage-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 23px; }
.archive-home .homepage-section h2 { font-size: 27px; line-height: 1.25; max-width: 470px; margin: 0; }
.archive-home .homepage-browse { flex-shrink: 0; min-height: 44px; padding: 11px 18px; font-size: 16px; white-space: nowrap; }
.archive-home .homepage-section .row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin: 0; }
.archive-home .homepage-section .row > .col { width: auto; min-width: 0; padding: 0; margin: 0; }
.archive-home .homepage-section .card { background: transparent; border: 0; box-shadow: none; color: var(--archive-ink); }
.archive-home .homepage-section .card-body { padding: 17px 0 0; }
.archive-home .homepage-section .card-title { font-size: 18px; line-height: 1.3; margin: 0 0 13px; overflow-wrap: anywhere; }
.archive-home .homepage-vehicles .card-img-top { display: block; width: 100%; height: 143px; object-fit: cover; background: var(--archive-surface); }
.archive-home .homepage-section .card-text { font-size: 11px; line-height: 1.6; color: var(--archive-muted); margin: 0; overflow-wrap: anywhere; }
.archive-home .homepage-vehicles .card-text { border-bottom: 1px solid var(--archive-line); padding: 3px 0; }
.archive-home .homepage-value { display: block; color: var(--archive-ink); }
.archive-home .homepage-section .card-footer { display: flex; background: transparent; border: 0; padding: 15px 0 0; text-align: left !important; }
.archive-home .homepage-documents { background: var(--archive-surface); border-block: 1px solid var(--archive-line); }
.archive-home .homepage-document-preview { width: 100%; height: 170px; overflow: hidden; background: var(--archive-preview); }
.archive-home .homepage-document-preview > .card-img-top { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; padding: 0; margin: 0; border: 0; }
.archive-home .homepage-documents .card-body { padding-bottom: 0; }
.archive-home .homepage-documents .card-text.text-muted { color: var(--archive-muted) !important; }
.archive-home .homepage-contribute { display: grid; grid-template-columns: 1fr auto; column-gap: 30px; align-items: center; margin: 46px 5.5%; padding: 34px; background: #102f4a; color: #f6f4ee; }
.archive-home .homepage-contribute h3 { grid-column: 1; font-size: 27px; line-height: 1.25; margin: 0 0 14px; }
.archive-home .homepage-contribute p { grid-column: 1; max-width: 580px; color: #dce4eb; font-size: 13px; margin: 0 !important; }
.archive-home .homepage-contribute .btn { grid-column: 2; grid-row: 1 / 3; background: #f5f2e9; border: 0; color: #173650; padding: 11px 22px; font: 400 12px/1.6 Arial, sans-serif; white-space: nowrap; }
.archive-home .homepage-contribute .btn:hover { background: #fff; color: #173650; }
.archive-home footer { margin: 0; padding: 24px 5.5%; font-size: 11px; text-align: left; }
.archive-home .archive-footer-inner { display: flex; justify-content: space-between; gap: 20px; width: 100%; max-width: none; padding: 0; }
.archive-home .archive-footer-inner a { font-weight: 400; text-decoration: none; }
.archive-home .archive-footer-inner a:hover { text-decoration: underline; }
.archive-home .archive-footer-inner a + a { margin-left: 20px; }
@media (hover: hover) {
    .archive-home #heroCarousel .carousel-indicators { opacity: 0; }
    .archive-home #heroCarousel:hover .carousel-indicators,
    .archive-home #heroCarousel:focus-within .carousel-indicators { opacity: 1; }
}
@media (max-width: 760px) {
    .archive-home #heroCarousel.homepage-hero { gap: 24px; }
    .archive-home .homepage-section .row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
    .archive-home .homepage-section-heading { flex-wrap: wrap; }
    .archive-home .homepage-value { display: inline; }
    .archive-home .homepage-contribute { grid-template-columns: 1fr; row-gap: 20px; }
    .archive-home .homepage-contribute .btn { grid-column: 1; grid-row: auto; justify-self: start; }
}
@media (max-width: 480px) {
    .archive-home #heroCarousel.homepage-hero { grid-template-columns: 1fr; padding-block: 32px; }
    .archive-home #heroCarousel .lead { max-width: none; }
    .archive-home .homepage-section h2 { font-size: 24px; }
    .archive-home .homepage-section .card-title { font-size: 17px; }
    .archive-home .homepage-vehicles .card-img-top { height: 112px; }
    .archive-home .homepage-document-preview { height: 135px; }
    .archive-home .homepage-contribute { padding: 24px; }
    .archive-home .archive-footer-inner { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    .archive-home #heroCarousel .carousel-item { transition: none; }
}
