* {
    box-sizing: border-box;
}

body {
    background-color: #ececee;
    font-family: 'Open Sans';
    overflow-x: hidden;
    margin: 0;

}

a.armenopedia {
    text-decoration: none;
    color: black;
}

a.armenopedia:visited {
    text-decoration: none;
    color: black;
}

img.armenopedia-logo {
    width: 60px;
    height: 60px;
    position: absolute;
    margin-top: -3px;
    object-fit: contain;
    margin-left: 40px;
}

div.header {
    background-color: #ececee;
    height: 160px;
    box-sizing: border-box;
    max-width: 100%;
    margin-top: -20px;
    opacity: 0.8;
    margin-bottom: 20px;

}


h2.header {
    margin-left: 140px;
    width: 200px;
    font-weight: 700;
    margin-top: 43px;
    position: absolute;
    color: #555556;

}

div.subheader {
    width: 280px;
}

a.header,
a.header:visited {
    font-size: 13px;
    margin-left: 130px;
    margin-bottom: 10px;
    text-decoration: none;
    color: rgb(29 78 216);
}

#languageSelect {
    margin-left: 1300px;
    position: absolute;
    margin-top: 50px;
    width: 110px;
    height: 30px;
    font-size: 17px;
    text-align: center;
    color: #8A3D03;

}

div.path {
    margin-left: 40px;
    margin-top: 100px;
    position: absolute;
}

.breadcrumbs {
    background: #ececec;
    font-size: 0.85rem;
    padding: 10px 0;
    color: var(--text-light);
    margin-top: 110px;
    position: absolute;
}



.page-path {
    /* margin-top: 40px;  */
    /* position: absolute;  */
    margin-left: 33px;
    color: #2B2A2A;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

a.home-page-path {
    color: #2B2A2A;
    text-decoration: none;
}

a.home-page-path:visited {
    color: #2B2A2A;
    text-decoration: none;
}

a.hospitality-page-path {
    color: #2B2A2A;
    text-decoration: none;
}

a.hospitality-page-path:visited {
    color: #2B2A2A;
    text-decoration: none;
}



div.all-profile {
    background-color: #ffff;
}


div.profile-part {
    background-color: white;
    margin-top: -9px;
    display: flex;
    height: auto;
    min-height: 350px;

}

div.about-profile {
    margin-top: 230px;
}

.profile-picture {
    height: 222px;
    object-fit:cover;
    margin-left: 70px;
    margin-top: 70px;
    width: 210px;
    position: absolute;

}

h1.fullname {
    margin-left: 310px;
    margin-top: 77px;
    font-size: 35px;
    width: 600px;
    position: absolute;
    color: #662F05;

}

div.location-origin {
    margin-left: 45px;
    margin-top: 85px;
}

#living-location {
    color: #662F05;
    font-size: 19px;
    font-weight: 600;
}

#birth-location {
    color: #706F6F;
    font-size: 19px;
    margin-top: -10px;
}

p.specialty-item {
    margin-top: 7px;
    margin-bottom: 0; 
}

h1.location-origin {
    font-size: 25px;
    color: #662F05;
     border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    width:208px;

}

p.positions-held {
    color: rgb(55 65 81);
    margin-top: 50px;
    margin-left: 210px;
    height: 30px;
    position: absolute;
}

div.buttons {
    margin-left: 1000px;
    margin-top: 10px;
    position: absolute;
}

button.connect {
    background-color: rgb(37 99 235);
    color: white;
    border: none;
    border-radius: 10px;
    height: 35px;
    width: 80px;
}

button.share {
    border: 1px solid#ccc;
    border-radius: 10px;
    height: 35px;
    width: 60px;
    background-color: white;
    margin-left: 5px;
}

button.download {
    border: 1px solid#ccc;
    border-radius: 10px;
    height: 35px;
    width: 80px;
    background-color: white;
    margin-left: 5px;

}

div.flex {
    margin-left: 314px;
    margin-top: -150px;
    width: 633px;
    color: #6B7280;
    font-size: 19px;
}

#position-held {
    width: 605px;
    margin-top: 49px;

}

dt.country {
    top: 1px;
    color: #6b7280;
    margin-left: 210px;
    font-size: 17px;
    width: 100px;


}

dd#countryid {
    margin-top: -19px;
    margin-left: 400px;
    font-size: 17px;
    width: 250px;

}

dt.country-of-birth {
    font-size: 17px;
    margin-top: 10px;
    margin-left: 210px;
    color: #6b7280;


}

dd#country-of-birthid {
    font-size: 17px;
    margin-top: -20px;
    margin-left: 400px;

}

dt.languages {
    color: #6b7280;
    font-size: 17px;
    margin-top: 10px;
    margin-left: 210px;
    width: 190px;

}

dd#languagesid {
    font-size: 17px;
    margin-left: 400px;
    margin-top: -20px;
    width: 180px;

}

