/* Start custom CSS for shortcode, class: .elementor-element-e1a021d */.pbh-section {
  --pbh-red: #BE3D50;
  --pbh-ink: #26272A;
  --pbh-body: #555555;
  --pbh-bg: #fffdf9;
  --pbh-line: #DED8D1;

  position: relative;
  width: 100%;
  background: var(--pbh-bg);
  color: var(--pbh-ink);
  font-family: "DM Sans", sans-serif;
}

.pbh-section,
.pbh-section *,
.pbh-section *::before,
.pbh-section *::after {
  box-sizing: border-box;
}


/* =====================================================
   02. MAIN CONTAINER
===================================================== */

.pbh-container {
  width: 100%;
  max-width: 1780px;
  margin: 0 auto;
  padding: 90px 40px 105px;
}


/* =====================================================
   03. INTRO LAYOUT
===================================================== */

.pbh-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  margin-bottom: 42px;
}

.pbh-intro-copy {
  min-width: 0;
  max-width: 760px;
}


/* =====================================================
   04. EYEBROW
===================================================== */

.pbh-eyebrow {
  display: block;
  margin-bottom: 20px;

  color: var(--pbh-red);
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .13em;
}


/* =====================================================
   05. MAIN HEADING
===================================================== */

.pbh-heading {
  margin: 0;
  padding: 0;

  color: var(--pbh-ink);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 40px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.14;
  letter-spacing: .005em;
}


/* =====================================================
   06. RED BRUSH HIGHLIGHTER
===================================================== */

.pbh-marker {
  position: relative;
  isolation: isolate;
  display: inline-block;

  padding: .005em .13em .035em .055em;
  margin-left: -.055em;

  font: inherit;
  font-style: normal;
  color: #FFF9F4;
}

.pbh-marker::before {
  content: "";
  position: absolute;
  z-index: -1;

  top: .100em;
  bottom: .095em;
  left: -.055em;
  right: -.16em;

  background: var(--pbh-red);

  clip-path: polygon(
    0% 12%, 4% 5%, 15% 8%, 28% 4%,
    43% 6%, 57% 3%, 73% 6%, 87% 4%,
    95% 8%, 100% 18%, 97% 25%,
    100% 33%, 98% 42%, 100% 50%,
    97% 59%, 100% 69%, 96% 76%,
    100% 83%, 94% 94%, 86% 96%,
    71% 94%, 55% 98%, 40% 95%,
    25% 98%, 12% 94%, 3% 97%,
    0% 87%, 2% 75%, 0% 62%,
    1% 47%, 0% 32%
  );
}


/* =====================================================
   07. INTRO DESCRIPTION
===================================================== */

.pbh-description {
  margin: 20px 0 0;
  padding: 0;

  color: var(--pbh-body);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
}


/* =====================================================
   08. SEE ALL POSTS BUTTON
===================================================== */

.pbh-section .pbh-all-button,
.pbh-section .pbh-all-button:visited {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  flex-shrink: 0;
  gap: 10px;

  min-height: 48px;
  padding: 14px 18px;

  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--pbh-ink);

  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;

  box-shadow: none;
  transition: color .25s ease;
}

.pbh-all-button::before,
.pbh-all-button::after {
  content: "";
  position: absolute;
  pointer-events: none;
  width: 100%;
  height: 100%;

  border-color: var(--pbh-red);
  border-style: solid;

  transition:
    width .3s ease,
    height .3s ease;
}

.pbh-all-button::before {
  top: 0;
  left: 0;
  border-width: 1px 0 0 1px;
}

.pbh-all-button::after {
  bottom: 0;
  right: 0;
  border-width: 0 1px 1px 0;
}

.pbh-all-button svg {
  display: block;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  fill: none;
}

@media (hover: hover) {

  .pbh-all-button:hover::before,
  .pbh-all-button:hover::after {
    width: 27px;
    height: 27px;
  }

  .pbh-section .pbh-all-button:hover {
    color: var(--pbh-red);
    background: transparent;
  }

}


/* =====================================================
   09. POST GRID
===================================================== */

.pbh-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  width: 100%;
  align-items: stretch;
}

/* One post or two posts adapt automatically */

.pbh-grid.pbh-count-1 {
  grid-template-columns: minmax(0, 1fr);
  max-width: 750px;
}

.pbh-grid.pbh-count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}


/* =====================================================
   10. POST CARD
===================================================== */

.pbh-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}


/* =====================================================
   11. POST IMAGE
===================================================== */

.pbh-section .pbh-image-link {
  position: relative;
  display: block;

  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;

  border-radius: 12px;
  background: #F1EEE9;
  text-decoration: none;
}

