/*
  landing.css: the home page (/) and the donation page (/donasi) only.
  Loaded after welcome.css, Bootstrap, Owl and AOS, so it wins without touching the
  other public pages that share welcome.css. Order: type, colour, frame, states, stock components.
*/

/* ---------- 1. Type ---------- */
.rb {
	--rb-font-display: "Red Hat Display", system-ui, -apple-system, "Segoe UI", sans-serif;
	--rb-font-text: "Red Hat Text", system-ui, -apple-system, "Segoe UI", sans-serif;
	--rb-t-h1: clamp(26px, 1.4vw + 20px, 36px);
	--rb-t-h2: clamp(23px, .4vw + 20px, 26px);
	--rb-t-h3: 17px;
	--rb-t-body: 17px;
	--rb-t-small: 14px;
	--rb-measure: 640px;

	/* ---------- 2. Colour: the brand yellow and black, one warm ink, neutral paper ---------- */
	--rb-yellow: #FFDE16;
	--rb-ink: #1A1712;
	--rb-ink-hover: #3A342A;
	--rb-muted: #5F5A4D;   /* 6.9:1 on white, 5.1:1 on the yellow */
	--rb-paper: #FFFFFF;
	--rb-surface: #F6F4EE;
	--rb-ground: #EDEBE4;
	--rb-line: rgba(26, 23, 18, .14);
	--rb-radius: 20px;
	--rb-radius-sm: 12px;
	--rb-pad: 24px;
	--rb-bar: 0px;
}

body.rb {
	background-color: var(--rb-ground) !important;
	color: var(--rb-ink);
	font-family: var(--rb-font-text);
	font-size: var(--rb-t-body);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.rb h1, .rb h2, .rb h3 {
	font-family: var(--rb-font-display);
	font-weight: 500;
	color: inherit;
	text-wrap: balance;
}

.rb h1 { font-size: var(--rb-t-h1); line-height: 1.15; letter-spacing: .02em; }
.rb h2 { font-size: var(--rb-t-h2); line-height: 1.25; letter-spacing: -.01em; margin: 0; }
.rb h3 { font-size: var(--rb-t-h3); font-weight: 600; line-height: 1.35; letter-spacing: 0; }

/* Text written in the admin panel: one face, left-aligned, no tiny bold paragraphs. */
.rb-prose { text-align: left; font-size: var(--rb-t-body); line-height: 1.7; }
.rb-prose, .rb-prose * { font-family: inherit !important; }
.rb-prose [style*="font-size"] { font-size: inherit !important; }
.rb-prose [style*="line-height"] { line-height: inherit !important; }
.rb-prose [style*="justify"] { text-align: left !important; }
.rb-prose p { margin: 0 0 1em; }
.rb-prose p:last-child { margin-bottom: 0; }
.rb-prose strong, .rb-prose b { font-weight: 600; }
.rb-prose ol, .rb-prose ul { padding-left: 1.4em; margin: 0 0 1.25em; }
.rb-prose li { margin-bottom: .5em; padding-left: .25em; }
.rb-prose a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 3. The frame: one column, one measure, equal edges ---------- */
.rb #content {
	margin: 0 auto !important;
	background-color: var(--rb-paper);
	box-shadow: 0 0 0 1px var(--rb-line);
}

.rb #content .content-header { padding: 32px var(--rb-pad) 24px; margin: 0; }
.rb #content .content-header img {
	display: block;
	width: min(100%, 400px);
	height: auto;
	margin: 0 auto;
}

.rb #content .content-body { padding: 40px var(--rb-pad) 56px; }
.rb #content .content-body.bg-white { margin-bottom: 0; padding-top: 16px; padding-bottom: 16px; }
.rb #content .content-body:has(+ .rb-wave) { padding-bottom: 8px; }
.rb .content-body > .container { padding: 0 !important; max-width: none; }

/* Every block in the column sits on the same two lines. */
.rb .info-card,
.rb #visiMisi,
.rb .owl-slider,
.rb .width-flexible,
.rb .box-report,
.rb .table-responsive,
.rb .content-donation,
.rb .donation-box-content,
.rb #content .content-body .info-img {
	width: 100% !important;
	max-width: var(--rb-measure) !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

.rb #content .content-body .text-slogan {
	margin: 0 auto 40px;
	font-size: var(--rb-t-h1);
	font-weight: 500;
	color: var(--rb-ink);
}

/* The yellow waves between bands: no hairline gaps, no overhang. */
.rb .rb-wave { display: block; width: 100%; height: auto; margin: -1px 0; }

