/*
Theme Name: TCS Pune
Theme URI: https://tcspune.in/
Author: Total Computer Solution
Description: Lightweight TCS Pune theme for the repair and operations portal.
Version: 8.8.7
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: tcs-pune
*/

/* V2.0 Microcontroller Community companion compatibility */
body.single-tcs_forum_question .site-main,
body.post-type-archive-tcs_forum_question .site-main,
body.single-tcs_project_gallery .site-main,
body.post-type-archive-tcs_project_gallery .site-main{width:min(1440px,calc(100% - 32px));max-width:none;margin-inline:auto}
body.single-tcs_forum_question .entry-content,
body.single-tcs_project_gallery .entry-content{max-width:none}

/* V7.2.3 TCS Tools nested Misc navigation */
.page-slug-microcontroller-lab .content-area,.single-tcs_micro_lesson .content-area{width:100%!important;max-width:none!important}.page-slug-microcontroller-lab .entry-content{max-width:none!important}.page-slug-microcontroller-lab .page-hero{background:radial-gradient(circle at 82% 18%,rgba(0,160,227,.34),transparent 35%),linear-gradient(135deg,#071f2b,#0b536e)!important}.page-slug-microcontroller-lab .page-hero :is(h1,p,.eyebrow){color:#fff!important}
.single-tcs_micro_device .content-area,.post-type-archive-tcs_micro_device .content-area{width:100%!important;max-width:none!important}.single-tcs_micro_device .site-main>.tcs-container,.post-type-archive-tcs_micro_device .site-main>.tcs-container{max-width:1720px!important}
.single-tcs_micro_code .content-area,.post-type-archive-tcs_micro_code .content-area{width:100%!important;max-width:none!important}.single-tcs_micro_code .site-main>.tcs-container,.post-type-archive-tcs_micro_code .site-main>.tcs-container{max-width:1720px!important}
.single-tcs_micro_fault .content-area,.post-type-archive-tcs_micro_fault .content-area{width:100%!important;max-width:none!important}.single-tcs_micro_fault .site-main>.tcs-container,.post-type-archive-tcs_micro_fault .site-main>.tcs-container{max-width:1720px!important}.single-tcs_micro_fault .entry-content{max-width:none!important}
.single-tcs_micro_project .content-area,.post-type-archive-tcs_micro_project .content-area{width:100%!important;max-width:none!important}.single-tcs_micro_project .site-main>.tcs-container,.post-type-archive-tcs_micro_project .site-main>.tcs-container{max-width:1720px!important}.single-tcs_micro_project .entry-content{max-width:none!important}
.single-tcs_iot_lab .content-area,.post-type-archive-tcs_iot_lab .content-area{width:100%!important;max-width:none!important}.single-tcs_iot_lab .site-main>.tcs-container,.post-type-archive-tcs_iot_lab .site-main>.tcs-container{max-width:1720px!important}.single-tcs_iot_lab .entry-content{max-width:none!important}
.single-tcs_robotics_lab .content-area,.post-type-archive-tcs_robotics_lab .content-area{width:100%!important;max-width:none!important}.single-tcs_robotics_lab .site-main>.tcs-container,.post-type-archive-tcs_robotics_lab .site-main>.tcs-container{max-width:1720px!important}.single-tcs_robotics_lab .entry-content{max-width:none!important}
.single-tcs_firmware_lab .content-area,.post-type-archive-tcs_firmware_lab .content-area{width:100%!important;max-width:none!important}.single-tcs_firmware_lab .site-main>.tcs-container,.post-type-archive-tcs_firmware_lab .site-main>.tcs-container{max-width:1720px!important}.single-tcs_firmware_lab .entry-content{max-width:none!important}
.single-tcs_assessment .content-area,.post-type-archive-tcs_assessment .content-area,.page-slug-verify-certificate .content-area{width:100%!important;max-width:none!important}.single-tcs_assessment .site-main>.tcs-container,.post-type-archive-tcs_assessment .site-main>.tcs-container,.page-slug-verify-certificate .site-main>.tcs-container{max-width:1720px!important}.single-tcs_assessment .entry-content,.page-slug-verify-certificate .entry-content{max-width:none!important}
@media(min-width:921px){.primary-nav .sub-menu .menu-item-has-children{position:relative}.primary-nav .sub-menu .menu-item-has-children>a{padding-right:29px}.primary-nav .sub-menu .menu-item-has-children>a:before{content:"›";right:12px;font-size:1rem}.primary-nav .sub-menu .sub-menu{top:-10px!important;left:calc(100% + 8px)!important;min-width:245px;max-height:70vh;overflow:auto}.primary-nav .sub-menu .sub-menu:before{content:"";position:absolute;right:100%;top:0;width:10px;height:100%}}
@media(max-width:920px){.primary-nav .sub-menu .sub-menu{margin-left:12px!important;border-left-color:#a7dcef!important}}

/* Engineering Student Projects Pro integration */
/* V7.2.0 directory and policy content presentation */
.post-type-archive-tcs_laptop_model .post-grid,.post-type-archive-tcs_problem .post-grid,.post-type-archive-tcs_area .post-grid,.post-type-archive-tcs_repair_case .post-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));align-items:stretch}.post-type-archive-tcs_laptop_model .post-card,.post-type-archive-tcs_problem .post-card,.post-type-archive-tcs_area .post-card,.post-type-archive-tcs_repair_case .post-card{display:flex;flex-direction:column}.post-type-archive-tcs_laptop_model .post-card .text-link,.post-type-archive-tcs_problem .post-card .text-link,.post-type-archive-tcs_area .post-card .text-link,.post-type-archive-tcs_repair_case .post-card .text-link{margin-top:auto;padding-top:13px}.tcs-policy-page{max-width:none!important;display:block!important}.tcs-policy-page>h2:first-child{margin-top:0;padding:22px 25px;border-radius:18px;background:linear-gradient(135deg,#eaf8fe,#f8fcfe);border:1px solid #cfeaf5}.tcs-policy-page>h3{margin-top:26px!important;padding-top:20px!important;border-top:1px solid #dce9ef!important}.tcs-policy-page>p{max-width:1100px;font-size:16px;line-height:1.8;color:#536c77}
/* V7.1.9 global frontend width + contrast compatibility */
body:not(.home) .site-main .tcs-container{width:calc(100% - clamp(24px,3vw,52px))!important;max-width:1720px!important}body:not(.home) .site-main .content-area{width:100%!important;max-width:none!important;box-sizing:border-box}body:not(.home) .site-main :is(.tcs-kb-shell,.tcs-diag-shell,.tcs-seo-landing,.tcs-case-study,.tcs-ops-intro,.tcs-portal-head,.tcs-portal-login-grid,.tcs-portal-summary,.tcs-portal-repairs,.tcs-tech-job-list,.tcs-tech-editor,.tcs-my-devices,.tcs-seller-dashboard,.tcs-seller-login,.tcs-hr-portal,.tcs-pwa-shell,.tcs-ep-shell,.tcs-about-v2){width:100%!important;max-width:none!important;box-sizing:border-box}body:not(.home) .site-main .content-area>.tcs-form{width:100%!important;max-width:none!important}body:not(.home) .site-main :is(.tcs-kb-hero,.tcs-seller-head,.tcs-ep-hero,.tcs-ep-dashboard-head,.tcs-about-purpose article,.tcs-about-cta,.contact-info-panel) :is(h1,h2,h3,h4){color:#fff!important;text-shadow:0 1px 12px rgba(0,0,0,.18)}body:not(.home) .site-main :is(.tcs-kb-hero,.tcs-seller-head,.tcs-ep-hero,.tcs-ep-dashboard-head,.tcs-about-purpose article,.tcs-about-cta,.contact-info-panel) p{color:#d8edf6!important;opacity:1!important}body:not(.home) .site-main .tcs-kb-hero>span{color:#86e4ff!important}@media(max-width:640px){body:not(.home) .site-main .tcs-container{width:calc(100% - 20px)!important}.site-main .section{padding-left:0!important;padding-right:0!important}}
.page-slug-about-us .tcs-about-purpose h2,.page-slug-about-us .tcs-about-cta h2{color:#fff!important}
.tcs-page-hero-engineering-projects{background:radial-gradient(circle at 82% 18%,rgba(0,160,227,.32),transparent 34%),linear-gradient(135deg,#071f2b,#0b536e)!important}
.page-hero.tcs-page-hero-engineering-projects h1,.page-hero.tcs-page-hero-engineering-projects .tcs-page-hero-copy h1{color:#fff!important;text-shadow:0 2px 18px rgba(0,0,0,.2)}.page-hero.tcs-page-hero-engineering-projects p,.page-hero.tcs-page-hero-engineering-projects .tcs-page-hero-copy p{color:#d9f1fa!important;opacity:1!important}.page-hero.tcs-page-hero-engineering-projects .eyebrow{color:#31c5ff!important}.page-hero.tcs-page-hero-engineering-projects .tcs-breadcrumbs li,.page-hero.tcs-page-hero-engineering-projects .tcs-breadcrumbs span[aria-current="page"]{color:#c5e7f3!important}.page-hero.tcs-page-hero-engineering-projects .tcs-breadcrumbs li:not(:last-child):after{color:#7fc7df!important}.page-hero.tcs-page-hero-engineering-projects .tcs-breadcrumbs a{color:#07354a!important;background:#cbeffc!important;border-color:rgba(255,255,255,.45)!important}
.page-slug-about-us{position:relative}.page-slug-about-us>.tcs-rich-page,.page-slug-about-us>.tcs-about-page{max-width:1100px;margin:0 auto}.page-slug-about-us .tcs-about-page>h2{margin:38px 0 12px;padding-left:18px;border-left:5px solid #00a0e3;font-size:clamp(26px,3.5vw,38px)}.page-slug-about-us .tcs-about-page>h2:first-child{margin-top:0}.page-slug-about-us .tcs-about-page>p{font-size:17px;line-height:1.8;color:#526c78}.page-slug-about-us .tcs-about-page>ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;list-style:none;margin:22px 0;padding:0}.page-slug-about-us .tcs-about-page>ul li{position:relative;margin:0;padding:14px 15px 14px 43px;border:1px solid #d8e8ef;border-radius:13px;background:#f8fcfe}.page-slug-about-us .tcs-about-page>ul li:before{content:"✓";position:absolute;left:15px;color:#00a0e3;font-weight:900}@media(max-width:640px){.page-slug-about-us .tcs-about-page>ul{grid-template-columns:1fr}}
.tcs-about-v2{display:grid;gap:30px!important;max-width:1160px!important}.tcs-about-intro{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);gap:28px;align-items:center;padding:34px;border-radius:24px;background:linear-gradient(135deg,#f4fbfe,#e5f6fc);border:1px solid #cfe9f3}.tcs-about-intro h2{margin:7px 0 13px;font-size:clamp(28px,4vw,43px);color:#092b3a}.tcs-about-intro p{color:#4f6b77;font-size:17px;line-height:1.8}.tcs-about-kicker{color:#008ac2;font-size:12px;font-weight:900;letter-spacing:.13em;text-transform:uppercase}.tcs-about-experience{display:grid;place-items:center;min-height:240px;border-radius:20px;background:linear-gradient(135deg,#062838,#08799f);color:#fff;text-align:center;box-shadow:0 18px 45px rgba(6,56,78,.2)}.tcs-about-experience strong{display:block;font-size:76px;line-height:.9;color:#fff}.tcs-about-experience span{display:block;margin-top:12px;font-weight:800}.tcs-about-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.tcs-about-stats div{padding:20px;border:1px solid #d8e8ef;border-radius:16px;background:#fff;box-shadow:0 10px 28px rgba(12,58,79,.06)}.tcs-about-stats strong,.tcs-about-stats span{display:block}.tcs-about-stats strong{color:#008dc6;font-size:20px}.tcs-about-stats span{margin-top:5px;color:#617985;font-size:13px}.tcs-about-section{padding:30px;border:1px solid #dce9ef;border-radius:22px;background:#fff}.tcs-about-section h2{margin:6px 0 12px;color:#0b3041;font-size:clamp(27px,3.4vw,39px)}.tcs-about-section>p{color:#546e79;font-size:16px;line-height:1.75}.tcs-about-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:20px}.tcs-about-service-grid div{padding:17px;border-radius:14px;background:#f3fafc;border:1px solid #d9eaf1;font-weight:800;color:#183e4e}.tcs-about-service-grid div:before{content:"✓";margin-right:10px;color:#00a0e3}.tcs-about-purpose{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.tcs-about-purpose article{padding:29px;border-radius:21px;background:linear-gradient(145deg,#092d3c,#0d526c);color:#d8edf5}.tcs-about-purpose h2{color:#fff;margin:8px 0 10px}.tcs-about-purpose span{color:#39c7ff;font-weight:900;font-size:12px;letter-spacing:.12em;text-transform:uppercase}.tcs-about-values{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.tcs-about-values article{padding:20px;border:1px solid #d9e8ef;border-radius:16px;background:#fff}.tcs-about-values b{display:grid;place-items:center;width:38px;height:38px;margin-bottom:12px;border-radius:11px;background:#e6f7fd;color:#0088bb}.tcs-about-values h3{margin:0 0 7px}.tcs-about-values p{margin:0;color:#617783;font-size:14px;line-height:1.55}.tcs-about-cta{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:31px;border-radius:22px;background:#071f2b;color:#fff}.tcs-about-cta h2{color:#fff;margin:0}.tcs-about-cta p{color:#cce6f0;margin:7px 0 0}.tcs-about-cta a{white-space:nowrap;padding:13px 19px;border-radius:999px;background:#00a0e3;color:#fff;text-decoration:none;font-weight:900}@media(max-width:900px){.tcs-about-intro{grid-template-columns:1fr}.tcs-about-stats,.tcs-about-values{grid-template-columns:repeat(2,1fr)}.tcs-about-service-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:640px){.tcs-about-intro,.tcs-about-section{padding:21px}.tcs-about-stats,.tcs-about-values,.tcs-about-service-grid,.tcs-about-purpose{grid-template-columns:1fr}.tcs-about-cta{align-items:flex-start;flex-direction:column}.tcs-about-experience{min-height:190px}.tcs-about-experience strong{font-size:62px}}


body:not(.home) .site-main .tcs-container{max-width:none!important}

/* Customer Retention + Google Review Pro */
.tcs-retention-feedback{max-width:820px;margin:30px auto;padding:clamp(22px,4vw,42px);background:#fff;border:1px solid #dfe9ef;border-radius:24px;box-shadow:0 22px 60px rgba(15,45,66,.10)}
.tcs-retention-feedback .tcs-kicker{display:inline-flex;padding:7px 12px;border-radius:999px;background:#eaf8fe;color:#007db4;font-weight:800;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase}
.tcs-retention-feedback h2{font-size:clamp(1.8rem,4vw,3rem);margin:12px 0 8px;color:#222}
.tcs-rating{display:flex;gap:10px;flex-wrap:wrap;border:0;padding:0;margin:22px 0}.tcs-rating legend{width:100%;font-weight:800;margin-bottom:9px}.tcs-rating label{position:relative;cursor:pointer}.tcs-rating input{position:absolute;opacity:0;pointer-events:none}.tcs-rating span{display:grid;place-items:center;width:58px;height:58px;border:1px solid #dce7ed;border-radius:16px;font-size:28px;color:#c7d4da;background:#f8fbfc;transition:.2s}.tcs-rating small{display:block;text-align:center;margin-top:4px;color:#667}.tcs-rating input:checked+span,.tcs-rating label:hover span{color:#ffad00;border-color:#ffcf69;background:#fff9e8;transform:translateY(-2px)}
.tcs-google-review-cta{margin-top:24px;padding:18px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-radius:18px;background:linear-gradient(135deg,#edf9ff,#f8fbfc);border:1px solid #cdeafb}.tcs-google-review-cta strong{font-size:1.12rem}.tcs-google-review-cta p{margin:4px 0 0;color:#61737c}.tcs-review-note{font-size:.92rem;color:#6a7980;margin-top:16px}
@media(max-width:640px){.tcs-google-review-cta{align-items:flex-start;flex-direction:column}.tcs-rating span{width:50px;height:50px}}

/* V7.3 native, API-free Google review carousel */
.tcs-google-review-carousel{--google-blue:#4285f4}.tcs-google-review-summary{display:flex;align-items:center;gap:13px;padding:0 2px 18px}.tcs-google-g,.tcs-google-mini{display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#4285f4 0 45%,#34a853 46% 61%,#fbbc05 62% 78%,#ea4335 79%);font-weight:950;border-radius:50%}.tcs-google-g{width:46px;height:46px;font-size:1.45rem}.tcs-google-review-summary div{display:flex;flex-direction:column}.tcs-google-review-summary strong{color:#173846;font-size:1rem}.tcs-google-review-summary span{color:#6d7f88;font-size:.78rem;font-weight:700}.tcs-google-summary-stars{margin-left:auto!important;color:#f1aa00!important;letter-spacing:.08em;font-size:1.05rem!important}.tcs-google-review-card{min-height:285px}.tcs-google-review-card header{display:grid;grid-template-columns:44px 1fr 30px;gap:11px;align-items:center;margin-bottom:13px}.tcs-google-review-card header img,.tcs-review-initial{width:44px;height:44px;border-radius:50%;object-fit:cover}.tcs-review-initial{display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#008ec4,#61d5ff);font-weight:900}.tcs-google-review-card header div{display:flex;flex-direction:column;min-width:0}.tcs-google-review-card header strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tcs-google-review-card time{font-size:.72rem;color:#7a8b93}.tcs-google-mini{width:28px;height:28px;font-size:.83rem}.tcs-google-review-card blockquote{display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden}.tcs-google-review-card footer{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:.76rem;font-weight:800}.tcs-google-review-card footer a{color:#087fae;text-decoration:none}.tcs-review-verified-source{color:#268244}@media(max-width:640px){.tcs-google-review-summary{align-items:flex-start;flex-wrap:wrap}.tcs-google-summary-stars{margin-left:59px!important;width:100%}.tcs-google-review-card{min-height:270px}}

/* Pickup & Delivery Logistics Pro
   Frontend logistics components are supplied by TCS Pune Core V2.6 so the
   feature also remains usable if the site temporarily switches themes. */

/* Advanced Diagnostic Bench Pro
   Private diagnostic bench UI is supplied by TCS Pune Core. */

/* Repair Knowledge Library + Forum Pro
   Core supplies responsive forum/library components so private technician workflows
   continue to work even if the active theme changes. */

/* HR + Attendance + Payroll Pro
   Responsive employee portal styles are supplied by TCS Pune Core so HR self-service remains available across compatible themes. */


/* CRM + Support Desk Pro
 * Frontend CRM/support components are styled by the current TCS Pune Core plugin.
 * This companion theme keeps the existing responsive TCS visual system intact.
 */


/* AMC + Corporate IT Support Pro
   Core supplies the AMC engineer portal, visit/signature workflow and responsive tables. */


/* Asset & Device History Pro
   Device-history management is admin-side in TCS Pune Core. Existing customer, technician, AMC and diagnostic frontend styles remain unchanged. */


/* Refurbished Laptop + Buyback Pro
   The responsive public trade-in/buyback form and serialized refurbished-stock workflows are supplied by TCS Pune Core, so the feature remains functional across compatible themes. */


/* Communication Inbox Pro
   The unified communication timeline is an authenticated admin workflow supplied
   by TCS Pune Core. This companion theme preserves all existing frontend portal,
   CRM, support, logistics, device-history and Refurb/Buyback compatibility. */

/* PWA + Mobile Workshop Pro
 * Role-specific PWA UI, offline workshop tools and install controls are supplied by TCS Pune Core V4.0 so the apps remain functional even if the theme changes.
 */


/* Management Task System Pro
   Core supplies the protected task/checklist/comment/approval/productivity workflows; theme remains compatible with staff and technician PWA layouts. */


/* Digital Services Expansion Pro
   Adds responsive digital marketing, social media management and website development service-page UI while retaining V4.4 Workshop Tools compatibility. */

/* Workshop Tools Integration Pro
   Hardware Tester and Electronics Lab styles are supplied by their standalone plugins;
   this theme keeps the existing TCS technician portal and PWA button styling compatible. */

/* Frontend Operations Command Center Pro: command-center UI remains in Core so it stays available if the site theme changes. Theme version aligned for coordinated deployment. */
