/*INICIO FIXES POR UIX*/
.peopleBoxProfile h3{
	margin-right: 6px;
}

.date-return .post-date, .aniver-item h3 {
	margin: 0 !important;
}

.date-return {
	display: flex;
    justify-content: space-between;	
	align-items: center;
}

.activity-head-bar {
	margin-top: 8px;
    margin-bottom: 16px;	
}

/*FIX ICONO ME GUSTA EN ROJO FORZADO*/
.activity-list .activity-item .activity-state-reactions .reactions_item>i {
    color: var(--bb-primary-color) !important;
}

/*FIX SINGLE EVENTO - TICKETS*/
.single-tribe_events .tribe-events-event-meta:before {
	border: 0 !important;
}

.single-tribe_events .tribe-tickets__rsvp-wrapper {
	margin: 0 auto !important;	
}

.single-tribe_events .tribe-tickets__rsvp-actions-rsvp-going button {
	background-color: #D6314A;
	transition: transform 0.2s ease;
}

.single-tribe_events .tribe-tickets__rsvp-actions-rsvp-going button:hover, .single-tribe_events .tribe-tickets__rsvp-actions-rsvp-going button:focus {
	background-color: #D6314A;
	transform: scale(1.05);
}

.single-tribe_events .tribe-tickets__rsvp-form-buttons .tribe-common-c-btn, .single-tribe_events .tribe-tickets__rsvp-form-buttons .tribe-common-c-btn:hover, .single-tribe_events .tribe-tickets__rsvp-form-buttons .tribe-common-c-btn:focus {
	background-color: #D6314A;
	width: 50% !important;
}

.single-tribe_events .tribe-tickets__rsvp-form-button--cancel {
	background-color: lightgray;
    width: 50% !important;
    padding: 0.6rem;
    color: white !important;
    border-radius: 3px;	
	margin: 0 !important;
	
}

.single-tribe_events .tribe-tickets__rsvp-form-button--cancel:hover, .single-tribe_events .tribe-tickets__rsvp-form-button--cancel:focus {
	background-color: #D6314A;
}

.single-tribe_events .tribe-tickets__rsvp-actions-success-going-check-icon {
	background-color: #D6314A !important;
}

.single-tribe_events .tec-tickets__wallet-plus-component-pdf-button-container a {
	color: #D6314A !important;
	border: 1px solid #D6314A !important;
}

.single-tribe_events .tec-tickets__wallet-plus-component-pdf-button-container a:hover, .single-tribe_events .tec-tickets__wallet-plus-component-pdf-button-container a:focus {
	color: white !important;
	background-color:  #D6314A !important;
}

/*FIX PLACEHOLDER ACTIVITY - MURO FB*/
#whats-new-textarea [contenteditable=true]:empty:before, #whats-new-textarea-placeholder [contenteditable=true]:empty:before {
    color: #706F6F;
}

.evento-thumb img {
	border-radius: 8px;
	margin-top: 0.5rem;
}

/*FIX HIDE MENU CUENTA - SECONDARY MENU*/
#wp-admin-bar-my-account-settings #wp-admin-bar-my-account-settings-default, #item-body .settings-header a{
	display: none;
}

/*END FIXES POR UIX*/

/*CSS BLOG - EXTRA - NO COLISIONES*/

/* MENU ICO ACTIVE RED*/
.primary-menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #706F6F; 
}

.primary-menu .menu-icon {
  width: 25px;
  height: 25px;
  line-height: 0;
  display: inline-flex;
}

.primary-menu .menu-icon svg {
  width: 100%;
  height: 100%;
}

.primary-menu .menu-icon {
	margin: 0 !important;
}

.primary-menu li.current-menu-item > a,
.primary-menu li.current_page_item > a,
.primary-menu li.current-menu-parent > a,
.primary-menu li.current_page_parent > a {
  color: #D71029;
}

.primary-menu li.current-menu-item .menu-icon,
.primary-menu li.current_page_item .menu-icon,
.primary-menu li.current-menu-parent .menu-icon,
.primary-menu li.current_page_parent .menu-icon {
  color: #D71029;
}


/* FIN MENU*/

/*BLOG*/
/*HOME BLOG 4 CATEGORIAS*/
.page-template-page-blog .container {
}

.page-template-page-blog .blog-grid {
	margin-top: 16px !important;	
}

