/*
Theme Name: Stakri X
Theme URI: https://stakri-x.com
Author: Stakri-X
Author URI: https://stakri-x.com
Description: Next-Gen Automotive Tools Platform — WooCommerce theme with wholesale/B2B pricing, ACF, Swiper, and custom vehicle/repair taxonomies. Built by Stakri X.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stakrix
Tags: woocommerce, custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
WC requires at least: 8.0
WC tested up to: 8.9
*/

/* ─── DESIGN TOKENS ──────────────────────────────────────────── */
:root {
  /* Brand */
  --c-primary:      #0055B8;   /* Deep cobalt blue */
  --c-primary-dark: #003D8A;
  --c-primary-light:#1A74E4;
  --c-accent:       #00AAFF;   /* Electric cyan */
  --c-accent-glow:  rgba(0,170,255,0.18);
  --c-gold:         #F5A623;   /* Star/highlight gold */

  /* Neutrals */
  --c-dark:         #0A0F1E;
  --c-dark-2:       #111827;
  --c-dark-3:       #1C2535;
  --c-mid:          #374151;
  --c-muted:        #6B7280;
  --c-border:       #E5E7EB;
  --c-light:        #F3F6FB;
  --c-white:        #FFFFFF;

  /* Text */
  --t-dark:   #0A0F1E;
  --t-body:   #374151;
  --t-muted:  #6B7280;
  --t-white:  #FFFFFF;

  /* Typography */
  --font-head: 'Barlow', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --font-mono: 'Barlow', monospace;

  /* Spacing */
  --sp-xs:  0.5rem;
  --sp-sm:  1rem;
  --sp-md:  1.5rem;
  --sp-lg:  2rem;
  --sp-xl:  3rem;
  --sp-2xl: 4.5rem;
  --sp-3xl: 6.5rem;
  --sp-4xl: 10.5rem;

  /* Radius */
  --r-sm:  4px;
  --r-md:  8px;
  --r-lg:  14px;
  --r-xl:  20px;
  --r-full:9999px;

  /* Shadow */
  --shadow-card: 0 2px 16px rgba(0,85,184,0.08), 0 1px 4px rgba(0,0,0,0.06);
  --shadow-hover: 0 8px 32px rgba(0,85,184,0.18), 0 2px 8px rgba(0,0,0,0.10);
  --shadow-blue:  0 4px 24px rgba(0,170,255,0.22);

  /* Transitions */
  --ease: cubic-bezier(0.22,1,0.36,1);
  --dur:  0.28s;

  /* Layout */
  --container: 1320px;
  --gutter: 1.5rem;
}

/* ─── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--t-body);
  background: var(--c-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

h2{ font-size:36px; line-height:1.3;color: #000; font-weight:600;}
h3{ font-size:30px; line-height:1.3;font-weight:600;}

/* ─── CONTAINER ───────────────────────────────────────────────── */
.cubesgo-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.cubesgo-container--narrow { max-width: 960px; }
.cubesgo-container--wide   { max-width: 1480px; }



/* ─── common CSS ───────────────────────────────────────────────── */
p{ margin:0 0 24px 0;}
.btn--primary2{
	min-height: 54px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 25px;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: transform 0.2s ease, background 0.2s ease;
	background: #04316c;
  	color: #fff;
}
.btn--primary2:hover{background: #0055B8; color: #fff;}
.cubesgo-generic-main{ padding:60px 0;}







/* ─── SWIPER CUSTOM ──────────────────────────────────────────── */
.swiper-button-next,
.swiper-button-prev {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-card);
  color: var(--c-primary) !important;
  transition: background var(--dur), box-shadow var(--dur);
}
.swiper-button-next::after,
.swiper-button-prev::after { font-size: 14px !important; font-weight: 700; }
.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--c-primary);
  color: var(--t-white) !important;
  box-shadow: var(--shadow-hover);
}
.swiper-pagination-bullet {
  background: var(--c-border) !important;
  opacity: 1 !important;
}
.swiper-pagination-bullet-active {
  background: var(--c-primary) !important;
}



/* =========================================================
   HOME BLOG / ARTICLES
========================================================= */

.stkx-home-blog {
    padding: 90px 0 100px;
    background: #fff;
}

.stkx-blog-heading {
    text-align: center;
    margin-bottom: 45px;
}

.stkx-blog-eyebrow {
    display: block;
    color: #063774;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 10px;
}

.stkx-blog-heading h2 {
    margin: 0;
    color: #090909;
    font-size: 36px;
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: -0.5px;
}

/* Grid */

.stkx-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
}

/* Card */

.stkx-blog-card {
    min-width: 0;
}

/* Image */

.stkx-blog-image {
    display: block;
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 22px;
    background: #eef2f5;
}

