header {
}

header .top-section {
  height: 64px;
  background-color: rgb(184, 0, 0);
}

header .top-section .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

@media (max-width: 768px) {
  header .top-section {
    height: 60px;
  }
}

header svg {
  fill: white;
  height: 30px;
}

@media (max-width: 768px) {
  header svg {
    height: 24px;
  }
}

header .bottom-section {
  width: 100%;
  border-bottom: 1px solid rgb(230, 232, 234);
}

header .bottom-section .container {
  height: 100%;
}

@media (max-width: 768px) {
  header .bottom-section .container {
    display: flex;
    flex-direction: row;
    align-items: center;
  }
}

header .bottom-section nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow-x: auto;
}

header .bottom-section nav .link {
  padding: 12px 8px;
  color: rgb(20, 20, 20);
  position: relative;
  width: fit-content;
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 768px) {
  header .bottom-section nav {
    overflow-y: hidden;
    align-items: flex-start;
    height: fit-content;
  }
}

header .bottom-section nav .link:hover {
  text-decoration: none;
}

header .bottom-section nav .link:hover::before {
  text-decoration: none;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  content: "";
  height: 4px;
  background-color: rgb(184, 0, 0);
}

/* Footer */

footer .link {
  font-weight: 700;
}

footer .top-section {
  height: 64px;
  background-color: rgb(184, 0, 0);
}

footer .top-section .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

@media (max-width: 768px) {
  footer .top-section {
    height: 60px;
  }
}

footer svg {
  fill: white;
  height: 30px;
}

@media (max-width: 768px) {
  footer svg {
    height: 24px;
  }
}

/* Comments */
:root {
  --comments-border: #d9dee3;
  --comments-muted: #6b7785;
  --comments-bg: #f6f7f8;
  --comments-card: #ffffff;
  --comments-accent: rgb(184, 0, 0);
}

.gerchik-highlight,
.gerchik-highlight:visited {
  color: var(--comments-accent);
  font-weight: 700;
  text-decoration: none;
}

.gerchik-highlight:hover {
  color: var(--comments-accent);
  text-decoration: underline;
}

.text-highlight-accent,
.text-highlight-accent:visited {
  color: #f97316;
  font-weight: 700;
  text-decoration: none;
}

.text-highlight-accent:hover {
  color: #f97316;
  text-decoration: underline;
}

.cta-benefits {
  margin: 10px 0 20px;
  padding: 14px 16px;
  border: 1px solid #fde2c2;
  border-radius: 14px;
  background: linear-gradient(180deg, #fffdf9 0%, #ffffff 100%);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.cta-benefits__title {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  color: #1f2937;
}

.cta-benefits__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.cta-benefits__item {
  position: relative;
  padding-left: 26px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  color: #374151;
}

.cta-benefits__item::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fb923c;
  box-shadow: 0 0 0 2px rgba(251, 146, 60, 0.15);
}

.cta-benefits__accent {
  color: #c2410c;
  font-weight: 700;
}

.cta-benefits__amount {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  background: #fff1e6;
  color: #c2410c;
  border: 1px solid #fdba74;
  font-weight: 700;
  letter-spacing: 0.2px;
}

@media (max-width: 768px) {
  .cta-benefits {
    margin: 10px 0 18px;
    padding: 14px;
  }

  .cta-benefits__title {
    font-size: 20px;
  }

  .cta-benefits__item {
    font-size: 17px;
    padding-left: 24px;
  }

  .cta-benefits__item::before {
    top: 7px;
  }
}

.comments {
  padding-top: 28px;
}

.comments .section-head--comments {
  font-size: 18px;
  font-weight: 700;
  color: #1f2933;
  margin-bottom: 12px;
}

.comments--sorting {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 768px) {
  .comments--sorting {
    flex-direction: row;
    align-items: flex-start;
  }

  .comments__sort {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
  }
}

.comments__sort .btn {
  padding: 6px 12px;
}

.comments__form .comment {
  border: 1px solid var(--comments-border);
  background: var(--comments-card);
  border-radius: 10px;
  padding: 12px;
  margin-top: 0;
}

