@import url('css/colors.css?t=9');
@import url('css/reset.css?t=8');

/*!
Theme Name: Dr Mariano Castillo
Theme URI: https://drmarianocastillo.com
Author: Tania Rascia
Author URI: https://drmarianocastillo.com
Description: Base untheme - taniarascia. 
Version: 1.0.0
License: NA
Text Domain: drmarianocastillo
*/

.center-block {
	max-width: 1310px;
	margin: 0 auto;
  padding: 0px 15px;
}
.call-now-btn{
  display: inline-block;
  background: var(--btn-call-now-mobile);
  color: var(--white);
  padding: 20px 30px;
  max-width: 320px;
  width: calc(100% - 60px);
  font-weight: 600;
  font-size: 1.3rem;
  text-align: center;
  text-decoration: none;
  border-radius: 15px;
  transform: scale(1);
  transition: transform 0.3s ease-in-out;
}
.call-now-btn:hover{
  transform: scale(1.1);
}

/*Header*/
header{
	position: relative;
	background-color: var(--bg-header);
	border-top: 2px solid var(--border-header);
	border-bottom: 2px solid var(--border-header);
	padding: 25px 0;
  z-index: 20;
}
header .center-block{
	display: flex;
	align-items: center;
}
header .center-block .logo{
	padding-right: 20px;
	border-right: 2px solid var(--border-header);
}
header .center-block .logo img{
    max-width: 250px;
}
header .center-block .top-nav{
	margin-left: 15px;
}
header .center-block .top-nav .menu-menuprincipaldrmariano-container{
	position: relative;
}
header .center-block .top-nav .menu-menuprincipaldrmariano-container ul{
	list-style: none;
	margin: 0;
	padding: 0;
}
header .center-block .top-nav .menu-menuprincipaldrmariano-container ul#menu-menuprincipaldrmariano{
	display: flex;
	align-items: center;
}
header .center-block .top-nav .menu-menuprincipaldrmariano-container ul li{
	position: relative;
}
header .center-block .top-nav .menu-menuprincipaldrmariano-container ul li a{
	display: block;
	text-decoration: none;
	color: var(--text-menu-color);
	padding: 15px;
}
header .center-block .top-nav .menu-menuprincipaldrmariano-container ul li.current-menu-item a{
	font-weight: bold;
	color: var(--second-text-color);
}
header .center-block .top-nav .menu-menuprincipaldrmariano-container ul li a:hover{
	font-weight: bold;
	color: var(--second-text-color);
}

header .center-block .top-nav .menu-menuprincipaldrmariano-container ul li .sub-menu{
	position: absolute;
	background-color: var(--bg-header);
	box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 1px, rgba(0, 0, 0, 0.07) 0px 2px 2px, rgba(0, 0, 0, 0.07) 0px 4px 4px, rgba(0, 0, 0, 0.07) 0px 8px 8px, rgba(0, 0, 0, 0.07) 0px 16px 16px;
	display: none;
}
header .center-block .top-nav .menu-menuprincipaldrmariano-container ul li ul.sub-menu li a{
	display: block;
	padding: 7px 25px;
	border-bottom: 2px solid var(--border-header);
  color: var(--text-menu-color);
  font-weight: normal;
}
header .center-block .top-nav .menu-menuprincipaldrmariano-container ul li ul.sub-menu li.current-menu-item a{
	font-weight: bold;
	color: var(--second-text-color);
}
header .center-block .top-nav .menu-menuprincipaldrmariano-container ul li ul.sub-menu li a:hover{
  font-weight: bold;
	color: var(--second-text-color);
}
header .center-block .top-nav .menu-menuprincipaldrmariano-container ul li:hover > .sub-menu{
	display: block;
}
/*Header*/

/*Hero Header*/
.hero-header{
	position: relative;
  z-index: 5;
}
.hero-header .background-hero{
	position: absolute;      
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
	height: 100%;
	width: 100%;
}
.hero-header .center-block{
	position: relative;
	display: flex;
	padding: 40px 0px 0px;
  justify-content: stretch;
}
.hero-header .center-block .hero-left{
  width: 40%;  
  max-width: 450px;
  display: flex;
  align-items: end;
}
.hero-header .center-block .hero-left img{
  width: 100%;
  height: fit-content;
  object-fit: contain;

}   
.hero-header .center-block .hero-right{
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
    width: 60%;
}
.hero-header .center-block .hero-right .block{
	width: 100%;
}
.hero-header .center-block .hero-right .block h1{
	color: var(--hero-h1);
	font-size: 2.5rem;
	margin-bottom: 15px;
}
.hero-header .center-block .hero-right .block p{
	font-size: 0.9rem;
	margin-bottom: 15px;
	font-weight: 500;
}
.hero-header .center-block .hero-right .block .schedule-week{
	color: var(--hero-text-location);
	margin-bottom: 5px;
}
.hero-header .center-block .hero-right .block .location{
	color: var(--hero-text-location);
	margin-bottom: 7px;
}
.hero-header .center-block .hero-right .block .location img{
	width: 15px;
}
.hero-header .center-block .hero-right .block .schedule-hour{
	color: var(--second-text-color);
	margin-bottom: 7px;
}
.hero-header .center-block .hero-right .block .schedule-hour img{
	width: 15px;
}
.hero-only-image{
  height: 500px;
}
/*Hero Header*/

