/* === BEGIN KMA THEME BASE === */
/* Table of Contents:
1. Import Statements
2. Keyframes and Property Animations    
3. Custom Properties
4. Global Styles
5. Typography Styles
6. Heading and Subheadings
7. Form and Inputs
8. Maps Elements
9. Header and Navbar
10. Section and Container
11. Background and Setting Color
12. Swiper Setting
13. Button and Links
14. Overlay
15. Utility Classes
16. Social and Contact Setting
17. Breadcrumb
18. Spesific Media Queries
19. Card Setting
20. Progress and Rating 
21. Accordion
*/

/* ---------------------------- */
/* Import Statements            */
/* Vendor CSS is enqueued via wp_enqueue_style in inc/assets.php
   (do not @import a directory URL — hosts often return HTML and break the cascade). */
/* ---------------------------- */

/* ---------------------------- */
/* Keyframes and Property Animations            */
/* ---------------------------- */
@property --progress {
    syntax: '<integer>';
    inherits: true;
    initial-value: 0;
}

@keyframes load {
    to {
        --progress: var(--value)
    }
}

@keyframes background_animation {
    from {
        background-size: 100%;
    }

    to {
        background-size: 110%;
    }
}

@keyframes ripple {
    from {
        opacity: 1;
        transform: scale3d(1, 1, 1);
        transform-origin: center;
        border-width: 0px;
    }

    to {
        opacity: 0;
        transform: scale3d(1.7, 1.7, 1.8);
        transform-origin: center;
        border-width: 13px;
    }
}

/* ---------------------------- */
/*  Custom Properties            */
/* ---------------------------- */
:root {
    --primary: #151515;
    --text-color: #F7B231;
    --text-color-2: #B4B4B4;
    --background-color: #202020;
    --accent-color: #F7B231;
    --accent-color-2: #C75600;
    --accent-color-3: #303030;
    --accent-color-4: #101010;
    --muted-text-color: #7D7D7D;
    --font-1: Arial, Helvetica, sans-serif;
    --font-2: Arial, Helvetica, sans-serif;
}


/* ---------------------------- */
/* Global Styles                */
/* ---------------------------- */
body {
    font-family: var(--font-1);
    color: var(--text-color-2);
    background-color: var(--primary);
}


/* ---------------------------- */
/* Typography                   */
/* ---------------------------- */
h1 {
    font-size: 84px;
    font-weight: bold;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-color);
    font-family: var(--font-1);
    font-weight: 700;
}

h2 {
    font-size: 80px;
    font-weight: bold;
}

h3 {
    font-size: 48px;
    font-weight: bold;
}

h4 {
    font-size: 32px;
    font-weight: bold;
}

h5 {
    font-size: 24px;
    font-weight: 500;
}

h6 {
    font-size: 20px;
}

button,
a {
    font-size: 18px;
    font-family: var(--font-2);
}

p {
    font-size: 16px;
    font-family: var(--font-2);
    color: var(--text-color-2);
}

ul {
    list-style: none;
}

.list-circle {
    list-style: disc var(--accent-color);
}

li {
    font-size: 16px;
}

img {
    object-fit: cover;
}

.text-accent {
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--accent-color-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-text {
    font-size: 64px;
    font-weight: bolder;
}

.price-text2 {
    font-size: 40px;
    font-weight: bolder;
}

.testimonial-text {
    font-size: 12px;
    font-style: italic;
}

.small-text {
    font-size: 12px;
    font-family: var(--font-2);
}

.brush1 {
    position: relative;
    display: inline-block;
    padding: 5px 0px;
}

.brush1::before {
    content: "";
    background: url('../image/brush1.png') no-repeat center;
    background-size: contain;
    position: absolute;
    width: 110%;
    height: 100%;
    top: 0;
    left: -5%;
    z-index: -1;
    opacity: 0.8;
}

.brush2 {
    position: relative;
    display: inline-block;
    padding: 5px 0px;
}

.brush2::before {
    content: "";
    background: url('../image/brush2.png') no-repeat center;
    background-size: contain;
    position: absolute;
    width: 110%;
    height: 100%;
    top: 0;
    left: -5%;
    z-index: -1;
    opacity: 0.8;
}

.brush3 {
    position: relative;
    display: inline-block;
    padding: 5px 0px;
}

.brush3::before {
    content: "";
    background: url('../image/brush3.png') no-repeat center;
    background-size: contain;
    position: absolute;
    width: 110%;
    height: 100%;
    top: 0;
    left: -5%;
    z-index: -1;
    opacity: 0.8;
}

.brush4 {
    position: relative;
    display: inline-block;
    padding: 5px 0px;
}

.brush4::before {
    content: "";
    background: url('../image/brush4.png') no-repeat center;
    background-size: contain;
    position: absolute;
    width: 110%;
    height: 100%;
    top: 0;
    left: -5%;
    z-index: -1;
    opacity: 0.8;
}

.brush5 {
    position: relative;
    display: inline-block;
    padding: 5px 0px;
}

.brush5::before {
    content: "";
    background: url('../image/brush5.png') no-repeat center;
    background-size: contain;
    position: absolute;
    width: 110%;
    height: 100%;
    top: 0;
    left: -5%;
    z-index: -1;
    opacity: 0.8;
}

/* ---------------------------- */
/* Headings and Subheadings      */
/* ---------------------------- */
.banner-heading {
    font-size: 5.5rem;
}

.sub-heading {
    color: var(--accent-color);
}

.text-color {
    color: var(--text-color);
}

.text-color-2 {
    color: var(--text-color-2);
}

.p-banner {
    color: var(--primary);
}

/* ---------------------------- */
/* Forms and Inputs             */
/* ---------------------------- */
.form-control {
    padding: 15px 24px;
    border: none;
}

.form-label {
    font-size: 24px;
}

.form textarea {
    background-color: var(--accent-color-3);
    border-radius: 0;
    color: var(--text-color-2);
    outline: none;
    font-family: var(--font-2);
}

.form input,
.form select {
    background-color: var(--accent-color-3);
    border-radius: 0;
    color: var(--text-color-2);
    outline: none;
    font-family: var(--font-2);
}


.form input:focus,
.form textarea:focus,
.form select:focus {
    box-shadow: none;
    border: solid 1px var(--accent-color);
    background-color: var(--accent-color-3);
    color: var(--text-color-2);
}

.form input:autofill,
.form input:autofill:focus {
    color: var(--text-color-2);
    transition: background-color 5000s ease-in-out;
    -webkit-text-fill-color: var(--text-color-2);
    font-family: var(--font-2);
}

.form input::placeholder,
.form textarea::placeholder {
    color: var(--text-color-2);
    font-family: var(--font-2);
}

.form option {
    background-color: var(--primary);
}

.form-check-input:checked[type=checkbox] {
    --bs-form-check-bg-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="blue" class="bi bi-check-xl" viewBox="0 0 16 16"><path d="M12.736 3.97a.733.733 0 0 1 1.047 0c.286.289.29.756.01 1.05L7.88 12.01a.733.733 0 0 1-1.065.02L3.217 8.384a.757.757 0 0 1 0-1.06.733.733 0 0 1 1.047 0l3.052 3.093 5.4-6.425a.247.247 0 0 1 .02-.022Z"/></svg>');
}

.form input.form-check-input {
    background-color: transparent;
    border: 1px solid gray;
}

.form input.form-check-input:checked {
    border: 1px solid blue;
    color: blue;
}

.form .submit_form {
    padding-inline: 2rem;
    padding-block: 1rem;
    text-decoration: none;
    transition: all 0.5s;
    background-color: var(--accent-color);
    border-radius: 5px;
}


.submit_form:hover {
    background-color: transparent;
    color: var(--accent-color);
}


.submit_appointment {
    padding-inline: 3rem;
    padding-block: 0.7rem;
    text-decoration: none;
}


/* ---------------------------- */
/* Map Elements       */
/* ---------------------------- */
.maps {
    width: 100%;
    height: 480px;
    transition: filter 0.5s;
    display: block;
}


/* ---------------------------- */
/* Header and Navbar       */
/* ---------------------------- */
#header {
    transition: all 0.5s ease;
}

.logo-container {
    max-width: 200px;
}

.logo-partner {
    filter: brightness(200%) contrast(0%) saturate(0%) blur(0px) hue-rotate(0deg);
    transition-duration: 0.5s;
}

.logo-partner:hover {
    filter: none;
}

.offcanvas {
    background-color: var(--primary);
}

.offcanvas-header {
    color: var(--text-color);
}

.navbar-nav .nav-link:focus {
    color: var(--accent-color);
    text-align: center;
}

.navbar-nav .nav-link.show {
    color: var(--accent-color);
}

.nav-link {
    border-bottom: 2px solid transparent;
    font-size: 18px;
    font-family: var(--font-2);
    color: var(--text-color-2);
    text-align: center;
}

.nav-link:hover {
    color: var(--accent-color);
    text-align: center;
}

.nav-link.active {
    color: var(--text-color) !important;
    text-align: center;
    border-bottom: 2px solid var(--accent-color);
}

.navbar-toggler {
    border: none;
    color: var(--accent-color-2);
}

.navbar-toggler:focus {
    box-shadow: none;
    background-color: transparent;
    color: var(--accent-color-2);
}

.nav-tabs {
    border-bottom: none;
}

.nav-tabs .nav-link {
    background-color: transparent;
    color: var(--accent-color);
    border: none;
    position: relative;
}

.nav-tabs .nav-link:hover {
    border: none;
    color: white;
}

.nav-tabs .nav-link.active {
    background-color: transparent;
    border: none;
}

.nav-tabs .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
}

.dropdown-menu {
    border-radius: 0;
    border: none;
    padding: 0.65rem;
    width: 260px;
    background-color: var(--background-color);
    -webkit-box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.3);
}

.dropdown-item {
    padding-block: 0.85rem;
    color: var(--text-color);
    font-family: var(--font-1);
    font-size: 0.95rem;
    font-weight: 400;
    padding-inline: 1rem;
    text-align: left;
    background-color: var(--background-color);
}

@media (min-width: 1200px) {
    .navbar .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

.dropdown-item.active {
    color: var(--primary);
    background-color: var(--accent-color);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--accent-color);
    color: var(--primary);
}

/* ---------------------------- */
/* Section and Container       */
/* ---------------------------- */
.section {
    padding: 6em 2em 6em 2em;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.section.media {
    padding-top: 0;
}

.r-container {
    max-width: 1440px;
    margin-right: auto;
    margin-left: auto;
}


/* ---------------------------- */
/* Background and Setting Color      */
/* ---------------------------- */
.bg-accent-primary {
    background-color: var(--primary);
}

.bg-accent-color {
    background-color: var(--accent-color);
}

.bg-accent-color-2 {
    background-color: var(--accent-color-2);
}

.bg-accent-color-3 {
    background-color: var(--accent-color-3);
}

.bg-accent-color-4 {
    background-color: var(--accent-color-4);
}

.bg-accent {
    background-color: var(--background-color);

}

.bg-text-color {
    background-color: var(--text-color);
}

.bg-text-color-2 {
    background-color: var(--text-color-2);
}

.bg-accent-color-hover:hover {
    background-color: var(--accent-color);
    color: white;
}

.bg-dark-transparent {
    background-color: #232323b7;
}

.accent-color-primary {
    color: var(--primary);
}

.accent-color {
    color: var(--accent-color);
}

.accent-color-2 {
    color: var(--accent-color-2);
}

.accent-color-3 {
    color: var(--accent-color-3);
}

.accent-color-4 {
    color: var(--accent-color-4);
}

.accent {
    color: var(--background-color);
}

.border-accent {
    border-color: var(--text-color-2) !important;
}

.border-accent-2 {
    border-color: var(--accent-color) !important;
}

.border-accent-3 {
    border: 1px solid rgba(207, 171, 130, 0.2);
}

.border-text-color {
    border-color: var(--text-color) !important;
}

.border-testimonial {
    border-right: 5px solid var(--accent-color-2);
}

.border-bottom-hover:hover {
    border-bottom: 2px solid var(--accent-color);
}

.border-accent-color {
    border: 1px solid var(--accent-color);
}

.custom-border {
    padding: 2rem 3rem;
    border-radius: 1rem;
}

.custom-border:hover {
    box-shadow: 0px 5px 6px rgba(1, 199, 243, 0.26);
}



.outline {
    color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: var(--accent-color);
}

.text-gray {
    color: grey !important;
}

/* ---------------------------- */
/* Swiper Setting              */
/* ---------------------------- */
.text-marquee {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.text-marquee-content {
    display: inline-block;
    animation: text-marquee 70s linear infinite;
    font-size: 100px;
    padding-right: 50%;
}

@keyframes text-marquee {
    from {
        transform: translateX(0%);
    }

    to {
        transform: translateX(-100%);
    }
}

.marquee-container {
    overflow: hidden;
    /* white-space: nowrap; */
    width: 100%;
    display: flex;
    flex-direction: row;
    --gap: 1rem;
    --speed: 20;
    /* gap: var(--gap); */
}

.marquee {
    animation: marquee calc(500s / var(--speed)) infinite linear;
}

.reverse .marquee {
    animation-direction: reverse;
}

.marquee-content {
    display: inline-flex;
}

.marquee-item:hover img {
    filter: var(--accent-color);
}

.marquee-item {
    text-wrap: nowrap;
    padding-inline: var(--gap);
    margin-right: 1rem;
    width: max-content;
}

@keyframes marquee {
    from {
        transform: translateX(0%);
    }

    to {
        transform: translateX(calc(-100% - 1rem));
    }
}

.service-scroll {
    height: 610px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 3rem;
}

/* width */
.service-scroll::-webkit-scrollbar {
    width: 6px;
}

/* Track */
.service-scroll::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 10px;
}

/* Handle */
.service-scroll::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 10px;
}

/* Handle on hover */
.service-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color-2);
}

.swiperTestimonials {
    overflow: visible;
}

.swiperTestimonials2 {
    position: relative;
    padding-bottom: 40px;
}

.swiperStep .swiper-slide.swiper-slide-thumb-active h4 {
    color: var(--accent-color);
}

.swiperStep {
    width: 100%;
    height: 300px;
    margin-left: auto;
    margin-right: auto;
}

.swiperStep2 .swiper-slide img {
    display: block;
    width: 100%;
    height: 550px;
    object-fit: cover;
}

.swiperStep2 .swiper-slide {
    background-size: cover;
    background-position: center;
}

.swiperStep {
    width: 100%;
    height: 100%;
}

.swiperStep .swiper-slide img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.swiperStep {
    height: 20%;
    box-sizing: border-box;
    padding: 10px 0;
}

.swiperStep .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.4;
}

.swiperStep .swiper-slide-thumb-active {
    opacity: 1;
}

.mySwiper {
    position: relative;
    padding-bottom: 156px;
}

.swiperImage {
    position: relative;
    width: 100%;
}

.swiper-pagination {
    margin-block: 1rem;
    position: relative;
}


.swiper-pagination-bullet {
    width: 30px;
    height: 3px;
    background: var(--accent-color-3);
    margin: 0 5px;
    border-radius: 0;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: var(--accent-color);
    width: 40px;
    opacity: 1;
}

.swiper-slide {
    padding: 0.5rem;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 27px;
}

.swiperStep2 .swiper-button-next::after,
.swiperStep2 .swiper-button-prev::after {
    font-size: 45px;
}

