/* === HC Strefa Klienta — frontend.css === */


/* Kontener listy + akcje */




/* KAFELEK */



/* Media (miniatura/poster) */
.hcsk-card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #f6f6f6;
    overflow: hidden;
}

.hcsk-card-media img,
.hcsk-card-media video,
.hcsk-card-media iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Pigułka etykiety (np. TESTY, EDUKACJA) */


/* Overlay przycisku do wideo */
.hcsk-video-trigger {
  
 padding: 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 4px;
    border: 1px solid #FFFFFF;
    border-radius: 31px;
    font-size: 14px;
    line-height: 18px;
    font-weight: 500;
    background-color: transparent;
    color: white;
    padding-left: 25px;
    cursor: pointer;
    transition: all 0.2s;
}

.hcsk-video-trigger svg{
    fill: white;
    width: 40px;
    height: 40px;
}


/* Body kafelka */
.hcsk-card-body {
    padding: 16px;
}

.hcsk-card-date {
    font-size: 14px;
    line-height: 26px;
    font-family: var(--font-primary);
    font-weight: 500;
    color: black !important;
}
.hcsk-card-with-video .hcsk-card-date {
    color: white !important;
}

.hcsk-card-cta {
    padding: 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding:  15px 25px;
    border: 1px solid #FFFFFF;
    border-radius: 31px;
    font-size: 14px;
    line-height: 18px;
    font-weight: 500;
    background-color: white;
  color: black;
  
    cursor: pointer;
    transition: all 0.2s;
        font-family: var(--font-secondary);
}
.hcsk-card-cta svg{
        transform: rotate(135deg);
        width: 10px;
    height: auto;
    flex: 0 0 10px;
    fill: black;
}
.hcsk-cta-ico {
    display: inline-block;
}

/* Drobne responsywne dopieszczki */

/* === GLOBALNY MODAL WIDEO === */
.hcsk-video-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
}

.hcsk-video-modal.is-open {
    display: block;
}

.hcsk-video-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .7);
}

.hcsk-video-dialog {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(92vw, 1080px);
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
}

.hcsk-video-header {
    display: flex;
    justify-content: flex-end;
    background: #111;
    color: #fff;
    padding: 8px 8px;
}

.hcsk-video-close {
    background: transparent;
    color: #fff;
    border: none;
    padding: 8px;
    cursor: pointer;
}

.hcsk-video-body {
    background: #000;
    aspect-ratio: 16 / 9;
}

.hcsk-video-body video,
.hcsk-video-body iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* Zapobiegaj “rozpychaniu” iframe oEmbed spoza modala */
.hcsk-card-media iframe {
    aspect-ratio: 16 / 9;
}

/* Koniec */

/* ----------------------- */
/* PĘTLA KAFELKÓW -------- */
/* ----------------------- */

.hcsk-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 15px;
    align-items: stretch;
}

@media (min-width: 640px) {
    .hcsk-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .hcsk-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .hcsk-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}


.hcsk-list {
    width: 100%;
}


.hcsk-actions {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}


.hcsk-card {
    border: 1px solid #D6D2CD;
    background-color: #F9F7F3;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 460px;
}
.hcsk-card.hcsk-card-classic{
    justify-content: space-between;
}


.hcsk-card-img{
transition: all 0.2s;
}

.hcsk-card:hover .hcsk-card-img{
    transform: scale(1.1);
}
.hcsk-card-with-video .hcsk-card-img{
 position: absolute;
 inset: 0px;
 width: 100%;
 height: 100%;
 object-fit: cover;
}
.hcsk-card-classic .hcsk-card-img{
    height: 240px;
    border-radius: 0 0 20px 20px;
}
.hcsk-card-classic .hcsk-card-img-wrapper{
    height: 240px;
      border-radius: 0 0 20px 20px;
      overflow: hidden;
}

.hcsk-card:focus-visible {
    outline: 2px solid #000;
    outline-offset: 2px;
}


.hcsk-card-title {

    font-size: 20px;
    line-height: 26px;
    font-family: var(--font-primary);
    font-weight: 500;
    color: black !important;
    margin: 0px;
}

.hcsk-card-with-video .hcsk-card-title {
    color: white !important;
}
.hcsk-card-footer{
     z-index: 4;
    display: flex;
    flex: 0 0 calc(100% - 240px);
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
    margin-top: auto;
    gap: 15px;
}

.hcsk-pill {
    position: absolute;
    left: 12px;
    top: 12px;
    font-size: 13px;
    line-height: 24px;
    font-weight: 500;
    color: black;
    background-color: white;
    padding: 3px 20px;
    border-radius: 16px;
    font-family: var(--font-primary);
    box-shadow: 0px 3px 10px #00000014;
}


/* -------------------- */
/* SINGLE POST -------- */
/* -------------------- */
.strefa_single-article-content .entry-content {
    max-width: 1022px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.strefa_single-article-content .entry-content * {

    font-family: var(--font-secondary);
}

.strefa_single-article-content .entry-content p {
    font-size: 18px;
    line-height: 28px;
    color: black;
}

.strefa_single-article-content .entry-content h1,
.strefa_single-article-content .entry-content h2,
.strefa_single-article-content .entry-content h3,
.strefa_single-article-content .entry-content h4,
.strefa_single-article-content .entry-content h5,
.strefa_single-article-content .entry-content h6 {
    font-family: var(--font-primary);
    color: black;
    font-weight: 500;
}

.strefa_related-wrapper {}



/* RELACJE */

.strefa_related-wrapper {
    margin-top: 90px;
    margin-bottom: 90px;
    padding-top: 90px;
    border-top: 1px solid #D6D2CD;
}

.hcsk-more{
    cursor: pointer;
}