/* JSD Partizan fixtures – visually aligned with Na današnji dan. */
.jsdm{width:100%;max-width:var(--wp--style--global--wide-size,1200px);margin-inline:auto;box-sizing:border-box;color:#fff}
.jsdm,.jsdm *{box-sizing:border-box}
.jsdm-heading{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:22px}
.jsdm-kicker{font-size:12px;font-weight:700;letter-spacing:.12em;color:#dfb258;text-transform:uppercase;margin-bottom:8px}
.jsdm-heading h2{color:#fff!important;font-size:clamp(27px,3vw,40px);line-height:1.15;margin:0!important}
.jsdm-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.jsdm-grid:has(>.jsdm-card:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}
.jsdm-card{min-width:0;display:flex;flex-direction:column;gap:20px;border:2px solid #eee;border-radius:5px;background:#080808;color:#fff;padding:clamp(18px,2vw,28px)}
.jsdm-label{font-size:13px;letter-spacing:.035em;text-transform:uppercase;color:#dfb258;font-weight:700}
.jsdm-match{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px;min-height:85px}
.jsdm-team{font-size:clamp(16px,1.65vw,23px);font-weight:750;line-height:1.2;overflow-wrap:anywhere;text-align:center}
.jsdm-vs{color:#dfb258;font-size:clamp(16px,2.2vw,27px);font-weight:800;white-space:nowrap}
.jsdm-meta{display:flex;flex-direction:column;gap:5px;font-size:14px;color:#fff;border-top:1px solid #333;padding-top:12px}
.jsdm-source{margin-top:auto;align-self:flex-start;color:#dfb258!important;text-decoration:none;font-weight:700;font-size:13px}
.jsdm-source:hover{text-decoration:underline}
.jsdm-status{color:#dfb258}
.jsdm-empty{border:2px solid #eee;border-radius:5px;background:#080808;color:#fff;padding:22px}
@media(max-width:1050px){.jsdm-grid,.jsdm-grid:has(>.jsdm-card:nth-child(3):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.jsdm-grid,.jsdm-grid:has(>.jsdm-card:nth-child(3):last-child){grid-template-columns:minmax(0,1fr)}.jsdm-card{gap:15px}.jsdm-match{min-height:65px}}

/* 2.8: competition first, gold metadata like Na danasnji dan, crests */
.jsdm-label{font-size:14px;letter-spacing:0;text-transform:none;color:#dfb258;font-weight:600}
.jsdm-team{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}
.jsdm-crest{display:block;width:65px;height:65px;object-fit:contain;max-width:100%}
.jsdm-crest-placeholder{width:65px;height:65px;border:1px solid #555;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:26px;color:#dfb258;font-weight:700}
@media(max-width:700px){.jsdm-crest,.jsdm-crest-placeholder{width:49px;height:49px}.jsdm-team{font-size:14px}}

/* 3.0: stacked team names and prominent match time */
.jsdm-label .jsdm-competition{color:#fff}.jsdm-label .jsdm-sport,.jsdm-label .jsdm-separator{color:#dfb258}
.jsdm-match{display:flex;flex-direction:column;align-items:stretch;gap:12px}
.jsdm-team{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;gap:14px;text-align:left;font-size:clamp(16px,1.7vw,22px)}
.jsdm-team .jsdm-crest,.jsdm-team .jsdm-crest-placeholder{width:50px;height:50px;flex-shrink:0}
.jsdm-vs{align-self:flex-start;margin-left:64px;color:#dfb258;font-size:clamp(21px,2.5vw,30px);font-weight:800;line-height:1.15}
.jsdm-meta:empty{display:none}
@media(max-width:700px){.jsdm-team .jsdm-crest,.jsdm-team .jsdm-crest-placeholder{width:42px;height:42px}.jsdm-vs{margin-left:56px}}

/* 3.1: calmer hierarchy for kickoff and venue */
.jsdm-match{gap:14px}
.jsdm-kickoff{display:flex;align-items:center;gap:12px;padding-left:64px;margin:0;min-height:38px}
.jsdm-kickoff-line{height:1px;background:#343434;flex:1;min-width:12px}
.jsdm-kickoff-content{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:85px}
.jsdm-kickoff-caption{color:#969696;font-size:10px;font-weight:650;letter-spacing:.13em;line-height:1.1}
.jsdm-kickoff-value{color:#dfb258;font-size:clamp(16px,1.55vw,20px);font-weight:700;line-height:1.15;white-space:nowrap;font-variant-numeric:tabular-nums}
.jsdm-meta{gap:10px}
.jsdm-venue{display:flex;flex-direction:column;gap:4px}
.jsdm-venue-label{color:#969696;font-size:10px;font-weight:650;letter-spacing:.12em}
.jsdm-venue-name{color:#eee;font-size:13px;font-weight:500;line-height:1.4}
@media(max-width:700px){.jsdm-kickoff{padding-left:56px}.jsdm-kickoff-content{min-width:75px}}

/* 3.2: venue at top right, opposite competition and sport */
.jsdm-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;min-width:0}
.jsdm-card-head .jsdm-label{min-width:0;flex:1 1 auto}
.jsdm-card-head .jsdm-venue{flex:0 1 44%;min-width:0;max-width:44%;text-align:right;color:#a9a9a9;font-size:12px;font-weight:500;line-height:1.4;overflow-wrap:anywhere}
.jsdm-card .jsdm-meta:empty{display:none}
@media(max-width:500px){.jsdm-card-head{gap:8px}.jsdm-card-head .jsdm-venue{font-size:11px;max-width:46%}}

/* 3.3: align typography with Na danasnji dan, white venue */
.jsdm-kicker{font-size:12px;letter-spacing:.09em}
.jsdm-heading h2{font-size:clamp(25px,3vw,36px);line-height:1.2}
.jsdm-label{font-size:13px;font-weight:400;letter-spacing:0;line-height:1.5}
.jsdm-card-head .jsdm-venue{color:#fff;font-size:13px;font-weight:400;line-height:1.5}
@media(max-width:500px){.jsdm-card-head .jsdm-venue{font-size:13px}}

/* 3.6: prevent theme rules from clipping club crests */
.jsdm-card .jsdm-match,.jsdm-card .jsdm-team{overflow:visible!important;min-height:0}
.jsdm-card .jsdm-team img.jsdm-crest{
 display:block!important;box-sizing:content-box!important;width:50px!important;height:50px!important;
 min-width:50px!important;min-height:50px!important;max-width:none!important;max-height:none!important;
 object-fit:contain!important;object-position:center!important;aspect-ratio:1/1;
 flex:0 0 50px!important;margin:0!important;padding:0!important;border:0!important;overflow:visible!important;
}
.jsdm-card .jsdm-kickoff-caption{font-size:11px;letter-spacing:.055em;text-align:center}
@media(max-width:700px){.jsdm-card .jsdm-team img.jsdm-crest{
 width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;flex-basis:44px!important}}

/* 3.7: show original uncropped image within a flexible aspect-preserving frame */
.jsdm .jsdm-card,.jsdm .jsdm-match,.jsdm .jsdm-team{overflow:visible!important}
.jsdm .jsdm-crest-frame{width:58px;height:62px;flex:0 0 58px;display:flex;align-items:center;justify-content:center;overflow:visible!important}
.jsdm .jsdm-team .jsdm-crest-frame img.jsdm-crest{display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;min-width:0!important;min-height:0!important;object-fit:contain!important;object-position:center!important;aspect-ratio:auto!important;flex:none!important;clip-path:none!important;border-radius:0!important;transform:none!important}
.jsdm .jsdm-individual{display:flex;flex-direction:column;gap:15px}
.jsdm .jsdm-individual .jsdm-kickoff{padding-left:0}
.jsdm .jsdm-event-name{font-size:clamp(17px,1.7vw,22px);font-weight:750;line-height:1.3;color:white}
.jsdm .jsdm-participant{font-size:13px;color:#ccc}
@media(max-width:700px){.jsdm .jsdm-crest-frame{width:48px;height:54px;flex-basis:48px}}
