/* Shared project requirements on top of the unmodified 71463 design. */
[data-account-link], [hidden] { display: none !important; }
.reference-search-modes { text-align: center; margin-top: 20px; }
.reference-search-modes a { color: #535353; text-decoration: underline; }
.reference-comparison { padding: 190px 20px 50px; }
.reference-comparison .reference-standalone { max-width: 1600px; margin: 0 auto; }
.reference-comparison .modal-content { border: 0; }
.reference-content { color: #535353; }
.reference-content h1 { font-size: 36px; font-weight: 700; margin-bottom: 25px; }
.reference-content h2 { font-size: 26px; font-weight: 700; margin-bottom: 16px; }
.reference-content p, .reference-content li { font-size: 18px; line-height: 1.65; margin-bottom: 16px; }
.reference-content a { color: #535353; text-decoration: underline; }
.reference-content .breadcrumbs { margin-bottom: 30px; }
.reference-content .button { display: inline-block; background: #ffc551; color: #535353; border: 0; border-radius: 36px; padding: 10px 35px; font-weight: 700; text-decoration: none; }
.reference-content .sitemap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.reference-content .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.reference-content .field--full { grid-column: 1 / -1; }
.reference-register { max-width: 900px; margin: auto; }
.reference-register label { display: block; margin-bottom: 8px; font-size: 18px; }
.reference-register .check-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.reference-register .check-row a { display: inline; }
.reference-register .form-control { min-height: 48px; border-radius: 0; }
.reference-form-status:empty { display: none; }
.reference-form-status { margin-top: 16px; color: #535353; }
.reference-comparison-dock { position: fixed; z-index: 100; bottom: 20px; left: 50%; transform: translateX(-50%); background: #ffc551; color: #535353; border-radius: 30px; padding: 12px 24px; box-shadow: 0 2px 10px #0003; font-size: 18px; font-weight: 700; }
@media (max-width: 991px) {
    .reference-comparison { padding-top: 100px; }
}
@media (max-width: 575px) {
    .reference-content h1 { font-size: 28px; }
    .reference-content .sitemap-grid, .reference-content .form-grid { grid-template-columns: 1fr; }
    .reference-comparison { padding-left: 10px; padding-right: 10px; }
}

/* Contact page refinements, retained when reference pages are regenerated. */
body[data-page="contact"] .contact_title p {
    background: transparent;
    text-shadow: none;
}
body[data-page="contact"] .contact_map1,
body[data-page="contact"] .contact_map2 {
    vertical-align: top;
}
body[data-page="contact"] .contact_form .form-group > img {
    display: block;
}
@media (min-width: 768px) {
    body[data-page="contact"] .contact_form .row > .col-md-6:nth-child(2) {
        display: flex;
    }
    body[data-page="contact"] .contact_form .row > .col-md-6:nth-child(2) > .form-group {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    body[data-page="contact"] .contact_form textarea {
        flex: 1;
        height: auto;
        min-height: 0;
    }
}

/* Real text and vector artwork stay sharp at any zoom or screen density. */
.contact-captcha {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 84px;
    padding: 12px 16px;
    background: #fafafa;
    border: 1px solid #d3d3d3;
    border-radius: 3px;
    box-shadow: 0 1px 3px #0002;
    color: #333;
}
.contact-captcha-choice {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    cursor: pointer;
    font-size: 14px;
}
.contact-captcha-choice input {
    appearance: auto;
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    margin: 0;
    accent-color: #278342;
    cursor: pointer;
}
.contact-captcha-choice input:focus-visible {
    outline: 3px solid #3078c6;
    outline-offset: 3px;
}
.contact-captcha-mark {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    font-size: 10px;
    line-height: 1.3;
    color: #555;
}
.contact-captcha-mark svg { color: #3078c6; margin-bottom: 3px; }
.contact-captcha-mark small { font-size: 9px; }
