/*
Theme Name: The Master Mech Solutions
Theme URI: https://mastermech.co.za/
Author: The Master Mech Solutions
Description: A complete industrial engineering website with 15 starter pages, responsive navigation, project gallery, editable business details and a secure enquiry form. Includes a guided page and menu setup. No page builder required.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mastermech-solutions
Tags: custom-logo, custom-menu, featured-images, full-width-template, block-styles, editor-style
*/

/* Main design: assets/css/site.css. WordPress integration styles below. */
.desktop-nav ul,.mobile-menu nav ul{list-style:none;margin:0;padding:0}
.desktop-nav>ul{display:flex;align-items:center;gap:30px}
.desktop-nav li{margin:0;padding:0}
.desktop-nav .current-menu-item>a,.desktop-nav .current-menu-ancestor>a{color:var(--teal)}
.mobile-menu nav .sub-menu{padding:8px 0 12px 20px}
.mobile-menu nav .sub-menu a{font-size:16px;padding:9px 0}
.brand.custom-brand img{width:auto;height:auto;max-height:68px;max-width:260px}
.site-footer .custom-brand img{max-width:235px}
body.admin-bar .site-header{top:32px}
.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!important;width:1px;word-wrap:normal!important}
.screen-reader-text:focus{clip:auto!important;clip-path:none;display:block;height:auto;left:8px;top:8px;width:auto;z-index:100000;background:#fff;padding:16px}
.wp-page-content{max-width:900px;padding-block:72px}
.wp-page-content a:not(.button),.wp-post-content a:not(.button){text-decoration:underline;text-underline-offset:4px}
.wp-page-content>h2,.wp-post-content>h2{margin-top:42px}
.wp-page-content p,.wp-post-content p{overflow-wrap:anywhere}
.wp-page-content .alignwide{max-width:1100px}
.aligncenter{margin-inline:auto}.alignright{float:right;margin:0 0 20px 28px}.alignleft{float:left;margin:0 28px 20px 0}
.wp-caption,.wp-caption-text,.gallery-caption,figcaption{max-width:100%;font-size:13px;color:var(--muted)}
.wp-block-image img{height:auto;border-radius:18px}.wp-block-button__link{border-radius:100px;background:var(--teal);font:inherit}
.wp-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.wp-post-card{padding:28px;border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow)}
.wp-post-card img{width:100%;height:220px;object-fit:cover;border-radius:16px;margin-bottom:25px}
.wp-post-card h2{font-size:27px}.wp-post-card p{color:var(--muted);font-size:15px}
.wp-post-date{font-size:12px;color:var(--teal);margin-bottom:14px;display:block}
.wp-post-content{max-width:860px}.wp-post-content>.attachment-post-thumbnail{width:100%;height:auto;border-radius:24px;margin-bottom:36px}
.navigation.pagination{margin-top:40px}.nav-links{display:flex;gap:10px;flex-wrap:wrap}.page-numbers{padding:8px 17px;border:1px solid var(--line);border-radius:50px}.page-numbers.current{background:var(--teal);color:#fff}
.search-form{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.search-form label{flex:1}.search-field{border:1px solid var(--line);border-radius:12px;padding:14px;width:100%;background:#fff}.search-submit{border-radius:100px;background:var(--teal);color:white;padding:15px 28px;border:0}
.enquiry-card .form-status{scroll-margin-top:145px}.enquiry-card button[disabled]{opacity:.65;cursor:wait}
.form-errors{margin:0 0 18px;padding:14px 18px;background:#fff3eb;border-radius:14px;color:#733d19}
.form-errors ul{padding-left:20px;margin:0}.form-errors a{text-decoration:underline}
.comment-list{list-style:none;padding:0}.comment-body{padding:24px;border-bottom:1px solid var(--line)}.comment-meta{font-size:13px}.comment-form label{display:block}.comment-form input:not([type=checkbox]),.comment-form textarea{width:100%;padding:14px;border:1px solid var(--line);border-radius:12px}.comment-form .submit{background:var(--teal);color:white;border-radius:30px;width:auto!important}.comment-form-cookies-consent{display:flex;gap:12px;align-items:flex-start}.comment-form-cookies-consent label{font-size:13px}
.sticky,.bypostauthor{border-color:var(--teal)}
@media(max-width:1200px){.desktop-nav>ul{gap:20px}}
@media(max-width:782px){body.admin-bar .site-header{top:46px}.wp-post-grid{grid-template-columns:1fr}.wp-page-content{padding-block:50px}.brand.custom-brand img{max-width:210px}}
@media(max-width:600px){body.admin-bar .site-header{top:0}}

.mobile-menu nav li>a{display:block}.footer-top nav ul{list-style:none;margin:0;padding:0}.footer-top nav li>a{display:inline-block}
