.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;
}

body.aves-blog {
  background: var(--aves-cream);
}

.aves-blog-hero {
  padding-bottom: 2.25rem;
}

.aves-blog-hero h1,
.aves-article__hero h1,
.aves-error h1,
.aves-related h2,
.aves-blog-empty h2 {
  font-family: var(--aves-font-display);
  font-weight: 800;
  color: var(--aves-deep);
  letter-spacing: -.02em;
  line-height: 1.2;
}

.aves-blog-hero h1,
.aves-article__hero h1,
.aves-error h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: .35rem 0 .75rem;
}

.aves-blog-search {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.5rem;
  max-width: 36rem;
}
.aves-blog-search input[type="search"] {
  flex: 1 1 12rem;
  min-height: 44px;
  border: 1px solid rgba(5, 150, 133, .35);
  border-radius: 999px;
  padding: .65rem 1.1rem;
  font: inherit;
  color: var(--aves-ink);
  background: #fff;
}
.aves-blog-search input[type="search"]:focus {
  outline: 2px solid var(--aves-primary);
  outline-offset: 2px;
}

.aves-blog-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.35rem;
}
.aves-blog-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: .35rem .9rem;
  border-radius: 999px;
  border: 1px solid rgba(5, 150, 133, .28);
  background: #fff;
  color: var(--aves-deep);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 700;
}
.aves-blog-chip:hover {
  border-color: var(--aves-primary);
  color: var(--aves-primary);
}
.aves-blog-chip.is-active {
  background: var(--aves-primary);
  border-color: var(--aves-primary);
  color: #fff;
}

