/**
 * Gerador de Fontes: site layer.
 * Design tokens, light/dark themes, header, footer and article tools.
 * Theme is set on <html data-gdf-theme="light|dark"> before first paint.
 */

/* ---------- Tokens ---------- */
:root,
html[data-gdf-theme="light"] {
	--gdfs-bg: #ffffff;
	--gdfs-bg-soft: #f6f6fb;
	--gdfs-surface: #ffffff;
	--gdfs-ink: #171a2b;
	--gdfs-text: #3a3f55;
	--gdfs-muted: #646a82;
	--gdfs-line: #e6e7f0;
	--gdfs-accent: #c8177a;
	--gdfs-accent-2: #7c3aed;
	--gdfs-accent-ink: #a3105f;
	--gdfs-grad: linear-gradient(120deg, #7c3aed 0%, #c026d3 50%, #db2777 100%);
	--gdfs-header-bg: rgba(255, 255, 255, 0.86);
	--gdfs-shadow: 0 1px 2px rgba(23, 26, 43, 0.06), 0 12px 32px -18px rgba(23, 26, 43, 0.28);
	--gdfs-radius: 16px;
	--gdfs-footer-bg: #11122a;
	--gdfs-footer-ink: #eceaff;
	--gdfs-footer-muted: #b3b1d6;
	--gdfs-top: 0px;
	color-scheme: light;
}

html[data-gdf-theme="dark"] {
	--gdfs-bg: #0f1019;
	--gdfs-bg-soft: #151724;
	--gdfs-surface: #171926;
	--gdfs-ink: #f1f2f8;
	--gdfs-text: #c9ccdc;
	--gdfs-muted: #9a9fb8;
	--gdfs-line: #2a2d42;
	--gdfs-accent: #f472b6;
	--gdfs-accent-2: #a78bfa;
	--gdfs-accent-ink: #f9a8d4;
	--gdfs-header-bg: rgba(15, 16, 25, 0.82);
	--gdfs-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 14px 34px -18px rgba(0, 0, 0, 0.85);
	--gdfs-footer-bg: #0a0b14;
	--gdfs-footer-ink: #eceaff;
	--gdfs-footer-muted: #9d9bc4;
	color-scheme: dark;

	/* Astra palette */
	--ast-global-color-0: #f472b6;
	--ast-global-color-1: #f9a8d4;
	--ast-global-color-2: #f1f2f8;
	--ast-global-color-3: #c9ccdc;
	--ast-global-color-4: #151724;
	--ast-global-color-5: #0f1019;
	--ast-global-color-6: #2a2d42;
	--ast-global-color-7: #3a3e57;
	--ast-global-color-8: #9a9fb8;
}

body.admin-bar {
	--gdfs-top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar {
		--gdfs-top: 46px;
	}
}

/* ---------- Base ---------- */
html {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body.gdf-site,
body.gdf-site #page,
body.gdf-site .site-content,
body.gdf-site.ast-plain-container .site-content {
	background-color: var(--gdfs-bg);
	color: var(--gdfs-text);
}

body.gdf-site ::selection {
	background: rgba(200, 23, 122, 0.22);
}

body.gdf-site .entry-content h2,
body.gdf-site .entry-content h3,
body.gdf-site .entry-content h4,
body.gdf-site .entry-title {
	color: var(--gdfs-ink);
	letter-spacing: -0.015em;
}

body.gdf-site .entry-content :is(h2, h3) {
	scroll-margin-top: calc(var(--gdfs-top) + 96px);
}

body.gdf-site .entry-content h2 {
	font-size: clamp(1.45rem, 1.1rem + 1.2vw, 1.9rem);
	font-weight: 800;
	line-height: 1.25;
	margin-top: 1.8em;
}

body.gdf-site .entry-content h3 {
	font-size: clamp(1.15rem, 1rem + 0.6vw, 1.38rem);
	font-weight: 750;
	line-height: 1.3;
	margin-top: 1.7em;
}

body.gdf-site .entry-content p,
body.gdf-site .entry-content li {
	line-height: 1.75;
}

body.gdf-site .entry-content :where(a:not(.gdf-card):not(.gdf-share-btn):not(.wp-block-button__link)) {
	color: var(--gdfs-accent-ink);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

body.gdf-site .entry-content :where(a:not(.gdf-card):not(.gdf-share-btn):not(.wp-block-button__link)):hover {
	color: var(--gdfs-accent);
}

/* Tables */
body.gdf-site .entry-content .wp-block-table,
body.gdf-site .entry-content figure.wp-block-table {
	margin: 1.4em 0;
	overflow-x: auto;
	border: 1px solid var(--gdfs-line);
	border-radius: var(--gdfs-radius);
	background: var(--gdfs-surface);
	box-shadow: var(--gdfs-shadow);
}

body.gdf-site .entry-content .wp-block-table table {
	margin: 0;
	border: 0;
	border-collapse: collapse;
	width: 100%;
}

body.gdf-site .entry-content .wp-block-table :is(th, td) {
	padding: 12px 16px;
	border: 0;
	border-bottom: 1px solid var(--gdfs-line);
	color: var(--gdfs-text);
	text-align: left;
	vertical-align: top;
}

body.gdf-site .entry-content .wp-block-table thead th,
body.gdf-site .entry-content .wp-block-table tr:first-child th {
	background: var(--gdfs-bg-soft);
	color: var(--gdfs-ink);
	font-weight: 700;
}

body.gdf-site .entry-content .wp-block-table tr:last-child td {
	border-bottom: 0;
}

/* Lists */
body.gdf-site .entry-content ol.wp-block-list li::marker,
body.gdf-site .entry-content ul.wp-block-list li::marker {
	color: var(--gdfs-accent);
	font-weight: 700;
}

/* ---------- Header ---------- */
body.gdf-site .site-header {
	position: sticky;
	top: var(--gdfs-top);
	z-index: 99;
	transition: box-shadow 0.2s ease;
}

body.gdf-site .site-header .main-header-bar,
body.gdf-site .site-header .ast-primary-header-bar {
	background: var(--gdfs-header-bg);
	-webkit-backdrop-filter: saturate(160%) blur(12px);
	backdrop-filter: saturate(160%) blur(12px);
	border-bottom: 1px solid var(--gdfs-line);
}

body.gdf-site .site-header.gdf-scrolled {
	box-shadow: 0 10px 30px -20px rgba(23, 26, 43, 0.45);
}

body.gdf-site .site-header .site-title,
body.gdf-site .site-header .site-title a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 800;
	letter-spacing: -0.02em;
	text-decoration: none;
}

body.gdf-site .site-header .site-title a {
	color: var(--gdfs-ink);
}

body.gdf-site .site-header .site-title a:hover {
	color: var(--gdfs-ink);
}

body.gdf-site .gdf-brand-icon {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	box-shadow: 0 6px 16px -8px rgba(124, 58, 237, 0.7);
	flex: none;
}

body.gdf-site .main-header-menu > .menu-item > .menu-link {
	color: var(--gdfs-ink);
	font-weight: 600;
	border-radius: 999px;
	transition: background-color 0.15s ease, color 0.15s ease;
}

@media (min-width: 922px) {
	body.gdf-site .main-header-menu > .menu-item > .menu-link {
		padding: 8px 14px;
		margin: 0 2px;
		line-height: 1.4;
	}
}

body.gdf-site .main-header-menu > .menu-item > .menu-link:hover,
body.gdf-site .main-header-menu > .menu-item.focus > .menu-link,
body.gdf-site .main-header-menu > .current-menu-item > .menu-link,
body.gdf-site .main-header-menu > .current-menu-ancestor > .menu-link {
	background: rgba(200, 23, 122, 0.08);
	color: var(--gdfs-accent-ink);
}

body.gdf-site .main-header-menu .sub-menu {
	background: var(--gdfs-surface);
	border: 1px solid var(--gdfs-line) !important;
	border-radius: 14px;
	box-shadow: var(--gdfs-shadow);
	padding: 8px;
	overflow: hidden;
}

body.gdf-site .main-header-menu .sub-menu .menu-link {
	color: var(--gdfs-text);
	border-radius: 10px;
	padding: 10px 14px;
	font-weight: 500;
}

body.gdf-site .main-header-menu .sub-menu .menu-link:hover,
body.gdf-site .main-header-menu .sub-menu .current-menu-item > .menu-link {
	background: var(--gdfs-bg-soft);
	color: var(--gdfs-accent-ink);
}

body.gdf-site .main-header-menu .menu-link .ast-icon svg,
body.gdf-site .main-header-menu .dropdown-menu-toggle svg {
	fill: currentColor;
}

/* Mobile header */
body.gdf-site .ast-mobile-header-content,
body.gdf-site #ast-mobile-header .ast-mobile-header-content {
	background: var(--gdfs-surface);
	border-bottom: 1px solid var(--gdfs-line);
}

body.gdf-site .ast-mobile-header-content .menu-link,
body.gdf-site .ast-header-break-point .main-header-menu .menu-link {
	color: var(--gdfs-ink);
	border-color: var(--gdfs-line) !important;
}

body.gdf-site .ast-mobile-header-content .sub-menu,
body.gdf-site .ast-header-break-point .main-header-menu .sub-menu {
	background: var(--gdfs-bg-soft);
	border: 0 !important;
	box-shadow: none;
	border-radius: 0;
}

body.gdf-site .ast-mobile-menu-trigger-minimal,
body.gdf-site .menu-toggle {
	color: var(--gdfs-ink) !important;
	background: transparent !important;
}

body.gdf-site .menu-toggle .ast-mobile-svg,
body.gdf-site .menu-toggle svg {
	fill: currentColor !important;
}

/* Theme toggle */
.gdf-theme-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: 0 0 0 10px;
	padding: 0;
	border: 1px solid var(--gdfs-line);
	border-radius: 999px;
	background: var(--gdfs-surface);
	color: var(--gdfs-ink);
	cursor: pointer;
	flex: none;
	transition: transform 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.gdf-theme-toggle:hover {
	border-color: var(--gdfs-accent);
	color: var(--gdfs-accent-ink);
	background: var(--gdfs-surface);
	transform: rotate(-12deg);
}

.gdf-theme-toggle:focus-visible {
	outline: 3px solid rgba(200, 23, 122, 0.45);
	outline-offset: 2px;
}

#ast-mobile-header .gdf-theme-toggle {
	margin: 0 6px 0 0;
}