.blog-header-wrapper {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    margin: 0px;
	margin-top: 16px;
    border: 1px solid #DEDEDE;
}

.breadcrumb {
    font-size: 12px;
    margin-bottom: 10px;
}

.breadcrumb-link {
    color: #d42b3c;
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-current {
    color: #333;
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-col {
    border: 1px solid #DEDEDE;	
}

.blog-col .header {
	display: flex;
    justify-content: space-between;	
}

.blog-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    color: #000;
}

.blog-post .title-date  {
	font-size: 14px;
	max-width: 221px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-post p {
	color: #706F6F;
}

.blog-post a {
	display: flex;
}

.blog-post .title-date h4{
	margin:0px;
	line-height:14px;
	font-size: 14px !important;
	font-family: 'Mulish';
	font-weight: 700;
}

.thumbnail-104 {
    width: 104px;
    height: 104px;
    object-fit: cover; 
    border-radius: 10px;
    margin-right: 16px;
}

.red-line {
    border: 0;
    height: 4px;
    background: #d42b3c;
    margin: 0px !important;
	margin: 16px 0px !important;
}

.blog-grid {
    display: flex;
    flex-direction: column;
	gap: 1rem;
}

.blog-grid .blog-post {
	display: flex;
	border-radius: 8px;
	padding: 16px;
	border: 1px solid #DEDEDE;
}

.blog-grid .blog-post:hover {
	background-color: #FEF4F0;
}

.row-top {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 23px;
	margin-top: 16px;
}

.blog-col h3 {
	font-size: 18px;
	font-weight: 600;
}

.blog-col, .blog-row {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
}

.post-list-0, .post-list-1, .post-list-2, .post-list-horizontal {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.post-list-horizontal {
    flex-direction: row;
    gap: 20px;
}

/*END HOME*/

/*CATEGORY TEMPLATE BLOG*/
.category  .bb-grid {
	flex-direction: column;
	gap: 16px;
	margin-bottom: 16px;
}

.bb-grid .category-view {
	background-color: white;
    padding: 1rem;
    border-radius: 8px;
    margin: 0 !important;	
	border: 1px solid #dedede;
}

.bb-grid .category-view .category {
	font-weight: 600;
	color: #1D1D1B;
	font-size: 18px;
}

.blog-header-wrapper {
    background: #fff;
    border-radius: 10px;
    padding: 20px 20px 0 20px;
    border: 1px solid #f1e7e4;
}

.breadcrumb {
    font-size: 14px;
    margin-bottom: 10px;
}

.breadcrumb-link {
    color: #d42b3c;
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-current {
    color: #333;
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-title {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
    color: #000;
}

.blog-scroll-wrapper {
    max-height: 80vh;
    overflow-y: auto;
    padding-right: 10px;
    margin-right: -10px;
}

.blog-grid.category-view {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-post-card {
	flex: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 0;
    min-height: 520px;
    transition: all 0.3s ease;
    overflow: hidden;

}

.blog-post-card:hover {
    border-color: #d42b3c;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	background-color: #FEF4F0;
}

.blog-post-card .img-wrapper {
	padding: 1rem;
}

.blog-post-card .img-cat-blog {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}


.blog-post-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.blog-post-content h2 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 1rem;
    color: #000;
}

.blog-post-content h2 a {
    text-decoration: none;
    color: inherit;
}

.category-view .blog-post-date {
    font-size: 14px;
    color: #777;
	margin: 0;
    margin-top: auto;
}

/*END CATEGORY TEMPALTE BLOG*/

/*SINGLE TEMPLATE BLOG*/
.post-template-default #content {
	background-color: #FEF4F0;	
}

.single-post {
    margin-bottom: 16px;
    border-radius: 8px;
    border: 1px solid #dedede;	
	padding: 0 !important;
	background-color: white;
}

.post-template-default .bb-grid {
	margin-top: 24px !important;	
}

.single-post-wrapper-top {
    background-color: white;
    padding: 0px 48px !important;	
	padding-top: 32px !important;
	border-radius: 8px;
}

.single-post-wrapper-bottom {
	padding: 32px 48px !important;	
}

.single-post-wrapper .breadcrumb, .single-post-wrapper .blog-header, .single-post-wrapper .red-line, .single-post-wrapper .post-title, .single-post-wrapper .post-date, .single-post-wrapper img, .single-post-wrapper .single-post-content  {
	margin-bottom: 16px !important;
}

.single-post-wrapper .post-title {
	font-size: 24px;
	font-weight: 700;
}

.single-post-wrapper .post-date {
	font-size: 14px;
}

.single-post .single-post-thumbnail img {
	min-width: 100%;
}

.single-post-wrapper .single-blog-footer {
	width: 100%;
}
/*END SINGLE TEMPLATE BLOG*/

.page-template-page-blog .view-more-resp {
	display: none;
}

/*RESPONSIVE ALL BLOG*/
@media (max-width: 1080px) {
	.page-template-page-blog .row-top, .page-template-page-blog .salud-content {
		display: flex;
		flex-direction: column;		
	}
	
	.page-template-page-blog .row-top .title-date {
		max-width: 100%;
	}
	
	.blog-grid {
		padding: 0 10px !important;	
        padding-top: 1.875rem !important;
	} 
.salud-feed-content{
    flex-flow: column !important;
    display: flex !important;
    width: 100%;
    margin: 0 auto;
    padding: 22px 10px !important;
}	
	.salud-feed-container {
		padding: 20px !important;
		margin-top: 0 !important;
	}
	
	.page-template-page-blog .salud-feed-container {
		width: 100%;
		margin: 0 auto;		
	}
	
	.page-template-page-blog .post-list-0, .page-template-page-blog .post-list-1, .page-template-page-blog .post-list-2, .page-template-page-blog .salud-content, .page-template-page-blog .view-more {
		display: none;
	}
	
	.page-template-page-blog .view-more-resp {
		display: block;
	}
		
	.page-template-page-blog .dropdown-more {
		display: inline-block;
        width: 7px;
        height: 7px;
        font-weight: bolder;
        border-right: 3px solid #D71029 !important;
        border-bottom: 3px solid #D71029 !important;
        transform: rotate(45deg);
        vertical-align: middle;
        margin-top: 6px;
        transition: transform .2s ease;
	}
	
	.post-list-0.is-open, .post-list-1.is-open, .post-list-2.is-open, .salud-content.is-open { display: block; }
	.dm-0, .dm-1, .dm-2, .dm-3 { cursor: pointer; }
	.dropdown-more { display:inline-block; transition: transform .25s; }
	.dropdown-more.is-active { transform: rotate(225deg); }	
}

@media (max-width: 768px) {
	.blog-grid {
		display: flex !important;
		flex-direction: column;
		padding: 1.5rem !important;
	}
	
	.salud-feed-content{
		flex-flow: column !important;
		display: flex !important;
		width: 100%;
		margin: 0 auto;
		padding: 0px 1.5rem !important;
	}
}

@media (max-width: 430px) {
	.blog-post-card .img-cat-blog  {
		width: 260px !important;
		height: 260px !important;
	}	
}

/*END RESPONSIVE*/

/*END BLOG*/

.groups #invite-groups-li, .groups .copy_download_file_url {
    display: none !important;
}

/*FIXES GROUP DOCUMENTS MEDIA LAYER*/
#media-stream .document-data-table-head {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    border-bottom: 1px solid #e7e9ec;
    padding: 0 0 8px;
    width: 100%;
    justify-content: space-between;
}

.media-folder_visibility {
    display: none;
}

.data-head.data-head-visibility {
    display: none;
}

#media-folder-document-data-table .media-folder_items, .search-document-list .media-folder_items {
    margin: 0;
    border-bottom: 1px solid #e7e9ec;
    padding: 15px 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}
/*END FIX GROUPS DOCUMENT MEDIA LAYER*/

/*HIDE - EXPORTAR DATOS - ACOUNT SETTINGS*/
.bp-user #wp-admin-bar-my-account-settings-export, .bp-user #export-personal-li {
	display: none;
}

