.stories-main {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.stories-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;

  padding: 28px;

  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: 26px;
}

.page-label {
  color: #79B4A9;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stories-header h1 {
  margin: 8px 0 10px;

  color: #2b2b2b;

  font-family: "Belleza", sans-serif;
  font-size: 52px;
  font-weight: 400;
}

.stories-header p {
  max-width: 620px;

  color: #666666;

  line-height: 1.7;
}

.new-story-btn {
  padding: 14px 26px;

  border: none;
  border-radius: 999px;

  background: #79B4A9;
  color: #ffffff;

  text-decoration: none;
  font-weight: 700;
  cursor: pointer;

  transition: 0.25s ease;

    min-width: 145px;
  text-align: center;
}

.new-story-btn:hover {
  background: #676F54;
  transform: translateY(-2px);
}

.stories-sort {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.story-sort-btn {
  border: 1px solid #d8ddd8;
  background: #ffffff;
  color: #5e6748;

  padding: 10px 18px;

  border-radius: 999px;

  font-size: 0.95rem;
  font-weight: 600;

  cursor: pointer;
  transition: 0.25s ease;
}

.story-sort-btn:hover {
  background: #f4f7f5;
  transform: translateY(-2px);
}

.story-sort-btn.active {
  background: #79B4A9;
  color: #ffffff;
  border-color: #79B4A9;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 24px;

  align-items: start;
}

.story-card {
  width: 100%;

  background: #ffffff;

  border: 1px solid #ececec;
  border-radius: 24px;

  overflow: hidden;

  cursor: pointer;

  transition: 0.25s ease;
}

.story-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.08);
}

.story-cover {
  position: relative;
  overflow: hidden;

  width: 100%;
  aspect-ratio: 2 / 3;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #f8f8f5;

  color: #79B4A9;

  font-family: "Belleza", sans-serif;
  font-size: 58px;
  font-weight: 700;
}

.story-cover-img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  display: block;

  background: #ffffff;
}

.story-overlay {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0, 0, 0, 0.18);

  opacity: 0;
  transition: 0.3s ease;
}

.story-card:hover .story-overlay {
  opacity: 1;
}

.story-read-btn {
  background: #ffffff;
  color: #4f6652;

  border: none;
  border-radius: 999px;

  padding: 12px 24px;

  font-size: 0.95rem;
  font-weight: 700;

  cursor: pointer;

  transition: 0.3s ease;
}

.story-read-btn:hover {
  transform: translateY(-2px);
  background: #f5f5f5;
}

.story-card-body {
  padding: 16px;
}

.story-card-body h3 {
  margin-bottom: 8px;

  color: #2b2b2b;

  font-size: 17px;
  line-height: 1.3;
}

.story-author {
  display: block;

  margin-bottom: 12px;

  color: #676F54;

  font-size: 13px;
  font-weight: 600;
}

.story-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;

  margin-bottom: 12px;

  color: #666666;

  font-size: 12px;
}

.story-status {
  display: inline-flex;

  padding: 6px 10px;

  border-radius: 999px;

  background: #f8f8f5;
  color: #676F54;

  font-size: 12px;
  font-weight: 700;
}

.stories-empty {
  grid-column: 1 / -1;

  padding: 48px;

  text-align: center;

  background: #ffffff;

  border: 1px solid #ececec;
  border-radius: 24px;
}

.stories-empty h3 {
  margin-bottom: 10px;

  color: #2b2b2b;
}

.stories-empty p {
  color: #666666;
}

.sidebar-right .trend-card,
.sidebar-right .trending-box {
  padding: 24px;

  background: #ffffff;

  border: 1px solid #ececec;
  border-radius: 24px;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}

.sidebar-right .trend-card {
  margin-bottom: 22px;
}

.sidebar-right .trend-card span {
  display: block;

  margin-top: 14px;
  margin-bottom: 8px;

  color: #2b2b2b;

  font-size: 18px;
  font-weight: 700;
}

.sidebar-right .friend-tags {
  color: #676F54;

  font-size: 15px;
  line-height: 1.6;
}

.sidebar-right .trending-box h3 {
  margin-bottom: 16px;

  color: #2b2b2b;

  font-size: 22px;
}

.sidebar-right .trending-box p {
  margin-bottom: 10px;

  color: #555555;

  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 1100px) {
  .stories-grid {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }
}

@media (max-width: 700px) {
  .stories-header {
    flex-direction: column;
  }

  .stories-header h1 {
    font-size: 40px;
  }

  .stories-grid {
    grid-template-columns: 1fr;
  }
}

.sidebar-right .follow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: fit-content;

  margin-top: 14px;
  padding: 10px 18px;

  border: none;
  border-radius: 999px;

  background: #79B4A9;
  color: #ffffff;

  text-decoration: none;

  font-size: 14px;
  font-weight: 700;

  cursor: pointer;
  transition: 0.25s ease;
}

.sidebar-right .follow-btn:hover {
  background: #676F54;
  transform: translateY(-2px);
}

.sidebar-right .trending-box {
  margin-top: 24px;
}

.stories-empty {
  min-height: 150px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stories-empty h3 {
  font-size: 20px;
} 