/* ===========================
   PAGE HERO
=========================== */
.page-hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 50%, #0d2b4a 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 50%, rgba(0,102,204,0.2) 0%, transparent 60%);
}

.page-hero .container { position: relative; z-index: 2; }

.breadcrumb {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { margin: 0 6px; color: rgba(255,255,255,0.4); }

.page-hero-title {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 900;
    color: #fff;
    margin-bottom: 16px;
}
.page-hero-title span { color: var(--primary-light); }

.page-hero-desc {
    font-size: 17px;
    color: rgba(255,255,255,0.75);
    max-width: 650px;
    line-height: 1.7;
}

/* ===========================
   BRANDS BAR
=========================== */
.brands-bar { background: #fff; border-bottom: 1px solid var(--border); }

.brands-label {
    text-align: center;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
    margin-bottom: 24px;
    font-weight: 600;
}

.brands-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.brand-item {
    font-size: 20px;
    font-weight: 900;
    color: var(--text-light);
    letter-spacing: 3px;
    transition: color var(--transition);
    opacity: 0.5;
}
.brand-item:hover { opacity: 1; color: var(--primary); }

/* ===========================
   FEATURED PRODUCTS (HOME)
=========================== */
.featured-products { background: var(--bg-light); }

.ac-price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
}

.ac-price-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    transition: all var(--transition);
    border: 2px solid transparent;
}

.ac-price-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-8px);
    border-color: var(--primary);
}

.ac-price-card.featured {
    border-color: var(--secondary);
    background: linear-gradient(135deg, #fff9f5, #fff);
}

.ac-price-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--secondary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ac-price-badge.popular { background: var(--primary); }

.ac-price-icon { font-size: 50px; margin-bottom: 16px; }

.ac-price-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}

.ac-price-card p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.ac-price-box { margin-bottom: 20px; }

.price-old {
    display: block;
    font-size: 13px;
    color: var(--text-light);
    text-decoration: line-through;
    margin-bottom: 4px;
}

.price-new {
    display: block;
    font-size: 24px;
    font-weight: 900;
    color: var(--primary);
}

.price-from {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 16px;
}
.price-from strong { color: var(--primary); font-size: 16px; }

.btn-sm { padding: 10px 22px; font-size: 13px; }

.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* ===========================
   PRODUCT LISTING
=========================== */
.product-listing { background: var(--bg-light); }

.product-seo-intro {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
}

.product-seo-intro h2 {
    font-size: 22px;
    color: var(--dark);
    margin-bottom: 12px;
}

.product-seo-intro p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.75;
}

.listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-bottom: 50px;
}

.listing-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.listing-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-8px);
}

.listing-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--secondary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.listing-badge.popular { background: var(--primary); }

.listing-card-top {
    height: 160px;
    background: linear-gradient(135deg, var(--dark), #0d2b4a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 70px;
}

.listing-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.listing-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.listing-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.listing-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 16px;
}

.listing-features {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 20px;
    flex: 1;
}

.listing-features li {
    font-size: 13px;
    color: var(--text);
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.listing-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 16px;
}

.listing-old-price {
    font-size: 14px;
    text-decoration: line-through;
    color: var(--text-light);
}

.listing-price {
    font-size: 22px;
    font-weight: 900;
    color: var(--primary);
}

.btn-block { width: 100%; justify-content: center; margin-top: auto; }

.product-seo-footer {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
}

.product-seo-footer h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--dark);
}

.product-seo-footer p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 16px;
}

.seo-keywords {
    font-size: 13px;
    color: var(--text-light);
    padding: 14px;
    background: var(--bg-light);
    border-radius: 8px;
    line-height: 1.8;
}

/* ===========================
   CTA SECTION
=========================== */
.cta-section { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); }

.cta-box {
    text-align: center;
    color: #fff;
}

.cta-box h2 {
    font-size: clamp(22px, 4vw, 36px);
    font-weight: 900;
    color: #fff;
    margin-bottom: 12px;
}

.cta-box p {
    font-size: 17px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===========================
   COMMERCIAL CARDS
=========================== */
.commercial-systems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin-bottom: 50px;
}

.commercial-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    box-shadow: var(--shadow);
    transition: all var(--transition);
}

.commercial-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-6px);
}

.commercial-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.commercial-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.commercial-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.commercial-card ul {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.commercial-card ul li {
    font-size: 13px;
    color: var(--text);
}

/* ===========================
   SERVICES PAGE
=========================== */
.services-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 50px;
}

