/*
Theme Name: Kadence Child
Theme URI: https://yourwebsite.com
Description: Child theme for Kadence
Author: Your Name
Author URI: https://yourwebsite.com
Template: kadence
Version: 1.0.0
*/

/* =Theme customization starts here
------------------------------------------------------- */

/*** Responsive Styles Large Desktop And Above ***/
@media all and (min-width: 1405px) {
}
/*** Responsive Styles Standard Desktop Only ***/
@media all and (min-width: 1100px) and (max-width: 1405px) {
}
/*** Responsive Styles Tablet And Below ***/
@media all and (max-width: 980px) {
}
/*** Responsive Styles Tablet Only ***/
@media all and (min-width: 768px) and (max-width: 980px) {
}
/*** Responsive Styles Smartphone Only ***/
@media all and (max-width: 767px) {
}
/*** Responsive Styles Smartphone Portrait ***/
@media all and (max-width: 479px) {
}

/* ------------- 1. general styles ------------- */

.entry.single-entry {
    box-shadow: none!important;
}
h1, h2, h3, h4, h5, h6 {overflow-wrap: normal;}

sup {
    position: relative;
    top: -0.5em;
    font-size: 12px;
    margin-right: 2px;
}
b, strong {
    font-weight: 500!important;
}

.header-navigation .header-menu-container ul ul.submenu {
    border-radius: 5px;
}


/* ------------- Sidebar ------------- */

@media all and (min-width: 1025px) {
    .has-left-sidebar .content-container {
        grid-template-columns: 2fr 6fr!important;
    }
    .has-sidebar .content-container {
        grid-template-columns: 2fr 6fr!important;
        grid-gap: var(--global-xs-spacing)!important;
        justify-content: center;
    }
}
/* Sidebar Menu Active/Current Item */
.sidebar .menu .current-menu-item > a,
.sidebar .menu .current_page_item > a {
  background-color: #e6f7f7;  /* your highlight color */
  color: #004c4c;             /* text color for contrast */
  font-weight: 600;
  border-radius: 4px;         /* optional: soften corners */
  padding: 6px 10px;          /* make it look intentional */
}

/* Optional: highlight parent items too */
.sidebar .menu .current-menu-ancestor > a,
.sidebar .menu .current-menu-parent > a {
  background-color: #f0f4ff;
  color: #002c5c;
}
.kb-navigation .current-menu-item > a {
  background: #f5faff;
  color: #2b5cb8;
  font-weight: 600;
}

/* ------------- a. Gravity contact form ------------- */

