:root{
  --green:#044a29;
  --green-dark:#03351e;
  --text:#111827;
  --muted:#6b7280;
  --line:#e5e7eb;
  --soft:#f8fafc;
  --white:#ffffff;
  --container:1280px;
  --container-narrow:860px;
  --radius:22px;
  --shadow:0 20px 60px rgba(17,24,39,.08);
}

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

html{
  -webkit-text-size-adjust:100%;
  scroll-behavior:smooth;
}

body{
  margin:0;
  background:var(--white);
  color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  font-size:16px;
  line-height:1.65;
}

img{
  max-width:100%;
  height:auto;
  display:block;
}

a{
  color:inherit;
  text-decoration:none;
}

.site{
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

.site-main{
  flex:1;
}

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

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

.section-space{
  padding:56px 0;
}

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(229,231,235,.9);
}

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

.site-branding{
  flex:0 0 auto;
}

.site-branding img{
  max-height:54px;
  width:auto;
}

.site-branding__text{
  font-size:22px;
  font-weight:800;
  letter-spacing:-.02em;
  color:var(--green);
}

.main-navigation{
  margin-left:auto;
}

.main-navigation ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  align-items:center;
  gap:22px;
}

.main-navigation li{
  margin:0;
  padding:0;
}

.main-navigation a{
  font-size:15px;
  font-weight:600;
  color:var(--text);
  transition:.2s ease;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a{
  color:var(--green);
}

.menu-toggle{
  display:none;
  width:46px;
  height:46px;
  border:1px solid var(--line);
  background:var(--white);
  border-radius:14px;
  padding:0;
  cursor:pointer;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
}

.menu-toggle span{
  display:block;
  width:18px;
  height:2px;
  background:var(--text);
  border-radius:2px;
}

/* Hero */
.front-hero{
  padding:72px 0 40px;
}

.front-hero__box{
  background:linear-gradient(135deg,#044a29 0%,#06643a 100%);
  color:#fff;
  border-radius:32px;
  padding:64px 40px;
  box-shadow:var(--shadow);
}

.front-hero__title{
  margin:0 0 10px;
  font-size:clamp(34px,5vw,62px);
  line-height:1.02;
  letter-spacing:-.03em;
}

.front-hero__text{
  margin:0;
  font-size:18px;
  color:rgba(255,255,255,.88);
}

/* Entries */
.entry-single,
.entry-content-wrap,
.card,
.empty-state,
.archive-header{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:28px;
  box-shadow:var(--shadow);
}

.entry-single,
.entry-content-wrap{
  padding:32px;
}

.entry-header{
  margin-bottom:22px;
}

.entry-title,
.archive-title{
  margin:0 0 10px;
  font-size:clamp(28px,4vw,46px);
  line-height:1.08;
  letter-spacing:-.02em;
}

.entry-meta,
.archive-description,
.card-meta{
  color:var(--muted);
  font-size:14px;
}

.entry-content > *:first-child{
  margin-top:0;
}

.entry-content > *:last-child{
  margin-bottom:0;
}

.entry-thumbnail{
  margin:0 0 26px;
  overflow:hidden;
  border-radius:22px;
}

.entry-thumbnail img{
  width:100%;
  height:auto;
}

/* Grid */
.post-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}

.card{
  overflow:hidden;
  transition:transform .2s ease, box-shadow .2s ease;
}

.card:hover{
  transform:translateY(-3px);
}

.card-link{
  display:block;
  height:100%;
}

.card-thumb{
  aspect-ratio:16/10;
  overflow:hidden;
  background:#f3f4f6;
}

.card-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.card-body{
  padding:24px;
}

.card-title{
  margin:0 0 8px;
  font-size:24px;
  line-height:1.15;
  letter-spacing:-.02em;
}

.card-excerpt > *:last-child{
  margin-bottom:0;
}

/* Footer */
.site-footer{
  margin-top:40px;
  padding:40px 0 0;
  border-top:1px solid var(--line);
  background:var(--soft);
}

.site-footer__top{
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:32px;
  padding-bottom:28px;
}

.footer-title{
  font-size:22px;
  font-weight:800;
  letter-spacing:-.02em;
  color:var(--green);
  margin-bottom:8px;
}

.footer-desc{
  color:var(--muted);
}

.site-footer__widgets{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}

.site-footer__bottom{
  border-top:1px solid var(--line);
  padding:18px 0 26px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
}

.footer-navigation ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  gap:18px;
  flex-wrap:wrap;
}

