/* Come to China - homepage stylesheet
   Scope: body.ctc-home.
   Row columns, gaps, widths and typography belong to the Kadence block
   editor and the parent theme Customizer. This file keeps the homepage
   visual shell and functional behavior (hero gallery, arrows, dots,
   native date field, form surface, cards, CTA, WhatsApp float). */

:root{
  --ctc-ink:var(--global-palette3);
  --ctc-ink-soft:var(--global-palette4);
  --ctc-jade:var(--global-palette11);
  --ctc-jade-deep:var(--global-palette3);
  --ctc-jade-mist:var(--global-palette8);
  --ctc-vermilion:var(--global-palette1);
  --ctc-vermilion-dark:var(--global-palette13);
  --ctc-amber:var(--global-palette15);
  --ctc-amber-light:var(--global-palette15);
  --ctc-paper:var(--global-palette8);
  --ctc-white:var(--global-palette9);
  --ctc-line:var(--global-palette7);
  --ctc-whatsapp:var(--global-palette11);
  --ctc-gutter:clamp(18px,3.2vw,40px);
  --ctc-header-h:76px;
  --ctc-radius:8px;
  --ctc-radius-btn:6px;
  --ctc-shadow:0 18px 42px rgba(18,42,46,.12);
  --ctc-shadow-lg:0 30px 64px rgba(6,22,22,.20);
  --ctc-shadow-deep:0 34px 72px rgba(6,22,22,.24);
}

html{
  scroll-behavior:smooth;
}

body.ctc-home *,
body.ctc-home *::before,
body.ctc-home *::after{
  box-sizing:border-box;
}

img{
  max-width:100%;
  display:block;
}

.ctc-shell{
  max-width:var(--global-content-width);
  margin-inline:auto;
  padding-inline:var(--ctc-gutter);
}

.ctc-icon{
  width:18px;
  height:18px;
  flex-shrink:0;
}

.ctc-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:46px;
  padding:12px 20px;
  border:1px solid transparent;
  border-radius:var(--ctc-radius-btn);
  text-decoration:none;
  cursor:pointer;
  transition:background-color .2s ease,border-color .2s ease,color .2s ease,transform .2s ease,box-shadow .2s ease;
}

.ctc-btn .ctc-icon{
  width:17px;
  height:17px;
}

.ctc-btn-small{
  min-height:40px;
  padding:9px 16px;
}

.ctc-btn-primary{
  background:var(--ctc-vermilion);
  color:var(--global-palette9);
}

.ctc-btn-primary:hover{
  background:var(--ctc-vermilion-dark);
  transform:translateY(-1px);
  box-shadow:0 12px 26px color-mix(in srgb, var(--ctc-vermilion) 30%, transparent);
}

.ctc-btn-ghost{
  background:color-mix(in srgb, var(--global-palette9) 8%, transparent);
  border-color:color-mix(in srgb, var(--global-palette9) 62%, transparent);
  color:var(--global-palette9);
}

.ctc-btn-ghost:hover{
  background:color-mix(in srgb, var(--global-palette9) 18%, transparent);
  transform:translateY(-1px);
}

.ctc-btn-ghost-dark{
  background:transparent;
  border-color:color-mix(in srgb, var(--global-palette9) 55%, transparent);
  color:var(--global-palette9);
}

.ctc-btn-ghost-dark:hover{
  background:color-mix(in srgb, var(--global-palette9) 12%, transparent);
  transform:translateY(-1px);
}

.ctc-btn-outline{
  background:var(--global-palette9);
  border-color:var(--ctc-jade);
  color:var(--ctc-jade);
}

.ctc-btn-outline:hover{
  background:var(--ctc-jade-mist);
  transform:translateY(-1px);
}

.ctc-btn-amber{
  background:var(--ctc-amber);
  color:var(--global-palette3);
}

.ctc-btn-amber:hover{
  background:var(--ctc-amber-light);
  transform:translateY(-1px);
}

/* Hero */

/* Flatten WordPress group wrappers so homepage sections match the block layout. */
.ctc-hero > .wp-block-group__inner-container,
.ctc-hero-content > .wp-block-group__inner-container,
.ctc-hero-copy > .wp-block-group__inner-container,
.ctc-hero-ctas > .wp-block-group__inner-container,
.ctc-hero-chips > .wp-block-group__inner-container,
.ctc-card-grid > .wp-block-group__inner-container,
.ctc-card > .wp-block-group__inner-container,
.ctc-card-body > .wp-block-group__inner-container,
.ctc-section-head > .wp-block-group__inner-container,
.ctc-stats-grid > .wp-block-group__inner-container,
.ctc-split > .wp-block-group__inner-container,
.ctc-split-copy > .wp-block-group__inner-container,
.ctc-plan-card > .wp-block-group__inner-container,
.ctc-plan-content > .wp-block-group__inner-container,
.ctc-plan-foot > .wp-block-group__inner-container,
.ctc-plan-list > .wp-block-group__inner-container,
.ctc-cases > .wp-block-group__inner-container,
.ctc-dest-overlay > .wp-block-group__inner-container,
.ctc-btn-row > .wp-block-group__inner-container,
.ctc-check-list > .wp-block-group__inner-container,
.ctc-case-author > .wp-block-group__inner-container,
.ctc-case-foot > .wp-block-group__inner-container,
.ctc-product-note > .wp-block-group__inner-container,
.ctc-plan-note > .wp-block-group__inner-container,
.ctc-solution-icon > .wp-block-group__inner-container,
.ctc-dest-card > .wp-block-group__inner-container,
.ctc-media-badge > .wp-block-group__inner-container{
  display:contents;
}

.ctc-hero{
  position:relative;
  min-height:640px;
  height:auto;
  overflow:hidden;
  color:var(--global-palette9);
  background:var(--global-palette3);
}

/* Hero slides use the Kadence Advanced Gallery slider as a full-bleed background */
.ctc-hero .wp-block-kadence-advancedgallery{
  position:absolute;
  inset:0;
  margin:0;
  overflow:hidden;
  z-index:0;
}

.ctc-hero .kb-gallery-ul,
.ctc-hero .kt-blocks-carousel,
.ctc-hero .splide__track,
.ctc-hero .splide__list,
.ctc-hero .kb-slide-item,
.ctc-hero .kb-slide-item .kadence-blocks-gallery-item,
.ctc-hero .kb-slide-item .kadence-blocks-gallery-item-inner,
.ctc-hero .kb-slide-item .kb-gallery-figure,
.ctc-hero .kb-slide-item .kb-gal-image-radius{
  height:100%;
}

.ctc-hero .kb-gallery-image-contain{
  height:100%;
  aspect-ratio:auto;
}

.ctc-hero .kb-gallery-image-contain img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.ctc-hero .kb-gallery-image-contain.kadence-blocks-gallery-intrinsic{
  height:100% !important;
  padding-bottom:0 !important;
  aspect-ratio:auto !important;
}

.ctc-hero .kb-gallery-image-contain.kadence-blocks-gallery-intrinsic img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}

.ctc-hero-shade{
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:1;
}

body.ctc-home .ctc-hero > .kt-row-column-wrap{
  max-width:none;
  height:100%;
  padding:24px 0;
  gap:0;
}

body.ctc-home .ctc-hero > .kt-row-column-wrap > .wp-block-kadence-column > .kt-inside-inner-col{
  min-height:inherit;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  position:static;
}

body.ctc-home .ctc-hero-content{
  position:relative;
  z-index:2;
  display:block;
  width:100%;
  min-height:inherit;
  padding-top:calc(var(--ctc-header-h) + 64px);
  padding-bottom:56px;
}

body.ctc-home .ctc-hero-content > .kt-row-column-wrap{
  max-width:var(--global-content-width);
  margin-inline:auto;
  padding-inline:var(--ctc-gutter);
}

/* Kadence row overlay only covers the content row; stretch it to the hero edges (row wrap padding is 24px top/bottom). */
body.ctc-home .ctc-hero-content > .kt-row-layout-overlay{
  position:absolute;
  top:-24px;
  right:0;
  bottom:-24px;
  left:0;
  width:auto;
  height:auto;
}

body.ctc-home .ctc-hero-copy,
body.ctc-home .ctc-hero-planbar{
  min-width:0;
}

body.ctc-home .ctc-hero-planbar > .kt-inside-inner-col{
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
}

body.ctc-home .ctc-hero-copy-width > .kt-row-column-wrap,
body.ctc-home .ctc-cta-copy-width > .kt-row-column-wrap{
  margin-inline:0;
}

body.ctc-home .ctc-hero-copy-width > .kt-row-column-wrap > .wp-block-kadence-column,
body.ctc-home .ctc-cta-copy-width > .kt-row-column-wrap > .wp-block-kadence-column,
body.ctc-home .ctc-hero-copy-width .kt-inside-inner-col,
body.ctc-home .ctc-cta-copy-width .kt-inside-inner-col{
  min-width:0;
}

.ctc-hero-chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 20px;
  padding:0;
  list-style:none;
}

.ctc-hero-chips li{
  padding:7px 14px;
  border:1px solid color-mix(in srgb, var(--global-palette9) 50%, transparent);
  border-radius:999px;
  background:color-mix(in srgb, var(--global-palette3) 34%, transparent);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  white-space:nowrap;
}

.ctc-hero h1{
  margin:0;
  text-wrap:balance;
  text-shadow:0 2px 26px rgba(6,22,22,.38);
}

.ctc-hero-sub{
  margin:20px 0 0;
  color:color-mix(in srgb, var(--global-palette9) 92%, transparent);
  text-shadow:0 1px 14px rgba(6,22,22,.30);
}

.ctc-hero-ctas{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:24px;
}

.ctc-hero-note{
  margin:12px 0 0;
  color:var(--global-palette9);
}

/* Trip planner bar uses the Kadence Advanced Form block */
.ctc-hero .wp-block-kadence-advanced-form{
  margin-top:0;
  padding:14px;
  background:var(--ctc-white);
  color:var(--ctc-ink);
  border-radius:var(--ctc-radius);
  border-top:3px solid var(--ctc-vermilion);
  box-shadow:0 30px 70px rgba(6,22,22,.38);
}

.ctc-hero .kb-adv-form-field{
  min-width:0;
}

