/*
Theme Name: Transit Ads 2026
Theme URI: https://www.transitads.co.za/
Author: Lion Marketing
Author URI: https://lionmarketing.co.za/
Description: Developed by Peter Papasotiriou for Lion Marketing.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: transit-ads
Tags: custom-theme, responsive, business, bootstrap
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
*/

/* =========================
   ROOT VARIABLES
========================= */
:root {
    --primary-color: #040503;
    --secondary-color: #da1e34;
    --accent-color: #ffffff;
    --primary-bg: #040503;
    --secondary-bg: #da1e34;
    --light-bg: #231f20;
    --text-primary: #ffffff;
    --text-secondary: #da1e34;
    --text-dark: #333333;
    --border-color: rgba(255, 255, 255, 0.08);
}

.blurred-bg {
    background-color: rgb(4, 5, 3, 0.75);
}

.primary-bg {
    background-color: var(--primary-bg) !important;
}

.secondary-bg {
    background-color: var(--secondary-bg) !important;
}

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

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

.text-secondary,
.text-red {
    color: var(--text-secondary) !important;
}

.title-shadow {
  text-shadow:
    0 4px 8px rgba(0, 0, 0, 0.65),
    0 8px 20px rgba(0, 0, 0, 0.45),
    0 2px 2px rgba(0, 0, 0, 0.8);
}

/* =========================
   GLOBAL RESET / TYPOGRAPHY
========================= */
html {
    scroll-behavior: smooth;
	overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    line-height: 1.7;
    background-color: var(--primary-bg);
    color: var(--text-primary);
	overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: 0.25s ease;
}

a:hover,
a:focus {
    color: var(--secondary-color);
}

/* Global typography */
body,
p,
span,
a,
li,
button,
input,
select,
textarea,
label,
small {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 500 !important;
	text-transform: uppercase;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.375rem;
}

h5 {
    font-size: 1.125rem;
}

.heading-1 {
    --heading-text: var(--text-secondary);
    --heading-border: var(--accent-color);
}

.heading-2 {
    --heading-text: var(--text-primary);
    --heading-border: var(--secondary-color);
}

.heading-3 {
    --heading-text: var(--text-secondary);
    --heading-border: var(--primary-color);
}

.no-heading-decoration {
    background: none !important;
    padding: 0;
    word-break: normal;
    overflow-wrap: normal;
	text-transform: none;
}

h1, h2, h3, h4, h5, h6 {
    --heading-text: var(--text-primary);
    --heading-border: var(--secondary-color);
}

h1, h2, h3, h4, h5, h6 {
    display: inline-block;
    padding: 0.5rem 1rem;

    --heading-text: var(--text-primary);
    --heading-border: var(--secondary-color);

    color: var(--heading-text);

    background:
        linear-gradient(var(--heading-border), var(--heading-border)) top left,
        linear-gradient(var(--heading-border), var(--heading-border)) top left,
        linear-gradient(var(--heading-border), var(--heading-border)) bottom right,
        linear-gradient(var(--heading-border), var(--heading-border)) bottom right;

    background-size:
        2px 35%,
        100% 2px,
        2px 35%,
        100% 2px;

    background-repeat: no-repeat;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.default-btn {
    background-color: var(--primary-color);
    color: var(--text-primary);
    border: 2px solid var(--accent-color);
    border-radius: 0;
    padding: 6px 12px;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: none;
    cursor: pointer;
}

.default-btn:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
}

.custom-container {
    max-width: 1440px;
    margin: auto;
}

.modal-backdrop {
    z-index: 0 !important;
}

/* =========================
   BOOTSTRAP TWEAKS
========================= */
.container {
    max-width: 1200px;
}

.capitalize {
    text-transform: uppercase;
}

/* =========================
   HEADER
========================= */
.site-header {
    background-color: var(--primary-bg);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 1000;
}

.site-header .navbar {
    padding-top: 1.1rem;
    padding-bottom: 1.1rem;
    background-color: transparent !important;
}

.site-header .container {
    align-items: center;
}

