/* TaxiNexo T7 Gastronomía / Restaurants visual layer */
.t7-gastro-hero{margin-top:1.1rem;margin-bottom:.4rem}
.t7-gastro-hero figure{margin:0;border-radius:20px;overflow:hidden;box-shadow:0 16px 42px rgba(8,27,51,.16);background:#eef3f8;border:1px solid rgba(11,51,89,.08)}
.t7-gastro-hero img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.t7-gastro-hero figcaption{padding:.7rem 1rem .9rem;font-size:.86rem;line-height:1.45;color:#37526a;background:#fff}
.t7-gastro-card{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end;min-height:225px;padding:0;border-radius:18px;color:#fff!important;background:#10365e;box-shadow:0 14px 32px rgba(9,30,52,.12)}
.t7-gastro-card::before{content:"";position:absolute;inset:0;background-image:var(--t7-card-image);background-size:cover;background-position:center center;transform:scale(1.01)}
.t7-gastro-card::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(7,20,36,.08) 8%,rgba(6,26,48,.42) 48%,rgba(5,23,45,.92) 100%)}
.t7-gastro-card .tnx-c7-card-title,.t7-gastro-card .tnx-c7-card-link{position:relative;z-index:1;padding-left:1.05rem;padding-right:1.05rem}
.t7-gastro-card .tnx-c7-card-title{display:block;padding-top:1rem;padding-bottom:.5rem;font-size:1.12rem;line-height:1.28;font-weight:800;text-shadow:0 2px 8px rgba(0,0,0,.28)}
.t7-gastro-card .tnx-c7-card-link{display:block;padding-bottom:1rem;font-size:.9rem;font-weight:600;opacity:.95}
.t7-gastro-card:hover{transform:translateY(-2px)}
.t7-gastro-card:hover::after{background:linear-gradient(180deg,rgba(7,20,36,.02) 8%,rgba(6,26,48,.36) 42%,rgba(4,18,37,.9) 100%)}
@media (max-width:700px){
  .t7-gastro-card{min-height:210px}
  .t7-gastro-card .tnx-c7-card-title{font-size:1.04rem}
  .t7-gastro-hero{margin-top:.95rem}
}

/* T7 editorial guide expansion and second illustrations */
.t7-hub-editorial{margin:1.25rem auto 1.5rem;padding:clamp(1.15rem,3vw,2rem);border-radius:22px;background:#fff;border:1px solid #dbe3ed;color:#19324d;box-shadow:0 10px 28px rgba(10,38,69,.06)}
.t7-hub-editorial h2{font-size:clamp(1.5rem,3vw,2rem);line-height:1.2;margin:0 0 1rem;color:#102d4f}
.t7-hub-editorial h3{font-size:clamp(1.08rem,2vw,1.35rem);line-height:1.3;margin:1.6rem 0 .5rem;color:#16375e}
.t7-hub-editorial p{font-size:1.01rem;line-height:1.78;margin:.2rem 0 1rem;max-width:84ch}
.t7-gastro-second{margin-top:1.25rem;margin-bottom:1.75rem}
.t7-gastro-second figure img{aspect-ratio:16/9}
@media(max-width:700px){.t7-hub-editorial{padding:1rem 1.15rem}.t7-hub-editorial p{font-size:.99rem;line-height:1.7}}
/* T7 qa corrective: the legacy C7 rules use a more specific selector than the photo-card layer. */
.tnx-c7 .tnx-c7-grid .tnx-c7-card.t7-gastro-card{
 display:flex;flex-direction:column;justify-content:flex-end;align-items:stretch;
 position:relative;isolation:isolate;min-height:245px;padding:0;
 color:#fff;background:#10365e;border:1px solid #315574;
 text-decoration:none;border-radius:19px;overflow:hidden;
 box-shadow:0 12px 30px rgba(7,25,49,.14)
}
.tnx-c7 .tnx-c7-grid .tnx-c7-card.t7-gastro-card::before{
 content:"";position:absolute;inset:0;z-index:-2;display:block;
 width:auto;height:auto;border:0;border-radius:0;
 background-image:var(--t7-card-image);background-size:cover;background-position:center;
 transform:scale(1.015);color:transparent;grid-column:auto;grid-row:auto
}
.tnx-c7 .tnx-c7-grid .tnx-c7-card.t7-gastro-card::after{
 content:"";display:block;position:absolute;inset:0;z-index:-1;
 background:linear-gradient(180deg,rgba(4,17,32,.08) 0%,rgba(5,23,46,.28) 38%,rgba(3,17,36,.92) 100%);
 color:transparent;grid-column:auto;grid-row:auto
}
.tnx-c7 .tnx-c7-grid .tnx-c7-card.t7-gastro-card .tnx-c7-card-title{
 grid-column:auto;grid-row:auto;font-size:clamp(1.05rem,2vw,1.22rem);color:#fff;
 margin:0;padding:18px 20px 8px;line-height:1.3;letter-spacing:normal;
 text-shadow:0 2px 8px rgba(0,0,0,.38)
}
.tnx-c7 .tnx-c7-grid .tnx-c7-card.t7-gastro-card .tnx-c7-card-link{
 display:block;grid-column:auto;grid-row:auto;margin:0;padding:0 20px 20px;
 border-radius:0;width:auto;align-self:flex-start;justify-self:start;
 background:transparent;color:#fff;font-size:.9rem!important;line-height:1.2;
 font-weight:800;text-decoration:underline;text-underline-offset:4px
}
.tnx-c7 .tnx-c7-grid .tnx-c7-card.t7-gastro-card:hover,
.tnx-c7 .tnx-c7-grid .tnx-c7-card.t7-gastro-card:focus-visible{
 transform:translateY(-2px);background:#10365e;border-color:#ffca32
}
.tnx-c7 .tnx-c7-grid .tnx-c7-card.t7-gastro-card:hover .tnx-c7-card-link,
.tnx-c7 .tnx-c7-grid .tnx-c7-card.t7-gastro-card:focus-visible .tnx-c7-card-link{background:transparent;color:#fff}
@media(max-width:620px){
 .tnx-c7 .tnx-c7-grid .tnx-c7-card.t7-gastro-card{min-height:225px;padding:0}
 .tnx-c7 .tnx-c7-grid .tnx-c7-card.t7-gastro-card .tnx-c7-card-title{font-size:1.1rem;padding:18px 18px 8px}
 .tnx-c7 .tnx-c7-grid .tnx-c7-card.t7-gastro-card .tnx-c7-card-link{padding:0 18px 18px;font-size:.84rem!important}
}
