/* The London Affirmation: institutional endorsement form. */
.cgei-endorsement-page {
    background: #ffffff;
    padding: 30px 20px 64px;
    font-family: Georgia, 'Times New Roman', serif;
    color: #092745;
    font-size: 13pt;
    line-height: 1.6;
}
.cgei-endorsement-shell {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}
.cgei-endorsement-form-title {
    font-family: Georgia, 'Times New Roman', serif !important;
    font-size: 13pt !important;
    font-weight: 700 !important;
    line-height: 1.5;
    text-align: center;
    color: #082844;
    margin: 0 0 27px;
    padding: 0;
    text-transform: none;
}
.cgei-endorsement-form-title::before,
.cgei-endorsement-form-title::after { content: none !important; display: none !important; }
.cgei-endorsement-form {
    background: #fff;
    border: 1px solid #dbe2e9;
    border-radius: 8px;
    padding: 35px 39px 37px;
    box-shadow: 0 12px 36px rgb(7 31 60 / 5%);
}
.cgei-endorsement-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 26px;
    row-gap: 23px;
}
.cgei-endorsement-field { display: flex; flex-direction: column; min-width: 0; gap: 7px; }
.cgei-endorsement-field-full { grid-column: 1 / -1; }
.cgei-endorsement-field label {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 13pt;
    font-weight: 700;
    color: #0b2946;
    line-height: 1.45;
}
.cgei-endorsement-field input,
.cgei-endorsement-field select {
    box-sizing: border-box;
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    border: 1px solid #b7c6d4;
    border-radius: 4px;
    background: #fff;
    color: #102d49;
    padding: 10px 12px;
    font-family: Georgia, 'Times New Roman', serif !important;
    font-size: 13pt !important;
    font-weight: 400;
    line-height: 1.35;
}
.cgei-endorsement-field input:focus-visible,
.cgei-endorsement-field select:focus-visible,
.cgei-endorsement-checkbox-label input:focus-visible,
.cgei-endorsement-requirements summary:focus-visible,
.cgei-endorsement-submit:focus-visible {
    outline: 2px solid #b48b30;
    outline-offset: 3px;
}
.cgei-endorsement-requirements { margin-top: 31px; border-radius: 5px; }
.cgei-endorsement-requirements summary {
    display: block;
    cursor: pointer;
    list-style: none;
    border: 1px solid #bd9c4c;
    border-radius: 4px;
    padding: 13px 37px 13px 17px;
    background: #092946;
    color: #fff;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 13pt;
    font-weight: 700;
    text-align: center;
    position: relative;
}
.cgei-endorsement-requirements summary::-webkit-details-marker { display: none; }
.cgei-endorsement-requirements summary::after {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    content: '+';
    color: #e2c16f;
    font-weight: 700;
}
.cgei-endorsement-requirements[open] summary::after { content: '\2212'; }
.cgei-endorsement-requirements-content {
    padding: 26px 27px 23px;
    border: 1px solid #c8d4de;
    border-top: 0;
    border-radius: 0 0 5px 5px;
    background: #f6f8fa;
}
.cgei-endorsement-requirements-content p {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 13pt !important;
    font-weight: 400;
    line-height: 1.8;
    color: #152f48;
    text-align: justify;
    text-align-last: left;
    margin: 0 0 18px;
    hyphens: none;
}
.cgei-endorsement-requirements-content p:last-child { margin-bottom: 0; }
.cgei-endorsement-acceptance {
    border-top: 1px solid #e2e8ee;
    margin-top: 28px;
    padding-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 19px;
}
.cgei-endorsement-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #17334b;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 13pt;
    line-height: 1.6;
    cursor: pointer;
}
.cgei-endorsement-checkbox-label input {
    flex: 0 0 auto;
    appearance: auto;
    width: 19px;
    height: 19px;
    margin: 5px 0 0;
    accent-color: #0d3457;
}
.cgei-endorsement-checkbox-label a { color: #0b4678; text-decoration: underline; text-underline-offset: 2px; }
.cgei-endorsement-submit-wrap { text-align: center; margin-top: 29px; }
.cgei-endorsement-submit {
    border: 1px solid #b89747;
    border-radius: 4px;
    background: #d4af37;
    color: #082844;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 13pt;
    font-weight: 700;
    min-width: 180px;
    min-height: 48px;
    padding: 11px 25px;
    cursor: pointer;
}
.cgei-endorsement-submit:hover:not(:disabled) { background: #ead083; }
.cgei-endorsement-submit:disabled { cursor: not-allowed; opacity: .57; }
.cgei-endorsement-notice {
    border: 1px solid #b7c8d7;
    border-radius: 5px;
    padding: 20px 23px;
    background: #f3f7fa;
    color: #0b304d;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 13pt;
    line-height: 1.7;
    margin: 0 0 24px;
}
.cgei-endorsement-notice ul { padding-left: 20px; margin: 0; }
.cgei-endorsement-notice-error { border-color: #bf8583; background: #fff7f5; }
.cgei-endorsement-notice-success { border-color: #8ba893; background: #f5faf6; text-align: center; }
.cgei-endorsement-trap { position: absolute !important; left: -99999px !important; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 700px) {
    .cgei-endorsement-page { padding: 22px 13px 45px; }
    .cgei-endorsement-form { padding: 25px 19px 27px; }
    .cgei-endorsement-fields { grid-template-columns: minmax(0, 1fr); gap: 21px; }
    .cgei-endorsement-requirements-content { padding: 21px 19px; }
    .cgei-endorsement-submit { width: 100%; }
}
