/*!
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: A child theme for the Kadence Theme.
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

/* Theme customization starts here
-------------------------------------------------------------- */


/* Posts layout */
.gm-post-archive > article {
    display: grid;
	grid-template-columns: 2fr 3fr;
	box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px !important;
	border-radius: 0.5rem !important;
}

.gm-post-archive > article a.post-thumbnail {
    height: 100% !important;	
	border-bottom-left-radius: 0.5rem;
    border-top-left-radius: 0.5rem;
}


/* Blog page  */
.gm-blog-archive .entry-content-wrap{
    border-radius: 0.5rem;
    margin-top: -5rem;
    background: white;
    scale: 0.95;
	box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
	padding: 1rem !important;
    min-height: 10em;
}

.gm-blog-archive a{
    border-radius: 0.5rem !important;
 }


/* izdelava strani */
@media(min-width:786px) {
  .move-image {
    position: relative;
    top: 1.5rem;
    left: 1.5rem;	
  }

  .move-image-alt {
    position: relative;
    bottom: -1.5rem;
    right: 1.5rem;	
  }
}

.move-image,
.move-image-alt{
box-shadow: rgb(255 255 255 / 35%) 0px 5px 15px;
}

.image-box-shadow,
.image-box-shadow > div> img,
.image-box-shadow > img {
  box-shadow: 0 8px 32px 5px rgba(31, 38, 135, 0.37);
}

/* Kontaktni obrazec */
.kontaktni-obrazec > p {
	margin-bottom: 0 !important;
}

.kontaktni-obrazec > p input {
    border: 1px solid var(--global-palette6);
	border-radius:0.5rem;
	min-width: 100%;
}

.kontaktni-obrazec > p textarea {
    border: 1px solid var(--global-palette6);
	border-radius:0.5rem;
	field-sizing: content;
	min-height: 3lh;
}

.kontaktni-obrazec > p:last-child input.wpcf7-form-control{
  width: 100%;
	margin-top: 1rem;
}



/*Background, matrix rain - hero section*/
.matrix-row .content { position: relative; z-index: 2; }

.matrix-row::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgb(0 0 0 / 46%) 95%, rgb(0 0 0) 100%);
}

.matrix-row{
  --matrix-speed: 10;     /* rows/sec (lower = slower) */
  --matrix-font: 16;
  --matrix-color: #00ff88;
  --matrix-bg: #000000;
  --matrix-minh: 520;
}
#shader-container {
    height: 91vh !important;
    width: 100%;
}

#shader-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Places it behind the content */
}

.content {
    position: relative;
    z-index: 1; /* Ensures content is on top */
    margin-top: 10%;
    padding: 20px;
    text-align: center;
    color: white; /* Adjust text color to contrast with background */
    
    & h1 {
        font-size: var(--global-kb-font-size-xxl);
        color: var(--global-palette7);
        padding-bottom: 1rem;
    }

}

@media only screen and (max-width: 992px) {
  #shader-container {
    height: 75vh !important;
}
  #shader-background > div > canvas {
        width: 500px !important;
        height: 800px !important;
  }

  .content {
    margin-top: 40%;
  }

  a.hero-btn {
    font-size: var(--global-kb-font-size-md) !important;
  }
}

.hero-top-row > div{
  padding-inline: 0 !important;
}

.typewrite {
    color: #fff;
}

.typewrite > .wrap { 
  border-right: 0.08em solid #fff
}



#post-13 > div > div > div.kb-row-layout-wrap.kb-row-layout-id13_417c9f-6e.alignfull.wp-block-kadence-rowlayout {
    margin-top: -7rem !important;
    padding: 0 !important;
}

