/*
Theme Name: Tech Volix
Theme URI: https://techvolix.com/
Author: Tech Volix
Description: Fast, editorial WordPress technology publication theme with flexible homepage sections, dark mode, ad areas, custom logo, menus and widgets.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: tech-volix
*/
:root{--tv-bg:#f6f8fb;--tv-card:#fff;--tv-text:#0a1425;--tv-muted:#657186;--tv-line:#e0e6ee;--tv-accent:#1266ef;--tv-dark:#061225;--tv-radius:12px;--tv-max:1180px}html[data-theme=dark]{--tv-bg:#08111f;--tv-card:#101c2d;--tv-text:#f3f7ff;--tv-muted:#9aa9bd;--tv-line:#26354a;--tv-dark:#030812}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--tv-bg);color:var(--tv-text);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.65}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.tv-shell{width:min(var(--tv-max),calc(100% - 40px));margin:auto}.screen-reader-text{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden}.screen-reader-text:focus{clip:auto;width:auto;height:auto;left:10px;top:10px;background:#fff;color:#000;padding:10px;z-index:999}
.tv-topbar{height:30px;background:var(--tv-dark);color:#9eafc6;font-size:10px;letter-spacing:.14em;text-transform:uppercase}.tv-topbar .tv-shell{height:100%;display:flex;align-items:center;justify-content:space-between}.tv-header{position:sticky;top:0;z-index:100;background:color-mix(in srgb,var(--tv-card) 94%,transparent);border-bottom:1px solid var(--tv-line);backdrop-filter:blur(14px)}.tv-navrow{height:76px;display:flex;align-items:center;gap:24px}.custom-logo-link{display:block;flex:0 0 auto}.custom-logo{display:block;width:auto;max-width:185px;max-height:60px;object-fit:contain}.tv-brand-text{font-weight:900;font-size:19px;letter-spacing:.04em;white-space:nowrap}.tv-brand-text b{color:var(--tv-accent)}.tv-menu{display:flex;gap:22px;align-items:center;margin:auto;padding:0;list-style:none;font-size:13px;font-weight:700}.tv-menu li{position:relative}.tv-menu a:hover,.tv-menu .current-menu-item>a{color:var(--tv-accent)}.tv-menu .sub-menu{display:none;position:absolute;top:100%;left:0;background:var(--tv-card);border:1px solid var(--tv-line);padding:12px;min-width:180px;list-style:none}.tv-menu li:hover>.sub-menu,.tv-menu li:focus-within>.sub-menu{display:block}.tv-header-actions{display:flex;gap:8px}.tv-icon,.tv-menu-toggle{width:38px;height:38px;border:1px solid var(--tv-line);border-radius:50%;background:var(--tv-card);color:var(--tv-text);cursor:pointer}.tv-menu-toggle{display:none}.tv-search-panel{display:none;position:fixed;inset:0;z-index:200;background:rgba(3,9,20,.95);place-items:center;padding:25px}.tv-search-panel.open{display:grid}.tv-search-panel form{width:min(720px,100%)}.tv-search-panel input{width:100%;font-size:clamp(26px,5vw,52px);background:transparent;color:#fff;border:0;border-bottom:2px solid #68768c;padding:18px 0}.tv-search-close{position:absolute;right:28px;top:22px;color:#fff;background:none;border:0;font-size:40px;cursor:pointer}
.tv-intro { padding: 58px 0px 36px; }.tv-kicker, .tv-cat { color: var(--tv-accent); font-size: 10px; font-weight: 850; letter-spacing: 0.16em; text-transform: uppercase; }.tv-intro h1 { font-size: clamp(42px, 6vw, 72px); line-height: 0.98; letter-spacing: -0.055em; margin: 10px 0px 18px; max-width: 880px; }.tv-intro h1 span { color: var(--tv-accent); }.tv-intro p { color: var(--tv-muted); font-size: 18px; max-width: 650px; }.tv-hero { display: grid; grid-template-columns: 1.6fr 1fr; gap: 30px; padding-bottom: 60px; }.tv-feature, .tv-card { background: var(--tv-card); border: 1px solid var(--tv-line); }.tv-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, rgb(7, 30, 77), rgb(18, 102, 239) 60%, rgb(95, 203, 255)); }.tv-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s; }.tv-card:hover .tv-thumb img, .tv-feature:hover .tv-thumb img { transform: scale(1.025); }.tv-feature-content { padding: 30px; }.tv-feature h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.04; letter-spacing: -0.04em; margin: 12px 0px; }.tv-excerpt { color: var(--tv-muted); }.tv-meta { display: flex; gap: 10px; align-items: center; color: var(--tv-muted); font-size: 11px; }.tv-side-list { display: flex; flex-direction: column; }.tv-section-label, .tv-section-head { display: flex; align-items: end; justify-content: space-between; padding-bottom: 12px; margin-bottom: 22px; }.tv-section-head h2 { font-size: 32px; letter-spacing: -0.04em; margin: 0px; }.tv-section-head a { color: var(--tv-accent); font-size: 12px; font-weight: 750; }.tv-side-card { display: grid; grid-template-columns: 116px 1fr; gap: 15px; padding: 16px 0px; border-bottom: 1px solid var(--tv-line); }.tv-side-card .tv-thumb { height: 86px; }.tv-side-card h3 { font-size: 15px; line-height: 1.25; margin: 5px 0px; }.tv-trending { background: var(--tv-dark); color: rgb(255, 255, 255); padding: 50px 0px; }.tv-trending-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }.tv-trend { display: flex; gap: 12px; }.tv-trend > strong { font-size: 30px; color: rgb(51, 68, 94); line-height: 1; }.tv-trend h3 { font-size: 13px; line-height: 1.3; margin: 4px 0px; }.tv-section { padding: 72px 0px; }.tv-content-grid { display: grid; grid-template-columns: 1fr 310px; gap: 55px; }.tv-feed-card { display: grid; grid-template-columns: 230px 1fr; gap: 24px; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--tv-line); }.tv-feed-card h2, .tv-feed-card h3 { font-size: 22px; line-height: 1.2; margin: 7px 0px; }.tv-sidebar .widget { background: var(--tv-card); border: 1px solid var(--tv-line); padding: 24px; margin-bottom: 25px; }.widget-title { font-size: 18px; margin-top: 0px; }.tv-ad { min-height: 160px; border: 1px dashed var(--tv-line); display: grid; place-items: center; color: var(--tv-muted); font-size: 10px; letter-spacing: 0.16em; }.tv-cat-section:nth-child(2n) { background: var(--tv-card); }.tv-cat-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 50px; }.tv-cat-lead h3 { font-size: 30px; line-height: 1.08; margin: 10px 0px; }.tv-cat-list article { display: grid; grid-template-columns: 42px 1fr; gap: 15px; padding: 18px 0px; border-bottom: 1px solid var(--tv-line); }.tv-cat-list article > strong { font-size: 27px; color: var(--tv-line); }.tv-cat-list h3 { font-size: 18px; line-height: 1.25; margin: 5px 0px; }.tv-newsletter { background: linear-gradient(135deg, rgb(6, 19, 41), rgb(10, 46, 104)); color: rgb(255, 255, 255); padding: 85px 20px; text-align: center; }.tv-newsletter > div { max-width: 680px; margin: auto; }.tv-newsletter h2 { font-size: clamp(34px, 5vw, 54px); line-height: 1.05; }.tv-newsletter form { display: flex; margin-top: 25px; }.tv-newsletter input { flex: 1 1 0%; padding: 15px; border: 0px; }.tv-newsletter button { background: var(--tv-accent); color: rgb(255, 255, 255); border: 0px; padding: 0px 24px; font-weight: 750; }

