@charset "UTF-8";

body {
	padding-top: 0;
	margin: 0;
	background: #f5f5f5;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: #222222;
	line-height: 1.6;
}

.container {
	background-color: #FFFFFF;
	width: 96%;
	max-width: 1100px;
	margin: 32px auto;
	border-bottom-width: 0px;
	padding: 24px 28px 36px;
	border-radius: 14px;
	box-shadow: 0 14px 34px rgba(0,0,0,0.08);
}


a:hover{text-decoration:none;}


a{text-decoration:none;}


.main-header {
	background: #f9fafb;
	color: #222222;
	width: 100%;
	border-radius: 12px 12px 0 0;
	box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.row {
	width: 100%;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	display: inline-block
}
.row.blockDisplay {
	display: block;
}
.column_half {
	width: 50%;
	float: left;
	margin-top: 0px;
}
.columns {
	width: 25%;
	float: left;
	font-family: inherit;
	color: #A5A5A5;
	line-height: 24px;
	padding-top: 10px;
	padding-bottom: 10px;
	text-align: justify;
	margin-top: 15px;
	margin-bottom: 15px;
	padding-left: 0px;
	padding-right: 0px;
	margin-left: 0px;
	margin-right: 0px;
}
.row .columns p {
	padding-left: 10%;
	padding-right: 10%;
}
.container .columns h4 {
	text-align: center;
	color: #01B2D1;
}
.primary_header {
	width: 100%;
	background-color: #ffffff;
	padding: 20px 16px;
	clear: left;
	border-bottom: 1px solid rgba(0,0,0,0.06);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}
.primary_header a {
	color: inherit;
	text-decoration: none;
}
#uno {
	background-color: #52bad5;
	width: 29%;
	float: left;
	height: 100%;
	}
#dos {
	background-color: #52bad5;
	width: 40%;
	height: 100%;
	float: left;
	}
#tres {
	background-color: yellow;
	width: 29%;
	height: 100%;
	float: left;
	}	
	
.secondary_header {
	width: 100%;
	padding-top: 12px;
	padding-bottom: 12px;
	background-color: #2563eb;
	clear: left;
	border-top: 1px solid rgba(255,255,255,0.2);
}
.container .secondary_header ul {
	margin-top: 0%;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	padding: 4px 12px 18px;
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px 18px;
}
.secondary_header ul li {
	list-style: none;
	margin-right: auto;
	margin-top: 0px;
	font-family: inherit;
	font-weight: 600;
	color: #FFFFFF;
	letter-spacing: 1px;
	margin-left: auto;
	text-align: center;
	padding: 10px 18px;
	border-radius: 12px;
	transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
	font-size: 1.05em;
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.12);
}
.secondary_header a {
	color: #FFFFFF;
	}
.secondary_header ul li:hover {
	color: #f8fafc;
	cursor: pointer;
	background: rgba(0,0,0,0.16);
	text-decoration: underline;
	text-underline-offset: 4px;
	transform: translateY(-1px);
	box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}








#buscador{
	
	float:left;
	width: 25%;
	position: absolute;
  top: 18%;
  left: 70%;
	margin-top: 0%;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	}
.left_article {
	background-color: #FFFFFF;
	width: 100%;
	float: none;
	font-family: inherit;
	color: #343434;
	padding-bottom: 15px;
	margin-left: 0;
	margin-right: 0;
	clear: both;
}
.noDisplay {
	display: none;
}
.container .left_article h3 {
	padding-left: 5%;
	padding-right: 5%;
	margin-top: 5%;
	color: #222222;
	font-weight: bold;
	text-transform: uppercase;
}
.container .left_article p {
	padding-left: 5%;
	padding-right: 5%;
	text-align: justify;
	line-height: 24px;
	margin-top: 30px;
	margin-bottom: 15px;
	color: #555555;
}
.right_article {
	width: 31%;
	min-width: 260px;
	display: inline-block;
	vertical-align: top;
	background-color: #FFFFFF;
	padding: 12px 12px 18px;
	text-align: center;
	margin: 0 1% 26px;
	border-radius: 16px;
	box-shadow: 0 8px 20px rgba(0,0,0,0.06);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	overflow: hidden;
}
.right_article:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.dos_article {
	width: 45%;
	float: left;
	background-color: #FFFFFF;
	padding-top: 10px;
	padding-right: 1%;
	padding-bottom: 10px;
	padding-left: 1%;
	text-align: center;
	
}
.container .right_article ul {
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}
.right_article ul li {
	font-family: inherit;
	list-style: none;
	text-align: center;
	background-color: #B3B3B3;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	margin-top: 30px;
	margin-bottom: 30px;
	color: #FFFFFF;
	font-weight: bold;
	border-radius: 0px;
	transition: all 0.3s linear;
	border-left: 5px solid #717070;
}