.gform_wrapper ul.gform_fields li {
    list-style: none;
}
.gform_wrapper ul.gform_fields {
    padding-left: 0 !important;
}
.gform_wrapper .hidden_label label {
    display: none;
}
.gform_wrapper input[type=text],
.gform_wrapper input[type=email],
.gform_wrapper input[type=tel],
.gform_wrapper textarea,
.gform_wrapper select {
    border-radius: 0px !important;
    background-color: #fff;
    color: inherit;
    font-family: sans-serif;
    border: 0;
    padding: 10px !important;
    border: 1px solid #eeeeee;
}
.gform_wrapper.gravity-theme .gfield_label {
    display: inline-block;
    font-size: 17px;
    font-weight: normal;
    margin-bottom: 3px;
    padding: 0;
}
.gform_wrapper input[type=email]:focus {
    border: 1px solid #eeeeee;
}
.gform_wrapper input[type=text]::placeholder,
.gform_wrapper input[type=email]::placeholder,
.gform_wrapper input[type=tel]::placeholder,
.gform_wrapper textarea::placeholder,
.gform_wrapper select::placeholder {
    color: inherit;
    font-family: inherit;
}
.gform_wrapper .gform_footer {
    text-align: right;
}
.gform_wrapper input[type=submit] {
	border: 0;
    background-color: #333333;
    color: #ffffff;
    font-family: inherit;
    text-transform: uppercase;
    font-weight: inherit;
    font-size: inherit;
    transition-duration: .3s;
    border-radius: 0px;
    padding: 8px 28px;
    cursor:pointer;
}
.gform_wrapper input[type=submit]:hover {
    transition-duration: .3s;
    opacity:0.9;
}
.gform_legacy_markup_wrapper .gform_footer {
    margin: 0px 0 0;
}
.kb-form .kadence-blocks-form-field.kb-field-desk-width-25 {
    width: 100%;
}
/* Resources */
 .kb-dynamic-list-item {
    padding: 3px 6px!important;
}
.resource-media {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}
.resource-media iframe,
.resource-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.video-thumbnail {
    position: relative;
    cursor: pointer;
}
.video-thumbnail .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: url('https://isappscience.gotbdev.com/wp-content/uploads/2025/04/play.png') no-repeat center center;
    background-size: contain;
}
/* Hover Effects */
.video-thumbnail:hover img {
    transform: scale(1.01);
}
.video-thumbnail:hover .play-button {
    transform: translate(-50%, -50%) scale(1.03);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.6));
}
.limited-title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
      min-height: 5.1em;
    line-height: 1.5;
    margin-bottom: 0.6rem;
}
.limited-title-blog {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 5.1em;
    line-height: 1.5;
    margin-bottom: 0.6rem;
    margin-top:1rem;
}
.limited-text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 3.5em; /* This holds space for about 3 lines */
  line-height: 1.5; /* Adjust line height to match your design */
  margin-bottom: 0.5rem; /* Adds space between title and excerpt */
}
.wp-block-kadence-query-filter-search .kb-filter-search-wrap .kb-filter-search-btn {
    color: #1d1d1d;
    display: flex;
    font-size: 19px;
}
.underline-btn {
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 4px;
}
h3.kt-blocks-info-box-title a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.entry-content a {
    text-underline-offset: 3px;
	text-decoration-thickness: 1.4px;
}
.kt-blocks-info-box-learnmore {
    text-decoration: underline;
}
.entry-author {
    margin: var(--global-xl-spacing) auto;
    border-top: 1px solid #e6e8eb;
    border-bottom: 1px solid #e6e8eb;
    padding: 24px 0px 10px;
}
.entry-meta {
    margin: 1.5em 0 2em;
}
b, strong {
    font-weight: 500;
}
.content-title-style-above .page-hero-section .entry-hero-container-inner {
  position: relative;
  z-index: 0;
  overflow: hidden;
}
.content-title-style-above .page-hero-section .entry-hero-container-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.0)); 
}
.entry-hero-container-inner {
  position: relative;
  z-index: 0; /* base layer */
}
.kb-adv-text-inner::first-letter {
    display: none;
}
/*.hero-section-overlay {
  position: absolute;
  inset: 0;
      background: linear-gradient(#373c3da6, #12191d00);
  z-index: 1;
  pointer-events: none;
}*/
.hero-container {
  position: relative;
  z-index: 2; /* bring content above overlay */
}
.kt-blocks-info-box-link-wrap.kt-blocks-info-box-media-align-top.kt-info-halign-left {
    min-height: 280px;
}
/* For min-width 1260px */
@media (min-width: 1260px) {
    .main-navigation .primary-menu-container > ul li.menu-item > a {
        font-size: 16px;
    }
.search-toggle-open-container .search-toggle-open {
    font-size: 16px;
}
#main-header .header-button {
    font-size: 16px;
	}
}
/* For min-width 1400px */
@media (min-width: 1400px) {
    .main-navigation .primary-menu-container > ul li.menu-item > a {
        font-size: 17px;
    }
.search-toggle-open-container .search-toggle-open {
    font-size: 17px;
}
#main-header .header-button {
    font-size: 17px;
	}
}
.transparent-header .site-main-header-wrap .site-header-row-container-inner {
border-bottom: 1px solid #f0f2f55e;
}
legend.kb-query-label {
    font-weight: 500!important;
    margin-bottom: .3em;
    font-size: 16px;
}
.wp-site-blocks .post-thumbnail {
    margin-top:40px;
      margin-bottom:50px;
}
.post-title .entry-meta {
    margin: 1em 0 1.5em;
}
.widget_nav_menu a { 
        color: var(--global-palette2)!important;
        font-size:17px!important;
        text-decoration:underline;
}
.widget_nav_menu a:hover { 
        text-decoration:underline!important;
}

