/*
Theme Name: AlicanteAbout Theme
Theme URI: https://alicanteabout.com
Description: Custom AlicanteAbout theme inspired by the latest design direction.
Author: Cluster Solar Ltd
Version: 1.2.86
Text Domain: alicanteabout-theme
*/

:root {
	--aa-blue-900: #0b2f5f;
	--aa-blue-700: #1f5da8;
	--aa-blue-500: #2f76c8;
	--aa-blue-100: #dbe9f8;
	--aa-sky: #eef5ff;
	--aa-cream: #f7f7f3;
	--aa-card: #ffffff;
	--aa-text: #17263a;
	--aa-muted: #5e718a;
	--aa-border: #d3deea;
	--aa-radius: 11px;
	--aa-shadow: 0 10px 24px rgba(8, 32, 72, 0.15);
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: "Source Sans Pro", "Trebuchet MS", "Segoe UI", sans-serif;
	color: var(--aa-text);
	background: linear-gradient(180deg, #f6faff 0%, #f7f7f3 100%);
	line-height: 1.6;
}

.aa-site-content {
	min-height: 65vh;
}

a {
	color: var(--aa-blue-900);
	text-decoration: none;
}

a:hover {
	color: var(--aa-blue-500);
}

img {
	max-width: 100%;
	height: auto;
	border-radius: 10px;
}

.aa-shell {
	width: min(1200px, 92vw);
	margin: 0 auto;
}

.aa-site-header {
	position: sticky;
	top: 0;
	z-index: 120;
	background: linear-gradient(90deg, #2c6cb1, #3e81c2);
	border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.home .aa-site-header,
.single-post .aa-site-header,
.category .aa-site-header,
.page .aa-site-header {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	background: linear-gradient(180deg, rgba(17, 66, 124, 0.88), rgba(17, 66, 124, 0.22));
	border-bottom: 0;
}

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

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

.aa-nav-shell {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 0.9rem;
	min-height: 58px;
}

.aa-logo {
	font-size: 2rem;
	font-weight: 700;
	line-height: 1;
	color: #fff;
	letter-spacing: -0.03em;
	white-space: nowrap;
}

.aa-logo:hover,
.aa-logo:focus,
.aa-logo:active {
	color: #fff;
}

.aa-logo-tld {
	font-size: 0.58em;
	opacity: 0.9;
	margin-left: 0;
	font-weight: 600;
}

#site-navigation .menu-toggle {
	display: none;
}

#site-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.06rem;
	flex-wrap: nowrap;
	overflow-x: auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

#site-navigation ul::-webkit-scrollbar {
	display: none;
}

#site-navigation li {
	position: relative;
}

#site-navigation a {
	display: block;
	padding: 0.35rem 0.5rem;
	border-radius: 999px;
	color: #fff;
	font-size: 0.84rem;
	font-weight: 600;
	white-space: nowrap;
	letter-spacing: 0.01em;
}

#site-navigation a:hover,
#site-navigation .current-menu-item > a {
	background: rgba(255, 255, 255, 0.18);
}

.aa-lang-switch {
	display: inline-flex;
	gap: 0.38rem;
	align-items: center;
	flex-wrap: wrap;
}

.aa-lang-item {
	display: inline-flex;
	align-items: center;
	gap: 0.26rem;
	padding: 0.24rem 0.48rem;
	border-radius: 999px;
	font-size: 0.74rem;
	font-weight: 700;
	color: #fff;
	opacity: 0.92;
	border: 1px solid rgba(255, 255, 255, 0.22);
	background: rgba(255, 255, 255, 0.1);
	line-height: 1;
	transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.aa-lang-item:hover {
	background: rgba(255, 255, 255, 0.22);
	color: #fff;
}

.aa-lang-item.is-current {
	background: rgba(6, 26, 54, 0.72);
	border-color: rgba(255, 255, 255, 0.6);
	opacity: 1;
	box-shadow: 0 2px 8px rgba(3, 14, 30, 0.42);
}

.aa-lang-flag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 0.95rem;
	height: 0.95rem;
	font-size: 0.75rem;
	line-height: 1;
	border-radius: 2px;
	object-fit: cover;
}

.aa-lang-code {
	letter-spacing: 0.03em;
}

.aa-hero {
	position: relative;
	padding: 3.2rem 0 4.2rem;
	background-image: var(--aa-hero-image);
	background-size: cover;
	background-position: center;
	color: #fff;
	overflow: hidden;
}

.aa-hero-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
	z-index: 0;
}