/*Icon Mobile Nav*/
header .center-block .top-nav .hb-mobile{
  display: none;
  position: relative;
  height: 100%;
  justify-content: center;
  align-items: center;
  z-index: 20;
}
header .center-block .top-nav .hb-mobile .hb-container {
  display: inline-block;
  cursor: pointer;
}
header .center-block .top-nav .hb-mobile .hb-container .bar1, header .center-block .top-nav .hb-mobile .hb-container .bar2, header .center-block .top-nav .hb-mobile .hb-container .bar3 {
  width: 40px;
  height: 6px;
  background-color: var(--blue-footer);
  margin: 8px 0;
  transition: 0.4s;
  border-radius: 5px;
}
header .center-block .top-nav .hb-mobile .hb-container.change .bar1 {
  transform: translate(0, 12px) rotate(-45deg);
}
header .center-block .top-nav .hb-mobile .hb-container.change .bar2 {opacity: 0;}

header .center-block .top-nav .hb-mobile .hb-container.change .bar3 {
  transform: translate(0, -15px) rotate(45deg);
}
/*Icon Mobile Nav*/

/*Home access services*/
.access-services{
	background-color: var(--bg-header);
	border-top: 2px solid var(--border-header);
	border-bottom: 2px solid var(--border-header);
	padding: 5px 0px;
}
.access-services ul{
	list-style: none;
	display: flex;
	align-items: center;
}
.access-services ul li a{
	text-decoration: none;
	padding: 5px 15px;
	color: var(--text-menu-color);
}
.access-services ul li:first-child a{
	padding: 5px 15px 5px 0px;
}
.access-services ul li a:hover{
	color: var(--second-text-color);
	font-weight: 600;
}
/*Home access services*/

/*Text Services*/
.text-services{
	padding: 40px 0px;
}
.text-services h2{
	margin-bottom: 15px;
	font-weight: 500;
	color: var(--text-menu-color);
}
.text-services p{
    margin-bottom: 15px;
}    
/*Text Services*/

/*Slider Services*/
.slider-services{
	position: relative;
}
.slider-services h2{
	margin-bottom: 15px;
	font-weight: 500;
	color: var(--text-menu-color);
}
/*Slider Services*/

/*Call now mobile*/
.call-to-mobile{
  position: relative;
  padding-top: 40px;
  text-align: center;
  display: none;
}
/*Call now mobile*/

/*Slider After And Before*/
.slider-after-before{
  margin-top: 40px;
}
.slider-after-before h2{
  margin-bottom: 15px;
	font-weight: 500;
	color: var(--text-menu-color);
}
.slider-after-before p{
  margin-bottom: 25px;
}
/*Slider After And Before*/

/*Slider Review*/
.slider-reviews{
  margin-top: 40px;
}
.slider-reviews h2{
  margin-bottom: 15px;
	font-weight: 500;
	color: var(--text-menu-color);
}
.slider-reviews p{
  margin-bottom: 25px;
}
/*Slider Review*/

/*Our blog - Home*/
.our-blog{
  margin-top: 40px;
}
.our-blog h2{
  margin-bottom: 15px;
	font-weight: 500;
	color: var(--text-menu-color);
}
.our-blog p.text{
  margin-bottom: 25px;
}
.our-blog .list-blog{
  margin-top: 35px;
  display: flex;
  align-items: stretch;
  /*justify-content: center;*/
  flex-wrap: wrap;
}
.our-blog .list-blog .item-blog{
  display: block;
  width: calc(25% - 50px); 
  margin: 10px;
  padding: 15px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  border-radius: 15px;
  text-decoration: none;
  transform: scale(1);
  transition: transform 0.3s ease-in-out; 
}
.our-blog .list-blog .item-blog:hover{
  transform: scale(1.04);
  background-color: #f2f2f2;
}
.our-blog .list-blog .item-blog img{
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 10px;
}
.our-blog .list-blog .item-blog h4{
  color: var(--color-category-blog);
  font-size: 1rem;
  font-weight: 400;
  margin: 15px 0px;
}
.our-blog .list-blog .item-blog h3{
  font-size: 1.2rem;
  margin-bottom: 15px;
}
.our-blog .list-blog .item-blog p{
  font-size: 0.9rem;
  line-height: 1.3em;
}
.our-blog .list-blog .item-blog span{
  display: block;
  margin-top: 15px;
  color: #8F9AAB;
  font-size: 0.9rem;
}
/*Our blog - Home*/

