.k4-archive-page {
  position: relative;
  z-index: 1;
}

.k4-archive-hero {
  padding: 3.5rem 0 2rem;
}

.k4-archive-hero__panel {
  display: grid;
  gap: 1.5rem;
  padding: 1.75rem;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(0, 186, 255, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(10, 16, 24, 0.94), rgba(8, 12, 20, 0.82));
}

.k4-archive-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(184, 226, 255, 0.88);
  background: rgba(0, 186, 255, 0.08);
  border: 1px solid rgba(0, 186, 255, 0.18);
}

.k4-archive-title {
  margin-top: 1rem;
  font-size: clamp(2rem, 4vw, 3.75rem);
  line-height: 0.98;
  font-weight: 700;
  color: rgba(244, 248, 255, 0.98);
  letter-spacing: -0.04em;
}

.k4-archive-desc {
  max-width: 42rem;
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(202, 210, 224, 0.82);
}

.k4-archive-taxonomy {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.k4-archive-hero__meta {
  display: grid;
  gap: 0.9rem;
}

.k4-stat-card {
  padding: 1rem 1.1rem;
  border-radius: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.k4-stat-card__label,
.k4-stat-card__hint {
  display: block;
  color: rgba(179, 187, 203, 0.76);
  font-size: 0.8rem;
}

.k4-stat-card__value {
  display: block;
  margin: 0.4rem 0 0.25rem;
  font-size: 1.2rem;
  line-height: 1.35;
  color: rgba(246, 249, 255, 0.98);
}

.k4-featured-post {
  display: grid;
  align-items: stretch;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
  padding: 1.1rem;
  overflow: hidden;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(10, 16, 24, 0.86);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.18);
}

.k4-featured-post__media {
  display: block;
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.04);
}

.k4-featured-post__image,
.k4-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 0.42s ease;
}

.k4-featured-post:hover .k4-featured-post__image,
.k4-card:hover .k4-card__image {
  transform: scale(1.035);
}

.k4-featured-post__placeholder,
.k4-card__placeholder {
  display: grid;
  place-items: center;
  min-height: inherit;
  height: 100%;
  color: rgba(195, 225, 255, 0.9);
  background:
    radial-gradient(circle at top, rgba(0, 186, 255, 0.2), transparent 38%),
    linear-gradient(180deg, rgba(14, 23, 34, 0.96), rgba(8, 12, 20, 0.96));
}

.k4-featured-post__placeholder span,
.k4-card__placeholder span {
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.k4-featured-post__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: 0.25rem;
}

