/*
Theme Name: Dholera Property
Theme URI: https://dholeraproperty.com/
Author: OpenAI
Description: Modern multipage WordPress theme converted from the supplied Dholera Property website design.
Version: 2.7.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: dholera-property
*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');
:root{--navy:#0a1a2f;--navy2:#0f2540;--navy3:#152d4a;--gold:#d4af37;--gold2:#e6b54f;--sage:#4d8b73;--ink:#102238;--muted:#617086;--light:#f3f6fa;--border:#e4e9ef;--white:#fff}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,Arial,sans-serif;color:var(--ink);font-size:16px;line-height:1.65;background:#fff}
h1,h2,h3,h4,h5,h6{font-family:'Plus Jakarta Sans',Inter,sans-serif;line-height:1.2;letter-spacing:-.025em}
a{color:inherit;text-decoration:none}
.container{width:min(1180px,calc(100% - 40px));margin:auto}
.section{padding:88px 0}
.eyebrow{display:inline-block;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.16em;color:#b28b20}
.lead{color:var(--muted);max-width:720px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:13px 20px;border-radius:10px;font-weight:700;transition:.25s}
.btn-gold{background:linear-gradient(135deg,var(--gold),var(--gold2));color:var(--navy)}
.btn-gold:hover{transform:translateY(-2px);box-shadow:0 12px 30px #d4af3740}
.btn-outline{border:1px solid #ffffff40;color:#fff}
.btn-outline:hover{background:#ffffff12}
.grid{display:grid;gap:24px}
.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.card{background:#fff;border:1px solid var(--border);border-radius:18px;overflow:hidden;box-shadow:0 10px 35px #0a1a2f08}
.card-pad{padding:24px}
.card-hover{transition:.25s}
.card-hover:hover{transform:translateY(-5px);box-shadow:0 22px 45px #0a1a2f14}
.muted{color:var(--muted)}
.brand{display:flex;align-items:center;gap:12px;color:#fff}
.brand-mark{width:42px;height:42px;border-radius:10px;background:linear-gradient(135deg,var(--gold),var(--gold2));display:grid;place-items:center;color:var(--navy);font-weight:900}
.brand-title{font-family:'Plus Jakarta Sans';font-weight:800;font-size:17px;line-height:1}
.brand-title span{color:var(--gold2)}
.brand-sub{font-size:9px;letter-spacing:.17em;text-transform:uppercase;color:#fff9;margin-top:5px}
.hero{min-height:760px;display:flex;align-items:center;position:relative;color:#fff;background:linear-gradient(90deg,#061426ed,#0a1a2f9a 55%,#0a1a2f55),url('https://images.pexels.com/photos/37853147/pexels-photo-37853147.jpeg?auto=compress&cs=tinysrgb&w=1920') center/cover}
.hero-inner{padding:150px 0 90px}
.hero h1{font-size:clamp(42px,6vw,72px);max-width:850px;margin:16px 0}
.hero p{font-size:18px;color:#e7edf5;max-width:700px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}
.hero-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:55px;max-width:760px}
.stat{background:#fff12;border:1px solid #fff20;padding:16px 18px;border-radius:14px;backdrop-filter:blur(8px)}
.stat strong{display:block;color:#fff;font-size:23px}
.stat span{font-size:12px;color:#cfd8e3}
.trust{background:var(--navy);color:#fff}
.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0}
.trust-item{padding:30px;border-right:1px solid #fff15}
.trust-item:last-child{border-right:0}
.trust-item strong{font-size:27px;color:var(--gold2);display:block}
.trust-item span{font-size:12px;color:#b9c6d6}
.page-hero{padding:155px 0 80px;color:#fff;background:linear-gradient(90deg,#07182bed,#0a1a2fb8),url('https://images.pexels.com/photos/38222405/pexels-photo-38222405.jpeg?auto=compress&cs=tinysrgb&w=1920') center/cover}
.page-hero h1{font-size:clamp(38px,5vw,62px);margin:14px 0}
.page-hero p{color:#dce5ef;max-width:760px}
.feature-img{width:100%;height:260px;object-fit:cover}
.project-img{height:220px;width:100%;object-fit:cover}
.project-body h3{margin:8px 0}
.badge{display:inline-block;padding:5px 9px;border-radius:99px;background:#d4af3718;color:#9a7616;font-size:11px;font-weight:800}
.meta{display:flex;flex-wrap:wrap;gap:10px;font-size:12px;color:var(--muted)}
.list-check{list-style:none;padding:0;margin:20px 0}
.list-check li{position:relative;padding-left:27px;margin:9px 0;font-weight:600;color:#33445a}
.list-check li:before{content:'✓';position:absolute;left:0;color:var(--sage);font-weight:900}
.dark-panel{background:linear-gradient(135deg,var(--navy),var(--navy3));color:#fff;border-radius:22px;padding:32px}
.icon-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.icon-tile{background:#fff12;border:1px solid #fff14;padding:18px;border-radius:13px}
.icon-tile b{display:block;color:var(--gold2);margin-bottom:5px}
.soft{background:var(--light)}
.search-box{background:#fff;border:1px solid var(--border);padding:22px;border-radius:18px;box-shadow:0 12px 35px #0a1a2f0d}
.search-row{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.search-row select,.search-row input{width:100%;padding:12px;border:1px solid var(--border);border-radius:9px;background:#fff}
.faq-item{border:1px solid var(--border);border-radius:13px;margin-bottom:10px;overflow:hidden}
.faq-item summary{cursor:pointer;padding:17px 20px;font-weight:700;list-style:none}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item p{padding:0 20px 18px;color:var(--muted);margin:0}
.gallery img{width:100%;height:270px;object-fit:cover;border-radius:15px}
.blog-card img{width:100%;height:220px;object-fit:cover}
.blog-card h3{margin:10px 0 8px}
.contact-card{padding:25px;border-radius:18px;border:1px solid var(--border)}
.contact-card strong{display:block;margin-bottom:5px}
.site-footer{background:#071426;color:#b9c6d6;padding:65px 0 20px}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:35px;padding-bottom:40px;border-bottom:1px solid #fff12}
.footer-title{color:#fff;font-weight:800;margin-bottom:14px}
.footer-links{list-style:none;padding:0;margin:0}
.footer-links li{margin:8px 0}
.footer-links a:hover{color:var(--gold2)}
.copyright{display:flex;justify-content:space-between;gap:20px;padding-top:20px;font-size:12px}
.floating{position:fixed;right:18px;bottom:18px;z-index:900;display:flex;flex-direction:column;gap:9px}
.float-btn{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:900;box-shadow:0 10px 25px #0003}
.float-call{background:var(--navy)}
.float-wa{background:#25d366}
.prose{max-width:820px;margin:auto}
.prose h2{margin-top:38px}
.prose p,.prose li{color:var(--muted)}
.notice{padding:16px 18px;border-left:4px solid var(--gold);background:#fff9e8;border-radius:8px;color:#5f511f}
.pagination{display:flex;gap:8px;margin-top:35px}
.pagination a,.pagination span{padding:9px 13px;border:1px solid var(--border);border-radius:8px}
@media(max-width:768px){
  .trust-grid{grid-template-columns:repeat(2,1fr)}
  .trust-item:nth-child(2){border-right:0}
  .footer-grid{grid-template-columns:2fr 1fr 1fr}
  .grid-4{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:760px){
  .container{width:min(100% - 28px,1180px)}
  .section{padding:65px 0}
  .hero{min-height:700px}
  .hero-inner{padding-top:130px}
  .hero h1{font-size:40px}
  .hero-stats,.grid-2,.grid-3,.grid-4,.search-row,.icon-grid{grid-template-columns:1fr}
  .trust-grid{grid-template-columns:1fr 1fr}
  .trust-item{border-right:1px solid #fff15!important}
  .trust-item:nth-child(even){border-right:0!important}
  .footer-grid{grid-template-columns:1fr 1fr}
  .copyright{flex-direction:column;text-align:center}
  .page-hero{padding-top:125px}
}
/* =========================================================
   FINAL RESPONSIVE / NO-HORIZONTAL-OVERFLOW FIX
   ========================================================= */
