/*
Theme Name: Essenza Editoriale
Theme URI: https://essenzasoftware.it/
Author: OpenAI
Description: Tema WordPress custom editoriale per Essenza Software, costruito da zero.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 6.9
Requires PHP: 8.1
Text Domain: essenza-editoriale
*/

/* ==========================================================================
   Brand System And CRO Enhancements
   ========================================================================== */
:root {
	--es-primary: #2563eb;
	--es-primary-hover: #1d4ed8;
	--es-success: #16a34a;
	--es-warning: #f97316;
	--es-danger: #dc2626;
	--es-border-soft: 0.5px solid rgba(0, 0, 0, 0.1);
	--es-border-slate: 0.5px solid #e2e8f0;
	--es-card-radius: 12px;
}

/* ==========================================================================
   Global Brand Overrides
   ========================================================================== */
.es-theme .es-post-card,
.es-theme .es-note-card,
.es-theme .es-side-card,
.es-theme .es-article-cta,
.es-theme .es-empty-state,
.es-theme .es-empty-card,
.es-theme .es-article-featured-image,
.es-theme .es-mobile-nav__list {
	border: var(--es-border-soft);
	border-radius: var(--es-card-radius);
	background: #ffffff;
	box-shadow: none;
}

.es-theme .es-post-card__media {
	background: #eff6ff;
}

.es-theme .es-site-header {
	background: rgba(255, 255, 255, 0.97);
	border-bottom: var(--es-border-soft);
	backdrop-filter: none;
}

/* ==========================================================================
   Task 1: Header
   ========================================================================== */
.es-theme .es-site-header__inner {
	gap: 16px 24px;
	min-height: 88px;
}

.es-theme .es-site-brand__link {
	gap: 8px;
}

