/*
Theme Name: VH Ophthalmics
Theme URI: https://www.vhophthalmics.be/
Author: omgezet vanuit de originele site (design: BYS)
Description: WordPress-thema dat de opmaak van de originele vhophthalmics.be-site overneemt: vaste donkere navigatiebalk met uitklapmenu's, Raleway, blauwe paginatitels, adresbalk met kaart en donkere footer. Bevat een ingebouwd contactformulier via de shortcode [vho_contact].
Version: 1.0.4
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vho
Tags: bootstrap, business, one-column, custom-menu, custom-logo, translation-ready
*/

/* ------------------------------------------------------------------
   De originele opmaak zit in assets/css/ (bootstrap, navbar, site.css).
   Hieronder alleen wat WordPress er extra bij nodig heeft.
   ------------------------------------------------------------------ */

/* --- Gutenberg-blokken laten aansluiten op het Bootstrap-raster --- */
.wp-block-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 20px;
}
.wp-block-column {
  flex-grow: 1;
  min-width: 0;
  word-break: break-word;
}
@media (max-width: 781px) {
  .wp-block-column { flex-basis: 100% !important; }
}

.wp-block-image { margin: 0 0 20px; }
.wp-block-image img { max-width: 100%; height: auto; }
.wp-block-image.aligncenter { text-align: center; }

.wp-block-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
}
.wp-block-gallery.columns-3 .wp-block-image { flex: 1 1 calc(33.333% - 10px); margin: 0; }

.wp-block-separator {
  border: 0;
  border-top: 1px solid #ddd;
  margin: 30px 0;
}

.has-text-align-center { text-align: center; }
.has-text-align-right  { text-align: right; }

/* --- Media-uitlijning van de klassieke editor --- */
.alignleft   { float: left; margin: 0 20px 20px 0; }
.alignright  { float: right; margin: 0 0 20px 20px; }
.aligncenter { display: block; margin: 0 auto 20px; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: #777; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* --- Logo vult de volledige hoogte van de navigatiebalk --- */
.navbar-fixed-top .navbar-header {
  display: flex;
  align-items: center;
  height: 100px;
}
.navbar-fixed-top .navbar-header > a { display: block; height: 100%; }
.nav-logo,
.custom-logo {
  height: 100%;
  width: auto;
  max-height: none;
  max-width: none;
  margin: 0 20px 0 0;
  padding: 6px 0;
  box-sizing: border-box;
}
@media (max-width: 1199px) {
  .navbar-fixed-top .navbar-header { height: 67px; }
}
@media (max-width: 767px) {
  .navbar-fixed-top .navbar-header { justify-content: space-between; }
  .navbar-fixed-top .navbar-toggle { margin: 0 0 0 10px; order: 2; }
}

/* --- Contactformulier --- */
.vho-form .form-group { margin-bottom: 15px; }
.vho-form label { font-weight: 500; display: block; }
.vho-form input[type="text"],
.vho-form input[type="email"],
.vho-form input[type="tel"],
.vho-form textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 15px;
}
.vho-form textarea { min-height: 160px; }
.vho-form .vho-hp { position: absolute; left: -9999px; }
.vho-form button {
  background: #286da2;
  color: #fff;
  border: 0;
  border-radius: 4px;
  padding: 10px 26px;
  font-weight: 500;
  letter-spacing: 1px;
}
.vho-form button:hover { background: #0099cc; }
.vho-melding {
  padding: 12px 16px;
  border-radius: 4px;
  margin-bottom: 20px;
}
.vho-melding.ok   { background: #e6f4ea; border: 1px solid #7fbf95; }
.vho-melding.fout { background: #fdecea; border: 1px solid #e0a4a0; }

/* --- Cookiemelding --- */
.cookiebalk { display: none; }
.cookiebalk.tonen { display: block; }
.cookiebalk button {
  background: none;
  border: 0;
  color: #286da2;
  text-decoration: underline;
  padding: 0 0 0 10px;
}

/* --- Kaart in de adresbalk --- */
.vho-kaart iframe {
  width: 100%;
  height: 300px;
  border: 0;
  display: block;
}

/* --- Paginatitel ook op gewone pagina's --- */
h1.pagina-titel { color: #00a1cb; }
@media (max-width: 768px) {
  h1.pagina-titel { font-size: 32px; letter-spacing: 1px; }
}

/* --- Zoek- en 404-pagina --- */
.vho-zoekresultaat { border-bottom: 1px solid #eee; padding: 15px 0; }

/* --- WordPress-adminbalk niet over de vaste navigatie heen --- */
body.admin-bar .navbar-fixed-top { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .navbar-fixed-top { top: 46px; }
}

/* --- Wrapper van de carrousel (stond in de originele HTML) --- */
.container-full { width: 100%; padding: 0; margin: 0; }

/* --- Terug- en printknop onderaan de pagina --- */
.vho-acties {
  font-size: 32px;
  color: black;
  float: right;
  margin-top: 50px;
}
.vho-acties a { color: #000; }
.vho-acties a:hover { color: #0099cc; }

/* --- Terug/print als knoppen (geen javascript:-links) --- */
.vho-acties button {
  background: none;
  border: 0;
  color: #000;
  font-size: 32px;
  padding: 0 6px;
}
.vho-acties button:hover { color: #0099cc; }
.vho-footermenu ul { margin: 0; padding: 0; }
.vho-footermenu li { display: inline-block; margin-left: 12px; }

/* --- Adresbalk: zorg dat de kaart altijd hoogte heeft --- */
.adres-balk { padding: 30px; background: #000; color: #fff; }
.adres-balk h3, .adres-balk p, .adres-balk a { color: #fff; }
.vho-kaart { min-height: 300px; }

/* --- Blauwe "visitekaartjes" met de medewerkers (was .kader-manager) --- */
.kader-manager {
  height: auto;
  min-height: 180px;
  margin: 0 auto 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.kader-manager h2,
.kader-manager h3,
.kader-manager p,
.kader-manager a { color: #fff; }
.kader-manager h2 { margin-top: 5px; font-size: 22px; line-height: 28px; }
.kader-manager h3 { font-size: 18px; line-height: 26px; margin-top: 10px; }
.kader-manager a { font-weight: 500; }
.kader-manager a:hover { color: #fff; text-decoration: underline; }

/* --- Opvallende blauwe intro-tekst (was .txt-blauw-opvallen) --- */
.txt-blauw-opvallen { color: #286da2; }
