/* global */
html {
	height: 100%;
}
*, *::before, *::after {
	box-sizing: border-box;
}
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Fira+Sans:wght@400;500&display=swap');
body {
	font-family: "Fira Sans", "Segoe UI", system-ui, sans-serif;
	padding: 0;
	margin: 0;
	font-size: 1rem;
	line-height: 1.6;
}
.hero-avatar {
	border-radius: 999px;
	box-shadow: 0 6px 16px rgba(15, 23, 42, 0.2);
	border: 2px solid #FFFFFF;
	max-width: 160px;
	height: auto;
}
.ayuda {
	position: absolute;
	top: 0;
	left: -9999px;
	font-size: 0.0001%;
}
p {
	margin: 0;
	padding: .25em 0;
	line-height: 1.5;
}
h1 {
	margin: 0;
	font-family: "Poppins", system-ui, sans-serif;
	font-size: 176%;
	font-weight: 600;
}
h2 {
	margin: 0 0 .35em 0 ;
	font-family: "Poppins", system-ui, sans-serif;
	font-size: 130%;
	font-weight: 500;
}
img {
	border: 0;
	max-width: 100%;
	height: auto;
}

/* image positioning - left, right and center */
.left {
	float: left; 
	padding: 0 8px 0 0;
}
.right {
	float: right; 
	padding: 0 0 0 8px;
}
.center {
	display: block;
	text-align: center;
	margin: 0 auto;
}

/* block quote */
blockquote {
	font-style: italic;
	margin: 10px 0px; 
	padding: 6px 14px;
	border-top: 1px solid;
	border-bottom: 1px solid;
}

/* unordered list */
ul {
	margin: 8px 0px 0px 14px;
	padding: 0;
}
ol {
	margin: 8px 0px 0px 24px;
	padding: 0;
}
ul li {
	list-style-type: square;
	margin: 0px 0px 11px 0px; 
	padding: 0px;
	line-height: 1.5em;
}
ol li {
	margin: 0px 0px 11px 0px; 
	padding: 0px;
}
ul li ol li  {
	list-style-type: decimal;
	line-height: 1.5em;
}
ol.letras li {
	list-style-type: lower-alpha;
	margin: 8px 0 0 0;
	padding: 0;
	line-height: 1.5em;
}

/* main container */
#main {
	width: 100%;
	max-width: 980px;
	margin-left: auto;
	margin-right: auto;
	padding: 0 12px 20px;
}

/* logo */
#logo {
	position: relative;
	padding: 1.2em 0;
	width: 100%;
	border: none;
	border-bottom: 2px solid #E5E7EB;
	border-radius: 0;
	margin-bottom: 0;
}
#logo h1 {
	padding: 0;
	font-family: "Poppins", system-ui, sans-serif;
	font-size: 150%;
	font-weight: 700;
	color: #0F172A;
	margin-bottom: 4px;
}
#logo h2 {
	padding: 0;
	font-family: "Fira Sans", "Segoe UI", system-ui, sans-serif;
	font-size: 95%;
	font-weight: 400;
	color: #6B7280;
}
#logo span {
	position: absolute;
	right: 5px;
	bottom: 10px;
	color: #FFF;
	font-size: 75%;
	margin: 0 10px;
	font-style: italic;
	font-weight: normal;
}

/* Migas de pan */
#migas {
	clear: both;
	display: none;
}
#migas ul {
	padding: 0.6em 1.2em;
	margin: 16px 0 0 0;
	background-color: #FFFFFF;
	border-radius: 10px;
	border: 1px solid #E5E7EB;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}
#migas ul li {
	list-style: none;
	display: inline;
}
#migas ul li a {
	color: #555;
	margin: 0 1em 0 0;
	text-decoration: underline;
}
#migas ul li a:hover {
	text-decoration: none;
}

/* main content */
#content {
	width: 100%;
	height: auto;
	padding: 0;
	text-align: justify;
	overflow: hidden;
	display: flex;
	gap: 8px;
	align-items: flex-start;
	flex-wrap: wrap;
	margin-top: 0;
}

/* column 1 - contains menu, news, add links and other info */
#column1 {
	width: 100%;
	flex: 1 1 100%;
	float: none;
	padding: 0;
	order: -2;
}
#column1 h1 {
	padding: 0 0 18px 0;
}
#menu, #addlinks {
	position: relative;
	width: 100%;
	float: none;
	margin: 0;
	padding: 0;
	height: auto;
}
#menu ul, #addlinks ul {
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: left;
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	gap: 0;
} 
#menu li, #addlinks li {
	margin: 0;
	list-style: none;
	float: none;
	flex: 1 1 auto;
} 
#menu li a, #addlinks li a {
	float: none;
	min-height: 1.4em;
	text-decoration: none;
	padding: 10px 14px;
	width: 100%;
	border: none;
	border-right: 1px solid #E5E7EB;
	display: block;
	text-align: center;
	transition: all 0.2s ease;
}
#menu li:last-child a, #addlinks li:last-child a {
	border-right: none;
}
#menu li.internacional a {
	color: #999;
	float: left; 
	height: 1.3em;
	text-decoration: none; 
	padding: 3px 10px 4px 12px;
	width: 194px;
} 
#menu h1, #addlinks h1 {
	padding: 0;
	display: none;
}
.sidebaritem {
	position: relative;
	text-align: justify;
	margin: 0 0 15px 0;
	padding: 8px 14px 11px 12px;
	width: auto;
	float: none;
	height: auto;
	min-height: 0;
}
.sidebaritem[id] {
	height: auto;
}

