/* Keep Google's original control and attribution inside an accessible disclosure. */
.apm-language {
    position: relative;
    width: fit-content;
    margin-bottom: 8px;
    color: #263746;
    font-family: inherit;
    font-weight: 500;
    line-height: 1.4;
}
.apm-language > summary {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid #d7e2e9;
    border-radius: 10px;
    background: #f7fafc;
    color: #364755;
    font-size: 13px;
    font-weight: 600;
    list-style: none;
    cursor: pointer;
    user-select: none;
}
.apm-language > summary::-webkit-details-marker { display: none; }
.apm-language > summary > svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #007ba8;
}
.apm-language > summary::after {
    content: "";
    width: 6px;
    height: 6px;
    margin: -3px 2px 0 4px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
}
.apm-language[open] > summary::after { transform: rotate(225deg); margin-top: 3px; }
.apm-language > summary:hover,
.apm-language[open] > summary { background: #edf6fa; border-color: #86b8ce; }
.apm-language > summary:focus-visible {
    outline: 2px solid #008cc3;
    outline-offset: 3px;
}
.apm-language .apm-language__panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 1100;
    width: 245px;
    max-width: calc(100vw - 32px);
    padding: 16px;
    border: 1px solid #dce6ed;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 32px rgba(24, 43, 58, .14);
}
.apm-language .apm-language__caption {
    margin: 0 0 10px;
    color: #536572;
    font-size: 12px;
    font-weight: 500;
}
.apm-language #google_translate_element { min-height: 30px; }
.apm-language .goog-te-gadget-simple {
    padding: 7px 8px;
    border: 1px solid #d7e2e9;
    border-radius: 7px;
    background: #f7fafc;
    font-family: inherit;
    font-size: 13px;
}
.apm-language .goog-te-gadget-simple a { color: #263746; }
.apm-language noscript { font-size: 12px; color: #536572; }