.right_article ul li:hover {
	background-color: #717070;
	cursor: pointer;
}

fieldset{
    border-radius: 5px;
    box-shadow: 0 0 10px #999;
}
legend{
    background:#fff;
}
.boton{
        font-size:.8em;
        font-family:Verdana,Helvetica;
        color:white;
        background:#52bad5;
		border-radius: 6px;
        border:0px;
        width:160px;
        height:30px;
       }
.footer {
	background-color: #1f2933;
	padding: 24px 16px;
	border-radius: 0 0 12px 12px;
	color: #e5e7eb;
}
.footer-inner {
	max-width: 100%;
	width: 100%;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 0 24px 8px;
}

.footer-block {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.footer-label {
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #e5e7eb;
	font-size: 0.95rem;
}

.footer-icons {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.footer-icons img {
	width: 46px;
	height: 46px;
	object-fit: contain;
	border-radius: 12px;
	transition: transform 0.15s ease, opacity 0.15s ease;
	background: rgba(255,255,255,0.06);
	padding: 6px;
}

.footer-icons a:hover img {
	transform: translateY(-2px);
	opacity: 0.9;
}

.footer-projects-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.title {
	
	font-size: 2.3rem;
	font-weight: 700;
	font-style: normal;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	text-align: center;
	color: #222222;
	letter-spacing: 0.6px;
	margin: 0;
	line-height: 1.2;
}
.placeholder {
	width: 100%;
	padding-top: 0;
	padding-bottom: 0;
	height: auto;
	border-radius: 16px;
	box-shadow: 0 6px 18px rgba(0,0,0,0.06);
	display: block;
}
.left_half {
	background-color: #52BAD5;
}
.container .column_half.left_half h2 {
	color: #FFFFFF;
	font-family: inherit;
	text-align: center;
}
.right_half {
	background-color: #01B2D1;
	color: #FFFFFF;
	font-family: inherit;
	text-align: center;
	font-weight: bold;
}
.column_title {
	padding-top: 25px;
	padding-bottom: 25px;
}
.copyright {
	text-align: center;
	color: #e5e7eb;
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 1.2px;
	border-top-width: 0;
	font-family: inherit;
	padding: 12px 8px;
	margin-top: 0;
}
.footer-projects {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 0.95em;
	padding: 0;
	color: #e5e7eb;
	font-family: inherit;
}
.footer-projects span {
	font-weight: 600;
	letter-spacing: 0.5px;
	margin-right: 8px;
}
.footer-projects a {
	display: inline-block;
	text-decoration: none;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.1);
	color: #e5e7eb;
	transition: background-color 0.15s ease, transform 0.15s ease;
}
.footer-projects a:hover {
	background-color: rgba(255,255,255,0.14);
	transform: translateY(-1px);
}

@media (min-width: 768px) {
	.footer-inner {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		padding: 0 32px 8px;
	}
	.footer-block {
		width: 33%;
	}
}
.espacio {
    padding-top: 120px; /* Relleno superior igual a la altura de la cabecera*/
        }




.menu_bar {
    
    display: none;
}

.video-responsive {
position: relative;
padding-bottom: 56.25%; /* 16/9 ratio */
padding-top: 30px; /* IE6 workaround*/
height: 0;
overflow: hidden;
}

.video-responsive iframe,
.video-responsive object,
.video-responsive embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}


