/*homepage */

body {
	font-family: "Montserrat", sans-serif;
}

site-header,
site-footer {
	display: block;
}

.javascript-notice {
	margin: 0;
	padding: 1rem;
	background: #fff3cd;
	color: #3d3500;
	text-align: center;
}

.template-error {
	padding: 1rem;
	background: #fff3cd;
	color: #3d3500;
	text-align: center;
}

.template-error p {
	margin: 0.25rem 0;
}

/* Homepage */

/* Only affect hero section elements */
.hero,
.hero * {
	box-sizing: border-box;
}

body {
	font-family: "Montserrat", sans-serif;
}

/* Hero section */
.hero {
	height: 100vh;

	background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url("Images/Smart watch(1).jpg");

	background-size: cover;
	background-position: center;

	color: white;
	position: relative;
}

/* Transparent overlay navigation */
.navbar {
	position: absolute;
	top: 0;
	left: 0;

	width: 100%;
	z-index: 10;

	display: flex;
	align-items: center;
	justify-content: space-between;

	padding: 35px 5%;

	background: transparent;
}

/* Logos */
.logo {
	display: flex;
	align-items: center;
	gap: 15px;
}

.logo img {
	height: auto;
	object-fit: contain;
}

.logo img:first-child {
	width: 150px;
}

.logo img:last-child {
	width: 200px;
}

.logo,
.subpage-logo {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.menu-container {
	position: relative;
}

#menu-toggle {
	display: none;
}

.hamburger {
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 35px;
	padding: 4px;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.hamburger span {
	width: 35px;
	height: 3px;
	background: white;
	border-radius: 5px;
	transition: 0.3s;
}

.nav-links {
	display: none;
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	width: 230px;
	padding: 25px;
	margin: 0;
	background: rgba(0, 0, 0, 0.85);
	backdrop-filter: blur(10px);
	border-radius: 15px;
	list-style: none;
	box-sizing: border-box;
	z-index: 1000;
}

.nav-links li {
	margin-bottom: 18px;
}

.nav-links li:last-child {
	margin-bottom: 0;
}

.nav-links a {
	color: white;
	text-decoration: none;
	font-size: 18px;
	font-weight: 600;
}

.nav-links a:hover {
	opacity: 0.8;
}

#menu-toggle:checked ~ .nav-links {
	display: block;
}

.menu-container.is-open .nav-links {
	display: block;
}

#menu-toggle:checked + .hamburger span:nth-child(1) {
	transform: translateY(9px) rotate(45deg);
}

#menu-toggle:checked + .hamburger span:nth-child(2) {
	opacity: 0;
}

#menu-toggle:checked + .hamburger span:nth-child(3) {
	transform: translateY(-9px) rotate(-45deg);
}

.menu-container.is-open .hamburger span:nth-child(1) {
	transform: translateY(9px) rotate(45deg);
}

.menu-container.is-open .hamburger span:nth-child(2) {
	opacity: 0;
}

.menu-container.is-open .hamburger span:nth-child(3) {
	transform: translateY(-9px) rotate(-45deg);
}

.hamburger:focus-visible {
	outline: 3px solid #1b1b1b;
	outline-offset: 5px;
}

/* Mobile */
@media (max-width: 768px) {
	.nav-links {
		width: 280px;
		max-width: calc(100vw - 30px);
		right: 0;
	}
}

/* Hero text */
.hero-content {
	height: 100%;

	display: flex;

	flex-direction: column;

	justify-content: center;

	padding-left: 8%;

	max-width: 900px;
}

.hero-content h1 {
	font-size: clamp(2.2rem, 5vw, 58px);

	line-height: 1.1;

	margin-bottom: 20px;
}

.hero-content p {
	font-size: 20px;

	line-height: 1.5;

	margin-bottom: 35px;

	color: #ddd;
}

/* Tablet */
@media (max-width: 1000px) {
	.navbar {
		padding: 25px;
	}

	.logo {
		gap: 10px;
	}

	.logo img:first-child {
		width: 100px;
	}

	.logo img:last-child {
		width: 130px;
	}

	.hero-content {
		padding: 0 25px;
	}

	.hero-content p {
		font-size: 18px;
	}
}

/* Small mobile */
@media (max-width: 600px) {
	.logo img:first-child {
		width: 75px;
	}

	.logo img:last-child {
		width: 100px;
	}

	.hamburger span {
		width: 28px;
	}

	.nav-links {
		width: 200px;
	}

	.hero-content h1 {
		font-size: 34px;
	}
}

/* Prevent header spacing issues */
header {
	margin: 0;

	padding: 0;
}

/* ??? */
.intro {
	display: flex;
	align-items: center;
	background-color: #f2f2f2;
	padding: 40px;
	gap: 40px;
}

.intro-image {
	flex: 1;
}

.intro-image img {
	width: 100%;
	height: 300px;
	object-fit: cover;
	border-radius: 8px;
}

.intro-text {
	flex: 1;
}

.intro-text h2 {
	flex: 1;
	color: #0297a7;
}

/* Remove default main spacing */

main {
	margin: 0;
	padding: 0;
}

/* category cards */
main {
	margin: 0;
	padding: 0;
}

.cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	padding: 40px;
}

/* mobile and tablet responsive */

