
:root{
  --slhp-red:#c8192f;
  --slhp-red-dark:#9f1022;
  --slhp-ink:#17191c;
  --slhp-muted:#687078;
  --slhp-bg:#f7f5f3;
  --slhp-card:#ffffff;
  --slhp-line:#e9e2de;
  --slhp-soft:#fff0f2;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.slhp-standalone{
  margin:0;background:var(--slhp-bg);color:var(--slhp-ink);
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif
}
.slhp-sitebar{
  background:var(--slhp-red);color:#fff;position:sticky;top:0;z-index:999;
  box-shadow:0 4px 18px rgba(95,0,15,.16)
}
.slhp-sitebar-inner{
  max-width:1540px;margin:auto;padding:13px 28px;display:flex;align-items:center;
  justify-content:space-between;gap:20px
}
.slhp-brand-text,.slhp-back{color:#fff;text-decoration:none}
.slhp-brand-text{display:flex;align-items:center;gap:10px;font-weight:900;font-size:20px;letter-spacing:-.02em}
.slhp-brand-dot{
  width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#fff;
  color:var(--slhp-red);font-weight:1000
}
.slhp-back{font-weight:750;font-size:14px;opacity:.95}
.slhp-back:hover{opacity:.78}

.slhp-shell{width:100%;overflow:hidden}
.slhp-hero{
  position:relative;background:
    radial-gradient(circle at 18% 20%,rgba(255,255,255,.12),transparent 28%),
    linear-gradient(120deg,#a90f23 0%,#d22139 62%,#bc142a 100%);
  color:#fff;isolation:isolate
}
.slhp-heart-pattern{
  position:absolute;inset:0;opacity:.075;pointer-events:none;z-index:-1;
  background-image:
    radial-gradient(circle at 25% 20%, transparent 0 8px, rgba(255,255,255,.8) 9px 10px, transparent 11px),
    radial-gradient(circle at 75% 65%, transparent 0 6px, rgba(255,255,255,.7) 7px 8px, transparent 9px);
  background-size:76px 76px,94px 94px
}
.slhp-heart-pattern:after{
  content:"♥  ♥  ♥  ♥  ♥  ♥  ♥  ♥";position:absolute;inset:0;
  font-size:42px;line-height:120px;letter-spacing:60px;transform:rotate(-9deg);
  color:#fff;white-space:pre-wrap;overflow:hidden
}
.slhp-hero-inner{
  max-width:1540px;margin:auto;padding:54px 28px 50px;display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(360px,.72fr);gap:62px;align-items:center
}
.slhp-hero-copy{max-width:800px}
.slhp-kicker{display:inline-block;font-size:12px;font-weight:950;letter-spacing:.17em;text-transform:uppercase;margin-bottom:12px}
.slhp-hero .slhp-kicker{color:#ffd7dd}
.slhp-hero h1{font-size:clamp(46px,6.4vw,96px);line-height:.92;margin:0 0 18px;font-weight:950;letter-spacing:-.06em}
.slhp-hero h1 span{font-size:.68em}
.slhp-hero p{font-size:clamp(18px,2vw,25px);line-height:1.45;margin:0 0 26px;max-width:690px;color:#fff1f3}
.slhp-hero-note{font-size:14px!important;opacity:.88;margin:19px 0 0!important;max-width:600px!important}
.slhp-actions{display:flex;flex-wrap:wrap;gap:11px}
.slhp-btn{
  appearance:none;border:0;border-radius:9px;padding:14px 19px;font-weight:900;font-size:14px;
  cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;transition:.18s ease
}
.slhp-btn:hover{transform:translateY(-1px)}
.slhp-btn-primary{background:var(--slhp-red);color:#fff;box-shadow:0 7px 20px rgba(154,12,34,.18)}
.slhp-hero .slhp-btn-primary{background:#fff;color:var(--slhp-red);box-shadow:none}
.slhp-btn-light{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.45);color:#fff}
.slhp-btn-outline{background:transparent;border:1px solid #d8c9c4;color:var(--slhp-ink)}

.slhp-hero-photo-wrap{position:relative;display:flex;justify-content:flex-end;align-items:center}
.slhp-hero-photo{
  width:min(100%,610px);aspect-ratio:1.34/1;object-fit:cover;object-position:center 24%;
  border-radius:24px;display:block;box-shadow:0 28px 70px rgba(70,0,11,.28);
  border:6px solid rgba(255,255,255,.18)
}
.slhp-photo-heart{
  position:absolute;left:-24px;bottom:-20px;width:86px;height:86px;border-radius:50%;
  display:grid;place-items:center;background:#fff;color:var(--slhp-red);font-size:45px;
  box-shadow:0 14px 32px rgba(80,0,10,.22);z-index:2
}

.slhp-notice-success{
  max-width:1484px;margin:24px auto 0;padding:15px 18px;background:#e8f7ee;color:#17653a;
  border-left:4px solid #2f9d62;border-radius:8px
}
.slhp-page-layout{
  max-width:1540px;margin:0 auto;padding:0 28px 72px;display:grid;
  grid-template-columns:minmax(0,1fr) 390px;gap:34px;align-items:start
}
.slhp-board-column{min-width:0}
.slhp-side{padding-top:52px;position:sticky;top:75px}
.slhp-side-card,.slhp-side-message{
  background:#fff;border:1px solid var(--slhp-line);border-radius:18px;padding:23px;
  box-shadow:0 8px 30px rgba(31,24,20,.05)
}
.slhp-side-card h2{font-size:30px;line-height:1.02;letter-spacing:-.04em;margin:2px 0 10px}
.slhp-side-card p{color:var(--slhp-muted);line-height:1.55;margin:0 0 16px}
.slhp-gfm-wrap{overflow:hidden;border-radius:12px;min-height:420px}
.slhp-side-message{
  margin-top:16px;background:var(--slhp-red);color:#fff;border-color:transparent
}
.slhp-side-message>span{font-size:38px;display:block;margin-bottom:6px}
.slhp-side-message strong{font-size:21px}
.slhp-side-message p{margin:8px 0 0;line-height:1.5;color:#ffecef;font-size:14px}

.slhp-section{padding:52px 0 4px}
.slhp-section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:20px}
.slhp-section-head>div{display:flex;align-items:center;gap:10px}
.slhp-section-icon{font-size:25px}
.slhp-section h2{font-size:clamp(29px,3vw,43px);margin:0;letter-spacing:-.045em;line-height:1}
.slhp-count{color:var(--slhp-muted);font-size:13px}
.slhp-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.slhp-card{
  background:var(--slhp-card);border:1px solid var(--slhp-line);border-radius:16px;overflow:hidden;
  display:flex;flex-direction:column;min-width:0;box-shadow:0 5px 20px rgba(31,24,20,.045)
}
.slhp-state-expired{opacity:.61;filter:saturate(.72)}
.slhp-card-media{aspect-ratio:4/3;background:#eee8e5;position:relative;overflow:hidden}
.slhp-card-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s ease}
.slhp-card:hover .slhp-card-media img{transform:scale(1.025)}
.slhp-card-placeholder{
  width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:58px;
  background:linear-gradient(135deg,#f6efec,#eadfda)
}
.slhp-badge,.slhp-state{
  position:absolute;top:11px;padding:7px 9px;border-radius:999px;font-size:10px;font-weight:950;letter-spacing:.06em
}
.slhp-badge{left:11px;background:var(--slhp-red);color:#fff}
.slhp-state{right:11px;background:#fff;color:#191919}
.slhp-state-expired .slhp-state{background:#555;color:#fff}
.slhp-card-body{padding:17px}
.slhp-card h3{font-size:20px;line-height:1.12;margin:0 0 12px;letter-spacing:-.025em}
.slhp-meta,.slhp-desc{font-size:13.5px;line-height:1.5;margin:6px 0;color:#596168}
.slhp-card-link{display:inline-flex;margin-top:11px;font-weight:900;color:var(--slhp-red);text-decoration:none}
.slhp-empty{padding:26px;background:#fff;border:1px dashed #d9cbc5;border-radius:12px;color:var(--slhp-muted)}
.slhp-submit-bottom{
  margin:50px 0 0;background:linear-gradient(135deg,#fff 0%,#fff4f5 100%);
  border:1px solid #f0d9dd;padding:30px;border-radius:18px;display:flex;justify-content:space-between;
  align-items:center;gap:24px
}
.slhp-submit-bottom h2{font-size:31px;letter-spacing:-.04em;margin:0 0 6px}
.slhp-submit-bottom p{color:var(--slhp-muted);margin:0;line-height:1.5}
.slhp-submit-bottom .slhp-kicker{color:var(--slhp-red);margin-bottom:7px}

.slhp-modal{display:none;position:fixed;inset:0;z-index:99999}
.slhp-modal.is-open{display:block}
.slhp-modal-backdrop{position:absolute;inset:0;background:rgba(21,15,16,.74);backdrop-filter:blur(3px)}
.slhp-modal-dialog{
  position:relative;background:#fff;width:min(760px,calc(100% - 24px));max-height:calc(100vh - 30px);
  overflow:auto;margin:15px auto;border-radius:16px;padding:28px
}
.slhp-modal-close{position:absolute;right:16px;top:12px;border:0;background:none;font-size:34px;cursor:pointer;color:#6b7479}
.slhp-modal-head h2{font-size:34px;margin:0 0 7px}
.slhp-modal-head p{margin:0 0 24px;color:var(--slhp-muted)}
.slhp-form{display:flex;flex-direction:column;gap:16px}
.slhp-form label{font-size:13px;font-weight:800;display:flex;flex-direction:column;gap:7px}
.slhp-form input,.slhp-form textarea,.slhp-form select{
  width:100%;border:1px solid #d8cfcb;border-radius:8px;padding:13px 14px;font:inherit;background:#fff
}
.slhp-form textarea{resize:vertical}
.slhp-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.slhp-check{flex-direction:row!important;align-items:flex-start;gap:10px!important;font-weight:500!important}
.slhp-check input{width:auto!important;margin-top:3px}
.slhp-submit{width:100%;margin-top:4px}
body.slhp-modal-open{overflow:hidden}
.slhp-footer{
  background:#191516;color:#eadfe1;padding:26px 28px;display:flex;justify-content:center;gap:12px;
  font-size:13px;text-align:center
}
.slhp-footer a{color:#fff;text-decoration:none}

@media(max-width:1250px){
  .slhp-page-layout{grid-template-columns:minmax(0,1fr) 340px}
  .slhp-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:980px){
  .slhp-hero-inner{grid-template-columns:1fr .7fr;gap:30px}
  .slhp-page-layout{grid-template-columns:1fr}
  .slhp-side{position:static;padding-top:12px}
  .slhp-side-card{display:grid;grid-template-columns:.75fr 1.25fr;gap:20px;align-items:start}
  .slhp-side-card .slhp-kicker,.slhp-side-card h2,.slhp-side-card>p{grid-column:1}
  .slhp-gfm-wrap{grid-column:2;grid-row:1/5}
}
@media(max-width:720px){
  .slhp-sitebar-inner{padding:11px 15px}
  .slhp-brand-text{font-size:16px}
  .slhp-brand-dot{width:30px;height:30px}
  .slhp-back{font-size:12px}
  .slhp-hero-inner{padding:38px 16px 32px;grid-template-columns:1fr;gap:26px}
  .slhp-hero h1{font-size:clamp(43px,14vw,68px)}
  .slhp-hero-photo-wrap{justify-content:center}
  .slhp-hero-photo{width:100%;max-height:380px;object-position:center 22%}
  .slhp-photo-heart{left:10px;bottom:-16px;width:66px;height:66px;font-size:34px}
  .slhp-page-layout{padding:0 15px 52px}
  .slhp-grid{grid-template-columns:1fr}
  .slhp-section{padding-top:40px}
  .slhp-count{display:none}
  .slhp-submit-bottom{flex-direction:column;align-items:flex-start;padding:24px 20px}
  .slhp-submit-bottom .slhp-actions{width:100%;display:grid;grid-template-columns:1fr}
  .slhp-side-card{display:block}
  .slhp-gfm-wrap{margin-top:16px;min-height:0}
  .slhp-two{grid-template-columns:1fr}
  .slhp-modal-dialog{padding:22px 16px}
}


/* v1.3 događaji, countdown i lightbox */
.slhp-image-button{
  display:block;width:100%;height:100%;padding:0;border:0;background:none;cursor:zoom-in
}
.slhp-image-button img{width:100%;height:100%;object-fit:cover;display:block}
.slhp-zoom-hint{
  position:absolute;left:12px;bottom:12px;background:rgba(18,18,18,.8);color:#fff;
  padding:7px 9px;border-radius:999px;font-size:10px;font-weight:900;letter-spacing:.03em;
  backdrop-filter:blur(4px);pointer-events:none
}
.slhp-price{
  display:inline-block;background:#fff0f2;color:#9f1022!important;border-radius:7px;
  padding:7px 9px!important;margin-top:8px!important
}

.slhp-events-list{display:grid;gap:20px}
.slhp-event-card{
  display:grid;grid-template-columns:minmax(260px,38%) minmax(0,1fr);
  background:#fff;border:1px solid var(--slhp-line);border-radius:18px;overflow:hidden;
  box-shadow:0 7px 28px rgba(31,24,20,.055)
}
.slhp-event-card.slhp-state-expired{opacity:.64}
.slhp-event-media{
  position:relative;min-height:320px;background:#eee8e5;overflow:hidden
}
.slhp-event-media .slhp-image-button img{
  width:100%;height:100%;object-fit:cover;object-position:center
}
.slhp-event-info{
  position:relative;padding:26px 28px 25px;display:flex;flex-direction:column;align-items:flex-start
}
.slhp-event-topline{
  width:100%;display:flex;justify-content:space-between;align-items:center;margin-bottom:11px
}
.slhp-event-badge{
  display:inline-flex;background:var(--slhp-red);color:#fff;padding:6px 9px;border-radius:999px;
  font-size:10px;font-weight:950;letter-spacing:.07em
}
.slhp-event-info>.slhp-state{
  position:static
}
.slhp-event-topline .slhp-state{
  position:static;background:#f4f1ef;color:#45484c
}
.slhp-event-card.slhp-state-expired .slhp-event-topline .slhp-state{
  background:#555;color:#fff
}
.slhp-event-info h3{
  font-size:clamp(26px,3vw,40px);line-height:1.02;letter-spacing:-.045em;margin:0 0 18px;
  max-width:820px
}
.slhp-event-datebox{
  width:100%;display:grid;grid-template-columns:80px 1fr;gap:15px;align-items:center;
  background:#fff5f6;border:1px solid #f2d5da;border-radius:14px;padding:12px 14px;margin-bottom:15px
}
.slhp-event-calendar{
  width:68px;height:68px;border-radius:12px;background:var(--slhp-red);color:#fff;
  display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1
}
.slhp-event-calendar strong{font-size:27px}
.slhp-event-calendar span{font-size:10px;font-weight:900;letter-spacing:.08em;margin-top:4px}
.slhp-event-when{display:flex;flex-direction:column;gap:3px}
.slhp-event-label{font-size:10px;font-weight:950;letter-spacing:.11em;color:var(--slhp-red)}
.slhp-event-when strong{font-size:20px;letter-spacing:-.02em}
.slhp-event-when>span:last-child{font-size:13px;color:#666d72}
.slhp-countdown{
  width:100%;padding:14px 16px;border-radius:13px;background:#191516;color:#fff;margin:0 0 17px
}
.slhp-countdown-label{
  display:block;color:#ffd8de;font-size:10px;font-weight:950;letter-spacing:.11em;text-transform:uppercase;margin-bottom:10px
}
.slhp-countdown-values{display:flex;gap:10px}
.slhp-countdown-values>div{
  min-width:72px;background:rgba(255,255,255,.08);padding:8px 10px;border-radius:9px;
  display:flex;flex-direction:column
}
.slhp-countdown-values strong{font-size:25px;line-height:1}
.slhp-countdown-values span{font-size:10px;color:#c8c3c4;margin-top:4px}
.slhp-event-ended{
  display:inline-flex;background:#f0eded;color:#666;padding:10px 13px;border-radius:9px;
  font-size:13px;font-weight:850;margin-bottom:15px
}
.slhp-event-desc{color:#596168;line-height:1.58;font-size:14px;margin:8px 0 10px}
.slhp-event-link{
  display:inline-flex;margin-top:auto;color:var(--slhp-red);font-weight:900;text-decoration:none;
  padding-top:7px
}

.slhp-one-heart{
  margin:18px 0 0;background:var(--slhp-red);color:#fff;border-radius:18px;padding:26px 30px;
  display:flex;align-items:center;gap:20px;position:relative;overflow:hidden
}
.slhp-one-heart:after{
  content:"♥";position:absolute;right:-16px;top:-55px;font-size:180px;color:rgba(255,255,255,.08)
}
.slhp-one-heart-icon{
  width:66px;height:66px;border-radius:50%;background:#fff;color:var(--slhp-red);
  display:grid;place-items:center;font-size:35px;flex:0 0 auto
}
.slhp-one-heart .slhp-kicker{color:#ffd8de;margin-bottom:4px}
.slhp-one-heart h2{font-size:31px;letter-spacing:-.04em;margin:0 0 5px}
.slhp-one-heart p{margin:0;color:#ffe9ec;line-height:1.5}

.slhp-lightbox{
  display:none;position:fixed;inset:0;z-index:100000;padding:18px
}
.slhp-lightbox.is-open{display:flex;align-items:center;justify-content:center}
.slhp-lightbox-backdrop{
  position:absolute;inset:0;background:rgba(9,7,8,.9);backdrop-filter:blur(5px)
}
.slhp-lightbox-dialog{
  position:relative;z-index:1;max-width:min(1100px,96vw);max-height:94vh;display:flex;
  flex-direction:column;align-items:center
}
.slhp-lightbox-dialog img{
  display:block;max-width:100%;max-height:84vh;width:auto;height:auto;object-fit:contain;
  border-radius:12px;box-shadow:0 25px 70px rgba(0,0,0,.45);background:#111
}
.slhp-lightbox-close{
  position:absolute;right:-12px;top:-14px;z-index:2;width:42px;height:42px;border-radius:50%;
  border:0;background:#fff;color:#111;font-size:29px;line-height:1;cursor:pointer;
  box-shadow:0 4px 15px rgba(0,0,0,.3)
}
.slhp-lightbox-caption{
  color:#fff;text-align:center;font-size:14px;font-weight:750;padding:11px 14px 0
}
body.slhp-lightbox-open{overflow:hidden}

@media(max-width:900px){
  .slhp-event-card{grid-template-columns:minmax(220px,42%) minmax(0,1fr)}
  .slhp-event-info{padding:21px}
}
@media(max-width:680px){
  .slhp-event-card{grid-template-columns:1fr}
  .slhp-event-media{min-height:0;aspect-ratio:4/5}
  .slhp-event-media .slhp-image-button img{object-fit:contain;background:#f1ece9}
  .slhp-event-info{padding:20px 17px}
  .slhp-event-info h3{font-size:29px}
  .slhp-event-datebox{grid-template-columns:68px 1fr;padding:10px}
  .slhp-event-calendar{width:60px;height:60px}
  .slhp-event-calendar strong{font-size:23px}
  .slhp-event-when strong{font-size:17px}
  .slhp-countdown-values{width:100%}
  .slhp-countdown-values>div{flex:1;min-width:0}
  .slhp-one-heart{padding:22px 18px;align-items:flex-start}
  .slhp-one-heart-icon{width:52px;height:52px;font-size:27px}
  .slhp-one-heart h2{font-size:25px}
  .slhp-lightbox{padding:10px}
  .slhp-lightbox-dialog img{max-height:88vh;border-radius:8px}
  .slhp-lightbox-close{right:3px;top:3px}
  .slhp-lightbox-caption{font-size:12px}
}


/* v1.4 - detail modal: flyer levo, informacije desno */
.slhp-detail-modal{
  display:none;position:fixed;inset:0;z-index:100000;padding:18px
}
.slhp-detail-modal.is-open{display:flex;align-items:center;justify-content:center}
.slhp-detail-backdrop{
  position:absolute;inset:0;background:rgba(10,7,8,.88);backdrop-filter:blur(6px)
}
.slhp-detail-dialog{
  position:relative;z-index:1;width:min(1180px,96vw);max-height:94vh;overflow:auto;
  background:#fff;border-radius:20px;box-shadow:0 30px 90px rgba(0,0,0,.45)
}
.slhp-detail-close{
  position:sticky;float:right;right:14px;top:14px;z-index:10;width:42px;height:42px;
  border-radius:50%;border:0;background:#fff;color:#111;font-size:29px;line-height:1;
  cursor:pointer;box-shadow:0 4px 18px rgba(0,0,0,.2);margin:12px 12px -54px 0
}
.slhp-detail-layout{
  display:grid;grid-template-columns:minmax(350px,46%) minmax(0,54%);min-height:640px
}
.slhp-detail-media{
  background:#171214;display:flex;align-items:center;justify-content:center;min-height:640px;
  overflow:hidden;border-radius:20px 0 0 20px
}
.slhp-detail-media img{
  width:100%;height:100%;max-height:90vh;object-fit:contain;display:block;background:#171214
}
.slhp-detail-placeholder{
  font-size:90px;color:#fff;display:grid;place-items:center;min-height:500px
}
.slhp-detail-info{
  padding:34px 34px 32px;display:flex;flex-direction:column;align-items:flex-start
}
.slhp-detail-topline{
  width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px
}
.slhp-detail-state{
  padding:7px 10px;border-radius:999px;font-size:10px;font-weight:950;letter-spacing:.06em;background:#f1efee
}
.slhp-detail-state-active{background:#e8f7ee;color:#17653a}
.slhp-detail-state-upcoming{background:#fff4d9;color:#805e00}
.slhp-detail-state-expired{background:#ececec;color:#666}
.slhp-detail-info h2{
  font-size:clamp(31px,4vw,52px);line-height:1;letter-spacing:-.05em;margin:0 0 22px
}
.slhp-detail-facts{
  width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:15px
}
.slhp-detail-fact{
  display:grid;grid-template-columns:34px 1fr;gap:9px;align-items:center;background:#faf7f5;
  border:1px solid #eee4df;border-radius:12px;padding:11px 12px
}
.slhp-detail-fact>span{font-size:23px}
.slhp-detail-fact small{
  display:block;color:#8b7770;font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase
}
.slhp-detail-fact strong{display:block;margin-top:2px;font-size:14px;line-height:1.25}
.slhp-detail-countdown{margin-top:0}
.slhp-detail-price{
  width:100%;background:#fff0f2;border:1px solid #f3cfd5;border-radius:12px;padding:12px 14px;margin-bottom:14px
}
.slhp-detail-price small{
  display:block;color:#a20f24;font-size:9px;font-weight:950;letter-spacing:.1em;text-transform:uppercase
}
.slhp-detail-price strong{
  display:block;color:#a20f24;font-size:27px;letter-spacing:-.03em;margin-top:2px
}
.slhp-detail-organizer{font-size:14px;margin:2px 0 12px;color:#565c61}
.slhp-detail-description{
  color:#4d555a;font-size:14px;line-height:1.68;max-height:260px;overflow:auto;padding-right:7px;margin-bottom:18px
}
.slhp-detail-link{
  display:inline-flex;background:var(--slhp-red);color:#fff;text-decoration:none;font-weight:900;
  border-radius:10px;padding:14px 17px;margin-top:auto
}
body.slhp-detail-open{overflow:hidden}

@media(max-width:820px){
  .slhp-detail-modal{padding:10px}
  .slhp-detail-dialog{width:min(680px,98vw);max-height:96vh;border-radius:16px}
  .slhp-detail-layout{grid-template-columns:1fr;min-height:0}
  .slhp-detail-media{min-height:0;max-height:58vh;border-radius:16px 16px 0 0}
  .slhp-detail-media img{width:100%;height:auto;max-height:58vh;object-fit:contain}
  .slhp-detail-info{padding:22px 17px 24px}
  .slhp-detail-info h2{font-size:32px;margin-bottom:17px}
  .slhp-detail-facts{grid-template-columns:1fr}
  .slhp-detail-description{max-height:none}
  .slhp-detail-link{width:100%;justify-content:center}
  .slhp-detail-close{position:sticky;right:8px;top:8px;margin:8px 8px -50px 0}
}
@media(max-width:480px){
  .slhp-detail-modal{padding:0}
  .slhp-detail-dialog{width:100vw;max-height:100vh;height:100vh;border-radius:0}
  .slhp-detail-layout{min-height:100%}
  .slhp-detail-media{border-radius:0;max-height:52vh}
  .slhp-detail-media img{max-height:52vh}
  .slhp-detail-info{padding:19px 15px 28px}
  .slhp-detail-info h2{font-size:28px}
}


/* v1.5 - događaji opet grid + share blok */
.slhp-card-date{
  background:#f8f3f1;border-left:3px solid var(--slhp-red);padding:8px 9px!important;border-radius:0 7px 7px 0
}
.slhp-card-open{
  appearance:none;border:0;background:none;padding:0;margin-top:11px;color:var(--slhp-red);
  font:inherit;font-weight:900;cursor:pointer;text-align:left
}
.slhp-mini-countdown{
  margin:10px 0 5px;background:#191516;color:#fff;border-radius:9px;padding:9px 10px
}
.slhp-mini-countdown .slhp-countdown-label{
  margin:0 0 5px;font-size:8px
}
.slhp-mini-countdown-values{
  display:flex;align-items:baseline;gap:4px
}
.slhp-mini-countdown-values strong{
  font-size:18px;line-height:1
}
.slhp-mini-countdown-values span{
  font-size:9px;color:#d6cfd1;margin-right:5px
}

.slhp-share-section{
  margin:18px 0 0;background:#fff;border:1px solid var(--slhp-line);border-radius:18px;
  padding:28px 30px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:22px;align-items:center
}
.slhp-share-copy .slhp-kicker{color:var(--slhp-red);margin-bottom:5px}
.slhp-share-copy h2{font-size:30px;letter-spacing:-.04em;margin:0 0 6px}
.slhp-share-copy p{margin:0;color:var(--slhp-muted);line-height:1.5;max-width:620px}
.slhp-share-buttons{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
.slhp-share-btn{
  display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:9px;padding:11px 14px;
  color:#fff;text-decoration:none;font-weight:900;font-size:13px;cursor:pointer
}
.slhp-share-facebook{background:#1877f2}
.slhp-share-viber{background:#7360f2}
.slhp-share-whatsapp{background:#25d366;color:#093a1d}
.slhp-share-copybtn{background:#1b1b1b}
.slhp-share-status{
  grid-column:1/-1;min-height:0;color:#17653a;font-size:12px;font-weight:800
}
@media(max-width:820px){
  .slhp-share-section{grid-template-columns:1fr;padding:22px 18px}
  .slhp-share-buttons{justify-content:flex-start}
}
@media(max-width:520px){
  .slhp-share-buttons{display:grid;grid-template-columns:1fr 1fr;width:100%}
  .slhp-share-btn{width:100%}
}


/* v1.6 layout refinement */
.slhp-page-layout{
  padding-bottom:34px;
}
.slhp-side{
  display:flex;
  flex-direction:column;
  gap:16px;
}
.slhp-side .slhp-submit-bottom,
.slhp-side .slhp-one-heart{
  margin:0;
}
.slhp-submit-sidebar{
  display:block;
  padding:24px 22px;
}
.slhp-submit-sidebar h2{
  font-size:27px;
  line-height:1.05;
}
.slhp-submit-sidebar .slhp-actions{
  margin-top:18px;
  display:grid;
  grid-template-columns:1fr;
}
.slhp-submit-sidebar .slhp-btn{
  width:100%;
}
.slhp-one-heart-sidebar{
  padding:22px;
  align-items:flex-start;
}
.slhp-one-heart-sidebar .slhp-one-heart-icon{
  width:54px;height:54px;font-size:28px;
}
.slhp-one-heart-sidebar h2{
  font-size:25px;
}
.slhp-share-full{
  max-width:1484px;
  margin:0 auto 70px;
  width:calc(100% - 56px);
}

/* modal title smaller and summary in one line on desktop */
.slhp-detail-info h2{
  font-size:clamp(26px,2.7vw,40px);
  line-height:1.02;
  margin:0 0 16px;
}
.slhp-detail-summary{
  width:100%;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:9px;
  margin-bottom:15px;
}
.slhp-detail-summary-card{
  min-width:0;
  display:grid;
  grid-template-columns:30px minmax(0,1fr);
  align-items:center;
  gap:8px;
  background:#faf7f5;
  border:1px solid #eee4df;
  border-radius:11px;
  padding:10px 10px;
}
.slhp-detail-summary-icon{
  font-size:20px;
}
.slhp-detail-summary-card small{
  display:block;
  color:#8b7770;
  font-size:8px;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:2px;
}
.slhp-detail-summary-card strong{
  display:block;
  font-size:12px;
  line-height:1.25;
  word-break:break-word;
}
.slhp-detail-summary-countdown{
  background:#191516;
  border-color:#191516;
  color:#fff;
}
.slhp-detail-summary-countdown small{
  color:#ffd5dc;
}
.slhp-detail-summary-countdown strong{
  color:#fff;
}
.slhp-summary-time span{
  font-size:18px;
}
.slhp-detail-summary-ended{
  background:#f0eded;
}
.slhp-detail-description{
  font-size:13.5px;
  line-height:1.58;
  max-height:230px;
}
.slhp-detail-info{
  padding:28px 28px 26px;
}

/* phone: 2-column cards */
@media(max-width:680px){
  .slhp-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:10px;
  }
  .slhp-card{
    border-radius:12px;
  }
  .slhp-card-media{
    aspect-ratio:1/1;
  }
  .slhp-card-body{
    padding:11px;
  }
  .slhp-card h3{
    font-size:15px;
    line-height:1.12;
    margin-bottom:8px;
  }
  .slhp-card .slhp-meta,
  .slhp-card .slhp-desc{
    font-size:11px;
    line-height:1.35;
  }
  .slhp-card .slhp-desc{
    display:none;
  }
  .slhp-badge,.slhp-state{
    font-size:8px;
    padding:5px 6px;
  }
  .slhp-zoom-hint{
    display:none;
  }
  .slhp-card-open{
    font-size:11px;
    margin-top:7px;
  }
  .slhp-mini-countdown{
    padding:7px 8px;
  }
  .slhp-mini-countdown-values strong{
    font-size:15px;
  }

  .slhp-share-full{
    width:calc(100% - 30px);
    margin-bottom:50px;
  }

  .slhp-detail-summary{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
  }
  .slhp-detail-summary-card{
    grid-template-columns:24px minmax(0,1fr);
    padding:9px 8px;
  }
  .slhp-detail-summary-icon{
    font-size:17px;
  }
  .slhp-detail-summary-card strong{
    font-size:11px;
  }
  .slhp-summary-time span{
    font-size:15px;
  }
  .slhp-detail-info h2{
    font-size:25px;
    margin-bottom:13px;
  }
  .slhp-detail-info{
    padding:18px 14px 24px;
  }
}

@media(max-width:390px){
  .slhp-grid{
    gap:8px;
  }
  .slhp-card-body{
    padding:9px;
  }
  .slhp-card h3{
    font-size:14px;
  }
}