@media (max-width: 320px) {


body {
	padding-top: 0;
	margin: 0;
}
.main-header {
	background: #f9fafb;
	color: #222222;
}
.container {
	margin: 14px auto;
	padding: 18px 16px 26px;
}
    
    .secondary_header ul li {
	float: none;
	margin-top: 28px;
	margin-left: 0px;
	width: 100%;
	
}
.secondary_header {
	background: #2563eb;
}
.container .secondary_header ul {
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	height: auto;
	width: 100%;
	text-align: center;
	
}
.secondary_header {
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	padding-top: 1px;
	padding-bottom: 40px;
	
}
.left_article {
	width: 100%;
	height: auto;
}
.right_article {
	width: 100%;
	height: auto;
	margin: 0 0 18px;
}
    
    
    .dos_article {
	width: 100%;
    height: auto;
	
}
.placeholder {
	width: 100%;
	margin-top: 22PX;
	margin-right: 0px;
	margin-bottom: 22PX;
	margin-left: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	max-width: 400px;
	max-height: 200px;
	height: auto;
}
.columns {
	width: 100%;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	padding-top: 0PX;
	padding-right: 0PX;
	padding-bottom: 0PX;
	padding-left: 0PX;
}
.columns p {
	padding-left: 10px;
	padding-right: 10px;
}
.column_half.left_half {
	width: 100%;
}
.column_half.right_half {
	width: 100%;
}
.copyright {
	padding-top: 15px;
	padding-bottom: 0px;
	margin-bottom: 0px;
}
.footer-projects {
	flex-direction: column;
	align-items: center;
	gap: 6px;
	text-align: center;
}
.footer-projects a {
	width: 100%;
	text-align: center;
}
.container .left_article h3 {
	margin-top: 30px;
}
.social {
	gap: 10px;
	padding: 14px 10px;
}
.social_icon {
	float: none;
	width: auto;
	text-align: center;
}
.social_icon img {
	width: 60px;
	height: 60px;
}
}





/* ============================= @media (min-width: 321px) and (max-width: 768px)==================== */
@media (min-width: 321px) and (max-width: 768px) {

   
    body {
	
	padding-top: 0px; /* Relleno superior igual a la altura de la cabecera*/
    margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}
.container {
	margin: 16px auto;
	padding: 20px 18px 28px;
}

    
    
    .main-header {
	background: #f9fafb;
	color: #222222;
	width: 100%;
	top: 0;
}
    
    .secondary_header ul li {
	float: none;
	margin-top: 28px;
	margin-left: 0px;
	width: 100%;
}
.container .secondary_header ul {
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	height: auto;
	width: 100%;
	text-align: center;
}
    .secondary_header {
    background: #2563eb;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	padding-top: 10px;
	padding-bottom: 40px;
	font-size: 100;
    width: 100%;
    height: 100%;
    margin: 0;
}   
    
.left_article {
	width: 100%;
	height: auto;
}
.right_article {
	width: 48%;
	height: auto;
	padding-bottom: 25px;
	margin: 0 1% 20px;
	display: inline-block;
	float: none;
}
    
 .dos_article {
	width: 100%;
    height: auto;
	
}
.placeholder {
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	width: 100%;
	max-width: 100%;
	height: auto;
	max-height: 100%;
}
.columns {
	width: 100%;
	margin-top: 6px;
	margin-right: 0px;
	margin-bottom: 6px;
	margin-left: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}
.columns p {
	padding-left: 14px;
	padding-right: 14px;
}
.column_half.left_half {
	width: 100%;
}
.column_half.right_half {
	width: 100%;
}
#buscador{
	background: blue;
	
	width: 80%;
	position: absolute;
  top: 55%;
  left: 10%;
	margin-top: 0%;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	}
    
     .thumbnail {
	width: 50px;
	border-radius: 200px;
	height: 50px;
	margin-left: auto;
}
.thumbnail_align {
	text-align: center;
}
    
.social {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 18px;
	width: 100%;
	background-color: #333333; 
	padding: 16px 0;
	margin: 0;
}
.social_icon {
	width: auto;
	text-align: center;
	float: none;
	transition: all 0.3s linear;
	line-height: 1;
	padding-top: 0;
}
.social_icon img {
	width: 60px;
	height: 60px;
}
.container .social .social_icon:hover {
	cursor: pointer;
	opacity: 0.9;
	transform: translateY(-2px) scale(1.04);
}
.footer-projects {
	flex-direction: column;
	align-items: center;
	gap: 6px;
	text-align: center;
}
.footer-projects a {
	width: 100%;
	text-align: center;
}
    
    
    
    .menu_bar {
        
        display:block;
        width: 100%;
        background: #ccc;
        height: 100px;
        
    } 
    
    .menu_bar .bt-menu{
        display:block;
        padding: 20px;
        background: #024959;
        text-decoration: none;
        font-weight: bold;
        font-size:25px;
        -webkit-box-sizing:border-box;
        -moz-box-sizing:border-box;
        box-sizing:border-box;
        
    }
    
    .menu_bar span {
        float:right;
        font-size: 40px;
    }
}

