/* Page-specific layouts — Home + Conference */

.basz-hero {
	position: relative;
	min-height: 480px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--basz-color-dark-blue);
	background-size: cover;
	background-position: center;
	color: var(--basz-color-white);
	text-align: center;
	padding: 120px 24px 80px;
}

.basz-hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 80px;
	background: linear-gradient(to bottom, transparent, rgba(19, 27, 42, 0.35));
	pointer-events: none;
}

.basz-hero__content {
	position: relative;
	z-index: 1;
	max-width: 896px;
	margin: 0 auto;
}

.basz-hero__title {
	color: var(--basz-color-white);
	font-size: clamp(28px, 4vw, 40px);
	margin-bottom: 24px;
}

.basz-hero .basz-btn {
	margin-top: 8px;
}

.basz-hero-bar {
	height: 80px;
	background: var(--basz-color-medium-dark-blue);
}

/* Package cards */
.basz-packages {
	display: grid;
	gap: 16px;
	grid-template-columns: 1fr;
}

@media (min-width: 900px) {
	.basz-packages {
		grid-template-columns: 1fr 1fr;
	}
}

.basz-package {
	position: relative;
	background: var(--basz-color-warm-white);
	border-radius: var(--basz-radius);
	padding: 16px;
	overflow: hidden;
	border: 1px solid var(--basz-color-light-grey);
}

.basz-package__title {
	margin: 0 0 16px;
}

.basz-package__features {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.basz-package__features li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 16px;
}

.basz-package__features .icon {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	color: var(--basz-color-orange);
}

.basz-package__prices {
	border-top: 1px solid var(--basz-color-light-grey);
	padding-top: 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 16px;
}

.basz-package__price-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

.basz-package__price {
	font-family: var(--basz-font-heading);
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--basz-color-dark-blue);
}

.basz-package__note {
	font-size: 14px;
	color: var(--basz-color-medium-dark-blue);
	margin: 0 0 16px;
	padding-top: 8px;
	border-top: 1px solid var(--basz-color-light-grey);
}

.basz-note-box {
	background: var(--basz-color-light-grey);
	border-radius: var(--basz-radius);
	padding: 16px;
	margin-top: 24px;
}

.basz-note-box p {
	margin: 0;
}

/* Mission / two-col cards */
.basz-mission-grid {
	display: grid;
	gap: 32px;
	grid-template-columns: 1fr;
}

@media (min-width: 900px) {
	.basz-mission-grid {
		grid-template-columns: 1fr 1fr;
		gap: 48px;
	}
}

.basz-card-soft {
	background: var(--basz-color-warm-white);
	border-radius: var(--basz-radius);
	padding: 24px;
}

.basz-section--dark {
	background: var(--basz-color-dark-blue);
	color: var(--basz-color-white);
}

.basz-section--dark h1,
.basz-section--dark h2,
.basz-section--dark h3,
.basz-section--dark h4,
.basz-section--dark p {
	color: var(--basz-color-white);
}

.basz-section--grey {
	background: var(--basz-color-light-grey);
}

.basz-section--warm {
	background: var(--basz-color-warm-white);
}

.basz-map-placeholder {
	width: 100%;
	min-height: 400px;
	background: var(--basz-color-light-blue);
	border-radius: var(--basz-radius);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--basz-color-dark-blue);
}

.basz-committee {
	display: grid;
	gap: 32px;
	grid-template-columns: 1fr;
}

@media (min-width: 900px) {
	.basz-committee {
		grid-template-columns: 1fr 1fr;
	}
}

.basz-committee__list {
	columns: 1;
	gap: 24px;
}

@media (min-width: 600px) {
	.basz-committee__list {
		columns: 2;
	}
}

.basz-committee__list p {
	margin: 0 0 0.35em;
	break-inside: avoid;
}

/* News / events cards */
.basz-card-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: 1fr;
}

@media (min-width: 768px) {
	.basz-card-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/*
 * Always a white card inside any section: #25354C titles, #1A1A1A body text.
 */
.basz-news-card {
	background: var(--basz-color-white);
	color: #1A1A1A;
	border-radius: var(--basz-radius);
	overflow: hidden;
	border: 1px solid var(--basz-color-light-grey);
	display: flex;
	flex-direction: column;
	height: 100%;
}

/*
 * Image slot caps at 593x320 (Figma) and keeps that ratio when the card is
 * narrower. align-self centres it: horizontally in the stacked card,
 * vertically in the 50/50 one-per-view card.
 */
.basz-news-card__media {
	width: 100%;
	max-width: 593px;
	max-height: 320px;
	aspect-ratio: 593 / 320;
	align-self: center;
	background: var(--basz-color-light-blue);
	overflow: hidden;
}

/* contain, so the whole image is visible instead of being cropped. */
.basz-news-card__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center center;
	display: block;
}