/* Tablets */
@media (max-width: 1024px) {
	.cards {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Phones */
@media (max-width: 768px) {
	.cards {
		grid-template-columns: 1fr;
		padding: 20px;
	}
}

.card {
	background-color: white;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	border-radius: 8px;
	overflow: hidden;
	text-align: center;

	display: flex;
	flex-direction: column;
}

.container {
	padding: 15px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.card ul {
	text-align: left;
	display: inline-block;
}

.card img {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.container {
	padding: 15px;
}

.card-button {
	margin-top: auto;
	align-self: center;
	padding: 10px 20px;
	background-color: #0297a7;
	color: white;
	border-radius: 5px;
	text-decoration: none;
	font-family: inherit;
}

.card-button:hover {
	opacity: 0.8;
}

.card {
	color: inherit;
	text-decoration: none;
}

.container {
	position: relative;
}

.linkedin-box {
	margin-top: 30px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	min-height: 350px;
	padding: 40px;

	border-radius: 8px;

	background-image: url("Images/version with no text@2x.png");
	background-size: cover;
	background-position: center bottom;
	background-repeat: no-repeat;
}

.linkedin-box-content {
	width: 100%;
	max-width: 600px;
	padding: 35px;
	box-sizing: border-box;

	text-align: center;
	background-color: rgba(255, 255, 255, 0.92);
	border-radius: 8px;
}

.linkedin-box-content h2 {
	margin-top: 0;
	color: #0297a7;
}

.linkedin-box-content p {
	margin-bottom: 25px;
	color: #000000;
	line-height: 1.5;
}

.linkedin-box-buttons {
	display: flex;
	justify-content: center;
}

.linkedin-box-buttons a {
	display: inline-block;
	padding: 12px 20px;
	border-radius: 5px;
	background-color: #0297a7;
	color: #ffffff;
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.4;
	text-decoration: none;
	transition:
		opacity 0.2s ease,
		transform 0.2s ease;
}

.linkedin-box-buttons a:hover {
	opacity: 0.85;
	transform: translateY(-1px);
}

@media (max-width: 768px) {
	.linkedin-box {
		min-height: 400px;
		padding: 25px;
		background-position: center bottom;
	}

	.linkedin-box-content {
		max-width: 100%;
		padding: 25px;
	}
}

.site-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 30px;
}

@media (max-width: 768px) {
	.site-container {
		padding: 0 20px;
	}
}

footer {
	background-color: black;
	color: white;
	padding: 40px;
}

/*footer*/
.footer-columns {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	max-width: 1200px;
	margin: auto;
}

.footer-column a {
	color: #0297a7;
	text-decoration: none;
	display: block;
	margin-bottom: 10px;
}
.footer-column h3 {
	margin-top: 0;
}

.footer-column p {
	margin: 8px 0;
}

.footer-links {
	border-top: 1px solid #777;
	margin-top: 30px;
	padding-top: 20px;
	text-align: center;
}

.footer-links a {
	color: #0297a7;
	text-decoration: none;
}
.footer-website-button {
    text-align: center;
    margin: 30px auto;
}

.old-website-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #ffffff;
    color: #333333;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.old-website-btn:hover {
    background-color: #e5e5e5;
}

.old-website-btn:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}


/* Social icons */

.social-icons {
	display: flex;

	gap: 18px;

	margin-top: 25px;
}

.social-icons a {
	display: flex;

	align-items: center;

	justify-content: center;

	width: 42px;

	height: 42px;

	border-radius: 50%;

	background: #0297a7;

	color: white;

	font-size: 20px;

	text-decoration: none;

	transition: 0.3s ease;
}

.social-icons a:hover {
	background: #007a87;

	transform: translateY(-3px);
}

@media (max-width: 700px) {
	.footer-columns {
		grid-template-columns: 1fr;
		text-align: center;
	}
}

.funding-acknowledgement {
	max-width: 1200px;
	margin: 0 auto;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
}

.funding-acknowledgement p {
	margin-bottom: 0;
}

.funder-logo {
	width: 120px;
	height: auto;
	flex-shrink: 0;
}

@media (max-width: 600px) {
	.funding-acknowledgement {
		flex-direction: column;
		gap: 10px;
	}

	.funder-logo {
		width: 100px;
	}
}

.back-to-top {
	max-width: 1200px;
	margin: 20px auto 0;
	text-align: right;
}

.back-to-top a {
	color: #0297a7;
	text-decoration: none;
	font-weight: bold;
}

.back-to-top a:hover {
	text-decoration: underline;
}

/* =================================
   SUBPAGE NAVBAR
   ================================= */

.subpage-navbar {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 10;

	display: flex;
	align-items: center;
	justify-content: space-between;

	padding: 35px 5%;
	background: white;
}

.subpage-navbar .hamburger span {
	background: #007a87;
}

.subpage-navbar .nav-links {
	background: white;
}

.subpage-navbar .nav-links a {
	color: #007a87;
}

.subpage-logo {
	display: flex;
	align-items: center;
	gap: 15px;
}

.subpage-logo img {
	height: auto;
	object-fit: contain;
}

.subpage-logo img:first-child {
	width: 150px;
}

.subpage-logo img:last-child {
	width: 150px;
}

/* =================================
   HERO
   ================================= */

.subpage-hero,
.subpage-hero * {
	box-sizing: border-box;
}

.subpage-hero {
	min-height: 70vh;

	background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url("Images/Smart watch(1).jpg");

	background-size: cover;
	background-position: center;

	color: white;
	position: relative;

	display: flex;
	align-items: center;
}

.subpage-hero-content {
	padding-left: 8%;
	padding-right: 8%;
	padding-top: 100px;

	max-width: 850px;
}

.subpage-hero-content h1 {
	font-size: clamp(2rem, 4vw, 52px);
	line-height: 1.15;
	margin-bottom: 25px;
}

.subpage-hero-content p {
	font-size: 20px;
	line-height: 1.6;
	max-width: 750px;
	color: #ddd;
}

/* =================================
   PPIE
   ================================= */

.subpage-content {
	padding: 60px 8%;
	margin: 0 auto;
}

#PPIE-text {
	max-width: 1300px;
}

