/*
Theme Name: Alan's Care Corner
Theme URI: https://alanscarecorner.com
Author: Tee
Description: Custom block theme for Alan's Care Corner. Healthcare and Medicare, made simple.
Version: 1.3.6
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: alans-care-corner
*/

/* ---------- Base ---------- */
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
:where(a):focus-visible,
:where(button, input):focus-visible { outline: 3px solid var(--wp--preset--color--orange); outline-offset: 3px; border-radius: 6px; }
.wp-site-blocks > main { margin-block-start: 0; }
main.wp-block-group > * { margin-block-start: 0; }
mark.has-inline-color { background: none; }

/* ---------- Buttons ---------- */
.wp-block-button__link { transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; display: inline-flex; align-items: center; gap: 10px; }
.wp-block-button__link:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(1, 48, 49, .14); }
.wp-block-button.is-style-outline > .wp-block-button__link,
.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: transparent; color: var(--wp--preset--color--ink);
	border: 2px solid var(--wp--preset--color--ink);
	padding: 14px 26px;
}
.wp-block-button.is-style-dark > .wp-block-button__link,
.wp-block-button.is-style-dark > .wp-block-button__link:hover {
	background: var(--wp--preset--color--ink); color: var(--wp--preset--color--cream);
}
.acc-btn-yt > .wp-block-button__link::before,
.acc-btn-play > .wp-block-button__link::before {
	content: ""; width: 24px; height: 24px; flex: none;
	background: url("assets/icons/youtube.svg") center / contain no-repeat;
}
.acc-btn-play > .wp-block-button__link::before { background-image: url("assets/icons/play.svg"); }

/* ---------- Header ---------- */
.acc-header { border-bottom: 1px solid var(--wp--preset--color--border); padding-block: 16px; }
.acc-header__inner { gap: 24px; }
.acc-logo { margin: 0; }
.acc-logo img { display: block; height: auto; }
.acc-nav { font-weight: 600; text-transform: uppercase; font-size: 18px; }
.acc-nav .wp-block-navigation__container { gap: 36px; }
.acc-nav .wp-block-navigation-item__content { text-decoration: none; padding-bottom: 4px; border-bottom: 3px solid transparent; }
.acc-nav .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--orange-text); }
.acc-slug-none,
.acc-nav .current-menu-item > .wp-block-navigation-item__content {
	color: var(--wp--preset--color--orange-text); font-weight: 700; border-bottom-color: var(--wp--preset--color--orange);
}
.acc-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--wp--preset--color--cream); padding: 32px 24px; }
.acc-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 20px; font-size: 22px; }

