/* Blog archive (home.php / archive.php / search.php) — selectors unique to the blog listing pages. Shared chrome already lives in main.css. */

:root {
	--blue-300: #93c5fd;
}

/* ─── BLOG HERO ─── */
.blog-hero {
	background: linear-gradient(160deg, #f0f5ff 0%, #fff 55%, #faf5ff 100%);
	padding: 64px 24px 56px;
	border-bottom: 1px solid var(--slate-200);
}
.blog-hero-inner {
	max-width: 1200px; margin: 0 auto;
	display: flex; align-items: flex-end;
	justify-content: space-between; gap: 32px;
	flex-wrap: wrap;
}
.blog-hero-tag {
	display: inline-flex; align-items: center; gap: 6px;
	background: var(--blue-50); color: var(--blue-600);
	border: 1px solid var(--blue-200);
	border-radius: 999px; padding: 5px 14px;
	font-size: 12.5px; font-weight: 700;
	letter-spacing: .03em; text-transform: uppercase;
	margin-bottom: 16px;
}
.blog-hero h1 {
	font-size: clamp(32px, 4.5vw, 48px);
	font-weight: 800; line-height: 1.15;
	letter-spacing: -.02em; color: var(--slate-900);
	margin-bottom: 12px;
}
.blog-hero h1 span {
	background: linear-gradient(135deg, var(--blue-600) 0%, var(--indigo-600) 50%, var(--purple-600) 100%);
	-webkit-background-clip: text; -webkit-text-fill-color: transparent;
	background-clip: text;
}
.blog-hero-sub { font-size: 16px; color: var(--slate-500); max-width: 520px; line-height: 1.7; }

/* Search bar */
.blog-search {
	display: flex; align-items: center; gap: 0;
	background: #fff; border: 1.5px solid var(--slate-200);
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	flex-shrink: 0;
}
.blog-search-icon { padding: 0 14px; display: flex; align-items: center; color: var(--slate-400); }
.blog-search input {
	border: none; outline: none;
	font-family: var(--font); font-size: 14px;
	color: var(--slate-700); padding: 13px 0;
	width: 240px; background: transparent;
}
.blog-search input::placeholder { color: var(--slate-400); }
.blog-search button {
	padding: 10px 18px; margin: 5px 5px 5px 0;
	background: linear-gradient(135deg, var(--blue-600), var(--indigo-600));
	color: #fff; border: none; border-radius: var(--radius-sm);
	font-size: 13px; font-weight: 600; cursor: pointer;
	font-family: var(--font);
	transition: opacity .15s;
}
.blog-search button:hover { opacity: .88; }

/* ─── FILTER TABS ─── */
.filter-bar {
	background: var(--white);
	border-bottom: 1px solid var(--slate-200);
	position: sticky; top: 68px; z-index: 90;
}
.filter-inner {
	max-width: 1200px; margin: 0 auto;
	padding: 0 24px;
	display: flex; align-items: center; gap: 4px;
	overflow-x: auto;
	scrollbar-width: none;
}
.filter-inner::-webkit-scrollbar { display: none; }
.filter-btn {
	padding: 14px 18px;
	font-size: 13.5px; font-weight: 600;
	color: var(--slate-500); background: transparent;
	border: none; border-bottom: 2.5px solid transparent;
	cursor: pointer; font-family: var(--font);
	white-space: nowrap;
	transition: color .15s, border-color .15s;
	display: inline-block;
}
.filter-btn:hover { color: var(--blue-600); }
.filter-btn.active { color: var(--blue-600); border-bottom-color: var(--blue-600); }

/* ─── BLOG BODY ─── */
.blog-body { max-width: 1200px; margin: 0 auto; padding: 56px 24px 80px; }

/* ─── FEATURED CARD ─── */
.featured-label { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.featured-label-text { font-size: 11.5px; font-weight: 700; color: var(--slate-400); text-transform: uppercase; letter-spacing: .1em; }
.featured-label-line { flex: 1; height: 1px; background: var(--slate-200); }

.featured-card {
	display: grid; grid-template-columns: 1fr 1fr;
	background: var(--white);
	border: 1px solid var(--slate-200);
	border-radius: var(--radius-xl);
	overflow: hidden;
	box-shadow: var(--shadow-md);
	margin-bottom: 56px;
	transition: box-shadow .25s, transform .25s;
}
.featured-card:hover { box-shadow: 0 16px 48px rgba(37,99,235,.12); transform: translateY(-4px); }

.featured-img { display: block; position: relative; min-height: 360px; overflow: hidden; }
.featured-img .img-bg { position: absolute; inset: 0; transition: transform .5s ease; }
.featured-img .img-bg.img-fit-contain {
	background-color: #eff6ff;
}
.featured-card:hover .featured-img .img-bg { transform: scale(1.04); }
.featured-card:hover .featured-img .img-bg.img-fit-contain { transform: none; }
.featured-img .img-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(37,99,235,.18) 0%, rgba(79,70,229,.12) 100%); }
.featured-img-badge {
	position: absolute; top: 20px; left: 20px;
	background: rgba(255,255,255,.92);
	backdrop-filter: blur(8px);
	border-radius: 999px; padding: 5px 14px;
	font-size: 12px; font-weight: 700; color: var(--blue-700);
	display: flex; align-items: center; gap: 6px;
}
.featured-img-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange-500); }
.featured-read-time {
	position: absolute; bottom: 20px; left: 20px;
	background: rgba(0,0,0,.45); backdrop-filter: blur(6px);
	border-radius: 999px; padding: 4px 12px;
	font-size: 11.5px; font-weight: 600; color: rgba(255,255,255,.9);
}

