/**
 * BIG-MEDIA Comune ACoR — Stiluri pagină individuală comună
 * Clase noi .bmc-pg__ și .bmc-acc__ pentru a evita conflicte cu tema.
 */

/* ── Breakout din container (ieșire din col îngust al temei) ── */
body.bmc-page-wide .main-content-area,
body.bmc-page-wide .site-main,
body.bmc-page-wide .entry-content,
body.bmc-page-wide .page-content,
body.bmc-page-wide article.hentry,
body.bmc-page-wide .content-area {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

/* ── Wrapper principal ── */
.bmc-pg {
	font-family: inherit;
	color: #1a2740;
	width: 100vw;
	position: relative;
	left: 50%;
	margin-left: -50vw;
	box-sizing: border-box;
	overflow-x: hidden;
}

/* ══ ADERARE ACoR ══════════════════════════════════════════════ */
.bmc-pg__acor {
	text-align: center;
	padding: 48px 5% 40px;
	border-bottom: 1px solid #e8edf6;
	background: #fff;
}

.bmc-pg__acor-title {
	font-size: 1.4rem;
	font-weight: 700;
	color: #0d2145;
	margin: 0 0 10px;
}

.bmc-pg__acor-sub {
	font-size: 15px;
	color: #374151;
	margin: 0 0 24px;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

.bmc-pg__acor-btns {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 14px;
}

.bmc-pg__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 22px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	border: 1.5px solid #c8d6ea;
	border-radius: 6px;
	background: #fff;
	color: #0d2145;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.18s, border-color 0.18s, color 0.18s;
}

.bmc-pg__btn:hover {
	background: #0d2145;
	border-color: #0d2145;
	color: #fff;
}

.bmc-pg__btn--off {
	opacity: 0.38;
	cursor: not-allowed;
	pointer-events: none;
	background: #f4f6fa;
	border-color: #dce3ee;
	color: #8a9ab5;
}

/* ══ SECȚIUNE GENERICĂ ════════════════════════════════════════ */
.bmc-pg__section-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: #0d2145;
	text-align: center;
	margin: 0 0 28px;
}

.bmc-pg__inner {
	width: 88%;
	max-width: 900px;
	margin: 0 auto;
}

/* ══ DESCRIERE ════════════════════════════════════════════════ */
.bmc-pg__desc {
	padding: 48px 0;
	background: #f8fafd;
	border-bottom: 1px solid #e8edf6;
}

/* ══ ACORDEON ════════════════════════════════════════════════ */
.bmc-acc {
	border: 1.5px solid #dce6f5;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 2px 10px rgba(13,33,69,.05);
}

.bmc-acc__item {
	border-bottom: 1px solid #dce6f5;
}

.bmc-acc__item:last-child {
	border-bottom: none;
}

/* Tab închis — bleumarin */
.bmc-acc__btn {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 22px;
	background: #0d2145;
	border: none;
	cursor: pointer;
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	text-align: left;
	transition: background 0.15s;
}

.bmc-acc__btn span { flex: 1; }

.bmc-acc__btn:hover {
	background: #1a3a6c;
}

.bmc-acc__arrow {
	flex-shrink: 0;
	stroke: rgba(255,255,255,0.8);
	transition: transform 0.25s ease;
}

/* Tab deschis — alb cu border jos */
.bmc-acc__item.is-open > .bmc-acc__btn {
	background: #fff;
	color: #0d2145;
	border-bottom: 2px solid #dce6f5;
}

.bmc-acc__item.is-open > .bmc-acc__btn .bmc-acc__arrow {
	stroke: #4a7ab5;
	transform: rotate(180deg);
}

/* Corp acordeon */
.bmc-acc__body {
	/* display controlat prin JS */
	background: #fff;
}

.bmc-acc__content {
	padding: 24px 26px;
	font-size: 15px;
	line-height: 1.85;
	color: #374151;
}

.bmc-acc__content p {
	margin: 0 0 14px;
}

.bmc-acc__content p:last-child {
	margin-bottom: 0;
}

/* Stema în acordeon */
.bmc-acc__content--stema {
	display: flex;
	align-items: flex-start;
	gap: 24px;
}

.bmc-acc__stema-img {
	width: 90px;
	height: auto;
	object-fit: contain;
	flex-shrink: 0;
	border: 1px solid #e0e8f4;
	border-radius: 4px;
	padding: 8px;
	background: #f8fafd;
}

.bmc-acc__stema-text { flex: 1; }

/* ══ PRIMAR ══════════════════════════════════════════════════ */
.bmc-pg__primar {
	padding: 0;
	background: #fff;
	border-bottom: 1px solid #e8edf6;
	display: flex;
	justify-content: center;
}

.bmc-pg__primar-card {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 32px;
	padding: 40px 5%;
	width: 100%;
}

.bmc-pg__primar-avatar {
	width: 150px;
	height: 150px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
	border: 3px solid #dce6f5;
	background: #e8edf6;
}

.bmc-pg__primar-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.bmc-pg__primar-info {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.bmc-pg__primar-role {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: #64748b;
	text-transform: uppercase;
	margin: 0;
}

.bmc-pg__primar-name {
	font-size: 22px;
	font-weight: 700;
	color: #0d2145;
	margin: 0;
}

/* ══ CONTACT ════════════════════════════════════════════════ */
.bmc-pg__contact {
	padding: 48px 0;
	background: #f8fafd;
}

.bmc-pg__contact-grid {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 0;
	border: 1.5px solid #dce6f5;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(13,33,69,.05);
}

.bmc-pg__contact-box {
	background: #0d2145;
	color: #fff;
	padding: 32px 36px;
}

.bmc-pg__contact-title {
	font-size: 17px;
	font-weight: 700;
	color: #fff;
	margin: 0 0 20px;
}

.bmc-pg__contact-row {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	color: rgba(255,255,255,.9);
	margin: 0 0 14px;
	line-height: 1.5;
}

.bmc-pg__contact-row svg {
	flex-shrink: 0;
	stroke: rgba(255,255,255,.6);
	margin-top: 2px;
}

.bmc-pg__contact-row a {
	color: rgba(255,255,255,.85);
	text-decoration: none;
	word-break: break-all;
}

.bmc-pg__contact-row a:hover {
	color: #fff;
	text-decoration: underline;
}

.bmc-pg__map {
	min-height: 300px;
}

.bmc-pg__map iframe {
	width: 100%;
	height: 100%;
	min-height: 300px;
	border: none;
	display: block;
}

/* ══ RESPONSIVE ═════════════════════════════════════════════ */
@media (max-width: 768px) {
	.bmc-pg__acor { padding: 32px 5% 28px; }

	.bmc-acc__btn { font-size: 14px; padding: 14px 16px; }
	.bmc-acc__content { padding: 18px 16px; }

	.bmc-acc__content--stema {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.bmc-pg__primar-card {
		flex-direction: column;
		text-align: center;
		padding: 28px 5%;
		gap: 18px;
	}

	.bmc-pg__primar-info { align-items: center; }
	.bmc-pg__primar-avatar { width: 110px; height: 110px; }

	.bmc-pg__contact-grid {
		grid-template-columns: 1fr;
	}

	.bmc-pg__contact-box { padding: 24px 20px; }
	.bmc-pg__map { min-height: 240px; }
	.bmc-pg__map iframe { min-height: 240px; }
}