/* ---------- Shared ---------- */
.acc-section { padding-block: 0 96px; }
.acc-eyebrow { color: var(--wp--preset--color--orange-text); font-weight: 800; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; margin: 0; }
.acc-arrow-link { margin: 0; }
.acc-arrow-link a { font-weight: 700; text-transform: uppercase; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.acc-arrow-link a::after { content: ""; width: 20px; height: 20px; background: url("assets/icons/arrow.svg") center / contain no-repeat; }

/* ---------- Hero ---------- */
.acc-hero { padding-block: 72px 88px; }
.acc-hero__cols { gap: 56px; }
.acc-hero__copy > * { margin-block: 0; }
.acc-hero__copy { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.acc-badge {
	display: inline-flex; align-items: center; gap: 8px; margin: 0;
	background: var(--wp--preset--color--sky); border-radius: 999px;
	padding: 8px 16px 8px 12px; font-weight: 700; font-size: 16px; line-height: 1.2;
}
.acc-badge::before { content: ""; width: 18px; height: 18px; background: url("assets/icons/heart.svg") center / contain no-repeat; }
.acc-ctas { gap: 16px; }

.acc-featured { position: relative; padding: 14px 16px 20px; margin: 0; }
.acc-featured::before {
	content: ""; position: absolute; inset: 34px 6px 0 22px; z-index: 0;
	background: var(--wp--preset--color--peach); border-radius: 28px; transform: rotate(3deg);
}
.acc-featured > * { margin: 0; }
.acc-featured__img { position: relative; z-index: 1; background: var(--wp--preset--color--ink); padding: 8px; border-radius: 22px; }
.acc-featured__img a { position: relative; display: block; }
.acc-featured__img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; }
.acc-featured__img a::after {
	content: ""; position: absolute; left: 50%; top: 50%; width: 68px; height: 68px;
	transform: translate(-50%, -50%); border-radius: 50%;
	background: var(--wp--preset--color--orange) url("assets/icons/play.svg") 56% 50% / 28px no-repeat;
	border: 4px solid var(--wp--preset--color--ink); box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
	transition: transform .15s ease;
}
.acc-featured__img a:hover::after { transform: translate(-50%, -50%) scale(1.08); }
.acc-featured__tag {
	position: absolute; z-index: 2; top: 38px; left: 40px;
	display: inline-flex; align-items: center; gap: 6px;
	background: var(--wp--preset--color--white); border-radius: 999px;
	padding: 6px 14px 6px 10px; font-weight: 700; font-size: 15px; line-height: 1.2;
}
.acc-featured__tag::before { content: ""; width: 16px; height: 16px; background: url("assets/icons/star.svg") center / contain no-repeat; }
.acc-featured__caption { color: var(--wp--preset--color--muted); font-size: 16px; margin: 12px 0 0 16px; }

/* ---------- Free resources ---------- */
.acc-resources__panel { box-sizing: border-box; border-radius: 28px; padding: 64px 56px; }
.acc-resources__cols { gap: 48px; }
.acc-resources__copy > * { margin-block: 0; }
.acc-resources__copy { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.acc-resources__copy p:not(.acc-pill-free) { color: rgba(251, 247, 239, .88); }
.acc-pill-free {
	display: inline-block; background: var(--wp--preset--color--orange); color: var(--wp--preset--color--ink);
	font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
	padding: 6px 12px; border-radius: 8px; line-height: 1.2;
}
.acc-resource-grid { gap: 16px; }
.acc-resource-card {
	position: relative; display: flex; flex-direction: column; gap: 14px;
	background: var(--wp--preset--color--sky); border-radius: 16px; padding: 24px;
	transition: transform .15s ease, box-shadow .15s ease;
}
.acc-resource-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.acc-resource-card > * { margin: 0; }
.acc-icon-tile { background: var(--wp--preset--color--white); border-radius: 12px; padding: 10px; width: fit-content; }
.acc-icon-tile img { display: block; width: 24px; height: 24px; }
.acc-resource-card h3 { font-size: 20px; font-weight: 700; line-height: 1.3; letter-spacing: 0; }
.acc-resource-card h3 a { text-decoration: none; color: var(--wp--preset--color--ink); }
.acc-resource-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.acc-download { margin-top: auto !important; color: var(--wp--preset--color--orange-text); font-weight: 700; font-size: 16px; display: inline-flex; align-items: center; gap: 6px; }
.acc-download::after { content: ""; width: 18px; height: 18px; background: url("assets/icons/arrow-orange.svg") center / contain no-repeat; }

/* ---------- Latest videos ---------- */
.acc-heading-row { gap: 16px; }
.acc-heading-row h2 { margin: 0; }
.acc-filters { gap: 12px; margin-block: 24px !important; }
.acc-filter > .wp-block-button__link,
.acc-filter > .wp-block-button__link:hover {
	background: var(--wp--preset--color--sky); color: var(--wp--preset--color--ink);
	font-weight: 600; border-radius: 999px; padding: 12px 22px; box-shadow: none;
}
.acc-filter.is-active > .wp-block-button__link { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--cream); }
.acc-video-grid { gap: 24px; margin-block-start: 0 !important; }
.acc-video-card {
	position: relative; display: flex; flex-direction: column;
	background: var(--wp--preset--color--white); border: 1px solid var(--wp--preset--color--border);
	border-radius: 16px; overflow: hidden; box-shadow: 0 4px 16px rgba(1, 48, 49, .06);
	transition: transform .15s ease, box-shadow .15s ease;
}
.acc-video-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(1, 48, 49, .12); }
.acc-video-card.is-hidden { display: none; }
.acc-video-card > * { margin: 0; }
.acc-video-card figure img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.acc-video-card h3 { padding: 18px 20px 0; font-size: 20px; font-weight: 700; line-height: 1.3; letter-spacing: 0; }
.acc-video-card h3 a { text-decoration: none; color: var(--wp--preset--color--ink); }
.acc-video-card h3 a::after { content: ""; position: absolute; inset: 0; }
.acc-video-card p { padding: 6px 20px 22px; color: var(--wp--preset--color--muted); }

