/* Members-only blocks on the Goats and Horses pages (the Members' Corral).
   Membership is bought on the Educational page; member-corral.js unlocks
   these blocks on any page once the visitor is a member on this device. */
.mc-section { background: #2d3a28; padding: 4rem 2rem; color: var(--cream); }
.mc-section .container { max-width: 1180px; margin: 0 auto; }
.mc-section .section-label { color: #e8c98a; }
.mc-section .section-title { color: var(--cream); }
.mc-section .section-title em { color: var(--gold); }
.mc-section .section-desc { color: rgba(240,239,232,.85); }
.mc-join-row { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; margin-top: 1.2rem; }
.mc-join { display: inline-block; padding: .8rem 1.5rem; border-radius: 999px; background: #f5c542; color: #3a2a10; text-decoration: none; box-shadow: 0 3px 0 #b58a1c; font-family: var(--f-josefin); font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.mc-join:hover { background: #ffd35a; }
body.is-member .mc-join { display: none; }
.mc-status { margin: 0; color: #e8c98a; font-weight: 600; }
.mc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; margin-top: 2rem; align-items: start; }
.mc-grid.mc-grid-1 { grid-template-columns: minmax(0, 720px); }
@media (max-width: 960px) { .mc-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .mc-section { padding: 3rem 1rem; } }
.mc-card { background: var(--white); color: var(--dark-brown); border-radius: 6px; padding: 1.3rem; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.mc-card-title { font-family: var(--f-playfair); font-size: 1.4rem; margin: 0; }
.mc-card-desc { color: var(--brown); line-height: 1.55; margin: .3rem 0 1rem; font-size: .93rem; }
.mc-body { position: relative; min-height: 220px; }
.mc-lock {
  position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .45rem;
  padding: 1.2rem; text-align: center; text-decoration: none; color: var(--cream);
  background: rgba(32,46,26,.62); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); border: 2px dashed rgba(245,197,66,.8);
}
.mc-lock:hover { background: rgba(32,46,26,.72); }
body.is-member .mc-lock { display: none; }
.mc-lock-icon { font-size: 2.2rem; }
.mc-lock-title { font-family: var(--f-playfair); font-size: 1.3rem; font-weight: 700; }
.mc-lock-text { max-width: 260px; line-height: 1.45; font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; }
/* Name the Babies */
.mc-poll { display: flex; flex-direction: column; gap: .5rem; }
.mc-poll-q { font-family: var(--f-playfair); font-size: 1.1rem; margin: 0 0 .2rem; }
.mc-opt { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .7rem .9rem; text-align: left; cursor: pointer; background: var(--cream); border: 2px solid var(--tan); color: var(--dark-brown); font: inherit; font-size: .95rem; }
.mc-opt:hover { border-color: var(--dark-brown); }
.mc-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: rgba(245,197,66,.4); transition: width .6s ease; }
.mc-opt-text, .mc-pct { position: relative; }
.mc-pct { font-family: var(--f-josefin); font-weight: 700; color: #7a2a1e; }
.mc-opt.is-mine { border-color: var(--dark-brown); }
.mc-opt.is-mine .mc-opt-text::after { content: '  ✓ your vote'; font-family: var(--f-josefin); font-size: .7rem; color: var(--sage); }
.mc-opt.is-leader .mc-fill { background: rgba(245,197,66,.75); }
.mc-opt.is-leader .mc-pct::before { content: '👑 '; }
.mc-poll-status { min-height: 1.3em; font-size: .9rem; margin: .2rem 0 0; }
/* Photo of the Week */
.mc-photo { margin: 0; }
.mc-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; border-radius: 4px; }
.mc-photo figcaption { margin-top: .5rem; font-style: italic; color: var(--brown); font-size: .9rem; }
/* Behind the Scenes */
.mc-video { position: relative; aspect-ratio: 16 / 9; background: #2d3228; border-radius: 4px; overflow: hidden; }
.mc-video iframe, .mc-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mc-soon { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem; padding: 1rem; text-align: center; color: var(--cream); background: linear-gradient(rgba(20,20,14,.55), rgba(20,20,14,.75)), var(--mc-soon-bg, none) center / cover; }
.mc-soon strong { font-family: var(--f-playfair); font-size: 1.2rem; }
.mc-soon span { font-size: .88rem; opacity: .9; }
