/*
Theme Name: Tibia Stories
Theme URI: https://example.com/
Author: Renan
Description: A minimal classic WordPress theme shell for Tibia Stories.
Version: 1.0.0
Text Domain: tibiastories
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, custom-logo, featured-images, full-width-template, translation-ready
*/

:root {
  color-scheme: light;
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;
  word-wrap: break-word;
  color: rgba(0, 0, 0, 0.87);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  --ts-bg: #d9d9d9;
  --ts-surface: #ffffff;
  --ts-text: #1f2933;
  --ts-muted: #5f6b76;
  --ts-border: #d7d2c8;
  --ts-link: #255c99;
  --ts-link-hover: #193e67;
  --ts-shell-width: 1140px;
  --ts-header-bg: #3f3f46;
  --ts-header-accent: #207daf;
  --ts-lightbox-backdrop: rgba(7, 12, 18, 0.88);
  --ts-lightbox-panel: rgba(17, 24, 39, 0.9);
  --ts-lightbox-border: rgba(255, 255, 255, 0.12);
  --ts-lightbox-radius: 0.9rem;
  --ts-lightbox-close-size: 2.5rem;
  --ts-lightbox-transition: 220ms ease;
}

html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  background-color: var(--ts-bg);
}

html.ts-lightbox-is-open,
html.ts-lightbox-is-open body {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--ts-link);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.15em;
}

a:hover,
a:focus {
  color: var(--ts-link-hover);
}

.site {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.site-header,
.site-footer {
  border-color: var(--ts-border);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
}

.site-header {
  width: min(100%, var(--ts-shell-width));
  margin: 0 auto;
  background: var(--ts-header-bg);
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 0;
}

.site-footer {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, #34343a 0%, #27282f 100%);
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: none;
}

.site-header__inner,
.site-footer__inner,
.site-main,
.entry,
.archive-header,
.not-found {
  width: min(100%, var(--ts-shell-width));
  margin-inline: auto;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2.25rem 1.75rem 1.5rem;
}

.site-footer__top {
  padding-bottom: 0.25rem;
}

.site-footer__columns {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem 2.5rem;
  align-items: flex-start;
}

.site-footer__column {
  min-width: 0;
  flex: 1 1 220px;
}

.site-footer__column--brand {
  flex-basis: 280px;
}

.site-footer__brand-logo {
  margin-bottom: 0.8rem;
}

.site-footer__brand-logo .custom-logo-link {
  display: inline-flex;
  max-width: min(220px, 100%);
}

.site-footer__brand-logo .custom-logo {
  display: block;
  width: 100%;
  height: auto;
}

.site-footer__heading {
  margin: 0 0 0.85rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer__heading a {
  color: inherit;
  text-decoration: none;
}

.site-footer__heading--brand {
  margin-bottom: 0.55rem;
  font-size: 1rem;
  text-transform: none;
  letter-spacing: 0.01em;
}

.site-footer__about {
  margin: 0;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.site-footer__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.site-footer__menu--social {
  gap: 0.45rem;
}

.site-footer__menu a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease;
}

.site-footer__menu a:hover,
.site-footer__menu a:focus {
  color: #ffffff;
}

.site-footer__menu a:focus-visible,
.site-footer__heading a:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.82);
  outline-offset: 2px;
  border-radius: 0.2rem;
}

.site-footer__social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  color: currentColor;
}

.site-footer__social-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.site-footer__menu-item--external .site-footer__social-icon {
  opacity: 0.72;
}

.site-footer__social-label {
  min-width: 0;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__copyright,
.site-footer__disclaimer {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.8125rem;
  line-height: 1.55;
}

.site-footer__copyright {
  flex: 0 0 auto;
  font-weight: 500;
}

.site-footer__disclaimer {
  flex: 1 1 38rem;
  max-width: 70ch;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.75rem;
}

.site-branding {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.site-branding .custom-logo-link,
.site-logo__link {
  display: block;
}

.site-branding .custom-logo,
.site-logo__image {
  display: block;
  width: min(342px, 100%);
  height: auto;
}

.site-header__actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-left: auto;
  min-width: 0;
}

.site-search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.site-search-toggle:hover,
.site-search-toggle:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

.site-search-toggle:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
}

.site-search-toggle__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
}

.site-search-toggle__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.site-navigation-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.site-navigation-toggle:hover,
.site-navigation-toggle:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

.site-navigation-toggle:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
}

.site-navigation-toggle__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
}

.site-navigation-toggle__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.site-navigation-toggle__icon--close {
  display: none;
}

.site-navigation {
  width: 100%;
  border-top: 4px solid var(--ts-header-accent);
  margin-left: 0;
  background: var(--ts-header-bg);
}

.site-navigation__inner {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.primary-menu {
  display: flex;
  flex-wrap: nowrap;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.primary-menu > .menu-item {
  position: relative;
  flex: 1 1 0;
  text-align: center;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.primary-menu > .menu-item > a {
  display: block;
  padding: 0.625rem 1rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.site-navigation__search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 3.75rem;
  padding: 0.6rem 0.95rem;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}

.site-navigation__search:hover,
.site-navigation__search:focus {
  background: var(--ts-header-accent);
  color: rgba(255, 255, 255, 0.95);
}

.site-navigation__search:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: -2px;
}

.primary-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--ts-header-bg);
  z-index: 20;
  text-align: center;
}

.primary-menu .sub-menu a {
  display: block;
  padding: 0.625rem 1rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  text-align: center;
}

.primary-menu .sub-menu a:hover,
.primary-menu .sub-menu a:focus {
  background: var(--ts-header-accent);
  color: rgba(255, 255, 255, 0.9);
}

.primary-menu > .menu-item > a:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: -2px;
}

.primary-menu .current-menu-item > a,
.primary-menu .current-menu-ancestor > a,
.primary-menu .current_page_item > a,
.primary-menu .current_page_ancestor > a,
.primary-menu .current_page_parent > a {
  background: var(--ts-header-accent);
  color: rgba(255, 255, 255, 0.9);
}