.aa-hero-home,
.aa-hero-article,
.aa-hero-archive,
.aa-hero-page {
	padding: 7.4rem 0 4.8rem;
}

.aa-hero-home .aa-hero-title {
	max-width: 560px;
}

.aa-hero .aa-shell {
	position: relative;
	z-index: 2;
	isolation: isolate;
}

.aa-hero-home .aa-shell::before,
.aa-hero-article .aa-shell::before,
.aa-hero-archive .aa-shell::before,
.aa-hero-page .aa-shell::before {
	content: "";
	position: absolute;
	left: -1rem;
	top: -1.2rem;
	bottom: -1.2rem;
	width: min(680px, 74vw);
	border-radius: 14px;
	background: linear-gradient(90deg, rgba(7, 30, 60, 0.58), rgba(7, 30, 60, 0.36) 54%, rgba(7, 30, 60, 0));
	z-index: -1;
	pointer-events: none;
}

.aa-hero-article .aa-shell::before {
	top: -1rem;
	bottom: -1rem;
	width: min(860px, 82vw);
	background: linear-gradient(90deg, rgba(7, 30, 60, 0.68), rgba(7, 30, 60, 0.44) 58%, rgba(7, 30, 60, 0));
}

.aa-hero-title {
	font-size: clamp(2rem, 5vw, 3.4rem);
	line-height: 1.05;
	margin: 0;
	max-width: 760px;
	text-shadow: 0 8px 20px rgba(4, 17, 35, 0.62);
}

.aa-hero-subtitle {
	font-size: clamp(1rem, 2vw, 1.25rem);
	margin: 0.7rem 0 0;
	max-width: 560px;
	opacity: 0.96;
	text-shadow: 0 3px 14px rgba(8, 22, 46, 0.46);
}

.aa-hero-search-wrap {
	margin-top: 1.4rem;
	max-width: 520px;
}

.aa-hero-search-wrap .search-form {
	display: flex;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: var(--aa-shadow);
}

.aa-hero-search-wrap .search-field {
	border: 0;
	padding: 0.9rem 1rem;
	width: 100%;
	font-size: 1rem;
}

.aa-hero-search-wrap .search-submit {
	border: 0;
	padding: 0.8rem 1.2rem;
	font-weight: 700;
	background: var(--aa-blue-700);
	color: #fff;
}

.aa-home-main,
.aa-single-main,
.aa-page-main {
	padding: 1rem 0 2.4rem;
}

.aa-page-content-wrap {
	margin-top: 1rem;
}

.aa-page-card {
	background: #fff;
	border: 1px solid var(--aa-border);
	border-radius: var(--aa-radius);
	padding: 1rem;
	box-shadow: 0 6px 22px rgba(16, 43, 77, 0.1);
}

.page.hfeed.site,
.page.layout.hfeed.site.defaulttemplate {
	width: min(1200px, 92vw);
	margin: 0 auto;
}

.aa-section {
	margin: 0.95rem 0 1.7rem;
}

.aa-section-title {
	margin: 0 0 0.8rem;
	font-size: clamp(1.4rem, 2.2vw, 2rem);
	line-height: 1.1;
	color: var(--aa-blue-900);
}

.aa-topic-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0.65rem;
}

.aa-topic-card {
	position: relative;
	border-radius: var(--aa-radius);
	background: linear-gradient(140deg, #69a6ea, #0f4b93);
	color: #fff;
	padding: 0;
	aspect-ratio: 4 / 3;
	min-height: 136px;
	display: flex;
	align-items: flex-end;
	font-weight: 700;
	box-shadow: var(--aa-shadow);
	overflow: hidden;
	border: 1px solid rgba(13, 44, 86, 0.4);
}

.aa-topic-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
}

.aa-topic-name {
	display: block;
	width: 100%;
	padding: 0.48rem 0.55rem;
	background: linear-gradient(180deg, rgba(12, 50, 97, 0.92), rgba(9, 35, 72, 0.96));
	color: #fff;
	font-size: 1rem;
	line-height: 1.1;
	text-align: center;
	text-shadow: 0 1px 3px rgba(3, 14, 29, 0.45);
	letter-spacing: 0.01em;
	position: relative;
	z-index: 2;
}

.aa-card-grid {
	display: grid;
	gap: 0.75rem;
}

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

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

.aa-guide-card,
.aa-latest-card {
	background: var(--aa-card);
	border: 1px solid var(--aa-border);
	border-radius: var(--aa-radius);
	overflow: hidden;
	box-shadow: 0 6px 18px rgba(17, 45, 82, 0.08);
}

