﻿@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400&display=swap");

/* =============================================
   PORTRAIT SCRIPT – LOCAL FONT FACES
   ============================================= */
@font-face {
	font-family: "Portrait Script";
	src:
		url("../fonts/portraitscript-alts.woff2") format("woff2"),
		url("../fonts/portraitscript-alts.woff") format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Portrait Script";
	src:
		url("../fonts/portraitscript-bold.woff2") format("woff2"),
		url("../fonts/portraitscript-bold.woff") format("woff");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

:root {
	--color-primary: #fff6ea;
	--color-secondary: #708450;
	--color-padel: #2e4627;
	--color-wellness: #cea26d;

	--color--text: #222;
	--color--brand: #6d4b35;
	--font-primary: "Roboto", sans-serif;
	--font-secondary: "Portrait Script", cursive;
}

/* Utilities */

.color--primary {
	color: var(--color-primary) !important;
}

.color--padel {
	color: var(--color-padel) !important;
}

.color--wellness {
	color: var(--color-wellness) !important;
}

.color--brand {
	color: var(--color--brand) !important;
}

.bg--primary {
	background-color: var(--color-primary) !important;
}

.bg--secondary {
	background-color: var(--color-secondary) !important;
}

.bg--padel {
	background-color: var(--color-padel) !important;
}

.bg--wellness {
	background-color: var(--color-wellness) !important;
}

.font--primary {
	font-family: var(--font-primary) !important;
}

.font--secondary {
	font-family: var(--font-secondary) !important;
}

.weight--400 {
	font-weight: 400 !important;
}

.weight--500 {
	font-weight: 500 !important;
}

.weight--300 {
	font-weight: 300 !important;
}

.border-radius {
	border-radius: 20px !important;
}

/* General */
body {
	font-family: var(--font-primary);
	font-weight: 300;
	line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-secondary);
}

/* Bootstrap button's */

.btn {
	border-radius: 30px;
	padding: 0.5rem 1.6rem;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 1rem;
}

.btn-primary {
	background-color: var(--color-primary);
	border-color: var(--color-primary);
	color: var(--color-padel);
}

.btn-primary:hover {
	background-color: var(--color-secondary);
	border-color: var(--color-secondary);
	color: var(--color-primary);
}

.btn-padel {
	background-color: var(--color-padel);
	border-color: var(--color-padel);
	color: var(--color-primary);
}

.btn-wellness {
	background-color: var(--color-primary);
	border-color: var(--color-primary);
	color: var(--color-wellness);
}

.btn-wellness:hover {
	background-color: var(--color--brand);
	border-color: var(--color--brand);
	color: var(--color-primary);
}

.btn-secondary {
	background-color: var(--color-secondary);
	border-color: var(--color-secondary);
	color: var(--color-primary);
}

.btn-secondary:hover {
	background-color: var(--color-primary);
	border-color: var(--color-primary);
	color: var(--color-secondary);
}

.btn-outline-primary {
	background-color: var(--color-primary);
	border-color: var(--color-primary);
	color: var(--color-primary);
}

.btn-outline-primary:hover {
	background-color: var(--color-secondary);
	border-color: var(--color-secondary);
	color: var(--color-secondary);
}

.btn-outline-secondary {
	background-color: var(--color-secondary);
	border-color: var(--color-secondary);
	color: var(--color-primary);
}

.btn-outline-secondary:hover {
	background-color: var(--color-primary);
	border-color: var(--color-primary);
	color: var(--color-secondary);
}

.py-6 {
	padding-top: 5rem;
	padding-bottom: 5rem;
}

.letter-spacing {
	letter-spacing: 0.15em;
}

.offcanvas-start {
	width: 300px;
}

.nav-link {
	color: #222;
	font-size: 1rem;
	letter-spacing: 0.05em;
}

.nav-link:hover {
	color: #9a7b4f;
}

/* HEADER */
.offcanvas .nav-link {
	color: var(--color-primary);
	opacity: 0.85;
}

.offcanvas .nav-link:hover {
	color: var(--color-wellness);
	opacity: 1;
}

.offcanvas hr {
	border-color: rgba(255, 246, 234, 0.15);
}

.header {
	background-color: rgba(46, 70, 39, 0);
	transition: background-color 0.4s ease;
	padding: 2rem 1rem;
}

.header-logo {
	opacity: 0;
	transition: opacity 0.4s 0s ease;
}

.header.scrolled .header-logo {
	opacity: 1;
	transition-delay: 0.2s;
}