.site-search {
  width: 100%;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-0.4rem);
  visibility: hidden;
  pointer-events: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  transition: max-height 220ms ease, opacity 180ms ease, transform 180ms ease, visibility 0s linear 220ms;
}

.site-header.is-search-open .site-search {
  max-height: 16rem;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  transition: max-height 220ms ease, opacity 180ms ease, transform 180ms ease, visibility 0s;
}

.site-search__inner {
  width: min(100%, var(--ts-shell-width));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1.75rem 1.05rem;
}

.site-search__form {
  flex: 1 1 auto;
  min-width: 0;
}

.site-search-form {
  width: 100%;
}

.site-search-form__field {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  min-width: 0;
}

.site-search-form__input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 2.9rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.8rem;
  background: rgba(17, 24, 39, 0.28);
  color: rgba(255, 255, 255, 0.96);
  font: inherit;
}

.site-search-form__input::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.site-search-form__input:focus {
  border-color: rgba(32, 125, 175, 0.72);
  outline: 2px solid rgba(32, 125, 175, 0.42);
  outline-offset: 2px;
}

.site-search-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex: 0 0 auto;
  min-height: 2.9rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(32, 125, 175, 0.58);
  border-radius: 0.8rem;
  background: rgba(32, 125, 175, 0.18);
  color: rgba(255, 255, 255, 0.95);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.site-search-form__submit:hover,
.site-search-form__submit:focus {
  background: rgba(32, 125, 175, 0.3);
  border-color: rgba(32, 125, 175, 0.8);
}

.site-search-form__submit:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
}

.site-search-form__submit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
}

.site-search-form__submit-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.site-search__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.94);
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.site-search__close:hover,
.site-search__close:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

.site-search__close:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
}

.site-search__close-icon {
  display: inline-flex;
  width: 1.05rem;
  height: 1.05rem;
}

.site-search__close-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

@media (hover: hover) and (pointer: fine) {
  .primary-menu .menu-item:hover > a,
  .primary-menu .menu-item:focus-within > a {
    background: var(--ts-header-accent);
    color: rgba(255, 255, 255, 0.9);
  }

  .primary-menu .menu-item-has-children:hover > .sub-menu,
  .primary-menu .menu-item-has-children:focus-within > .sub-menu {
    display: block;
  }
}

.site-main {
  width: min(100%, var(--ts-shell-width));
  margin: 0 auto 4rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  background: var(--ts-surface);
  flex: 1;
}

.content-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 3rem 3.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

.content-list__header {
  display: flex;
  border-bottom: 2px solid var(--ts-header-accent);
  margin-bottom: 0;
}

.content-list__title {
  margin: 0;
  padding: 0.18em 0.75em;
  font-size: x-large;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  background: var(--ts-header-accent);
  line-height: 1.15;
  font-family: inherit;
}

.content-list__search-summary {
  margin: 0.85rem 0 0;
  color: var(--ts-muted);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.content-list__search-form {
  flex: none;
  width: min(100%, 24rem);
  margin: 0.75rem 0 0.3rem;
}

.content-list--search .site-search-form {
  width: 100%;
}

.content-list--search .site-search-form__field {
  width: 100%;
}

.content-list--search .site-search-form__input {
  background: #ffffff;
  color: var(--ts-text);
  border-color: var(--ts-border);
}

.content-list--search .site-search-form__input::placeholder {
  color: #6b7280;
}

.content-list--search .site-search-form__input:focus {
  border-color: var(--ts-header-accent);
  outline: 2px solid rgba(32, 125, 175, 0.25);
}

.content-list--search .site-search-form__submit {
  background: var(--ts-header-accent);
  border-color: var(--ts-header-accent);
}

.content-list--search .site-search-form__submit:hover,
.content-list--search .site-search-form__submit:focus {
  background: var(--ts-link-hover);
  border-color: var(--ts-link-hover);
}

.content-list__description {
  color: var(--ts-muted);
  max-width: 60ch;
  margin: 0.5rem 0 0;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 400;
}

.content-list__posts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.25rem;
  margin-top: 0.25em;
}

.content-list__post {
  flex-basis: calc(50% - 0.625rem);
  display: flex;
  flex-direction: column;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 0 0.5em;
  margin: 0.5em 0;
  background: var(--ts-surface);
  font-family: inherit;
}

.content-list__featured-image {
  width: 100%;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.content-list__featured-image-link {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.content-list__featured-image img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 85%;
  height: auto;
  object-fit: contain;
}

.content-list__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0;
  font-family: inherit;
}

.content-list__category {
  font-size: 11px;
  text-transform: uppercase;
}

.content-list__category a {
  display: inline-block;
  padding: 0.25em 0.5em;
  background: var(--ts-header-accent);
  color: rgba(255, 255, 255, 0.9);
  border-radius: 4px;
  text-decoration: none;
}

.content-list__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  min-height: 42px;
  min-width: 0;
  font-size: 0.8125rem;
  color: #3f3f46;
  margin-bottom: 0.4rem;
}

.content-list__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
}

.content-list__meta-item::before {
  content: "";
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

.content-list__meta-item--author::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 8a3 3 0 1 0-3-3 3 3 0 0 0 3 3zm0 1c-2.67 0-5 1.34-5 3v1h10v-1c0-1.66-2.33-3-5-3z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 8a3 3 0 1 0-3-3 3 3 0 0 0 3 3zm0 1c-2.67 0-5 1.34-5 3v1h10v-1c0-1.66-2.33-3-5-3z'/%3E%3C/svg%3E");
}

.content-list__meta-item--date::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 1v2H4a2 2 0 0 0-2 2v1h12V5a2 2 0 0 0-2-2h-1V1h-2v2H7V1H5zm-3 7v5a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V8H2zm3 2h2v2H5v-2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 1v2H4a2 2 0 0 0-2 2v1h12V5a2 2 0 0 0-2-2h-1V1h-2v2H7V1H5zm-3 7v5a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V8H2zm3 2h2v2H5v-2z'/%3E%3C/svg%3E");
}

