/* ==========================================================
   ORGANIZATION PAGES — STRICT SITE CONSISTENCY
   - same rhythm as founder/contact
   - same premium card system (radius/shadow/border)
   - sticky image on desktop
========================================================== */

:root{
  --secY: 44px;
  --gridGap: 20px;

  --cardB: 1px solid rgba(2,6,23,.08);
  --cardShadow:
    0 22px 40px rgba(0,0,0,.08),
    0 10px 18px rgba(0,0,0,.06),
    0 0 0 1px rgba(255,255,255,.55) inset;
}

/* Page rhythm */
.orgAboutPage .section,
.orgHistoryPage .section{ padding: var(--secY) 0; }

/* Soft spiritual tint like your pages */
.orgAboutPage .section--tint,
.orgHistoryPage .section--tint{
  background:
    radial-gradient(circle at 18% 22%, rgba(255,92,0,.12), transparent 55%),
    radial-gradient(circle at 82% 28%, rgba(0,19,105,.12), transparent 60%),
    linear-gradient(180deg, rgba(0,19,105,.04), rgba(255,92,0,.03));
}

/* Hero (same system as founder) */
.pageHero{
  padding: 28px 0 18px;
  background:
    radial-gradient(circle at 12% 30%, rgba(255,92,0,.12), transparent 55%),
    radial-gradient(circle at 86% 20%, rgba(0,19,105,.12), transparent 55%),
    linear-gradient(180deg, rgba(0,19,105,.06), rgba(255,255,255,0));
  border-bottom: 1px solid rgba(2,6,23,.08);
}
.pageHero__title{ margin:0 0 6px; letter-spacing:.3px; }
.pageHero__sub{ margin:0; max-width:72ch; }

/* Layout shell */
.contentShell{ display:block; }

.contentGrid{
  display:grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: var(--gridGap);
  align-items:start;
}

/* ===== LEFT: Photo card ===== */
.orgFigure{
  margin:0;
  background:#fff;
  border-radius: 18px;
  border: var(--cardB);
  box-shadow: var(--cardShadow);
  overflow:hidden;
  transform: translateZ(0);
}

/* sticky on long content */
@media (min-width: 981px){
  .orgFigure{ position:sticky; top: calc(var(--siteHeaderH) + 16px); }
}

.orgFigure__media{
  position:relative;
  width:100%;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(circle at 35% 28%, rgba(255,92,0,.16), transparent 55%),
    radial-gradient(circle at 70% 22%, rgba(0,19,105,.16), transparent 60%),
    linear-gradient(180deg, rgba(2,6,23,.04), rgba(2,6,23,0));
  display:grid;
  place-items:center;
}

.orgFigure__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.orgFigure__media.is-missing::after{
  content:"Photo";
  font-family:"Cinzel", serif;
  font-weight:700;
  letter-spacing:.7px;
  color: rgba(0,19,105,.75);
  font-size:18px;
}

.orgFigure__badge{
  position:absolute;
  left:12px;
  top:12px;
  padding:8px 12px;
  border-radius:999px;
  background: rgb(255, 255, 255);
  border: 1px solid rgba(255,92,0,.38);
  color: var(--secondary);
  font-weight:800;
  font-size:12px;
  letter-spacing:.3px;
  backdrop-filter: blur(6px);
}

.orgFigure__cap{
  padding:14px 14px 16px;
  border-top: 1px solid rgba(2,6,23,.08);
  background: linear-gradient(180deg, rgba(0,19,105,.02), rgba(255,255,255,0));
}

.orgFigure__name{
  font-family:"Cinzel", serif;
  font-weight:800;
  color: var(--secondary);
  letter-spacing:.4px;
  margin:0 0 4px;
}
.orgFigure__meta{ margin:0; font-size:13px; }

/* ===== RIGHT: Content card (same premium feel) ===== */
.contentCard{
  background:#fff;
  border-radius: 18px;
  border: var(--cardB);
  box-shadow: var(--cardShadow);
  overflow:hidden;
}

.contentCard__cap{
  padding: 14px 18px;
  background: linear-gradient(180deg, rgba(0,19,105,.98), rgba(0,19,105,.88));
  color:#fff;
  position:relative;
}
.contentCard__cap::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:1px;
  background: rgba(255,255,255,.14);
}
.contentCard__title{
  margin:0;
  font-family:"Cinzel", serif;
  font-weight:800;
  letter-spacing:.7px;
  text-transform:uppercase;
  font-size:16px;
}

.contentCard__body{
  padding:18px;
  color: var(--text);
  line-height:1.9;
  font-size:14.5px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255,92,0,.04), transparent 42%),
    radial-gradient(circle at 90% 10%, rgba(0,19,105,.04), transparent 45%),
    linear-gradient(180deg, rgba(255,255,255,1), rgba(255,255,255,1));
}

/* justify like founder */
.contentCard__body p{
  margin:0 0 12px;
  text-align:justify;
  text-justify:inter-word;

  hyphens: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;

  overflow-wrap: normal;
  word-break: normal;
}

.contentCard__body p:last-child{ margin-bottom:0; }

/* Quote block inside content */
.orgQuote{
  margin:0 0 14px;
  padding:12px 14px;
  border-left:4px solid rgba(255,92,0,.9);
  background: rgba(0,19,105,.04);
  border-radius: 14px;
  font-style: italic;
  color: rgba(15,23,42,.88);
  line-height: 1.75;
}
.orgQuote__by{
  font-style: normal;
  font-weight: 700;
  color: var(--secondary);
  margin-left: 6px;
  white-space: nowrap;
}

/* Address highlight at end */
.orgAddress{
  padding-top: 10px;
  margin-top: 14px;
  border-top: 1px dashed rgba(2,6,23,.14);
}

/* Active submenu style (same system behavior) */
.orgAboutPage .submenu a.is-active,
.orgHistoryPage .submenu a.is-active{
  background:rgba(0,19,105,.06);
  color:var(--primary);
  font-weight:800;
}

/* Responsive */
@media (max-width: 980px){
  .contentGrid{ grid-template-columns: 1fr; }
  .orgFigure{ max-width: 520px; }
  .contentCard__body{ font-size:14px; }
}
@media (max-width: 640px){
  .orgQuote__by{ display:inline-block; margin-top:6px; white-space:normal; }
}


