 .only-logged {
 	display: none;
 }
 .logged-in .only-logged {
 	display: block;
 }

 /* CABECERA TIPO */
.cabecera-tipo {
	background-color:var(--bg-grey);
	color:black;
    position: relative;
    z-index: 1;
}
.cabecera-tipo-container {
    padding: 48px 0;
}
.cabecera-tipo .section-title {
	font-weight: 700;
}
.cabecera-tipo-content {

}
.cabecera-tipo h1.cabecera-tipo-pretitle {
	/* text-transform: uppercase; */
	color:var(--light-grey);
}
.cabecera-tipo-pretitle + .cabecera-tipo-title {
	margin-top: 16px;
}
.cabecera-tipo-title {
    font-size: 44px;
    line-height: 50px;
    font-weight: 700;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
	max-width: 440px;
	margin-left: auto;
	margin-right: auto;
}
.cabecera-tipo-text {
	width: 90%;
	max-width: 880px;
	margin:16px auto  0 !important;
}
.cabecera-tipo-text p {
	margin: 0 !important;
	text-align: center;
    font-size: 18px;
    line-height: 22px;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.cabecera-tipo-text p.centered-text {
	margin-left: auto !important;
	margin-right: auto !important;
}

/* SOBRE NOSOTROS */

section#desde-1974 {
	overflow:hidden;
}
.sobre-nosotros-intro-img {
	height: 694px;
	max-height: 70vh;
	display: block;
	position:relative;
}
.sobre-nosotros-intro-overlay {
	position:absolute;
    z-index: 0;
	height:100%;
	width:100%;
	top:0;
	left:0;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	animation: zoomin 100s infinite alternate ease-out !important;
}
.sobre-nosotros-porque-grid-wrapper  {
    position: relative;
}
.sobre-nosotros-porque-grid-wrapper::after {
	content: "";
	position: absolute;
	width: 50%;
	height: 100%;
	left: 50%;
	z-index: 0;
	top: 0;
	background-color: white;
}
.sobre-nosotros-porque-grid-wrapper-inner {
    background-color: transparent;
    margin-top: -164px;
}
.sobre-nosotros-porque-grid-container  {
	width: 660px;
	width: 720px;
	max-width: 100%;
	margin-right: 0;
	margin-left: auto;
	background: #FFF;
	padding: 112px 0 224px 112px;
	padding: 64px 0 128px 64px;
    position: relative;
    z-index: 1;
}
.sobre-nosotros-porque-item-icon {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center;
}

/* NUESTRA HISTORIA */

section.nuestra-historia {
	background-color: black;
	color: white;
	padding: 56px 0;
	position: relative;
	overflow-x:hidden ;
}
section.nuestra-historia h2,
section.nuestra-historia h3,
section.nuestra-historia p {
	max-width: 648px;
}

