.romedi-donate {
    color: #2a334e;
    font-family: Inter, Arial, Helvetica, sans-serif;
}

.romedi-newsletter,
.romedi-public-form,
.romedi-modal-layer {
    color: #2a334e;
    font-family: Inter, Arial, Helvetica, sans-serif;
}

body.romedi-donation-flow .tm-titlebar-wrapper,
body.romedi-donation-flow .single-entry-header,
body.romedi-donation-flow #sidebar-right,
body.romedi-newsletter-flow .tm-titlebar-wrapper,
body.romedi-newsletter-flow .single-entry-header,
body.romedi-newsletter-flow #sidebar-right {
    display: none;
}

body.romedi-donation-flow #content.site-content,
body.romedi-donation-flow #content-wrapper,
body.romedi-donation-flow #primary,
body.romedi-donation-flow #main,
body.romedi-donation-flow .hentry,
body.romedi-donation-flow .entry-content,
body.romedi-newsletter-flow #content.site-content,
body.romedi-newsletter-flow #content-wrapper,
body.romedi-newsletter-flow #primary,
body.romedi-newsletter-flow #main,
body.romedi-newsletter-flow .hentry,
body.romedi-newsletter-flow .entry-content {
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

body.romedi-donation-flow #main.site-main,
body.romedi-newsletter-flow #main.site-main {
    padding-top: 0 !important;
}

body.romedi-donation-flow #primary,
body.romedi-donation-flow #primary.content-area,
body.romedi-donation-flow #primary.col-md-9,
body.romedi-donation-flow #primary.col-lg-9,
body.romedi-newsletter-flow #primary,
body.romedi-newsletter-flow #primary.content-area,
body.romedi-newsletter-flow #primary.col-md-9,
body.romedi-newsletter-flow #primary.col-lg-9 {
    float: none !important;
    flex: 0 0 100% !important;
    min-width: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
}

body.romedi-donation-flow #content-inner.site-content-inner,
body.romedi-donation-flow #content-inner.site-content-inner.row,
body.romedi-donation-flow .site-content-inner,
body.romedi-donation-flow .site-content-inner.row,
body.romedi-newsletter-flow #content-inner.site-content-inner,
body.romedi-newsletter-flow #content-inner.site-content-inner.row,
body.romedi-newsletter-flow .site-content-inner,
body.romedi-newsletter-flow .site-content-inner.row {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0;
    margin-right: 0;
}

body.romedi-donation-flow .entry-content,
body.romedi-newsletter-flow .entry-content {
    margin-top: 0;
}

.romedi-donate-wrap {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    box-sizing: border-box;
}

.romedi-donate-hero {
    background: #16275b;
    color: #fff;
    padding: clamp(56px, 6vw, 90px) 0;
}

.romedi-donate-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.72fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: center;
}

.romedi-kicker {
    margin: 0 0 12px;
    color: #0e52bf;
    font-family: "Saira Semi Condensed", Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.romedi-donate-hero .romedi-kicker {
    color: #d8e3ff;
}

.romedi-donate h1,
.romedi-donate h2,
.romedi-inline-cta h2,
.romedi-newsletter h1,
.romedi-newsletter h2,
.romedi-modal h2 {
    margin: 0 0 18px;
    color: inherit;
    font-family: "Saira Semi Condensed", Arial, Helvetica, sans-serif;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.06;
}

.romedi-donate h1 {
    font-size: clamp(48px, 6.4vw, 84px);
}

.romedi-newsletter h1 {
    color: #fff;
    font-size: clamp(42px, 5.6vw, 72px);
}

.romedi-donate h2,
.romedi-inline-cta h2,
.romedi-newsletter h2,
.romedi-modal h2 {
    color: #0e2973;
    font-size: clamp(34px, 4vw, 52px);
}

.romedi-donate h3,
.romedi-newsletter h3 {
    margin: 0;
    color: #14224b;
    font-family: "Saira Semi Condensed", Arial, Helvetica, sans-serif;
    font-size: 22px;
    line-height: 1.2;
}

.romedi-lead {
    font-size: clamp(19px, 2vw, 24px);
    line-height: 1.55;
}

.romedi-donate p {
    line-height: 1.7;
}

.romedi-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 26px;
}

