/**
 * PawPress – Primary Stylesheet
 *
 * Mobile-first responsive styles for all theme components.
 * Uses min-width media queries for progressive enhancement.
 *
 * @package PawPress
 */

/* ==========================================================================
   1. Reset & Base
   ========================================================================== */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
	font-size: 1rem;
	line-height: 1.7;
	color: var(--pw-text);
	background-color: var(--pw-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

body.pw-no-scroll {
	overflow: hidden;
}

img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
	height: auto;
}

input,
button,
textarea,
select {
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
	background: none;
	border: none;
}

a {
	color: var(--pw-orange);
	text-decoration: none;
	transition: color var(--pw-transition);
}

a:hover,
a:focus {
	color: var(--pw-orange-hover);
}

ul,
ol {
	list-style: none;
}

table {
	border-collapse: collapse;
	width: 100%;
}

::selection {
	background-color: var(--pw-orange);
	color: var(--pw-white);
}

::-moz-selection {
	background-color: var(--pw-orange);
	color: var(--pw-white);
}

/* ==========================================================================
   2. Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
	font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	color: var(--pw-text);
	line-height: 1.3;
	margin-top: 0;
	margin-bottom: 0.5em;
}

h1 {
	font-size: 2rem;
	font-weight: 700;
}

h2 {
	font-size: 1.6rem;
	font-weight: 600;
}

h3 {
	font-size: 1.3rem;
	font-weight: 600;
}

h4 {
	font-size: 1.15rem;
	font-weight: 600;
}

h5 {
	font-size: 1rem;
	font-weight: 500;
}

h6 {
	font-size: 0.875rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

p {
	margin-bottom: 1em;
}

strong,
b {
	font-weight: 600;
}

@media (min-width: 768px) {
	h1 { font-size: 2.5rem; }
	h2 { font-size: 1.8rem; }
	h3 { font-size: 1.4rem; }
}

@media (min-width: 1024px) {
	h1 { font-size: 2.8rem; }
	h2 { font-size: 2rem; }
	h3 { font-size: 1.5rem; }
}

/* ==========================================================================
   3. Layout
   ========================================================================== */

.pw-container {
	max-width: var(--pw-content-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
}

.pw-grid {
	display: grid;
	gap: 24px;
}

.pw-section {
	padding: 50px 0;
}

.pw-section__heading {
	font-family: 'Outfit', sans-serif;
	font-size: 1.5rem;
	font-weight: 700;
	text-align: center;
	margin-bottom: 40px;
	position: relative;
	padding-bottom: 18px;
}

.pw-section__heading::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 30px;
	height: 30px;
	background-image: url('../images/paw-print.svg');
	background-repeat: no-repeat;
	background-size: contain;
	opacity: 0.2;
}

@media (min-width: 768px) {
	.pw-grid {
		gap: 28px;
	}

	.pw-section {
		padding: 60px 0;
	}

	.pw-section__heading {
		font-size: 1.8rem;
	}
}

@media (min-width: 1024px) {
	.pw-grid {
		gap: 32px;
	}

	.pw-section {
		padding: 80px 0;
	}

	.pw-section__heading {
		font-size: 2rem;
		margin-bottom: 50px;
	}
}

/* ==========================================================================
   4. Header
   ========================================================================== */

.pw-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 70px;
	background-color: var(--pw-white);
	z-index: 1000;
	transition: box-shadow var(--pw-transition), background-color var(--pw-transition);
	display: flex;
	align-items: center;
}

.pw-header--scrolled {
	box-shadow: 0 2px 20px rgba(107, 76, 59, 0.1);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	background-color: rgba(255, 255, 255, 0.96);
}

.pw-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	max-width: var(--pw-content-width);
	margin: 0 auto;
	padding: 0 20px;
	height: 100%;
}

.pw-header__logo a {
	font-family: 'Outfit', sans-serif;
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--pw-brown-dark);
	display: flex;
	align-items: center;
	gap: 8px;
}

.pw-header__logo a:hover {
	color: var(--pw-orange);
}

.pw-header__logo img {
	max-height: 42px;
	width: auto;
}

.pw-header__nav {
	display: none;
}

.pw-header__nav-list {
	display: flex;
	align-items: center;
	gap: 32px;
}