.swiperStep2 .swiper-button-next,
.swiperStep2 .swiper-button-prev {
    right: -1rem;
    top: 15rem;
    width: 95px;
    height: 95px;
    border: 6px solid var(--primary);
    background: linear-gradient(180deg, #050505 -77.42%, var(--accent-color-2) 100%);
    color: var(--text-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

/* Center the buttons horizontally */
.swiperStep2 .swiper-button-next {
    right: 0;
    transform: translateY(20px);
}

.swiperStep2 .swiper-button-prev {
    left: 0;
    transform: translateY(20px);
}

.mySwiper .swiper-button-next,
.mySwiper .swiper-button-prev {
    top: 25rem;
    width: 50px;
    height: 50px;
    border: 2px solid var(--accent-color);
    background-color: transparent;
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

/* Center the buttons horizontally */
.mySwiper .swiper-button-next {
    right: 45%;
    transform: translateY(20px);
}

.mySwiper .swiper-button-prev {
    left: 45%;
    transform: translateY(20px);
}

/* Center the buttons horizontally */
.swiper-button-next.service {
    right: -9%;
    /* Gerakkan tombol next ke kanan dari tengah */
    transform: translateY(20px);
}

.swiper-button-prev.service {
    left: -7%;
    /* Gerakkan tombol prev ke kiri dari tengah */
    transform: translateY(20px);
}

/* Style for both next and prev buttons */
.swiperImage .swiper-button-next,
.swiperImage .swiper-button-prev {
    bottom: 10px;
    /* Posisikan tombol di bagian bawah */
    width: 50px;
    height: 50px;
    border: 1px solid var(--accent-color);
    background-color: var(--background-color);
    /* Warna background semi-transparan */
    color: var(--accent-color);
    border-radius: 50%;
    /* Membuat tombol bulat */
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

/* Center the buttons horizontally */
.swiperImage .swiper-button-next {
    left: 50%;
    /* Gerakkan tombol next ke kanan dari tengah */
    transform: translateY(20px);
}

.swiperImage .swiper-button-prev {
    left: 47%;
    /* Gerakkan tombol prev ke kiri dari tengah */
    transform: translateY(20px);
}

/* Ukuran icon panah */
.swiperImage .swiper-button-next::after,
.swiperImage .swiper-button-prev::after {
    font-size: 24px;
}

/* Hover effect */
.swiperImage .swiper-button-next:hover,
.swiperImage .swiper-button-prev:hover {
    background-color: var(--accent-color);
    color: var(--primary);
    /* Background lebih gelap saat hover */
}

.custom-swiper {
    width: 100%;
    height: 600px;
    padding-right: 3rem;
}

.custom-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-scrollbar {
    width: 6px;
    position: absolute;
    right: 10px;
    top: 0px;
    margin-top: 150px;
    bottom: 0;
    background: #e0e0e0;
    border-radius: 10px;
    z-index: 9999;
}

.swiper-scrollbar.swiper-scrollbar-vertical {
    height: 300px;
}

.custom-scrollbar .swiper-scrollbar-drag {
    background: #ff9800;
    border-radius: 10px;
}

/* ---------------------------- */
/* Buttons & Links              */
/* ---------------------------- */
button {
    padding-inline: 1rem;
    padding-block: 0.5rem;
    text-decoration: none;
    transition: all 0.5s;
}

button:hover {
    color: var(--text-color);
}

a {
    text-decoration: none;
}

.w-max-content {
    width: max-content;
}

.read-more {
    color: var(--text-color-2);
    font-family: var(--font-2);
    font-size: 16px;
    transition: all 0.5s;
}

.read-more.blog {
    color: var(--text-color);
    transition: all 0.5s;
}

.read-more:hover {
    color: var(--accent-color);
}

.tags {
    padding: 3px 6px;
    font-family: var(--font-2);
    color: var(--text-color);
    background-color: var(--accent-color-3);
}

.tags.active {
    color: var(--primary);
    background-color: var(--accent-color);
}

.btn {
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-2);
    font-weight: 600;
    position: relative;
	display: inline-block;
    pointer-events: auto;
	cursor: pointer;

}

.btn::before,
.btn::after {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.btn-close {
    color: var(--text-color);
}

.btn-close:hover {
    color: var(--text-color);
}

.btn-accent {
    background: var(--accent-color);
    color: var(--primary);
    transition: all 0.5s;
    border: 1px solid transparent;
    overflow: hidden;
}

.btn-accent:hover {
    color: var(--primary);
}

.btn-accent:hover i{
    color: var(--primary);
}

.btn-accent span {
	display: block;
	position: relative;
	z-index: 10;
}

.btn-accent:hover i {
	animation: MoveScaleUpInitial 0.3s forwards, MoveScaleUpEnd 0.3s forwards 0.3s;
}

.btn-accent i {
	display: block;
	position: relative;
	z-index: 10;
}

.btn-accent:hover span {
	animation: MoveScaleUpInitial 0.3s forwards, MoveScaleUpEnd 0.3s forwards 0.3s;
}

@keyframes MoveScaleUpInitial {
	to {
		transform: translate3d(0,-105%,0) scale3d(1,2,1);
		opacity: 0;
	}
}

@keyframes MoveScaleUpEnd {
	from {
		transform: translate3d(0,100%,0) scale3d(1,2,1);
		opacity: 0;
	}
	to {
		transform: translate3d(0,0,0);
		opacity: 1;
	}
}

.btn-accent::before {
	content: '';
	background: var(--accent-color);
	width: 120%;
	height: 0;
	padding-bottom: 120%;
	top: -110%;
	left: -10%;
	border-radius: 50%;
	transform: translate3d(0,68%,0) scale3d(0,0,0);
}

.btn-accent:hover::before {
	transform: translate3d(0,0,0) scale3d(1,1,1);
	transition: transform 0.4s cubic-bezier(0.1, 0, 0.3, 1);
}

.btn-accent::after {
	content: '';
	background: var(--accent-color);
	transform: translate3d(0,-100%,0);
	transition: transform 0.4s cubic-bezier(0.1, 0, 0.3, 1);
}

.btn-accent:hover::after {
	transform: translate3d(0,0,0);
	transition-duration: 0.05s;
	transition-delay: 0.4s;
	transition-timing-function: linear;
}

.btn-accent.accent:hover {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-accent-outline {
    background-color: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    overflow: hidden;
}

.btn-accent-outline:hover {
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-accent-outline span {
	display: block;
	position: relative;
	z-index: 10;
}

.btn-accent-outline:hover span {
	animation: MoveScaleUpInitial 0.3s forwards, MoveScaleUpEnd 0.3s forwards 0.3s;
}

.btn-accent-underline::before {
    transform-origin: 0% 50%;
    transform: scale3d(0, 1, 1);
    transition: transform 0.3s;
}

.btn-accent-underline:hover::before {
    transform: scale3d(1, 1, 1);
}

.btn-accent-underline::after {
    content: '';
    top: calc(100% + 4px);
    transition: transform 0.3s;
    transform-origin: 100% 50%;
}

.btn-accent-underline::before,
.btn-accent-underline::after {
    position: absolute;
    width: 100%;
    height: 1px;
    background: currentColor;
    top: 100%;
    left: 0;
    pointer-events: none;
    
}

.btn-accent-underline:hover::after {
    transform: scale3d(0, 1, 1);
}

.btn-accent-underline:hover {
    color: var(--text-color);
}

.btn-accent-underline {
    background-color: transparent;
    border-bottom: 1px solid var(--accent-color);
    color: var(--accent-color);
    white-space: nowrap;
    cursor: pointer;
    position: relative;
}

.btn-toggler-accent {
    background-color: transparent;
    border: 1px solid var(--text-color);
    color: var(--text-color);
    aspect-ratio: 1/1;
    width: 60px;
    height: 60px;
    border-radius: 50%;
}


.btn-toggler-accent:hover {
    background-color: var(--text-color);
    color: var(--primary);
}

.btn-white-outline {
    background-color: transparent;
    border-color: var(--text-color);
    color: var(--text-color);
    border-width: 1px;
}

.btn-white-outline-hover:hover {
    background-color: transparent;
    border-color: var(--text-color);
    color: var(--text-color);
}

.btn-white-outline:hover {
    background-color: white;
    color: var(--primary);
}

.partner {
    display: flex;
    justify-content: center;
    padding: 16px 24px;
    border: 1px solid transparent;
}

.partner:hover {
    border: 1px solid var(--accent-color);
}

.swiperPartner .swiper-wrapper {
    transition-timing-function: linear !important;
}

.partner svg {
    fill: var(--accent-color);
}

.partner:hover svg {
    fill: var(--accent-color);
}

.image-footer .social-item {
    color: var(--primary);
    background-color: var(--accent-color);
}

.footer-main {
    height: auto;
    min-height: max(420px, 58.5vh);
    padding-top: 1.75rem !important;
}

.footer-main h1,
.footer-main h1 a,
footer .footer-main h1 a {
    font-size: 3.25rem;
    font-weight: 400;
    line-height: 1.15;
    color: #fff;
    text-decoration: none;
}

.footer-main h1 a:hover,
footer .footer-main h1 a:hover {
    color: var(--accent-color);
}

.footer-main h5 {
    font-size: 1.2rem;
}

.footer-main .read-more,
.footer-main p,
.footer-main span {
    font-size: 0.9rem;
}

.footer-main .tags {
    font-size: 0.75rem;
}

.footer-main .image-footer img {
    max-width: 90px;
}

.footer-links > div {
    padding-inline: 0.75rem !important;
}

.footer-links .read-more {
    font-size: 0.78rem;
    white-space: nowrap;
}

@media (max-width: 1199.98px) {
    .footer-main {
        height: auto;
        min-height: 0;
    }

    .footer-links {
        flex-direction: row !important;
        flex-wrap: nowrap;
        justify-content: flex-start;
        width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .footer-links::-webkit-scrollbar {
        display: none;
    }

    .footer-links > div {
        flex: 0 0 auto;
        padding-inline: 0.4rem !important;
    }

    .footer-links .read-more {
        font-size: 0.7rem;
    }
}

@media (max-width: 575.98px) {
    .footer-main {
        width: 100%;
        padding-inline: 1rem !important;
        overflow: hidden;
    }

    .footer-main > .d-flex,
    .footer-main > .d-flex > .row,
    .footer-main .col {
        width: 100%;
        max-width: 100%;
        margin-inline: 0;
        padding-inline: 0;
    }

    .footer-main .d-flex.flex-row.gap-5 {
        flex-direction: column !important;
        align-items: center;
        gap: 0.75rem !important;
        text-align: center;
    }

    .footer-main .d-flex.flex-row.gap-2 {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-main img[src$="logo.png"] {
        display: block;
        width: 260px !important;
        max-width: 78vw;
        margin-inline: auto;
    }

    .footer-main h1,
    .footer-main h1 a,
    footer .footer-main h1 a {
        font-size: 1.65rem;
        overflow-wrap: anywhere;
        text-align: center;
    }

    .footer-main .align-items-end {
        align-items: center !important;
    }

    .footer-main .social-container {
        justify-content: center;
    }

    .footer-links {
        padding-bottom: 0.35rem;
    }
}

.image-footer:hover .image-footer-blur {
    background: rgba(24, 21, 24, 0.3);
    backdrop-filter: blur(2px);
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1;
    transition: all 0.5s ease;
}

.image-footer {
    position: relative;
    width: max-content;
}

.image-footer .image-zoom {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform-origin: bottom;
    transition: all 0.5s ease;
}

.image-footer:hover .image-zoom {
    opacity: 1;
}

.card-track:hover .track-blur {
    opacity: 1;
    transform: translate(1rem, -1rem);
}

.card-track .track-blur {
    opacity: 0;

}

.track-blur {
    transition: all 0.5s ease;
    position: absolute;
    bottom: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.card-track {
    transition: all 0.5s ease;
}

.card .link {
    color: var(--accent-color);
    transition: color 0.5s;
}

.card .link:hover {
    color: var(--primary);
}

.link.accent-color {
    color: var(--accent-color);
    transition: color 0.5s;
}

.link.accent-color:hover {
    color: var(--dark-bg);
}

.link {
    color: var(--text-color);
    transition: color 0.5s;
}

.link:hover {
    color: var(--accent-color);
}

.link-white {
    color: white;
}

.link-white:hover {
    color: var(--accent-color);
}

/* ---------------------------- */
/* Overlay                      */
/* ---------------------------- */
.blog-overlay {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 69, 81, 0.6) 100%);
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
}

.image-overlay {
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.3) 23.17%, rgba(1, 199, 243, 0.3) 127.38%);
}

.overlay {
    color: var(--accent-color-2);
    opacity: 0.3;
}

.bg-overlay {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;

}

.bg-overlay-2 {
    background: linear-gradient(0deg, rgba(1, 137, 142, 0.28), rgba(1, 137, 142, 0.28));
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.testimonial-overlay {
    background: linear-gradient(0deg, rgba(255, 239, 225, 0.96), rgba(255, 239, 225, 0.96));
    position: absolute;
    width: 75%;
    height: 100%;
    top: 0;
    right: 0;
}

.bg-accent-opacity {
    background: linear-gradient(0deg, rgba(43, 43, 43, 0.86), rgba(43, 43, 43, 0.86));
}

.bg-blur {
    position: absolute;
    background: rgba(24, 21, 24, 0.3);
    border: 1px solid rgba(207, 171, 130, 0.2);
    backdrop-filter: blur(17.5px);
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1;
}

.linear-gradient {
    padding: 14px 42px;
    background-color: var(--accent-color-2);
    border-radius: 50px;
    width: max-content;
}

.cta-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 20.5%, rgba(1, 199, 243, 0.2) 100%);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.contact-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 27.06%, rgba(1, 199, 243, 0.61) 100%);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;

}

.video-overlay {
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
    background: linear-gradient(180deg, rgba(4, 56, 63, 0.144) 0%, rgba(4, 56, 63, 0.72) 100%);
    opacity: 0.5;
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
}

/* ---------------------------- */
/* Utility Classes              */
/* ---------------------------- */
.hover-transform:hover {
    transform: translateY(-10px);
}

.font-1 {
    font-family: var(--font-1);
}

.font-2 {
    font-family: var(--font-2);
}

.font-3 {
    font-family: var(--font-3);
}

.ls-2 {
    letter-spacing: 2px;
}

.fs-7 {
    font-size: 0.8rem !important;
}

.fs-very-large {
    font-size: 4.125rem;
}

.fw-black {
    font-weight: 900 !important;
}

.team-detail {
    background-color: var(--background-color);
    color: var(--accent-color);
    transition: all 0.5s;
}

.team-detail:hover {
    background-color: var(--accent-color);
    color: var(--primary);
}

.divider {
    display: flex;
    align-items: center;
}

.divider::after {
    display: block;
    content: "";
    border-bottom: 0;
    flex-grow: 1;
    border-top: 3px solid #8692af;
    max-width: 30px;
    min-width: 30px;
}


.divider-element {
    letter-spacing: 2px;
    flex-shrink: 0;
    flex-grow: 1;
    margin: 0;
    margin-left: 1rem;
    font-weight: 400;
}

.image-infinite-bg {
    height: 90vh;
}

.animation-bg {
    animation: background_animation 10s forwards;
}

.bg-attach-fixed {
    background-attachment: fixed;
    background-position: center;
    width: 100%;
    height: 100%;
}

.bg-attach-cover {
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
}

.social-container {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.social-container.column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.character-img {
    position: relative;
    z-index: 2;
}

.w-70 {
    width: 70%;
}

.stock-img {
    position: relative;
    z-index: 20;
}

.customer-item {
    border-radius: 50%;
    aspect-ratio: 1/1;
    font-size: 19px;
    width: 4rem;
    height: 4rem;
    transition: all 0.5s;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-color-2);
    margin-left: -6px;
    overflow: hidden;
}

.customer-item.single {
    margin-left: 0;
}

.testimonial-item {
    border-radius: 50%;
    aspect-ratio: 1/1;
    font-size: 19px;
    width: 5rem;
    height: 5rem;
    transition: all 0.5s;
    display: flex;
    justify-content: center;
    margin-left: -6px;
    overflow: hidden;
}

.bg-box {
    bottom: 0;
    right: 0;
    height: 60%;
    width: 50%;
    border: solid 3px var(--accent-color-2);
}

.icon-box {
    display: flex;
    justify-content: center;
    font-size: 30px;
    align-items: center;
    text-align: center;
    aspect-ratio: 1/1;
    transition: all 0.5s;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: var(--primary);
    padding: 10px;
    width: max-content;
    height: max-content;
}

.icon-box.hover {
    display: flex;
    justify-content: center;
    font-size: 15px;
    align-items: center;
    text-align: center;
    aspect-ratio: 1/1;
    transition: all 0.8s;
    border-radius: 50%;
    color: var(--primary);
    padding: 10px;
    width: max-content;
    height: max-content;
    border: 1px solid var(--accent-color);
    background-color: var(--accent-color);
}

.icon-box.hover:hover {
    background: transparent;
    color: var(--accent-color);
}

.icon-box-2 {
    display: flex;
    font-size: 60px;
    justify-content: center;
    align-items: center;
    text-align: center;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background-color: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    height: max-content;
    width: max-content;
    padding: 10px;
    transition: all 0.5s;
}

.author-box {
    border-radius: 50%;
    aspect-ratio: 1/1;
    width: 15rem;
    transition: all 0.5s;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: -6px;
    overflow: hidden;
}

.post-button {
    background-color: transparent;
    color: var(--accent-color) !important;
    border: none !important;
}

.post-button:hover {
    background-color: transparent !important;
    color: var(--accent-color) !important;
    transform: scale(1.15);
}

.position-xl-absolute {
    position: absolute;
}

.w-60 {
    width: 60% !important;
}

.shadow-double {
    box-shadow: 40px -40px 0px -4px var(--accent-color), -54px 44px 0px -3px var(--text-color-2);
}

.shadow-single-left {
    box-shadow: -54px 44px 0px -3px var(--accent-color);
}

.shadow-single-right {
    box-shadow: 40px -40px 0px -4px var(--accent-color);
}

.shadow-accent-2 {
    -webkit-box-shadow: -90px -23px 0px 0px var(--accent-color);
    -moz-box-shadow: -90px -23px 0px 0px var(--accent-color);
    box-shadow: -90px -23px 0px 0px var(--accent-color);
}

.text-404 {
    font-size: 200px;
    font-weight: bold;
    font-family: var(--font-2);
}

.number-text {
    font-size: 96px;
    font-weight: bold;
}

.text-banner {
    font-size: 60px;
}

.rounded-end {
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

.swiperImage.floating-left {
    margin-left: 16rem;
}

.floating-heading {
    margin-left: -15rem;
}

.floating-image {
    position: absolute;
}

.floating-price {
    top: -2.5rem;
    right: -10rem;
}

.floating-banner {
    margin-top: -15rem;
}

.floating-top {
    margin-top: -10rem;
    margin-left: -5rem;
    margin-bottom: -5rem;
}

.floating-services {
    position: relative;
    z-index: 9999;
    margin-top: 3rem;
    margin-bottom: -3rem;
}

.floating-testi {
    margin-bottom: -8rem;
    margin-top: 19rem;
    margin-left: 15rem;
}

.floating-services-2 {
    margin-left: -5rem;
}

.floating-services-2 .padding {
    padding-left: 7rem;
}

.floating-services-3 {
    position: relative;
    margin-top: 3rem;
    margin-bottom: -3rem;
}

.floating-services-3 .padding {
    padding-left: 3rem;
    padding-right: 7rem;
}

.floating-bottom {
    position: absolute;
    top: 8rem;
    left: -5.5em;
}

.floating-bottom-1 {
    position: absolute;
    bottom: 5rem;
    right: 0;
}

.floating-bottom-2 {
    position: absolute;
    bottom: 5rem;
    right: 0;
}

.floating-contact {
    margin-left: -7rem;
    border-bottom-left-radius: 1rem;
}

.floating-counter {
    position: relative;
    margin-top: -6rem;
    z-index: 9999;
}

.floating-blog {
    margin-top: -3rem;
}

.image-container {
    position: relative;
    display: inline-block;
}

.hotspot {
    position: absolute;
    width: 30px;
    height: 30px;
    background: rgba(24, 21, 24, 0.5);
    border: 0.5px solid var(--text-color);
    backdrop-filter: blur(2px);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.hotspot:hover {
    background-color: var(--accent-color);
}

.hotspot i {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.hotspot:hover i {
    color: white;
}

/* Tooltip */
.hotspot::after {
    content: attr(data-text);
    position: absolute;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    white-space: nowrap;
    display: none;
}

.hotspot:hover::after {
    display: block;
}

.d-inline-block {
    display: inline-block;
}

.position-responsive {
    position: absolute;
}

.list .icon-box {
    width: 4.3rem;
    height: 4.3rem;
}

.list-flush-horizontal {
    display: flex;
    flex-direction: row;
    list-style: none;
    margin: 0;
    padding: 1rem;
}

.list-flush-horizontal .list-item:first-child,
.list-flush-horizontal .list-item {
    border-right: 1px solid white;
}

.list-flush-horizontal .list-item:last-child {
    border-left: 1px solid white;
    border-right: none;
}

.list-flush-horizontal .list-item:nth-last-child(2) {
    border: none;
}

.list-group-item {
    background-color: transparent;
    border-radius: 10px;
}

.list-group .link {
    background-color: transparent;
    border: none;
    color: var(--text-color-2);
    transition: all 0.5s;
    border-radius: 0px;
    font-size: 16px;
    font-family: var(--font-1);

}

.list-group .link.active {
    color: var(--accent-color);

}

.list-group .link:hover {
    color: var(--accent-color) !important;
    text-decoration: none;
}

.list-group .list-group-item.active {
    background-color: var(--accent-color-2);
    color: var(--accent-color);
}

.list-group .list-group-item.list-group-item-action:hover {
    background-color: var(--accent-color-2);
    color: white;
}

.list {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    padding-inline: 0.5rem;
}

.list .link {
    font-weight: 400;
    text-wrap: nowrap;
}

.list li {
    padding: 0;
    font-size: 16px;
    font-family: var(--font-2);
}

.list li .link {
    transition: all 0.5s;
    color: var(--text-color-2);
}

.list li i {
    transition: all 0.5s;
    color: var(--accent-color);
}

.list.text-black i {
    color: #131313;
}

.list li .link:hover,
.list li .link:hover i {
    color: var(--accent-color);
}

.countdown {
    display: flex;
    gap: 20px;
}

.countdown-box {
    background-color: var(--accent-color);
    color: white;
    text-align: center;
    padding: 30px;
    width: 200px;
    border-radius: 8px;
}

.countdown-box h2 {
    margin: 0;
    font-size: 2em;
}

.countdown-box p {
    margin: 0;
    font-size: 1.2em;
}

/* ---------------------------- */
/* Social and Contact Setting    */
/* ---------------------------- */
.customer-container {
    display: flex;
    flex-direction: row-reverse;
}

.customer-item:nth-child(1) {
    z-index: 6;
}

.customer-item:nth-child(2) {
    z-index: 5;
}

.customer-item:nth-child(3) {
    z-index: 4;
}

.customer-item:nth-child(4) {
    z-index: 3;
}

.subscribe-container {
    box-sizing: border-box;
    margin-bottom: -8em;
}

.contact-item {
    border-radius: 50%;
    aspect-ratio: 1/1;
    font-size: 40px;
    height: 2rem;
    transition: all 0.5s;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}


.social-item {
    border-radius: 50%;
    aspect-ratio: 1/1;
    font-size: 16px;
    width: 28px;
    height: 28px;
    transition: all 0.5s;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    background-color: var(--text-color);
}

.social-item-2 {
    border-radius: 50%;
    aspect-ratio: 1/1;
    font-size: 24px;
    width: 20px;
    height: 20px;
    transition: all 0.5s;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-color-2);
}

.social-item-3 {
    border-radius: 50%;
    aspect-ratio: 1/1;
    font-size: 24px;
    width: 20px;
    height: 20px;
    transition: all 0.5s;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-color);
}

.social-container.accent .social-item {
    background-color: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.social-container.accent .social-item:hover {
    background-color: var(--accent-color);
    color: white;

}

.social-container.share .social-item {
    background-color: var(--accent-color);
    color: white;
}

.social-container.share .social-item:hover {
    background-color: var(--accent-color);
    color: white;
    border: 1px solid var(--accent-color);
}


.social-container.team .social-item {
    width: 1.8rem;
    height: 1.8rem;
    font-size: 16px;
}


.social-item:hover {
    background-color: var(--accent-color);
}

.social-item-2:hover {
    color: var(--accent-color);
}

.social-item-3:hover {
    color: var(--text-color);
}

.social-container .share-button {
    background-color: var(--accent-color-1);
    aspect-ratio: 1/1;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.share-button:hover {
    background-color: var(--accent-color-2);
}

/* ---------------------------- */
/* Breadcrumb    */
/* ---------------------------- */
.breadcrumb {
    align-items: center;
    font-family: var(--font-2);
}

.breadcrumb .breadcrumb-item>a {
    color: var(--text-color);
}

.breadcrumb .breadcrumb-item.active {
    color: var(--accent-color);
    font-family: var(--font-2);
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--accent-colorbolee);
}

/* ---------------------------- */
/* Specific Media Queries       */
/* ---------------------------- */
.video-e119 {
    width: 60%;
    margin-bottom: -3rem;
    margin-left: -3rem;
}

.ifr-video {
    aspect-ratio: 16/9;
    width: 100%;
}

.video-container {
    aspect-ratio: 3/2;
    background-size: cover;
    background-position: center;
    position: relative;
    border: 5px solid white;
    border-radius: 10px;
}

.video-iframe {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.video-btn {
    border-radius: 50%;
    aspect-ratio: 1/1;
    width: 4rem;
    background-color: var(--accent-color);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    font-size: 2rem;
    color: white;
    border: none;
    opacity: 0.7;
}

.video-btn:hover {
    opacity: 1;
    color: white;
}

.request-loader {
    position: relative;
    height: 60px;
    width: 60px;
    border-radius: 50% !important;
    background-color: var(--text-color);
    border: solid 2px var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    font-size: 25px;
    aspect-ratio: 1/1;
}

.request-loader:hover {
    color: var(--text-color);
    background: transparent;
}

.request-loader::after,
.request-loader::before {
    opacity: 0.2;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: absolute;
    content: '';
    height: 100%;
    width: 100%;
    color: var(--text-color);
    border: 4px solid currentColor;
    border-radius: 50%;
    animation-name: ripple;
    animation-iteration-count: infinite;
    animation-timing-function: cubic-bezier(.65, 0, .34, 1);
    z-index: 0;
}

.request-loader::after {
    animation-delay: 0.5s;
    animation-duration: 3s;
}

.request-loader::before {
    animation-delay: 0.2s;
    animation-duration: 3s;
}


/* ---------------------------- */
/* card Setting       */
/* ---------------------------- */
.card {
    border: none;
    border-radius: 10px;
    transition: all 0.5s;
    background-color: var(--primary);
}

.card-accent {
    color: var(--accent-color);
    position: relative;
    background-size: cover;
    background-position: center;
    border-width: 1px;
    border-style: solid;
    border-radius: 10px;
    border-image: linear-gradient(to left, var(--accent-color), var(--accent-color-2)) 1;
}

.card-blog .blog-card-image {
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.card-blog .blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-blog h4 {
    color: var(--text-color);
}

.card-blog > :not(.position-relative) {
    margin-inline: 2rem;
}

.card-blog > .d-flex {
    margin-top: 1.5rem;
}

.card-blog > p:last-child {
    margin-bottom: 2rem;
}

.card-blog:hover h4 {
    color: var(--accent-color);
}

.card-blog h6 {
    color: var(--text-color);
}

.card-blog:hover h6 {
    color: var(--accent-color);
}

.card-service {
    color: var(--text-color);
    border-radius: 0px;
    border: 1px solid transparent;
    padding: 30px 30px;
}

.card-service:hover {
    color: var(--text-color);
    border: 1px solid var(--accent-color);
    background-color: var(--accent-color-4);
}

.background-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.card-service:hover .background-hover {
    opacity: 1;
    background: linear-gradient(118.48deg, rgba(247, 178, 49, 0.28) 0%, rgba(199, 86, 0, 0.4) 100%), linear-gradient(0deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9));
    border-radius: 10px;

}

.card-service.img-hover:hover {
    background-image: var(--url-image);
}

.image-hover {
    opacity: 0;
    position: absolute;
}

.card-service:hover .image-hover {
    opacity: 100%;
}


.card-testimonial {
    border: none;
    border-radius: 20px;
    transition: all 0.5s;
    background-color: var(--accent-color-3);

}

.card .icon-box.bg-accent-color {
    background-color: var(--accent-color);
    color: var(--accent-color);
}

.card .icon-box.accent-color-2 {
    color: var(--accent-color-2);
    font-size: 4rem;
}

.card:hover .icon-box.accent-color-2 {
    color: var(--accent-color-2);
}

.card:hover {
    transform: translateY(-5px);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.card-testimonial:hover {
    transform: translateY(-20px);
    box-shadow: 0px 0px 0px 2px var(--accent-color);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.card.card-pricing-hover {
    color: var(--text-color);
    border: 1px solid rgba(247, 178, 49, 0.29);
    border-radius: 20px;
    background: linear-gradient(140.72deg, rgba(30, 30, 30, 0.7) -67.01%, rgba(5, 5, 5, 0.7) 100.85%);
    backdrop-filter: blur(12.4px);
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.box-price {
    border: 1px solid;
    border-image: linear-gradient(210deg, #00000045, rgba(247, 178, 49, 0.29)) 1;
    box-shadow:
        0 7px 15px 0 rgba(0, 0, 0, 0.13),
        0 1px 4px 0 rgba(0, 0, 0, 0.11);
    border-radius: 10px;
    background: linear-gradient(140.72deg, rgba(30, 30, 30, 0.7) -67.01%, rgba(5, 5, 5, 0.7) 100.85%);
    backdrop-filter: blur(12.4px);
}

.card.card-pricing-hover:hover h3 {
    color: var(--accent-color);
}

.card.card-pricing-hover:hover {
    border: 1px solid var(--accent-color-2);
    background: linear-gradient(180deg, var(--accent-color-2) -81.79%, #111111 100%);

    transform: scale(1.05);
}

.card-pricing-hover-middle {
    transform: scale(1.04);
    flex: 1.00;
    box-shadow: 0px 0px 0px 2px var(--accent-color);
    color: white;
}


.card.card-pricing-hover:hover .btn-accent-outline {
    background-color: var(--text-color);
    color: var(--primary);
}

.card.card-pricing-hover .btn-accent-outline i {
    color: var(--text-color);
}

.card.card-pricing-hover:hover .btn-accent-outline i {
    color: var(--primary);
}

.card:hover .icon-box.bg-accent-color {
    background-color: var(--accent-color);
    color: var(--accent-color-2);

}

.card.card-outline-hover {
    box-shadow: 0 7px 15px 0 rgba(0, 0, 0, .13), 0 1px 4px 0 rgba(0, 0, 0, .11);
    border: 1px solid var(--accent-color);
}

.card.blog {
    background-color: var(--background-color);
}

.card.blog:hover {
    border: solid 1px var(--accent-color-2);
    border-radius: 10px;
}


.card.card-outline-hover:hover .btn-accent {
    background-color: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}

.card-overlay {
    background-color: transparent;
}

.card-overlay .card-body {
    position: absolute;
    width: 100%;
    bottom: 0;
    top: 0;
    left: 0;
    opacity: 0;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: all 0.5s;
}

.card-overlay:hover {
    transform: scale(1.05);
}

.card-overlay .card-footer {
    color: var(--text-color);
}

.card-overlay:hover .card-footer {
    color: var(--accent-color);
}

.card-overlay .artist-text {
    transition: all 0.5s;
    transform: rotate(270deg);
    color: var(--text-color);
    position: absolute;
    bottom: 0;
    left: 15px;
    z-index: 2;
    transform-origin: left;
    line-height: 0;
}

.card-overlay img {
    padding-left: 40px;
    transition: all 0.5s;
}

.card-overlay.service img {
    padding-left: 0;
}

.card-overlay:hover img {
    padding-left: 0;
}

.card-overlay:hover .artist-text {
    padding-block: 2rem;
    transform: rotate(360deg);
    padding-inline: 0.5rem;
}

.card-overlay:hover .card-body {
    background: linear-gradient(180deg, rgba(199, 86, 0, 0) 62.08%, var(--accent-color-2) 100%);
    transform: scaleY(1);
    opacity: 1;
    padding: 0;
}

.card:hover .icon-box.bg-accent-color {
    background-color: white;
    color: var(--accent-color);
}

.card:hover p {
    transition: all 0.5s;
}

.card.with-border-bottom {
    border-bottom: 5px solid var(--accent-color) !important;
}

.card-about {
    background-color: var(--background-color);
    padding: 3rem;
    transition: all 0.8s;
}


.card-about:hover p {
    color: var(--primary);
}

.card-about:hover .icon-box-2 {
    background-color: var(--primary);
    color: var(--accent-color-2);
}

.card-about:hover {
    background-color: var(--accent-color-2);
    margin-top: -5rem;
    color: var(--primary);
    height: calc(100% + 5rem);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.testimonial-container {
    background-color: var(--background-color);
    padding: 30px 30px;
    border-radius: 0;
    border: 1px solid transparent;
    color: var(--text-color-2);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    height: 440px;
}

.testimonial-container:hover {
    box-shadow: none;
    height: 440px;
    transition: all 0.5s;
    border: 1px solid rgba(207, 171, 130, 0.2);
    background-color: var(--accent-color-4);
    backdrop-filter: blur(12.4px);
}

.testimonial-container:hover .team-name {
    color: var(--accent-color);
}

.testimonial-container .icon-hover {
    color: var(--accent-color-3);
    font-size: 84px;
    transition: all 0.5s;
}

.testimonial-container:hover .icon-hover {
    position: absolute;
    top: 0;
    right: 0;
    color: var(--accent-color-2);
    font-size: 37px;
    margin-top: 1rem;
    margin-right: 2rem;
}

.services-container {
    background-color: transparent;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    height: 100%;
    box-shadow: 0px 0px 18px 0px rgba(0, 0, 0, 0.1);
}

.features-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
}

.feature-box {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: var(--accent-color);
    color: var(--primary);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease;
}

.feature-box-middle {
    transform: scaleY(1.15) scaleX(1.05);
}

.feature-box-middle h3,
.feature-box-middle p {
    position: relative;
    transform: none;
    will-change: contents;
}

/* Class Cards */
.class-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    flex-wrap: wrap;
}

.class-course {
    display: none;
}

.class-course.active {
    display: block;
}

.class-card:hover {
    transform: translateY(-10px);
    transition: all 0.5s;
}

.class-card.active {
    display: block;
    /* Show active cards */
}

.class-info {
    color: var(--primary);
    margin: 20px;
    font-family: var(--font-2);
    font-size: 12px;
    position: absolute;
    bottom: 0;
    left: 0;
}

.class-speakers {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.class-price {
    font-size: 1.2em;
    color: var(--primary);
    display: flex;
    flex-direction: column;
    align-self: flex-end;
    width: max-content;
}

.class-link {
    color: #ff3b3b;
    font-weight: bold;
    margin-top: 10px;
    text-align: left;
    display: inline-block;
}

/* Tab Navigation */
.tab-container.allteam {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 20px 0;
    font-family: var(--font-2);
}

.tab-container {
    width: 100%;
    position: relative;
    text-align: center;
}

.tab-container .services-heading {
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    margin: 0;
    color: var(--text-color);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.tab-container:has(.services-heading) .tabs {
    padding-top: 8rem;
}

/* Let the Services content determine its height so it cannot cover the bottom gutter. */
body.home #primary > .section:has(.services-heading) {
    height: auto !important;
    --kma-section-top-space: 0px;
}

body.home .tab-container:has(.services-heading),
body.home .tab-container:has(.services-heading) > .tabs {
    height: auto !important;
    min-height: calc(90vh - 2 * var(--kma-section-space, 3rem));
}

body.home .tab-container:has(.services-heading) > .tabs > .tab > .content {
    width: 500px;
    max-width: 100%;
}

@media (max-width: 767.98px) {
 body.home .tab-container:has(.services-heading) {
  display: block;
  min-width: 0;
 }
 body.home .tab-container .services-heading {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  padding: 2rem var(--kma-page-gutter, 16px);
 }
 body.home .tab-container:has(.services-heading) > .tabs {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding: 0 var(--kma-page-gutter, 16px) 2rem;
  min-height: 0;
  gap: 1rem;
 }
 body.home .tab-container:has(.services-heading) > .tabs > .tab {
  min-width: 0;
  width: 100%;
  border: 1px solid #ffffff30;
  background: #151515e6;
  text-align: left;
 }
 body.home .tab-container:has(.services-heading) .title-tab {
  display: none;
 }
 body.home .tab-container:has(.services-heading) > .tabs > .tab > .content {
  display: block;
  position: static;
  width: 100%;
  max-width: 100%;
  margin: 0 !important;
  padding: 1.25rem;
  background: transparent;
  backdrop-filter: none;
  overflow-wrap: anywhere;
 }
 body.home .tab-container:has(.services-heading) .content h5 {
  font-size: 1.4rem;
  line-height: 1.35;
 }
}

@media (min-width: 993.01px) {
    body.home .tab-container:has(.services-heading) > .tabs > .tab:last-child > .content {
        right: 0;
        margin-left: 0;
    }
}

.tab-container.team {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    width: 100%;
    align-items: center;
}

.tab-container.faq {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    width: 100%;
}


.background-container {
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: -1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
}

.tabs {
    display: flex;
    justify-content: space-around;

}

.tabs .card-overlay img {
    padding-left: 0;
    transition: all 0.5s;
}

.class-card .card-overlay img {
    padding-left: 0;
    transition: all 0.5s;
}

.tabs.studio {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: absolute;
    z-index: 2;
    background: rgba(35, 31, 32, 0.3);
    backdrop-filter: blur(17.5px);
    padding: 30px;

}

.tabs.faq {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 30px;
    background-color: var(--background-color);
    border: 1px solid var(--accent-color-3);
    height: max-content;
}

.tabs.team {
    display: flex;
    flex-direction: row;
    gap: 1rem;

}

.tabs.faq .tab {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: row;
    padding: 16px 24px;
    gap: 1rem;
    justify-content: space-between;
    cursor: pointer;
    color: var(--text-color);
    transition: background 0.5s ease-in-out;
    border-right: none;
}

.tabs.team .tab {
    flex: 1;
    text-align: left;
    cursor: pointer;
    font-size: 24px;
    font-weight: 600;
    color: var(--text-color-2);
    transition: background 0.5s ease-in-out;
    border-right: none
}

.tabs.studio .tab {
    flex: 1;
    text-align: left;
    padding: 10px;
    cursor: pointer;
    font-size: 24px;
    font-weight: 600;
    color: var(--text-color-2);
    transition: background 0.5s ease-in-out;
    border-right: none
}

.tab {
    flex: 1;
    text-align: center;
    cursor: pointer;
    color: var(--text-color);
    transition: background 0.5s ease-in-out;
    border-right: 1px solid var(--text-color);
}

.tab-container.allteam .tab {
    flex: 1;
    text-align: center;
    cursor: pointer;
    color: var(--text-color);
    transition: background 0.5s ease-in-out;
    border-right: none;
    padding-block: 10px;
}

.tab-container.allteam .tab.active {
    color: var(--accent-color);
    border-bottom: 1px solid var(--accent-color);
}

.tab.active {
    color: var(--accent-color);
}

.tab .title-tab {
    font-size: 32px;
    font-weight: bold;
    padding: 30px;
}

.tab.active .title-tab {
    background-color: var(--primary);
}

.tabs.studio .tab.active {
    color: var(--primary);
    background: var(--accent-color)
}

.tabs.faq .tab.active {
    color: var(--primary);
    background: var(--accent-color)
}

.tab-content.studio {
    position: relative;
    bottom: unset;
    left: unset;
    max-width: unset;
    background: var(--primary);
    padding: 40px;
    text-align: left;
}

.tab-content.faq {
    position: relative;
    bottom: unset;
    left: unset;
    max-width: unset;
    background: var(--accent-color-3);
    padding: 40px;
    text-align: left;
}

.tab-content.team {
    position: relative;
    bottom: unset;
    left: unset;
    max-width: unset;
    background: var(--primary);
    text-align: left;
}

.content {
    display: none;
}

.content.active {
    display: block;
}

.tab .content {
    display: none;
    position: absolute;
    bottom: 10rem;
    margin-left: -4rem;
    max-width: 500px;
    padding: 40px;
    text-align: left;
    background: rgba(35, 31, 32, 0.3);
    backdrop-filter: blur(17.5px);
    /* Sembunyikan semua konten */
}

.tab.active .content {
    display: block;
    /* Tampilkan konten yang aktif */
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 kolom */
    gap: 0;
    /* Jarak antar elemen 0 untuk mengatur garis */
    position: relative;
}

.grid-item-1 {
    border-right: 1px solid rgb(255, 255, 255, 0.61);
    /* Garis vertikal kanan */
    border-bottom: 1px solid rgb(255, 255, 255, 0.61);
    /* Garis horizontal bawah */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
    /* Ruang untuk gambar */
}

.grid-item-2 {
    border-right: 1px solid rgb(255, 255, 255, 0.61);
    /* Garis vertikal kanan */
    border-bottom: 1px solid rgb(255, 255, 255, 0.61);
    /* Garis horizontal bawah */
    border-left: 1px solid rgb(255, 255, 255, 0.61);
    /* Garis vertikal kiri */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
    /* Ruang untuk gambar */
}

.grid-item-3 {
    border-bottom: 1px solid rgb(255, 255, 255, 0.61);
    /* Garis horizontal bawah */
    border-left: 1px solid rgb(255, 255, 255, 0.61);
    /* Garis vertikal kiri */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
    /* Ruang untuk gambar */
}

.grid-item-4 {
    border-right: 1px solid rgb(255, 255, 255, 0.61);
    /* Garis vertikal kanan */
    border-top: 1px solid rgb(255, 255, 255, 0.61);
    /* Garis horizontal atas */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
    /* Ruang untuk gambar */
}

.grid-item-5 {
    border-right: 1px solid rgb(255, 255, 255, 0.61);
    /* Garis vertikal kanan */
    border-left: 1px solid rgb(255, 255, 255, 0.61);
    /* Garis vertikal kiri */
    border-top: 1px solid rgb(255, 255, 255, 0.61);
    /* Garis horizontal atas */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
    /* Ruang untuk gambar */
}

.grid-item-6 {
    border-left: 1px solid rgba(255, 255, 255, 0.61);
    /* Garis vertikal kiri */
    border-top: 1px solid rgba(255, 255, 255, 0.61);
    /* Garis horizontal atas */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
    /* Ruang untuk gambar */
}

/* ---------------------------- */
/* Progress and Rating       */
/* ---------------------------- */
.r-progress {
    --value: 17;
    --progress-color: var(--text-color);
    --secondary-progress-color: var(--accent-color-2);
    --animation-duration: 2000;
}

.r-progress-bar {
    position: relative;
    height: 8px;
    background-color: var(--secondary-progress-color);
    display: flex;
    border-radius: 3px;
    /* overflow: hidden; */
}

.r-progress-bar .progress-value {
    height: 100%;
    width: calc(var(--progress) * 1%);
    background-color: var(--progress-color);
    position: relative;
    border-radius: 3px;
    animation: load;
    animation-fill-mode: forwards;
    animation-duration: calc(var(--animation-duration) * 1ms);
    animation-timing-function: linear;
    animation-delay: 500ms;
    color: black;
}

.r-progress-bar.percentage-label::after {
    counter-reset: percentage var(--progress);
    content: counter(percentage) '%';
    display: block;
    position: absolute;
    left: calc((var(--progress) * 1%));
    animation: load;
    animation-fill-mode: forwards;
    animation-duration: calc(var(--animation-duration) * 1ms);
    animation-timing-function: linear;
    animation-delay: 500ms;
    font-size: 18px;
    line-height: 1.2;
    /* font-weight: 700; */
    font-family: var(--font-1);
    bottom: calc(100% + 0.5rem);
}

.rating {
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    padding: 0;
    margin: 0;
}

.rating li {
    color: #f1c644;
}

.rating li.inactive {
    color: #d9d9d9;
}

.glass-effect {
    background: var(--accent-color-3);
    opacity: 0.9;
    backdrop-filter: blur(11px);
    -webkit-backdrop-filter: blur(11px);
}

#player-container {
    width: 100%;
    height: 100%;
    margin-top: 5rem;
}

#player-bg-artwork {
    position: fixed;
    top: -30px;
    right: -30px;
    bottom: -30px;
    left: -30px;
    background-image: url("https://raw.githubusercontent.com/himalayasingh/music-player-1/master/img/_1.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50%;
    filter: blur(40px);
    -webkit-filter: blur(40px);
    z-index: 1;
}

#player-bg-layer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #fff;
    opacity: 0.5;
    z-index: 2;
}

#player {
    position: relative;
    height: 100%;
    z-index: 3;
}

#player-track {
    width: auto;
    flex: 1 1 0px;
    height: 100%;
    padding: 13px 10px 10px 13px;
    border-radius: 15px 15px 0 0;
    transition: 0.3s ease top;
    z-index: 1;
}

#album-name {
    color: var(--text-color);
    font-size: 17px;
    font-weight: bold;
}

#track-name {
    color: var(--accent-color);
    font-size: 13px;
    margin: 2px 0 13px 0;
}

#track-time {
    height: 12px;
    margin-bottom: 3px;
    overflow: hidden;
}

#current-time {
    float: left;
}

#track-length {
    float: right;
}

#current-time,
#track-length {
    color: var(--text-color);
    font-size: 11px;
    border-radius: 10px;
    transition: 0.3s ease all;
}

#track-time.active #current-time,
#track-time.active #track-length {
    color: var(--text-color);
    background-color: transparent;
}

#seek-bar-container,
#seek-bar {
    position: relative;
    height: 4px;
    border-radius: 4px;
}

