/*
Theme Name: PieSphere Global
Theme URI: https://piesphere.com
Author: PieSphere Global Pvt Ltd
Description: Custom WordPress theme for PieSphere Global, ported from the original ASP.NET Core MVC site. Carries the site's existing Pitoon-based design, markup and assets unchanged.
Version: 1.8.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: Proprietary
Text Domain: piesphere
Tags: business, it-services, corporate
*/

/*
 * The real styling lives in the original template stylesheets, enqueued from
 * inc/enqueue.php:
 *     assets/css/pitoon.css
 *     assets/css/pitoon-responsive.css
 *     assets/vendors/...
 *
 * Put WordPress-specific overrides below - things the original static site
 * never needed (admin bar offset, alignment classes, comment/gallery markup).
 */

/* --- Heading hierarchy ---
 * The page-header band renders the page title as <h1> so every page has one.
 * The template only styled `.page-header__inner h2`, so mirror that rule onto
 * h1 to keep the band pixel-identical.
 */

.page-header__inner h1 {
    font-size: 50px;
    color: var(--pitoon-white);
    font-weight: 600;
    line-height: 59px;
    margin: 0;
}

/* --- WordPress core classes the template does not define --- */

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

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

.aligncenter {
    display: block;
    margin: 0 auto 1rem;
}

.alignwide,
.alignfull {
    max-width: 100%;
}

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

.wp-caption-text,
.screen-reader-text:focus {
    font-size: 14px;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    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: auto !important;
    clip-path: none;
    display: block;
    height: auto;
    left: 5px;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Keep the fixed header clear of the admin bar. */
body.admin-bar .stricky-header.stricky-fixed {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .stricky-header.stricky-fixed {
        top: 46px;
    }
}

/* --- Form feedback (contact + resume) --- */

.piesphere-notice {
    border-radius: 6px;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
    padding: 14px 20px;
}

.piesphere-notice--success {
    background-color: #e8f7ee;
    border-left: 4px solid #1f9254;
    color: #14663a;
}

.piesphere-notice--error {
    background-color: #fdecec;
    border-left: 4px solid #c62828;
    color: #8e1c1c;
}

.piesphere-field-error {
    color: #c62828;
    display: block;
    font-size: 14px;
    margin-top: 6px;
}

/* --- Current Jobs table --- */

.piesphere-jobs__empty {
    padding: 40px 0;
    text-align: center;
}
