/*
Theme Name: Hudson Square Pharmacy
Theme URI: https://www.hudsonsquarepharmacy.com
Author: Hudson Square Pharmacy
Description: Hudson Square Pharmacy — restoration theme.
Version: 1.0.66
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: hudsonsquarepharmacy
*/

/* -------------------------------------------------------------------------
   Design tokens
   ------------------------------------------------------------------------- */
:root {
	--navy: #0e1828;
	--heading: #1f3f73;
	--heading-h2: #355a8c;
	--heading-h3: #4a6278;
	--heading-h4: #5f7589;
	--heading-h5: #74879a;
	--heading-h6: #8999aa;
	--royal: #3d63b8;
	--steel: #4a6fa5;
	--active: #d6e8f8;
	--orange: #d9824d;
	--line-blue: #5c86c3;
	--cream: #f7f4ea;
	--paper: #ffffff;
	--ink: #1a1a1a;
	--muted: #666666;
	--muted-accessible: #454545;
	--line: #d5d5d5;
	--white: #ffffff;
	--max: 1400px;
	--shell-pad: 22px;
	--gutter: var(--shell-pad);
	--store-img-max: 360px;
	--hsp-h1: 45px;
	--hsp-h2: 30px;
	--hsp-h3: 24px;
	--hsp-h4: 20px;
	--hsp-h5: 18px;
	--hsp-h6: 16px;
	--hsp-phone-icon: 48px;
	--hsp-logo-max: 64px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	height: 100%;
}

body {
	margin: 0;
	min-height: 100vh;
	display: grid;
	grid-template-rows: auto 1fr auto;
	grid-template-columns: minmax(0, 1fr);
	font-family: "Segoe UI", Helvetica, Arial, sans-serif;
	background: var(--cream);
	color: var(--ink);
	line-height: 1.5;
	overflow-x: hidden;
}

.hsp-site-header,
.hsp-main,
.hsp-home,
.hsp-footer,
#main-content {
	min-width: 0;
	width: 100%;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* Shared site column — header, nav, main, and footer share one width */
.hsp-wrap {
	width: 100%;
	max-width: var(--max);
	margin-left: auto;
	margin-right: auto;
	padding-left: 0;
	padding-right: 0;
}

.hsp-header-shell,
.hsp-home-shell,
.hsp-page-shell,
.hsp-footer > .hsp-wrap {
	width: 100%;
	max-width: var(--max);
}

/* Skip link */
.skip-link {
	position: absolute;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
	z-index: 100000;
}

.skip-link:focus {
	position: fixed;
	top: 8px;
	left: 8px;
	width: auto;
	height: auto;
	padding: 12px 16px;
	background: var(--heading);
	color: var(--white);
	font-weight: 700;
	border-radius: 4px;
	z-index: 100000;
}

/* -------------------------------------------------------------------------
   Header — contained shell (logo row + nav)
   ------------------------------------------------------------------------- */
.hsp-site-header {
	margin-top: 8px;
}

.hsp-header-shell {
	position: relative;
	z-index: 20;
}

.hsp-header-row {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-rows: auto auto;
	align-items: center;
	gap: 16px 24px;
	width: 100%;
	background: var(--paper);
	padding: 18px var(--shell-pad);
	border-radius: 4px 4px 0 0;
}

.hsp-logo {
	grid-column: 1;
	grid-row: 1;
	line-height: 0;
}

