.ugrad-spotlight {
    width: 100%;
    text-align: center;
    margin: 2rem 0;
}

.ugrad-spotlight a {
    /* display: block; */
    height: 100%;
    display: flex;
    flex-direction: column;
    /* pointer-events: none; */
    color: #000 !important;
    text-decoration: none !important;
}

.ugrad-spotlight.style-round img {
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 0 .25rem #fff, 0 0 0 .5rem #007176;
    object-fit: cover;
    display: block;
    width: 50%;
    max-width: 200px;
    aspect-ratio: 1 / 1; /* Forces square dimensions */
    margin: .5rem auto calc(50% / -2);
    height: auto;
    position: relative;
    z-index: 2;
}

.ugrad-spotlight.style-round .ugrad-spotlight-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    border: .125rem solid #c7c8ca;
    background-color: #fff;
    padding: 1rem;
    padding-top: calc(50% / 2);
}

.ugrad-spotlight .ugrad-spotlight-info .ugrad-spotlight-title {
    font-weight: 900;
    font-size: clamp(1.25rem, 2.5vw, 1.375rem);
    margin: 2rem 0 1rem;
}

.ugrad-spotlight .style-round .ugrad-spotlight-content {
    margin: 0;
    text-align: left;
}

.ugrad-spotlight .style-round .ugrad-spotlight-content {
	font-size: clamp(1rem, 5vw, 1.125rem) !important;
    font-weight: 700 !important;
}

.ugrad-spotlight-content p {
    color: #000;
}

.ugrad-spotlight.style-round .ugrad-spotlight-content p {
    margin: 0;
    text-align: center;
}

.ugrad-spotlight.style-round .ugrad-spotlight-content :last-child {
    margin-bottom: 1rem;
}

.ugrad-spotlight.style-round .ugrad-spotlight-content p+p {
    margin-top: 1rem;
}

.ugrad-spotlight.style-round .spotlight-button {
    margin-top: auto;
}

.spotlight-button {
    background-color: #fdb515;
    color: #000;
    text-decoration: none;
    font-weight: 700;
    border: 0;
    font-size: .875rem;
    line-height: 1;
    padding: .875rem 1.625rem;
    border-radius: var(--umbc-radius-sm, 4px);
}

.ugrad-spotlight.style-square {
    border: none;
    padding: 0;
    margin: 0;
}

.ugrad-spotlight.style-square a {
    display: block;
}

.ugrad-spotlight.style-square .spotlight-square-wrapper {
    border: .25rem solid #000;
    position: relative;
    max-width: 500px;
}

.ugrad-spotlight.style-square img {
    width: 100%;
    display: block;
}

.ugrad-spotlight.style-square .ugrad-spotlight-title {
    display: block;
    margin: 1rem 0;
    text-align: center;
    width: 100%;
    position: absolute;
    bottom: .5rem;
    color: #fff;
    text-shadow: .125rem .125rem .125rem #000;
    padding: 0 1rem;
    font-size: clamp(0.75rem, 5vw, 1.25rem);
    font-weight: 700;
    z-index: 2;
}

.ugrad-spotlight.style-square .spotlight-square-wrapper::after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 1;
}

.ugrad-spotlight.style-square .spotlight-button {
    margin-top: .5rem;
}

.ugrad-spotlight.style-video {
    border: none;
    padding: 0;
}

.ugrad-spotlight.style-video .ugrad-spotlight-title {
    text-align: center;
    text-decoration: none;

    font-weight: 900;
    font-size: clamp(1.25rem, 2.5vw, 1.375rem);
    margin: 2rem 0 1rem;
}

.ugrad-spotlight.style-video p {
    text-align: left;
}

@media (min-width: 768px) {
    .ugrad-spotlight {
        margin-bottom: 0;
    }
}

/* =============================================================
   Dark Mode — Spotlight Block
   ============================================================= */

/* ── Round style: white card + teal ring ── */
[data-theme="dark"] .ugrad-spotlight.style-round img {
    /* Teal ring stays; swap the inner white gap ring to a dark surface */
    box-shadow: 0 0 0 0.25rem #1e1e1e, 0 0 0 0.5rem #007176;
}

[data-theme="dark"] .ugrad-spotlight.style-round .ugrad-spotlight-info {
    background-color: var(--umbc-surface-card-alt, #232323);
    border-color: var(--umbc-border, #3d3d3d);
}

[data-theme="dark"] .ugrad-spotlight a {
    color: #e0e0e0 !important;
}

[data-theme="dark"] .ugrad-spotlight-content p {
    color: #c0c0c0;
}

/* CTA button: gold + black text — valid pair, no change */

/* ── Square style: full-bleed photo with dark gradient overlay ──
   Already inherently dark. No changes needed.                    */

/* ── Video style: plain text ── */
[data-theme="dark"] .ugrad-spotlight.style-video .ugrad-spotlight-title,
[data-theme="dark"] .ugrad-spotlight.style-video p {
    color: #e0e0e0;
}
