:root {
  --bg: #f6f3ee;
  --panel: #fffdf9;
  --surface: #ffffff;
  --text: #1f1c19;
  --muted: #756d65;
  --soft: #a59b92;
  --border: #e7ded3;
  --accent: #F3A977;
  --accent-strong: #d98b55;
  --accent-dark: #4d3e3e;
  --shadow: 0 10px 30px rgba(34, 24, 16, 0.06);
  --radius: 18px;
  --sidebar-width: 420px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(243, 169, 119, 0.12), transparent 28%),
    linear-gradient(to bottom, #fbf8f4, var(--bg));
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: var(--accent-dark);
  text-decoration: none;
  transition: color 180ms ease, opacity 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

a:hover {
  color: var(--accent-strong);
}

.site {
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  min-height: 100vh;
}

.social-svg {
  width: 18px;
  height: 18px;
  display: block;
  flex: 0 0 auto;
}
.social-icon-img {
  width: 18px;
  height: 18px;
  display: block;
  object-fit: contain;
}

.sidebar {
  /*background: linear-gradient(135deg, #f8f1e5 0%, #e9d5b5 35%, #d2b48c 70%, #d2b48c 100%);
  padding: 24px;*/
  border-right: 1px solid rgba(77, 62, 62, 0.08);
}

.sidebar__inner {
  background-image:
    linear-gradient(rgba(210,180,140,0.6), rgba(210,180,140,0.9)),
    url('../images/portadanachovert.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left;
  position: sticky;
  top: 0px;
  height: calc(100vh - 0px);
  /*backdrop-filter: blur(14px);*/
  overflow: hidden;
}

.sidebar__content {
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 28px;
}

.sidebar__top {
  display: flex;
  flex-direction: column;
}

.sidebar__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.sidebar__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.sidebar__mobilebar {
  display: none;
}

.sidebar__description {
  margin: 1rem 0 1.25rem;
  color: var(--panel);
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 28ch;
  text-align: center;
}

.sidebar-search {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0;
}

.sidebar-search__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
}

.sidebar-search__input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  padding: 0 0.9rem;
  font: inherit;
  outline: none;
}

.sidebar-search__input:focus {
  border-color: rgba(243, 169, 119, 0.65);
  box-shadow: 0 0 0 4px rgba(243, 169, 119, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.brand__logo {
  display: block;
  width: 100%;
  max-width: 280px;
  max-height: none;
  height: auto;
  object-fit: contain;
}

.brand__title {
  font-size: 1.3rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.sidebar__bio {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 26ch;
}

.sidebar__nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-width: 220px;
}

.sidebar__nav a {
  display: block;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  color: var(--text);
  font-weight: 600;
  background: transparent;
  text-align: center;
}

.sidebar__nav a:hover {
  background: rgba(243, 169, 119, 0.12);
  color: var(--accent-dark);
}

/*
.sidebar__nav a[aria-current="page"] {
  background: linear-gradient(135deg, rgba(243,169,119,0.22), rgba(243,169,119,0.10));
  color: var(--accent-dark);
}
  */

.sidebar__nav--bottom {
  max-width: none;
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  text-decoration: underline;
  /*background: rgba(210,180,140,0.6);*/
}

.sidebar__nav--bottom a {
  color:#404040;
  width: auto;
  padding: 0.72rem 1rem;
  text-align: center;
  white-space: nowrap;
}

.sidebar__socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin: 0;
}

.sidebar__socials a {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  line-height: 1;
}

.sidebar__socials a:hover {
  border-color: rgba(243, 169, 119, 0.55);
  background: rgba(243, 169, 119, 0.14);
  color: var(--accent-dark);
  transform: translateY(-1px);
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sidebar__meta {
  margin: 0;
  color: var(--soft);
  font-size: 0.88rem;
  line-height: 1.5;
  text-align: center;
}

.content {
  min-width: 0;
  padding: 48px 40px 72px 24px;
  background: ivory;
}

.home {
  padding: 0 6em 0 6em;
}
.archive {
  padding: 0 6em 0 6em;
  background: transparent;
}
.article {
  padding: 0 6em 0 6em;
}

.home__header,
.archive__header {
  margin-bottom: 2rem;
  padding: 0.5rem 0 1rem;
}

.home__kicker,
.article__eyebrow {
  margin: 0 0 0.9rem;
  color: var(--accent-strong);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home__title {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.3rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: var(--text);
}

.home__intro {

  margin: 1rem 0 0;
  font-size: 1.02rem;
  color: var(--muted);
}

.archive-tools {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 220px;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.archive-tools__search,
.archive-tools__select {
  width: 100%;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,0.82);
  color: var(--text);
  padding: 0 0.95rem;
  font: inherit;
  outline: none;
}

.archive-tools__search:focus,
.archive-tools__select:focus {
  border-color: rgba(243, 169, 119, 0.65);
  box-shadow: 0 0 0 4px rgba(243, 169, 119, 0.12);
}

.post-feed {
  display: grid;
  gap: 1.25rem;
}

.post-card {
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(77, 62, 62, 0.08);
  border-radius: 10px;
  padding: 1.5rem 1.5rem 1.35rem;
  box-shadow: 0 4px 18px rgba(34, 24, 16, 0.03);
}

.post-card:hover {
  border-color: rgba(243, 169, 119, 0.28);
  box-shadow: 0 12px 32px rgba(34, 24, 16, 0.06);
}

.post-card__meta {
  margin-bottom: 0.55rem;
  color: var(--soft);
  font-size: 0.86rem;
  font-weight: 600;
}

.post-card__title {
  margin: 0 0 0.7rem;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.post-card__title a {
  color: var(--text);
}

.post-card__title a:hover {
  color: var(--accent-dark);
}

.post-card__excerpt {
  color: var(--muted);
  font-size: 0.98rem;
}

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

.post-card__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.2rem;
}

.post-card__link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--accent-dark);
  color: #fff;
  font-weight: 700;
}

.post-card__link:hover {
  background: var(--accent-strong);
  color: #fff;
}

.post-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.article__header {
  margin-bottom: 2rem;
  padding-top: 0.25rem;
}

.article__title {
  margin: 0 0 3.8rem;
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 800;
  text-wrap: balance;
}

.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  color: var(--soft);
  font-size: 0.92rem;
  font-weight: 600;
}

