/* Applications Grid */
.applications-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin: 30px 0;
}

@media (max-width: 1024px) {
  .applications-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .applications-grid {
    grid-template-columns: 1fr;
  }
}

/* Application Card */
.application-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.application-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  /* border-color: #2563eb; */
}

/* Thumbnail */
.application-thumb img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* Title */
.application-title {
  margin: 10px 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.application-title a {
  text-decoration: none;
  color: #1e293b;
  transition: color 0.3s;
}

.application-item:hover .application-title a {
  color: #2563eb;
}

/* Excerpt */
.application-excerpt {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 15px;
}

/* Button */
.button-link {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 18px;
  /* background: #2563eb; */
  color: #fff;
  border-radius: 6px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}

.button-link:hover {
  /* background: #1e40af; */
  transform: scale(1.05);
}

/* single-application style */

/* Single Application Page */
.application-single {
  max-width: 1100px;
  margin: 50px auto;
  padding: 0 20px;
}

.application-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.application-thumb img {
  max-width: 500px;
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.application-header {
  flex: 1;
  min-width: 280px;
}

.application-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 15px;
}

.application-excerpt {
  font-size: 1.1rem;
  color: #475569;
  margin-bottom: 25px;
}

.application-body {
  background: #fff;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  line-height: 1.7;
  font-size: 1.05rem;
  color: #334155;
  margin-bottom: 40px;
}

.application-back {
  text-align: center;
}

/* Primary button */
.button-link {
  display: inline-block;
  padding: 12px 24px;
  background: #2563eb;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}
.button-link:hover {
  background: #1e40af;
  transform: translateY(-2px);
}

/* Secondary button */
.button-secondary {
  display: inline-block;
  padding: 10px 22px;
  background: #e2e8f0;
  color: #1e293b;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.button-secondary:hover {
  background: #cbd5e1;
}
