:root {
  --color-black: #000;
  --color-white: #fff;
  --color-text: #444;
  --color-yellow: #ffeb3b;
  --color-orange: #f9bd09;
  --color-red: #ff3227
}

*,
:after,
:before {
  box-sizing: inherit
}

html {
  box-sizing: border-box;
  overflow-x: hidden;
  scroll-behavior: smooth
}

body,
html {
  max-width: 100%
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #fff;
  color: var(--color-text);
  font-family: Onest, -apple-system, sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.55;
  margin: 0;
  min-width: 320px;
  position: relative;
  text-rendering: optimizeLegibility
}

img,
picture {
  display: block;
  height: auto;
  max-width: 100%
}

a {
  color: var(--color-text);
  text-decoration: none;
  transition: all .3s ease-in-out
}

a:hover {
  color: var(--color-yellow)
}

h1 {
  font-size: 42px;
  font-weight: 300;
  line-height: 50px;
  margin: 0 0 40px
}

h1,
h2,
h3 {
  color: var(--color-black);
  text-transform: uppercase
}

h2,
h3 {
  align-items: center;
  display: flex;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 20px;
  margin-top: 0;
  padding-left: 40px;
  position: relative
}

h2:before,
h3:before {
  background: var(--color-black);
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  top: auto;
  width: 30px
}

.container {
  margin: 0 auto;
  max-width: 100%;
  padding: 0 15px;
  width: 1020px
}

.header {
  background: var(--color-black);
  padding: 20px 0
}

.header .container {
  align-items: center;
  display: flex;
  justify-content: space-between
}

.header__burger {
  display: none
}

.header__logo {
  flex-shrink: 0;
  width: 240px
}

.header__menu {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0 30px
}

.header__menu a {
  color: var(--color-yellow);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase
}

.header__menu a:hover {
  color: #fff
}

.btn {
  align-items: center;
  border-radius: 60px;
  display: flex;
  justify-content: center;
  padding: 13px;
  text-decoration: underline;
  transition: all .3s ease
}

.btn-yellow {
  background: var(--color-orange);
  color: #fff
}

.btn-yellow:hover {
  background: var(--color-black);
  color: #fff
}

.img-post,
.img-post img {
  border-radius: 10px
}

.img-post img {
  transition: transform .3s ease, box-shadow .3s ease
}

.img-post:hover img {
  box-shadow: 0 8px 12px rgba(0, 0, 0, .2);
  transform: scale(1.01)
}

.wp-block-columns {
  margin: 25px auto;
  max-width: 1215px
}

.wp-block-columns h2,
.wp-block-columns p {
  text-align: left
}

.wp-block-columns img {
  height: auto;
  width: 200px
}

.wp-block-columns .wp-block-column:first-child {
  flex-basis: 200px !important
}

.wp-block-columns .wp-block-column:last-child {
  flex-basis: 75% !important
}

.wp-block-table {
  margin: 0;
  margin-bottom: 40px;
  overflow-x: auto;
  width: 100%
}

.wp-block-table table {
  border-collapse: collapse;
  width: 100%
}

.wp-block-table td {
  border: 1px solid #000;
  padding: 12px
}

.wp-block-table tr:nth-child(odd) td {
  background: #f9f9f9
}

.wp-block-table tr:nth-child(2n) td {
  background: #f2f2f2
}

.content {
  padding-bottom: 140px;
  padding-top: 100px
}

.rating {
  grid-gap: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 40px
}

.rating__item {
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, .1);
  padding: 20px;
  transition: all .3s ease
}

.rating__item:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, .2);
  color: #000
}

.rating__item:hover .btn {
  background: var(--color-black);
  color: #fff
}

.rating__name {
  border-radius: 5px;
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 15px
}

.author,
.rating__name {
  background: #f9f9f9;
  padding: 10px
}

.author {
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .05);
  display: flex;
  font-size: 14px
}

.author__text {
  align-items: center;
  border-right: 1px solid #ddd;
  display: flex;
  gap: 10px;
  padding: 0 10px
}

.author__text:last-child {
  border: 0
}

.author__text strong {
  font-weight: 700
}

.author__name img {
  border-radius: 50%
}

.footer {
  background: #212121;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 19px;
  padding: 30px 0;
  text-transform: uppercase
}

.footer p {
  gap: 10px;
  margin: 0
}

.button,
.footer p {
  align-items: center;
  display: flex;
  justify-content: center
}

.button {
  background: var(--color-black);
  bottom: 10px;
  cursor: pointer;
  height: 50px;
  opacity: 0;
  position: fixed;
  right: 20px;
  transition: all .2s ease;
  width: 50px
}

.button.active {
  opacity: 1
}

.button:hover {
  opacity: .8
}

.author__wrap {
  margin-bottom: 30px;
}

.card {
  background-color: #26262d;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  width: calc(25% - 11.25px)
}

.card__wrapper {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin: 0 auto;
  margin-bottom: 30px;
}

.card__img {
  padding-bottom: 76%;
  position: relative
}

.card__img img {
  height: 100%;
  left: 0;
  -o-object-fit: cover;
  object-fit: cover;
  position: absolute;
  top: 0;
  width: 100%
}

@media screen and (max-width:768px) {
  .card {
    width: 100%
  }
}

@media screen and (max-width:992px) {
  .header__burger {
    align-items: center;
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    height: 30px;
    margin-left: auto;
    margin-right: 20px;
    padding: 2.5px 0;
    width: 30px;
    z-index: 101
  }

  .header__burger span {
    background: #fff;
    border-radius: 30px;
    display: block;
    height: 1px;
    transition: all .3s ease;
    width: 30px
  }

  .header__burger.active span:first-child {
    transform: translateY(4px) rotate(45deg)
  }

  .header__burger.active span:nth-child(2) {
    transform: translateY(-9px) rotate(-45deg)
  }

  .header__burger.active span:nth-child(3) {
    display: none
  }

  .header__menu {
    background: var(--color-black);
    display: block;
    height: auto;
    left: 0;
    opacity: 0;
    padding: 15px;
    position: absolute;
    right: 0;
    top: 80px;
    transition: all .3s ease;
    visibility: hidden;
    z-index: 1
  }

  .header__menu.active {
    opacity: 1;
    visibility: visible
  }

  .header__menu a {
    border: 0;
    display: block;
    font-size: 12px;
    padding: 10px 0;
    text-align: center
  }

  .header__logo {
    width: 200px
  }

  .header {
    padding: 15px 0;
    position: relative;
    z-index: 1000
  }

  .content {
    padding: 60px 0
  }

  .author__wrap {
    overflow-x: auto;
    width: 100%
  }

  .author {
    white-space: nowrap;
    width: -moz-max-content;
    width: max-content
  }

  .author__text {
    flex-shrink: 0
  }

  .rating {
    grid-template-columns: 1fr
  }

  .footer p {
    display: block;
    text-align: center
  }

  .footer img {
    margin: 5px auto
  }
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
	margin-top: 24px;
	margin-bottom: 24px;
}

.review-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: 0.3s ease;
  font-family: sans-serif;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.review-author {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 8px;
  color: #333;
}

.reviews-grid blockquote {
  font-style: italic;
  font-size: 15px;
  color: #444;
  margin: 0 0 12px;
  padding-left: 1em;
  border-left: 3px solid #ddd;
}

.review-rating {
  font-size: 14px;
  color: #666;
}


.faq-section {
  margin: 0 auto;
  padding: 2rem 0;
}

.faq-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.faq-item {
  margin-bottom: 1rem;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.5rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 0.5rem 0;
}

.faq-item p {
  margin: 0.5rem 0 0 0;
}