/* =======================================================
*
* 	Template Style 
*	
* ======================================================= */

/* ============================

        Main Body Style

==============================*/

/*--- General styles ---*/
body {
  font-family: "Source Sans Pro", sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.5;
  color: #666666;
  background: white;
  height: 100%;
  position: relative;
}
/*------*/

/*--- Link color and hovering color ---*/
a {
  color: #234297;
}

a:hover, a:active, a:focus {
  color: #234297;
  outline: none;
  text-decoration: none;
}
/*------*/

/*--- Paragraphes margin ---*/
p {
  margin-bottom: 20px
}
/*------*/

/*---Titles style, color, font and font weight---*/
h1, h2, h3, h4, h5, h6, figure {
  color: black;
  font-family: "Source Sans Pro", sans-serif;
  font-weight: 400;
}


/*------*/

/*---Selection background and text color---*/
::-webkit-selection {
  color: black;
  background: #dcdcc6 ;
}

::-moz-selection {
  color: black;
  background: #dcdcc6;
}

::selection {
  color: black;
  background: #dcdcc6 ;
}
/*------*/

/*============================

            Loader

==============================*/
.loader {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background: url('../images/loaderHome.gif') 50% 50% no-repeat rgb(249,249,249);
}

/*============================

        Buttons Styles

==============================*/

.btn {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 16px;
  font-weight: 800;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  border-radius: 30px;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  outline: 0 5px 15px rgba(0,0,0,0.3);
  border-radius: 100px;
  background-color: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
  transition: all 0.3s ease-in-out;
    margin-bottom: 10px
        
}
.btn.btn-md {
  padding: 20px 20px !important;
}
.btn.btn-lg {
  padding: 18px 36px !important;
}
.btn:hover, .btn:active, .btn:focus {
  box-shadow: 0 2px 2px rgba(0,0,0,0.3);
  outline: none !important;
}

.btn-primary {
  background: #234297;
  color: #fff;
  border: 2px solid #234297;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background: #234297 !important;
  border-color: #234297 !important;
}

/* ===========================

Navigation Bar and Header Style

==============================*/


#navbar {
  width: 100%;
  padding-top: 10px;
  margin-bottom: 40px;
  z-index:1;
  position:relative;
}

[data-include="header.html"] {
  display: block;
}

.header-include-frame {
  display: block;
  width: 100%;
  height: 135px;
  border: 0;
  overflow: visible;
}

.header-include-error {
  margin: 20px auto 40px;
  max-width: 1170px;
  padding: 12px 20px;
  color: #8c1515;
}

#navbar .navbar-items {
  height: 80px;
  padding-left: 20px;
  padding-right: 20px;
  float: left;
  width: 100%;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  -ms-border-radius: 7px;
  border-radius: 7px;
}

/* Logo*/
#navbar img {
  float: left;
  padding-top: 10px;
  padding-right:20px;
  height:70px;
}

#navbar h1 {
  float: left;
  padding: 0;
  font-weight: 600;
  line-height: 1.5;
  font-size: 30px;
}

#navbar h1 a {
  position: relative;
  color: black;
}

#navbar h1, #navbar nav {
  margin: 30px 0 0 0;
}

#navbar nav {
  float: right;
  margin-right: 20px;
  padding: 0;
}

@media screen and (max-width: 1200px) {
  #navbar nav {
    display: none;
  }
  /* Additionally: hard-disable dropdown menus at this breakpoint */
  #navbar nav ul li.dropdown > .dropdown-menu {
    display: none !important;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }

  /* Defensive: override any hover rules that would re-show it */
  #navbar nav ul li.dropdown:hover > .dropdown-menu,
  #navbar nav ul li.dropdown > .dropdown-menu:hover {
    display: none !important;
  }
    
}


#navbar nav ul {
  padding: 0px;
  margin: 0;
  line-height: 1.5;
}

#navbar nav ul li {
  padding-right: 10px;
  margin: 0;
  list-style: none;
  display: -moz-inline-stack;
  display: inline-block;
  zoom: 1;
  *display: inline;
}

