/* Public author profiles, careers and project support. */
.text-link, .author-profile-link { color: var(--blue); font-weight: 600; }
.text-link:hover, .author-profile-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.author-profile-link { display: inline-block; margin-top: 22px; }
.author-card { min-width: 0; }
.author-card__head > div:last-child { min-width: 0; }
.author-card__name { overflow-wrap: anywhere; }
.author-profile__header { display: flex; align-items: center; gap: 32px; margin: 38px 0; }
.author-profile__header .section-title { margin: 12px 0; }
.author-profile__header .page-lead { margin: 0; }
.author-profile__photo, .author-profile__avatar { width: 144px; height: 144px; flex: 0 0 144px; border-radius: 50%; object-fit: cover; }
.author-profile__avatar { display: grid; place-items: center; background: var(--blue); color: var(--white); font-size: 64px; font-weight: 700; }
.author-profile__bio { max-width: 760px; }
.author-profile__expertise { margin: 24px 0; }
.author-profile__socials { display: flex; flex-wrap: wrap; gap: 8px; }
.author-profile__articles { margin-top: 64px; }
.author-profile__articles > h2 { font-size: clamp(32px, 4vw, 44px); }
.author-profile .pagination, .vacancy-grid + .pagination { margin-top: 28px; }
.calendar-mini [data-calendar-status]:not(:empty) { margin-top: 16px; font-size: 14px; }

