/*!
Theme Name: AHRB
Theme URI: https://them.es/starter
Author: Inifnity Nexus
Author URI: https://infinitynexus.do
Description: En la Asociación de Hoteles La Romana-Bayahibe (AHRB) trabajamos para posicionar a La Romana y Bayahibe como destinos sostenibles y de alta calidad en República Dominicana.
Version: 3.5.67
Requires at least: 5.0
Tested up to: 6.7
Requires PHP: 7.2
License: GPL version 2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0
Tags: custom-background, custom-colors, featured-images, flexible-header, microformats, post-formats, rtl-language-support, theme-options, translation-ready, accessibility-ready
Text Domain: ahrb
*/

/* Don't overwrite this file. Compile "/assets/main.scss" to "/build/main.css" */

/* From http://codex.wordpress.org/CSS */

.alignnone {
	margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
	display: block;
	margin: 5px auto 5px auto;
}

.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

a img.alignnone {
	margin: 5px 20px 20px 0;
}

a img.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	max-width: 96%; /* Image does not overflow the content area */
	padding: 5px 3px 10px;
	text-align: center;
}
.wp-caption.alignnone {
	margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
	margin: 5px 0 20px 20px;
}
.wp-caption img {
	border: 0 none;
	height: auto;
	margin: 0;
	max-width: 98.5%;
	padding: 0;
	width: auto;
}
.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	margin: 0;
	padding: 0 4px 5px;
}

.gallery-item {
	display: inline-block;
	text-align: left;
	vertical-align: top;
	width: 50%;
}

.gallery-item a,
.gallery-item a:hover,
.gallery-item a:focus {
	-webkit-box-shadow: none;
	box-shadow: none;
	background: none;
	display: inline-block;
	max-width: 100%;
}

.gallery-item a img {
	display: block;
	-webkit-transition: -webkit-filter 0.2s ease-in;
	transition: -webkit-filter 0.2s ease-in;
	transition: filter 0.2s ease-in;
	transition: filter 0.2s ease-in, -webkit-filter 0.2s ease-in;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.gallery-item a:hover img,
.gallery-item a:focus img {
	-webkit-filter: opacity(60%);
	filter: opacity(60%);
}

.gallery-caption {
	display: block;
	text-align: left;
	padding: 0 10px 0 0;
	margin-bottom: 0;
}

.gallery-columns-1 .gallery-item {
	max-width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

.bypostauthor {
	font-weight: bold;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}


/* CUSTOM */

body{
	font-family: "Libre Franklin", sans-serif;
	font-weight: 200;
}

.social-icons{
    min-width: auto;
    padding: 0 20px;
    line-height: 65px;
    background: #56BDB3;
}

.social-icons a{
	font-size: 20px;
	display: inline-block;
	padding: 0 10px;
	color: #FFF;
}

.social-icons a:hover{
	color: #005E82;
}

#header{
	background: #F7F7F2;
	border-bottom: 1px solid #E5963F;
	padding: 0;
}

.navbar-expand-md .navbar-nav .nav-link{
	font-size: 15px;
	color: #005E82;
	margin: 0;
	padding: 0;
	font-weight: 400;
	line-height: 65px!important;
	padding-left: 15px!important;
	padding-right: 15px!important;
}

.navbar-expand-md .navbar-nav .current-page-ancestor .nav-link,
.navbar-expand-md .navbar-nav .current-menu-ancestor .nav-link,
.navbar-expand-md .navbar-nav .current-menu-parent .nav-link,
.navbar-expand-md .navbar-nav .current-page-parent .nav-link, 
.navbar-expand-md .navbar-nav .current_page_parent .nav-link,
.navbar-expand-md .navbar-nav .current_page_ancestor .nav-link,
.navbar-expand-md .navbar-nav .current-post-ancestor .nav-link,
.navbar-expand-md .navbar-nav .nav-link.active,
.navbar-expand-md .navbar-nav .nav-link:hover{
	color: #E59640;
}

.navbar-expand-md .navbar-nav .current-post-ancestor>a.dropdown-item,
.dropdown-item.active, .dropdown-item:active{
	background-color: #E59640 !important;
	color: #FFF;
}

.navbar-brand img {
    height: 60px;
}

.bg-cover{
	height: 750px;
	background-size: cover;
}

.bg-cover:before{
	content:" ";
	display: block;
	background: #55B5D4;
	opacity: 50%;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 1;
}

#sliderPortada h1{
	font-size: 73px;
	font-weight: 400;
	margin: 0 auto 40px;
	padding: 0;
	max-width: 600px;
	text-transform: uppercase;
	position: relative;
	z-index: 2;
	text-shadow: 1px 1px 5px rgba(0,0,0,.1);
}

.carousel-fade .carousel-item{
	background: #56BDB3;
	opacity: .4;
	z-index: 0;
	/*position: absolute;*/
	left: 0;
	right: 0;
	bottom: 0;
	top: 0;
	content: " ";
	display: block;
}

#sliderPortada p{
	font-size: 36px;
	max-width: 900px;
	margin: 0 auto;
	position: relative;
	z-index: 2;
	padding: 0;
	text-shadow: 1px 1px 5px rgba(0,0,0,.1);
}

#sliderPortada a.link{
	display: inline-block;
	font-size: 20px;
	text-transform: uppercase;
	background: #E59640;
	line-height: 70px;
	padding: 0 20px;
	z-index: 2;
	width: 200px;
    margin: 0 auto;
    color: #FFF;
    margin-top: 20px;
}

#sliderPortada a.link:hover{
	background: #55B5D4;
}

.quienes-somos-home .qs_img img{
	border-radius: 30px;
}

.quienes-somos-home{
	background: url(assets/img/palemera.png) right top no-repeat;
}

.quienes-somos-home .descripcion{
	width: 530px;
	font-size: 18px;
	color: #204051;
	padding: 50px;
	background: url(assets/img/fdqs.png) center top;
	border-radius: 20px;
}

.quienes-somos-home .descripcion a{
	display: inline-block;
	font-size: 15px;
	background: #285E81;
	font-weight: bold;
	color: #FFF;
	line-height: 41px;
	border-radius: 41px;
	padding: 0 25px;
}

.quienes-somos-home .descripcion a:hover{
	background: #55B5D4;
}

.proyectos-home{
	background: url(assets/img/fdpy.png) #FFF center top;
	background-size: cover;
}

.proyectos-home h3{
	font-size: 23px;
	font-weight: 400;
	color: #1E3C47;
	margin: 0 0 25px;
	padding: 0;
	line-height: 23px;
}

.proyectos-home h1{
	font-size: 57px;
	line-height: 57px;
	font-weight: 400;
	color: #1E3C47;
	padding: 0;
	margin: 0 0 20px;
	text-transform: uppercase;
}

.proyectos-home p{
	font-size: 18px;
	line-height: 24px;
	color: #7C7F7F;
	padding: 0;
	margin: 0 0 40px;
}

.proyectos-home .image{
	height: 200px;
	background-size: cover;
}

.proyectos-home .card-body h5{
	font-size: 17px;
	color: #55B5D4;
	font-size: 600;
}

.proyectos-home .card-body .text-muted{
	font-size: 14px;
	color: #6E7070;
}

.proyectos-home .card-body .link{
	display: inline-block;
	border: 1px solid #55B5D4;
	color: #55B5D4;
	font-size: 13px;
	font-weight: bold;
	line-height: 40px;
	padding: 0 25px;
}

.proyectos-home .card-body .link:hover{
	background: #55B5D4;
	color: #FFF;
}

