/* ============================================================
   Virtual News Center — Main Stylesheet
   ============================================================ */

/* ----- Custom Properties ----- */
:root {
  --contrast:   #222222;
  --contrast-2: #575760;
  --contrast-3: #b2b2be;
  --base:       #f0f0f0;
  --base-2:     #f7f8f9;
  --base-3:     #ffffff;
  --accent:     #1e73be;
  --btn-bg:     #55555e;
  --btn-hover:  #3f4047;
  --btn-text:   #ffffff;
  --max-width:  1200px;
  --radius:     4px;
  --shadow:     0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-lg:  0 4px 12px rgba(0, 0, 0, 0.12);
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                "Helvetica Neue", Arial, "Noto Sans", sans-serif,
                "Apple Color Emoji", "Segoe UI Emoji";
  --transition: 0.2s ease;
}

/* ----- Reset ----- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body,
h1, h2, h3, h4, h5, h6,
p, ol, ul, figure, blockquote {
  margin: 0;
  padding: 0;
}

img, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul, ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

/* ----- Typography (inherits from GeneratePress CSS) ----- */

/* ----- Layout ----- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* .site-content, .content-area, .sidebar — see WordPress Compatibility section below */

/* ----- Header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--base-3);
  border-bottom: 1px solid var(--base);
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 0.75rem 1.25rem;
}

.site-logo img {
  display: block;
}

/* ----- Navigation ----- */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
}

.site-nav ul {
  display: flex;
  gap: 0.25rem;
}

.site-nav a {
  display: block;
  padding: 0.5rem 0.875rem;
  color: var(--contrast);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius);
  text-decoration: none;
  position: relative;
  transition: color var(--transition), background-color var(--transition);
}

.site-nav a::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0.875rem;
  right: 0.875rem;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}

.site-nav a:hover {
  color: var(--accent);
  text-decoration: none;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.site-nav a.active {
  color: var(--accent);
}

.site-nav a.active::after {
  transform: scaleX(1);
}

/* Hamburger icon */
.hamburger {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--contrast);
  position: relative;
  transition: background var(--transition);
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--contrast);
  transition: transform var(--transition);
}

.hamburger::before { top: -7px; }
.hamburger::after  { top: 7px; }

/* ----- Cards / Sections ----- */
.card {
  background: var(--base-3);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}

.card h2:first-child,
.card h3:first-child {
  margin-top: 0;
}

.card-accent {
  border-top: 3px solid var(--accent);
}

/* ----- Buttons ----- */
.btn {
  display: inline-block;
  padding: 0.625rem 1.5rem;
  background: var(--btn-bg);
  color: var(--btn-text);
  font-weight: 600;
  font-size: 0.9375rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background-color var(--transition);
  line-height: 1.4;
}

.btn:hover,
.btn:focus-visible {
  background: var(--btn-hover);
  text-decoration: none;
  color: var(--btn-text);
}

.btn-accent {
  background: var(--accent);
}

.btn-accent:hover,
.btn-accent:focus-visible {
  background: #155a96;
}

.btn-block {
  display: block;
  width: 100%;
}

/* ----- Contact Form (sidebar) ----- */
.contact-form-widget {
  background: var(--base-3);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.contact-form-widget h3 {
  margin-bottom: 1rem;
  font-size: 1.125rem;
  text-align: center;
}

.form-group {
  margin-bottom: 0.875rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--contrast-2);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.5rem 0.625rem;
  border: 1px solid var(--base);
  border-radius: var(--radius);
  background: var(--base-3);
  font-size: 0.875rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(30, 115, 190, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23575760' d='M6 8.825L1.175 4 2.238 2.938 6 6.7 9.763 2.937 10.825 4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.625rem center;
  padding-right: 2rem;
}

.checkbox-group {
  margin-bottom: 0.875rem;
}

.checkbox-group legend {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--contrast-2);
  margin-bottom: 0.375rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
}

.checkbox-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.form-submit {
  margin-top: 1rem;
}

/* ----- Audio Player ----- */
audio {
  width: 100%;
  min-width: 300px;
  border-radius: var(--radius);
}

.audio-block {
  margin: 1rem 0;
}

