/* ========= BAZA WIEDZY (ARCHIWUM) ========= */
.blog-archive{ padding: clamp(40px,6vw,80px) 0; }


.blog .logo svg,
.blog-archive .logo svg {
  color: #000000;
}


.blog-archive__head{
  display:flex;
  justify-content:flex-start;
  margin-bottom: clamp(18px, 3vw, 26px);
}

.blog-archive__intro{
  max-width: 100%;
}

.background-img {
  display: none;
}

.video-mask-wrapper {
  display: none;
}

.middle-row {
  display: none;
}

.logo img {
  color: black
}


.section-title{
  font-size: 9.6rem;
  line-height: 120%;
  margin: 0 0 12px;
  color: #142338; /* granat jak w projekcie */
  font-weight: 600;
}

.archive-lead {
    max-width: 75%;
    color: black;
    opacity: .9;
    font-size: 1.8rem;
    margin-bottom: 6rem;
    margin-top: 3rem;
    line-height: 1.3;
}

.blog-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.arrow-icon img.hover {
    display: none;
}

.arrow-icon img {
    display: flex;
}

article.blog-tile:hover .arrow-icon img {
    display: none;
}

article.blog-tile:hover .arrow-icon img.hover {
    display: flex;
}



@media (min-width: 900px){
  .blog-grid{ grid-template-columns: 1fr 1fr; gap: 26px; }
}

/* KAFEL */
.blog-tile{
  position:relative;
  border-radius: 5rem;
  overflow:hidden;
  background:#0b0f17;
}
.blog-tile__link{ display:block; color:inherit; text-decoration:none; }

.blog-tile__media{ position:relative; height: 400px; }
.blog-tile__media img{ width:100%; height:100%; object-fit:cover; display:block; }
.blog-tile__fade{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0.00) 15%, rgba(0,0,0,.55) 80%);
}

.blog-tile__content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 5.4rem;
    color: #fff;
}

.blog-tile__title {
    font-size: 3.2rem;
    font-weight: 600;
    line-height: 1;
}

.blog-tile__excerpt{
  margin-bottom: 5rem;
  font-size: 1.6rem;
  line-height: 1.3;
}
.blog-tile__cta{
  align-self:flex-start;
  background:#ffffff;
  color:#142338;
  border-radius:3px;
  padding: 4px 8px;
  font-weight:700;
  font-size: 1.5rem;
}

:where(figure) {
  margin: 0;
}

/* LOAD MORE */
/* kontener linku */
.blog-loadmore {
  margin-top: 8rem;
  text-align: center; /* lub left/right – jak wolisz */
}

/* sam anchor jako “pastylka” */
.blog-loadmore button {
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #142338;
  font-weight: 500;
  font-size: 1.8rem;
  border: 2px solid #3CDC92;
  border-radius: 999px;
  padding: 0.4rem 1.6rem 0 0.4rem;
  line-height: 1;
  gap: 1.6rem;
}

span.btn-loadmore__circle img {
    background: #3CDC92;
    padding: 1rem;
    border-radius: 50%;
}

/* zielone kółko z plusem – pozycjonowane wewnątrz pastylki */
.blog-loadmore a .btn-loadmore__circle {
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);

  width: 36px;
  height: 35px;
  border-radius: 70%;
  background: #3CDC92;

  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* sam plus – skalujesz TYLKO ikonę, kółko zostaje */
.blog-loadmore a .btn-loadmore__circle img {
  width: 18px;   /* tu sterujesz rozmiarem plusa */
  height: auto;
  display: block;
}

/* napis */
.blog-loadmore a .btn-loadmore__label {
  display: inline-block;
}

/* opcjonalny hover */
.blog-loadmore a:hover {
  background: rgba(32, 194, 133, 0.08);
}


/* === SINGLE: HERO === */
.post-hero{
  position: relative;
  /* „podjeżdża” pod header – dopasuj do wysokości Twojego headera */
  margin-top: -10rem;
}

/* płynne animacje */
.blog-tile__media img{
  transition: transform .5s ease, filter .35s ease;
  transform-origin: center;
  will-change: transform;
}
.blog-tile__cta{
  transition: background-color .25s ease, color .25s ease, box-shadow .25s ease;
}

/* HOVER: lekki zoom zdjęcia */
.blog-tile:hover .blog-tile__media img{
  transform: scale(1.06);
}

/* HOVER: CTA na zielono */
.blog-tile:hover .blog-tile__cta{
  background:#3CDC92;
  color:#fff;
}

/* (opcjonalnie) lekko odsłoń zdjęcie podczas hoveru */
.blog-tile:hover .blog-tile__fade{
  opacity:.85;                  /* niższe przyciemnienie */
  transition: opacity .35s ease;
}


.post-hero__media{
  position: relative;
  height: clamp(240px, 45vw, 420px);
  overflow: hidden;
}
.post-hero__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.post-hero__fade{
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.00) 70%, rgba(0,0,0,.25) 100%);
  pointer-events: none;
}

/* === SINGLE: BODY === */
.post-body { padding: 5rem 25rem  }
.post-title{
    font-size: 4.8rem;
    line-height: 130%;
    margin: 0;
    margin-bottom: 4.8rem;
    font-weight: 600;
    margin-top: 10rem;
}

.post-intro {
    font-size: 2.4rem;
    font-weight: 600;
    padding-bottom: 2.4rem;
}

.post-intro:after {
    content: '';
    width: 40px;
    height: 10px;
    background: #3CDC92;
    display: flex;
    margin-top: 7.2rem;
}

.post-lead{
  font-size: clamp(1.6rem, 2.1vw, 1.7rem);
  line-height: 1.55;
  opacity: .9;
  margin-bottom: 1.8rem;
}
.post-content{
  font-size: 2rem;
  line-height: 150%;
}

