/* Life Event Theme Hubs (Ubora Toolkit). Editorial hub layout; with layout "zox" it sits in Zox News's own wrappers. */
.ubt-hub { --ubt-hub-head: var(--ubt-hub-heading-font, inherit); box-sizing: border-box; width: 100%; color: #1a1a1a; }
.ubt-hub *, .ubt-hub *::before, .ubt-hub *::after { box-sizing: border-box; }
.ubt-hub-main { clear: both; width: 100%; float: left; background: #fff; }
.ubt-hub-main .ubt-hub { max-width: 1200px; margin: 0 auto; padding: 24px 16px 48px; }
.ubt-hub-zox .ubt-hub { padding: 28px 0 40px; }
.ubt-hub-full { width: 100%; }

/* Head */
.ubt-hub-head { margin-bottom: 8px; }
.ubt-hub-crumb { margin: 0 0 6px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.ubt-hub-crumb a { color: var(--ubt-hub-accent); text-decoration: none; }
.ubt-hub-title { margin: 0 0 14px; font-family: var(--ubt-hub-head); font-size: 56px; line-height: 1.02; font-weight: 600; letter-spacing: -.01em; color: #111; }
.ubt-hub-intro { max-width: 720px; font-size: 16px; line-height: 1.75; color: #444; }
.ubt-hub-intro p { margin: 0 0 12px; }

/* Chips and section links */
.ubt-hub-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.ubt-hub-chip { display: inline-block; padding: 7px 14px; border: 1px solid #d9d4cc; border-radius: 2px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #333; text-decoration: none; background: #fff; transition: border-color .2s, color .2s; }
.ubt-hub-chip:hover, .ubt-hub-chip.is-active { border-color: #111; color: #111; }
.ubt-hub-chip--role { background: #f7f4ef; }
.ubt-hub-toc { display: flex; flex-wrap: wrap; gap: 6px 26px; margin: 22px 0 0; padding: 14px 0; border-top: 1px solid #e6e1d9; border-bottom: 1px solid #e6e1d9; }
.ubt-hub-toc a { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: #555; text-decoration: none; }
.ubt-hub-toc a:hover { color: var(--ubt-hub-accent); }

/* Sections */
.ubt-hub-section { margin: 44px 0 0; scroll-margin-top: 90px; }
.ubt-hub-section__title { display: flex; align-items: center; gap: 18px; margin: 0 0 22px; font-family: var(--ubt-hub-head); font-size: 34px; line-height: 1.1; font-weight: 600; color: #111; border: 0; padding: 0; }
.ubt-hub-section__title::after { content: ""; flex: 1; height: 1px; background: #e6e1d9; }

/* Cards */
.ubt-hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 30px 24px; }
.ubt-hub-card { min-width: 0; }
.ubt-hub-card__link { display: flex; flex-direction: column; gap: 8px; color: inherit; text-decoration: none; }
.ubt-hub-card__media { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #f3efe9; }
.ubt-hub .ubt-hub-card__img { width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; display: block; transition: transform .6s ease; }
.ubt-hub-card__link:hover .ubt-hub-card__img { transform: scale(1.03); }
.ubt-hub .ubt-hub-card__kind { float: none; position: static; display: block; width: auto; margin: 6px 0 0; padding: 0; background: none; font-size: 10px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--ubt-hub-accent); line-height: 1.4; }
.ubt-hub .ubt-hub-card__title { margin: 0; font-family: var(--ubt-hub-head); font-size: 22px; font-weight: 600; line-height: 1.2; color: #111; }
.ubt-hub-card__link:hover .ubt-hub-card__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.ubt-hub-card__price { font-size: 13px; letter-spacing: .04em; color: #555; }
.ubt-hub-card__excerpt { font-size: 15px; line-height: 1.7; color: #555; }
.ubt-hub-card--large .ubt-hub-card__link { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px 32px; align-items: center; }
.ubt-hub-card--large .ubt-hub-card__media { grid-row: span 4; aspect-ratio: 4 / 3; }
.ubt-hub .ubt-hub-card--large .ubt-hub-card__title { font-size: 36px; }

/* Text, buttons, pages */
.ubt-hub-text { max-width: 720px; font-size: 16px; line-height: 1.75; }
.ubt-hub-button { display: inline-block; padding: 13px 28px; border-radius: 0; background: #111; color: #fff !important; font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; transition: background .2s; }
.ubt-hub-button:hover { background: var(--ubt-hub-accent); }
.ubt-hub-pages { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.ubt-hub-pages .page-numbers { min-width: 38px; padding: 8px 12px; border: 1px solid #e6e1d9; text-align: center; font-size: 13px; color: #222; text-decoration: none; }
.ubt-hub-pages .current { background: #111; border-color: #111; color: #fff; }
.ubt-hub-empty { font-size: 16px; color: #666; }

@media (max-width: 900px) {
	.ubt-hub-title { font-size: 44px; }
	.ubt-hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
	.ubt-hub-card--large .ubt-hub-card__link { grid-template-columns: 1fr; }
	.ubt-hub-card--large .ubt-hub-card__media { grid-row: auto; }
}
@media (max-width: 520px) {
	.ubt-hub-main .ubt-hub, .ubt-hub-zox .ubt-hub { padding: 18px 0 32px; }
	.ubt-hub-main .ubt-hub { padding-left: 16px; padding-right: 16px; }
	.ubt-hub-title { font-size: 38px; }
	.ubt-hub-section { margin-top: 34px; }
	.ubt-hub-section__title { font-size: 28px; gap: 12px; }
	.ubt-hub .ubt-hub-card__title { font-size: 18px; }
	.ubt-hub .ubt-hub-card--large .ubt-hub-card__title { font-size: 26px; }
	.ubt-hub-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
	.ubt-hub-chip { white-space: nowrap; }
}
