:root {
  --green: #5d8d39;
  --green-dark: #3e6724;
  --pink: #e5359f;
  --ink: #263126;
  --muted: #6c756d;
  --line: #e4e9e1;
  --paper: #ffffff;
  --soft: #f4f7f1;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #edf1ea;
  color: var(--ink);
  font: 15px/1.65 "Droid Sans", Arial, sans-serif;
}

a {
  color: var(--green-dark);
  text-decoration: none;
}

a:hover { color: var(--pink); }

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

ul { margin: 0; padding: 0; list-style: none; }

.main-container {
  width: min(1120px, calc(100% - 32px));
  margin: 28px auto;
  overflow: hidden;
  background: var(--paper);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(44, 61, 40, .12);
}

.trending-articles {
  padding: 10px 28px;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
}

.trending-articles ul {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
}

.trending-articles a { color: #dfead8; }
.trending-articles .firstlink { color: #fff; font-weight: 700; }

.site-header { padding: 24px 32px 18px; }

.site-branding {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

#logo { flex: 0 0 auto; margin: 0; }
#logo img { width: 331px; max-width: 100%; }

.primary-navigation { flex: 1; }
.primary-navigation .menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

.primary-navigation a {
  display: block;
  padding: 9px 10px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.primary-navigation a:hover,
.primary-navigation .current-menu-item > a {
  background: var(--green);
  color: #fff;
}

#pull { display: none; }

.header-bottom-second {
  padding: 14px 32px;
  background: var(--soft);
  border-block: 1px solid var(--line);
}

#header-widget-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.widget-header,
.adsbygoogle { display: none !important; }

.topad {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.header-button {
  display: inline-block;
  margin-right: 12px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-weight: 700;
}

.featuredBox {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(2, 155px);
  gap: 12px;
  padding: 28px 32px;
}

.featuredBox .excerpt {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #d9e2d4;
}

.featuredBox .firstpost { grid-row: 1 / 3; }
.featuredBox .secondpost { grid-row: 1 / 3; }

.featuredBox a,
.featuredBox img {
  width: 100%;
  height: 100%;
}

.featuredBox img {
  object-fit: cover;
  transition: transform .35s ease;
}

.featuredBox a:hover img { transform: scale(1.04); }

.featured-excerpt {
  position: absolute;
  inset: auto 0 0;
  margin: 0;
  padding: 36px 16px 15px;
  background: linear-gradient(transparent, rgba(16, 25, 14, .88));
  color: #fff;
}

.featured-title {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.f-excerpt { display: block; margin-top: 5px; font-size: 12px; opacity: .85; }

#page { padding: 4px 32px 34px; }

.content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 34px;
  align-items: start;
}

.frontTitle {
  margin: 0 0 20px;
  border-bottom: 2px solid var(--green);
  font-size: 18px;
  text-transform: uppercase;
}

.frontTitle .latest {
  display: inline-block;
  padding: 8px 16px;
  background: var(--green);
  color: #fff;
  border-radius: 8px 8px 0 0;
}

.article > .pexcerpt {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 8px 22px;
  position: relative;
  min-height: 190px;
  margin-bottom: 22px;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--line);
}

.article > .pexcerpt > #featured-thumbnail {
  grid-row: 1 / 5;
  position: relative;
}

.featured-thumbnail {
  overflow: hidden;
  border-radius: 12px;
  background: var(--soft);
}

.featured-thumbnail img {
  width: 100%;
  aspect-ratio: 220 / 162;
  object-fit: cover;
}

.featured-cat {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.article header { min-width: 0; }
.title { margin: 0 0 4px; font-size: 21px; line-height: 1.35; }
.title a { color: var(--ink); }
.post-info { color: var(--muted); font-size: 12px; }
.post-content { color: #4f5a51; }

.readMore a {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 7px;
  background: var(--soft);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 700;
}

.sidebar .widget {
  margin-bottom: 22px;
  padding: 18px;
  overflow: hidden;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 13px;
}

.widget-title,
.widget .title { margin: 0 0 13px; font-size: 18px; line-height: 1.35; }

#searchform fieldset {
  display: flex;
  margin: 0;
  padding: 0;
  border: 0;
}

#searchform input,
.wp-subscribe-form input {
  width: 100%;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #ccd5c8;
  border-radius: 8px;
  background: #fff;
  font: inherit;
}

#searchform button {
  margin-left: 6px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
}

.wp-subscribe-form > * { margin-top: 10px; }
.wp-subscribe-form .submit {
  border: 0;
  background: var(--pink);
  color: #fff;
  cursor: pointer;
  font-weight: 700;
}

.wps-consent-wrapper { color: var(--muted); font-size: 11px; }
.wps-consent-wrapper input { width: auto; }
.wp-subscribe-loader, .wp-subscribe-wrap .thanks, .wp-subscribe-wrap .error { display: none; }
.footer-text { margin-bottom: 0; color: var(--muted); font-size: 11px; }

.rpwwt-widget li { margin-bottom: 12px; }
.rpwwt-widget a { display: flex; gap: 10px; align-items: center; font-size: 12px; font-weight: 700; }
.rpwwt-widget img { flex: 0 0 55px; border-radius: 8px; }

.navigation .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-top: 8px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.page-numbers {
  display: inline-grid;
  min-width: 36px;
  height: 36px;
  place-items: center;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--soft);
}

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

footer {
  padding: 30px 32px;
  border-top: 1px solid var(--line);
  background: #fbfcfa;
}

.carousel {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.carousel .frontTitle { grid-column: 1 / -1; }
.carousel .excerpt { min-width: 0; }
.carousel img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
}

.footer-title { margin: 8px 0 0; }
.footer-title .featured-title { font-size: 12px; }
.hover { display: none; }

.copyrights {
  padding: 18px 32px;
  background: var(--ink);
  color: #cfd8cc;
  font-size: 11px;
}

#copyright-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
}

.copyrights a { color: #fff; }
.footer-navigation { margin-left: auto; }
.footer-navigation .menu { display: flex; flex-wrap: wrap; gap: 15px; }
.top { display: none; }

body > center { display: none; }

.inner-page { padding-top: 34px; }
.single-content article,
.single-content > section {
  max-width: 760px;
}
.single-content h1 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.12;
  letter-spacing: -.025em;
}
.single-content h2 {
  margin: 32px 0 10px;
  color: var(--green-dark);
  font-size: 23px;
  line-height: 1.3;
}
.single-content p,
.single-content li { font-size: 16px; }
.single-content ul,
.single-content ol {
  margin: 12px 0 24px;
  padding-left: 24px;
}
.single-content ul { list-style: disc; }
.single-content li { margin-bottom: 8px; }
.breadcrumb {
  margin: 0 0 12px;
  color: var(--pink);
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.article-lead {
  margin: 0 0 24px;
  color: #4d5a4d;
  font-size: 20px !important;
  line-height: 1.6;
}
.article-note {
  margin: 24px 0;
  padding: 16px 18px;
  border-left: 4px solid var(--green);
  border-radius: 0 10px 10px 0;
  background: var(--soft);
}
.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.archive-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.archive-card h2 { margin: 5px 0 10px; font-size: 19px; }
.archive-card p { font-size: 14px; }
.card-category {
  margin: 0;
  color: var(--pink);
  font-size: 11px !important;
  font-weight: 700;
  text-transform: uppercase;
}
.card-link { font-size: 13px; font-weight: 700; }
.contact-card {
  margin-top: 26px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft);
}
.contact-card label {
  display: block;
  margin-bottom: 15px;
  font-weight: 700;
}
.contact-card input,
.contact-card textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 11px 12px;
  border: 1px solid #ccd5c8;
  border-radius: 8px;
  background: #fff;
  font: inherit;
}
.contact-card button {
  padding: 11px 18px;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}
