      :root {
      --red: #c62828;
      --black: #111;
      --white: #ffffff;
      --gray: #f5f5f5;
      --dark-gray: #222;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Inter', sans-serif; }
    body { background: var(--gray); color: var(--black); }

    /* Header */
    header {
      position: relative;
      height: 200px;
      background:
        linear-gradient(to bottom left, rgba(198,40,40,0.8), rgba(0,0,0,0.75)),
        url('../images/header.jpg') center / cover no-repeat;
      display: flex;
      align-items: center;
      padding: 30px 50px;
      color: var(--white);
    }

.progress-container {
  width: 100%;
  height: 8px;
  background: #eee;
  border-radius: 6px;
  overflow: hidden;
  margin-top: 8px;
}

#progressBar {
  height: 100%;
  width: 0%;
  background: #c62828;
  transition: width 1s linear;
}

    header::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: 0;
      width: 100%;
      height: 160px;
      background: linear-gradient(to bottom, rgba(0,0,0,0), #000);
    }

    .logo { height: 167px; z-index: 2; }

    .header-text { margin-left: 25px; z-index: 2; }
    .header-text h1 { font-size: 38px; }
    .header-text p { opacity: 0.9; }

    /* Spacer */
    .spacer { height: 8px; background: linear-gradient(to right, var(--red), var(--black)); }

    /* Navigation */
    nav { background: var(--black); }
    .nav-container { width: 100%; margin: auto; display: flex; align-items: center; }

    nav a, .toodles-btn {
      color: var(--white);
      text-decoration: none;
      padding: 16px 18px;
      font-weight: 500;
      font-size: 15px;
      border: none;
      background: none;
      cursor: pointer;
    }

    nav a:hover, .toodles-btn:hover { background: var(--red); }

    .toodles { position: relative; }
                                  
