/* =========================================================
   VOTE SMART KE
   CANDIDATE — EDUCATION & PROFESSIONAL BACKGROUND
   ========================================================= */

.vsk-background {
    padding: 70px 0;
    background: #f8fafc;
    scroll-margin-top: 90px;
}


/* =========================================================
   SECTION HEADER
   ========================================================= */

.vsk-background .background-header {
    max-width: 780px;
    margin-bottom: 32px;
}

.vsk-background .section-kicker {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 12px;
    padding: 6px 11px;
    border-radius: 999px;
    background: #e7f0ff;
    color: #2459d6;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vsk-background .section-title {
    margin: 0 0 10px;
    color: #0b2347;
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.2;
    font-weight: 800;
}

.vsk-background .section-subtitle {
    max-width: 720px;
    margin: 0;
    color: #526174;
    font-size: 16px;
    line-height: 1.7;
}


/* =========================================================
   BACKGROUND GRID
   ========================================================= */

.vsk-background .background-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}


/* =========================================================
   BACKGROUND CARDS
   ========================================================= */

.vsk-background .background-card {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    align-items: start;
    gap: 17px;
    min-width: 0;
    padding: 25px;
    border: 1px solid #dfe7f1;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 35, 71, 0.05);
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.vsk-background .background-card:hover {
    transform: translateY(-2px);
    border-color: #c8d8ee;
    box-shadow: 0 12px 30px rgba(15, 35, 71, 0.08);
}


/*
 * If the number of cards is odd, allow the final card
 * to use the full available width.
 */

.vsk-background .background-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}


/* =========================================================
   CARD ICON
   ========================================================= */

.vsk-background .background-card-icon {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    flex-shrink: 0;
    border-radius: 13px;
    background: #eef4ff;
    font-size: 22px;
    line-height: 1;
}


/* Individual card accents */

.vsk-background .background-education .background-card-icon {
    background: #eef4ff;
}

.vsk-background .background-professional .background-card-icon {
    background: #fff4e5;
}

.vsk-background .background-leadership .background-card-icon {
    background: #f1edff;
}

.vsk-background .background-community .background-card-icon {
    background: #eaf8ef;
}

.vsk-background .background-recognition .background-card-icon {
    background: #fff8dc;
}

.vsk-background .background-memberships .background-card-icon {
    background: #edf7f8;
}


/* =========================================================
   CARD CONTENT
   ========================================================= */

.vsk-background .background-card-content {
    min-width: 0;
}

.vsk-background .background-eyebrow {
    display: block;
    margin-bottom: 5px;
    color: #64748b;
    font-size: 10px;
    line-height: 1.4;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vsk-background .background-card h3 {
    margin: 0 0 11px;
    color: #0b2347;
    font-size: 19px;
    line-height: 1.35;
    font-weight: 800;
}

.vsk-background .background-text {
    color: #465569;
    font-size: 15px;
    line-height: 1.72;
    overflow-wrap: anywhere;
}

.vsk-background .background-text p {
    margin: 0 0 12px;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}

.vsk-background .background-text p:last-child {
    margin-bottom: 0;
}

.vsk-background .background-text ul,
.vsk-background .background-text ol {
    margin: 8px 0 0;
    padding-left: 20px;
}

.vsk-background .background-text li {
    margin-bottom: 7px;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}

.vsk-background .background-text li:last-child {
    margin-bottom: 0;
}

.vsk-background .background-text a {
    color: #2459d6;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.vsk-background .background-text a:hover,
.vsk-background .background-text a:focus-visible {
    color: #0b2347;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .vsk-background {
        padding: 54px 0;
    }

    .vsk-background .background-grid {
        grid-template-columns: 1fr;
    }

    .vsk-background .background-card:last-child:nth-child(odd) {
        grid-column: auto;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .vsk-background {
        padding: 42px 0;
    }

    .vsk-background .background-header {
        margin-bottom: 24px;
    }

    .vsk-background .section-title {
        font-size: 27px;
    }

    .vsk-background .section-subtitle {
        font-size: 15px;
    }

    .vsk-background .background-card {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 13px;
        padding: 19px 17px;
        border-radius: 14px;
    }

    .vsk-background .background-card-icon {
        width: 42px;
        height: 42px;
        border-radius: 11px;
        font-size: 19px;
    }

    .vsk-background .background-card h3 {
        font-size: 17px;
    }

    .vsk-background .background-text {
        font-size: 14px;
        line-height: 1.68;
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .vsk-background .background-card {
        transition: none;
    }

    .vsk-background .background-card:hover {
        transform: none;
    }

}

/* =========================================================
   VSKE SVG ICONS — BACKGROUND CARDS
========================================================= */

.vsk-background .background-card-icon {
	display: flex !important;
	flex: 0 0 46px !important;
	align-items: center !important;
	justify-content: center !important;
	width: 46px !important;
	height: 46px !important;
	min-width: 46px !important;
	min-height: 46px !important;
	max-width: 46px !important;
	max-height: 46px !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
}

.vsk-background .background-card-icon svg,
.vsk-background .background-card-icon svg.vske-icon {
	display: block !important;
	flex: 0 0 23px !important;
	width: 23px !important;
	height: 23px !important;
	min-width: 23px !important;
	min-height: 23px !important;
	max-width: 23px !important;
	max-height: 23px !important;
	margin: 0 !important;
	padding: 0 !important;
}


/* Education */

.vsk-background .background-education .background-card-icon {
	background: #e5edff;
	color: #2563eb;
}


/* Professional experience */

.vsk-background .background-professional .background-card-icon {
	background: #dff7f2;
	color: #0f766e;
}


/* Leadership */

.vsk-background .background-leadership .background-card-icon {
	background: #e7ecff;
	color: #4338ca;
}


/* Community */

.vsk-background .background-community .background-card-icon {
	background: #dcfce7;
	color: #15803d;
}


/* Recognition */

.vsk-background .background-recognition .background-card-icon {
	background: #fff0c7;
	color: #b76e00;
}


/* Memberships */

.vsk-background .background-memberships .background-card-icon {
	background: #e6f6fb;
	color: #036987;
}


/* Mobile */

@media screen and (max-width: 767px) {

	.vsk-background .background-card-icon {
		flex-basis: 42px !important;
		width: 42px !important;
		height: 42px !important;
		min-width: 42px !important;
		min-height: 42px !important;
		max-width: 42px !important;
		max-height: 42px !important;
	}

	.vsk-background .background-card-icon svg,
	.vsk-background .background-card-icon svg.vske-icon {
		width: 21px !important;
		height: 21px !important;
		min-width: 21px !important;
		min-height: 21px !important;
		max-width: 21px !important;
		max-height: 21px !important;
	}

}