/* ---------- Meet Alan ---------- */
.acc-alan-card { box-sizing: border-box;
	background: var(--wp--preset--color--white); border: 1px solid var(--wp--preset--color--border);
	border-radius: 24px; padding: 40px 48px 40px 40px;
}
.acc-alan-cols { gap: 48px; }
.acc-alan-photo { margin: 0; }
.acc-alan-photo img { width: 300px; height: 300px; max-width: 100%; object-fit: cover; border-radius: 50%; display: block; }
.acc-alan-copy > * { margin-block: 0; }
.acc-alan-copy { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.acc-alan-copy h2 { font-size: var(--wp--preset--font-size--x-large); line-height: 1.22; letter-spacing: -0.005em; }
.acc-alan-copy > p:not(.acc-eyebrow) { color: var(--wp--preset--color--muted); }
.acc-chips { gap: 10px; }
.acc-chip {
	display: inline-flex; align-items: center; gap: 10px; margin: 0;
	background: var(--wp--preset--color--cream); border: 1px solid var(--wp--preset--color--border);
	border-radius: 999px; padding: 10px 18px 10px 14px;
	font-weight: 600; font-size: 14px; text-transform: uppercase; line-height: 1.2;
}
.acc-chip::before { content: ""; width: 24px; height: 24px; flex: none; background: url("assets/icons/check.svg") center / contain no-repeat; }

/* ---------- Newsletter ---------- */
.acc-newsletter { padding-block: 24px 112px; text-align: center; }
.acc-newsletter h2 { margin: 0; }
.acc-newsletter .acc-sub { color: var(--wp--preset--color--muted); margin-top: 16px; }
.acc-signup { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: flex-end; margin: 28px auto 16px; text-align: left; }
.acc-signup label { display: block; font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.acc-signup input[type="email"] {
	width: 420px; max-width: 100%; height: 58px; box-sizing: border-box;
	border: 1.5px solid rgba(62, 90, 87, .45); border-radius: 12px; padding: 0 18px;
	font: inherit; font-size: 18px; background: var(--wp--preset--color--white); color: var(--wp--preset--color--ink);
}
.acc-signup input[type="email"]::placeholder { color: var(--wp--preset--color--muted); opacity: .8; }
.acc-signup button {
	height: 58px; border: 0; border-radius: 12px; padding: 0 28px; cursor: pointer;
	background: var(--wp--preset--color--ink); color: var(--wp--preset--color--cream);
	font: inherit; font-weight: 700; font-size: 18px; text-transform: uppercase;
}
.acc-signup button:hover { box-shadow: 0 6px 16px rgba(1, 48, 49, .2); }
.acc-privacy { display: inline-flex; align-items: center; gap: 8px; color: var(--wp--preset--color--muted); font-size: 16px; margin: 0; }
.acc-privacy::before { content: ""; width: 16px; height: 16px; background: url("assets/icons/lock.svg") center / contain no-repeat; }

/* ---------- Footer ---------- */
.acc-footer { background: var(--wp--preset--color--sky); padding-block: 48px 40px; }
.acc-footer__top { gap: 24px; }
.acc-footer .acc-nav { font-weight: 600; }
.acc-footer .acc-nav .wp-block-navigation__container { gap: 32px; }
.acc-social { gap: 12px !important; }
.acc-social .wp-social-link a { padding: 11px !important; }
.acc-disclaimer { box-sizing: border-box;
	background: var(--wp--preset--color--white); border: 1px solid var(--wp--preset--color--border);
	border-radius: 14px; padding: 18px 22px; font-size: 16px; line-height: 1.5; margin-block-start: 28px !important;
}
.acc-copyright { text-align: center; color: var(--wp--preset--color--muted); font-size: 15px; margin-block-start: 28px !important; }

/* ---------- Inner pages ---------- */
.acc-page { padding-block: 64px 96px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.acc-resources__cols { flex-wrap: wrap !important; }
	.acc-resources__cols > .wp-block-column { flex-basis: 100% !important; }
}
@media (max-width: 900px) {
	.acc-hero__cols { flex-wrap: wrap !important; }
	.acc-hero__cols > .wp-block-column { flex-basis: 100% !important; }
	.acc-alan-cols { flex-wrap: wrap !important; }
	.acc-alan-cols > .wp-block-column { flex-basis: 100% !important; }
}
@media (max-width: 781px) {
	.acc-hero { padding-block: 40px 56px; }
	.acc-section { padding-block-end: 64px; }
	.acc-resources__panel { padding: 40px 24px; border-radius: 20px; }
	.acc-alan-card { box-sizing: border-box; padding: 28px 22px; }
	.acc-alan-photo img { width: 200px; height: 200px; }
	.acc-filters { flex-wrap: nowrap !important; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
	.acc-filter { flex: none; }
	.acc-footer__top { flex-direction: column; align-items: flex-start !important; }
	.acc-footer .acc-nav .wp-block-navigation__container { gap: 16px 24px; flex-wrap: wrap; }
	.acc-newsletter { padding-block: 16px 72px; }
	.acc-signup .acc-field, .acc-signup input[type="email"], .acc-signup button { width: 100%; }
	.acc-featured__img a::after { width: 56px; height: 56px; background-size: 22px; }
}
@media (max-width: 480px) {
	.acc-header .acc-btn-yt > .wp-block-button__link { font-size: 0; gap: 0; padding: 14px; }
	.acc-ctas .wp-block-button { width: 100%; }
	.acc-ctas .wp-block-button__link { width: 100%; justify-content: center; }
	.acc-featured__tag { top: 30px; left: 30px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; }
}

/* Live YouTube grid */
.acc-video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(15rem, 100%), 1fr)); }
.acc-video-card figure { margin: 0; }
.acc-video-empty { color: var(--wp--preset--color--muted); margin-top: 8px; }

