/* WordPress-specific adjustments — do not alter original design tokens. */

/* Admin bar offset for fixed header */
body.admin-bar .header {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .header {
		top: 46px;
	}
}

/* Align custom logo with original header logo treatment */
.header .logo .custom-logo-link img,
.header .logo img {
	max-height: 100%;
	width: auto;
	height: auto;
}

/* Gutenberg content inside original section wrappers */
.habco-page-content .alignwide,
.habco-page-content .alignfull {
	max-width: 100%;
}

.habco-cognito-embed iframe {
	max-width: 100%;
	width: 100%;
	border: 0;
}

/* News cards as links keep original look */
.latest-news a.news-card-link,
.latest-news a.news-feature-link {
	color: inherit;
	text-decoration: none;
	display: block;
}

.latest-news .news-feature-link .news-read-more,
.latest-news .news-card-link .news-read-more {
	color: inherit;
}

/* Single / archive content spacing under inner banner */
.habco-entry {
	padding: 40px 0 60px;
}

.habco-entry .entry-title {
	color: #096045;
	margin-bottom: 20px;
}

/* Site map */
.habco-sitemap {
	padding: 40px 0 60px;
}

.habco-sitemap h2 {
	color: #096045;
	font-size: 28px;
	margin: 30px 0 15px;
}

.habco-sitemap ul {
	margin: 0 0 10px;
	padding: 0;
}

.habco-sitemap li {
	list-style: none;
	margin: 0 0 8px;
	line-height: 1.5;
}

.habco-sitemap a {
	color: #000;
	text-decoration: underline;
}

.habco-sitemap a:hover {
	color: #096045;
}

/* Service anchor offset for fixed header */
.service-details .service-detail-row {
	scroll-margin-top: 120px;
}

/* Screen-reader helper already in Bootstrap; ensure availability */
.visually-hidden,
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