.service-page-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    box-shadow: var(--shadow);
    transition: all var(--transition);
}

.service-page-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-6px);
}

.spc-icon { font-size: 50px; margin-bottom: 20px; }

.service-page-card h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.service-page-card h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin: 20px 0 12px;
}

.service-page-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 0;
}

.service-page-card ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.service-page-card ul li { font-size: 14px; color: var(--text); }

.spc-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}
.spc-actions .btn { width: 100%; text-align: center; box-sizing: border-box; }

/* ===========================
   BRANDS PAGE
=========================== */
.brands-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.brand-detail-card {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    transition: all var(--transition);
}

.brand-detail-card:hover {
    background: #fff;
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.brand-detail-logo {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 3px;
    color: var(--primary);
    background: rgba(0,102,204,0.08);
    padding: 10px 16px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 16px;
}

.brand-detail-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}

.brand-detail-card p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.65;
}

/* ===========================
   OUR WORK GALLERY
=========================== */
.ourwork-section { background: var(--bg-light); }

.ourwork-header {
    text-align: center;
    margin-bottom: 40px;
}
.ourwork-header .section-subtitle { margin: 0 auto; }

.work-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.work-gallery .work-item:first-child,
.work-gallery .work-item:nth-child(5) {
    grid-column: span 2;
}

.work-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 4/3;
    cursor: pointer;
    background: var(--dark);
}

.work-item:first-child,
.work-item:nth-child(5) { aspect-ratio: 16/9; }

.work-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.work-item:hover img { transform: scale(1.08); }

.work-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,30,80,0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 16px;
    opacity: 0;
    transition: opacity var(--transition);
}

.work-item:hover .work-overlay { opacity: 1; }

.work-overlay span {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    background: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
}

/* Our Work full page */
.ourwork-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.ourwork-page-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 4/3;
    background: var(--dark);
}

.ourwork-page-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.ourwork-page-item:hover img { transform: scale(1.06); }

.ourwork-page-item:first-child,
.ourwork-page-item:nth-child(4) { grid-column: span 2; aspect-ratio: 16/9; }

@media (max-width: 767px) {
    .work-gallery { grid-template-columns: repeat(2, 1fr); }
    .work-gallery .work-item:first-child,
    .work-gallery .work-item:nth-child(5) { grid-column: span 2; }
    .ourwork-page-grid { grid-template-columns: 1fr 1fr; }
    .ourwork-page-item:first-child,
    .ourwork-page-item:nth-child(4) { grid-column: span 2; }
}

@media (max-width: 480px) {
    .work-gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
    .ourwork-page-grid { grid-template-columns: 1fr; }
    .ourwork-page-item:first-child,
    .ourwork-page-item:nth-child(4) { grid-column: span 1; aspect-ratio: 4/3; }
}

/* ===========================
   SINGLE PRODUCT
=========================== */
.single-product-section { background: var(--bg-light); }

.single-product-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 50px;
    align-items: start;
    margin-bottom: 50px;
}

.sp-image-wrap {
    position: relative;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
    text-align: center;
}

.sp-main-image {
    width: 100%;
    max-height: 380px;
    object-fit: contain;
}

.sp-sale-badge {
    position: absolute;
    top: 16px; left: 16px;
    background: var(--secondary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 50px;
    text-transform: uppercase;
}

.sp-brand-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 14px;
    background: var(--bg-light);
    border-radius: 10px;
    justify-content: center;
}

.sp-brand {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--primary);
    background: rgba(0,102,204,0.1);
    padding: 6px 14px;
    border-radius: 6px;
}

.sp-brand-label { font-size: 13px; color: var(--text-light); }

.sp-category-link { margin-bottom: 12px; }
.sp-category-link a { font-size: 13px; color: var(--primary); font-weight: 600; }

.sp-title {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.sp-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.sp-meta-item {
    font-size: 13px;
    background: var(--bg-light);
    padding: 6px 14px;
    border-radius: 50px;
    color: var(--text);
    border: 1px solid var(--border);
}

.sp-price-box {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #f0f7ff, #e8f4ff);
    border-radius: var(--radius);
    border: 1px solid rgba(0,102,204,0.15);
}

.sp-old-price {
    font-size: 16px;
    text-decoration: line-through;
    color: var(--text-light);
}

.sp-price {
    font-size: 32px;
    font-weight: 900;
    color: var(--primary);
}

.sp-desc {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 24px;
}

.sp-features { margin-bottom: 28px; }
.sp-features h3 { font-size: 16px; margin-bottom: 14px; }
.sp-features ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sp-features li { font-size: 14px; color: var(--text); display: flex; align-items: flex-start; gap: 8px; }
.sp-check { color: var(--primary); font-weight: 700; flex-shrink: 0; }

.sp-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }

.sp-warranty-box {
    background: rgba(0,180,100,0.08);
    border: 1px solid rgba(0,180,100,0.2);
    border-radius: 10px;
    padding: 16px 20px;
    font-size: 13px;
    color: var(--text);
    line-height: 1.6;
}

.sp-related { padding-top: 36px; border-top: 1px solid var(--border); }
.sp-related h2 { font-size: 20px; margin-bottom: 16px; }

/* ===========================
   SINGLE SERVICE
=========================== */
.single-service-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: start;
}

.service-page-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-page-list li {
    font-size: 15px;
    color: var(--text);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

@media (max-width: 767px) {
    .single-product-layout,
    .single-service-layout { grid-template-columns: 1fr; gap: 28px; }
    .sp-features ul { grid-template-columns: 1fr; }
    .sp-price { font-size: 26px; }
}

/* ===========================
   BLOG
=========================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.blog-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
}

.blog-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-6px);
}

.blog-card-image img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-no-img { height: 200px; background: linear-gradient(135deg,var(--dark),#0d2b4a); display:flex; align-items:center; justify-content:center; }
.blog-card-no-img a { font-size: 60px; text-decoration:none; }

.blog-card-body { padding: 24px; }

.blog-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.blog-card-title { font-size: 18px; margin-bottom: 10px; }
.blog-card-title a { color: var(--dark); }
.blog-card-title a:hover { color: var(--primary); }

.blog-card-excerpt { font-size: 14px; color: var(--text-light); line-height: 1.65; margin-bottom: 16px; }

.post-featured-image { margin-bottom: 32px; border-radius: var(--radius); overflow: hidden; }
.post-featured-image img { width: 100%; }

.post-content { max-width: 800px; margin: 0 auto; }
.post-content p { font-size: 16px; line-height: 1.8; margin-bottom: 20px; }
.post-content h2, .post-content h3 { margin: 32px 0 16px; }

.post-tags { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 14px; color: var(--text-light); }

.pagination { margin-top: 40px; display: flex; justify-content: center; }

/* ===========================
   BLOG SINGLE — META HERO
=========================== */
.page-hero-sm { padding: 44px 0; }

.blog-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 16px;
}
.blog-single-meta span {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    display: flex;
    align-items: center;
    gap: 5px;
}
.blog-single-meta a { color: rgba(255,255,255,0.8); }
.blog-single-meta a:hover { color: #fff; }

/* ===========================
   BLOG SINGLE — TWO-COL LAYOUT
=========================== */
.blog-single-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

/* ── Article ── */
.blog-single-content {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.bs-featured-image { width: 100%; overflow: hidden; max-height: 420px; }
.bs-feat-img { width: 100%; height: 420px; object-fit: cover; display: block; }

.bs-body {
    padding: 36px 40px;
    font-size: 16px;
    line-height: 1.85;
    color: var(--text);
}
.bs-body p  { margin-bottom: 20px; }
.bs-body h2 { font-size: 24px; font-weight: 700; color: var(--dark); margin: 36px 0 16px; padding-top: 8px; border-top: 2px solid var(--border); }
.bs-body h3 { font-size: 20px; font-weight: 700; color: var(--dark); margin: 28px 0 12px; }
.bs-body ul, .bs-body ol { padding-left: 24px; margin-bottom: 20px; }
.bs-body li { margin-bottom: 8px; }
.bs-body img { max-width: 100%; border-radius: var(--radius); margin: 16px 0; }
.bs-body a { color: var(--primary); text-decoration: underline; }
.bs-body blockquote {
    border-left: 4px solid var(--primary);
    background: rgba(0,102,204,0.05);
    padding: 16px 20px;
    margin: 24px 0;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--text-light);
}

/* Post Tags */
.bs-tags {
    padding: 20px 40px 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    border-top: 1px solid var(--border);
    font-size: 14px;
    color: var(--text-light);
}
.bs-tag {
    display: inline-block;
    background: rgba(0,102,204,0.08);
    color: var(--primary);
    border: 1px solid rgba(0,102,204,0.2);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s;
}
.bs-tag:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Author Box */
.bs-author-box {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 24px 40px;
    background: rgba(0,102,204,0.04);
    border-top: 1px solid var(--border);
}
.bs-author-avatar { width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0; border: 3px solid var(--primary); }
.bs-author-name { font-weight: 700; font-size: 15px; color: var(--dark); margin-bottom: 6px; }
.bs-author-bio { font-size: 13px; color: var(--text-light); line-height: 1.6; }

/* Prev / Next Navigation */
.bs-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    border-top: 1px solid var(--border);
    background: var(--border);
}
.bs-nav-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px 28px;
    background: #fff;
    text-decoration: none !important;
    transition: background 0.2s;
}
.bs-nav-link:hover { background: rgba(0,102,204,0.04); }
.bs-nav-next { text-align: right; align-items: flex-end; }
.bs-nav-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); font-weight: 600; }
.bs-nav-title { font-size: 14px; color: var(--dark); font-weight: 600; line-height: 1.4; }

