.articles-view {
  background: #f7f1e9;
}

.articles-view .app-content,
.articles-view main {
  background: #f7f1e9;
}

.articles-page {
  min-height: 100vh;
  padding: 34px clamp(22px, 3vw, 48px) 64px;
  color: #25302b;
}

.articles-mobile-topbar {
  display: none;
}

.articles-desktop-topbar {
  max-width: 82rem;
  min-height: 48px;
  margin: 0 auto 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.articles-desktop-topbar > div:first-child > span,
.articles-desktop-topbar > div:first-child > small {
  display: block;
}

.articles-desktop-topbar > div:first-child > span {
  color: #303a35;
  font-size: 14px;
  font-weight: 750;
}

.articles-desktop-topbar > div:first-child > small {
  margin-top: 2px;
  color: #7b837e;
  font-size: 12px;
}

.articles-desktop-topbar > .relative > button {
  border: 1px solid rgba(117, 103, 84, 0.18);
  box-shadow: 0 4px 14px rgba(59, 46, 30, 0.07);
}

.articles-heading {
  max-width: 82rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(24rem, 1.1fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
  padding: clamp(28px, 3vw, 42px);
  border: 1px solid rgba(117, 103, 84, 0.12);
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
  background:
    radial-gradient(circle at 88% 0%, rgba(237, 232, 248, 0.88), transparent 33%),
    rgba(255, 253, 248, 0.7);
}

.articles-eyebrow,
.articles-aside-kicker,
.articles-section-heading > div > span {
  display: block;
  margin-bottom: 8px;
  color: #7b6bc4;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.articles-heading h1 {
  max-width: 15ch;
  margin: 0 0 12px;
  color: #27492f;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.35rem, 3vw, 3.35rem);
  line-height: 1.08;
}

.articles-heading p {
  max-width: 42rem;
  margin: 0;
  color: #404D46;
  font-size: 16px;
  line-height: 1.6;
}

.articles-search {
  height: 62px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 0 8px 0 18px;
  border: 1px solid rgba(117, 103, 84, 0.18);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 28px rgba(59, 46, 30, 0.07);
  color: #87908b;
}

.articles-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #27312d;
  font-size: 15px;
}

.articles-search button {
  height: 46px;
  padding: 0 19px;
  border-radius: 13px;
  background: #27492f;
  color: #fff;
  font-size: 13px;
  font-weight: 750;
}

.articles-categories {
  max-width: 82rem;
  margin: 0 auto 36px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 22px clamp(28px, 3vw, 42px) 26px;
  border: 1px solid rgba(117, 103, 84, 0.12);
  border-top: 1px solid rgba(117, 103, 84, 0.09);
  border-radius: 0 0 28px 28px;
  background:
    radial-gradient(circle at 8% 100%, rgba(252, 232, 240, 0.62), transparent 28%),
    rgba(255, 253, 248, 0.7);
  box-shadow: 0 18px 46px rgba(59, 46, 30, 0.055);
  scrollbar-width: none;
}

.articles-categories::-webkit-scrollbar {
  display: none;
}

.articles-category {
  --category-color: #53645c;
  --category-bg: rgba(83, 100, 92, 0.1);
  flex: 0 0 auto;
  min-width: 142px;
  height: 62px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 15px;
  background: color-mix(in srgb, var(--category-bg) 78%, white);
  color: #313b36;
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.articles-category:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--category-color) 35%, transparent);
  box-shadow: 0 8px 18px rgba(50, 42, 30, 0.07);
}

.articles-category.is-active {
  border-color: var(--category-color);
  box-shadow: inset 0 -3px 0 var(--category-color);
}

.articles-category__icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--category-color);
  font-size: 13px;
  font-weight: 800;
}

.articles-category b,
.articles-category small {
  display: block;
}

.articles-category b {
  font-size: 13px;
  line-height: 1.2;
}

.articles-category small {
  margin-top: 4px;
  color: #68716c;
  font-size: 11px;
}

.articles-content {
  max-width: 82rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18rem;
  gap: 28px;
  align-items: start;
}

.articles-main {
  min-width: 0;
}

.featured-carousel {
  position: relative;
  margin-bottom: 32px;
}

.featured-slide {
  min-height: 360px;
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #e9ddd0;
  box-shadow: 0 18px 44px rgba(59, 46, 30, 0.1);
}

.featured-slide__image,
.featured-slide__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.featured-slide__image {
  object-fit: cover;
}

.featured-slide__shade {
  background: linear-gradient(90deg, rgba(24, 35, 29, 0.88) 0%, rgba(28, 40, 33, 0.7) 44%, rgba(28, 40, 33, 0.08) 78%);
}

.featured-slide__content {
  width: min(58%, 36rem);
  min-height: 360px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px clamp(28px, 4vw, 52px);
  color: #fff;
}

.featured-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #f6d89c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.featured-slide h2 {
  margin: 0 0 14px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
}

.featured-slide p {
  max-width: 34rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  line-height: 1.55;
}

.featured-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  font-size: 12px;
  font-weight: 700;
}

.featured-category,
.article-list-card__category {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--category-bg);
  color: var(--category-color);
  font-weight: 750;
}