.article__meta-sep {
  opacity: 0.6;
}

.article__content {
  min-width: 0;
}

.prose {
  color: var(--text);
  font-size: 1.05rem;
}

.prose > * {
  max-width: 100%;
}

.prose p,
.prose ul,
.prose ol,
.prose blockquote,
.prose figure,
.prose table,
.prose pre {
  margin: 1.15rem 0;
}

.prose h2 {
  margin: 2.5rem 0 0.85rem;
  font-size: 1.65rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.prose h3 {
  margin: 2rem 0 0.75rem;
  font-size: 1.25rem;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.prose h4 {
  margin: 1.6rem 0 0.55rem;
  font-size: 1.05rem;
}

.prose p {
  color: #2b2724;
}

.prose a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-decoration-color: rgba(243, 169, 119, 0.6);
  text-underline-offset: 0.16em;
}

.prose a:hover {
  color: var(--accent-strong);
}

.prose strong {
  color: var(--text);
}

.prose blockquote {
  padding: 1rem 1.1rem 1rem 1.2rem;
  border-left: 4px solid var(--accent);
  background: rgba(243, 169, 119, 0.08);
  border-radius: 0 14px 14px 0;
  color: var(--muted);
}

.prose ul,
.prose ol {
  padding-left: 1.3rem;
}

.prose li + li {
  margin-top: 0.35rem;
}

.prose hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

.prose img,
.prose figure img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.prose figure {
  text-align: center;
}

.prose figcaption {
  margin-top: 0.75rem;
  color: var(--soft);
  font-size: 0.9rem;
}

.prose code {
  padding: 0.18rem 0.42rem;
  border-radius: 8px;
  background: rgba(77, 62, 62, 0.07);
  font-size: 0.92em;
}

.prose pre {
  padding: 1rem 1.1rem;
  overflow-x: auto;
  border-radius: 16px;
  background: #1f1b18;
  color: #f6efe7;
}

.prose pre code {
  padding: 0;
  background: transparent;
  color: inherit;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(77, 62, 62, 0.06);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.archive__list {
  display: grid;
  gap: 0.85rem;
}

.archive__item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(77, 62, 62, 0.08);
}

.archive__date {
  color: var(--soft);
  font-size: 0.88rem;
  font-weight: 600;
}

.archive__title {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.35;
}

.archive__title a {
  color: var(--text);
}

.archive__title a:hover {
  color: var(--accent-dark);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 2.5px 0;
  background: var(--text);
  border-radius: 999px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 0.5rem;
}

.pagination__link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.78);
  color: var(--text);
  font-weight: 700;
}