/* ==========================================================
   ✅ ORG ABOUT — SHOWCASE LAYOUT (APPENDED ONLY)
   (Existing CSS untouched; these styles enable your orgShell layout)
========================================================== */

.orgShell{
  display:grid;
  gap: 18px;
}

/* Top area: banner + facts */
.orgTop{
  display:grid;
  grid-template-columns: 1.6fr .9fr;
  gap: 18px;
  align-items: stretch;
}

/* Banner */
.orgBanner{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(2,6,23,.08);
  box-shadow: var(--shadow);
  background: rgba(0,19,105,.06);
  min-height: 320px;
}
.orgBanner img{
  width: 100%;
  height: 100%;
  display:block;
  object-fit: cover;
}
.orgBanner.is-missing::after{
  content:"Photo";
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  font-family:"Cinzel", serif;
  font-weight:800;
  letter-spacing:.6px;
  color: rgba(0,19,105,.75);
}
.orgBanner__overlay{
  position:absolute;
  inset:auto 0 0 0;
  padding: 16px 16px 14px;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.55));
  color:#fff;
}
.orgPill{
  display:inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: var(--secondary);
  font-weight: 800;
  font-size: 12px;
  border: 1px solid rgba(255,92,0,.35);
}
.orgBanner__title{
  margin: 10px 0 4px;
  font-family:"Cinzel", serif;
  font-weight: 800;
  letter-spacing: .5px;
  color:#fff;
}
.orgBanner__sub{
  margin: 0;
  color: rgba(255,255,255,.88);
}

/* Facts (mini cards) */
.orgFacts{
  display:grid;
  gap: 12px;
}
.orgFact{
  background:#fff;
  border-radius: 18px;
  border: 1px solid rgba(2,6,23,.08);
  box-shadow: var(--shadow);
  padding: 14px 14px;
}
.orgFact__k{
  font-size: 12px;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: .2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.orgFact__v{
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
}

/* Body: quote + content */
.orgBody{
  display:grid;
  grid-template-columns: 360px minmax(0,1fr);
  gap: 18px;
  align-items: stretch;
}

/* Quote card */
.orgQuoteCard{
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(255,92,0,.20);
  box-shadow: var(--shadow);
  padding: 20px;
  position: sticky;
  top: calc(var(--siteHeaderH) + 16px);
  background:
    radial-gradient(circle at 30% 10%, rgba(255,92,0,.10), transparent 55%),
    radial-gradient(circle at 90% 30%, rgba(0,19,105,.08), transparent 60%),
    #fff;
}

.orgQuoteCard__text{
  margin: 0;
  font-style: italic;
  line-height: 1.75;
  color: rgba(15,23,42,.90);
  text-align: left;
}
.orgQuoteCard__by{
  margin-top: 12px;
  font-weight: 800;
  color: var(--secondary);
}

/* Content card */
.orgContentCard{
  background:#fff;
  border-radius: 18px;
  border: 1px solid rgba(2,6,23,.08);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.orgContentCard__cap{
  padding: 14px 18px;
  background: linear-gradient(180deg, rgba(0,19,105,.98), rgba(0,19,105,.88));
  color:#fff;
  position: relative;
}
.orgContentCard__cap::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:1px;
  background: rgba(255,255,255,.14);
}
.orgContentCard__title{
  margin:0;
  font-family:"Cinzel", serif;
  font-weight:800;
  letter-spacing:.7px;
  text-transform: uppercase;
  font-size:16px;
}
.orgContentCard__body{
  padding: 18px;
  line-height: 1.9;
  font-size: 14.5px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255,92,0,.04), transparent 42%),
    radial-gradient(circle at 90% 10%, rgba(0,19,105,.04), transparent 45%),
    #fff;
}
.orgContentCard__body p{
  margin: 0 0 12px;
  text-align: justify;
  text-justify: inter-word;

  hyphens: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;

  overflow-wrap: normal;
  word-break: normal;
}
.orgContentCard__body p:last-child{ margin-bottom:0; }

/* Responsive */
@media (max-width: 980px){
  .orgTop{ grid-template-columns: 1fr; }
  .orgBody{ grid-template-columns: 1fr; }
  .orgQuoteCard{
    position: relative;
    top: auto;
  }
  .orgBanner{ min-height: 260px; }
}

/* ==========================================================
   ✅ ORG ABOUT — LISTS + CONTACT CARD (APPENDED ONLY)
========================================================== */

.orgSubTitle{
  margin: 18px 0 10px;
  font-family: "Cinzel", serif;
  font-weight: 800;
  letter-spacing: .35px;
  color: var(--secondary);
  position: relative;
  padding-left: 18px;
}
.orgSubTitle::before{
  content:"";
  position:absolute;
  left:0;
  
    /* ✅ PERFECT vertical middle alignment */
  top: 50%;
  transform: translateY(-50%);

  width:6px;
  height:6px;
  border-radius:999px;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(255,92,0,.14);
}

.orgPoints{
  margin: 6px 0 14px;
  padding-left: 20px;
}
.orgPoints li{
  margin: 8px 0;
  line-height: 1.85;
  text-align: justify;
  text-justify: inter-word;

  hyphens: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;

  overflow-wrap: normal;
  word-break: normal;
}

/* Address/communication card */
.orgContactCard{
  margin-top: 16px;
  border-radius: 18px;
  border: 1px solid rgba(2,6,23,.08);
  box-shadow: var(--shadow);
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 0%, rgba(255,92,0,.05), transparent 42%),
    radial-gradient(circle at 90% 10%, rgba(0,19,105,.05), transparent 45%),
    #fff;
}
.orgContactCard__cap{
  padding: 12px 16px;
  background: linear-gradient(180deg, rgba(0,19,105,.95), rgba(0,19,105,.88));
  color:#fff;
  font-family: "Cinzel", serif;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  font-size: 14px;
}
.orgContactGrid{
  padding: 14px 16px 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}