/* ===========================
   BLOG SIDEBAR
=========================== */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-widget {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.sw-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.sw-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 16px;
    background: var(--primary);
    border-radius: 2px;
}

/* Search */
.sidebar-search-form { display: flex; gap: 0; }
.sidebar-search-input {
    flex: 1;
    border: 1px solid var(--border);
    border-right: none;
    border-radius: var(--radius) 0 0 var(--radius);
    padding: 10px 14px;
    font-size: 14px;
    outline: none;
    font-family: inherit;
}
.sidebar-search-input:focus { border-color: var(--primary); }
.sidebar-search-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 10px 14px;
    border-radius: 0 var(--radius) var(--radius) 0;
    cursor: pointer;
    font-size: 15px;
}

/* Tag Cloud */
.sidebar-tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.sidebar-tag-cloud a {
    display: inline-block;
    background: rgba(0,102,204,0.07);
    color: var(--primary) !important;
    border: 1px solid rgba(0,102,204,0.18);
    border-radius: 20px;
    padding: 5px 13px;
    font-size: 12px !important;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s;
    line-height: 1.4;
}
.sidebar-tag-cloud a:hover { background: var(--primary); color: #fff !important; border-color: var(--primary); }

/* Recent Posts */
.sidebar-recent-posts { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.srp-item { display: flex; gap: 12px; align-items: flex-start; }
.srp-thumb { flex-shrink: 0; display: block; }
.srp-no-img {
    width: 64px; height: 64px;
    background: linear-gradient(135deg,var(--dark),#0d2b4a);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; text-decoration: none;
}
.srp-info { display: flex; flex-direction: column; gap: 4px; }
.srp-title { font-size: 13px; font-weight: 600; color: var(--dark); line-height: 1.4; text-decoration: none; }
.srp-title:hover { color: var(--primary); }
.srp-date { font-size: 11px; color: var(--text-light); }

/* Categories */
.sidebar-categories { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
.sidebar-categories li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text);
    text-decoration: none;
    transition: all 0.2s;
}
.sidebar-categories li a:hover { background: rgba(0,102,204,0.07); color: var(--primary); padding-left: 14px; }
.sidebar-categories .cat-item-count { background: var(--bg-light); border-radius: 20px; padding: 1px 8px; font-size: 11px; color: var(--text-light); font-weight: 600; }

/* CTA Widget */
.sidebar-cta-widget { text-align: center; background: linear-gradient(135deg,var(--dark),#0d2b4a); color: #fff; }
.sidebar-cta-widget .sw-title { color: #fff; border-bottom-color: var(--secondary); }
.sidebar-cta-widget .sw-title::before { background: var(--secondary); }
.sidebar-cta-widget p { font-size: 13px; color: rgba(255,255,255,0.75); line-height: 1.6; }
.sw-cta-icon { font-size: 42px; margin-bottom: 10px; }
.sw-cta-title { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 8px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .blog-single-layout { grid-template-columns: 1fr 280px; gap: 28px; }
}
@media (max-width: 767px) {
    .blog-single-layout { grid-template-columns: 1fr; }
    .blog-sidebar { order: -1; }
    .bs-body { padding: 24px 20px; }
    .bs-tags { padding: 16px 20px; }
    .bs-author-box { padding: 20px; flex-direction: column; }
    .bs-post-nav { grid-template-columns: 1fr; }
    .bs-nav-next { text-align: left; align-items: flex-start; }
    .bs-feat-img { height: 240px; }
}

/* ===========================
   MAIN CONTENT GENERAL
=========================== */
.main-content { background: var(--bg-light); }
.no-posts { text-align: center; padding: 60px 20px; }
.page-content { max-width: 900px; margin: 0 auto; }
.page-content p { font-size: 16px; line-height: 1.8; margin-bottom: 20px; }