.gdf-theme-toggle .gdf-ico-moon {
	display: block;
}

.gdf-theme-toggle .gdf-ico-sun {
	display: none;
}

html[data-gdf-theme="dark"] .gdf-theme-toggle .gdf-ico-moon {
	display: none;
}

html[data-gdf-theme="dark"] .gdf-theme-toggle .gdf-ico-sun {
	display: block;
	color: #fcd34d;
}

.gdf-theme-toggle-floating {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 9999;
	box-shadow: var(--gdfs-shadow);
}

/* ---------- Page header ---------- */
body.gdf-site .entry-header {
	margin-bottom: 1.2em;
}

body.gdf-site .entry-title {
	font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem);
	font-weight: 850;
	line-height: 1.15;
}

body.gdf-site.home .entry-header {
	text-align: center;
	padding: clamp(10px, 3vw, 28px) 0 4px;
}

body.gdf-site.home .entry-title {
	background: var(--gdfs-grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-size: clamp(2rem, 1.3rem + 2.8vw, 3.1rem);
}

.gdf-breadcrumbs {
	margin: 0 0 10px;
	font-size: 14px;
}

.gdf-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--gdfs-muted);
}

.gdf-breadcrumbs li {
	margin: 0;
}

.gdf-breadcrumbs li + li::before {
	content: "›";
	margin: 0 6px 0 2px;
	color: var(--gdfs-muted);
}