.es-theme .es-site-brand__main {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.es-theme .es-site-brand__topline {
	display: flex;
	align-items: center;
	gap: 14px;
}

.es-theme .es-site-brand__logo {
	display: inline-flex;
	flex: 0 0 54px;
	width: 54px;
	height: 54px;
	overflow: hidden;
	border: var(--es-border-soft);
	border-radius: var(--es-card-radius);
}

.es-theme .es-site-brand__logo-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.es-theme .es-site-brand__eyebrow {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: var(--es-primary);
	text-transform: uppercase;
}

.es-theme .es-site-brand__title {
	font-size: 1.35rem;
	font-weight: 700;
}

.es-theme .es-site-brand__tagline {
	max-width: 44ch;
	color: #64748b;
	font-size: 0.9rem;
	line-height: 1.5;
}

.es-theme .es-site-nav--desktop {
	display: flex;
	align-items: center;
	gap: 20px;
}

.es-theme .es-nav__list {
	gap: 8px;
}

.es-theme .es-nav__link {
	min-height: 40px;
	padding: 9px 13px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
}

.es-theme .es-nav__link:hover {
	background: #eff6ff;
	color: var(--es-primary);
}

.es-site-header__cta {
	flex: 0 0 auto;
}

.es-site-nav-mobile__cta {
	padding: 0 16px 16px;
}

.es-site-header__cta--mobile {
	display: block;
	text-align: center;
}

/* ==========================================================================
   Task 5: Global CTA Classes
   ========================================================================== */
.es-btn-primary,
.es-theme .es-button,
.es-theme .wp-block-button__link,
.es-theme .entry-content a.es-btn-primary {
	display: inline-block;
	background: #2563eb;
	color: #ffffff !important;
	font-size: 13px;
	font-weight: 500;
	padding: 8px 16px;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	text-decoration: none !important;
	transition: background 0.15s ease;
	box-shadow: none;
}

.es-btn-primary:hover,
.es-theme .es-button:hover,
.es-theme .wp-block-button__link:hover,
.es-theme .entry-content a.es-btn-primary:hover {
	background: #1d4ed8;
	color: #ffffff !important;
	transform: none;
}

.es-btn-secondary,
.es-theme .entry-content a.es-btn-secondary,
.es-theme .es-button--secondary {
	display: inline-block;
	background: transparent;
	color: #2563eb !important;
	font-size: 13px;
	font-weight: 500;
	padding: 7px 14px;
	border: 0.5px solid #2563eb;
	border-radius: 8px;
	cursor: pointer;
	text-decoration: none !important;
	box-shadow: none;
}

.es-btn-secondary:hover,
.es-theme .entry-content a.es-btn-secondary:hover,
.es-theme .es-button--secondary:hover {
	background: #eff6ff;
	color: #2563eb !important;
}

/* ==========================================================================
   Task 2: Article Components
   ========================================================================== */
.es-score-box {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin: 16px 0 20px;
	padding: 16px 20px;
	border: 0.5px solid #e2e8f0;
	border-left: 3px solid #2563eb;
	border-radius: 12px;
	background: #ffffff;
}

.es-score-summary {
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	align-items: center;
	min-width: 76px;
	gap: 4px;
}

.es-score-num {
	font-size: 32px;
	font-weight: 700;
	line-height: 0.95;
	color: #2563eb;
}

.es-score-sub {
	font-size: 11px;
	color: #64748b;
}

.es-score-stars {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	font-size: 14px;
	line-height: 1;
}

.es-score-star {
	position: relative;
	display: inline-block;
	width: 1em;
	height: 1em;
}

.es-score-star--full,
.es-score-star__fill {
	color: #f59e0b;
}

.es-score-star--empty,
.es-score-star--half,
.es-score-star__empty {
	color: #cbd5e1;
}

.es-score-star__fill {
	position: absolute;
	top: 0;
	left: 0;
	width: 50%;
	overflow: hidden;
}

.es-score-content {
	display: grid;
	flex: 1 1 auto;
	gap: 12px;
	min-width: 0;
}

.es-score-verdict {
	font-size: 14px;
	font-weight: 500;
	line-height: 1.6;
	color: #1e293b;
}

.es-score-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.es-author-box {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 16px;
	padding: 12px 14px;
	border: 0.5px solid #e2e8f0;
	border-radius: 12px;
	background: #ffffff;
}

.es-author-avatar {
	display: inline-flex;
	flex: 0 0 auto;
}

.es-author-avatar img {
	display: block;
	width: 36px;
	height: 36px;
	object-fit: cover;
	border-radius: 999px;
}

.es-author-copy {
	display: grid;
	flex: 1 1 auto;
	gap: 2px;
	min-width: 0;
}

.es-author-name {
	font-size: 13px;
	font-weight: 600;
	color: #0f172a;
}

.es-author-bio {
	font-size: 12px;
	line-height: 1.5;
	color: #64748b;
}

.es-verified-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 11px;
	font-weight: 500;
	color: #16a34a;
	white-space: nowrap;
}

.es-toc {
	margin: 0 0 16px;
	padding: 10px 14px;
	border: 0.5px solid #e2e8f0;
	border-radius: 12px;
	background: #ffffff;
}

.es-toc-label {
	margin-bottom: 6px;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #94a3b8;
}

.es-toc-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.es-toc-pill {
	display: inline-flex;
	align-items: center;
	background: #eff6ff;
	color: #2563eb;
	font-size: 11px;
	padding: 4px 10px;
	border-radius: 4px;
	cursor: pointer;
	text-decoration: none;
}

.es-toc-pill:hover {
	background: #dbeafe;
	color: #1d4ed8;
}

.es-mid-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 20px 0;
	padding: 14px 16px;
	border: 0.5px solid #bfdbfe;
	border-radius: 12px;
	background: #eff6ff;
}

.es-mid-cta-title {
	font-size: 14px;
	font-weight: 600;
	color: #1e3a8a;
}

.es-mid-cta-sub {
	font-size: 12px;
	color: #2563eb;
}

