/* Per-page widths use the available container, avoiding viewport/scrollbar overflow. */
.oursask-page-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:48px;margin-inline:auto;padding-block:var(--osm-title-space-above,48px)}
.oursask-page-width--boxed{width:min(calc(100% - 40px),var(--osm-content));margin-inline:auto}
.oursask-page-width--wide{width:calc(100% - 40px);margin-inline:auto}
.oursask-page-width--edge,.oursask-page-width--legacy{width:100%;margin-inline:auto}
.oursask-page-layout--original-full{padding-block:0}
.oursask-page-layout>article,.oursask-page-layout>.osm-sidebar,.oursask-home-content{min-width:0;overflow-wrap:anywhere}
.oursask-page-sidebar--right{grid-template-columns:minmax(0,1fr) 300px}
.oursask-page-sidebar--left{grid-template-columns:300px minmax(0,1fr)}
.oursask-page-sidebar--left>.osm-sidebar{grid-column:1;grid-row:1}
.oursask-page-sidebar--left>article,.oursask-page-sidebar--left>.oursask-home-content{grid-column:2;grid-row:1}
.oursask-page-layout .alignwide,.oursask-page-layout .alignfull{width:100%;max-width:100%;margin-inline:0}
.oursask-page-layout .osm-entry__content iframe{max-width:100%}
.oursask-page-layout .osm-entry__content pre{max-width:100%;overflow:auto}
.oursask-page-layout>.osm-sidebar{padding-inline:16px}
/* Homepage hero stays above the sidebar. Constrain coloured panels to their column. */
.oursask-home-frame .osm-latest-updates__header{box-shadow:none}
.oursask-home-frame .oursask-home-content .osm-shell,.oursask-home-frame .oursask-home-content .osm-latest-updates{width:calc(100% - 40px);max-width:none}
.oursask-home-frame .oursask-page-layout{padding-block:0}
.oursask-home-frame .oursask-page-layout>.osm-sidebar{padding-top:32px}
.oursask-home-content{container-type:inline-size}
@container(max-width:1100px){.oursask-home-frame .osm-home-event-columns{grid-template-columns:minmax(0,1fr)}}
.oursask-home-frame .oursask-page-sidebar--left .osm-post-grid,.oursask-home-frame .oursask-page-sidebar--right .osm-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:1024px){
 .oursask-page-layout{grid-template-columns:minmax(0,1fr);gap:32px}
 .oursask-page-sidebar--left>.osm-sidebar,.oursask-page-sidebar--left>article,.oursask-page-sidebar--left>.oursask-home-content{grid-column:auto;grid-row:auto}
}
@media(max-width:600px){
 .oursask-page-width--boxed{width:min(calc(100% - 28px),var(--osm-content))}
 .oursask-page-width--wide{width:calc(100% - 28px)}
 .oursask-home-frame .oursask-home-content .osm-shell,.oursask-home-frame .oursask-home-content .osm-latest-updates{width:calc(100% - 28px)}
 .oursask-home-frame .oursask-page-sidebar--left .osm-post-grid,.oursask-home-frame .oursask-page-sidebar--right .osm-post-grid{grid-template-columns:minmax(0,1fr)}
}

/* Sidebar information cards: preserve widget content and keep every item readable. */
.oursask-page-layout>.osm-sidebar{padding-inline:0}
.osm-sidebar{display:flex;flex-direction:column;gap:20px;align-self:start}
.osm-sidebar>.osm-widget{box-sizing:border-box;min-width:0;margin:0;padding:20px;background:#fff;color:var(--osm-ink,#172127);border:1px solid var(--osm-border,#dce5e1);border-radius:12px;box-shadow:0 4px 16px rgba(23,33,39,.045);font-size:14px;line-height:1.75;overflow-wrap:anywhere}
.osm-sidebar>.osm-widget .osm-widget__title,.osm-sidebar>.osm-widget .wp-block-heading{margin:0 0 16px;padding:0 0 12px;border-bottom:1px solid var(--osm-border,#dce5e1);font-size:17px;font-weight:700;line-height:1.4;color:var(--osm-ink,#172127)}
.osm-sidebar>.osm-widget p{margin:0 0 14px}
.osm-sidebar>.osm-widget p:last-child{margin-bottom:0}
.osm-sidebar>.osm-widget .textwidget>:first-child,.osm-sidebar>.osm-widget .wp-block-group__inner-container>:first-child{margin-top:0}
.osm-sidebar>.osm-widget a{color:var(--osm-primary,#175b82);text-underline-offset:3px}
.osm-sidebar>.osm-widget a:hover{text-decoration:underline}
.osm-sidebar>.osm-widget a:focus-visible{outline:2px solid var(--osm-primary,#175b82);outline-offset:3px;border-radius:2px}
.osm-sidebar>.osm-widget img{max-width:100%;height:auto}
.osm-sidebar .widget_rss>ul,.osm-sidebar .wp-block-rss{list-style:none;margin:0;padding:0}
.osm-sidebar .widget_rss>ul>li,.osm-sidebar .wp-block-rss__item{list-style:none;margin:0;padding:12px 0;border-bottom:1px solid var(--osm-border,#dce5e1)}
.osm-sidebar .widget_rss>ul>li:first-child,.osm-sidebar .wp-block-rss__item:first-child{padding-top:0}
.osm-sidebar .widget_rss>ul>li:last-child,.osm-sidebar .wp-block-rss__item:last-child{border-bottom:0;padding-bottom:0}
.osm-sidebar .widget_rss li>a.rsswidget,.osm-sidebar .wp-block-rss__item-title a{display:block;font-weight:650;font-size:14px;line-height:1.55;text-decoration:none}
.osm-sidebar .rss-date,.osm-sidebar .wp-block-rss__item-publish-date{display:block;margin-top:6px;font-size:12px;line-height:1.5;color:#52616b}
.osm-sidebar .rssSummary,.osm-sidebar .wp-block-rss__item-excerpt{margin-top:10px}
.osm-sidebar .osm-widget__title a{color:inherit;text-decoration:none}
.osm-sidebar .osm-widget__title .rss-widget-icon{width:14px;height:14px;margin-right:6px;vertical-align:baseline}
@media(max-width:600px){.osm-sidebar>.osm-widget{padding:18px}.osm-sidebar{gap:16px}}