.rb #content .content-body .info-img { display: block; height: auto; margin-top: 32px; margin-bottom: 0; }
.rb #content .content-body .info-img:first-of-type { margin-top: 48px; }

/* The fixed donation bar on the home page. */
.rb .btn-donation {
	display: flex;
	justify-content: center;
	left: 0;
	right: 0;
	padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
	background-color: var(--rb-paper);
	border-top: 1px solid var(--rb-line);
	box-shadow: 0 -12px 32px -20px rgba(26, 23, 18, .35);
}

/* The footer: a black band closing the column, on every public page. */
.rb .rb-footer { padding: 40px var(--rb-pad) 0; background: var(--rb-ink); color: #fff; text-align: left; }
.rb .rb-footer__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; max-width: var(--rb-measure); margin: 0 auto; }
.rb .rb-footer__brand { margin: 0; font-family: var(--rb-font-display); font-size: var(--rb-t-h2); font-weight: 500; color: var(--rb-yellow); }
.rb .rb-footer__nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
.rb .rb-footer__nav a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: #fff;
	font-size: 16px;
	text-decoration: none;
	border-bottom: 2px solid transparent;
}
.rb .rb-footer__nav a:hover { color: var(--rb-yellow); }
.rb .rb-footer__nav a { justify-self: start; }
.rb .rb-footer__nav a[aria-current="page"] { color: var(--rb-yellow); border-bottom-color: var(--rb-yellow); }
.rb .rb-footer :focus-visible { outline-color: var(--rb-yellow) !important; }

.rb .content-footer {
	max-width: var(--rb-measure);
	margin: 32px auto 0 !important;
	padding: 20px 0 calc(24px + var(--rb-bar));
	border-top: 1px solid rgba(255, 255, 255, .16);
	font-family: var(--rb-font-text);
	font-size: var(--rb-t-small);
	color: rgba(255, 255, 255, .72);
	text-align: left;
}
.rb .content-footer label { margin: 0; }

/* ---------- 4. States ---------- */
.rb a, .rb button, .rb .btn { transition: background-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease, text-decoration-color .15s ease; }

.rb :focus-visible,
.rb .btn:focus-visible,
.rb .swal2-popup:focus-visible {
	outline: 3px solid var(--rb-ink) !important;
	outline-offset: 3px;
	box-shadow: none !important;
}
.rb .swal2-popup:focus { outline: 3px solid var(--rb-ink); outline-offset: 3px; }

/* Keyboard focus never lands under the fixed donation bar. */
html:has(.btn-donation) { scroll-padding-bottom: 104px; }

