/**
 * Azurix Post Carousel — front-end styles.
 *
 * Fonts & sizes intentionally inherit from the active theme's global settings
 * (Divi presets, theme.json, etc.). We avoid setting font-family/size so the
 * carousel matches the surrounding page typography.
 */
.slick-dotted.slick-slider {
	overflow: hidden;
}

.azpc-carousel {
	font-family: inherit;
	margin: 0 0 1.5em;
	visibility: hidden;
}

.azpc-carousel.slick-initialized {
	visibility: visible;
}

.azpc-slide {
	height: auto;
	padding: 0 12px;
	box-sizing: border-box;
}

.azpc-rows-1 .slick-track {
	display: flex;
}

.azpc-rows-1 .slick-slide {
	height: auto;
	display: flex;
}

.azpc-rows-2 .azpc-slide {
	padding-bottom: 24px;
}

/* ---------- Standard card layout ---------- */
.azpc-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 14px rgba( 0, 0, 0, 0.08 );
}

.azpc-card__image {
	position: relative;
	line-height: 0;
	overflow: hidden;
}

.azpc-card__image img {
	width: 100% !important;
	height: var( --azpc-img-h, auto ) !important;
	min-height: var( --azpc-img-min, 0px ) !important;
	max-height: var( --azpc-img-max, none ) !important;
	display: block;
	object-fit: cover;
	object-position: center;
}

.azpc-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 2px;
}

.azpc-tag {
	font-family: inherit;
	font-size: 0.72em;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	padding: 4px 12px;
	border-radius: 6px;
	background: var( --azpc-tag-bg, #eef1f6 );
	color: var( --azpc-tag-color, inherit );
	white-space: nowrap;
}

.azpc-card__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 14px 16px 20px;
}

.azpc-card__title {
	font-family: inherit;
	margin: 0;
	font-size: 1.15em;
	line-height: 1.3;
}

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

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

.azpc-card__excerpt {
	font-family: inherit;
	font-size: 0.95em;
	line-height: 1.6;
	opacity: 0.85;
}

.azpc-card__readmore {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 4px;
	font-family: inherit;
	font-weight: 600;
	font-size: 0.95em;
	color: inherit;
	text-decoration: none;
}

.azpc-card__readmore:hover {
	text-decoration: underline;
}

.azpc-card__readmore-icon {
	width: auto;
	height: 0.85em;
	display: inline-block;
	flex: 0 0 auto;
}

.azpc-readmore-left .azpc-card__readmore {
	align-self: flex-start;
}

.azpc-readmore-right .azpc-card__readmore {
	align-self: flex-end;
}

/* ---------- Navigation arrows ---------- */
.azpc-carousel .slick-prev,
.azpc-carousel .slick-next {
	width: 42px;
	height: 42px;
	z-index: 5;
	border-radius: 50%;
	background: var( --azpc-arrow-bg, rgba( 17, 17, 17, 0.55 ) );
	transition: background 0.2s ease;
}

.azpc-carousel .slick-prev:hover,
.azpc-carousel .slick-next:hover,
.azpc-carousel .slick-prev:focus,
.azpc-carousel .slick-next:focus {
	background: var( --azpc-arrow-bg-hover, rgba( 17, 17, 17, 0.85 ) );
}

.azpc-carousel .slick-prev:before,
.azpc-carousel .slick-next:before {
	font-family: inherit;
	font-size: 24px;
	line-height: 1;
	color: #fff;
	opacity: 1;
}

.azpc-carousel .slick-prev:before {
	content: '\2039';
}

.azpc-carousel .slick-next:before {
	content: '\203A';
}

.azpc-carousel .slick-prev {
	left: 10px;
}

.azpc-carousel .slick-next {
	right: 10px;
}

.azpc-arrows-middle .slick-prev,
.azpc-arrows-middle .slick-next {
	top: 50%;
	bottom: auto;
	transform: translateY( -50% );
}

.azpc-arrows-top .slick-prev,
.azpc-arrows-top .slick-next {
	top: 14px;
	bottom: auto;
	transform: none;
}

.azpc-arrows-bottom .slick-prev,
.azpc-arrows-bottom .slick-next {
	top: auto;
	bottom: 14px;
	transform: none;
}

/* ---------- Thin progress bar ---------- */
.azpc-progress {
	display: none;
	height: 4px;
	margin: 18px 12px 0;
	background: var( --azpc-progress-track, rgba( 0, 0, 0, 0.1 ) );
	border-radius: 999px;
	overflow: hidden;
}