.post-content p{ margin: 0 0 1.2rem; }
.post-related{ padding: clamp(36px, 6vw, 72px) 0; }

.hp-blog__head{
  display:flex; align-items:center; justify-content:space-between;
  gap: 20px; margin-bottom: 24px; border-bottom: 1px solid rgba(0,0,0,.08);
}
.section-title-blog{ font-size:1.6rem; font-weight:600; line-height:130%; }

.btn-ghost{ display:inline-flex; align-items:center; gap:8px; color:#142338; text-decoration:none; font-weight:600; font-size:1.5rem; }
.arrow-icon img{ width:11px; display:block; }
.hp-blog__list{ display:grid; gap:18px; }

@media (min-width:900px){ .hp-blog__list{ gap:20px; } }

.hp-blog{ padding: clamp(40px,6vw,80px) 0; }
.hp-blog__head{
  display:flex; align-items:center; justify-content:space-between;
  gap: 20px; 
  margin-bottom: 3rem;
  border-bottom: 1px solid;
}

.hp-blog__list{
  display:grid; gap: 18px;
}

@media (min-width: 900px){ .hp-blog__list{ gap: 20px; } }

.blog-card{
  border-radius: 5rem; overflow:hidden; position:relative; background:#0b0f17;
}
.blog-card__link{ display:grid; grid-template-columns: 1fr; text-decoration:none; color:inherit; }

.blog-card__media{ 
  position:relative; 
  height: 220px;
  margin: 0; 
}

@media (min-width: 860px){ .blog-card__media{ height: 240px; } }
.blog-card__media img{ width:100%; height:100%; object-fit:cover; display:block; }
.blog-card__fade{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0.00) 15%, rgba(0,0,0,.55) 75%);
}
.blog-card__content{
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;   
  align-items: flex-start;   
  padding: 2rem 6rem;
  color: #fff;
  margin-top: 3rem;
}
.blog-card__title{ 
  color: white;
  font-size: 3.2rem;
  font-weight: 600;
  margin-bottom: 1.6rem;
  margin-top: 0rem;
 }

 .blog-card__row{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20%;
}

.blog-card__excerpt { 
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 130%;
  margin: 0;
  opacity: .95;
  flex: 1;
}

.blog-card__cta{
  align-self:flex-end; background:#ffffff; color:#142338;
  border-radius: 5px; font-weight:700; font-size:1.5rem;
  padding-left: 0.8rem;
}

.btn-ghost{
  align-items:center;
  color:#142338; text-decoration:none; font-weight:600;
  font-size: 1.5rem;
}

.section-title-blog {
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 130%;
}

.arrow-icon {
  display: inline-flex;        /* flex do centrowania */
  align-items: center;
  justify-content: center;
  width: 24px;                 /* rozmiar kwadratu */
  height: 24px;
  border-radius: 4px;          /* opcjonalnie zaokrąglenie rogów */
  margin-left: 8px;            /* odstęp od tekstu */
}

.arrow-icon img {
  width: 12px;                 /* szerokość samej strzałki */
  height: auto;
  display: block;
}

.arrow-icon-blog {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.blog-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
   background: linear-gradient(
    to right,
    #1b6143 0%,   /* najciemniejszy zielony po lewej */
    #3CDC92 100%  /* jaśniejszy zielony po prawej */
  );
  mix-blend-mode: multiply; /* nakładanie koloru na zdjęcie */
  pointer-events: none;
  opacity: 1; /* domyślnie widoczne */
  transition: opacity 0.4s ease;
}

section.blog-archive .arrow-icon {
    width: 21px;
    height: 21px;
    margin-left: 0px;
}


@media (min-width: 2100px) {
.blog-tile__media {
    height: 500px;
}

.blog-tile__content {
    padding: 3.2rem;
}
}

@media (max-width: 1100px) {
  .blog-tile__excerpt {
    display: none;
  }
  .post-hero{ margin-top: -220px; }

  .post-body {
    padding: 0;
  }

  .blog-card__excerpt {
    display: none;
  }

  .blog-tile__media {
    height: 300px;
  }
}

@media (min-width: 500px) {
.blog-card:hover .blog-card__media::before {
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.6) 0%,   /* przyciemnienie po lewej */
    rgba(0, 0, 0, 0.2) 100%  /* lżejsze po prawej */
  );
  mix-blend-mode: multiply;
  opacity: 1; /* znika przy hoverze */
}
}



@media (max-width: 480px) {
  .post-hero {
    margin-top: -70px;
  }
  .post-title {
        font-size: 3.2rem;
        margin-top: 4.8rem;
    }

  .post-intro {
    font-size: 1.8rem;
  }
  .post-content {
    font-size: 1.5rem;
  }
  .post-body {
    padding: 0;
  }

  .section-title {
    font-size: 6rem;
  }

  .archive-lead {
    font-size: 1.4rem;
    margin-bottom: 3rem;
  }

  .blog-tile__content {
    padding: 3rem;
  }

  .blog-card__content {
    padding: 3rem;
  }

  .blog-tile__title {
    font-size: 2.4rem;
    line-height: 1;
  }

  .blog-card__title {
    font-size: 2.4rem;
    line-height: 1;
  }

  .blog-tile__excerpt {
    display: none;
  }

  .blog-card__excerpt {
    display: none;
  }

  .section-title-blog {
    font-size: 1.2rem;
  }
  .btn-ghost {
    font-size: 1.2rem;
    gap: 0;
  }

  .blog-tile__media {
      height: 250px;
  }

  .archive-lead {
      max-width: 100%;
  }

  .blog-loadmore {
    margin-top: 3rem;
}
  
}