/*
Theme Name: Affiliate Digest
Theme URI: https://example.com/affiliate-digest
Author: WebsiteMX
Author URI: https://example.com/
Description: A polished editorial WordPress review theme for affiliate digest websites.
Version: 1.4.9
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: affiliate-digest
Tags: blog, custom-logo, featured-images, editor-style, one-column, two-columns
*/

:root {
	--ad-bg: #f7f8f5;
	--ad-paper: #fffefd;
	--ad-text: #181513;
	--ad-muted: #68635b;
	--ad-soft: #edf2ee;
	--ad-line: #ded8cf;
	--ad-accent: #b94d2f;
	--ad-accent-dark: #7f2d22;
	--ad-highlight: #12665b;
	--ad-highlight-soft: #e1f0ec;
	--ad-max-width: 1160px;
	--ad-radius: 8px;
	--ad-shadow: 0 18px 45px rgba(24, 21, 19, 0.1);
	--ad-shadow-soft: 0 10px 28px rgba(24, 21, 19, 0.08);
}

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

html {
	font-size: 16px;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--ad-bg);
	color: var(--ad-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 1rem;
	line-height: 1.65;
	text-rendering: optimizeLegibility;
}

::selection {
	background: var(--ad-highlight-soft);
	color: var(--ad-text);
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration-color: var(--ad-accent);
	text-decoration-thickness: 2px;
	text-underline-offset: 0.2em;
}

a:hover,
a:focus {
	color: var(--ad-accent);
}

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

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	position: static;
	width: auto;
	height: auto;
	padding: 0.5rem 0.75rem;
	margin: 0.5rem;
	clip: auto;
	background: var(--ad-text);
	color: #ffffff;
	z-index: 100000;
}

.site-wrap {
	width: min(var(--ad-max-width), calc(100% - 2rem));
	margin: 0 auto;
}

.site-header {
	position: relative;
	border-bottom: 1px solid var(--ad-line);
	background: var(--ad-paper);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9), 0 14px 30px rgba(24, 21, 19, 0.04);
}

.site-header::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 5px;
	background: linear-gradient(90deg, var(--ad-accent) 0%, var(--ad-highlight) 100%);
	content: "";
}

.site-topline {
	border-bottom: 1px solid var(--ad-line);
	background: var(--ad-text);
	color: #eee8df;
	font-size: 0.875rem;
	font-weight: 700;
}

.site-topline .site-wrap {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.65rem 0;
	letter-spacing: 0;
	line-height: 1.25;
	text-transform: uppercase;
}

.site-topline-date,
.site-topline-note {
	display: inline-flex;
}

.site-branding {
	padding: clamp(2.25rem, 5vw, 4.25rem) 0 clamp(2rem, 4vw, 3rem);
	text-align: center;
}

.custom-logo-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.custom-logo {
	max-height: 88px;
	width: auto;
}

.site-title {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2.55rem, 7vw, 4.85rem);
	line-height: 1.05;
	font-weight: 700;
}

.site-title a {
	text-decoration: none;
}

.site-title a:hover,
.site-title a:focus {
	color: var(--ad-text);
}

.site-description {
	margin: 0.9rem auto 0;
	max-width: 43rem;
	color: var(--ad-muted);
	font-size: 1.05rem;
	font-weight: 600;
}

.primary-navigation {
	border-top: 1px solid var(--ad-line);
	background: rgba(255, 254, 253, 0.92);
}

.primary-navigation .menu,
.footer-navigation .menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.2rem 1.1rem;
	padding: 0;
	margin: 0;
	list-style: none;
}

.primary-navigation .menu {
	padding: 1.05rem 0;
}

.primary-navigation a,
.footer-navigation a {
	display: inline-block;
	padding: 0.32rem 0;
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.3;
	text-decoration: none;
	text-transform: uppercase;
}

.primary-navigation .sub-menu,
.footer-navigation .sub-menu {
	display: none;
}

.primary-navigation .current-menu-item > a,
.primary-navigation .current_page_item > a,
.primary-navigation .current-cat > a {
	color: var(--ad-accent);
}

.primary-navigation a:hover,
.primary-navigation a:focus,
.footer-navigation a:hover,
.footer-navigation a:focus {
	color: var(--ad-accent);
}

.site-main {
	padding: clamp(2.25rem, 4vw, 3.25rem) 0 4rem;
}

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