html, body{
  max-width: 100%;
  overflow-x: clip;
}
@supports not (overflow: clip){
  html, body{ overflow-x: hidden; }
}
img, video, iframe, svg, table{ max-width: 100%; }
input, textarea, select, button{ max-width: 100%; }
main, .site-footer{ max-width: 100%; }
/* Remove common sources of page-level horizontal scroll. */
.container,
.section,
.hero,
.hero-inner,
.page-hero,
.page-hero > *,
.site-footer > *,
.footer-grid,
.grid,
.search-box,
.search-row,
.prose,
.dark-panel{
  min-width: 0;
  max-width: 100%;
}
.grid > *, .footer-grid > *, .search-row > *, .icon-grid > *{ min-width: 0; }
@media (max-width: 760px){
  .container{ width: calc(100% - 28px) !important; }
  .section{ padding-left: 0; padding-right: 0; }
  .hero, .page-hero{ width: 100%; }
  .copyright{ min-width: 0; }
}
html{ width:100%; max-width:100%; overflow-x:hidden; }
body{ width:100%; max-width:100%; overflow-x:hidden; }
*, *::before, *::after{ box-sizing:border-box; }
img, video, iframe, embed, object{ max-width:100%; }
pre, code{ max-width:100%; overflow:auto; }
table{ width:100%; max-width:100%; }
/* Mobile drawer */
/* Global responsive layout rules. */
.container{ width:min(1180px, calc(100% - 40px)); max-width:100%; min-width:0; }
.section, .hero, .page-hero, .site-footer{ max-width:100%; min-width:0; }
.grid, .grid-2, .grid-3, .grid-4, .trust-grid, .footer-grid, .search-row, .icon-grid{ min-width:0; max-width:100%; }
.grid > *, .footer-grid > *, .search-row > *, .icon-grid > *, .trust-grid > *{ min-width:0; max-width:100%; }
.hero-inner, .page-hero > .container{ min-width:0; max-width:100%; }
.prose{ min-width:0; max-width:820px; overflow-wrap:anywhere; }
.card, .card-pad, .dark-panel, .search-box, .contact-card, .notice{ min-width:0; max-width:100%; overflow-wrap:anywhere; }
.meta{ min-width:0; max-width:100%; overflow-wrap:anywhere; }
.footer-menu, .footer-links{ max-width:100%; min-width:0; overflow-wrap:anywhere; }
.footer-menu li, .footer-links li{ min-width:0; }
.footer-menu a, .footer-links a{ overflow-wrap:anywhere; }
/* Never let long URLs/text, tables or embedded media create a second page width. */
.prose table, .prose pre, .prose code, .prose img, .prose iframe{ max-width:100%; }
.prose table{ display:block; overflow-x:auto; }
input, textarea, select, button{ max-width:100%; }
@media (max-width:760px){
  .container{ width:calc(100% - 28px) !important; }
  .section{ padding-top:60px; padding-bottom:60px; }
  .hero{ min-height:680px; }
  .hero-inner{ padding-top:125px; padding-bottom:65px; }
  .hero h1{ font-size:clamp(34px, 10vw, 44px); }
  .hero p{ font-size:16px; }
  .hero-actions{ flex-direction:column; align-items:stretch; }
  .hero-actions .btn{ width:100%; }
  .trust-grid, .grid-2, .grid-3, .grid-4, .search-row, .icon-grid{ grid-template-columns:1fr !important; }
  .footer-grid{ grid-template-columns:1fr !important; gap:25px; }
  .copyright{ flex-direction:column; align-items:flex-start; }
  .page-hero{ padding-top:120px; padding-bottom:65px; }
  .page-hero h1{ font-size:clamp(34px,9vw,48px); }
  .gallery img, .feature-img, .project-img, .blog-card img{ height:auto; min-height:0; aspect-ratio:16/10; }
}
html, body{ max-width:100%; overflow-x:hidden; }
/* Gold underline appears on every top-level category on hover/focus/current page. */
/* Dropdown indicator for Dholera SIR. */
/* Prevent accidental viewport-wide overflow without breaking internal scroll areas. */
img,video,iframe,embed,object{ max-width:100%; }
.site-footer, main{ max-width:100%; min-width:0; }
.container,.section,.hero,.page-hero,.footer-grid,.grid,.grid-2,.grid-3,.grid-4{ min-width:0; max-width:100%; }
.prose,.card,.contact-card,.dark-panel{ min-width:0; overflow-wrap:anywhere; }
.prose table{ display:block; max-width:100%; overflow-x:auto; }

