/* =============================================
 *  JamboRadio — Charity Overview
 *  Who We Are / Our Mission / Our Work /
 *  Our Impact / Get Involved
 *
 *  Colors come from the brand tokens in jr-global.css and are
 *  deliberately free of !important so the Elementor style
 *  controls on the widget can override them.
 * ============================================= */

.jr-charity-overview {
    font-family: var(--jr-font);
    color: var(--jr-text);
}

/* ── Section shell ── */
.jr-co-section {
    padding: 72px 20px;
    position: relative;
}

.jr-co-section--alt {
    background-color: var(--jr-bg);
}

.jr-co-inner {
    max-width: 1140px;
    margin: 0 auto;
}

/* ── Section head ── */
.jr-co-heading {
    position: relative;
    margin: 0 0 6px;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: var(--jr-primary);
    padding-bottom: 14px;
}

/* Two-tone brand rule: accent bar + yellow tick. */
.jr-co-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 56px;
    height: 4px;
    border-radius: 2px;
    background-color: var(--jr-accent);
}

.jr-co-heading::before {
    content: "";
    position: absolute;
    left: 64px;
    bottom: 0;
    width: 22px;
    height: 4px;
    border-radius: 2px;
    background-color: var(--jr-yellow);
}

/* Page-level heading (Our Work intro) */
.jr-co-heading--page {
    font-size: 42px;
}

/* Icon + heading row used by the Our Work areas */
.jr-co-area-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 6px;
}

.jr-co-area-head .jr-co-heading {
    margin-bottom: 0;
}

.jr-co-area-head .jr-co-card-icon {
    flex: 0 0 auto;
    margin-bottom: 0;
}

.jr-co-eyebrow {
    margin: 14px 0 20px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: var(--jr-accent);
}

/* ── Body copy ── */
.jr-co-text,
.jr-co-text p {
    font-size: 16px;
    line-height: 1.75;
    color: #4A4A5A;
}

.jr-co-text p {
    margin: 0 0 16px;
}

.jr-co-text p:last-child {
    margin-bottom: 0;
}

.jr-co-text--wide {
    max-width: 900px;
}

.jr-co-lead {
    margin: 0 0 20px;
    font-size: 17px;
}

.jr-co-list-label {
    margin: 0 0 14px;
    font-size: 16px;
    font-weight: 700;
    color: var(--jr-primary);
}

/* Line that closes a bullet list before its call to action */
.jr-co-closing {
    margin: 24px 0 0;
    font-weight: 600;
    color: var(--jr-primary);
}

.jr-co-charity-number {
    letter-spacing: 0.3px;
}

/* ── Who We Are: text + optional image ── */
.jr-co-split {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 40px;
    align-items: center;
}

.jr-co-split--single {
    grid-template-columns: 1fr;
    max-width: 900px;
}

/* Image on the left, text on the right. */
.jr-co-split--rev .jr-co-text  { order: 2; }
.jr-co-split--rev .jr-co-media { order: 1; }

.jr-co-media img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: var(--jr-radius);
    box-shadow: var(--jr-shadow-lg);
}

/* ── Mission points ── */
.jr-co-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.jr-co-point {
    position: relative;
    padding-left: 30px;
    font-size: 16px;
    line-height: 1.6;
    color: #4A4A5A;
}

.jr-co-point::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: var(--jr-accent);
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.35);
}

/* ── Card grid ── */
.jr-co-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 8px;
}

.jr-co-card {
    position: relative;
    display: block;
    overflow: hidden;
    padding: 28px 24px;
    background-color: var(--jr-card-bg);
    border: 1px solid var(--jr-border);
    border-radius: var(--jr-radius);
    box-shadow: var(--jr-shadow-sm);
    text-decoration: none;
    transition: var(--jr-transition);
}

.jr-co-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;
    background-color: var(--jr-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.jr-co-card::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 34%;
    height: 3px;
    background-color: var(--jr-yellow);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease 0.05s;
}

.jr-co-card:hover::after {
    transform: scaleX(1);
}

.jr-co-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--jr-shadow-lg);
}

.jr-co-card:hover::before {
    transform: scaleX(1);
}

