/* DEFAULTS */

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  background-color: #fff;
  font-family: "Poppins", "Arial", sans-serif;
  color: #525252;
  font-size: 16px;
  font-weight: 400;
  line-height: 130%;
  overflow-x: hidden;
}

img,
object,
embed {
  max-width: 100%;
}

a:hover,
a:focus,
a:active {
  outline: none !important;
  color: #000;
}

strong,
b {
  font-weight: 700;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: "Poppins", "Arial", sans-serif;
  color: #161616;
  font-weight: 500;
  line-height: 130%;
  margin: 0;
}

h1,
.h1 {
  font-size: 82px;
  color: var(--heading-color-h1);
}

h2,
.h2 {
  font-size: 42px;
}

h3,
.h3 {
  font-size: 24px;
}

h4,
.h4,
h5,
.h5,
h6,
.h6 {
  font-size: 14px;
}

p {
  margin: 0;
}

a {
  color: var(--link-color);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

textarea {
  resize: vertical;
}

img {
  max-width: 100%;
  height: auto;
}

picture {
  display: flex;
  /* height: auto; */
  height: 100%;
}

button {
  outline: none !important;
  background-color: transparent;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

.container {
  position: relative;
  max-width: 1800px;
  margin: 0 auto;
  width: 100%;
  padding: 0 15px;
}

main {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  height: 100%;
  transition: padding 0.3s ease;
}

/* btns */

.btn {
  color: #0b1220;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 100%;
  display: inline-flex;
  gap: 8px;
  transition: color 0.3s ease, background 0.3s ease, border 0.3s ease;
  background-color: #6ee7b7;
  border-radius: 16px;
  padding: 15px 25px;
}

.btn svg path {
  fill: #fff;
}

.btn:hover,
.btn:active,
.btn:focus-within {
  color: #6ee7b7;
  background-color: #0b1220;
}

.btn-primary {
  background: #d97421;
  border-color: #d97421;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus-within {
  background: #e9700d;
  border-color: #e9700d;
}

/* btns */

.colored {
  color: #d97421;
}

@media only screen and (max-width: 1199px) {
  h1,
  .h1 {
    font-size: 64px;
  }

  h2,
  .h2 {
    font-size: 32px;
  }

  h3,
  .h3 {
    font-size: 20px;
  }

  h4,
  .h4,
  h5,
  .h5,
  h6,
  .h6 {
    font-size: 14px;
  }
}

@media only screen and (max-width: 991px) {
  h1,
  .h1 {
    font-size: 44px;
  }

  h2,
  .h2 {
    font-size: 26px;
  }

  h3,
  .h3 {
    font-size: 20px;
  }

  h4,
  .h4,
  h5,
  .h5,
  h6,
  .h6 {
    font-size: 14px;
  }
  .p,
  p {
    font-size: 16px;
  }
}

@media only screen and (max-width: 768px) {
  h1,
  .h1 {
    font-size: 36px;
  }
}

/* Home blog */
.blog-posts-fullContent {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.blog-posts-heading {
  margin-top: 80px;
  margin-bottom: 30px;
}

.posts-box-home {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 33.333%;
  gap: 5px;
}

.posts-box-home-link {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.blog-posts .posts {
  width: 100%;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.blog-posts .posts .single-post {
  display: flex;
  flex-direction: column;
  width: calc(33.333333% - 14px);
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  gap: 15px;
  background-color: #0b1220;
  padding: 25px;
}

.single-post a .wp-post-image {
  border-radius: 12px;
}

.single-post h2 {
  display: flex;
}

.single-post h2 a {
  font-size: 32px;
  transition: color 0.3s ease-in-out;
}

.single-post h2 a:hover {
  color: #fff;
}

.blog-posts .posts .single-post p {
  text-align: justify;
  color: #fff;
}

.read-more-btn {
  color: var(--link-color);
  font-weight: 500;
}

.read-more-btn:hover {
  color: #fff;
}

.widget-area.widget-areaCustom ul {
  margin: 0;
  padding: 0;
}

.widget-area.widget-areaCustom ul li {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.widget-area.widget-areaCustom a {
  color: #6ee7b7;
  transition: color 0.3s ease-in-out;
}

.widget-area.widget-areaCustom a:hover {
  color: #0b1220;
}

.post-thumb h4 {
  padding-top: 5px;
}

.post-thumb .post-date {
  padding-top: 5px;
}

.blog-posts .posts .post-description {
  padding-top: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-date,
.post-description {
  color: #000;
}

.widget-areaCustom {
  width: 20%;
}

/* Home blog */

/* Single blog */
.current-post-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.current-post-title img {
  max-width: 1200px;
  width: 50%;
}

.single-blog-post-sidebar-title {
  margin-top: 80px;
  margin-bottom: 50px;
}

.single-blog-post-sidebar-title h2 {
  text-align: center;
}

.single-blog-post-sidebar {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.single-blog-post-content {
  padding-top: 60px;
}

.single-blog-post .single-blog-post-content .wp-block-heading {
  margin-bottom: 40px;
}

.current-post-title img {
  max-width: 1200px;
  width: 50%;
}

.current-post-title h1 {
  color: #000;
}

.current-post-title {
  padding-bottom: 20px;
}

@media only screen and (max-width: 1200px) {
  .single-post h2 a {
    font-size: 24px;
  }
}

@media only screen and (max-width: 991px) {
  .current-post-title img {
    width: 100%;
  }

  .blog-posts .posts .single-post {
    width: calc(50% - 10px);
  }
}

@media only screen and (max-width: 768px) {
  .blog-posts-heading {
    margin-top: 60px;
  }

  .blog-posts .posts .single-post {
    width: 100%;
  }
}
/* Single blog */

/* Pagination */

.posts-pagination {
  display: flex;
  justify-content: center;
  margin: 40px 0;
  font-family: "Inter", sans-serif;
}

.posts-pagination ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 12px;
}

.posts-pagination li {
  display: flex;
  align-items: center;
}

.posts-pagination li a,
.posts-pagination li span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  transition: all 0.3s ease;
  cursor: pointer;
  background: #0b1220;
  transform: scale(1);
  flex-shrink: 0;
}

.posts-pagination li a svg {
  width: 20px;
  height: 20px;
  stroke: #6ee7b7;
  transition: stroke 0.3s ease;
}

.posts-pagination li a:hover,
.posts-pagination li span.current {
  background: linear-gradient(135deg, #0b1220, #1a1f35, #2c2f4a);
  color: #6ee7b7;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.posts-pagination li a {
  background: linear-gradient(135deg, #0b1220, #1a1f35, #2c2f4a);
  background-size: 200% 200%;
  transition: background-position 0.5s ease-in-out, color 0.3s ease-in-out,
    transform 0.3s ease-in-out;
}

.posts-pagination li a:hover {
  background-position: right center;
}

.posts-pagination li a:hover svg {
  stroke: #fff;
}

.posts-pagination li.pagination-arrow.arrow-disabled a {
  opacity: 0.3;
  pointer-events: none;
}

/* Dodatkowe efekty hover */
.posts-pagination li a:hover {
  transform: scale(1.1);
}

/* Pagination */
