/* Algemene instellingen */
body {
  background-color: #f0f0f0; /* De lichtgrijze achtergrond van de screenshot */
  font-family: Arial, sans-serif;
  margin: 0;
  
}

.container {
  max-width: 960px;
  margin: 0 auto;
  background-color: #ffffff;
  box-shadow: 0 0 10px rgba(0,0,0,0.1); /* Subtiele schaduw langs de zijkanten */
}

/* Header & Logo */
.site-header {
  background: #ffffff;
  padding: 1px 0;
}

.header-content {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

/* Navigatiebalk (Het karakteristieke oranje) */
.nav-wrapper {
  background: #e67e00; /* De oranje kleur uit de foto */
  border-bottom: 4px solid #cc7000;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2); /* De schaduw onder het menu */
}

.main-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.main-navigation ul li a {
  display: block;
  padding: 15px 20px;
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  text-transform: none;
  border-right: 1px solid rgba(255,255,255,0.2);
}

.main-navigation ul li a:hover, 
.main-navigation ul li a.is-active {
  background-color: #cc7000; /* Donkerder oranje bij hover/actief */
}

/* Hamburger Menu voor Mobiel */
.menu-toggle {
  display: none;
  background: #333;
  color: white;
  padding: 15px;
  width: 100%;
  text-align: left;
  border: none;
  font-size: 1.2rem;
}

/* Main Content area */
.main-content-wrapper {
  display: flex;
  padding: 20px;
  gap: 30px;
}

.content-area {
  flex: 3;
}

.sidebar {
  flex: 1;
  background: #f9f9f9;
  padding: 15px;
  border-top: 3px solid #e67e00;
}

/* Responsive aanpassingen */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .main-navigation {
    display: none;
  }

  .main-navigation.is-open {
    display: block;
  }

  .main-navigation ul {
    flex-direction: column;
  }

  .main-navigation ul li a {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .main-content-wrapper {
    flex-direction: column;
  }
}

/* Logo en Titel styling */
.logo-wrapper {
  display: flex;
  align-items: center;
  padding: 10px 1px;
}

.site-logo {
  height: 200px; /* Pas de grootte naar wens aan */
  width: auto;
  margin-right: 0px;
}

.site-title h1 {
  .site-title h1 {
  margin: 0;
  line-height: 1.1; /* Zorgt dat de regels mooi dicht op elkaar staan */
  text-transform: uppercase;
  font-family: 'Arial Black', Gadget, sans-serif;
  }} 

.title-top {
  display: block;
  font-size: 1.4rem; /* Iets kleiner voor de vereniging */
  color: #555;      /* Iets lichter grijs */
  letter-spacing: 1px;
}

.title-bottom {
  display: block;
  font-size: 2.8rem; /* Groot en opvallend voor de naam */
  color: #e67e00;    /* Het oranje van de biljartclub uit je foto */
  letter-spacing: -1px;
}

/* Mobiele optimalisatie */
@media (max-width: 768px) {
  .title-top {
    font-size: 1.1rem;
  }
  .title-bottom {
    font-size: 2rem;
  }

}

/* Zorg dat de header-content op mobiel ook goed staat */
@media (max-width: 768px) {
  .logo-wrapper {
    flex-direction: column;
    text-align: center;
  }
  
  .site-logo {
    margin-right: 0;
    margin-bottom: 10px;
    height: 80px;
  }

  .site-title h1 {
    font-size: 1.5rem;
  }
}


/* Specifieke styling voor de tekst (H2 of p) onder de foto */
.content-area h2, 
.content-area p {
  margin-top: 1.5rem;
  line-height: 1.6;    /* Maakt de tekst beter leesbaar */
}

/* Sidebar Blokken */
.sidebar .block {
  margin-bottom: 30px;
  background: #ffffff;
}
aside.layout-sidebar-second {
  padding: 20px;
}

/* De titels (zoals "BESTUUR") */
.sidebar h2 {
  font-size: 1.1rem;
  color: #e67e00; /* Oranje tekst */
  text-transform: uppercase;
  border-bottom: 2px solid #eeeeee; /* Lichtgrijze lijn eronder */
  padding-bottom: 8px;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

/* De namen en functies */
.sidebar .content {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
}

/* De oranje e-mail links */
.sidebar a {
  color: #e67e00;
  text-decoration: none;
  font-weight: 500;
}

.sidebar a:hover {
  text-decoration: underline;
  color: #cc7000;
}
img.align-left {
    margin-right: 20px;
    margin-bottom: 15px;
}
img.align-right {
    margin-left: 20px;
    margin-bottom: 15px;
}
.align-left, .align-right {
  max-width: 100;
  margin-left: 10px;


}
/* Afbeeldingen responsive maken */
.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

/* De afbeelding ruimte geven */
img.align-left {
  margin-right: 10px !important;
  margin-bottom: 8px !important;
  float: left !important;
  display: inline !important; /* Probeer inline om de tekst erlangs te laten vloeien */
}

/* De paragraaf (tekst) dwingen om de foto te respecteren */
.field-item p {
  display: inline; /* Dit zorgt dat tekst en foto op dezelfde lijn mogen staan */
}

/* Voor het geval Drupal een 'container' gebruikt die we niet zien */
.field-item {
  display: block;
  overflow: hidden;
}

/* Maak de titels donkergrijs of een kleur uit je menu */
h2 a, h1.page-title {
  color: #333 !important;
  text-decoration: none;
}

/* Geef de 'Lees meer' en andere links de kleur van je menu */
.field-item a {
  color: #d35400; /* Een donkerder oranje voor betere leesbaarheid */
}
/* Verander de paarse titels naar een chique donkergrijs */
h1.page-title, h2 a {
  color: #2c3e50 !important;
  text-decoration: none;
}

/* De links onder de tekst in hetzelfde oranje als het menu */
.field-item a {
  color: #e67e22 !important; 
}

/* De ruimte in de banner (header) verkleinen */
header, 
.region-header, 
#header {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* De witruimte rondom het logo of de bannertitel specifiek aanpakken */
.block-system-branding-block, 
.site-branding {
  margin: 0 !important;
  padding: 5px 0 !important;
}

/* Indien de foto in de banner een eigen marge heeft */
.region-header img {
  margin-top: 5px !important;
  margin-bottom: 5px !important;
}