/* =================================================================
   sections.css
   Extracted section & page-specific styles moved out of style.css

   Sections:
   01. Designation (Office Bearers)
   02. Membership Terms
   03. Mahasabha Home Section (ms-home-sec)
   04. Mahasabha Sakhasamiti Page
   05. Branch Committee Home Preview (branch-preview)
   06. Branch Committee Page (branch-sec)
   07. Working Committee Page (wc-sec)
   08. Goddess Section (goddess-sec / goddess-sec-inner)
   09. Address Section (address-sec)
   ================================================================= */


/* =================================================================
   01. DESIGNATION — Office Bearers Section
   ================================================================= */
.designation {
  background: #fdf8f3;
}
.designation-card {
  padding: 1.75rem 1.5rem;
  border: 1px solid #dfdbcf;
  border-top: 4px solid #833e00;
  background: #fff;
  text-align: center;
  margin-bottom: 1.5rem;
  transition: all ease 0.3s 0s;
}
.designation-card:hover {
  box-shadow: 0 6px 24px rgba(131, 62, 0, 0.12);
  transform: translateY(-4px);
}
.designation-card .desig-role {
  color: #833e00;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.designation-card .desig-role span {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  color: #999;
  text-transform: none;
  letter-spacing: 0;
}
.designation-card .desig-name {
  color: #1a1a1a;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
}
.designation-card .desig-name-en {
  color: #666;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  font-style: italic;
}

/* Featured President Card */
.designation-card.desig-featured {
  border-top: 4px solid #c8860a;
  background: linear-gradient(160deg, #fffaf4 0%, #fff 60%);
  box-shadow: 0 8px 40px rgba(131, 62, 0, 0.14);
  padding: 2rem 2rem 1.75rem;
}
.designation-card.desig-featured:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(131, 62, 0, 0.18);
}
.desig-photo-wrap {
  width: 160px;
  height: 160px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow:
    0 0 0 3px #c8860a,
    0 6px 24px rgba(131, 62, 0, 0.2);
  background: #87ceeb;
}
.desig-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.designation-card.desig-featured .desig-role {
  font-size: 1.2rem;
  color: #7a3800;
}
.designation-card.desig-featured .desig-name {
  font-size: 1.2rem;
}


/* =================================================================
   02. MEMBERSHIP TERMS SECTION
   ================================================================= */