#PPIE-text h2 {
	color: #0297a7;
	font-size: 2rem;
	margin-bottom: 20px;
}

#PPIE-text p {
	font-size: 18px;
	line-height: 1.7;
	max-width: 800px;
	color: #333;
}

/* Main video information box */
.video-info-box {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 50px;
	width: 100%;
	max-width: 1200px;
	margin: 30px auto;
	padding: 40px 50px;
	background: #fafafa;
	border-radius: 12px;
	box-shadow: none;
	box-sizing: border-box;
	color: #111827;
}

/* Left side: text and buttons */
.video-info-content {
	flex: 1;
	min-width: 0;
}

/* Main heading */
.video-info-box h1,
.video-info-box h2 {
	font-size: clamp(30px, 4vw, 46px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.8px;
	color: #101729;
	margin: 0 0 18px;
}

/* Description */
.video-info-box p {
	font-size: 15px;
	line-height: 1.8;
	color: #374151;
	margin: 0 0 20px;
}

/* Optional metadata: duration, date and category */
.video-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 18px 0 24px;
	font-size: 11px;
	color: #374151;
}

/* Category badge */
.video-category {
	background: #e0edff;
	color: #1455a4;
	padding: 4px 10px;
	border-radius: 20px;
	font-size: 10px;
}

/* Button container */
.video-buttons {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

/* General button styling */
.video-buttons a,
.video-buttons button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 20px;
	border: 1px solid #cbd0d7;
	border-radius: 7px;
	background: #ffffff;
	color: #111827;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition:
		background 0.2s ease,
		transform 0.2s ease;
}

/* Primary button */
.video-buttons .watch-now {
	background: #101729;
	color: #ffffff;
	border-color: #101729;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
}

/* Hover effects */
.video-buttons a:hover,
.video-buttons button:hover {
	transform: translateY(-2px);
}

.video-buttons .watch-now:hover {
	background: #26334b;
}

.video-buttons .read-article:hover {
	background: #f0f2f5;
}

/* Right side: video thumbnail */
.intro-video-thumbnail {
	position: relative;
	flex: 0 0 42%;
	max-width: 420px;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 12px;
	box-shadow: 0 12px 22px rgba(0, 0, 0, 0.12);
	background: #e5e7eb;
}

/* Thumbnail image */
.video-thumbnail img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Centered play button */
.video-thumbnail .play-button {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.8);
	color: #101729;
	font-size: 22px;
	cursor: pointer;
	transition:
		background 0.2s ease,
		transform 0.2s ease;
}

.video-thumbnail .play-button:hover {
	background: #ffffff;
	transform: translate(-50%, -50%) scale(1.08);
}

/* Tablet and mobile layout */
@media (max-width: 700px) {
	.video-info-box {
		flex-direction: column;
		align-items: stretch;
		gap: 25px;
		padding: 25px 20px;
	}

	.video-info-box h1,
	.video-info-box h2 {
		font-size: 32px;
	}

	.video-thumbnail {
		flex: auto;
		width: 100%;
		max-width: none;
		aspect-ratio: 16 / 10;
	}

	.video-buttons {
		gap: 8px;
	}
}

.video-container {
	flex: 1 1 70%;
	min-width: 0;
}

.video-container iframe {
	width: 100%;
	aspect-ratio: 16 / 9;
	display: block;
	border: 0;
	border-radius: 8px;
}

.video-thumbnail {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	border-radius: 12px;
	background: #e5e7eb;
}

.thumbnail-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.play-button {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 54px;
	height: 54px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.85);
	color: #101729;
	font-size: 22px;
	cursor: pointer;
}

.play-button:hover {
	background: #fff;
}

.info-content {
	flex: 0 0 25%;
}

.info-content h2 {
	margin-top: 0;
	color: white !important;
}

.info-content p {
	line-height: 1.5;
	color: white !important;
}

/* =================================
   IMAGES
   ================================= */

.content-image {
	width: 100%;
	max-width: 750px;
	height: auto;
	display: block;
	margin: 30px 0;
}

.interactive-image {
	position: relative;
	width: 100%;
	max-width: 750px;
	margin: 30px 0;
}

.interactive-image .content-image {
	margin: 0;
}

/* =================================
   IMAGE HOTSPOTS
   ================================= */

.image-hotspot {
	position: absolute;
	z-index: 1;

	color: #1b1b1b;
	text-decoration: none;
}