.aves-blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  align-items: stretch;
}
.aves-blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: var(--aves-radius);
  border: 1px solid rgba(11, 61, 56, .1);
  box-shadow: var(--aves-shadow);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.aves-blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(6, 48, 40, .16);
}
.aves-blog-card__media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  background: linear-gradient(160deg, #d9efe8, #c5e6de);
  overflow: hidden;
}
.aves-blog-card__media img,
.aves-blog-card__img,
.aves-blog-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: saturate(.92) brightness(1.02) contrast(1.04);
}
.aves-blog-card__placeholder {
  background:
    radial-gradient(circle at 30% 30%, rgba(125, 246, 223, .45), transparent 50%),
    linear-gradient(160deg, #d9efe8, #c5e6de);
}
.aves-blog-card__badge {
  position: absolute;
  left: .85rem;
  bottom: .85rem;
  z-index: 1;
  display: inline-flex;
  max-width: calc(100% - 1.7rem);
  padding: .28rem .7rem;
  border-radius: 999px;
  background: rgba(6, 48, 40, .78);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.3;
}
.aves-blog-card__body { padding: 1.35rem 1.4rem 1.45rem; }
.aves-blog-card__rubric {
  margin: 0 0 .35rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.aves-blog-card__rubric a {
  color: var(--aves-primary);
  text-decoration: none;
}
.aves-blog-card__title {
  font-family: var(--aves-font-display);
  font-weight: 800;
  font-size: 1.22rem;
  line-height: 1.3;
  margin: .15rem 0 .55rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}
.aves-blog-card__title a {
  color: var(--aves-deep);
  text-decoration: none;
}
.aves-blog-card__title a:hover { color: var(--aves-primary); }
.aves-blog-card__excerpt {
  margin: 0 0 .85rem;
  color: #334155;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}
.aves-blog-card__meta {
  margin: auto 0 0;
  color: #64748b;
  font-size: .9rem;
}

.aves-blog-empty {
  max-width: 36rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 1rem;
  text-align: center;
}
.aves-blog-empty__art {
  width: 88px;
  height: 88px;
  margin: 0 auto 1.25rem;
  border-radius: 28px;
  background:
    radial-gradient(circle at 30% 28%, #7df6df, transparent 46%),
    linear-gradient(160deg, #059685, #063028);
  box-shadow: var(--aves-shadow);
}
.aves-blog-empty h2 { margin: 0 0 .65rem; font-size: 1.6rem; }
.aves-blog-empty p { margin: 0 0 1.25rem; color: #334155; }
.aves-blog-empty .aves-hero__actions { justify-content: center; }

.aves-blog-pager { margin-top: 2rem; }
.aves-blog-pager .page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.aves-blog-pager .page-numbers li { margin: 0; }
.aves-blog-pager a,
.aves-blog-pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: .4rem .85rem;
  border-radius: 999px;
  border: 1px solid rgba(5, 150, 133, .35);
  color: var(--aves-deep);
  text-decoration: none;
  font-weight: 600;
  background: #fff;
}
.aves-blog-pager .current,
.aves-blog-pager a:hover {
  background: var(--aves-primary);
  color: #fff;
  border-color: var(--aves-primary);
}

.aves-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem .45rem;
  font-size: .9rem;
  color: #64748b;
  margin: 0 0 1rem;
}
.aves-crumbs a { color: var(--aves-primary); text-decoration: none; }
.aves-crumbs a:hover { color: var(--aves-deep); }
.aves-crumbs__sep { color: #94a3b8; }
.aves-crumbs__current { color: #475569; }

.aves-article__header { max-width: 48rem; }
.aves-article__hero .aves-eyebrow a {
  color: inherit;
  text-decoration: none;
}
.aves-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .55rem;
  color: #64748b;
  font-size: .95rem;
  margin: 1rem 0 0;
}
.aves-article__rubric {
  color: var(--aves-primary);
  font-weight: 800;
  text-decoration: none;
}
.aves-article__cover {
  margin: -1rem auto 0;
}
.aves-article__cover img,
.aves-article__cover-img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--aves-radius);
  box-shadow: var(--aves-shadow);
  filter: saturate(.9) brightness(1.02) contrast(1.04);
  background: linear-gradient(160deg, #d9efe8, #c5e6de);
  aspect-ratio: 3 / 2;
}
.aves-article__layout {
  display: grid;
  grid-template-columns: minmax(0, 16rem) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}
.aves-article__layout:not(:has(.aves-toc)) {
  grid-template-columns: minmax(0, 1fr);
}
.aves-article__layout:has(.aves-toc) .aves-article__content,
.aves-article__content {
  max-width: 72ch;
}
.aves-toc {
  position: sticky;
  top: calc(var(--aves-header-h) + 1rem);
  padding: 1.1rem 1.2rem;
  background: #fff;
  border-radius: var(--aves-radius);
  border: 1px solid rgba(11, 61, 56, .1);
  box-shadow: 0 8px 24px rgba(6, 48, 40, .06);
}
.aves-toc__title {
  margin: 0 0 .65rem;
  font-weight: 800;
  color: var(--aves-deep);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
}
.aves-toc ol {
  margin: 0;
  padding: 0 0 0 1.1rem;
}
.aves-toc li { margin: .4rem 0; }
.aves-toc a {
  color: #334155;
  text-decoration: none;
  font-size: .92rem;
}
.aves-toc a:hover { color: var(--aves-primary); }

.aves-article__content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--aves-ink);
}
.aves-article__content > *:first-child { margin-top: 0; }
.aves-article__content h2,
.aves-article__content h3 {
  font-family: var(--aves-font-display);
  font-weight: 800;
  color: var(--aves-deep);
  line-height: 1.25;
  letter-spacing: -.015em;
}
.aves-article__content h2 {
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  margin: 2.4rem 0 .85rem;
}
.aves-article__content h3 {
  font-size: 1.2rem;
  margin: 1.75rem 0 .6rem;
}
.aves-article__content p { margin: 0 0 1.05rem; }
.aves-article__content > p:first-of-type,
.aves-article__content p.lead,
.aves-article__content .lead {
  font-size: 1.18rem;
  line-height: 1.7;
  color: #1a2e2a;
  font-weight: 600;
}
.aves-article__content a {
  color: var(--aves-primary);
  text-underline-offset: 3px;
}
.aves-article__content a:hover { color: var(--aves-deep); }
.aves-article__content ul,
.aves-article__content ol {
  margin: 0 0 1.15rem;
  padding-left: 1.25rem;
}
.aves-article__content li { margin: .35rem 0; }
.aves-article__content blockquote,
.aves-article__content .wp-block-quote,
.aves-article__content .wp-block-pullquote,
.aves-article__content .wp-block-pullquote blockquote {
  margin: 1.6rem 0;
  padding: 1.2rem 1.35rem 1.2rem 1.45rem;
  background: linear-gradient(180deg, #eef8f5, #e4f3ee);
  border-left: 4px solid var(--aves-primary);
  border-radius: 0 16px 16px 0;
  color: #1a2e2a;
  font-size: 1.12rem;
  font-weight: 650;
  line-height: 1.65;
  box-shadow: 0 10px 28px rgba(6, 48, 40, .06);
}
.aves-article__content .wp-block-pullquote {
  border: 0;
  border-left: 4px solid var(--aves-primary);
  text-align: left;
}
.aves-article__content blockquote p:last-child,
.aves-article__content .wp-block-quote p:last-child { margin-bottom: 0; }
.aves-article__content cite {
  display: block;
  margin-top: .65rem;
  font-size: .9rem;
  font-style: normal;
  font-weight: 600;
  color: #64748b;
}
.aves-article__content table,
.aves-article__content .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0 1.5rem;
  font-size: .95rem;
  background: #fff;
}
.aves-article__content th,
.aves-article__content td {
  border: 1px solid rgba(11, 61, 56, .14);
  padding: .65rem .75rem;
  text-align: left;
  vertical-align: top;
}
.aves-article__content th {
  background: var(--aves-canvas);
  color: var(--aves-deep);
  font-weight: 800;
}
.aves-article__content .wp-block-table,
.aves-article__content table {
  display: block;
  overflow-x: auto;
  max-width: 100%;
}
.aves-article__content figure,
.aves-article__content .wp-block-image,
.aves-article__content p:has(> img) {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 1.5rem 0;
}
.aves-article__content img,
.aves-article__content figure img,
.aves-article__content .wp-block-image img,
.aves-article__content p > img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--aves-radius);
  box-shadow: 0 12px 32px rgba(6, 48, 40, .1);
  background: linear-gradient(160deg, #d9efe8, #c5e6de);
}
.aves-article__content figcaption {
  color: #64748b;
  font-size: .9rem;
  margin-top: .6rem;
  line-height: 1.5;
}
.aves-article__content pre,
.aves-article__content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .9em;
}
.aves-article__content pre {
  overflow: auto;
  padding: 1rem;
  background: #063028;
  color: #dceee9;
  border-radius: 12px;
}

