/*
Theme Name: Danny Britt for Senate
Description: Campaign theme for Danny Britt, NC Senate District 24 (Robeson, Hoke & Scotland). Includes the Election Day vote ticker, sign-up and volunteer forms saved to the dashboard, and an Events manager.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: britt
*/

/* The site design lives in css/styles.css. This file only adds WordPress-specific fixes. */

/* Keep the sticky header below the admin toolbar when you're logged in */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

/* Regular pages and posts (Privacy Policy, news updates, etc.) */
.page-content { max-width: 760px; margin: 0 auto; }
.page-content h1 { margin-bottom: 24px; }
.page-content p, .page-content li { font-size: 1.1rem; line-height: 1.7; }
.page-content img { max-width: 100%; height: auto; }
.page-content a { color: var(--red-700); }
.post-list { list-style: none; padding: 0; }
.post-list li { padding: 20px 0; border-bottom: 1px solid rgba(33, 32, 90, .12); }
.post-list time { display: block; font-size: .95rem; opacity: .75; }
.events-empty { text-align: center; font-size: 1.1rem; }