/* =========================================================
   HEADER & NAVIGATION
   Desktop: horizontal menu with dropdowns (hover / keyboard / touch).
   Mobile & tablet (and whenever the items no longer fit on
   one line): hamburger + slide-in menu with accordion sub-menus.
   The menu itself is managed in Dholera Website -> Header Menu.
   ========================================================= */
.brand-logo{width:44px;height:44px;object-fit:contain;border-radius:10px;flex:0 0 auto}
.brand-mark{flex:0 0 auto}

.site-header{position:fixed;top:0;left:0;right:0;z-index:9990;width:100%;padding:12px 0;background:rgba(10,26,47,.94);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid rgba(255,255,255,.06);transition:box-shadow .25s ease,padding .25s ease}
.site-header.is-scrolled{box-shadow:0 8px 30px rgba(0,0,0,.28)}
.admin-bar .site-header{top:32px}
@media(max-width:782px){.admin-bar .site-header{top:46px}}
.header-row{display:flex;align-items:center;gap:20px;width:min(1440px,calc(100% - 48px));margin:0 auto;min-height:48px}
.site-header .brand{flex:0 0 auto;min-width:0}
.site-header .brand-text{min-width:0}
.site-header .brand-title,.site-header .brand-sub{white-space:nowrap}

/* ---- Desktop navigation ---- */
.main-nav{flex:1 1 auto;min-width:0;display:flex;justify-content:center}
.main-nav .menu{display:flex;align-items:center;flex-wrap:nowrap;gap:2px;margin:0;padding:0;list-style:none;flex:0 0 auto}
.main-nav .menu li{position:relative;margin:0;padding:0;list-style:none}
.main-nav .menu>li{display:flex;align-items:center}
.main-nav .menu>li>a{position:relative;display:block;padding:11px 12px;color:#f5f8fc;font-size:14px;font-weight:600;line-height:1.2;white-space:nowrap;border-radius:8px;transition:color .2s ease,background .2s ease}
.main-nav .menu>li>a::after{content:"";position:absolute;left:12px;right:12px;bottom:5px;height:2px;border-radius:2px;background:var(--gold2);transform:scaleX(0);transform-origin:left;transition:transform .25s ease}
.main-nav .menu>li:hover>a,.main-nav .menu>li.is-open>a,.main-nav .menu>li>a:focus-visible,.main-nav .menu>li.current-menu-item>a,.main-nav .menu>li.current-menu-ancestor>a,.main-nav .menu>li.current-menu-parent>a{color:var(--gold2)}
.main-nav .menu>li:hover>a::after,.main-nav .menu>li.is-open>a::after,.main-nav .menu>li>a:focus-visible::after,.main-nav .menu>li.current-menu-item>a::after,.main-nav .menu>li.current-menu-ancestor>a::after,.main-nav .menu>li.current-menu-parent>a::after{transform:scaleX(1)}
.main-nav .menu>li.menu-item-has-children>a{padding-right:4px}
.main-nav .menu>li.menu-item-has-children>a::after{right:4px}

/* caret button (used on desktop and mobile) */
.submenu-toggle{display:inline-flex;align-items:center;justify-content:center;width:26px;height:34px;padding:0;margin:0;border:0;background:transparent;color:inherit;cursor:pointer;border-radius:6px;flex:0 0 auto}
.submenu-toggle .caret{display:block;width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translate(-1px,-1px);transition:transform .25s ease}
.submenu-toggle:focus-visible,.main-nav a:focus-visible,.mobile-menu a:focus-visible,.mobile-toggle:focus-visible,.mm-close:focus-visible{outline:2px solid var(--gold2);outline-offset:2px}
.main-nav .menu>li>.submenu-toggle{color:#f5f8fc;margin-left:-2px;opacity:.85}
.main-nav .menu>li.is-open>.submenu-toggle .caret{transform:rotate(-135deg) translate(-1px,-1px)}

/* dropdown panel */
.main-nav .sub-menu{position:absolute;top:100%;left:0;z-index:20;min-width:250px;max-width:min(360px,calc(100vw - 24px));margin:10px 0 0;padding:8px;list-style:none;background:#fff;border:1px solid var(--border);border-radius:14px;box-shadow:0 24px 60px rgba(7,20,38,.3);opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .18s ease,transform .18s ease,visibility .18s ease}
.main-nav .sub-menu::before{content:"";position:absolute;left:0;right:0;top:-12px;height:12px}
.main-nav .sub-menu.flip-left,.main-nav .flip-left>.sub-menu{left:auto;right:0}
.main-nav .menu-item-has-children.is-open>.sub-menu,.main-nav .menu-item-has-children:focus-within>.sub-menu{opacity:1;visibility:visible;transform:none}
@media(hover:hover) and (pointer:fine){.main-nav .menu-item-has-children:hover>.sub-menu{opacity:1;visibility:visible;transform:none}}
.main-nav .dholera-cols-2>.sub-menu{display:grid;grid-template-columns:repeat(2,minmax(230px,1fr));gap:2px;width:max-content;max-width:min(580px,calc(100vw - 24px))}
.main-nav .sub-menu li{display:flex;align-items:center;width:100%}
.main-nav .sub-menu a{display:block;flex:1 1 auto;padding:10px 12px;color:var(--ink);font-size:13.5px;font-weight:600;line-height:1.35;white-space:normal;border-radius:9px;transition:background .15s ease,color .15s ease}
.main-nav .sub-menu a:hover,.main-nav .sub-menu a:focus-visible,.main-nav .sub-menu .current-menu-item>a{background:var(--light);color:#9a7616}
.main-nav .sub-menu .submenu-toggle{color:var(--muted);height:36px}
.main-nav .sub-menu .submenu-toggle .caret{transform:rotate(-45deg)}
.main-nav .sub-menu li.is-open>.submenu-toggle .caret{transform:rotate(45deg)}
/* third level opens sideways */
.main-nav .sub-menu .sub-menu{top:-9px;left:100%;margin:0 0 0 8px}
.main-nav .sub-menu .sub-menu::before{left:-10px;right:auto;top:0;bottom:0;width:10px;height:auto}
.main-nav .sub-menu .flip-left>.sub-menu{left:auto;right:100%;margin:0 8px 0 0}
.main-nav .sub-menu .flip-left>.sub-menu::before{left:auto;right:-10px}

/* ---- Header buttons + hamburger ---- */
.header-cta{display:flex;align-items:center;gap:10px;flex:0 0 auto;margin-left:auto}
.header-cta .btn{padding:0 18px;min-height:44px;font-size:14px;white-space:nowrap}
.mobile-toggle{display:none;align-items:center;justify-content:center;width:46px;height:46px;padding:0;border:1px solid rgba(255,255,255,.2);border-radius:12px;background:rgba(255,255,255,.06);color:#fff;cursor:pointer;flex:0 0 auto;transition:background .2s ease}
.mobile-toggle:hover{background:rgba(255,255,255,.14)}
.hamburger-lines{display:flex;flex-direction:column;justify-content:center;gap:5px;width:22px}
.hamburger-lines i{display:block;height:2px;width:100%;background:#fff;border-radius:2px}

/* Tighter desktop: hide the outline "Call" button first (it lives in the mobile menu too) */
.site-header.is-tight .header-cta .btn-outline{display:none}
@media(max-width:1279px){.site-header .header-cta .btn-outline{display:none}.main-nav .menu>li>a{padding-left:9px;padding-right:9px;font-size:13.5px}.main-nav .menu>li.menu-item-has-children>a{padding-right:2px}}

/* ---- Collapsed: tablet, mobile, or when the menu does not fit on one line ---- */
.site-header.is-collapsed .main-nav{display:none}
.site-header.is-collapsed .mobile-toggle{display:inline-flex}
.site-header.is-collapsed .header-cta .btn-outline{display:none}
.site-header.is-collapsed .header-row{gap:12px}
.site-header.is-collapsed .brand{margin-right:auto}
@media(max-width:1024px){
  .main-nav{display:none}
  .mobile-toggle{display:inline-flex}
  .header-cta .btn-outline{display:none}
  .header-row{gap:12px;width:min(100% - 32px,1440px)}
  .site-header .brand{margin-right:auto}
}
@media(max-width:767px){
  .site-header{padding:9px 0}
  .header-row{width:calc(100% - 24px);min-height:46px}
  .header-cta .btn-gold{display:none}
  .site-header .brand{gap:9px;min-width:0;flex:1 1 auto;overflow:hidden}
  .site-header .brand-mark,.site-header .brand-logo{width:38px;height:38px}
  .site-header .brand-title{font-size:15px;overflow:hidden;text-overflow:ellipsis}
  .site-header .brand-sub{font-size:7.5px;letter-spacing:.12em;overflow:hidden;text-overflow:ellipsis}
  .mobile-toggle{width:44px;height:44px}
}
@media(max-width:380px){
  .site-header .brand-sub{display:none}
  .site-header .brand-title{font-size:14px}
}

/* ---- Mobile slide-in menu ---- */
.menu-overlay{position:fixed;inset:0;z-index:9998;background:rgba(3,10,20,.62);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);opacity:0;visibility:hidden;transition:opacity .3s ease,visibility 0s .3s}
.menu-overlay.open{opacity:1;visibility:visible;transition:opacity .3s ease,visibility 0s}
.mobile-menu{position:fixed;top:0;right:0;bottom:0;z-index:9999;display:flex;flex-direction:column;width:min(400px,88vw);height:100vh;height:100dvh;color:#fff;background:linear-gradient(180deg,#0d2340 0%,#071426 100%);box-shadow:-24px 0 60px rgba(0,0,0,.45);transform:translateX(100%);visibility:hidden;transition:transform .32s cubic-bezier(.22,.8,.3,1),visibility 0s .32s}
.mobile-menu.open{transform:none;visibility:visible;transition:transform .32s cubic-bezier(.22,.8,.3,1),visibility 0s}
.admin-bar .mobile-menu{top:32px;height:calc(100vh - 32px);height:calc(100dvh - 32px)}
@media(max-width:782px){.admin-bar .mobile-menu{top:46px;height:calc(100vh - 46px);height:calc(100dvh - 46px)}}
.mm-head{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid rgba(255,255,255,.1)}
.mm-head .brand-title{font-size:15px}
.mm-head .brand-mark,.mm-head .brand-logo{width:38px;height:38px}
.mm-close{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid rgba(255,255,255,.2);border-radius:12px;background:rgba(255,255,255,.06);color:#fff;font-size:30px;line-height:1;cursor:pointer;flex:0 0 auto}
.mm-close:hover{background:rgba(255,255,255,.14)}
.mm-body{flex:1 1 auto;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:6px 16px 12px}
.mobile-menu .menu,.mobile-menu .sub-menu{list-style:none;margin:0;padding:0}
.mobile-menu .menu li{position:relative;margin:0;list-style:none}
.mobile-menu .menu>li{border-bottom:1px solid rgba(255,255,255,.09)}
.mobile-menu .menu a{display:block;padding:15px 52px 15px 4px;color:#fff;font-size:17px;font-weight:700;line-height:1.3;transition:color .15s ease}
.mobile-menu .menu a:hover,.mobile-menu .menu .current-menu-item>a,.mobile-menu .menu .current-menu-ancestor>a{color:var(--gold2)}
.mobile-menu .menu li:not(.menu-item-has-children)>a{padding-right:4px}
.mobile-menu .submenu-toggle{position:absolute;right:0;top:4px;width:46px;height:46px;color:#fff;background:rgba(255,255,255,.06);border-radius:10px}
.mobile-menu .submenu-toggle .caret{width:9px;height:9px}
.mobile-menu li.is-open>.submenu-toggle{color:var(--gold2)}
.mobile-menu li.is-open>.submenu-toggle .caret{transform:rotate(-135deg) translate(-1px,-1px)}
.mobile-menu .sub-menu{max-height:0;overflow:hidden;visibility:hidden;margin-left:4px;border-left:2px solid rgba(212,175,55,.4);transition:max-height .3s ease,visibility 0s .3s}
.mobile-menu li.is-open>.sub-menu{visibility:visible;transition:max-height .3s ease,visibility 0s}
.mobile-menu .sub-menu li{border:0}
.mobile-menu .sub-menu a{padding:11px 46px 11px 14px;font-size:15px;font-weight:600;color:#dbe5f2}
.mobile-menu .sub-menu li:last-child{margin-bottom:8px}
.mobile-menu .sub-menu .submenu-toggle{top:2px;width:42px;height:42px}
.mobile-menu .sub-menu .sub-menu{margin-left:14px}
.mm-foot{flex:0 0 auto;display:grid;gap:10px;padding:14px 16px calc(16px + env(safe-area-inset-bottom));border-top:1px solid rgba(255,255,255,.1);background:rgba(0,0,0,.18)}
.mm-foot .btn{width:100%;min-height:48px}
.mm-foot .btn-call{border:1px solid rgba(255,255,255,.28);color:#fff}
.mm-foot .btn-call:hover{background:rgba(255,255,255,.1)}
body.menu-open{overflow:hidden}
@media(prefers-reduced-motion:reduce){.mobile-menu,.menu-overlay,.main-nav .sub-menu,.mobile-menu .sub-menu{transition:none!important}}


/* =========================================================
   ADVANCED PROJECT DIRECTORY / DICDL UPDATE
   ========================================================= */
.project-intro-grid{display:grid;grid-template-columns:1.7fr 1fr;gap:30px;align-items:end;margin-bottom:35px}
.directory-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.directory-stats div{padding:18px;border:1px solid var(--border);border-radius:16px;background:#fff;box-shadow:0 10px 30px #0a1a2f08}
.directory-stats strong{display:block;font-size:28px;color:var(--navy)}
.directory-stats span{font-size:11px;color:var(--muted)}
.project-filter-panel{background:linear-gradient(135deg,#071426,#102b46);border-radius:24px;padding:26px;color:#fff;box-shadow:0 22px 55px #07142620}
.filter-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:18px}
.filter-heading h3{margin:3px 0 0;color:#fff}
.filter-reset{border:1px solid #ffffff33;background:#ffffff0d;color:#fff;padding:9px 14px;border-radius:9px;cursor:pointer}
.project-filter-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:12px}
.project-filter-grid label{font-size:11px;color:#bfcbd8;font-weight:700}
.project-filter-grid input,.project-filter-grid select{display:block;width:100%;margin-top:7px;padding:13px 14px;border:1px solid #ffffff22;border-radius:10px;background:#fff;color:#17283b;outline:none}
.filter-result-line{display:flex;justify-content:space-between;gap:15px;margin-top:16px;padding-top:14px;border-top:1px solid #ffffff18;font-size:11px;color:#aebdce}
.project-card-advanced{overflow:hidden;position:relative}
.project-card-advanced[hidden]{display:none!important}
.project-card-image{display:block}
.project-image-fallback{height:235px;background:radial-gradient(circle at 75% 25%,#d4af3740,transparent 30%),linear-gradient(135deg,#071426,#173b5d);display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;position:relative;overflow:hidden}
.project-image-fallback:after{content:"";position:absolute;inset:0;background:linear-gradient(145deg,transparent 45%,#ffffff08 45%,#ffffff08 46%,transparent 46%)}
.project-image-fallback span{font-size:52px;font-weight:900;letter-spacing:4px;color:#e6b54f;position:relative;z-index:1}
.project-image-fallback small{margin-top:7px;color:#c8d4e2;position:relative;z-index:1}
.project-topline{display:flex;justify-content:space-between;align-items:center;gap:8px}
.source-pill{font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.7px;color:var(--muted);border:1px solid var(--border);padding:5px 7px;border-radius:99px}
.project-card-advanced h3{font-size:22px;margin:13px 0 8px}
.project-card-advanced .muted{min-height:74px}
.project-link{font-weight:800}
.project-empty{margin-top:20px}
.step-number,.mini-icon{display:inline-grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#d4af3718;color:#9a7616;font-weight:900;margin-bottom:12px}
.project-detail-hero-inner{display:flex;justify-content:space-between;align-items:end;gap:30px}
.project-detail-hero h1{max-width:800px}
.project-hero-status{display:inline-block;margin:12px 0 4px;padding:6px 10px;border-radius:99px;background:#ffffff18;border:1px solid #ffffff25;font-size:11px;text-transform:uppercase;letter-spacing:.8px;font-weight:800}
.project-hero-source{min-width:180px;border-left:1px solid #ffffff2b;padding-left:20px;color:#d4deea}
.project-hero-source span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:1px}
.project-hero-source strong{display:block;color:#fff;margin-top:5px}
.project-detail-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,.8fr);gap:28px;align-items:start}
.project-detail-intro{padding:30px}
.project-detail-intro h2{margin:8px 0 18px}
.project-prose{max-width:none}
.project-verification-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px}
.project-verification-grid h3{margin:2px 0 7px}
.project-verification-grid p{color:var(--muted);font-size:13px}
.fact-list{display:grid;gap:0;margin-top:18px}
.fact-list div{display:flex;justify-content:space-between;gap:20px;padding:13px 0;border-bottom:1px solid #ffffff18}
.fact-list span{font-size:11px;color:#aebdca}
.fact-list strong{font-size:12px;text-align:right;color:#fff}
.section-heading-row{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:30px}
.update-badge{padding:10px 13px;border:1px solid var(--border);border-radius:99px;background:#fff;font-size:11px;font-weight:800;color:var(--navy)}
.milestone-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.milestone-card{background:#fff;border:1px solid var(--border);border-radius:20px;padding:24px;position:relative;overflow:hidden;box-shadow:0 12px 35px #0a1a2f08}
.milestone-card>span{font-size:11px;font-weight:900;color:#9a7616}
.milestone-card h3{margin:9px 0}
.milestone-card strong{font-size:24px;color:var(--navy)}
.milestone-card p{color:var(--muted);font-size:13px;line-height:1.7}
.update-panels{display:grid;grid-template-columns:1.2fr 1fr;gap:16px;margin-top:16px}
.source-note{font-size:12px!important;color:var(--muted)}
@media(max-width:900px){
  .project-intro-grid,.project-detail-layout,.update-panels{grid-template-columns:1fr}
  .project-filter-grid{grid-template-columns:1fr 1fr}
  .milestone-grid{grid-template-columns:1fr 1fr}
  .project-verification-grid{grid-template-columns:1fr}
}
@media(max-width:760px){
  .project-intro-grid{grid-template-columns:1fr}
  .directory-stats{grid-template-columns:1fr 1fr 1fr}
  .project-filter-grid{grid-template-columns:1fr}
  .filter-heading,.filter-result-line,.project-detail-hero-inner{align-items:flex-start;flex-direction:column}
  .project-hero-source{border-left:0;border-top:1px solid #ffffff2b;padding:15px 0 0;width:100%}
  .milestone-grid{grid-template-columns:1fr}
  .update-panels{grid-template-columns:1fr}
}


/* Admin-managed media galleries */
.project-media-gallery{margin-top:22px}
.project-gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.project-gallery-grid a{display:block;border-radius:16px;overflow:hidden;border:1px solid var(--border);background:#fff}
.project-gallery-grid img{display:block;width:100%;height:190px;object-fit:cover;transition:transform .35s ease}
.project-gallery-grid a:hover img{transform:scale(1.04)}
@media(max-width:760px){.project-gallery-grid{grid-template-columns:1fr 1fr}.project-gallery-grid img{height:145px}}


.info-feature-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:16px}
.mini-points{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:20px}
.mini-points span{padding:10px 12px;border:1px solid #ffffff1c;border-radius:10px;color:#d4deea;font-size:11px}
.report-project-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.report-project{padding:25px;border:1px solid var(--border);border-radius:20px;background:#fff;box-shadow:0 12px 35px #0a1a2f08}
.report-project>span{font-size:11px;font-weight:900;color:#9a7616}
.report-project h3{margin:8px 0}
.report-project p,.large-prose p{color:var(--muted);line-height:1.75}
.media-list{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.media-list>div{padding:22px;border:1px solid var(--border);border-radius:18px;background:#fff}
.media-list strong{display:block;font-size:11px;color:#9a7616}
.media-list h3{margin:7px 0;font-size:17px}
.media-list p{color:var(--muted);font-size:13px;line-height:1.65}
.media-reference-image{border:1px solid var(--border);border-radius:24px;overflow:hidden;background:#000}
.media-reference-image img{display:block;width:100%;height:auto}
@media(max-width:800px){.info-feature-grid,.report-project-grid,.media-list{grid-template-columns:1fr}.mini-points{grid-template-columns:1fr}}

/* =========================================================
 * v2.7.0 — Gallery (filters, hover, lightbox) + page banner
 * ========================================================= */
.gallery-wrap{width:100%}
.gallery-item{margin:0}
.gallery-item[hidden]{display:none!important}
.gallery-item a{display:block;border-radius:15px;overflow:hidden;line-height:0}
.gallery-item img{transition:transform .35s ease}
.gallery-item a:hover img,.gallery-item a:focus-visible img{transform:scale(1.045)}
.gallery-item figcaption{margin-top:8px;font-weight:700;line-height:1.4}
.gallery-filters{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 26px}
.gallery-filters button{font:inherit;font-weight:600;font-size:14px;padding:9px 18px;border-radius:999px;border:1px solid var(--border,#e4e9ef);background:#fff;color:var(--navy,#0a1a2f);cursor:pointer;transition:all .2s}
.gallery-filters button:hover{border-color:var(--navy,#0a1a2f)}
.gallery-filters button.is-active{background:var(--navy,#0a1a2f);border-color:var(--navy,#0a1a2f);color:#fff}
.page-banner{padding-bottom:0}
.page-banner-img{display:block;width:100%;max-height:460px;object-fit:cover;border-radius:18px}
.dh-lightbox{position:fixed;inset:0;z-index:100000;background:rgba(5,12,22,.95);display:none;align-items:center;justify-content:center;flex-direction:column;padding:56px 64px 40px}
.dh-lightbox.open{display:flex}
.dh-lightbox img{max-width:min(96vw,1400px);max-height:78vh;object-fit:contain;border-radius:8px;width:auto;height:auto}
.dh-lb-cap{color:#fff;margin-top:14px;text-align:center;font-weight:600;max-width:900px}
.dh-lb-btn{position:absolute;width:46px;height:46px;border-radius:50%;border:0;background:rgba(255,255,255,.16);color:#fff;font-size:28px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0}
.dh-lb-btn:hover{background:rgba(255,255,255,.3)}
.dh-lb-close{top:16px;right:16px}
.dh-lb-prev{left:14px;top:50%;transform:translateY(-50%)}
.dh-lb-next{right:14px;top:50%;transform:translateY(-50%)}
@media (max-width:640px){.dh-lightbox{padding:60px 10px 30px}.dh-lb-prev{left:6px}.dh-lb-next{right:6px}}
