/* ----------------------------------------------------------------------- */
/*	Structure:															   */
/*  	--------------													   */
/*    	Global Fixes                      								   */
/*		--------------		                							   */
/*		Global Elements                     							   */
/*			Elem1                           							   */
/*			Elem1   Desktop Breakpoint      							   */
/*			Elem1   Tablet  Breakpoint      							   */
/*	    	Elem1   Mobile  Breakpoint      							   */
/*	    	Elem1   Custom  Breakpoint      							   */
/*	    	...                             							   */
/*	    	ElemX                           							   */
/*                                      								   */
/*   	--------------		                							   */
/*		Page1 Elements                      							   */
/*			Elem1                           							   */
/*			Elem1   Desktop Breakpoint      							   */
/*			Elem1   Tablet  Breakpoint      							   */
/*	    	Elem1   Mobile  Breakpoint      							   */
/*	    	Elem1   Custom  Breakpoint      							   */
/*	    	...                             							   */
/*	    	ElemX                           							   */
/*                                      								   */
/*   	--------------		                							   */
/*		Page2 Elements                      							   */
/*	    	....                            							   */
/*   	--------------	                    							   */
/* ----------------------------------------------------------------------- */
/*	Breakpoints:							 							   */
/*																		   */
/*	# DEFAULT POINT --------                 							   */
/*	@media (max-width: 1440px) {}            							   */
/*		Make this one work all the way to 768 or add the next one          */
/*											 							   */
/*	# OPTIONAL POINT --------                							   */
/*	@media (max-width: 1280px) {}            							   */
/*		Typically lower-end scaled laptops and some tablets                */
/*		                                     							   */
/*	# DEFAULT POINT --------                 							   */
/*	@media (max-width: 768px) {}             							   */
/*                                           							   */
/*	# DEFAULT POINT--------                  							   */
/*	@media (max-width: 480px) {}             							   */
/*		360px is majority, down to 320 is 100% robust                      */
/* ----------------------------------------------------------------------- */



/* ####################################################################### */
/* GLOBAL */

html {
  overflow-x: hidden;
}

a:focus,
a:active,
button:focus,
button:active {
    outline: none !important;
    box-shadow: none !important;
}

/* Remove auto phone links - Disable auto-detected phone links globally */
a[href^="tel"] {
    color: inherit !important;
    text-decoration: none !important;
    pointer-events: none !important;
    cursor: default !important;
}

.instagram-icon {
    margin-top:2px !important;
}

/* ----------------------------------------------------------------------- */
/* Scroll to top arrow */

.ftbs-scroll-top {
    position: fixed;
    bottom: 20px;
    right: calc((100% - 1920px) / 2 + 20px); /* Align to 1920px right edge */
    width: 50px;
    height: 50px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    z-index: 9997;
}

@media (max-width: 1920px) {
    .ftbs-scroll-top {
        right: 20px; /* Revert to original positioning for smaller screens */
    }
    
}

@media (max-width: 781px) {
    .ftbs-scroll-top {
        right: calc(var(--wp--preset--spacing--50) - 6px);
        bottom: calc(var(--wp--preset--spacing--50) - 22px);
    }
    .ftbs-scroll-top img {
        width:80%;
        height:80%;
    }
    
}


/* ----------------------------------------------------------------------- */
/* General header and menu */

.tcn-header-general .tcn-hambtn {
    position: relative;
    width: 49px;
    height: 38px;
    background: #b21f23;
    cursor: pointer;
    overflow: hidden;
    z-index: 10;
    border-radius:4px;
}

.tcn-header-general .tcn-hambtn svg {
    position: absolute;
    top: 50%; 
    left: 50%;
    width: 26px; 
    height: 26px;
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.tcn-header-general .tcn-hambtn path {
    fill: none;
    stroke: #fff;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-linejoin: round;
}


.tcn-mb-logo {
    width:75px;
    height:40px;
}

nav.tcn-mainmenu {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: 320px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    box-shadow: -8px 0 30px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    z-index: 9;
    transform: translateX(100px);
    visibility: hidden;
    opacity: 0;
}

nav.tcn-mainmenu ul { 
    list-style: none; 
    margin: 0; 
    padding: 0; 
    width: 380px;
    padding-top: 70px;
    padding-left: 50px;
}

nav.tcn-mainmenu li { 
    opacity: 0; 
    transform: 
    translateX(30px); 
    position:relative;
    overflow:hidden;
    border-bottom: 1px solid #dbdbda;
    width: 100%;
}

nav.tcn-mainmenu a {
    color: #292929;
    font-size: 1.25rem;
    font-weight: 500;
    text-decoration: none;
    display: block;
    padding: 10px 0;
    width:100%;
}

.tcn-menu-contactinfo {
    border-bottom:none !important;
    margin-top:15px;
}

.tcn-menu-contactinfo .tcn-top-contact-holder-firstrow {
	display: flex;
    justify-content: flex-start;
    width: 100%;
    margin-left: -2px !important;
}
.tcn-menu-contactinfo .tcn-top-contact-holder-secondrow {
    display: flex;
    align-items: flex-start;
}

.tcn-menu-contactinfo .tcn-top-contact-holder-firstrow a {
    padding-top:4px;
    padding-bottom:4px;
}

.tcn-contact-text a {
    padding:0px !important;
    font-weight:400 !important;
    display: inline-block !important;
    width: auto !important;
    text-decoration:none !important;
}

/* reset the global "remmove auto phone links" set in general after html */
.tcn-contact-text a[href^="tel"] {
    pointer-events: auto !important;
    cursor: pointer !important;
}

.tcn-contact-text a:not(:last-child)::after {
    content:' - ';
}


@media (max-width: 781px) {
    .tcn-menu-contactinfo .tcn-contact-text a:not(:last-child) {
        font-weight:500 !important;
    }
    .tcn-stickyheader {
        padding-top:9px;
        padding-bottom:9px;
        background: rgba(255,255,255,0.35);
    }
    nav.tcn-mainmenu {
        width: 100vw;
        align-items: flex-start;
    }
    nav.tcn-mainmenu ul {
        padding-top: 60px;
        padding-right: var(--wp--preset--spacing--50);
        padding-bottom: 0;
        padding-left: var(--wp--preset--spacing--50);
        width: calc(100% - var(--wp--preset--spacing--50) - var(--wp--preset--spacing--50));
    }
    
    nav.tcn-mainmenu a {
        font-size: 18.5px;
        padding:7px 0px;
    }
}
@media (max-width: 410px) {
    .tcn-menu-contactinfo .tcn-contact-text {
        font-size: 16.5px;
    }
    .tcn-top-contact-holder-secondrow figure img {
        width:23px;
        height:25px;
    }
}

/* ----------------------------------------------------------------------- */
/* Sticky header */

.tcn-stickyheader {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 20000;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.18);
    padding: 14px 0 16px;
    transform: translateY(-100%);
}

.tcn-stickyheader .tcn-hambtn {
    position: relative;
    width: 46px;
    height: 38px;
    background: #b21f23;
    cursor: pointer;
    overflow: hidden;
    z-index: 10;
    border-radius:4px;
}

