/*
Theme Name: Streamline Managed IT
Theme URI: https://streamlinesolutions.ca/
Author: Streamline I.T. Solutions Inc.
Author URI: https://streamlinesolutions.ca/
Description: Custom theme for Streamline I.T. Solutions Inc. On activation it creates the designed pages (Home, Managed IT Services, IT Services, About Us, Free IT Assessment, seven service pages and four industry pages), the Blog page and three starter articles, sets the static front page, and enables the free IT assessment form. Settings live under Appearance → Streamline Setup.
Version: 1.4.0
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary – for use by Streamline I.T. Solutions Inc.
Text Domain: streamline
*/

/* Page-specific design styles live in assets/css/pages/. This file holds shared extras. */

html { scroll-behavior: smooth; }
img { max-width: 100%; }

.sl-skip {
	position: absolute;
	left: -9999px;
	top: 8px;
	z-index: 1000;
	background: #003A62;
	color: #fff;
	padding: 10px 16px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
}
.sl-skip:focus { left: 16px; color: #fff; }

/* Spam trap on the assessment form */
.sl-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Blog articles and plain pages: content written in the WordPress editor */
.sl-article { font-size: 18px; line-height: 1.7; color: #3D3C41; }
.sl-article h2 { font-size: 40px; letter-spacing: 0.01em; color: #003A62; margin-top: 24px; }
.sl-article h3 { font-size: 30px; letter-spacing: 0.01em; color: #003A62; margin-top: 16px; }
.sl-article h4 { font-size: 20px; color: #003A62; margin: 12px 0 0; }
.sl-article ul,
.sl-article ol { margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.sl-article ul { list-style: none; }
.sl-article ul li { padding-left: 28px; position: relative; }
.sl-article ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 12px;
	width: 10px;
	height: 10px;
	background: #0081C6;
	transform: rotate(45deg);
}
.sl-article ol { padding-left: 24px; }
.sl-article blockquote { margin: 0; padding: 20px 24px; background: #F2F5F8; border-radius: 12px; }
.sl-article figure { margin: 0; }
.sl-article img { height: auto; border-radius: 12px; }
.sl-article figcaption { font-size: 14px; color: #5F5E63; margin-top: 8px; }
.sl-article table { width: 100%; border-collapse: collapse; font-size: 16px; }
.sl-article th,
.sl-article td { text-align: left; padding: 12px 14px; border-bottom: 1px solid #DDE3E9; }
.sl-article hr { border: 0; border-top: 1px solid #DDE3E9; margin: 8px 0; width: 100%; }
.sl-article .wp-block-spacer { display: none; }
.sl-article .wp-block-table { overflow-x: auto; }
.sl-article .wp-block-table thead th { background: #F2F5F8; color: #003A62; }
.sl-article a { color: #0069AA; }
.sl-article strong { color: #003A62; }
.sl-article .wp-block-button__link { background: #0069AA; color: #fff; border-radius: 8px; padding: 14px 24px; text-decoration: none; font-weight: 600; }

/* Blog pagination */
.sl-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.sl-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 16px;
	border: 1px solid #DDE3E9;
	border-radius: 8px;
	background: #fff;
	text-decoration: none;
	font-weight: 600;
}
.sl-pagination .page-numbers.current { background: #0069AA; border-color: #0069AA; color: #fff; }

/* WordPress core alignment helpers */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