.card-body h4 a{
	font-size: 22px;
	line-height: 24px;
	font-weight: bold;
	color: #005E82;
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: 1px solid #eee;
	display: block;
}

.junta-home {
	background:url(assets/img/bgj.png) #FFF center top no-repeat;
	background-size: contain;
}
.junta-home h3{
	font-size: 23px;
	font-weight: 400;
	color: #fff;
	margin: 0 0 25px;
	padding: 0;
	line-height: 23px;
}

.junta-home h1{
	font-size: 57px;
	line-height: 57px;
	font-weight: 400;
	color: #fff;
	padding: 0;
	margin: 0 0 20px;
	text-transform: uppercase;
}

.junta-home .card{
	background: #E7F5F4;
}

.junta-home .card .card-body{
	background: #FFFFFF;
	padding: 25px 0;
}

.junta-home .card .card-body h5{
	font-size: 24px;
	color: #000;
	font-weight: 400;
	margin: 0 0 15px;
	padding: 0;
}

.junta-home .card .card-body p{
	font-size: 16px;
	color: #000;
	margin: 0 0 20px;
	padding: 0;
}

.junta-home .card .card-body .social{
	width: 35px;
	height: 35px;
	border:1px solid #56BDB3;
	border-radius: 100%;
	line-height: 35px;
	text-align: center;
	font-size: 17px;
	color: #56BDB3;
	margin: 0 5px;
}

.junta-home .card .card-body .social:hover{
	background: #56BDB3;
	color: #FFF;
}

.noticias-home{
	background: #E7F5F4;
}

.noticias-home h5{
	font-size: 23px;
	color: #56BDB3;
	font-weight: 400;
	line-height: 23px;
	margin: 0;
	padding: 0;
}

.noticias-home h2{
	color: #005E82;
	font-size: 55px;
	line-height: 55px;
	font-weight: 400;
}

.btn-noticias{
	border-radius: 55px;
	line-height: 55px;
	font-size: 16px;
	color: #000;
	border:1px solid #000;
	padding: 0 20px;
	display: inline-block;
}

.btn-noticias:hover{
	background: #000;
	color: #FFF;
}

.imgnt{
	height: 300px;
	background-size: cover;
	margin-bottom: 30px;
}

.nth span{
	color: #6E7070;
	font-size: 14px;
}

.nth h3{
	color: #000;
	font-size: 24px;
	line-height: 30px;
	margin-bottom: 30px;
}

.nth a{
	display: inline-block;
	font-size: 16px;
	line-height: 45px;
	border-radius: 45px;
	border:1px solid #285E80;
	padding: 0 25px;
	text-decoration: none;
	color: #285E80;
}

.nth a:hover{
	background: #285E80;
	color: #FFF;
}

footer{
	background: #285E80;
}

footer .nav-link{
	color: #FFF;
}

footer .nav-link:hover{
	color: #56BDB3;
}

.ftfd{
	background: #FFF;
}

.inner-banner {
    position: relative;
    background-position: center center;
    background-size: cover;
}

.inner-banner .inner-title {
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
}

.inner-banner .inner-title h4{
	color: #FFF;
}

.inner-banner .inner-title::before {
    content: "";
    position: absolute;
    width: 570px;
    height: 200px;
    top: 30px;
    left: 0;
    right: 0;
    margin: 0 auto;
    background-color: #56BDB3;
    opacity: 0.5;
    border-radius: 5px;
}

.inner-banner::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    background-color: #005E82;
    opacity: 0.7;
}

.inner-banner .inner-title h3 {
    font-size: 45px;
    color: #ffffff;
    font-weight: bold;
    position: relative;
}

