/* End-of-article giving; deliberately isolated from Donate and other article modules. */
.post-content .oh-article-give {
    --support-rule: color-mix(in srgb, var(--text-color) 20%, transparent);
    --support-muted: color-mix(in srgb, var(--text-color) 76%, var(--background-color));
    --support-paper: color-mix(in srgb, var(--text-color) 4%, var(--background-color));
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr);
    gap: 28px;
    max-width: 100%;
    padding: 26px;
    margin: 36px 0 12px;
    border: 1px solid var(--support-rule);
    border-top: 3px solid var(--oh-red);
    background: var(--background-color);
    scroll-margin-top: 24px;
    font-family: var(--font1);
}
.post-content .oh-article-give-intro .oh-article-give-kicker { margin: 0 0 10px; font: 600 10px/1.5 var(--font1); letter-spacing: .08em; text-transform: uppercase; color: var(--oh-red-link); }
.post-content .oh-article-give-intro h2 { margin: 0 0 12px; padding: 0; font: 500 28px/1.2 var(--font3); text-transform: none; color: var(--text-color); }
.post-content .oh-article-give-intro .oh-article-give-copy { margin: 0; font: 400 14px/1.65 var(--font1); color: var(--support-muted); }
.post-content .oh-article-give .oh-article-give-about { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 10px; font: 600 12px/1.4 var(--font1); color: var(--text-color); text-decoration: underline; text-underline-offset: 3px; }
.post-content .oh-article-give .oh-article-give-about:hover { color: var(--oh-red-link); }
.post-content .oh-article-give-form { min-width: 0; }
.post-content .oh-article-give-options { min-width: 0; padding: 0; border: 0; }