.pw-header__nav-list a {
	font-family: 'Outfit', sans-serif;
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--pw-text);
	position: relative;
	padding: 4px 0;
	transition: color var(--pw-transition);
}

.pw-header__nav-list a::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--pw-orange);
	transition: width var(--pw-transition);
}

.pw-header__nav-list a:hover,
.pw-header__nav-list .current-menu-item > a,
.pw-header__nav-list .current_page_item > a {
	color: var(--pw-orange);
}

.pw-header__nav-list a:hover::after,
.pw-header__nav-list .current-menu-item > a::after,
.pw-header__nav-list .current_page_item > a::after {
	width: 100%;
}

.pw-header__actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.pw-header__search-btn,
.pw-header__menu-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	color: var(--pw-text);
	transition: background-color var(--pw-transition), color var(--pw-transition);
}

.pw-header__search-btn:hover,
.pw-header__menu-btn:hover {
	background-color: var(--pw-beige);
	color: var(--pw-orange);
}

.pw-header__search-btn svg,
.pw-header__menu-btn svg {
	width: 20px;
	height: 20px;
}

/* Search Overlay */
.pw-header__search-overlay {
	position: fixed;
	top: 70px;
	left: 0;
	width: 100%;
	background-color: var(--pw-white);
	box-shadow: 0 8px 30px rgba(107, 76, 59, 0.12);
	padding: 24px 20px;
	transform: translateY(-110%);
	transition: transform var(--pw-transition);
	z-index: 999;
	opacity: 0;
	visibility: hidden;
}

.pw-header__search-overlay--active {
	transform: translateY(0);
	opacity: 1;
	visibility: visible;
}

.pw-header__search-overlay form {
	display: flex;
	max-width: 600px;
	margin: 0 auto;
}

.pw-header__search-overlay input[type="search"] {
	flex: 1;
	padding: 12px 16px;
	border: 2px solid var(--pw-border);
	border-right: none;
	border-radius: var(--pw-radius-sm) 0 0 var(--pw-radius-sm);
	font-size: 1rem;
	outline: none;
	background: var(--pw-off-white);
	transition: border-color var(--pw-transition);
}

.pw-header__search-overlay input[type="search"]:focus {
	border-color: var(--pw-orange);
}

.pw-header__search-overlay button {
	padding: 12px 20px;
	background-color: var(--pw-orange);
	color: var(--pw-white);
	border-radius: 0 var(--pw-radius-sm) var(--pw-radius-sm) 0;
	font-weight: 500;
	transition: background-color var(--pw-transition);
}

.pw-header__search-overlay button:hover {
	background-color: var(--pw-orange-hover);
}

/* Mobile Menu */
.pw-mobile-menu {
	position: fixed;
	top: 0;
	right: 0;
	width: 320px;
	max-width: 85vw;
	height: 100vh;
	background-color: var(--pw-white);
	z-index: 1001;
	transform: translateX(100%);
	transition: transform var(--pw-transition);
	overflow-y: auto;
	padding: 80px 30px 40px;
	box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
}

.pw-mobile-menu--active {
	transform: translateX(0);
}

.pw-mobile-menu__close {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	color: var(--pw-text);
	transition: background-color var(--pw-transition);
}

.pw-mobile-menu__close:hover {
	background-color: var(--pw-beige);
}

.pw-mobile-menu__close svg {
	width: 24px;
	height: 24px;
}

.pw-mobile-menu__nav a {
	display: block;
	padding: 14px 0;
	font-family: 'Outfit', sans-serif;
	font-size: 1.1rem;
	font-weight: 500;
	color: var(--pw-text);
	border-bottom: 1px solid var(--pw-border);
	transition: color var(--pw-transition), padding-left var(--pw-transition);
}

.pw-mobile-menu__nav a:hover,
.pw-mobile-menu__nav .current-menu-item > a {
	color: var(--pw-orange);
	padding-left: 8px;
}

.pw-mobile-menu__overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.4);
	z-index: 1000;
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--pw-transition), visibility var(--pw-transition);
}

.pw-mobile-menu__overlay--active {
	opacity: 1;
	visibility: visible;
}

/* Spacer for fixed header */
.pw-header-spacer {
	height: 70px;
}