/*NOTICIAS LINK - VER NOTICIAS*/
.ir-a-noticia-wrapper {
    text-align: right;
    margin-right: 3rem;
}

.ir-a-noticia {
    color: #e60013; /* Rojo Ribera o similar */
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.ir-a-noticia:hover {
    color: #b80010; /* Un rojo más oscuro al hacer hover */
    text-decoration: underline;
}

/**/

/* Noticias */
.noticia-destacada-img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 12px;
}

.header-noticias {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.top-noticias {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.noticias-layout {
	border: 1px solid #dedede;
	border-radius: 8px;	
}

.noticias-secundarias {
    flex: 1 1 70%;
    max-width: 70%;
    max-height: 660px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.noticia-secundaria-img {
    width: 374px;
    height: 287px;
    overflow: hidden;
    border-radius: 10px; 
}

.noticia-secundaria-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.container-bottom {
    display: flex !important;
    gap: 24px;
    margin-top: 32px;
}

.mas-leidas {
    flex: 0 0 32%;
    max-width: 32%;
    background: #fff5f5;
    border-radius: 12px;
}

.noticias-centro {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #fff5f5;
    padding: 16px;
	background-color: white;
	border-radius: 8px;
	border: 1px solid #dedede;
	max-height: 969px;
	overflow-y: scroll;
}

.noticia-centro-title {
	font-size: 18px;
	font-weight: 600;
	margin: 0;
	color: #1D1D1B;
}

.noticia-centro-item {
    display: flex;
    gap: 16px;
    background: white;
    border-radius: 10px;
    padding: 12px;
	border: 1px solid #dedede;
}

.noticia-centro-item:hover {
	background-color: #FEF4F0;
	border: 1px solid #C40F25;
}

.noticia-centro-img img {
    width: 389px;
    height: 287px;
    object-fit: cover;
    border-radius: 8px;
}

.noticia-centro-texto {
    flex: 1;
	display: flex;
	flex-direction: column;
}

.noticia-centro-titulo {
    margin: 0 0 4px;
    font-size: 24px;
	font-weight: 700;
    line-height: 1.2;
}


.noticia-centro-titulo a {
    text-decoration: none;
    color: #000;
    font-weight: 700;
}

.noticia-centro-titulo a:hover {
	color: #C40F25;
}

.noticia-centro-fecha {
    font-size: 13px;
    color: #888;
    margin: auto 0 0 0;	
	
}

/**/

/*NOTICIAS MAS LEIDAS - SECTION DIV*/
.mas-leidas-container {
    width: 100%;
    max-width: 405px;
    background: #fff;
    border-radius: 8px;
	border: 1px solid #dedede;
	padding: 1rem;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.05);
}

.mas-leidas-titulo {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    padding-left: 4px;
    color: #333;
}

.mas-leidas-scroll {
    max-height: 800px;
    overflow-y: auto;
    padding-right: 8px;
    scrollbar-width: thin;
}

.mas-leidas-scroll::-webkit-scrollbar {
    width: 6px;
}

.mas-leidas-scroll::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.mas-leidas-item {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
    border-radius: 10px;
	padding: 1rem;
	border: 1px solid #dedede;
}

.mas-leidas-img img {
    width: 104px;
    height: 104px;
    object-fit: cover;
    border-radius: 6px;
}

.mas-leidas-texto {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.mas-leidas-titulo-noticia {
    font-size: 14px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    line-height: 1.3;
    display: block;
}

.mas-leidas-fecha {
    font-size: 14px;
	font-weight: 400;
    color: #888;
    margin-top: auto; 
}

/**/

/*PAGINA Todas las Noticias*/
.box-top-comunicados {
	border: 1px solid #dedede;
}

.todas-noticias-list {
	padding: 1rem;
    background-color: white;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: 1px solid #dedede;
}

.todas-noticias-list .todas-noticias-top h3 {
	font-size: 18px;	
}

.todas-noticias-list .todas-noticias-top h3, .todas-noticias-list .todas-noticias-top p {
	margin: 0;
}

.todas-noticias-list .todas-noticias-top {
    display: flex;
    align-items: center;
    justify-content: space-between;	
}

.noticia-card:hover {
    border-color: #C40F25 !important;
    background-color: #FEF4F0 !important;
}

.dropdown-filtro {
    position: relative;
}

.filtro-toggle, .filtro-toggle:hover, .filtro-toggle:focus {
    background: #fff3f3;
    border: 1px solid #f3dede;
    border-radius: 8px;
    color: #B40000;
    font-weight: 500;
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
	box-shadow: none;
}

.filtro-toggle img {
	filter: invert(15%) sepia(72%) saturate(7007%) hue-rotate(347deg) brightness(86%) contrast(95%);	
}

.filtro-menu {
    display: none;
    position: absolute;
    top: 110%;
    right: 0;
    width: 240px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    z-index: 100;
}

.filtro-menu label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
}

.filtro-menu input[type="checkbox"] {
    margin-right: 8px;
}

.filtro-menu .texto-activo {
    color: #B40000;
    font-weight: 600;
}

/*RESP TODO NOTICIAS*/
@media (max-width: 1024px) {
	.top-noticias {
		display: block;
	}
	
	.noticia-destacada {
		max-width: none;
		flex-direction: row-reverse;
		height: auto;
		justify-content: space-between;
		margin-bottom: 1rem;
	}
	
	.noticia-destacada .meta-info {
		display: flex;
		flex-direction: column;
		justify-content: space-between;		
	}
	
	.noticia-destacada-img {
		width: 374px;
		height: 287px;			
	}
	
	.noticias-secundarias {
		max-width: none;
		max-height: none;
	}
	
	.noticia-secundaria {
		height: auto !important;		
	}	
	
	.noticia-centro-item {
		flex-direction: column;
	}
	
	.noticia-centro-img {
		margin: 0 auto;
	}
	
}

@media (max-width: 768px ) {
	.noticia-destacada-img {
		width: 353px;	
	}	
	
	.top-noticias {
		width: 100%;	
	}
	
	.container-bottom {
		display: block !important;
		margin-top: 1rem;
	}
	
	.mas-leidas, .mas-leidas-container {
		max-width: none;
	}
	
	.mas-leidas {
	    margin-bottom: 1rem;		
	}
	
	.mas-leidas-img img {
		width: 389px;
		height: 287px;		
	}
	
	.mas-leidas-item, .noticia-centro-item {
		flex-direction: row-reverse;	
	}
	
	.noticia-centro-titulo, .mas-leidas-titulo-noticia {
		font-size: 18px;
	}
	
	.noticias-centro {
		max-height: none;
	}
	
	.noticia-destacada-img {
		margin-bottom: 0;		
	}

	.comunicado-img-destacada img{
		border-radius: 0 !important;
	}
	

}

@media (max-width: 750px) {
	.noticia-destacada, .noticia-secundaria {
		flex-direction: column;
		width: 100%;
        height: auto;
		text-align: center;
	}
	
	.noticia-destacada-img {
        margin: 0 auto;
		margin-bottom: 1rem;		
    }
	
	.noticia-secundaria {
		flex-direction: column-reverse;
	}
	
	.noticia-secundaria-img {
		width: 100%;
		margin: 0 auto;
		margin-bottom: 1rem;
	}
	
	.noticia-secundaria .detalle-noticia h2, .noticia-destacada .meta-info h2{
		font-size: 20px;
	}
	
	.mas-leidas-scroll {
		padding-right: 0;
	}
	
	.mas-leidas-item, .noticia-centro-item, .noticia-card {
		flex-direction: column;
		text-align: center;
	}
	
    .mas-leidas-img img, .noticia-secundaria-img, .noticia-centro-img img, .noticia-centro-img, .noticia-card img {
        width: 264px !important;
        height: 180px !important;
    }
	
	.noticia-card  {
		align-items: center !important;
	}
}

@media (max-width: 380px) {
    .noticia-destacada, .noticia-secundaria {
        width: 250px;
        height: 250px;
    }	
	
	.mas-leidas-img img, .noticia-secundaria-img, .noticia-centro-img img, .noticia-centro-img, .noticia-card img {
        width: 220px !important;
        height: 180px !important;
    }
}

/*END RESP TODO NOTICIAS*/

/*NEWSLETTER*/
.swiper-newsletter .newsletter-home .img-newsletter {
	width: 100%;
	height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    margin: 0 auto 0;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}

.swiper-newsletter .newsletter-home .img-newsletter-container {
	border-left: 3px solid #D71029;
}

/**/

/*PAGE-LOGIN + MODAL FORGET PASS*/
.input-group.input-error {
  background-color: #FBE7EA !important;
  border: 2px solid #C40F25 !important;
  outline: none !important;
}


.forgot-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
}

.forgot-modal-content {
  background: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 12px;
  width: 400px;
  max-width: 90%;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.forgot-modal .close {
  float: right;
  font-size: 22px;
  cursor: pointer;
  color: #d71029;
}
.forgot-modal .close:hover {
  color: #d71029;
}

.forgot-form .input-group {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 8px;
}

.forgot-form .input-group img {
  margin-right: 8px;
}

.forgot-form input {
  flex: 1;
  border: none;
  outline: none;
}

.forgot-form .btn-login {
  width: 100%;
  padding: 12px;
  background: #d71029;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.forgot-form .btn-login:hover {
  background: #a50f20;
}

/**/
/* CUSTOM RESET COMPRUEBA TU CORREO STYLE*/
/* Fondo del overlay */
.custom-reset-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Caja del modal */
.custom-reset-message {
  background: #fff;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  padding: 2rem;
  text-align: center;
  position: relative;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

/* Botón cerrar arriba derecha */
.custom-reset-message .close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 22px;
  cursor: pointer;
  color: #d71029;
}

/* Imagen central */
.custom-reset-message .custom-img {
  width: 160px;
  margin: 1rem auto;
  display: block;
}

/* Títulos */
.custom-reset-message .custom-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #000;
}

.custom-reset-message .custom-subtitle {
  font-size: 18px;
  font-weight: 600;
  margin: 1rem 0;
}

/* Texto */
.custom-reset-message .custom-text {
  font-size: 15px;
  color: #444;
  line-height: 1.5;
}

/* Acciones */
.custom-reset-message .custom-actions {
  margin-top: 1.5rem;
}

.custom-reset-message .btn-back {
  display: inline-block;
  padding: 10px 20px;
  background: #d71029;
  color: #fff !important;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s;
}

.custom-reset-message .btn-back:hover {
  background: #a50f20;
}


/**/
/*CSS CERRAR SESION EN FOOTER.PHP*/
.logout-modal {
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,.6);
  display: flex;
  justify-content: center;
  align-items: center;
}