.content-list__meta-item--tags::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1 8V1h7l7 7-7 7-7-7zm5-2a1 1 0 1 0 0-2 1 1 0 0 0 0 2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1 8V1h7l7 7-7 7-7-7zm5-2a1 1 0 1 0 0-2 1 1 0 0 0 0 2z'/%3E%3C/svg%3E");
}

.content-list__meta a {
  color: inherit;
  text-decoration: none;
}

.content-list__meta a:hover {
  color: var(--ts-header-accent);
}

.content-list__meta-item--tags a,
.ContentPost .ContentListPostInformation a {
  white-space: nowrap;
}

.content-list__meta-item--tags {
  display: inline-flex;
  align-items: flex-start;
  flex: 1 1 100%;
  min-width: 0;
  gap: 0.25rem;
}

.content-list__meta-item--tags .content-list__meta-item-text {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.content-list__body {
  display: flex;
  flex-direction: column;
}

.content-list__post-title {
  margin: 1.2rem 0;
  font-size: 1.35rem;
  font-weight: 400;
  font-family: inherit;
}

.content-list__post-title a {
  color: #3f3f46;
  text-decoration: none;
}

.content-list__post-title a:hover {
  color: var(--ts-header-accent);
  transition-duration: 200ms;
}

.content-list__excerpt > :first-child {
  margin-top: 0;
}

.content-list__excerpt > :last-child {
  margin-bottom: 1.2rem;
}

.content-list__excerpt,
.content-list__meta,
.content-list__category,
.content-list__meta a,
.content-list__post-title a {
  font-family: inherit;
}

.content-list__no-results {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 0.25rem;
}

.content-list__no-results h2,
.content-list__no-results-title {
  margin: 0;
  color: #3f3f46;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
  font-family: inherit;
}

.content-list__no-results p {
  margin: 0;
  color: var(--ts-muted);
}

.content-list__no-results-prompt {
  margin-top: 0.25rem;
}

.content-list__no-results .content-list__search-form {
  max-width: 28rem;
  margin-top: 0.35rem;
}

.content-list--search .content-list__posts {
  margin-top: 0;
}

.pagination {
  margin-top: 2rem;
}

.pagination__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pagination__pages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid #d7d2c8;
  border-radius: 999px;
  background: #fff;
  color: #3f3f46;
  font-family: inherit;
  font-size: 0.875rem;
  line-height: 1;
  text-decoration: none;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}

.pagination__control a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid #d7d2c8;
  border-radius: 999px;
  background: #fff;
  color: #3f3f46;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers:focus {
  border-color: var(--ts-header-accent);
  color: var(--ts-header-accent);
}

.pagination__control a:hover,
.pagination__control a:focus {
  border-color: var(--ts-header-accent);
  color: var(--ts-header-accent);
}

.pagination .page-numbers.current {
  background: var(--ts-header-accent);
  border-color: var(--ts-header-accent);
  color: rgba(255, 255, 255, 0.9);
}

.pagination .page-numbers.dots {
  border-color: transparent;
  background: transparent;
  min-width: 0;
  padding-inline: 0.25rem;
}


.entry,
.archive-header,
.not-found {
  background: var(--ts-surface);
  border: 1px solid var(--ts-border);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 1px 0 rgba(31, 41, 51, 0.02);
}

.ContentPost {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 1.75em;
  box-sizing: border-box;
  line-height: 1.5;
}

.ContentPost h1,
.ContentPost h2,
.ContentPost h3,
.ContentPost h4 {
  font-weight: 400;
  font-family: inherit;
}

.ContentPost .Post {
  display: flex;
  flex-direction: column;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 1.25em;
  background: var(--ts-surface);
}

.ContentPost .PostFeaturedImage {
  align-self: center;
  margin-bottom: 0.5rem;
}

.ContentPost .PostFeaturedImage img {
  display: block;
  width: 100%;
  max-width: 680px;
  height: auto;
}

.ContentPost .PostContentArea {
  padding: 20px;
}

.entry--page {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 1.75em;
  box-sizing: border-box;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  line-height: 1.5;
}

.entry--page h1,
.entry--page h2,
.entry--page h3,
.entry--page h4 {
  font-weight: 400;
  font-family: inherit;
}

.entry--page .Page {
  display: flex;
  flex-direction: column;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 1.25em;
  background: var(--ts-surface);
}

.entry--page .PageFeaturedImage {
  align-self: center;
  margin-bottom: 0.5rem;
}

.entry--page .PageFeaturedImage img {
  display: block;
  width: 100%;
  max-width: 680px;
  height: auto;
}

.entry--page .PageContentArea {
  padding: 20px;
}

.entry--page .entry-header {
  margin: 0;
}

.related-posts {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ts-border);
}

.related-posts__grid {
  display: grid;
  gap: 1rem 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1rem;
}

.related-posts__grid .content-list__post {
  margin: 0;
  flex-basis: auto;
  height: 100%;
}

.home-page {
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
  width: 100%;
  padding: 2rem 0 4rem;
}

.home-section,
.home-featured,
.home-cta,
.home-latest {
  width: min(100%, var(--ts-shell-width));
  margin-inline: auto;
  padding-inline: 3.5rem;
}

.home-section--featured {
  padding-top: 0;
}

.home-featured {
  display: flex;
  flex-direction: column;
}

.home-featured__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 1.15rem;
  align-items: stretch;
}

.home-featured__main,
.home-featured__secondary-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--ts-border);
  border-radius: 1rem;
  background: transparent;
  box-shadow: 0 1px 0 rgba(31, 41, 51, 0.02);
}

.home-featured__main {
  position: relative;
  aspect-ratio: 12 / 14;
  background: #1f2933;
}

