/* Organization page — extends the organizations hub system (organizations.css). */
.od-crumb{display:inline-flex;align-items:center;gap:6px;margin:0 0 16px;color:var(--og-muted);font-size:12px;font-weight:800}
.od-crumb:hover{color:var(--og-maroon)}

/* Hero */
.od-hero{overflow:hidden;border:1px solid var(--og-line);border-radius:22px;background:var(--og-card);box-shadow:var(--og-shadow)}
.od-hero__cover{
  --cover-a:#f6e6c6;--cover-b:#e7d2a4;--cover-accent:rgba(122,0,25,.16);
  position:relative;height:150px;background:linear-gradient(150deg,var(--cover-a),var(--cover-b))
}
.od-hero__cover::before{position:absolute;top:-58%;right:-8%;width:64%;height:170%;border:1px solid var(--cover-accent);border-radius:50%;content:""}
.od-hero__cover::after{position:absolute;top:-34%;right:14%;width:34%;height:120%;border:1px solid var(--cover-accent);border-radius:50%;content:""}
.od-hero__cover[data-theme="cultural"]{--cover-a:#fae0dd;--cover-b:#e5aeae}
.od-hero__cover[data-theme="academic"]{--cover-a:#f7ecd8;--cover-b:#e3caa0}
.od-hero__cover[data-theme="sports"]{--cover-a:#eeecd6;--cover-b:#cfcb9d}
.od-hero__cover[data-theme="professional"]{--cover-a:#f3e7d3;--cover-b:#d9c39c}
.od-hero__cover[data-theme="volunteer"]{--cover-a:#e9f0e2;--cover-b:#c9d8b8}
.od-hero__cover[data-theme="international"]{--cover-a:#f8e3e0;--cover-b:#e6b9b4}
.od-hero__cover[data-theme="social"]{--cover-a:#ffe9b8;--cover-b:#f4c86a}
.od-hero__cover[data-theme="student_government"]{--cover-a:#f1e6ef;--cover-b:#d6bcd2}
.od-hero__cover[data-theme="greek"]{--cover-a:#fdeec4;--cover-b:#f0d18a}
.od-hero__cover img{width:100%;height:100%;object-fit:cover}
.od-hero__body{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,332px);gap:26px;padding:0 26px 24px}
/* The logo overlaps the cover, and the cover is positioned — so the identity
   column needs its own stacking context or the band paints over the logo. */
.od-hero__identity{position:relative;z-index:1;min-width:0;margin-top:-30px}
.od-hero__logo{
  position:static;inset:auto;display:grid;width:84px;height:84px;place-items:center;overflow:hidden;border:3px solid var(--og-card);
  border-radius:22px;background:var(--og-gold-soft);color:var(--og-maroon);font-size:26px;font-weight:950;
  box-shadow:0 10px 22px rgba(32,23,13,.16)
}
.od-hero__logo img{width:100%;height:100%;object-fit:cover}
.od-hero__eyebrow{margin:16px 0 6px;color:var(--og-maroon);font-size:11px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
.od-hero h1{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:0;font-size:clamp(30px,3.6vw,42px);letter-spacing:-.05em;line-height:1.04}
.od-hero h1 svg{width:20px;height:20px;flex:none;fill:none;stroke:var(--og-maroon);stroke-linecap:round;stroke-linejoin:round;stroke-width:2.6}
.od-facts{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0 0}
.od-facts span{
  display:inline-flex;align-items:center;min-height:27px;padding:0 10px;border:1px solid var(--og-line);
  border-radius:999px;background:#faf6ef;color:#6b6058;font-size:11.5px;font-weight:850
}
.od-facts span.is-verified{border-color:rgba(32,115,86,.24);background:var(--og-green-soft);color:var(--og-green)}
.od-hero__copy{max-width:640px;margin:14px 0 0;color:var(--og-muted);font-size:14px;line-height:1.6}
.od-hero__actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:18px}

/* Membership panel */
.od-join{align-self:end;padding:20px;border:1px solid var(--og-line);border-radius:18px;background:#fffaf0}
.od-join h2{margin:0;font-size:17px;letter-spacing:-.03em}
.od-join p{margin:8px 0 0;color:var(--og-muted);font-size:12.5px;line-height:1.55}
.od-join__state{
  display:inline-flex;align-items:center;min-height:34px;margin:14px 0 0;padding:0 12px;border-radius:999px;
  border:1px solid rgba(32,115,86,.24);background:var(--og-green-soft);color:var(--og-green);font-size:12px;font-weight:850
}
.od-join__state.pending{border-color:rgba(180,119,0,.26);background:#fff6e3;color:#8a5a00}
.od-join form{margin:10px 0 0}
.od-join .og-btn{width:100%;margin-top:10px}

/* Officer bar */
.od-officer{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;
  padding:14px 18px;border:1px solid rgba(255,204,51,.5);border-radius:16px;background:#fff8e6
}
.od-officer strong{font-size:13px}
.od-officer span{display:block;margin-top:3px;color:var(--og-muted);font-size:11.5px;font-weight:750}

/* Stat strip */
.od-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:16px}
.od-stat{padding:16px;border:1px solid var(--og-line);border-radius:16px;background:var(--og-card);box-shadow:var(--og-shadow)}
.od-stat strong{display:block;font-size:24px;letter-spacing:-.05em;line-height:1}
.od-stat span{display:block;margin-top:6px;color:var(--og-muted);font-size:11.5px;font-weight:800}

/* Sections */
.od-section{margin-top:34px}
.od-section__head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:14px}
.od-section__head h2{margin:0;font-size:clamp(20px,2.2vw,25px);letter-spacing:-.05em}
.od-section__head p{margin:4px 0 0;color:var(--og-muted);font-size:12px;font-weight:750}
.od-panel{padding:20px;border:1px solid var(--og-line);border-radius:18px;background:var(--og-card);box-shadow:var(--og-shadow)}
.od-panel p{margin:0;color:var(--og-muted);font-size:14px;line-height:1.65}
.od-panel p+p{margin-top:12px}
.od-panel .od-contact{color:var(--og-soft);font-size:12.5px;font-weight:750}

/* Events */
.od-events{display:grid;gap:10px}
.od-event{
  display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:14px;align-items:center;padding:14px;
  border:1px solid var(--og-line);border-radius:16px;background:var(--og-card);box-shadow:var(--og-shadow);
  transition:transform .16s ease,border-color .16s ease
}
.od-event:hover{transform:translateX(2px);border-color:rgba(122,0,25,.22)}
.od-event__date{display:grid;place-items:center;padding:8px 0;border:1px solid rgba(122,0,25,.12);border-radius:12px;background:#fff8e9;line-height:1}
.od-event__date small{color:var(--og-maroon);font-size:10px;font-weight:950;letter-spacing:.08em;text-transform:uppercase}
.od-event__date b{margin-top:3px;font-size:19px;letter-spacing:-.05em}
.od-event h3{margin:0;font-size:15.5px;letter-spacing:-.03em}
.od-event__meta{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 0;color:var(--og-muted);font-size:12px;font-weight:750}
.od-event__meta span::after{margin-left:6px;content:"·"}
.od-event__meta span:last-child::after{content:""}
.od-event__meta .is-food{color:var(--og-green);font-weight:850}
.od-event__going{
  display:inline-flex;align-items:center;gap:5px;min-height:30px;padding:0 11px;border:1px solid var(--og-line);
  border-radius:999px;background:#faf6ef;color:var(--og-muted);font-size:11.5px;font-weight:850;white-space:nowrap
}
.od-event__going b{color:var(--og-ink)}

/* Deals */
.od-deals{display:grid;gap:10px}
.od-eligibility{
  padding:12px 14px;border:1px solid rgba(32,115,86,.22);border-radius:12px;background:var(--og-green-soft);
  color:#165c44;font-size:12.5px;font-weight:800
}
.od-eligibility.locked{border-color:rgba(122,0,25,.2);background:#fff3f1;color:#8c2231}
.od-deal{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;padding:16px;
  border:1px solid var(--og-line);border-radius:16px;background:var(--og-card);box-shadow:var(--og-shadow)
}
.od-deal h3{margin:0;font-size:15.5px;letter-spacing:-.03em}
.od-deal p{margin:5px 0 0;color:var(--og-muted);font-size:12.5px;line-height:1.5}
.od-deal .od-deal__where{color:var(--og-maroon);font-weight:850}
.od-badge{display:inline-flex;align-items:center;min-height:24px;margin-top:9px;padding:0 9px;border:1px solid rgba(122,0,25,.16);border-radius:999px;background:var(--og-gold-soft);color:#633c00;font-size:10.5px;font-weight:900}

/* Posts */
.od-posts{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px}
.post-preview{
  position:relative;display:block;width:100%;aspect-ratio:1;overflow:hidden;padding:0;border:1px solid var(--og-line);
  border-radius:16px;background:#f3e6cd;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease
}
.post-preview:hover{transform:translateY(-3px);box-shadow:var(--og-shadow-lift)}
.post-preview img{width:100%;height:100%;object-fit:cover}
.post-preview-placeholder{display:flex;width:100%;height:100%;flex-direction:column;justify-content:flex-end;padding:16px;background:linear-gradient(150deg,#f6e6c6,#e7d2a4);color:#4a351a;text-align:left}
.post-preview-placeholder span{font-size:10px;font-weight:900;letter-spacing:.09em;text-transform:uppercase;opacity:.7}
.post-preview-placeholder strong{display:-webkit-box;overflow:hidden;margin-top:5px;font-size:16px;letter-spacing:-.03em;line-height:1.15;-webkit-box-orient:vertical;-webkit-line-clamp:3}
.post-preview-label{
  position:absolute;right:10px;bottom:10px;padding:5px 9px;border-radius:999px;background:rgba(24,17,11,.72);
  color:#fff;font-size:10px;font-weight:850
}
.post-dialog{width:min(940px,calc(100vw - 32px));max-width:none;padding:0;border:0;border-radius:20px;background:var(--og-card);box-shadow:0 40px 90px rgba(28,16,4,.4)}
.post-dialog::backdrop{background:rgba(28,18,8,.55)}
.post-dialog-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(300px,.9fr)}
.post-dialog-media{background:#f3e6cd}
.post-dialog-media img{display:block;width:100%;height:100%;max-height:76vh;object-fit:cover}
.post-dialog-placeholder{display:flex;height:100%;min-height:280px;flex-direction:column;justify-content:flex-end;padding:24px;background:linear-gradient(150deg,#f6e6c6,#e7d2a4);color:#4a351a}
.post-dialog-placeholder span{font-size:10px;font-weight:900;letter-spacing:.09em;text-transform:uppercase;opacity:.7}
.post-dialog-placeholder strong{margin-top:6px;font-size:24px;letter-spacing:-.04em;line-height:1.12}
.post-dialog-panel{display:flex;min-width:0;max-height:76vh;flex-direction:column}
.post-head{display:flex;align-items:center;gap:10px;padding:16px 18px;border-bottom:1px solid var(--og-line)}
.post-author-avatar{display:grid;width:34px;height:34px;place-items:center;flex:none;overflow:hidden;border-radius:50%;background:var(--og-gold-soft);color:var(--og-maroon);font-size:12px;font-weight:950}
.post-author-avatar img{width:100%;height:100%;object-fit:cover}
.post-author{min-width:0;flex:1}
.post-author strong{display:block;font-size:13.5px}
.post-author span{display:block;margin-top:2px;color:var(--og-muted);font-size:11.5px;font-weight:750}
.post-close{width:32px;height:32px;border:1px solid var(--og-line);border-radius:10px;background:#fff;color:var(--og-muted);font-size:18px;cursor:pointer}
.post-close:hover{border-color:rgba(122,0,25,.24);color:var(--og-maroon)}
.post-copy{padding:16px 18px;border-bottom:1px solid var(--og-line)}
.post-copy h3{margin:0;font-size:19px;letter-spacing:-.035em}
.post-body{margin:9px 0 0;color:var(--og-muted);font-size:13.5px;line-height:1.6}
.post-meta{margin:10px 0 0;color:var(--og-soft);font-size:11px;font-weight:800}
.post-comments{display:flex;min-height:0;flex:1;flex-direction:column}
.post-comments-head{padding:12px 18px 6px;color:var(--og-soft);font-size:11px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}
.comment-list{flex:1;overflow-y:auto;padding:0 18px 12px}
.comment{display:flex;gap:9px;padding:8px 0}
.comment-avatar{display:grid;width:28px;height:28px;place-items:center;flex:none;border-radius:50%;background:#f4ead8;color:#77520a;font-size:11px;font-weight:900}
.comment p{margin:0;font-size:13px;line-height:1.5}
.comment time{display:block;margin-top:3px;color:var(--og-soft);font-size:10.5px;font-weight:750}
.comment-empty{margin:0;padding:6px 0;color:var(--og-muted);font-size:12.5px}
.post-comment-form{display:flex;gap:8px;padding:12px 18px;border-top:1px solid var(--og-line)}
.post-comment-form input{flex:1;min-width:0;min-height:40px;padding:0 12px;border:1px solid var(--og-line-strong);border-radius:11px;background:#fff;font:inherit;font-size:13px;outline:none}
.post-comment-form input:focus{border-color:rgba(122,0,25,.4);box-shadow:0 0 0 3px rgba(122,0,25,.08)}
.post-comment-form button{min-height:40px;padding:0 14px;border:1px solid #2d261f;border-radius:11px;background:var(--og-ink);color:#fff;font:inherit;font-size:12.5px;font-weight:850;cursor:pointer}
.comment-error{width:100%;margin:6px 0 0;color:#a3263c;font-size:11.5px;font-weight:800}
.comment-login{display:block;padding:12px 18px;border-top:1px solid var(--og-line);color:var(--og-maroon);font-size:12.5px;font-weight:850}

@media(max-width:900px){
  .od-hero__body{grid-template-columns:1fr;gap:18px;padding:0 20px 20px}
  .od-join{align-self:auto}
  .od-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .post-dialog-layout{grid-template-columns:1fr}
  .post-dialog-media img{max-height:38vh}
  .post-dialog-panel{max-height:52vh}
}
@media(max-width:620px){
  .od-hero__cover{height:110px}
  .od-hero__logo{width:68px;height:68px;border-radius:18px;font-size:21px}
  .od-hero__body{padding:0 16px 18px}
  .od-event{grid-template-columns:46px minmax(0,1fr);gap:11px}
  .od-event__going{grid-column:2;justify-self:start}
  .od-posts{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .od-hero__actions .og-btn{flex:1}
}

/* Member benefits disclosure */
.deal-disclosure{border:1px solid var(--og-line);border-radius:18px;background:var(--og-card);box-shadow:var(--og-shadow)}
.deal-disclosure>summary{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:18px 20px;cursor:pointer;list-style:none}
.deal-disclosure>summary::-webkit-details-marker{display:none}
.deal-disclosure summary h2{margin:0;font-size:clamp(20px,2.2vw,25px);letter-spacing:-.05em}
.deal-disclosure summary p{margin:4px 0 0;color:var(--og-muted);font-size:12px;font-weight:750}
.deal-disclosure__count{display:inline-flex;align-items:center;gap:7px;flex:none;color:var(--og-maroon);font-size:12px;font-weight:850}
.deal-disclosure__count i{font-style:normal;transition:transform .18s ease}
.deal-disclosure[open] .deal-disclosure__count i{transform:rotate(180deg)}
.deal-disclosure[open]>summary{border-bottom:1px solid var(--og-line)}
.deal-disclosure__body{padding:18px 20px 20px}
.deal-disclosure__body .od-deal,.deal-disclosure__body .og-empty{box-shadow:none}