#seek-bar-container {
    background-color: var(--text-color);
    cursor: pointer;
}

#seek-time {
    position: absolute;
    top: -29px;
    color: #fff;
    font-size: 12px;
    white-space: pre;
    padding: 5px 6px;
    border-radius: 4px;
    display: none;
}

#s-hover {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    opacity: 0.2;
    z-index: 2;
}

#seek-time,
#s-hover {
    background-color: #3b3d50;
}

#seek-bar {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 0;
    background-color: var(--accent-color);
    transition: 0.2s ease width;
    z-index: 1;
}

#player-content {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    justify-content: flex-start;
    padding: 16px;
    width: 100%;
    background: rgba(24, 21, 24, 0.3);
    backdrop-filter: blur(17.5px);

}

#album-art {
    width: 115px;
    height: 115px;
    transform: rotateZ(0);
    transition: 0.3s ease all;
    border-radius: 50%;
    overflow: hidden;
}

#album-art.active {
    top: -60px;
    box-shadow: 0 0 0 4px #fff7f7, 0 30px 50px -15px #afb7c1;
}

#album-art:before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    width: 20px;
    height: 20px;
    margin: -10px auto 0 auto;
    background-color: var(--accent-color-3);
    border-radius: 50%;
    box-shadow: inset 0 0 0 2px #fff;
    z-index: 2;
}

#album-art img {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: -1;
}

#album-art img.active {
    opacity: 1;
    z-index: 1;
}

#album-art.active img.active {
    z-index: 1;
    animation: rotateAlbumArt 3s linear 0s infinite forwards;
}

@keyframes rotateAlbumArt {
    0% {
        transform: rotateZ(0);
    }

    100% {
        transform: rotateZ(360deg);
    }
}

#buffer-box {
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    height: 13px;
    color: #1f1f1f;
    font-size: 13px;
    text-align: center;
    font-weight: bold;
    line-height: 1;
    padding: 6px;
    margin: -12px auto 0 auto;
    opacity: 0;
    z-index: 2;
}

#album-art img,
#buffer-box {
    transition: 0.1s linear all;
}

#album-art.buffering img {
    opacity: 0.25;
}

#album-art.buffering img.active {
    opacity: 0.8;
    filter: blur(2px);
    -webkit-filter: blur(2px);
}

#album-art.buffering #buffer-box {
    opacity: 1;
}

#player-controls {
    width: auto;
    display: flex;
    gap: 2rem;
    height: 100%;
    float: right;
    overflow: hidden;
}

.control {
    width: 33.333%;
    float: left;
    padding: 12px 0;
}

.button i {
    display: block;
    color: #d6dee7;
    font-size: 16px;
    text-align: center;
    line-height: 1;
}

.button,
.button i {
    transition: 0.2s ease all;
}

.button:hover i {
    color: #fff;
}

/* ---------------------------- */
/* Accordion                    */
/* ---------------------------- */
.accordion {
    --bs-accordion-bg: transparent;
    --bs-accordion-btn-padding-x: 0;
}

.accordion .accordion-item {
    background-color: transparent;
    border: none;
    color: var(--text-color-2);
    outline: none;
    border-radius: 0;
    border-bottom: 1px solid var(--text-color-2);
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion .accordion-button {
    background-color: transparent;
    color: var(--text-color-2);
    outline: none;
    border-radius: 0 !important;
    font-family: var(--font-1);
    font-size: 24px;
    font-weight: 600;
    /* box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px; */
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    justify-content: start;
    padding-block: 1.2rem;
    color: var(--text-color);
}

.accordion .accordion-button.accent {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
}


.accordion-button::after {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23CFAB82" class="bi bi-plus" viewBox="0 0 16 16"><path d="M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4"/></svg>');
}

.accordion-button:not(.collapsed)::after {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23CFAB82" class="bi bi-dash" viewBox="0 0 16 16"><path d="M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8"/></svg>')
}

.accordion .accordion-button:not(.collapsed) {
    border: none;
    background-color: transparent;
    outline: none;
    box-shadow: none;
}

.accordion .accordion-body {
    background-color: transparent;
    font-size: 16px;
    color: var(--text-color-2);
    font-family: var(--font-2);
    padding-inline: 0;
}


@media only screen and (max-width:993px) {

    /* ---------------------------- */
    /* Typography                   */
    /* ---------------------------- */
    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 38px;
    }

    h3 {
        font-size: 28px;
    }

    h4 {
        font-size: 22px;
    }

    h5 {
        font-size: 18px;
    }

    h6 {
        font-size: 14px;
    }

    p,
    button,
    a {
        font-size: 13px;
    }

    .text-banner {
        font-size: 40px;
    }

    /* ---------------------------- */
    /* Button and Links Setting     */
    /* ---------------------------- */
    .btn {
        font-size: 13px;
        width: 100%;
    }

    /* ---------------------------- */
    /* Header and Navigation Setting  */
    /* ---------------------------- */
    .logo-container {
        max-width: 100px;
    }

    .nav-link {
        padding-block: 0.2rem;
        text-align: center;
    }

    #header {
        background: var(--background-color);
        backdrop-filter: blur(11px);
        -webkit-backdrop-filter: blur(11px);
    }

    /* ---------------------------- */
    /* Utility Classes              */
    /* ---------------------------- */
    .p-banner {
        color: var(--text-color);
    }

    .w-max-content {
        width: 100%;
    }

    .section {
        padding: 4em 2em 4em 2em;
    }

    .divider {
        width: 330px;
    }

    .fs-very-large {
        font-size: 3.125rem;
    }

    .text-404 {
        font-size: 8rem;
        font-weight: 700;
    }

    .image-absolute-1 {
        left: 45%;
        top: 35%;
    }

    .image-infinite-bg {
        background-size: cover !important;
    }


    .border-custom {
        border-width: 0px 0px 1px 0px;
    }

    .outer-margin {
        margin-right: 0;
    }

    .banner-image {
        margin: 0;
        transform: none;
    }

    .testimonial-img {
        margin: 0;
        margin-bottom: 1rem;
    }

    .dropdown-menu {
        width: 100%;
        box-shadow: none;
    }

    .video-e119 {
        width: 85%;
        margin-left: -1.5rem;
    }

    .dropdown-item {
        padding-block: 0.35rem;
    }

    .floating-image {
        position: inherit;
    }

    .floating-price {
        top: -2.5rem;
        right: -7.5rem;
    }

    .floating-heading {
        margin-left: 0;
    }

    .floating-banner {
        top: 0;
        left: 0;
        right: 0;
        margin-right: 1rem;
        margin-left: 1rem;
        margin-top: -10rem;
    }

    .floating-top {
        position: relative;
        margin-top: 0;
        margin-left: 0;
        margin-bottom: 0;
    }

    .floating-testi {
        margin-bottom: 1rem;
        margin-top: 1rem;
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .floating-services {
        position: relative;
        z-index: 9999;
        margin-top: 3rem;
        margin-bottom: 1rem;
    }

    .floating-services-2 {
        margin-left: 0;
    }

    .floating-services-2 .padding {
        padding-left: 3rem;
    }

    .floating-services-3 {
        position: relative;
        margin-top: 1rem;
        margin-bottom: -3rem;
    }

    .floating-services-3 .padding {
        padding-left: 3rem;
        padding-right: 3rem;
    }

    .floating-bottom {
        position: initial;
        top: 0;
        left: 0;
    }

    .floating-bottom-1 {
        position: initial;
        bottom: 0;
        right: 0;
        left: 0;
    }

    .floating-bottom-2 {
        position: initial;
        bottom: 0;
        right: 0;
        left: 0;
        margin-top: 1rem;
    }

    .floating-contact {
        margin-left: 0rem;
    }

    .floating-counter {
        position: relative;
        margin-top: -5rem;
        z-index: 9999;
    }

    .floating-blog {
        margin-top: 0;
    }

    .border-testimonial {
        border-right: none;
    }

    .service-container {
        background-color: transparent;
        padding: 30px;
        display: flex;
        flex-direction: column;
        gap: 1.75rem;
        box-shadow: 0px 0px 18px 0px rgba(0, 0, 0, 0.1);
        height: 100%;
    }

    .appointment-box {
        top: -2rem;
        bottom: 0;
        left: 0;
        right: 0;
        height: 8rem;
    }

    .w-md-70 {
        width: 70%;
    }

    .w-md-60 {
        width: 60%;
    }

    .position-responsive {
        position: relative;
    }

    .form-appointment-container {
        position: relative;
        transform: translateY(0);
    }

    .list-flush-horizontal {
        flex-direction: column;
    }

    .list-flush-horizontal .list-item:first-child,
    .list-flush-horizontal .list-item {
        border-right: none;
        border-bottom: 1px solid white;
    }

    .list-flush-horizontal .list-item:last-child {
        border-left: none;
        border-bottom: none;
        border-top: 1px solid white;
    }

    .position-xl-absolute {
        position: static;
    }

    .banner-heading {
        font-size: 2.5rem;
    }

    .tabs.studio {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        position: relative;
        z-index: 2;
        background: rgba(35, 31, 32, 0.3);
        backdrop-filter: blur(17.5px);
        padding: 30px;
        align-items: center;

    }

    .tabs {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }

    .tab-content {
        position: relative;
        left: 0;
    }

    .tab-container {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        justify-content: center;
        align-items: center;
    }

    .class-container {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        justify-content: center;
        align-items: center;
    }

    footer .d-flex.flex-column {
        text-align: center;
        justify-content: center;
        align-items: center;
        margin-bottom: 20px;
        padding: 0 0 0 0;
    }

    footer .link.d-flex.flex-row {
        text-align: center;
        justify-content: center;
        align-items: center;

    }

    footer .list {
        padding: 0 0 0 0;
    }

    .footer {
        position: relative;
    }

    .footer-img {
        position: relative;
    }

    .features-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }

    .testimonial-container {
        background-color: transparent;
        padding: 1rem;
        border-radius: 10px;

    }

    .swiperImage {
        padding-bottom: 0;
    }

    .service-scroll {
        padding-right: 1rem;
    }

    .swiper-button-next,
    .swiper-button-prev {
        top: 15rem;
        height: 80px;
        width: 80px;
        border: 5px solid var(--primary);
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 24px;
    }

    .mySwiper .swiper-button-next,
    .mySwiper .swiper-button-prev {
        top: 28rem;
        width: 40px;
        height: 40px;
    }

    /* Center the buttons horizontally */
    .mySwiper .swiper-button-next {
        right: 0;
        transform: translateY(20px);
    }

    .mySwiper .swiper-button-prev {
        left: 70%;
        transform: translateY(20px);
    }

    .swiperStep2 .swiper-button-next::after,
    .swiperStep2 .swiper-button-prev::after {
        font-size: 16px;
    }

    .swiperStep2 .swiper-button-next,
    .swiperStep2 .swiper-button-prev {
        width: 50px;
        height: 50px;
        border: 3px solid var(--primary);
    }

    /* Center the buttons horizontally */
    .swiperStep2 .swiper-button-next {
        right: 7%;
        transform: translateY(20px);
    }

    .swiperStep2 .swiper-button-prev {
        left: 7%;
        transform: translateY(20px);
    }

    .icon-box.link {
        font-size: 25px;
        padding: 25px;
    }

    .tab .content {
        margin-left: 0;
        position: static;
    }

}

