body,h1,h2,h3,h4,h5,h6,p,li,a {
  font-family: 'Inter', sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 400;
  line-height: 1.4;
}

h1,h2,h3,h4,h5,h6 {
  font-weight: bold;
  margin-top: 1.5em;
  margin-bottom: var(--heading-margin);
}

h1, .font-size-h1 {
  font-size: var(--wve-h1-size);
}

h2, .font-size-h2 {
  font-size: var(--wve-h2-size);
}

h3, .font-size-h3 {
  font-size: var(--wve-h3-size);
}

h4, .font-size-h4 {
  font-size: var(--wve-h4-size);
}

h5, .font-size-h5 {
  font-size: var(--wve-h5-size);
}

h6, .font-size-h6 {
  font-size: var(--wve-h6-size);
}

/* CONTAINER */

.container {
  width: calc(100% - (var(--wve-container-padding-x) * 2));
  max-width: 1140px;
  margin: 0 auto;
  padding-left: var(--wve-container-padding-x);
  padding-right: var(--wve-container-padding-x);
  display: flex;
  flex-direction: column;
  align-self: auto;
  flex-basis: auto;
  flex-grow: 1;
  flex-shrink: 1;
}

.home .site-content > .container {
  width: 100%;
  max-width: 100%;
  flex-direction: column;
  padding: 0;
}

@media (min-width: 768px) {
  .container {
    flex-direction: row;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1140px;
  }
}

.search-fields {
  position: relative;
}

input[type=search] {
  outline: none;
}

@keyframes blink {
  0% { color: var(--wve-white) !important; }
  50% { color: var(--wve-secondary-color-light) !important; }
  100% { color: var(--wve-white) !important; }
}

.widget-container {
  width: 100%;
}

/* HEADER */

.header {
  background-color: var(--wve-primary-color);
  color: var(--wve-white);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 10000;
  position: relative;
}

.header a {
  color: var(--wve-white);
}

.header a {
  color: var(--wve-white);
}
.header a:focus {
  color: var(--wve-white);
}
.header a:hover {
  color: var(--wve-white);
}

.header-logo {
  flex: 1;
  min-width: 200px;
}

.admin-bar .header {
  /*top: 32px;*/
}

.elementor-kit-7 .header a {
  color: var(--wve-white);
}

.header-main {
  padding-top: 20px;
  padding-bottom: 20px;
}

.header-main > .container {
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}

.header-social {
  display: none;
}

._header-social a {
  width: 32px;
  height: 32px;
  text-align: center;
}

.header-search {
  width: 40px;
  height: 32px;
}

.header .search-form input[type=search] {
  border: 0;
  opacity: 0;
  position: absolute;
  width: 24px;
  height: 24px;
  top: 0;
  padding: 16px 14px;
  cursor: pointer;
  transition: all ease 1s;
}

.search-overlay {
  background-color: rgb(0 0 0 / 40%);
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0.5s;
}

.header .search-form:focus-within .search-overlay {
  opacity: 1;
  visibility: visible;
}

.header .search-form:focus-within input[type=search] {
  opacity: 1;
  z-index: 3;
  background: var(--wve-white);
  border-radius: var(--wve-border-radius);
  cursor: auto;
  transform: translateX(-210px);
  width: 210px;
}

.header .search-form .btn.search-submit {
  background-color: var(--wve-primary-color);
  position: absolute;
  padding: 6px 10px;
  z-index: 5;
  width: 40px;
}

.header .search-form .btn.search-submit img {
  width: 20px;
  height: 20px;
  filter: var(--wve-filter-white);
}


.header-categories {
  position: relative;
  width: 100%;
  background-color: var(--wve-primary-color-dark);
}

.header-categories .container {
  position: relative;
}

.header-categories-menu {
  transition: all 0.2s;
  width: calc(100% - 30px);
  height: 49px;
  overflow: hidden;
  position: relative;
}

.header-categories-menu ul {
  display: flex;
  white-space: nowrap;
  flex-wrap: wrap;
  column-gap: 14px;
  padding: 0;
  margin: 0;
}

.header-categories-menu li {
  display: inline-block;
}