@media (min-width: 1024px) {
	.pw-header {
		height: 80px;
	}

	.pw-header__nav {
		display: block;
	}

	.pw-header__menu-btn {
		display: none;
	}

	.pw-header__search-overlay {
		top: 80px;
	}

	.pw-header-spacer {
		height: 80px;
	}
}

/* ==========================================================================
   5. Hero
   ========================================================================== */

.pw-hero {
	position: relative;
	min-height: 400px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	overflow: hidden;
}

.pw-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(74, 51, 40, 0.35) 0%,
		rgba(74, 51, 40, 0.55) 100%
	);
	z-index: 1;
}

.pw-hero__content {
	position: relative;
	z-index: 2;
	padding: 60px 20px;
	max-width: 800px;
}

.pw-hero__title {
	font-family: 'Outfit', sans-serif;
	font-size: 2rem;
	font-weight: 700;
	color: var(--pw-white);
	margin-bottom: 16px;
	line-height: 1.2;
}

.pw-hero__description {
	font-size: 1rem;
	color: rgba(255, 255, 255, 0.9);
	max-width: 600px;
	margin: 0 auto 28px;
	line-height: 1.6;
}

.pw-hero__btn {
	display: inline-block;
	padding: 14px 36px;
	background-color: var(--pw-orange);
	color: var(--pw-white);
	font-family: 'Outfit', sans-serif;
	font-size: 1rem;
	font-weight: 600;
	border-radius: var(--pw-radius);
	transition: background-color var(--pw-transition), transform var(--pw-transition);
}

.pw-hero__btn:hover {
	background-color: var(--pw-orange-hover);
	color: var(--pw-white);
	transform: translateY(-2px);
}

@media (min-width: 768px) {
	.pw-hero {
		min-height: 500px;
	}

	.pw-hero__title {
		font-size: 2.8rem;
	}

	.pw-hero__description {
		font-size: 1.05rem;
	}
}

@media (min-width: 1024px) {
	.pw-hero {
		min-height: 600px;
	}

	.pw-hero__title {
		font-size: 3.5rem;
	}

	.pw-hero__description {
		font-size: 1.1rem;
	}

	.pw-hero__btn {
		padding: 16px 42px;
		font-size: 1.1rem;
	}
}

/* ==========================================================================
   6. Buttons
   ========================================================================== */

.pw-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 28px;
	font-family: 'Inter', sans-serif;
	font-size: 0.95rem;
	font-weight: 500;
	line-height: 1;
	border: 2px solid transparent;
	border-radius: var(--pw-radius-sm);
	cursor: pointer;
	text-decoration: none;
	transition: background-color var(--pw-transition), color var(--pw-transition),
		border-color var(--pw-transition), transform var(--pw-transition);
}

.pw-btn--primary {
	background-color: var(--pw-orange);
	color: var(--pw-white);
	border-color: var(--pw-orange);
}

.pw-btn--primary:hover {
	background-color: var(--pw-orange-hover);
	border-color: var(--pw-orange-hover);
	color: var(--pw-white);
}

.pw-btn--outline {
	background-color: transparent;
	color: var(--pw-orange);
	border-color: var(--pw-orange);
}

.pw-btn--outline:hover {
	background-color: var(--pw-orange);
	color: var(--pw-white);
}

.pw-btn--large {
	padding: 16px 36px;
	font-size: 1.1rem;
}

.pw-btn svg {
	width: 18px;
	height: 18px;
}

/* ==========================================================================
   7. Post Cards
   ========================================================================== */

.pw-card {
	background-color: var(--pw-white);
	border-radius: var(--pw-radius);
	overflow: hidden;
	box-shadow: var(--pw-shadow);
	transition: box-shadow var(--pw-transition), transform var(--pw-transition);
}

.pw-card:hover {
	box-shadow: 0 8px 30px rgba(107, 76, 59, 0.14);
	transform: translateY(-4px);
}

.pw-card__image {
	position: relative;
	overflow: hidden;
	aspect-ratio: 3 / 2;
}

.pw-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.pw-card:hover .pw-card__image img {
	transform: scale(1.05);
}

.pw-card__body {
	padding: 18px 20px;
}

.pw-card__category {
	display: inline-block;
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--pw-brown);
	background-color: var(--pw-beige);
	padding: 4px 10px;
	border-radius: 4px;
	line-height: 1;
}