.membership-terms {
  background: #fff;
}
.terms-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.terms-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  border: 1px solid #dfdbcf;
  border-left: 4px solid #833e00;
  background: #fdf8f3;
}
.terms-icon {
  font-size: 1.25rem;
  color: #833e00;
  flex-shrink: 0;
  margin-top: 0.2rem;
}
.terms-text p {
  color: #1a1a1a;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}
.terms-text p.terms-en {
  color: #666;
  font-size: 0.875rem;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 0;
  padding-top: 0.5rem;
  border-top: 1px dashed #dfdbcf;
}
.terms-price-banner {
  background: #1a1a1a;
  color: #fff;
  text-align: center;
  padding: 1.25rem 2rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.02em;
}
.terms-price-banner span {
  display: block;
  font-size: 0.875rem;
  font-weight: 400;
  color: #ccc;
  margin-top: 0.25rem;
}


/* =================================================================
   03. MAHASABHA HOME SECTION (ms-home-sec)
   ================================================================= */
.ms-home-sec { background: #fdf8f3; }
.ms-home-highlights { display: flex; gap: 1rem; margin-top: 1.25rem; }
.ms-hl-item { background: #fff; border: 1px solid #dfdbcf; border-left: 3px solid #833e00; padding: 0.75rem 1rem; text-align: center; flex: 1; }
.ms-hl-item span { display: block; font-size: 1.5rem; font-weight: 700; color: #833e00; line-height: 1; }
.ms-hl-item small { color: #666; font-size: 0.75rem; }
.ms-home-programs { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.ms-home-programs span { background: #833e00; color: #fff; font-size: 0.78rem; padding: 0.2rem 0.75rem; }
.ms-home-card-link { text-decoration: none; display: block; }
.ms-home-card { background: #fff; border: 1px solid #dfdbcf; overflow: hidden; box-shadow: 0 4px 20px rgba(131,62,0,0.10); transition: transform 0.3s; }
.ms-home-card:hover { transform: translateY(-4px); }
.ms-home-card-header { background: #833e00; color: #fff; font-size: 1rem; font-weight: 600; padding: 0.875rem 1.25rem; }
.ms-home-sessions { padding: 0.75rem 1.25rem; }
.ms-session-row { display: flex; justify-content: space-between; padding: 0.4rem 0; border-bottom: 1px dashed #f0ece4; font-size: 0.875rem; color: #333; }
.ms-session-row:last-child { border-bottom: none; }
.ms-session-latest { color: #833e00; font-weight: 600; }
.ms-home-card-footer { background: #1a1a1a; color: #fff; text-align: center; padding: 0.75rem; font-size: 0.85rem; }


/* =================================================================
   04. MAHASABHA SAKHASAMITI PAGE
   ================================================================= */
.ms-sec { background: #fdf8f3; }
.ms-intro { color: #555; font-size: 1rem; margin-top: 0.5rem; }
.ms-badge { display: inline-block; background: #833e00; color: #fff; font-size: 0.8rem; padding: 0.4rem 1.25rem; margin-top: 0.75rem; }
.ms-content-box { background: #fff; border: 1px solid #dfdbcf; border-top: 4px solid #833e00; padding: 2rem; }
.ms-box-title { color: #833e00; font-size: 1.2rem; font-weight: 700; margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid #dfdbcf; }
.ms-program-card { background: #fff; border: 1px solid #dfdbcf; border-left: 4px solid #833e00; padding: 1.5rem; height: 100%; }
.ms-program-card h5 { color: #833e00; font-size: 1rem; font-weight: 700; margin-bottom: 0.75rem; }
.ms-fee-table { background: #fdf8f3; border: 1px solid #dfdbcf; padding: 0.75rem; margin-top: 0.75rem; }
.ms-fee-row { display: flex; justify-content: space-between; padding: 0.3rem 0; border-bottom: 1px dashed #dfdbcf; font-size: 0.85rem; }
.ms-fee-row:last-child { border-bottom: none; }
.ms-fee-row strong { color: #833e00; }
.ms-scholarship-card { background: #fdf8f3; border: 1px solid #dfdbcf; border-top: 3px solid #c8860a; padding: 1.25rem; height: 100%; }
.ms-scholarship-card h6 { color: #833e00; font-weight: 700; margin-bottom: 0.5rem; }
.ms-list { list-style: none; padding: 0; margin: 0; }
.ms-list li { font-size: 0.875rem; color: #333; padding: 0.2rem 0; padding-left: 1rem; position: relative; }
.ms-list li::before { content: "★"; position: absolute; left: 0; color: #c8860a; font-size: 0.65rem; top: 0.2rem; }
.ms-duty-card { background: #fff; border: 1px solid #dfdbcf; border-top: 3px solid #833e00; padding: 1.25rem; height: 100%; }
.ms-duty-role { color: #833e00; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.25rem; }
.ms-duty-name { color: #1a1a1a; font-size: 1rem; font-weight: 700; margin-bottom: 0.75rem; padding-bottom: 0.5rem; border-bottom: 1px dashed #dfdbcf; }
.ms-duty-list { list-style: none; padding: 0; margin: 0; }
.ms-duty-list li { font-size: 0.85rem; color: #444; padding: 0.2rem 0 0.2rem 1rem; position: relative; }
.ms-duty-list li::before { content: "★"; position: absolute; left: 0; color: #c8860a; font-size: 0.6rem; top: 0.25rem; }
.ms-governing-list { list-style: none; padding: 0; margin: 0; }
.ms-governing-list li { font-size: 0.95rem; color: #333; padding: 0.35rem 0; border-bottom: 1px dashed #f0ece4; display: flex; align-items: baseline; gap: 0.25rem; }
.ms-governing-list li::before { content: "★"; color: #833e00; font-size: 0.65rem; flex-shrink: 0; }
.ms-governing-list li span { color: #888; font-size: 0.8rem; margin-left: auto; }
.ms-table-wrap { overflow-x: auto; }
.ms-history-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.ms-history-table th { background: #833e00; color: #fff; padding: 0.75rem 1rem; text-align: left; white-space: nowrap; }
.ms-history-table td { padding: 0.6rem 1rem; border-bottom: 1px solid #f0ece4; color: #333; }
.ms-history-table tr:nth-child(even) td { background: #fdf8f3; }
.ms-history-table tr:hover td { background: #fff3e0; }
.ms-latest-row td { background: #ffe6d0 !important; font-weight: 600; color: #833e00 !important; }


/* =================================================================
   05. BRANCH COMMITTEE HOME PREVIEW (branch-preview)
   ================================================================= */
.branch-preview {
  background: #fff;
}
.branch-preview-stats {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.bp-stat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid #dfdbcf;
  border-left: 3px solid #833e00;
  background: #fdf8f3;
}
.bp-num {
  font-size: 1.75rem;
  font-weight: 700;
  color: #833e00;
  line-height: 1;
}
.bp-label {
  color: #555;
  font-size: 0.85rem;
  line-height: 1.4;
}
.bp-label small {
  color: #999;
  font-size: 0.75rem;
}
.branch-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.bp-card {
  background: #fdf8f3;
  border: 1px solid #dfdbcf;
  border-left: 3px solid #c8860a;
  padding: 0.6rem 0.875rem;
  font-size: 0.875rem;
  color: #333;
  line-height: 1.4;
  cursor: default;
  transition: background 0.2s;
}
.bp-card:hover {
  background: #fff3e0;
}
.bp-card span {
  color: #833e00;
  font-weight: 700;
  font-size: 0.75rem;
  margin-right: 0.25rem;
}
.bp-card-more {
  background: #833e00;
  border-color: #833e00;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bp-card-more a {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}
.bp-card-more:hover {
  background: #6b3200;
}


/* =================================================================
   06. BRANCH COMMITTEE PAGE (branch-sec)
   ================================================================= */
.branch-sec {
  background: #fdf8f3;
}
.branch-intro {
  color: #444;
  font-size: 1rem;
  line-height: 1.7;
  margin-top: 0.5rem;
}
.branch-intro span {
  color: #888;
  font-size: 0.875rem;
  font-style: italic;
}
.branch-issue-badge {
  display: inline-block;
  background: #833e00;
  color: #fff;
  font-size: 0.8rem;
  padding: 0.4rem 1.25rem;
  margin-top: 0.75rem;
  letter-spacing: 0.02em;
}
.branch-card {
  background: #fff;
  border: 1px solid #dfdbcf;
  border-top: 3px solid #833e00;
  padding: 1.25rem 1.25rem 1rem;
  height: 100%;
  position: relative;
  transition: box-shadow 0.3s, transform 0.3s;
}
.branch-card:hover {
  box-shadow: 0 6px 24px rgba(131, 62, 0, 0.12);
  transform: translateY(-3px);
}
.branch-num {
  position: absolute;
  top: -1px;
  right: 1rem;
  background: #833e00;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.6rem;
  letter-spacing: 0.05em;
}
.branch-card h5 {
  color: #1a1a1a;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.875rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px dashed #dfdbcf;
  line-height: 1.4;
}
.branch-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.branch-card ul li {
  display: flex;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #333;
  padding: 0.25rem 0;
  line-height: 1.5;
  border-bottom: 1px dotted #f0ece4;
}
.branch-card ul li:last-child {
  border-bottom: none;
}
.branch-card ul li .role {
  color: #833e00;
  font-size: 0.78rem;
  font-weight: 600;
  min-width: 70px;
  flex-shrink: 0;
  padding-top: 0.05rem;
}
.branch-card ul li em {
  color: #999;
  font-size: 0.8rem;
}
.branch-footer-note {
  background: #1a1a1a;
  color: #fff;
  text-align: center;
  padding: 1rem 1.5rem;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}


/* =================================================================
   07. WORKING COMMITTEE PAGE (wc-sec)
   ================================================================= */
.wc-sec {
  background: #fdf8f3;
}
.wc-subtitle {
  color: #333;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 780px;
  margin: 0.75rem auto 0.25rem;
}
.wc-subtitle-en {
  color: #888;
  font-size: 0.85rem;
  font-style: italic;
  max-width: 680px;
  margin: 0 auto 0.75rem;
}
.wc-session-badge {
  display: inline-block;
  background: #833e00;
  color: #fff;
  font-size: 0.875rem;
  padding: 0.4rem 1.25rem;
  margin-top: 0.5rem;
}
.wc-role-card {
  background: #fff;
  border: 1px solid #dfdbcf;
  border-top: 4px solid #dfdbcf;
  padding: 1.5rem;
  height: 100%;
}
.wc-role-card.primary {
  border-top-color: #833e00;
  background: #fffaf6;
}
.wc-role-title {
  color: #833e00;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #dfdbcf;
}
.wc-role-title span {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: #999;
  text-transform: none;
  letter-spacing: 0;
  margin-top: 0.1rem;
}
.wc-member-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.wc-member-list li {
  color: #1a1a1a;
  font-size: 0.95rem;
  line-height: 1.6;
  padding: 0.3rem 0;
  border-bottom: 1px dashed #f0ece4;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}
.wc-member-list li:last-child {
  border-bottom: none;
}
.wc-member-list li::before {
  content: "★";
  color: #833e00;
  font-size: 0.65rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.wc-member-list li.wc-region {
  color: #833e00;
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: 0.5rem;
  border-bottom: none;
}
.wc-member-list li.wc-region::before {
  content: "";
}
.wc-member-list .loc {
  color: #888;
  font-size: 0.85rem;
  white-space: nowrap;
}
.wc-footer-note {
  background: #1a1a1a;
  color: #fff;
  padding: 1.25rem 1.75rem;
  font-size: 1rem;
  line-height: 1.7;
  text-align: center;
}
.wc-footer-note span {
  display: block;
  color: #aaa;
  font-size: 0.85rem;
  font-style: italic;
  margin-top: 0.4rem;
}


/* =================================================================
   08. GODDESS SECTION (goddess-sec / goddess-sec-inner)
   ================================================================= */
.goddess-sec {
  background: linear-gradient(135deg, #fff8f0 0%, #fdf3e8 50%, #fff8f0 100%);
  position: relative;
  overflow: hidden;
}
.goddess-sec::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(131, 62, 0, 0.04);
  pointer-events: none;
}
.goddess-sec::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(131, 62, 0, 0.04);
  pointer-events: none;
}
.goddess-sec-inner {
  padding: 4rem 0;
  position: relative;
  z-index: 1;
}
.goddess-img-outer {
  display: inline-block;
  position: relative;
}
.goddess-img-ring {
  display: inline-block;
  position: relative;
  padding: 10px;
  background: linear-gradient(145deg, #fff 60%, #fdf3e8 100%);
  border-radius: 12px;
  box-shadow:
    0 2px 0 #c8860a,
    0 4px 0 #e8a020,
    0 6px 0 #c8860a,
    0 12px 40px rgba(131, 62, 0, 0.22),
    inset 0 1px 3px rgba(255,255,255,0.9);
  border: 2px solid #d4960e;
}
.goddess-img-ring::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1.5px solid rgba(212, 150, 14, 0.4);
  border-radius: 8px;
  pointer-events: none;
  z-index: 0;
}
.goddess-img-ring::after {
  content: "✦";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  color: #c8860a;
  font-size: 1.4rem;
  background: #fff8f0;
  padding: 0 6px;
  line-height: 1;
}
.goddess-img-wrap {
  display: block;
  position: relative;
  z-index: 1;
  border-radius: 8px;
  overflow: hidden;
}
.goddess-img-wrap img {
  width: 300px;
  height: 340px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.10));
}
.goddess-caption {
  margin-top: 1.25rem;
  color: #5a3000;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
.goddess-mahasabha {
  display: inline-block;
  background: linear-gradient(90deg, #833e00, #b85a00);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.35rem 1.5rem;
  margin-top: 0.5rem;
  letter-spacing: 0.04em;
  border-radius: 2px;
}
.goddess-title {
  color: #833e00;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}
.goddess-divider {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.goddess-divider span {
  display: inline-block;
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, #833e00, #e8a020);
  border-radius: 2px;
}
.goddess-divider::after {
  content: "✦";
  color: #c8860a;
  font-size: 0.85rem;
}
.goddess-subtitle {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  color: #833e00;
  margin-bottom: 1.25rem;
  padding: 0.35rem 1rem;
  background: rgba(131, 62, 0, 0.07);
  border-left: 3px solid #833e00;
  font-style: normal;
}


/* =================================================================
   09. ADDRESS SECTION (address-sec)
   ================================================================= */
.address-sec {
  background: #fdf8f3;
}
.address-main-banner {
  background: #fff;
  border: 1px solid #dfdbcf;
  border-top: 4px solid #833e00;
  padding: 1.5rem 2rem;
  text-align: center;
}
.addr-main-label {
  color: #1a1a1a;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.5;
}
.addr-main-label-en {
  color: #666;
  font-size: 0.85rem;
  font-style: italic;
  margin-bottom: 0.5rem;
}
.addr-main-value {
  color: #833e00;
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 0.5rem;
}
.addr-main-value-en {
  color: #444;
  font-size: 0.875rem;
}
.address-card {
  background: #fff;
  border: 1px solid #dfdbcf;
  border-left: 4px solid #833e00;
  padding: 1.5rem;
  height: 100%;
  display: flex;
  gap: 1rem;
}
.addr-icon {
  font-size: 1.1rem;
  color: #833e00;
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.addr-body h5 {
  color: #1a1a1a;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  line-height: 1.4;
}
.addr-body .addr-sub {
  color: #888;
  font-size: 0.8rem;
  font-style: italic;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}
.addr-body .addr-title {
  color: #333;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.addr-body .addr-details {
  color: #444;
  font-size: 0.9rem;
  margin-bottom: 0.1rem;
}
.addr-body .addr-details-en {
  color: #888;
  font-size: 0.8rem;
  font-style: italic;
  margin-bottom: 0.75rem;
}
.addr-payee {
  background: #fdf8f3;
  border: 1px dashed #dfdbcf;
  padding: 0.625rem 0.875rem;
  margin-top: 0.5rem;
}
.addr-payee span {
  display: block;
  color: #666;
  font-size: 0.8rem;
  margin-bottom: 0.2rem;
}
.addr-payee strong {
  color: #833e00;
  font-size: 0.95rem;
}
.address-contact-banner {
  background: #1a1a1a;
  padding: 2rem;
  color: #fff;
}
.acb-title {
  color: #ccc;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.acb-phone {
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}
.acb-time {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.1rem;
}
.acb-time-en {
  color: #888;
  font-size: 0.85rem;
  font-style: italic;
}
