/* PersonalityRank – společné styly veřejného webu. Barvy a font přepisuje themes/{key}/theme.css. */

:root {
    --pr-primary: #1d4ed8;
    --pr-bg: #f5f6fa;
    --pr-text: #1f2937;
    --pr-accent: #d4a017;
    --pr-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.pr-body {
    background: var(--pr-bg);
    color: var(--pr-text);
    font-family: var(--pr-font);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.pr-body .btn-primary {
    background-color: var(--pr-primary);
    border-color: var(--pr-primary);
    color: #fff;
}

.pr-body .btn-primary:hover,
.pr-body .btn-primary:focus {
    color: #fff;
    filter: brightness(0.92);
}

.pr-body .btn-outline-primary {
    color: var(--pr-primary);
    border-color: var(--pr-primary);
}

.pr-body .btn-outline-primary:hover,
.pr-body .btn-check:checked + .btn-outline-primary {
    background-color: var(--pr-primary);
    border-color: var(--pr-primary);
    color: #fff;
}

.pr-body a:where(:not(.btn)) {
    color: var(--pr-primary);
}

/* Hlavička */
.pr-header {
    background: var(--pr-primary);
    color: #fff;
    padding: 1rem 0;
    border-bottom: 4px solid var(--pr-accent);
}

.pr-logo-link {
    display: inline-block;
}

.pr-logo {
    height: 56px;
    max-width: 100%;
}

.pr-tagline {
    margin: 0.5rem 0 0;
    color: #fff;
    opacity: 0.9;
}

/* Obsah */
.pr-content {
    flex: 1 0 auto;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.pr-card {
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.pr-notice {
    text-align: center;
    padding: 3rem 1.25rem;
}

.pr-notice-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.pr-notice-title {
    margin-bottom: 1rem;
}

.pr-intro {
    margin-bottom: 1.5rem;
}

.pr-cta {
    margin-bottom: 1.5rem;
}

/* Karty žebříčku */
.pr-ranking {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pr-rank-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    margin-bottom: 0.75rem;
}

.pr-rank-position {
    flex: 0 0 3rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--pr-accent);
    text-align: center;
}

.pr-rank-photo {
    flex: 0 0 96px;
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 0.5rem;
    background: var(--pr-bg);
}

.pr-rank-body {
    flex: 1 1 auto;
    min-width: 0;
}

.pr-rank-name {
    margin: 0 0 0.25rem;
    font-size: 1.25rem;
}

.pr-rank-name a {
    text-decoration: none;
    color: var(--pr-text);
}

.pr-rank-points {
    font-weight: 600;
    color: var(--pr-primary);
    white-space: nowrap;
}

.pr-rank-description {
    margin: 0;
    color: #4b5563;
}

/* Hlavní stránka – šablona generátoru (Admin/Views/Public/Index.cshtml) */
.pr-hero {
    text-align: center;
    margin-bottom: 1.5rem;
}

.pr-hero .pr-cta {
    margin-bottom: 0;
}

.pr-hero-actions {
    display: inline-flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
}

/* Tlačítka s medailí: ikona těsně před textem, dvojice na středu (#62) */
.pr-hero .pr-hero-borec,
.pr-borec-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.pr-medal-icon {
    width: 1.25em;
    height: 1.25em;
    flex: 0 0 auto;
}

.pr-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pr-list .pr-card {
    padding: 0;
    margin-bottom: 0.75rem;
}

.pr-card-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.15s ease-in-out;
}

.pr-body .pr-card-link,
.pr-body .pr-card-link:hover {
    color: inherit;
    text-decoration: none;
}

.pr-card-link:hover,
.pr-card-link:focus {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pr-rank {
    flex: 0 0 2.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pr-accent);
    text-align: center;
}

.pr-photo {
    border-radius: 0.5rem;
    background: var(--pr-bg);
    object-fit: cover;
}

.pr-card .pr-photo {
    flex: 0 0 96px;
    width: 96px;
    height: 120px;
}

.pr-card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
}

.pr-name {
    font-weight: 700;
    font-size: 1.15rem;
    overflow-wrap: anywhere;
}

.pr-points {
    font-weight: 600;
    color: var(--pr-accent);
}

/* Blbometr – procentní zobrazení žebříčku (RankingDisplay = Percent, ADR 0004) */
.pr-ranking-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.25rem 1rem;
    margin-bottom: 0.75rem;
}

.pr-ranking-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.pr-ranking-sub {
    margin: 0;
    font-size: 0.9rem;
    color: #6b7280;
}

