/* Styles for the custom widget */
.custom-widget {
    position: relative;
}

.custom-image {
    width: 100%;
    height: 300px;
    position: relative;
    background-size: cover;
    background-position: center;
}


.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #F29100;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-image:hover .overlay {
    opacity: 0.8;
}

.hover-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-image:hover .hover-content {
    opacity: 1;
}

.popup-box {
    width: 1000px;
    max-width: 100%;
    height: 500px;
    background-color: #fff;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    display: none;
    padding: 20px;
    box-sizing: border-box;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1120px) {
    .popup-box {
        width: 100%;
        height: auto;
        max-height: 100%;
        transform: translate(-50%, -50%);
    }
}

.popup-content {
width: 60%;
height: 100%;
display: flex;
flex-direction: column;
padding: 1em;
overflow: scroll;
}
@media (max-width: 767px) {
  .popup-content{
    width:100%;
  }

}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.popup-title {
    font-size: 30px;
    margin: 0;
}

.popup-close {
    cursor: pointer;
    font-size: 24px;
}

.popup-close-icon {
    width: 60px;
    height: 60px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    background-color: #F29100;
    color: #fff;
}

.popup-body {
    flex-grow: 1;
    overflow: auto;
}

.popup-job-title {
    font-weight: bold;
}

.popup-job-description {
    margin-top: 10px;
}
.popup-image {
  width: 367px;
  height: 436px;
  background-size: cover;
  background-position: center;
  float: left;
  margin-right: 10px;
  padding: 32px;
}

@media (max-width: 767px) {
  .popup-image {
    display: none;
    width:100%;
  }
}

.close-button {
position: absolute;
top: -20px;
right: -20px;
width: 60px;
height: 60px;
border-radius: 50%;
background-color: #F29100;
color: #fff;
text-align: center;
line-height: 60px;
font-size: 3em;
cursor: pointer;
}
