@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap');

/* Basislayout */
body {
  font-family: 'Inter', sans-serif;
  background-color: #F5F5ED;
  color: #333333;
}

/* Links */
a {
  color: #4DA1C0;
}

/* Knapper */
.button-primary,
.btn-primary {
  background-color: #2E5940;
  color: white;
  border: none;
  padding: 0.6em 1.2em;
  border-radius: 4px;
  text-decoration: none;
}

/* Sekundær baggrund fx bokse */
.section-box {
  background-color: #ffffff;
  border: 1px solid #ccc;
  padding: 1em;
  margin: 1em 0;
}
/* HERO SEKTION – FULDBREDDE OG SYNLIG KNAP */
.hero {
  background-image: url(https://codk.dk/media/1642/camping-north-jutland-denmark_-kjetil-loeite.jpg);
  background-size: cover;
  background-position: center;
  padding: 100px 20px 60px 20px; /* Top, Right, Bottom, Left */
  text-align: center;
  color: white;
  position: relative;
  margin: 0;
  width: 100%;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 2rem;
}

.hero-btn {
  background-color: #2E5940;
  color: white;
  padding: 0.8em 1.6em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
  display: inline-block;
}

.hero-btn:hover {
  background-color: #3d7254;
}

/* INTRO-SEKTION MED MINDRE AFSTAND */
.intro-section {
  padding: 40px 20px 60px 20px;
  background-color: #ffffff;
  color: #333;
  text-align: center;
  margin-top: 0;
}

.intro-section h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.intro-section p {
  font-size: 1.2rem;
  max-width: 750px;
  margin: 0 auto 1.2rem auto;
  line-height: 1.6;
}
/* FORDELSSEKTION UDEN IKONER */
.benefits-section {
  padding: 60px 20px;
  background-color: #F5F5ED;
  color: #333;
}

.benefits-section h2 {
  font-size: 2rem;
  margin-bottom: 2.5rem;
  font-weight: 600;
}

.benefit-box {
  background-color: #ffffff;
  padding: 30px 20px;
  margin: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.benefit-box:hover {
  transform: translateY(-5px);
}

.benefit-box h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.benefit-box p {
  font-size: 1rem;
  line-height: 1.5;
}
.newsTitle {
  font-family: 'Inter', sans-serif !important;
  font-size: 2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
}

/* NYHEDSSEKTION - afstand og font */
.news-section {
  margin-top: 60px; /* NYT: afstand til fordelssektionen */
  padding: 60px 20px;
  background-color: #ffffff;
  color: #333;
}

.news-section h2.newsTitle {
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1.5rem;
}

.news-section .input-group {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.news-section input.form-control {
  font-size: 1rem;
  padding: 0.6em 1em;
  border-radius: 4px 0 0 4px;
  border: 1px solid #ccc;
  flex: 1;
}

.news-section button.btn {
  border-radius: 0 4px 4px 0;
  padding: 0.6em 1em;
  border: 1px solid #ccc;
  background-color: #ffffff;
}

.news-section button.btn img {
  height: 20px;
}
.newsOverviewItem {
  background-color: #F5F5ED; /* Lys neutral baggrund */
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); /* Blød skygge */
  overflow: hidden;
  margin-bottom: 30px;
  transition: transform 0.2s ease;
}

.newsOverviewItem:hover {
  transform: translateY(-3px); /* Løft-effekt ved hover */
}
/* Ændrer hele footerens baggrund til grøn */
footer.background-color-4 {
  background-color: #2E5940 !important;
  color: #ffffff;
}

/* Gør kontaktoplysningerne i venstre kolonne hvide */
.footerCompanyName,
.footerAddress,
.footerPhone a,
.footerMail a {
  color: #ffffff !important;
}

/* Sikrer at tekst i boksene forbliver mørk, selvom baggrunden er hvid */
.footer-box,
.box-right {
  background-color: #ffffff;
  color: #333333 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
}

/* Titel og brødtekst i bokse – mørk tekst */
.footerBox-title,
.footerBox-text,
.footer-linkbox span,
.box-right .footerBox-title,
.box-right .footerBox-text,
.box-right span {
  color: #333333 !important;
}

/* Hover-effekt på bokse */
.footer-box:hover,
.box-right:hover {
  transform: translateY(-5px);
  transition: transform 0.3s ease;
}
.box-right {
  max-height: 280px; /* justér tallet til den ønskede højde */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  border-radius: 8px;
}

/* === Menu generel styling === */
#main-menu-large .menu-item > a {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #1d4c41; /* Mørkegrøn tekst */
  background-color: transparent;
  padding: 1rem 1.2rem;
  display: block;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* === Hover-effekt === */
#main-menu-large .menu-item > a:hover {
  background-color: #e6f0ec; /* Lys grønlig baggrund */
  color: #1d4c41; /* Bevar mørkegrøn på hover */
}

/* === Aktiv side === */
#main-menu-large .menu-item.active > a {
  background-color: #1d4c41; /* CODK grøn baggrund */
  color: white;
}

