.blog-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  border-bottom: 0;
  background:
    radial-gradient(ellipse at 86% 20%, rgba(255, 215, 83, 0.3), transparent 25%),
    linear-gradient(115deg, #fff 0%, #fffdf5 58%, #f6f7fa 100%);
}

.blog-hero::after {
  position: absolute;
  right: max(5%, calc((100vw - 1120px) / 2));
  bottom: -5.5rem;
  width: 14rem;
  height: 14rem;
  border: 1px solid rgba(0, 10, 52, 0.08);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.blog-hero .content-shell {
  position: relative;
  z-index: 1;
}

.blog-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(0, 10, 52, 0.1);
  border-radius: 999px;
  background: #fff;
  color: #000a34;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-hero h1 {
  max-width: 760px;
  margin-top: 0;
  color: #000a34;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  letter-spacing: -0.055em;
}

.blog-hero .editorial-lead {
  max-width: 620px;
  margin-bottom: 0;
  color: #5d6270;
}

.blog-list {
  padding-top: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: 5rem;
}

.blog-category-list,
.blog-admin-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
}

.blog-category-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid #000a34;
  border-radius: 999px;
  background: #000a34;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.blog-category-chip:hover,
.blog-category-chip.active {
  border-color: #000a34;
  background: #fff;
  color: #000a34;
  transform: translateY(-1px);
}

.blog-category-chip:focus-visible,
.blog-card a:focus-visible,
.blog-pagination a:focus-visible {
  outline: 3px solid #f4c542;
  outline-offset: 3px;
}

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

.blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 290px;
  padding: 1.6rem;
  border: 1px solid #e8eaf0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(0, 10, 52, 0.045);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: #d7dbe5;
  box-shadow: 0 18px 38px rgba(0, 10, 52, 0.09);
}

.blog-card .guide-category {
  align-self: flex-start;
  margin: 0 0 1rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #fff7d9;
  color: #5d4800;
  font-size: 0.7rem;
  letter-spacing: 0.07em;
}

.blog-card h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.25rem, 1.7vw, 1.5rem);
  line-height: 1.3;
}

.blog-card h2 a {
  color: #000a34;
  text-decoration: none;
}

.blog-card h2 a:hover {
  color: #263d85;
}

.blog-card > p:not(.guide-category) {
  margin-bottom: 1.25rem;
  color: #666b78;
  line-height: 1.65;
}

.blog-card .guide-meta {
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid #eef0f4;
  font-size: 0.8rem;
}

.blog-card .guide-read-link {
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  color: #000a34;
}

.blog-card .guide-read-link span {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  background: #fff4c2;
  font-size: 1.1rem;
  transition: transform 160ms ease;
}

.blog-card:hover .guide-read-link span {
  transform: translateX(3px);
}

.blog-pagination {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 2rem;
}

.blog-pagination .btn {
  border-color: #000a34;
  border-radius: 999px;
  color: #000a34;
  font-weight: 700;
}

.blog-pagination .btn:hover {
  background: #000a34;
  color: #fff;
}

.blog-empty {
  padding: 2rem;
  border: 1px solid #e8eaf0;
  border-radius: 18px;
  background: #fff;
  color: #666b78;
  text-align: center;
}

.blog-article {
  padding: 1rem 0 2.5rem;
}

.blog-article .article-header {
  max-width: 860px;
  margin-inline: auto;
}

.blog-article-body {
  max-width: 860px;
  margin: 2.5rem auto;
  font-size: 1.08rem;
  line-height: 1.8;
}

.blog-article-body iframe {
  display: block;
  width: 100%;
  min-height: 240px;
  margin: 1.5rem 0;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 14px;
}

.blog-article-body iframe[src*="stay22.com"] {
  min-height: 428px;
  aspect-ratio: auto;
}

.blog-article-body iframe[src*="instagram.com"] {
  width: min(100%, 540px);
  height: clamp(480px, 135vw, 680px);
  min-height: 0;
  margin-inline: auto;
  aspect-ratio: auto;
}

.blog-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  max-width: 860px;
  margin: 0 auto;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}

.blog-actions form {
  margin: 0;
}

.blog-comment-count {
  margin-left: auto;
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}

.blog-comments {
  max-width: 900px;
  padding-top: 2rem;
  padding-bottom: 4rem;
  border-top: 1px solid var(--border);
}