.toodles-content.show {  display: block;}
                                  
    .toodles-content {
      display: none;
      position: absolute;
      background: var(--white);
      min-width: 220px;
      top: 100%;
      left: 0;
      box-shadow: 0 10px 25px rgba(0,0,0,0.15);
      border-radius: 6px;
      overflow: hidden;
      z-index: 1000;
    }

    .toodles-content a { color: var(--black); display: block; padding: 12px 16px; }
    .toodles-content a:hover { background: var(--red); color: var(--white); }
    

    /* Layout */
    .layout { display: flex; min-height: 100vh; }

    /* Sidebar */
    aside {
      width: 260px;
      background: var(--dark-gray);
      color: var(--white);
      padding: 20px;
    }

    aside h3 { margin-bottom: 15px; color: var(--red); font-size: 18px; font-weight: 700;}
    aside a {
      display: block;
      color: var(--white);
      text-decoration: none;
      padding: 12px 14px;
      border-radius: 6px;
      margin-bottom: 6px;
      font-size: 14px;
    }

    aside a:hover { background: var(--red); }

    /* Main */
    main { flex: 1; padding: 40px; }

    .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  row-gap: 18px;
  margin-top: 30px;
  align-items: start;
}

 .card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.card:hover {
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.card h3 {
  margin: 0 0 8px;
  color: #222;
}

.card p {
  margin: 0;
  color: #555;
  font-size: 14px;
}

.limited-width {
  max-width: 500px;
  margin: 0 auto;
}
                                  
.card iframe {
  width: 100%;
  height: 250px;
  border-radius: 10px;
}                                  

@media (max-width: 400px) {
  .g-recaptcha {
    transform: scale(0.75);
    transform-origin: 0 0;
  }
}

.card-wrap {
  display: flex;
  flex-direction: column;
  max-width: 375px;
  width: 100%;
}
/* Dropdown block */
.dropdown {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  background: #fff;
  border-radius: 16px;
  margin-top: 5px;
  padding: 0 3px;
}

/* When open */
.dropdown.active {
  max-height: 400px;
  padding: 5px 5px;
}

.dropdown .item {
  padding: 15px 12px;
  border-radius: 10px;
  margin-bottom: 6px;
  background: #f6f7f9;
  color: #222;
  font-size: 10px;
}

.dropdown .item:last-child {
  margin-bottom: 0;
}

.dropdown .item:hover {
  background: #eceff3;
}   
                                  
.chevron {
  display: inline-block;
  bottom: 16px;
  right: 18px;
  width: 12px;
  height: 12px;
  border-right: 2.5px solid #777;
  border-bottom: 2.5px solid #777;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

.chevron-wrap {
  position: absolute;
  bottom: 14px;
  right: 18px;

  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end !important;

  gap: 6px;

  font-size: 13px;
  font-weight: 500;
  letter-spacing: .4px;
  color: #666;
  white-space: nowrap;
  pointer-events: auto;
  cursor: pointer;
}

.chevron-label {
  display: inline-block !important;
  line-height: 1;
  position: relative;
  top: 4px;
}

.dropdown-card.open .arrow {
  transform: rotate(225deg);
}
/* Rotate when open */
.card.open .chevron {
  transform: rotate(-135deg);
}
                                  
.layout .card {
  background: #ffffff;
  border-radius: 12px;
  padding: 28px 32px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow:
    0 6px 16px rgba(0,0,0,0.06),
    0 2px 6px rgba(0,0,0,0.03);
}

    .card h3 { margin-bottom: 10px; color: var(--red); }
    .card h4 { margin-bottom: 10px; color: var(--red); }
    .leadershipname h4 { margin-bottom: 10px; color: var(--black); }
    /* Admin Panel */
    .admin-header {
      background: var(--black);
      color: var(--white);
      padding: 15px 25px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .admin-header button {
      background: var(--red);
      color: white;
      border: none;
      padding: 8px 14px;
      border-radius: 6px;
      cursor: pointer;
    }

    table {
      width: 100%;
      border-collapse: collapse;
      background: var(--white);
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    }

    th, td { padding: 12px 14px; text-align: left; }
    th { background: var(--black); color: white; }
    tr:nth-child(even) { background: #f3f3f3; }

    /* Footer */
    footer { background: var(--black); color: white; text-align: center; padding: 20px; }

    @media (max-width: 900px) {
      .layout { flex-direction: column; }
      aside { width: 100%; }
    }
  
  /* ===== Sidebar Expand Menu (ADDED) ===== */

.submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  padding-left: 10px;
  margin-bottom: 6px;
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
}

.submenu.open {
  max-height: 400px;
}

.submenu a {
  font-size: 13px;
  padding: 8px 14px;
}

.toggle {
  cursor: pointer;
  font-weight: 500;
}

canvas{width:100%;height:180px;border:1px solid #ccc;border-radius:6px;touch-action:none;}
#grievanceForm label { color:#000; }

input[type="checkbox"] {
    border: 2px solid #000; /* thicker black border */
    accent-color: #000;     /* keeps the check mark black */
    border-radius: 3px;     /* optional slightly rounded corners */
	vertical-align: middle; /*aligns the checkbox with middle of the text */
}

.form-check-input {
    margin-top: 0.15em;      /* vertical alignment fix for mobile */
    border: 3px solid #000;  /* thicker border */
    accent-color: #000;
}
     
       @media (max-width: 768px) {

  /* Header shrink */
  header {
    height: auto;
    padding: 16px;
    flex-direction: column;
    text-align: center;
  }

  .logo {
    height: 80px;
    margin-bottom: 10px;
  }

  .header-text h1 {
    font-size: 22px;
    line-height: 1.3;
  }

  /* Top nav wrap */
  .nav-container {
    flex-wrap: wrap;
    justify-content: center;
  }

  nav a, .dropdown-btn {
    padding: 10px 12px;
    font-size: 14px;
  }

  /* Layout: hide sidebar by default */
  aside {
    display: none;
  }

  .layout {
    flex-direction: column;
  }

  main {
    padding: 16px;
  }

  /* Form spacing */
  .card {
    padding: 16px;
    position: relative;
  }

  textarea {
    font-size: 16px;
  }

  input, select {
    font-size: 16px;
  }

  /* Signature area */
  canvas {
    height: 220px;
    touch-action: none;
  }

  /* Buttons */
  .btn {
    width: 100%;
  }

  .d-flex.gap-2 {
    flex-direction: column;
  }
}
       @media (max-width: 768px) {
  .mobile-submit {
    position: sticky;
    bottom: 0;
    background: white;
    padding: 12px 0;
    border-top: 1px solid #ccc;
  }
}
.mobile-menu-btn {
  display: none;
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 26px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  z-index: 10000; /* ← THIS FIXES IT */
}

@media (max-width: 768px) {

  .mobile-menu-btn {
    font-size: 20px;     /* icon size */
  padding: 7px 0px; /* clickable area */
    display: block;
  }

  /* Override previous layout rules */
  .layout {
    flex-direction: column;
  }

  aside {
    display: block;
    position: fixed;
    top: 0;
    left: -100%;
    width: 260px !important;
    height: 100vh;
    background: #222;
    z-index: 9999;
    transition: left .25s ease;
    box-shadow: 4px 0 25px rgba(0,0,0,0.3);
  }

  aside.open {
    left: 0;
  }

  body.menu-open {
    overflow: hidden;
  }

  /* Dark overlay */
  .menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 9998;
  }

  .menu-overlay.show {
    display: block;
  }
}
       
.mobile-nav {
  display: none;
  margin-bottom: 10px;
}

.mobile-nav a {
  display: block;
  width: 100%;
  color: #fff;
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 6px;
  margin-bottom: 4px;
}

.mobile-nav a:hover {
  background: var(--red);
}

.mobile-submenu {
  margin-top: 8px;
  margin-bottom: 12px;
  padding-left: 14px;
}

.submenu-title {
  display: block;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .6;
  margin: 10px 0 6px;
}
       
.mobile-submenu a {
  display: block;
  width: 100%;
  padding: 10px 14px;
  margin-bottom: 4px;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
}
       
       
.mobile-submenu a:hover {
  background: var(--red);
}
       
@media (max-width: 768px) {
  .mobile-nav {
    display: block;
  }

  nav {
    display: none;
  }
}

aside a.toggle {
  display: block;
  width: 100%;
  color: #fff;
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 6px;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.4;
  background: none;
  border: none;
  text-align: left;
}

aside a.toggle:hover {
  background: var(--red);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
	align-items: stretch;

}

.news-card {
    background: #fff;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,.08);

    display: block;
    flex-direction: column;
    height: 100%;

    text-decoration: none;
    color: inherit;
    max-width: 100%;
}
.news-card > div {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card * {
    text-decoration: none;
    color: inherit;
}

.news-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 12px;
}

.news-card h3 {
    margin: 0 0 10px;
}

.news-card p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card .read-more {
    margin-top: auto;
}

@media (max-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

@media (max-width: 500px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

.pagination { margin-top:30px; text-align:center; }
.pagination a { margin:0 5px; padding:6px 12px; background:#c62828; color:#fff; border-radius:6px; text-decoration:none; }
.pagination span { margin:0 5px; padding:6px 12px; background:#999; color:#fff; border-radius:6px; }

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f5f5;
}

/* ===== HEADER ===== */
.site-header {
    background: #C8102E;
    color: #ffffff;
    padding: 20px;
    text-align: center;
}

.site-header h1 {
    margin: 0;
    font-size: 28px;
}

/* ===== CONTENT ===== */
.news-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

.post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.post {
    background: #ffffff;
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.15);
}

.post img {
    width: 100%;
    height: 200px;      /* Mobile height */
    object-fit: cover;  /* Crops instead of stretching */
    display: block;
    border-radius: 8px;
}

/* Desktop */
@media (min-width: 768px) {
    .post img {
        height: 300px;  /* Desktop height */
    }
}

/* Content */
.post-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.post-content .read-more {
    margin-top: auto;

    display: inline-block;
    align-self: flex-end; /* bottom-right */

    background: linear-gradient(
        to bottom,
        #d32f2f 0%,
        #8b0000 50%,
        #000000 100%
    );

    color: #fff !important;
    padding: 4px 10px;
    border-radius: 10px;
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap;

    border: 1px solid rgba(0,0,0,.25);

    box-shadow:
        inset 1px 1px 0 rgba(255,255,255,.35),
        inset -1px -1px 0 rgba(0,0,0,.2),
        2px 2px 4px rgba(0,0,0,.25);
}

.post-date {
    font-size: 14px;
    color: #777;
    margin-bottom: 8px;
}

.post h2 {
    margin: 0;
    font-size: 22px;
    color: #000;
}

/* Subtle red divider */
.post-divider {
    height: 3px;
    width: 60px;
    background: #C8102E;
    margin: 12px 0 18px 0;
}

.post p {
    color: #333;
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    margin-top: 20px;
	margin-left: auto;
    padding: 3px 6px;
    background: #a61b1b !important;
    color: #fff;
    border-radius: 10px;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-decoration: none !important;
    border: 1px solid rgba(0,0,0,0.25);
    box-shadow:
        inset 1px 1px 0 rgba(255,255,255,0.35),
        inset -1px -1px 0 rgba(0,0,0,0.2),
        2px 2px 4px rgba(0,0,0,0.25);
    transition: .15s ease;
	min-width: 0;
	white-space: nowrap;
  width: auto;

}

.read-more:hover {
    filter: brightness(1.1);
}

.read-more.disabled {
    pointer-events: none;
    opacity: 0.4;
    filter: grayscale(100%);
}

.form-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

#contactForm {
  width: 100%;
}
                  
/* Desktop layout */
@media (min-width: 768px) {
    .post {
        display: flex;
    }

    .post img {
        width: 45%;
        object-fit: cover;
    }

    .post-content {
        width: 55%;
    }
}
               
/* ===== ARTICLE ===== */
.article-container {
    max-width: 900px;
    margin: 40px auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.article-container img.featured {
    width: 100%;
    max-height: 200px;      /* Mobile limit */
    height: auto;           /* Maintain ratio */
    object-fit: contain;    /* Show entire image */
    display: block;
    margin: 0 auto 25px auto;
    border-radius: 8px;
}

/* Desktop */
@media (min-width: 768px) {
    .article-container img.featured {
        max-height: 400px;  /* Desktop limit */
    }
}
                    
.article-date {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
}

.article-title {
    margin: 0;
    font-size: 28px;
    color: #000;
}

.article-divider {
    height: 3px;
    width: 70px;
    background: #C8102E;
    margin: 15px 0 25px 0;
}

.article-container img.featured {
    width: 100%;
    height: 200px;        /* Mobile */
    object-fit: cover;
    display: block;
    border-radius: 8px;
    margin-bottom: 25px;
}

@media (min-width: 768px) {
    .article-container img.featured {
        height: 300px;    /* Desktop */
    }
}

/* WordPress content styling */
.article-content {
    line-height: 1.7;
    color: #333;
}

.article-content img {
    max-width: 100%;
    height: auto;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    margin-top: 30px;
}

/* Back Button */
.back-link {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 18px;
    background: #C8102E;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 14px;
}

/* ===== FOOTER ===== */
.site-footer {
    background: #000000;
    color: #ffffff;
    text-align: center;
    padding: 20px;
    /*margin-top: 40px; */
    font-size: 14px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .article-container {
        padding: 25px;
        margin: 20px;
    }

    .article-title {
        font-size: 22px;
    }
}                 

body {
    margin: 0;
    font-family: Arial, sans-serif;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 20px;
}

.download-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform .2s ease;
}

.download-card:hover {
    transform: translateY(-5px);
}

.download-card img {
    width: 100%;
    max-width: 100px;
    height: auto;
    margin-bottom: 15px;
}

.download-card h3 {
    margin: 10px 0;
}

.download-card p {
    font-size: 14px;
    color: #555;
}

                  /* Tablet */
@media (max-width: 900px) {
    .download-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 500px) {
    .download-grid {
        grid-template-columns: 1fr;
    }
}
                  
@media (max-width: 600px) {

    .download-card img {
        display: none;
    }

    .download-card {
        padding: 18px;
    }

    .download-card h3 {
        font-size: 18px;
    }

}
                  
.download-actions{
display:flex;
justify-content:center;
align-items:center;
gap:10px;
margin-top:12px;
flex-wrap:wrap;
}
.view-btn{
    display: inline-block;
    text-decoration: none !important;
    background: #333 !important;
    color: #fff !important;
    padding: 3px 6px;
    margin: 4px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
    border: 1px solid rgba(0,0,0,0.25);
    box-shadow:
        inset 1px 1px 0 rgba(255,255,255,0.35),
        inset -1px -1px 0 rgba(0,0,0,0.2),
        2px 2px 4px rgba(0,0,0,0.25);
    transition: .15s ease;
	min-width: 0;
	white-space: nowrap;
}

.download-btn{
background:#c62828;
color:#fff;
padding:8px 14px;
border-radius:6px;
text-decoration:none;
font-size:14px;
}

.view-btn:hover{
background:#000;
}

.download-btn:hover{
background:#a81f1f;
}

.current-badge{
background:#c62828;
color:white;
padding:4px 8px;
font-size:12px;
border-radius:4px;
margin-bottom:6px;
display:inline-block;
}
                  
.pdf-modal{
display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,.7);
z-index:10000;
}

.pdf-modal-content{
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
width:90%;
height:90%;
background:white;
border-radius:8px;
overflow:hidden;
box-shadow:0 10px 40px rgba(0,0,0,.4);
}

.pdf-modal iframe{
width:100%;
height:100%;
border:none;
}

.pdf-close{
position:absolute;
top:10px;
right:16px;
font-size:28px;
cursor:pointer;
color:#333;
}
               
.contact-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 13px;
}

/* left side name */
.contact-name {
    text-align: left;
}

/* right side buttons */
.contact-actions {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
}  
               
.becomemember {
display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: #1144ff !important;
    color: #fff;
    border-radius: 10px;
    font-weight: bold;
    font-size: 18px;
    letter-spacing: 0.5px;
    text-decoration: none !important;
    border: 1px solid rgba(0,0,0,0.25);
    box-shadow:
        inset 1px 1px 0 rgba(255,255,255,0.35),
        inset -1px -1px 0 rgba(0,0,0,0.2),
        2px 2px 4px rgba(0,0,0,0.25);
    transition: .15s ease;
	min-width: 0;
	white-space: nowrap;
  width: auto;
  margin: 20px auto 0;
}
}

.becomemember:hover{
background: #0057ff;
}
               
.dropdown .contact-btn {
    display: inline-block;
    text-decoration: none !important;

    color: #fff !important;

    padding: 2px 3px;
    margin: 4px;

    border-radius: 10px;

    font-size: 12px;
    font-weight: bold;

    border: 1px solid rgba(0,0,0,0.25);

    box-shadow:
        inset 1px 1px 0 rgba(255,255,255,0.35),
        inset -1px -1px 0 rgba(0,0,0,0.2),
        2px 2px 4px rgba(0,0,0,0.25);

    transition: .15s ease;
	min-width: 0;
	whitee-space: nowrap;
}
               
.contact-btn {
    display: inline-block;
    text-decoration: none !important;

    color: #fff !important;

    padding: 3px 6px;
    margin: 4px;

    border-radius: 10px;

    font-size: 14px;
    font-weight: bold;

    border: 1px solid rgba(0,0,0,0.25);

    box-shadow:
        inset 1px 1px 0 rgba(255,255,255,0.35),
        inset -1px -1px 0 rgba(0,0,0,0.2),
        2px 2px 4px rgba(0,0,0,0.25);

    transition: .15s ease;
	min-width: 0;
	white-space: nowrap;
}
.contact-buttons {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
}
               
.phone-btn {
    background: #a61b1b !important;
}

.email-btn {
    background: #a61b1b !important;
}

.submit-btn {
  width: auto;
  display: block;
  margin: 20px auto 0;
  
}
.viewme-btn {
    display: inline-block;
    text-decoration: none !important;
    color: #fff !important;
    padding: 3px 6px;
    margin: 4px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
    border: 1px solid rgba(0,0,0,0.25);
    box-shadow:
        inset 1px 1px 0 rgba(255,255,255,0.35),
        inset -1px -1px 0 rgba(0,0,0,0.2),
        2px 2px 4px rgba(0,0,0,0.25);
    transition: .15s ease;
	min-width: 0;
	white-space: nowrap;
    background: #333 !important;
  width: auto;
  margin: 20px auto 0;
}
.contact-btn:hover {
    filter: brightness(1.08);
}

.contact-btn:active {
    transform: translateY(1px);

    box-shadow:
        inset 2px 2px 4px rgba(0,0,0,0.25),
        inset -1px -1px 2px rgba(255,255,255,0.2);
}

.email-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.65);
    z-index: 10000;
}

