/*
 Theme Name:   Bootscore Child
 Description:  Bootscore Child Theme
 Author:       Bootscore
 Author URI:   https://bootscore.me
 Template:     bootscore
 Version:      6.0.0
 Requires at least: 5.0
 Tested up to: 6.6
 Requires PHP: 7.4
 License: MIT License
 License URI: https://github.com/bootscore/bootscore-child/blob/main/LICENSE
 Text Domain:  bootscore
*/

#formulario .ui-accordion-header{
	background: #c5a059;
	color: white;	
}

#formulario .ui-accordion-header a{
	color: white;	
}

.wp-block-getwid-accordion__content a{
	color: #333;
	text-decoration: none;
}

.otgs-development-site-front-end{
display: none !important;
}

.active > .page-link{
background-color: #3b5673 !important;
border-color: #3b5673 !important;
}
.btn-top{
background-color: #c5a059 !important;
border-color: #c5a059 !important;
color: white;
}


[rel="prev"]::before {
  content: " " !important;
}

[rel="next"]::after {
  content: " " !important;
}

/* 
All style editing is done via /assets/scss/_bootscore_custom.scss
*/
.enlace-mejorado a{
text-decoration: none;
border: 1px solid #999;
padding: 10px;
display: block;
background: #fefefe;
border-radius: 5px;
}
.enlace-mejorado a:hover{
color: white;
background: #1a3a5a;

}

body {
    font-family: 'Inter', sans-serif;
    color: #2a2a2a;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.2;
}

	/* ============================================
	IDIOMAS (WPML)
   ============================================ */

.wpml-ls-legacy-list-horizontal a {
  padding: 5px 4px 6px !important;
  color: white;
}

.wpml-ls-legacy-list-horizontal .wpml-ls-item:not(:last-child) {
    position: relative;
    padding-right: 8px;
}

.wpml-ls-legacy-list-horizontal .wpml-ls-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 1px;
    height: 12px;   /* Ajusta la altura */
    background: #fff;
    transform: translateY(-50%);
}


.wpml-ls-current-language .wpml-ls-link {
    font-weight: 700;
}

.language-switcher,
.language-switcher .wpml-ls {
    display: flex;
    align-items: center;
}

.language-switcher .wpml-ls ul {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.language-switcher .wpml-ls li {
    margin: 0;
    padding: 0;
}

.mobile-language-switcher {
    display: flex;
    justify-content: center;
    gap: .75rem;
    margin-top: 1.5rem;
}
.mobile-language-switcher a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 50%;
    text-decoration: none;
    color: inherit;
    font-weight: 600;
    transition: var(--transition-rosner);
}
.mobile-language-switcher a.active {
    background: var(--color-azul-rosner);
    border-color: var(--color-azul-rosner);
    color: #fff;
}



.container-fluid {
  margin: 0px;
  padding: 0px;
}

.btn-black{
border: 1px solid black;
abackground: black;
acolor: white;
}

.btn-black:hover{
border: 1px solid white;
background: black;
color: white;
}

#main h2
{
  font-size: 4rem;
  font-weight: 700;
  line-height: 80px;
  acolor: #333;
  padding: 40px 0px;

}


#masthead {
  border-bottom: 3px solid #C5A059; 
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

.container-blog-home{
padding-bottom: 3rem;
}

/* Menú principal */

.dropdown-toggle:hover {
  color: #cdcdcd !important;
}

.dropdown-item.active, .dropdown-item:active {
  color: black;
  text-decoration: none;
  background-color: unset;
  font-weight: bold;
}
.navbar-ontop {
     background: rgba(26,58,90,1) !important;
	 transition: all 0.7s ease-out;
}
.navbar-ontop .logo img{
    width: auto;
    height: 140px;
    transition: all 0.7s ease-out;
}

.offcanvas-body {
  display: flex;
  justify-content: center;
}

header .navbar.navbar-scrolled{
    background: rgba(26,58,90,0.85) !important;
     transition: all 0.7s ease-out;
}

#nav-main a{
color: white;
padding: 0px 25px;
text-transform: uppercase;
}


.navbar-scrolled .logo img{
    width: auto;
    height: 100px;
    transition: all 0.7s ease-out;
}

.header-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:14px;
  flex-wrap:nowrap;
}

/* todos los iconos iguales */
.header-actions a,
.header-actions button{
  display:flex;
  align-items:center;
  justify-content:center;
  line-height:1;
}

/* icon sizing */
.youtube-icon,
.facebook-icon,
.search-toggle,
.nav-toggler{
  font-size:1.2rem;
  padding:0;
  background:none;
  border:0;
  box-shadow:none !important;
}