.comments__list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.comments__list > .comment {
  border: 1px solid var(--comments-border);
  background: var(--comments-card);
  border-radius: 10px;
  padding: 12px;
  margin-top: 12px;
}

.comments__list ul {
  list-style: none;
  padding-left: 0;
  margin: 12px 0 0 32px;
  border-left: 2px solid #eef1f4;
}

@media (max-width: 640px) {
  .comments__list ul {
    margin-left: 16px;
  }
}

.comments .comment {
  border-top: none;
}

.comments .comment__hdr {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.comments .pull-left {
  float: none;
}

.comments .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: #cbd1d6;
  flex-shrink: 0;
}

.comments .comment__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.comments .comment__meta .user {
  font-size: 16px;
  font-weight: 700;
  color: #1f2933;
}

.comments .comment__hdr .date {
  color: var(--comments-muted);
  font-size: 12.5px;
}

.comments .comment__controls {
  margin-left: auto;
  display: flex;
  gap: 10px;
  font-size: 12.5px;
}

.comments .comment__controls a {
  color: var(--comments-muted);
}

.comments .comment__controls a:hover {
  color: var(--comments-accent);
}

@media (max-width: 640px) {
  .comments .comment__hdr {
    flex-wrap: wrap;
  }

  .comments .comment__controls {
    width: 100%;
    margin-left: 0;
  }
}

.comments .comment__content p {
  font-size: 15px;
  line-height: 1.45;
  color: #2e3842;
  text-align: left;
}

.comments .form__textarea {
  border: 1px solid var(--comments-border);
  border-radius: 8px;
  padding: 10px 12px;
  min-height: 96px;
  resize: vertical;
  font-size: 15px;
}

.comments .form__textarea:focus {
  outline: 2px solid rgba(184, 0, 0, 0.2);
  border-color: var(--comments-accent);
}

.comments .buttons {
  display: flex;
  justify-content: flex-end;
}

.comments .form__label--small {
  color: var(--comments-muted);
}

footer .bottom-section {
  width: 100%;
  background-color: rgb(34, 34, 34);
}

footer .bottom-section .container {
  height: 100%;
  display: flex;
  flex-direction: column;
}

footer .bottom-section .link {
  color: white;
  text-decoration: none;
  padding: 18px 0;
}

hr {
  width: 100%;
  height: 1px;
  background: #3f3f42;
  margin: 0;
}

footer .bottom-section .links-container {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}

footer .bottom-section .links-container > * {
  width: 25%;
}

@media (max-width: 768px) {
  footer .bottom-section .links-container > * {
    width: 50%;
  }
}

footer .bottom-section .links-container .link:hover {
  text-decoration: underline;
}

footer .bottom-section .term-of-use {
  display: flex;
  flex-direction: row;
  padding: 16px 0;
  gap: 10px;
}

@media (max-width: 768px) {
  footer .bottom-section .term-of-use {
    flex-direction: column;
  }
}

footer .bottom-section .term-of-use p {
  color: white;
  text-decoration: none;
}

footer .bottom-section .term-of-use a {
  color: white;
}

/* Mobile Menu Hamburger */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  position: relative;
  z-index: 1001;
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  width: 20px;
  height: 20px;
  justify-content: space-between;
  transition: opacity 0.3s ease;
}

.hamburger-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: rgb(20, 20, 20);
  transition: all 0.3s ease;
}

.close-icon {
  display: none;
  font-size: 24px;
  color: rgb(20, 20, 20);
  transition: opacity 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-icon {
  display: none;
}

.mobile-menu-toggle.active .close-icon {
  display: block;
}

/* Mobile Navigation */
@media (max-width: 768px) {
  header .bottom-section nav {
    flex-direction: row;
    align-items: center;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    border: 1px solid rgb(230, 232, 234);
    border-top: none;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  header .bottom-section nav.mobile-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  header .bottom-section nav .link {
    padding: 15px 20px;
    width: 100%;
    text-align: left;
  }

  header .bottom-section nav .link:last-child {
    border-bottom: none;
  }

  header .bottom-section .container {
    position: relative;
  }
}

#content {
  padding-top: 30px;
}

@media (max-width: 768px) {
  #content {
    padding-top: 80px;
  }
}
