/* Refined brochure layouts for the Elementor campus-life and admissions pages. */
body.page-id-12727 .elementor-12727 .kicob-section {
	padding-block: clamp(60px, 7vw, 100px);
}

body.page-id-12727 .elementor-12727 .kicob-section-head {
	margin-bottom: clamp(28px, 4vw, 48px);
}

body.page-id-12727 .elementor-12727 .kicob-section-head h2 {
	max-width: 18ch;
	font-size: clamp(2rem, 3.4vw, 3rem);
	letter-spacing: -.025em;
}

body.page-id-12727 .elementor-12727 .kicob-grid-3 > .kicob-card {
	box-sizing: border-box;
	display: flex;
	min-height: 250px;
	flex-direction: column;
	align-items: flex-start;
	padding: clamp(22px, 2.4vw, 32px);
	border: 0;
	border-top: 3px solid #0056A8;
	border-radius: 0;
	background: #fff;
	box-shadow: 0 10px 28px rgba(0, 45, 88, .07);
}

body.page-id-12727 .elementor-12727 .kicob-grid-3 > .kicob-card .kicob-icon {
	width: 48px;
	height: 48px;
	margin-bottom: 18px;
	border: 1px solid #d6e3ed;
	border-radius: 0;
	background: #edf4f9;
	font-size: 1.2rem;
}

body.page-id-12727 .elementor-12727 .kicob-grid-3 > .kicob-card h3 {
	display: block !important;
	margin: 0 0 12px;
	font-size: clamp(1.25rem, 1.7vw, 1.55rem);
	line-height: 1.2;
}

body.page-id-12727 .elementor-12727 .kicob-grid-3 > .kicob-card p {
	display: block !important;
	margin: 0;
	font-size: 1rem;
	line-height: 1.7;
}

body.page-id-12727 .elementor-12727 .kicob-life-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: clamp(20px, 2.4vw, 32px) !important;
}

body.page-id-12727 .elementor-12727 .kicob-life-card {
	min-width: 0;
	border: 0;
	border-top: 3px solid #0056A8;
	border-radius: 0;
	background: #fff;
	box-shadow: 0 12px 32px rgba(0, 45, 88, .08);
	transition: transform 220ms cubic-bezier(.2,.75,.25,1), box-shadow 220ms cubic-bezier(.2,.75,.25,1);
}

body.page-id-12727 .elementor-12727 .kicob-life-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 38px rgba(0, 45, 88, .14);
}

body.page-id-12727 .elementor-12727 .kicob-life-card img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	object-position: center 42%;
}

body.page-id-12727 .elementor-12727 .kicob-life-body {
	padding: 24px 26px 28px;
}

body.page-id-12727 .elementor-12727 .kicob-life-body h3 {
	margin: 0 0 12px;
	font-size: clamp(1.2rem, 1.5vw, 1.45rem);
}

body.page-id-12727 .elementor-12727 .kicob-life-body p {
	margin: 0;
	font-size: .98rem;
	line-height: 1.72;
}

body.page-id-12727 .elementor-12727 .kicob-gallery {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	grid-template-rows: repeat(2, clamp(160px, 18vw, 260px));
	gap: 14px !important;
}

body.page-id-12727 .elementor-12727 .kicob-gallery img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 0;
	border-radius: 0;
	box-shadow: none;
	object-fit: cover;
	transition: filter 220ms ease, transform 220ms ease;
}

body.page-id-12727 .elementor-12727 .kicob-gallery img:first-child {
	grid-column: 1 / 3;
	grid-row: 1 / 3;
	aspect-ratio: auto;
}

body.page-id-12727 .elementor-12727 .kicob-gallery img:nth-child(2) {
	grid-column: 3 / 5;
	grid-row: 1;
	aspect-ratio: auto;
}

body.page-id-12727 .elementor-12727 .kicob-gallery img:nth-child(3) {
	grid-column: 3;
	grid-row: 2;
	aspect-ratio: auto;
}

body.page-id-12727 .elementor-12727 .kicob-gallery img:nth-child(4) {
	grid-column: 4;
	grid-row: 2;
	aspect-ratio: auto;
}

body.page-id-12727 .elementor-12727 .kicob-gallery img:hover {
	filter: saturate(1.08);
}

body.page-id-12727 .elementor-12727 .kicob-cta {
	border-radius: 0;
	box-shadow: none;
}

body.page-id-12727 .elementor-12727 .kicob-btn {
	border-radius: 2px;
}

