/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/

.footer-txt p{
font-size: 11px !important;	
}
.btn-grid span.link_wrap {
    display: block;
    width: 100% !important;
}

body {
  font-variant-numeric: lining-nums;
}

h1,body h1 {
    font-size: clamp(28px, 3vw, 40px) !important;
    line-height: 1em!important;
}

h2,  body h2 {
    font-size: clamp(24.5px, 2.625vw, 32px) !important;
    line-height: 1em!important;
}

h3 {
    font-size: clamp(19.6px, 2.1vw, 25px) !important;
    line-height: 1;
}

.cursa h3,.toggle>.toggle-title a {
    margin-bottom: 0px !important;
    font-size: 20px !important;
	font-weight: bold !important;
	line-height: 1 !important;
}

.cursa h2{
    margin-bottom: 0px !important;
    font-size: 25px !important;
	font-weight: bold !important;
}

body .dark div[data-style*="minimal"].toggles--minimal-shadow .toggle:not(.open):not(:hover) > .toggle-title i {
    border-color: var(--nectar-accent-color);
}



.verd h1,.verd h2,.verd h3{
color: var(--nectar-accent-color)!important;
}
.toggle-title i:before, .toggle-title i:after{
background-color: var(--nectar-accent-color) !important;
}

.blau h1,.blau h2,.blau h3 {
color: var(--nectar-extra-color-2)!important;	
}

.blanc h1,.blanc h2,.blanc h3 {
color: var(--nectar-extra-color-1)!important;
}


p {
    font-size: clamp(16px, 1.25vw, 18px) !important;
    line-height: 1.2;

}

.cursa p  {
	font-size: 14px !important;
	font-weight:bold;
}

.hero p {
    text-align: justify;
}
body .toggles--minimal-shadow .toggle {
    margin-bottom: 10px;
    padding: 0 25px;
    position: relative;
    transition: border-color 0.15s ease;
    background: white;
    border-radius: 15px;
}

.nectar-post-grid-wrap[data-style="content_under_image"] [data-columns="4"].layout-mixed > div:nth-child(10n + 1) .content, .nectar-post-grid-wrap[data-style="content_under_image"] [data-columns="4"].layout-mixed > div:nth-child(10n + 8) .content {
        max-width: 100%;
    }

p.post-heading.nectar-inherit-h3 {
    font-weight: bold;
    line-height: 1.1 !important;
}


.nectar-post-grid .nectar-post-grid-item:nth-last-child(-n+4) .nectar-split-heading {
  display: -webkit-box;
  -webkit-line-clamp: 2; /* or 3 */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nectar-post-grid .nectar-post-grid-item:nth-last-child(-n+4) span.meta-date {
    color: #979db4 !important;
}

.nectar-post-grid .nectar-post-grid-item:first-child .content{
    padding: 20px !important;
}

.nectar-post-grid .nectar-post-grid-item:nth-last-child(-n+4) .content {
    padding: 15px 0px 0px !important;
}
.nectar-cta .link_text .text {
  font-weight:bold;
}

span.meta-category {
    display: none;
}

h1.entry-title {
    color: var(--nectar-accent-color);
}

.img-gallery .iwithtext .iwt-icon img:not([srcset]) {
    width: 20px  !important;
}

.img-gallery .iwithtext .iwt-text {
    padding-left: 30px   !important;
}

.disabled_btn {
  pointer-events: none;  
  cursor: default;       
}

@media only screen and (min-width: 1000px) {
    #header-outer #logo, #header-outer .logo-clone, #header-outer .logo-spacing {
        margin-top: 14px  !important;
        margin-bottom: 14px  !important;
    }
	

}




.cursa-sort {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* texto "Ordenar per" */
.cursa-sort-label {
  color: #ffffff;
  font: inherit; /* usa tu sistema */
  white-space: nowrap;
}

/* wrapper */
.cursa-sort-select-wrap {
  position: relative;
  flex: 1;
  max-width: 700px;
}

/* dropdown */
.cursa-sort-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  width: 100%;
  height: auto;
  border-radius: 999px;
  border: none;
  outline: none;

  background: #ffffff; /* 🔥 blanco como quieres */
  color: inherit;

      padding: 10px 50px 10px 30px;
  font: inherit;
  line-height: normal;
  cursor: pointer;
}

/* quitar flecha nativa */
.cursa-sort-select::-ms-expand {
  display: none;
}

/* flecha */
.cursa-sort-arrow {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    pointer-events: none;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #2db84d;
}

/* responsive */
@media (max-width: 999px) {
	.cursa p {
    font-size: 12px !important;
    font-weight: 200;
}
	.hero p {
    text-align: left !important;
}
  .cursa-sort {
    gap: 20px;
  }

  .cursa-sort-label {
    width: 20%;
  }

.cursa-sort-select {
        height: 40px;
        padding: 0 50px 0 20px;
        width: auto;
    }
    .cursa-sort-arrow {
        left: 145px;
        border-left-width: 5px;
        border-right-width: 5px;
        border-top-width: 5px;
    }
}

/* SERGI */
#curses .wpb_text_column {
	width: 100%;
}
@media only screen and (max-width: 767px){
	.cursa p {
		text-align: center;
	}
}