/*
Theme Name: LABB-Group
Theme URI: https://1stfold.com/
Author: Rameez
Author URI: https://1stfold.com/
Description: A custom WordPress theme.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: my-custom-theme
*/

@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@100..900&display=swap');

body{ font-size: 20px; color: #000; line-height: 24px; padding: 0; margin: 0; font-family: "Alexandria", sans-serif;}
a{text-decoration: none; color: #000;}
a:hover{color:#AB248D;}
.container{ max-width: 1200px; margin: 0 auto;}
.site-header{ margin: 10px 0;}
h1::after { content: ''; display: block; width: 280px; border-bottom: 8px solid #000; margin-top: 20px;}
.mini-h2 h2{position: relative; display: inline-block; min-width:320px; letter-spacing: 2px;}
.mini-h2.some-news h2{min-width:100%;}
.mini-h2.some-news h2::after{width:64%;}
.mini-h2 h2::after {content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%);  width: 70px; height: 1px; background-color: #ED1C24;}
.mini-h2.get-touch h2::after{width:170px;}
.cont-h2 h2::after { content: ''; display: block; width: 100px; border-bottom: 5px solid #ED1C24; margin: 20px 0 0;}
.cont-h2.center h2::after{margin: 20px auto 0;}

.main-navigation ul li a{font-weight:300; color:#000; border-right:1px solid #A0A0A0; font-size:18px; padding:4px 22px;}
.main-navigation ul li:last-child a {border-right:none;}
.main-navigation ul li a:hover,.main-navigation ul li a:hover{background-color:#ED1C24!important; color:#fff!important; line-height:30px;}
.main-navigation ul li.current_page_item a{background-color:#ED1C24!important; font-weight:bold!important; text-align:center!important; color:#fff!important; line-height:30px;border-right:none;}
.boxes-hov:hover p, .boxes-hov:hover h2 { color: #fff !important; }
.read-more-svg{ font-size:14px; font-weight:300; color:#000;}
.boxes-hov:hover .read-more-svg{color:#fff;}
.read-more-svg svg{ vertical-align:middle; margin-left:15px;}
.boxes-hov:hover .read-more-svg svg rect{fill:#fff;}
.boxes-hov:hover .read-more-svg svg path{fill:#ED1C24;}
.menu {
  list-style: none;
  padding: 0;
  margin: 0px;
}

.menu li {
  display: inline-block;
  margin: 0px;
}

.menu li.btn a{ padding: 10px 23px; background: #F37624; color: #fff;}
.menu li.btn a:hover{background: #000;}
.pink-sec{margin:0 auto!important; margin-top:80px!important;}


/* Basic toggle button styling */
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001; /* Ensure above menu */
}

.menu-toggle .bar {
  display: block;
  width: 100%;
  height: 4px;
  background-color: #000;
  margin: 5px 0;
  transition: 0.4s;
}
p{padding:0; margin:0 0 10px;}
p:last-child{ margin:0;}
.flex-box{ display: flex; align-items: center; justify-content: space-between;}
.copy-right-box{ font-size: 16px; color: #fff; font-weight: 400; padding: 28px 0; margin: 30px 0 0; text-align: center; background-color:#282827;}
.copy-right-box br{display:none;}
.footer-nav-box{ display: flex; align-items: center; justify-content: space-between;}
.footer-menu{ padding: 0; margin: 0;}
.footer-menu li{ list-style: none; display: inline-block; margin-right: 50px;}
.footer-logos{width: 100%; margin: 80px auto 40px;; text-align: center; display: flex ; justify-content: space-between; max-width:1110px;}
.bio-detail p{padding:0; margin:0 0 20px; min-height:44px;}
.address-box{ position:relative; font-size:22xp; line-height:30px; color:#fff;}
.address-box svg{position:absolute; top:35px; left:35px;}
.contact-form label {
    display: block;
    width: 100%;
    font-size: 14px;
    font-weight: 400; margin-bottom: 23px;
}
.contact-form input,.contact-form textarea{    display: block;
    width: 100%;
    border: 1px solid #A0A0A0;
   
    height: 40px;
    margin-top: 10px; padding:10px;}
.contact-form textarea{ height:100px;}
.contact-form .wpcf7-spinner{position:absolute;}
.contact-form input.wpcf7-submit{margin:0; background:#ED1C24; font-size:16px; font-weight:600; cursor:pointer; color:#fff; text-transform:uppercase; border-color:#ED1C24;}
.contact-form input.wpcf7-submit:hover{ background:#fff; color:#ED1C24;}
.contact-form span.red{color:#ED1C24;}

.newsletter-form label {
    display: block;
    width: 100%;
    font-size: 12px;
	color:#A0A0A0;line-height:20px;
    font-weight: 400;margin-bottom: 23px;
} 
.newsletter-form label .top-txt{margin-left:20px; }
.newsletter-form input{
    display: block;
    width: 100%;
    border: 1px solid #A0A0A0; background:#fff; border-radius:4px;
    
    height: 50px;
    margin-top: 8px;
    padding: 10px;
}
.newsletter-form  input.wpcf7-submit{margin:0 auto; max-width:175px; background:#ED1C24; font-size:16px; font-weight:600; cursor:pointer; color:#fff; text-transform:uppercase; border-color:#ED1C24; border-radius:0;}
.newsletter-form  input.wpcf7-submit:hover{ background:#fff; color:#ED1C24;}

.latest-posts{ display:flex; justify-content:space-between;gap:90px;}
.latest-posts .single-post,.archive { font-size:16px; line-height:24px; font-weight:300; color:#000;}
.latest-posts .single-post .post-thumbnail img{ width:100%;}
.latest-posts .single-post .post-meta,.tags-comment-box,.single-post .post-meta{ display:flex; align-items:center; justify-content:space-between; font-size:12px; font-weight:300; color:#444; margin:20px 0; padding:15px 0; border-bottom:1px solid #A0A0A0; border-top:1px solid #A0A0A0;}
.single .post-meta{max-width:500px;}

.post-tags-list-bot a,#commentform .submit{
    border-radius: 50px;
    background: #e10f28;
    display: inline-block;
    text-transform: uppercase;
    padding: 8px 15px;
    margin: 10px 4px;
    font-size: .875em !important;
    color: #FFF;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    transition: all 300ms ease;
}
.post-tags-list-bot a:hover,#commentform .submit:hover{ background: #000;}
#commentform .submit{border:none; line-height:24px; cursor:pointer; width:auto;}
#commentform label{ display:block;}
#commentform .comment-form-cookies-consent label{ display:inline;}
.comment-form-comment textarea{
    height: 170px;
    padding: 18px 20px;
    vertical-align: top;
    line-height: 1.2;
 background-color: rgba(0, 0, 0, .07); border-radius:24px; width:100%; max-width:700px;}
#commentform input{
    padding: 18px 20px;
    vertical-align: top;
    line-height: 1.2;
 background-color: rgba(0, 0, 0, .07); border-radius:24px; width:100%; max-width:700px;}
#commentform .comment-form-cookies-consent input{ width:auto;}
.latest-posts .single-post h2.post-title{position:relative; padding:0 0 10px; margin:0 0 15px; min-height:60px;}
.latest-posts .single-post h2.post-title:after,.single-post h1.post-title:after,.archive h1:after{ content:""; position:absolute; bottom:0; left:0; width:90px; height:2px; background:#ED1C24;}
.latest-posts .single-post h2.post-title a,.single-post h1.post-title,.archive h1{ font-size:28px; font-weight:700;}
.single-post h1.post-title,.archive h1 {
    position: relative;
    padding: 0 0 10px;
    margin: 25px 0 12px;
    line-height: 24px; 
}
.single-post h1.post-title:after,.archive h1:after{border:none;}
.single-post{
    font-size: 16px;
    line-height: 24px;
    font-weight: 300;
    color: #000;
}
.more-btn{ margin-top:20px; font-size:12px;}
.more-btn a{ color:#444;}
.more-btn svg{ vertical-align:middle; margin-left:12px;}
.more-btn a:hover svg rect{fill:#000;}
.more-btn a:hover,.latest-posts a:hover{color:#ED1C24}
.date img,.author img,.post-tags img,.comment-box img{vertical-align:middle; margin-right:10px;}
.all-posts .latest-posts {
	flex-wrap: wrap;
	column-gap: 90px;
    row-gap: 40px; }

.all-posts .single-post {
    flex: 1 1 calc(50% - 45px);
    box-sizing: border-box;
}
.team-box .team-x-link a{
    padding: 5px;
    background: rgba(255, 255, 255, 0.8);
   
    gap: 15px;
    align-items: center;
    max-width: 170px;
    margin: -70px auto 0; display:none;
}
.team-box:hover .team-x-link a{ display: flex;}
.team-box .team-x-link a:hover{color:#ED1C24;}


.image-container a{
  position: relative;
}
.image-container a:after{content:""; position:absolute; top:50%; left:50%; width:0%; height:0%; background:rgba(255,255,255,0.8); transition:all 0.5s linear;}
.image-container a:hover:after{top:0; left:0; width:100%; height:100%;}
.image-container figcaption{margin-top:20px; transition:all 0.3s linear;}
/*.image-container:hover figcaption{position:absolute; top:50%; left:50%; font-size:12px!important;transform:translate(-50%,-50%);}*/
.publications-list{ padding:0; margin:0;}
.publications-list li{ list-style:none; margin:0 0 35px; background:#fff; }
.publications-list li .publication-content p{font-size:14px; line-height:20px; color:#444444;font-family: "Alexandria", Sans-serif;}
.publications-list li:hover .publication-content p{color:#fff;}
.publications-list li a{ padding:31px 35px; display:block;}
.publications-list li:hover{background:#ED1C24; color:#fff;}
.publications-list li h3{font-family: "Alexandria", Sans-serif;
    font-size: 20px;
    font-weight: 700; line-height:1;
    color: #000000; padding:0 0 10px; margin:0 0 15px; border-bottom:1px solid #A0A0A0;}
.publications-list li:hover h3{color:#fff;}
.publications-list li .read-more-btn{font-size: 14px;
    font-weight: 300;
    color: #000; margin-top:16px; display:block;}
.publications-list li:hover .read-more-btn{color:#fff;}
.publications-list li svg{ vertical-align:middle; margin-left:10px;}
.publications-list li:hover svg rect{ fill:#fff;}
.publications-list li:hover svg path{ fill:#ED1C24;}

/* === Scholar Publications Fetcher Custom Styles === */
:root {
  --spf-primary-color: #ED1C24;    /* Link & button color (default Google blue) */
  --spf-secondary-color: #e0e0e0;  /* Abstract border or accents */
  --spf-card-bg: #ffffff;          /* Card background */
  --spf-text-color: #222222;       /* Main text color */
  --spf-text-color-blk: #000;
}

/* Optional: extra styling for publication cards */
.schopufe-card {
  border: 1px solid var(--spf-secondary-color);
  border-radius: 8px;
  background-color: var(--spf-card-bg);
  color: var(--spf-text-color);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  padding: 16px;
  margin-bottom: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.schopufe-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.schopufe-card a {
  color: var(--spf-primary-color);
  text-decoration: none;
  font-weight: 500;
}

.schopufe-card a:hover {
	color:#ED1C24; text-decoration:none!important;
}
.spf-container{max-width:1200px!important;}
.spf-publication-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--spf-card-hover-shadow);
}
.spf-button:hover{background-color:var(--spf-text-color-blk);}
@media (max-width:1200px) {
	.container{padding:0 20px;}
}
@media (max-width:1024px) {
	.publications-list li .publication-content p{font-size:12px;}
.publications-list li h3{font-size: 16px;}
	.footer-logo img{ max-width:150px;}
.menu-toggle {display: block; margin:0 auto; margin-right:0;}
.nav-box{ width:100%;}
.post-content img{ width:100%; height:auto;}
.comment-form-comment textarea,#commentform input{width: auto;}
  .main-navigation .menu {
    display: none;
    flex-direction: column;
  }

  .main-navigation .menu.active {
    display: flex;
  }
	.menu-toggle {
    display: block;
  }

  .main-navigation .menu {
    display: none;
    flex-direction: column;
    background: #fff; /* Optional: background for dropdown */
    position: absolute;
    top: 125px; /* adjust based on header height */
    right: 0;
    left: 0;
    z-index: 1000;
  }

  .main-navigation .menu.active {
    display: flex;
  }

  /* Transform hamburger to cross when active */
  .menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(7px, 6px);
  }

  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
	#primary-menu li a {
        padding: 15px;
        display: block;
		font-size: 14px;border-bottom: 1px solid #c4c4c4;}
	.footer{ padding:30px 10px;}
#primary-menu li ul {
    position: relative;
    top: auto;
    left: 0;
    width: 100%;
}
	.arrow-down{ float:right;}
	.sub-menu {
    display: none;
  }

  .sub-menu.open {
    display: block!important;
  }

  .arrow-down {
    cursor: pointer;
    display: inline-block;
  }
	.arrow-down.active img {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}
.footer-logos img{max-height:50px;}
.pink-sec { margin-top: 40px !important;}
}
@media (max-width:767px) {
.publications-list li a {padding: 20px;}
.copy-right-box{font-weight:300; margin:0px;}
.copy-right-box br{display:block;}
.footer-logos {flex-direction: column; align-items: center; margin:40px 0;}
.footer-logos img { max-height: 50px; padding: 20px 0;}
.mini-h2 h2::after{display:none;}
.latest-posts {display: block;}
.pink-sec { margin-top: 20px !important;}
}