/*
Theme Name: Labour Civic Starter
Theme URI: https://example.com/labour-civic-starter
Author: Charter Digital / Generated Starter Theme
Author URI: https://www.charter.digital/
Description: An original WordPress starter theme for UK Labour-style MP, councillor, candidate and CLP websites. It is inspired by common political campaign website patterns without copying any official Labour Party website, artwork or proprietary layout.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: labour-civic-starter
Tags: blog, news, custom-logo, custom-menu, featured-images, accessibility-ready, editor-style
*/

:root {
  --lc-red: #e4003a;
  --lc-red-dark: #b0002d;
  --lc-navy: #111827;
  --lc-blue: #123c69;
  --lc-cream: #fff7f2;
  --lc-paper: #ffffff;
  --lc-ink: #141414;
  --lc-muted: #5e6470;
  --lc-border: #e6e8ee;
  --lc-radius: 18px;
  --lc-shadow: 0 18px 45px rgba(17, 24, 39, 0.12);
  --lc-width: 1180px;
  --lc-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--lc-ink);
  font-family: var(--lc-font);
  background: #fff;
  line-height: 1.58;
}
a { color: var(--lc-red-dark); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--lc-red); }
img { max-width: 100%; height: auto; display: block; }
.screen-reader-text, .skip-link {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  left: 1rem; top: 1rem; width: auto; height: auto; z-index: 9999;
  background: #fff; color: #000; padding: .75rem 1rem; border: 3px solid var(--lc-red);
}
.lc-container { width: min(var(--lc-width), calc(100% - 32px)); margin-inline: auto; }
.lc-topbar { background: var(--lc-red); color: #fff; font-weight: 700; }
.lc-topbar .lc-container { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: .55rem 0; flex-wrap: wrap; }
.lc-topbar a { color: #fff; text-decoration: none; }
.lc-actions { display: flex; gap: .55rem; flex-wrap: wrap; }
.lc-action { border: 2px solid rgba(255,255,255,.75); border-radius: 999px; padding: .35rem .8rem; }
.lc-header { background: #fff; border-bottom: 1px solid var(--lc-border); position: sticky; top: 0; z-index: 50; }
.admin-bar .lc-header { top: 32px; }
.lc-header-inner { display:flex; align-items:center; justify-content:space-between; gap:1.5rem; padding: 1rem 0; }
.lc-brand { display: flex; gap: .8rem; align-items: center; color: var(--lc-ink); text-decoration: none; min-width: 220px; }
.lc-brand-mark { width: 48px; height: 48px; border-radius: 50%; background: var(--lc-red); color:#fff; display:grid; place-items:center; font-weight:900; letter-spacing:-.04em; }
.lc-brand-title { font-size: clamp(1.1rem, 2vw, 1.45rem); font-weight: 900; line-height: 1.05; }
.lc-brand-tagline { font-size: .9rem; color: var(--lc-muted); font-weight: 650; }
.lc-menu-toggle { display: none; border: 0; background: var(--lc-navy); color: #fff; border-radius: 999px; padding: .7rem 1rem; font-weight: 800; }
.lc-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .35rem; align-items: center; flex-wrap: wrap; }
.lc-nav a { display: block; color: var(--lc-ink); text-decoration: none; font-weight: 800; padding: .65rem .75rem; border-radius: 999px; }
.lc-nav a:hover, .lc-nav .current-menu-item > a { background: var(--lc-cream); color: var(--lc-red-dark); }
.lc-hero { background: linear-gradient(135deg, var(--lc-red) 0%, var(--lc-red-dark) 55%, #7b001e 100%); color:#fff; overflow:hidden; }
.lc-hero-grid { display:grid; grid-template-columns: 1.08fr .92fr; gap: 2rem; align-items:center; padding: clamp(2.5rem, 6vw, 5rem) 0; }
.lc-kicker { text-transform: uppercase; letter-spacing: .12em; font-size:.78rem; font-weight:900; margin-bottom:.7rem; }
.lc-hero h1 { margin:0 0 1rem; font-size: clamp(2.3rem, 6vw, 5.3rem); line-height:.92; letter-spacing:-.06em; max-width: 850px; }
.lc-hero p { font-size: clamp(1.1rem, 2vw, 1.4rem); max-width: 680px; margin:0 0 1.35rem; }
.lc-button-row { display:flex; flex-wrap:wrap; gap:.8rem; }
.lc-button { display:inline-flex; align-items:center; justify-content:center; min-height: 46px; padding:.8rem 1.1rem; border-radius: 999px; background: var(--lc-navy); color:#fff; font-weight:900; text-decoration:none; border:2px solid transparent; }
.lc-button:hover { color:#fff; transform: translateY(-1px); }
.lc-button.is-light { background:#fff; color: var(--lc-red-dark); }
.lc-button.is-outline { background:transparent; border-color:#fff; color:#fff; }
.lc-hero-card { background:#fff; color:var(--lc-ink); border-radius: 28px; padding:1rem; box-shadow: var(--lc-shadow); transform: rotate(1.5deg); }
.lc-hero-card img { width:100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; background: #f2f2f2; }
.lc-hero-caption { padding: 1rem .7rem .4rem; font-weight: 850; color: var(--lc-red-dark); }
.lc-section { padding: clamp(2.4rem, 5vw, 4.8rem) 0; }
.lc-section.is-cream { background: var(--lc-cream); }
.lc-section-title { display:flex; justify-content:space-between; align-items:end; gap:1rem; margin-bottom:1.4rem; }
.lc-section-title h2 { margin:0; font-size: clamp(1.8rem, 3vw, 3rem); line-height:1; letter-spacing:-.04em; }
.lc-intro { font-size: 1.15rem; max-width: 820px; }
.lc-grid { display:grid; gap:1.2rem; }
.lc-grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.lc-grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.lc-card { background:#fff; border:1px solid var(--lc-border); border-radius: var(--lc-radius); overflow:hidden; box-shadow: 0 10px 26px rgba(17,24,39,.07); }
.lc-card-content { padding:1.15rem; }
.lc-card h3 { margin:.2rem 0 .5rem; font-size:1.3rem; line-height:1.12; }
.lc-card a { text-decoration: none; color: var(--lc-ink); }
.lc-card a:hover { color: var(--lc-red-dark); }
.lc-card-meta { color: var(--lc-muted); font-size:.9rem; font-weight:700; }
.lc-card-image { width:100%; aspect-ratio: 16 / 10; object-fit: cover; background:#eceff4; }
.lc-priority { border-top: 7px solid var(--lc-red); }
.lc-contact-panel { background: var(--lc-navy); color:#fff; border-radius: 28px; padding: clamp(1.5rem, 4vw, 3rem); display:grid; grid-template-columns: 1.2fr .8fr; gap:2rem; align-items:center; }
.lc-contact-panel h2 { margin-top:0; font-size: clamp(1.8rem, 4vw, 3.4rem); line-height:1; letter-spacing:-.05em; }
.lc-contact-panel a { color:#fff; }
.lc-form-note { background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.22); border-radius:18px; padding:1rem; }
.lc-page-header { background: var(--lc-cream); border-bottom:1px solid var(--lc-border); padding: clamp(2rem, 5vw, 4rem) 0; }
.lc-page-header h1 { margin:0; font-size: clamp(2.2rem, 5vw, 4rem); line-height:.95; letter-spacing:-.055em; }
.lc-content { width:min(820px, calc(100% - 32px)); margin: clamp(2rem, 5vw, 4rem) auto; }
.lc-content > *:first-child { margin-top:0; }
.lc-footer { background: #10131a; color:#fff; padding: 2.2rem 0 1rem; }
.lc-footer a { color:#fff; }
.lc-footer-grid { display:grid; grid-template-columns: 1fr 1fr 1.2fr; gap:1.5rem; }
.lc-imprint { border-top:1px solid rgba(255,255,255,.18); margin-top:1.5rem; padding-top:1rem; color:#d6d8de; font-size:.9rem; }
.wp-block-button__link { border-radius:999px; font-weight: 850; background: var(--lc-red); }
input, textarea, select { max-width: 100%; border:1px solid var(--lc-border); border-radius:10px; padding:.72rem; font: inherit; }
textarea { min-height: 130px; }
@media (max-width: 900px) {
  .lc-hero-grid, .lc-contact-panel, .lc-footer-grid, .lc-grid.three, .lc-grid.two { grid-template-columns: 1fr; }
  .lc-hero-card { transform:none; }
  .lc-menu-toggle { display:inline-flex; }
  .lc-nav { display:none; width:100%; }
  .lc-nav.is-open { display:block; }
  .lc-header-inner { flex-wrap:wrap; }
  .lc-nav ul { display:block; }
  .lc-nav a { border-radius:12px; }
}
@media (max-width: 782px) { .admin-bar .lc-header { top: 46px; } }

/* Demo page starter layouts */
.lc-demo-header .lc-kicker { color: var(--lc-red-dark); margin-bottom: .8rem; }
.lc-demo-lede { max-width: 780px; margin: 1rem 0 0; font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--lc-muted); font-weight: 650; }
.lc-demo-intro { width: min(900px, 100%); margin: 0 0 2rem; font-size: 1.08rem; }
.lc-demo-card { border-top: 7px solid var(--lc-red); }
.lc-demo-card .lc-card-content { padding: 1.35rem; }
.lc-demo-grid { align-items: stretch; }
.lc-demo-split { display:grid; grid-template-columns: 1fr 1fr; gap:1.2rem; align-items:start; }
.lc-notice { background: var(--lc-cream); border:1px solid var(--lc-border); border-left:7px solid var(--lc-red); padding:1rem 1.2rem; border-radius: 14px; }
@media (max-width: 900px) { .lc-demo-split { grid-template-columns: 1fr; } }
