/* Candidate: append after service-sections-20261114.css and quiz.css.
   Scope is the native quiz only; SF2 form headings retain their current alignment.
   Keep the existing --tq-stage-height / --tq-nav-height and measurement overrides.
   Step/button rules also match .tq-measure clones outside .tq-form. */
#quizz .teploquiz{
  width:100%;
  max-width:1170px;
  margin-inline:auto;
}
#quizz .teploquiz>h2{
  max-width:700px;
  margin:0 0 36px;
  font-size:40px;
  line-height:1.18;
  text-align:left;
  text-transform:none;
  letter-spacing:normal;
  word-break:normal;
  overflow-wrap:break-word;
  hyphens:none;
  text-wrap:balance;
}
#quizz .teploquiz .tq-form{
  width:100%;
  max-width:760px;
  margin:0;
}
#quizz .teploquiz .tq-actions{
  width:372px;
  max-width:100%;
  margin:20px 0 0;
  grid-template-columns:160px 200px;
  gap:12px;
  justify-content:start;
  align-items:stretch;
}
#quizz .teploquiz .tq-actions button{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:18px;
  width:100%;
  min-width:0;
  min-height:48px;
  height:auto;
  padding:12px 18px;
  font-size:16px;
  line-height:1.3;
  white-space:normal;
  text-transform:none;
}
#quizz .teploquiz .tq-actions:has(>.tq-prev[hidden]){
  width:200px;
  grid-template-columns:minmax(0,1fr);
}
#quizz .teploquiz .tq-actions:has(>.tq-prev[hidden])>.tq-next,
#quizz .teploquiz .tq-actions:has(>.tq-prev[hidden])>.tq-submit{
  grid-column:1;
}
#quizz .teploquiz .tq-next::after{
  content:"";
  display:block;
  flex:0 0 24px;
  width:24px;
  height:14px;
  background:currentColor;
  clip-path:polygon(0 43%,73% 43%,54% 10%,61% 0,100% 50%,61% 100%,54% 90%,73% 57%,0 57%);
}
#quizz .teploquiz .tq-contact-step>label:not(.tq-contact-consent){
  margin:12px 0;
}
#quizz .teploquiz .tq-contact-consent{
  max-width:680px;
  padding-top:16px;
  font-size:13px;
  line-height:1.5;
}
@media(max-width:767.98px){
  #quizz .teploquiz>h2{
    max-width:100%;
    margin-bottom:28px;
    font-size:clamp(28px,5vw,36px);
    line-height:1.2;
  }
}
@media(max-width:575.98px){
  #quizz .teploquiz .tq-actions,
  #quizz .teploquiz .tq-actions:has(>.tq-prev[hidden]){
    width:100%;
    max-width:372px;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }
  #quizz .teploquiz .tq-actions button{
    padding:12px 10px;
    gap:10px;
    font-size:15px;
  }
  #quizz .teploquiz .tq-next::after{
    flex-basis:20px;
    width:20px;
    height:12px;
  }
}

/* Append after the current service/common styles. Native details only; no JS.
   SF2 changes are limited to the existing left title/description column. */
#faq.tg-service-faq .page-header{
  max-width:800px;
  margin:0 auto 32px;
  text-transform:none;
  line-height:1.2;
  hyphens:none;
  overflow-wrap:break-word;
}
#faq.tg-service-faq .tg-service-faq-item{
  margin:12px 0;
  border:1px solid rgba(255,255,255,.2);
  border-radius:16px;
  background:transparent;
  color:inherit;
}
#faq.tg-service-faq .tg-service-faq-item>summary{
  position:relative;
  display:block;
  list-style:none;
  padding:22px 64px 22px 24px;
  border-radius:15px;
  font-size:18px;
  font-weight:500;
  line-height:1.4;
  text-transform:none;
  cursor:pointer;
  overflow-wrap:break-word;
}
#faq.tg-service-faq .tg-service-faq-item>summary::marker{content:""}
#faq.tg-service-faq .tg-service-faq-item>summary::-webkit-details-marker{display:none}
#faq.tg-service-faq .tg-service-faq-item>summary::after{
  content:"";
  position:absolute;
  right:24px;
  top:50%;
  width:18px;
  height:18px;
  transform:translateY(-50%);
  color:#8bdfff;
  background:linear-gradient(currentColor,currentColor) center/18px 2px no-repeat,
    linear-gradient(currentColor,currentColor) center/2px 18px no-repeat;
  pointer-events:none;
}
#faq.tg-service-faq .tg-service-faq-item[open]>summary::after{
  background-size:18px 2px,2px 0;
}
#faq.tg-service-faq .tg-service-faq-item>summary:hover{
  background:rgba(255,255,255,.035);
}
#faq.tg-service-faq .tg-service-faq-item>summary:focus-visible{
  outline:2px solid #8bdfff;
  outline-offset:3px;
}
#faq.tg-service-faq .tg-service-faq-answer{
  padding:0 24px 24px;
  font-size:16px;
  line-height:1.65;
  overflow-wrap:break-word;
}
#faq.tg-service-faq .tg-service-faq-answer p{
  margin:0 0 14px;
  font-size:inherit;
  line-height:inherit;
}
#faq.tg-service-faq .tg-service-faq-answer p:last-child{margin-bottom:0}

