/*
Theme Name: Startorg Child
Template: startorg
Author: Cooperadora Hospital Gutierrez
Description: Tema hijo de Startorg.
Version: 1.0
*/
/* Fuente: Schoolbell Regular */
@font-face {
  font-family: 'Schoolbell';
  src: url('/wp-content/uploads/fonts/Schoolbell-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Fuente: TCB (bold) */
@font-face {
  font-family: 'Tw Cen MT Bold';
  src: url('/wp-content/uploads/fonts/TCB_____.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

/* Fuente: TCM (medium o regular) */
@font-face {
  font-family: 'Tw Cen MT Regular';
  src: url('/wp-content/uploads/fonts/TCM_____.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Fuente: TCMI (cursiva) */
@font-face {
  font-family: 'Tw Cen MT Italic';
  src: url('/wp-content/uploads/fonts/TCMI____.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}
/* Fuente: Fuzzy Bubbles*/
@font-face {
  font-family: 'Fuzzy Bubbles';
  src: url('./assets/fonts/FuzzyBubbles-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}
/* General */

h1 {
	font-size: clamp(40px, 7vw, 100px)!important;
}

h2 {
	font-size: clamp(22px, 4vw, 52px)!important;
}

h3 {
  font-size: clamp(18px, 3vw, 30px);
  line-height:normal;
  margin:0.5em 0;
}

p {
  font-size: clamp(15px, 2.5vw, 20px)!important;
}
.hg-section h1{
		font-size: clamp(22px, 4vw, 52px)!important;
}
.hg-mobile {
	display: none!important;
}
.hg-desktop {
	display: block;
}
.hg-group{
	margin:auto!important;
}
.hg-hero{
	padding:18vh 0 0 0!important;
}
.hg-group-h{
	margin-top:0px;
}
.home-hacemos-group{
		margin-block-start: 0rem!important;
}
@media only screen and (max-width: 780px) {
	.slider-container {
		background-size: contain!important;
		background-repeat: no-repeat;
		background-position-y: 30px!important;
	}
	.home-slider {
		max-width: 100%!important;
	}
	.home-spacer{
		display: none!important;
	}
	.home-origines {
		padding: 0px!important;
		padding-top: 30px!important;
		padding-bottom: 60px!important;
	}
	.home-origenes-cols {
		gap: 0;
	}
	header {
		margin: 0px -15px;
	}
	.wp-site-blocks {
		padding: 0px 15px;
		overflow-x: hidden;
	}
	.hg-img-header{
		margin: 0px -15px;
	}
	
	.hg-desktop {
		display: none!important;
	}
	.hg-mobile {
		display: block!important;
	}
	.header-container {
		flex-direction: row;
		width: 100%;
		min-width: 100%;
		max-width: 100%;
		margin-top: 20px;
		display: flex;
	}
	header .wp-block-site-logo {
		max-width: 100px;
	}
	header.wp-block-template-part div:first-child{
		padding-top: 0px!important;
	}
	.header-container .dona-ahora {
		padding: 10px;
	}
	ul.hg-nav {
		margin-left: 20px;
		align-items: start!important;
		text-align: left;
		justify-content: flex-start;
		margin-right: auto;
	}
	ul.hg-nav li{
		text-align: left;
		align-items: start!important;
	}

	.hg-nav .wp-block-navigation__responsive-container {
		background: #fff!important;
		color: #535353!important;
	}
	.wp-site-blocks main {
		padding: 15px;
	}
	
}
/* Nav */

.hg-nav .wp-block-navigation-item a:hover{
	text-transform: none;
	text-decoration: none;
}
.hg-nav .wp-block-navigation-submenu ul {
	background-color: transparent!important;
	border: none!important;
	border-left: 2px solid #fff!important;
	left: 0!important;
}
.hg-nav .wp-block-navigation-submenu a {
	text-decoration: none;
	text-transform: none;
}
.hg-nav a:hover {
	color: #ffcc29!important;
}
.hg-nav-baja{
	color:#ed2f59!important;
	text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.4)!important;
	}

/* Footer */

footer {
	margin-block-start: 0px;
}
@media only screen and (max-width: 780px) {
	footer div:first-child {
		padding: 8px 10px 0px 10px !important;
	}
}
p{
	font-family:"Tw Cen MT Regular", sans-serif!important;
	line-height:normal;
}
h2{
	font-family:"Schoolbell", sans-serif!important;
	font-weight:400!important;
}
/* Home */
.hg-historia{
	text-align: end;
	margin-right:0.5em!important;
}
.hg-manifiesto{
	margin-block-start: 0rem!important;
}
@media only screen and (max-width: 780px) {
	.hg-historia {
	margin-right:1em!important;
	}
}
.hg-bajada{
	float: right;
	background-color: #ed5f3b;
	padding: 5px 10px;
	margin-right: 4.5em!important;
	color:#fff!important;
	font-family: "Tw Cen MT Regular", sans-serif;
	font-weight:400;
}
.hg-text {
	margin-right:4.5em!important;
}
@media only screen and (max-width: 780px) {
	.hg-text {
		padding-bottom:2.5em;
	}
	.hg-manifiesto{
       text-align:center;
		max-width:100%!important;
	}
	.hg-spacer-mb{
		height:60px!important;
	}
}
.hg-body{
	font-family:"Tw Cen MT Regular", sans-serif!important;
	color: #535353;
	font-weight: 500;
}
.hg-manifiesto{
	color:#fff!important;
	max-width:90%;
}
ul{
	padding-inline-start: 0px!important;
}
.hg-slider-dona{
	box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.6)!important;
	margin-top:6em!important;
}
@media only screen and (max-width: 780px){
	.hg-slider-dona{
	margin-top:0em!important;	
	}
}
.hg-aporte{
	font-size:2.4em;
	line-height:normal;
}
.hg-aporte-cta{
	font-size:1.4em;
	line-height:normal;
}
@media only screen and (max-width: 780px){
.hg-aporte-cta{
	text-align:center;
}
}

.hg-baja{
	font-size:1.8em;
	line-height:normal;
}
.hg-t-nota a {
	text-decoration:none;
	font-weight:600;
    line-height:normal;
	font-size:26px;
}
.caja-estilizada {
  background-color: #fff;
  padding: 0px 20px 20px 0px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.75);
  border-top: 40px solid #ed8ca1; 
  position: relative; 
  padding-top: 0;
}
.caja-donantes{
	border-top: 40px solid #c5cfaa!important; 
}
.caja-alianzas{
	border-top: 40px solid #bca3ca!important; 
}

.encabezado-caja {
  background-color: #ed2f59;
  color: white;
  padding: 0px 25px;
  border-radius: 0px 30px 30px 30px;
  margin-bottom: 15px;
  display: inline-block;
  position: absolute; 
  top: -40px;
  font-family: 'Tw Cen MT', sans-serif;
}
.encabezado-donantes{
  background-color: #a8cf45;	
}
.encabezado-alianzas{
	background-color: #83559c;	
}

.encabezado-caja h2 {
  margin: 0;
  font-family: "Tw Cen MT Bold", sans-serif!important;
  font-size: 30px;
  font-weight: bold!important;
  color:#fff;
}
.encabezado-caja h3{
	color:#fff!important;
}

.caja-estilizada p {
  color: #535353;
  font-family:"Tw Cen MT Regular", sans-serif;
  font-style:normal;
  line-height: normal;
  padding: 30px 20px 0px 20px;
}
.hg-redes:hover{
	-webkit-transform: scale(1.2) !important;
    transform: scale(1.2) !important;
}
.hg-button:hover {
  -webkit-transform: scale(1.05) !important;
    transform: scale(1.05) !important;
}
.metaslider.ms-theme-clarity .flexslider .flex-direction-nav li a {
		    width: 40px!important;
}
.metaslider.ms-theme-clarity .flexslider .flex-direction-nav li {
    height: 40px!important;
    width: 40px!important;
}
@media only screen and (max-width: 780px){
	.hg-button{
	margin-top:10px!important;
	padding-bottom:10px!important;
	}
	.hg-button-dn{
	margin:auto!important;
	}
	
}
.hg-box{
	min-height:485px!important;
}
@media only screen and (max-width: 780px) {
.hg-box {
	min-height:400px!important;
	}
}
@media only screen and (min-width: 1920px) {
.hg-box {
	min-height:640px!important;
	}
}


.text-boxes {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}

.text-box {
  padding: 10px 30px;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.7);
	margin-bottom:1em;
}

/* Dona ahora */
.image-with-text {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin-bottom: -4px!important;
}

.image-with-text img {
  width: 100%;
  height: auto;
  display: block;
}

.image-overlay {
  position: absolute;
  top: 15%;
  left: 10%;
  font-size: 30px!important;
  font-weight: bold;
  max-width: 48%;
}
@media only screen and (min-width: 1920px) {
.image-overlay {
  font-size: 42px!important;
}
}
/* Noticias */

.noticia-item{
	position: relative;
	display: flex;
	margin-bottom: 20px;
	gap: 50px;
	align-items: center;
	justify-content: space-between;
}
@media only screen and (max-width: 780px) {
	.noticia-item {
		display: flex;
		gap: 0px;
		flex-direction: column;
	}
}


.noticia-item::before {
	content: '';
	display: block;
	position: absolute;
	top: 100%;
	width: 48%;
	border-top: 1px solid red;
	margin-bottom: 10px;
}
@media only screen and (max-width: 780px) {
	.noticia-item::before {
		width: 100%;
		top: 102%;
	}
}
.noticia-item.left::before {
	right: 0%;
}
.noticia-item.right::before {
	left: 0%;
}

.noticia-imagen {
	flex: 1;
	max-width:50%;
	position: relative;
}
@media only screen and (max-width: 780px) {
	.noticia-item.right .noticia-imagen {
		order: 0;
	}
	.noticia-item.right .noticia-texto {
		order: 1;
	}
	
	.noticia-imagen {
		max-width: 100%;
	}
}
.noticia-imagen img {
	max-width: 100%;
	max-height:300px;
	object-fit: cover;
}
@media only screen and (max-width: 780px) {
	.noticia-imagen img {
		max-height: 150px;
	}
}
.noticia-imagen img.img-stars {
	position: absolute;
	top: -15%;
	width: 100%;
	max-width: 100px;
	left: -15%;
}
.noticia-item.left .noticia-texto {
	text-align: left;
}

.noticia-item.right .noticia-texto {
	text-align: right;
}
.noticia-texto {
	flex: 1;
	margin-top: auto;
	margin-bottom: auto;
}
@media only screen and (max-width: 780px) {
	.noticia-texto, .noticia-item.right .noticia-texto, .noticia-item.left .noticia-texto {
		text-align: left;
	}
}
.noticia-title{
	color:#535353;
	font-family:"Tw Cen MT Bold", sans-serif;
	margin: 0px;
}
@media only screen and (max-width: 780px) {
.noticia-title{
	margin:6px 0px;
}
}
.noticia-fecha{
	color:#ed2f59;
	font-family:"Tw Cen MT Regular", sans-serif;
	margin: 0px;
	font-size: 14px;
}
.noticia-bajada{
    color:#535353;
	font-family:"Tw Cen MT Regular", sans-serif;
	font-weight: 400;
	margin: 0px;
	margin-top: 30px;
}
@media only screen and (max-width: 780px) {
	.noticia-bajada{
		margin-top: 20px;
		margin-bottom:10px;
	}
}	
.hg-post-noticia{
	position: relative;
}
.hg-autor {
	position: absolute;
	bottom: 0;
}
@media only screen and (max-width: 780px) {
.hg-autor{
	position:relative;
}
.hg-content-nt{
	margin-block-start:0!important;
}
	.hg-more-nt{
		padding-top:10px!important;
	}
}	
.hg-autor figure {
	margin-top: 0px!important;
}
/*Quienes somos*/
.hg-coop-box{
	margin-top:auto!important;
	margin-bottom:auto!important;
}
@media only screen and (max-width: 780px) {
.hg-coop-box{
	flex-basis:100%!important;
}
}
/*Festeja*/
@media only screen and (max-width: 780px) {
.hg-accordion-festeja{
	min-height:345px!important;
}
.hg-iniciativa{
	text-align:center;
	}
}
/*Form contacto*/

/* Campos del formulario */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    background-color: #e3dfdc;
    border: 1px solid #ccc;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    border-radius: 5px;
    margin-bottom: 10px;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.5); 
}

/* Botón de enviar */
.wpcf7 input[type="submit"] {
    background-color: #f7b14b;
    color: white;
	font-family:"Tw Cen MT Bold",sans-serif;
	font-size:18px;
    padding: 8px 40px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-weight: bold;
}
.wpcf7 p:has(.wpcf7-submit) {
  text-align: center;
}


/*Box contact*/
.contact-box {
  background-color: #fff;
  border-radius: 10px;
  padding: 40px 20px;
   box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.5); 
  max-width: 300px;
  text-align: center;
  margin: 20px auto;
  border: 1px solid #ccc;
}

.contact-icon {
  width: 60px;
  height: auto;
  margin-bottom: 10px;
}

.contact-email {
  font-size: 16px;
  color: #333;
  margin: 0;
}
.hg-redes-contacto{
  margin-top: auto;
  margin-bottom: auto;
}

/* Festeja y ayuda */
.accordion {
	width: 100%;
	margin: 20px auto;
	font-family: sans-serif;
}

.accordion-item {
	border-bottom: 1px solid #535353;
	margin-bottom: 20px;
   box-shadow: 3px 4px 5px rgba(0, 0, 0, 0.6);
}

.accordion-header {
	color: #fff;
	background-color: #535353;
	padding: 8px 20px;
	cursor: pointer;
	font-weight: bold;
	display: flex;
	align-items: center;
	justify-content: space-between;
	transition: background-color 0.3s;
}

.accordion-header.active {
	background-color: #ed2f59;
	color: white;
}

.accordion-title {
	flex: 1;
	text-align: center;
	font-family:"Tw Cen MT", sans-serif;
    font-size:larger;
}

.chevron {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: white;
	color: #c00;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.3s ease;
	font-size: 14px;
}

.accordion-header.active .chevron {
	transform: rotate(180deg);
}

.accordion-content {
	text-align: center;
	display: none;
	background-color: white;
	padding: 15px 20px;
	animation: fadeIn 0.3s ease-in-out;
}

.accordion-content.show {
	display: block;
}

@keyframes fadeIn {
	from { opacity: 0; }
	to   { opacity: 1; }
}

.social-media-box{
	display: flex;
	margin-bottom: -5px!important;

}
@media only screen and (max-width: 780px) {
.social-media-box{
    margin:30px -30px -20px -30px!important;		
	}
.hg-arrow{
	margin: auto!important;
    width: 50%;
	}
.hg-button-wa-mb{
	margin:0 -30px -5px -30px!important;
	}
}
.social-media-box .hg-redes-contacto {
	width: 100%;
}

.contact-col-box {
	min-height: 250px;
	text-align: center;
	color: #48b753;
	border-radius: 20px;
}
.contact-col-box .mail-to, .contact-col-box .mail-to:hover{
	color: #48b753;
	text-transform: none;
	text-decoration: none;
    text-align:center;
}
.contact-col-box figure {
	padding-top: 50px;
	margin-bottom: 50px;
	min-height: 70px;
}
.hg-map{
	margin:auto!important;
}
@media only screen and (max-width: 780px){
.contact-col-box figure {
	padding-top: 10px;
	margin-bottom: 0px;
	min-height: 0px;
}	
.contact-col-box{
	min-height: 0px;
	}
.hg-img-contact-mb img{
	height: 40px!important;
	margin-left:20px!important;
    margin-right:0px!important;
	}
.mail-to{
	text-align:left!important;
	}
}
.hg-contact{
		margin-top:0rem!important;
}
.tel-wa-box{
	display:block; 
	text-decoration: none;
	text-align:left; 
	color:#48b753;
}
.wa-box .wp-block-columns {
	padding-top:0px!important;
	padding-bottom:0px!important;
	min-width: 100%;
}

/*Testamento*/
.hg-btn-legado{
	width:29%!important;
	}
.hg-tbox {
  display: flex;
  flex-direction: row;
}
.hg-txt-leg{
	text-align:right;
}
@media only screen and (max-width: 780px) {
.hg-btn-legado{
	width:100%!important;
	}
	
.hg-text-leg{
	text-align:center!important;
}
.hg-tbox {
    flex-direction: column-reverse;
}
.hg-img-leg{
	margin:auto!important;
}
.hg-txt-leg{
    margin:auto!important;
	text-align:center;
	}
}


/* Home */
@media only screen and (max-width: 780px) {
	.home-primer-hospital{
		margin: -30px;
		min-height: auto!important;
	}
	.home-primer-hospital .hg-historia.hg-historia-header {
		padding-top: 30px!important;
		max-width: 60%!important;
		font-size: 20px!important;
		margin-bottom: 5px;
	}
	.home-primer-hospital .hg-historia.hg-bajada {
		padding: 2px 8px!important;
		font-size: 12px!important;
		max-width: 36%!important;
		line-height: 1;
	}
	.home-primer-hospital .hg-historia.hg-text {
		margin-top: 40px!important;
		max-width: 45%!important;
		font-size: 14px!important;
	}
	.home-hacemos-group {
		background-size: contain!important;
	}
	.home-que-hacemos {
		padding: 40px 0px 0px 0px!important;
    	margin-top: 6vh!important;
	}
	/*.home-hacemos-group .hg-box{
		min-height: auto!important;
		display: flex;
	}*/
	.home-quienes-header, .home-sumate-header {
		text-align: center;
		margin-top: 0px!important;
	}
	.home-sumate-header {
		display: none;
	}
	.header-solidaridad-mb{
		text-align:center;
	}
	.encabezado-caja h2 {
		font-size: 20px;
	}
	.home-sumate-container {
		display:flex;
		flex-direction: row;
		max-width: 100%;
		width: 100%;
		gap: 0;
	}
	.home-sumate-redes-container {
		max-width: 50%!important;
		width: 50%!important;

	}
	.hg-sumate-redes {
		margin-top: 30px!important;
		margin-bottom: 0px!important;
		gap: 10px;
	}
	.hg-sumate-redes .hg-redes {
		margin-right: 0px!important;
	}
	.home-sumate-container .is-style-fill{
		width: 100%!important;
	}
	.hg-sumate-celular {
		max-width: 50%!important;
		width: 50%!important;
	}
	.home-wa {
		margin: 0px -15px!important;
	}
	footer {
		margin: 0px -15px!important;
	}
	footer .footer-col {
		display: flex;
		flex-direction: row!important;
		gap: 0;
		width: 100%!important;
	}
	footer .footer-col .wp-block-column:first-child{
		width: 68%!important;
		max-width: 68%!important;
	}

	footer .footer-col .wp-block-column{
		width: 25%!important;
		max-width: 25%!important;
	}
	footer .footer-col .wp-block-column div {
		padding: 0!important;
	}
	footer .footer-col .wp-block-column h3{
		font-size: 12px!important;
	}
	footer .footer-col .footer-cp {
		min-width: 100%!important;
		width: 100%!important;
	}
	footer .footer-col .footer-cp a {
		padding: 2px 7px!important;
		font-size: 12px!important;
	}
	footer .wp-block-site-logo {
		padding-bottom: 25px;
	}

	
}

/*Baja*/
@media only screen and (max-width: 780px) {
	.wpcf7-spinner{
		display:block!important;
		margin:0px!important;
	}

}
	
/* NAV */
@media only screen and (max-width: 780px) {
	.hg-nav-brand {
		width: 100%;
	}
	.hg-nav-brand a {
		background: url("../../../wp-content/uploads/2025/04/logo-mb.webp");
		background-size: contain;
		background-repeat: no-repeat;
		height: 60px;
		content: "   ";
		display: block; 
	}   
	.hg-nav-flags a {
		background: url("../../../wp-content/uploads/2025/04/testamento-bg.webp");
		background-size: contain;
	    background-repeat: no-repeat;
		height: 40px;
		display: block; 
	}
	.nav-dona-button {
		width: 100%;
		margin-top: 10px;
	}
	.nav-dona-button a {
		margin-left: auto;
		text-align: right;
	}
	.nav-dona-button span {
		background-color: #48b753;
		padding: 10px 40px;
		color: #fff;
		border-radius: 20px;
	}
	.hg-nav .wp-block-navigation__responsive-container .hg-nav-baja{
		color:#ed2f59!important;
	}
}

.story-banner {
  height:22vh; 
  overflow: hidden;
  color: #fff!important;
}

.story-banner .slide {
  position: absolute;
  left: 34%;
  max-width:55%;
  transform: translate(-50%, -40%)!important; /* centra perfectamente en el contenedor */
  opacity: 0;
  transition: opacity 1s ease-in-out;
  padding: 1rem 0rem;
  box-sizing: border-box;
  color:#fff;
  font-size:22px!important;
}
@media only screen and (max-width: 780px){
.story-banner .slide {
  max-width:100%;
}
}
.story-banner .slide.active {
  opacity: 1;
  z-index: 1;
}
@media only screen and (min-width: 1920px){
	.story-banner .slide {
		font-size:32px!important;
	}

}

/*botón noticias*/
.boton-cargar-mas{
    background-color: #ed2f59!important;
    color: #fff!important;
	font-weight:600;
	font-family:"Tw Cen MT Regular", sans-serif!important;
    border: none;
    padding: 8px 15px;
    border-radius: 15px;
    cursor: pointer;
}
.boton-cargar-mas:hover{
    background-color: #fff;
	color: #000;
}
