.astrot-news-page {
  background: linear-gradient(180deg, #f7f2e9 0%, #fbf7ef 100%);
  color: #27362d;
  padding: 32px 0 56px;
}

.astrot-news-hero {
  width: min(1180px, calc(100% - 34px));
  margin: 0 auto;
  border: 1px solid rgba(162, 112, 73, .24);
  border-radius: 24px;
  background: #fffdf8;
  color: #27362d;
  box-shadow: 0 18px 44px rgba(7, 22, 35, .07);
}

.astrot-news-hero__inner,
.astrot-news-content__inner {
  width: min(1180px, calc(100% - 34px));
  margin: 0 auto;
}

.astrot-news-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px 230px;
  gap: 24px;
  align-items: stretch;
  width: 100%;
  padding: 42px;
}

.astrot-news-hero__copy {
  display: grid;
  align-content: center;
}

.astrot-news-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(7, 22, 35, .07);
  color: #995b32;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  line-height: 1.25;
  text-transform: uppercase;
}

.astrot-news-hero h1 {
  margin: 0;
  color: #27362d;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

.astrot-news-hero p {
  max-width: 58ch;
  margin: 18px 0 0;
  color: #70665b;
  font-size: 17px;
  line-height: 1.6;
}

.astrot-news-hero__actions {
  display: grid;
  align-content: center;
  gap: 10px;
}

.astrot-news-hero-button,
.astrot-news-admin-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 17px;
  border: 1px solid rgba(49, 67, 58, .22);
  border-radius: 999px;
  background: #26352d;
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(7, 22, 35, .12);
}

.astrot-news-hero-button--secondary {
  border-color: rgba(162, 112, 73, .24);
  background: #fffaf4;
  color: #26352d;
  box-shadow: none;
}

.astrot-news-hero-button--primary {
  background: #26352d;
  color: #ffffff;
}

.astrot-news-hero-button:hover,
.astrot-news-hero-button:focus,
.astrot-news-admin-button:hover,
.astrot-news-admin-button:focus {
  background: #1f2c26;
  color: #ffffff;
  text-decoration: none;
}

.astrot-news-summary {
  min-height: 170px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 24px;
  border: 1px solid rgba(162, 112, 73, .24);
  border-radius: 24px;
  background: #fffdf8;
}

.astrot-news-summary__icon {
  color: #26352d;
  font-size: 28px;
}

.astrot-news-summary__count {
  color: #27362d;
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
}

.astrot-news-summary__label {
  color: #70665b;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.astrot-news-content {
  padding: 28px 0 0;
}

.astrot-news-content__inner {
  display: grid;
  gap: 18px;
}

.astrot-news-table-shell,
.astrot-news-empty {
  border: 1px solid rgba(162, 112, 73, .24);
  border-radius: 18px;
  background: #fffdf8;
  box-shadow: 0 18px 44px rgba(7, 22, 35, .07);
}

.astrot-news-table-shell {
  padding: 18px;
  overflow: hidden;
}

.astrot-news-article {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(162, 112, 73, .24);
  border-radius: 18px;
  background: #fffdf8;
  box-shadow: 0 18px 44px rgba(7, 22, 35, .07);
}

.astrot-news-article__header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px 16px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(162, 112, 73, .24);
}

.astrot-news-article__header time {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: #f3ece0;
  color: #995b32;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  line-height: 1.25;
  white-space: nowrap;
}

.astrot-news-article__header h2 {
  margin: 0;
  color: #27362d;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.18;
  letter-spacing: 0;
}

.astrot-news-article__detail {
  box-shadow: none;
}

.astrot-news-search {
  display: grid;
  gap: 10px;
  padding: 18px 20px;
  border: 1px solid rgba(162, 112, 73, .24);
  border-radius: 18px;
  background: #fffdf8;
  box-shadow: 0 18px 44px rgba(7, 22, 35, .07);
}

.astrot-news-search__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.astrot-news-search label {
  margin: 0;
  color: #27362d;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
}

.astrot-news-search__header span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f3ece0;
  color: #995b32;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.astrot-news-search__control {
  min-height: 52px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 42px;
  gap: 10px;
  align-items: center;
  padding: 0 8px 0 16px;
  border: 1px solid rgba(162, 112, 73, .24);
  border-radius: 14px;
  background: #fffdf8;
}

.astrot-news-search__control .fa-search {
  color: #995b32;
  font-size: 16px;
}

.astrot-news-search__control input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #27362d;
  font-size: 16px;
  font-weight: 700;
}