.entry-meta-divider-customicon.entry-meta>*>.kadence-svg-iconset, time.entry-date.published, .entry-meta .meta-label {
    color: var(--global-palette6);
}
a.url.fn.n:hover {
    text-decoration: underline;
    color: var(--global-palette2);
}
.entry-author-name {
    font-size: 110%;
}
.entry-author-description.author-bio {
    margin-top: -10px;
    font-size: 17px;
    color: var(--global-palette5);
}
.entry-taxonomies .category-style-pill a {
    padding: 0.25rem 0.35rem;
}
.resource-title .entry-taxonomies .category-style-pill a {
    background: #7ec18f54!important;
    color: #6f9b70;
}
.entry-taxonomies .category-style-pill a:hover {
    color: #6f9b70!important;
}
.wp-block-social-links .wp-social-link svg {
    height: 1.15em;
    width: 1.15em;
}
.language-pdf-buttons {
    margin-top: 1em;
}
.language-pdf-buttons p {
    line-height:1.4em;
    color: var(--global-palette-btn-bg);
}
.language-pdf-row a {
    display: inline-block;
    width: auto;
}
.language-pdf-buttons a.kb-button.kt-button.button {
    background: #fff;
    color: var(--global-palette-btn-bg);
    border: 1px solid var(--global-palette-btn-bg);
    padding: .4em 0.6em;
    cursor: pointer;
    font-size: 1.0rem;
    font-weight: 500;
    border-radius: 5px;
}
.language-pdf-buttons a.kb-button.kt-button.button:hover {
    background: var(--global-palette2);
    color: #ffffff;
    border: 1px solid var(--global-palette-btn-bg);
    padding: .4em 0.6em;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 5px;
}
.wp-block-kadence-advancedbtn .kb-button.kt-btn-size-small {
    font-size: 1rem;
}
.kb-button.kt-btn-size-small {
    font-size: 1rem!important;
}
fieldset.kadence-filter-wrap {
    color: #383838;
}
.media-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.media-card {
  background: #fff;
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid #e3e3e3;
  transition: box-shadow 0.3s ease;
}
.media-card:hover {
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.media-card-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.media-card-title {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.media-card-readmore {
  color: #2b6cb0;
  text-decoration: underline;
  font-size: 0.9rem;
}
audio {
    width: 100%;
    background-color: #ffffff;
    border-radius: 100px;
    padding: 6px;
    display: block;
}
.page-title .kadence-breadcrumbs {
    font-style: normal;
    font-size: 16px;
    color: #f2f3f4;
}

.wp-block-kadence-query-filter-search .kb-filter-search-wrap .kb-filter-search-btn {
    color: #383838;
    font-size: 16px;
}
.k-breadcrumbs {
color:#fff!important;
}

/* -------- Manual Related Content for Posts and Resources ------- */
/* Container Grid */
    .related-content-grid {
    	margin-top: 2rem;
    	display: grid;
    	gap: 2rem;
    	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));

    }
.kt-inside-inner-col  {
  align-self: stretch !important;
   align-items: stretch !important;
  width: 100%;
}
/* Individual Card */
    .related-card {
    	background: #fff;
    	border-radius: 10px;
    	overflow: hidden;
    	box-shadow: 0px 6px 20px 0px rgba(0,0,0,0.06);
    	transition: box-shadow 0.2s ease;
    	display: flex;
    	flex-direction: column;
    }
    .related-card:hover {
    	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    }
    .related-card img {
    	width: 100%;
    	display: block;
    	height: auto;
    }
/* Meta Row (icon + taxonomy) */
    .related-meta {
    	font-size: 16px;
    	color: #4A5568;
    	display: flex;
    	align-items: center;
    	padding: 1rem 1rem 0 1rem;
    }
    .related-meta img {
    	height: 17px;
    	width: auto;
    	margin-right: 6px;
    	vertical-align: middle;
    	position: relative;
    	top: -2px;
    }
/* Divider */
    .related-divider {
    	margin: 0.5rem 1rem;
    	border-top: 1px solid #EDF2F7;
    }
