/* =====================================================================
   SINGLE POST STYLES - OPTIMIZED & ORGANIZED
   ===================================================================== */

/* =====================================
   WIDGET & CONTAINER BASE STYLES
   ===================================== */

.widget-content {
  margin-bottom: 22px;
}

.widget-content:last-child {
  margin-bottom: 0;
}

.widget-content .section {
  margin: 0 !important;
  padding: 0 !important;
}

.widget-content .container {
  padding: 0;
}

/* =====================================
   CONTAINER & ARTICLE LAYOUT
   ===================================== */

.container.article {
  display: block;
}

.container article {
  position: relative;
}

.container aside {
  display: none;
}

.container aside li {
  list-style: none;
  margin-bottom: 1rem;
}

.container aside li .wp-block-image {
  width: 260px;
  box-shadow: 0 3px 6px #00000029;
}

.container aside li figure:last-child {
  border-radius: 10px;
}

/* =====================================
   POST CONTENT BASE STYLES
   ===================================== */

.container .post h1 {
  margin: 0;
  text-transform: uppercase;
  font: bold 24px / 33px "Open Sans";
}

.container .post p {
  font-size: 14px;
  line-height: 18px;
}

.container .post .update p {
  color: #6c6c6c;
  font-style: italic;
}

.container .content h2 {
  line-height: 23px;
  margin: 25px 0 8px 0;
}

.container .content p {
  font-size: 14px;
  line-height: 18px;
  margin: 1rem 0;
}

.container .content figure {
  margin: 24px auto;
}

/* =====================================
   CONTENT BLOCKS STYLES
   ===================================== */

/* Image captions */
.container .content .wp-block-image figcaption {
  margin-top: 8px;
  font-size: 14px;
  color: #7c7c7c;
  font-style: italic;
  text-align: center;
  line-height: 1.4;
}

.light-mode .container .content .wp-block-image figcaption {
  color: #6c6c6c;
}

/* Buttons */
.container .content .wp-block-button {
  margin: 0 auto;
  width: 323px;
}

.container .content .wp-block-button .wp-block-button__link:hover {
  background-color: var(--hover-bg-color);
}

/* Post Author Block */
.container .content .wp-block-post-author {
  padding: 25px 55px 25px 45px;
  background: #17191d;
  border-radius: 10px;
  margin: 45px 0;
}

.container .content .wp-block-post-author .wp-block-post-author__avatar {
  width: 33%;
  margin: 0 auto;
}

.container .content .wp-block-post-author .wp-block-post-author__avatar img {
  border-radius: 50%;
  width: 74px;
  height: 74px;
}

.container .content .wp-block-post-author .wp-block-post-author__content {
  display: flex;
  flex-direction: column-reverse;
  width: 66%;
}

.container .content .wp-block-post-author .wp-block-post-author__content .wp-block-post-author__byline {
  font-size: 12px;
  line-height: 16px;
}

.container .content .wp-block-post-author .wp-block-post-author__content .wp-block-post-author__name {
  font-size: 14px;
  line-height: 18px;
  text-transform: capitalize;
}

/* Tables */
.container .content .wp-block-table {
  color: #fff;
  border: 1px solid #6c6c6c;
  border-radius: 10px;
  overflow: hidden;
}

.container .content .wp-block-table tr:nth-child(2n + 2) {
  background: #aaaaaa;
}

.container .content .wp-block-table tr:nth-child(2n + 1) {
  background: #101215;
}

body.light-mode .container .content .wp-block-table tr:nth-child(2n + 1) {
  background: white;
}

body.light-mode .container .content .wp-block-table tr:nth-child(2n + 1) * {
  color: #101215;
}

.container .content .wp-block-table tr:first-child td {
  font-weight: normal;
}

.container .content .wp-block-table td {
  padding: 10px 0 10px 10px;
  font-size: 14px;
  line-height: 18px;
  border-right: 1px solid #6c6c6c;
}

.container .content .wp-block-table td:first-child {
  border-right: 1px solid #6c6c6c;
}

/* =====================================
   FAQ STYLES
   ===================================== */

.container .categorie h2 {
  font-size: 18px;
  line-height: 23px;
  margin-bottom: 16px;
}

.container .categorie .questions {
  display: flex;
  flex-direction: column;
  grid-gap: 10px;
}

.container .categorie .questions .question {
  background: #fff;
  padding: 18px 20px;
  border-radius: 10px;
  height: 100%;
  cursor: pointer;
}

.light-mode .container .categorie .questions .question {
  background: #2e2e2e;
}

