/* Common CSS for Static SEO Pages - Privacy-Policy Approach */
/* Optimized for SEO: Immediate content display, no animations */

/* Font support */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
li,
a,
button,
input,
textarea {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

/* Force main content to display immediately */
* {
	box-sizing: border-box;
}

body {
	overflow-y: auto !important;
	overflow-x: hidden !important;
}

#wrapper {
	opacity: 1;
	position: relative;
	z-index: 2;
}

body:not(.is-preload) #wrapper {
	opacity: 1;
}

#main {
	display: flex !important;
	opacity: 1;
}

body:not(.is-preload) #main {
	opacity: 1;
}

#main article {
	display: block !important;
	transform: none !important;
	margin: 4rem auto !important;
	max-width: 50rem;
	padding: 2.5rem 2.5rem 0.1rem 2.5rem;
	width: 100%;
	overflow-wrap: break-word;
	word-wrap: break-word;
}

body:not(.is-preload) #main article {
	opacity: 1;
}

#main article h2,
#main article h3,
#main article p,
#main article ul,
#main article li,
#main article a {
	max-width: 100%;
	overflow-wrap: break-word;
	word-wrap: break-word;
	hyphens: auto;
}

#main article a {
	word-break: break-all;
}

/* Hide close button completely */
.close {
	display: none !important;
}

/* Ensure header is visible */
#header {
	display: flex !important;
	visibility: visible !important;
	position: relative !important;
}

#header .logo {
	display: flex !important;
}

#header .content {
	display: block !important;
}

#header .content .inner {
	display: block !important;
}

#header nav {
	display: block !important;
}

#header nav ul {
	display: flex !important;
}

body:not(.is-preload) #header {
	opacity: 1;
	transform: none !important;
}

body:not(.is-preload) #header .logo {
	opacity: 1;
}

body:not(.is-preload) #header .content {
	opacity: 1;
}

body:not(.is-preload) #header .content .inner {
	padding: 3rem 2rem !important;
	max-height: none !important;
	opacity: 1;
}

body:not(.is-preload) #header .content .inner h1 {
	opacity: 1;
	color: #fff;
	font-weight: 600;
}

body:not(.is-preload) #header .content .inner p {
	opacity: 1;
	color: rgba(255, 255, 255, 0.9);
}

body:not(.is-preload) #header nav {
	opacity: 1;
}

body:not(.is-preload) #header nav ul li {
	opacity: 1;
}

/* Prevent footer from overlaying */
#footer {
	position: relative !important;
	z-index: 1;
	display: block !important;
	padding: 3rem 0 2rem 0 !important;
	background: rgba(0, 0, 0, 0.3);
}

body:not(.is-preload) #footer {
	opacity: 1;
}

/* Language Switcher - Using index.html style (better design) */
.language-switcher {
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 10000;
	background: rgba(0, 0, 0, 0.7);
	padding: 8px 15px;
	border-radius: 20px;
	backdrop-filter: blur(10px);
}

.language-switcher a {
	color: #fff;
	text-decoration: none;
	font-size: 0.9em;
	padding: 5px 10px;
	transition: color 0.3s;
}

.language-switcher a:hover {
	color: #00b4d8;
}

.language-switcher .active {
	color: #00b4d8;
	font-weight: 700;
}

.language-switcher .separator {
	color: rgba(255, 255, 255, 0.5);
	margin: 0 5px;
}

/* Mobile responsive adjustments */
@media screen and (max-width: 736px) {
	#main article {
		padding: 2rem 1.5rem 0.1rem 1.5rem;
		margin: 2rem auto !important;
	}

	body:not(.is-preload) #header .content .inner {
		padding: 2rem 1.5rem !important;
	}

	#main article h1 {
		font-size: 1.75rem;
	}

	#main article h2 {
		font-size: 1.35rem;
	}

	#main article h3 {
		font-size: 1.15rem;
	}

	#main article h4 {
		font-size: 1rem;
	}
}

@media screen and (max-width: 480px) {
	.language-switcher {
		right: auto !important;
		left: 15px !important;
		top: 15px !important;
	}

	#main article {
		padding: 1.5rem 1rem 0.1rem 1rem;
		margin: 1.5rem auto !important;
	}

	body:not(.is-preload) #header .content .inner {
		padding: 1.5rem 1rem !important;
	}

	#main article h1 {
		font-size: 1.5rem;
	}

	#main article h2 {
		font-size: 1.25rem;
	}

	#main article h3 {
		font-size: 1.1rem;
	}
}