/* mobile fix */
@media (max-width: 991px){

  .header-actions{
    gap:12px;
  }

  .navbar-brand img{
    max-height:45px;
  }

  .youtube-icon,
  .facebook-icon,
  .search-toggle,
  .nav-toggler{
    font-size:1.25rem;
  }
}

/* evita que Bootstrap rompa el header */
#nav-main .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:nowrap;
}

/* =========================
   HEADER ICONS
========================= */

.social-icon,
.search-toggle {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px;

    border-radius: 50% !important;

    border: 1px solid rgba(255,255,255,.10);

    background: rgba(255,255,255,.06);
    backdrop-filter: blur(8px);

    color: rgba(255,255,255,.85);

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    line-height: 1;

    text-decoration: none;

    transition:
        background .3s ease,
        color .3s ease,
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

/* Hover general */
.social-icon:hover,
.search-toggle:hover {
    transform: translateY(-2px);
}

/* =========================
   YOUTUBE
========================= */

.youtube-icon:hover {
    background: rgba(255, 0, 0, .15);
    border-color: rgba(255, 0, 0, .35);
    color: #ff3b3b;

    box-shadow:
        0 8px 24px rgba(255,0,0,.18);
}

.youtube-icon{
padding: 0 !important;
}

/* =========================
   FACEBOOK
========================= */

.facebook-icon:hover {
    background: rgba(24, 119, 242, .15);
    border-color: rgba(24, 119, 242, .35);
    color: #1877f2;

    box-shadow:
        0 8px 24px rgba(24, 119, 242, .18);
}

.facebook-icon{
padding: 0 !important;
}

/* =========================
   SEARCH
========================= */

.search-toggle:hover {
    background: rgba(255,255,255,.15);
    border-color: rgba(255,255,255,.20);
    color: #fff;

    box-shadow:
        0 8px 24px rgba(255,255,255,.10);
}

/* Iconos */
.social-icon i,
.search-toggle i {
    font-size: 16px;
    line-height: 1;
}
/*Pagina de inicio*/

.actividad-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.actividad-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    transition: all .35s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
    height: 100%;
}

.actividad-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

.actividad-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.actividad-image-wrapper {
    overflow: hidden;
    height: 260px;
}

.actividad-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.actividad-card:hover .actividad-image {
    transform: scale(1.08);
}

.actividad-content {
    padding: 1.8rem;
}

.actividad-date {
    font-size: .85rem;
    color: #888;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.actividad-title {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #1f1f1f;
}

.actividad-excerpt {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.actividad-more {
    font-weight: 600;
    color: #333;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    transition: gap .3s ease;
}

.actividad-card:hover .actividad-more {
    gap: .8rem;
}

.actividad-image-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    background:
        url('/wp-content/uploads/fondo-basilica.jpg')
        center center / cover no-repeat;
}

.actividad-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,.15),
        rgba(0,0,0,.45)
    );
}

.actividad-placeholder-content {
    position: absolute;
    inset: 0;
    z-index: 2;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    color: white;
    text-align: center;
}

.actividad-placeholder-content i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: .9;
}

.actividad-placeholder-content span {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .5px;
}

.archive-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    transition: all .35s ease;
    box-shadow: 0 12px 40px rgba(0,0,0,.06);
    height: 100%;
}

.archive-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 50px rgba(0,0,0,.12);
}

.archive-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.archive-image-wrapper {
    height: 320px;
    overflow: hidden;
    position: relative;
}

.archive-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s ease;
}

.archive-card:hover .archive-image {
    transform: scale(1.05);
}

.archive-content {
    padding: 2rem;
}

.archive-meta {
    font-size: .85rem;
    color: #8a8a8a;
    margin-bottom: 1rem;
}

.archive-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    color: #1f1f1f;
}

.archive-excerpt {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 1.8rem;
}

.archive-more {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-weight: 600;
    color: #8b6f47;
    transition: gap .3s ease;
}

.archive-card:hover .archive-more {
    gap: 1rem;
}

.archive-placeholder {
    background:
        linear-gradient(
            135deg,
            #7b674d,
            #b59a74
        );

    position: relative;
}

.archive-placeholder-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.2);
}

.archive-placeholder-content {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 2;
}

.archive-placeholder-content i {
    font-size: 3rem;
    color: rgba(255,255,255,.9);
}
/* Menu principal */

.dropdown-menu{
padding: 0px !important;
border-radius:0;
-webkit-box-shadow: 0px 2px 5px 1px rgba(0,0,0,0.65);
-moz-box-shadow: 0px 2px 5px 1px rgba(0,0,0,0.65);
box-shadow: 0px 2px 5px 1px rgba(0,0,0,0.65);

}