.home-featured__media,
.home-featured__secondary-media {
  display: block;
  line-height: 0;
  background: transparent;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.home-featured__media {
  aspect-ratio: 16 / 9;
}

.home-featured__main .home-featured__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  aspect-ratio: auto;
}

.home-featured__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.home-featured__main-content {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem 1.15rem 1.15rem;
  color: #fff;
  max-width: 100%;
}

.home-featured__main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.06) 25%, rgba(17, 24, 39, 0.34) 58%, rgba(17, 24, 39, 0.86) 100%);
}

.home-featured__title {
  margin: 0;
  font-size: clamp(1.45rem, 2.35vw, 2.3rem);
  font-weight: 400;
  line-height: 1.06;
  font-family: inherit;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.home-featured__title a,
.home-featured__secondary-title a {
  color: #3f3f46;
  text-decoration: none;
}

.home-featured__main .home-featured__title,
.home-featured__main .home-featured__excerpt,
.home-featured__main .home-featured__date {
  color: rgba(255, 255, 255, 0.96);
}

.home-featured__main .home-featured__title a {
  color: inherit;
}

.home-featured__title a:hover,
.home-featured__secondary-title a:hover {
  color: var(--ts-header-accent);
}

.home-featured__excerpt {
  margin: 0;
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.86rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.home-featured__kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.home-featured__kicker-label {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(32, 125, 175, 0.9);
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.home-featured__date {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8125rem;
}

.home-featured__main-link {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
  text-decoration: none;
}

.home-featured__main-link:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.95);
  outline-offset: -4px;
}

.home-featured__main:hover .home-featured__media img,
.home-featured__main:focus-within .home-featured__media img {
  transform: scale(1.03);
}

.home-featured__secondary {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  height: 100%;
  min-height: 0;
  min-width: 0;
}

.home-featured__secondary-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.home-featured__secondary-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-featured__secondary-media {
  aspect-ratio: 16 / 9;
}

.home-featured__secondary-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.45rem;
  padding: 0.85rem 0.9rem 0.95rem;
  min-width: 0;
  background: var(--ts-surface);
}

.home-featured__secondary-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.25;
  font-family: inherit;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.home-featured__categories {
  margin: 0;
  gap: 0.4rem;
}

.home-featured__meta {
  min-height: 0;
  margin: 0;
}

.home-section {
  display: flex;
  flex-direction: column;
}

.home-section__description {
  margin-top: 0.45rem;
  max-width: 42rem;
  color: rgba(31, 41, 51, 0.78);
  line-height: 1.48;
  font-size: 0.9rem;
}

.home-section__description + .home-section__posts,
.home-section__description + .home-latest__list {
  margin-top: 0.9rem;
}

.home-section__posts {
  margin-top: 1rem;
}

.home-section__posts--grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem 1.25rem;
  align-items: stretch;
}

.home-section__posts--cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-section__posts--cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-section__footer,
.home-latest__footer {
  margin-top: 1rem;
}

.home-section__link {
  display: inline-flex;
  align-items: center;
  color: var(--ts-header-accent);
  font-weight: 500;
  text-decoration: none;
}

.home-section__link:hover {
  color: var(--ts-link-hover);
}

.home-cta__panel {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--ts-border);
  border-radius: 1.25rem;
  background: linear-gradient(135deg, rgba(32, 125, 175, 0.11), rgba(255, 255, 255, 0.98) 58%);
  box-shadow: 0 1px 0 rgba(31, 41, 51, 0.02);
}

.home-cta__title {
  margin: 0;
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  font-weight: 400;
  line-height: 1.15;
  font-family: inherit;
}

.home-cta__copy {
  margin: 0;
  max-width: 54ch;
  color: var(--ts-muted);
}

.home-cta__link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--ts-header-accent);
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  font-weight: 500;
}

.home-cta__link:hover,
.home-cta__link:focus {
  background: var(--ts-link-hover);
  color: rgba(255, 255, 255, 0.95);
}

.home-latest__list {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.home-latest__item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid #ece7de;
}

.home-latest__item:first-child {
  padding-top: 0;
}

.home-latest__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.home-latest__link {
  color: var(--ts-text);
  text-decoration: none;
  font-size: 1.02rem;
  line-height: 1.35;
}

.home-latest__link:hover {
  color: var(--ts-header-accent);
}

.home-latest__meta {
  color: var(--ts-muted);
  font-size: 0.8125rem;
}

.home-post-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--ts-border);
  border-radius: 1rem;
  background: var(--ts-surface);
  box-shadow: 0 1px 0 rgba(31, 41, 51, 0.02);
  height: 100%;
}

.home-post-card__media {
  display: block;
  line-height: 0;
  background: transparent;
}

.home-post-card__media-link {
  display: block;
}

.home-post-card__media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.home-post-card__content {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1rem 1rem 1.05rem;
}

.home-post-card__category {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.home-post-card__category a {
  display: inline-flex;
  align-items: center;
  padding: 0.25em 0.55em;
  background: var(--ts-header-accent);
  color: rgba(255, 255, 255, 0.92);
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.6875rem;
  text-transform: uppercase;
}

.home-post-card__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.25;
  font-family: inherit;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.home-post-card__title a {
  color: #3f3f46;
  text-decoration: none;
}

.home-post-card__title a:hover {
  color: var(--ts-header-accent);
}

.home-post-card__excerpt {
  color: var(--ts-muted);
  font-size: 0.875rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.home-post-card__excerpt > :first-child {
  margin-top: 0;
}

.home-post-card__excerpt > :last-child {
  margin-bottom: 0;
}

.home-post-card__meta {
  margin-top: auto;
  color: var(--ts-muted);
  font-size: 0.8125rem;
}

.author-box {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ts-border);
}

.author-box__avatar {
  flex: 0 0 auto;
}

.author-box__avatar-link {
  display: block;
  line-height: 0;
}

.author-box__avatar img {
  display: block;
  width: 88px;
  height: 88px;
  border-radius: 999px;
}

.author-box__content {
  min-width: 0;
}

.author-box__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.25;
  font-family: inherit;
}