.inner-banner .inner-title ul {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.inner-banner .inner-title ul li {
    font-size: 18px;
    color: #ffffff;
    display: inline-block;
}

.inner-banner .inner-title ul li a {
    color: #ffffff;
}

.inner-bg8 {
    background-image: url(assets/img/bgpg.jpg);
}

.btn-directorio{
    background: #035d82!important;
    color: #FFF!important;
    font-size: 18px!important;
    padding: 0 20px!important;
    line-height: 45px!important;
}

.card-body .gap-3 a:hover,
.btn-directorio.active,
.btn-directorio:hover{
	background: #03bfb2!important;
}

.card-body .gap-3 a{
    background: #e5973f;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 100%;
    color: #FFF;
}

.custom-post-widget-list {
    list-style: none;
    padding: 0;
    text-align: center;
}

.custom-post-widget-item {
    margin-bottom: 15px;
}

.custom-post-widget-thumbnail img {
    max-width: 100px;
    border-radius: 8px;
    height: auto;
}

.custom-post-widget-title {
    display: block;
    margin-top: 5px;
    font-size: 16px;
    font-weight: bold;
}

h3.widget-title{
    background: #035d82;
    color: #FFF!important;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 20px;
    line-height: 45px;
    margin: 0;
}

.widgets{
    border: 1px solid #03bfb2;
    border-top: 0;
}

.widgets ul{
	margin: 0;
	padding: 0;
}
.widgets li a{
    font-weight: bold;
    color: #035d82;
}
.widgets li{
	border-bottom: 1px solid #03bfb2;
	padding: 15px;
}

.widgets li:last-child{
	border-bottom:0;
}

.entry-title{
    font-weight: bold;
    color: #035d82;
}

.entry-content img{
	width: 100%;
}

.entry-content p{
	font-size: 18px;
	color: #6b6b6b;
}

.logo-directorio{
    width: 300px;
    height: 300px;
    margin: 0 auto;
    border-radius: 100%;
    overflow: hidden;
    text-align: center;
}

.logo-redes{
    position: relative;
    padding: 21px;
    display: inline-block;
    background: #fff;
    box-shadow: 0 0 3px rgba(206, 206, 206, 0.55);
    max-width: 340px;
}

.profile-main {
    background: #fff;
    border-radius: 5px;
    width: 100%;
    margin-bottom: 30px;
    box-shadow: 0 0 3px rgba(206, 206, 206, 0.55);
    background: #fff;
    color: #6E7070;
    border: 1px solid #eeeeee;
}

.profile-main h3 {
    font-size: 18px;
    font-weight: bold;
    color: #0084c9;
    margin-top: 0px;
    border-bottom: 1px solid #eeeeee;
    padding: 30px;
    padding-bottom: 13px;
    margin-bottom: 20px;
}

.profile-in a{
    color: #0084c9;
}

.profile-in a:hover{
    color: #0A3655!important;
}

.profile-in {
    padding: 30px;
    padding-top: 0px;
}

.profile-in .media{
    margin-bottom: 25px;
}

.profile-in .media h6 {
    margin-top: 0px;
    font-weight: normal;
    margin-bottom: 15px;
    color: #0a3656;
}

.profile-in .media p {
    line-height: 22px;
    color: #6E7070;
}

.logo-redes a{
    display: inline-block;
    background: #eee;
    color: #0a3656;
    width: 40px;
    height: 40px;
    font-size: 18px;
    text-align: center;
    line-height: 40px;
    border-radius: 100%;
}

.logo-redes a:hover{
    background: #0084c9;
    color: #FFF;
}

.btn-ver{
    background: #57bdb4;
    color: #FFF;
    font-weight: bold;
    font-size: 18px;
    line-height: 55px;
    border-radius: 55px;
    padding: 0 30px;
    display: inline-block;
}

.btn-ver:hover{
	background: #035d83;
}


.content.ct-pg{
	max-width: 900px;
	margin: 0 auto;
	font-size: 18px;
}

.content.ct-pg li{
    border-bottom: 1px solid #dadada;
    padding:15px;
    margin-bottom: 0;
    font-size: 14px;
}

.content.ct-pg .pagination li{
	padding: 0;
}

.content.ct-pg strong,
.content.ct-pg h1,
.content.ct-pg h2,
.content.ct-pg h3,
.content.ct-pg h4,
.content.ct-pg h5{
	color: #035d82;
}

.junta-home .card .card-body .dsc p{
	text-align: justify; 
	color: #949494;
}

.post img, .post-thumbnail img{
	margin-bottom: 25px;
}

.ahrb-timeline-section {
  background-color: #f5f5f5;
  padding: 3rem 1rem;
  font-family: 'Segoe UI', sans-serif;
}

.timeline-intro {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.timeline-intro h2 {
  font-size: 2rem;
  color: #004D6D;
}

.timeline-intro p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

.timeline-container {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline-container::before {
  content: '';
  position: absolute;
  width: 4px;
  background-color: #00B9BB;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-block {
  padding: 1.5rem 2rem;
  position: relative;
  width: 50%;
}

.timeline-block.left {
  left: 0;
}

.timeline-block.right {
  left: 50%;
}

.timeline-block::before {
  content: '';
  position: absolute;
  top: 1.5rem;
  width: 20px;
  height: 20px;
  background-color: #004D6D;
  border: 4px solid #fff;
  box-shadow: 0 0 0 3px #00B9BB;
  border-radius: 50%;
  z-index: 1;
}

.timeline-block.left::before {
  right: -10px;
}

.timeline-block.right::before {
  left: -10px;
}

.content {
  background-color: none;
  padding: 1.2rem 1.5rem;
  border-radius: 12px;
  position: relative;
}

.content h4 {
  margin-top: 0;
  color: #004D6D;
  font-weight: 600;
}

.content p, .content ul {
  margin: 0.5rem 0 0;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.5;
}

.content ul {
  padding-left: 1rem;
}

.content h5 {
  margin-top: 0.3rem;
  font-size: 1rem;
  font-weight: 500;
  color: #007d87; /* tono turquesa más fuerte */
  margin-bottom: 0.8rem;
}

.content h5 {
  padding-left: 10px;
  border-left: 4px solid #00B9BB;
}

/* ====== Variables (ajusta si deseas) ====== */
:root{
  --brand-primary-600: #2563eb; /* azul */
  --brand-primary-700: #1d4ed8;
  --brand-primary-500: #3b82f6;
  --card-radius: 18px;
  --card-shadow: 0 10px 25px rgba(16, 24, 40, .08);
  --card-shadow-hover: 0 16px 40px rgba(16, 24, 40, .14);
}

/* ====== Sección ====== */
.categorias-proyectos{
  position: relative;
}
.categorias-proyectos .row.g-4{
  row-gap: 2rem;
}

/* ====== Card ====== */
.categorias-proyectos .card{
  border-radius: 0;
  box-shadow: none;
  background: none;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, border-color .3s ease;
  border: 1px solid rgba(17, 24, 39, .06);
}
.categorias-proyectos .card:hover{
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(17, 24, 39, .12);
}

/* halo sutil en hover */
.categorias-proyectos .card:hover .icono img{
  filter: drop-shadow(0 6px 10px rgba(37, 99, 235, .18));
}

/* ====== Icono ====== */
.categorias-proyectos .icono{
  display:flex; align-items:center; justify-content:center;
}
.categorias-proyectos .icono img{
  max-height: 72px;
  width: auto;
  transition: filter .3s ease, transform .3s ease;
}
.categorias-proyectos .card:hover .icono img{
  transform: translateY(-2px) scale(1.02);
}

/* ====== Título ====== */
.categorias-proyectos h5{
  color:#111827; /* Gris 900 */
  font-weight: 800;
  letter-spacing: .2px;
}

/* ====== Botón ====== */
.categorias-proyectos .btn.btn-primary{
  --bs-btn-color:#fff;
  --bs-btn-border-color: transparent;
  --bs-btn-hover-color:#fff;

  border-radius: 9999px;
  padding: .85rem 1.25rem;
  font-weight: 700;
  font-size: 1.05rem;
  background-image: linear-gradient(180deg, var(--brand-primary-500), var(--brand-primary-700));
  box-shadow: 0 6px 16px rgba(37, 99, 235, .25);
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.categorias-proyectos .btn.btn-primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, .35);
  filter: brightness(1.03);
}
.categorias-proyectos .btn.btn-primary:active{
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(37, 99, 235, .26);
}
.categorias-proyectos .btn.btn-primary:focus-visible{
  outline: 3px solid rgba(59, 130, 246, .45);
  outline-offset: 2px;
}

/* ====== Animaciones de entrada ====== */
@keyframes fadeUp {
  from {opacity: 0; transform: translateY(18px) scale(.98);}
  to   {opacity: 1; transform: translateY(0) scale(1);}
}
.categorias-proyectos .card{
  opacity: 0;
  animation: fadeUp .6s cubic-bezier(.2,.7,.2,1) forwards;
}

/* Stagger (escalonado) por columnas */
.categorias-proyectos .col-12.col-sm-6.col-lg-3:nth-child(1) .card{ animation-delay: .95s; }
.categorias-proyectos .col-12.col-sm-6.col-lg-3:nth-child(2) .card{ animation-delay: 1.5s; }
.categorias-proyectos .col-12.col-sm-6.col-lg-3:nth-child(3) .card{ animation-delay: 2s; }
.categorias-proyectos .col-12.col-sm-6.col-lg-3:nth-child(4) .card{ animation-delay: 2.5s; }
.categorias-proyectos .col-12.col-sm-6.col-lg-3:nth-child(5) .card{ animation-delay: 3s; }
.categorias-proyectos .col-12.col-sm-6.col-lg-3:nth-child(6) .card{ animation-delay: 3.5s; }

.categorias-proyectos .card{ opacity: 0; transform: translateY(18px) scale(.98); }
.categorias-proyectos .card.in-view{
  opacity: 1; transform: none;
  animation: fadeUp .6s cubic-bezier(.2,.7,.2,1) forwards;
}

/* ====== Respeto a usuarios con reduced motion ====== */
@media (prefers-reduced-motion: reduce){
  .categorias-proyectos .card,
  .categorias-proyectos .btn.btn-primary,
  .categorias-proyectos .icono img{
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 575.98px) {
	#header{
		padding: 10px 0;
	}
	#sliderPortada h1{
		font-size: 45px;
	}
	#sliderPortada p{
		font-size: 25px;
	}
	.quienes-somos-home .descripcion{
		width: auto;
	}

	.proyectos-home h1{
	    font-size: 43px;
    	line-height: 44px;
	}
	.junta-home{
		background-size: inherit;
	}
	.navbar-expand-md .navbar-nav .nav-link{
		line-height: 35px !important;
	   	border-bottom: 1px solid #eee;
	}

	.inner-banner .inner-title::before{
		width: auto;
	}
}

/* =========================
   HEADER ANIMATIONS + UI
========================= */

#header{
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 6px 30px rgba(0,0,0,0.06);
    transition: background-color .35s ease, box-shadow .35s ease, transform .35s ease, padding .35s ease;
    animation: headerSlideDown .9s ease both;
    z-index: 9999;
}

#header .navbar-brand img{
    max-height: 58px;
    width: auto;
    transition: transform .35s ease, opacity .35s ease, filter .35s ease;
}

#header .navbar-brand:hover img{
    transform: scale(1.04);
}

#header .nav-link{
    position: relative;
    font-weight: 600;
    color: #1f3340;
    transition: color .25s ease, transform .25s ease, opacity .25s ease;
}