.ctc-hero .kb-adv-form-label{
  display:block;
  margin:0 0 7px;
  color:var(--ctc-ink-soft);
  min-width:0;
  overflow-wrap:anywhere;
}

.ctc-hero .kb-adv-form-field select,
.ctc-hero .kb-adv-form-field input[type=date]{
  width:100%;
  height:52px;
  box-sizing:border-box;
  min-width:0;
  max-width:100%;
  padding-inline:14px;
  border:1px solid var(--ctc-line);
  border-radius:var(--ctc-radius-btn);
  background:var(--global-palette9);
  color:var(--ctc-ink);
  outline:none;
}

.ctc-hero .kb-adv-form-field input[type=date]{
  appearance:auto;
  -webkit-appearance:auto;
}

.ctc-hero .kb-adv-form-field select{
  appearance:none;
  -webkit-appearance:none;
  background-image:linear-gradient(45deg,transparent 50%,var(--ctc-ink-soft) 50%),linear-gradient(135deg,var(--ctc-ink-soft) 50%,transparent 50%);
  background-position:calc(100% - 19px) 23px,calc(100% - 14px) 23px;
  background-size:5px 5px,5px 5px;
  background-repeat:no-repeat;
  padding-right:30px;
}

.ctc-hero .kb-adv-form-field select:focus,
.ctc-hero .kb-adv-form-field input:focus{
  border-color:var(--ctc-jade);
  box-shadow:0 0 0 3px color-mix(in srgb, var(--ctc-jade) 14%, transparent);
}

.ctc-hero .kb-submit-field{
  display:flex;
  align-items:flex-end;
  min-width:0;
}

/* Keep the submit button bottom-aligned with the select/date fields */
.ctc-hero .wp-block-kadence-advanced-form .kt-inside-inner-col{
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
}

.ctc-hero .kb-adv-form-submit-button{
  min-width:150px;
  width:100%;
  height:52px;
  min-height:52px;
  margin:0;
  padding:0 18px;
  border:0;
  border-radius:var(--ctc-radius-btn);
  background:linear-gradient(135deg,var(--ctc-vermilion),var(--ctc-vermilion-dark));
  color:var(--global-palette9);
  cursor:pointer;
  box-shadow:0 14px 30px color-mix(in srgb, var(--ctc-vermilion) 28%, transparent);
  transition:background-color .25s ease,transform .25s ease,box-shadow .25s ease;
}

.ctc-hero .kb-adv-form-submit-button:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 36px color-mix(in srgb, var(--ctc-vermilion) 36%, transparent);
}

/* Banner arrows: reveal on image hover, hide when the pointer leaves. */
.ctc-hero .splide__arrows{
  opacity:0;
  z-index:4;
  pointer-events:none;
  transition:opacity .22s ease;
}

.ctc-hero:hover .splide__arrows,
.ctc-hero .splide__arrows:focus-within{
  opacity:1;
  pointer-events:auto;
}

.ctc-hero .splide__arrow{
  position:absolute;
  top:50%;
  z-index:3;
  width:46px;
  height:46px;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:#fafafa;
  opacity:1;
  transform:translateY(-50%);
  cursor:pointer;
  transition:color .2s ease;
}

.ctc-hero .splide__arrow svg{
  width:22px;
  height:22px;
  fill:currentColor;
}

.ctc-hero .splide__arrow--prev{
  left:18px;
  transform:translateY(-50%) rotate(180deg);
}

.ctc-hero .splide__arrow--next{
  right:18px;
}

.ctc-hero .splide__arrow:hover{
  color:#c7000b;
}

body.ctc-home .ctc-hero .splide__pagination{
  position:absolute;
  left:0;
  right:0;
  bottom:15px;
  transform:none;
  z-index:3;
  display:flex;
  gap:8px;
  margin:0;
  padding:0;
  align-items:center;
  justify-content:center;
}

.ctc-hero .splide__pagination li{
  display:flex;
  align-items:center;
  justify-content:center;
  width:9px;
  height:9px;
  margin:0;
  padding:0;
  line-height:0;
}

.ctc-hero .splide__pagination__page{
  width:9px;
  height:9px;
  padding:0;
  border:0;
  border-radius:999px;
  background:color-mix(in srgb, var(--global-palette9) 48%, transparent);
  opacity:1;
  transform:none;
  cursor:pointer;
  transition:background-color .25s ease,opacity .25s ease;
}

.ctc-hero .splide__pagination__page:hover{
  background:color-mix(in srgb, var(--global-palette9) 92%, transparent);
}

.ctc-hero .splide__pagination__page.is-active{
  background:var(--ctc-amber);
}

@media (max-width:767px){
  body.ctc-home .ctc-hero .splide__pagination{
    bottom:10px;
  }

  body.ctc-home .ctc-hero .kb-adv-form-field input[type=date].ctc-date-native-hidden{
    appearance:none;
    -webkit-appearance:none;
    color:transparent;
    -webkit-text-fill-color:transparent;
  }

  body.ctc-home .ctc-hero .kb-adv-form-field input[type=date].ctc-date-native-hidden::-webkit-calendar-picker-indicator{
    display:none;
    opacity:0;
  }

  body.ctc-home .ctc-hero .kb-adv-form-field input[type=date].ctc-date-native-hidden::-webkit-date-and-time-value,
  body.ctc-home .ctc-hero .kb-adv-form-field input[type=date].ctc-date-native-hidden::-webkit-datetime-edit{
    display:none;
    visibility:hidden;
  }

  body.ctc-home .ctc-hero .kb-adv-form-field .ctc-date-cover{
    position:absolute;
    left:0;
    right:0;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    box-sizing:border-box;
    padding:0 14px;
    background:var(--global-palette9);
    border:1px solid var(--ctc-line);
    border-radius:var(--ctc-radius-btn);
    color:var(--ctc-ink-soft);
    cursor:pointer;
    z-index:1;
  }

  body.ctc-home .ctc-hero .kb-adv-form-field .ctc-date-cover-text{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }

  body.ctc-home .ctc-hero .kb-adv-form-field .ctc-date-cover-text.has-value{
    color:var(--ctc-ink);
  }

  body.ctc-home .ctc-hero .kb-adv-form-field .ctc-date-cover-icon{
    width:18px;
    height:18px;
    flex-shrink:0;
    color:var(--ctc-ink-soft);
  }
}

/* Sections */

.ctc-section{
  scroll-margin-top:calc(var(--ctc-header-h) + 14px);
}

.ctc-section-head{
  margin-bottom:54px;
}

.ctc-section-head h2,
.ctc-split-copy h2{
  margin:12px 0 0;
  text-wrap:balance;
}

.ctc-section-lead{
  margin:0;
  color:var(--ctc-ink-soft);
}

.ctc-eyebrow{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0;
  color:var(--ctc-jade);
}

.ctc-eyebrow::before{
  content:"";
  width:34px;
  height:2px;
  background:linear-gradient(90deg,var(--ctc-vermilion),var(--ctc-amber));
  border-radius:2px;
}

body.ctc-home .ctc-section-head,
body.ctc-home .ctc-split-copy,
body.ctc-home .ctc-cta-copy{
  counter-increment:ctc-chapter;
}

body.ctc-home .ctc-eyebrow::after{
  content:" / " counter(ctc-chapter,decimal-leading-zero);
  margin-left:2px;
  color:var(--ctc-amber);
}

.ctc-eyebrow-light{
  color:var(--ctc-amber-light);
}

body.ctc-home .ctc-eyebrow-light::after{
  color:var(--ctc-amber-light);
}

/* Services section background is controlled in the Kadence row block editor. */

body.ctc-home .ctc-card-grid + .ctc-card-grid{
  margin-top:22px;
}

.ctc-card{
  position:relative;
  display:flex;
  flex-direction:column;
  min-width:0;
  height:100%;
  background:var(--ctc-white);
  border:1px solid var(--ctc-line);
  border-radius:var(--ctc-radius);
  overflow:hidden;
  text-decoration:none;
  box-shadow:0 3px 14px rgba(18,42,46,.05);
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}

.ctc-card::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:3px;
  z-index:2;
  background:linear-gradient(90deg,var(--ctc-jade),var(--ctc-amber));
  opacity:0;
  transition:opacity .25s ease;
}

.ctc-card:hover{
  transform:translateY(-8px);
  border-color:var(--ctc-jade);
  box-shadow:var(--ctc-shadow-deep);
}

.ctc-card:hover::before{
  opacity:1;
}

.ctc-card-media{
  position:relative;
  display:block;
  overflow:hidden;
  aspect-ratio:16/10;
}

.ctc-card-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .5s ease;
}

.ctc-card:hover .ctc-card-media img{
  transform:scale(1.06);
}

.ctc-card-num{
  position:absolute;
  top:12px;
  left:12px;
  padding:5px 10px;
  border-radius:999px;
  border:1px solid color-mix(in srgb, var(--global-palette3) 8%, transparent);
  background:color-mix(in srgb, var(--global-palette9) 96%, transparent);
  color:var(--ctc-ink);
}

.ctc-card-body{
  display:flex;
  flex-direction:column;
  flex:1;
  gap:10px;
  padding:24px 24px 26px;
}

.ctc-card-copy{
  color:var(--ctc-ink-soft);
}

.ctc-card-link{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin-top:auto;
  padding-top:4px;
  color:var(--ctc-jade);
}

.ctc-card-link .ctc-icon{
  width:15px;
  height:15px;
  transition:transform .2s ease;
}

.ctc-card:hover .ctc-card-link .ctc-icon{
  transform:translateX(3px);
}

/* Services gallery cards: the Advanced Gallery block owns images, captions,
   links and columns; the child theme only keeps the card effect styles. */
body.ctc-home .ctc-services .ctc-entry-gallery{
  counter-reset:ctc-entry;
}

body.ctc-home .ctc-services .ctc-entry-gallery .kadence-blocks-gallery-item{
  counter-increment:ctc-entry;
}

/* Fill the carousel slide so every card takes the tallest height in the row. */
body.ctc-home .ctc-services .ctc-entry-gallery .kb-slide-item .kadence-blocks-gallery-item{
  height:100%;
}

