/*
Theme Name: Tshiamo Modisane 2026 v2
Theme URI: https://tshiamomodisane.com
Author: Blaek Group (PTY)LTD
Author URI: https://tshiamomodisane.com
Description: Tshiamo Modisane 2026 wordpress theme.
Requires at least: 8.0
Tested up to: 8.0
Requires PHP: 8.0
Version: 2026.01.23
*/

@import url('https://fonts.googleapis.com/css2?family=Afacad+Flux:wght@100..1000&family=Jost:ital,wght@0,100..900;1,100..900&family=Tenor+Sans&family=Voltaire&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;1,500&family=Plus+Jakarta+Sans:ital@0;1&display=swap');

@font-face {
	font-family: "Garet";
	src: url('./fonts/garet.ttf');
}

:root {
	--color-black: #000;
	--color-white: #FFF;
	--color-brown: #9C442C;
	--color-pink: #EF88B5;
	--color-grey: #8B8D99;
    --color-burgundy: #68153F;

    --title-font-size: clamp(3rem, 10vw, 12rem);
    --heading-font-size: clamp(1.5rem, 3vw, 2rem);
    --body-font-size: clamp(0.8rem, 2vw, 1.2rem);
    --base-text-font-size: clamp(1rem, 17px + 0.24vw, 1.125rem);

    --serif-font: 'Playfair Display', serif;
    --sans-serif-font: 'Jost', sans-serif;

    --paragraph-width: clamp(240px, 100%, 50ch);
}

* {
	box-sizing: border-box;
}

html, body {
	margin: 0;
	font-family: var(--serif-font);
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
}


/* Page Transition ---------- ---------- ---------- */

#pagetransition {
    position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: 1fr;
	align-items: center;
	justify-items: center;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
    background-color: #000000cc;
	transition: 0.3s all ease-in-out;
    overflow: hidden;
    opacity: 0;
    /* animation: pageTransitionAnimation 3s linear; */
	z-index: 9999999; /*9 mil*/
	pointer-events: none;
    user-select: none;
    backdrop-filter: blur(20px);
}

#pagetransition.active {
    opacity: 1;
}

@keyframes pageTransitionAnimation {
    0% {
        opacity: 0;
    }
    1% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

#pagetransition.active .title {
    transform: translateX(-50%) translateY(-50%) scale(1, 1);
}

#pagetransition .title {
    position: fixed;
    top: 50vh;
    left: 50vw;
    transform: translateX(-50%) translateY(-50%) scale(0.95, 0.95);
    grid-column: 1 / 2;
    grid-row: 1/ 2;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    font-size: clamp(3rem, 10vw, 10rem);
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    line-height: 1;
    transition: 0.3s;
    z-index: 3001;
}

#pagetransition .layers {
    position: fixed;
    top: 0;
    grid-column: 1 / 2;
    grid-row: 1/ 2;
    display: grid;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    z-index: 3000;
}

#pagetransition .layers__item,
#pagetransition .layers__item-img {
	width: 100vw;
	height: 100vh;
}

#pagetransition .layers__item {
    position: relative;
    grid-column: 1 / 2;
    grid-row: 1 / 2;
	overflow: hidden;
	will-change: clip-path;
    opacity: 1;
}

#pagetransition .layers__item-img {
	background-size: cover;
	background-position: 50% 25%;
    background-size: 105%;
    will-change: background-size;
}



/* Typography ---------- ---------- ---------- */

a {
	text-decoration: none;
	color: inherit;
}

a:hover {
	text-decoration: underline;
	color: inherit;
}

h2 {
    font-size: clamp(1.5rem, 2vw, 2rem);
}

p {
    font-family: var(--sans-serif-font);
    font-size: var(--base-text-font-size);
    width: var(--paragraph-width);
}

p ul, p + ul {
    font-family: var(--sans-serif-font);
    font-size: var(--base-text-font-size);
}

img {
	width: 100%;
    height: auto;
    object-fit: contain;
}

.font-serif {
    font-family: var(--serif-font);
}

.no_break {
    display: block;
    white-space: nowrap;
}