.gdf-breadcrumbs a {
	color: var(--gdfs-muted);
	text-decoration: none;
}

.gdf-breadcrumbs a:hover {
	color: var(--gdfs-accent-ink);
	text-decoration: underline;
}

.gdf-page-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
	margin: -4px 0 18px;
	color: var(--gdfs-muted);
	font-size: 14px;
}

.gdf-page-meta strong {
	color: var(--gdfs-ink);
	font-weight: 650;
}

.gdf-page-meta-avatar {
	width: 28px;
	height: 28px;
	border-radius: 8px;
}

.gdf-dot {
	opacity: 0.6;
}

/* ---------- Generator (dark/light sync) ---------- */
html[data-gdf-theme="dark"] .gdf-app {
	--gdf-bg: #151724;
	--gdf-surface: #1b1d2c;
	--gdf-ink: #eef0f7;
	--gdf-muted: #a6abc4;
	--gdf-line: #2c2f45;
	--gdf-hover: #22253a;
	--gdf-ok: #4cc38a;
	--gdf-mid: #f0a640;
	--gdf-low: #ff8079;
	--gdf-accent: #f472b6;
	--gdf-on-accent: #1a0b14;
	--gdf-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 30px -16px rgba(0, 0, 0, 0.75);
	color-scheme: dark;
}