body.page-id-1601 .elementor-1601 .kicob-admissions-programme-table-wrap {
	margin-block: clamp(28px, 4vw, 46px);
}

body.page-id-1601 .elementor-1601 .kicob-admissions-programme-table {
	min-width: 840px;
}

body.page-id-1601 .elementor-1601 .kicob-admissions-programme-table th,
body.page-id-1601 .elementor-1601 .kicob-admissions-programme-table td {
	vertical-align: top;
}

body.page-id-1601 .elementor-1601 .kicob-admissions-programme-table tbody th {
	min-width: 250px;
	background: #edf4f9;
	color: #003B75;
}

body.page-id-1601 .elementor-1601 .kicob-admissions-programme-table td:last-child a {
	display: inline-block;
	margin-block: 3px;
	font-weight: 700;
}

body.page-id-1601 .elementor-1601 .kicob-admissions-application-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 28px;
	padding: clamp(22px, 3vw, 34px);
	border-left: 4px solid #0056A8;
	background: #edf4f9;
}

body.page-id-1601 .elementor-1601 .kicob-admissions-application-cta p {
	margin: 0;
}

@media (max-width: 900px) {
	body.page-id-12727 .elementor-12727 .kicob-life-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	body.page-id-12727 .elementor-12727 .kicob-gallery { grid-template-rows: repeat(2, minmax(150px, 28vw)); }
}

@media (max-width: 600px) {
	body.page-id-12727 .elementor-12727 .kicob-life-grid { grid-template-columns: 1fr !important; }
	body.page-id-12727 .elementor-12727 .kicob-grid-3 > .kicob-card { min-height: 0; }
	body.page-id-12727 .elementor-12727 .kicob-gallery { grid-template-columns: 1fr !important; grid-template-rows: none; }
	body.page-id-12727 .elementor-12727 .kicob-gallery img,
	body.page-id-12727 .elementor-12727 .kicob-gallery img:first-child,
	body.page-id-12727 .elementor-12727 .kicob-gallery img:nth-child(2),
	body.page-id-12727 .elementor-12727 .kicob-gallery img:nth-child(3),
	body.page-id-12727 .elementor-12727 .kicob-gallery img:nth-child(4) {
		grid-column: auto;
		grid-row: auto;
		aspect-ratio: 16 / 10;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.page-id-12727 .elementor-12727 .kicob-life-card,
	body.page-id-12727 .elementor-12727 .kicob-gallery img { transition: none; }
	body.page-id-12727 .elementor-12727 .kicob-life-card:hover { transform: none; }
}

/* Win over the older page-scoped brochure rules that ship earlier in style.css. */
body.page-id-12727 .elementor .kicob-page-content .kicob-section {
	padding-block: clamp(60px, 7vw, 100px) !important;
}

body.page-id-12727 .elementor .kicob-page-content .kicob-grid-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: clamp(20px, 2.4vw, 32px) !important;
}

body.page-id-12727 .elementor .kicob-page-content .kicob-grid-3 > .kicob-card,
body.page-id-12727 .elementor .kicob-page-content .kicob-life-card {
	border-radius: 0 !important;
}

body.page-id-12727 .elementor .kicob-page-content .kicob-life-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: clamp(20px, 2.4vw, 32px) !important;
}

body.page-id-12727 .elementor .kicob-page-content .kicob-gallery {
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	grid-template-rows: repeat(2, clamp(160px, 18vw, 260px)) !important;
	gap: 14px !important;
}

body.page-id-12727 .elementor .kicob-page-content .kicob-gallery img,
body.page-id-12727 .elementor .kicob-page-content .kicob-gallery img:first-child {
	border-radius: 0 !important;
}

@media (max-width: 900px) {
	body.page-id-12727 .elementor .kicob-page-content .kicob-grid-3,
	body.page-id-12727 .elementor .kicob-page-content .kicob-life-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	body.page-id-12727 .elementor .kicob-page-content .kicob-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; grid-template-rows: repeat(2, minmax(150px, 28vw)) !important; }
}

@media (max-width: 600px) {
	body.page-id-12727 .elementor .kicob-page-content .kicob-grid-3,
	body.page-id-12727 .elementor .kicob-page-content .kicob-life-grid { grid-template-columns: 1fr !important; }
	body.page-id-12727 .elementor .kicob-page-content .kicob-gallery { grid-template-columns: 1fr !important; grid-template-rows: none !important; }
}