.section-header h1,
.section-header h2 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.9rem, 4vw, 2.55rem);
	line-height: 1.2;
}

.section-header p {
	max-width: 42rem;
	margin: 0.7rem auto 0;
	color: var(--ad-muted);
}

.featured-review {
	position: relative;
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(1.2rem, 3vw, 2.2rem);
	align-items: center;
	margin-bottom: clamp(2.6rem, 6vw, 4.5rem);
	padding: clamp(1rem, 3vw, 2rem);
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--ad-radius);
	background: var(--ad-text);
	color: #fffefd;
	box-shadow: var(--ad-shadow);
}

.featured-review::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 6px;
	background: linear-gradient(90deg, var(--ad-accent), var(--ad-highlight));
	content: "";
}

.featured-review-media {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	padding: clamp(0.45rem, 1.4vw, 0.8rem);
	background: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: var(--ad-radius);
	box-shadow: 0 12px 34px rgba(0, 0, 0, 0.2);
}

.featured-review-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.featured-review-content {
	order: -1;
	max-width: 40rem;
}

.eyebrow,
.post-meta,
.post-card-meta {
	color: var(--ad-muted);
	font-size: 0.875rem;
	font-weight: 800;
	line-height: 1.45;
	text-transform: uppercase;
}

.eyebrow a,
.post-meta a,
.post-card-meta a {
	color: var(--ad-text);
	text-decoration: none;
}

.featured-review .eyebrow,
.featured-review .post-meta {
	color: #d7d0c6;
}

.featured-review .eyebrow a,
.featured-review .post-meta a {
	color: #fffefd;
}

.featured-review .eyebrow a:hover,
.featured-review .post-meta a:hover,
.featured-review .eyebrow a:focus,
.featured-review .post-meta a:focus {
	color: #f4b29e;
}

.featured-review h2,
.entry-title,
.post-card-title {
	margin: 0.5rem 0 0.7rem;
	font-family: Georgia, "Times New Roman", serif;
	line-height: 1.22;
}

.featured-review h2 {
	font-size: clamp(2rem, 5vw, 3.35rem);
	line-height: 1.08;
}

.entry-title {
	font-size: clamp(2.2rem, 5vw, 3.25rem);
}

.post-card-title {
	font-size: 1.42rem;
}

.post-card-title a,
.featured-review h2 a,
.entry-title a {
	text-decoration: none;
}

.featured-review h2 a:hover,
.featured-review h2 a:focus {
	color: #fffefd;
}

.featured-review-content p {
	color: #eee8df;
	font-size: 1.05rem;
}

.read-more,
.button,
.affiliate-digest-cta,
.wp-block-button__link,
input[type="submit"],
button[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	max-width: 100%;
	padding: 0.72rem 1.05rem;
	border: 1px solid var(--ad-accent);
	border-radius: var(--ad-radius);
	background: var(--ad-accent);
	color: #ffffff;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	overflow-wrap: anywhere;
	box-shadow: 0 8px 18px rgba(185, 77, 47, 0.18);
	cursor: pointer;
	transition: background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.featured-review .read-more {
	background: #fffefd;
	border-color: #fffefd;
	color: var(--ad-text);
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.read-more:hover,
.button:hover,
.affiliate-digest-cta:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
	background: var(--ad-text);
	border-color: var(--ad-text);
	color: #ffffff;
	box-shadow: 0 10px 24px rgba(24, 21, 19, 0.16);
	transform: translateY(-1px);
}

.featured-review .read-more:hover,
.featured-review .read-more:focus {
	background: var(--ad-accent);
	border-color: var(--ad-accent);
	color: #ffffff;
}

.posts-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.4rem;
}

.post-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 100%;
	border: 1px solid var(--ad-line);
	border-radius: var(--ad-radius);
	background: var(--ad-paper);
	overflow: hidden;
	box-shadow: var(--ad-shadow-soft);
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.post-card::before {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	height: 4px;
	background: linear-gradient(90deg, var(--ad-accent), var(--ad-highlight));
	content: "";
}

.post-card:hover,
.post-card:focus-within {
	border-color: #cfc5b8;
	box-shadow: 0 18px 40px rgba(24, 21, 19, 0.12);
	transform: translateY(-2px);
}

.post-card-thumb {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: #ffffff;
	border-bottom: 1px solid var(--ad-line);
	text-decoration: none;
}

.post-card-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.post-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 1.15rem;
}

