/*
Theme Name:   SysbiTechies
Theme URI:    http://sysbitechies.com
Author:       SysbiTechies
Description:  Premium software-house theme for SysbiTechies. Ports the original Laravel front-end design system verbatim — Bootstrap 5.3 plus the hand-written style/premium/responsive layers — onto WordPress. Pairs with the SysbiTechies Core plugin, which supplies the content types and settings.
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  sysbitechies
Tags:         business, portfolio, custom-menu, custom-logo, featured-images, translation-ready

The real styles live in assets/css/{style,premium,responsive}.css and are
enqueued in that order from functions.php. This file exists for the theme
header and for anything WordPress-specific that the ported design did not
need to account for.
*/

/* ---------- WordPress core classes the ported design did not cover ---------- */

.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #fff;
	clip-path: none;
	color: #2563EB;
	display: block;
	font-size: 1rem;
	height: auto;
	left: 8px;
	line-height: normal;
	padding: 14px 22px;
	text-decoration: none;
	top: 8px;
	width: auto;
	z-index: 100000;
	border-radius: 12px;
	box-shadow: 0 12px 34px rgba(15, 23, 42, .18);
}

.alignleft {
	float: left;
	margin: 0 1.5rem 1rem 0;
}

.alignright {
	float: right;
	margin: 0 0 1rem 1.5rem;
}

.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto 1.5rem;
}

.alignwide,
.alignfull {
	margin: 2rem 0;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text,
.wp-element-caption {
	color: #64748B;
	font-size: .9rem;
	margin-top: .6rem;
	text-align: center;
}

.sticky .entry-title::after {
	content: " ★";
	color: #7C3AED;
}

/* ---------- Form status flash ---------- */

.sbt-alert {
	align-items: flex-start;
	border-radius: 18px;
	display: flex;
	font-weight: 500;
	gap: 12px;
	line-height: 1.6;
	margin-bottom: 26px;
	padding: 16px 20px;
}

.sbt-alert i {
	flex-shrink: 0;
	font-size: 1.15rem;
	margin-top: 2px;
}

.sbt-alert--success {
	background: rgba(16, 185, 129, .10);
	border: 1px solid rgba(16, 185, 129, .30);
	color: #047857;
}

.sbt-alert--error {
	background: rgba(239, 68, 68, .10);
	border: 1px solid rgba(239, 68, 68, .30);
	color: #B91C1C;
}

/* ---------- Pagination ---------- */

.sbt-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin-top: 60px;
}

.sbt-pagination .page-numbers {
	align-items: center;
	background: #fff;
	border: 1.5px solid #E2E8F0;
	border-radius: 50px;
	color: #0F172A;
	display: inline-flex;
	font-family: 'Poppins', system-ui, sans-serif;
	font-weight: 600;
	height: 46px;
	justify-content: center;
	min-width: 46px;
	padding: 0 16px;
	transition: all .3s cubic-bezier(.22, 1, .36, 1);
}

.sbt-pagination .page-numbers:hover {
	border-color: #2563EB;
	color: #2563EB;
	transform: translateY(-2px);
	box-shadow: 0 12px 34px rgba(15, 23, 42, .08);
}

.sbt-pagination .page-numbers.current {
	background: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
	border-color: transparent;
	color: #fff;
	box-shadow: 0 16px 38px rgba(37, 99, 235, .30);
}

.sbt-pagination .page-numbers.dots:hover {
	border-color: #E2E8F0;
	color: #0F172A;
	transform: none;
	box-shadow: none;
}

/* ---------- Editor-authored content inside our cards ---------- */

.sbt-rich-text > *:last-child {
	margin-bottom: 0;
}

.sbt-rich-text h2,
.sbt-rich-text h3,
.sbt-rich-text h4 {
	margin: 2rem 0 1rem;
}

.sbt-rich-text p,
.sbt-rich-text ul,
.sbt-rich-text ol {
	margin-bottom: 1.15rem;
}

.sbt-rich-text ul,
.sbt-rich-text ol {
	padding-left: 1.35rem;
}

.sbt-rich-text ul {
	list-style: disc;
}

.sbt-rich-text ol {
	list-style: decimal;
}

.sbt-rich-text li {
	margin-bottom: .5rem;
}

.sbt-rich-text img {
	border-radius: 18px;
	margin: 1.5rem 0;
}

.sbt-rich-text blockquote {
	border-left: 4px solid #2563EB;
	color: #475569;
	font-style: italic;
	margin: 1.75rem 0;
	padding: .35rem 0 .35rem 1.35rem;
}

.sbt-rich-text a {
	color: #2563EB;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.sbt-rich-text table {
	border-collapse: collapse;
	margin: 1.5rem 0;
	width: 100%;
}

.sbt-rich-text th,
.sbt-rich-text td {
	border: 1px solid #E2E8F0;
	padding: 10px 14px;
	text-align: left;
}

/* Wide content must scroll inside itself, never the page. */
.sbt-rich-text pre,
.sbt-table-scroll {
	overflow-x: auto;
	max-width: 100%;
}

.sbt-rich-text pre {
	background: #0F172A;
	border-radius: 18px;
	color: #E2E8F0;
	padding: 20px 24px;
}

/* ---------- Contact form: fill the card, no dead space ----------
   The contact row stretches both columns to equal height, and the contact-info
   column is the taller of the two. Left alone that leaves a large blank gap
   under the submit button. Making the form a flex column and letting the
   message field grow means the textarea absorbs the difference instead. */

.contact__form-wrap {
	display: flex;
	flex-direction: column;
}

.contact__form-wrap .contact__form {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-height: 0;
}

.contact__form-wrap .contact__form > .row {
	flex: 0 0 auto;
}

.contact__form-message {
	display: flex;
	flex: 1 1 auto;
	margin-top: 24px;
	min-height: 132px;
}

.contact__form-message .form-float {
	display: flex;
	flex: 1;
	flex-direction: column;
}

.contact__form-message textarea.form-control {
	flex: 1 1 auto;
	height: auto;
	resize: vertical;
}

.contact__form-submit {
	flex: 0 0 auto;
	margin-top: 24px;
}

/* Stacked layout has no taller sibling to match, so keep the field compact. */
@media (max-width: 991.98px) {
	.contact__form-message {
		min-height: 0;
	}

	.contact__form-message textarea.form-control {
		min-height: 132px;
	}
}

/* ---------- Empty states ---------- */

.sbt-empty {
	background: #fff;
	border: 1.5px dashed #E2E8F0;
	border-radius: 26px;
	color: #64748B;
	padding: 60px 30px;
	text-align: center;
}

.sbt-empty i {
	color: #94A3B8;
	display: block;
	font-size: 2.4rem;
	margin-bottom: 14px;
}