.hsp-logo .custom-logo-link {
	display: block;
	line-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.hsp-logo .custom-logo,
.hsp-logo img {
	max-height: var(--hsp-logo-max);
	width: auto;
	height: auto;
	display: block;
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: top;
}

.hsp-phone-card {
	grid-column: 2;
	grid-row: 1;
	display: flex;
	align-items: center;
	gap: 12px;
	border: 1px solid var(--line);
	border-radius: 6px;
	padding: 12px 20px 12px 12px;
	background: var(--white);
	min-width: 300px;
	text-decoration: none;
	color: inherit;
}

.hsp-phone-card__body {
	display: block;
	line-height: 1.35;
}

.hsp-phone-card__body small {
	display: block;
	font-size: 12px;
	color: var(--muted-accessible);
}

.hsp-phone-card__body strong {
	display: block;
	font-size: 16px;
	color: var(--ink);
	font-weight: 700;
}

.hsp-phone-card__addr {
	display: block;
	font-size: 13px;
	color: var(--muted-accessible);
}

.hsp-phone-icon {
	width: var(--hsp-phone-icon);
	height: var(--hsp-phone-icon);
	border-radius: 50%;
	background: var(--orange);
	color: var(--white);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.hsp-phone-icon svg {
	display: block;
	width: 24px;
	height: 24px;
	flex-shrink: 0;
}

.hsp-menu-toggle {
	grid-column: 2;
	grid-row: 1;
	justify-self: end;
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: var(--heading);
	color: var(--white);
	border-radius: 4px;
	cursor: pointer;
	align-items: center;
	justify-content: center;
}

.hsp-menu-toggle__bars {
	display: block;
	width: 22px;
	height: 2px;
	background: currentColor;
	position: relative;
	margin: auto;
}

.hsp-menu-toggle__bars::before,
.hsp-menu-toggle__bars::after {
	content: "";
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background: currentColor;
}

.hsp-menu-toggle__bars::before { top: -7px; }
.hsp-menu-toggle__bars::after { top: 7px; }

.hsp-menu-toggle:focus-visible {
	outline: 2px solid var(--royal);
	outline-offset: 2px;
}

/* Nav — steel bar inside same contained shell */
.hsp-nav {
	display: flex;
	flex-wrap: nowrap;
	position: relative;
	width: 100%;
	background: var(--steel);
	font-weight: 700;
}

.hsp-nav > a,
.hsp-nav > .drop {
	flex: 1 1 0;
	min-width: 0;
}

.hsp-nav > a {
	text-align: center;
	color: var(--white);
	background: var(--steel);
	border: 0;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	padding: 18px 10px;
	cursor: pointer;
	display: block;
	white-space: nowrap;
	text-decoration: none;
}

.hsp-nav .drop {
	position: relative;
	display: flex;
	flex-direction: column;
	align-self: stretch;
}

.hsp-nav .drop-row {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	flex: 1 1 auto;
	background: var(--steel);
	color: var(--white);
}

.hsp-nav .drop-link {
	flex: 0 0 auto;
	min-width: 0;
	text-align: center;
	color: inherit;
	background: transparent;
	border: 0;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	padding: 18px 2px 18px 10px;
	cursor: pointer;
	display: block;
	white-space: nowrap;
	text-decoration: none;
}

.hsp-nav .drop-caret {
	flex: 0 0 auto;
	width: auto;
	padding: 18px 10px 18px 2px;
	color: inherit;
	background: transparent;
	border: 0;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
}

.hsp-nav .drop-caret span {
	display: block;
}

.hsp-nav > a:hover,
.hsp-nav > a:focus-visible,
.hsp-nav > a.active {
	background: var(--active);
	color: var(--ink);
}

.hsp-nav .drop:hover .drop-row,
.hsp-nav .drop:focus-within .drop-row,
.hsp-nav .drop.open .drop-row,
.hsp-nav .drop:has(.drop-link.active) .drop-row {
	background: var(--active);
	color: var(--ink);
}

.hsp-nav .drop-link:hover,
.hsp-nav .drop-link:focus-visible,
.hsp-nav .drop-caret:hover,
.hsp-nav .drop-caret:focus-visible {
	color: inherit;
	background: transparent;
}

.hsp-nav .submenu {
	display: none;
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	background: var(--steel);
	text-align: left;
	z-index: 30;
}

.hsp-nav .submenu a {
	display: block;
	color: var(--white);
	padding: 16px 18px;
	font-size: 15px;
	font-weight: 700;
}

.hsp-nav .submenu a:hover,
.hsp-nav .submenu a:focus-visible {
	background: var(--navy);
}

.hsp-nav .drop.open .submenu {
	display: block;
}

@media (min-width: 801px) {
	.hsp-nav .drop:hover .submenu,
	.hsp-nav .drop:focus-within .submenu {
		display: block;
	}
}

/* -------------------------------------------------------------------------
   Homepage
   ------------------------------------------------------------------------- */
.hsp-home {
	display: flex;
	flex-direction: column;
	padding: 0;
	min-width: 0;
	width: 100%;
	min-height: 100%;
}

.hsp-home-shell,
.hsp-page-shell {
	flex: 1 0 auto;
	display: flex;
	flex-direction: column;
	background: var(--paper);
}

.hsp-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 440px;
	text-align: center;
	color: var(--white);
}

.hsp-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.hsp-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(14, 24, 40, 0.58);
}