.astrot-news-search__control input::placeholder {
  color: #a8947d;
  font-weight: 600;
}

.astrot-news-search__control button {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  background: #f3ece0;
  color: #995b32;
}

.astrot-news-search__control button:hover,
.astrot-news-search__control button:focus {
  background: #efe4d7;
}

.astrot-news-search__control button[hidden] {
  display: none;
}

.astrot-news-table-wrap {
  width: 100%;
  overflow-x: auto;
  padding-top: 14px;
}

.astrot-news-table {
  width: 100%;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0 10px;
  table-layout: fixed;
}

.astrot-news-table th {
  padding: 8px 16px;
  border: 0;
  background: transparent;
  color: #27362d;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  line-height: 1.25;
  text-align: left;
  text-transform: uppercase;
}

.astrot-news-table th:nth-child(1) {
  width: 130px;
}

.astrot-news-table th:nth-child(3) {
  width: 110px;
  text-align: center;
}

.astrot-news-table th:nth-child(4) {
  width: 230px;
  text-align: right;
}

.astrot-news-table td {
  padding: 18px 16px;
  border-top: 1px solid rgba(162, 112, 73, .24);
  border-bottom: 1px solid rgba(162, 112, 73, .24);
  background: #fffdf8;
  vertical-align: top;
}

.astrot-news-row td:first-child {
  border-left: 1px solid rgba(162, 112, 73, .24);
  border-radius: 14px 0 0 14px;
}

.astrot-news-row td:last-child {
  border-right: 1px solid rgba(162, 112, 73, .24);
  border-radius: 0 14px 14px 0;
}

.astrot-news-row:hover td {
  border-color: rgba(153, 91, 50, .38);
  background: #fffaf4;
}

.astrot-news-table__date time,
.astrot-news-table__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: #f3ece0;
  color: #995b32;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  line-height: 1.25;
  white-space: nowrap;
}

.astrot-news-table__main {
  display: table-cell;
}

.astrot-news-table__main strong {
  display: block;
  color: #27362d;
  font-size: 18px;
  line-height: 1.3;
}

.astrot-news-table__main span {
  display: block;
  margin-top: 7px;
  color: #70665b;
  font-size: 14px;
  line-height: 1.5;
}

.astrot-news-table__attachments {
  text-align: center;
}

.astrot-news-table__dash {
  color: #a8947d;
  font-weight: 900;
}

.astrot-news-table__actions {
  display: table-cell;
  text-align: right;
}

.astrot-news-admin-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  margin-bottom: 8px;
}

.astrot-news-article__header .astrot-news-admin-actions {
  width: fit-content;
  min-width: 260px;
}

.astrot-news-admin-actions form {
  margin: 0;
}

.astrot-news-admin-actions a,
.astrot-news-admin-actions button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid rgba(162, 112, 73, .24);
  border-radius: 8px;
  background: #fffdf8;
  color: #26352d;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.astrot-news-admin-actions a,
.astrot-news-admin-actions form,
.astrot-news-admin-actions button,
.astrot-news-toggle {
  width: 100%;
}

.astrot-news-admin-actions button {
  color: #9b321f;
}

.astrot-news-admin-actions a:hover,
.astrot-news-admin-actions a:focus,
.astrot-news-admin-actions button:hover,
.astrot-news-admin-actions button:focus {
  border-color: rgba(153, 91, 50, .38);
  color: #26352d;
  text-decoration: none;
}

.astrot-news-admin-actions button:hover,
.astrot-news-admin-actions button:focus {
  color: #9b321f;
}

.astrot-news-modal-open {
  overflow: hidden;
}

.astrot-news-delete-modal {
  position: fixed;
  inset: 0;
  z-index: 110000;
  display: grid;
  place-items: center;
  padding: 18px;
}

.astrot-news-delete-modal[hidden] {
  display: none;
}

.astrot-news-delete-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(38, 53, 45, .58);
}

.astrot-news-delete-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  overflow: hidden;
  border: 1px solid rgba(162, 112, 73, .24);
  border-radius: 12px;
  background: #fffdf8;
  color: #27362d;
  box-shadow: 0 24px 54px rgba(7, 22, 35, .22);
}

.astrot-news-delete-modal__dialog header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(162, 112, 73, .24);
}

.astrot-news-delete-modal__dialog h2 {
  margin: 0;
  color: #27362d;
  font-size: 20px;
  line-height: 1.2;
}

.astrot-news-delete-modal__dialog header button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: #fff0ec;
  color: #9b321f;
}