html[data-gdf-theme="light"] .gdf-app.gdf-theme-auto,
html[data-gdf-theme="light"] .gdf-app.gdf-theme-dark {
	--gdf-bg: #f3f4f8;
	--gdf-surface: #ffffff;
	--gdf-ink: #161827;
	--gdf-muted: #555a72;
	--gdf-line: #dfe1eb;
	--gdf-hover: #f7f8fb;
	--gdf-ok: #187a4d;
	--gdf-mid: #a65b00;
	--gdf-low: #c42b2b;
	--gdf-shadow: 0 1px 2px rgba(22, 24, 39, 0.06), 0 10px 28px -14px rgba(22, 24, 39, 0.22);
	color-scheme: light;
}

body.gdf-site .gdf-app {
	border: 1px solid var(--gdfs-line);
	box-shadow: var(--gdfs-shadow);
}

.gdf-app .gdf-title.gdf-title-dup {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* Quick symbols */
.gdf-app .gdf-quick {
	margin: 14px 0 4px;
}

.gdf-app .gdf-quick-label {
	display: block;
	margin: 0 0 6px;
	color: var(--gdf-muted);
	font-size: 13px;
	font-weight: 600;
}

.gdf-app .gdf-quick-row {
	display: flex;
	gap: 6px;
	overflow-x: auto;
	padding: 2px 2px 8px;
	scrollbar-width: thin;
	-webkit-overflow-scrolling: touch;
}

.gdf-app .gdf-quick-btn {
	flex: none;
	min-width: 40px;
	height: 40px;
	margin: 0;
	padding: 0 8px;
	border: 1px solid var(--gdf-line);
	border-radius: 10px;
	background: var(--gdf-surface);
	color: var(--gdf-ink);
	font: inherit;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	transition: border-color 0.15s ease, transform 0.15s ease;
}

.gdf-app .gdf-quick-btn:hover {
	border-color: var(--gdf-accent);
	transform: translateY(-1px);
	background: var(--gdf-surface);
	color: var(--gdf-ink);
}

.gdf-app .gdf-quick-btn:focus-visible {
	outline: 3px solid var(--gdf-accent-soft);
	outline-offset: 1px;
}

/* Copy grids */
html[data-gdf-theme="dark"] .gdf-copy-grid {
	--gdf-accent: #f472b6;
	--gdf-on-accent: #1a0b14;
}

body.gdf-site .gdf-copy-grid .gdf-copy {
	background: var(--gdfs-surface);
	border-color: var(--gdfs-line);
	color: var(--gdfs-ink);
}

body.gdf-site .gdf-copy-grid .gdf-copy:hover {
	border-color: var(--gdfs-accent);
}

/* Hub page lists as cards */
body.gdf-site .entry-content .wp-block-page-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 12px;
	margin: 1.2em 0 2em;
	padding: 0;
	list-style: none;
}

