/*
Theme Name: MBTE Pinnacle Child
Description: Thème enfant de Pinnacle Premium pour les modèles éditoriaux du MBTE.
Author: MBTE
Template: pinnacle_premium
Version: 1.0.0
Text Domain: mbte-pinnacle-child
*/

:root {
  --mbte-ink: #1f3545;
  --mbte-muted: #65737d;
  --mbte-red: #c83232;
  --mbte-yellow: #ffcc00;
  --mbte-paper: #f7f4ed;
  --mbte-card: #ffffff;
}

body.category-actualites #content {
  padding-top: 46px;
}

.mbte-news-hero {
  background-image: none !important;
}

.titleclass {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-image: none !important;
}

.titleclass::before {
  position: absolute;
  z-index: -2;
  inset: -18px;
  transform: scale(1.04);
  background: url("https://mbte.be/wp-content/uploads/2022/04/accueil.jpg") center center / cover no-repeat;
  content: "";
  filter: blur(5px);
}

.titleclass::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(6, 12, 16, .28);
  content: "";
}

.titleclass > .container {
  position: relative;
  z-index: 2;
}

body.category-actualites .titleclass,
body.single-post .titleclass,
body.calendrier .titleclass,
body.nous-rejoindre .titleclass,
body.comites .titleclass,
body.membres .titleclass,
body.woocommerce-shop .titleclass {
  box-sizing: border-box;
  height: 297px;
  min-height: 297px;
  padding: 120px 0 0 !important;
}

body.category-actualites .titleclass .page-header,
body.single-post .titleclass .page-header,
body.calendrier .titleclass .page-header,
body.nous-rejoindre .titleclass .page-header,
body.comites .titleclass .page-header,
body.membres .titleclass .page-header,
body.woocommerce-shop .titleclass .page-header {
  display: block !important;
  margin: 0;
  padding: 35px 0;
  border: 0;
}

.titleclass .kad-page-title,
.woocommerce-shop .titleclass .entry-title {
  display: inline-block;
  padding: 10px 22px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff !important;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
  text-shadow: 0 3px 12px rgba(0, 0, 0, .8);
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

body.contact #wrapper {
  position: relative;
}

body.contact #kad-banner {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  background: transparent !important;
}

body.admin-bar.contact #kad-banner {
  top: 32px;
}

body.contact #kad-banner .headerclass {
  background: transparent !important;
}

body.contact #kad-banner-sticky-wrapper {
  height: 0 !important;
}

body.contact #wrapper::before {
  display: block;
  width: 100vw;
  height: 297px;
  margin-left: calc(50% - 50vw);
  transform: scale(1.035);
  background-image: linear-gradient(rgba(8, 15, 20, .22), rgba(8, 15, 20, .32)), url("https://mbte.be/wp-content/uploads/2022/04/accueil.jpg");
  background-position: center center;
  background-size: cover;
  content: "";
  filter: blur(5px);
  clip-path: inset(0);
}

body.contact #wrapper::after {
  position: absolute;
  top: 165px;
  left: 50%;
  padding: 10px 22px 12px;
  transform: translateX(-50%);
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  content: "Contact";
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  text-shadow: 0 3px 12px rgba(0, 0, 0, .8);
  box-shadow: none;
  white-space: nowrap;
}

body.comites .mbte-directory > h1:first-child,
body.membres .mbte-directory > h1:first-child {
  display: none;
}

body.single-post #content > .row > .main { width: 100%; }
body.single-post #content > .row > aside { display: none; }