.k4-featured-post__chips,
.k4-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.k4-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  color: rgba(214, 221, 234, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.k4-chip--accent {
  color: rgba(214, 242, 255, 0.96);
  border-color: rgba(0, 186, 255, 0.28);
  background: rgba(0, 186, 255, 0.12);
}

.k4-featured-post__title,
.k4-card__title {
  color: rgba(246, 249, 255, 0.98);
  font-weight: 650;
  line-height: 1.12;
}

.k4-featured-post__title {
  font-size: clamp(1.7rem, 3vw, 2.8rem);
}

.k4-featured-post__title a,
.k4-card__title a {
  color: inherit;
  text-decoration: none;
}

.k4-featured-post__excerpt,
.k4-card__excerpt {
  color: rgba(195, 203, 217, 0.82);
  line-height: 1.8;
}

.k4-featured-post__excerpt {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.k4-featured-post__footer,
.k4-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: rgba(174, 183, 198, 0.74);
  font-size: 0.86rem;
}

.k4-featured-post__cta {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0 1rem;
  border-radius: 999px;
  text-decoration: none;
  color: rgba(9, 20, 30, 0.95);
  background: linear-gradient(135deg, rgba(214, 242, 255, 0.95), rgba(122, 223, 255, 0.95));
}

.k4-featured-post--utility {
  background:
    radial-gradient(circle at top right, rgba(0, 186, 255, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    rgba(10, 16, 24, 0.9);
}

.k4-featured-post--utility .k4-featured-post__body {
  padding: 1.1rem 1.15rem;
  border-radius: 1.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    rgba(5, 12, 20, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.k4-featured-post--utility .k4-featured-post__excerpt {
  -webkit-line-clamp: 3;
}

.k4-featured-utility {
  display: grid;
  gap: 1rem;
  margin-top: 0.2rem;
  padding: 1.05rem 1.1rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(0, 186, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.018)),
    rgba(5, 12, 20, 0.64);
}

.k4-featured-utility__intro {
  display: grid;
  gap: 0.45rem;
}

.k4-featured-utility__eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 0.34rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: rgba(214, 242, 255, 0.96);
  border: 1px solid rgba(0, 186, 255, 0.22);
  background: rgba(0, 186, 255, 0.12);
}

.k4-featured-utility__desc {
  color: rgba(195, 203, 217, 0.82);
  line-height: 1.75;
}

.k4-featured-utility__status {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 2rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  color: rgba(235, 242, 250, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.k4-featured-utility__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.k4-featured-utility__item {
  display: grid;
  gap: 0.35rem;
  padding: 0.85rem 0.9rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.k4-featured-utility__label {
  font-size: 0.76rem;
  color: rgba(170, 181, 198, 0.78);
}

.k4-featured-utility__value {
  color: rgba(246, 249, 255, 0.98);
  font-size: 0.96rem;
  line-height: 1.35;
}

.k4-featured-utility__actions {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
}

.k4-featured-utility__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  padding: 0 0.95rem;
  border-radius: 999px;
  text-decoration: none;
  color: rgba(229, 236, 248, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.k4-featured-utility__action:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 186, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
}

.k4-featured-utility__action--primary {
  color: rgba(9, 20, 30, 0.95);
  border-color: rgba(122, 223, 255, 0.22);
  background: linear-gradient(135deg, rgba(214, 242, 255, 0.95), rgba(122, 223, 255, 0.95));
}

.k4-archive-more {
  margin-top: 1.35rem;
  padding: 1.35rem;
  border-radius: 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
    rgba(7, 11, 18, 0.92);
}

.k4-404-hero {
  padding-top: 4.2rem;
  padding-bottom: 2.75rem;
}

.k4-404-hero__panel {
  gap: 2rem;
  padding: 2.35rem;
  max-width: 72rem;
  margin: 0 auto;
  border-radius: 2.2rem;
}

.k4-404-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.35rem;
}

.k4-404-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 9.6rem;
  min-height: 2.9rem;
  padding: 0 1.15rem;
  border-radius: 1rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.k4-404-btn:hover {
  transform: translateY(-1px);
}

.k4-404-btn--primary {
  color: rgba(9, 20, 30, 0.95);
  background: linear-gradient(135deg, rgba(214, 242, 255, 0.95), rgba(122, 223, 255, 0.95));
  box-shadow: 0 16px 40px rgba(0, 186, 255, 0.14);
}

.k4-404-btn--secondary {
  color: rgba(244, 248, 255, 0.96);
  background: rgba(255, 255, 255, 0.035);
}

.k4-404-stat-card {
  position: relative;
  overflow: hidden;
  min-height: 7.25rem;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.k4-404-stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(57, 213, 255, 0.12), transparent 34%),
    linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.06) 48%, transparent 62%);
  opacity: 0.72;
  pointer-events: none;
}

.k4-404-stat-card::after {
  content: "→";
  position: absolute;
  right: 1.15rem;
  top: 50%;
  width: 2.35rem;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: rgba(214, 242, 255, 0.96);
  font-size: 0.95rem;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.k4-404-stat-card .k4-stat-card__value {
  position: relative;
  z-index: 1;
  max-width: calc(100% - 3.4rem);
}

.k4-404-stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(57, 213, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.k4-404-stat-card:hover::after {
  transform: translateY(-50%) translateX(3px);
  border-color: rgba(57, 213, 255, 0.24);
  background: rgba(57, 213, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 10px 24px rgba(0, 186, 255, 0.12);
}

.k4-404-more {
  padding: 1.85rem;
}

.k4-404-more__grid {
  margin-top: 1.45rem;
}

.k4-404-entry-card {
  position: relative;
  overflow: hidden;
  padding: 1.45rem;
  border-radius: 1.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at top right, rgba(0, 186, 255, 0.08), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(8, 12, 20, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 40px rgba(0, 0, 0, 0.16);
}

.k4-404-entry-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.k4-404-entry-card__headline {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.k4-404-entry-card__top strong {
  color: rgba(246, 249, 255, 0.98);
  font-size: 1.12rem;
  line-height: 1.18;
}

.k4-404-entry-card p {
  margin-top: 0.85rem;
  color: rgba(195, 203, 217, 0.82);
  line-height: 1.75;
  font-size: 0.93rem;
}

.k4-404-entry-card:hover {
  transform: translateY(-4px);
  border-color: rgba(57, 213, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 24px 56px rgba(0, 0, 0, 0.24);
}

.k4-archive-more__title {
  margin-top: 0.9rem;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: rgba(246, 249, 255, 0.98);
  line-height: 1.1;
}

.k4-archive-more__desc {
  max-width: 46rem;
  margin-top: 0.8rem;
  color: rgba(195, 203, 217, 0.82);
  line-height: 1.8;
}

.k4-archive-more__grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.1rem;
}

.k4-more-card {
  display: block;
  padding: 1.1rem 1.15rem;
  border-radius: 1.35rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.k4-more-card strong {
  display: block;
  color: rgba(246, 249, 255, 0.98);
  font-size: 1rem;
}

.k4-more-card span {
  display: block;
  margin-top: 0.55rem;
  color: rgba(195, 203, 217, 0.8);
  line-height: 1.7;
  font-size: 0.92rem;
}

.k4-more-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 186, 255, 0.24);
  background: rgba(255, 255, 255, 0.05);
}

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

.k4-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  overflow: hidden;
  border-radius: 1.7rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(8, 12, 20, 0.9);
  text-decoration: none;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.k4-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 186, 255, 0.24);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.24);
}

.k4-card__media {
  position: relative;
  display: block;
  min-height: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.k4-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1rem;
  padding: 1.2rem 1.2rem 1.15rem;
}

.k4-card__title {
  font-size: 1.15rem;
  min-height: 2.6em;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.k4-card__excerpt {
  font-size: 0.93rem;
  min-height: 5.1em;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.k4-card__meta {
  margin-top: auto;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.k4-card__meta a {
  color: rgba(214, 242, 255, 0.94);
  text-decoration: none;
}

.k4-card__meta a:hover {
  color: rgba(255, 255, 255, 0.98);
}

.k4-empty-state {
  padding: 3rem 1.5rem;
  border-radius: 2rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.k4-empty-state h2 {
  margin-top: 1rem;
  font-size: 2rem;
  color: rgba(246, 249, 255, 0.98);
}

.k4-empty-state p {
  max-width: 34rem;
  margin: 0.8rem auto 0;
  line-height: 1.8;
  color: rgba(195, 203, 217, 0.82);
}

.k4-empty-state__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 8rem;
  min-height: 2.9rem;
  margin-top: 1.25rem;
  padding: 0 1rem;
  border-radius: 999px;
  text-decoration: none;
  color: rgba(246, 249, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.k4-archive-shell {
  display: flex;
  flex-direction: column;
}

.k4-archive-shell > .k4-featured-post {
  order: 1;
}

.k4-archive-shell > .k4-archive-grid {
  order: 2;
}

.k4-archive-shell > .k4-pagination-row {
  order: 3;
}

.k4-archive-shell > .k4-archive-more {
  order: 4;
}

.k4-pagination-row {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 1.2rem;
  margin-bottom: 1.35rem;
}

.k4-pagination {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 0.3rem;
}

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

.k4-pagination .nav-links {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.72rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(8, 12, 20, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 42px rgba(0, 0, 0, 0.18);
}

.k4-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.85rem;
  min-height: 2.85rem;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(225, 233, 245, 0.88);
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease,
    box-shadow 0.22s ease,
    color 0.22s ease;
}

.k4-pagination a.page-numbers:hover {
  transform: translateY(-1px);
  color: rgba(247, 251, 255, 0.98);
  border-color: rgba(0, 186, 255, 0.3);
  background:
    linear-gradient(180deg, rgba(0, 186, 255, 0.12), rgba(0, 186, 255, 0.08)),
    rgba(255, 255, 255, 0.035);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.k4-pagination .page-numbers.current {
  color: rgba(8, 16, 24, 0.96);
  border-color: rgba(166, 233, 255, 0.82);
  background: linear-gradient(135deg, rgba(214, 242, 255, 0.98), rgba(122, 223, 255, 0.95));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 10px 26px rgba(0, 186, 255, 0.18);
}

.k4-pagination .page-numbers.prev,
.k4-pagination .page-numbers.next {
  min-width: 6.6rem;
  padding: 0 1.2rem;
  letter-spacing: 0.01em;
}

.k4-pagination .page-numbers.dots {
  min-width: auto;
  padding: 0 0.15rem;
  border-color: transparent;
  background: transparent;
  color: rgba(156, 166, 183, 0.82);
  box-shadow: none;
}

body:has(.k4-hide-deco) .deco--weilon,
body:has(.k4-hide-deco) .deco--doctor,
body.error404 .deco--weilon,
body.error404 .deco--doctor {
  display: none !important;
}

body.blog .deco--weilon,
body.archive .deco--weilon,
body.search .deco--weilon,
body.blog .deco--doctor,
body.archive .deco--doctor,
body.search .deco--doctor {
  display: none !important;
}

body.blog footer,
body.archive footer,
body.search footer {
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .k4-archive-hero {
    padding: 4.5rem 0 2.6rem;
  }

  .k4-archive-hero__panel {
    grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 0.85fr);
    align-items: end;
    padding: 2.4rem;
  }

  .k4-featured-post {
    grid-template-columns: minmax(0, 0.92fr) minmax(22rem, 1.08fr);
    padding: 1.2rem;
  }

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

  .k4-archive-more__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .k4-404-hero__panel {
    grid-template-columns: minmax(0, 1.45fr) minmax(18rem, 0.78fr);
    padding: 2.6rem;
  }
}

@media (min-width: 1100px) {
  .k4-archive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .k4-featured-utility {
    padding: 0.95rem;
  }

  .k4-featured-utility__grid {
    grid-template-columns: 1fr;
  }

  .k4-featured-utility__actions {
    justify-content: center;
  }

  .k4-featured-post,
  .k4-card {
    border-radius: 1.45rem;
  }

  .k4-featured-post__media {
    aspect-ratio: 16 / 9;
    border-radius: 1.15rem;
  }

  .k4-featured-post--utility .k4-featured-post__body {
    padding: 0.95rem;
    border-radius: 1.15rem;
  }

  .k4-card__media {
    aspect-ratio: 16 / 9;
  }

  .k4-card__body {
    padding: 1rem;
  }

  .k4-card__title {
    min-height: 0;
  }

  .k4-card__excerpt {
    min-height: 0;
  }

  .k4-404-hero__panel {
    padding: 1.55rem;
    border-radius: 1.6rem;
  }

  .k4-404-more {
    padding: 1.25rem;
  }

  .k4-404-entry-card {
    padding: 1.2rem;
    border-radius: 1.45rem;
  }

  .k4-404-entry-card__arrow {
    width: 2.25rem;
    height: 2.25rem;
  }

  .k4-pagination-row {
    margin-top: 1rem;
    margin-bottom: 1.1rem;
  }

  .k4-pagination .nav-links {
    display: flex;
    width: 100%;
    max-width: 22rem;
    gap: 0.5rem;
    padding: 0.65rem;
    border-radius: 1.35rem;
  }

  .k4-pagination .page-numbers {
    min-width: 2.65rem;
    min-height: 2.65rem;
    padding: 0 0.9rem;
    font-size: 0.92rem;
  }

  .k4-pagination .page-numbers.prev,
  .k4-pagination .page-numbers.next {
    flex: 1 1 calc(50% - 0.25rem);
    min-width: 0;
  }
}