.site-branding {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-branding a {
    display: inline-flex;
    align-items: center;
}

.custom-logo-link {
    display: inline-flex;
    align-items: center;
}

.custom-logo {
    width: auto;
    max-height: 60px;
    height: auto;
}

.site-title {
    margin: 0;
    line-height: 1;
    font-size: 1.5rem;
    font-weight: 700;
}

.site-title a {
    color: var(--text-primary);
}

.site-description {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

/* =========================
   NAVIGATION
========================= */
.main-navigation {
    margin-left: auto;
}

.main-navigation .navbar-nav {
    gap: 2.2rem;
}

.main-navigation .menu-item {
    list-style: none;
}

.main-navigation .nav-link {
    color: var(--text-primary) !important;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    padding: 0 !important;
    line-height: 1;
}

.main-navigation .nav-link:hover,
.main-navigation .nav-link:focus,
.main-navigation .current-menu-item>.nav-link,
.main-navigation .current_page_item>.nav-link,
.main-navigation .current-menu-ancestor>.nav-link {
    color: var(--secondary-color) !important;
}

.main-navigation .menu-item-has-children>ul {
    display: none;
    position: absolute;
    background: var(--primary-bg);
    padding: 15px 0;
    min-width: 220px;
    border: 1px solid var(--border-color);
    z-index: 999;
}

.main-navigation .menu-item-has-children:hover>ul {
    display: block;
}

.main-navigation .menu-item-has-children ul li {
    padding: 8px 20px;
}

.main-navigation .menu-item-has-children ul li a {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: none;
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 0.35rem 0.55rem;
}

.navbar-toggler:focus {
    box-shadow: none;
    border-color: var(--secondary-color);
}

.dropdown-menu {
    background-color: var(--primary-bg);
    border: 1px solid var(--border-color);
}

.dropdown-item {
    color: var(--text-primary);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--light-bg);
    color: var(--secondary-color);
}

.main-navigation .menu-item-has-children {
    position: relative;
}

.main-navigation .menu-item-has-children > ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--primary-bg);
    padding: 15px 0;
    min-width: unset;
    width: max-content;
    white-space: nowrap;

    border: 1px solid var(--border-color);
    z-index: 999;
}

.main-navigation .menu-item-has-children:hover > ul {
    display: block;
}

.main-navigation .menu-item-has-children ul .menu-item-has-children {
    position: relative;
}

.main-navigation .menu-item-has-children ul .menu-item-has-children > ul {
    top: 0;
    left: 100%;
    display: none;
    position: absolute;
}

.main-navigation .menu-item-has-children ul .menu-item-has-children:hover > ul {
    display: block;
}

.main-navigation .menu-item-has-children ul li a {
    text-transform: uppercase;
}

/* =========================
   FOOTER
========================= */
.footer-divider {
    border-bottom: 2px solid var(--accent-color);
    margin-top: 10px;
}

.site-footer {
    background-color: var(--primary-bg);
    color: var(--text-primary);
    padding: 2.5rem 0;
    border-top: 1px solid var(--border-color);
}

.site-footer a {
    color: var(--text-primary);
}