.aves-faq {
  margin: 2.4rem 0 1.2rem;
  padding: 1.35rem 1.25rem 1.15rem;
  background: #fff;
  border: 1px solid rgba(11, 61, 56, .1);
  border-radius: var(--aves-radius);
  box-shadow: 0 8px 24px rgba(6, 48, 40, .06);
}
.aves-faq > h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}
.aves-faq__item {
  border: 1px solid rgba(11, 61, 56, .1);
  border-radius: 14px;
  background: var(--aves-cream);
  margin: 0 0 .65rem;
  overflow: hidden;
}
.aves-faq__item:last-child { margin-bottom: 0; }
.aves-faq__q {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .9rem 1rem;
  font-family: var(--aves-font-display);
  font-weight: 800;
  color: var(--aves-deep);
  font-size: 1.02rem;
  line-height: 1.35;
}
.aves-faq__q::-webkit-details-marker { display: none; }
.aves-faq__q::after {
  content: "";
  flex: 0 0 auto;
  width: .55rem;
  height: .55rem;
  border-right: 2px solid var(--aves-primary);
  border-bottom: 2px solid var(--aves-primary);
  transform: rotate(45deg);
  margin-top: -.25rem;
}
.aves-faq__item[open] .aves-faq__q::after {
  transform: rotate(-135deg);
  margin-top: .2rem;
}
.aves-faq__a {
  padding: 0 1rem 1rem;
  color: #334155;
}
.aves-faq__a > *:last-child { margin-bottom: 0; }
.aves-faq h3 {
  background: var(--aves-cream);
  border-radius: 12px;
  padding: .75rem 1rem;
  margin-bottom: .35rem;
}

