/*
Theme Name: Biovia Next
Theme URI: https://www.biovia.cl
Author: Sebastián Rojo Astete
Author URI: https://www.biovia.cl
Description: Tema standalone de Biovia para migracion progresiva fuera de Elementor y Kadence.
Version: 0.1.0
Text Domain: biovia-next
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
	--bio-green-dark: #4b8251;
	--bio-green-sage: #a9c5a0;
	--bio-beige: #e9dcc1;
	--bio-blue: #bfdde0;
	--bio-terracota: #d9a07a;
	--bio-beige-light: #f9f4eb;
	--bio-text: #2c3e30;
	--bio-white: #ffffff;
	--bio-error: var(--bio-terracota);
	--bio-font-main: 'Montserrat', sans-serif;
	--bio-container: 1200px;
	--bio-content: 860px;
	--bio-radius: 24px;
	--bio-shadow: 0 20px 60px rgba(44, 62, 48, 0.12);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--bio-font-main);
	color: var(--bio-text);
	background:
		radial-gradient(circle at top left, rgba(191, 221, 224, 0.3), transparent 28%),
		linear-gradient(180deg, #f7f2ea 0%, #fdfbf7 48%, #f2f7f0 100%);
}

a {
	color: inherit;
}

img {
	max-width: 100%;
	height: auto;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	top: 1rem;
	left: 1rem;
	width: auto;
	height: auto;
	padding: 0.75rem 1rem;
	margin: 0;
	clip: auto;
	background: var(--bio-green-dark);
	color: var(--bio-white);
	z-index: 9999;
}

.site-shell {
	min-height: 100vh;
}

.site-main {
	display: block;
}

.page-section {
	width: min(100% - 2rem, var(--bio-container));
	margin: 0 auto;
}

.page-panel {
	background: rgba(255, 255, 255, 0.82);
	backdrop-filter: blur(14px);
	border-radius: var(--bio-radius);
	box-shadow: var(--bio-shadow);
	padding: clamp(1.5rem, 3vw, 3rem);
}

.entry-content,
.entry-header {
	width: min(100% - 2rem, var(--bio-content));
	margin: 0 auto;
}

.entry-header {
	padding-top: 3rem;
}

.entry-title {
	margin: 0 0 1rem;
	font-size: clamp(2rem, 4vw, 3.5rem);
	line-height: 1;
}

.entry-content {
	padding-bottom: 4rem;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content > *:last-child {
	margin-bottom: 0;
}

.biovia-modal-backdrop {
	display: none;
}

@media (max-width: 768px) {
	.entry-header {
		padding-top: 2rem;
	}

	.page-panel {
		padding: 1.25rem;
		border-radius: 18px;
	}
}