body.ctc-home .ctc-services .ctc-entry-gallery .kadence-blocks-gallery-item-inner{
  position:relative;
  height:100%;
  background:var(--ctc-white);
  border:1px solid var(--ctc-line);
  border-radius:var(--ctc-radius);
  overflow:hidden;
  box-shadow:0 3px 14px rgba(18,42,46,.05);
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}

body.ctc-home .ctc-services .ctc-entry-gallery .kadence-blocks-gallery-item-inner::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:3px;
  z-index:2;
  background:linear-gradient(90deg,var(--ctc-jade),var(--ctc-amber));
  opacity:0;
  transition:opacity .25s ease;
  pointer-events:none;
}

body.ctc-home .ctc-services .ctc-entry-gallery .kadence-blocks-gallery-item-inner::after{
  content:counter(ctc-entry,decimal-leading-zero);
  position:absolute;
  top:12px;
  left:12px;
  z-index:2;
  padding:5px 10px;
  border-radius:999px;
  font-size:.76rem;
  font-weight:800;
  line-height:1;
  border:0;
  background:color-mix(in srgb, var(--global-palette9) 96%, transparent);
  color:var(--ctc-ink);
  pointer-events:none;
}

body.ctc-home .ctc-services .ctc-entry-gallery .kadence-blocks-gallery-item-inner:hover{
  transform:translateY(-4px);
  border-color:var(--ctc-jade);
  box-shadow:var(--ctc-shadow);
  z-index:5;
}

body.ctc-home .ctc-services .ctc-entry-gallery .kadence-blocks-gallery-item-inner:hover::before{
  opacity:1;
}

/* Keep shadows uncut; hide off-screen slides only when not dragging so drag remains fluid. */
body.ctc-home .ctc-services .ctc-entry-gallery .splide__track{
	overflow:visible;
	contain:layout;
  padding-top:8px;
  margin-top:-8px;
  padding-bottom:60px;
  margin-bottom:-60px;
}

body.ctc-home .ctc-services .ctc-entry-gallery:not(.ctc-carousel-dragging):has(.splide__slide.is-visible) .splide__slide:not(.is-visible){
	opacity:0;
	pointer-events:none;
}

body.ctc-home .ctc-services .ctc-entry-gallery.ctc-carousel-dragging .splide__slide:not(.is-visible){
	opacity:1;
	pointer-events:auto;
}


body.ctc-home .ctc-services .ctc-entry-gallery .kb-gallery-figure{
  display:flex;
  flex-direction:column;
  height:100%;
  margin:0;
}

body.ctc-home .ctc-services .ctc-entry-gallery .kb-gallery-item-link{
  display:flex;
  flex-direction:column;
  height:100%;
  text-decoration:none;
}

body.ctc-home .ctc-services .ctc-entry-gallery .kb-gal-image-radius,
body.ctc-home .ctc-services .ctc-entry-gallery .kb-gallery-image-contain{
  width:100%;
  overflow:hidden;
}

body.ctc-home .ctc-services .ctc-entry-gallery .kb-gallery-image-contain.kadence-blocks-gallery-intrinsic{
  aspect-ratio:16/10;
  height:auto !important;
  padding-bottom:0 !important;
}

body.ctc-home .ctc-services .ctc-entry-gallery .kb-gallery-image-contain img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .5s ease;
}

body.ctc-home .ctc-services .ctc-entry-gallery .kadence-blocks-gallery-item-inner:hover .kb-gallery-image-contain img{
  transform:scale(1.06);
}

body.ctc-home .ctc-services .ctc-entry-gallery .kadence-blocks-gallery-item__caption{
  display:flex;
  flex-direction:column;
  flex:1;
  gap:10px;
  margin:0;
  padding:20px 20px 22px;
  color:var(--ctc-ink-soft);
  text-align:left;
  background:transparent;
  font-size:var(--global-kb-font-size-sm, .9rem);
  line-height:1.6;
}

body.ctc-home .ctc-services .ctc-entry-gallery .kadence-blocks-gallery-item__caption br{
  display:none;
}

body.ctc-home .ctc-services .ctc-entry-gallery .kadence-blocks-gallery-item__caption strong{
  color:var(--ctc-ink);
  display:block;
  font-size:var(--global-kb-font-size-md, 1.25rem);
  font-weight:700;
  line-height:1.2;
}

body.ctc-home .ctc-services .ctc-entry-gallery .kadence-blocks-gallery-item__caption em{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:7px;
  align-self:flex-start;
  margin-top:auto;
  padding-top:4px;
  font-style:normal;
  font-size:var(--global-kb-font-size-sm, .9rem);
  font-weight:800;
  color:var(--ctc-jade);
}

body.ctc-home .ctc-services .ctc-entry-gallery .kadence-blocks-gallery-item__caption em::after{
  content:"\2192";
  font-size:1.05em;
  line-height:1;
  transition:transform .2s ease;
}

body.ctc-home .ctc-services .ctc-entry-gallery .kadence-blocks-gallery-item-inner:hover .kadence-blocks-gallery-item__caption em::after{
  transform:translateX(3px);
}

body.ctc-home .ctc-services .ctc-entry-gallery .kadence-blocks-gallery-item__caption em::before{
  content:"";
  position:absolute;
  left:0;
  right:100%;
  bottom:0;
  height:2px;
  background:linear-gradient(90deg,var(--ctc-vermilion),var(--ctc-amber));
  transition:right .25s ease;
}

body.ctc-home .ctc-services .ctc-entry-gallery .kadence-blocks-gallery-item-inner:hover .kadence-blocks-gallery-item__caption em::before{
  right:0;
}

/* Stats */

/* Stats section background is controlled in the Kadence row block editor. */

.ctc-stat{
  position:relative;
  text-align:center;
  padding:14px 16px 36px;
}

.ctc-stat .kb-count-up-number{
  display:block;
  color:var(--ctc-jade-deep);
}

.ctc-stat .kb-count-up-title{
  display:block;
  margin-top:12px;
  color:var(--ctc-ink-soft);
}

.ctc-stat::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:8px;
  width:44px;
  height:4px;
  border-radius:2px;
  transform:translateX(-50%);
  background:linear-gradient(90deg,var(--ctc-vermilion),var(--ctc-amber));
}

/* Solutions */

/* Solutions section background is controlled in the Kadence row block editor. */

.ctc-solution-card{
  padding:26px;
}

.ctc-solution-icon{
  width:54px;
  height:54px;
  display:grid;
  place-items:center;
  margin:0;
  border-radius:var(--ctc-radius);
  background:var(--ctc-jade-mist);
  color:var(--ctc-jade);
  transition:background-color .25s ease,color .25s ease,transform .25s ease;
}

.ctc-solution-icon .ctc-icon{
  width:23px;
  height:23px;
}

.ctc-solution-card > p:not(.ctc-solution-icon):not(.ctc-card-link){
  margin:9px 0 0;
}

.ctc-solution-card h3{
  margin:16px 0 0;
}

.ctc-solution-card .ctc-card-link{
  margin:auto 0 0;
}

.ctc-solution-card:hover .ctc-solution-icon{
  background:var(--ctc-jade);
  color:var(--global-palette9);
  transform:translateY(-2px);
}

.ctc-solution-card a{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin-top:auto;
  padding-top:16px;
  color:var(--ctc-jade);
  text-decoration:none;
}

.ctc-solution-card a .ctc-icon{
  width:15px;
  height:15px;
  transition:transform .2s ease;
}

.ctc-solution-card:hover a .ctc-icon{
  transform:translateX(3px);
}

/* Translators split */

/* Translators section background is controlled in the Kadence row block editor. */

.ctc-split-copy .ctc-section-lead{
  margin-top:16px;
}

.ctc-check-list{
  display:grid;
  gap:12px;
  margin:26px 0 0;
  padding:0;
  list-style:none;
}

.ctc-check-list li{
  display:flex;
  align-items:flex-start;
  gap:11px;
  color:var(--ctc-ink);
}

.ctc-check-list .ctc-icon{
  width:21px;
  height:21px;
  margin-top:2px;
  color:var(--ctc-jade);
}

.ctc-btn-row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:28px;
}

.ctc-home-evidence .ctc-btn-row,
.ctc-home-guides .ctc-btn-row{
  justify-content:center;
  margin-top:30px;
}
.ctc-media-frame{
  position:relative;
  overflow:hidden;
  border-radius:var(--ctc-radius);
  aspect-ratio:4/3;
  box-shadow:var(--ctc-shadow-deep);
}

.ctc-media-frame img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.ctc-media-badge{
  position:absolute;
  left:16px;
  right:16px;
  bottom:16px;
  display:flex;
  align-items:center;
  gap:11px;
  padding:12px 14px;
  border-radius:var(--ctc-radius);
  background:color-mix(in srgb, var(--global-palette9) 95%, transparent);
  color:var(--ctc-ink);
  box-shadow:0 12px 30px rgba(6,22,22,.22);
}

.ctc-media-badge .ctc-icon{
  width:22px;
  height:22px;
  color:var(--ctc-jade);
}

body.ctc-home .ctc-contact-panel{
  padding:30px;
  border:1px solid var(--ctc-line);
  border-radius:var(--ctc-radius);
  background:var(--ctc-white);
  box-shadow:var(--ctc-shadow);
}

body.ctc-home .ctc-contact-panel h3{
  margin:0;
}

body.ctc-home .ctc-contact-panel > p:not(.ctc-contact-note){
  margin:10px 0 0;
  color:var(--ctc-ink-soft);
}

body.ctc-home .ctc-contact-note{
  margin:14px 0 0;
  text-align:center;
  font-size:var(--global-kb-font-size-sm,.9rem);
  color:var(--ctc-ink-soft);
}

@media (max-width:767px){
  body.ctc-home .ctc-contact-panel{
    padding:22px 18px;
  }
}

/* Destinations */

/* Destinations section background is controlled in the Kadence row block editor. */

.ctc-dest-card .ctc-card-media{
  aspect-ratio:4/3;
}

.ctc-dest-overlay{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  padding:72px 20px 20px;
  background:linear-gradient(180deg,color-mix(in srgb, var(--global-palette3) 0%, transparent),color-mix(in srgb, var(--global-palette3) 90%, transparent));
  color:var(--global-palette9);
  display:flex;
  flex-direction:column;
  gap:3px;
}

