/**
 * In-app "Contact us" page (template page-app-contact.php).
 *
 * Standalone webview layout: logo, a grey card (a Group block with the
 * `app-contact-card` class) and stacked pill buttons from core Button
 * blocks — the default style is the primary button, "Outline" the secondary.
 *
 * @package Socios
 */

.app-contact-page {
	background: var(--bg-main-container);
}

.app-contact {
	box-sizing: border-box;
	max-width: 375px;
	margin: 0 auto;
	padding: var(--spacing-24) var(--spacing-16) var(--spacing-40);
	font-family: var(--font-family-text);
	color: var(--text-main-enabled);
	text-align: center;
}

.app-contact__logo {
	margin-bottom: var(--spacing-24);
}

.app-contact__logo img {
	display: block;
	width: 240px;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

.app-contact__content > * + * {
	margin-top: var(--spacing-24);
}

.app-contact .app-contact-card {
	padding: var(--spacing-24) var(--spacing-16);
	border-radius: var(--radius-16);
	background: var(--light-neutral-200);
	box-shadow: 0 0 16px -6px rgba(0, 0, 0, 0.16);
}

.app-contact .app-contact-card > *,
.app-contact .app-contact-card > .wp-block-group__inner-container > * {
	margin: 0;
}

.app-contact .app-contact-card > * + *,
.app-contact .app-contact-card > .wp-block-group__inner-container > * + * {
	margin-top: var(--spacing-24);
}

.app-contact h1,
.app-contact h2 {
	font-family: var(--font-family-text);
	font-size: var(--font-size-40);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -1px;
	color: var(--text-main-enabled);
}

.app-contact p {
	font-size: 15px;
	font-weight: 400;
	line-height: 24px;
}

.app-contact p a {
	color: var(--text-brand-enabled);
	text-decoration: none;
}

.app-contact .wp-block-image img {
	display: block;
	max-width: 145px;
	height: auto;
	margin: 0 auto;
}

.app-contact .wp-block-buttons {
	flex-direction: column;
	align-items: center;
	gap: var(--spacing-16);
}

.app-contact .wp-block-button__link {
	display: inline-block;
	padding: var(--spacing-16) var(--spacing-40);
	border: 2px solid var(--bg-brand-enabled);
	border-radius: 100px;
	background: var(--bg-brand-enabled);
	color: var(--text-on-dark-enabled);
	font-family: var(--font-family-text);
	font-size: var(--font-size-18);
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.app-contact .is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--text-brand-enabled);
}

.app-contact .wp-block-button__link:hover,
.app-contact .wp-block-button__link:focus-visible {
	border-color: var(--bg-brand-hover);
	background: var(--bg-brand-hover);
	color: var(--text-on-dark-enabled);
}
