/* ── CQ Pride Augusta — Public Theme ───────────────────────────────────────── */

:root {
  --color-primary:      #0E1B3A;   /* deep navy */
  --color-primary-mid:  #1A3A6E;   /* radio blue */
  --color-accent:       #E65100;   /* CQ orange */
  --color-accent-light: #FF8A50;
  --color-text:         #1A1A2E;
  --color-text-muted:   #5A5A7A;
  --color-bg:           #F5F7FF;
  --color-card:         #FFFFFF;
  --color-border:       #DDE2F0;
  --color-success:      #2E7D32;
  --color-error:        #C62828;

  --pride-red:    #E32636;
  --pride-orange: #FF7E00;
  --pride-yellow: #FFED00;
  --pride-green:  #008026;
  --pride-blue:   #004DFF;
  --pride-violet: #750787;

  --radius:   8px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(14,27,58,.08);
  --shadow-md: 0 4px 16px rgba(14,27,58,.13);
  --shadow-lg: 0 8px 32px rgba(14,27,58,.18);
  --trans:     .2s ease;

  --font-sans: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--color-primary-mid); text-decoration: none; }
a:hover { color: var(--color-accent); text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

h1,h2,h3,h4,h5,h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-primary);
}

/* ── Pride rainbow stripe ─────────────────────────────────────────────────── */
.pride-stripe {
  height: 5px;
  background: linear-gradient(to right,
    var(--pride-red)    0%  16.66%,
    var(--pride-orange) 16.66% 33.33%,
    var(--pride-yellow) 33.33% 50%,
    var(--pride-green)  50%   66.66%,
    var(--pride-blue)   66.66% 83.33%,
    var(--pride-violet) 83.33% 100%
  );
}

/* ── Header ───────────────────────────────────────────────────────────────── */
.site-header {
  background: var(--color-primary);
  position: relative;
}
.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 80px;
}
.site-header-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.site-header-logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
}
.site-header-name {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.15;
}
.site-header-name small {
  display: block;
  font-size: .75rem;
  font-weight: 400;
  opacity: .75;
  letter-spacing: .03em;
}
/* Banner-style header (when a full-width banner image is uploaded) */
.site-header-banner-wrap {
  width: 100%;
  max-height: 260px;
  overflow: hidden;
  line-height: 0;
}
.site-header-banner-wrap img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
}
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid rgba(255,255,255,.4);
  color: #fff;
  font-size: 1.4rem;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
}

/* ── Navigation ───────────────────────────────────────────────────────────── */
.site-nav {
  background: var(--color-primary-mid);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 8px rgba(14,27,58,.3);
}
.site-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 0;
}
.site-nav-inner > a,
.nav-item > a.nav-parent-link {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  color: rgba(255,255,255,.88);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color var(--trans), border-color var(--trans), background var(--trans);
}
.site-nav-inner > a:hover,
.nav-item > a.nav-parent-link:hover {
  color: #fff;
  background: rgba(255,255,255,.1);
  border-bottom-color: var(--color-accent);
}
.site-nav-inner > a.current,
.nav-item.current > a.nav-parent-link {
  color: #fff;
  border-bottom-color: var(--color-accent);
}

/* Dropdown nav */
.nav-item {
  position: relative;
  display: flex;
  align-items: stretch;
}
.nav-dropdown-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,.7);
  padding: 0 10px;
  cursor: pointer;
  font-size: .75rem;
}
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--color-primary);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-md);
  z-index: 300;
}
.nav-item.open .nav-dropdown { display: block; }
.nav-dropdown a {
  display: block;
  padding: 11px 18px;
  color: rgba(255,255,255,.85);
  font-size: .88rem;
  border-left: 3px solid transparent;
  text-decoration: none;
}
.nav-dropdown a:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-left-color: var(--color-accent);
}