/* === END KMA THEME BASE === */

.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.screen-reader-text:focus,.skip-link:focus{clip:auto!important;width:auto;height:auto;top:8px;left:8px;padding:12px 18px;background:#fff;color:#111;z-index:100000}.skip-link{position:absolute;left:-9999px}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid currentColor;outline-offset:3px}.alignwide{max-width:1400px;margin-inline:auto}.alignfull{width:100vw;margin-left:calc(50% - 50vw)}img,embed,iframe,object,video{max-width:100%;height:auto}.navigation.pagination,.comments-pagination{margin:2rem auto}.wp-caption{max-width:100%}.wp-caption-text{font-size:.875rem}.logged-in.admin-bar #header{top:32px}.kma-content{padding-top:9rem;padding-bottom:5rem}.kma-content article{margin-bottom:3rem}@media(max-width:782px){.logged-in.admin-bar #header{top:46px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
.kma-image-placeholder{min-height:220px;background:rgba(255,255,255,.08)}.card .image-box img{aspect-ratio:4/3;object-fit:cover}.archive-description{max-width:760px}.related-content{margin-top:3rem;padding-top:2rem;border-top:1px solid currentColor}
#site-navigation .current-menu-item>.nav-link,#site-navigation .current-menu-ancestor>.nav-link,[aria-current="page"].nav-link{font-weight:700;text-decoration:underline;text-underline-offset:.2em}
#site-navigation a.nav-link:focus-visible,#site-navigation .navbar-toggler:focus-visible{outline:3px solid #d7ff3f;outline-offset:3px}
#site-navigation .navbar-toggler{min-width:44px;min-height:44px;padding:.75rem}
.kma-project-filters a:focus-visible,.kma-search-result a:focus-visible{outline:3px solid currentColor;outline-offset:3px}
.kma-breadcrumbs a:focus-visible{outline:3px solid currentColor;outline-offset:3px}.kma-responsive-embed{position:relative;padding-bottom:56.25%;height:0;overflow:hidden;max-width:100%}.kma-responsive-embed iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:0}.kma-contact-form .kma-field-error{color:#ffb4b4}.kma-contact-form [aria-invalid="true"]{outline:2px solid #ffb4b4;outline-offset:2px}.kma-contact-honeypot{position:absolute!important;left:-9999px!important;height:1px;width:1px;overflow:hidden}.kma-structured-meta.row{--bs-gutter-x:1rem;margin-left:0;margin-right:0;max-width:100%}.kma-structured-meta.row>*{padding-left:0;padding-right:.75rem;max-width:100%}.kma-opportunity-cta,.kma-application-availability{max-width:100%;overflow-wrap:anywhere}.kma-content,.kma-content .r-container{max-width:100%;overflow-x:clip}

/* Task 14 accessibility refinements */
.kma-footer .text-color-2,.footer .text-color-2{color:rgba(255,255,255,.82)}
.btn-accent:focus-visible,.btn-accent-outline:focus-visible{outline:3px solid #111;outline-offset:3px}
.kma-opportunity-cta a:focus-visible,.kma-application-availability a:focus-visible{outline:3px solid currentColor;outline-offset:3px}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .swiper,.swiper-wrapper{transition:none!important}
}

/* Task 14 contrast: avoid Bootstrap link blue and dark card text on dark cards */
.kma-content a:not(.btn):not(.nav-link):not(.navbar-brand),.post-navigation a,footer a:not(.btn):not(.nav-link){color:#f0d7b8}
.kma-content a:not(.btn):not(.nav-link):hover,.post-navigation a:hover,footer a:not(.btn):not(.nav-link):hover{color:#fff}
.card.bg-accent-color,.card.bg-accent-color .card-body,.card.bg-accent-color h3,.card.bg-accent-color h4,.card.bg-accent-color p,.card.bg-accent-color .small-text,.card.bg-accent-color .font-2,.card.bg-accent-color time,.card.bg-accent-color span{color:#1a1512}
.card.bg-accent-color a.read-more,.card.bg-accent-color a.link{color:#3d2e22}
.card.bg-accent-color a.read-more:hover,.card.bg-accent-color a.link:hover{color:#111}

/* Task 14 contrast fixes (v2) */
.card.bg-accent-color{
  background-color:var(--accent-color)!important;
  color:#1a1512!important;
}
.card.bg-accent-color .card-body,
.card.bg-accent-color h3,
.card.bg-accent-color h4,
.card.bg-accent-color p,
.card.bg-accent-color .small-text,
.card.bg-accent-color .font-2,
.card.bg-accent-color time,
.card.bg-accent-color span,
.card.bg-accent-color a.link,
.card.bg-accent-color a.read-more{
  color:#1a1512!important;
}
.card.bg-accent-color a.link:hover,
.card.bg-accent-color a.read-more:hover{
  color:#000!important;
}
/* In-content links on dark public chrome */
main a:not(.btn):not(.nav-link),
.kma-content a:not(.btn):not(.nav-link),
.post-navigation a,
.entry-content a:not(.btn),
footer a:not(.btn):not(.nav-link){
  color:#f0d7b8;
}
footer .footer-main h1 a{
  color:#fff;
}
footer .footer-main h1 a:hover{
  color:var(--accent-color);
}
main a:not(.btn):not(.nav-link):hover,
.kma-content a:not(.btn):not(.nav-link):hover,
footer a:not(.btn):not(.nav-link):hover{
  color:#fff;
}
/* Applicant/admin shells are light — keep readable link colour */
body:not(.kma-application-page) .kma-app-shell a,
.kma-review-shell a,
.kma-decision-shell a,
body:not(.kma-application-page) .kma-app-form a{
  color:#5a4634!important;
}
body:not(.kma-application-page) .kma-app-shell a:hover,
.kma-review-shell a:hover,
.kma-decision-shell a:hover,
body:not(.kma-application-page) .kma-app-form a:hover{
  color:#1a1512!important;
}

/* Accent surfaces use dark text for AA contrast */
.bg-accent-color,
.wp-block-group.bg-accent-color,
.section.bg-accent-color{
  color:#1a1512!important;
}
.bg-accent-color :is(h1,h2,h3,h4,h5,h6,p,li,span,a:not(.btn)),
.wp-block-group.bg-accent-color :is(h1,h2,h3,h4,h5,h6,p,li,span,a:not(.btn)){
  color:#1a1512!important;
}
.bg-accent-color .btn,
.wp-block-group.bg-accent-color .wp-element-button{
  color:#fff!important;
  background-color:#1a1512!important;
  border-color:#1a1512!important;
}
.footer-links .kma-footer-menu-item:first-child{padding-left:0!important}
.footer-links .kma-footer-menu-item:last-child{border-right:0!important}
/* Desktop submenus: grow to fit long labels (e.g. programme titles). */
@media (min-width: 1200px) {
	#site-navigation .dropdown-menu {
		width: max-content;
		min-width: 16rem;
		max-width: min(36rem, 90vw);
	}

	#site-navigation .dropdown-item {
		white-space: normal;
		overflow-wrap: anywhere;
	}
}

@media (max-width:1199.98px) {
 #navbarNav.show :is(.current-menu-ancestor, .current-menu-parent, .current-menu-item, li:has(> a.active), li:has(.dropdown-menu a.active)) > .dropdown-menu,
 #navbarNav.show .dropdown-menu.show {
  display: block;
  position: static;
  width: 100%;
  box-shadow: none;
 }
}

/* Homepage header and source-template hero behaviour. */
body.home #primary {
	margin-top: 0;
	padding-top: 0;
}

/* Standard content-page banner (About, Blog/News, and similar single-heading pages) uses the same full-bleed source layout as the homepage. Programme banners keep their own dedicated treatment below. */
#primary:has(> .section.pt-0:first-child:not(.kma-programme-page-banner)) {
	margin-top: 0;
	padding-top: 0;
}

#primary > .section.pt-0:first-child:not(.kma-programme-page-banner) {
	padding-top: 7rem;
}

/* Tighten space above the About intro band. */
body.page-template-about #primary > .section:nth-of-type(2) {
	padding-top: 0;
}

/* Tighten space above the About impact counters. */
body.page-template-about #primary > .section:has(.number) {
	padding-top: 0;
}

/* Tighten space above the About closing CTA. */
body.page-template-about #primary > .section#about-cta {
	padding-top: 0;
}

/* Space the two About feature highlight columns. */
@media (min-width: 1200px) {
	body.page-template-about #primary > .section:nth-of-type(2) .row.row-cols-xl-2 > .col.mb-3:first-child {
		padding-right: 1.5rem;
	}

	body.page-template-about #primary > .section:nth-of-type(2) .row.row-cols-xl-2 > .col.mb-3:last-child {
		padding-left: 1.5rem;
	}
}

/* Shorter content-page banner + slightly smaller page title (About, Blog/News, and similar pages). */
#primary > .section.pt-0:first-child:not(.kma-programme-page-banner) .bg-attach-cover {
	height: 60vh;
	min-height: 22rem;
	max-height: 40rem;
	display: flex;
	align-items: flex-start;
	/* Clear fixed header/logo so the page title isn’t cramped underneath. */
	padding-top: 5.5rem;
	box-sizing: border-box;
}

#primary > .section.pt-0:first-child:not(.kma-programme-page-banner) .bg-attach-cover > .d-flex.flex-column {
	padding-top: 0.75rem;
}

#primary > .section.pt-0:first-child:not(.kma-programme-page-banner) .text-banner {
	font-size: 60px;
	line-height: 0.95;
}

@media (max-width: 767.98px) {
	#primary > .section.pt-0:first-child:not(.kma-programme-page-banner) .bg-attach-cover {
		height: 45vh;
		min-height: 16rem;
		padding-top: 4.5rem;
	}

	#primary > .section.pt-0:first-child:not(.kma-programme-page-banner) .text-banner {
		font-size: 40px;
	}
}

/* Soften hero scrim so fixed nav can sit over clearer imagery. */
body.home #primary > .section:first-child .bg-overlay {
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.32));
}

#header.bg-accent-transparent {
	background-color: transparent;
}

/* Primary nav must stay readable over bright hero patches. */
#site-navigation .navbar-nav > .nav-item > a.nav-link {
	color: #fff;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

#site-navigation .navbar-nav > .nav-item > a.nav-link:hover,
#site-navigation .navbar-nav > .nav-item > a.nav-link:focus {
	color: var(--accent-color);
}

#site-navigation .navbar-nav > .nav-item > a.nav-link:is(.active, [aria-current="page"]),
#site-navigation .navbar-nav > .current-menu-item > a.nav-link,
#site-navigation .navbar-nav > .current-menu-ancestor > a.nav-link {
	color: var(--accent-color) !important;
	font-weight: 700;
	border-bottom: 2px solid var(--accent-color);
	text-decoration: none;
}

@media (max-width: 1199.98px) {
	#site-navigation .navbar-nav :is(a.nav-link, a.dropdown-item):is(.active, [aria-current="page"]),
	#site-navigation .navbar-nav :is(.current-menu-item, .current-menu-parent, .current-menu-ancestor) > a {
		color: var(--accent-color) !important;
		background-color: transparent;
		font-weight: 700;
		border-bottom: 2px solid var(--accent-color);
		text-decoration: none;
	}
}

body.home #site-navigation {
	padding-top: .75rem;
	padding-bottom: .75rem;
}

/* Testimonials & news band: lift the dark cover cast so section copy stays readable. */
body.home #primary > .section.bg-attach-cover.kma-testimonials-band {
	position: relative;
	height: auto;
	min-height: 0;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: scroll;
}

body.home #primary > .section.bg-attach-cover.kma-testimonials-band::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: rgba(255, 255, 255, 0.16);
	mix-blend-mode: soft-light;
}

body.home #primary > .section.bg-attach-cover.kma-testimonials-band > * {
	position: relative;
	z-index: 1;
}

body.home #primary > .section.bg-attach-cover.kma-testimonials-band .text-center > p,
body.home #primary > .section.bg-attach-cover.kma-testimonials-band .col.mb-3 > p {
	color: #fff;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

@keyframes kma-home-hero-zoom-in {
	from {
		opacity: 0;
		transform: scale3d(.3, .3, .3);
	}

	50% {
		opacity: 1;
	}
}

body.home #primary > .section:first-child .scrollanimation.zoomIn {
	animation-name: kma-home-hero-zoom-in;
	animation-duration: 1s;
	animation-fill-mode: both;
}

@media (max-width: 782px) {
	body.home #site-navigation {
		padding-top: .5rem;
		padding-bottom: .5rem;
	}
}

.partner .kma-partner-name-placeholder {
	display: flex;
	min-height: 80px;
	align-items: center;
	justify-content: center;
	padding: .75rem;
	color: var(--text-color-2);
	font-weight: 700;
	text-align: center;
}

.swiperPartner .swiper-slide,
.swiperPartner .kma-partner-link,
.swiperPartner .partner {
	display: flex;
	height: auto;
	align-items: center;
	justify-content: center;
}

.swiperPartner .swiper-slide {
	align-self: stretch;
}

.swiperPartner .kma-partner-link {
	width: 100%;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.swiperPartner .partner {
	width: 100%;
	min-height: 140px;
	height: 140px;
	padding: 16px 24px;
}

.swiperPartner .partner img {
	display: block;
	width: 100%;
	height: 100px;
	max-width: 100%;
	max-height: 100px;
	margin: auto;
	object-fit: contain;
}

@media (max-width: 767.98px) {
 body.home .swiperPartner > .swiper-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  width: 100% !important;
  height: auto !important;
  transform: none !important;
 }
 body.home .swiperPartner > .swiper-wrapper > .swiper-slide {
  width: 100% !important;
  height: auto;
  min-width: 0;
  margin: 0 !important;
 }
 body.home .swiperPartner { touch-action: auto; }
 body.home .swiperPartner .partner {
  height: 120px;
  min-height: 120px;
  padding: 16px;
  box-sizing: border-box;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fff;
 }
 body.home .swiperPartner .partner img {
  height: 80px;
  max-height: 80px;
 }
 .swiperPartner .partner {
  height: 112px;
  min-height: 112px;
  padding: 16px 12px;
 }
 .swiperPartner .partner img {
  height: 72px;
  max-height: 72px;
 }
}

/* "Who Have We Worked With?" section: white background per design request. */
.section:has(.swiperPartner) {
	background-color: #fff;
	padding-top: 60px !important;
}

.section:has(.swiperPartner) h3 {
	color: var(--text-color);
}

.section:has(.swiperPartner) .kma-partner-name-placeholder {
	color: var(--primary);
}

.kma-service-title-link {
	color: inherit !important;
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	text-decoration: none;
}

.kma-service-title-link:hover,
.kma-service-title-link:focus-visible {
	color: var(--accent-color) !important;
	text-decoration: underline;
	text-underline-offset: .2em;
}

.kma-programme-title-link {
	color: inherit !important;
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	text-decoration: none;
}

.kma-programme-title-link:hover,
.kma-programme-title-link:focus-visible {
	color: var(--accent-color) !important;
	text-decoration: underline;
	text-underline-offset: .2em;
}

/* Keep team cards inside the col-xl-8 column (theme sets .swiperTestimonials to overflow:visible).
 * Flex items default to min-width:auto, so without min-width:0 the strip expands to fit every
 * slide and all portraits appear squeezed in one row instead of 4-at-a-time. */
.kma-team-swiper {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	flex: 1 1 auto;
}

.tab-container.team .tabs.team {
	min-width: 0;
	max-width: 100%;
	overflow: hidden;
}

.tab-container.team .kma-team-swiper .overflow-hidden,
.tab-container.team .swiper.swiperTestimonials,
.tab-container.team .swiper.swiperTestimonials .swiper-wrapper {
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.tab-container.team .kma-team-swiper .overflow-hidden,
.tab-container.team .swiper.swiperTestimonials {
	overflow: hidden;
}

/*
 * Font Awesome .fa-xs uses a sub-pixel line-height meant for inline icons.
 * Inside flex social buttons the glyph collapses to ~1.5px empty squares.
 */
.social-item i,
.social-item-2 i,
.social-item-3 i,
.social-container .fa-brands,
.social-container .fa-solid {
	display: inline-block !important;
	line-height: 1 !important;
	font-size: 0.85em;
	width: auto;
	height: auto;
	vertical-align: middle;
}

/* Ensure FA fonts resolve from the theme stylesheet URL (not a broken ../../font path). */
@font-face {
	font-family: 'Font Awesome 6 Brands';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/fa-brands-400.woff2') format('woff2'), url('../fonts/fa-brands-400.ttf') format('truetype');
}

@font-face {
	font-family: 'Font Awesome 6 Free';
	font-style: normal;
	font-weight: 900;
	font-display: swap;
	src: url('../fonts/fa-solid-900.woff2') format('woff2'), url('../fonts/fa-solid-900.ttf') format('truetype');
}

@font-face {
	font-family: 'Font Awesome 6 Free';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/fa-regular-400.woff2') format('woff2'), url('../fonts/fa-regular-400.ttf') format('truetype');
}

/* -------------------------------------------------------------------------
   Single Programme — HTML_TEMPLATE/programme.html layout
   body.kma-programme-page (via body_class) + body.single-kma_programme
   ------------------------------------------------------------------------- */
body.single-kma_programme #primary.kma-programme-single,
body.kma-programme-page #primary.kma-programme-single {
	margin-top: 0;
	padding-top: 0;
	overflow: visible;
}

body.single-kma_programme .kma-programme-page-banner,
body.kma-programme-page .kma-programme-page-banner,
body.single-kma_programme .kma-programme-main,
body.kma-programme-page .kma-programme-main {
	overflow-x: clip;
}

body.single-kma_programme .kma-programme-article,
body.kma-programme-page .kma-programme-article {
	display: flex;
	flex-direction: column;
}

body.single-kma_programme .kma-programme-page-banner,
body.kma-programme-page .kma-programme-page-banner,
body.kma-application-page .kma-programme-page-banner {
	padding-top: 0;
}

body.single-kma_programme .kma-programme-page-banner .bg-attach-cover,
body.kma-programme-page .kma-programme-page-banner .bg-attach-cover,
body.kma-application-page .kma-programme-page-banner .bg-attach-cover {
	/* Grow with long titles instead of a fixed viewport height that clips them. */
	height: auto;
	min-height: min(60vh, 40rem);
	max-height: none;
	display: flex;
	align-items: flex-start;
	padding-top: 5.5rem;
	padding-bottom: 2.5rem;
	box-sizing: border-box;
	overflow: hidden;
	background-color: var(--accent-color-4, #101010);
}

body.single-kma_programme .kma-programme-page-banner__title,
body.kma-programme-page .kma-programme-page-banner__title,
body.kma-application-page .kma-programme-page-banner__title {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: max-content;
	max-width: min(100%, 42rem);
	padding-top: 0.75rem;
	min-width: 0;
	box-sizing: border-box;
}

body.single-kma_programme .kma-programme-page-banner .text-banner,
body.kma-programme-page .kma-programme-page-banner .text-banner,
body.kma-application-page .kma-programme-page-banner .text-banner {
	font-size: 60px;
	line-height: 0.95;
	display: block;
	max-width: none;
	overflow-wrap: anywhere;
}

body.single-kma_programme .kma-programme-page-banner .bg-accent-primary,
body.kma-programme-page .kma-programme-page-banner .bg-accent-primary,
body.kma-application-page .kma-programme-page-banner .bg-accent-primary {
	/* Stretch to the widest title line so both rows share one right edge. */
	width: 100%;
	max-width: none;
	box-sizing: border-box;
}

body.single-kma_programme .kma-programme-body,
body.kma-programme-page .kma-programme-body {
	padding-top: 0;
	padding-bottom: 3rem;
}

body.single-kma_programme .kma-programme-feature,
body.kma-programme-page .kma-programme-feature {
	margin: 0 0 2rem;
	overflow: hidden;
	border-radius: 1rem;
}

body.single-kma_programme .kma-programme-feature img,
body.kma-programme-page .kma-programme-feature img {
	display: block;
	width: 100%;
	max-height: 26rem;
	object-fit: cover;
}

body.single-kma_programme .kma-programme-section,
body.kma-programme-page .kma-programme-section {
	margin-bottom: 2.5rem;
}

body.single-kma_programme .kma-programme-section > h2,
body.kma-programme-page .kma-programme-section > h2 {
	color: #fff;
	margin: 0 0 1rem;
	font-size: clamp(1.55rem, 2.3vw, 2rem);
	line-height: 1.2;
}

body.single-kma_programme .kma-programme-richtext,
body.kma-programme-page .kma-programme-richtext {
	color: rgba(255, 255, 255, 0.86);
	line-height: 1.7;
}

body.single-kma_programme .kma-programme-richtext p,
body.single-kma_programme .kma-programme-richtext ol,
body.kma-programme-page .kma-programme-richtext p,
body.kma-programme-page .kma-programme-richtext ol {
	margin-bottom: 1rem;
}

body.single-kma_programme .kma-programme-features__grid,
body.kma-programme-page .kma-programme-features__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 1.25rem 1.5rem;
	align-items: stretch;
}

