/* ==========================================================================
   Apie mus (About) page — Udiena
   ========================================================================== */

.page-about .about-page-intro {
	max-width: 760px;
	margin: 0 auto 24px;
	font-size: 1rem;
	line-height: 1.7;
	color: var(--udiena-color-text);
}

.about-page-content {
	max-width: 860px;
	margin: 0 auto;
	padding: 8px 0 16px;
}

.about-section { margin-bottom: 28px; }
.about-section:last-child { margin-bottom: 0; }

/* Intro card */
.about-card {
	background: #fff;
	border: 1px solid var(--udiena-color-border);
	border-radius: var(--udiena-radius-lg);
	padding: 24px 20px;
	text-align: left;
	box-shadow: var(--udiena-shadow-sm);
}
.about-card-text { color: var(--udiena-color-text); line-height: 1.75; }
.about-card-text p { margin: 0 0 14px; color: inherit; }
.about-card-text p:last-child { margin-bottom: 0; }
.about-card-text a { color: var(--udiena-color-primary); text-decoration: underline; word-break: break-word; }
.about-card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: var(--udiena-color-bg-alt);
	color: var(--udiena-color-primary);
	margin-bottom: 16px;
}
.about-card h2 {
	font-size: 1.4rem;
	margin: 0 0 10px;
}
.about-highlight {
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--udiena-color-primary);
	margin: 0 0 8px;
}
.about-card p {
	color: var(--udiena-color-muted);
	line-height: 1.7;
	margin: 0 0 8px;
}
.about-card p:last-child { margin-bottom: 0; }

/* Info boxes */
.about-info-boxes {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}
.info-box {
	background: var(--udiena-color-bg-alt);
	border-left: 4px solid var(--udiena-color-primary);
	border-radius: 0 var(--udiena-radius) var(--udiena-radius) 0;
	padding: 20px;
}
.info-box-icon { color: var(--udiena-color-primary); margin-bottom: 10px; }
.info-box h3 { font-size: 1.1rem; margin: 0 0 8px; }
.info-box p { color: var(--udiena-color-muted); line-height: 1.7; margin: 0; }

/* Section title with side lines (shared with team section) */
.about-team .section-title,
.section-title {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	font-size: 1.4rem;
	margin: 0 0 24px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	text-align: center;
}
.section-title-line {
	flex: 1;
	max-width: 90px;
	height: 2px;
	background: var(--udiena-color-border);
}

/* Team grid (used on Kontaktai) */
.team-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}
.team-card {
	background: #fff;
	border: 1px solid var(--udiena-color-border);
	border-radius: var(--udiena-radius-lg);
	padding: 24px 16px 16px;
	text-align: center;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.team-card:hover { box-shadow: var(--udiena-shadow); transform: translateY(-2px); }
.team-card-featured { border-color: var(--udiena-color-primary); border-width: 2px; }
.team-card-featured .team-role { color: var(--udiena-color-primary); font-weight: 600; }
.team-photo {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	overflow: hidden;
	margin: 0 auto 12px;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-photo-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--udiena-color-bg-alt);
	color: #9ca3af;
}
.team-role {
	font-size: 0.78rem;
	color: var(--udiena-color-muted);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 4px;
}
.team-name { font-size: 1.1rem; margin: 0 0 10px; }
.team-contact { display: flex; flex-direction: column; gap: 6px; }
.team-contact a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	font-size: 0.85rem;
	color: var(--udiena-color-muted);
}
.team-contact a:hover { color: var(--udiena-color-primary); }
.team-contact svg { flex-shrink: 0; color: var(--udiena-color-primary); }

/* Tablet+ */
@media (min-width: 600px) {
	.about-info-boxes { grid-template-columns: repeat(2, 1fr); }
	.team-grid { grid-template-columns: repeat(2, 1fr); }
	.about-card { padding: 32px 28px; }
}

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