/* Public appearance, topbar, language, and share controls v1.0.2 */
body {
    --green: var(--theme-primary, #176b4d);
    --green-dark: #123d2e;
    --green-dark: color-mix(in srgb, var(--theme-primary, #176b4d) 58%, #071b14);
    --green-light: #e9f3ed;
    --green-light: color-mix(in srgb, var(--theme-primary, #176b4d) 10%, #fff);
    --gold: var(--theme-accent, #d4af37);
}

body a {
    color: var(--green);
}

body a:hover {
    color: var(--green-dark);
}

.btn-green {
    background: var(--green);
    border-color: var(--green);
}

.btn-green:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
}

.btn-gold {
    background: var(--gold);
    border-color: var(--gold);
}

.topbar {
    height: 44px;
    background: var(--green-dark);
    border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.home-page .topbar {
    position: absolute;
    inset: 0 0 auto;
    z-index: 1040;
    background: rgba(12, 22, 27, .63);
    backdrop-filter: blur(8px);
}

.topbar .site-container,
.topbar-inner {
    height: 100%;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.topbar-contact,
.topbar-social {
    display: flex;
    align-items: center;
}

.topbar-contact {
    min-width: 0;
    gap: clamp(14px, 2vw, 30px);
}

.topbar-social {
    flex: 0 0 auto;
    gap: 16px;
}

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    min-height: 30px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.topbar-item i,
.topbar i {
    flex: 0 0 auto;
    margin: 0;
    color: #fff;
    font-size: 15px;
}

.topbar-location {
    max-width: 250px;
}

.topbar-location span {
    overflow: hidden;
    text-overflow: ellipsis;
}

.topbar-social a,
.topbar-social button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-height: 28px;
    color: #fff;
}

.home-page .site-header {
    top: 44px;
    background: linear-gradient(180deg, rgba(7, 20, 16, .28), transparent);
    border-bottom: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(2px);
}

.home-page .site-header.scrolled {
    top: 0;
    background: #fff;
    backdrop-filter: none;
}

.language-selector {
    min-width: 134px;
    min-height: 44px;
    padding: 8px 34px 8px 13px;
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 800;
    background-color: #fff;
    border: 1px solid var(--border);
    border-radius: 9px;
    cursor: pointer;
}

.language-control {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.language-control small {
    position: absolute;
    right: 10px;
    bottom: 2px;
    color: var(--muted);
    font-size: 7px;
    line-height: 1;
    pointer-events: none;
}

.language-control .language-selector {
    padding-top: 5px;
    padding-bottom: 13px;
}

.home-page .site-header:not(.scrolled) .language-selector {
    color: #fff;
    background-color: rgba(8, 31, 23, .42);
    border-color: rgba(255, 255, 255, .45);
}

.home-page .site-header:not(.scrolled) .language-selector option {
    color: #17231e;
    background: #fff;
}

.home-page .site-header:not(.scrolled) .language-control small {
    color: rgba(255, 255, 255, .72);
}

.language-control-mobile {
    gap: 5px;
}

.language-control-mobile small {
    position: static;
    color: var(--muted);
    font-size: 10px;
}

.language-control-mobile .language-selector {
    padding-top: 8px;
    padding-bottom: 8px;
}

.translation-engine {
    position: fixed !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-te-spinner-pos {
    display: none !important;
}

body {
    top: 0 !important;
}

.theme-font-jakarta {
    --font-heading: "Plus Jakarta Sans", system-ui, sans-serif;
    --font-body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.theme-font-inter {
    --font-heading: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.theme-font-editorial {
    --font-heading: Georgia, "Times New Roman", serif;
    --font-body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.theme-font-editorial h1,
.theme-font-editorial h2,
.theme-font-editorial h3 {
    letter-spacing: -.02em;
}

.theme-buttons-soft .btn,
.theme-buttons-soft .language-selector {
    border-radius: 10px;
}

.theme-buttons-pill .btn,
.theme-buttons-pill .language-selector {
    border-radius: 999px;
}

.theme-buttons-square .btn,
.theme-buttons-square .language-selector {
    border-radius: 2px;
}

.theme-skin-heritage {
    --cream: #fbf4e7;
    --border: #e5d8c0;
    --radius: 18px;
    --shadow: 0 18px 45px rgba(91, 67, 35, .12);
}

.theme-skin-heritage .section-about,
.theme-skin-heritage .news-section {
    background: #fffcf7;
}

.theme-skin-minimal {
    --cream: #f6f7f6;
    --radius: 6px;
    --shadow: none;
}

.theme-skin-minimal .news-card,
.theme-skin-minimal .leader-card,
.theme-skin-minimal .listing-card,
.theme-skin-minimal .service-card {
    box-shadow: none;
}

.share-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 28px;
}

.share-label {
    margin-right: 4px;
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    padding: 8px 12px;
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 750;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
}

button.share-button {
    cursor: pointer;
}

.share-button:hover,
.share-button:focus-visible {
    color: #fff;
    background: var(--green-dark);
    border-color: var(--green-dark);
}

.share-whatsapp {
    color: #087a43;
    border-color: #b9dfcb;
}

.share-feedback {
    min-height: 22px;
    margin: 8px 0 0;
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
}

html[dir="rtl"] body {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .hero-copy {
    margin-right: auto;
    margin-left: 0;
}

html[dir="rtl"] .navbar-brand,
html[dir="rtl"] .feature-item,
html[dir="rtl"] .footer-brand,
html[dir="rtl"] .footer-contact li {
    flex-direction: row-reverse;
}

html[dir="rtl"] .eyebrow::after {
    order: -1;
}

html[dir="rtl"] .breadcrumb-item + .breadcrumb-item::before {
    float: right;
    padding-right: 0;
    padding-left: var(--bs-breadcrumb-item-padding-x);
}

@media (max-width: 1299.98px) {
    .topbar-contact {
        gap: 14px;
    }

    .topbar-item {
        font-size: 11px;
    }

    .topbar-location {
        max-width: 180px;
    }
}

@media (max-width: 1199.98px) {
    .home-page .site-header {
        top: 0;
    }
}

@media (max-width: 767.98px) {
    .share-label {
        flex: 0 0 100%;
    }

    .share-button span {
        display: none;
    }

    .share-button {
        width: 42px;
        height: 42px;
        padding: 0;
        font-size: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .share-button,
    .language-selector {
        transition: none;
    }
}