/* ── Main content ─────────────────────────────────────────────────────────── */
main#main-content {
  flex: 1;
  padding: 40px 24px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* ── Hero section (home page) ─────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-mid) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(to right,
    var(--pride-red)    0%  16.66%,
    var(--pride-orange) 16.66% 33.33%,
    var(--pride-yellow) 33.33% 50%,
    var(--pride-green)  50%   66.66%,
    var(--pride-blue)   66.66% 83.33%,
    var(--pride-violet) 83.33% 100%
  );
}
.hero-callsign {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: 10px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero p {
  font-size: 1.15rem;
  opacity: .85;
  max-width: 560px;
  margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .02em;
  cursor: pointer;
  transition: all var(--trans);
  text-decoration: none;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--color-accent);
  color: #fff;
}
.btn-primary:hover { background: #BF360C; color: #fff; text-decoration: none; }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,.5);
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; text-decoration: none; border-color: #fff; }
.btn-secondary {
  background: var(--color-primary-mid);
  color: #fff;
}
.btn-secondary:hover { background: var(--color-primary); color: #fff; text-decoration: none; }

/* ── Cards / grid ─────────────────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.card {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: box-shadow var(--trans), transform var(--trans);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 20px; }
.card-meta { font-size: .8rem; color: var(--color-text-muted); margin-bottom: 6px; }
.card-title { font-size: 1.1rem; margin-bottom: 8px; }
.card-title a { color: var(--color-primary); }
.card-title a:hover { color: var(--color-accent); text-decoration: none; }
.card-excerpt { font-size: .9rem; color: var(--color-text-muted); margin-bottom: 14px; }
.read-more {
  font-size: .85rem;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.read-more:hover { text-decoration: none; color: var(--color-primary); }

/* ── Section headings ────────────────────────────────────────────────────── */
.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.section-heading h2 {
  font-size: 1.6rem;
  position: relative;
  padding-bottom: 10px;
}
.section-heading h2::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0; left: 0;
  width: 48px; height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
}
.section-heading .see-all {
  font-size: .85rem;
  font-weight: 600;
  color: var(--color-primary-mid);
  white-space: nowrap;
}

/* ── Repeater list ────────────────────────────────────────────────────────── */
#repeater-map {
  width: 100%;
  height: 480px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  margin-bottom: 32px;
  z-index: 1;
}
.repeater-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  align-items: center;
}
.repeater-filters select,
.repeater-filters input {
  padding: 8px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: .9rem;
  background: #fff;
}
.repeater-table-wrap { overflow-x: auto; }
.repeater-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.repeater-table th {
  background: var(--color-primary);
  color: #fff;
  padding: 12px 14px;
  text-align: left;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  white-space: nowrap;
}
.repeater-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}
.repeater-table tr:hover td { background: #F0F4FF; }
.repeater-table .status-active   { color: var(--color-success); font-weight: 700; }
.repeater-table .status-inactive { color: var(--color-error); }
.repeater-table .status-unknown  { color: var(--color-text-muted); }
.repeater-band-badge {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: .04em;
}
.repeater-mode-badge {
  display: inline-block;
  background: var(--color-primary-mid);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}
.map-locate-btn {
  background: none;
  border: none;
  color: var(--color-primary-mid);
  cursor: pointer;
  font-size: .85rem;
  font-weight: 600;
  padding: 0;
  text-decoration: underline;
}
.map-locate-btn:hover { color: var(--color-accent); }

/* ── Events ──────────────────────────────────────────────────────────────── */
.events-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.cat-filter-btn {
  padding: 7px 16px;
  border-radius: 20px;
  border: 2px solid var(--color-border);
  background: #fff;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--trans);
  color: var(--color-text);
}
.cat-filter-btn.active,
.cat-filter-btn:hover {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
}
.events-list { display: flex; flex-direction: column; gap: 16px; }
.event-card {
  background: var(--color-card);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  display: flex;
  gap: 0;
  overflow: hidden;
  transition: box-shadow var(--trans);
}
.event-card:hover { box-shadow: var(--shadow-md); }
.event-card-date {
  background: var(--color-primary);
  color: #fff;
  min-width: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  text-align: center;
}
.event-card-date .day   { font-size: 2rem; font-weight: 800; line-height: 1; }
.event-card-date .month { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; opacity: .8; }
.event-card-body {
  padding: 16px 20px;
  flex: 1;
}
.event-card-cat {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 2px 8px;
  border-radius: 4px;
  color: #fff;
  margin-bottom: 8px;
}
.event-card-title { font-size: 1.05rem; margin-bottom: 5px; }
.event-card-title a { color: var(--color-primary); }
.event-card-title a:hover { color: var(--color-accent); }
.event-card-meta { font-size: .84rem; color: var(--color-text-muted); }
.event-card-meta span { margin-right: 12px; }

/* ── Blog ─────────────────────────────────────────────────────────────────── */
.blog-hero { margin-bottom: 40px; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.post-full {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}
.post-full h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 12px; }
.post-meta { font-size: .88rem; color: var(--color-text-muted); margin-bottom: 28px; }
.post-meta span { margin-right: 12px; }
.entry-content { line-height: 1.8; }
.entry-content h2,h3,h4 { margin: 28px 0 12px; }
.entry-content p { margin-bottom: 18px; }
.entry-content ul,ol { margin: 0 0 18px 24px; }
.entry-content img { border-radius: var(--radius); margin: 16px 0; }
.entry-content a { color: var(--color-primary-mid); text-decoration: underline; }

/* ── Forms (contact/membership) ──────────────────────────────────────────── */
.form-wrap {
  max-width: 640px;
  margin: 0 auto;
  background: var(--color-card);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}
.form-header { text-align: center; margin-bottom: 32px; }
.form-header h1 { font-size: 1.8rem; margin-bottom: 8px; }
.form-header p { color: var(--color-text-muted); }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: .88rem;
  margin-bottom: 6px;
  color: var(--color-text);
}
.form-group label .req { color: var(--color-accent); margin-left: 2px; }
.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: inherit;
  background: #fff;
  color: var(--color-text);
  transition: border-color var(--trans), box-shadow var(--trans);
}
.form-control:focus {
  outline: none;
  border-color: var(--color-primary-mid);
  box-shadow: 0 0 0 3px rgba(26,58,110,.12);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
.form-check input[type=checkbox] { margin-top: 3px; width: 16px; height: 16px; flex-shrink: 0; }
.form-submit { margin-top: 28px; }
.form-submit .btn { width: 100%; justify-content: center; padding: 14px; font-size: 1rem; }
.form-alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-weight: 600;
}
.form-alert-success { background: #E8F5E9; color: #1B5E20; border: 1px solid #A5D6A7; }
.form-alert-error   { background: #FFEBEE; color: #B71C1C; border: 1px solid #EF9A9A; }

/* ── Page content ─────────────────────────────────────────────────────────── */
.page-wrap {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  max-width: 860px;
  margin: 0 auto;
}
.page-wrap h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 24px; }
.page-content { line-height: 1.8; }
.page-content h2,h3,h4 { margin: 28px 0 12px; }
.page-content p { margin-bottom: 18px; }
.page-content ul,ol { margin: 0 0 18px 24px; }

/* ── Pagination ──────────────────────────────────────────────────────────── */
.pagination { display: flex; gap: 6px; justify-content: center; margin: 40px 0; }
.page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  font-size: .9rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  transition: all var(--trans);
}
.page-link:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.page-link.active { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* ── Upcoming events shortcode ────────────────────────────────────────────── */
.upcoming-events-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ue-item { display: flex; gap: 12px; align-items: flex-start; }
.ue-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; margin-top: 5px; }
.ue-body { flex: 1; }
.ue-title { font-weight: 700; color: var(--color-primary); font-size: .95rem; }
.ue-date  { display: block; font-size: .82rem; color: var(--color-text-muted); margin-top: 2px; }
.ue-loc   { display: block; font-size: .8rem; color: var(--color-text-muted); }