.image-hotspot:focus-within,
.image-hotspot.is-open {
	z-index: 10;
}

.image-hotspot:hover {
	z-index: 20;
}

.hotspot-trigger {
	display: block;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	font: inherit;
	line-height: 0;
	cursor: pointer;
}

.hotspot-video-one {
	left: 73%;
	top: 23%;
}

.hotspot-video-two {
	left: 92%;
	top: 50%;
}

.hotspot-video-three {
	left: 74%;
	top: 82%;
}

.hotspot-video-four {
	left: 37%;
	top: 80%;
}

.hotspot-video-five {
	left: 22%;
	top: 50%;
}

.hotspot-video-six {
	left: 39%;
	top: 24%;
}

.hotspot-marker {
	position: relative;
	z-index: 1;

	display: block;

	width: 22px;
	height: 22px;

	border: 4px solid white;
	border-radius: 50%;

	background: rgba(230, 10, 10, 0.8);

	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);

	transition:
		transform 160ms ease,
		background-color 160ms ease;
}

.hotspot-marker::after {
	content: "";

	position: absolute;
	inset: -8px;

	border: 2px solid rgba(255, 255, 255, 0.85);
	border-radius: 50%;

	animation: hotspot-pulse 2s infinite;
}

.hotspot-card {
	position: absolute;
	z-index: 2;

	left: 50%;
	bottom: calc(100% + 13px);

	width: 220px;

	padding: 14px 16px;

	border-radius: 8px;

	background: white;

	box-shadow: 0 5px 18px rgba(0, 0, 0, 0.25);

	font-size: 0.84rem;
	line-height: 1.45;

	opacity: 0;
	visibility: hidden;
	pointer-events: none;

	transform: translate(-50%, 8px);

	transition:
		opacity 160ms ease,
		transform 160ms ease,
		visibility 160ms ease;
}

.hotspot-card strong {
	display: block;

	margin-bottom: 4px;

	color: #007a87;
	font-size: 0.95rem;
}

.hotspot-link {
	display: block;

	margin-top: 8px;

	color: #007a87;
	font-weight: 700;
}

.image-hotspot:hover .hotspot-card,
.image-hotspot.is-open .hotspot-card {
	opacity: 1;
	visibility: visible;

	transform: translate(-50%, 0);
}

.image-hotspot.is-open .hotspot-card {
	pointer-events: auto;
}

.image-hotspot:hover .hotspot-marker,
.image-hotspot.is-open .hotspot-marker {
	background: rgba(149, 22, 225, 0.9);
	transform: scale(1.14);
}

.hotspot-trigger:focus-visible {
	outline: 3px solid #ffcc33;
	outline-offset: 5px;
}

@keyframes hotspot-pulse {
	0%,
	100% {
		transform: scale(0.8);
		opacity: 0;
	}

	45% {
		opacity: 0.8;
	}

	80% {
		transform: scale(1.35);
		opacity: 0;
	}
}

/* Resources carousel */
.ppie-resources-section {
	width: 100%;
	margin: 44px 0;
	min-width: 0;
}

.ppie-resources-section .ppie-resources-heading {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px;
	margin-bottom: 22px;
}

.ppie-resources-eyebrow {
	margin: 0 0 8px;
	color: #64745f;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.13em;
}

.ppie-resources-section .ppie-resources-heading h2 {
	color: #0297a7;
	font-size: 2rem;
	margin-bottom: 20px;
}

.ppie-resources-section .ppie-resources-intro {
	max-width: 540px;
	margin: 0;
	color: #4b5563;
	line-height: 1.6;
}

.ppie-resources-controls {
	display: none;
	flex-shrink: 0;
	gap: 8px;
}

.ppie-resources-section.is-scrollable .ppie-resources-controls {
	display: flex;
}

.ppie-resource-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 14px;
	border: 1px solid #007a87;
	border-radius: 6px;
	background: #fff;
	color: #007a87;
	font: inherit;
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
	transition:
		background 0.2s,
		color 0.2s;
}

.ppie-resource-arrow:hover:not([aria-disabled="true"]) {
	background: #007a87;
	color: #fff;
}

.ppie-resource-arrow[aria-disabled="true"] {
	border-color: #b8c5c7;
	color: #647174;
	background: #f4f7f7;
	cursor: default;
}

.ppie-resource-arrow:focus-visible,
.ppie-resources-track:focus-visible,
.ppie-resource-link:focus-visible {
	outline: 3px solid #101729;
	outline-offset: 3px;
}

.ppie-resource-link:focus-visible {
	outline-color: #ffcc33;
}

.ppie-resources-track {
	display: grid;
	grid-auto-columns: min(100%, max(260px, calc((100% - 18px) / 2)));
	grid-auto-flow: column;
	gap: 18px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x proximity;
	scroll-behavior: smooth;
	padding: 4px 0 18px;
	scrollbar-width: thin;
	scrollbar-color: #007a87 #edf4f4;
}

.ppie-resource-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 290px;
	overflow: hidden;
	border: 1px solid #e6e8e2;
	border-radius: 14px;
	background: #007a87;
	scroll-snap-align: start;
	box-shadow: 0 3px 12px rgb(35 48 35 / 5%);
	transition:
		transform 0.2s,
		box-shadow 0.2s;
}