.nuestra-historia-bg {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-image: url('/wp-content/themes/mediclinicstheme/img/nuestra-historia.webp');
    opacity: 0.2;
    height: 100%;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

/* Cronologia */
#cronlonogia {

}
.cronologia {
	position: relative;
	display: block;
	margin-top: 112px;
	margin-top: 48px;
}
.cronologia::after {
    content: "";
    height: 3px;
    background-color: #FFF;
    width: 100vw;
    left:calc(-50vw + 540px);
    position: absolute;
    bottom: 16px;
    z-index: 0;
    opacity: 0.8;
}
.cronlonogia-slider {
	z-index: 1;
}
.cronologia-item {
	height: 100%;
    position: relative;
    z-index: 1;
}
.cronologia-item-inner {
	background-color: transparent;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
    justify-content: space-between;
    align-items: center;
}
.cronologia-item-img {
	display: block;
	width: 72px;
	height: 72px;
	object-fit: contain;
	margin: auto;
}
.cronologia-item-ano {
	display: block;
	font-size: 26px;
	color: var(--beige);
	font-weight: 500;
}
.cronologia-item-texto {
	display: block;
	min-height: 96px;
	max-width: 156px;
	margin: auto;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    font-weight: 300;
    padding-bottom: 56px;
    box-sizing: content-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.cronologia-item-dot {
	border-radius: 100%;
	display: block;
	margin: auto;
	width: 32px;
	height: 32px;
	border: 5px solid black;
	background-color: var(--beige);
	position: relative;
	z-index: 1;
}
.cronologia-item-dot::before {
	content: "";
	position: absolute;
	width: 1px;
	left: 11px;
	height: 56px;
	height: 48px;
	top:-65px;
	top: -57px;
	background-color: #FFF;
	opacity: 0.8;
}
button.slick-next.slick-arrow,
button.slick-prev.slick-arrow {
	position: absolute;
}


.sobre-nosotros-section p.section-title.centered-title {
    max-width: 516px;
}
.sobre-nosotros-section .centered-text {
    max-width: 714px;
    margin-left: auto;
    margin-right: auto;
}


.mediclinics-fullwidth-image-section {

}
.mediclinics-fullwidth-image-section img {
	object-fit: cover;
	aspect-ratio: 1444/474;
	display: block;
	width: 100%;
	height: 100%;
}

/* CERTIFICACIONES */
.certificacion-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
	gap:24px;
	margin-bottom:80px;
	max-width: 1074px;
}
.certificacion-list img {
	display:block;
	max-width:100%;
	height:auto;
}
.certificacion-item a {
	position:relative;
	transition:all 0.4s ease;
}
.certificacion-item a::after {
	content: "";
	background-color: var(--beige);
	width: 52px;
	height: 52px;
	background-image: url(/wp-content/themes/mediclinicstheme/img/download-arrow-white.svg);
	background-size: 12px auto;
	background-repeat: no-repeat;
	background-position: center center;
	transition:all 0.4s ease;
	position: relative;
	display: block;
	float: inline-end;
	margin-top: -26px;
	margin-bottom: 26px;
}
.certificacion-item a:hover::after {
	background-color:black;
}

/* SOSTENIBILIDAD */

.sostenibilidad-section .centered-title,
.sostenibilidad-section .centered-text {
	max-width:654px !important;
	width: 90% !important;
	margin-right:auto;
	margin-right:auto;
}
/* SOSTENIBILIDAD HERO  */
section.sostenibilidad-section.sostenibilidad-hero {
	background-position: top center;
	position: relative;
	height: auto;
	min-height: initial;
}
section.sostenibilidad-section.sostenibilidad-hero::before {
    content: "";
    position: absolute;
    background-color: #000;
    z-index: 0;
    pointer-events: none;
    width: 100%;
    height: 100%;
    opacity: 0.4;
}
section.sostenibilidad-section .home-hero-slide-item-inner {
	align-items: flex-start;
}
section.sostenibilidad-section .home-hero-slide-item-caption  {
	height: 100%;
}
section.sostenibilidad-section .sostenibilidad-hero-caption {
	/* padding-top: 203px;  110 + 45 + 48 */
	padding: 203px 0 72px;
	padding: 155px 0 56px;
	height: 100%;
}
section.sostenibilidad-section .sostenibilidad-hero-caption-inner {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 100%;
}


.sostenibilidad-hero-caption * {
	color: white !important;
}
.sostenibilidad-hero-caption .section-title {
	font-weight: 700;
}
.sostenibilidad-section .sostenibilidad-hero-caption .centered-text {
	max-width:880px !important;
	width: 100% !important;
	margin-left: auto;
	margin-right: auto;
}
.sostenibilidad-hero-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 48px auto 0;
    color: white !important;
}
.sostenibilidad-hero-icon-block img {
    height: 90px;
    height: 64px;
    width: 100px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}
