/*
 Theme Name:     Manual Child Theme
 Theme URI:      https://smartwpthemes.com/
 Description:    Child Theme for Manual
 Author:         jabin Kadel
 Author URI:     http://www.jabinkadel.com
 Template:       manual
 Version:        1.0
*/

/* ------- Insert custom styles below this line ------- */

/* ---------- Utilitaires ---------- */
.logged-out .theme_header_menu_social {
  display: none;
}

/* =========================================
   Page : template-not-connected
   - Mise en page & habillage global
========================================= */

.page-template-template-not-connected {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background: linear-gradient(45deg, #1B1440 0%, #2B2A94 100%);
}

/* Masque les éléments non pertinents pour cette page */
.page-template-template-not-connected .navbar,
.page-template-template-not-connected .mobile-menu-holder,
.page-template-template-not-connected .jumbotron_new {
  display: none !important;
}

/* Contenu principal */
.page-template-template-not-connected .body-content {
  flex: 1;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Pied de page allégé */
.page-template-template-not-connected .footer-custom {
  margin: 0;
  padding: 22px 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
}
.page-template-template-not-connected .footer-custom a {
  color: inherit;
}

/* ---------- Bloc : non-connected-container ---------- */
.non-connected-container {
  display: flex;
  align-items: center;
  gap: 30px;
}

.non-connected-container svg {
  margin-bottom: 24px;
}

.non-connected-container .title {
  margin-bottom: 24px;
  color: #fff;
  font-size: 40px;
  line-height: 40px;
}

.non-connected-container p {
  margin-bottom: 24px;
  color: #fff;
  font-size: 18px;
  line-height: 24px;
}

/* CTA connexion */
.non-connected-container .btn-connect {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 277px;
  max-width: 100%;
  height: 56px;
  padding: 16px 30px;
  color: #fff;
  background: #3E3080;
  border-radius: 6px;
  transition: background .3s ease;
}
.non-connected-container .btn-connect:hover {
  background: #28399B;
}
.non-connected-container .btn-connect svg {
  margin-bottom: 0;
}

/* =========================================
   Changelog : archive & single
========================================= */

/* Archive */
.post-type-archive-changelog .row {
  padding: 20px;
}
.post-type-archive-changelog .header_custom_height_new {
  display: none;
}

/* Single */
.single-changelog .header_custom_height_new {
  padding-top: 50px !important;
  padding-bottom: 0 !important;
}

.changelog-single {
  padding: 15px;
}
.changelog-single__content {
  margin-top: 30px;
}

.changelog-item__meta,
.changelog-single__meta {
  margin: 0;
  padding: 0;
  display: inline-flex;
  gap: 15px;
  list-style: none;
}

/* Dates (métas) */
.changelog-meta__date,
.entry-meta__date {
  margin-right: 15px;
}

/* Badges */
.badge {
  line-height: inherit !important;
}

/* Header visuel des pages changelog */
.changelog .header_custom_height_new {
  display: block;
}
.changelog .header_custom_height_new h1,
.changelog .header_custom_height_new p.inner-header-color {
  color: #fff !important;
}

/* Excerpt item */
.changelog-item__excerpt {
  padding: 15px 0;
}

/* =========================================
   Navigation (pages ≠ home)
========================================= */
body:not(.home) nav.navbar {
  background-color: #281D58 !important;
}
body:not(.home) .navbar-inverse .navbar-nav > li > a {
  color: #fff !important;
}
body:not(.home) .navbar-inverse .navbar-nav > li > a:hover,
body:not(.home) .navbar-inverse .navbar-nav > li > a:focus {
  color: #fff !important;
}

/* =========================================
   Responsive (≤ 991px)
========================================= */
@media (max-width: 991px) {
  /* Gabarit */
  .page-template-template-not-connected {
    width: 100dvw;
    padding: 0 15px;
    align-items: center;
    justify-content: center;
  }

  .page-template-template-not-connected .body-content {
    flex-direction: column;
    padding: 40px 0;
  }

  /* Contenu non connecté */
  .non-connected-container {
    flex-direction: column;
    text-align: center;
  }

  .non-connected-container img {
    display: block;
    margin: 0 auto;
    max-width: 50%;
  }

  .non-connected-container .order-first {
    order: -1;
    margin-bottom: 30px;
  }

  .non-connected-container .btn-connect {
    width: 100%;
  }

}