/*
Theme Name: hcz
Theme URI: https://hcz.ma
Author: Oussama Anedam
Author URI: https://hcz.ma
Description: hcz Theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: your-theme
*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: #212529;
  background-color: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: spacing(3);
  font-weight: 700;
  line-height: 1.4;
}

p {
  margin-top: 0;
  margin-bottom: spacing(3);
}

a {
  color: #0073aa;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}
a:hover, a:focus {
  color: shade(#0073aa, 15%);
}

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

ul,
ol {
  margin-top: 0;
  list-style: none;
}

h1,
.h1 {
  font-size: 2.5rem;
}

h2,
.h2 {
  font-size: 2rem;
}

h3,
.h3 {
  font-size: 1.75rem;
}

h4,
.h4 {
  font-size: 1.5rem;
}

h5,
.h5 {
  font-size: 1.25rem;
}

h6,
.h6 {
  font-size: 1rem;
}

.lead {
  font-size: 1.125rem;
  font-weight: 300;
}

.text-small {
  font-size: 0.875rem;
}

.text-bold {
  font-weight: 700;
}

.text-uppercase {
  text-transform: uppercase;
}

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

.text-left {
  text-align: left;
}

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

code,
pre {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.875em;
}

blockquote {
  margin: spacing(5) 0;
  padding: spacing(3) spacing(4);
  border-left: 4px solid #0073aa;
  background: #f8f9fa;
  font-style: italic;
}

.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
.header__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}
@media (max-width: 75em) {
  .header__top {
    display: none;
  }
}
.header__contact {
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
@media (max-width: 75em) {
  .header__contact {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
}
.header__phone, .header__address {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header__logo img {
  max-height: 4.5rem;
  width: auto;
  display: block;
  filter: invert(1);
}
@media (max-width: 56.25em) {
  .header__nav {
    display: none;
  }
}
.header__menu {
  display: flex;
  justify-content: center;
  align-items: start;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.header__menu li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  text-transform: uppercase;
  transition: color 0.3s;
}
.header__menu li a:hover {
  color: rgba(255, 255, 255, 0.8);
}
.header__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.header__search svg {
  cursor: pointer;
  display: block;
  width: 2rem;
  height: 2rem;
  filter: invert(1);
}
.header__search svg:hover {
  filter: invert(0.8);
}
@media (max-width: 75em) {
  .header__secondary-wrapper {
    display: none !important;
  }
}
.header .header__mobile, .header__secondary .header__mobile {
  display: none;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 10px 20px;
}
@media (max-width: 75em) {
  .header .header__mobile, .header__secondary .header__mobile {
    display: flex;
  }
}
.header .header__mobile-menu-toggle, .header__secondary .header__mobile-menu-toggle {
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  cursor: pointer;
}
.header .header__mobile-menu-toggle .bar, .header__secondary .header__mobile-menu-toggle .bar {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #fff;
  margin-bottom: 0.3rem;
  border-radius: 2px;
}
.header .header__mobile-overly, .header__secondary .header__mobile-overly {
  display: none;
  background: linear-gradient(rgb(0, 117, 220), rgb(0, 0, 0));
  position: fixed;
  inset: 0;
  padding: 3rem;
  width: 100%;
  height: 100%;
  z-index: 9999;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  overflow-y: auto;
}
.header .header__mobile-overly.active, .header__secondary .header__mobile-overly.active {
  display: flex;
}
.header .header__mobile-overly ul, .header__secondary .header__mobile-overly ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.header .header__mobile-overly ul .menu-item-has-children .sub-menu-mobile, .header__secondary .header__mobile-overly ul .menu-item-has-children .sub-menu-mobile {
  display: none;
  flex-direction: column;
  margin-top: 0.5rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(255, 255, 255, 0.5);
}
.header .header__mobile-overly ul .menu-item-has-children .sub-menu-mobile.active, .header__secondary .header__mobile-overly ul .menu-item-has-children .sub-menu-mobile.active {
  display: flex;
}
.header .header__mobile-overly ul .menu-item-has-children .sub-menu-mobile li a, .header__secondary .header__mobile-overly ul .menu-item-has-children .sub-menu-mobile li a {
  color: rgba(255, 255, 255, 0.6862745098);
  text-transform: lowercase;
}
.header .header__mobile-overly ul li a, .header__secondary .header__mobile-overly ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  text-transform: uppercase;
  transition: color 0.3s;
}
.header .header__mobile-overly ul li a:hover, .header__secondary .header__mobile-overly ul li a:hover {
  color: rgba(255, 255, 255, 0.8);
}
.header .header__mobile-nav, .header__secondary .header__mobile-nav {
  position: absolute;
  top: 4rem;
  width: 100%;
}
.header .header__mobile-close, .header__secondary .header__mobile-close {
  position: absolute;
  top: 2.5rem;
  right: 1rem;
  font-size: 3.5rem;
  color: #fff;
  cursor: pointer;
  line-height: 0;
}
.header__secondary {
  background: linear-gradient(to bottom right, rgba(0, 117, 220, 0.9), rgba(0, 0, 0, 0.9));
  padding: 10px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.header__secondary-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header__secondary-wrapper > *:not(:nth-child(2)) {
  flex: 1;
}
@media (max-width: 56.25em) {
  .header__secondary-wrapper {
    display: none;
  }
}
.header__secondary .header__menu li a {
  font-size: 0.9rem;
}
@media (max-width: 75em) {
  .header__secondary .header__menu li a {
    font-size: 0.8rem;
  }
}
.header__secondary .header__nav {
  width: auto;
  display: flex;
  justify-content: center;
  flex: 2;
}
@media (max-width: 75em) {
  .header__secondary .header__nav {
    justify-content: start;
    margin-left: 1.5rem;
  }
}
.header__secondary .header__logo {
  display: flex;
  justify-content: start;
}
.header__secondary .header__logo img {
  max-height: 3.5rem;
}
@media (max-width: 75em) {
  .header__secondary .header__logo {
    flex: none;
  }
}
@media (max-width: 89.375em) {
  .header__secondary .header__cta {
    font-size: 0.8rem;
    gap: 0.5rem;
  }
}
.header__secondary .header__contact {
  margin-left: auto;
}

.icon-small {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  filter: invert(1);
}

li.menu-item {
  position: relative;
  transition: all 0.7s ease;
}

.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: linear-gradient(to bottom right, rgba(0, 117, 220, 0.9), rgba(0, 0, 0, 0.9));
  padding: 0 0;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  min-width: 29rem;
  width: auto;
  max-width: 90vw;
}
.sub-menu .sub-menu-img {
  flex: 0 0 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  filter: contrast(0.5);
}
.sub-menu .sub-menu-img img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}
.sub-menu .sub-menu-list {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding-block: 0.5rem;
}
.sub-menu .sub-menu-list li {
  padding: 2px 15px;
}
.sub-menu .sub-menu-list li a {
  color: #fff;
  font-weight: 400;
  font-size: 0.9rem;
  text-transform: math-auto;
  transition: color 0.3s;
}
.sub-menu .sub-menu-list li a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.menu-item-has-children:hover > .sub-menu {
  display: flex !important;
}

#menu-hcz-primary-menu .menu-item-has-children::after {
  content: " ";
  display: inline-block;
  width: 1rem;
  height: 1rem;
  margin-left: 4px;
  vertical-align: middle;
  background: url('data:image/svg+xml;utf8,<svg fill="white" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 20 20"><path d="M5.5 8l4.5 4.5L14.5 8" stroke="white" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center center;
  background-size: 1em 1em;
  transition: transform 0.3s, opacity 0.2s;
  opacity: 0.7;
}

#menu-hcz-mobile-menu .menu-item-has-children > a::after {
  content: " ";
  display: inline-block;
  width: 1rem;
  height: 1rem;
  margin-left: 4px;
  vertical-align: middle;
  background: url('data:image/svg+xml;utf8,<svg fill="white" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 20 20"><path d="M5.5 8l4.5 4.5L14.5 8" stroke="white" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center center;
  background-size: 1em 1em;
  transition: transform 0.3s, opacity 0.2s;
  opacity: 0.7;
}

.menu-item-has-children:hover::after {
  display: inline-block;
  opacity: 1;
  transform: rotate(180deg);
}

.menu-item-has-children:hover .sub-menu {
  display: block;
}

.submenu-toggle {
  color: rgba(255, 255, 255, 0.6862745098);
  cursor: pointer;
  margin-left: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  user-select: none;
  transition: transform 0.2s;
  vertical-align: middle;
}

.footer {
  background: linear-gradient(to bottom right, rgba(0, 117, 220, 0.9), rgba(0, 0, 0, 0.9));
  padding: 2rem 2rem;
  color: #ffffff;
}
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 2px solid #ffffff;
  flex-wrap: wrap;
  text-align: center;
}
.footer__top h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  flex-basis: 100%;
  margin-bottom: 0.8rem;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer__adresse {
  flex-grow: 1;
}
.footer__adresse ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.footer__adresse svg {
  vertical-align: middle;
  margin-right: 0.3rem;
  filter: invert(1);
  width: 1rem;
  height: 1rem;
}
.footer__logo img {
  filter: brightness(0) invert(1);
  height: 8rem;
}

@media (max-width: 768px) {
  .footer__top, .footer__bottom {
    align-items: center;
    justify-content: center;
    gap: 3rem;
  }
  .footer__bottom {
    flex-direction: column;
  }
  .footer__counter-group {
    flex-basis: 45%;
  }
}
.btn {
  display: inline-block;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}
.btn-primary {
  background-color: #ffffff;
  color: #000000;
  padding: 0.8rem 1.3rem;
  border-radius: 50rem;
  font-weight: 600;
}
.btn-primary:hover {
  background-color: rgba(255, 255, 255, 0.8);
}
.btn-submit {
  background-color: #0073aa;
  color: #ffffff;
  padding: 0.8rem 1.5rem;
  font-weight: 600;
  border-radius: 100px;
}
.btn-submit:hover {
  background-color: #005177;
}

.hero {
  position: relative;
  inset: 0;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  z-index: -1;
}
.hero__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 117, 220, 0.6), rgba(0, 0, 0, 0.5));
  z-index: 1;
}
.hero__content {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: flex-end;
  padding: 2rem;
  height: 100%;
  color: #fff;
}
.hero__logo {
  display: flex;
  align-items: end;
  gap: 0.85rem;
}
@media (max-width: 37.5em) {
  .hero__logo {
    flex-direction: column;
    margin-bottom: 1rem;
  }
}
.hero__logo img {
  display: block;
  width: 5rem;
  height: auto;
  filter: invert(1);
}
@media (max-width: 37.5em) {
  .hero__logo img {
    margin-right: auto;
  }
}
.hero__title {
  text-align: left;
  line-height: 1.2;
}
.hero__title-small {
  display: block;
  font-weight: 500;
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.6862745098);
  line-height: 0.5;
}
@media (max-width: 56.25em) {
  .hero__title-small {
    font-size: 1rem;
  }
}
.hero__title-large {
  display: block;
  font-weight: 700;
  font-size: 4rem;
}
@media (max-width: 56.25em) {
  .hero__title-large {
    font-size: 2.5rem;
  }
}
@media (max-width: 37.5em) {
  .hero__title-large {
    font-size: 2rem;
  }
}

.search-overly {
  display: none;
  background-color: rgba(0, 0, 0, 0.8);
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
}
.search-overly.active {
  display: block;
}
.search-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 3.5rem;
  color: #fff;
  cursor: pointer;
}
.search-box {
  position: relative;
  max-width: 35rem;
  margin: 0 auto;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.search-form {
  width: 100%;
  position: relative;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.search-inputs {
  display: flex;
  align-items: center;
}
.search-input {
  font-size: 1.6rem;
  color: #ffffff;
  background: none;
  outline: none;
  border: none;
  border-bottom: 2px solid #fff;
  padding-bottom: 1rem;
  caret-color: #ffffff;
  flex: 1;
}
.search-input::placeholder {
  color: #ffffff;
  opacity: 0.7;
}
.search-button {
  background: none;
  outline: none;
  border: none;
  cursor: pointer;
  color: #fff;
  position: absolute;
  right: 0;
  padding-bottom: 1rem;
}

.back-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  background: linear-gradient(to bottom right, rgba(0, 117, 220, 0.9), rgba(0, 0, 0, 0.9));
  height: 3.5rem;
  width: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease, transform 0.3s ease;
}
.back-top:hover {
  background: linear-gradient(to bottom right, rgb(0, 117, 220), rgb(0, 0, 0));
  transform: translateY(-5px);
}
.back-top__link {
  line-height: 0;
}
.back-top__icon svg {
  width: 1.5rem;
  height: auto;
  fill: #ffffff;
  filter: invert(1);
}

.about-page {
  padding: 2rem;
}

.acf-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 2rem;
  min-height: calc(100vh - 100px);
}
.acf-section.flex-row {
  flex-direction: row;
}
@media (max-width: 75em) {
  .acf-section.flex-row {
    flex-direction: column;
  }
}
.acf-section.flex-row-reverse {
  flex-direction: row-reverse;
}
@media (max-width: 75em) {
  .acf-section.flex-row-reverse {
    flex-direction: column;
  }
}
.acf-section__content {
  flex: 1 1 50%;
  text-align: justify;
}
.acf-section__content h2 {
  margin-bottom: 0.5rem;
}
.acf-section__image {
  flex: 1 1 40%;
}
.acf-section__image img {
  width: 100%;
  border-radius: 8px;
  display: block;
}

.acf-desc-full {
  transition: all 0.3s;
}

.acf-desc-toggle {
  background: none;
  border: none;
  color: #0075dc;
  cursor: pointer;
  font-weight: bold;
  margin-left: 0.5em;
}

.contact {
  max-width: 1280px;
  margin: 0 auto;
  padding: 6rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 56.25em) {
  .contact {
    grid-template-columns: 1fr;
  }
}
.contact__title {
  grid-column: 1/-1;
  margin-bottom: 2rem;
  font-size: 2rem;
  text-transform: uppercase;
  font-weight: 700;
  background: linear-gradient(to bottom right, rgba(0, 117, 220, 0.9), rgba(0, 0, 0, 0.9));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.contact__form {
  position: sticky;
  top: 6rem;
  align-self: start;
}
@media (max-width: 56.25em) {
  .contact__form {
    position: static;
    top: auto;
  }
}
.contact .notice {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 2rem;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.contact .notice-error {
  background-color: #ff3333;
}
.contact .notice-success {
  background-color: #00b300;
}
.contact .form-row {
  margin-bottom: 1.5rem;
}
.contact .form-row label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.contact .form-row input,
.contact .form-row select,
.contact .form-row textarea {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 0.25rem;
  font-size: 1rem;
}
.contact .form-row input:focus,
.contact .form-row select:focus,
.contact .form-row textarea:focus {
  border-color: #adb5bd;
  outline: none;
  box-shadow: 0 0 0 3px rgba(173, 181, 189, 0.2);
}
.contact__info {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  gap: 1rem;
  align-items: stretch;
  width: 100%;
}
.contact__details {
  color: #ffffff;
}
.contact__details > * {
  background: linear-gradient(to bottom right, rgba(0, 117, 220, 0.9), rgba(0, 0, 0, 0.9));
  padding: 0.8rem 1.5rem;
  margin-bottom: 1rem;
  border-radius: 20px;
}
.contact__details h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.contact__details p {
  margin: 0;
  font-size: 1rem;
}
.contact__details svg {
  width: 1.5rem;
  height: 1.5rem;
  vertical-align: middle;
  filter: invert(1);
}

.centres-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1115px;
  padding-inline: 2rem;
  margin: 4rem auto;
}

.centre-card {
  background: linear-gradient(to bottom right, rgba(0, 117, 220, 0.9), rgba(0, 0, 0, 0.9));
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  padding: 2rem 1rem;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  transition: all 0.3s ease;
}
.centre-card:hover, .centre-card:focus {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px) scale(1.03);
  outline: none;
}
.centre-card__icon {
  margin-bottom: 1rem;
}
.centre-card__icon svg {
  width: 56px;
  height: 56px;
  display: inline-block;
  filter: invert(1);
}
.centre-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  color: #ffffff;
  letter-spacing: 0.01em;
}

@media (max-width: 1024px) {
  .centres-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .centres-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .centre-card {
    padding: 1.2rem 0.5rem;
    min-height: 140px;
  }
}
.centre-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  z-index: -1;
}
.centre-hero__image {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.centre-hero__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.centre-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0, 117, 220, 0.6), rgba(0, 0, 0, 0.5));
  pointer-events: none;
}
.centre-hero__title {
  position: absolute;
  top: 50%;
  left: 2rem;
  transform: translateY(-50%);
  z-index: 3;
  width: 100%;
}
@media (max-width: 56.25em) {
  .centre-hero__title {
    left: 0;
    padding-inline: 0.5rem;
  }
}
.centre-hero__title h1 {
  margin: 0;
  font-size: clamp(1.6rem, 3.5vw, 3rem);
  line-height: 1.05;
  color: #fff;
}
.centre-hero__subtitle {
  margin: 0.5rem 0 0;
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.6862745098);
  max-width: 50rem;
}

/* Two column content under hero */
.centre-two-col {
  max-width: 1115px;
  margin: 4.5rem auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.centre-two-col__col--left img {
  aspect-ratio: 1/1;
}

/* Responsive */
@media (max-width: 900px) {
  .centre-hero__image {
    flex-basis: 100%;
  }
  .centre-hero__title {
    flex-basis: 100%;
    text-align: center;
  }
  .centre-two-col {
    grid-template-columns: 1fr;
  }
}
.page-actualites {
  padding: 4rem 0;
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.actualites-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.actualite-card {
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 6px 20px rgba(16, 24, 40, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 260px;
}
.actualite-card__link {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.actualite-card__media {
  height: 160px;
  overflow: hidden;
  background: #f6f6f6;
}
.actualite-card__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.actualite-card__body {
  padding: 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.actualite-card__title {
  font-size: 1rem;
  margin: 0;
  font-weight: 700;
}
.actualite-card__meta {
  font-size: 0.85rem;
  color: #6b7280;
}
.actualite-card__excerpt {
  margin-top: auto;
  font-size: 0.95rem;
  color: #333;
}

@media (max-width: 1100px) {
  .actualites-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 800px) {
  .actualites-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .actualites-grid {
    grid-template-columns: 1fr;
  }
}
.actualite-single {
  max-width: 1200px;
  margin: 2.5rem auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  /* Related posts */
  /* responsiveness */
}
.actualite-single .actualite-hero {
  width: 100%;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 8px 30px rgba(16, 24, 40, 0.06);
  background: #f8fafc;
}
.actualite-single .actualite-hero__img {
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover;
  display: block;
}
.actualite-single .actualite-header .actualite-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1.06;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
}
.actualite-single .actualite-header .actualite-meta {
  color: #6b7280;
  font-size: 0.95rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.actualite-single .actualite-header .actualite-meta .by {
  color: #6b7280;
  font-weight: 600;
}
.actualite-single .actualite-header .actualite-meta time {
  opacity: 0.95;
}
.actualite-single .actualite-content {
  color: #111827;
  font-size: 1rem;
  line-height: 1.75;
  text-align: justify;
}
.actualite-single .actualite-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}
.actualite-single .actualite-content p {
  margin: 0 0 1.1rem;
}
.actualite-single .actualite-content h2,
.actualite-single .actualite-content h3,
.actualite-single .actualite-content h4 {
  margin: 1.4rem 0 0.6rem;
  line-height: 1.25;
}
.actualite-single .actualite-content ul,
.actualite-single .actualite-content ol {
  margin: 0 0 1rem 1.25rem;
}
.actualite-single .actualite-content blockquote {
  margin: 1rem 0;
  padding: 0.9rem 1.1rem;
  background: #fbfdff;
  border-left: 4px solid #0b66ff;
  color: #4f545f;
  border-radius: 6px;
}
.actualite-single .actualite-content pre {
  overflow: auto;
  background: #0b1020;
  color: #fff;
  padding: 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
}
.actualite-single .actualite-content a {
  color: #0b66ff #0b66ff;
  text-decoration: underline;
}
.actualite-single .actualite-content table {
  width: 100%;
  border-collapse: collapse;
}
.actualite-single .actualite-content table th,
.actualite-single .actualite-content table td {
  padding: 0.6rem 0.8rem;
  border: 1px solid #e6e9ef;
}
.actualite-single .actualite-related h3 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  white-space: nowrap;
}
.actualite-single .actualite-related h3::after {
  content: "";
  display: block;
  flex: 1 1 auto;
  height: 1px;
  background: #000;
  border-radius: 2px;
}
.actualite-single .actualite-related .actualites-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 56.25em) {
  .actualite-single .actualite-related .actualites-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 37.5em) {
  .actualite-single .actualite-related .actualites-grid {
    grid-template-columns: 1fr;
  }
}
.actualite-single .actualite-related .actualite-card {
  border-radius: 0.5rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 18px rgba(12, 18, 26, 0.1);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
}
.actualite-single .actualite-related .actualite-card img,
.actualite-single .actualite-related .actualite-card .actualite-card__thumb {
  width: 100%;
  height: 14rem;
  object-fit: cover;
  border-radius: 4px;
  flex: 0 0 84px;
}
.actualite-single .actualite-related .actualite-card .actualite-card__title {
  font-size: 0.95rem;
  padding: 1rem 0.5rem;
  margin: 0;
  color: #111827;
}

/*# sourceMappingURL=style.css.map */