.audio-block label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--contrast-2);
  margin-bottom: 0.25rem;
}

/* ----- Anchor Cards ----- */
.anchor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.anchor-card {
  background: var(--base-3);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.anchor-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.anchor-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.anchor-card-body h3 {
  margin-bottom: 0.375rem;
}

.anchor-card-body p {
  font-size: 0.9375rem;
  color: var(--contrast-2);
  flex: 1;
}

.anchor-card-body audio {
  margin-top: auto;
  min-width: 0;
}

/* ----- Hero Section ----- */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--base-3);
  padding: 4rem 1.25rem;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.hero-content {
  position: relative;
  max-width: var(--max-width);
  margin-inline: auto;
}

.hero h1 {
  color: var(--base-3);
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

.hero .btn {
  font-size: 1rem;
  padding: 0.75rem 2rem;
}

/* ----- Checkmark List ----- */
.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.625rem;
  line-height: 1.5;
}

.check-list li::before {
  content: "\2705";
  position: absolute;
  left: 0;
  top: 0;
}

/* ----- Footer ----- */
.site-footer {
  background: var(--base-3);
  padding: 20px 1.25rem;
  text-align: center;
}

.footer-inner {
  max-width: var(--max-width);
  margin-inline: auto;
}

.site-footer .wp-block-social-links {
  margin-bottom: 1rem;
}

.footer-phone {
  margin-bottom: 0.75rem;
  font-size: 1.0625rem;
  font-weight: 600;
}

.footer-phone a {
  color: var(--contrast);
}

.footer-phone a:hover {
  color: var(--accent);
}

.footer-links {
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

.footer-links a {
  color: var(--contrast-2);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-sep {
  margin-inline: 0.5rem;
  color: var(--contrast-3);
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--contrast-3);
}

/* ----- Back to Top ----- */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  background: var(--btn-bg);
  color: var(--btn-text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: background-color var(--transition), opacity var(--transition);
  opacity: 0.85;
  z-index: 900;
}

.back-to-top:hover {
  background: var(--btn-hover);
  opacity: 1;
  text-decoration: none;
}

/* ----- Feature Grid ----- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.feature-item {
  background: var(--base-3);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  text-align: center;
}

.feature-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.75rem;
}

/* ----- Form Rows ----- */
.form-row-half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.form-status {
  margin-top: 0.75rem;
  padding: 0.5rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  text-align: center;
}

.form-status:empty {
  display: none;
}

.form-status-success {
  background: #e8f5e9;
  color: #2e7d32;
}

.form-status-error {
  background: #fce4ec;
  color: #c62828;
}

.required {
  color: #c62828;
}

.btn-submit {
  width: 100%;
}

/* ----- Sidebar Widgets ----- */
.sidebar-widget {
  background: var(--base-3);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
}

.social-links a {
  color: var(--contrast-2);
  transition: color var(--transition);
}

.social-links a:hover {
  color: var(--accent);
  text-decoration: none;
}

/* ----- Hero Variants ----- */
.hero-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}

.hero-text {
  background: var(--accent);
  padding: 3rem 1.25rem;
}

.hero-text::before {
  display: none;
}

.hero-text h1 {
  color: var(--base-3);
}

/* ----- Anchor Cards ----- */
.anchor-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.anchor-photo-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--base);
  display: flex;
  align-items: center;
  justify-content: center;
}

.anchor-info {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.anchor-info p {
  font-size: 0.9375rem;
  color: var(--contrast-2);
  flex: 1;
}

.anchor-info audio {
  margin-top: 0.75rem;
  min-width: 0;
}

/* ----- Awards List ----- */
.awards-list {
  padding-left: 0;
}

.awards-list li {
  padding: 0.375rem 0;
  border-bottom: 1px solid var(--base);
  font-size: 0.9375rem;
}

.awards-list li:last-child {
  border-bottom: none;
}

/* ----- Service List ----- */
.service-list {
  padding-left: 0;
}

.service-list li {
  padding: 0.375rem 0 0.375rem 1.5rem;
  position: relative;
}

.service-list li::before {
  content: "\2022";
  position: absolute;
  left: 0.5rem;
  color: var(--accent);
  font-weight: bold;
}

.service-includes {
  margin-top: 2rem;
}

.includes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
}