.es-warn-box {
	margin: 16px 0;
	padding: 12px 16px;
	border-left: 3px solid #f97316;
	border-radius: 0 12px 12px 0;
	background: #fff7ed;
	font-size: 13px;
	color: #9a3412;
}

/* ==========================================================================
   Task 3: Verdict Box
   ========================================================================== */
.es-verdict,
.es-theme.es-single-post .entry-content .es-verdict {
	margin: 24px 0;
	padding: 24px;
	border: 0;
	border-radius: 16px;
	background: #1e40af;
	color: #ffffff;
}

.es-theme.es-single-post .entry-content .es-verdict,
.es-theme.es-single-post .entry-content .es-verdict h2,
.es-theme.es-single-post .entry-content .es-verdict h3,
.es-theme.es-single-post .entry-content .es-verdict p,
.es-theme.es-single-post .entry-content .es-verdict li {
	color: #ffffff;
}

.es-verdict-label {
	margin-bottom: 8px;
	font-size: 10px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	opacity: 0.7;
}

.es-verdict-score {
	font-size: 36px;
	font-weight: 500;
}

.es-verdict-title {
	margin-bottom: 8px;
	font-size: 17px;
	font-weight: 500;
}

.es-verdict-text {
	margin-bottom: 16px;
	font-size: 13px;
	line-height: 1.6;
	opacity: 0.85;
}

.es-verdict-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.es-verdict-btn-primary {
	display: inline-block;
	padding: 8px 16px;
	border: none;
	border-radius: 6px;
	background: #ffffff;
	color: #1e40af !important;
	font-size: 12px;
	font-weight: 500;
	cursor: pointer;
	text-decoration: none !important;
}

.es-verdict-btn-secondary {
	display: inline-block;
	padding: 8px 16px;
	border: 0.5px solid rgba(255, 255, 255, 0.4);
	border-radius: 6px;
	background: transparent;
	color: #ffffff !important;
	font-size: 12px;
	font-weight: 500;
	cursor: pointer;
	margin-left: 8px;
	text-decoration: none !important;
}

/* ==========================================================================
   Task 4: Data Table
   ========================================================================== */
.es-data-table {
	width: 100%;
	margin: 20px 0;
	border-collapse: collapse;
}

.es-theme.es-single-post .entry-content table.es-data-table th,
.es-theme.es-single-post .entry-content table.es-data-table td {
	padding: 8px 12px;
	border-bottom: 0.5px solid #e2e8f0;
	font-size: 13px;
	text-align: left;
	vertical-align: top;
}

.es-theme.es-single-post .entry-content table.es-data-table td:first-child,
.es-theme.es-single-post .entry-content table.es-data-table th:first-child {
	width: 38%;
	color: #64748b;
}

.es-theme.es-single-post .entry-content table.es-data-table td:last-child,
.es-theme.es-single-post .entry-content table.es-data-table th:last-child {
	font-weight: 500;
	color: #1e293b;
}

.es-theme.es-single-post .entry-content table.es-data-table tr:last-child td,
.es-theme.es-single-post .entry-content table.es-data-table tr:last-child th {
	border-bottom: none;
}

.es-data-table__cta-cell {
	padding: 16px 12px !important;
	text-align: center !important;
}

.es-price-badge {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 4px;
	background: #dbeafe;
	color: #1d4ed8;
	font-size: 11px;
	font-weight: 500;
}

/* ==========================================================================
   Single Article Refinements
   ========================================================================== */
.es-theme.es-single-post .es-article-hero {
	padding-block: 2.7rem 1.2rem;
}

.es-theme.es-single-post .es-single-column {
	width: min(100%, 760px);
}

.es-theme.es-single-post .es-article-hero__content {
	gap: 0.85rem;
}


.es-theme.es-single-post .es-article-hero__detail {
	color: #64748b;
	font-size: 11px;
	letter-spacing: 0.06em;
}

.es-theme.es-single-post .es-article-title {
	max-width: 15ch;
}

.es-theme.es-single-post .es-article-lead {
	max-width: 54ch;
	font-size: 1.07rem;
	line-height: 1.82;
	color: #334155;
}

