/*
Theme Name: EdTech Faso Forum Theme
Theme URI: https://www.edtechfasoforum.com/
Author: INCE-BF / Consortium EdTech Faso
Author URI: https://www.edtechfasoforum.com/
Description: Thème officiel sur-mesure pour la 2ème édition du Forum National de l'Innovation Digitale en Éducation (EDTECH FASO FORUM 2026, Ouagadougou).
Version: 2.1.0
Requires at least: 6.2
Tested up to: 6.7.1
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: edtech-faso
Tags: one-page, education, event, custom-header, custom-menu, full-width-template, theme-options, accessibility-ready
*/

/* WordPress Core Alignment Classes */
.alignnone { margin: 5px 20px 20px 0; }
.aligncenter, div.aligncenter { display: block; margin: 5px auto 5px auto; }
.alignright { float: right; margin: 5px 0 20px 20px; }
.alignleft { float: left; margin: 5px 20px 20px 0; }
a img.alignright { float: right; margin: 5px 0 20px 20px; }
a img.alignnone { margin: 5px 20px 20px 0; }
a img.alignleft { float: left; margin: 5px 20px 20px 0; }
a img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { background: #fff; border: 1px solid #f0f0f0; max-width: 96%; padding: 5px 3px 10px; text-align: center; }
.wp-caption.alignnone { margin: 5px 20px 20px 0; }
.wp-caption.alignleft { margin: 5px 20px 20px 0; }
.wp-caption.alignright { margin: 5px 0 20px 20px; }
.wp-caption img { border: 0 none; height: auto; margin: 0; max-width: 98.5%; padding: 0; width: auto; }
.wp-caption p.wp-caption-text { font-size: 11px; line-height: 17px; margin: 0; padding: 0 4px 5px; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); -webkit-clip-path: inset(50%); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }


/* ==========================================================================
   Cookie Consent Banner (Complianz / RGPD / CIL Style)
   ========================================================================== */
.cmplz-cookiebanner {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  max-width: 440px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-left: 4px solid #006633;
  border-radius: 12px;
  padding: 1.25rem 1.4rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16), 0 4px 12px rgba(0, 0, 0, 0.08);
  z-index: 999999;
  font-family: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1F2937;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.cmplz-cookiebanner.cmplz-visible {
  opacity: 1;
  transform: translateY(0);
}
.cmplz-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}
.cmplz-icon {
  font-size: 1.25rem;
  line-height: 1;
}
.cmplz-title {
  color: #004d26;
  font-size: 0.98rem;
  font-weight: 700;
}
.cmplz-message {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #4B5563;
  margin-bottom: 1rem;
}
.cmplz-message a {
  color: #006633;
  text-decoration: underline;
  font-weight: 600;
}
.cmplz-message a:hover {
  color: #D4AF37;
}
.cmplz-buttons {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}
.cmplz-btn {
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cmplz-btn-accept {
  background: #006633;
  color: #FFFFFF;
  flex: 1.2;
}
.cmplz-btn-accept:hover {
  background: #004d26;
  transform: translateY(-1px);
}
.cmplz-btn-deny {
  background: #F3F4F6;
  color: #4B5563;
  border: 1px solid #D1D5DB;
  flex: 1;
}
.cmplz-btn-deny:hover {
  background: #E5E7EB;
  color: #111827;
}
@media (max-width: 640px) {
  .cmplz-cookiebanner {
    bottom: 0;
    right: 0;
    left: 0;
    max-width: 100%;
    border-radius: 16px 16px 0 0;
    border-left: none;
    border-top: 3px solid #D4AF37;
    padding: 1.15rem;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.15);
  }
  .cmplz-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }
  .cmplz-btn {
    width: 100%;
    padding: 0.7rem 1rem;
  }
}