/* column 2 - page content */
#column2 {
	text-align: justify;
	padding: 12px 14px 14px 14px;
	width: 100%;
	flex: 1 1 100%;
	float: none;
	border: none;
	border-radius: 0;
	box-shadow: none;
	order: -1;
}
#column2 h1 {
	padding: 0px 0px 5px 0px; 
	margin: 2px 0px 8px 0px; 
	border-bottom: 2px solid;
}
.sidebaritem a, #column2 a, .sidebaritem a:hover, #column2 a:hover {
	padding: 0;
	text-decoration: none;
}
a.leer_mas {
	display: block;
	text-align: right;
}

/* footer */
#footer {
	float: none;
	padding: 12px 0px 8px 0px;
	width: 100%;
	text-align: center;
	min-height: 2em;
	font-size: 90%;
}
#footer a, #footer a:hover {
	text-decoration: none;
}

/* contact page - form layout */
form{
	margin-top: 0;
}
div.row {
	clear: both;
	width: 448px;
	height: 2.8em;
}
div.row label {
	cursor: pointer;
	float: left;
	width: 170px;
	text-align: right;
	padding: 2px 0 0 0;
}
div.row span.forminput {
	float: right;
	text-align: right;
} 
div.spacer { clear: both;
	width: 80px;
	height: 22px;
}

input, textarea
{ width: 259px; 
  font-family: verdana, arial, sans-serif;
  font-size: 100%;
  border: 1px solid;
}


@media (max-width: 900px) {
	#content {
		flex-direction: column;
	}
	#column1,
	#column2 {
		width: 100%;
		flex: 1 1 100%;
	}
	#logo h1 {
		font-size: 150%;
	}
	#logo h2 {
		font-size: 102%;
	}
	#menu ul, #addlinks ul {
		flex-direction: column;
	}
	#menu li, #addlinks li {
		flex: 1 1 100%;
	}
	#menu li a, #addlinks li a {
		border-right: none;
		border-bottom: 1px solid #E5E7EB;
	}
}

@media (max-width: 600px) {
	body {
		font-size: 0.9rem;
	}
	#main {
		padding: 0 12px 20px;
	}
	#menu li a, #addlinks li a {
		padding: 8px 12px;
	}
}

.submit
{ font-family: verdana, arial, sans-serif;
  font-size: 100%; 
  border: 1px solid;
  width: 70px;
  height: 22px;
  cursor: pointer;
}

/* Profile and social links */
.contact-header {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-bottom: 20px;
	padding-bottom: 16px;
	border-bottom: 2px solid #E5E7EB;
}

.contact-header .hero-avatar {
	flex-shrink: 0;
}

.contact-info {
	flex: 1;
}

.info-section {
	margin: 16px 0;
	padding: 14px;
	background: #F9FAFB;
	border-radius: 10px;
	border-left: 3px solid #2563EB;
}

.info-section h2 {
	margin-top: 0;
	font-size: 110%;
}

.profile-links,
.social-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 8px 0 14px 0;
}

.profile-links a,
.social-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 8px;
	background-color: #F3F4F6;
	border: 1px solid #E5E7EB;
	transition: all 0.2s ease;
	text-decoration: none;
}

.profile-links a img,
.social-links a img {
	width: 28px;
	height: 28px;
}

.contact-title {
	padding: 0;
	margin: 4px 0;
	font-weight: 500;
	color: #0F172A;
	font-size: 105%;
}

.contact-email {
	padding: 0;
	margin: 8px 0 4px 0;
	font-size: 95%;
}

.contact-phone {
	padding: 0;
	margin: 0;
	font-size: 95%;
}

.profile-links a:hover,
.social-links a:hover {
	background-color: #2563EB;
	border-color: #2563EB;
	transform: translateY(-2px);
	box-shadow: 0 6px 14px rgba(37, 99, 235, 0.2);
}

.profile-links img,
.social-links img {
	width: 24px;
	height: 24px;
}

/* Sticky navigation */
#column1 {
	position: relative;
}

/* Smooth scrolling */
html {
	scroll-behavior: smooth;
}

/* Smooth transitions for all elements */
* {
	transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Better responsive spacing */
@media (max-width: 900px) {
	#column1 {
		position: relative;
		top: 0;
	}
}
