/* =========================================================
   HEADQUARTERS PAGE
========================================================= */

.hq-layout{
  display:grid;
  grid-template-columns: minmax(0, 1.8fr) 360px;
  gap: 24px;
  align-items:start;
}

.hq-main{
  min-width: 0;
}

.hq-sidebar{
  display:flex;
  flex-direction:column;
  gap: 20px;
}

/* HERO */
.hq-hero{
  margin: 0 0 22px;
  border: 1px solid rgba(33,42,53,.85);
  border-radius: var(--radius);
  overflow:hidden;
  background: linear-gradient(180deg, rgba(17,21,27,.96), rgba(15,19,24,.92));
  box-shadow: var(--shadow);
}

.hq-hero-media img{
  width:100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  display:block;
}

.hq-hero-caption{
  padding: 18px 20px 20px;
  border-top: 1px solid rgba(33,42,53,.75);
  background:
    linear-gradient(180deg, rgba(11,13,16,.20), rgba(11,13,16,.55)),
    rgba(17,21,27,.96);
}

.hq-kicker{
  display:inline-block;
  margin-bottom: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #0b0d10;
  background: linear-gradient(135deg, rgba(201,178,107,.98), rgba(201,178,107,.72));
}

.hq-hero-caption h2{
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.1;
}

.hq-hero-caption p{
  margin: 0;
  color: var(--muted);
}



/* CONTENT CARDS */
.hq-card{
  margin: 0 0 22px;
  border: 1px solid rgba(33,42,53,.85);
  border-radius: var(--radius);
  background: rgba(17,21,27,.88);
  box-shadow: var(--shadow-soft);
  overflow:hidden;
}

.hq-card-body{
  padding: 22px 22px 24px;
}

.hq-card h2{
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.15;
}

.hq-card h3{
  margin: 22px 0 10px;
  font-size: 20px;
  line-height: 1.2;
  color: var(--accent-2);
}

.hq-card p{
  margin: 0 0 15px;
}

.hq-card ul{
  margin: 0 0 16px 20px;
  padding: 0;
}

.hq-card li{
  margin-bottom: 8px;
}

.hq-signoff,
.hq-byline{
  color: var(--muted);
}

/* SIDEBAR */
.hq-sidebar-card{
  border: 1px solid rgba(33,42,53,.85);
  border-radius: var(--radius);
  background: rgba(17,21,27,.88);
  box-shadow: var(--shadow-soft);
  overflow:hidden;
}

.hq-sidebar-card h3{
  margin: 0;
  padding: 16px 18px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .03em;
  border-bottom: 1px solid rgba(33,42,53,.75);
  background: linear-gradient(135deg, rgba(47,143,91,.18), rgba(201,178,107,.12));
}

.hq-sidebar-html{
  padding: 16px 18px 18px;
}

.hq-sidebar-html p:last-child,
.hq-sidebar-html ul:last-child{
  margin-bottom: 0;
}

.hq-sidebar-html ul{
  margin: 0 0 0 18px;
  padding: 0;
}

.hq-sidebar-img{
  width:100%;
  display:block;
  object-fit:cover;
}

/* LINKS INSIDE SIDEBAR */
.hq-sidebar-html a{
  color: var(--accent-2);
}

.hq-sidebar-html a:hover{
  color: #fff;
  text-decoration: underline;
}

.officers-card{
  padding: 0;
  overflow: hidden;
}

.officers-card h3{
  margin: 0;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(33,42,53,.18);
}

.officer-list{
  background: #d8d4c6;
}

.officer-item{
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-top: 1px solid rgba(60,60,60,.16);
}

.officer-item:first-child{
  border-top: 0;
}

.officer-photo img{
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid rgba(0,0,0,.22);
}

.officer-meta{
  min-width: 0;
}

.officer-title{
  font-size: 18px;
  line-height: 1.2;
  color: #222;
  margin-bottom: 8px;
}

.officer-name{
  font-size: 24px;
  line-height: 1.05;
  font-weight: 800;
  color: #1b1b1b;
}

.officer-phone{
  margin-top: 6px;
  font-size: 18px;
  line-height: 1.2;
  font-style: italic;
  color: #2a2a2a;
}

.officer-item.no-photo{
  grid-template-columns: 1fr;
  min-height: 140px;
}

.officer-item.no-photo .officer-meta{
  padding-left: 0;
}



.officers-card h3{
  background: linear-gradient(135deg, #1f3a2d, #163126);
  color: #fff;
  padding: 16px 18px;
  margin: 0;
  font-weight: 900;
  letter-spacing: .04em;

  position: relative; /* needed for gold line */
}

/* GOLD ACCENT LINE */
.officers-card h3::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;

  width: 100%;
  height: 3px;

  background: linear-gradient(
    90deg,
    #c9b26b,
    #e5d08a,
    #c9b26b
  );
}




@media (max-width: 640px){
  .officer-item{
    grid-template-columns: 96px 1fr;
    gap: 14px;
    padding: 16px;
  }

  .officer-title{
    font-size: 16px;
  }

  .officer-name{
    font-size: 20px;
  }

  .officer-phone{
    font-size: 16px;
  }
}


.officer-list{
  background: #d7d3c4;
}

.officer-item{
  grid-template-columns: 108px 1fr;
  gap: 18px;
  padding: 22px 18px;
  border-top: 2px solid rgba(120,116,104,.22);
}

.officer-title{
  font-size: 19px;
  font-weight: 500;
}

.officer-name{
  font-size: 26px;
  font-weight: 900;
}

.officer-phone{
  font-size: 17px;
}