.contact-icon {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50%;

    width: 25px;
    height: 25px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.contact-icon i {
    font-size: 14px;
}

.social-icon {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50%;

    width: 35px;
    height: 35px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.social-icon i {
    font-size: 20px;
}

.social-item a:hover .social-icon {
    color: var(--text-primary);
}

.contact-text {
    font-size: 0.875rem;
}

.site-footer a:hover,
.site-footer a:focus {
    color: var(--secondary-color);
}

.contact-item a:hover .contact-icon {
    color: var(--primary-color);
}

.text-divider {
    display: inline-block;
    transform: translateY(-2px);
}

.footer-logo-section-text {
    font-size: 1.15rem;
}

.footer-provantage-logo img {
    max-width: 250px;
    height: auto;
}

.footer-ohmsa-logo img {
    max-width: 160px;
    height: auto;
}



.footer-contact-nav {
    display: flex;
    gap: 25%;
    width: 100%;
}

/* =========================
   DEFAULT PAGE
========================= */
.hero-half {
    position: relative;
    height: 50vh;
    overflow: hidden;
}

.hero-quarter-full {
    position: relative;
    height: 75vh;
    overflow: hidden;
}

.entry-content {
    background-color: #ffffff;
    color: var(--primary-color);
}

.entry-content a {
    color: var(--primary-color);
}
.entry-content a:hover {
    color: var(--text-secondary);
}

/* =========================
   CTA BUTTON
========================= */

.cta-button {
    --border-right: 8px;
    --text-stroke-color: rgba(255, 255, 255, 0.6);
    --animation-color: rgba(192, 8, 31, 0.6);
    --animation-text-color: rgb(192, 8, 30);
    --fs-size: 4em;

    display: inline-block;
    position: relative;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    text-decoration: none;

    font-size: var(--fs-size);
    font-family: "Open Sans";
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    line-height: 1;
}

.cta-actual-text {
    display: block;
    color: white;
    -webkit-text-stroke: 1px var(--text-stroke-color);
    filter: drop-shadow(0 0 24px var(--animation-color));
}

.cta-hover-text {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 0;
    white-space: nowrap;
    overflow: hidden;
    color: var(--animation-text-color);
    border-right: var(--border-right) solid var(--animation-text-color);
    transition: width 0.5s ease;
    -webkit-text-stroke: 1px var(--animation-text-color);
    pointer-events: none;
}

.cta-button:hover .cta-hover-text {
    width: 100%;
    filter: drop-shadow(0 0 23px var(--primary-bg));
}

/* =========================
   FRONT PAGE
========================= */
/* Hero Section */
.hero-full {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-poster {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.hero-group {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.front-page-hero-logo img {
    max-width: 900px;
    height: auto;
}

.front-page-section-image {
    height: auto;
    max-width: 600px;
}

/* About Section */
.about-heading {
    font-size: 5rem;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 2px var(--text-primary);
}

/* Our Footprint Section */
.footprint-bg {
    position: relative;
    width: 100%;
    min-height: 600px;

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

    display: flex;
    align-items: center;
    background-attachment: fixed;
}

.footprint-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.footprint-header {
    position: relative;
    display: inline-block;
    padding: 10px 20px;
}

.footprint-value {
    position: relative;
    font-size: 15rem;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 4px var(--text-secondary);
    color: rgb(218, 30, 52, 0.2);
    line-height: 11rem;
}

.footprint-button {
    color: var(--text-primary);
    background: transparent;
    border: none;

    position: relative;
    display: inline-block;

    font-weight: 600;
    letter-spacing: 0.05em;

    cursor: pointer;

    transition: transform 0.3s ease, color 0.3s ease;
}

.footprint-button::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: var(--text-secondary);
    transition: width 0.3s ease;
}

.footprint-button:hover {
    transform: translateX(8px);
    color: var(--text-secondary);
}

.footprint-button:hover::after {
    width: 100%;
}

.footprint-map {
    position: relative;
}

.map-marker {
    position: absolute;
    transform: translate(-50%, -100%);
    opacity: 0;
    visibility: hidden;
}

.map-marker.active {
    visibility: visible;
    animation: pinWave 0.8s ease-in-out forwards;
    animation-delay: var(--delay);
}

.map-marker i {
    color: var(--accent-color);
    font-size: 30px;
}

.map-marker.active {
    animation: pinWave 0.8s ease-in-out forwards;
    animation-delay: var(--delay);
}

@keyframes pinWave {
    0% {
        opacity: 0;
        transform: translate(-50%, -100%) translateY(-30px) scale(0.5);
    }

    30% {
        opacity: 1;
        transform: translate(-50%, -100%) translateY(10px) scale(1.1);
    }

    60% {
        transform: translate(-50%, -100%) translateY(-5px) scale(1.2);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -100%) translateY(0) scale(1);
    }
}

/* News Section */
.news-articles-carousel {
    position: relative;
    padding-inline: 80px;
}

.news-articles-carousel .carousel-item {
    padding-inline: 20px;
}

.news-article-card {
    border-radius: 18px;
    background: var(--primary-bg);
}

.news-article-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.news-article-image-placeholder {
    width: 100%;
    height: 240px;
    background: var(--primary-bg);
}

.news-article-content {
    padding: 1.25rem;
    height: 200px;
}

.news-article-title a {
    color: var(--text-primary);
}

.news-article-title a:hover {
    color: var(--secondary-color);
}

.news-article-read-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.news-articles-carousel .carousel-control-prev,
.news-articles-carousel .carousel-control-next {
    width: 70px;
    height: 70px;
    top: 50%;
    transform: translateY(-50%);
}

.news-articles-carousel .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='white' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E");
}

.news-articles-carousel .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='white' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E");
}

.news-articles-carousel .carousel-control-prev-icon,
.news-articles-carousel .carousel-control-next-icon {
    width: 70px;
    height: 70px;
}

.news-articles-carousel .carousel-indicators button {
    width: 10px;
}

/* =========================
   ABOUT US TEMPLATE
========================= */
.about-us-header {
    font-size: 5rem;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 2px var(--primary-color);
    border: 5px solid var(--primary-color);
}

.youtube-video-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    text-align: center;
    position: relative;
}

