.content-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.add-new {
  display: flex;
  flex-direction: column;
  justify-content: left;
  padding: 1rem;
  box-sizing: border-box;

  height: auto;

  border-radius: 0.25rem;
  background-color: #d9b5b5;
}

.add-new > input {
  font-size: 0.9em;
  font-weight: 500;

  margin-bottom: 0.5rem;

  height: 1rem;
}

.add-new > textarea {
  min-height: 2rem;
  max-height: 5rem;
  max-width: 100%;

  resize: vertical;
  padding: 1rem 0.5rem;
  margin-bottom: 1rem;

  border: none;
  border-radius: 0.25rem;
  outline: none;
  font-size: 0.8rem;
  font-weight: 300;
  color: black;
}

.add-new > textarea:focus {
  border: none;
  outline: none;
}

.custom-file-upload {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.custom-file-upload > .file-input {
  display: none;
}

.custom-file-upload > .custom-file-button {
  cursor: pointer;
}

.new-btn > button {
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  text-align: center;
  font-size: 0.8em;
  font-weight: 300;
  border: unset;
  border-radius: 3px;
  color: #fdfdfd;
  background-color: #ad4717;
}

.new-btn > button:hover {
  color: #fff;
  background-color: #c5531f;
}

.content-news {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 100%;
  gap: 2rem;
}

.content-news > .block-new {
  display: flex;
  gap: 1.5rem;
  display: inline-flex;
}

.content-news > .block-new > .new-inside {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.content-news > .block-new > .new-inside > img {
  width: 100%;
  object-fit: cover;
  border-radius: 0.4rem;
  max-height: 35rem;
  display: block;
  max-width: 100%;
}

.content-news > .block-new > .new-inside > .new-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.content-news > .block-new > .new-inside > .new-title > .right-block {
  display: flex;
  flex-direction: column;
}
.content-news > .block-new > .new-inside > .new-title > h1 {
  font-family: "Pochaevsk", system-ui;
  font-size: 3em;
  margin: unset;
  line-height: 3rem;
}

.new-btns {
  display: inline-flex;

  justify-content: right;
}

.new-btns > button {
  background: unset;
  border: unset;
  margin: unset;
}

.new-btns > #edit:hover {
  color: #61b128;
}

.new-btns > #trash:hover {
  color: #ad4717;
}
