/* Bolivia: consistent approved DANZO country geometry; no duplicated global language bars */
:root { --se-blue:#006aa7;--se-gold:#fecc00; }
main .sec,main .wrap{max-width:1280px;margin-left:auto;margin-right:auto}
.hero img,.country-hero img{object-fit:cover}
.dance-grid,.dances-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
img{font-style:normal}
@media(max-width:960px){.dance-grid,.dances-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.dance-grid,.dances-grid{grid-template-columns:1fr}}
/* Bolivia heritage cards use the same compact image panel as Scotland. */
.heritage-card img,.heritage-grid img{height:145px;object-fit:cover}
/* Keep directions coherent in all three languages. */
html[lang="fa"] .bolivia-note{direction:rtl;text-align:right}
/* Hide only accidental empty ornamental circles, never navigational links. */

/* DANZO BOLIVIA V9 — RELATED DANCE DIRECTORY & NO-PHOTO CARD REPAIR.
   Overrides obsolete global 7-column styles. Never borrows/repeats photographs. */
body.dance-page:has(#related) #related #rgrid.rgrid{
 display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
 gap:15px!important;width:100%!important;max-width:1240px!important;
 margin-inline:auto!important;align-items:stretch!important;
}
body.dance-page #related #rgrid .bo-mini-link,
body.dance-page #related #rgrid .bo-mini-link.has-mini-photo{
 display:flex!important;flex-direction:row!important;align-items:center!important;
 width:100%!important;height:auto!important;min-width:0!important;min-height:94px!important;
 box-sizing:border-box!important;margin:0!important;padding:12px!important;
 gap:12px!important;overflow:hidden!important;border:1px solid #e1ddec!important;
 border-radius:14px!important;background:#fff!important;color:#102143!important;
 box-shadow:0 8px 22px -18px #152047!important;text-decoration:none!important;
 white-space:normal!important;aspect-ratio:auto!important;float:none!important;
}
body.dance-page #related #rgrid .bo-mini-photo{
 flex:0 0 82px!important;width:82px!important;min-width:82px!important;
 height:66px!important;max-height:66px!important;overflow:hidden!important;
 border-radius:9px!important;position:relative!important;display:block!important;
}
body.dance-page #related #rgrid .bo-mini-photo img{
 width:100%!important;height:100%!important;object-fit:cover!important;
 display:block!important;filter:none!important;
}
body.dance-page #related #rgrid .bo-mini-name{
 display:block!important;flex:1 1 0!important;width:auto!important;min-width:0!important;
 text-align:start!important;overflow-wrap:break-word!important;
}
body.dance-page #related #rgrid .bo-mini-name b{
 position:static!important;display:block!important;width:auto!important;
 color:#102143!important;font:750 15px/1.45 system-ui,sans-serif!important;
 text-align:start!important;overflow-wrap:break-word!important;word-break:normal!important;
}
body.dance-page #related #rgrid .bo-mini-name small{
 position:static!important;display:block!important;white-space:normal!important;
 color:#62518c!important;font:600 12px/1.4 system-ui,sans-serif!important;
 margin:4px 0 0!important;text-align:start!important;
}
body.dance-page #related #rgrid .bo-mini-link:not(.has-mini-photo)::before{
 content:""!important;flex:0 0 5px!important;min-width:5px!important;
 height:62px!important;background:linear-gradient(#e63c63,#7c42db)!important;
 border-radius:10px!important;display:block!important;
}
/* Unverified dance photo: one short informational card, never a large fake picture. */
body.bolivia-page #dances.dances .dcard.no-photo,
body:has(#dances) #dances.dances .dcard.no-photo{
 grid-column:1 / -1!important;display:block!important;
 min-height:108px!important;max-height:150px!important;height:auto!important;
 aspect-ratio:auto!important;align-self:start!important;
 background:#162b53!important;border-radius:14px!important;
 overflow:hidden!important;
}
body:has(#dances) #dances.dances .dcard.no-photo .ph{display:none!important}
body:has(#dances) #dances.dances .dcard.no-photo .body{
 position:relative!important;display:flex!important;flex-direction:column!important;
 justify-content:center!important;min-height:108px!important;
 padding:18px 24px!important;background:#142a52!important;
}
body:has(#dances) #dances.dances .dcard.no-photo h3{
 color:#fff!important;font:800 20px/1.3 system-ui,sans-serif!important;margin:0 0 5px!important;
}
body:has(#dances) #dances.dances .dcard.no-photo p{
 color:#e8eaff!important;font:500 14px/1.5 system-ui,sans-serif!important;margin:0!important;
}
/* Clean 3 -> 2 -> 1 or 4 -> 3 -> 2 -> 1 responsive breakpoints. */
@media(max-width:1120px){body.dance-page:has(#related) #related #rgrid.rgrid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:800px){body.dance-page:has(#related) #related #rgrid.rgrid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px!important}}
@media(max-width:470px){body.dance-page:has(#related) #related #rgrid.rgrid{grid-template-columns:1fr!important}}

/* DANZO Bolivia V10 — photo-backed Explore cards, no gray / illegible blanks */
body.schools-page .b-explore .explore{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
body.schools-page .b-explore .ex{position:relative;min-height:195px;overflow:hidden;border-radius:22px;
 background:linear-gradient(130deg,#123d69,#2d6697);box-shadow:0 13px 33px -18px #0c2146;
 isolation:isolate;transform:translateZ(0)}
body.schools-page .b-explore .ex.e1{background:linear-gradient(130deg,#075f77,#23b5b1)}
body.schools-page .b-explore .ex.e2{background:linear-gradient(130deg,#7e3333,#ee8056)}
body.schools-page .b-explore .ex.e3{background:linear-gradient(130deg,#183d8a,#7051b6)}
body.schools-page .b-explore .ex img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
 opacity:1!important;mix-blend-mode:normal!important;filter:none!important;z-index:0}
body.schools-page .b-explore .ex::after{content:"";position:absolute;inset:0;z-index:1;
 background:linear-gradient(0deg,rgba(6,16,36,.86) 0%,rgba(9,24,48,.20) 70%)}
body.schools-page .b-explore .ex>span{z-index:2;position:absolute;inset:auto 18px 17px!important;
 color:white!important;text-shadow:0 1px 8px #000a}
body.schools-page .b-explore .ex>span b{color:#fff!important;font-size:clamp(19px,2.1vw,25px)!important}
body.schools-page .b-explore .ex>span small{color:#f2f7ff!important}
body.schools-page .bo-explore-credit{font:500 12px/1.6 system-ui,sans-serif;color:#52466a;
 margin:15px 0 0;max-width:1040px}
body.schools-page .bo-explore-credit summary{cursor:pointer;font-weight:750}
body.schools-page .bo-explore-credit a{color:#4037ac;text-decoration:underline}
@media(max-width:1030px){body.schools-page .b-explore .explore{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){body.schools-page .b-explore .explore{grid-template-columns:1fr}}
/* Dance links: readable Persian and English without crushing image/text into narrow columns */
body.dance-page #related #rgrid.rgrid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
body.dance-page #related #rgrid .bo-mini-link{min-width:0!important;word-break:normal!important}
body.dance-page #related #rgrid .bo-mini-name b{overflow-wrap:anywhere!important}
@media(max-width:1050px){body.dance-page #related #rgrid.rgrid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:780px){body.dance-page #related #rgrid.rgrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:470px){body.dance-page #related #rgrid.rgrid{grid-template-columns:1fr!important}}