/* Mobile Menu ---------- ---------- ---------- */

#mobilemenu {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 0;
    gap: 2rem;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--color-black);
    color: var(--color-white);
    z-index: 999999;
    transition: 0.3s;
    touch-action: none;
    pointer-events: none;
    opacity: 0;
    /* visibility: hidden; */
}

.mobilemenu_buttons {
    display: flex;
}

.mobilemenu_buttons .small {
	position: relative;
	font-size: 1rem;
	padding: 0.8rem 1rem;
	border: 1px solid #ffffff80;
	color: #fff;
	pointer-events: auto;
	transition: 0.3s all ease-in-out;
}

.mobilemenu_buttons .small:hover {
	background-color: #fff;
	color: #000;
}

.mobilemenu_links {
    display: flex;
}

.mobilemenu_links nav ul {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    font-size: 2rem;
    text-align: center;
    margin: 0;
    padding: 2rem 0;
    list-style-type: none;

    pointer-events: auto;
}

.mobilemenu_links nav ul li.menu_item {
    user-select: auto;
}

.mobilemenu_socialmedia {
    display: flex;
}

.mobilemenu_socialmedia .social_media {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
}

.mobilemenu_socialmedia .social_media i {
    width: 1rem;
}


/* Header ---------- ---------- ---------- */

