html {
  line-height: 1.2;
  -webkit-text-size-adjust: 100%;
}
html {
  font-family: "Roboto", "arial", sans-serif;
}

body {
  margin: 0;
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

@media (max-width: 900px) {
  main {
    width: 100% !important;
  }
}

main {
  display: block;
  margin: 32px auto 0px auto;
  max-width: 1000px;
}
article img {
  margin-bottom: 15px;
}
article h2 {
  font-size: 22px;
  margin-bottom: 15px;
}

a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

img {
  border-style: none;
  /* max-width: 100%; */
  height: auto;
  display: block;
}
article img,
article video {
  width: 100%;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* normalize finished */

header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 999;
}

.mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: white;
  border-bottom: 1px solid #ccc;
}
.mobileHeader-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.burger {
  background-image: url("/img/burger.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;

  height: 24px;
  width: 24px;
}
.icon {
  background-image: url("/img/user.svg");
  height: 24px;
  width: 24px;
}
.icon.search {
  background-image: url("/img/search.svg");
  height: 24px;
  width: 24px;
}

.burger,
.icons {
  display: flex;
  align-items: center;
  gap: 20px;
}

.rtve-logo {
  font-weight: bold;
  font-size: 24px;
  color: #e57c2f;
}

/* desctop-header */
.desktop-top-left {
  display: flex;
  gap: 5px;
  align-items: center;
}
.directo {
  font-size: 11px;
  letter-spacing: 1px;
}



.rtve-logo-desk {
  display: block;
  width: 58px;
  height: 32px; /* нужная высота */
  background-image: url("/img/logo-mobile.png");
  background-size: contain;
  background-repeat: no-repeat;
  transition: background-image 0.3s ease;
}

.desktop-top {
  background: black;
  color: white;
  padding: 2px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.desktop-top nav {
  display: flex;
  gap: 10px;
  font-size: 14px;
  font-weight: 400;
  align-items: center;
}

nav a {
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 5px;
  padding-right: 5px;
  border-radius: 2px;
}
nav a:hover:not(:first-child) {
  background: #f26522;
}
.desktop-bottom {
  background: #f26522;
  color: white;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-weight: 300;
  padding: 10px 16px;
}

@media (max-width: 768px) {
  .desktop-top,
  .desktop-bottom {
    display: none;
  }
}

@media (min-width: 769px) {
  .mobile-header {
    display: none;
  }
}

/* hero-part */

h1 {
  font-size: 40px;
  line-height: 1.2;
  font-weight: bold;
  margin: 20px 0 30px;
  color: #494847;
}

/* main section text */

/* Колонка з іконками */
/* .social-column a.first{
    background-image: url('./images/icon-user-serch-desctop.png');
    background-position: 00% 60%;
   
    transform: scale(1.2);
  } */

/* .social-column a {
    width: 40px;
    height: 40px;
    background: #d55e1f;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 20px;
  } */

article {
  font-size: 18px;
  line-height: 1.6;
}

article p {
  margin-top: 0;
  margin-bottom: 30px;
  letter-spacing: 0.25pt;
  font-weight: 300;
  line-height: 1.5;
  font-size: 20px;
}

article h2 {
  color: #d55e1f;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 10px;
  padding: 0;
}

/* footer */

footer {
  background: #fff;
  color: #444;
  padding: 40px 20px 20px;
}

.footer-container {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);

  margin-bottom: 30px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  padding-top: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
  font-size: 17px;
  color: #555;
  font-weight: 500;
}

.footer-bottom {
  max-width: 1180px;
  margin: 20px auto;
  text-align: center;
  font-size: 14px;
  color: #333;
  border-top: 1px solid #ddd;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-bottom strong {
  font-weight: bold;
}

.footer-copy {
  margin-top: 20px;
  width: 100%;
  margin-top: 10px;
  text-align: center;
  font-size: 13px;
  color: #555;
  margin-bottom: 10px;
}
.col2 {
  border-bottom: 0.3em solid #2099e8;
  display: block;
  padding-bottom: 20px;
}
.col3 {
  border-bottom: 0.3em solid #ff0000;
  display: block;
  padding-bottom: 20px;
}

.footer-img.col4 {
  border-bottom: 0.3em solid #ffa000;
  display: block;
  padding-bottom: 20px;
}
.col5 {
  border-top: 0.3em solid #ffa000;
  margin-top: 51px;
}

@media (max-width: 768px) {
  /* hero */
  h1 {
    font-size: 24px;
    margin-top: 10px;
    margin-bottom: 10px;
    padding-left: 10px;
  }

  /* main text */

  article {
    font-size: 16px;
    padding-left: 10px;
    padding-right: 10px;
  }
  article p {
    font-size: 17px;
  }
  article h2 {
    font-size: 20px;
  }

  /* footer */

  footer {
    background: #232425;
    color: #eee;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  /* .footer-container:nth-child(4){
      border-bottom: none;
    } */
  .col4 {
    border-bottom: none;
  }
  .footer-col {
    display: flex;
    border-bottom: 0.1rem solid #3d4d5d;
  }

  .col2,
  .col3,
  .col4 {
    border-bottom: none;
  }
  .footer-col ul {
    text-align: right;
    display: flex;
    justify-content: end;
    color: #9dadbd;
    flex-wrap: wrap;
    gap: 5px;
    line-height: 2.4rem;
    padding-top: 0;
  }

  .footer-col ul li {
    font-size: 14px;
    text-align: right;
    color: #9dadbd;
    font-weight: 400;
  }

  .footer-col ul li:nth-child(4) {
    width: 100%;
  }

  .footer-bottom {
    border-top: none;
    padding-top: 0;
    font-size: 13px;
    justify-content: center;
    gap: 15px;
    color: #9dadbd;
    padding-bottom: 30px;
    padding-top: 30px;
    margin-top: 0;
    border-top: 0.1rem solid #3d4d5d;
  }
  .footer-container {
    margin-bottom: 0;
  }
  .footer-copy {
    color: #9dadbd;
    font-size: 12px;
    margin-top: 16px;
  }
  .col5 {
    border: none;
    margin-top: -40px;
  }
  .footer-img.col4 {
    border-bottom: none;
  }
}
article a {
  color: #d55e1f;
  text-decoration: underline;
}

#formSimple {
  border: 2px solid #121534;
  border-radius: 16px;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: 3px 3px 6px #00000030;
  margin-bottom: 25px;
}
.formTitle {
  text-align: center;
  padding: 30px 15px;
  font-size: 30px;
  background: #121534;
  color: #fff;
  text-transform: uppercase;
  margin: 30px 0;
  line-height: 1.2;
  letter-spacing: 2px;
}
@media (max-width: 767px) {
  .formTitle {
    font-size: 24px;
  }
}

