/* OutdoorsPapa homepage — contemporary editorial layout */

.opapa-home {
	max-width: var(--opapa-max, 1160px);
	margin: 0 auto;
	padding: 0 20px 56px;
	font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--opapa-text, #1e2e2b);
}

/* ---- Full-bleed hero ---- */

.opapa-hero-wrap {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	margin-bottom: 0;
}

.home .post-content.box.mark-links {
	overflow: visible;
}

/* ---- Hero ---- */

.opapa-hero {
	position: relative;
	background-image:
		linear-gradient(120deg, rgba(33, 56, 51, 0.93) 0%, rgba(47, 74, 68, 0.85) 50%, rgba(83, 107, 102, 0.7) 100%),
		url('https://outdoorspapa.com/wp-content/uploads/2024/08/Hot-Shower-When-Camping.jpg');
	background-size: cover;
	background-position: center 35%;
	color: #fff;
	padding: 100px 40px;
	border-radius: 0;
	margin: 0;
	text-align: center;
	min-height: 480px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: none;
}

.opapa-hero-inner {
	max-width: 680px;
}

.opapa-hero-eyebrow {
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: rgba(255, 255, 255, 0.88);
	margin: 0 0 16px;
	padding: 6px 14px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 999px;
}

.opapa-hero h1 {
	color: #fff;
	font-size: clamp(1.85rem, 4vw, 2.75rem);
	font-weight: 700;
	margin: 0 0 16px;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.opapa-hero-lead {
	font-size: clamp(1rem, 2vw, 1.15rem);
	margin: 0 0 28px;
	opacity: 0.94;
	line-height: 1.6;
	max-width: 560px;
	margin-left: auto;
	margin-right: auto;
}

.opapa-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
}

/* ---- Trust bar ---- */