.pw-card__category a {
	color: inherit;
}

.pw-card__category a:hover {
	color: var(--pw-orange);
}

.pw-card__title {
	font-family: 'Outfit', sans-serif;
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--pw-text);
	margin: 8px 0;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.pw-card__title a {
	color: inherit;
}

.pw-card__title a:hover {
	color: var(--pw-orange);
}

.pw-card__excerpt {
	color: var(--pw-text-light);
	font-size: 0.9rem;
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 12px;
}

.pw-card__meta {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 0.8rem;
	color: var(--pw-text-light);
}

.pw-card__meta span {
	display: flex;
	align-items: center;
	gap: 4px;
}

.pw-card__meta svg {
	width: 14px;
	height: 14px;
	opacity: 0.6;
}

@media (min-width: 768px) {
	.pw-card__body {
		padding: 20px 24px;
	}

	.pw-card__title {
		font-size: 1.1rem;
	}

	.pw-card__category {
		font-size: 0.75rem;
	}
}

/* ==========================================================================
   8. Category Cards
   ========================================================================== */

.pw-cat-card {
	position: relative;
	border-radius: var(--pw-radius);
	overflow: hidden;
	aspect-ratio: 4 / 3;
	display: block;
}

.pw-cat-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.pw-cat-card::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(74, 51, 40, 0) 30%,
		rgba(74, 51, 40, 0.7) 100%
	);
	z-index: 1;
	transition: background var(--pw-transition);
}

.pw-cat-card:hover::before {
	background: linear-gradient(
		180deg,
		rgba(74, 51, 40, 0) 20%,
		rgba(74, 51, 40, 0.55) 100%
	);
}

.pw-cat-card:hover .pw-cat-card__image {
	transform: scale(1.05);
}

.pw-cat-card__content {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 20px;
	z-index: 2;
}

.pw-cat-card__title {
	font-family: 'Outfit', sans-serif;
	font-size: 1.2rem;
	font-weight: 600;
	color: var(--pw-white);
	margin-bottom: 4px;
}

.pw-cat-card__count {
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   9. Featured Slider
   ========================================================================== */

.pw-slider {
	position: relative;
}

.pw-slider__track {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-ms-overflow-style: none;
	scrollbar-width: none;
	padding-bottom: 8px;
}

.pw-slider__track::-webkit-scrollbar {
	display: none;
}

.pw-slider__slide {
	flex: 0 0 auto;
	min-width: 280px;
	width: 85vw;
	scroll-snap-align: start;
}

.pw-slider__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-70%);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background-color: var(--pw-white);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
	display: none;
	align-items: center;
	justify-content: center;
	color: var(--pw-text);
	z-index: 5;
	transition: background-color var(--pw-transition), color var(--pw-transition);
}

.pw-slider__arrow:hover {
	background-color: var(--pw-orange);
	color: var(--pw-white);
}

.pw-slider__arrow svg {
	width: 20px;
	height: 20px;
}

.pw-slider__arrow--prev {
	left: -16px;
}

.pw-slider__arrow--next {
	right: -16px;
}

.pw-slider__dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 20px;
}

.pw-slider__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: var(--pw-border);
	transition: background-color var(--pw-transition), width var(--pw-transition);
}

.pw-slider__dot--active {
	background-color: var(--pw-orange);
	width: 24px;
	border-radius: 4px;
}

@media (min-width: 768px) {
	.pw-slider__slide {
		min-width: 340px;
		width: 45vw;
	}

	.pw-slider__arrow {
		display: flex;
	}
}

@media (min-width: 1024px) {
	.pw-slider__slide {
		min-width: 380px;
		width: 32vw;
		max-width: 400px;
	}
}

/* ==========================================================================
   10. Article Grid Layouts
   ========================================================================== */

.pw-grid--2 {
	grid-template-columns: 1fr;
}

.pw-grid--3 {
	grid-template-columns: 1fr;
}

.pw-grid--4 {
	grid-template-columns: repeat(2, 1fr);
}

.pw-grid--categories {
	grid-template-columns: 1fr;
}