.featured-content { padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; }
.featured-cat {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
	border-radius: 999px; padding: 4px 12px;
	margin-bottom: 18px; width: fit-content;
}
.featured-content h2 {
	font-size: clamp(22px, 2.5vw, 30px);
	font-weight: 800; line-height: 1.25;
	color: var(--slate-900); letter-spacing: -.02em;
	margin-bottom: 14px;
}
.featured-content h2 a:hover { color: var(--blue-600); }
.featured-excerpt { font-size: 15px; color: var(--slate-500); line-height: 1.75; margin-bottom: 28px; }
.featured-date-row { display: flex; align-items: center; gap: 16px; font-size: 12.5px; color: var(--slate-400); margin: 0 0 28px; }
.featured-date-row span { display: flex; align-items: center; gap: 5px; }
.featured-read-btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 12px 24px;
	background: linear-gradient(135deg, var(--blue-600), var(--indigo-600));
	color: #fff; font-size: 14px; font-weight: 700;
	border-radius: var(--radius-md); border: none;
	box-shadow: 0 4px 14px rgba(37,99,235,.3);
	transition: transform .15s, box-shadow .15s;
	width: fit-content;
}
.featured-read-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(37,99,235,.4); }

/* ─── GRID SECTION ─── */
.grid-section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; gap: 16px; flex-wrap: wrap; }
.grid-section-title { font-size: 20px; font-weight: 800; color: var(--slate-900); letter-spacing: -.01em; }
.grid-section-count { font-size: 13px; color: var(--slate-400); font-weight: 500; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 56px; }

/* ─── BLOG CARD ─── */
.blog-card {
	background: var(--white);
	border: 1px solid var(--slate-200);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: box-shadow .22s, transform .22s, border-color .22s;
	display: flex; flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--blue-200); }

.card-img, .related-img { display: block; position: relative; height: 196px; overflow: hidden; }
.card-img .img-bg, .related-img .img-bg { position: absolute; inset: 0; transition: transform .45s ease; }
.blog-card:hover .card-img .img-bg { transform: scale(1.06); }
.card-img-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(15,23,42,.18) 100%); }
.card-read-time {
	position: absolute; bottom: 12px; right: 12px;
	background: rgba(0,0,0,.42); backdrop-filter: blur(6px);
	border-radius: 999px; padding: 3px 10px;
	font-size: 11px; font-weight: 600; color: rgba(255,255,255,.9);
}

