.models-2027-section { padding-top: 55px; padding-bottom: 55px; }
.models-2027-heading { margin-bottom: 30px; }
.model-2027-card { height: 100%; margin-bottom: 30px; border: 1px solid #e7e7e7; background: #fff; box-shadow: 0 3px 14px rgba(0,0,0,.08); }
.model-2027-gallery { padding: 10px; background: #f5f5f5; }
.model-2027-main-image { display: block; height: 320px; overflow: hidden; background: #e8e8e8; }
.model-2027-main-image img { width: 100%; height: 100%; object-fit: cover; }
.model-2027-thumbnails { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.model-2027-thumbnails a { display: block; height: 88px; overflow: hidden; background: #e8e8e8; }
.model-2027-thumbnails img { width: 100%; height: 100%; object-fit: cover; }
.model-2027-content { padding: 20px 24px 24px; }
.model-2027-label { display: inline-block; margin-bottom: 8px; color: #777; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.model-2027-content h3 { margin-top: 0; }
.model-2027-specs { margin: 16px 0 20px; padding-left: 19px; }
.model-2027-specs li { margin-bottom: 7px; }
.model-2027-actions .btn { margin: 0 8px 8px 0; }
@media (max-width: 767px) {
  .model-2027-main-image { height: 250px; }
  .model-2027-thumbnails a { height: 72px; }
  .model-2027-content { padding: 18px; }
}
.models-2027-section-heading { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.model-2027-section-kicker { display: inline-block; margin-bottom: 9px; padding: 5px 13px; border-radius: 20px; background: #e8f7f8; color: #168e9c; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.model-2027-section-heading h2 { margin: 0 0 11px; color: #263746; font-size: 38px; font-weight: 800; letter-spacing: -.035em; line-height: 1.15; }
.model-2027-section-heading h2 span { color: #19a8b5; background: linear-gradient(110deg, #17b8a6, #3498db 65%, #f0a33a); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.model-2027-heading-accent { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 14px auto 13px; }
.model-2027-heading-accent span { width: 34px; height: 3px; border-radius: 3px; background: #dbe6ea; }
.model-2027-heading-accent i { width: 8px; height: 8px; border-radius: 50%; background: #f0a33a; box-shadow: 0 0 0 4px #fff2df; }
.model-2027-section-heading p { margin: 0; color: #647480; font-size: 15px; }
@media (max-width: 767px) { .model-2027-section-heading h2 { font-size: 30px; } }
/* Keep the 2027 Race and MTB cards equal in height on wider screens. */
@media (min-width: 768px) {
  .models-2027-cards { display: flex; align-items: stretch; }
  .models-2027-cards > [class*='col-'] { display: flex; }
  .models-2027-cards .model-2027-card { display: flex; flex: 1; flex-direction: column; width: 100%; }
  .models-2027-cards .model-2027-content { display: flex; flex: 1; flex-direction: column; }
  .models-2027-cards .model-2027-actions { margin-top: auto; }
}


.model-2027-content h3 { text-transform: none; }


/* Highlight the 2027 Race model on its category page. */
.models-2027-section .model-2027-section-heading { margin-bottom: 30px; }
.model-2027-feature-card { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); overflow: hidden; border: 1px solid #dce6eb; border-radius: 14px; box-shadow: 0 16px 42px rgba(28, 48, 64, .12); }
.model-2027-feature-card .model-2027-gallery { padding: 14px; }
.model-2027-feature-card .model-2027-main-image { height: auto; aspect-ratio: 4 / 3; border-radius: 8px; }
.model-2027-feature-card .model-2027-thumbnails a { height: 100px; border-radius: 5px; }
.model-2027-feature-card .model-2027-content { align-self: center; padding: 34px; }
.model-2027-feature-card .model-2027-content h3 { font-size: 30px; line-height: 1.2; }
.model-2027-feature-cta { box-shadow: 0 5px 14px rgba(35, 134, 200, .2); }
@media (max-width: 767px) {
  .model-2027-feature-card { grid-template-columns: 1fr; }
  .model-2027-feature-card .model-2027-content { padding: 24px; }
  .model-2027-feature-card .model-2027-content h3 { font-size: 26px; }
  .model-2027-feature-card .model-2027-thumbnails a { height: min(26vw, 150px); }
}

/* Show every detail thumbnail in full without cropping. */
.model-2027-feature-card .model-2027-thumbnails a {
  height: auto;
  aspect-ratio: 4 / 3;
  background: #e8e8e8;
}
.model-2027-feature-card .model-2027-thumbnails img {
  object-fit: contain;
}
@media (max-width: 767px) {
  .model-2027-feature-card .model-2027-thumbnails a {
    height: auto;
  }
}
