/* Member & Benefits section */
.page-hero--member .page-hero-inner,
.page-hero-inner.page-centered {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.page-centered {
  max-width: 1100px;
  margin: 0 auto;
}
.member-page-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--border-strong, var(--border));
  border-radius: var(--radius-lg, 12px);
  position: static;
  z-index: auto;
  top: auto;
  box-shadow: var(--shadow-card, 0 8px 24px rgba(0, 40, 104, 0.12));
}
.member-page-nav a {
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 4px;
}
.member-page-nav a:hover {
  background: var(--cream);
  color: var(--gold-dark);
}
.member-page-nav-cta {
  background: var(--gold) !important;
  color: white !important;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.gallery-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.gallery-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.gallery-card figcaption {
  padding: 14px;
  font-size: 14px;
  text-align: center;
}
.gallery-event {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}
.gallery-desc {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}
.gallery-placeholder {
  aspect-ratio: 4/3;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 2.5rem;
}
.gallery-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 6px;
  margin-bottom: 12px;
}
.gallery-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.gallery-video-card {
  text-align: center;
}
.gallery-video-card h3 {
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.gallery-ext-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--gold-dark);
}
.gallery-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.gallery-video-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
}
.gallery-meta {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 0.75rem;
}
.job-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.job-card h3 {
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.job-card.card-clickable:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.08); }
.job-meta {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 0.75rem;
}
.job-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 1rem;
}

/* Buttons on light membership pages (site.css btn-outline is hero/white only) */
.member-page .btn-primary,
.member-page button.btn-primary {
  background: var(--gold);
  color: #fff;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
}
.member-page .btn-primary:hover,
.member-page button.btn-primary:hover {
  background: var(--gold-dark);
  color: #fff;
}
.member-page .btn-outline {
  background: #fff;
  color: var(--navy);
  border: 1.5px solid rgba(13, 42, 82, 0.35);
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.member-page .btn-outline:hover {
  background: var(--cream);
  border-color: var(--gold);
  color: var(--gold-dark);
}
.member-page .btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}
.member-session-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.job-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.job-status {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
  flex-shrink: 0;
}
.job-status--pending {
  background: #fff8e1;
  color: #f57f17;
}
.job-status--approved {
  background: #e8f5e9;
  color: #2e7d32;
}
.job-status--rejected {
  background: #ffebee;
  color: #c62828;
}
.job-rejection-reason {
  font-size: 14px;
  color: var(--muted);
  margin-top: 0.5rem;
}
.job-card-title-link {
  color: var(--navy);
  text-decoration: none;
}
.job-card-title-link:hover {
  color: var(--gold);
  text-decoration: underline;
}
.job-card-excerpt {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 0.75rem;
}
.job-detail-back {
  margin: 0 0 1.25rem;
  font-size: 14px;
}
.job-detail-back a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}
.job-detail-back a:hover {
  text-decoration: underline;
}
.job-detail-meta {
  display: grid;
  gap: 0.65rem;
  margin: 0 0 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--cream);
  border-radius: 8px;
  border: 0.5px solid var(--border);
}
.job-detail-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.5rem 1rem;
  font-size: 14px;
}
.job-detail-row dt {
  font-weight: 600;
  color: var(--navy);
  margin: 0;
}
.job-detail-row dd {
  margin: 0;
  color: var(--text);
}
.job-detail-row dd a {
  color: var(--navy);
}
.job-detail-description {
  margin-bottom: 1.5rem;
}
.job-detail-body {
  font-size: 15px;
  line-height: 1.65;
  white-space: pre-wrap;
}
.job-detail-actions {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 0.5px solid var(--border);
}
@media (max-width: 600px) {
  .job-detail-row {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}
.network-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.page-hero-subtitle {
  opacity: 0.88;
  margin: 10px auto 0;
  max-width: 720px;
  font-size: 1.05rem;
  line-height: 1.55;
  text-align: center;
}
.page-hero--member h1 {
  text-align: center;
}
.section-heading--centered {
  text-align: center;
}

.member-page {
  max-width: 1100px;
}
.section-heading {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.member-section {
  margin-bottom: 2.5rem;
}
.member-section p {
  color: var(--muted);
}
.member-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 1rem;
  padding: 14px 16px;
  background: var(--gold-light);
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--text);
}
.member-note i {
  color: var(--gold-dark);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.content-block {
  position: relative;
}

.table-wrap {
  overflow-x: auto;
  margin-top: 1rem;
}
.member-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}
.member-table th,
.member-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.member-table th {
  background: var(--navy);
  color: white;
  font-weight: 600;
}
.member-table tbody tr:hover {
  background: var(--cream);
}

.member-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.member-info-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
}
.member-info-card h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.member-info-card p {
  font-size: 0.95rem;
  color: var(--muted);
}

.member-steps {
  margin: 1rem 0 0 1.25rem;
  color: var(--muted);
}
.member-steps li {
  margin-bottom: 0.5rem;
}