.career-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.career-heading .section-title { margin: 12px 0 0; }
.career-heading > .btn-ctf { flex-shrink: 0; }
.section-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.vacancy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.vacancy-card { display: flex; flex-direction: column; gap: 20px; padding: 32px; border: 1px solid #e0e6ef; border-radius: var(--radius); overflow-wrap: anywhere; }
.vacancy-card h3 { font-size: 26px; line-height: 1.2; letter-spacing: -.035em; }
.vacancy-card > p:not(.eyebrow) { color: #506077; }
.vacancy-card .text-link { margin-top: auto; }
.career-empty { grid-column: 1 / -1; padding: 40px; background: var(--gray); border-radius: var(--radius); }
.career-empty h2 { margin-bottom: 14px; font-size: 28px; }
.career-empty p { margin-bottom: 22px; max-width: 620px; }
.vacancy-meta { display: flex; flex-wrap: wrap; gap: 12px 24px; padding: 24px 0; margin-bottom: 32px; border-block: 1px solid #e0e6ef; }
.vacancy-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.vacancy-expiry { margin-top: 18px; color: #506077; }
.vacancy-page { overflow-wrap: anywhere; }
.form-card { max-width: 760px; padding: 36px; background: var(--soft); border-radius: var(--radius); }
.form-card > div { margin-bottom: 24px; }
.form-card label { display: block; margin-bottom: 8px; font-weight: 600; }
.form-card input:not([type="checkbox"]):not([type="hidden"]), .form-card select, .form-card textarea {
  display: block; width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1px solid #b5c3d4; border-radius: 12px; color: var(--dark); background: var(--white);
}
.form-card textarea { resize: vertical; }
.form-card input[type="checkbox"] { width: 20px; height: 20px; margin: 0 8px 0 0; vertical-align: middle; accent-color: var(--blue); }
.form-card .helptext { margin-top: 8px; font-size: 14px; color: #506077; }
.form-card .errorlist { padding-left: 20px; color: #a32132; }
.form-card .smart-captcha { min-height: 100px; }
.publication-support { max-width: 720px; padding: 36px; background: var(--soft); border-radius: var(--radius); }
.publication-support h2 { font-size: 32px; line-height: 1.2; }
.publication-support p { margin: 18px 0 24px; font-size: 18px; }

/* Donation page: a typographic cover and editable payment methods. */
.donation-page { padding-top: 40px; padding-bottom: 100px; }
.donation-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; }
.donation-hero__copy { padding: clamp(28px, 4vw, 60px); border-radius: 32px; background: var(--soft); }
.donation-hero h1 { margin: 28px 0; font-size: clamp(44px, 5.3vw, 78px); line-height: 1.03; letter-spacing: -.065em; }
.donation-hero h1 span { color: var(--blue); }
.donation-hero__copy > p:not(.eyebrow) { max-width: 450px; font-size: 19px; line-height: 1.65; }
.donation-hero .btn-ctf { margin-top: 32px; min-height: 50px; }
.donation-hero__note { display: block; margin-top: 16px; color: #506077; font-size: 13px; }
.donation-art { position: relative; display: grid; place-items: center; min-height: 540px; overflow: hidden; border-radius: 32px; background: var(--blue); color: var(--white); }
.donation-art strong { position: relative; z-index: 1; font-size: clamp(70px, 8vw, 112px); line-height: .91; letter-spacing: -.065em; transform: rotate(-8deg); }
.donation-art strong span { display: block; width: fit-content; margin-top: 20px; padding: 14px 24px; background: #d5f374; color: var(--dark); border-radius: 999px; font-size: 36px; letter-spacing: -.03em; transform: rotate(12deg); }
.donation-art__ring { position: absolute; width: 650px; height: 650px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; }
.donation-art__ring--inner { width: 470px; height: 470px; }
.donation-art__label { position: absolute; bottom: 30px; left: 32px; right: 32px; text-align: center; font-size: 11px; letter-spacing: .15em; font-weight: 600; }
.donation-purpose, .donation-support { margin-top: 88px; }
.donation-page h2 { margin: 16px 0 32px; font-size: clamp(34px, 4vw, 52px); line-height: 1.12; letter-spacing: -.045em; }
.donation-purpose__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.donation-purpose__grid article { padding: 30px; border-radius: 24px; background: var(--gray); }
.donation-purpose__grid article > span { display: block; margin-bottom: 42px; color: var(--blue); font-size: 18px; font-weight: 600; }
.donation-purpose h3 { margin-bottom: 12px; font-size: 25px; letter-spacing: -.025em; }
.donation-purpose p:not(.eyebrow) { color: #506077; line-height: 1.7; }
.donation-support { scroll-margin-top: 160px; padding: clamp(28px, 4vw, 52px); border-radius: 32px; background: var(--dark); color: var(--white); display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.donation-support .eyebrow { color: #c5dcff; }
.donation-support > div > p:last-child { max-width: 350px; color: #d2deed; }
.donation-methods { display: grid; gap: 16px; align-content: center; }
.donation-method, .donation-contact { padding: 28px; border-radius: 22px; background: var(--white); color: var(--dark); overflow-wrap: anywhere; }
.donation-method--cloudtips { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.donation-qr { width: 132px; flex: 0 0 132px; color: var(--muted); font-size: 11px; text-align: center; }
.donation-qr img { display: block; width: 132px; height: 132px; margin-bottom: 6px; padding: 8px; border-radius: 14px; background: var(--white); box-shadow: 0 8px 24px rgba(15,36,61,.12); }
.donation-method h3, .donation-contact h3 { font-size: 26px; line-height: 1.2; }
.donation-method p, .donation-contact p { margin-top: 14px; color: #506077; }
.donation-method .btn-ctf, .donation-contact .btn-ctf { margin-top: 24px; }
.donation-page > .article-body { max-width: 760px; margin: 64px auto 0; }
.donation-thanks { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; margin-top: 40px; color: #506077; }

@media (max-width: 980px) {
  .career-heading { align-items: flex-start; flex-direction: column; }
  .donation-hero { grid-template-columns: 1fr; gap: 16px; }
  .donation-art { min-height: 360px; }
  .donation-art strong { font-size: 82px; }
  .donation-purpose__grid { grid-template-columns: 1fr; }
  .donation-purpose__grid article > span { margin-bottom: 20px; }
  .donation-support { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .donation-method--cloudtips { align-items: flex-start; flex-direction: column; }
  .author-profile__header { align-items: flex-start; flex-direction: column; gap: 24px; }
  .author-profile__photo, .author-profile__avatar { width: 110px; height: 110px; flex-basis: 110px; }
  .author-profile__header .section-title { font-size: 38px; }
  .author-card__head { align-items: flex-start; flex-direction: column; }
  .vacancy-grid { grid-template-columns: 1fr; }
  .vacancy-card, .career-empty, .publication-support { padding: 26px; }
  .form-card { padding: 24px 18px; }
  .career-heading > .btn-ctf { max-width: 100%; min-height: 48px; text-align: center; }
  .donation-page { padding-top: 16px; padding-bottom: 64px; }
  .donation-hero__copy { padding: 30px 24px; }
  .donation-hero .eyebrow { font-size: 11px; }
  .donation-hero h1 { font-size: 44px; }
  .donation-hero__copy > p:not(.eyebrow) { font-size: 17px; }
  .donation-art { min-height: 320px; }
  .donation-purpose, .donation-support { margin-top: 56px; }
  .donation-support { padding: 30px 22px; }
  .donation-page h2 { font-size: 34px; }
  .donation-method, .donation-contact { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
