/**
 * HFH content hub — tenders, publications, careers, media and stories.
 */

.hfh-hub {
	--hfh-blue: #00afd7;
	--hfh-dark: #202427;
	--hfh-lime: #c4d600;
	--hfh-line: #e3e6e8;
	--hfh-muted: #5c666d;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 1.25rem;
	font-family: inherit;
	color: var(--hfh-dark);
	text-align: left;
}

.hfh-hub__section {
	margin: 0 0 2.75rem;
}

.hfh-hub__title {
	margin: 0 0 1rem;
	font-size: clamp(1.35rem, 2vw, 1.75rem);
	font-weight: 700;
	line-height: 1.25;
	color: var(--hfh-dark);
	text-align: left;
}

.hfh-hub__empty {
	margin: 0;
	padding: 1.25rem 1.5rem;
	background: #f6f8f9;
	border-left: 4px solid var(--hfh-blue);
	font-size: 1rem;
	line-height: 1.6;
}

.hfh-hub-intro {
	max-width: 68ch;
	margin: 0 auto 2rem;
	font-size: 1.05rem;
	line-height: 1.7;
	text-align: left;
}

/* Tender table */
.hfh-table-wrap {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border-radius: 4px;
}

.hfh-table {
	width: 100%;
	min-width: 720px;
	border-collapse: collapse;
	background: #fff;
	font-size: 0.97rem;
	line-height: 1.55;
}

.hfh-table th,
.hfh-table td {
	padding: 0.9rem 1rem;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid var(--hfh-line);
}

.hfh-table thead th {
	background: var(--hfh-dark);
	color: #fff;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	white-space: nowrap;
}

.hfh-table tbody tr:nth-child(even) td {
	background: #f8fafb;
}

.hfh-table tbody tr:hover td {
	background: #eef9fc;
}

.hfh-table__num {
	width: 3.5rem;
	color: var(--hfh-muted);
}

.hfh-table__ref {
	white-space: nowrap;
	font-weight: 600;
}

.hfh-table__desc strong {
	display: block;
	font-weight: 700;
}

.hfh-table__summary {
	display: block;
	margin-top: 0.3rem;
	color: var(--hfh-muted);
	font-size: 0.92rem;
}

.hfh-download {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-weight: 700;
	color: #0079a1;
	white-space: nowrap;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.hfh-download:hover,
.hfh-download:focus-visible {
	color: #005a77;
}

/* Buttons */
.hfh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.6rem 1.15rem;
	border: 2px solid var(--hfh-blue);
	border-radius: 8px;
	background: var(--hfh-blue);
	color: #fff !important;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none !important;
	transition: background-color 0.18s ease, color 0.18s ease;
}

.hfh-btn:hover,
.hfh-btn:focus-visible {
	background: #007f9d;
	border-color: #007f9d;
	color: #fff !important;
}

.hfh-btn--download::before {
	content: "\2193";
	font-size: 1.05em;
	line-height: 1;
}

/* Publications */
.hfh-pub-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: 1.75rem 1.5rem;
}

.hfh-pub-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--hfh-line);
	border-radius: 6px;
	overflow: hidden;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.hfh-pub-card:hover {
	box-shadow: 0 10px 26px rgba(32, 36, 39, 0.12);
	transform: translateY(-2px);
}

.hfh-pub-card__cover {
	display: block;
	aspect-ratio: 3 / 4;
	background: #eef1f2;
	overflow: hidden;
}

.hfh-pub-card__cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hfh-pub-card__placeholder {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	padding: 1rem;
	background: linear-gradient(150deg, #00afd7 0%, #007f9d 62%, #202427 100%);
	color: #fff;
}

.hfh-pub-card__placeholder-mark {
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	opacity: 0.85;
}

.hfh-pub-card__placeholder-title {
	font-size: 1.02rem;
	font-weight: 700;
	line-height: 1.3;
}

.hfh-pub-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 0.5rem;
	padding: 1rem;
}

.hfh-pub-card__title {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
	text-align: left;
}

.hfh-pub-card__meta {
	margin: 0;
	color: var(--hfh-muted);
	font-size: 0.85rem;
}

.hfh-pub-card__body .hfh-btn {
	margin-top: auto;
	padding: 0.45rem 0.9rem;
	font-size: 0.85rem;
}

