/* Radio Calico Monthly Goal — intentionally inherits the site's typography. */
.rcmg-wrap {
    --rcmg-green: #2f6d58;
    --rcmg-green-dark: #245744;
    --rcmg-mint: #d8efcf;
    --rcmg-mint-soft: #f3faef;
    --rcmg-teal: #4b9498;
    --rcmg-orange: #f2a33a;
    --rcmg-orange-soft: #fff2df;
    --rcmg-ink: #302c2a;
    --rcmg-muted: #6e716d;
    --rcmg-line: rgba(47, 109, 88, 0.20);
    --rcmg-shadow: 0 14px 34px rgba(35, 67, 55, 0.13);

    width: 100%;
    max-width: 1040px;
    margin: 34px auto;
    padding: 0;
    font-family: inherit;
    color: var(--rcmg-ink);
}

.rcmg-card {
    position: relative;
    overflow: hidden;
    padding: 28px 30px 24px;
    border: 1px solid var(--rcmg-line);
    border-left: 6px solid var(--rcmg-green);
    border-radius: 16px;
    background:
        radial-gradient(circle at 94% 12%, rgba(242, 163, 58, 0.14) 0, rgba(242, 163, 58, 0) 24%),
        radial-gradient(circle at 8% 88%, rgba(75, 148, 152, 0.11) 0, rgba(75, 148, 152, 0) 28%),
        linear-gradient(135deg, var(--rcmg-mint-soft) 0%, #ffffff 52%, #fffaf3 100%);
    box-shadow: var(--rcmg-shadow);
}

.rcmg-card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 88px;
    height: 7px;
    background: linear-gradient(90deg, var(--rcmg-orange), var(--rcmg-teal), var(--rcmg-green));
    border-radius: 0 16px 0 10px;
}

.rcmg-topline,
.rcmg-numbers,
.rcmg-bottomline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.rcmg-topline {
    margin-bottom: 16px;
}

.rcmg-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--rcmg-green);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.075em;
    white-space: nowrap;
}

.rcmg-live-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: var(--rcmg-orange);
    box-shadow: 0 0 0 0 rgba(242, 163, 58, 0.60);
    animation: rcmg-pulse 2.2s ease-out infinite;
}

.rcmg-adfree {
    color: var(--rcmg-green-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.055em;
    text-align: right;
}

.rcmg-copy h3 {
    margin: 0 0 7px;
    color: var(--rcmg-ink);
    font-family: inherit;
    font-size: clamp(24px, 3.1vw, 34px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.rcmg-copy p {
    max-width: 780px;
    margin: 0 0 22px;
    color: var(--rcmg-muted);
    font-family: inherit;
    font-size: 15px;
    line-height: 1.6;
}

.rcmg-numbers {
    align-items: flex-end;
    margin-bottom: 11px;
}

.rcmg-raised {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
}

.rcmg-big-number {
    color: var(--rcmg-green-dark);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.035em;
}

.rcmg-number-label {
    color: var(--rcmg-muted);
    font-size: 13px;
    font-weight: 600;
}

.rcmg-goal-number {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--rcmg-muted);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.rcmg-goal-number strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    padding: 6px 9px;
    border: 1px solid rgba(242, 163, 58, 0.42);
    border-radius: 9px;
    background: var(--rcmg-orange-soft);
    color: #7f4c08;
    font-size: 14px;
    font-weight: 800;
}

.rcmg-progress {
    position: relative;
    height: 18px;
    overflow: hidden;
    border: 1px solid rgba(47, 109, 88, 0.16);
    border-radius: 999px;
    background: rgba(216, 239, 207, 0.72);
    box-shadow: inset 0 1px 2px rgba(34, 68, 54, 0.09);
}

.rcmg-progress-fill {
    position: relative;
    display: block;
    height: 100%;
    min-width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--rcmg-teal) 0%, var(--rcmg-green) 48%, var(--rcmg-orange) 100%);
    transition: width 650ms ease;
}

.rcmg-progress-fill::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-120%);
    background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,0.30) 48%, transparent 74%);
    animation: rcmg-shimmer 4.8s ease-in-out infinite;
}

.rcmg-bottomline {
    margin-top: 17px;
}

