/*
Theme Name: Rizlly Custom
Description: Custom Child Theme
Author: Waxed
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE ***************/

/* =================================
   01. GLOBAL / THEME OVERRIDES
   ================================= */

/* Header / Navigation */

.nav-line-bottom > li.active > a:before {
    background-color: #f7eb4c;
}
div.header-button > a.button.primary.is-outline {
    border-color: #f7eb4c;
}

/* Global Headings */

h1,
.h1,
h2,
.h2 {
    font-weight: 900 !important;
}

/* =================================
   02. PROJECTS LISTING PAGE
   ================================= */

/* =====================================
   PROJECTS PAGE - FULL WIDTH LAYOUT
   ===================================== */

body.page-template-page-projects #main,
body.page-template-page-projects .project-listing-wrapper {
    width: 100%;
    max-width: none;
}

body.page-template-page-projects .project-listing-wrapper .container-fluid {
    width: 100%;
    max-width: none;
    padding-left: 40px;
    padding-right: 40px;
}

body.page-template-page-projects .project-listing-wrapper .row {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

/* =====================================
   PROJECT FILTER SIDEBAR
   ===================================== */

.widget_project_tags {
    margin-bottom: 35px;
}

.widget_project_tags .widget-title {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #333;
}

.project-filter-form {
    margin-top: 15px;
}

.project-filter-reset {
    display: block;
    padding: 10px 0 12px;
    font-size: 0.95rem;
    color: #334862;
    border-bottom: 1px solid rgba(0,0,0,.08);
}

.project-filter-reset.active {
    font-weight: 700;
}

.project-filter-section {
    margin-top: 0px;
	margin-bottom: 10px;
}

.project-filter-heading {
    display: block;
    margin-bottom: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #666;
}

/* =====================================
   FILTER LISTS
   ===================================== */

.project-filter-list {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
}

.project-filter-list li {
    margin: 0;
    border-bottom: 1px solid rgba(0,0,0,.08);
}

.project-filter-list label {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 9px 0;
    margin: 0;
    cursor: pointer;
    font-size: 0.95rem;
    color: #334862;
}

.project-filter-list label:hover span {
    color: #111;
}

.project-filter-list input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 17px;
    height: 17px;
    min-width: 17px;
    border: 1px solid rgba(0,0,0,.35);
    border-radius: 2px;
    margin: 0;
    background: #fff;
    position: relative;
    cursor: pointer;
}

.project-filter-list input[type="checkbox"]:checked {
    background: #334862;
    border-color: #334862;
}

.project-filter-list input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.project-filter-list label > span {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    font-weight: 500;
}

.project-filter-list .count {
    opacity: .55;
    font-size: .85em;
    font-weight: 400;
}

.project-filter-form .button {
    width: 100%;
    margin-top: 10px;
    justify-content: center;
}

/* =====================================
   CATEGORY HIERARCHY
   ===================================== */

.project-filter-list .project-filter-list {
    margin: 0;
    padding: 0;
}

.project-category-depth-0 {
    border-bottom: none !important;
}

.project-category-depth-0 > label {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: .04em;
    color: #444;
    min-height: 36px;
    cursor: default;
}

.project-category-depth-0 > label input {
    display: none;
}

.project-category-depth-0 > label .count {
    display: none;
}

.project-category-depth-1 > label {
    padding-left: 0;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
}

.project-category-depth-2 > label {
    padding-left: 40px;
}

.project-category-depth-2 > label::before {
    content: "—";
    position: absolute;
    left: 20px;
    opacity: .35;
}

.project-category-depth-3 > label {
    padding-left: 60px;
}

.project-category-depth-3 > label::before {
    content: "—";
    position: absolute;
    left: 40px;
    opacity: .35;
}

/* =====================================
   PROJECT GRID
   ===================================== */

.project-box {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-image-wrap {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 420px !important;
}

.project-image-wrap a {
    display: block;
    width: 100%;
    height: 100%;
}

.project-image-wrap img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center center;
    display: block;
    transition: transform 0.4s ease;
}

.project-image-wrap:hover img {
    transform: scale(1.03);
}