.pagination__link:hover {
  border-color: rgba(243, 169, 119, 0.55);
  background: rgba(243, 169, 119, 0.14);
}

.pagination__info {
  color: var(--muted);
  font-size: 0.95rem;
}

body.modal-open {
  overflow: hidden;
}

.subscribe-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.subscribe-modal.is-open {
  display: block;
}

.subscribe-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 28, 25, 0.48);
  backdrop-filter: blur(4px);
}

.subscribe-modal__dialog {
  position: relative;
  width: min(92vw, 560px);
  margin: 8vh auto 0;
  background: rgba(255, 253, 249, 0.98);
  border: 1px solid rgba(77, 62, 62, 0.1);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(34, 24, 16, 0.2);
  overflow: hidden;
}

.subscribe-modal__content {
  padding: 2rem 1.5rem 1.6rem;
}

.subscribe-modal__eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.subscribe-modal__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
}

.subscribe-modal__text {
  margin: 0 0 1.2rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.subscribe-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  cursor: pointer;
  padding: 0;
}

.subscribe-modal__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

.subscribe-modal__close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.subscribe-modal__close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.subscribe-form__label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--soft);
}

.subscribe-form__input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  padding: 0 1rem;
  font: inherit;
  outline: none;
}

.subscribe-form__input:focus {
  border-color: rgba(243, 169, 119, 0.7);
  box-shadow: 0 0 0 4px rgba(243, 169, 119, 0.12);
}

.subscribe-form__input[aria-invalid="true"] {
  border-color: #c65b4b;
  box-shadow: 0 0 0 4px rgba(198, 91, 75, 0.12);
}

.subscribe-form__error {
  margin: 0;
  font-size: 0.9rem;
  color: #b5483f;
}

.subscribe-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.4rem;
}

.subscribe-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.8rem 1.1rem;
  border: 0;
  border-radius: 999px;
  background: var(--accent-dark);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.subscribe-form__submit:hover {
  background: var(--accent-strong);
}

.subscribe-form__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.8rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.75);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.subscribe-form__secondary:hover {
  background: rgba(243,169,119,0.12);
  border-color: rgba(243,169,119,0.45);
}

.archive-tools {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.archive-tools__search,
.archive-tools__filter-button {
  width: 100%;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 253, 249, 0.55);
  color: var(--text);
  padding: 0 0.95rem;
  font: inherit;
  outline: none;
}

.archive-tools__search:focus,
.archive-tools__filter-button:focus {
  border-color: rgba(243, 169, 119, 0.65);
  box-shadow: 0 0 0 4px rgba(243, 169, 119, 0.12);
}

.archive-tools__filter-button {
  width: auto;
  min-width: 170px;
  font-weight: 700;
  cursor: pointer;
}

.tag-filter-panel {
  margin-bottom: 1.25rem;
  padding: 1rem;
  border: 1px solid rgba(77, 62, 62, 0.06);
  border-radius: 16px;
  background: transparent;
  box-shadow: none;
}

.tag-filter-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.tag-filter-panel__title {
  margin: 0;
  font-size: 1rem;
  color: var(--text);
}

.tag-filter-panel__close {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.82);
  color: var(--text);
  font: inherit;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.tag-filter-panel__controls {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.tag-filter-panel__toggle {
  min-height: 46px;
  padding: 0 0.95rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 253, 249, 0.55);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.tag-filter-panel__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  max-height: 320px;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 38px;
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.tag-chip:hover {
  background: rgba(243, 169, 119, 0.14);
  border-color: rgba(243, 169, 119, 0.45);
}

.tag-chip.is-active {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
}

.tag-chip__name {
  font-weight: 600;
}

.tag-chip__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: rgba(77, 62, 62, 0.08);
  color: inherit;
  font-size: 0.82rem;
  font-weight: 700;
}

.tag-chip.is-active .tag-chip__count {
  background: rgba(255,255,255,0.18);
}

.archive-active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.archive-active-filters__label {
  color: var(--muted);
  font-size: 0.92rem;
}

.archive-active-filters__tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(243, 169, 119, 0.16);
  color: var(--accent-dark);
  font-size: 0.9rem;
  font-weight: 700;
}