#navbar nav ul li a {
  color: black;
  font-size: 25px;
  font-weight: 350;
  padding: 10px;
  position: relative;
  -webkit-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
}

#navbar nav ul li a:after {
  content: "";
  position: absolute;
  height: 2px;
  bottom: 7px;
  left: 10px;
  right: 10px;
  background-color: black;
  visibility: hidden;
  -webkit-transform: scaleX(0);
  -moz-transform: scaleX(0);
  -ms-transform: scaleX(0);
  -o-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  -moz-transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  -ms-transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  -o-transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}


#navbar nav ul li a:hover:after {
  visibility: visible;
  -webkit-transform: scaleX(1);
  -moz-transform: scaleX(1);
  -ms-transform: scaleX(1);
  -o-transform: scaleX(1);
  transform: scaleX(1);
}

#navbar nav ul li a:active, #navbar nav ul li a:focus {
  outline: none;
  text-decoration: none;
}

#navbar nav ul li.active > a {
  text-decoration: none;
  color: rgba(0, 0, 0, 0.8);
}

#navbar nav ul li.dropdown {
  position: relative;
    top:100%;
}


#navbar nav ul li.dropdown > .dropdown-menu {
  top: 100%;
  margin-top: 000%;          /* remove hover gap */
}

#navbar nav ul li.dropdown:hover > .dropdown-menu,
#navbar nav ul li.dropdown > .dropdown-menu:hover {
  display: block;
}



/* ===========================
 
Main Page and Side NavBar Style

==============================*/

#fh5co-page {
  position: relative;
  z-index: 2;
  background: #fff;
 -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

#fh5co-offcanvas, .fh5co-nav-toggle, #fh5co-page {
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

#fh5co-offcanvas, .fh5co-nav-toggle, #fh5co-page {
  position: relative;
}

.offcanvas-visible #fh5co-page {
  -moz-transform: translateX(-275px);
  -webkit-transform: translateX(-275px);
  -ms-transform: translateX(-275px);
  -o-transform: translateX(-275px);
  transform: translateX(-275px);
}

#fh5co-offcanvas {
  display: none;
  height: 100%;
  right: 0;
  overflow-y: auto;
  position: fixed;
  z-index: 2;
  top: 0;
  width: 375px;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-left: 1px solid rgba(35, 66, 151, 0.2);
  padding: 30px;
}
@media screen and (max-width: 1200px) {
  #fh5co-offcanvas {
    display: block;
  }
}
#fh5co-offcanvas ul {
  padding: 0;
  margin: 0;
}
#fh5co-offcanvas ul li {
  padding: 0;
  margin: 0 0 10px 0;
  list-style: none;
}
#fh5co-offcanvas ul li a {
  font-size: 20px;
  font-weight: 0;
  color: rgba(0, 0, 0, 0.9);
  text-decoration: none !important;
}
#fh5co-offcanvas ul li a:hover {
  color: #234297;
}
#fh5co-offcanvas ul li.active > a {
  color: #234297;
}
#fh5co-offcanvas ul li.cta {
  margin-left: 0;
  margin-top: 20px;
  display: block;
  float: left;
}
#fh5co-offcanvas ul li.cta a {
  padding-left: 16px !important;
  padding-right: 16px !important;
  padding-top: 7px !important;
  padding-bottom: 7px !important;
  border: 2px solid rgba(255, 255, 255, 0.7);
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  border-radius: 30px;
}
#fh5co-offcanvas ul li.cta a:hover {
  background: #fff;
  text-decoration: none;
}
#fh5co-offcanvas ul li.cta a:hover:after {
  display: none;
}

#fh5co-offcanvas .dropdown-menu {
  background-color: transparent;
  border: 0;
  box-shadow: none;
}