.author-box__title a {
  color: #3f3f46;
  text-decoration: none;
}

.author-box__title a:hover {
  color: var(--ts-header-accent);
}

.author-box__bio {
  margin-top: 0.5rem;
  color: var(--ts-muted);
  font-size: 0.9375rem;
}

.author-box__bio > :first-child {
  margin-top: 0;
}

.author-box__bio > :last-child {
  margin-bottom: 0;
}

.ContentPost .PostRenderedContent,
.content-body {
  line-height: 1.5;
  word-break: break-word;
  color: var(--ts-text);
}

.ContentPost .PostRenderedContent > :first-child,
.content-body > :first-child {
  margin-top: 0;
}

.ContentPost .PostRenderedContent > :last-child,
.content-body > :last-child {
  margin-bottom: 0;
}

.ContentPost .PostRenderedContent a,
.content-body a {
  color: var(--ts-header-accent);
  text-decoration: none;
}

.ContentPost .PostRenderedContent a:hover,
.ContentPost .PostRenderedContent a:focus,
.content-body a:hover,
.content-body a:focus {
  color: var(--ts-header-accent);
}

.ContentPost .PostRenderedContent p,
.content-body p {
  line-height: 1.4;
  margin: 0 0 1rem;
}

.ContentPost .PostRenderedContent strong,
.content-body strong {
  font-weight: 500;
}

.ContentPost .PostRenderedContent h2,
.ContentPost .PostRenderedContent h3,
.ContentPost .PostRenderedContent h4,
.ContentPost .PostRenderedContent h5,
.ContentPost .PostRenderedContent h6,
.content-body h2,
.content-body h3,
.content-body h4,
.content-body h5,
.content-body h6 {
  margin: 1.8rem 0 0.8rem;
  color: #3f3f46;
  font-family: inherit;
  font-weight: 400;
  line-height: 1.25;
}

.ContentPost .PostRenderedContent h2,
.content-body h2 {
  font-size: clamp(1.45rem, 2vw, 1.85rem);
}

.ContentPost .PostRenderedContent h3,
.content-body h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
}

.ContentPost .PostRenderedContent h4,
.content-body h4 {
  font-size: 1.2rem;
}

.ContentPost .PostRenderedContent h5,
.content-body h5 {
  font-size: 1.05rem;
}

.ContentPost .PostRenderedContent h6,
.content-body h6 {
  font-size: 0.95rem;
}

.ContentPost .PostRenderedContent ul,
.ContentPost .PostRenderedContent ol,
.content-body ul,
.content-body ol {
  margin: 0 0 1rem;
  padding-inline-start: 1.4rem;
}

.ContentPost .PostRenderedContent li + li,
.content-body li + li {
  margin-top: 0.35rem;
}

.ContentPost .PostRenderedContent blockquote,
.content-body blockquote {
  margin: 1.35rem 0;
  padding: 0.95rem 1.1rem;
  border-left: 3px solid var(--ts-header-accent);
  background: rgba(32, 125, 175, 0.06);
  color: var(--ts-muted);
}

.ContentPost .PostRenderedContent hr,
.content-body hr {
  background-color: #e4e4e7;
  border: 0;
  height: 1px;
  margin: 30px auto;
  width: 50%;
}

.ContentPost .PostRenderedContent .wp-block-separator,
.content-body .wp-block-separator {
  margin: 30px auto;
}

.ContentPost .PostRenderedContent .wp-block-group,
.content-body .wp-block-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.ContentPost .PostRenderedContent .wp-block-group .wp-block-image,
.content-body .wp-block-group .wp-block-image {
  margin: 0 12px;
}

.ContentPost .PostRenderedContent .wp-block-group figcaption,
.content-body .wp-block-group figcaption {
  text-align: center;
}

.ContentPost .PostRenderedContent .wp-block-table,
.content-body .wp-block-table {
  width: 100%;
  overflow-x: auto;
  margin-inline-start: 0;
  margin-inline-end: 0;
}

.ContentPost .PostRenderedContent .wp-block-table table,
.content-body .wp-block-table table {
  width: 100%;
  text-align: center;
  border-collapse: collapse;
}

.ContentPost .PostRenderedContent .wp-block-table td,
.content-body .wp-block-table td {
  border: 1px solid #dadada;
}

.ContentPost .PostRenderedContent .wp-block-image,
.content-body .wp-block-image {
  margin-top: 0;
}

.ContentPost .PostRenderedContent .wp-block-embed,
.content-body .wp-block-embed {
  margin-block: 1.5rem;
}

.ContentPost .PostRenderedContent figcaption,
.ContentPost .PostRenderedContent .wp-caption-text,
.ContentPost .PostRenderedContent .wp-element-caption,
.content-body figcaption,
.content-body .wp-caption-text,
.content-body .wp-element-caption {
  margin-top: 0.5rem;
  color: var(--ts-muted);
  font-size: 0.875rem;
  line-height: 1.45;
}

.ContentPost .PostRenderedContent .is-resized img,
.content-body .is-resized img {
  height: 100%;
}

.ContentPost .PostRenderedContent .alignright,
.content-body .alignright {
  float: right;
  margin-left: 30px;
  margin-inline-end: 0;
}

.ContentPost .PostRenderedContent .alignleft,
.content-body .alignleft {
  float: left;
  margin-right: 30px;
  margin-inline-start: 0;
}

.ContentPost .PostRenderedContent .aligncenter,
.content-body .aligncenter {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.wp-lightbox-container button {
  align-items: center;
  backdrop-filter: blur(14px);
  background: rgba(17, 24, 39, 0.5) !important;
  border: 1px solid var(--ts-lightbox-border);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.94);
  fill: currentColor;
  box-shadow: 0 0.5rem 1.25rem rgba(15, 23, 42, 0.2);
}

