:root {
    color-scheme: light;
    --accent: #f5780b;
    --ink: #2f3741;
    --muted: #6c7680;
    --line: rgba(69, 82, 94, 0.16);
    --panel: rgba(255, 255, 255, 0.92);
    --shadow: 0 18px 50px rgba(42, 56, 67, 0.14);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--ink);
    background:
        linear-gradient(rgba(245, 248, 250, 0.34), rgba(236, 242, 245, 0.54)),
        url('../images/bg.jpg') center / cover fixed;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.site-shell {
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: 54px 24px 36px;
}

.brand-header {
    margin-bottom: 34px;
    text-align: center;
}

.brand-logo {
    display: block;
    width: min(420px, 78vw);
    height: auto;
    margin: 0 auto 22px;
}

.eyebrow {
    margin: 0 0 7px;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.intro {
    margin: 0;
    color: #56616c;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.entity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 285px), 1fr));
    gap: 18px;
    align-items: stretch;
}

.entity-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 18px;
    background: var(--panel);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.entity-card__header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.entity-card__identity {
    min-width: 0;
    padding-top: 2px;
}

.country-flag {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
    font-size: 1.55rem;
    line-height: 1;
    box-shadow: 0 7px 18px rgba(42, 56, 67, 0.09);
}

.country-name {
    margin: 0 0 5px;
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.entity-name {
    margin: 0;
    color: var(--ink);
    font-size: 1.22rem;
    font-weight: 700;
    line-height: 1.25;
}

.entity-name--image {
    min-height: 1.625rem;
}

.entity-name--image img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 1.625rem;
    object-fit: contain;
    object-position: left center;
}

.entity-address {
    display: flex;
    flex-direction: column;
    margin: 25px 0 22px;
    padding: 0 2px;
    color: #535f69;
    font-size: 0.98rem;
    font-style: normal;
    line-height: 1.62;
}

.registration-list {
    margin: auto 0 0;
    border-top: 1px solid var(--line);
}

.registration-row {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
    padding: 12px 2px;
    border-bottom: 1px solid var(--line);
}

.registration-row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.registration-row dt,
.registration-row dd {
    margin: 0;
}

.registration-row dt {
    color: #7d8790;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.5rem;
    text-transform: uppercase;
}

.registration-row dd {
    min-width: 0;
    overflow-wrap: anywhere;
    color: #38424b;
    font-size: 0.94rem;
    font-weight: 650;
    line-height: 1.5rem;
}

.registration-row dd.is-muted {
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 500;
}

.registration-row a {
    color: inherit;
    text-decoration-color: rgba(245, 120, 11, 0.42);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 120ms ease, text-decoration-color 120ms ease;
}

.registration-row a:hover,
.registration-row a:focus-visible {
    color: var(--accent);
    text-decoration-color: var(--accent);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 680px) {
    body {
        background-attachment: scroll;
    }

    .site-shell {
        padding: 34px 16px 24px;
    }

    .brand-header {
        margin-bottom: 26px;
    }

    .brand-logo {
        width: min(360px, 86vw);
        margin-bottom: 18px;
    }

    .entity-card {
        padding: 21px;
        border-radius: 16px;
    }

}

@media (prefers-reduced-transparency: reduce) {
    .entity-card {
        background: #fff;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}
