/*
Theme Name: The Colandi Group
Theme URI: https://colandi.co.za
Author: The Colandi Group
Author URI: https://colandi.co.za
Description: High-craft editorial management consulting, Marketing BPO, and Risk Governance WordPress theme for The Colandi Group. Tagline: Professional Results, Without the Payroll.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: the-colandi-group
*/

@font-face {
    font-family: 'Albra';
    src: local('Albra'), local('Albra Regular'), local('Albra-Regular');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Albra';
    src: local('Albra Bold'), local('Albra-Bold'), local('Albra SemiBold');
    font-weight: 600 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --brand-navy: #011e60;
    --brand-navy-dark: #00123a;
    --brand-cyan: #00aff0;
    --brand-white: #ffffff;
    --brand-surface: #f8fafc;
    --brand-ink: #0f172a;
    --brand-slate: #475569;
    --brand-rule: #e2e8f0;
}

* {
    border-radius: 0px !important;
}

html {
    scroll-behavior: smooth;
    font-family: 'Assistant', sans-serif;
    color: var(--brand-ink);
    background-color: var(--brand-white);
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: 'Albra', 'Playfair Display', Georgia, serif;
}

.font-sans-body {
    font-family: 'Assistant', sans-serif;
}

/* Header & Mega Menu */
.site-header {
    background-color: var(--brand-white);
    border-bottom: 1px solid var(--brand-rule);
    position: sticky;
    top: 0;
    z-index: 60;
}

.nav-dropdown {
    position: static;
}

.mega-menu-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--brand-white);
    border-bottom: 2px solid var(--brand-navy);
    border-left: 1px solid var(--brand-rule);
    border-right: 1px solid var(--brand-rule);
    box-shadow: 0 24px 48px -12px rgba(1, 30, 96, 0.16);
    z-index: 70;
    padding: 2rem;
}

@media (min-width: 1024px) {
    .nav-dropdown:hover .mega-menu-panel,
    .nav-dropdown:focus-within .mega-menu-panel {
        display: block;
    }
}

.mega-menu-dismissed .mega-menu-panel {
    display: none !important;
}

/* Editorial Cards & Borders */
.editorial-card {
    background-color: var(--brand-white);
    border: 1px solid var(--brand-rule);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.editorial-card:hover {
    border-color: var(--brand-navy);
    box-shadow: 0 12px 28px -12px rgba(1, 30, 96, 0.12);
}

.navy-panel {
    background-color: var(--brand-navy);
    color: var(--brand-white);
}

.navy-panel-dark {
    background-color: var(--brand-navy-dark);
    color: var(--brand-white);
}

.cyan-accent-text {
    color: var(--brand-cyan);
}

.page-section {
    display: none;
}

.page-section.active-section {
    display: block;
}

.step-connector {
    position: relative;
}

@media (min-width: 1024px) {
    .step-connector:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 24px;
        right: -12px;
        width: 24px;
        height: 2px;
        background-color: var(--brand-cyan);
    }
}

/* Custom Range Slider */
input[type="range"].colandi-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: #dbeafe;
    outline: none;
}

input[type="range"].colandi-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--brand-navy);
    border: 2px solid var(--brand-cyan);
    cursor: pointer;
}

input[type="range"].colandi-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--brand-navy);
    border: 2px solid var(--brand-cyan);
    cursor: pointer;
}

/* WordPress Admin Bar Offset */
body.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

/* Print Styles for Executive Brief Modal */
@media print {
    body > *:not(#brief-reader-modal) {
        display: none !important;
    }
    #brief-reader-modal {
        position: static !important;
        display: block !important;
        background: #ffffff !important;
        padding: 0 !important;
        overflow: visible !important;
    }
    .no-print {
        display: none !important;
    }
}