.stkx-blog-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.stkx-blog-card:hover .stkx-blog-image img {
    transform: scale(1.04);
}

.stkx-blog-placeholder {
    width: 100%;
    height: 100%;
    background: #e9edf2;
}

/* Meta */

.stkx-blog-meta {
    margin-top: 22px;
    padding-left: 6px;

    color: #333;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 400;
}

.stkx-blog-meta span {
    margin: 0 4px;
}

/* Title */

.stkx-blog-title {
    margin: 10px 0 0;
    padding-left: 6px;

    font-size: 20px;
    line-height: 1.5;
    font-weight: 500;
}

.stkx-blog-title a {
    color: #111;
    text-decoration: none;
}

.stkx-blog-title a:hover {
    color: #063774;
}

/* Read More */

.stkx-blog-readmore {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0 0 6px;
    padding-bottom: 0px;
    color: #111;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;

    border-bottom: 2px solid #063774;
}

.stkx-blog-readmore span {
    font-size: 18px;
    line-height: 1;
    transition: transform .2s ease;
}

.stkx-blog-readmore:hover span {
    transform: translate(3px, -3px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .stkx-home-blog {
        padding: 70px 0 80px;
    }

    .stkx-blog-grid {
        gap: 25px;
    }

    .stkx-blog-image {
        height: 230px;
    }

    .stkx-blog-heading h2 {
        font-size: 32px;
    }

    .stkx-blog-title {
        font-size: 19px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .stkx-home-blog {
        padding: 55px 0 65px;
    }

    .stkx-blog-heading {
        margin-bottom: 30px;
    }

    .stkx-blog-eyebrow {
        font-size: 17px;
    }

    .stkx-blog-heading h2 {
        font-size: 28px;
    }

    .stkx-blog-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .stkx-blog-image {
        height: 240px;
        border-radius: 18px;
    }

    .stkx-blog-meta {
        margin-top: 16px;
    }

    .stkx-blog-title {
        font-size: 20px;
    }

}


/*Post Detail Page CSS Start*/
/* ── Single Blog Post (modern editorial) ────────────────────── */
main.stkx-post{ padding:70px 0;}
.stkx-post-head {
    max-width: 780px;
    padding: 0px 0 32px;
    text-align: center;
    margin: 0 auto;
}

.stkx-post-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #1261C9;
    text-decoration: none;
    margin-bottom: 16px;
}

.stkx-post-head h1 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 500;
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.1;
    color: #14213D;
    margin: 0 0 20px;
}

.stkx-post-meta {
    font-size: 14px;
    color: #6B7280;
}

.stkx-post-meta span { margin: 0 6px; }

.stkx-post-hero {
    max-width: 1100px;
    margin: 0 auto 48px;
    padding: 0 24px;
}

.stkx-post-hero img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    display: block;
}

.stkx-post-body {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
    color: #3D4759;
}

.stkx-post-body p { margin: 0 0 24px; }

.stkx-post-body h2,
.stkx-post-body h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 500;
    color: #14213D;
    margin: 40px 0 18px;
}

.stkx-post-body h2 { font-size: 28px; }
.stkx-post-body h3 { font-size: 22px; }

.stkx-post-body img {
    max-width: 100%;
    height: auto;
    margin: 32px 0;
}

.stkx-post-body blockquote {
    font-family: 'Fraunces', Georgia, serif;
    font-style: italic;
    font-size: 24px;
    line-height: 1.45;
    color: #14213D;
    margin: 40px 0;
    padding-left: 22px;
    border-left: 2px solid #2F5D56;
}

.stkx-post-body ul,
.stkx-post-body ol {
    margin: 0 0 24px;
    padding-left: 22px;
}

.stkx-post-tags {
    max-width: 800px;
    margin: 0px auto 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 24px;
    border-top: 1px solid #DAD6CC;
}

.stkx-post-tags a {
    font-size: 13px;
    padding: 6px 14px;
    background: #F5F4F0;
    color: #14213D;
    text-decoration: none;
    border-radius: 20px;
}

.stkx-post-related {
    margin: 72px 0 0;
    padding-top: 48px;
    border-top: 1px solid #DAD6CC;
}

.stkx-post-related h2 {
    font-weight: 600;
    font-size: 36px;
    color: #14213D;
    text-align: center;
    margin:20px 0 40px;
}

.stkx-post-related h3 {
    font-weight: 500;
    font-size: 20px;
    color: #14213D;
    text-align:left;
    margin:10px 0 0px;
}

@media (max-width: 640px) {
    .stkx-post-head { padding: 32px 0 24px; }
    .stkx-post-hero { padding: 0 16px; margin-bottom: 32px; }
    .stkx-post-body { font-size: 16px; }
    .stkx-post-body blockquote { font-size: 20px; }
}
/*Post Detail Page CSS End*/




