/* PlaceMania detail header V2 — intentionally self-contained. */


/* Hero */


/* Save menu — native Popover API keeps it in the browser top layer. */
.pmdh-save { position: relative; }
.pmdh-save__trigger .pmdh-icon:last-child { width: .95em; transition: transform .18s ease; }
.pmdh-save__trigger[aria-expanded="true"] .pmdh-icon:last-child { transform: rotate(180deg); }
.pmdh-save__menu {
    position: fixed;
    inset: auto;
    display: none;
    width: min(340px, calc(100vw - 24px));
    max-height: min(460px, calc(100dvh - 24px));
    margin: 0;
    padding: 10px;
    overflow: auto;
    border: 1px solid rgba(14, 51, 82, .18);
    border-radius: 16px;
    background: #fff;
    color: var(--pmdh-text) !important;
    box-shadow: 0 22px 60px rgba(0, 25, 47, .32);
    z-index: 2147483646;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
.pmdh-save__menu:popover-open,
.pmdh-save__menu.is-open { display: block; }
.pmdh-save__title {
    display: block;
    padding: .45rem .55rem .65rem;
    color: var(--pmdh-muted) !important;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.pmdh-save__option {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 26px;
    align-items: center;
    gap: .7rem;
    width: 100%;
    padding: .72rem .65rem;
    border: 0 !important;
    border-radius: 11px;
    background: transparent !important;
    color: var(--pmdh-text) !important;
    text-align: left;
    cursor: pointer;
    box-shadow: none !important;
}
.pmdh-save__option:hover,
.pmdh-save__option:focus-visible { background: #e9f3fd !important; color: var(--pmdh-text) !important; outline: 2px solid rgba(17,104,201,.25); outline-offset: -2px; }
.pmdh-save__option-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #eaf4ff;
    color: var(--pmdh-blue);
    font-size: 1.25rem;
}
.pmdh-save__option-copy { min-width: 0; }
.pmdh-save__option-copy strong,
.pmdh-save__option-copy small { display: block; color: inherit !important; }
.pmdh-save__option-copy strong { font-size: .94rem; }
.pmdh-save__option-copy small { margin-top: .12rem; color: var(--pmdh-muted) !important; font-size: .75rem; }
.pmdh-save__check { opacity: 0; color: var(--pmdh-success); font-size: 1.15rem; }
.pmdh-save__option.is-active { background: #e9f7f1 !important; }
.pmdh-save__option.is-active .pmdh-save__option-icon { background: #dff5eb; color: var(--pmdh-success); }
.pmdh-save__option.is-active .pmdh-save__check { opacity: 1; }
.pmdh-save__option.is-loading { opacity: .55; pointer-events: none; }

/* Hero map: intentionally no card background, border or shadow. */


/* Summary */
.pmdh-summary {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    width: calc(100% - (var(--pmdh-gutter) * 2));
    margin: -40px var(--pmdh-gutter) 0;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
}
.pmdh-summary__item {
    display: flex;
    align-items: center;
    gap: .9rem;
    min-width: 0;
    min-height: 84px;
    padding: 1rem 1.2rem;
    border: 1px solid var(--pmdh-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(9, 42, 70, .11);
}
.pmdh-summary__item + .pmdh-summary__item { border-left: 1px solid var(--pmdh-line); }
.pmdh-summary__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 12px;
    background: #eaf4ff;
    color: var(--pmdh-blue);
    font-size: 1.2rem;
}
.pmdh-summary__copy { min-width: 0; }
.pmdh-summary__label,
.pmdh-summary__value { display: block; }
.pmdh-summary__label { color: var(--pmdh-muted); font-size: .74rem; font-weight: 750; }
.pmdh-summary__value {
    margin-top: .18rem;
    color: var(--pmdh-text);
    font-size: .92rem;
    font-weight: 750;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.pmdh-summary__value a { color: var(--pmdh-blue-2); text-decoration: none; }
.pmdh-summary__value a:hover { text-decoration: underline; }
.pmdh-summary__muted { color: var(--pmdh-muted); font-weight: 600; }
.pmdh-rating {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .2rem;
    max-width: 100%;
    color: inherit !important;
    text-decoration: none !important;
}
.pmdh-rating__stars {
    display: inline-flex;
    align-items: center;
    gap: 0;
    color: #e6a700;
    line-height: 1;
}
.pmdh-rating__star {
    width: 1em;
    overflow: hidden;
    font-size: 1.02rem;
    font-variation-settings: "FILL" 1, "wght" 600, "GRAD" 0, "opsz" 20;
}
.pmdh-rating__star--full { opacity: 1; }
.pmdh-rating__star--half { opacity: .52; }
.pmdh-rating__star--empty { opacity: .18; }
.pmdh-rating__copy { display: block; line-height: 1.25; }
.pmdh-rating--link:hover .pmdh-rating__copy,
.pmdh-rating--link:focus-visible .pmdh-rating__copy { text-decoration: underline; text-underline-offset: 2px; }
.pmdh-rating--link:focus-visible { outline: 2px solid rgba(17,104,201,.32); outline-offset: 3px; border-radius: 4px; }
.pmdh-summary__address {
    display: inline-flex;
    align-items: center;
    gap: .38rem;
    max-width: 100%;
}
.pmdh-summary__address > span:first-child {
    min-width: 0;
    overflow-wrap: anywhere;
    white-space: normal;
}
.pmdh-summary__address .pmdh-icon { font-size: .95em; }
.pmdh-type-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .32rem;
}
.pmdh-type-chip {
    display: inline-flex;
    align-items: center;
    gap: .28rem;
    max-width: 100%;
    padding: .22rem .46rem;
    border: 1px solid #d8e5f1;
    border-radius: 999px;
    background: #f5f9fd;
    color: #244b70 !important;
    font-size: .73rem;
    line-height: 1.2;
    text-decoration: none !important;
}
.pmdh-type-chip:hover,
.pmdh-type-chip:focus-visible { border-color: #9fc5e9; background: #eaf4ff; outline: none; }
.pmdh-type-chip__icon { color: var(--pmdh-blue); font-size: 1rem; }

/* Country */
.pmdh-country-wrap { width: 100%; padding: 22px var(--pmdh-gutter) 0; }
.pmdh-country-wrap + .pmdh-country-wrap { padding-top: 12px; }
.pmdh-country {
    width: 100%;
    border: 1px solid #d5e6f7;
    border-radius: 18px;
    background: linear-gradient(135deg, #eff7ff, #f8fbff);
    overflow: clip;
}
.pmdh-country__summary {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(360px, 2fr) minmax(220px, 1fr);
    align-items: center;
    gap: 1.3rem;
    min-height: 96px;
    padding: 1rem 1.25rem;
    list-style: none;
    cursor: pointer;
}
.pmdh-country__summary::-webkit-details-marker { display: none; }
.pmdh-country__summary:focus-visible { outline: 3px solid rgba(17,104,201,.3); outline-offset: -3px; }
.pmdh-country__identity { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.pmdh-country__identity > span:last-child { min-width: 0; }
.pmdh-country__flag,
.pmdh-country__flag-fallback {
    width: 52px;
    height: 38px;
    flex: 0 0 52px;
    border-radius: 9px;
    object-fit: cover;
    box-shadow: 0 3px 10px rgba(0,0,0,.13);
}
.pmdh-country__flag-fallback { display: grid; place-items: center; background: var(--pmdh-blue); color: #fff; font-size: 1.35rem; }
.pmdh-country__eyebrow { display: block; color: var(--pmdh-blue-2); font-size: .68rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.pmdh-country__identity strong { display: block; margin-top: .1rem; font-size: clamp(1rem, .9rem + .3vw, 1.24rem); }
.pmdh-country__toggle { display: inline-flex; align-items: center; justify-self: end; gap: .55rem; flex: 0 0 auto; color: var(--pmdh-blue-2); font-size: .84rem; font-weight: 800; }
.pmdh-country__toggle .pmdh-icon { transition: transform .2s ease; }
.pmdh-country[open] .pmdh-country__toggle .pmdh-icon { transform: rotate(180deg); }
.pmdh-country__body { width: 100%; padding: 0; }
.pmdh-country__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 285px), 1fr));
    gap: 12px;
    width: 100%;
    padding: 12px;
    border-top: 1px solid #dbe6f0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;
    background: rgba(255,255,255,.94);
    box-shadow: none;
}
.pmdh-country__group,
.pmdh-country__map {
    min-width: 0;
    padding: 1rem;
    border: 1px solid #e2eaf1;
    border-radius: 13px;
    background: #fff;
}
.pmdh-country__group h3,
.pmdh-country__map h3,
.pmdh-drawer__section h3 {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin: 0 0 .8rem;
    color: var(--pmdh-navy);
    font-size: .88rem;
    font-weight: 850;
}
.pmdh-country__group h3 .pmdh-icon,
.pmdh-country__map h3 .pmdh-icon,
.pmdh-drawer__section h3 .pmdh-icon { color: var(--pmdh-blue); }
.pmdh-country__group dl,
.pmdh-drawer__section dl { margin: 0; }
.pmdh-country__row {
    display: grid;
    grid-template-columns: minmax(115px, .92fr) minmax(0, 1.08fr);
    gap: .7rem;
    padding: .55rem 0;
    border-top: 1px solid #edf1f5;
}
.pmdh-country__row:first-child { border-top: 0; }
.pmdh-country__row dt,
.pmdh-country__row dd { margin: 0; min-width: 0; }
.pmdh-country__row dt { display: flex; align-items: flex-start; gap: .4rem; color: var(--pmdh-muted); font-size: .76rem; font-weight: 700; }
.pmdh-country__row dt .pmdh-icon { flex: 0 0 auto; color: #6f86a0; margin-top: .1rem; }
.pmdh-country__label-text { min-width: 0; line-height: 1.35; overflow-wrap: anywhere; }
.pmdh-country__row dd { color: var(--pmdh-text); font-size: .8rem; font-weight: 650; overflow-wrap: anywhere; }
.pmdh-country__row a { color: var(--pmdh-blue-2); }
.pmdh-country__inherited { display: inline; margin-left: .18em; color: var(--pmdh-blue); font-size: .76em; font-weight: 900; line-height: inherit; vertical-align: baseline; white-space: nowrap; }
.pmdh-country__map-frame {
    display: grid;
    place-items: center;
    min-height: 220px;
    overflow: hidden;
    border-radius: 10px;
    background: #f3f7fa;
}
.pmdh-country__map-frame img,
.pmdh-country__map-frame svg { display: block; width: 100%; max-width: 100%; max-height: 240px; object-fit: contain; color: #8da9c2; fill: currentColor; }
.pmdh-country__note {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin: 0;
    padding: .8rem 1.25rem 1.15rem;
    color: var(--pmdh-muted);
    font-size: .75rem;
}
.pmdh-country__identifiers {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .65rem;
    margin: 4px 1.25rem 0;
    padding: .55rem 0 .35rem;
    border: 0;
    border-radius: 0;
    background: transparent;
}
.pmdh-country__identifiers > span:first-child {
    color: var(--pmdh-muted);
    font-size: .76rem;
    font-weight: 800;
}

/* Article meta transition */
.pmdh__article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .65rem 2rem;
    width: 100%;
    padding: 25px var(--pmdh-gutter) 30px;
    color: var(--pmdh-muted);
    font-size: .78rem;
    text-align: center;
}
.pmdh__article-meta strong { color: #3a536b; }
.pmdh__author-link { color: inherit !important; font-weight: 700; text-decoration: none !important; }
.pmdh__author-link:hover,
.pmdh__author-link:focus-visible { color: var(--pmdh-blue-2) !important; text-decoration: underline !important; }
.pmdh__reading { padding: .35rem .65rem; border-radius: 999px; background: #eef2f5; color: #465d72; font-weight: 750; }

/* Drawer */
.pmdh-drawer {
    position: fixed;
    z-index: 2147483000;
    inset: 0;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    overflow: hidden;
    overscroll-behavior: none;
}
.pmdh-drawer::backdrop { background: rgba(1, 18, 32, .58); }
.pmdh-drawer__surface {
    position: absolute;
    top: 0;
    right: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    width: min(570px, 100%);
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    background: #f7f9fb;
    box-shadow: -24px 0 70px rgba(0, 24, 46, .28);
    overflow: hidden;
    animation: pmdh-drawer-in .22s ease both;
}
@keyframes pmdh-drawer-in{ from { transform: translateX(35px); opacity: .55; } to { transform: none; opacity: 1; } }
.pmdh-drawer:not([open]):not(.is-open) { display: none; }
.pmdh-drawer[open],
.pmdh-drawer.is-open { z-index: 2147483000; }
.pmdh-drawer.is-open { display: block; background: rgba(1,18,32,.58); }
.pmdh-drawer__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    min-height: 94px;
    padding: 1.25rem 1.35rem;
    border-bottom: 1px solid var(--pmdh-line);
    background: #fff;
}
.pmdh-drawer__eyebrow { display: block; color: var(--pmdh-blue); font-size: .7rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.pmdh-drawer__header h2 { margin: .22rem 0 0; color: var(--pmdh-navy); font-size: clamp(1.2rem, 1rem + .6vw, 1.7rem); line-height: 1.2; }
.pmdh-drawer__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border: 1px solid var(--pmdh-line);
    border-radius: 50%;
    background: #fff;
    color: var(--pmdh-navy);
    cursor: pointer;
}
.pmdh-drawer__close:hover { background: #eaf4ff; color: var(--pmdh-blue); }
.pmdh-drawer__body {
    min-width: 0;
    min-height: 0;
    padding: 1rem 1rem calc(1.5rem + env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
}
.pmdh-drawer__section { margin-bottom: .8rem; padding: 1rem; border: 1px solid var(--pmdh-line); border-radius: 14px; background: #fff; }
.pmdh-drawer__section:last-child { margin-bottom: 0; }
.pmdh-drawer__row {
    display: grid;
    grid-template-columns: minmax(135px, .8fr) minmax(0, 1.2fr);
    gap: .8rem;
    padding: .72rem 0;
    border-top: 1px solid #edf1f4;
}
.pmdh-drawer__row:first-child { border-top: 0; }
.pmdh-drawer__row dt,
.pmdh-drawer__row dd { margin: 0; min-width: 0; }
.pmdh-drawer__row dt { display: flex; align-items: flex-start; gap: .42rem; color: var(--pmdh-muted); font-size: .78rem; font-weight: 750; }
.pmdh-drawer__row dt .pmdh-icon { color: var(--pmdh-blue); margin-top: .08rem; }
.pmdh-drawer__row dd { color: var(--pmdh-text); font-size: .82rem; font-weight: 650; overflow-wrap: anywhere; }
.pmdh-drawer__row a { color: var(--pmdh-blue-2); }
.pmdh-drawer__link-list { display: grid; min-width: 0; max-width: 100%; gap: .4rem; }
.pmdh-drawer__link-list > span { display: flex; min-width: 0; max-width: 100%; flex-wrap: wrap; justify-content: space-between; gap: .3rem .6rem; }
.pmdh-drawer__link-list small { color: var(--pmdh-muted); white-space: normal; overflow-wrap: anywhere; }
.pmdh-drawer__empty { padding: 1rem; color: var(--pmdh-muted); }

.pmdh-hours { border: 1px solid var(--pmdh-line); border-radius: 10px; overflow: hidden; }
.pmdh-hours summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding: .7rem .8rem;
    list-style: none;
    color: var(--pmdh-blue-2);
    cursor: pointer;
    font-weight: 800;
}
.pmdh-hours summary::-webkit-details-marker { display: none; }
.pmdh-hours summary .pmdh-icon { transition: transform .18s ease; }
.pmdh-hours[open] summary .pmdh-icon { transform: rotate(180deg); }
.pmdh-hours__list { padding: 0 .8rem .7rem; }
.pmdh-hours__list > div { display: flex; justify-content: space-between; gap: 1rem; padding: .44rem 0; border-top: 1px solid #edf1f4; }
.pmdh-hours__list span { color: var(--pmdh-muted); text-transform: capitalize; }
.pmdh-hours__list strong { text-align: right; }
.pmdh-copy-group {
    display: inline-flex;
    align-items: flex-start;
    gap: .32rem;
    max-width: 100%;
}
.pmdh-copy {
    display: inline-flex;
    align-items: flex-start;
    gap: .35rem;
    min-width: 0;
    max-width: 100%;
    padding: 0;
    border: 0;
    background: none;
    color: var(--pmdh-blue-2);
    cursor: pointer;
    text-align: left;
    overflow-wrap: anywhere;
}
.pmdh-copy > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.pmdh-copy .pmdh-icon { width: .95em !important; height: .95em !important; margin-top: .12em; opacity: .72; }
.pmdh-copy:hover .pmdh-icon,
.pmdh-copy:focus-visible .pmdh-icon { opacity: 1; }
.pmdh-copy:focus-visible { outline: 2px solid rgba(17,104,201,.35); outline-offset: 3px; border-radius: 3px; }
.pmdh-external-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    border: 1px solid #d9e5ef;
    border-radius: 8px;
    background: #f6faff;
    color: var(--pmdh-blue-2) !important;
    text-decoration: none !important;
}
.pmdh-external-link:hover,
.pmdh-external-link:focus-visible { border-color: #9dc4e8; background: #eaf4ff; outline: none; }
.pmdh-external-link .pmdh-icon { width: .9em !important; height: .9em !important; }
.pmdh-idlinks { display: flex; flex-wrap: wrap; gap: .42rem; }
.pmdh-idlink {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 37px;
    height: 32px;
    padding: 0 .46rem;
    border: 1px solid #d9e4ee;
    border-radius: 9px;
    background: #f7fafc;
    color: #2b4b67 !important;
    font-size: .64rem;
    font-weight: 900;
    letter-spacing: .025em;
    text-decoration: none !important;
    transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.pmdh-idlink:hover,
.pmdh-idlink:focus-visible { transform: translateY(-1px); border-color: #91bbdf; background: #eaf4ff; outline: none; }
.pmdh-idlink--wikidata { color: #426b9b !important; }
.pmdh-idlink--geonames { color: #167d5a !important; }
.pmdh-idlink--unesco { color: #075aa4 !important; }
.pmdh-idlink--osm { color: #61752b !important; }
.pmdh-drawer__row--identifiers { grid-template-columns: 1fr; }
.pmdh-drawer__row--identifiers dd { margin-top: .25rem; }

/* Clipboard/status toast — top of viewport, native top layer where supported. */


/* Breakpoints */


@media (max-width: 900px){

    

    

    

    .pmdh-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); width: calc(100% - (var(--pmdh-gutter) * 2)); }
    .pmdh-summary__item { width: auto; max-width: none; }
    .pmdh-country__summary { grid-template-columns: minmax(220px, .95fr) minmax(280px, 1.55fr) minmax(185px, auto); gap: 1rem; }
}

@media (max-width: 620px){

    

    

    

    .pmdh-summary { grid-template-columns: 1fr; width: calc(100% - (var(--pmdh-gutter) * 2)); margin-top: -30px; }
    .pmdh-summary__item { width: 100%; max-width: 100%; min-height: 72px; }
    .pmdh-summary__item + .pmdh-summary__item { border-left: 1px solid var(--pmdh-line); border-top: 1px solid var(--pmdh-line); }
    .pmdh-country-wrap { padding-top: 16px; }
    .pmdh-country__summary { grid-template-columns: minmax(0, 1fr) auto; min-height: 76px; padding: .85rem; }
    .pmdh-country__motto-slot { grid-column: 1 / -1; grid-row: 2; min-height: 0; padding: .25rem 0 0; }
    .pmdh-country__motto { -webkit-line-clamp: 4; text-align: left; }
    .pmdh-country__flag,
    .pmdh-country__flag-fallback { width: 44px; height: 32px; flex-basis: 44px; }
    .pmdh-country__toggle > span:first-child { display: none; }
    .pmdh-country__grid { grid-template-columns: 1fr; padding: 8px; }
    .pmdh-country__group,
    .pmdh-country__map { padding: .85rem; }
    .pmdh-country__row,
    .pmdh-drawer__row { grid-template-columns: 1fr; gap: .28rem; }
    .pmdh__article-meta { gap: .55rem 1rem; }
    .pmdh-drawer__surface { width: 100%; }
    .pmdh-drawer__body { padding: .7rem; }
    .pmdh-summary__address > span:first-child { white-space: normal; }
    .pmdh-type-chips { gap: .26rem; }
    .pmdh-country__identifiers { margin: 4px .85rem 0; }
    .pmdh-country__note { padding: .75rem .85rem 1rem; }
}


.pmdh-drawer__note {
    display: block;
    margin-top: .22rem;
    color: var(--pmdh-muted);
    font-size: .7rem;
    font-weight: 600;
    line-height: 1.35;
}

/* Presentation compatibility for [pma_actual_time] rendered by the existing timezone plugin. */
.pmdh .actual-time.pma-tz-diff {
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
.pmdh .pma-tz-ok { color: var(--pma-tz-ok-color, #1b5e20); }
.pmdh .pma-tz-warn { color: var(--pma-tz-warn-color, #7a5a00); }
.pmdh .pma-tz-bad { color: var(--pma-tz-bad-color, #c40000); }

/* Refined interactive states and country/region data presentation. */


.pmdh-country__identity-copy { min-width: 0; }
.pmdh-country__motto-slot {
    display: grid;
    place-items: center;
    min-width: 0;
    width: 100%;
    min-height: 4rem;
    padding-inline: 1rem;
}
.pmdh-country__motto {
    display: -webkit-box;
    width: 100%;
    max-width: none;
    margin-inline: auto;
    overflow: hidden;
    color: #536b81;
    font-size: clamp(.84rem, .78rem + .16vw, .94rem);
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    text-wrap: pretty;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.pmdh-country__value-link {
    color: inherit !important;
    font: inherit;
    text-decoration: none !important;
}
.pmdh-country__value-link:hover,
.pmdh-country__value-link:focus-visible { color: inherit !important; text-decoration: none !important; outline: none; }
.pmdh-country__value-link:focus-visible { box-shadow: 0 0 0 2px rgba(17,104,201,.24); border-radius: 4px; }

.pmdh-country__row--safe,
.pmdh-country__row--warning,
.pmdh-country__row--danger,
.pmdh-country__row--neutral {
    margin: .18rem -.45rem;
    padding: .58rem .45rem;
    border-top-color: transparent;
    border-radius: 9px;
}
.pmdh-country__row--safe { background: rgba(24,133,91,.065); }
.pmdh-country__row--safe dt .pmdh-icon { color: #16855b; }
.pmdh-country__row--warning { background: rgba(190,128,0,.105); }
.pmdh-country__row--warning dt .pmdh-icon { color: #9c6700; }
.pmdh-country__row--danger { background: rgba(196,62,62,.115); box-shadow: inset 3px 0 0 rgba(196,62,62,.72); }
.pmdh-country__row--danger dt .pmdh-icon { color: var(--pmdh-danger); }
.pmdh-country__row--neutral { background: rgba(100,115,134,.055); }

.pmdh-country__map-frame {
    padding: .7rem;
    background: linear-gradient(145deg, #f8fbfd, #eef5fa);
}
.pmdh-country__map-frame > * { max-width: 100%; }
.pmdh-country__map-frame img,
.pmdh-country__map-frame svg {
    width: 100% !important;
    height: auto !important;
    max-height: 260px !important;
    object-fit: contain;
}
.pmdh-country__map-frame .geosvg,
.pmdh-country__map-frame [class*="geosvg"] { width: 100% !important; max-width: 100% !important; }

/* Compact, symmetrical copy/open controls. */
.pmdh-copy-group { align-items: center; gap: .28rem; }
.pmdh-copy {
    align-items: center;
    gap: .38rem;
    min-height: 28px;
    padding: .16rem .28rem;
    border-radius: 6px;
    color: var(--pmdh-text);
}
.pmdh-copy:hover,
.pmdh-copy:focus-visible { background: #eef6fd; color: var(--pmdh-blue-2); }
.pmdh-copy .pmdh-icon {
    width: .9rem !important;
    height: .9rem !important;
    margin: 0;
    opacity: .68;
}
.pmdh-external-link {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
    border-radius: 7px;
}
.pmdh-external-link .pmdh-icon { width: .88rem !important; height: .88rem !important; }


/* Pill geometry must be identical for badges and hero actions. */


/* Mobile two-slide header. Repeated here because this deferred stylesheet loads after critical CSS. */


@media (max-width: 620px){

    

    .pmdh-mobile-slider { position: relative; display: block; width: 100%; min-height: 0; overflow: hidden; color: #fff; outline: none; transition: height .28s ease; }

    

    

    
    .pmdh-mobile-slide--hero .pmdh__title { align-self: center; width: 100%; max-width: 18ch; margin: 0; padding-bottom: 8px; text-wrap: balance; text-shadow: 0 3px 18px rgba(0,0,0,.28); }
    .pmdh__hero-shade { background: linear-gradient(90deg, rgba(2,24,43,.58) 0%, rgba(2,24,43,.24) 58%, rgba(2,24,43,.08) 100%), linear-gradient(180deg, rgba(2,24,43,.18) 0%, rgba(2,24,43,.06) 48%, rgba(2,24,43,.30) 100%); }

    .pmdh-mobile-slide__inner { display: block; width: 100%; }
    .pmdh-mobile-slide--details .pmdh__badges { margin-top: 0; gap: .5rem; }
    .pmdh-mobile-slide--details .pmdh__badge { border-color: #bfd7ef; background: #fff; color: var(--pmdh-blue-2); box-shadow: 0 5px 18px rgba(8,42,70,.05); }
    .pmdh-mobile-slide--details .pmdh__badge--closed { border-color: #efb4b4; background: #fff3f3; color: #a32929; }
    .pmdh-mobile-slide--details .pmdh__badge--sponsored { border-color: #ead39c; background: #fff9e9; color: #765307; }
    .pmdh-mobile-slide--details .pmdh__intro { max-width: none; margin-top: 24px; color: var(--pmdh-text); font-size: 1rem; line-height: 1.65; }
    .pmdh-mobile-slide--details .pmdh__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; margin-top: 26px; }
    .pmdh-mobile-slide--details .pmdh-save { width: 100%; }
    .pmdh-mobile-slide--details .pmdh__actions--count-1 { grid-template-columns: 1fr; }
    .pmdh-mobile-slide--details .pmdh__actions--count-1 .pmdh__action { grid-column: 1 / -1; }
    .pmdh-mobile-slide--details .pmdh__action--details { grid-column: 1 / -1; }
    .pmdh-mobile-slide--details .pmdh__action { width: 100%; min-width: 0; max-width: 100%; height: 52px !important; min-height: 52px !important; padding-inline: .58rem !important; padding-block: 0 !important; border-color: #c9d9e8; border-radius: 14px; background: #fff; color: var(--pmdh-text) !important; font-size: clamp(.72rem, 2.8vw, .82rem) !important; line-height: 1.2 !important; white-space: normal; text-align: center; box-shadow: 0 7px 22px rgba(8,42,70,.05); }
    .pmdh-mobile-slide--details .pmdh__action:hover,
    .pmdh-mobile-slide--details .pmdh__action:focus-visible { border-color: #89b6df; background: #edf6ff; color: var(--pmdh-text) !important; }
    .pmdh-mobile-slide--details .pmdh-save__trigger.is-active,
    .pmdh-mobile-slide--details .pmdh-save.is-active .pmdh-save__trigger { border-color: #70aee5; background: #e2f1ff; color: #0757a7 !important; }
    .pmdh-mobile-details-slot { display: block; width: 100%; }
    .pmdh-mobile-details-slot .pmdh-summary { display: grid; grid-template-columns: 1fr; width: 100%; margin: 28px 0 0; }
    .pmdh-mobile-details-slot .pmdh-summary__item { width: 100%; max-width: 100%; min-height: 86px; }
    .pmdh-mobile-details-slot .pmdh-country-wrap { width: 100%; padding: 16px 0 0; }
    .pmdh-mobile-details-slot .pmdh-country__motto { text-align: center; }

    

    

    
}
@media (max-width: 620px){ .pmdh-mobile-slider { touch-action: pan-y; } }

/* Taxonomy archive header: separate renderer, shared visual primitives. */
