/**
 * Policy / Info Pages — shared styling
 *
 * Used by: page-contact-us.php, page-about.php,
 * page-refund-return-policy.php, page-shipping-delivery-policy.php,
 * page-privacy-policy.php
 *
 * This file does NOT define its own colors/fonts - it only reads the
 * variables already set up in assets/css/design-tokens.css (--brand-*),
 * so these pages automatically match the rest of the site and update
 * themselves if the brand palette ever changes there.
 */

.ael-info-page {
	/* WIDENED (design change #1): was 820px, which read as narrow/dull
	   once the sidebar was removed (see child_force_no_sidebar_on_
	   woocommerce_pages() in inc/theme-setup.php). This max-width is set
	   here in CSS, not in the WordPress Customizer/Astra "Container
	   Width" option, so it can't be widened from wp-admin — this file is
	   the one place controlling it. 1100px keeps paragraph text from
	   stretching to an unreadable line length while giving the two-
	   column contact grid and card blocks noticeably more breathing room.
	   Adjust this single value if a different width is wanted later. */
	max-width: 1100px;
	margin: 0 auto;
	padding: 60px 20px 80px;
	font-family: var(--brand-font-body);
	color: var(--brand-ink);
	line-height: 1.7;
}

.ael-info-page h1 {
	font-family: var(--brand-font-display);
	font-size: 2.2rem;
	font-weight: 500;
	margin-bottom: 8px;
}

.ael-info-page .ael-info-intro {
	color: var(--brand-ink-soft);
	font-size: 1.05rem;
	margin-bottom: 30px;
}

/* Small dashed line under the page title - the same "stitch line" motif
   used elsewhere on the site, so these pages feel part of the same
   brand rather than a generic WordPress page. */
.ael-info-divider {
	border: none;
	border-top: 2px dashed var(--brand-accent);
	width: 70px;
	margin: 0 0 34px;
}

.ael-info-page h2 {
	font-family: var(--brand-font-display);
	font-size: 1.35rem;
	font-weight: 500;
	margin: 36px 0 12px;
}

.ael-info-page p {
	margin: 0 0 14px;
}

.ael-info-page ul,
.ael-info-page ol {
	margin: 0 0 16px;
	padding-left: 22px;
}

.ael-info-page li {
	margin-bottom: 8px;
}

.ael-info-page a {
	color: var(--brand-accent);
	text-decoration: underline;
}

/* A bordered "card" used to box off contact details / pickup stations /
   quick-reference info blocks within a page. */
.ael-info-card {
	background: var(--brand-surface);
	border: 1px solid var(--brand-line);
	border-radius: var(--brand-radius);
	padding: 20px 24px;
	margin: 18px 0 28px;
}

.ael-info-card h3 {
	font-family: var(--brand-font-display);
	font-size: 1.05rem;
	font-weight: 500;
	margin: 0 0 10px;
}

/* ---------------------------------------------------------------------
   Contact page specific bits
--------------------------------------------------------------------- */

/* Two-column layout on wider screens: contact details on the left,
   a simple message form on the right. Stacks to one column on mobile. */
.ael-contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: start;
}

@media (max-width: 720px) {
	.ael-contact-grid {
		grid-template-columns: 1fr;
	}
}

.ael-contact-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ael-contact-list li {
	margin-bottom: 14px;
}

.ael-contact-list strong {
	display: block;
	font-size: .8rem;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--brand-ink-soft);
	margin-bottom: 2px;
}

/* Social links row - small pill-style icons/labels. */
.ael-social-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 8px;
}

.ael-social-links a {
	display: inline-block;
	padding: 8px 16px;
	border: 1px solid var(--brand-line);
	border-radius: 999px;
	font-size: .85rem;
	text-decoration: none;
	color: var(--brand-ink);
	background: var(--brand-surface);
}

.ael-social-links a:hover {
	border-color: var(--brand-accent);
	color: var(--brand-accent);
}

/* Simple contact form */
.ael-contact-form label {
	display: block;
	font-size: .85rem;
	font-weight: 600;
	margin-bottom: 6px;
}

.ael-contact-form input[type="text"],
.ael-contact-form input[type="email"],
.ael-contact-form textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--brand-line);
	border-radius: var(--brand-radius);
	font-family: var(--brand-font-body);
	font-size: .95rem;
	margin-bottom: 16px;
	background: var(--brand-surface);
	color: var(--brand-ink);
}

.ael-contact-form textarea {
	min-height: 130px;
	resize: vertical;
}

.ael-contact-form button {
	background: var(--brand-accent);
	color: var(--brand-accent-ink, #fff);
	border: none;
	border-radius: var(--brand-radius);
	padding: 12px 26px;
	font-family: var(--brand-font-body);
	font-weight: 600;
	font-size: .95rem;
	cursor: pointer;
}

.ael-contact-form button:hover {
	background: var(--brand-accent-dark);
}

.ael-contact-form-success {
	background: var(--brand-success-bg);
	color: var(--brand-success-fg);
	border-radius: var(--brand-radius);
	padding: 14px 16px;
	margin-bottom: 20px;
	font-size: .9rem;
}

.ael-contact-form-error {
	background: var(--brand-danger-bg);
	color: var(--brand-danger-fg);
	border-radius: var(--brand-radius);
	padding: 14px 16px;
	margin-bottom: 20px;
	font-size: .9rem;
}

/* ---------------------------------------------------------------------
   About page specific bits
--------------------------------------------------------------------- */
.ael-about-lead {
	font-family: var(--brand-font-display);
	font-size: 1.3rem;
	font-weight: 500;
	line-height: 1.5;
	color: var(--brand-ink);
	margin-bottom: 26px;
}

/* ---------------------------------------------------------------------
   Pickup stations list (Shipping & Delivery page) — shares styling
   with the shortcode output in inc/pickup-stations.php
--------------------------------------------------------------------- */
.afrielan-pickup-stations-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.afrielan-pickup-stations-list li {
	border: 1px solid var(--brand-line);
	border-radius: var(--brand-radius);
	padding: 14px 18px;
	margin-bottom: 12px;
	background: var(--brand-surface);
}