.rcmg-status {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--rcmg-green-dark);
    font-size: 14px;
    font-weight: 700;
}

.rcmg-check {
    display: inline-flex;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--rcmg-green);
    color: #fff;
    font-size: 13px;
}

.rcmg-button,
.rcmg-button:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border: 2px solid var(--rcmg-green-dark);
    border-radius: 8px;
    background: var(--rcmg-green-dark);
    color: #fff !important;
    text-decoration: none !important;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.025em;
    box-shadow: 0 6px 14px rgba(36, 87, 68, 0.18);
    transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.rcmg-button:hover,
.rcmg-button:focus {
    transform: translateY(-1px);
    border-color: var(--rcmg-orange);
    background: var(--rcmg-orange);
    color: var(--rcmg-ink) !important;
    box-shadow: 0 8px 18px rgba(93, 74, 39, 0.18);
}

.rcmg-button:focus-visible {
    outline: 3px solid rgba(75, 148, 152, 0.40);
    outline-offset: 3px;
}

.rcmg-footnote {
    margin-top: 14px;
    padding-top: 13px;
    border-top: 1px solid rgba(47, 109, 88, 0.12);
    color: #7a7b77;
    font-size: 11.5px;
    line-height: 1.5;
}

.rcmg-goal-met .rcmg-progress-fill {
    background: linear-gradient(90deg, var(--rcmg-teal), var(--rcmg-green), var(--rcmg-orange));
}

.rcmg-config-warning {
    max-width: 900px;
    margin: 24px auto;
    padding: 14px 16px;
    border-left: 4px solid #dba617;
    background: #fff8dc;
    color: #4e441f;
    font-family: inherit;
}

@keyframes rcmg-pulse {
    0% { box-shadow: 0 0 0 0 rgba(242, 163, 58, 0.58); }
    65% { box-shadow: 0 0 0 8px rgba(242, 163, 58, 0); }
    100% { box-shadow: 0 0 0 0 rgba(242, 163, 58, 0); }
}

@keyframes rcmg-shimmer {
    0%, 58% { transform: translateX(-120%); }
    82%, 100% { transform: translateX(120%); }
}

@media (max-width: 720px) {
    .rcmg-wrap {
        margin: 24px auto;
    }

    .rcmg-card {
        padding: 22px 20px 20px;
        border-left-width: 5px;
        border-radius: 13px;
    }

    .rcmg-topline,
    .rcmg-numbers,
    .rcmg-bottomline {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .rcmg-adfree {
        text-align: left;
    }

    .rcmg-copy h3 {
        font-size: 26px;
    }

    .rcmg-copy p {
        margin-bottom: 19px;
    }

    .rcmg-goal-number {
        width: 100%;
        justify-content: space-between;
    }

    .rcmg-bottomline {
        margin-top: 15px;
    }

    .rcmg-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rcmg-live-dot,
    .rcmg-progress-fill::after {
        animation: none;
    }

    .rcmg-progress-fill,
    .rcmg-button {
        transition: none;
    }
}

/* Calico Club signup ------------------------------------------------------- */
.rcmg-club-wrap {
    --rcmg-green: #2f6d58;
    --rcmg-green-dark: #245744;
    --rcmg-mint: #d8efcf;
    --rcmg-mint-soft: #f3faef;
    --rcmg-teal: #4b9498;
    --rcmg-orange: #f2a33a;
    --rcmg-orange-soft: #fff2df;
    --rcmg-ink: #302c2a;
    --rcmg-muted: #6e716d;
    --rcmg-line: rgba(47, 109, 88, 0.20);
    --rcmg-shadow: 0 12px 30px rgba(35, 67, 55, 0.11);

    width: 100%;
    max-width: 1040px;
    margin: 34px auto;
    color: var(--rcmg-ink);
    font-family: inherit;
}

.rcmg-club-card {
    position: relative;
    overflow: hidden;
    padding: 25px 28px 23px;
    border: 1px solid var(--rcmg-line);
    border-radius: 16px;
    background:
        radial-gradient(circle at 92% 12%, rgba(242, 163, 58, 0.13) 0, rgba(242, 163, 58, 0) 25%),
        radial-gradient(circle at 7% 90%, rgba(75, 148, 152, 0.10) 0, rgba(75, 148, 152, 0) 30%),
        linear-gradient(135deg, #ffffff 0%, var(--rcmg-mint-soft) 100%);
    box-shadow: var(--rcmg-shadow);
}

.rcmg-club-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: var(--rcmg-teal);
}

.rcmg-club-card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 88px;
    height: 7px;
    background: linear-gradient(90deg, var(--rcmg-orange), var(--rcmg-teal), var(--rcmg-green));
    border-radius: 0 16px 0 10px;
}

