/*
Theme Name: TipNote Rabbit Child
Theme URI: https://tipnoterabbit.com/
Description: Child theme for TipNote Rabbit, built on the Blocksy parent theme.
Author: TipNote Rabbit
Template: blocksy
Version: 1.0.5
Text Domain: tipnote-rabbit-child
*/

body {
	letter-spacing: 0;
	word-break: keep-all;
}

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

.ct-header-cta,
.header-menu-2,
.header-menu-2:empty,
.mobile-menu:empty {
	display: none !important;
}

#header [data-id="logo"] img {
	max-height: 76px;
	object-fit: contain;
	object-position: left center;
	width: auto;
}

#header [data-id="logo"] {
	align-items: center;
	display: flex;
	gap: 12px;
	flex-shrink: 0;
	min-width: max-content;
	overflow: visible;
	padding-left: 2px;
}

#header [data-id="logo"] .site-logo-container {
	flex-shrink: 0;
	min-width: max-content;
	overflow: visible;
}

#header [data-id="logo"] .site-title-container {
	display: none;
}

#header [data-row="middle"] .ct-container {
	align-items: center;
	min-height: 96px;
}

#header .ct-container {
	gap: clamp(20px, 3vw, 42px);
}

#header .menu > li > a,
#header .mobile-menu a {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0;
}

#header .menu > li > a {
	min-height: 42px;
}

.tipnote-home-hero {
	background: #ffffff;
	padding: clamp(22px, 3vw, 42px) 20px clamp(44px, 5.5vw, 72px);
	text-align: left;
}

.home .hero-section {
	display: none;
}

.home .site-main .ct-container-full,
.home .entry-content {
	padding-top: 0 !important;
	margin-top: 0 !important;
}

.tipnote-home-hero__inner {
	align-items: center;
	display: grid;
	gap: clamp(28px, 4vw, 58px);
	grid-template-columns: minmax(0, 1.02fr) minmax(380px, 1fr);
	margin: 0 auto;
	max-width: 1180px;
}

.tipnote-home-hero__image {
	aspect-ratio: 0.82 / 1;
	border-radius: 8px;
	grid-column: 2;
	grid-row: 1 / 4;
	justify-self: end;
	margin: 0;
	max-width: 390px;
	overflow: hidden;
	width: 100%;
}

.tipnote-home-hero__image img {
	display: block;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: right center;
	transform: scale(1.14);
	transform-origin: right center;
	width: 100%;
}

.tipnote-home-hero h1 {
	color: #1E3A5F;
	font-size: clamp(36px, 4.2vw, 54px);
	font-weight: 800;
	line-height: 1.18;
	margin: 0;
	max-width: 640px;
	overflow-wrap: anywhere;
}

.tipnote-home-hero p {
	color: #374151;
	font-size: clamp(16px, 1.45vw, 19px);
	line-height: 1.85;
	margin: 0;
	max-width: 620px;
	overflow-wrap: anywhere;
}

.tipnote-home-hero .wp-block-buttons {
	justify-content: flex-start;
	margin-top: 0;
}

