/* Reference card declarations retained from university-e37f1d5b403c22.css; only the position-dependent selector is replaced. */
#home .theme-block[data-layout] .mx-rich, #home .theme-block[data-layout] .mx-small{display: grid; grid-template-columns: minmax(0px, 36%) minmax(0px, 1fr); gap: 15px; padding: 15px 0px; border-bottom: 1px dashed var(--line); align-items: stretch;}
#home .theme-block[data-layout] .mx-rich:first-child, #home .theme-block[data-layout] .mx-small:first-child{padding-top: 0px;}
#home .theme-block[data-layout] .mx-rich:last-child, #home .theme-block[data-layout] .mx-small:last-child{border-bottom: 0px; padding-bottom: 0px;}
#home .theme-block[data-layout] .mx-rich .mx-img, #home .theme-block[data-layout] .mx-small .mx-img{position: relative; display: block; min-height: 134px; align-self: stretch;}
#home .theme-block[data-layout] .mx-img .media{position: absolute; inset: 0px; aspect-ratio: auto; width: 100%; height: 100%; border-radius: 5px;}
#home .theme-block[data-layout] .mx-copy{display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 5px; min-width: 0px;}
#home .theme-block[data-layout] .mx-copy h3, #home .theme-block[data-layout] .mx-card h3{font-size: 16px; font-weight: 800; line-height: 1.7; overflow-wrap: anywhere;}
#home .theme-block[data-layout] .mx-copy p, #home .theme-block[data-layout] .mx-card p{font-size: 12.5px; line-height: 1.85; color: var(--muted); overflow-wrap: anywhere;}
#home .theme-block[data-layout] .mx-copy .label, #home .theme-block[data-layout] .mx-card .label{margin: 0px 0px 3px; font-size: 10px; max-width: 100%;}
#home .theme-block[data-layout] .mx-small{grid-template-columns: minmax(65px, 26%) minmax(0px, 1fr); gap: 11px; padding: 11px 0px;}
#home .theme-block[data-layout] .mx-small .mx-img{min-height: 76px;}
#home .theme-block[data-layout] .mx-small h3{font-size: 13px; line-height: 1.65;}
#home .theme-block[data-layout] .mx-small .placeholder{padding: 4px; gap: 2px;}
#home .theme-block[data-layout] .mx-small .placeholder svg{width: 22px; height: 22px;}
#home .theme-block[data-layout] .mx-small .placeholder span{font-size: 9px; overflow-wrap: anywhere;}
#home .theme-block[data-layout] .mx-grid{display: grid; grid-template-columns: repeat(3, minmax(0px, 1fr)); gap: 20px;}
#home .theme-block[data-layout] .mx-card{display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--line); padding: 0px 0px 15px; border-radius: 5px; overflow: hidden; background: var(--paper);}
#home .theme-block[data-layout] .mx-card > .mx-cardpic{display: block;}
#home .theme-block[data-layout] .mx-card-body{padding: 0px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1 1 0%; align-items: flex-start;}
#home .theme-block[data-layout] .mx-card-body h3{font-size: 16px;}
#home .theme-block[data-layout] .mx-card-body p{display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;}
#home .theme-block[data-layout] .mx-read{display: inline-flex; align-items: center; gap: 5px; background: var(--brand); color: rgb(255, 255, 255); padding: 5px 12px; border-radius: 3px; font-weight: 700; font-size: 11px; margin-top: auto;}
#home .theme-block[data-layout] .mx-tabs{display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin: -17px -20px 15px; padding: 0px; background: var(--bg); border-radius: 5px 5px 0px 0px; overflow: hidden;}
#home .theme-block[data-layout] .mx-tabs button{flex: 1 1 0%; padding: 12px 8px; font-size: 13px; font-weight: 800; border-bottom: 3px solid transparent;}
#home .theme-block[data-layout] .mx-tabs button[aria-selected="true"]{background: var(--paper); color: var(--brand); border-bottom-color: var(--brand);}
#home .theme-block[data-layout] .mx-filters{display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; align-items: center;}
#home .theme-block[data-layout] .mx-filters button{font-size: 11px; font-weight: 700; padding: 5px 10px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper);}
#home .theme-block[data-layout] .mx-filters button[aria-pressed="true"]{background: var(--brand); color: rgb(255, 255, 255); border-color: var(--brand);}
#home .theme-block[data-layout] .mx-paging{display: flex; gap: 5px; margin-inline-start: auto; align-items: center;}
#home .theme-block[data-layout] .mx-paging button{min-width: 33px; min-height: 33px; padding: 4px;}
#home .theme-block[data-layout] .mx-paging button:disabled{opacity: 0.35; cursor: default;}
#home .theme-block[data-layout] .mx-lead{display: grid; grid-template-columns: minmax(0px, 1fr) minmax(0px, 1fr); gap: 15px; padding: 0px 0px 16px; border-bottom: 1px solid var(--line);}
#home .theme-block[data-layout] .mx-lead > .mx-img{position: relative; min-height: 170px;}
#home .theme-block[data-layout] .mx-lead .mx-copy{padding-block: 2px;}
#home .theme-block[data-layout] .mx-lead h3{font-size: 19px;}
#home .theme-block[data-layout] .mx-mosaic{display: grid; grid-template-columns: repeat(2, minmax(0px, 1fr)); column-gap: 17px; padding-top: 8px;}
#home .theme-block[data-layout] .mx-mosaic .mx-small{padding: 10px 0px;}
#home .theme-block[data-layout] .mx-mosaic .mx-small:nth-last-child(-n+2){border-bottom: 0px;}
@media (max-width: 950px) {
#home .theme-block[data-layout] .mx-tabs{margin: -14px -14px 14px;}
#home .theme-block[data-layout] .mx-mosaic{grid-template-columns: 1fr;}
#home .theme-block[data-layout] .mx-mosaic .mx-small:nth-last-child(2){border-bottom: 1px dashed var(--line);}
#home .theme-block[data-layout] .mx-lead{grid-template-columns: 1fr;}
#home .theme-block[data-layout] .mx-lead > .mx-img{min-height: 155px;}
}
@media (max-width: 760px) {
#home .theme-block[data-layout] .mx-grid{grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 10px;}
#home .theme-block[data-layout] .mx-tabs{margin: -13px -13px 13px;}
#home .theme-block[data-layout] .mx-rich{gap: 10px; grid-template-columns: minmax(0px, 36%) minmax(0px, 1fr);}
#home .theme-block[data-layout] .mx-rich .mx-img{min-height: 112px;}
#home .theme-block[data-layout] .mx-rich h3{font-size: 14px;}
#home .theme-block[data-layout] .mx-rich p{font-size: 12px;}
#home .theme-block[data-layout] .mx-card-body{padding: 0px 10px;}
#home .theme-block[data-layout] .mx-card-body h3{font-size: 13px;}
#home .theme-block[data-layout] .mx-lead{grid-template-columns: minmax(0px, 1fr) minmax(0px, 1fr); gap: 10px;}
#home .theme-block[data-layout] .mx-lead h3{font-size: 15px;}
#home .theme-block[data-layout] .mx-lead > .mx-img{min-height: 130px;}
#home .theme-block[data-layout] .mx-mosaic{grid-template-columns: 1fr;}
}
@media (max-width: 400px) {
#home .theme-block[data-layout] .mx-grid{grid-template-columns: 1fr;}
#home .theme-block[data-layout] .mx-card{display: grid; grid-template-columns: minmax(0px, 36%) minmax(0px, 1fr); padding: 0px; gap: 0px; align-items: stretch;}
#home .theme-block[data-layout] .mx-card > .mx-cardpic{position: relative; min-height: 145px;}
#home .theme-block[data-layout] .mx-card > .mx-cardpic .media{position: absolute; inset: 0px; height: 100%; aspect-ratio: auto;}
#home .theme-block[data-layout] .mx-card-body{padding: 10px;}
#home .theme-block[data-layout] .mx-lead{grid-template-columns: 1fr;}
#home .theme-block[data-layout] .mx-lead > .mx-img{min-height: 165px;}
#home .theme-block[data-layout] .mx-rich .mx-img{min-height: 105px;}
#home .theme-block[data-layout] .mx-paging{margin-inline-start: 0px;}
}
#home .theme-block[data-layout] .mx-rich, #home .theme-block[data-layout] .mx-small{border: 0px; gap: 16px; align-items: stretch;}
#home .theme-block[data-layout] .mx-rich{grid-template-columns: minmax(0px, 24%) minmax(0px, 1fr); padding: 0px 0px 24px; margin: 0px 0px 12px;}
#home .theme-block[data-layout] .mx-rich:last-child{margin-bottom: 0px; padding-bottom: 0px;}
#home .theme-block[data-layout] .mx-rich .mx-img{min-height: 132px;}
#home .theme-block[data-layout] .mx-rich .mx-img .media{border-radius: 5px;}
#home .theme-block[data-layout] .mx-copy{gap: 5px;}
#home .theme-block[data-layout] .mx-copy h3{font-size: 16px; line-height: 1.55; font-weight: 800;}
#home .theme-block[data-layout] .mx-copy p{line-height: 1.65; font-size: 12px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;}
#home .theme-block[data-layout] .mx-copy .label, #home .theme-block[data-layout] .mx-card .label{background: var(--category-fill); color: rgb(255, 255, 255); border-radius: 4px; padding: 2px 9px; font-size: 10px; line-height: 1.35; margin: 0px 0px 3px;}
#home .theme-block[data-layout] .mx-copy .label::before, #home .theme-block[data-layout] .mx-copy .label::after, #home .theme-block[data-layout] .mx-card .label::before, #home .theme-block[data-layout] .mx-card .label::after{display: none;}
#home .theme-block[data-layout] .mx-small{grid-template-columns: minmax(0px, 25%) minmax(0px, 1fr); gap: 10px; padding: 0px 0px 12px; margin-bottom: 7px;}
#home .theme-block[data-layout] .mx-small:last-child{margin-bottom: 0px; padding-bottom: 0px;}
#home .theme-block[data-layout] .mx-small .mx-img{min-height: 68px;}
#home .theme-block[data-layout] .mx-small .mx-img .media{border-radius: 4px;}
#home .theme-block[data-layout] .mx-small h3{font-size: 12.5px; line-height: 1.55;}
#home .theme-block[data-layout] .mx-small .meta{font-size: 9.5px; margin: 0px;}
#home .theme-block[data-layout] .mx-grid{gap: 26px;}
#home .theme-block[data-layout] .mx-card{border: 0px; border-radius: 0px; padding: 0px; gap: 9px; background: transparent; overflow: visible;}
#home .theme-block[data-layout] .mx-card > .mx-cardpic .media{aspect-ratio: 16 / 9; border-radius: 0px;}
#home .theme-block[data-layout] .mx-card-body{padding: 0px; gap: 8px;}
#home .theme-block[data-layout] .mx-card-body h3{font-size: 17px; line-height: 1.5;}
#home .theme-block[data-layout] .mx-card-body p{font-size: 12px; line-height: 1.7;}
#home .theme-block[data-layout] .mx-card-meta{display: flex; align-items: center; gap: 6px; flex-wrap: wrap; width: 100%;}
#home .theme-block[data-layout] .mx-card-meta .meta{margin: 0px;}
#home .theme-block[data-layout] .mx-read{background: var(--mx-red); border-radius: 2px; font-size: 10px; padding: 4px 13px; margin-top: auto; align-self: flex-end;}
#home .theme-block[data-layout] .mx-tabs{--mx-tab-color: #bd182b; display: flex; gap: 0px; border: 0px; margin: 0px -14px 18px; padding: 0px; background: var(--paper); border-radius: 12px 12px 0px 0px; overflow: visible; isolation: isolate; position: relative;}
#home .theme-block[data-layout] .mx-tabs button{position: relative; flex: 1 1 0%; min-width: 0px; border: 0px; border-radius: 0px; background: transparent; color: var(--muted); padding: 12px 8px; font-size: 13px; font-weight: 800; line-height: 1.5; z-index: 1;}
#home .theme-block[data-layout] .mx-tabs button[aria-selected="true"]{background: var(--mx-tab-color); color: rgb(255, 255, 255); border-radius: 0px 12px 0px 0px; z-index: 2;}
#home .theme-block[data-layout] .mx-tabs button[aria-selected="true"]::before, #home .theme-block[data-layout] .mx-tabs button[aria-selected="true"]::after{content: ""; position: absolute; width: 12px; height: 12px; pointer-events: none; background: radial-gradient(circle at 0 100%,transparent 11.5px,var(--mx-tab-color) 12px);}
#home .theme-block[data-layout] .mx-tabs button[aria-selected="true"]::before{top: 0px; left: -12px;}
#home .theme-block[data-layout] .mx-tabs button[aria-selected="true"]::after{bottom: -12px; right: 0px;}
#home .theme-block[data-layout] .mx-tabs button:last-child[aria-selected="true"]{border-radius: 12px 0px 0px;}
#home .theme-block[data-layout] .mx-tabs button:last-child[aria-selected="true"]::before{left: auto; right: -12px; transform: scaleX(-1);}
#home .theme-block[data-layout] .mx-tabs button:last-child[aria-selected="true"]::after{right: auto; left: 0px; transform: scaleX(-1);}
#home .theme-block[data-layout] .mx-filters{gap: 6px; margin-bottom: 12px; border-bottom: 1px solid var(--line); padding-bottom: 8px;}
#home .theme-block[data-layout] .mx-filters button{background: transparent; border-width: 0px 0px 2px; border-style: none none solid; border-color: currentcolor currentcolor transparent; border-image: none; border-radius: 0px; padding: 5px 7px; font-size: 10px; color: var(--muted);}
#home .theme-block[data-layout] .mx-filters button[aria-pressed="true"]{background: transparent; color: var(--ink); border-bottom-color: var(--ink);}
#home .theme-block[data-layout] .mx-paging button{border: 1px solid var(--line); background: var(--paper); border-radius: 2px; min-width: 26px; min-height: 26px;}
#home .theme-block[data-layout] .mx-lead{grid-template-columns: minmax(0px, 48%) minmax(0px, 1fr); border: 0px; padding: 0px 0px 12px; gap: 16px;}
#home .theme-block[data-layout] .mx-lead > .mx-img{min-height: 175px;}
#home .theme-block[data-layout] .mx-lead > .mx-img .media{border-radius: 0px;}
#home .theme-block[data-layout] .mx-lead h3{font-size: 16px;}
#home .theme-block[data-layout] .mx-lead .mx-read{background: rgb(71, 125, 57);}
#home .theme-block[data-layout] .mx-mosaic{gap: 0px 16px; padding: 0px;}
#home .theme-block[data-layout] .mx-mosaic .mx-small{border: 0px; padding: 8px 0px; margin: 0px; grid-template-columns: minmax(0px, 31%) minmax(0px, 1fr);}
#home .theme-block[data-layout] .mx-mosaic .mx-small .mx-img{min-height: 70px;}
@media (max-width: 1000px) {
#home .theme-block[data-layout] .mx-rich{grid-template-columns: minmax(0px, 29%) minmax(0px, 1fr); gap: 12px;}
#home .theme-block[data-layout] .mx-mosaic{grid-template-columns: repeat(2, minmax(0px, 1fr));}
#home .theme-block[data-layout] .mx-lead{grid-template-columns: minmax(0px, 45%) minmax(0px, 1fr); gap: 10px;}
}
@media (max-width: 760px) {
#home .theme-block[data-layout] .mx-rich{grid-template-columns: minmax(0px, 30%) minmax(0px, 1fr); gap: 12px; padding-bottom: 16px; margin-bottom: 6px;}
#home .theme-block[data-layout] .mx-rich .mx-img{min-height: 110px;}
#home .theme-block[data-layout] .mx-rich h3{font-size: 14px;}
#home .theme-block[data-layout] .mx-small h3{font-size: 13px;}
#home .theme-block[data-layout] .mx-small .mx-img{min-height: 76px;}
#home .theme-block[data-layout] .mx-grid{gap: 14px;}
#home .theme-block[data-layout] .mx-card-body h3{font-size: 14px;}
#home .theme-block[data-layout] .mx-mosaic{grid-template-columns: repeat(2, minmax(0px, 1fr));}
#home .theme-block[data-layout] .mx-lead > .mx-img{min-height: 135px;}
}
@media (max-width: 640px) {
#home .theme-block[data-layout] .mx-grid{grid-template-columns: minmax(0px, 1fr);}
#home .theme-block[data-layout] .mx-card{display: flex; gap: 8px; padding: 0px 0px 16px; border-bottom: 1px solid var(--line);}
#home .theme-block[data-layout] .mx-card > .mx-cardpic{min-height: 0px; position: static;}
#home .theme-block[data-layout] .mx-card > .mx-cardpic .media{position: relative; inset: auto; aspect-ratio: 16 / 9; height: auto;}
#home .theme-block[data-layout] .mx-card-body{padding: 0px 2px;}
#home .theme-block[data-layout] .mx-card-body h3{font-size: 16px;}
#home .theme-block[data-layout] .mx-mosaic, #home .theme-block[data-layout] .mx-lead{grid-template-columns: minmax(0px, 1fr);}
#home .theme-block[data-layout] .mx-lead > .mx-img{min-height: 175px;}
#home .theme-block[data-layout] .mx-small .mx-img{min-height: 68px;}
#home .theme-block[data-layout] .mx-tabs button{font-size: 12px;}
}