.ppie-resource-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 22px rgb(35 48 35 / 10%);
}

.ppie-resource-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	padding: 20px;
}

.ppie-resources-section .ppie-resource-card-body h3 {
	margin: 0 0 10px;
	color: #ffffff;
	font-size: 1.25rem;
	font-weight: 500;
	line-height: 1.3;
}

.ppie-resources-section .ppie-resource-card-body > p {
	margin: 0 0 22px;
	color: #f0f7f7;
	font-size: 0.92rem;
	line-height: 1.6;
}

.ppie-resources-section .ppie-resource-card-body > .ppie-resource-pending {
	margin-top: auto;
	margin-bottom: 0;
	font-weight: 600;
}

.ppie-resources-footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 20px;
	margin-top: 8px;
}

.ppie-resources-section .ppie-resources-footer p {
	margin: 0;
	color: #4b5563;
	font-size: 0.85rem;
}

.ppie-resource-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: auto;
	padding: 12px 18px;
	border: 1px solid #ffffff;
	border-radius: 6px;
	background-color: #ffffff;
	color: #007a87;
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
	transition:
		background-color 0.2s ease,
		color 0.2s ease;
}

.ppie-resource-link:hover {
	background-color: transparent;
	color: #ffffff;
	text-decoration: none;
}

.ppie-resource-link span {
	transition: transform 0.2s ease;
}

.ppie-resource-link:hover span {
	transform: translate(3px, -3px);
}