.container .categorie .questions .question div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.container .categorie .questions .question div figure:last-child {
  display: none;
}

.container .categorie .questions .question h3,
.container .categorie .questions .question p {
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;
  color: #000;
  margin: unset;
}

.container .categorie .questions .question.light-mode p {
  display: block;
}

.container .categorie .questions .question h3 {
  margin-bottom: 10px;
}

.light-mode .container .categorie .questions .question .active h3,
.container .categorie .questions .question .active h3 {
  color: #fd8f02;
  font-weight: bold;
}

.active .container .categorie .questions .question .moins path {
  fill: #fff;
}

.active .container .categorie .questions .question h3,
.active .container .categorie .questions .question p {
  color: #fff;
}

.question .content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.question .content.active {
  max-height: none;
}

/* =====================================
   COURTIERS & ACTU-CRYPTO SECTIONS
   ===================================== */

.container #courtiers .container,
.container #actu-crypto .container {
  display: block;
  padding: unset;
}

article #courtiers {
  padding: 40px 0 0 0;
}

article #courtiers .container .grid .courtier .picto {
  top: 0;
  left: 18px;
  right: unset;
}

.container aside #courtiers {
  padding-top: 14px;
}

.container aside #courtiers .grid {
  flex-direction: column;
}

.container aside #courtiers .grid .courtier {
  flex-direction: row;
  justify-content: center;
  grid-gap: 26px;
  padding: 0 0 0 25px;
  width: 260px;
}

.container aside #courtiers .container .grid .courtier .number-mobile {
  display: block;
  font-size: 16px;
  line-height: 21px;
  padding: 4px 10px;
}

.container aside #courtiers .container .grid .courtier .picto {
  display: none;
}

.container aside #courtiers .container .grid .courtier .img {
  width: 85px;
  height: 25px;
}

.container aside #courtiers .container .grid .courtier .top {
  margin: 15px 0;
}

.container aside #courtiers .container .grid .courtier .bottom {
  margin: 15px 0;
}

.container aside #courtiers .container .grid .courtier .bottom .visite {
  padding: 3px 25px;
  width: 93px;
  margin: unset;
}

/* =====================================
   FULL WIDTH TEMPLATE STYLES
   ===================================== */

.post-template-full-width-template article .picto {
  justify-content: center;
}

.post-template-full-width-template article .post {
  text-align: center;
}

.post-template-full-width-template article .post h3 {
  text-align: left;
}

.post-template-full-width-template article .post .update {
  justify-content: center;
}

.post-template-full-width-template article .categorie,
.post-template-full-width-template article .content>*:not(.classements) {
  width: 85%;
  margin-left: auto;
  margin-right: auto;
}

.post-template-full-width-template article #courtiers,
.post-template-full-width-template article #actu-crypto {
  width: 92%;
  margin-left: auto;
  margin-right: auto;
}

/* =====================================
   SINGLE POST SPECIFIC STYLES
   ===================================== */

