/*
Theme Name: Edgeline Expo 2027
Theme URI: https://wisdomaticswarms.com/
Author: Wisdomatic Swarms LLP
Description: Custom exhibition theme for Edgeline Expo 2027, designed to work with the Edgeline Expo Manager plugin.
Version: 1.0.1
Requires at least: 6.4
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: edgeline-expo
Tags: custom-logo, custom-menu, featured-images, block-styles, wide-blocks
*/
@import url("assets/legacy-design.css");
:root{--max:1180px}
body{font-family:Arial,Helvetica,sans-serif}
.admin-notice-banner{padding:12px 16px;margin:18px auto;background:#fff5e9;border:1px solid #f0d4b4;border-radius:12px;color:#62401d;font-size:13px}
.contact-row a{display:inline-block;margin:0 10px 4px 0}
.wp-block{max-width:var(--max)}
.floor-toolbar{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}
.floor-toolbar input,.floor-toolbar select{padding:11px;border:1px solid #ccd5e5;border-radius:9px;min-width:180px}
.floor-layers{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}
.floor-layers button{border:1px solid #cad6ed;border-radius:30px;background:#fff;padding:10px 15px;color:#10234b;font-weight:700;cursor:pointer}
.floor-layers button[aria-pressed="true"]{background:#214bd7;color:#fff;border-color:#214bd7}
.inventory-results{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.inventory-stall{border:1px solid #dce3ed;border-radius:12px;padding:14px;background:#fff}
.inventory-stall strong{display:block;color:#10234b}
.inventory-stall small{display:block;color:#64718a;margin-top:5px}
.inventory-stall a{display:inline-block;margin-top:10px;color:#214bd7;font-weight:700}
.inventory-stall[hidden]{display:none}
.edgeline-form{max-width:900px;padding:26px;border:1px solid #dce3ed;border-radius:18px;background:#fff;box-shadow:0 18px 55px #152a5012}
.edgeline-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.edgeline-form label{display:grid;gap:6px;color:#32415f;font-weight:700;font-size:13px}
.edgeline-form input,.edgeline-form textarea,.edgeline-form select{width:100%;padding:12px;border:1px solid #d8dfeb;border-radius:9px;font:inherit}
.edgeline-form textarea{min-height:110px}
.edgeline-form .full{grid-column:1/-1}
.edgeline-form button{margin-top:16px}
.edgeline-form .hp-field{position:absolute;left:-10000px}
.edgeline-status{padding:12px 15px;border-radius:10px;background:#eef4ff;color:#24438c;margin:12px 0}
.edgeline-inventory-tabs{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0}
.edgeline-inventory-tabs article{padding:20px;border-radius:16px;background:#f4f7fc;border:1px solid #e3e8f1}
.edgeline-inventory-tabs b{display:block;font-size:26px;color:#10234b}
.edgeline-content img{max-width:100%;height:auto}
.edgeline-content{padding:45px 0 75px}
.site-footer{padding:44px 0;background:#f5f7fb;border-top:1px solid #e7ebf2}
.site-footer a{color:#4e5e78}
.site-footer-inner{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:25px}
.site-header .custom-logo{display:block;width:min(220px,25vw);height:auto;max-height:58px;object-fit:contain}
.floor-plan-canvas{position:relative;min-height:500px;margin:20px 0;border:1px solid #cfd8e8;border-radius:18px;background:linear-gradient(90deg,#e9eef7 1px,transparent 1px),linear-gradient(#e9eef7 1px,transparent 1px),#f9fbfe;background-size:32px 32px;overflow:hidden;display:grid;place-items:center;padding:24px}
.floor-plan-canvas>strong{max-width:490px;text-align:center;padding:18px 22px;border-radius:12px;background:#fff;color:#34435f;box-shadow:0 8px 24px #10234b12;z-index:1}
.floor-map-points{position:absolute;inset:0}
.floor-point{position:absolute;transform:translate(-50%,-50%);padding:7px 9px;border:1px solid #95a9cf;border-radius:7px;background:#fff;color:#17315f;font-size:11px;font-weight:800;cursor:pointer;z-index:2}
.floor-point[hidden]{display:none}
.floor-status-legend{display:flex;gap:12px;flex-wrap:wrap;color:#52627c;font-size:12px;margin:12px 0 20px}
.floor-status-legend span{padding:7px 10px;border-radius:20px;background:#f1f3f7}
.floor-status-legend .status-available{background:#e7f5ec;color:#24643a}
.floor-status-legend .status-held{background:#fff4df;color:#795214}
.floor-status-legend .status-unavailable{background:#f2f3f6;color:#5d6677}
.floor-operations{padding:22px;border:1px dashed #c9d4e7;background:#f8faff;border-radius:16px;margin:18px 0}
.floor-operations[hidden]{display:none}
.sponsor-card img{max-width:180px;max-height:100px;object-fit:contain}
.entry-content>*{max-width:850px}
.entry-content .alignwide{max-width:var(--max)}
.entry-content .alignfull{max-width:none}
.entry-content a{color:#214bd7;text-decoration:underline}
.edgeline-layout-notice{margin-bottom:18px}
.site-footer-bottom{border-top:1px solid #dce2ec;margin-top:25px;padding-top:16px;color:#78849a;font-size:12px}
.pagination{margin:24px 0}
.pagination .page-numbers{display:inline-block;padding:8px 12px;border:1px solid #dce3ed;border-radius:8px;margin-right:5px}
.pagination .current{background:#214bd7;color:#fff}
@media(max-width:720px){.inventory-results{grid-template-columns:repeat(2,minmax(0,1fr))}.edgeline-form-grid,.edgeline-inventory-tabs,.site-footer-inner{grid-template-columns:1fr}.edgeline-form .full{grid-column:auto}.site-nav{display:none}.site-nav.is-open{display:block}.site-nav ul{display:block;padding:12px 0}.site-nav li{padding:8px 0}.menu-toggle{display:inline-flex}.topbar-inner span:last-child{display:none}.floor-plan-canvas{min-height:380px;padding:14px}.floor-toolbar{display:grid}.floor-toolbar input,.floor-toolbar select{min-width:0;width:100%}}


/* Edgeline Expo 2027 repair overrides: reliable WordPress menu and category media. */
.site-header .header-inner{position:relative;min-width:0}
.site-header .site-nav{flex:1;min-width:0;display:flex;align-items:center;justify-content:center}
.site-header .site-nav .menu{display:flex;align-items:center;justify-content:center;gap:clamp(8px,1vw,15px);list-style:none;margin:0;padding:0;width:100%}
.site-header .site-nav .menu li{display:block;list-style:none;margin:0;padding:0}
.site-header .site-nav .menu li::marker{content:""}
.site-header .site-nav .menu a{display:inline-flex;align-items:center;min-height:40px;padding:7px 0;color:#31405d;font-size:12px;font-weight:800;white-space:nowrap;text-decoration:none;border:0}
.site-header .site-nav .menu a:hover,.site-header .site-nav .current-menu-item>a{color:var(--blue)}
.site-header .menu-toggle{display:none;flex:0 0 auto;align-items:center;justify-content:center;width:42px;height:42px;border:1px solid #d8e0ee;border-radius:10px;background:#fff;color:var(--navy);cursor:pointer}
.site-header .header-actions{flex:0 0 auto}
.category-detail-image{width:100%;height:100%;min-height:420px;object-fit:cover;display:block}
.category-detail-image-fallback{min-height:420px;display:grid;place-items:center;padding:30px;background:linear-gradient(135deg,#10234b,#3159b8);color:#fff;text-align:center;font-weight:800;font-size:1.4rem}
.category-detail-copy h2,.category-detail-copy h3{margin-top:24px}
.category-detail-copy ul{padding-left:22px;color:var(--muted);margin:0 0 18px}
.category-detail-copy li{margin:0 0 8px}
@media(max-width:1100px) and (min-width:721px){.site-header .header-inner{gap:10px}.site-header .brand-logo,.site-header .custom-logo{width:165px;max-width:165px}.site-header .site-nav .menu{gap:8px}.site-header .site-nav .menu a{font-size:11px}.site-header .header-actions .btn{padding:10px 12px;font-size:11px}}
@media(max-width:720px){
 .site-header .header-inner{height:70px;gap:8px}
 .site-header .menu-toggle{display:inline-flex}
 .site-header .site-nav{display:none;position:absolute;top:70px;left:-17px;right:-17px;z-index:40;padding:10px 20px 18px;background:#fff;border-bottom:1px solid var(--line);box-shadow:var(--shadow);align-items:stretch;justify-content:flex-start;max-height:calc(100vh - 105px);overflow-y:auto}
 .site-header .site-nav.is-open{display:block}
 .site-header .site-nav .menu{display:flex;flex-direction:column;align-items:stretch;gap:0;width:100%;list-style:none;margin:0;padding:0}
 .site-header .site-nav .menu li{display:block;width:100%;padding:0;margin:0;border-bottom:1px solid #edf0f5}
 .site-header .site-nav .menu a{display:flex;width:100%;min-height:42px;padding:10px 0;font-size:14px;white-space:normal}
 .site-header .header-actions{margin-left:auto;gap:5px}
 .site-header .header-actions .btn{white-space:nowrap;padding:9px 10px;font-size:11px}
 .category-detail-image,.category-detail-image-fallback{min-height:280px}
}
@media(max-width:430px){.site-header .brand-logo,.site-header .custom-logo{width:130px;max-width:130px;max-height:40px}.site-header .header-actions .btn:first-child{display:none}.site-header .header-actions .btn{font-size:10px;padding:9px 9px}}

.site-footer .menu{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.site-footer .menu li{list-style:none;margin:0;padding:0}
.site-footer .menu a{display:inline-block;text-decoration:none}
