/* Abstract2Póster — header & footer */

:root {
	--a2p-blue: #1b3ed4;
	--a2p-orange: #f07a3a;
	--a2p-orange-btn: #ff7a2f;
	--a2p-dark: #0b1120;
	--a2p-text: #1a1a1a;
	--a2p-muted: #a8b0c0;
	--a2p-width: 1240px;
	--a2p-font: "Poppins", system-ui, sans-serif;
}

/* ——— Header ——— */
.a2p-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 9999;
	width: 100%;
	background: transparent;
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
	font-family: var(--a2p-font);
}

.a2p-header.is-scrolled {
	background: #ffffff;
	box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
}

.a2p-header__inner {
	max-width: var(--a2p-width);
	margin: 0 auto;
	padding: 14px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.a2p-header__logo {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	line-height: 0;
}

.a2p-header__logo img {
	height: 52px;
	width: auto;
	display: block;
}

.a2p-header__nav {
	display: flex;
	align-items: center;
	gap: 28px;
	margin-left: auto;
	list-style: none;
	padding: 0;
	margin-top: 0;
	margin-bottom: 0;
}

.a2p-header__nav a {
	color: var(--a2p-text);
	text-decoration: none;
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
	transition: color 0.2s ease;
}

.a2p-header__nav a:hover {
	color: var(--a2p-blue);
}

.a2p-header__actions {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-shrink: 0;
}

.a2p-header__login {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--a2p-blue);
	text-decoration: none;
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
}

.a2p-header__login svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.a2p-header__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--a2p-blue);
	color: #fff !important;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	padding: 12px 22px;
	border-radius: 999px;
	white-space: nowrap;
	transition: background 0.2s ease, transform 0.2s ease;
}

.a2p-header__cta:hover {
	background: #1533b0;
	color: #fff !important;
}

.a2p-header__cta svg {
	width: 16px;
	height: 16px;
}

.a2p-header__toggle {
	display: none;
	background: none;
	border: 0;
	padding: 8px;
	cursor: pointer;
	line-height: 0;
}

.a2p-header__toggle span {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--a2p-blue);
	margin: 5px 0;
	border-radius: 2px;
}

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

@media screen and (max-width: 782px) {
	body.admin-bar .a2p-header {
		top: 46px;
	}
}

@media (max-width: 980px) {
	.a2p-header__toggle {
		display: block;
		margin-left: auto;
	}

	.a2p-header__nav,
	.a2p-header__actions {
		display: none;
	}

	.a2p-header.is-open .a2p-header__nav,
	.a2p-header.is-open .a2p-header__actions {
		display: flex;
	}

	.a2p-header.is-open .a2p-header__inner {
		flex-wrap: wrap;
	}

	.a2p-header.is-open .a2p-header__nav {
		order: 3;
		width: 100%;
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
		padding: 12px 0 4px;
		margin-left: 0;
	}

	.a2p-header.is-open .a2p-header__actions {
		order: 4;
		width: 100%;
		flex-direction: column;
		align-items: stretch;
		padding-bottom: 8px;
	}

	.a2p-header.is-open .a2p-header__cta {
		justify-content: center;
	}

	.a2p-header.is-open {
		background: #ffffff;
	}
}

/* ——— Footer ——— */
.a2p-footer {
	background: var(--a2p-dark);
	color: #fff;
	font-family: var(--a2p-font);
	padding: 64px 24px 28px;
}

.a2p-footer__inner {
	max-width: var(--a2p-width);
	margin: 0 auto;
}

.a2p-footer__grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr 0.9fr;
	gap: 48px;
	padding-bottom: 48px;
}

.a2p-footer__logo {
	display: inline-block;
	line-height: 0;
	margin-bottom: 18px;
}

.a2p-footer__logo img {
	height: 64px;
	width: auto;
	display: block;
}

.a2p-footer__desc {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.92);
	max-width: 340px;
}

.a2p-footer__desc strong {
	color: var(--a2p-orange);
	font-weight: 700;
}

.a2p-footer__title {
	margin: 0 0 18px;
	font-size: 18px;
	font-weight: 700;
	color: #fff;
}

.a2p-footer__contact {
	list-style: none;
	padding: 0;
	margin: 0 0 22px;
}

.a2p-footer__contact li {
	margin-bottom: 12px;
}

.a2p-footer__contact a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #fff;
	text-decoration: none;
	font-size: 14px;
}

.a2p-footer__contact a.is-accent {
	color: var(--a2p-orange);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.a2p-footer__contact svg {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	color: var(--a2p-orange);
}

.a2p-footer__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--a2p-orange-btn);
	color: #fff !important;
	text-decoration: none;
	font-size: 15px;
	font-weight: 700;
	padding: 14px 28px;
	border-radius: 999px;
	transition: background 0.2s ease;
}

.a2p-footer__btn:hover {
	background: #e86a20;
	color: #fff !important;
}

.a2p-footer__menu {
	list-style: none;
	padding: 0;
	margin: 0;
}

.a2p-footer__menu li {
	margin-bottom: 10px;
}

.a2p-footer__menu a {
	color: rgba(255, 255, 255, 0.92);
	text-decoration: none;
	font-size: 14px;
}

.a2p-footer__menu a:hover {
	color: var(--a2p-orange);
}

.a2p-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding-top: 22px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	font-size: 13px;
	color: var(--a2p-muted);
}

.a2p-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 10px;
	align-items: center;
}

.a2p-footer__legal a {
	color: var(--a2p-muted);
	text-decoration: none;
}

.a2p-footer__legal a:hover {
	color: #fff;
}

.a2p-footer__legal .sep {
	opacity: 0.5;
}

@media (max-width: 900px) {
	.a2p-footer__grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}
}
