.two-columns {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* Left column */
.about_left {
  width: 30%;
}

.top_author_image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Right column */
.about_right {
  width: 70%;
}

@media (max-width: 768px) {
  .two-columns {
    flex-direction: column;
  }

  .about_left,
  .about_right {
    width: 100%;
  }
}


.author-card .list_wrapper ul li .inner {
    width: 100%;
    height: 100%;
    clear: both;
    float: left;
    position: relative;
    border: 1px solid rgba(0, 0, 0, .1);
    background-color: #fff;
    padding: 45px 30px 40px 30px;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

.tokyo_tm_portfolio .author-ul li {
    margin: 0px 0px 40px 0px;
    float: left;
    width: 100%;
    padding-left: 40px;
}

.tokyo_tm_services .list ul li .title {
    font-weight: 700;
    color: #000;
    font-size: 18px;
    margin-bottom: 15px;
}

li {
  list-style: none;
}

p {
  text-align: justify;
}

.grayscale {
  filter: grayscale(100%);
}
.nullpadding {
    padding: 0px !important;
}

.img-animation {
    transition: transform 0.25s ease-in-out;
    width: 100%;
    height: 100%;
    object-fit: cover;    
}
.img-animation:hover {
    transform: scale(1.1);
} 

.hover-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1rem;           /* adjust as needed */
    font-weight: bold;
    text-align: center;
    opacity: 0;
    transition: opacity 0.25s ease-in-out;
    pointer-events: none;       /* so image hover still works */
    z-index: 2;                 /* make sure text is on top */
}

.hover-container {
    position: relative;         /* parent container for overlay */
    overflow: hidden;           /* hide zoom overflow */
}
@media (max-width: 768px) {
    .box_inner {
      width: 90% !important;
      margin: 0 auto !important;
    }
    .tokyo_tm_portfolio .portfolio_list li {
      width: 100%;
      padding-left: 0px !important;
    }
    p {
  font-size: 14px;
}

}

.author-name { 
    font-size: 12px;
    font-weight: 800;
    color: #525252;
}

.null-margin {
    margin: 0px !important;
}

.margin-top-10 {
    margin-top: 10px !important;
}

.email-span {
    min-width: 10px !important;
}


.author-portrait.hover-container {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 5px; /* Optional: adds rounded corners */
}

.author-portrait.hover-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.author-portrait.hover-container:hover img {
    transform: scale(1.05); /* Optional: slight zoom on hover */
}

.hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Black with 70% opacity */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none; /* Allows clicking through overlay to the link */
}

.author-portrait.hover-container:hover .hover-overlay {
    opacity: 1;
}

.author-name-hover {
    color: white;
    font-size: 1.2em;
    font-weight: 600;
    text-align: center;
    padding: 10px;
    font-family: 'Mulish', sans-serif;
    letter-spacing: 0.5px;
}

/* About two columns */


.about_flex {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.about_image_col {
  flex: 0 0 auto;
}

.about_text_col {
  flex: 1;
}

/* Mobile layout: stack into one column */
@media (max-width: 768px) {
  .about_flex {
    flex-direction: column;
  }

  .about_image_col {
    width: 100% !important;
  }
}