header {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	padding: 1rem 10vw;
	width: 100%;
    background: linear-gradient(180deg, #000000, #00000000);
	color: #ffffff;
	font-size: 2rem;
	text-transform: uppercase;
	text-align: center;
    transition: 0.3s;
	z-index: 100;
}

header:hover {
    background: linear-gradient(180deg, #000000, #000000);
}

header .logo {
	pointer-events: auto;
}

header .menubtn {
    display: none;
	pointer-events: auto;
    cursor: pointer;
}

header #header_nav_menu {
    display: block;
}

@media screen and (max-width: 1024px) {
    header .navigation {
        display: none;
    }

    header .menubtn {
        display: block;
    }
}

header .navigation nav ul {
    position: relative;
    top: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1rem;
    font-size: 1.2rem;
    margin: 0;
    padding: 0;
    list-style-type: none;
    pointer-events: auto;
}

header .navigation nav ul li.menu_item {
    
    user-select: auto;
}

header .cta {
	position: relative;
	transition: 0.3s all ease-in-out;
}

header .cta::before {
	content: "";
	display: block;
	position: absolute;
	top: calc(100%);
	right: 100%;
	width: 100%;
	height: 300%;
	border-right: 1px solid transparent;
	border-top: 1px solid transparent;
	background: transparent;
	background-position: right;
	background-size: contain;
	background-repeat: no-repeat;
	pointer-events: none;
	transition: 0.3s all ease-in-out;
}

header .cta:hover::before {
	border-right: 1px solid transparent;
	border-top: 1px solid transparent;
	background-image: url('./img/book_cover.png');
}

header .small {
	position: relative;
	font-size: 1rem;
	padding: 0.8rem 1rem;
	border: 1px solid #ffffff80;
	color: #fff;
	pointer-events: auto;
	transition: 0.3s all ease-in-out;
}

header .small:hover {
	background-color: #fff;
	color: #000;
}

/* header .small::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 100%;
    width: 15px;
    height: 15px;
    border-top: 1px solid #ffffff80;
    border-left: 1px solid #ffffff80;
    z-index: 1000;
}

header .small::after {
    content: "";
    position: absolute;
    bottom: 100%;
    right: 100%;
    width: 15px;
    height: 15px;
    border-bottom: 1px solid #ffffff80;
    border-right: 1px solid #ffffff80;
    z-index: 1000;
} */


/* Hero Section ---------- ---------- ---------- */

.hero {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 90vh;
	background: #000;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
	color: #fff;
	transition: 0.3s all ease-in-out;
}

@media screen and (max-width: 1124px) {
	.hero {
		height: 70vh;
	}
}

.hero_book {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 60vh;
	background: #000;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
	color: #fff;
	transition: 0.3s all ease-in-out;
}

@media screen and (max-width: 1124px) {
	.hero_book {
		height: 50vh;
	}
}

.hero_gallery {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 60vh;
	background: #fff;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
	color: #000;
	transition: 0.3s all ease-in-out;
}

@media screen and (max-width: 1124px) {
	.hero_gallery {
		height: 50vh;
	}
}

.hero_page {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 60vh;
	background: #ffffff;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
	color: #000000;
	transition: 0.3s all ease-in-out;
}

@media screen and (max-width: 1124px) {
	.hero_page {
		height: 30vh;
	}
}

.hero_heading {
	display: block;
	margin: 0 10%;
	padding: 2rem 0;
	font-size: clamp(3rem, 10vw, 12rem);
	font-weight: 400;
	text-align: left;
	text-transform: uppercase;
	line-height: 1;
}

.hero_descriptions {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	align-self: start;
	gap: 2rem;
    margin: 0 10%;
	padding: 0rem 1rem;
	font-size: clamp(1rem, 2vw, 2rem);
	font-weight: 400;
	text-align: center;
	text-transform: uppercase;
}


/* Gallery Section ---------- ---------- ---------- */

.about {
    padding: 0 10%;
    width: 100%;
    height: 50vh;
    background-color: var(--color-white);
    color: #fff;
}

.about .container {
    position: relative;
    top: -5rem;
    padding: clamp(1rem, 10vw, 6rem);
    width: clamp(300px, 60vw, 1200px);
    background-color: var(--color-black);
}

@media screen and (max-width: 768px) {
    .about {
        height: 100%;
    }

    .about .container {
        top: 0rem;
        width: 100%;
    }
}

@media screen and (max-width: 400px) {
    .about {
        padding: 0;
    }
}

.about_heading {
    margin: 0;
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: lighter;
    white-space: nowrap;
    background-color: transparent;
}

.about_exerpt {
    line-height: 1.75;
}

.about_link {
    padding: 0.8rem 1.2rem;
    width: fit-content;
    background-color: #fff;
	border: 1px solid #fff;
    color: #000;
	font-weight: bold;
    text-transform: uppercase;
    transition: 0.3s;
}

.about_link:hover {
	background-color: #000;
	border: 1px solid #000;
    color: #fff;
}

/* Gallery Section ---------- ---------- ---------- */

.gallery .container {
	display: flex;
	flex-direction: row;
	width: 100%;
	height: 35vh;
}

.gallery .container .item {
	flex: 1;
	height: 100%;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	transition: flex 0.8s ease-in-out;
}

.gallery .container .item:hover{
	flex: 2;
}

.item-1 { 
  	background-image: url('https://www.tshiamomodisane.com/wp-content/uploads/2025/02/item_1.webp');
}

.item-2 { 
  	background-image: url('https://www.tshiamomodisane.com/wp-content/uploads/2025/02/item_2.webp');
}

.item-3 { 
	display: none;
  	background-image: url('https://www.tshiamomodisane.com/wp-content/uploads/2025/02/item_3.webp');
}

.item-4 { 
  	background-image: url('https://www.tshiamomodisane.com/wp-content/uploads/2025/02/item_4.webp');
}

.item-5 { 
  	background-image: url('https://www.tshiamomodisane.com/wp-content/uploads/2025/02/item_5.webp');
}

.item-6 { 
  	background-image: url('https://www.tshiamomodisane.com/wp-content/uploads/2025/02/item_6.webp');
}

.item-7 { 
  	background-image: url('https://www.tshiamomodisane.com/wp-content/uploads/2025/02/item_7-1.webp');
}

.item-8 { 
  	background-image: url('https://www.tshiamomodisane.com/wp-content/uploads/2025/02/item_8.webp');
}

@media screen and (max-width: 1024px) {
	.item-1, .item-8 { 
		display: none !important;
	}
}

@media screen and (max-width: 768px) {
	.item-1, .item-2, .item-7, .item-8 { 
		display: none !important;
	}
}


/* Book Section ---------- ---------- ---------- */

.book {
	background: #9C442C;
	background: url('./img/left_half_bg.png');
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.poster_area {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 1rem;
	width: 100%;
	min-height: 500px;
	perspective: 1000px;
}

.poster {
	width: clamp(280px, 100%, 600px);
	height: auto;
}

.poster:hover {
	outline: auto;
}

.poster img {
	width: clamp(280px, 100%, 600px);
	height: auto;
}


/* Links Section ---------- ---------- ---------- */

.links_section {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 2rem;
	background-color: #FFF;
}

.purchase_links {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	padding: 1rem 1.5rem;
	background-color: #fff;
	/* box-shadow: 0 35px 35px -15px #00000080; */
}

.buy_btn {
	position: relative;
	padding: 0.8rem 1.2rem;
	height: fit-content;
	color: #fff;
	font-family: var(--serif-font) !important;
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	border: 1px solid #9C442C;
	background: #9C442C;
	transition: all 0.3s ease;
	cursor: pointer;
	z-index: 100;
}

.buy_btn:hover {
	border: 1px solid #000;
	background-color: #fff;
	color: #000;
}


/* .buy_btn::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 100%;
    width: 15px;
    height: 15px;
    border-top: 1px solid #000;
    border-left: 1px solid #000;
    z-index: 1000;
}

.buy_btn::after {
    content: "";
    position: absolute;
    bottom: 100%;
    right: 100%;
    width: 15px;
    height: 15px;
    border-bottom: 1px solid #000;
    border-right: 1px solid #000;
    z-index: 1000;
} */


/* Foundation ---------- ---------- ---------- */

.foundation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 0;
    min-height: 0;
    /* background-color: #b15275; */
    background-color: var(--color-grey);
    background-image: none;
    background-size: contain;
    background-position: left;
    background-repeat: no-repeat;
}

@media screen and (max-width: 905px) {
	.foundation {
		flex-direction: column-reverse;
	}
}

.foundation .profile img {
	display: block;
	width: clamp(100px, 450px, 480px);
}

.foundation .right {
    display: grid;
    grid-template-columns: min-content 1fr;
    grid-template-rows: auto;
    gap: 1rem;
    padding: 3rem 1rem;
}

.foundation .logo {
    grid-column: 1 / 2;
}

.foundation .heading {
    grid-column: 2 / 3;
}

.foundation .logo img {
	display: block;
	width: 100%;
	min-width: 100px;
	height: max-content;
	max-height: 200px;
}

.foundation .heading h2 {
	margin: 0;
	font-size: clamp(2rem, 10vw, 3rem);
	font-weight: 400;
	color: var(--color-white);
    text-align: center;
}

.foundation .link { 
    grid-column: 1 / -1;
}

.foundation .link .btn {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	position: relative;
	font-size: 1rem;
	width: fit-content;
	color: #fff;
	pointer-events: auto;
	transition: 0.3s all ease-in-out;
}

.foundation .link .btn:hover {
	background-color: #fff;
	color: #000;
}

.foundation .link .btn .action {
	padding: 0.8rem 1rem;
	border: 1px solid var(--color-white);
	background-color: var(--color-black);
	color: var(--color-white);
	transition: 0.3s all ease-in-out;
}

.foundation .link .btn:hover .action {
	padding: 0.8rem 1rem;
	border: 1px solid var(--color-white);
	background-color: var(--color-white);
	color: var(--color-black);
}

.foundation .link .btn .email {
    display: block;
	padding: 0.8rem 1rem;
	border: 1px solid var(--color-white);
	background-color: var(--color-white);
	color: var(--color-black);
	transition: 0.3s all ease-in-out;
}

.foundation .link .btn:hover .email {
	padding: 0.8rem 1rem;
	border: 1px solid var(--color-white);
	background-color: var(--color-black);
	color: var(--color-white);
}

@media screen and (max-width:432px) {
    .foundation .logo {
        grid-column: 1 / -1;
    }
    .foundation .heading {
        grid-column: 1 / -1;
    }

    .foundation .link .btn {
        justify-self: center;
    }
    .foundation .link .btn .email {
        display: none;
    }
}


/* Contacts ---------- ---------- ---------- */

.contacts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	padding: 0;
	background: #fff;
}

