/* Only the related cards and closing CTA in the Google profile guide. */
.google-profile-guide #weiterlesen .reading-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 16px;
  align-items: stretch;
}

.google-profile-guide #weiterlesen .reading-grid > .reading-card {
  width: auto !important;
  min-width: 0;
  grid-column: auto !important;
  justify-self: stretch !important;
  display: flex;
  flex-direction: column;
}

.google-profile-guide #weiterlesen .reading-card h3 {
  margin: 12px 0;
  line-height: 1.3;
}

.google-profile-guide #weiterlesen .reading-card p {
  margin-top: auto;
}

.google-profile-guide .contact > .container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.google-profile-guide .contact-panel {
  width: 100% !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 28px !important;
}

.google-profile-guide .contact-panel > div {
  min-width: 0;
  max-width: none !important;
}

.google-profile-guide .contact-panel h2 {
  max-width: 900px !important;
  font-size: clamp(1.8rem, 3.1vw, 3rem) !important;
  line-height: 1.16 !important;
  overflow-wrap: normal !important;
  word-break: normal;
  hyphens: none !important;
}

.google-profile-guide .contact-panel .cta-actions {
  width: 100%;
  justify-self: start !important;
  justify-content: flex-start;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.google-profile-guide .contact-panel .button {
  min-height: 52px;
  max-width: 100%;
  padding: 14px 22px;
  font-size: .9rem;
  line-height: 1.4;
  text-align: center;
}

.google-profile-guide .contact-panel .button-primary:hover {
  background: var(--blue) !important;
}

.google-profile-guide .contact-panel .button-secondary {
  color: var(--ink) !important;
  border-color: var(--line-strong) !important;
  background: #fff !important;
  box-shadow: none !important;
}

.google-profile-guide .contact-panel .button-secondary:hover {
  background: var(--blue-soft) !important;
}

@media (max-width: 640px) {
  .google-profile-guide .contact-panel .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .google-profile-guide .contact-panel .button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .google-profile-guide .contact-panel h2 {
    font-size: clamp(1.35rem, 6.3vw, 1.8rem) !important;
  }
}
