/*
 * Informational pages and blog landing content.
 *
 * This stylesheet intentionally contains plain CSS only. Source HTML is
 * stored in WordPress content and remains the editable source of truth.
 */

.soxy-content--page,
.soxy-content--category {
  min-height: 0;
  padding-inline: 0;
  padding-block: 0;
}

.soxy-page-entry,
.soxy-category-description {
  max-width: none;
  margin-inline: auto;
}

.soxy-page-entry .entry-content,
.soxy-category-description {
  overflow-wrap: anywhere;
}

.soxy-page-entry .page-width,
.soxy-category-description .page-width {
  width: 100%;
  max-width: var(--soxy-container);
  margin-inline: auto;
  padding-inline: var(--soxy-gutter);
}

.soxy-page-entry .page-content,
.soxy-category-description .page-content {
  padding-block: 42px 75px;
}

.soxy-page-entry .page-content--top {
  padding-top: 0;
}

.soxy-page-entry .breadcrumb,
.soxy-category-description .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 32px;
  padding: 0;
  color: var(--soxy-muted);
  font-size: 13px;
  list-style: none;
}

.soxy-page-entry .breadcrumb a,
.soxy-category-description .breadcrumb a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.soxy-page-entry .divider,
.soxy-category-description .divider {
  color: var(--soxy-rule);
}

.soxy-page-entry .grid,
.soxy-category-description .grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--soxy-grid-gap);
}

.soxy-page-entry .grid__item,
.soxy-category-description .grid__item {
  grid-column: 1 / -1;
  min-width: 0;
}

.soxy-page-entry .medium-up--three-quarters,
.soxy-category-description .medium-up--three-quarters {
  width: 100%;
  max-width: 960px;
  margin-inline: auto;
}

.soxy-page-entry .section-header,
.soxy-category-description .section-header {
  margin-bottom: 30px;
}

.soxy-page-entry .section-header__title,
.soxy-category-description .section-header__title {
  margin-bottom: 0;
}

.soxy-page-entry .rte,
.soxy-category-description .rte {
  max-width: 960px;
  margin-inline: auto;
}

.soxy-page-entry .rte > :first-child,
.soxy-category-description .rte > :first-child {
  margin-top: 0;
}

.soxy-page-entry .rte > :last-child,
.soxy-category-description .rte > :last-child {
  margin-bottom: 0;
}

.soxy-page-entry .rte img,
.soxy-category-description .rte img {
  height: auto;
  max-width: 100%;
}

.soxy-page-entry .rte figure,
.soxy-category-description .rte figure {
  margin-inline: 0;
}

.soxy-page-entry .rte table,
.soxy-category-description .rte table {
  width: 100%;
  margin-block: 28px;
  border-collapse: collapse;
}

.soxy-page-entry .rte th,
.soxy-page-entry .rte td,
.soxy-category-description .rte th,
.soxy-category-description .rte td {
  padding: 12px 14px;
  border: 1px solid var(--soxy-rule);
  text-align: left;
  vertical-align: top;
}

.soxy-page-entry .rte form,
.soxy-category-description .rte form {
  max-width: 640px;
  margin-block: 30px;
}

.soxy-page-entry .rte label,
.soxy-category-description .rte label {
  display: block;
  margin-bottom: 7px;
  font-weight: 700;
}

.soxy-page-entry .rte input:not([type='submit']):not([type='checkbox']):not([type='radio']),
.soxy-page-entry .rte select,
.soxy-page-entry .rte textarea,
.soxy-category-description .rte input:not([type='submit']):not([type='checkbox']):not([type='radio']),
.soxy-category-description .rte select,
.soxy-category-description .rte textarea {
  width: 100%;
  min-height: var(--soxy-control-height);
  padding: 10px 12px;
  border: 1px solid var(--soxy-rule);
  border-radius: var(--soxy-radius);
  background: var(--soxy-white);
  color: var(--soxy-black);
  font: inherit;
}

.soxy-page-entry .rte textarea,
.soxy-category-description .rte textarea {
  min-height: 140px;
}

.soxy-page-entry .rte input[type='submit'],
.soxy-page-entry .rte button,
.soxy-category-description .rte input[type='submit'],
.soxy-category-description .rte button {
  min-height: var(--soxy-control-height);
  padding: 10px 18px;
  border: 1px solid var(--soxy-black);
  border-radius: var(--soxy-radius);
  background: var(--soxy-black);
  color: var(--soxy-white);
  font: inherit;
  font-weight: 700;
}

.soxy-entry__header,
.soxy-archive-header {
  max-width: 960px;
  margin: 0 auto;
  padding: 42px var(--soxy-gutter) 0;
}

.soxy-blog-post-list {
  max-width: var(--soxy-container);
  margin: 0 auto;
  padding: 0 var(--soxy-gutter) 75px;
}

.soxy-post-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--soxy-rule);
  background: var(--soxy-white);
}

.soxy-post-card__image {
  background: var(--soxy-surface);
}

.soxy-post-card__image img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.soxy-post-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
}

.soxy-post-card__date {
  margin-bottom: 10px;
  color: var(--soxy-muted);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.soxy-post-card__title {
  margin-bottom: 14px;
  font-size: 26px;
}

.soxy-post-card__title a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
}

.soxy-post-card__title a:hover,
.soxy-post-card__title a:focus-visible {
  text-decoration-color: currentColor;
}

.soxy-post-card__excerpt {
  color: var(--soxy-muted);
}

.soxy-post-card__excerpt p:last-child {
  margin-bottom: 0;
}

.soxy-pagination {
  display: flex;
  justify-content: center;
  max-width: var(--soxy-container);
  margin-inline: auto;
  padding-inline: var(--soxy-gutter);
}

.soxy-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.soxy-pagination .page-numbers {
  display: inline-flex;
  min-width: 38px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border: 1px solid var(--soxy-rule);
  color: var(--soxy-black);
}

.soxy-pagination .page-numbers.current,
.soxy-pagination .page-numbers:hover,
.soxy-pagination .page-numbers:focus-visible {
  border-color: var(--soxy-black);
  background: var(--soxy-black);
  color: var(--soxy-white);
}

@media (max-width: 991.98px) {
  .soxy-page-entry .page-width,
  .soxy-category-description .page-width,
  .soxy-blog-post-list,
  .soxy-pagination {
    padding-inline: var(--soxy-gutter-small);
  }

  .soxy-page-entry .page-content,
  .soxy-category-description .page-content {
    padding-block: 30px 45px;
  }

  .soxy-entry__header,
  .soxy-archive-header {
    padding-top: 30px;
  }
}