.logout-modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  width: 90%;
  max-width: 600px; /* 🔑 más ancho en escritorio */
}


.logout-modal-content h2 {
  margin-top: 0;
}

.logout-buttons {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
}

.logout-buttons .btn-cancelar {
  background: transparent;
  border: none;
  color: #D71029;
  font-weight: bold;
  cursor: pointer;
}

.logout-buttons .btn-logout {
  background: #D71029;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .logout-modal-content {
    max-width: 90%;   /* se ajusta casi a toda la pantalla */
    padding: 20px;
  }
}

/*GALLERY COMUNICADOS - BLOG - NOTICIAS CSS*/
/* Modal y carrusel (igual que antes) */
.comunicado-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: hidden;
}

.comunicado-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.comunicado-carousel img.carousel-img {
    max-width: 95vw;
    max-height: 95vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
}

/* Botones prev/next y close igual que antes */
.comunicado-carousel button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    font-size: 48px;
    padding: 10px 18px;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s, transform 0.2s;
    z-index: 1000;
}
.comunicado-carousel .prev { left: 40px; }
.comunicado-carousel .next { right: 40px; }
.comunicado-modal .close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 36px;
    color: #fff;
    cursor: pointer;
    z-index: 10000;
}

/* === Indicador numérico === */
.carousel-indicator {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    z-index: 1000;
}

