/* General */
body {
  background-color: white;
  font-size: 17.5px;
  line-height: 1.5em;
}

/* Hero section */
.hero-section {
    background-color: #f8f7eb;
    position: relative;
    overflow: hidden;
}
.hero-section .hero-content-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px;
    gap: 60px;
    position: relative;
}
.hero-section .hero-text-content {
    flex: 1;
    width: 45%;
    position: relative;
    z-index: 10;
}
.hero-section .hero-text-content::before {
    content: '';
    position: absolute;
    top: -68px;
    left: -20px;
    width: 48px;
    height: 48px;
    background-image: url('/staging-250908/wp-content/uploads/2025/10/flower.png');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1;
}
.hero-section .hero-text-content::after {
    content: '';
    position: absolute;
    bottom: -72px;
    left: 20px;
    width: 100px;
    height: 60px;
    background-image: url('/staging-250908/wp-content/uploads/2025/10/picto-fleche.png');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1;
}
.hero-page-title {
    font-family: 'Obviously-Black';
    font-size: 3.2rem;
    line-height: 1.1em;
    margin-top: -12px;
    margin-bottom: 8px;
    color: #eb5c23;
    text-transform: uppercase;
    letter-spacing: -0.015em;
}
.hero-section .hero-image-wrapper {
    flex: 1;
    width: 55%;
    position: relative;
    z-index: 3;
}
.hero-section .hero-image-wrapper img {
    width: 100%;
    height: 400px;
    display: block;
    border-radius: 36px;
    object-fit: cover;
}
.hero-section .hero-image-wrapper img::before {
    content: '';
    position: absolute;
    top: 60px;
    left: -60px;
    width: 80px;
    height: 80px;
    background-image: url('/staging-250908/wp-content/uploads/2025/10/picto-conseils-bon-plan.png');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Meta info */
.td-module-meta-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #666;
    font-family: 'Lexend';
}
.td-post-author-name {
    display: flex;
    align-items: center;
}
.td-post-author-name a {
	font-family: 'Lexend';
    color: #333;
    text-decoration: none;
    font-weight: 600;
}
.td-post-author-name a:hover {
    text-decoration: underline;
    color: #FF5722;
}
.td-author-line {
    margin: 0 8px;
    color: #999;
}
.td-post-date {
	font-family: 'Lexend';
    color: #999;
}

/* Deals section */
.deals {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 40px;
  max-width: 1060px;
  margin: 0 auto;
}
.deals * {
  font-family: 'Lexend';
}
.deals .deals-title {
  font-family: 'Obviously-Bold';
  font-weight: bold;
  color: #eb5c23;
  font-size: 14px;
  white-space: nowrap;
  text-align: center;
  align-self: flex-start;
}
.deals .deals-buttons {
  display: flex;
  gap: clamp(16px, 4vw, 60px);
  flex-wrap: wrap;
  justify-content: center;
}
.deals a.deals-button {
  background-color: #eb5c23;
  text-decoration: none;
  border-radius: 25px;
  padding: 10px 0;
  width: 200px;
  text-align: center;
  transition: background-color 0.3s ease;
}
.deals a.deals-button:hover {
  background-color: #f6b9d5;
}
.deals a.deals-button h3 {
  margin: 0 !important;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1em !important;
  color: white !important;
}
body #td-outer-wrap .deals .deals-buttons-mobile {
  display: none;
  width: 100vw;
  padding: 0 4vw;
}
body #td-outer-wrap .deals .deals-buttons-mobile div[id^="slider"] {
  padding: 0 !important;
}
body #td-outer-wrap .deals .deals-buttons-mobile div[id^="slider"] h3 {
  margin-top: 12px !important;
  margin-bottom: 0;
  font-size: 17px !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1em !important;
  color: white !important;
}
body #td-outer-wrap .deals .deals-buttons-mobile div[id^="slider"] h3 a.deals-button {
  display: inline-block;
  width: 72vw;
  margin: -12px 10vw;
  padding: 16px 24px;
  color: white !important;
}
body #td-outer-wrap .deals .deals-buttons-mobile div[id^="slider"] .owl-nav button {
  margin-top: 3px !important;
}