@media (max-width: 600px) {
	.ppie-resources-track {
		grid-auto-columns: 100%;
		gap: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ppie-resources-track {
		scroll-behavior: auto;
	}

	.ppie-resource-card,
	.ppie-resource-link,
	.ppie-resource-arrow {
		transition: none;
		transform: none;
	}
}

/* ================================
   VIDEO RESOURCES GRID
   ================================ */

.video-resources {
	margin-top: 60px;
}

.video-card-container {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin-top: 30px;
}

.video-card {
	background: white;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.video-card iframe {
	width: 100%;
	aspect-ratio: 16 / 9;
	border: none;
	display: block;
}

.video-card-content {
	padding: 20px;
}

.video-card h3 {
	color: #007a87;
	margin-top: 0;
	margin-bottom: 10px;
}

.video-card p {
	color: #444;
	line-height: 1.5;
	margin-bottom: 0;
}

/* ================================
   TABLET
   ================================ */

@media (max-width: 900px) {
	.video-card-container {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ================================
   MOBILE
   ================================ */

@media (max-width: 600px) {
	.video-resources {
		margin-top: 40px;
	}

	.video-card-container {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.video-card-content {
		padding: 20px;
	}

	.video-card h3 {
		font-size: 1.2rem;
	}

	.video-card p {
		font-size: 0.95rem;
	}
}

/* Mobile */

@media (max-width: 600px) {
	.video-resources {
		margin-top: 40px;
	}

	.video-card-container {
		gap: 20px;
	}

	.video-card {
		flex: 0 0 85%;
	}

	.video-card-content {
		padding: 20px;
	}

	.video-card h3 {
		font-size: 1.2rem;
	}

	.video-card p {
		font-size: 0.95rem;
	}
}

/* Tablet */
@media (max-width: 900px) {
	.video-card-container {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Mobile */
@media (max-width: 600px) {
	.video-card-container {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}
/* =================================
   MOBILE
   ================================= */

@media (max-width: 600px) {
	.subpage-content {
		padding: 40px 5%;
	}

	#PPIE-text p {
		font-size: 16px;
	}

	.content-image,
	.interactive-image,
	.video-box iframe {
		max-width: 100%;
	}

	.hotspot-card {
		width: min(190px, 55vw);

		padding: 10px 12px;

		font-size: 0.75rem;
	}

	.hotspot-marker {
		width: 16px;
		height: 16px;

		border-width: 3px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hotspot-marker::after {
		animation: none;
	}
}

/* about page */

.about-content {
	padding: 60px 8%;
	margin: 0 auto;
	font-size: 18px;
	line-height: 1.7;
	color: #333;
}

.about-content ul {
	color: #007a87;
}

.about-card-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	width: 100%;
	margin-bottom: 48px;
}

.about-card {
	min-height: 250px;
	padding: 32px;
	background: #007a87;
	display: flex;
	flex-direction: column;
	border-radius: 8px;
	box-sizing: border-box;
}
.about-card h2 {
	margin-top: 0;
	color: white !important;
}

.about-card p {
	color: white;
}
.about-card a {
	display: inline-block;
	margin-top: 16 px;
}

/* Mobile */
@media (max-width: 768px) {
	.about-card-grid {
		grid-template-columns: 1fr;
	}
}

.partners-section {
	margin-bottom: 48px;
}

.partners-intro {
	max-width: 800px;
	margin: 0 auto 32px;
	text-align: center;
	font-size: 18px;
}

.partners-intro h2 {
	margin-bottom: 16px;
}

.partners-intro p {
	margin: 0;
}

.partners-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	max-width: 900px;
	margin: 0 auto;
	margin-bottom: 40px;
}

.partner-logo {
	height: 180px;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 30px;
	box-sizing: border-box;
}

.partner-logo img {
	max-width: 180px;
	max-height: 100px;
	width: auto;
	height: auto;
	object-fit: contain;
}

@media (max-width: 768px) {
	.partners-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 500px) {
	.partners-grid {
		grid-template-columns: 1fr;
	}
}

/* Main team section */
.team-section {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 30px 60px;
	box-sizing: border-box;
}

/* Individual team sections */
.team-group {
	margin-bottom: 60px;
}

.team-group h2 {
	margin: 0 0 30px 0;
	font-size: 32px;
	line-height: 1.2;
}

/* Team grid */
.team-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 40px 30px;
}

/* Individual team member */
.team-member {
	min-width: 0;
}

/* Team member image */
.team-member img {
	display: block;
	width: 100%;
	height: 230px;
	object-fit: cover;
	margin: 0;
}

/* Team member name */
.team-member h3 {
	margin: 15px 0 5px 0;
	padding: 0;
	font-size: 18px;
	line-height: 24px;
	font-weight: 700;
}

/* Team member position */
.team-member p {
	margin: 0;
	padding: 0;
	font-size: 16px;
	line-height: 24px;
}

/* Tablet */
@media (max-width: 900px) {
	.team-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 35px 25px;
	}
}

/* Mobile */
@media (max-width: 500px) {
	.team-section {
		padding-left: 15px;
		padding-right: 15px;
	}

	.team-group {
		margin-bottom: 45px;
	}

	.team-group h2 {
		font-size: 28px;
		margin-bottom: 25px;
	}

	.team-grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.team-member img {
		height: 300px;
	}
}

/* tap into research */
* {
	box-sizing: border-box;
}

body {
	background: #f1f1f1;
}

/* Create two unequal columns that floats next to each other */
/* Left column */
.tir-leftcolumn {
	float: left;
	width: 75%;
}

.tir-rightcolumn {
	float: left;
	width: 25%;
	padding-left: 20px;
	box-sizing: border-box;
}

.tir-card {
	background-color: white;
	padding: 20px;
	margin-top: 20px;
	box-sizing: border-box;
	border-radius: 5px;

	display: flex;
	gap: 24px;
	align-items: stretch;
}

.tir-rightcolumn > .tir-card {
	flex-direction: column;
}

/* Image section on the left */
.tir-card-img {
	flex: 0 0 30%;
}

.tir-card-image {
	width: 100%;
	height: 100%;
	min-height: 180px;
	object-fit: cover;
	display: block;
	border-radius: 8px;
}

/* Text section on the right */
.tir-card-content {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.tir-card-content h2 {
	margin-top: 0;
}

.tir-card-content h5 {
	margin-bottom: 16px;
}

.tir-card-content p {
	text-align: left;
}

.tir-card-content a {
	color: white;
	align-self: flex-start;
}

/* Right-hand column image */
.tir-img {
	text-align: center;
}

.tir-img img {
	width: 100%;
	height: auto;
}

/* Clear floats after the columns */
.tir-row:after {
	content: "";
	display: table;
	clear: both;
}

/* Mobile */
@media screen and (max-width: 800px) {
	.tir-leftcolumn,
	.tir-rightcolumn {
		width: 100%;
		padding: 0;
	}

	.tir-card {
		flex-direction: column;
	}

	.tir-card-img {
		flex: none;
		width: 100%;
	}

	.tir-card-image {
		width: 100%;
		height: 200px;
		min-height: 0;
	}
}

.blog-excerpt {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 9;
	overflow: hidden;
}

/* Blog post layout */

.blog-post {
	display: flex;
	gap: 40px;
	max-width: 1500px;
	margin: 60px auto;
	padding: 0 30px;
	align-items: flex-start;
}

/* Left column */

.blog-leftcolumn {
	flex: 3;
	min-width: 0;
	overflow-wrap: anywhere;
}

/* Right column */

.blog-rightcolumn {
	flex: 1;
	min-width: 0;
}

/* Main article */

.blog-leftcolumn h2 {
	color: #0297a7;
	font-size: 2rem;
	margin-bottom: 20px;
}

.blog-leftcolumn h3 {
	margin-top: 40px;
	margin-bottom: 15px;
}

.blog-leftcolumn p {
	line-height: 1.7;
	margin-bottom: 20px;
}

.blog-leftcolumn li {
	line-height: 1.7;
	margin-bottom: 12px;
}

.blog-leftcolumn a {
	color: #007a87;
}

/* Other blog posts */

.other-posts {
	list-style: none;
	padding: 0;
	margin: 0;
}

.other-posts li {
	border-top: 1px solid #ddd;
	padding: 15px 0;
}

.other-posts li:last-child {
	border-bottom: 1px solid #ddd;
}

.other-posts a {
	text-decoration: none;
	font-weight: 600;
	line-height: 1.4;
	color: #007a87;
}

.other-posts a:hover {
	text-decoration: underline;
}

/* Mobile */

@media (max-width: 768px) {
	.blog-post {
		flex-direction: column;
	}

	.blog-leftcolumn,
	.blog-rightcolumn {
		width: 100%;
	}
}

.tir-card-button {
	margin-top: auto;
	align-self: center;
	padding: 10px 20px;
	background-color: #0297a7;
	border-radius: 5px;
	text-decoration: none;
	font-family: inherit;
}

/* Resources page */
.resource-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
	margin-top: 30px;
}

.resource-card {
	min-height: 220px;
	padding: 24px;
	border-radius: 8px;
	background-color: white;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.resource-card-content {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.resource-card h3 {
	margin-top: 0;
}

.resource-card p {
	flex-grow: 1;
}

.resource-card a {
	align-self: flex-start;
	color: #007a87;
	font-weight: 600;
	text-decoration: none;
}

.resource-card a:hover {
	text-decoration: underline;
}

@media (max-width: 700px) {
	.resource-grid {
		grid-template-columns: 1fr;
	}
}

/* Webinars */
.webinars-page {
	color: #333;
}

.webinars-page h2,
.webinars-page h3 {
	color: #007a87;
}

.webinars-intro {
	max-width: 780px;
	margin-bottom: 36px;
}

.webinars-intro h2,
.advice-clinics h2,
.webinars-contact h2 {
	margin-top: 0;
	font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.webinars-page p,
.webinars-page li,
.webinar-details dd {
	line-height: 1.7;
}

.webinars-page a {
	color: #007a87;
}

.webinar-list {
	display: grid;
	gap: 16px;
}

.webinar-card {
	border: 1px solid #d7e6e7;
	border-radius: 10px;
	background: white;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.webinar-card summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 22px 24px;
	cursor: pointer;
	list-style: none;
}

.webinar-card summary::-webkit-details-marker {
	display: none;
}

.webinar-card summary:focus-visible {
	outline: 3px solid #1b1b1b;
	outline-offset: -3px;
	background: #e1f3f4;
}

.webinar-card summary h2 {
	margin: 0;
	font-size: 1.15rem;
	line-height: 1.45;
}

.webinar-toggle {
	position: relative;
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #007a87;
}

.webinar-toggle::before,
.webinar-toggle::after {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 11px;
	height: 2px;
	background: white;
	content: "";
	transform: translate(-50%, -50%);
}

.webinar-toggle::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.webinar-card[open] .webinar-toggle::after {
	transform: translate(-50%, -50%);
}

.webinar-card-content {
	padding: 0 24px 28px;
}

.webinar-details {
	margin: 0;
}

.webinar-details > div {
	display: grid;
	grid-template-columns: minmax(120px, 0.26fr) 1fr;
	gap: 24px;
	padding: 17px 0;
	border-top: 1px solid #e5eeee;
}

.webinar-details dt {
	font-weight: 700;
	color: #005e69;
}

.webinar-details dd {
	margin: 0;
}

.webinar-resources {
	margin: 8px 0 0;
	padding-left: 20px;
}

.advice-clinics,
.webinars-contact {
	margin-top: 48px;
	padding: 32px;
	border-radius: 10px;
}

.advice-clinics {
	background: #007a87;
	color: white;
}

.advice-clinics h2,
.advice-clinics h3,
.advice-clinics a {
	color: white;
}

.webinar-button {
	display: inline-block;
	margin-top: 10px;
	padding: 12px 18px;
	border-radius: 5px;
	background: white;
	color: #007a87 !important;
	font-weight: 700;
	text-decoration: none;
}

.webinars-contact {
	background: #f1f8f8;
}

@media (max-width: 650px) {
	.webinar-card summary,
	.webinar-card-content {
		padding-left: 18px;
		padding-right: 18px;
	}

	.webinar-details > div {
		grid-template-columns: 1fr;
		gap: 6px;
	}

	.advice-clinics,
	.webinars-contact {
		padding: 24px;
	}
}

.resources-section {
	max-width: 1100px;
	padding: 0;
}

/* ================================
   DMT BUTTONS
================================ */

.dmt-buttons {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.dmt-button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;

	padding: 20px 25px;

	background-color: #0297a7;
	color: #ffffff;

	border-radius: 8px;
	text-decoration: none;

	transition:
		background-color 0.2s ease,
		transform 0.2s ease;
}

.dmt-button strong {
	display: block;
	margin-bottom: 5px;
	font-size: 1.1rem;
}

.dmt-button small {
	display: block;
	font-size: 0.9rem;
	font-weight: normal;
}

.dmt-button-arrow {
	flex-shrink: 0;
	font-size: 1.5rem;
}

.dmt-button:hover {
	background-color: #027f8c;
	transform: translateY(-2px);
}

.dmt-button strong,
.dmt-button small,
.dmt-button-arrow {
	color: #ffffff;
}

@media (max-width: 600px) {
	.dmt-buttons {
		grid-template-columns: 1fr;
	}
}

/* ================================
   RESOURCE FILTER
================================ */

.resource-filter {
	position: relative;
	margin: 0 0 25px;
	max-width: 250px;
}

.filter-toggle {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;

	padding: 12px 16px;

	background-color: #ffffff;
	color: #0297a7;

	border: 2px solid #0297a7;
	border-radius: 6px;

	font-family: inherit;
	font-size: 1rem;
	cursor: pointer;
}

.filter-options {
	display: none;
	position: absolute;
	z-index: 10;

	width: 100%;
	margin-top: 5px;
	padding: 15px;

	background-color: #ffffff;
	border: 1px solid #ddd;
	border-radius: 6px;

	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	box-sizing: border-box;
}

.filter-options label {
	display: block;
	padding: 8px 0;
	cursor: pointer;
	color: #333;
}

.filter-options input {
	margin-right: 8px;
}

.resource-filter.open .filter-options {
	display: block;
}

/* ================================
   RESOURCE LAYOUT
================================ */

.resources-layout {
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: 25px;
	align-items: start;
	padding-top: 25px;
}

.resource-list-column {
	min-width: 0;
}

/* ================================
   DMT RESOURCE TABS
================================ */

.resource-tabs {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.resource-tab {
	border: none;
	background: white;
	padding: 16px;
	border-radius: 6px;

	text-align: left;
	font-size: 15px;
	cursor: pointer;
	font-family: "Montserrat", sans-serif !important;
	transition: all 0.2s ease;
}

.resource-tab:hover {
	transform: translateX(4px);
}

.resource-tab.active {
	background: #0297a7;
	color: white;
}

/* ================================
   RESOURCE CARD
================================ */

.resource-card {
	background: white;
	border-radius: 12px;
	overflow: hidden;

	box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

/* ================================
   RESOURCE IMAGE
================================ */

.resource-image-link {
	display: block;
	position: relative;
	overflow: hidden;
	text-decoration: none !important;
}

.resource-image {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.3s ease;
}
.resource-image-link:hover .resource-image {
	transform: scale(1.02);
}

/* ================================
   RESOURCE CONTENT
================================ */

.resource-content {
	padding: 25px;
}

.resource-category {
	color: #066b76;
	font-size: 12px;
	font-weight: bold;
	text-transform: uppercase;
	margin-bottom: 8px;
}

.resource-title {
	margin: 0 0 10px;
	font-size: 28px;
	line-height: 1.2;
	color: #000000;
}

.resource-description {
	color: #000000;
	line-height: 1.6;
	margin-bottom: 20px;
}

/* ================================
   RESOURCE TAGS
================================ */

.resource-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 25px;
}

.resource-tag {
	display: inline-block;

	background: #e8f5f6;
	color: #066b76;

	padding: 6px 10px;
	border-radius: 4px;

	font-size: 12px;
	font-weight: bold;
}

/* ================================
   RESOURCE BUTTON
================================ */

.resource-button {
	display: inline-block;

	background: #0297a7;
	color: #ffffff !important;

	text-decoration: none !important;

	padding: 12px 18px;
	border-radius: 5px;

	font-weight: bold;
	font-size: 13px;

	transition: background 0.2s ease;
}

.resource-button:hover {
	background: #007a87;
	color: #ffffff !important;
	text-decoration: none !important;
}

.resource-button:focus,
.resource-button:visited {
	color: #ffffff !important;
	text-decoration: none !important;
}

.resource-buttons {
	display: flex;
	gap: 12px;
	align-items: center;
	flex-wrap: wrap;
}

.resource-buttons [hidden] {
	display: none;
}

/* ================================
   REMOVE UNWANTED UNDERLINES
================================ */

.resource-card,
.resource-card:hover,
.resource-card h2,
.resource-card p,
.resource-card div,
.resource-card a,
.resource-card a:hover {
	text-decoration: none !important;
}

/* ================================
   DESKTOP RESOURCE LIST SCROLL
================================ */

@media (min-width: 701px) {
	.resource-list-column {
		align-self: stretch;
		display: flex;
		flex-direction: column;
		min-height: 0;
	}

	.resource-list-column .resource-filter {
		flex-shrink: 0;
	}

	.resource-tabs {
		flex: 1;
		min-height: 0;
		/* Let the resource card determine the row height, not the list contents. */
		contain: size;
		overflow-y: auto;
		padding-right: 5px;
	}

	.resource-tab {
		flex-shrink: 0;
	}
}

/* ================================
   MOBILE
================================ */

@media (max-width: 700px) {
	.resources-layout {
		grid-template-columns: 1fr;
	}

	.resource-tabs {
		display: grid;
		grid-template-columns: 1fr 1fr;

		max-height: none;
		overflow-y: visible;
	}

	.resource-image {
		height: 220px;
	}

	.resource-title {
		font-size: 23px;
	}
}

/* INFORMATION GOVERNANCE RESOURCE LIST */

.ig-resource-list {
    background: #ffffff;
    border-radius: 8px;
    padding: 25px;
    margin-top: 20px;
    width: 100%;
    grid-column: 1 / -1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    font-family: "Montserrat", sans-serif;
}

.ig-resource-list h3 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 12px;
}

.ig-resource-list p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.ig-resource-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ig-resource-list li {
    padding: 14px 0;
    border-bottom: 1px solid #e5e5e5;
}

.ig-resource-list li:last-child {
    border-bottom: none;
}

.ig-resource-list a {
    color: #333333;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    display: block;
}

.ig-resource-list a:hover {
    color: #007b8a;
    text-decoration: underline;
}

.ig-resource-list a:focus-visible {
    outline: 2px solid #007b8a;
    outline-offset: 4px;
}

/* MOBILE */

@media (max-width: 600px) {
    .ig-resource-list {
        padding: 20px;
    }

    .ig-resource-list h3 {
        font-size: 18px;
    }

    .ig-resource-list li {
        padding: 12px 0;
    }
}