.post-card-body p {
	margin: 0.15rem 0 1rem;
	color: var(--ad-muted);
}

.post-card .read-more {
	align-self: flex-start;
	margin-top: auto;
}

.section-footer {
	margin: 1.35rem 0 0;
	text-align: center;
}

.posts-grid > .post-card,
.related-grid > .post-card,
.newsletter-band,
.site-footer {
	content-visibility: auto;
	contain-intrinsic-size: auto 360px;
}

.newsletter-band {
	margin-top: clamp(3rem, 6vw, 4.5rem);
	padding: clamp(2.4rem, 5vw, 3.5rem) 0;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	background: var(--ad-text);
	color: #fffefd;
}

.newsletter-inner {
	display: grid;
	gap: 1.4rem;
	align-items: center;
}

.newsletter-inner h2 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.8rem, 4vw, 2.5rem);
	line-height: 1.2;
}

.newsletter-inner p {
	margin: 0.3rem 0 0;
	color: #d7d0c6;
}

.newsletter-form {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.65rem;
}

.newsletter-form input[type="email"],
.search-form input[type="search"],
.contact-form input,
.contact-form textarea,
.comment-form input,
.comment-form textarea {
	width: 100%;
	min-height: 44px;
	padding: 0.72rem 0.85rem;
	border: 1px solid var(--ad-line);
	border-radius: var(--ad-radius);
	background: #ffffff;
	color: var(--ad-text);
}

.newsletter-form input[type="email"] {
	border-color: rgba(255, 255, 255, 0.28);
}

.newsletter-form input[type="email"]:focus,
.search-form input[type="search"]:focus,
.contact-form input:focus,
.contact-form textarea:focus,
.comment-form input:focus,
.comment-form textarea:focus {
	outline: 3px solid rgba(18, 102, 91, 0.18);
	border-color: var(--ad-highlight);
}

.archive-header,
.page-header,
.search-header,
.not-found {
	max-width: 760px;
	margin: 0 auto 2.4rem;
	padding: 0 0 1.45rem;
	border-bottom: 1px solid var(--ad-line);
	text-align: center;
}

.archive-header h1,
.page-header h1,
.search-header h1,
.not-found h1 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2.1rem, 5vw, 3rem);
	line-height: 1.18;
}

.archive-description,
.page-header p,
.not-found p {
	color: var(--ad-muted);
}

.single-layout,
.page-layout {
	max-width: 800px;
	margin: 0 auto;
}

.entry-header {
	margin-bottom: 1.7rem;
	padding-bottom: 1.35rem;
	border-bottom: 1px solid var(--ad-line);
	text-align: center;
}

.entry-featured-image {
	margin: 1.5rem 0 2rem;
	overflow: hidden;
	border: 1px solid var(--ad-line);
	border-radius: var(--ad-radius);
	background: #ffffff;
	box-shadow: var(--ad-shadow-soft);
}

.entry-featured-image img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 560px;
	object-fit: contain;
}

.entry-content {
	font-size: 1.05rem;
	overflow-wrap: break-word;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-top: 2rem;
	line-height: 1.25;
}

.entry-content h2 {
	font-family: Georgia, "Times New Roman", serif;
}

.entry-content p,
.entry-content ul,
.entry-content ol {
	margin-bottom: 1.15rem;
}

.entry-content blockquote {
	margin: 1.5rem 0;
	padding: 1rem 1.2rem;
	border-left: 4px solid var(--ad-accent);
	border-radius: 0 var(--ad-radius) var(--ad-radius) 0;
	background: var(--ad-paper);
	color: var(--ad-text);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.2rem;
	box-shadow: var(--ad-shadow-soft);
}

.entry-content img,
.entry-content figure,
.entry-content .wp-block-image,
.entry-content .wp-caption,
.entry-content .gallery,
.entry-content video,
.entry-content iframe,
.entry-content embed,
.entry-content object {
	max-width: 100%;
}

.entry-content img {
	height: auto;
}

.entry-content figure,
.entry-content .wp-block-image,
.entry-content .wp-caption {
	margin-left: 0;
	margin-right: 0;
}

.entry-content .alignleft,
.entry-content .alignright,
.entry-content .aligncenter,
.entry-content .alignwide,
.entry-content .alignfull {
	max-width: 100%;
}

.entry-content .aligncenter,
.entry-content .alignwide,
.entry-content .alignfull {
	margin-left: auto;
	margin-right: auto;
}

