/*
Theme Name: Abstract
Description: PetNestLane blog theme.
Version: 2.0.4
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: abstract
*/

.s-header__logo a.logo {
	color: #151515;
	font-family: var(--font-1), "Roboto", sans-serif;
	font-size: 2.4rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.04em;
	text-decoration: none;
	white-space: nowrap;
}

.s-header__logo a.logo:hover,
.s-header__logo a.logo:focus {
	color: #151515;
}

@media screen and (max-width: 600px) {
	.s-header__logo a.logo {
		font-size: 1.8rem;
	}
}

.s-content__primary img,
.s-content__primary iframe,
.s-content__primary video,
.s-content__post-thumb img {
	max-width: 100%;
	height: auto;
}

.s-content--single .s-content__primary figure,
.s-content--single .s-content__primary .wp-block-image {
	display: block;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.s-content--single .s-content__primary img {
	display: block;
	max-width: min(768px, 100%);
	height: auto;
	margin-left: auto;
	margin-right: auto;
}

.s-content--single .s-content__primary figcaption,
.s-content--single .s-content__primary .wp-element-caption {
	text-align: center;
}

/* Post title — stays inside content column, wraps naturally on long titles. */
.s-content--single .s-content__title.s-content__title--post {
	font-size: var(--text-xxl);
	line-height: 1.2;
	margin-bottom: var(--vspace-0_75);
	letter-spacing: -0.03em;
	white-space: normal;
	word-wrap: break-word;
	overflow-wrap: break-word;
	width: 100%;
	max-width: 100%;
}

@media screen and (max-width: 800px) {
	.s-content--single .s-content__title.s-content__title--post {
		font-size: var(--text-xl, 2.4rem);
	}
}

/* Amazon CTA box — full content width, matching article body. */
.s-content__primary .petnest-amazon-cta {
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	box-sizing: border-box;
}