.dropdown-item {
color: #333 !important;
}

.dropdown-menu li{
position: relative;
padding: 5px ;
}

.dropdown-menu li{
border: 1px solid #eee;
}

.dropdown-menu .dropdown-submenu.depth_1  {
left:100%; 
right:auto;
margin-top: -38px !important;
}

#nav-main .dropdown-menu-child-item .dropdown-item {
  min-width: 220px;
}

#nav-main .navbar-nav li:first-child .nav-link {
	margin-left: 0;
}

#nav-main a.nav-link {
    position: relative;
    text-decoration: none;
}

/* Sidebar */

/* Sidebar Wrapper */
.sidebar-wrapper {
  position: sticky;
  top: 2rem;
}

/* Card visual */
.sidebar-card {
  background: var(--bs-body-bg);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow:
    0 4px 20px rgba(0,0,0,.04);
}

/* Widgets */
.sidebar-card .widget {
  margin-bottom: 2rem;
}

.sidebar-card .widget:last-child {
  margin-bottom: 0;
}

/* Widget Titles */
.sidebar-card .widget-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: .5rem;
}

.sidebar-card .widget-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  border-radius: 50px;
  background: var(--bs-primary);
}

/* Lists */
.sidebar-card ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.sidebar-card ul li {
  margin-bottom: .75rem;
}

.sidebar-card ul li a {
  text-decoration: none;
  color: var(--bs-body-color);
  transition: .2s ease;
}

.sidebar-card ul li a:hover {
  color: var(--bs-primary);
  padding-left: .25rem;
}

/* Offcanvas */
.offcanvas-lg {
  background: var(--bs-body-bg);
  backdrop-filter: blur(12px);
}

/* Scroll */
.offcanvas-body {
  overflow-y: auto;
}

/* Estilo para los campos del formulario */
.wpcf7-form label {
    display: block;
    margin-bottom: 15px;
    font-weight: 600;
}

.wpcf7-form input,
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

.wpcf7-form input:focus {
    border-color: #007cba;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.2);
}

/* Campo obligatorio con asterisco rojo */
.wpcf7-form .wpcf7-not-valid-tip {
    color: #d63638;
    font-size: 14px;
}

.wpcf7-form .wpcf7-list-item {
    display: block;
    margin: 5px 0;
}

.wpcf7-submit {
    background: #007cba;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s;
}

.wpcf7-submit:hover {
    background: #005a87;
}

/* Mobile */
@media (max-width: 991.98px) {

  .sidebar-wrapper {
    position: relative;
    top: auto;
  }

  .sidebar-card {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

}

/* Posts */

/* ARTICLE */
.single-post-modern {
  background: var(--bs-body-bg);
}

/* TITLE */
.single-post-modern .entry-title {
  max-width: 900px;
  letter-spacing: -.03em;
}

/* CONTENT */
.single-post-modern .entry-content {
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--bs-body-color);
}

/* Better readability */
.single-post-modern .entry-content > * {
  margin-bottom: 1.75rem;
}

/* Paragraph width */
.single-post-modern .entry-content p,
.single-post-modern .entry-content ul,
.single-post-modern .entry-content ol {
  max-width: 760px;
}

/* Headings */
.single-post-modern .entry-content h2,
.single-post-modern .entry-content h3,
.single-post-modern .entry-content h4 {
  margin-top: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

/* Featured Image */
.featured-image-wrapper img {
  width: 100%;
  border-radius: 1.5rem;
  box-shadow:
    0 10px 30px rgba(0,0,0,.08);
}

/* Meta */
.entry-meta i {
  color: var(--bs-primary);
}

/* Links */
.entry-content a {
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* Blockquote */
.entry-content blockquote {
  border-left: 4px solid var(--bs-primary);
  padding-left: 1.5rem;
  font-style: italic;
  opacity: .9;
}

/* Code */
.entry-content pre {
  border-radius: 1rem;
  padding: 1.25rem;
}

/* Tables */
.entry-content table {
  width: 100%;
}

.entry-content table th,
.entry-content table td {
  padding: .75rem;
  border: 1px solid rgba(0,0,0,.08);
}

/* Navigation cards */
.post-nav-card {
  padding: 1.25rem;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 1rem;
  transition: .25s ease;
}

.post-nav-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 25px rgba(0,0,0,.06);
}

/* Comments */
.comments-wrapper {
  padding-top: 2rem;
}

/* Mobile */
@media (max-width: 991px) {

  .single-post-modern .entry-content {
    font-size: 1.05rem;
    line-height: 1.8;
  }

  .single-post-modern .entry-title {
    font-size: 2.2rem;
  }

}	

.sidebar-card .widget {
  spadding-bottom: 2rem;
  amargin-bottom: 2rem;
  aborder-bottom: 1px solid rgba(0,0,0,.06);
}
.widget h2 {
  font-size: 1.5rem;
  font-weight: 700;
  padding-bottom: 1rem;
}
#block-2{
display: none;
}