.single-post .picto a {
  width: 32px;
  height: 32px;
  background: #17191d 0% 0% no-repeat padding-box;
  border-radius: 6px;
  opacity: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Breadcrumbs for single posts */
body.single-post:not(.light-mode) .container .yoast-breadcrumbs a {
  text-align: left;
  font: normal normal normal 14px/19px "Open Sans";
  letter-spacing: 0px;
  color: #6c6c6c;
  opacity: 1;
}

/* Single post headings */
.single-post h1 {
  text-align: left;
  font: normal normal bold 24px/33px "Open Sans";
  letter-spacing: 0px;
  color: #ffffff;
  text-transform: uppercase;
  opacity: 1;
  margin: 0;
}

.light-mode.single-post .container .post h1 {
  color: #000;
}

.single-post .container .post p {
  text-align: left;
  font: normal normal normal 16px/22px "Open Sans";
  letter-spacing: 0px;
  color: #ffffff;
  opacity: 1;
}

.light-mode.single-post .container .post p {
  color: #000;
}

/* Single post update section */
.single-post .container .post .update {
  justify-content: space-between;
}

.single-post .container .post .update:nth-child(3) {
  justify-content: flex-end;
}

.single-post .container .post .update p {
  text-align: left;
  font: normal normal normal 14px/19px "Open Sans";
  letter-spacing: 0px;
  color: #7c7c7c;
  opacity: 1;
}

.single-post .container .post .update p a {
  text-align: left;
  font: normal normal normal 14px/19px "Open Sans" !important;
  letter-spacing: 0px;
  color: #7c7c7c !important;
  opacity: 1;
  margin: 0;
}

/* Single post content headings */
.single-post h2 {
  text-align: left;
  font: italic normal bold 16px/22px "Open Sans";
  letter-spacing: 0px;
  color: #ffffff;
  opacity: 1;
  position: relative;
}

.single-post .content h2 {
  text-align: left;
  letter-spacing: 0px;
  color: #ffffff;
  opacity: 1;
  font: normal normal bold 22px/30px "Open Sans";
}

.single-post .content h3 {
  text-align: left;
  letter-spacing: 0px;
  color: #ffffff;
  opacity: 1;
  font: normal normal bold 18px/24px "Open Sans";
}

.light-mode.single-post h2,
.light-mode.single-post .content h2,
.light-mode.single-post .content h3 {
  color: #000;
}

.single-post .content h2::before {
  display: none;
}

/* Single post buttons */
.single-post .container .content .wp-block-button__link {
  background: transparent linear-gradient(88deg, var(--accent-color) 0%, var(--accent-color) 100%);
  border-radius: 10px;
  width: 100%;
  text-align: center;
  font: normal normal bold 16px/22px "Open Sans";
  letter-spacing: 0px;
  color: #000000;
  opacity: 1;
}

.single-post .container .content .wp-block-button__link:hover,
.single-post .container .content .wp-block-button .wp-block-button__link:hover {
  background: var(--hover-bg-color) !important;
}

/* Single post FAQ styles */
.single-post .container .categorie .questions .question {
  background: transparent;
  padding: 18px 20px;
  border-radius: 10px;
  height: 100%;
  cursor: pointer;
}

.single-post .container .categorie .questions .question h3 {
  text-align: left;
  font: normal normal bold 16px/22px Open Sans;
  letter-spacing: 0px;
  color: #ffffff;
  opacity: 1;
  margin: 0;
}

.light-mode.single-post .container .categorie .questions .question h3 {
  color: #000;
}

.single-post .container .categorie .questions .question p {
  text-align: left;
  font: normal normal normal 14px/19px "Open Sans";
  letter-spacing: 0px;
  color: #ffffff;
  opacity: 1;
}

.light-mode.single-post .container .categorie .questions .question p {
  color: #000;
}

.single-post .plus path,
.single-post .moins path {
  stroke: #fff;
}

.light-mode.single-post .plus path,
.light-mode.single-post .moins path {
  stroke: #000;
}

.single-post .questions .question {
  border-bottom: 1px solid #969696;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-radius: 0 !important;
}

.single-post .questions .question:last-child {
  border-bottom: none;
}

/* =====================================
   SHARE ICONS STYLES
   ===================================== */

/* Dark Mode Share Icons */
.dark-mode.single-post .picto a:hover {
  background: var(--accent-color);
}

.dark-mode.single-post .picto a:hover path,
.dark-mode.single-post .container .picto a svg:hover path {
  fill: var(--accent-color);
}

.dark-mode.single-post .picto a:hover .ivx-twitter path,
.dark-mode.single-post .container .picto a svg.ivx-twitter:hover path,
.dark-mode.single-post .container .picto a svg.ivx-telegram:hover path,
.dark-mode.single-post .picto a:hover .ivx-telegram path,
.dark-mode.single-post .picto a:hover .ivx-telegram svg:hover path {
  fill: #000;
  stroke: #000;
}

.dark-mode.single-post .ivx-share,
.dark-mode.single-post .ivx-twitter,
.dark-mode.single-post .ivx-telegram {
  fill: #000;
  transition: none;
}

.dark-mode.single-post .ivx-share {
  stroke-width: 20px;
  stroke: #fff;
}

.dark-mode.single-post .picto a:hover .ivx-share,
.dark-mode.single-post .picto a:hover .ivx-twitter {
  fill: var(--accent-color);
  stroke: #000;
}

/* Light Mode Share Icons */
.light-mode.single-post .picto a {
  background: #efeff2;
}

.light-mode.single-post .picto a:hover {
  background: var(--accent-color);
}

.light-mode.single-post .picto a:hover path,
.light-mode.single-post .container .picto a svg:hover path {
  fill: var(--accent-color);
}

.light-mode.single-post .picto a:hover .ivx-twitter path,
.light-mode.single-post .container .picto a svg.ivx-twitter:hover path,
.light-mode.single-post .container .picto a svg.ivx-telegram:hover path,
.light-mode.single-post .picto a:hover .ivx-telegram path,
.light-mode.single-post .picto a:hover .ivx-telegram svg:hover path {
  fill: #000;
  stroke: #000;
}

.light-mode.single-post .ivx-share,
.light-mode.single-post .ivx-twitter,
.light-mode.single-post .ivx-telegram {
  fill: #efeff2;
  transition: none;
}

.light-mode.single-post .ivx-share {
  stroke-width: 20px;
  stroke: #000;
}

.light-mode.single-post .picto a:hover .ivx-share,
.light-mode.single-post .picto a:hover .ivx-twitter {
  fill: #efeff2;
  stroke: #000;
}

/* =====================================
   ARCHIVE PAGES SPECIFIC STYLES
   ===================================== */

body:not(.single-post):not(.home) .page #actu-crypto .container div h2 {
  font-size: 16px;
  line-height: 21px;
  font-weight: 400;
  margin-bottom: 32px;
  position: relative;
  display: block;
  content: "";
  left: 0;
  bottom: -6px;
  width: 70px;
  height: 3px;
  background: var(--accent-color) 0% 0% no-repeat padding-box;
  opacity: 1;
}

