/*
 * Custom overrides for hugo-story theme.
 * Loaded after main.css in head.html.
 */

/*
 * Fix: on mobile portrait, the theme sets text-align: center !important
 * on .spotlight sections (_spotlight.scss ~line 303), which centers all
 * text including paragraphs and lists. Override to keep body text left-aligned
 * for readability, while preserving centered titles.
 * Affects CFP, context, and any other spotlight sections.
 */
.spotlight .content p,
.spotlight .content ul,
.spotlight .content ol {
    text-align: left !important;
}

/*
 * Fix: the gallery caption overlay uses overlay-opacity: 0.5 from
 * _vars.scss, making white text hard to read on bright speaker photos.
 * Bumped to 0.75 for better contrast.
 */
.gallery.style1 article .caption,
.gallery.style2 article .caption {
    background-color: rgba(0, 0, 0, 0.75);
}
