/*
Theme Name: Habits & Heart Homepage
Template: habitsandheart
Version: 1.0.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: habitsandheart
*/
.hh-header .hh-finish-logo { display: flex; flex: 0 1 214px; min-width: 0; align-items: center; }
.hh-header .hh-finish-logo img { display: block; width: 100%; max-width: 214px; height: auto; max-height: none; object-fit: contain; }
.hh-finish-nav-actions, .hh-finish-print-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
.hh-finish-pinterest { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .3rem .85rem; border: 1px solid currentColor; border-radius: 100px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.hh-header .hh-finish-pinterest { color: #a51c24; }
.hh-print .hh-finish-pinterest { color: #fff9ed; }
.hh-hero .hh-finish-pinterest { color: #a51c24; }
.hh-cats .hh-cat { padding: 0 0 .8rem; overflow: hidden; }
.hh-cat .hh-finish-topic-photo { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.hh-cats .hh-cat :is(h3,p) { margin-inline: .7rem; }
.hh-cats .hh-cat h3 { margin-top: .65rem; }
.hh-finish-soon { display: block; padding-top: .3rem; color: #425849; font-size: .82rem; }
.hh-print .hh-finish-soon { color: #fff9ed; opacity: 1; }
#start, #categories, #printables, #couple { scroll-margin-top: 110px; }

.hh-announce.hh-finish-announcement { --hh-announce-cream: #fffaf0; display: flex; align-items: stretch; min-height: 40px; padding: 0; background: #153722; color: var(--hh-announce-cream); }
.hh-finish-announcement .hh-finish-ticker-link { display: flex; min-width: 0; align-items: center; flex: 1; overflow: hidden; color: var(--hh-announce-cream); text-decoration: none; }
.hh-finish-announcement .hh-finish-ticker-link:hover { text-decoration: underline; }
.hh-finish-ticker-static { display: block; margin: auto; text-align: center; padding: .35rem .75rem; }
.hh-finish-ticker-track, .hh-finish-ticker-toggle { display: none; }
.hh-finish-moving .hh-finish-ticker-static { position: absolute; overflow: hidden; width: 1px; height: 1px; padding: 0; clip-path: inset(50%); }
.hh-finish-moving .hh-finish-ticker-track { display: flex; flex: none; min-width: 200%; animation: hh-finish-move 36s linear infinite; }
.hh-finish-ticker-group { display: flex; flex: 1 0 auto; justify-content: space-around; min-width: 50%; }
.hh-finish-ticker-message { white-space: nowrap; padding-inline: 2rem; }
.hh-finish-moving .hh-finish-ticker-toggle { display: grid; place-items: center; flex: 0 0 44px; background: #254737; color: var(--hh-announce-cream); border: 0; border-left: 1px solid #6f8b78; border-radius: 0; cursor: pointer; }
.hh-finish-announcement:is(:hover,.hh-finish-paused) .hh-finish-ticker-track, .hh-finish-ticker-link:focus-visible .hh-finish-ticker-track { animation-play-state: paused; }
.hh-finish-announcement :is(a, button):focus-visible { outline: 2px solid var(--hh-announce-cream); outline-offset: -3px; }
@keyframes hh-finish-move { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.hh-finish-moving :is(.hh-finish-ticker-track,.hh-finish-ticker-toggle) { display: none; }
	.hh-finish-moving .hh-finish-ticker-static { position: static; width: auto; height: auto; clip-path: none; padding: .35rem .75rem; }
}
@media (max-width: 38rem) {
	.hh-header .hh-finish-logo { flex-basis: 195px; }
	.hh-finish-nav-actions { width: 100%; }
	.hh-cats .hh-cat :is(h3,p) { margin-inline: .5rem; }
}