.sf2-form-box .sf2-body .row>div.col-lg-6:first-child{
  justify-content:center!important;
  align-items:center!important;
  text-align:center;
  gap:24px;
}
.sf2-form-box .sf2-body .row>div.col-lg-6:first-child>.page-header{
  width:100%;
  max-width:400px;
  margin:0;
  text-align:center;
  text-transform:none;
  hyphens:none;
  overflow-wrap:break-word;
}
.sf2-form-box .sf2-body .row>div.col-lg-6:first-child>.page-header>span{
  display:inline;
}
.sf2-form-box .sf2-body .row>div.col-lg-6:first-child>.page-header>span+span::before{
  content:" ";
}
.sf2-form-box .sf2-body .row>div.col-lg-6:first-child>.description{
  width:100%;
  max-width:440px;
  margin:0;
  text-align:center;
  line-height:1.6;
}
.sf2-form-box .sf2-body .row>div.col-lg-6:first-child>.description>p{
  margin:0;
}
.sf2-form-box .sf2-body .row>div.col-lg-6:first-child>.description>p+p{
  margin-top:12px;
}
@media(max-width:575.98px){
  #faq.tg-service-faq .page-header{margin-bottom:24px}
  #faq.tg-service-faq .tg-service-faq-item>summary{padding:20px 54px 20px 20px}
  #faq.tg-service-faq .tg-service-faq-item>summary::after{right:20px}
  #faq.tg-service-faq .tg-service-faq-answer{padding:0 20px 20px}
}

/* Append after common-refine. Slick slide is the card; .text is its surface. */
.reviews-container-carousel .tg-review-carousel-card.slick-slide {
  display: flex !important;
  align-items: stretch;
  height: auto;
  min-height: 330px;
  padding: 0 12px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  backdrop-filter: none;
  box-sizing: border-box;
}
.reviews-container-carousel .tg-review-carousel-card.slick-slide > .text {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 330px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 32px;
  background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .08);
  box-sizing: border-box;
}
.reviews-container-carousel .tg-review-carousel-card.slick-slide > .text > .article-info {
  margin-top: 0;
  margin-bottom: 12px;
}
.reviews-container-carousel .tg-review-carousel-card.slick-slide > .text > .reviews-description-blog {
  margin: 20px 0 24px;
  font-size: 16px;
  line-height: 1.55;
}
.reviews-container-carousel .tg-review-carousel-card.slick-slide > .text > .reviews-description-blog p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  min-height: 4.65em;
  max-height: 4.65em;
  margin: 0;
  line-height: 1.55;
  -webkit-mask-image: linear-gradient(#000 78%, rgba(0, 0, 0, .3));
  mask-image: linear-gradient(#000 78%, rgba(0, 0, 0, .3));
}
.reviews-container-carousel .tg-review-carousel-card.slick-slide > .text > a.read {
  align-self: flex-start;
  margin-top: auto;
  margin-bottom: 0;
  padding-top: 8px;
}
@media (max-width: 767.98px) {
  .reviews-container-carousel .tg-review-carousel-card.slick-slide,
  .reviews-container-carousel .tg-review-carousel-card.slick-slide > .text { min-height: 320px; }
  .reviews-container-carousel .tg-review-carousel-card.slick-slide > .text { padding: 28px; }
}

/* Match the sentence-case headings in the original layouts. */
.about-us-box h1.tg-about-experience>.tg-about-tagline{max-width:10em;text-transform:none}
.tg-advantage-banner .tg-advantage-content>.page-header,.tg-advantage-banner .tg-fact h3,.tg-license-showcase .page-header,.tg-project-detail h1,.tg-project-detail h2,#tabulator-service h2{ text-transform:none }

/* Below the desktop header the slogan no longer reserves flow height. */
@media(max-width:991.98px){main>.item-article:not(.item-firstscreen){padding-top:128px}}

@media(max-width:767.98px){.tg-advantage-banner .tg-fact h3{font-size:clamp(15px,4vw,17px)}}