/*Follow us*/
.follow-us{
  position: relative;
  margin-top: 30px;
  margin-bottom: 30px;
}
.follow-us .center-block h2{
  font-weight: 500;
	color: var(--text-menu-color);
}
.follow-us .center-block p{
  margin-top: 15px;
}
.follow-us .center-block ul{
  list-style: none;
  margin: 10px;
}
.follow-us .center-block ul li{
  display: inline-block;
}
.follow-us .center-block ul li a{
  display: block;
  width: 38px;
  height: 38px;
  margin-right: 20px;
  transition: transform 0.3s ease-in-out; 
  transform: scale(1);
}
.follow-us .center-block ul li a img{
  width: 100%;
}
.follow-us .center-block ul li a:hover img{
  transform: scale(1.2);
}
/*Follow us*/

/* Footer */
footer{
  background-color: var(--blue-footer);
  padding: 50px 0px;
}
footer .center-block{
  display: flex;
  justify-content: space-between;
}
footer .center-block .block{
  width: calc(20% - 30px);
  padding: 0px 15px;
}
footer .center-block .block-1 {
  display: flex;
  flex-direction: column;
}
footer .center-block .block-1 .title-footer-dr{
  order: 2;
}
footer .center-block .block-1 .menu-footer-dr{
  order: 1;
}
footer .center-block .block h4{
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 600;
}
footer .center-block .block h4.center{
    text-align: center;
    margin-bottom: 25px;
}
footer .center-block .block .location{
    margin-top: 20px;
    margin-bottom: 15px;
}
footer .center-block .block .location p{
    color: rgba(255, 255, 255, 0.51); 
    font-size: 0.9rem;
}
footer .center-block .block h3{
  color: var(--white);
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 15px;
}
footer .center-block .block .gold{
  color: var(--hero-h1);
}
footer .center-block .block ul{
  list-style: none;
  margin: 10px 0px 20px;
}
footer .center-block .block ul.footer-menu-child{
  margin: 0px;
}
footer .center-block .block ul li a {
  color: rgba(255, 255, 255, 0.51);
  text-decoration: none;
  font-size: 0.9rem;
  padding-bottom: 2px;
}
footer .center-block .block ul li a:hover{
  border-bottom: 1px solid rgba(255, 255, 255, 0.51);
  font-weight: 700;
}
footer .center-block .block ul.footer-menu-bold-parent li{
  margin-bottom: 10px;
}
footer .center-block .block ul.footer-menu-bold-parent li a{
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 600;
}
footer .center-block .block ul.footer-menu-bold-parent li ul.footer-menu-child{
  margin: 5px 0px 0px;
}
footer .center-block .block ul.footer-menu-bold-parent li ul.footer-menu-child li{
  margin: 0;
}
footer .center-block .block ul.footer-menu-bold-parent li ul.footer-menu-child li a{
  color: rgba(255, 255, 255, 0.51); 
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
}
footer .center-block .block ul.footer-menu-bold-parent li ul.footer-menu-child li a:hover{
  border-bottom: 1px solid rgba(255, 255, 255, 0.51);
  font-weight: 700;
}
footer .center-block-copyright{
    display: block;
}
footer .copyright, footer .copyright-ag{
  display: block;
  color: rgba(255, 255, 255, 0.51); 
  font-size: 0.87rem;
  text-align: center;
}
footer .center-block-copyright a{
    color: rgba(255, 255, 255, 0.51); 
    font-size: 0.87rem;
    text-align: center;
}
footer .copyright p, footer .copyright-ag p{
    color: rgba(255, 255, 255, 0.51); 
    font-size: 0.87rem;
    text-align: center;
    display: inline;
}
footer .center-block-copyright a , footer .copyright-ag a{
  color: rgba(255, 255, 255, 0.51); 
  font-size: 0.87rem;
  text-decoration: none;
  font-weight: 500;
}
footer .center-block-copyright a:hover , footer .copyright-ag a:hover{
    font-weight: 700;
}
.icon-maps{
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  list-style: none;
}
.icon-maps li a{
  display: block;
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease-in-out;
  transform: scale(1);
}
.icon-maps li a:hover{
    border: 0 !important;
    transform: scale(1.2);
    text-decoration: none;
}
.icon-maps li a img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 25px;
  border: 0;
}
/* Footer */


/* ============ Slider base ============ */
.slider{
  --items: 1; /* default; JS lo setea por breakpoint */
  --gap: 18px;
  --gapb: 5px;
}

.slider__track{
  overflow:auto;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  border-radius: 14px;
  outline: none;
  padding-bottom: 6px;
}
.slider__track::-webkit-scrollbar{ display:none; }

/* Contenedor horizontal */
.slider__list{
  display:flex;
  gap: var(--gap);
  padding: 4px 4px;
  margin:0;
  list-style:none;
}
.slider-revews .slider__list{
  align-items: stretch;
}
.slider-after-before .slider__list{
  gap: var(--gapb);
}