.featured-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.featured-controls {
  position: absolute;
  z-index: 4;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.featured-controls > button {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.9);
  color: #334039;
}

.featured-controls > div {
  display: flex;
  gap: 5px;
}

.featured-controls > div button {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.46);
}

.featured-controls > div button.is-active {
  width: 20px;
  background: #fff;
}

.articles-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.articles-section-heading h2 {
  margin: 0;
  color: #25302b;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.7rem, 2vw, 2.2rem);
}

.articles-count {
  color: #7b827e;
  font-size: 13px;
  font-weight: 650;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.article-list-card {
  overflow: hidden;
  border: 1px solid rgba(117, 103, 84, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 10px 26px rgba(59, 46, 30, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.article-list-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(59, 46, 30, 0.1);
}

.article-list-card__image {
  height: 190px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #ede8f8, #e8f2fc);
  color: #6f7384;
  text-decoration: none;
}

.article-list-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.article-list-card:hover .article-list-card__image img {
  transform: scale(1.025);
}

.article-list-card__body {
  padding: 18px 19px 17px;
}

.article-list-card__meta,
.article-list-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.article-list-card__author {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-list-card__author > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-list-card__avatar {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 999px;
  background: #e6efe2;
  color: #27492f;
  font-size: 11px;
  font-weight: 800;
}

.article-list-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-list-card__meta {
  color: #747d78;
  font-size: 11px;
}

.article-list-card h3 {
  margin: 14px 0 9px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.28;
}

.article-list-card h3 a {
  color: #25302b;
  text-decoration: none;
}

.article-list-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #404D46;
  font-size: 13px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.article-list-card__footer {
  margin-top: 17px;
  color: #707975;
  font-size: 12px;
  font-weight: 650;
}

.article-list-card__footer a {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #e6efe2;
  color: #27492f;
  text-decoration: none;
}

.articles-aside {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 18px;
  padding-top: 2px;
}

.articles-aside-card,
.articles-note {
  border: 1px solid rgba(117, 103, 84, 0.15);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.52);
  padding: 22px 20px;
}

.articles-aside-card h2,
.articles-note h2 {
  margin: 0;
  color: #29332e;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.25;
}

.popular-categories {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.popular-categories a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  border-left: 3px solid var(--category-color);
  border-radius: 9px;
  background: var(--category-bg);
  color: #36413b;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.popular-categories b {
  color: var(--category-color);
}

.articles-note {
  background: linear-gradient(145deg, #fce8f0, #ede8f8);
}

.articles-note > span {
  color: #c15f89;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.articles-note h2 {
  margin-top: 10px;
}

.articles-note p {
  margin: 10px 0 0;
  color: #626768;
  font-size: 13px;
  line-height: 1.5;
}

.articles-pagination {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 28px;
}

.articles-pagination a,
.articles-pagination span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  border: 1px solid rgba(117, 103, 84, 0.16);
  background: rgba(255, 255, 255, 0.62);
  color: #4f5a54;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.articles-pagination span {
  border-color: #27492f;
  background: #27492f;
  color: #fff;
}

.articles-empty {
  padding: 56px 24px;
  border: 1px dashed rgba(117, 103, 84, 0.25);
  border-radius: 20px;
  text-align: center;
}

.articles-empty h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.8rem;
}

.articles-empty p {
  margin: 10px 0 20px;
  color: #67706b;
}

.articles-empty a {
  color: #27492f;
  font-weight: 750;
}

@media (max-width: 1180px) {
  .articles-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .articles-content {
    grid-template-columns: 1fr;
  }

  .articles-aside {
    position: static;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .articles-page {
    padding: 14px 16px 42px;
  }

  .articles-mobile-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
  }

  .articles-desktop-topbar {
    display: none;
  }

  .articles-icon-button {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid #cfc5b8;
    border-radius: 15px;
    background: #fff;
    color: #304038;
    box-shadow: 0 2px 8px rgba(55, 45, 32, 0.08);
  }

  .articles-heading {
    gap: 24px;
    padding: 24px 20px;
    border-radius: 22px 22px 0 0;
  }

  .articles-heading h1 {
    font-size: clamp(2.25rem, 11vw, 3rem);
  }

  .articles-search {
    grid-template-columns: auto 1fr;
  }

  .articles-search button {
    display: none;
  }

  .articles-categories {
    margin-bottom: 28px;
    padding: 20px;
    border-radius: 0 0 22px 22px;
  }

  .articles-category {
    min-width: 138px;
  }

  .featured-slide {
    min-height: 480px;
  }

  .featured-slide__shade {
    background: linear-gradient(180deg, rgba(24, 35, 29, 0.04) 20%, rgba(24, 35, 29, 0.92) 76%);
  }

  .featured-slide__content {
    width: 100%;
    min-height: 480px;
    justify-content: flex-end;
    padding: 28px 24px 34px;
  }

  .featured-slide h2 {
    font-size: 2rem;
  }

  .featured-controls {
    top: 16px;
    right: 16px;
    bottom: auto;
  }

  .featured-controls > div {
    display: none;
  }

  .articles-grid,
  .articles-aside {
    grid-template-columns: 1fr;
  }

  .article-list-card__image {
    height: 210px;
  }

  .articles-section-heading {
    align-items: start;
  }
}