.hsp-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hsp-hero__inner {
	position: relative;
	z-index: 1;
	padding: 48px var(--gutter);
	max-width: 820px;
	margin: 0 auto;
}

.hsp-hero h1 {
	margin: 0 0 14px;
	font-size: var(--hsp-h1);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0.02em;
}

.hsp-hero__sub {
	margin: 0;
	font-size: 17px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.95);
}

.hsp-home-content .hsp-store {
	text-align: center;
	padding: 28px 0 8px;
	margin: 0 auto;
	width: 100%;
	max-width: var(--store-img-max);
	border-bottom: none;
}

.hsp-store img {
	display: block;
	width: 100%;
	max-width: var(--store-img-max);
	height: 220px;
	object-fit: cover;
	margin: 0 auto 16px;
	background: #222;
}

.hsp-store__caption strong {
	display: block;
	font-size: 20px;
	color: var(--heading);
	margin-bottom: 4px;
}

.hsp-store__caption span {
	display: block;
	font-size: 16px;
	line-height: 1.45;
	color: var(--muted-accessible);
}

.hsp-home-content {
	flex: 1 0 auto;
	padding: 36px var(--shell-pad) 48px;
	text-align: center;
	content-visibility: auto;
	contain-intrinsic-size: auto 1200px;
}

.hsp-home-content h2 {
	font-size: var(--hsp-h2);
	font-weight: 700;
	color: var(--heading-h2);
	line-height: 1.2;
	margin: 28px 0 10px;
}

.hsp-home-content h2:first-child {
	margin-top: 0;
}

.hsp-home-content p,
.hsp-home-content .hsp-block {
	max-width: 760px;
	margin: 0 auto;
	line-height: 1.65;
	color: var(--muted-accessible);
	font-size: 16px;
}

.hsp-home-content .hsp-lead {
	font-size: 16px;
	margin-bottom: 0;
}

.hsp-note {
	font-style: italic;
	margin-top: 12px;
}

.hsp-star-note {
	margin-top: 12px;
	font-weight: 700;
	color: var(--ink);
}

.hsp-star {
	color: #c62828;
}

/* -------------------------------------------------------------------------
   Inner pages
   ------------------------------------------------------------------------- */
.hsp-main {
	display: flex;
	flex-direction: column;
	padding: 0;
	min-width: 0;
	width: 100%;
	min-height: 100%;
}

.hsp-page-shell {
	padding: 0 0 48px;
}

.hsp-article {
	flex: 1 0 auto;
	width: 100%;
}

.hsp-page-header {
	width: 100%;
	background-color: var(--heading);
	border-top: 4px solid var(--white);
	border-bottom: 4px solid var(--line-blue);
}

.hsp-page-header--banner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 240px;
	overflow: hidden;
}

.hsp-page-header__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.hsp-page-header__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(14, 24, 40, 0.72);
}

.hsp-page-header--banner .hsp-page-title {
	font-size: calc(var(--hsp-h2) + 4px);
	line-height: 1.2;
}

.hsp-page-header__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.hsp-page-header--banner .hsp-page-header__inner {
	position: relative;
	z-index: 1;
	width: 100%;
}

.hsp-page-header__inner {
	padding: 22px var(--shell-pad);
}