/* Item genérico */
.slider__item{
  flex: 0 0 calc((100% - (var(--gap) * (var(--items) - 1))) / var(--items));
  scroll-snap-align:start;
  position: relative;
}
.slider-after-before .slider__item{
    flex: 0 0 calc((100% - 20px - (var(--gap) * (var(--items) - 1))) / var(--items));
    padding: 0px 10px;
}
.slider-after-before .slider__item::after {
  content: "";
  position: absolute;
  top: 16%;
  right: -5px;
  width: 3px;
  height: 50%;
  background: #919CB1;
  border-radius: 2px;
}

/* Dots */
.slider__dots{
  display:flex;
  justify-content:center;
  gap:10px;
  padding-top:12px;
}

.slider__dot{
  width: 15px; 
  height: 15px;
  border-radius:999px;
  border:0;
  background: var(--hero-h1);
  opacity:.25;
  cursor:pointer;
}
.slider__dot[aria-current="true"]{ opacity:1; }

/* Focus visible accesible */
.slider__dot:focus-visible,
.slider__track:focus-visible{
  outline: 2px solid var(--hero-h1);;
  outline-offset: 3px;
}

/* ============ Card UI examples ============ */
.card{
  display:flex;
  justify-content: center;
  align-items: center;
  gap:14px;
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  min-height: 80px;
  box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
  text-decoration: none;
}
.card:hover{
    color: var(--white);
    background-color: var(--hero-h1);
}
.card:hover h3, .card:hover p{
    color: var(--white);
}
.card h3{ margin: 0 0 6px; font-size: 16px; }
.card p{ margin: 0; color:#555; font-size: 14px; line-height: 1.35; }
.icon{
  width: 90px; 
  height: 90px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.icon img{
  width: 100%;
}
.card .text{
  width: 100%;
}

/* Reviews */
.review{
  display: block;  
  padding: 16px;
  border: 1px solid #eee;
  border-radius: 16px;
  background:#fff;
  height: calc(100% - 32px);
  cursor: pointer;
  text-decoration: none;
}
.review__top{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom: 10px;
}
.avatar{
  width: 50px; height: 50px;
  border-radius: 999px;
  background:#ddd;
}
.stars{ font-size: 20px; letter-spacing: 1px; color: #FFC107;}
.review:hover{
    background-color: var(--hero-h1);
}
.review:hover strong, .review:hover p{
    color: var(--white);
}

/* Before/After */
.ba {
    position: relative;
    margin: 0;
    display: block;
}
.ba .img {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    object-fit: cover;
    display: block;
}
.ba__label {
    position: absolute;
    bottom: 16px;
    background-color: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
    pointer-events: none;
}
.ba__label--before {
    left: 8%;   /* mitad izquierda — centrado en el 25% */
}
.ba__label--after {
    right: 8%;  /* mitad derecha — centrado en el 75% */
}

/* Tip box */
.tip pre{
  margin: 10px 0 0;
  background: #111;
  color: #fff;
  padding: 12px;
  border-radius: 12px;
  overflow:auto;
}
.tip code{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }

/*Drawer*/ 
#drawer { 
	display: none;
	position: fixed; 
	top: 0;
	left: -260px; 
	height: 100%; 
	width: 260px; 
	background: rgba(255, 255, 255, 1); 
	overflow-x: hidden; 
	overflow-y: scroll; 
	padding: 0px; 
	-webkit-overflow-scrolling: touch; 
	z-index: 10000;
	box-shadow: rgba(0, 0, 0, 0.15) 0px 15px 25px, rgba(0, 0, 0, 0.05) 0px 5px 10px;
} 
#drawer .logo{
	text-align: center;
	padding-top: 10px;
	padding-bottom: 0px;
}
#drawer .logo img{
	width: 200px;
}
#drawer .drawer-nav ul{
	list-style: none;
	width: 90%;
	margin: 20px auto 0px;
}
#drawer .drawer-nav ul li{
	list-style: none;
}
#drawer .drawer-nav ul li a{
	display: block;
	padding: 10px 10px;
	text-decoration: none;
	text-align: left;
	font-size: 16pt;
	color: var(--background-light);
	font-weight: 400;
  border-bottom: 1px solid var(--blue-footer);
}
#drawer .drawer-nav ul li ul{
	display: none;
}
#drawer .drawer-nav ul li a span.arrow{
	color: #fff;
	display: none;	
}	
#drawer .drawer-nav ul li a:hover, #drawer .drawer-nav ul li.current-menu-item a{
	color: var(--blue-footer);
	border-bottom: 1px solid  var(--hero-h1);
  font-weight: 700;
}
/*Drawer*/

