/**
 * ACWC Chairmanship landing + detail styles
 */

.acwc-chairmanship-landing .entry-content {
	margin-bottom: 28px;
}

/* —— Featured current year —— */
.acwc-chair-featured {
	margin: 8px 0 40px;
	padding: 28px 28px 32px;
	background: linear-gradient(135deg, #faf7fb 0%, #f3eaf5 55%, #fff 100%);
	border: 1px solid #e8d8ec;
	border-left: 5px solid #803380;
}

.acwc-chair-featured__badge {
	display: inline-block;
	margin-bottom: 14px;
	padding: 4px 12px;
	background: #803380;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	line-height: 1.4;
}

.acwc-chair-featured__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 24px;
}

.acwc-chair-featured__media {
	flex: 0 0 auto;
	max-width: 160px;
}

.acwc-chair-featured__logo {
	display: block;
	width: 100%;
	height: auto;
	background: #fff;
	border: 1px solid #e5e5e5;
}

.acwc-chair-featured__body {
	flex: 1 1 240px;
	min-width: 0;
}

.acwc-chair-featured__title {
	margin: 0 0 8px;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.25;
	color: #333;
}

.acwc-chair-featured__title a {
	color: inherit;
	text-decoration: none;
}

.acwc-chair-featured__title a:hover,
.acwc-chair-featured__title a:focus {
	color: #803380;
}

.acwc-chair-featured__theme {
	margin: 0 0 12px;
	font-size: 17px;
	font-weight: 600;
	font-style: italic;
	color: #803380;
	line-height: 1.4;
}

.acwc-chair-featured__summary {
	margin: 0 0 18px;
	font-size: 16px;
	line-height: 1.55;
	color: #555;
}

.acwc-chair-featured__cta {
	display: inline-block;
	padding: 8px 18px;
	background: #803380;
	color: #fff !important;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none !important;
	transition: background-color 0.15s ease;
}

.acwc-chair-featured__cta:hover,
.acwc-chair-featured__cta:focus {
	background: #222;
	color: #fff !important;
}

/* —— Over the years list —— */
.acwc-chair-years {
	margin: 0 0 40px;
}

.acwc-chair-years__heading {
	margin: 0 0 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid #803380;
	font-size: 22px;
	font-weight: 700;
	color: #333;
}

.acwc-chair-years__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.acwc-chair-years__item {
	margin: 0 0 10px;
}