.includes-item {
  background: var(--base-3);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem;
  border-left: 3px solid var(--accent);
}

.includes-item h3 {
  font-size: 1rem;
}

/* ----- Team / About ----- */
.team-member {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: start;
}

.team-photo {
  width: 200px;
  border-radius: var(--radius);
}

.team-info h3 {
  color: var(--accent);
}

.contact-details {
  font-size: 0.9375rem;
  color: var(--contrast-2);
}

.contact-details a {
  word-break: break-all;
}

/* ----- Partners ----- */
.strategic-partners {
  margin-top: 2rem;
}

.partner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  align-items: start;
}

.partner-logo {
  width: 200px;
}

.partner-info h3 {
  font-size: 1.1rem;
}

/* ----- News Redirect ----- */
.news-redirect {
  text-align: center;
  padding: 3rem 1.25rem;
}

.news-redirect p {
  max-width: 600px;
  margin-inline: auto;
}

/* ----- Checkbox Group ----- */
.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

fieldset.form-group {
  border: none;
  padding: 0;
}

fieldset.form-group legend {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--contrast-2);
  margin-bottom: 0.375rem;
}

/* ----- Content Sections (spacing) ----- */
section {
  margin-bottom: 2rem;
}

section:last-child {
  margin-bottom: 0;
}

/* ----- Utility Classes ----- */
.text-center { text-align: center; }
.text-muted  { color: var(--contrast-2); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   Responsive — Tablet (< 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .anchor-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* site-content responsive handled in WordPress Compatibility section */
}

/* ============================================================
   Responsive — Mobile (< 768px)
   ============================================================ */
@media (max-width: 768px) {
  /* Layout — site-content/sidebar handled in WordPress Compatibility section */

  /* Header / Nav */
  .nav-toggle-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    z-index: 1010;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    height: 100dvh;
    background: var(--base-3);
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.15);
    padding: 5rem 1.5rem 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1005;
    overflow-y: auto;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .site-nav a {
    padding: 0.75rem 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--base);
  }

  .site-nav a::after {
    display: none;
  }

  .nav-toggle:checked ~ .site-nav {
    transform: translateX(0);
  }

  /* Animate hamburger to X */
  .nav-toggle:checked ~ .nav-toggle-label .hamburger {
    background: transparent;
  }

  .nav-toggle:checked ~ .nav-toggle-label .hamburger::before {
    top: 0;
    transform: rotate(45deg);
  }

  .nav-toggle:checked ~ .nav-toggle-label .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
  }

  /* Overlay behind nav */
  .nav-toggle:checked ~ .site-nav::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
  }

  /* Grids */
  .anchor-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .includes-grid {
    grid-template-columns: 1fr;
  }

  .team-member,
  .partner {
    grid-template-columns: 1fr;
  }

  .team-photo,
  .partner-logo {
    width: 150px;
  }

  .form-row-half {
    grid-template-columns: 1fr;
  }

  /* Hero */
  .hero {
    padding: 3rem 1rem;
  }

  .hero h1 {
    font-size: 1.625rem;
  }

  .hero p {
    font-size: 1rem;
  }

}

/* ============================================================
   WordPress / GeneratePress Compatibility
   Styles for scraped WordPress DOM structure
   ============================================================ */

/* ----- Featured Image (page header) ----- */
.featured-image.page-header-image {
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 0 1.25rem;
}

.featured-image.page-header-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ----- GeneratePress Layout (one-container) ----- */
.site-content {
  display: flex;
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 40px;
  gap: 2rem;
  align-items: flex-start;
  background: var(--base-3);
}

.content-area {
  width: 70%;
  min-width: 0;
  word-wrap: break-word;
}

.is-right-sidebar.sidebar,
.widget-area.sidebar {
  width: 30%;
  position: sticky;
  top: 100px;
}

.inside-article {
  background: var(--base-3);
}

.entry-content {
  word-wrap: break-word;
}

.entry-content > p:last-child {
  margin-bottom: 0;
}

/* ----- WordPress Block: Image ----- */
.wp-block-image {
  margin-bottom: 1.5em;
}