.mbte-article-page { padding-top: 56px; padding-bottom: 72px; }
.mbte-article {
  max-width: 940px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(31, 53, 69, .1);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(31, 53, 69, .09);
}
.mbte-article-header { padding: 52px 64px 38px; }
.mbte-article-header h1 {
  margin: 20px 0 0;
  color: var(--mbte-ink);
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -.025em;
}
.mbte-article-image { margin: 0; background: #e8ecee; }
.mbte-article-image img { display: block; width: 100%; max-height: 620px; object-fit: cover; }
.mbte-article-content { padding: 46px 64px 58px; color: #43525c; font-size: 18px; line-height: 1.78; }
.mbte-article-content > :first-child { margin-top: 0; }
.mbte-article-content > :last-child { margin-bottom: 0; }
.mbte-article-content h2, .mbte-article-content h3 { color: var(--mbte-ink); line-height: 1.2; }
.mbte-article-content a { color: var(--mbte-red); text-decoration: underline; text-underline-offset: 3px; }
.mbte-article-comments { max-width: 940px; margin: 42px auto 0; }

.mbte-recent { max-width: 1140px; margin: 72px auto 0; padding-top: 48px; border-top: 1px solid rgba(31, 53, 69, .14); }
.mbte-recent-heading { margin-bottom: 26px; text-align: center; }
.mbte-recent-heading p { margin: 0 0 8px; color: var(--mbte-red); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.mbte-recent-heading h2 { margin: 0; color: var(--mbte-ink); font-size: clamp(32px, 4vw, 46px); }
.mbte-recent-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mbte-recent-card { overflow: hidden; border: 1px solid rgba(31, 53, 69, .1); border-top: 4px solid var(--mbte-red); border-radius: 10px; background: #fff; box-shadow: 0 10px 26px rgba(31, 53, 69, .07); }
.mbte-recent-image { display: grid; height: 190px; place-items: center; overflow: hidden; background: var(--mbte-ink); color: #fff; font-weight: 800; letter-spacing: .12em; }
.mbte-recent-image img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; transition: transform .35s ease; }
.mbte-recent-card:hover .mbte-recent-image img { transform: scale(1.035); }
.mbte-recent-body { display: flex; min-height: 190px; flex-direction: column; padding: 26px 26px 28px; }
.mbte-recent-body time { color: var(--mbte-muted); font-size: 12px; font-weight: 700; }
.mbte-recent-body h3 { margin: 10px 0 18px; color: var(--mbte-ink); font-size: 22px; line-height: 1.2; }
.mbte-recent-body h3 a { color: inherit; text-decoration: none; }
.mbte-recent-link { margin-top: auto; color: var(--mbte-red); font-weight: 800; text-decoration: none; }

/* Page Nous rejoindre */
body.nous-rejoindre #content {
  padding-top: 54px;
  padding-bottom: 72px;
  background: #f6f7f7;
}

body.nous-rejoindre .entry-content { background: transparent; }

body.nous-rejoindre .mbte-join {
  width: min(1180px, calc(100vw - 48px)) !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  color: #43525c !important;
}

body.nous-rejoindre .mbte-join section {
  position: relative;
  margin-bottom: 32px !important;
  padding: clamp(34px, 4.5vw, 58px) !important;
  overflow: hidden;
  border: 1px solid rgba(31, 53, 69, .1) !important;
  border-top: 4px solid var(--mbte-red) !important;
  border-radius: 14px !important;
  box-shadow: 0 14px 38px rgba(31, 53, 69, .09) !important;
}

body.nous-rejoindre .mbte-join section:nth-child(even) {
  border-top-color: var(--mbte-yellow) !important;
}

body.nous-rejoindre .mbte-row {
  gap: clamp(34px, 5vw, 68px) !important;
}

body.nous-rejoindre .mbte-join h2 {
  position: relative;
  margin-bottom: 28px !important;
  color: var(--mbte-ink) !important;
  font-size: clamp(28px, 3.4vw, 44px) !important;
  line-height: 1.08 !important;
  letter-spacing: -.02em;
  text-align: left !important;
}

body.nous-rejoindre .mbte-join h2::after {
  display: block;
  width: 54px;
  height: 4px;
  margin-top: 16px;
  border-radius: 99px;
  background: var(--mbte-yellow);
  content: "";
}

body.nous-rejoindre .mbte-join p,
body.nous-rejoindre .mbte-join li {
  font-size: 17px !important;
  line-height: 1.72 !important;
}

body.nous-rejoindre .mbte-join li { margin-bottom: 10px !important; }
body.nous-rejoindre .mbte-join li::marker { color: var(--mbte-red); }

body.nous-rejoindre .mbte-media {
  border-radius: 11px !important;
  background-position: center !important;
  background-size: cover !important;
  box-shadow: 0 14px 32px rgba(31, 53, 69, .16) !important;
}

body.nous-rejoindre .mbte-tagline {
  display: inline-block;
  margin: 22px 0 0 !important;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff4cf;
  color: #735d00;
  font-size: 15px !important;
  font-weight: 800;
}

body.nous-rejoindre .mbte-shield {
  min-height: 360px !important;
  filter: drop-shadow(0 14px 22px rgba(31, 53, 69, .18));
}

body.nous-rejoindre .mbte-join section:last-child {
  margin-bottom: 0 !important;
  border-top-color: var(--mbte-yellow) !important;
  background: var(--mbte-ink) !important;
  color: #f5f7f8 !important;
}

body.nous-rejoindre .mbte-join section:last-child h2 { color: #fff !important; }

@media (min-width: 768px) {
  body.nous-rejoindre .mbte-join section:nth-child(3) .mbte-copy,
  body.nous-rejoindre .mbte-join section:nth-child(3) > .mbte-row > div:first-child { order: 2; }
}

body.category-actualites #content > .row > .main {
  width: 100%;
}

body.category-actualites #content > .row > aside {
  display: none;
}

.mbte-news-search {
  max-width: 620px;
  margin: 30px auto 38px;
}

.mbte-news-search form {
  display: flex;
  width: 100%;
  max-width: none !important;
  border: 1px solid rgba(31, 53, 69, .16);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 20px rgba(31, 53, 69, .06);
}

.mbte-news-search label {
  display: block;
  flex: 1;
  min-width: 0;
  margin: 0;
}

.mbte-news-search input[type="text"],
.mbte-news-search input[type="search"] {
  flex: 1;
  min-width: 0;
  height: 50px;
  margin: 0;
  padding: 0 18px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.mbte-news-search button,
.mbte-news-search input[type="submit"] {
  position: static !important;
  order: 2;
  min-width: 54px;
  height: 50px !important;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: var(--mbte-yellow);
  color: var(--mbte-ink);
}

.mbte-news-intro {
  margin: 0 0 30px;
  padding: 0 0 20px;
  border-bottom: 1px solid rgba(31, 53, 69, .12);
}

.mbte-news-kicker {
  display: inline-block;
  margin: 0 0 12px;
  color: var(--mbte-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.mbte-news-intro p {
  margin: 0;
  color: var(--mbte-muted);
  font-size: 17px;
  line-height: 1.6;
}

.mbte-news-grid {
  display: grid;
  gap: 30px;
}

.mbte-news-card {
  display: grid;
  grid-template-columns: minmax(300px, .88fr) minmax(0, 1.12fr);
  height: 370px;
  min-height: 0;
  overflow: hidden;
  background: var(--mbte-card);
  border: 1px solid rgba(31, 53, 69, .1);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(31, 53, 69, .08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.mbte-news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 58px rgba(31, 53, 69, .14);
}

.mbte-news-media {
  display: block;
  height: 370px;
  min-height: 0;
  overflow: hidden;
  background: #e9ecee;
}

.mbte-news-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center 28%;
  transition: transform .45s ease;
}

.mbte-news-card:hover .mbte-news-media img { transform: scale(1.025); }

.mbte-news-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 36px;
}

.mbte-news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 16px;
  color: var(--mbte-muted);
  font-size: 13px;
}

.mbte-news-date {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
}

.mbte-news-date::before {
  width: 5px;
  height: 5px;
  margin-right: 12px;
  border-radius: 50%;
  background: var(--mbte-red);
  content: "";
}

.mbte-news-category {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(200, 50, 50, .18);
  background: var(--mbte-red);
  color: #fff;
  font-weight: 800;
  letter-spacing: .06em;
  box-shadow: 0 5px 14px rgba(200, 50, 50, .18);
  text-transform: uppercase;
}

.mbte-news-body h2 {
  margin: 0 0 22px !important;
  color: var(--mbte-ink);
  font-size: clamp(25px, 2.65vw, 32px);
  line-height: 1.1;
  letter-spacing: -.025em;
}

.mbte-news-body h2 a { color: inherit; text-decoration: none; }
.mbte-news-body h2 a:hover { color: var(--mbte-red); }

.mbte-news-excerpt {
  color: #4c5962;
  font-size: 15px;
  line-height: 1.65;
}

.mbte-news-excerpt p { margin: 0; }

.mbte-news-button {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  margin-top: 20px;
  padding: 11px 19px;
  border-radius: 999px;
  background: var(--mbte-ink);
  color: #fff !important;
  font-weight: 800;
  text-decoration: none !important;
  transition: background .2s ease, transform .2s ease;
}

.mbte-news-button:hover {
  background: var(--mbte-red);
  transform: translateX(2px);
}

.mbte-news-empty {
  padding: 40px;
  border-radius: 18px;
  background: #fff;
  color: var(--mbte-muted);
}

.mbte-news-pagination { margin-top: 38px; }
.mbte-news-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.mbte-news-pagination .page-numbers {
  display: grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--mbte-ink);
  text-decoration: none;
}
.mbte-news-pagination .current,
.mbte-news-pagination a:hover { background: var(--mbte-ink); color: #fff; }

@media (max-width: 800px) {
  body.category-actualites #content { padding-top: 34px; }
  .mbte-news-search { margin: 24px auto 30px; }
  .mbte-news-intro { margin-bottom: 28px; }
  .mbte-news-card { grid-template-columns: 1fr; height: auto; min-height: 0; border-radius: 17px; }
  .mbte-news-media, .mbte-news-media img { height: 270px; min-height: 0; }
  .mbte-news-body { padding: 28px 24px 32px; }
  .mbte-news-body h2 { font-size: 28px; }
  .mbte-article-page { padding-top: 30px; padding-bottom: 48px; }
  .mbte-article { border-radius: 9px; }
  .mbte-article-header { padding: 32px 24px 26px; }
  .mbte-article-header h1 { font-size: 36px; }
  .mbte-article-content { padding: 30px 24px 38px; font-size: 17px; }
  .mbte-recent { margin-top: 48px; padding-top: 38px; }
  .mbte-recent-grid { grid-template-columns: 1fr; }
  .mbte-recent-image { height: 220px; }
  .mbte-recent-image img { object-position: center bottom; }
  body.nous-rejoindre #content { padding-top: 30px; padding-bottom: 48px; }
  body.nous-rejoindre .mbte-join { width: calc(100vw - 24px) !important; }
  body.nous-rejoindre .mbte-join section { padding: 30px 22px !important; border-radius: 10px !important; }
  body.nous-rejoindre .mbte-join h2 { font-size: 31px !important; }
  body.nous-rejoindre .mbte-shield { min-height: 280px !important; }
}
/*
Theme Name: MBTE Pinnacle Child
Description: Thème enfant de Pinnacle Premium pour les modèles éditoriaux du MBTE.
Author: MBTE
Template: pinnacle_premium
Version: 1.0.1
Text Domain: mbte-pinnacle-child
*/

:root {
  --mbte-ink: #1f3545;
  --mbte-muted: #65737d;
  --mbte-red: #c83232;
  --mbte-yellow: #ffcc00;
  --mbte-paper: #f7f4ed;
  --mbte-card: #ffffff;
}

body.category-actualites #content {
  padding-top: 46px;
}

.mbte-news-hero {
  background-image: none !important;
}

.titleclass {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-image: none !important;
}

.titleclass::before {
  position: absolute;
  z-index: -2;
  inset: -18px;
  transform: scale(1.04);
  background: url("https://mbte.be/wp-content/uploads/2022/04/accueil.jpg") center center / cover no-repeat;
  content: "";
  filter: blur(5px);
}

.titleclass::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(6, 12, 16, .28);
  content: "";
}

.titleclass > .container {
  position: relative;
  z-index: 2;
}

body.category-actualites .titleclass,
body.single-post .titleclass,
body.calendrier .titleclass,
body.nous-rejoindre .titleclass,
body.comites .titleclass,
body.membres .titleclass,
body.woocommerce-shop .titleclass {
  box-sizing: border-box;
  height: 297px;
  min-height: 297px;
  padding: 120px 0 0 !important;
}

body.category-actualites .titleclass .page-header,
body.single-post .titleclass .page-header,
body.calendrier .titleclass .page-header,
body.nous-rejoindre .titleclass .page-header,
body.comites .titleclass .page-header,
body.membres .titleclass .page-header,
body.woocommerce-shop .titleclass .page-header {
  display: block !important;
  margin: 0;
  padding: 35px 0;
  border: 0;
}

.titleclass .kad-page-title,
.woocommerce-shop .titleclass .entry-title {
  display: inline-block;
  padding: 10px 22px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff !important;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
  text-shadow: 0 3px 12px rgba(0, 0, 0, .8);
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

body.contact #wrapper {
  position: relative;
}

body.contact #kad-banner {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  background: transparent !important;
}

