/* ============================================================================
   English left menu (file-based, dropdown jurisdiction switcher) — jurisdiction dropdown switcher.
   Loaded on EN pages (lang-gated <link> in header.php). Scoped to .jur-menu.
   EVERY rule is scoped to .jur-menu (only the EN menu has it) — DE/ES menus untouched.
   Behaviour: a <select> chooses the jurisdiction; only the chosen country's menu
   points show below. Cyprus is the default.
   ============================================================================ */

/* --- custom jurisdiction dropdown styled like the original country header --- */
.jur-menu .menu .jur-box {
    position: relative;
    margin: 15px 15px;   /* bordered wrap, not full width */
}
/* toggle = the rich gold-gradient bar (flag + title + subtitle + caret) */
.jur-menu .menu .jur-toggle {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(122, 77, 23, .35);
    border-radius: 10px;
    background: #fff;
    color: #354649;
    cursor: pointer;
    text-align: left;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(20, 30, 50, .12);
    transition: box-shadow .15s ease, transform .1s ease;
    font-family: 'Roboto', sans-serif;
}
.jur-menu .menu .jur-toggle:hover { box-shadow: 0 4px 12px rgba(20, 30, 50, .2); }
/* when open, flatten the bottom so it visually connects to the options panel */
.jur-menu .menu .jur-box.open .jur-toggle {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.jur-menu .menu .jur-toggle:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #ffdd94 0%, #ffefc4 24%, #b1832b 47%, #ffdb7a 72%, #ffd86f 86%, #7a4d17 99%);
    opacity: .5;
    pointer-events: none;
}
.jur-menu .menu .jur-toggle > * { position: relative; z-index: 1; }

/* flag */
.jur-menu .menu .jur-flag {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    flex: 0 0 auto;
    display: inline-block;
    background-size: cover;
    background-position: 50%;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, .35);
}

/* title + subtitle */
.jur-menu .menu .jur-text { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.jur-menu .menu .jur-title {
    font-size: 21px;
    font-weight: 700;
    color: #354649;
    width: -moz-fit-content;
    width: fit-content;
    border-bottom: 1px solid rgba(82, 94, 107, .7);
    padding-bottom: 2px;
    margin-bottom: 3px;
}
.jur-menu .menu .jur-sub {
    font-size: 14px;
    font-weight: 600;
    color: #5b6b6e;
}

/* caret = a clear circular "expand" badge with a chevron, so it obviously reads as a dropdown */
.jur-menu .menu .jur-caret {
    position: relative;
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: rgba(53, 70, 73, .14);
    transition: transform .15s ease, background .15s ease;
}
.jur-menu .menu .jur-caret:after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: 8px; height: 8px;
    border-right: 2px solid #4a3a10;
    border-bottom: 2px solid #4a3a10;
    transform: translate(-50%, -70%) rotate(45deg);
}
.jur-menu .menu .jur-toggle:hover .jur-caret { background: rgba(53, 70, 73, .24); }
.jur-menu .menu .jur-box.open .jur-caret { transform: rotate(180deg); }

/* options panel */
.jur-menu .menu .jur-options {
    position: absolute;
    left: 0; right: 0; top: 100%;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: #fff;
    border: 1px solid rgba(122, 77, 23, .35);
    border-top: none;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 10px 24px rgba(20, 30, 50, .16);
    z-index: 50;
    display: none;
}
.jur-menu .menu .jur-box.open .jur-options { display: block; }
.jur-menu .menu .jur-opt {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
}
.jur-menu .menu .jur-opt:hover { background: #faf6ec; }
.jur-menu .menu .jur-opt .jur-flag { width: 34px; height: 34px; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.jur-menu .menu .jur-opt .jur-title { font-size: 16px; border-bottom: 0; padding: 0; margin: 0; }
.jur-menu .menu .jur-opt .jur-sub { font-size: 12px; }

/* --- hide the old in-block country headers (flag/title rows); the dropdown replaces them --- */
.jur-menu .menu ul.country > li:has(.menu-title) {
    display: none;
}

/* --- show only the selected jurisdiction's block (Cyprus default; JS toggles) --- */
.jur-menu .menu .country[data-jur="dubai"] {
    display: none;
}
.jur-menu .menu .country[data-jur="cyprus"] {
    display: block;
}

/* --- Corporate Brochure download button (above the certification seals) --- */
.jur-menu .brochure-wrap { margin: 18px 15px 2px; }
.jur-menu .brochure-btn {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px; border: 1px solid #d8cfb9; border-radius: 10px;
    background: #fffdf7; color: #2f3f3a; text-decoration: none;
    box-shadow: 0 1px 3px rgba(20, 30, 50, .08);
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.jur-menu .brochure-btn:hover { border-color: #127749; background: #fff; box-shadow: 0 4px 12px rgba(18, 119, 73, .15); text-decoration: none; }
.jur-menu .brochure-btn > i:first-child { font-size: 26px; color: #b1832b; flex: 0 0 auto; }
.jur-menu .brochure-txt { flex: 1; display: flex; flex-direction: column; line-height: 1.25; font-family: 'Roboto', sans-serif; font-weight: 700; font-size: 15px; color: #2f3f3a; }
.jur-menu .brochure-sub { font-weight: 500; font-size: 12px; color: #8a8576; margin-top: 2px; }
.jur-menu .brochure-dl { font-size: 15px; color: #b0a98f; flex: 0 0 auto; }
.jur-menu .brochure-btn:hover .brochure-dl { color: #127749; }