.wp-block-image figure {
  margin: 0 0 1em;
}

.wp-block-image img {
  height: auto;
  max-width: 100%;
}

.wp-block-image.is-resized img {
  height: auto;
}

.entry-content figure {
  margin: 0 0 1em;
}

.entry-content .alignleft {
  float: left;
  margin: 0.5em 1.5em 1em 0;
}

.entry-content .alignright {
  float: right;
  margin: 0.5em 0 1em 1.5em;
}

.alignleft {
  float: left;
  margin-right: 1.5em;
  margin-bottom: 1em;
}

.alignright {
  float: right;
  margin-left: 1.5em;
  margin-bottom: 1em;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  clear: both;
}

/* ----- WordPress Block: Audio ----- */
.wp-block-audio {
  box-sizing: border-box;
  margin-bottom: 1.5em;
  clear: both;
}

.wp-block-audio audio {
  min-width: 300px;
  width: 100%;
}

.entry-content .wp-block-audio {
  margin-bottom: 1.5em;
}

/* ----- WordPress Block: Heading ----- */
.wp-block-heading {
  margin-top: 1.5rem;
}

.entry-content > .wp-block-heading:first-child,
.entry-content > h1:first-child {
  margin-top: 0;
}

/* ----- WordPress Block: List ----- */
.wp-block-list {
  margin: 0 0 1.5em 2em;
  list-style: disc;
}

.wp-block-list li {
  margin-bottom: 0.5em;
}

/* ----- WordPress Block: Group ----- */
.wp-block-group {
  box-sizing: border-box;
}

.wp-block-group__inner-container {
  max-width: var(--max-width);
  margin-inline: auto;
}

/* ----- WordPress Block: Social Links ----- */
.wp-block-social-links {
  background: none;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  justify-content: center;
}

.wp-block-social-links.is-content-justification-center {
  justify-content: center;
}

.wp-block-social-links.is-nowrap {
  flex-wrap: nowrap;
}

.wp-social-link {
  display: inline-flex;
  border-radius: 9999px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.wp-social-link a,
.wp-social-link .wp-block-social-link-anchor,
.wp-block-social-link .wp-block-social-link-anchor {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  padding: 0.25em;
  color: currentColor;
  fill: currentColor;
  text-decoration: none;
  aspect-ratio: 1 / 1;
  box-sizing: content-box;
}

.wp-social-link a:hover {
  text-decoration: none;
  transform: scale(1.1);
}

.wp-social-link svg {
  height: 1em;
  width: 1em;
}

.wp-block-social-links:not(.is-style-logos-only) .wp-social-link {
  background-color: #f0f0f0;
  color: #444;
  font-size: 24px;
  width: 36px;
  height: 36px;
}

.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-wordpress {
  background-color: #3499cd;
  color: #fff;
}

.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-facebook {
  background-color: #0866ff;
  color: #fff;
}

.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-x {
  background-color: #000;
  color: #fff;
}

.wp-block-social-link-label.screen-reader-text,
.screen-reader-text {
  border: 0;
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* ----- GeneratePress Widget Area / Sidebar ----- */
.inside-right-sidebar {
  /* No extra padding — handled by widget */
}

.widget-area .widget {
  padding: 20px 10px;
}

.widget.inner-padding {
  padding: 20px 10px;
}

.sidebar .widget:last-child {
  margin-bottom: 0;
}

/* ----- GenerateBlocks Elements ----- */
.gb-text {
  /* GenerateBlocks text — inherits heading styles */
}

.gb-element-a3e10ecd {
  column-gap: 1em;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  row-gap: 1em;
}

.gb-element-34cc2b63 {
  margin-bottom: 20px;
}

/* ----- Fluent Forms Styling ----- */
.fluentform {
  margin-bottom: 1rem;
}

.fluentform fieldset {
  border: none;
  margin: 0;
  padding: 0;
  min-inline-size: 100%;
}

.ff_screen_reader_title {
  display: block;
  margin: 0;
  padding: 0;
  height: 0;
  text-indent: -999999px;
  width: 0;
  overflow: hidden;
}

.ff-t-container {
  display: flex;
  gap: 0.75rem;
}

.ff-t-cell {
  flex: 1;
}

.ff-el-group {
  margin-bottom: 0.875rem;
}

.ff-el-input--label {
  margin-bottom: 0.25rem;
}

.ff-el-input--label label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--contrast-2);
}

