.g3v {
    --g3v-blue: #155f97;
    --g3v-navy: #103c64;
    --g3v-orange: #f47721;
    --g3v-green: #85c441;
    --g3v-ink: #17212b;
    --g3v-muted: #637181;
    --g3v-line: #dfe7ee;
    --g3v-bg: #f6f8fa;
    color: var(--g3v-ink);
    font-family: inherit;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 18px 56px;
}

.g3v * {
    box-sizing: border-box;
}

body.gen3-cares-vote-page h1.entry-title,
body.gen3-cares-vote-page .page-header,
body.gen3-cares-vote-page .wp-block-post-title {
    display: none !important;
}

.g3v a {
    color: var(--g3v-blue);
}

.g3v-admin-test-notice {
    background: #fff8ef;
    border: 1px solid rgba(244, 119, 33, 0.55);
    border-radius: 8px;
    color: var(--g3v-navy);
    font-weight: 800;
    margin: 14px 0;
    padding: 12px 14px;
}

.g3v-hero {
    display: block;
    background: linear-gradient(135deg, var(--g3v-navy), var(--g3v-blue));
    color: #fff;
    padding: clamp(14px, 2.4vw, 22px);
    margin: 12px 0 16px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.g3v-hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -84% 52%;
    height: 150px;
    background: rgba(244, 119, 33, 0.25);
    transform: rotate(-7deg);
}

.g3v-hero__copy,
.g3v-hero__panel {
    position: relative;
    z-index: 1;
}

.g3v-hero-meta {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin: 0 0 8px;
}

.g3v-hero-meta .g3v-kicker {
    margin: 0;
}

.g3v-kicker {
    color: var(--g3v-orange);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.g3v-hero h1,
.g3v-section h2 {
    letter-spacing: 0;
    margin: 0;
}

.g3v-hero h1 {
    color: #fff;
    font-size: clamp(1.75rem, 3.4vw, 2.55rem);
    line-height: 1.04;
    max-width: 640px;
}

.g3v-lede {
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1rem, 1.8vw, 1.16rem);
    line-height: 1.45;
    margin: 9px 0 0;
    max-width: 680px;
}

.g3v-lede strong {
    color: #fff;
}

.g3v-prizes {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 14px;
}

.g3v-prizes span {
    align-items: baseline;
    background: #fff;
    border: 1px solid var(--g3v-line);
    border-radius: 8px;
    display: inline-flex;
    gap: 7px;
    padding: 14px;
}

.g3v-prizes strong {
    color: var(--g3v-orange);
    font-size: 1.42rem;
}

.g3v-hero__panel {
    align-self: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    display: grid;
    gap: 4px 12px;
    grid-template-columns: auto auto;
    justify-content: end;
    min-width: 260px;
    padding: 14px 16px;
    text-align: left;
}

.g3v-total {
    display: block;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    grid-row: 1 / 3;
    line-height: 1;
}

.g3v-total-label,
.g3v-countdown {
    color: rgba(255, 255, 255, 0.76);
    display: block;
    font-weight: 700;
}

.g3v-countdown {
    background: rgba(16, 60, 100, 0.54);
    border-radius: 999px;
    font-size: 0.82rem;
    margin-top: 0;
    padding: 5px 9px;
}

.g3v-section {
    background: #fff;
    border: 1px solid var(--g3v-line);
    border-radius: 8px;
    margin: 18px 0;
    padding: clamp(22px, 4vw, 36px);
}

.g3v-section--social {
    background: #f7fbff;
}

.g3v-section--nominate {
    background: #fffaf4;
}

.g3v-section--details {
    background: #f8fafc;
}

.g3v-section.is-revealed {
    animation: g3v-panel-pop 460ms ease;
    box-shadow: 0 16px 34px rgba(16, 60, 100, 0.14);
}

