/* ═══════════════════════════════════════════════════════════
   CXnetSite · core/static/core/css/index.css
   Page-specific styles for the main news / home page.
   Color scheme aligned with marketplace.css (forest / earth / cream)
   ═══════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  /* mirrors marketplace hero gradient */
  background: linear-gradient(135deg, var(--clr-forest, #1a3c2e) 0%, var(--clr-forest-mid, #2d6a4f) 60%, var(--clr-forest-light, #52b788) 100%);
  color: white;
  padding: 72px 0 80px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(196,151,90,.2) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero::after {
  content: '🌾';
  position: absolute;
  right: -20px; bottom: -30px;
  font-size: 320px;
  opacity: .04;
  pointer-events: none;
  line-height: 1;
  user-select: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  color: var(--clr-sage, #95d5b2);
  font-size: .875rem;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: var(--radius-full, 9999px);
  margin-bottom: 20px;
}
.hero__title {
  font-family: var(--core-font-display, 'Fraunces', serif);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
}
/* em highlight uses warm earth-light instead of lime */
.hero__title em {
  font-style: italic;
  color: var(--clr-earth-light, #e9c46a);
}
.hero__subtitle {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255,255,255,.8);
  margin-bottom: 36px;
  max-width: 560px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Buttons inside hero */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 24px;
  height: 48px;
  border-radius: var(--radius-full, 9999px);
  font-family: var(--core-font-body);
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--t-base, 250ms ease);
  line-height: 1;
}
.btn--primary {
  background: var(--clr-earth, #c4975a);
  color: #fff;
}
.btn--primary:hover {
  background: var(--clr-bark, #6b4f3a);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(196,151,90,.4);
}
.btn--outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.5);
  color: #fff;
}
.btn--outline:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.8);
}
.btn--lg { height: 52px; padding: 0 28px; font-size: 1rem; }