.pbh-image,
.pbh-image-placeholder {
  display: block;
  width: 100%;
  height: 100%;
}

.pbh-image {
  object-fit: cover;
  object-position: center center;
  transition: transform .5s ease;
}

.pbh-image-placeholder {
  background: #F1EEE9;
}


/* =====================================================
   12. IMAGE CORNER ARROW
===================================================== */

.pbh-image-indicator {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 1;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 44px;
  height: 44px;
  border-radius: 50%;

  background: #FFFDF9;
  color: var(--pbh-ink);

  transition:
    color .3s ease,
    background .3s ease;
}

.pbh-image-indicator svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
}

@media (hover: hover) {

  .pbh-image-link:hover .pbh-image {
    transform: scale(1.035);
  }

  .pbh-image-link:hover .pbh-image-indicator {
    background: var(--pbh-ink);
    color: #FFFFFF;
  }

}


/* =====================================================
   13. CARD BODY
===================================================== */

.pbh-card-body {
  display: flex;
  flex-direction: column;
  flex: 0 1 auto;
  align-items: flex-start;

  min-width: 0;
  padding: 22px 0 0;
}


/* =====================================================
   14. DATE
===================================================== */

.pbh-date {
  display: block;
  margin: 0 0 14px;

  color: #77716E;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .025em;
  text-transform: uppercase;
}


/* =====================================================
   15. ARTICLE HEADING
===================================================== */

.pbh-card-title {
  margin: 0 0 15px;
  padding: 0;

  color: var(--pbh-ink);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.17;
}

.pbh-section .pbh-card-title a,
.pbh-section .pbh-card-title a:visited {
  color: inherit;
  text-decoration: none;
  transition: color .25s ease;
}

.pbh-section .pbh-card-title a:hover {
  color: var(--pbh-red);
}


/* =====================================================
   16. ARTICLE EXCERPT
===================================================== */

.pbh-excerpt {
  margin: 0 0 22px;
  padding: 0;

  color: var(--pbh-body);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
}


/* =====================================================
   17. READ ARTICLE LINK
===================================================== */

.pbh-section .pbh-read-link,
.pbh-section .pbh-read-link:visited {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  margin-top: 0;
  padding: 0 0 5px;

  border-bottom: 1px solid var(--pbh-red);

  color: var(--pbh-ink);
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;

  transition:
    color .25s ease,
    gap .25s ease;
}

.pbh-read-link svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: none;
}

@media (hover: hover) {
  .pbh-section .pbh-read-link:hover {
    color: var(--pbh-red);
    gap: 13px;
  }
}


/* =====================================================
   18. LARGE DESKTOP >=1600px
===================================================== */

@media (min-width: 1600px) {

  .pbh-container {
    padding: 160px 40px 90px;
  }

  .pbh-heading {
    font-size: 44px;
  }

  .pbh-grid {
    gap: 32px;
  }

  .pbh-card-title {
    font-size: 28px;
  }
  
  .pbh-section .pbh-image-link {
  aspect-ratio: 4 / 2.4;
  
}

}


/* =====================================================
   19. LAPTOP 1181–1599px
===================================================== */

@media (min-width: 1181px) and (max-width: 1599px) {

  .pbh-container {
    padding: 140px 30px 85px;
  }

  .pbh-heading {
    font-size: 38px;
  }

  .pbh-intro {
    margin-bottom: 35px;
  }

  .pbh-grid {
    gap: 25px;
  }

  .pbh-card-title {
    font-size: 27px;
  }

  .pbh-excerpt {
    font-size: 15px;
  }
  
  .pbh-section .pbh-image-link {
  aspect-ratio: 4 / 2.8;
  
}


}


/* =====================================================
   20. iPAD LANDSCAPE 981–1180px
===================================================== */

@media (min-width: 981px) and (max-width: 1180px) {

  .pbh-container {
    padding: 50px 30px 60px;
  }

  .pbh-heading {
    font-size: 30px;
  }

  .pbh-intro {
    margin-bottom: 30px;
  }

  .pbh-card-title {
    font-size: 24px;
  }

  .pbh-excerpt {
    font-size: 15px;
  }

  .pbh-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
  
  .pbh-section .pbh-image-link {
  aspect-ratio: 4 / 2.8;
  
}

}


/* =====================================================
   21. iPAD PORTRAIT 768–980px
===================================================== */

