/*
Theme Name: Betheme Child
Theme URI: https://themes.muffingroup.com/betheme
Author: Muffin group
Author URI: https://muffingroup.com
Description: Child Theme for Betheme
Template: betheme
Version: 2.0.2
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

.upcoming-events-title {
    color: black;
    font-family: 'Inter';
    font-weight: 700;
    font-size: 48px;
    line-height: 1;
    margin-bottom: 30px;
    letter-spacing: -6%;
    text-align: center;
}










#upcoming-events {
    /*display: none;*/
    
    & .event-single {
        display: flex;
        
        & .event-thumb {
            flex-shrink: 0;
            max-width: 270px;
        }
        
        & .event-data {
            background: #E8E8E8;
            padding: 43px 30px;
            height: 270px;
            
            & .event-title {
                color: black;
                font-family: 'Inter';
                font-weight: 700;
                font-size: 32px;
                line-height: 1;
                margin-bottom: 20px;
                letter-spacing: -6%;
            }
            
            & .event-description {
                color: black;
                font-family: 'Inter';
                font-weight: 300;
                font-size: 16px;
                line-height: 1.4;
                margin-bottom: 0px;
                display: -webkit-box;
                -webkit-line-clamp: 6;
                -webkit-box-orient: vertical;  
                overflow: hidden;
                
                & p {
                    margin-bottom: 0px;
                }
            }
        }
        
        & .event-cta {
            background: #BA2825;
            padding: 39px 25px 29px 25px;
            flex-shrink: 0;
            display: flex;
            flex-direction: column;
            align-content: center;
            align-items: center;
            justify-content: space-between;
            height: 270px;
            
            & .start-day {
                font-family: 'Inter';
                font-weight: 700;
                font-size: 85px;
                line-height: 1.13;
                color: #ffffff;
                text-align: center;
            }
            
            & .start-month {
                font-family: 'Inter';
                font-weight: 700;
                font-size: 30px;
                line-height: 0;
                color: #ffffff;
                text-align: center;
                text-transform: uppercase;
            }
            
            & .event-button {
                & a {
                    padding: 14px 52px;
                    background: white;
                    color: black;
                    font-family: 'Inter';
                    font-weight: 600;
                    font-size: 16px;
                    line-height: 1.40;
                    display: block;
                    border-radius: 100px;
                }
                
            }
        }
    }    
}

@media screen and (max-width: 1024px){
    #upcoming-events {
        & .event-single {
            & .event-thumb {
                max-width: 200px;
            }
            
            & .event-data {
                padding: 30px;
                height: 200px;
                
                & .event-description {
                    -webkit-line-clamp: 4;
                }
            }
            
            & .event-cta {
                padding: 25px;
                height: 200px;
                
                & .start-day {
                    font-size: 60px;
                    line-height: 1.13;
                    color: #ffffff;
                    text-align: center;
                }
                
                & .start-month {
                    font-family: 'Inter';
                    font-weight: 700;
                    font-size: 20px;
                    line-height: 0;
                    color: #ffffff;
                    text-align: center;
                    text-transform: uppercase;
                }
                
                & .event-button {
                    & a {
                        padding: 14px 52px;
                        background: white;
                        color: black;
                        font-family: 'Inter';
                        font-weight: 600;
                        font-size: 16px;
                        line-height: 1.40;
                        display: block;
                        border-radius: 100px;
                    }
                    
                }
            }
        }    
    }
}

#promo-event {
    /*display: none;*/
    position: absolute;
    z-index: 1;
    background: white;
    padding: 31px;
    clip-path: polygon(15% 0, 100% 0, 85% 100%, 0% 100%);
    right: 0;
    width: 196px;
    
    & a {
        text-decoration: none !important;
    }
    
    & img {
        max-width: 130px;
    }
    
    & #promo-countdown {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-content: center;
        align-items: center;
        gap: 5px;
        
        & .cd-days, .cd-hours, .cd-mins {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        & #cd-days-value, #cd-hours-value, #cd-mins-value {
            font-family: 'Manrope';
            font-weight: 700;
            font-size: 23px;
            line-height: 1.25;
            color: black;
        }
        
        & .cd-label {
            font-family: 'Manrope';
            font-weight: 500;
            font-size: 8px;
            line-height: 1.25;
            color: black;
        }
        
        & .cd-separator {
            font-family: 'Manrope';
            font-weight: 500;
            font-size: 23px;
            line-height: 1.25;
            color: black;
        }
    }
}

