.baongoc-index-6,
.baongoc-index-6 * {
  box-sizing: border-box;
}

.baongoc-index-6 {
  width: 100%;
  border-bottom: 4px solid #9a1c21;
  background: #fdf9f1;
  color: #111;
  font-family: var(--font-base, inherit);
}

.baongoc-index-6__inner {
  width: min(1440px, calc(100% - 48px));
  min-height: 145px;
  margin: 0 auto;
  padding: 40px 0 36px;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}

.baongoc-index-6__follow p,
.baongoc-index-6__subscribe p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #111;
}

.baongoc-index-6__facebook-card {
  width: 290px;
  height: 68px;
  margin-top: 16px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
  border: 1px solid #e2e2e2;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}

.baongoc-index-6__facebook-avatar {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #9a1c21;
  border-radius: 4px;
}

.baongoc-index-6__facebook-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.baongoc-index-6__facebook-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.baongoc-index-6__facebook-copy strong {
  overflow: hidden;
  color: #3b5998;
  font-size: 18px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.baongoc-index-6__facebook-copy small {
  margin-top: 3px;
  font-size: 13px;
  color: #666;
}

.baongoc-index-6__facebook-check {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 50%;
  background: #458eff;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

.baongoc-index-6__form {
  margin-top: 16px;
  display: flex;
  align-items: stretch;
  gap: 18px;
}

.baongoc-index-6__form input {
  width: 480px;
  height: 48px;
  padding: 0 18px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  outline: 0;
  background: #fff;
  color: #333;
  font-size: 14px;
}

.baongoc-index-6__form input::placeholder {
  color: #555;
  opacity: 1;
}

.baongoc-index-6__form button {
  width: 150px;
  height: 48px;
  flex: 0 0 150px;
  border: 0;
  border-radius: 4px;
  background: #ed2024;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.baongoc-index-6__form button:hover,
.baongoc-index-6__form button:active,
.baongoc-index-6__form button:focus-visible {
  background: #b80018;
  color: #fff;
  transform: translateY(-1px);
}

.baongoc-index-6__form-message {
  min-height: 14px;
  margin-top: 6px !important;
  color: #9a1c21;
  font-size: 12px !important;
}

.baongoc-index-6__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 820px) {
  .baongoc-index-6__inner {
    width: min(590px, calc(100% - 28px));
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .baongoc-index-6__form {
    width: 100%;
  }

  .baongoc-index-6__form input {
    flex: 1 1 auto;
    width: auto;
  }
}

@media (max-width: 520px) {
  .baongoc-index-6__inner {
    padding: 25px 0 27px;
  }

  .baongoc-index-6__facebook-card {
    width: 100%;
    max-width: 260px;
  }

  .baongoc-index-6__form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .baongoc-index-6__form input,
  .baongoc-index-6__form button {
    width: 100%;
  }
}