.romedi-btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 13px 24px;
    border: 2px solid #0b3aa3;
    border-radius: 0;
    font-family: "Saira Semi Condensed", Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
}

.romedi-btn-primary {
    background: #0b3aa3;
    color: #fff;
}

.romedi-btn-primary:hover {
    background: #071f67;
    border-color: #071f67;
    color: #fff;
}

.romedi-btn:focus-visible,
.romedi-program-trigger:focus-visible,
.romedi-public-form input:focus,
.romedi-public-form select:focus,
.romedi-public-form textarea:focus,
.romedi-modal-close:focus-visible {
    outline: 3px solid rgba(11, 58, 163, 0.28);
    outline-offset: 3px;
}

.romedi-btn-outline {
    background: transparent;
    color: #0b3aa3;
}

.romedi-donate-hero .romedi-btn-outline {
    border-color: #fff;
    color: #fff;
}

.romedi-btn-block {
    width: 100%;
}

.romedi-donation-panel,
.romedi-card,
.romedi-partner-box,
.romedi-trust,
.romedi-inline-cta,
.romedi-newsletter-panel,
.romedi-newsletter-card,
.romedi-modal {
    background: #fff;
    box-shadow: 0 14px 42px rgba(14, 41, 115, 0.12);
}

.romedi-donation-panel {
    color: #2a334e;
    padding: clamp(24px, 3vw, 34px);
}

.romedi-panel-title {
    margin: 0 0 16px;
    color: #0e2973;
    font-family: "Saira Semi Condensed", Arial, Helvetica, sans-serif;
    font-size: 28px;
    font-weight: 700;
}

.romedi-mode-row,
.romedi-amounts,
.romedi-type-grid {
    display: grid;
    gap: 10px;
}

.romedi-fieldset {
    border: 0;
    margin: 0 0 18px;
    padding: 0;
}

.romedi-fieldset legend {
    margin-bottom: 10px;
    color: #14224b;
    font-weight: 700;
}

.romedi-mode-row {
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 18px;
}

.romedi-mode-row label,
.romedi-amounts label {
    display: block;
    cursor: pointer;
}

.romedi-mode-row input,
.romedi-amounts input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.romedi-mode-row span,
.romedi-amounts span,
.romedi-type-grid span,
.romedi-amounts button {
    display: block;
    border: 1px solid rgba(14, 41, 115, 0.18);
    background: #f8faff;
    color: #14224b;
    padding: 12px;
    text-align: center;
}

.romedi-mode-row.is-inactive span,
.romedi-amounts.is-inactive span {
    cursor: help;
}

.romedi-disabled-choice {
    position: relative;
    user-select: none;
}

.romedi-disabled-choice.is-selected {
    border-color: #0b3aa3;
    background: #0b3aa3;
    color: #fff;
}

.romedi-disabled-choice::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 50%;
    bottom: calc(100% + 10px);
    z-index: 4;
    width: min(260px, 74vw);
    padding: 10px 12px;
    border: 1px solid rgba(20, 34, 75, 0.14);
    background: #fff;
    box-shadow: 0 12px 28px rgba(14, 41, 115, 0.16);
    color: #111;
    font-family: Inter, Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    opacity: 0;
    pointer-events: none;
    text-align: left;
    text-transform: none;
    transform: translate(50%, 6px);
    transition: opacity 0.16s ease, transform 0.16s ease;
}

.romedi-disabled-choice::before {
    content: "";
    position: absolute;
    right: 50%;
    bottom: calc(100% + 4px);
    z-index: 5;
    width: 12px;
    height: 12px;
    border-right: 1px solid rgba(20, 34, 75, 0.14);
    border-bottom: 1px solid rgba(20, 34, 75, 0.14);
    background: #fff;
    opacity: 0;
    pointer-events: none;
    transform: translateX(50%) rotate(45deg);
    transition: opacity 0.16s ease;
}

.romedi-disabled-choice:hover::after,
.romedi-disabled-choice:focus-visible::after {
    opacity: 1;
    transform: translate(50%, 0);
}

