/**
 * Custom site footer — template-parts/footer-site.php
 * #wrapper / #inner-wrap: sticky footer layout with custom header.
 */
:root {
	--tls-footer-bg: var(--ls-primary, #0d2b45);
	--tls-footer-text: rgba(255, 255, 255, 0.88);
	--tls-footer-heading: #ffffff;
	--tls-footer-link-hover: var(--ls-tertiary-fixed-dim, #c5a059);
}

.tls-site-footer {
	background: var(--tls-footer-bg);
	color: var(--tls-footer-text);
	font-family: var(--ls-font-body), system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 0.95rem;
	line-height: 1.55;
	margin-top: auto;
}

.tls-footer-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 3rem 1.25rem 2.5rem;
}

.tls-footer-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 2rem 2.5rem;
	align-items: start;
}

@media screen and (max-width: 900px) {
	.tls-footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media screen and (max-width: 520px) {
	.tls-footer-grid {
		grid-template-columns: 1fr;
	}
}

.tls-footer-heading {
	font-family: var(--ls-font-headline), Georgia, serif;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--tls-footer-heading);
	margin: 0 0 1rem;
	line-height: 1.3;
}

.tls-footer-brand-title {
	font-family: var(--ls-font-headline), Georgia, serif;
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--tls-footer-heading);
	margin: 0 0 0.75rem;
	line-height: 1.25;
}

.tls-footer-copy {
	margin: 0 0 1.25rem;
	font-size: 0.875rem;
	color: var(--tls-footer-text);
	max-width: 22rem;
}

.tls-footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tls-footer-links li {
	margin: 0 0 0.5rem;
}

.tls-footer-links a {
	color: var(--tls-footer-text);
	text-decoration: none;
	font-size: 0.9rem;
}

.tls-footer-links a:hover {
	color: var(--tls-footer-link-hover);
	text-decoration: underline;
}

.tls-footer-icons {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.tls-footer-icon-link {
	color: var(--tls-footer-heading);
	display: inline-flex;
	line-height: 0;
	opacity: 0.9;
}

.tls-footer-icon-link:hover {
	opacity: 1;
}

.tls-footer-newsletter-text {
	margin: 0 0 1rem;
	font-size: 0.875rem;
	color: var(--tls-footer-text);
	max-width: 18rem;
}

.tls-newsletter-form {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	max-width: 100%;
}

.tls-newsletter-input {
	flex: 1 1 auto;
	min-width: 0;
	border: 1px solid #dee2e6;
	border-right: 0;
	border-radius: 2px 0 0 2px;
	padding: 0.55rem 0.75rem;
	font-size: 0.9rem;
	color: #495057;
	background: #fff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tls-newsletter-input::placeholder {
	color: #adb5bd;
}

.tls-newsletter-input:focus {
	outline: none;
	border-color: var(--ls-navy);
	box-shadow: 0 0 0 3px rgba(13, 43, 69, 0.18);
	z-index: 1;
	position: relative;
}

.tls-newsletter-btn {
	flex: 0 0 auto;
	border: none;
	border-radius: 0 2px 2px 0;
	background: var(--ls-bundle-gold);
	color: #fff;
	font-weight: 700;
	font-size: 0.9rem;
	padding: 0.55rem 1.15rem;
	cursor: pointer;
	font-family: inherit;
}

.tls-newsletter-btn:hover {
	filter: brightness(1.08);
}

#wrapper.site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

#inner-wrap {
	flex: 1 0 auto;
}

.ls-after-hero-cards .kt-inside-inner-col{
	height: 100%;
}

.ls-practical-books-grid .kb-img {
    width: 100%;
    object-fit: cover;
}

/* LEFT COLUMN */
.kadence-column5_cd5a18-54 .wp-block-kadence-column:nth-child(1) .kb-img {
    height: 230px; /* tall */
}

.kadence-column5_cd5a18-54 .wp-block-kadence-column:nth-child(2) .kb-img {
    height: 200px; /* short */
}

/* RIGHT COLUMN */
.kadence-column5_d35af7-7e .wp-block-kadence-column:nth-child(1) .kb-img {
    height: 200px; /* short */
}

.kadence-column5_d35af7-7e .wp-block-kadence-column:nth-child(2) .kb-img {
    height: 230px; /* tall */
}