/*GENERAL*/

html {
  scroll-behavior: smooth;
	scroll-padding-top: 100px;
}


/* Hide page header featured image on all pages */
.page-header-image,
.featured-image.page-header-image {
  display: none !important;
}


/* PRIMARY BUTTON (core button block) */
.wp-block-button.primarybut .wp-block-button__link {
  /* base state */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  border-radius: 44px !important;
  border: none;
  background: var(--credendo-orange, #D05700) !important;
  color: #FFFFFF !important;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease;
}

.wp-block-button.primarybut .wp-block-button__link:hover,
.wp-block-button.primarybut .wp-block-button__link:focus-visible {
  background: var(--credendo-eggplant, #7C2529) !important;
  color: var(--credendo-greige, #EFEDE9) !important;
  outline: none;
}

/* SECONDARY BUTTON (core button block) */
.wp-block-button.secondaryb .wp-block-button__link {
  /* base state */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  border-radius: 44px !important;
  border: none;
  background: var(--vintage-gold, #D6AE68) !important;
  color: var(--credendo-black, #250201) !important;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease;
}

.wp-block-button.secondaryb .wp-block-button__link:hover,
.wp-block-button.secondaryb .wp-block-button__link:focus-visible {
  background: var(--credendo-black, #250201) !important;
  color: var(--vintage-gold, #D6AE68) !important;
  outline: none;
}




/*Eyebrown */
.eyebrow
{
color: rgb(37, 2, 1);
display: inline;
font-family: Inter, sans-serif;
font-size: 20px;
font-style: normal;
font-weight: 700;
height: auto;
line-height: 24px;
overflow-wrap: break-word;
text-transform: uppercase;
width: auto;
-webkit-font-smoothing: antialiased;	
}



/* Remove underline from all links */
a,
a:visited {
  text-decoration: none;
}

/* Keep links without underline on hover/focus/active */
a:hover,
a:focus,
a:active {
  text-decoration: none;
}

/* Utility class for explicitly underlined links */
.link-underlined {
  text-decoration: underline;
}


/* HEADER */

/* Make main header menu items bold */
.main-navigation .main-nav > ul > li > a {
  font-weight: 700; /* or 600 if lo ves demasiado gordo */
}

/* Basic sticky header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;          
}

/* subtle shadow when scrolling */
.site-header.is-stuck,
.site-header {
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/*logged-in users (admin bar height) */
body.logged-in .site-header {
  top: 32px;
}

/* Sticky subheader below the 100px main navigation */
.sticky-subnav {
  position: sticky;
  top: 100px;          /* main nav height */
  z-index: 100;
  background: #f4f1ec; /* same color as the light strip */
}

/* Adjust subheader offset when logged in (admin bar ~32px) */
body.logged-in .sticky-subnav {
  top: 132px;          /* main nav (100) + admin bar (32) */
}

/* Prevent sections from being hidden under header + subheader when using anchors */
[id] {
  scroll-margin-top: 200px;  /* approx. main nav + subnav height */
}

.sticky-subnav .subnav-link {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.sticky-subnav .subnav-link p {
  margin: 0;
}
/* Disable sticky subheader on tablet & phone */
@media (max-width: 1023px) {
  .sticky-subnav {
    position: static;
    top: auto;
    z-index: auto;
		
  }

  body.logged-in .sticky-subnav {
    top: auto;
  }
	  .sticky-subnav .subnav-link {
    justify-content: flex-start !important; 
    text-align: left;
  }
}

@media (max-width: 1023px) {
  .sticky-subnav .subnav-link {
    justify-content: flex-start !important;
    align-items: flex-start !important;
    text-align: left !important;
    width: 100%;
  }

  .sticky-subnav .subnav-link a {
    text-align: left !important;
    margin-left: 0 !important;
  }
}


/* Secondary navbar links: default black */
.subnav-links a,
.subnav-links a:visited {
  color: #000000;
}

/* Secondary navbar links: hover/focus orange */
.subnav-links a:hover,
.subnav-links a:focus {
  color: var(--credendo-orange); 
}
/* Navbar contact button */
/* normal */
.site-header a.primaryb,
.site-header a.primaryb:visited,
.site-header a.primaryb:focus,
.site-header a.primaryb:active {
  color: var(--NewA42-CredendoOrange, #D05700) !important;
  background-color: #fff;
}

/* Hover */
.site-header a.primaryb:hover {
  color: var(--credendo-black, #250201) !important;
  background-color: var(--credendo-amber, #E19A1E);
}


/* Current navbar item: white + bold */
.main-navigation .main-nav ul li.current-menu-item > a,
.main-navigation .main-nav ul li.current-menu-ancestor > a,
.main-navigation .main-nav ul li.current_page_item > a {
  color: #FFFFFF !important;
  font-weight: 700;
}

.sticky-subnav,
.sticky-subnav .gb-container,
.sticky-subnav .kb-nav {
  overflow: visible !important;
}

article.post .entry-content,
article.post .entry-summary {
  margin-top: 0 !important;
}

/* END HEADER */


.textcenter-aligned {
  display: flex;
  align-items: center;
  justify-content: center;
}

.textcenter-aligned p,
.textcenter-aligned h1,
.textcenter-aligned h2,
.textcenter-aligned h3,
.textcenter-aligned h4 {
  margin: 0;
}
.textcenter-aligned h4 {
  margin-bottom: 0 !important;
}





/*BLOG ARTICLE */

/* hide blog article default author and cat*/
.entry-header {
  display: none;
}
footer.entry-meta,
#nav-below.post-navigation {
  display: none;
}
body.single-post .featured-image.page-header-image-single {
  display: none;
}


.catarticle {
  font-family: Inter, sans-serif;
  font-weight: 700;
  font-size: 20px;     
  line-height: 1.2em;
  color: var(--credendo-black);
	text-transform: uppercase;
}
.catarticle a {
  text-decoration: none;
  color: inherit;
}

.catarticle a:hover,
.catarticle a:focus {
  text-decoration: none;
}

.tags {
  display: inline-flex;
  padding: 8px 16px;
  justify-content: center;
  align-items: center;
  gap: 8px;

  border-radius: 44px;
  background: var(--NewA42-CredendoOrange, #D05700);

  color: #fff;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
}

.tags a {
  color: inherit;
  text-decoration: none;
}

.tags:hover,
.tags a:hover,
.tags a:focus {
  text-decoration: none;
}

.post-author,
.post-author a {
  font-weight: 700;
}

/* Generic style for "Read article" pills */
a.gb-text {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}


/*Panels & Buttons*/

.buttoncards
{
  margin-top: auto; /* push this block to the bottom */
}
.cardtitleimage
{
	margin: 0 0 32px;
}

.cardtitleimagetimeline{
	padding-bottom: 32px;
}


/*CONTACT&TALK TO EXPERT*/


.book-meeting-card {
  position: absolute;
    z-index: 5;
  width: 35%;
}
.book-meeting-grid {
  width: 100%;
}

.book-meeting-grid > .gb-container {
  flex: 0 0 50%;
  max-width: 50%;
}


@media (max-width: 1024px) {
  .book-meeting-grid > .gb-container {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
@media (max-width: 768px) {

  .book-meeting-card {
    position: static;
    transform: none;
    margin-top: 32px;
		margin-bottom: 32px;
		width: 95%;
  }
}


/*dropdown menu nav bar*/

.main-navigation ul ul {
  background-color: var(--credendo-eggplant);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  position: absolute;
  z-index: 1000;
}

.main-navigation li:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-navigation ul ul li a {
  display: block;
  padding: 10px 20px;
  color: #333;
  text-decoration: none;
	font-weight: 700;
}

.main-navigation ul ul li a:hover {
  background-color: #f0f0f0;
  color: #000;
}



/* CONTACT FORM STYLES */

/* Error text */
.red {
  color: #DC2020;
}

/* Labels */
label {
  color: var(--NewA42-Credendo-Black, #250201);
  font-feature-settings: 'liga' off, 'clig' off;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: var(--fontSize-16, 16px);
  font-style: normal;
  font-weight: 700;
  line-height: var(--line-height-0, 24px);
}

/* Base fields: all non-button, non-checkbox, non-radio inputs + textarea + select */
input:not([type=submit]):not([type=checkbox]):not([type=radio]),
textarea,
select {
  height: auto;
  min-height: 2.75rem;
  width: 100%;
  margin-bottom: 0;
  padding: 0.5rem 0.75rem;
  border-radius: 4px !important;
  border: 1px solid var(--NewA42-CredendoOrange, #D05700) !important;
  background: var(--NewA42-White, #FFF) !important;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  box-sizing: border-box;
}

/* Placeholder style for text fields and textareas */
input::placeholder,
textarea::placeholder {
  color: hsla(240, 0%, 0%, 0.60);
}

/* Focus state for fields */
input:not([type=submit]):not([type=checkbox]):not([type=radio]):focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--NewA42-CredendoOrange, #D05700) !important;
}

/* Submit button */
input[type=submit] {
  padding: 0.75rem 2rem !important;
  border: none !important;
  border-radius: 44px !important;
  background: var(--NewA42-CredendoOrange, #D05700) !important;
  color: #FFF;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
}

/* Optional hover state for submit button */
input[type=submit]:hover {
  filter: brightness(0.95);
}

/* Checkbox base style */
input[type=checkbox] {
  width: 1.125rem;
  height: 1.125rem;
  min-height: 1.125rem;
  min-width: 1.125rem;
  margin-top: 0;
  margin-right: 0.5rem;
  margin-left: -1.25rem;
  border: 1px solid #525680;
  border-radius: 0;
  transition: all 200ms ease;
  cursor: pointer;
  box-sizing: border-box;
}

/* Native checked state (for normal HTML checkboxes) */
input[type=checkbox]:checked {
  border-color: var(--NewA42-CredendoOrange, #D05700);
  background-color: var(--NewA42-CredendoOrange, #D05700);
}

/* Native focus-visible state for accessibility */
input[type=checkbox]:focus-visible {
  outline: 2px solid var(--NewA42-CredendoOrange, #D05700);
  outline-offset: 1px;
}

/* Provider-specific pseudo-classes (kept from export) */
input[type=checkbox]:redirected-checked {
  border-width: 1px;
  border-color: var(--NewA42-CredendoOrange, #D05700);
  background-color: var(--NewA42-CredendoOrange, #D05700);
  background-size: 16px 16px;
  box-shadow: none;
}

input[type=checkbox]:redirected-focus {
  border-color: var(--NewA42-CredendoOrange, #D05700);
  box-shadow: none;
}

/* Privacy text block */
.privacy-text {
  color: var(--NewA42-Charcoal, #292929);
  font-feature-settings: 'liga' off, 'clig' off;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

/* Links inside privacy text (privacy policy link) */
.privacy-text a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}
/* Base fields: vertical spacing of 16px */
input:not([type=submit]):not([type=checkbox]):not([type=radio]),
textarea,
select {
  margin-bottom: 16px; /* space between fields */
}
/* Submit button spacing */
input[type=submit] {
  margin-top: 16px; /* space below submit button */
}

/* HubSpot legal consent: align checkbox like standard checkbox lists */
.legal-consent-container .inputs-list {
  list-style: none;
  margin: 0;
  padding-left: 18px; /* tweak 16–24px to match your other group */
}

.legal-consent-container .inputs-list > li {
  margin: 0;
  padding: 0;
}

.legal-consent-container .hs-form-booleancheckbox-display {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.legal-consent-container .hs-form-booleancheckbox-display input[type="checkbox"] {
  float: none !important;   /* overrides HubSpot */
  margin: 0;
  flex: 0 0 auto;
}

.legal-consent-container .hs-form-booleancheckbox-display span {
  margin: 0 !important;     /* overrides any old margin-left */
  display: block;
}
.legal-consent-container .hs-form-booleancheckbox-display input[type="checkbox"] {
  margin-top: 4px;
}

/* Footer: HubSpot form text in white (scoped) */
#footer-widgets .hbspt-form,
#footer-widgets .hbspt-form label,
#footer-widgets .hbspt-form .hs-form-field > label,
#footer-widgets .hbspt-form .hs-form-required,
#footer-widgets .hbspt-form .hs-richtext,
#footer-widgets .hbspt-form .legal-consent-container,
#footer-widgets .hbspt-form .hs-error-msg,
#footer-widgets .hbspt-form .hs-error-msgs,
#footer-widgets .hbspt-form .inputs-list,
#footer-widgets .hbspt-form .inputs-list label,
#footer-widgets .hbspt-form .hs-form-booleancheckbox label,
#footer-widgets .hbspt-form p,
#footer-widgets .hbspt-form span {
  color: #fff !important;
}
/* 1) Keep the required asterisk on the same line (HubSpot footer form only) */
#footer-widgets .hbspt-form .hs-form-required{
  display: inline !important;      /* overrides any block/flex behavior */
  margin-left: .25em;              /* small spacing after the label text */
  white-space: nowrap;
  vertical-align: baseline;
}

#footer-widgets .hbspt-form .hs-form-field > label{
  display: inline-block;
}

/* Footer HubSpot: GDPR / legal consent text smaller + normal weight */
#footer-widgets .hbspt-form .legal-consent-container,
#footer-widgets .hbspt-form .legal-consent-container *,
#footer-widgets .hbspt-form .hs-dependent-field,
#footer-widgets .hbspt-form .hs-dependent-field *{
  font-size: 12px !important;     /* tweak: 11–13px */
  font-weight: 400 !important;    /* not bold */
  line-height: 1.35 !important;
}

/* Make sure the checkbox label itself isn't bold */
#footer-widgets .hbspt-form .hs-form-booleancheckbox-display > span,
#footer-widgets .hbspt-form .hs-form-booleancheckbox-display{
  font-weight: 400 !important;
}

/* Optional: keep the privacy link readable */
#footer-widgets .hbspt-form .legal-consent-container a{
  font-weight: 500 !important;
}


/*P FORMATS */

/* Remove bottom spacing for specific paragraphs */
p.no-bottom-spacing,
h5.no-bottom-spacing {
  margin-bottom: 0 !important;
}
.nobottom {
  margin-bottom: 0 !important;
}
/* Force this icon to be exactly 68px wide */
figure.icon-fixed img,
img.icon-fixed {
  width: 68px !important;
  max-width: none;
  height: auto;
}



/*PRIMARY & SECONDARY BUTTON*/

.primaryb
{
	margin-left: 0px !important;
	margin-right: 0px!important ;
}

/*TIMELINE */

/* Left-align text inside that step button */
.timelinehover {
  justify-content: flex-start !important;
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Force inner paragraph to align left */
.timelinehover p {
  text-align: left !important;
}


/*FOOTER*/
.copyright-bar {
  display: none;
}
/* Footer links bold */
.site-footer a,
#footer-widgets a {
  font-weight: 700;
}

/* Hover en naranja Credendo */
.site-footer a:hover,
#footer-widgets a:hover {
  color: var(--NewA42-CredendoOrange, #D05700) !important;
}





/*taxonomy link disabled */
.taxonomy-category.catarticle a {
  pointer-events: none;   
  cursor: default;        
  text-decoration: none;  
  color: inherit;         
}

/*CARD INNO FONS*/
/* Desktop default */
.bg-inno-card {
  background-position: 150px center; /* adjust if needed */
}

/* Mobile */
@media (max-width: 767px) {
  .bg-inno-card {
    background-position: 150px 100px; /* tweak X/Y for mobile */
    /* optional:
    background-size: cover;
    */
  }
}

/*publications sticky form*/
@media (min-width: 992px){


  .form-row{
    align-items: stretch !important;  
    overflow: visible;
  }

  
  .form-row .form-col{
    align-self: stretch !important;    
    height: 100%;
    display: flex;
    flex-direction: column;
  }

 
  .form-row .sticky-form{
    overflow: visible !important;
    position: sticky;
    top: 140px;                       
    align-self: flex-start;
  }
}


@media (min-width: 1024px) {
  .wp-block-button.primarybut.middle {
    min-height: 72px;
    height: 72px;
    align-items: center; 
  }
}

/*footer switcher lang */
.custom-footer-lang-switcher .lang-item {
    color: #fff !important;
    text-decoration: none;
}

.custom-footer-lang-switcher .lang-item.is-active {
    color: #E4783A !important;
}

.custom-footer-lang-switcher .lang-item:hover,
.custom-footer-lang-switcher .lang-item:focus {
    color: #fff !important;
    
}
.custom-footer-lang-switcher .lang-separator {
    color: #ffffff !important;
}

/* FR */
/*html[lang="fr-FR"] .main-navigation a {*/
.main-navigation a {
    font-size: 14px;
}

html[lang="fr-FR"] .main-navigation a {
    font-size: 16px;
}