/* ============================= @media (min-width: 769px) and (max-width: 1000px)==================== */

@media (min-width: 769px) and (max-width: 1000px) {

        .main-header {
	background: #f9fafb;
	color: #222222;
	width: 100%;
	top: 0;
	position: fixed; z-index: 10;
}
    
    .espacio {
    padding-top: 200px; /* Relleno superior igual a la altura de la cabecera*/
        }
     
    
    .secondary_header {
	overflow: auto;
	padding-top: 20px;
	padding-bottom: 20px;
}
.secondary_header ul li {
	margin-top: 10px;
	margin-right: 7%;
	margin-bottom: 10px;
	margin-left: 7%;
}
.left_article {
	height: auto;
}
.right_article {
	height: auto;
	padding-bottom: 27px;
}
    
.dos_article {
	width: 100%;
    height: auto;
	
}
.placeholder {
	width: 100%;
	margin-left: 0px;
	margin-right: 0px;
	padding-left: 15px;
	padding-right: 15px;
	
}
.columns {
	width: 50%;
	float: left;
	padding-left: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
}
.container .columns p {
	padding-left: 25px;
	padding-right: 25px;
}

    .thumbnail {
	width: 50px;
	border-radius: 200px;
	height: 50px;
	margin-left: auto;
}
.thumbnail_align {
	text-align: center;
}
    
.social {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 20px;
	width: 100%;
    background-color: #333333;
	padding: 16px 12px;
	margin: 0;
}
.social_icon {
	width: auto;
	text-align: center;
	float: none;
	transition: all 0.3s linear;
	line-height: 1;
	padding-top: 0;
}
.social_icon img {
	width: 64px;
	height: 64px;
}
.container .social .social_icon:hover {
	cursor: pointer;
	opacity: 0.9;
	transform: translateY(-2px) scale(1.04);
}

}

@media (min-width: 1001px) {

.main-header {
	background: #f9fafb;
	color: #222222;
	width: 100%;
	top: 0;
	position: fixed; z-index: 10;
}
  
    
    
    
    
.thumbnail {
	width: 64px;
	border-radius: 16px;
	height: 64px;
	margin-left: auto;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.thumbnail_align {
	text-align: center;
}
.social {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 22px;
	width: 100%;
    background-color: #333333;
	padding: 16px 12px;
	margin: 0;
}
.social_icon {
	width: auto;
	text-align: center;
	float: none;
	transition: all 0.3s linear;
	line-height: 1;
	padding-top: 0;
}
.social_icon img {
	width: 60px;
	height: 60px;
}
.container .social .social_icon:hover {
	cursor: pointer;
	opacity: 0.9;
	transform: translateY(-2px) scale(1.05);
}
#menu {
}
    }

/* ===========================
   Estilos solicitados (override)
   =========================== */
/* BASE */
body {
    background: #f5f5f5 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    color: #222 !important;
    padding-top: 0 !important;
}

.container {
	background: #ffffff;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	padding: 32px 24px 36px;
	border-radius: 0;
	box-shadow: none;
}

/* HEADER */
.primary_header {
    text-align: center;
    padding: 24px 0;
    background: #ffffff !important;
}

.title {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
}

/* NAV MENU */
.secondary_header {
    background: #2563eb !important;
    padding: 10px 0 !important;
    border-radius: 8px;
    margin-bottom: 24px;
}

#cssmenu ul li a {
    color: #ffffff !important;
    font-weight: 500;
    padding: 12px 18px !important;
    border-radius: 6px;
}

#cssmenu ul li a:hover {
    background: rgba(255,255,255,0.18);
}

/* CARDS DE CURSOS */
.right_article {
    display: inline-block;
    margin: 12px;
}

.right_article img {
    border-radius: 18px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    transition: all 0.15s ease;
}

.right_article img:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

/* SOCIAL BAR */
.social {
    background: #333333 !important;
    display: flex;
    justify-content: center;
    gap: 32px;
    padding: 16px 0;
}

.social_icon img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    transition: transform 0.15s ease;
}

.social_icon img:hover {
    transform: scale(1.07);
}

/* FOOTER */
.footer {
	background: #1f2933 !important;
	color: #e5e7eb !important;
	padding: 24px;
	border-radius: 0;
	margin-top: 24px;
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
}

.footer-projects span {
	font-weight: 600;
	margin-right: 8px;
}

