/*
Theme Name: NABU RV Theme
Author: Jochen Bauer
Description: NABU-inspired WordPress theme with Gutenberg support.
Version: 2.11
Text Domain: nabu-rv-Theme
*/
:root {
    --green: #007a3d;
    --green-dark: #155c38;
    --yellow: #f2b705;
    --text: #202820;
    --light: #f2f5f1;
    --dark: #173b2a
}


* {
    box-sizing: border-box
}


html {
    scroll-behavior: smooth
}


body {
    margin: 0;
    font-family: var(--font-body, Arial, Helvetica, sans-serif);
    font-size: var(--font-size, 16px);
    color: var(--text);
    background: #f0f0f0;
    line-height: var(--line-height, 1.55)
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading, Arial, Helvetica, sans-serif);
}


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


a {
    color: var(--green)
}


.container {
    width: min(1200px, calc(100% - 40px));
    margin: auto
}


.mopt-news-section {
    padding: 90px 0;
    background: var(--light)
}


.mopt-section-heading {
    margin-bottom: 38px
}


.mopt-section-heading span,
.mopt-cta-kicker {
    display: block;
    color: var(--green);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px
}


.mopt-section-heading h2 {
    margin: 5px 0 0;
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.05
}


.mopt-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    padding-bottom: 40px; 
}


.mopt-news-card {
    background: #fff;
    box-shadow: 0 3px 15px rgba(0, 0, 0, .09);
    overflow: hidden
}


.mopt-news-image {
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden
}


.mopt-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}


.mopt-news-content {
    padding: 25px

}


.mopt-news-date {
    font-size: 13px;
    color: #68726b;
    margin-bottom: 8px
}


.mopt-news-content h3 {
    font-size: 25px;
    line-height: 1.15;
    margin: 0 0 12px
}


.mopt-news-content h3 a {
    color: var(--text);
    text-decoration: none
}


.mopt-text-link {
    font-weight: 800;
    color: var(--green);
    text-decoration: none
}


.mopt-cta-section {
    padding: 75px 0;
    background: var(--dark);
    color: #fff
}


.mopt-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px
}


.mopt-cta-inner h2 {
    color: #fff;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.05;
    margin: 5px 0 12px
}


.mopt-cta-inner p {
    font-size: 19px;
    margin: 0;
    color: rgba(255, 255, 255, .9);
    max-width: 720px
}


/* =========================================
   FOOTER
   ========================================= */

.site-footer {
  margin-top: 80px;
  background-color: var(--header-green-dark);
  color: #fff;
}

.site-footer__inner {
  padding-top: 50px;
  padding-bottom: 20px;
}

.site-footer__columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.site-footer__column h3 {
  margin: 0 0 18px;
  font-size: 18px;
}

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

.site-footer__column li {
  margin-bottom: 10px;
}

.site-footer__column a {
  color: #fff;
  text-decoration: none;
}

.site-footer__column a:hover {
  text-decoration: underline;
}

.site-footer__social {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, .25);
}

.site-footer__social a {
  color: #fff;
  text-decoration: none;
}

.site-footer__social a:hover {
  text-decoration: underline;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .25);
  font-size: 13px;
  opacity: .9;
  background-color: var(--header-green);
}

.site-footer__bottom p {
  margin: 0;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 800px) {

  .site-footer__columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

}

@media (max-width: 500px) {

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

  .site-footer__bottom {
    display: block;
  }

  .site-footer__bottom p+p {
    margin-top: 8px;
  }

}


.page .entry-title {
    display: none;
}