.archive-active-filters__clear {
  border: 0;
  background: transparent;
  color: var(--accent-dark);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.archive__empty {
  margin: 1rem 0 0;
  color: var(--muted);
}

@media (max-width: 1100px) {
  :root {
    --sidebar-width: 280px;
  }

  .home {
    padding: 0 1em 0 1em;
  }  
  .archive {
    padding: 0 1em 0 1em;
  }
  .article {
    padding: 0 1em 0 1em;
  }

  .content {
    padding: 36px 28px 60px 20px;
  }

  .brand__logo {
    max-width: 180px;
    max-height: 120px;
  }
}

@media (max-width: 900px) {
  .site {
    grid-template-columns: 1fr;
  }

  .sidebar {
    padding: 16px 16px 0;
    border-right: 0;
  }

  .sidebar__inner {
    position: static;
    height: auto;
    border-radius: 20px;
  }

  .sidebar__mobilebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
  }

  .brand--mobile {
    margin: 0;
  }

  .brand--mobile .brand__logo {
    max-width: 120px;
    max-height: 48px;
  }

  .brand--mobile .brand__title {
    font-size: 1.05rem;
  }

  .sidebar__mobile-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }

  .sidebar__socials--mobile {
    display: flex;
    margin: 0;
  }

  .sidebar__socials--mobile a {
    width: 36px;
    height: 36px;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .sidebar__content {
    display: none;
    height: auto;
    padding: 0 16px 18px;
    grid-template-rows: auto auto;
    gap: 1rem;
  }

  body.menu-open .sidebar__content {
    display: grid;
  }

    .sidebar__center {
    display: none;
  }

  .sidebar__bottom {
    width: 100%;
  }

  .sidebar__nav--bottom {
    justify-content: stretch;
    flex-direction: column;
    width: 100%;
  }

  .sidebar__nav--bottom a {
    width: 100%;
  }

  .content {
    padding: 20px 16px 48px;
  }

  .home__title {
    max-width: none;
  }

  .article__title {
    text-wrap: pretty;
  }

  .sidebar__top {
    width: 100%;
    padding-top: 0.5rem;
  }

  .sidebar__top .brand {
    display: none;
  }

  .sidebar-search,
  .sidebar__description,
  .sidebar__socials:not(.sidebar__socials--mobile) {
    display: none;
  }



  .sidebar__center .brand {
    display: none;
  }

  .sidebar__nav {
    max-width: none;
    width: 100%;
  }


  .sidebar__bio {
    display: none;
  }

  .sidebar__bottom .sidebar__socials {
    display: none;
  }

  .sidebar__meta {
    text-align: left;
    width: 100%;
  }

}

@media (max-width: 640px) {
  .archive-tools {
    grid-template-columns: 1fr;
  }

  .sidebar__mobilebar {
    padding: 12px 14px;
  }

  .sidebar__socials--mobile a {
    width: 34px;
    height: 34px;
    font-size: 0.72rem;
  }

  .home__title {
    font-size: 2rem;
  }

  .post-card {
    padding: 1.2rem;
    border-radius: 18px;
  }

  .post-card__title {
    font-size: 1.28rem;
  }

  .article__title {
    font-size: 2rem;
  }

  .prose {
    font-size: 1rem;
  }

  .prose h2 {
    font-size: 1.4rem;
  }

  .archive__item {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .pagination {
    flex-direction: column;
    align-items: stretch;
  }

  .pagination__info {
    text-align: center;
  }

    .subscribe-modal__dialog {
    width: min(94vw, 560px);
    margin-top: 6vh;
    border-radius: 20px;
  }

  .subscribe-modal__content {
    padding: 1.5rem 1rem 1.2rem;
  }

  .subscribe-form__actions {
    flex-direction: column;
  }

  .subscribe-form__submit,
  .subscribe-form__secondary {
    width: 100%;
  }

  .archive-tools,
  .tag-filter-panel__controls {
    grid-template-columns: 1fr;
  }

  .archive-tools__filter-button,
  .tag-filter-panel__toggle {
    width: 100%;
  }

  .tag-chip {
    width: 100%;
    justify-content: space-between;
  }

}
@media (max-width: 430px) {
  .sidebar__socials--mobile {
    display: none;
  }

  .sidebar__mobile-actions {
    gap: 0.4rem;
  }
}