.header.scrolled {
	background-color: rgba(46, 70, 39, 0.7);
}

.header:hover {
	background-color: rgba(46, 70, 39, 1) !important;
}

.header-actions {
	flex-direction: column;
}

.header.scrolled .header-actions {
	flex-direction: row;
}

.header-actions .btn {
	min-width: 170px;
}

/* HERO */
.hero {
	height: 100vh;
}

.hero-single {
	height: 60vh;
	position: relative;
}

.hero-single__logo {
	position: absolute;
	top: 14%;
	left: 50%;
	transform: translate(-50%, 0);
}

.hero-single::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.25);
}

.hero-single .hero-img {
	object-fit: cover;
	object-position: center;
	height: 100%;
	width: 100%;
}

.hero .carousel,
.hero .carousel-inner,
.hero .carousel-item {
	height: 100%;
}

.hero .carousel-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.hero .carousel-item::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.25);
}

.hero-logo {
	max-width: 260px;
}

.hero-tagline {
	font-family: var(--font-primary);
	font-weight: 300;
	font-size: 0.78rem;
	letter-spacing: 0.3em;
}

/* SECTION */
.fifty {
	position: relative;
	overflow: hidden;
	margin-bottom: 4rem;
	z-index: 0;
}

.fifty .fifty-content {
	position: relative;
	z-index: 2;
}

.fifty-content h2,
h2 .smaller {
	font-size: 1.125rem;
}

.fifty-img {
	width: 80%;
	position: absolute;
	object-fit: cover;
	z-index: 1;
	top: 50%;
	transform: translateY(-50%);
	left: 0;
	right: auto;
}

article.fifty:nth-of-type(even) .fifty-img {
	left: auto;
	right: 0;
}

article.fifty:nth-of-type(odd) > .row {
	justify-content: flex-end;
}

/* COACH CARDS */
.coach-card {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1 / 1;
}

.coach-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	filter: grayscale(100%);
	display: block;
	transition:
		filter 0.4s ease,
		transform 0.4s ease;
}

.coach-card:hover .coach-img {
	filter: grayscale(0%);
	transform: scale(1.03);
}

.coach-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 3rem 1.25rem 1.25rem;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, transparent 100%);
	pointer-events: none;
}

.coach-name {
	font-family: var(--font-secondary);
	color: var(--color-primary);
	font-size: 1.6rem;
	display: block;
	letter-spacing: 0.04em;
}

.coach-role {
	font-family: var(--font-primary);
	color: var(--color-primary);
	font-size: 0.7rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	opacity: 0.75;
}

/* LISTE TARIFS MEMBERSHIP */
.tarif-list {
	list-style: none;
	padding: 0 3rem;
	margin: 0;
}

.tarif-list li {
	display: flex;
	align-items: baseline;
	gap: 0.5rem;
	padding: 0.3rem 0;
}

.tarif-list .tarif-label {
	white-space: nowrap;
	font-weight: 500;
}

.tarif-list .tarif-separator {
	flex: 1;
	border-bottom: 1px dotted currentColor;
	opacity: 0.35;
	margin-bottom: 4px;
}

.tarif-list .tarif-price {
	white-space: nowrap;
	font-weight: 600;
	letter-spacing: 0.03em;
}

/* AVANTAGES MEMBRES */
.avantages-list {
	list-style: none;
	padding: 0;
	margin: 0 0 1rem 0;
	text-align: left;
}

.avantages-list li {
	position: relative;
	padding: 0.55rem 0.5rem 0.55rem 2rem;
	border-bottom: 1px solid rgba(46, 70, 39, 0.12);
	font-size: 0.9rem;
	line-height: 1.4;
}

.avantages-list li:last-child {
	border-bottom: none;
}

.avantages-list li::before {
	content: "";
	position: absolute;
	left: 0.5rem;
	top: 50%;
	transform: translateY(-50%);
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background-color: var(--color-padel);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpolyline points='2,6 5,9 10,3' fill='none' stroke='%23fff6ea' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-size: 10px 10px;
	background-position: center;
	background-repeat: no-repeat;
	flex-shrink: 0;
}

/* TABLEAU TARIFS */

/* AVANTAGES MEMBRES */
.avantages-list {
	list-style: none;
	padding: 0;
	margin: 0 0 1rem 0;
	text-align: left;
}

.avantages-list li {
	position: relative;
	padding: 0.6rem 0.5rem 0.6rem 2.2rem;
	border-bottom: 1px solid rgba(46, 70, 39, 0.12);
	font-size: 0.9rem;
	line-height: 1.4;
}

