/* -----------------------------------------------------------------
   Partnership Plugin - Frontend Grid Stylesheet
   Matches shopidevs.com/partners 3-column responsive grid layout
----------------------------------------------------------------- */

.partnership-apps-container {
  width: 100%;
  padding: 48px 20px;
  background-color: #f5f6f7;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  text-align: center;
  box-sizing: border-box;
}

.partnership-apps-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.partnership-heading {
  font-size: 28px;
  font-weight: 700;
  color: #333333;
  margin: 0 0 36px 0;
}

/* 3-Column Responsive Grid Layout */
.partnership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 992px) {
  .partnership-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .partnership-grid {
    grid-template-columns: 1fr;
  }
}

/* App Card Styling */
.partnership-card {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  padding: 36px 24px 28px 24px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.partnership-card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* App Logo Wrapper & Image */
.app-logo-wrapper {
  width: 96px;
  height: 96px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-logo {
  width: 96px;
  height: 96px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

/* App Title & Short Description */
.app-title {
  font-size: 18px;
  font-weight: 700;
  color: #4a4a4a;
  margin: 0 0 16px 0;
  line-height: 1.35;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.app-description {
  font-size: 13.5px;
  color: #666666;
  line-height: 1.55;
  margin: 0 0 28px 0;
  flex-grow: 1;
  text-align: center;
  max-width: 280px;
}

/* Green "Learn More" Button */
.app-learn-more-btn {
  display: inline-block;
  background-color: #8CB843;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 0;
  width: 140px;
  border-radius: 4px;
  text-decoration: none !important;
  transition: background-color 0.2s ease;
  text-align: center;
}

.app-learn-more-btn:hover {
  background-color: #79a736;
}
