.admin-bar header {
  top: 32px;
}

.page-layout.no-sidebar {
  grid-template-columns: 1fr;
  max-width: 1000px;
}

.rich-content .wp-block-columns {
  display: flex;
  gap: 25px;
  align-items: start;
}

.rich-content .wp-block-column {
  flex: 1;
  min-width: 0;
}

.rich-content .wp-block-image img {
  max-width: 100%;
  height: auto;
}

.rich-content .wp-block-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.rich-content .wp-block-gallery figure {
  margin: 0;
}

.rich-content .wp-block-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 9px;
  margin: 13px 0;
}

.rich-content .wp-block-file__button {
  font-size: 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 8px 12px;
  flex-shrink: 0;
}

.rich-content .wp-block-table {
  overflow-x: auto;
}

.rich-content .wp-block-embed iframe {
  max-width: 100%;
}

.alignwide {
  width: 100%;
}

.alignfull {
  width: 100%;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: 12px;
  color: var(--gray);
}

.gallery-caption {
  font-size: 11px;
}

.bypostauthor {
  border-color: var(--red);
}

.sticky .editorial-body {
  border-top: 2px solid var(--red);
}

.pagination a,
.pagination .page-numbers {
  display: grid;
  place-items: center;
  min-width: 37px;
  height: 37px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 800;
}

.pagination .current {
  background: var(--red);
  color: white;
  border-color: var(--red);
}

.home-editor-content {
  padding: 0 0 60px;
}

.search-form {
  display: flex;
  gap: 15px;
  margin-bottom: 35px;
}

.search-form button {
  white-space: nowrap;
}

.search-form input {
  font-size: 16px;
  padding: 16px;
}

.skip-link:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  width: auto;
  height: auto;
  clip: auto;
  margin: 0;
  padding: 12px;
  background: white;
  color: var(--red);
  z-index: 10000;
}

.nav-nested {
  padding-left: 15px;
}

.comments-area {
  margin-top: 40px;
}

.comment-form input:not([type=checkbox]),
.comment-form textarea {
  max-width: 100%;
}

.form-submit input {
  cursor: pointer;
  background: var(--red) !important;
  color: #fff !important;
  border: 0 !important;
  width: auto !important;
}

.section-tiles .section-tile .tile-symbol img {
  width: auto !important;
}

.wp-block-button__link {
  background: var(--red);
  color: white !important;
  border-radius: 9px;
}

.wp-block-file__button {
  background: white;
  color: var(--red) !important;
}

.rich-content table {
  max-width: 100%;
}

.rich-content img {
  max-width: 100%;
}

.rich-content .wp-block-spacer {
  max-height: 32px;
}

@media (max-width: 782px) {
  .admin-bar header {
    top: 46px;
  }
  .rich-content .wp-block-columns {
    flex-direction: column;
  }
  .rich-content .wp-block-column {
    width: 100%;
    flex-basis: auto !important;
  }
  .rich-content .wp-block-gallery {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 550px) {
  .search-form {
    flex-direction: column;
  }
  .rich-content .wp-block-file {
    font-size: 12px;
    padding: 15px;
    align-items: start;
  }
  .rich-content .wp-block-file__button {
    padding: 5px 8px;
    font-size: 10px;
  }
  .rich-content .wp-block-table {
    max-width: 100%;
  }
  .rich-content .wp-block-table table {
    min-width: 310px;
  }
}
.photo-tag {
  max-width: calc(100% - 40px);
  white-space: normal;
  line-height: 1.4;
}