/* Service Intro */
.service-intro {
    padding: 40px 0px;
}
.page-template-page-service-1 .slider-after-before h2, .page-template-page-service-1 .slider-after-before h2 *{
  font-weight: 700;
  color: var(--hero-h1);
}
.service-intro h2, .service-intro h2 * {
  margin-bottom: 15px;
  font-weight: 700;
  color: var(--hero-h1);
}
.service-intro p {
    margin-bottom: 15px;
    line-height: 1.5em;
}
.service-intro p:last-child {
    margin-bottom: 0;
}

/* Service Reasons */
.service-reasons {
    padding: 0px 0px 0px;
}
.service-reasons h2, .service-reasons h2 * {
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--hero-h1);
}
.service-reasons .reasons-intro {
    margin-bottom: 30px;
    line-height: 1.5em;
}
.service-reasons .reasons-grid {
    display: flex;
    gap: 20px;
    align-items: stretch;
}
.service-reasons .reason-item {
    flex: 1;
    display: flex;
    gap: 12px;
    padding: 20px;
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 4px;
}
.service-reasons .reason-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--main-text-color);
    font-weight: 700;
    font-size: 1.7rem;
    flex-shrink: 0;
}
.service-reasons .reason-content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--main-text-color);
    margin-bottom: 10px;
}
.service-reasons .reason-content p {
    font-size: 0.9rem;
    line-height: 1.6em;
}

/* Service FAQ */
.service-faq {
    padding: 40px 0px;
}
.service-faq h2, .service-faq h2 * {
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--hero-h1);
}
.service-faq .faq-intro {
    margin-bottom: 30px;
    line-height: 1.7em;
}
.service-faq .faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}
.service-faq .faq-item {
    background-color: var(--white);
    box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
    border-radius: 15px;
    padding: 20px;
    cursor: pointer;
}
.service-faq .faq-item summary {
    font-weight: 700;
    color: var(--main-text-color);
    font-size: 1rem;
    list-style: none;
    cursor: pointer;
    padding-right: 20px;
    position: relative;
}
.service-faq .faq-item summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.2rem;
    color: var(--hero-h1);
    font-weight: 400;
    transition: transform 0.2s ease;
}
.service-faq .faq-item[open] summary::after {
    transform: rotate(45deg);
}
.service-faq .faq-item p {
    margin-top: 12px;
    font-size: 0.9rem;
    line-height: 1.6em;
}
.service-faq .faq-item a {
    font-size: 0.9rem;
    color: var(--hero-h1);
    text-decoration: underline;
}

/* Service CTA */
.service-cta {
    padding: 40px 0px;
    text-align: center;
}
.service-cta .center-block {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: transform 0.3s ease-in-out;
    transform: scale(1);
}
.cta-btn:hover {
    transform: scale(1.05);
}
.cta-whatsapp {
    background-color: #25D366;
    color: var(--white);
}
.cta-agenda {
    background-color: var(--second-text-color);
    color: var(--white);
}

/* ============================================
   ABOUT GRID — style.css (añadir al final)
   ============================================ */

.block-cards {
    padding: 40px 0;
}
.cards-option-list {
    display: flex;
    gap: 20px;
    align-items: start;
}
.cards-option-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Card base */
.card-item {
    background-color: var(--white);
    border: 1px solid var(--border-header);
    border-radius: 15px;
    padding: 20px;
    cursor:text ;
}
.card-item h3 {
    color: var(--hero-h1);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.card-item p {
    font-size: 0.9rem;
    line-height: 1.6em;
    margin-bottom: 10px;
}
.card-item p:last-child {
    margin-bottom: 0;
}
.card-item ul {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
}
.card-item ul li {
    font-size: 0.9rem;
    line-height: 1.6em;
    padding-left: 14px;
    position: relative;
    margin-bottom: 6px;
}
.card-item ul.card-ul-strong li{
    font-weight: 700;
}
.card-item ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--hero-h1);
    font-weight: 700;
}

/* Card highlight (fondo dorado) */
.card-item--highlight {
    background-color: var(--hero-h1);
    border-color: var(--hero-h1);
}
.card-item:hover{
    background-color: var(--hero-h1);
    border-color: var(--hero-h1);
}
.card-item--highlight h3, .card-item:hover h3 {
    color: var(--white);
}
.card-item--highlight p,
.card-item--highlight ul li,
.card-item:hover p,
.card-item:hover ul li,
.card-item:hover strong,
.card-item:hover .card-item__entry strong{
    color: var(--white);
}
.card-item--highlight ul li::before, .card-item:hover ul li::before {
    color: var(--white);
}
/* Entry (institución + descripción) */
.card-item__entry {
    margin-bottom: 12px;
}
.card-item__entry:last-child {
    margin-bottom: 0;
}
.card-item__entry strong {
    display: block;
    font-size: 0.9rem;
    color: var(--main-text-color);
    margin-bottom: 2px;
}
.card-item__entry p {
    margin-bottom: 0;
}