/* Text links: ink with an underline that thickens on hover. */
.rb .rb-link,
.rb .modal-body a {
	color: var(--rb-ink) !important;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
	text-decoration-color: rgba(26, 23, 18, .4);
}
.rb .rb-link:hover,
.rb .modal-body a:hover { text-decoration-thickness: 2px; text-decoration-color: var(--rb-ink); }
.rb .content-footer a { color: #fff; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, .4); }
.rb .content-footer a:hover { color: var(--rb-yellow); text-decoration-color: var(--rb-yellow); }

/* One button: the black pill with the yellow label, in every place it appears. */
.rb .rb-btn,
.rb .btn-form,
.rb .btn-donation .donations {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 28px;
	border: 0;
	border-radius: 999px !important;
	background-color: var(--rb-ink) !important;
	color: var(--rb-yellow) !important;
	font-family: var(--rb-font-display);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: .02em;
	text-decoration: none !important;
}
.rb .rb-btn:hover,
.rb .btn-form:hover,
.rb .btn-donation .donations:hover {
	background-color: var(--rb-ink-hover) !important;
	color: var(--rb-yellow) !important;
	transform: translateY(-1px);
}
.rb .rb-btn:active,
.rb .btn-form:active,
.rb .btn-donation .donations:active,
.rb .btn-donation .donations:focus,
.rb .btn-donation .donations:visited {
	background-color: var(--rb-ink) !important;
	border-color: var(--rb-ink) !important;
	color: var(--rb-yellow) !important;
}
.rb .rb-btn:active,
.rb .btn-form:active,
.rb .btn-donation .donations:active { transform: translateY(1px); }

.rb .btn-donation .donations { width: auto !important; min-width: 320px; min-height: 52px; font-size: 17px; letter-spacing: .06em; }

/* Content stays visible without scripts and under reduced motion (AOS runs only when html.rb-aos is set). */
html:not(.rb-aos) .rb [data-aos] { opacity: 1 !important; transform: none !important; transition: none !important; }

@media (prefers-reduced-motion: reduce) {
	.rb *, .rb *::before, .rb *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- 5. Stock components, restyled ---------- */

/* Info cards: the black head with the yellow title, a white body with readable text. */
.rb .info-card {
	border: 0;
	border-radius: var(--rb-radius);
	background: var(--rb-paper);
	box-shadow: 0 1px 0 rgba(26, 23, 18, .06), 0 16px 40px -24px rgba(26, 23, 18, .45);
	overflow: hidden;
	margin-bottom: 32px !important;
}
.rb .info-card .card-header {
	padding: 20px var(--rb-pad);
	border-radius: 0;
	background: var(--rb-ink);
	color: var(--rb-yellow);
}
.rb .info-card .card-body { padding: var(--rb-pad) 28px 28px; color: var(--rb-ink); }
.rb .badge-custom {
	display: inline-block;
	margin-bottom: 16px !important;
	padding: 6px 14px !important;
	border-radius: 999px;
	background: var(--rb-yellow);
	color: var(--rb-ink);
	font-family: var(--rb-font-text);
	font-size: var(--rb-t-small);
	font-weight: 500;
	text-align: left;
}

.rb #visiMisi { padding-top: 24px; color: var(--rb-ink); }
.rb #visiMisi > h2 { text-align: center; margin-bottom: 32px; }

/* Section heads in the white band: the heading left, "Lihat Semua" right, on one line. */
.rb .width-flexible:has(.news-block) { margin-top: 40px !important; margin-bottom: 16px; }
.rb .width-flexible .d-flex { align-items: center; }
.rb .news-block { width: auto; padding: 0; margin: 0; background: none; border-radius: 0; font-size: inherit; text-align: left; }
.rb .another-block { padding: 0; font-size: 16px; }
.rb .rb-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; }
.rb .content-body:not(.bg-white) > .width-flexible:first-child { margin-top: 0 !important; }

/* Owl carousels: 16:9 frames, 44px controls inside the frame, dots you can hit. */
.rb .owl-slider { position: relative; z-index: 0; }
.rb .owl-carousel .item > img,
.rb .img-slider {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	object-fit: cover;
	padding: 0;
	border: 0;
	border-radius: var(--rb-radius) !important;
	background-color: var(--rb-surface);
}
.rb .owl-theme .owl-nav { margin: 0; }
.rb .owl-carousel .owl-nav button.owl-prev,
.rb .owl-carousel .owl-nav button.owl-next {
	position: absolute;
	top: calc(50% - 22px);
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	border-radius: 50%;
	background: var(--rb-paper) !important;
	color: var(--rb-ink) !important;
	box-shadow: 0 0 0 1px var(--rb-line), 0 6px 16px -8px rgba(26, 23, 18, .5);
	font-size: 28px;
	line-height: 1;
}
.rb .owl-carousel .owl-nav button.owl-prev { left: 12px; }
.rb .owl-carousel .owl-nav button.owl-next { right: 12px; }
.rb .owl-carousel .owl-nav button.owl-prev:hover,
.rb .owl-carousel .owl-nav button.owl-next:hover {
	background: var(--rb-ink) !important;
	color: var(--rb-yellow) !important;
}
.rb .owl-carousel .owl-nav button.owl-prev:active,
.rb .owl-carousel .owl-nav button.owl-next:active { transform: translateY(-50%) scale(.95); }
.rb .owl-carousel .owl-nav button.disabled { visibility: hidden; }
.rb .owl-carousel .owl-nav span { display: block; margin-top: -3px; }

.rb .owl-theme .owl-dots { height: 44px; margin-top: 4px; line-height: 0; }
.rb .owl-theme .owl-dots .owl-dot {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	vertical-align: top;
}
.rb .owl-theme .owl-dots .owl-dot span {
	width: 8px;
	height: 8px;
	margin: 0;
	border-radius: 999px;
	background: rgba(26, 23, 18, .28) !important;
	transition: width .2s ease, background-color .2s ease;
}
.rb .owl-theme .owl-dots .owl-dot:hover span { background: rgba(26, 23, 18, .55) !important; }
.rb .owl-theme .owl-dots .owl-dot.active span { width: 24px; background: var(--rb-ink) !important; }

/* Article cards. */
.rb .news { padding: 0; margin: 0 0 8px; border-radius: var(--rb-radius); background: var(--rb-paper); overflow: hidden; box-shadow: 0 1px 0 rgba(26, 23, 18, .06), 0 16px 40px -24px rgba(26, 23, 18, .45); }
.rb .news .news-image { height: 240px; border-radius: 0; background-color: var(--rb-surface) !important; }
.rb .news .news-image-more { padding: 40px 48px 8px; }
.rb .news .news-image-more img { display: block; max-width: 320px; margin: 0 auto; }
.rb .news .news-detail { margin: 0; padding: 20px var(--rb-pad) var(--rb-pad); }
.rb .news .news-detail h3 { margin: 12px 0 20px; font-size: var(--rb-t-h3); }
.rb .news .news-detail .link-a { width: auto; }
.rb .genre { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.rb .rb-tag {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--rb-yellow);
	color: var(--rb-ink);
	font-size: var(--rb-t-small);
	font-weight: 500;
	line-height: 1.4;
}
.rb .rb-meta { color: var(--rb-muted); font-size: var(--rb-t-small); }

/* The distribution report: the same black-headed card, figures in the display face. */
.rb .table-responsive { margin-top: 40px !important; }
.rb .box-report {
	border-collapse: separate;
	border-spacing: 0;
	border-radius: var(--rb-radius);
	overflow: hidden;
	background: var(--rb-paper) !important;
	font-family: var(--rb-font-text);
	font-size: var(--rb-t-body);
	color: var(--rb-ink);
	box-shadow: 0 1px 0 rgba(26, 23, 18, .06), 0 16px 40px -24px rgba(26, 23, 18, .45);
}
.rb .box-report th, .rb .box-report td { padding: 14px var(--rb-pad); vertical-align: middle; }
.rb .box-report .head-box { padding: 20px var(--rb-pad); background: var(--rb-ink) !important; border-radius: 0; text-align: center; }
.rb .box-report .label-title { display: block; margin: 0; font-family: var(--rb-font-display); font-size: 20px; font-weight: 500; color: var(--rb-yellow); }
.rb .box-report .label-desc { display: block; margin: 2px 0 0; font-size: var(--rb-t-small); color: rgba(255, 255, 255, .78); }
.rb .box-report .head-box br { display: none; }
.rb .box-report .label-info th { font-weight: 400; }
.rb .box-report .label-info th:first-child { width: 40%; font-family: var(--rb-font-display); font-size: 22px; font-weight: 500; font-variant-numeric: tabular-nums; text-align: left; }
.rb .box-report .label-info th:last-child { text-align: right; color: var(--rb-muted); }
.rb .box-report .hr-down { border-bottom: 1px solid var(--rb-line) !important; }
.rb .box-report .footer-box { padding: 12px var(--rb-pad); background: var(--rb-surface); border-radius: 0; }
.rb .box-report .footer-box .badge { padding: 0; background: none; color: var(--rb-muted); font-size: var(--rb-t-small); font-weight: 500; }

/* Donation page: dividers drawn by CSS instead of an <hr> under a heading. */
.rb .hr-text {
	display: flex;
	align-items: center;
	gap: 16px;
	width: 100% !important;
	max-width: var(--rb-measure);
	margin: 48px auto 24px !important;
	background: none;
	font-size: var(--rb-t-h2) !important;
	color: var(--rb-ink);
}
.rb .hr-text::before, .rb .hr-text::after { content: ""; flex: 1; height: 1px; background: rgba(26, 23, 18, .3); }
.rb p.hr-text { font-family: var(--rb-font-text); font-size: 17px !important; font-weight: 500; margin: 32px auto !important; }

.rb .content-donation { padding: 0; margin-bottom: 12px; }
.rb .label-txt { margin: 0; font-weight: 500; }

.rb .donation-box-content { margin-top: 0 !important; padding: 0; }
.rb .donation-box-content .row { margin: 0; gap: 12px; }
.rb .donation-box-content .box {
	margin: 0;
	padding: 20px 16px;
	border-radius: var(--rb-radius-sm);
	background: var(--rb-paper);
	box-shadow: 0 1px 0 rgba(26, 23, 18, .06), 0 10px 24px -16px rgba(26, 23, 18, .45);
	font-family: var(--rb-font-text);
	font-size: inherit;
	color: var(--rb-ink);
}
.rb .donation-box-content .box br { display: none; }
.rb .num-box { display: block; margin: 0; font-family: var(--rb-font-display); font-size: 22px; font-weight: 500; font-variant-numeric: tabular-nums; }
.rb .label-box { display: block; margin: 2px 0 0; font-size: 15px; font-weight: 400; color: var(--rb-muted); }

.rb #content .content-body .info-img-qr {
	max-width: 360px !important;
	margin: 0 auto 16px !important;
	border-radius: var(--rb-radius-sm);
	box-shadow: 0 16px 40px -24px rgba(26, 23, 18, .45);
}
.rb .rb-help {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 4px;
	border: 0;
	background: none;
	color: var(--rb-ink);
	font: inherit;
	font-size: 16px;
	cursor: pointer;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
	text-decoration-color: rgba(26, 23, 18, .4);
}
.rb .rb-help:hover { text-decoration-thickness: 2px; text-decoration-color: var(--rb-ink); }
.rb .rb-help .fas { font-size: 18px; }

