
.dm-agenda.dm-agenda-list-page{display:grid;grid-template-columns:280px minmax(0,1fr);gap:64px;max-width:1440px;margin:0 auto;padding:64px 6vw 88px;box-sizing:content-box;align-items:start}
.dm-agenda-list-page .dm-agenda-sidebar{position:sticky;top:110px;background:#fafafa;border-radius:16px;padding:24px;min-width:0}
.dm-agenda-sidebar>summary{font-size:20px;font-weight:600;list-style:none;margin-bottom:20px;cursor:pointer}
.dm-agenda-sidebar>summary::-webkit-details-marker{display:none}
.dm-agenda-list-page .dm-event-filters{display:flex;flex-direction:column;width:100%;max-width:none;height:auto;min-height:0;margin:0;padding:0;transform:none;box-shadow:none;background:transparent;border:0;gap:12px;overflow:visible}
.dm-agenda-list-page .dm-event-filters .dm-select-field,.dm-agenda-list-page .dm-event-filters>label{width:100%;flex:auto;min-width:0;min-height:72px;box-sizing:border-box;border:0;padding:16px;background:#fff;border-radius:10px}
.dm-agenda-list-page .dm-event-filters>button[type=submit]{width:100%;height:48px;min-height:48px;margin:8px 0 0;border-radius:12px;flex:none}
.dm-agenda-list-page .dm-event-filters .dm-search-label{max-width:none;opacity:1;margin-left:12px}
.dm-agenda-list-page .dm-select-list{min-width:100%;z-index:20}
.dm-agenda-list-page .dm-agenda-results{padding:0;margin:0;min-width:0;scroll-margin-top:110px}
.dm-agenda-list-page .dm-agenda-eyebrow{display:none}
.dm-agenda-list-page .dm-agenda-results h2{font-size:clamp(28px,3vw,42px);letter-spacing:-.045em;line-height:1.15;margin:0 0 30px}
.dm-agenda-list-page .dm-event-grid{display:grid;grid-template-columns:1fr;gap:20px}
.dm-agenda-list-page .dm-event-grid article>a{display:grid;grid-template-columns:190px minmax(0,1fr) 24px;column-gap:26px;row-gap:8px;padding:20px;border-radius:14px;background:#fafafa;color:#17241f;text-decoration:none;align-content:center}
.dm-agenda-list-page .dm-event-grid img{grid-column:1;grid-row:1/5;width:190px;height:160px;object-fit:cover;border-radius:10px;margin:0}
.dm-agenda-list-page .dm-event-grid time{grid-column:2;font-size:12px;color:#47715c;align-self:end}
.dm-agenda-list-page .dm-event-grid h3{grid-column:2;font-size:24px;line-height:1.2;letter-spacing:-.035em;margin:0;color:inherit}
.dm-agenda-list-page .dm-event-grid p{grid-column:2;font-size:14px;line-height:1.6;color:#66736b;margin:0}
.dm-agenda-list-page .dm-event-grid a>span{grid-column:3;grid-row:1/5;align-self:center;font-size:0;width:22px;height:22px;background:currentColor;mask:var(--rw-btn-icon-mask,url('/wp-content/themes/richway-lab/assets/button-icons/straight.svg')) center/contain no-repeat;-webkit-mask:var(--rw-btn-icon-mask,url('/wp-content/themes/richway-lab/assets/button-icons/straight.svg')) center/contain no-repeat}
.dm-agenda-list-page .dm-event-grid a:is(:hover,:focus-visible){background:#008448;color:#fff}
.dm-agenda-list-page .dm-event-grid a:is(:hover,:focus-visible) :is(time,p){color:#fff}
.dm-agenda-list-page .dm-event-grid a:focus-visible{outline:2px solid #123e2d;outline-offset:3px}
@media(max-width:1000px){.dm-agenda.dm-agenda-list-page{grid-template-columns:240px minmax(0,1fr);gap:28px}.dm-agenda-list-page .dm-event-grid article>a{grid-template-columns:120px minmax(0,1fr) 20px;gap:10px 18px;padding:16px}.dm-agenda-list-page .dm-event-grid img{width:120px;height:150px}}
@media(max-width:760px){.dm-agenda.dm-agenda-list-page{display:block;padding:32px 6vw 60px}.dm-agenda-list-page .dm-agenda-sidebar{position:static;margin-bottom:30px;padding:20px}.dm-agenda-sidebar>summary{font-size:17px;margin:0}.dm-agenda-sidebar[open]>summary{margin-bottom:20px}.dm-agenda-sidebar>summary:after{content:'+';float:right}.dm-agenda-sidebar[open]>summary:after{content:'−'}.dm-agenda-list-page .dm-event-grid h3{font-size:20px}.dm-agenda-list-page .dm-event-grid p{font-size:13px}.dm-agenda-list-page .dm-event-grid article>a{grid-template-columns:90px minmax(0,1fr);gap:10px 16px}.dm-agenda-list-page .dm-event-grid img{width:90px;height:120px}.dm-agenda-list-page .dm-event-grid a>span{display:none}}

.dm-agenda-list-page .dm-event-filters .dm-filter-expanded{padding:0;background:transparent;min-height:0;border-radius:0;isolation:auto}
.dm-agenda-list-page .dm-filter-expanded::before{display:none}
.dm-filter-options{border:0;padding:0;margin:0 0 20px;min-width:0}
.dm-filter-options legend{font-size:14px;font-weight:600;margin-bottom:10px;padding:0;color:#17241f}
.dm-agenda-list-page .dm-filter-options label{display:flex;align-items:center;gap:10px;padding:10px 12px;margin:2px 0;border-radius:9px;cursor:pointer;font-size:14px;line-height:1.4}
.dm-filter-options label:has(input:checked){background:#e8f3ed;color:#006e3c}
.dm-filter-options input[type=radio]{appearance:none;width:17px;height:17px;flex:0 0 17px;border:1px solid #a5b2aa;border-radius:50%;margin:0;background:#fff;display:grid;place-content:center}
.dm-filter-options input[type=radio]:checked{border-color:#008448}
.dm-filter-options input[type=radio]:checked::after{content:'';width:9px;height:9px;background:#008448;border-radius:50%}
.dm-filter-options input:focus-visible{outline:2px solid #008448;outline-offset:3px}
.dm-agenda-list-page .dm-filter-expanded>.dm-select-trigger[hidden]{display:none}
.dm-agenda-list-page .dm-calendar-field>.dm-select-trigger:not([hidden]){margin-bottom:20px;padding:12px;background:#fff;border-radius:9px;font-size:13px;width:100%}
.dm-agenda-list-page .dm-calendar{left:0;top:100%;width:320px;max-width:calc(100vw - 56px)}

.dm-agenda-list-page .dm-agenda-results h2{font-size:22px;font-weight:500;line-height:1.35;letter-spacing:-.025em;margin-bottom:24px}

/* Compact wrapping chips; native radios retain keyboard navigation. */
.dm-agenda-list-page .dm-agenda-sidebar{background:#fff;padding:0}
.dm-agenda-list-page .dm-filter-options{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 26px;padding:0}
.dm-agenda-list-page .dm-filter-options legend{width:100%;margin-bottom:12px;font-size:14px}
.dm-agenda-list-page .dm-filter-options label{position:relative;display:inline-flex;align-items:center;gap:0;margin:0;padding:9px 13px;background:#f3f5f3;color:#435249;border-radius:9px;font-size:13px;font-weight:500;line-height:1.4;min-height:38px;box-sizing:border-box}
.dm-agenda-list-page .dm-filter-options label:has(input:checked){background:#008448;color:#fff}
.dm-agenda-list-page .dm-filter-options input[type=radio]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);border:0}
.dm-agenda-list-page .dm-filter-options label:has(input:focus-visible){outline:2px solid #008448;outline-offset:3px}
@media(hover:hover){.dm-agenda-list-page .dm-filter-options label:not(:has(input:checked)):hover{background:#e5eee8;color:#17241f}}
.dm-agenda-list-page .dm-event-filters{gap:0}
@media(max-width:760px){.dm-agenda-list-page .dm-agenda-sidebar{padding:18px 0;border-bottom:1px solid #e7ebe8;border-radius:0}}

.dm-agenda-list-page .dm-event-filters>button[type=submit][hidden]{display:none}
.dm-filter-status{font-size:12px;line-height:1.5;color:#66736b;margin:4px 0 0}
.dm-filter-status:empty{display:none}
.dm-agenda-list-page .dm-agenda-results[aria-busy=true]{opacity:.6}

/* Quiet filter palette with a restrained selected state. */
.dm-agenda-list-page .dm-filter-options label{background:#fff;color:#263d32;border:1px solid #e0e6e2}
.dm-agenda-list-page .dm-filter-options label:has(input:checked){background:#e8f5ee;color:#008448;border-color:#b8d9c7}
@media(hover:hover){.dm-agenda-list-page .dm-filter-options label:not(:has(input:checked)):hover{background:#f7faf8;color:#263d32;border-color:#bdcec3}}

.dm-agenda-list-page .dm-filter-options label:has(input:checked)>span{color:#008448}
/* Discovery layout: horizontal categories above a generous two-column grid. */
.dm-agenda.dm-agenda-list-page{display:block}
.dm-agenda-list-page .dm-agenda-sidebar{position:static;margin:0 0 38px;padding:0;border:0}
.dm-agenda-list-page .dm-agenda-sidebar>summary{display:none}
.dm-agenda-list-page .dm-event-filters{display:flex;flex-direction:row;flex-wrap:wrap;align-items:flex-start;gap:20px 36px}
.dm-agenda-list-page .dm-event-filters .dm-filter-expanded{width:auto;flex:1 1 300px}
.dm-agenda-list-page .dm-event-filters .dm-filter-expanded:has(select[name=dm_category]){order:-1;flex:0 0 100%;width:100%}
.dm-agenda-list-page .dm-filter-options{margin:0}
.dm-agenda-list-page .dm-filter-options legend{font-size:14px;margin-bottom:14px}
.dm-agenda-list-page .dm-filter-expanded:has(select[name=dm_category]) .dm-filter-options{flex-wrap:nowrap;overflow-x:auto;padding:3px 3px 8px;scrollbar-width:thin}
.dm-agenda-list-page .dm-filter-expanded:has(select[name=dm_category]) label{flex-shrink:0;min-height:64px;padding:18px 24px;border-color:transparent;font-size:15px;font-weight:600;background:#fafafa}
.dm-agenda-list-page .dm-filter-expanded:has(select[name=dm_category]) label:has(input:checked){background:#e8f5ee;color:#008448}
.dm-agenda-list-page .dm-filter-status{flex-basis:100%;margin:0}
.dm-agenda-list-page .dm-agenda-results h2{font-size:20px;margin:0 0 22px}
.dm-agenda-list-page .dm-event-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}
.dm-agenda-list-page .dm-event-grid article{display:flex;min-width:0}
.dm-agenda-list-page .dm-event-grid article>a{display:flex;flex-direction:column;gap:0;padding:0;width:100%;overflow:hidden;border-radius:16px;background:#fafafa}
.dm-agenda-list-page .dm-event-grid img{width:100%;height:auto;aspect-ratio:1.65;object-fit:cover;border-radius:0;margin:0 0 24px}
.dm-agenda-list-page .dm-event-grid time{align-self:auto;font-size:13px;padding:0 26px;margin-bottom:10px}
.dm-agenda-list-page .dm-event-grid h3{font-size:27px;line-height:1.2;padding:0 26px;margin:0 0 12px}
.dm-agenda-list-page .dm-event-grid p{font-size:15px;line-height:1.6;padding:0 26px 28px;margin:0}
.dm-agenda-list-page .dm-event-grid a>span{display:none}
.dm-agenda-list-page .dm-event-grid a:is(:hover,:focus-visible){background:#008448;color:#fff}
.dm-active-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px}.dm-active-filters:empty{display:none}
.dm-active-filters button{display:inline-flex;align-items:center;gap:12px;border:0;border-radius:8px;padding:8px 12px;background:#e8f5ee;color:#008448;font:500 13px/1.4 Inter,sans-serif;cursor:pointer}
.dm-active-filters button:focus-visible{outline:2px solid #008448;outline-offset:3px}
@media(max-width:760px){.dm-agenda-list-page .dm-event-grid{grid-template-columns:1fr;gap:24px}.dm-agenda-list-page .dm-event-grid h3{font-size:24px}.dm-agenda-list-page .dm-event-filters{gap:22px}.dm-agenda-list-page .dm-event-filters .dm-filter-expanded{flex-basis:100%}.dm-agenda-list-page .dm-filter-expanded:has(select[name=dm_category]) label{min-height:54px;padding:14px 18px}.dm-agenda-list-page .dm-agenda-sidebar{margin-bottom:32px}}

/* Editorial agenda entries: image, real category and audience tags on white. */
.dm-agenda-list-page .dm-event-grid{gap:48px 32px}
.dm-agenda-list-page .dm-event-grid article>a{background:transparent;border-radius:0;overflow:visible;color:#17241f}
.dm-agenda-list-page .dm-event-grid img{aspect-ratio:1.5;border-radius:16px;margin-bottom:22px}
.dm-agenda-list-page .dm-event-grid time{padding:0;margin:0 0 10px;font-size:13px;color:#66736b}
.dm-agenda-list-page .dm-event-grid h3{padding:0;margin:0 0 14px;font-size:28px}
.dm-agenda-list-page .dm-event-grid p{padding:0;margin:0;font-size:15px;color:#66736b;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.dm-list-category{font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#008448;margin-bottom:8px}
.dm-list-tags{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:16px}
.dm-list-tags>span{display:inline-block;padding:6px 10px;border-radius:6px;background:#f1f5f2;color:#45614f;font-size:12px;line-height:1.4}
.dm-agenda-list-page .dm-event-grid a:is(:hover,:focus-visible){background:transparent;color:#17241f}
.dm-agenda-list-page .dm-event-grid a:is(:hover,:focus-visible) :is(time,p){color:#66736b}
.dm-agenda-list-page .dm-event-grid a:is(:hover,:focus-visible) h3{color:#008448}
@media(max-width:760px){.dm-agenda-list-page .dm-event-grid h3{font-size:24px}.dm-agenda-list-page .dm-event-grid{gap:34px}}

.dm-agenda-list-page .dm-list-photo{position:relative;overflow:hidden;border-radius:16px;margin-bottom:22px;aspect-ratio:1.5}
.dm-agenda-list-page .dm-event-grid .dm-list-photo img{display:block;width:100%;height:100%;object-fit:cover;border-radius:0;margin:0}
.dm-agenda-list-page .dm-event-grid .dm-list-photo time{position:absolute;top:18px;left:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:64px;min-height:70px;padding:10px;box-sizing:border-box;border-radius:10px;background:#fff;color:#123e2d;margin:0}
.dm-list-photo time strong{font-size:27px;font-weight:600;line-height:1.1;letter-spacing:-.04em}
.dm-list-photo time>span[aria-hidden]{font-size:11px;font-weight:600;text-transform:uppercase;margin-top:4px}
.dm-agenda-list-page .dm-event-grid a:is(:hover,:focus-visible) .dm-list-photo time{color:#123e2d}

/* Keep labels together above the title; allow a fuller excerpt. */
.dm-agenda-list-page .dm-list-tags{margin-top:2px;margin-bottom:12px}
.dm-agenda-list-page .dm-event-grid p{-webkit-line-clamp:3;line-clamp:3}
/* Larger, shorter descriptions keep the agenda easy to scan. */
.dm-agenda-list-page .dm-event-grid p{font-size:17px;line-height:1.6;-webkit-line-clamp:2;line-clamp:2}
@media(max-width:760px){.dm-agenda-list-page .dm-event-grid p{font-size:16px}}

/* Calm category navigation with compact secondary controls. */
.dm-agenda-list-page .dm-event-filters{gap:18px 12px;overflow:visible}
.dm-agenda-list-page .dm-filter-expanded:has(select[name=dm_category]) .dm-filter-options{gap:26px;padding:0;border-bottom:1px solid #e6eae7;scrollbar-width:thin}
.dm-agenda-list-page .dm-filter-expanded:has(select[name=dm_category]) legend{display:none}
.dm-agenda-list-page .dm-filter-expanded:has(select[name=dm_category]) label{background:transparent;border:0;border-bottom:2px solid transparent;border-radius:0;min-height:48px;padding:12px 0;font-size:14px;white-space:nowrap;color:#657169}
.dm-agenda-list-page .dm-filter-expanded:has(select[name=dm_category]) label:has(input:checked){background:transparent;border-bottom-color:#008448;color:#008448}
.dm-agenda-list-page .dm-filter-expanded:has(select[name=dm_category]) label:hover{background:transparent;color:#008448}
.dm-agenda-list-page .dm-event-filters .dm-refinement{flex:0 1 auto;width:auto;position:relative}
.dm-refinement-popover>summary{display:flex;align-items:center;gap:20px;list-style:none;padding:12px 16px;border:1px solid #e1e7e3;border-radius:10px;font-size:13px;font-weight:500;cursor:pointer;color:#263d32;background:#fff}
.dm-refinement-popover>summary::-webkit-details-marker{display:none}
.dm-refinement-popover>summary:after{content:'';width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin-left:auto;flex-shrink:0}
.dm-refinement-popover[open]>summary{border-color:#a8c7b5;background:#f7faf8}
.dm-agenda-list-page .dm-refinement-popover>.dm-filter-options{position:absolute;top:calc(100% + 8px);left:0;z-index:25;width:320px;max-width:calc(100vw - 48px);box-sizing:border-box;padding:18px;background:#fff;border:1px solid #e5ebe7;border-radius:14px;box-shadow:0 12px 40px #183d2814;gap:8px}
.dm-refinement-popover .dm-filter-options legend{float:left;margin-bottom:12px}
.dm-agenda-list-page .dm-agenda-sidebar{margin-bottom:24px}
.dm-agenda-list-page .dm-agenda-results h2{padding:0 0 18px;border-bottom:1px solid #e6eae7;margin-bottom:26px}
.dm-active-filters{margin-bottom:20px}
.dm-active-filters .dm-clear-filters{background:transparent;color:#637168;text-decoration:underline;text-underline-offset:3px}
.dm-refine-toggle{display:none}
.dm-refinement-popover>summary:focus-visible,.dm-refine-toggle:focus-visible{outline:2px solid #008448;outline-offset:3px}

@media(max-width:760px){
 .dm-refine-toggle{display:inline-flex;order:-1;padding:10px 16px;background:#fff;color:#263d32;border:1px solid #dce5df;border-radius:10px;font-family:inherit;font-size:14px;font-weight:500;line-height:1.4;cursor:pointer}
 .dm-agenda-list-page .dm-event-filters .dm-refinement{display:none;flex-basis:100%}
 .dm-agenda-list-page .dm-event-filters.dm-refinements-open .dm-refinement{display:block}
 .dm-agenda-list-page .dm-refinement-popover>.dm-filter-options{position:static;width:100%;max-width:none;margin-top:8px;box-shadow:none}
 .dm-agenda-list-page .dm-filter-expanded:has(select[name=dm_category]) .dm-filter-options{gap:22px}
}

/* Give the category tabs a stronger visual presence. */
.dm-agenda-list-page .dm-filter-expanded:has(select[name=dm_category]) label{font-size:16px;min-height:56px;padding:15px 0}
.dm-agenda-list-page .dm-filter-expanded:has(select[name=dm_category]) .dm-filter-options{gap:30px}
@media(max-width:760px){
 .dm-agenda-list-page .dm-filter-expanded:has(select[name=dm_category]) label{font-size:15px;min-height:52px;padding:13px 0}
 .dm-agenda-list-page .dm-filter-expanded:has(select[name=dm_category]) .dm-filter-options{gap:24px}
}

/* Match the compact filter control heights. */
.dm-agenda-list-page .dm-refine-toggle,
.dm-agenda-list-page .dm-refinement-popover>summary{box-sizing:border-box;min-height:46px;height:auto;padding:12px 16px;line-height:20px;align-items:center}

/* Align agenda controls independently of the homepage search-bar inset. */
.dm-agenda.dm-agenda-list-page .dm-event-filters{padding-inline:0;margin-inline:0}
.dm-agenda.dm-agenda-list-page .dm-event-filters .dm-filter-expanded{padding-inline:0;margin-inline:0}
.dm-agenda-list-page .dm-filter-expanded:has(select[name=dm_category]) label{font-size:18px}
@media(max-width:760px){.dm-agenda-list-page .dm-filter-expanded:has(select[name=dm_category]) label{font-size:16px}}
