/* Smort Contact Block Styles */

.smort-contact {
  padding: 4rem 0;
}

.smort-contact-container {
  max-width: 1280px;
}

.smort-contact-header {
  margin-bottom: 3rem;
}

.smort-contact-title {
  font-size: 2.5rem;
  font-weight: var(--font-weight-heading);
  margin-bottom: 1rem;
}

.smort-contact-description {
  font-size: 1.125rem;
  line-height: 1.75;
}

/* Grid Layouts */
.smort-contact-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .smort-contact-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .smort-contact-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .smort-contact-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Card Styles */
.smort-contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: var(--border-radius-smort);
  transition: transform 0.3s ease;
  background: var(--white);
  background-color: var(--secondary-foreground);
}

.smort-contact-card-default {
  background: transparent;
}

.smort-contact-card-bordered {
  border: 1px solid var(--border-light);
}

.smort-contact-card-filled {
  background: rgba(0, 0, 0, 0.03);
}

/* Icon */
.smort-contact-icon-wrapper {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(
    50% 0%,
    56% 1.5%,
    88% 23.5%,
    90% 28%,
    90% 72%,
    88% 76.5%,
    56% 98.5%,
    50% 100%,
    44% 98.5%,
    12% 76.5%,
    10% 72%,
    10% 28%,
    12% 23.5%,
    44% 1.5%
  );
  background: var(--primary);
}

.smort-contact-icon {
  width: 28px;
  height: 28px;
  color: var(--white);
}

/* Content */
.smort-contact-content {
  flex: 1;
  min-width: 0;
}

.smort-contact-label {
  font-size: 0.875rem;
  font-weight: var(--font-weight-heading);

  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.smort-contact-value {
  font-size: 1.125rem;
  font-weight: var(--font-weight-body);
  line-height: 1.5;
  word-break: break-word;
  text-decoration: none;
  display: block;
  transition: opacity 0.2s ease;
}

a.smort-contact-value:hover {
  opacity: 0.7;
}

/* List Layout */
.smort-contact-list .smort-contact-card {
  max-width: 600px;
  margin: 0 auto;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .smort-contact {
    padding: 3rem 0;
  }

  .smort-contact-header {
    margin-bottom: 2rem;
  }

  .smort-contact-title {
    font-size: 2rem;
  }

  .smort-contact-description {
    font-size: 1rem;
  }

  .smort-contact-card {
    padding: 1.5rem;
    gap: 1rem;
  }

  .smort-contact-icon-wrapper {
    width: 56px;
    height: 56px;
  }

  .smort-contact-icon {
    width: 24px;
    height: 24px;
  }

  .smort-contact-value {
    font-size: 1rem;
  }
}

/* smort-contact unified heading scale */
.smort-contact h1 {
  font-size: var(--h1-lg-size);
  line-height: var(--h1-lg-height);
  font-weight: var(--font-weight-heading);
}

.smort-contact h2 {
  font-size: var(--h2-lg-size);
  line-height: var(--h2-lg-height);
  font-weight: 600;
}

.smort-contact h3 {
  font-size: var(--h4-lg-size);
  line-height: var(--h3-lg-height);
  font-weight: var(--font-weight-heading);
}

.smort-contact h4 {
  font-size: var(--h4-lg-size);
  line-height: var(--h4-lg-height);
  font-weight: var(--font-weight-heading);
}

@media (width <= 768px) {
  .smort-contact h1 {
    font-size: var(--h1-sm-size);
    line-height: var(--h1-sm-height);
  }

  .smort-contact h2 {
    font-size: var(--h2-sm-size);
    line-height: var(--h2-sm-height);
  }

  .smort-contact h3 {
    font-size: var(--h3-sm-size);
    line-height: var(--h3-sm-height);
  }

  .smort-contact h4 {
    font-size: var(--h4-sm-size);
    line-height: var(--h4-sm-height);
  }
}