body.admin-bar.contact #kad-banner {
  top: 32px;
}

body.contact #kad-banner .headerclass {
  background: transparent !important;
}

body.contact #kad-banner-sticky-wrapper {
  height: 0 !important;
}

body.contact #wrapper::before {
  display: block;
  width: 100vw;
  height: 297px;
  margin-left: calc(50% - 50vw);
  transform: scale(1.035);
  background-image: linear-gradient(rgba(8, 15, 20, .22), rgba(8, 15, 20, .32)), url("https://mbte.be/wp-content/uploads/2022/04/accueil.jpg");
  background-position: center center;
  background-size: cover;
  content: "";
  filter: blur(5px);
  clip-path: inset(0);
}

body.contact #wrapper::after {
  position: absolute;
  top: 165px;
  left: 50%;
  padding: 10px 22px 12px;
  transform: translateX(-50%);
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  content: "Contact";
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  text-shadow: 0 3px 12px rgba(0, 0, 0, .8);
  box-shadow: none;
  white-space: nowrap;
}

body.comites .mbte-directory > h1:first-child,
body.membres .mbte-directory > h1:first-child {
  display: none;
}

body.single-post #content > .row > .main { width: 100%; }
body.single-post #content > .row > aside { display: none; }

.mbte-article-page { padding-top: 56px; padding-bottom: 72px; }
.mbte-article {
  max-width: 940px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(31, 53, 69, .1);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(31, 53, 69, .09);
}
.mbte-article-header { padding: 52px 64px 38px; }
.mbte-article-header h1 {
  margin: 20px 0 0;
  color: var(--mbte-ink);
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -.025em;
}
.mbte-article-image { margin: 0; background: #e8ecee; }
.mbte-article-image img { display: block; width: 100%; max-height: 620px; object-fit: cover; }
.mbte-article-content { padding: 46px 64px 58px; color: #43525c; font-size: 18px; line-height: 1.78; }
.mbte-article-content > :first-child { margin-top: 0; }
.mbte-article-content > :last-child { margin-bottom: 0; }
.mbte-article-content h2, .mbte-article-content h3 { color: var(--mbte-ink); line-height: 1.2; }
.mbte-article-content a { color: var(--mbte-red); text-decoration: underline; text-underline-offset: 3px; }
.mbte-article-comments { max-width: 940px; margin: 42px auto 0; }

.mbte-recent { max-width: 1140px; margin: 72px auto 0; padding-top: 48px; border-top: 1px solid rgba(31, 53, 69, .14); }
.mbte-recent-heading { margin-bottom: 26px; text-align: center; }
.mbte-recent-heading p { margin: 0 0 8px; color: var(--mbte-red); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.mbte-recent-heading h2 { margin: 0; color: var(--mbte-ink); font-size: clamp(32px, 4vw, 46px); }
.mbte-recent-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mbte-recent-card { overflow: hidden; border: 1px solid rgba(31, 53, 69, .1); border-top: 4px solid var(--mbte-red); border-radius: 10px; background: #fff; box-shadow: 0 10px 26px rgba(31, 53, 69, .07); }
.mbte-recent-image { display: grid; height: 190px; place-items: center; overflow: hidden; background: var(--mbte-ink); color: #fff; font-weight: 800; letter-spacing: .12em; }
.mbte-recent-image img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; transition: transform .35s ease; }
.mbte-recent-card:hover .mbte-recent-image img { transform: scale(1.035); }
.mbte-recent-body { display: flex; min-height: 190px; flex-direction: column; padding: 26px 26px 28px; }
.mbte-recent-body time { color: var(--mbte-muted); font-size: 12px; font-weight: 700; }
.mbte-recent-body h3 { margin: 10px 0 18px; color: var(--mbte-ink); font-size: 22px; line-height: 1.2; }
.mbte-recent-body h3 a { color: inherit; text-decoration: none; }
.mbte-recent-link { margin-top: auto; color: var(--mbte-red); font-weight: 800; text-decoration: none; }

/* Page Nous rejoindre */
body.nous-rejoindre #content {
  padding-top: 54px;
  padding-bottom: 72px;
  background: #f6f7f7;
}

body.nous-rejoindre .entry-content { background: transparent; }

body.nous-rejoindre .mbte-join {
  width: min(1180px, calc(100vw - 48px)) !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  color: #43525c !important;
}

body.nous-rejoindre .mbte-join section {
  position: relative;
  margin-bottom: 32px !important;
  padding: clamp(34px, 4.5vw, 58px) !important;
  overflow: hidden;
  border: 1px solid rgba(31, 53, 69, .1) !important;
  border-top: 4px solid var(--mbte-red) !important;
  border-radius: 14px !important;
  box-shadow: 0 14px 38px rgba(31, 53, 69, .09) !important;
}

body.nous-rejoindre .mbte-join section:nth-child(even) {
  border-top-color: var(--mbte-yellow) !important;
}

body.nous-rejoindre .mbte-row {
  gap: clamp(34px, 5vw, 68px) !important;
}

body.nous-rejoindre .mbte-join h2 {
  position: relative;
  margin-bottom: 28px !important;
  color: var(--mbte-ink) !important;
  font-size: clamp(28px, 3.4vw, 44px) !important;
  line-height: 1.08 !important;
  letter-spacing: -.02em;
  text-align: left !important;
}

body.nous-rejoindre .mbte-join h2::after {
  display: block;
  width: 54px;
  height: 4px;
  margin-top: 16px;
  border-radius: 99px;
  background: var(--mbte-yellow);
  content: "";
}

body.nous-rejoindre .mbte-join p,
body.nous-rejoindre .mbte-join li {
  font-size: 17px !important;
  line-height: 1.72 !important;
}

body.nous-rejoindre .mbte-join li { margin-bottom: 10px !important; }
body.nous-rejoindre .mbte-join li::marker { color: var(--mbte-red); }

body.nous-rejoindre .mbte-media {
  border-radius: 11px !important;
  background-position: center !important;
  background-size: cover !important;
  box-shadow: 0 14px 32px rgba(31, 53, 69, .16) !important;
}

body.nous-rejoindre .mbte-tagline {
  display: inline-block;
  margin: 22px 0 0 !important;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff4cf;
  color: #735d00;
  font-size: 15px !important;
  font-weight: 800;
}

body.nous-rejoindre .mbte-shield {
  min-height: 360px !important;
  filter: drop-shadow(0 14px 22px rgba(31, 53, 69, .18));
}

body.nous-rejoindre .mbte-join section:last-child {
  margin-bottom: 0 !important;
  border-top-color: var(--mbte-yellow) !important;
  background: var(--mbte-ink) !important;
  color: #f5f7f8 !important;
}

body.nous-rejoindre .mbte-join section:last-child h2 { color: #fff !important; }

@media (min-width: 768px) {
  body.nous-rejoindre .mbte-join section:nth-child(3) .mbte-copy,
  body.nous-rejoindre .mbte-join section:nth-child(3) > .mbte-row > div:first-child { order: 2; }
}

body.category-actualites #content > .row > .main {
  width: 100%;
}

body.category-actualites #content > .row > aside {
  display: none;
}

.mbte-news-search {
  max-width: 620px;
  margin: 30px auto 38px;
}

.mbte-news-search form {
  display: flex;
  width: 100%;
  max-width: none !important;
  border: 1px solid rgba(31, 53, 69, .16);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 20px rgba(31, 53, 69, .06);
}

.mbte-news-search label {
  display: block;
  flex: 1;
  min-width: 0;
  margin: 0;
}

.mbte-news-search input[type="text"],
.mbte-news-search input[type="search"] {
  flex: 1;
  min-width: 0;
  height: 50px;
  margin: 0;
  padding: 0 18px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.mbte-news-search button,
.mbte-news-search input[type="submit"] {
  position: static !important;
  order: 2;
  min-width: 54px;
  height: 50px !important;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: var(--mbte-yellow);
  color: var(--mbte-ink);
}

.mbte-news-intro {
  margin: 0 0 30px;
  padding: 0 0 20px;
  border-bottom: 1px solid rgba(31, 53, 69, .12);
}

.mbte-news-kicker {
  display: inline-block;
  margin: 0 0 12px;
  color: var(--mbte-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.mbte-news-intro p {
  margin: 0;
  color: var(--mbte-muted);
  font-size: 17px;
  line-height: 1.6;
}

.mbte-news-grid {
  display: grid;
  gap: 30px;
}

.mbte-news-card {
  display: grid;
  grid-template-columns: minmax(300px, .88fr) minmax(0, 1.12fr);
  height: 370px;
  min-height: 0;
  overflow: hidden;
  background: var(--mbte-card);
  border: 1px solid rgba(31, 53, 69, .1);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(31, 53, 69, .08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.mbte-news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 58px rgba(31, 53, 69, .14);
}

.mbte-news-media {
  display: block;
  height: 370px;
  min-height: 0;
  overflow: hidden;
  background: #e9ecee;
}

.mbte-news-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center 28%;
  transition: transform .45s ease;
}

.mbte-news-card:hover .mbte-news-media img { transform: scale(1.025); }

.mbte-news-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 36px;
}

.mbte-news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 16px;
  color: var(--mbte-muted);
  font-size: 13px;
}

.mbte-news-date {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
}

.mbte-news-date::before {
  width: 5px;
  height: 5px;
  margin-right: 12px;
  border-radius: 50%;
  background: var(--mbte-red);
  content: "";
}

.mbte-news-category {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(200, 50, 50, .18);
  background: var(--mbte-red);
  color: #fff;
  font-weight: 800;
  letter-spacing: .06em;
  box-shadow: 0 5px 14px rgba(200, 50, 50, .18);
  text-transform: uppercase;
}

.mbte-news-body h2 {
  margin: 0 0 22px !important;
  color: var(--mbte-ink);
  font-size: clamp(25px, 2.65vw, 32px);
  line-height: 1.1;
  letter-spacing: -.025em;
}

.mbte-news-body h2 a { color: inherit; text-decoration: none; }
.mbte-news-body h2 a:hover { color: var(--mbte-red); }

.mbte-news-excerpt {
  color: #4c5962;
  font-size: 15px;
  line-height: 1.65;
}

.mbte-news-excerpt p { margin: 0; }

.mbte-news-button {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  margin-top: 20px;
  padding: 11px 19px;
  border-radius: 999px;
  background: var(--mbte-ink);
  color: #fff !important;
  font-weight: 800;
  text-decoration: none !important;
  transition: background .2s ease, transform .2s ease;
}

.mbte-news-button:hover {
  background: var(--mbte-red);
  transform: translateX(2px);
}

.mbte-news-empty {
  padding: 40px;
  border-radius: 18px;
  background: #fff;
  color: var(--mbte-muted);
}

.mbte-news-pagination { margin-top: 38px; }
.mbte-news-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.mbte-news-pagination .page-numbers {
  display: grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--mbte-ink);
  text-decoration: none;
}
.mbte-news-pagination .current,
.mbte-news-pagination a:hover { background: var(--mbte-ink); color: #fff; }

@media (max-width: 800px) {
  body.category-actualites #content { padding-top: 34px; }
  .mbte-news-search { margin: 24px auto 30px; }
  .mbte-news-intro { margin-bottom: 28px; }
  .mbte-news-card { grid-template-columns: 1fr; height: auto; min-height: 0; border-radius: 17px; }
  .mbte-news-media, .mbte-news-media img { height: 270px; min-height: 0; }
  .mbte-news-body { padding: 28px 24px 32px; }
  .mbte-news-body h2 { font-size: 28px; }
  .mbte-article-page { padding-top: 30px; padding-bottom: 48px; }
  .mbte-article { border-radius: 9px; }
  .mbte-article-header { padding: 32px 24px 26px; }
  .mbte-article-header h1 { font-size: 36px; }
  .mbte-article-content { padding: 30px 24px 38px; font-size: 17px; }
  .mbte-recent { margin-top: 48px; padding-top: 38px; }
  .mbte-recent-grid { grid-template-columns: 1fr; }
  .mbte-recent-image { height: 220px; }
  .mbte-recent-image img { object-position: center bottom; }
  body.nous-rejoindre #content { padding-top: 30px; padding-bottom: 48px; }
  body.nous-rejoindre .mbte-join { width: calc(100vw - 24px) !important; }
  body.nous-rejoindre .mbte-join section { padding: 30px 22px !important; border-radius: 10px !important; }
  body.nous-rejoindre .mbte-join h2 { font-size: 31px !important; }
  body.nous-rejoindre .mbte-shield { min-height: 280px !important; }
}
/*
Theme Name: MBTE Pinnacle Child
Description: Thème enfant de Pinnacle Premium pour les modèles éditoriaux du MBTE.
Author: MBTE
Template: pinnacle_premium
Version: 1.0.0
Text Domain: mbte-pinnacle-child
*/

:root {
  --mbte-ink: #1f3545;
  --mbte-muted: #65737d;
  --mbte-red: #c83232;
  --mbte-yellow: #ffcc00;
  --mbte-paper: #f7f4ed;
  --mbte-card: #ffffff;
}

body.category-actualites #content {
  padding-top: 46px;
}

.mbte-news-hero {
  background-image: none !important;
}

.titleclass {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-image: none !important;
}

.titleclass::before {
  position: absolute;
  z-index: -2;
  inset: -18px;
  transform: scale(1.04);
  background: url("https://mbte.be/wp-content/uploads/2022/04/accueil.jpg") center center / cover no-repeat;
  content: "";
  filter: blur(5px);
}

.titleclass::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(6, 12, 16, .28);
  content: "";
}

.titleclass > .container {
  position: relative;
  z-index: 2;
}

body.category-actualites .titleclass,
body.single-post .titleclass,
body.calendrier .titleclass,
body.nous-rejoindre .titleclass,
body.comites .titleclass,
body.membres .titleclass,
body.woocommerce-shop .titleclass {
  box-sizing: border-box;
  height: 297px;
  min-height: 297px;
  padding: 120px 0 0 !important;
}

body.category-actualites .titleclass .page-header,
body.single-post .titleclass .page-header,
body.calendrier .titleclass .page-header,
body.nous-rejoindre .titleclass .page-header,
body.comites .titleclass .page-header,
body.membres .titleclass .page-header,
body.woocommerce-shop .titleclass .page-header {
  display: block !important;
  margin: 0;
  padding: 35px 0;
  border: 0;
}

.titleclass .kad-page-title,
.woocommerce-shop .titleclass .entry-title {
  display: inline-block;
  padding: 10px 22px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff !important;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
  text-shadow: 0 3px 12px rgba(0, 0, 0, .8);
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

body.contact #wrapper {
  position: relative;
}

body.contact #kad-banner {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  background: transparent !important;
}