/* Text inherits the card colour. Sizes use em so the block's font-size scales them. */
.basz-news-card__body {
	padding: 16px;
	display: flex;
	flex-direction: column;
	flex: 1;
	color: inherit;
}

.basz-news-card__body h3 {
	margin-bottom: 8px;
	color: #25354C;
}

.basz-news-card__body p {
	margin-bottom: 12px;
	font-size: 0.875em;
	color: inherit;
}

.basz-news-card__body .basz-btn {
	margin-top: auto;
	align-self: flex-start;
}

/* Responsive tweaks from Mobile frames */
@media (max-width: 767px) {
	.basz-hero {
		min-height: 360px;
		padding: 100px 20px 60px;
	}

	.basz-hero__title {
		font-size: 28px;
	}

	.basz-section__inner {
		padding: 32px 20px;
	}

	.basz-slider__nav {
		display: none;
	}
}

/* Media placeholders (Figma image slots) */
.basz-media-placeholder {
	min-height: 280px;
	background: linear-gradient(145deg, var(--basz-color-light-grey), var(--basz-color-light-blue, #ADBDD6));
	border-radius: var(--basz-radius);
}

/* Auth / membership forms */
.basz-auth {
	max-width: 592px;
	margin: 0 auto;
	background: var(--basz-color-white);
	border: 1px solid var(--basz-color-light-grey);
	border-radius: var(--basz-radius);
	overflow: hidden;
}

.basz-auth-tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.basz-auth-tabs__btn {
	appearance: none;
	border: none;
	background: var(--basz-color-light-grey);
	color: var(--basz-color-medium-dark-blue);
	font-family: var(--basz-font-body);
	font-size: 16px;
	font-weight: 700;
	padding: 16px;
	cursor: pointer;
}

.basz-auth-tabs__btn.is-active {
	background: var(--basz-color-white);
	color: var(--basz-color-orange);
}

.basz-auth-panel {
	display: none;
	padding: 24px 32px 40px;
}

.basz-auth-panel.is-active {
	display: block;
}

@media (max-width: 640px) {
	.basz-auth-panel {
		padding: 20px 16px 32px;
	}
}

.basz-auth-form__title {
	margin: 0 0 16px;
	text-align: center;
	font-size: 24px;
}

.basz-auth-form__subtitle {
	margin: 24px 0 12px;
	font-size: 16px;
	font-weight: 700;
}

.basz-auth-type {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	margin-bottom: 24px;
	justify-content: space-between;
}

.basz-auth-type__option {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	font-weight: 700;
}

.basz-auth-type__option input {
	width: 20px;
	height: 20px;
	accent-color: var(--basz-color-orange);
}

.basz-auth-field {
	margin-bottom: 16px;
	flex: 1;
	min-width: 0;
}

.basz-auth-field label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 700;
}

.basz-auth-field input,
.basz-auth-field textarea,
.basz-auth-field select {
	width: 100%;
	min-height: 40px;
	padding: 8px 12px;
	border: 1px solid var(--basz-color-light-blue, #ADBDD6);
	border-radius: var(--basz-radius);
	font-family: var(--basz-font-body);
	font-size: 16px;
	background: var(--basz-color-white);
}

.basz-auth-row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0 16px;
}

@media (min-width: 560px) {
	.basz-auth-row {
		grid-template-columns: 1fr 1fr;
	}
}

.basz-auth-fieldset {
	border: none;
	margin: 24px 0;
	padding: 0;
}

.basz-auth-fieldset legend {
	font-weight: 700;
	margin-bottom: 12px;
}

.basz-radio,
.basz-check {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 12px;
	cursor: pointer;
}

.basz-radio input,
.basz-check input {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	margin-top: 2px;
	accent-color: var(--basz-color-orange);
}

.basz-auth-form__help,
.basz-auth-form__legal,
.basz-auth-form__note {
	font-size: 14px;
	line-height: 1.5;
	margin: 12px 0 16px;
}

.basz-auth-form__note {
	text-align: center;
}

.basz-auth-form .basz-btn {
	margin-top: 16px;
	width: 100%;
	max-width: 220px;
}

/* Conference registration / feedback forms (basz-conference-registration
   plugin). The plugin's form.css reads these variables and leaves the card
   itself to the theme. */
.basz-conference-form-wrapper {
	--conference-text-dark: #1A1A1A;
	--conference-text-muted: #64748B;
	--conference-border-color: #9C9D9F;
	--conference-accent: var(--basz-color-orange);
	--conference-step-header-bg: var(--basz-color-light-grey);
	--conference-step-border: var(--basz-color-light-grey);
	--conference-summary-bg: var(--basz-color-warm-white);
	background: var(--basz-color-white);
	border: 1px solid var(--basz-color-light-grey);
	border-radius: 8px;
	padding: 24px;
}

/* The wizard's step header runs edge to edge; its sections carry the padding. */
.basz-conference-form-wrapper--wizard {
	padding: 0;
	overflow: hidden;
}

.basz-conference-form-wrapper--wizard .basz-conference-messages {
	margin: 24px 24px 0;
}

.basz-conference-form-wrapper .conference-form__section-title,
.basz-conference-form-wrapper .conference-step__title,
.basz-conference-form-wrapper .conference-step__subtitle {
	font-family: var(--basz-font-heading);
}

.basz-conference-form-wrapper .form-group label:not(.radio-label) {
	display: block;
	margin-bottom: 8px;
}

.basz-conference-form-wrapper .form-group input[type="text"],
.basz-conference-form-wrapper .form-group input[type="email"],
.basz-conference-form-wrapper .form-group input[type="tel"],
.basz-conference-form-wrapper .form-group select,
.basz-conference-form-wrapper .form-group textarea {
	width: 100%;
	min-height: 32px;
	border-radius: 2px;
	/* background-color only: the plugin sets the dropdown arrow as background-image. */
	background-color: var(--basz-color-white);
	font-family: var(--basz-font-body);
	font-size: 16px;
}

.basz-conference-form-wrapper .conference-form__submit {
	font-family: var(--basz-font-body);
}

@media (max-width: 640px) {
	.basz-conference-form-wrapper:not(.basz-conference-form-wrapper--wizard) {
		padding: 20px 16px;
	}
}

/* Single post — header banner, patterned body, white content box */
.basz-single-hero {
	height: 295px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--basz-color-dark-blue);
	background-image: url("../images/template-header.png");
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	text-align: center;
	padding: 0 24px;
}