.footer-summary { max-width: 680px; }
.footer-summary h3 { margin: 0 0 8px; }
.footer-summary p { margin: 0; color: var(--muted); }

@media (max-width: 900px) {
  .main-container { width: min(100% - 20px, 760px); margin: 10px auto; }
  .site-branding { align-items: center; flex-wrap: wrap; }
  .primary-navigation { flex-basis: 100%; }
  .primary-navigation .menu { justify-content: flex-start; }
  .featuredBox { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 150px; }
  .featuredBox .firstpost { grid-column: 1 / -1; grid-row: auto; }
  .featuredBox .secondpost { grid-row: auto; }
  .content { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .sidebar .widget { margin: 0; }
  .carousel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .single-content article, .single-content > section { max-width: none; }
}

@media (max-width: 620px) {
  .main-container { width: 100%; margin: 0; border-radius: 0; }
  .trending-articles { padding-inline: 18px; overflow-x: auto; }
  .site-header, .header-bottom-second, #page, footer, .copyrights { padding-inline: 18px; }
  .site-branding { display: block; }
  #logo img { width: 275px; }
  #pull {
    display: block;
    margin-top: 16px;
    padding: 10px 13px;
    border-radius: 8px;
    background: var(--green);
    color: #fff;
    font-weight: 700;
  }
  .primary-navigation .menu { display: grid; grid-template-columns: 1fr 1fr; margin-top: 10px; }
  .header-button { display: block; width: fit-content; margin: 0 auto 8px; }
  .featuredBox { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 140px; padding: 20px 18px; }
  .featuredBox .secondpost { display: none; }
  .article > .pexcerpt { grid-template-columns: 112px minmax(0, 1fr); gap: 6px 14px; min-height: 120px; }
  .title { font-size: 16px; }
  .post-content { display: none; }
  .featured-cat { font-size: 9px; }
  .sidebar { grid-template-columns: 1fr; }
  .carousel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .archive-grid { grid-template-columns: 1fr; }
  #copyright-note { display: block; }
  .copyright-text, .footer-navigation { margin-top: 10px; }
}