body.single-kma_programme .kma-programme-features__media,
body.kma-programme-page .kma-programme-features__media {
	display: grid;
	gap: 1rem;
}

body.single-kma_programme .kma-programme-features__media figure,
body.single-kma_programme .kma-programme-gallery__grid figure,
body.kma-programme-page .kma-programme-features__media figure,
body.kma-programme-page .kma-programme-gallery__grid figure {
	margin: 0;
	overflow: hidden;
	border-radius: 1rem;
}

body.single-kma_programme .kma-programme-features__media img,
body.single-kma_programme .kma-programme-gallery__grid img,
body.kma-programme-page .kma-programme-features__media img,
body.kma-programme-page .kma-programme-gallery__grid img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
}

/* Single requirements image: fill the checklist column height (desktop). */
body.single-kma_programme .kma-programme-features__media--single,
body.kma-programme-page .kma-programme-features__media--single {
	position: relative;
	min-height: 0;
	/* Absolute children do not size the grid row — the list does. */
	align-self: stretch;
}

body.single-kma_programme .kma-programme-features__media--single figure,
body.kma-programme-page .kma-programme-features__media--single figure {
	position: absolute;
	inset: 0;
	height: auto;
}

body.single-kma_programme .kma-programme-features__media--single img,
body.kma-programme-page .kma-programme-features__media--single img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: auto;
	min-height: 0;
	object-fit: cover;
}

body.single-kma_programme .kma-programme-features__intro,
body.kma-programme-page .kma-programme-features__intro {
	margin-bottom: 1rem;
}

body.single-kma_programme .kma-programme-check-list,
body.kma-programme-page .kma-programme-check-list {
	display: grid;
	gap: 0.75rem;
}

body.single-kma_programme .kma-programme-check-list li,
body.kma-programme-page .kma-programme-check-list li {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
	padding: 0.95rem 1rem;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 0.75rem;
	color: rgba(255, 255, 255, 0.9);
	line-height: 1.45;
}

body.single-kma_programme .kma-programme-check-list__icon,
body.kma-programme-page .kma-programme-check-list__icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.65rem;
	height: 1.65rem;
	border-radius: 50%;
	background: var(--accent-color);
	color: #1a1512;
	font-size: 0.75rem;
	margin-top: 0.05rem;
}

body.single-kma_programme .kma-programme-timeline,
body.kma-programme-page .kma-programme-timeline {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

body.single-kma_programme .kma-programme-timeline__item,
body.kma-programme-page .kma-programme-timeline__item {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding: 1.1rem 1.15rem;
	border-radius: 0.85rem;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

body.single-kma_programme .kma-programme-timeline__label,
body.kma-programme-page .kma-programme-timeline__label {
	font-size: 0.72rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
}

body.single-kma_programme .kma-programme-timeline__date,
body.kma-programme-page .kma-programme-timeline__date {
	color: #fff;
	font-size: 1rem;
	line-height: 1.4;
}

body.single-kma_programme .kma-programme-gallery__grid,
body.kma-programme-page .kma-programme-gallery__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.15rem;
}

body.single-kma_programme .kma-programme-faq-list,
body.kma-programme-page .kma-programme-faq-list {
	display: grid;
	gap: 0.75rem;
}

body.single-kma_programme .kma-programme-faq-item,
body.kma-programme-page .kma-programme-faq-item {
	border-radius: 0.75rem;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

body.single-kma_programme .kma-programme-faq-item summary,
body.kma-programme-page .kma-programme-faq-item summary {
	cursor: pointer;
	list-style: none;
	padding: 1rem 2.75rem 1rem 1.15rem;
	color: #fff;
	font-size: 1rem;
	position: relative;
	background: rgba(255, 255, 255, 0.03);
}

body.single-kma_programme .kma-programme-faq-item summary::-webkit-details-marker,
body.kma-programme-page .kma-programme-faq-item summary::-webkit-details-marker {
	display: none;
}

body.single-kma_programme .kma-programme-faq-item summary::after,
body.kma-programme-page .kma-programme-faq-item summary::after {
	content: "›";
	position: absolute;
	right: 1.1rem;
	top: 50%;
	transform: translateY(-50%);
	color: var(--accent-color);
	font-size: 1.4rem;
	line-height: 1;
	transition: transform 0.2s ease;
}

body.single-kma_programme .kma-programme-faq-item[open] summary,
body.kma-programme-page .kma-programme-faq-item[open] summary {
	background: var(--accent-color);
	color: #1a1512;
}

body.single-kma_programme .kma-programme-faq-item[open] summary::after,
body.kma-programme-page .kma-programme-faq-item[open] summary::after {
	color: #1a1512;
	transform: translateY(-50%) rotate(90deg);
}

body.single-kma_programme .kma-programme-faq-answer,
body.kma-programme-page .kma-programme-faq-answer {
	padding: 1rem 1.15rem 1.15rem;
	color: rgba(255, 255, 255, 0.82);
	line-height: 1.65;
	background: rgba(0, 0, 0, 0.2);
}

body.single-kma_programme .kma-programme-section__cta .kma-opportunity-cta p,
body.kma-programme-page .kma-programme-section__cta .kma-opportunity-cta p {
	margin-bottom: 0.75rem;
}

body.single-kma_programme .kma-programme-section__cta .btn-accent::before,
body.single-kma_programme .kma-programme-section__cta .btn-accent::after,
body.kma-programme-page .kma-programme-section__cta .btn-accent::before,
body.kma-programme-page .kma-programme-section__cta .btn-accent::after {
	display: none;
}

body.single-kma_programme .kma-programme-section__cta .btn-accent:hover,
body.kma-programme-page .kma-programme-section__cta .btn-accent:hover {
	background-color: var(--accent-color-2);
	color: #1a1512;
	border-color: var(--accent-color-2);
}

body.single-kma_programme .kma-programme-section__cta .btn-accent:hover span,
body.kma-programme-page .kma-programme-section__cta .btn-accent:hover span {
	animation: none;
	opacity: 1;
	transform: none;
}

body.single-kma_programme .kma-programme-article,
body.kma-programme-page .kma-programme-article,
body.single-kma_programme .kma-programme-body,
body.kma-programme-page .kma-programme-body,
body.single-kma_programme .kma-programme-layout,
body.kma-programme-page .kma-programme-layout {
	transform: none;
	filter: none;
}

body.single-kma_programme .kma-programme-layout,
body.kma-programme-page .kma-programme-layout {
	align-items: flex-start;
}

body.single-kma_programme .kma-programme-aside,
body.kma-programme-page .kma-programme-aside {
	position: sticky;
	top: 0;
	align-self: flex-start;
	height: auto;
	padding-top: 0;
	margin-top: 0;
	z-index: 3;
}

body.single-kma_programme .kma-programme-main,
body.kma-programme-page .kma-programme-main {
	padding-top: 0;
	margin-top: 0;
}

body.single-kma_programme .kma-programme-sidebar,
body.kma-programme-page .kma-programme-sidebar {
	position: static;
	top: auto;
	margin-top: 0;
	padding-top: 0;
	transform: none;
}

.logged-in.admin-bar.single-kma_programme .kma-programme-aside,
.logged-in.admin-bar.kma-programme-page .kma-programme-aside {
	top: 32px;
}

body.single-kma_programme .kma-programme-widget,
body.kma-programme-page .kma-programme-widget {
	margin-bottom: 1.25rem;
	padding: 1.35rem 1.25rem;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 1rem;
}

body.single-kma_programme .kma-programme-widget__title,
body.kma-programme-page .kma-programme-widget__title {
	margin: 0 0 1rem;
	font-size: 1.05rem;
	color: #fff;
}

body.single-kma_programme .kma-programme-widget__meta li,
body.kma-programme-page .kma-programme-widget__meta li {
	display: grid;
	gap: 0.15rem;
	padding: 0.7rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

body.single-kma_programme .kma-programme-widget__meta li:first-child,
body.kma-programme-page .kma-programme-widget__meta li:first-child {
	border-top: 0;
	padding-top: 0;
}

body.single-kma_programme .kma-programme-widget__label,
body.kma-programme-page .kma-programme-widget__label {
	font-size: 0.72rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
}

body.single-kma_programme .kma-programme-widget__value,
body.kma-programme-page .kma-programme-widget__value {
	color: #fff;
	font-size: 0.95rem;
	line-height: 1.4;
}

body.single-kma_programme .kma-programme-downloads li + li,
body.kma-programme-page .kma-programme-downloads li + li {
	margin-top: 0.65rem;
}

body.single-kma_programme .kma-programme-downloads a,
body.kma-programme-page .kma-programme-downloads a {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	padding: 0.85rem 0.9rem;
	background: rgba(0, 0, 0, 0.2);
	border-radius: 0.75rem;
	color: #fff !important;
	text-decoration: none;
}

body.single-kma_programme .kma-programme-downloads a:hover,
body.kma-programme-page .kma-programme-downloads a:hover {
	color: var(--accent-color) !important;
}

body.single-kma_programme .kma-programme-downloads__icon,
body.kma-programme-page .kma-programme-downloads__icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.4rem;
	height: 2.4rem;
	border-radius: 0.55rem;
	background: rgba(247, 178, 49, 0.15);
	color: var(--accent-color);
}

body.single-kma_programme .kma-programme-downloads__copy,
body.kma-programme-page .kma-programme-downloads__copy {
	display: grid;
	gap: 0.15rem;
	min-width: 0;
}

body.single-kma_programme .kma-programme-downloads__name,
body.kma-programme-page .kma-programme-downloads__name {
	font-weight: 600;
	line-height: 1.3;
}

body.single-kma_programme .kma-programme-downloads__size,
body.kma-programme-page .kma-programme-downloads__size {
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.55);
}

body.single-kma_programme .kma-programme-nav li + li,
body.kma-programme-page .kma-programme-nav li + li {
	margin-top: 0.35rem;
}

body.single-kma_programme .kma-programme-nav a,
body.kma-programme-page .kma-programme-nav a {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.75rem 0.85rem;
	border-radius: 0.65rem;
	color: rgba(255, 255, 255, 0.88) !important;
	text-decoration: none;
	background: transparent;
}

body.single-kma_programme .kma-programme-nav a:hover,
body.single-kma_programme .kma-programme-nav .is-current a,
body.kma-programme-page .kma-programme-nav a:hover,
body.kma-programme-page .kma-programme-nav .is-current a {
	background: rgba(247, 178, 49, 0.12);
	color: #fff !important;
}

body.single-kma_programme .kma-programme-nav__meta,
body.kma-programme-page .kma-programme-nav__meta {
	flex: 0 0 auto;
	font-size: 0.72rem;
	color: var(--accent-color);
	text-align: right;
	max-width: 7rem;
	line-height: 1.3;
}

body.single-kma_programme .kma-programme-widget__more,
body.kma-programme-page .kma-programme-widget__more {
	display: inline-block;
	margin-top: 0.85rem;
	font-size: 0.9rem;
	color: var(--accent-color) !important;
}

body.single-kma_programme .kma-programme-cta-card,
body.kma-programme-page .kma-programme-cta-card {
	position: relative;
	overflow: hidden;
	padding: 1.75rem 1.35rem;
	border-radius: 1rem;
	background:
		linear-gradient(160deg, rgba(16, 16, 16, 0.55), rgba(16, 16, 16, 0.82)),
		var(--accent-color-3, #303030);
	color: #fff;
	border: 1px solid rgba(247, 178, 49, 0.35);
}

body.single-kma_programme .kma-programme-cta-card__copy,
body.kma-programme-page .kma-programme-cta-card__copy {
	margin: 0 0 1.25rem;
	color: rgba(255, 255, 255, 0.85);
	line-height: 1.55;
}

body.single-kma_programme .kma-programme-cta-card .kma-opportunity-cta p,
body.single-kma_programme .kma-programme-cta-card .kma-opportunity-message,
body.kma-programme-page .kma-programme-cta-card .kma-opportunity-cta p,
body.kma-programme-page .kma-programme-cta-card .kma-opportunity-message {
	margin-bottom: 0.75rem;
	color: rgba(255, 255, 255, 0.9);
}

body.single-kma_programme .kma-programme-cta-card .btn-accent,
body.single-kma_programme .kma-programme-cta-card .btn-light,
body.kma-programme-page .kma-programme-cta-card .btn-accent,
body.kma-programme-page .kma-programme-cta-card .btn-light {
	background: #fff !important;
	border-color: #fff !important;
	color: #1a1512 !important;
}

body.single-kma_programme .kma-programme-cta-card .btn-accent:hover,
body.single-kma_programme .kma-programme-cta-card .btn-light:hover,
body.kma-programme-page .kma-programme-cta-card .btn-accent:hover,
body.kma-programme-page .kma-programme-cta-card .btn-light:hover {
	background: var(--accent-color) !important;
	border-color: var(--accent-color) !important;
	color: #1a1512 !important;
}

@media (max-width: 991.98px) {
	body.single-kma_programme .kma-programme-aside,
	body.kma-programme-page .kma-programme-aside {
		position: static;
		top: auto;
	}
}

@media (max-width: 991.98px) {
	body.single-kma_programme .kma-programme-features__grid,
	body.single-kma_programme .kma-programme-gallery__grid,
	body.single-kma_programme .kma-programme-timeline,
	body.kma-programme-page .kma-programme-features__grid,
	body.kma-programme-page .kma-programme-gallery__grid,
	body.kma-programme-page .kma-programme-timeline {
		grid-template-columns: 1fr;
	}

	body.single-kma_programme .kma-programme-features__media,
	body.kma-programme-page .kma-programme-features__media {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	/* Stacked layout: restore a normal image height (absolute fill collapses). */
	body.single-kma_programme .kma-programme-features__media--single,
	body.kma-programme-page .kma-programme-features__media--single {
		position: static;
		min-height: 0;
	}

	body.single-kma_programme .kma-programme-features__media--single figure,
	body.kma-programme-page .kma-programme-features__media--single figure {
		position: static;
	}

	body.single-kma_programme .kma-programme-features__media--single img,
	body.kma-programme-page .kma-programme-features__media--single img {
		aspect-ratio: 4 / 3;
		height: auto;
		max-height: 20rem;
	}
}

@media (max-width: 767.98px) {
	body.single-kma_programme .kma-programme-page-banner .bg-attach-cover,
	body.kma-programme-page .kma-programme-page-banner .bg-attach-cover,
	body.kma-application-page .kma-programme-page-banner .bg-attach-cover {
		height: auto;
		min-height: 16rem;
		padding-top: 4.5rem;
		padding-bottom: 1.75rem;
	}

	body.single-kma_programme .kma-programme-page-banner .text-banner,
	body.kma-programme-page .kma-programme-page-banner .text-banner,
	body.kma-application-page .kma-programme-page-banner .text-banner {
		font-size: 40px;
		max-width: none;
	}

	body.single-kma_programme .kma-programme-body,
	body.kma-programme-page .kma-programme-body {
		padding-top: 0;
	}

	body.single-kma_programme .kma-programme-features__media,
	body.kma-programme-page .kma-programme-features__media {
		grid-template-columns: 1fr;
	}

	body.single-kma_programme .kma-programme-feature img,
	body.kma-programme-page .kma-programme-feature img {
		max-height: 18rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.single-kma_programme .scrollanimation,
	body.kma-programme-page .scrollanimation {
		animation: none !important;
		opacity: 1 !important;
		visibility: visible !important;
	}

	body.single-kma_programme .kma-programme-faq-item summary::after,
	body.kma-programme-page .kma-programme-faq-item summary::after {
		transition: none;
	}
}

/* Homepage media brands: overlay stays on the left; details stay on the right and animate on hover. */
@media (max-width: 767.98px) {
 body.home .swiperTestimonials {
  width: 100%;
  min-width: 0;
  overflow: visible;
 }
 body.home .swiperTestimonials > .swiper-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--kma-card-padding, 1.25rem);
  width: 100% !important;
  height: auto !important;
  transform: none !important;
 }
 body.home .swiperTestimonials > .swiper-wrapper > .swiper-slide {
  width: 100% !important;
  height: auto !important;
  min-width: 0;
  margin: 0 !important;
 }
 body.home .swiperTestimonials .testimonial-container {
  width: 100%;
  height: auto;
  min-width: 0;
  overflow-wrap: anywhere;
 }
 body.home .swiperTestimonials :is(.swiper-pagination, .swiper-button-next, .swiper-button-prev) {
  display: none;
 }
}
.kma-brand-mobile-title { display: none; }
.kma-mobile-team { display: none; }
@media (max-width: 767.98px) {
 body.page-template-about #team .tab-container.team { display: none; }
 body.page-template-about .kma-mobile-team {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  width: 100%;
 }
 .kma-mobile-team-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
  padding: 1.25rem;
  background: #191919;
  border-radius: 10px;
  overflow-wrap: anywhere;
 }
 .kma-mobile-team-card > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top;
 }
 body.page-template-about .kma-mobile-team-card > h3 {
  font-size: 1.5rem;
  line-height: 1.35;
  margin: 0;
 }
 .kma-mobile-team-card > p { margin: 0; }
}
@media (max-width: 767.98px) {
 body .kma-about-services {
  height: auto !important;
  min-height: 0;
 }
 body .kma-about-services .tab-container {
  display: block;
  height: auto !important;
  min-width: 0;
 }
 body .kma-about-services .tabs {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  height: auto !important;
  padding: 0 var(--kma-page-gutter, 16px);
  gap: 1rem;
 }
 body .kma-about-services .tabs > .tab {
  width: 100%;
  min-width: 0;
  border: 1px solid #ffffff30;
  background: #151515e6;
  text-align: left;
 }
 body .kma-about-services .title-tab { display: none; }
 body .kma-about-services .tab > .content {
  display: block !important;
  position: static;
  width: 100%;
  max-width: 100%;
  margin: 0 !important;
  padding: 1.25rem;
  background: transparent;
  backdrop-filter: none;
  overflow-wrap: anywhere;
 }
 body .kma-about-services .content h5 {
  font-size: 1.4rem;
  line-height: 1.35;
 }
}
@media (max-width: 767.98px) {
 body #primary .testimonial-container {
  padding: var(--kma-card-padding, 1.25rem) !important;
  text-align: center;
 }
 body #primary .testimonial-container > .d-flex {
  width: 100%;
  min-width: 0;
  gap: 1rem !important;
  align-items: center;
 }
 body #primary .testimonial-container > .d-flex > .d-flex {
  width: 100%;
  gap: .75rem !important;
  align-items: center;
 }
 body #primary .testimonial-container .customer-item {
  width: 80px;
  height: 80px;
  flex: 0 0 80px;
  margin: 0;
 }
 body #primary .testimonial-container .customer-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
 }
 body #primary .testimonial-container > .d-flex > .flex-row {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: .25rem;
  line-height: 1;
 }
 body #primary .testimonial-container h5 {
  font-size: 1.25rem;
  line-height: 1.4;
  margin: 0 !important;
 }
 body #primary .testimonial-container .testimonial-text {
  font-size: 1rem;
  line-height: 1.75;
  margin: 0;
 }
}
.tab-container:has(.tabs.studio) {
	min-height: 32rem;
}
.tabs.studio {
	left: 0;
	top: 2.5rem;
	bottom: auto;
	width: max-content;
	max-width: min(28rem, 46%);
	height: auto;
	transform: none;
	justify-content: flex-start;
	z-index: 5;
	pointer-events: auto;
}
.tabs.studio .tab {
	flex: 0 0 auto;
	padding: 8px 12px;
	line-height: 1.25;
	position: relative;
	z-index: 6;
}
.tab-content.studio .kma-studio-row,
.tab-content.studio .row {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	min-height: 28rem;
}
.tab-content.studio .kma-studio-row > .col,
.tab-content.studio .row > .col {
	display: flex;
}
.tab-content.studio .kma-studio-row > .col:first-child,
.tab-content.studio .row > .col:first-child {
	flex: 1 1 58%;
	min-width: 0;
	pointer-events: none;
}
.tab-content.studio .kma-studio-row > .col:first-child img,
.tab-content.studio .row > .col:first-child img {
	width: 100%;
	height: 100%;
	min-height: 28rem;
	object-fit: cover;
}
.tab-content.studio {
	overflow: hidden;
}
.tab-content.studio .kma-studio-details,
.tab-content.studio .row > .col:last-child {
	flex: 1 1 42%;
	min-width: 0;
	position: relative;
	z-index: 1;
	overflow: hidden;
}
.tab-content.studio .kma-studio-details > .d-flex.flex-column {
	flex: 1 1 auto;
	width: 100%;
	justify-content: space-between;
}
.tab-content.studio .kma-studio-details h4 .accent-color,
.tab-content.studio h4 {
	color: var(--accent-color);
}
.tab-content.studio .content:not(.active) .scrollanimation {
	opacity: 1;
	visibility: visible;
}
@media (max-width: 767.98px) {
	body.home .tab-container:has(> .tabs.studio) {
		display: block;
		min-height: 0;
	}
	body.home .tab-container > .tabs.studio {
		position: static;
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		width: 100%;
		max-width: none;
		padding: 0;
		margin-bottom: 1.5rem;
		gap: .5rem;
		transform: none;
		background: transparent;
	}
	body.home .tab-container > .tabs.studio {
		display: none;
	}
	body.home .kma-brand-mobile-title {
		display: block;
		font-size: 1.5rem;
		line-height: 1.35;
		margin: 0 0 1rem;
		color: var(--accent-color);
	}
	body.home .kma-studio-details h4 { display: none; }
	body.home .tab-content.studio > .content {
		display: block !important;
		margin: 0 0 2rem;
		padding-bottom: 2rem;
		border-bottom: 1px solid #ffffff30;
	}
	body.home .tab-content.studio > .content:last-child {
		margin-bottom: 0;
		padding-bottom: 0;
		border-bottom: 0;
	}
	body.home .tab-content.studio .content .scrollanimation {
		opacity: 1 !important;
		visibility: visible !important;
		animation: none !important;
		transform: none !important;
	}
	body.home .tabs.studio > .tab {
		width: 100%;
		min-width: 0;
		padding: .875rem 1.25rem;
		font-size: 1.25rem;
		line-height: 1.4;
		text-align: left;
		overflow-wrap: anywhere;
	}
	.tab-content.studio .kma-studio-row,
	.tab-content.studio .row {
		flex-wrap: wrap;
	}
	.tab-content.studio .kma-studio-row > .col,
	.tab-content.studio .row > .col {
		flex: 1 1 100%;
	}
	body.home .tab-content.studio {
		padding: 0;
	}
	body.home .tab-content.studio :is(.kma-studio-row, .row) {
		flex-direction: column;
		flex-wrap: nowrap;
		min-height: 0;
		margin-inline: 0;
		gap: 1.5rem;
	}
	body.home .tab-content.studio :is(.kma-studio-row, .row) > .col {
		flex: 0 0 auto;
		margin-block: 0 !important;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		padding-inline: 0;
	}
	body.home .tab-content.studio :is(.kma-studio-row, .row) > .col:first-child {
		order: 0;
	}
	body.home .tab-content.studio :is(.kma-studio-row, .row) > .col:first-child img {
		display: block;
		width: 100%;
		height: auto;
		min-height: 0;
		aspect-ratio: 4 / 3;
		object-fit: cover;
	}
	body.home .tab-content.studio .kma-studio-details {
		order: 1;
		overflow-wrap: anywhere;
	}
	body.home .tab-content.studio .kma-studio-details > .d-flex.flex-column {
		gap: 1rem !important;
		padding: 0 !important;
	}
}
@media only screen and (max-width: 993px) {
	.tabs.studio {
		top: auto;
		transform: none;
	}
}