.fh5co-nav-toggle {
  cursor: pointer;
  text-decoration: none;
}
.fh5co-nav-toggle.active i::before, .fh5co-nav-toggle.active i::after {
  background: #234297;
}
.fh5co-nav-toggle.dark.active i::before, .fh5co-nav-toggle.dark.active i::after {
  background: #234297;
}
.fh5co-nav-toggle:hover, .fh5co-nav-toggle:focus, .fh5co-nav-toggle:active {
  outline: none;
  border-bottom: none !important;
}
.fh5co-nav-toggle i {
  position: relative;
  display: -moz-inline-stack;
  display: inline-block;
  zoom: 1;
  *display: inline;
  width: 30px;
  height: 3px;
  color: #fff;
  font: bold 14px/.4 Helvetica;
  text-transform: uppercase;
  text-indent: -55px;
  background: black;
  transition: all .2s ease-out;
}
.fh5co-nav-toggle i::before, .fh5co-nav-toggle i::after {
  content: '';
  width: 30px;
  height: 3px;
  background: black;
  position: absolute;
  left: 0;
  -webkit-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
}
.fh5co-nav-toggle.dark i {
  position: relative;
  color: white;
  background: white;
  transition: all .2s ease-out;
}
.fh5co-nav-toggle.dark i::before, .fh5co-nav-toggle.dark i::after {
  background: white;
  -webkit-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
}

.fh5co-nav-toggle i::before {
  top: -8px;
}

.fh5co-nav-toggle i::after {
  bottom: -8px;
}

.fh5co-nav-toggle:hover i::before {
  top: -10.5px;
}

.fh5co-nav-toggle:hover i::after {
  bottom: -10.5px;
}

.fh5co-nav-toggle.active i {
  background: transparent;
}

.fh5co-nav-toggle.active i::before {
  top: 0;
  -webkit-transform: rotateZ(45deg);
  -moz-transform: rotateZ(45deg);
  -ms-transform: rotateZ(45deg);
  -o-transform: rotateZ(45deg);
  transform: rotateZ(45deg);
}

.fh5co-nav-toggle.active i::after {
  bottom: 0;
  -webkit-transform: rotateZ(-45deg);
  -moz-transform: rotateZ(-45deg);
  -ms-transform: rotateZ(-45deg);
  -o-transform: rotateZ(-45deg);
  transform: rotateZ(-45deg);
}

.fh5co-nav-toggle {
  position: absolute;
  top: 40px;
  right: 30px;
  z-index: 9999;
  display: block;
  margin: 0 auto;
  display: none;
  cursor: pointer;
}
@media screen and (max-width: 1200px) {
  .fh5co-nav-toggle {
    display: block;
    top: 20px;
  }
}

@media screen and (max-width: 768px) {
  #fh5co-pricing-section {
    padding: 3em 0;
  }
}

.js .animate-box {
  opacity: 0;
}

/* ===========================

Sections - ABOUT PAGE

==============================*/

.section
{
  padding-top: 2em;
  padding-bottom: 4em;
}

@media screen and (max-width: 768px) {
  .section{
    padding: 2em 0;
  }
}

/* Creates the strikethrough
.section h2 {
   width: 100%; 
   text-align: center; 
   border-bottom: 2px solid #000; 
   line-height: 0.1em;
} */

/* Adds the white background infront of the strikethrough
.section h2 span { 
    background-color: white; 
    padding:20px 20px; 
} */

.section img {
    width: 100%;
    display:block;
    margin:auto;
}

.section p{
    text-align: justify;
}

.section h5{
    text-align: justify;
    display:block;
    font-size: 20px;
}

.section h1{
    border-bottom: 1px solid #000; 
    line-height: 0.1em;
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 60px;
    margin-top: -10px;
    text-align: center;
}

.section h1 span { 
    background-color: white; 
    padding:20px 20px; 
}

.section .home-picture {
    width: 100%;
    height: auto;
    -webkit-box-shadow: 0px 1px 30px 1px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 1px 30px 1px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 1px 30px 1px rgba(0, 0, 0, 0.3);
}


.section .item-grid {
  padding-bottom: 10px;
  display: block;
  width: 90%;
  margin: auto;
  position: relative;
  background: white;
  margin-bottom: 20px;
  text-align: center;
}

.section .item-grid h3{
  font-weight: 500;
}
.section .item-grid .image {
  height: 300px;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  -webkit-box-shadow: 0px 1px 30px 1px rgba(0, 0, 0, 0.11);
  -moz-box-shadow: 0px 1px 30px 1px rgba(0, 0, 0, 0.11);
  box-shadow: 0px 1px 30px 1px rgba(0, 0, 0, 0.11);
}



