/*
Theme Name: Impreza Child
Template: Impreza
Version: 1.0
Author:	UpSolution
Theme URI: http://impreza.us-themes.com/
Author URI: http://us-themes.com/
*/

/*Add your own styles here:*/
.mewpostpage .post {
      margin: 0 auto;
      padding: 3rem 2rem 5rem;
    }

    /* Category tag */
.mewpostpage .post-tag {
      display: inline-block;
      background: #e0f2fe;
      color: #0284c7;
      font-size: 0.72rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 0.3rem 0.85rem;
      border-radius: 100px;
      margin-bottom: 1.2rem;
    }

    /* Heading */
    .mewpostpage .post h1 {
      font-size: clamp(1.9rem, 4vw, 2.8rem);
      font-weight: 700;
      color: #1a3a5c;
      line-height: 1.2;
      letter-spacing: -0.025em;
      margin-bottom: 1.5rem;
    }

    /* Author + Date */
   .mewpostpage .post-meta {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      margin-bottom: 2rem;
      padding-bottom: 1.5rem;
      border-bottom: 1px solid #e5e7eb;
    }

    .mewpostpage .avatar {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: linear-gradient(135deg, #0ea5e9, #1a3a5c);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.75rem;
      font-weight: 700;
      color: #fff;
      flex-shrink: 0;
    }

    .mewpostpage .meta-text {}
    .mewpostpage .author-name {
      font-size: 0.9rem;
      font-weight: 600;
      color: #1e2a38;
    }
    .mewpostpage .publish-date {
      font-size: 0.78rem;
      color: #9ca3af;
      margin-top: 0.1rem;
    }

    /* Hero Image */
    .mewpostpage .post-image {
      width: 100%;
      aspect-ratio: 16/8;
      border-radius: 10px;
      background: linear-gradient(135deg, #0a1628 0%, #0e3a6e 45%, #0ea5e9 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 2.5rem;
      overflow: hidden;
    }

   .mewpostpage .post-image span {
      font-size: 5rem;
      opacity: 0.35;
    }

    /* Content */
    .mewpostpage .post-content p {
      font-size: 1rem;
      line-height: 1.85;
      color: #374151;
      margin-bottom: 1.5rem;
    }

    .mewpostpage .post-content p.lead {
      font-size: 1.1rem;
      color: #0ea5e9;
      line-height: 1.8;
    }

    .mewpostpage .post-content h2 {
      font-size: 1.4rem;
      font-weight: 700;
      color: #1a3a5c;
      margin: 2.5rem 0 1rem;
      padding-left: 1rem;
      border-left: 3px solid #0ea5e9;
      letter-spacing: -0.02em;
    }

    .mewpostpage .post-content blockquote {
      background: #f0f9ff;
      border-left: 4px solid #0ea5e9;
      border-radius: 0 8px 8px 0;
      padding: 1.25rem 1.5rem;
      margin: 2rem 0;
    }

    .mewpostpage .post-content blockquote p {
      font-style: italic;
      color: #1a3a5c;
      margin: 0 0 0.4rem;
    }

    .mewpostpage .post-content blockquote cite {
      font-size: 0.78rem;
      color: #9ca3af;
      font-style: normal;
      font-weight: 600;
    }

    .mewpostpage .post-content ul {
      list-style: none;
      margin: 1rem 0 1.75rem;
      padding: 0;
    }

    .mewpostpage .post-content ul li {
      font-size: 0.97rem;
      color: #374151;
      line-height: 1.7;
      padding: 0.5rem 0 0.5rem 1.5rem;
      border-bottom: 1px solid #f3f4f6;
      position: relative;
    }

    .mewpostpage .post-content ul li:last-child { border: none; }

    .mewpostpage .post-content ul li::before {
      content: '';
      position: absolute;
      left: 0; top: 1rem;
      width: 7px; height: 7px;
      border-radius: 50%;
      background: #0ea5e9;
    }

/*Added on 22/6/26*/
.bio_popup {
    display: none; 
    position: fixed; 
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6); 
    z-index: 99999; 
}
.euston-team__img-wrap{
  width: 100%;
}

.bio_popup.active {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-in-out;
}


.modal-content {
    background-color: #ffffff;
    padding: 50px;
    width: 90%;
    max-width: 1170px; 
    max-height: 80vh; 
    overflow-y: auto; 
    border-radius: 10px;
    position: relative; 
    box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.3);
}
.modal-content .img_wrap{width:100%; max-width: 502px;border-radius: 10px; padding-right: 30px;}
.modal-content .img_wrap img{width:100%;  margin-bottom: 25px; border-radius:16px; }


.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 45px;
  font-weight: lighter;
  color: #d9d9d9;
  cursor: pointer;
  transition: color 0.2s;
}

.close-btn:hover {
    color: #000; 
}

.cont_wrap{ display: flex; }
.left_cont{width: 50%; padding-right: 30px; display: flex; flex-direction: column; justify-content: flex-start;align-items: flex-start;}
.left_cont a{color: #1db4e9; font-size:16px; font-weight: 500; padding: 5px 20px; border: 1px solid #1db4e9; border-radius: 30px; display: flex; align-items: center;box-shadow: 0 1px 2px 0 rgba(0,0,0,0.35);}
.left_cont a i{margin-right:8px;}
.right_cont{width:50%;}
.right_cont h3{margin-bottom:10px; font-size: 40px; text-transform: uppercase;}
.right_cont h6{font-size: 17px; font-weight: 600; margin-botom: 20px;}
.modal-content .right_cont p{font-size:16px; line-height: 24px;}

/* Smooth entry animation */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
@media(max-width:991px){
  .modal-content .right_cont p{font-size:14px; line-height: 20px;}
  .right_cont h3{font-size:30px;}
}
@media(max-width:767px){
  .modal-content{padding: 30px;}
  .cont_wrap{text-align: center; flex-direction: column;}
  .left_cont,.right_cont{width: 100%;}
  .left_cont{justify-content: center; align-items: center; padding-bottom:20px;padding-right: 0}
  .modal-content .img_wrap{padding: 0;}
  .modal-content .img_wrap img{margin-bottom: 20px;}
  .modal-content p{font-size:13px; line-height: 17px;}
}