/* ---------------------------------------------------------------------------
   Services archive (archive-kma_service.php): alternating image/text rows,
   modelled on HTML_TEMPLATE/services.html using existing theme tokens.
   --------------------------------------------------------------------------- */
.kma-service-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	background: var(--background-color);
	border-bottom: 3px solid var(--accent-color);
	overflow: hidden;
}
.kma-service-row--reverse .kma-service-row__media { order: 2; }
.kma-service-row__media {
	position: relative;
	display: block;
	min-height: 20rem;
	overflow: hidden;
}
.kma-service-row__media.kma-image-placeholder { background: var(--accent-color); }
.kma-service-row__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}
.kma-service-row:hover .kma-service-row__img { transform: scale(1.05); }
.kma-service-row__body {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.85rem;
	padding: 2.5rem 3rem;
}
.kma-service-row__number {
	position: absolute;
	top: 0.5rem;
	right: 1.5rem;
	line-height: 1;
	color: var(--accent-color-3);
	pointer-events: none;
}
.kma-service-row__tagline { color: var(--accent-color); font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; }
.kma-service-row__title { margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.25rem); }
.kma-service-row__title a { color: #fff; text-decoration: none; }
.kma-service-row__title a:hover,
.kma-service-row__title a:focus-visible { color: var(--accent-color); }
.kma-service-row__excerpt { margin: 0; color: var(--text-color-2); max-width: 36rem; }
.kma-service-row .read-more { margin-top: 0.5rem; align-self: flex-start; }

.kma-services-cta { background: var(--accent-color); color: var(--primary); }
.kma-services-cta h2,
.kma-services-cta p { color: var(--primary); }

@media (max-width: 991.98px) {
	.kma-service-row { grid-template-columns: 1fr; }
	.kma-service-row--reverse .kma-service-row__media { order: 0; }
	.kma-service-row__media { min-height: 14rem; aspect-ratio: 16 / 9; }
	.kma-service-row__body { padding: 1.75rem 1.5rem 2rem; }
	.kma-service-row__number { font-size: 64px; right: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
	.kma-service-row__img { transition: none; }
	.kma-service-row:hover .kma-service-row__img { transform: none; }
}

/* Services archive refinements. */
.kma-service-list .kma-service-row__title a { font-size: inherit; font-weight: inherit; line-height: 1.2; color: #fff; }
.kma-service-list .kma-service-row__title a:hover,
.kma-service-list .kma-service-row__title a:focus-visible { color: var(--accent-color); }
.kma-service-row__body > *:not(.kma-service-row__number) { position: relative; z-index: 1; }
@media (max-width: 575.98px) {
	.kma-service-row__number { font-size: 48px; top: 0.25rem; }
	.kma-service-row__tagline { padding-right: 3.5rem; }
}

/* ---------------------------------------------------------------------------
   Service detail (single-kma_service.php), modelled on HTML_TEMPLATE/service_detail.html.
   --------------------------------------------------------------------------- */
#primary.kma-service-detail > .section.pt-0:first-child .text-banner {
	font-size: 60px;
	white-space: normal;
}
.kma-service-detail__tagline { color: var(--accent-color); text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.95rem; }
.kma-service-detail__content > * + * { margin-top: 1rem; }
.kma-service-detail__content p { color: var(--text-color-2); }
.kma-service-detail__content ul { list-style: none; padding-left: 0; display: grid; gap: 0.6rem; }
.kma-service-detail__content ul li { position: relative; padding-left: 1.75rem; color: var(--text-color-2); }
.kma-service-detail__content ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 0.85rem;
	height: 0.45rem;
	border-left: 2px solid var(--accent-color);
	border-bottom: 2px solid var(--accent-color);
	transform: rotate(-45deg) translateY(-50%);
}
.kma-service-detail__content blockquote {
	margin-left: 1rem;
	padding: 0.25rem 0 0.25rem 1.5rem;
	border-left: 3px solid var(--accent-color-2);
	font-style: italic;
}
.kma-service-detail__sidebar { position: sticky; top: 7rem; }
@media (max-width: 1199.98px) { .kma-service-detail__sidebar { position: static; } }
/* Project pages: keep the details panel level with the top of the content column. */
#primary.kma-project-detail .kma-service-detail__sidebar { position: static; }
.kma-service-detail__panel { padding: 2rem; background: var(--background-color); border-top: 3px solid var(--accent-color-3); }
.kma-service-detail__panel--accent { background: var(--accent-color); color: var(--primary); border-top-color: var(--accent-color); }
.kma-service-detail__panel--accent h3,
.kma-service-detail__panel--accent p { color: var(--primary); }
.kma-service-detail__link {
	display: block;
	padding: 0.55rem 0 0.55rem 1rem;
	border-left: 3px solid transparent;
	color: var(--text-color-2);
	text-decoration: none;
}
.kma-service-detail__link:hover,
.kma-service-detail__link:focus-visible,
.kma-service-detail__link.is-current { color: var(--accent-color); border-left-color: var(--accent-color); }
.kma-service-detail__link.is-current { font-weight: 700; }
.kma-service-detail__main { padding-top: 1.5rem; }
.kma-service-detail__figure { overflow: hidden; border-bottom: 3px solid var(--accent-color); }
.kma-service-detail__figure img { display: block; aspect-ratio: 16 / 9; object-fit: cover; }

/* Programmes archive: status / type chips (rows reuse the Services row styles). */
#primary.kma-programmes-page > .section.pt-0:first-child .text-banner {
	font-size: 60px;
}
.kma-programme-chip {
	display: inline-block;
	padding: 0.2rem 0.7rem;
	font-size: 0.8rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--text-color-2);
	border: 1px solid var(--accent-color-3);
}
.kma-programme-chip--status {
	color: var(--primary);
	background: var(--accent-color);
	border-color: var(--accent-color);
	font-weight: 700;
}