#header .nav-link:hover{
    color: #0f7da0;
    transform: translateY(-1px);
}

#header .nav-link::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 4px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #1ab4d7, #0f7da0);
    border-radius: 999px;
    transition: width .3s ease;
    border-top: 0;
    border-left: 0;
    border-right: 0;
}

#header .nav-link:hover::after,
#header .current-menu-item > .nav-link::after,
#header .current_page_item > .nav-link::after,
#header .active.nav-link::after{
    width: 100%;
}

#header .dropdown-menu{
    border: 0;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
    padding: 12px;
    opacity: 0;
    transform: translateY(10px);
    visibility: hidden;
    display: block;
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
    pointer-events: none;
}

#header .dropdown:hover > .dropdown-menu,
#header .dropdown-menu.show{
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
}

#header .dropdown-item{
    border-radius: 12px;
    padding: 10px 14px;
    font-weight: 500;
    transition: background-color .25s ease, color .25s ease, transform .25s ease;
}

#header .dropdown-item.active{
    background: rgba(15,125,160,0.08);
    color: #fff;
    transform: translateX(3px);
}

#header .dropdown-item:hover{
	color: #0f7da0;
}

#header .social-icons a{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-left: 8px;
    border-radius: 50%;
    color: #fff;
    background: rgba(15,125,160,0.06);
    transition: transform .28s ease, background-color .28s ease, color .28s ease, box-shadow .28s ease;
}

#header .social-icons a:hover{
    color: #fff;
    background: #0f7da0;
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 10px 22px rgba(15,125,160,0.28);
}

#header .navbar-toggler{
    border: 0;
    box-shadow: none !important;
    padding: 8px 10px;
    border-radius: 10px;
    transition: background-color .25s ease, transform .25s ease;
}

#header .navbar-toggler:hover{
    background: rgba(15,125,160,0.08);
    transform: scale(1.03);
}

@keyframes headerSlideDown{
    from{
        opacity: 0;
        transform: translateY(-18px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991px){
    #header{
        background: rgba(255,255,255,0.96);
    }

    #header .navbar-collapse{
        margin-top: 12px;
        padding: 14px;
        border-radius: 18px;
        background: #fff;
        box-shadow: 0 18px 40px rgba(0,0,0,0.08);
        animation: mobileMenuFade .35s ease both;
    }

    #header .nav-link::after{
        display: none;
    }

    #header .dropdown-menu{
        opacity: 1;
        transform: none;
        visibility: visible;
        display: none;
        pointer-events: auto;
        margin-top: 8px;
        box-shadow: none;
        padding: 8px 0 0;
        background: transparent;
    }

    #header .dropdown-menu.show{
        display: block;
    }
}

@keyframes mobileMenuFade{
    from{
        opacity: 0;
        transform: translateY(-8px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================
   AHRB - MEJORA VISUAL Y ANIMACIONES PARA PÁGINA GOBERNANZA
   Complementario al CSS actual
   ========================================================== */

:root{
    --ahrb-blue: #005E82;
    --ahrb-blue-dark: #1E3C47;
    --ahrb-teal: #56BDB3;
    --ahrb-orange: #E59640;
    --ahrb-soft: #E7F5F4;
    --ahrb-text: #6E7070;
    --ahrb-radius: 28px;
    --ahrb-shadow: 0 18px 45px rgba(0, 94, 130, .13);
    --ahrb-shadow-hover: 0 28px 70px rgba(0, 94, 130, .22);
}

/* =========================
   Fondo general de la sección
========================= */

.proyectos-home{
    position: relative;
    overflow: hidden;
    padding: 30px 0 60px;
}

.proyectos-home::before{
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 8% 15%, rgba(86, 189, 179, .20), transparent 28%),
        radial-gradient(circle at 90% 35%, rgba(229, 150, 64, .13), transparent 30%),
        linear-gradient(180deg, rgba(255,255,255,.82), rgba(231,245,244,.65));
    pointer-events: none;
    z-index: 0;
}

.proyectos-home > div,
.proyectos-home .container{
    position: relative;
    z-index: 1;
}

/* =========================
   Banner interno más elegante
========================= */

.inner-banner{
    overflow: hidden;
    isolation: isolate;
}

.inner-banner::after{
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 30%, rgba(86,189,179,.35), transparent 35%),
        linear-gradient(120deg, rgba(0,94,130,.85), rgba(0,94,130,.45));
    z-index: 0;
    animation: bannerGlow 8s ease-in-out infinite alternate;
}

.inner-banner::before{
    z-index: 0;
}

.inner-banner .inner-title{
    z-index: 2;
    animation: fadeDownAhrb .9s ease both;
}

.inner-banner .inner-title::before{
    background: rgba(86, 189, 179, .55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 20px 50px rgba(0,0,0,.16);
    animation: softScaleAhrb 1.1s ease both;
}

.inner-banner .inner-title h3{
    letter-spacing: .5px;
    text-transform: uppercase;
    text-shadow: 0 8px 30px rgba(0,0,0,.25);
}

.inner-banner .inner-title h3::after{
    content: "";
    display: block;
    width: 82px;
    height: 4px;
    margin: 18px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--ahrb-teal), var(--ahrb-orange));
}

/* =========================
   Tarjetas de gobernanza
========================= */

.proyectos-home .card{
    position: relative;
    border-radius: var(--ahrb-radius) !important;
    background: rgba(255,255,255,.94);
    box-shadow: var(--ahrb-shadow) !important;
    border: 1px solid rgba(86,189,179,.18) !important;
    transition:
        transform .38s cubic-bezier(.2,.8,.2,1),
        box-shadow .38s ease,
        border-color .38s ease;
    animation: cardRevealAhrb .8s ease both;
    will-change: transform;
}

.proyectos-home .container:nth-of-type(1) .card{ animation-delay: .10s; }
.proyectos-home .container:nth-of-type(2) .card{ animation-delay: .22s; }
.proyectos-home .container:nth-of-type(3) .card{ animation-delay: .34s; }
.proyectos-home .container:nth-of-type(4) .card{ animation-delay: .46s; }

.proyectos-home .card::before{
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(86,189,179,.55), rgba(229,150,64,.25), rgba(0,94,130,.25));
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: .7;
}

.proyectos-home .card:hover{
    transform: translateY(-10px);
    box-shadow: var(--ahrb-shadow-hover) !important;
    border-color: rgba(86,189,179,.35) !important;
}

/* =========================
   Imagen principal de cada card
========================= */

.proyectos-home .card > .image{
    position: relative;
    height: 340px !important;
    overflow: hidden;
    background: #eaf8f7;
}

.proyectos-home .card > .image::after{
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 45%, rgba(0,94,130,.42)),
        linear-gradient(90deg, rgba(0,94,130,.14), transparent 45%);
    opacity: .85;
    transition: opacity .35s ease;
}

.proyectos-home .card:hover > .image::after{
    opacity: .55;
}

.proyectos-home .card > .image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.01);
    transition: transform .65s ease, filter .65s ease;
}

.proyectos-home .card:hover > .image img{
    transform: scale(1.08);
    filter: saturate(1.08) contrast(1.03);
}

/* =========================
   Cuerpo del contenido
========================= */

.proyectos-home .card-body{
    position: relative;
    padding: 46px !important;
}

.proyectos-home .card-body::before{
    content: "";
    position: absolute;
    top: -24px;
    left: 46px;
    width: 86px;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--ahrb-orange), var(--ahrb-teal));
    box-shadow: 0 8px 18px rgba(229,150,64,.25);
}

