/* myoga-theme.css — ONE look on every Core page (_pageLayout): the poll card's design system (the
   Studio's) — Nunito for text, Poppins for titles / names / buttons, the navy / blue-grey palette.
   Loaded last in the layout: it wins over the older Inter / Segoe UI / Plus Jakarta Sans rules. The
   poll card itself (ogapoll.css, an identical copy of the Studio's) keeps its own rules. */
:root {
    --mo-navy: #0B2C57; --mo-navy2: #0A2340; --mo-blue: #1F7BC0; --mo-cyan: #2BB3E3; --mo-red: #E63329;
    --mo-text: #0B2C57; --mo-muted: #6C8098; --mo-border: #CFE6F5; --mo-line: #E3EEF6;
    --mo-section: #E9F5FC; --mo-section2: #F2FAFF;
}

/* text */
body { font-family: 'Nunito', system-ui, -apple-system, sans-serif !important; color: var(--mo-text); }
p, li, label, small, span, td, th, input, select, textarea { font-family: inherit; }
input, select, textarea { font-family: 'Nunito', system-ui, sans-serif; color: var(--mo-text); }
a { color: var(--mo-blue); }
a:hover { color: var(--mo-navy); }

/* titles, names, buttons */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6,
.btn, .cmbutton, input[type="submit"], input[type="button"] { font-family: 'Poppins', system-ui, sans-serif !important; }
h1, h2, h3, h4, h5, h6 { color: var(--mo-navy); }

/* the page header (avatar, name, headline) */
.channelInfo h1, .channelInfo h2, .channelInfo .aboutInfo h2 { font-family: 'Poppins', system-ui, sans-serif !important; font-weight: 700; color: var(--mo-navy); letter-spacing: 0; }
.channelInfo h1 a, .channelInfo h2 a { color: var(--mo-navy); text-decoration: none; }
.channelInfo p { font-family: 'Nunito', system-ui, sans-serif !important; color: var(--mo-muted); }

/* the footer */
.footer-divider { border-color: var(--mo-line); opacity: 1; }
.footer-links a { font-family: 'Nunito', system-ui, sans-serif; font-weight: 700; font-size: 14px; color: var(--mo-navy) !important; }
.footer-links a:hover { color: var(--mo-blue) !important; }
.footer-preferences, .footer-preferences * { font-family: 'Nunito', system-ui, sans-serif !important; }
.footer-preferences select, .footer-preferences button, .footer-preferences .dropdown-toggle { font-weight: 700; }