.hsp-page-title {
	margin: 0;
	padding: 0;
	color: var(--white);
	font-size: var(--hsp-h2);
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.hsp-page-excerpt {
	margin: 14px 0 0;
	padding: 0;
	color: rgba(255, 255, 255, 0.95);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.65;
	text-align: center;
}

.hsp-page-excerpt p {
	margin: 0;
}

.hsp-entry {
	padding: 36px var(--shell-pad) 0;
	color: var(--muted-accessible);
	font-size: 16px;
	line-height: 1.65;
}

.hsp-entry > :first-child {
	margin-top: 0;
}

.hsp-entry p,
.hsp-entry ul,
.hsp-entry ol {
	margin: 0 0 16px;
}

.hsp-entry ul,
.hsp-entry ol {
	padding-left: 1.4em;
}

.hsp-entry li {
	margin-bottom: 8px;
}

.hsp-entry a {
	color: var(--royal);
	text-decoration: underline;
	word-break: break-word;
}

.hsp-entry a:hover,
.hsp-entry a:focus-visible {
	color: var(--heading);
}

.hsp-entry img {
	max-width: 100%;
	height: auto;
	margin: 16px auto;
}

.hsp-entry h1 {
	font-size: var(--hsp-h1);
	color: var(--heading);
	font-weight: 700;
	line-height: 1.15;
	margin: 28px 0 12px;
	text-align: center;
}

.hsp-entry h2 {
	font-size: var(--hsp-h2);
	color: var(--heading-h2);
	font-weight: 700;
	line-height: 1.2;
	margin: 28px 0 12px;
}

.hsp-entry h3 {
	font-size: var(--hsp-h3);
	color: var(--heading-h3);
	font-weight: 700;
	line-height: 1.25;
	margin: 24px 0 10px;
}

.hsp-entry h4 {
	font-size: var(--hsp-h4);
	color: var(--heading-h4);
	font-weight: 700;
	line-height: 1.3;
	margin: 20px 0 8px;
}

.hsp-entry h5 {
	font-size: var(--hsp-h5);
	color: var(--heading-h5);
	font-weight: 700;
	line-height: 1.35;
	margin: 18px 0 8px;
}

.hsp-entry h6 {
	font-size: var(--hsp-h6);
	color: var(--heading-h6);
	font-weight: 700;
	line-height: 1.4;
	margin: 16px 0 8px;
}

.hsp-entry table {
	width: 100%;
	max-width: 100%;
	border-collapse: collapse;
}

.hsp-entry table th,
.hsp-entry table td {
	padding: 10px 14px;
	border: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.hsp-entry table thead th,
.hsp-entry table tr:first-child th,
.hsp-entry table tr:first-child td {
	color: var(--heading);
	font-weight: 700;
}

.hsp-entry table thead th a,
.hsp-entry table tr:first-child th a,
.hsp-entry table tr:first-child td a {
	color: var(--heading);
}

/* -------------------------------------------------------------------------
   Single post
   ------------------------------------------------------------------------- */
.hsp-single .hsp-page-shell {
	padding-bottom: 36px;
}

.hsp-single-intro {
	padding: 36px var(--shell-pad) 0;
}

.hsp-single-title {
	margin: 0;
	font-size: var(--hsp-h1);
	color: var(--heading);
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-transform: none;
	letter-spacing: 0;
}

.hsp-single-title-rule {
	margin: 14px calc(-1 * var(--shell-pad)) 0;
	height: 2px;
	background-image:
		linear-gradient(var(--line-blue), var(--line-blue)),
		linear-gradient(var(--heading), var(--heading));
	background-size: 100% 1px, 100% 1px;
	background-position: 0 0, 0 1px;
	background-repeat: no-repeat;
}

.hsp-single-title-rule--top {
	display: none;
}

.hsp-single-meta {
	margin: 12px 0 0;
	padding: 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--muted-accessible);
	text-align: left;
}

.hsp-recent-card__cat {
	display: inline-block;
	padding: 0.35em 1em;
	border-radius: 999px;
	background: rgba(31, 63, 115, 0.1);
	color: var(--heading);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	white-space: nowrap;
	width: auto;
	max-width: none;
}

.hsp-recent-card__cat:hover,
.hsp-recent-card__cat:focus-visible {
	background: rgba(31, 63, 115, 0.18);
	color: var(--royal);
}

.hsp-single-meta__sep {
	margin: 0 0.35em;
	color: var(--muted);
}

.hsp-single-meta__accent {
	color: var(--heading);
	font-weight: 600;
	text-decoration: none;
}

.hsp-single-meta__accent:hover,
.hsp-single-meta__accent:focus-visible {
	color: var(--royal);
	text-decoration: underline;
}

.hsp-single-meta__date {
	color: var(--muted-accessible);
}

.hsp-single-featured {
	margin: 24px auto 0;
	padding: 0 var(--shell-pad);
	max-width: 1100px;
	width: 100%;
	text-align: center;
	box-sizing: border-box;
}

.hsp-single-featured__img {
	display: block;
	width: 100%;
	max-width: 1100px;
	height: auto;
	aspect-ratio: 1100 / 700;
	object-fit: cover;
	object-position: center;
	margin: 0 auto;
	border-radius: 8px;
}

.hsp-single-entry {
	padding-top: 28px;
}

/* -------------------------------------------------------------------------
   Archives — category, author, etc.
   ------------------------------------------------------------------------- */
.hsp-post-cards {
	padding: 36px var(--shell-pad) 36px;
}

.hsp-post-cards__grid {
	margin-bottom: 32px;
}

.hsp-archive-empty {
	padding-bottom: 36px;
}

.hsp-pagination,
.navigation.pagination {
	margin: 0;
	padding: 8px 0 0;
}

.hsp-pagination .nav-links,
.navigation.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px 12px;
}