.orgContactItem{
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(2,6,23,.08);
  background: rgba(255,255,255,.85);
}
.orgContactLabel{
  font-size: 12px;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: .2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.orgContactValue{
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
}
.orgContactLink{
  color: var(--secondary);
  font-weight: 800;
  text-decoration: none;
}
.orgContactLink:hover{ color: var(--primary); }
.orgContactSep{
  margin: 0 6px;
  color: rgba(2,6,23,.45);
}

/* responsive */
@media (max-width: 980px){
  .orgContactGrid{ grid-template-columns: 1fr; }
}


/* ==========================================================
   ✅ FINAL OVERRIDE — Bottom line match (NO visual height change for left card)
   - Left column stretches (layout), but card remains same size + sticky
========================================================== */

.orgQuoteCol{
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.orgQuoteFill{
  flex: 1 1 auto;      /* takes remaining height to match right card bottom */
  min-height: 0;
  pointer-events: none;
}

@media (max-width: 980px){
  .orgQuoteCol{ display: block; }
  .orgQuoteFill{ display: none; }
}












/* ==========================================================
   ✅ ORGANIZATION — BRANCHES PAGE (APPENDED ONLY)
   - consistent with org-about (cards, cap bar, shadow, radius)
========================================================== */

.orgBranchesPage .section{ padding: var(--secY) 0; }

.orgBranchesPage .section--tint{
  background:
    radial-gradient(circle at 18% 22%, rgba(255,92,0,.12), transparent 55%),
    radial-gradient(circle at 82% 28%, rgba(0,19,105,.12), transparent 60%),
    linear-gradient(180deg, rgba(0,19,105,.04), rgba(255,92,0,.03));
}

/* Summary container matches premium card system */
.orgBranchesSummary{
  background:#fff;
  border-radius: 18px;
  border: 1px solid rgba(2,6,23,.08);
  box-shadow: var(--shadow);
  overflow:hidden;
}

/* Cap uses same navy gradient language as your content caps */
.orgBranchesSummary__cap{
  padding: 14px 18px 12px;
  background: linear-gradient(180deg, rgba(0,19,105,.98), rgba(0,19,105,.88));
  color:#fff;
  position: relative;
}
.orgBranchesSummary__cap::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:1px;
  background: rgba(255,255,255,.14);
}

.orgBranchesSummary__title{
  margin:0;
  font-family:"Cinzel", serif;
  font-weight:800;
  letter-spacing:.7px;
  text-transform: uppercase;
  font-size:16px;
}
.orgBranchesSummary__sub{
  margin: 6px 0 0;
  color: rgba(255,255,255,.86);
  max-width: 90ch;
}

/* Toolbar */
.orgBranchesToolbar{
  display:grid;
  grid-template-columns: 1.2fr 1.2fr auto;
  gap: 12px;
  padding: 14px 16px 12px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255,92,0,.04), transparent 42%),
    radial-gradient(circle at 90% 10%, rgba(0,19,105,.04), transparent 45%),
    #fff;
  border-bottom: 1px solid rgba(2,6,23,.08);
}

/* Search input */
.orgBranchesSearch{
  display:flex;
  align-items:center;
  gap: 10px;
  border: 1px solid rgba(2,6,23,.10);
  border-radius: 999px;
  padding: 10px 12px;
  background: rgba(255,255,255,.92);
}
.orgBranchesSearch__icon{
  font-weight: 900;
  color: rgba(0,19,105,.75);
}
.orgBranchesSearch__input{
  border: 0;
  outline: 0;
  width: 100%;
  font: inherit;
  font-size: 14px;
  color: var(--text);
  background: transparent;
}

/* Filters */
.orgBranchesFilters{
  display:flex;
  gap: 10px;
  align-items:center;
  flex-wrap: wrap;
}

.orgSelect{
  border: 1px solid rgba(2,6,23,.10);
  border-radius: 999px;
  padding: 10px 12px;
  background: rgba(255,255,255,.92);
  font: inherit;
  font-size: 14px;
  color: var(--text);
  outline: none;
}

.orgBranchesView{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap: 10px;
}

/* Buttons (kept compatible with your global btn system) */
.orgBtn{
  border: 1px solid rgba(2,6,23,.10);
  border-radius: 999px;
  padding: 10px 12px;
  background: rgba(255,255,255,.92);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--secondary);
  cursor: pointer;
  transition: transform .08s ease, background .18s ease, border-color .18s ease;
}
.orgBtn:active{ transform: translateY(1px); }
.orgBtn--primary{
  background: var(--primary);
  border-color: rgba(255,92,0,.35);
  color: #fff;
}
.orgBtn--ghost{
  background: rgba(0,19,105,.04);
  border-color: rgba(0,19,105,.12);
  color: var(--secondary);
}
.orgBtn--pill.is-active{
  background: rgba(0,19,105,.10);
  border-color: rgba(0,19,105,.18);
  color: var(--secondary);
}
.orgBtn--sm{
  padding: 8px 10px;
  font-size: 13px;
}

/* Meta row */
.orgBranchesMeta{
  display:flex;
  justify-content:space-between;
  gap: 12px;
  padding: 10px 16px 14px;
}
.orgBranchesCount{
  font-weight: 800;
  color: var(--secondary);
}
.orgBranchesHint{ font-size: 13px; }

/* Results wrapper */
.orgBranchesResults{ margin-top: 18px; }

/* List/Grid container */
.orgBranchesList{
  display:grid;
  gap: 14px;
}
.orgBranchesList.is-grid{
  grid-template-columns: repeat(2, minmax(0,1fr));
}
@media (max-width: 980px){
  .orgBranchesToolbar{
    grid-template-columns: 1fr;
  }
  .orgBranchesView{
    justify-content:flex-start;
  }
  .orgBranchesList.is-grid{
    grid-template-columns: 1fr;
  }
}

/* Branch card */
.orgBranchCard{
  background:#fff;
  border-radius: 18px;
  border: 1px solid rgba(2,6,23,.08);
  box-shadow: var(--shadow);
  overflow:hidden;
}

/* Cap: navy */
.orgBranchCard__cap{
  padding: 12px 16px 12px;
  background: linear-gradient(180deg, rgba(0,19,105,.98), rgba(0,19,105,.88));
  color:#fff;
  position: relative;
}
.orgBranchCard__cap::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:1px;
  background: rgba(255,255,255,.14);
}

.orgBranchCard__titleRow{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 10px;
}
.orgBranchCard__title{
  margin:0;
  font-family:"Cinzel", serif;
  font-weight: 800;
  letter-spacing: .4px;
  font-size: 15px;
}
.orgBranchCard__meta{
  margin-top: 6px;
  color: rgba(255,255,255,.86);
  font-size: 13px;
}