dt.influence {
    color: #6b7280;
    font-size: 17px;
    margin-left: 210px;
    margin-top: 10px;
    width: 200px;
}

dd#influenceid {
    font-size: 17px;
    margin-top: -20px;
    margin-left: 400px;
    width: 400px;

}

dt.position-held {
    color: #6b7280;
    font-size: 17px;
    margin-left: 210px;
    margin-top: 10px;
    width: 200px;
}

dd.position-held {
    font-size: 17px;
    margin-top: -35px;
    margin-left: 400px;
    width: 500px;


}

#positionheldid p {
    margin-bottom: -12px;
}

/* div.profile{
    background-color:#ffff;
    margin-top: -20px;

    

}
pre#profileid{
    margin-top: 40px;
    margin-left: 70px;
    white-space: pre-wrap;  
    word-wrap: break-word;
    font-family: 'Open Sans';
    margin-right: 70px;
    text-align: justify;
    

} */

div.profile {
    background-color: #fff;
    padding: 40px 70px 80px 60px;
    margin-top: -1050px;

    border-radius: 10px;
}

div.interests{
    margin-left: 60px;
}

h1.interests{
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    width: 128px;
}

div.languages{
    margin-top: 30px;
    max-height: 400px;
    height:auto;
}

pre#profileid {
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: 'Open Sans';
    text-align: justify;
    margin: 0;
    width: 800px;
    font-size: 21px;
}

h1.bio{
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    width:100px;
 
}

div.profile-career {
    display: flex;
    flex-direction: column;

}


.profile-career-wrapper {
    /* display: flex; */
    align-items: flex-start;
    gap: 40px;
    width: 100%;
    padding: 20px;
    margin-bottom: 90px;
    box-sizing: border-box;
}

p#languages-id{
    color: #706F6F;
    font-size: 19px;
}
.profile {
    flex: 1 1 400px;
}

h2.title-media {
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    width: 87px;
}

.profile-section {
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
    margin-top: 37px;
    margin-left: 45px;

}



/* div.education{
margin-left: 950px;
background-color: #ffff;
margin-top: 25px;
height: 130px;
border-radius: 20px;
position: absolute;

}

h2.weducation-title{
    margin-top: -12px;
    font-size: 27px;
}

img.education{
    width: 80px;           
    height: 80px;           
    border-radius: 80%;
    border:1px solid #ccc;      
    object-fit: cover;       
    margin-right: 10px; 
    margin-left: 5px;
    margin-top: -15px;
} */


/*  */

h2.education-title {
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    font-size: 27px;
    width:132px;
}

h2.specialties {
   border-bottom: 2px solid rgba(0, 0, 0, 0.1);
   width:141px;
}

.education {

    background-color: #ffff;
    /* margin-top: -505px; */

    border-radius: 20px;
    height: 210px;
    position: relative;
}

.educationimgdiv {
    display: grid;
    gap: 20px;
    overflow-x: hidden;
}

.uni {
    margin-top: -13px;
}

.text-content {
    margin-top: -15px;
    padding-left: 15px;
}

div.education {
    width: 400px;
    overflow-y: auto;
    border-radius: 0%;
    margin-top: -15px;
    height:260px;
}

p.uni {
    color: #706F6F;
    font-size: 19px;
}

#degree {
    color: #662F05;
    font-size: 19px;
    font-weight: 600;
}

.education-card {
    display: flex;
}

.educationimgdiv.expanded {
    overflow-x: auto;
    width: 320px;
}

.education-logo {
    width: 69px;
    height: 69px;
    /* border-radius: 50%; */
    border: 1px solid #CCCCCC;
    object-fit: contain;
    flex-shrink: 0;
}

.see-l-m1 {
    margin-top: 5px;
    border: none;
    background: transparent;
    color: rgb(29 78 216);
    cursor: pointer;
}

.see-l-m1:hover {
    text-decoration: underline;
}


/* Custom styling for text that can expand */
.clickable-text {
    cursor: pointer;
    transition: color 0.2s ease;
}

/* Subtle feedback when they hover over it */
.clickable-text:hover {
    color: #944407 !important; /* Changes to your brand color on hover */
}