/* Title */
    .related-title {
    	margin: 1.5rem 1.5rem 0.5rem;
    	font-size: 20px;
    	line-height: 1.5;
    	color: var(--global-palette5);
    	font-weight: 500;
    	min-height: calc(1.5em* 3);
    }
    ul.related-content-grid {
        margin: 1.3rem 0 1.5em 0em;
    }
    .related-title a {
    	    color: var(--global-palette5);
        font-size: 22px;
        line-height: 1.3;
        font-style: normal;
    	text-decoration: none;
    	display: inline-block;
    }
    .related-title a:hover {
    	text-decoration: underline;
    }
    .related-limited-title {
      display: -webkit-box !important;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 3;
      overflow: hidden;
      text-overflow: ellipsis;
      line-height: 1.5;
      max-height: calc(1.5em * 3);
      font-size: 20px;
      font-weight: 500;
      color: var(--global-palette5, #2d3748);
      display: block;
    }
/* Image ratio wrapper: 4:3 landscape */
    .image-ratio-wrap {
    	position: relative;
    	width: 100%;
    	padding-top: 75%; /* 4:3 ratio */
    	overflow: hidden;
    	border-top-left-radius: 10px;
    	border-top-right-radius: 10px;
    }
    .image-ratio-wrap img.ratio-image {
    	position: absolute;
    	top: 0;
    	left: 0;
    	width: 100%;
    	height: 100%;
    	object-fit: cover;
    	display: block;
    }
/* Excerpt */
    .related-excerpt {
        color: var(--global-palette6);
        font-size: 15px;
    	padding: 0 1.5rem 1.3rem;
    	line-height: 1.5;
    	overflow: hidden;
    	text-overflow: ellipsis;
    	display: -webkit-box;
    	-webkit-line-clamp: 3;
    	-webkit-box-orient: vertical;
    }
/* UL wrapper */
.related-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 0.8rem 1.5rem 0rem;
    gap: .5rem;           /* space between pills */
}
/* Each pill */
.related-pills li a {
  display: inline-block;
  color: #6f9b70;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 400;
  padding: .25rem .6rem;
  text-decoration: none;
  transition: background .2s ease;
    border-radius: .25rem;
    background: rgba(127, 195, 144, 0.19);
}

/* placeholder for cards without a featured image */
.image-ratio-wrap.no-image {
  background: #f3f5f7;          /* soft grey */
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}



@media (max-width: 1024px) {
	.related-content-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 767px) {
	.related-content-grid {
		grid-template-columns: 1fr;
	}
}
.post-navigation .nav-previous:after {
    height: 60%;
    background: #e7e8eb !important;
}
body.single-resource .content-area {
    margin-bottom: 0 !important;
    margin-top:2rem!important;
}
body.single-resource.content-type-publication .content-area, body.single-resource.content-type-podcast .content-area {
  margin-bottom: 3rem!important;
}
body.single-event .content-area, body.single-post .content-area {
    margin-top: 2rem !important;
      padding-bottom: 3rem;
}
.post-navigation a {
    color: #695d83!important;
}
.entry-tags a.tag-link {
    padding: 0.2em 0.6em !important;
    border: 1px solid #2973897d !important;
    border-radius: 5px;
    color: #297389 !important;
}
.entry-tags a.tag-link:hover {
    background: #297389 !important;
    color: #ffffff !important;
    border-color: #297389 !important;
}
.header-search-bar form input.search-field, .header-search-bar form .kadence-search-icon-wrap {
    color: #383838!important;
}
.kb-splide .splide__arrow--next {
    right: 0rem!important;
}
.kb-splide .splide__arrow--prev {
    left: 0rem!important;
}
.kb-splide .splide__arrow {
    opacity: .65!important;
    top: 90%!important;
        border: 1px solid!important;
    border-radius: 0px!important;
}
.transparent-header .header-search-bar form input.search-field, .transparent-header .header-search-bar form .kadence-search-icon-wrap {
    color: var(--global-palette9)!important;
}
.header-search-bar form input.search-field { height:40px;}
.kadence-breadcrumbs.topic-breadcrumb-white {
  color: #fff;
}
.kadence-breadcrumbs.topic-breadcrumb-white a {
  color: #fff;
}
.kadence-breadcrumbs.topic-breadcrumb-white .bc-delimiter {
  color: #fff;
}
.resource-loop-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.resource-card img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}
.entry-hero-container-inner .entry-header {
  padding-top:1rem!important;
}
p.wp-block-post-author__name a {
    font-size: 16px;
    text-decoration: none;
    color: #383838;
}
p.wp-block-post-author__name a:hover {
    text-decoration: underline;
}
.wp-block-post-author__avatar {
    margin-right: 0.5em;
}
.wp-block-post-author__avatar {
    margin-right: 0.5em;
    margin-top: 3px;
}
img.avatar.avatar-24.wp-user-avatar.wp-user-avatar-24.alignnone.photo {
    border-radius: 50px;
}
@media all and (max-width: 1025px) {
.site-branding .site-title {
    display: none!important;
}
}
.footer-widget-area.content-tablet-align-center {
    text-align: left!important;
}
.wp-block-kadence-query-result-count {
    text-align: left;
}
figure {
    margin: 0;
}