.youtube-video-section > * {
    position: relative;
    z-index: 2;
}

.about-us-header {
    max-width: 800px;
}

.youtube-wrapper {
    width: 100%;
    max-width: 1000px;
    aspect-ratio: 16 / 9;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 12px;
}

.youtube-thumb,
.youtube-wrapper iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: 0;
}

.youtube-play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
}

.youtube-play::before {
    content: "▶";
    font-size: 30px;
    color: white;
    background: rgba(255, 0, 0, 0.9);
    padding: 0px 25px;
    border-radius: 10px;
}

/* =========================
   PRODUCTS ALL CATEGORIES
========================= */
.category-card {
    height: 400px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
}

.category-card.is-reverse {
    flex-direction: row-reverse;
}

.category-thumbnail,
.category-card-content {
    flex: 0 0 50%;
    max-width: 50%;
    height: 100%;
}

.category-thumbnail {
    overflow: hidden;
}

.category-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.category-card:hover .category-card-img {
    transform: scale(1.1);
}

.category-card-content {
    padding: 0 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.category-card-content h3 {
    font-size: clamp(2rem, 5vw, 4rem);
    margin: 0;
}

/* Mobile */
@media (max-width: 767.98px) {
    .category-card,
    .category-card.is-reverse {
        flex-direction: column;
        height: 500px;
    }

    .category-thumbnail,
    .category-card-content {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
    }

    .category-thumbnail {
        height: 240px;
    }

    .category-card-content {
        height: 250px;
        padding: 30px 20px;
    }
}
.category-card-content h3 {
    transition: 
        transform 0.3s ease, 
}

.category-card:hover .category-card-content h3 {
    transform: scale(1.05);
    animation:
        borderSize 1s cubic-bezier(0.65, 0, 0.35, 1) forwards,
        borderPosition 1s steps(1, end) forwards;
}

@keyframes borderSize {
    0% {
        background-size:
            3px 35%,
            100% 3px,
            3px 35%,
            100% 3px;
    }

    33% {
        background-size:
            3px 100%,
            0% 3px,
            3px 100%,
            0% 3px;
    }

    66% {
        background-size:
            3px 0%,
            100% 3px,
            3px 0%,
            100% 3px;
    }

    100% {
        background-size:
            3px 35%,
            100% 3px,
            3px 35%,
            100% 3px;
    }
}

@keyframes borderPosition {
    0%, 32% {
        background-position:
            top left,
            top left,
            bottom right,
            bottom right;
    }

    33%, 66% {
        background-position:
            top right,
            top right,
            bottom left,
            bottom left;
    }

    66%, 100% {
        background-position:
            top left,
            top left,
            bottom right,
            bottom right;
    }
}

/* =========================
   NEWS PAGE
========================= */
.news-image-wrapper {
    display: block;
    height: 100%;
    max-height: 50vh;
    overflow: hidden;
}

.current {
    color: var(--secondary-color);
}

.page-numbers {
    padding-left: 3px;
    padding-right: 3px;
}

.article-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-content {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Mobile (less content) */
@media (max-width: 768px) {
    .article-content {
        -webkit-line-clamp: 3;
    }
    .article-title {
        -webkit-line-clamp: 3;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .article-content {
        -webkit-line-clamp: 4;
    }
}

/* Desktop (more content) */
@media (min-width: 1025px) {
    .article-content {
        -webkit-line-clamp: 6;
    }
}
/* =========================
   CONTACT PAGE
========================= */

.contact-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.contact-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1;
}

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

.contact-content h1 {
    display: inline-block;
    padding: 18px 32px;
    font-size: clamp(30px, 7vw, 70px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.text-red {
    color: #d71920;
}

.contact-content p {
    max-width: 760px;
    margin: 24px auto 0;
    font-size: 18px;
    line-height: 1.7;
}

.hero-half.map-section {
    width: 100%;
    height: 50vh;
    min-height: 360px;
    overflow: hidden;
}

.map-frame {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

@media (max-width: 768px) {
    .contact-hero {
        min-height: 60vh;
        padding: 80px 16px;
    }

    .contact-content h1 {
        padding: 14px 22px;
        letter-spacing: 1px;
    }

    .contact-content p {
        font-size: 16px;
    }

    .hero-half.map-section {
        height: 45vh;
        min-height: 300px;
    }
}

/* =========================
   FOOTPRINT PAGE
========================= */
.footprint-layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 24px;
    padding: 24px;
    min-height: 75vh;
}

.footprint-sidebar {
    background: #050505;
    color: #fff;
    padding: 18px;
    border-radius: 14px;
    max-height: 75vh;
    overflow-y: auto;
}

.footprint-filters {
    display: grid;
    gap: 12px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.footprint-filters h2,
.footprint-product-types h2 {
    margin: 0;
    font-weight: 700;
}

.custom-select {
    position: relative;
}

.custom-select-trigger {
    padding: 10px;
    background: var(--primary-bg);
    border: 1px solid var(--accent-color);
    cursor: pointer;
}

.custom-options {
    display: none;
    position: absolute;
    width: 100%;
    background: var(--primary-bg);
    border: 1px solid var(--accent-color);
    z-index: 10;
}

.custom-option {
    padding: 10px;
    cursor: pointer;
}

.custom-option:hover {
    background: var(--secondary-bg);
    color: var(--primary-color);
}

.footprint-product-types {
    display: grid;
    gap: 8px;
}

.footprint-product-types label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    cursor: pointer;
}

.footprint-product-types input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #d71920;
}

.footprint-province-group {
    margin-bottom: 10px;
}

.footprint-province-toggle {
    width: 100%;
    padding: 14px 16px;
    background: var(--primary-bg);
    color: var(--text-primary);
    border: 2px solid var(--accent-color);
    font-weight: 800;
    text-align: left;
    cursor: pointer;
    text-align: center;
}

.footprint-province-toggle:hover {
    background: var(--secondary-color);
}

.footprint-map-button {
    font-weight: 600;
}

.footprint-province-content {
    display: none;
    padding-top: 12px;
    border-left: 2px solid var(--accent-color);
    border-right: 2px solid var(--accent-color);
}

.footprint-province-content.is-open {
    display: grid;
    gap: 12px;
}

.footprint-card {
    background: var(--primary-bg);
    color: var(--text-primary);
    padding: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
    border-bottom: 2px solid var(--accent-color);
}

.footprint-card h4 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 800;
}

.footprint-card p {
    margin: 5px 0;
    font-size: 14px;
}

.footprint-card-image {
    margin-bottom: 10px;
}

.footprint-card-image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
}

.footprint-map-page {
    min-height: 75vh;
    border-radius: 14px;
    overflow: hidden;
    background: var(--secondary-bg);
}

.footprint-map-page iframe,
.footprint-map-page .js-wpv-addon-maps-render,
.footprint-map-page .wpv-addon-maps-render {
    width: 100%;
    height: 75vh !important;
}

.footprint-marker-popup {
    max-width: 240px;
    font-size: 14px;
}

.footprint-marker-popup h4 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 800;
    color: var(--primary-color);
}

