.after-page {
    --after-ink: #142941;
    --after-accent: #ec5939;
    background: #f5f5f2;
    color: var(--after-ink);
    font-family: Arial, Helvetica, sans-serif;
    min-height: calc(100vh - 155px);
    padding: 38px 20px 64px;
}

.after-container { margin: 0 auto; max-width: 920px; }
.after-intro { text-align: center; }
.after-logo { display: block; height: auto; margin: 0 auto 22px; max-width: 100%; width: 300px; }
.after-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; margin: 0 0 8px; text-transform: uppercase; }
.after-intro .after-eyebrow { color: #686c70; }
.after-intro h1 { font-size: clamp(28px, 4vw, 38px); font-weight: 800; letter-spacing: -.035em; margin: 0 0 12px; }
.after-description { color: #555d65; font-size: 16px; line-height: 1.6; margin: 0 auto 20px; }
.after-update { background: #fff8ed; border: 1px solid #f0d8af; border-radius: 6px; color: #624112; display: table; font-size: 13px; line-height: 1.6; margin: 0 auto 28px; max-width: 100%; padding: 10px 18px; }
.after-update strong { display: block; }
.after-update span { display: block; font-size: 12px; }
.after-search { background: #fff; border: 1px solid #e1e3e5; border-radius: 12px; box-shadow: 0 6px 24px rgba(20, 41, 65, .04); padding: 26px 30px; }
.after-search h2 { font-size: 21px; font-weight: 700; margin: 0 0 20px; }
.after-form { align-items: flex-start; display: flex; gap: 18px; }
.after-input-group { flex: 1; min-width: 0; }
.after-input-group label { display: block; font-size: 13px; font-weight: 700; margin: 0 0 8px; }
.after-input-group input { background: #fff; border: 1px solid #b7bec5; border-radius: 6px; color: #142941; display: block; font-size: 17px; height: 50px; padding: 10px 14px; width: 100%; }
.after-input-group input:focus { border-color: var(--after-accent); outline: 3px solid rgba(236, 89, 57, .2); outline-offset: 1px; }
.after-input-group span { color: #656e77; display: block; font-size: 12px; line-height: 1.5; margin-top: 8px; }
.after-button { align-items: center; background: var(--after-ink); border: 0; border-radius: 6px; color: #fff; cursor: pointer; display: inline-flex; flex-shrink: 0; font-size: 14px; font-weight: 700; gap: 16px; justify-content: center; line-height: 1.3; min-height: 50px; padding: 13px 20px; text-align: center; text-decoration: none; }
.after-form > .after-button { margin-top: 25px; }
.after-guidance { background: #f2f5f6; border-left: 3px solid var(--after-accent); border-radius: 4px; color: #455361; font-size: 14px; line-height: 1.7; margin-top: 24px; padding: 14px 18px; }
.after-guidance p { margin: 0; }
.after-button:hover, .after-button:focus { background: #244767; color: #fff; text-decoration: none; }
.after-button:focus-visible { outline: 3px solid var(--after-accent); outline-offset: 3px; }
.after-result { scroll-margin-top: 20px; }
.after-notice { background: #fff8ed; border: 1px solid #f0d8af; border-left: 4px solid #b87115; border-radius: 8px; color: #624112; font-size: 15px; line-height: 1.6; margin-top: 24px; padding: 20px 24px; }
.after-athlete { background: #fff; border: 1px solid #e1e3e5; border-radius: 12px; margin-top: 26px; overflow: hidden; }
.after-athlete-header { align-items: center; background: var(--after-ink); border-top: 4px solid var(--after-accent); color: #fff; display: flex; gap: 24px; justify-content: space-between; padding: 26px 30px; }
.after-athlete-header > div:first-child { min-width: 0; }
.after-athlete-header .after-eyebrow { color: #c5d3df; }
.after-athlete-header h2 { font-size: 24px; font-weight: 700; line-height: 1.3; margin: 0; overflow-wrap: anywhere; }
.after-bib { border-left: 1px solid #526477; flex-shrink: 0; padding-left: 26px; text-align: center; }
.after-bib span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.after-bib strong { display: block; font-size: 38px; line-height: 1.2; margin-top: 6px; }
.after-details { margin: 0; padding: 8px 30px; }
.after-details > div { border-bottom: 1px solid #eceef0; display: grid; gap: 20px; grid-template-columns: 210px minmax(0, 1fr); padding: 14px 0; }
.after-details > div:last-child { border-bottom: 0; }
.after-details dt { color: #626b74; font-size: 13px; font-weight: 700; line-height: 1.5; }
.after-details dd { color: #202d3c; font-size: 15px; line-height: 1.5; margin: 0; overflow-wrap: anywhere; }
.after-voucher { align-items: center; background: #f2f5f6; border-top: 1px solid #e1e3e5; display: flex; gap: 22px; justify-content: space-between; padding: 24px 30px; }
.after-voucher h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.after-voucher p { color: #5e6871; font-size: 13px; line-height: 1.5; margin: 0; }
.after-pdf-label { border: 1px solid #6d8093; border-radius: 3px; font-size: 10px; letter-spacing: .04em; padding: 2px 4px; }

@media (min-width: 768px) {
    #intitucional .container-fluid { align-items: center; display: flex; gap: 30px; justify-content: space-between; }
    #intitucional #navbarNavDropdown { margin-left: auto; }
    #intitucional .navbar-nav { align-items: center; display: flex; flex-direction: row; gap: 22px; margin: 0; }
}

@media (max-width: 640px) {
    .after-page { padding: 26px 14px 40px; }
    .after-logo { margin-bottom: 18px; width: 230px; }
    .after-description { font-size: 14px; margin-bottom: 18px; }
    .after-update { margin-bottom: 22px; padding: 10px 12px; }
    .after-search { padding: 22px 18px; }
    .after-search h2 { font-size: 19px; }
    .after-form { display: block; }
    .after-form > .after-button { margin-top: 18px; width: 100%; }
    .after-athlete-header { align-items: flex-start; flex-direction: column; gap: 20px; padding: 22px 18px; }
    .after-athlete-header h2 { font-size: 22px; }
    .after-bib { border-left: 0; border-top: 1px solid #526477; padding: 16px 0 0; text-align: left; width: 100%; }
    .after-bib strong { font-size: 34px; }
    .after-details { padding: 4px 18px; }
    .after-details > div { gap: 5px; grid-template-columns: 1fr; padding: 13px 0; }
    .after-voucher { align-items: stretch; flex-direction: column; gap: 16px; padding: 22px 18px; }
}