.wp-lightbox-container button:hover,
.wp-lightbox-container button:focus,
.wp-lightbox-container button:not(:hover):not(:active):not(.has-background) {
  background: rgba(17, 24, 39, 0.68) !important;
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  fill: currentColor;
}

.wp-lightbox-overlay {
  cursor: default;
}

.wp-lightbox-overlay .scrim {
  background-color: var(--ts-lightbox-backdrop) !important;
  opacity: 1;
}

.wp-lightbox-overlay .wp-block-image {
  align-items: center;
  border-radius: var(--ts-lightbox-radius);
  box-shadow: 0 1.5rem 3.5rem rgba(2, 6, 23, 0.35);
  overflow: hidden;
}

.wp-lightbox-overlay .wp-lightbox-close-button {
  align-items: center;
  backdrop-filter: blur(14px);
  background: rgba(17, 24, 39, 0.62);
  border: 1px solid var(--ts-lightbox-border);
  border-radius: 999px;
  box-shadow: 0 0.5rem 1.25rem rgba(2, 6, 23, 0.28);
  color: rgba(255, 255, 255, 0.94);
  fill: currentColor !important;
  min-height: var(--ts-lightbox-close-size);
  min-width: var(--ts-lightbox-close-size);
  padding: 0;
  transition: background-color var(--ts-lightbox-transition), border-color var(--ts-lightbox-transition), color var(--ts-lightbox-transition), transform var(--ts-lightbox-transition);
}

.wp-lightbox-overlay .wp-lightbox-close-button:hover,
.wp-lightbox-overlay .wp-lightbox-close-button:focus,
.wp-lightbox-overlay .wp-lightbox-close-button:not(:hover):not(:active):not(.has-background) {
  background: rgba(17, 24, 39, 0.82);
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  fill: currentColor !important;
}

.wp-lightbox-overlay .wp-lightbox-close-button:focus-visible,
.wp-lightbox-overlay .wp-lightbox-navigation-button-prev:focus-visible,
.wp-lightbox-overlay .wp-lightbox-navigation-button-next:focus-visible,
.ts-lightbox__close:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.92);
  outline-offset: 3px;
}

.ts-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 2vw, 1.5rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--ts-lightbox-transition), visibility 0s linear var(--ts-lightbox-transition);
}

.ts-lightbox.is-open,
.ts-lightbox.is-closing {
  visibility: visible;
}

.ts-lightbox.is-open {
  opacity: 1;
  transition-delay: 0s;
}

.ts-lightbox.is-closing {
  opacity: 0;
}

.ts-lightbox__scrim {
  position: absolute;
  inset: 0;
  background: var(--ts-lightbox-backdrop);
  backdrop-filter: blur(10px);
}

.ts-lightbox__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  width: fit-content;
  max-width: calc(100vw - 2rem);
  max-height: calc(100vh - 2rem);
  padding: 0.25rem;
  outline: none;
}

.ts-lightbox__figure {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  border-radius: var(--ts-lightbox-radius);
  overflow: hidden;
  background: var(--ts-lightbox-panel);
  box-shadow: 0 1.5rem 3.5rem rgba(2, 6, 23, 0.38);
}

.ts-lightbox__image {
  display: block;
  width: auto;
  max-width: calc(100vw - 4rem);
  max-height: calc(100vh - 5rem);
  height: auto;
  object-fit: contain;
}

.ts-lightbox__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--ts-lightbox-close-size);
  height: var(--ts-lightbox-close-size);
  padding: 0;
  border: 1px solid var(--ts-lightbox-border);
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.62);
  color: rgba(255, 255, 255, 0.94);
  fill: currentColor;
  box-shadow: 0 0.5rem 1.25rem rgba(2, 6, 23, 0.28);
  cursor: pointer;
  transition: background-color var(--ts-lightbox-transition), border-color var(--ts-lightbox-transition), color var(--ts-lightbox-transition), transform var(--ts-lightbox-transition);
}