.section .item-grid:hover, .section .item-grid:focus {
  text-decoration: none;
  -webkit-box-shadow: 0px 1px 30px 1px rgba(0, 0, 0, 0.11);
  -moz-box-shadow: 0px 1px 30px 1px rgba(0, 0, 0, 0.11);
  box-shadow: 0px 1px 30px 1px rgba(0, 0, 0, 0.11);
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  position: relative;top: -5px;
  transition: 0.3s;
}


@media screen and (max-width: 1200px) {
    .section h3,h2,h1{
         text-align:center;
    }
    .section img{
        margin-bottom: 1em;
    }
    .section .center{
        text-align: center;
    }
    .section .center p{
        text-align: center;
    }
    .section .home-picture {
    width: 100%;
    }
}


/* ===========================

       Project Listings

==============================*/

.project {
	border-bottom:1px dotted #00127C;
	padding-bottom: 10px;
    margin-top: -10px;
}

.project a {
	color:#000000;
}

.project h2 {
    text-align: left;
    font-size:25px;
    margin-top: -1px;
    margin-bottom: 15px;
    padding: 0;
    font-weight: 500;
    border-bottom:none;
    
}

.project h3 {
	font-size:15px;
	color:#828282;
	font-style:italic;
	font-weight:normal;
    margin: 0 0 20px 0;
    padding: 0;
}

.project h4 {
	font-size:10px;
	color:#828282;
	font-style:italic;
	font-weight:normal;
    margin: 0 0 20px 0;
    padding: 0;
}

.project img:hover {
	transform: scale(1.02, 1.02);
}

.project a:hover {
	color:#A83434;
}

@media screen and (max-width: 1200px) {
    .project img {
	   width:50%;
    }
    
    .project h2{
        text-align: center;
    }
}

/* ===========================

        Single Page Description

==============================*/
.page{
    border-top:1px dotted #00127C;
	padding-top: 20px;
}

.page a {
	color:#000000;
}

.page h2 {
    text-align: left;
    font-size:25px;
    margin-top: -1px;
    margin-bottom: 15px;
    padding: 0;
    font-weight: 500;
    border-bottom:none;
    
}

.page h3 {
	font-size:15px;
	color:#828282;
	font-style:italic;
	font-weight:normal;
    margin: 0 0 20px 0;
    padding: 0;
}

.page a:hover {
	color:#A83434;
}

@media screen and (max-width: 1200px) {
    .page img {
	   width:50%;
    }
    
    .page h2{
        text-align: center;
    }
}

/* ===========================

            Publications

==============================*/

.publications{
    color:dimgrey;
    font-size: 18px;
    text-align: justify;
}

.publications .item{
    max-width:300px;
    margin: auto;
}

/* ===========================

        About Box

==============================*/

.about{
    text-align: justify;
}

@media screen and (max-width: 1200px) {
    .about img{
        width: 100%;
        margin: auto;
    }
}
/* ===========================

        Contact Box

==============================*/

.contact{
    background-color: transparent;
    padding-left: 10px;
    color:dimgrey;
    text-align: justify;
}

.contact h3{
    padding-top: 10px;
    font-weight: 500;
    font-size: 20px;
}

.contact p{
    font-size: 16px;
    padding-left: 10px;
}

@media screen and (max-width: 1200px) {
    .contact p{
        text-align: center;
        padding-left: 0;
    }
    
    .contact{
        width: 50%;
        margin: auto;
        padding-left: 0;
    }

}
/* ===========================
 
      Overlay on pictures

==============================*/
.item {
  position: relative;
}
.item .pop-up-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.9);
  opacity: 0;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

.item .pop-up-overlay .desc {
  position: absolute;
  top: 40%;
  left: 0;
  bottom: 0;
  right: 0;
  margin-top: -60px;
  padding: 30px;
}
/* Owl carousel overlay text: align to top */
.owl-carousel .item .pop-up-overlay .desc {
  top: -5%;
  margin-top: 0;
  padding-top: 17%;
  padding-bottom: 0px;
}


