/* Shared styles for Logistics 101 hub child pages */

.log101-subpage {
	background: #f6f8fa;
	padding: 32px 0 48px;
}

.log101-subpage__inner {
	padding: 0 8px;
}

.log101-breadcrumb {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 18px;
	margin-bottom: 12px;
	color: #7a8699;
}

.log101-breadcrumb a {
	color: #00ac7b;
	font-weight: 800;
	text-decoration: none;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.log101-title {
	margin: 0 0 10px;
	padding-left: 16px;
	padding-top: 10px;
	border-left: 4px solid #00ac7b;
	color: #21304b;
	font-weight: 900;
	font-size: clamp(2rem, 3vw, 3.1rem);
	line-height: 1.05;
}

.log101-subtitle {
	max-width: 720px;
	margin: 0 0 44px;
	color: #536173;
	font-size: 1.05rem;
}

.log101-more-btn,
.kh-backtop {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #2e3648;
    text-decoration: none;
    border: 1.5px solid #2e3648;
    border-radius: 20px;
    padding: 4px 40px;
    transition: all 0.2s;
}

.log101-more-btn:hover,
.kh-backtop:hover {
	background: #24324a;
	color: #fff;
}

.log101-card,
.log101-case-card,
.log101-guide-card,
.kh-card {
	background: #fff;
	border: 1px solid #d8dde6;
	overflow: hidden;
	transition: all .18s ease;
}

.log101-card:hover,
.log101-card:focus-within,
.log101-case-card:hover,
.log101-case-card:focus-within,
.log101-guide-card:hover,
.log101-guide-card:focus-within,
.kh-card:hover,
.kh-card:focus-within {
	border-color: #00AC7b;
	box-shadow: 0 6px 20px rgba(0,172,123,0.13);
	transform: translateY(-2px);
}

/* Freight Insights */

.log101-card {
	border-radius: 12px;
	height: 100%;
	box-shadow: 0 1px 0 rgba(0, 0, 0, .03);
}

.log101-card__media {
	display: block;
	height: 175px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.log101-card__media--blue  { background-color: #a6bacb; }
.log101-card__media--beige { background-color: #c8beb0; }
.log101-card__media--sage  { background-color: #aec0b2; }

.log101-card__media--image {
	background-color: #dfe5eb;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.log101-card__body {
	padding: 14px 15px 12px;
	display: flex;
	flex-direction: column;
	min-height: 118px;
}

.log101-card__title {
	margin: 0 0 16px;
	font-size: 1rem;
	line-height: 1.45;
	font-weight: 700;
	min-height: 58px;
}

.log101-card__title a {
	color: #1f2a44;
	text-decoration: none;
}

.log101-card__meta {
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid #e4e8ef;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: .82rem;
	color: #9aa5b1;
}

.log101-card__arrow {
	color: #00ac7b;
	font-size: 1.1rem;
	font-weight: 700;
	text-decoration: none;
	line-height: 1;
}

/* Case Study Hub */

.log101-case-card {
	border-radius: 12px;
	height: 100%;
	box-shadow: 0 1px 0 rgba(0, 0, 0, .03);
}

.log101-case-card__media {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 170px;
	background: #dbe1e7;
	text-decoration: none;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.log101-case-card__media--image {
	position: relative;
}

.log101-case-card__media--image span {
	display: none;
}

.log101-case-card__media span {
	font-size: clamp(3rem, 5vw, 4.2rem);
	line-height: 1;
	font-weight: 700;
	letter-spacing: .04em;
	color: #1c2026;
}

.log101-case-card__body {
	padding: 14px 15px 12px;
	display: flex;
	flex-direction: column;
	min-height: 122px;
}

.log101-case-card__kicker,
.log101-guide-card__kicker {
	margin-bottom: 8px;
	font-size: .66rem;
	font-weight: 800;
	letter-spacing: .16em;
	color: #a6afbb;
}

.log101-case-card__title {
	margin: 0 0 14px;
	font-size: 1rem;
	line-height: 1.45;
	font-weight: 700;
	min-height: 48px;
}

.log101-case-card__title a {
	color: #1f2a44;
	text-decoration: none;
}

.log101-case-card__meta,
.log101-guide-card__meta {
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid #e4e8ef;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: .82rem;
	color: #9aa5b1;
}

.log101-case-card__arrow,
.log101-guide-card__arrow {
	color: #00ac7b;
	font-size: 1.1rem;
	font-weight: 700;
	text-decoration: none;
	line-height: 1;
}

/* Pallet Shipping Guides */

.log101-guide-card {
	border-radius: 12px;
	height: 100%;
	box-shadow: 0 1px 0 rgba(0, 0, 0, .03);
}

.log101-guide-card__media-link {
	display: block;
	height: 190px;
	background: #dbe1e7;
	overflow: hidden;
	text-decoration: none;
}

.log101-guide-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.log101-guide-card__body {
	padding: 14px 15px 12px;
	display: flex;
	flex-direction: column;
	min-height: 128px;
}

.log101-guide-card__title {
	margin: 0 0 14px;
	font-size: 1rem;
	line-height: 1.45;
	font-weight: 700;
	min-height: 52px;
}

.log101-guide-card__title a {
	color: #1f2a44;
	text-decoration: none;
}

/* Knowledge Hub */

html {
	scroll-behavior: smooth;
}

.kh-page {
	background: #f6f8fa;
	padding: 28px 0 48px;
}

.kh-wrap {
	padding: 0 8px;
}


.kh-jumpbox {
	background: #fff;
	border: 1px solid #d9dde5;
	border-radius: 14px;
	padding: 22px 26px 24px;
	margin-bottom: 42px;
	box-shadow: 0 3px 10px rgba(30, 40, 60, .04);
}

.kh-jumpbox__title {
	font-size: 1.1rem;
	font-weight: 800;
	color: #1f2a44;
	margin-bottom: 2px;
}

.kh-jumpbox__text {
	margin: 0 0 16px;
	color: #7b8595;
	font-size: .95rem;
}

.kh-jumpbtn {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 72px;
	padding: 14px 16px;
	background: #eef2f6;
	border: 1px solid #cfd7e3;
	border-radius: 10px;
	text-decoration: none;
	color: #1f2a44;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.kh-jumpbtn:hover,
.kh-jumpbtn:focus {
	background: #2f3a52;
	border-color: #2f3a52;
	color: #ffffff;
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(47, 58, 82, 0.16);
}

.kh-section {
	padding: 34px 0 46px;
	border-top: 1px solid #d8dde6;
}

.kh-section:first-of-type {
	border-top: 0;
	padding-top: 0;
}

.kh-section--last {
	padding-bottom: 24px;
}

.kh-section__title {
	margin: 0 0 8px;
	padding-left: 16px;
	border-left: 4px solid #00ac7b;
	color: #21304b;
	font-weight: 900;
	font-size: clamp(1.5rem, 2.5vw, 2.35rem);
	line-height: 1.1;
}

.kh-section__subtitle {
	margin: 0 0 22px 20px;
	color: #4f5c70;
	font-size: 1rem;
}

.kh-group {
	margin-top: 20px;
}

.kh-group__label {
	margin: 0 0 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid #dde3ea;
	color: #00ac7b;
	font-size: .82rem;
	font-weight: 900;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.kh-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 88px;
	padding: 14px 46px 14px 18px;
	border-radius: 10px;
	text-decoration: none;
	box-shadow: 0 1px 0 rgba(0,0,0,.02);
}

.kh-card--small {
	min-height: 54px;
	justify-content: center;
	padding-top: 12px;
	padding-bottom: 12px;
}

.kh-card__title {
	color: #111f3d;
	font-weight: 800;
	font-size: 1rem;
	line-height: 1.25;
}

.kh-card__desc {
	margin-top: 4px;
	color: #6b7588;
	font-size: .92rem;
	line-height: 1.35;
}

.kh-card__arrow {
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	color: #00ac7b;
	font-size: 1.1rem;
	font-weight: 900;
}

.kh-backtop-wrap {
	padding-top: 32px;
}

#kh-top,
#kh-customs,
#kh-rules,
#kh-practical,
#kh-brexit {
	scroll-margin-top: 96px;
}

.log101-back-btn {
	white-space: nowrap;
	margin-top: 6px;
}

@media (max-width: 767.98px) {
	.log101-back-btn {
		margin-top: 0;
	}
}

/* Responsive */

@media (max-width: 991.98px) {
	.kh-jumpbtn {
		min-height: 60px;
	}
}

@media (max-width: 767.98px) {
	.log101-subpage {
		padding-top: 24px;
	}

	.log101-card__media {
		height: 160px;
	}

	.log101-case-card__media {
		height: 150px;
	}

	.log101-guide-card__media-link {
		height: 170px;
	}

	.kh-page {
		padding-top: 22px;
	}

	.kh-jumpbox {
		padding: 18px 16px;
		margin-bottom: 30px;
	}

	.kh-section {
		padding: 28px 0 34px;
	}

	.kh-section__subtitle {
		margin-left: 0;
	}
}