/* Main content area */
#td-outer-wrap .td-main-content-wrap {
  background-color: #fff;
  padding-bottom: 60px;
}
div.td-pb-span12.td-main-content {
  margin-top: 20px;
  margin-bottom: 100px;
}
.td-main-content-wrap > .td-container {
  width: 1068px;
  max-width: 100%;
  margin: 0 auto !important;
  padding: 0 4vw !important;
}
.td-main-content-wrap > .td-container .td-ss-main-content {
  max-width: 850px;
  margin: 0 auto;
}
.td-main-content-wrap p, .td-main-content-wrap p a, .td-main-content-wrap li a:not(#comments a) {
  font-family: 'Lexend';
  font-size: 17.5px;
  color: inherit;
}
.td-main-content-wrap #comments footer *,
.td-main-content-wrap #comments .comment-meta * {
  font-family: 'Lexend';
}
.td-main-content-wrap #comments footer a:hover,
.td-main-content-wrap #comments .comment-meta a:hover {
  text-decoration: underline;
}
.td-main-content-wrap p {
  font-weight: 300 !important;
  line-height: 1.5em !important;
}
.td-ss-main-content p {
  margin-bottom: 22px !important;
}
.td-ss-main-content ul {
  margin: 18px 0 18px 0 !important;
}
.td-main-content-wrap p strong, .td-main-content-wrap li strong {
  font-weight: 600 !important;
}
.td-main-content-wrap p a:link, .td-main-content-wrap p a:visited,
.td-main-content-wrap ul:not(.ez-toc-list) li:not(.comment) a:link,
.td-main-content-wrap ul:not(.ez-toc-list) li:not(.comment) a:visited {
  font-weight: inherit !important;
  border-bottom: none !important;
  text-decoration: solid underline #ffd274 4px !important;
  text-decoration-skip-ink: none;
  text-underline-offset: 0;
}
.td-main-content-wrap p a:hover, .td-main-content-wrap li:not(.comment) a:hover {
  background-color: #ffd274 !important;
}
.td-main-content-wrap ul li:not(#ez-toc-container li),
.td-main-content-wrap ol:not(#ez-toc-container li) li {
  font-family: 'Lexend';
  font-weight: 300 !important;
  font-size: 17.5px;
  color: black;
}
.td-main-content-wrap ul li:not(#ez-toc-container li):not(.blocks-gallery-item),
.td-main-content-wrap ol li:not(#ez-toc-container li):not(.blocks-gallery-item) {
  line-height: 1.5em !important;
  margin-bottom: 8px !important;
}
h1, h2 {
  font-family: 'Obviously-Black' !important;
  color: #eb5c23 !important;
}
h2 {
  font-size: 34px !important;
  line-height: 40px !important;
}
h2:not(.wp-block-media-text h2):not(.wp-block-group h2) {
  margin-top: 64px !important;
}
.wp-block-group:has(h2) {
  margin-top: 64px !important;
  margin-bottom: 20px;
}
.wp-block-group:has(h3) {
  margin-bottom: 17px;
}
h3, h4, h5, h6 {
  font-family: 'Lexend' !important;
  font-weight: 600 !important;
  text-transform: uppercase;
}
h3:not(.td-aj-search-results h3):not(.uagb-section__inner-wrap h3):not(.wp-block-uagb-container h3):not(.deals-buttons h3):not(.wp-block-column h3), h4:not(.uagb-section__inner-wrap h4):not(.wp-block-uagb-container h4) {
  margin-top: 56px !important;
}
.wp-block-button a.wp-block-button__link, a.std-download-button {
  all ease-in-out 0.1s !important;
  text-transform: uppercase;
  font-family: 'Lexend' !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  line-height: normal;
  padding: .6em 3em !important;
  white-space: normal !important;
  word-wrap: break-word !important;
  border-radius: 1000px !important;
  box-shadow: none;
  margin-top: 4px;
}
a.std-download-button i {
  display: none;
}
.wp-block-button:not(.is-style-fill) a.wp-block-button__link, a.std-download-button {
  background: none !important;
  color: #eb5c23 !important;
  border: 2px solid #eb5c23;
}
.wp-block-button:not(.is-style-fill) a.wp-block-button__link:hover, a.std-download-button:hover {
  background: #eb5c23 !important;
  color: white !important;
}
.wp-block-button.is-style-fill a.wp-block-button__link {
  background: #eb5c23 !important;
  color: white !important;
  border: 2px solid white;
}
.wp-block-button.is-style-fill a.wp-block-button__link:hover {
  background: white !important;
  color: #eb5c23 !important;
}
.td-main-content-wrap div#ez-toc-container {
  background: none;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin-top: 40px !important;
  margin-bottom: 180px !important;
}
.td-main-content-wrap div#ez-toc-container nav ul li a {
  font-family: 'Lexend' !important;
  font-size: 16px !important;
  color: black !important;
  text-transform: uppercase;
}
.td-main-content-wrap div#ez-toc-container nav ul li a:before {
  background: none !important;
  color: #eb5c23 !important;
  font-family: 'Obviously-Black' !important;
  font-size: 30px !important;
  line-height: 0;
  margin: 0;
  top: 50%;
  text-align: right !important;
}
.td-main-content-wrap div#ez-toc-container nav ul li a:hover {
  background-color: #ffd274 !important;
  color: white !important;
}
.td-main-content-wrap div#ez-toc-container:after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50vw);
  background-image: url('/staging-250908/wp-content/uploads/2025/10/Wave.svg');
  background-size: contain;
  background-repeat: repeat-x;
  width: 70vw;
  height: 24px;
  z-index: 1;
}
.td-ss-main-content figure.wp-block-image img {
  border-radius: 24px;
}

/* Overriding legacy classes */
body.page .wp-block-uagb-section.force-body-width, body.single-post .wp-block-uagb-section.force-body-width {
  width: 850px !important;
  margin: 0 auto !important;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero-page-title {
        font-size: 2.8rem;
    }
    .hero-section .hero-content-wrapper {
        padding: 40px 30px 30px 30px;
        gap: 40px;
    }
    .td-main-content-wrap div#ez-toc-container {
        margin-bottom: 140px !important;
    }
    .td-main-content-wrap div#ez-toc-container:after {
        left: 12%;
        transform: translateX(-50vw) scale(2);
    }
}
@media (max-width: 767px) {
  .hero-section .hero-content-wrapper {
    flex-direction: column;
    gap: 30px;
    padding: 40px 20px 20px 20px;
  }
  .hero-section .hero-text-content::before {
    display: none;
  }
  .hero-section .hero-text-content,
  .hero-section .hero-image-wrapper {
    width: 100%;
  }
  .hero-page-title {
    font-size: 2.2rem;
  }
  body #td-outer-wrap .deals .deals-title  {
    align-self: auto;
  }
  body #td-outer-wrap .deals .deals-buttons-mobile {
    display: block;
  }
  .deals {
    padding-bottom: 32px;
  }
  .deals .deals-buttons {
    display: none;
  }
}