/**
 * About Page Styles
 *
 * @package Errand
 */

/* Hero */
.about-hero {
	background: linear-gradient(135deg, #667eea 0%, #10b981 100%);
	color: #fff;
	padding: 80px 0 70px;
	position: relative;
}

.about-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(1000px 300px at 20% 0%, rgba(255,255,255,.12), transparent 60%),
		radial-gradient(800px 250px at 80% 10%, rgba(255,255,255,.12), transparent 60%);
	pointer-events: none;
}

.about-hero-content {
	position: relative;
}

.about-title {
	font-size: 2.75rem;
	font-weight: 800;
	line-height: 1.15;
	margin: 0 0 12px;
	color: white;
}

.about-subtitle {
	font-size: 1.125rem;
	line-height: 1.7;
	opacity: .95;
	max-width: 760px;
	color: white;
}

.about-hero-actions {
	display: flex;
	gap: .75rem;
	justify-content: center;
	margin-top: 22px;
}

.about-hero-actions .btn-primary {
    color: white !important;
}

.about-hero-actions .btn-outline {
    color: white !important;
    border-color: white;
}

/* Sections */
.about-section {
	padding: 56px 0;
}

.section-title {
	font-size: 1.75rem;
	font-weight: 700;
	margin: 0 0 18px;
}

.section-text {
	font-size: 1rem;
	color: #475569;
	line-height: 1.8;
}

/* Cards */
.cards-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 18px;
}

.about-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 20px 18px;
	box-shadow: 0 6px 18px rgba(0,0,0,.06);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.about-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 30px rgba(0,0,0,.08);
	border-color: #cbd5e1;
}

.card-icon {
	width: 52px;
	height: 52px;
	border-radius: 12px;
	background: linear-gradient(135deg, #667eea, #10b981);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 12px;
}

.card-icon i { font-size: 1.25rem; }

.card-title {
	font-size: 1.125rem;
	font-weight: 700;
	margin: 0 0 8px;
}

.card-text {
	color: #475569;
	line-height: 1.7;
	margin: 0;
}

/* Overseas */
.overseas-grid {
	display: grid;
	grid-template-columns: 1.4fr .9fr;
	gap: 22px;
	align-items: stretch;
}

.overseas-text p { margin: 0 0 10px; color: #475569; }

.checklist {
	margin: 10px 0 0;
	padding-left: 18px;
}

.checklist li { margin-bottom: 6px; color: #475569; }

.cta-card {
	background: #0ea5e9;
	background: linear-gradient(135deg, #6366f1, #22c55e);
	color: #fff;
	border-radius: 14px;
	padding: 22px 20px;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.cta-title { font-size: 1.25rem; font-weight: 700; margin: 0 0 8px; color: #fff; }
.cta-text { opacity: .95; margin: 0 0 14px; color: #fff; }

.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.cta-actions .btn-primary.btn-large {
    color: white;
}

.cta-actions .btn-secondary.btn-large {
    color: white;
}

/* Features */
.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 18px;
}

.feature-item {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 18px 16px;
	text-align: left;
}

.feature-item i { color: #2563eb; font-size: 1.25rem; }
.feature-item h4 { margin: 8px 0 6px; font-weight: 700; }
.feature-item p { margin: 0; color: #475569; line-height: 1.7; }

/* Editor section */
.editor-section .editor-content { line-height: 1.8; }
.editor-section .editor-content p { margin-bottom: 12px; }

/* Buttons baseline (rely on existing theme buttons) */
.btn { text-decoration: none !important; }
.btn-outline { color: #0f172a !important; border-color: #0f172a; }
.btn-outline:hover { 
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Responsive */
@media (max-width: 992px) {
	.overseas-grid { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
	.about-title { font-size: 2.1rem; }
	.about-hero { padding: 64px 0 56px; }
}
