/* Resources drop-down (desktop) and expandable group (phone menu). Shared by every page. */
.links .dd{position:relative;}
.links .dd>summary{list-style:none;cursor:pointer;font-family:inherit;font-weight:500;font-size:.98rem;color:var(--ink,#14213A);padding:0;display:inline-flex;align-items:center;gap:6px;min-height:44px;}
.links .dd>summary::-webkit-details-marker{display:none;}
.links .dd>summary::after{content:"";width:7px;height:7px;border:solid currentColor;border-width:0 1.6px 1.6px 0;transform:rotate(45deg) translateY(-2px);transition:transform .15s;}
.links .dd[open]>summary::after{transform:rotate(-135deg) translateY(-1px);}
.links .dd.cur>summary{color:var(--gold-text,#9A7416);}
.ddp{position:absolute;right:0;top:calc(100% + 10px);background:var(--bg,#fff);border:1px solid var(--line,#E2E8F0);border-radius:12px;padding:8px;min-width:270px;box-shadow:0 14px 36px rgba(15,39,71,.16);display:grid;z-index:80;}
.ddp a{border-bottom:0 !important;padding:11px 14px;border-radius:8px;text-decoration:none;font-weight:500;font-size:.95rem;white-space:nowrap;}
.ddp a:hover,.ddp a:focus-visible{background:var(--hover,#F1F5F9);}
.ddp a[aria-current="page"]{color:var(--gold-text,#9A7416);}
a.ddteam,.ddp a.ddteam{background:#0F2747;color:#E8C875 !important;font-weight:700;margin-bottom:6px;}
a.ddteam:hover,.ddp a.ddteam:hover{background:#16345f;}
.menu nav details.ddm{display:block;}
.menu nav details.ddm>summary{padding:14px 16px;font-weight:500;cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;border-radius:8px;}
.menu nav details.ddm>summary::-webkit-details-marker{display:none;}
.menu nav details.ddm>summary::after{content:"";width:8px;height:8px;border:solid currentColor;border-width:0 1.6px 1.6px 0;transform:rotate(45deg);}
.menu nav details.ddm[open]>summary::after{transform:rotate(-135deg);}
.menu nav details.ddm>a{display:block;padding-left:30px;}
.menu nav details.ddm>a.ddteam{margin:2px 0 6px;}
@media (prefers-reduced-motion:reduce){.links .dd>summary::after{transition:none;}}
/* the gold "Sell your property" button in the main menu */
.links a.nav-sell{background:linear-gradient(135deg,#D4B26A,#B8923A);color:#0B1B33 !important;font-weight:700;padding:8px 16px;border-radius:999px;border-bottom:0 !important;white-space:nowrap;}
.links a.nav-sell:hover,.links a.nav-sell:focus-visible{filter:brightness(1.06);}
.menu nav a.nav-sell{color:#9A7416 !important;font-weight:700;}
/* Buy drop-down (opens to the left edge), optional Invest link, and the small language link */
.links [data-fdo],.menu nav [data-fdo]{display:none}
.links .dd.ddl .ddp{left:0;right:auto;min-width:250px}
.links a.lang{font-size:.88rem;font-weight:600;padding:6px 10px;border:1px solid var(--line,#E2E8F0);border-radius:999px;white-space:nowrap;text-decoration:none;border-bottom:1px solid var(--line,#E2E8F0) !important}
.links a.lang:hover{border-color:var(--gold,#B8923A)}