.aves-author {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
  background: #fff;
  border-radius: calc(var(--aves-radius) + 4px);
  border: 1px solid rgba(11, 61, 56, .1);
  box-shadow: var(--aves-shadow);
}
.aves-author h2 a {
  color: inherit;
  text-decoration: none;
}
.aves-author h2 a:hover { color: var(--aves-primary); }
.aves-article__author-link {
  color: var(--aves-deep);
  font-weight: 700;
  text-decoration: none;
}
.aves-article__author-link:hover { color: var(--aves-primary); }
.aves-author-page h1 {
  font-family: var(--aves-font-display);
  font-weight: 800;
  color: var(--aves-deep);
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin: .25rem 0 .5rem;
}
.aves-author--page { margin-bottom: 0; }
.aves-author-page__more { margin-top: 1.5rem; }
.aves-author p { margin: 0 0 1rem; color: #334155; }
.aves-author__role {
  margin: 0 0 .65rem !important;
  color: var(--aves-primary) !important;
  font-weight: 800;
}
.aves-author__photo {
  width: 160px;
  height: 200px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: var(--aves-radius);
  filter: saturate(.9) brightness(1.02) contrast(1.04);
  background: linear-gradient(160deg, #d9efe8, #c5e6de);
}
.aves-author__photo--initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #059685, #063028);
  color: #fff;
  font-weight: 800;
  font-size: 2.4rem;
  letter-spacing: .04em;
}

.aves-related h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin: .25rem 0 1.25rem;
}
.aves-related__grid {
  margin-top: .25rem;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.aves-related .aves-blog-card__media {
  aspect-ratio: 16 / 9;
}
.aves-related .aves-blog-card__body {
  padding: 1rem 1.05rem 1.1rem;
}
.aves-related .aves-blog-card__title {
  font-size: 1.02rem;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  margin-bottom: .4rem;
}
.aves-related .aves-blog-card__excerpt {
  -webkit-line-clamp: 2;
  line-clamp: 2;
  font-size: .92rem;
  margin-bottom: .65rem;
}
.aves-related .aves-blog-card__badge {
  left: .65rem;
  bottom: .65rem;
  font-size: .7rem;
}

.aves-article__cta .aves-lead { color: #e8f6f2; max-width: 40rem; margin-inline: auto; }
.aves-article__cta h2 { color: #fff; }
.aves-article__cta .aves-eyebrow { color: #7DF6DF; }
.aves-article__cta .aves-btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .45);
}
.aves-article__cta .aves-btn--ghost:hover {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.aves-error { max-width: 40rem; padding-bottom: 2rem; }

@media (min-width: 720px) {
  .aves-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
  .aves-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .aves-blog-grid.aves-related__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
  .aves-blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .aves-article__layout { grid-template-columns: 1fr; }
  .aves-toc { position: static; }
}
@media (max-width: 820px) {
  .aves-author { grid-template-columns: 1fr; }
  .aves-author__photo { width: 120px; height: 150px; }
}
@media (max-width: 560px) {
  .aves-article__cover img,
  .aves-article__cover-img { max-height: 240px; }
  .aves-article__cta .aves-hero__actions { flex-direction: column; align-items: stretch; }
  .aves-article__cta .aves-btn { text-align: center; }
  .aves-blog-hero h1,
  .aves-article__hero h1 { font-size: 1.85rem; }
  .aves-container { width: min(1120px, calc(100% - 1.5rem)); }
}