body.gdf-site .entry-content .wp-block-page-list li {
	margin: 0;
}

body.gdf-site .entry-content .wp-block-page-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	height: 100%;
	padding: 16px 18px;
	border: 1px solid var(--gdfs-line);
	border-radius: var(--gdfs-radius);
	background: var(--gdfs-surface);
	box-shadow: var(--gdfs-shadow);
	color: var(--gdfs-ink);
	font-weight: 700;
	text-decoration: none;
	transition: transform 0.15s ease, border-color 0.15s ease;
}

body.gdf-site .entry-content .wp-block-page-list a::after {
	content: "→";
	color: var(--gdfs-accent);
}

body.gdf-site .entry-content .wp-block-page-list a:hover {
	transform: translateY(-2px);
	border-color: var(--gdfs-accent);
	color: var(--gdfs-ink);
}

/* ---------- Article tools ---------- */
.gdf-toc {
	margin: 1.6em 0;
	border: 1px solid var(--gdfs-line);
	border-radius: var(--gdfs-radius);
	background: var(--gdfs-bg-soft);
}

.gdf-toc summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 14px 18px;
	cursor: pointer;
	list-style: none;
	color: var(--gdfs-ink);
	font-weight: 750;
}

.gdf-toc summary::-webkit-details-marker {
	display: none;
}

.gdf-toc summary::after {
	content: "+";
	font-size: 20px;
	line-height: 1;
	color: var(--gdfs-accent);
}

.gdf-toc details[open] summary::after {
	content: "−";
}

.gdf-toc-count {
	margin-left: auto;
	color: var(--gdfs-muted);
	font-size: 13px;
	font-weight: 500;
}

.gdf-toc ol {
	margin: 0;
	padding: 0 18px 16px 38px;
	columns: 2 280px;
	column-gap: 28px;
}

.gdf-toc li {
	margin: 0 0 6px;
	break-inside: avoid;
	line-height: 1.45 !important;
	font-size: 15px;
}

body.gdf-site .entry-content .gdf-toc a {
	color: var(--gdfs-text);
	text-decoration: none;
}

body.gdf-site .entry-content .gdf-toc a:hover {
	color: var(--gdfs-accent-ink);
	text-decoration: underline;
}

.gdf-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin: 2.4em 0 1.2em;
	padding: 16px 18px;
	border: 1px solid var(--gdfs-line);
	border-radius: var(--gdfs-radius);
	background: var(--gdfs-bg-soft);
}

.gdf-share-label {
	color: var(--gdfs-ink);
	font-weight: 700;
}

.gdf-share-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

body.gdf-site .gdf-share-btn {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 0 14px;
	border: 1px solid var(--gdfs-line);
	border-radius: 999px;
	background: var(--gdfs-surface);
	color: var(--gdfs-ink);
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: border-color 0.15s ease, color 0.15s ease;
}

body.gdf-site .gdf-share-btn:hover,
body.gdf-site .gdf-share-btn:focus-visible {
	border-color: var(--gdfs-accent);
	color: var(--gdfs-accent-ink);
	background: var(--gdfs-surface);
}

.gdf-author {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	margin: 1.2em 0 2em;
	padding: 20px;
	border: 1px solid var(--gdfs-line);
	border-radius: var(--gdfs-radius);
	background: var(--gdfs-surface);
	box-shadow: var(--gdfs-shadow);
}

.gdf-author-img {
	width: 64px;
	height: 64px;
	border-radius: 16px;
	flex: none;
}

body.gdf-site .entry-content .gdf-author p {
	margin: 0;
	line-height: 1.55;
}