/* Careers */
.hfh-career-list {
	display: grid;
	gap: 1rem;
}

.hfh-career-card {
	padding: 1.4rem 1.6rem;
	background: #fff;
	border: 1px solid var(--hfh-line);
	border-left: 4px solid var(--hfh-blue);
	border-radius: 6px;
}

.hfh-career-card__title {
	margin: 0 0 0.5rem;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.3;
}

.hfh-career-card__title a {
	color: var(--hfh-dark);
	text-decoration: none;
}

.hfh-career-card__title a:hover {
	color: #007f9d;
}

.hfh-career-card__row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.25rem 1.5rem;
	margin: 0 0 0.35rem;
	font-size: 0.97rem;
	line-height: 1.5;
}

.hfh-career-card__station {
	color: var(--hfh-muted);
}

.hfh-career-card__type {
	color: var(--hfh-dark);
	font-weight: 700;
}

.hfh-career-card__deadline {
	margin: 0 0 1rem;
	color: var(--hfh-muted);
	font-size: 0.97rem;
	line-height: 1.5;
}

.hfh-career-card__action {
	margin: 0;
}

.hfh-career-card__link {
	color: #007f9d;
	font-size: 0.97rem;
	font-weight: 700;
	text-decoration: none;
}

.hfh-career-card__link:hover,
.hfh-career-card__link:focus-visible {
	text-decoration: underline;
}

.hfh-careers-empty {
	padding: 1.5rem 1.75rem;
	background: #f6f8f9;
	border-left: 4px solid var(--hfh-blue);
}

/* In the News */
.hfh-media-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hfh-media-card {
	padding: 1.25rem 1.35rem;
	background: #fff;
	border: 1px solid var(--hfh-line);
	border-top: 3px solid var(--hfh-blue);
	border-radius: 6px;
}

.hfh-media-card__outlet {
	margin: 0 0 0.5rem;
	color: #007f9d;
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hfh-media-card__title {
	margin: 0 0 0.5rem;
	font-size: 1.02rem;
	font-weight: 700;
	line-height: 1.4;
}

.hfh-media-card__title a {
	color: var(--hfh-dark);
	text-decoration: none;
}

.hfh-media-card__title a:hover {
	color: #007f9d;
	text-decoration: underline;
}

.hfh-media-card__date {
	margin: 0;
	color: var(--hfh-muted);
	font-size: 0.85rem;
}

/* In the Media page: video rows and their captions line up with the media cards */
.page-id-5449 .hfh-media-videos > .e-con-inner {
	padding-left: 1.25rem;
	padding-right: 1.25rem;
}

@media (max-width: 640px) {
	.page-id-5449 .hfh-media-videos > .e-con-inner {
		padding-left: 1rem;
		padding-right: 1rem;
	}
}

/* Stories */
.hfh-stories-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.5rem;
}

.hfh-story-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 6px;
	overflow: hidden;
	border: 1px solid var(--hfh-line);
}

.hfh-story-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	background: #eef1f2;
}

.hfh-story-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hfh-story-card__body {
	padding: 1.1rem 1.2rem 1.3rem;
}