.email-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.email-modal-content {
    background: #fff;
    width: 95%;
    max-width: 600px;
    padding: 28px;
    border-radius: 14px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,.3);
}

.email-modal-content input,
.email-modal-content textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 14px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.email-close {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 28px;
    cursor: pointer;
}
               
.message-popup {

    position: fixed;

    bottom: 24px;
    right: 24px;

    background: #111;
    color: #fff;

    padding: 14px 20px;

    border-radius: 10px;

    box-shadow: 0 8px 25px rgba(0,0,0,.3);

    opacity: 0;
    pointer-events: none;

    transform: translateY(20px);

    transition:
        opacity .25s ease,
        transform .25s ease;

    z-index: 20000;
}

.message-popup.show {

    opacity: 1;

    transform: translateY(0);
}    
     
               
               
               
.modal-loader {
    display: none;
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.75);
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-loader.active {
    display: flex;
}

.spinner-big {
    width: 48px;
    height: 48px;

    border: 4px solid #ccc;
    border-top: 4px solid #c62828;

    border-radius: 50%;
    animation: spin .8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* make sure modal content can anchor overlay */
.email-modal-content {
    position: relative;
}
               
 
               
               
               
#sendBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top: 2px solid #fff;
    border-radius: 50%;
    display: none;
    animation: spin .8s linear infinite;
}

