/**
 * CUHK AAO Frontend Styles
 *
 * Supplementary styles that extend theme.json design tokens.
 * Block-specific styles live in each block's style.css.
 * Keep minimal — prefer theme.json for all block-level styling.
 */

/* Smooth scroll */
html {
	scroll-behavior: smooth;
}

/* =========================================
   Transparent Header Overlay
   ========================================= */

.cuhk-site-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background: transparent !important;
}

/* Keep header nav above the mega menu overlay */
.cuhk-site-header__inner {
	position: relative;
	z-index: 101;
}

/* Offset header below WP admin bar when logged in */
.admin-bar .cuhk-site-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar .cuhk-site-header {
		top: 0;
	}
}

/* Logo in header */
.cuhk-header-logo {
	margin: 0;
}

.cuhk-header-logo img {
	display: block;
	height: auto;
}

/* Mobile logo hidden on desktop */
.cuhk-header-logo--mobile {
	display: none !important;
}

/* Header actions (search + lang switcher) */
.cuhk-header-actions {
	gap: 8px;
}

/* Search icon in header */
.cuhk-header-search-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	padding: 6px;
	text-decoration: none;
	transition: opacity 0.15s ease;
}

.cuhk-header-search-icon:hover {
	opacity: 0.8;
	color: #fff;
}

/* Navigation links — white text */
.cuhk-site-header .wp-block-navigation a {
	color: #fff !important;
}

/* Classic theme primary nav (wp_nav_menu output) */
.cuhk-primary-nav {
	display: flex;
	align-items: center;
}