/* Programmes archive: three-across card grid (image, overlapping status badge, title, excerpt, pill button). */
.kma-programme-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2rem;
}
@media (max-width: 991.98px) { .kma-programme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .kma-programme-grid { grid-template-columns: 1fr; } }
.kma-programme-card {
	--kma-card-tone: var(--accent-color);
	display: flex;
	flex-direction: column;
	background: #262626;
	color: var(--text-color-2);
	border: 1px solid #333; box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.kma-programme-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5); }
.kma-programme-card__media { position: relative; }
.kma-programme-card__image { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #1c1c1c; }
.kma-programme-card__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kma-programme-card__badge {
	position: absolute;
	right: 1.25rem;
	bottom: 0;
	max-width: calc(100% - 2.5rem);
	padding: 0.7rem 1.25rem;
	background: var(--kma-card-tone);
	color: #151515;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1.2;
	transform: translateY(50%);
}
.kma-programme-card__body { display: flex; flex-direction: column; flex: 1; padding: 2.5rem 2rem 2rem; }
.kma-programme-card__title { margin: 0 0 0.5rem; font-size: 1.6rem; line-height: 1.2; }
#primary .kma-programme-grid .kma-programme-card__title a { color: #fff; text-decoration: none; font-size: inherit; font-weight: 700; }
#primary .kma-programme-grid .kma-programme-card__title a:hover,
#primary .kma-programme-grid .kma-programme-card__title a:focus-visible { color: var(--kma-card-tone); }
.kma-programme-card__facts { margin: 0 0 0.75rem; font-size: 0.8rem; letter-spacing: 0.05em; text-transform: uppercase; color: #9a9a9a; }
.kma-programme-card__excerpt { margin: 0 0 1.5rem; color: var(--text-color-2); line-height: 1.7; }
.kma-programme-card__button {
	align-self: flex-start;
	margin-top: auto;
	padding: 0.85rem 1.6rem;
	border-radius: 999px;
	background: var(--kma-card-tone);
	color: #151515;
	font-size: 0.85rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	transition: filter 0.2s;
}
.kma-programme-card__button:hover,
.kma-programme-card__button:focus-visible { background: var(--accent-color-2); color: #fff; }
#primary .kma-programme-grid .kma-programme-card__button {
	color: #151515;
}
#primary .kma-programme-grid .kma-programme-card__button:focus-visible,
#primary .kma-programme-grid .kma-programme-card__button:hover { color: #fff; }

/* Portfolio archive + project detail. */
#primary.kma-work-page > .section.pt-0:first-child .text-banner,
#primary.kma-project-detail > .section.pt-0:first-child .text-banner {
	font-size: 60px;
}
.kma-filter-chip {
	display: inline-block;
	padding: 0.45rem 1.1rem;
	color: var(--text-color-2);
	text-decoration: none;
	border: 1px solid var(--accent-color-3);
	transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.kma-filter-chip:hover,
.kma-filter-chip:focus-visible { color: var(--accent-color); border-color: var(--accent-color); }
.kma-filter-chip.is-active { color: var(--primary); background: var(--accent-color); border-color: var(--accent-color); font-weight: 700; }

.kma-work-card {
	display: flex;
	flex-direction: column;
	background: var(--background-color);
	border-bottom: 3px solid var(--accent-color);
	overflow: hidden;
}
.kma-work-card__media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.kma-work-card__media.kma-image-placeholder { background: var(--accent-color); }
.kma-work-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.kma-work-card:hover .kma-work-card__img { transform: scale(1.05); }
.kma-work-card__body { display: flex; flex-direction: column; gap: 0.7rem; flex: 1 1 auto; padding: 1.75rem 2rem 2rem; }
.kma-work-card__meta { color: var(--accent-color); font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; }
.kma-work-card__title { margin: 0; font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.kma-work-card__title a { font-size: inherit; font-weight: inherit; color: #fff; text-decoration: none; }
.kma-work-card__title a:hover,
.kma-work-card__title a:focus-visible { color: var(--accent-color); }
.kma-work-card__excerpt { margin: 0; color: var(--text-color-2); }

.kma-project-facts { display: flex; flex-direction: column; gap: 0.9rem; }
.kma-project-facts__row { display: flex; flex-direction: column; gap: 0.1rem; }
.kma-project-facts dt { color: var(--accent-color); font-size: 0.8rem; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 400; }
.kma-project-facts dd { margin: 0; color: #fff; }
.kma-project-video iframe { width: 100%; height: 100%; border: 0; }
@media (prefers-reduced-motion: reduce) {
	.kma-work-card__img { transition: none; }
	.kma-work-card:hover .kma-work-card__img { transform: none; }
}

/* Contact page — form left, map + details + phone right (dark theme) */
.kma-contact-layout { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media (min-width: 992px) {
	.kma-contact-layout { grid-template-columns: 1fr 1fr; gap: 4.5rem; }
}
.kma-contact-eyebrow { display: block; margin-bottom: 0.9rem; color: var(--accent-color); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; }
#primary.kma-contact-page .kma-contact-title { margin: 0 0 1.25rem; color: #fff; font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; line-height: 1.05; letter-spacing: 0.02em; text-transform: uppercase; }
.kma-contact-intro { margin-bottom: 2rem; max-width: 34rem; color: var(--text-color-2); line-height: 1.7; }

.kma-contact-page .kma-contact-form-wrapper--compact .kma-contact-field { margin: 0 0 1.1rem; }
.kma-contact-page .kma-contact-form-wrapper--compact .kma-contact-field label { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.kma-contact-page .kma-contact-form-wrapper--compact .kma-contact-field input,
.kma-contact-page .kma-contact-form-wrapper--compact .kma-contact-field textarea { display: block; width: 100%; max-width: none; padding: 1.05rem 1.35rem; border: 1px solid transparent; border-radius: 0.4rem; background: var(--accent-color-3); color: #fff; font: inherit; transition: border-color 0.2s ease, background-color 0.2s ease; }
.kma-contact-page .kma-contact-form-wrapper--compact .kma-contact-field textarea { min-height: 11rem; resize: vertical; }
.kma-contact-page .kma-contact-form-wrapper--compact .kma-contact-field input:focus,
.kma-contact-page .kma-contact-form-wrapper--compact .kma-contact-field textarea:focus { outline: 0; border-color: var(--accent-color); background: #383838; }
.kma-contact-page .kma-contact-form-wrapper--compact .kma-contact-field [aria-invalid="true"] { border-color: #c0392b; }
.kma-contact-page .kma-contact-form-wrapper--compact ::placeholder { color: var(--muted-text-color); }
.kma-contact-send { display: block; width: 100%; margin-top: 0.4rem; padding: 1rem 2rem; border: 0; border-radius: 999px; background: var(--accent-color); color: #151515; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease; }
.kma-contact-send:hover, .kma-contact-send:focus-visible { background: var(--accent-color-2); color: #fff; outline: 0; }

.kma-contact-map { position: relative; height: 18rem; margin-bottom: 2rem; overflow: hidden; border-radius: 0.4rem; background: var(--accent-color-4); }
.kma-contact-map iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(0.92) contrast(0.9); }
#primary.kma-contact-page .kma-contact-map__open { position: absolute; top: 1rem; right: 1rem; padding: 0.5rem 1.1rem; border-radius: 999px; background: var(--accent-color-4); color: #fff; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-decoration: none; text-transform: uppercase; }
#primary.kma-contact-page .kma-contact-map__open:hover { background: var(--accent-color); color: #151515; }

.kma-contact-table { margin-bottom: 2rem; border-top: 1px solid var(--accent-color-3); }
.kma-contact-table__row { display: grid; grid-template-columns: 1fr; border-bottom: 1px solid var(--accent-color-3); }
@media (min-width: 576px) {
	.kma-contact-table__row { grid-template-columns: 1fr 1fr; }
	.kma-contact-table__row .kma-contact-table__cell + .kma-contact-table__cell { border-left: 1px solid var(--accent-color-3); }
}
.kma-contact-table__cell { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1.1rem 1rem; }
.kma-contact-table__label { color: var(--accent-color); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.kma-contact-table__value { color: #fff; text-align: right; overflow-wrap: anywhere; }
#primary.kma-contact-page a.kma-contact-table__value { color: #fff; text-decoration: none; }
#primary.kma-contact-page a.kma-contact-table__value:hover { color: var(--accent-color); }

#primary.kma-contact-page a.kma-contact-phone { display: block; color: #fff; font-size: clamp(2rem, 4.2vw, 3.6rem); font-weight: 800; line-height: 1.1; letter-spacing: 0.01em; text-decoration: none; overflow-wrap: anywhere; }
#primary.kma-contact-page a.kma-contact-phone:hover { color: var(--accent-color); }

/* Inner-page banner: keep the gap between the breadcrumb and the first content section compact (the banner's bottom padding plus the next section's top padding used to stack to ~12em). */
#primary > .section:has(.breadcrumb) {
	padding-bottom: 0;
}
#primary > .section:has(.breadcrumb) + .section {
	padding-top: 2.5rem !important;
}
body.single-kma_programme .kma-programme-page-banner,
body.kma-programme-page .kma-programme-page-banner,
body.kma-application-page .kma-programme-page-banner {
	padding-bottom: 1.5rem;
}

/* Detail pages (project / service / programmes list): trim the stacked bottom padding, column margin and next-section top padding below the main content. */
#primary > .section.kma-service-detail__main {
	padding-bottom: 1rem;
}
#primary > .section.kma-service-detail__main .row > .col.mb-5 {
	margin-bottom: 1.5rem !important;
}
#primary > .section.kma-service-detail__main + .section {
	padding-top: 2.5rem;
}

/* Single blog: featured image in a landscape crop at 60% of the column width (full width on small screens). */
.kma-single-blog__figure { width: 60%; }
.kma-single-blog__figure img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; }
@media (max-width: 767.98px) {
	.kma-single-blog__figure { width: 100%; }
}

/* Services list: halve the gap between the last service row and the closing call to action. */
#primary.kma-services-page:not(.kma-work-page):not(.kma-programmes-page) > .section:nth-child(2) {
	padding-bottom: 3rem;
}
#primary.kma-services-page:not(.kma-work-page):not(.kma-programmes-page) > .section:nth-child(3) {
	padding-top: 3rem;
}

/* How to Apply: retain editable WordPress guidance within the standard banner layout. */
.kma-apply-guide__article { max-width: 1080px; margin-inline: auto; }
.kma-apply-guide__eyebrow { color: var(--accent-color); text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; }
.kma-apply-guide h1 { margin: .75rem 0 1.5rem; }
.kma-apply-guide__content > p { max-width: 850px; font-size: 1.1rem; line-height: 1.8; }
.kma-apply-guide__content > ol { counter-reset: application-step; list-style: none; padding: 0; margin: 2.5rem 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.kma-apply-guide__content > ol > li { counter-increment: application-step; position: relative; margin: 0; padding: 1.5rem 1.5rem 1.5rem 5rem; border: 1px solid rgba(255,255,255,.14); background: var(--accent-color-3); line-height: 1.7; border-radius: 6px; }
.kma-apply-guide__content > ol > li::before { content: counter(application-step, decimal-leading-zero); position: absolute; left: 1.25rem; top: 1.25rem; color: var(--accent-color); font-size: 1.6rem; font-weight: 700; }
.kma-apply-guide__content .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 1rem; padding-top: .5rem; }
.kma-apply-guide__content .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .85rem 1.5rem; border: 1px solid var(--accent-color); border-radius: 4px; background: var(--accent-color); color: var(--primary); font-weight: 700; text-decoration: none; }
.kma-apply-guide__content .is-style-outline .wp-block-button__link { background: transparent; color: var(--accent-color); }
.kma-apply-guide__content .wp-block-button__link:hover { background: var(--accent-color-2); border-color: var(--accent-color-2); color: #fff; }
.kma-apply-guide__content .wp-block-button__link:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
@media (max-width: 767.98px) {
 .kma-apply-guide__content > ol { grid-template-columns: 1fr; }
 .kma-apply-guide__content .wp-block-button { width: 100%; }
 .kma-apply-guide__content .wp-block-button__link { width: 100%; }
}

/* Shared page gutters: one outer container for banners, content and footer. */
:root { --kma-page-gutter: 32px; --kma-content-width: 1440px; }
body .section:not(.footer-main) { padding-inline: 0; }
body .r-container { width: calc(100% - 2 * var(--kma-page-gutter)); max-width: var(--kma-content-width); margin-inline: auto; }
body .r-container .r-container { width: 100%; max-width: none; }
body #primary.kma-content { width: calc(100% - 2 * var(--kma-page-gutter)); max-width: var(--kma-content-width); margin-inline: auto; padding-inline: 0; }
body #primary.kma-content .section { padding-inline: 0; }
@media (max-width: 767.98px) {
 /* Bootstrap's w-100 utility must not erase the shared mobile gutters. */
 body footer .footer-main {
  padding-inline: var(--kma-page-gutter) !important;
 }
 body footer .footer-main > .d-flex > .row {
  --bs-gutter-x: 0;
  margin-inline: 0;
 }
 body footer .footer-main .col {
  min-width: 0;
  padding-inline: 0;
 }
 body footer .footer-main h1,
 body footer .footer-main h1 a {
  font-size: clamp(1.3rem, 4vw, 1.65rem);
  overflow-wrap: anywhere;
 }
 body footer .footer-links {
  flex-wrap: wrap;
  gap: .75rem 0;
  overflow-x: visible;
 }
 body footer .footer-links > div {
  max-width: 100%;
 }
 body footer .footer-links a {
  white-space: normal;
  overflow-wrap: anywhere;
 }
 body #primary .r-container {
  width: calc(100% - 2 * var(--kma-page-gutter)) !important;
  min-width: 0;
 }
 body #primary .r-container .r-container,
 body #primary.kma-content .r-container {
  width: 100% !important;
 }
 body #primary .r-container > .row {
  margin-inline: 0;
 }
 body.home #primary > .section:first-child h1 {
  overflow-wrap: anywhere;
 }
}
.kma-apply-guide__article { max-width: none; }
.kma-inner-banner-title { max-width: 100%; }
.kma-inner-banner-title > div { width: max-content; max-width: 100%; }
.kma-inner-banner-title .text-banner { overflow-wrap: anywhere; }
.kma-audience-content > h2 { max-width: 100%; margin: 0 0 1.5rem; font-size: clamp(2rem, 3.5vw, 3.5rem); }
.kma-audience-intro { font-size: 1.15rem; line-height: 1.85; margin-bottom: 2.5rem; }
.kma-audience-content { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.kma-audience-content > :not(.kma-audience-panel) { grid-column: 1 / -1; }
.kma-audience-panel { padding: clamp(1.25rem, 3vw, 2.5rem); border: 1px solid #ffffff26; border-radius: 6px; background: #202020; }
.kma-audience-panel h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); margin-bottom: 1rem; }
.kma-audience-panel ul { padding-left: 1.25rem; margin: 1.5rem 0 0; }
.kma-audience-panel li { padding-left: .5rem; margin-bottom: 1rem; line-height: 1.75; }
.kma-audience-panel li::marker { color: var(--accent-color); }
.kma-audience-note { padding: 1.5rem 2rem; margin: .5rem 0; border-left: 3px solid var(--accent-color); background: #202020; line-height: 1.8; }
.kma-audience-content .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 1rem; margin: .5rem 0 0; }
.kma-audience-content .wp-block-button__link,
.kma-dashboard-page .kma-dashboard-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .85rem 1.5rem; border: 1px solid var(--accent-color); border-radius: 4px; background: var(--accent-color); color: #151515; font-weight: 700; text-decoration: none; line-height: 1.5; }
.kma-audience-content .wp-block-button + .wp-block-button .wp-block-button__link { background: transparent; color: var(--accent-color); }
.kma-audience-content .wp-block-button__link:hover,
.kma-dashboard-page .kma-dashboard-button:hover { background: #ffcb65; color: #151515; }
.kma-dashboard-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 2rem; margin-bottom: 2rem; }
.kma-dashboard-toolbar h2 { font-size: clamp(1.8rem, 3vw, 2.75rem); margin: .75rem 0 1rem; }
.kma-dashboard-toolbar p { margin: 0; }
.kma-dashboard-toolbar > a { flex-shrink: 0; }
body.kma-application-page .kma-dashboard-page .kma-app-shell { width: 100%; max-width: none; margin: 0; padding: clamp(1.25rem, 3vw, 2.5rem); background: #202020; border: 1px solid #ffffff26; border-radius: 6px; }
.kma-dashboard-page .kma-app-heading { align-items: center; padding-bottom: 1.5rem; margin-bottom: 2rem; border-bottom: 1px solid #ffffff26; }
.kma-dashboard-page .kma-app-heading h1 { font-size: clamp(1.5rem, 2.5vw, 2rem); margin: 0 0 .75rem; color: #fff; overflow-wrap: anywhere; }
.kma-dashboard-page .kma-app-shell h2 { font-size: 1.6rem; margin: 1.5rem 0; }
.kma-dashboard-page .kma-application-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.kma-dashboard-page .kma-application-card { min-width: 0; padding: 1.5rem; background: #151515; border: 1px solid #ffffff26; border-radius: 6px; overflow-wrap: anywhere; }
.kma-dashboard-page .kma-application-card h3 { font-size: 1.35rem; line-height: 1.4; margin: 0 0 1rem; }
.kma-dashboard-page .kma-application-card .kma-status { display: inline-block; padding: .3rem .65rem; background: #f7b2311a; border: 1px solid #f7b23166; border-radius: 4px; color: #f7b231; }
.kma-dashboard-page .kma-app-shell a.button,
.kma-dashboard-page .kma-app-shell button { display: inline-flex; padding: .75rem 1.1rem; border: 1px solid var(--accent-color); border-radius: 4px; background: var(--accent-color); color: #151515; font-weight: 700; text-decoration: none; }
.kma-dashboard-help { margin-top: 2rem; padding: 1.5rem 0 0; border-top: 1px solid #ffffff26; }
.kma-dashboard-help h3 { font-size: 1.35rem; }
.kma-dashboard-help a { display: inline-block; margin-right: 1.5rem; margin-top: .5rem; }
@media (max-width: 991.98px) {
 .kma-dashboard-page .kma-application-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .kma-dashboard-toolbar { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 767.98px) {
 :root { --kma-page-gutter: 16px; }
 .kma-audience-content, .kma-dashboard-page .kma-application-list { grid-template-columns: 1fr; }
 .kma-audience-content .wp-block-button, .kma-audience-content .wp-block-button__link { width: 100%; }
 .kma-dashboard-page .kma-app-heading { flex-direction: column; align-items: flex-start; }
}

/* Keep dashboard panels consistent for both signed-in and signed-out applicants. */
.kma-dashboard-page .kma-dashboard-content { padding: clamp(1.25rem, 3vw, 2.5rem); background: #202020; border: 1px solid #ffffff26; border-radius: 6px; }
body.kma-application-page .kma-dashboard-page .kma-app-shell { padding: 0; border: 0; background: transparent; }
#primary.kma-dashboard-page a.kma-dashboard-button,
#primary.kma-dashboard-page .kma-app-shell a.button { color: #151515 !important; }
#primary.kma-audience-page .wp-block-button:first-child .wp-block-button__link { color: #151515 !important; }

/* Applicant forms use the same outer content width as the other pages. */
body.kma-application-page #primary .kma-app-shell { width: 100%; max-width: none; margin-inline: 0; }

/* Applicant login and registration share the standard banner and page gutters. */
.kma-account-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.kma-account-intro h2 { margin: .8rem 0 1.5rem; font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.15; }
.kma-account-intro p, .kma-account-benefits { line-height: 1.8; }
.kma-account-benefits { padding-left: 1.25rem; margin: 1.75rem 0; }
.kma-account-benefits li { padding-left: .35rem; margin-bottom: .9rem; }
.kma-account-benefits li::marker { color: var(--accent-color); }
.kma-account-switch { padding-top: 1.5rem; border-top: 1px solid #ffffff26; margin-top: 2rem; }
.kma-account-switch p { margin-bottom: .5rem; }
.kma-account-switch a { font-weight: 700; }
.kma-account-guide { display: inline-block; margin-top: 1.5rem; }
.kma-account-panel { min-width: 0; padding: clamp(1.25rem, 3vw, 2.5rem); background: #202020; border: 1px solid #ffffff26; border-radius: 6px; }
body.kma-application-page #primary.kma-account-page .kma-app-shell { margin: 0; padding: 0; }
body.kma-application-page .kma-account-page .kma-app-shell > h1 { font-size: clamp(1.5rem, 2.3vw, 2rem); margin: 0 0 1.75rem; line-height: 1.3; }
.kma-account-page .kma-app-form { gap: 0 1.25rem; }
.kma-account-page--register .kma-app-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kma-account-page .kma-field { min-width: 0; margin-bottom: 1.25rem; }
.kma-account-page .kma-field label { line-height: 1.5; }
body.kma-application-page .kma-account-page .kma-field input:not([type="checkbox"]):not([type="radio"]) { min-height: 48px; border-radius: 4px; background: #151515; }
body.kma-application-page .kma-account-page .kma-field input:focus-visible { outline: 2px solid var(--accent-color); outline-offset: 3px; }
.kma-account-page .kma-app-form > :not(.kma-field), .kma-account-page .kma-app-form > .kma-checkbox { grid-column: 1 / -1; }
.kma-account-page .kma-app-form > input[type="hidden"] { display: none; }
body.kma-application-page .kma-account-page .kma-checkbox { display: flex; align-items: flex-start; gap: .75rem; }
body.kma-application-page .kma-account-page .kma-checkbox input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: .2rem; accent-color: var(--accent-color); }
body.kma-application-page .kma-account-page .kma-checkbox label { font-weight: 400; }
body.kma-application-page .kma-account-page .kma-app-form > button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; width: 100%; padding: .85rem 1.5rem; border: 1px solid var(--accent-color); border-radius: 4px; background: var(--accent-color); color: #151515; font-weight: 700; cursor: pointer; }
body.kma-application-page .kma-account-page .kma-app-form > button:hover { background: #ffcb65; border-color: #ffcb65; }
.kma-account-page .kma-app-form > p { margin: 1.25rem 0 0; }
.kma-account-footnote { padding-top: 1.5rem; margin: 1.5rem 0 0; border-top: 1px solid #ffffff26; font-size: .9rem; line-height: 1.7; }
@media (max-width: 991.98px) {
 .kma-account-layout { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
 .kma-account-page--register .kma-app-form { grid-template-columns: 1fr; }
}

/* Profile fields share the responsive account-form layout. */
.kma-account-page--profile .kma-app-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kma-account-page--profile .kma-field:last-of-type { grid-column: 1 / -1; }
@media (max-width: 575.98px) {
 .kma-account-page--profile .kma-app-form { grid-template-columns: 1fr; }
}

/* Legal pages: shared banner/gutters with readable WordPress document content. */
.kma-legal-document { padding: clamp(1.25rem, 3vw, 2.5rem); background: #202020; border: 1px solid #ffffff26; border-radius: 6px; }
.kma-legal-document__header { padding-bottom: 1.5rem; margin-bottom: 1.75rem; border-bottom: 1px solid #ffffff26; }
.kma-legal-document__header h2 { font-size: clamp(1.8rem, 3vw, 2.75rem); margin: .75rem 0 0; line-height: 1.2; }
.kma-legal-document__content { line-height: 1.85; overflow-wrap: anywhere; }
.kma-legal-document__content > :last-child { margin-bottom: 0; }
.kma-legal-document__content :is(h2,h3,h4,h5,h6) { margin: 2rem 0 1rem; line-height: 1.35; }
.kma-legal-document__content h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
.kma-legal-document__content h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
.kma-legal-document__content :is(h4,h5,h6) { font-size: 1.15rem; }
.kma-legal-document__content :is(p,ul,ol,blockquote) { margin-bottom: 1.25rem; }
.kma-legal-document__content :is(ul,ol) { padding-left: 1.5rem; }
.kma-legal-document__content li { padding-left: .25rem; margin-bottom: .65rem; }
.kma-legal-document__content li::marker { color: var(--accent-color); }
.kma-legal-document__content blockquote { padding: 1rem 1.5rem; border-left: 3px solid var(--accent-color); background: #151515; }
.kma-legal-document__content .wp-block-table { overflow-x: auto; }
.kma-legal-document__content table { width: 100%; border-collapse: collapse; }
.kma-legal-document__content :is(th,td) { border: 1px solid #ffffff26; padding: .75rem 1rem; text-align: left; }
.kma-legal-links { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 1.75rem; }
.kma-legal-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

/* Homepage Media & Entertainment Brands section. */
body.home #primary > .section:has(.tabs.studio) {
 background-color: #191919 !important;
 background-image: none !important;
}
body.home #primary > .section:has(.tabs.studio) .tab-content.studio {
 background: #191919 !important;
}

/* Keep shared CTA labels readable, including buttons with plain text labels. */
body .btn.btn-accent,
body .btn.btn-accent:is(:hover, :focus-visible, :active) {
 color: #151515 !important;
 background: #f7b231 !important;
 border-color: #f7b231 !important;
}
body .btn.btn-accent:is(:hover, :focus-visible) {
 background: #ffcb65 !important;
 border-color: #ffcb65 !important;
}
body .btn.btn-accent-outline {
 color: #f7b231 !important;
 background: transparent;
 border-color: #f7b231;
}
body .btn.btn-accent-outline:is(:hover, :focus-visible, :active) {
 color: #151515 !important;
 background: #f7b231 !important;
 border-color: #f7b231 !important;
}
body .btn:is(.btn-accent, .btn-accent-outline)::before,
body .btn:is(.btn-accent, .btn-accent-outline)::after { display: none; }
body .btn:is(.btn-accent, .btn-accent-outline) :is(span, i) { color: inherit !important; }
body .btn:is(.btn-accent, .btn-accent-outline):is(:hover, :focus-visible) :is(span, i) {
 animation: none; opacity: 1; transform: none;
}
body .btn:is(.btn-accent, .btn-accent-outline):focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
#primary .wp-block-button .wp-block-button__link:is(:hover, :focus-visible) {
 color: #151515 !important;
 background: #ffcb65;
 border-color: #ffcb65;
}
body .btn:is(.btn-accent, .btn-accent-outline) { transition: border-color .2s ease; }

/* Homepage news cards share the Parable Films image's 1024:640 proportions. */
body.home #primary .card-blog > .position-relative > img {
 display: block;
 width: 100%;
 height: auto;
 aspect-ratio: 8 / 5;
 object-fit: cover;
 object-position: center;
}

/* Stretch the two homepage news cards to the same row height. */
body.home #primary .col:has(> a > .card-blog) { display: flex; }
body.home #primary .col > a:has(> .card-blog) { display: flex; width: 100%; }
body.home #primary .col > a > .card-blog { width: 100%; flex: 1; }
body.home #primary .card-blog > .position-relative { flex-shrink: 0; }
body.home #primary .card-blog,
body.blog #primary .blog-grid .card-blog {
 overflow: hidden;
}
body.home #primary .row:has(> .col > a > .card-blog) > .col:last-child {
 display: flex;
}
body.home #primary .row:has(> .col > a > .card-blog) > .col:last-child > .d-flex {
 flex: 1;
 width: 100%;
 padding: var(--kma-card-padding, 1.5rem) !important;
 background-color: var(--primary) !important;
 border-radius: 10px;
}
body.home #primary .row:has(> .col > a > .card-blog) > .col:last-child > .d-flex > .w-max-content {
 margin-top: auto !important;
}

@media (max-width: 1199.98px) {
 body.home #primary .row:has(> .col > a > .card-blog) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--kma-card-padding, 1.5rem);
  margin-inline: 0;
 }
 body.home #primary .row:has(> .col > a > .card-blog) > .col {
  width: 100%;
  min-width: 0;
  padding-inline: 0;
  margin-bottom: 0 !important;
 }
}

/* News archive: match homepage image proportions and keep every card equal height. */
body.blog #primary .blog-grid {
 display: grid;
 grid-template-columns: repeat(3, minmax(0, 1fr));
 grid-auto-rows: 1fr;
 gap: 1.5rem;
 margin-inline: 0;
}
body.blog #primary .blog-grid > .col {
 display: flex;
 width: auto;
 min-width: 0;
 padding-inline: 0;
 margin-bottom: 0 !important;
}
body.blog #primary .blog-grid .card-blog { width: 100%; padding-bottom: 2rem; }
body.blog #primary .blog-grid .blog-card-image { aspect-ratio: 8 / 5; flex-shrink: 0; }
body.blog #primary .blog-grid .blog-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
body.blog #primary .blog-grid .card-blog > .w-max-content { margin-top: auto; }
@media (max-width: 1199.98px) {
 body.blog #primary .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
 body.blog #primary .blog-grid { grid-template-columns: 1fr; }
}

/* Show the article title above its featured image. */
.kma-single-blog__title { font-size: clamp(1.75rem, 3vw, 2.75rem); line-height: 1.2; margin: 0 0 .75rem; overflow-wrap: anywhere; }

/* Article content headings: readable hierarchy below the main post title. */
body.single-post .entry-content :is(h1,h2,h3,h4,h5,h6) { line-height: 1.35; margin-top: 1.75rem; margin-bottom: 1rem; }
body.single-post .entry-content :is(h1,h2) { font-size: clamp(1.35rem, 2vw, 1.75rem); }
body.single-post .entry-content h3 { font-size: clamp(1.2rem, 1.7vw, 1.5rem); }
body.single-post .entry-content h4 { font-size: 1.2rem; }
body.single-post .entry-content :is(h5,h6) { font-size: 1.05rem; }

/* Consistent reading size and paragraph rhythm across blog articles. */
body.single-post .entry-content { font-size: 1rem; line-height: 1.75; }
body.single-post .entry-content :is(p, li, blockquote) { font-size: 1rem !important; line-height: 1.75; }
body.single-post .entry-content p { margin-top: 0; margin-bottom: 1.25rem; }
body.single-post .entry-content :is(ul, ol, blockquote) { margin-top: 0; margin-bottom: 1.25rem; }
body.single-post .entry-content li { margin-bottom: .5rem; }
body.single-post .entry-content > :last-child { margin-bottom: 0; }

/* Shared public-site body typography, matching blog articles. */
body:not(.wp-admin) :is(main, footer) p,
body:not(.wp-admin) main blockquote,
body:not(.wp-admin) main :is(.entry-content, .kma-audience-panel, .kma-account-benefits, .kma-service-detail__content, .kma-apply-guide__content) li {
 font-size: 1rem !important;
 line-height: 1.75;
}
body:not(.wp-admin) :is(main, footer) p {
 margin-top: 0;
 margin-bottom: 1.25rem;
}
body:not(.wp-admin) :is(main, footer) p:last-child { margin-bottom: 0; }
body:not(.wp-admin) :is(main, footer) p :is(a, strong, em),
body:not(.wp-admin) main :is(.entry-content, .kma-audience-panel, .kma-account-benefits, .kma-service-detail__content, .kma-apply-guide__content) li a { font-size: inherit; }

/* Shared content-heading hierarchy. Banner titles and numeric displays retain their design. */
#primary h1 { --kma-content-heading-size: clamp(1.75rem, 3vw, 2.75rem); }
#primary h2, #primary .entry-content h1 { --kma-content-heading-size: clamp(1.35rem, 2vw, 1.75rem); }
#primary h3 { --kma-content-heading-size: clamp(1.2rem, 1.7vw, 1.5rem); }
#primary h4 { --kma-content-heading-size: 1.2rem; }
#primary :is(h5,h6) { --kma-content-heading-size: 1.05rem; }
body:not(.wp-admin):not(.home):not(.page-template-about) #primary :is(h1,h2,h3,h4,h5,h6):not(.visually-hidden, .screen-reader-text, .text-banner, .banner-heading, .number):not(.kma-programme-page-banner *):not(.kma-inner-banner-title *):not(.col:has(.number) *) {
 font-size: var(--kma-content-heading-size) !important;
 line-height: 1.35;
 margin-top: 1.75rem !important;
 margin-bottom: 1rem !important;
}

/* Consistent content-section rhythm; banner and hero sections keep their spacing. */
:root { --kma-section-space: 3rem; }
body:not(.wp-admin) #primary .section:not(:has(.breadcrumb)):not(.kma-programme-page-banner):not(body.home #primary > .section:first-child) {
 padding-bottom: var(--kma-section-space) !important;
}
body:not(.wp-admin) #primary .section:not(:has(.breadcrumb)):not(.kma-programme-page-banner):not(body.home #primary > .section:first-child):not(.section:has(.breadcrumb) + .section):not(.kma-programme-page-banner + .section) {
 padding-top: var(--kma-section-top-space, var(--kma-section-space)) !important;
}
@media (max-width: 767.98px) {
 :root { --kma-section-space: 2rem; }
}

/* Shared card interiors; media wrappers keep their existing crops and dimensions. */
:root { --kma-card-padding: 1.5rem; --kma-card-gap: 1rem; }
body:not(.wp-admin) #primary :is(.card-body, .kma-service-row__body, .kma-programme-card__body, .kma-work-card__body) {
 padding: var(--kma-card-padding) !important;
 gap: var(--kma-card-gap) !important;
}
body:not(.wp-admin) #primary :is(.kma-audience-panel, .kma-application-card, .kma-account-panel, .kma-legal-document, .kma-service-detail__panel, .kma-dashboard-content, .card-service, .testimonial-container) {
 padding: var(--kma-card-padding) !important;
}
body:not(.wp-admin) #primary :is(.card-body, .kma-service-row__body, .kma-programme-card__body, .kma-work-card__body) > :is(h1,h2,h3,h4,h5,h6,p) {
 margin-top: 0 !important;
 margin-bottom: 0 !important;
}
body:not(.wp-admin) #primary :is(.kma-audience-panel, .kma-application-card, .kma-service-detail__panel, .card-service, .testimonial-container) > :is(h1,h2,h3,h4,h5,h6) {
 margin-top: 0 !important;
 margin-bottom: var(--kma-card-gap) !important;
}
body:not(.wp-admin) #primary .card-blog {
 gap: var(--kma-card-gap) !important;
 padding-bottom: var(--kma-card-padding);
}
body:not(.wp-admin) #primary .card-blog > :not(.position-relative) {
 margin-inline: var(--kma-card-padding);
}
body:not(.wp-admin) #primary .card-blog > :is(h1,h2,h3,h4,h5,h6,p) { margin-top: 0 !important; margin-bottom: 0 !important; }
body:not(.wp-admin) #primary .card-blog > .d-flex { margin-top: calc(var(--kma-card-padding) - var(--kma-card-gap)); }
body.blog #primary .blog-grid .card-blog { padding-bottom: var(--kma-card-padding); }
@media (max-width: 767.98px) {
 :root { --kma-card-padding: 1.25rem; }
}

/* Shared public CTA sizing; icon controls and navigation retain their own layouts. */
:root { --kma-button-gap: 1rem; }
body:not(.wp-admin) #primary :is(.btn:not(.btn-close):not(.navbar-toggler), .wp-block-button__link, .kma-dashboard-button, .kma-programme-card__button, .kma-app-shell a.button, button[type="submit"], .kma-contact-send) {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 box-sizing: border-box;
 min-height: 48px;
 max-width: 100%;
 padding: 11px 24px !important;
 font-size: 1rem !important;
 font-weight: 600;
 line-height: 1.5;
 text-align: center;
 white-space: normal;
 gap: .5rem !important;
}
body:not(.wp-admin) #primary :is(.btn, .wp-block-button__link, .kma-dashboard-button, .kma-programme-card__button) > span { font-size: inherit; line-height: inherit; }
body:not(.wp-admin) #primary .btn-accent-underline { padding-inline: 0 !important; }
body:not(.wp-admin) #primary :is(.wp-block-buttons, .d-flex.flex-wrap:has(> .btn), .d-flex:has(> .wp-block-button), .d-flex.flex-row:has(> .btn + .btn)) {
 gap: var(--kma-button-gap) !important;
}

/* Shared contact and applicant form field system. */
body:not(.wp-admin) #primary :is(.kma-contact-field, .kma-field, .kma-app-field) {
 gap: .5rem;
 margin-top: 0;
 margin-bottom: 1.25rem !important;
 min-width: 0;
}
body:not(.wp-admin) #primary :is(.kma-contact-field, .kma-field, .kma-app-field):not(.kma-checkbox):not(.kma-app-field--inline) { display: grid; }
body:not(.wp-admin) #primary :is(.kma-contact-field, .kma-field, .kma-app-field) > label {
 display: block;
 margin: 0;
 font-size: 1rem;
 font-weight: 600;
 line-height: 1.5;
 color: #fff;
}
body:not(.wp-admin) #primary .kma-contact-field > label {
 position: static;
 width: auto;
 height: auto;
 padding: 0;
 overflow: visible;
 clip: auto;
 white-space: normal;
}
body:not(.wp-admin) #primary :is(.kma-contact-field, .kma-field, .kma-app-field) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="range"]), textarea, select) {
 box-sizing: border-box;
 display: block;
 width: 100%;
 max-width: 100%;
 min-height: 48px;
 padding: 11px 14px;
 border: 1px solid #ffffff40;
 border-radius: 4px;
 background: #151515;
 color: #fff;
 font-family: inherit;
 font-size: 1rem;
 line-height: 1.5;
}
body:not(.wp-admin) #primary :is(.kma-contact-field, .kma-field, .kma-app-field) textarea { min-height: 160px; resize: vertical; }
body:not(.wp-admin) #primary :is(.kma-contact-field, .kma-field, .kma-app-field) :is(input,textarea)::placeholder { color: #a6a6a6; opacity: 1; }
body:not(.wp-admin) #primary :is(.kma-contact-field, .kma-field, .kma-app-field) :is(input,textarea,select):focus-visible {
 outline: 2px solid var(--accent-color);
 outline-offset: 3px;
 border-color: var(--accent-color);
 box-shadow: none;
}
body:not(.wp-admin) #primary :is(.kma-contact-field, .kma-field, .kma-app-field) [aria-invalid="true"] { border-color: #ff9292; }
body:not(.wp-admin) #primary :is(.kma-contact-field, .kma-field, .kma-app-field) :is(input,textarea,select):disabled { opacity: .65; cursor: not-allowed; }
body:not(.wp-admin) #primary :is(.kma-checkbox, .kma-app-field--inline) { gap: .75rem; align-items: flex-start; }
body:not(.wp-admin) #primary :is(.kma-checkbox, .kma-app-field--inline) label { font-weight: 400; }
body:not(.wp-admin) #primary :is(.kma-field, .kma-app-field) :is(input[type="checkbox"],input[type="radio"]) { width: 18px; height: 18px; margin: .2rem 0 0; flex-shrink: 0; accent-color: var(--accent-color); }
body:not(.wp-admin) #primary :is(.kma-field, .kma-app-field) :is(.description,.kma-app-help) { font-size: .875rem; line-height: 1.5; margin: 0; }

/* Shared form feedback: the same structure for contact and applicant pages. */
body:not(.wp-admin) #primary :is(.kma-contact-notice, .kma-app-notice, .kma-error-summary) {
 box-sizing: border-box;
 width: 100%;
 padding: var(--kma-card-padding, 1.5rem);
 margin: 0 0 1.25rem;
 border: 1px solid #f7b23180;
 border-left: 4px solid #f7b231;
 border-radius: 4px;
 background: #f7b23112;
 color: #f2f2f2;
 font-size: 1rem;
 line-height: 1.75;
 overflow-wrap: anywhere;
}
body:not(.wp-admin) #primary :is(.kma-contact-notice--error, .kma-app-notice--error, .kma-error-summary) {
 border-color: #ff929280;
 border-left-color: #ff9292;
 background: #ff929212;
}
body:not(.wp-admin) #primary :is(.kma-contact-notice--success, .kma-app-notice--success) {
 border-color: #86d7a380;
 border-left-color: #86d7a3;
 background: #86d7a312;
}
body:not(.wp-admin) #primary :is(.kma-contact-notice, .kma-app-notice, .kma-error-summary) :is(p,ul,ol) { margin: 0 0 .75rem; color: inherit; }
body:not(.wp-admin) #primary :is(.kma-contact-notice, .kma-app-notice, .kma-error-summary) > :last-child { margin-bottom: 0; }
body:not(.wp-admin) #primary :is(.kma-contact-notice, .kma-app-notice, .kma-error-summary) :is(ul,ol) { padding-left: 1.25rem; }
body:not(.wp-admin) #primary :is(.kma-contact-notice, .kma-app-notice, .kma-error-summary) li { margin: .35rem 0; font-size: 1rem; line-height: 1.75; }
body:not(.wp-admin) #primary .kma-error-summary[hidden] { display: none !important; }
body:not(.wp-admin) #primary :is(.kma-contact-notice, .kma-app-notice, .kma-error-summary):focus-visible { outline: 2px solid var(--accent-color); outline-offset: 3px; }
body:not(.wp-admin) #primary :is(.kma-contact-field, .kma-field, .kma-app-field) :is([aria-invalid="true"], :user-invalid) {
 border-color: #ff9292;
 background: #241819;
}
body:not(.wp-admin) #primary :is(.kma-contact-field, .kma-field, .kma-app-field) :is([aria-invalid="true"], :user-invalid):focus-visible { outline-color: #ff9292; border-color: #ff9292; }
body:not(.wp-admin) #primary :is(.kma-field-error, .kma-contact-field-error, .kma-field .error, .kma-app-field .error) { color: #ffaaaa; font-size: .875rem; line-height: 1.5; margin-top: .5rem; }

