/*
Theme Name: The Mehmood Group
Theme URI: https://themehmoodgroup.com/
Author: Adnan Ahmed / The Mehmood Group
Author URI: https://themehmoodgroup.com/
Description: Custom classic WordPress theme for The Mehmood Group. Includes dynamic blog archives, Services and Case Studies custom post types, starter content, responsive navigation, editable pages, and site-wide brand settings.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: themehmoodgroup
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root{
  --tmg-navy:#0B2239;
  --tmg-navy-2:#102E4A;
  --tmg-gold:#C9A961;
  --tmg-ink:#1E293B;
  --tmg-muted:#64748B;
  --tmg-line:#E6EAF0;
  --tmg-bg:#F6F8FB;
  --tmg-white:#FFFFFF;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;background:var(--tmg-bg);color:var(--tmg-ink);line-height:1.7}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto}
.tmg-container{width:min(1180px,calc(100% - 32px));margin-inline:auto}
.tmg-topbar{background:var(--tmg-navy);color:#fff;font-size:14px}
.tmg-topbar .tmg-container{display:flex;justify-content:space-between;gap:18px;padding:8px 0;flex-wrap:wrap}
.tmg-site-header{background:#fff;position:sticky;top:0;z-index:999;border-bottom:1px solid var(--tmg-line)}
.tmg-header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:76px}
.tmg-brand{display:flex;align-items:center;gap:10px;color:var(--tmg-navy);font-weight:800}
.tmg-brand-mark{color:var(--tmg-navy);flex:0 0 auto}
.tmg-brand-label{display:flex;flex-direction:column;line-height:1}
.tmg-brand-label>span{font-size:10px;letter-spacing:.24em;font-weight:700;margin-bottom:3px}
.tmg-brand-label strong{font-size:16px;white-space:nowrap}
.tmg-brand-label b{color:var(--tmg-gold)}
.custom-logo{max-height:52px;width:auto}
.tmg-nav{display:flex;align-items:center;gap:20px;font-size:15px;font-weight:650}
.tmg-nav ul{list-style:none;display:flex;align-items:center;gap:20px;margin:0;padding:0}
.tmg-nav a:hover,.tmg-nav .current-menu-item>a{color:#8A6E2F}
.tmg-nav .menu-item-cta>a{background:var(--tmg-gold);color:#111827!important;padding:12px 17px;border-radius:11px;font-weight:800}
.tmg-menu-toggle{display:none;border:0;background:var(--tmg-navy);color:#fff;padding:10px 12px;border-radius:10px;font-weight:800}
.tmg-main{min-height:55vh}
.tmg-page-shell{padding:70px 0}
.tmg-content{background:#fff;border:1px solid var(--tmg-line);border-radius:22px;padding:32px}
.tmg-archive-hero{background:linear-gradient(135deg,var(--tmg-navy),var(--tmg-navy-2));color:#fff;padding:80px 0 64px}
.tmg-archive-hero .kicker{color:#F3E5BF;font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.tmg-archive-hero h1{font-size:clamp(40px,6vw,62px);line-height:1.08;margin:14px 0}
.tmg-archive-hero p{font-size:18px;color:#DDE6EE;max-width:760px}
.tmg-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.tmg-card{background:#fff;border:1px solid var(--tmg-line);border-radius:22px;padding:24px;box-shadow:0 12px 28px rgba(11,34,57,.05)}
.tmg-card h2,.tmg-card h3{color:var(--tmg-navy)}
.tmg-card p{color:var(--tmg-muted)}
.tmg-card-link{color:#7D6228;font-weight:800}
.tmg-thumb{aspect-ratio:16/9;overflow:hidden;border-radius:14px;background:#e9eef3;margin-bottom:18px}
.tmg-thumb img{width:100%;height:100%;object-fit:cover}
.tmg-post-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:30px;align-items:start}
.tmg-sidebar{display:grid;gap:18px}
.tmg-widget{background:#fff;border:1px solid var(--tmg-line);border-radius:18px;padding:20px}
.tmg-widget h3{color:var(--tmg-navy);margin-top:0}
.tmg-widget ul{list-style:none;margin:0;padding:0}
.tmg-widget li{padding:7px 0;border-bottom:1px solid var(--tmg-line)}
.tmg-widget li:last-child{border-bottom:0}
.tmg-pagination{margin-top:28px}
.tmg-pagination .nav-links{display:flex;gap:8px;flex-wrap:wrap}
.tmg-pagination a,.tmg-pagination span{background:#fff;border:1px solid var(--tmg-line);padding:9px 13px;border-radius:10px;font-weight:700}
.tmg-pagination .current{background:var(--tmg-navy);color:#fff;border-color:var(--tmg-navy)}
.tmg-site-footer{background:#071827;color:#D7E0E8;padding:52px 0 24px}
.tmg-footer-grid{display:grid;grid-template-columns:1.2fr .8fr .8fr;gap:30px}
.tmg-site-footer h3,.tmg-site-footer h4{color:#fff}
.tmg-site-footer a{display:block;margin:7px 0}
.tmg-site-footer a:hover{color:var(--tmg-gold)}
.tmg-copy{border-top:1px solid rgba(255,255,255,.12);margin-top:30px;padding-top:18px;color:#9FB0BE;font-size:14px}
.tmg-empty{background:#fff;border:1px solid var(--tmg-line);border-radius:18px;padding:28px}
.alignwide{width:min(1180px,calc(100vw - 32px));max-width:none;margin-left:50%;transform:translateX(-50%)}
.wp-block-image img{border-radius:14px}
.screen-reader-text{position:absolute;left:-9999px}
@media(max-width:980px){
  .tmg-grid{grid-template-columns:1fr 1fr}
  .tmg-post-layout{grid-template-columns:1fr}
  .tmg-menu-toggle{display:block}
  .tmg-nav{display:none;position:absolute;top:76px;left:16px;right:16px;background:#fff;border:1px solid var(--tmg-line);border-radius:16px;padding:18px;box-shadow:0 18px 40px rgba(11,34,57,.12)}
  .tmg-nav.is-open{display:block}
  .tmg-nav ul{flex-direction:column;align-items:flex-start}
  .tmg-footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .tmg-grid,.tmg-footer-grid{grid-template-columns:1fr}
  .tmg-topbar .tmg-container{font-size:12px}
  .tmg-content{padding:22px}
}
