.page-template-template-framework #page #main > .wf-wrap {
	width: 100%;
	padding: 0;
}

.page-template-template-framework #page .publication-top-wrapper {
	padding-top: 25%;
}

.page-template-template-framework #page .publication-top-title {
	margin: 0;
}

#page .tw-framework-top {
	background-image: url(../../../../uploads/2024/04/POUTAMA-1920x1280-1.jpg),
		linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
	background-blend-mode: overlay;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

#page .tw-framework-top-title {
	max-width: 630px;
}

#page .tw-framework-top-title span {
	color: #fff;
}

#page .tw-framework-wrapper {
	/* padding-top: var(--xl-space); */
	width: 100%;
	max-width: 1300px;
	margin-inline: auto;
	padding-inline: 50px;
}

#page .tw-first-section,
#page .tw-second-section {
	display: flex;
	justify-content: space-between;
}

#page .tw-first-section {
	/* gap: var(--m-space); */
	margin-bottom: var(--xl-space);
}

#page .tw-first-section-text {
	max-width: 570px;
}

#page .tw-first-section-lead {
	max-width: 470px;
}

#page .tw-second-section {
	gap: var(--m-space);
}

#page .tw-third-section p {
	max-width: 370px;
}

#page .tw-story-link a {
	display: flex;
	align-items: center;
}

#page .tw-story-link a span {
	font-weight: 700;
	margin-right: 8px;
}

#page .tw-story-link-image {
	position: relative;
}

#page .tw-story-link-image img {
	position: absolute;
	transform: translateY(-10px);
	transition: 0.5s;
}

#page .tw-story-link a:hover .tw-story-link-arrow {
	opacity: 0;
}

#page .tw-story-link a:hover .tw-story-link-image img {
	transform: translate(10px, -10px);
}

@media only screen and (max-width: 1400px) {
	#page .tw-first-section {
		padding-inline: 0;
	}
}

@media only screen and (max-width: 1200px) {
	.page-template-template-framework #page .publication-top-wrapper {
		padding-top: 50vh;
	}
}

@media only screen and (max-width: 992px) {
	#page .tw-first-section,
	#page .tw-second-section {
		flex-direction: column;
	}
	#page .tw-first-section {
		gap: 0;
	}
	#page .tw-first-section-lead,
	#page .tw-first-section-text {
		max-width: 100%;
	}
}

@media only screen and (max-width: 767px) {
	#page .tw-framework-wrapper {
		padding-inline: 20px;
	}
}

/* ==============================
Whare gallery
============================== */
.tw-gallery {
	display: flex;
}

.tw-gallery-left {
	width: 35%;
}

.tw-gallery-right {
	height: 100vh;
	width: 65%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.desktop-content-section {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.desktop-content-section p {
	max-width: 370px;
}

.whare-photos {
	width: 100%;
	height: 55%;
	position: relative;
	overflow: hidden;
}

.whare-photo {
	position: absolute;
	width: 100%;
	height: 100%;
}
/* 
.desktop-content-section {
	opacity: 0;
	margin-left: -50px;
} */

#page .whare-text {
	max-width: 370px;
	font-weight: 700;
	counter-reset: li;
	list-style: none;
	margin-bottom: var(--xs-space);
}

.whare-text li {
	margin-bottom: 10px;
	list-style: none;
	counter-increment: li;
}

ul.whare-text li::before {
	content: url(../../../../uploads/2023/07/arrow-right.png);
	vertical-align: middle;
}

.whare-text li::before {
	content: counter(li) ".";
	color: var(--secondary-color);
	display: inline-block;
	width: 1em;
	margin-left: -1em;
	font-weight: initial;
}

.whare-text li span {
	display: block;
	font-weight: initial;
}

.whare-photo {
	background-color: #fff;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.whare-0 {
	background-image: url(../../../../uploads/2024/04/BBHTC-Tane-Whakapiripiri-Framework-01.png);
}

.whare-1 {
	background-image: url(../../../../uploads/2024/04/BBHTC-Tane-Whakapiripiri-Framework-02.png);
}

.whare-2 {
	background-image: url(../../../../uploads/2024/04/BBHTC-Tane-Whakapiripiri-Framework-03.png);
}

.whare-3 {
	background-image: url(../../../../uploads/2024/04/BBHTC-Tane-Whakapiripiri-Framework-04.png);
}

.whare-4 {
	background-image: url(../../../../uploads/2024/04/BBHTC-Tane-Whakapiripiri-Framework-05-kohiti.png);
}

.whare-5 {
	background-image: url(../../../../uploads/2024/04/BBHTC-Tane-Whakapiripiri-Framework-06-kohiti.png);
}

.whare-6 {
	background-image: url(../../../../uploads/2024/04/BBHTC-Tane-Whakapiripiri-Framework-07.png);
}

.whare-7 {
	background-image: url(../../../../uploads/2024/04/BBHTC-Tane-Whakapiripiri-Framework-08.png);
}

.mobile-content-wrapper {
	display: none;
	margin-bottom: var(--xl-space);
	position: relative;
}

.mobile-fixed-image-container {
	position: sticky;
	top: 0;
	height: 50vh;
	z-index: 1;
	background: rgb(255, 255, 255);
	background: linear-gradient(
		0deg,
		rgba(255, 255, 255, 0.5) 0%,
		rgba(255, 255, 255, 0.8) 5%,
		rgba(255, 255, 255, 1) 10%
	);
}

.mobile-fixed-image {
	position: absolute;
	top: 10vh;
	left: 0;
	width: 100%;
	height: auto;
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
}

.mobile-fixed-image.active {
	opacity: 1;
}

.mobile-content {
	margin-top: var(--l-space);
	display: flex;
	flex-direction: column;
	gap: var(--xl-space);
}

.mobile-content-section {
	min-height: 50vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

@media only screen and (max-width: 1024px) {
	.whare-photos {
		height: 35%;
	}
}

@media only screen and (max-width: 992px) {
	.tw-gallery-left {
		display: none;
	}

	.tw-gallery-right {
		height: auto;
		width: 100%;
		align-items: center;
	}

	.whare-photos {
		display: none;
	}

	.mobile-content-wrapper {
		display: block;
	}
	.page-template-template-framework #page {
		overflow: initial;
	}
}

@media only screen and (max-width: 767px) {
	.mobile-fixed-image-container {
		height: 50vh;
	}

	.mobile-fixed-image {
		top: 120px;
	}
}

/* ==============================
Canvas test
============================== */
.putama {
	position: relative;
}

.putama-info {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.putama-info h2 {
	padding-top: 65vh;
}

.canvas-video {
	/* background: pink; */
	width: 100vw;
	height: 100vh;
}
