/* Rabu Pagi 0.10: layer that follows the Website Revamp mockup (header, footer, sections, cards).
   Fonts come from Rabu Pagi > Tampilan > Font via --rp-font-heading / --rp-font-body. */
:root {
	--rp-yellow: #FCB13C;
	--rp-display: var(--rp-font-heading, "Lilita One", var(--wp--preset--font-family--display), system-ui, sans-serif);
	--rp-radius: 16px;
	--rp-radius-sm: 10px;
	--rp-shadow: 0 1px 2px rgba(70, 70, 70, .06);
}
body { background: var(--rp-cream); font-family: var(--rp-font-body, var(--wp--preset--font-family--body)); }
h1, h2, h3, h4, .wp-block-heading, .rp-h2, .rp-h3, .rp-h4 { font-family: var(--rp-display); font-weight: var(--rp-heading-weight, 800); letter-spacing: 0; }

/* Tags: small uppercase yellow label used above every section title. */
.rp-tag, .is-style-tag { border-radius: 4px; background: var(--rp-yellow); color: var(--rp-grey); text-transform: uppercase; letter-spacing: .06em; font-size: .68rem; font-weight: 800; padding: .35em .7em; }
.rp-tag--light, :is(.has-orange-background-color, .rp-hero) .rp-tag { background: var(--rp-yellow); color: var(--rp-grey); }
.rp-section-head { align-items: flex-end; margin-bottom: 1.75rem; }
.rp-section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.08; max-width: 18em; margin: .6rem 0 0; }
.rp-more { color: var(--rp-orange); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .35em; font-size: .92rem; }
.rp-more:hover { text-decoration: underline; }

