:root {
	--aa-ink: #17212b;
	--aa-soft-ink: #425161;
	--aa-card: #ffffff;
	--aa-line: #d7dee8;
	--aa-accent: #b4551d;
	--aa-accent-dark: #8c3f10;
	--aa-accent-soft: #f8e7da;
	--aa-teal: #0d6b6d;
	--aa-shadow: 0 24px 48px rgba(23, 33, 43, 0.08);
}

.aa-custom-home-active .inside-article {
	padding: 0;
	background: transparent;
	box-shadow: none;
}

.aa-money-page-active .entry-header {
	display: none;
}

.aa-custom-home-active .entry-content {
	margin-top: 0;
}

.aa-home {
	color: var(--aa-ink);
}

.aa-money-page {
	color: var(--aa-ink);
}

.aa-post-hero {
	margin: 0 0 28px;
}

.aa-post-hero__frame {
	background: linear-gradient(180deg, #fffdfa 0%, #eff4f9 100%);
	border: 1px solid var(--aa-line);
	border-radius: 24px;
	box-shadow: var(--aa-shadow);
	overflow: hidden;
}

.aa-post-hero img {
	display: block;
	height: auto;
	margin: 0;
	max-width: 100%;
	width: 100%;
}

.aa-post-hero--money {
	margin-bottom: 32px;
}

.aa-hero,
.aa-section,
.aa-ad-section {
	background: var(--aa-card);
	border: 1px solid var(--aa-line);
	border-radius: 28px;
	box-shadow: var(--aa-shadow);
	margin-bottom: 28px;
	overflow: hidden;
}

.aa-money-hero {
	background:
		radial-gradient(circle at top left, rgba(180, 85, 29, 0.13), transparent 34%),
		radial-gradient(circle at bottom right, rgba(13, 107, 109, 0.12), transparent 30%),
		linear-gradient(135deg, #fffdf9 0%, #eef4fa 100%);
	border: 1px solid var(--aa-line);
	border-radius: 28px;
	box-shadow: var(--aa-shadow);
	display: grid;
	gap: 22px;
	grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
	margin-bottom: 28px;
	padding: 34px;
}

.aa-money-hero__aside {
	display: flex;
}

.aa-money-panel {
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(180, 85, 29, 0.18);
	border-radius: 22px;
	padding: 22px;
	width: 100%;
}

.aa-money-panel h2 {
	font-size: 1.35rem;
	line-height: 1.2;
	margin-bottom: 14px;
}

.aa-hero {
	background:
		radial-gradient(circle at top left, rgba(180, 85, 29, 0.12), transparent 35%),
		radial-gradient(circle at bottom right, rgba(13, 107, 109, 0.12), transparent 32%),
		linear-gradient(135deg, #fbfdff 0%, #eef4fa 100%);
	display: grid;
	gap: 24px;
	grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
	padding: 36px;
}

.aa-badge {
	background: var(--aa-accent-soft);
	border: 1px solid rgba(180, 85, 29, 0.18);
	border-radius: 999px;
	color: var(--aa-accent-dark);
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.02em;
	margin-bottom: 18px;
	padding: 9px 14px;
	text-transform: uppercase;
}

.aa-hero h1 {
	color: var(--aa-ink);
	font-size: clamp(2.2rem, 4vw, 3.7rem);
	line-height: 1.04;
	margin-bottom: 18px;
}

.aa-lead {
	color: var(--aa-soft-ink);
	font-size: 1.08rem;
	line-height: 1.7;
	margin-bottom: 22px;
	max-width: 64ch;
}

.aa-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 22px;
}

.aa-button {
	border-radius: 999px;
	display: inline-flex;
	font-size: 15px;
	font-weight: 700;
	gap: 8px;
	padding: 14px 20px;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.aa-button:hover,
.aa-button:focus {
	transform: translateY(-1px);
}

.aa-button--primary {
	background: var(--aa-accent);
	box-shadow: 0 16px 32px rgba(180, 85, 29, 0.2);
	color: #fff;
}

.aa-button--primary:hover,
.aa-button--primary:focus {
	background: var(--aa-accent-dark);
	color: #fff;
}

.aa-button--secondary {
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid var(--aa-line);
	color: var(--aa-ink);
}

.aa-button--secondary:hover,
.aa-button--secondary:focus {
	background: #fff;
	color: var(--aa-ink);
}

.aa-trust-list {
	display: grid;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.aa-trust-list li {
	color: var(--aa-soft-ink);
	font-size: 15px;
	padding-left: 28px;
	position: relative;
}

.aa-trust-list li::before {
	background: linear-gradient(135deg, var(--aa-teal), #2aa8a0);
	border-radius: 50%;
	content: "";
	height: 12px;
	left: 4px;
	position: absolute;
	top: 8px;
	width: 12px;
}

.aa-hero__media {
	align-items: center;
	display: flex;
	justify-content: center;
}

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

.aa-hero .code-block,
.aa-hero .adsbygoogle,
.aa-hero script[src*="pagead2.googlesyndication.com"] {
	display: none !important;
}

.aa-section,
.aa-ad-section {
	padding: 32px;
}

.aa-ad-slot-wrap {
	margin: 16px 0 28px;
}

.aa-ad-slot {
	background: linear-gradient(180deg, #fffdfa 0%, #f4efe7 100%);
	border: 1px solid rgba(180, 85, 29, 0.14);
	border-radius: 24px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
	padding: 18px;
}

.aa-ad-slot--article-top,
.aa-ad-slot--article-mid {
	margin: 28px 0;
}

.aa-ad-slot ins {
	min-height: 110px;
}

.aa-faq-list {
	display: grid;
	gap: 16px;
}

.aa-faq-item {
	background: #ffffff;
	border: 1px solid var(--aa-line);
	border-radius: 18px;
	padding: 18px;
}

.aa-faq-item h3 {
	font-size: 1.05rem;
	line-height: 1.35;
	margin-bottom: 8px;
}

.aa-faq-item p {
	color: var(--aa-soft-ink);
	line-height: 1.65;
	margin-bottom: 0;
}

.aa-related-routes {
	background: linear-gradient(180deg, #fffaf4 0%, #ffffff 100%);
	border: 1px solid rgba(180, 85, 29, 0.18);
	border-radius: 24px;
	box-shadow: 0 20px 40px rgba(23, 33, 43, 0.06);
	margin: 34px 0 12px;
	padding: 24px;
}

.aa-related-routes__header {
	margin-bottom: 18px;
}

.aa-related-routes__header h2 {
	font-size: clamp(1.4rem, 2.5vw, 1.85rem);
	line-height: 1.15;
	margin-bottom: 8px;
}

.aa-related-routes__header p {
	color: var(--aa-soft-ink);
	line-height: 1.65;
	margin-bottom: 0;
}

.aa-related-routes__grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.aa-related-routes__card {
	background: #ffffff;
	border: 1px solid var(--aa-line);
	border-radius: 18px;
	color: var(--aa-ink);
	display: grid;
	gap: 8px;
	padding: 18px;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.aa-related-routes__card strong {
	font-size: 1rem;
	line-height: 1.35;
}

.aa-related-routes__card span {
	color: var(--aa-soft-ink);
	font-size: 0.96rem;
	line-height: 1.55;
}

.aa-related-routes__card:hover,
.aa-related-routes__card:focus {
	border-color: rgba(180, 85, 29, 0.35);
	box-shadow: 0 12px 28px rgba(23, 33, 43, 0.08);
	transform: translateY(-1px);
}

.aa-section__heading {
	margin-bottom: 24px;
}

.aa-section__heading h2,
.aa-panel h2,
.aa-ad-section h2 {
	font-size: clamp(1.6rem, 3vw, 2.25rem);
	line-height: 1.1;
	margin-bottom: 10px;
}

.aa-section__heading p,
.aa-panel p,
.aa-ad-section p {
	color: var(--aa-soft-ink);
	line-height: 1.7;
	margin-bottom: 0;
}

.aa-guide-grid,
.aa-topic-grid {
	display: grid;
	gap: 18px;
}

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

.aa-guide-card,
.aa-topic-card,
.aa-panel {
	background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
	border: 1px solid var(--aa-line);
	border-radius: 22px;
	padding: 22px;
}

.aa-guide-card__icon {
	height: 60px;
	margin-bottom: 14px;
	width: 60px;
}

.aa-guide-card h3,
.aa-topic-card h3 {
	font-size: 1.1rem;
	line-height: 1.3;
	margin-bottom: 10px;
}

.aa-guide-card p {
	color: var(--aa-soft-ink);
	line-height: 1.65;
	margin-bottom: 12px;
}

.aa-inline-link {
	color: var(--aa-accent-dark);
	font-weight: 700;
	text-decoration: none;
}

.aa-inline-link:hover,
.aa-inline-link:focus {
	text-decoration: underline;
}

.aa-ad-section {
	background:
		linear-gradient(135deg, rgba(13, 107, 109, 0.08), rgba(180, 85, 29, 0.08)),
		var(--aa-card);
}

.aa-ad-section__intro {
	margin-bottom: 18px;
}

.aa-revenue-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.aa-revenue-card {
	background: rgba(255, 255, 255, 0.94);
	border: 1px dashed rgba(23, 33, 43, 0.16);
	border-radius: 20px;
	color: var(--aa-ink);
	display: grid;
	gap: 8px;
	padding: 18px;
	text-decoration: none;
}

.aa-revenue-card strong {
	font-size: 1.02rem;
}

.aa-revenue-card span {
	color: var(--aa-soft-ink);
	line-height: 1.6;
}

.aa-revenue-card:hover,
.aa-revenue-card:focus {
	border-color: rgba(180, 85, 29, 0.35);
	box-shadow: 0 10px 24px rgba(23, 33, 43, 0.08);
}

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

.aa-topic-card ul,
.aa-check-list {
	display: grid;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.aa-topic-card li,
.aa-check-list li {
	padding-left: 20px;
	position: relative;
}

.aa-topic-card li::before,
.aa-check-list li::before {
	color: var(--aa-teal);
	content: "•";
	font-size: 22px;
	left: 0;
	line-height: 1;
	position: absolute;
	top: -2px;
}

.aa-topic-card a {
	color: var(--aa-ink);
	text-decoration: none;
}

.aa-topic-card a:hover,
.aa-topic-card a:focus {
	color: var(--aa-accent-dark);
	text-decoration: underline;
}

.aa-section--split {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.aa-panel--accent {
	background:
		radial-gradient(circle at top right, rgba(180, 85, 29, 0.12), transparent 32%),
		linear-gradient(180deg, #fffaf6 0%, #ffffff 100%);
}

@media (max-width: 1024px) {
	.aa-hero,
	.aa-money-hero {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.aa-hero,
	.aa-money-hero,
	.aa-section,
	.aa-ad-section {
		border-radius: 20px;
		padding: 22px;
	}

	.aa-guide-grid,
	.aa-revenue-grid,
	.aa-topic-grid,
	.aa-section--split,
	.aa-related-routes__grid {
		grid-template-columns: 1fr;
	}

	.aa-hero h1 {
		font-size: 2rem;
	}

	.aa-post-hero img {
		margin: 0;
		width: 100%;
	}
}
