:root {
  --green: #4fc516;
  --green-strong: #2a9c12;
  --green-dark: #063f25;
  --green-soft: #eefbe9;
  --gold: #f4c341;
  --gold-deep: #d79a12;
  --text: #171b20;
  --muted: #5d6670;
  --line: #e7ecdf;
  --surface: #ffffff;
  --soft: #f8fbf4;
  --shadow: 0 22px 55px rgba(24, 59, 26, 0.12);
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #ffffff;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.72;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 142px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 700;
  color: #2f3439;
}

.main-nav a {
  min-height: 84px;
  display: inline-flex;
  align-items: center;
  border-bottom: 4px solid transparent;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--green-strong);
  border-bottom-color: var(--green);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #12300e;
  background: linear-gradient(135deg, #f9df72, #f4c341 48%, #7add25);
  box-shadow: 0 10px 24px rgba(79, 197, 22, 0.24);
}

.btn-green {
  color: #ffffff;
  background: linear-gradient(135deg, #5fd51d, #2eaa12);
  box-shadow: 0 10px 24px rgba(46, 170, 18, 0.24);
}

.btn-outline {
  color: var(--green-dark);
  background: #ffffff;
  border-color: var(--green);
}

.btn-dark {
  color: #ffffff;
  background: rgba(0, 0, 0, 0.34);
  border-color: rgba(255, 255, 255, 0.72);
}

.hero {
  padding: 48px 0 34px;
}

.hero-title {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.2;
  font-weight: 900;
}

.hero-title span {
  color: var(--green-strong);
}

.hero-banner {
  position: relative;
  min-height: 395px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--green-dark);
  box-shadow: var(--shadow);
}

.hero-banner > img {
  width: 100%;
  height: 100%;
  min-height: 395px;
  object-fit: cover;
}

.hero-copy {
  position: absolute;
  inset: 0 auto 0 0;
  width: min(530px, 52%);
  padding: 58px 0 58px 58px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.34);
}

.hero-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(31px, 3.2vw, 48px);
  line-height: 1.05;
  font-weight: 900;
}

.hero-copy strong {
  color: var(--gold);
}

.hero-copy p {
  max-width: 430px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  line-height: 1.65;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.section {
  padding: 34px 0;
}

.section-heading {
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--green-strong);
  font-size: clamp(26px, 2.3vw, 34px);
  line-height: 1.2;
  font-weight: 900;
}

.section-heading::before {
  content: "";
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 2px solid var(--green);
  border-radius: 9px;
  background:
    radial-gradient(circle at 50% 50%, var(--green) 0 4px, transparent 5px),
    linear-gradient(45deg, transparent 43%, var(--green) 44% 56%, transparent 57%),
    #f6fff2;
}

.content-block {
  max-width: 1060px;
  margin: 0 auto;
}

.content-block p {
  margin: 0 0 18px;
  color: #30363c;
}

.feature-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.feature-list li {
  position: relative;
  padding-left: 30px;
  color: #2c3338;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: inset 0 0 0 4px #ffffff;
}

