.lfc-cat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.lfc-cat-nav a {
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: #111;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.lfc-cat-nav a:hover {
  border-color: rgba(255, 214, 1, 0.6);
  background: rgba(255, 214, 1, 0.08);
}

.lfc-cat-nav a[aria-current="page"] {
  background: var(--c-accent);
  border-color: var(--c-accent-dark);
}

.lfc-post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.lfc-post-card {
  background: var(--c-white);
  border: 1px solid #EAEAEA;
  border-radius: 18px;
  overflow: visible;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
  display: flex;
  flex-direction: column;
}

.lfc-post-card:hover {
  border-color: rgba(255, 214, 1, 0.85);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}

.lfc-post-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.lfc-post-thumb {
  aspect-ratio: 12 / 7;
  overflow: hidden;
  background: #FBFAF5;
}

.lfc-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lfc-post-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
  padding-top: 22px;
}

.lfc-post-cat {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--c-accent-dark);
  margin-bottom: 12px;
  text-decoration: none;
  background: #FBF6DC;
  padding: 5px 10px;
  border-radius: 99px;
}

.lfc-post-cat-link {
  background: rgba(255, 214, 1, 0.14);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

.lfc-post-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.3px;
  color: #111;
  margin-bottom: 10px;
  margin: 0;
}

.lfc-post-excerpt {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--c-mid);
  margin: 0;
  max-width: 100%;
}

.lfc-post-meta {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  gap: 8px;
  font-size: 12.5px;
  color: var(--c-mid);
  flex-wrap: wrap;
  align-items: center;
  font-weight: 300;
}

.lfc-pagination {
  margin-top: 34px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.lfc-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: #111;
}

.lfc-pagination .page-numbers::after {
  display: none;
}

.lfc-pagination .page-numbers:hover {
  border-color: rgba(255, 214, 1, 0.6);
}

.lfc-pagination .page-numbers.current {
  background: var(--c-accent);
  border-color: var(--c-accent-dark);
}

.lfc-skills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
}

.lfc-skills li {
  font-size: 12.5px;
  font-weight: 500;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 99px;
  color: var(--c-accent-dark);
  background: #FBF6DC;
}

.lfc-post-cover {
  display: block;
  overflow: hidden;
  background: #FBFAF5;
}

.lfc-post-cover img {
  display: block;
  width: 100%;
  height: auto;
}

.lfc-post-title a {
  color: var(--c-black);
  text-decoration: none;
}

.lfc-post-title a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lfc-post-more {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--c-black);
  text-decoration: none;
  margin-top: 4px;
}

.lfc-post-more:hover {
  color: var(--c-accent-dark);
}

.lfc-cat-nav a.is-active {
  background: var(--c-accent);
  border-color: var(--c-accent);
}

.lfc-blog-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  background: #FBFAF5;
  border: 1px solid #EFEADA;
  border-radius: 20px;
  padding: 30px 34px;
}

.lfc-blog-cta-inner p {
  margin: 10px 0 0;
  max-width: none;
  font-weight: 300;
  line-height: 1.7;
  color: var(--c-mid);
}

.lfc-blog-cta-inner h2 {
  margin: 0;
}

.lfc-author-card {
  display: flex;
  gap: 26px;
  align-items: flex-start;
  flex-wrap: wrap;
  background: var(--c-white);
  border: 1px solid #EAEAEA;
  border-radius: 20px;
  padding: 28px;
}

.lfc-author-card img {
  width: 148px;
  height: 148px;
  border-radius: 16px;
  object-fit: cover;
}

.lfc-author-card .lfc-author-info {
  flex: 1;
  min-width: 260px;
}

.lfc-blog-cta-inner > div {
  flex: 1 1 520px;
}

.lfc-grid-sm {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  width: 100%;
}

.lfc-grid-sm > .lfc-card-sm {
  flex: 1 1 100%;
  min-width: 0;
}

.lfc-card-sm {
  display: flex;
  flex-direction: column;
  overflow: visible;
  background: var(--c-white);
  border: 1px solid #EAEAEA;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}

.lfc-card-sm:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 214, 1, .85);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .07);
}

.lfc-card-sm-cover {
  display: block;
  height: 96px;
  overflow: hidden;
  background: #FBFAF5;
}

.lfc-card-sm-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 22% 50%;
  display: block;
}

.lfc-card-sm-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.lfc-card-sm h4 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.2px;
  margin: 0;
}

.lfc-card-sm h4 a {
  color: var(--c-black);
  text-decoration: none;
}

.lfc-card-sm h4 a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lfc-card-sm-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin-top: auto;
  font-size: 11.5px;
  font-weight: 300;
  color: var(--c-mid);
}

.lfc-card-sm-more {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--c-black);
  text-decoration: none;
}

.lfc-card-sm-more:hover {
  color: var(--c-accent-dark);
}

.lfc-post-row > .lfc-post-card {
  display: flex;
  flex: 0 1 100%;
  min-width: 0;
  flex-direction: column;
}

.lfc-post-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: flex-start;
  align-items: stretch;
}

.lfc-post-row .lfc-post-cover {
  height: 168px;
}

.lfc-post-row .lfc-post-cover img {
  height: 100%;
  object-fit: cover;
  object-position: 22% 50%;
}

.lfc-filter {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #E4E4E4;
  border-radius: 99px;
  background: var(--c-white);
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--c-black);
  cursor: pointer;
}

.lfc-filter:hover {
  border-color: var(--c-accent);
}

.lfc-filter.is-active {
  background: var(--c-accent);
  border-color: var(--c-accent);
}

.lfc-empty-filter {
  margin-top: 20px;
  font-size: 15px;
  font-weight: 300;
  color: var(--c-mid);
}

.lfc-post-card[hidden] {
  display: none !important;
}

.lfc-card-sm[hidden] {
  display: none !important;
}

.lfc-post-card .lfc-post-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.lfc-post-card .lfc-post-meta {
  margin-top: auto;
}

.lfc-filters {
  margin-top: 78px;
  margin-bottom: 40px;
}

.lfc-filter:focus-visible {
  outline: 2px solid var(--c-black);
  outline-offset: 2px;
}