.contacts .booking_form {
    padding: 3rem;
    background: #fff;
    color: #000;
}

.contacts .contact_info {
    padding: 3rem 2rem 6rem;
    background-color: #9c442c;
	background-image: url('./img/contacts_bg.jpg');
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
    color: #fff;
	font-size: 1.2rem;
}

.contacts h2 {
	font-size: 3rem;
}

.contacts h3 {
	font-size: 2rem;
}

.contacts label {
	font-weight: bold !important;
}

.contacts i {
	font-size: 1.2rem;
}

.contacts .contact_info .social_media {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
}


/* Footer ---------- ---------- ---------- */

footer {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	justify-content: start;
	gap: 2.5rem;
	padding: 3rem 10vw 5rem;
	width: 100%;
	color: #fff;
	background-color: #000;
}

footer .footer_heading {
	display: block;
	padding: 0;
	font-size: clamp(3rem, 10vw, 12rem);
	font-weight: lighter !important;
	text-align: center;
	text-transform: uppercase;
	line-height: 1;
}

footer .footer_navigation {
    display: block;
    text-transform: uppercase;
}

footer .footer_navigation nav ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    font-size: 1.2rem;
    margin: 0;
    padding: 5rem 0;
    list-style-type: none;
    pointer-events: auto;
}

