/*
Theme Name: Новая Тигромания
Theme URI:
Version: 1.0
Description: Space Tigers Rules The Galaxy! =^=ω=^=✧
Author: Djolbars
Author URI:
*/
  :root {
      --bg: #f5efe4;
      --surface: rgba(255, 248, 236, 0.92);
      --surface-strong: #fff7ea;
      --text: #2d2418;
      --muted: #6f624f;
      --line: rgba(80, 58, 26, 0.16);
      --accent: #c76f1d;
      --accent-dark: #945018;
      --forest: #304b34;
      --forest-soft: #46654a;
      --shadow: 0 18px 45px rgba(44, 28, 10, 0.16);
      --radius-xl: 28px;
      --radius-lg: 22px;
      --radius-md: 16px;
      --container: 1280px;
    }

    * { box-sizing: border-box; }

    html { scroll-behavior: smooth; }




    body {
      margin: 0;
      font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--text);
  background:
    linear-gradient(rgba(245,239,228,0.90), rgba(245,239,228,0.95)),
    url('/images/222.jpg');
  background-size: cover;
  background-attachment: fixed;
      line-height: 1.55;
    }

    img { max-width: 100%; display: block; }
    a { color: inherit; text-decoration: none; }

    .container {
      width: min(calc(100% - 32px), var(--container));
      margin: 0 auto!important;
    }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 20;
      backdrop-filter: blur(14px);
      background: rgba(34, 28, 21, 0.72);
      border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .site-header__row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      min-height: 78px;
    }

    .logo {
      display: flex;
      flex-direction: column;
      gap: 2px;
      color: #fff5e6;
    }

    .logo__title {
      font-size: 1.65rem;
      font-weight: 800;
      letter-spacing: 0.02em;
    }

    .logo__text {
      font-size: 0.92rem;
      color: rgba(255,245,230,0.76);
    }

    .nav {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      align-items: center;
    }

    .nav a {
      color: #fff9ef;
      padding: 10px 14px;
      border-radius: 999px;
      font-size: 0.95rem;
      transition: 0.2s ease;
    }

    .nav a:hover {
      background: rgba(255,255,255,0.1);
    }

    .hero {
      padding: 34px 0 28px;
    }

    .hero__card {
      position: relative;
      overflow: hidden;
      min-height: 590px;
      border-radius: 34px;
      box-shadow: var(--shadow);
      background:
        linear-gradient(90deg, rgba(26, 22, 16, 0.78) 0%, rgba(26, 22, 16, 0.42) 38%, rgba(26, 22, 16, 0.18) 100%),
        url('https://images.unsplash.com/photo-1546182990-dffeafbe841d?auto=format&fit=crop&w=1600&q=80') center center / cover;
      display: grid;
      align-items: end;
    }

    .hero__inner {
      position: relative;
      z-index: 1;
      width: min(100%, 660px);
      padding: 56px;
      color: #fff5e9;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 8px 14px;
      border-radius: 999px;
      background: rgba(255, 181, 77, 0.16);
      border: 1px solid rgba(255, 209, 149, 0.25);
      font-size: 0.94rem;
      margin-bottom: 20px;
    }

    .hero h1 {
      margin: 0 0 16px;
      font-size: clamp(2.5rem, 4vw, 4.5rem);
      line-height: 0.98;
      letter-spacing: -0.03em;
    }

    .hero p {
      margin: 0;
      max-width: 58ch;
      font-size: 1.05rem;
      color: rgba(255, 244, 231, 0.88);
    }

    .hero__actions {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      margin-top: 28px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 50px;
      padding: 0 22px;
      border-radius: 999px;
      font-weight: 700;
      transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    }

    .btn:hover { transform: translateY(-1px); }

    .btn--primary {
      background: linear-gradient(180deg, #dc832c, #bf6617);
      color: #fff;
      box-shadow: 0 12px 26px rgba(191, 102, 23, 0.28);
    }

    .btn--secondary {
      border: 1px solid rgba(255,255,255,0.2);
      background: rgba(255,255,255,0.08);
      color: #fff9ef;
    }

    .hero__stats {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px;
      margin-top: 34px;
    }

    .hero__stat {
      padding: 18px 18px 16px;
      border-radius: 18px;
      background: rgba(255,255,255,0.1);
      border: 1px solid rgba(255,255,255,0.12);
    }

    .hero__stat strong {
      display: block;
      font-size: 1.5rem;
      margin-bottom: 4px;
    }

    .main-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 340px;
      gap: 28px;
      margin: 10px 0 60px;
    }

    .stack {
      display: grid;
      gap: 28px;
      margin-bottom:25px;
    }

    .section-card,
    .sidebar-card {
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: var(--radius-xl);
      box-shadow: var(--shadow);
    }

    .section-card {
      padding: 28px;
    }

    .section-head {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 22px;
    }

    .section-head h2 {
      margin: 0;
      font-size: 1.7rem;
      line-height: 1.1;
    }

    .section-head p {
      margin: 8px 0 0;
      color: var(--muted);
      max-width: 60ch;
    }

    .section-link {
      color: var(--accent-dark);
      font-weight: 700;
      white-space: nowrap;
    }

    .directions {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
    }

    .direction {
      padding: 22px;
      background: linear-gradient(180deg, rgba(255,255,255,0.5), rgba(255,255,255,0.72));
      border-radius: 22px;
      border: 1px solid rgba(88, 63, 28, 0.1);
    }

    .direction__icon {
      width: 48px;
      height: 48px;
      display: grid;
      place-items: center;
      border-radius: 14px;
      background: rgba(199, 111, 29, 0.14);
      margin-bottom: 16px;
      font-size: 1.35rem;
    }

    .direction h3,
    .story h3,
    .post h3,
    .sidebar-card h3,
    .feature h3 {
      margin: 0 0 10px;
      line-height: 1.15;
    }

    .direction p,
    .story p,
    .post p,
    .feature p,
    .sidebar-card p,
    .sidebar-card li {
      margin: 0;
      color: var(--muted);
    }

    .news-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 18px;
    }

    .post {
      overflow: hidden;
      border-radius: 24px;
      background: linear-gradient(180deg, #fff7eb, #fffdf9);
      border: 1px solid rgba(80, 58, 26, 0.12);
    }

    .post__thumb {
      aspect-ratio: 16 / 9;
      background: #ddd center / cover;
    }

    .post__body {
      padding: 20px 20px 22px;
    }

    .post__meta {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      font-size: 0.88rem;
      color: var(--accent-dark);
      margin-bottom: 10px;
      font-weight: 600;
    }

    .feature {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 22px;
      align-items: center;
      overflow: hidden;
      border-radius: 28px;
      border: 1px solid rgba(80, 58, 26, 0.12);
      background: linear-gradient(135deg, rgba(54, 83, 58, 0.98), rgba(104, 66, 28, 0.94));
      color: #fff4e7;
    }

    .feature__content {
      padding: 28px 28px 28px 32px;
    }

    .feature__media {
      min-height: 100%;
      background: url('https://images.unsplash.com/photo-1474511320723-9a56873867b5?auto=format&fit=crop&w=1000&q=80') center / cover;
    }

    .feature p { color: rgba(255,244,231,0.82); }

    .feature .btn--secondary {
      background: rgba(255,255,255,0.12);
      border-color: rgba(255,255,255,0.16);
      margin-top: 18px;
    }

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

    .story {
      padding: 22px;
      border-radius: 22px;
      background: linear-gradient(180deg, rgba(255,255,255,0.45), rgba(255,255,255,0.8));
      border: 1px solid rgba(80, 58, 26, 0.12);
    }

    .sidebar {
      display: grid;
      gap: 22px;
      align-self: start;
      position: sticky;
      top: 98px;
    }

    .sidebar-card {
      padding: 22px;
    }

    .sidebar-card h3 {
      font-size: 1.2rem;
      margin-bottom: 14px;
    }

    .sidebar-list {
      display: grid;
      gap: 14px;
    }

    .mini-post {
      display: grid;
      grid-template-columns: 88px 1fr;
      gap: 12px;
      align-items: start;
      padding-bottom: 14px;
      border-bottom: 1px solid rgba(80, 58, 26, 0.08);
    }

    .mini-post:last-child {
      border-bottom: 0;
      padding-bottom: 0;
    }

    .mini-post__thumb {
      width: 88px;
      aspect-ratio: 1 / 1;
      border-radius: 14px;
      background: #ddd center / cover;
    }

    .mini-post strong {
      display: block;
      margin-bottom: 6px;
      line-height: 1.2;
    }

    .tag-cloud {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .tag {
      display: inline-flex;
      align-items: center;
      min-height: 36px;
      padding: 0 14px;
      border-radius: 999px;
      background: rgba(199, 111, 29, 0.1);
      color: var(--accent-dark);
      font-weight: 600;
      font-size: 0.93rem;
    }

    .support {
      background: linear-gradient(180deg, #fff0d8, #ffe7c5);
    }

    .support .btn--primary {
      width: 100%;
      margin-top: 16px;
    }

    .site-footer {
      padding: 0 0 42px;
    }

    .site-footer__inner {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      padding: 26px 28px;
      border-radius: 26px;
      border: 1px solid var(--line);
      background: rgba(46, 37, 25, 0.9);
      color: rgba(255,245,230,0.82);
      box-shadow: var(--shadow);
    }

    .site-footer nav {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
    }

    @media (max-width: 1100px) {
      .main-grid {
        grid-template-columns: 1fr;
      }

      .sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .directions,
      .stories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 820px) {
      .site-header {
        position: static;
      }

      .site-header__row,
      .section-head,
      .feature,
      .site-footer__inner {
        display: block;
      }

      .nav {
        margin-top: 14px;
      }

      .hero__card {
        min-height: 520px;
      }

      .hero__inner {
        padding: 28px;
      }

      .hero__stats,
      .directions,
      .stories,
      .news-grid,
      .sidebar {
        grid-template-columns: 1fr;
      }

      .feature__media {
        min-height: 260px;
      }

      .section-link {
        display: inline-block;
        margin-top: 12px;
      }
    }