.acwc-chair-years__link {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 18px;
	border: 1px solid #e5e5e5;
	border-left: 4px solid #803380;
	background: #fff;
	color: #333 !important;
	text-decoration: none !important;
	transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.acwc-chair-years__link:hover,
.acwc-chair-years__link:focus {
	background: #faf7fb;
	box-shadow: 0 2px 8px rgba(128, 51, 128, 0.12);
	color: #803380 !important;
}

.acwc-chair-years__year {
	flex: 0 0 72px;
	font-size: 16px;
	font-weight: 700;
	color: #803380;
}

.acwc-chair-years__country {
	flex: 1 1 auto;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
}

.acwc-chair-years__action {
	flex: 0 0 auto;
	padding: 4px 12px;
	background: #803380;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}

.acwc-chair-years__link:hover .acwc-chair-years__action,
.acwc-chair-years__link:focus .acwc-chair-years__action {
	background: #222;
}

.acwc-chair-empty {
	margin: 24px 0 40px;
	padding: 16px 20px;
	background: #faf7fb;
	border-left: 4px solid #803380;
	color: #666;
}

/* —— Detail —— */
.acwc-chair-detail__back {
	margin: 0 0 16px;
	font-size: 14px;
}

.acwc-chair-detail__back a {
	color: #803380;
	text-decoration: none;
	font-weight: 600;
}

.acwc-chair-detail__back a:hover {
	text-decoration: underline;
}

.acwc-chair-detail__hero {
	margin: 0 0 28px;
	padding: 28px 28px 32px;
	background: linear-gradient(135deg, #faf7fb 0%, #f3eaf5 55%, #fff 100%);
	border: 1px solid #e8d8ec;
	border-left: 5px solid #9a6a9c;
}

.acwc-chair-detail__hero--current {
	border-left-color: #803380;
}

.acwc-chair-detail__hero-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 28px 32px;
}

.acwc-chair-detail__logo {
	flex: 0 0 auto;
	max-width: 360px;
	width: min(100%, 360px);
	margin: 0;
	padding: 16px;
	background: #fff;
	box-shadow: 0 1px 4px rgba(128, 51, 128, 0.08);
}

.acwc-chair-detail__logo-img {
	display: block;
	width: 100%;
	height: auto;
}

.acwc-chair-detail__hero-body {
	flex: 1 1 260px;
	min-width: 0;
}

.acwc-chair-detail__badge {
	display: inline-block;
	margin-bottom: 12px;
	padding: 4px 12px;
	background: #803380;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	line-height: 1.4;
}

.acwc-chair-detail__badge--past {
	background: #6b5a6e;
}

.acwc-chair-detail__year {
	margin: 0 0 4px;
	font-size: 42px;
	font-weight: 700;
	line-height: 1.1;
	color: #803380;
	letter-spacing: -0.02em;
}

.acwc-chair-detail__title {
	margin: 0 0 12px;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	color: #333;
}

.acwc-chair-detail__theme {
	margin: 0 0 18px;
	font-size: 18px;
	font-weight: 600;
	font-style: italic;
	color: #803380;
	line-height: 1.4;
}

.acwc-chair-detail__chips {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.acwc-chair-detail__chips li {
	display: inline-block;
	padding: 6px 12px;
	background: #fff;
	border: 1px solid #e8d8ec;
	font-size: 13px;
	font-weight: 600;
	color: #444;
	line-height: 1.35;
}

.acwc-chair-detail__chip-label {
	color: #803380;
	font-weight: 700;
	margin-right: 4px;
}

.acwc-chair-detail__summary {
	margin: 0 0 22px;
	font-size: 18px;
	line-height: 1.6;
	color: #555;
}

.acwc-chair-detail__content {
	margin-bottom: 8px;
}

.acwc-chair-detail__nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	margin: 36px 0 16px;
	padding-top: 24px;
	border-top: 1px solid #e5e5e5;
}

.acwc-chair-detail__nav-link {
	display: flex;
	flex-direction: column;
	gap: 4px;
	max-width: 48%;
	padding: 12px 16px;
	border: 1px solid #e5e5e5;
	border-left: 4px solid #803380;
	background: #fff;
	color: #333 !important;
	text-decoration: none !important;
	transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.acwc-chair-detail__nav-link:hover,
.acwc-chair-detail__nav-link:focus {
	background: #faf7fb;
	box-shadow: 0 2px 8px rgba(128, 51, 128, 0.12);
	color: #803380 !important;
}

.acwc-chair-detail__nav-link--next {
	margin-left: auto;
	text-align: right;
	border-left: 1px solid #e5e5e5;
	border-right: 4px solid #803380;
}

.acwc-chair-detail__nav-link--empty {
	visibility: hidden;
	pointer-events: none;
	border: 0;
	padding: 0;
}

.acwc-chair-detail__nav-dir {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #803380;
}

.acwc-chair-detail__nav-label {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
}

@media (max-width: 575px) {
	.acwc-chair-featured {
		padding: 20px;
	}

	.acwc-chair-featured__title {
		font-size: 22px;
	}

	.acwc-chair-years__link {
		flex-wrap: wrap;
	}

	.acwc-chair-years__year {
		flex: 0 0 100%;
	}

	.acwc-chair-years__action {
		margin-left: auto;
	}

	.acwc-chair-detail__hero {
		padding: 20px;
	}

	.acwc-chair-detail__logo {
		max-width: 100%;
		width: 100%;
	}

	.acwc-chair-detail__year {
		font-size: 34px;
	}

	.acwc-chair-detail__title {
		font-size: 24px;
	}

	.acwc-chair-detail__nav-link {
		max-width: 100%;
		width: 100%;
	}

	.acwc-chair-detail__nav-link--next {
		margin-left: 0;
		text-align: left;
		border-left: 4px solid #803380;
		border-right: 1px solid #e5e5e5;
	}
}