/* === Burbujas (dots) === */
.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 1000;
}

.carousel-dots span {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.carousel-dots span.active {
    background: #fff;
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-indicator {
        bottom: 40px;
        font-size: 14px;
    }
    .carousel-dots {
        bottom: 15px;
        gap: 6px;
    }
}


/*GALERIA MEDIOS - ACF COMUNICADOS */
/* === Contenedor general === */
.comunicado-galeria-container {
    margin: 60px 0;
    text-align: center;
}

.comunicado-galeria-container .galeria-titulo {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #D71029; /* color Ribera */
    font-weight: 600;
}

/* === Ítems del carrusel === */
.comunicado-galeria {
    position: relative;
    overflow: visible !important; /* permite que se vean las flechas fuera del carrusel */
}

.comunicado-galeria .item {
    position: relative;
    overflow: hidden;
    height: 260px; /* altura uniforme */
    border-radius: 8px;
    padding: 5px;
}

.comunicado-galeria .item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* recorta manteniendo proporciones */
    border-radius: 8px;
    display: block;
    cursor: zoom-in;
}

/* === Navegación (Flechas centradas perfectamente) === */
.comunicado-galeria .owl-nav {
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 100%; /* ocupa toda la altura del slider */
    display: flex;
    justify-content: space-between;
    align-items: center; /* centra verticalmente los botones */
    pointer-events: none; /* el contenedor no bloquea clics */
    z-index: 5;
}