.azpc-pagination-progressbar .azpc-progress {
	display: block;
}

.azpc-progress__bar {
	display: block;
	width: 0;
	height: 100%;
	background: var( --azpc-progress-color, #1a73e8 );
	border-radius: inherit;
	transition: width 0.35s ease;
}

.azpc-pagination-progressbar .slick-dots,
.azpc-pagination-tabs .slick-dots {
	display: none !important;
}

/* ---------- Tabbed progress bar ---------- */
.azpc-tabs {
	position: relative;
	margin: 28px 12px 0;
}

.azpc-tabs__track {
	position: absolute;
	left: 0;
	right: 0;
	top: 7px;
	height: 2px;
	background: var( --azpc-progress-track, #e3e8ef );
	border-radius: 999px;
}

.azpc-tabs__list {
	position: relative;
	display: flex;
	justify-content: space-between;
	gap: 8px;
}

.azpc-tab {
	position: relative;
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	padding: 0;
	background: none;
	border: 0;
	cursor: pointer;
	font-family: inherit;
	text-align: left;
	color: inherit;
	-webkit-appearance: none;
	appearance: none;
}

.azpc-tab__fill {
	position: absolute;
	left: 0;
	top: 7px;
	height: 2px;
	width: 0;
	background: var( --azpc-progress-color, #1a73e8 );
	border-radius: 999px;
	pointer-events: none;
}

.azpc-tab:last-child .azpc-tab__fill {
	display: none;
}

.azpc-tab__dot {
	position: relative;
	z-index: 1;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid var( --azpc-progress-track, #cbd2dc );
	transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.azpc-tab.is-done .azpc-tab__dot,
.azpc-tab.is-active .azpc-tab__dot {
	border-color: var( --azpc-progress-color, #1a73e8 );
}

.azpc-tab.is-active .azpc-tab__dot {
	background: var( --azpc-progress-color, #1a73e8 );
	transform: scale( 1.15 );
}

.azpc-tab__caption {
	font-family: inherit;
	font-size: 0.95em;
	font-weight: 600;
	line-height: 1.2;
	opacity: 0.55;
	transition: opacity 0.2s ease;
	white-space: nowrap;
}

.azpc-tab.is-active .azpc-tab__caption {
	opacity: 1;
}

.azpc-tab:hover .azpc-tab__caption {
	opacity: 0.85;
}

/* ---------- Our Journey layout ---------- */
.azpc-layout-journey .azpc-slide {
	padding: 0;
}

.azpc-journey__inner {
	position: relative;
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	align-items: center;
	gap: 32px;
	min-height: var( --azpc-img-min, 360px );
}

.azpc-journey__media {
	position: relative;
}

.azpc-journey__image {
	position: relative;
	line-height: 0;
	border-radius: 18px;
	overflow: hidden;
}

.azpc-journey__image img {
	width: 100% !important;
	height: var( --azpc-img-h, 420px ) !important;
	min-height: var( --azpc-img-min, 320px ) !important;
	max-height: var( --azpc-img-max, none ) !important;
	display: block;
	object-fit: cover;
	object-position: center;
}

.azpc-journey__year {
	position: absolute;
	right: -0.15em;
	bottom: -0.12em;
	z-index: 2;
	font-family: inherit;
	font-weight: 800;
	font-size: clamp( 4.5rem, 12vw, 11rem );
	line-height: 0.85;
	color: var( --azpc-journey-year-color, #ffffff );
	letter-spacing: -0.03em;
	pointer-events: none;
	text-shadow: 0 6px 30px rgba( 0, 0, 0, 0.35 );
}

.azpc-journey__content {
	font-family: inherit;
}

.azpc-journey__title {
	font-family: inherit;
	margin: 0 0 14px;
	font-size: 1.6em;
	line-height: 1.25;
}

.azpc-journey__text {
	font-family: inherit;
	font-size: 1em;
	line-height: 1.7;
	opacity: 0.85;
}

.azpc-journey__text > :last-child {
	margin-bottom: 0;
}

.azpc-layout-journey .slick-prev {
	left: 12px;
}

.azpc-layout-journey .slick-next {
	right: 12px;
}

@media ( max-width: 782px ) {
	.azpc-journey__inner {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.azpc-journey__year {
		right: 0.1em;
		font-size: clamp( 3.5rem, 18vw, 6rem );
	}

	.azpc-tab__caption {
		font-size: 0.8em;
	}

	.azpc-tab__dot {
		width: 13px;
		height: 13px;
	}
}