/* Desktop navigation and Latest Updates alignment */
.tv-section-label,.tv-section-head{border-bottom:2px solid var(--tv-text)}.tv-menu-wrap{flex:1;min-width:0}
.tv-menu{justify-content:center;flex-wrap:nowrap;white-space:nowrap;gap:clamp(12px,1.5vw,22px)}
.tv-menu a{display:block;padding:28px 0}
.tv-side-card{grid-template-columns:minmax(0,116px) minmax(0,1fr);align-items:start}
.tv-side-card>div{min-width:0}
.tv-side-card .tv-thumb{width:100%;height:86px;aspect-ratio:auto}
.tv-side-card .tv-thumb img{display:block}
.tv-side-card h3,.tv-side-card h3 a{overflow-wrap:anywhere}
.tv-side-card .tv-meta{flex-wrap:wrap;gap:4px 8px;line-height:1.35}
.tv-side-card .tv-meta span:first-child{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(min-width:981px){.tv-menu-wrap{display:flex;justify-content:center;align-items:center}.tv-menu{margin:0 auto}}
@media(max-width:680px){.tv-side-card{grid-template-columns:minmax(0,105px) minmax(0,1fr)}.tv-side-card .tv-thumb{height:74px}}

.tv-main{padding:60px 0}.tv-layout{display:grid;grid-template-columns:minmax(0,780px) 310px;gap:55px}.tv-article-header h1,.tv-archive-title{font-size:clamp(36px,5vw,62px);line-height:1.05;letter-spacing:-.045em}.tv-featured-image{margin:30px 0}.tv-article-content{font-family:Georgia,serif;font-size:19px;line-height:1.85}.tv-article-content h2,.tv-article-content h3{font-family:Inter,system-ui,sans-serif;line-height:1.2;margin-top:2em}.tv-article-content a{color:var(--tv-accent);text-decoration:underline}.tv-author-box{display:flex;gap:18px;background:var(--tv-card);border:1px solid var(--tv-line);padding:24px;margin:40px 0}.tv-author-box img{border-radius:50%}.nav-links{display:flex;gap:8px;margin-top:30px}.page-numbers{padding:8px 12px;background:var(--tv-card);border:1px solid var(--tv-line)}.tv-footer{background:#050b15;color:#b9c5d6;padding:62px 0 24px}.tv-footer-grid{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:50px}.tv-footer h3{color:#fff;font-size:12px;text-transform:uppercase}.tv-footer ul{list-style:none;padding:0}.tv-footer li{margin:9px 0;font-size:13px}.tv-footer-copy{border-top:1px solid #223047;margin-top:45px;padding-top:20px;font-size:11px;display:flex;justify-content:space-between}
@media(max-width:980px){.tv-menu-toggle{display:block}.tv-menu-wrap{display:none;position:absolute;top:76px;left:0;right:0;background:var(--tv-card);border-bottom:1px solid var(--tv-line);padding:20px}.tv-menu-wrap.open{display:block}.tv-menu{flex-wrap:wrap;margin:0}.tv-hero{grid-template-columns:1fr}.tv-trending-grid{grid-template-columns:repeat(2,1fr)}.tv-content-grid,.tv-layout{grid-template-columns:1fr}.tv-sidebar{display:grid;grid-template-columns:1fr 1fr;gap:20px}.tv-footer-grid{grid-template-columns:2fr 1fr 1fr}}
@media(max-width:680px){.tv-shell{width:calc(100% - 28px)}.tv-topbar span:last-child{display:none}.tv-navrow{height:64px;gap:8px}.custom-logo{max-width:130px;max-height:50px}.tv-brand-text{font-size:16px}.tv-intro{padding:38px 0 25px}.tv-intro h1{font-size:42px}.tv-feature-content{padding:22px}.tv-side-card{grid-template-columns:105px 1fr}.tv-trending-grid{grid-template-columns:1fr}.tv-feed-card{grid-template-columns:120px 1fr;gap:15px}.tv-feed-card .tv-excerpt{display:none}.tv-section{padding:50px 0}.tv-sidebar{display:block}.tv-cat-grid{grid-template-columns:1fr}.tv-newsletter form{display:block}.tv-newsletter button{width:100%;padding:14px}.tv-footer-grid{grid-template-columns:1fr 1fr}.tv-footer-grid>div:first-child{grid-column:1/-1}.tv-footer-copy{display:block}}


/* Tech Volix core pages v1 */
.tv-page-main{padding:clamp(48px,7vw,88px) 0}
.tv-page-shell{max-width:960px}
.tv-page{background:var(--tv-card);border:1px solid var(--tv-line);border-radius:18px;padding:clamp(28px,5vw,64px);box-shadow:0 24px 70px rgba(8,24,50,.07)}
.tv-page .tv-article-header{padding-bottom:24px;margin-bottom:28px;border-bottom:1px solid var(--tv-line)}
.tv-page .tv-article-header h1{margin:8px 0 0;font-size:clamp(38px,6vw,64px);line-height:1.02;letter-spacing:-.05em}
.tv-page-content{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:17px;line-height:1.75}
.tv-page-content>p:first-child,.tv-page-lead{font-size:clamp(18px,2.2vw,22px);line-height:1.6;color:var(--tv-muted)}
.tv-page-content h2{margin:1.8em 0 .55em;font-size:clamp(25px,3.5vw,34px);letter-spacing:-.035em}
.tv-page-content h3{margin:1.6em 0 .45em;font-size:21px}
.tv-page-content ul,.tv-page-content ol{padding-left:1.25em}
.tv-page-content li{margin:.45em 0}
.tv-contact-panel{margin-top:38px;padding:clamp(24px,4vw,42px);border:1px solid var(--tv-line);border-radius:16px;background:linear-gradient(145deg,color-mix(in srgb,var(--tv-card) 94%,var(--tv-accent)),var(--tv-card))}
.tv-contact-panel__intro{max-width:680px;margin-bottom:28px}
.tv-contact-panel__intro h2{margin:7px 0 10px}
.tv-contact-panel__intro p{margin:0;color:var(--tv-muted)}
.tv-contact-form{display:grid;gap:20px}
.tv-contact-form__grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.tv-contact-form label{display:grid;gap:8px;font-size:13px;font-weight:800;color:var(--tv-text)}
.tv-contact-form input,.tv-contact-form select,.tv-contact-form textarea{width:100%;border:1px solid var(--tv-line);border-radius:10px;background:var(--tv-bg);color:var(--tv-text);font:inherit;padding:13px 14px;outline:none;transition:border-color .2s,box-shadow .2s,background .2s}
.tv-contact-form textarea{min-height:170px;resize:vertical}
.tv-contact-form input:focus,.tv-contact-form select:focus,.tv-contact-form textarea:focus{border-color:var(--tv-accent);background:var(--tv-card);box-shadow:0 0 0 3px color-mix(in srgb,var(--tv-accent) 16%,transparent)}
.tv-primary-button{display:inline-flex;align-items:center;justify-content:center;width:max-content;min-height:46px;padding:12px 22px;border:0;border-radius:999px;background:var(--tv-accent);color:#fff!important;font:inherit;font-size:13px;font-weight:850;text-decoration:none!important;cursor:pointer;box-shadow:0 12px 30px color-mix(in srgb,var(--tv-accent) 24%,transparent);transition:transform .2s,box-shadow .2s}
.tv-primary-button:hover{transform:translateY(-1px);box-shadow:0 16px 34px color-mix(in srgb,var(--tv-accent) 32%,transparent)}
.tv-form-privacy{margin:0!important;font-size:12px!important;line-height:1.55!important;color:var(--tv-muted)!important}
.tv-form-notice{margin:0 0 22px;padding:13px 15px;border-radius:10px;font-size:14px;font-weight:750}
.tv-form-notice--success{background:#e8f8ef;color:#146c3c;border:1px solid #a8dec0}
.tv-form-notice--error{background:#fff0f0;color:#9b2525;border:1px solid #efb5b5}
.tv-contact-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.tv-opportunity-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:34px 0}
.tv-opportunity-grid article{padding:24px;border:1px solid var(--tv-line);border-radius:14px;background:var(--tv-bg)}
.tv-opportunity-grid h2{margin:0 0 10px;font-size:21px}
.tv-opportunity-grid p{margin:0;color:var(--tv-muted);font-size:15px}
.tv-page-cta{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-top:34px;padding:clamp(24px,4vw,38px);border-radius:16px;background:var(--tv-dark);color:#fff}
.tv-page-cta h2{margin:6px 0 8px;color:#fff}
.tv-page-cta p{margin:0;color:#b9c5d6}
@media(max-width:760px){
 .tv-page-main{padding:34px 0}
 .tv-page{padding:24px 18px;border-radius:14px}
 .tv-contact-panel{padding:22px 16px}
 .tv-contact-form__grid,.tv-opportunity-grid{grid-template-columns:1fr}
 .tv-page-cta{display:grid;align-items:start}
 .tv-primary-button{width:100%}
}
