/*
Theme Name:   EazyResearch Blog
Theme URI:    https://eazyresearch.com/blog
Description:  Editorial blog design for EazyResearch, built as a child theme of Hello Elementor.
Author:       EazyResearch
Template:     hello-elementor
Version:      1.2.0
License:      GNU General Public License v2 or later
Text Domain:  er-blog
*/

/* ==========================================================
   1. Design tokens (change colours and fonts here)
   ========================================================== */
:root {
	--er-ink: #1b2a41;
	--er-body: #2f3e52;
	--er-muted: #5f6e83;
	--er-line: #dce2eb;
	--er-surface: #f3f5f9;
	--er-brand: rgb(210, 7, 50);
	--er-brand-dark: #000;
	--er-hl: #ffe066; /* highlighter yellow, the one signature accent */
	--er-serif: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--er-sans: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--er-poppins: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--e-global-typography-primary-font-family: 'Poppins';
	--e-global-typography-secondary-font-family: 'Poppins';
	--e-global-typography-text-font-family: 'Poppins';
	--e-global-typography-accent-font-family: 'Poppins';
	--er-radius: 6px;
	--er-wrap: 1160px;
	--er-read: 700px;
}

/* ==========================================================
   2. Base
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; }

body {
	margin: 0;
	background: #fff;
	color: var(--er-body);
	font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	font-size: 1rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--er-brand); text-decoration: none; }
a:hover { color: var(--er-brand-dark); }

h1, h2, h3, h4 {
	font-family: var(--er-serif);
	color: var(--er-ink);
	font-weight: 600;
	line-height: 1.2;
	margin: 0;
}

:focus-visible { outline: 2px solid var(--er-brand); outline-offset: 3px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto;
	top: 8px; left: 8px; z-index: 200;
	background: #fff; padding: 10px 16px; border-radius: var(--er-radius);
}

.er-wrap { width: min(100% - 40px, var(--er-wrap)); margin-inline: auto; }
.er-read { width: min(100% - 40px, var(--er-read)); margin-inline: auto; }
.er-main { min-height: 60vh; }
.er-section { padding: 64px 0 96px; }

/* ==========================================================
   3. Header
   ========================================================== */
.er-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .94);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--er-line);
}
.admin-bar .er-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .er-header { top: 46px; } }

.er-header__in {
	display: flex; align-items: center; justify-content: space-between;
	gap: 24px; min-height: 72px;
}
.er-brand__text {
	font-family: var(--er-serif);
	font-size: 1.55rem; font-weight: 700; letter-spacing: -.02em;
	color: var(--er-ink);
}
.er-brand__text:hover { color: var(--er-brand); }
.er-brand img { max-height: 44px; width: auto; }

.er-nav { display: flex; align-items: center; gap: 32px; }
.er-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.er-menu a { color: var(--er-body); font-weight: 500; font-size: .95rem; }
.er-menu a:hover,
.er-menu .current-menu-item > a,
.er-menu .current-cat > a { color: var(--er-brand); }