/* Keep your single-line truncation setting active */
.truncate-text-single {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

/* Make sure container heights expand smoothly if text is opened */
.education-card, .career-card {
    display: flex;
    margin-bottom: 15px;
    height: auto; /* Ensures card grows down if text breaks into 2 lines */
}
/*  */

/* div.career { */
    /* margin-top: 190px; */

    /* background-color: white; */
    /* border-radius: 20px; */
    /* overflow-x: auto;
    overflow-y: auto;
    height: 240px;
    position: relative;


} */



h2.career-title {
    font-size: 27px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    width:90px;

}

h2.title-lang{
border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    width:140px;
}

/* div.careerimgdiv{
    margin-left: -80px;
}

img.career{
  width: 80px;           
  height: 80px;           
  border-radius: 80%;  
  border:1px solid #ccc;    
  object-fit: contain;       
  column-gap: 500px;
  margin-right: 10px; 
  margin-left: 0px;
  margin-top: 60px;

 
 
}
p.career{
    color:rgb(31 41 55);
   
    margin-left:110px;
    margin-top: -53px;
} */
/* 
.career {
    background: white;
    border-radius: 20px;

}

.careerimgdiv {
    display: flex;
    position: relative;
    gap: 10px;
    width: 400px;



}

.careerimgdiv.expanded {
    overflow-x: auto;
    width: 320px;
}

img.career {

    object-fit: contain;
    column-gap: 500px;
    margin-right: 10px;
    margin-left: 0px;

    width: 69px;
    height: 69px;
    border-radius: 0%;
    border: 1px solid #CCCCCC;
    object-fit: contain;
    flex-shrink: 0;


} */

/* --- CAREER CONTAINER --- */
.career {
    background-color: #ffff;
    border-radius: 20px;
    height: 210px;
    position: relative;
}

div.career {
    width: 400px;
    overflow-y: auto;
    border-radius: 0%;
    margin-top: -9px;
    height:260px;
}

/* --- TITLE --- */
.career-title {
    width: 100%;
    margin-bottom: 20px;
}

/* --- CARD STRUCTURE --- */
.career-card {
    display: flex;
    margin-bottom: 15px; /* Spacing between rows */
}

/* --- LOGO DISPLAY --- */
.career-logo {
    width: 69px;
    height: 69px;
    border: 1px solid #CCCCCC;
    object-fit: contain;
    flex-shrink: 0;
}

/* --- TEXT LAYOUT & ALIGNMENT --- */
.career .text-content {
    margin-top: -15px;
    padding-left: 15px; /* Gives space between logo and text */
}

.company {
    margin-top: -13px;
    color: #706F6F;
    font-size: 19px;
}

#position {
    color: #662F05;
    font-size: 19px;
    font-weight: 600;
}


.see-l-m {
    margin-top: 15px;
    border: none;
    background: transparent;
    color: rgb(29 78 216);
    cursor: pointer;
}




.see-l-m:hover {
    text-decoration: underline;
}


/* 
div.engagement{
margin-top: 30px;
background-color: white;
margin-left: 50px;
margin-right: 50px;
height: 130px;
border-radius: 20px;
width: 1190px;
}



img.engagement{
    height: 70px;
    border-radius: 50%;
    border:1px solid #ccc;
    margin-left: 20px;
    margin-top: 30px;
} */

h2.engagement-title {
    font-size: 27px;
}

.engagement {
    /* background: white; */
    border-radius: 20px;
    padding: 18px;
    width: 320px;
    /* fixed width for horizontal scroll */
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 270px;
    position: relative;
}

.engagementimgdiv {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    width: 400px;
}

.engagementimgdiv.expanded {
    overflow-x: auto;
    width: 320px;
}

.engagement-logo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 1px solid #ccc;
    object-fit: contain;
    flex-shrink: 0;
}

.engagement-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.engagement-item p {
    margin-top: 5px;
    font-size: 13px;
    color: rgb(31 41 55);
}

.see-l-m2 {
    margin-top: 15px;
    border: none;
    background: transparent;
    color: rgb(29 78 216);
    cursor: pointer;
    margin-left: -210px;


}

.see-l-m2:hover {
    text-decoration: underline;
    margin-left: -210px;
}



div.reslink {
    background-color: white;
    height: 130px;
    border-radius: 20px;

}

div.reslinkbuttons {
    display: flex;
}

#resourcetitle {

    padding-left: 30px;
}


a.reslink {

    border-radius: 20px;
    margin-left: 30px;
    text-decoration: none;
    font-size: 20px;



}

a.reslink:visited {
    color: black;
}

.footer {
    background-color: white;
    text-align: center;
    margin-top: 10px;
    height: 80px;
    color: rgb(75 85 99);
}




.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* dark overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    width: 80%;
    max-height: 80%;
    overflow-y: auto;
    border-radius: 8px;
    position: relative;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: #6b7280;
}

.publication-item {
    margin-bottom: 10px;
}

#publicationsButton {
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 15px;
    height: 60px;
    width: 160px;
    margin-left: 30px;
    font-size: 15px;
}

#mediainterviewsButton {

    background-color: white;
    border: 1px solid #ccc;
    border-radius: 15px;
    height: 60px;
    width: 200px;
  
    font-size: 15px;

}

.publication-item {
    margin-top: 7px;
}

p.author {
    margin-top: -5px;
}

p.journal {
    margin-top: -5px;
}

a.arxiv_url {
    text-decoration: underline;
    color: rgb(17, 131, 207);
}


.publication-item strong {
    color: black;
}

h2.pubtitle {
    margin-top: 0px;
}