.proyectos-home .card-body h5{
    color: var(--ahrb-blue) !important;
    font-weight: 800 !important;
    line-height: 1.12;
    margin-bottom: 28px !important;
    letter-spacing: -.5px;
    text-wrap: balance;
}

.proyectos-home .card-body h5::after{
    content: "";
    display: block;
    width: 54px;
    height: 3px;
    margin: 18px auto 0;
    border-radius: 999px;
    background: var(--ahrb-teal);
}

.proyectos-home .card-body p{
    font-size: 17px;
    line-height: 1.75;
    color: #596b72;
    margin-bottom: 24px;
}

.proyectos-home .card-body p strong{
    display: inline-block;
    color: var(--ahrb-blue);
    font-size: 20px;
    font-weight: 800;
    margin-top: 12px;
}

/* =========================
   Imágenes internas del contenido
========================= */

.proyectos-home .wp-block-image{
    margin: 34px 0;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 16px 38px rgba(0,94,130,.15);
}

.proyectos-home .wp-block-image img{
    width: 100%;
    display: block;
    border-radius: 22px;
    transition: transform .6s ease, filter .6s ease;
}

.proyectos-home .wp-block-image:hover img{
    transform: scale(1.045);
    filter: saturate(1.08);
}

.proyectos-home .wp-block-image::after{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 62%, rgba(0,94,130,.22));
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
}

.proyectos-home .wp-block-image:hover::after{
    opacity: 1;
}

/* =========================
   Botón leer más
========================= */

.proyectos-home .card-body .link{
    position: relative;
    overflow: hidden;
    border: 0;
    background: linear-gradient(135deg, var(--ahrb-blue), var(--ahrb-teal));
    color: #fff !important;
    font-size: 14px;
    letter-spacing: .7px;
    line-height: 46px;
    padding: 0 30px;
    margin-top: 8px;
    box-shadow: 0 12px 24px rgba(0,94,130,.22);
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.proyectos-home .card-body .link::before{
    content: "";
    position: absolute;
    top: 0;
    left: -90%;
    width: 70%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
    transform: skewX(-18deg);
    transition: left .5s ease;
}

.proyectos-home .card-body .link:hover{
    background: linear-gradient(135deg, var(--ahrb-orange), var(--ahrb-teal));
    transform: translateY(-3px);
    box-shadow: 0 18px 32px rgba(229,150,64,.28);
}

.proyectos-home .card-body .link:hover::before{
    left: 120%;
}

/* =========================
   Mejor lectura en pantallas grandes
========================= */

.proyectos-home .col-md-7{
    width: 100%;
    max-width: 930px;
}

/* =========================
   Animaciones
========================= */

@keyframes cardRevealAhrb{
    from{
        opacity: 0;
        transform: translateY(34px) scale(.985);
    }
    to{
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeDownAhrb{
    from{
        opacity: 0;
        transform: translateY(-18px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes softScaleAhrb{
    from{
        opacity: 0;
        transform: scale(.92);
    }
    to{
        opacity: .5;
        transform: scale(1);
    }
}

@keyframes bannerGlow{
    from{
        opacity: .75;
        transform: scale(1);
    }
    to{
        opacity: 1;
        transform: scale(1.04);
    }
}

/* =========================
   Responsive
========================= */

@media (max-width: 991.98px){
    .proyectos-home{
        padding: 20px 0 40px;
    }

    .proyectos-home .card > .image{
        height: 280px !important;
    }

    .proyectos-home .card-body{
        padding: 34px !important;
    }

    .proyectos-home .card-body h5{
        font-size: 28px !important;
    }
}

@media (max-width: 575.98px){
    .inner-banner .inner-title{
        padding-top: 75px;
        padding-bottom: 75px;
    }

    .inner-banner .inner-title h3{
        font-size: 34px;
    }

    .proyectos-home .container{
        padding-left: 18px;
        padding-right: 18px;
    }

    .proyectos-home .row{
        --bs-gutter-x: 0;
    }

    .proyectos-home .card{
        border-radius: 22px !important;
    }

    .proyectos-home .card > .image{
        height: 230px !important;
    }

    .proyectos-home .card-body{
        padding: 28px 24px !important;
    }

    .proyectos-home .card-body::before{
        left: 24px;
        width: 70px;
    }

    .proyectos-home .card-body h5{
        font-size: 25px !important;
        text-align: left !important;
    }

    .proyectos-home .card-body h5::after{
        margin-left: 0;
        margin-right: auto;
    }

    .proyectos-home .card-body p{
        font-size: 16px;
        line-height: 1.65;
        margin-bottom: 20px;
    }

    .proyectos-home .wp-block-image{
        margin: 26px 0;
        border-radius: 18px;
    }

    .proyectos-home .wp-block-image img{
        border-radius: 18px;
    }

    .proyectos-home .card-body .link{
        width: 100%;
        text-align: center;
        line-height: 48px;
    }
}

/* =========================
   Accesibilidad
========================= */

@media (prefers-reduced-motion: reduce){
    .proyectos-home .card,
    .proyectos-home .card > .image img,
    .proyectos-home .wp-block-image img,
    .proyectos-home .card-body .link,
    .inner-banner .inner-title,
    .inner-banner::after,
    .inner-banner .inner-title::before{
        animation: none !important;
        transition: none !important;
    }

    .proyectos-home .card:hover,
    .proyectos-home .card:hover > .image img,
    .proyectos-home .wp-block-image:hover img,
    .proyectos-home .card-body .link:hover{
        transform: none !important;
    }
}

/* ==========================================================
   AHRB - DETALLE DE GOBERNANZA / SINGLE POST
   Complementario al CSS existente
   ========================================================== */

:root{
    --ahrb-blue: #005E82;
    --ahrb-blue-dark: #1E3C47;
    --ahrb-teal: #56BDB3;
    --ahrb-orange: #E59640;
    --ahrb-soft: #E7F5F4;
    --ahrb-soft-2: #F7FBFB;
    --ahrb-text: #5f6f75;
    --ahrb-radius: 24px;
    --ahrb-shadow: 0 18px 45px rgba(0, 94, 130, .12);
    --ahrb-shadow-hover: 0 24px 65px rgba(0, 94, 130, .20);
}

/* =========================
   Layout general del detalle
========================= */

.content.ct-pg{
    max-width: 1180px;
    margin: 0 auto;
    font-size: 18px;
}

.content.ct-pg > .row{
    align-items: flex-start;
}

/* Fondo sutil del área del contenido */
main#main{
    background:
        radial-gradient(circle at 6% 20%, rgba(86, 189, 179, .14), transparent 30%),
        radial-gradient(circle at 96% 45%, rgba(229, 150, 64, .10), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f7fbfb 48%, #ffffff 100%);
}

/* =========================
   Artículo
========================= */

.single article.post,
.content.ct-pg article.post{
    position: relative;
    background: rgba(255,255,255,.96);
    border-radius: 28px;
    padding: 46px;
    border: 1px solid rgba(86, 189, 179, .18);
    box-shadow: var(--ahrb-shadow);
    overflow: hidden;
    animation: ahrbSingleReveal .85s ease both;
}

.content.ct-pg article.post::before{
    content: "";
    position: absolute;
    top: 0;
    left: 46px;
    width: 120px;
    height: 6px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, var(--ahrb-orange), var(--ahrb-teal));
}

.content.ct-pg article.post::after{
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(86, 189, 179, .11);
    pointer-events: none;
}

/* =========================
   Título
========================= */

.content.ct-pg .entry-header{
    margin-bottom: 28px;
}

.content.ct-pg .entry-title{
    position: relative;
    color: var(--ahrb-blue);
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -.9px;
    margin: 0 0 20px;
    padding-bottom: 22px;
    text-wrap: balance;
}

.content.ct-pg .entry-title::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 86px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--ahrb-teal), var(--ahrb-orange));
}

/* =========================
   Imagen destacada
========================= */

.content.ct-pg .post-thumbnail{
    position: relative;
    margin: 0 0 34px;
    border-radius: 26px;
    overflow: hidden;
    background: var(--ahrb-soft);
    box-shadow: 0 20px 45px rgba(0, 94, 130, .16);
}

.content.ct-pg .post-thumbnail::after{
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 52%, rgba(0,94,130,.38)),
        linear-gradient(90deg, rgba(0,94,130,.14), transparent 42%);
    pointer-events: none;
    opacity: .9;
}

.content.ct-pg .post-thumbnail img{
    display: block;
    width: 100%;
    height: auto;
    min-height: 360px;
    object-fit: cover;
    margin: 0;
    transform: scale(1.01);
    transition: transform .75s ease, filter .75s ease;
}

.content.ct-pg .post-thumbnail:hover img{
    transform: scale(1.055);
    filter: saturate(1.08) contrast(1.03);
}

/* =========================
   Contenido editorial
========================= */

.content.ct-pg .entry-content{
    color: var(--ahrb-text);
}

.content.ct-pg .entry-content p{
    font-size: 18px;
    line-height: 1.85;
    color: var(--ahrb-text);
    margin: 0 0 24px;
}

/* Primer párrafo destacado */
.content.ct-pg .entry-content > p:first-of-type{
    position: relative;
    font-size: 21px;
    line-height: 1.75;
    color: #34505b;
    background: linear-gradient(135deg, rgba(86,189,179,.13), rgba(255,255,255,.85));
    border-left: 5px solid var(--ahrb-teal);
    border-radius: 18px;
    padding: 24px 28px;
    margin-bottom: 34px;
}

/* Párrafos que funcionan como subtítulos simples */
.content.ct-pg .entry-content > p:nth-of-type(2),
.content.ct-pg .entry-content p strong{
    color: var(--ahrb-blue);
    font-weight: 800;
}

.content.ct-pg .entry-content > p:nth-of-type(2){
    font-size: 24px;
    line-height: 1.35;
    margin-top: 8px;
    margin-bottom: 16px;
}

/* Textos tipo FITUR, DATE, DEMA */
.content.ct-pg .entry-content p:not(:first-of-type){
    position: relative;
}

.content.ct-pg .entry-content p strong{
    font-size: 20px;
}

/* =========================
   Imágenes internas
========================= */

.content.ct-pg .wp-block-image{
    position: relative;
    margin: 38px 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(0, 94, 130, .15);
    background: var(--ahrb-soft);
}

.content.ct-pg .wp-block-image img{
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    border-radius: 24px;
    transition: transform .7s ease, filter .7s ease;
}

.content.ct-pg .wp-block-image:hover img{
    transform: scale(1.045);
    filter: saturate(1.08);
}

.content.ct-pg .wp-block-image::after{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 65%, rgba(0,94,130,.24));
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
}

