/* Persian-first typography (Vazirmatn, served from the platform RCL). */
@font-face {
    font-family: "Vazirmatn";
    font-weight: 400;
    font-display: swap;
    src: url("/_content/Platform/velzon/fonts/vazirmatn/vazirmatn-400.woff2") format("woff2");
}

@font-face {
    font-family: "Vazirmatn";
    font-weight: 500;
    font-display: swap;
    src: url("/_content/Platform/velzon/fonts/vazirmatn/vazirmatn-500.woff2") format("woff2");
}

@font-face {
    font-family: "Vazirmatn";
    font-weight: 700;
    font-display: swap;
    src: url("/_content/Platform/velzon/fonts/vazirmatn/vazirmatn-700.woff2") format("woff2");
}

body {
    font-family: "Vazirmatn", Tahoma, "Segoe UI", sans-serif;
}

h1, h2, h3, h4, h5, h6,
.poshesh-page-body, .poshesh-builder-page,
input, textarea, select, button {
    font-family: inherit;
}

/* Site-wide design tokens come from /site-assets/theme.css (builder Site Settings).
   The theme consumes them so global colors/fonts/width drive the whole site. */
.poshesh-theme-header {
    background: var(--pbx-primary, #4f46e5);
    color: #fff;
}

a { color: var(--pbx-link, #4f46e5); }

/* ---------- Public navigation menu (primary header nav + mega) ---------- */
.poshesh-header-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-height: 64px;
}
.poshesh-brand {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: #fff;
    text-decoration: none;
    font-size: 1.15rem;
}
.poshesh-brand:hover { color: #fff; opacity: .9; }
.poshesh-navbar { flex: 1 1 auto; }

/* base list reset shared by every level */
.poshesh-nav,
.poshesh-nav__sub,
.poshesh-mega__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* top-level bar */
.poshesh-nav--primary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem;
}
.poshesh-nav--primary > .poshesh-nav__item { position: relative; }
.poshesh-nav--primary > .poshesh-nav__item.is-mega { position: static; }

.poshesh-nav__link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .6rem .85rem;
    color: rgba(255, 255, 255, .92);
    text-decoration: none;
    border-radius: .5rem;
    white-space: nowrap;
    transition: background .15s ease, color .15s ease;
}
.poshesh-nav--primary > .poshesh-nav__item > .poshesh-nav__link:hover,
.poshesh-nav--primary > .poshesh-nav__item:hover > .poshesh-nav__link {
    background: rgba(255, 255, 255, .16);
    color: #fff;
}
.poshesh-nav__caret {
    width: .5rem; height: .5rem;
    border-inline-end: 2px solid currentColor;
    border-block-end: 2px solid currentColor;
    transform: rotate(45deg);
    margin-inline-start: .15rem;
    opacity: .8;
}

/* nested dropdown panels (any depth) */
.poshesh-nav__sub,
.poshesh-mega {
    position: absolute;
    top: 100%;
    inset-inline-start: 0;
    min-width: 220px;
    background: #fff;
    color: #1f2937;
    border-radius: .6rem;
    box-shadow: 0 1.25rem 2.5rem rgba(15, 23, 42, .18);
    padding: .4rem;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.poshesh-nav__item:hover > .poshesh-nav__sub,
.poshesh-nav__item:hover > .poshesh-mega {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* third level and deeper flyout to the side */
.poshesh-nav__sub .poshesh-nav__item { position: relative; }
.poshesh-nav__sub .poshesh-nav__sub {
    top: -.4rem;
    inset-inline-start: 100%;
    transform: translateX(0) translateY(6px);
}
.poshesh-nav__sub .poshesh-nav__link {
    display: flex;
    width: 100%;
    color: #1f2937;
    justify-content: space-between;
}
.poshesh-nav__sub .poshesh-nav__link:hover {
    background: color-mix(in srgb, var(--pbx-primary, #4f46e5) 10%, #fff);
    color: var(--pbx-primary, #4f46e5);
}
.poshesh-nav__sub .poshesh-nav__caret {
    transform: rotate(-45deg);
    margin-inline-start: auto;
}
html[dir="rtl"] .poshesh-nav__sub .poshesh-nav__caret { transform: rotate(135deg); }

/* mega panel */
.poshesh-mega {
    inset-inline: 0;
    width: 100%;
    padding: 1.25rem;
}
.poshesh-mega--content .poshesh-mega__inner { max-height: 70vh; overflow: auto; }
.poshesh-mega--columns .poshesh-mega__inner {
    display: grid;
    grid-template-columns: repeat(var(--pbx-mega-cols, 3), minmax(0, 1fr));
    gap: 1.25rem;
}
.poshesh-mega__heading {
    display: block;
    font-weight: 700;
    color: var(--pbx-primary, #4f46e5);
    text-decoration: none;
    padding-bottom: .35rem;
    margin-bottom: .35rem;
    border-bottom: 1px solid rgba(15, 23, 42, .08);
}
.poshesh-mega__list li { margin: 0; }
.poshesh-mega__list a {
    display: block;
    padding: .3rem .25rem;
    color: #374151;
    text-decoration: none;
    border-radius: .375rem;
}
.poshesh-mega__list a:hover {
    background: color-mix(in srgb, var(--pbx-primary, #4f46e5) 8%, #fff);
    color: var(--pbx-primary, #4f46e5);
}

/* footer menu — simple inline row */
.poshesh-nav--footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .25rem 1rem;
}
.poshesh-nav--footer .poshesh-nav__link { color: inherit; padding: .25rem .5rem; }
.poshesh-nav--footer .poshesh-nav__sub { display: none; }

/* small screens: stack the primary nav */
@media (max-width: 768px) {
    .poshesh-header-inner { flex-wrap: wrap; gap: .5rem; }
    .poshesh-nav--primary { width: 100%; overflow-x: auto; }
    .poshesh-nav__sub, .poshesh-mega { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; }
    .poshesh-mega--columns .poshesh-mega__inner { grid-template-columns: 1fr; }
}

.btn-primary,
.poshesh-page .btn-primary {
    background-color: var(--pbx-primary, #4f46e5);
    border-color: var(--pbx-primary, #4f46e5);
}

.poshesh-hero {
    background: #f5f3ff;
    border: 1px solid #e9d5ff;
}

/* ---------- Public posts and archives ---------- */

.poshesh-post-header,
.poshesh-post-body,
.poshesh-post-taxonomy,
.poshesh-post-navigation {
    max-width: 52rem;
}

.poshesh-post-header h1 {
    line-height: 1.35;
}

.poshesh-post-meta {
    font-size: .95rem;
}

.poshesh-post-featured {
    max-width: 68rem;
    margin-inline: auto;
}

.poshesh-post-featured img {
    max-height: 42rem;
    object-fit: cover;
}

.poshesh-post-body {
    font-size: 1.08rem;
    line-height: 2;
}

.poshesh-post-body img {
    max-width: 100%;
    height: auto;
}

.poshesh-post-body > * + * {
    margin-top: 1.25rem;
}

.poshesh-post-password {
    max-width: 46rem;
    background: color-mix(in srgb, var(--pbx-primary, #4f46e5) 5%, #fff);
}

.poshesh-lock-icon {
    display: grid;
    place-items: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: color-mix(in srgb, var(--pbx-primary, #4f46e5) 12%, #fff);
    color: var(--pbx-primary, #4f46e5);
    font-size: 1.75rem;
}

.poshesh-archive-header {
    background:
        radial-gradient(circle at 10% 20%, rgba(79, 70, 229, .12), transparent 36%),
        #f8fafc;
    border: 1px solid rgba(15, 23, 42, .06);
}

.poshesh-post-card {
    transition: transform .2s ease, box-shadow .2s ease;
}

.poshesh-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 1rem 2.25rem rgba(15, 23, 42, .12) !important;
}

.poshesh-post-card .card-img-top {
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.poshesh-post-card .card-text {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.poshesh-builder-page {
    overflow: clip;
}

.poshesh-section {
    position: relative;
}

.poshesh-section-xl {
    padding-block: 6rem;
}

.poshesh-section-muted {
    background: #f8fafc;
}

.poshesh-section-primary {
    background: #eef2ff;
}

.poshesh-section-dark {
    background: #111827;
    color: #f9fafb;
}

.poshesh-column > * + * {
    margin-top: 1.25rem;
}

.poshesh-spacer-xs { min-height: 0.75rem; }
.poshesh-spacer-sm { min-height: 1.5rem; }
.poshesh-spacer-md { min-height: 3rem; }
.poshesh-spacer-lg { min-height: 5rem; }
.poshesh-spacer-xl { min-height: 8rem; }

.poshesh-divider {
    border: 0;
    border-top: 1px solid currentColor;
    opacity: .2;
}

.poshesh-divider-dashed { border-top-style: dashed; }
.poshesh-divider-dotted { border-top-style: dotted; }
.poshesh-divider-sm { margin-block: 1rem; }
.poshesh-divider-md { margin-block: 2rem; }
.poshesh-divider-lg { margin-block: 3.5rem; }

.poshesh-image-stretch img {
    width: 100%;
}

.poshesh-hero-content {
    max-width: 44rem;
}

.poshesh-hero-eyebrow {
    color: var(--pbx-primary, #4f46e5);
    font-weight: 700;
    letter-spacing: .02em;
}

.poshesh-hero-image {
    min-height: 24rem;
    max-height: 38rem;
    object-fit: cover;
}

.poshesh-gallery img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.poshesh-widget-menu-vertical .nav {
    flex-direction: column;
}

/* ---------- Icon / IconBox / ImageBox / IconList ---------- */

.poshesh-icon-inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--pbx-primary, #4f46e5);
    line-height: 1;
}

.poshesh-icon-sm { font-size: 1.25rem; }
.poshesh-icon-md { font-size: 1.75rem; }
.poshesh-icon-lg { font-size: 2.5rem; }
.poshesh-icon-xl { font-size: 3.5rem; }

.poshesh-icon-circle,
.poshesh-icon-square {
    padding: .6em;
    background: color-mix(in srgb, var(--pbx-primary, #4f46e5) 12%, transparent);
}

.poshesh-icon-circle { border-radius: 50%; }
.poshesh-icon-square { border-radius: .5rem; }

.poshesh-icon-box { display: flex; gap: 1rem; }
.poshesh-icon-box-stacked { flex-direction: column; align-items: center; text-align: center; }
.poshesh-icon-box-inline { flex-direction: row; align-items: flex-start; }
.poshesh-icon-box-icon { color: var(--pbx-primary, #4f46e5); line-height: 1; flex: 0 0 auto; }
.poshesh-icon-box-title { font-size: 1.15rem; margin: 0 0 .4rem; }
.poshesh-icon-box-title a { text-decoration: none; }

.poshesh-image-box { display: flex; gap: 1rem; }
.poshesh-image-box-stacked { flex-direction: column; }
.poshesh-image-box-inline { flex-direction: row; align-items: flex-start; }
.poshesh-image-box-inline .poshesh-image-box-media { flex: 0 0 38%; }
.poshesh-image-box-media img { width: 100%; height: auto; border-radius: .5rem; }
.poshesh-image-box-title { font-size: 1.15rem; margin: 0 0 .4rem; }
.poshesh-image-box-title a { text-decoration: none; }

.poshesh-icon-list { list-style: none; padding: 0; margin: 0; }
.poshesh-icon-list-item { display: flex; align-items: center; gap: .5rem; padding: .35rem 0; }
.poshesh-icon-list-item i { color: var(--pbx-primary, #4f46e5); }
.poshesh-icon-list-inline { display: flex; flex-wrap: wrap; gap: 1rem; }
.poshesh-icon-list-inline .poshesh-icon-list-item { padding: 0; }
.poshesh-icon-list-divided .poshesh-icon-list-item + .poshesh-icon-list-item {
    border-top: 1px solid rgba(0, 0, 0, .08);
}

/* ---------- Counter / ProgressBar / Rating / Alert ---------- */

.poshesh-counter { text-align: center; }
.poshesh-counter-value { font-size: 2.5rem; font-weight: 700; line-height: 1.2; }
.poshesh-counter-label { color: #6b7280; margin-top: .25rem; }

.poshesh-progress + .poshesh-progress { margin-top: 1rem; }
.poshesh-progress-label { display: flex; justify-content: space-between; margin-bottom: .35rem; font-size: .9rem; }
.poshesh-progress-bar { width: 0; transition: width 1s ease; }

.poshesh-rating-stars { display: inline-flex; gap: .1rem; color: #f59e0b; }
.poshesh-rating-sm { font-size: .95rem; }
.poshesh-rating-md { font-size: 1.25rem; }
.poshesh-rating-lg { font-size: 1.75rem; }

.poshesh-alert { display: flex; gap: .75rem; align-items: flex-start; }
.poshesh-alert-icon { font-size: 1.35rem; line-height: 1.4; }
.poshesh-alert-body { flex: 1 1 auto; }
.poshesh-alert-title { font-size: 1.05rem; margin-bottom: .25rem; }

/* ---------- Media embeds ---------- */

.poshesh-video video,
.poshesh-video iframe { width: 100%; height: 100%; border: 0; }

.poshesh-map iframe {
    width: 100%;
    height: var(--pbx-map-height, 360px);
    border: 0;
    border-radius: .5rem;
}

.poshesh-soundcloud iframe { width: 100%; border: 0; }

.poshesh-menu-anchor { display: block; scroll-margin-top: 80px; }

/* ---------- Forms ---------- */

/* Honeypot must be invisible to humans but reachable by naive bots — so it is
   moved off-screen rather than display:none, which some bots skip. */
.poshesh-form-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ---------- Tabs / Accordion ---------- */

.poshesh-tabs .tab-content { width: 100%; }
.poshesh-accordion { --bs-accordion-btn-focus-box-shadow: none; }

@media (max-width: 767.98px) {
    .poshesh-section-xl {
        padding-block: 4rem;
    }

    .poshesh-hero-image {
        min-height: 18rem;
    }
}

/* ---------- Elementor-style dynamic post widgets ---------- */

.poshesh-widget-placeholder {
    padding: 1rem;
    border: 1px dashed color-mix(in srgb, var(--pbx-primary, #6f42c1) 35%, #dfe3e8);
    border-radius: .75rem;
    color: #7c8491;
    text-align: center;
}

.poshesh-post-query-grid {
    display: grid;
    grid-template-columns: repeat(var(--post-columns, 3), minmax(0, 1fr));
    gap: 1.5rem;
}

.poshesh-query-card,
.poshesh-carousel-slide {
    display: flex;
    min-width: 0;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--pbx-text, #343a40) 10%, transparent);
    border-radius: 1rem;
    background: var(--pbx-background, #fff);
    box-shadow: 0 12px 32px rgba(29, 35, 44, .07);
    flex-direction: column;
}

.poshesh-query-card.is-horizontal { flex-direction: row; }
.poshesh-query-card.image-end { flex-direction: row-reverse; }

.poshesh-query-image {
    display: block;
    overflow: hidden;
    background: #eef0f4;
}

.poshesh-query-image img,
.poshesh-dynamic-featured-image img,
.poshesh-single-post-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.poshesh-query-image.ratio-16x9,
.poshesh-dynamic-featured-image.ratio-16x9 { aspect-ratio: 16 / 9; }

.poshesh-query-image.ratio-4x3,
.poshesh-dynamic-featured-image.ratio-4x3 { aspect-ratio: 4 / 3; }

.poshesh-query-image.ratio-1x1,
.poshesh-dynamic-featured-image.ratio-1x1 { aspect-ratio: 1; }

.poshesh-query-card.is-horizontal .poshesh-query-image {
    width: 40%;
    flex: 0 0 40%;
}

.poshesh-query-content {
    display: flex;
    min-width: 0;
    padding: 1.25rem;
    flex: 1;
    flex-direction: column;
}

.poshesh-query-title {
    margin: 0 0 .65rem;
    font-size: 1.15rem;
    line-height: 1.55;
}

.poshesh-query-title a {
    color: inherit;
    text-decoration: none;
}

.poshesh-query-meta,
.poshesh-dynamic-post-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .4rem .75rem;
    color: color-mix(in srgb, var(--pbx-text, #343a40) 60%, transparent);
    font-size: .82rem;
}

.poshesh-dynamic-post-info.layout-vertical {
    align-items: flex-start;
    flex-direction: column;
}

.poshesh-dynamic-post-info.layout-vertical .separator { display: none; }

.poshesh-query-excerpt {
    margin: .8rem 0 1rem;
    color: color-mix(in srgb, var(--pbx-text, #343a40) 78%, transparent);
}

.poshesh-query-more {
    margin-top: auto;
    font-weight: 700;
    text-decoration: none;
}

.poshesh-query-terms,
.poshesh-query-tags {
    display: flex;
    margin-bottom: .65rem;
    flex-wrap: wrap;
    gap: .4rem;
}

.poshesh-query-terms a,
.poshesh-query-tags a {
    padding: .18rem .55rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--pbx-primary, #6f42c1) 9%, transparent);
    font-size: .75rem;
    text-decoration: none;
}

.poshesh-posts-widget.skin-minimal .poshesh-post-query-grid {
    grid-template-columns: 1fr;
    gap: .75rem;
}

.poshesh-posts-widget.skin-minimal .poshesh-query-card {
    border: 0;
    border-bottom: 1px solid #e7e9ee;
    border-radius: 0;
    box-shadow: none;
}

.poshesh-posts-widget.skin-classic .poshesh-query-card {
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.poshesh-post-carousel { position: relative; }

.poshesh-carousel-toolbar {
    display: flex;
    justify-content: flex-end;
    gap: .5rem;
    margin-bottom: .75rem;
}

.poshesh-carousel-toolbar button {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid #dde1e8;
    border-radius: 50%;
    background: #fff;
    place-items: center;
}

.poshesh-carousel-track {
    display: grid;
    grid-auto-columns: calc((100% - ((var(--carousel-slides, 3) - 1) * 1.25rem)) / var(--carousel-slides, 3));
    grid-auto-flow: column;
    gap: 1.25rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
}

.poshesh-carousel-track::-webkit-scrollbar { display: none; }
.poshesh-carousel-slide { scroll-snap-align: start; }

.poshesh-taxonomy-widget {
    display: flex;
    gap: .6rem;
}

.poshesh-taxonomy-widget.layout-list,
.poshesh-taxonomy-widget.layout-tree {
    align-items: stretch;
    flex-direction: column;
}

.poshesh-taxonomy-widget.layout-chips,
.poshesh-taxonomy-widget.layout-cloud {
    align-items: center;
    flex-wrap: wrap;
}

.poshesh-taxonomy-widget > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .45rem .7rem;
    border-radius: .6rem;
    color: inherit;
    text-decoration: none;
}

.poshesh-taxonomy-widget.layout-tree > a {
    margin-inline-start: calc(var(--term-depth, 0) * 1rem);
}

.poshesh-taxonomy-widget.layout-chips > a {
    background: color-mix(in srgb, var(--pbx-primary, #6f42c1) 10%, transparent);
}

.poshesh-taxonomy-widget.layout-cloud > a {
    font-size: calc(.75rem + (var(--term-weight, 1) * .25rem));
}

.poshesh-post-authors {
    display: grid;
    gap: .8rem;
}

.poshesh-post-authors.layout-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.poshesh-author-item,
.poshesh-dynamic-author-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #e7e9ee;
    border-radius: .85rem;
}

.poshesh-author-item small {
    display: block;
    color: #7b8491;
}

.poshesh-author-avatar {
    display: grid;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: color-mix(in srgb, var(--pbx-primary, #6f42c1) 14%, #fff);
    color: var(--pbx-primary, #6f42c1);
    font-weight: 800;
    place-items: center;
    flex: 0 0 auto;
}

.poshesh-dynamic-featured-image,
.poshesh-single-post-image {
    overflow: hidden;
    border-radius: 1rem;
}

.poshesh-dynamic-post-content { line-height: 2; }

.poshesh-dynamic-post-navigation {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.poshesh-dynamic-post-navigation > a {
    display: flex;
    padding: 1rem;
    border: 1px solid #e7e9ee;
    border-radius: .8rem;
    text-decoration: none;
    flex-direction: column;
}

.poshesh-comments {
    max-width: 900px;
    margin-inline: auto;
}

.poshesh-comment-children { margin-inline-start: 1.25rem; }
.poshesh-comment-body { white-space: pre-wrap; }

@media (max-width: 991.98px) {
    .poshesh-post-query-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
    }

    .poshesh-carousel-track {
        grid-auto-columns: calc((100% - 1.25rem) / 2);
    }
}

@media (max-width: 575.98px) {
    .poshesh-post-query-grid,
    .poshesh-post-authors.layout-cards {
        grid-template-columns: 1fr;
    }

    .poshesh-query-card.is-horizontal,
    .poshesh-query-card.image-end { flex-direction: column; }

    .poshesh-query-card.is-horizontal .poshesh-query-image {
        width: 100%;
        flex-basis: auto;
    }

    .poshesh-carousel-track { grid-auto-columns: 88%; }
    .poshesh-dynamic-post-navigation { grid-template-columns: 1fr; }
}

/* ---------- Language switcher (shared LanguageSwitcher component) ----------
   Pure CSS: <details> gives an accessible, keyboard-operable dropdown with no
   JavaScript, so the header stays interactive before any script has loaded. */
.poshesh-lang { position: relative; flex: 0 0 auto; }

.poshesh-lang-menu > summary {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .35rem .7rem;
    border-radius: .5rem;
    color: #fff;
    background: rgba(255, 255, 255, .14);
    cursor: pointer;
    list-style: none;
    font-size: .9rem;
    user-select: none;
}
.poshesh-lang-menu > summary::-webkit-details-marker { display: none; }
.poshesh-lang-menu > summary:hover { background: rgba(255, 255, 255, .24); }
.poshesh-lang-menu > summary:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.poshesh-lang-caret { font-size: .7rem; transition: transform .15s ease; }
.poshesh-lang-menu[open] .poshesh-lang-caret { transform: rotate(180deg); }

.poshesh-lang-menu > ul {
    position: absolute;
    inset-inline-end: 0;
    top: calc(100% + .4rem);
    z-index: 30;
    min-width: 11rem;
    margin: 0;
    padding: .3rem;
    list-style: none;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: .6rem;
    box-shadow: 0 .6rem 1.6rem rgba(0, 0, 0, .14);
}
.poshesh-lang-menu > ul a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding: .45rem .6rem;
    border-radius: .4rem;
    color: #1f2937;
    text-decoration: none;
    font-size: .9rem;
}
.poshesh-lang-menu > ul a:hover { background: rgba(0, 0, 0, .05); }
.poshesh-lang-menu > ul a.is-current { font-weight: 600; }
.poshesh-lang-menu > ul a.is-untranslated { opacity: .65; }
.poshesh-lang-menu > ul a small { font-size: .7rem; opacity: .8; }

.poshesh-lang-inline {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.poshesh-lang-chip {
    display: inline-block;
    padding: .25rem .6rem;
    border-radius: 999px;
    font-size: .85rem;
    text-decoration: none;
    color: inherit;
    border: 1px solid currentColor;
    opacity: .75;
}
.poshesh-lang-chip:hover { opacity: 1; }
.poshesh-lang-chip.is-current { opacity: 1; font-weight: 600; }
.poshesh-lang-chip.is-untranslated { opacity: .45; }

/* Placed by the page builder rather than the header: inherit page colors. */
.poshesh-lang--widget .poshesh-lang-menu > summary {
    color: inherit;
    background: rgba(0, 0, 0, .06);
}
.poshesh-lang--widget .poshesh-lang-menu > summary:focus-visible { outline-color: currentColor; }
