/*
  Insta Exhibition - Success Stories Section
*/

.ss-section {
  background-color: #FFFFFF;
  padding: 3.25em 0;
  color: #2C3034;
}

.ss-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1em;
}

.ss-heading {
  margin-bottom: 2.25em;
}

.ss-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin: 0;
  text-align: center;
}

.ss-subtitle {
  margin: 0.75rem auto 0;
  max-width: 820px;
  text-align: center;
  color: #4A5568;
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 500;
}

.ss-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
  padding-top: 30px;
}

.ss-card {
  background: #ffffff;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  height: 100%;
}

.ss-media {
  position: relative;
}

.ss-badge {
  position: absolute;
  left: 16px;
  top: 16px;
  background: #C6050E;
  color: #ffffff;
  font-weight: 700;
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  font-size: 0.85rem;
}

.ss-media-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.ss-media-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ss-caption {
  padding: 1rem 1.1rem 1.1rem;
}

.ss-title1 {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 0 0.25rem;
  color: #111827;
}

.ss-caption-subtitle {
  color: #6b7280;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.ss-caption-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  color: #6b7280;
  font-size: 0.9rem;
  font-weight: 600;
}

.ss-panel {
  background: #ffffff;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
  height: 100%;
}

.ss-panel-inner {
  padding: 1.25rem 1.15rem 1.25rem;
  height: 100%;
}

.ss-cat {
  text-transform: uppercase;
  font-weight: 700;
  color: #C6050E;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}

.ss-block {
  margin-bottom: 1.1rem;
}

.ss-block-title {
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #111827;
}

.ss-block-text {
  margin: 0;
  color: #4A5568;
  line-height: 1.7;
  font-weight: 400;
}

.ss-divider {
  border: none;
  border-top: 1px solid #E5E7EB;
  margin: 1.25rem 0;
}

.ss-quote {
  margin: 0.5rem 0 0;
  color: #6b7280;
  font-style: italic;
  line-height: 1.6;
}

.ss-quote-author {
  margin-top: 0.6rem;
  color: #6b7280;
  font-weight: 700;
  font-size: 0.9rem;
}

.ss-quote-mark {
  color: #C6050E;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 0.8;
  margin-bottom: 0.35rem;
}

/* Mobile: always show image card first, then content panel */
@media (max-width: 767px) {
  .ss-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  /* Direct children: card wrapper is not .ss-panel; swap order on mobile */
  .ss-grid > .ss-panel {
    order: 2;
  }

  .ss-grid > :not(.ss-panel) {
    order: 1;
  }
}

@media (min-width: 768px) {
  .ss-section {
    padding: 4em 0;
  }
  .ss-grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 1.75rem;
  }
  .ss-title {
    font-size: 2.75rem;
  }
}