#sendBtn.loading .btn-spinner {
    display: inline-block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
       
       
.post-date {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}       

.home-layout {
    display: flex;
    gap: 5px;
    align-items: flex-start;
    width: 100%;
}

.home-news {
    flex: 2;
    min-width: 0;
}
       
.homepage-news,
.homepage-events {
    flex: 1;
}

.home-map {
    flex: 1;
    min-width: 320px;
}

@media (max-width: 900px) {
    .home-layout {
        flex-direction: column;
    }

    .home-map,
    .home-news {
        width: 100%;
    }
}
       
.homepage-news .news-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}      

.featured-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;

    line-height: 1.3;
    min-height: calc(1.3em * 2);
}      
       
.leader-photo {
    width: 132px;
    height: 180px; /* portrait ratio */
    margin: 0 auto;
}

.leader-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}       

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 350px);
    justify-content: center;
    gap: 20px;
}       

.mobile-toggle {
    display: none;
}       
       
@media (max-width: 768px) {

    .desktop-heading {
        display: none;
    }

    .mobile-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;

        width: 100%;
        box-sizing: border-box;

        padding: 10px 20px;
        margin: 0px auto 20px;

        background: #a61b1b; /* match your card/nav color */
        color: #fff;

        border: 1px solid rgba(0,0,0,0.25);
        border-radius: 20px;

        font-size: 14px;
        font-weight: 600;
        text-align: left;
        cursor: pointer;

    box-shadow:
        inset 1px 1px 0 rgba(255,255,255,0.35),
        inset -1px -1px 0 rgba(0,0,0,0.2),
        2px 2px 4px rgba(0,0,0,0.25);
    transition: .15s ease;
	min-width: 0;
	white-space: nowrap;

    }

    .mobile-toggle:hover {
        background: #a61b1b;
    }

    .mobile-toggle::after {
        content: "▼";
        font-size: 14px;
    }

    .mobile-toggle.active::after {
        content: "▲";
    }

    .mobile-content {
        display: none;
    }

    .mobile-content.open {
        display: block;
    }