/* block-title-subtitle-text */
.block-title-subtitle-text {
    padding: 40px 0 0px;
}
.block-title-subtitle-text h2 {
    color: var(--hero-h1);
    margin-bottom: 8px;
}
.block-title-subtitle-text span {
    display: block;
    color: var(--hero-text-location);
    font-size: 0.95rem;
    margin-bottom: 20px;
}
.block-title-subtitle-text p {
    color: var(--main-text-color);
    font-size: 0.95rem;
    line-height: 1.7em;
    max-width: 700px;
}

/* block-intro-title*/
.block-intro-title {
    padding: 30px 0;
}
.block-intro-title .intro-title {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 15px;
}
.block-intro-title .intro-title__main {
    display: inline-block;
    font-weight: 700;
    font-size: 1.382rem;
    color: var(--hero-h1);
    margin-right: 15px;
}
.block-intro-title .intro-title__sub {
    font-size: 1.1rem;
    color: var(--hero-text-location);
}
.block-intro-title p:last-child {
    line-height: 1.5em;
}

/* block-subservices */
.block-subservices {
    padding: 20px 0 40px;
}
.block-subservices .subservices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.block-subservices .subservice-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: var(--white);
    border-radius: 15px;
    text-decoration: none;
    transition: transform 0.3s ease-in-out;
    transform: scale(1);
    box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 4px;
    justify-content: stretch;
}
.block-subservices .subservice-item:hover {
    transform: scale(1.02);
}
.block-subservices .subservice-item__image {
    flex-shrink: 0;
    width: 120px;
    height: 140px;
    border-radius: 10px;
    overflow: hidden;
    background-color: #e5e7eb;
}
.block-subservices .subservice-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.block-subservices .subservice-item__text{
    padding: 5px 0px;
}
.block-subservices .subservice-item__text h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--main-text-color);
    margin-bottom: 8px;
}
.block-subservices .subservice-item__text p {
    font-size: 0.9rem;
    line-height: 1.5em;
    color: var(--main-text-color);
}

/* block-service-detail */
.block-service-detail {
    padding: 40px 0;
}
.block-service-detail .service-detail__layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
.block-service-detail .service-detail__image {
    flex: 0 0 38%;
    border-radius: 15px;
    overflow: hidden;
}
.block-service-detail .service-detail__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.block-service-detail .service-detail__text {
    flex: 1;
}
.block-service-detail .service-detail__text h2 {
    color: var(--hero-h1);
    font-weight: 700;
    margin-bottom: 15px;
}
.block-service-detail .service-detail__text p {
    line-height: 1.5em;
    margin-bottom: 15px;
}
.block-service-detail .service-detail__text p:last-child {
    margin-bottom: 0;
}

/* block-blog-header */
.block-blog-header {
    padding: 40px 0;
}
.block-blog-header .blog-header__layout {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

/* Columna izquierda — Temas */
.block-blog-header .blog-header__topics {
    flex: 0 0 45%;
}
.block-blog-header .blog-header__topics h2 {
    color: var(--hero-h1);
    font-weight: 700;
    margin-bottom: 20px;
}
.block-blog-header .topics-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.block-blog-header .topic-tag {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid var(--border-header);
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.9rem;
    color: var(--hero-text-location);
    transition: border-color 0.2s ease, color 0.2s ease;
}
.block-blog-header .topic-tag:hover {
    border-color: var(--hero-h1);
    color: var(--hero-h1);
}
.block-blog-header .topic-tag.current {
    border-color: var(--second-text-color);
    color: var(--second-text-color);
    font-weight: 700;
}

/* Columna derecha — Intro */
.block-blog-header .blog-header__intro {
    flex: 1;
}
.block-blog-header .blog-header__intro h1 {
    color: var(--hero-h1);
    font-weight: 700;
    margin-bottom: 15px;
}
.block-blog-header .blog-header__intro p {
    line-height: 1.5em;
}

/* block-pagination — añadir al final de style.css */
.block-pagination {
    padding: 40px 0;
}
.block-pagination .pagination-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.block-pagination .pagination-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid var(--border-header);
    text-decoration: none;
    font-size: 0.95rem;
    color: var(--hero-text-location);
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}
.block-pagination .pagination-item:hover {
    border-color: var(--hero-h1);
    color: var(--hero-h1);
}
.block-pagination .pagination-item.current {
    background-color: var(--hero-h1);
    border-color: var(--hero-h1);
    color: var(--white);
    font-weight: 700;
}
.block-pagination .pagination-ellipsis {
    border-color: transparent;
    cursor: default;
}
.block-pagination .pagination-prev,
.block-pagination .pagination-next {
    font-size: 1rem;
}

/* ============================================
   SINGLE POST
   ============================================ */

/* Back link */
.single-back {
    padding: 20px 0 0;
}
.single-back__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--hero-text-location);
    font-size: 0.95rem;
    transition: color 0.2s ease;
}
.single-back__link:hover {
    color: var(--hero-h1);
}
.single-back__link svg {
    flex-shrink: 0;
}