@media (min-width: 768px) {
	.pw-grid--2 {
		grid-template-columns: repeat(2, 1fr);
	}

	.pw-grid--3 {
		grid-template-columns: repeat(2, 1fr);
	}

	.pw-grid--4 {
		grid-template-columns: repeat(3, 1fr);
	}

	.pw-grid--categories {
		grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	}
}

@media (min-width: 1024px) {
	.pw-grid--3 {
		grid-template-columns: repeat(3, 1fr);
	}

	.pw-grid--4 {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* ==========================================================================
   11. Newsletter Section
   ========================================================================== */

.pw-newsletter {
	background-color: var(--pw-beige);
	position: relative;
	overflow: hidden;
}

.pw-newsletter::before {
	content: '';
	position: absolute;
	top: 20px;
	right: -40px;
	width: 200px;
	height: 200px;
	background-image: url('../images/paw-print.svg');
	background-repeat: no-repeat;
	background-size: contain;
	opacity: 0.04;
	transform: rotate(15deg);
	pointer-events: none;
}

.pw-newsletter::after {
	content: '';
	position: absolute;
	bottom: -20px;
	left: -30px;
	width: 160px;
	height: 160px;
	background-image: url('../images/paw-print.svg');
	background-repeat: no-repeat;
	background-size: contain;
	opacity: 0.04;
	transform: rotate(-20deg);
	pointer-events: none;
}

.pw-newsletter__inner {
	text-align: center;
	max-width: 560px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

.pw-newsletter__heading {
	font-family: 'Outfit', sans-serif;
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--pw-text);
	margin-bottom: 12px;
}

.pw-newsletter__description {
	color: var(--pw-text-light);
	margin-bottom: 28px;
	font-size: 0.95rem;
}

.pw-newsletter__form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.pw-newsletter__input {
	width: 100%;
	padding: 14px 18px;
	border: 2px solid var(--pw-border);
	border-radius: var(--pw-radius-sm);
	font-size: 1rem;
	background-color: var(--pw-white);
	outline: none;
	transition: border-color var(--pw-transition);
}

.pw-newsletter__input:focus {
	border-color: var(--pw-orange);
}

.pw-newsletter__btn {
	width: 100%;
	padding: 14px 28px;
	background-color: var(--pw-orange);
	color: var(--pw-white);
	border: none;
	border-radius: var(--pw-radius-sm);
	font-family: 'Outfit', sans-serif;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color var(--pw-transition);
}

.pw-newsletter__btn:hover {
	background-color: var(--pw-orange-hover);
}

@media (min-width: 768px) {
	.pw-newsletter__heading {
		font-size: 1.8rem;
	}

	.pw-newsletter__form {
		flex-direction: row;
		gap: 0;
	}

	.pw-newsletter__input {
		flex: 1;
		border-radius: var(--pw-radius-sm) 0 0 var(--pw-radius-sm);
		border-right: none;
	}

	.pw-newsletter__btn {
		width: auto;
		white-space: nowrap;
		border-radius: 0 var(--pw-radius-sm) var(--pw-radius-sm) 0;
	}
}

/* ==========================================================================
   12. About Section
   ========================================================================== */

.pw-about {
	background-color: var(--pw-white);
}

.pw-about__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	align-items: center;
}

.pw-about__image {
	border-radius: var(--pw-radius);
	overflow: hidden;
	aspect-ratio: 4 / 3;
}

.pw-about__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pw-about__heading {
	font-family: 'Outfit', sans-serif;
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--pw-text);
	margin-bottom: 16px;
}

.pw-about__text {
	color: var(--pw-text-light);
	line-height: 1.8;
	margin-bottom: 24px;
}

@media (min-width: 768px) {
	.pw-about__inner {
		grid-template-columns: 1fr 1fr;
		gap: 48px;
	}

	.pw-about__heading {
		font-size: 1.8rem;
	}
}

/* ==========================================================================
   13. Ad Slots
   ========================================================================== */

.pw-ad {
	text-align: center;
	margin: 30px 0;
	min-height: 90px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.pw-ad__label {
	font-size: 0.65rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--pw-text-light);
	margin-bottom: 6px;
	opacity: 0.6;
}

.pw-ad--header {
	width: 100%;
	padding: 10px 0;
	background-color: var(--pw-off-white);
}

.pw-ad--sidebar {
	margin-bottom: 30px;
}