.post-content .oh-article-give-radio, .post-content .oh-article-give-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.post-content .oh-article-give-toggle { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--support-rule); background: var(--support-paper); }
.post-content .oh-article-give-toggle label { display: flex; min-height: 44px; align-items: center; justify-content: center; padding: 8px 4px; border: 0; font-size: 13px; font-weight: 600; text-align: center; cursor: pointer; color: var(--support-muted); }
.post-content #article-give-monthly:checked ~ .oh-article-give-toggle label[for="article-give-monthly"],
.post-content #article-give-once:checked ~ .oh-article-give-toggle label[for="article-give-once"] { color: var(--background-color); background: var(--text-color); }
.post-content #article-give-monthly:focus-visible ~ .oh-article-give-toggle label[for="article-give-monthly"],
.post-content #article-give-once:focus-visible ~ .oh-article-give-toggle label[for="article-give-once"],
.post-content .oh-article-give a:focus-visible { outline: 3px solid var(--oh-red-link); outline-offset: 4px; }
.post-content .oh-article-give-panel { display: none; padding-top: 18px; min-height: 0; }
.post-content #article-give-monthly:checked ~ .oh-article-give-recurring,
.post-content #article-give-once:checked ~ .oh-article-give-once { display: block; }
.post-content .oh-article-give-panel h2 { font: 600 15px/1.4 var(--font1); margin: 0 0 8px; padding: 0; color: var(--text-color); text-transform: none; }
.post-content .oh-article-give-panel > p { margin: 0; font-family: var(--font1); font-size: 13px; line-height: 1.6; color: var(--support-muted); }
.post-content .oh-article-give-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0 12px; font-size: 13px; }
.post-content .oh-article-give-prices > span { display: flex; flex-direction: column; gap: 5px; }
.post-content .oh-article-give-prices > span + span { border-left: 1px solid var(--support-rule); padding-left: 20px; }
.post-content .oh-article-give-prices strong { font: 600 32px/1.2 var(--font3); }
.post-content .oh-article-give-panel > .oh-article-give-plan-note { margin-bottom: 18px; font-size: 12px; }
.post-content .oh-article-give-primary { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--oh-red-link); color: #fff; font: 600 13px/1.4 var(--font1); text-decoration: none; }
.post-content .oh-article-give-primary:hover { background: var(--oh-red-link-hover); color: #fff; }
.post-content .oh-article-give-hint { margin-top: 14px; font: 400 12px/1.6 var(--font1); }
.post-content .oh-article-give-amount-choice { min-width: 0; border: 0; padding: 0; margin: 0; }
.post-content .oh-article-give-amounts { margin: 14px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.post-content .oh-article-give-amounts label { position: relative; display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 10px 5px; border: 1px solid var(--support-rule); background: var(--background-color); font: 600 21px/1.2 var(--font1); cursor: pointer; }
.post-content .oh-article-give-selected { display: none; position: absolute; top: 4px; right: 6px; font: 600 11px/1 var(--font1); }
.post-content .oh-article-give-amounts label:hover { border-color: var(--text-color); }
.post-content .oh-article-give-amounts .oh-article-give-custom { font-size: 12px; line-height: 1.4; text-align: center; }
.post-content .oh-article-give-continue .oh-article-give-primary { display: none; }
.post-content .oh-article-give-custom-note { display: none; }
.post-content .oh-article-give-amount-choice .oh-article-give-hint { color: var(--support-muted); }
.post-content #article-amount-25:checked ~ .oh-article-give-amounts label[for="article-amount-25"] { border-color: var(--oh-red-link); background: color-mix(in srgb, var(--oh-red-link) 7%, var(--background-color)); color: var(--oh-red-link); box-shadow: inset 0 0 0 1px var(--oh-red-link); }
.post-content #article-amount-25:focus-visible ~ .oh-article-give-amounts label[for="article-amount-25"] { outline: 3px solid var(--oh-red-link); outline-offset: 3px; }
.post-content #article-amount-25:checked ~ .oh-article-give-continue .oh-article-give-action-25 { display: flex; }
.post-content #article-amount-25:checked ~ .oh-article-give-amounts label[for="article-amount-25"] .oh-article-give-selected { display: block; }
.post-content #article-amount-50:checked ~ .oh-article-give-amounts label[for="article-amount-50"] { border-color: var(--oh-red-link); background: color-mix(in srgb, var(--oh-red-link) 7%, var(--background-color)); color: var(--oh-red-link); box-shadow: inset 0 0 0 1px var(--oh-red-link); }
.post-content #article-amount-50:focus-visible ~ .oh-article-give-amounts label[for="article-amount-50"] { outline: 3px solid var(--oh-red-link); outline-offset: 3px; }
.post-content #article-amount-50:checked ~ .oh-article-give-continue .oh-article-give-action-50 { display: flex; }
.post-content #article-amount-50:checked ~ .oh-article-give-amounts label[for="article-amount-50"] .oh-article-give-selected { display: block; }
.post-content #article-amount-100:checked ~ .oh-article-give-amounts label[for="article-amount-100"] { border-color: var(--oh-red-link); background: color-mix(in srgb, var(--oh-red-link) 7%, var(--background-color)); color: var(--oh-red-link); box-shadow: inset 0 0 0 1px var(--oh-red-link); }
.post-content #article-amount-100:focus-visible ~ .oh-article-give-amounts label[for="article-amount-100"] { outline: 3px solid var(--oh-red-link); outline-offset: 3px; }
.post-content #article-amount-100:checked ~ .oh-article-give-continue .oh-article-give-action-100 { display: flex; }
.post-content #article-amount-100:checked ~ .oh-article-give-amounts label[for="article-amount-100"] .oh-article-give-selected { display: block; }
.post-content #article-amount-200:checked ~ .oh-article-give-amounts label[for="article-amount-200"] { border-color: var(--oh-red-link); background: color-mix(in srgb, var(--oh-red-link) 7%, var(--background-color)); color: var(--oh-red-link); box-shadow: inset 0 0 0 1px var(--oh-red-link); }
.post-content #article-amount-200:focus-visible ~ .oh-article-give-amounts label[for="article-amount-200"] { outline: 3px solid var(--oh-red-link); outline-offset: 3px; }
.post-content #article-amount-200:checked ~ .oh-article-give-continue .oh-article-give-action-200 { display: flex; }
.post-content #article-amount-200:checked ~ .oh-article-give-amounts label[for="article-amount-200"] .oh-article-give-selected { display: block; }
.post-content #article-amount-500:checked ~ .oh-article-give-amounts label[for="article-amount-500"] { border-color: var(--oh-red-link); background: color-mix(in srgb, var(--oh-red-link) 7%, var(--background-color)); color: var(--oh-red-link); box-shadow: inset 0 0 0 1px var(--oh-red-link); }
.post-content #article-amount-500:focus-visible ~ .oh-article-give-amounts label[for="article-amount-500"] { outline: 3px solid var(--oh-red-link); outline-offset: 3px; }
.post-content #article-amount-500:checked ~ .oh-article-give-continue .oh-article-give-action-500 { display: flex; }
.post-content #article-amount-500:checked ~ .oh-article-give-amounts label[for="article-amount-500"] .oh-article-give-selected { display: block; }
.post-content #article-amount-other:checked ~ .oh-article-give-amounts label[for="article-amount-other"] { border-color: var(--oh-red-link); background: color-mix(in srgb, var(--oh-red-link) 7%, var(--background-color)); color: var(--oh-red-link); box-shadow: inset 0 0 0 1px var(--oh-red-link); }
.post-content #article-amount-other:focus-visible ~ .oh-article-give-amounts label[for="article-amount-other"] { outline: 3px solid var(--oh-red-link); outline-offset: 3px; }
.post-content #article-amount-other:checked ~ .oh-article-give-continue .oh-article-give-action-other { display: flex; }
.post-content #article-amount-other:checked ~ .oh-article-give-amounts label[for="article-amount-other"] .oh-article-give-selected { display: block; }
.post-content #article-amount-other:checked ~ .oh-article-give-stripe-note { display: none; }
.post-content #article-amount-other:checked ~ .oh-article-give-custom-note { display: block; }
.post-content .oh-article-give-disclosure { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--support-rule); font: 400 12px/1.6 var(--font1); color: var(--support-muted); }

@media (max-width: 767px) {
    .post-content .oh-article-give { grid-template-columns: 1fr; gap: 18px; padding: 22px 20px; }
    .post-content .oh-article-give-intro h2 { font-size: 26px; }
    .post-content .oh-article-give-intro .oh-article-give-copy { font-size: 13px; }
    .post-content .oh-article-give-form { padding-top: 18px; border-top: 1px solid var(--support-rule); }
}
@media (max-width: 360px) {
    .post-content .oh-article-give { padding: 20px 16px; }
    .post-content .oh-article-give-amounts { gap: 7px; }
}

.post-content .oh-article-give-panel > .oh-article-give-hint { margin-top: 14px; font-size: 12px; }

.post-content .oh-article-give-once-only .oh-article-give-toggle { display: none; }
.post-content .oh-article-give-once-only .oh-article-give-panel { padding-top: 0; }