.basz-single-hero__label {
	margin: 0;
	color: var(--basz-color-white);
	font-family: var(--basz-font-heading);
	font-size: clamp(28px, 4vw, 32px);
	font-weight: 700;
	line-height: 1.2;
}

.basz-single-body {
	position: relative;
	overflow: hidden;
	background-color: #FBF1EF;
	padding: 48px 20px 72px;
}

/* The asset opens with a dark curve. Shift it up so that curve
   stays a corner accent and the title sits on the light field. */
.basz-single-body::before {
	content: "";
	position: absolute;
	z-index: 0;
	left: 0;
	top: 0;
	width: 100%;
	aspect-ratio: 1440 / 2089;
	background-image: url("../images/background-template.png");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100% 100%;
	transform: translateY(-22%);
	pointer-events: none;
}

.basz-single-wrap {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
}

.basz-single-title {
	margin: 0 0 16px;
	color: var(--basz-color-dark-blue);
	font-family: var(--basz-font-heading);
	font-size: clamp(22px, 2.4vw, 28px);
	font-weight: 700;
	line-height: 1.2;
}

.basz-single-card {
	background: var(--basz-color-white);
	padding: 32px 24px 40px;
}

.basz-single-card .alignfull,
.basz-single-card .alignwide {
	width: 100%;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
}

.basz-single-card .wp-block-image,
.basz-single-card figure {
	margin: 1.25em 0;
}

.basz-single-card .wp-block-image img,
.basz-single-card figure img {
	width: 100%;
	height: auto;
}

.basz-more-news {
	margin-top: 40px;
}

.basz-more-news__title {
	margin: 0 0 20px;
	color: var(--basz-color-dark-blue);
	font-size: clamp(22px, 2.4vw, 28px);
}

.basz-more-news__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

.basz-more-card {
	display: flex;
	align-items: center;
	gap: 16px;
	background: var(--basz-color-white);
	padding: 12px;
	text-decoration: none !important;
	color: inherit;
}

.basz-more-card:hover .basz-more-card__title {
	color: var(--basz-color-orange);
}

.basz-more-card__media {
	flex: 0 0 148px;
	width: 148px;
	height: 96px;
	overflow: hidden;
	background: var(--basz-color-light-grey);
}

.basz-more-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.basz-more-card__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.basz-more-card__title {
	font-family: var(--basz-font-heading);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--basz-color-medium-dark-blue);
}

.basz-more-card__date {
	font-family: var(--basz-font-body);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--basz-color-medium-dark-blue);
	opacity: 0.75;
}

@media (min-width: 768px) {
	.basz-single-body {
		padding: 48px 24px 80px;
	}

	.basz-single-card {
		padding: 40px 48px 48px;
	}

	.basz-more-news__grid {
		grid-template-columns: 1fr 1fr;
		gap: 24px;
	}
}


/* Member sign-in messages (basz-membership [basz_member_login]). */
.basz-auth-message {
	margin: 0 0 16px;
	padding: 12px 16px;
	border-radius: var(--basz-radius);
	background: var(--basz-color-light-grey);
	font-size: 14px;
	line-height: 1.5;
}

.basz-auth-message.is-error {
	background: #FDECEC;
	color: #B42318;
}

.basz-member-login {
	margin-bottom: 32px;
}
