
/* v289 shared overlays */
body.gwc-modal-open,body.study-video-open{overflow:hidden}

/* Study Companion on-page video */
.study-video-backdrop{position:fixed;inset:0;z-index:8200;background:rgba(8,15,10,.76);opacity:0;visibility:hidden;transition:.2s}
.study-video-backdrop.is-open{opacity:1;visibility:visible}
.study-video-modal{position:fixed;z-index:8201;left:50%;top:50%;width:min(980px,calc(100vw - 46px));transform:translate(-50%,-47%);opacity:0;visibility:hidden;background:#f4ead3;border:1px solid rgba(52,77,43,.55);box-shadow:0 28px 80px rgba(0,0,0,.42);transition:.2s}
.study-video-modal.is-open{opacity:1;visibility:visible;transform:translate(-50%,-50%)}
.study-video-modal-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:14px 17px;border-bottom:1px solid rgba(52,77,43,.28)}
.study-video-kicker{display:block;color:#6a1d25;font-size:.67rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.study-video-modal-header h2{margin:2px 0 0;color:#1d2f22;font:500 1.35rem/1.15 Georgia,"Times New Roman",serif}
.study-video-close{width:40px;height:40px;flex:0 0 40px;border:1px solid #806743;border-radius:50%;background:#ead8af;color:#421c20;cursor:pointer;font:500 1.75rem/1 Georgia,"Times New Roman",serif}
.study-video-close:hover,.study-video-close:focus-visible{background:#1d2f22;color:#f4ead3;outline:none}
.study-video-frame-wrap{aspect-ratio:16/9;background:#000}.study-video-frame-wrap iframe{display:block;width:100%;height:100%;border:0}

/* Registration modal */
.gwc-reg-backdrop,.gwc-cal-backdrop,.gwc-add-backdrop{position:fixed;inset:0;background:rgba(7,14,9,.72);opacity:0;visibility:hidden;transition:.2s;z-index:8000}
.gwc-reg-backdrop.open,.gwc-cal-backdrop.open,.gwc-add-backdrop.open{opacity:1;visibility:visible}
.gwc-reg-modal{position:fixed;z-index:8101;left:50%;top:50%;width:min(1040px,calc(100vw - 44px));height:min(920px,calc(100dvh - 38px));transform:translate(-50%,-47%);opacity:0;visibility:hidden;background:#fff;display:grid;grid-template-rows:auto minmax(0,1fr);box-shadow:0 28px 80px rgba(0,0,0,.42);transition:.2s}
.gwc-reg-modal.open{opacity:1;visibility:visible;transform:translate(-50%,-50%)}
.gwc-reg-head{position:relative;display:flex;justify-content:space-between;gap:24px;align-items:flex-start;padding:16px 20px;background:#efe1ba;border-bottom:1px solid #9b845d}
.gwc-reg-info>span,.gwc-add-modal header span,.gwc-reg-calendar>span{display:block;color:#64161c;font-size:.7rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.gwc-reg-head h2,.gwc-add-modal h2{margin:2px 0 0;color:#1d2f22;font:500 1.55rem/1.1 Georgia,"Times New Roman",serif}
[data-gwc-reg-event]{margin-top:8px}[data-gwc-reg-event] strong{display:block;color:#50191d;font:600 1rem/1.25 Georgia,serif}[data-gwc-reg-event] small{display:block;margin-top:3px;color:#4a4035;font-size:.84rem}
.gwc-reg-actions{position:relative;display:flex;align-items:center;gap:12px}.gwc-reg-save{border:1px solid #c39b53;border-radius:22px;background:#31522f;color:#f5ead0;padding:13px 21px;font:600 .88rem Georgia,serif;cursor:pointer}
.gwc-reg-save:hover{background:#c39b53;color:#203321}.gwc-reg-x,.gwc-cal-x,.gwc-add-modal header button{width:42px;height:42px;border:1px solid #806743;border-radius:50%;background:#ead8af;color:#421c20;font-size:1.7rem;line-height:1;cursor:pointer}
.gwc-reg-frame{min-height:0}.gwc-reg-frame iframe{display:block;width:100%;height:100%;border:0;background:#fff}
.gwc-reg-calendar{position:absolute;right:52px;top:calc(100% + 14px);width:360px;padding:16px;background:#efe1ba;border:1px solid #9b845d;border-radius:0 0 22px 22px;box-shadow:0 18px 35px rgba(0,0,0,.22);z-index:8}
.gwc-reg-calendar[hidden]{display:none}.gwc-reg-calendar h3{margin:3px 0 10px;color:#1d2f22;font:500 1.35rem Georgia,serif}.gwc-reg-calendar p{margin:0 0 12px;color:#493f34;font-size:.88rem}
.gwc-reg-calendar button,.gwc-add-body button{display:block;width:100%;margin:8px 0 0;border:1px solid #1d2f22;background:transparent;color:#1d2f22;padding:11px;font:600 .8rem Georgia,serif;letter-spacing:.05em;text-transform:uppercase;cursor:pointer}
.gwc-reg-calendar button:hover,.gwc-add-body button:hover{background:#1d2f22;color:#f3e6c8}

/* Calendar drawer: FREE SCROLL with hidden scrollbar */
.gwc-cal-drawer{position:fixed;z-index:8001;left:0;top:0;bottom:0;width:min(610px,calc(100vw - 18px));height:100dvh;transform:translateX(-102%);transition:transform .28s ease;background:#ead7ad url("../assets/images/calendar-floral-parchment.webp") center/cover no-repeat;padding:24px 28px 38px 58px;color:#2d2119;box-shadow:12px 0 36px rgba(0,0,0,.28);
  overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;scrollbar-width:none}
.gwc-cal-drawer::-webkit-scrollbar{display:none;width:0;height:0}
.gwc-cal-drawer.open{transform:translateX(0)}
.gwc-cal-x{position:absolute;right:18px;top:18px;z-index:2}
.gwc-cal-header{padding:0 54px 18px 16px;border-bottom:1px solid rgba(91,62,37,.45)}.gwc-cal-header>span{color:#6b1b23;font-size:.78rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase}.gwc-cal-header h2{margin:5px 0 10px;color:#173222;font:500 clamp(2rem,5vw,2.72rem)/1 Georgia,serif}.gwc-cal-header p{margin:0;max-width:430px;font:1rem/1.55 Georgia,serif}
.gwc-cal-list{padding:22px 6px 40px 10px}.gwc-event-card{margin:0 0 18px;padding:17px;border:1px solid #a88957;border-radius:14px;background:rgba(249,231,189,.9)}
.gwc-event-top{display:grid;grid-template-columns:72px 1fr;gap:15px;align-items:start}.gwc-date{border:1px solid #9d7543;border-radius:10px;overflow:hidden;text-align:center;background:#f4e4bf}.gwc-date b{display:block;background:#6e171d;color:#fff;padding:5px;font-size:.72rem}.gwc-date span{display:block;padding:8px 5px 10px;color:#173222;font:1.7rem Georgia,serif}.gwc-event-card h3{margin:2px 0 5px;color:#542026;font:600 1.25rem/1.12 Georgia,serif}.gwc-event-top p{margin:0;color:#5a4937;font:.9rem Georgia,serif}
.gwc-event-desc{margin-top:14px;font:.97rem/1.5 Georgia,serif}.gwc-event-desc p{margin:0 0 10px}.gwc-event-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.gwc-event-btn{border:1px solid #8e6e3e;border-radius:22px;padding:10px 15px;font:600 .88rem Georgia,serif;cursor:pointer;text-decoration:none}.gwc-event-btn.primary{background:#31572f;color:#f6edda;border-color:#31572f}.gwc-event-btn.secondary{background:#f5e4bf;color:#542026}

/* Add-to-calendar overlay */
.gwc-add-modal{position:fixed;z-index:8100;left:50%;top:50%;width:min(520px,calc(100vw - 28px));transform:translate(-50%,-46%);opacity:0;visibility:hidden;background:#f4ead3;border:1px solid #9b845d;box-shadow:0 24px 70px rgba(0,0,0,.38);transition:.2s}.gwc-add-modal.open{opacity:1;visibility:visible;transform:translate(-50%,-50%)}
.gwc-add-modal header{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;border-bottom:1px solid rgba(60,74,54,.28)}.gwc-add-body{padding:18px}.gwc-add-body p{margin:0 0 14px;line-height:1.5}

/* Preserve recent branded controls/layout */
.gwc-pensight-button,.gwc-pensight-button.pensight-button,a.gwc-pensight-button.pensight-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:13px 24px!important;border:1px solid #1d2f22!important;border-radius:0!important;background:transparent!important;color:#1d2f22!important;font-family:Georgia,"Times New Roman",serif!important;text-transform:uppercase!important;text-decoration:none!important}
.gwc-pensight-button:hover,.gwc-pensight-button:focus{background:#1d2f22!important;color:#f3e6c8!important}
.gwc-bookclub-video{padding:0!important;overflow:hidden;background:#000;aspect-ratio:16/9}.gwc-bookclub-video iframe{display:block;width:100%;height:100%;border:0}
.course-journal-coming-soon-v284{display:none!important}

@media(min-width:981px){
 .twilight-redesign .twilight-selected-layout{grid-template-columns:240px minmax(0,1fr)!important;gap:64px!important}
 .twilight-redesign .twilight-selected-intro h2,.twilight-redesign .twilight-selected-intro>p:not(.eyebrow){max-width:240px!important}
 .twilight-redesign .twilight-selected-list-redesign{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
 .twilight-redesign .twilight-selected-card .twilight-selected-frame{width:100%;aspect-ratio:16/9}.twilight-redesign .twilight-selected-card .twilight-selected-frame iframe{width:100%;height:100%;border:0}
 .roundtable-page .roundtable-selected-layout{display:grid;grid-template-columns:240px minmax(0,1fr)!important;gap:64px!important;align-items:start}
 .roundtable-page .roundtable-video-list-redesign{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.roundtable-page .roundtable-video-embed{width:100%;aspect-ratio:16/9}.roundtable-page .roundtable-video-embed iframe{width:100%;height:100%;border:0}
}
@media(max-width:700px){
 .study-video-modal{width:calc(100vw - 22px)}.study-video-modal-header h2{font-size:1.08rem}
 .gwc-reg-modal{width:100vw;height:100dvh;max-width:none;max-height:none}.gwc-reg-head{padding:11px 12px;gap:10px;flex-wrap:wrap}.gwc-reg-info{width:calc(100% - 54px)}.gwc-reg-actions{width:100%;justify-content:space-between}.gwc-reg-save{flex:1}.gwc-reg-calendar{right:0;top:calc(100% + 8px);width:100%}
 .gwc-cal-drawer{padding:22px 18px 34px 28px}.gwc-cal-header{padding-left:12px;padding-right:48px}.gwc-event-top{grid-template-columns:64px 1fr}
}
/* v290 gathering promo videos */
.roundtable-video-placeholder,
.twilight-video-placeholder{overflow:hidden;padding:0!important;aspect-ratio:16/9;background:#000}
.roundtable-video-placeholder iframe,
.twilight-video-placeholder iframe{display:block;width:100%;height:100%;border:0}

/* v291 Roundtable selected-discussions spacing
   Give the longer Herbal Roundtable heading the same breathing room
   the Twilight Tribe section has, without changing mobile. */
@media (min-width:981px){
  .roundtable-page .roundtable-selected-layout{
    grid-template-columns:280px minmax(0,1fr)!important;
    column-gap:72px!important;
  }
  .roundtable-page .roundtable-selected-intro{
    min-width:0;
    max-width:280px;
  }
  .roundtable-page .roundtable-selected-intro h2,
  .roundtable-page .roundtable-selected-intro>p:not(.eyebrow){
    max-width:280px;
  }
  .roundtable-page .roundtable-selected-intro h2{
    font-size:clamp(42px,3.55vw,52px);
    line-height:.98;
  }
  .roundtable-page .roundtable-video-list-redesign{
    min-width:0;
    width:100%;
  }
}