.ff-el-is-required label::after {
  content: " *";
  color: #c62828;
}

.ff-el-form-control {
  width: 100%;
  padding: 0.5rem 0.625rem;
  border: 1px solid var(--base);
  border-radius: var(--radius);
  background: var(--base-3);
  font-size: 0.875rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.ff-el-form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(30, 115, 190, 0.15);
}

select.ff-el-form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23575760' d='M6 8.825L1.175 4 2.238 2.938 6 6.7 9.763 2.937 10.825 4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.625rem center;
  padding-right: 2rem;
}

/* Fluent Forms Checkboxes */
.ff_list_inline .ff-el-input--content {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ff-el-form-check {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.ff-el-form-check-label {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  cursor: pointer;
}

.ff-el-form-check-input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.contactform-name {
  margin-bottom: 20px;
}

/* Fluent Forms Submit Button */
.ff_submit_btn_wrapper {
  margin-top: 1rem;
}

.ff-btn-submit {
  display: block;
  width: 100%;
  padding: 0.625rem 1.5rem;
  background: var(--btn-bg);
  color: var(--btn-text);
  font-weight: 600;
  font-size: 0.9375rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  transition: background-color var(--transition);
  line-height: 1.4;
}

.ff-btn-submit:hover,
.ff-btn-submit:focus-visible {
  background: var(--btn-hover);
  color: var(--btn-text);
}

/* ----- WordPress Text Alignment ----- */
.has-text-align-center {
  text-align: center;
}

.has-text-align-left {
  text-align: left;
}

.has-text-align-right {
  text-align: right;
}

/* ----- CSS-Only Slider ----- */
.css-slider {
  overflow: hidden;
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
}

.css-slider-track {
  display: flex;
  animation: css-slide 12s ease-in-out infinite;
  width: 300%;
}

.css-slider-slide {
  flex: 0 0 calc(100% / 3);
}

.css-slider-slide img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes css-slide {
  0%, 25%   { transform: translateX(0); }
  33%, 58%  { transform: translateX(-33.333%); }
  66%, 91%  { transform: translateX(-66.666%); }
  100%      { transform: translateX(0); }
}

/* ----- RSS Feed Items (todayslocalnews) ----- */
.ms-feed-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ms-feed-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--base);
}

.ms-feed-item:last-child {
  border-bottom: none;
}

.ms-feed-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.ms-feed-title a {
  color: var(--contrast);
}

.ms-feed-title a:hover {
  color: var(--accent);
}

.ms-feed-date {
  font-size: 0.8125rem;
  color: var(--contrast-3);
  margin-bottom: 0.375rem;
}

.ms-feed-desc {
  font-size: 0.9375rem;
  color: var(--contrast-2);
}

/* ----- Entry Header ----- */
.entry-header {
  margin-bottom: 1.5rem;
}

.entry-title {
  font-size: 2rem;
  margin-bottom: 0;
}

/* ----- Clearfix for floats ----- */
.entry-content::after {
  content: "";
  display: table;
  clear: both;
}

/* ----- Responsive: WordPress layout ----- */
@media (max-width: 1024px) {
  .gb-element-a3e10ecd {
    grid-template-columns: 1fr 2fr 1fr;
  }
}

@media (max-width: 768px) {
  .site-content {
    flex-direction: column;
  }

  .content-area {
    width: auto;
  }

  .is-right-sidebar.sidebar,
  .widget-area.sidebar {
    width: auto;
    position: static;
  }

  .alignleft,
  .alignright {
    float: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .ff-t-container {
    flex-direction: column;
  }

  .gb-element-a3e10ecd {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Print Styles
   ============================================================ */
@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #555;
  }

  .site-header,
  .site-footer,
  .sidebar,
  .back-to-top,
  .nav-toggle-label {
    display: none !important;
  }

  .site-content {
    display: block;
  }

  .card {
    border: 1px solid #ccc;
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  h1, h2, h3 {
    page-break-after: avoid;
  }
}
