/*
Theme Name: Raj IT Hub
Theme URI: https://example.com/
Author: Raj IT Hub
Description: A clean, responsive technology blog theme with a searchable article homepage.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: raj-it-hub
*/
:root{--navy:#071b3d;--navy2:#102b55;--orange:#f28c18;--cyan:#14b8e6;--ink:#172033;--muted:#64748b;--line:#e5eaf1;--surface:#f5f7fb}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--ink);font:16px/1.65 system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif}
a{color:var(--navy2);text-decoration:none}
a:hover{color:#d97706}
img{max-width:100%;height:auto}
.container{width:min(1120px,calc(100% - 40px));margin-inline:auto}
.site-header{background:var(--navy);color:#fff}
.header-inner{min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:14px 0}
.brand{display:flex;align-items:center;gap:14px;color:#fff;min-width:0}
.custom-logo{width:auto;max-width:76px;max-height:64px;object-fit:contain}
.brand-text{display:flex;flex-direction:column;line-height:1.2}
.site-title{font-size:1.45rem;font-weight:800;letter-spacing:.2px;color:#fff}
.site-description{font-size:.78rem;color:#c7d8f0;margin-top:5px}
.main-nav ul{display:flex;align-items:center;gap:22px;list-style:none;padding:0;margin:0}
.main-nav a{color:#e7eef9;font-weight:600;font-size:.94rem}
.main-nav a:hover{color:#ffb04a}
.menu-toggle{display:none;background:transparent;border:1px solid #527097;color:#fff;border-radius:8px;padding:8px 12px}
.hero{background:linear-gradient(125deg,var(--navy),#12396a);color:#fff;padding:66px 0 58px}
.hero-inner{max-width:780px}
.hero h1{font-size:clamp(2.1rem,5vw,3.45rem);line-height:1.1;margin:0 0 16px;letter-spacing:-1.2px}
.hero p{font-size:1.08rem;color:#d3def0;margin:0 0 28px;max-width:680px}
.search-form{display:flex;gap:9px;background:#fff;border-radius:12px;padding:7px;max-width:680px;box-shadow:0 12px 30px #0002}
.search-form label{flex:1;min-width:0}
.search-field{width:100%;height:48px;border:0;outline:0;padding:0 14px;font:inherit;color:var(--ink);background:transparent}
.search-submit,.button{border:0;border-radius:9px;background:var(--orange);color:#fff;font-weight:750;padding:0 22px;min-height:46px;cursor:pointer}
.search-submit:hover,.button:hover{background:#dc7410;color:#fff}
.content-section{padding:48px 0 68px}
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:24px}
.section-heading h2{font-size:1.8rem;line-height:1.2;margin:0;color:var(--navy)}
.section-heading p{margin:5px 0 0;color:var(--muted);font-size:.93rem}
.post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.post-card{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff;display:flex;flex-direction:column;transition:transform .18s,box-shadow .18s}
.post-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px #102b5514}
.post-thumb{display:block;aspect-ratio:16/9;background:linear-gradient(135deg,#eaf2fb,#dbeafe);overflow:hidden}
.post-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.thumb-placeholder{height:100%;display:grid;place-items:center;color:#6b85a9;font-size:2rem;font-weight:800}
.post-card-content{padding:20px;display:flex;flex-direction:column;flex:1}
.post-meta{font-size:.78rem;color:var(--muted);margin-bottom:9px}
.post-card h3{font-size:1.15rem;line-height:1.35;margin:0 0 10px}
.post-card h3 a{color:var(--navy)}
.post-excerpt{color:#586579;font-size:.92rem;margin:0 0 18px}
.read-more{margin-top:auto;color:#c66c0b;font-weight:750;font-size:.9rem}
.pagination{margin-top:34px}
.pagination .nav-links{display:flex;gap:8px;flex-wrap:wrap}
.page-numbers{padding:8px 13px;border:1px solid var(--line);border-radius:8px}
.page-numbers.current{background:var(--navy);color:#fff;border-color:var(--navy)}
.empty-state{padding:32px;border:1px dashed #cbd5e1;border-radius:14px;color:var(--muted);text-align:center}
.entry-header{padding:48px 0 22px}
.entry-header h1{font-size:clamp(2rem,4vw,3rem);line-height:1.15;color:var(--navy);margin:0 0 12px}
.entry-content{max-width:820px;padding-bottom:60px;font-size:1.04rem}
.entry-content h2,.entry-content h3{color:var(--navy);line-height:1.25}
.entry-content img{border-radius:12px}
.entry-content a{text-decoration:underline}
.post-featured{margin:0 0 28px}
.post-featured img{width:100%;border-radius:14px}
.site-footer{background:#06152f;color:#c7d8f0;padding:30px 0}
.footer-inner{display:flex;justify-content:space-between;gap:20px;align-items:center}
.footer-title{font-weight:800;color:#fff}
.site-footer a{color:#fff}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:800px){.post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.main-nav ul{gap:14px}}
@media(max-width:620px){.container{width:min(100% - 28px,1120px)}.header-inner{min-height:76px;flex-wrap:wrap}.menu-toggle{display:block}.main-nav{display:none;width:100%}.main-nav.is-open{display:block}.main-nav ul{align-items:flex-start;flex-direction:column;padding:8px 0 14px}.hero{padding:48px 0}.search-form{flex-direction:column}.search-submit{width:100%}.post-grid{grid-template-columns:1fr}.section-heading{align-items:flex-start;flex-direction:column}.footer-inner{align-items:flex-start;flex-direction:column}}