@media screen and (max-width: 959px){
    #upcoming-events {
        & .event-single {
            & .event-thumb {
                display: none;
            }
        }
    }
    
    #promo-event {
        position: relative;
        padding: 15px;
        clip-path: unset;
        right: 0;
        width: 100%;
        border: 1px solid #007abf;
        max-width: 260px;
        margin: 0 auto 15px;
        border-radius: 15px;

        & a {
            display: flex;
            flex-direction: row;
            justify-content: center;
            flex-wrap: nowrap;
            width: 100%;
            gap: 40px;
        }
        
        & img {
            max-height: 60px;
        }
    }
}


@media screen and (max-width: 767px){
    #upcoming-events {
        & .event-single {
            flex-direction: column;
            
            & .event-thumb {
                display: none;
            }
            
             & .event-data {
                & .event-description {
                    -webkit-line-clamp: 3;
                }
            }
        }
         
    }
}


.custom-popup {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 9999;
}

/* Background Overlay */
.custom-popup-overlay {
  position: absolute;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

/* Popup Content Box */
.custom-popup-content {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  max-width: 960px;
  width: 90%;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  animation: fadeInUp 0.3s ease-out;
}

/* Close Button */
.custom-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333 !important;
    background: transparent !important;
    padding: 10px !important;
    font-size: 30px !important;
    width: fit-content !important;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 20px));
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.faculty-wrapper {
    display: flex;
    gap: 30px;
    
    & .faculty-image {
        width: 250px;
        flex-grow: 0;
        flex-shrink: 0;
    }
    
    & .faculty-content {
        display: flex;
        flex-direction: column;
        gap: 0px;
        
        & h3.faculty-name {
            color: #192B47;
            font-family: 'Lato';
            font-size: 30px;
            font-weight: bold;
            line-height: 1.2;
            margin: 0;
        }
        
        & h4.faculty-position {
            color: #192B47;
            font-family: 'Lato';
            font-size: 16px;
            font-weight: 600;
            line-height: 1.2;
            margin-bottom: 25px;
        }
        
        & .faculty-description {
            color: #192B47;
            font-family: Lato;
            font-size: 16px;
            font-weight: 400;
            line-height: 1.5;
            max-height: 400px;
            overflow-y: auto;
        }
    }
}

@media screen and (max-width: 767px){
    .custom-popup-content {
      width: 85%;
      padding: 15px;
    }
    
    .faculty-wrapper {
        flex-direction: column
        ;
        & .faculty-image {
            width: 150px;
            height: 150px;
            object-fit: cover;
            overflow: hidden;
            border-radius: 100%;
            text-align: center;
            margin: 0 auto;
        }
        
        & .faculty-content {
            & h3.faculty-name {
                font-size: 24px;
            }
            
            & h4.faculty-position {
                color: #192B47;
                font-family: 'Lato';
                font-size: 16px;
                font-weight: 600;
                line-height: 1.2;
                margin-bottom: 25px;
            }
            
            & .faculty-description {
                color: #192B47;
                font-family: Lato;
                font-size: 16px;
                font-weight: 400;
                line-height: 1.5;
                max-height: 300px;
                overflow-y: auto;
            }
        }
    }
}

.overflow-hidden {
    overflow: hidden !important;
}


.open-faculty-popup a {
    position: relative;
    
    &:after {
        content: "+";
        position: absolute;
        top: 0;
        right: -15px;
        font-weight: bold;
        font-size: 20px;
        color: #b52524;
    }
}

.emoji {
    height: 22px !important;
}


.media-press-slider {
	& .blog_slider_ul {
		opacity: 1 !important;
	}
}

.media-press-title h2 {
	color: black;
    font-family: 'Inter';
    font-weight: 700;
    font-size: 48px;
    line-height: 1;
    margin-bottom: 15px !important;
    letter-spacing: -6%;
	text-align: center;
	width: 100%;
}

.media_press_ul {
    & .desc {
        & h4 {
            & a {
                text-overflow: ellipsis;
                overflow: hidden;
                display: -webkit-box;
                -webkit-line-clamp: 3;
                -webkit-box-orient: vertical;
                min-height: 107px;
            }
        }
    }
}