.es-article-hero__stack {
	display: grid;
	gap: 12px;
	margin-top: 2px;
}

.es-theme.es-single-post .entry-content {
	font-size: 18px;
	line-height: 1.84;
}

.es-theme.es-single-post .entry-content > * + * {
	margin-top: 1.65rem;
}

.es-theme.es-single-post .entry-content p {
	margin-bottom: 1.1rem;
	color: #334155;
}

.es-theme.es-single-post .entry-content ul,
.es-theme.es-single-post .entry-content ol {
	margin: 0.3rem 0 1.55rem;
	padding-left: 1.35rem;
}

.es-theme.es-single-post .entry-content li {
	color: #334155;
	line-height: 1.78;
}

.es-theme.es-single-post .entry-content li + li {
	margin-top: 0.72rem;
}

.es-theme.es-single-post .entry-content h2 {
	margin-top: 3rem;
	margin-bottom: 0.85rem;
	font-size: clamp(1.95rem, 3.2vw, 2.45rem);
	line-height: 1.08;
}

.es-theme.es-single-post .entry-content h3 {
	margin-top: 2.2rem;
	margin-bottom: 0.7rem;
	font-size: clamp(1.42rem, 2.3vw, 1.82rem);
	line-height: 1.12;
}

.es-theme.es-single-post .entry-content h4 {
	margin-top: 1.6rem;
	margin-bottom: 0.55rem;
}

.es-score-box {
	margin: 0;
	padding: 16px 18px;
	gap: 14px;
	border: 0.5px solid #e2e8f0;
	border-left: 3px solid #0f172a;
	background: #fbfcfd;
}

.es-score-summary {
	align-items: flex-start;
	min-width: 84px;
	gap: 3px;
}

.es-score-num {
	font-size: 34px;
	color: #0f172a;
}