.avantages-list li:last-child {
	border-bottom: none;
}

.avantages-list li::before {
	content: "";
	position: absolute;
	left: 0.4rem;
	top: 50%;
	transform: translateY(-50%);
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background-color: var(--color-padel);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpolyline points='2,6 5,9 10,3' fill='none' stroke='%23fff6ea' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-size: 12px 12px;
	background-position: center;
	background-repeat: no-repeat;
}
.table-tarifs {
	border-collapse: separate;
	border-spacing: 0;
	color: var(--color-secondary);
	font-size: 0.88rem;
}

.table-tarifs thead th {
	background-color: var(--color-secondary);
	color: var(--color-primary);
	font-family: var(--font-primary);
	font-weight: 500;
	letter-spacing: 0.08em;
	border: none;
	padding: 0.9rem 1.2rem;
}

.table-tarifs thead th:first-child {
	background-color: transparent;
	border: none;
}

.table-tarifs tbody th[scope="row"] {
	background-color: var(--color-secondary);
	color: var(--color-primary);
	font-family: var(--font-primary);
	font-weight: 500;
	text-transform: uppercase;
	font-size: 0.78rem;
	letter-spacing: 0.05em;
	padding: 0.9rem 1.2rem;
	vertical-align: middle;
	border: none;
}

.table-tarifs tbody td {
	background-color: var(--color-padel);
	color: var(--color-primary);
	padding: 0.9rem 1.2rem;
	vertical-align: middle;
	border: 1px solid rgba(255, 246, 234, 0.12);
}

/* .table-tarifs tbody tr:hover td {
	background-color: color-mix(in srgb, var(--color-padel) 85%, white);
} */

/* FOOTER */

/* =============================================
   ANIMATIONS & MICRO-INTERACTIONS
   ============================================= */