.gdf-author-kicker {
	color: var(--gdfs-muted);
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.gdf-author-name {
	color: var(--gdfs-ink);
	font-size: 18px;
	font-weight: 800;
}

body.gdf-site .entry-content .gdf-author .gdf-author-bio {
	margin: 4px 0 6px;
	color: var(--gdfs-text);
	font-size: 15px;
}

.gdf-author-links {
	font-size: 14px;
}

.gdf-related {
	margin: 2em 0 1em;
}

body.gdf-site .entry-content .gdf-related-title {
	margin: 0 0 14px;
	font-size: 1.35rem;
}

.gdf-related-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 12px;
}

body.gdf-site .gdf-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px 44px 18px 18px;
	border: 1px solid var(--gdfs-line);
	border-radius: var(--gdfs-radius);
	background: var(--gdfs-surface);
	box-shadow: var(--gdfs-shadow);
	color: var(--gdfs-text);
	text-decoration: none;
	transition: transform 0.15s ease, border-color 0.15s ease;
}

body.gdf-site .gdf-card:hover {
	transform: translateY(-2px);
	border-color: var(--gdfs-accent);
	color: var(--gdfs-text);
}

.gdf-card-title {
	color: var(--gdfs-ink);
	font-weight: 750;
	line-height: 1.3;
}

.gdf-card-desc {
	color: var(--gdfs-muted);
	font-size: 14px;
	line-height: 1.5;
}

.gdf-card-go {
	position: absolute;
	top: 16px;
	right: 16px;
	color: var(--gdfs-accent);
	font-weight: 700;
}

.gdf-site-toast {
	position: fixed;
	left: 50%;
	bottom: 24px;
	z-index: 100000;
	padding: 10px 18px;
	border-radius: 999px;
	background: #171a2b;
	color: #ffffff;
	font-size: 15px;
	font-weight: 600;
	box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.5);
	opacity: 0;
	transform: translate(-50%, 12px);
	transition: opacity 0.2s ease, transform 0.2s ease;
	pointer-events: none;
}

.gdf-site-toast.is-on {
	opacity: 1;
	transform: translate(-50%, 0);
}

html[data-gdf-theme="dark"] .gdf-site-toast {
	background: #f1f2f8;
	color: #171a2b;
}

/* ---------- Footer ---------- */
.gdf-footer {
	margin-top: 48px;
	background: var(--gdfs-footer-bg);
	background-image: radial-gradient(900px 300px at 10% -10%, rgba(124, 58, 237, 0.35), transparent 60%), radial-gradient(700px 260px at 95% 0%, rgba(219, 39, 119, 0.25), transparent 60%);
	color: var(--gdfs-footer-muted);
}

.gdf-footer-inner {
	display: grid;
	grid-template-columns: minmax(240px, 1.4fr) repeat(auto-fit, minmax(160px, 1fr));
	gap: 32px 28px;
	max-width: 1240px;
	margin: 0 auto;
	padding: 56px 24px 40px;
}

.gdf-footer-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--gdfs-footer-ink) !important;
	font-size: 20px;
	font-weight: 800;
	letter-spacing: -0.02em;
	text-decoration: none !important;
}

.gdf-footer-logo img {
	width: 40px;
	height: 40px;
	border-radius: 11px;
}

.gdf-footer-brand p {
	margin: 14px 0 16px;
	color: var(--gdfs-footer-muted);
	font-size: 15px;
	line-height: 1.65;
}

.gdf-footer-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
}

.gdf-footer-badges li {
	margin: 0;
	padding: 5px 10px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 999px;
	color: var(--gdfs-footer-ink);
	font-size: 13px;
	font-weight: 600;
}

.gdf-footer-cta {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 0 18px;
	border-radius: 999px;
	background: var(--gdfs-grad);
	color: #ffffff !important;
	font-weight: 700;
	text-decoration: none !important;
	box-shadow: 0 10px 24px -12px rgba(219, 39, 119, 0.8);
	transition: transform 0.15s ease;
}

.gdf-footer-cta:hover {
	transform: translateY(-1px);
}