.entry-content .wp-caption-text,
.entry-content figcaption {
	margin-top: 0.55rem;
	color: var(--ad-muted);
	font-size: 0.9rem;
	line-height: 1.45;
	text-align: center;
}

.review-disclosure,
.review-summary,
.pros-cons,
.final-verdict,
.sources-verification,
.source-section,
.related-posts {
	margin-top: 2.2rem;
	padding-top: 1.7rem;
	border-top: 1px solid var(--ad-line);
}

.review-summary-box {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	padding: clamp(1rem, 3vw, 1.35rem);
	border: 1px solid var(--ad-line);
	border-radius: var(--ad-radius);
	background: var(--ad-paper);
	box-shadow: var(--ad-shadow-soft);
}

.review-summary-box.no-image {
	grid-template-columns: 1fr;
}

.review-summary-image img {
	width: 100%;
	background: #ffffff;
	border-radius: calc(var(--ad-radius) - 2px);
	aspect-ratio: 4 / 3;
	object-fit: contain;
}

.review-summary h2,
.pros-cons h2,
.final-verdict h2,
.source-section h2,
.related-posts h2 {
	margin: 0 0 0.8rem;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.45rem;
	line-height: 1.25;
}

.review-disclosure,
.sources-verification,
.source-section {
	color: var(--ad-muted);
	font-size: 0.95rem;
}

.review-disclosure {
	margin-top: 0;
	padding: 1rem;
	border: 1px solid var(--ad-line);
	border-radius: var(--ad-radius);
	background: var(--ad-highlight-soft);
	color: var(--ad-text);
}

.review-disclosure p,
.sources-verification p,
.source-section p {
	margin-top: 0;
}

.secondary-cta {
	background: #ffffff;
	color: var(--ad-accent);
}

.secondary-cta:hover,
.secondary-cta:focus {
	background: var(--ad-text);
	border-color: var(--ad-text);
	color: #ffffff;
}

.review-details {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.5rem;
	margin: 0.8rem 0 1rem;
}

.review-detail {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding-bottom: 0.45rem;
	border-bottom: 1px solid var(--ad-line);
}

.review-detail span:first-child {
	color: var(--ad-muted);
	font-weight: 700;
}

.affiliate-disclosure {
	color: var(--ad-muted);
	font-size: 0.95rem;
}

.pros-cons-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.2rem;
}

.pros-cons-grid > * {
	padding: 1rem;
	border: 1px solid var(--ad-line);
	border-radius: var(--ad-radius);
	background: var(--ad-paper);
}

.pros-cons h3 {
	margin: 0 0 0.6rem;
	font-size: 1rem;
	text-transform: uppercase;
}

.pros-cons ul {
	margin: 0;
	padding-left: 1.2rem;
}

.pros-cons li + li {
	margin-top: 0.35rem;
}

.final-verdict {
	font-size: 1.05rem;
}

.final-verdict,
.source-section,
.sources-verification {
	padding-right: 1rem;
	padding-bottom: 1rem;
	padding-left: 1rem;
	border-right: 1px solid var(--ad-line);
	border-left: 1px solid var(--ad-line);
	border-radius: var(--ad-radius);
	background: var(--ad-paper);
}

.related-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

.pagination,
.posts-navigation,
.post-navigation {
	margin-top: 2rem;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
}

.page-links {
	margin-top: 1.5rem;
}

.search-form {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.65rem;
	max-width: 560px;
	margin: 1rem auto 0;
}

.site-footer {
	border-top: 5px solid var(--ad-accent);
	background: var(--ad-text);
	color: #d7d0c6;
}

.site-footer .site-wrap {
	display: grid;
	gap: 1rem;
	padding: 2.5rem 0;
	text-align: center;
}

.footer-about {
	max-width: 620px;
	margin: 0 auto;
	color: #fffefd;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.1rem;
	line-height: 1.45;
}

.social-navigation ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.35rem 1rem;
	padding: 0;
	margin: 0;
	list-style: none;
}

.social-navigation a {
	color: #fffefd;
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
}

.site-footer a {
	color: #fffefd;
}

.footer-disclosure {
	max-width: 640px;
	margin: 0 auto;
	font-size: 0.9rem;
}