.hsp-pagination .page-numbers,
.navigation.pagination .page-numbers {
	display: inline-block;
	padding: 6px 12px;
	border: 1px solid var(--line);
	background: var(--paper);
	color: var(--heading);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
}

.hsp-pagination .page-numbers.current,
.navigation.pagination .page-numbers.current {
	background: var(--heading);
	border-color: var(--heading);
	color: var(--white);
}

.hsp-pagination .page-numbers:hover,
.hsp-pagination .page-numbers:focus-visible,
.navigation.pagination .page-numbers:hover,
.navigation.pagination .page-numbers:focus-visible {
	border-color: var(--heading);
	color: var(--royal);
}

.hsp-recent-articles {
	margin: 48px var(--shell-pad) 0;
	padding-top: 36px;
	border-top: 1px solid var(--line);
}

.hsp-recent-articles__heading {
	margin: 0 0 24px;
	padding: 10px 16px;
	background-color: var(--heading);
	color: var(--white);
	font-size: var(--hsp-h3);
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
	text-transform: none;
}

.hsp-recent-articles__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.hsp-recent-card {
	display: flex;
	flex-direction: column;
	background: var(--paper);
	border: 1px solid var(--line);
	min-width: 0;
}

.hsp-recent-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--cream);
}

.hsp-recent-card__media img,
.hsp-recent-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	margin: 0;
}

.hsp-recent-card__placeholder {
	min-height: 140px;
	background: linear-gradient(135deg, #e8eef5 0%, var(--cream) 100%);
}

.hsp-recent-card__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 16px 16px 18px;
	min-width: 0;
	align-items: stretch;
}

.hsp-recent-card__cats {
	margin: 0 0 10px;
	text-align: center;
}

.hsp-recent-card__cat {
	margin: 0;
}

.hsp-recent-card__title {
	margin: 0 0 8px;
	font-size: 18px;
	color: var(--heading);
	font-weight: 700;
	line-height: 1.35;
}

.hsp-recent-card__title a {
	color: inherit;
	text-decoration: none;
}

.hsp-recent-card__title a:hover,
.hsp-recent-card__title a:focus-visible {
	color: var(--royal);
}

.hsp-recent-card__excerpt {
	margin: 0 0 14px;
	flex: 1 1 auto;
	font-size: 14px;
	line-height: 1.6;
	color: var(--muted-accessible);
}

.hsp-recent-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
}

.hsp-recent-card__author {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.hsp-recent-card__avatar {
	display: block;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	flex-shrink: 0;
}

.hsp-recent-card__author-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	font-size: 13px;
	line-height: 1.35;
}

.hsp-recent-card__author-name {
	color: var(--heading);
	font-weight: 700;
	text-decoration: none;
}

.hsp-recent-card__author-name:hover,
.hsp-recent-card__author-name:focus-visible {
	color: var(--royal);
	text-decoration: underline;
}

.hsp-recent-card__author-text time {
	color: var(--muted);
	font-size: 12px;
}

.hsp-recent-card__arrow {
	flex-shrink: 0;
	color: var(--heading);
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
}

.hsp-recent-card__arrow:hover,
.hsp-recent-card__arrow:focus-visible {
	color: var(--royal);
}

/* -------------------------------------------------------------------------
   Footer — contained block (matches title band color)
   ------------------------------------------------------------------------- */
.hsp-footer {
	margin-top: auto;
	padding: 0 0 24px;
}

.hsp-footer__inner {
	width: 100%;
	background-color: var(--navy);
	color: var(--white);
	text-align: center;
	padding: 28px var(--shell-pad) 36px;
	border-top: 4px solid var(--line-blue);
	border-radius: 0 0 4px 4px;
	font-size: 14px;
	line-height: 1.7;
}