/* Layout principal */
.single-post {
    padding: 0px 0 60px;
}
.single-post__layout {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

/* Contenido */
.single-post__content {
    flex: 1;
    min-width: 0;
}
.single-post__thumbnail {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
}
.single-post__thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}
.single-post__title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--second-text-color);
    margin-bottom: 25px;
    line-height: 1.3em;
}

/* ============================================
   entry-content — compatible clásico + Gutenberg
   ============================================ */
.entry-content p {
    line-height: 1.8em;
    margin-bottom: 18px;
}
.entry-content h2 {
    color: var(--hero-h1);
    font-weight: 700;
    margin: 30px 0 15px;
}
.entry-content h3 {
    color: var(--second-text-color);
    font-weight: 700;
    margin: 25px 0 12px;
}
.entry-content ul,
.entry-content ol {
    margin: 0 0 18px 20px;
    padding: 0;
}
.entry-content ul li,
.entry-content ol li {
    line-height: 1.7em;
    margin-bottom: 6px;
}
.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}
.entry-content a {
    color: var(--hero-h1);
    text-decoration: underline;
}
.entry-content blockquote {
    border-left: 3px solid var(--hero-h1);
    padding-left: 20px;
    margin: 25px 0;
    font-style: italic;
    color: var(--hero-text-location);
}
.entry-content strong {
    color: var(--second-text-color);
}

/* Layout: párrafos en 2 columnas
   Uso en editor clásico: añadir clase "cols-2" al div/p contenedor
   Uso en Gutenberg: bloque Columnas nativo */
.entry-content .cols-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 18px;
}

/* Gutenberg: alineación de bloques */
.entry-content .wp-block-image {
    margin-bottom: 18px;
}
.entry-content .wp-block-quote {
    border-left: 3px solid var(--hero-h1);
    padding-left: 20px;
    margin: 25px 0;
}
.entry-content .wp-block-columns {
    gap: 30px;
    margin-bottom: 18px;
}

/* ============================================
   Sidebar
   ============================================ */
.single-post__sidebar {
    flex: 0 0 28%;
    position: sticky;
    top: 30px;
}

/* Comparte */
.sidebar-share {
    margin-bottom: 35px;
}
.sidebar-share h3 {
    color: var(--hero-h1);
    font-weight: 700;
    margin-bottom: 8px;
}
.sidebar-share p {
    font-size: 0.9rem;
    line-height: 1.5em;
    margin-bottom: 15px;
}
.sidebar-share__icons {
    display: flex;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.sidebar-share__icons li a {
    display: flex;
    width: 32px;
    height: 32px;
    transition: transform 0.2s ease;
    transform: scale(1);
}
.sidebar-share__icons li a:hover {
    transform: scale(1.15);
}
.sidebar-share__icons li a img {
    width: 100%;
}

/* Relacionados */
.sidebar-related h3 {
    color: var(--hero-h1);
    font-weight: 700;
    margin-bottom: 20px;
}
.related-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 15px;
}
.related-item__image {
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--bg-header);
    aspect-ratio: 16/9;
}
.related-item__image img,
.related-item__placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.related-item__text {
    padding: 0 2px;
}
.related-item__cat {
    display: block;
    font-size: 0.8rem;
    color: var(--color-category-blog);
    margin-bottom: 5px;
}
.related-item__text h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--second-text-color);
    margin-bottom: 6px;
}
.related-item__text p {
    font-size: 0.85rem;
    line-height: 1.5em;
    color: var(--main-text-color);
    margin-bottom: 6px;
}
.related-item__date {
    display: block;
    font-size: 0.8rem;
    color: var(--hero-text-location);
}
.related-item__divider {
    border: none;
    border-top: 1px solid var(--border-header);
    margin: 0 0 15px;
}
.related-item:last-of-type + .related-item__divider {
    display: none;
}

/* ============================================
   CF7 — Formulario de contacto
   ============================================ */
.block-contact-form {
    margin-top: 30px;
    padding: 60px 0;
    background-image: 
        linear-gradient(
            rgba(22, 38, 72, 0.90),
            rgba(22, 38, 72, 0.90)
        ),
        url(images/hero-background-dr-mariano.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
 
/* Layout dos columnas */
.block-contact-form .contact-form__layout {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}
 
/* Columna izquierda */
.block-contact-form .contact-form__info {
    flex: 0 0 40%;
}
.block-contact-form .contact-form__hola {
    display: block;
    font-size: 5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1em;
    margin-bottom: 25px;
}
.block-contact-form .contact-form__info p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7em;
    margin-bottom: 15px;
    font-size: 0.95rem;
}
.block-contact-form .contact-form__info p:last-child {
    margin-bottom: 0;
}
 
/* Columna derecha */
.block-contact-form .contact-form__form {
    flex: 1;
}
.block-contact-form .contact-form__form h2 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 20px;
}
 