.orgBranchTag{
  display:inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: var(--secondary);
  font-weight: 800;
  font-size: 12px;
  border: 1px solid rgba(255,92,0,.35);
  white-space: nowrap;
}

/* Body */
.orgBranchCard__body{
  padding: 14px 16px 16px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255,92,0,.04), transparent 42%),
    radial-gradient(circle at 90% 10%, rgba(0,19,105,.04), transparent 45%),
    #fff;
}

.orgBranchGrid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 12px;
}
@media (max-width: 980px){
  .orgBranchGrid{
    grid-template-columns: 1fr;
  }
}

.orgBranchBlock{
  border: 1px solid rgba(2,6,23,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.88);
  padding: 12px 12px;
}
.orgBranchLabel{
  font-size: 12px;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: .2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.orgBranchValue{
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
}
.orgBranchLink{
  color: var(--secondary);
  font-weight: 800;
  text-decoration: none;
}
.orgBranchLink:hover{ color: var(--primary); }

.orgBranchActions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Empty state */
.orgEmpty{
  margin-top: 14px;
}
.orgEmpty__card{
  background:#fff;
  border-radius: 18px;
  border: 1px solid rgba(2,6,23,.08);
  box-shadow: var(--shadow);
  padding: 18px;
  text-align:center;
}
.orgEmpty__title{
  font-family:"Cinzel", serif;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: .35px;
  margin-bottom: 6px;
}
.orgEmpty__text{
  margin: 0 0 12px;
}


/* ==========================================================
   ORGANIZATION — BRANCHES PAGE (ENHANCED)
   - index page buttons look/hover replicated
   - live-search dropdown combobox
   - centered controls + full-width coverage
   - load more
========================================================== */

.orgBranchesPage .section{ padding: var(--secY) 0; }

/* replicate index page button hover behavior (scoped) */
.orgBranchesPage .btn{
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease, background .15s ease;
}
.orgBranchesPage .btn:hover{
  transform: translateY(-2px);
  box-shadow:0 14px 24px rgba(0,0,0,.14);
  filter: brightness(1.05);
}
.orgBranchesPage .btn:active{
  transform: translateY(0);
  box-shadow:0 10px 18px rgba(0,0,0,.10);
}

/* replicate index page btn--secondary orange (scoped) */
.orgBranchesPage .btn.btn--secondary{
  background: var(--primary);
  color:#fff;
  border:1px solid rgba(255,255,255,.18);
  padding:10px 18px;
  font-size:14px;
  font-weight:600;
  border-radius:999px;
  line-height:1;
  box-shadow:0 10px 18px rgba(0,0,0,.10);
}

/* Summary container */
.orgBranchesSummary{
  background:#fff;
  border-radius: 18px;
  border: 1px solid rgba(2,6,23,.08);
  box-shadow: var(--shadow);
  overflow:hidden;
}

/* Cap */
.orgBranchesSummary__cap{
  padding: 14px 18px 12px;
  background: linear-gradient(180deg, rgba(0,19,105,.98), rgba(0,19,105,.88));
  color:#fff;
  position: relative;
}
.orgBranchesSummary__cap::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:1px;
  background: rgba(255,255,255,.14);
}
.orgBranchesSummary__title{
  margin:0;
  font-family:"Cinzel", serif;
  font-weight:800;
  letter-spacing:.7px;
  text-transform: uppercase;
  font-size:16px;
}
.orgBranchesSummary__sub{
  margin: 6px 0 0;
  color: rgba(255,255,255,.86);
  max-width: 90ch;
}

/* Toolbar — centered + full coverage */
.orgBranchesToolbar{
  display:grid;
  grid-template-columns: 1.2fr 1.6fr .7fr;
  gap: 12px;
  padding: 14px 16px 12px;
  align-items:center;
  background:
    radial-gradient(circle at 20% 0%, rgba(255,92,0,.04), transparent 42%),
    radial-gradient(circle at 90% 10%, rgba(0,19,105,.04), transparent 45%),
    #fff;
  border-bottom: 1px solid rgba(2,6,23,.08);
}

/* Search */
.orgBranchesSearch{
  display:flex;
  align-items:center;
  gap: 10px;
  border: 1px solid rgba(2,6,23,.12);
  border-radius: 999px;
  padding: 10px 12px;
  background: rgba(255,255,255,.92);
}
.orgBranchesSearch__icon{
  font-weight: 900;
  color: rgba(0,19,105,.75);
}
.orgBranchesSearch__input{
  border: 0;
  outline: 0;
  width: 100%;
  font: inherit;
  font-size: 14px;
  color: var(--text);
  background: transparent;
}

/* Filters */
.orgBranchesFilters{
  display:flex;
  gap: 10px;
  align-items:center;
  justify-content:center; /* ✅ centered */
  flex-wrap:nowrap;
}
.orgBranchesView{
  display:flex;
  gap: 10px;
  justify-content:flex-end;
  align-items:center;
}

/* same size buttons for toolbar controls */
.orgCtlBtn{
  padding:10px 18px;
  min-height: 40px;
  white-space:nowrap;
}
.orgCtlBtn--toggle{
  min-width: 92px;
  opacity:.88;
}
.orgCtlBtn--toggle.is-active{
  opacity:1;
  filter: none;
  box-shadow:0 14px 24px rgba(0,0,0,.14);
}

/* Meta row */
.orgBranchesMeta{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 12px;
  padding: 10px 16px 14px;
}
.orgBranchesCount{
  font-weight: 800;
  color: var(--secondary);
}
.orgBranchesHint{ font-size: 13px; }

/* Results */
.orgBranchesResults{ margin-top: 18px; }

/* List/Grid container */
.orgBranchesList{
  display:grid;
  gap: 14px;
}
.orgBranchesList.is-grid{
  grid-template-columns: repeat(2, minmax(0,1fr));
}

/* Branch card */
.orgBranchCard{
  background:#fff;
  border-radius: 18px;
  border: 1px solid rgba(2,6,23,.08);
  box-shadow: var(--shadow);
  overflow:hidden;
}