.site-footer__copy{
  color:var(--muted);
  font-size:14px;
}

/* Widgets */
.widget{
  margin-bottom:20px;
}

.widget:last-child{
  margin-bottom:0;
}

.widget-title{
  margin:0 0 12px;
  font-size:18px;
}

/* Search */
.search-form{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.search-field{
  min-width:220px;
  flex:1;
  height:48px;
  border:1px solid var(--line);
  border-radius:14px;
  padding:0 14px;
  font-size:15px;
}

.search-submit,
.button,
button,
input[type="submit"]{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 18px;
  border:none;
  border-radius:14px;
  background:var(--green);
  color:#fff;
  font-size:15px;
  font-weight:700;
  cursor:pointer;
  transition:.2s ease;
}

.search-submit:hover,
.button:hover,
button:hover,
input[type="submit"]:hover{
  background:var(--green-dark);
}

/* Content base */
h1,h2,h3,h4,h5,h6{
  line-height:1.15;
}

p,ul,ol,blockquote{
  margin:0 0 18px;
}

ul,ol{
  padding-left:22px;
}

blockquote{
  padding:18px 20px;
  border-left:4px solid var(--green);
  background:#f8faf9;
  border-radius:16px;
}

/* Pagination */
.pagination-wrap{
  margin-top:28px;
}

.nav-links{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.page-numbers{
  min-width:44px;
  height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 14px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
}

.page-numbers.current{
  background:var(--green);
  color:#fff;
  border-color:var(--green);
}

/* Empty */
.empty-state{
  padding:40px 28px;
  text-align:center;
}

/* Accessibility */
.screen-reader-text{
  border:0;
  clip:rect(1px, 1px, 1px, 1px);
  -webkit-clip-path:inset(50%);
  clip-path:inset(50%);
  height:1px;
  margin:-1px;
  overflow:hidden;
  padding:0;
  position:absolute !important;
  width:1px;
  word-wrap:normal !important;
}

.screen-reader-text:focus{
  clip:auto !important;
  -webkit-clip-path:none;
  clip-path:none;
  background:#fff;
  color:#000;
  display:block;
  height:auto;
  left:10px;
  line-height:normal;
  padding:12px 16px;
  text-decoration:none;
  top:10px;
  width:auto;
  z-index:100000;
  border-radius:12px;
  box-shadow:var(--shadow);
}

/* Responsive */
@media (max-width: 1024px){
  .post-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .site-footer__top{
    grid-template-columns:1fr;
  }
}

@media (max-width: 820px){
  .menu-toggle{
    display:flex;
  }

  .main-navigation{
    position:absolute;
    top:79px;
    left:0;
    right:0;
    background:#fff;
    border-bottom:1px solid var(--line);
    padding:0 16px 16px;
    display:none;
  }

  .main-navigation.is-open{
    display:block;
  }

  .main-navigation ul{
    flex-direction:column;
    align-items:flex-start;
    gap:0;
    padding-top:8px;
  }

  .main-navigation li{
    width:100%;
  }

  .main-navigation a{
    display:block;
    width:100%;
    padding:14px 0;
    border-bottom:1px solid #f0f2f4;
  }

  .front-hero__box{
    padding:40px 24px;
    border-radius:24px;
  }
}

@media (max-width: 640px){
  .section-space{
    padding:36px 0;
  }

  .post-grid{
    grid-template-columns:1fr;
  }

  .entry-single,
  .entry-content-wrap,
  .card-body,
  .empty-state{
    padding:22px;
  }

  .site-header__inner{
    min-height:72px;
  }

  .site-branding img{
    max-height:46px;
  }

  .site-footer__widgets{
    grid-template-columns:1fr;
  }

  .site-footer__bottom{
    flex-direction:column;
    align-items:flex-start;
  }
}