.rb .img-donation { display: block; width: 100% !important; max-width: 420px; height: auto; margin: 0 auto; }

.rb .don-cta { max-width: var(--rb-measure); margin: 48px auto 0; padding-top: 32px; border-top: 1px solid rgba(26, 23, 18, .3); }
.rb .don-title { display: block; margin: 0 0 4px; font-family: var(--rb-font-display); font-size: 20px; font-weight: 500; }
.rb .don-desc { display: block; margin: 0 0 20px; font-weight: 400; }
.rb .btn-form .fas { margin: 0 !important; }

/* QRIS help modal. */
.rb .modal-content { border: 0; border-radius: var(--rb-radius); overflow: hidden; }
.rb .modal-header { padding: 20px var(--rb-pad); border-bottom: 1px solid var(--rb-line); }
.rb .modal-header .close { width: 44px; height: 44px; margin: -12px -12px -12px auto; padding: 0; opacity: .7; }
.rb .modal-header .close:hover { opacity: 1; }
.rb .modal-body { padding: var(--rb-pad); font-size: 16px; line-height: 1.6; }
.rb .modal-body label { font-weight: 600; }
.rb .modal-body li { margin-bottom: 8px; }
.rb .modal-footer { padding: 16px var(--rb-pad); border-top: 1px solid var(--rb-line); }