.comments {
  box-sizing: border-box;
  background: #fff;
  color: #1c1e21;
  margin: 40px 0;
  font-size: 13px;
}

.comments,
.comments * {
  font-family: inherit;
}

.comment {
  margin-top: 20px;
  padding-top: 8px;
}
#comments-list {
  padding-left: 12px;
  border-left: 1px solid #dcdce0;
}
.comment a.avatar-link img {
  width: 48px;
  height: 48px;
  border-radius: 2px;
}
.avatar-initials {
  width: 46px;
  height: 46px;
  border-radius: 2px;
  background: #374f72;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}

.comment-content {
  flex: 1;
  margin-bottom: 8px;
}
.comment-head {
  display: flex;
  gap: 12px;
  align-items: center;
}
.comment-name {
  font-weight: bold;
  color: #1a1a1a;
  font-size: 14px;
  margin-bottom: 5px;
}

.comment-name a {
  color: #1a1a1a;
}

.comment-body {
  font-size: 14px;
  margin: 2px 0 10px 0;
  line-height: 1.4;
  color: #333;
}

.comment-body img {
  width: 100%;
}

.comment-meta {
  font-size: 12px;
  color: #90949c;
  margin-top: 2px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: flex-end;
}

.comment-meta p {
  font-size: 12px;
  color: #d55e1f !important;
  font-weight: bold;
  margin-bottom: 0;
}

.comment-meta a {
  margin-right: 10px;
  color: #4267b2;
  font-weight: 700;
  text-decoration: none;
}

.comment-link-reply {
  color: #888 !important;
}
.comment-link-reply img {
  width: 15px;
  margin-bottom: 0;
  display: block;
}

.comment-head .time {
  color: #999;
  margin-left: auto;
}

.comment.reply {
  padding-left: 24px;
  border-left: 1px solid #dcdce0;
}

@media (max-width: 768px) {
  .comments {
    margin: 10px;
  }
}

.amount {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}
.amount img {
  width: 15px;
  border-radius: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding: 20vh;
}

.form-wrapper {
  border-radius: 16px;
}