.jr-co-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    font-size: 22px;
    line-height: 1;
    border-radius: var(--jr-radius-sm);
    background-color: rgba(255, 215, 0, 0.22);
}

.jr-co-card-title {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--jr-primary);
}

.jr-co-card-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: var(--jr-text-secondary);
}

.jr-co-card--link:focus-visible {
    outline: 2px solid var(--jr-accent);
    outline-offset: 3px;
}

/* ── Buttons ── */
.jr-co-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.jr-co-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 28px;
    font-family: var(--jr-font);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.2px;
    border: 2px solid transparent;
    border-radius: var(--jr-radius-full);
    background-color: transparent;
    text-decoration: none;
    cursor: pointer;
    transition: var(--jr-transition);
}

.jr-co-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.jr-co-btn:focus-visible {
    outline: 2px solid var(--jr-accent);
    outline-offset: 3px;
}

.jr-co-btn--primary {
    background-color: var(--jr-accent);
    border-color: var(--jr-accent);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(233, 69, 96, 0.3);
}

.jr-co-btn--primary:hover {
    background-color: var(--jr-secondary);
    border-color: var(--jr-secondary);
    color: #ffffff;
}

/* Secondary buttons on a light band */
.jr-co-btn--dark {
    border-color: var(--jr-primary);
    color: var(--jr-primary);
}

.jr-co-btn--dark:hover {
    background-color: var(--jr-primary);
    color: #ffffff;
}

.jr-co-btn--outline {
    border-color: var(--jr-yellow);
    color: var(--jr-yellow);
}

.jr-co-btn--outline:hover {
    background-color: var(--jr-yellow);
    border-color: var(--jr-yellow);
    color: var(--jr-primary);
}

/* ── Charity registration line ── */
.jr-co-charity {
    margin: 24px 0 0;
    font-size: 13px;
    line-height: 1.6;
    color: var(--jr-text-secondary);
}

/* ── Get Involved: dark band ── */
.jr-co-section--dark {
    background-color: var(--jr-primary);
}

.jr-co-section--dark .jr-co-heading {
    color: #ffffff;
}

.jr-co-section--dark .jr-co-text,
.jr-co-section--dark .jr-co-text p {
    color: rgba(255, 255, 255, 0.85);
}

.jr-co-section--dark .jr-co-card {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: none;
}

.jr-co-section--dark .jr-co-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.jr-co-section--dark .jr-co-card-icon {
    background-color: rgba(255, 215, 0, 0.18);
}

.jr-co-section--dark .jr-co-card::before {
    background-color: var(--jr-yellow);
}

.jr-co-section--dark .jr-co-card::after {
    background-color: var(--jr-accent);
}

.jr-co-section--dark .jr-co-eyebrow {
    color: var(--jr-yellow);
}

.jr-co-section--dark .jr-co-card-title {
    color: #ffffff;
}

.jr-co-section--dark .jr-co-card-text {
    color: rgba(255, 255, 255, 0.75);
}

.jr-co-section--dark .jr-co-card--link:focus-visible {
    outline-color: #ffffff;
}

.jr-co-section--dark .jr-co-charity {
    color: rgba(255, 255, 255, 0.6);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .jr-co-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .jr-co-split { grid-template-columns: 1fr; gap: 28px; }
    .jr-co-media img { max-height: 320px; }
}

@media (max-width: 767px) {
    .jr-co-section { padding: 44px 16px; }
    .jr-co-heading { font-size: 26px; }
    .jr-co-heading--page { font-size: 30px; }
    .jr-co-area-head { gap: 10px; }
    .jr-co-eyebrow { font-size: 14px; }
    .jr-co-text,
    .jr-co-text p,
    .jr-co-point { font-size: 15px; }
    .jr-co-grid { grid-template-columns: 1fr; gap: 16px; }
    .jr-co-points { grid-template-columns: 1fr; }
    .jr-co-card { padding: 22px 20px; }
    .jr-co-actions { margin-top: 24px; }
    .jr-co-btn {
        flex: 1 1 100%;
        padding: 13px 20px;
        font-size: 14px;
    }
}