@media (min-width: 768px) and (max-width: 980px) {

  .pbh-container {
    padding: 45px 30px 60px;
  }

  .pbh-heading {
    font-size: 28px;
  }

  .pbh-intro {
    gap: 20px;
    margin-bottom: 30px;
  }

  .pbh-description {
    font-size: 16px;
  }

  .pbh-grid,
  .pbh-grid.pbh-count-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .pbh-card-title {
    font-size: 24px;
  }

  .pbh-excerpt {
    font-size: 15px;
  }

.pbh-section .pbh-image-link {
  aspect-ratio: 4 / 2.8;
  
}
}


/* =====================================================
   22. PHONE PORTRAIT <=767px
===================================================== */

@media (max-width: 767px) and (orientation: portrait) {

  .pbh-container {
    padding: 40px 25px 60px;
  }

  .pbh-intro {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 40px;
  }

  .pbh-eyebrow {
    margin-bottom: 15px;
  }

  .pbh-heading {
    font-size: 26px;
  }

  .pbh-description {
    margin-top: 15px;
    font-size: 15px;
  }

  .pbh-section .pbh-all-button {
    align-self: flex-start;
  }

  .pbh-grid,
  .pbh-grid.pbh-count-1,
  .pbh-grid.pbh-count-2 {
    grid-template-columns: minmax(0, 1fr);
    gap: 35px;
  }

  .pbh-card-body {
    padding-top: 18px;
  }

  .pbh-card-title {
    font-size: 24px;
  }

  .pbh-excerpt {
    font-size: 15px;
    margin-bottom: 18px;
  }

  .pbh-image-indicator {
    width: 40px;
    height: 40px;
  }
  
  .pbh-section .pbh-image-link {
  aspect-ratio: 4 / 2.6;
  
}

}


/* =====================================================
   23. SMALL PHONE PORTRAIT <=375px
===================================================== */

@media (max-width: 375px) and (orientation: portrait) {

  .pbh-container {
    padding: 30px 20px 50px;
  }

  .pbh-heading {
    font-size: 26px;
  }

  .pbh-card-title {
    font-size: 22px;
  }

  .pbh-grid {
    gap: 30px;
  }

}


/* =====================================================
   24. SMALL PHONE LANDSCAPE 568–736px
===================================================== */

@media (min-width: 568px) and (max-width: 736px)
       and (max-height: 500px)
       and (orientation: landscape) {

  .pbh-container {
    padding: 35px 20px 60px;
  }

  .pbh-heading {
    font-size: 28px;
  }

  .pbh-intro {
    gap: 20px;
    margin-bottom: 30px;
  }

  .pbh-grid,
  .pbh-grid.pbh-count-2 {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .pbh-card-title {
    font-size: 24px;
  }

  .pbh-excerpt {
    font-size: 15px;
  }
  
   .pbh-section .pbh-image-link {
  aspect-ratio: 4 / 2.6;
  
}

}


/* =====================================================
   25. LARGE PHONE LANDSCAPE 737–900px
===================================================== */

@media (min-width: 737px) and (max-width: 900px)
       and (max-height: 500px)
       and (orientation: landscape) {

  .pbh-container {
    padding: 40px 40px 60px;
  }

  .pbh-heading {
    font-size: 28px;
  }

  .pbh-intro {
    margin-bottom: 30px;
  }

  .pbh-grid,
  .pbh-grid.pbh-count-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .pbh-card-title {
    font-size: 24px;
  }

  .pbh-excerpt {
    font-size: 15px;
  }

}


/* =====================================================
   26. ACCESSIBILITY
===================================================== */

.pbh-section a:focus-visible {
  outline: 2px solid var(--pbh-red);
  outline-offset: 4px;
}

.pbh-section a {
  -webkit-tap-highlight-color: transparent;
}

@media (prefers-reduced-motion: reduce) {

  .pbh-section *,
  .pbh-section *::before,
  .pbh-section *::after {
    transition: none !important;
    animation: none !important;
  }

}

/* 27. BLOG — DWIE KOLUMNY I PAGINACJA */
@media (min-width: 768px) {
  .pbh-archive .pbh-grid:not(.pbh-count-1) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.pbh-archive .pbh-pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
}

.pbh-archive .pbh-pagination li > .page-numbers {
  display: inline-grid;
  min-width: 48px;
  min-height: 48px;
  padding-inline: 10px;
  place-items: center;
  border: 1px solid var(--pbh-line);
  border-radius: 6px;
  color: var(--pbh-ink);
  font-size: 15px;
  text-decoration: none;
}

.pbh-archive .pbh-pagination a:hover,
.pbh-archive .pbh-pagination li > .current {
  border-color: var(--pbh-red);
  color: var(--pbh-red);
}

.pbh-archive .pbh-pagination li > .current {
  background: #F7F3EC;
  font-weight: 600;
}/* End custom CSS */