.romedi-disabled-choice:hover::before,
.romedi-disabled-choice:focus-visible::before {
    opacity: 1;
}

.romedi-mode-row input:checked + span,
.romedi-amounts input:checked + span {
    border-color: #0b3aa3;
    background: #0b3aa3;
    color: #fff;
}

.romedi-amounts {
    grid-template-columns: repeat(2, 1fr);
}

.romedi-amounts button {
    cursor: not-allowed;
    font: inherit;
    font-weight: 700;
    opacity: 1;
}

.romedi-custom-amount {
    display: grid;
    gap: 8px;
    margin-top: 12px;
    color: #2a334e;
    font-size: 14px;
}

.romedi-custom-amount input {
    width: 100%;
    min-height: 46px;
    border: 1px solid rgba(14, 41, 115, 0.18);
    padding: 10px 12px;
}

.romedi-payment-note {
    margin: 18px 0 14px;
    padding: 14px;
    background: #eef4ff;
    color: #2a334e;
    line-height: 1.6;
}

.romedi-secure-note {
    margin: 18px 0 14px;
    color: #2a334e;
    line-height: 1.6;
}

.romedi-payment-error {
    background: #fff3f0;
    color: #8a1f11;
}

.romedi-section {
    padding: clamp(58px, 7vw, 95px) 0;
}

.romedi-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.romedi-card {
    min-height: 120px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    box-sizing: border-box;
}

.romedi-card h3 {
    width: 100%;
}

.romedi-card p {
    margin: 0;
    color: #4d5872;
}

.romedi-band {
    background: #f3f7ff;
    padding: clamp(58px, 7vw, 90px) 0;
}

.romedi-type-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 28px;
}

.romedi-two-col {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr);
    gap: 36px;
    align-items: start;
}

.romedi-check-list {
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.romedi-check-list li {
    position: relative;
    margin-bottom: 14px;
    padding-left: 28px;
    line-height: 1.65;
}

.romedi-check-list li::before {
    content: "";
    position: absolute;
    top: 0.72em;
    left: 0;
    width: 10px;
    height: 10px;
    background: #0b3aa3;
}

.romedi-partner-box,
.romedi-trust {
    padding: clamp(24px, 3vw, 34px);
}

.romedi-faq {
    display: grid;
    gap: 12px;
}

.romedi-faq details {
    border: 1px solid rgba(14, 41, 115, 0.14);
    padding: 18px 20px;
    background: #fff;
}

.romedi-faq summary {
    color: #14224b;
    cursor: pointer;
    font-weight: 700;
}

.romedi-inline-cta {
    width: min(1180px, calc(100% - 40px));
    margin: 48px auto;
    padding: clamp(24px, 4vw, 42px);
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
}

.romedi-inline-cta.is-compact {
    margin-top: 36px;
    margin-bottom: 36px;
}

.romedi-inline-cta p {
    max-width: 760px;
    line-height: 1.65;
}

.romedi-footer-donate {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 32px clamp(20px, 5vw, 70px);
    background: #0f2f6f;
    color: #fff;
}

.romedi-footer-donate strong,
.romedi-footer-donate span {
    display: block;
}

.romedi-footer-donate span {
    margin-top: 4px;
    color: rgba(255,255,255,0.82);
}

.romedi-footer-donate nav {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: flex-end;
}

.romedi-footer-donate a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.romedi-newsletter-hero {
    background: linear-gradient(135deg, #16275b 0%, #0f3c95 100%);
    color: #fff;
    padding: clamp(56px, 6vw, 88px) 0;
}

.romedi-newsletter-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.8fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: start;
}

.romedi-newsletter-panel {
    color: #2a334e;
    padding: clamp(24px, 3vw, 36px);
}

.romedi-newsletter-panel h2 {
    margin-bottom: 20px;
    font-size: clamp(30px, 3vw, 42px);
}

.romedi-public-form {
    display: grid;
    gap: 18px;
}

.romedi-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.romedi-form-full {
    grid-column: 1 / -1;
}

.romedi-public-form label {
    display: grid;
    gap: 7px;
    color: #14224b;
    font-size: 14px;
    font-weight: 700;
}

.romedi-public-form label span {
    color: #0b3aa3;
}

.romedi-public-form input,
.romedi-public-form select,
.romedi-public-form textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid #d8dfef;
    border-radius: 0;
    background: #fff;
    color: #1f2a44;
    font: inherit;
    padding: 12px 14px;
}

