/* RMH Trading | Tarjetas CUADRADAS completas en el mega-menú de Servicios. */
@media (min-width:1121px) {
  #rmh-mega-servicios .rmh-mega__content--services {
    grid-template-columns:minmax(286px, 340px) minmax(0,1fr);
    column-gap:clamp(20px,2.25vw,42px);
    padding:clamp(16px,1.8vw,30px) clamp(20px,3.1vw,55px) clamp(16px,1.8vw,30px);
    align-items:start;
  }
  #rmh-mega-servicios .rmh-mega__intro--services h2 {
    font-size:clamp(1.8rem,2.25vw,2.55rem);
    line-height:1.07;
    max-width:none;
    overflow-wrap:normal;
    word-break:normal;
    hyphens:none;
  }
  #rmh-mega-servicios .rmh-mega__cards--services {
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:clamp(10px,.95vw,17px);
    align-items:start;
  }
  #rmh-mega-servicios .rmh-mega-card--six {
    box-sizing:border-box;
    width:min(100%,360px);
    justify-self:center;
    aspect-ratio:1 / 1;
    display:flex;
    flex-direction:column;
    gap:0;
    min-height:0;
    padding:0 0 9px;
    overflow:hidden;
    background:#fff;
    border:1px solid #e9e4df;
    color:#172633;
    text-decoration:none;
    transition:background .25s ease,border-color .25s ease,box-shadow .25s ease;
  }
  #rmh-mega-servicios .rmh-mega-card--six .rmh-mega-card__image {
    display:block;
    width:100%;
    height:70%;
    max-height:70%;
    flex:none;
    aspect-ratio:auto;
    min-height:0;
    margin:0 0 6px;
    overflow:hidden;
  }
  #rmh-mega-servicios .rmh-mega-card--six .rmh-mega-card__image img {
    display:block;width:100%;height:100%;object-fit:cover;
  }
  #rmh-mega-servicios .rmh-mega-card--six .rmh-mega-card__index {
    margin:0 10px 3px;
    font-size:clamp(8px,.6vw,10px);
    flex:none;
  }
  #rmh-mega-servicios .rmh-mega-card--six .rmh-mega-card__title {
    margin:0 10px 4px;
    padding:0;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:4;
    overflow:hidden;
    font-size:clamp(11px,.88vw,14px);
    line-height:1.27;
    min-height:0;
    hyphens:none;
  }
  #rmh-mega-servicios .rmh-mega-card--six .rmh-mega-card__title svg {display:none;}
  #rmh-mega-servicios .rmh-mega-card--six .rmh-mega-card__type {
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
    margin:0 10px;
    font-size:clamp(9px,.69vw,11px);
    line-height:1.25;
    min-height:0;
    flex:0 1 auto;
  }
  #rmh-mega-servicios .rmh-mega-card--six:hover {
    background:#fffaf7;
    border-color:#E18763;
    box-shadow:0 10px 24px rgba(97,32,39,.11);
  }
}
@media (min-width:1121px) and (max-width:1250px) {
  #rmh-mega-servicios .rmh-mega__content--services {
    grid-template-columns:minmax(260px,300px) minmax(0,1fr);
    column-gap:18px;
    padding-inline:21px;
  }
  #rmh-mega-servicios .rmh-mega-card--six .rmh-mega-card__image {height:62%;max-height:62%;}
  #rmh-mega-servicios .rmh-mega-card--six .rmh-mega-card__title{font-size:11px;}
  #rmh-mega-servicios .rmh-mega-card--six .rmh-mega-card__type{font-size:9px;}
}
