/* Blog hub ([cma_hub] shortcode, lib/blog-hub.php) */
.cma-hub {
	--hub-green: #175152;
	--hub-green-dark: #285051;
	--hub-orange: #E68341;
	--hub-grey: #666666;
	--hub-line: #e4eaea;
	--hub-soft: #ECF0F2;
	--hub-footer: #DFE7E9;
	padding: 64px 0;
	font-family: 'Open Sans', sans-serif;
	font-size: 15px;
	line-height: 1.6;
	color: #111;
}
.cma-hub *, .cma-hub *::before, .cma-hub *::after { box-sizing: border-box; }
.cma-hub a { color: inherit; text-decoration: none; }
.cma-hub h1, .cma-hub h2, .cma-hub h3, .cma-hub h4 {
	font-family: 'Cormorant', serif;
	font-weight: 500;
	margin: 0;
	color: #111;
	letter-spacing: 0;
}
.cma-hub img { display: block; max-width: 100%; }
.cma-hub-wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.cma-hub-kicker { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--hub-orange); margin-bottom: 10px; }
.cma-hub-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.cma-hub-head h2 { font-size: 36px; line-height: 1.15; }
.cma-hub-head p { margin: 6px 0 0; color: var(--hub-grey); font-size: 14px; max-width: 560px; }
.cma-hub-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--hub-grey); margin-bottom: 8px; }
.cma-hub-cat { color: var(--hub-orange); }
.cma-hub-noimg { display: block; width: 100%; height: 100%; min-height: 78px; background: var(--hub-soft); }
.cma-hub-btn {
	display: inline-block; border: 1px solid var(--hub-green); color: var(--hub-green) !important; background: #fff;
	border-radius: 40px; padding: 12px 34px; font-family: 'Open Sans', sans-serif; font-size: 12px; line-height: 1.4;
	letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: .2s;
}
.cma-hub-btn:hover, .cma-hub-btn:focus { background: var(--hub-green); color: #fff !important; }
.cma-hub-btn-solid { background: var(--hub-green); color: #fff !important; }
.cma-hub-btn-solid:hover, .cma-hub-btn-solid:focus { background: var(--hub-green-dark); }

/* 1. hero */
.cma-hub-hero { background: linear-gradient(180deg, #f7fafa 0%, #fff 100%); border-bottom: 1px solid var(--hub-line); padding: 80px 0 56px; }
.cma-hub-hero h1 { font-size: 60px; line-height: 1.05; }
.cma-hub-lead { color: var(--hub-grey); max-width: 620px; margin: 14px 0 26px; font-size: 16px; }
.cma-hub-search { display: flex; max-width: 640px; border: 1px solid var(--hub-green); border-radius: 4px; overflow: hidden; background: #fff; }
.cma-hub-search input[type=search] {
	flex: 1 1 0; min-width: 0; border: 0 !important; padding: 11px 18px; font: inherit; outline: none; background: #fff; box-shadow: none;
}
.cma-hub-search button {
	background: var(--hub-green); color: #fff; border: 0; border-radius: 0; flex: 0 0 auto; padding: 0 22px; font-family: inherit;
	font-size: 13px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer;
}
.cma-hub-search button:hover { background: var(--hub-green-dark); }
.cma-hub-stats { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 34px; font-size: 12px; color: var(--hub-grey); letter-spacing: .06em; }
.cma-hub-stats b { font-family: 'Cormorant', serif; font-size: 26px; color: var(--hub-green); display: block; font-weight: 500; }

/* 2. featured */
.cma-hub-feature { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; }
.cma-hub-big { position: relative; border-radius: 3px; overflow: hidden; min-height: 420px; background: var(--hub-footer); display: flex; align-items: flex-end; }
.cma-hub-big img, .cma-hub-big .cma-hub-noimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cma-hub-big-txt { position: relative; padding: 34px; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(8,30,30,.86) 55%); width: 100%; }
.cma-hub-big h3 { color: #fff; font-size: 31px; line-height: 1.2; }
.cma-hub-big .cma-hub-meta { color: #cfdcdc; }
.cma-hub-side { display: flex; flex-direction: column; gap: 18px; }
.cma-hub-side-item { display: grid; grid-template-columns: 104px 1fr; gap: 16px; align-items: start; border-bottom: 1px solid var(--hub-line); padding-bottom: 18px; }
.cma-hub-side-item:last-child { border-bottom: 0; }
.cma-hub-side-item img, .cma-hub-side-item .cma-hub-noimg { width: 104px; height: 78px; object-fit: cover; border-radius: 2px; }
.cma-hub-side-item h4 { font-size: 19px; line-height: 1.3; }

/* 3. latest */
.cma-hub-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.cma-hub-filters button {
	border: 1px solid var(--hub-line); background: #fff; border-radius: 40px; padding: 7px 16px; font-family: inherit;
	font-size: 12.5px; line-height: 1.4; color: var(--hub-grey); cursor: pointer; text-transform: none; letter-spacing: 0;
}
.cma-hub-filters button:hover { border-color: var(--hub-green); color: var(--hub-green); background: #fff; }
.cma-hub-filters button.on { background: var(--hub-green); border-color: var(--hub-green); color: #fff; }
.cma-hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cma-hub-card { border: 1px solid var(--hub-line); border-radius: 3px; overflow: hidden; display: flex; flex-direction: column; background: #fff; transition: .2s; }
.cma-hub-card[hidden], .cma-hub-updates > a[hidden], .cma-hub-press > a[hidden], .cma-hub-loadmore[hidden] { display: none; }
#cma-hub-latest { scroll-margin-top: 20px; }
.cma-hub-card:hover { box-shadow: 0 14px 34px rgba(0,0,0,.08); transform: translateY(-2px); }
.cma-hub-card-img { display: block; height: 180px; background: var(--hub-soft); }
.cma-hub-card-img img { width: 100%; height: 100%; object-fit: cover; }
.cma-hub-card-body { display: block; padding: 20px; }
.cma-hub-card h3 { font-size: 22px; line-height: 1.28; }
.cma-hub-empty { color: var(--hub-grey); }
.cma-hub-loadmore { text-align: center; margin-top: 34px; }

/* 4. legislative updates */
.cma-hub-soft { background: var(--hub-soft); }
.cma-hub-updates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cma-hub-upd { background: #fff; border-left: 3px solid var(--hub-orange); padding: 20px 22px; }
.cma-hub-date { display: block; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--hub-orange); margin-bottom: 8px; }
.cma-hub-upd h4 { font-size: 19px; line-height: 1.3; }

/* 5. guide: green intro panel + vertical timeline */
.cma-hub-guide { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border: 1px solid var(--hub-line); border-radius: 3px; overflow: hidden; background: #fff; }
.cma-hub-guide-intro { background: var(--hub-green); color: #fff; padding: 48px 40px; }
.cma-hub-guide-sticky { position: sticky; top: 40px; }
.cma-hub-guide .cma-hub-kicker { color: var(--hub-orange); }
.cma-hub-guide-intro p { color: #cfdcdc; margin: 12px 0 0; }
.cma-hub-guide-count { margin: 18px 0 28px; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: #9fbcbc; }
.cma-hub-guide-list { padding: 44px 44px 36px; }
.cma-hub-path { list-style: none; margin: 0; padding: 0 0 0 26px; position: relative; }
.cma-hub-path::before { content: ''; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: var(--hub-line); }
.cma-hub-stage { position: relative; margin: 0 0 22px; padding: 0; }
.cma-hub-stage[hidden] { display: none; }
.cma-hub-stage ul { list-style: none; margin: 0; padding: 0; }
.cma-hub-stage li { position: relative; margin: 0 0 12px; padding: 0; }
.cma-hub-stage li[hidden] { display: none; }
.cma-hub-stage li::before { content: ''; position: absolute; left: -24px; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: #fff; border: 1px solid var(--hub-green); }
.cma-hub-stage li a { display: grid; grid-template-columns: 28px 1fr; gap: 6px; font-size: 14px; line-height: 1.5; color: #111 !important; }
.cma-hub-num { color: var(--hub-orange); font-size: 12px; letter-spacing: .04em; padding-top: 1px; }
.cma-hub-guide-list .cma-hub-loadmore { text-align: left; margin: 6px 0 0 26px; }

/* 6. press */
.cma-hub-press { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cma-hub-press a { border-top: 2px solid var(--hub-green); padding-top: 14px; }
.cma-hub-press h4 { font-size: 18px; line-height: 1.3; }

/* 7. call to action */
.cma-hub-cta { background: var(--hub-green); text-align: center; }
.cma-hub-cta h2 { color: #fff; font-size: 38px; }
.cma-hub-cta p { color: #cfdcdc; max-width: 540px; margin: 12px auto 26px; }
.cma-hub-cta .cma-hub-btn { border-color: #fff; color: #fff !important; background: transparent; }
.cma-hub-cta .cma-hub-btn:hover { background: #fff; color: var(--hub-green) !important; }

@media (max-width: 1100px) {
	.cma-hub-grid, .cma-hub-updates { grid-template-columns: repeat(2, 1fr); }
	.cma-hub-press { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
	.cma-hub { padding: 44px 0; }
	.cma-hub-wrap { padding: 0 18px; }
	.cma-hub-hero h1 { font-size: 40px; }
	.cma-hub-feature { grid-template-columns: 1fr; }
	.cma-hub-guide { grid-template-columns: 1fr; }
	.cma-hub-guide-intro { padding: 32px 24px; }
	.cma-hub-guide-list { padding: 30px 24px 24px; }
	.cma-hub-big { min-height: 320px; }
	.cma-hub-head { flex-direction: column; align-items: flex-start; gap: 10px; }
}
@media (max-width: 560px) {
	.cma-hub-grid, .cma-hub-updates, .cma-hub-press { grid-template-columns: 1fr; }
	.cma-hub-big-txt { padding: 22px; }
	.cma-hub-big h3 { font-size: 25px; }
	.cma-hub-search button { padding: 0 14px; }
}

/* Overrides for the theme and Elementor kit styles (headings, buttons and images are styled globally). */
.cma-hub p { font-weight: 400; }
.cma-hub .cma-hub-head h2 { font-size: 36px !important; line-height: 1.15 !important; font-weight: 500 !important; font-family: 'Cormorant', serif !important; }
.cma-hub .cma-hub-hero h1 { font-size: 60px !important; line-height: 1.05 !important; font-weight: 500 !important; font-family: 'Cormorant', serif !important; }
.cma-hub .cma-hub-guide h2 { font-size: 38px !important; line-height: 1.15 !important; font-weight: 500 !important; font-family: 'Cormorant', serif !important; color: #fff !important; }
.cma-hub .cma-hub-stage h3 { position: relative; margin: 0 0 12px !important; font-family: 'Open Sans', sans-serif !important; font-size: 11.5px !important; line-height: 1.4 !important; font-weight: 600 !important; letter-spacing: .14em !important; text-transform: uppercase !important; color: var(--hub-green) !important; }
.cma-hub .cma-hub-stage h3::before { content: ''; position: absolute; left: -26px; top: 2px; width: 11px; height: 11px; border-radius: 50%; background: var(--hub-orange); }
.cma-hub .cma-hub-stage li a, .cma-hub .cma-hub-stage li span { font-family: 'Open Sans', sans-serif; }
.cma-hub .cma-hub-guide-intro a.cma-hub-btn { background: #fff !important; border-color: #fff !important; color: var(--hub-green) !important; white-space: nowrap; }
.cma-hub .cma-hub-guide-intro a.cma-hub-btn:hover, .cma-hub .cma-hub-guide-intro a.cma-hub-btn:focus { background: transparent !important; color: #fff !important; }
.cma-hub.cma-hub-cta h2 { color: #fff !important; font-size: 38px !important; font-weight: 500 !important; font-family: 'Cormorant', serif !important; }
.cma-hub .cma-hub-card h3 { font-size: 22px !important; line-height: 1.28 !important; font-weight: 500 !important; font-family: 'Cormorant', serif !important; }
.cma-hub .cma-hub-big h3 { font-size: 31px !important; line-height: 1.2 !important; font-weight: 500 !important; color: #fff !important; font-family: 'Cormorant', serif !important; }
.cma-hub .cma-hub-side-item h4, .cma-hub .cma-hub-upd h4 { font-size: 19px !important; line-height: 1.3 !important; font-weight: 500 !important; font-family: 'Cormorant', serif !important; }
.cma-hub .cma-hub-press h4 { font-size: 18px !important; line-height: 1.3 !important; font-weight: 500 !important; font-family: 'Cormorant', serif !important; }

.cma-hub .cma-hub-card-img img { width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; }
.cma-hub .cma-hub-big img, .cma-hub .cma-hub-big .cma-hub-noimg { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; }
.cma-hub .cma-hub-side-item img, .cma-hub .cma-hub-side-item .cma-hub-noimg { width: 104px !important; height: 78px !important; max-width: none; object-fit: cover; }

.cma-hub button.cma-hub-btn, .cma-hub a.cma-hub-btn {
	border: 1px solid var(--hub-green) !important; background: #fff !important; color: var(--hub-green) !important;
	border-radius: 40px !important; padding: 12px 34px !important; font-size: 12px !important; font-weight: 400 !important;
	letter-spacing: .14em !important; text-transform: uppercase !important; line-height: 1.4 !important;
}
.cma-hub button.cma-hub-btn:hover, .cma-hub a.cma-hub-btn:hover, .cma-hub button.cma-hub-btn:focus, .cma-hub a.cma-hub-btn:focus { background: var(--hub-green) !important; color: #fff !important; }
.cma-hub a.cma-hub-btn-solid { background: var(--hub-green) !important; color: #fff !important; }
.cma-hub a.cma-hub-btn-solid:hover, .cma-hub a.cma-hub-btn-solid:focus { background: var(--hub-green-dark) !important; }
.cma-hub.cma-hub-cta .cma-hub-btn { border-color: #fff !important; color: #fff !important; background: transparent !important; }
.cma-hub.cma-hub-cta .cma-hub-btn:hover, .cma-hub.cma-hub-cta .cma-hub-btn:focus { background: #fff !important; color: var(--hub-green) !important; }

.cma-hub .cma-hub-filters button {
	border: 1px solid var(--hub-line) !important; background: #fff !important; color: var(--hub-grey) !important;
	border-radius: 40px !important; padding: 7px 16px !important; font-size: 12.5px !important; font-weight: 400 !important;
	line-height: 1.4 !important; text-transform: none !important; letter-spacing: 0 !important;
}
.cma-hub .cma-hub-filters button:hover, .cma-hub .cma-hub-filters button:focus { border-color: var(--hub-green) !important; color: var(--hub-green) !important; }
.cma-hub .cma-hub-filters button.on { background: var(--hub-green) !important; border-color: var(--hub-green) !important; color: #fff !important; }

.cma-hub .cma-hub-search button {
	background: var(--hub-green) !important; color: #fff !important; border: 0 !important; border-radius: 0 !important;
	padding: 0 22px !important; font-size: 13px !important; font-weight: 400 !important; letter-spacing: .1em !important; text-transform: uppercase !important;
}
.cma-hub .cma-hub-search button:hover, .cma-hub .cma-hub-search button:focus { background: var(--hub-green-dark) !important; }

@media (max-width: 860px) {
	.cma-hub .cma-hub-hero h1 { font-size: 40px !important; }
	.cma-hub .cma-hub-head h2, .cma-hub.cma-hub-cta h2 { font-size: 30px !important; }
	.cma-hub .cma-hub-guide h2 { font-size: 32px !important; }
	.cma-hub .cma-hub-stage h3 { position: relative; margin: 0 0 12px !important; font-family: 'Open Sans', sans-serif !important; font-size: 11.5px !important; line-height: 1.4 !important; font-weight: 600 !important; letter-spacing: .14em !important; text-transform: uppercase !important; color: var(--hub-green) !important; }
.cma-hub .cma-hub-stage h3::before { content: ''; position: absolute; left: -26px; top: 2px; width: 11px; height: 11px; border-radius: 50%; background: var(--hub-orange); }
}
@media (max-width: 560px) {
	.cma-hub .cma-hub-big h3 { font-size: 25px !important; }
	.cma-hub .cma-hub-search button { padding: 0 14px !important; }
}
.cma-hub .cma-hub-stage li a, .cma-hub .cma-hub-stage li a span { font-weight: 400 !important; }

/* Hover underline, as on the homepage articles: a 1px line drawn left to right under each line of the title,
   and the title turns from the site green to the theme grey. */
.cma-hub .cma-hub-t {
	background-repeat: no-repeat;
	background-image: linear-gradient(transparent calc(100% - 1px), currentColor 1px);
	background-size: 0% 100%;
	transition: background-size .6s cubic-bezier(.215, .61, .355, 1), color .6s cubic-bezier(.215, .61, .355, 1);
}
.cma-hub .cma-hub-card h3, .cma-hub .cma-hub-side-item h4, .cma-hub .cma-hub-upd h4, .cma-hub .cma-hub-press h4 { color: var(--hub-green) !important; }
.cma-hub .cma-hub-card:hover .cma-hub-t, .cma-hub .cma-hub-card:focus-visible .cma-hub-t,
.cma-hub .cma-hub-side-item:hover .cma-hub-t, .cma-hub .cma-hub-side-item:focus-visible .cma-hub-t,
.cma-hub .cma-hub-upd:hover .cma-hub-t, .cma-hub .cma-hub-upd:focus-visible .cma-hub-t,
.cma-hub .cma-hub-press a:hover .cma-hub-t, .cma-hub .cma-hub-press a:focus-visible .cma-hub-t {
	background-size: 100% 100%;
	color: #54595F;
}
.cma-hub .cma-hub-big:hover .cma-hub-t, .cma-hub .cma-hub-big:focus-visible .cma-hub-t,
.cma-hub .cma-hub-stage li a:hover .cma-hub-t, .cma-hub .cma-hub-stage li a:focus-visible .cma-hub-t { background-size: 100% 100%; }
@media (prefers-reduced-motion: reduce) {
	.cma-hub .cma-hub-t { transition: none; }
}