/* ── Home-page feature tiles ─────────────────────────────────────────────── */
.feature-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}
.feature-tile {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--color-border);
  text-align: center;
  transition: box-shadow var(--trans), transform var(--trans);
  text-decoration: none;
  color: var(--color-text);
}
.feature-tile:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); text-decoration: none; }
.feature-tile-icon { font-size: 2.4rem; margin-bottom: 12px; }
.feature-tile h3 { font-size: 1.05rem; margin-bottom: 6px; color: var(--color-primary); }
.feature-tile p { font-size: .88rem; color: var(--color-text-muted); }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--color-primary);
  color: rgba(255,255,255,.8);
  padding: 48px 24px 24px;
  margin-top: auto;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 36px;
  margin-bottom: 36px;
}
.footer-col h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.footer-col p, .footer-col address { font-size: .88rem; line-height: 1.7; font-style: normal; }
.footer-col a { color: rgba(255,255,255,.7); display: block; margin-bottom: 6px; font-size: .88rem; }
.footer-col a:hover { color: var(--color-accent-light); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 20px;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  text-align: center;
}
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: var(--color-accent-light); text-decoration: none; }
.footer-pride {
  height: 4px;
  background: linear-gradient(to right,
    var(--pride-red)    0%  16.66%,
    var(--pride-orange) 16.66% 33.33%,
    var(--pride-yellow) 33.33% 50%,
    var(--pride-green)  50%   66.66%,
    var(--pride-blue)   66.66% 83.33%,
    var(--pride-violet) 83.33% 100%
  );
  margin-top: 24px;
}

