/*
Theme Name:        QS Services
Theme URI:         https://www.qsservices.id
Author:            QS Services (Qadita Engineering)
Author URI:        https://qadita.com
Description:       Premium, fast, SEO-friendly custom theme for QS Services — Professional Quantity Surveying & Construction Knowledge Platform. Light theme, navy + blue accent, system-font stack. 100% self-contained: requires only the "QS Services Core" plugin — NO Advanced Custom Fields, no paid dependencies.
Version:           2.0.2-native
Requires at least: 6.3
Tested up to:      6.6
Requires PHP:      8.0
License:           GPL-2.0-or-later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       qsservices
Tags:              custom-colors, custom-logo, custom-menu, featured-images, block-styles, wide-blocks, translation-ready
*/

/*
 * NOTE: All presentational CSS is loaded from /assets/css/ (theme.css, components.css)
 * via functions.php for cache-busting & performance. Design tokens are declared in
 * theme.json and mirrored as CSS custom properties in /assets/css/tokens.css.
 * This file only carries the required theme header.
 */

/* Knowledge archive: generated contextual visuals with the existing card copy overlaid. */
body.post-type-archive-knowledge .qs-card--knowledge .qs-kb-cover {
	background-position: center !important;
	background-repeat: no-repeat !important;
	background-size: cover !important;
}

body.post-type-archive-knowledge .qs-card--knowledge a[href*="/cara-menghitung-kebutuhan-besi-tulangan/"] .qs-kb-cover {
	background-image: linear-gradient(180deg, rgba(5, 24, 45, 0.52), rgba(5, 24, 45, 0.82)), url("https://staging.qsservices.id/wp-content/uploads/2026/07/qs-knowledge-reinforcement-bbs-1024x576.jpg") !important;
}

body.post-type-archive-knowledge .qs-card--knowledge a[href*="/checklist-sebelum-pengecoran-plat-lantai/"] .qs-kb-cover {
	background-image: linear-gradient(180deg, rgba(5, 24, 45, 0.52), rgba(5, 24, 45, 0.82)), url("https://staging.qsservices.id/wp-content/uploads/2026/07/qs-knowledge-floor-slab-checklist-1024x576.jpg") !important;
}

body.post-type-archive-knowledge .qs-card--knowledge a[href*="/perbedaan-sloof-balok-dan-ring-balok/"] .qs-kb-cover {
	background-image: linear-gradient(180deg, rgba(5, 24, 45, 0.52), rgba(5, 24, 45, 0.82)), url("https://staging.qsservices.id/wp-content/uploads/2026/07/qs-knowledge-sloof-beam-ring-beam-1024x576.jpg") !important;
}

body.post-type-archive-knowledge .qs-card--knowledge a[href*="/cara-menghitung-volume-beton-rumah/"] .qs-kb-cover {
	background-image: linear-gradient(180deg, rgba(5, 24, 45, 0.52), rgba(5, 24, 45, 0.82)), url("https://staging.qsservices.id/wp-content/uploads/2026/07/qs-knowledge-concrete-volume-1024x576.jpg") !important;
}

body.post-type-archive-knowledge .qs-card--knowledge a[href*="/cara-membaca-gambar-struktur-rumah/"] .qs-kb-cover {
	background-image: linear-gradient(180deg, rgba(5, 24, 45, 0.52), rgba(5, 24, 45, 0.82)), url("https://staging.qsservices.id/wp-content/uploads/2026/07/qs-knowledge-structural-drawing-1024x576.jpg") !important;
}

/* The generated image belongs to the archive card, not as an extra image inside the article. */
body.single-knowledge main img.wp-post-image {
	display: none;
}
body.post-type-archive-knowledge .qs-card--knowledge a[href*="/cara-menghitung-kebutuhan-besi-tulangan/"] .qs-kb-cover {
	background-image: linear-gradient(180deg, rgba(5, 24, 45, 0.52), rgba(5, 24, 45, 0.82)), url("https://staging.qsservices.id/wp-content/uploads/2026/07/qs-knowledge-reinforcement-bbs-1024x576.jpg") !important;
}

body.post-type-archive-knowledge .qs-card--knowledge a[href*="/checklist-sebelum-pengecoran-plat-lantai/"] .qs-kb-cover {
	background-image: linear-gradient(180deg, rgba(5, 24, 45, 0.52), rgba(5, 24, 45, 0.82)), url("https://staging.qsservices.id/wp-content/uploads/2026/07/qs-knowledge-floor-slab-checklist-1024x576.jpg") !important;
}

body.post-type-archive-knowledge .qs-card--knowledge a[href*="/perbedaan-sloof-balok-dan-ring-balok/"] .qs-kb-cover {
	background-image: linear-gradient(180deg, rgba(5, 24, 45, 0.52), rgba(5, 24, 45, 0.82)), url("https://staging.qsservices.id/wp-content/uploads/2026/07/qs-knowledge-sloof-beam-ring-beam-1024x576.jpg") !important;
}

body.post-type-archive-knowledge .qs-card--knowledge a[href*="/cara-menghitung-volume-beton-rumah/"] .qs-kb-cover {
	background-image: linear-gradient(180deg, rgba(5, 24, 45, 0.52), rgba(5, 24, 45, 0.82)), url("https://staging.qsservices.id/wp-content/uploads/2026/07/qs-knowledge-concrete-volume-1024x576.jpg") !important;
}

body.post-type-archive-knowledge .qs-card--knowledge a[href*="/cara-membaca-gambar-struktur-rumah/"] .qs-kb-cover {
	background-image: linear-gradient(180deg, rgba(5, 24, 45, 0.52), rgba(5, 24, 45, 0.82)), url("https://staging.qsservices.id/wp-content/uploads/2026/07/qs-knowledge-structural-drawing-1024x576.jpg") !important;
}

/* The generated image belongs to the archive card, not as an extra image inside the article. */
body.single-knowledge main img.wp-post-image {
	display: none;
}