/* Cap */
.orgBranchCard__cap{
  padding: 12px 16px 12px;
  background: linear-gradient(180deg, rgba(0,19,105,.98), rgba(0,19,105,.88));
  color:#fff;
  position: relative;
}
.orgBranchCard__cap::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:1px;
  background: rgba(255,255,255,.14);
}
.orgBranchCard__titleRow{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 10px;
}
.orgBranchCard__title{
  margin:0;
  font-family:"Cinzel", serif;
  font-weight: 800;
  letter-spacing: .4px;
  font-size: 15px;
}
.orgBranchCard__meta{
  margin-top: 6px;
  color: rgba(255,255,255,.86);
  font-size: 13px;
}

.orgBranchTag{
  display:inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: var(--secondary);
  font-weight: 800;
  font-size: 12px;
  border: 1px solid rgba(255,92,0,.35);
  white-space: nowrap;
}

/* Body */
.orgBranchCard__body{
  padding: 14px 16px 16px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255,92,0,.04), transparent 42%),
    radial-gradient(circle at 90% 10%, rgba(0,19,105,.04), transparent 45%),
    #fff;
}

.orgBranchGrid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 12px;
}

.orgBranchBlock{
  border: 1px solid rgba(2,6,23,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.88);
  padding: 12px 12px;
}
.orgBranchLabel{
  font-size: 12px;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: .2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.orgBranchValue{
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
}
.orgBranchLink{
  color: var(--secondary);
  font-weight: 800;
  text-decoration: none;
}
.orgBranchLink:hover{ color: var(--primary); }

.orgBranchActions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Load more */
.orgLoadMore{
  margin-top: 16px;
  display:flex;
  justify-content:center;
}
.orgLoadMore__btn{
  min-width: 220px;
}

/* Empty state */
.orgEmpty{
  margin-top: 14px;
}
.orgEmpty__card{
  background:#fff;
  border-radius: 18px;
  border: 1px solid rgba(2,6,23,.08);
  box-shadow: var(--shadow);
  padding: 18px;
  text-align:center;
}
.orgEmpty__title{
  font-family:"Cinzel", serif;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: .35px;
  margin-bottom: 6px;
}
.orgEmpty__text{ margin: 0 0 12px; }

/* -----------------------------------------
   LIVE SEARCH DROPDOWN (COMBOBOX)
------------------------------------------ */
.srOnly{
  position:absolute !important;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}

.orgCombo{
  position:relative;
  display:flex;
  align-items:center;
  border: 1px solid rgba(2,6,23,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  min-height: 40px;
  padding: 0 8px 0 12px;
  min-width: 220px;
}

.orgCombo__input{
  border:0;
  outline:0;
  font:inherit;
  font-size:14px;
  color: var(--text);
  background:transparent;
  width:100%;
  padding: 10px 8px;
}

.orgCombo__btn{
  border:0;
  background:transparent;
  cursor:pointer;
  font-size:14px;
  opacity:.8;
  padding: 0 10px;
}

.orgCombo__btn--static{
  pointer-events:none;
  cursor:default;
}

.orgCombo__menu{
  position:absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background:#fff;
  border:1px solid rgba(2,6,23,.10);
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(0,0,0,.12);
  overflow:hidden;
  z-index: 50;
  max-height: 260px;
  overflow:auto;
}

.orgCombo__opt{
  padding: 10px 12px;
  font-size:14px;
  cursor:pointer;
  display:flex;
  justify-content:space-between;
  gap:10px;
}
.orgCombo__opt:hover{
  background: rgba(0,19,105,.05);
}
.orgCombo__opt.is-muted{
  opacity:.75;
}
.orgCombo__opt strong{ font-weight:700; }

@media (max-width: 980px){
  .orgBranchesToolbar{ grid-template-columns: 1fr; }
  .orgBranchesFilters{ flex-wrap:wrap; justify-content:flex-start; }
  .orgBranchesView{ justify-content:flex-start; }
  .orgCombo{ width:100%; min-width: 0; }
  .orgCtlBtn{ width:100%; }
  .orgBranchesList.is-grid{ grid-template-columns: 1fr; }
  .orgBranchGrid{ grid-template-columns: 1fr; }
}

/* ==========================================================
   BRANCH PAGE POLISH (spacing + alignment + responsive)
========================================================== */
.orgBranchesSummary{
  overflow: visible;
}

.orgBranchesToolbar{
  overflow: visible;
  position: relative;
  z-index: 8;
  grid-template-columns: 1.2fr 1.6fr auto;
  column-gap: 10px;
}

.orgBranchesFilters,
.orgBranchesView{
  gap: 12px;
  align-items: center;
}

.orgBranchesFilters{
  justify-content: flex-end;
}

.orgBranchesView{
  justify-content: flex-start;
}

.orgCtlBtn{
  min-width: 96px;
}

.orgCombo{
  z-index: 20;
}

.orgCombo__menu{
  z-index: 40;
}

.orgBranchesPage .btn,
.orgBranchesPage .btn.btn--secondary{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 10px 18px rgba(0,0,0,.10);
}

.orgBranchGrid{
  gap: 14px;
}

.orgBranchBlock{
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  padding: 14px 12px;
}

.orgBranchLabel{
  font-size: 13px;
  text-align: center;
}

.orgBranchValue{
  font-size: 15px;
  text-align: center;
  line-height: 1.75;
  overflow-wrap:anywhere;
  word-break:break-word;
}

.orgBranchActions{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-top: 6px;
}

.orgBranchActions .btn{
  min-width: 120px;
}

.orgLoadMore{
  margin: 48px 0 24px;
}

@media (max-width: 980px){
  .orgBranchesToolbar{
    grid-template-columns: 1fr;
    row-gap: 10px;
  }

  .orgBranchesFilters{
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 100%;
  }

  .orgBranchesView{
    justify-content: flex-start;
    width: 100%;
  }

  .orgBranchesView .orgCtlBtn,
  .orgBranchesFilters #clearFilters{
    width: auto;
    min-width: 110px;
  }

  .orgCombo{
    width: 100%;
    min-width: 0;
  }

  .orgBranchesList.is-grid{
    grid-template-columns: 1fr;
  }

  .orgBranchGrid{
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 640px){
  .orgBranchesMeta{
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .orgBranchesFilters{
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .orgBranchesFilters #clearFilters{
    width: 100%;
    min-width: 0;
  }

  .orgBranchesView{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .orgBranchesView .orgCtlBtn{
    width: 100%;
    min-width: 0;
  }

  .orgBranchActions{
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding-top: 2px;
  }

  .orgBranchActions .btn{
    width: 100%;
    min-width: 0;
  }

  .orgLoadMore{
    margin: 36px 0 20px;
  }

  .orgLoadMore__btn{
    width: 100%;
    max-width: 280px;
    min-width: 0;
  }
}

/* ==========================================================
   ORGANIZATION — EVENTS PAGE (HYBRID TABLE + CARDS)
   append-only, scoped to .orgEventsPage
========================================================== */
.orgEventsPage .section{
  padding: var(--secY) 0;
}

.orgEventsPage .section--tint{
  background:
    radial-gradient(circle at 18% 22%, rgba(255,92,0,.12), transparent 55%),
    radial-gradient(circle at 82% 28%, rgba(0,19,105,.12), transparent 60%),
    linear-gradient(180deg, rgba(0,19,105,.04), rgba(255,92,0,.03));
}

.orgEventsPage .submenu a.is-active{
  background: rgba(0,19,105,.06);
  color: var(--primary);
  font-weight: 800;
}

.orgEventsSummary{
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(2,6,23,.08);
  box-shadow: var(--shadow);
  overflow: visible;
}

.orgEventsSummary__cap{
  padding: 14px 18px 12px;
  background: linear-gradient(180deg, rgba(0,19,105,.98), rgba(0,19,105,.88));
  color: #fff;
  position: relative;
}
.orgEventsSummary__cap::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(255,255,255,.14);
}

.orgEventsSummary__title{
  margin: 0;
  font-family: "Cinzel", serif;
  font-weight: 800;
  letter-spacing: .7px;
  text-transform: uppercase;
  font-size: 16px;
}

.orgEventsSummary__sub{
  margin: 6px 0 0;
  color: rgba(255,255,255,.86);
}

.orgEventsToolbar{
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 12px;
  padding: 14px 16px 12px;
  align-items: center;
  background:
    radial-gradient(circle at 20% 0%, rgba(255,92,0,.04), transparent 42%),
    radial-gradient(circle at 90% 10%, rgba(0,19,105,.04), transparent 45%),
    #fff;
  border-bottom: 1px solid rgba(2,6,23,.08);
  position: relative;
  z-index: 8;
}

.orgEventsSearch{
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(2,6,23,.12);
  border-radius: 999px;
  padding: 10px 12px;
  background: rgba(255,255,255,.92);
}

.orgEventsSearch__icon{
  font-weight: 900;
  color: rgba(0,19,105,.75);
}

.orgEventsSearch__input{
  border: 0;
  outline: 0;
  width: 100%;
  font: inherit;
  font-size: 14px;
  color: var(--text);
  background: transparent;
}

.orgEventsFilters{
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
}

.orgEventsCombo{
  min-width: 220px;
}

.orgEventsCombo .orgCombo__menu{
  z-index: 40;
}

.orgEventsMeta{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 14px;
}

.orgEventsCount{
  font-weight: 800;
  color: var(--secondary);
}

.orgEventsHint{
  font-size: 13px;
}

.orgEventsResults{
  margin-top: 18px;
}

.orgEventsTableWrap{
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(2,6,23,.08);
  box-shadow: var(--shadow);
  padding: 12px;
  overflow: auto;
}

.orgEventsTable{
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}

.orgEventsTable th{
  text-align: left;
  font-size: 13px;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: .2px;
  text-transform: uppercase;
  padding: 12px 10px;
  border-bottom: 1px solid rgba(2,6,23,.10);
}

.orgEventsTable td{
  text-align: left;
  font-size: 14px;
  color: var(--text);
  line-height: 1.65;
  padding: 12px 10px;
  border-bottom: 1px solid rgba(2,6,23,.08);
  vertical-align: middle;
}

.orgEventsTable tbody tr:last-child td{
  border-bottom: 0;
}

.orgEventsTable tbody tr:hover td{
  background: rgba(0,19,105,.04);
}

.orgEventsTable__actions{
  width: 140px;
  text-align: center;
}

.orgEventsTable td.orgEventsTable__actions{
  text-align: center;
}

.orgEventsTable .btn{
  min-width: 110px;
}

.orgEventCards{
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}

.orgEventCard{
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(2,6,23,.08);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.orgEventCard__head{
  padding: 12px 16px;
  background: linear-gradient(180deg, rgba(0,19,105,.98), rgba(0,19,105,.88));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.orgEventCard__title{
  margin: 0;
  font-family: "Cinzel", serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .35px;
}

.orgEventCard__date{
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.92);
  white-space: nowrap;
}

.orgEventCard__body{
  padding: 14px 16px 16px;
  display: grid;
  gap: 8px;
}

.orgEventCard__line{
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
}

.orgEventCard__label{
  font-size: 12px;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: .2px;
  text-transform: uppercase;
  margin-right: 6px;
}

.orgEventActions{
  margin-top: 4px;
  display: flex;
  justify-content: flex-end;
}

.orgEventsLoadMore{
  margin: 28px 0 20px;
  display: flex;
  justify-content: center;
}

.orgEventsEmpty{
  margin-top: 14px;
}

@media (max-width: 980px){
  .orgEventsToolbar{
    grid-template-columns: 1fr;
    row-gap: 10px;
  }

  .orgEventsFilters{
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .orgEventsCombo{
    width: 100%;
    min-width: 0;
  }

  .orgEventsFilters #eventClearFilters{
    width: auto;
    min-width: 110px;
  }

  .orgEventCards{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px){
  .orgEventsMeta{
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .orgEventsFilters{
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
  }

  .orgEventsFilters #eventClearFilters{
    width: 100%;
    min-width: 0;
  }

  .orgEventsTable{
    min-width: 700px;
  }

  .orgEventCard__head{
    flex-direction: column;
    align-items: flex-start;
  }

  .orgEventActions{
    justify-content: stretch;
  }

  .orgEventActions .btn{
    width: 100%;
  }
}

/* ==========================================================
   FINAL POLISH - BRANCHES + EVENTS CONSISTENCY LOCK
   - events table-only view
   - button style parity with branches/index rhythm
   - toolbar gap and control alignment fixes
========================================================== */

.orgBranchesPage .orgBranchesToolbar{
  column-gap: 12px;
  row-gap: 10px;
  align-items: center;
}

.orgBranchesPage .orgBranchesSearch{
  min-height: 42px;
  padding: 0 12px;
}

.orgBranchesPage .orgBranchesSearch__input{
  padding: 10px 2px;
}

.orgBranchesPage .orgBranchesFilters,
.orgBranchesPage .orgBranchesView{
  gap: 12px;
  align-items: center;
}

.orgBranchesPage .orgBranchesFilters .orgCombo{
  min-width: 210px;
  min-height: 42px;
}

.orgBranchesPage .orgBranchesFilters #clearFilters,
.orgBranchesPage .orgBranchesView .orgCtlBtn{
  min-width: 96px;
  min-height: 42px;
  padding: 10px 18px;
}

.orgBranchesPage .orgLoadMore{
  margin: 44px 0 24px;
}

.orgEventsPage .btn{
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease, background .15s ease;
}

.orgEventsPage .btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(0,0,0,.14);
  filter: brightness(1.05);
}

.orgEventsPage .btn:active{
  transform: translateY(0);
  box-shadow: 0 10px 18px rgba(0,0,0,.10);
}

.orgEventsPage .btn.btn--secondary{
  background: var(--primary);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  padding: 10px 18px;
  box-shadow: 0 10px 18px rgba(0,0,0,.10);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.orgEventsPage .orgEventsToolbar{
  grid-template-columns: minmax(280px, 1fr) auto;
  column-gap: 12px;
  row-gap: 10px;
  align-items: center;
}

.orgEventsPage .orgEventsSearch{
  min-height: 42px;
  padding: 0 12px;
}

.orgEventsPage .orgEventsSearch__input{
  padding: 10px 2px;
}

.orgEventsPage .orgEventsFilters{
  justify-content: flex-start;
  gap: 12px;
  align-items: center;
  flex-wrap: nowrap;
}

.orgEventsPage .orgEventsFilters .orgCombo{
  min-width: 210px;
  min-height: 42px;
}

.orgEventsPage .orgEventsFilters #eventClearFilters{
  min-width: 96px;
  min-height: 42px;
  padding: 10px 18px;
}

.orgEventsPage .orgEventsTable .btn{
  min-width: 96px;
}

.orgEventsPage .orgEventsTable th,
.orgEventsPage .orgEventsTable td{
  text-align: center;
}

.orgEventsPage .orgEventCards{
  display: none !important;
}

.orgEventsPage .orgEventsLoadMore{
  margin: 44px 0 24px;
}

@media (max-width: 980px){
  .orgBranchesPage .orgBranchesFilters{
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .orgBranchesPage .orgBranchesView{
    justify-content: flex-start;
  }

  .orgBranchesPage .orgBranchesFilters .orgCombo{
    flex: 1 1 220px;
    min-width: 220px;
  }

  .orgEventsPage .orgEventsToolbar{
    grid-template-columns: 1fr;
  }

  .orgEventsPage .orgEventsFilters{
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }

  .orgEventsPage .orgEventsFilters .orgCombo{
    flex: 1 1 220px;
    min-width: 220px;
  }
}

@media (max-width: 640px){
  .orgBranchesPage .orgLoadMore{
    margin: 36px 0 20px;
  }

  .orgEventsPage .orgEventsFilters{
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
  }

  .orgEventsPage .orgEventsFilters .orgCombo,
  .orgEventsPage .orgEventsFilters #eventClearFilters{
    width: 100%;
    min-width: 0;
  }

  .orgEventsPage .orgEventsLoadMore{
    margin: 36px 0 20px;
  }
}

/* ==========================================================
   ORGANIZATION - PUBLICATIONS PAGE
   append-only, scoped to .orgPublicationsPage
========================================================== */
.orgPublicationsPage .section{
  padding: var(--secY) 0;
}

.orgPublicationsPage .section--tint{
  background:
    radial-gradient(circle at 18% 22%, rgba(255,92,0,.12), transparent 55%),
    radial-gradient(circle at 82% 28%, rgba(0,19,105,.12), transparent 60%),
    linear-gradient(180deg, rgba(0,19,105,.04), rgba(255,92,0,.03));
}

.orgPublicationsPage .submenu a.is-active{
  background: rgba(0,19,105,.06);
  color: var(--primary);
  font-weight: 800;
}

.orgPublicationsSummary{
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(2,6,23,.08);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.orgPublicationsSummary__cap{
  padding: 14px 18px 12px;
  background: linear-gradient(180deg, rgba(0,19,105,.98), rgba(0,19,105,.88));
  color: #fff;
  position: relative;
}

.orgPublicationsSummary__cap::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(255,255,255,.14);
}

.orgPublicationsSummary__title{
  margin: 0;
  font-family: "Cinzel", serif;
  font-weight: 800;
  letter-spacing: .7px;
  text-transform: uppercase;
  font-size: 16px;
}

.orgPublicationsSummary__sub{
  margin: 6px 0 0;
  color: rgba(255,255,255,.86);
}

.orgPublicationsSummary__body{
  padding: 14px 16px 10px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255,92,0,.04), transparent 42%),
    radial-gradient(circle at 90% 10%, rgba(0,19,105,.04), transparent 45%),
    #fff;
}

.orgPublicationsIntro{
  margin: 0 0 12px;
  line-height: 1.75;
  color: var(--text);
}

.orgPublicationsAddress{
  color: var(--primary);
  font-weight: 500;
}

.orgPublicationsPhone{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 6px;
  color: var(--secondary);
  font-weight: 700;
  text-decoration: none;
}

.orgPublicationsPhone::before{
  content: "\260E";
  color: var(--primary);
  font-size: 14px;
  line-height: 1;
}

.orgPublicationsPhone:hover{
  color: var(--primary);
}

.orgPublicationsTabs{
  display: grid;
  grid-template-columns: repeat(10, minmax(0,1fr));
  align-items: stretch;
  gap: 0;
  width: 100%;
  border-bottom: 1px solid rgba(2,6,23,.12);
}

.orgPubTab{
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  color: rgba(15,23,42,.62);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  padding: 10px 14px;
  white-space: nowrap;
  cursor: pointer;
}

.orgPubTab:hover{
  color: var(--secondary);
}

.orgPubTab.is-active{
  color: var(--secondary);
  border-bottom-color: var(--primary);
  font-weight: 700;
}

.orgPubTab:focus-visible{
  outline: 2px solid rgba(255,92,0,.45);
  outline-offset: 2px;
}

.orgPublicationsResults{
  margin-top: 16px;
}

.orgPublicationsListHead{
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 600;
  color: var(--secondary);
}

.orgPublicationsList{
  display: grid;
  gap: 12px;
}

.orgPublicationItem{
  display: grid;
  grid-template-columns: 82px minmax(0,1fr);
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(2,6,23,.08);
  box-shadow: var(--shadow);
  padding: 10px 12px;
}

.orgPublicationThumb{
  width: 82px;
  height: 112px;
  border-radius: 8px;
  border: 1px solid rgba(2,6,23,.10);
  background:
    radial-gradient(circle at 28% 20%, rgba(255,92,0,.14), transparent 60%),
    radial-gradient(circle at 78% 25%, rgba(0,19,105,.12), transparent 62%),
    #f8fafc;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.orgPublicationThumb img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.orgPublicationThumb.is-missing::after{
  content: "No Cover";
  font-size: 11px;
  font-weight: 600;
  color: rgba(0,19,105,.72);
}

.orgPublicationBody{
  min-width: 0;
}

.orgPublicationTitle{
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text);
}

.orgPublicationLine{
  margin: 2px 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
}

.orgPublicationLabel{
  color: var(--secondary);
  font-weight: 700;
}

.orgPublicationsEmpty{
  margin-top: 12px;
}

.orgPublicationsPage .orgLoadMore{
  margin: 44px 0 24px;
}

.orgPublicationsPage .btn{
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease, background .15s ease;
}

.orgPublicationsPage .btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(0,0,0,.14);
  filter: brightness(1.05);
}