/* Inputs — fondo oscuro */
.block-contact-form .wpcf7 input[type="text"],
.block-contact-form .wpcf7 input[type="email"],
.block-contact-form .wpcf7 input[type="tel"],
.block-contact-form .wpcf7 input[type="date"],
.block-contact-form .wpcf7 select,
.block-contact-form .wpcf7 textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--white);
    color: var(--main-text-color);
    padding: 10px;
    border-radius: 10px;
    margin: 15px 0px 0px;
    width: calc(100% - 20px);
    font-size: 1rem;
    font-family: "Open Sans", sans-serif;
}
.block-contact-form .wpcf7 input::placeholder,
.block-contact-form .wpcf7 textarea::placeholder {
    color:  #B2B2B2;
}

.block-contact-form .wpcf7 select option {
    background-color: var(--blue-footer);
    color: var(--white);
}
 
/* Focus */
.block-contact-form .wpcf7 input[type="text"]:focus,
.block-contact-form .wpcf7 input[type="email"]:focus,
.block-contact-form .wpcf7 input[type="tel"]:focus,
.block-contact-form .wpcf7 input[type="date"]:focus,
.block-contact-form .wpcf7 select:focus,
.block-contact-form .wpcf7 textarea:focus {
    border-color: var(--hero-h1) !important;
    background-color: rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 0 0 3px rgba(177, 143, 79, 0.2);
    color: var(--white);
}
 
/* Submit — ancho completo */
.block-contact-form .wpcf7 input[type="submit"] {
    display: inline-block;
    width: fit-content;
    box-sizing: border-box;
    background-color: var(--hero-h1);
    color: var(--white);
    border: 0;
    font-weight: 500;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 10px 40px;
    border-radius: 10px;
    margin-top: 15px;
}
.block-contact-form .wpcf7 input[type="submit"]:hover {
    background-color: #9a7a40;
}
 
/* Disclaimer */
.block-contact-form .disclaimer-cita {
    background-color: rgba(255, 255, 255, 0.07);
    border-left-color: var(--hero-h1);
    color: rgba(255, 255, 255, 0.7);
}
.wpcf7-not-valid-tip {
    font-size: 0.9em;
    margin-bottom: 5px;
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    color: var(--white);
    font-size: 0.9em;
}
/* CF7 — Formulario de contacto */

/* block-contact*/
.block-contact {
    padding: 40px 0 60px;
}
.block-contact .contact__layout {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

/* Mapa */
.block-contact .contact__map {
    flex: 0 0 45%;
    height: 520px;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border-header);
}
.block-contact .contact__map iframe {
    display: block;
    width: 100%;
    height: 100%;
}

/* Info */
.block-contact .contact__info {
    flex: 1;
}
.block-contact .contact__info h1 {
    color: var(--hero-h1);
    font-weight: 700;
    margin-bottom: 15px;
}
.block-contact .contact__info > p {
    line-height: 1.7em;
    margin-bottom: 30px;
}
.block-contact .contact__info h2 {
    color: var(--text-menu-color);
    font-weight: 400;
    margin-bottom: 10px;
}
.block-contact .contact__info h2 + p {
    line-height: 1.6em;
    margin-bottom: 30px;
}

/* Datos de contacto */
.block-contact .contact__data {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.block-contact .contact__data-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.block-contact .contact__data-item dt {
    font-weight: 700;
    color: var(--second-text-color);
    font-size: 0.95rem;
}
.block-contact .contact__data-item dd {
    margin: 0;
}
.block-contact .contact__data-item dd a {
    color: var(--main-text-color);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}
.block-contact .contact__data-item dd a:hover {
    color: var(--hero-h1);
}

/* Breadcrumb — añadir al final de style.css */
.breadcrumb {
    padding: 15px 0;
}
.breadcrumb__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.breadcrumb__item {
    display: flex;
    align-items: center;
    gap: 4px;
}
.breadcrumb__link , .breadcrumb__link span{
    text-decoration: none;
    color: var(--text-menu-color);
    font-size: 1rem;
    font-weight: 400;
    transition: opacity 0.2s ease;
}
.breadcrumb__link:hover , .breadcrumb__link:hover span {
    font-weight: 700;
}
.breadcrumb__separator {
    color: var(--hero-text-location);
    font-size: 0.75rem;
    margin: 0 2px;
}
.breadcrumb__label {
    font-size: 1rem;
    font-weight: 400;
    color: var(--second-text-color);
}
.breadcrumb__item--current span{
    color: var(--breadcrumb-current-color);
    font-weight: 700;
}

/* Slider prev/next */
.slider__nav {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 12px;
}
.slider__prev,
.slider__next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--border-header);
    background: var(--white);
    color: var(--second-text-color);
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.slider__prev:hover,
.slider__next:hover {
    background: var(--second-text-color);
    border-color: var(--second-text-color);
    color: var(--white);
}
.slider__prev:disabled,
.slider__next:disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}