/* budempravnik.sk original academic badge collection – private profile and signup */
.bp-academic-emblem{width:78px;height:85px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;filter:drop-shadow(0 7px 7px rgba(20,43,57,.14));transition:transform .2s ease,filter .2s ease}
.bp-academic-emblem svg{width:100%;height:100%;display:block;overflow:visible}
.bp-academic-tile:hover .bp-academic-emblem{transform:translateY(-3px);filter:drop-shadow(0 10px 10px rgba(20,43,57,.21))}
.bp-academic-panel{border-color:#decfaf!important;background:linear-gradient(148deg,#fffdf7,#f9f5eb)!important}
.bp-academic-panel>p{margin-bottom:15px!important;color:#697887!important}
.bp-academic-owned{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:15px}
.bp-academic-tile{display:flex;align-items:center;gap:12px;border:1px solid #e5d9c2;background:#fffdf8;border-radius:13px;padding:14px 12px;min-width:0}
.bp-academic-tile.is-assigned{border-color:#bf9b62;background:linear-gradient(125deg,#fffdf8,#f6ebd4);box-shadow:0 7px 20px rgba(68,47,25,.06)}
.bp-academic-tile .bp-academic-emblem{width:65px;height:72px}
.bp-academic-tile-copy{min-width:0;display:flex;flex-direction:column;gap:4px}
.bp-academic-tile-copy strong{font:600 16px/1.2 Georgia,serif;color:#203f54}
.bp-academic-tile-copy small{font:500 10px/1.45 Inter,system-ui,sans-serif;color:#6e808b;overflow-wrap:anywhere}
.bp-academic-tile-copy em{font:750 9px/1.4 Inter,system-ui,sans-serif;color:#a17843;letter-spacing:.03em;font-style:normal;text-transform:uppercase;margin-top:2px}
.bp-academic-catalog{border-top:1px solid #e8decf;margin-top:19px;padding-top:15px}
.bp-academic-catalog summary{list-style:none;cursor:pointer;font:750 12px/1.4 Inter,system-ui,sans-serif;color:#856235;display:flex;gap:10px;align-items:center;justify-content:space-between}
.bp-academic-catalog summary::-webkit-details-marker{display:none}
.bp-academic-catalog summary span{font-size:20px;transition:transform .2s}
.bp-academic-catalog[open] summary span{transform:rotate(180deg)}
.bp-academic-catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding-top:18px}
.bp-academic-catalog-grid .bp-academic-tile{padding:10px 8px;gap:7px}
.bp-academic-catalog-grid .bp-academic-emblem{width:52px;height:58px}
.bp-academic-catalog-grid .bp-academic-tile-copy strong{font-size:14px}
.bp-academic-catalog>p{font:400 10px/1.7 Inter,system-ui,sans-serif;color:#829099;margin:14px 0 0}
.bp-academic-empty{font:400 12px/1.7 Inter,system-ui,sans-serif;color:#7c8a8c;grid-column:1/-1}
.bp-academic-preview{margin-top:21px;padding:16px;background:linear-gradient(110deg,#f8f2e5,#fffcf6);border:1px solid #e7d4b1;border-radius:14px}
.bp-academic-preview-label{display:block;font:750 10px/1.4 Inter,system-ui,sans-serif;color:#98743e;letter-spacing:.09em;text-transform:uppercase}
.bp-academic-preview-badges{display:flex;gap:16px;align-items:center;flex-wrap:wrap;min-height:53px;margin:9px 0}
.bp-academic-preview-item{display:flex;align-items:center;gap:7px;max-width:100%;font:750 11px/1.35 Inter,system-ui,sans-serif;color:#2e4b5e}
.bp-academic-preview-item .bp-academic-emblem{width:48px;height:55px}
.bp-academic-preview-empty{font:400 11px/1.6 Inter,system-ui,sans-serif;color:#7a8890}
.bp-academic-preview>small{display:block;color:#879096;font-size:10px;line-height:1.55}
@media(max-width:760px){
 .bp-academic-owned{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .bp-academic-tile{flex-direction:column;align-items:center;text-align:center;padding:12px 9px;gap:7px}
 .bp-academic-tile .bp-academic-emblem{width:73px;height:79px}
 .bp-academic-tile-copy strong{font-size:15px}
 .bp-academic-catalog-grid .bp-academic-tile{padding:12px 8px;flex-direction:column}
 .bp-academic-preview-item .bp-academic-emblem{width:53px;height:60px}
 .bp-academic-preview-badges{gap:10px}
}
@media(max-width:360px){.bp-academic-owned{grid-template-columns:1fr}.bp-academic-tile{flex-direction:row;text-align:left}.bp-academic-catalog-grid .bp-academic-tile{flex-direction:column;text-align:center}}
@media(prefers-reduced-motion:reduce){.bp-academic-emblem,.bp-academic-catalog summary span{transition:none!important}}

/* Exact owner-approved artwork: one source image, ten lossless CSS crops. */
.bp-academic-artwork{background-image:url('./assets/academic-badges-approved-v1.jpg');background-size:574.603174603% 430.952380952%;background-repeat:no-repeat;border-radius:50%;aspect-ratio:1;height:auto!important;mix-blend-mode:multiply;filter:none;overflow:hidden}
.bp-academic-artwork.bp-academic-pev,.bp-academic-artwork.bp-academic-apz{border-radius:8%}
.pr-hero-grid>div{min-width:0}
.pr-academic-identity{flex:0 0 300px;max-width:100%;padding:22px 22px 18px;border:1px solid #cfb17c;border-radius:15px;background:linear-gradient(145deg,#fffdf7,#efe4d0);text-align:center;color:#173749;box-shadow:0 12px 30px #071d2a24;display:flex;flex-direction:column;align-items:center;gap:6px}
.pr-academic-medals{display:flex;justify-content:center;align-items:center;gap:8px;width:100%;margin-bottom:5px}
.pr-academic-medals .bp-academic-emblem{width:140px;height:140px}
.pr-academic-medals:has(>.bp-academic-emblem:nth-child(2)) .bp-academic-emblem{width:110px;height:110px}
.pr-academic-identity>strong{font:600 20px/1.3 Georgia,serif;color:#173749}
.pr-academic-identity>span{font:500 12px/1.5 Inter,system-ui,sans-serif;color:#4f6070}
.pr-academic-identity>small{font:400 11px/1.4 Inter,system-ui,sans-serif;color:#77818a}
.pr-academic-identity>a{font:650 10px/1.5 Inter,system-ui,sans-serif;color:#876338!important;margin-top:7px;text-decoration:underline;text-underline-offset:3px}
.pr-school-crest.pr-school-crest-art{width:88px;height:88px;background:none;border:0;box-shadow:none;padding:0;flex:0 0 88px}
.pr-school-crest-art .bp-academic-emblem{width:88px;height:88px}
.bp-academic-owned:has(>.bp-academic-tile:only-child){grid-template-columns:1fr}
.bp-academic-owned>.bp-academic-tile{padding:18px;gap:18px}
.bp-academic-owned .bp-academic-emblem{width:96px;height:96px}
.bp-academic-owned .bp-academic-tile-copy strong{font-size:22px}
.bp-academic-owned .bp-academic-tile-copy small{font-size:12px}
@media(max-width:760px){
 .pr-hero-grid{flex-direction:column;align-items:stretch}
 .pr-academic-identity{flex:0 1 auto;width:100%;box-sizing:border-box;padding:18px}
 .pr-academic-medals .bp-academic-emblem{width:126px;height:126px}
 .bp-academic-owned>.bp-academic-tile:only-child{flex-direction:row;text-align:left;gap:16px}
 .bp-academic-owned .bp-academic-emblem{width:96px;height:96px}
}