.romedi-public-form textarea {
    min-height: 128px;
    resize: vertical;
}

.romedi-check {
    display: flex !important;
    grid-template-columns: auto 1fr;
    gap: 10px !important;
    align-items: flex-start;
    color: #2a334e !important;
    font-weight: 500 !important;
    line-height: 1.5;
}

.romedi-check input {
    width: 18px;
    min-width: 18px;
    min-height: 18px;
    height: 18px;
    margin-top: 3px;
}

.romedi-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.romedi-form-footnote,
.romedi-archive-intro {
    color: #5f6982;
    line-height: 1.7;
}

.romedi-form-notice {
    margin: 0 0 18px;
    padding: 14px 16px;
    border-left: 4px solid #0b3aa3;
    background: #eef4ff;
    color: #14224b;
    font-weight: 700;
}

.romedi-form-notice.is-error {
    border-left-color: #b3261e;
    background: #fff0ef;
}

.romedi-newsletter-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 30px;
}

.romedi-newsletter-card {
    position: relative;
    min-height: 290px;
    padding: 28px;
}

.romedi-newsletter-card p {
    line-height: 1.65;
}

.romedi-newsletter-date {
    color: #0b3aa3;
    font-weight: 800;
}

.romedi-newsletter-lang {
    display: inline-flex;
    min-width: 44px;
    height: 32px;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    background: #eef4ff;
    color: #0b3aa3;
    font-weight: 800;
}

.romedi-btn.is-disabled {
    border-color: #c8d1e4;
    color: #65708a;
    cursor: default;
}

.romedi-modal-open {
    overflow: hidden;
}

.romedi-modal-layer[hidden],
.romedi-modal[hidden] {
    display: none !important;
}

.romedi-modal-layer {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: grid;
    place-items: center;
    padding: 24px;
}

.romedi-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 20, 48, 0.58);
}

.romedi-modal {
    position: relative;
    z-index: 1;
    width: min(860px, 100%);
    max-height: min(88vh, 920px);
    overflow: auto;
    padding: clamp(24px, 4vw, 42px);
}

.romedi-modal h2 {
    margin-bottom: 14px;
    font-size: clamp(30px, 4vw, 46px);
}

.romedi-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    border: 0;
    background: #0b3aa3;
    color: #fff;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
}

.romedi-program-trigger {
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.romedi-program-trigger:hover {
    color: #0b3aa3 !important;
}

@media (max-width: 900px) {
    .romedi-donate-hero-grid,
    .romedi-newsletter-grid,
    .romedi-two-col,
    .romedi-inline-cta,
    .romedi-footer-donate {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }

    .romedi-card-grid,
    .romedi-type-grid,
    .romedi-newsletter-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .romedi-footer-donate nav {
        justify-content: flex-start;
    }
}

@media (max-width: 560px) {
    .romedi-donate-wrap,
    .romedi-inline-cta {
        width: min(100% - 40px, 1180px);
    }

    .romedi-donate-hero {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .romedi-card {
        min-height: auto;
        padding: 22px 20px;
    }

    .romedi-card-grid,
    .romedi-newsletter-cards,
    .romedi-form-grid,
    .romedi-type-grid,
    .romedi-mode-row,
    .romedi-amounts {
        grid-template-columns: 1fr;
    }

    .romedi-donate h1 {
        font-size: 44px;
    }

    .romedi-donate h2,
    .romedi-inline-cta h2,
    .romedi-newsletter h2,
    .romedi-modal h2 {
        font-size: 34px;
    }

    .romedi-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .romedi-btn {
        width: 100%;
    }

    .romedi-modal-layer {
        align-items: end;
        padding: 12px;
    }

    .romedi-modal {
        max-height: 92vh;
        padding: 24px 18px;
    }
}
