/*
Theme Name: Zakra Child
Template: zakra
Version: 2.0.2
*/



h2, h3, h4{ 
 background: linear-gradient(90deg,rgba(29, 67, 127, 1) 0%, rgba(46, 103, 178, 1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h3{
font-size: 1.8rem;
}

/* Remove default underline */
a {
  text-decoration: none;
  position: relative;
  color: rgba(46, 103, 178, 1);
}


#zak-footer a, #zak-footer p {
  color: rgba(255, 255, 255, 1);
}

button, input[type="button"], input[type="reset"], input[type="submit"], .wp-block-button .wp-block-button__link, .zak-button {
  border-color: #1D437F;
  background-color: #1D437F;
  background: #1D437F;
  background: linear-gradient(90deg,rgba(29, 67, 127, 1) 0%, rgba(46, 103, 178, 1) 100%);
}

h1.zak-header-image-cta__title {
 text-transform: uppercase;
 padding-top:150px
 
}

@media screen and (min-width: 768px) {
  .wp-custom-header .zak-header-image-cta__title {
    font-size: 5rem;
		letter-spacing: 0.9em;
		
  }
}

.custom-logo-link::after {
  content: none;
}

.zak-header-main-row{
  margin-bottom: 20px;
}

/* Custom underline pseudo-element */
a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px; /* Adjust this to move underline vertically */
  width: 100%;  /* Always visible underline */
  height: 1px;  /* Underline thickness */
  background-color: rgba(46, 103, 178, 1); /* Default underline color */
  transition: background-color 0.3s ease;
}


#zak-footer a::after {
  bottom: -1px; /* Adjust this to move underline vertically */
  background-color: rgba(255, 255, 255, 1);

}

/* place this after the theme CSS (Customizer → Additional CSS) */
#wp-custom-header .zak-header-image-cta .zak-header-image-cta__button {
  display: inline-block; /* just in case */
  transition: background .4s ease, color .4s ease, border-color .4s ease;
}

#wp-custom-header .zak-header-image-cta .zak-header-image-cta__button:hover,
#wp-custom-header .zak-header-image-cta a:hover > .zak-header-image-cta__button {
  background: #ffd800 !important;      /* override gradients/shorthand */
  background-image: none !important;    /* kill any gradient */
  color: #000 !important;               /* contrast on yellow */
  border-color: #ffd800 !important;     /* if there’s a border */
}

/* Base */
.wp-block-button .wp-block-button__link.wp-element-button,
.zak-header-image-cta .zak-header-image-cta__button {
  background-image: none !important;          /* kill gradient */
  background-color: #1D437F !important;       /* keep your base blue */
  transition: background-color .4s ease, color .4s ease, border-color .4s ease;
}

/* Hover */
.wp-block-button .wp-block-button__link.wp-element-button:hover,
.zak-header-image-cta .zak-header-image-cta__button:hover {
  background-image: none !important;
  background-color: #ffd800 !important;       /* yellow */
  color: #000 !important;
  border-color: #ffd800 !important;
}


div.wp-block-buttons > div > a::after {
  
  height: 0px;  /* Underline thickness */

}

.zak-header-image-cta-wrapper > a::after{
  
  height: 0px;  /* Underline thickness */

}

/* Underline highlight effect on hover */
a:hover::after {
  background-color: #FCBA74; /* Highlight underline color on hover */
}

/*
#zak-footer a:hover::after {
  background-color: rgba(0, 0, 0, 1);
}
*/

/* Background highlight effect on hover (optional) */
a:hover {
  background-color: #ffcd05;
  transition: background-color 0.3s ease;
}



/*
.zak-header-builder .zak-header-top-row {
    background-color: #FAFAFA; 
}

.zak-footer-builder .zak-footer-top-row {
    background-color: #2E67B2;
}
*/
#H2Replacement {
  display: block;
  width: 270px;
  height: 52px;
  margin: 0 auto; 
  text-indent: -9999px; /* hides the text */
  background: url('../../uploads/2025/07/cropped-logo_new-1-scaled-1.png') #ffffff no-repeat center center;
  background-size: contain; /* ensures the image fits inside */
}



.EUcommission{
    width: 80%;
    display: block;     
    margin: 0 auto;       
    height: auto;
}



@media (max-width: 992px) {
  .wp-block-image img {
    width: 65%;
    max-width: 100%;
    margin: auto;
    display: block;
  }
}

@media (max-width: 800px) {
	.zak-header-image-cta__text  {
		display: none !important;
	}
}

@media (min-width: 1100px) {
	.zak-header-image-cta .zak-container {
		margin-top:-180px;
	}
}

.wp-custom-header .zak-header-image-cta-wrapper {
  width: 85%;
}

.zak-header-image-cta__text {
  font-size: 1.17em;
	padding:30px;
}