.cuhk-primary-nav ul {
	display: flex;
	align-items: center;
	gap: 32px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.cuhk-primary-nav ul li {
	margin: 0;
	padding: 0;
}

.cuhk-primary-nav ul li a {
	color: #fff;
	text-decoration: none;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
	transition: opacity 0.15s ease;
}

.cuhk-primary-nav ul li a:hover {
	opacity: 0.8;
}

/* Header state when mega menu is open */
.cuhk-site-header.mega-menu-open {
	background: #fff !important;
}

.cuhk-site-header.mega-menu-open .cuhk-primary-nav ul li a {
	color: #1A1A1A;
}

.cuhk-site-header.mega-menu-open .cuhk-primary-nav ul li a:hover {
	opacity: 1;
	color: var(--wp--preset--color--primary, #6B2D7B);
}

.cuhk-site-header.mega-menu-open .mega-menu-trigger--active > a {
	color: var(--wp--preset--color--primary, #6B2D7B) !important;
}

.cuhk-site-header.mega-menu-open .cuhk-header-logo--desktop {
	display: none !important;
}

.cuhk-site-header.mega-menu-open .cuhk-header-logo--mobile {
	display: block !important;
	width: auto !important;
}

.cuhk-site-header.mega-menu-open .cuhk-header-logo--mobile img {
	width: 220px !important;
}

.cuhk-site-header.mega-menu-open .cuhk-header-search-icon {
	color: #1A1A1A;
}

.cuhk-site-header.mega-menu-open .cuhk-header-search-icon:hover {
	color: #1A1A1A;
}

.cuhk-site-header.mega-menu-open .cuhk-lang-switcher__toggle {
	color: #1A1A1A;
}

/* =========================================
   Mega Menu
   ========================================= */

/* Mega menu containers — hidden by default */
.cuhk-mega-menu {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99;
	pointer-events: none;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.cuhk-mega-menu.is-open {
	pointer-events: auto;
	opacity: 1;
	visibility: visible;
}

/* Backdrop overlay */
.cuhk-mega-menu__backdrop {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.3);
}

/* The dropdown panel — full white background from top of viewport,
   with padding-top to push content below the header bar. The white
   background covers the header area so they appear as one surface. */
.cuhk-mega-menu__panel {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	padding-top: 53px;
	background: #fff;
	z-index: 1;
}

.admin-bar .cuhk-mega-menu__panel {
	padding-top: 85px;
}

.cuhk-mega-menu__inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 40px;
	display: flex;
	gap: 48px;
	border-bottom: 1px solid #e0e0e0;
}

/* Sidebar navigation */
.cuhk-mega-menu__sidebar {
	flex-shrink: 0;
	width: 180px;
}

.cuhk-mega-menu__sidebar ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.cuhk-mega-menu__sidebar li {
	margin: 0;
	padding: 0;
}

.cuhk-mega-menu__sidebar a {
	display: block;
	padding: 12px 16px;
	color: #1A1A1A;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	border-left: 3px solid transparent;
	transition: border-color 0.15s ease, color 0.15s ease;
}

.cuhk-mega-menu__sidebar a:hover,
.cuhk-mega-menu__sidebar a:focus {
	border-left-color: var(--wp--preset--color--primary, #6B2D7B);
	color: var(--wp--preset--color--primary, #6B2D7B);
}

/* Content area */
.cuhk-mega-menu__content {
	flex: 1;
	min-width: 0;
}

/* Section heading with decorative line */
.cuhk-mega-menu__heading {
	font-size: 22px;
	font-weight: 400;
	color: #1A1A1A;
	margin: 0 0 24px 0;
	display: flex;
	align-items: center;
	gap: 12px;
}

.cuhk-mega-menu__heading-line {
	display: inline-block;
	width: 40px;
	height: 1px;
	background: #1A1A1A;
}

/* 2x2 card grid */
.cuhk-mega-menu__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

.cuhk-mega-menu__card {
	display: flex;
	gap: 16px;
	text-decoration: none;
	color: inherit;
	transition: opacity 0.15s ease;
}

.cuhk-mega-menu__card:hover {
	opacity: 0.8;
}

.cuhk-mega-menu__card-image {
	flex-shrink: 0;
	width: 120px;
	height: 80px;
	overflow: hidden;
	border-radius: 4px;
}

.cuhk-mega-menu__card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cuhk-mega-menu__card-body {
	flex: 1;
	min-width: 0;
}

.cuhk-mega-menu__card-title {
	font-size: 14px;
	font-weight: 600;
	color: #1A1A1A;
	margin: 0 0 4px 0;
	line-height: 1.3;
}

.cuhk-mega-menu__card-excerpt {
	font-size: 12px;
	color: #666;
	margin: 0;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* View All button */
.cuhk-mega-menu__view-all {
	margin-top: 24px;
	text-align: right;
}

.cuhk-mega-menu__view-all-btn {
	display: inline-block;
	padding: 8px 24px;
	border: 1px solid #1A1A1A;
	color: #1A1A1A;
	text-decoration: none;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.02em;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.cuhk-mega-menu__view-all-btn:hover {
	background: #1A1A1A;
	color: #fff;
}

/* Hide mega menus on mobile */
@media screen and (max-width: 781px) {
	.cuhk-mega-menu {
		display: none !important;
	}
}

/* Navigation hover effects */
.wp-block-navigation a:hover {
	opacity: 0.85;
}

/* Card hover lift effect for query loop cards (not inspire cards) */
.wp-block-query .wp-block-group:has(.wp-block-post-featured-image):not(.cuhk-inspire-card) {
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wp-block-query .wp-block-group:has(.wp-block-post-featured-image):not(.cuhk-inspire-card):hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Post title link styles in cards */
.wp-block-post-title a {
	text-decoration: none;
}

.wp-block-post-title a:hover {
	color: var(--wp--preset--color--primary);
}

/* Language switcher — styles now in blocks/language-switcher/style.css */

/* =========================================
   Homepage: Stay Connected
   ========================================= */

.cuhk-stay-connected {
	position: relative;
	overflow: hidden;
	min-height: 500px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
}

.cuhk-stay-connected__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}

.cuhk-stay-connected__overlay {
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.6);
	z-index: 1;
}

.cuhk-stay-connected__content {
	position: relative;
	z-index: 2;
	max-width: 800px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 64px;
	gap: 24px;
	text-align: center;
}

.cuhk-stay-connected__heading {
	font-family: 'Abhaya Libre', serif;
	font-size: 52px;
	color: #291c2f;
	line-height: 1.16;
	margin: 0;
}

.cuhk-stay-connected__desc {
	color: #291c2f;
	font-size: 14px;
	letter-spacing: 0.28px;
	line-height: 1.8;
	margin: 0;
	max-width: 600px;
}

.cuhk-stay-connected__link {
	display: inline-block;
	border: 1px solid #291c2f;
	color: #291c2f;
	background: transparent;
	padding: 16px 48px;
	font-size: 20px;
	font-family: var(--wp--preset--font-family--system);
	font-weight: 400;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.cuhk-stay-connected__link:hover {
	background: #291c2f;
	color: #fff;
}

/* =========================================
   Homepage: Inspire Cards (More From CUHK)
   ========================================= */

.cuhk-inspire-heading {
	font-family: 'Abhaya Libre', serif;
	color: #291c2f;
	line-height: 1.16;
}

.cuhk-inspire-carousel {
	position: relative;
}

.cuhk-inspire-card {
	overflow: hidden;
	background: transparent !important;
	gap: 0 !important;
}

.cuhk-inspire-card.is-layout-flow > * + * {
	margin-block-start: 0 !important;
}

.cuhk-inspire-card__image,
.cuhk-inspire-card .wp-block-post-featured-image {
	margin: 0 0 20px;
}

.cuhk-inspire-card__image img,
.cuhk-inspire-card .wp-block-post-featured-image img {
	width: 100%;
	aspect-ratio: 684 / 385;
	object-fit: cover;
	display: block;
}

.cuhk-inspire-card .wp-block-post-title {
	font-family: 'Open Sans', sans-serif;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.4px;
	color: #291c2f;
	margin: 20px 0 0 !important;
}

.cuhk-inspire-card .wp-block-post-title a {
	color: #291c2f;
	text-decoration: none;
}

.cuhk-inspire-card .wp-block-post-title a:hover {
	color: var(--wp--preset--color--primary, #4B2E83);
}

/* Inspire carousel dots */
.cuhk-inspire-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 40px;
}

.cuhk-inspire-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #c4c4c4;
	cursor: pointer;
	transition: background 0.2s ease;
}

.cuhk-inspire-dot.is-active {
	background: #291c2f;
}

/* =========================================
   Outline button style
   ========================================= */

.wp-block-button.is-style-outline .wp-block-button__link {
	border: 1px solid var(--wp--preset--color--text-primary, #1A1A1A);
	color: var(--wp--preset--color--text-primary, #1A1A1A);
	background: transparent;
	padding: 0.75rem 3rem;
	font-weight: 500;
	transition: background 0.2s ease, color 0.2s ease;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--wp--preset--color--text-primary, #1A1A1A);
	color: #fff;
}

/* =========================================
   Gallery lightbox overlay
   ========================================= */

.cuhk-lightbox {
	position: fixed;
	inset: 0;
	z-index: 10000;
	background: rgba(0, 0, 0, 0.9);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cuhk-lightbox.is-open {
	opacity: 1;
	visibility: visible;
}

.cuhk-lightbox__close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	background: none;
	border: none;
	color: #fff;
	font-size: 2rem;
	cursor: pointer;
	z-index: 10001;
}

.cuhk-lightbox img {
	max-width: 90vw;
	max-height: 90vh;
	object-fit: contain;
}

/* =========================================
   Submission form styles
   ========================================= */

.cuhk-submit-form {
	max-width: 700px;
	margin: 0 auto;
}

.cuhk-submit-form .form-group {
	margin-bottom: 1.5rem;
}

.cuhk-submit-form label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.5rem;
}

.cuhk-submit-form input[type="text"],
.cuhk-submit-form input[type="email"],
.cuhk-submit-form input[type="url"],
.cuhk-submit-form input[type="date"],
.cuhk-submit-form textarea,
.cuhk-submit-form select {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 4px;
	font-size: 1rem;
	font-family: inherit;
	transition: border-color 0.15s ease;
}

.cuhk-submit-form input:focus,
.cuhk-submit-form textarea:focus,
.cuhk-submit-form select:focus {
	outline: none;
	border-color: var(--wp--preset--color--primary);
	box-shadow: 0 0 0 2px rgba(75, 46, 131, 0.1);
}

.cuhk-submit-form .form-required {
	color: #cc0000;
}

.cuhk-submit-form .form-help {
	font-size: 0.875rem;
	color: var(--wp--preset--color--text-secondary);
	margin-top: 0.25rem;
}

.cuhk-submit-form .form-message {
	padding: 1rem;
	border-radius: 4px;
	margin-bottom: 1.5rem;
}

.cuhk-submit-form .form-message--success {
	background: #e8f5e9;
	color: #2e7d32;
	border: 1px solid #a5d6a7;
}

.cuhk-submit-form .form-message--error {
	background: #fbe9e7;
	color: #c62828;
	border: 1px solid #ef9a9a;
}

/* =========================================
   Footer
   ========================================= */

.wp-block-template-part:has(.cuhk-footer) {
	margin-top: 0 !important;
}

/* Remove top margin on full-width sections */
.wp-block-group.alignfull.has-background,
.wp-block-group.alignfull.has-background.is-layout-constrained {
	margin-top: 0 !important;
	margin-block-start: 0 !important;
}

.cuhk-footer {
	background-color: var(--wp--preset--color--footer-bg) !important;
	color: #1A1A1A;
	padding: 0 !important;
	margin-top: 0 !important;
}

.cuhk-footer__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 48px 80px 0;
}

.cuhk-footer__social-row {
	display: flex;
	align-items: center;
	gap: 16px;
	padding-bottom: 32px;
}

.cuhk-footer__follow-label {
	color: #1A1A1A;
	font-size: 14px;
	font-weight: 400;
	margin: 0;
	white-space: nowrap;
}

.cuhk-footer__social-icons {
	display: flex;
	align-items: center;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.cuhk-footer__icon {
	display: inline-flex;
	color: #1A1A1A;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.cuhk-footer__icon:hover {
	opacity: 0.7;
}

.cuhk-footer__separator {
	border: none;
	border-top: 1px solid rgba(26, 26, 26, 0.3);
	width: 100%;
	max-width: 100%;
	margin: 0;
	opacity: 1;
}

.cuhk-footer__columns {
	display: flex;
	gap: 48px;
	padding: 40px 0;
}

.cuhk-footer__col {
	flex: 1;
}

.cuhk-footer__heading {
	color: #1A1A1A;
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 20px;
}

.cuhk-footer__links {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.cuhk-footer__links a,
.cuhk-footer__contact a {
	color: #1A1A1A;
	text-decoration: none;
}

.cuhk-footer__links a:hover,
.cuhk-footer__contact a:hover {
	text-decoration: underline;
}

.cuhk-footer__links p,
.cuhk-footer__contact p {
	margin: 0;
	color: #1A1A1A;
	font-size: 14px;
}

.cuhk-footer__contact {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.cuhk-footer__contact-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.cuhk-footer__contact-item::before {
	content: "";
	flex-shrink: 0;
	display: inline-block;
	width: 16px;
	height: 16px;
	margin-top: 2px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.cuhk-footer__contact-item--location::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath d='M8 1C5.2 1 3 3.1 3 5.7 3 9.5 8 15 8 15s5-5.5 5-9.3C13 3.1 10.8 1 8 1zm0 6.4c-1 0-1.8-.8-1.8-1.7S7 4 8 4s1.8.8 1.8 1.7S9 7.4 8 7.4z' fill='%231A1A1A'/%3E%3C/svg%3E");
}

.cuhk-footer__contact-item--email::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath d='M2 4l6 4 6-4H2zm0 1v7h12V5L8 9 2 5z' fill='%231A1A1A'/%3E%3C/svg%3E");
}

.cuhk-footer__contact-item--phone::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath d='M4.2 2C3 2 2 3 2 4.2 2 9.8 6.2 14 11.8 14c1.2 0 2.2-1 2.2-2.2 0-.3-.1-.5-.2-.7l-2.2-2.2c-.3-.3-.8-.4-1.2-.2l-1.2.8c-.2.1-.4.1-.6 0L6.5 7.8c-.2-.2-.2-.4 0-.6l.8-1.2c.2-.4.1-.9-.2-1.2L4.9 2.6c-.2-.3-.4-.4-.7-.6z' fill='%231A1A1A'/%3E%3C/svg%3E");
}

.cuhk-footer__copyright {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	padding: 24px 0;
}

.cuhk-footer__copyright p {
	margin: 0;
	color: #1A1A1A;
	font-size: 13px;
}

.cuhk-footer__copyright a {
	color: #1A1A1A;
	text-decoration: none;
}

.cuhk-footer__copyright a:hover {
	text-decoration: underline;
}

.cuhk-footer__legal-sep {
	margin: 0 16px;
	color: #1A1A1A;
}

/* =========================================
   Mobile Menu
   ========================================= */

/* Hamburger toggle — hidden on desktop */
.cuhk-mobile-menu-toggle {
	display: none;
}

/* Mobile menu overlay */
.cuhk-mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 10000;
	background: #fff;
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.3s ease;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.cuhk-mobile-menu.is-open {
	transform: translateX(0);
}

.admin-bar .cuhk-mobile-menu {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar .cuhk-mobile-menu {
		top: 46px;
	}
}

/* Header row inside mobile menu */
.cuhk-mobile-menu__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 24px;
	flex-shrink: 0;
}

.cuhk-mobile-menu__logo {
	display: inline-flex;
}

.cuhk-mobile-menu__logo img {
	height: 48px;
	width: auto;
}

.cuhk-mobile-menu__header-actions {
	display: flex;
	align-items: center;
	gap: 16px;
}

.cuhk-mobile-menu__search,
.cuhk-mobile-menu__close {
	background: none;
	border: none;
	padding: 4px;
	cursor: pointer;
	color: #1A1A1A;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Navigation list */
.cuhk-mobile-menu__nav {
	flex: 1;
	padding: 24px 0;
}

.cuhk-mobile-menu__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.cuhk-mobile-menu__item {
	border-bottom: none;
}

.cuhk-mobile-menu__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 20px 24px;
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #1A1A1A;
	text-decoration: none;
	background: none;
	border: none;
	cursor: pointer;
	text-align: left;
}

.cuhk-mobile-menu__link:hover {
	color: var(--wp--preset--color--primary, #4B2E83);
}

.cuhk-mobile-menu__chevron {
	transition: transform 0.2s ease;
	flex-shrink: 0;
}

.cuhk-mobile-menu__submenu-toggle[aria-expanded="true"] .cuhk-mobile-menu__chevron {
	transform: rotate(180deg);
}

/* Submenu */
.cuhk-mobile-menu__submenu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: none;
	background: #f9f9f9;
}

.cuhk-mobile-menu__submenu.is-open {
	display: block;
}

.cuhk-mobile-menu__sublink {
	display: block;
	padding: 14px 24px 14px 40px;
	font-family: 'Open Sans', sans-serif;
	font-size: 15px;
	font-weight: 400;
	color: #333;
	text-decoration: none;
}

.cuhk-mobile-menu__sublink:hover {
	color: var(--wp--preset--color--primary, #4B2E83);
}

/* Footer language toggle */
.cuhk-mobile-menu__footer {
	padding: 24px;
	margin-top: auto;
	flex-shrink: 0;
}

.cuhk-mobile-menu__lang-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: none;
	border: none;
	cursor: pointer;
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	font-weight: 500;
	color: #1A1A1A;
	padding: 8px 0;
}

.cuhk-mobile-menu__lang-toggle svg {
	flex-shrink: 0;
}

/* Language sub-panel — overlays the menu */
.cuhk-mobile-menu__lang-panel {
	position: absolute;
	inset: 0;
	background: #fff;
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.3s ease;
	z-index: 1;
}

.cuhk-mobile-menu__lang-panel.is-open {
	transform: translateX(0);
}

.cuhk-mobile-menu__lang-list {
	list-style: none;
	margin: 0;
	padding: 24px 0;
}

.cuhk-mobile-menu__lang-option {
	display: block;
	padding: 14px 24px;
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	font-weight: 400;
	color: #1A1A1A;
	text-decoration: none;
}

.cuhk-mobile-menu__lang-option:hover {
	color: var(--wp--preset--color--primary, #4B2E83);
}

.cuhk-mobile-menu__lang-option.is-active {
	font-weight: 700;
	text-decoration: underline;
}

/* =========================================
   Responsive adjustments
   ========================================= */

/* =========================================
   Carousel dots (mobile only)
   ========================================= */

.cuhk-carousel__dots {
	display: none;
}

@media (max-width: 781px) {
	.cuhk-carousel__dots {
		display: flex;
		justify-content: center;
		align-items: center;
		gap: 10px;
		padding: 16px 0 0;
	}

	.cuhk-carousel__dot {
		width: 8px;
		height: 8px;
		border-radius: 50%;
		background: #33233B;
		opacity: 0.2;
		transition: all 0.3s ease;
		border: none;
		padding: 0;
		cursor: pointer;
	}

	.cuhk-carousel__dot.is-active {
		width: 14px;
		height: 14px;
		opacity: 1;
	}
}

/* =========================================
   Mobile tagline (hidden on desktop)
   ========================================= */

.cuhk-mobile-tagline {
	display: none;
}

/* =========================================
   Mobile dividers (hidden on desktop)
   ========================================= */

.cuhk-mobile-divider {
	display: none;
}

@media (max-width: 781px) {
	/* ---- Layout ---- */
	.wp-block-columns {
		flex-wrap: wrap;
	}

	.wp-block-query .wp-block-post-template.is-layout-grid {
		grid-template-columns: 1fr !important;
	}

	/* ---- Header: solid white bar on mobile ---- */
	.cuhk-site-header {
		position: relative !important;
		background: #fff !important;
	}

	.cuhk-site-header,
	.cuhk-site-header *:not(img):not(svg):not(line):not(button):not(a) {
		padding-top: 0 !important;
		padding-bottom: 0 !important;
		margin-top: 0 !important;
		margin-bottom: 0 !important;
		margin-block-start: 0 !important;
		margin-block-end: 0 !important;
	}

	.cuhk-site-header > .wp-block-group > .wp-block-group {
		padding: 10px 16px !important;
	}

	.wp-block-template-part:has(.cuhk-site-header) {
		margin: 0 !important;
		padding: 0 !important;
		margin-block-start: 0 !important;
	}

	.cuhk-site-header .wp-block-navigation,
	.cuhk-site-header .cuhk-primary-nav {
		display: none !important;
	}

	.cuhk-site-header .cuhk-lang-switcher {
		display: none !important;
	}

	.cuhk-mobile-menu-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		background: transparent;
		border: none;
		padding: 6px;
		cursor: pointer;
		color: #1A1A1A;
	}

	.cuhk-mobile-menu-toggle svg {
		stroke: #1A1A1A;
	}

	.cuhk-header-search-icon {
		color: #1A1A1A !important;
	}

	.cuhk-header-logo--desktop {
		display: none !important;
	}

	.cuhk-header-logo--mobile {
		display: block !important;
		width: 160px !important;
	}

	/* ---- Mobile tagline section ---- */
	.cuhk-mobile-tagline {
		display: block;
	}

	.cuhk-mobile-tagline .wp-block-heading {
		font-size: 24px !important;
		line-height: 1.3;
		color: #33233B;
		margin: 0;
	}

	/* ---- Mobile dividers ---- */
	.cuhk-mobile-divider {
		display: block;
		height: 4px;
		background: #D9D9D9;
		padding: 0 !important;
		margin: 0 !important;
	}

	/* ---- Section padding on mobile ---- */
	.home .wp-block-group.alignfull.has-background,
	.home .wp-block-group.alignfull:not(.cuhk-site-header):not(.cuhk-footer) {
		padding-top: 56px !important;
		padding-bottom: 56px !important;
		padding-left: 24px !important;
		padding-right: 24px !important;
	}

	/* ---- Section headings 28px on mobile ---- */
	.home .wp-block-heading.has-xx-large-font-size {
		font-size: 28px !important;
		margin-bottom: 32px !important;
	}

	/* ---- Stay Connected ---- */
	.cuhk-stay-connected {
		min-height: auto;
	}

	.cuhk-stay-connected__content {
		padding: 72px 24px 88px;
	}

	.cuhk-stay-connected__heading {
		font-size: 28px;
	}

	.cuhk-stay-connected__desc {
		font-size: 14px;
		line-height: 1.5;
	}

	.cuhk-stay-connected__link {
		font-size: 16px;
		padding: 16px 48px;
	}

	/* ---- Inspire section (More From CUHK) ---- */
	.cuhk-inspire-heading {
		font-size: 28px !important;
	}

	.cuhk-inspire-carousel .wp-block-post-template.is-layout-grid {
		display: flex !important;
		gap: 0;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding-left: 0;
		padding-right: 0;
	}

	.cuhk-inspire-carousel .wp-block-post-template.is-layout-grid::-webkit-scrollbar {
		display: none;
	}

	.cuhk-inspire-carousel .wp-block-post-template.is-layout-grid > li {
		flex: 0 0 100%;
		scroll-snap-align: start;
	}

	.cuhk-inspire-card__image img,
	.cuhk-inspire-card .wp-block-post-featured-image img {
		height: 177px;
		aspect-ratio: auto;
	}

	.cuhk-inspire-card .wp-block-post-title {
		font-size: 16px;
		margin: 8px 8px 0 !important;
	}

	/* ---- Alumni Stories section lighter bg on mobile ---- */
	.home .wp-block-group.alignfull[style*="background-color:#B1D3E6"] {
		background-color: rgba(177, 211, 230, 0.25) !important;
	}

	/* ---- Key Figures section description ---- */
	.home .cuhk-key-figures {
		padding: 0;
	}

	/* ---- Featured video section padding ---- */
	.home .wp-block-group.alignfull:has(.cuhk-featured-video__wrapper) {
		padding-top: 0 !important;
		padding-bottom: 0 !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	/* ---- Remove desktop border-top on upcoming events (dividers replace it) ---- */
	.home .wp-block-group.alignfull[style*="border-top"] {
		border-top: none !important;
	}

	/* ---- Footer ---- */
	.cuhk-footer__inner {
		padding-left: 24px !important;
		padding-right: 24px !important;
	}

	.cuhk-footer__columns {
		flex-direction: column;
		gap: 32px;
	}

	.cuhk-footer__copyright {
		flex-direction: column;
		gap: 12px;
		text-align: center;
	}

	/* ---- Footer social icons larger on mobile ---- */
	.cuhk-footer__social-row {
		flex-direction: column;
		align-items: flex-start !important;
	}

	.cuhk-footer__icon svg {
		width: 46px;
		height: 46px;
	}

	.cuhk-footer__social-icons {
		gap: 8px;
	}
}

/* =========================================
   Hero Banner (shared across event pages)
   ========================================= */

/*
 * Global layout adds margin-block-start: 24px to every .wp-site-blocks direct child
 * after the first. The header is position:absolute (out of flow), so that margin sits
 * above the hero cover as visible white body background. Flush the hero to the top.
 */
.wp-block-template-part:has(.cuhk-site-header) + .wp-block-cover.alignfull,
.wp-block-template-part:has(.cuhk-site-header) + .wp-block-cuhk-aao-hero-slider.alignfull {
	margin-block-start: 0 !important;
	margin-top: 0 !important;
}

/* =========================================
   Page Hero Banner (reusable)
   ========================================= */

.cuhk-page-hero {
	position: relative;
	width: 100%;
	min-height: 320px;
	background-color: #1a1028;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	margin: 0;
}

.cuhk-page-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(20, 10, 30, 0.65) 0%, rgba(20, 10, 30, 0.25) 55%, rgba(20, 10, 30, 0.15) 100%);
	pointer-events: none;
}

.cuhk-page-hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 120px 48px 56px;
}

.cuhk-page-hero--center .cuhk-page-hero__inner {
	text-align: center;
}

.cuhk-page-hero__title {
	margin: 0;
	color: #ffffff;
	font-family: 'Noto Serif', 'Playfair Display', Georgia, 'Times New Roman', serif;
	font-weight: 400;
	font-size: clamp(36px, 5vw, 64px);
	line-height: 1.15;
	letter-spacing: 0.01em;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.admin-bar .cuhk-page-hero__inner {
	padding-top: 152px;
}

@media (max-width: 782px) {
	.cuhk-page-hero {
		min-height: 220px;
	}
	.cuhk-page-hero__inner {
		padding: 96px 24px 40px;
	}
	.admin-bar .cuhk-page-hero__inner {
		padding-top: 96px;
	}
}

/* =========================================
   Breadcrumb (shared)
   ========================================= */

.cuhk-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: var(--wp--preset--color--text-secondary, #666);
	margin-bottom: 32px;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.cuhk-breadcrumb a {
	color: var(--wp--preset--color--text-secondary, #666);
	text-decoration: none;
}

.cuhk-breadcrumb a:hover {
	text-decoration: underline;
	color: var(--wp--preset--color--primary, #4B2E83);
}

.cuhk-breadcrumb__separator {
	color: #999;
}

.cuhk-breadcrumb__current {
	color: var(--wp--preset--color--text-primary, #1A1A1A);
}

/* =========================================
   Pagination (shared: squared active chip, plain inactive)
   ========================================= */

.cuhk-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 40px;
}

.cuhk-pagination__link {
	width: auto;
	min-width: 36px;
	height: 36px;
	padding: 0 4px;
	border-radius: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 400;
	line-height: 1;
	color: var(--wp--preset--color--primary, #4b2e83);
	text-decoration: none;
	background: transparent;
	box-sizing: border-box;
	transition: background 0.2s, color 0.2s;
}

.cuhk-pagination__link:hover:not(.is-active) {
	color: var(--wp--preset--color--text-primary, #1a1a1a);
}

.cuhk-pagination__link.is-active {
	min-width: 36px;
	height: 36px;
	padding: 0 8px;
	background: var(--wp--preset--color--primary, #4b2e83);
	color: #fff;
	font-weight: 600;
}

/* =========================================
   Single post / news detail
   ========================================= */

.single-post .wp-block-post-content {
	font-size: 16px;
	line-height: 1.7;
}

.single-post .wp-block-post-content h2,
.single-post .wp-block-post-content h3 {
	margin-top: 2rem;
	margin-bottom: 1rem;
}

/* ============================================
 * Block styles consolidated from blocks/
 * ============================================ */

/* --- event-cards --- */

.cuhk-event-cards__filters {
	margin-bottom: 2rem;
}

.cuhk-event-cards__filters form {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
	align-items: center;
}

.cuhk-event-cards__filters select,
.cuhk-event-cards__filters input[type="text"] {
	padding: 0.5rem 1rem;
	border: 1px solid var(--wp--preset--color--border, #E0E0E0);
	border-radius: 4px;
	font-size: 0.875rem;
}

.cuhk-event-cards__grid {
	display: grid;
	gap: 1.5rem;
}

.cuhk-event-card {
	background: #fff;
	border: 1px solid var(--wp--preset--color--border, #E0E0E0);
	border-radius: 8px;
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cuhk-event-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.cuhk-event-card__image {
	display: block;
	overflow: hidden;
}

.cuhk-event-card__image img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.cuhk-event-card:hover .cuhk-event-card__image img {
	transform: scale(1.05);
}

.cuhk-event-card__body {
	padding: 1.25rem;
}

.cuhk-event-card__title {
	font-size: 1.125rem;
	font-weight: 600;
	margin: 0.75rem 0 0.5rem;
	line-height: 1.3;
}

.cuhk-event-card__title a {
	color: var(--wp--preset--color--text-primary, #1A1A1A);
	text-decoration: none;
}

.cuhk-event-card__title a:hover {
	color: var(--wp--preset--color--primary, #4B2E83);
}

.cuhk-event-card__location {
	font-size: 0.875rem;
	color: var(--wp--preset--color--text-secondary, #666);
	margin: 0 0 0.5rem;
}

.cuhk-event-card__excerpt {
	font-size: 0.875rem;
	color: var(--wp--preset--color--text-secondary, #666);
	margin: 0;
}

.cuhk-event-cards__empty {
	text-align: center;
	color: var(--wp--preset--color--text-secondary, #666);
	padding: 2rem;
}

@media (max-width: 781px) {
	.cuhk-event-cards__grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}

@media (max-width: 480px) {
	.cuhk-event-cards__grid {
		grid-template-columns: 1fr !important;
	}
}

/* --- event-gallery-photos --- */

.cuhk-event-gallery-photos__grid {
	display: grid;
	gap: 12px;
}

.cuhk-event-gallery-photos__item {
	display: block;
	overflow: hidden;
	cursor: pointer;
}

.cuhk-event-gallery-photos__img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	display: block;
	transition: opacity 0.2s ease, transform 0.3s ease;
}

.cuhk-event-gallery-photos__item:hover .cuhk-event-gallery-photos__img {
	opacity: 0.85;
	transform: scale(1.02);
}

/* Lightbox nav buttons */
.cuhk-lightbox__prev,
.cuhk-lightbox__next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.15);
	border: none;
	border-radius: 50%;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 10002;
	transition: background 0.2s;
}

.cuhk-lightbox__prev:hover,
.cuhk-lightbox__next:hover {
	background: rgba(255, 255, 255, 0.3);
}

.cuhk-lightbox__prev {
	left: 1.5rem;
}

.cuhk-lightbox__next {
	right: 1.5rem;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
	.cuhk-event-gallery-photos__grid {
		grid-template-columns: repeat(3, 1fr) !important;
	}
}

@media (max-width: 781px) {
	.cuhk-event-gallery-photos__grid {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 8px;
	}
}

/* --- event-highlights --- */

.cuhk-event-highlights {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0;
}

.cuhk-event-highlights__track {
	display: flex;
	gap: 1.5rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding-bottom: 0.5rem;
	flex: 1;
}

.cuhk-event-highlights__track::-webkit-scrollbar {
	display: none;
}

.cuhk-event-highlights .cuhk-highlight-card {
	flex: 0 0 calc(33.333% - 1rem);
	scroll-snap-align: start;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cuhk-event-highlights .cuhk-highlight-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.cuhk-highlight-card__image-link {
	display: block;
	overflow: hidden;
}

.cuhk-highlight-card__image-link img {
	width: 100%;
	height: 280px;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.cuhk-highlight-card:hover .cuhk-highlight-card__image-link img {
	transform: scale(1.05);
}

.cuhk-highlight-card__caption {
	padding: 1rem;
}

.cuhk-highlight-card__title {
	display: block;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--wp--preset--color--text-primary, #1A1A1A);
	text-decoration: none;
	margin-bottom: 0.25rem;
	line-height: 1.4;
}

.cuhk-highlight-card__title:hover {
	color: var(--wp--preset--color--primary, #4B2E83);
}

.cuhk-highlight-card__meta {
	display: block;
	font-size: 0.8125rem;
	color: var(--wp--preset--color--text-secondary, #666);
	font-style: italic;
}

.cuhk-event-highlights__empty {
	text-align: center;
	color: var(--wp--preset--color--text-secondary, #666);
	padding: 2rem;
}

/* Carousel navigation arrows */
.cuhk-event-highlights .cuhk-carousel__prev,
.cuhk-event-highlights .cuhk-carousel__next {
	flex-shrink: 0;
	border: none;
	background: transparent;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
	padding: 0;
}

.cuhk-event-highlights .cuhk-carousel__prev img,
.cuhk-event-highlights .cuhk-carousel__next img {
	width: 23px;
	height: 42px;
	filter: brightness(0);
}

.cuhk-event-highlights .cuhk-carousel__prev:hover img,
.cuhk-event-highlights .cuhk-carousel__next:hover img {
	filter: brightness(0) opacity(0.6);
}

.cuhk-event-highlights .cuhk-carousel__prev {
	margin-right: 60px;
}

.cuhk-event-highlights .cuhk-carousel__next {
	margin-left: 60px;
}

@media (max-width: 781px) {
	/* Switch to vertical layout so dots go below the track */
	.cuhk-event-highlights {
		flex-direction: column;
	}

	.cuhk-event-highlights .cuhk-highlight-card {
		flex: 0 0 100%;
		border-radius: 0;
	}

	.cuhk-event-highlights .cuhk-highlight-card:hover {
		transform: none;
		box-shadow: none;
	}

	.cuhk-highlight-card__image-link img {
		height: 177px;
	}

	/* Hide arrow nav on mobile */
	.cuhk-event-highlights .cuhk-carousel__prev,
	.cuhk-event-highlights .cuhk-carousel__next {
		display: none !important;
	}

	.cuhk-event-highlights__track {
		max-width: 100%;
		gap: 0;
		padding-left: 0;
		scroll-snap-type: x mandatory;
	}

	.cuhk-highlight-card__caption {
		padding: 8px;
	}

	.cuhk-highlight-card__title {
		font-size: 1rem;
		font-weight: 600;
	}
}

/* --- events-calendar --- */

.cuhk-events-calendar__columns {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	gap: 48px;
	align-items: start;
}

/* ── Month Tabs ── */
.cuhk-month-tabs {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-bottom: 24px;
	border-bottom: 1px solid var(--wp--preset--color--border, #E0E0E0);
}

.cuhk-month-tabs__strip {
	display: flex;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	flex: 1;
}

.cuhk-month-tabs__strip::-webkit-scrollbar {
	display: none;
}

.cuhk-month-tabs__tab {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 12px 18px;
	text-decoration: none;
	white-space: nowrap;
	border-bottom: 3px solid transparent;
	color: var(--wp--preset--color--text-secondary, #666);
	transition: color 0.2s, border-color 0.2s;
	flex-shrink: 0;
}

.cuhk-month-tabs__tab:hover {
	color: var(--wp--preset--color--text-primary, #1A1A1A);
}

.cuhk-month-tabs__tab.is-active {
	font-weight: 700;
	color: var(--wp--preset--color--primary, #4B2E83);
	border-bottom-color: var(--wp--preset--color--primary, #4B2E83);
}

.cuhk-month-tabs__month {
	font-size: 15px;
	font-weight: inherit;
	line-height: 1.3;
}

.cuhk-month-tabs__year {
	font-size: 12px;
	opacity: 0.7;
}

.cuhk-month-tabs__arrow {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: none;
	color: var(--wp--preset--color--text-secondary, #666);
	cursor: pointer;
	padding: 0;
	transition: color 0.2s;
}

.cuhk-month-tabs__arrow:hover {
	color: var(--wp--preset--color--text-primary, #1A1A1A);
}

/* ── Heading ── */
.cuhk-events-calendar__heading {
	font-size: 16px;
	font-weight: 600;
	color: var(--wp--preset--color--text-primary, #1A1A1A);
	margin: 0 0 20px;
}

/* ── Event Grid ── */
.cuhk-events-calendar__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

/* ── Calendar Card ── */
.cuhk-cal-card {
	position: relative;
}

.cuhk-cal-card__image-link {
	display: block;
	position: relative;
	overflow: hidden;
}

.cuhk-cal-card__img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	display: block;
	height: auto;
	transition: transform 0.3s ease;
}

.cuhk-cal-card:hover .cuhk-cal-card__img {
	transform: scale(1.03);
}

.cuhk-cal-card__placeholder {
	width: 100%;
	aspect-ratio: 16 / 9;
	background: var(--wp--preset--color--background-light, #F7F7F7);
}

.cuhk-cal-card__badge {
	position: absolute;
	top: 0;
	left: 0;
	background: rgba(75, 46, 131, 0.85);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	padding: 4px 10px;
	z-index: 1;
}

.cuhk-cal-card__body {
	padding: 8px 0 0;
}

.cuhk-cal-card__title {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	margin: 0 0 2px;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.cuhk-cal-card__title a {
	color: var(--wp--preset--color--text-primary, #1A1A1A);
	text-decoration: none;
}

.cuhk-cal-card__title a:hover {
	color: var(--wp--preset--color--primary, #4B2E83);
}

.cuhk-cal-card__organizer {
	font-size: 13px;
	color: var(--wp--preset--color--text-secondary, #666);
	margin: 0 0 4px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cuhk-cal-card__date {
	font-size: 13px;
	color: var(--wp--preset--color--text-secondary, #666);
	margin: 0;
	display: flex;
	align-items: center;
	gap: 5px;
}

.cuhk-cal-card__date svg {
	flex-shrink: 0;
}

/* ── Featured News Sidebar ── */
.cuhk-events-calendar__right {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.cuhk-featured-news-card__image-link {
	display: block;
	overflow: hidden;
}

.cuhk-featured-news-card__img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.cuhk-featured-news-card:hover .cuhk-featured-news-card__img {
	transform: scale(1.03);
}

.cuhk-featured-news-card__title {
	font-size: 18px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin: 12px 0 6px;
	line-height: 1.3;
}

.cuhk-featured-news-card__title a {
	color: var(--wp--preset--color--text-primary, #1A1A1A);
	text-decoration: none;
}

.cuhk-featured-news-card__title a:hover {
	color: var(--wp--preset--color--primary, #4B2E83);
}

.cuhk-featured-news-card__excerpt {
	font-size: 14px;
	color: var(--wp--preset--color--text-secondary, #666);
	line-height: 1.6;
	margin: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

/* ── Empty state ── */
.cuhk-events-calendar__empty {
	text-align: center;
	color: var(--wp--preset--color--text-secondary, #666);
	padding: 48px 16px;
	font-size: 15px;
}

/* ── CTA Section ── */
.cuhk-events-cta {
	margin-top: 64px;
	text-align: center;
}

.cuhk-events-cta__heading {
	font-family: 'Abhaya Libre', Georgia, serif;
	font-size: 28px;
	font-weight: 700;
	color: var(--wp--preset--color--text-primary, #1A1A1A);
	margin: 0 0 32px;
}

.cuhk-events-cta__cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

.cuhk-events-cta__card {
	position: relative;
	border-radius: 8px;
	overflow: hidden;
	text-decoration: none;
	display: block;
	border: 1px solid var(--wp--preset--color--border, #E0E0E0);
	transition: box-shadow 0.2s;
}

.cuhk-events-cta__card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cuhk-events-cta__card-bg {
	height: 200px;
	overflow: hidden;
	position: relative;
}

.cuhk-events-cta__card-bg .cuhk-events-cta__card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.cuhk-events-cta__card-bg--placeholder {
	width: 100%;
	height: 100%;
	min-height: 200px;
	background: linear-gradient(135deg, #ddd 0%, #eee 100%);
}

.cuhk-events-cta__card-content {
	padding: 20px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #fff;
}

.cuhk-events-cta__card-title {
	font-size: 18px;
	font-weight: 600;
	color: var(--wp--preset--color--text-primary, #1A1A1A);
}

.cuhk-events-cta__card-arrow {
	width: 32px;
	height: 32px;
	border: 1px solid var(--wp--preset--color--border, #E0E0E0);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	color: var(--wp--preset--color--text-primary, #1A1A1A);
	flex-shrink: 0;
	transition: background 0.2s, color 0.2s;
}

.cuhk-events-cta__card:hover .cuhk-events-cta__card-arrow {
	background: var(--wp--preset--color--text-primary, #1A1A1A);
	color: #fff;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
	.cuhk-events-calendar__columns {
		grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
		gap: 32px;
	}
}

@media (max-width: 781px) {
	.cuhk-events-calendar__columns {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.cuhk-events-calendar__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.cuhk-events-cta__cards {
		grid-template-columns: 1fr;
	}

	.cuhk-events-cta__card-bg {
		height: 160px;
	}

	.cuhk-events-cta__card-bg--placeholder {
		min-height: 160px;
	}
}

@media (max-width: 480px) {
	.cuhk-events-calendar__grid {
		grid-template-columns: 1fr;
	}
}

/* --- featured-video --- */

.cuhk-featured-video__wrapper {
	position: relative;
	cursor: pointer;
	border-radius: 12px;
	overflow: hidden;
	max-width: 1000px;
	margin: 0 auto;
}

.cuhk-featured-video__thumbnail {
	width: 100%;
	display: block;
	border-radius: 12px;
}

.cuhk-featured-video__play-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.25);
	transition: background 0.2s ease;
	border-radius: 12px;
}

.cuhk-featured-video__wrapper:hover .cuhk-featured-video__play-overlay {
	background: rgba(0, 0, 0, 0.35);
}

.cuhk-featured-video__play-btn {
	width: 80px;
	height: 80px;
	background: rgba(255, 255, 255, 0.95);
	border-radius: 50%;
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--wp--preset--color--primary, #4B2E83);
	cursor: pointer;
	transition: transform 0.2s ease;
}

.cuhk-featured-video__wrapper:hover .cuhk-featured-video__play-btn {
	transform: scale(1.1);
}

.cuhk-featured-video__caption {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 1rem 1.5rem;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
	color: #fff;
	font-size: 0.875rem;
	margin: 0;
	border-radius: 0 0 12px 12px;
}

/* Video lightbox */
.cuhk-video-lightbox {
	position: fixed;
	inset: 0;
	z-index: 10000;
	background: rgba(0, 0, 0, 0.92);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cuhk-video-lightbox.is-open {
	opacity: 1;
	visibility: visible;
}

.cuhk-video-lightbox__close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	background: none;
	border: none;
	color: #fff;
	font-size: 2rem;
	cursor: pointer;
	z-index: 10001;
}

.cuhk-video-lightbox iframe {
	width: 90vw;
	max-width: 1000px;
	aspect-ratio: 16 / 9;
	border: none;
	border-radius: 8px;
}

@media (max-width: 781px) {
	.cuhk-featured-video__wrapper {
		border-radius: 0;
		max-height: 211px;
		overflow: hidden;
	}

	.cuhk-featured-video__thumbnail {
		border-radius: 0;
		object-fit: cover;
		height: 211px;
	}

	.cuhk-featured-video__play-overlay {
		border-radius: 0;
	}

	.cuhk-featured-video__play-btn {
		width: 72px;
		height: 72px;
	}

	.cuhk-featured-video__caption {
		border-radius: 0;
	}
}

@media (max-width: 599px) {
	.cuhk-featured-video__play-btn {
		width: 60px;
		height: 60px;
	}

	.cuhk-featured-video__play-btn svg {
		width: 24px;
		height: 24px;
	}
}

/* --- gallery-grid --- */

.cuhk-gallery-grid__items {
	display: grid;
	gap: 20px;
}

.cuhk-gallery-album-card__image {
	display: block;
	overflow: hidden;
}

.cuhk-gallery-album-card__image img {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	display: block;
	transition: opacity 0.2s ease;
}

.cuhk-gallery-album-card:hover .cuhk-gallery-album-card__image img {
	opacity: 0.85;
}

.cuhk-gallery-album-card__placeholder {
	width: 100%;
	aspect-ratio: 16 / 9;
	background: var(--wp--preset--color--background-light, #F7F7F7);
}

.cuhk-gallery-album-card__title {
	font-size: 15px;
	font-weight: 500;
	margin: 10px 0 4px;
	line-height: 1.4;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.cuhk-gallery-album-card__title a {
	color: var(--wp--preset--color--text-primary, #1A1A1A);
	text-decoration: none;
}

.cuhk-gallery-album-card__title a:hover {
	color: var(--wp--preset--color--primary, #4B2E83);
}

.cuhk-gallery-album-card__date {
	font-size: 13px;
	color: var(--wp--preset--color--text-secondary, #666);
	margin: 0;
	display: flex;
	align-items: center;
	gap: 6px;
}

.cuhk-gallery-album-card__date svg {
	flex-shrink: 0;
}

.cuhk-gallery-grid__empty {
	text-align: center;
	color: var(--wp--preset--color--text-secondary, #666);
	padding: 48px 16px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
	.cuhk-gallery-grid__items {
		grid-template-columns: repeat(3, 1fr) !important;
	}
}

@media (max-width: 781px) {
	.cuhk-gallery-grid__items {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}

@media (max-width: 480px) {
	.cuhk-gallery-grid__items {
		grid-template-columns: 1fr !important;
	}
}

/* --- hero-slider --- */

.cuhk-hero-slider {
	position: relative;
	overflow: hidden;
	width: 100%;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

.cuhk-hero-slider__track {
	position: relative;
	width: 100%;
	height: 680px;
}

.cuhk-hero-slider__slide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
	background-size: cover;
	background-position: center;
	background-color: var(--wp--preset--color--primary, #4B2E83);
	opacity: 0;
	transition: opacity 0.8s ease;
	z-index: 0;
}

.cuhk-hero-slider__slide.is-active {
	opacity: 1;
	z-index: 1;
	position: relative;
	height: 680px;
}

/* Trapezoid overlay -- angled shape covering the left side */
.cuhk-hero-slider__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.cuhk-hero-slider__overlay--trapezoid {
	clip-path: polygon(0 0, 45% 0, 30% 100%, 0 100%);
	background: var(--hero-overlay-color, rgba(4, 57, 93, 0.8));
}

.cuhk-hero-slider__overlay--gradient {
	background: linear-gradient(to right, rgba(4, 57, 93, 0.75) 0%, rgba(4, 57, 93, 0.3) 50%, transparent 100%);
}

.cuhk-hero-slider__content {
	position: relative;
	z-index: 2;
	text-align: left;
	color: #fff;
	max-width: 600px;
	padding: 4rem 4rem 5rem;
}

.cuhk-hero-slider__heading {
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 700;
	margin: 0 0 1rem;
	color: #fff;
	line-height: 1.2;
}

.cuhk-hero-slider__subheading {
	font-size: clamp(1rem, 2vw, 1.25rem);
	margin: 0 0 2rem;
	opacity: 0.9;
	line-height: 1.6;
}

.cuhk-hero-slider__button {
	display: inline-block;
	background: var(--wp--preset--color--secondary, #D4A843);
	color: var(--wp--preset--color--text-primary, #1A1A1A);
	padding: 0.75rem 2rem;
	border-radius: 4px;
	text-decoration: none;
	font-weight: 600;
	transition: background 0.2s ease;
}

.cuhk-hero-slider__button:hover {
	background: #c49a3a;
	color: var(--wp--preset--color--text-primary, #1A1A1A);
}

/* Navigation - circle arrows on edges */
.cuhk-hero-slider__prev,
.cuhk-hero-slider__next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	background: #33233B;
	border: none;
	color: #fff;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.cuhk-hero-slider__prev {
	left: 1.5rem;
}

.cuhk-hero-slider__next {
	right: 1.5rem;
}

.cuhk-hero-slider__prev:hover,
.cuhk-hero-slider__next:hover {
	background: #4a3355;
	border: none;
}

.cuhk-hero-slider__prev img,
.cuhk-hero-slider__next img {
	width: 24px;
	height: 24px;
}

/* Dots at bottom center */
.cuhk-hero-slider__dots {
	position: absolute;
	bottom: 1.5rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 10;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.cuhk-hero-slider__dot {
	border-radius: 50%;
	border: none;
	background: rgba(255, 255, 255, 0.4);
	cursor: pointer;
	transition: all 0.3s ease;
	padding: 0;
	width: 8px;
	height: 8px;
}

.cuhk-hero-slider__dot.is-active {
	background: #fff;
	width: 14px;
	height: 14px;
}

@media (max-width: 781px) {
	.cuhk-hero-slider__track {
		height: 500px;
	}

	.cuhk-hero-slider__slide.is-active {
		height: 500px;
	}

	/* Hide text overlay on mobile -- tagline shown in separate section below */
	.cuhk-hero-slider__overlay {
		display: none;
	}

	.cuhk-hero-slider__content {
		display: none;
	}

	/* Hide arrow nav on mobile -- use swipe + dots */
	.cuhk-hero-slider__prev,
	.cuhk-hero-slider__next {
		display: none;
	}

	/* Dots styling for mobile */
	.cuhk-hero-slider__dots {
		bottom: 2rem;
	}
}

/* --- inspire-stories --- */

.cuhk-inspire-stories__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}

.cuhk-inspire-card__image {
	display: block;
	overflow: hidden;
	margin-bottom: 12px;
}

.cuhk-inspire-card__image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.cuhk-inspire-card__title {
	font-size: 20px;
	font-weight: 600;
	letter-spacing: 0.4px;
	line-height: 1.4;
	margin: 0;
}

.cuhk-inspire-card__title a {
	text-decoration: none;
	color: inherit;
}

.cuhk-inspire-card__title a:hover {
	text-decoration: underline;
}

.cuhk-inspire-stories__empty {
	text-align: center;
	color: var(--wp--preset--color--text-secondary, #666);
}

@media (max-width: 781px) {
	.cuhk-inspire-stories__grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}

/* --- key-figures --- */

.cuhk-key-figures {
	padding: 2rem 0;
}

.cuhk-key-figures__grid {
	display: grid;
	gap: 1.5rem;
}

.cuhk-key-figure {
	text-align: center;
	padding: 3.5rem 1.5rem;
	background: var(--wp--preset--color--background-light, #F7F7F7);
	border-radius: 8px;
	border: none;
}

.cuhk-key-figure__number {
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: 800;
	color: var(--wp--preset--color--primary, #4B2E83);
	line-height: 1.1;
	margin-bottom: 0.75rem;
}

.cuhk-key-figure__label {
	font-size: 0.875rem;
	color: var(--wp--preset--color--text-secondary, #666);
	font-weight: 400;
	line-height: 1.4;
}

@media (max-width: 781px) {
	.cuhk-key-figures {
		padding: 0;
	}

	.cuhk-key-figures__grid {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 16px;
	}

	.cuhk-key-figure {
		padding: 24px 16px;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 10px;
		border-radius: 0;
	}

	.cuhk-key-figure__number {
		font-size: 24px;
		color: #58387A;
		margin-bottom: 0;
	}

	.cuhk-key-figure__label {
		font-size: 14px;
		color: #291C2F;
	}
}

/* --- language-switcher --- */

.cuhk-lang-switcher {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.cuhk-lang-switcher__toggle {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: transparent;
	border: none;
	padding: 6px 4px;
	color: #fff;
	font-size: 0.8125rem;
	font-family: inherit;
	cursor: pointer;
	transition: opacity 0.15s ease;
	line-height: 1;
}

.cuhk-lang-switcher__toggle:hover {
	opacity: 0.8;
}

.cuhk-lang-switcher__toggle svg {
	flex-shrink: 0;
}

.cuhk-lang-switcher__chevron {
	transition: transform 0.2s ease;
}

.cuhk-lang-switcher.is-open .cuhk-lang-switcher__chevron {
	transform: rotate(180deg);
}

.cuhk-lang-switcher__dropdown {
	display: none;
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	min-width: 120px;
	background: #fff;
	border-radius: 6px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	list-style: none;
	margin: 0;
	padding: 4px 0;
	z-index: 200;
	overflow: hidden;
}

.cuhk-lang-switcher.is-open .cuhk-lang-switcher__dropdown {
	display: block;
}

.cuhk-lang-switcher__dropdown li {
	margin: 0;
	padding: 0;
}

.cuhk-lang-switcher__option {
	display: block;
	padding: 8px 16px;
	color: #333;
	text-decoration: none;
	font-size: 0.8125rem;
	transition: background 0.1s ease;
	white-space: nowrap;
}

.cuhk-lang-switcher__option:hover {
	background: #f0f0f0;
	color: #333;
}

.cuhk-lang-switcher__option.is-active {
	font-weight: 700;
	color: #04395D;
}

/* --- mobile-menu-toggle --- */

.cuhk-mobile-menu-toggle-block {
	display: none;
}

@media screen and (max-width: 781px) {
	.cuhk-mobile-menu-toggle-block {
		display: flex;
		align-items: center;
	}
}

/* --- news-breadcrumb --- */
/* (Breadcrumb styles already present in shared section above -- skipped to avoid duplicates) */

/* --- news-list --- */

.cuhk-news-tabs {
	display: flex;
	gap: 0;
	border-bottom: 1px solid var(--wp--preset--color--border, #E0E0E0);
	margin-bottom: 40px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.cuhk-news-tabs::-webkit-scrollbar {
	display: none;
}

.cuhk-news-tabs__tab {
	padding: 12px 24px;
	font-size: 14px;
	color: var(--wp--preset--color--text-secondary, #666);
	text-decoration: none;
	white-space: nowrap;
	border-bottom: 3px solid transparent;
	transition: color 0.2s, border-color 0.2s;
	font-family: var(--wp--preset--font-family--system, -apple-system, BlinkMacSystemFont, sans-serif);
}

.cuhk-news-tabs__tab:hover {
	color: var(--wp--preset--color--text-primary, #1A1A1A);
}

.cuhk-news-tabs__tab.is-active {
	font-weight: 700;
	color: var(--wp--preset--color--text-primary, #1A1A1A);
	border-bottom-color: var(--wp--preset--color--primary, #4B2E83);
}

.cuhk-news-list__items {
	display: flex;
	flex-direction: column;
}

.cuhk-news-item {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	gap: 32px;
	align-items: flex-start;
	padding: 24px 0;
}

.cuhk-news-item + .cuhk-news-item {
	border-top: 1px solid var(--wp--preset--color--border, #E0E0E0);
}

.cuhk-news-item__content {
	min-width: 0;
}

.cuhk-news-item__content:only-child {
	grid-column: 1 / -1;
}

.cuhk-news-item__title {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 8px;
	line-height: 1.4;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	font-family: var(--wp--preset--font-family--abhaya-libre, Georgia, serif);
}

.cuhk-news-item__title a {
	color: var(--wp--preset--color--text-primary, #1A1A1A);
	text-decoration: none;
}

.cuhk-news-item__title a:hover {
	color: var(--wp--preset--color--primary, #4B2E83);
}

.cuhk-news-item__excerpt {
	font-size: 14px;
	color: var(--wp--preset--color--text-secondary, #666);
	line-height: 1.6;
	margin: 0 0 8px;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	font-family: var(--wp--preset--font-family--system, -apple-system, BlinkMacSystemFont, sans-serif);
}

.cuhk-news-item__date {
	display: block;
	font-size: 13px;
	color: var(--wp--preset--color--primary, #4B2E83);
	font-family: var(--wp--preset--font-family--system, -apple-system, BlinkMacSystemFont, sans-serif);
}

.cuhk-news-item__image {
	min-width: 0;
	width: 100%;
}

.cuhk-news-item__image a {
	display: block;
}

.cuhk-news-item__image img {
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	object-fit: cover;
	display: block;
	border-radius: var(--wp--custom--border-radius--medium, 8px);
}

.cuhk-news-pagination {
	margin-top: 48px;
	text-align: center;
}

.cuhk-news-pagination ul {
	display: flex;
	justify-content: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.cuhk-news-pagination li {
	margin: 0;
}

.cuhk-news-pagination a,
.cuhk-news-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	font-size: 14px;
	text-decoration: none;
	border: 1px solid var(--wp--preset--color--border, #E0E0E0);
	border-radius: 4px;
	color: var(--wp--preset--color--text-primary, #1A1A1A);
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
	font-family: var(--wp--preset--font-family--system, -apple-system, BlinkMacSystemFont, sans-serif);
}

.cuhk-news-pagination a:hover {
	background-color: var(--wp--preset--color--background-light, #F7F7F7);
	border-color: var(--wp--preset--color--primary, #4B2E83);
	color: var(--wp--preset--color--primary, #4B2E83);
}

.cuhk-news-pagination .current {
	background-color: var(--wp--preset--color--primary, #4B2E83);
	border-color: var(--wp--preset--color--primary, #4B2E83);
	color: #fff;
}

.cuhk-news-list__empty {
	text-align: center;
	color: var(--wp--preset--color--text-secondary, #666);
	padding: 3rem 1rem;
	font-size: 16px;
}

@media (max-width: 768px) {
	.cuhk-news-item {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.cuhk-news-item__image {
		order: -1;
		width: 100%;
	}

	.cuhk-news-item__image img {
		aspect-ratio: 16 / 9;
		height: auto;
	}

	.cuhk-news-tabs__tab {
		padding: 10px 16px;
		font-size: 13px;
	}
}

/* --- story-cards --- */

.cuhk-story-cards {
	position: relative;
	overflow: hidden;
}

.cuhk-story-cards__track {
	display: flex;
	gap: 1.25rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding-bottom: 0.5rem;
	flex: 1;
	max-width: 70%;
	margin: 0 auto;
}

.cuhk-story-cards__track::-webkit-scrollbar {
	display: none;
}

.cuhk-story-card {
	flex: 0 0 calc(25% - 1rem);
	scroll-snap-align: start;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cuhk-story-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	background: #B1D3E6;
}

.cuhk-story-card__image {
	display: block;
	overflow: hidden;
}

.cuhk-story-card__image img {
	width: 100%;
	height: 240px;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.cuhk-story-card:hover .cuhk-story-card__image img {
	transform: scale(1.05);
}

.cuhk-story-card__body {
	padding: 1rem;
	transition: background 0.2s ease;
}

.cuhk-story-card:hover .cuhk-story-card__body {
	background: #B1D3E6;
}

.cuhk-story-card__name {
	font-size: 0.9375rem;
	font-weight: 600;
	margin: 0 0 0.25rem;
}

.cuhk-story-card__name a {
	color: var(--wp--preset--color--primary, #4B2E83);
	text-decoration: none;
}

.cuhk-story-card__name a:hover {
	color: var(--wp--preset--color--primary-dark, #3A2368);
}

.cuhk-story-card__meta {
	font-size: 0.8125rem;
	color: var(--wp--preset--color--text-secondary, #666);
	margin: 0 0 0.5rem;
	line-height: 1.4;
}

.cuhk-story-card__quote {
	font-size: 0.8125rem;
	color: var(--wp--preset--color--text-secondary, #666);
	font-style: italic;
	margin: 0;
	line-height: 1.5;
}

.cuhk-story-card__excerpt {
	font-size: 0.8125rem;
	color: var(--wp--preset--color--text-secondary, #666);
	margin: 0;
	line-height: 1.5;
}

.cuhk-story-cards__empty {
	text-align: center;
	color: var(--wp--preset--color--text-secondary, #666);
	padding: 2rem;
}

/* Carousel navigation arrows -- positioned at far edges */
.cuhk-story-cards .cuhk-carousel__prev,
.cuhk-story-cards .cuhk-carousel__next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	border: none;
	background: transparent;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
	padding: 0;
}

.cuhk-story-cards .cuhk-carousel__prev img,
.cuhk-story-cards .cuhk-carousel__next img {
	width: 23px;
	height: 42px;
	filter: brightness(0);
}

.cuhk-story-cards .cuhk-carousel__prev:hover img,
.cuhk-story-cards .cuhk-carousel__next:hover img {
	filter: brightness(0) opacity(0.6);
}

.cuhk-story-cards .cuhk-carousel__prev {
	left: 0;
}

.cuhk-story-cards .cuhk-carousel__next {
	right: 0;
}

@media (max-width: 1024px) {
	.cuhk-story-card {
		flex: 0 0 calc(33.333% - 1rem);
	}
}

@media (max-width: 781px) {
	.cuhk-story-cards {
		overflow: visible;
		position: relative;
	}

	.cuhk-story-cards__track {
		max-width: 100%;
		width: 100%;
		gap: 0;
		padding: 0;
		margin: 0 auto;
		flex: none;
		scroll-snap-type: x mandatory;
		box-sizing: border-box;
		width: calc(100% - 80px);
	}

	.cuhk-story-card {
		flex: 0 0 100%;
		min-width: 0;
		background: #B1D3E6;
		border-radius: 0;
		scroll-snap-align: start;
	}

	.cuhk-story-card:hover {
		transform: none;
		box-shadow: none;
	}

	.cuhk-story-card__image img {
		height: auto;
		aspect-ratio: 1 / 1;
	}

	.cuhk-story-card__body {
		padding: 24px;
	}

	.cuhk-story-card__name {
		font-size: 1.25rem;
		font-weight: 600;
		letter-spacing: 0.4px;
	}

	.cuhk-story-card__meta {
		font-size: 1rem;
		line-height: 1.8;
	}

	.cuhk-story-card__excerpt {
		font-size: 0.875rem;
		line-height: 1.5;
		max-height: 72px;
		overflow: hidden;
	}

	/* Arrows on left/right edges of the card area */
	.cuhk-story-cards .cuhk-carousel__prev,
	.cuhk-story-cards .cuhk-carousel__next {
		top: 40%;
	}

	.cuhk-story-cards .cuhk-carousel__prev {
		left: 4px;
	}

	.cuhk-story-cards .cuhk-carousel__next {
		right: 4px;
	}

	.cuhk-story-cards .cuhk-carousel__prev img,
	.cuhk-story-cards .cuhk-carousel__next img {
		width: 16px;
		height: 28px;
	}
}

/* --- upcoming-events --- */

.cuhk-upcoming-events__grid {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: 3rem;
}

.cuhk-upcoming-event {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

/* Vertical / horizontal divider between events */
.cuhk-upcoming-events__divider {
	width: 1px;
	background-color: var(--wp--preset--color--border, #E0E0E0);
}

.cuhk-upcoming-event__title {
	font-size: 1.25rem;
	font-weight: 600;
	margin: 0 0 0.5rem;
	line-height: 1.3;
}

.cuhk-upcoming-event__title a {
	color: var(--wp--preset--color--text-primary, #1A1A1A);
	text-decoration: none;
}

.cuhk-upcoming-event__title a:hover {
	color: var(--wp--preset--color--primary, #4B2E83);
}

.cuhk-upcoming-event__date {
	font-size: 0.875rem;
	color: var(--wp--preset--color--text-secondary, #666);
	margin: 0 0 1.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
}

.cuhk-upcoming-event__date-icon {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
}

.cuhk-upcoming-event__excerpt {
	font-size: 0.875rem;
	color: var(--wp--preset--color--text-secondary, #666);
	line-height: 1.6;
	border-top: 1px solid var(--wp--preset--color--border, #E0E0E0);
	padding-top: 1.5rem;
}

.cuhk-upcoming-event__excerpt p {
	margin: 0;
}

.cuhk-upcoming-events__actions {
	display: flex;
	justify-content: center;
	margin-top: 2.5rem;
}

.cuhk-upcoming-events__all-btn {
	display: inline-block;
	border: 1px solid var(--wp--preset--color--text-primary, #1A1A1A);
	color: var(--wp--preset--color--text-primary, #1A1A1A);
	background: transparent;
	padding: 0.75rem 3rem;
	text-decoration: none;
	font-weight: 500;
	font-size: 1rem;
	transition: background 0.2s ease, color 0.2s ease;
}

.cuhk-upcoming-events__all-btn:hover {
	background: var(--wp--preset--color--text-primary, #1A1A1A);
	color: #fff;
}

.cuhk-upcoming-events__empty {
	text-align: center;
	color: var(--wp--preset--color--text-secondary, #666);
	padding: 2rem;
}

@media (max-width: 781px) {
	.cuhk-upcoming-events__grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	/* Hide vertical divider on mobile */
	.cuhk-upcoming-events__divider {
		display: none;
	}

	/* Bordered cards on mobile */
	.cuhk-upcoming-event {
		border: 1px solid #ddd;
		padding: 24px;
	}

	.cuhk-upcoming-event__title {
		font-size: 1.25rem;
		color: #251E4E;
	}

	.cuhk-upcoming-event__date {
		font-size: 0.875rem;
		color: #696984;
	}

	.cuhk-upcoming-event__excerpt {
		font-size: 0.75rem;
		color: #696984;
		border-top: none;
		padding-top: 0;
	}
}

/* =========================================
   Search Page
   ========================================= */

/* Solid header on search page (not transparent) */
.search .cuhk-site-header {
	position: relative;
	top: auto;
	background: #fff !important;
	border-bottom: 1px solid var(--wp--preset--color--border);
}

.search.admin-bar .cuhk-site-header {
	top: auto;
}

/* White text links become dark on solid header */
.search .cuhk-site-header a,
.search .cuhk-site-header .cuhk-primary-nav a {
	color: var(--wp--preset--color--text-primary);
}

.cuhk-search-page {
	max-width: 1000px;
	margin: 0 auto;
	padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--40) var(--wp--preset--spacing--70);
}

/* Search bar */
.cuhk-search-bar {
	margin-bottom: var(--wp--preset--spacing--50);
}

.cuhk-search-bar form {
	position: relative;
	display: flex;
	align-items: center;
}

.cuhk-search-bar__icon {
	position: absolute;
	left: 16px;
	pointer-events: none;
}

.cuhk-search-bar__input {
	width: 100%;
	padding: 14px 16px 14px 48px;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 0;
	font-family: var(--wp--preset--font-family--abhaya-libre);
	font-size: var(--wp--preset--font-size--medium);
	color: var(--wp--preset--color--text-primary);
	background: #fff;
	outline: none;
}

.cuhk-search-bar__input:focus {
	border-color: var(--wp--preset--color--primary);
}

.cuhk-search-bar__input::placeholder {
	color: #999;
}

/* Results count */
.cuhk-search-results-count {
	display: flex;
	align-items: center;
	gap: 16px;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--text-secondary);
	margin-bottom: var(--wp--preset--spacing--40);
	white-space: nowrap;
}

.cuhk-search-results-count::after {
	content: '';
	flex: 1;
	height: 1px;
	background: var(--wp--preset--color--border);
}

/* Search result cards */
.cuhk-search-card {
	display: flex;
	gap: var(--wp--preset--spacing--40);
	padding: var(--wp--preset--spacing--40) 0;
	border-bottom: 1px solid var(--wp--preset--color--border);
	align-items: flex-start;
}

.cuhk-search-card__content {
	flex: 1;
	min-width: 0;
}

.cuhk-search-card__title {
	font-family: var(--wp--preset--font-family--abhaya-libre);
	font-size: var(--wp--preset--font-size--large);
	font-weight: 600;
	line-height: 1.4;
	margin: 0 0 8px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.cuhk-search-card__title a {
	color: var(--wp--preset--color--text-primary);
	text-decoration: none;
}

.cuhk-search-card__title a:hover {
	color: var(--wp--preset--color--primary);
}

.cuhk-search-card__excerpt {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--text-secondary);
	line-height: 1.6;
	margin: 0 0 8px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.cuhk-search-card__excerpt a {
	color: var(--wp--preset--color--primary);
	text-decoration: none;
}

.cuhk-search-card__date {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--text-secondary);
}

.cuhk-search-card__thumb {
	flex-shrink: 0;
	width: 120px;
	height: 90px;
	overflow: hidden;
}

.cuhk-search-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.cuhk-search-card__placeholder {
	width: 100%;
	height: 100%;
	background: #f0f0f0;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Pagination */
.cuhk-search-pagination {
	margin-top: var(--wp--preset--spacing--60);
	display: flex;
	justify-content: center;
}

/* No results */
.cuhk-search-no-results {
	text-align: center;
	padding: var(--wp--preset--spacing--80) 0;
}

.cuhk-search-no-results__text {
	font-family: var(--wp--preset--font-family--abhaya-libre);
	font-size: var(--wp--preset--font-size--x-large);
	color: var(--wp--preset--color--text-primary);
	margin: 0 0 var(--wp--preset--spacing--40);
}

.cuhk-search-no-results__btn {
	display: inline-block;
	padding: 10px 28px;
	border: 1px solid var(--wp--preset--color--text-primary);
	color: var(--wp--preset--color--text-primary);
	text-decoration: none;
	font-size: var(--wp--preset--font-size--small);
	font-family: var(--wp--preset--font-family--abhaya-libre);
	transition: background 0.2s, color 0.2s;
}

.cuhk-search-no-results__btn:hover {
	background: var(--wp--preset--color--text-primary);
	color: #fff;
}

/* Mobile */
@media (max-width: 600px) {
	.cuhk-search-card {
		flex-direction: column-reverse;
	}

	.cuhk-search-card__thumb {
		width: 100%;
		height: 180px;
	}
}

/* =========================================
   Single Event
   ========================================= */

.cuhk-single-event {
	max-width: 720px;
	margin: 0 auto;
	padding: 32px 24px 80px;
}

.cuhk-single-event__breadcrumb {
	margin-bottom: 28px;
}

.cuhk-single-event__article {
	color: var(--wp--preset--color--text-primary, #1a1a1a);
}

.cuhk-single-event__eyebrow {
	font-size: 14px;
	color: var(--wp--preset--color--text-secondary, #666);
	margin: 0 0 12px;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.cuhk-single-event__title {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 32px;
	line-height: 1.25;
	font-weight: 600;
	margin: 0 0 20px;
	color: var(--wp--preset--color--text-primary, #1a1a1a);
}

.cuhk-single-event__lead {
	font-size: 16px;
	line-height: 1.6;
	color: var(--wp--preset--color--text-primary, #1a1a1a);
	margin-bottom: 28px;
	font-weight: 500;
}

.cuhk-single-event__lead p {
	margin: 0 0 12px;
}

.cuhk-single-event__lead a {
	color: var(--wp--preset--color--accent, #1e6fbf);
	text-decoration: none;
}

.cuhk-single-event__lead a:hover {
	text-decoration: underline;
}

.cuhk-single-event__image {
	margin: 0 0 32px;
}

.cuhk-single-event__image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 2px;
}

.cuhk-single-event__content {
	font-size: 16px;
	line-height: 1.7;
	color: var(--wp--preset--color--text-primary, #1a1a1a);
	margin-bottom: 40px;
}

.cuhk-single-event__content p {
	margin: 0 0 16px;
}

.cuhk-single-event__content a {
	color: var(--wp--preset--color--accent, #1e6fbf);
}

.cuhk-single-event__details {
	margin-top: 16px;
}

.cuhk-single-event__details-heading {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 22px;
	font-weight: 600;
	margin: 0 0 20px;
	color: var(--wp--preset--color--text-primary, #1a1a1a);
}

.cuhk-single-event__details-list {
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.cuhk-single-event__detail {
	display: block;
}

.cuhk-single-event__detail dt {
	font-size: 14px;
	font-weight: 700;
	color: var(--wp--preset--color--text-primary, #1a1a1a);
	margin: 0 0 4px;
}

.cuhk-single-event__detail dd {
	font-size: 14px;
	line-height: 1.5;
	color: var(--wp--preset--color--text-secondary, #555);
	margin: 0;
}

.cuhk-single-event__detail dd a {
	color: var(--wp--preset--color--accent, #1e6fbf);
	text-decoration: none;
}

.cuhk-single-event__divider {
	border: 0;
	border-top: 1px solid #e5e5e5;
	margin: 40px 0 32px;
}

.cuhk-single-event__disclaimer-heading {
	font-size: 14px;
	font-weight: 700;
	margin: 0 0 8px;
	color: var(--wp--preset--color--text-primary, #1a1a1a);
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.cuhk-single-event__disclaimer p {
	font-size: 13px;
	line-height: 1.6;
	color: var(--wp--preset--color--text-secondary, #666);
	margin: 0;
}

@media (max-width: 600px) {
	.cuhk-single-event {
		padding: 20px 16px 60px;
	}

	.cuhk-single-event__title {
		font-size: 26px;
	}
}

/* =========================================
   Global Network page
   ========================================= */

/* Hero — green nature placeholder, supports 2-line title */
.cuhk-gn-hero {
	min-height: 360px;
	background-color: #2f5a38;
	background-image:
		radial-gradient(ellipse 60% 55% at 50% 55%, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 60%),
		linear-gradient(140deg, #3a6f44 0%, #2f5a38 45%, #244a2d 100%);
}

.cuhk-gn-hero .cuhk-page-hero__overlay {
	background: linear-gradient(90deg, rgba(10, 25, 15, 0.45) 0%, rgba(10, 25, 15, 0.15) 60%, rgba(10, 25, 15, 0) 100%);
}

.cuhk-gn-hero .cuhk-page-hero__title {
	line-height: 1.05;
}

/* Entry cards row */
.cuhk-gn-entries {
	background: #fff;
	padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--40);
}

.cuhk-gn-entries__inner {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--wp--preset--spacing--40);
}

.cuhk-gn-entry {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--wp--preset--color--border, #e0e0e0);
	border-radius: 4px;
	background: #fff;
	text-decoration: none;
	color: inherit;
	overflow: hidden;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.cuhk-gn-entry:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

.cuhk-gn-entry__image {
	aspect-ratio: 16 / 9;
	background-color: #7a3b2e;
	background-image:
		radial-gradient(ellipse 45% 55% at 30% 55%, rgba(255, 210, 150, 0.45) 0%, rgba(255, 210, 150, 0) 60%),
		radial-gradient(ellipse 35% 50% at 75% 45%, rgba(180, 40, 40, 0.55) 0%, rgba(180, 40, 40, 0) 65%),
		linear-gradient(135deg, #8a4638 0%, #5c2a24 100%);
	background-size: cover;
	background-position: center;
}

.cuhk-gn-entry__image--alt {
	background-color: #7a5fa3;
	background-image:
		radial-gradient(ellipse 28% 45% at 25% 55%, rgba(210, 150, 200, 0.55) 0%, rgba(210, 150, 200, 0) 65%),
		radial-gradient(ellipse 25% 40% at 55% 50%, rgba(255, 215, 140, 0.45) 0%, rgba(255, 215, 140, 0) 65%),
		radial-gradient(ellipse 28% 45% at 80% 55%, rgba(130, 90, 170, 0.6) 0%, rgba(130, 90, 170, 0) 65%),
		linear-gradient(135deg, #8a6db0 0%, #5a3d85 100%);
	background-size: cover;
	background-position: center;
}

.cuhk-gn-entry__body {
	padding: var(--wp--preset--spacing--40);
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--20);
}

.cuhk-gn-entry__title {
	margin: 0;
	font-family: 'Abhaya Libre', Georgia, serif;
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--wp--preset--color--text-primary, #1a1a1a);
	line-height: 1.3;
}

/* Shared small arrow button */
.cuhk-arrow-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border: 1px solid var(--wp--preset--color--border, #e0e0e0);
	border-radius: 0;
	background: #fff;
	color: var(--wp--preset--color--text-primary, #1a1a1a);
	font-family: 'Abhaya Libre', Georgia, serif;
	font-size: 16px;
	line-height: 1;
	transition: background 0.15s ease, color 0.15s ease;
}

.cuhk-gn-entry:hover .cuhk-arrow-btn,
.cuhk-gn-cta__card:hover .cuhk-arrow-btn {
	background: var(--wp--preset--color--text-primary, #1a1a1a);
	color: #fff;
}

.cuhk-arrow-btn--on-lavender {
	background: transparent;
	border-color: rgba(26, 26, 26, 0.35);
}

/* How to form section */
.cuhk-gn-howto {
	background: #eef0f2;
	padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--40);
}

.cuhk-gn-howto__inner {
	max-width: 1200px;
	margin: 0 auto;
}

.cuhk-gn-howto__title {
	margin: 0 0 var(--wp--preset--spacing--50);
	text-align: center;
	font-family: 'Abhaya Libre', Georgia, serif;
	font-weight: 600;
	font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem);
	color: var(--wp--preset--color--text-primary, #1a1a1a);
}

.cuhk-gn-steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--wp--preset--spacing--40);
}

.cuhk-gn-step {
	background: #fff;
	border-radius: 4px;
	padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--40) var(--wp--preset--spacing--50);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	display: flex;
	flex-direction: column;
}

.cuhk-gn-step__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--30);
	margin-bottom: var(--wp--preset--spacing--10);
}

.cuhk-gn-step__number {
	font-family: 'Abhaya Libre', Georgia, serif;
	font-size: 2rem;
	font-weight: 600;
	line-height: 1;
	color: var(--wp--preset--color--primary, #4b2e83);
}

.cuhk-gn-step__icon {
	color: var(--wp--preset--color--primary, #4b2e83);
	opacity: 0.85;
	display: inline-flex;
}

.cuhk-gn-step__title {
	margin: 0 0 var(--wp--preset--spacing--30);
	font-family: 'Abhaya Libre', Georgia, serif;
	font-size: 1.0625rem;
	font-weight: 600;
	color: var(--wp--preset--color--text-primary, #1a1a1a);
	line-height: 1.3;
}

.cuhk-gn-step__list {
	margin: 0;
	padding-left: 1.1em;
	list-style: disc;
	color: var(--wp--preset--color--text-secondary, #555);
	font-size: 0.8125rem;
	line-height: 1.55;
}

.cuhk-gn-step__list li + li {
	margin-top: 0.35em;
}

/* Alumni Associations Centre CTA */
.cuhk-gn-cta {
	background: #fff;
	padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--40) var(--wp--preset--spacing--70);
}

.cuhk-gn-cta__inner {
	max-width: 1200px;
	margin: 0 auto;
}

.cuhk-gn-cta__card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: stretch;
	border-radius: 4px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: box-shadow 0.2s ease;
}

.cuhk-gn-cta__card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.cuhk-gn-cta__image {
	min-height: 200px;
	background: #d8c6b4
		linear-gradient(135deg, rgba(180, 150, 110, 0.35) 0%, rgba(90, 70, 50, 0.25) 100%);
	background-size: cover;
	background-position: center;
}

.cuhk-gn-cta__body {
	background: var(--wp--preset--color--footer-bg, #c9aad0);
	padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--50);
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: var(--wp--preset--spacing--30);
}

.cuhk-gn-cta__title {
	margin: 0;
	font-family: 'Abhaya Libre', Georgia, serif;
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--wp--preset--color--text-primary, #1a1a1a);
}

/* Tablet */
@media (max-width: 960px) {
	.cuhk-gn-steps {
		grid-template-columns: 1fr;
	}
}

/* Mobile */
@media (max-width: 720px) {
	.cuhk-gn-entries__inner {
		grid-template-columns: 1fr;
	}
	.cuhk-gn-cta__card {
		grid-template-columns: 1fr;
	}
	.cuhk-gn-cta__image {
		min-height: 180px;
	}
	.cuhk-gn-hero {
		min-height: 280px;
	}
}