.ctc-dest-overlay span{
  opacity:.94;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* Destination article carousel matches the region cards below. */
body.ctc-home .ctc-destinations .wp-block-kadence-postgrid .kt-post-grid-wrap{
  align-items:stretch;
}

body.ctc-home .ctc-destinations .wp-block-kadence-postgrid .kt-post-slider-item{
  display:flex;
}

/* Match the 22px card gap used by Client stories without changing Kadence's breakpoint columns. */
body.ctc-home .ctc-destinations .kt-post-slider-item,
body.ctc-home .ctc-insights .kt-post-slider-item{
  margin-right:22px !important;
}

@media (min-width:1025px){
  body.ctc-home .ctc-destinations .kt-post-slider-item,
  body.ctc-home .ctc-insights .kt-post-slider-item{
    width:calc(33.3333% - 14.6667px) !important;
  }
}

@media (min-width:768px) and (max-width:1024px){
  body.ctc-home .ctc-destinations .kt-post-slider-item,
  body.ctc-home .ctc-insights .kt-post-slider-item{
    width:calc(50% - 11px) !important;
  }
}

@media (max-width:767px){
  body.ctc-home .ctc-destinations .kt-post-slider-item,
  body.ctc-home .ctc-insights .kt-post-slider-item{
    width:calc(100% + 0px) !important;
  }
}

body.ctc-home .ctc-destinations .wp-block-kadence-postgrid .kt-blocks-post-grid-item-inner-wrap{
  display:flex;
  flex-direction:column;
  flex:1;
  min-width:0;
}

body.ctc-home .ctc-destinations .kt-blocks-post-grid-item{
  position:relative;
  display:flex;
  flex-direction:column;
  width:100%;
  height:100%;
  margin:0;
  background:var(--ctc-white);
  border:1px solid var(--ctc-line);
  border-radius:var(--ctc-radius);
  overflow:hidden;
  box-shadow:0 3px 14px rgba(18,42,46,.05);
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}

body.ctc-home .ctc-destinations .kt-blocks-post-grid-item::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:3px;
  z-index:2;
  background:linear-gradient(90deg,var(--ctc-jade),var(--ctc-amber));
  opacity:0;
  transition:opacity .25s ease;
}

body.ctc-home .ctc-destinations .kt-blocks-post-grid-item:hover{
	transform:translateY(-8px);
	border-color:var(--ctc-jade);
	box-shadow:var(--ctc-shadow-deep);
	z-index:5;
}

body.ctc-home .ctc-destinations .kt-blocks-post-grid-item:hover::before{
  opacity:1;
}

body.ctc-home .ctc-destinations .kadence-post-image{
  position:relative;
  overflow:hidden;
}

body.ctc-home .ctc-destinations .kadence-post-image-intrisic{
  aspect-ratio:4/3;
  padding-bottom:75% !important;
}

body.ctc-home .ctc-destinations .kadence-post-image-inner-wrap img{
  transition:transform .5s ease;
}

body.ctc-home .ctc-destinations .kt-blocks-post-grid-item:hover .kadence-post-image img{
  transform:scale(1.06);
}

body.ctc-home .ctc-destinations .kt-blocks-post-grid-item .kt-blocks-post-grid-item-inner{
  display:flex;
  flex-direction:column;
  flex:1;
  min-width:0;
}

body.ctc-home .ctc-destinations .kt-blocks-post-grid-item .kt-blocks-post-grid-item-inner{
  position:relative;
}

body.ctc-home .ctc-destinations .kt-blocks-post-grid-item header{
  position:absolute;
  left:0;
  right:0;
  bottom:100%;
  z-index:1;
  margin-top:0;
  padding:72px 20px 20px;
  background:linear-gradient(180deg,color-mix(in srgb, var(--global-palette3) 0%, transparent),color-mix(in srgb, var(--global-palette3) 90%, transparent));
  color:var(--global-palette9);
  border:0;
}

body.ctc-home .ctc-destinations .kt-blocks-above-categories{
	color:var(--global-palette9);
	font-weight:700;
	text-transform:uppercase;
	opacity:.94;
}

body.ctc-home .ctc-destinations .kt-blocks-above-categories a{
	text-decoration:none;
}

body.ctc-home .ctc-destinations .kt-blocks-post-grid-item .entry-title{
  margin:4px 0 0;
  padding:0;
  color:var(--global-palette9);
}

body.ctc-home .ctc-destinations .entry-title a{
  color:inherit;
  text-decoration:none;
}

body.ctc-home .ctc-destinations .kt-blocks-post-grid-item .entry-content{
  flex:1;
  color:var(--ctc-ink-soft);
}

body.ctc-home .ctc-destinations .kt-blocks-post-readmore-wrap{
  margin-top:auto;
  padding-top:10px;
}

body.ctc-home .ctc-destinations .kt-blocks-post-readmore{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:0;
  background:transparent;
  border:0;
  color:var(--ctc-jade);
  font-weight:700;
  text-decoration:none;
}

body.ctc-home .ctc-destinations .kt-blocks-post-readmore::after{
  content:"\2192";
  font-size:1.05em;
  line-height:1;
  transition:transform .2s ease;
}

body.ctc-home .ctc-destinations .kt-blocks-post-grid-item:hover .kt-blocks-post-readmore::after{
  transform:translateX(3px);
}

body.ctc-home .ctc-destinations .kt-blocks-post-readmore::before{
  content:"";
  position:absolute;
  left:0;
  right:100%;
  bottom:0;
  height:2px;
  background:linear-gradient(90deg,var(--ctc-vermilion),var(--ctc-amber));
  transition:right .25s ease;
}

body.ctc-home .ctc-destinations .kt-blocks-post-grid-item:hover .kt-blocks-post-readmore::before{
  right:0;
}

body.ctc-home .ctc-destinations .kt-blocks-post-footer{
  margin:16px 0 0;
  padding:12px 24px 18px;
  border-top:1px solid var(--ctc-line);
  color:var(--ctc-ink-soft);
  font-size:12px;
  text-transform:uppercase;
}

body.ctc-home .ctc-destinations .kt-blocks-post-footer a{
  color:var(--ctc-ink-soft);
  text-decoration:none;
}

body.ctc-home .ctc-destinations .kt-blocks-post-footer a:hover{
  color:var(--ctc-jade);
}


/* Keep shadows uncut; hide off-screen slides only when not dragging so drag remains fluid. */
body.ctc-home .ctc-destinations .wp-block-kadence-postgrid .splide__track{
		overflow:visible;
		contain:layout;
}

body.ctc-home .ctc-destinations .wp-block-kadence-postgrid:not(.ctc-carousel-dragging):has(.splide__slide.is-visible) .splide__slide:not(.is-visible){
  opacity:0;
  pointer-events:none;
}

body.ctc-home .ctc-destinations .wp-block-kadence-postgrid.ctc-carousel-dragging .splide__slide:not(.is-visible){
  opacity:1;
  pointer-events:auto;
}

/* Give the hover deep shadow real room below the carousel so it does not land on the region cards under it. */
body.ctc-home .ctc-destinations .wp-block-kadence-postgrid{
	margin-bottom:120px;
}

/* Keep carousel dots 15px below the card content, inside the shadow room. */
body.ctc-home .ctc-services .ctc-entry-gallery .splide__pagination{
	bottom:32px;
}

body.ctc-home .ctc-destinations .wp-block-kadence-postgrid .splide__pagination{
	bottom:-28px;
}

/* Products */

/* Products section background is controlled in the Kadence row block editor. */

.ctc-product-card .ctc-card-media{
  aspect-ratio:4/3;
}

.ctc-product-tag{
  margin:0;
  color:var(--ctc-vermilion);
}

.ctc-product-card h3{
  margin:0;
}

.ctc-product-card p{
  margin:0;
  color:var(--ctc-ink-soft);
}

.ctc-product-card a{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin-top:auto;
  padding-top:8px;
  color:var(--ctc-jade);
  text-decoration:none;
}

.ctc-product-card a .ctc-icon{
  width:15px;
  height:15px;
  transition:transform .2s ease;
}

.ctc-product-card:hover a .ctc-icon{
  transform:translateX(3px);
}


/* Chinese specialty products: keep the tablet row readable before Kadence switches it to one card. */
@media (min-width:972px) and (max-width:1024px){
  body.ctc-home .ctc-product-grid > .kt-row-column-wrap{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
.ctc-product-note{
  display:flex;
  align-items:center;
  gap:14px;
  margin-top:30px;
  padding:18px 22px;
  border:1px solid var(--ctc-line);
  border-radius:var(--ctc-radius);
  background:linear-gradient(90deg,var(--ctc-jade-mist),var(--global-palette8));
}

.ctc-product-note .ctc-icon{
  width:24px;
  height:24px;
  color:var(--ctc-jade);
}

.ctc-product-note > p{
  flex:1;
  margin:0;
  color:var(--ctc-ink);
}

.ctc-product-note .wp-block-button.ctc-btn{
  flex-shrink:0;
  margin-left:auto;
}

/* Trip plans */

/* Trip plans section background is controlled in the Kadence row block editor. */

.wp-block-kadence-column.ctc-plan-card{
  position:relative;
  display:flex;
  background:var(--ctc-white);
  border:1px solid var(--ctc-line);
  border-radius:var(--ctc-radius);
  overflow:hidden;
  box-shadow:0 4px 18px rgba(18,42,46,.07);
}

.wp-block-kadence-column.ctc-plan-card > .kt-inside-inner-col{
  display:flex;
  flex:1;
  min-width:0;
}

.ctc-plan-card::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:3px;
  z-index:1;
  background:linear-gradient(90deg,var(--ctc-jade),var(--ctc-amber));
  opacity:0;
  transition:opacity .25s ease;
}

.ctc-plan-card:hover{
  box-shadow:var(--ctc-shadow-deep);
}

.ctc-plan-card:hover::before{
  opacity:1;
}

.ctc-plan-media{
  position:relative;
  min-height:300px;
}

.ctc-plan-media .wp-block-image{
  position:absolute;
  inset:0;
  height:100%;
  margin:0;
}

.ctc-plan-media img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .6s ease;
}