.member-cta-banner {
  text-align: center;
  background: var(--navy);
  color: white;
  padding: 2.5rem 2rem;
  border-radius: 10px;
  margin-top: 2rem;
}
.member-cta-banner h2 {
  font-family: "Playfair Display", serif;
  margin-bottom: 0.75rem;
}
.member-cta-banner p {
  opacity: 0.85;
  margin-bottom: 1.25rem;
}
.member-page .member-cta-banner .btn-primary,
.member-cta-banner .btn-primary {
  display: inline-block;
  margin: 0 6px;
}
.member-page .member-cta-banner .btn-outline,
.member-cta-banner .btn-outline {
  display: inline-block;
  margin: 0 6px;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
}
.member-page .member-cta-banner .btn-outline:hover,
.member-cta-banner .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  color: var(--gold);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.benefit-card {
  background: white;
  border: 1px solid var(--border-strong, var(--border));
  border-radius: var(--radius-lg, 12px);
  padding: 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.benefit-card:hover {
  box-shadow: 0 8px 24px rgba(13, 42, 82, 0.08);
  transform: translateY(-2px);
}
.benefit-card-icon {
  width: 52px;
  height: 52px;
  background: var(--surface-blue, var(--gold-light));
  border: 1px solid rgba(0, 40, 104, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--navy);
  font-size: 1.4rem;
}
.benefit-card:nth-child(3n + 2) .benefit-card-icon {
  background: var(--surface-red, var(--gold-light));
  color: var(--gold-dark);
}
.benefit-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.benefit-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
}

.network-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.network-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
}
.network-card--wide {
  grid-column: 1 / -1;
}
.network-card-icon {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.network-card h2 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.network-card p {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.program-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.program-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
}
.program-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}
.program-card-icon {
  width: 42px;
  height: 42px;
  background: var(--gold-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  font-size: 1.25rem;
}
.program-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
}
.program-card-meta {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.program-card-meta dt {
  font-weight: 600;
  font-size: 13px;
  color: var(--navy);
}
.program-card-meta dd {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0 0 0.5rem;
}

.recognition-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.recognition-category {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
}
.recognition-category h3 {
  font-size: 1rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.5rem;
}
.recognition-category h3 i {
  color: var(--gold);
}
.recognition-category p {
  font-size: 0.95rem;
  color: var(--muted);
}

.member-form-section {
  background: white;
  border: 1px solid var(--border-strong, var(--border));
  border-radius: var(--radius-lg, 12px);
  padding: 2rem;
  box-shadow: var(--shadow-card, 0 8px 24px rgba(0, 40, 104, 0.08));
}

.member-login-page {
  display: flex;
  justify-content: center;
  padding-top: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.member-login-shell {
  width: min(100%, 520px);
  margin: 0 auto;
}
.member-login-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border: 1px solid var(--border-strong, var(--border));
  border-radius: var(--radius-xl, 20px);
  background: #fff;
  box-shadow: var(--shadow-card, 0 14px 40px rgba(0, 40, 104, 0.09));
}
.member-login-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
}
.member-login-card h2 {
  margin: 0 0 0.35rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.65rem, 3vw, 2rem);
  color: var(--navy);
  letter-spacing: -0.02em;
}
.member-login-lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
.member-login-form {
  margin-top: 0;
}
.member-login-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.5rem;
}
.member-login-forgot {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.member-login-forgot:hover {
  color: var(--gold-dark);
}
.member-login-footer {
  margin: 1.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  line-height: 1.55;
}
.member-login-footer a {
  color: var(--navy);
  font-weight: 600;
}
.input-field:focus {
  border-color: #4b87df;
  box-shadow: 0 0 0 3px rgba(75, 135, 223, 0.15);
  outline: 0;
}
.member-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
}
.form-field--checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
}
.form-field--checkbox input {
  margin-top: 4px;
}
.input-field {
  font-weight: 400;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font: inherit;
  width: 100%;
}
.field-error {
  color: #b71c1c;
  font-size: 12px;
  font-weight: 500;
}
.form-field-label {
  font-weight: 600;
  font-size: 14px;
}
.field-hint {
  font-weight: 400;
  font-size: 12px;
  color: var(--muted);
}
.profile-password-group {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.25rem 1.25rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.profile-password-group legend {
  font-weight: 600;
  font-size: 14px;
  padding: 0 6px;
}
.form-flash-group {
  margin-bottom: 1rem;
}
.form-flash {
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 14px;
}
.form-flash--success {
  background: #e8f5e9;
  color: #1b5e20;
}
.form-flash--error,
.form-flash--danger {
  background: #ffebee;
  color: #b71c1c;
}

.payment-placeholder {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--cream);
  border-radius: 8px;
  border: 1px dashed var(--border);
}
.payment-placeholder p {
  color: var(--muted);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.faq-item summary {
  padding: 16px 18px;
  font-weight: 600;
  cursor: pointer;
  color: var(--navy);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  color: var(--gold);
  font-size: 1.25rem;
  font-weight: 400;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-answer {
  padding: 0 18px 16px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.faq-answer a {
  color: var(--gold-dark);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .member-info-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .benefit-grid,
  .network-grid,
  .recognition-grid,
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* Profile Dashboard Layout */
.profile-dashboard {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}
.profile-sidebar {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  position: sticky;
  top: 100px;
}
.profile-avatar-circle {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-family: "Playfair Display", serif;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 12px rgba(212,175,55,0.3);
}
.profile-sidebar h3 {
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.profile-sidebar p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}
.profile-sidebar p i {
  color: var(--gold);
}
.profile-sidebar-links {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.profile-form-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.profile-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(13, 42, 82, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.profile-card:hover {
  box-shadow: 0 6px 16px rgba(13, 42, 82, 0.08);
}
.profile-card-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fafbfc;
}
.profile-card-header i {
  color: var(--gold);
  font-size: 1.25rem;
}
.profile-card-header h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--navy);
}
.profile-card-body {
  padding: 1.5rem;
}
.profile-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.5rem;
}

@media (max-width: 900px) {
  .profile-dashboard {
    grid-template-columns: 1fr;
  }
  .profile-sidebar {
    position: static;
  }
}
