@charset "utf-8";
/* CSS Document */
.autotalli-card{
  text-align:center;
  height:100%;
}

.kuva{
  width:100%;
  aspect-ratio: 4/3;
  object-fit: cover;

  border-radius: 1rem;

  transition:
    transform .25s ease,
    box-shadow .25s ease;

  box-shadow:
    0 4px 18px rgba(0,0,0,.08);
}

.kuva:hover{
  transform: translateY(-4px);

  box-shadow:
    0 12px 28px rgba(0,0,0,.16);
}

.tutustu-painike{
  margin-top: 0.75rem;
}

.autotalli-text2{
  margin-top: .5rem;
  font-size: .95rem;
  color:#666;
}
/* ===============================
   Mainospalkki etusivu
   =============================== */
.cta-time-section {
  width: 100%;
  padding: 1px 16px 10px;
  box-sizing: border-box;
}

.cta-time-box {
  max-width: 1090px;
  margin: 0 auto;
  border-radius: 16px;
  background: linear-gradient(90deg, #f7f2ea 0%, #f4e7cf 55%, #efd6a8 100%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.cta-time-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  text-decoration: none;
  text-align: center;
  color: #2f2f2f;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-time-link:hover {
  transform: translateY(-1px);
}

.cta-main {
  font-weight: 700;
  font-size: clamp(1.15rem, 1.2vw + 0.8rem, 2rem);
  color: #202020;
  white-space: nowrap;
}

.cta-sub {
  font-weight: 400;
  font-size: clamp(1.05rem, 1vw + 0.75rem, 1.75rem);
  color: #4a433a;
  white-space: nowrap;
}

.cta-arrow {
  font-size: clamp(1.1rem, 1vw + 0.7rem, 1.6rem);
  font-weight: 600;
  color: #3a332c;
  line-height: 1;
  transform: translateY(-1px);
}
@media (max-width: 576px) {
  .cta-time-link {
    flex-direction: column;
    padding: 14px 16px;
    gap: 4px;
  }

  .cta-main,
  .cta-sub {
    white-space: normal;
    line-height: 1.25;
  }
}