.tcn-hambtn svg {
    position: absolute;
    top: 50%; 
    left: 50%;
    width: 24px; 
    height: 24px;
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.tcn-hambtn path {
    fill: none;
    stroke: #fff;
    stroke-width: 9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tcn-logo-sticky {
    width:75px;
    height:38px;
}

.no-scroll {
    overflow: hidden !important; 
    height: 100vh !important; 
    max-height:100vh !important;
}

@media (max-width: 781px) {
    .tcn-stickyheader {
        padding-top:9px;
        padding-bottom:9px;
        background: rgba(255,255,255,0.83);
    }
    .tcn-stickyheader .tcn-hambtn {
        width:35px;
        height:30px;
        
    }
    .tcn-stickyheader .tcn-logo {
        width:60px;
    }
    
    .tcn-hambtn svg {
        width: 21px; 
        height: 21px;
    }
    .tcn-hambtn path {
        stroke-width: 8;
    }
    
    .tcn-logo-sticky {
        width:58px;
        height:30px;
    }
    
}

/* ----------------------------------------------------------------------- */
/* General Preloader */

.tcn-preloader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  z-index: 0;
  margin-block-start:0;
}

.sk-cube-grid {
  width: 47px; 
  height: 12px;
}

.sk-cube {
  width: 24%;
  height: 100%; /* fix */
  background-color: rgba(128, 128, 128, 0.7); 
  float: left; 
  margin: 3% !important; 
  animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
}

.sk-cube1 {
  animation-delay: 0.2s;
}

.sk-cube2 {
  animation-delay: 0.3s;
}

.sk-cube3 {
  animation-delay: 0.4s;
}

.preloader-style-white .sk-cube {
  background-color: #ffffffe0;
}

@keyframes sk-cubeGridScaleDelay {
  0%, 70%, 100% {
    transform: scale3D(1, 1, 1);
  } 35% {
    transform: scale3D(0, 0, 1);
  }
}


/* ####################################################################### */
/* HOMEPAGE */

.tcn-home-content-holder {
    margin-block-start:0;
    margin-top:0;
}

.tcn-flex-row-wrap {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important; /* Space between items */
}

.tcn-flex-row-wrap-item {
    flex: 0 0 auto !important; /* Intrinsic width based on content */
}

.tcn-btn-style1 {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(to right, #ffffff 0%, #ffffff calc(100% - 20px - 14px), #b32024 calc(100% - 20px - 14px), #b32024 100%);
    border-radius: 10px;
    box-shadow: 0 0 9px rgba(0, 0, 0, 0.05);
    width: max-content !important;
    min-width: 0 !important;
}

.tcn-btn-style1 .wp-block-button__link {
    text-decoration: none;
    font-weight: 500;
    color: #292929;
    padding: 6px 13px 8px 19px;
    border: none; /* Remove default border */
    background: none; /* Remove default background */
    display: inline-flex;
    align-items: center;
    width: 100%; /* Ensure it fills the container */
}

.tcn-btn-style1 .wp-block-button__link::after {
    content: "";
    display: inline-block;
    width: 7px;
    height: 12.47px; /* Proportional height based on original 25.3/44.9 ratio */
    background-image: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 25.3 44.9'%3E%3Cpath fill='%23ffffff' d='M25.3,22.4c0,0.9-0.4,1.8-1,2.5L6,43.8c-0.6,0.6-1.6,1.1-2.5,1.1c-0.8,0-1.6-0.3-2.3-0.9C0.4,43.4,0,42.5,0,41.4c0-0.9,0.4-1.8,1-2.5l16-16.4v-0.1L1,6C0.4,5.3,0,4.4,0,3.5c0-1.1,0.4-2,1.2-2.6C1.9,0.3,2.7,0,3.5,0C4.4,0,5.4,0.5,6,1.1L24.3,20C24.9,20.7,25.3,21.6,25.3,22.4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin-left: 34px;
    margin-top: 0.5px;
}

.tcn-btn-style2 {
    background: linear-gradient(to right, #f4f4f4 0%, #f4f4f4 calc(100% - 20px - 14px), #b32024 calc(100% - 20px - 14px), #b32024 100%);
    box-shadow: none;
}

.tcn-link-style1 {
    display: inline-flex;
    align-items: center;
    width: max-content !important;
    min-width: 0 !important;
}

.tcn-link-style1 a {
    text-decoration: none;
    font-weight: 500;
    color: #292929;
    border: none;
    background: none;
    display: inline-flex;
    align-items: center;
    width: 100%;
    position: relative;
    padding-right: 8.5px;
    color: #d03135;
    font-weight: 600;
}

.tcn-link-style1 a::after {
    content: "";
    display: inline-block;
    width: 12px;
    height: 11px;
    padding: 6px;
    background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 25.3 44.9'%3E%3Cpath fill='%23ffffff' d='M25.3,22.4c0,0.9-0.4,1.8-1,2.5L6,43.8c-0.6,0.6-1.6,1.1-2.5,1.1c-0.8,0-1.6-0.3-2.3-0.9C0.4,43.4,0,42.5,0,41.4c0-0.9,0.4-1.8,1-2.5l16-16.4v-0.1L1,6C0.4,5.3,0,4.4,0,3.5c0-1.1,0.4-2,1.2-2.6C1.9,0.3,2.7,0,3.5,0C4.4,0,5.4,0.5,6,1.1L24.3,20C24.9,20.7,25.3,21.6,25.3,22.4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 6px 11px;
    background-color: #c12f33;
    margin-left: 9px;
    margin-top: 0px;
    border-radius: 7px;
}

.page-template-wp-custom-template-homepage h2 {
    font-size:31.5px;
    font-weight:800;
    color:#c8383c;
}
.tcn-hero-slidetext-holder h2 {
    color:#262628;
}

.tcn-subtitle-style1 {
    font-family: 'Playfair Display';
    font-style: italic;
    font-size: 18.5px;
    color: #292929;   
}

.tcn-main-title-holder {
    background: url('https://tcn.com.ph/wp-content/uploads/2025/11/title_square_bg.webp') no-repeat left top;
    gap:3px;
}

.tcn-main-title-holder p {
    padding-top:6px !important;
    padding-left:12px;
    width: 100%;
}

.tcn-main-title-holder h2 {
    padding-bottom:17px !important;
    padding-left:12px;
}

@media (max-width: 781px) {
    .tcn-main-title-holder {
        background: url('https://tcn.com.ph/wp-content/uploads/2025/11/title_square_bg.webp') no-repeat left top;
        background-size:50px 70px;
    }
    
}

@media (max-width: 520px) {
    .tcn-subtitle-style1 {
        font-size:16px;
    }
    .page-template-wp-custom-template-homepage h2 {
        font-size:24.5px;
    }
    
}

/* ----------------------------------------------------------------------- */
/* HOMEPAGE: TOP MENU */

.tcn-homepage-topmenu {
    height: 545px;
    position: absolute;
    right: 0;
    top: 0;
    width: 51px;                    /* closed */
    margin-block-start: 0;
    box-shadow: -12px 0 18px rgba(0,0,0,0.36);
    overflow: hidden;
    transition: none;               /* GSAP handles width */
    z-index: 10;
    background:#ffffffb0;
}

.tcn-homepage-topmenu .tcn-topmenu-hambtn {
    background: #b21f23;
    width: 51px;
    height: 43px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tcn-topmenu-hambtn svg {
    position: absolute;
    top: 50%; 
    left: 50%;
    width: 27px; 
    height: 27px;
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.tcn-topmenu-hambtn path {
    fill: none;
    stroke: #fff;
    stroke-width: 9;
    stroke-linecap: round;
    stroke-linejoin: round;
}


.tcn-homepage-topmenu nav.tcn-mainmenu-home-top {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 40px 0;
    opacity: 0;
    visibility: hidden;
    box-sizing: border-box;
    margin-block-start:0;
    position: relative;
    box-shadow: none;
    backdrop-filter: none;
    transform: none;
    background:none;
}

.tcn-homepage-topmenu nav.tcn-mainmenu-home-top ul {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.tcn-homepage-topmenu nav.tcn-mainmenu-home-top li {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #dbdbda;
    opacity: 0;
    transform: translateX(30px);
    width:100%;
}

.tcn-homepage-topmenu nav.tcn-mainmenu-home-top a {
    color: #292929;
    font-size: 1.25rem;
    font-weight: 500;
    text-decoration: none;
    display: block;
    padding: 8px 0;
    width: 100%;
}

.tcn-homepage-topmenu nav.tcn-mainmenu-home-top li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #000;
    transform: translateX(100%);
    pointer-events: none;
}

@media (max-width: 1280px) {
    .tcn-homepage-topmenu {
        display:none;
    } 
}

/* ----------------------------------------------------------------------- */
/* HOMEPAGE: HERO */

.tcn-hero-outer {
  position: relative;  /* establishes context for absolute child */
  overflow: hidden;    /* safety if needed */
  background:none;
  margin-block-start:0;
  visibility:hidden;
}

.tcn-hero-2colbg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  z-index: -3; /* behind all content */
  gap: 0;
}

.tcn-hero-2colbg-inner {
  position: relative;
  width: 1440px;
  height: 100%;
  margin: auto !important;
  overflow: visible;
}

.tcn-hero-2colbg-left {
  position: absolute;
  height: 100%;
  left: calc((1440px - min(100vw, 1920px)) / 2);
  right: calc(1440px - 324px);
  top: 0;
  background: linear-gradient(168deg, rgba(247, 179, 181, 1) 0%, rgba(253, 185, 190, 1) 71%, rgba(255, 178, 191, 1) 100%);
  /*background:linear-gradient(168deg, rgb(255 194 196) 0%, rgba(253, 185, 190, 1) 71%, rgba(255, 178, 191, 1) 100%);*/
  z-index: -1;
  margin-block-start: 0;
}

.tcn-hero-2colbg-right {
  position: absolute;
  height: 100%;
  left: 324px;
  right: calc((1440px - min(100vw, 1920px)) / 2);
  top: 0;
  /*background: linear-gradient(168deg, rgba(231, 240, 200, 1) 0%, rgba(222, 235, 181, 1) 100%);*/
  background:linear-gradient(168deg, rgb(232 241 200) 0%, rgb(227 239 190) 100%);
  z-index: -2;
  margin-block-start: 0;
}

.tcn-hero-holder {
    margin-block-start:0;
}

.tcn-hero-bgbox-outer {
    position: absolute;
    width: calc(100% - var(--wp--preset--spacing--50) - var(--wp--preset--spacing--50));
    left: 50%;
    transform: translateX(-50%);
    overflow:visible;
}

.tcn-hero-bgbox {
    position: absolute;
    width:100%;
    height: 545px;
	box-shadow: 0 0 24px rgba(0, 0, 0, 0.09);
}
.tcn-hero-bgbox-left {
    background: rgba(255, 255, 255, 0.07);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.5);
    width: 324px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.tcn-hero-left {
    height:545px;
}

.tcn-hero-right {
    height:545px;
    position:relative;
    overflow: hidden;
}

.tcn-hero-right figure, .tcn-hero-right figure img {
    margin-block-start:0;
}

.tcn-hero-left, .tcn-hero-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.tcn-hero-mb-header {
    display:none !important;
    margin-block-start:0;
}

.tcn-hero-slidetext-title-mb-arrowbtn {
    display:none !important;
}

.tcn-hero-slidetext-mb-btn {
    display:none !important;
    height: 46px;
    position: relative;
}

.tcn-hero-slidetext-mb-btn-inner { 
    gap: 0;
    margin-top: -3px !important;
}

.tcn-hero-thumb-holder {
    background:#e7ecf2;
    max-width:203px;
    height:190px;
}

.tcn-hero-thumb-holder figure {
    margin-block-start:0;
    position:absolute;
    top:0;
    left:0;
}

.tcn-hero-thumb-outer {
    background: linear-gradient(90deg,rgba(255, 255, 255, 0) 49%, rgba(231, 236, 242, 0.36) 50%);
}

.tcn-hero-slidetext-holder {
    min-height: 190px;
    max-width: max-content;
    display: flex;
    align-items: center;
    background:#ffffffe3;
    margin-block-start:0;
    z-index:11;
}

.tcn-hero-slidetext-holder-inner {
    max-width: max-content;
    gap:0px;
}


.tcn-hero-slidetext-dsktp-btn {
    margin-top:21px !important;
    margin-bottom:4px !important;
}

.tcn-hero-slidetext-sub-holder .wp-block-image {
    line-height: 16px !important;
}
.tcn-hero-slidetext-sub-holder p {
    white-space: nowrap;
}

.tcn-hero-slidetext-sub-bordered {
    font-size: 16.4px;
    font-weight: 800;
    border: 2px solid #b21f23;
    border-radius: 7px;
    padding-left: 4px;
    padding-right: 4px;
    line-height: 20.4px;
}

.tcn-hero-slidetext-sub-bold {
    font-size: 16.4px;
    font-weight: 800;
    line-height: 20.4px;
}

.tcn-hero-slidetext-sub-regular {
    font-size: 16.4px;
    font-weight: 500;
    line-height: 20.4px;
}

.tcn-hero-slidetext-sub-dot {
    color:#aeb0ab;
    line-height: 20.4px;
}

.tcn-hero-slidetext-sub-holder {
    gap:0px;
    margin-top:13px !important;
    z-index:2;
}
.tcn-hero-slidetext-sub-holder-inner {
    gap:10px;
}

.tcn-hero-slidetext-sub-colors-holder {
    gap:7px;
}

.tcn-hero-slidetext-title-holder,  .tcn-hero-slidetext-title-holder-inner {
    gap:0;
}

.tcn-hero-slidetext-title-holder h2 strong {
    color:#b21f23;
}

.tcn-hero-slidetext-title-holder h2 {
    font-weight:800;
    line-height: 1;
    font-size:34.5px;
}

.tcn-hero-slidetext-sub-colors-dsktp {
    display:block;
}

.tcn-hero-slidetext-sub-colors-mb {
    display:none;
}

.tcn-hero-slidecontrols {
    position: absolute;
    right: 120px;
    bottom: 0px;
    gap: 0;
    z-index:11;
}

.tcn-hero-slidecontrols figure img {
    opacity:0.84;
}

.tcn-hero-slidecontrols-inner {
    height:38px;
    background: rgb(255 255 255 / 84%);
    gap:0;
}

.tcn-hero-slidecontrols-arrow-left, .tcn-hero-slidecontrols-arrow-right {
    width: 27px;
    height: 100%;
    background: url('data:image/svg+xml,<%3Fxml version="1.0" encoding="utf-8"%3F><svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 25.27 44.89" style="enable-background:new 0 0 25.27 44.89;" xml:space="preserve"><style type="text/css">.st0{fill:%23b21f23;}</style><path class="st0" d="M3.48,44.04c-0.61,0-1.21-0.24-1.73-0.69c-0.61-0.46-0.9-1.1-0.9-1.94c0-0.64,0.29-1.35,0.79-1.93l16.22-16.62v-0.82L1.6,5.38C1.14,4.83,0.85,4.13,0.85,3.48C0.85,2.64,1.14,2,1.7,1.58c0.57-0.49,1.17-0.73,1.78-0.73c0.6,0,1.4,0.36,1.89,0.85l18.3,18.89c0.46,0.54,0.75,1.23,0.76,1.87c-0.01,0.61-0.3,1.31-0.79,1.89L5.36,43.21C4.88,43.69,4.09,44.04,3.48,44.04z"/></svg>') no-repeat center right;
    background-size: 8px 17px;
    background-position: 10px;
    cursor: pointer;
}

.slidecontrols-arrow-disabled {
    filter: grayscale(0.7) opacity(0.3);
    cursor: not-allowed;
    pointer-events: none; /* Prevents clicks */
}

.tcn-hero-slidecontrols-circle-holder {
    gap:0;
}

.tcn-hero-slidecontrols-circle {
    width: 13px;
    height: 38px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Ccircle cx='6' cy='6' r='6' fill='%23b21f23'/%3E%3C/svg%3E") no-repeat center center;
    background-size:7px 7px;
    opacity:0.33;
}

.tcn-circle-on {
    opacity:1;
}


.tcn-hero-slidecontrols-arrow-left {
    transform: scaleX(-1);
    margin-left:-4px !important;
    margin-right:10px !important;
}

.tcn-hero-slidecontrols-arrow-right {
    margin-left:10px !important;
    margin-right:-4px !important;
}


@media (max-width: 1540px) { 
    .tcn-hero-2colbg-inner {
        width:100%;
    }
    
    .tcn-hero-2colbg-left {
        left: 0px;
        right: auto;
        width: calc(324px + var(--wp--preset--spacing--50));
    }
    
    .tcn-hero-2colbg-right {
        left: calc(324px + var(--wp--preset--spacing--50));
        right: auto;
        width: calc(100% - var(--wp--preset--spacing--50) - 324px);
    }
    
}

@media (max-width: 1280px) {
    .tcn-hero-2colbg {
        display:none !important;
    }
    
    .tcn-hero-bgbox {
        display:none;
    }
    
    
    .tcn-hero-slidetext-title-mb-arrowbtn {
        display:inline-block !important;
    }
    
    .tcn-hero-left {
        display:none;
    }
    
    .tcn-hero-right {
        height:600px;
    }
    
    .tcn-hero-slidetext-holder {
        margin-bottom:0px !important;
        max-width:100%;
        flex-direction: column;
        align-content: flex-start;
        flex-wrap: wrap;
        background: none;
        min-height:auto;
        z-index:30;
    }
    .tcn-hero-macro {
        z-index:20;
    }
    
    .tcn-hero-holder {
        padding:0 !important;
    }
    
    .tcn-hero-dsktp-header {
        display:none !important;
    }
    
    .tcn-hero {
        margin-top:0px !important;
    }
    
    .tcn-hero-mb-header {
        display:flex !important;
        padding-top:18px;
        padding-left:20px;
        padding-right:20px;
        z-index:40;
    }
    
    .tcn-hero-right {
        justify-content:space-between;
    }
    
    .tcn-hero-slidetext-holder-inner {
        padding-left:0px !important;
        padding-right:0px !important;
        width:100%;
        max-width:100%;
    }
    
    .tcn-hero-slidetext-title-holder {
        background: #ffffffe3;
        width: 100%;
        padding-top: 21px;
        padding-bottom: 21px;
        padding-left: 20px;
        padding-right: 20px;
        align-items: flex-end;
        gap: 8px;
        padding-left: calc(var(--wp--preset--spacing--50) / 1.5);
        padding-top: calc(var(--wp--preset--spacing--50) / 1.8);
        padding-bottom: calc(var(--wp--preset--spacing--50) / 1.8);
    }
    
    .tcn-hero-slidetext-title-holder-inner {
        align-items:flex-end;
        gap: 8px;
    }
    
    .tcn-hero-slidetext-title-holder .wp-block-safe-svg-svg-icon {
        width:20px;
        height:23px;
        margin-bottom: 3px;
    }
    
    .tcn-hero-slidetext-sub-colors-dsktp {
        display:none;
    }
    
    .tcn-hero-slidetext-sub-colors-mb {
        display:block;
    }
    
    .tcn-hero-slidetext-sub-holder {
        width: 100%;
        background: #fcfcfc;
        padding-left: calc(var(--wp--preset--spacing--50) / 1.5 );
        padding-right: calc(var(--wp--preset--spacing--50) / 1.5 );
        padding-top: 12px;
        padding-bottom: 12px;
        margin-top: 0px !important;
        box-shadow: 0px 13px 24px 6px rgba(0, 0, 0, 0.09);
        z-index:30;
    }
    
    .tcn-hero-slidetext-dsktp-btn {
        display:none !important;
    }
    
    .tcn-hero-slidetext-mb-btn {
        display: flex !important;
        width: 100%;
        justify-content: center;
        gap: 0px;
        background: linear-gradient(to bottom, #ec9598 0%, #ec9598 6px, transparent 6px);
        z-index:1;
    }
    
    .tcn-hero-slidetext-mb-btn figure {
        width: 59px !important;
        height: 44px !important;
        overflow: hidden !important;
    }
    
    .tcn-hero-slidetext-mb-btn figure img {
        width: 59px !important;
        height: 44px !important;
    }
    
    .tcn-hero-slidetext-mb-btn p {
        background: #ec9598;
        line-height: 44px;
        padding-left: 2px;
        padding-right: 2px;
        margin-left: -2px;
        margin-right: -2px;
    }
    
    .tcn-hero-slidetext-mb-btn p a {
        text-decoration: none;
        font-weight: 500;
        color: #fff;
        white-space:nowrap;
    }
    
    .tcn-hero-slidetext-title-holder h2 {
        font-size: 31.5px;
        color:#252525;
    }
    
    .tcn-hero-slidetext-title-holder h2 strong {
        font-size: 22.5px;
        display: block;
        margin-bottom:5px !important;
        color:#b21f23;
    }
    
    .tcn-hero-slidetext-sub-bordered {
        font-size: 16.4px;
    }
    
    .tcn-hero-slidetext-sub-bold {
        font-size: 16.4px;
    }
    
    .tcn-hero-slidetext-sub-regular {
        font-size: 16.4px;
    }
    
    .tcn-hero-slidecontrols {
        position:relative;
        display: flex;
        width: 100%;
        height: 38px;
        justify-content: flex-end;
        right:auto;
        margin-top: auto;
        z-index: 30;
        
    }
    
}

@media (max-width: 781px) {
    .tcn-hero-slidecontrols {
        height:38px;
    }

    .tcn-hero-slidecontrols-border-right {
        display:none;
    }
    
    .tcn-hero-slidecontrols-arrow-right {
        width: 38px;
        background-position: 20px center;
        margin-left: -2px !important;
        margin-right: 10px !important;
    }
    
    .tcn-hero-slidecontrols figure img {
    opacity:0.72;
    }
    
    .tcn-hero-slidecontrols-inner {
        height: 38px;
        background: rgb(255 255 255 / 72%);
        gap:0;
    }
    
}

@media (max-width: 520px) {
    .tcn-hero-slidetext-title-holder h2 {
        font-size:24.5px;
    }
    
    .tcn-hero-slidetext-title-holder h2 strong {
        font-size: 19px;
    }
    
    .tcn-hero-slidetext-sub-bordered {
        font-size: 14.5px;
        letter-spacing: -0.1px;
    }
    
    .tcn-hero-slidetext-sub-bold {
        font-size: 14.5px;
        letter-spacing: -0.1px;
    }
    
    .tcn-hero-slidetext-sub-regular {
        font-size: 14.5px;
        letter-spacing: -0.3px;
    }
    
    .tcn-hero-slidetext-title-holder {
        padding-top: 21px;
        padding-bottom: 21px;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .tcn-hero-slidetext-sub-holder {
        padding-top: 10px;
        padding-bottom: 10px;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .tcn-hero-slidetext-sub-bordered {
        font-size: 14.5px;
        letter-spacing: -0.1px;
    }
    
    .tcn-hero-slidetext-sub-bold {
        font-size: 14.5px;
        letter-spacing: -0.1px;
    }
    
    .tcn-hero-slidetext-sub-regular {
        font-size: 14.5px;
        letter-spacing: -0.3px;
    }
    
}


/* ----------------------------------------------------------------------- */
/* HOMEPAGE: HERO SLIDES GENERAL */


.tcn-hero-slide4-thumb,
.tcn-hero-slide4-bottombtn,
.tcn-hero-slide4-title,
.tcn-hero-slide4-subtitle,
.tcn-hero-slide4-bottombtn,


.tcn-hero-slide2-thumb,
.tcn-hero-slide2-bottombtn,
.tcn-hero-slide2-title,
.tcn-hero-slide2-subtitle,
.tcn-hero-slide2-bottombtn,


.tcn-hero-slide3-thumb,
.tcn-hero-slide3-bottombtn,
.tcn-hero-slide3-title,
.tcn-hero-slide3-subtitle,
.tcn-hero-slide3-bottombtn
{
    display:none;
}

.tcn-hero-slide4-macro figure img,
.tcn-hero-slide4-thumb figure img, 

.tcn-hero-slide2-macro figure img,
.tcn-hero-slide2-thumb figure img,

.tcn-hero-slide3-macro figure img, 
.tcn-hero-slide3-thumb figure img {
    opacity:0;
}

.tcn-hero-macro, .tcn-hero-macro figure, .tcn-hero-slide-img, .tcn-hero-slide-img figure {
    margin-block-start:0;
}

.slide-img-1120 {
    display:block;
}

.slide-img-1280, .slide-img-781 {
    display:none;
}

.tcn-hero-macro, .tcn-hero-macro figure {
    position:absolute;
    bottom:0px;
}

.tcn-hero-macro {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.tcn-hero-slide-img {
    overflow: hidden;
    z-index: -2;
    position: absolute;
    top: 0px;
    margin-block-start:0;
}

.tcn-hero-slide-img, .tcn-hero-slide-img figure, .tcn-hero-slide-img figure img {
    width: 1120px;
    height: 545px;
}

@media (max-width: 1280px) {
    .slide-img-1280 {
        display:block;
    }

    .slide-img-781, .slide-img-1120 {
        display:none;
    }

    .tcn-hero-slide-img {
        width:100%;
        height: 520px;
    }

    .tcn-hero-slide-img figure, 
    .tcn-hero-slide-img figure img {
        width: clamp(1068px, 42.48vw + 736.19px, 1280px);
        height: clamp(520px, 20.64vw + 358.79px, 623px);
    }
    
    .tcn-hero-macro {
        bottom: 40px;
    }
}

@media (max-width: 781px) {
    .slide-img-781 {
        display:block;
    }

    .slide-img-1280, .slide-img-1120 {
        display:none;
    }
    
    .tcn-hero-slide-img {
        width:100%;
    }
    
    .tcn-hero-slide-img figure {
        width:100%;
        height: 100%;
    }
    
    .tcn-hero-slide-img figure img {
        width:100%;
        height:100%;
        object-fit: cover;
        object-position: center center;
    }
    
    .tcn-hero-macro {
        /*background:red;*/
        /*opacity:0.7;*/
        /*border:2px solid #fff;*/
        overflow-x:visible;
    }
}


/* ----------------------------------------------------------------------- */
/* HOMEPAGE: HERO SLIDE-1 IMG */

.tcn-hero-slide1-img {
    left: 50%;
    transform: translate(-50%, 0px);
}

@media (max-width: 1280px) {
     .tcn-hero-slide1-img figure {
        position:absolute;
        left: clamp(-200px, 40.08vw - 513.03px, 0px);
    }
}

@media (max-width: 781px) {
    .tcn-hero-slide1-img figure {
        left:0;
    }
    
}




/* ----------------------------------------------------------------------- */
/* HOMEPAGE: HERO SLIDE-2 IMG */

.tcn-hero-slide2-img {
    right:0px;
    transform: none;
}

@media (max-width: 1280px) {
     .tcn-hero-slide2-img figure {
        position:absolute;
        top: clamp(-90px, -18.04vw + 140.86px, 0px);
    }
}

@media (max-width: 781px) {
    .tcn-hero-slide2-img figure {
        top:0;
    }
}



/* ----------------------------------------------------------------------- */
/* HOMEPAGE: HERO SLIDE-3 IMG */

@media (max-width: 1540px) {
    .tcn-hero-slide3-img {
        right: clamp(-40px, 15.38vw - 236.92px, 0px);
        transform: none;
    }
}

@media (max-width: 1280px) {
     .tcn-hero-slide3-img {
        left:0px;
        right:auto;
        transform:none;
    }
    .tcn-hero-slide3-img figure {
        position:absolute;
        left: clamp(-200px, 40.08vw - 513.03px, 0px);
    }
}

@media (max-width: 781px) {
    .tcn-hero-slide3-img figure {
        left:0;
        position:relative;
    }
    .tcn-hero-slide3-img figure img {
        width: 105%;
        height: 105%;
        object-fit: cover;
        top: -35px;
        position: absolute;
    }
}


/* ----------------------------------------------------------------------- */
/* HOMEPAGE: HERO SLIDE-4 IMG */

@media (max-width: 1540px) {
    .tcn-hero-slide4-img {
        right: clamp(-180px, 69.23vw - 1066.15px, 0px);
        transform: none;
    }
}

@media (max-width: 1280px) {
    .tcn-hero-slide4-img {
        left:0px;
        right:auto;
        transform:none;
    }
    
}


/* ----------------------------------------------------------------------- */
/* HOMEPAGE: HERO SLIDE-1 MACRO */

@media (max-width: 1920px) {
    .tcn-hero-slide1-macro figure {
        left: clamp(-144px, 37.89vw - 727.58px, 0px);
    }        
}

@media (max-width: 1280px) {
    .tcn-hero-slide1-macro figure {
        bottom: clamp(-79px, -10.62vw + 56.95px, -26px);
        width: clamp(410px, 18.04vw + 269.14px, 500px);
        left: clamp(-22px, -2.20vw + 6.22px, -11px);
    }
}

@media (max-width: 781px) {
    .tcn-hero-slide1-macro figure {
        width: 90%;
        height: 90%;
        position: absolute;
        left:-30px;
        bottom:0;
    }
}


/* ----------------------------------------------------------------------- */
/* HOMEPAGE: HERO SLIDE-2 MACRO */

.tcn-hero-slide2-macro figure {
    bottom:-47px;
}

@media (max-width: 1920px) {
    .tcn-hero-slide2-macro figure {
        left: clamp(-184px, 48.42vw - 929.68px, 0px);
    }        
}


@media (max-width: 1280px) {
    .tcn-hero-slide2-macro figure {
        bottom: clamp(-83px, -5.01vw - 18.87px, -58px);
        left: clamp(-156px, -3.41vw - 112.39px, -139px);
    }
    .tcn-hero-slide2-macro figure img {
        width: clamp(459px, 7.21vw + 402.66px, 495px);
    }
}

@media (max-width: 781px) {
    .tcn-hero-slide2-macro figure {
        width: 75%;
        height: 75%;
        position: absolute;
        left:-30px;
        bottom:0;
    }
}


/* ----------------------------------------------------------------------- */
/* HOMEPAGE: HERO SLIDE-3 MACRO */

.tcn-hero-macro .tcn-hero-slide3-macro-box2 {
	left: 25px;
	bottom: -122px;
}
.tcn-hero-macro .tcn-hero-slide3-macro-box1 {
	left: 0px;
	bottom: -128px;
}

@media (max-width: 1920px) {
    .tcn-hero-macro .tcn-hero-slide3-macro-box2 {
    	left: clamp(-51px, 20.00vw - 359px, 25px);
	    bottom: clamp(-122px, -17.37vw + 211.47px, -56px);
    }        
    .tcn-hero-macro .tcn-hero-slide3-macro-box2 img {
        width: clamp(427px, 21.32vw + 98.74px, 508px);
    }
    
    .tcn-hero-macro .tcn-hero-slide3-macro-box1 {
	    left: clamp(-53px, 13.95vw - 267.79px, 0px);
	    bottom: clamp(-128px, -19.74vw + 250.95px, -53px);
    }        
    .tcn-hero-macro .tcn-hero-slide3-macro-box1 img {
	    width: clamp(290px, 14.47vw + 67.11px, 345px);
    }
    
}

@media (max-width: 1280px) { 
    .tcn-hero-macro .tcn-hero-slide3-macro-box2 {
    	left: clamp(18px, 4.21vw - 14.87px, 39px);
        bottom: clamp(-159px, -6.21vw - 79.48px, -128px);
    }        
    .tcn-hero-macro .tcn-hero-slide3-macro-box2 img {
        width: clamp(382px, 9.02vw + 311.57px, 427px);
    }
    
    .tcn-hero-macro .tcn-hero-slide3-macro-box1 {
	    bottom: clamp(-154px, -4.21vw - 100.13px, -133px);
	    left: 0px;
    }        
    .tcn-hero-macro .tcn-hero-slide3-macro-box1 img {
	    width: clamp(260px, 6.01vw + 213.05px, 290px);
    }
}

@media (max-width: 781px) {
    .tcn-hero-slide3-macro .tcn-hero-slide3-macro-box2 {
        left: 23px;
        bottom: -33px;
        width: 90%;
        height: 90%;
        position: absolute;
    }
    
    .tcn-hero-slide3-macro .tcn-hero-slide3-macro-box1 {
        left: 0;
        bottom: 61px;
        width: 65%;
        height: 65%;
        position: absolute;
        
    }
}



/* ----------------------------------------------------------------------- */
/* HOMEPAGE: HERO SLIDE-4 MACRO */
    
.tcn-hero-macro .tcn-hero-slide4-macro-layer3 {
	left: 182px;
	bottom: -187px;
}
.tcn-hero-macro .tcn-hero-slide4-macro-layer2 {
	left: 108px;
	bottom: -155px;
}

.tcn-hero-macro .tcn-hero-slide4-macro-layer1 {
	left: 11px;
	bottom: -134px;
}


@media (max-width: 1920px) {
    .tcn-hero-macro .tcn-hero-slide4-macro-layer3 {
    	left: clamp(30px, 40.00vw - 586px, 182px);
        bottom: clamp(-187px, -15.26vw + 106.05px, -129px);
    }   
    
    .tcn-hero-macro .tcn-hero-slide4-macro-layer3 img {
        width: clamp(274px, 8.16vw + 148.37px, 305px);
    }
    
    .tcn-hero-macro .tcn-hero-slide4-macro-layer2 {
	    left: clamp(-19px, 33.42vw - 533.68px, 108px);
        bottom: clamp(-155px, -13.16vw + 97.63px, -105px);
    }   
    
    .tcn-hero-macro .tcn-hero-slide4-macro-layer2 img {
	    width: clamp(260px, 7.63vw + 142.47px, 289px);
    }
    
    .tcn-hero-macro .tcn-hero-slide4-macro-layer1 {
	    left: clamp(-84px, 25.00vw - 469px, 11px);
        bottom: clamp(-134px, -11.58vw + 88.32px, -90px);
    }        
    .tcn-hero-macro .tcn-hero-slide4-macro-layer1 img {
	    width: clamp(259px, 7.63vw + 141.47px, 288px);
    }
}

@media (max-width: 1280px) {
    .tcn-hero-macro .tcn-hero-slide4-macro-layer3 {
        left: clamp(-30px, 10.62vw - 112.95px, 23px);
        bottom: clamp(-307px, 6.41vw - 357.08px, -275px);
    }   
    
    .tcn-hero-macro .tcn-hero-slide4-macro-layer3 img {
        width: 305px;
    }
    
    .tcn-hero-macro .tcn-hero-slide4-macro-layer2 {
        left: clamp(-83px, 12.02vw - 176.91px, -23px);
        bottom: clamp(-291px, 7.01vw - 345.78px, -256px);
    }   
    
    .tcn-hero-macro .tcn-hero-slide4-macro-layer2 img {
	    width: 289px;
    }
    
    .tcn-hero-macro .tcn-hero-slide4-macro-layer1 {
        left: clamp(-144px, 12.83vw - 244.17px, -80px);
        bottom: clamp(-287px, 7.62vw - 346.47px, -249px);
    }        
    .tcn-hero-macro .tcn-hero-slide4-macro-layer1 img {
	    width: 288px;
    }
}

@media (max-width: 781px) {
    .tcn-hero-slide4-macro .tcn-hero-slide4-macro-layer3 {
        width: 67%;
        height: 67%;
        bottom: 16px;
        left: -18px;
    }
    
    .tcn-hero-slide4-macro .tcn-hero-slide4-macro-layer2 {
        width: 77%;
        height: 77%;
        bottom: 46px;
        left: -66px;
        width: 67%;
        height: 67%;
    }
    
    .tcn-hero-slide4-macro .tcn-hero-slide4-macro-layer1 {
        width: 77%;
        height: 77%;
        bottom: 49px;
        left: -113px;
        width: 67%;
        height: 67%;
    }
}





/* ----------------------------------------------------------------------- */
/* HOMEPAGE: TOP PROD THUMBS */

.tcn-hcats-section {
    z-index:1;
    margin-block-start:0;
    margin-top:66px;
    visibility:hidden;
}

.tcn-product-thumbs-holder {
    margin-block-start:0;
}

.tcn-product-thumbs-holder-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content:space-between;
}

.tcn-product-thumb {
    flex: 1 1 calc(25% - 33.75px); /* size items, adjust for 45px gap */
    box-sizing: border-box;
    min-width: 0;
    max-width: calc(25% - 33.75px); /* Cap max width to match initial 4 */
    background-color: #f0f0f0;
    position: relative;
    overflow:hidden;
    aspect-ratio: 1 / 1;
}

.tcn-product-thumb .thumb-img {
    margin-block-start:0;
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}

.tcn-product-thumb .product-thumb-inner-holder {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    /* Add this for vertical stacking */
    display: flex;
    flex-direction: column; 
}

.product-thumb-inner-holder .product-thumb-preloader-holder {
    flex-grow: 1;
    width: 100%; 
    margin-block-start:0;
}

.tcn-product-thumb p {
    flex-shrink: 0; 
    width: 100%;
}


.tcn-product-thumb p {
    top: 0;
    left: 0;
    z-index: 1;
    background: #ffffffd6;
    width: 100%;
    display: flex;
    margin-block-start:0;
}

.tcn-product-thumb p a {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 12px;
    padding-bottom: 12px;
    text-decoration: none;
    color: #292929;
    font-size: 21.5px;
    font-weight: 500;
    width: 100%;
}


@media (max-width: 1400px) { 
    .tcn-product-thumb p a {
        font-size:18.5px;
    }
    
}

@media (max-width: 1250px) {
    .tcn-product-thumbs-holder-inner {
        gap: 20px;
    }
    
    .tcn-product-thumb {
        flex: 1 1 calc(25% - 15px);
        max-width: calc(25% - 15px); /* Adjust max width for 20px gap */
    }
    
    .tcn-product-thumb p a {
        font-size: 16.5px;
        letter-spacing: -0.3px;
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 10px;
    }
    
}


@media (max-width: 1000px) {
    .tcn-product-thumbs-holder-inner {
        gap: 20px;
    }
    
    .tcn-product-thumb {
        flex: 1 1 calc(50% - 10px); /* 2 columns */
        max-width: calc(50% - 10px); /* Cap to prevent over-expansion */
    }
    
    .tcn-product-thumb p a {
        font-size:19.5px;
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 12px;
        padding-bottom: 12px;
    }
    
}

@media (max-width: 781px) {
    .tcn-hcats-section {
        margin-top:30px;
    }
    
    .tcn-product-thumb p a {
        font-size: 16.5px;
        letter-spacing: -0.3px;
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 10px;
    }
}


@media (max-width: 480px) {
    .tcn-product-thumbs-holder-inner {
        flex-direction: column;
        gap: 20px 0; 
    }
    
    .tcn-product-thumb {
        flex: 1 1 100%;
        max-width: 100%;
        width: 100%;
    }
    
    .tcn-product-thumb p a {
        font-size: var(--wp--preset--font-size--medium);
        letter-spacing: 0px;
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 10px;
    }
    
    
}


/* ----------------------------------------------------------------------- */
/* HOMEPAGE: SDI SECTION */

.tcn-sdi {
    margin-top: -20px;
    background:#f0f4ff;
    overflow:hidden;
}

.tcn-sdi-bg-img {
    z-index: 0;
    background: url('https://tcn.com.ph/wp-content/uploads/2025/10/homepage_sdi_section_bg.jpg') no-repeat center;
    width:100%;
    height:100%;
    position:absolute;
    left:0px;
}

.tcn-sdi-topbg {
    z-index:0;
    position:relative;
    max-width:fit-content;
    gap:0px;
    margin-block-start:0;
}

.tcn-sdi-topbg-mid {
    width:320px;
    height:53px;
    background:#ffffff;
}

.tcn-sdi-right {
    background: url('https://tcn.com.ph/wp-content/uploads/2025/11/homepage_tcn_faded_logo-1.webp') no-repeat right 30px;
}

.tcn-hcats-btn {
    margin-block-start:0;
    margin-top:66px !important;
}

.tcn-hcats-btn a {
    background: url('https://tcn.com.ph/wp-content/uploads/2025/11/logo.svg') no-repeat left 22px top 10px !important;
    background-size: 58px 31px !important;
    padding-left: 87px !important;
    padding-top: 13px !important;
    padding-bottom: 14px !important;
    padding-right: 14px !important;
}

.tcn-hcats-btn a strong {
    padding-left: 32px;
    color: #fff;
    font-weight: 800;
}
.tcn-hcats-btn {
    background: linear-gradient(to right, #f3f3f3 0%, #f3f3f3 calc(100% - 56px), #b32024 calc(100% - 56px), #b32024 100%) !important;
    box-shadow:none !important;
    border-radius:14px !important;
}

.tcn-hcats-btn a::after {
    display: none !important;
    margin:0 !important;
}

.tcn-sdi-cols {
    gap: 2.9%;
    padding-top:6px;
    padding-bottom:87px;
}
.tcn-sdi-cols figure {
    display: flex;
    justify-content: center;
}

.tcn-sdi-cols h2, .tcn-sdi-cols p {
    margin-block-start:0px;
}

.tcn-sdi-cols h2 {
    padding-bottom: 18px;
    padding-top: 4px;
}

.tcn-sdi .tcn-hero-slidetext-dsktp-btn {
    margin-top: 28px !important;
}

.tcn-sdi-holder {
    margin-block-start:0;
}

.tcn-sdi .tcn-subtitle-style1  {
    padding-top:30px;
}
.tcn-sdi .tcn-btn-style1 {
    margin-bottom:30px !important;
}

@media (max-width: 1400px) { 
    .tcn-sdi-bg-img {
        z-index: 0;
        background: url('https://tcn.com.ph/wp-content/uploads/2025/10/homepage_sdi_section_bg.jpg') no-repeat center top;
        background-size: 130%;
        background-position: center 0px;
    }
    
}

@media (max-width: 1000px) { 
    .tcn-sdi-left {
        flex-basis:30% !important;
    }
    
    .tcn-sdi-right {
        flex-basis:70% !important;
    }
    .tcn-sdi-cols {
        gap:4%;
    }
    .tcn-sdi-right {
        background:none;
    }
}

@media (max-width: 781px) { 
    .tcn-sdi-cols {
        padding-top:40px !important;
    }
    .tcn-sdi p, .tcn-sdi h2 {
        text-align:center;
    }
    .tcn-sdi-right { 
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .tcn-sdi-cols {
        padding-bottom:23px !important;
    }
    
    .tcn-sdi {
        display: flex;
        align-content: flex-start;
        flex-wrap: wrap;
        overflow: hidden;
        margin-top:-18px;
    }

    .tcn-sdi-bg-img {
        background: url('https://tcn.com.ph/wp-content/uploads/2026/01/homepage_sdi_section_bg_mb2.jpg') no-repeat center top / 180%;
    }
    
    .tcn-hcats-btn {
        margin-top:30px !important;
    }
        
}

@media (max-width: 480px) {
    .tcn-hcats-btn a {
        background:none !important;
        padding-left: 23px !important;
        padding-top: 12px !important;
        padding-bottom: 12px !important;
        padding-right: 14px !important;
    }
    
    .tcn-sdi-topbg-mid {
        width:220px;
    }
    
    .tcn-sdi-topbg {
        width: 368px;
        max-width: 368px;
    }
    
    .tcn-sdi-topbg figure img {
        width:74px;
        height:48px;
    }
    .tcn-sdi-topbg-mid {
        height:48px;
    }
    .tcn-sdi {
        display: flex;
        align-content: flex-start;
        flex-wrap: wrap;
        overflow: hidden;
        margin-top:-18px;
    }
    
    .tcn-sdi-left figure img {
        width:207px;
    }
    .tcn-sdi-cols h2 {
        padding-bottom:16px;
    }
    .tcn-sdi .tcn-subtitle-style1 {
        padding-top:20px;
    }
    .tcn-sdi .tcn-btn-style1  {
        margin-block-start: 0;
        margin-top: 25px;
    }
    .tcn-sdi-cols {
        padding-top: 57px !important;
    }
    
}

/* ----------------------------------------------------------------------- */
/* HOMEPAGE: PROJECTS / REFERENCES SECTION */

.tcn-hrefr-section {
    margin-block-start:0;
    margin-top:66px !important;
}

.tcn-hrefr-section .tcn-product-thumbs-holder {
    margin-top:42px !important;
}

.tcn-hrefr-section .tcn-product-thumb {
    aspect-ratio: auto;
    background:none;
}

.tcn-hrefr-prod-thumb-holder {
    background: none;
    width: 43%;
    gap: 0px;
    margin-block-start:0;
    margin-top:14px;
    margin-left:0px !important;
}


.tcn-hrefr-prod-link-holder {
    position:relative;
    justify-content: flex-end;
    margin-block-start:0;
    width:80%;
    gap:0px;
    margin-right:0px !important;
}


.tcn-hrefr-section .tcn-playbtn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width:30%;
    cursor:pointer;
}

.tcn-hrefr-thumb {
    position:absolute;
    bottom:-9.5%;
    width:43%;
    left:0px;
}

.tcn-hrefr-prod-link-holder p {
    background: none;
    width:calc(100% - 20px);
    position:relative;
}

.tcn-hrefr-prod-link-holder p a {
    padding-left:0px;
    padding-top:10px;
    padding-bottom:10px;
    padding-right:30px;
    z-index:1;
    text-align: right;
}

.tcn-hrefr-prod-link-holder .wp-block-safe-svg-svg-icon {
    width:20px;
    height:23px;
    margin-left:-20px;
    z-index:0;
}
.tcn-hrefr-prod-link-holder .wp-block-safe-svg-svg-icon .safe-svg-inside {
    width:100% !important;
    height:auto !important;
}

@media (max-width: 1400px) {
    .tcn-hrefr-prod-link-holder .wp-block-safe-svg-svg-icon {
        width:17px;
        height:20px;
        margin-left:-17px;
        z-index:0;
    }
    
    .tcn-hrefr-prod-link-holder p a {
        padding-right:23px;
        z-index:1;
        text-align: right;
    }
    
}

@media (max-width: 1000px) {
    .tcn-hrefr-prod-link-holder .wp-block-safe-svg-svg-icon {
        width:17px;
        height:20px;
        margin-left:-17px;
        z-index:0;
    }
    
    .tcn-hrefr-thumb {
        bottom:-8.4%;
    }
    
}

@media (max-width: 520px) {
    .tcn-hrefr-section .tcn-product-thumbs-holder-inner {
        flex-direction: column;
        gap: 20px 0; 
    }
    
    .tcn-hrefr-section .tcn-product-thumb {
        flex: 1 1 100%;
        max-width: 100%;
    }
    
}

@media (max-width: 781px) {
    .tcn-hrefr-section {
        margin-top:43px !important;
    }
    .tcn-hrefr-section .tcn-product-thumbs-holder {
        margin-top:20px !important;
    }
}


/* ----------------------------------------------------------------------- */
/* HOMEPAGE: XP SECTION */

/*Note: two 100% within each other, one bg 50% left the other right */

.tcn-xp-section {
    margin-block-start:0;
    margin-top:66px !important;
}

.tcn-xp-section-holder {
    background:#1d3e6e url('https://tcn.com.ph/wp-content/uploads/2026/01/homepage_xp_bg_v2.webp') no-repeat center top;
    min-height:623px;
    margin-block-start:0;
}

.tcn-xp-section-holder-inner {
         background:url('https://tcn.com.ph/wp-content/uploads/2025/10/homepage_xp_right_bg.webp') no-repeat center top;
         min-height:623px;
}

.tcn-xp-right {
    padding-left:100px;
    padding-top:90px;
}

.tcn-xp-1000-top {
    display:none;
}

.tcn-xp-titlegroup-holder {
    background: url('https://tcn.com.ph/wp-content/uploads/2025/11/title_square_bg_2.webp') no-repeat left top;
    gap:3px;
}

.tcn-xp-title-holder {
    gap:0px;
    width: 100%;
    align-items: flex-end;
}

.tcn-xp-section-holder p {
    color:#ccd3e1;
}

.tcn-xp-titlegroup-holder .tcn-xp-subtitle {
    padding-top:6px !important;
    padding-left:12px;
    width: 100%;
    color:#edf0f6;
}
.tcn-xp-titlegroup-holder .tcn-xp-title-part1 {
    padding-left:12px;
    font-size:31.5px;
    font-weight:800;
    color:#edf0f6;
}
.tcn-xp-titlegroup-holder .tcn-xp-title-part2 {
    padding-left:12px;
    font-size:31.5px;
    font-weight:800;
    color:#edf0f6;
}

.tcn-xp-right .tcn-btn-style1 {
    margin-top:35px !important;
}



@media (max-width: 1440px) {
    .tcn-xp-section-holder-inner {
         background:url('https://tcn.com.ph/wp-content/uploads/2025/10/homepage_xp_right_bg.webp') no-repeat center top;
    }
    
    .tcn-xp-section-holder {
        background-position:-230px top;
    }
    
    .tcn-xp-titlegroup-holder .tcn-xp-title-part2 {
        font-size:24.5px;
        padding-bottom: 2px;
    }
    
    .tcn-xp-titlegroup-holder .tcn-xp-title-part1 {
        margin-right: -2px;
    }
}

@media (max-width: 1000px) {
    .tcn-xp-left {
        display:none !important;
    }
    
    .tcn-xp-section-holder-inner {
        background: #1d3e6e url('https://tcn.com.ph/wp-content/uploads/2025/10/homepage_xp_bg_1000_bot.webp') no-repeat center bottom / 100% auto;
        min-height:500px;
    }
    
    .tcn-xp-section-holder {
        background:none;
        min-height:auto;
    }
    
    .tcn-xp-right {
        padding-left: 0px;
        padding-top: 60px;
        padding-bottom: 27%;
        min-height:auto;
    }
    
    .tcn-xp-1000-top {
        display:block;
    }
    
}

@media (max-width: 781px) {
    .tcn-xp-section {
        margin-top:40px !important;
    }
}

@media (max-width: 480px) {
    .tcn-xp-titlegroup-holder .tcn-xp-title-part1 {
        font-size:24.5px;
    }
    
    .tcn-xp-titlegroup-holder .tcn-xp-title-part2 {
        font-size:19px;
    }
    
    .tcn-xp-section-holder-inner {
        min-height:auto;
    }
    .tcn-xp-right {
        padding-bottom:29%;
    }
    
}


/* ----------------------------------------------------------------------- */
/* HOMEPAGE: CLIENTS SECTION */

.tcn-clients-section {
    margin-block-start: 0;
    margin-top: -31px;
}

.tcn-clients-titlegroup {
    display: flex !important;
    width: 100%;
    justify-content: center;
    gap: 0px;
}
    
.tcn-clients-titlegroup figure {
    height: 31px !important;
    overflow: hidden !important;
}

.tcn-clients-titlegroup figure img {
    width: 45px !important;
    height: 31px !important;
    opacity:0.83;
}

.tcn-clients-titlegroup p {
    line-height:31px;
    margin:0px !important;
    padding:0px !important;
    padding-left:55px !important;
    padding-right:55px !important;
    color:#edf0f6;
    background: #1d3e6ed4;
}

.tcn-clients-contentgroup {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0px; 
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    max-width: 1040px;
    position:relative;
}

.tcn-clients-contentgroup .tcn-clients-regionborderimg {
    flex: 0 0 auto;
    margin: 0;
    width: 152px;
    height: 94px;
    cursor:pointer;
    opacity:1 !important;
    transform: none !important;
}

.tcn-clients-contentgroup .tcn-clients-regionborderimg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.tcn-clients-contentgroup > .tcn-clients-middle {
    flex: 1 1 auto;
    min-width: 0; 
    height: 94px; 
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent; 
    padding: 0px;
    box-sizing: border-box;
    background: #1d3e6e;
}

.tcn-clients-content {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    display: flex;
    justify-content: center;
    gap:50px;
}


.tcn-clients-content figure:nth-child(1) {
    margin-right: 23px;
    margin-left: 23px;
}

.tcn-clients-content figure:nth-child(3) {
    margin-left: 12px;
    margin-top:1px;
}


@media (max-width: 900px) {
    .tcn-clients-content {
        scale: 0.85;
    }
}

@media (max-width: 781px) {
    .tcn-clients-section-holder {
        overflow: hidden;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        align-content: center;
    }
    .tcn-clients-contentgroup {
        width:120%;
    }
    .tcn-clients-content {
        width: 63%;
        transform: translateX(-50%);
        gap: var(--wp--preset--spacing--50);
        left:50%;
        scale: 1;
    }
    
}

@media (max-width: 560px) {
    .tcn-clients-contentgroup .tcn-clients-regionborderimg img {
        width: 111px;
        height: 69px;
        object-fit: cover;
    }
    .tcn-clients-contentgroup .tcn-clients-regionborderimg {
        width: 103px;
        height: 69px;
    }
    .tcn-clients-contentgroup > .tcn-clients-middle {
        height:69px;
    }
    .js-logo-sizing {
        width:70%; /*something js reads, not applied on element */  
    }
    .tcn-clients-titlegroup p {
        padding-left:15px !important;
        padding-right:15px !important;
    }
    .tcn-clients-contentgroup {
        width: calc(100% + 130px);
    }
    
    .tcn-clients-content {
    	width: 61%;
        gap: 40px;
    }

    .tcn-clients-content figure:nth-child(1) {
    	margin-left: 7px;
        margin-right: 3px;
    }
    
    .tcn-clients-content figure:nth-child(3) {
    	margin-left: 0;
        margin-top: -3px;
    }
    
}

@media (max-width: 480px) {
    .tcn-clients-content {
        gap:30px;
    }
}



@media (max-width: 360px) {
    
}


/* ----------------------------------------------------------------------- */
/* HOMEPAGE: QA SECTION */

.tcn-qa-section {
    margin-block-start:0;
    margin-top:56px !important;
}

.tcn-qa-781-top {
    display:none;
}

.tcn-qa-holder-inner {
    align-items: flex-start;
    gap:30px;
}

.tcn-qa-question-holder {
    border: 1px solid #ced2de;
    border-radius: 16px;
    padding: 15px;
    padding-left: 53px;
    position: relative;
    background: url('https://tcn.com.ph/wp-content/uploads/2025/11/qa_icon.webp') no-repeat 17px 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor:pointer;
}

.tcn-questions-holder {
    width:80%;
}

.tcn-qa-questiongroup {
    margin-block-start:0;
    margin-top:25px;
}

.tcn-qa-question-holder p {
    font-weight:500;
    font-size:21.5px;
    width:calc(100% - 40px);
}
.tcn-qa-arrow {
    width: 26px;
    height: 13px;
    position: relative;
}

.tcn-qa-arrow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-left: 13px solid transparent;
    border-right: 13px solid transparent;
    border-top: 13px solid #c8383c;
    transform-origin: center;
    transition: transform 0.3s ease, border-top-color 0.3s ease;
}

.tcn-qa-answer-holder {
    margin-block-start:0;
    overflow:hidden;
}
.tcn-qa-answer-holder-inner {
    padding-top: 20px;
    padding-bottom: 15px;
}

.tcn-qa-answer-holder p {
    margin-block-start:0;
}

@media (max-width: 781px) {
    .tcn-questions-holder {
        width:100%;
    }
    
    .tcn-qa-question-holder {
        padding: 12px;
        background-image: none;
    }
    
    .tcn-qa-781-top {
        display: flex;
        overflow: hidden;
        height: 115px;
        align-items: center;
    }
    
    .tcn-qa-781-top img {
        margin-top: 30px;
    }
    
    .tcn-qa-img-right-outer {
        display:none;
    }
    
    .tcn-qa-question-holder p {
        font-size:17.5px;
    }
    
    .tcn-qa-questiongroup {
        margin-top:14px;
    }
    
}

@media (max-width: 560px) {
    .tcn-qa-answer-holder-inner {
        padding-top: 20px;
        padding-bottom: 12px;
    }
    .tcn-qa-questiongroup {
        margin-top:13px;
    }
    
}
@media (max-width: 480px) { 
    .tcn-qa-781-top {
        display: flex;
        overflow: hidden;
        height: 92px;
        align-items: center;
    }
    
    .tcn-qa-781-top img {
        margin-top: 20px;
    }
    
}


/* ----------------------------------------------------------------------- */
/* HOMEPAGE: ARTICLES SECTION */

.tcn-art-section {
    background: #FCFDFF;
    background: radial-gradient(circle,rgba(252, 253, 255, 1) 0%, rgba(248, 250, 254, 1) 100%);
    padding-top:68px;
    padding-bottom:68px;
    margin-block-start:0;
    margin-top:70px !important;
}
.tcn-art-holder {
    margin-block-start:0;
    margin-top:32px;
}

.tcn-art-title-holder h2 {
    font-size:24px;
    font-weight:500;
    color:#292929;
    border-bottom: 1px solid #ced0d3;
    padding-bottom:16px;
}

.tcn-art-row {
    align-items: flex-start;
    margin-block-start:0px;
    margin-top:50px;
}

.tcn-art-thumb {
    width:23%;    
}

.tcn-art-content {
    width:77%;
    padding-left:45px;
}

.tcn-art-date {
    font-weight: 500;
    font-size: 17.5px;
    background: url('https://tcn.com.ph/wp-content/uploads/2025/11/articles_calendar_icon.webp') no-repeat left 2px;
    padding-left: 31px;
}

.tcn-art-title {
    font-size: 27px;
    line-height: 29px;
    font-weight: 800;
    margin-block-start: 0;
    margin-top: 11px;
}

.tcn-art-desc {
    margin-block-start:0;
    margin-top: 14px;
}

.tcn-art-desc > p:first-child {
    margin-block-start:0;
    margin-top:0;
}

.tcn-art-link {
    margin-block-start:0;
    margin-top:14px;
}

@media (max-width: 781px) {
    .tcn-art-section {
        padding-top: 44px;
        padding-bottom: 44px;
        margin-top:50px !important;
    }
    
    .tcn-art-title-holder h2 {
        font-size:18.5px;
    }
    
    .tcn-art-row {
        flex-wrap: wrap !important;
    }
    
    .tcn-art-row > * {
        width: 100% !important; 
    }
    
    .tcn-art-content {
        padding-left:0px;
        padding-top:26px;
    }
    .tcn-art-title {
        font-size: 24.5px;
        line-height: 28px;
        font-weight: 800;
        margin-block-start: 0;
        margin-top: 11px;
    }
    
}


/* ----------------------------------------------------------------------- */
/* HOMEPAGE: INSTA SECTION */

.tcn-insta-section {
    margin-block-start:0;
    margin-top:66px;
}

.tcn-insta-title-holder {
    gap:32px;    
}

.tcn-insta-title {
    font-size: 27px;
    font-weight: 800;
    color: #292929;
    margin-top: -6px;
}

.tcn-insta-btn1-mb {
    display:none !important;
}

.tcn-insta-details, .tcn-insta-details-holder {
    gap:0px;
}

.tcn-insta-details p {
    padding-right:10px;
}

.tcn-insta-btn1 {
    margin-top:14px !important;
}
.tcn-insta-btn1-mb {
    margin-top:22px !important;
}

.tcn-insta-btn1 {
    background: linear-gradient(to right, #f4f4f4 0%, #f4f4f4 calc(100% - 30px - 14px), rgba(215, 36, 111, 1) calc(100% - 30px - 14px), rgba(215, 36, 111, 1) calc(100% - 17px), rgba(250, 144, 77, 1) 100%);
}
.tcn-btn-style1 .wp-block-button__link {
    padding: 6px 12px 8px 19px;
}

.tcn-insta-btn1 .wp-block-button__link::after {
    content: "";
    display: inline-block;
    width: 23px;
    height: 23px;
    background-image: url('data:image/svg+xml,<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 90.4 93.6" style="enable-background:new 0 0 90.4 93.6;" xml:space="preserve"><style type="text/css">.st0{fill:%23FFFFFF;}</style><path class="st0" d="M18.4,93.6C8.3,93.6,0,85.3,0,75.1V18.4C0,8.3,8.3,0,18.4,0h53.5c10.2,0,18.4,8.3,18.4,18.4v56.7c0,10.2-8.3,18.4-18.4,18.4H18.4z M18.4,8.6c-5.4,0-9.9,4.4-9.9,9.9v56.7c0,5.4,4.4,9.9,9.9,9.9H72c5.1,0,9.2-3.8,9.8-8.7h0V18.4c0-5.4-4.4-9.9-9.9-9.9H18.4z M45.2,74.8c-15.4,0-27.9-12.5-27.9-27.9s12.5-27.9,27.9-27.9s27.9,12.5,27.9,27.9S60.6,74.8,45.2,74.8z M45.2,27.4c-10.7,0-19.4,8.7-19.4,19.4c0,10.7,8.7,19.4,19.4,19.4c10.7,0,19.4-8.7,19.4-19.4C64.6,36.1,55.9,27.4,45.2,27.4z M72,24.3c-0.3,0-0.8,0-1.3-0.2l-0.9-0.3c-0.3-0.1-0.6-0.3-0.8-0.4l-0.2-0.1l-0.1,0c-0.4-0.3-0.7-0.5-0.9-0.7c-1.1-1.1-1.7-2.6-1.7-4.1c0-0.3,0-0.7,0.1-1.1c0-0.4,0.2-0.8,0.4-1.2c0.1-0.3,0.2-0.5,0.3-0.6l0.1-0.2l0.1-0.2l0.1-0.1c0.1-0.1,0.1-0.2,0.2-0.3c0.1-0.2,0.3-0.3,0.4-0.4c0.9-1.1,2.4-1.7,4-1.7c1.6,0,3.1,0.6,4.2,1.7c1.1,1.1,1.7,2.6,1.7,4.1c0,1.6-0.7,3.2-1.8,4.1C75,23.6,73.5,24.3,72,24.3z"/></svg>') !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin-left: 28px;
    margin-top: 0.5px;
}
.tcn-insta-thumbs-holder {
    margin-block-start:0;
    margin-top:30px;
}

.tcn-insta-thumbs-holder-inner {
    border-bottom:1px solid #d4d4d4;
    padding-bottom:30px !important;
    margin-bottom:23px !important;
}

.tcn-insta-thumbs-holder-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.tcn-insta-thumb {
    flex: 1 1 calc(16.666% - 33.33px); /* 6 items: 100%/6 = ~16.67%, gap: 40px × 5/6 */
    max-width: calc(16.666% - 33.33px);
    box-sizing: border-box;
    min-width: 0;
    position: relative;
}

@media (max-width: 1250px) {
    .tcn-insta-thumbs-holder-inner {
        gap: 20px;
    }
    
    .tcn-insta-thumb {
        flex: 1 1 calc(33.333% - 13.33px); /* 3 items: 100%/3, gap: 20px × 2/3 */
        max-width: calc(33.333% - 13.33px);
    }
    
    .tcn-insta-thumb p a {
        font-size: 16.5px;
        letter-spacing: -0.3px;
        padding: 10px;
    }
}

@media (max-width: 781px) {
    .tcn-insta-thumbs-holder-inner {
        gap: 20px;
        justify-content: space-between;
    }
    
    .tcn-insta-thumb {
        flex: 1 1 calc(50% - 10px); /* 2 items: 100%/2, gap 20px → 20 × 1/2 = 10px */
        max-width: calc(50% - 10px);
    }
    
    .tcn-insta-title {
        font-size: 24.5px;
    }
    .tcn-insta-title-holder {
        gap: 16px;
    }
    .tcn-insta-details p {
        font-size: 17.5px !important;
        padding-right: 7px;
    }
    .tcn-insta-btn1-mb {
        display: flex !important;
    }
    .tcn-insta-btn1-dsktp {
        display: none !important;
    }
    .tcn-insta-section {
        margin-top:40px !important;
    }
}

/* ----------------------------------------------------------------------- */
/* HOMEPAGE: FOOTER SECTION */

.tcn-footer-outer {
    margin-block-start:0;
    margin-top:70px;
}

.tcn-footer-section {
    padding-top: 87px;
    padding-bottom: 107px;
}
.tcn-footer-section p, .tcn-footer-section a {
    color: #f8f8f8 !important;
}
.tcn-footer-contact-mb {
    display: none !important;
}
.tcn-footer-contact-mb, .tcn-footer-contact-dsktp figure img {
    filter: brightness(0) invert(1);
}

.tcn-footer-contact-dsktp figure:nth-child(2), .tcn-footer-mb-firstline-icons  figure:nth-child(2) {
    margin-top:-2px !important;
}

.tcn-footer-left,
.tcn-footer-right {
    width: 50%;
}
.tcn-footer-left .tcn-footer-nav {
    gap: 0px;
}
.tcn-footer-left .tcn-footer-nav li {
    padding-right: 15px;
    padding-bottom: 3px;
    padding-top: 3px;
}
.tcn-footer-left .tcn-footer-nav li::after {
    content: "";
    display: inline-block;
    width: 4px;
    height: 4px;
    background: #545558;
    margin-left: 15px;
}
.tcn-footer-left .tcn-footer-nav li:last-child::after {
    display: none !important;
}
.tcn-footer-copy {
    border-top: 1px solid #3b3c3f;
    padding-top: 18px;
    margin-block-start: 0;
    margin-top: 39px;
}
.tcn-footer-copy p {
    color: #959595 !important;
}

.tcn-footer-holder-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 0px;
}

.tcn-footer-mb-firstline-icons {
    gap:9px;
    border-right:1px solid #56575a;
    padding-right:15px;
}
.tcn-footer-mb-firstline-holder {
    gap:15px;
}
.tcn-footer-mb-firstline-phone {
    gap:9px;
}
.tcn-footer-mb-email {
    margin-top:2px;
}

@media (max-width: 781px) {
    .tcn-footer-holder-inner {
        flex-direction: column;
    }
   
    .tcn-footer-right {
        order: -1;
    }
   
    .tcn-footer-left,
    .tcn-footer-right {
        width: 100%;
    }
    
    .tcn-footer-contact-mb {
        display: flex !important;
    }
    
    .tcn-footer-contact-dsktp {
        display: none !important;
    }
    
    .tcn-footer-nav {
        justify-content: center;
        margin-top: 14px !important;
    }
    .tcn-footer-copy p {
        text-align:center !important;
        width:100%;
    }
    
    .tcn-footer-section {
        padding-top: 45px;
        padding-bottom: 64px;
    }
    .tcn-footer-outer {
        margin-top:60px !important;
    }
    
}

@media (max-width: 480px) {
    .tcn-footer-left .tcn-footer-nav li {
        padding-right: 7px;
    }
    .tcn-footer-left .tcn-footer-nav li::after {
        margin-left: 7px;
    }
}



/* ----------------------------------------------------------------------- */
/* VIDS */

.tcn-vid {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0;
  padding: 40px;
  gap: 0px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.95);
  align-items: center;
  z-index: 99999 !important;
  visibility: hidden;
  opacity: 0;
  margin-block-start:0px
}

.tcn-vid-holder {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 100%;
  align-self: center;
}

.tcn-vid-close-btn {
  flex: 0 0 auto;
  width: 49px;
  height: 38px;
  background: #b21f23;
  margin-right:0px !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius:4px;
}

.tcn-vid-holder .tcn-vid-close-btn svg {
    width: 27px;
    height: 27px;
    pointer-events: none;
}

.tcn-vid-holder .tcn-vid-close-btn svg path {
    fill: none;
    stroke: #fff;
    stroke-width: 9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tcn-vid-holder .wp-block-video {
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tcn-vid-holder video {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.tcn-vid-subtitle {
  flex: 0 0 auto;
  padding: 0px;
  text-align: center;
  width: 100%;
  max-width: 1200px;
  margin-block-start:0px;
}


/* ----------------------------------------------------------------------- */
/* FIXES FOR HOMEPAGE ANIMATION ENTRY */

.tcn-sdi, .tcn-hrefr-section, .tcn-xp-section, .tcn-clients-section, .tcn-qa-section, .tcn-art-section, .tcn-insta-section, .tcn-footer-outer {
    display:none;
}

/* ----------------------------------------------------------------------- */
/* FIXES FOR HOMEPAGE HERO SLIDER */

body .is-layout-flex .tcn-hero-slide2-macro,
body .is-layout-flex .tcn-hero-slide3-macro,
body .is-layout-flex .tcn-hero-slide4-macro {
  display: none;
}

body .is-layout-flex .tcn-hero-slide2-title,
body .is-layout-flex .tcn-hero-slide3-title,
body .is-layout-flex .tcn-hero-slide4-title {
  display: none;
}

body .is-layout-flex .tcn-hero-slide2-subtitle,
body .is-layout-flex .tcn-hero-slide3-subtitle,
body .is-layout-flex .tcn-hero-slide4-subtitle {
  display: none;
}

body .is-layout-flex .tcn-hero-slide2-bottombtn,
body .is-layout-flex .tcn-hero-slide3-bottombtn,
body .is-layout-flex .tcn-hero-slide4-bottombtn {
  display: none;
}

body .is-layout-flex .tcn-hero-slide2-thumb,
body .is-layout-flex .tcn-hero-slide3-thumb,
body .is-layout-flex .tcn-hero-slide4-thumb {
  display: none;
}

.tcn-hero-slide1-img {
  z-index: 10;
}

.tcn-hero-slide2-img,
.tcn-hero-slide3-img,
.tcn-hero-slide4-img {
  z-index: 1;
}

.tcn-hero-slide1-title {
  z-index: 10;
}

.tcn-hero-slide2-title,
.tcn-hero-slide3-title,
.tcn-hero-slide4-title {
  z-index: 1;
}

.tcn-hero-slide1-subtitle {
  z-index: 10;
}

.tcn-hero-slide2-subtitle,
.tcn-hero-slide3-subtitle,
.tcn-hero-slide4-subtitle {
  z-index: 1;
}

.tcn-hero-slide1-bottombtn {
  z-index: 10;
}

.tcn-hero-slide2-bottombtn,
.tcn-hero-slide3-bottombtn,
.tcn-hero-slide4-bottombtn {
  z-index: 1;
}

.tcn-hero-slide1-img figure img,
.tcn-hero-slide2-img figure img,
.tcn-hero-slide3-img figure img,
.tcn-hero-slide4-img figure img {
    opacity: 0;
    transform: scale(1.1);
}