/* ---- the page's blocks (card + title), the poll card's frame ---- */
.channelInfo .card.card-compact { background: #fff; border: 1.5px solid var(--mo-border); border-radius: 18px; box-shadow: none; }
/* The Studio's zoom on the WHOLE page column — the header (avatar, name, headline), the booking button,
   the blocks, the poll card, the checkout: one scale for everything, so nothing looks bigger than the
   rest. 780px on screen on a desktop, stepping down on a tablet, none on a phone. */
@media (min-width: 992px) {
    #wrapper .channelInfo > .container { zoom: 1.35; max-width: 578px; } /* 578 × 1.35 ≈ 780px */
}
@media (min-width: 768px) and (max-width: 991px) {
    #wrapper .channelInfo > .container { zoom: 1.15; max-width: 600px; } /* ≈ 690px */
}
@media (min-width: 768px) {
    /* inside the zoomed column: the cards and the poll card fill it (the poll card's own zoom is off) */
    #wrapper .channelInfo .card.card-compact { max-width: none; }
    #wrapper .channelInfo .ogapoll-core { zoom: 1; max-width: none; }
}
.titleCommon { border-bottom: 1px solid var(--mo-line); color: var(--mo-navy); }
.titleCommon h2, .titleCommon h3 { font: 700 18px 'Poppins', system-ui, sans-serif !important; color: var(--mo-navy); letter-spacing: 0; margin: 0; }
.titleCommon h3 .text-primary { color: var(--mo-blue) !important; }
.donortextbox, .donortextbox * { font-family: 'Nunito', system-ui, sans-serif !important; font-size: 15px !important; font-weight: 600; color: var(--mo-muted); line-height: 1.55; }

/* ---- buttons: navy by default, red for the main action (the poll card's .ogapoll-btn) ---- */
.cmbutton { background: var(--mo-navy); border-radius: 12px !important; font-weight: 800; font-size: 14.5px; padding: 12px 22px; transition: background .15s ease; }
.cmbutton:hover { background: var(--mo-navy2); color: #fff !important; border: 0 !important; }
.btn-red2 { background: var(--mo-red) !important; }
.btn-red2:hover { background: #C4271E !important; color: #fff !important; }
.cmbutton.btn-secondary { background: #fff !important; color: var(--mo-navy) !important; border: 1.5px solid var(--mo-border) !important; }
.cmbutton.btn-secondary:hover { border-color: var(--mo-cyan) !important; }

/* ---- tabs ---- */
.nav-tabs .nav-link { font: 800 14.5px 'Nunito', system-ui, sans-serif; color: var(--mo-muted); border-bottom: var(--mo-line) solid 2px !important; }
.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover { color: var(--mo-navy) !important; border-bottom: var(--mo-line) solid 2px !important; }
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active { color: var(--mo-navy) !important; border-bottom: var(--mo-cyan) solid 2px !important; }

/* ---- subscription tiers (_PageSubscriptionBlock) ---- */
.tierScroll { gap: 12px; padding: 16px 4px 16px; }
.tierScroll::-webkit-scrollbar-thumb { background: var(--mo-border); }
.tierCard { flex: 0 0 236px; border: 1.5px solid var(--mo-border); border-radius: 16px; padding: 24px 18px 18px; display: flex; flex-direction: column; }
.tierCard.popular { border-color: var(--mo-cyan); box-shadow: 0 0 0 2px rgba(43,179,227,.2); }
.tierCard .popular-badge { top: -11px; background: var(--mo-navy); font: 800 11px 'Nunito', system-ui, sans-serif; padding: 3px 12px; border-radius: 999px; }
.tierCard h4 { font: 700 17px 'Poppins', system-ui, sans-serif; color: var(--mo-navy); margin-bottom: 4px; }
.tierCard .tierPrice { font: 800 28px 'Poppins', system-ui, sans-serif; color: var(--mo-navy); letter-spacing: 0; }
.tierCard .tierPrice sup { font: 700 12.5px 'Nunito', system-ui, sans-serif; color: var(--mo-muted); top: -.9em; }
.tierCard .tierDesc { font-size: 13px; font-weight: 700; color: var(--mo-muted); margin: 6px 0 10px; }
.tierCard .tierPerks { margin: 8px 0 16px; flex: 1; }
.tierCard .tierPerks li { font-size: 13.5px; font-weight: 700; color: var(--mo-navy); line-height: 1.35; }
.tierCard .tierSubscribeBtn { margin-top: auto; }
.tierCard.currentTier { border-color: #37B26A; }
.tierCard.currentTier .popular-badge { background: #1E7A45; }
.tierScrollArrow { width: 30px; height: 30px; border: 1.5px solid var(--mo-border); color: var(--mo-navy); box-shadow: 0 4px 12px rgba(11,44,87,.15); }
@media (max-width: 480px) {
    .tierCard { flex-basis: 78%; }
    .tierScrollArrow.left { left: -6px; }
    .tierScrollArrow.right { right: -6px; }
}

/* ---- the Subscription block (_PageSubscriptionBlock): the mock-up's cards, left-right; the one in the
   middle ~84% wide, a bit of the previous / next one on each side ---- */
.ogamember-billing { display: flex; gap: 4px; width: max-content; max-width: 100%; margin: 16px auto 0; padding: 4px; border-radius: 12px; background: var(--mo-section); }
.ogamember-billing button { display: inline-flex; align-items: center; gap: 6px; border: none; background: none; border-radius: 9px; padding: 8px 16px; font: 800 13.5px 'Nunito', system-ui, sans-serif; color: var(--mo-muted); cursor: pointer; }
.ogamember-billing button.on { background: #fff; color: var(--mo-navy); box-shadow: 0 1px 4px rgba(11,44,87,.12); }
.ogamember-save { padding: 2px 7px; border-radius: 999px; background: #E7F7EE; color: #1E7A45; font-size: 11px; font-weight: 800; }
.ogamember-slider { position: relative; margin-top: 10px; }
.ogamember-count { position: absolute; top: 20px; right: calc(8% + 12px); z-index: 3; padding: 3px 9px; border-radius: 999px; background: var(--mo-navy); color: #fff; font: 800 11.5px 'Nunito', system-ui, sans-serif; }
.ogamember-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 14px 8% 16px; scroll-padding-inline: 8%; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.ogamember-track::-webkit-scrollbar { display: none; }
.ogamember-track.single { justify-content: center; }
.ogamember-card {
    position: relative; flex: 0 0 84%; scroll-snap-align: center; display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: 28px 18px 18px; background: #fff; border: 1.5px solid var(--mo-border); border-radius: 18px;
    opacity: .5; transform: scale(.96); transition: transform .25s ease, opacity .25s ease, box-shadow .25s ease;
}
.ogamember-card.is-center, .ogamember-track.single .ogamember-card { opacity: 1; transform: none; box-shadow: 0 10px 30px rgba(11,44,87,.08); }
.ogamember-card.popular { border-color: var(--mo-cyan); }
.ogamember-card.current { border-color: #37B26A; }
.ogamember-badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); padding: 3px 12px; border-radius: 999px; background: var(--mo-navy); color: #fff; font: 800 11px 'Nunito', system-ui, sans-serif; white-space: nowrap; }
.ogamember-card.current .ogamember-badge { background: #1E7A45; }
.ogamember-card h4 { margin: 0 0 4px; font: 700 20px 'Poppins', system-ui, sans-serif; color: var(--mo-navy); text-transform: capitalize; }
.ogamember-price { display: block; font: 800 40px 'Poppins', system-ui, sans-serif; color: var(--mo-navy); line-height: 1.15; letter-spacing: 0; }
.ogamember-price [hidden] { display: none; }
/* style.css sets `.card-body * { font-size: 17px; color: #000 }`: the pieces inside keep the card's own */
.ogamember-price > span, .ogamember-yearly > s, .ogamember-yearly > b, .ogamember-desc li i, .ogamember-desc p, .ogamember-arrow i { font-size: inherit; color: inherit; }
.ogamember-desc li { font-size: 14px; }
.ogamember-card h4, .ogamember-card .ogamember-join { color: inherit; }
.ogamember-card h4 { color: var(--mo-navy); }
.ogamember-card .ogamember-join { color: #fff; font-size: 14.5px; }
.ogamember-price sup { font: 700 14px 'Nunito', system-ui, sans-serif; color: var(--mo-muted); top: -1.1em; margin-left: 2px; }
.ogamember-yearly { display: block; margin-top: 4px; font-size: 13.5px; font-weight: 800; color: var(--mo-blue); }
.ogamember-yearly[hidden] { display: none; }
.ogamember-yearly s { margin: 0 4px; color: var(--mo-muted); font-weight: 700; }
.ogamember-yearly b { color: #1E7A45; }
.ogamember-join { width: 100%; margin: 16px 0 12px; }
.ogamember-more { width: 100%; }
.ogamember-desc { position: relative; max-height: 110px; overflow: hidden; text-align: left; font-size: 14px; font-weight: 600; color: var(--mo-muted); line-height: 1.55; }
.ogamember-desc::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 48px; background: linear-gradient(rgba(255,255,255,0), #fff); }
.ogamember-more.open .ogamember-desc { max-height: none; }
.ogamember-more.open .ogamember-desc::after, .ogamember-more.fits .ogamember-desc::after, .ogamember-more.fits .ogamember-toggle { display: none; }
.ogamember-desc p { margin: 0 0 8px; }
.ogamember-desc ul { list-style: none; padding: 0; margin: 0; }
.ogamember-desc li { display: flex; gap: 8px; margin-bottom: 6px; color: var(--mo-navy); font-weight: 700; }
.ogamember-desc li i { color: var(--mo-cyan); flex: none; }
.ogamember-toggle { margin-top: 6px; border: none; background: none; color: var(--mo-blue); font: 800 13.5px 'Nunito', system-ui, sans-serif; cursor: pointer; }
.ogamember-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1.5px solid var(--mo-border); background: #fff; color: var(--mo-navy); box-shadow: 0 4px 12px rgba(11,44,87,.15); cursor: pointer; }
.ogamember-arrow.prev { left: 1%; }
.ogamember-arrow.next { right: 1%; }
.ogamember-arrow:disabled { opacity: 0; pointer-events: none; }
.ogamember-once { padding-top: 14px; }
@media (max-width: 480px) {
    .ogamember-track { gap: 10px; padding-inline: 7%; scroll-padding-inline: 7%; }
    .ogamember-card { flex-basis: 86%; padding: 26px 14px 16px; }
    .ogamember-price { font-size: 34px; }
    .ogamember-count { right: calc(7% + 10px); }
    .ogamember-arrow { display: none; }
}

/* ---- donation (_DonationAmountPickerPartial): chips, amount, message ---- */
.donationAmountScroll { gap: 8px; }
.donationAmountScroll .amountChip { border: 1.5px solid var(--mo-border); border-radius: 12px; padding: 11px 18px; background: #fff; font: 800 14.5px 'Poppins', system-ui, sans-serif; color: var(--mo-navy); transition: border-color .15s ease, background .15s ease; }
.donationAmountScroll .amountChip:hover { border-color: var(--mo-cyan); }
.donationAmountScroll .amountChip.selected { border-color: var(--mo-cyan); background: var(--mo-section); color: var(--mo-navy); box-shadow: 0 0 0 2px rgba(43,179,227,.25); }
.amountformgroup .input-group { flex-wrap: nowrap; }
.amountformgroup .input-group-text { border: 1.5px solid var(--mo-border); border-right: 0; border-radius: 12px 0 0 12px; background: var(--mo-section2); font: 800 14px 'Nunito', system-ui, sans-serif; color: var(--mo-navy); }
.amountformgroup .form-control.donationCustomAmount { height: 46px; border: 1.5px solid var(--mo-border); border-radius: 0 12px 12px 0; font: 700 15px 'Nunito', system-ui, sans-serif; color: var(--mo-navy); box-shadow: none; }
.form-control.donationMessage { border: 1.5px solid var(--mo-border); border-radius: 12px; font: 700 14px 'Nunito', system-ui, sans-serif; color: var(--mo-navy); box-shadow: none; }
.form-control.donationCustomAmount:focus, .form-control.donationMessage:focus { border-color: var(--mo-cyan); box-shadow: 0 0 0 2px rgba(43,179,227,.2); }
.form-check-input:checked { background-color: var(--mo-blue); border-color: var(--mo-blue); }
.form-check-label { font-weight: 700; color: var(--mo-navy); }

/* ---- every modal: the navy header band of the Studio's question modal (white title, white ×) ----
   The old theme pads the whole .modal-content (assets1 style.css / responsive.css): the band takes it back
   with negative margins of the same size, edge to edge, and the rest of the modal stays where it was. */
.modal .modal-content { --mo-mc-t: 14px; --mo-mc-x: 38px; }
.modal.confirmationmodal .modal-content { --mo-mc-t: 22px; --mo-mc-x: 20px; }
#postModal .modal-content { --mo-mc-t: 0px; --mo-mc-x: 0px; }
@media only screen and (max-width: 567px) { .modal .modal-content { --mo-mc-x: 20px; } }
@media only screen and (max-width: 479px) { .modal .modal-content { --mo-mc-x: 10px; } }
#loginmodal .modal-content { --mo-mc-x: 10px; }   /* _LoginModel pads 14px 10px 12px */
.modal .modal-header:not(:has(*)) { display: none; }   /* an empty header: no band */
.modal .modal-header {
    background: var(--mo-navy, #0B2C57); color: #fff; border: 0; padding: 16px 20px !important; align-items: center;
    margin: calc(-1 * var(--mo-mc-t, 0px)) calc(-1 * var(--mo-mc-x, 0px)) 12px;
    border-top-left-radius: inherit; border-top-right-radius: inherit;
}
.modal .modal-header h1, .modal .modal-header h2, .modal .modal-header h3, .modal .modal-header h4, .modal .modal-header h5, .modal .modal-header .modal-title {
    margin-top: 0; margin-bottom: 0; color: #fff !important; font-family: 'Poppins', system-ui, sans-serif; font-weight: 700; font-size: 18px !important; line-height: 1.3;
}
.modal .modal-header .btn-close {
    flex: none; width: 32px; height: 32px; padding: 0; margin: 0 0 0 auto; border-radius: 8px; opacity: .9; box-shadow: none;
    background: rgba(255,255,255,.12) url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center / 11px auto no-repeat;
}
.modal .modal-header .btn-close:hover { opacity: 1; }
.modal .modal-header.justify-content-center .btn-close { position: absolute; right: 14px; }
.modal .modal-header.justify-content-center { position: relative; padding-right: 56px !important; padding-left: 56px !important; }
.modal .modal-header + .modal-body { padding-top: 16px; }