footer .footer_navigation nav ul li.menu_item {
    user-select: auto;
}

footer .links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    justify-items: center;
    gap: 2rem;
}

@media screen and (max-width: 532px) {
    footer .links {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        align-items: center;
        justify-items: center;
        gap: 2rem;
    }
}

footer .links .social_media {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
}

footer .links .social_media i {
    width: 1rem;
}

footer .links .cta {
	text-transform: uppercase;
}

footer .small {
	position: relative;
	font-size: 1rem;
	padding: 0.8rem 1rem;
	width: fit-content;
	border: 1px solid #ffffff80;
	color: #fff;
	pointer-events: auto;
	transition: 0.3s all ease-in-out;
}

footer .small:hover {
	background-color: #fff;
	color: #000;
}

footer .info {
	display: flex;
	flex-direction: row;
    justify-content: center;
	gap: 2rem;
	font-size: 0.8rem;
    text-align: center;
}


/* About-page.php ---------- ---------- ---------- */

.about_content {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
    padding: 0;
}

.about_content--box {
    grid-column: 7 / -1;
    grid-row: 1 / 3;
    z-index: -1;
    background-color: var(--color-burgundy);
}

.about_content--paragraph {
    width: var(--paragraph-width);
}

.about_content--image img {
    width: clamp(280px, 100%, 700px);
    height: auto;
}

.about_intro--image {
    grid-column: 1 / 7;
    grid-row: 1 / 2;
    display: flex;
    justify-content: end;
}

.about_intro--paragraph {
    grid-column: 7 / -1;
    grid-row: 1 / 2;
    padding: 0.8rem 1.5rem;
    color: var(--color-white);
}

.about_bio--paragraph {
    grid-column: 3 / 6;
    grid-row: 2 / 3;
    padding-bottom: 10rem;
}

.about_bio--image {
    grid-column: 6 / -1;
    grid-row: 2 / 3;
}

@media screen and (max-width:1124px) {
    .about_bio--paragraph {
        grid-column: 2 / 6;
        grid-row: 2 / 3;
        padding-bottom: 10rem;
    }
}

@media screen and (max-width:768px) {
    .about_content {
        grid-template-columns: repeat(12, 1fr);
        padding: 0 5vw 0;
        background-color: var(--color-burgundy);
        color: var(--color-white) !important;
    }

    .about_content--box {
        grid-column: 1 / -1;
        grid-row: 1 / -1;
    }

    .about_intro--image {
        grid-column: 1 / -1;
        grid-row: 1 / 2;
        display: flex;
        justify-content: center;
        margin-top: -5rem;
    }

    .about_intro--paragraph {
        grid-column: 1 / 7;
        grid-row: 2 / 4;
        padding: 0.8rem 1.5rem;
        color: var(--color-white);
    }

    .about_bio--paragraph {
        grid-column: 7 / -1;
        grid-row: 2 / 3;
        padding-bottom: 0;
        padding-top: 7rem;
        color: var(--color-white);
    }

    .about_bio--image {
        grid-column: 7 / -1;
        grid-row: 3 / 4;
        align-self: end;
    }
}