.item .pop-up-overlay .desc h3 {
  color: rgba(0, 0, 0, 0.9);
  margin-bottom: 10px;
}
.item .pop-up-overlay .desc span {
  display: block;
  color: rgba(0, 0, 0, 0.8);
}
.item .pop-up-overlay:hover, .item .pop-up-overlay:focus {
  text-decoration: none;
}
.item:hover .pop-up-overlay, .item:focus .pop-up-overlay {
  opacity: 1;
}


/* ===========================
 
Footer Style

==============================*/
.footer {
  position: absolute;
  float: left;
  width: 100%;
/*  margin-top: -30px;*/
  background-color: white;
}

.footer a{
    color: #7f7f7f;
}
/* --- MOBILE SIDE DRAWER FIXES --- */

/* 1) Make the TOP navbar be on top when you want it (optional) */
#navbar { z-index: 1030; }

/* 2) Ensure the OFF-CANVAS drawer overlays the page */
#fh5co-offcanvas { z-index: 1050; }   /* was 2 */

/* 3) Hide the drawer off-screen until toggled */
@media (max-width: 1200px) {
  /* The drawer is allowed to exist (display:block in your CSS), but we park it off-canvas */
  #fh5co-offcanvas {
    transform: translateX(100%);      /* push fully to the right */
    transition: transform .3s ease;   /* smooth slide in/out */
  }

  /* When toggled (you add .offcanvas-visible on <html> or <body>), slide it in */
  .offcanvas-visible #fh5co-offcanvas {
    transform: translateX(0);
  }

  /* OPTIONAL: do NOT shift the page left anymore; keep it stationary so content doesn’t cover the menu */
  .offcanvas-visible #fh5co-page {
    transform: none !important;
  }
}

/* 4) Tighten top spacing (unchanged from your snippet if you like it) */
body { padding-top: 20px; }  /* adjust to your header height */

/* 5) Keep first section tight */
.section:first-of-type { margin-top: 0; }

/* 6) If you previously used <object>, kill any inherited spacing */
#navbar-placeholder, object[data="navbar.html"] {
  display: block;
  height: auto !important;
}


/* --- Mobile off-canvas visibility fix --- */

/* Keep the header above normal content (optional) */
#navbar { z-index: 1030; }

/* Put the off-canvas ABOVE the page layer so items are visible */
#fh5co-offcanvas { z-index: 1050; } /* was 2 */

/* Keep the drawer parked off-screen until toggled */
@media (max-width: 1200px) {
  #fh5co-offcanvas {
    transform: translateX(100%);        /* hide to the right */
    transition: transform .3s ease;
  }
  /* When toggled (.offcanvas-visible on <html> or <body>), slide it in */
  .offcanvas-visible #fh5co-offcanvas {
    transform: translateX(0);
  }

  /* Optional: keep content stationary; don’t shift it under the drawer */
  .offcanvas-visible #fh5co-page {
    transform: none !important;
  }
}

/* If you don’t need top spacing on mobile (since the top nav is hidden) */
@media (max-width: 1200px) {
  body { padding-top: 0; }
}

.section h1.responsive-title{
  position: relative;
  border-bottom: none;
  line-height: 1.25;
  font-size: 30px;
  font-weight: 600;
  margin: -10px 0 60px 0;
  text-align: center;
}

.section h1.responsive-title::before{
  content: "";
  position: absolute;
  width: 100%;
  left: 50%;
  top: 55%;
  transform: translate(-50%, -50%);
  border-top: 1px solid #000;
  z-index: 0;
}