.comunicado-galeria .owl-nav button.owl-prev,
.comunicado-galeria .owl-nav button.owl-next {
    pointer-events: all;
    background: #D71029 !important; /* mantiene tu color actual */
    color: #fff !important;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 20px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    transition: all 0.2s ease;
    position: relative;
}

.comunicado-galeria .owl-nav button.owl-prev {
    margin-left: -30px; /* coloca la flecha fuera del carrusel */
}

.comunicado-galeria .owl-nav button.owl-next {
    margin-right: -30px;
}

.comunicado-galeria .owl-nav button.owl-prev:hover,
.comunicado-galeria .owl-nav button.owl-next:hover {
    transform: scale(1.1);
}

/* Iconos dentro de las flechas */
.comunicado-galeria .owl-nav button span {
    font-size: 30px;
    line-height: 1;
    font-weight: bold;
    margin-top: -2px; 
}

/* === Dots inferiores === */
.owl-dots {
    margin-top: 15px;
}

.owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    background: #ccc;
    display: inline-block;
    border-radius: 50%;
    transition: background 0.3s;
}

.owl-dots .owl-dot.active span {
    background: #D71029 !important;
}

/* === Responsive ajustes === */
@media (max-width: 768px) {
    .comunicado-galeria .owl-nav button.owl-prev {
        margin-left: -15px;
    }

    .comunicado-galeria .owl-nav button.owl-next {
        margin-right: -15px;
    }

    .comunicado-galeria .owl-nav button.owl-prev,
    .comunicado-galeria .owl-nav button.owl-next {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
}



/*FOOTER CUSTOM START*/
.home-page .footer-custom {
	display: none;
}

.footer-custom {
    background: white;
    font-family: 'Poppins', sans-serif;
    color: #555;
    font-size: 15px;
}

.footer-custom .footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
	align-items: center;
	padding: 24px 0;
}