.blog-comments > h2 {
  margin-bottom: 1.2rem;
}

.blog-comment-form {
  display: grid;
  gap: 0.7rem;
  max-width: 700px;
  margin-bottom: 2rem;
}

.blog-comment-form label {
  font-weight: 700;
}

.blog-comment-form .btn {
  justify-self: start;
}

.blog-comment {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
}

.blog-comment > header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.7rem;
}

.blog-comment time {
  color: var(--muted);
  font-size: 0.82rem;
}

.blog-comment > p {
  margin: 0.75rem 0;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.blog-comment-replies {
  margin: 0.9rem 0 0 1.1rem;
  padding-left: 1rem;
  border-left: 2px solid var(--green-soft);
}

.blog-reply summary {
  color: var(--green);
  cursor: pointer;
  font-weight: 700;
}

.blog-reply form {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.65rem;
}

.blog-reply form button {
  justify-self: start;
}

.blog-admin-categories {
  margin-top: 1.5rem;
}

.blog-category-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 0.7rem;
  max-width: 620px;
}

.blog-category-form label {
  grid-column: 1 / -1;
  margin-bottom: -0.5rem;
  font-weight: 700;
}

.blog-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.blog-admin-actions form {
  margin: 0;
}

.blog-post-form .rich-text-editor {
  min-height: 320px;
  padding: 1rem;
}

.blog-post-form .rich-text-editor:empty::before {
  content: "Escreva o artigo, insira imagens ou incorpore um vídeo do YouTube ou Vimeo.";
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .blog-comment-count {
    width: 100%;
    margin-left: 0;
  }

  .blog-comment-replies {
    margin-left: 0.35rem;
    padding-left: 0.65rem;
  }
}

.blog-feed-page {
  min-height: 100vh;
  padding: 1.5rem 1rem 4rem;
  background:
    radial-gradient(ellipse at 50% 0, rgba(247, 156, 73, 0.1), transparent 38rem),
    #f3f5f7;
}

.blog-feed-shell {
  width: min(100%, 1120px);
  margin: 0 auto;
}

.blog-feed-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem 0.2rem;
  color: #89919b;
  font-size: 0.84rem;
}

.blog-feed-breadcrumb a {
  color: #5c6875;
  font-weight: 700;
  text-decoration: none;
}

.blog-feed-breadcrumb a:hover {
  color: var(--green);
}

.blog-feed-layout {
  display: grid;
  grid-template-columns: minmax(0, 740px) minmax(230px, 300px);
  align-items: start;
  justify-content: center;
  gap: 1.25rem;
}

.blog-feed-main {
  min-width: 0;
}

.blog-post-card,
.blog-community-card {
  overflow: hidden;
  border: 1px solid #e8ebee;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 32px rgba(27, 39, 51, 0.06);
}

.blog-post-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  border-bottom: 1px solid #f0f1f3;
}

.blog-post-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.blog-avatar {
  display: inline-grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #e7eaed;
  border-radius: 50%;
  background: #f3f5f7;
}

.blog-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-avatar-author {
  width: 48px;
  height: 48px;
  flex-basis: 48px;
  border: 2px solid #e1f1e7;
  box-shadow: 0 0 0 2px #fff;
}