.sostenibilidad-hero-icon-block {
	font-weight: 300 !important;
}
.sostenibilidad-hero-icon-block p {
	margin: 0 auto;
	font-weight: 300 !important;
	font-size: 18px;
	line-height: 22px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.sostenibilidad-hero-icon-block h3 {
	margin: 16px auto 8px;
	display: block;
	text-transform: uppercase;
	font-weight: 700 !important;
	font-size: 20px;
	line-height: 24px;
}

/* FLEX BLOCK */
.flex-block  {
    display: flex;
    gap:10%;
}
.flex-block.flex-end {
    align-items: flex-end;
}
.flex-block + .flex-block {
	margin-top: 32px;
}
.flex-middle {
	align-items: center;
}
.flex-block-30 {
	flex: 0.45;
}
.flex-block-35 {
	flex: 0.35;
}
.flex-block-40 {
	flex: 0.40;
}
.flex-block-45 {
	flex: 0.45;
}
.flex-block-55 {
	flex: 0.55;
}
.flex-block-60 {
	flex: 0.60;
}
.flex-block-65 {
	flex: 0.65;
}
.flex-block-70 {
	flex: 0.70;
}
.flex-block img {
	display: block;
	max-width: 100%;
	height: auto;
}
.flex-block-70 h2 {
	max-width: 360px;
}
.flex-block-70 p {
    max-width: 520px;
}


.sostenibilidad-eficiencia-icons {
	text-align: center !important;
}
.sostenibilidad-eficiencia-icons .sostenibilidad-hero-icon-block img {
	height: 136px;
	width: 136px;
	max-width: 100%;
}
.sostenibilidad-eficiencia-icons .bloque-porcentaje-ahorro span {
	font-size: 24px;
}
.sostenibilidad-eficiencia-icons .ahorro-icon-circle img {
    width: 40px;
    height: 40px;
    margin: auto !important;
    display: block;
    object-fit: contain;
}
.sostenibilidad-eficiencia-icons .bloque-porcentaje-ahorro + .bloque-porcentaje-ahorro {
    margin-top: 24px;
}
.sostenibilidad-hero-icon-block h3 {
    font-weight: 400 !important;
    text-transform: none !important;
}


/* CIRCLES  */
.ahorro-icon-circle {
  position: relative;
  width: 112px;
  height: 112px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ahorro-icon-circle img {
  position: relative;
  z-index: 2;
  width: 48px;
  height: auto;
}

.progress-ring {
  position: absolute;
  top: 0;
  left: 0;
  transform: rotate(-90deg); /* empieza desde arriba */
  z-index: 1;
}

.progress-ring circle {
  fill: none;
  cx: 56;
  cy: 56;
  r: 49.5;
}

/* línea blanca centrada */
.circle-border {
  stroke: white;
  stroke-width: 1;
}

/* fondo del progreso */
.progress-bg {
  stroke: transparent;
  stroke-width: 7;
}

/* trazo animado del progreso */
.progress {
  stroke: white;
  stroke-width: 7;
  stroke-dasharray: 310.62; /* 2π × 49.5 */
  stroke-dashoffset: 310.62;
  transition: stroke-dashoffset 0.3s ease-out;
}

.ahorro-porcentaje {
  text-align: center;
  font-size: 32px;
  color: white;
  margin-top: 8px;
}



/* THIRDS COLUMNS  */

.thirds-flex-container {
	margin-top: 56px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap:10%;
}
.thirds-flex-column {
	display: flex;
	flex-direction: column;
	font-size: 12px;
	line-height: 15px;
	color: #707070;
	gap: 24px;
}
.thirds-flex-list-item {
    display: flex;
    gap: 4px;
}

.thirds-flex-list-item img {
	display: block;
	height: 32px;
	width: 32px;
	max-width: 36px;
	min-width: 36px;
	object-fit: contain;
	color: transparent;
	font-size: 1px;
}
.thirds-flex-list-item-heading {
	font-weight: 600;
}
.thirds-flex-list-item-text p {
	max-width: 152px;
	font-weight:300;
	margin-top:4px;
}
.thirds-flex-list-item-text p.thirds-flex-list-item-heading {
	font-weight: 600;
}
.thirds-flex-list-item-text p + p {
	margin: 0;
}
.thirds-flex-column-head {
    text-align: left;
    font-weight: 700;
	margin-bottom:16px;
}
.thirds-flex-column-head * {
    font-size: 22px !important;
}
.thirds-flex-column-head img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto 24px;
}


.sostenibilidad-eficiencia-leyenda {
    display: flex;
    margin: 40px auto 0;
    justify-content: space-between;
    gap: 48px;
    max-width: 912px;
}
.sostenibilidad-eficiencia-item {
	display: flex;
	gap: 24px;
	align-items: center;
}
.sostenibilidad-eficiencia-item img {
	display: block;
}
.sostenibilidad-eficiencia-item p {
    color: white;
    max-width: 90%;
    width: 360px;
    font-size: 14px;
}
/* BREAM LOGO */
img.bream-logo {
    mix-blend-mode: multiply;
    margin: 56px auto;
	max-width:100%;
	display:block;
	height:auto;
}


/* MEDIA QUERIES */

@media only screen and (max-width:1080px) {
	.sostenibilidad-hero-icons {
	    grid-template-columns: repeat(2, 1fr);
	}
	.sostenibilidad-hero-icon-block p {
		font-size: 16px;
		line-height: 22px;
		max-width: 240px;
		margin-left: auto;
		margin-right: auto;
	}
	.sostenibilidad-hero-icon-block h3 {
		font-size: 19px;
		line-height: 24px;
	}
	.sostenibilidad-eficiencia-leyenda {
		flex-direction: column;
	}
	.sostenibilidad-eficiencia-item {
	    justify-content: center;
	}
	.cronologia::after {
		width: calc(100% + 64px);
		left: -32px;
	}
}
@media only screen and (max-width:767px) {
	.cabecera-tipo-title {
		font-size: 28px;
		line-height: 32px;
	}
	.cabecera-tipo-text p {
		font-size: 18px;
		line-height: 24px;
	}
	.sobre-nosotros-porque-grid-container {
		padding: 32px;
	}
	.sobre-nosotros-porque-grid-container p {
		margin-left:0 !important;
	}
	.sobre-nosotros-porque-grid-wrapper::after {
		content:initial;
	}
	.sobre-nosotros-porque-grid-content.home-porque-grid-content {
		grid-template-columns: repeat(2,1fr);
	}
	.sostenibilidad-hero-icons {
	    grid-template-columns: initial;
	}
	.flex-block {
	    flex-direction: column;
	    gap: 48px;
	}
	.column-image-block {
	    order: 2;
	}
	.thirds-flex-container {
		grid-template-columns: repeat(2,1fr);
	}
	.sostenibilidad-hero-icon-block {
	    margin-bottom: 48px;
	}
	.sostenibilidad-eficiencia-icons .bloque-porcentaje-ahorro span {
    	font-size: 20px;
	}
	.flex-block + .flex-block {
		margin-top: 56px;
	}
}

@media only screen and (max-width:560px) {

	.certificacion-list {
		grid-template-columns:1fr;
		gap: 0;
	}
	.cabecera-tipo-text p {
		font-size: 16px;
		line-height: 22px;
	}
	.sobre-nosotros-porque-grid-content.home-porque-grid-content {
		grid-template-columns: 1fr;
	}
}
@media only screen and (max-width:420px) {
	.thirds-flex-container {
		display:block;
		margin-right:auto;
		margin-left:auto;
		max-width:240px;
	}
	.thirds-flex-column {
		padding-left:24px;
	}
	.thirds-flex-column + .thirds-flex-column {
		margin-top: 48px;
	}
	.eighty-padded {
		padding-top:40px;
		padding-bottom: 40px;
	}
}