.footer-custom .footer-left {
    flex: 1 1 180px;
}

.footer-custom .footer-logo {
    max-width: 140px;
    height: auto;
}

.footer-custom .footer-menu {
    display: flex;
    gap: 60px;
    flex: 2 1 500px;
    justify-content: center;
}

.footer-custom .footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-custom .footer-menu li {
    margin-bottom: 10px;
}

.footer-custom .footer-menu a {
    color: #706F6F;
    text-decoration: none;
    transition: color 0.3s ease;
	font-size: 14px;
	font-weight: 700;
	line-height: 16px;
}

.footer-custom .footer-menu a:hover {
    color: #d1002d;
}

.footer-custom .footer-contact {
    flex: 1 1 240px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    text-align: right;
}

.footer-contact .social-icons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.footer-contact a {
    color: 	#706F6F;
}

.footer-contact a:hover {
	color: #D71029;
}

.footer-contact .social-icons img {
    width: 32px;
    height: 32px;
    display: inline-block;
    transition: transform 0.2s ease;
}

.footer-contact .social-icons a:hover img {
    transform: scale(1.1);
}

.footer-contact p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
	font-weight: 700;
    color: #706F6F !important;
	margin-left: 6px;
}

.footer-contact p img {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    background-color: #d1002d;
    color: white;
    padding: 16px 20px;
    text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
}

.footer-bottom .divider {
	margin: 0 2rem;
	transform: scale(1.2);
}

.footer-bottom p {
	margin: 0;
}

.footer-bottom p a{
    color: white;
	font-size: 14px;
    text-decoration: none;
    font-weight: 700;
	margin: 0;
}

@media (max-width: 1024px) {
	.footer-custom .footer-top {
		gap: 0;
		padding: 24px;
	}	
}

@media (max-width: 768px) {
	.footer-custom .footer-top {
		padding: 24px;
	}
	
	.footer-custom .footer-top {
		flex-direction: column;
		gap: 1rem;
	}
	
	.footer-custom .footer-left, .footer-custom .footer-menu, .footer-custom .footer-contact {
		flex: 1;
	}
}

@media (max-width: 430px) {
	.footer-custom {
		display: none;
	}
}
/*FOOTER CUSTOM END*/