/* Applicant loading, disabled and empty states. */
body.kma-application-page #primary :is(button:disabled, .button[aria-disabled="true"], .btn[aria-disabled="true"]) {
 opacity: .6;
 cursor: not-allowed;
 box-shadow: none;
 transform: none;
}
body.kma-application-page #primary :is(button[aria-busy="true"], .kma-autosave-status[aria-busy="true"]) { opacity: 1; cursor: progress; }
body.kma-application-page #primary :is(button[aria-busy="true"], .kma-autosave-status[aria-busy="true"])::before {
 content: '';
 display: inline-block !important;
 position: static;
 flex: 0 0 auto;
 width: 16px;
 height: 16px;
 margin-right: .5rem;
 padding: 0;
 border: 2px solid currentColor;
 border-right-color: transparent;
 border-radius: 50%;
 background: transparent;
 transform: none;
 animation: kma-state-spin .8s linear infinite;
}
body.kma-application-page #primary .kma-autosave-status { display: flex; align-items: center; min-height: 28px; font-size: .875rem; line-height: 1.5; }
body.kma-application-page #primary .kma-loading-state { grid-column: 1 / -1; margin: 1rem 0 0; color: var(--accent-color); font-size: .875rem !important; line-height: 1.5; }
body.kma-application-page #primary .kma-empty-state {
 padding: var(--kma-card-padding);
 margin: 1.25rem 0;
 border: 1px dashed #ffffff40;
 border-radius: 4px;
 background: #151515;
}
body.kma-application-page #primary .kma-empty-state h3 { margin: 0 0 1rem !important; }
body.kma-application-page #primary .kma-empty-state p { margin: 0; }
@keyframes kma-state-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
 body.kma-application-page #primary [aria-busy="true"]::before { animation: none; }
}
body.kma-application-page #primary :is(button:disabled, .button[aria-disabled="true"], .btn[aria-disabled="true"]) {
 background: #303030 !important;
 color: #c4c4c4 !important;
 border: 1px solid #666 !important;
 opacity: 1;
}
body.kma-application-page #primary button[aria-busy="true"]:disabled {
 background: #f7b231 !important;
 color: #151515 !important;
 border-color: #f7b231 !important;
}

/* Applicant badges and completion indicators share one accessible visual language. */
body.kma-application-page #primary .kma-status-badge {
 display: inline-flex;
 align-items: center;
 width: fit-content;
 max-width: 100%;
 min-height: 28px;
 padding: 4px 10px;
 margin: 0 0 1rem;
 border: 1px solid #888;
 border-radius: 4px;
 background: #ffffff0d;
 color: #ddd;
 font-size: .875rem;
 font-weight: 600;
 line-height: 1.4;
 white-space: normal;
}
body.kma-application-page #primary .kma-status-badge--info { color: #f7c967; border-color: #a77c32; background: #f7b23112; }
body.kma-application-page #primary .kma-status-badge--success { color: #9be0b5; border-color: #559c70; background: #86d7a312; }
body.kma-application-page #primary .kma-status-badge--error { color: #ffaaaa; border-color: #b86e6e; background: #ff929212; }
body.kma-application-page #primary .kma-completion { width: 100%; margin: 0 0 1.25rem; }
body.kma-application-page #primary .kma-completion__label { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .5rem; font-size: .875rem; line-height: 1.5; color: #ddd; }
body.kma-application-page #primary .kma-completion__label [data-kma-completion] { color: var(--accent-color); font-weight: 600; }
body.kma-application-page #primary .kma-completion__bar { display: block; width: 100%; height: 8px; border: 0; border-radius: 4px; overflow: hidden; appearance: none; background: #454545; color: var(--accent-color); accent-color: var(--accent-color); }
body.kma-application-page #primary .kma-completion__bar::-webkit-progress-bar { background: #454545; border-radius: 4px; }
body.kma-application-page #primary .kma-completion__bar::-webkit-progress-value { background: var(--accent-color); border-radius: 4px; }
body.kma-application-page #primary .kma-completion__bar::-moz-progress-bar { background: var(--accent-color); border-radius: 4px; }

/* Consistent application step navigation and Previous/Next actions. */
body.kma-application-page #primary :is(.kma-step-nav, .kma-app-tabs) {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
 gap: 1rem;
 margin: 1.5rem 0;
 padding: 0;
 counter-reset: kma-step;
}
body.kma-application-page #primary :is(.kma-step-nav button, .kma-app-tab) {
 display: inline-flex;
 align-items: center;
 justify-content: flex-start;
 gap: .5rem;
 width: 100%;
 min-width: 0;
 min-height: 48px;
 padding: 11px 16px;
 border: 1px solid #777;
 border-radius: 4px;
 background: #202020;
 color: #eee;
 font-size: 1rem;
 font-weight: 600;
 line-height: 1.5;
 text-align: left;
 white-space: normal;
}
body.kma-application-page #primary .kma-step-nav button::before {
 counter-increment: kma-step;
 content: counter(kma-step);
 display: inline-flex;
 align-items: center;
 justify-content: center;
 flex: 0 0 24px;
 width: 24px;
 height: 24px;
 border: 1px solid currentColor;
 border-radius: 50%;
 font-size: .75rem;
}
body.kma-application-page #primary :is(.kma-step-nav button, .kma-app-tab):hover:not(:disabled) { border-color: #f7b231; color: #f7c967; }
body.kma-application-page #primary :is(.kma-step-nav button[aria-current="step"], .kma-app-tab.is-active) {
 background: #f7b231;
 border-color: #f7b231;
 color: #151515;
}
body.kma-application-page #primary :is(.kma-step-nav button, .kma-app-tab, [data-kma-previous], [data-kma-next]):focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
body.kma-application-page #primary :is(.kma-step-actions, .kma-app-footer) {
 display: flex;
 flex-wrap: wrap;
 align-items: center;
 justify-content: space-between;
 gap: 1rem;
 margin-top: 1.5rem;
 padding-top: 1.5rem;
 border-top: 1px solid #ffffff40;
}
body.kma-application-page #primary :is([data-kma-previous], [data-kma-next]):not([hidden]) {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-width: 120px;
 min-height: 48px;
 padding: 11px 24px;
 border: 1px solid #f7b231;
 border-radius: 4px;
 font-size: 1rem;
 font-weight: 600;
 line-height: 1.5;
}
body.kma-application-page #primary [data-kma-previous]:not(:disabled) { background: transparent; color: #f7b231; }
body.kma-application-page #primary [data-kma-next]:not(:disabled) { background: #f7b231; color: #151515; }
body.kma-application-page #primary :is([data-kma-previous], [data-kma-next]):hover:not(:disabled) { background: #ffcb65; color: #151515; border-color: #ffcb65; }
body.kma-application-page #primary :is(.kma-step-actions, .kma-app-footer) [hidden] { display: none !important; }
@media (max-width: 991.98px) {
 body.kma-application-page #primary :is(.kma-step-nav, .kma-app-tabs) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
 body.kma-application-page #primary .kma-step-actions :is([data-kma-previous], [data-kma-next]):not([hidden]) { flex: 1; min-width: 0; }
}

/* Document fields and lists share the applicant form/card spacing. */
body.kma-application-page #primary .kma-document {
 display: grid;
 gap: 1rem;
 padding: var(--kma-card-padding);
 margin: 0 0 1.5rem !important;
 border: 1px solid #ffffff40;
 border-radius: 4px;
 background: #202020;
}
body.kma-application-page #primary .kma-document > :is(h2,h3,p) { margin: 0 !important; }
body.kma-application-page #primary .kma-document .kma-app-help { font-size: .875rem !important; line-height: 1.5; }
body.kma-application-page #primary .kma-document label { display: grid; gap: .5rem; margin: 0; font-size: 1rem; line-height: 1.5; color: #fff; }
body.kma-application-page #primary .kma-document input[type="file"] { width: 100%; max-width: 100%; min-height: 48px; padding: 8px; border: 1px solid #ffffff40; border-radius: 4px; background: #151515; color: #ddd; font-size: 1rem; line-height: 1.5; }
body.kma-application-page #primary .kma-document input[type="file"]::file-selector-button { padding: 6px 12px; margin-right: .75rem; border: 1px solid #777; border-radius: 4px; background: #303030; color: #fff; font: inherit; cursor: pointer; }
body.kma-application-page #primary .kma-document input[type="file"]:disabled::file-selector-button { cursor: not-allowed; }
body.kma-application-page #primary .kma-document [data-kma-file-list] { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
body.kma-application-page #primary .kma-document [data-file-id] { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding: var(--kma-card-padding); margin: 0; border: 1px solid #ffffff40; border-radius: 4px; background: #151515; }
body.kma-application-page #primary .kma-document [data-kma-file-summary] { flex-basis: 100%; min-width: 0; overflow-wrap: anywhere; font-size: 1rem; line-height: 1.75; color: #eee; }
body.kma-application-page #primary .kma-document [data-file-id] > label { flex-basis: 100%; min-width: 0; }
body.kma-application-page #primary .kma-document :is(button, a.kma-app-btn) { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; width: fit-content; max-width: 100%; min-height: 48px; margin: 0; padding: 11px 24px; border: 1px solid #f7b231; border-radius: 4px; background: transparent; color: #f7b231; font-size: 1rem; font-weight: 600; line-height: 1.5; }
body.kma-application-page #primary .kma-document [data-kma-upload]:not(:disabled) { background: #f7b231; color: #151515; }
body.kma-application-page #primary .kma-document [data-kma-delete-file]:not(:disabled) { color: #ffaaaa; border-color: #b86e6e; }
body.kma-application-page #primary .kma-document button:hover:not(:disabled) { background: #ffcb65; color: #151515; border-color: #ffcb65; }
body.kma-application-page #primary .kma-document [data-kma-delete-file]:hover:not(:disabled) { background: #ffaaaa; color: #151515; border-color: #ffaaaa; }
body.kma-application-page #primary .kma-document .kma-document-empty { padding: 1rem; margin: 0; border: 1px dashed #777; border-radius: 4px; background: transparent; color: #ccc; font-size: .875rem; line-height: 1.5; }
body.kma-application-page #primary [data-kma-upload-status]:empty { display: none; }
body.kma-application-page #primary [data-kma-upload-status]:not(:empty) { margin-bottom: 1.25rem; padding: 1rem; border-left: 4px solid #f7b231; background: #f7b23112; color: #eee; font-size: 1rem; line-height: 1.75; }
@media (max-width: 575.98px) {
 body.kma-application-page #primary .kma-document [data-file-id] > button { flex: 1 1 auto; }
}

/* Brands landing page shares the site's card spacing and mobile gutters. */
.kma-brands-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.5rem; }
.kma-brand-card { display:flex; flex-direction:column; min-width:0; background:#191919; border-radius:10px; overflow:hidden; }
.kma-brand-card-image { display:block; width:100%; height:auto; aspect-ratio:8/5; object-fit:cover; }
.kma-brand-card-body { display:flex; flex:1; flex-direction:column; align-items:flex-start; gap:1rem; padding:var(--kma-card-padding,1.5rem); }
.kma-brand-card-body h2,.kma-brand-card-body p { margin:0!important; }
.kma-brand-card-body .btn { margin-top:auto; }
@media(max-width:767.98px) { .kma-brands-grid { grid-template-columns:minmax(0,1fr); gap:1.25rem; } }

/* Audience pathways share equal-height columns and aligned calls to action. */
body.home .kma-pathway-col { display:flex; min-width:0; }
body.home .kma-pathway-card { display:flex; flex-direction:column; align-items:center; width:100%; height:100%; gap:1.25rem!important; padding:1.25rem; }
body.home .kma-pathway-card > img { display:block; width:80px; height:80px; object-fit:contain; flex-shrink:0; }
body.home .kma-pathway-card h4 { width:100%; margin:0!important; min-height:2.7em; }
body.home .kma-pathway-card p { margin:0!important; }
body.home .kma-pathway-card > .w-max-content { margin-top:auto!important; padding-top:.5rem; }
@media(max-width:1199.98px) { body.home .kma-pathway-card h4 { min-height:0; } }
body.home .kma-pathway-card > .d-flex { flex:1; width:100%; height:100%; gap:1.25rem!important; }
body.home .kma-pathway-card > .d-flex > img { width:80px; height:80px; object-fit:contain; flex-shrink:0; }
body.home .kma-pathway-card > .d-flex > .w-max-content { margin-top:auto!important; padding-top:.5rem; }
@media (max-width: 767.98px) {
 body.home .row:has(> .kma-pathway-col) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  margin-inline: 0;
 }
 body.home .row > .kma-pathway-col {
  width: 100%;
  padding: 0;
  margin: 0 !important;
 }
 body.home .kma-pathway-card {
  height: auto;
  padding: 1.25rem !important;
 }
 body.home .kma-pathway-card > .d-flex {
  height: auto;
  gap: 1rem !important;
 }
 body.home .kma-pathway-card > .d-flex > img {
  width: 80px;
  height: 80px;
  max-width: 80px;
 }
 body.home .kma-pathway-card h4 {
  min-height: 0;
  font-size: 1.5rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
 }
 body.home .kma-pathway-card > .d-flex > .w-max-content {
  width: 100%;
  margin-top: 0 !important;
  padding-top: .25rem;
 }
 body.home .kma-pathway-card .btn { white-space: normal; }
}


/* Continuous desktop client-logo strip; keep the mobile grid static. */
@keyframes kma-logo-scroll { to { transform:translateX(calc(-50% - 8px)); } }
@media(min-width:768px) {
 body.home .kma-logo-marquee { overflow:hidden; }
 body.home .kma-logo-marquee > .swiper-wrapper {
  display:flex; width:max-content; gap:16px;
  animation:kma-logo-scroll var(--kma-logo-duration, 45s) linear infinite;
  will-change:transform;
 }
 body.home .kma-logo-marquee > .swiper-wrapper > .swiper-slide {
  flex:0 0 clamp(160px, calc((100vw - 128px) / 5), 240px);
  width:clamp(160px, calc((100vw - 128px) / 5), 240px);
  margin:0;
 }
 body.home .kma-logo-marquee:is(:hover,:focus-within) > .swiper-wrapper { animation-play-state:paused; }
}
@media(max-width:767.98px) { body.home .swiperPartner .kma-logo-copy { display:none; } }
@media(prefers-reduced-motion:reduce) and (min-width:768px) {
 body.home .kma-logo-marquee > .swiper-wrapper { animation:none; transform:none; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); width:100%; }
 body.home .kma-logo-marquee > .swiper-wrapper > .swiper-slide { width:100%; }
 body.home .kma-logo-marquee .kma-logo-copy { display:none; }
}

/* Repeatable impact statistics wrap into balanced rows. */
.kma-impact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:1fr;align-items:stretch;gap:24px 0;width:100%;min-width:0}
.kma-impact-stat{min-width:0;padding:16px 12px;box-sizing:border-box;border-right:1px solid var(--accent-color,#b8b8b8)}
.kma-impact-stat:nth-child(3n),.kma-impact-stat:last-child{border-right:0}
.kma-impact-stat>.d-flex{height:100%;gap:12px;justify-content:flex-start}
.kma-impact-stat .gap-2{min-height:56px;width:100%;flex-wrap:wrap;justify-content:center;align-items:baseline!important;column-gap:4px!important;row-gap:0!important}
#primary .kma-impact-stat :is(.number,.kma-stat-unit){font-size:2.75rem;line-height:1.15;font-weight:600;margin:0;min-width:0;max-width:100%;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
#primary .kma-impact-stat .kma-stat-suffix{font-size:1.5rem;line-height:1.15;margin:0;max-width:100%;overflow-wrap:anywhere}
.kma-impact-stat span{display:block;font-size:1rem;line-height:1.5;margin:0;overflow-wrap:anywhere;max-width:100%}
@media(min-width:1200px){
 .kma-impact-grid{grid-template-columns:repeat(var(--kma-impact-columns,5),minmax(0,1fr));grid-auto-flow:row;gap:24px 0}
 .kma-impact-stat{padding:12px 4px}
 .kma-impact-stat:nth-child(3n){border-right:1px solid var(--accent-color,#b8b8b8)}
 .kma-impact-stat.kma-impact-desktop-row-end,.kma-impact-stat:last-child{border-right:0}
 .kma-impact-stat>.d-flex{gap:10px}
 .kma-impact-stat .gap-2{flex-wrap:nowrap;min-height:28px;column-gap:2px!important}
 #primary .kma-impact-stat :is(.number,.kma-stat-unit){font-size:clamp(1rem,1.4vw,1.25rem);overflow-wrap:normal;white-space:nowrap}
 #primary .kma-impact-stat .kma-stat-unit{font-size:.6875rem}
 #primary .kma-impact-stat .kma-stat-suffix{font-size:.625rem}
 .kma-impact-stat span{font-size:.875rem;line-height:1.5}
}
@media(min-width:768px) and (max-width:1199.98px){
 .kma-impact-grid{grid-template-columns:repeat(var(--kma-impact-tablet-columns,2),minmax(0,1fr));grid-auto-flow:row;gap:24px 0}
 .kma-impact-stat{padding:20px 12px}
 .kma-impact-stat:nth-child(3n){border-right:1px solid var(--accent-color,#b8b8b8)}
 .kma-impact-stat:nth-child(2n),.kma-impact-stat:last-child{border-right:0}
 .kma-impact-stat>.d-flex{gap:12px}
 .kma-impact-stat .gap-2{min-height:40px;column-gap:3px!important}
 #primary .kma-impact-stat .number{font-size:2rem}
 #primary .kma-impact-stat .kma-stat-unit{font-size:1.125rem}
 #primary .kma-impact-stat .kma-stat-suffix{font-size:1.125rem}
 .kma-impact-stat span{font-size:1rem;line-height:1.5;max-width:28ch;text-wrap:pretty}
}
@media(max-width:767px){
 .kma-impact-grid{grid-template-columns:minmax(0,1fr);grid-auto-flow:row;gap:16px}
 .kma-impact-stat{border-right:0;border-bottom:1px solid rgba(200,166,118,.25);padding:20px 16px}
 .kma-impact-stat:last-child{border-bottom:0}
 .kma-impact-stat>.d-flex{gap:8px}
 .kma-impact-stat .gap-2{min-height:44px}
 #primary .kma-impact-stat .number{font-size:clamp(2rem,9vw,2.25rem)}
 #primary .kma-impact-stat .kma-stat-unit{font-size:1.25rem}
 #primary .kma-impact-stat .kma-stat-suffix{font-size:1.25rem}
 .kma-impact-stat span{font-size:1rem;line-height:1.5;max-width:28ch;text-wrap:pretty}
}

/* Reusable programme/page impact cards. */
.kma-impact-section{margin-block:40px}
.kma-impact-section__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:1fr;align-items:stretch;gap:16px;margin:0;padding:0}
.kma-impact-section__card{min-width:0;min-height:160px;height:100%;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;gap:12px;padding:24px 16px;border:1px solid rgba(200,166,118,.25);border-radius:10px;background:#191919;text-align:center;overflow-wrap:anywhere}
.kma-impact-section__card dt{font-size:1rem;line-height:1.5;font-weight:600;margin:0}
.kma-impact-section__card dd{margin:0}
.kma-impact-section__value{order:-1;min-height:2.4rem;display:flex;align-items:center;justify-content:center;max-width:100%;font-size:clamp(1.5rem,2.2vw,2rem);font-weight:700;line-height:1.2;color:#ffb52e;font-variant-numeric:tabular-nums}
.kma-impact-section__card .kma-impact-section__note{margin-top:auto;font-size:.875rem;line-height:1.5;color:#bdbdbd}
@media(min-width:768px) and (max-width:1199.98px){.kma-impact-section__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767.98px){.kma-impact-section{margin-block:32px}.kma-impact-section__grid{grid-template-columns:minmax(0,1fr);gap:16px}.kma-impact-section__card{padding:20px 16px}.kma-impact-section__value{font-size:2rem}}

/* Project banners use consistent responsive dimensions and undistorted cover crops. */
#primary.kma-project-detail > .section.pt-0:first-child .kma-project-banner {
 height:auto;min-height:clamp(24rem,38vw,32rem);max-height:none;
 padding:5.5rem 0 2rem;background-size:cover;background-position:var(--kma-banner-desktop,center center);
 background-repeat:no-repeat;background-attachment:scroll;box-sizing:border-box;
}
#primary.kma-project-detail .kma-project-banner > .d-flex{width:100%;min-width:0}
#primary.kma-project-detail > .section.pt-0:first-child .kma-project-banner .text-banner{overflow-wrap:anywhere;line-height:1.05}
@media(min-width:768px) and (max-width:1199.98px){
 #primary.kma-project-detail > .section.pt-0:first-child .kma-project-banner{min-height:clamp(22rem,44vw,28rem);background-position:var(--kma-banner-tablet,var(--kma-banner-desktop,center center))}
 #primary.kma-project-detail > .section.pt-0:first-child .kma-project-banner .text-banner{font-size:clamp(2.75rem,5vw,3.5rem)}
}
@media(max-width:767.98px){
 #primary.kma-project-detail > .section.pt-0:first-child .kma-project-banner{min-height:20rem;padding:4.5rem 0 2rem;background-position:var(--kma-banner-mobile,var(--kma-banner-tablet,var(--kma-banner-desktop,center center)))}
 #primary.kma-project-detail > .section.pt-0:first-child .kma-project-banner .text-banner{font-size:clamp(2rem,8vw,2.75rem)}
 #primary.kma-project-detail .kma-project-banner .bg-accent-primary{padding-right:1rem!important}
 #primary.kma-project-detail .kma-project-banner .pt-5{padding-top:2rem!important}
}

/* Compact project card details; keep the title once and remove empty metadata rows. */
body:not(.wp-admin) #primary .kma-structured-card--project > .card-body{padding:20px!important;gap:12px!important}
body:not(.wp-admin) #primary .kma-structured-card--project > .card-body > .small-text:empty{display:none}
body:not(.wp-admin) #primary .kma-structured-card--project > .card-body > :is(h3,p){margin:0!important}
body:not(.wp-admin) #primary .kma-structured-card--project > .card-body > p{font-size:1rem;line-height:1.5}
body:not(.wp-admin) #primary .kma-structured-card--project > .card-body > .mt-auto{padding-top:4px}
@media(max-width:767.98px){body:not(.wp-admin) #primary .kma-structured-card--project > .card-body{padding:16px!important}}
body:not(.wp-admin) #primary .kma-structured-card--project.card > .card-body > h3.font-1.h4{margin:0!important}
