/* LBBC Campus Pro 18.0 — reliable compact mega menus and richer editorial homepage. */

/* Header geometry: the dropdown belongs to the whole header, not one menu label. */
.site-header,
.site-header .site-header__inner,
.site-header .primary-navigation,
.site-header .primary-menu,
.lbbc-eheader,
.lbbc-eheader__main,
.lbbc-eheader__main-inner,
.lbbc-eheader__nav { overflow: visible; }

@media (min-width: 1101px) {
	.site-header .mega-menu-item,
	.lbbc-eheader__nav > .mega-menu-item { position: static; }
	.site-header .mega-menu-panel,
	.lbbc-eheader .lbbc-eheader__mega-panel {
		position: absolute;
		z-index: 900;
		top: 100%;
		right: 0;
		left: 0;
		width: 100%;
		max-width: none;
		transform: none;
	}
	.site-header .mega-menu-panel::before,
	.lbbc-eheader .lbbc-eheader__mega-panel::before {
		position: absolute;
		right: 0;
		bottom: 100%;
		left: 0;
		height: 12px;
		content: "";
	}
	.site-header .mega-menu-grid,
	.lbbc-eheader .lbbc-eheader__mega-grid {
		width: min(calc(100% - 72px),1480px);
		min-height: 348px;
		grid-template-columns: repeat(3,minmax(0,.88fr)) minmax(330px,1.22fr);
		padding: 34px 0;
	}
	.site-header .mega-menu-column,
	.lbbc-eheader__mega-column { padding: 0 clamp(22px,2.3vw,38px); }
	.site-header .mega-menu-column h3,
	.lbbc-eheader__mega-column h2 { margin-bottom: 15px; padding-bottom: 12px; }
	.site-header .mega-menu-column > a,
	.lbbc-eheader__mega-column a {
		min-height: 38px;
		padding: 6px 0;
		font-size: .75rem;
	}
	.site-header .mega-menu-benefits p { margin: 0; padding-block: 5px; font-size: .74rem; line-height: 1.55; }
	.site-header .mega-menu-benefits p::before { top: 14px; }
	.site-header .mega-feature-card,
	.lbbc-eheader__mega-feature { min-height: 280px; margin-left: 30px; }
	.site-header .mega-menu-column > a > span { font-size: .9rem; transition: transform .2s ease,color .2s ease; }
	.site-header .mega-menu-column > a:hover > span { color: #8c0101; transform: translateX(4px); }
	.lbbc-eheader__mega-column a { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
	.lbbc-eheader__mega-column a::after { position: static; width: auto; height: auto; background: none; color: #7b8190; content: "\2192"; transform: none; }
	.lbbc-eheader__mega-column a:hover::after { color: #8c0101; transform: translateX(4px); }
}

.site-header .mega-menu-trigger .menu-caret,
.lbbc-eheader__mega-trigger span { display: inline-block; margin-left: 7px; color: #8c0101; font-size: .82rem; line-height: 1; transition: transform .2s ease; }
.site-header .mega-menu-trigger[aria-expanded="true"] .menu-caret,
.lbbc-eheader__mega-trigger[aria-expanded="true"] span { transform: rotate(45deg); }

/* Editorial legacy mosaic. */
.lbbc-visual--legacy { background: #fff; }
.lbbc-visual__legacy-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(48px,7vw,110px); align-items: start; }
.lbbc-visual__legacy-copy h2 { max-width: 720px; margin: 10px 0 22px; font-size: clamp(2.4rem,4.5vw,4.8rem); line-height: 1.04; }
.lbbc-visual__legacy-copy > p:not(.lbbc-visual__eyebrow) { max-width: 690px; font-size: 1.05rem; line-height: 1.75; }
.lbbc-visual__legacy-secondary { margin: 46px 0 0; overflow: hidden; border-radius: 0 72px 0 0; }
.lbbc-visual__legacy-secondary img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.lbbc-visual__legacy-primary { position: relative; padding-top: 28px; }
.lbbc-visual__legacy-primary > img { width: 100%; min-height: 580px; max-height: 720px; object-fit: cover; border-radius: 70px 0 70px 0; }
.lbbc-visual__legacy-primary > strong { position: absolute; top: 0; left: -24px; display: grid; min-width: 230px; padding: 25px 32px; border: 18px solid #fff; background: #020b48; color: #fff; font-size: clamp(3rem,5vw,5.5rem); line-height: .9; }
.lbbc-visual__legacy-primary > strong small { margin-top: 10px; font-family: Arial,Helvetica,sans-serif; font-size: .82rem; font-weight: 600; line-height: 1.3; }
.lbbc-visual__legacy-facts { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; margin: 52px 0 0; border-top: 1px solid #d9dde5; border-bottom: 1px solid #d9dde5; }
.lbbc-visual__legacy-facts article { padding: 28px clamp(22px,3vw,45px); border-right: 1px solid #d9dde5; }
.lbbc-visual__legacy-facts article:last-child { border-right: 0; }
.lbbc-visual__legacy-facts strong,.lbbc-visual__legacy-facts span { display: block; }
.lbbc-visual__legacy-facts strong { color: #8c0101; font-family: Georgia,"Times New Roman",serif; font-size: 2.2rem; }
.lbbc-visual__legacy-facts span { margin: 6px 0; color: #020b48; font-weight: 800; }
.lbbc-visual__legacy-facts p { margin: 0; color: #646b7a; font-size: .8rem; line-height: 1.55; }

/* Offset admissions feature inspired by classic university editorial layouts. */
.lbbc-visual--admissions { background: #f3f3f1; }
.lbbc-visual__admissions-grid { position: relative; display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; min-height: 560px; }
.lbbc-visual__admissions-grid figure { position: relative; z-index: 2; margin: 0 -72px 0 0; }
.lbbc-visual__admissions-grid figure::after { position: absolute; top: 26px; right: 12px; width: 190px; height: 2px; background: #8c0101; content: ""; }
.lbbc-visual__admissions-grid figure img { width: 100%; min-height: 440px; object-fit: cover; }
.lbbc-visual__admissions-copy { min-height: 560px; padding: clamp(58px,7vw,110px) clamp(48px,7vw,120px) clamp(58px,7vw,110px) clamp(110px,10vw,175px); background: #fff; }
.lbbc-visual__admissions-copy h2 { margin: 10px 0 30px; font-size: clamp(2.4rem,4vw,4.2rem); line-height: 1.05; }
.lbbc-visual__admissions-copy > p:not(.lbbc-visual__eyebrow) { max-width: 680px; margin-bottom: 38px; font-family: Georgia,"Times New Roman",serif; font-size: 1.1rem; line-height: 1.8; }

@media (max-width: 900px) {
	.lbbc-visual__legacy-grid,.lbbc-visual__admissions-grid { grid-template-columns: 1fr; }
	.lbbc-visual__legacy-primary > img { min-height: 430px; }
	.lbbc-visual__legacy-facts { grid-template-columns: 1fr; }
	.lbbc-visual__legacy-facts article { border-right: 0; border-bottom: 1px solid #d9dde5; }
	.lbbc-visual__admissions-grid figure { margin: 0; }
	.lbbc-visual__admissions-copy { min-height: 0; padding: 52px 32px; }
}

@media (max-width: 1100px) {
	.site-header .mega-menu-panel::before,.lbbc-eheader .lbbc-eheader__mega-panel::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.site-header .mega-menu-column > a > span,.lbbc-eheader__mega-column a::after { transition: none !important; transform: none !important; }
}
