/* NewsDiscoPolo - koncerty (strona koncertu, lista /koncerty/, sekcja na stronie głównej) */

/* ===== Strona koncertu ===== */
.nd-kcrumbs{font-size:13px;color:#8a7d82;margin:0 0 16px!important}
.nd-kcrumbs a{color:#8a7d82;text-decoration:none}
.nd-kcrumbs a:hover{color:#d6102a}
.nd-kcrumbs span{color:#1b1b22}

.nd-khero{display:grid;grid-template-columns:minmax(0,420px) minmax(0,1fr);gap:36px;align-items:start;margin:0 0 44px!important;padding:28px;border-radius:24px;background:#fff;border:1px solid #f0f0f4;box-shadow:0 6px 30px rgba(0,0,0,.06)}
.nd-khero__poster{position:relative;border-radius:16px;overflow:hidden;background:linear-gradient(135deg,#d6102a,#7a0f5a);min-height:200px;box-shadow:0 14px 40px rgba(122,15,90,.28)}
.nd-khero__zoom{display:block;position:relative;cursor:zoom-in}
.nd-khero__zoom img{display:block;width:100%;height:auto}
.nd-khero__zoom span{position:absolute;right:12px;bottom:12px;background:rgba(0,0,0,.6);color:#fff;font-size:12px;font-weight:700;padding:6px 10px;border-radius:999px;opacity:0;transition:opacity .2s}
.nd-khero__zoom:hover span{opacity:1}
.nd-khero__info>*{margin:0 0 14px!important}
.nd-khero__eyebrow{display:inline-block;background:#d6102a;color:#fff;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;padding:5px 10px;border-radius:5px}
.nd-khero__title{font-size:clamp(28px,3.6vw,44px)!important;font-weight:900!important;line-height:1.08!important;color:#1b1b22}
.nd-khero__left{display:inline-flex;align-items:center;gap:8px;background:#fff1f3;color:#a3001a;font-weight:800;font-size:15px;padding:8px 14px;border-radius:999px}
.nd-khero__left:before{content:"";width:9px;height:9px;border-radius:50%;background:#d6102a;box-shadow:0 0 0 4px rgba(214,16,42,.18);animation:ndkPulse 1.6s infinite}
.nd-khero__left.is-past{background:#f1f1f4;color:#6b6b75}
.nd-khero__left.is-past:before{background:#9a9aa5;box-shadow:none;animation:none}
@keyframes ndkPulse{50%{box-shadow:0 0 0 8px rgba(214,16,42,0)}}

.nd-kinfo{list-style:none;margin:6px 0 22px!important;padding:0;display:grid;gap:2px}
.nd-kinfo li{display:flex;gap:14px;align-items:flex-start;padding:12px 0;border-bottom:1px solid #f1f1f5;font-size:16px;font-weight:600;color:#1b1b22;line-height:1.45}
.nd-kinfo li:last-child{border-bottom:0}
.nd-kinfo__ic{flex:0 0 40px;height:40px;border-radius:12px;display:flex;align-items:center;justify-content:center;color:#d6102a;background:#fff1f3}
.nd-kinfo small{display:block;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#8a7d82;margin-bottom:2px}
.nd-kinfo a{color:#d6102a;text-decoration:none;border-bottom:1px solid rgba(214,16,42,.3)}
.nd-kinfo a:hover{border-color:#d6102a}
.nd-kinfo__map{font-size:13px;margin-left:6px;white-space:nowrap}

.nd-khero__btns{display:flex;flex-wrap:wrap;gap:10px}
.nd-khero .nd-bh__btn--ghost{background:#fff!important;color:#a3001a!important;border:2px solid #f3c9d0!important}
.nd-khero .nd-bh__btn--ghost:hover{border-color:#d6102a!important}
.nd-kadd{margin-top:26px!important;padding:16px 18px;border-radius:14px;background:#fff7f8;border:1px dashed #f3c9d0;font-size:15px}
.nd-kadd a{color:#d6102a;font-weight:800}

.nd-kbands{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.nd-kband{display:flex;align-items:center;gap:14px;padding:12px;border-radius:16px;background:#fff;border:1px solid #f0f0f4;text-decoration:none;color:#1b1b22;transition:transform .2s,box-shadow .2s}
.nd-kband:hover{transform:translateY(-3px);box-shadow:0 10px 26px rgba(163,0,26,.14)}
.nd-kband img{width:64px;height:64px;border-radius:12px;object-fit:cover;flex:0 0 64px}
.nd-kband strong{display:block;font-size:17px}
.nd-kband em{display:block;font-style:normal;font-size:13px;color:#8a7d82}

/* ===== Karty plakatów (wspólne: Inne koncerty, lista, strona główna) ===== */
.nd-kgrid,.nd-kloop .wp-block-post-template{display:grid!important;grid-template-columns:repeat(4,1fr);gap:20px;list-style:none;margin:0;padding:0}
.nd-kcard,.nd-kloop .wp-block-post{position:relative;display:flex;flex-direction:column;border-radius:18px;overflow:hidden;background:#fff;border:1px solid #f0f0f4;box-shadow:0 4px 18px rgba(0,0,0,.06);text-decoration:none;color:#1b1b22;margin:0;transition:transform .25s,box-shadow .25s}
.nd-kcard:hover,.nd-kloop .wp-block-post:hover{transform:translateY(-6px);box-shadow:0 18px 40px rgba(163,0,26,.22)}
.nd-kcard__img,.nd-kloop .wp-block-post-featured-image{position:relative;display:block;aspect-ratio:4/5;overflow:hidden;margin:0!important;background:#14101a}
.nd-kcard__img img,.nd-kloop .wp-block-post-featured-image img,.nd-kloop .wp-block-post-featured-image a{display:block;width:100%!important;height:100%!important;object-fit:contain!important;transition:transform .5s}
.nd-kcard:hover .nd-kcard__img img,.nd-kloop .wp-block-post:hover .wp-block-post-featured-image img{transform:scale(1.05)}
.nd-kcard__ph{display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:#fff;font-size:64px}
.nd-kcard__date{position:absolute;left:12px;top:12px;display:flex;flex-direction:column;align-items:center;min-width:54px;padding:6px 8px;border-radius:12px;background:#fff;color:#a3001a;font-size:11px;font-weight:800;text-transform:uppercase;line-height:1.1;box-shadow:0 6px 16px rgba(0,0,0,.2)}
.nd-kcard__date b{font-size:22px;color:#1b1b22}
.nd-kcard__txt{display:flex;flex-direction:column;gap:6px;padding:14px 16px 16px}
.nd-kcard__txt strong{font-size:16px;line-height:1.3}
.nd-kcard__txt em{font-style:normal;font-size:13px;color:#8a7d82}

/* Pętla zapytania (bloki) */
.nd-kloop .wp-block-post{padding:0 0 16px}
.nd-kloop .wp-block-post:not(:has(.wp-block-post-featured-image)):before{content:"\266B";display:flex;align-items:center;justify-content:center;aspect-ratio:4/5;color:#fff;font-size:64px;background:linear-gradient(135deg,#d6102a,#7a0f5a)}
.nd-kloop .wp-block-post>*:not(.wp-block-post-featured-image){margin:0 16px!important}
.nd-kloop .nd-k-when{margin-top:14px!important;color:#d6102a;font-size:13px;font-weight:800;letter-spacing:.02em}
.nd-kloop .wp-block-post-title{font-size:16px!important;line-height:1.3!important;margin-top:6px!important;font-weight:800}
.nd-kloop .wp-block-post-title a{color:#1b1b22;text-decoration:none}
.nd-kloop .wp-block-post-title a:after{content:"";position:absolute;inset:0;z-index:1}
.nd-kloop .nd-k-place{margin-top:6px!important;font-size:13px;color:#8a7d82}
.nd-kloop .nd-k-left{position:absolute;top:12px;left:12px;margin:0!important;z-index:2;background:#fff;color:#a3001a;font-size:12px;font-weight:800;padding:6px 10px;border-radius:999px;box-shadow:0 6px 16px rgba(0,0,0,.2)}
.nd-kloop .nd-k-past{opacity:.75}
.nd-kloop .nd-k-past .wp-block-post-featured-image img{filter:grayscale(.7)}
.nd-kloop .wp-block-query-pagination{margin-top:28px!important;justify-content:center;gap:8px}
.nd-kloop .wp-block-query-no-results{grid-column:1/-1;padding:28px;border-radius:16px;background:#fff;border:1px dashed #e3d4d8;text-align:center;color:#6b6b75}

/* ===== Strona główna: sekcja koncertów ===== */
.nd-konc-home{background:#fff;border-radius:16px;box-shadow:0 2px 12px rgba(0,0,0,.06);padding:24px!important}
.nd-konc-home>*{margin:0 0 18px!important}
.nd-konc-home>*:last-child{margin-bottom:0!important}

/* ===== Lista /koncerty/ ===== */
.nd-phero--konc{background:#7a0f5a linear-gradient(110deg,#7a0f5a 0%,#d6102a 55%,#a3001a 100%)}

@media (max-width:1024px){
 .nd-kgrid,.nd-kloop .wp-block-post-template{grid-template-columns:repeat(3,1fr)}
 .nd-khero{grid-template-columns:minmax(0,320px) minmax(0,1fr);gap:24px}
 .nd-kbands{grid-template-columns:1fr 1fr}
}
@media (max-width:767px){
 .nd-kgrid,.nd-kloop .wp-block-post-template{grid-template-columns:1fr 1fr;gap:12px}
 .nd-khero{grid-template-columns:1fr;padding:16px;border-radius:18px}
 .nd-khero__poster{max-width:420px;width:100%;margin:0 auto}
 .nd-kbands{grid-template-columns:1fr}
 .nd-kcard__txt{padding:10px 12px 12px}
 .nd-kcard__txt strong,.nd-kloop .wp-block-post-title{font-size:14px!important}
 .nd-kloop .wp-block-post>*:not(.wp-block-post-featured-image){margin:0 12px!important}
 .nd-konc-home{padding:16px!important}
}

/* Strona główna: sekcja weselna bez listy profili, odstęp nad paskiem „Dodaj zespół” */
.nd-wesele__add{padding-top:22px!important}

/* Powiększenie plakatu w tej samej karcie */
.nd-lb{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(10,8,12,.92);cursor:zoom-out}
.nd-lb[hidden]{display:none}
.nd-lb img{max-width:100%;max-height:100%;width:auto;height:auto;border-radius:10px;box-shadow:0 20px 60px rgba(0,0,0,.5);cursor:default}
.nd-lb__x{position:absolute;top:14px;right:14px;width:44px;height:44px;border:0;border-radius:50%;background:#fff;color:#1b1b22;font-size:28px;line-height:1;cursor:pointer}

/* Karty koncertów: więcej oddechu w opisie */
.nd-kloop .wp-block-post{padding:0 0 20px}
.nd-kloop .wp-block-post>*:not(.wp-block-post-featured-image){margin-left:18px!important;margin-right:18px!important}
.nd-kloop .nd-k-when{margin-top:18px!important;font-size:12px;letter-spacing:.06em;text-transform:uppercase}
.nd-kloop .wp-block-post-title{margin-top:8px!important;line-height:1.35!important}
.nd-kloop .nd-k-place{margin-top:auto!important;padding-top:12px;font-size:13px;line-height:1.45}
.nd-kloop .nd-k-place:before{content:"";display:block;height:1px;background:#f1f1f5;margin-bottom:10px}
@media (max-width:767px){.nd-kloop .wp-block-post>*:not(.wp-block-post-featured-image){margin-left:12px!important;margin-right:12px!important}}

/* Karty koncertów: odstępy przez padding (motyw zeruje marginesy) */
.nd-kloop .wp-block-post .nd-k-when{padding:18px 18px 0!important;margin:0!important}
.nd-kloop .wp-block-post .wp-block-post-title{padding:8px 18px 14px!important;margin:0!important;flex:1 0 auto}
.nd-kloop .wp-block-post .nd-k-place{padding:12px 0 0!important;margin:0 18px!important;border-top:1px solid #f1f1f5}
.nd-kloop .nd-k-place:before{display:none!important}
@media (max-width:767px){
 .nd-kloop .wp-block-post .nd-k-when{padding:14px 12px 0!important}
 .nd-kloop .wp-block-post .wp-block-post-title{padding:6px 12px 12px!important}
 .nd-kloop .wp-block-post .nd-k-place{margin:0 12px!important}
}