.astrot-news-delete-modal__dialog p {
  margin: 0;
  padding: 20px;
  color: #70665b;
  font-size: 16px;
  line-height: 1.55;
}

.astrot-news-delete-modal__dialog footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 20px;
  border-top: 1px solid rgba(162, 112, 73, .24);
}

.astrot-news-delete-modal__dialog footer button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 8px;
  font-weight: 900;
}

.astrot-news-delete-modal__cancel {
  border: 1px solid #f0c7bf;
  background: #fff0ec;
  color: #9b321f;
}

.astrot-news-delete-modal__confirm {
  border: 1px solid rgba(49, 67, 58, .22);
  background: #26352d;
  color: #ffffff;
}

.astrot-news-toggle {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(162, 112, 73, .24);
  border-radius: 8px;
  background: #fffdf8;
  color: #26352d;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.astrot-news-toggle:hover,
.astrot-news-toggle:focus {
  border-color: rgba(153, 91, 50, .38);
  color: #26352d;
  text-decoration: none;
}

.astrot-news-toggle .fa {
  font-size: 16px;
}

.astrot-news-detail {
  padding: 20px;
  border: 1px solid rgba(162, 112, 73, .24);
  border-radius: 14px;
  background: #fffdf8;
  box-shadow: inset 4px 0 0 #26352d;
}

.astrot-news-detail__body {
  color: #70665b;
  font-size: 16px;
  line-height: 1.72;
}

.astrot-news-cover {
  margin: 0 0 18px;
  overflow: hidden;
  border: 1px solid rgba(162, 112, 73, .24);
  border-radius: 14px;
  background: #fffaf4;
  aspect-ratio: 16 / 9;
}

.astrot-news-cover img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  display: block;
  object-fit: contain;
}

.astrot-news-detail__body > :first-child {
  margin-top: 0;
}

.astrot-news-detail__body > :last-child {
  margin-bottom: 0;
}

.astrot-news-detail__body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.astrot-news-detail__body figure.astrot-comunicado-img {
  margin: 20px 0;
}

.astrot-news-detail__body figure.astrot-comunicado-img figcaption {
  margin-top: 7px;
  color: #70665b;
  font-size: 13px;
}

.astrot-news-detail__body img.astrot-news-img-missing {
  display: none;
}

.astrot-news-detail__body font,
.astrot-news-detail__body div,
.astrot-news-detail__body p {
  max-width: 100%;
}

.astrot-news-detail__body a {
  color: #26352d;
  font-weight: 800;
}

.astrot-news-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.astrot-news-gallery a {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(162, 112, 73, .24);
  background: #fffaf4;
}

.astrot-news-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
}

.astrot-news-attachments {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(162, 112, 73, .24);
}

.astrot-news-attachments__label {
  color: #27362d;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.astrot-news-attachments__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.astrot-news-attachments__list a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid rgba(162, 112, 73, .24);
  border-radius: 8px;
  background: #fffdf8;
  color: #26352d;
  font-weight: 900;
  text-decoration: none;
}

.astrot-news-attachments__list a:hover,
.astrot-news-attachments__list a:focus {
  color: #26352d;
  text-decoration: none;
  border-color: rgba(153, 91, 50, .38);
}

.astrot-news-empty {
  margin: 18px 0 0;
  padding: 20px;
  color: #70665b;
  font-size: 16px;
  line-height: 1.6;
}

.astrot-news-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0 0;
  border-top: 1px solid rgba(162, 112, 73, .24);
}

.astrot-news-pagination p {
  margin: 0;
  color: #70665b;
  font-size: 14px;
  font-weight: 800;
}

.astrot-news-pagination__buttons,
.astrot-news-pagination__pages {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.astrot-news-pagination button {
  min-width: 38px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(162, 112, 73, .24);
  border-radius: 8px;
  background: #fffdf8;
  color: #26352d;
  font-weight: 900;
}

.astrot-news-pagination button.is-active {
  background: #26352d;
  border-color: #26352d;
  color: #ffffff;
}

.astrot-news-pagination button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

@media (max-width: 780px) {
  .astrot-news-hero__inner {
    grid-template-columns: 1fr;
    padding: 42px 0;
  }

  .astrot-news-hero__actions {
    align-content: start;
  }

  .astrot-news-summary {
    min-height: 130px;
  }

  .astrot-news-article__header {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .astrot-news-article__header .astrot-news-admin-actions {
    width: 100%;
    min-width: 0;
  }

  .astrot-news-table {
    min-width: 760px;
  }

  .astrot-news-pagination {
    align-items: flex-start;
    flex-direction: column;
  }
}
