:root{
  --headline: #304862;
  --hover:    #de4640;
  --hover-dark:#c73f39;
  --text:     #4d647e;
  --muted:    #6b869c;

  --card-bg:  #f7f9fb;
  --border:   #e0e6ec;
  --shadow:   0 10px 26px rgba(48, 72, 98, .18);
  --shadow2:  0 14px 34px rgba(48, 72, 98, .22);
}

.model-inner{
  width: min(1240px, 95%);
  margin: 0 auto;
}

.model-inner--wide{
  width: min(1600px, 96%);
  margin: 0 auto;
}

@media (max-width: 640px){
  .model-inner--wide{ width: 92%; }
}

.model-title-section{ padding: 1.35rem 0 1rem; }

.model-title-stack{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:.65rem;
}

.model-title{
  margin:0;
  color:var(--headline);
  font-weight: 700 !important;
  letter-spacing: .5px;
  font-size: clamp(2.45rem, 4.6vw, 3.45rem);
  line-height: 1.02;
  text-shadow: 0 1px 0 rgba(255,255,255,.7), 0 12px 28px rgba(48,72,98,.18);
}

.model-title__make-link{
  color: var(--hover);
  text-decoration: none;
}

.model-title__make-link:hover{
  color: var(--hover-dark);
  text-decoration: none;
}

.model-like--center{
  display:flex;
  justify-content:center;
  align-items:center;
}

.model-meta-center{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:.55rem;
}

.model-meta-inline{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  flex-wrap:wrap;
}

.model-meta-item{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  padding:.38rem .7rem;
  border:1px solid var(--border);
  border-radius:999px;
  background:#fff;
  box-shadow: 0 6px 16px rgba(48,72,98,.10);
  color:var(--muted);
  font-weight:700;
  letter-spacing:.2px;
  font-size:.98rem;
}

.model-meta-icon img{ display:block; opacity:.85;
  filter: brightness(0) saturate(100%);
}
.model-meta-text{ white-space:nowrap; }

.model-stars{
  display:flex;
  justify-content:center;
  align-items:center;
}

.model-section{ padding: 1rem 0 1.25rem; }

.model-section-title{
  margin:0 0 .9rem;
  color:var(--headline);
  font-weight:700;
  letter-spacing:.2px;
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
}

.model-section-title--center{ text-align:center; }

.model-prose-section{ padding: .75rem 0 1.25rem; }

.model-prose{
  color:var(--text);
  font-size: 1.05rem;
  line-height: 1.75;
  text-align: justify;
}

.model-prose p{ margin:0; }
.model-prose p + p{ margin-top: .85rem; }

.model-prose a{
  color: var(--headline, #304862);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  font-weight: 600;
}

.model-prose a:hover,
.model-prose a:focus-visible{
  color: var(--hover, #de4640) !important;
}

.model-submitter-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 1rem;
  color: var(--headline);
  font-weight:700;
  letter-spacing: .2px;
  text-align:center;
}

.model-related-section{ padding: 1rem 0 1.25rem; }

.model-related-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.model-related-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}

.model-related-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(48,72,98,.22);
  border-color: rgba(48,72,98,.18);
  background: #ffffff;
}

.model-related-media{
  position:relative;
  display:block;
  aspect-ratio: 16 / 9;
  overflow:hidden;
  background:#e9eef4;
}

.model-related-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition: transform .35s ease;
}

.model-related-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.14));
  opacity:0;
  transition: opacity .25s ease;
}

.model-related-media:hover img{ transform: scale(1.04); }
.model-related-media:hover .model-related-overlay{ opacity:1; }

.model-related-body{
  padding: .9rem 1rem 1rem;
  display:flex;
  flex-direction:column;
  gap:.65rem;
  flex:1;
  text-align:center;
  align-items:center;
}

.model-related-title-link{ text-decoration:none; color:inherit; }

.model-related-title{
  margin:0;
  color:var(--headline);
  font-weight:700;
  letter-spacing:.2px;
  font-size: 1.15rem;
  line-height:1.15;
}

.model-related-title-link:hover .model-related-title{ color: var(--hover); }