.er-btn {
	display: inline-block;
	background: var(--er-brand); color: #fff;
	font-weight: 600; font-size: .9rem; line-height: 1.2;
	padding: 11px 18px; border-radius: var(--er-radius);
	transition: background-color .2s;
}
.er-btn:hover, .er-btn:focus { background: var(--er-brand-dark); color: #fff; }

.er-burger {
	display: none; position: relative;
	width: 44px; height: 44px; padding: 0;
	background: #fff; border: 1px solid var(--er-line);
	border-radius: var(--er-radius); cursor: pointer;
}
.er-burger:hover, .er-burger:focus { background: #fff; border-color: var(--er-brand); }
.er-burger span,
.er-burger span::before,
.er-burger span::after {
	content: ''; position: absolute; width: 18px; height: 2px;
	background: var(--er-ink); border-radius: 2px;
}
.er-burger span { top: 20px; left: 12px; }
.er-burger span::before { top: -6px; left: 0; }
.er-burger span::after { top: 6px; left: 0; }

@media (max-width: 820px) {
	.er-burger { display: block; }
	.er-nav {
		display: none; position: absolute; top: 100%; left: 0; right: 0;
		flex-direction: column; align-items: stretch; gap: 20px;
		background: #fff; padding: 22px 20px 26px;
		border-bottom: 1px solid var(--er-line);
	}
	.er-nav.is-open { display: flex; }
	.er-menu { flex-direction: column; gap: 16px; }
	.er-btn { text-align: center; }
}

/* ==========================================================
   4. Masthead (home, archive, search)
   ========================================================== */
.er-masthead { padding: 72px 0 56px; border-bottom: 1px solid var(--er-line); }
.er-masthead__in {
	display: flex; flex-wrap: wrap; align-items: flex-end;
	justify-content: space-between; gap: 32px 48px;
}
.er-masthead h1 {
	font-size: clamp(2.4rem, 5.5vw, 4rem);
	line-height: 1.05; letter-spacing: -.025em; max-width: 18ch;
}
.er-masthead p { margin: 14px 0 0; max-width: 48ch; font-size: 1.15rem; color: var(--er-muted); }
.er-masthead .er-count { font-size: 1rem; }

.er-search {
	display: flex; width: min(100%, 380px);
	background: #fff; border: 1px solid var(--er-line); border-radius: var(--er-radius);
}
.er-search:focus-within { border-color: var(--er-brand); }
.er-search input[type=search] {
	flex: 1; min-width: 0; width: auto;
	border: 0; border-radius: var(--er-radius) 0 0 var(--er-radius);
	background: transparent; padding: 12px 14px;
	font: inherit; color: var(--er-ink); outline: 0;
}
.er-search input[type=search]:focus { border: 0; outline: 0; background: transparent; }
.er-search button {
	border: 0; margin: 4px; padding: 8px 16px;
	background: var(--er-brand); color: #fff;
	font: inherit; font-weight: 600; font-size: .9rem;
	border-radius: 4px; cursor: pointer;
}
.er-search button:hover, .er-search button:focus { background: var(--er-brand-dark); color: #fff; }

/* ==========================================================
   5. Article tiles
   ========================================================== */
.er-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 56px 40px;
}
.er-tile { display: flex; flex-direction: column; gap: 18px; }
.er-tile__media {
	display: block; position: relative; aspect-ratio: 3 / 2;
	background: var(--er-surface); border-radius: var(--er-radius); overflow: hidden;
}
.er-tile__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.er-tile__body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.er-tile__title { font-size: 20px; line-height: 1.2; }
.er-tile__title a {
	color: var(--er-ink);
	background: linear-gradient(var(--er-hl), var(--er-hl)) 0 100% / 0 .32em no-repeat;
	-webkit-box-decoration-break: clone; box-decoration-break: clone;
	transition: background-size .25s ease;
}
.er-tile__title a:hover,
.er-tile__title a:focus-visible { color: var(--er-ink); background-size: 100% .32em; }
.er-tile__excerpt { margin: 0; color: var(--er-muted); font-size: 14px; line-height: 1.6; }

.er-meta {
	display: flex; flex-wrap: wrap; gap: 4px 18px;
	margin: 4px 0 0; font-size: 13px; font-weight: 600; color: var(--er-muted);
}

/* Highlighter-style category label */
.er-tag {
	display: inline-block; padding: 0 2px;
	font-family: var(--er-sans); font-size: .85rem; font-weight: 600; line-height: 1.5;
	color: var(--er-ink);
	background: linear-gradient(transparent 55%, var(--er-hl) 55%);
}
.er-tag:hover { color: var(--er-ink); background: var(--er-hl); }

/* Lead tile (newest post on the blog home) */
.er-tile--lead { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 48px; }
.er-tile--lead .er-tile__media { flex: 0 0 58%; aspect-ratio: 16 / 10; }
.er-tile--lead .er-tile__body { gap: 14px; }
.er-tile--lead .er-tile__title { font-size: 2.6rem; line-height: 1.1; letter-spacing: -.015em; }
.er-tile--lead .er-tile__excerpt { font-size: 1.1rem; }

@media (max-width: 960px) {
	.er-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 32px; }
	.er-tile--lead { flex-direction: column; align-items: stretch; gap: 22px; }
	.er-tile--lead .er-tile__media { flex: none; }
	.er-tile--lead .er-tile__title { font-size: 2rem; }
}
@media (max-width: 640px) {
	.er-grid { grid-template-columns: 1fr; }
	.er-masthead { padding: 48px 0 40px; }
	.er-section { padding: 40px 0 64px; }
	.er-tile--lead .er-tile__title { font-size: 1.7rem; }
}

/* Pagination */
.er-loop { transition: opacity .2s ease; }
.er-loop--loading { opacity: .55; pointer-events: none; }
.pagination { margin-top: 72px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.page-numbers {
	min-width: 42px; padding: 8px 14px; text-align: center; line-height: 1.4;
	border: 1px solid var(--er-line); border-radius: var(--er-radius);
	color: var(--er-ink); font-weight: 500;
}
a.page-numbers:hover { border-color: var(--er-brand); color: var(--er-brand); }
.page-numbers.current { background: var(--er-ink); border-color: var(--er-ink); color: #fff; }
.page-numbers.dots { border-color: transparent; }

/* Empty state / 404 */
.er-empty { padding: 96px 0; text-align: left; }
.er-empty h1, .er-empty .er-empty__title { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 14px; }
.er-empty p { max-width: 52ch; color: var(--er-muted); font-size: 1.1rem; margin: 0 0 28px; }
.er-empty .er-search { margin-bottom: 20px; }

/* ==========================================================
   6. Single post
   ========================================================== */
.er-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 100; }
.admin-bar .er-progress { top: 32px; }
@media (max-width: 782px) { .admin-bar .er-progress { top: 46px; } }
.er-progress span {
	display: block; height: 100%; background: var(--er-brand);
	transform: scaleX(0); transform-origin: 0 50%;
}

.er-post__head { padding: 64px 0 36px; }
.er-post__title {
	font-size: 36px;
	line-height: 1.08; letter-spacing: -.02em; margin: 18px 0 20px;
}
.er-post__lead {
	margin: 0 0 28px; font-family: var(--er-serif);
	font-size: 18px; line-height: 1.5; font-style: italic; color: var(--er-muted);
}
.er-byline { display: flex; align-items: center; gap: 14px; font-size: .9rem; color: var(--er-muted); }
.er-byline img { border-radius: 50%; }
.er-byline a { color: var(--er-ink); font-weight: 600; }
.er-byline__info { display: flex; flex-direction: column; gap: 2px; }
.er-byline__when { display: flex; flex-wrap: wrap; gap: 0 16px; }

.er-post__cover { width: min(100% - 40px, 1000px); margin: 8px auto 56px; }
.er-post__cover img {
	width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--er-radius);
}

/* Article typography */
.er-prose {
	font-family: var(--er-serif);
	font-size: 14px; line-height: 1.8; color: #243247;
}
.er-prose > * { margin-top: 0; margin-bottom: 1.45em; }
.er-prose h2 { font-size: 24px; margin-bottom: .6em; letter-spacing: -.01em; }
.er-prose h3 { font-size: 1.5rem; margin-top: 1.9em; margin-bottom: .5em; }
.er-prose h4 { font-size: 1.25rem; margin-top: 1.6em; margin-bottom: .4em; }
.er-prose a {
	color: var(--er-brand);
	text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
}
.er-prose a:hover { background: var(--er-hl); color: var(--er-ink); }
.er-prose ul, .er-prose ol { padding-left: 1.4em; }
.er-prose li { margin-bottom: .45em; }
.er-prose strong { color: var(--er-ink); }
.er-prose blockquote {
	margin-inline: 0; padding: 4px 0 4px 26px;
	border-left: 4px solid var(--er-hl);
	font-size: 1.4rem; line-height: 1.5; font-style: italic; color: var(--er-ink);
}
.er-prose blockquote p { margin: 0 0 .6em; }
.er-prose img { border-radius: var(--er-radius); }
.er-prose figure { margin-inline: 0; }
.er-prose figcaption {
	margin-top: 10px; font-family: var(--er-sans);
	font-size: .85rem; color: var(--er-muted); text-align: left;
}
.er-prose hr { border: 0; border-top: 1px solid var(--er-line); margin: 2.6em 0; }
.er-prose pre {
	background: var(--er-ink); color: #e6ebf3;
	padding: 20px 22px; border-radius: var(--er-radius);
	overflow: auto; font-size: .9rem; line-height: 1.6;
}
.er-prose code {
	background: var(--er-surface); padding: 2px 6px; border-radius: 4px;
	font-size: .88em; color: var(--er-ink);
}
.er-prose pre code { background: none; padding: 0; color: inherit; }
.er-prose table {
	display: block; width: 100%; overflow-x: auto;
	border-collapse: collapse; font-family: var(--er-sans); font-size: .95rem;
}
.er-prose th, .er-prose td { border: 1px solid var(--er-line); padding: 10px 14px; text-align: left; }
.er-prose th { background: var(--er-surface); color: var(--er-ink); }

@media (max-width: 640px) {
	.er-post__head { padding: 40px 0 28px; }
	.er-prose { font-size: 1.12rem; }
	.er-prose h2 { font-size: 1.6rem; }
}

/* After the article */
.er-post__foot { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--er-line); }
.er-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.er-tags a {
	padding: 4px 12px; border: 1px solid var(--er-line); border-radius: var(--er-radius);
	font-size: .85rem; color: var(--er-body);
}
.er-tags a:hover { border-color: var(--er-brand); color: var(--er-brand); }