/* Pie de pagina */

#footer{
background: #3b5673;
}

#footer hr{
color: #eee;
}

.footer-image1 img{
max-height: 160px;
width: auto;
}

.footer-image2 img{
max-height: 100px;
width: auto;
text-align: right;
}

.bootscore-footer .nav {
    justify-content: center;
}

#footer-menu a{
text-align:center;
color: white;
text-transform: uppercase;
padding: 20px 60px;
}


a.wp-block-button__link.has-dark-color.has-text-color.has-link-color.has-border-color.wp-element-button.btn.btn-outline-primary {
  padding: 8px;
  background: #c5a059;
  color: white !important;
  border-color: #c5a059 !important;
}

a.wp-block-button__link.has-dark-color.has-text-color.has-link-color.has-border-color.wp-element-button.btn.btn-outline-primary:hover {
  background: #333;
  color: white !important;
  border-color: #333 !important;
}

/* =========================
   OFFCANVAS MENU FIX (SOLO MÓVIL)
========================= */

@media (max-width: 991.98px) {

.offcanvas-body {
  display: block;
  padding: 1.5rem;
  text-align: left;
}

#offcanvas-navbar .navbar-nav {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  width: 100%;
}

  #offcanvas-navbar .nav-link {
    color: #1a3a5a !important;
    font-weight: 600;
    padding: 12px 0;
    display: block;
  }

  #offcanvas-navbar .dropdown-menu {
    border: 0;
    box-shadow: none;
    padding-left: 1rem;
  }

  #offcanvas-navbar .dropdown-item {
    color: #1a3a5a !important;
    padding: 8px 0;
  }

  #offcanvas-navbar .nav-item {
    border-bottom: 1px solid rgba(0,0,0,.06);
	 width: 99%;
	  font-size: 0.95rem;
  }

  #offcanvas-navbar .nav-item:last-child {
    border-bottom: none;
  }
	
.social-icon, .search-toggle{
  width: 25px !important;
  height: 25px !important;
  min-width: 25px;
}
.language-switcher{
    font-size: 0.9rem;
}
	.wp-block-buttons > .wp-block-button.has-custom-width {
  max-width: none;
  width: 95% !important;
}
	#main h2 {
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 80px;
 
  padding: 20px 0px;
}
	#formulario{
		padding: 0px !important;
		margin: 0px !important;
		
	}
	.wp-block-column.is-vertically-aligned-center.has-white-color.has-text-color.has-link-color.wp-elements-2.is-content-justification-left.is-layout-constrained.wp-container-core-column-is-layout-54d22900.wp-block-column-is-layout-constrained {
  padding: 10px;
}

}



@media (max-width: 767px) {
	
	#footer-menu a{
display: block;
		width: 100%;
		padding: 10px;
		
}

	#main .pt-5, #main .mt-5{
		padding-top: 0px !important;
margin-top: 0px !important;
		
	}
	
   .super-simple-slider-container .super-simple-slider .slide .overlay-container .overlay .opacity {
    top: 20% !important;
    transform: none !important;
    width: 95% !important;
  }
  .super-simple-slider-container .super-simple-slider .slide {
    height: 350px !important;
    min-height: 350px !important;
    max-height: 350px !important;

    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }

  .super-simple-slider-container .caroufredsel_wrapper,
  .super-simple-slider-container .super-simple-slider {
    height: 350px !important;
  }

  .super-simple-slider-container .slide img {
    width: 100% !important;
    height: 350px !important;
    object-fit: cover !important;
    display: block !important;
  }

	
	
  }



/* -------- Slider breakpoints -------- */
@media only screen and (min-width: 769px) {
    .super-simple-slider-container,
    .super-simple-slider-container .caroufredsel_wrapper,
    .super-simple-slider-container .super-simple-slider,
    .super-simple-slider-container .slide {
        height: 300px !important;
        min-height: 300px !important;
        max-height: 300px !important;
    }
}

@media only screen and (min-width: 1025px) {
    .super-simple-slider-container,
    .super-simple-slider-container .caroufredsel_wrapper,
    .super-simple-slider-container .super-simple-slider,
    .super-simple-slider-container .slide {
        height: 400px !important;
        min-height: 400px !important;
        max-height: 400px !important;
    }
}