.card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.card-cat {
	display: inline-flex; align-items: center;
	font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
	border-radius: 999px; padding: 3px 11px;
	margin-bottom: 12px; width: fit-content;
}
.card-title {
	font-size: 16px; font-weight: 700; line-height: 1.4;
	color: var(--slate-900); margin-bottom: 10px;
	letter-spacing: -.01em;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-card:hover .card-title { color: var(--blue-600); }
.card-excerpt {
	font-size: 13.5px; color: var(--slate-500); line-height: 1.65;
	margin-bottom: 18px; flex: 1;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--slate-100); margin-top: auto; }
.card-date { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--slate-400); font-weight: 500; }
.card-date svg { flex-shrink: 0; }
.card-read-btn {
	display: inline-flex; align-items: center; gap: 5px;
	padding: 7px 14px;
	background: var(--blue-50); color: var(--blue-600);
	font-size: 12.5px; font-weight: 700;
	border-radius: var(--radius-sm);
	transition: background .15s, transform .15s;
}
.card-read-btn:hover { background: var(--blue-100); transform: translateX(2px); }
.card-read-btn svg { transition: transform .15s; }
.card-read-btn:hover svg { transform: translateX(3px); }

/* ─── CATEGORY COLOR TOKENS ─── */
.cat-blue   { background: #dbeafe; color: #1d4ed8; }
.cat-indigo { background: #e0e7ff; color: #4338ca; }
.cat-purple { background: #f3e8ff; color: #7e22ce; }
.cat-green  { background: #dcfce7; color: #15803d; }
.cat-orange { background: #ffedd5; color: #c2410c; }
.cat-teal   { background: #ccfbf1; color: #0f766e; }
.cat-pink   { background: #fce7f3; color: #be185d; }
.cat-yellow { background: #fef9c3; color: #a16207; }

/* ─── IMAGE GRADIENT THEMES ─── */
.img-blue    { background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #4f46e5 100%); }
.img-purple  { background: linear-gradient(135deg, #4c1d95 0%, #7c3aed 50%, #9333ea 100%); }
.img-teal    { background: linear-gradient(135deg, #0f4c75 0%, #0d9488 50%, #22c55e 100%); }
.img-orange  { background: linear-gradient(135deg, #7c2d12 0%, #ea580c 50%, #f59e0b 100%); }
.img-pink    { background: linear-gradient(135deg, #831843 0%, #db2777 50%, #ec4899 100%); }
.img-green   { background: linear-gradient(135deg, #14532d 0%, #16a34a 50%, #4ade80 100%); }
.img-indigo  { background: linear-gradient(135deg, #1e1b4b 0%, #4338ca 50%, #6366f1 100%); }
.img-slate   { background: linear-gradient(135deg, #0f172a 0%, #334155 50%, #64748b 100%); }
.img-crimson { background: linear-gradient(135deg, #450a0a 0%, #b91c1c 50%, #f97316 100%); }
.img-azure   { background: linear-gradient(135deg, #0c4a6e 0%, #0ea5e9 50%, #38bdf8 100%); }

.img-pattern {
	position: absolute; inset: 0; opacity: .07;
	background-image: radial-gradient(circle at 20% 80%, rgba(255,255,255,1) 1px, transparent 1px),
	                  radial-gradient(circle at 80% 20%, rgba(255,255,255,1) 1px, transparent 1px),
	                  radial-gradient(circle at 50% 50%, rgba(255,255,255,1) 1px, transparent 1px);
	background-size: 48px 48px;
}
.img-icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.img-icon svg { width: 56px; height: 56px; opacity: .28; }

/* ─── LOAD MORE / PAGINATION ─── */
.load-more-wrap { text-align: center; padding: 8px 0 16px; }
.load-more-wrap .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.load-more-wrap .page-numbers {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 13px 24px;
	border: 1.5px solid var(--slate-300);
	color: var(--slate-700); font-size: 14px; font-weight: 600;
	border-radius: var(--radius-md); background: #fff;
	transition: border-color .15s, color .15s, box-shadow .15s;
}
.load-more-wrap .page-numbers:hover, .load-more-wrap .page-numbers.current { border-color: var(--blue-600); color: var(--blue-600); box-shadow: 0 4px 16px rgba(37,99,235,.1); }

/* ─── NEWSLETTER STRIP ─── */
.newsletter-strip {
	background: linear-gradient(135deg, #eff6ff 0%, #f0e8ff 100%);
	border: 1px solid var(--blue-200);
	border-radius: var(--radius-xl);
	padding: 48px 56px;
	display: grid;
	grid-template-columns: minmax(260px, .85fr) minmax(0, 1.35fr);
	align-items: center;
	gap: 48px;
	margin-top: 16px;
}
.newsletter-title { font-size: 22px; font-weight: 800; color: var(--slate-900); margin-bottom: 6px; letter-spacing: -.01em; }
.newsletter-sub { font-size: 14.5px; color: var(--slate-500); max-width: 400px; }
.newsletter-form { min-width: 0; }
.newsletter-cf7-form .wpcf7-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: end;
	gap: 16px;
}
.newsletter-cf7-form .wpcf7-form p { margin: 0; }
.newsletter-cf7-form label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--slate-700);
}
.newsletter-input {
	font-family: var(--font); font-size: 14px; color: var(--slate-700);
	padding: 12px 18px;
	background: #fff; border: 1.5px solid var(--slate-200);
	border-radius: var(--radius-md); outline: none;
	min-width: 240px;
	transition: border-color .15s;
}
.newsletter-cf7-form .wpcf7-form-control:not(.wpcf7-submit) {
	font-family: var(--font); font-size: 14px; color: var(--slate-700);
	padding: 12px 18px;
	background: #fff; border: 1.5px solid var(--slate-200);
	border-radius: var(--radius-md); outline: none;
	width: 100%;
	min-width: 0;
	transition: border-color .15s;
}
.newsletter-input::placeholder { color: var(--slate-400); }
.newsletter-cf7-form .wpcf7-form-control::placeholder { color: var(--slate-400); }
.newsletter-input:focus,
.newsletter-cf7-form .wpcf7-form-control:not(.wpcf7-submit):focus { border-color: var(--blue-400, #60a5fa); }
.newsletter-btn {
	padding: 12px 24px;
	background: linear-gradient(135deg, var(--blue-600), var(--indigo-600));
	color: #fff; font-size: 14px; font-weight: 700;
	border-radius: var(--radius-md); border: none;
	cursor: pointer; font-family: var(--font);
	white-space: nowrap;
	transition: opacity .15s, transform .1s;
}
.newsletter-cf7-form .wpcf7-submit {
	padding: 12px 24px;
	background: linear-gradient(135deg, var(--blue-600), var(--indigo-600));
	color: #fff; font-size: 14px; font-weight: 700;
	border-radius: var(--radius-md); border: none;
	cursor: pointer; font-family: var(--font);
	white-space: nowrap;
	transition: opacity .15s, transform .1s;
	width: 100%;
}
.newsletter-btn:hover,
.newsletter-cf7-form .wpcf7-submit:hover { opacity: .9; transform: translateY(-1px); }
.newsletter-cf7-form .wpcf7-spinner { align-self: center; margin: 0; }
.newsletter-cf7-form .wpcf7-not-valid-tip { margin-top: 6px; font-size: 12px; color: var(--red-500); font-weight: 500; }
.newsletter-cf7-form .wpcf7-response-output {
	grid-column: 1 / -1;
	margin: 0;
	padding: 10px 12px;
	border-radius: var(--radius-sm);
	font-size: 12.5px;
	line-height: 1.55;
}

.archive-subscribe-section {
	width: 100vw;
	margin: 56px calc(50% - 50vw) -80px;
}
.subscribe-section { background: linear-gradient(160deg, #f0f5ff 0%, #fff 50%, #faf5ff 100%); border-top: 1px solid var(--slate-200); border-bottom: 1px solid var(--slate-200); padding: 72px 24px 80px; }
.subscribe-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.subscribe-tag {
	display: inline-flex; align-items: center; gap: 7px;
	background: var(--blue-50); color: var(--blue-600);
	border: 1px solid var(--blue-200); border-radius: 999px;
	padding: 5px 14px; font-size: 12.5px; font-weight: 700;
	letter-spacing: .03em; text-transform: uppercase;
	margin-bottom: 18px;
}
.subscribe-title { font-size: clamp(28px, 3.5vw, 40px); font-weight: 800; line-height: 1.2; letter-spacing: -.025em; color: var(--slate-900); margin-bottom: 16px; }
.subscribe-title span { background: linear-gradient(135deg, var(--blue-600), var(--indigo-600)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.subscribe-sub { font-size: 16px; color: var(--slate-500); line-height: 1.75; margin-bottom: 28px; }
.subscribe-perks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.subscribe-perk { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: var(--slate-600); }
.subscribe-perk-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; background: linear-gradient(135deg, var(--blue-500), var(--indigo-600)); }

.subscribe-card { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-xl); padding: 32px; box-shadow: var(--shadow-lg); }
.subscribe-card-header { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--slate-100); }
.subscribe-card-icon { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; background: linear-gradient(135deg, var(--blue-600), var(--indigo-600)); display: flex; align-items: center; justify-content: center; }
.subscribe-card-icon svg { width: 20px; height: 20px; }
.subscribe-card-title { font-size: 16px; font-weight: 800; color: var(--slate-900); }
.subscribe-card-freq { font-size: 12px; color: var(--slate-400); font-weight: 500; margin-top: 2px; }

.subscribe-form { display: flex; flex-direction: column; gap: 16px; }
.subscribe-cf7-form .wpcf7-form { display: flex; flex-direction: column; gap: 16px; }
.subscribe-cf7-form .wpcf7-form p { margin: 0; }
.subscribe-cf7-form label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--slate-700);
}
.subscribe-field { display: flex; flex-direction: column; gap: 6px; }
.subscribe-label { font-size: 13px; font-weight: 600; color: var(--slate-700); }
.subscribe-input,
.subscribe-cf7-form .wpcf7-form-control:not(.wpcf7-submit) {
	font-family: var(--font); font-size: 14px; color: var(--slate-800);
	padding: 11px 14px;
	background: var(--slate-50); border: 1.5px solid var(--slate-200);
	border-radius: var(--radius-sm); outline: none;
	transition: border-color .15s, background .15s;
	width: 100%;
}
.subscribe-input:focus,
.subscribe-cf7-form .wpcf7-form-control:not(.wpcf7-submit):focus { border-color: var(--blue-400, #60a5fa); background: #fff; box-shadow: 0 0 0 3px rgba(37,99,235,.07); }
.subscribe-input::placeholder,
.subscribe-cf7-form .wpcf7-form-control::placeholder { color: var(--slate-400); }
.subscribe-select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.subscribe-btn,
.subscribe-cf7-form .wpcf7-submit {
	display: flex; align-items: center; justify-content: center; gap: 8px;
	padding: 13px; width: 100%;
	background: linear-gradient(135deg, var(--blue-600), var(--indigo-600));
	color: #fff; font-size: 15px; font-weight: 700;
	border-radius: var(--radius-md); border: none; cursor: pointer; font-family: var(--font);
	box-shadow: 0 4px 18px rgba(37,99,235,.3);
	transition: transform .15s, box-shadow .15s, opacity .15s;
	margin-top: 4px;
}
.subscribe-btn:hover,
.subscribe-cf7-form .wpcf7-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(37,99,235,.4); }
.subscribe-consent { font-size: 11.5px; color: var(--slate-400); text-align: center; line-height: 1.6; }
.subscribe-consent a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 2px; }
.subscribe-cf7-form .wpcf7-spinner { margin: 8px auto 0; display: block; }
.subscribe-cf7-form .wpcf7-not-valid-tip { margin-top: 6px; font-size: 12px; color: var(--red-500); font-weight: 500; }
.subscribe-cf7-form .wpcf7-response-output {
	margin: 0;
	padding: 10px 12px;
	border-radius: var(--radius-sm);
	font-size: 12.5px;
	line-height: 1.55;
}

.subscribe-success { text-align: center; padding: 16px 8px; }
.subscribe-success-icon { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--green-500), #0d9488); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; box-shadow: 0 4px 18px rgba(34,197,94,.3); }
.subscribe-success-icon svg { width: 24px; height: 24px; }
.subscribe-success-title { font-size: 20px; font-weight: 800; color: var(--slate-900); margin-bottom: 10px; }
.subscribe-success-text { font-size: 14px; color: var(--slate-500); line-height: 1.7; margin-bottom: 20px; }

.subscribe-social-proof { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 13px; color: var(--slate-500); justify-content: center; }
.subscribe-avatars { display: flex; }
.subscribe-avatars span { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--white); margin-left: -8px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #fff; }
.subscribe-avatars span:first-child { margin-left: 0; }

.blog-empty { text-align: center; padding: 64px 24px; color: var(--slate-500); }

/* Author archive */
.author-avatar.has-author-image { background: transparent !important; overflow: hidden; }
.author-avatar.has-author-image img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

.author-profile-shell {
	background: linear-gradient(160deg, #f0f5ff 0%, #fff 55%, #faf5ff 100%);
	border-bottom: 1px solid var(--slate-200);
	padding: 64px 24px 56px;
}
.author-profile-card {
	max-width: 1200px;
	margin: 0 auto;
	background: var(--white);
	border: 1px solid var(--slate-200);
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow-sm);
	padding: 40px 44px;
	display: grid;
	grid-template-columns: 320px 1fr;
	gap: 44px;
	align-items: center;
}
.author-profile-media { display: flex; justify-content: center; }
.author-profile-avatar {
	font-size: 72px;
	border-radius: 180px;
	box-shadow: none;
}
.author-profile-avatar.has-author-image {
	width: auto;
	height: auto;
	border: 0;
	background: transparent !important;
	overflow: visible;
}
.author-profile-avatar.has-author-image img {
	width: auto;
	height: auto;
	max-width: none;
	max-height: none;
	object-fit: contain;
	border-radius: 180px;
}
.author-profile-content h1 {
	font-size: clamp(34px, 4.8vw, 54px);
	line-height: 1.12;
	font-weight: 600;
	color: var(--slate-900);
	margin: 8px 0 14px;
	letter-spacing: -.02em;
}
.author-profile-kicker {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--blue-50);
	color: var(--blue-600);
	border: 1px solid var(--blue-200);
	border-radius: 999px;
	padding: 5px 14px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .03em;
	text-transform: uppercase;
}
.author-profile-title {
	font-size: clamp(18px, 2.2vw, 24px);
	font-weight: 700;
	color: var(--slate-700);
	line-height: 1.25;
}
.author-profile-line,
.other-authors-line {
	height: 1px;
	background: var(--slate-200);
	margin: 22px 0 24px;
}
.author-profile-bio {
	max-width: 760px;
	font-size: 16px;
	line-height: 1.75;
	color: var(--slate-500);
	margin-bottom: 26px;
}
.author-linkedin-btn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	border: 1.5px solid rgba(10,102,194,.24);
	background: rgba(10,102,194,.04);
	color: #0a66c2;
	border-radius: var(--radius-md);
	padding: 12px 18px;
	font-size: 14px;
	font-weight: 700;
	transition: border-color .15s, background .15s, transform .15s;
}
.author-linkedin-btn:hover {
	border-color: rgba(10,102,194,.35);
	background: #fff;
	transform: translateY(-1px);
}
.author-linkedin-btn svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
	flex-shrink: 0;
}
.author-articles { padding-top: 56px; }

.other-authors-section {
	background: var(--slate-50);
	border-top: 1px solid var(--slate-200);
	padding: 64px 24px 80px;
}
.other-authors-inner {
	max-width: 1200px;
	margin: 0 auto;
}
.other-authors-inner h2 {
	color: var(--slate-900);
	font-size: clamp(24px, 3vw, 32px);
	line-height: 1.2;
	font-weight: 800;
	letter-spacing: -.02em;
}
.other-authors-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 28px;
}
.other-author-card {
	min-height: 220px;
	background: var(--white);
	border: 1px solid var(--slate-200);
	border-radius: var(--radius-lg);
	padding: 30px 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	box-shadow: var(--shadow-sm);
	transition: transform .22s, box-shadow .22s, border-color .22s;
}
.other-author-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
	border-color: var(--blue-200);
}
.other-author-avatar {
	width: 78px;
	height: 78px;
	font-size: 24px;
	margin-bottom: 20px;
	border-radius: 180px;
}
.other-author-avatar.has-author-image img {
	border-radius: 180px;
}
.other-author-name {
	font-size: 18px;
	line-height: 1.25;
	font-weight: 800;
	color: var(--slate-900);
}
.other-author-title {
	margin-top: 8px;
	font-size: 14px;
	line-height: 1.55;
	color: var(--slate-500);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
	.blog-grid { grid-template-columns: repeat(2, 1fr); }
	.featured-img .img-bg.img-fit-contain { background-size: cover !important; }
	.featured-card:hover .featured-img .img-bg.img-fit-contain { transform: scale(1.04); }
	.newsletter-strip { grid-template-columns: 1fr; gap: 28px; padding: 40px; }
	.subscribe-inner { grid-template-columns: 1fr; gap: 40px; }
	.author-profile-card { grid-template-columns: 260px 1fr; gap: 32px; padding: 34px; }
	.author-profile-avatar { width: 240px; height: 240px; font-size: 60px; }
	.other-authors-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
	.featured-card { grid-template-columns: 1fr; }
	.featured-img { min-height: 240px; }
	.featured-content { padding: 28px; }
	.blog-grid { grid-template-columns: 1fr; }
	.blog-hero-inner { flex-direction: column; align-items: flex-start; }
	.newsletter-strip { padding: 28px 22px; }
	.newsletter-form { width: 100%; }
	.newsletter-cf7-form .wpcf7-form { grid-template-columns: 1fr; }
	.newsletter-input { flex: 1; min-width: 0; }
	.subscribe-perks { grid-template-columns: 1fr; }
	.author-profile-shell { padding: 40px 18px; }
	.author-profile-card { grid-template-columns: 1fr; text-align: center; padding: 30px 22px; }
	.author-profile-avatar { width: 220px; height: 220px; font-size: 56px; }
	.author-profile-content h1 { font-size: 34px; }
	.author-profile-kicker,
	.author-linkedin-btn { margin-left: auto; margin-right: auto; }
	.author-profile-title { font-size: 20px; }
	.author-profile-bio { font-size: 16px; }
	.author-linkedin-btn { font-size: 14px; padding: 12px 16px; }
	.author-profile-line { margin: 20px 0 22px; }
	.other-authors-section { padding: 48px 18px 64px; }
	.other-authors-grid { grid-template-columns: 1fr; }
	.other-author-card { min-height: 200px; }
	.other-author-name { font-size: 18px; }
	.other-author-title { font-size: 14px; }
}

.author-profile-avatar.has-author-image,
.author-profile-avatar.has-author-image img {
	width: auto;
	height: auto;
	max-width: none;
	max-height: none;
}