/* === Fjern lodret skillelinje === */
#main-menu-large .menu-item {
  border-left: none;
}
.benefit-box h3,
.benefit-box p {
  color: #2E5940; /* CODK mørkegrøn */
}
body, h1, h2, h3, h4, h5, h6, p, a, span, li, input, button, label {
  font-family: 'Inter', sans-serif !important;
}
.testimonial-box {
  background-color: #F5F5ED;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Blød skygge */
  transition: transform 0.2s ease;
  overflow: hidden;
}

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

.testimonial-box p {
  font-family: 'Inter', sans-serif;
  color: #1d4c41; /* mørkegrøn */
  line-height: 1.6;
}
.shadow-box {
  background-color: #ffffff; /* samme som nyhedsbokse */
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 40px;
  font-family: 'Inter', sans-serif;
  color: #1d4c41; /* mørkegrøn */
}
/* Mindre og mere kompakte nyhedsbokse */
.newsOverviewItem {
  background-color: #F5F5ED;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  margin: 15px 0;
  transition: transform 0.2s ease;
  padding: 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.newsOverviewItem img {
  height: 160px;
  object-fit: cover;
  width: 100%;
  border-radius: 5px;
  margin-bottom: 12px;
}

.newsItem-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.newsdescription {
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}

.newsdate {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.6rem;
}

.newslink {
  font-weight: bold;
  color: #2E5940;
}
.newsOverviewItem {
  background-color: #F5F5ED;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  margin: 10px 0;
  transition: transform 0.2s ease;
  padding: 12px;
  max-height: 420px; /* Gør hele boksen lavere */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.newsOverviewItem img {
  height: 150px;
  object-fit: cover;
  width: 100%;
  border-radius: 5px;
  margin-bottom: 10px;
}

.newsItem-content h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.newsdescription {
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  max-height: 3.8em;         /* max to 2 lines */
  overflow: hidden;
  text-overflow: ellipsis;
}

.newsdate {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 0.4rem;
}

.newslink {
  font-weight: bold;
  color: #2E5940;
  font-size: 0.85rem;
}
.article-grid-page h2 {
  color: #1D4634; /* Mørkegrøn */
  font-weight: bold;
}
.medlemsfordele-section h2 {
  color: #1D4634;
  font-weight: bold;
}
.heading-20-green {
  font-size: 20px;
  color: #1d4c41;
}
ul.custom-bullets {
  list-style: none;
  padding-left: 0;
}

ul.custom-bullets li {
  position: relative;
  padding-left: 1.8em;
  margin-bottom: 0.6em;
}

ul.custom-bullets li::before {
  content: "✔"; /* Du kan ændre til →, ★, •, etc. */
  position: absolute;
  left: 0;
  top: 0;
  color: #2E5940; /* Mørkegrøn */
  font-size: 1em;
}