@media screen and (max-width:550px) {
    .about_content { 
        gap: 0
    }
    .about_intro--paragraph {
        grid-column: 1 / -1;
        grid-row: 2 / 3;
        padding: 0.8rem 1.5rem;
    }

    .about_bio--paragraph {
        grid-column: 1 / -1;
        grid-row: 3 / 4;
        padding-top: 0;
    }

    .about_bio--image {
        grid-column: 1 / -1;
        grid-row: 4 / 5;
        align-self: end;
    }
}


.about_content--two {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1rem;
    padding: 3rem 10vw;
}

.about_content--two .about_content-paragraph {
    width: 100% !important;
    padding: 1rem;
}

.about_content--two .about_content-paragraph:nth-child(even) {
    background: var(--color-black);
    color: var(--color-white);
}

.about_content-paragraph-wrapper .about_content-paragraph {
    width: clamp(280px, 100%, 300px);
}

.about_content-paragraph-wrapper {
    display: flex;
    gap: 2rem;
}

.about_content--three {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 1rem;
    padding: 3rem 10vw;
    background-color: var(--color-burgundy);
    color: var(--color-white);
}

.about_content--four {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 3rem 10vw;
}

.about_content--four .about_content--paragraph {
    grid-column: 2 / 4;
    width: 100% !important;
    padding: 1rem;
}

.about_content--four .about_content-paragraph-closer {
    width: 100%;
}

@media screen and (max-width:500px) {
    .about_content--two {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        padding: 3rem 5vw;
    }

    .about_content--three {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        padding: 3rem 5vw;
    }

    .about_content--four {
        grid-template-columns: repeat(1, 1fr);
        gap: 1rem;
        padding: 3rem 5vw;
    }

    .about_content--four .about_content--paragraph {
        grid-column: 1 / 2;
    }

    .about_content-paragraph-wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
    }
}


/* Book-page.php ---------- ---------- ---------- */

.book_page_intro {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    gap: 2rem;
    padding: 3rem 10vw 3rem;
}

.book_page_cover {
    grid-column: 1 / 2;
    display: contents;
}

.book_page_cover img {
    width: clamp(280px, 100%, 500px);
    justify-self: flex-end;
}

.book_page_description {
    grid-column: 2 / 3;
}

.book_page_description div {
    width: var(--paragraph-width);
}

@media screen and (max-width: 955px) {
    .book_page_intro {
        grid-template-columns: 1fr;
    }

    .book_page_cover img {
        justify-self: flex-start;
    }

    .book_page_description {
        grid-column: 1 / 2;
    }
}


/* Foundation-page.php ---------- ---------- ---------- */

.hero_foundation {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 60vh;
	background: #ffffff;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
	color: #000000;
	transition: 0.3s all ease-in-out;
}

.hero_foundation_heading {
	display: block;
	margin: 0 10%;
	padding: 2rem 0;
	font-size: clamp(3rem, 10vw, 12rem);
	font-weight: 400;
	text-align: center;
	text-transform: uppercase;
	line-height: 1;
}

.foundation_page_body {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 3rem 10vw;
    background: var(--color-black);
    color: var(--color-white)
}

.foundation_page_text {
    display: flex;
    flex-direction: column;
    width: var(--paragraph-width);
}

.foundation_page_text:nth-child(odd) {
    justify-self: flex-end;
    align-items: flex-start;
    text-align: start;
}

.foundation_page_text ul {
    font-family: var(--sans-serif-font);
    font-size: var(--base-text-font-size);
}

.foundation_page_image {
    width: clamp(280px, 100%, 500px);
}

.foundation_page_image:nth-child(odd) {
    justify-self: flex-end;
}

.foundation_page_image:nth-child(even) {
    justify-self: flex-start;
}

@media screen and (max-width: 900px) {
    .foundation_page_body {
        grid-template-columns: repeat(1, 1fr);
    }
}