.ctc-plan-card:hover .ctc-plan-media img{
  transform:scale(1.06);
}

.ctc-plan-days{
  position:absolute;
  top:14px;
  left:14px;
  padding:6px 12px;
  margin:0;
  border-radius:999px;
  background:color-mix(in srgb, var(--global-palette9) 94%, transparent);
  color:var(--ctc-ink);
}

.ctc-plan-content{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:12px;
  padding:34px 36px;
  min-width:0;
}

.ctc-plan-content > .kt-inside-inner-col{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:12px;
  height:100%;
  padding:34px 36px;
  min-width:0;
}

.ctc-plan-kicker{
  margin:0;
  color:var(--ctc-vermilion);
}

.ctc-plan-content h3{
  margin:0;
}

.ctc-plan-content p{
  margin:0;
  color:var(--ctc-ink-soft);
}

.ctc-plan-content .wp-block-list{
  margin:2px 0 0;
}

.ctc-plan-highlights{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px 16px;
  margin:2px 0 0;
  padding:0;
  list-style:none;
}

.ctc-plan-highlights li{
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--ctc-ink);
  min-width:0;
  overflow-wrap:anywhere;
}

.ctc-plan-highlights .ctc-icon{
  width:16px;
  height:16px;
  color:var(--ctc-jade);
}

.ctc-plan-foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-top:8px;
  padding-top:16px;
  border-top:1px solid var(--ctc-line);
}

.ctc-plan-foot .wp-block-button.ctc-btn{
  flex-shrink:0;
}

.ctc-plan-price{
  color:var(--ctc-ink-soft);
}

.ctc-plan-price strong{
  color:var(--ctc-ink);
}

.ctc-plan-note{
  margin:20px 0 0;
  text-align:center;
  color:var(--ctc-ink-soft);
}

/* Best China trip plans is the real Kadence Post Grid/Carousel block.
   Desktop stays a stacked list; phones use Kadence's native carousel.
   Card visuals match the original plan cards one-to-one. */
body.ctc-home .ctc-plans-postgrid{
  position:relative;
}

body.ctc-home .ctc-plans-postgrid .splide__track{
  overflow:visible;
  contain:layout;
}

body.ctc-home .ctc-plans-postgrid .kt-post-grid-wrap{
  display:flex;
  flex-direction:column;
  gap:24px !important;
  margin:0;
  padding:0;
  list-style:none;
}

body.ctc-home .ctc-plans-postgrid .kt-post-slider-item{
  flex:0 0 auto;
  width:100%;
  min-width:0;
  height:auto;
}

/* Tablet and desktop use full-width slides; desktop keeps a stacked list, tablet uses the same carousel as phones. */
@media (min-width:768px){
  body.ctc-home .ctc-plans-postgrid .kt-post-slider-item{
    width:100% !important;
    margin-right:0 !important;
    flex:0 0 auto !important;
  }
}

body.ctc-home .ctc-plans-postgrid .splide__arrows{
  opacity:0;
  pointer-events:none;
  z-index:6;
  transition:opacity .22s ease;
}

body.ctc-home .ctc-plans-postgrid:hover .splide__arrows,
body.ctc-home .ctc-plans-postgrid:focus-within .splide__arrows{
  opacity:1;
  pointer-events:auto;
}

body.ctc-home .ctc-plans-postgrid .splide__pagination{
  display:none;
}

body.ctc-home .ctc-plans-postgrid .splide__slide:not(.is-visible){
  opacity:1;
  pointer-events:auto;
}

body.ctc-home .ctc-plans-postgrid .kt-blocks-post-grid-item{
  position:relative;
  display:flex;
  min-width:0;
  height:100%;
  background:var(--ctc-white);
  border:1px solid var(--ctc-line);
  border-radius:var(--ctc-radius);
  overflow:hidden;
  box-shadow:0 4px 18px rgba(18,42,46,.07);
  transition:box-shadow .25s ease,border-color .25s ease;
}

body.ctc-home .ctc-plans-postgrid .kt-blocks-post-grid-item::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:3px;
  z-index:2;
  background:linear-gradient(90deg,var(--ctc-jade),var(--ctc-amber));
  opacity:0;
  transition:opacity .25s ease;
}

body.ctc-home .ctc-plans-postgrid .kt-blocks-post-grid-item:hover{
  border-color:var(--ctc-jade);
  box-shadow:var(--ctc-shadow-deep);
}

body.ctc-home .ctc-plans-postgrid .kt-blocks-post-grid-item:hover::before{
  opacity:1;
}

body.ctc-home .ctc-plans-postgrid .kt-blocks-post-grid-item-inner-wrap{
  display:grid;
  column-gap:0;
  padding:0;
  width:100%;
}

body.ctc-home .ctc-plans-postgrid .kadence-post-image{
  min-width:0;
  min-height:300px;
}

body.ctc-home .ctc-plans-postgrid .kadence-post-image-intrisic{
  height:100%;
  padding-bottom:0 !important;
}

body.ctc-home .ctc-plans-postgrid .kt-blocks-post-grid-item-inner{
  display:flex;
  flex-direction:column;
  gap:12px;
  min-width:0;
}

body.ctc-home .ctc-plans-postgrid .entry-title{
  margin:0;
  padding:0;
}

body.ctc-home .ctc-plans-postgrid .entry-title a{
  color:var(--ctc-ink);
  text-decoration:none;
}

body.ctc-home .ctc-plans-postgrid header{
  display:flex;
  flex-direction:column;
  gap:12px;
}

body.ctc-home .ctc-plans-postgrid .kt-blocks-post-top-meta,
body.ctc-home .ctc-plans-postgrid .kt-blocks-post-footer{
  display:none;
}

body.ctc-home .ctc-plans-postgrid .ctc-plan-pg-body{
  display:flex;
  flex-direction:column;
  gap:12px;
}

body.ctc-home .ctc-plans-postgrid .ctc-plan-pg-excerpt{
  margin:0;
  color:var(--ctc-ink-soft);
}

body.ctc-home .ctc-plans-postgrid .ctc-btn:hover,
body.ctc-home .ctc-plans-postgrid .ctc-btn:focus-visible{
  color:var(--global-palette9);
  text-decoration:none;
}


body.ctc-home .ctc-plans-postgrid .kadence-post-image img{
  transition:transform .6s ease;
}

body.ctc-home .ctc-plans-postgrid .kt-blocks-post-grid-item:hover .kadence-post-image img{
  transform:scale(1.06);
}

@media (max-width:1024px){
  body.ctc-home .ctc-plans-postgrid .kadence-post-image-intrisic{
    padding-bottom:0 !important;
    height:auto !important;
    aspect-ratio:16/9;
  }

  body.ctc-home .ctc-plans-postgrid .kadence-post-image{
    min-height:0;
  }
}

@media (max-width:1024px){
  body.ctc-home .ctc-plans-postgrid .kt-blocks-post-grid-item-inner-wrap{
    display:block;
  }

  body.ctc-home .ctc-plans-postgrid .kt-blocks-post-grid-item-inner{
    margin-top:34px;
  }
}

@media (max-width:1024px){
  body.ctc-home .ctc-plans-postgrid .kt-post-grid-wrap{
    flex-direction:row;
    gap:0 !important;
    column-gap:0;
  }

  body.ctc-home .ctc-plans-postgrid .splide__track{
    overflow:hidden;
  }

  body.ctc-home .ctc-plans-postgrid .splide__slide:not(.is-visible),
  body.ctc-home .ctc-plans-postgrid .splide__slide:not(.is-active){
    opacity:1;
    pointer-events:auto;
  }

  body.ctc-home .ctc-plans-postgrid .splide__arrows{
    display:block;
  }

  body.ctc-home .ctc-plans-postgrid .splide__pagination{
    display:flex;
    bottom:-32px;
    gap:8px;
    justify-content:center;
    align-items:center;
  }

  body.ctc-home .ctc-plans-postgrid .splide__pagination__page{
    width:8px;
    height:8px;
    margin:0;
    border-radius:999px;
    background:color-mix(in srgb, var(--ctc-ink) 22%, transparent);
    opacity:1;
    transition:background .2s ease,width .2s ease;
  }

  body.ctc-home .ctc-plans-postgrid .splide__pagination__page.is-active{
    width:22px;
    background:var(--ctc-jade);
  }

  body.ctc-home .ctc-plans-postgrid .splide__arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:40px;
    height:40px;
    display:grid;
    place-items:center;
    border-radius:999px;
    background:var(--ctc-white);
    border:1px solid var(--ctc-line);
    color:var(--ctc-ink);
    box-shadow:0 8px 20px rgba(18,42,46,.10);
    z-index:3;
  }

  body.ctc-home .ctc-plans-postgrid .splide__arrow--prev{
    left:-6px;
  }

  body.ctc-home .ctc-plans-postgrid .splide__arrow--next{
    right:-6px;
  }

  body.ctc-home .ctc-plans-postgrid .splide__arrow svg{
    width:18px;
    height:18px;
  }

  body.ctc-home .ctc-plans-postgrid .kt-blocks-post-grid-item-inner-wrap{
    display:block;
    padding-top:0;
  }

}

body.ctc-home .ctc-plan-card > .kt-inside-inner-col{
  flex-direction:column;
}


body.ctc-home .ctc-plan-media > .kt-inside-inner-col,
body.ctc-home .ctc-plan-content > .kt-inside-inner-col{
  display:flex;
  flex-direction:column;
  flex:1;
  min-width:0;
}

body.ctc-home .ctc-plan-content a{
  color:inherit;
  text-decoration:none;
}

@media (max-width:1024px){
  body.ctc-home .ctc-plan-card .ctc-plan-inner > .kt-row-column-wrap{
    grid-template-columns:minmax(0,1fr);
  }
}

/* Cases */

/* Cases/scope section background is controlled in the Kadence row block editor. */

.ctc-case-card{
  padding:28px;
}

.ctc-stars{
  display:flex;
  gap:4px;
  margin:0;
  color:var(--ctc-amber);
}

.ctc-stars .ctc-icon{
  width:16px;
  height:16px;
}

.ctc-case-card .wp-block-quote{
  margin:14px 0 18px;
  padding:0;
  border:0;
  color:var(--ctc-ink);
}