.homepage-news,
.homepage-events {
    width: 100%;
}
}     

.mobile-calendar-btn {
    display: none;
}

@media (max-width: 768px) {
    .mobile-calendar-btn {
        display: inline-block;
    }
}

.maintenance-notice {
    color: red;
    font-size: 1.25rem; /* desktop */
    font-weight: bold;
    font-style: italic;
    text-align: center;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .maintenance-notice {
        font-size: 0.85rem;
        padding: 0 10px;
    }
}

.header-link {
    color: inherit;          /* Uses the same color as the header */
    text-decoration: none;   /* Removes underline */
}

.header-link:hover {
    color: inherit;
    text-decoration: none;
    cursor: text;
}

.survey-frame {
    width: 100%;
    min-height: 1200px;
    border: none;
}

.submenu-arrow {
    display: inline-block;
    transition: transform 0.25s ease;
    margin-left: 4px;
}

.toggle.active .submenu-arrow {
    transform: rotate(90deg);
}

.toodles-btn::after {
    content: "▸";
    display: inline-block;
    margin-left: 6px;
    transition: transform .25s ease;
}

.toodles-btn.active::after {
    transform: rotate(90deg);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: nowrap;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    background: #c62828;
    color: white;
    text-decoration: none;
}

.pagination a {
    background: #c62828;
    color: white;
    text-decoration: none;
}