/* Scoped styling for [topic_recent_articles] only */
.topic-recent-articles-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	margin-top: 2rem;
}

@media (max-width: 1024px) {
	.topic-recent-articles-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 767px) {
	.topic-recent-articles-grid {
		grid-template-columns: 1fr;
	}
}

.topic-recent-articles-grid .entry-post {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.topic-recent-articles-grid .entry-thumbnail-wrap {
	aspect-ratio: 1 / 1;
	overflow: hidden;
}

.topic-recent-articles-grid .entry-thumbnail-wrap img.entry-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.topic-recent-articles-grid .entry-header .entry-title {
	margin-top: 20px;
	margin-bottom: var(--global-kb-spacing-xxs, 0.5rem);
	text-align: left;
	font-size: 24px;
	line-height: 1.3;
	font-weight: 500;
	font-style: normal;
	color: #5e5375;
}
.topic-recent-articles-grid .entry-header .entry-title:hover {
text-decoration:underline;
color: #5e5375;
}

.topic-recent-articles-grid .entry-summary {
	color: var(--global-palette6, #718096);
	font-size: 16px;
	line-height: 1.6em;
	font-family: var(--global-body-font-family, inherit);
	font-weight: 400;
	font-style: normal;
	margin-top: 0.5rem;
}

.topic-recent-articles-grid .entry-meta.wp-block-post-author {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	margin-top: auto;
	padding-top: 1rem;
}

.topic-recent-articles-grid .entry-meta img.avatar {
	border-radius: 50%;
	width: 24px;
	height: 24px;
}

.topic-recent-articles-grid .wp-block-post-author__name a {
	text-decoration: none;
	color: inherit;
	font-weight: 400;
}

.topic-recent-articles-grid .wp-block-post-author__name a:hover {
	text-decoration: underline;
}
.topic-recent-articles-grid .kadence-fixed-ratio {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    position: relative;
    width: 100%;
    border-radius: 0px;
}

.topic-recent-articles-grid .kadence-fixed-ratio img.entry-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%; /* centered like Kadence setting */
    display: block;
}
span.kb-svg-icon-wrap.kb-svg-icon-fas_check.kt-svg-icon-list-single {
    margin-top: 5px;
}
.collapse-sub-navigation ul.menu li a {
    text-decoration: none;
    width: 100%;
    padding-top: 0.6em;
    /* margin-bottom: 0.4em; */
    padding-left: 1em;
    background-color: #ffffff;
    border-radius: 0px;
    /*padding-bottom: 0.5em;*/
    /*border-bottom: 1px solid var(--global-palette7); */
    color: #383838 !important;
        border-bottom: 1px solid #e8e9e9;
}
.collapse-sub-navigation ul.menu li a:hover {
    text-decoration: none;
    background-color: #f2f3f4;
        color: var(--global-palette2);
}
/* Scientific Projects Boxes */
.scientific-projects-section {
  margin-bottom: 2rem;
}
.scientific-project-card {
    border-left: 10px solid #d7d7d7;
    background: #fff;
    text-decoration: none;
    color: var(--global-palette4);
    margin: 1.5rem 0;
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 0px 20px 20px 0px;
}
.summary {
    margin-top: 17px;
}
.summary p {
      margin-bottom: 0.5rem!important;
}
.project-meta {
    border-bottom: 1px solid #d7d7d7;
    padding: 0px 0px 15px;
}
.project-meta p {
margin: 0 0 2px 0 !important; 
font-size:16px;
  line-height: 1.4;
}
.status-line {
  margin-top: 1em;
  display: flex;
  align-items: center;
      border-top: 1px solid #d7d7d7;
    padding: 15px 0px 0px;
}
.status-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 8px;
}
.status-text {
  font-weight: bold;
  font-size: 0.95em;
}
.call-for-input {
    margin-top: 10px;
}