/* Buttons */
.wp-element-button, .wp-block-button__link { border-radius: 999px; }
.wp-element-button.is-small { padding: .55em 1.2em !important; font-size: .88rem !important; }
.wp-element-button.is-dark { background: var(--rp-grey) !important; color: #fff !important; }
.wp-element-button.is-outline { box-shadow: inset 0 0 0 1.5px var(--rp-grey); }

/* Chips: white pills, the active one dark grey */
.rp-chip { border: 1px solid var(--rp-line); font-size: .82rem; padding: .45em 1em; }

/* Placeholders with a doodle */
.rp-ph { border-radius: inherit; background-image: none; flex-direction: column; gap: .5rem; color: var(--rp-soft); }
.rp-ph span { margin-top: 0; }
.rp-ph--ill .rp-ill { width: 56px; height: 56px; color: var(--rp-orange); opacity: .55; }
.rp-photo { overflow: hidden; border-radius: inherit; }
.rp-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Header ---------- */
.rp-header { background: var(--rp-cream); }
.rp-header .rp-block { margin: 0; }
.rp-header__inner { max-width: 1280px; margin-inline: auto; padding: .75rem clamp(1rem, 4vw, 2rem); display: flex; align-items: center; gap: 1.5rem; }
.rp-logo { display: inline-flex; flex: none; }
.rp-logo img { display: block; width: auto; height: 52px; }
.rp-nav { flex: 1; display: flex; justify-content: center; }
.rp-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(1rem, 2.4vw, 2rem); }
.rp-nav a { color: var(--rp-grey); font-weight: 700; font-size: .92rem; }
.rp-nav a:hover, .rp-nav a[aria-current] { color: var(--rp-orange); }
.rp-header__tools { display: flex; align-items: center; gap: 1rem; flex: none; }
.rp-cart-link { position: relative; color: var(--rp-grey); display: inline-flex; }
.rp-cart-count { position: absolute; top: -6px; right: -8px; background: var(--rp-orange); color: #fff; font-size: .65rem; font-weight: 800; min-width: 17px; height: 17px; border-radius: 999px; display: grid; place-items: center; padding: 0 4px; }
.rp-burger { display: none; background: none; border: 0; width: 40px; height: 40px; padding: 8px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.rp-burger span:not(.screen-reader-text) { display: block; height: 2.5px; background: var(--rp-grey); border-radius: 2px; transition: transform .2s, opacity .2s; }
.rp-announce { background: var(--rp-grey); color: #fff; text-align: center; font-size: .85rem; font-weight: 600; padding: .5rem 1rem; }
.rp-announce a { color: inherit; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; }
.rp-announce--orange { background: var(--rp-orange); }
.rp-announce--yellow { background: var(--rp-yellow); color: var(--rp-grey); }
.rp-announce--pink { background: var(--rp-pink); color: var(--rp-grey); }

/* ---------- Hero with collage ---------- */
.rp-block--hero { margin-block: 0 !important; }
.rp-hero { border-radius: 0; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.rp-hero__row { grid-template-columns: 1fr 1fr; }
.rp-hero__text { position: relative; }
.rp-hero__text h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.08; margin: 1rem 0 1.1rem; }
.rp-hero__text .rp-lead { font-size: 1rem; max-width: 32rem; }
.rp-hero__doodle { position: absolute; right: 4%; bottom: -2.5rem; width: 90px; height: 90px; color: var(--rp-yellow); opacity: .9; }
.rp-collage { display: grid; grid-template-columns: 1fr .8fr; grid-template-rows: repeat(5, minmax(48px, 1fr)); gap: 12px; min-height: clamp(320px, 38vw, 470px); }
.rp-collage__item { border-radius: 16px; overflow: hidden; background: rgba(255, 255, 255, .18); }
.rp-collage__item > * { height: 100%; }
.rp-collage__item--1 { grid-column: 1; grid-row: 1 / 4; }
.rp-collage__item--2 { grid-column: 2; grid-row: 1 / 3; }
.rp-collage__item--3 { grid-column: 1; grid-row: 4 / 6; }
.rp-collage__item--4 { grid-column: 2; grid-row: 3 / 6; }
.rp-hero .rp-ph { background: transparent; color: rgba(255, 255, 255, .85); min-height: 0; }
.rp-hero .rp-ph .rp-ill { color: #fff; opacity: .7; }

/* ---------- Cards ---------- */
.rp-card--flush { border: 0; box-shadow: var(--rp-shadow); }
.rp-card__img { aspect-ratio: 16 / 10; background: #E7E4DE; }
.rp-card__body { gap: .55rem; }
.rp-card__body .rp-tag { align-self: flex-start; }
.rp-card .rp-h3, .rp-card .rp-h4 { font-size: 1.15rem; line-height: 1.2; }
.rp-meta-col { display: flex; flex-direction: column; gap: .3rem; font-size: .82rem; color: var(--rp-soft); }
.rp-meta-col span { display: flex; gap: .45rem; align-items: center; }
.rp-event-card__foot { margin-top: auto; padding-top: .5rem; display: flex; justify-content: space-between; align-items: flex-end; gap: .75rem; }
.rp-event-card__foot > div { display: flex; flex-direction: column; }
.rp-event-card__foot .rp-small { font-size: .72rem; }
.rp-price { color: var(--rp-orange); font-family: var(--rp-display); font-weight: var(--rp-heading-weight, 800); font-size: 1.15rem; }
.rp-event-card__foot .wp-element-button { position: relative; z-index: 2; }
.rp-event-card.is-hidden { display: none; }
.rp-club-photo .rp-pill { align-self: flex-start; background: var(--rp-cream); font-size: .72rem; }
.rp-club-photo p { font-size: .88rem; color: var(--rp-soft); }
.rp-club-photo .rp-more { position: relative; z-index: 2; margin-top: auto; }

/* ---------- About + values ---------- */
.rp-about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.rp-about__media { border-radius: 20px; overflow: hidden; background: #E2DED6; }
.rp-about__text h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); line-height: 1.1; margin: .7rem 0 1rem; }
.rp-about__text .rp-lead { font-size: 1rem; color: var(--rp-soft); }
.rp-values { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin: 1.25rem 0 1.5rem; }
.rp-value { background: #fff; border-radius: 12px; padding: .9rem 1rem; display: flex; flex-direction: column; gap: .2rem; }
.rp-value strong { font-family: var(--rp-display); font-weight: var(--rp-heading-weight, 800); color: var(--rp-orange); font-size: 1.05rem; }
.rp-value span { font-size: .8rem; color: var(--rp-soft); }

/* ---------- Brand section (dark) ---------- */
.rp-brand { color: #fff; }
.rp-brand h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.1; max-width: 16em; margin: .7rem 0 1rem; }
.rp-brand .rp-lead { color: rgba(255, 255, 255, .85); font-size: 1rem; max-width: 40rem; }
.rp-brand .rp-grid { margin: 1.75rem 0; }
.rp-brand__card { background: rgba(255, 255, 255, .1); border-radius: 14px; padding: 1.25rem 1.4rem; }
.rp-brand__card h3 { color: #fff; font-size: 1.25rem; margin: 0 0 .5rem; }
.rp-brand__card p { color: rgba(255, 255, 255, .8); font-size: .85rem; margin: 0; }
.rp-logos { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.75rem; font-size: .78rem; opacity: .9; }
.rp-logos__img { height: 36px; width: auto; filter: grayscale(1) brightness(1.6); opacity: .8; }

/* ---------- CTA strip + footer ---------- */
.rp-block--cta_strip { background: var(--rp-yellow); margin: 0 !important; }
.rp-cta-strip__inner { max-width: 1280px; margin-inline: auto; padding: clamp(1.5rem, 4vw, 2.25rem) clamp(1rem, 4vw, 2rem); display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.rp-cta-strip__inner h2 { margin: 0 0 .25rem; font-size: clamp(1.3rem, 2.6vw, 1.75rem); color: var(--rp-grey); }
.rp-cta-strip__inner p { margin: 0; font-size: .88rem; }
.rp-footer { background: var(--rp-orange); color: #fff; padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.5rem; }
.rp-footer .rp-block { margin: 0; }
.rp-footer__inner { max-width: 1280px; margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.rp-footer__brand p { font-size: .85rem; max-width: 22rem; opacity: .9; }
.rp-footer__brand .rp-logo img { height: 64px; }
.rp-footer__col h3 { color: #fff; font-size: 1.1rem; margin: 0 0 .8rem; }
.rp-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .45rem; font-size: .85rem; }
.rp-footer__bottom { max-width: 1280px; margin: 2.5rem auto 0; padding: 1.25rem clamp(1rem, 4vw, 2rem) 0; border-top: 1px solid rgba(255, 255, 255, .35); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .8rem; }
.rp-footer__bottom a { color: inherit; }

/* ---------- Sections on the pages ---------- */
.rp-page-head { background: var(--rp-cream); }
.rp-page-head h1 { font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1.08; margin: .7rem 0 .75rem; }
.rp-page-head .rp-lead { font-size: 1rem; color: var(--rp-soft); max-width: 40rem; }
.has-pink-background-color .rp-card, .has-pink-background-color .rp-pin { box-shadow: none; }
.has-grey-background-color .rp-section-head h2 { color: #fff; }
main > .entry-content > .alignfull:first-child, .wp-block-post-content > .alignfull:first-child { margin-top: 0; }

/* Tickets with QR (order page, profile) */
.rp-tickets { margin: 1rem 0 1.5rem; }
.rp-tickets__grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.rp-ticket { background: #fff; border-radius: 14px; padding: 1rem; display: flex; gap: 1rem; align-items: center; border: 1.5px dashed var(--rp-line); }
.rp-ticket__qr svg { width: 120px; height: 120px; display: block; }
.rp-ticket__body { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.rp-ticket__body strong { font-family: var(--rp-display); font-size: 1.05rem; }
.rp-ticket__body code { font-size: .72rem; word-break: break-all; }
/* Program page in Profil saya */
.rp-program { margin-bottom: 1.5rem; gap: 1rem; }
.rp-materials { margin: 0; padding-left: 1.2rem; }
.rp-mentors { display: flex; flex-wrap: wrap; gap: 1rem; }
.rp-mentor { display: flex; gap: .7rem; align-items: center; }
.rp-mentor img, .rp-mentor__ph { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--rp-yellow); color: #fff; font-weight: 800; }
.rp-mentor > div { display: flex; flex-direction: column; }

/* Teman Jalan request form */
.rp-tj-form { background: #fff; border-radius: 20px; padding: clamp(1.25rem, 3vw, 2rem); }

@media (max-width: 900px) {
	.rp-burger { display: flex; }
	.rp-header__inner { flex-wrap: wrap; }
	.rp-header__tools { margin-left: auto; }
	.rp-nav { order: 9; flex-basis: 100%; display: none; }
	.rp-nav-open .rp-nav { display: block; }
	.rp-nav ul { flex-direction: column; gap: 0; padding: .5rem 0 1rem; }
	.rp-nav a { display: block; padding: .7rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--rp-line); }
	.rp-hero__row, .rp-about { grid-template-columns: 1fr; }
	.rp-collage { min-height: 360px; }
	.rp-footer__inner { grid-template-columns: 1fr 1fr; }
	.rp-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	.rp-logo img { height: 44px; }
	.rp-header__tools .rp-account .wp-element-button { padding: .5em .9em; }
	.rp-values { grid-template-columns: 1fr; }
	.rp-footer__inner { grid-template-columns: 1fr; }
	.rp-collage { min-height: 300px; }
}

/* Page hero, values row, series cards */
.rp-hero--page .rp-hero__media { transform: none; border-radius: 18px; background: rgba(255, 255, 255, .18); aspect-ratio: 4 / 3; box-shadow: none; }
.rp-values--row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rp-series-card { background: #fff; border-radius: 12px; padding: 1rem; display: flex; flex-direction: column; gap: .5rem; text-decoration: none; color: var(--rp-grey); font-size: .82rem; }
.rp-series-card .rp-tag { align-self: flex-start; }
.rp-series-card:hover { box-shadow: 0 0 0 2px var(--rp-orange); }
@media (max-width: 900px) { .rp-values--row { grid-template-columns: 1fr 1fr; } }
.rp-ph { background-color: #E7E4DE; }
.rp-about__media .rp-ph { aspect-ratio: 1 / 1; }
.has-grey-background-color .rp-tag { background: var(--rp-yellow); color: var(--rp-grey); }

/* Club page: hero photo, prize, event club */
.rp-club-head__hero { margin: 0; width: 100%; max-width: 360px; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; }
.rp-club-head__hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rp-club-head__logo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.rp-prize { display: flex; gap: 1rem; align-items: center; background: var(--rp-cream); border-radius: 14px; padding: 1rem; margin: 1.25rem 0; }
.rp-prize img, .rp-prize__ill { width: 84px; height: 84px; border-radius: 12px; object-fit: cover; flex: none; color: var(--rp-orange); }
.rp-prize > div { display: flex; flex-direction: column; gap: .3rem; align-items: flex-start; }
.rp-prize strong { font-family: var(--rp-display); font-size: 1.1rem; }
.rp-club-events { flex: 1.4; }
.rp-club-head { color: var(--on-club, #fff); }
.rp-club-head h1, .rp-club-head .rp-lead, .rp-club-head .rp-crumbs, .rp-club-head .rp-crumbs a { color: inherit; }
main .wp-block-group:not(:has(*)) { display: none; }

/* Team: round photos, five per row */
.rp-tim-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); margin-bottom: 2rem; }
.rp-person { background: none; box-shadow: none; align-items: center; text-align: center; gap: .35rem; padding: .5rem; }
.rp-person__photo { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--rp-yellow); color: #fff; font-family: var(--rp-display); font-size: 2.4rem; }
.rp-person .rp-h4 { margin: .4rem 0 0; }
/* Page head: cream, lead aligned left */
.rp-page-head .rp-lead { max-width: none; }
@media (max-width: 900px) { .rp-hero__doodle { display: none; } }