.header-categories-menu a {
  display: block;
  padding: 14px 4px;
  text-decoration: none;
  font-size: var(--wve-secondary-font-size);
  transition: all 0.2s;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.header-categories-menu a:hover,
.header-categories-menu a:focus {
  color: var(--wve-secondary-color);
  border-bottom: 2px solid var(--wve-secondary-color);
}

.header .animation-blinks a {
  animation: blink 0.8s ease infinite !important;
  text-transform: uppercase;
  font-weight: bold;
  text-align: right !important;
}

.btn-categories-toggle {
  background-color: var(--wve-primary-color-dark);
  position: absolute;
  right: var(--wve-container-padding-x);
  top: 25px;
  padding: 4px;
  transform: translateY(-50%);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  border-radius: var(--wve-border-radius);
}
.btn-categories-toggle:focus {
  background-color: var(--wve-primary-color-dark);
}
.btn-categories-toggle:hover {
  background-color: var(--wve-secondary-color);
}

.menu-icon {
  display: block;
  filter: var(--wve-filter-white);
}
.close-icon {
  display: none;
  filter: var(--wve-filter-white);
}

.header-categories.open .menu-icon {
  display: none;
}
.header-categories.open .close-icon {
  display: block;
}

.header-categories.open .header-categories-menu {
  height: auto;
}

.header-categories.open .header-categories-menu ul {
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .header-social {
    display: flex;
  }
  .header-search {
    margin-right: 20px;
  }
}

.header-ads {
  padding: 1em 0;
}


/* BREADCRUMBS */

.breadcrumbs {
  padding: 1em 0 0 0;
  font-size: var(--wve-terceary-font-size);
  color: var(--wve-secondary-text-color);
}

.breadcrumbs a {
  color: var(--wve-secondary-text-color);
  text-decoration: none;
}
.breadcrumbs a:hover, .breadcrumbs a:focus {
  text-decoration: underline;
}


/* FOOTER */

.footer {
  background-color: var(--wve-primary-color);
  color: var(--wve-white);
  padding-top: var(--wve-container-padding-y);
  padding-bottom: var(--wve-container-padding-y);
}

.footer > .container {
  column-gap: 60px;
  flex-direction: column;
}

.footer a {
  font-weight: bold;
  color: var(--wve-white);
  text-decoration: none;
}

.footer a:hover, .footer a:focus {
  color: var(--wve-secondary-color);
}

.footer-intro {
  flex-grow: 1;
}

.footer-about {
  margin: 20px 0;
  font-size: var(--wve-secondary-font-size);
}

.footer-social {
  margin: 20px 0;
}

.footer-menu {
  width: 100%;
  max-width: 190px;
  margin-top: 30px;
}

.footer-menu li {
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .footer > .container {
    flex-direction: row;
  }
  .footer-menu {
    margin-top: 0;
  }
}


/* PAGINATION */

.pagination-wrapper {
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center;
  width: 100%;
}

.pagination-wrapper .pagination {
  display: inline-block;
  font-size: var(--wve-secondary-font-size);
  margin: 0 auto;
}

.pagination-wrapper .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.pagination-wrapper .nav-links a,
.pagination-wrapper .nav-links .page-numbers {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: var(--wve-secondary-font-size);
  text-decoration: none;
  color: var(--wve-primary-color);
  border: 1px solid #dcdcdc;
  border-radius: var(--wve-border-radius);
  transition: all 0.3s ease-in-out;
}

.pagination-wrapper .nav-links a:hover {
  color: #ffffff;
  background-color: var(--wve-primary-color);
  border-color: var(--wve-primary-color);
}

.pagination-wrapper .nav-links .page-numbers.current {
  background-color: var(--wve-primary-color);
  color: #ffffff;
  border-color: var(--wve-primary-color);
  font-weight: bold;
}

.pagination-wrapper .nav-links .prev,
.pagination-wrapper .nav-links .next {
  font-size: var(--wve-secondary-font-size);
  font-weight: bold;
  color: #444444;
}

.pagination-wrapper .nav-links .prev:hover,
.pagination-wrapper .nav-links .next:hover {
  color: #ffffff;
  background-color: var(--wve-primary-color);
  border-color: var(--wve-primary-color);
}

.pagination-wrapper .styled-separator {
  border: none;
  border-top: 1px solid #eeeeee;
  margin: 1rem 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .pagination-wrapper .nav-links {
    flex-wrap: wrap;
    gap: 0.25rem;
  }

  .pagination-wrapper .nav-links a,
  .pagination-wrapper .nav-links .page-numbers {
    padding: 0.5rem 0.8rem;
    font-size:var(--wve-secondary-font-size);
  }

  .pagination-wrapper .nav-links .prev,
  .pagination-wrapper .nav-links .next {
    font-size: var(--wve-secondary-font-size);
  }
}


/* CONTENT */

.site-content {
  padding: 2em 0;
}

.post .entry-content a {
  color: var(--wve-primary-color);
  font-weight: bold;
  text-decoration: underline;
}

.post .entry-content a:hover,
.post .entry-content a:focus {
  color: var(--wve-primary-color-light);
}

.site-content > .container {
  gap: 2em;
}

.content-column {
  flex: 1;
}

.content-column .wve-post-title.page-title {
  margin-top: 12px;
  font-size: var(--wve-h1-size);
}

.content-column .wve-post-excerpt {
  font-size: var(--wve-primary-text-font-size);
}

.content-column .wve-post-meta-wrapper {
  margin: 1em 0 3em 0;
}

.content-column .wve-featured-image {
  margin-bottom: 2em;
}

.content-column .wve-featured-image img {
  height: auto;
  width: 100%;
}

.sidebar {
  width: 261px;
  display: flex;
  flex-direction: column;
  gap: 2em;
}

@media (max-width: 768px) {
  .sidebar {
    width: 100%;
  }
}

.sidebar .widget-container > .wp-block-image {
  margin: 0 auto;
}

.after-post-content {
  margin-top: 4em;
  /*margin-bottom: 4em;*/
  display: flex;
  flex-direction: column;
  gap: 2em;
}

/* ARCHIVES */

.archive-header {
  width: 100%;
}

.archive-excerpt {
  margin-bottom: 40px;
  color: var(--wve-secondary-text-color);
}
.archive-excerpt p {
  margin-bottom: 0;
}


/* AUTHOR */

.author-bio {
  background-color: var(--wve-gray);
  border-radius: var(--wve-border-radius);
  padding: 30px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.author-description {
  color: var(--wve-secondary-text-color);
}

.author-bio .author-title {
  font-weight: bold;
  margin-top: 0;
}

.author-social-links {
  display: flex;
  gap: 10px;
  flex-direction: row;
}
.author-social-links a {
  display: flex;
  vertical-align: middle;
  justify-content: center;
}

.author-bio a {
  text-decoration: none;
  font-weight: bold;
}
.author-bio a:hover,
.author-bio a:focus,
.author-bio a:active {
  filter: var(--wve-filter-green);
}

.author-wrapper {
  flex-grow: 1;
}

.author-avatar {
  width: 120px;
  flex-shrink: 0;
}
.author-avatar img {
  border-radius: var(--wve-border-radius);
  width: 120px;
}

@media (max-width: 768px) {
  .author-bio {
    padding: 15px;
    gap: 10px;
  }
  .author-avatar,
  .author-avatar img {
    width: 80px;
    height: auto;
  }
}


/* 404 */

.error404 .site-content {
  padding: 60px 0;
}

.error404 .archive-header {
  margin-top: 40px;
  margin-bottom: 80px;
}

.error404 .archive-excerpt {
  margin-bottom: 20px;
}

.error404 .site-content > .container {
  flex-direction: column;
}

.error404-actions {
  margin-bottom: 30px;
  display: flex;
  gap: 15px;
}

.site-content .search-form {
  margin-bottom: 30px;
}

.site-content .search-form .search-fields {
  display: flex;
  flex-direction: row;
  max-width: 275px;
}

.site-content .search-form .search-fields .btn {
  margin-left: 10px;
}

.search-no-results .archive-header {
  margin-top: 40px;
}
.search-no-results .recent-posts {
  margin-top: 60px;
}


.inside-post-content-wrapper {
  margin: 2em 0;
}
.inside-post-content-wrapper p {
  margin: 0;
}
.inside-post-content-wrapper .wp-block-image.size-full {
  width: 100%;
}