/* Montega tombstone cards — shared by the 3D hero and the slider.
   .mtx-tomb = 3D card on the drum, .mts-card = static card in the slider. */

.mtx-tomb,.mts-card{
  background:linear-gradient(180deg,#F9F9F9 0%,#EDEDED 100%);
  border:1px solid #CFCFCF;border-radius:3px;
  box-shadow:0 18px 44px rgba(0,0,0,.4);
  display:flex;flex-direction:column;
  transition:filter .45s ease;
}
.mtx-tomb{position:absolute;inset:0;backface-visibility:hidden;}
.mts-card{position:relative;min-height:300px;box-shadow:0 2px 6px rgba(0,0,0,.10);}

.mtx-tomb-body{padding:14px 14px 12px;text-align:center;flex:1;display:flex;flex-direction:column;justify-content:space-between;}
.mtx-tomb-logo{height:52px;margin:0 auto 8px;display:flex;align-items:center;justify-content:center;}
.mtx-tomb-logo img{max-width:100px;max-height:52px;object-fit:contain;}
.mtx-tomb-logo.mtx-wide img{max-width:130px;}
.mtx-name{font-weight:700;font-size:14px;color:#1f2a2e;}
.mtx-loc{font-size:12px;font-weight:600;color:#5a6a72;margin-top:2px;}
.mtx-amount{font-weight:800;font-size:17px;color:#1f2a2e;margin-top:8px;}
.mtx-date{font-size:12px;font-weight:600;color:#5a6a72;margin-top:2px;}
.mtx-roles{border-top:1px solid rgba(0,0,0,.1);padding-top:8px;font-size:12px;font-weight:700;color:#1f2a2e;}
.mtx-tomb-footer{background:#102426;color:#fff;font-weight:800;font-size:13px;text-align:center;padding:10px;border-radius:0 0 3px 3px;}

/* card back – Montega watermark logo, visible while a card rotates away */
.mtx-tomb-back{
  position:absolute;inset:0;transform:rotateY(180deg);backface-visibility:hidden;
  border-radius:3px;border:1px solid rgba(255,255,255,.07);
  background:radial-gradient(120% 90% at 50% 0%,#1b4a54 0%,#0e2e35 75%);
  display:flex;align-items:center;justify-content:center;
  transition:filter .45s ease;
}
.mtx-tomb-back img{width:62%;max-height:62%;object-fit:contain;}
.mtx-tomb-back.mtx-invert img{filter:invert(1);}
.mtx-tomb-back span{font-size:64px;font-weight:800;letter-spacing:.12em;color:rgba(104,224,248,.14);}

@media (max-width:560px){
  .mtx-name{font-size:13px;}
  .mtx-amount{font-size:15px;}
  .mtx-roles{font-size:11px;}
}