.orgPublicationsPage .btn:active{
  transform: translateY(0);
  box-shadow: 0 10px 18px rgba(0,0,0,.10);
}

.orgPublicationsPage .btn.btn--secondary{
  background: var(--primary);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  padding: 10px 18px;
  box-shadow: 0 10px 18px rgba(0,0,0,.10);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

@media (max-width: 980px){
  .orgPublicationsSummary__body{
    padding: 12px 12px 8px;
  }

  .orgPublicationsTabs{
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
  }

  .orgPubTab{
    width: auto;
    min-width: 92px;
    flex: 0 0 auto;
  }

  .orgPublicationItem{
    grid-template-columns: 76px minmax(0,1fr);
    gap: 12px;
    padding: 10px;
  }

  .orgPublicationThumb{
    width: 76px;
    height: 106px;
  }
}

@media (max-width: 640px){
  .orgPublicationsIntro{
    font-size: 14px;
  }

  .orgPublicationsPhone{
    margin-left: 0;
  }

  .orgPubTab{
    padding: 10px 12px;
    font-size: 13px;
  }

  .orgPublicationsListHead{
    font-size: 15px;
  }

  .orgPublicationItem{
    grid-template-columns: 70px minmax(0,1fr);
    gap: 10px;
  }

  .orgPublicationThumb{
    width: 70px;
    height: 98px;
  }

  .orgPublicationTitle{
    font-size: 14px;
  }

  .orgPublicationLine{
    font-size: 13px;
  }

  .orgPublicationsPage .orgLoadMore{
    margin: 36px 0 20px;
  }

  .orgPublicationsPage .orgLoadMore__btn{
    width: 100%;
    max-width: 280px;
    min-width: 0;
  }
}

@media (max-width: 520px){
  .orgPublicationItem{
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .orgPublicationThumb{
    width: 82px;
    height: 112px;
  }
}

.orgPubTab{
  text-decoration: none;
}

.orgCombo select.orgCombo__input{
  cursor: pointer;
}

/* ==========================================================
   ORGANIZATION - BRANCHES SERVER FILTER POLISH
========================================================== */
.orgBranchesPage .orgBranchesList.is-grid{
  align-items: stretch;
}

.orgBranchesPage .orgBranchesList.is-grid .orgBranchCard{
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
}

.orgBranchesPage .orgBranchesList.is-grid .orgBranchCard__body{
  display: flex;
  height: 100%;
}

.orgBranchesPage .orgBranchesList.is-grid .orgBranchGrid{
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  grid-template-rows: minmax(0,1fr) auto;
  align-items: start;
  width: 100%;
  flex: 1 1 auto;
}

.orgBranchesPage .orgBranchesList.is-grid .orgBranchGrid .orgBranchBlock:last-child{
  grid-column: 1 / -1;
}

.orgBranchesPage .orgBranchesList.is-grid .orgBranchBlock{
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  min-width: 0;
}

.orgBranchesPage .orgBranchesList.is-grid .orgBranchActions{
  justify-content: center;
}

.orgBranchesPage .orgBranchLink{
  overflow-wrap:anywhere;
  word-break:break-word;
}

.orgBranchesPage .orgBranchesToolbar{
  grid-template-columns: minmax(280px,1fr) auto auto;
}

.orgBranchesPage .orgBranchesFilters--simple,
.orgEventsPage .orgEventsFilters--simple{
  justify-content: flex-start;
  flex-wrap: nowrap;
}

.orgEventsPage .orgEventsToolbar{
  grid-template-columns: minmax(280px,1fr) auto;
}

@media (max-width: 980px){
  .orgBranchesPage .orgBranchesToolbar,
  .orgEventsPage .orgEventsToolbar{
    grid-template-columns: 1fr;
  }

  .orgBranchesPage .orgBranchesList.is-grid .orgBranchGrid{
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
}

/* ==========================================================
   ORGANIZATION - EVENTS MOBILE TABLE SCROLL FIX
========================================================== */
.orgEventsPage .orgEventsResults{
  min-width: 0;
}

.orgEventsPage .orgEventsTableWrap{
  overflow: hidden;
}

.orgEventsPage .orgEventsTableScroller{
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
}

.orgEventsPage .orgEventsTable{
  width: max(100%, 760px);
  min-width: 760px;
}

@media (max-width: 640px){
  .orgEventsPage .orgEventsTable th,
  .orgEventsPage .orgEventsTable td{
    white-space: nowrap;
  }
}