.content.ct-pg .wp-block-image:hover::after{
    opacity: 1;
}

/* =========================
   Botón editar, solo si aparece
========================= */

.content.ct-pg .edit-link{
    display: inline-block;
    margin-top: 20px;
}

.content.ct-pg .edit-link .badge{
    border-radius: 999px;
    padding: 8px 14px;
    background: var(--ahrb-blue) !important;
}

/* =========================
   Sidebar
========================= */

#sidebar{
    animation: ahrbSidebarReveal .9s ease both;
}

#sidebar .sticky-top{
    top: 88px;
}

#sidebar .widgets{
    position: relative;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(86, 189, 179, .22);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(0, 94, 130, .10);
    transition: transform .32s ease, box-shadow .32s ease;
}

#sidebar .widgets:hover{
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(0, 94, 130, .16);
}

#sidebar h3.widget-title{
    position: relative;
    background: linear-gradient(135deg, var(--ahrb-blue), var(--ahrb-teal));
    color: #fff !important;
    font-size: 16px;
    line-height: 1.2;
    padding: 18px 20px;
    margin: 0;
    letter-spacing: .8px;
    text-transform: uppercase;
}

#sidebar h3.widget-title::after{
    content: "";
    position: absolute;
    left: 20px;
    bottom: 0;
    width: 54px;
    height: 3px;
    border-radius: 999px;
    background: var(--ahrb-orange);
}

/* Lista Novedades */
#sidebar .widgets nav ul,
#sidebar .widgets ul{
    margin: 0;
    padding: 0;
    list-style: none;
}

#sidebar .widgets nav li{
    border-bottom: 1px solid rgba(86, 189, 179, .18);
    padding: 0;
}

#sidebar .widgets nav li:last-child{
    border-bottom: 0;
}

#sidebar .widgets nav li a{
    position: relative;
    display: block;
    padding: 15px 18px 15px 42px;
    color: var(--ahrb-blue);
    font-size: 15px;
    line-height: 1.35;
    font-weight: 700;
    text-decoration: none;
    transition: color .25s ease, background-color .25s ease, padding-left .25s ease;
}

#sidebar .widgets nav li a::before{
    content: "";
    position: absolute;
    left: 18px;
    top: 21px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--ahrb-teal);
    box-shadow: 0 0 0 4px rgba(86,189,179,.14);
    transition: transform .25s ease, background-color .25s ease;
}

#sidebar .widgets nav li a:hover,
#sidebar .widgets nav li a[aria-current="page"]{
    color: var(--ahrb-orange);
    background: rgba(86,189,179,.10);
    padding-left: 48px;
}

#sidebar .widgets nav li a:hover::before,
#sidebar .widgets nav li a[aria-current="page"]::before{
    background: var(--ahrb-orange);
    transform: scale(1.12);
}

/* Directorio en sidebar */
#sidebar .custom-post-widget-list{
    padding: 16px;
    text-align: left;
}

#sidebar .custom-post-widget-item{
    margin: 0 0 14px;
    padding: 0 0 14px;
    border-bottom: 1px solid rgba(86, 189, 179, .16);
}

#sidebar .custom-post-widget-item:last-child{
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

#sidebar .custom-post-widget-item a{
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    align-items: center;
    text-decoration: none;
}

#sidebar .custom-post-widget-thumbnail{
    width: 72px;
    height: 58px;
    border-radius: 14px;
    overflow: hidden;
    background: var(--ahrb-soft);
    box-shadow: 0 8px 18px rgba(0,94,130,.10);
}

#sidebar .custom-post-widget-thumbnail img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 7px;
    margin: 0;
    background: #fff;
    transition: transform .35s ease;
}

#sidebar .custom-post-widget-title{
    display: block;
    margin: 0;
    color: var(--ahrb-blue);
    font-size: 14px;
    line-height: 1.35;
    font-weight: 800;
    transition: color .25s ease;
}

#sidebar .custom-post-widget-item a:hover .custom-post-widget-thumbnail img{
    transform: scale(1.07);
}

#sidebar .custom-post-widget-item a:hover .custom-post-widget-title{
    color: var(--ahrb-orange);
}

/* =========================
   Banner interno mejorado
========================= */

.inner-banner{
    overflow: hidden;
}

.inner-banner .inner-title{
    animation: ahrbBannerTitle .8s ease both;
}

.inner-banner .inner-title h3{
    text-transform: uppercase;
    letter-spacing: .8px;
    text-shadow: 0 10px 30px rgba(0,0,0,.28);
}