.footprint-marker-popup p {
    margin: 4px 0;
    color: var(--primary-bg);
}

.footprint-marker-image {
    margin-bottom: 8px;
}

.footprint-marker-image img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}

/* width */
.footprint-sidebar::-webkit-scrollbar {
    width: 8px;
}

/* track (background) */
.footprint-sidebar::-webkit-scrollbar-track {
    background: #111;
    border-radius: 10px;
}

/* handle (the draggable part) */
.footprint-sidebar::-webkit-scrollbar-thumb {
    background: var(--secondary-bg);
    border-radius: 10px;
}

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

    .footprint-sidebar {
        max-height: none;
    }

    .footprint-map-page,
    .footprint-map-page iframe,
    .footprint-map-page .js-wpv-addon-maps-render,
    .footprint-map-page .wpv-addon-maps-render {
        height: 60vh !important;
        min-height: 60vh;
    }
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 991.98px) {

    .news-articles-carousel {
        padding-inline: 45px;
    }

    .news-articles-carousel .carousel-control-prev {
        left: 0;
    }

    .news-articles-carousel .carousel-control-next {
        right: 0;
    }

    .news-articles-carousel .carousel-control-prev,
    .news-articles-carousel .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    .news-articles-carousel .carousel-control-prev-icon,
    .news-articles-carousel .carousel-control-next-icon {
        width: 40px;
        height: 40px;
    }

    .footprint-value {
        font-size: 8rem;
        line-height: 7rem;
    }

    .footprint-deliveries {
        margin-bottom: 40px;
    }

    .cta-button {
        --border-right: 6px;
        --fs-size: 2.5em;
        font-size: var(--fs-size);
    }

    .cta-hover-text {
        border-right: var(--border-right) solid var(--animation-text-color);
    }

    .hero-group {
        bottom: 5%;
        gap: 50px;
    }

    .front-page-hero-logo img {
        max-width: 400px;
    }

    .footer-contact-nav {
        flex-direction: row-reverse;
        justify-content: space-between;
        gap: 0;
        margin-bottom: 1rem;
    }

    .custom-logo {
        max-height: 52px;
    }

    .site-header {
        overflow-x: hidden;
    }

    .navbar {
        align-items: flex-start;
    }

    .site-branding img,
    .custom-logo {
        max-width: 130px;
        height: auto;
    }

    .navbar-toggler {
        margin-top: 1rem;
        z-index: 10;
    }

    .main-navigation {
        width: 100%;
        overflow: hidden;
    }

    .main-navigation .navbar-nav {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding-top: 1rem;
    }

    .main-navigation .menu-item {
        width: 100%;
        max-width: 100%;
        position: relative;
    }

    .main-navigation a {
        display: block;
        width: 100%;
        max-width: 100%;
        padding: 0.35rem 0 !important;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
        line-height: 1.3;
    }

    .main-navigation .sub-menu,
    .main-navigation .dropdown-menu {
        display: block !important;
        position: static !important;
        float: none;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 0 0 0.75rem 1rem !important;
        margin: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
        transform: none !important;
    }

    .main-navigation .sub-menu .sub-menu {
        display: none !important;
    }

    .main-navigation .menu-item-has-children > ul {
        border: 0;
    }

    .main-navigation .sub-menu li,
    .main-navigation .dropdown-menu li {
        width: 100%;
    }

    .main-navigation .sub-menu a,
    .main-navigation .dropdown-menu a {
        font-size: 0.95rem;
        white-space: normal;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 767.98px) {
    .site-header .navbar {
        padding-top: 0.9rem;
        padding-bottom: 0.9rem;
    }

    .custom-logo {
        max-height: 46px;
    }

        .youtube-video-section {
        padding: 60px 15px;
        gap: 25px;
    }

    .youtube-wrapper {
        max-width: 100%;
    }

    .youtube-play::before {
        font-size: 40px;
        padding: 10px 18px;
    }
}