.gdf-footer-title {
	margin: 4px 0 12px;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.gdf-footer-title a {
	color: var(--gdfs-footer-ink) !important;
	text-decoration: none !important;
}

.gdf-footer-col ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.gdf-footer-col li {
	margin: 0 0 9px;
}

.gdf-footer-col li a {
	color: var(--gdfs-footer-muted) !important;
	font-size: 15px;
	text-decoration: none !important;
	transition: color 0.15s ease;
}

.gdf-footer-col a:hover,
.gdf-footer-title a:hover {
	color: #ffffff !important;
}

/* Astra bottom bar becomes the dark legal strip */
body.gdf-site .site-footer,
body.gdf-site .site-below-footer-wrap,
body.gdf-site .site-below-footer-wrap[data-section="section-below-footer-builder"] {
	background: var(--gdfs-footer-bg) !important;
	border-top: 0 !important;
}

body.gdf-site .site-below-footer-wrap {
	border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
	padding-top: 18px;
	padding-bottom: 18px;
}

body.gdf-site .site-below-footer-wrap,
body.gdf-site .site-below-footer-wrap .ast-footer-copyright,
body.gdf-site .site-below-footer-wrap p {
	color: var(--gdfs-footer-muted) !important;
	font-size: 14px;
}

body.gdf-site .site-below-footer-wrap .menu-link,
body.gdf-site .site-below-footer-wrap a {
	color: var(--gdfs-footer-muted) !important;
	font-size: 14px;
}

body.gdf-site .site-below-footer-wrap a:hover,
body.gdf-site .site-below-footer-wrap .menu-link:hover {
	color: #ffffff !important;
}

/* ---------- Dark mode: theme surfaces ---------- */
html[data-gdf-theme="dark"] body.gdf-site {
	background: var(--gdfs-bg);
}

html[data-gdf-theme="dark"] body.gdf-site :is(input, select, textarea):not(.gdf-input) {
	background-color: var(--gdfs-surface);
	color: var(--gdfs-ink);
	border-color: var(--gdfs-line);
}

html[data-gdf-theme="dark"] body.gdf-site .entry-content :is(blockquote, pre, code) {
	background: var(--gdfs-bg-soft);
	color: var(--gdfs-ink);
	border-color: var(--gdfs-line);
}

html[data-gdf-theme="dark"] body.gdf-site .entry-content hr {
	border-color: var(--gdfs-line);
	background: var(--gdfs-line);
}

html[data-gdf-theme="dark"] body.gdf-site #ast-scroll-top {
	background: #2a2d42;
	color: #ffffff;
}

html[data-gdf-theme="dark"] body.gdf-site .ast-search-menu-icon .search-form,
html[data-gdf-theme="dark"] body.gdf-site .ast-mobile-popup-drawer .ast-mobile-popup-inner {
	background: var(--gdfs-surface);
}

/* Cookie banner (CookieAdmin) */
html[data-gdf-theme="dark"] [class*="cookieadmin_law_container"],
html[data-gdf-theme="dark"] [class*="cookieadmin_cookie_modal"],
html[data-gdf-theme="dark"] [class*="cookieadmin_consent_inside"] {
	background: var(--gdfs-surface) !important;
	color: var(--gdfs-text) !important;
}

/* ---------- Small screens ---------- */
@media (max-width: 921px) {
	.gdf-footer-inner {
		grid-template-columns: 1fr 1fr;
		padding: 44px 20px 28px;
	}

	.gdf-footer-brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 544px) {
	.gdf-footer-inner {
		grid-template-columns: 1fr 1fr;
		gap: 26px 18px;
	}

	.gdf-author {
		flex-direction: column;
	}

	.gdf-share {
		flex-direction: column;
		align-items: flex-start;
	}

	body.gdf-site .site-header .site-title a {
		font-size: 20px;
	}

	body.gdf-site .gdf-brand-icon {
		width: 32px;
		height: 32px;
	}
}
