/* home deferred */
.hero .container,
.home-intro .container,
.page-body > .container,
.footer > .container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

    /* ════════════════════════════════════════
       MAIN LAYOUT
    ════════════════════════════════════════ */
    .page-body {
      padding: 28px 0 40px;
    }
    .page-body .container {
      display: grid;
      grid-template-columns: 1fr 300px;
      gap: 28px;
      align-items: start;
    }

    /* ════════════════════════════════════════
       SECTION HEADING
    ════════════════════════════════════════ */
    .section-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 16px;
    }
    .section-head h2 {
      font-family: var(--font-head);
      font-size: 22px;
      font-weight: 700;
      color: var(--text-dark);
    }
    .section-head a {
      font-family: var(--font-head);
      font-size: 13px;
      color: #1a7bbc;
    }
    .section-head a:hover { text-decoration: underline; }

    /* ════════════════════════════════════════
       ARTICLE CARDS
    ════════════════════════════════════════ */
    .articles-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      margin-bottom: 32px;
    }
    .card {
      background: var(--white);
      border-radius: var(--radius);
      overflow: hidden;
      border: 1px solid var(--border);
      box-shadow: var(--shadow-sm);
      transition: transform .2s, box-shadow .2s;
      display: flex; flex-direction: column;
    }
    .card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
    .card__thumb {
      position: relative;
      aspect-ratio: 16/9;
      overflow: hidden;
      background: var(--green-light);
    }
    .card__thumb-link {
      display: block;
      width: 100%;
      height: 100%;
      line-height: 0;
      text-decoration: none;
      color: inherit;
    }
    .card__thumb-link:focus-visible {
      outline: 2px solid var(--green-mid);
      outline-offset: -2px;
    }
    .card__thumb-img {
      width: 100%;
      max-width: 100%;
      height: 100%;
      min-height: 0;
      object-fit: cover;
      object-position: center;
      display: block;
      transition: transform .35s;
    }
    .card__thumb-placeholder {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 100%;
      font-size: 48px;
    }
    .card:hover .card__thumb-img { transform: scale(1.05); }
    .card__badge {
      position: absolute;
      top: 8px; left: 8px;
      z-index: 2;
      pointer-events: none;
      background: var(--green-main);
      color: #fff;
      font-family: var(--font-head);
      font-size: 10px;
      font-weight: 700;
      padding: 2px 8px;
      border-radius: 3px;
    }
    .card__badge--red { background: #c62828; }
    .card__badge--blue { background: #1565c0; }
    .card__body { padding: 14px; flex: 1; display: flex; flex-direction: column; }
    .card__title {
      font-family: var(--font-head);
      font-size: 15px;
      font-weight: 700;
      color: var(--text-dark);
      line-height: 1.4;
      margin-bottom: 6px;
    }
    .card__title a:hover { color: var(--green-main); }
    .card__excerpt {
      font-size: 14px;
      color: var(--text-soft);
      line-height: 1.55;
      flex: 1;
      margin-bottom: 10px;
    }
    .card__meta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-family: var(--font-head);
      font-size: 12px;
      color: #999;
    }

    .more-wrap { margin: 8px 0 32px; }
    .btn-more {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      width: 100%;
      padding: 15px;
      border: none;
      border-radius: 12px;
      background: var(--green-main);
      color: #fff;
      font-size: 16px;
      font-weight: 700;
      font-family: var(--font-head);
      cursor: pointer;
      transition: background .15s ease;
    }
    .btn-more:hover { background: var(--green-dark); }
    .btn-more:disabled { opacity: .6; cursor: default; }
    .btn-more__ico { font-size: 18px; line-height: 1; }
    .more-wrap__err {
      margin: 10px 0 0;
      text-align: center;
      font-family: var(--font-head);
      font-size: 14px;
      color: #c62828;
    }

    /* thumb placeholder SVGs */
    .thumb-svg { width: 100%; height: 100%; }

    /* ════════════════════════════════════════
       CALENDAR SECTION
    ════════════════════════════════════════ */
    .calendar-section {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 20px;
      box-shadow: var(--shadow-sm);
    }
    .calendar-section h2 {
      font-family: var(--font-head);
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 16px;
    }
    .cal-year-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 8px;
    }
    .cal-month {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 2px;
      text-align: center;
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 12px 8px;
      text-decoration: none;
      color: inherit;
      transition: background .15s, border-color .15s, transform .15s;
    }
    .cal-month:hover {
      background: var(--green-light);
      border-color: var(--green-mid);
      transform: translateY(-2px);
      text-decoration: none;
    }
    .cal-month__icon { font-size: 22px; line-height: 1; }
    .cal-month__name {
      font-family: var(--font-head);
      font-size: 13px;
      font-weight: 700;
      color: var(--text-dark);
    }
    .cal-month--highlight {
      border-color: var(--green-mid);
      background: var(--green-light);
    }
    .cal-month--highlight .cal-month__name { color: var(--green-dark); }
    .calendar-section__foot {
      margin-top: 14px;
      text-align: center;
    }
    .calendar-section__foot a {
      font-family: var(--font-head);
      font-size: 14px;
      font-weight: 700;
    }

    /* ════════════════════════════════════════
       SIDEBAR
    ════════════════════════════════════════ */
    .sidebar { display: flex; flex-direction: column; gap: 20px; }

    .widget {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: 0 4px 18px rgba(42, 100, 20, 0.08);
    }
    .widget__head {
      padding: 14px 16px 12px;
      border-bottom: 1px solid var(--border);
      font-family: var(--font-head);
      font-size: 16px;
      font-weight: 700;
      color: var(--text-dark);
    }
    .widget__body { padding: 0; }

    /* "What to plant now" widget */
    .plant-list {
      display: flex;
      flex-direction: column;
      margin: 0;
      padding: 0;
    }
    .plant-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 11px 16px;
      border-bottom: 1px solid var(--border);
      cursor: pointer;
      transition: background .15s;
      text-decoration: none;
      color: inherit;
    }
    .plant-item:last-child { border-bottom: none; }
    .plant-item:hover { background: var(--green-light); text-decoration: none; }
    .plant-item__left { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
    .plant-item__icon { font-size: 20px; flex-shrink: 0; }
    .plant-item__info { min-width: 0; flex: 1; }
    .plant-item__title {
      font-family: var(--font-head);
      font-size: 16px;
      font-weight: 700;
      color: var(--text-dark);
    }
    .plant-item__desc { font-size: 14px; color: var(--text-soft); line-height: 1.45; }
    .plant-item__arrow { color: #bbb; font-size: 15px; }

    /* Калькулятор посева — тизер в сайдбаре */
    .side-calc {
      border-radius: var(--radius);
      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 {
      font-family: var(--font-head);
      font-size: 16px;
      font-weight: 700;
      margin: 0;
      color: var(--text-dark);
    }
    .side-calc__desc {
      font-size: 13px;
      color: var(--text-soft);
      margin: 0 0 14px;
      line-height: 1.55;
    }
    .side-calc__btn {
      display: block;
      text-align: center;
      background: #2e7d32;
      color: #fff !important;
      padding: 11px 14px;
      border-radius: var(--radius);
      font-family: var(--font-head);
      font-size: 14px;
      font-weight: 700;
      text-decoration: none !important;
      transition: background 0.15s ease, filter 0.15s ease;
    }
    .side-calc__btn:hover {
      background: var(--green-dark);
      text-decoration: none !important;
      filter: brightness(1.02);
    }

    /* Newsletter widget */
    .newsletter-widget { padding: 16px; }
    .newsletter-widget p {
      font-size: 14px;
      color: var(--text-soft);
      margin-bottom: 12px;
      line-height: 1.55;
    }
    .newsletter-form { display: flex; flex-direction: column; gap: 8px; }
    .newsletter-form input {
      border: 1.5px solid var(--border);
      border-radius: var(--radius);
      padding: 9px 12px;
      font-size: 13px;
      font-family: var(--font-head);
      outline: none;
      transition: border-color .2s;
    }
    .newsletter-form input:focus { border-color: var(--green-mid); }
    .newsletter-form button {
      background: var(--green-main);
      color: #fff;
      border-radius: var(--radius);
      padding: 10px;
      font-family: var(--font-head);
      font-size: 14px;
      font-weight: 700;
      transition: background .2s;
    }
    .newsletter-form button:hover { background: var(--green-dark); }

    /* ════════════════════════════════════════
       FOOTER
    ════════════════════════════════════════ */
    .footer {
      background: var(--green-dark);
      color: rgba(255,255,255,.75);
      padding: 36px 0 20px;
      font-family: var(--font-head);
      font-size: 13px;
    }
    .footer__grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 32px;
      margin-bottom: 28px;
    }
    .footer__logo {
      font-size: 20px;
      font-weight: 700;
      color: #fff;
      margin-bottom: 10px;
    }
    .footer__desc { line-height: 1.6; margin-bottom: 16px; }
    .footer__col h4 {
      color: #fff;
      font-size: 14px;
      font-weight: 700;
      margin-bottom: 12px;
    }
    .footer__col ul { display: flex; flex-direction: column; gap: 7px; }
    .footer__col a { color: rgba(255,255,255,.7); }
    .footer__col a:hover { color: #fff; }
    .footer__bottom {
      border-top: 1px solid rgba(255,255,255,.12);
      padding-top: 16px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 8px;
    }
    .footer__bottom a { color: rgba(255,255,255,.6); }
    .footer__bottom a:hover { color: #fff; }

    /* ════════════════════════════════════════
       RESPONSIVE
    ════════════════════════════════════════ */
    @media (max-width: 1099px) {
      .articles-grid {
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
      }
    }
    @media (max-width: 1024px) {
      .articles-grid { grid-template-columns: repeat(2, 1fr); }
      .page-body .container { grid-template-columns: 1fr; }
      .footer__grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 600px) {
      .plant-tag { font-size: 13px; padding: 7px 14px; }
    }
    @media (max-width: 768px) {
      .hero { margin: 0; border-radius: 0; min-height: auto; }
      .hero .container { min-height: auto; padding-top: 24px; padding-bottom: 24px; }
      .hero__content { padding-right: 0; max-width: 100%; }
      .hero__subtitle br { display: none; }
      .hero__illustration { display: none; }
    }
    @media (max-width: 480px) {
      .hero-hints { gap: 8px; }
      .articles-grid { grid-template-columns: 1fr; }
      .cal-year-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
      .footer__grid { grid-template-columns: 1fr; }
    }

    /* ════════════════════════════════════════
       