.pr-share-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pr-share {
    flex: 0 0 auto;
    white-space: nowrap;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--pr-accent);
}

.pr-meter {
    flex: 1 1 auto;
    width: 100%;
    height: 0.75rem;
    appearance: none;
    border: 0;
    border-radius: 0.375rem;
    background: #e5e7eb;
    overflow: hidden;
}

.pr-meter::-webkit-progress-bar {
    background: #e5e7eb;
}

.pr-meter::-webkit-progress-value {
    background: var(--pr-accent);
}

.pr-meter::-moz-progress-bar {
    background: var(--pr-accent);
}

.pr-meter-lg {
    height: 1.25rem;
}

.pr-lead {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--pr-primary);
}

.pr-share-box {
    margin: 0.5rem 0 1rem;
}

.pr-share-title {
    margin: 0;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.pr-share-big {
    white-space: nowrap;
    margin: 0;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--pr-accent);
}

.pr-share-box .pr-lead {
    display: block;
    margin-bottom: 0.5rem;
}

.pr-meter-scale {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #6b7280;
}

.pr-desc {
    color: #4b5563;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow-wrap: anywhere;
}

/* Výzva zkontrolovat nominované před návrhem (#42) */
.pr-check-existing {
    padding: 0.625rem 0.875rem;
    border-left: 4px solid currentColor;
    background: rgba(0, 0, 0, 0.04);
}

.pr-cta-bottom {
    text-align: center;
    margin-top: 1.5rem;
}