/* =====================================
   MAILMUNCH WIDGET
   ===================================== */

.mailmunch-forms-widget-1094979 {
  width: 550px;
  max-width: 80%;
  margin: 0 auto;
}

/* =====================================
   LIGHT MODE OVERRIDES
   ===================================== */

body.light-mode .container .content-one-article {
  border-color: #e9ecef;
}

.container .content-one-article:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.light-mode .container .picto a svg path {
  fill: #000;
}

/* =====================================================================
   RESPONSIVE STYLES
   ===================================================================== */

/* Mobile Styles */
@media (max-width: 767px) {
  .single-post .container .post h1 {
    font: normal normal bold 22px/28px "Open Sans";
  }

  .single-post .container .post .update {
    display: flex;
    flex-direction: column;
    align-items: flex-start !important;
  }

  .single-post .container .post .update p:nth-of-type(2) {
    text-align: right;
  }

  .single-post .container .categorie .questions .question {
    padding: 18px 0;
  }

  .single-post .picto.desktop {
    display: none;
  }

  .single-post .picto.mobile {
    display: flex;
    position: fixed;
    bottom: 8px;
    left: 0;
    width: 100%;
    z-index: 1000;
  }
}

/* Tablet Styles */
@media screen and (min-width: 768px) {
  .container .content .wp-block-button {
    width: 464px;
    display: flex;
    justify-content: center;
    margin-top: 16px;
    margin-bottom: 16px;
  }

  .container .content .wp-block-post-author .wp-block-post-author__avatar,
  .container .content .wp-block-post-author .wp-block-post-author__content {
    width: unset;
  }

  .single-post .picto.desktop {
    display: flex;
  }

  .single-post .picto.mobile {
    display: none;
  }
}

/* Desktop Styles */
@media screen and (min-width: 992px) {
  .container.article {
    display: flex;
    gap: 2rem;
  }

  .post-template-full-width-template article,
  .page-template-casino-category .container article,
  .page-template-crypto-category .container article,
  .taxonomy-casino-category .container article,
  .taxonomy-crypto-category .container article {
    width: 100%;
  }

  .container aside {
    display: block;
    width: 25%;
  }

  .container.article article #courtiers .container .grid .courtier {
    width: 137px;
  }

  .post-template-full-width-template .container.article article #courtiers .grid .courtier {
    width: 100%;
  }

  .container.article article #courtiers .container .grid .courtier .bottom .visite {
    width: 110px;
  }

  .post-template-full-width-template .content .wp-block-image {
    width: 90%;
  }

  .post-template-full-width-template .post .excerpt {
    width: 85%;
    margin: 0 auto;
  }
}

/* Large Desktop Styles */
@media screen and (min-width: 1200px) {
  .post-template-full-width-template article {
    width: 100%;
  }

  .container aside {
    min-width: 318px;
  }

  .container {
    max-width: 1160px;
  }

  .page-id-4133 .container {
    max-width: 990px;
  }

  .page-id-4133 header .container {
    max-width: 1160px;
  }

  .container.article article #courtiers .container .grid .courtier {
    width: 160px;
  }

  .post-template-full-width-template .container.article article #courtiers .grid .courtier {
    width: 100%;
  }

  .single-post .container article {
    flex: auto;
    padding: unset;
  }

  .single-post.page-template-casino-category .container article,
  .single-post.page-template-crypto-category .container article,
  .single-post.taxonomy-casino-category .container article,
  .single-post.taxonomy-crypto-category .container article {
    width: 100%;
  }
}