.rcmg-club-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 11px;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--rcmg-teal);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.075em;
}

.rcmg-club-content {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
    gap: 28px;
    align-items: center;
}

.rcmg-club-copy h3 {
    margin: 0 0 7px;
    color: var(--rcmg-ink);
    font-family: inherit;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.rcmg-club-copy p {
    max-width: 660px;
    margin: 0;
    color: var(--rcmg-muted);
    font-family: inherit;
    font-size: 15px;
    line-height: 1.55;
}

.rcmg-club-form {
    margin: 0;
}

.rcmg-club-fields {
    display: flex;
    gap: 9px;
    align-items: stretch;
}

.rcmg-club-email {
    min-width: 0;
    width: 100%;
    height: 48px;
    margin: 0 !important;
    padding: 0 14px !important;
    border: 1px solid rgba(47, 109, 88, 0.30) !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: var(--rcmg-ink) !important;
    font: inherit !important;
    font-size: 14px !important;
    box-shadow: inset 0 1px 2px rgba(35, 67, 55, 0.06) !important;
    transition: border-color 140ms ease, box-shadow 140ms ease;
}

.rcmg-club-email::placeholder {
    color: #979b96;
    opacity: 1;
}

.rcmg-club-email:focus {
    outline: none !important;
    border-color: var(--rcmg-teal) !important;
    box-shadow: 0 0 0 3px rgba(75, 148, 152, 0.16) !important;
}

.rcmg-club-button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin: 0 !important;
    padding: 11px 18px !important;
    border: 2px solid var(--rcmg-green-dark) !important;
    border-radius: 8px !important;
    background: var(--rcmg-green-dark) !important;
    color: #fff !important;
    font: inherit !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.02em;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(36, 87, 68, 0.18);
    transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.rcmg-club-button:hover,
.rcmg-club-button:focus {
    transform: translateY(-1px);
    border-color: var(--rcmg-orange) !important;
    background: var(--rcmg-orange) !important;
    color: var(--rcmg-ink) !important;
    box-shadow: 0 8px 18px rgba(93, 74, 39, 0.18);
}

.rcmg-club-button:focus-visible {
    outline: 3px solid rgba(75, 148, 152, 0.40);
    outline-offset: 3px;
}

.rcmg-club-button:disabled {
    cursor: wait;
    opacity: 0.66;
    transform: none;
}

.rcmg-club-status {
    min-height: 1.5em;
    margin-top: 9px;
    color: var(--rcmg-green-dark);
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.45;
}

.rcmg-club-status.is-error {
    color: #9c332f;
}

.rcmg-club-status.is-success {
    color: var(--rcmg-green-dark);
}

.rcmg-club-note {
    margin-top: 2px;
    color: #7a7b77;
    font-size: 11.5px;
    line-height: 1.4;
}

.rcmg-club-hp {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

.rcmg-club-form.is-complete .rcmg-club-fields {
    opacity: 0.58;
}

@media (max-width: 800px) {
    .rcmg-club-content {
        grid-template-columns: 1fr;
        gap: 19px;
    }
}

@media (max-width: 520px) {
    .rcmg-club-wrap {
        margin: 24px auto;
    }

    .rcmg-club-card {
        padding: 22px 20px 20px;
        border-radius: 13px;
    }

    .rcmg-club-card::before {
        width: 5px;
    }

    .rcmg-club-copy h3 {
        font-size: 26px;
    }

    .rcmg-club-fields {
        flex-direction: column;
    }

    .rcmg-club-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rcmg-club-email,
    .rcmg-club-button {
        transition: none;
    }
}
