/* Боковые виджеты: «Читайте также», «Все материалы» */

.sidebar .widget {
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.sidebar .widget--related {
  border: 1px solid #b8dda0;
  box-shadow: 0 4px 18px rgba(58, 125, 34, 0.14);
}

.sidebar .widget--related:hover {
  box-shadow: 0 8px 28px rgba(58, 125, 34, 0.22);
  transform: translateY(-2px);
}

.sidebar .widget--cta {
  border: 2px solid var(--green-main, #3a7d22);
  box-shadow: 0 6px 24px rgba(58, 125, 34, 0.2);
  background: linear-gradient(180deg, #f8fdf4 0%, #fff 55%);
}

.sidebar .widget--cta:hover {
  box-shadow: 0 10px 32px rgba(58, 125, 34, 0.28);
  transform: translateY(-2px);
}

.sidebar .widget__head--accent {
  background: linear-gradient(135deg, #3a7d22 0%, #4a9430 100%);
  color: #fff;
  border-bottom: none;
  padding: 12px 16px;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.sidebar .widget__head--cta {
  background: var(--green-dark, #2d6a1f);
  color: #fff;
  border-bottom: none;
  padding: 12px 16px;
  font-size: 14px;
}

.sidebar .widget__body--related {
  padding: 10px 12px 12px;
  background: #fafdf7;
}

.sidebar .widget__body--cta {
  padding: 14px 16px 16px;
}

.related-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.related-list__item {
  margin: 0;
  border-bottom: none;
  padding: 0;
}

.related-list__item + .related-list__item {
  margin-top: 6px;
}

.related-list__link {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e4efd9;
  color: var(--text-dark, #1a1a1a);
  font-family: var(--font-head, Montserrat, sans-serif);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.12s ease;
}

.related-list__link::after {
  content: "→";
  margin-left: auto;
  flex-shrink: 0;
  font-size: 14px;
  color: var(--green-main, #3a7d22);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.related-list__link:hover,
.related-list__link:focus-visible {
  background: var(--green-light, #e8f5e1);
  border-color: #97c459;
  color: var(--green-dark, #2d6a1f);
  text-decoration: none;
  transform: translateX(2px);
}

.related-list__link:hover::after,
.related-list__link:focus-visible::after {
  opacity: 1;
  transform: translateX(0);
}

.related-list__icon {
  flex-shrink: 0;
  font-size: 18px;
  line-height: 1.2;
}

.related-list__title {
  flex: 1;
  min-width: 0;
}

.related-list__empty {
  margin: 0;
  font-size: 13px;
  color: var(--text-soft, #666);
  line-height: 1.5;
}

.related-list__empty a {
  font-weight: 600;
}

.widget-cta__text {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-mid, #444);
}

.widget-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 11px 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, #3a7d22 0%, #4a9430 100%);
  color: #fff !important;
  font-family: var(--font-head, Montserrat, sans-serif);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(45, 106, 31, 0.35);
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}

.widget-cta__btn:hover,
.widget-cta__btn:focus-visible {
  background: linear-gradient(135deg, #2d6a1f 0%, #3a7d22 100%);
  box-shadow: 0 6px 20px rgba(45, 106, 31, 0.45);
  transform: translateY(-1px);
  text-decoration: none !important;
}

@media (max-width: 900px) {
  .sidebar .widget--related:hover,
  .sidebar .widget--cta:hover {
    transform: none;
  }

  .related-list__link:hover {
    transform: none;
  }
}

/* Тизер «Калькулятор посева» (главная, статьи, календарь) */
.side-calc {
  border-radius: 12px;
  padding: 16px 16px 18px;
  background: linear-gradient(180deg, #f4f9ee 0%, #fff 65%);
  border: 1px solid #d6e6c9;
  box-shadow: 0 2px 12px rgba(46, 125, 50, 0.1);
}

.side-calc__top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.side-calc__ico {
  font-size: 24px;
  line-height: 1;
}

.side-calc__title {
  margin: 0;
  font-family: var(--font-head, Montserrat, sans-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark, #1a1a1a);
}

.side-calc__desc {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-soft, #666);
}

.side-calc__btn {
  display: block;
  text-align: center;
  padding: 11px 14px;
  border-radius: 8px;
  background: #2e7d32;
  color: #fff !important;
  font-family: var(--font-head, Montserrat, sans-serif);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  transition: background 0.15s ease, filter 0.15s ease;
}

.side-calc__btn:hover,
.side-calc__btn:focus-visible {
  background: var(--green-dark, #2d6a1f);
  text-decoration: none !important;
  filter: brightness(1.02);
}

/* Сезонный блок «Что сажать сейчас» */
.widget-seasonal.seasonal {
  background: var(--white, #fff);
  border: 1px solid var(--border, #dde8d5);
  border-radius: 12px;
  padding: 16px 16px 14px;
  box-shadow: 0 4px 18px rgba(42, 100, 20, 0.08);
}

.seasonal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.seasonal__title {
  margin: 0;
  font-family: var(--font-head, Montserrat, sans-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark, #1a1a1a);
}

.seasonal__month {
  flex-shrink: 0;
  font-family: var(--font-head, Montserrat, sans-serif);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #2e7d32;
  background: #eaf3e6;
  border: 1px solid #d6e6c9;
  border-radius: 20px;
  padding: 4px 10px;
}

.seasonal__sub {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-soft, #666);
}

.seasonal__tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.seasonal__tab {
  flex: 1;
  border: 1.5px solid var(--border, #dde8d5);
  background: #fff;
  border-radius: 8px;
  padding: 7px 10px;
  font-family: var(--font-head, Montserrat, sans-serif);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-soft, #666);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.seasonal__tab.is-active {
  background: #2e7d32;
  border-color: #2e7d32;
  color: #fff;
}

.seasonal__panel.is-hidden {
  display: none;
}

.seasonal__crop {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  border: 1px solid #e4efd9;
  background: #fafdf7;
  color: var(--text-dark, #1a1a1a);
  text-decoration: none !important;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.seasonal__crop + .seasonal__crop {
  margin-top: 6px;
}

.seasonal__crop:hover,
.seasonal__crop:focus-visible {
  background: var(--green-light, #e8f5e1);
  border-color: #b8dda0;
  text-decoration: none !important;
}

.seasonal__ico {
  flex-shrink: 0;
  font-size: 20px;
  line-height: 1;
}

.seasonal__meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.seasonal__name {
  font-family: var(--font-head, Montserrat, sans-serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark, #1a1a1a);
}

.seasonal__when {
  font-size: 12px;
  line-height: 1.35;
  color: var(--text-soft, #666);
}

.seasonal__chev {
  flex-shrink: 0;
  color: #bbb;
  font-size: 16px;
}

.seasonal__more {
  display: block;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border, #dde8d5);
  font-family: var(--font-head, Montserrat, sans-serif);
  font-size: 13px;
  font-weight: 600;
  color: #2e7d32 !important;
  text-decoration: none !important;
}

.seasonal__more:hover {
  text-decoration: underline !important;
}

.seasonal__empty {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-soft, #666);
}