.pw-ad--in-content {
	margin: 30px auto;
	max-width: 100%;
}

.pw-ad--footer {
	padding: 20px 0;
	background-color: var(--pw-off-white);
}

/* ==========================================================================
   14. Breadcrumbs
   ========================================================================== */

.pw-breadcrumbs {
	font-size: 0.85rem;
	color: var(--pw-text-light);
	padding: 15px 0;
	line-height: 1.5;
}

.pw-breadcrumbs a {
	color: var(--pw-orange);
	text-decoration: none;
}

.pw-breadcrumbs a:hover {
	text-decoration: underline;
}

.pw-breadcrumbs__separator {
	margin: 0 8px;
	opacity: 0.5;
}

.pw-breadcrumbs__current {
	color: var(--pw-text);
}

/* ==========================================================================
   15. Pagination
   ========================================================================== */

.pw-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 40px 0;
}

.pw-pagination a,
.pw-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border-radius: var(--pw-radius-sm);
	font-size: 0.9rem;
	font-weight: 500;
	border: 1px solid var(--pw-border);
	color: var(--pw-text);
	transition: background-color var(--pw-transition), color var(--pw-transition),
		border-color var(--pw-transition);
	text-decoration: none;
}

.pw-pagination a:hover {
	background-color: var(--pw-beige);
	border-color: var(--pw-beige);
	color: var(--pw-text);
}

.pw-pagination .current,
.pw-pagination span.current {
	background-color: var(--pw-orange);
	color: var(--pw-white);
	border-color: var(--pw-orange);
}

.pw-pagination .dots {
	border: none;
	min-width: auto;
	padding: 0 4px;
}

/* ==========================================================================
   16. Category Filter
   ========================================================================== */

.pw-filter {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	padding-bottom: 8px;
	margin-bottom: 32px;
	-ms-overflow-style: none;
	scrollbar-width: none;
	flex-wrap: nowrap;
}

.pw-filter::-webkit-scrollbar {
	display: none;
}

.pw-filter__item {
	flex: 0 0 auto;
	padding: 8px 20px;
	border-radius: 50px;
	border: 1px solid var(--pw-border);
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--pw-text);
	background: var(--pw-white);
	cursor: pointer;
	transition: background-color var(--pw-transition), color var(--pw-transition),
		border-color var(--pw-transition);
	white-space: nowrap;
	text-decoration: none;
}

.pw-filter__item:hover {
	background-color: var(--pw-beige);
}

.pw-filter__item--active {
	background-color: var(--pw-orange);
	color: var(--pw-white);
	border-color: var(--pw-orange);
}

.pw-filter__item--active:hover {
	background-color: var(--pw-orange-hover);
	border-color: var(--pw-orange-hover);
}

/* ==========================================================================
   17. Search Bar
   ========================================================================== */

.pw-search__form {
	display: flex;
	max-width: 500px;
	margin: 0 auto;
}

.pw-search__input {
	flex: 1;
	padding: 12px 18px;
	border: 2px solid var(--pw-border);
	border-right: none;
	border-radius: var(--pw-radius-sm) 0 0 var(--pw-radius-sm);
	font-size: 0.95rem;
	outline: none;
	background: var(--pw-white);
	transition: border-color var(--pw-transition);
}

.pw-search__input:focus {
	border-color: var(--pw-orange);
}

.pw-search__btn {
	padding: 12px 18px;
	background-color: var(--pw-orange);
	color: var(--pw-white);
	border: none;
	border-radius: 0 var(--pw-radius-sm) var(--pw-radius-sm) 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color var(--pw-transition);
	cursor: pointer;
}

.pw-search__btn:hover {
	background-color: var(--pw-orange-hover);
}

.pw-search__btn svg {
	width: 18px;
	height: 18px;
}

/* ==========================================================================
   18. Footer
   ========================================================================== */

.pw-footer {
	background-color: var(--pw-brown-dark);
	color: rgba(255, 255, 255, 0.85);
	padding-top: 60px;
	position: relative;
	overflow: hidden;
}

.pw-footer::before {
	content: '';
	position: absolute;
	top: 40px;
	right: -60px;
	width: 280px;
	height: 280px;
	background-image: url('../images/paw-print.svg');
	background-repeat: no-repeat;
	background-size: contain;
	opacity: 0.03;
	transform: rotate(20deg);
	pointer-events: none;
}