.section h1.responsive-title .title-text{
  display: inline;
  position: relative;
  z-index: 1;
  background: #fff;
  padding: 0 20px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.section h1.responsive-title .break{ display: inline; }
@media (max-width: 768px){
  .section h1.responsive-title .break{ display: block; }
}


.content-narrow {
  max-width: 800px;   /* try 800–1000px */
  margin: 0 auto;     /* center */
}

/* Centered, full-width contact block */
.section .row.about .contact{
  width: 100%;
  margin: 0 auto;
  padding-left: 0;      /* override the current left padding */
  padding-right: 0;
  text-align: center;   /* override justify */
}

.section .row.about .contact p{
  padding-left: 0;      /* override the current p padding */
  margin-left: 0;
  margin-right: 0;
  text-align: center;   /* ensure paragraphs center too */
}

.section .row.about .contact h3{
  text-align: center;
}


.section .row.about .contact p{
  max-width: 700px;
  margin: 0 auto 12px auto;
}

/* Center the entire contact section on the page */
.section .row.about {
  display: flex;
  justify-content: center;   /* horizontal centering */
}

/* Ensure the column itself is centered */
.section .row.about .col-md-12 {
  display: flex;
  justify-content: center;
}

/* Center the contact box and its contents */
.section .row.about .contact {
/*  width: 00px;*/
  max-width: 980px;          /* controls visual width */
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
  text-align: center;
}

/* Ensure text is centered consistently */
.section .row.about .contact h3,
.section .row.about .contact p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (min-width: 1201px) {
  .section .row.about {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
  }

  .section .row.about .row {
    width: 100%;
    max-width: 980px;
    margin-left: 0;
    margin-right: 0;
  }
}


/* ===========================
   Mobile typography scaling
=========================== */

@media screen and (max-width: 1000px) {
html, body { font-size: 20px !important; line-height: 1.5 !important; }

  h1 { font-size: 40px !important; }
  h2 { font-size: 30px !important; }
  h3 { font-size: 30px !important; }
  h4 { font-size: 30px !important; }
  span {font-size: 30px !important; }
  h5 { font-size: 32px !important; }
  h6 { font-size: 25px !important; }
  li { font-size: 20px !important; }
    footer { font-size : 22px !important;}
    navbar { font-size: 30px !important; }

  /* If you use your research tiles */
  .research-tile h3 { font-size: 25px !important; line-height: 1.3 !important; }
  .research-tile p,
  .research-tile .tile-meta { font-size: 20px !important; line-height: 1.4 !important; }
/* Off-canvas menu links */
  #fh5co-offcanvas ul li a {
    font-size: 32px !important;     /* visual size */
    line-height: 1.4 !important;    /* vertical spacing between lines */
    padding: 12px 0 !important;     /* clickable height */
    display: block;                 /* ensures padding applies correctly */
  }

  /* Space between menu items */
  #fh5co-offcanvas ul li {
    margin-bottom: 10px;
  }

  /* Optional: make the menu feel less cramped */
  #fh5co-offcanvas {
    padding-top: 40px;
  }

}



@media screen and (max-width: 1200px) {

  /* Keep sidebar submenus in the document flow so they push later links down. */
  #fh5co-offcanvas li.dropdown > .dropdown-menu {
    position: static;
    float: none;
    width: 100%;
    min-width: 0;
    margin: 2px 0 10px;
    padding: 0 0 0 18px;
  }

  #fh5co-offcanvas li.dropdown:hover > .dropdown-menu,
  #fh5co-offcanvas li.dropdown:focus-within > .dropdown-menu {
    display: block;
  }

  #fh5co-offcanvas li.dropdown > .dropdown-menu li {
    padding: 0;
    margin-bottom: 2px;
  }

  #fh5co-offcanvas li.dropdown > .dropdown-menu a {
    white-space: normal;
    overflow-wrap: anywhere;
  }
.owl-carousel .item .pop-up-overlay .desc {
  top: -5%;
  margin-top: 0;
  padding-top: 22%;
  padding-bottom: 0px;
}    
    .publications{
        text-align:none;
    }
}

@media screen and (max-width: 1000px) {
  #fh5co-offcanvas li.dropdown > .dropdown-menu a {
    font-size: 24px !important;
    line-height: 1.35 !important;
    padding: 7px 0 !important;
  }
}


/* Ensure image always fills its column */
.profile-photo {
    width: 100%;
    height: auto;
}

/* Mobile: make the photo visually dominant */
@media (max-width: 768px) {
    .about .col-md-3 {
        text-align: center;
        margin-bottom: 20px;
    }

    .profile-photo {
        max-width: 580px;   /* adjust to taste */
        margin: 0 auto;
    }
}