@keyframes g3v-panel-pop {
    from {
        opacity: 0.45;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.g3v-section__head {
    max-width: 720px;
    margin-bottom: 22px;
}

.g3v-section h2 {
    color: var(--g3v-navy);
    font-size: clamp(1.6rem, 3vw, 2.35rem);
    line-height: 1.1;
}

.g3v-section__head p:last-child {
    color: var(--g3v-muted);
    font-size: 1rem;
    line-height: 1.55;
    margin: 10px 0 0;
}

.g3v-details-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.g3v-details-grid h3 {
    color: var(--g3v-navy);
    font-size: 1.08rem;
    margin: 0 0 10px;
}

.g3v-rules {
    color: var(--g3v-muted);
    display: grid;
    gap: 8px;
    line-height: 1.5;
    margin: 0;
    padding-left: 20px;
}

.g3v-org-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.g3v-org-card {
    background: #fff;
    border: 2px solid var(--g3v-line);
    border-radius: 8px;
    cursor: pointer;
    display: grid;
    grid-template-rows: 178px 1fr;
    min-height: 100%;
    overflow: hidden;
    position: relative;
    transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.g3v-org-card:hover,
.g3v-org-card.is-selected {
    border-color: var(--g3v-orange);
    box-shadow: 0 12px 28px rgba(16, 60, 100, 0.12);
    transform: translateY(-2px);
}

.g3v-org-card input {
    position: absolute;
    inset: 14px 14px auto auto;
    width: 22px;
    height: 22px;
    z-index: 2;
}

.g3v-org-card__image {
    background-position: center;
    background-size: cover;
    display: block;
    min-height: 178px;
}

.g3v-org-card__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
}

.g3v-org-card__letter {
    align-items: center;
    background: var(--g3v-orange);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-weight: 900;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.g3v-org-card__tag {
    color: var(--g3v-blue);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.g3v-org-card strong {
    color: var(--g3v-navy);
    font-size: 1.14rem;
    line-height: 1.22;
}

.g3v-org-card span,
.g3v-result small,
.g3v-note {
    color: var(--g3v-muted);
    line-height: 1.48;
}

.g3v-org-card__result {
    align-items: center;
    background: #f6f8fa;
    border: 1px solid var(--g3v-line);
    border-radius: 8px;
    display: grid;
    gap: 4px 10px;
    grid-template-columns: auto 1fr;
    margin-top: auto;
    padding: 11px 12px;
}

.g3v-org-card__result span {
    color: var(--g3v-muted);
    font-size: 0.74rem;
    font-weight: 800;
    grid-column: 1 / -1;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
}

.g3v-org-card__result strong {
    color: var(--g3v-orange);
    font-size: 1.35rem;
    line-height: 1;
}

.g3v-org-card__result em {
    color: var(--g3v-navy);
    font-style: normal;
    font-weight: 800;
    line-height: 1.2;
}

.g3v-org-card__choose {
    align-items: center;
    align-self: start;
    background: var(--g3v-blue);
    border-radius: 6px;
    color: #fff !important;
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 900;
    justify-content: center;
    line-height: 1.2;
    min-height: 42px;
    text-align: center;
    padding: 10px 14px;
}

.g3v-org-card.is-selected .g3v-org-card__choose {
    background: var(--g3v-orange);
}

.g3v-vote-prompt {
    align-items: center;
    background: #fffaf4;
    border: 1px dashed rgba(244, 119, 33, 0.48);
    border-radius: 8px;
    color: var(--g3v-navy);
    display: flex;
    flex-wrap: wrap;
    gap: 7px 12px;
    margin-top: 18px;
    padding: 16px 18px;
}

.g3v-vote-prompt[hidden] {
    display: none;
}

.g3v-vote-prompt strong {
    color: var(--g3v-navy);
}

.g3v-vote-prompt span {
    color: var(--g3v-muted);
}

.g3v-vote-box {
    align-items: stretch;
    background: #fffaf4;
    border: 2px solid rgba(244, 119, 33, 0.38);
    border-radius: 8px;
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
    margin-top: 18px;
    padding: clamp(18px, 3vw, 24px);
    scroll-margin-top: 24px;
}

.g3v-vote-box--inline {
    box-shadow: 0 14px 30px rgba(16, 60, 100, 0.16);
    grid-column: 1 / -1;
    margin-bottom: 16px;
    margin-top: 0;
}

.g3v-vote-box[hidden] {
    display: none;
}

.g3v-vote-box__header {
    align-items: start;
    display: flex;
    gap: 14px;
}

.g3v-vote-box__header strong {
    color: var(--g3v-navy);
    display: block;
    font-size: 1.22rem;
    line-height: 1.2;
}

.g3v-vote-box__header p {
    color: var(--g3v-muted);
    line-height: 1.5;
    margin: 5px 0 0;
}

.g3v-vote-box__header p span {
    color: var(--g3v-navy);
    font-weight: 900;
}

.g3v-step-pill {
    background: var(--g3v-orange);
    border-radius: 999px;
    color: #fff;
    flex: 0 0 auto;
    font-size: 0.78rem;
    font-weight: 900;
    padding: 7px 10px;
}

.g3v-optional-fields,
.g3v-required-fields {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.g3v label {
    color: var(--g3v-navy);
    display: grid;
    font-size: 0.88rem;
    font-weight: 800;
    gap: 6px;
}

.g3v label span {
    color: var(--g3v-muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.g3v label .g3v-field-required {
    color: var(--g3v-orange);
}

.g3v input,
.g3v select,
.g3v textarea {
    background: #fff;
    border: 1px solid #cdd8e2;
    border-radius: 6px;
    color: var(--g3v-ink);
    font: inherit;
    padding: 11px 12px;
    width: 100%;
}

.g3v-org-card input[type="radio"] {
    accent-color: var(--g3v-orange);
    height: 22px;
    width: 22px;
}

.g3v-vote-submit-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
}

.g3v-vote-submit-row .g3v-button {
    font-size: 1.05rem;
    min-width: 240px;
}

.g3v-vote-submit-row .g3v-note {
    flex: 1 1 260px;
}

.g3v-button {
    appearance: none;
    background: var(--g3v-navy);
    border: 0;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 900;
    min-height: 46px;
    padding: 12px 18px;
    text-align: center;
}

.g3v-button--primary {
    background: var(--g3v-orange);
}

.g3v-button:disabled {
    cursor: not-allowed;
    opacity: 0.65;
}

.g3v-message {
    background: #eef5fb;
    border-left: 4px solid var(--g3v-blue);
    border-radius: 6px;
    color: var(--g3v-navy);
    grid-column: 1 / -1;
    padding: 12px 14px;
}

.g3v-message--success {
    background: #f1f8e9;
    border-color: var(--g3v-green);
}

.g3v-message--error {
    background: #fff2ef;
    border-color: #d6452f;
}

.g3v-note {
    font-size: 0.86rem;
    grid-column: 1 / -1;
    margin: 0;
}

.g3v-section--social[hidden],
.g3v-section--nominate[hidden] {
    display: none;
}

.g3v-social-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.g3v-social-link {
    align-items: center;
    background: #fff;
    border: 1px solid var(--g3v-line);
    border-radius: 8px;
    color: var(--g3v-navy);
    display: grid;
    gap: 2px 10px;
    grid-template-columns: 34px minmax(0, 1fr);
    min-height: 0;
    padding: 10px 12px;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.g3v-social-link:hover {
    box-shadow: 0 10px 24px rgba(16, 60, 100, 0.1);
    transform: translateY(-2px);
}

.g3v-social-logo {
    align-items: center;
    background: var(--g3v-blue);
    border-radius: 6px;
    color: #fff !important;
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 900;
    grid-row: 1 / 3;
    height: 32px;
    justify-content: center;
    line-height: 1;
    min-width: 34px;
    width: 34px;
}

.g3v-social-link--facebook .g3v-social-logo {
    background: #1877f2;
}

.g3v-social-link--instagram .g3v-social-logo {
    background: #c13584;
}

.g3v-social-link--linkedin .g3v-social-logo {
    background: #0a66c2;
}

.g3v-social-link--x .g3v-social-logo {
    background: #111;
}

.g3v-social-link--tiktok .g3v-social-logo {
    background: #00a6a6;
}

.g3v-social-name {
    color: var(--g3v-muted);
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 1;
}

.g3v-social-link strong {
    align-self: end;
    color: inherit;
    font-size: 0.88rem;
    line-height: 1.15;
}

.g3v-results {
    display: grid;
    gap: 13px;
}

.g3v-result {
    align-items: center;
    border: 1px solid var(--g3v-line);
    border-radius: 8px;
    display: grid;
    gap: 14px;
    grid-template-columns: 54px 1fr;
    padding: 14px;
}

.g3v-result__rank {
    align-items: center;
    background: var(--g3v-bg);
    border-radius: 8px;
    color: var(--g3v-orange);
    display: flex;
    font-size: 1.08rem;
    font-weight: 900;
    height: 54px;
    justify-content: center;
}

.g3v-result__topline {
    align-items: baseline;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.g3v-result__topline strong {
    color: var(--g3v-navy);
    font-size: 1rem;
}

.g3v-result__topline span {
    color: var(--g3v-muted);
    white-space: nowrap;
}

.g3v-result__bar {
    background: #e9eef3;
    border-radius: 999px;
    height: 12px;
    margin: 8px 0;
    overflow: hidden;
}

.g3v-result__bar span {
    background: linear-gradient(90deg, var(--g3v-orange), var(--g3v-green));
    border-radius: inherit;
    display: block;
    height: 100%;
    min-width: 0;
    transition: width 240ms ease;
}

.g3v-nominate-form {
    display: grid;
    gap: 14px;
}

.g3v-nomination-picker {
    display: grid;
    gap: 12px;
}

.g3v-add-nomination-button {
    align-items: center;
    background: var(--g3v-orange);
    border: 0;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    display: flex;
    font: inherit;
    font-weight: 800;
    justify-content: center;
    min-height: 50px;
    padding: 12px 16px;
    text-align: center;
}

.g3v-add-nomination-button::before {
    content: "+";
    font-size: 1.35em;
    line-height: 1;
    margin-right: 8px;
}

.g3v-add-nomination-button:hover,
.g3v-add-nomination-button.is-selected {
    background: #d95f0e;
}

.g3v-option-add {
    background: var(--g3v-orange);
    color: #fff;
    font-weight: 800;
}

.g3v-new-nomination-fields {
    display: grid;
    gap: 14px;
}

.g3v-new-nomination-fields[hidden] {
    display: none;
}

.g3v-nomination-contact-fields {
    margin-top: 2px;
}

.g3v-standalone {
    padding-top: 18px;
}

.g3v-empty {
    background: var(--g3v-bg);
    border: 1px solid var(--g3v-line);
    border-radius: 8px;
    color: var(--g3v-muted);
    margin: 0;
    padding: 16px;
}

.g3v-winners {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.g3v-winner {
    border: 1px solid var(--g3v-line);
    border-radius: 8px;
    display: grid;
    gap: 6px;
    padding: 16px;
}

.g3v-winner span,
.g3v-winner em {
    color: var(--g3v-muted);
}

.g3v-winner strong {
    color: var(--g3v-navy);
}

@media (max-width: 900px) {
    .g3v-hero,
    .g3v-vote-box {
        grid-template-columns: 1fr;
    }

    .g3v-hero__panel {
        justify-content: start;
        max-width: 360px;
        min-width: 0;
    }

    .g3v-social-grid,
    .g3v-details-grid,
    .g3v-winners {
        grid-template-columns: 1fr;
    }

    .g3v-org-grid {
        gap: 12px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .g3v {
        padding-inline: 6px;
    }

    .g3v-hero,
    .g3v-section {
        border-radius: 0;
        margin-left: -6px;
        margin-right: -6px;
    }

    .g3v-section {
        padding: 18px 8px;
    }

    .g3v-section__head {
        margin-bottom: 14px;
    }

    .g3v-section h2 {
        font-size: 1.34rem;
    }

    .g3v-hero {
        padding: 14px 12px;
    }

    .g3v-hero h1 {
        font-size: 1.72rem;
    }

    .g3v-lede {
        font-size: 0.96rem;
        margin-top: 8px;
    }

    .g3v-social-link {
        padding: 9px 10px;
    }

    .g3v-section__head p:last-child {
        font-size: 0.92rem;
    }

    .g3v-prizes {
        gap: 8px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .g3v-prizes span {
        display: grid;
        font-size: 0.78rem;
        gap: 2px;
        padding: 10px 8px;
    }

    .g3v-prizes strong {
        font-size: 1.12rem;
    }

    .g3v-org-grid {
        gap: 7px;
    }

    .g3v-org-card {
        border-width: 1px;
        grid-template-rows: 86px 1fr;
    }

    .g3v-org-card:hover,
    .g3v-org-card.is-selected {
        transform: none;
    }

    .g3v-org-card input {
        height: 18px;
        inset: 7px 7px auto auto;
        width: 18px;
    }

    .g3v-org-card__image {
        background-color: #fff;
        background-repeat: no-repeat;
        background-size: contain;
        min-height: 86px;
    }

    .g3v-org-card__body {
        gap: 6px;
        padding: 8px;
    }

    .g3v-org-card__letter {
        font-size: 0.72rem;
        height: 26px;
        width: 26px;
    }

    .g3v-org-card__tag {
        font-size: 0.62rem;
        line-height: 1.15;
    }

    .g3v-org-card strong {
        font-size: 0.83rem;
        line-height: 1.12;
        overflow-wrap: anywhere;
    }

    .g3v-org-card__body > span:not(.g3v-org-card__letter):not(.g3v-org-card__tag):not(.g3v-org-card__result):not(.g3v-org-card__choose),
    .g3v-org-card__body > a {
        display: none;
    }

    .g3v-org-card__result {
        gap: 2px;
        grid-template-columns: 1fr;
        padding: 6px;
    }

    .g3v-org-card__result span {
        display: none;
    }

    .g3v-org-card__result strong {
        font-size: 1rem;
    }

    .g3v-org-card__result em {
        font-size: 0.68rem;
    }

    .g3v-org-card__choose {
        align-self: stretch;
        font-size: 0.72rem;
        min-height: 34px;
        padding: 8px 5px;
        width: 100%;
    }

    .g3v-vote-box {
        margin-top: 12px;
        padding: 14px;
    }

    .g3v-optional-fields,
    .g3v-required-fields,
    .g3v-result__topline {
        display: grid;
        grid-template-columns: 1fr;
    }

    .g3v-vote-box__header {
        display: grid;
    }

    .g3v-vote-submit-row .g3v-button {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .g3v-hero {
        padding: 13px 10px;
    }

    .g3v-countdown {
        width: fit-content;
    }

    .g3v-org-grid {
        gap: 5px;
    }

    .g3v-org-card {
        grid-template-rows: 72px 1fr;
    }

    .g3v-org-card__image {
        min-height: 72px;
    }

    .g3v-org-card__body {
        padding: 7px 6px;
    }

    .g3v-org-card__tag {
        display: none;
    }

    .g3v-org-card strong {
        font-size: 0.74rem;
    }

    .g3v-org-card__choose {
        font-size: 0.66rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .g3v-section.is-revealed {
        animation: none;
    }
}
@media (min-width: 621px) {
    .g3v-org-card {
        grid-template-rows: auto 1fr;
    }

    .g3v-org-card__image {
        aspect-ratio: 16 / 9;
        background-color: #fff;
        background-repeat: no-repeat;
        background-size: contain;
        min-height: 0;
    }
}
