/*
Theme Name: Threecolts Product Updates
Version: 1.2.8
*/

:root{--surface:#fff;--border:#e6e9f0;--text:#232d40;--muted:#64748b;--heading:#1f2a44;--primary:#5f2af8;--primary-dark:#4b1fe2;--tag-bg:#f0ebff;--shadow:0 10px 30px rgba(20,20,43,.08)}
*{box-sizing:border-box}
body{margin:0;min-height:100vh;display:flex;flex-direction:column;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--text);background:#fff;line-height:1.55}
body>main{flex:1 0 auto}
a{text-decoration:none;color:inherit}
.tc-container{width:min(1180px,calc(100% - 52px));margin:0 auto}
.tc-site-header,.tc-site-footer{border-bottom:1px solid var(--border);background:#fff}
.tc-site-footer{border-top:1px solid var(--border);border-bottom:0}
.tc-site-header .tc-container,.tc-site-footer .tc-container{padding:14px 0}
.tc-site-title{margin:0;font-weight:700;color:#2c3a5a}

.tc-hero-shell{min-height:clamp(560px,82vh,780px);display:flex;align-items:center;margin-bottom:44px;background-color:#040912;background-image:url("assets/images/hero-gradient-bg.png");background-repeat:no-repeat;background-size:cover;background-position:center bottom}
.tc-hero-section{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:76px;align-items:center;width:100%;padding:56px 0 72px;color:#fff}
.tc-hero-copy h1{margin:0;color:#fff;font-family:Inter,"Segoe UI",Arial,sans-serif;font-weight:700;font-size:clamp(2.5rem,4.8vw,4rem);line-height:1.12;letter-spacing:-.01em}
.tc-hero-copy h2{margin:22px 0 12px;font-size:clamp(1.45rem,2.25vw,2rem);line-height:1.42;color:#fff;max-width:620px}
.tc-hero-visual{min-height:320px;max-width:560px;width:100%;margin-left:auto;border-radius:4px;overflow:hidden;aspect-ratio:16/9}
.tc-hero-visual img{display:block;width:100%;height:100%;object-fit:cover}
.tc-hero-fallback{position:relative;height:100%;min-height:320px;padding:24px;background:radial-gradient(circle at 80% 20%,#d8c7ff 0,#b58bff 35%,#8f5dff 62%,#7a47f4 100%);display:flex;align-items:center;justify-content:center}
.tc-fallback-chip{position:absolute;left:18px;top:18px;background:rgba(36,24,85,.28);color:#fff;border:1px solid rgba(255,255,255,.4);padding:6px 10px;border-radius:999px;font-size:.78rem;font-weight:600}
.tc-fallback-block{width:46%;height:58%;border-radius:10px;background:linear-gradient(180deg,#efe3ff 0,#d3bdff 100%);box-shadow:0 12px 30px rgba(20,20,43,.2)}
.tc-fallback-card{position:absolute;right:14%;top:50%;transform:translateY(-50%);width:28%;height:34%;border-radius:10px;background:#2a3d8f;box-shadow:0 12px 24px rgba(20,20,43,.35)}


.tc-section-title{margin:20px 0 12px;color:var(--heading);font-size:1.25rem}
.tc-update-date{margin:0 0 8px;color:var(--muted);font-size:.78rem;text-transform:uppercase;letter-spacing:.08em}
.tc-tag-list{margin-top:10px;display:flex;flex-wrap:wrap;gap:8px}
.tc-tag{display:inline-flex;padding:4px 10px;border-radius:999px;background:var(--tag-bg);color:#4f2bc2;font-size:.78rem;font-weight:600}
.tc-empty{border:1px dashed #d6dbea;border-radius:12px;padding:18px;color:var(--muted)}
.tc-pagination{display:flex;justify-content:center;align-items:center;gap:10px;margin:6px 0 40px}
.tc-pagination .page-numbers{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-width:48px;
	height:38px;
	padding:0 14px;
	border:0;
	border-radius:999px;
	background:#eef0f3;
	color:#475569;
	font-size:.96rem;
	font-weight:500;
	line-height:1;
}
.tc-pagination a.page-numbers:hover,.tc-pagination a.page-numbers:focus-visible{background:#e4e8ee;color:#1f2937}
.tc-pagination .current{background:#000;color:#fff;font-weight:600}
.tc-pagination .dots{background:transparent;min-width:auto;padding:0 6px;color:#94a3b8}
.tc-pagination .next,.tc-pagination .prev{padding:0 16px}
.tc-pagination .disabled{color:#94a3b8;background:#eef0f3;pointer-events:none}

.tc-product-promo{display:grid;gap:18px;margin:72px 0 48px}
.tc-product-promo-card{
	display:grid;
	grid-template-columns:minmax(0,1fr) 290px;
	background:#fff;
	border:1px solid #dce3ef;
	border-radius:20px;
	overflow:hidden;
	box-shadow:0 8px 24px rgba(17,24,39,.05);
}
.tc-product-promo-copy{padding:24px 28px}
.tc-product-promo-copy h3{
	margin:0 0 8px;
	color:#1f2937;
	font-family:Inter,"Segoe UI",Arial,sans-serif;
	font-size:clamp(1.15rem,1.45vw,1.9rem);
	line-height:1.2;
	font-weight:600;
	letter-spacing:0;
}
.tc-product-promo-copy p{
	margin:0;
	color:#475569;
	font-size:1.08rem;
	line-height:1.5;
	font-weight:400;
	max-width:760px;
}
.tc-product-promo-action{
	display:flex;
	align-items:center;
	justify-content:center;
	padding:20px 24px;
	border-left:1px solid #dce3ef;
	background:linear-gradient(180deg,#f9fbff 0%,#f4f7ff 100%);
}
.tc-product-promo-action a{
	display:grid;
	grid-template-columns:minmax(0,1fr) auto;
	width:100%;
	align-items:center;
	column-gap:14px;
	color:#111827;
	font-family:Inter,"Segoe UI",Arial,sans-serif;
	font-size:1.4rem;
	line-height:1.16;
	font-weight:600;
	text-decoration:none;
}
.tc-product-promo-link-text{
	max-width:205px;
	text-decoration:underline;
	text-underline-offset:2px;
	text-decoration-thickness:1px;
	text-decoration-skip-ink:auto;
}
.tc-product-promo-link-arrow{
	font-size:1.05em;
	line-height:1;
	text-decoration:none;
	transform:translateY(-2px);
}
.tc-product-promo-action a:hover,.tc-product-promo-action a:focus-visible{color:#1f2937}

.tc-gradient-button{
	border:2px solid transparent;
	border-radius:9999px;
	background:
		linear-gradient(#fff,#fff) padding-box,
		linear-gradient(to right,#1CC98C 0%,#24CBDE 20%,#57A9F7 40%,#BD52F9 60%,#EBB347 80%,#FFF845 100%) border-box;
	color:#0f172a;
	font-weight:700;
	box-shadow:none;
	transition:filter .2s ease,opacity .2s ease;
}

.tc-gradient-button:hover{filter:brightness(.98)}
.tc-gradient-button:active{filter:brightness(.96)}
.tc-gradient-button:focus-visible{outline:2px solid #94a3b8;outline-offset:2px}
.tc-search-button:hover,.tc-search-button:focus-visible{
	background:
		linear-gradient(#000,#000) padding-box,
		linear-gradient(to right,#1CC98C 0%,#24CBDE 20%,#57A9F7 40%,#BD52F9 60%,#EBB347 80%,#FFF845 100%) border-box;
	color:#fff;
	border-color:transparent;
	filter:none;
}

.tc-gradient-input-shell{
	position:relative;
	border:2px solid transparent;
	background:
		linear-gradient(#fff,#fff) padding-box,
		linear-gradient(to right,#1CC98C 0%,#24CBDE 20%,#57A9F7 40%,#BD52F9 60%,#EBB347 80%,#FFF845 100%) border-box;
}
.tc-gradient-input-shell::before{
	content:"";
	position:absolute;
	left:16px;
	top:50%;
	width:16px;
	height:16px;
	transform:translateY(-50%);
	background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23587dbd' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
	background-size:16px 16px;
	background-repeat:no-repeat;
	pointer-events:none;
}
.tc-gradient-input{
	border:0;
	background:transparent;
}
.tc-gradient-input:focus-visible{
	outline:2px solid #94a3b8;
	outline-offset:2px;
}

.wp-block-button__link{
	border:2px solid transparent;
	border-radius:9999px;
	background:
		linear-gradient(#fff,#fff) padding-box,
		linear-gradient(to right,#1CC98C 0%,#24CBDE 20%,#57A9F7 40%,#BD52F9 60%,#EBB347 80%,#FFF845 100%) border-box;
	color:#0f172a;
	font-weight:700;
	min-height:56px;
	padding:0 2.3rem;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	line-height:1;
	box-shadow:none;
	text-decoration:none;
}

.tc-single-main{background:#f8f8ff;padding:28px 0 42px}
.tc-single{padding-top:18px}
.tc-single-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:40px;align-items:start;border-top:1px solid #e8ecf5;padding-top:16px}
.tc-single-article{max-width:760px}
.tc-single-back{display:inline-block;margin-bottom:16px;font-size:.92rem;font-weight:600;color:#000}
.tc-single-back:hover,.tc-single-back:focus-visible{color:#1f2937}
.tc-single-date{margin:0 0 10px;color:#64748b;font-size:.72rem;letter-spacing:.22em;text-transform:uppercase;font-weight:700}
.tc-single-title{margin:0 0 16px;color:#1f2937;font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:clamp(2rem,4vw,3.35rem);line-height:1.05;max-width:720px}
.tc-single-tag-list{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 18px}
.tc-single-tag{display:inline-flex;align-items:center;border:2px solid #9ca3af;border-radius:999px;background:#fff;padding:6px 14px;color:#4b5563;font-size:.9rem;font-weight:600;line-height:1}
.tc-single-share{display:flex;gap:10px;margin-bottom:24px}
.tc-single-share a{width:20px;height:20px;border-radius:999px;background:#000;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:.68rem;font-weight:700;line-height:1}
.tc-single-share a:hover,.tc-single-share a:focus-visible{background:#374151;color:#fff}
.tc-single-content{max-width:680px}
.tc-single-content p{margin:0 0 14px;color:#475569;font-size:1.08rem;line-height:1.5}
.tc-single-sidebar-title{margin:8px 0 12px;font-size:1rem;color:#1f2937;font-weight:700}
.tc-single-product-cards{display:grid;gap:12px}
.tc-single-product-card{border-radius:16px;background:#fff;padding:16px 16px 14px;box-shadow:0 8px 24px rgba(17,24,39,.06)}
.tc-single-product-card h3{margin:0 0 8px;color:#1f2937;font-size:1.15rem;font-weight:700}
.tc-single-product-card p{margin:0 0 12px;color:#475569;font-size:.86rem;line-height:1.4}
.tc-single-product-card a{display:inline-flex;align-items:center;gap:6px;color:#111827;font-size:.84rem;font-weight:700}
.tc-single-related{margin-top:34px}

@media (max-width:980px){
  .tc-hero-shell{min-height:auto;margin-bottom:28px}
  .tc-hero-section{grid-template-columns:1fr;padding:40px 0 50px;gap:22px}
  .tc-hero-visual{max-width:100%;margin-left:0}
  .tc-product-promo-card{grid-template-columns:1fr}
  .tc-product-promo-copy{padding:20px}
  .tc-product-promo-copy h3{font-size:1.9rem}
  .tc-product-promo-copy p{font-size:1.02rem}
  .tc-product-promo-action{justify-content:flex-start;border-left:0;border-top:1px solid #dce3ef;padding:16px 20px}
  .tc-product-promo-action a{font-size:1.4rem}
  .tc-product-promo-link-text{max-width:none}
  .tc-product-promo-link-arrow{font-size:1em}
  .tc-single-layout{grid-template-columns:1fr;gap:24px}
  .tc-single-sidebar{max-width:680px}
}