.inner-banner .inner-title h3::after{
    content: "";
    display: block;
    width: 82px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--ahrb-orange), var(--ahrb-teal));
    margin: 18px auto 0;
}

/* =========================
   Animaciones
========================= */

@keyframes ahrbSingleReveal{
    from{
        opacity: 0;
        transform: translateY(32px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ahrbSidebarReveal{
    from{
        opacity: 0;
        transform: translateX(-22px);
    }
    to{
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes ahrbBannerTitle{
    from{
        opacity: 0;
        transform: translateY(-18px) scale(.98);
    }
    to{
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* =========================
   Responsive
========================= */

@media (max-width: 991.98px){
    .content.ct-pg article.post{
        padding: 34px;
        border-radius: 24px;
    }

    .content.ct-pg .entry-title{
        font-size: 38px;
    }

    .content.ct-pg .post-thumbnail img{
        min-height: 280px;
    }

    #sidebar .sticky-top{
        top: 0;
        position: relative !important;
    }

    #sidebar{
        margin-bottom: 30px;
    }

    #sidebar .custom-post-widget-item a{
        grid-template-columns: 82px 1fr;
    }

    #sidebar .custom-post-widget-thumbnail{
        width: 82px;
        height: 64px;
    }
}

@media (max-width: 767.98px){
    .content.ct-pg .row{
        flex-direction: column-reverse;
    }

    .content.ct-pg article.post{
        padding: 28px 22px;
    }

    .content.ct-pg article.post::before{
        left: 22px;
        width: 90px;
    }

    .content.ct-pg .entry-title{
        font-size: 32px;
        letter-spacing: -.4px;
    }

    .content.ct-pg .entry-content > p:first-of-type{
        font-size: 18px;
        padding: 20px;
    }

    .content.ct-pg .entry-content > p:nth-of-type(2){
        font-size: 21px;
    }

    .content.ct-pg .entry-content p{
        font-size: 16px;
        line-height: 1.72;
    }

    .content.ct-pg .post-thumbnail{
        border-radius: 20px;
    }

    .content.ct-pg .post-thumbnail img{
        min-height: 220px;
    }

    .content.ct-pg .wp-block-image,
    .content.ct-pg .wp-block-image img{
        border-radius: 18px;
    }

    #sidebar .sticky-top{
        padding-top: 25px !important;
        padding-bottom: 10px !important;
    }
}

@media (max-width: 575.98px){
    main#main{
        padding-top: 51px !important;
    }

    .content.ct-pg{
        font-size: 16px;
    }

    .content.ct-pg .col-md-9{
        padding-top: 25px !important;
    }

    .content.ct-pg article.post{
        box-shadow: 0 12px 28px rgba(0,94,130,.12);
    }

    #sidebar .widgets{
        border-radius: 20px;
    }

    #sidebar h3.widget-title{
        font-size: 15px;
        padding: 16px 18px;
    }
}

/* =========================
   Accesibilidad
========================= */

@media (prefers-reduced-motion: reduce){
    .content.ct-pg article.post,
    #sidebar,
    .inner-banner .inner-title,
    .content.ct-pg .post-thumbnail img,
    .content.ct-pg .wp-block-image img,
    #sidebar .widgets,
    #sidebar .custom-post-widget-thumbnail img{
        animation: none !important;
        transition: none !important;
    }

    .content.ct-pg .post-thumbnail:hover img,
    .content.ct-pg .wp-block-image:hover img,
    #sidebar .widgets:hover,
    #sidebar .custom-post-widget-item a:hover .custom-post-widget-thumbnail img{
        transform: none !important;
    }
}

/* ==========================================================
   AHRB - JUNTA DIRECTIVA
   Complementario al CSS existente
   ========================================================== */

:root{
    --ahrb-blue: #005E82;
    --ahrb-blue-dark: #1E3C47;
    --ahrb-teal: #56BDB3;
    --ahrb-orange: #E59640;
    --ahrb-soft: #E7F5F4;
    --ahrb-soft-2: #F7FBFB;
    --ahrb-text: #64757b;
    --ahrb-radius: 28px;
    --ahrb-shadow: 0 18px 45px rgba(0, 94, 130, .12);
    --ahrb-shadow-hover: 0 28px 70px rgba(0, 94, 130, .22);
}

/* =========================
   Fondo general
========================= */

main#main{
    background:
        radial-gradient(circle at 8% 12%, rgba(86, 189, 179, .16), transparent 28%),
        radial-gradient(circle at 92% 42%, rgba(229, 150, 64, .12), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f7fbfb 45%, #ffffff 100%);
}

.junta-home{
    position: relative;
    overflow: hidden;
    padding-top: 10px;
}

.junta-home::before{
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    left: -180px;
    top: 40px;
    border-radius: 50%;
    background: rgba(86,187,178, .10);
    pointer-events: none;
}

.junta-home::after{
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -170px;
    bottom: 80px;
    border-radius: 50%;
    background: rgba(86,187,178, .10);
    pointer-events: none;
}

.junta-home .container{
    position: relative;
    z-index: 1;
}

/* =========================
   Banner interno
========================= */

.inner-banner.mb-5{
    margin-bottom: 65px !important;
}

.inner-banner{
    overflow: hidden;
    isolation: isolate;
}

.inner-banner .inner-title{
    animation: juntaBannerReveal .85s ease both;
}

.inner-banner .inner-title h3{
    text-transform: uppercase;
    letter-spacing: .9px;
    text-shadow: 0 10px 30px rgba(0,0,0,.28);
}

.inner-banner .inner-title h3::after{
    content: "";
    display: block;
    width: 86px;
    height: 4px;
    margin: 18px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--ahrb-orange), var(--ahrb-teal));
}

/* =========================
   Grid de tarjetas
========================= */

.junta-home .row{
    row-gap: 18px;
}

.junta-home .col-md-4{
    display: flex;
}

.junta-home .card{
    position: relative;
    width: 100%;
    min-height: 100%;
    background: rgba(255,255,255,.96) !important;
    border: 1px solid rgba(86, 189, 179, .20) !important;
    border-radius: var(--ahrb-radius) !important;
    box-shadow: var(--ahrb-shadow) !important;
    overflow: hidden;
    transition:
        transform .38s cubic-bezier(.2,.8,.2,1),
        box-shadow .38s ease,
        border-color .38s ease;
    animation: juntaCardReveal .75s ease both;
}

.junta-home .col-md-4:nth-child(1) .card{ animation-delay: .05s; }
.junta-home .col-md-4:nth-child(2) .card{ animation-delay: .10s; }
.junta-home .col-md-4:nth-child(3) .card{ animation-delay: .15s; }
.junta-home .col-md-4:nth-child(4) .card{ animation-delay: .20s; }
.junta-home .col-md-4:nth-child(5) .card{ animation-delay: .25s; }
.junta-home .col-md-4:nth-child(6) .card{ animation-delay: .30s; }
.junta-home .col-md-4:nth-child(7) .card{ animation-delay: .35s; }
.junta-home .col-md-4:nth-child(8) .card{ animation-delay: .40s; }
.junta-home .col-md-4:nth-child(9) .card{ animation-delay: .45s; }
.junta-home .col-md-4:nth-child(10) .card{ animation-delay: .50s; }
.junta-home .col-md-4:nth-child(11) .card{ animation-delay: .55s; }

.junta-home .card::before{
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(145deg, rgba(86,189,179,.55), rgba(229,150,64,.28), rgba(0,94,130,.22));
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: .75;
}

/*.junta-home .card::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 96px;
    background: linear-gradient(135deg, rgba(0,94,130,.96), rgba(86,189,179,.88));
    z-index: 0;
}*/

