.headline-cursor {
  display: inline-flex;
  align-items: flex-end;

  width: 18px;
  height: 26px;

  margin-left: 4px;

  vertical-align: baseline;

  transform: translateY(10px) translateX(-5px) rotate(-20deg);
}

.headline-cursor svg {
  display: block;

  width: 100%;
  height: 100%;

  fill: var(--coral);

  filter: drop-shadow(0 2px 3px rgba(23, 36, 33, 0.12));
}

.blog-page .screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
} /* TheWebStore blog listing */
.blog-page {
  overflow: hidden;
  color: var(--ink);
}
.blog-shell {
  width: min(1120px, calc(100% - 56px));
  margin: 0 auto;
}
.blog-page a {
  text-decoration: none;
}
.blog-listing-hero {
  padding: 96px 28px 82px;

  text-align: center;
}
.blog-listing-hero-inner {
  max-width: 850px;
}
.blog-listing-hero .eyebrow {
  margin: 0 0 22px;
}
.blog-listing-hero h1 {
  margin: 0;
  color: var(--ink);
  font:
    800 clamp(42px, 6vw, 72px)/0.98 "Inter",
    Arial,
    sans-serif;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}
.blog-listing-hero h1 em {
  color: var(--green-soft);
  font-style: normal;
}
.blog-listing-hero-inner > p:last-child {
  max-width: 610px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}
.blog-listing-section {
  padding: 4px 28px 104px;
  background:
    linear-gradient(
      to bottom,
      var(--white) 0%,
      rgba(255, 255, 255, 0.98) 25%,
      rgba(255, 255, 255, 0.753) 60%,
      rgba(255, 255, 255, 0.719) 100%
    ),
    url("../../images/Webstore-background.webp");

  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: cover;
}
.blog-filter-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(190px, 0.42fr) auto;
  align-items: center;
  gap: 10px;
  margin: 32px 0 32px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcfa;
  box-shadow: 0 8px 26px rgba(23, 36, 33, 0.04);
}
.blog-search-field,
.blog-category-field {
  display: block;
  min-width: 0;
}
.blog-filter-form input,
.blog-filter-form select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: none;
  background: var(--white);
  color: var(--ink);
  font:
    400 12px "Inter",
    Arial,
    sans-serif;
}
.blog-filter-form input:focus,
.blog-filter-form select:focus {
  border-color: #8abda5;
  box-shadow: 0 0 0 3px rgba(57, 230, 164, 0.12);
}
.blog-filter-form select {
  cursor: pointer;
}
.blog-filter-form button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 46px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  background: var(--mint);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.blog-filter-form button:hover {
  transform: translateY(-1px);
  background: #2cd295;
}
.blog-filter-form button span {
  font-size: 17px;
  font-weight: 400;
}
.blog-filter-reset {
  grid-column: 1/-1;
  justify-self: end;
  color: var(--muted);
  font-size: 10px;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}
.blog-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.blog-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(23, 36, 33, 0.045);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}
.blog-card:hover {
  transform: translateY(-4px);
  border-color: #c5dfd1;
  box-shadow: 0 18px 40px rgba(23, 36, 33, 0.09);
}
.blog-card-image {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #e9f7ef, #f8fbf8 52%, #d9efe3);
}
.blog-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.blog-card:hover .blog-card-image img {
  transform: scale(1.035);
}
.blog-card-image-placeholder {
  color: rgba(20, 67, 50, 0.26);
  font:
    800 clamp(20px, 3vw, 36px) "Inter",
    Arial,
    sans-serif;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}
.blog-card-body {
  padding: 22px 24px 24px;
}
.blog-category-tag {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 4px 9px;
  border: 1px solid #cbe9d9;
  border-radius: 99px;
  background: #effaf4;
  color: #276647;
  font:
    600 9px "DM Mono",
    monospace;
  letter-spacing: 0.02em;
}
.blog-card-date {
  margin: 13px 0 8px;
  color: #7d8984;
  font:
    500 9px "DM Mono",
    monospace;
  letter-spacing: 0.04em;
}
.blog-card h2 {
  margin: 0;
  color: var(--ink);
  font:
    800 clamp(20px, 2.3vw, 27px)/1.12 "Inter",
    Arial,
    sans-serif;
  letter-spacing: -0.045em;
}
.blog-card h2 a {
  color: inherit;
}
.blog-card-excerpt {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  min-height: 4.8em;
  margin: 13px 0 17px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.62;
}
.blog-card-read-more {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
}
.blog-card-read-more span {
  color: var(--green-dark);
  font-size: 15px;
  transition: transform 0.2s ease;
}
.blog-card-read-more:hover span {
  transform: translate(2px, -2px);
}
.blog-listing-page .navigation.pagination,
.blog-listing-page .page-numbers {
  color: var(--ink);
}
.blog-listing-page .navigation.pagination {
  margin-top: 34px;
}
.blog-listing-page .page-numbers {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.blog-listing-page .page-numbers li {
  display: block;
}
.blog-listing-page .page-numbers a,
.blog-listing-page .page-numbers span {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  font-size: 11px;
}
.blog-listing-page .page-numbers .current {
  border-color: var(--mint);
  background: var(--mint);
  font-weight: 800;
}
.blog-empty-state {
  padding: 64px 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8faf8;
  text-align: center;
}
.blog-empty-state h2 {
  margin: 0 0 9px;
  font-size: 25px;
  letter-spacing: -0.04em;
}
.blog-empty-state p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
}
.blog-category-hero h1 {
  text-transform: uppercase;
}
.blog-category-description {
  max-width: 650px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
@media (max-width: 760px) {
  .blog-shell {
    width: calc(100% - 40px);
  }
  .blog-listing-hero {
    padding: 70px 20px 58px;
  }
  .blog-listing-hero h1 {
    font-size: clamp(39px, 9vw, 58px);
  }
  .blog-listing-section {
    padding: 0 20px 76px;
  }
  .blog-filter-form {
    grid-template-columns: 1fr 1fr;
    padding: 11px;
  }
  .blog-search-field {
    grid-column: 1/-1;
  }
  .blog-filter-form button {
    grid-column: 1/-1;
  }
  .blog-card-grid {
    gap: 16px;
  }
  .blog-card-body {
    padding: 18px;
  }
  .blog-card-excerpt {
    min-height: 0;
  }
}
@media (max-width: 520px) {
  .blog-shell {
    width: calc(100% - 32px);
  }
  .blog-listing-hero {
    padding: 58px 16px 48px;
  }
  .blog-listing-hero-inner > p:last-child {
    font-size: 13px;
  }
  .blog-listing-section {
    padding: 0 16px 64px;
  }
  .blog-filter-form {
    grid-template-columns: 1fr;
  }
  .blog-search-field,
  .blog-filter-form button {
    grid-column: auto;
  }
  .blog-card-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .blog-card-body {
    padding: 18px 19px 20px;
  }
  .blog-card h2 {
    font-size: 23px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .blog-card,
  .blog-card-image img,
  .blog-filter-form button,
  .blog-card-read-more span {
    transition: none;
  }
}