.opapa-trust-bar {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 0;
	background: var(--opapa-surface, #fff);
	border: 1px solid var(--opapa-border, #e2e8e6);
	border-radius: var(--opapa-radius, 10px);
	margin: -28px auto 40px;
	position: relative;
	z-index: 2;
	box-shadow: var(--opapa-shadow, 0 2px 16px rgba(33, 56, 51, 0.07));
	max-width: 960px;
	overflow: hidden;
}

.opapa-trust-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 18px 20px;
	font-size: 0.85rem;
	color: var(--opapa-muted, #5c736e);
	line-height: 1.4;
	border-right: 1px solid var(--opapa-border, #e2e8e6);
}

.opapa-trust-item:last-child {
	border-right: none;
}

.opapa-trust-icon {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	background: rgba(188, 39, 44, 0.12);
	color: var(--opapa-accent, #bc272c);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.7rem;
	font-weight: 700;
	margin-top: 1px;
}

.opapa-trust-item strong {
	display: block;
	color: var(--opapa-forest, #213833);
	font-size: 0.88rem;
	margin-bottom: 2px;
}

/* ---- Sections ---- */

.opapa-section {
	margin-bottom: 48px;
}

.opapa-section-alt {
	background: var(--opapa-surface, #fff);
	border: 1px solid var(--opapa-border, #e2e8e6);
	border-radius: var(--opapa-radius, 10px);
	padding: 36px 32px;
	box-shadow: var(--opapa-shadow, 0 2px 16px rgba(33, 56, 51, 0.07));
}

.opapa-section-head {
	margin-bottom: 24px;
}

.opapa-section-title {
	font-size: clamp(1.25rem, 2.5vw, 1.5rem);
	font-weight: 700;
	color: var(--opapa-forest, #213833);
	margin: 0 0 6px;
	padding: 0;
	border: none;
	letter-spacing: -0.01em;
}

.opapa-section-sub {
	margin: 0;
	font-size: 0.95rem;
	color: var(--opapa-muted, #5c736e);
	line-height: 1.5;
}

.opapa-section-cta {
	text-align: center;
	margin-top: 28px;
}

/* ---- Buttons ---- */

.opapa-btn {
	display: inline-block;
	background: var(--opapa-accent, #bc272c);
	color: #fff !important;
	padding: 13px 26px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	border: 2px solid var(--opapa-accent, #bc272c);
	cursor: pointer;
	font-family: inherit;
	font-size: 0.92rem;
	line-height: 1.2;
	transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.opapa-btn:hover {
	background: var(--opapa-accent-hover, #9a2024);
	border-color: var(--opapa-accent-hover, #9a2024);
	color: #fff !important;
	transform: translateY(-1px);
}

.opapa-btn-secondary {
	background: transparent;
	border: 2px solid rgba(255, 255, 255, 0.85);
}

.opapa-btn-secondary:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: #fff;
}

.opapa-btn-outline {
	background: transparent;
	color: var(--opapa-accent, #bc272c) !important;
	border-color: var(--opapa-accent, #bc272c);
}

.opapa-btn-outline:hover {
	background: var(--opapa-accent, #bc272c);
	color: #fff !important;
}

/* ---- Category grid ---- */

.opapa-cat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
	gap: 14px;
}

.opapa-cat-card {
	display: flex;
	flex-direction: column;
	background: var(--opapa-surface, #fff);
	border: 1px solid var(--opapa-border, #e2e8e6);
	padding: 20px 18px;
	text-decoration: none;
	color: var(--opapa-forest, #213833) !important;
	font-weight: 700;
	font-size: 0.95rem;
	border-radius: var(--opapa-radius, 10px);
	transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.opapa-cat-card:hover {
	border-color: var(--opapa-accent, #bc272c);
	box-shadow: var(--opapa-shadow, 0 2px 16px rgba(33, 56, 51, 0.1));
	transform: translateY(-2px);
	color: var(--opapa-forest, #213833) !important;
}

.opapa-cat-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: rgba(188, 39, 44, 0.1);
	color: var(--opapa-accent, #bc272c);
	font-size: 1rem;
	font-weight: 800;
	border-radius: 10px;
	margin-bottom: 12px;
	line-height: 1;
	letter-spacing: -0.02em;
}

.opapa-cat-icon-sm {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0;
}

.opapa-cat-count {
	display: block;
	font-size: 0.78rem;
	font-weight: 500;
	color: var(--opapa-muted, #5c736e);
	margin-top: 6px;
}

/* ---- Featured grid ---- */

.opapa-featured-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 24px;
}

.opapa-featured-card {
	border: 1px solid var(--opapa-border, #e2e8e6);
	border-radius: var(--opapa-radius, 10px);
	overflow: hidden;
	background: var(--opapa-bg, #f4f6f5);
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.2s, transform 0.15s;
}

.opapa-featured-card:hover {
	box-shadow: var(--opapa-shadow-lg, 0 8px 32px rgba(33, 56, 51, 0.12));
	transform: translateY(-3px);
}

.opapa-featured-thumb {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: var(--opapa-border, #e2e8e6);
}

.opapa-featured-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.opapa-featured-card:hover .opapa-featured-thumb img {
	transform: scale(1.05);
}

.opapa-featured-body {
	padding: 18px 20px 22px;
	flex: 1;
	display: flex;
	flex-direction: column;
	background: var(--opapa-surface, #fff);
}

.opapa-featured-label {
	display: inline-block;
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--opapa-accent, #bc272c);
	margin-bottom: 8px;
}

.opapa-featured-card h3 {
	font-size: 1rem;
	font-weight: 700;
	margin: 0 0 8px;
	line-height: 1.35;
}

.opapa-featured-card h3 a {
	color: var(--opapa-forest, #213833);
	text-decoration: none;
}

.opapa-featured-card h3 a:hover {
	color: var(--opapa-accent, #bc272c);
}

.opapa-featured-card p {
	font-size: 0.88rem;
	color: var(--opapa-muted, #5c736e);
	margin: 0 0 14px;
	line-height: 1.55;
	flex: 1;
}

.opapa-featured-card .opapa-read {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--opapa-accent, #bc272c);
	text-decoration: none;
	margin-top: auto;
}

.opapa-featured-card .opapa-read:hover {
	text-decoration: underline;
}

/* ---- Latest posts (homepage) ---- */

.opapa-latest-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 20px;
}

.opapa-latest-card {
	background: var(--opapa-surface, #fff);
	border: 1px solid var(--opapa-border, #e2e8e6);
	border-radius: var(--opapa-radius, 10px);
	overflow: hidden;
	transition: box-shadow 0.2s, transform 0.15s;
}

.opapa-latest-card:hover {
	box-shadow: var(--opapa-shadow-lg, 0 8px 32px rgba(33, 56, 51, 0.12));
	transform: translateY(-2px);
}

.opapa-latest-thumb {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--opapa-border, #e2e8e6);
}

.opapa-latest-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s;
}

.opapa-latest-card:hover .opapa-latest-thumb img {
	transform: scale(1.04);
}

.opapa-latest-body {
	padding: 16px 18px 18px;
}

.opapa-latest-date {
	display: block;
	font-size: 0.75rem;
	color: var(--opapa-muted, #5c736e);
	margin-bottom: 6px;
	font-weight: 500;
}

.opapa-latest-body h3 {
	font-size: 0.95rem;
	font-weight: 700;
	margin: 0 0 8px;
	line-height: 1.35;
}

.opapa-latest-body h3 a {
	color: var(--opapa-forest, #213833);
	text-decoration: none;
}

.opapa-latest-body h3 a:hover {
	color: var(--opapa-accent, #bc272c);
}

.opapa-latest-body p {
	font-size: 0.85rem;
	color: var(--opapa-muted, #5c736e);
	margin: 0;
	line-height: 1.5;
}

/* ---- Trust pillars ---- */

.opapa-pillars {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
	margin-bottom: 48px;
}

.opapa-pillar {
	background: var(--opapa-surface, #fff);
	border: 1px solid var(--opapa-border, #e2e8e6);
	border-radius: var(--opapa-radius, 10px);
	padding: 28px 24px;
	box-shadow: var(--opapa-shadow, 0 2px 16px rgba(33, 56, 51, 0.07));
}

.opapa-pillar h3 {
	margin: 0 0 10px;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--opapa-forest, #213833);
}

.opapa-pillar p {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.6;
	color: var(--opapa-muted, #5c736e);
}

.opapa-pillar a {
	color: var(--opapa-accent, #bc272c);
	font-weight: 600;
	text-decoration: none;
}

.opapa-pillar a:hover {
	text-decoration: underline;
}

/* ---- Email signup ---- */

.opapa-signup {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 28px;
	background: var(--opapa-forest, #213833);
	color: #fff;
	padding: 40px 36px;
	border-radius: var(--opapa-radius, 10px);
	box-shadow: var(--opapa-shadow-lg, 0 8px 32px rgba(33, 56, 51, 0.18));
}

.opapa-signup-text {
	flex: 1 1 280px;
}

.opapa-signup h2 {
	margin: 0 0 8px;
	font-size: 1.35rem;
	font-weight: 700;
	color: #fff;
}

.opapa-signup p {
	margin: 0;
	opacity: 0.88;
	line-height: 1.55;
	font-size: 0.92rem;
}

.opapa-signup-form {
	flex: 1 1 300px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.opapa-signup-form input[type="email"] {
	flex: 1 1 200px;
	padding: 13px 16px;
	border: none;
	border-radius: 8px;
	font-size: 0.92rem;
	font-family: inherit;
	min-width: 0;
}

.opapa-signup-form .opapa-hp {
	display: none !important;
}

.opapa-signup-note {
	margin: 10px 0 0;
	font-size: 0.78rem;
	color: rgba(255, 255, 255, 0.82);
	line-height: 1.45;
}

.opapa-signup-notice {
	background: #e8f5e9;
	color: #2e7d32;
	padding: 14px 18px;
	border-radius: 8px;
	margin-bottom: 24px;
	font-weight: 600;
	font-size: 0.92rem;
}

/* ---- Responsive ---- */

@media (max-width: 768px) {
	.opapa-home {
		padding: 0 16px 40px;
	}

	.opapa-hero-wrap {
		margin-left: calc(50% - 50vw);
		margin-right: calc(50% - 50vw);
	}

	.opapa-hero {
		padding: 64px 24px;
		min-height: 360px;
	}

	.opapa-trust-bar {
		margin: -20px 0 32px;
		grid-template-columns: 1fr 1fr;
	}

	.opapa-trust-item {
		border-right: none;
		border-bottom: 1px solid var(--opapa-border, #e2e8e6);
		padding: 14px 16px;
	}

	.opapa-trust-item:nth-child(odd) {
		border-right: 1px solid var(--opapa-border, #e2e8e6);
	}

	.opapa-section-alt {
		padding: 24px 18px;
		margin-left: -16px;
		margin-right: -16px;
		border-radius: 0;
		border-left: none;
		border-right: none;
	}

	.opapa-signup {
		padding: 28px 22px;
		flex-direction: column;
		align-items: stretch;
	}

	.opapa-signup-form {
		flex-direction: column;
		align-items: stretch;
	}

	.opapa-signup-form input[type="email"],
	.opapa-signup-form .opapa-btn {
		width: 100%;
	}
}

@media (max-width: 480px) {
	.opapa-trust-bar {
		grid-template-columns: 1fr;
	}

	.opapa-trust-item:nth-child(odd) {
		border-right: none;
	}
}