.project-card-content,
.project-box .box-text {
    padding-top: 22px;
}

.project-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.project-card-text {
    flex: 1;
    min-width: 0;
}

.project-title {
    margin: 0;
    font-size: clamp(2rem, 2.4vw, 3rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.055em;
}

.project-title a {
    color: #111;
}

.project-title a:hover {
    color: #334862;
}

.project-card-meta {
    margin-top: 5px;
    font-size: clamp(1rem, 1.2vw, 1.35rem);
    font-weight: 400;
    line-height: 1.25;
    color: #7a7a7a;
    letter-spacing: -0.025em;
}

.project-card-meta-separator {
    padding: 0 4px;
}

.project-card-summary {
    margin-top: 8px;
    max-width: 680px;
    font-size: clamp(1rem, 1.05vw, 1.22rem);
    font-weight: 400;
    line-height: 1.35;
    color: #333;
    letter-spacing: -0.025em;
}
/* Circular arrow button */

.project-card-arrow {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border: 1px solid rgba(0,0,0,.10);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111;
    text-decoration: none;
    margin-top: 4px;
    transition: all .25s ease;
}
.project-card-arrow i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 28px;
    line-height: 1;
    margin: 0;
    transform: translate(1px, 0);
}
.project-card-arrow:hover {
    background: #111;
    color: #fff;
    border-color: #111;
}

/* =====================================
   PROJECT COMPONENT BADGES
   ===================================== */

.project-component-badges {
    position: absolute;
    top: 18px;
    left: 18px;
    right: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    z-index: 2;
}

.project-component-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 15px;
    border-radius: 999px;
    background: #fff;
    color: #222;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
}

/* =====================================
   SINGLE PROJECT BREADCRUMB
   ===================================== */

.single-project .project-single-wrapper {
    width: 100%;
    max-width: none;
}

.single-project .project-breadcrumb-wrap {
    width: 100%;
    background: #f7f7f7;
    border-top: 1px solid rgba(0,0,0,.06);
    border-bottom: 1px solid rgba(0,0,0,.08);
}

.single-project .project-breadcrumb {
    max-width: 1180px;
    margin: 0 auto;
    padding: 14px 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    line-height: 1.4;
    color: #777;
}

.single-project .project-breadcrumb a {
    color: #334862;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.single-project .project-breadcrumb a:hover {
    color: #111;
}

.single-project .project-breadcrumb-separator {
    color: #aaa;
}

.single-project .project-breadcrumb-current {
    color: #555;
    font-weight: 500;
}

.single-project .project-single-content {
    width: 100%;
    max-width: none;
}

.single-project .project-breadcrumb-parent {
    color: #111;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* =====================================
   PAGINATION
   ===================================== */

.project-pagination {
    margin-top: 30px;
    text-align: center;
}

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

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

    body.page-template-page-projects .project-listing-wrapper .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }

    .project-image-wrap {
        height: 320px !important;
    }

    .project-title {
        font-size: 2rem;
    }

    .project-card-meta,
    .project-card-summary {
        font-size: 1rem;
    }

    .project-card-arrow {
        width: 44px;
        height: 44px;
        min-width: 44px;
    }

    .project-component-badges {
        top: 10px;
        left: 10px;
        right: 10px;
        gap: 6px;
    }

    .project-component-badge {
        padding: 5px 10px;
        font-size: 0.68rem;
    }

    .project-category-depth-1 > label {
        padding-left: 15px;
    }

    .project-category-depth-2 > label {
        padding-left: 30px;
    }

    .project-category-depth-3 > label {
        padding-left: 45px;
    }

    .single-project .project-breadcrumb {
        padding: 12px 15px;
        font-size: 0.78rem;
    }
}

/* Featured project spans two columns */

.project-grid-row .project-card-featured {
    flex-basis: 100%;
    max-width: 100%;
}

.project-card-featured .project-image-wrap {
    height: 520px !important;
}

@media only screen and (max-width: 849px) {
    .project-card-featured .project-image-wrap {
        height: 320px !important;
    }
}