h1#H1_HomeReplacement{
  display: block;
  width: 40% !important;
  margin: 0 auto; /*centers the block */
  text-indent: -9999px; /* hides the text */
  background: url('../../uploads/2025/11/logo_4_white-scaled.png') no-repeat center center;
  background-size: contain; /* ensures the image fits inside */
}


header div#header-breadcrumb {
	padding: 0 !important;
}


.wp-custom-header img#custom_img {
  width: 100%;      /* or fixed px */
  height: 300px;    /* desired cropped height */
  object-fit: cover;  /* maintains aspect ratio, cropping image */
  object-position: bottom; /* image position (top, center, bottom, etc.) */
  overflow: hidden; /* ensures no overflow outside container */
}

.in_red{
  -webkit-text-fill-color: #EB2128;
  color:#EB2128 !important;
  font-size: 0.9em;
  padding-top: 30px;
  font-style: normal !important;
}



.underlined{
  text-decoration: underline;
}

.phd_title{
  height: 130px; 
}

.phd_img{
  height: 80px; 
}

h2.phd_name{
    background: linear-gradient(90deg,rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h1.with_custom_image{
   background: linear-gradient(90deg,rgba(29, 67, 127, 1) 0%, rgba(46, 103, 178, 1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 2.5em !important;
  letter-spacing: 0.5em !important;
  padding-top: 16rem;
}

.supervisor_host {
  height: 70px; 
}


/* Rendi il "bottone" Iubenda un link testuale nel footer */
.zak-footer-builder .iub__us-widget__wrapper {
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: inline !important;
  position: static !important;
}

/* L'anchor dentro il wrapper resta testo con sottolineatura */
.zak-footer-builder .iub__us-widget__wrapper a,
.zak-footer-builder .iub__us-widget__wrapper [role="button"] {
  all: unset !important;
  display: inline !important;
  cursor: pointer !important;
  text-decoration: underline !important;
  color: inherit !important;
  line-height: inherit !important;
}

/* Evita qualunque posizionamento fisso/flottante residuo */
.iub__us-widget, .iub__us-widget * {
  position: static !important;
  inset: auto !important;
  transform: none !important;
}

/* Se vuoi nascondere eventuali floating button duplicati */
.iubenda-tp-btn, .iubenda-floating-button { display: none !important; }


/* Remove default underline only inside Iubenda UI */
.iubenda-cs-container a,
.iubenda-cs-modal a,
.iubenda-cs-content a,
.iubenda-cs-rationale a,
.iubenda-cs-purpose-desc a,
.iub__us-widget a,
.iubenda-floating-button a,
.iubenda-tp-btn a {
  text-decoration: none !important;
}

/* Optional: show underline on hover/focus for accessibility */
.iubenda-cs-container a:hover,
.iubenda-cs-container a:focus,
.iub__us-widget a:hover,
.iub__us-widget a:focus {
  text-decoration: underline !important;
  outline-offset: 2px;
}
/* Iubenda: remove underline/decorations just for the cookie-policy link */
.iubenda-cs-cookie-policy-lnk {
  text-decoration: none !important;
  height: 0px;
}

/* keep it clean on hover/focus too */
.iubenda-cs-cookie-policy-lnk:hover,
.iubenda-cs-cookie-policy-lnk:focus {
  text-decoration: none !important;
  outline: none;           /* remove default outline if you prefer */
  box-shadow: none;        /* some themes add focus ring via shadow */
}

/* No custom underline inside Iubenda UI */
.iubenda-cs-container a::after,
.iubenda-cs-modal a::after,
.purposes-header-right a::after{
  content: none !important;
}


/* Porta in trasparenza tutte le righe del footer, qualunque colore inline */
#zak-footer .zak-footer-top-row,
#zak-footer .zak-footer-main-row,
#zak-footer .zak-footer-bottom-row {
  background: transparent !important;
  background-image: none !important;
}

/* Rendi trasparenti anche le colonne/container interni che possono ereditare un colore */
#zak-footer .zak-footer-col,
#zak-footer .zak-top-row,
#zak-footer .zak-main-row,
#zak-footer .zak-bottom-row,
#zak-footer .zak-html-1,
#zak-footer .zak-html-2 {
  background: transparent !important;
}

/* Assicurati che l'immagine sia applicata al wrapper principale */
#zak-footer {
  position: relative;
  z-index: 0;
  background-image: url('https://realise-dn.eu/wp-content/uploads/2025/11/bk1-scaled.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* Desktop */
  min-height: 320px; /* così vedi l’immagine anche su pagine corte */
}

/* Overlay scuro opzionale (sotto ai contenuti) */
#zak-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;             /* sotto ai contenuti del footer */
  background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.35));
}

/* Mobile: niente 'fixed' */
@media (max-width: 1024px) {
  #zak-footer { background-attachment: scroll; }
}

/* Rispetta “riduci animazioni” */
@media (prefers-reduced-motion: reduce) {
  #zak-footer { background-attachment: scroll !important; }
}