.junta-home .card:hover{
    transform: translateY(-10px);
    box-shadow: var(--ahrb-shadow-hover) !important;
    border-color: rgba(86, 189, 179, .36) !important;
}

/* =========================
   Foto del miembro
========================= */

.junta-home .card > .position-relative{
    position: relative;
    z-index: 2;
}

.junta-home .card .bg-light.rounded-circle{
    position: relative;
    width: 205px !important;
    height: 205px !important;
    background: #fff !important;
    border: 7px solid #fff;
    outline: 4px solid rgba(86, 189, 179, .35);
    box-shadow:
        0 18px 38px rgba(0,0,0,.18),
        0 0 0 10px rgba(255,255,255,.22);
    transition:
        transform .42s ease,
        outline-color .42s ease,
        box-shadow .42s ease;
}

.junta-home .card:hover .bg-light.rounded-circle{
    transform: translateY(-4px) scale(1.035);
    outline-color: rgba(229, 150, 64, .55);
    box-shadow:
        0 24px 48px rgba(0,0,0,.20),
        0 0 0 12px rgba(255,255,255,.25);
}

.junta-home .card .bg-light.rounded-circle img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    margin: 0;
    transition: transform .55s ease, filter .55s ease;
}

.junta-home .card:hover .bg-light.rounded-circle img{
    transform: scale(1.07);
    filter: saturate(1.08) contrast(1.03);
}

/* =========================
   Cuerpo de tarjeta
========================= */

.junta-home .card .card-body{
    position: relative;
    z-index: 1;
    background: transparent;
    padding: 20px 20px 28px;
}

.junta-home .card .card-body h5{
    color: var(--ahrb-blue);
    font-size: 25px;
    line-height: 1.16;
    font-weight: 800;
    margin-bottom: 10px !important;
    letter-spacing: -.35px;
    text-wrap: balance;
}

.junta-home .card .card-body h5::after{
    content: "";
    display: block;
    width: 54px;
    height: 3px;
    margin: 14px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--ahrb-orange), var(--ahrb-teal));
}

.junta-home .card .card-body span.text-muted{
    color: #708086 !important;
    font-size: 15px;
    line-height: 1.35;
}

.junta-home .card .card-body span.text-muted:first-of-type{
    display: inline-block !important;
    width: auto;
    color: #fff !important;
    background: linear-gradient(135deg, var(--ahrb-orange), #f0a95a);
    border-radius: 999px;
    padding: 7px 16px;
    margin: 4px auto 10px;
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .35px;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(229,150,64,.22);
}

.junta-home .card .card-body span.text-muted:nth-of-type(2){
    color: var(--ahrb-blue-dark) !important;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 18px !important;
}

/* =========================
   Descripción
========================= */

.junta-home .card .card-body .dsc{
    position: relative;
    margin-top: 18px;
    padding: 20px 18px 8px !important;
    background: linear-gradient(180deg, rgba(231,245,244,.72), rgba(255,255,255,.55));
    border-radius: 20px;
    border: 1px solid rgba(86, 189, 179, .16);
}

.junta-home .card .card-body .dsc::before{
    content: "Perfil";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--ahrb-teal);
    background: #fff;
    border: 1px solid rgba(86,189,179,.22);
    border-radius: 999px;
    padding: 4px 14px;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .6px;
}

.junta-home .card .card-body .dsc p{
    text-align: center;
    color: var(--ahrb-text);
    font-size: 15px;
    line-height: 1.68;
    margin-bottom: 14px;
}

/* Evita espacio visual cuando hay párrafos vacíos */
.junta-home .card .card-body .dsc p:empty{
    display: none;
}

/* =========================
   Redes sociales
========================= */

.junta-home .card .card-body .d-flex{
    margin-top: 16px;
}

.junta-home .card .card-body .social{
    position: relative;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ahrb-blue), var(--ahrb-teal));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: 18px;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(0,94,130,.20);
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

.junta-home .card .card-body .social::before{
    content: "";
    position: absolute;
    inset: -5px;
    border: 1px solid rgba(86,189,179,.25);
    border-radius: 50%;
    opacity: 0;
    transform: scale(.78);
    transition: opacity .25s ease, transform .25s ease;
}

.junta-home .card .card-body .social:hover{
    background: linear-gradient(135deg, var(--ahrb-orange), var(--ahrb-teal));
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(229,150,64,.28);
}

.junta-home .card .card-body .social:hover::before{
    opacity: 1;
    transform: scale(1);
}

/* =========================
   Animaciones
========================= */

@keyframes juntaCardReveal{
    from{
        opacity: 0;
        transform: translateY(32px) scale(.985);
    }
    to{
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes juntaBannerReveal{
    from{
        opacity: 0;
        transform: translateY(-18px) scale(.98);
    }
    to{
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* =========================
   Responsive
========================= */

@media (max-width: 1199.98px){
    .junta-home .card .bg-light.rounded-circle{
        width: 185px !important;
        height: 185px !important;
    }

    .junta-home .card .card-body h5{
        font-size: 23px;
    }
}

@media (max-width: 991.98px){
    .junta-home .col-md-4{
        width: 50%;
    }

    .junta-home .card .card-body .dsc p{
        font-size: 14.5px;
    }
}

@media (max-width: 767.98px){
    .inner-banner.mb-5{
        margin-bottom: 42px !important;
    }

    .junta-home .col-md-4{
        width: 100%;
    }

    .junta-home .card{
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }

    .junta-home .card::after{
        height: 88px;
    }

    .junta-home .card .bg-light.rounded-circle{
        width: 178px !important;
        height: 178px !important;
    }

    .junta-home .card .card-body{
        padding: 18px 18px 26px;
    }

    .junta-home .card .card-body h5{
        font-size: 24px;
    }
}

@media (max-width: 575.98px){
    .junta-home{
        padding-top: 0;
    }

    .junta-home .container{
        padding-left: 18px;
        padding-right: 18px;
    }

    .junta-home .row{
        --bs-gutter-x: 0;
    }

    .junta-home .card{
        border-radius: 22px !important;
        padding: 12px !important;
    }

    .junta-home .card .bg-light.rounded-circle{
        width: 165px !important;
        height: 165px !important;
        border-width: 6px;
    }

    .junta-home .card .card-body h5{
        font-size: 22px;
    }

    .junta-home .card .card-body span.text-muted:first-of-type{
        font-size: 12px;
        padding: 7px 14px;
    }

    .junta-home .card .card-body .dsc{
        padding: 18px 15px 8px !important;
    }

    .junta-home .card .card-body .dsc p{
        font-size: 14.5px;
        line-height: 1.62;
    }
}

/* =========================
   Accesibilidad
========================= */

@media (prefers-reduced-motion: reduce){
    .junta-home .card,
    .inner-banner .inner-title,
    .junta-home .card .bg-light.rounded-circle,
    .junta-home .card .bg-light.rounded-circle img,
    .junta-home .card .card-body .social,
    .junta-home .card .card-body .social::before{
        animation: none !important;
        transition: none !important;
    }

    .junta-home .card:hover,
    .junta-home .card:hover .bg-light.rounded-circle,
    .junta-home .card:hover .bg-light.rounded-circle img,
    .junta-home .card .card-body .social:hover{
        transform: none !important;
    }
}

#sliderPortada .carousel-item:before{
	background:rgba(86,189,179,.75);
	display:block;
	content:" ";
	position:absolute;
	top:0;
	bottom:0;
	left:0;
	right:0;
}

.imgnt{
	background-position:center;
}