/* Sizing belongs to the component's available width, rather than its page slot. */
#home .theme-block[data-layout]{container:theme-layout / inline-size;min-width:0;max-width:100%;--mx-red:#bd182b;--mx-soft:#f7f7f8}
[data-theme=dark] #home .theme-block[data-layout]{--mx-red:#b8293b;--mx-soft:#202a35}
#home .theme-block[data-layout] :is(.editor-mosaic,.editor-list,.editor-lead,.editor-compact,.editor-summary,.ed-text,.storygrid,.book-grid,.mx-grid,.mx-story-list,.mx-small,.mx-rich,.mx-lead,.mx-img,.media,.mx-copy,.mx-mosaic,.lib-grid,.lib-card,.lib-card-body,.lib-card-actions){min-width:0;max-width:100%}
/* An image must fill its own thumbnail, not infer a width from the text column's height. */
#home .theme-block[data-layout] :is(.mx-small,.mx-rich,.mx-lead)>.mx-img>.media{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto}
#home .theme-block[data-layout] :is(.storygrid,.mx-grid,.book-grid,.lib-grid){--layout-card-min:max(220px,calc((100% - (var(--block-columns,3) - 1)*16px)/var(--block-columns,3)));display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,var(--layout-card-min)),1fr));gap:16px;align-items:stretch}
#home .theme-block[data-layout] :is(.book-grid,.lib-grid){--layout-card-min:max(180px,calc((100% - (var(--block-columns,3) - 1)*16px)/var(--block-columns,3)))}
#home .theme-block[data-layout] .lib-card-actions{display:flex;flex-wrap:nowrap;gap:7px}
#home .theme-block[data-layout] .lib-card-actions .lib-link{display:flex;align-items:center;justify-content:space-between;gap:4px;min-width:0;line-height:1.6;overflow-wrap:normal;word-break:normal}
#home .theme-block[data-layout] .lib-card-actions :is(.lib-save,.ico){flex-shrink:0}
#home .theme-block[data-layout] .lib-cover-stage{aspect-ratio:1.35;max-height:220px}
#home .theme-block[data-layout] .lib-cover{max-width:100%;max-height:100%;object-fit:contain}
#home .theme-block[data-layout] .mx-tabs button{white-space:normal;overflow-wrap:anywhere}
/* Full-bleed tabs may consume panel padding, but an unpadded section has no inset to consume. */
#home .theme-block[data-layout]:not(.mx-panel) .mx-tabs{margin-inline:0}
#home .theme-block[data-layout] .mx-filters>button{max-width:100%;white-space:normal;overflow-wrap:anywhere}
#home .theme-block[data-layout] .mx-paging{flex-shrink:0}