.blog-post-author-copy {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.blog-post-author-copy strong {
  overflow: hidden;
  color: #252b33;
  font-size: 0.96rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.blog-post-author-copy > span {
  color: #87909a;
  font-size: 0.78rem;
}

.blog-post-category {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex: 0 0 auto;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  background: #f0f7f2;
  color: #39764d;
  font-size: 0.76rem;
  font-weight: 800;
}

.blog-post-heading {
  padding: 1.35rem 1.5rem 0;
}

.blog-post-heading h1 {
  margin: 0;
  color: #202630;
  font-size: clamp(1.7rem, 3.8vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.blog-post-heading > p {
  margin: 0.8rem 0 0;
  color: #66717d;
  font-size: 1.04rem;
  line-height: 1.6;
}

.blog-feed-page .blog-article-body {
  max-width: none;
  margin: 1.2rem 0 0;
  padding: 0 1.5rem 1.35rem;
  color: #343c46;
  font-size: 1.02rem;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.blog-feed-page .blog-article-body > :first-child {
  margin-top: 0;
}

.blog-feed-page .blog-article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.blog-post-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.4rem;
  border-top: 1px solid #f0f1f3;
  color: #77818d;
  font-size: 0.83rem;
}

.blog-post-stats > span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.blog-post-stats > span i {
  color: #e05b68;
}

.blog-post-stats a {
  color: #77818d;
  text-decoration: none;
}

.blog-post-stats a:hover {
  color: var(--green);
  text-decoration: underline;
}

.blog-feed-page .blog-actions {
  max-width: none;
  margin: 0 1.25rem;
  padding: 0.5rem 0;
  border-top: 1px solid #f0f1f3;
  border-bottom: 1px solid #f0f1f3;
}

.blog-feed-page .blog-actions form {
  display: contents;
}

.blog-action-button {
  display: inline-flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.55rem 0.75rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #707b87;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}

.blog-action-button:hover,
.blog-action-button:focus-visible {
  background: #f3f6f4;
  color: var(--green);
}

.blog-action-button.is-liked {
  color: #d84f61;
}

.blog-action-button.is-liked:hover {
  background: #fff1f2;
  color: #c63e50;
}

.blog-feed-page .blog-comments {
  max-width: none;
  padding: 1.25rem 1.5rem 1.5rem;
  border: 0;
}

.blog-comments-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.blog-comments-heading .eyebrow {
  margin-bottom: 0.25rem;
  color: #8a939d;
  font-size: 0.68rem;
}

.blog-comments-heading h2 {
  margin: 0;
  color: #282f38;
  font-size: 1.2rem;
  font-weight: 800;
}

.blog-comments-heading h2 span {
  margin-left: 0.25rem;
  color: #8b949e;
  font-size: 0.9rem;
  font-weight: 700;
}

.blog-comments-heading > i {
  color: #8db99a;
  font-size: 1.35rem;
}

.blog-feed-page .blog-comment-form,
.blog-comment-signin {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  max-width: none;
  margin: 0 0 1.2rem;
}

.blog-comment-compose {
  flex: 1;
  min-width: 0;
}

.blog-comment-compose textarea,
.blog-reply textarea {
  resize: vertical;
  border-color: #e5e9ec;
  border-radius: 12px;
  background: #f8f9fa;
  box-shadow: none;
}

.blog-comment-compose textarea:focus,
.blog-reply textarea:focus {
  border-color: #9ac7a6;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(47, 125, 74, 0.1);
}

.blog-comment-compose-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.65rem;
}

.blog-comment-compose-footer > span {
  color: #929aa3;
  font-size: 0.73rem;
}

.blog-comment-compose-footer .btn {
  min-height: 36px;
  padding: 0.42rem 0.8rem;
  border-radius: 9px;
  font-size: 0.82rem;
  font-weight: 750;
}

.blog-comment-signin {
  align-items: center;
  padding: 0.8rem;
  border: 1px solid #edf0f2;
  border-radius: 12px;
  background: #fafbfc;
}

.blog-comment-signin p {
  margin: 0;
  color: #69747f;
  font-size: 0.88rem;
}

.blog-comment-signin a {
  color: var(--green);
  font-weight: 800;
}

.blog-feed-page .blog-comment-list > .blog-comment:first-child {
  margin-top: 0;
}

.blog-feed-page .blog-comment {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 1rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.blog-comment-content {
  flex: 1;
  min-width: 0;
}

.blog-comment-bubble {
  display: inline-block;
  max-width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid #edf0f2;
  border-radius: 4px 14px 14px 14px;
  background: #f7f8f9;
}

.blog-comment-bubble strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #313943;
  font-size: 0.85rem;
}

.blog-comment-bubble p {
  margin: 0;
  color: #4e5965;
  font-size: 0.9rem;
  line-height: 1.5;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.blog-comment-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin: 0.35rem 0 0 0.2rem;
}

.blog-comment-meta time {
  color: #939ca5;
  font-size: 0.72rem;
}

.blog-feed-page .blog-reply summary {
  color: #687581;
  font-size: 0.75rem;
}

.blog-feed-page .blog-reply form {
  max-width: 520px;
  padding: 0.65rem;
  border: 1px solid #edf0f2;
  border-radius: 12px;
  background: #fafbfc;
}

.blog-feed-page .blog-reply form button {
  justify-self: end;
}

.blog-feed-page .blog-comment-replies {
  margin: 0.85rem 0 0 0.2rem;
  padding-left: 0.8rem;
  border-left: 2px solid #e3eee6;
}

.blog-feed-page .blog-empty {
  margin: 0;
  padding: 0.9rem 1rem;
  border: 1px dashed #dfe5e1;
  background: #fbfcfb;
  text-align: center;
}

.blog-feed-sidebar {
  position: sticky;
  top: 1rem;
  display: grid;
  gap: 0.8rem;
}

.blog-community-card {
  padding: 1.25rem;
}

.blog-community-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 13px;
  background: #eff7f1;
  color: var(--green);
  font-size: 1.2rem;
}

.blog-community-card .eyebrow {
  margin-bottom: 0.45rem;
  color: #829087;
  font-size: 0.68rem;
}

.blog-community-card h2 {
  margin: 0;
  color: #29313a;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.35;
}

.blog-community-card > p:not(.eyebrow) {
  margin: 0.65rem 0 1rem;
  color: #78838e;
  font-size: 0.86rem;
  line-height: 1.55;
}

.blog-community-card > a,
.blog-sidebar-home-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}

.blog-sidebar-home-link {
  justify-content: flex-start;
  padding: 0.9rem 1rem;
  border: 1px solid #e8ebee;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.82);
  color: #56636f;
}

.blog-community-card > a:hover,
.blog-sidebar-home-link:hover {
  color: #235d36;
}

@media (max-width: 850px) {
  .blog-feed-layout {
    grid-template-columns: minmax(0, 740px);
  }

  .blog-feed-sidebar {
    position: static;
    grid-template-columns: 1fr auto;
    align-items: stretch;
  }

  .blog-community-card {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 0.85rem;
    align-content: center;
    padding: 1rem;
  }

  .blog-community-icon {
    grid-row: span 3;
    margin: 0;
  }

  .blog-community-card .eyebrow,
  .blog-community-card h2,
  .blog-community-card > p:not(.eyebrow) {
    grid-column: 2;
  }

  .blog-community-card .eyebrow {
    margin: 0 0 0.25rem;
  }

  .blog-community-card h2 {
    font-size: 0.95rem;
  }

  .blog-community-card > p:not(.eyebrow) {
    margin: 0.25rem 0 0;
    font-size: 0.78rem;
  }

  .blog-community-card > a {
    grid-column: 2;
    margin-top: 0.5rem;
  }

  .blog-sidebar-home-link {
    align-self: center;
    white-space: nowrap;
  }
}

@media (max-width: 600px) {
  .blog-feed-page {
    padding: 0.8rem 0.6rem 2.5rem;
  }

  .blog-feed-breadcrumb {
    margin-bottom: 0.7rem;
    font-size: 0.76rem;
  }

  .blog-post-card {
    border-radius: 14px;
  }

  .blog-post-header {
    align-items: flex-start;
    padding: 0.9rem;
  }

  .blog-post-category {
    max-width: 42%;
    overflow: hidden;
    font-size: 0.68rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .blog-post-author-copy strong {
    max-width: 48vw;
    font-size: 0.88rem;
  }

  .blog-post-author-copy > span {
    font-size: 0.7rem;
  }

  .blog-avatar-author {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .blog-post-heading {
    padding: 1.1rem 1rem 0;
  }

  .blog-post-heading h1 {
    font-size: 1.65rem;
  }

  .blog-post-heading > p {
    font-size: 0.95rem;
  }

  .blog-feed-page .blog-article-body {
    padding: 0 1rem 1rem;
    font-size: 0.96rem;
  }

  .blog-feed-page .blog-article-body iframe[src*="stay22.com"] {
    min-height: 380px;
  }

  .blog-post-stats {
    padding: 0.75rem 1rem;
    font-size: 0.76rem;
  }

  .blog-feed-page .blog-actions {
    gap: 0.1rem;
    margin: 0 0.7rem;
  }

  .blog-action-button {
    gap: 0.3rem;
    padding-inline: 0.25rem;
    font-size: 0.76rem;
  }

  .blog-action-button i {
    font-size: 1rem;
  }

  .blog-feed-page .blog-comments {
    padding: 1rem 0.9rem 1.15rem;
  }

  .blog-comment-compose-footer > span {
    display: none;
  }

  .blog-feed-sidebar {
    grid-template-columns: 1fr;
  }

  .blog-sidebar-home-link {
    justify-content: center;
  }
}