/* Easing variables */
:root {
	--ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
	--ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Hero entrance --- */
.hero-single .hero-img {
	animation: heroReveal 1s var(--ease-out-quart) both;
}

@keyframes heroReveal {
	from {
		opacity: 0;
		transform: scale(1.04);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

/* --- Section header fade-in --- */
.section-header {
	animation: fadeUp 0.7s 0.3s var(--ease-out-quart) both;
}

@keyframes fadeUp {
	from {
		opacity: 0;
		transform: translateY(24px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* --- Scroll-reveal for articles & blocks --- */
.fifty,
.coaches,
.become-member,
.tarfis-conditions,
.program {
	opacity: 0;
	transform: translateY(32px);
	transition:
		opacity 0.6s var(--ease-out-quart),
		transform 0.6s var(--ease-out-quart);
}

.fifty.is-visible,
.coaches.is-visible,
.become-member.is-visible,
.tarfis-conditions.is-visible,
.program.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* --- Button micro-interactions --- */
.btn {
	transition:
		background-color 0.25s ease,
		color 0.25s ease,
		border-color 0.25s ease,
		transform 0.15s ease,
		box-shadow 0.25s ease;
}

.btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.btn:active {
	transform: translateY(0) scale(0.97);
	box-shadow: none;
	transition-duration: 0.08s;
}

/* --- Coach card refined hover --- */
.coach-card {
	transition: box-shadow 0.4s var(--ease-out-quart);
}

.coach-card:hover {
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.coach-overlay {
	transform: translateY(8px);
	opacity: 0.85;
	transition:
		transform 0.35s var(--ease-out-quart),
		opacity 0.35s ease;
}

.coach-card:hover .coach-overlay {
	transform: translateY(0);
	opacity: 1;
}

/* --- Staggered coach card reveal --- */
.coaches .col-6:nth-child(1) {
	transition-delay: 0s;
}
.coaches .col-6:nth-child(2) {
	transition-delay: 0.08s;
}
.coaches .col-6:nth-child(3) {
	transition-delay: 0.16s;
}
.coaches .col-6:nth-child(4) {
	transition-delay: 0.24s;
}
.coaches .col-6:nth-child(5) {
	transition-delay: 0.32s;
}
.coaches .col-6:nth-child(6) {
	transition-delay: 0.4s;
}
.coaches .col-6:nth-child(7) {
	transition-delay: 0.48s;
}
.coaches .col-6:nth-child(8) {
	transition-delay: 0.56s;
}

.coaches .col-6 {
	opacity: 0;
	transform: translateY(20px);
	transition:
		opacity 0.5s var(--ease-out-quart),
		transform 0.5s var(--ease-out-quart);
}

.coaches.is-visible .col-6 {
	opacity: 1;
	transform: translateY(0);
}

/* --- Program cards stagger --- */
.program .col-lg-4 {
	opacity: 0;
	transform: translateY(20px);
	transition:
		opacity 0.5s var(--ease-out-quart),
		transform 0.5s var(--ease-out-quart);
}

.program .col-lg-4:nth-child(1) {
	transition-delay: 0s;
}
.program .col-lg-4:nth-child(2) {
	transition-delay: 0.08s;
}
.program .col-lg-4:nth-child(3) {
	transition-delay: 0.16s;
}
.program .col-lg-4:nth-child(4) {
	transition-delay: 0.24s;
}
.program .col-lg-4:nth-child(5) {
	transition-delay: 0.32s;
}
.program .col-lg-4:nth-child(6) {
	transition-delay: 0.4s;
}
.program .col-lg-4:nth-child(7) {
	transition-delay: 0.48s;
}

.program.is-visible .col-lg-4 {
	opacity: 1;
	transform: translateY(0);
}

/* --- Fifty content slide-in --- */
.fifty .fifty-content {
	opacity: 0;
	transform: translateX(-24px);
	transition:
		opacity 0.6s 0.15s var(--ease-out-quart),
		transform 0.6s 0.15s var(--ease-out-quart);
}

article.fifty:nth-of-type(even) .fifty-content {
	transform: translateX(24px);
}

.fifty.is-visible .fifty-content {
	opacity: 1;
	transform: translateX(0);
}

/* --- Table row hover --- */
.table-tarifs tbody tr {
	transition: background-color 0.25s ease;
}

/* --- Nav link underline animation --- */
.nav-link {
	position: relative;
}

.nav-link::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 0;
	height: 1px;
	background: currentColor;
	transition:
		width 0.3s var(--ease-out-quart),
		left 0.3s var(--ease-out-quart);
}

.nav-link:hover::after {
	width: 100%;
	left: 0;
}

footer a {
	color: var(--color-primary);
}

footer svg {
	color: var(--color-primary);
	fill: var(--color-primary);
}

.social-list {
	margin: 3rem -0.7rem;
}

.social-list__item {
	padding: 0 0.7rem;
}

.social-list__link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: var(--color-wellness);
	transition: all ease 0.4s 0s;
}

.social-list__link svg {
	fill: var(--color-primary);
	transition: all ease 0.4s 0s;
}

.social-list__link:hover,
.social-list__link:hover svg {
	color: var(--color-wellness);
	fill: var(--color-wellness);
}

.social-list__link:hover {
	background: var(--color-primary);
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* RESPONSIVE */

/* `xxl` applies to x-large devices (large desktops, less than 1400px)*/
@media (max-width: 1399.98px) {
}
/* `xl` applies to large devices (desktops, less than 1200px)*/
@media (max-width: 1199.98px) {
}

/* `lg` applies to medium devices (tablets, less than 992px)*/
@media (max-width: 991.98px) {
	/* Fifty layout: stack vertically on tablet */
	.fifty-img {
		position: relative;
		width: 100%;
		top: auto;
		transform: none;
		max-height: 50vh;
		object-fit: cover;
	}

	article.fifty:nth-of-type(odd) > .row {
		justify-content: flex-start;
	}

	.fifty .fifty-content {
		transform: none;
	}

	article.fifty:nth-of-type(even) .fifty-content {
		transform: none;
	}

	/* Reduce section padding */
	.py-6 {
		padding-top: 3rem;
		padding-bottom: 3rem;
	}

	/* Reduce fifty content padding */
	.fifty .col-lg-6 {
		padding: 1.5rem !important;
	}

	.fifty .fifty-content {
		padding: 2rem !important;
	}

	/* Become member / tarifs-conditions */
	.become-member .col-10,
	.tarfis-conditions .col-10 {
		width: 100%;
		padding: 2rem !important;
	}

	/* Tarif list less padding */
	.tarif-list {
		padding: 0 1rem;
	}
}

/*`md` applies to small devices (landscape phones, less than 768px)*/
@media (max-width: 767.98px) {
	/* Header: smaller logo, compact actions */
	.header {
		padding: 1rem 0.5rem;
	}

	.header a > img {
		height: 50px;
	}

	.header-actions {
		gap: 0.25rem !important;
	}

	.header-actions .btn {
		font-size: 0.65rem;
		padding: 0.3rem 0.8rem;
	}

	.header.scrolled .header-actions {
		flex-direction: column;
	}

	/* Hero smaller on mobile */
	.hero-single {
		height: 40vh;
	}

	.hero-logo {
		max-width: 160px;
	}

	.hero-tagline {
		font-size: 0.6rem;
		letter-spacing: 0.2em;
	}

	/* Fifty: full padding reduction */
	.fifty {
		margin-bottom: 2.5rem;
	}

	.fifty .col-lg-6 {
		padding: 0 !important;
	}

	.fifty .fifty-content {
		padding: 1.5rem !important;
	}

	/* Become member */
	.become-member .col-10 {
		padding: 1.5rem !important;
	}

	.tarfis-conditions .col-10 {
		padding: 1rem !important;
	}

	/* Tarif list no extra padding */
	.tarif-list {
		padding: 0;
	}

	/* Tarif table font size */

	/* AVANTAGES MEMBRES */
	.avantages-list {
		list-style: none;
		padding: 0;
		margin: 0 0 1rem 0;
		text-align: left;
	}

	.avantages-list li {
		position: relative;
		padding: 0.6rem 0.5rem 0.6rem 2.2rem;
		border-bottom: 1px solid rgba(46, 70, 39, 0.12);
		font-size: 0.9rem;
		line-height: 1.4;
	}

	.avantages-list li:last-child {
		border-bottom: none;
	}

	.avantages-list li::before {
		content: "";
		position: absolute;
		left: 0.4rem;
		top: 50%;
		transform: translateY(-50%);
		width: 18px;
		height: 18px;
		border-radius: 50%;
		background-color: var(--color-padel);
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpolyline points='2,6 5,9 10,3' fill='none' stroke='%23fff6ea' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
		background-size: 12px 12px;
		background-position: center;
		background-repeat: no-repeat;
	}
	.table-tarifs {
		font-size: 0.75rem;
	}

	.table-tarifs thead th,
	.table-tarifs tbody th[scope="row"],
	.table-tarifs tbody td {
		padding: 0.6rem 0.6rem;
	}

	/* Coaches cards: show color on mobile (no hover) */
	.coach-img {
		filter: grayscale(0%);
	}

	/* Coach name/role slightly smaller */
	.coach-name {
		font-size: 1.3rem;
	}

	.coach-overlay {
		padding: 2rem 1rem 1rem;
		transform: none;
		opacity: 1;
	}

	/* Program cards padding */
	.program .card-body {
		padding: 1.25rem !important;
	}

	/* Footer */
	footer nav a {
		display: block;
		margin-bottom: 0.5rem;
	}
}

/* `sm` applies to x-small devices (portrait phones, less than 576px)*/
@media (max-width: 575.98px) {
	/* Even tighter spacing */
	.py-6 {
		padding-top: 2rem;
		padding-bottom: 2rem;
	}

	.hero-single {
		height: 35vh;
	}

	h1 {
		font-size: 2rem;
	}

	h2 {
		font-size: 1.6rem;
	}

	/* Buttons: ensure touch-friendly sizing (min 44px height) */
	.btn {
		min-height: 44px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	/* Stack CTA buttons vertically */
	.d-flex.gap-3.flex-wrap {
		flex-direction: column;
		align-items: center;
	}

	/* Tarifs memberships: stack columns */
	.tarifs .row > [class*="col-lg-"] {
		margin-bottom: 1rem;
	}

	/* Coaches smaller name */
	.coach-name {
		font-size: 1.1rem;
	}

	.coach-role {
		font-size: 0.6rem;
	}

	.coach-overlay {
		padding: 1.5rem 0.75rem 0.75rem;
	}
}

/* PRINT */
@media print {
	* {
		background: transparent !important;
		color: #000 !important;
		box-shadow: none !important;
		text-shadow: none !important;
	}
	a,
	a:visited {
		text-decoration: underline;
	}
	a[href]:after {
		content: " (" attr(href) ")";
	}
	abbr[title]:after {
		content: " (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content: "";
	}
	pre,
	blockquote {
		border: 1px solid #999;
		page-break-inside: avoid;
	}
	thead {
		display: table-header-group;
	}
	tr,
	img {
		page-break-inside: avoid;
	}
	img {
		max-width: 100% !important;
	}
	@page {
		margin: 0.5cm;
	}
	p,
	h2,
	h3 {
		orphans: 3;
		widows: 3;
	}
	h2,
	h3 {
		page-break-after: avoid;
	}
}