/* MOBILE */
@media (max-width: 980px){
  .hq-layout{
    grid-template-columns: 1fr;
  }

  .hq-sidebar{
    order: 2;
  }

  .hq-main{
    order: 1;
  }

  .hq-hero-media img{
    aspect-ratio: 16 / 9;
  }
}
.hq-bottom-image{
  margin-top: 40px;
}

.hq-bottom-image img{
  width: 100%;
  display: block;
  border-radius: var(--radius);
  border: 1px solid rgba(33,42,53,.85);
  box-shadow: var(--shadow);
}

.hq-full{
  margin-top: 30px;
  padding: 24px;

  border: 1px solid rgba(33,42,53,.85);
  border-radius: var(--radius);

  background: rgba(17,21,27,.88);
  box-shadow: var(--shadow-soft);
}

.member-table{
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: #fff;
  color: #111;
  font-size: 15px;
}

.member-table th,
.member-table td{
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid #d7d7d7;
}

.member-table thead th{
  background: #1f3a2d;
  color: #fff;
  font-weight: 700;
}

.member-table tbody tr:nth-child(even){
  background: #f5f5f5;
}

.member-table tbody tr:hover{
  background: #ece7d5;
}

/* ===========================
   DONATIONS SECTION
=========================== */

.donations-section{
  margin-top: 40px;
}

.donations-shell{
  border: 1px solid rgba(33,42,53,.85);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(17,21,27,.98), rgba(13,16,20,.96));
  box-shadow: var(--shadow);
}

.donations-head{
  position: relative;
  padding: 28px 28px 24px;
  background:
    linear-gradient(135deg, rgba(31,58,45,.96), rgba(18,37,29,.96));
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.donations-head::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:100%;
  height:4px;
  background: linear-gradient(90deg, #c9b26b, #e7d391, #c9b26b);
}

.donations-kicker{
  display:inline-block;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(201,178,107,.18);
  color: #f0dfaa;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.donations-head h2{
  margin: 0 0 6px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
  color: #fff;
}

.donations-date{
  margin: 0;
  color: rgba(255,255,255,.8);
  font-size: 15px;
}

.donations-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 24px;
}

.donation-card{
  border: 1px solid rgba(201,178,107,.16);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,.03);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}

.donation-card-head{
  padding: 18px 20px 16px;
  background: linear-gradient(135deg, rgba(201,178,107,.12), rgba(47,143,91,.10));
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.donation-card-head h3{
  margin: 0 0 4px;
  font-size: 22px;
  color: #fff;
}

.donation-card-head p{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.donation-table{
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.donation-table th,
.donation-table td{
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.donation-table thead th{
  background: rgba(0,0,0,.18);
  color: #f5e5b0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.donation-table tbody td{
  color: #f3f4f6;
}

.donation-table tbody tr:nth-child(even){
  background: rgba(255,255,255,.03);
}

.donation-table tbody tr:hover{
  background: rgba(201,178,107,.08);
}

.donation-table td:last-child,
.donation-table th:last-child{
  text-align: right;
  white-space: nowrap;
  font-weight: 800;
}

@media (max-width: 900px){
  .donations-grid{
    grid-template-columns: 1fr;
  }
}

/* ===========================
   MEMORIAL BRICK FUND SECTION
=========================== */

.mbf-section{
  margin-top: 40px;
}

.mbf-shell{
  border: 1px solid rgba(33,42,53,.85);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(17,21,27,.98), rgba(13,16,20,.96));
  box-shadow: var(--shadow);
}

.mbf-head{
  position: relative;
  padding: 28px 28px 24px;
  background: linear-gradient(135deg, rgba(31,58,45,.96), rgba(18,37,29,.96));
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.mbf-head::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:100%;
  height:4px;
  background: linear-gradient(90deg, #c9b26b, #e7d391, #c9b26b);
}

.mbf-kicker{
  display:inline-block;
  margin-bottom:10px;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(201,178,107,.18);
  color:#f0dfaa;
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.mbf-head h2{
  margin:0 0 6px;
  font-size: clamp(28px, 4vw, 42px);
  line-height:1.05;
  color:#fff;
}

.mbf-sub{
  margin:0;
  color: rgba(255,255,255,.8);
  font-size:15px;
}

.mbf-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:24px;
  padding:24px;
}

.mbf-card{
  border: 1px solid rgba(201,178,107,.16);
  border-radius: 18px;
  overflow:hidden;
  background: rgba(255,255,255,.03);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}

.mbf-card-head{
  padding:18px 20px 16px;
  background: linear-gradient(135deg, rgba(201,178,107,.12), rgba(47,143,91,.10));
  border-bottom:1px solid rgba(255,255,255,.06);
}

.mbf-card-head h3{
  margin:0 0 4px;
  font-size:22px;
  color:#fff;
}

.mbf-card-head p{
  margin:0;
  color: var(--muted);
  font-size:14px;
}

.mbf-table{
  width:100%;
  border-collapse:collapse;
  font-size:15px;
}

.mbf-table th,
.mbf-table td{
  padding:12px 14px;
  text-align:left;
  border-bottom:1px solid rgba(255,255,255,.07);
}

.mbf-table thead th{
  background: rgba(0,0,0,.18);
  color:#f5e5b0;
  font-size:13px;
  font-weight:800;
  letter-spacing:.05em;
  text-transform:uppercase;
}

.mbf-table tbody td{
  color:#f3f4f6;
}

.mbf-table tbody tr:nth-child(even){
  background: rgba(255,255,255,.03);
}

.mbf-table tbody tr:hover{
  background: rgba(201,178,107,.08);
}

.mbf-table td:last-child,
.mbf-table th:last-child{
  text-align:right;
  white-space:nowrap;
  font-weight:800;
}

@media (max-width: 900px){
  .mbf-grid{
    grid-template-columns: 1fr;
  }
}