
.aknaf-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  padding: 15px;
  border-radius: 15px;
  background: white;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  justify-content: center;
}

.aknaf-form input,
.aknaf-form select,
.aknaf-form button {
  padding: 10px 15px;
  font-size: 16px;
  border-radius: 10px;
  border: 1px solid #ccc;
  outline: none;
  box-sizing: border-box;
}

.aknaf-form input[type="text"],
.aknaf-form input[type="search"],
.aknaf-form input:not([type="hidden"]) {
  flex: 1 1 300px;
  min-width: 300px;
}

.aknaf-form select {
  flex: 1 1 150px;
}

.aknaf-form button {
  background: #093e6b;
  color: white !important;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  text-decoration: none !important;
}

.aknaf-form button:hover {
  background: #072f52;
}

.aknaf-card-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.aknaf-card {
  background: white;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  transition: transform 0.2s ease;
}

.aknaf-card:hover {
  transform: translateY(-5px);
}

.aknaf-card h3 {
  font-size: 20px;
  margin: 10px 0;
}

.aknaf-card p {
  margin: 5px 0;
  font-size: 15px;
  line-height: 1.4;
}

.aknaf-card .aknaf-thumb {
  width: 100%;
  border-radius: 15px;
  margin-bottom: 10px;
  object-fit: cover;
}

.aknaf-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 12px;
  background: #093e6b;
  color: #fff !important;
  border-radius: 10px;
  text-decoration: none !important;
  font-size: 2em;
}

.aknaf-btn:hover {
  background: #072f52;
}

/* Tablet: 2 columns */
@media (max-width: 900px) {
  .aknaf-card-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile: 1 column */
@media (max-width: 580px) {
  .aknaf-card-container {
    grid-template-columns: 1fr;
  }

  .aknaf-form {
    flex-direction: column;
  }

  .aknaf-form input,
  .aknaf-form select,
  .aknaf-form button {
    width: 100%;
    min-width: unset;
    flex: unset;
  }

  .aknaf-form input[type="text"],
  .aknaf-form input[type="search"],
  .aknaf-form input:not([type="hidden"]) {
    min-width: unset;
    flex: unset;
    width: 100%;
  }
}

/* Mobile: smaller card buttons */
@media (max-width: 580px) {
  .aknaf-btn {
    font-size: 0.8em !important;
  }
}

/* Button font size: desktop vs mobile */
.aknaf-btn {
  font-size: 1.3em !important;
}

@media (max-width: 580px) {
  .aknaf-btn {
    font-size: 0.8em !important;
  }
}
