/* ==========================
   General Page - Headline
   ========================== */
.headline {
  max-width: 850px;       /* keeps text nicely centered */
  margin: 3rem auto 3.5rem;
  text-align: center;
  padding: 0 1rem;
}

.headline h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
}

.headline-sub {
  font-size: 1rem;
  color: #444;
  line-height: 1.6rem;
  border-radius: 8px;
  display: inline-block;
}

.headline-sub strong {
  color: #e88e00;
  font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .headline h1 {
    font-size: 2rem;
  }
  .headline-sub {
    font-size: 0.95rem;
    padding: 0.8rem 1rem;
  }
}


/* ==========================
   Grid (Responsive)
   ========================== */
.architectures-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Desktop default */
  gap: 2rem;
  padding: 0 2rem 3rem;
  justify-items: stretch;
}

/* Tablet */
@media (max-width: 1024px) {
  .architectures-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 0 1.5rem 2.5rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .architectures-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding: 0 1rem 2rem;
  }

  .headline h1 {
    font-size: 1.8rem;
  }

  .headline-sub {
    font-size: 0.9rem;
  }
}

/* ==========================
   Card
   ========================== */
.architecture-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 320px;  /* Keeps blocks uniform height */
}

.architecture-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.card-image {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fafafa;
  padding: 1.5rem;
}

.card-image img {
  max-width: 80%;
  max-height: 160px;
  object-fit: contain;
}

.card-body {
  flex: 1;
  padding: 1rem 1.2rem;
  text-align: center;
}

.architecture-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 0.6rem;
}

.architecture-desc {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.4;
}

/* ==========================
   Footer
   ========================== */
.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1.2rem;
  border-top: 1px solid #eee;
  background: #f9f9f9;
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 10px;
  background: #e88e00;
  color: #ffffff;
  border-radius: 12px;
}

.btn-view {
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 6px;
  background: #e88e00;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s ease;
}

.btn-view:hover {
  background: #d27d00;
}