.post-share {
	display: grid;
	gap: 0.85rem;
	margin-top: 2rem;
	padding: 1rem;
	border: 1px solid var(--ad-line);
	border-top: 4px solid var(--ad-accent);
	border-radius: var(--ad-radius);
	background: var(--ad-paper);
	box-shadow: var(--ad-shadow-soft);
}

.post-share-title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--ad-muted);
	font-size: 0.9rem;
	font-weight: 700;
	text-transform: uppercase;
}

.post-share-title::before {
	display: inline-block;
	width: 0.7rem;
	height: 0.7rem;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--ad-accent), var(--ad-highlight));
	content: "";
}

.post-share-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.post-share a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 0.45rem 0.78rem;
	border: 1px solid var(--ad-line);
	border-radius: var(--ad-radius);
	background: #ffffff;
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.post-share a:hover,
.post-share a:focus {
	border-color: var(--ad-accent);
	color: var(--ad-accent);
	box-shadow: 0 8px 18px rgba(24, 21, 19, 0.1);
	transform: translateY(-1px);
}

.post-share-link-pinterest:hover,
.post-share-link-pinterest:focus {
	border-color: #bd081c;
	color: #bd081c;
}

.post-share-link-instagram:hover,
.post-share-link-instagram:focus {
	border-color: #c13584;
	color: #c13584;
}

.post-share-link-youtube:hover,
.post-share-link-youtube:focus {
	border-color: #ff0000;
	color: #ff0000;
}

.contact-card,
.sitemap-sections section {
	margin-top: 1.5rem;
	padding: 1.25rem;
	border: 1px solid var(--ad-line);
	border-radius: var(--ad-radius);
	background: var(--ad-paper);
	box-shadow: var(--ad-shadow-soft);
}

.contact-form-card {
	color: var(--ad-text);
}

.contact-form {
	display: grid;
	gap: 1rem;
}

.contact-form .form-row {
	margin: 0;
}

.contact-form label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 700;
}

.contact-form textarea {
	resize: vertical;
}

.form-row-hidden {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-notice {
	margin: 0 0 1rem;
	padding: 0.85rem 1rem;
	border: 1px solid var(--ad-line);
	border-radius: var(--ad-radius);
}

.form-notice ul {
	margin: 0;
	padding-left: 1.2rem;
}

.form-notice-success {
	border-color: #b9d8c2;
	background: #f1faf4;
	color: #1f5130;
}

.form-notice-error {
	border-color: #e6b7ad;
	background: #fff5f2;
	color: #7a2d1c;
}

.contact-social-list,
.sitemap-sections ul {
	padding-left: 1.2rem;
}

.contact-social-list li + li,
.sitemap-sections li + li {
	margin-top: 0.35rem;
}

.affiliate-digest-faq {
	margin: 2rem 0;
	padding-top: 1.25rem;
	border-top: 1px solid var(--ad-line);
}

.affiliate-digest-faq h2 {
	margin-top: 0;
}

.affiliate-digest-faq details {
	padding: 0.9rem 1rem;
	border: 1px solid var(--ad-line);
	border-radius: var(--ad-radius);
	background: var(--ad-paper);
}

.affiliate-digest-faq details + details {
	margin-top: 0.65rem;
}

.affiliate-digest-faq summary {
	cursor: pointer;
	font-weight: 700;
}

.affiliate-digest-faq p {
	margin: 0.65rem 0 0;
	color: var(--ad-muted);
}

@media (min-width: 640px) {
	.posts-grid,
	.related-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.newsletter-form,
	.search-form {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.review-summary-box {
		grid-template-columns: minmax(150px, 0.8fr) minmax(0, 1.8fr);
	}

	.review-summary-box.no-image {
		grid-template-columns: 1fr;
	}

	.pros-cons-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 860px) {
	.featured-review {
		grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
	}

	.featured-review.no-media {
		grid-template-columns: minmax(0, 760px);
		justify-content: center;
	}

	.posts-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.newsletter-inner {
		grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
	}
}

@media (max-width: 639px) {
	.site-wrap {
		width: min(100% - 1.25rem, var(--ad-max-width));
	}

	.site-topline .site-wrap {
		display: block;
		text-align: center;
	}

	.site-branding {
		padding: 2rem 0 1.75rem;
	}

	.site-title {
		font-size: 2.3rem;
	}

	.primary-navigation .menu {
		gap: 0.2rem 0.9rem;
	}

	.featured-review h2,
	.entry-title {
		font-size: 2rem;
	}

	.post-share-links {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