.call-for-input-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: #ece8fc;
    color: #695d84;
    padding: 3px 12px 3px 10px;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s ease;
}

.call-for-input-link:hover {
    background: #e4e0f4;
    color: #695d84;
}

.call-for-input-link .dashicons {
    font-size: 16px;
    top: 2px;
    position: relative;
}

/* Tooltip */
.call-for-input-link .tooltip-text {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 105%; /* default: right side of button */
    transform: translateY(-50%);
    background-color: #333;
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 13px;
    white-space: normal;  /* allow wrapping */
    min-width:260px;
    max-width: 400px;     /* prevent overflow */
    z-index: 1000;
    transition: opacity 0.3s ease;
    cursor: pointer; /* shows clickable */
}

/* Show tooltip on hover */
.call-for-input-link:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Responsive adjustment – move tooltip below on small screens */
@media (max-width: 768px) {
    .call-for-input-link .tooltip-text {
        top: 110%;        /* below the button */
        left: 50%;
        transform: translateX(-50%); /* center align under button */
        white-space: normal;         /* wrap text */
        max-width: 90vw;             /* keep inside screen */
    }
}


.scientific-project-card h3 {
  margin-top: 0;
      font-size: 1.63rem;
    color: #383838 !important;
}
.read-more, .read-less {
  color: #383838;
  cursor: pointer;
  margin-left: 5px;
}
/* Buttons row */
.project-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;           /* wraps nicely on mobile */
  margin-top: 12px;          /* spacing below status line */
}
/* Reuse your call-for-input-link pill as-is */
/* View Publication pill */
.view-publication-link {
    display: inline-flex;
    align-items: center;
    background: #d9f1e0;
    color: #5c8767;
    padding: 3px 4px 3px 13px;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}
.view-publication-link:hover {
  background: #d4ecdb;
  color: #5c8767;
}
.view-publication-link .dashicons {
    font-size: 15px;
    margin-left: 2px;
    position: relative;
    top: 3px;
}
/*  --------------- Annual Meetings Layout shortcode css --------------- */
/* Buttons grid */
.isapp-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 0 0 2rem;
}
@media (min-width: 768px) {
  .isapp-buttons { grid-template-columns: repeat(3, 1fr); }
}
.isapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  min-height: 64px;
  padding: .9rem 1.25rem;
  border-radius: 12px;
  text-decoration: none;
font-weight: 500;
    font-size: 1.1em;
  color: #fff;
  
      background-color: var(--global-palette2);
  transition: box-shadow .2s ease, background-color .2s ease, transform .02s ease;
}
.isapp-btn:hover {
  background: #595178;
  color: #fff;
  box-shadow: 0px 6px 20px 0px rgba(0, 0, 0, 0.06);
}
.isapp-btn:active { transform: translateY(1px); }

/* Sections + toggles */
.isapp-section { margin: 2.5rem 0;
    background-color: #f2f3f4;
    padding: 30px;
    border-radius: 10px; }
.isapp-section h2 { font-size: 1.5rem; margin: 0 0 .5rem; }
.isapp-section .intro {     margin: 0 0 2rem; line-height: 1.4em; color: var(--global-palette4); }
.isapp-items { display: flex; flex-direction: column; gap: .75rem; }
.isapp-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .95rem;
  width: 100%;
