/* Core images replace the prototype's cropped image windows. */
body:is(.page-hub01,[class*="page-life0"]) .wp-block-image.pub-photo img {width:100%;height:100%;max-width:none;object-fit:cover}
body:is(.page-hub01,[class*="page-life0"]) .pub-cover>.wp-block-image.pub-cover-photo {position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto}
body:is(.page-hub01,[class*="page-life0"]) .pub-cover>.wp-block-image.pub-cover-photo img {width:100%;height:100%}
body:is(.page-hub01,[class*="page-life0"]) .sd-daily-link-icon {display:inline-block;vertical-align:middle}
body:is(.page-hub01,[class*="page-life0"]) .pub-filter-controls {display:flex;flex-wrap:wrap;gap:10px}
body:is(.page-hub01,[class*="page-life0"]) .pub-filter-controls p {margin:0}
body:is(.page-hub01,[class*="page-life0"]) p:has(> .sd-daily-arrow) {display:inline}
body:is(.page-hub01,[class*="page-life0"]) .wp-block-list .sd-list-title,body:is(.page-hub01,[class*="page-life0"]) .wp-block-list .sd-list-text {display:block}
body:is(.page-hub01,[class*="page-life0"]) .wp-block-image.pub-photo a {display:block;width:100%;height:100%}
/* The source filter uses compact text cards, including at tablet widths. */
body:is(.page-hub01,.page-life01,.page-life02,.page-life04) .pub-filter .content-list {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
body:is(.page-hub01,.page-life01,.page-life04) .pub-filter .content-list .pub-card-photo-link {display:none}
body.page-life02 .pub-filter .content-list {counter-reset:daily-card}
body.page-life02 .pub-filter .content-list>.pub-text-card {counter-increment:daily-card}
body.page-life02 .pub-filter .content-list>.pub-text-card::before {content:counter(daily-card,decimal-leading-zero);display:block;color:#a28b3f;font-size:12px;font-weight:700;letter-spacing:.12em;margin-bottom:25px}
body.page-life03 .pub-discovery-mosaic>.pub-card:nth-child(3) .pub-card-photo-link {display:none}
/* Core table places the custom class on figure; keep horizontal scroll inside the source wrapper. */
body:is(.page-life01,.page-life04) .pub-table-wrap {overflow-x:auto;max-width:100%}
body:is(.page-life01,.page-life04) figure.wp-block-table.sd-daily-table {min-width:0;width:100%;margin:0;text-align:left}
body:is(.page-life01,.page-life04) .sd-daily-table table {width:100%;min-width:480px;border-collapse:collapse;text-align:left;font-size:15px;line-height:1.75}
body:is(.page-life01,.page-life04) .sd-daily-table :is(th,td) {padding:20px 24px;border:0;border-bottom:1px solid #e7ece5;vertical-align:top}
body:is(.page-life01,.page-life04) .sd-daily-table thead th {background:#f0f6f5;font-weight:650}
body:is(.page-life01,.page-life04) .sd-daily-table tbody th {font-weight:600;width:23%}
body:is(.page-life01,.page-life04) .sd-daily-table tbody td {color:#62726a}
body:is(.page-life01,.page-life04) .sd-daily-table tbody tr:last-child>* {border-bottom:0}
@media(max-width:760px) {
 body:is(.page-hub01,.page-life01,.page-life02,.page-life04) .pub-filter .content-list {grid-template-columns:1fr;gap:18px}
 body:is(.page-life01,.page-life04) .sd-daily-table table {font-size:14px}
 body:is(.page-life01,.page-life04) .sd-daily-table :is(th,td) {padding:16px}
}
body.page-life04 .pub-split-image:has(.sd-daily-table)>* {min-width:0}
body:is(.page-life01,.page-life04) .sd-daily-table thead {border:0}

/* Restore the source text cards after the news-list variant supplies markup. */
body.page-life02 .pub-filter .content-list.pub-news-list {max-width:none;width:100%;margin:0}
body.page-life02 .pub-filter .content-list>.pub-text-card h3 {font-size:22px}
body.page-life02 .pub-filter .content-list>.pub-text-card p {font-size:16px;color:#65716f}
body:is(.page-hub01,.page-life04) .pub-text-card p.pub-num {display:block;font-size:12px;font-weight:700;letter-spacing:.12em;color:#a28b3f;margin:0 0 25px}
@media(max-width:1100px) {
 body:is(.page-hub01,.page-life01,.page-life02,.page-life04) .pub-filter .content-list {gap:18px}
}
