:root {
      --accent-green: #2B6D3C;
      --accent-dark: #004c4b;
      --text-main: #2f3533;
      --text-secondary: #6b7280;
      --bg-soft: #f5f6f7;
      --border: #e7ebee;
      --container: 1280px;
      --radius: 22px;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: 'Inter', sans-serif;
      color: var(--text-main);
      background: linear-gradient(180deg, #f5f6f7 0, #ffffff 240px);
      line-height: 1.6;
      overflow-x: hidden;
    }
    .container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
    .breadcrumbs { padding: 140px 0 22px; }
    .breadcrumbs ul { list-style: none; display: flex; gap: 10px; color: var(--text-secondary); font-size: .92rem; }
    .breadcrumbs li::after { content: '/'; margin-left: 10px; opacity: .5; }
    .breadcrumbs li:last-child::after { content: ''; }
    .breadcrumbs a { color: inherit; text-decoration: none; }

    .hero { padding: 12px 0 30px; }
    .hero h1 {
      font-family: 'Montserrat', sans-serif;
      font-size: clamp(2rem, 4vw, 3.2rem);
      letter-spacing: -.02em;
      margin-bottom: 14px;
    }
    .hero p { color: var(--text-secondary); max-width: 900px; font-size: 1.05rem; }

    .tools {
      margin: 20px 0 36px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
    }
    .tools__right {
      min-width: 320px;
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 12px;
      flex-wrap: wrap;
    }
    .articles-count { color: var(--text-secondary); font-weight: 600; }
    .articles-count strong { color: var(--text-main); }
    .view-toggle {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      border: 1px solid #d7dee2;
      border-radius: 999px;
      background: #fff;
      padding: 4px;
      box-shadow: 0 6px 16px rgba(27, 43, 56, 0.08);
    }
    .view-toggle__btn {
      width: 36px;
      height: 36px;
      border: 1px solid #dbe3e7;
      background: #f7faf8;
      color: var(--accent-green);
      border-radius: 50%;
      padding: 0;
      cursor: pointer;
      transition: .2s;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }
    .view-toggle__btn svg { width: 18px; height: 18px; }
    .view-toggle__btn:hover {
      color: #fff;
      background: var(--accent-green);
      border-color: var(--accent-green);
      transform: translateY(-1px);
    }
    .view-toggle__btn.is-active {
      background: var(--accent-green);
      color: #fff;
      border-color: var(--accent-green);
      box-shadow: 0 8px 18px rgba(43, 109, 60, 0.28);
    }
    .search-box {
      min-width: 300px;
      max-width: 460px;
      flex: 1;
      position: relative;
    }
    .search-box input {
      width: 100%;
      border: 1px solid var(--border);
      border-radius: 999px;
      padding: 14px 18px;
      font: inherit;
      background: #fff;
      outline: none;
    }
    .search-box input:focus { border-color: var(--accent-green); }

    .articles-grid {
      display: grid;
      gap: 24px;
      padding-bottom: 80px;
    }
    .articles-grid.view-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .articles-grid.view-list { grid-template-columns: 1fr; }
    .articles-grid.view-list .article-card { flex-direction: row; }
    .articles-grid.view-list .article-card__image {
      width: 320px;
      min-width: 320px;
      aspect-ratio: auto;
    }
    .articles-grid.view-list .article-card__image img { height: 100%; }
    .articles-grid.view-list .article-card__btn { align-self: flex-start; }
    .article-card {
      border: 1px solid var(--border);
      border-radius: var(--radius);
      background: #fff;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    }
    .article-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 24px 45px rgba(0,0,0,.08);
      border-color: rgba(43,109,60,.35);
    }
    .article-card__image { display: block; aspect-ratio: 16/9; overflow: hidden; background: #edf0f2; }
    .article-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
    .article-card:hover .article-card__image img { transform: scale(1.05); }
    .article-card__body { padding: 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
    .article-card__meta { font-size: .88rem; color: var(--accent-green); font-weight: 700; }
    .article-card h2 { font-size: 1.2rem; line-height: 1.25; font-family: 'Montserrat', sans-serif; }
    .article-card h2 a { text-decoration: none; color: inherit; }
    .article-card p { color: var(--text-secondary); font-size: .96rem; }
    .article-card__btn {
      margin-top: auto;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      border: 1px solid var(--accent-green);
      color: var(--accent-green);
      border-radius: 12px;
      padding: 10px 14px;
      font-weight: 700;
      transition: .25s;
    }
    .article-card__btn:hover { background: var(--accent-green); color: #fff; }

    .empty-state {
      border: 1px dashed var(--border);
      border-radius: var(--radius);
      padding: 28px;
      text-align: center;
      color: var(--text-secondary);
      display: none;
      margin-bottom: 80px;
    }

    .reveal { opacity: 0; transform: translateY(18px); }
    .reveal.active { opacity: 1; transform: translateY(0); transition: opacity .7s ease, transform .7s ease; }
    footer {
      background: #111111;
      color: white;
      padding: 100px 0 50px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1.5fr;
      gap: 80px;
      margin-bottom: 80px;
    }
    .footer-logo img {
      height: 32px;
      width: auto;
      margin-bottom: 30px;
      display: block;
      opacity: 0.9;
      transition: opacity 0.3s;
    }
    .footer-logo:hover img { opacity: 1; }
    .footer-title {
      font-size: 1rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      margin-bottom: 30px;
      color: white;
    }
    .footer-link {
      display: block;
      color: rgba(255, 255, 255, 0.4);
      text-decoration: none;
      margin-bottom: 15px;
      font-size: 0.95rem;
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      width: fit-content;
    }
    .footer-link:hover {
      color: white;
      transform: translateX(8px);
    }
.btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 14px 26px;
      background: var(--accent);
      color: #fff;
      border-radius: 12px;
      font-weight: 700;
      font-size: .95rem;
      border: none;
      text-decoration: none;
      transition: .25s;
      line-height: 1.2;
      white-space: nowrap;
    }
    .btn:hover { filter: brightness(0.95); transform: translateY(-1px); }
    @media (max-width: 1150px) { .header__right .btn { display: none; } }

        @media (max-width: 1024px) {
      .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
      }
    }
    @media (max-width: 1024px) {
      .articles-grid.view-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .articles-grid.view-list .article-card { flex-direction: column; }
      .articles-grid.view-list .article-card__image {
        width: 100%;
        min-width: 0;
        aspect-ratio: 16/9;
      }
    }
    @media (max-width: 680px) {
      .breadcrumbs { padding-top: 116px; }
      .articles-grid.view-grid { grid-template-columns: 1fr; }
      .tools { align-items: stretch; }
      .tools__right { min-width: 0; justify-content: stretch; }
      .view-toggle { width: 100%; justify-content: center; }
      .search-box { min-width: 0; max-width: none; }
    }