.hfh-story-card__date {
	margin: 0 0 0.4rem;
	color: var(--hfh-muted);
	font-size: 0.8rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.hfh-story-card__title {
	margin: 0 0 0.5rem;
	font-size: 1.1rem;
	line-height: 1.35;
}

.hfh-story-card__title a {
	color: var(--hfh-dark);
	text-decoration: none;
}

.hfh-story-card__title a:hover {
	color: #007f9d;
}

.hfh-story-card__excerpt {
	margin: 0 0 0.85rem;
	color: var(--hfh-muted);
	font-size: 0.94rem;
	line-height: 1.6;
}

.hfh-story-card__link {
	font-weight: 700;
	color: #007f9d;
	text-decoration: none;
}

.hfh-story-card__link::after {
	content: " \2192";
}

/* Scam notice */
.hfh-scam {
	margin: 0 auto 2.5rem;
	max-width: 1180px;
	padding: 0 1.25rem;
}

.hfh-scam__inner {
	padding: 1.5rem 1.75rem;
	background: #fff8e6;
	border: 1px solid #f0d48a;
	border-left: 6px solid #d64500;
	border-radius: 6px;
}

.hfh-scam__title {
	margin: 0 0 0.6rem;
	font-size: 1.2rem;
	font-weight: 800;
	color: #7a2400;
	text-align: left;
}

.hfh-scam__body {
	font-size: 0.98rem;
	line-height: 1.7;
	color: #3a2a1d;
}

.hfh-scam__body p {
	margin: 0 0 0.75rem;
}

.hfh-scam__body p:last-child {
	margin-bottom: 0;
}

.hfh-scam__body ol {
	margin: 0 0 0.9rem 1.2rem;
	padding: 0;
}

.hfh-scam__body li {
	margin: 0 0 0.55rem;
}

.hfh-scam__body a {
	color: #7a2400;
	text-decoration: underline;
}

/* Single vacancy */
.hfh-career-single {
	padding: 2.5rem 1.25rem 4rem;
}

.hfh-career-single__inner {
	max-width: 820px;
	margin: 0 auto;
	text-align: left;
}

.hfh-career-single__eyebrow {
	margin: 0 0 0.5rem;
	color: #007f9d;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.hfh-career-single__title {
	margin: 0 0 1.1rem;
	font-size: clamp(1.7rem, 3vw, 2.4rem);
	line-height: 1.2;
}

.hfh-career-single__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 2rem;
	margin: 0 0 1.75rem;
	padding: 1rem 1.25rem;
	list-style: none;
	background: #f6f8f9;
	border-left: 4px solid var(--hfh-blue, #00afd7);
	font-size: 0.95rem;
}

.hfh-career-single__meta span {
	display: block;
	color: #5c666d;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.hfh-career-single__content {
	font-size: 1.02rem;
	line-height: 1.75;
}

.hfh-career-single__content h2,
.hfh-career-single__content h3 {
	margin-top: 1.75rem;
	font-size: 1.25rem;
	line-height: 1.3;
}

.hfh-career-single__content ul,
.hfh-career-single__content ol {
	padding-left: 1.3rem;
	margin-bottom: 1rem;
}

.hfh-career-single__apply {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.25rem;
	margin-top: 2.25rem;
	padding-top: 1.5rem;
	border-top: 1px solid #e3e6e8;
}

.hfh-career-single__back {
	font-weight: 600;
	color: #007f9d;
	text-decoration: none;
}

/* Single tender */
.hfh-tender-single {
	padding: 2.5rem 1.25rem 4rem;
}

/* Elementor-built tenders bring their own layout. */
.hfh-tender-single--elementor {
	padding: 0;
}

.hfh-tender-single__inner {
	max-width: 820px;
	margin: 0 auto;
	text-align: left;
}

.hfh-tender-single__eyebrow {
	margin: 0 0 0.5rem;
	color: #007f9d;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.hfh-tender-single__title {
	margin: 0 0 1.1rem;
	font-size: clamp(1.7rem, 3vw, 2.4rem);
	line-height: 1.2;
}

.hfh-tender-single__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 2rem;
	margin: 0 0 1.75rem;
	padding: 1rem 1.25rem;
	list-style: none;
	background: #f6f8f9;
	border-left: 4px solid var(--hfh-blue, #00afd7);
	font-size: 0.95rem;
}

.hfh-tender-single__meta span {
	display: block;
	color: #5c666d;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.hfh-tender-single__content {
	font-size: 1.02rem;
	line-height: 1.75;
}

.hfh-tender-single__content h2,
.hfh-tender-single__content h3 {
	margin-top: 1.75rem;
	font-size: 1.25rem;
	line-height: 1.3;
}

.hfh-tender-single__content ul,
.hfh-tender-single__content ol {
	padding-left: 1.3rem;
	margin-bottom: 1rem;
}

.hfh-tender-single__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.25rem;
	margin-top: 2.25rem;
	padding-top: 1.5rem;
	border-top: 1px solid #e3e6e8;
}

.hfh-tender-single__back {
	font-weight: 600;
	color: #007f9d;
	text-decoration: none;
}

@media (max-width: 640px) {
	.hfh-hub {
		padding: 0 1rem;
	}

	.hfh-pub-grid {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
		gap: 1.25rem 1rem;
	}

	.hfh-career-card {
		padding: 1.15rem 1.2rem;
	}
}