body.admin-bar.contact #kad-banner {
  top: 32px;
}

body.contact #kad-banner .headerclass {
  background: transparent !important;
}

body.contact #kad-banner-sticky-wrapper {
  height: 0 !important;
}

body.contact #wrapper::before {
  display: block;
  width: 100vw;
  height: 297px;
  margin-left: calc(50% - 50vw);
  transform: scale(1.035);
  background-image: linear-gradient(rgba(8, 15, 20, .22), rgba(8, 15, 20, .32)), url("https://mbte.be/wp-content/uploads/2022/04/accueil.jpg");
  background-position: center center;
  background-size: cover;
  content: "";
  filter: blur(5px);
  clip-path: inset(0);
}

body.contact #wrapper::after {
  position: absolute;
  top: 165px;
  left: 50%;
  padding: 10px 22px 12px;
  transform: translateX(-50%);
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  content: "Contact";
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  text-shadow: 0 3px 12px rgba(0, 0, 0, .8);
  box-shadow: none;
  white-space: nowrap;
}

body.comites .mbte-directory > h1:first-child,
body.membres .mbte-directory > h1:first-child {
  display: none;
}

body.single-post #content > .row > .main { width: 100%; }
body.single-post #content > .row > aside { display: none; }

.mbte-article-page { padding-top: 56px; padding-bottom: 72px; }
.mbte-article {
  max-width: 940px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(31, 53, 69, .1);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(31, 53, 69, .09);
}
.mbte-article-header { padding: 52px 64px 38px; }
.mbte-article-header h1 {
  margin: 20px 0 0;
  color: var(--mbte-ink);
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -.025em;
}
.mbte-article-image { margin: 0; background: #e8ecee; }
.mbte-article-image img { display: block; width: 100%; max-height: 620px; object-fit: cover; }
.mbte-article-content { padding: 46px 64px 58px; color: #43525c; font-size: 18px; line-height: 1.78; }
.mbte-article-content > :first-child { margin-top: 0; }
.mbte-article-content > :last-child { margin-bottom: 0; }
.mbte-article-content h2, .mbte-article-content h3 { color: var(--mbte-ink); line-height: 1.2; }
.mbte-article-content a { color: var(--mbte-red); text-decoration: underline; text-underline-offset: 3px; }
.mbte-article-comments { max-width: 940px; margin: 42px auto 0; }

.mbte-recent { max-width: 1140px; margin: 72px auto 0; padding-top: 48px; border-top: 1px solid rgba(31, 53, 69, .14); }
.mbte-recent-heading { margin-bottom: 26px; text-align: center; }
.mbte-recent-heading p { margin: 0 0 8px; color: var(--mbte-red); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.mbte-recent-heading h2 { margin: 0; color: var(--mbte-ink); font-size: clamp(32px, 4vw, 46px); }
.mbte-recent-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mbte-recent-card { overflow: hidden; border: 1px solid rgba(31, 53, 69, .1); border-top: 4px solid var(--mbte-red); border-radius: 10px; background: #fff; box-shadow: 0 10px 26px rgba(31, 53, 69, .07); }
.mbte-recent-image { display: grid; height: 190px; place-items: center; overflow: hidden; background: var(--mbte-ink); color: #fff; font-weight: 800; letter-spacing: .12em; }
.mbte-recent-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; transition: transform .35s ease; }
.mbte-recent-card:hover .mbte-recent-image img { transform: scale(1.035); }
.mbte-recent-body { display: flex; min-height: 190px; flex-direction: column; padding: 26px 26px 28px; }
.mbte-recent-body time { color: var(--mbte-muted); font-size: 12px; font-weight: 700; }
.mbte-recent-body h3 { margin: 10px 0 18px; color: var(--mbte-ink); font-size: 22px; line-height: 1.2; }
.mbte-recent-body h3 a { color: inherit; text-decoration: none; }
.mbte-recent-link { margin-top: auto; color: var(--mbte-red); font-weight: 800; text-decoration: none; }

/* Page Nous rejoindre */
body.nous-rejoindre #content {
  padding-top: 54px;
  padding-bottom: 72px;
  background: #f6f7f7;
}

body.nous-rejoindre .entry-content { background: transparent; }

body.nous-rejoindre .mbte-join {
  width: min(1180px, calc(100vw - 48px)) !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  color: #43525c !important;
}

body.nous-rejoindre .mbte-join section {
  position: relative;
  margin-bottom: 32px !important;
  padding: clamp(34px, 4.5vw, 58px) !important;
  overflow: hidden;
  border: 1px solid rgba(31, 53, 69, .1) !important;
  border-top: 4px solid var(--mbte-red) !important;
  border-radius: 14px !important;
  box-shadow: 0 14px 38px rgba(31, 53, 69, .09) !important;
}

body.nous-rejoindre .mbte-join section:nth-child(even) {
  border-top-color: var(--mbte-yellow) !important;
}

body.nous-rejoindre .mbte-row {
  gap: clamp(34px, 5vw, 68px) !important;
}

body.nous-rejoindre .mbte-join h2 {
  position: relative;
  margin-bottom: 28px !important;
  color: var(--mbte-ink) !important;
  font-size: clamp(28px, 3.4vw, 44px) !important;
  line-height: 1.08 !important;
  letter-spacing: -.02em;
  text-align: left !important;
}

body.nous-rejoindre .mbte-join h2::after {
  display: block;
  width: 54px;
  height: 4px;
  margin-top: 16px;
  border-radius: 99px;
  background: var(--mbte-yellow);
  content: "";
}

body.nous-rejoindre .mbte-join p,
body.nous-rejoindre .mbte-join li {
  font-size: 17px !important;
  line-height: 1.72 !important;
}

body.nous-rejoindre .mbte-join li { margin-bottom: 10px !important; }
body.nous-rejoindre .mbte-join li::marker { color: var(--mbte-red); }

body.nous-rejoindre .mbte-media {
  border-radius: 11px !important;
  background-position: center !important;
  background-size: cover !important;
  box-shadow: 0 14px 32px rgba(31, 53, 69, .16) !important;
}

body.nous-rejoindre .mbte-tagline {
  display: inline-block;
  margin: 22px 0 0 !important;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff4cf;
  color: #735d00;
  font-size: 15px !important;
  font-weight: 800;
}

body.nous-rejoindre .mbte-shield {
  min-height: 360px !important;
  filter: drop-shadow(0 14px 22px rgba(31, 53, 69, .18));
}

body.nous-rejoindre .mbte-join section:last-child {
  margin-bottom: 0 !important;
  border-top-color: var(--mbte-yellow) !important;
  background: var(--mbte-ink) !important;
  color: #f5f7f8 !important;
}

body.nous-rejoindre .mbte-join section:last-child h2 { color: #fff !important; }

@media (min-width: 768px) {
  body.nous-rejoindre .mbte-join section:nth-child(3) .mbte-copy,
  body.nous-rejoindre .mbte-join section:nth-child(3) > .mbte-row > div:first-child { order: 2; }
}

body.category-actualites #content > .row > .main {
  width: 100%;
}

body.category-actualites #content > .row > aside {
  display: none;
}

.mbte-news-search {
  max-width: 620px;
  margin: 30px auto 38px;
}

.mbte-news-search form {
  display: flex;
  width: 100%;
  max-width: none !important;
  border: 1px solid rgba(31, 53, 69, .16);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 20px rgba(31, 53, 69, .06);
}

.mbte-news-search label {
  display: block;
  flex: 1;
  min-width: 0;
  margin: 0;
}

.mbte-news-search input[type="text"],
.mbte-news-search input[type="search"] {
  flex: 1;
  min-width: 0;
  height: 50px;
  margin: 0;
  padding: 0 18px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.mbte-news-search button,
.mbte-news-search input[type="submit"] {
  position: static !important;
  order: 2;
  min-width: 54px;
  height: 50px !important;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: var(--mbte-yellow);
  color: var(--mbte-ink);
}

.mbte-news-intro {
  margin: 0 0 30px;
  padding: 0 0 20px;
  border-bottom: 1px solid rgba(31, 53, 69, .12);
}

.mbte-news-kicker {
  display: inline-block;
  margin: 0 0 12px;
  color: var(--mbte-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.mbte-news-intro p {
  margin: 0;
  color: var(--mbte-muted);
  font-size: 17px;
  line-height: 1.6;
}

.mbte-news-grid {
  display: grid;
  gap: 30px;
}

.mbte-news-card {
  display: grid;
  grid-template-columns: minmax(300px, .88fr) minmax(0, 1.12fr);
  height: 370px;
  min-height: 0;
  overflow: hidden;
  background: var(--mbte-card);
  border: 1px solid rgba(31, 53, 69, .1);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(31, 53, 69, .08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.mbte-news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 58px rgba(31, 53, 69, .14);
}

.mbte-news-media {
  display: block;
  height: 370px;
  min-height: 0;
  overflow: hidden;
  background: #e9ecee;
}

.mbte-news-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center 28%;
  transition: transform .45s ease;
}

.mbte-news-card:hover .mbte-news-media img { transform: scale(1.025); }

.mbte-news-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 36px;
}

.mbte-news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 16px;
  color: var(--mbte-muted);
  font-size: 13px;
}

.mbte-news-date {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
}

.mbte-news-date::before {
  width: 5px;
  height: 5px;
  margin-right: 12px;
  border-radius: 50%;
  background: var(--mbte-red);
  content: "";
}

.mbte-news-category {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(200, 50, 50, .18);
  background: var(--mbte-red);
  color: #fff;
  font-weight: 800;
  letter-spacing: .06em;
  box-shadow: 0 5px 14px rgba(200, 50, 50, .18);
  text-transform: uppercase;
}

.mbte-news-body h2 {
  margin: 0 0 22px !important;
  color: var(--mbte-ink);
  font-size: clamp(25px, 2.65vw, 32px);
  line-height: 1.1;
  letter-spacing: -.025em;
}

.mbte-news-body h2 a { color: inherit; text-decoration: none; }
.mbte-news-body h2 a:hover { color: var(--mbte-red); }

.mbte-news-excerpt {
  color: #4c5962;
  font-size: 15px;
  line-height: 1.65;
}

.mbte-news-excerpt p { margin: 0; }

.mbte-news-button {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  margin-top: 20px;
  padding: 11px 19px;
  border-radius: 999px;
  background: var(--mbte-ink);
  color: #fff !important;
  font-weight: 800;
  text-decoration: none !important;
  transition: background .2s ease, transform .2s ease;
}

.mbte-news-button:hover {
  background: var(--mbte-red);
  transform: translateX(2px);
}

.mbte-news-empty {
  padding: 40px;
  border-radius: 18px;
  background: #fff;
  color: var(--mbte-muted);
}

.mbte-news-pagination { margin-top: 38px; }
.mbte-news-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.mbte-news-pagination .page-numbers {
  display: grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--mbte-ink);
  text-decoration: none;
}
.mbte-news-pagination .current,
.mbte-news-pagination a:hover { background: var(--mbte-ink); color: #fff; }

@media (max-width: 800px) {
  body.category-actualites #content { padding-top: 34px; }
  .mbte-news-search { margin: 24px auto 30px; }
  .mbte-news-intro { margin-bottom: 28px; }
  .mbte-news-card { grid-template-columns: 1fr; height: auto; min-height: 0; border-radius: 17px; }
  .mbte-news-media, .mbte-news-media img { height: 270px; min-height: 0; }
  .mbte-news-body { padding: 28px 24px 32px; }
  .mbte-news-body h2 { font-size: 28px; }
  .mbte-article-page { padding-top: 30px; padding-bottom: 48px; }
  .mbte-article { border-radius: 9px; }
  .mbte-article-header { padding: 32px 24px 26px; }
  .mbte-article-header h1 { font-size: 36px; }
  .mbte-article-content { padding: 30px 24px 38px; font-size: 17px; }
  .mbte-recent { margin-top: 48px; padding-top: 38px; }
  .mbte-recent-grid { grid-template-columns: 1fr; }
  .mbte-recent-image { height: 220px; }
  .mbte-recent-image img { object-position: center 65%; }
  body.nous-rejoindre #content { padding-top: 30px; padding-bottom: 48px; }
  body.nous-rejoindre .mbte-join { width: calc(100vw - 24px) !important; }
  body.nous-rejoindre .mbte-join section { padding: 30px 22px !important; border-radius: 10px !important; }
  body.nous-rejoindre .mbte-join h2 { font-size: 31px !important; }
  body.nous-rejoindre .mbte-shield { min-height: 280px !important; }
}

  z-index: 2;
}

body.category-actualites .titleclass,
body.single-post .titleclass,
body.calendrier .titleclass,
body.nous-rejoindre .titleclass,
body.comites .titleclass,
body.membres .titleclass,
body.woocommerce-shop .titleclass {
  box-sizing: border-box;
  height: 297px;
  min-height: 297px;
  padding: 120px 0 0 !important;
}

body.category-actualites .titleclass .page-header,
body.single-post .titleclass .page-header,
body.calendrier .titleclass .page-header,
body.nous-rejoindre .titleclass .page-header,
body.comites .titleclass .page-header,
body.membres .titleclass .page-header,
body.woocommerce-shop .titleclass .page-header {
  display: block !important;
  margin: 0;
  padding: 35px 0;
  border: 0;
}

.titleclass .kad-page-title,
.woocommerce-shop .titleclass .entry-title {
  display: inline-block;
  padding: 10px 22px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff !important;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
  text-shadow: 0 3px 12px rgba(0, 0, 0, .8);
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

body.contact #wrapper {
  position: relative;
}

body.contact #kad-banner {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  background: transparent !important;
}

body.admin-bar.contact #kad-banner {
  top: 32px;
}