.hero a:focus-visible,
.homepage-news-section a:focus-visible {
  outline: 3px solid var(--clr-earth-light, #e9c46a);
  outline-offset: 3px;
}

.hero__action-note {
  max-width: 560px;
  margin: -16px 0 22px;
  color: rgba(255,255,255,.82);
  line-height: 1.6;
}

.hero-status {
  width: min(100%, 620px);
  padding: 20px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 36px rgba(0,0,0,.12);
}

.hero-status__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.hero-status__eyebrow {
  margin: 0;
  color: var(--clr-earth-light, #e9c46a);
  font-family: var(--core-font-display, 'Fraunces', serif);
  font-size: 1.25rem;
  font-weight: 700;
}

.hero-status__period {
  margin: 0;
  color: rgba(255,255,255,.76);
  font-size: .875rem;
}

.hero-status__counts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.hero-status__count {
  min-width: 0;
  padding: 12px;
  border-radius: 14px;
  background: rgba(0,0,0,.14);
  overflow-wrap: anywhere;
}

.hero-status__count strong,
.hero-status__count span {
  display: block;
}

.hero-status__count strong {
  margin-bottom: 5px;
  color: #fff;
  font-family: var(--core-font-display, 'Fraunces', serif);
  font-size: 1.45rem;
  line-height: 1;
}

.hero-status__count span {
  color: rgba(255,255,255,.8);
  font-size: .78rem;
  line-height: 1.4;
}

.hero-status__action {
  min-height: 48px;
}

.hero__illustration {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.hero__icon-wrap {
  width: 160px; height: 160px;
  background: rgba(255,255,255,.1);
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.18);
}
.hero__icon {
  font-size: 80px;
  line-height: 1;
  animation: floatIcon 4s ease-in-out infinite;
}
@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
.hero__stats { display: flex; gap: 24px; }
.hero__stat {
  text-align: center;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-md, 12px);
  padding: 10px 16px;
  min-width: 72px;
  backdrop-filter: blur(6px);
}
.hero__stat-value {
  font-family: var(--core-font-display, 'Fraunces', serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--clr-earth-light, #e9c46a);
  line-height: 1;
}
.hero__stat-label {
  font-size: .7rem;
  opacity: .75;
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ─────────────────────────────────────────
   SECTION SHARED
───────────────────────────────────────── */
.section { padding: 64px 0; }

.section-header { text-align: center; margin-bottom: 48px; }
.section-header__tag {
  display: inline-block;
  background: rgba(26,60,46,.08);
  color: var(--clr-forest-mid, #2d6a4f);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full, 9999px);
  margin-bottom: 12px;
}
.section-header__title {
  font-family: var(--core-font-display, 'Fraunces', serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--clr-forest, #1a3c2e);
  margin-bottom: 12px;
}
.section-header__subtitle {
  font-size: 1.0625rem;
  color: var(--clr-gray-500, #6b7280);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ─────────────────────────────────────────
   NEWS SECTION — GRID
───────────────────────────────────────── */
.news-section {
  background: var(--clr-cream, #f8f6f0);
  padding-top: 40px;
}
.news-section .section-header {
  margin-bottom: 24px;
}
.news-section__hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-lg, 24px);
  margin-bottom: 28px;
  padding: 28px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 24px;
  background: var(--clr-white, #fff);
  color: var(--clr-gray-800, #1f2937);
}
.news-section__hero .section-header__title {
  margin: 0 0 12px;
  text-align: left;
}
.news-section__hero .section-header__subtitle {
  max-width: 780px;
  margin: 0;
  text-align: left;
}
.news-section__actions,
.news-grid {
  --news-grid-columns: repeat(3, minmax(0, 1fr));
  --news-grid-gap: 24px;
}

.news-section__actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0;
}
.news-section__actions-group {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: var(--space-md, 16px);
  flex-wrap: wrap;
}
.news-section__primary-action {
  order: 2;
}
.news-section__secondary-action {
  order: 1;
}

.news-grid {
  display: grid;
  grid-template-columns: var(--news-grid-columns);
  gap: var(--news-grid-gap);
  align-items: stretch;
}
@media (max-width: 1100px) {
  .news-section__actions,
  .news-grid { --news-grid-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .news-section__hero {
    flex-direction: column;
    align-items: stretch;
  }
  .news-section__actions,
  .news-section__actions-group {
    justify-content: flex-start;
  }
}
@media (max-width: 640px)  {
  .news-section__actions,
  .news-grid { --news-grid-columns: 1fr; }
}

/* ─────────────────────────────────────────
   NEWS CARD
───────────────────────────────────────── */
.news-card {
  background: var(--clr-white, #fff);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-card, 0 2px 12px rgba(26,60,46,.08));
  border: 1.5px solid transparent;
  transition: box-shadow var(--t-base), border-color var(--t-base), transform var(--t-base);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  min-height: 360px;
  height: 100%;
  overflow-wrap: anywhere;
}
.news-card:hover {
  box-shadow: var(--shadow-hover, 0 8px 30px rgba(26,60,46,.16));
  border-color: var(--clr-forest-light, #52b788);
  transform: translateY(-2px);
}

.news-card__date {
  font-size: .78rem;
  color: var(--clr-gray-400, #9ca3af);
  letter-spacing: .02em;
  flex-shrink: 0;
}

.news-card__title {
  font-family: var(--core-font-display, 'Fraunces', serif);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--clr-forest, #1a3c2e);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1em * 1.35 * 3);
}

.news-card__title a {
  color: inherit;
  text-decoration: none;
}

.news-card__title a:hover {
  color: var(--clr-forest-mid, #2d6a4f);
}

.news-card__body {
  flex: 1;
  overflow: hidden;
}

.news-card__text {
  color: var(--clr-gray-600, #4b5563);
  line-height: 1.7;
  font-size: .875rem;
  height: calc(.875rem * 1.7 * 5);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
  mask-image:         linear-gradient(to bottom, black 55%, transparent 100%);
}
.news-card__text,
.news-card__title,
.news-card__tags {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.news-card__text p { margin-bottom: 8px; }
.news-card__text p:last-child { margin-bottom: 0; }

.news-card__footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--clr-gray-100, #f3f4f6);
  margin-top: auto;
}

.news-card__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* "Читать полностью" button */
.news-card__open-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full, 9999px);
  background: rgba(26,60,46,.07);
  color: var(--clr-forest-mid, #2d6a4f);
  font-family: var(--core-font-body);
  font-size: .8rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--t-fast), transform var(--t-fast);
}
.news-card__open-btn:hover {
  background: rgba(26,60,46,.14);
  transform: translateX(2px);
}

/* Tags */
.news-card__tags { display: flex; gap: 6px; flex-wrap: wrap; }

.tag {
  background: var(--clr-mint, #d8f3dc);
  color: var(--clr-forest-mid, #2d6a4f);
  padding: 3px 10px;
  border-radius: var(--radius-full, 9999px);
  font-size: .75rem;
  font-weight: 500;
  transition: background var(--t-fast), color var(--t-fast);
}
.tag:hover {
  background: var(--clr-forest, #1a3c2e);
  color: var(--clr-white, #fff);
  cursor: pointer;
}

/* ─────────────────────────────────────────
   HOMEPAGE — LATEST NEWS DISCOVERY
───────────────────────────────────────── */
.homepage-news-section {
  background: var(--clr-cream, #f8f6f0);
}

.homepage-news-section__header {
  margin-bottom: 32px;
}

.homepage-news-grid,
.homepage-news-card,
.homepage-news-card > * {
  min-width: 0;
}

.homepage-news-card {
  min-height: 0;
}

.homepage-news-card .news-card__title {
  display: block;
  min-height: 0;
  overflow: visible;
  -webkit-line-clamp: unset;
}

.homepage-news-card .news-card__text {
  height: auto;
  overflow: visible;
  -webkit-mask-image: none;
  mask-image: none;
}

.homepage-news-section__footer {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

/* ─────────────────────────────────────────
   NEWS DETAIL PAGE
───────────────────────────────────────── */
.news-detail-page {
  min-height: 70vh;
  padding: 36px 0 72px;
  background: var(--clr-cream, #f8f6f0);
}

.news-detail__breadcrumbs {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  margin-bottom: 24px;
}

.news-detail__back {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-bottom: 6px;
  color: var(--clr-forest-mid, #2d6a4f);
  font-weight: 600;
  text-decoration: none;
}

.news-detail__back:hover {
  color: var(--clr-forest, #1a3c2e);
  text-decoration: none;
}

.news-detail__seo-context {
  color: #667085;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.news-detail {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 56px);
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 24px;
  background: var(--clr-white, #fff);
  box-shadow: var(--shadow-card, 0 10px 30px rgba(26, 60, 46, .08));
}

.news-detail__header {
  padding-right: 52px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--clr-gray-100, #f3f4f6);
}

.news-detail__date {
  display: block;
  min-height: calc(.82rem * 1.2);
  margin-bottom: 16px;
  color: var(--clr-gray-500, #6b7280);
  font-size: .82rem;
}

.news-detail__title {
  margin: 0;
  color: var(--clr-forest, #1a3c2e);
  font-family: var(--core-font-display, 'Fraunces', serif);
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.news-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
}

.news-detail__image {
  width: 100%;
  max-height: 520px;
  margin: 32px 0 0;
  border-radius: 18px;
  object-fit: cover;
}

.news-detail__body {
  margin-top: 32px;
  color: var(--clr-gray-600, #4b5563);
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.news-detail__body p {
  margin: 0 0 1.25em;
}

.news-detail__body p:last-child {
  margin-bottom: 0;
}

.news-detail .feedback-actions {
  margin-top: 28px;
}

.news-detail__feedback-top .feedback-actions {
  margin-top: 16px;
}

.news-related {
  margin-top: 56px;
}

.news-related__header {
  margin-bottom: 22px;
}

.news-related__header h2 {
  margin: 0;
  color: var(--clr-forest, #1a3c2e);
  font-family: var(--core-font-display, 'Fraunces', serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.news-related .news-card {
  min-height: 320px;
}

/* ─────────────────────────────────────────
   EMPTY STATE
───────────────────────────────────────── */
.news-empty { 
  text-align: center; 
  padding: 80px 20px; 
}

.news-empty__icon { 
  font-size: 72px; 
  margin-bottom: 20px; 
  display: block; 
  opacity: .6; 
}

.news-empty__title {
  font-family: var(--core-font-display, 'Fraunces', serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--clr-forest, #1a3c2e);
  margin-bottom: 10px;
}

.news-empty__text { 
  color: var(--clr-gray-500, #6b7280); 
  margin-bottom: 28px; 
  font-size: .95rem; 
}

/* ─────────────────────────────────────────
   PAGINATION
───────────────────────────────────────── */
.pagination { margin-top: 48px; }

.pagination__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--clr-white, #fff);
  color: var(--clr-gray-700, #374151);
  text-decoration: none;
  font-weight: 600;
  transition: all var(--t-base);
  border: 1.5px solid var(--clr-gray-200, #e5e7eb);
}

.pagination__link:hover {
  background: var(--clr-forest, #1a3c2e);
  color: white;
  border-color: var(--clr-forest, #1a3c2e);
  box-shadow: 0 4px 12px rgba(26,60,46,.25);
}

.pagination__link.pagination__current {
  width: 46px;
  height: 46px;
  padding: 0;
  background: var(--clr-forest, #1a3c2e);
  color: var(--clr-white, #fff);
  border-color: var(--clr-forest, #1a3c2e);
  font-size: 1.1rem;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(26,60,46,.28);
}

.pagination__current { 
  padding: 0 16px; 
  color: var(--clr-gray-500, #6b7280); 
  font-size: .875rem; 
}

/* ─────────────────────────────────────────
   FEATURES SECTION
───────────────────────────────────────── */
.features-section { background: var(--clr-parchment, #f0ece1); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

/* Работает и как <div>, и как <a> */
.feature-card {
  display: block;           /* <a> по умолчанию inline */
  text-align: center;
  padding: 36px 24px;
  background: var(--clr-white, #fff);
  border-radius: 16px;
  border: 1.5px solid var(--clr-gray-200, #e5e7eb);
  box-shadow: var(--shadow-xs, 0 1px 2px rgba(0,0,0,.06));
  transition: all var(--t-base);
  text-decoration: none;    /* сброс подчёркивания для <a> */
  color: inherit;           /* сброс цвета ссылки */
}

.feature-card:hover {
  border-color: var(--clr-forest-light, #52b788);
  box-shadow: var(--shadow-hover, 0 8px 30px rgba(26,60,46,.16));
  transform: translateY(-3px);
  background: var(--clr-mint, #d8f3dc);
  cursor: pointer;
}

.feature-card__icon {
    margin-bottom: 16px;
    display: block;
    line-height: 1;
}

.feature-card__icon img {
    display: block;
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.feature-card__title {
  font-family: var(--core-font-display, 'Fraunces', serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--clr-forest, #1a3c2e);
  margin-bottom: 10px;
}

.feature-card__desc { color: var(--clr-gray-500, #6b7280); line-height: 1.65; font-size: .875rem; }

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 768px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__title { font-size: 2rem; }
  .hero__subtitle { margin: 0 auto 32px; }
  .hero__actions { justify-content: center; }
  .hero__action-note { margin-right: auto; margin-left: auto; }
  .hero-status { margin: 0 auto; text-align: left; }
  .hero-status__counts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__illustration { order: -1; margin-bottom: 8px; }
  .hero__icon-wrap { width: 110px; height: 110px; }
  .hero__icon { font-size: 56px; }
}

@media (max-width: 600px) {
  .news-detail-page { padding-top: 20px; }
  .news-detail { border-radius: 18px; }
}

@media (max-width: 480px) {
  .hero { padding: 48px 0 56px; }
  .hero-status__header { display: block; }
  .hero-status__period { margin-top: 5px; }
  .hero-status__counts { grid-template-columns: 1fr; }
  .hero-status__action { width: 100%; }
}

.news-card { position: relative; }
.news-card__fav-btn {
  position: absolute;
  top: var(--space-lg, 24px);
  right: var(--space-lg, 24px);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--clr-white, #fff);
  color: var(--clr-gray-400, #9ca3af);
  cursor: pointer;
  font-family: var(--core-font-body, var(--font-body));
  font-size: 1rem;
  line-height: 1;
  padding: 0;
  box-shadow: var(--shadow-sm, 0 2px 8px rgba(0, 0, 0, .08));
  transition: color var(--t-base), transform var(--t-base);
}
.news-card__fav-btn:hover,
.news-card__fav-btn.is-favorite {
  color: var(--clr-danger, #ef4444);
}
.news-card__fav-btn:hover { transform: scale(1.1); }
.news-card .tag { text-decoration: none; }

/* Personal feed card controls must match marketplace product card placement. */
.personal-card .listing-card__fav-btn,
.personal-card .product-card__fav-btn,
.personal-card .news-card__fav-btn,
.personal-card__owner-marker {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--clr-white, #fff);
  color: var(--clr-gray-400, #9ca3af);
  cursor: pointer;
  font-family: var(--core-font-body, var(--font-body));
  font-size: 1rem;
  line-height: 1;
  padding: 0;
  box-shadow: var(--shadow-sm, 0 2px 8px rgba(0, 0, 0, .08));
  transition: color var(--t-base), transform var(--t-base);
}

.personal-card .listing-card__fav-btn:hover,
.personal-card .listing-card__fav-btn.is-favorite,
.personal-card .product-card__fav-btn:hover,
.personal-card .product-card__fav-btn--active,
.personal-card .product-card__fav-btn.is-favorite,
.personal-card .news-card__fav-btn:hover,
.personal-card .news-card__fav-btn.is-favorite {
  color: var(--clr-danger, #ef4444);
}


.personal-card .listing-card__fav-btn:hover,
.personal-card .product-card__fav-btn:hover,
.personal-card .news-card__fav-btn:hover {
  transform: scale(1.1);
}

.personal-card .feedback-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 2px 0 0;
}

.personal-card .feedback-btn {
  border: 1px solid rgba(0, 0, 0, .1);
  background: #fff;
  color: #1a3c2e;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.news-section__hero-content {
  min-width: 0;
  flex: 1 1 360px;
}

/* Search panels sit in the bottom row of section hero blocks. */
.news-section__hero {
  flex-direction: column;
  align-items: stretch;
}
.news-section__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-lg, 24px);
  width: 100%;
}
@media (max-width: 768px) {
  .news-section__top {
    flex-direction: column;
    align-items: stretch;
  }
}

.my-news-card .news-card__title a {
  color: inherit;
  text-decoration: none;
}

.my-news-card .news-card__title a:hover {
  color: var(--clr-forest-mid, #2d6a4f);
}

.my-news-card__status {
  align-self: flex-start;
  border-radius: var(--radius-full, 9999px);
  padding: 4px 10px;
  background: rgba(45, 106, 79, .1);
  color: var(--clr-forest-mid, #2d6a4f);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.my-news-card__status--published,
.my-news-card__status--ready {
  background: rgba(82, 183, 136, .16);
  color: var(--clr-forest, #1a3c2e);
}

.my-news-card__status--moderation,
.my-news-card__status--draft {
  background: rgba(245, 158, 11, .16);
  color: #92400e;
}

.my-news-card__status--rejected,
.my-news-card__status--archived {
  background: rgba(239, 68, 68, .12);
  color: #991b1b;
}

.my-news-card__reject-reason {
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(239, 68, 68, .08);
  color: #7f1d1d;
  font-size: .82rem;
  line-height: 1.5;
}

.my-news-empty {
  padding: 32px;
  border-radius: 18px;
  background: var(--clr-white, #fff);
  box-shadow: var(--shadow-card, 0 2px 12px rgba(26,60,46,.08));
}

@media (max-width: 640px) {
}