/* Signup status */
.acc-signup__status { flex-basis: 100%; text-align: center; font-size: 16px; font-weight: 600; margin: 4px 0 0; }
.acc-signup__status.is-success { color: #1F6B4E; }
.acc-signup__status.is-error { color: #A3261B; }
.acc-signup button:disabled { opacity: .7; cursor: wait; }

/* ---------- Inner pages ---------- */
.acc-page-hero { padding-block: 72px 48px; }
.acc-page-hero > * { margin-block: 0 !important; }
.acc-page-hero > * + * { margin-block-start: 20px !important; }
.acc-page-hero .acc-pill-free { display: block; background: none; padding: 0; color: var(--wp--preset--color--orange-text); font-size: 15px; border-radius: 0; }
.acc-page-hero h1, .acc-hero h1 { margin: 0; }

.acc-about-photo { position: relative; margin: 0; }
.acc-about-photo::before { content: ""; position: absolute; inset: 12% 4% 0 8%; background: var(--wp--preset--color--peach); border-radius: 50% 50% 28px 28px; z-index: 0; }
.acc-about-photo img { position: relative; z-index: 1; width: 100%; height: auto; display: block; }

.acc-stats { gap: 16px; }
.acc-stat { background: var(--wp--preset--color--white); border: 1px solid var(--wp--preset--color--border); border-radius: 20px; padding: 28px 24px; }
.acc-stat > * { margin: 0; }
.acc-stat__num { font-size: 44px; font-weight: 900; line-height: 1; color: var(--wp--preset--color--orange-text); margin-bottom: 10px !important; letter-spacing: -0.02em; }
.acc-stat p:not(.acc-stat__num) { color: var(--wp--preset--color--muted); font-weight: 600; }

.acc-story { gap: 48px; }
.acc-story h2 { margin: 0; }
.acc-story__copy > * { margin-block: 0 0 18px; }
.acc-topics .acc-resource-card h3 { font-size: 22px; }
.acc-topics .acc-resource-card p { color: var(--wp--preset--color--muted); }
.acc-resources__panel > h2 { margin: 0 0 28px; }

.acc-note { background: var(--wp--preset--color--sky); border-radius: 16px; padding: 20px 24px; font-size: 17px; line-height: 1.55; }

.acc-resource-list { display: flex; flex-direction: column; gap: 16px; }
.acc-resource-row { display: flex; gap: 24px; align-items: flex-start; background: var(--wp--preset--color--white); border: 1px solid var(--wp--preset--color--border); border-radius: 20px; padding: 28px; scroll-margin-top: 24px; }
.acc-resource-row > * { margin: 0 !important; }
.acc-resource-row .acc-icon-tile { background: var(--wp--preset--color--sky); flex: none; }
.acc-resource-row__body > * { margin: 0 0 10px; }
.acc-resource-row__body h2 { font-size: 26px; }
.acc-resource-row__body p:not(.acc-soon) { color: var(--wp--preset--color--muted); }
.acc-soon { display: inline-block; background: var(--wp--preset--color--peach); color: var(--wp--preset--color--ink); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 8px; margin: 4px 0 0 !important; }
.acc-notify { margin-top: 28px !important; font-size: 18px; }
.acc-notify a { color: var(--wp--preset--color--orange-text); font-weight: 700; }

.acc-contact-card { background: var(--wp--preset--color--white); border: 1px solid var(--wp--preset--color--border); border-radius: 24px; padding: 36px; margin-bottom: 24px; }
.acc-contact-card > * { margin: 0 0 14px; }
.acc-contact-email { font-size: clamp(22px, 4vw, 32px); font-weight: 800; word-break: break-word; }
.acc-contact-email a { text-decoration: none; }

.acc-post-grid { gap: 24px; }
.acc-post-card { background: var(--wp--preset--color--white); border: 1px solid var(--wp--preset--color--border); border-radius: 16px; overflow: hidden; padding-bottom: 20px; }
.acc-post-card > * { margin: 0 20px 8px; }
.acc-post-card > .wp-block-post-featured-image { margin: 0 0 16px; }
.acc-post-card .wp-block-post-title { font-size: 20px; font-weight: 700; letter-spacing: 0; }
.acc-post-card .wp-block-post-title a { text-decoration: none; }
.acc-post-card .wp-block-post-date { color: var(--wp--preset--color--muted); margin-top: 20px; }
.acc-post-query { margin-top: 40px; }
.acc-copyright a { color: inherit; }

/* Active nav item per page */
.acc-slug-home .acc-header .acc-nav .wp-block-navigation-item:nth-child(1) > a,
.acc-slug-free-resources .acc-header .acc-nav .wp-block-navigation-item:nth-child(2) > a,
.acc-slug-blog .acc-header .acc-nav .wp-block-navigation-item:nth-child(3) > a,
.acc-slug-about .acc-header .acc-nav .wp-block-navigation-item:nth-child(4) > a,
.acc-slug-contact .acc-header .acc-nav .wp-block-navigation-item:nth-child(5) > a {
	color: var(--wp--preset--color--orange-text); font-weight: 700; border-bottom-color: var(--wp--preset--color--orange);
}
@media (max-width: 781px) {
	.acc-page-hero { padding-block: 40px 32px; }
	.acc-resource-row { flex-direction: column; gap: 16px; padding: 22px; }
	.acc-contact-card { padding: 24px; }
	.acc-about-hero .acc-hero__cols > .wp-block-column:last-child { max-width: 420px; margin-inline: auto; }
}
@media (max-width: 600px) {
	.acc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px; }
	.acc-stat { padding: 20px 16px; }
	.acc-stat__num { font-size: 34px; }
	.acc-stat p:not(.acc-stat__num) { font-size: 15px; line-height: 1.4; }
}

/* Resource downloads */
.acc-dl { gap: 10px; margin-top: 6px !important; }
.acc-btn-dl > .wp-block-button__link { font-size: 15px; padding: 12px 20px; }
.acc-btn-dl.is-style-outline > .wp-block-button__link { padding: 10px 18px; }
.acc-btn-dl > .wp-block-button__link::before { content: ""; width: 16px; height: 16px; background: url("assets/icons/download.svg") center / contain no-repeat; }
.acc-email-me { border-radius: 24px; padding: 40px; margin-top: 32px !important; text-align: center; }
.acc-email-me h2 { margin: 0 0 8px; }
.acc-email-me > p { color: rgba(251, 247, 239, .88); margin: 0 auto; max-width: 560px; }
.acc-signup--dark label { color: var(--wp--preset--color--cream); }
.acc-signup--dark button { background: var(--wp--preset--color--orange); color: var(--wp--preset--color--ink); }
.acc-signup--dark .acc-signup__status.is-success { color: #9BE3C2; }
.acc-signup--dark .acc-signup__status.is-error { color: #FFB4A8; }
.acc-email-me .acc-privacy { color: rgba(251, 247, 239, .8); justify-content: center; display: flex; }
.acc-email-me .acc-privacy::before { filter: brightness(3); }
@media (max-width: 781px) { .acc-email-me { padding: 28px 20px; } }

/* Contact form */
.acc-contact-form { display: flex; flex-direction: column; gap: 18px; }
.acc-contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.acc-contact-form label { display: block; font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.acc-contact-form input[type="text"], .acc-contact-form input[type="email"], .acc-contact-form select, .acc-contact-form textarea {
	width: 100%; box-sizing: border-box; border: 1.5px solid rgba(62, 90, 87, .45); border-radius: 12px;
	padding: 14px 16px; font: inherit; font-size: 18px; background: var(--wp--preset--color--white); color: var(--wp--preset--color--ink);
}
.acc-contact-form select { appearance: none; background-image: url("assets/icons/chevron-down.svg"); background-repeat: no-repeat; background-position: right 14px center; background-size: 20px; padding-right: 44px; }
.acc-contact-form textarea { resize: vertical; min-height: 150px; line-height: 1.5; }
.acc-contact-form button {
	align-self: flex-start; border: 0; border-radius: 12px; padding: 16px 28px; cursor: pointer;
	background: var(--wp--preset--color--orange); color: var(--wp--preset--color--ink);
	font: inherit; font-weight: 700; font-size: 18px; text-transform: uppercase;
}
.acc-contact-form button:disabled { opacity: .7; cursor: wait; }
.acc-contact-form .acc-signup__status { text-align: left; margin: 0; }
.acc-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) {
	.acc-contact-form__row { grid-template-columns: 1fr; }
	.acc-contact-form button { align-self: stretch; }
}

/* ---------- Header: sticky, hides on scroll down past the fold, returns on scroll up ---------- */
.acc-header-wrap {
	position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 100;
	background: var(--wp--preset--color--cream);
	transition: transform .3s ease, box-shadow .3s ease;
}
.acc-header-wrap.is-stuck { box-shadow: 0 6px 18px rgba(1, 48, 49, .08); }
.acc-header-wrap.is-hidden { transform: translateY(calc(-100% - var(--wp-admin--admin-bar--height, 0px))); }

/* Mobile header: shorter, larger hamburger on the right */
@media (max-width: 599px) {
	.acc-header-wrap { top: 0; }
	.acc-header-wrap.is-hidden { transform: translateY(-100%); }
	.acc-header { padding-block: 6px; }
	.acc-header__inner { gap: 12px; }
	.acc-header__inner > .wp-block-buttons { order: 2; margin-left: auto; }
	.acc-header__inner > .acc-nav { order: 3; flex: none; }
	.acc-logo img { width: 85px !important; }
	.acc-nav .wp-block-navigation__responsive-container-open {
		width: 52px; height: 52px; padding: 8px; margin: 0; box-sizing: border-box;
		display: flex; align-items: center; justify-content: center;
		background: var(--wp--preset--color--orange); border-radius: 12px;
	}
	.acc-nav .wp-block-navigation__responsive-container-open svg,
	.acc-nav .wp-block-navigation__responsive-container-close svg { width: 36px; height: 36px; }
}

/* ---------- Back to top ---------- */
.acc-to-top {
	position: fixed; right: 24px; bottom: 24px; z-index: 90;
	width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	background: var(--wp--preset--color--ink); color: var(--wp--preset--color--cream);
	box-shadow: 0 6px 16px rgba(1, 48, 49, .25);
	opacity: 0; visibility: hidden; transform: translateY(12px);
	transition: opacity .2s ease, transform .2s ease, visibility .2s ease, background-color .15s ease, color .15s ease;
}
.acc-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.acc-to-top:hover { background: var(--wp--preset--color--orange); color: var(--wp--preset--color--ink); }
.acc-to-top svg { width: 24px; height: 24px; }
.has-modal-open .acc-to-top { display: none; }
@media (max-width: 600px) {
	.acc-to-top { right: 16px; bottom: 16px; width: 48px; height: 48px; }
}
