/*
 * v1.8.4 Articles page: featured article, mosaic, navy reading band, all articles.
 * Markup: inc/v184.php. Fonts: Maven Pro headings, Lato body.
 */
.shf-articles-showcase {
	--shf-navy: #0B1A2E;
	--shf-head: var(--wp--preset--font-family--maven-pro, "Maven Pro", sans-serif);
	margin: 0 !important; max-width: none !important; background: #F6FAFB; overflow: hidden;
}
.shf-ed-hero--slim { padding-top: clamp(36px, 4vw, 56px) !important; padding-bottom: clamp(30px, 3.4vw, 44px) !important; }
.shf-ed-hero--slim .shf-ed-hero__title { font-size: clamp(2.1rem, 3.6vw, 3rem) !important; margin-bottom: 6px !important; }
.shf-ed-hero--slim .shf-ed-hero__intro { margin-bottom: 18px !important; }
.shf-as-editor-note { margin: 0; padding: 48px 24px; color: #4A5A66; }

/* shared bits */
.shf-as-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
	transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.shf-as-type { display: inline-block; font-family: var(--shf-head); font-weight: 700; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }
.shf-as-date { display: block; font-size: .84rem; opacity: .85; }
.shf-as-chip {
	position: absolute; z-index: 3; display: flex; align-items: center; justify-content: center;
	top: 16px; left: 16px; width: 112px; height: 64px; padding: 9px 12px; box-sizing: border-box;
	background: #fff; border-radius: 12px; box-shadow: 0 6px 22px rgba(6, 22, 34, .22);
}
.shf-as-chip img { display: block; width: auto; height: auto; object-fit: contain; }
.shf-as-chip--small { top: 10px; left: 10px; width: 84px; height: 48px; padding: 6px 9px; border-radius: 10px; }
.shf-af__btn {
	display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px; border-radius: 999px;
	background: #fff; color: #0B1A2E !important; text-decoration: none !important;
	font-family: var(--shf-head); font-weight: 700; font-size: .92rem; letter-spacing: .01em;
	box-shadow: 0 8px 24px rgba(0,0,0,.18); transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.shf-af__btn span { transition: transform .25s ease; }
.shf-af__btn:hover, .shf-af__btn:focus-visible { background: #E9F8FB; transform: translateY(-2px); box-shadow: 0 0 0 4px rgba(34,184,207,.35), 0 12px 28px rgba(0,0,0,.22); }
.shf-af__btn:hover span, .shf-af__btn:focus-visible span { transform: translateX(4px); }

/* ===================== 1. Featured (full bleed) ===================== */
.shf-af { position: relative; min-height: clamp(520px, 76vh, 820px); display: flex; align-items: center; color: #fff; isolation: isolate; background: #0B1A2E; }
.shf-af__media { position: absolute; inset: 0; overflow: hidden; z-index: -2; }
.shf-af__veil {
	position: absolute; inset: 0 auto 0 0; width: 54%; z-index: -1;
	-webkit-backdrop-filter: blur(14px) saturate(.8); backdrop-filter: blur(14px) saturate(.8);
	background: linear-gradient(90deg, rgba(6, 18, 32, .86) 0%, rgba(6, 18, 32, .74) 62%, rgba(6, 18, 32, .5) 100%);
	-webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent);
	transition: background .8s ease;
}
.shf-af::after { content: ""; position: absolute; inset: auto 0 0 0; height: 32%; z-index: -1; pointer-events: none;
	background: linear-gradient(0deg, rgba(11, 26, 46, .55), transparent); }
.shf-af__inner { position: relative; width: 100%; max-width: 1280px; margin: 0 auto; padding: 72px clamp(20px, 4vw, 48px); box-sizing: border-box; }
.shf-af__text { max-width: min(560px, 46vw); }
.shf-af .shf-as-type { color: #8FE3EF; margin-bottom: 18px; }
.shf-af .shf-as-type::before { content: ""; display: inline-block; width: 28px; height: 2px; margin: 0 12px .28em 0; vertical-align: middle; background: #22B8CF; }
.shf-af__title { margin: 0 0 18px !important; font-family: var(--shf-head) !important; font-weight: 800 !important;
	font-size: clamp(2.2rem, 4.2vw, 3.7rem) !important; line-height: 1.06 !important; letter-spacing: -.015em; color: #fff !important; text-wrap: balance; }
.shf-af__title a { color: inherit !important; text-decoration: none !important; }
.shf-af__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.shf-af__excerpt { margin: 0 0 28px; max-width: 30em; font-size: 1.06rem; line-height: 1.6; color: rgba(255,255,255,.86);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.shf-af__btn { position: relative; z-index: 2; }
.shf-af .shf-as-chip--feature { top: auto; left: auto; right: clamp(20px, 4vw, 48px); bottom: 40px; width: 168px; height: 92px; padding: 12px 16px; }
.shf-af:hover .shf-as-bg { transform: scale(1.035); }
.shf-af:hover .shf-af__veil { background: linear-gradient(90deg, rgba(6, 18, 32, .9) 0%, rgba(8, 40, 56, .72) 62%, rgba(11, 106, 133, .38) 100%); }

/* ===================== 2. Mosaic ===================== */
.shf-am { padding: clamp(40px, 5vw, 72px) clamp(20px, 4vw, 48px); background:
	radial-gradient(60% 80% at 100% 0%, rgba(34,184,207,.10), transparent 60%), #F6FAFB; }
.shf-am__grid { max-width: 1280px; margin: 0 auto; display: grid; gap: 16px;
	grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: repeat(2, minmax(250px, 1fr)); }
.shf-am__tile { position: relative; overflow: hidden; border-radius: 18px; color: #fff; background: #0B1A2E; isolation: isolate;
	box-shadow: 0 18px 40px -24px rgba(11, 26, 46, .55); min-height: 250px; }
.shf-am__tile--1 { grid-row: 1 / span 2; min-height: 520px; }
.shf-am--4 .shf-am__tile--2 { grid-column: 2 / span 2; }
.shf-am--2 .shf-am__tile--2 { grid-column: 2 / span 2; grid-row: 1 / span 2; }
.shf-am--3 .shf-am__tile--2, .shf-am--3 .shf-am__tile--3 { grid-column: 2 / span 2; }
.shf-am--1 .shf-am__grid { grid-template-columns: 1fr; }
.shf-am__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.shf-am__tile::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: linear-gradient(0deg, rgba(6, 18, 32, .92) 0%, rgba(6, 18, 32, .55) 38%, rgba(6, 18, 32, .08) 72%);
	transition: opacity .6s ease, background .6s ease; }
.shf-am__text { position: absolute; inset: auto 0 0 0; padding: 22px 24px; }
.shf-am__tile--1 .shf-am__text { padding: 32px 34px; }
.shf-am .shf-as-type { color: #8FE3EF; margin-bottom: 8px; }
.shf-am__title { margin: 0 0 10px !important; font-family: var(--shf-head) !important; font-weight: 700 !important; color: #fff !important;
	font-size: clamp(1.15rem, 1.5vw, 1.4rem) !important; line-height: 1.22 !important; text-wrap: balance; }
.shf-am__tile--1 .shf-am__title { font-size: clamp(1.6rem, 2.6vw, 2.35rem) !important; font-weight: 800 !important; line-height: 1.12 !important; }
.shf-am__title a { color: inherit !important; text-decoration: none !important; }
.shf-am__title a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.shf-am__tile:hover .shf-as-bg, .shf-am__tile:focus-within .shf-as-bg { transform: scale(1.05); }
.shf-am__tile:hover::after, .shf-am__tile:focus-within::after { background: linear-gradient(0deg, rgba(6, 30, 44, .94) 0%, rgba(11, 106, 133, .55) 45%, rgba(34, 184, 207, .06) 80%); }
.shf-am__tile:focus-within { outline: 3px solid #22B8CF; outline-offset: 3px; }

/* ===================== 3. Navy band ===================== */
.shf-ab { position: relative; background: var(--shf-navy); color: #fff; padding: clamp(48px, 6vw, 84px) clamp(20px, 4vw, 48px); isolation: isolate; }
.shf-ab::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: radial-gradient(50% 90% at 0% 0%, rgba(11, 106, 133, .45), transparent 70%), radial-gradient(40% 70% at 100% 100%, rgba(34, 184, 207, .16), transparent 70%); }
.shf-ab__inner { max-width: 1280px; margin: 0 auto; }
.shf-ab__title { margin: 0 0 28px !important; font-family: var(--shf-head) !important; font-weight: 700 !important; font-size: 1.05rem !important;
	letter-spacing: .14em; text-transform: uppercase; color: #8FE3EF !important; }
.shf-ab__row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.shf-ab__card { position: relative; margin: 0; padding: 0 0 18px; border-bottom: 1px solid rgba(255,255,255,.14); }
.shf-ab__thumb, .shf-ag__thumb { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 12px; margin-bottom: 16px; background: #13304A; }
.shf-ab .shf-as-type { color: #8FE3EF; margin-bottom: 8px; font-size: .7rem; }
.shf-ab__name { margin: 0 !important; font-family: var(--shf-head) !important; font-weight: 700 !important; font-size: 1.06rem !important; line-height: 1.35 !important; color: #fff !important; }
.shf-ab__name a { color: inherit !important; text-decoration: none !important; }
.shf-ab__name a::after { content: ""; position: absolute; inset: 0; }
.shf-ab__name span { display: inline-block; color: #22B8CF; transition: transform .25s ease; }
.shf-ab__card:hover .shf-as-bg { transform: scale(1.05); }
.shf-ab__card:hover .shf-ab__name span { transform: translateX(4px); }
.shf-ab__card:hover .shf-ab__name a { text-decoration: underline !important; text-decoration-color: rgba(34,184,207,.7) !important; text-underline-offset: 4px; }
.shf-ab__more { margin: 44px 0 0; text-align: center; }

/* ===================== 4. All articles ===================== */
.shf-ag { padding: clamp(48px, 6vw, 84px) clamp(20px, 4vw, 48px); background: #fff; scroll-margin-top: 90px; }
.shf-ag__inner { max-width: 1280px; margin: 0 auto; }
.shf-ag__title { margin: 0 0 30px !important; font-family: var(--shf-head) !important; font-weight: 800 !important; font-size: clamp(1.6rem, 2.4vw, 2.1rem) !important; color: #0B1A2E !important; }
.shf-ag__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 28px; }
.shf-ag__card { position: relative; margin: 0; display: flex; flex-direction: column; }
.shf-ag .shf-as-type { color: #0B6A85; margin-bottom: 8px; font-size: .72rem; }
.shf-ag__name { margin: 0 0 8px !important; font-family: var(--shf-head) !important; font-weight: 700 !important; font-size: 1.18rem !important; line-height: 1.3 !important; color: #0B1A2E !important; }
.shf-ag__name a { color: inherit !important; text-decoration: none !important; }
.shf-ag__name a::after { content: ""; position: absolute; inset: 0; }
.shf-ag__excerpt { margin: 0 0 10px; color: #4A5A66; font-size: .97rem; line-height: 1.55;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.shf-ag .shf-as-date { color: #5D6B75; opacity: 1; }
.shf-ag__card:hover .shf-as-bg { transform: scale(1.05); }
.shf-ag__card:hover .shf-ag__name a { color: #0B6A85 !important; }
.shf-ag__pages { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.shf-ag__pages a, .shf-ag__pages span { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; border-radius: 999px;
	border: 1px solid #DCE8EC; color: #0B1A2E; text-decoration: none; font-family: var(--shf-head); font-weight: 700; }
.shf-ag__pages span[aria-current] { background: #0B6A85; border-color: #0B6A85; color: #fff; }
.shf-ag__pages a:hover { border-color: #22B8CF; background: #E9F8FB; }
.shf-as-empty { padding: 80px 24px; text-align: center; }

/* focus rings for the stretched links */
.shf-ab__card:focus-within, .shf-ag__card:focus-within { outline: 3px solid #22B8CF; outline-offset: 6px; border-radius: 12px; }
.shf-af__title a:focus-visible, .shf-am__title a:focus-visible, .shf-ab__name a:focus-visible, .shf-ag__name a:focus-visible { outline: none; }

/* ===================== responsive ===================== */
@media (max-width: 1100px) {
	.shf-ab__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.shf-ag__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.shf-am__grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
	.shf-am__tile--1, .shf-am--2 .shf-am__tile--2, .shf-am--3 .shf-am__tile--2, .shf-am--3 .shf-am__tile--3, .shf-am--4 .shf-am__tile--2 { grid-column: 1 / -1; grid-row: auto; }
	.shf-am__tile--1 { min-height: 420px; }
}
@media (max-width: 720px) {
	.shf-af { display: block; min-height: 0; }
	.shf-af__media { position: relative; inset: auto; height: 62vw; min-height: 240px; z-index: 0; }
	.shf-af__veil, .shf-af::after { display: none; }
	.shf-af__inner { padding: 28px 20px 40px; background: linear-gradient(180deg, #0B1A2E, #0D2A3F); }
	.shf-af__text { max-width: none; }
	.shf-af__title { font-size: clamp(1.8rem, 7.4vw, 2.3rem) !important; }
	.shf-af .shf-as-chip--feature { position: absolute; top: calc(-62vw + 14px); top: -50px; right: 16px; bottom: auto; width: 128px; height: 70px; }
	.shf-am__grid { grid-template-columns: 1fr; }
	.shf-am__tile, .shf-am__tile--1 { grid-column: auto !important; min-height: 300px; }
	.shf-ab__row, .shf-ag__grid { grid-template-columns: 1fr; gap: 24px; }
	.shf-ab__card { display: grid; grid-template-columns: 112px 1fr; column-gap: 16px; align-items: start; }
	.shf-ab__thumb { grid-row: 1 / span 2; margin: 0; aspect-ratio: 1 / 1; }
	.shf-ab__thumb .shf-as-chip--small { inset: 8px; width: auto; height: auto; top: auto; left: 8px; right: 8px; bottom: 8px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
	.shf-as-bg, .shf-af__veil, .shf-am__tile::after, .shf-af__btn, .shf-af__btn span, .shf-ab__name span { transition: none !important; }
	.shf-af:hover .shf-as-bg, .shf-am__tile:hover .shf-as-bg, .shf-am__tile:focus-within .shf-as-bg, .shf-ab__card:hover .shf-as-bg, .shf-ag__card:hover .shf-as-bg { transform: none; }
	.shf-af__btn:hover, .shf-af__btn:focus-visible { transform: none; }
}