.es-score-sub {
	font-size: 10px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.es-score-stars {
	font-size: 13px;
}

.es-score-content {
	gap: 10px;
	align-content: start;
}

.es-score-kicker {
	color: #64748b;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.es-score-verdict {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.5;
	color: #0f172a;
}

.es-score-actions {
	gap: 8px;
}

.es-author-box {
	margin: 0;
	padding: 10px 12px;
	gap: 10px;
	background: #fcfcfd;
}

.es-author-bio {
	line-height: 1.6;
	color: #475569;
}

.es-verified-badge {
	padding: 4px 8px;
	border: 0.5px solid #e2e8f0;
	border-radius: 999px;
	background: #ffffff;
	font-size: 10px;
	color: #475569;
}

.es-toc {
	margin: 0;
	padding: 10px 12px;
	background: #fbfcfd;
}

.es-toc-label {
	margin-bottom: 7px;
}

.es-toc-pills {
	gap: 6px;
}

.es-toc-pill {
	border: 0.5px solid #e2e8f0;
	background: #f8fafc;
	color: #475569;
	font-weight: 500;
}

.es-toc-pill:hover {
	background: #eff6ff;
	color: #0f172a;
}

.es-mid-cta {
	border-color: #dbe4ec;
	background: #f8fafc;
}

.es-mid-cta-title {
	color: #0f172a;
}

.es-mid-cta-sub {
	color: #64748b;
}

.es-theme.es-single-post .entry-content .es-panel,
.es-theme.es-single-post .entry-content .wp-block-group.is-style-editorial-panel {
	padding: 1.1rem 1.2rem;
	border: 0.5px solid #e2e8f0;
	border-left: 3px solid #cbd5e1;
	border-radius: 14px;
	background: #f8fafc;
}

.es-theme.es-single-post .entry-content .es-price,
.es-theme.es-single-post .entry-content .wp-block-group.is-style-price-panel {
	padding: 1.15rem 1.2rem 1.2rem;
	border: 0.5px solid #fed7aa;
	border-left: 3px solid #f97316;
	border-radius: 14px;
	background: #fffaf5;
}

.es-theme.es-single-post .entry-content .es-cta-panel,
.es-theme.es-single-post .entry-content .wp-block-group.is-style-cta-panel,
.es-theme.es-single-post .entry-content .es-final-choice {
	padding: 1.15rem 1.2rem 1.2rem;
	border: 0.5px solid #dbeafe;
	border-left: 3px solid #2563eb;
	border-radius: 14px;
	background: #f8fbff;
}

.es-theme.es-single-post .entry-content .es-note {
	padding: 1.1rem 1.2rem;
	border: 0.5px solid #dbe4ec;
	border-left: 3px solid #0f172a;
	border-radius: 14px;
	background: #f8fafc;
}

.es-theme.es-single-post .entry-content .es-panel > :first-child,
.es-theme.es-single-post .entry-content .wp-block-group.is-style-editorial-panel > :first-child,
.es-theme.es-single-post .entry-content .es-price > :first-child,
.es-theme.es-single-post .entry-content .wp-block-group.is-style-price-panel > :first-child,
.es-theme.es-single-post .entry-content .es-cta-panel > :first-child,
.es-theme.es-single-post .entry-content .wp-block-group.is-style-cta-panel > :first-child,
.es-theme.es-single-post .entry-content .es-final-choice > :first-child,
.es-theme.es-single-post .entry-content .es-note > :first-child {
	margin-top: 0;
}

.es-theme.es-single-post .entry-content .es-panel > :last-child,
.es-theme.es-single-post .entry-content .wp-block-group.is-style-editorial-panel > :last-child,
.es-theme.es-single-post .entry-content .es-price > :last-child,
.es-theme.es-single-post .entry-content .wp-block-group.is-style-price-panel > :last-child,
.es-theme.es-single-post .entry-content .es-cta-panel > :last-child,
.es-theme.es-single-post .entry-content .wp-block-group.is-style-cta-panel > :last-child,
.es-theme.es-single-post .entry-content .es-final-choice > :last-child,
.es-theme.es-single-post .entry-content .es-note > :last-child {
	margin-bottom: 0;
}

.es-theme.es-single-post .entry-content .es-price ul,
.es-theme.es-single-post .entry-content .wp-block-group.is-style-price-panel ul,
.es-theme.es-single-post .entry-content .es-cta-panel ul,
.es-theme.es-single-post .entry-content .wp-block-group.is-style-cta-panel ul,
.es-theme.es-single-post .entry-content .es-final-choice ul,
.es-theme.es-single-post .entry-content .es-note ul {
	margin-bottom: 0.35rem;
}

.es-theme.es-single-post .entry-content .es-dual-panel,
.es-theme.es-single-post .entry-content .es-audience-grid {
	gap: 1.6rem;
	margin-top: 1.25rem;
}

.es-theme.es-single-post .entry-content .es-dual-panel > .wp-block-group,
.es-theme.es-single-post .entry-content .es-dual-panel > .wp-block-column,
.es-theme.es-single-post .entry-content .es-dual-panel > div,
.es-theme.es-single-post .entry-content .es-audience-grid > .wp-block-group,
.es-theme.es-single-post .entry-content .es-audience-grid > .wp-block-column,
.es-theme.es-single-post .entry-content .es-audience-grid > div {
	padding-top: 0.9rem;
	border-top: 2px solid #e2e8f0;
}

.es-theme.es-single-post .entry-content .es-dual-panel > :first-child,
.es-theme.es-single-post .entry-content .es-audience-grid > :first-child {
	border-top-color: rgba(22, 163, 74, 0.42);
}

.es-theme.es-single-post .entry-content .es-dual-panel > :last-child,
.es-theme.es-single-post .entry-content .es-audience-grid > :last-child {
	border-top-color: rgba(220, 38, 38, 0.36);
}

.es-theme.es-single-post .entry-content .es-dual-panel h3,
.es-theme.es-single-post .entry-content .es-audience-grid h3 {
	margin-top: 0;
}

.es-theme.es-single-post .entry-content .es-pros,
.es-theme.es-single-post .entry-content ul.is-style-pros-list,
.es-theme.es-single-post .entry-content .es-cons,
.es-theme.es-single-post .entry-content ul.is-style-cons-list {
	margin: 0.55rem 0 0;
	padding-left: 1.3rem;
}

.es-theme.es-single-post .entry-content .es-pros li + li,
.es-theme.es-single-post .entry-content ul.is-style-pros-list li + li,
.es-theme.es-single-post .entry-content .es-cons li + li,
.es-theme.es-single-post .entry-content ul.is-style-cons-list li + li {
	margin-top: 0.8rem;
}

.es-data-table {
	margin: 24px 0;
	border: 0.5px solid #e2e8f0;
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 14px;
	background: #ffffff;
	overflow: hidden;
}

.es-theme.es-single-post .entry-content table.es-data-table td:first-child,
.es-theme.es-single-post .entry-content table.es-data-table th:first-child {
	background: #fafbfd;
}

.es-theme.es-single-post .entry-content table.es-data-table th,
.es-theme.es-single-post .entry-content table.es-data-table td {
	padding: 11px 14px;
	border-bottom: 0.5px solid #e9eef5;
	font-size: 14px;
	line-height: 1.55;
}

.es-data-table__cta-cell {
	padding: 18px 14px !important;
	background: #fbfcfe;
}

.es-verdict,
.es-theme.es-single-post .entry-content .es-verdict,
.es-theme.es-single-post .entry-content .wp-block-group.is-style-verdict-panel {
	margin: 28px 0;
	padding: 20px 20px 18px;
	border: 1px solid rgba(15, 23, 42, 0.92);
	border-radius: 16px;
	background: #0f172a;
	color: #ffffff;
}

.es-theme.es-single-post .entry-content .wp-block-group.is-style-verdict-panel,
.es-theme.es-single-post .entry-content .wp-block-group.is-style-verdict-panel h2,
.es-theme.es-single-post .entry-content .wp-block-group.is-style-verdict-panel h3,
.es-theme.es-single-post .entry-content .wp-block-group.is-style-verdict-panel p,
.es-theme.es-single-post .entry-content .wp-block-group.is-style-verdict-panel li {
	color: #ffffff;
}

.es-verdict-label {
	margin-bottom: 6px;
	letter-spacing: 0.08em;
	opacity: 0.66;
}

.es-verdict-score {
	display: inline-block;
	margin-bottom: 8px;
	font-size: 34px;
	line-height: 1;
	font-weight: 600;
	color: #bfdbfe;
}

.es-verdict-title {
	margin-bottom: 8px;
	font-size: 20px;
	line-height: 1.14;
	font-weight: 600;
}

.es-verdict-text {
	max-width: 44ch;
	margin-bottom: 14px;
	font-size: 14px;
	line-height: 1.62;
	opacity: 0.88;
}

.es-theme.es-single-post .entry-content .es-verdict > p:first-of-type,
.es-theme.es-single-post .entry-content .wp-block-group.is-style-verdict-panel > p:first-of-type {
	font-size: 15px;
	line-height: 1.62;
	font-weight: 600;
	color: #ffffff;
}

.es-theme.es-single-post .entry-content .es-verdict p:not(:first-of-type),
.es-theme.es-single-post .entry-content .wp-block-group.is-style-verdict-panel p:not(:first-of-type) {
	color: rgba(255, 255, 255, 0.84);
}

.es-theme.es-single-post .entry-content .es-verdict ul,
.es-theme.es-single-post .entry-content .wp-block-group.is-style-verdict-panel ul {
	margin: 0.7rem 0 1rem;
	padding-left: 1.15rem;
}

.es-theme.es-single-post .entry-content .es-verdict li,
.es-theme.es-single-post .entry-content .wp-block-group.is-style-verdict-panel li {
	color: rgba(255, 255, 255, 0.82);
}

.es-verdict-actions {
	gap: 10px;
	margin-top: 0.9rem;
}

.es-verdict-btn-primary {
	color: #0f172a !important;
}

.es-verdict-btn-secondary {
	margin-left: 0;
	border-color: rgba(255, 255, 255, 0.28);
}

.es-verdict-btn-secondary:hover {
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff !important;
}

.es-theme.es-single-post .es-article-closing {
	padding-top: 2.25rem;
}

.es-article-next-step {
	margin-bottom: 1.9rem;
	padding: 1.25rem 1.35rem;
	border: 0.5px solid #e2e8f0;
	border-radius: 16px;
	background: #fbfcfd;
}

.es-article-next-step__copy {
	max-width: 42rem;
}

.es-article-next-step h2 {
	font-size: clamp(1.45rem, 2.5vw, 1.9rem);
	line-height: 1.12;
}

.es-article-next-step p {
	margin: 0.35rem 0 0;
	color: #475569;
}

.es-article-next-step .es-button-row {
	gap: 0.75rem;
}

.es-article-related {
	padding-top: 1.6rem;
	border-top: 0.5px solid #e2e8f0;
}

.es-theme.es-single-post .es-article-related .es-section-heading {
	margin: 0 auto 1.35rem;
}

.es-theme.es-single-post .es-article-related .es-section-heading h2 {
	font-size: clamp(1.5rem, 2.7vw, 2rem);
}

.es-theme.es-single-post .es-article-related .es-section-heading p {
	max-width: 44ch;
	color: #64748b;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 767px) {
	.es-theme .es-site-brand__logo {
		flex-basis: 44px;
		width: 44px;
		height: 44px;
	}

	.es-theme .es-site-brand__topline {
		gap: 10px;
	}

	.es-theme .es-site-brand__tagline {
		display: block;
		max-width: 100%;
		font-size: 13px;
	}

	.es-score-box,
	.es-author-box,
	.es-mid-cta {
		flex-direction: column;
		align-items: flex-start;
	}

	.es-score-summary {
		align-items: flex-start;
	}

	.es-verified-badge {
		white-space: normal;
	}

	.es-mid-cta .es-btn-primary {
		width: 100%;
		text-align: center;
	}

	.es-verdict-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.es-verdict-btn-secondary {
		margin-left: 0;
	}

	.es-theme.es-single-post .entry-content {
		font-size: 17px;
		line-height: 1.78;
	}

	.es-article-hero__stack {
		gap: 10px;
	}

	.es-score-box {
		padding: 14px 16px;
	}

	.es-toc-pill {
		width: 100%;
		justify-content: flex-start;
	}

	.es-article-next-step {
		padding: 1.15rem;
	}

	.es-article-next-step .es-button-row {
		width: 100%;
		flex-direction: column;
	}

	.es-article-next-step .es-button,
	.es-article-next-step .es-button--secondary {
		width: 100%;
		text-align: center;
	}
}

@media (max-width: 980px) {
	.es-theme .es-site-nav--desktop {
		display: none;
	}

	.es-theme .es-site-nav-mobile {
		display: block;
	}
}

@media (min-width: 981px) {
	.es-theme .es-site-nav-mobile {
		display: none;
	}

	.es-theme .es-site-header__inner {
		min-height: 100px;
		padding-block: 0.45rem;
	}

	.es-theme .es-site-brand__logo {
		flex-basis: 60px;
		width: 60px;
		height: 60px;
	}

	.es-theme .es-site-brand__title {
		font-size: 1.48rem;
	}

	.es-theme .es-site-brand__tagline {
		font-size: 0.95rem;
	}

	.es-theme .es-nav__link {
		min-height: 42px;
		padding: 10px 14px;
		font-size: 15px;
	}

	.es-theme .es-site-header__cta {
		padding: 10px 18px;
		font-size: 14px;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	.es-theme .es-site-header__inner {
		gap: 16px 20px;
	}
}