.category-table {
  overflow: hidden;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.category-row {
  display: grid;
  grid-template-columns: 245px 1fr;
  min-height: 68px;
  border-top: 1px solid var(--line);
}

.category-row:first-child {
  border-top: 0;
}

.category-row.is-head {
  min-height: 50px;
  background: linear-gradient(90deg, #effbe8, #ffffff);
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 900;
}

.category-cell {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-left: 1px solid var(--line);
}

.category-cell:first-child {
  border-left: 0;
}

.category-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  border-radius: 9px;
  color: #ffffff;
  background: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.news-section {
  padding: 46px 0 54px;
}

.center-title {
  margin: 0 auto 32px;
  width: fit-content;
  position: relative;
  text-align: center;
  font-size: clamp(28px, 2.7vw, 38px);
  line-height: 1.2;
  font-weight: 900;
}

.center-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -16px;
  width: 190px;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.news-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(23, 27, 32, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.news-card:hover {
  transform: translateY(-3px);
  border-color: rgba(79, 197, 22, 0.45);
  box-shadow: 0 18px 38px rgba(39, 78, 28, 0.13);
}

.news-card figure {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--green-soft);
}

.news-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-body {
  padding: 18px 18px 20px;
}

.news-meta {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #667079;
  font-size: 12px;
}

.news-meta span:first-child {
  padding: 4px 8px;
  border-radius: 5px;
  color: var(--green-dark);
  background: var(--green-soft);
  font-weight: 800;
}

.news-card h3 {
  min-height: 62px;
  margin: 0 0 10px;
  color: #14191d;
  font-size: 18px;
  line-height: 1.34;
  font-weight: 900;
}

.news-card p {
  min-height: 72px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-strong);
  font-size: 14px;
  font-weight: 900;
}

.read-more::after {
  content: "";
  width: 18px;
  height: 10px;
  background: currentColor;
  clip-path: polygon(0 40%, 66% 40%, 66% 0, 100% 50%, 66% 100%, 66% 60%, 0 60%);
}

.section-actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.pager {
  margin-top: 28px;
  text-align: center;
  color: var(--green-dark);
  font-weight: 800;
}

.faq {
  padding: 38px 0 58px;
}

.faq-list {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #ffffff;
}

.faq-row {
  min-height: 54px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: #30363c;
  font-size: 15px;
}

.faq-row:first-child {
  border-top: 0;
}

.faq-row::after {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-right: 2px solid #596169;
  border-bottom: 2px solid #596169;
  transform: rotate(45deg);
}

.site-footer {
  border-top: 4px solid var(--green);
  background: #fbfdf8;
}

.footer-grid {
  padding: 38px 0 32px;
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.2fr;
  gap: 32px;
}

.footer-logo {
  width: 120px;
  margin-bottom: 14px;
}

.footer-grid h3 {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 16px;
  font-weight: 900;
}

.footer-grid p,
.footer-grid li {
  color: #59636a;
  font-size: 14px;
  line-height: 1.65;
}

.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-grid li + li {
  margin-top: 8px;
}

.payment-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.payment-list span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--green-dark);
  background: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.footer-bottom {
  padding: 16px 0;
  color: #ffffff;
  background: linear-gradient(90deg, var(--green-strong), #66d414);
  font-size: 13px;
}

.footer-bottom .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.article-page {
  padding: 44px 0 60px;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 38px;
  align-items: start;
}

.article-main {
  min-width: 0;
}

.article-hero {
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.article-hero h1 {
  margin: 0 0 14px;
  color: #11161b;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.18;
  font-weight: 900;
}

.article-meta {
  color: var(--muted);
  font-size: 14px;
}

.article-content {
  color: #273038;
  font-size: 17px;
  line-height: 1.85;
}

.article-content h2,
.article-content h3 {
  margin: 30px 0 12px;
  color: var(--green-strong);
  line-height: 1.25;
}

.article-content p {
  margin: 0 0 18px;
}

.article-content img {
  border-radius: var(--radius);
  margin: 24px 0;
}

.article-sidebar {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 18px;
}

.side-panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(23, 27, 32, 0.06);
}

.side-panel h3 {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 18px;
  font-weight: 900;
}

.side-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.side-panel li + li {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.side-panel a {
  color: #2c3338;
  font-size: 14px;
  font-weight: 800;
}

.side-cta {
  color: #ffffff;
  background: linear-gradient(145deg, var(--green-dark), #0c5a32 55%, #143116);
  border-color: rgba(255, 255, 255, 0.1);
}

.side-cta h3,
.side-cta p {
  color: #ffffff;
}

.side-cta p {
  margin: 0 0 18px;
  opacity: 0.88;
}

@media (max-width: 980px) {
  .header-inner {
    min-height: auto;
    padding: 16px 0;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 20px;
    overflow-x: auto;
  }

  .main-nav a {
    min-height: 36px;
    white-space: nowrap;
  }

  .hero-copy {
    width: 68%;
    padding-left: 34px;
  }

  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid,
  .article-shell {
    grid-template-columns: 1fr 1fr;
  }

  .article-main {
    grid-column: 1 / -1;
  }

  .article-sidebar {
    position: static;
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(100% - 28px, 1180px);
  }

  .brand img {
    width: 116px;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .header-actions .btn {
    flex: 1;
  }

  .btn {
    min-height: 44px;
    padding: 0 16px;
    font-size: 14px;
  }

  .hero {
    padding-top: 30px;
  }

  .hero-title {
    margin-bottom: 24px;
    text-align: left;
  }

  .hero-banner {
    min-height: 560px;
  }

  .hero-banner > img {
    min-height: 560px;
    object-position: 64% center;
  }

  .hero-copy {
    width: 100%;
    justify-content: flex-start;
    padding: 34px 22px 0;
    background: linear-gradient(180deg, rgba(3, 32, 18, 0.82), rgba(3, 32, 18, 0.08) 58%, rgba(3, 32, 18, 0));
  }

  .category-row {
    grid-template-columns: 1fr;
  }

  .category-cell {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .category-row.is-head .category-cell + .category-cell {
    display: none;
  }

  .news-grid,
  .footer-grid,
  .article-sidebar {
    grid-template-columns: 1fr;
  }

  .news-card h3,
  .news-card p {
    min-height: 0;
  }

  .footer-bottom .wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* codex-j188-content:start */
.directory-section {
  background: linear-gradient(180deg, #ffffff, #f7fbf2);
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.directory-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 20px;
  box-shadow: 0 14px 30px rgba(23, 27, 32, 0.07);
}

.directory-card h3 {
  margin: 14px 0 8px;
  font-size: 20px;
  line-height: 1.25;
}

.directory-card p {
  min-height: 112px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.article-hero p {
  margin: 14px 0 0;
  color: #41505a;
  font-size: 17px;
}

.topic-tags {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topic-tags span {
  padding: 6px 10px;
  border-radius: 6px;
  color: var(--green-dark);
  background: var(--green-soft);
  font-size: 13px;
  font-weight: 800;
}

.article-content a {
  color: var(--green-strong);
  font-weight: 800;
}

.check-list {
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 10px 0;
}

.check-list span {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #fff;
  background: var(--green);
  font-weight: 900;
}

.faq-row.rich {
  min-height: 74px;
  display: grid;
  grid-template-columns: minmax(210px, 0.42fr) 1fr;
  align-items: center;
}

.faq-row.rich strong {
  color: var(--green-dark);
}

.faq-row.rich span {
  color: var(--muted);
  line-height: 1.55;
}

.faq-row.rich::after {
  display: none;
}

@media (max-width: 1100px) {
  .directory-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .directory-grid {
    grid-template-columns: 1fr;
  }

  .directory-card p {
    min-height: 0;
  }

  .faq-row.rich {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 18px;
  }
}
/* codex-j188-content:end */