padding: .9rem 2rem;
    border-radius: 5px;
    border: 1px solid #685d8473;
  background: #fff;
  text-decoration: none;
  color: var(--global-palette4);
  transition: box-shadow .2s ease, background-color .2s ease;
}
.isapp-toggle:hover {
    background: #ffffff;
    box-shadow: 0 6px 16px #695d8338;
    border: 1px solid #685d84c7;
}
.isapp-toggle .ttl { font-weight: 500; color: var(--global-palette-highlight-alt);}
.isapp-toggle .arr svg { width: 25px; height: 25px; }
.isapp-toggle .ttl-wrap {
  display: flex;
  flex-direction: column;
}
.isapp-toggle .speaker {
  font-size: 0.895rem;
  color: var(--global-palette6);
  margin-top: 0px;
}
.isapp-olist {
  list-style: decimal;
  margin: 0 0 0 1.25rem; /* space for numbers */
  padding-left: .75rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.isapp-olist .isapp-li { /* keep numbers aligned */ }
.isapp-olist .isapp-toggle { display: flex; }
/* Keep number + title + speaker aligned inside the pill */
.isapp-items.is-numbered .ttl-wrap{
  display: grid;
  grid-template-columns: auto 1fr;  /* number | content */
  column-gap: .75rem;
  align-items: center;
}

/* Explicit column placement */
.isapp-items.is-numbered .item-number{ grid-column: 1; }
.isapp-items.is-numbered .ttl{ grid-column: 2; }
.isapp-items.is-numbered .speaker{ grid-column: 2; }

/* Make the content block take the space between number and arrow */
.isapp-toggle .ttl-wrap{ flex: 1; }   /* ensures arrow stays at far right */

.collapse-sub-navigation ul.menu .drawer-nav-drop-wrap .drawer-sub-toggle {
    border-left: none!important;
    border-bottom: none!important;
}
.drawer-nav-drop-wrap .kadence-svg-iconset svg {
    height: 1.4em;
    width: 1.4em;
}
img.gravatar.avatar.avatar-24.um-avatar.um-avatar-default {
    border-radius: 100px;
}

/* Read More for Kadence */
.kb-readmore{
  --kb-rm-height: 160px;              /* collapsed height */
  --kb-rm-fade: rgb(242 243 244);/* fade color; override per section if needed */
}
.kb-readmore .kb-readmore__content{
  position: relative;
  max-height: var(--kb-rm-height);
  overflow: hidden;
  transition: max-height .3s ease;
}
.kb-readmore .kb-readmore__content:after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:5rem;
  pointer-events:none;
  background-image: linear-gradient(0deg, var(--kb-rm-fade) 20%, transparent);
}
/* expanded state */
.kb-readmore .kb-readmore__content.is-expanded{
  max-height: 4000px;
}
.kb-readmore .kb-readmore__content.is-expanded:after{
  background:none;
}
/* button */
.kb-readmore .kb-readmore__btn{
margin-top: 0rem;
    background: none;
    border: 0;
    padding: .6rem 0 .5rem;
    text-align: left;
    color: #6e6e6e;
    font-style: italic;
    font-weight: 400;
    font-size: 16px;
    cursor: pointer;
}
.kb-readmore .kb-readmore__icon{ margin-left:.25rem; font-size:11px; }
.single-content p {
    /* margin-bottom: var(--global-xs-spacing)!important; */
}
/* Top-align Kadence Query Loop images */
.wp-block-kadence-image .kb-is-ratio-image img {
  object-position: top center !important;
}
.kb-advanced-slide-inner h4 {
margin: 0em 0 .5em!important;
}
.kb-slider-version-3 .kb-advanced-slide-inner-wrap {
    padding: 20px 0rem!important;
}

.company-invite-link-wrapper button { 
    font-style: normal;
    font-weight: 500;
    font-size: 15px;
    border-radius: 5px;
    padding: 5px 20px 5px 20px;
    border: 1px solid currentColor;
    border-color: var(--global-palette2);
    box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0);
}
.company-invite-link-wrapper h4 {
    font-size: 20px;
}
.kb-row-layout-wrap p:contains("Lorem ipsum") {
  display: none!important;
}