.pagination a:hover {
    background: #a61b1b;
}

.current-page {
    display: inline-block;
    margin-top: 15px;
    padding: 3px 6px;
    background: #333 !important;
    color: #fff;
    border-radius: 10px;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-decoration: none !important;
    border: 1px solid rgba(0,0,0,0.25);
    box-shadow:
        inset 1px 1px 0 rgba(255,255,255,0.35),
        inset -1px -1px 0 rgba(0,0,0,0.2),
        2px 2px 4px rgba(0,0,0,0.25);
    transition: .15s ease;
	min-width: 0;
	white-space: nowrap;
  width: auto;
  margin: 20px auto 0;

}

/* Hidden by default (desktop) */
.back-to-top {
    display: none;
}

/* Mobile only */
@media (max-width: 800px) {

.back-to-top {
    display: block;

    position: fixed;
    bottom: 20px;
    right: 20px;

    background: linear-gradient(to bottom, #a61b1b, #000);
    color: #fff;

    border: 1px solid rgba(255,255,255,.15);
    border-radius: 10px;

    padding: 7px 11px;

    font-weight: bold;
    cursor: pointer;

    box-shadow: 0 4px 10px rgba(0,0,0,.35);

    opacity: 0;
    visibility: hidden;

    transition: opacity .3s ease, transform .15s ease;
    z-index: 999;
	}

    .back-to-top.show {
        opacity: 1;
        visibility: visible;
    }

	.back-to-top:active {
    	transform: translateY(2px);
	}
}