/* The logo links home: the link takes the logo's width, the logo fills it. */
.rb #content .content-header a { display: block; width: min(100%, 400px); margin: 0 auto; }
.rb #content .content-header a img { width: 100%; margin: 0; }

/* Lists of articles, photographs and videos: one column, one gap. */
.rb .rb-stack > * + * { margin-top: 24px !important; }
.rb #content .rb-stack .info-img { margin: 0; border-radius: var(--rb-radius); background-color: var(--rb-surface); }
.rb .rb-stack .img-slider { display: block; }
.rb .news .news-detail h2 { margin: 12px 0 20px; font-size: var(--rb-t-h3); font-weight: 600; line-height: 1.35; text-align: left; }

/* Bootstrap pagination in the brand: ink pills, 44px targets. */
.rb .pagination { justify-content: center; flex-wrap: wrap; gap: 8px; margin: 32px 0 0; }
.rb .pagination .page-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 0;
	border-radius: 999px !important;
	background: var(--rb-paper);
	color: var(--rb-ink);
	font-weight: 500;
}
.rb .pagination .page-link:hover { background: var(--rb-ink); color: var(--rb-yellow); }
.rb .pagination .page-item.active .page-link { background: var(--rb-ink); color: var(--rb-yellow); }
.rb .pagination .page-item.disabled .page-link { background: rgba(255, 255, 255, .55); color: var(--rb-muted); }

/* One article. */
.rb #content .content-body .rb-cover { border-radius: var(--rb-radius); background-color: var(--rb-surface); margin: 0 auto 32px; }
.rb .rb-article { text-align: left; }
.rb .rb-article > h2 { margin-bottom: 12px; }
.rb .rb-article .rb-tag { background: var(--rb-ink); color: var(--rb-yellow); }
.rb .rb-article hr { margin: 24px 0; border-color: rgba(26, 23, 18, .25); }

