/* ==========================================================================
   NEDPAC.org - Static Rebuild (2026 GNOMEY Standard)
   Original: WordPress Customizr theme (2016-2018)
   Pixel-perfect rebuild with modern image optimization
   ========================================================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.7;
  color: #5a5a5a;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
  display: block;
}

a {
  color: #c0392b;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #a93226;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', sans-serif;
  color: #3c3c3c;
  line-height: 1.3;
}

p {
  margin-bottom: 15px;
}

ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 15px;
}

ul li {
  margin-bottom: 6px;
}

strong, b {
  font-weight: 700;
}

em {
  font-style: italic;
}

/* --- Layout --- */
.wrapper {
  width: 100%;
  overflow: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.wrapper > .site-footer {
  margin-top: auto;
}

.site-row {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Header ---
   Original: logo left, nav items right-aligned on same bar.
   White background, thin bottom border. */
.site-header {
  width: 100%;
  background: #fff;
  z-index: 1000;
  position: relative;
  border-bottom: 1px solid #ddd;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}

.site-logo {
  flex-shrink: 0;
}

.site-logo a {
  display: inline-block;
}

.site-logo img {
  height: 50px;
  width: auto;
  display: block;
}

/* --- Navigation ---
   Original: nav items inline on same line as logo, right side.
   No border-bottom bar. Active/hover = red text. */
.main-nav {
  text-align: right;
}

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}

.nav-menu > li {
  position: relative;
  margin: 0;
}

.nav-menu > li > a {
  display: block;
  padding: 12px 16px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: #5a5a5a;
  transition: color 0.2s;
}

.nav-menu > li > a:hover,
.nav-menu > li.current > a {
  color: #c0392b;
}

/* Mobile menu */
.mobile-nav-holder {
  display: none;
}

.mobile-menu-toggle {
  display: none;
  text-align: center;
  padding: 12px;
  cursor: pointer;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #333;
}

.mobile-menu-toggle .hamburger {
  display: inline-block;
  width: 20px;
  height: 2px;
  background: #333;
  position: relative;
  vertical-align: middle;
  margin-right: 8px;
}

.mobile-menu-toggle .hamburger::before,
.mobile-menu-toggle .hamburger::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 2px;
  background: #333;
  left: 0;
}

.mobile-menu-toggle .hamburger::before { top: -6px; }
.mobile-menu-toggle .hamburger::after { top: 6px; }

.mobile-nav {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fff;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav li a {
  display: block;
  padding: 12px 20px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #5a5a5a;
  border-bottom: 1px solid #eee;
}

.mobile-nav li a:hover {
  color: #c0392b;
}

/* --- Page Hero / Title Bar ---
   Subpages: full-width image banner, no overlay on original */
.page-hero {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 31.25%; /* 1600:500 aspect ratio */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Hero image-set variants (avif > webp > jpg) */
.hero-vegas {
  background-image: url('../images/LasVegas-1600x500.jpg');
  background-image: image-set(
    url('../images/LasVegas-1600x500.avif') type('image/avif'),
    url('../images/LasVegas-1600x500.webp') type('image/webp'),
    url('../images/LasVegas-1600x500.jpg') type('image/jpeg')
  );
}

.hero-vegas-2 {
  background-image: url('../images/LasVegas2-1600x500.jpg');
  background-image: image-set(
    url('../images/LasVegas2-1600x500.avif') type('image/avif'),
    url('../images/LasVegas2-1600x500.webp') type('image/webp'),
    url('../images/LasVegas2-1600x500.jpg') type('image/jpeg')
  );
}

.hero-road {
  background-image: url('../images/roadway-1600x500.jpg');
  background-image: image-set(
    url('../images/roadway-1600x500.avif') type('image/avif'),
    url('../images/roadway-1600x500.webp') type('image/webp'),
    url('../images/roadway-1600x500.jpg') type('image/jpeg')
  );
}

.hero-road-2 {
  background-image: url('../images/Roadway2-1600x500.jpg');
  background-image: image-set(
    url('../images/Roadway2-1600x500.avif') type('image/avif'),
    url('../images/Roadway2-1600x500.webp') type('image/webp'),
    url('../images/Roadway2-1600x500.jpg') type('image/jpeg')
  );
}

.hero-committee {
  background-image: url('../images/committee-1600x500.jpg');
  background-image: image-set(
    url('../images/committee-1600x500.avif') type('image/avif'),
    url('../images/committee-1600x500.webp') type('image/webp'),
    url('../images/committee-1600x500.jpg') type('image/jpeg')
  );
}

.hero-business {
  background-image: url('../images/iStock_000007008171Small-861x500.jpg');
  background-image: image-set(
    url('../images/iStock_000007008171Small-861x500.avif') type('image/avif'),
    url('../images/iStock_000007008171Small-861x500.webp') type('image/webp'),
    url('../images/iStock_000007008171Small-861x500.jpg') type('image/jpeg')
  );
}

/* --- Home Feature Cards ---
   Three circular image thumbnails with titles and short text below.
   Centered layout, light weight headings. */
.feature-cards {
  display: flex;
  gap: 30px;
  padding: 50px 0 40px;
  justify-content: center;
}

.feature-card {
  flex: 1;
  max-width: 350px;
  text-align: center;
  padding: 0 15px;
}

.feature-card .card-icon {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  margin: 0 auto 20px;
  overflow: hidden;
  background: #f0f0f0;
}

.feature-card .card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-card h3 {
  font-size: 22px;
  font-weight: 300;
  margin-bottom: 10px;
  color: #3c3c3c;
}

.feature-card p {
  font-size: 13px;
  line-height: 1.6;
  color: #5a5a5a;
  margin-bottom: 15px;
}

.feature-card .btn {
  display: inline-block;
  padding: 8px 18px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: #fff;
  background: #c0392b;
  border-radius: 3px;
  transition: background 0.2s;
}

.feature-card .btn:hover {
  background: #a93226;
  color: #fff;
}

/* --- Home Bottom: Twitter + News + Newsletter ---
   Three-column layout on homepage below feature cards.
   Left: Twitter embed area. Center: News text. Right: Newsletter form. */
.home-bottom {
  display: flex;
  gap: 30px;
  padding: 30px 0 50px;
  align-items: flex-start;
  border-top: 1px solid #eee;
}

.home-twitter {
  width: 260px;
  min-width: 240px;
  font-size: 13px;
  color: #c0392b;
}

.home-twitter a {
  color: #c0392b;
  font-weight: 600;
}

.news-content {
  flex: 1;
}

.news-content p {
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.news-content a {
  color: #c0392b;
}

/* Newsletter sidebar box */
.newsletter-box {
  width: 280px;
  min-width: 260px;
  background: #f7f7f7;
  padding: 25px 20px;
  border: 1px solid #e8e8e8;
}

.newsletter-box h4 {
  font-family: 'Raleway', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #3c3c3c;
  margin-bottom: 18px;
}

.newsletter-box input[type="text"],
.newsletter-box input[type="email"] {
  width: 100%;
  padding: 8px 12px;
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  color: #555;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 0;
  margin-bottom: 10px;
  transition: border-color 0.2s;
}

.newsletter-box input:focus {
  border-color: #999;
  outline: none;
}

.newsletter-box button {
  display: inline-block;
  padding: 8px 20px;
  background: #5bc0de;
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 13px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s;
}

.newsletter-box button:hover {
  background: #46b8da;
}

/* --- Subpage Content Layout ---
   Single-column layout. Breadcrumb above page title. Thin HR separator. */
.page-main {
  flex: 1;
  min-width: 0;
  padding: 25px 0 50px;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 12px;
  color: #5a5a5a;
  margin-bottom: 5px;
}

.breadcrumb a {
  color: #c0392b;
}

.page-main > h1 {
  font-size: 30px;
  font-weight: 300;
  color: #3c3c3c;
  margin-bottom: 8px;
}

.page-main > hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 10px 0 25px;
}

/* --- FAQ Styles --- */
.faq-item {
  margin-bottom: 22px;
}

.faq-item h3 {
  font-size: 14px;
  font-weight: 700;
  font-style: italic;
  color: #3c3c3c;
  margin-bottom: 6px;
}

.faq-item p,
.faq-item ul {
  font-size: 13px;
  line-height: 1.7;
}

/* --- Members Tiers --- */
.members-tier {
  margin-bottom: 25px;
}

.members-tier h2 {
  font-size: 22px;
  font-weight: 700;
  color: #3c3c3c;
  margin-bottom: 8px;
}

.members-tier h3 {
  font-size: 18px;
  font-weight: 700;
  font-style: italic;
  color: #3c3c3c;
  margin-bottom: 8px;
}

.members-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.members-list li {
  font-size: 13px;
  line-height: 1.7;
  color: #5a5a5a;
  margin-bottom: 1px;
}

/* --- Steering Committee Officers --- */
.officer {
  margin-bottom: 18px;
}

.officer h4 {
  font-size: 13px;
  font-weight: 700;
  color: #3c3c3c;
  margin-bottom: 1px;
}

.officer p {
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 1px;
}

.officer a {
  color: #c0392b;
  font-size: 13px;
}

/* --- Donate Page --- */
.donate-content p {
  font-size: 14px;
  line-height: 1.7;
}

/* --- NVSOS Iframe --- */
.nvsos-iframe-wrapper {
  position: relative;
  width: 100%;
  min-height: 800px;
  margin: 20px 0 30px;
  border: 1px solid #ddd;
  background: #f9f9f9;
}

.nvsos-iframe-wrapper iframe {
  display: block;
  width: 100%;
  height: 800px;
  border: none;
}

/* --- NVSOS Filings Gallery --- */
.nvsos-filings {
  margin: 20px 0 30px;
}

.nvsos-filings figure {
  margin: 0 0 24px;
  padding: 0;
}

.nvsos-filings figcaption {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #363839;
  margin-bottom: 6px;
}

.nvsos-filings img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #ddd;
}

/* --- Footer ---
   Dark gray bar. Twitter icon left, copyright center, "Back to top" right. */
.site-footer {
  background: #363839;
  color: #8c8989;
  padding: 18px 0;
  font-size: 12px;
}

.site-footer .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #8c8989;
  transition: color 0.2s;
}

.footer-social a:hover {
  color: #fff;
}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-copyright {
  color: #8c8989;
}

.back-to-top {
  color: #c0392b;
  font-size: 12px;
}

.back-to-top:hover {
  color: #a93226;
}

/* --- Back to top floating button (bottom-right on subpages) --- */
.back-to-top-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  background: #c0392b;
  color: #fff;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
  z-index: 999;
}

.back-to-top-float:hover {
  opacity: 1;
  color: #fff;
}

.back-to-top-float svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* --- Responsive --- */
@media only screen and (max-width: 1024px) {
  .feature-cards {
    flex-direction: column;
    align-items: center;
  }

  .feature-card {
    max-width: 500px;
  }

  .home-bottom {
    flex-direction: column;
  }

  .home-twitter {
    width: 100%;
    min-width: auto;
  }

  .newsletter-box {
    width: 100%;
    min-width: auto;
  }
}

@media only screen and (max-width: 800px) {
  .main-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .mobile-nav-holder {
    display: block;
  }

  .header-inner {
    flex-direction: column;
    text-align: center;
  }

  .page-hero {
    padding-bottom: 40%;
  }

  .feature-card .card-icon {
    width: 140px;
    height: 140px;
  }

  .site-footer .footer-inner {
    flex-direction: column;
    gap: 8px;
  }
}

@media only screen and (max-width: 480px) {
  .site-logo img {
    height: 40px;
  }

  .page-hero {
    padding-bottom: 50%;
  }

  .feature-card .card-icon {
    width: 120px;
    height: 120px;
  }
}
