
/* Modern Layout Template - shared (editor + frontend) */
.mlt-wrap{
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px;
  border-radius: 18px;
}

.mlt-title1{
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 16px 0;
}

.mlt-main{ gap: 16px; }
.mlt-left .wp-block-image img{
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.08);
}

.mlt-right{ display:flex; flex-direction:column; gap: 12px; }
.mlt-desc{
  border-radius: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(0,0,0,.10);
  min-height: 160px;
}

.mlt-cta{ gap: 12px; margin-top: 0; }
.mlt-cta .wp-block-button__link{
  border-radius: 14px;
  font-weight: 800;
  min-height: 44px;
  padding: 10px 14px;
}
.mlt-btn-primary .wp-block-button__link{
  background: #111;
  color: #fff;
  border: 1px solid rgba(0,0,0,.4);
}
.mlt-btn-ghost .wp-block-button__link{
  background: rgba(0,0,0,.04);
  color: #111;
  border: 1px solid rgba(0,0,0,.12);
}

.mlt-thumbs{
  margin-top: 14px;
  gap: 12px;
}
.mlt-thumbs .wp-block-image img{
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.08);
}

.mlt-paragraph{
  margin-top: 16px;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid rgba(0,0,0,.10);
}

@media (max-width: 900px){
  .mlt-left .wp-block-image img{ min-height: 220px; }
}
@media (max-width: 640px){
  .mlt-thumbs.columns-5{ grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 520px){
  .mlt-cta{ flex-direction: column; align-items: stretch; }
}