.model-related-year{
  display:flex;
  justify-content:center;
  margin-top: .45rem;
}

.model-related-years{
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .2px;
  font-size: .95rem;
  font-family: 'Roboto Mono', 'Courier New', Courier, monospace;
}

.model-related-meta{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.75rem;
  flex-wrap:wrap;
  margin-top: .45rem;
}

.model-related-cta{
  margin-top:auto;
  display:inline-flex;
  width: fit-content;
  padding: .55rem .75rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--headline);
  font-weight:700;
  text-decoration:none;
  letter-spacing:.2px;
}

.model-related-cta:hover{
  color: var(--hover);
  border-color: rgba(222,70,64,.35);
}

.model-specs-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 900px){
  .model-specs-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.model-spec-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 1rem;
  text-align:center;
  display:flex;
  flex-direction:column;
  gap:.35rem;
}

.model-spec-icon{
  width:48px;
  height:48px;
  border-radius:999px;
  border:1px solid var(--border);
  background: var(--card-bg);
  box-shadow: 0 6px 16px rgba(48,72,98,.10);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin: 0 auto .15rem;
}

.model-spec-icon img{
  display:block;
  max-width:22px;
  max-height:22px;
  opacity:.92;
  filter: brightness(0) saturate(100%);
}

.model-spec-title{
  margin:0;
  color: var(--headline);
  font-weight:700;
  letter-spacing: .2px;
  font-size: 1.05rem;
}

.model-spec-value{
  margin:0;
  color: var(--text);
  font-weight: 600;
  font-family: 'Roboto Mono', 'Courier New', Courier, monospace;
  letter-spacing: 0.3px;
}

.model-success-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 1rem 1.1rem;
  text-align:center;
  position: relative;
}

.model-success-card::before{
  content:"";
  position:absolute;
  left: 18px;
  right: 18px;
  top: 12px;
  height: 4px;
  border-radius: 999px;
  background: rgba(48,72,98,.08);
}

.model-success-title{
  color: var(--headline);
  font-weight:700;
  letter-spacing:.2px;
  font-size: 1.35rem;
  margin-top: .25rem;
  line-height: 1.15;
}

.model-success-text{
  margin: .75rem auto 0;
  color: var(--text);
  font-weight: 700;
  letter-spacing:.1px;
  line-height: 1.6;
  max-width: 520px;
}

.model-success-card .model-inline-actions{
  margin-top: 1.15rem;
}

.model-ads-section{ padding: .75rem 0 1rem; }

@media (max-width: 420px){
  .model-title{
    font-size: 2.15rem;
    letter-spacing: .35px;
  }
}

@media (max-width: 480px){
  .model-success-card{
    padding: 1.1rem 1rem;
  }

  .model-success-text{
    font-size: .98rem;
  }
}

.model-btn{
  appearance:none;
  -webkit-appearance:none;

  display:inline-flex;
  align-items:center;
  justify-content:center;

  height:46px;
  padding:0 1.2rem;
  border-radius:14px;
  border:1px solid var(--border);

  background:var(--card-bg);
  color:var(--headline);

  font-weight:700;
  letter-spacing:.2px;
  text-decoration:none;
  cursor:pointer;

  box-shadow:0 8px 18px rgba(48,72,98,.12);
  transition:transform .12s ease, box-shadow .2s ease, filter .2s ease;
}

.model-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 30px rgba(48,72,98,.18);
  color:var(--headline);
  text-decoration:none;
}

.model-btn:focus-visible{
  outline:none;
  box-shadow:0 0 0 4px rgba(48,72,98,.18), 0 14px 30px rgba(48,72,98,.18);
}

.model-btn--primary{
  background:var(--headline);
  color:#fff;
  border-color:rgba(48,72,98,.35);
  box-shadow:0 10px 22px rgba(48,72,98,.22);
}

.model-btn--primary:hover{
  color:#fff;
  filter:brightness(1.06);
  box-shadow:0 16px 34px rgba(48,72,98,.30);
}

.model-btn--primary:active{
  transform:translateY(0);
  filter:brightness(.98);
}