﻿.main_dt .map_con {
 display: flex;
 gap: 1vw;
  }
.main_section{
padding-bottom: 3vw;
}
  .lylx-map-section {
 width: 70%;
 position: relative;
 /* height: 100%; */
  }

  .lylx-cards-section {
 width: 30%;
 display: flex;
 flex-direction: column;
 gap: 20px;
 min-width: 250px;
 /* justify-content: space-between; */
  }

  .lylx-card {
 padding: 27px;
 color: #fff;
 display: flex;
 flex-direction: column;
 gap: 12px;
 justify-content: flex-start;
 border-radius: 0;
 position: relative;
 overflow: hidden;
 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
 transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
 cursor: pointer;
  }

  .lylx-card::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 width: 5px;
 height: 100%;
 background-color: rgba(255, 255, 255, 0.3);
 transition: width 0.3s ease;
  }

  .lylx-card h2 {
 font-size: 18px;
 line-height: 1.4;
 margin: 0;
 font-weight: 500;
 position: relative;
 z-index: 2;
  }

  .lylx-card-content {
 display: none;
 font-size: 14px;
 line-height: 1.6;
 position: relative;
 z-index: 2;
  }

  .lylx-card.active .lylx-card-content {
 display: block;
  }

  .card-address {
 margin: 0 0 8px;
 font-weight: 500;
  }

  .card-route {
 margin: 0;
 opacity: 0.9;
  }

  .lylx-red-card {
 background: linear-gradient(135deg, #c1121f 0%, #a40000 100%);
  }

  .lylx-gray-card {
 background: linear-gradient(135deg, #5a6374 0%, #4b5563 100%);
  }

  .lylx-map-img {
 opacity: 0;
 z-index: 0;
 width: 100%;
 height: 100%;
 transition: all 0.5s linear;
 position: absolute;
 top: 0;
 left: 0;
  }

  .lylx-map-img.active {
 opacity: 1;
 z-index: 1;
  }
  .lylx-map-img img{width:100%;height:100%;object-fit: cover;}
  .lylx-card:hover {
 transform: translateY(-5px);
 box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
  }

  .lylx-card:hover::before {
 width: 10px;
  }
  @media only screen and (max-width:768px) {
.main_dt .map_con {
   display: flex;
   flex-direction: column-reverse;
   gap: 10px;
   margin: 0 0 10px 0;
 }

 .lylx-map-section {
   width: 100%;
   height: 400px;
 }

 .lylx-cards-section {
   width: 100%;
   display: flex;
   flex-direction: row;
   gap: 10px;
   min-width: 250px;
 }

 .lylx-card {
   padding: 10px;
 }

}



 