:root {
  --ink: #12342d;
  --ink-soft: #526762;
  --green: #0f684d;
  --green-deep: #0a4c3a;
  --mint: #dceee7;
  --cream: #f6f4ec;
  --yellow: #f3c84b;
  --paper: #fffef9;
  --line: #d8dfda;

  /* Bootstrap is gecustomized via https://bootstrap.build/app */
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
.container {
  max-width: 1200px;
}
.site-header {
  position: relative;
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid rgba(18, 52, 45, 0.09);
}
.navbar {
  min-height: 78px;
  display: flex;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.brand strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
}
.brand-mark {
  display: flex;
  gap: 3px;
  align-items: center;
}
.brand-mark i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}
.brand-mark i:nth-child(2) {
  width: 12px;
  height: 12px;
  background: var(--yellow);
}
.brand-mark i:nth-child(3) {
  width: 18px;
  height: 18px;
}
.menu-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-content: center;
  gap: 7px;
  background: var(--green);
  border: 0;
  border-radius: 50%;
}
.menu-toggle span {
  width: 18px;
  height: 2px;
  background: #fff;
  transition: transform 0.2s ease;
}
.nav-panel {
  display: none;
  position: absolute;
  inset: 78px 0 auto;
  padding: 24px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 32px rgba(8, 48, 37, 0.08);
}
.nav-panel.is-open {
  display: block;
}
.main-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-weight: 700;
}
.main-nav a:hover {
  color: var(--green);
}
.nav-tools {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
}
.search-button {
  width: 38px;
  height: 38px;
  position: relative;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.search-button span {
  position: absolute;
  width: 12px;
  height: 12px;
  left: 11px;
  top: 10px;
  border: 2px solid var(--ink);
  border-radius: 50%;
}
.search-button span:after {
  content: "";
  position: absolute;
  width: 6px;
  height: 2px;
  right: -5px;
  bottom: -3px;
  background: var(--ink);
  transform: rotate(45deg);
}
.language-switch {
  display: flex;
  padding: 3px;
  background: var(--cream);
  border-radius: 99px;
}
.language-switch button {
  padding: 7px 10px;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 800;
}
.language-switch button.active {
  color: #fff;
  background: var(--green);
}
.hero {
  min-height: 660px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--cream);
}
.hero-container {
  position: relative;
  z-index: 2;
  padding-top: 76px;
  padding-bottom: 86px;
}
.eyebrow,
.section-kicker {
  margin: 0 0 22px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.eyebrow:before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  margin-right: 12px;
  vertical-align: middle;
  background: var(--yellow);
}
h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.045em;
}
h1 {
  max-width: 780px;
  font-size: clamp(3.6rem, 14vw, 7.3rem);
  line-height: 0.87;
}
h1 span {
  display: block;
  color: var(--green);
  font-style: italic;
}
.hero-intro {
  max-width: 570px;
  margin: 32px 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.button {
  display: inline-flex;
  min-height: 55px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 14px 22px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 800;
}
.button-primary {
  color: #fff;
  background: var(--green);
  box-shadow: 6px 6px 0 var(--yellow);
}
.button-primary:hover {
  color: #fff;
  background: var(--green-deep);
  transform: translate(-1px, -1px);
}
.text-link {
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 800;
}
.text-link span {
  margin-left: 9px;
}
.dot-field {
  position: absolute;
  width: 190px;
  height: 190px;
  opacity: 0.18;
  background-image: radial-gradient(var(--green) 2px, transparent 2px);
  background-size: 17px 17px;
}
.dot-field-one {
  top: -40px;
  right: -40px;
}
.dot-field-two {
  bottom: -80px;
  left: -35px;
}
.hero-art {
  width: 390px;
  height: 390px;
  position: relative;
  margin-left: auto;
}
.hero-sun {
  width: 240px;
  height: 240px;
  position: absolute;
  top: 76px;
  left: 78px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: inset -28px -15px 0 rgba(255, 255, 255, 0.18);
}
.hero-sun:after {
  content: "";
  width: 68px;
  height: 68px;
  position: absolute;
  right: -20px;
  bottom: 38px;
  border-radius: 50%;
  background: var(--green);
}
.orbit {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(15, 104, 77, 0.3);
  border-radius: 50%;
}
.orbit-two {
  inset: 53px;
  border-style: dashed;
}
.art-dot {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: var(--green);
}
.dot-a {
  width: 28px;
  height: 28px;
  top: 38px;
  left: 80px;
}
.dot-b {
  width: 14px;
  height: 14px;
  right: 22px;
  top: 170px;
}
.dot-c {
  width: 20px;
  height: 20px;
  bottom: 28px;
  left: 148px;
  background: var(--yellow);
}
.articles-section,
.tags-section {
  padding: 88px 0;
}
.section-heading {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 42px;
}
.section-heading h2,
.groups-section h2,
.newsletter h2 {
  font-size: clamp(2.7rem, 8vw, 4.4rem);
  line-height: 1;
}
.section-heading p:not(.section-kicker),
.groups-intro {
  margin: 14px 0 0;
  color: var(--ink-soft);
  line-height: 1.65;
}
.filters {
  display: flex;
  gap: 8px;
  padding-bottom: 5px;
  overflow-x: auto;
}
.filters button {
  flex: 0 0 auto;
  padding: 10px 15px;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 12px;
  font-weight: 800;
}
.filters button.active {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}
.article-card {
  display: block;
  height: 100%;
  background: #fff;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.article-card:hover {
  color: var(--ink);
  transform: translateY(-5px);
  box-shadow: 0 18px 45px rgba(12, 62, 48, 0.12);
}
.article-image {
  height: 240px;
  position: relative;
  overflow: hidden;
  background: var(--mint);
}
.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.article-card:hover img {
  transform: scale(1.04);
}
.article-image span {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 7px 10px;
  color: #fff;
  background: var(--green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.article-body {
  padding: 24px 4px 14px;
}
.article-meta {
  margin: 0 0 13px !important;
  color: #75857f;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.article-body h3 {
  font-size: 25px;
  line-height: 1.08;
}
.article-body > p {
  margin: 15px 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
}
.article-link {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}
.article-link b {
  float: right;
  font-size: 17px;
}
.groups-section {
  padding: 90px 0;
  color: #fff;
  background: var(--green);
}
.section-kicker.light {
  color: #a7d4c4;
}
.groups-intro {
  color: rgba(255, 255, 255, 0.68);
}
.group-list {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}
.group-row {
  display: grid;
  grid-template-columns: 35px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  transition:
    padding 0.2s ease,
    background 0.2s ease;
}
.group-row:hover {
  color: #fff;
  padding-left: 10px;
  background: rgba(255, 255, 255, 0.04);
}
.group-number,
.group-count {
  color: #a7d4c4;
  font-size: 11px;
  font-weight: 800;
}
.group-row h3 {
  font-size: 27px;
}
.group-row p {
  display: none;
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
}
.group-arrow {
  grid-column: 3;
  font-size: 22px;
}
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.tag-cloud a {
  padding: 13px 17px;
  color: var(--green);
  background: var(--mint);
  border-radius: 99px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  transition: transform 0.2s ease;
}
.tag-cloud a:hover {
  color: var(--green);
  transform: translateY(-3px);
}
.tag-cloud a.accent {
  background: var(--yellow);
}
.newsletter {
  padding: 0 0 90px;
}
.newsletter-card {
  position: relative;
  overflow: hidden;
  padding: 42px 25px;
  color: #fff;
  background: var(--ink);
}
.newsletter-card > .row {
  position: relative;
  z-index: 1;
}
.newsletter-card p:not(.section-kicker) {
  max-width: 490px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
}
.newsletter-dots {
  position: absolute;
  width: 240px;
  height: 240px;
  right: -80px;
  top: -100px;
  opacity: 0.16;
  background-image: radial-gradient(#fff 2px, transparent 2px);
  background-size: 16px 16px;
  transform: rotate(18deg);
}
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.newsletter-form input {
  min-height: 55px;
  padding: 15px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0;
  outline: none;
}
.newsletter-form input:focus {
  border-color: var(--yellow);
}
.newsletter-form button {
  min-height: 55px;
  padding: 14px 20px;
  color: var(--ink);
  background: var(--yellow);
  border: 0;
  font-size: 12px;
  font-weight: 800;
}
.newsletter small {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
}
footer {
  padding: 55px 0 28px;
  color: #fff;
  background: var(--green-deep);
}
.footer-brand {
  color: #fff;
}
.footer-brand:hover {
  color: #fff;
}
.footer-brand .brand-mark i {
  background: #fff;
}
.footer-brand .brand-mark i:nth-child(2) {
  background: var(--yellow);
}
.footer-top {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-bottom: 38px;
}
.footer-top p {
  max-width: 340px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}
.footer-bottom {
  display: flex;
  flex-direction: column-reverse;
  gap: 18px;
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.48);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 10px;
}
.footer-bottom div {
  display: flex;
  gap: 20px;
}
.footer-bottom a:hover {
  color: #fff;
}
@media (min-width: 576px) {
  .hero-actions,
  .newsletter-form {
    flex-direction: row;
    align-items: center;
  }
  .newsletter-form input {
    flex: 1;
  }
  .newsletter-form button {
    min-width: 140px;
  }
}
@media (min-width: 768px) {
  .article-grid article:first-child .article-image {
    height: 360px;
  }
  .section-heading,
  .footer-top,
  .footer-bottom {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
  .footer-bottom {
    flex-direction: row;
    align-items: center;
  }
  .group-row {
    grid-template-columns: 50px 1.1fr 1fr 40px 35px;
    gap: 20px;
    padding: 28px 12px;
  }
  .group-row p {
    display: block;
  }
  .group-arrow {
    grid-column: auto;
  }
}
@media (min-width: 992px) {
  .navbar {
    min-height: 92px;
  }
  .nav-panel {
    display: flex;
    position: static;
    align-items: center;
    gap: 45px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .main-nav {
    flex-direction: row;
    gap: 34px;
    font-size: 13px;
  }
  .nav-tools {
    margin: 0;
  }
  .hero {
    min-height: calc(100vh - 92px);
  }
  .hero-container {
    padding-top: 90px;
    padding-bottom: 100px;
  }
  .hero-intro {
    margin: 38px 0;
  }
  .articles-section,
  .tags-section {
    padding: 120px 0;
  }
  .groups-section {
    padding: 115px 0;
  }
  .newsletter {
    padding-bottom: 120px;
  }
  .newsletter-card {
    padding: 70px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  color: #fff;
  background: var(--green);
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: none;
}
.site-search input {
  width: 110px;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: transparent;
  font-size: 0.75rem;
}
.language-switch a {
  padding: 7px 10px;
  color: var(--ink-soft);
  border-radius: 99px;
  font-size: 11px;
  font-weight: 800;
}
.language-switch a.active {
  color: #fff;
  background: var(--green);
}
.page-heading {
  padding: 90px 0 70px;
  background: var(--cream);
}
.page-heading h1,
.article-detail h1 {
  font-size: clamp(3rem, 9vw, 6rem);
  line-height: 0.94;
}
.empty-state {
  padding: 3rem;
  background: var(--cream);
  text-align: center;
}
.article-card > a {
  display: block;
  height: 100%;
}
.article-detail-header {
  padding: 80px 0 45px;
  background: var(--cream);
}
.article-container {
  max-width: 820px;
}
.article-lead {
  margin: 2rem 0;
  color: var(--ink-soft);
  font-size: 1.25rem;
  line-height: 1.7;
}
.article-hero-image {
  width: 100%;
  max-height: 520px;
  margin: 3rem 0;
  object-fit: cover;
}
.article-content {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  line-height: 1.85;
}
.article-tags {
  margin: 3rem 0 6rem;
}
.article-meta {
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}
.filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 1.5rem;
}
.search-input {
  width: 50%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}
.filter-select {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}
.tag-filter-wrapper {
  position: relative;
}
.tag-filter-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 10;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  min-width: 180px;
  max-height: 240px;
  overflow-y: auto;
  list-style: none;
  margin: 4px 0 0;
  padding: 4px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.tag-filter-dropdown .dropdown-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 12px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 14px;
}
.tag-filter-dropdown .dropdown-item:hover {
  background: #f5f5f5;
}
.tag-badge {
  background: #e8e8e8;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.tag-badge a {
  color: #666;
  text-decoration: none;
  margin-left: 4px;
}
.pagination-controls {
  display: flex;
  gap: 6px;
  margin-top: 2rem;
  justify-content: center;
}
.pagination-link {
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.pagination-link.active {
  background: #333;
  color: #fff;
  border-color: #333;
}
.selected-tag-filters {
  flex-basis: 100%;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