.ctc-case-card .wp-block-quote p{
  margin:0;
}

.ctc-case-card .ctc-case-foot{
  display:flex;
  align-items:center;
  gap:11px;
  margin-top:auto;
  border-top:1px solid var(--ctc-line);
  padding-top:16px;
}

.ctc-case-card .ctc-case-author{
  display:flex;
  align-items:center;
  gap:11px;
  margin:0;
}

.ctc-case-card .ctc-case-author span:last-child{
  display:flex;
  flex-direction:column;
  min-width:0;
}

.ctc-avatar{
  width:42px;
  height:42px;
  flex-shrink:0;
  display:grid;
  place-items:center;
  border-radius:999px;
  color:var(--global-palette9);
}

.ctc-avatar-1{
  background:var(--ctc-jade);
}

.ctc-avatar-2{
  background:var(--ctc-vermilion);
}

.ctc-avatar-3{
  background:var(--global-palette12);
}

.ctc-avatar-4{
  background:var(--global-palette15);
}

.ctc-avatar-5{
  background:var(--global-palette11);
}

.ctc-avatar-6{
  background:var(--global-palette13);
}

/* Insights */

/* Insights section background is controlled in the Kadence row block editor. */

.ctc-insight-card .ctc-card-media{
  aspect-ratio:16/9;
}

.ctc-insight-tag{
  position:absolute;
  top:12px;
  left:12px;
  padding:5px 10px;
  margin:0;
  border-radius:999px;
  background:color-mix(in srgb, var(--global-palette9) 94%, transparent);
  color:var(--ctc-ink);
}

.ctc-insight-card h3{
  margin:0;
}

.ctc-insight-card h3 a{
  text-decoration:none;
}

.ctc-insight-card h3 a:hover{
  color:var(--ctc-jade);
}

.ctc-insight-card .ctc-card-body p{
  margin:0;
  color:var(--ctc-ink-soft);
}

/* Travel insights tabs: article cards mirror the insight cards above. */
body.ctc-home .ctc-insights .wp-block-kadence-tabs{
  margin-top:10px;
}

body.ctc-home .ctc-insights .kt-tabs-title-list{
  justify-content:center;
  gap:10px;
  margin-bottom:28px;
}

body.ctc-home .ctc-insights .kt-tabs-title-list li{
  margin:0;
}

body.ctc-home .ctc-insights .kt-tabs-title-list li .kt-tab-title,
body.ctc-home .ctc-insights .kt-tabs-content-wrap .kt-tabs-accordion-title .kt-tab-title{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:10px 24px;
  border:1px solid var(--ctc-line);
  border-radius:999px;
  background:var(--ctc-white);
  color:var(--ctc-ink-soft);
  font-size:15px;
  font-weight:700;
  line-height:1.2;
  transition:color .2s ease,border-color .2s ease,background-color .2s ease;
}

body.ctc-home .ctc-insights .kt-tabs-title-list li .kt-tab-title:hover,
body.ctc-home .ctc-insights .kt-tabs-content-wrap .kt-tabs-accordion-title .kt-tab-title:hover{
  border-color:var(--ctc-jade);
  color:var(--ctc-jade);
}

body.ctc-home .ctc-insights .kt-tabs-title-list li.kt-tab-title-active .kt-tab-title,
body.ctc-home .ctc-insights .kt-tabs-content-wrap .kt-tabs-accordion-title.kt-tab-title-active .kt-tab-title{
  border-color:var(--ctc-jade);
  background:var(--ctc-jade);
  color:var(--ctc-white);
}

body.ctc-home .ctc-insights .kt-tabs-content-wrap > .wp-block-kadence-tab{
  border:0;
  background:transparent;
  padding:0;
}

body.ctc-home .ctc-insights .wp-block-kadence-postgrid .kt-post-grid-wrap{
  align-items:stretch;
}

body.ctc-home .ctc-insights .wp-block-kadence-postgrid .kt-post-slider-item{
  display:flex;
}

body.ctc-home .ctc-insights .wp-block-kadence-postgrid .kt-blocks-post-grid-item-inner-wrap{
  display:flex;
  flex-direction:column;
  flex:1;
  min-width:0;
}

body.ctc-home .ctc-insights .kt-blocks-post-grid-item{
  position:relative;
  display:flex;
  flex-direction:column;
  width:100%;
  height:100%;
  margin:0;
  padding:0;
  background:var(--ctc-white);
  border:1px solid var(--ctc-line);
  border-radius:var(--ctc-radius);
  overflow:hidden;
  box-shadow:0 3px 14px rgba(18,42,46,.05);
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}

body.ctc-home .ctc-insights .kt-blocks-post-grid-item::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:3px;
  z-index:2;
  background:linear-gradient(90deg,var(--ctc-jade),var(--ctc-amber));
  opacity:0;
  transition:opacity .25s ease;
}

body.ctc-home .ctc-insights .kt-blocks-post-grid-item:hover{
  transform:translateY(-8px);
  border-color:var(--ctc-jade);
  box-shadow:var(--ctc-shadow-deep);
  z-index:5;
}

body.ctc-home .ctc-insights .kt-blocks-post-grid-item:hover::before{
  opacity:1;
}

body.ctc-home .ctc-insights .kadence-post-image{
  position:relative;
  overflow:hidden;
}

body.ctc-home .ctc-insights .kadence-post-image-intrisic{
  aspect-ratio:16/9;
  padding-bottom:56.25% !important;
}

body.ctc-home .ctc-insights .kadence-post-image-inner-wrap img{
  transition:transform .5s ease;
}

body.ctc-home .ctc-insights .kt-blocks-post-grid-item:hover .kadence-post-image img{
  transform:scale(1.06);
}

body.ctc-home .ctc-insights .kt-blocks-post-grid-item .kt-blocks-post-grid-item-inner{
  display:flex;
  flex-direction:column;
  flex:1;
  min-width:0;
  padding:24px 24px 26px;
}

body.ctc-home .ctc-insights .kt-blocks-post-grid-item header{
  position:static;
  padding:0;
  margin:0;
  background:transparent;
  border:0;
}

body.ctc-home .ctc-insights .kt-blocks-post-top-meta{
  display:none;
}

body.ctc-home .ctc-insights .kt-blocks-above-categories{
  position:absolute;
  top:12px;
  left:12px;
  z-index:3;
  display:inline-block;
  padding:5px 10px;
  margin:0;
  border-radius:999px;
  background:color-mix(in srgb, var(--global-palette9) 94%, transparent);
  color:var(--ctc-ink);
  font-size:12px;
  font-weight:700;
  line-height:1.4;
  text-transform:uppercase;
}

body.ctc-home .ctc-insights .kt-blocks-above-categories a{
  color:inherit;
  text-decoration:none;
}

body.ctc-home .ctc-insights .kt-feat-image-align-none .kt-blocks-above-categories{
  position:static;
  margin-bottom:12px;
}

body.ctc-home .ctc-insights .entry-title{
  margin:0 0 8px;
  padding:0;
  color:var(--ctc-ink);
  font-size:24px;
  line-height:36px;
}

body.ctc-home .ctc-insights .entry-title a{
  color:inherit;
  text-decoration:none;
  transition:color .2s ease;
}

body.ctc-home .ctc-insights .entry-title a:hover{
  color:var(--ctc-jade);
}

body.ctc-home .ctc-insights .entry-content{
  flex:1;
  color:var(--ctc-ink-soft);
}

body.ctc-home .ctc-insights .kt-blocks-post-readmore-wrap{
  margin-top:auto;
  padding-top:10px;
}

body.ctc-home .ctc-insights .kt-blocks-post-readmore{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:0;
  background:transparent;
  border:0;
  border-radius:0;
  color:var(--ctc-ink-soft);
  font-weight:400;
  text-decoration:none;
}

body.ctc-home .ctc-destinations .kt-blocks-post-readmore:hover,
body.ctc-home .ctc-insights .kt-blocks-post-readmore:hover{
  background:transparent;
  border-color:transparent;
}
body.ctc-home .ctc-destinations .kt-blocks-post-readmore:hover{
  color:var(--ctc-jade);
}
body.ctc-home .ctc-insights .kt-blocks-post-readmore:hover{
  color:var(--ctc-ink-soft);
}

body.ctc-home .ctc-insights .kt-blocks-post-readmore::after{
  content:"\2192";
  font-size:1.05em;
  line-height:1;
  transition:transform .2s ease;
}

body.ctc-home .ctc-insights .kt-blocks-post-grid-item:hover .kt-blocks-post-readmore::after{
  transform:translateX(3px);
}

body.ctc-home .ctc-insights .kt-blocks-post-readmore::before{
  content:"";
  position:absolute;
  left:0;
  right:100%;
  bottom:0;
  height:2px;
  background:linear-gradient(90deg,var(--ctc-vermilion),var(--ctc-amber));
  transition:right .25s ease;
}

body.ctc-home .ctc-insights .kt-blocks-post-grid-item:hover .kt-blocks-post-readmore::before{
  right:0;
}

body.ctc-home .ctc-insights .kt-blocks-post-footer{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:8px 14px;
  margin:16px 0 0;
  padding:14px 0 0;
  border-top:1px solid var(--ctc-line);
  color:var(--ctc-ink-soft);
  font-size:12px;
  line-height:1.4;
  letter-spacing:0;
  text-transform:uppercase;
}

body.ctc-home .ctc-insights .kt-blocks-post-footer a{
  color:var(--ctc-ink-soft);
  text-decoration:none;
}

body.ctc-home .ctc-insights .kt-blocks-post-footer a:hover{
  color:var(--ctc-jade);
}

body.ctc-home .ctc-insights .kt-blocks-post-footer-left,
body.ctc-home .ctc-insights .kt-blocks-post-footer-right{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:4px 10px;
}

body.ctc-home .ctc-insights .kt-blocks-post-footer-section{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-width:0;
}

body.ctc-home .ctc-insights .kt-blocks-post-footer .kt-blocks-post-author-inner{
  display:inline-flex;
  align-items:center;
  gap:6px;
}

body.ctc-home .ctc-insights .kt-blocks-user-svg,
body.ctc-home .ctc-insights .kt-blocks-post-footer .avatar{
  width:14px;
  height:14px;
  min-width:14px;
  border-radius:50%;
  object-fit:cover;
}