.pw-footer__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 36px;
}

.pw-footer__heading {
	font-family: 'Outfit', sans-serif;
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--pw-white);
	margin-bottom: 20px;
	padding-bottom: 12px;
	position: relative;
}

.pw-footer__heading::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 30px;
	height: 3px;
	background-color: var(--pw-orange);
	border-radius: 2px;
}

.pw-footer__text {
	font-size: 0.9rem;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.7);
}

.pw-footer__links {
	list-style: none;
}

.pw-footer__links li {
	margin-bottom: 10px;
}

.pw-footer__links a {
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.9rem;
	transition: color var(--pw-transition), padding-left var(--pw-transition);
	display: inline-block;
}

.pw-footer__links a:hover {
	color: var(--pw-orange);
	padding-left: 4px;
}

.pw-footer__social {
	display: flex;
	gap: 12px;
}

.pw-footer__social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.8);
	transition: background-color var(--pw-transition), color var(--pw-transition);
}

.pw-footer__social a:hover {
	background-color: var(--pw-orange);
	color: var(--pw-white);
}

.pw-footer__social svg {
	width: 18px;
	height: 18px;
}

.pw-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 20px 0;
	margin-top: 48px;
	font-size: 0.85rem;
	text-align: center;
	color: rgba(255, 255, 255, 0.5);
}

.pw-footer__bottom a {
	color: rgba(255, 255, 255, 0.6);
}

.pw-footer__bottom a:hover {
	color: var(--pw-orange);
}

@media (min-width: 768px) {
	.pw-footer__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.pw-footer {
		padding-top: 80px;
	}

	.pw-footer__grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* ==========================================================================
   19. Blog Page
   ========================================================================== */

.pw-blog__header {
	padding: 32px 0;
	text-align: center;
}

.pw-blog__header .pw-section__heading {
	margin-bottom: 24px;
}

/* ==========================================================================
   20. Search Results
   ========================================================================== */

.pw-search-header {
	padding: 32px 0;
	text-align: center;
}

.pw-search-header__title {
	font-family: 'Outfit', sans-serif;
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--pw-text);
	margin-bottom: 8px;
}

.pw-search-header__query {
	color: var(--pw-orange);
}

.pw-search-header__count {
	font-size: 0.9rem;
	color: var(--pw-text-light);
}

/* ==========================================================================
   21. 404 Page
   ========================================================================== */

.pw-404 {
	text-align: center;
	padding: 80px 20px;
	position: relative;
}

.pw-404::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 300px;
	height: 300px;
	background-image: url('../images/paw-print.svg');
	background-repeat: no-repeat;
	background-size: contain;
	opacity: 0.05;
	pointer-events: none;
}

.pw-404__title {
	font-family: 'Outfit', sans-serif;
	font-size: 5rem;
	font-weight: 700;
	color: var(--pw-beige);
	line-height: 1;
	margin-bottom: 16px;
	position: relative;
}

.pw-404__heading {
	font-family: 'Outfit', sans-serif;
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--pw-text);
	margin-bottom: 12px;
	position: relative;
}

.pw-404__description {
	color: var(--pw-text-light);
	margin-bottom: 32px;
	max-width: 480px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
}

.pw-404__search {
	max-width: 440px;
	margin: 0 auto 40px;
	position: relative;
}

.pw-404__suggested {
	position: relative;
}

@media (min-width: 768px) {
	.pw-404 {
		padding: 120px 20px;
	}

	.pw-404__title {
		font-size: 8rem;
	}

	.pw-404__heading {
		font-size: 1.8rem;
	}
}

/* ==========================================================================
   22. Legal Pages
   ========================================================================== */

.pw-legal {
	max-width: var(--pw-reading-width);
	margin: 0 auto;
	padding: 40px 20px 80px;
}

.pw-legal h1 {
	font-size: 2rem;
	margin-bottom: 24px;
}

.pw-legal h2 {
	font-size: 1.4rem;
	margin-top: 2em;
	margin-bottom: 0.5em;
	padding-top: 1em;
	border-top: 1px solid var(--pw-border);
}

.pw-legal h3 {
	font-size: 1.15rem;
	margin-top: 1.5em;
	margin-bottom: 0.5em;
}