.er-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.er-share__label { margin-right: 6px; font-weight: 600; font-size: .9rem; color: var(--er-ink); }
.er-chip {
	display: inline-block; padding: 8px 14px;
	background: #fff; border: 1px solid var(--er-line); border-radius: var(--er-radius);
	font: inherit; font-size: .85rem; font-weight: 600; line-height: 1.3;
	color: var(--er-ink); cursor: pointer; white-space: normal;
}
.er-chip:hover, .er-chip:focus { background: #fff; border-color: var(--er-brand); color: var(--er-brand); }

.er-author {
	display: flex; gap: 20px; margin-top: 36px; padding-top: 28px;
	border-top: 1px solid var(--er-line);
}
.er-author img { flex: none; border-radius: 50%; }
.er-author h3 { font-size: 1.25rem; margin-bottom: 6px; }
.er-author p { margin: 0 0 8px; font-size: .95rem; color: var(--er-muted); }

.er-postnav { margin-top: 56px; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.post-navigation a {
	display: block; height: 100%; padding: 18px 22px;
	border: 1px solid var(--er-line); border-radius: var(--er-radius);
}
.post-navigation a:hover { border-color: var(--er-brand); }
.post-navigation .nav-next { grid-column: 2; text-align: right; }
.er-navlabel { display: block; font-size: .85rem; color: var(--er-muted); }
.er-navtitle {
	display: block; margin-top: 4px; font-family: var(--er-serif);
	font-size: 1.15rem; font-weight: 600; line-height: 1.3; color: var(--er-ink);
}
@media (max-width: 640px) {
	.post-navigation .nav-links { grid-template-columns: 1fr; }
	.post-navigation .nav-next { grid-column: 1; text-align: left; }
}

.er-related { display: none; margin-top: 72px; padding: 64px 0 80px; background: var(--er-surface); }
.er-related h2 { font-size: 2rem; margin-bottom: 36px; }

/* Comments (Hello Elementor outputs the markup) */
.er-comments { padding: 56px 0 0; display: none;}
.er-comments .comments-title, .er-comments .comment-reply-title { font-size: 1.6rem; margin-bottom: 20px; }
.er-comments .comment-list { list-style: none; padding: 0; margin: 0 0 32px; }
.er-comments .comment-list .children { list-style: none; padding-left: 28px; }
.er-comments .comment-body { padding: 20px 0; border-bottom: 1px solid var(--er-line); }
.er-comments .comment-meta { font-size: .85rem; color: var(--er-muted); margin-bottom: 8px; }
.er-comments textarea,
.er-comments input[type=text],
.er-comments input[type=email],
.er-comments input[type=url] {
	width: 100%; padding: 12px 14px; font: inherit;
	border: 1px solid var(--er-line); border-radius: var(--er-radius);
}
.er-comments input[type=submit] {
	width: auto; padding: 11px 22px; border: 0; cursor: pointer;
	background: var(--er-brand); color: #fff; font: inherit; font-weight: 600;
	border-radius: var(--er-radius);
}
.er-comments input[type=submit]:hover { background: var(--er-brand-dark); color: #fff; }

/* ==========================================================
   7. Footer — clean two-row layout from the supplied reference
   ========================================================== */
.er-footer {
	background: #f5f5f5;
	color: #8491a2;
	padding: 36px 0 46px;
	font-family: var(--er-sans);
}
.er-footer .er-wrap {
	width: min(100% - 48px, 1066px);
}
.er-footer a { color: #53677f; text-decoration: none; }
.er-footer a:hover { color: #24364d; text-decoration: none; }
.er-footer__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 4px 15px 34px;
	border-bottom: 1px solid #dedede;
}
.er-footer__nav { display: block; min-width: 0; }
.er-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0;
}
.er-footer__menu li { display: inline-flex; align-items: center; }
.er-footer__menu li + li::before {
	content: "/";
	color: #d1d6dc;
	margin: 0 11px;
}
.er-footer__menu a {
	color: #53677f;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
	white-space: nowrap;
}
.er-footer__menu a:hover { color: #172d46; }
.er-footer__phone {
	flex: 0 0 auto;
	color: #596b80 !important;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	white-space: nowrap;
}
.er-footer__phone-label { font-weight: 700; }
.er-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 18px 15px 0;
	color: #8b98a8;
}
.er-footer__copyright {
	margin: 0;
	color: #8b98a8;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.6;
}
.er-footer__social {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 13px;
	color: #9aa5b2;
}
.er-footer__social-link,
.er-footer__social-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 15px;
	height: 18px;
	color: #9aa5b2 !important;
	line-height: 1;
}
.er-footer__social-link:hover { color: #53677f !important; }
.er-footer__social svg { display: block; width: 16px; height: 16px; }

@media (max-width: 640px) {
	.er-footer { padding: 28px 0 30px; }
	.er-footer .er-wrap { width: min(100% - 36px, 1066px); }
	.er-footer__top { align-items: flex-start; flex-direction: column; gap: 16px; padding: 0 4px 22px; }
	.er-footer__menu { row-gap: 8px; }
	.er-footer__menu li + li::before { margin: 0 8px; }
	.er-footer__menu a { font-size: 12px; }
	.er-footer__phone { font-size: 13px; }
	.er-footer__bottom { align-items: flex-start; flex-direction: column; gap: 14px; padding: 16px 4px 0; }
	.er-footer__social { justify-content: flex-start; }
}

/* ==========================================================
   8. Reduced motion
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================
   9. Sticky sidebar with the contact form (single posts)
   ========================================================== */
:root {
	--er-red: #d10630;
}

.er-layout--aside {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 56px;
	padding-top: 64px;
}
.er-layout--aside .er-post__head { padding-top: 0; }
.er-layout--aside .er-read { width: 100%; margin-inline: 0; }
.er-layout--aside .er-post__cover { width: 100%; margin: 8px 0 48px; }

.er-aside__sticky { position: sticky; top: 96px; }
.admin-bar .er-aside__sticky { top: 128px; }

.er-aside__card {
	padding: 38px 26px 34px;
	background-color: var(--er-red);
	background-image: linear-gradient(155deg, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, .16) 100%);
	border-radius: 44px;
	color: #fff; text-align: center;
	font-family: var(--er-poppins);
}
.er-aside__card .er-widget + .er-widget { margin-top: 20px; }
.er-aside__card h2,
.er-aside__card h3,
.er-aside__card .er-widget__title {
	margin: 0 0 12px;
	font-family: var(--er-poppins); font-size: 1.75rem; font-weight: 700; line-height: 1.2;
	color: #fff;
}
.er-aside__card .er-aside__sub { margin: 0 0 24px; font-size: 1.3rem; line-height: 1.3; font-weight: 400; color: #fff; }
.er-aside__card p { margin: 0 0 12px; }
.er-aside__card a { color: #fff; text-decoration: underline; }

/* Contact Form 7 fields */
.er-aside__card .wpcf7-form-control-wrap { display: block; }
.er-aside__card input[type=text],
.er-aside__card input[type=email],
.er-aside__card input[type=tel],
.er-aside__card input[type=url],
.er-aside__card input[type=number],
.er-aside__card textarea {
	display: block; width: 100%; margin: 0; padding: 12px 16px;
	background: #fff; border: 1px solid #fff; border-radius: 2px;
	font: 400 .95rem/1.4 var(--er-poppins); color: var(--er-ink); text-align: left;
}
.er-aside__card textarea { height: 120px; resize: vertical; }
.er-aside__card input::placeholder,
.er-aside__card textarea::placeholder { color: #6b7280; opacity: 1; }
.er-aside__card input:focus,
.er-aside__card textarea:focus { outline: 2px solid var(--er-hl); outline-offset: 2px; border-color: #fff; background: #fff; }
.er-aside__card .iti { display: block; width: 100%; }

.er-aside__card input[type=submit],
.er-aside__card button[type=submit] {
	width: auto; margin: 6px 0 0; padding: 12px 30px;
	background: #000; color: #fff; border: 0; border-radius: 0; cursor: pointer;
	font: 700 .8rem/1.2 var(--er-poppins); letter-spacing: .08em; text-transform: uppercase;
}
.er-aside__card input[type=submit]:hover,
.er-aside__card input[type=submit]:focus,
.er-aside__card button[type=submit]:hover,
.er-aside__card button[type=submit]:focus { background: #222; color: #fff; }

.er-aside__card .wpcf7-not-valid-tip {
	margin-top: 4px; padding: 3px 8px; border-radius: 2px;
	background: rgba(0, 0, 0, .28); color: #fff; font-size: .8rem; text-align: left;
}
.er-aside__card .wpcf7 form .wpcf7-response-output {
	margin: 16px 0 0; padding: 10px 12px; border: 0; border-radius: 4px;
	background: rgba(0, 0, 0, .28); color: #fff; font-size: .85rem;
}

@media (max-width: 1024px) {
	.er-layout--aside { display: block; padding-top: 40px; }
	.er-aside { margin-top: 56px; }
	.er-aside__sticky { position: static; max-width: 420px; margin-inline: auto; }
}