.aa-guide-image {
	display: block;
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.aa-guide-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
}

.aa-guide-image::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.38));
	z-index: 1;
	pointer-events: none;
}

.aa-guide-content,
.aa-latest-content {
	padding: 0.9rem;
}

.aa-guide-content h3,
.aa-latest-content h3 {
	font-size: 1.05rem;
	line-height: 1.2;
	margin: 0 0 0.8rem;
}

.aa-guide-overlay-title {
	position: absolute;
	left: 0.55rem;
	right: 0.55rem;
	top: 0.52rem;
	padding: 0.24rem 0.4rem;
	color: #fff;
	font-weight: 800;
	font-size: clamp(1rem, 2vw, 1.6rem);
	line-height: 1.1;
	text-shadow: 0 2px 8px rgba(6, 22, 45, 0.7);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0));
	border-radius: 8px;
	z-index: 2;
}

.aa-guide-overlay-btn {
	position: absolute;
	left: 50%;
	bottom: 0.55rem;
	transform: translateX(-50%);
	display: inline-block;
	background: linear-gradient(180deg, rgba(12, 50, 97, 0.92), rgba(9, 35, 72, 0.96));
	color: #fff;
	font-size: 0.82rem;
	font-weight: 700;
	padding: 0.38rem 0.85rem;
	border-radius: 8px;
	line-height: 1;
	box-shadow: 0 2px 8px rgba(8, 29, 56, 0.36);
	z-index: 2;
}

.aa-btn {
	display: inline-block;
	background: linear-gradient(180deg, rgba(12, 50, 97, 0.92), rgba(9, 35, 72, 0.96));
	color: #fff;
	font-size: 0.82rem;
	font-weight: 700;
	padding: 0.48rem 0.95rem;
	border-radius: 8px;
}

.aa-media-strip {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.9rem;
}

.aa-media-title {
	grid-column: 1 / -1;
}

.aa-media-col {
	display: flex;
}

.aa-media-card,
.aa-insta-grid {
	background: #fff;
	border: 1px solid var(--aa-border);
	border-radius: var(--aa-radius);
	padding: 0.55rem;
	height: 100%;
	width: 100%;
}

.aa-media-cover {
	display: block;
	position: relative;
	border-radius: 10px;
	height: 100%;
	min-height: 344px;
	overflow: hidden;
}

.aa-media-cover img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
}

.aa-media-cover::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.62));
	z-index: 1;
	pointer-events: none;
}

.aa-play-icon {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	display: grid;
	place-items: center;
	width: 68px;
	height: 68px;
	border-radius: 50%;
	border: 4px solid rgba(255, 255, 255, 0.88);
	background: rgba(10, 33, 73, 0.35);
	color: #fff;
	font-size: 1.45rem;
	z-index: 2;
}

.aa-media-caption {
	position: absolute;
	left: 0.55rem;
	bottom: 0.55rem;
	display: inline-block;
	background: linear-gradient(180deg, rgba(12, 50, 97, 0.92), rgba(9, 35, 72, 0.96));
	color: #fff;
	font-weight: 700;
	font-size: 0.82rem;
	padding: 0.38rem 0.85rem;
	border-radius: 8px;
	line-height: 1;
	box-shadow: 0 2px 8px rgba(8, 29, 56, 0.36);
	z-index: 2;
}

.aa-insta-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.55rem;
}

.aa-insta-tile {
	display: block;
	position: relative;
}

.aa-insta-tile img {
	display: block;
	width: 100%;
	height: 166px;
	object-fit: cover;
	border-radius: 8px;
}

.aa-insta-tag {
	position: absolute;
	left: 0.45rem;
	bottom: 0.45rem;
	display: inline-block;
	background: linear-gradient(180deg, rgba(12, 50, 97, 0.92), rgba(9, 35, 72, 0.96));
	color: #fff;
	font-size: 0.74rem;
	font-weight: 700;
	padding: 0.3rem 0.65rem;
	border-radius: 999px;
	line-height: 1;
	box-shadow: 0 2px 8px rgba(8, 29, 56, 0.36);
	max-width: calc(100% - 0.9rem);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.aa-btn-follow {
	margin-top: 0.55rem;
}

.aa-review-band {
	background: #fff;
	border: 1px solid var(--aa-border);
	border-radius: var(--aa-radius);
	padding: 1.2rem;
	text-align: center;
}

.aa-review-band blockquote {
	margin: 0;
	font-style: italic;
	font-weight: 600;
	color: #48607f;
}

.aa-review-copy {
	margin: 0;
	font-weight: 600;
	color: #48607f;
}

.aa-btn-instagram {
	margin-top: 0.75rem;
	border-radius: 999px;
	padding: 0.5rem 1rem;
	font-size: 0.8rem;
}

.aa-reviewer {
	margin: 0.75rem 0 0;
	font-weight: 700;
}

.aa-social-badges {
	margin-top: 0.8rem;
	display: inline-flex;
	gap: 0.42rem;
}

.aa-social-dot {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	color: #fff;
	font-weight: 800;
	font-size: 0.95rem;
}

.aa-social-ta {
	background: #2d9c74;
}

.aa-social-fb {
	background: #215da8;
}

.aa-social-rd {
	background: #ef6f2f;
}

.aa-social-qp {
	background: #32a974;
}

.aa-latest-thumb {
	display: block;
	background: #eff3f9;
}

.aa-latest-thumb img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 0;
}