/* ===========================
   People page cards
=========================== */

.people-group-header {
  margin: 8px auto 70px;
  max-width: 1080px;
  text-align: center;
}

.section .people-group-photo {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0px 1px 30px 1px rgba(0, 0, 0, 0.18);
}

.people-group-header figcaption {
  margin-top: 14px;
  color: #555555;
  font-size: 16px;
  line-height: 1.45;
  text-align: center;
}

.people-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 8px;
}

.people-list-item {
  margin-bottom: 14px;
}

.people-card {
  display: grid;
  grid-template-columns: 144px minmax(0, 1fr);
  position: relative;
  align-items: start;
  column-gap: 18px;
  padding: 10px 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: none;
  text-align: left;
  width: 100%;
}

.people-card:hover,
.people-card:focus-within {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

.people-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 8px;
}

.people-card-link:focus {
  outline: 2px solid #234297;
  outline-offset: 3px;
}

.people-headshot {
  width: 144px !important;
  min-width: 144px;
  max-width: 144px;
  height: 144px !important;
  aspect-ratio: 1 / 1;
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0;
  box-shadow: none;
  background: #e7ebf5;
}

.section img.people-headshot {
  margin: 0;
}

.people-headshot--placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #234297;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #e7ebf5;
}

.people-card-text {
  display: flex;
  flex-direction: column;
  grid-column: 2;
  grid-row: 1;
  gap: 3px;
  min-width: 0;
  justify-content: start;
  align-self: start;
  padding-top: 2px;
  text-align: left;
}

.people-card-name {
  color: #111827;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
}

.people-card-meta {
  display: block;
  line-height: 1.35;
}

.people-card-meta {
  color: #234297;
  font-size: 15px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  margin: 0;
}

.people-card-degrees {
  color: #4b5563;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.25;
  list-style: disc;
  margin: 5px 0 0;
  padding-left: 17px;
}

.people-card-degrees li {
  margin: 0 0 2px;
  padding: 0;
}

.people-card-degrees li:last-child {
  margin-bottom: 0;
}

.people-degree-institution {
  position: relative;
  z-index: 2;
  color: #234297;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 1px;
}

.people-degree-institution:hover,
.people-degree-institution:focus {
  text-decoration-thickness: 2px;
}

.people-list--alumni {
  list-style: disc;
  padding-left: 24px;
  margin-top: 12px;
}

.people-list--alumni .people-list-item,
.people-list--alumni li {
  margin-bottom: 8px;
}

.people-list--alumni li {
  color: #333333;
  font-size: 18px;
  line-height: 1.5;
}

@media screen and (max-width: 1000px) {
  .people-card {
    grid-template-columns: 128px minmax(0, 1fr);
    column-gap: 16px;
    padding: 10px 0;
  }

  .people-headshot {
    width: 128px !important;
    min-width: 128px;
    max-width: 128px;
    height: 128px !important;
  }

  .people-card-name {
    font-size: 23px;
  }

  .people-list--alumni li {
    font-size: 20px;
  }
}

@media screen and (max-width: 640px) {
  .people-group-header {
    margin: 0 auto 48px;
  }

  .people-group-header figcaption {
    font-size: 14px;
    line-height: 1.35;
  }

  .people-card {
    grid-template-columns: 108px minmax(0, 1fr);
    column-gap: 12px;
    padding: 6px 0;
  }

  .people-headshot {
    width: 108px !important;
    min-width: 108px;
    max-width: 108px;
    height: 108px !important;
    border-radius: 8px;
  }

  .people-card-name {
    font-size: 16px;
    line-height: 1.1;
  }

  .people-card-meta {
    font-size: 12px;
    line-height: 1.2;
  }

  .people-card-degrees {
    font-size: 10px;
    line-height: 1.2;
    margin-top: 4px;
    padding-left: 14px;
  }

  .people-card-degrees li {
    margin-bottom: 1px;
  }

  .people-list--alumni {
    padding-left: 20px;
  }

  .people-list--alumni li {
    font-size: 14px;
    line-height: 1.35;
  }
}
