/* Legacy Cranes — minimal overrides on Porto theme */

/* Brand gold palette (replaces Porto accounting green skin) */
:root {
    --primary: #C5A059;
    --primary-100: #B8924F;
    --primary-200: #AD8747;
    --primary-300: #A27C3F;
    --primary--100: #D0AD6B;
    --primary--200: #DBB87D;
    --primary--300: #E6C38F;
    --primary-rgba-0: rgba(197, 160, 89, 0);
    --primary-rgba-10: rgba(197, 160, 89, 0.1);
    --primary-rgba-20: rgba(197, 160, 89, 0.2);
    --primary-rgba-30: rgba(197, 160, 89, 0.3);
    --primary-rgba-40: rgba(197, 160, 89, 0.4);
    --primary-rgba-50: rgba(197, 160, 89, 0.5);
    --primary-rgba-60: rgba(197, 160, 89, 0.6);
    --primary-rgba-70: rgba(197, 160, 89, 0.7);
    --primary-rgba-80: rgba(197, 160, 89, 0.8);
    --primary-rgba-90: rgba(197, 160, 89, 0.9);
    --secondary: #8F7340;
    --secondary-100: #7D6538;
    --secondary-200: #735D33;
    --secondary-300: #69552E;
    --secondary--100: #9B804E;
    --secondary--200: #A78D5C;
    --secondary--300: #B39A6A;
    --secondary-rgba-0: rgba(143, 115, 64, 0);
    --secondary-rgba-10: rgba(143, 115, 64, 0.1);
    --secondary-rgba-20: rgba(143, 115, 64, 0.2);
    --secondary-rgba-30: rgba(143, 115, 64, 0.3);
    --secondary-rgba-40: rgba(143, 115, 64, 0.4);
    --secondary-rgba-50: rgba(143, 115, 64, 0.5);
    --secondary-rgba-60: rgba(143, 115, 64, 0.6);
    --secondary-rgba-70: rgba(143, 115, 64, 0.7);
    --secondary-rgba-80: rgba(143, 115, 64, 0.8);
    --secondary-rgba-90: rgba(143, 115, 64, 0.9);
    --primary-inverse: #FFF;
}

.lc-lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-inline-end: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.lc-lang-switch a {
    color: inherit;
    text-decoration: none;
    opacity: 0.65;
}

.lc-lang-switch a.active,
.lc-lang-switch a:hover {
    opacity: 1;
    color: var(--primary);
}

.lc-lang-divider {
    opacity: 0.4;
}

.header-logo .lc-logo-img {
    max-height: 48px;
    width: auto;
}

html[dir="rtl"] .header-nav-main .nav {
    padding-right: 0;
}

html[dir="rtl"] .feature-box-info {
    text-align: start;
}

html[dir="rtl"] .breadcrumb {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.vision-2030-logo {
    width: auto;
    height: auto;
    object-fit: contain;
}

.vision-2030-logo--default {
    max-height: 72px;
}

.vision-2030-logo--footer {
    max-height: 56px;
}

.lc-fleet-stat__value {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--dark);
    word-break: break-word;
}

.lc-fleet-stat__icon img {
    display: inline-block;
}

.lc-fleet-stat__desc {
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
}

.lc-favicon-icon {
    object-fit: contain;
}

/* Footer — 3-zone dark layout with gold accents */
.lc-footer {
    border-top: 3px solid var(--primary);
}

.lc-footer-top {
    background-color: #15201b;
    padding-top: 0.5rem;
}

.lc-footer-main {
    background-color: #1f2f28;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.lc-footer-bottom {
    background-color: #111111;
    border-top: 1px solid var(--primary-rgba-20);
    padding-top: 1rem;
}

.lc-footer .text-color-dark {
    color: var(--light) !important;
}

.lc-footer a.text-color-grey {
    color: rgba(255, 255, 255, 0.65);
}

.lc-footer .social-icons-clean a {
    background: rgba(255, 255, 255, 0.08);
}

.lc-footer .social-icons-clean a:hover {
    background: var(--primary);
}

html[dir="rtl"] .lc-footer .social-icons {
    padding-right: 0;
}