.aa-breadcrumbs {
	display: inline-flex;
	gap: 0.5rem;
	font-size: 0.82rem;
	font-weight: 700;
	color: #d8e8fb;
	margin-bottom: 0.85rem;
}

.aa-breadcrumbs a {
	color: #fff;
}

.aa-article-title {
	max-width: 760px;
}

.aa-article-description {
	margin: 0.65rem 0 0;
	max-width: 760px;
	font-size: clamp(1rem, 1.9vw, 1.2rem);
	line-height: 1.35;
	color: #e6eef9;
	text-shadow: 0 3px 12px rgba(8, 22, 46, 0.42);
}

.aa-article-meta-bar {
	display: flex;
	gap: 0.6rem;
	flex-wrap: wrap;
	margin-top: 1.1rem;
}

.aa-article-meta-strip {
	position: relative;
	z-index: 6;
	margin-top: 0.55rem;
}

.aa-article-meta-strip-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.8rem;
	padding: 0.75rem 0.95rem;
	background: #fff;
	border: 1px solid var(--aa-border);
	border-radius: var(--aa-radius);
	box-shadow: 0 10px 24px rgba(8, 32, 72, 0.12);
}

.aa-article-byline {
	margin: 0;
	font-weight: 700;
	color: #355477;
}

.aa-article-byline a {
	color: var(--aa-blue-900);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.aa-article-meta-tags {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.aa-pill,
.aa-highlight-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.4rem 0.72rem;
	border-radius: 999px;
	font-size: 0.83rem;
	font-weight: 700;
	border: 1px solid rgba(255, 255, 255, 0.28);
	background: rgba(0, 0, 0, 0.22);
	color: #fff;
}

.aa-single-layout {
	display: grid;
	grid-template-columns: minmax(0, 2.1fr) minmax(280px, 0.9fr);
	gap: 1.25rem;
	align-items: start;
}

.aa-single-sidebar {
	align-self: stretch;
}

.aa-article-card {
	background: #fff;
	border: 1px solid var(--aa-border);
	border-radius: var(--aa-radius);
	padding: 1rem;
	box-shadow: 0 6px 22px rgba(16, 43, 77, 0.1);
}

.aa-article-featured img {
	width: 100%;
	max-height: 430px;
	object-fit: cover;
}

.aa-article-highlights {
	display: flex;
	gap: 0.55rem;
	flex-wrap: wrap;
	margin: 0.95rem 0;
	align-items: center;
}

.aa-highlight-pill {
	background: #f3f7fc;
	border-color: #d4deea;
	color: #29486f;
}

.aa-btn-small {
	font-size: 0.78rem;
	padding: 0.45rem 0.8rem;
}

.aa-article-content h2,
.aa-article-content h3 {
	font-size: clamp(1.4rem, 2.6vw, 2rem);
	line-height: 1.15;
	color: var(--aa-blue-900);
	margin-top: 1.4rem;
	scroll-margin-top: 110px;
}

.aa-article-content h4 {
	font-size: 1.12rem;
	margin-top: 1.1rem;
}

.aa-article-content p,
.aa-article-content li {
	font-size: 1.06rem;
	color: #273a53;
}

.aa-article-content a {
	color: #113f79;
	text-decoration: underline;
	text-underline-offset: 2px;
	text-decoration-thickness: 1.5px;
}

.aa-article-content a:hover,
.aa-article-content a:focus {
	color: #0b2f5f;
}

.aa-article-content iframe,
.aa-article-content embed,
.aa-article-content object {
	display: block;
	width: 100%;
	max-width: 100%;
}

/* Prevent very tall map embeds from stretching the whole article layout. */
.aa-article-content iframe[src*="google.com/maps"],
.aa-article-content iframe[src*="google.es/maps"],
.aa-article-content iframe[src*="openstreetmap.org"] {
	height: clamp(280px, 52vh, 560px) !important;
}

.aa-author-box {
	display: flex;
	gap: 0.9rem;
	margin-top: 1.7rem;
	padding-top: 1rem;
	border-top: 1px solid var(--aa-border);
}

.aa-author-copy h2 {
	margin: 0;
	font-size: 1.1rem;
}

.aa-author-card {
	margin-top: 1rem;
	background: #fff;
	border: 1px solid var(--aa-border);
	border-radius: var(--aa-radius);
	padding: 1rem;
	box-shadow: 0 6px 22px rgba(16, 43, 77, 0.1);
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	gap: 0.95rem;
	align-items: start;
}

.aa-author-card-left {
	display: grid;
	justify-items: center;
	gap: 0.5rem;
}

.aa-author-avatar img {
	width: 68px;
	height: 68px;
	border-radius: 50%;
	object-fit: cover;
}

.aa-author-left-name {
	margin: 0;
	font-weight: 700;
	font-size: 0.9rem;
	color: #2b476d;
	text-align: center;
	line-height: 1.2;
}

.aa-author-avatar-link {
	display: inline-flex;
	border-radius: 50%;
}

.aa-author-left-name a,
.aa-author-card-title a {
	color: inherit;
}

.aa-author-left-name a:hover,
.aa-author-card-title a:hover {
	color: var(--aa-blue-700);
}

.aa-author-card-title {
	margin: 0;
	font-size: 1.08rem;
	line-height: 1.2;
	color: var(--aa-blue-900);
}

.aa-author-card-bio {
	margin: 0.5rem 0 0;
	color: #2b476d;
	line-height: 1.45;
}

.aa-author-bullets {
	margin: 0.7rem 0 0;
	padding-left: 1.1rem;
}

.aa-author-bullets li {
	color: #2d486d;
	line-height: 1.45;
}

.aa-author-bullets li + li {
	margin-top: 0.28rem;
}

.aa-author-socials {
	margin-top: 0.72rem;
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.35rem;
	color: #46658b;
	font-weight: 700;
	font-size: 0.9rem;
}

.aa-author-socials a {
	color: var(--aa-blue-900);
}

.aa-author-social-sep {
	opacity: 0.65;
}

.aa-widget {
	background: #fff;
	border: 1px solid var(--aa-border);
	border-radius: var(--aa-radius);
	padding: 1rem;
	margin-bottom: 1rem;
	box-shadow: 0 4px 16px rgba(16, 44, 79, 0.08);
}

.aa-widget h2 {
	margin: 0 0 0.7rem;
	font-size: 1.2rem;
	line-height: 1.2;
}

.aa-widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.aa-widget ol {
	margin: 0;
	padding-left: 1.1rem;
}

.aa-widget ol li {
	color: #365375;
	font-size: 0.94rem;
}

.aa-widget ol li + li {
	margin-top: 0.45rem;
}

.aa-widget ol li.h3 {
	padding-left: 0.7rem;
	font-size: 0.9rem;
}

.aa-toc {
	padding: 0.8rem;
}

.aa-desktop-toc {
	position: sticky;
	top: 86px;
	max-height: calc(100vh - 100px);
	overflow: auto;
}

body.admin-bar .aa-desktop-toc {
	top: 118px;
}

.aa-toc-panel {
	margin: 0;
}

.aa-toc-summary {
	list-style: none;
	cursor: pointer;
	font-size: 1.14rem;
	font-weight: 800;
	color: var(--aa-blue-900);
	line-height: 1.2;
	margin: 0;
	padding: 0.22rem 0;
	min-height: 42px;
	display: flex;
	align-items: center;
}

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

.aa-toc-summary::after {
	content: "▾";
	float: right;
	font-size: 0.92rem;
	opacity: 0.72;
	transform: translateY(2px);
}

.aa-toc-panel:not([open]) .aa-toc-summary::after {
	content: "▸";
}

.aa-toc-list {
	margin: 0.55rem 0 0;
	padding-left: 1.15rem;
}

.aa-toc-list li {
	font-size: 0.92rem;
	line-height: 1.35;
	color: #365375;
}

.aa-toc-list li + li {
	margin-top: 0.36rem;
}

.aa-toc-list li.h3 {
	padding-left: 0.58rem;
	font-size: 0.88rem;
}

.aa-toc-list a {
	color: #355477;
	overflow-wrap: anywhere;
	word-break: break-word;
	display: flex;
	align-items: center;
	min-height: 40px;
	padding: 0.25rem 0.16rem;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.aa-toc-list a.is-active {
	color: var(--aa-blue-900);
	font-weight: 800;
}

.aa-toc-list li.is-active {
	color: var(--aa-blue-900);
}

.ez-toc-link {
	display: flex;
	align-items: center;
	min-height: 40px;
	padding: 0.25rem 0.14rem;
	line-height: 1.35;
}

.aa-mobile-toc {
	display: none;
}

.aa-widget li + li {
	margin-top: 0.5rem;
}

.aa-ad-widget {
	min-height: 280px;
	display: grid;
	place-items: center;
	text-align: center;
	background: linear-gradient(180deg, #fef3c4, #f9e68f);
	color: #735300;
}

.aa-ad-widget strong {
	display: block;
	font-size: 2rem;
	line-height: 1;
}

.aa-related-item {
	display: grid;
	grid-template-columns: 82px 1fr;
	gap: 0.65rem;
	align-items: center;
}

.aa-related-item + .aa-related-item {
	margin-top: 0.75rem;
}

.aa-related-thumb img {
	width: 82px;
	height: 58px;
	object-fit: cover;
}

.aa-related-item h3 {
	margin: 0;
	font-size: 0.98rem;
	line-height: 1.2;
}

.aa-archive-cards {
	display: grid;
	gap: 1rem;
}

.category .page.layout.hfeed.site.defaulttemplate {
	margin-top: 1rem;
}

.aa-archive-post-card {
	background: #fff;
	border: 1px solid var(--aa-border);
	border-radius: var(--aa-radius);
	padding: 1rem;
	box-shadow: 0 6px 22px rgba(16, 43, 77, 0.1);
}

.aa-archive-post-title {
	margin: 0 0 0.72rem;
	font-size: clamp(1.45rem, 2.4vw, 2rem);
	line-height: 1.15;
}

.aa-archive-post-title a {
	color: var(--aa-blue-900);
}

.aa-archive-post-image {
	display: block;
	margin-bottom: 0.85rem;
}

.aa-archive-post-image img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 8;
	height: clamp(190px, 24vw, 320px);
	object-fit: cover;
	border-radius: 10px;
}

.aa-archive-post-excerpt {
	margin: 0;
	font-size: 1.05rem;
	color: #273a53;
	line-height: 1.52;
}

.aa-archive-post-btn {
	margin-top: 0.85rem;
}

.aa-site-footer {
	margin-top: 2.2rem;
	background: #08264b;
	color: #d9e8f8;
}

.aa-footer-main {
	padding: 1.2rem 0 0.8rem;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
	gap: 1.4rem;
	align-items: start;
}

.aa-footer-navs {
	display: grid;
	gap: 0.7rem;
}

.aa-footer-row {
	padding: 0.55rem 0 0.95rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.9rem;
	flex-wrap: wrap;
	border-top: 1px solid rgba(217, 232, 248, 0.14);
}

.aa-footer-links {
	display: block;
	font-size: 0.9rem;
	font-weight: 700;
}

.aa-footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 0.8rem;
	flex-wrap: wrap;
}

.aa-footer-menu li {
	margin: 0;
}

.aa-footer-menu-main {
	display: grid;
	grid-template-columns: repeat(3, minmax(150px, 1fr));
	gap: 0.45rem 1rem;
}

.aa-footer-menu-main li {
	min-width: 0;
}

.aa-footer-menu-legal {
	gap: 0.95rem;
	font-size: 0.84rem;
	font-weight: 600;
}

.aa-footer-links a {
	color: #d9e8f8;
}

.aa-footer-links a:hover {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.aa-footer-socials {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	flex-wrap: wrap;
}

.aa-footer-social {
	width: 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 1px solid rgba(217, 232, 248, 0.4);
	background: rgba(217, 232, 248, 0.12);
	color: #fff;
	transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.aa-footer-social svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.aa-footer-social:hover {
	background: rgba(217, 232, 248, 0.24);
	border-color: rgba(217, 232, 248, 0.7);
	transform: translateY(-1px);
}

.aa-footer-company {
	margin: 0;
	font-style: normal;
	text-align: right;
	font-size: 0.92rem;
	line-height: 1.45;
	color: #d9e8f8;
}

.aa-footer-company p {
	margin: 0;
}

.aa-footer-company p + p {
	margin-top: 0.15rem;
}

.aa-footer-company-name {
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.aa-footer-company a {
	color: #d9e8f8;
}

.aa-footer-lang {
	display: inline-flex;
	gap: 0.4rem;
	align-items: center;
	flex-wrap: wrap;
}

.aa-footer-lang .aa-lang-item {
	border-color: rgba(217, 232, 248, 0.34);
	background: rgba(217, 232, 248, 0.1);
}

.aa-footer-lang .aa-lang-item.is-current {
	border-color: rgba(217, 232, 248, 0.7);
	background: rgba(217, 232, 248, 0.2);
}

.sidebar-widget-area,
.footer,
.footerwidgets,
.site-info,
.site-description,
.c-pass,
.f-center,
.pass-small {
	display: none !important;
}

@media screen and (max-width: 1024px) {
	.aa-topic-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

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

	.aa-media-strip {
		grid-template-columns: 1fr;
	}

	.aa-media-cover {
		aspect-ratio: 16 / 8;
		height: auto;
		min-height: 0;
	}

}

@media screen and (max-width: 780px) {
		.home .aa-site-header,
		.single-post .aa-site-header,
		.category .aa-site-header,
		.page .aa-site-header {
			position: sticky;
			background: linear-gradient(90deg, #2c6cb1, #3e81c2);
			border-bottom: 1px solid rgba(255, 255, 255, 0.16);
	}

	.aa-logo {
		font-size: 1.4rem;
	}

	.aa-nav-shell {
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas:
			"brand lang"
			"nav nav";
		padding: 0.55rem 0;
		gap: 0.5rem;
		min-height: 0;
	}

	.aa-branding {
		grid-area: brand;
		min-width: 0;
	}

	#site-navigation {
		grid-area: nav;
	}

	.aa-lang-switch {
		grid-area: lang;
		justify-self: end;
		max-width: 42vw;
		overflow: hidden;
		gap: 0.24rem;
	}

	.aa-lang-item {
		font-size: 0.65rem;
		padding: 0.16rem 0.3rem;
		gap: 0.16rem;
		min-width: 0;
		border-color: rgba(255, 255, 255, 0.32);
		background: rgba(255, 255, 255, 0.14);
	}

	.aa-lang-flag {
		width: 0.8rem;
		height: 0.8rem;
		font-size: 0.66rem;
	}

	.aa-lang-item .aa-lang-code {
		display: none;
	}

	.aa-lang-item.is-current .aa-lang-code {
		display: inline;
	}

	.aa-lang-item.is-current {
		background: rgba(7, 28, 56, 0.9);
		border-color: rgba(255, 255, 255, 0.75);
	}

	.aa-lang-item:not(.is-current) {
		opacity: 0.86;
	}

	#site-navigation .menu-toggle {
		display: inline-flex;
		border: 0;
		border-radius: 8px;
		background: rgba(255, 255, 255, 0.16);
		padding: 0.45rem 0.7rem;
		color: #fff;
		font-weight: 700;
	}

	#site-navigation ul {
		display: none;
		padding: 0.45rem;
		margin-top: 0.5rem;
		border-radius: 10px;
		background: rgba(10, 36, 72, 0.94);
		border: 1px solid rgba(255, 255, 255, 0.18);
		box-shadow: 0 8px 22px rgba(7, 24, 48, 0.35);
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 0.2rem;
		overflow-x: visible;
		max-height: min(52vh, 360px);
		overflow-y: auto;
	}

	#site-navigation ul.toggled-on {
		display: flex;
	}

	#site-navigation ul li {
		width: 100%;
	}

	#site-navigation ul a {
		padding: 0.5rem 0.58rem;
		border-radius: 8px;
		font-size: 0.86rem;
	}

	.aa-hero {
		padding: 1.7rem 0 2.2rem;
	}

	.aa-hero-home,
	.aa-hero-article,
	.aa-hero-archive,
	.aa-hero-page {
		padding: 1.85rem 0 2.35rem;
	}

	.aa-hero-title {
		font-size: clamp(1.9rem, 9vw, 2.6rem);
	}

	.aa-topic-grid,
	.aa-card-grid-4,
	.aa-single-sidebar,
	.aa-insta-grid {
		grid-template-columns: 1fr;
	}

	.aa-single-layout {
		grid-template-columns: 1fr;
	}

	.aa-single-sidebar {
		display: grid;
		gap: 0.9rem;
	}

	.aa-single-sidebar .aa-widget {
		margin-bottom: 0;
	}

	.aa-article-meta-strip-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.aa-article-meta-strip {
		margin-top: 0.45rem;
	}

	.aa-topic-grid {
		position: relative;
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: minmax(176px, 56vw);
		overflow-x: auto;
		overflow-y: hidden;
		padding-bottom: 0.25rem;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		-ms-overflow-style: none;
	}

	.aa-topic-grid::-webkit-scrollbar {
		display: none;
	}

	.aa-topic-grid::after {
		content: "";
		position: sticky;
		right: 0;
		width: 22px;
		height: 100%;
		justify-self: end;
		pointer-events: none;
		background: linear-gradient(90deg, rgba(241, 245, 250, 0), rgba(241, 245, 250, 0.95));
	}

	.aa-topic-card {
		aspect-ratio: 1 / 1;
		min-height: 0;
		scroll-snap-align: start;
	}

	.aa-card-grid-3 {
		position: relative;
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: minmax(220px, 74vw);
		overflow-x: auto;
		overflow-y: hidden;
		padding-bottom: 0.25rem;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		-ms-overflow-style: none;
	}

	.aa-card-grid-3::-webkit-scrollbar {
		display: none;
	}

	.aa-card-grid-3::after {
		content: "";
		position: sticky;
		right: 0;
		width: 22px;
		height: 100%;
		justify-self: end;
		pointer-events: none;
		background: linear-gradient(90deg, rgba(241, 245, 250, 0), rgba(241, 245, 250, 0.95));
	}

	.aa-card-grid-3 .aa-guide-card {
		scroll-snap-align: start;
	}

	.aa-card-grid-3 .aa-guide-image {
		aspect-ratio: 4 / 3;
	}

	.aa-card-grid-3 .aa-guide-overlay-title {
		font-size: 1.02rem;
	}

	.aa-archive-post-image img {
		height: clamp(170px, 42vw, 250px);
	}

	.aa-article-card {
		padding: 0.75rem;
	}

	.aa-author-box {
		flex-direction: column;
	}

	.aa-author-card {
		grid-template-columns: 1fr;
	}

	.aa-author-card-left {
		justify-items: start;
		grid-template-columns: auto 1fr;
		display: grid;
		align-items: center;
	}

	.aa-author-left-name {
		text-align: left;
	}

	.aa-desktop-toc {
		display: none;
	}

	.aa-mobile-toc {
		display: block;
		margin-top: 0.95rem;
	}

	.aa-footer-row {
		justify-content: center;
	}

	.aa-footer-main {
		grid-template-columns: 1fr;
	}

	.aa-footer-menu-main {
		grid-template-columns: repeat(2, minmax(130px, 1fr));
	}

	.aa-footer-socials {
		justify-content: flex-start;
	}

	.aa-footer-company {
		text-align: left;
	}

	.aa-footer-lang {
		width: 100%;
		justify-content: center;
		gap: 0.32rem;
	}

	.aa-footer-lang .aa-lang-item .aa-lang-code {
		display: inline;
	}
}