body.contact #kad-banner .headerclass {
  background: transparent !important;
}

body.contact #kad-banner-sticky-wrapper {
  height: 0 !important;
}

body.contact #wrapper::before {
  display: block;
  width: 100vw;
  height: 297px;
  margin-left: calc(50% - 50vw);
  transform: scale(1.035);
  background-image: linear-gradient(rgba(8, 15, 20, .22), rgba(8, 15, 20, .32)), url("https://mbte.be/wp-content/uploads/2022/04/accueil.jpg");
  background-position: center center;
  background-size: cover;
  content: "";
  filter: blur(5px);
  clip-path: inset(0);
}

body.contact #wrapper::after {
  position: absolute;
  top: 165px;
  left: 50%;
  padding: 10px 22px 12px;
  transform: translateX(-50%);
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  content: "Contact";
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  text-shadow: 0 3px 12px rgba(0, 0, 0, .8);
  box-shadow: none;
  white-space: nowrap;
}

body.comites .mbte-directory > h1:first-child,
body.membres .mbte-directory > h1:first-child {
  display: none;
}

body.single-post #content > .row > .main { width: 100%; }
body.single-post #content > .row > aside { display: none; }

.mbte-article-page { padding-top: 56px; padding-bottom: 72px; }
.mbte-article {
  max-width: 940px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(31, 53, 69, .1);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(31, 53, 69, .09);
}
.mbte-article-header { padding: 52px 64px 38px; }
.mbte-article-header h1 {
  margin: 20px 0 0;
  color: var(--mbte-ink);
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -.025em;
}
.mbte-article-image { margin: 0; background: #e8ecee; }
.mbte-article-image img { display: block; width: 100%; max-height: 620px; object-fit: cover; }
.mbte-article-content { padding: 46px 64px 58px; color: #43525c; font-size: 18px; line-height: 1.78; }
.mbte-article-content > :first-child { margin-top: 0; }
.mbte-article-content > :last-child { margin-bottom: 0; }
.mbte-article-content h2, .mbte-article-content h3 { color: var(--mbte-ink); line-height: 1.2; }
.mbte-article-content a { color: var(--mbte-red); text-decoration: underline; text-underline-offset: 3px; }
.mbte-article-comments { max-width: 940px; margin: 42px auto 0; }

.mbte-recent { max-width: 1140px; margin: 72px auto 0; padding-top: 48px; border-top: 1px solid rgba(31, 53, 69, .14); }
.mbte-recent-heading { margin-bottom: 26px; text-align: center; }
.mbte-recent-heading p { margin: 0 0 8px; color: var(--mbte-red); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.mbte-recent-heading h2 { margin: 0; color: var(--mbte-ink); font-size: clamp(32px, 4vw, 46px); }
.mbte-recent-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mbte-recent-card { overflow: hidden; border: 1px solid rgba(31, 53, 69, .1); border-top: 4px solid var(--mbte-red); border-radius: 10px; background: #fff; box-shadow: 0 10px 26px rgba(31, 53, 69, .07); }
.mbte-recent-image { display: grid; height: 190px; place-items: center; overflow: hidden; background: var(--mbte-ink); color: #fff; font-weight: 800; letter-spacing: .12em; }
.mbte-recent-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.mbte-recent-card:hover .mbte-recent-image img { transform: scale(1.035); }
.mbte-recent-body { display: flex; min-height: 190px; flex-direction: column; padding: 26px 26px 28px; }
.mbte-recent-body time { color: var(--mbte-muted); font-size: 12px; font-weight: 700; }
.mbte-recent-body h3 { margin: 10px 0 18px; color: var(--mbte-ink); font-size: 22px; line-height: 1.2; }
.mbte-recent-body h3 a { color: inherit; text-decoration: none; }
.mbte-recent-link { margin-top: auto; color: var(--mbte-red); font-weight: 800; text-decoration: none; }

/* Page Nous rejoindre */
body.nous-rejoindre #content {
  padding-top: 54px;
  padding-bottom: 72px;
  background: #f6f7f7;
}

body.nous-rejoindre .entry-content { background: transparent; }

body.nous-rejoindre .mbte-join {
  width: min(1180px, calc(100vw - 48px)) !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  color: #43525c !important;
}

body.nous-rejoindre .mbte-join section {
  position: relative;
  margin-bottom: 32px !important;
  padding: clamp(34px, 4.5vw, 58px) !important;
  overflow: hidden;
  border: 1px solid rgba(31, 53, 69, .1) !important;
  border-top: 4px solid var(--mbte-red) !important;
  border-radius: 14px !important;
  box-shadow: 0 14px 38px rgba(31, 53, 69, .09) !important;
}

body.nous-rejoindre .mbte-join section:nth-child(even) {
  border-top-color: var(--mbte-yellow) !important;
}

body.nous-rejoindre .mbte-row {
  gap: clamp(34px, 5vw, 68px) !important;
}

body.nous-rejoindre .mbte-join h2 {
  position: relative;
  margin-bottom: 28px !important;
  color: var(--mbte-ink) !important;
  font-size: clamp(28px, 3.4vw, 44px) !important;
  line-height: 1.08 !important;
  letter-spacing: -.02em;
  text-align: left !important;
}

body.nous-rejoindre .mbte-join h2::after {
  display: block;
  width: 54px;
  height: 4px;
  margin-top: 16px;
  border-radius: 99px;
  background: var(--mbte-yellow);
  content: "";
}

body.nous-rejoindre .mbte-join p,
body.nous-rejoindre .mbte-join li {
  font-size: 17px !important;
  line-height: 1.72 !important;
}

body.nous-rejoindre .mbte-join li { margin-bottom: 10px !important; }
body.nous-rejoindre .mbte-join li::marker { color: var(--mbte-red); }

body.nous-rejoindre .mbte-media {
  border-radius: 11px !important;
  background-position: center !important;
  background-size: cover !important;
  box-shadow: 0 14px 32px rgba(31, 53, 69, .16) !important;
}

body.nous-rejoindre .mbte-tagline {
  display: inline-block;
  margin: 22px 0 0 !important;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff4cf;
  color: #735d00;
  font-size: 15px !important;
  font-weight: 800;
}

body.nous-rejoindre .mbte-shield {
  min-height: 360px !important;
  filter: drop-shadow(0 14px 22px rgba(31, 53, 69, .18));
}

body.nous-rejoindre .mbte-join section:last-child {
  margin-bottom: 0 !important;
  border-top-color: var(--mbte-yellow) !important;
  background: var(--mbte-ink) !important;
  color: #f5f7f8 !important;
}

body.nous-rejoindre .mbte-join section:last-child h2 { color: #fff !important; }

@media (min-width: 768px) {
  body.nous-rejoindre .mbte-join section:nth-child(3) .mbte-copy,
  body.nous-rejoindre .mbte-join section:nth-child(3) > .mbte-row > div:first-child { order: 2; }
}

body.category-actualites #content > .row > .main {
  width: 100%;
}

body.category-actualites #content > .row > aside {
  display: none;
}

.mbte-news-search {
  max-width: 620px;
  margin: 30px auto 38px;
}

.mbte-news-search form {
  display: flex;
  width: 100%;
  max-width: none !important;
  border: 1px solid rgba(31, 53, 69, .16);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 20px rgba(31, 53, 69, .06);
}

.mbte-news-search label {
  display: block;
  flex: 1;
  min-width: 0;
  margin: 0;
}

.mbte-news-search input[type="text"],
.mbte-news-search input[type="search"] {
  flex: 1;
  min-width: 0;
  height: 50px;
  margin: 0;
  padding: 0 18px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.mbte-news-search button,
.mbte-news-search input[type="submit"] {
  position: static !important;
  order: 2;
  min-width: 54px;
  height: 50px !important;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: var(--mbte-yellow);
  color: var(--mbte-ink);
}

.mbte-news-intro {
  margin: 0 0 30px;
  padding: 0 0 20px;
  border-bottom: 1px solid rgba(31, 53, 69, .12);
}

.mbte-news-kicker {
  display: inline-block;
  margin: 0 0 12px;
  color: var(--mbte-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.mbte-news-intro p {
  margin: 0;
  color: var(--mbte-muted);
  font-size: 17px;
  line-height: 1.6;
}

.mbte-news-grid {
  display: grid;
  gap: 30px;
}

.mbte-news-card {
  display: grid;
  grid-template-columns: minmax(300px, .88fr) minmax(0, 1.12fr);
  height: 370px;
  min-height: 0;
  overflow: hidden;
  background: var(--mbte-card);
  border: 1px solid rgba(31, 53, 69, .1);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(31, 53, 69, .08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.mbte-news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 58px rgba(31, 53, 69, .14);
}

.mbte-news-media {
  display: block;
  height: 370px;
  min-height: 0;
  overflow: hidden;
  background: #e9ecee;
}

.mbte-news-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center 28%;
  transition: transform .45s ease;
}

.mbte-news-card:hover .mbte-news-media img { transform: scale(1.025); }

.mbte-news-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 36px;
}

.mbte-news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 16px;
  color: var(--mbte-muted);
  font-size: 13px;
}

.mbte-news-date {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
}

.mbte-news-date::before {
  width: 5px;
  height: 5px;
  margin-right: 12px;
  border-radius: 50%;
  background: var(--mbte-red);
  content: "";
}

.mbte-news-category {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(200, 50, 50, .18);
  background: var(--mbte-red);
  color: #fff;
  font-weight: 800;
  letter-spacing: .06em;
  box-shadow: 0 5px 14px rgba(200, 50, 50, .18);
  text-transform: uppercase;
}

.mbte-news-body h2 {
  margin: 0 0 22px !important;
  color: var(--mbte-ink);
  font-size: clamp(25px, 2.65vw, 32px);
  line-height: 1.1;
  letter-spacing: -.025em;
}

.mbte-news-body h2 a { color: inherit; text-decoration: none; }
.mbte-news-body h2 a:hover { color: var(--mbte-red); }

.mbte-news-excerpt {
  color: #4c5962;
  font-size: 15px;
  line-height: 1.65;
}

.mbte-news-excerpt p { margin: 0; }

.mbte-news-button {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  margin-top: 20px;
  padding: 11px 19px;
  border-radius: 999px;
  background: var(--mbte-ink);
  color: #fff !important;
  font-weight: 800;
  text-decoration: none !important;
  transition: background .2s ease, transform .2s ease;
}

.mbte-news-button:hover {
  background: var(--mbte-red);
  transform: translateX(2px);
}

.mbte-news-empty {
  padding: 40px;
  border-radius: 18px;
  background: #fff;
  color: var(--mbte-muted);
}

.mbte-news-pagination { margin-top: 38px; }
.mbte-news-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.mbte-news-pagination .page-numbers {
  display: grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--mbte-ink);
  text-decoration: none;
}
.mbte-news-pagination .current,
.mbte-news-pagination a:hover { background: var(--mbte-ink); color: #fff; }

@media (max-width: 800px) {
  body.category-actualites #content { padding-top: 34px; }
  .mbte-news-search { margin: 24px auto 30px; }
  .mbte-news-intro { margin-bottom: 28px; }
  .mbte-news-card { grid-template-columns: 1fr; height: auto; min-height: 0; border-radius: 17px; }
  .mbte-news-media, .mbte-news-media img { height: 270px; min-height: 0; }
  .mbte-news-body { padding: 28px 24px 32px; }
  .mbte-news-body h2 { font-size: 28px; }
  .mbte-article-page { padding-top: 30px; padding-bottom: 48px; }
  .mbte-article { border-radius: 9px; }
  .mbte-article-header { padding: 32px 24px 26px; }
  .mbte-article-header h1 { font-size: 36px; }
  .mbte-article-content { padding: 30px 24px 38px; font-size: 17px; }
  .mbte-recent { margin-top: 48px; padding-top: 38px; }
  .mbte-recent-grid { grid-template-columns: 1fr; }
  .mbte-recent-image { height: 220px; }
  body.nous-rejoindre #content { padding-top: 30px; padding-bottom: 48px; }
  body.nous-rejoindre .mbte-join { width: calc(100vw - 24px) !important; }
  body.nous-rejoindre .mbte-join section { padding: 30px 22px !important; border-radius: 10px !important; }
  body.nous-rejoindre .mbte-join h2 { font-size: 31px !important; }
  body.nous-rejoindre .mbte-shield { min-height: 280px !important; }
}


/* Uniformise le logo du header de la page Contact avec les autres pages. */
body.page-template-template-contact .kad-standard-logo {
  display: none !important;
}
body.page-template-template-contact .kad-standard-logo-tranbg {
  display: block !important;
}