body.ctc-home .ctc-insights .wp-block-kadence-postgrid .splide__track{
  overflow:visible;
  contain:layout;
}

body.ctc-home .ctc-insights .wp-block-kadence-postgrid:not(.ctc-carousel-dragging):has(.splide__slide.is-visible) .splide__slide:not(.is-visible){
  opacity:0;
  pointer-events:none;
}

body.ctc-home .ctc-insights .wp-block-kadence-postgrid.ctc-carousel-dragging .splide__slide:not(.is-visible){
  opacity:1;
  pointer-events:auto;
}

body.ctc-home .ctc-services .ctc-entry-gallery .splide__arrows,
body.ctc-home .ctc-destinations .wp-block-kadence-postgrid .splide__arrows,
body.ctc-home .ctc-insights .wp-block-kadence-postgrid .splide__arrows,
body.ctc-home .ctc-plans-postgrid .splide__arrows{
  gap:14px;
  opacity:0;
  pointer-events:none;
  z-index:6;
  transition:opacity .22s ease;
}

body.ctc-home .ctc-services .ctc-entry-gallery:hover .splide__arrows,
body.ctc-home .ctc-services .ctc-entry-gallery:focus-within .splide__arrows,
body.ctc-home .ctc-destinations .wp-block-kadence-postgrid:hover .splide__arrows,
body.ctc-home .ctc-destinations .wp-block-kadence-postgrid:focus-within .splide__arrows,
body.ctc-home .ctc-insights .wp-block-kadence-postgrid:hover .splide__arrows,
body.ctc-home .ctc-insights .wp-block-kadence-postgrid:focus-within .splide__arrows,
body.ctc-home .ctc-plans-postgrid:hover .splide__arrows,
body.ctc-home .ctc-plans-postgrid:focus-within .splide__arrows{
  opacity:1;
  pointer-events:auto;
}

body.ctc-home .ctc-services .ctc-entry-gallery .splide__arrow,
body.ctc-home .ctc-destinations .wp-block-kadence-postgrid .splide__arrow,
body.ctc-home .ctc-insights .wp-block-kadence-postgrid .splide__arrow,
body.ctc-home .ctc-plans-postgrid .splide__arrow{
  width:44px;
  height:44px;
  flex-shrink:0;
  padding:0;
  border:1px solid var(--ctc-line);
  border-radius:50%;
  background:var(--ctc-white);
  color:var(--ctc-jade);
  box-shadow:0 10px 22px rgba(18,42,46,.12);
  opacity:1;
  transition:border-color .2s ease,background-color .2s ease,color .2s ease,box-shadow .2s ease,translate .2s ease;
}

body.ctc-home .ctc-services .ctc-entry-gallery .splide__arrow svg,
body.ctc-home .ctc-destinations .wp-block-kadence-postgrid .splide__arrow svg,
body.ctc-home .ctc-insights .wp-block-kadence-postgrid .splide__arrow svg,
body.ctc-home .ctc-plans-postgrid .splide__arrow svg{
  width:20px;
  height:20px;
}

body.ctc-home .ctc-services .ctc-entry-gallery .splide__arrow:hover,
body.ctc-home .ctc-destinations .wp-block-kadence-postgrid .splide__arrow:hover,
body.ctc-home .ctc-insights .wp-block-kadence-postgrid .splide__arrow:hover,
body.ctc-home .ctc-plans-postgrid .splide__arrow:hover{
  border-color:var(--ctc-jade);
  background:var(--ctc-jade-mist);
  color:var(--ctc-jade-deep);
  box-shadow:0 14px 28px rgba(18,42,46,.18);
  translate:0 -2px;
}

body.ctc-home .ctc-services .ctc-entry-gallery .splide__arrow:disabled,
body.ctc-home .ctc-destinations .wp-block-kadence-postgrid .splide__arrow:disabled,
body.ctc-home .ctc-insights .wp-block-kadence-postgrid .splide__arrow:disabled,
body.ctc-home .ctc-plans-postgrid .splide__arrow:disabled{
  opacity:.35;
  cursor:not-allowed;
}

body.ctc-home .ctc-insights .wp-block-kadence-postgrid .splide__pagination{
  bottom:-28px;
}

body.ctc-home .ctc-insights .wp-block-kadence-postgrid .splide__pagination__page{
  width:10px;
  height:10px;
  background:var(--ctc-jade);
}

body.ctc-home .ctc-insights .wp-block-kadence-postgrid .splide__pagination__page.is-active{
  opacity:1;
}

@media (max-width:768px){
  body.ctc-home .ctc-insights .entry-title{
    font-size:22px;
    line-height:33px;
  }
}

@media (max-width:543px){
  body.ctc-home .ctc-insights .kt-tabs-title-list{
    margin-bottom:22px;
  }

  body.ctc-home .ctc-insights .kt-tabs-title-list li .kt-tab-title,
  body.ctc-home .ctc-insights .kt-tabs-content-wrap .kt-tabs-accordion-title .kt-tab-title{
    min-height:40px;
    padding:8px 18px;
    font-size:14px;
  }

  body.ctc-home .ctc-insights .entry-title{
    font-size:20px;
    line-height:30px;
  }

body.ctc-home .ctc-insights .wp-block-kadence-postgrid .splide__slide:not(.is-active){
    opacity:1;
    pointer-events:auto;
  }

  body.ctc-home .ctc-insights .wp-block-kadence-postgrid .splide__arrow{
    width:38px;
    height:38px;
  }
}

/* Final CTA */

.ctc-cta{
  position:relative;
  padding-block:0;
  background:
    linear-gradient(100deg,color-mix(in srgb, var(--global-palette3) 88%, transparent) 0%,color-mix(in srgb, var(--global-palette11) 68%, transparent) 48%,color-mix(in srgb, var(--global-palette11) 34%, transparent) 100%),
    url(img/hero-great-wall.jpg) center 38%/cover no-repeat;
  color:var(--global-palette9);
}

.ctc-cta::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:5px;
  background:linear-gradient(90deg,var(--ctc-vermilion),var(--ctc-amber));
}

.ctc-cta-panel{
  position:relative;
  z-index:1;
  padding-block:clamp(64px,7vw,92px);
}

.ctc-cta-copy h2{
  margin:14px 0 0;
  color:var(--global-palette9);
  text-wrap:balance;
}

.ctc-cta-copy p{
  margin:18px 0 0;
  color:color-mix(in srgb, var(--global-palette9) 90%, transparent);
}

.ctc-cta-trust{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
  margin:38px 0 0;
  padding:34px 0 0;
  border-top:1px solid color-mix(in srgb, var(--global-palette9) 18%, transparent);
  list-style:none;
}

.ctc-cta-trust li{
  display:flex;
  align-items:flex-start;
  gap:13px;
  color:color-mix(in srgb, var(--global-palette9) 88%, transparent);
}

.ctc-cta-trust .ctc-icon{
  width:21px;
  height:21px;
  margin-top:1px;
  color:var(--ctc-amber-light);
}

.ctc-cta-trust strong{
  display:block;
  color:var(--global-palette9);
}

.ctc-cta .ctc-btn-row{
  margin-top:30px;
}

.ctc-cta .wp-block-button.ctc-btn > .wp-block-button__link{
  min-height:54px;
  padding:15px 26px;
}

.ctc-cta .ctc-btn-amber > .wp-block-button__link{
  background:linear-gradient(135deg,var(--ctc-amber-light),var(--ctc-amber));
  box-shadow:0 16px 34px rgba(6,22,22,.24);
}

.ctc-cta .ctc-btn-amber > .wp-block-button__link:hover{
  transform:translateY(-2px);
  box-shadow:0 22px 44px rgba(6,22,22,.32);
}

/* Editable block layout: core + Kadence blocks reuse the same visual system */

body.ctc-home .wp-block-button.ctc-btn{
  display:inline-block;
  min-height:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
}

body.ctc-home .wp-block-button.ctc-btn > .wp-block-button__link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:46px;
  padding:12px 20px;
  border:1px solid transparent;
  border-radius:var(--ctc-radius-btn);
  text-decoration:none;
  cursor:pointer;
  transition:background-color .2s ease,border-color .2s ease,color .2s ease,transform .2s ease;
}

body.ctc-home .wp-block-button.ctc-btn-small > .wp-block-button__link{
  min-height:40px;
  padding:9px 16px;
}

body.ctc-home .wp-block-button.ctc-btn-primary > .wp-block-button__link{
  background:var(--ctc-vermilion);
  color:var(--global-palette9);
}

body.ctc-home .wp-block-button.ctc-btn-primary > .wp-block-button__link:hover{
  background:var(--ctc-vermilion-dark);
  transform:translateY(-1px);
}

body.ctc-home .wp-block-button.ctc-btn-ghost > .wp-block-button__link{
  background:color-mix(in srgb, var(--global-palette9) 8%, transparent);
  border-color:color-mix(in srgb, var(--global-palette9) 62%, transparent);
  color:var(--global-palette9);
}

body.ctc-home .wp-block-button.ctc-btn-ghost > .wp-block-button__link:hover{
  background:color-mix(in srgb, var(--global-palette9) 18%, transparent);
  transform:translateY(-1px);
}

body.ctc-home .wp-block-button.ctc-btn-ghost-dark > .wp-block-button__link{
  background:transparent;
  border-color:color-mix(in srgb, var(--global-palette9) 55%, transparent);
  color:var(--global-palette9);
}

body.ctc-home .wp-block-button.ctc-btn-ghost-dark > .wp-block-button__link:hover{
  background:color-mix(in srgb, var(--global-palette9) 12%, transparent);
  transform:translateY(-1px);
}

body.ctc-home .wp-block-button.ctc-btn-outline > .wp-block-button__link{
  background:var(--global-palette9);
  border-color:var(--ctc-jade);
  color:var(--ctc-jade);
}

body.ctc-home .wp-block-button.ctc-btn-outline > .wp-block-button__link:hover{
  background:var(--ctc-jade-mist);
  transform:translateY(-1px);
}

body.ctc-home .wp-block-button.ctc-btn-amber > .wp-block-button__link{
  background:var(--ctc-amber);
  color:var(--global-palette3);
}