/* Odkaz na web Borce roku pod Blbometrem (ADR 0017) */
.pr-borec-cta {
    text-align: center;
    margin-top: 2rem;
    padding: 1.25rem 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.pr-borec-cta-title {
    margin-bottom: 0.5rem;
}

.pr-borec-cta-text {
    margin-bottom: 1rem;
}

@media (max-width: 575.98px) {
    .pr-borec-cta-button {
        display: flex;
        width: 100%;
    }
}

.pr-generated {
    margin: 0.75rem 0 0;
    font-size: 0.8rem;
    color: #6b7280;
}

.pr-empty {
    text-align: center;
    color: #6b7280;
    padding: 1.5rem 0;
}

/* Detail osoby – šablona generátoru (Admin/Views/Public/Person.cshtml) */
.pr-person {
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1.25rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.pr-photo-lg {
    display: block;
    width: 100%;
    max-width: 320px;
    height: auto;
    margin: 0 auto 1rem;
}

@media (min-width: 768px) {
    .pr-photo-lg {
        margin: 0;
    }
}

.pr-rank-big {
    font-size: 2rem;
    font-weight: 700;
    color: var(--pr-accent);
    margin-bottom: 0.25rem;
}

.pr-points-big {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--pr-primary);
}

.pr-person-desc {
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.pr-donate {
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1.25rem;
    margin-bottom: 1rem;
}

/* Hlavička platební sekce: nadpis a štítek „Hlasuj přes QR" (#35), štítek na mobilu skrytý */
.pr-donate-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.pr-donate-head h2 {
    margin-bottom: 0;
}

.pr-donate-label {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    border-radius: 999px;
    background-color: var(--pr-accent);
    color: var(--pr-text);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

@media (max-width: 575.98px) {
    .pr-donate-label {
        display: none;
    }
}

/* Sekce hlasování u nominanta: vlastní pruh v tématu, výchozí edice jen linka nahoře (#35) */
.pr-donate-nominee {
    border-top: 4px solid var(--pr-accent);
}

/* Akční tlačítka na detailu: platba, pak zpět na žebříček (#35) */
.pr-person-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pr-to-donate {
    font-weight: 700;
}

.pr-qr-mode {
    border: 0;
    margin: 0 0 1rem;
    padding: 0;
}

.pr-qr-amounts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.pr-qr-panel[hidden] {
    display: none;
}

/* Aktivní varianta částky (přepíná js/site.js) */
.pr-qr-amounts .btn.active {
    background-color: var(--pr-primary);
    border-color: var(--pr-primary);
    color: #fff;
}

/* Dva panely přidat / ubrat (ADR 0004): desktop vedle sebe, mobil přepínač (js/site.js) */
.pr-qr-side-switch {
    display: flex;
    margin-bottom: 1rem;
}

.pr-qr-side-switch .btn.active {
    background-color: var(--pr-primary);
    border-color: var(--pr-primary);
    color: #fff;
}

.pr-qr-sides {
    margin-bottom: 0.5rem;
}

.pr-qr-side {
    margin-bottom: 1rem;
}

.pr-qr-side-title {
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.pr-qr-side-sign {
    display: inline-block;
    min-width: 1.5rem;
    text-align: center;
    border-radius: 0.25rem;
    color: #fff;
}

.pr-qr-plus .pr-qr-side-sign {
    background-color: var(--pr-primary);
}

.pr-qr-minus .pr-qr-side-sign {
    background-color: var(--pr-accent);
}

.pr-qr-side-hint {
    display: block;
    font-weight: 400;
    font-size: 0.875rem;
    color: #6b7280;
}

@media (max-width: 767.98px) {
    .pr-qr-side-off {
        display: none;
    }
}

@media (min-width: 768px) {
    .pr-qr-side-switch {
        display: none;
    }
}

.pr-qr-img {
    display: block;
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 0 auto 1rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
}

.pr-qr-img + .pr-qr-hint,
.pr-qr + .pr-qr-hint {
    margin-top: -0.5rem;
}

.pr-qr-hint {
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

/* Detail osoby */
.pr-person-header {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: flex-start;
}

.pr-person-photo {
    width: 240px;
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    background: var(--pr-bg);
}

.pr-person-meta {
    flex: 1 1 240px;
}

.pr-person-name {
    margin-bottom: 0.5rem;
}

.pr-person-rank {
    font-size: 1.1rem;
    color: var(--pr-accent);
    font-weight: 600;
}

.pr-person-description {
    white-space: pre-line;
}

/* Platba / QR */
.pr-pay {
    margin-top: 1.5rem;
}

.pr-pay-variants {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.pr-pay-variants .btn.active {
    background-color: var(--pr-primary);
    border-color: var(--pr-primary);
    color: #fff;
}

.pr-qr {
    display: block;
    width: 240px;
    max-width: 100%;
    height: auto;
    margin: 0 auto 1rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
}

.pr-pay-details dt {
    font-weight: 600;
}

.pr-pay-details dd {
    margin-bottom: 0.5rem;
    word-break: break-all;
}

/* Nápověda ke vzkazu místo řádku „Zpráva pro příjemce" (ADR 0010 bod 4) */
.pr-msg-hint {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    font-size: 0.875rem;
    line-height: 1.45;
    margin: 0.5rem 0 1rem;
    padding: 0.5rem 0.625rem;
    background: #f3f4f6;
    border-left: 4px solid #9ca3af;
}

.pr-msg-hint .fa-solid {
    flex-shrink: 0;
    margin-top: 0.2rem;
}

/* Formuláře */
.pr-form .form-label {
    font-weight: 600;
}

.pr-form .form-text {
    color: #6b7280;
}

.hidden-field {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Reklamní sloty */
.pr-ad {
    margin: 1rem auto;
    text-align: center;
}

.pr-ad[hidden] {
    display: none;
}

.pr-ad-top {
    margin-top: 1rem;
    margin-bottom: 0;
}

.pr-ad-side {
    margin: 0 0 1rem;
}

.pr-ad-list {
    margin: 0 0 0.75rem;
}

@media (max-width: 991.98px) {
    .pr-ad-side {
        display: none;
    }
}

/* Lišta souhlasu s cookies */
.pr-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1050;
    background: var(--pr-text);
    color: #fff;
    padding: 0.75rem 0;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.2);
}

.pr-consent[hidden] {
    display: none;
}

.pr-consent .btn + .btn {
    margin-left: 0.5rem;
}

/* Obsahové stránky (Pravidla, O nás) – HTML z Nastavení */
.pr-richtext {
    overflow-wrap: anywhere;
}

.pr-richtext img {
    max-width: 100%;
    height: auto;
}

/* O nás – jediný kontakt přes Facebook (ADR 0013) */
.pr-facebook-wrap {
    margin: 1rem 0;
    text-align: center;
}

.pr-facebook .fa-facebook {
    margin-right: 0.4rem;
}

/* Patička */
.pr-footer {
    background: var(--pr-text);
    color: #d1d5db;
    padding: 1.5rem 0;
    margin-top: auto;
}

.pr-footer a {
    color: #fff;
}

.pr-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 0.75rem;
}

.pr-footer-html {
    font-size: 0.9rem;
}

/* Hledání a seznam nominovaných (ADR 0003, Admin/Views/Public/Nominees.cshtml) */
.pr-search-form {
    display: flex;
    gap: 0.5rem;
    max-width: 28rem;
    margin-bottom: 1.5rem;
}

.pr-search-form .form-control {
    min-width: 0;
}

.pr-all-nominees {
    text-align: center;
    margin: 1rem 0 0;
}

.pr-nominees-page {
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.pr-nominees-title {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.pr-search {
    margin-bottom: 1rem;
}

/* Pole hledání s ikonou lupy (#35) */
.pr-search-field {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
}

.pr-search-icon {
    position: absolute;
    top: 50%;
    left: 0.75rem;
    transform: translateY(-50%);
    color: #6b7280;
    pointer-events: none;
}

.pr-search-field .form-control {
    padding-left: 2.25rem;
}

.pr-nominees {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pr-nominee {
    border-bottom: 1px solid #e5e7eb;
}

.pr-nominee:last-child {
    border-bottom: 0;
}

.pr-nominee-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: inherit;
    text-decoration: none;
}

.pr-nominee-link:hover .pr-nominee-name,
.pr-nominee-link:focus .pr-nominee-name {
    text-decoration: underline;
}

.pr-nominee-photo {
    flex: 0 0 auto;
    width: 48px;
    height: 60px;
    object-fit: cover;
    border-radius: 0.25rem;
    background: #e5e7eb;
}

.pr-nominee-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.pr-nominee-name {
    font-weight: 600;
    overflow-wrap: anywhere;
}

.pr-nominee-state {
    font-size: 0.875rem;
    color: #6b7280;
}

.pr-nominee-waiting {
    font-style: italic;
}

.pr-nominee-status {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--pr-accent);
    margin-bottom: 0.25rem;
}

/* Detail Borce roku na webu edice (ADR 0012 bod 4): štítek místo pořadí, odkaz na web Borce */
.pr-borec-status {
    margin-bottom: 0.25rem;
}

.pr-borec-status .pr-borec-badge {
    display: inline-block;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 700;
    color: #111;
}

.pr-borec-note {
    font-size: 1.1rem;
    font-weight: 600;
}

.pr-borec-link {
    font-weight: 700;
}

.pr-nominee-borec {
    font-weight: 600;
}

/* Anonymní vzkazy na detailu osoby (ADR 0005) */
.pr-messages {
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.pr-messages-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.25rem 0.75rem;
    border-bottom: 3px solid var(--pr-text);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.pr-messages-title {
    margin: 0;
    text-transform: uppercase;
}

.pr-message-list {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.1rem;
}

@media (min-width: 768px) {
    .pr-message-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.4rem;
    }
}

.pr-message {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 0;
}

.pr-message-text {
    margin: 0;
    background: #fff;
    border: 3px solid var(--pr-text);
    padding: 0.75rem 1rem;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.pr-message-hint {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    background: var(--pr-accent);
    color: var(--pr-text);
    border: 3px solid var(--pr-text);
    padding: 0.75rem 0.9rem;
    font-weight: 600;
    line-height: 1.4;
}

.pr-message-hint .fa-comment {
    flex-shrink: 0;
    font-size: 1.4rem;
}

/* ------------------------------------------------------------ Borec roku (ADR 0007, docs/design/borecroku/)
   Samostatná statická stránka borecroku.cz s vlastním layoutem _BorecLayout. Barvy a písma z themes/borecroku/theme.css. */

.pr-borec {
    --pr-borec-navy: #0f2a6b;
    --pr-borec-gold-light: #f6e7b0;
    --pr-borec-muted: #64748b;
    --pr-borec-body-text: #334155;
    --pr-borec-display: Impact, "Arial Narrow", sans-serif;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--pr-bg);
    color: var(--pr-text);
    font-family: var(--pr-font);
}

.pr-borec-wrap {
    width: 100%;
    max-width: 1072px;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
}

.pr-borec-header {
    background: var(--pr-borec-navy);
    border-bottom: 10px solid var(--pr-accent);
}

.pr-borec-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 22px;
    padding-bottom: 22px;
}

.pr-borec-logo-link {
    display: inline-block;
    line-height: 0;
}

.pr-borec-logo {
    height: 64px;
    width: auto;
    max-width: 100%;
}

.pr-borec-tagline {
    margin: 0;
    color: #fff;
    font-size: 17px;
    text-align: right;
}

.pr-borec-main {
    flex-grow: 1;
    padding-top: 64px;
    padding-bottom: 72px;
}

.pr-borec-hero {
    display: flex;
    flex-direction: row;
    gap: 56px;
    align-items: center;
}

.pr-borec-figure {
    position: relative;
    flex-shrink: 0;
    align-self: flex-start;
    width: 380px;
}

.pr-borec-photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    background: var(--pr-borec-gold-light);
    border: 4px solid var(--pr-borec-navy);
    box-shadow: 10px 10px 0 var(--pr-accent);
}

.pr-borec-medal {
    position: absolute;
    right: -26px;
    top: -22px;
    width: 110px;
    height: 110px;
    transform: rotate(10deg);
}

.pr-borec-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

.pr-borec-badge {
    align-self: flex-start;
    background: var(--pr-accent);
    color: var(--pr-borec-navy);
    font-family: var(--pr-borec-display);
    font-size: 24px;
    text-transform: uppercase;
    padding: 4px 12px;
}

.pr-borec-name {
    margin: 0;
    font-family: var(--pr-borec-display);
    font-weight: 400;
    font-size: 84px;
    line-height: 0.95;
    text-transform: uppercase;
    color: var(--pr-borec-navy);
    overflow-wrap: anywhere;
}

.pr-borec-lead {
    margin: 0;
    font-size: 20px;
    line-height: 1.5;
    color: var(--pr-borec-body-text);
    max-width: 480px;
}

/* Popis osoby, celý text (ADR 0012 bod 10-11) */
.pr-borec-description {
    margin: 0;
    font-size: 17px;
    line-height: 1.6;
    color: var(--pr-borec-body-text);
    max-width: 480px;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.pr-borec-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 3px solid var(--pr-borec-navy);
    padding-top: 16px;
}

.pr-borec-cta-title {
    font-weight: 800;
    font-size: 18px;
    color: var(--pr-borec-navy);
}

.pr-borec-cta-row {
    display: flex;
}

.pr-borec .pr-borec-button {
    display: inline-flex;
    justify-content: center;
    background: var(--pr-accent);
    color: var(--pr-borec-navy);
    text-decoration: none;
    font-weight: 800;
    font-size: 18px;
    padding: 14px 24px;
    border: 3px solid var(--pr-borec-navy);
    box-shadow: 5px 5px 0 var(--pr-borec-navy);
}

.pr-borec .pr-borec-button:hover,
.pr-borec .pr-borec-button:focus {
    background: var(--pr-borec-navy);
    color: var(--pr-accent);
}

.pr-borec-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
    padding: 60px 0;
}

.pr-borec-medal-empty {
    width: 110px;
    height: 110px;
}

.pr-borec-empty-title {
    margin: 0;
    font-family: var(--pr-borec-display);
    font-weight: 400;
    font-size: 64px;
    line-height: 1;
    text-transform: uppercase;
    color: var(--pr-borec-navy);
}

.pr-borec-empty-text {
    margin: 0;
    font-size: 19px;
    line-height: 1.5;
    color: var(--pr-borec-body-text);
    max-width: 560px;
}

.pr-borec-footer {
    background: var(--pr-borec-navy);
    color: #cbd5e1;
    border-top: 6px solid var(--pr-accent);
}

.pr-borec-footer-inner {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    padding-top: 26px;
    padding-bottom: 26px;
}

.pr-borec .pr-borec-footer-link {
    color: var(--pr-accent);
    font-weight: 800;
}

.pr-borec .pr-borec-footer-link:hover {
    color: #fff;
}

.pr-borec-generated {
    color: #94a3b8;
}

@media (max-width: 767.98px) {
    .pr-borec-header {
        border-bottom-width: 8px;
    }

    .pr-borec-header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .pr-borec-logo {
        height: 44px;
    }

    .pr-borec-tagline {
        font-size: 14px;
        line-height: 1.4;
        text-align: left;
    }

    .pr-borec-main {
        padding-top: 22px;
        padding-bottom: 40px;
    }

    .pr-borec-hero {
        flex-direction: column;
        align-items: stretch;
        gap: 26px;
    }

    .pr-borec-figure {
        align-self: stretch;
        width: auto;
        margin-right: 10px;
    }

    .pr-borec-medal {
        right: -10px;
        top: -14px;
        width: 84px;
        height: 84px;
    }

    .pr-borec-info {
        gap: 14px;
    }

    .pr-borec-badge {
        font-size: 20px;
    }

    .pr-borec-name {
        font-size: 52px;
    }

    .pr-borec-lead {
        font-size: 17px;
    }

    .pr-borec-description {
        font-size: 16px;
    }

    .pr-borec-cta-title {
        font-size: 16px;
    }

    .pr-borec .pr-borec-button {
        display: flex;
        flex-grow: 1;
    }

    .pr-borec-empty {
        padding: 30px 0;
    }

    .pr-borec-empty-title {
        font-size: 44px;
    }

    .pr-borec-footer-inner {
        flex-direction: column;
        padding-top: 22px;
        padding-bottom: 22px;
    }
}