.footer-projects a {
    display: inline-block;
    padding: 4px 10px;
    margin-right: 6px;
    background: rgba(255,255,255,0.06);
    border-radius: 999px;
    color: #e5e7eb !important;
    text-decoration: none;
    transition: all 0.15s ease;
}

.footer-projects a:hover {
	background: rgba(255,255,255,0.18);
	transform: translateY(-2px);
}

/* Menú principal fijo en todas las páginas */
.main-header {
	position: fixed !important;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
}

/* Compensar el alto del header fijo para que el contenido no quede oculto */
body {
	padding-top: 220px !important;
}

/* ===========================
   Ajustes generales de layout y navegación responsiva
   =========================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html, body {
	overflow-x: hidden;
}

.main-header {
	position: relative;
	width: 100%;
	box-shadow: 0 2px 10px rgba(0,0,0,0.04);
	background: #f9fafb;
}

.secondary_header {
	box-sizing: border-box;
	padding: 10px 12px !important;
	margin: 0 0 24px;
	border-radius: 10px;
}

#cssmenu ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px;
	padding: 0 12px;
	margin: 0;
}

#cssmenu ul li {
	margin: 0;
	padding: 0;
}

#cssmenu ul li a {
	display: block;
	font-size: 1rem;
	white-space: normal;
}

/* Tablas y contenido internos coherentes con el ancho del container */
.container table {
	width: 100%;
	max-width: 100%;
	border-collapse: collapse;
	margin: 16px 0;
}

.container th,
.container td {
	padding: 10px 12px;
	text-align: left;
	color: #222;
}

.container th {
	background: #eef2ff;
	color: #1f2937;
}

.container td {
	background: #ffffff;
}

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

/* ------------------------------ */
/* Menú responsive con hamburguesa */
/* ------------------------------ */
.main-header .secondary_header {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.mobile-menu-toggle {
	display: none;
	align-items: center;
	align-self: flex-end;
	gap: 10px;
	padding: 10px 14px;
	background: #1d4ed8;
	color: #ffffff;
	border: 1px solid rgba(255,255,255,0.18);
	border-radius: 12px;
	font-weight: 700;
	letter-spacing: 0.5px;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(0,0,0,0.12);
	transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.mobile-menu-bars {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.mobile-menu-toggle:hover {
	background: #1e40af;
	transform: translateY(-1px);
	box-shadow: 0 8px 18px rgba(0,0,0,0.16);
}

.mobile-menu-toggle .bar {
	display: block;
	width: 24px;
	height: 3px;
	border-radius: 4px;
	background: currentColor;
	margin: 0;
}

@media (max-width: 900px) {
	.main-header .secondary_header {
		align-items: stretch;
		padding: 12px 12px 18px !important;
		gap: 10px;
	}

	.main-header .mobile-menu-toggle {
		display: inline-flex;
		justify-content: center;
		align-items: center;
		align-self: flex-end;
	}

	.main-header .secondary_header #cssmenu {
		width: 100%;
	}

	.main-header .secondary_header.is-collapsed #cssmenu {
		display: none !important;
	}

	.main-header .secondary_header.is-collapsed.is-open #cssmenu {
		display: block !important;
	}

	.main-header #cssmenu ul {
		flex-direction: column;
		align-items: stretch;
		gap: 6px;
	}

	.main-header #cssmenu ul li {
		width: 100%;
	}

	.main-header #cssmenu ul li a {
		width: 100%;
		text-align: center;
	}
}

@media (min-width: 901px) {
	.main-header .mobile-menu-toggle {
		display: none;
	}

	.main-header .secondary_header {
		flex-direction: column;
	}

	.main-header .secondary_header #cssmenu {
		display: block !important;
	}
}

@media (max-width: 1024px) {
	#cssmenu ul li a {
		padding: 10px 14px !important;
		font-size: 0.98rem;
	}
}

@media (max-width: 768px) {
	body {
		padding-top: 180px !important; /* compensa header fijo en móvil */
	}
	.container {
		margin: 20px auto;
		padding: 22px 18px;
	}
	#cssmenu ul {
		flex-direction: column;
		align-items: stretch;
		gap: 6px;
	}
	#cssmenu ul li a {
		width: 100%;
		text-align: center;
		white-space: normal;
	}
	.right_article {
		width: 100%;
		max-width: 100%;
		margin: 0 0 18px;
	}
	.container table {
		display: block;
		overflow-x: auto;
	}
}