body.ctc-home .wp-block-button.ctc-btn-amber > .wp-block-button__link:hover{
  background:var(--ctc-amber-light);
  transform:translateY(-1px);
}

body.ctc-home .ctc-card-media,
body.ctc-home .ctc-media-frame,
body.ctc-home .ctc-plan-media{
  position:relative;
}

body.ctc-home .ctc-card-media .wp-block-image,
body.ctc-home .ctc-media-frame .wp-block-image,
body.ctc-home .ctc-plan-media .wp-block-image{
  position:absolute;
  inset:0;
  height:100%;
  margin:0;
}

body.ctc-home .ctc-card-media .wp-block-image img,
body.ctc-home .ctc-media-frame .wp-block-image img,
body.ctc-home .ctc-plan-media .wp-block-image img{
  width:100%;
  height:100%;
  object-fit:cover;
}

body.ctc-home .ctc-card-num,
body.ctc-home .ctc-insight-tag,
body.ctc-home .ctc-plan-days,
body.ctc-home .ctc-dest-overlay,
body.ctc-home .ctc-media-badge,
body.ctc-home .ctc-product-tag,
body.ctc-home .ctc-plan-kicker,
body.ctc-home .ctc-plan-price,
body.ctc-home .ctc-stars{
  margin:0;
}

body.ctc-home .ctc-card-body .wp-block-heading,
body.ctc-home .ctc-card-body p,
body.ctc-home .ctc-plan-content .wp-block-heading,
body.ctc-home .ctc-plan-content p,
body.ctc-home .ctc-cta-copy .wp-block-heading,
body.ctc-home .ctc-cta-copy p,
body.ctc-home .ctc-split-copy .wp-block-heading,
body.ctc-home .ctc-split-copy p,
body.ctc-home .ctc-case-card .wp-block-heading{
  margin:0;
}

body.ctc-home .ctc-card-link a{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:inherit;
  text-decoration:none;
}

body.ctc-home .ctc-card-link a::after{
  content:"\2192";
  font-size:1.05em;
  line-height:1;
  transition:transform .2s ease;
}

body.ctc-home .ctc-card:hover .ctc-card-link a::after{
  transform:translateX(3px);
}

body.ctc-home .ctc-card-link a::before{
  content:"";
  position:absolute;
  left:0;
  right:100%;
  bottom:0;
  height:2px;
  background:linear-gradient(90deg,var(--ctc-vermilion),var(--ctc-amber));
  transition:right .25s ease;
}

body.ctc-home .ctc-card:hover .ctc-card-link a::before{
  right:0;
}

body.ctc-home .ctc-card-link a{
  position:relative;
}

body.ctc-home .ctc-solution-icon{
  margin:0;
}

body.ctc-home .ctc-split-media{
  position:relative;
}

body.ctc-home .ctc-split-media::before{
  content:"";
  position:absolute;
  top:18px;
  right:-18px;
  bottom:-18px;
  left:18px;
  border:1px solid color-mix(in srgb, var(--ctc-jade) 28%, transparent);
  border-radius:var(--ctc-radius);
  z-index:0;
  pointer-events:none;
}

body.ctc-home .ctc-split-media .ctc-media-frame{
  position:relative;
  z-index:1;
}

body.ctc-home .ctc-check-list li::before,
body.ctc-home .ctc-plan-highlights li::before{
  content:"\2713";
  flex:0 0 auto;
  width:18px;
  height:18px;
  display:grid;
  place-items:center;
  margin-top:2px;
  border-radius:999px;
  background:var(--ctc-jade-mist);
  color:var(--ctc-jade);
  font-size:11px;
  line-height:1;
}

body.ctc-home .ctc-plan-highlights li::before{
  width:16px;
  height:16px;
}

body.ctc-home .ctc-cta-trust li::before{
  content:"\2713";
  flex:0 0 auto;
  width:21px;
  height:21px;
  display:grid;
  place-items:center;
  margin-top:1px;
  border-radius:999px;
  background:color-mix(in srgb, var(--global-palette9) 14%, transparent);
  color:var(--ctc-amber-light);
  font-size:12px;
  line-height:1;
}

body.ctc-home .ctc-stat .kb-count-up-number{
  display:block;
  color:var(--ctc-jade-deep);
}

body.ctc-home .ctc-stat .kb-count-up-title{
  display:block;
  margin-top:12px;
  color:var(--ctc-ink-soft);
}

body.ctc-home .ctc-case-card .ctc-case-author strong,
body.ctc-home .ctc-case-card .ctc-case-author small{
  color:inherit;
}

/* Reveal animation (JS adds html.ctc-js) */

html.ctc-js .ctc-section{
  opacity:0;
  transform:translateY(18px);
  transition:opacity .7s ease,transform .7s ease;
}

html.ctc-js .ctc-section.is-visible{
  opacity:1;
  transform:none;
}

html.ctc-js.ctc-no-motion .ctc-section,
html.ctc-js.ctc-no-motion .ctc-section.is-visible{
  opacity:1;
  transform:none;
  transition:none;
}

/* Persistent WhatsApp contact */
body.ctc-home .ctc-chat-float{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:9999;
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:54px;
  padding:0 22px 0 16px;
  border-radius:999px;
  background:var(--ctc-whatsapp);
  color:var(--global-palette9);
  text-decoration:none;
  box-shadow:0 18px 42px color-mix(in srgb, var(--ctc-whatsapp) 36%, transparent);
  transition:transform .25s ease,box-shadow .25s ease;
}

body.ctc-home .ctc-chat-float svg{
  width:24px;
  height:24px;
  flex-shrink:0;
}

body.ctc-home .ctc-chat-float:hover{
  transform:translateY(-2px);
  box-shadow:0 24px 48px color-mix(in srgb, var(--ctc-whatsapp) 44%, transparent);
}

body.ctc-home .ctc-chat-float::before{
  content:"";
  position:absolute;
  inset:-5px;
  border-radius:inherit;
  border:2px solid color-mix(in srgb, var(--ctc-whatsapp) 35%, transparent);
  pointer-events:none;
  animation:ctc-chat-pulse 2.6s ease-out infinite;
}

@keyframes ctc-chat-pulse{
  0%{
    opacity:.9;
    transform:scale(.96);
  }
  70%{
    opacity:0;
    transform:scale(1.08);
  }
  100%{
    opacity:0;
    transform:scale(1.08);
  }
}

body.ctc-home a:focus-visible,
body.ctc-home button:focus-visible{
  outline:3px solid color-mix(in srgb, var(--ctc-amber) 90%, transparent);
  outline-offset:3px;
}

/* Responsive */

@media (max-width:1200px){
  .ctc-cta-trust{
    grid-template-columns:1fr;
  }
}

@media (max-width:1025px){
  body.ctc-home .ctc-hero{
    min-height:660px;
  }

  body.ctc-home .ctc-hero .kb-adv-form-submit-button{
    min-width:0;
  }

  body.ctc-home .ctc-hero .wp-block-kadence-advanced-form{
    margin-top:38px;
  }

  body.ctc-home .ctc-plan-media{
    min-height:0;
    aspect-ratio:16/9;
  }

  body.ctc-home .ctc-plan-media .wp-block-image{
    position:static;
  }
}

@media (max-width:768px){
  body.ctc-home .ctc-hero{
    min-height:680px;
  }
  .ctc-plan-highlights{
    grid-template-columns:1fr;
  }

  .ctc-product-note{
    flex-wrap:wrap;
  }
}

@media (max-width:560px){
  body.ctc-home .ctc-hero{
    min-height:720px;
  }

  body.ctc-home .ctc-hero-content{
    padding-bottom:46px;
  }

  body.ctc-home .ctc-hero-chips li{
    padding:5px 10px;
  }

  body.ctc-home .ctc-hero-ctas .ctc-btn,
  body.ctc-home .ctc-hero-ctas .wp-block-button.ctc-btn,
  body.ctc-home .ctc-plan-foot .wp-block-button.ctc-btn{
    width:100%;
  }

  body.ctc-home .ctc-hero-ctas .wp-block-button.ctc-btn > .wp-block-button__link,
  body.ctc-home .ctc-plan-foot .wp-block-button.ctc-btn > .wp-block-button__link{
    width:100%;
  }

  body.ctc-home .ctc-stat{
    text-align:left;
    padding:8px 4px 28px;
  }

  body.ctc-home .ctc-stat::after{
    left:4px;
    transform:none;
  }

  body.ctc-home .ctc-plan-content,
  body.ctc-home .ctc-plan-content > .kt-inside-inner-col{
    padding:22px 20px;
  }

  body.ctc-home .ctc-plan-foot{
    flex-direction:column;
    align-items:flex-start;
  }

  .ctc-cta-trust{
    gap:16px;
  }

  body.ctc-home .ctc-chat-float{
    right:14px;
    bottom:14px;
    width:54px;
    height:54px;
    padding:0;
    justify-content:center;
  }

  body.ctc-home .ctc-chat-float span{
    position:absolute;
    width:1px;
    height:1px;
    margin:-1px;
    padding:0;
    overflow:hidden;
    clip:rect(0 0 0 0);
    white-space:nowrap;
    border:0;
  }
}

@media (max-width:767px){
  body.ctc-home .ctc-hero .splide__arrows,
  body.ctc-home .ctc-services .ctc-entry-gallery .splide__arrows,
  body.ctc-home .ctc-destinations .wp-block-kadence-postgrid .splide__arrows,
  body.ctc-home .ctc-insights .wp-block-kadence-postgrid .splide__arrows,
  body.ctc-home .ctc-plans-postgrid .splide__arrows{
    display:none;
  }
}

@media (prefers-reduced-motion:reduce){
  html{
    scroll-behavior:auto;
  }

  .ctc-hero .kb-slide-item{
    transition:none;
  }

  .ctc-card,
  .ctc-entry-gallery .kadence-blocks-gallery-item-inner,
  .ctc-plan-card,
  .ctc-btn{
    transition:none;
  }

  .ctc-card-media img,
  .ctc-entry-gallery .kb-gallery-image-contain img{
    transition:none;
  }

  body.ctc-home .ctc-chat-float::before{
    animation:none;
  }
}


/* Homepage section backgrounds are controlled on each Kadence Row Layout block. */