/*GM Card*/
.gm-card {
  background: linear-gradient(71deg, #080509, #1a171c, #080509);
  border-radius: 15px;
}

.gm-card::after{
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: -1px;
  right: -1px;
  content: "";
  z-index: -1;
  border-radius: 15px;
}

.gm-card:nth-child(1)::after{
     background: linear-gradient(71deg, #0d1212, #7e8ef1, #0d1212);
}

.gm-card:nth-child(2)::after{
     background: linear-gradient(71deg, #0d1212, var(--global-palette2), #0d1212);
}

.gm-card:nth-child(3)::after{
     background: linear-gradient(71deg, #0d1212, var(--global-palette4), #0d1212);
}

.gm-card:nth-child(4)::after{
     background: linear-gradient(71deg, #0d1212, #ffe31a, #0d1212);
}

.gm-card:nth-child(5)::after{
     background: linear-gradient(71deg, #0d1212, #f09319, #0d1212);
}

/* FOOTER */
.footer-navigation, .footer-menu-container{
  justify-content: center;
}

.footer-navigation .menu {
  flex-wrap: nowrap;
  flex-direction: column;
  align-items: center;
}

.site-bottom-footer-inner-wrap {
  padding: 0 !important;
}


/* 
/*Animated title*/
.naslov {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  font-size: 1.5rem; /* Adjust based on your design */
  line-height: 1.2; /* Keeps spacing consistent */
}

.naslov:first-of-type {
  animation: fade-in-out 3s infinite;
}

.naslov:last-of-type {
  width: 0;
  animation: reveal 3s infinite;
}

.naslov:last-of-type span {
  display: inline-block;
  animation: slide-in 3s infinite;
}

@keyframes fade-in-out {
  0%, 100% { opacity: 0; }
  20%, 80% { opacity: 1; }
}

@keyframes slide-in {
  0%, 20% { transform: translateX(-100%); }
  35%, 100% { transform: translateX(0); }
}

@keyframes reveal {
  0% { opacity: 0; width: 0; }
  20% { opacity: 1; width: 0; }
  30%, 80% { width: auto; }
  100% { opacity: 0; width: auto; }
} */

/*BUTTON*/

@property --a {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg; 
}
@property --i {
  syntax: "<number>";
  inherits: false;
  initial-value: 0; 
}

.is-style-gm-button {
   border-radius: 30px;
  border: 3px solid #0000;
  padding: 10px; /* control the gap */
  background: #ccc !important;
  --_s: (90deg - mod(var(--a),.5turn))*9999;
  mask:  
    conic-gradient(#000 0 0) content-box,
    linear-gradient(calc(var(--_a,45deg) + mod(var(--a),90deg)*var(--i) +
       clamp(-90deg*var(--i),(90deg - mod(var(--a),180deg))*9999,0deg)),
      #0000 30%,#000 40% 60%,#0000 70%) subtract,
    conic-gradient(#000 0 0) padding-box;
  transition: --i .3s,--a 0s .3s;
  cursor: pointer;
}

.is-style-gm-button:hover {
    /*background: transparent !important;*/
  --i: 1;
  --a: 15turn;
  transition: --i 0s,--a 30s linear;
}

.is-style-gm-button a {
    background: transparent !important;
    
    &:hover {
        background: transparent !important;
    }
}


a.hero-btn{
  position: absolute;
  margin-top: 5rem !important;
  transform: translate(-50%,-50%);
  padding: 6px 30px !important;
  color: var(--global-palette9) !important;
  text-transform:uppercase;
  text-decoration:none;
  letter-spacing: 5px;
  text-wrap-mode: nowrap;
  font-size: var(--global-kb-font-size-lg);
  font-weight: bold;
  overflow:hidden;
  background: rgba( 0, 143, 17, 0.25 );
  box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
  backdrop-filter: blur( 15.5px );
  -webkit-backdrop-filter: blur( 15.5px );
  border-radius: 10px;
  border: 1px solid rgba( 255, 255, 255, 0.18 );
}

a.hero-btn:hover {
  scale: 1.02;
  font-weight: bold;
  /* color: var(--global-palette2) !important; */
}

a.hero-btn::before
{
  content:"";
  position:absolute;
  top:2px;
  left:2px;
  bottom:2px;
  
}
a.hero-btn span:nth-child(1)
{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:2px;
  background:linear-gradient(to right, #0c002b ,var(--global-palette2));
  animation: animate1 2s linear infinite;
  animation-delay:1s;
}

a.hero-btn:hover span:nth-child(1){
  background:linear-gradient(to right, #0c002b ,var(--global-palette9));
}

a.hero-btn:hover span:nth-child(2){
  background:linear-gradient(to right, #0c002b ,var(--global-palette9));
}

a.hero-btn:hover span:nth-child(3){
  background:linear-gradient(to right, #0c002b ,var(--global-palette9));
}

a.hero-btn:hover span:nth-child(4){
  background:linear-gradient(to right, #0c002b ,var(--global-palette9));
}

@keyframes animate1
{
  0%
  {
    transform:translateX(-100%);
}
  100%
  {
    transform:translateX(100%);
  }
}
a.hero-btn span:nth-child(2)
{
  position:absolute;
  top:0;
  right:0;
  width:2px;
  height:100%;
  background:linear-gradient(to bottom, #0c002b , var(--global-palette2)) !important;
  animation: animate2 2s linear infinite;
  animation-delay:2s;
}
@keyframes animate2
{
  0%
  {
    transform:translateY(-100%);
}
  100%
  {
    transform:translateY(100%);
  }
}
a.hero-btn span:nth-child(3)
{
  position:absolute;
  bottom:0;
  left:0;
  width:100%;
  height:2px;
  background:linear-gradient(to left, #0c002b ,var(--global-palette2));
   animation: animate3 2s linear infinite;
  animation-delay:1s;
}

@keyframes animate3
{
  0%
  {
    transform:translateX(100%);
}
  100%
  {
    transform:translateX(-100%);
  }
}
a.hero-btn span:nth-child(4)
{
  position:absolute;
  top:0;
  left:0;
  width:2px;
  height:100%;
  background:linear-gradient(to top, #0c002b , var(--global-palette2));
   animation: animate4 2s linear infinite;
  animation-delay:2s;
}

@keyframes animate4
{
  0%
  {
    transform:translateY(100%);
}
  100%
  {
    transform:translateY(-100%);
  }
}


/* Mobile navigation */
#mobile-drawer > div.drawer-inner > div.drawer-content.mobile-drawer-content.content-align-left.content-valign-top > div:nth-child(2) {
  justify-content: center;
}

/* Faq-accoridion */
.faq-accoridion .kt-accordion-panel-inner {
  border: none !important;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;  
}

.faq-accoridion .kt-blocks-accordion-header.kt-accordion-panel-active {
  border-bottom-left-radius: 0px !important;
  border-bottom-right-radius: 0px !important;
}

/* Faq triggers */
.kt-accodion-icon-side-left .kt-blocks-accordion-icon-trigger {
  scale: 0.8;
  }

/* Holographic hover effect */
/* .holograph {
  overflow: hidden !important;
  border-radius: 15px;
  transition: all 0.5s ease;
}

.holograph:after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    0deg, 
    transparent, 
    transparent 30%, 
    var(--global-palette1)
  );
  transform: rotate(-45deg);
  transition: all 0.5s ease;
  opacity: 0;
}

.holograph:hover {
  transform: scale(1.02);
  box-shadow: 0 0 20px var(--global-palette1);
  border-radius: 15px;
}

.holograph:hover::after {
  opacity: 1;
  transform: rotate(-45deg) translateY(100%);
}  */


.wpupg-template-overlay.wpupg-item-has-image .wpupg-template-overlay-container {
  overflow: hidden;}
  
  .wpupg-block-text-bold {
  text-align: center;
      font-size: var(--global-font-size-medium);
      display: flex;
      justify-content: center;
      width: 90%;
      place-self: anchor-center;
      border-radius: 5px;
      z-index: 149;
      top: 3rem;
      background: rgba(255, 255, 255, 0.25);
      box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
      border-radius: 10px;
      border: 1px solid rgba(255, 255, 255, 0.18);
      padding: 1rem 0;
  }
  
  /* Remove ReCaptcha badge */
.grecaptcha-badge {
    display: none;
}

/* Contact us pattern */
.contact-section {
  background: rgba(0, 143, 17, 0.25);
  box-shadow: 0 8px 32px 16px rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.shaky-btn {
  animation: shake 2s ease-out infinite !important;
  border: 2px solid green;
}

@keyframes shake {
  0%   { transform: skewX(-10deg); }
  5%   { transform: skewX(10deg); }
  10%  { transform: skewX(-10deg); }
  15%  { transform: skewX(10deg); }
  20%  { transform: skewX(-10deg); }
  100% { transform: skewX(0); }
}

/* Single post sideba - latest posts */


.latest-post-card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-block: 1rem;
  border-radius: 5px;
  background: rgba(0, 143, 17, 0.25);
  box-shadow: 0 8px 32px 16px rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
  }

  .latest-post-card > a > img {
    height: 150px;
    object-fit: cover;
  }

  .latest-post-content {
    padding: 0.5em;
    text-align: left;
}

.latest-post-content >h3 {
  line-height: 0.85 !important;
}

  .latest-post-content >h3 > a {
    font-size: var(--global-font-size-small);
    color: var(--global-palette2);
    line-height: 1.15 !important;
  }

  .sidebar-kontakt > div {
    padding-inline: 0 !important;
  }

  ul.blog-archive-categories {
    margin-left: 0;
  }


  .blog-archive-categories > li {
    list-style: none;
    margin-block: 1.5em;
    border-bottom: 1px solid #ffffff42;
    padding-bottom: 0.5rem;
  }

  .blog-archive-categories > li > a {
    color: var(--global-palette2);
  }
  

/* Template Studio — minimal custom CSS
 * Page: 2871
 * Layout, section spacing, backgrounds, card padding, borders and responsive
 * columns are stored in the Kadence block attributes in the companion TXT file.
 */

body.page-id-2871 {
    background: #fff;
}

body.page-id-2871 .entry-content {
    --ts-ink: #0b0b0f;
    --ts-text: #5b5f73;
    --ts-muted: #8a8f9c;
    --ts-primary: #6c63ff;
    --ts-primary-dark: #5a52e0;
    --ts-accent: #ffb547;
    --ts-border: rgba(11, 11, 15, 0.08);
    --ts-shadow-sm: 0 1px 2px rgba(11, 11, 15, 0.06), 0 1px 1px rgba(11, 11, 15, 0.04);
    --ts-shadow-md: 0 12px 32px rgba(11, 11, 15, 0.10);
    --ts-shadow-lg: 0 30px 70px rgba(11, 11, 15, 0.14);
    --ts-ease: cubic-bezier(0.16, 1, 0.3, 1);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

body.page-id-2871 .entry-content :is(h1, h2, h3, h4, h5, h6) {
    color: var(--ts-ink);
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

body.page-id-2871 .entry-content .ts-eyebrow {
    margin: 0;
    color: var(--ts-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.page-id-2871 .entry-content .ts-section-head {
    max-width: 620px;
    margin: 0 auto 56px;
    text-align: center;
}

body.page-id-2871 .entry-content .ts-section-title {
    margin: 14px 0 16px;
    font-size: clamp(2rem, 3vw, 2.6rem);
    line-height: 1.15;
}

body.page-id-2871 .entry-content .ts-section-sub {
    margin-top: 0;
    color: var(--ts-text);
    font-size: 17px;
    line-height: 1.6;
}

/* Buttons */
body.page-id-2871 .entry-content .wp-element-button {
    border: 0;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    padding: 14px 26px;
    transition: transform .2s var(--ts-ease), box-shadow .2s var(--ts-ease), background-color .2s var(--ts-ease);
}

body.page-id-2871 .entry-content .ts-btn-primary .wp-element-button {
    background: var(--ts-primary);
    color: #fff;
    box-shadow: 0 8px 20px rgba(108, 99, 255, .30);
}

body.page-id-2871 .entry-content .ts-btn-primary .wp-element-button:hover {
    background: var(--ts-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(108, 99, 255, .38);
}

body.page-id-2871 .entry-content .ts-btn-secondary .wp-element-button {
    background: transparent;
    color: var(--ts-ink);
    box-shadow: inset 0 0 0 1.5px var(--ts-border);
}

body.page-id-2871 .entry-content .ts-btn-secondary .wp-element-button:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 0 0 1.5px var(--ts-ink);
}

/* Hero */
body.page-id-2871 .entry-content .ts-hero {
    position: relative;
    background: linear-gradient(180deg, #fdfdff 0%, #f5f7fa 100%);
}

body.page-id-2871 .entry-content .ts-hero::before {
    content: "";
    position: absolute;
    top: -220px;
    right: -160px;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(108, 99, 255, .16), transparent 70%);
    pointer-events: none;
}

body.page-id-2871 .entry-content .ts-hero-title {
    margin: 20px 0 24px;
    font-size: clamp(2.5rem, 4.2vw, 3.7rem);
    line-height: 1.08;
}

body.page-id-2871 .entry-content .ts-hero-sub {
    max-width: 500px;
    margin: 0 0 36px;
    color: var(--ts-text);
    font-size: 19px;
    line-height: 1.6;
}

body.page-id-2871 .entry-content .ts-hero-actions {
    gap: 14px;
    margin-bottom: 20px;
}

body.page-id-2871 .entry-content .ts-hero-price {
    margin: 0 0 28px;
    color: var(--ts-muted);
    font-size: 14px;
}

body.page-id-2871 .entry-content .ts-hero-proof > .kt-row-column-wrap,
body.page-id-2871 .entry-content .ts-hero-proof .kt-inside-inner-col {
    display: flex;
    align-items: center;
    gap: 10px;
}

body.page-id-2871 .entry-content .ts-hero-proof-stars,
body.page-id-2871 .entry-content .ts-hero-proof-text {
    margin: 0;
}

body.page-id-2871 .entry-content .ts-hero-proof-stars {
    color: var(--ts-accent);
    letter-spacing: 2px;
}

body.page-id-2871 .entry-content .ts-hero-proof-text {
    color: var(--ts-text);
    font-size: 14px;
    font-weight: 500;
}

body.page-id-2871 .entry-content .ts-hero-visual-col {
    position: relative;
}

/* Phone mockup: intentionally custom */
body.page-id-2871 .entry-content .ts-phone-mock {
    position: relative;
    width: 300px;
    height: 610px;
    margin: 0 auto;
    padding: 14px;
    border-radius: 46px;
    background: var(--ts-ink);
    box-shadow: var(--ts-shadow-lg);
}

body.page-id-2871 .entry-content .ts-phone-mock::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 14px;
    left: 50%;
    width: 90px;
    height: 22px;
    border-radius: 0 0 16px 16px;
    background: var(--ts-ink);
    transform: translateX(-50%);
}

body.page-id-2871 .entry-content .ts-phone-screen {
    width: 100%;
    height: 100%;
    padding: 28px 10px 10px;
    border-radius: 34px;
    overflow: hidden;
    background: #fff;
}

body.page-id-2871 .entry-content .ts-ig-grid > .kt-row-column-wrap > .wp-block-kadence-column > .kt-inside-inner-col {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
}

body.page-id-2871 .entry-content .ts-ig-tile {
    aspect-ratio: 4 / 5;
    min-height: 0;
    border-radius: 6px;
}

body.page-id-2871 .entry-content .ts-ig-tile-1 { background: linear-gradient(150deg, #6c63ff, #a29bfe); }
body.page-id-2871 .entry-content .ts-ig-tile-2 { background: linear-gradient(150deg, #ffb547, #ffd98e); }
body.page-id-2871 .entry-content .ts-ig-tile-3 { background: linear-gradient(150deg, #0b0b0f, #3a3a45); }
body.page-id-2871 .entry-content .ts-ig-tile-4 { background: linear-gradient(150deg, #f5f7fa, #e3e7ed); }
body.page-id-2871 .entry-content .ts-ig-tile-5 { background: linear-gradient(150deg, #5a52e0, #6c63ff); }
body.page-id-2871 .entry-content .ts-ig-tile-6 { background: linear-gradient(150deg, #ffd98e, #ffb547); }

body.page-id-2871 .entry-content .ts-float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border: 1px solid var(--ts-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--ts-shadow-md);
    font-size: 14px;
    line-height: 1.3;
}

body.page-id-2871 .entry-content .ts-float-card p { margin: 0; }
body.page-id-2871 .entry-content .ts-float-emoji { font-size: 22px; }
body.page-id-2871 .entry-content .ts-float-card-1 { top: 60px; left: -20px; }
body.page-id-2871 .entry-content .ts-float-card-2 { right: -10px; bottom: 70px; }

/* Marquee */
body.page-id-2871 .entry-content .ts-marquee {
    overflow: hidden;
}

body.page-id-2871 .entry-content .ts-marquee-track {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
}

body.page-id-2871 .entry-content .ts-marquee-item {
    margin: 0;
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .02em;
    white-space: nowrap;
}

/* Cards: dimensions are in Kadence column settings */
body.page-id-2871 .entry-content :is(.ts-benefit-card, .ts-gallery-item, .ts-testimonial-card) {
    transition: transform .3s var(--ts-ease), box-shadow .3s var(--ts-ease);
}

body.page-id-2871 .entry-content :is(.ts-benefit-card, .ts-gallery-item):hover {
    transform: translateY(-5px);
    box-shadow: var(--ts-shadow-md);
}

body.page-id-2871 .entry-content .ts-benefit-icon {
    margin: 0 0 18px;
    font-size: 28px;
}

body.page-id-2871 .entry-content :is(.ts-benefit-title, .ts-feature-title, .ts-how-title) {
    margin: 0 0 10px;
    font-size: 19px;
}

body.page-id-2871 .entry-content :is(.ts-benefit-text, .ts-feature-text, .ts-how-text) {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

body.page-id-2871 .entry-content :is(.ts-benefit-text, .ts-feature-text) {
    color: var(--ts-text);
}

/* Gallery mosaic: intentionally custom */
body.page-id-2871 .entry-content .ts-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 110px;
    gap: 18px;
    max-width: 1200px;
    margin: 0 auto;
}

body.page-id-2871 .entry-content .ts-gallery-item {
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--ts-shadow-sm);
}

body.page-id-2871 .entry-content .ts-gallery-item-1 { grid-column: span 2; grid-row: span 3; background: linear-gradient(135deg, #6c63ff, #a29bfe); }
body.page-id-2871 .entry-content .ts-gallery-item-2 { grid-row: span 2; background: linear-gradient(135deg, #0b0b0f, #2c2c36); }
body.page-id-2871 .entry-content .ts-gallery-item-3 { grid-row: span 2; background: linear-gradient(135deg, #ffb547, #ffd98e); }
body.page-id-2871 .entry-content .ts-gallery-item-4 { background: linear-gradient(135deg, #f5f7fa, #e3e7ed); }
body.page-id-2871 .entry-content .ts-gallery-item-5 { background: linear-gradient(135deg, #5a52e0, #6c63ff); }
body.page-id-2871 .entry-content .ts-gallery-item-6 { grid-column: span 2; grid-row: span 2; background: linear-gradient(135deg, #1e1e24, #4a4a56); }
body.page-id-2871 .entry-content .ts-gallery-item-7 { grid-row: span 2; background: linear-gradient(135deg, #ffd98e, #ffb547); }
body.page-id-2871 .entry-content .ts-gallery-item-8 { background: linear-gradient(135deg, #a29bfe, #6c63ff); }

body.page-id-2871 .entry-content .ts-gallery-tag {
    margin: 14px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(11, 11, 15, .55);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    backdrop-filter: blur(4px);
}

/* Bundle */
body.page-id-2871 .entry-content .ts-bundle-title {
    margin: 14px 0 16px;
    font-size: clamp(1.9rem, 2.8vw, 2.4rem);
    line-height: 1.18;
}

body.page-id-2871 .entry-content .ts-bundle-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 24px;
}

body.page-id-2871 .entry-content .ts-bundle-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

body.page-id-2871 .entry-content .ts-bundle-row p:last-child {
    margin: 0;
    color: #1e1e24;
    font-size: 15px;
    font-weight: 500;
}

body.page-id-2871 .entry-content .ts-bundle-check {
    display: grid;
    place-items: center;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin: 0;
    border-radius: 50%;
    background: var(--ts-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

/* Before / after */
body.page-id-2871 .entry-content .ts-ba-col > .kt-inside-inner-col {
    display: flex;
    align-items: flex-end;
    min-height: 340px;
}

body.page-id-2871 .entry-content .ts-ba-before {
    filter: saturate(.6) brightness(.92);
}

body.page-id-2871 .entry-content .ts-ba-after {
    background: linear-gradient(135deg, #6c63ff, #ffb547) !important;
    box-shadow: var(--ts-shadow-md);
}

body.page-id-2871 .entry-content .ts-ba-label {
    display: inline-block;
    margin: 0;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(11, 11, 15, .35);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

body.page-id-2871 .entry-content .ts-ba-arrow {
    color: var(--ts-primary);
    font-size: 28px;
    text-align: center;
}

body.page-id-2871 .entry-content .ts-ba-arrow p { margin: 0; }

/* Dark process section */
body.page-id-2871 .entry-content .ts-how .ts-section-title,
body.page-id-2871 .entry-content .ts-how-title {
    color: #fff;
}

body.page-id-2871 .entry-content .ts-how-number {
    margin: 0 0 8px;
    color: var(--ts-accent);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 36px;
    font-weight: 700;
}

body.page-id-2871 .entry-content .ts-how-text {
    color: rgba(255, 255, 255, .65);
}

/* Testimonials */
body.page-id-2871 .entry-content .ts-testimonial-card {
    box-shadow: var(--ts-shadow-sm);
}

body.page-id-2871 .entry-content .ts-testimonial-stars {
    margin: 0 0 14px;
    color: var(--ts-accent);
    letter-spacing: 2px;
}

body.page-id-2871 .entry-content .ts-testimonial-quote {
    margin: 0 0 18px;
    color: #1e1e24;
    font-size: 15px;
    line-height: 1.65;
}

body.page-id-2871 .entry-content .ts-testimonial-author {
    margin: 0;
    color: var(--ts-ink);
    font-size: 14px;
    font-weight: 700;
}

body.page-id-2871 .entry-content .ts-testimonial-author span {
    display: block;
    margin-top: 2px;
    color: var(--ts-muted);
    font-size: 13px;
    font-weight: 400;
}

/* FAQ remains native Details for maximum paste compatibility */
body.page-id-2871 .entry-content .ts-faq-list {
    max-width: 780px;
    margin: 0 auto;
}

body.page-id-2871 .entry-content .ts-faq-item {
    margin-bottom: 14px;
    padding: 10px 24px;
    border: 1px solid var(--ts-border);
    border-radius: 16px;
    background: #fff;
}

body.page-id-2871 .entry-content .ts-faq-item summary {
    padding: 14px 0;
    color: var(--ts-ink);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

body.page-id-2871 .entry-content .ts-faq-item p {
    margin: 0;
    padding-bottom: 18px;
    color: var(--ts-text);
    font-size: 15px;
    line-height: 1.65;
}

/* Pricing */
body.page-id-2871 .entry-content .ts-price-card {
    max-width: 480px;
    margin: 0 auto;
    border-radius: 28px;
    box-shadow: var(--ts-shadow-lg);
    text-align: center;
}

body.page-id-2871 .entry-content .ts-price-badge {
    display: inline-block;
    margin: 0 0 20px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .10);
    color: var(--ts-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

body.page-id-2871 .entry-content .ts-price-amount {
    margin: 0 0 8px;
    color: #fff;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 56px;
    font-weight: 700;
}

body.page-id-2871 .entry-content .ts-price-amount span {
    color: rgba(255, 255, 255, .55);
    font-size: 16px;
    font-weight: 500;
}

body.page-id-2871 .entry-content .ts-price-sub {
    margin: 0 0 28px;
    color: rgba(255, 255, 255, .60);
    font-size: 14px;
}

body.page-id-2871 .entry-content .ts-price-list {
    margin-bottom: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    text-align: left;
}

body.page-id-2871 .entry-content .ts-price-list p {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, .85);
    font-size: 14px;
}

body.page-id-2871 .entry-content .ts-price-btn .wp-element-button {
    width: 100%;
    justify-content: center;
}

body.page-id-2871 .entry-content .ts-price-guarantee {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .45);
    font-size: 12px;
}

/* Final CTA */
body.page-id-2871 .entry-content .ts-final-cta-title {
    margin: 0 0 18px;
    font-size: clamp(2rem, 3.4vw, 3rem);
    line-height: 1.15;
}

body.page-id-2871 .entry-content .ts-final-cta-sub {
    max-width: 560px;
    margin: 0 auto 36px;
    color: var(--ts-text);
    font-size: 18px;
    line-height: 1.6;
}

body.page-id-2871 .entry-content .ts-btn-accent .wp-element-button {
    padding: 16px 34px;
    background: var(--ts-accent);
    color: var(--ts-ink);
    box-shadow: 0 10px 26px rgba(255, 181, 71, .35);
    font-size: 17px;
}

body.page-id-2871 .entry-content .ts-btn-accent .wp-element-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(255, 181, 71, .45);
}

@media (max-width: 767px) {
    body.page-id-2871 .entry-content .ts-section-head {
        margin-bottom: 40px;
    }

    body.page-id-2871 .entry-content .ts-hero-title {
        font-size: 2.2rem;
    }

    body.page-id-2871 .entry-content .ts-hero-sub {
        max-width: none;
        font-size: 17px;
    }

    body.page-id-2871 .entry-content .ts-phone-mock {
        width: 240px;
        height: 490px;
        margin-top: 36px;
    }

    body.page-id-2871 .entry-content .ts-float-card {
        display: none;
    }

    body.page-id-2871 .entry-content .ts-marquee-track {
        justify-content: flex-start;
        gap: 32px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    body.page-id-2871 .entry-content .ts-marquee-track::-webkit-scrollbar {
        display: none;
    }

    body.page-id-2871 .entry-content .ts-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 90px;
        gap: 12px;
    }

    body.page-id-2871 .entry-content .ts-gallery-item-1,
    body.page-id-2871 .entry-content .ts-gallery-item-6 {
        grid-column: span 2;
    }

    body.page-id-2871 .entry-content .ts-bundle-list {
        grid-template-columns: 1fr;
    }

    body.page-id-2871 .entry-content .ts-ba-col > .kt-inside-inner-col {
        min-height: 280px;
    }

    body.page-id-2871 .entry-content .ts-ba-arrow {
        transform: rotate(90deg);
    }

    body.page-id-2871 .entry-content .ts-price-amount {
        font-size: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.page-id-2871 .entry-content * {
        scroll-behavior: auto !important;
    }

    body.page-id-2871 .entry-content :is(.wp-element-button, .ts-benefit-card, .ts-gallery-item, .ts-testimonial-card) {
        transition: none;
    }

    body.page-id-2871 .entry-content :is(.wp-element-button, .ts-benefit-card, .ts-gallery-item):hover {
        transform: none;
    }
}

/* ==========================================================
   FINAL VISUAL ALIGNMENT — match localhost reference
   Keep this section at the END of the stylesheet.
   ========================================================== */

/* Consistent content width for every full-width Kadence section */
body.page-id-2871 .entry-content :is(
    .ts-hero,
    .ts-benefits,
    .ts-gallery,
    .ts-bundle,
    .ts-features,
    .ts-before-after,
    .ts-how,
    .ts-testimonials,
    .ts-faq,
    .ts-pricing,
    .ts-final-cta
) > .kt-row-column-wrap {
    width: min(100% - 64px, 1200px);
    max-width: 1200px !important;
    margin-inline: auto;
}

/* Sections whose background must still span the complete viewport */
body.page-id-2871 .entry-content :is(.ts-gallery, .ts-how, .ts-faq) {
    max-width: none !important;
}

/* Hero proportions and alignment */
body.page-id-2871 .entry-content .ts-hero > .kt-row-column-wrap {
    min-height: 680px;
    align-items: center;
}

body.page-id-2871 .entry-content .ts-hero-columns > .kt-row-column-wrap {
    grid-template-columns: minmax(0, 52fr) minmax(300px, 48fr) !important;
    align-items: center;
    column-gap: 64px;
}

body.page-id-2871 .entry-content .ts-hero-copy,
body.page-id-2871 .entry-content .ts-hero-copy > .kt-inside-inner-col {
    min-width: 0;
    overflow: visible;
}

body.page-id-2871 .entry-content .ts-hero-title {
    max-width: 620px;
    font-size: clamp(44px, 4.15vw, 60px);
    line-height: 1.04;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

body.page-id-2871 .entry-content .ts-hero-sub {
    max-width: 520px;
}

body.page-id-2871 .entry-content .ts-hero-visual-col > .kt-inside-inner-col {
    position: relative;
    display: flex;
    justify-content: center;
}

/* Phone dimensions from localhost reference */
body.page-id-2871 .entry-content .ts-phone-mock {
    width: 300px;
    height: 610px;
    flex: 0 0 auto;
}

/* Keep the social proof on a single horizontal line */
body.page-id-2871 .entry-content .ts-hero-proof > .kt-row-column-wrap,
body.page-id-2871 .entry-content .ts-hero-proof > .kt-row-column-wrap > .wp-block-kadence-column > .kt-inside-inner-col {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: auto;
}

/* Benefit cards: equal height and localhost spacing */
body.page-id-2871 .entry-content :is(.ts-benefit-grid, .ts-feature-grid, .ts-how-grid, .ts-testimonial-grid) > .kt-row-column-wrap {
    align-items: stretch;
}

body.page-id-2871 .entry-content :is(.ts-benefit-card, .ts-feature-card, .ts-how-card, .ts-testimonial-card) {
    height: 100%;
}

body.page-id-2871 .entry-content :is(.ts-benefit-card, .ts-feature-card, .ts-how-card, .ts-testimonial-card) > .kt-inside-inner-col {
    height: 100%;
}

/* Gallery: force the actual mosaic instead of horizontal bars */
body.page-id-2871 .entry-content .ts-gallery-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(5, 110px);
    grid-auto-flow: dense;
    gap: 18px !important;
    width: 100%;
    max-width: 1200px;
}

body.page-id-2871 .entry-content .ts-gallery-grid > .wp-block-group {
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    min-height: 0;
    margin: 0 !important;
}

body.page-id-2871 .entry-content .ts-gallery-item-1 {
    grid-column: 1 / span 2 !important;
    grid-row: 1 / span 3 !important;
}
body.page-id-2871 .entry-content .ts-gallery-item-2 {
    grid-column: 3 !important;
    grid-row: 1 / span 2 !important;
}
body.page-id-2871 .entry-content .ts-gallery-item-3 {
    grid-column: 4 !important;
    grid-row: 1 / span 2 !important;
}
body.page-id-2871 .entry-content .ts-gallery-item-4 {
    grid-column: 3 !important;
    grid-row: 3 !important;
}
body.page-id-2871 .entry-content .ts-gallery-item-5 {
    grid-column: 4 !important;
    grid-row: 3 !important;
}
body.page-id-2871 .entry-content .ts-gallery-item-6 {
    grid-column: 1 / span 2 !important;
    grid-row: 4 / span 2 !important;
}
body.page-id-2871 .entry-content .ts-gallery-item-7 {
    grid-column: 3 !important;
    grid-row: 4 / span 2 !important;
}
body.page-id-2871 .entry-content .ts-gallery-item-8 {
    grid-column: 4 !important;
    grid-row: 4 !important;
}

/* Bundle section */
body.page-id-2871 .entry-content .ts-bundle > .kt-row-column-wrap {
    grid-template-columns: minmax(0, 44fr) minmax(0, 56fr) !important;
    column-gap: 72px;
    align-items: center;
}

/* Before / after follows the localhost 42 / 16 / 42 proportions */
body.page-id-2871 .entry-content .ts-ba-columns > .kt-row-column-wrap {
    grid-template-columns: minmax(0, 42fr) 60px minmax(0, 42fr) !important;
    align-items: center;
    column-gap: 24px;
}

/* FAQ narrower, matching the reference */
body.page-id-2871 .entry-content .ts-faq-list {
    width: min(100%, 780px);
}

/* Remove default Kadence/content margins that create extra white strips */
body.page-id-2871 .content-area,
body.page-id-2871 .site-main,
body.page-id-2871 .entry-content-wrap,
body.page-id-2871 .entry-content {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

body.page-id-2871 .entry-content > * {
    margin-block-start: 0;
    margin-block-end: 0;
}

/* Optional: make the normal Kadence header resemble the white localhost header.
   Delete this block when the page already uses the desired transparent/white header. */
body.page-id-2871 .site-header,
body.page-id-2871 .site-main-header-wrap,
body.page-id-2871 .site-header-row-container-inner {
    background: #fff !important;
}

body.page-id-2871 .site-header {
    box-shadow: 0 1px 0 rgba(11, 11, 15, .08);
}

body.page-id-2871 .site-title,
body.page-id-2871 .site-title a,
body.page-id-2871 .primary-menu-container a {
    color: var(--ts-ink, #0b0b0f) !important;
}

/* Tablet */
@media (max-width: 1024px) {
    body.page-id-2871 .entry-content :is(
        .ts-hero,
        .ts-benefits,
        .ts-gallery,
        .ts-bundle,
        .ts-features,
        .ts-before-after,
        .ts-how,
        .ts-testimonials,
        .ts-faq,
        .ts-pricing,
        .ts-final-cta
    ) > .kt-row-column-wrap {
        width: min(100% - 40px, 1200px);
    }

    body.page-id-2871 .entry-content .ts-hero-columns > .kt-row-column-wrap {
        column-gap: 38px;
    }

    body.page-id-2871 .entry-content .ts-hero-title {
        font-size: clamp(38px, 5vw, 50px);
    }
}

/* Mobile */
@media (max-width: 767px) {
    body.page-id-2871 .entry-content :is(
        .ts-hero,
        .ts-benefits,
        .ts-gallery,
        .ts-bundle,
        .ts-features,
        .ts-before-after,
        .ts-how,
        .ts-testimonials,
        .ts-faq,
        .ts-pricing,
        .ts-final-cta
    ) > .kt-row-column-wrap {
        width: min(100% - 32px, 1200px);
    }

    body.page-id-2871 .entry-content .ts-hero > .kt-row-column-wrap {
        min-height: auto;
    }

    body.page-id-2871 .entry-content .ts-hero-columns > .kt-row-column-wrap,
    body.page-id-2871 .entry-content .ts-bundle > .kt-row-column-wrap,
    body.page-id-2871 .entry-content .ts-ba-columns > .kt-row-column-wrap {
        grid-template-columns: 1fr !important;
        row-gap: 40px;
    }

    body.page-id-2871 .entry-content .ts-hero-title {
        max-width: 520px;
        font-size: clamp(36px, 10vw, 48px);
    }

    body.page-id-2871 .entry-content .ts-hero-visual-col > .kt-inside-inner-col {
        justify-content: center;
    }

    body.page-id-2871 .entry-content .ts-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-template-rows: repeat(7, 90px);
        gap: 12px !important;
    }

    body.page-id-2871 .entry-content .ts-gallery-item-1 {
        grid-column: 1 / span 2 !important;
        grid-row: 1 / span 3 !important;
    }
    body.page-id-2871 .entry-content .ts-gallery-item-2 {
        grid-column: 1 !important;
        grid-row: 4 / span 2 !important;
    }
    body.page-id-2871 .entry-content .ts-gallery-item-3 {
        grid-column: 2 !important;
        grid-row: 4 / span 2 !important;
    }
    body.page-id-2871 .entry-content .ts-gallery-item-4 {
        grid-column: 1 !important;
        grid-row: 6 !important;
    }
    body.page-id-2871 .entry-content .ts-gallery-item-5 {
        grid-column: 2 !important;
        grid-row: 6 !important;
    }
    body.page-id-2871 .entry-content .ts-gallery-item-6 {
        grid-column: 1 / span 2 !important;
        grid-row: 7 / span 2 !important;
    }
    body.page-id-2871 .entry-content .ts-gallery-item-7,
    body.page-id-2871 .entry-content .ts-gallery-item-8 {
        display: none;
    }

    body.page-id-2871 .entry-content .ts-ba-arrow {
        transform: rotate(90deg);
    }
}