@media only screen and (max-width: 549px) {
    .project-card-featured .project-image-wrap {
        height: 240px !important;
    }
}

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

    .project-image-wrap {
        height: 240px !important;
    }

    .project-card-header {
        gap: 12px;
    }

    .project-title {
        font-size: 1.75rem;
    }
}
.home-projects-section {
    width: 100%;
}

.home-projects-section .project-grid-row {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

/* =================================
   PROJECTS LISTING INTRO
   ================================= */

.project-results > section.projects-listing-intro {
    margin-bottom: 60px;
    max-width: 980px;
}

.project-results > section.projects-listing-intro > .projects-listing-intro__label {
    background: #f0e500;
    color: #000;
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    padding: 3px 18px;
    text-transform: uppercase;
}

.project-results > section.projects-listing-intro > .projects-listing-intro__title {
    color: #000;
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 1.12;
    margin-bottom: 24px;
    max-width: 720px;
}

.project-results > section.projects-listing-intro > .projects-listing-intro__content {
    color: #000;
    font-size: 1.2rem;
    line-height: 1.65;
    max-width: 900px;
}

.project-results > section.projects-listing-intro > .projects-listing-intro__content p {
    margin-bottom: 0;
}

@media (max-width: 849px) {
    .project-results > section.projects-listing-intro {
        margin-bottom: 45px;
    }

    .project-results > section.projects-listing-intro > .projects-listing-intro__title {
        font-size: 2.6rem;
    }

    .project-results > section.projects-listing-intro > .projects-listing-intro__content {
        font-size: 1.05rem;
    }
}

/* =================================
   03. HOME PAGE SECTIONS
   ================================= */

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

.hero-label {
    background: #f0e500;
    color: #000;
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 25px;
    padding: 4px 12px;
    text-transform: uppercase;
}

.hero-title {
    color: #fff;
    font-size: 5.5rem;
    font-weight: 700;
    line-height: 0.92;
    margin-bottom: 25px;
}

.hero-intro {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    line-height: 1.5;
    margin-bottom: 40px;
    max-width: 650px;
}

.hero-banner .button {
    border-radius: 12px;
    height: 54px;
    line-height: 54px;
    padding: 0 28px;
}

.hero-banner .button.is-outline {
    border-color: #f0e500;
    color: #f0e500;
}

.hero-banner .button.is-outline:hover {
    background: #f0e500;
    color: #000;
}

/* =================================
   INTRO SECTION
   ================================= */

.intro-statement {
    color: #000;
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 90px;
    max-width: 720px;
}

.intro-statement span {
    background: #f0e500;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    display: inline;
    line-height: 1.4;
    padding: 0 18px;
}

.intro-label,
.brands-label,
.crew-label,
.services-label,
.scale-label {
    background: #f0e500;
    color: #000;
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.intro-label {
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    padding: 3px 18px;
}

.intro-copy {
    color: #000;
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 680px;
}

.intro-stats {
    border-top: 1px solid rgba(0, 0, 0, 0.18);
    display: grid;
    gap: 50px;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 70px;
    padding-top: 55px;
}

.intro-stat strong {
    color: #000;
    display: block;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 14px;
}

.intro-stat em {
    color: #f0e500;
    font-style: normal;
}

.intro-stat span {
    color: #000;
    display: block;
    font-size: 1rem;
    line-height: 1.35;
}

/* =================================
   BRANDS SECTION
   ================================= */

.brands-label {
    letter-spacing: 0.5px;
    margin-bottom: 40px;
    padding: 3px 24px;
}

.brands-heading {
    color: #000;
    font-size: 3.4rem;
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 20px;
    max-width: 760px;
}

.brands-grid {
    align-items: center;
    display: grid;
    gap: 70px 36px;
    grid-template-columns: repeat(11, auto);
}

.brand-logo img {
    display: block;
    height: auto;
    max-height: 70px;
    max-width: 150px;
    width: auto;
}

.brand-divider {
    background: #f0e500;
    display: block;
    height: 54px;
    transform: skew(-18deg);
    width: 8px;
}

/* =================================
   CREW SECTION
   ================================= */

section.crew-section {
    background-image: url("https://rizlly.tozer.co.za/wp-content/uploads/2026/06/founders-bg-slice.jpg");
    background-position: top center;
    background-repeat: repeat-y;
    background-size: 100% auto;
    padding-top: 120px !important;
}

.crew-label {
    margin-bottom: 24px;
    padding: 3px 18px;
}

.crew-heading {
    color: #000;
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 20px;
}

.crew-subcopy {
    color: #000;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 620px;
}

.crew-copy {
    color: #000;
    font-size: 1.1rem;
    line-height: 1.75;
    max-width: 680px;
}

.crew-copy p {
    margin-bottom: 28px;
}

/* =================================
   SERVICES SECTION
   ================================= */

.services-label {
    margin-bottom: 24px;
    padding: 3px 22px;
}

.services-heading {
    color: #000;
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 24px;
}

.services-intro {
    color: #000;
    font-size: 1.35rem;
    line-height: 1.45;
    margin-bottom: 90px;
    max-width: 760px;
}

.services-divider {
    background: rgba(0, 0, 0, 0.75);
    height: 1px;
    margin-bottom: 40px;
    width: 100%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-item {
    width: 100%;
}

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

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

.service-item {
    min-height: 300px;
    padding: 0 46px 0 40px;
    position: relative;
}

/* .service-item:first-child {
    padding-left: 0;
} */

.service-item:not(:last-child):after {
    background: #f0e500;
    content: "";
    height: 230px;
    position: absolute;
    right: 0;
    top: 25px;
    width: 1px;
}

.service-number {
    color: rgba(0, 0, 0, 0.14);
    display: block;
    font-size: 1.7rem;
    font-weight: 400;
    margin-bottom: 55px;
}

.service-item h3 {
    color: #000;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 36px;
}

.service-item p {
    color: #000;
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 0;
}

/* =================================
   SCALE SECTION
   ================================= */

section.scale-section {
    position: relative;
}

section.scale-section:before {
    background: rgba(0, 0, 0, 0.32);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 1;
}

section.scale-section .section-content {
    position: relative;
    z-index: 2;
}

.scale-content {
    color: #fff;
    margin-bottom: 80px;
    max-width: 740px;
}

.scale-label {
    margin-bottom: 22px;
    padding: 3px 18px;
}

.scale-heading {
    color: #fff;
    font-size: 3.6rem;
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 10px;
}

.scale-intro {
    color: #fff;
    font-size: 1.35rem;
    line-height: 1.4;
}

.scale-stats {
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 80px;
    padding: 60px;
    border-radius: 15px;
}

.scale-stat {
    min-height: 230px;
    padding: 0 46px 0 0;
    position: relative;
}

.scale-stat:not(:last-child):after {
    background: #f0e500;
    bottom: 0;
    content: "";
    height: 210px;
    position: absolute;
    right: 35px;
    width: 1px;
}

.scale-stat p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.25;
    margin-bottom: 4px;
}

.scale-stat strong {
    color: #fff;
    display: block;
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 22px;
}

.scale-stat span {
    color: #fff;
    display: block;
    font-size: 1.15rem;
    line-height: 1.35;
}

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

@media (max-width: 1024px) {

    .services-grid,
    .scale-stats {
        gap: 50px 40px;
        grid-template-columns: repeat(2, 1fr);
    }

    .service-item,
    .scale-stat {
        border-top: 1px solid rgba(240, 229, 0, 0.4);
        min-height: auto;
        padding-top: 25px;
    }

    .service-item:not(:last-child):after,
    .scale-stat:not(:last-child):after {
        display: none;
    }

    .service-item:first-child {
        padding-left: 40px;
    }
}

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

@media (max-width: 849px) {

    .footer-heading {
        font-size: 2.8rem;
    }

    .rizlly-form-row {
        flex-direction: column;
        gap: 24px;
        margin-bottom: 24px;
    }

    .rizlly-submit-row {
        align-items: top;
        flex-direction: column;
        gap: 20px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-intro {
        font-size: 1rem;
    }

    .intro-statement {
        font-size: 2.2rem;
        margin-bottom: 50px;
    }

    .intro-stats {
        gap: 20px;
        grid-template-columns: repeat(3, 1fr);
        margin-top: 45px;
        padding-top: 35px;
    }

    .intro-stat strong {
        font-size: 2.5rem;
    }

    .intro-stat span {
        font-size: 0.9rem;
        line-height: 1.3;
    }

    .brands-heading {
        font-size: 2.4rem;
        margin-bottom: 50px;
    }

    .brands-grid {
        gap: 38px 24px;
        grid-template-columns: repeat(5, auto);
    }

    .brand-logo img {
        max-height: 48px;
        max-width: 110px;
    }

    .brand-divider {
        height: 38px;
        width: 6px;
    }

    .crew-heading {
        font-size: 2.2rem;
    }

    .crew-copy {
        font-size: 1rem;
        margin-top: 30px;
    }

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

    .services-intro {
        font-size: 1.1rem;
        margin-bottom: 55px;
    }

    .services-grid,
    .scale-stats {
        gap: 40px;
        grid-template-columns: 1fr;
    }

    .service-item,
    .service-item:first-child,
    .scale-stat {
        border-top: none;
        min-height: auto;
        padding: 0 0 35px;
    }

    .service-item:not(:last-child):after,
    .scale-stat:not(:last-child):after {
        bottom: 0;
        display: block;
        height: 1px;
        left: 0;
        right: auto;
        top: auto;
        width: 100%;
    }

    .service-number {
        margin-bottom: 25px;
    }

    .service-item h3 {
        margin-bottom: 20px;
    }

    .scale-content {
        margin-bottom: 60px;
    }

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

    .scale-intro {
        font-size: 1.1rem;
    }

    .scale-stats {
        margin-top: 60px;
        padding: 40px 30px;
    }
}

/* =================================
   TESTIMONIAL SLIDER
   ================================= */

.testimonial-section {
    background: #cfd0d0;
}

.testimonial-slide {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 600px;
    padding: 90px 12%;
}

.testimonial-slide blockquote {
    border: none;
    color: #000;
    font-size: 3.1rem;
    font-weight: 400;
    line-height: 1.25;
    margin: 0 0 85px;
    max-width: 1100px;
    padding: 0;
}

.testimonial-slide blockquote span {
    color: rgba(0, 0, 0, 0.32);
}

.testimonial-meta {
    align-items: center;
    display: flex;
    gap: 28px;
    max-width: 1100px;
    width: 100%;
}

.testimonial-meta img {
    display: block;
    height: auto;
    max-width: 130px;
}

.testimonial-divider {
    background: #f0e500;
    display: block;
    height: 70px;
    width: 6px;
}

.testimonial-meta p {
    color: #000;
    font-size: 1.25rem;
    line-height: 1.4;
    margin: 0;
}

/* Flatsome slider arrows */

.testimonial-section .flickity-prev-next-button {
    background: transparent;
    opacity: 1;
}

.testimonial-section .flickity-prev-next-button svg {
    display: none;
}

.testimonial-section .flickity-prev-next-button.previous:before,
.testimonial-section .flickity-prev-next-button.next:before {
    color: #000;
    font-size: 70px;
    font-weight: 200;
    line-height: 1;
}

.testimonial-section .flickity-prev-next-button.previous:before {
    content: "‹";
}

.testimonial-section .flickity-prev-next-button.next:before {
    content: "›";
}

/* Tablet */

@media (max-width: 1024px) {
    .testimonial-slide {
        min-height: 520px;
        padding: 70px 10%;
    }

    .testimonial-slide blockquote {
        font-size: 2.4rem;
    }
}

/* Mobile */

@media (max-width: 849px) {
    .testimonial-slide {
        align-items: flex-start;
        min-height: 520px;
        padding: 70px 40px;
    }

    .testimonial-slide blockquote {
        font-size: 1.9rem;
        margin-bottom: 55px;
    }

    .testimonial-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .testimonial-divider {
        height: 6px;
        width: 70px;
    }

    .testimonial-meta p {
        font-size: 1rem;
    }
}

/* =================================
   CIRCULAR STRATEGY
   ================================= */

.circular-label {
    background: #f0e500;
    color: #000;
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    padding: 3px 18px;
    text-transform: uppercase;
}

.circular-heading {
    color: #fff;
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.05;
    margin-bottom: 35px;
}

.circular-copy {
    color: rgba(255,255,255,.92);
    font-size: 1.1rem;
    line-height: 1.9;
    max-width: 520px;
}

.circular-diagram img {
    display: block;
    margin: 0 auto;
    max-width: 560px;
    width: 100%;
}

section.circular-section {
    position: relative;
}

section.circular-section:before {
    background: rgba(0,0,0,.22);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 1;
}

section.circular-section .section-content {
    position: relative;
    z-index: 2;
}

/* =================================
   04. FOOTER / CONTACT FORM
   ================================= */

/* =================================
   FOOTER PROJECT SECTION
   ================================= */

.footer-heading {
    color: #fff;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 0.95;
    margin-bottom: 20px;
}

.footer-intro {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 620px;
}

.footer-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-contact-block {
    margin-top: 80px;
}

.footer-contact-block h6 {
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.footer-contact-block p {
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: 20px;
}

.project-label {
    align-items: center;
    color: rgba(255, 255, 255, 0.65);
    display: flex;
    font-size: 14px;
    gap: 14px;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.project-label:before {
    background: #f0e500;
    border-radius: 2px;
    content: "";
    display: block;
    height: 4px;
    width: 28px;
}

.rizlly-footer-logo {
    max-width: 100px;
}

/* =================================
   CONTACT FORM 7
   ================================= */

.rizlly-form-row {
    display: flex;
    gap: 24px;
    margin-bottom: 34px;
}

.rizlly-form-row .half {
    flex: 1;
}

.rizlly-form-row label,
.full label {
    color: rgba(255, 255, 255, 0.48);
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.5px;
    line-height: 1;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.rizlly-form-row input,
.rizlly-form-row select,
.full textarea {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    box-shadow: none;
    color: #fff !important;
    font-size: 16px;
    line-height: 1.2;
    min-height: 30px;
    opacity: 1 !important;
    padding: 10px 15px;
    width: 100%;
}

.rizlly-form-row input::placeholder,
.full textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
    opacity: 1;
}

.rizlly-form-row input:focus,
.rizlly-form-row select:focus,
.full textarea:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: none;
    color: #fff !important;
    outline: none;
}

.full {
    margin-bottom: 70px;
}

.full textarea {
    height: 150px;
    resize: vertical;
}

.rizlly-submit-row {
    align-items: self-start;
    display: flex;
    gap: 10px;
}

.rizlly-submit-row input[type="submit"] {
    background: #fff200;
    border: none;
    border-radius: 999px;
    color: #000;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    min-width: 240px;
    padding: 15px 30px;
}

.direct-email {
    color: rgba(255, 255, 255, 0.38);
    font-size: 18px;
}

.direct-email a {
    color: rgba(255, 255, 255, 0.55);
}

/* =================================
   CONTACT FORM 7 MESSAGES
   ================================= */

.wpcf7 form.sent .wpcf7-response-output {
    background: rgba(240, 227, 79, 0.08);
    border: 1px solid rgba(240, 227, 79, 0.35);
    border-radius: 14px;
    color: #f0e34f;
    font-size: 16px;
    line-height: 1.5;
    margin: 40px 0 0;
    padding: 18px 24px;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    background: rgba(255, 107, 107, 0.08);
    border: 1px solid rgba(255, 107, 107, 0.35);
    border-radius: 14px;
    color: #ff8f8f;
    font-size: 16px;
    line-height: 1.5;
    margin: 40px 0 0;
    padding: 18px 24px;
}

.wpcf7-not-valid-tip {
    color: #ff8f8f;
    font-size: 13px;
    font-weight: 500;
    margin-top: 8px;
}

.wpcf7-not-valid {
    border-color: rgba(255, 107, 107, 0.45) !important;
}

.wpcf7-spinner {
    filter: brightness(0) saturate(100%) invert(88%) sepia(43%) saturate(1367%) hue-rotate(5deg) brightness(105%) contrast(102%);
}

/* =================================
   FOOTER NAVIGATION
   ================================= */

.footer-company-intro {
    color: rgba(255,255,255,.65);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-top: 30px;
    max-width: 320px;
}

.footer-menu-title {
    color: rgba(255,255,255,.45);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 28px;
    text-transform: uppercase;
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 18px;
}

.footer-menu a,
.footer-menu li {
    color: rgba(255,255,255,.82);
    font-size: 1.15rem;
    text-decoration: none;
}

.footer-menu a:hover {
    color: #fff200;
}

.footer-copyright,
.footer-tagline {
    color: rgba(255,255,255,.38);
    font-size: 14px;
    margin: 0;
}

.footer-tagline {
    text-align: right;
}

.footer-bottom-row {
    border-top: 1px solid rgba(255,255,255,.08);
    margin-top: 90px;
    padding-top: 35px;
}

/* =================================
   05. PROJECT CASE STUDY TEMPLATE
   ================================= */

/* =================================
   PROJECT CASE STUDY TEMPLATE
   ================================= */

section.project-hero {
    min-height: 720px;
    position: relative;
}

section.project-hero:before,
section.project-next:before {
    background: rgba(0, 0, 0, 0.42);
    content: "";
    inset: 0;
    position: absolute;
    z-index: 1;
}

section.project-hero > .section-content,
section.project-next > .section-content {
    position: relative;
    z-index: 2;
}

section.project-hero .project-hero__content {
    color: #fff;
    max-width: 620px;
    padding-top: 360px;
}

section.project-hero .project-hero__content h1 {
    color: #fff;
    font-size: 3.8rem;
    font-weight: 400;
    line-height: 1.05;
    margin-bottom: 14px;
}

section.project-hero .project-hero__content p {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 24px;
}

.project-label {
    background: #f0e500;
    color: #000;
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 18px;
    padding: 3px 16px;
    text-transform: uppercase;
}

.project-button {
    background: #f0e500;
    border-radius: 999px;
    color: #000;
}

/* Meta */

section.project-meta-section {
    background: #fff;
    padding: 0;
}

section.project-meta-section .project-meta {
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

section.project-meta-section .project-meta div {
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    padding: 24px 30px;
}

section.project-meta-section .project-meta div:last-child {
    border-right: none;
}

section.project-meta-section .project-meta span {
    color: rgba(0, 0, 0, 0.45);
    display: block;
    font-size: 11px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

section.project-meta-section .project-meta strong {
    color: #000;
    display: block;
    font-size: 0.95rem;
    font-weight: 400;
}

/* Copy Sections */

section.project-copy-section {
    background: #fff;
    padding: 80px 0;
}

section.project-copy-section .project-copy {
    max-width: 900px;
}

section.project-copy-section .project-copy h2 {
    color: #000;
    font-size: 2.7rem;
    font-weight: 400;
    line-height: 1.18;
    margin-bottom: 28px;
}

section.project-copy-section .project-copy p {
    color: #000;
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 22px;
}

section.project-copy-section .project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

section.project-copy-section .project-tags span {
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 999px;
    color: #000;
    font-size: 0.85rem;
    padding: 7px 14px;
}

/* Gallery */

section.project-gallery-section {
    background: #fff;
    padding: 40px 0 100px;
}

section.project-gallery-section .project-gallery {
    margin: 0 auto;
    max-width: 1100px;
}

section.project-gallery-section .project-gallery img {
    display: block;
    width: 100%;
}

section.project-gallery-section .project-gallery__grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 24px;
}

/* Dark Result Section */

section.project-dark-section {
    background: #000;
    color: #fff;
    padding: 110px 0;
}

section.project-dark-section .project-dark h2 {
    color: #fff;
    font-size: 2.7rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 55px;
    max-width: 780px;
}

section.project-dark-section .project-results {
    border: 1px solid #f0e500;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

section.project-dark-section .project-results div {
    border-right: 1px solid rgba(240, 229, 0, 0.55);
    padding: 28px 36px;
}

section.project-dark-section .project-results div:last-child {
    border-right: none;
}

section.project-dark-section .project-results strong {
    color: #f0e500;
    display: block;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 10px;
}

section.project-dark-section .project-results span {
    color: rgba(255, 255, 255, 0.82);
    display: block;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Testimonial */

section.project-testimonial-section {
    background: #fff;
    padding: 120px 0;
}

section.project-testimonial-section .project-testimonial {
    margin: 0 auto;
    max-width: 900px;
}

section.project-testimonial-section .project-testimonial blockquote {
    border: none;
    color: #000;
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.25;
    margin: 0 0 50px;
    padding: 0;
}

section.project-testimonial-section .project-testimonial__meta {
    align-items: center;
    display: flex;
    gap: 24px;
}

section.project-testimonial-section .project-testimonial__meta img {
    max-width: 90px;
}

section.project-testimonial-section .project-testimonial__meta span {
    background: #f0e500;
    display: block;
    height: 50px;
    width: 5px;
}

section.project-testimonial-section .project-testimonial__meta p {
    color: #000;
    margin: 0;
}

/* Next Project */

section.project-next {
    min-height: 360px;
    position: relative;
}

section.project-next .project-next__content {
    color: #fff;
    padding: 140px 0;
}

section.project-next .project-next__content h2 {
    color: #fff;
    font-size: 3rem;
    font-weight: 400;
}

/* Tablet */

@media (max-width: 1024px) {
    section.project-meta-section .project-meta {
        grid-template-columns: repeat(2, 1fr);
    }

    section.project-dark-section .project-results {
        grid-template-columns: 1fr;
    }

    section.project-dark-section .project-results div {
        border-bottom: 1px solid rgba(240, 229, 0, 0.55);
        border-right: none;
    }

    section.project-dark-section .project-results div:last-child {
        border-bottom: none;
    }
}

/* Mobile */

@media (max-width: 849px) {
    section.project-hero {
        min-height: 620px;
    }

    section.project-hero .project-hero__content {
        padding-top: 300px;
    }

    section.project-hero .project-hero__content h1 {
        font-size: 2.5rem;
    }

    section.project-meta-section .project-meta {
        grid-template-columns: 1fr;
    }

    section.project-meta-section .project-meta div {
        border-right: none;
    }

    section.project-copy-section {
        padding: 60px 0;
    }

    section.project-copy-section .project-copy h2,
    section.project-dark-section .project-dark h2,
    section.project-next .project-next__content h2 {
        font-size: 2rem;
    }

    section.project-gallery-section .project-gallery__grid {
        grid-template-columns: 1fr;
    }

    section.project-testimonial-section .project-testimonial blockquote {
        font-size: 1.8rem;
    }

    section.project-testimonial-section .project-testimonial__meta {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =================================
   06. FINAL OVERRIDES
   ================================= */

div.testimonial-slide > blockquote {
    font-style: normal !important;
    font-weight: 900;
}
.hero-label {
    font-size: 10px;
}
.hero-title {
    font-size: 3rem;
}

.hero-intro {
    font-size: 1rem;
}
.footer-contact-block a {
	color: #fff;
}
.project-next {
    position: relative;
    height: 550px;
    overflow: hidden;
}

.project-next__link {
    display: block;
    width: 100%;
    height: 100%;
    color: #fff;
}

.project-next__image {
    position: absolute;
    inset: 0;

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

    z-index: 1;

    transition: transform .5s ease;
}

.project-next:hover .project-next__image {
    transform: scale(1.03);
}

.project-next__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 2;
}

.project-next .container {
    position: relative;
    z-index: 3;

    height: 100%;

    display: flex;
    align-items: center;
}

.project-next__content {
    max-width: 700px;
}

.project-label {
    display: inline-block;
    background: #ffe600;
    color: #000;
    padding: 3px 18px;
    margin-bottom: 22px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.project-next h2 {
    color: #fff;
    font-size: clamp(42px,5vw,72px);
    line-height: 1.05;
    margin-bottom: 35px;
}

.project-next .button {
    margin: 0;
}
body.page-id-104 section.footer-form-riz {
	display: none;
}