.hsp-footer p {
	margin: 0;
}

.hsp-footer a {
	color: var(--white);
}

.hsp-footer a:hover,
.hsp-footer a:focus-visible {
	color: var(--orange);
}

.hsp-footer__contact {
	margin-bottom: 4px;
}

.hsp-footer__email {
	margin-bottom: 0;
}

.hsp-footer__social {
	margin: 16px 0;
	display: flex;
	justify-content: center;
	gap: 10px;
}

.hsp-social {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: var(--white);
	text-decoration: none;
}

.hsp-social svg {
	display: block;
	width: 18px;
	height: 18px;
}

.hsp-social--fb { background: #3b5998; }
.hsp-social--tw { background: #1da1f2; }
.hsp-social--gp { background: #dd4b39; }

.hsp-social--gp svg {
	width: 24px;
	height: 24px;
}

.hsp-footer__nav {
	margin-top: 4px;
}

.hsp-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	font-size: 13px;
	line-height: 1.6;
}

.hsp-footer__links li {
	display: flex;
	align-items: center;
}

.hsp-footer__links li + li::before {
	content: "|";
	opacity: 0.55;
	margin: 0 8px;
	color: var(--white);
}

.hsp-footer__links a {
	color: var(--white);
}

.hsp-footer__links .current-menu-item a,
.hsp-footer__links a:hover,
.hsp-footer__links a:focus-visible {
	color: var(--orange);
}

@media (max-width: 800px) {
	.hsp-footer {
		padding: 0;
	}

	.hsp-footer .hsp-wrap {
		max-width: none;
		width: 100%;
		padding-left: 0;
		padding-right: 0;
	}

	.hsp-footer__inner {
		border-radius: 0;
		width: 100%;
		padding: 24px var(--shell-pad) 32px;
		font-size: 13px;
	}

	.hsp-footer__links {
		font-size: 12px;
	}
}

/* -------------------------------------------------------------------------
   Mobile — full-width header, compact contact row
   ------------------------------------------------------------------------- */
@media (max-width: 800px) {
	:root {
		--hsp-phone-icon: 42px;
		--hsp-logo-max: 52px;
		--hsp-h1: 30px;
		--hsp-h2: 22px;
		--hsp-h3: 18px;
		--hsp-h4: 16px;
		--hsp-h5: 15px;
		--hsp-h6: 14px;
		--shell-pad: 20px;
		--store-img-max: 300px;
	}

	.hsp-site-header {
		margin-top: 0;
	}

	.hsp-site-header .hsp-header-shell {
		max-width: none;
		width: 100%;
		padding-left: 0;
		padding-right: 0;
	}

	.hsp-header-row {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		border-radius: 0;
		padding: 16px var(--shell-pad) 14px;
		gap: 12px 12px;
		width: 100%;
	}

	.hsp-logo {
		flex: 1 1 0;
		min-width: 0;
		order: 1;
	}

	.hsp-logo .custom-logo-link {
		max-width: 100%;
	}

	.hsp-logo .custom-logo,
	.hsp-logo img {
		max-height: var(--hsp-logo-max);
		max-width: min(70vw, 280px);
		width: auto;
		height: auto;
	}

	.hsp-menu-toggle {
		display: grid;
		flex: 0 0 auto;
		order: 2;
		width: 44px;
		height: 44px;
		margin-left: auto;
		grid-column: unset;
		grid-row: unset;
		justify-self: unset;
	}

	.hsp-menu-toggle__bars {
		width: 20px;
	}

	.hsp-menu-toggle__bars::before { top: -6px; }
	.hsp-menu-toggle__bars::after { top: 6px; }

	.hsp-phone-card {
		order: 3;
		flex: 1 1 100%;
		width: 100%;
		min-width: 0;
		margin: 0;
		padding: 12px 14px;
		gap: 12px;
		border-radius: 4px;
	}

	.hsp-phone-card__body {
		line-height: 1.35;
	}

	.hsp-phone-card__body small {
		font-size: 12px;
		color: var(--muted-accessible);
	}

	.hsp-phone-card__body strong {
		font-size: 14px;
	}

	.hsp-phone-card__addr {
		font-size: 13px;
		color: var(--muted-accessible);
	}

	.hsp-phone-icon {
		width: var(--hsp-phone-icon);
		height: var(--hsp-phone-icon);
	}

	.hsp-phone-icon svg {
		width: 20px;
		height: 20px;
	}

	.hsp-site-header .hsp-nav {
		display: none;
		flex-direction: column;
		flex-wrap: wrap;
		width: 100%;
	}

	.hsp-site-header .hsp-nav.is-open {
		display: flex;
	}

	.hsp-nav > a,
	.hsp-nav > .drop {
		flex: 1 1 auto;
		width: 100%;
	}

	.hsp-nav > a {
		padding: 12px var(--shell-pad);
		font-size: 14px;
	}

	.hsp-nav .drop-row {
		justify-content: center;
		width: 100%;
		min-height: 44px;
	}

	.hsp-nav .drop-link {
		flex: 0 0 auto;
		width: auto;
		padding: 12px 2px 12px var(--shell-pad);
		font-size: 14px;
	}

	.hsp-nav .drop-caret {
		position: static;
		width: auto;
		padding: 12px var(--shell-pad) 12px 2px;
		display: grid;
		place-items: center;
		font-size: 14px;
	}

	.hsp-nav .submenu {
		position: static;
		display: none;
	}

	.hsp-nav .submenu a {
		padding: 12px var(--shell-pad);
		font-size: 14px;
	}

	.hsp-nav .drop.open .submenu {
		display: block;
	}

	.hsp-nav .drop:hover .submenu {
		display: none;
	}

	.hsp-nav .drop.open:hover .submenu {
		display: block;
	}

	.hsp-home .hsp-wrap,
	.hsp-main .hsp-wrap {
		max-width: none;
		width: 100%;
		padding-left: 0;
		padding-right: 0;
	}

	.hsp-hero {
		min-height: 300px;
	}

	.hsp-hero__inner {
		padding: 32px var(--shell-pad);
	}

	.hsp-hero h1 {
		font-size: var(--hsp-h1);
	}

	.hsp-hero__sub {
		font-size: 15px;
	}

	.hsp-home-content .hsp-store {
		padding: 20px 0 4px;
		max-width: var(--store-img-max);
	}

	.hsp-store img {
		height: 220px;
		max-width: var(--store-img-max);
	}

	.hsp-home-content {
		padding: 28px var(--shell-pad) 36px;
	}

	.hsp-home-content h2 {
		font-size: var(--hsp-h2);
	}

	.hsp-page-shell {
		padding: 0 0 32px;
	}

	.hsp-page-header__inner {
		padding: 18px var(--shell-pad);
	}

	.hsp-page-header--banner {
		min-height: 200px;
	}

	.hsp-page-excerpt {
		margin-top: 12px;
		font-size: 17px;
	}

	.hsp-entry {
		padding: 28px var(--shell-pad) 0;
		font-size: 16px;
	}

	.hsp-entry > table,
	.hsp-entry .wp-block-table,
	.hsp-entry figure.wp-block-table {
		width: 100%;
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
	}

	.hsp-entry table {
		width: 100% !important;
		max-width: 100% !important;
		table-layout: fixed;
	}

	.hsp-entry table th,
	.hsp-entry table td {
		padding: 8px 6px;
		font-size: 14px;
		word-break: break-word;
		hyphens: auto;
	}

	.hsp-entry h2 {
		margin-top: 24px;
	}

	.hsp-entry h3 {
		margin-top: 20px;
	}

	.hsp-post-cards {
		padding: 28px var(--shell-pad) 28px;
	}

	.hsp-single-intro {
		padding-top: 20px;
	}

	.hsp-single-title-rule--top {
		display: block;
		margin: 0 calc(-1 * var(--shell-pad)) 14px;
	}

	.hsp-single-title {
		font-size: 30px;
	}

	.hsp-single-meta {
		font-size: 14px;
	}

	.hsp-single-featured {
		margin-top: 20px;
	}

	.hsp-recent-articles__grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.hsp-recent-articles__heading {
		font-size: 22px;
	}

	.hsp-home-content p,
	.hsp-home-content .hsp-block {
		font-size: 15px;
	}
}

@media (min-width: 801px) {
	.hsp-menu-toggle {
		display: none;
	}

	.hsp-phone-card {
		grid-column: 2;
		grid-row: 1;
	}
}