/* The donor form. */
.rb .rb-form .form-group { margin: 0 0 20px; }
.rb .rb-form label.don-desc { display: block; margin: 0 0 6px; font-size: 15px; font-weight: 500; }
.rb .rb-form .form-control {
	height: 48px;
	padding: 10px 14px;
	border: 1px solid rgba(26, 23, 18, .28);
	border-radius: var(--rb-radius-sm);
	background-color: var(--rb-paper);
	color: var(--rb-ink);
	font-size: 16px;
}
.rb .rb-form textarea.form-control { height: auto; min-height: 112px; }
.rb .rb-form .form-control::placeholder { color: var(--rb-muted); opacity: 1; }
.rb .rb-form .form-control:focus { border-color: var(--rb-ink); }
.rb .rb-form .select2-container { width: 100% !important; }
.rb .rb-form .select2-container--default .select2-selection--single {
	height: 48px;
	border: 1px solid rgba(26, 23, 18, .28);
	border-radius: var(--rb-radius-sm);
}
.rb .rb-form .select2-container--default .select2-selection--single .select2-selection__rendered { padding-left: 14px; line-height: 46px; color: var(--rb-ink); font-size: 16px; }
.rb .rb-form .select2-container--default .select2-selection--single .select2-selection__placeholder { color: var(--rb-muted); }
.rb .rb-form .select2-container--default .select2-selection--single .select2-selection__arrow { height: 46px; right: 10px; }
.rb .select2-dropdown { border-color: rgba(26, 23, 18, .28); border-radius: var(--rb-radius-sm); overflow: hidden; font-family: var(--rb-font-text); }
.rb .select2-results__option { padding: 10px 14px; }
.rb .select2-container--default .select2-results__option--highlighted[aria-selected],
.rb .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable { background: var(--rb-ink); color: var(--rb-yellow); }

.rb .rb-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* The second button: ink outline, same pill. */
.rb .rb-btn.rb-btn--secondary {
	background-color: transparent !important;
	color: var(--rb-ink) !important;
	box-shadow: inset 0 0 0 2px var(--rb-ink);
}
.rb .rb-btn.rb-btn--secondary:hover,
.rb .rb-btn.rb-btn--secondary:active { background-color: var(--rb-ink) !important; color: var(--rb-yellow) !important; }

/* Form errors: a white panel with a thin red border, text in ink. */
.rb .alert-danger { margin: 0 0 8px; padding: 16px 20px; border: 1px solid rgba(180, 35, 24, .45); border-radius: var(--rb-radius-sm); background: var(--rb-paper); color: var(--rb-ink); text-align: left; }
.rb .rb-alert__title { margin: 0 0 6px; font-weight: 600; color: #B42318; }
.rb .alert-danger ul { margin: 0; padding-left: 20px; }

/* ---------- Widths ---------- */
@media (min-width: 1024px) {
	.rb #content { max-width: 960px; }
	.rb:has(.btn-donation) { --rb-bar: 77px; }
}

/* Three amounts a row across the full column, the last two centred as before. */
@media (min-width: 768px) {
	.rb .donation-box-content .box { flex: 0 0 calc((100% - 24px) / 3); max-width: none; margin: 0; }
}

@media (min-width: 768px) and (max-width: 1023px) {
	.rb #content { max-width: none; }
	.rb:has(.btn-donation) { --rb-bar: 77px; }
}

@media (max-width: 767px) {
	.rb { --rb-pad: 16px; --rb-t-body: 16px; }
	.rb:has(.btn-donation) { --rb-bar: calc(77px + env(safe-area-inset-bottom)); }
	.rb #content .content-header { padding: 24px 16px 16px; }
	.rb #content .content-header a { width: min(84%, 320px); }
	.rb #content .content-body { padding: 32px 16px 40px; }
	.rb #content .content-body .text-slogan { margin-bottom: 32px; }
	.rb .info-card .card-body { padding: 20px; }
	.rb .info-card { margin-bottom: 24px !important; }
	.rb .news .news-image { height: 190px; }
	.rb .news .news-image-more { padding: 32px 32px 8px; }
	.rb .box-report th, .rb .box-report td { padding: 12px 16px; }
	.rb .box-report .label-info th:first-child { font-size: 20px; }
	.rb .owl-carousel .owl-nav button.owl-prev { left: 8px; }
	.rb .owl-carousel .owl-nav button.owl-next { right: 8px; }
	.rb .btn-donation .donations { width: 100% !important; min-width: 0; }
	.rb .rb-actions .rb-btn { flex: 1 1 0; }
	.rb .rb-footer { padding-top: 32px; }
	.rb .rb-footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; width: 100%; }
	.rb #content .content-body .info-img-qr { max-width: 320px !important; }

	/* Amounts as a compact list: the figure left, how often right. */
	.rb .donation-box-content .box { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 16px 20px; text-align: left; }
	.rb .num-box { font-size: 20px; }
	.rb .label-box { margin: 0; text-align: right; }
	.rb .hr-text { margin: 40px auto 20px !important; }
}