.ts-lightbox__close:hover,
.ts-lightbox__close:focus {
  background: rgba(17, 24, 39, 0.82);
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.ts-lightbox__close svg {
  width: 1.05rem;
  height: 1.05rem;
}

@media (prefers-reduced-motion: no-preference) {
  .wp-lightbox-container button,
  .wp-lightbox-overlay .wp-lightbox-close-button,
  .ts-lightbox__close,
  .ts-lightbox {
    transition-duration: 220ms;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wp-lightbox-container button,
  .wp-lightbox-overlay .wp-lightbox-close-button,
  .ts-lightbox,
  .ts-lightbox__close {
    transition: none;
  }
}

.ContentPost .ContentListPostCategories {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin: 8px 0;
}

.ContentPost .ContentListPostCategory {
  font-size: 11px;
  text-transform: uppercase;
}

.ContentPost .ContentListPostCategory a {
  display: inline-block;
  padding: 0.25em 0.5em;
  background-color: var(--ts-header-accent);
  color: rgba(255, 255, 255, 0.9);
  border-radius: 4px;
  text-decoration: none;
}

.ContentPost .ContentListPostInformation {
  display: flex;
  flex-direction: row;
  align-content: space-between;
  flex-wrap: wrap;
  font-size: 14px;
  min-height: 42px;
  line-height: 1.5;
}

.ContentPost .ContentListPostInformation .bi {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  margin-right: 4px;
  flex: 0 0 auto;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

.ContentPost .ContentListPostInformation .bi-person-fill {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 8a3 3 0 1 0-3-3 3 3 0 0 0 3 3zm0 1c-2.67 0-5 1.34-5 3v1h10v-1c0-1.66-2.33-3-5-3z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 8a3 3 0 1 0-3-3 3 3 0 0 0 3 3zm0 1c-2.67 0-5 1.34-5 3v1h10v-1c0-1.66-2.33-3-5-3z'/%3E%3C/svg%3E");
}

.ContentPost .ContentListPostInformation .bi-calendar-fill {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 1v2H4a2 2 0 0 0-2 2v1h12V5a2 2 0 0 0-2-2h-1V1h-2v2H7V1H5zm-3 7v5a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V8H2zm3 2h2v2H5v-2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 1v2H4a2 2 0 0 0-2 2v1h12V5a2 2 0 0 0-2-2h-1V1h-2v2H7V1H5zm-3 7v5a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V8H2zm3 2h2v2H5v-2z'/%3E%3C/svg%3E");
}

.ContentPost .ContentListPostInformation .bi-tags-fill {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1 8V1h7l7 7-7 7-7-7zm5-2a1 1 0 1 0 0-2 1 1 0 0 0 0 2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1 8V1h7l7 7-7 7-7-7zm5-2a1 1 0 1 0 0-2 1 1 0 0 0 0 2z'/%3E%3C/svg%3E");
}

.ContentPost .ContentListPostInformation span {
  margin-right: 10px;
}

.ContentPost .ContentListPostInformation a {
  color: #3f3f46;
  text-decoration: none;
}

.ContentPost .ContentListPostInformation a:hover {
  color: var(--ts-header-accent);
  transition-duration: 200ms;
}

.ContentPost .ContentListPostInformation i {
  margin-right: 4px;
}

.entry + .entry {
  margin-top: 1.5rem;
}

.entry-header,
.entry-content,
.entry-footer,
.archive-header__content {
  max-width: 100%;
}

.entry-title,
.archive-title,
.page-title,
.not-found h1 {
  margin-top: 0;
  line-height: 1.2;
}

.entry-meta,
.archive-description,
.entry-footer,
.site-info {
  color: var(--ts-muted);
  font-size: 0.95rem;
}

.entry-content > :first-child {
  margin-top: 0;
}

.entry-content > :last-child {
  margin-bottom: 0;
}

.wp-block-image,
.wp-block-gallery,
.wp-caption {
  margin-block: 1.5rem;
}

.alignwide,
.alignfull {
  max-width: 100%;
}

.post-thumbnail,
.wp-post-image {
  display: block;
  margin-block: 1.25rem;
  border-radius: 0.75rem;
}

.pagination,
.posts-navigation,
.post-navigation {
  margin-top: 2rem;
}

.page-links {
  margin-top: 1.5rem;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

@media (max-width: 64rem) {
  .related-posts__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-featured__layout {
    grid-template-columns: 1fr;
  }

  .home-featured__secondary {
    display: flex;
    flex-direction: column;
    height: auto;
  }

  .home-section__posts--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 48.0625rem) and (max-width: 64rem) {
  .content-list--search .content-list__search-form {
    width: 100%;
    max-width: none;
  }
}

@media (min-width: 48.0625rem) and (max-width: 64rem) {
  .home-section__posts--cols-3.home-section__posts--tablet-wide-third {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-section__posts--cols-3.home-section__posts--tablet-wide-third > .home-post-card--has-media:nth-child(3) {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
    align-items: stretch;
  }

  .home-section__posts--cols-3.home-section__posts--tablet-wide-third > .home-post-card--has-media:nth-child(3) .home-post-card__media {
    height: 100%;
  }

  .home-section__posts--cols-3.home-section__posts--tablet-wide-third > .home-post-card--has-media:nth-child(3) .home-post-card__media-link {
    height: 100%;
  }

  .home-section__posts--cols-3.home-section__posts--tablet-wide-third > .home-post-card--has-media:nth-child(3) .home-post-card__media img {
    height: 100%;
    aspect-ratio: auto;
  }

  .home-section__posts--cols-3.home-section__posts--tablet-wide-third > .home-post-card--has-media:nth-child(3) .home-post-card__content {
    justify-content: center;
    padding: 1.1rem 1.15rem 1.15rem;
  }

  .site-footer__columns {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) repeat(2, minmax(0, 1fr));
    gap: 1.5rem 1.75rem;
    align-items: start;
  }

  .site-footer__column {
    flex: none;
  }

  .site-footer__column--brand {
    flex-basis: auto;
  }
}

@media (max-width: 68rem) {
  .site-navigation__search {
    display: none;
  }

  .site-header {
    width: min(100%, var(--ts-shell-width));
  }

  .site-header__inner {
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
  }

  .site-branding {
    justify-content: flex-start;
  }

  .site-branding .custom-logo,
  .site-logo__image {
    width: min(240px, 52vw);
  }

  .js .site-navigation-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .js .site-header.is-nav-open .site-navigation-toggle__icon--open {
    display: none;
  }

  .js .site-header.is-nav-open .site-navigation-toggle__icon--close {
    display: inline-flex;
  }

  .js .site-header.is-nav-open .site-navigation-toggle {
    background: rgba(32, 125, 175, 0.22);
    border-color: rgba(32, 125, 175, 0.42);
  }

  .site-navigation {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .js .site-navigation {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-0.4rem);
    transition: max-height 220ms ease, opacity 180ms ease, transform 180ms ease, visibility 0s linear 220ms;
  }

  .js .site-header.is-nav-open .site-navigation {
    max-height: 32rem;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: max-height 220ms ease, opacity 180ms ease, transform 180ms ease, visibility 0s;
  }

  .primary-menu {
    flex-direction: column;
    width: 100%;
  }

  .primary-menu > .menu-item {
    flex: 0 0 auto;
    text-align: left;
  }

  .primary-menu > .menu-item > a {
    padding: 0.95rem 1.25rem;
  }

  .primary-menu .sub-menu {
    position: static;
    transform: none;
    display: block;
    min-width: 0;
    background: rgba(255, 255, 255, 0.04);
  }

  .primary-menu .sub-menu a {
    padding: 0.85rem 1.25rem 0.85rem 2rem;
  }

  .primary-menu .menu-item-has-children:hover > .sub-menu,
  .primary-menu .menu-item-has-children:focus-within > .sub-menu {
    display: block;
  }
}

@media (min-width: 68.0001rem) {
  .site-header__actions {
    display: none;
  }

  .site-search-toggle--mobile {
    display: none;
  }
}

@media (max-width: 48rem) {
  .site-header__inner {
    padding: 1rem 1rem 0.85rem;
  }

  .site-header__inner {
    flex-direction: row;
    align-items: center;
  }

  .site-navigation {
    margin-left: 0;
  }

  .js .site-header__inner {
    padding: 1rem 1rem 0.85rem;
  }

  .site-branding .custom-logo,
  .site-logo__image {
    width: min(210px, 58vw);
  }

  .js .site-navigation-toggle {
    min-width: 2.5rem;
    min-height: 2.5rem;
    padding: 0.5rem;
    border-radius: 0.7rem;
  }

  .site-search-toggle {
    min-width: 2.5rem;
    min-height: 2.5rem;
    padding: 0.5rem;
    border-radius: 0.7rem;
  }

  .site-search__inner {
    padding: 0.85rem 1rem 0.95rem;
    flex-wrap: wrap;
  }

  .site-search-form__field {
    flex-wrap: wrap;
  }

  .site-search-form__submit,
  .site-search__close {
    width: 100%;
  }

  .site-search__close {
    height: 2.75rem;
  }

  .primary-menu > .menu-item > a {
    padding-inline: 1rem;
  }

  .content-list__post {
    flex-basis: 100%;
  }

  .content-list__search-form,
  .content-list--search .content-list__search-form {
    width: 100%;
    flex-basis: 100%;
    max-width: none;
    margin-bottom: 0.35rem;
  }

  .content-list--search .site-search-form__field {
    flex-direction: column;
  }

  .content-list--search .site-search-form__submit {
    width: 100%;
  }

  .related-posts__grid {
    grid-template-columns: 1fr;
  }

  .content-list__featured-image {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .content-list {
    padding: 1.5rem;
  }

  .site-footer__inner {
    padding: 1.5rem 1.5rem 0.75rem;
  }

  .site-footer__columns {
    gap: 1.5rem;
  }

  .site-footer__about {
    max-width: none;
  }

  .site-footer__legal {
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 0.9rem;
  }

  .site-footer__copyright,
  .site-footer__disclaimer {
    flex: 0 0 auto;
    max-width: none;
  }

  .author-box {
    grid-template-columns: 1fr;
  }

  .author-box__avatar img {
    width: 72px;
    height: 72px;
  }

  .ContentPost .PostRenderedContent .alignleft,
  .ContentPost .PostRenderedContent .alignright,
  .ContentPost .PostRenderedContent .aligncenter,
  .ContentPost .PostRenderedContent .wp-block-image.alignleft,
  .ContentPost .PostRenderedContent .wp-block-image.alignright,
  .ContentPost .PostRenderedContent .wp-caption.alignleft,
  .ContentPost .PostRenderedContent .wp-caption.alignright,
  .ContentPost .PostRenderedContent img.alignleft,
  .ContentPost .PostRenderedContent img.alignright,
  .content-body .alignleft,
  .content-body .alignright,
  .content-body .aligncenter,
  .content-body .wp-block-image.alignleft,
  .content-body .wp-block-image.alignright,
  .content-body .wp-caption.alignleft,
  .content-body .wp-caption.alignright,
  .content-body img.alignleft,
  .content-body img.alignright {
    float: none;
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .ContentPost .PostRenderedContent .wp-block-image.alignleft,
  .ContentPost .PostRenderedContent .wp-block-image.alignright,
  .ContentPost .PostRenderedContent .wp-caption.alignleft,
  .ContentPost .PostRenderedContent .wp-caption.alignright,
  .content-body .wp-block-image.alignleft,
  .content-body .wp-block-image.alignright,
  .content-body .wp-caption.alignleft,
  .content-body .wp-caption.alignright {
    width: fit-content;
    max-width: 100%;
  }

  .ContentPost .PostRenderedContent .alignleft img,
  .ContentPost .PostRenderedContent .alignright img,
  .ContentPost .PostRenderedContent .wp-block-image.alignleft img,
  .ContentPost .PostRenderedContent .wp-block-image.alignright img,
  .ContentPost .PostRenderedContent .wp-caption.alignleft img,
  .ContentPost .PostRenderedContent .wp-caption.alignright img,
  .content-body .alignleft img,
  .content-body .alignright img,
  .content-body .wp-block-image.alignleft img,
  .content-body .wp-block-image.alignright img,
  .content-body .wp-caption.alignleft img,
  .content-body .wp-caption.alignright img {
    display: block;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .ContentPost .ContentListPostCategories {
    flex-wrap: wrap;
    max-width: 100%;
  }

  .ContentPost .ContentListPostCategory {
    min-width: 0;
    max-width: 100%;
  }

  .ContentPost .ContentListPostCategory a {
    display: inline-flex;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .home-page {
    gap: 2rem;
    padding-top: 1.5rem;
  }

  .home-section,
  .home-featured,
  .home-cta,
  .home-latest {
    padding-inline: 1.5rem;
  }

  .home-featured__main-content {
    padding: 0.95rem 0.95rem 0.9rem;
    gap: 0.4rem;
    max-width: none;
  }

  .home-featured__main {
    aspect-ratio: 16 / 11;
  }

  .home-featured__secondary {
    height: auto;
  }

  .home-featured__secondary-item {
    height: auto;
  }

  .home-featured__secondary-content {
    padding: 0.9rem 1rem 1rem;
  }

  .home-featured__title {
    font-size: clamp(1.3rem, 6.5vw, 1.95rem);
    line-height: 1.08;
  }

  .home-featured__excerpt {
    -webkit-line-clamp: 1;
    font-size: 0.82rem;
  }

  .home-section__posts--grid {
    grid-template-columns: 1fr;
  }
}
