*, *::before, *::after { box-sizing: border-box; }

:root {
  --wg: #18C75A;
  --dg: #11984D;
  --dg2: #0C7038;
  --no: #FF6B1A;
  --ms: #F3FBF6;
  --ink: #10221A;
  --ink70: rgba(16,34,26,.70);
  --ink45: rgba(16,34,26,.45);
  --border: rgba(0,0,0,.08);
  --dark: #071810;
  --dark2: #0C3020;
  --white: #fff;
  --font-display: "Be Vietnam Pro", sans-serif;
  --font-body: "Inter", sans-serif;
}

html { scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
.container { margin: 0 auto; width: min(100% - 88px, 1160px); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: 0;
  line-height: 1.16;
  margin: 0;
}

h1 {
  color: var(--white);
  font-size: clamp(40px, 6vw, 70px);
  font-weight: 800;
  max-width: 820px;
}

h2 {
  color: var(--ink);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
}

h3 {
  color: var(--ink);
  font-size: 21px;
  font-weight: 800;
}

p { color: var(--ink70); margin: 0; }

.nav {
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-row {
  align-items: center;
  display: flex;
  gap: 28px;
  height: 72px;
  justify-content: space-between;
}

.logo-img { height: 36px; object-fit: contain; width: auto; }
.nav-links {
  align-items: center;
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a,
.footer a {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active { color: var(--dg); }
.nav-actions { align-items: center; display: flex; gap: 14px; }

.lang-switch {
  align-items: center;
  background: rgba(17,152,77,.06);
  border: 1px solid rgba(17,152,77,.12);
  border-radius: 999px;
  display: inline-flex;
  padding: 3px;
}

.lang-switch button {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--ink45);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  padding: 8px 9px;
}

.lang-switch button.is-active {
  background: var(--white);
  box-shadow: 0 4px 10px rgba(17,152,77,.10);
  color: var(--dg);
}

.btn {
  align-items: center;
  border: 0;
  border-radius: 10px;
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  justify-content: center;
  min-height: 44px;
  padding: 12px 20px;
  text-decoration: none;
  white-space: nowrap;
}

.btn-green { background: var(--dg); color: var(--white); }
.btn-green:hover { background: var(--dg2); }
.btn-white { background: var(--white); color: var(--dg); }
.btn-white:hover { box-shadow: 0 16px 40px rgba(0,0,0,.14); }

.news-hero {
  background:
    radial-gradient(circle at 74% 22%, rgba(24,199,90,.18), transparent 28%),
    linear-gradient(130deg, var(--dark) 0%, var(--dark2) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 94px 0 88px;
  position: relative;
}

.news-hero::before {
  background-image: url("worknow-symbol-stroke.svg");
  background-position: left -110px top 36px, right -120px bottom -80px;
  background-repeat: no-repeat;
  background-size: 560px auto, 660px auto;
  content: "";
  inset: 0;
  opacity: .08;
  pointer-events: none;
  position: absolute;
}

.hero-grid {
  align-items: end;
  display: grid;
  gap: 60px;
  grid-template-columns: minmax(0, 1fr) 330px;
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-tag {
  color: var(--dg);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.news-hero .eyebrow { color: var(--wg); }
.hero-copy p {
  color: rgba(255,255,255,.72);
  font-size: 18px;
  margin-top: 24px;
  max-width: 760px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.hero-pills span {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  color: rgba(255,255,255,.82);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  padding: 8px 12px;
}

.hero-panel {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10);
  padding: 28px;
}

.panel-label {
  color: rgba(255,255,255,.70);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.panel-number {
  color: var(--wg);
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  margin: 16px 0;
}

.hero-panel p { color: rgba(255,255,255,.72); font-size: 14px; }

.brand-stroke {
  overflow: hidden;
  position: relative;
}

.brand-stroke::before {
  background-image: url("worknow-symbol-stroke.svg");
  background-position: left -130px top 70px, right -170px bottom 90px;
  background-repeat: no-repeat;
  background-size: 540px auto, 640px auto;
  content: "";
  inset: 0;
  opacity: .05;
  pointer-events: none;
  position: absolute;
}

.brand-stroke > .container { position: relative; z-index: 1; }
.featured-section { padding: 82px 0 44px; }
.archive-section { padding: 54px 0 96px; }

.section-head,
.archive-top {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 34px;
}

.split-head h2,
.archive-top h2 { max-width: 720px; }
.text-link {
  color: var(--dg);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.featured-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  min-height: 430px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(17,152,77,.08);
}

.featured-media {
  min-height: 430px;
  overflow: hidden;
  position: relative;
}

.featured-media img,
.card-media img {
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
  width: 100%;
}

.featured-card:hover img,
.article-card:hover img { transform: scale(1.035); }
.featured-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
}

.meta-row {
  align-items: center;
  color: var(--ink45);
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 700;
  gap: 8px;
  margin-bottom: 18px;
}

.badge {
  border-radius: 999px;
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  padding: 8px 10px;
}

.badge.green { background: rgba(24,199,90,.14); color: var(--dg); }
.badge.orange { background: rgba(255,107,26,.14); color: var(--no); }
.badge.dark { background: rgba(16,34,26,.08); color: var(--ink); }
.featured-content p { margin-top: 16px; }
.featured-content .text-link { margin-top: 28px; }

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  max-width: 520px;
}

.filter-row button,
.filter-row a {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--ink70);
  cursor: pointer;
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  padding: 9px 12px;
  text-decoration: none;
}

.filter-row button.is-active,
.filter-row a.is-active {
  background: var(--dg);
  border-color: var(--dg);
  color: var(--white);
}

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

.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.article-card:hover {
  border-color: rgba(17,152,77,.24);
  box-shadow: 0 18px 48px rgba(17,152,77,.08);
  transform: translateY(-3px);
}

.card-media {
  aspect-ratio: 1.52 / 1;
  overflow: hidden;
  position: relative;
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.card-body h3 {
  font-size: 18px;
  line-height: 1.34;
  margin-bottom: 12px;
}

.card-body p {
  font-size: 13px;
  line-height: 1.65;
}

.card-body .text-link { margin-top: auto; padding-top: 22px; }

.news-pagination {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 42px;
}

.news-pagination .page-numbers {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--ink70);
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  min-width: 42px;
  padding: 0 14px;
  text-decoration: none;
}

.news-pagination .page-numbers.current,
.news-pagination .page-numbers:hover {
  background: var(--dg);
  border-color: var(--dg);
  color: var(--white);
}

.media-cta {
  background:
    radial-gradient(circle at 82% 28%, rgba(24,199,90,.18), transparent 28%),
    linear-gradient(125deg, var(--dark2), var(--dark));
  color: var(--white);
  overflow: hidden;
  padding: 76px 0;
  position: relative;
}

.media-cta::before {
  background-image: url("worknow-symbol-stroke.svg");
  background-position: right -130px center;
  background-repeat: no-repeat;
  background-size: 620px auto;
  content: "";
  inset: 0;
  opacity: .08;
  pointer-events: none;
  position: absolute;
}

.cta-grid {
  align-items: center;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 1fr) auto;
  position: relative;
  z-index: 1;
}

.section-tag.light { color: var(--wg); }
.media-cta h2 { color: var(--white); max-width: 760px; }
.media-cta p {
  color: rgba(255,255,255,.72);
  margin-top: 18px;
  max-width: 760px;
}

.footer {
  background: #061A11;
  color: rgba(255,255,255,.70);
  padding: 62px 0 28px;
}

.footer-grid {
  display: grid;
  gap: 44px;
  grid-template-columns: 2.5fr repeat(3, 1fr);
  padding-bottom: 42px;
}

.footer h4 {
  color: var(--white);
  font-size: 15px;
  margin: 0 0 16px;
}

.footer p { color: rgba(255,255,255,.62); margin-top: 16px; max-width: 360px; }
.footer .logo-img { height: 32px; }
.footer-contact {
  color: rgba(255,255,255,.58);
  display: grid;
  gap: 4px;
  font-size: 14px;
  margin-top: 20px;
}
.footer ul {
  display: grid;
  gap: 9px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer a {
  color: rgba(255,255,255,.58);
  display: block;
  font-size: 14px;
  text-decoration: none;
}

.footer a:hover { color: var(--wg); }
.footer-bottom {
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding-top: 24px;
}
.footer-bottom p,
.footer-lang {
  color: rgba(255,255,255,.52);
  font-size: 12px;
}
.footer-lang .lang-switch {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.12);
}

@media (max-width: 980px) {
  .container { width: min(100% - 40px, 1160px); }
  .nav-links { display: none; }
  .hero-grid,
  .featured-card,
  .cta-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .hero-panel { max-width: 420px; }
  .section-head,
  .archive-top { align-items: flex-start; flex-direction: column; }
  .filter-row { justify-content: flex-start; max-width: none; }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1160px); }
  .nav-row { height: auto; padding: 12px 0; }
  .logo-img { height: 31px; }
  .nav-actions { gap: 8px; }
  .nav-actions .btn { display: none; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .news-hero { padding: 70px 0 64px; }
  h1 { font-size: 42px; }
  .hero-copy p { font-size: 16px; }
  .featured-section { padding-top: 58px; }
  .archive-section { padding-bottom: 70px; }
  .featured-content { padding: 28px; }
  .featured-media { min-height: 280px; }
  .news-grid { grid-template-columns: 1fr; }
  .media-cta { padding: 58px 0; }
}