@media screen and (min-width: 1600px) and (min-aspect-ratio: 21/9) {
	.home .aa-hero-home {
		min-height: 560px;
		padding: 9.2rem 0 5.3rem;
		background-position: 52% center;
	}

	.single-post .aa-hero-article {
		min-height: 560px;
		padding: 9.2rem 0 5.3rem;
		background-position: 52% center;
	}

	.category .aa-hero-archive {
		min-height: 560px;
		padding: 9.2rem 0 5.3rem;
		background-position: 52% center;
	}

	.page .aa-hero-page {
		min-height: 560px;
		padding: 9.2rem 0 5.3rem;
		background-position: 52% center;
	}

	.home .aa-hero-home .aa-shell::before {
		width: min(760px, 54vw);
		background: linear-gradient(90deg, rgba(7, 28, 56, 0.56), rgba(7, 28, 56, 0.32) 54%, rgba(7, 28, 56, 0));
	}

	.single-post .aa-hero-article .aa-shell::before {
		width: min(760px, 54vw);
		background: linear-gradient(90deg, rgba(7, 28, 56, 0.56), rgba(7, 28, 56, 0.32) 54%, rgba(7, 28, 56, 0));
	}

	.category .aa-hero-archive .aa-shell::before {
		width: min(760px, 54vw);
		background: linear-gradient(90deg, rgba(7, 28, 56, 0.56), rgba(7, 28, 56, 0.32) 54%, rgba(7, 28, 56, 0));
	}

	.page .aa-hero-page .aa-shell::before {
		width: min(760px, 54vw);
		background: linear-gradient(90deg, rgba(7, 28, 56, 0.56), rgba(7, 28, 56, 0.32) 54%, rgba(7, 28, 56, 0));
	}
}