.pw-legal p {
	line-height: 1.8;
	margin-bottom: 1.2em;
	color: var(--pw-text-light);
}

.pw-legal ul,
.pw-legal ol {
	margin: 1em 0;
	padding-left: 1.5em;
	list-style: disc;
}

.pw-legal li {
	margin-bottom: 0.5em;
	color: var(--pw-text-light);
	line-height: 1.7;
}

.pw-legal a {
	color: var(--pw-orange);
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* ==========================================================================
   23. Sidebar Widgets
   ========================================================================== */

.pw-sidebar .widget {
	margin-bottom: 36px;
}

.pw-sidebar .widget-title {
	font-family: 'Outfit', sans-serif;
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--pw-text);
	margin-bottom: 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--pw-beige);
}

.pw-sidebar .widget ul {
	list-style: none;
}

.pw-sidebar .widget li {
	margin-bottom: 8px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--pw-border);
}

.pw-sidebar .widget li:last-child {
	border-bottom: none;
}

.pw-sidebar .widget a {
	color: var(--pw-text);
	font-size: 0.9rem;
}

.pw-sidebar .widget a:hover {
	color: var(--pw-orange);
}

/* ==========================================================================
   24. Utility Classes
   ========================================================================== */

/* Screen reader only */
.pw-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Text alignment */
.pw-text-center { text-align: center; }
.pw-text-left { text-align: left; }
.pw-text-right { text-align: right; }

/* Margins */
.pw-mt-1 { margin-top: 10px; }
.pw-mt-2 { margin-top: 20px; }
.pw-mt-3 { margin-top: 30px; }
.pw-mt-4 { margin-top: 40px; }
.pw-mt-5 { margin-top: 50px; }

.pw-mb-1 { margin-bottom: 10px; }
.pw-mb-2 { margin-bottom: 20px; }
.pw-mb-3 { margin-bottom: 30px; }
.pw-mb-4 { margin-bottom: 40px; }
.pw-mb-5 { margin-bottom: 50px; }

/* Responsive visibility */
.pw-hidden-desktop {
	display: block;
}

.pw-hidden-mobile {
	display: none;
}

@media (min-width: 768px) {
	.pw-hidden-mobile {
		display: block;
	}

	.pw-hidden-desktop {
		display: none;
	}
}

/* Paw decoration */
.pw-paw-decoration {
	position: relative;
}

.pw-paw-decoration::before {
	content: '';
	position: absolute;
	top: -20px;
	right: -20px;
	width: 80px;
	height: 80px;
	background-image: url('../images/paw-print.svg');
	background-repeat: no-repeat;
	background-size: contain;
	opacity: 0.06;
	pointer-events: none;
}

/* ==========================================================================
   25. Animations
   ========================================================================== */

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

.pw-animate {
	animation: fadeInUp 0.6s ease forwards;
}

/* Scroll reveal */
.pw-reveal {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.pw-reveal--visible {
	opacity: 1;
	transform: translateY(0);
}

/* Staggered reveals */
.pw-reveal:nth-child(2) { transition-delay: 0.1s; }
.pw-reveal:nth-child(3) { transition-delay: 0.2s; }
.pw-reveal:nth-child(4) { transition-delay: 0.3s; }

/* ==========================================================================
   26. Print Styles
   ========================================================================== */

@media print {
	.pw-header,
	.pw-footer,
	.pw-sidebar,
	.pw-ad,
	.pw-share,
	.pw-mobile-menu,
	.pw-mobile-menu__overlay,
	.pw-header__search-overlay,
	.pw-pagination,
	.pw-newsletter,
	.pw-related,
	.pw-filter,
	.pw-hero__btn,
	.pw-post-nav,
	.pw-toc,
	.pw-breadcrumbs,
	.pw-header-spacer {
		display: none !important;
	}

	body {
		font-size: 12pt;
		line-height: 1.5;
		color: #000;
		background: #fff;
	}

	a {
		color: #000;
		text-decoration: underline;
	}

	img {
		max-width: 100% !important;
	}

	.pw-post-content {
		max-width: 100%;
	}

	h1, h2, h3 {
		page-break-after: avoid;
	}

	p, li {
		orphans: 3;
		widows: 3;
	}
}