/* ── Alert boxes ──────────────────────────────────────────────────────────── */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: .92rem;
}
.alert-success { background: #E8F5E9; color: #1B5E20; border-left: 4px solid #43A047; }
.alert-error   { background: #FFEBEE; color: #B71C1C; border-left: 4px solid #E53935; }
.alert-info    { background: #E3F2FD; color: #0D47A1; border-left: 4px solid #1E88E5; }
.alert-warn    { background: #FFF8E1; color: #E65100; border-left: 4px solid #FB8C00; }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  main#main-content { padding: 24px 16px; }
  .hero { padding: 36px 24px; }
  .site-header-inner { padding: 0 16px; }
  .nav-toggle { display: block; }
  .site-nav-inner {
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    padding: 0 16px;
  }
  .site-nav-inner.open { max-height: 600px; }
  .site-nav-inner > a,
  .nav-item > a.nav-parent-link { padding: 11px 4px; }
  .nav-dropdown { position: static; box-shadow: none; background: rgba(255,255,255,.07); border-radius: 0; }
  .form-row { grid-template-columns: 1fr; }
  .page-wrap { padding: 24px 20px; }
  .repeater-table th, .repeater-table td { padding: 8px 10px; }
  .event-card { flex-direction: column; }
  .event-card-date { flex-direction: row; gap: 8px; padding: 10px 16px; min-width: unset; }
}

@media (max-width: 480px) {
  .card-grid, .blog-grid { grid-template-columns: 1fr; }
  .feature-tiles { grid-template-columns: 1fr 1fr; }
}

/* ── CQ Pride page component styles ─────────────────────────────────────────── */
.cqp-page {
  --cqp-bg: #ffffff;
  --cqp-surface: #f7f8fb;
  --cqp-surface-strong: #eef2ff;
  --cqp-text: #1f2937;
  --cqp-muted: #5b6472;
  --cqp-border: #d9dfeb;
  --cqp-primary: #5b3df5;
  --cqp-primary-dark: #4328c7;
  --cqp-accent: #e94f96;
  --cqp-shadow: 0 10px 30px rgba(20, 28, 45, 0.08);

  background: var(--cqp-bg);
  color: var(--cqp-text);
  padding: 2rem 1rem 4rem;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

.cqp-page * {
  box-sizing: border-box;
}

.cqp-container {
  max-width: 1100px;
  margin: 0 auto;
}

.cqp-breadcrumb {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.cqp-breadcrumb a {
  color: var(--cqp-primary);
  text-decoration: none;
  font-weight: 600;
}

.cqp-breadcrumb a:hover,
.cqp-breadcrumb a:focus {
  text-decoration: underline;
}

.cqp-hero {
  background: linear-gradient(135deg, #f9f6ff 0%, #eef7ff 100%);
  border: 1px solid var(--cqp-border);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--cqp-shadow);
  margin-bottom: 2.5rem;
}

.cqp-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cqp-accent);
}

.cqp-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.15;
  color: #111827;
}

.cqp-lead {
  max-width: 760px;
  font-size: 1.1rem;
  color: var(--cqp-muted);
  margin: 0;
}

.cqp-hero-actions,
.cqp-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.cqp-button {
  display: inline-block;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.cqp-button-primary {
  background: var(--cqp-primary);
  color: #ffffff;
}

.cqp-button-primary:hover,
.cqp-button-primary:focus {
  background: var(--cqp-primary-dark);
}

.cqp-button-secondary {
  background: #ffffff;
  color: var(--cqp-primary);
  border-color: var(--cqp-primary);
}

.cqp-button-secondary:hover,
.cqp-button-secondary:focus {
  background: #f3f0ff;
}

.cqp-section {
  margin-bottom: 2.5rem;
}

.cqp-section-heading {
  margin-bottom: 1rem;
}

.cqp-section-heading h2 {
  margin: 0 0 0.4rem;
  font-size: 1.7rem;
  line-height: 1.2;
  color: #111827;
}

.cqp-section-heading p {
  margin: 0;
  color: var(--cqp-muted);
}

.cqp-grid {
  display: grid;
  gap: 1.25rem;
}

.cqp-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cqp-card {
  background: var(--cqp-surface);
  border: 1px solid var(--cqp-border);
  border-radius: 18px;
  padding: 1.4rem;
  box-shadow: var(--cqp-shadow);
}

.cqp-card-highlight {
  background: var(--cqp-surface-strong);
  border-left: 6px solid var(--cqp-accent);
}

.cqp-card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
  color: #111827;
}

.cqp-card p:last-child,
.cqp-card ul:last-child,
.cqp-card ol:last-child {
  margin-bottom: 0;
}

.cqp-list {
  margin: 0;
  padding-left: 1.2rem;
}

.cqp-list li + li {
  margin-top: 0.55rem;
}

.cqp-steps {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.cqp-steps li + li {
  margin-top: 0.75rem;
}

.cqp-tip {
  margin: 1rem 0 0;
  padding: 0.9rem 1rem;
  background: #fff7e8;
  border: 1px solid #f0d7a1;
  border-radius: 12px;
}

.cqp-contact-line {
  margin-top: 1rem;
  font-size: 1rem;
}

.cqp-contact-line a,
.cqp-card a,
.cqp-cta a:not(.cqp-button) {
  color: var(--cqp-primary);
  text-decoration: none;
}

.cqp-contact-line a:hover,
.cqp-card a:hover,
.cqp-cta a:hover,
.cqp-contact-line a:focus,
.cqp-card a:focus,
.cqp-cta a:focus {
  text-decoration: underline;
}

.cqp-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  background: linear-gradient(135deg, #f9f6ff 0%, #eef7ff 100%);
  color: #1f2937;
  border: 1px solid var(--cqp-border);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--cqp-shadow);
}

.cqp-cta h2 {
  margin: 0 0 0.6rem;
  font-size: 1.8rem;
  line-height: 1.2;
  color: #2d2363;
}

.cqp-cta p {
  margin: 0;
  color: #5b6472;
  max-width: 700px;
}

.cqp-cta .cqp-button-primary {
  background: var(--cqp-primary);
  color: #ffffff;
}

.cqp-cta .cqp-button-primary:hover,
.cqp-cta .cqp-button-primary:focus {
  background: var(--cqp-primary-dark);
}

.cqp-cta .cqp-button-secondary {
  background: #ffffff;
  color: var(--cqp-primary);
  border-color: var(--cqp-primary);
}

.cqp-cta .cqp-button-secondary:hover,
.cqp-cta .cqp-button-secondary:focus {
  background: #f3f0ff;
}

@media (max-width: 800px) {
  .cqp-grid-2,
  .cqp-cta {
    grid-template-columns: 1fr;
    display: grid;
  }

  .cqp-hero,
  .cqp-card,
  .cqp-cta {
    padding: 1.25rem;
  }

  .cqp-hero h1 {
    font-size: 2rem;
  }

  .cqp-cta h2 {
    font-size: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cqp-button {
    transition: none;
  }
}