/* The renderer omits empty secondary columns. A single lead remains one real card. */
#home .theme-block[data-layout] .editor-mosaic.has-single-item{grid-template-columns:minmax(0,1fr)}
#home .theme-block[data-layout] .editor-mosaic.has-single-item>.editor-lead{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1fr);column-gap:18px;align-items:start;order:0}
#home .theme-block[data-layout] .editor-mosaic.has-single-item>.editor-lead>.media{grid-column:1;grid-row:1/span 4;align-self:stretch;min-height:220px;max-height:320px;height:100%}
#home .theme-block[data-layout] .editor-mosaic.has-single-item>.editor-lead>:not(.media){grid-column:2}
#home .theme-block[data-layout]:has(>.editor-mosaic.has-single-item){align-self:start}

@container theme-layout (max-width:620px){
 #home .theme-block[data-layout] .editor-mosaic{grid-template-columns:minmax(0,1fr);gap:12px}
 #home .theme-block[data-layout] .editor-mosaic-reverse>.editor-lead{order:0}
 #home .theme-block[data-layout] .editor-mosaic-reverse>.editor-list{order:1}
 #home .theme-block[data-layout] .editor-mosaic.has-single-item>.editor-lead{display:block}
 #home .theme-block[data-layout] .editor-mosaic.has-single-item>.editor-lead>.media{height:clamp(180px,48cqw,280px);min-height:0;max-height:280px;aspect-ratio:16/9}
 #home .theme-block[data-layout] .mx-mosaic,#home .theme-block[data-layout] .mx-lead{grid-template-columns:minmax(0,1fr)}
 #home .theme-block[data-layout] :is(.storygrid,.mx-grid,.book-grid,.lib-grid){gap:12px}
}

/* Explicit appearance switches retain priority over each layout's default styling. */
#home .theme-block[data-layout].hide-block-images :is(.mx-img,.mx-cardpic){display:none}
#home .theme-block[data-layout].hide-block-images :is(.mx-small,.mx-rich,.mx-lead,.mx-card,.editor-summary,.editor-compact,.editor-mosaic.has-single-item>.editor-lead){display:block}
#home .theme-block[data-layout].hide-block-excerpts :is(.mx-copy>p,.mx-card-body>p,.ed-text p,.editor-lead>p){display:none}
#home .theme-block[data-layout].hide-block-dates .meta{display:none}
#home .theme-block[data-layout].has-custom-radius :is(.media,.mx-card){border-radius:var(--block-radius)}