.tipnote-home-hero .wp-block-button__link {
	background: #F4B400;
	border-radius: 6px;
	color: #1E3A5F;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	padding: 14px 26px;
	text-decoration: none;
	transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.tipnote-home-hero .wp-block-button__link:hover,
.tipnote-home-hero .wp-block-button__link:focus {
	background: #e0a500;
	box-shadow: 0 10px 24px rgba(244, 180, 0, 0.22);
	color: #1E3A5F;
	transform: translateY(-1px);
}

@media (max-width: 689.98px) {
	.tipnote-home-hero {
		padding: 24px 18px 42px;
	}
}

@media (max-width: 899.98px) {
	.tipnote-home-hero {
		text-align: center;
	}

	.tipnote-home-hero__inner {
		gap: 24px;
		grid-template-columns: 1fr;
	}

	.tipnote-home-hero__image {
		aspect-ratio: 0.95 / 1;
		grid-column: 1;
		grid-row: 4;
		margin: 8px auto 0;
		max-width: 430px;
		width: min(100%, 430px);
	}

	.tipnote-home-hero p {
		margin-inline: auto;
	}

	.tipnote-home-hero .wp-block-buttons {
		justify-content: center;
	}
}

.tipnote-home-section {
	padding: clamp(38px, 5.5vw, 68px) 20px;
}

.tipnote-home-section__inner {
	margin: 0 auto;
	max-width: 1180px;
}

.tipnote-section-header {
	margin: 0 auto 28px;
	max-width: 760px;
	text-align: center;
}

.tipnote-section-header h2 {
	color: #1E3A5F;
	font-size: clamp(24px, 2.6vw, 34px);
	font-weight: 800;
	line-height: 1.25;
	margin: 0 0 10px;
}

.tipnote-section-header p {
	color: #475569;
	font-size: clamp(15px, 1.45vw, 17px);
	line-height: 1.75;
	margin: 0;
}

.tipnote-featured-grid .wp-block-post-template,
.tipnote-latest-posts .wp-block-post-template {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.tipnote-latest-posts .wp-block-post-template {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tipnote-featured-grid .wp-block-post,
.tipnote-latest-posts .wp-block-post,
.tipnote-category-card {
	background: #ffffff;
	border: 1px solid rgba(30, 58, 95, 0.1);
	border-radius: 8px;
	box-shadow: 0 12px 34px rgba(30, 58, 95, 0.07);
	min-height: 100%;
	padding: 22px;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.tipnote-featured-grid .wp-block-post:hover,
.tipnote-latest-posts .wp-block-post:hover,
.tipnote-category-card:hover {
	border-color: rgba(30, 58, 95, 0.2);
	box-shadow: 0 18px 42px rgba(30, 58, 95, 0.11);
	transform: translateY(-2px);
}

.tipnote-featured-grid .wp-block-post-title,
.tipnote-latest-posts .wp-block-post-title {
	font-size: clamp(18px, 1.65vw, 20px);
	line-height: 1.42;
	margin: 0 0 10px;
}

.tipnote-featured-grid .wp-block-post-title a,
.tipnote-latest-posts .wp-block-post-title a,
.tipnote-category-card a {
	color: #1E3A5F;
	text-decoration: none;
}

.tipnote-featured-grid .wp-block-post-excerpt,
.tipnote-latest-posts .wp-block-post-excerpt,
.tipnote-category-card p {
	color: #475569;
	font-size: 15px;
	line-height: 1.75;
	margin: 0;
}

.tipnote-category-grid {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.tipnote-category-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	overflow: hidden;
}

.tipnote-category-card__image {
	border-radius: 8px;
	display: block;
	margin: -6px -6px 2px;
	overflow: hidden;
	padding: 14px;
}

.tipnote-category-card__image img {
	aspect-ratio: 1 / 1;
	background: #ffffff;
	display: block;
	height: auto;
	object-fit: contain;
	width: 100%;
}

.tipnote-category-card h3 {
	color: #1E3A5F;
	font-size: 21px;
	font-weight: 800;
	line-height: 1.35;
	margin: 0;
}

.tipnote-category-card ul {
	display: grid;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.tipnote-category-card li {
	border-top: 1px solid rgba(30, 58, 95, 0.1);
	font-size: 15px;
	line-height: 1.55;
	padding-top: 10px;
}

.tipnote-more-link,
.tipnote-newsletter-form button {
	align-self: flex-start;
	background: #F4B400;
	border: 0;
	border-radius: 6px;
	color: #1E3A5F;
	font-weight: 700;
	padding: 11px 18px;
	text-decoration: none;
	transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.tipnote-more-link {
	margin-top: auto;
}

.tipnote-more-link:hover,
.tipnote-more-link:focus,
.tipnote-newsletter-form button:hover,
.tipnote-newsletter-form button:focus {
	background: #e0a500;
	box-shadow: 0 10px 22px rgba(244, 180, 0, 0.2);
	color: #1E3A5F;
	transform: translateY(-1px);
}

.tipnote-featured-grid .wp-block-query-no-results,
.tipnote-latest-posts .wp-block-query-no-results {
	background: #ffffff;
	border: 1px dashed rgba(30, 58, 95, 0.22);
	border-radius: 8px;
	color: #475569;
	padding: 26px;
	text-align: center;
}

.tipnote-newsletter {
	background: #ffffff;
}

.tipnote-newsletter-box {
	border: 1px solid rgba(30, 58, 95, 0.12);
	border-radius: 8px;
	margin: 0 auto;
	max-width: 760px;
	padding: clamp(28px, 5vw, 48px);
	text-align: center;
}

.tipnote-newsletter-form {
	display: flex;
	gap: 12px;
	justify-content: center;
	margin-top: 24px;
}

.tipnote-newsletter-form input[type="email"] {
	border: 1px solid rgba(30, 58, 95, 0.22);
	border-radius: 6px;
	min-height: 46px;
	padding: 0 14px;
	width: min(360px, 100%);
}

@media (max-width: 999.98px) {
	#header [data-id="logo"] img {
		max-height: 64px;
	}

	#header [data-row="middle"] .ct-container {
		min-height: 82px;
	}

	.tipnote-featured-grid .wp-block-post-template,
	.tipnote-latest-posts .wp-block-post-template,
	.tipnote-category-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 689.98px) {
	#header [data-id="logo"] img {
		max-height: 54px;
	}

	#header [data-row="middle"] .ct-container {
		min-height: 70px;
	}

	.tipnote-home-hero h1 {
		font-size: clamp(31px, 9vw, 39px);
		line-height: 1.22;
	}

	.tipnote-home-hero p {
		font-size: 16px;
		line-height: 1.78;
	}

	.tipnote-featured-grid .wp-block-post-template,
	.tipnote-latest-posts .wp-block-post-template,
	.tipnote-category-grid,
	.tipnote-newsletter-form {
		grid-template-columns: 1fr;
	}

	.tipnote-newsletter-form {
		display: grid;
	}

	.tipnote-newsletter-form button {
		width: 100%;
	}
}

/* Homepage final polish: keep structure, improve visual density and readability. */
.home .tipnote-home-hero {
	min-height: clamp(560px, 70vh, 680px);
	padding-block: clamp(34px, 5vw, 62px);
}

.home .tipnote-home-hero__inner {
	min-height: clamp(470px, 58vh, 560px);
}

.home .tipnote-home-hero h1 {
	font-size: clamp(42px, 4.8vw, 64px);
	letter-spacing: 0;
	line-height: 1.16;
}

.home .tipnote-home-hero p {
	font-size: clamp(17px, 1.5vw, 20px);
	line-height: 1.82;
	max-width: 660px;
}

.home .tipnote-home-hero__image {
	aspect-ratio: 0.86 / 1;
	max-width: clamp(420px, 34vw, 520px);
}

.home .tipnote-home-hero__image img {
	transform: scale(1.22);
}

.home .tipnote-home-section {
	padding-block: clamp(34px, 4.8vw, 62px);
}

.home .tipnote-featured-grid {
	padding-top: clamp(18px, 3vw, 34px);
}

.home .tipnote-section-header {
	margin-bottom: 24px;
}

.home .tipnote-category-card {
	align-items: center;
	text-align: center;
}

.home .tipnote-category-card__image {
	align-items: center;
	aspect-ratio: 1 / 1;
	background: #ffffff;
	border: 1px solid rgba(30, 58, 95, 0.1);
	display: flex;
	justify-content: center;
	margin: 0 auto 4px;
	max-width: 152px;
	min-width: 112px;
	padding: 0;
	width: min(100%, 152px);
}

.home .tipnote-category-card__image img {
	aspect-ratio: 1 / 1;
	height: 100%;
	min-width: 90px;
	object-fit: cover;
	object-position: 50% 34%;
	transform: scale(2.55);
	transform-origin: center 34%;
	width: 100%;
}

.home .tipnote-category-card h3 {
	font-size: 22px;
}

.home .tipnote-category-card p {
	min-height: 3.5em;
}

.home .tipnote-category-card ul {
	align-self: stretch;
	text-align: left;
}

.home .tipnote-category-card .tipnote-more-link {
	align-self: center;
}

.home .tipnote-featured-grid .wp-block-query-no-results,
.home .tipnote-latest-posts .wp-block-query-no-results {
	background:
		linear-gradient(180deg, rgba(245, 246, 248, 0.72), rgba(255, 255, 255, 0.98)),
		#ffffff;
	border: 1px solid rgba(30, 58, 95, 0.12);
	border-radius: 8px;
	box-shadow: 0 12px 30px rgba(30, 58, 95, 0.06);
	color: #475569;
	margin: 0 auto;
	max-width: 760px;
	padding: clamp(28px, 4vw, 42px);
}

.home .tipnote-featured-grid .wp-block-query-no-results p,
.home .tipnote-latest-posts .wp-block-query-no-results p {
	margin: 0;
}

footer.ct-footer {
	border-top: 1px solid rgba(30, 58, 95, 0.12);
	box-shadow: 0 -10px 30px rgba(30, 58, 95, 0.04);
}

footer.ct-footer .ct-container {
	padding-block: clamp(24px, 4vw, 42px);
}

footer.ct-footer .menu {
	gap: 18px;
}

footer.ct-footer a {
	color: #1E3A5F;
	font-weight: 700;
	text-decoration: none;
}

footer.ct-footer a:hover,
footer.ct-footer a:focus {
	color: #F4B400;
}

@media (max-width: 999.98px) {
	.home .tipnote-home-hero {
		min-height: auto;
		padding-block: 36px 50px;
	}

	.home .tipnote-home-hero__inner {
		min-height: auto;
	}

	.home .tipnote-home-hero__image {
		aspect-ratio: 0.95 / 1;
		max-width: 430px;
		width: min(100%, 430px);
	}

	.home .tipnote-home-hero__image img {
		object-position: 78% center;
		transform: scale(1.34);
	}

	.home .tipnote-category-card__image {
		max-width: 142px;
		width: 142px;
	}
}

@media (max-width: 689.98px) {
	.home .tipnote-home-hero {
		padding-block: 28px 42px;
	}

	.home .tipnote-home-hero h1 {
		font-size: clamp(32px, 10vw, 42px);
	}

	.home .tipnote-home-section {
		padding-block: 32px;
	}

	.home .tipnote-category-card__image {
		max-width: 132px;
		width: 132px;
	}
}

.tipnote-breadcrumb-wrap {
	margin: 18px auto 0;
	max-width: var(--theme-container-width, 1290px);
	padding: 0 var(--theme-content-spacing, 20px);
}

.tipnote-breadcrumb-wrap .ct-breadcrumbs,
.tipnote-basic-breadcrumbs {
	color: #64748b;
	font-size: 14px;
	line-height: 1.6;
}

.tipnote-basic-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.tipnote-basic-breadcrumbs a,
.tipnote-breadcrumb-wrap a {
	color: #1E3A5F;
	text-decoration: none;
}

.tipnote-post-meta-line {
	align-items: center;
	border-bottom: 1px solid rgba(30, 58, 95, 0.12);
	color: #64748b;
	display: flex;
	flex-wrap: wrap;
	font-size: 14px;
	gap: 10px 18px;
	margin: 0 0 28px;
	padding-bottom: 14px;
}

.tipnote-toc {
	background: #ffffff;
	border: 1px solid rgba(30, 58, 95, 0.14);
	border-radius: 8px;
	margin: 0 0 34px;
	padding: 22px;
}

.tipnote-toc strong {
	color: #1E3A5F;
	display: block;
	font-size: 18px;
	margin-bottom: 12px;
}

.tipnote-toc ol {
	display: grid;
	gap: 8px;
	list-style-position: inside;
	margin: 0;
	padding: 0;
}

.tipnote-toc a {
	color: #1E3A5F;
	text-decoration: none;
}

.tipnote-toc-level-3 {
	margin-left: 18px;
}

.tipnote-author-box,
.tipnote-related-posts,
.tipnote-archive-intro {
	background: #ffffff;
	border: 1px solid rgba(30, 58, 95, 0.14);
	border-radius: 8px;
	margin-top: 42px;
	padding: clamp(22px, 4vw, 32px);
}

.tipnote-author-box {
	display: grid;
	gap: 18px;
	grid-template-columns: auto 1fr;
}

.tipnote-author-avatar img {
	border-radius: 999px;
}

.tipnote-author-box h2,
.tipnote-related-posts h2,
.tipnote-archive-intro h2 {
	color: #1E3A5F;
	font-size: 22px;
	line-height: 1.35;
	margin: 0 0 10px;
}

.tipnote-author-name {
	color: #1E3A5F;
	font-weight: 700;
	margin-bottom: 6px;
}

.tipnote-related-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 18px;
}

.tipnote-related-grid article {
	border-top: 1px solid rgba(30, 58, 95, 0.12);
	padding-top: 14px;
}

.tipnote-related-grid a {
	color: #1E3A5F;
	display: block;
	font-weight: 700;
	line-height: 1.45;
	text-decoration: none;
}

.tipnote-related-grid p,
.tipnote-author-box p,
.tipnote-archive-intro p {
	color: #475569;
	font-size: 15px;
	line-height: 1.7;
	margin: 0;
}

.tipnote-archive-intro {
	margin-bottom: 30px;
	margin-top: 0;
}

.tipnote-archive-intro__image {
	border-radius: 8px;
	margin-bottom: 22px;
	overflow: hidden;
}

.tipnote-archive-intro__image img {
	aspect-ratio: 16 / 7;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.tipnote-archive-label {
	color: #F4B400;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0;
	margin-bottom: 8px;
	text-transform: uppercase;
}

.tipnote-category-archive [data-archive="default"] .entries,
.tipnote-category-archive .entries {
	gap: 24px;
}

@media (max-width: 799.98px) {
	.tipnote-related-grid,
	.tipnote-author-box {
		grid-template-columns: 1fr;
	}

	.tipnote-author-avatar {
		display: none;
	}
}

/* Sprint 7: production homepage finalization. */
.home .tipnote-home-hero {
	min-height: clamp(480px, 58vh, 580px);
	padding-block: clamp(26px, 3.6vw, 48px) clamp(30px, 4.2vw, 54px);
}

.home .tipnote-home-hero__inner {
	gap: clamp(44px, 5.5vw, 78px);
	min-height: clamp(390px, 46vh, 460px);
}

.home .tipnote-home-hero h1 {
	font-size: clamp(40px, 4.4vw, 58px);
	line-height: 1.18;
	max-width: 690px;
}

.home .tipnote-home-hero p {
	color: #374151;
	font-size: clamp(17px, 1.35vw, 19px);
	line-height: 1.82;
	max-width: 670px;
}

.home .tipnote-home-hero .wp-block-button__link {
	box-shadow: 0 10px 24px rgba(244, 180, 0, 0.18);
	min-height: 48px;
}

.home .tipnote-home-hero__image {
	aspect-ratio: 0.88 / 1;
	max-width: clamp(340px, 28vw, 415px);
}

.home .tipnote-home-hero__image img {
	transform: scale(1.06);
}

.home .tipnote-home-section {
	padding-block: clamp(30px, 4.2vw, 54px);
}

.home .tipnote-section-header {
	margin-bottom: 26px;
}

.home .tipnote-section-header h2 {
	font-size: clamp(24px, 2.4vw, 32px);
}

.home .tipnote-section-header p {
	max-width: 620px;
	margin-inline: auto;
}

.home .tipnote-category-grid {
	align-items: stretch;
	gap: 22px;
}

.home .tipnote-category-card {
	gap: 15px;
	justify-content: flex-start;
	padding: 24px 20px;
	text-align: center;
}

.home .tipnote-category-card__image {
	align-items: center;
	aspect-ratio: auto;
	background: #ffffff;
	border: 0;
	border-radius: 8px;
	box-shadow: none;
	display: flex;
	justify-content: center;
	margin: 0 auto 2px;
	max-width: none;
	min-height: 150px;
	min-width: 0;
	overflow: visible;
	padding: 0;
	width: 100%;
}

.home .tipnote-category-card__image img {
	aspect-ratio: auto;
	display: block;
	height: auto;
	max-height: 150px;
	max-width: 150px;
	min-width: 0;
	object-fit: contain;
	object-position: center;
	transform: none;
	transform-origin: center;
	width: 150px;
}

.home .tipnote-category-card h3 {
	font-size: 21px;
	line-height: 1.32;
	margin-top: 2px;
}

.home .tipnote-category-card p {
	font-size: 15px;
	line-height: 1.7;
	min-height: 3.4em;
}

.home .tipnote-category-card ul {
	align-self: stretch;
	margin-top: 2px;
}

.home .tipnote-category-card li {
	text-align: center;
}

.home .tipnote-category-card .tipnote-more-link {
	align-self: center;
	margin-top: auto;
	min-width: 84px;
	text-align: center;
}

.home .tipnote-featured-grid .wp-block-post,
.home .tipnote-latest-posts .wp-block-post {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.home .tipnote-featured-grid .wp-block-post-excerpt,
.home .tipnote-latest-posts .wp-block-post-excerpt {
	flex: 1;
}

.home .tipnote-featured-grid .wp-block-query-no-results,
.home .tipnote-latest-posts .wp-block-query-no-results {
	background:
		linear-gradient(180deg, rgba(245, 246, 248, 0.72), rgba(255, 255, 255, 0.98)),
		#ffffff;
	border: 1px solid rgba(30, 58, 95, 0.14);
	border-radius: 8px;
	box-shadow: 0 12px 28px rgba(30, 58, 95, 0.06);
	color: #475569;
	margin: 0 auto;
	max-width: 720px;
	min-height: 132px;
	padding: clamp(24px, 3.2vw, 34px);
	position: relative;
	text-align: center;
}

.home .tipnote-featured-grid .wp-block-query-no-results::before,
.home .tipnote-latest-posts .wp-block-query-no-results::before {
	background: #F4B400;
	border-radius: 999px;
	content: "";
	display: block;
	height: 6px;
	margin: 0 auto 14px;
	width: 48px;
}

.home .tipnote-featured-grid .wp-block-query-no-results p,
.home .tipnote-latest-posts .wp-block-query-no-results p {
	color: #475569;
	font-size: 15px;
	line-height: 1.72;
	margin: 0;
}

.home footer.ct-footer {
	background: #ffffff;
	border-top: 1px solid rgba(30, 58, 95, 0.14);
	box-shadow: 0 -12px 34px rgba(30, 58, 95, 0.05);
}

.home footer.ct-footer .ct-container {
	padding-block: clamp(24px, 3.8vw, 40px);
}

.home footer.ct-footer .menu {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 22px;
	justify-content: center;
}

.home footer.ct-footer a,
.home footer.ct-footer .ct-footer-copyright {
	font-size: 14px;
	line-height: 1.6;
}

.home footer.ct-footer a {
	color: #1E3A5F;
	font-weight: 700;
	text-decoration: none;
}

.home footer.ct-footer a:hover,
.home footer.ct-footer a:focus {
	color: #F4B400;
}

@media (max-width: 999.98px) {
	.home .tipnote-home-hero {
		min-height: auto;
		padding-block: 30px 42px;
	}

	.home .tipnote-home-hero__inner {
		min-height: auto;
	}

	.home .tipnote-home-hero__image {
		aspect-ratio: 0.95 / 1;
		max-width: 370px;
		width: min(100%, 370px);
	}

	.home .tipnote-home-hero__image img {
		object-position: 78% center;
		transform: scale(1.06);
	}

	.home .tipnote-category-card__image {
		width: 100px;
	}
}

@media (max-width: 689.98px) {
	.home .tipnote-home-hero {
		padding-block: 26px 38px;
		padding-left: 20px;
		padding-right: 20px;
	}

	.home .tipnote-home-hero h1 {
		font-size: clamp(26px, 7.2vw, 30px);
		line-height: 1.24;
		margin-left: auto;
		margin-right: auto;
		max-width: 300px;
		word-break: break-all;
	}

	.home .tipnote-home-hero p,
	.home .tipnote-section-header p {
		font-size: 15px;
		line-height: 1.75;
		margin-left: auto;
		margin-right: auto;
		max-width: 300px;
		overflow-wrap: anywhere;
		white-space: normal;
		word-break: break-all;
	}

	.home .tipnote-home-section__inner,
	.home .tipnote-section-header,
	.home .tipnote-featured-grid .wp-block-query-no-results,
	.home .tipnote-latest-posts .wp-block-query-no-results,
	.home .tipnote-category-card {
		max-width: calc(100vw - 64px);
		width: 100%;
	}

	.home .tipnote-home-hero__inner {
		max-width: calc(100vw - 64px);
	}

	.home .tipnote-home-section {
		padding-block: 28px;
		padding-left: 20px;
		padding-right: 20px;
	}

	.home .tipnote-category-card {
		padding: 22px 18px;
	}

	.home .tipnote-category-card__image {
		width: 96px;
	}

	.home footer.ct-footer .menu {
		gap: 8px 16px;
	}
}

@media (max-width: 480px) {
	.tipnote-home-hero,
	.tipnote-home-section {
		padding-left: 20px;
		padding-right: 20px;
	}

	.tipnote-home-hero__inner,
	.tipnote-home-section__inner,
	.tipnote-section-header {
		max-width: 100%;
		width: 100%;
	}

	.home .tipnote-home-hero h1 {
		font-size: clamp(28px, 8vw, 34px);
		line-height: 1.24;
		max-width: 100%;
		word-break: normal;
	}

	.home .tipnote-home-hero p,
	.home .tipnote-section-header p {
		font-size: 15px;
		line-height: 1.75;
		max-width: 100%;
		word-break: normal;
	}

	.home .tipnote-home-hero__image {
		max-width: min(100%, 286px);
		width: min(100%, 286px);
	}
}

/* TipNote Rabbit: reduce oversized header whitespace */
@media (min-width: 1000px) {
  #header [data-device=desktop] {
    height: auto !important;
    min-height: 0 !important;
  }

  #header [data-device=desktop] .ct-sticky-container {
    height: 96px !important;
    min-height: 96px !important;
  }

  #header [data-device=desktop] [data-row=middle],
  #header [data-device=desktop] [data-row=middle] .ct-container,
  #header [data-device=desktop] [data-row=middle] [data-column],
  #header [data-device=desktop] [data-row=middle] [data-items],
  #header [data-device=desktop] [data-row=middle] [data-column] > div,
  #header [data-device=desktop] [data-id=logo],
  #header [data-device=desktop] .site-logo-container {
    height: 96px !important;
    min-height: 96px !important;
  }

  #header [data-device=desktop] [data-id=logo],
  #header [data-device=desktop] .site-logo-container {
    display: flex !important;
    align-items: center !important;
  }
}

.single-post .entry-content > .wp-block-image:first-child {
  margin-top: 24px !important;
}
