/* ── TrangHay Events – Main CSS ── */
:root{--p:#FF5B22;--p2:#e04a15;--acc:#FFB800;--dk:#12100E;--dk2:#1E1B18;--txt:#2C2A28;--muted:#7a6f68;--bg:#FAF7F4;--card:#fff;--border:#e8e0d8;--r:14px;--rs:8px;--sh:0 2px 16px rgba(0,0,0,.07);--ff-h:'Syne',system-ui,sans-serif;--ff-b:'Be Vietnam Pro',system-ui,sans-serif}
*{box-sizing:border-box;margin:0;padding:0}
body{font-family:var(--ff-b);color:var(--txt);background:var(--bg)}
a{color:inherit;text-decoration:none}
img{max-width:100%}
h1,h2,h3,h4{font-family:var(--ff-h)}
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@600;700;800&family=Be+Vietnam+Pro:wght@400;500;600;700&display=swap');

/* Wrap */
.the-wrap{max-width:1240px;margin:0 auto;padding:20px 16px 40px}

/* Breadcrumb */
.the-breadcrumb{font-size:13px;color:var(--muted);margin-bottom:16px;display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.the-breadcrumb a:hover{color:var(--p)}
.the-breadcrumb span{color:var(--muted)}

/* Avatar */
.the-avatar{border-radius:10px;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-family:var(--ff-h);flex-shrink:0}

/* Badge */
.the-badge{padding:3px 10px;border-radius:20px;font-size:11px;font-weight:700;display:inline-block}
.the-badge-hot{background:#FF3B30;color:#fff}
.the-badge-new{background:#34C759;color:#fff}
.the-badge-sell{background:#FF9F0A;color:#000}
.the-badge-free{background:#30D158;color:#fff}
.the-badge-warn{background:#FF6B00;color:#fff}
.the-badge-soon{background:#007AFF;color:#fff}

/* Price */
.the-price{font-weight:700;color:var(--p);font-size:15px}
.the-free{color:#30D158}
.the-contact{color:var(--muted)}

/* Grid */
.the-grid{display:grid;gap:20px}
.the-grid-4{grid-template-columns:repeat(4,1fr)}
.the-grid-3{grid-template-columns:repeat(3,1fr)}
.the-grid-2{grid-template-columns:repeat(2,1fr)}

/* Card */
.the-card{background:var(--card);border-radius:var(--r);box-shadow:var(--sh);overflow:hidden;transition:transform .2s,box-shadow .2s}
.the-card:hover{transform:translateY(-5px);box-shadow:0 8px 32px rgba(0,0,0,.12)}
.the-card-a{display:flex;flex-direction:column;height:100%}
.the-card-media{position:relative;aspect-ratio:16/9;overflow:hidden;background:var(--dk2)}
.the-card-media img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.the-card:hover .the-card-media img{transform:scale(1.04)}
.the-card-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center}
.the-card-media .the-badge{position:absolute;top:10px;left:10px}
.the-free-tag{position:absolute;top:10px;right:10px;background:#30D158;color:#fff;padding:3px 8px;border-radius:12px;font-size:11px;font-weight:700}
.the-date-bubble{position:absolute;bottom:10px;right:10px;background:rgba(18,16,14,.8);backdrop-filter:blur(6px);color:#fff;border-radius:8px;padding:6px 10px;text-align:center;line-height:1.1}
.the-day{display:block;font-size:20px;font-weight:800;font-family:var(--ff-h)}
.the-mon{display:block;font-size:11px;opacity:.8}
.the-card-body{padding:14px 16px 16px;display:flex;flex-direction:column;flex:1}
.the-card-cat{font-size:11px;font-weight:700;color:var(--p);text-transform:uppercase;letter-spacing:.5px;margin-bottom:6px;display:block}
.the-card-title{font-size:15px;font-weight:700;line-height:1.3;margin-bottom:8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.the-card-meta{font-size:12px;color:var(--muted);margin-bottom:3px;display:flex;align-items:center;gap:4px}
.the-card-foot{margin-top:auto;padding-top:10px;border-top:1px solid var(--border);display:flex;justify-content:space-between;align-items:center}
.the-card-cta{font-size:12px;font-weight:600;color:var(--p)}

/* No results */
.the-no-results{text-align:center;padding:60px 20px;color:var(--muted)}
.the-no-results span{font-size:48px;display:block;margin-bottom:12px}

/* Section headers */
.the-sec-hdr,.the-section-hdr,.the-home-hdr{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}
.the-sec-hdr h2,.the-section-hdr h2,.the-home-hdr h2{font-family:var(--ff-h);font-size:20px}
.the-sec-hdr a,.the-section-hdr a,.the-home-hdr a{color:var(--p);font-weight:700;font-size:14px}

/* Home sections */
.the-home-sec{margin-bottom:40px}

/* Hero */
.the-hero{position:relative;padding:60px 0 40px;text-align:center;overflow:hidden;margin-bottom:40px}
.the-hero-bg{position:absolute;inset:0;background:linear-gradient(135deg,var(--dk),var(--dk2))}
.the-hero-bg::after{content:'';position:absolute;inset:0;background:radial-gradient(ellipse 80% 50% at 50% 0%,rgba(255,91,34,.25),transparent 70%)}
.the-hero-content{position:relative;z-index:1;padding:0 20px}
.the-hero-h1{color:#fff;font-size:clamp(28px,5vw,52px);margin-bottom:10px}
.the-hero-h1 span{color:var(--p)}
.the-hero-sub{color:rgba(255,255,255,.7);margin-bottom:24px;font-size:16px}
.the-hero-form{max-width:740px;margin:0 auto}
.the-hero-bar{display:flex;align-items:center;background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 8px 40px rgba(0,0,0,.3)}
.the-hero-bar>span{padding:0 14px;font-size:20px;flex-shrink:0}
.the-search-input{flex:1;border:none;outline:none;font-family:var(--ff-b);font-size:15px;padding:15px 8px;background:transparent}
.the-hs-select{border:none;border-left:1px solid var(--border);outline:none;padding:0 12px;font-family:var(--ff-b);font-size:13px;background:transparent;cursor:pointer;min-width:130px;height:52px}
.the-hero-bar button{background:var(--p);color:#fff;border:none;padding:15px 24px;font-weight:700;font-size:15px;font-family:var(--ff-h);cursor:pointer;transition:background .2s;white-space:nowrap}
.the-hero-bar button:hover{background:var(--p2)}
.the-hero-post-btn{position:relative;z-index:1;display:inline-block;margin-top:16px;color:rgba(255,255,255,.7);font-size:13px;border-bottom:1px solid rgba(255,255,255,.3);padding-bottom:2px}
.the-hero-post-btn:hover{color:var(--acc);border-color:var(--acc)}

/* Categories grid */
.the-cats-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}
.the-cat-item{background:var(--card);border-radius:var(--r);padding:18px 12px;text-align:center;box-shadow:var(--sh);transition:all .2s;border:2px solid transparent;display:flex;flex-direction:column;align-items:center;gap:6px}
.the-cat-item:hover{border-color:var(--p);transform:translateY(-3px)}
.the-cat-ico{font-size:28px}
.the-cat-nm{font-size:13px;font-weight:700}
.the-cat-cnt{font-size:11px;color:var(--muted);background:var(--bg);padding:2px 8px;border-radius:10px}

/* Submit banner */
.the-submit-banner{background:linear-gradient(135deg,var(--p),#ff8c5a);border-radius:var(--r);padding:28px;display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin:32px 0}
.the-submit-banner>span{font-size:44px}
.the-submit-banner h3{color:#fff;font-family:var(--ff-h);font-size:20px;margin-bottom:4px}
.the-submit-banner p{color:rgba(255,255,255,.85);font-size:14px}
.the-sb-btn{margin-left:auto;background:#fff;color:var(--p);padding:12px 24px;border-radius:10px;font-weight:700;white-space:nowrap;transition:all .2s}
.the-sb-btn:hover{background:var(--dk);color:#fff}

/* Archive */
.the-archive-head{margin-bottom:24px}
.the-archive-head h1{font-size:28px;margin-bottom:6px}
.the-archive-layout{display:grid;grid-template-columns:260px 1fr;gap:24px;margin-top:20px;align-items:start}
.the-archive-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}
.the-count{font-size:14px;color:var(--muted)}
.the-loading{text-align:center;padding:20px;color:var(--muted)}
.the-pagination{display:flex;gap:8px;justify-content:center;margin-top:24px;flex-wrap:wrap}
.the-page-btn{padding:8px 14px;background:var(--card);border-radius:8px;border:1px solid var(--border);cursor:pointer;font-size:14px;transition:all .2s}
.the-page-btn.active,.the-page-btn:hover{background:var(--p);color:#fff;border-color:var(--p)}

/* Sidebar filter */
.the-mobile-filter-row{display:none;margin-bottom:12px;gap:8px;align-items:center}
.the-filter-toggle-btn{background:var(--p);color:#fff;border:none;padding:10px 18px;border-radius:8px;font-weight:700;cursor:pointer;font-family:var(--ff-b)}
.the-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:99}
.the-overlay.open{display:block}
.the-sidebar{background:var(--card);border-radius:var(--r);box-shadow:var(--sh);overflow:hidden}
.the-sidebar-head{display:none}
.the-sidebar-body{padding:16px}
.the-filter-group{margin-bottom:18px}
.the-filter-label{font-weight:700;font-size:13px;margin-bottom:8px;text-transform:uppercase;letter-spacing:.3px;color:var(--muted)}
.the-filter-check{display:flex;align-items:center;gap:8px;padding:5px 0;font-size:14px;cursor:pointer;border-bottom:1px solid var(--border)}
.the-filter-check:last-child{border:none}
.the-filter-check input{accent-color:var(--p)}
.the-filter-input,.the-filter-select{width:100%;padding:8px 12px;border:1.5px solid var(--border);border-radius:var(--rs);font-family:var(--ff-b);font-size:14px;outline:none;transition:border-color .2s;background:var(--bg)}
.the-filter-input:focus,.the-filter-select:focus{border-color:var(--p);background:#fff}
.the-btn-apply{width:100%;background:var(--p);color:#fff;border:none;padding:11px;border-radius:10px;font-weight:700;cursor:pointer;font-family:var(--ff-b);margin-bottom:8px}
.the-btn-reset{width:100%;background:var(--bg);border:1px solid var(--border);padding:9px;border-radius:10px;font-weight:600;cursor:pointer;font-family:var(--ff-b);font-size:13px}
.the-active-filter{background:var(--p);color:#fff;padding:4px 12px;border-radius:16px;font-size:13px;font-weight:600}

/* Search bar */
.the-search-bar-wrap{margin-bottom:0}
.the-search-bar{display:flex;align-items:center;background:var(--card);border-radius:12px;padding:4px 16px;box-shadow:var(--sh);gap:8px;border:1.5px solid var(--border)}
.the-search-bar>span{font-size:18px;flex-shrink:0}
.the-search-bar .the-search-input{flex:1;border:none;outline:none;font-family:var(--ff-b);font-size:15px;padding:10px 4px;background:transparent}
.the-quick-cats{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.the-quick-cat{background:var(--card);border:1px solid var(--border);border-radius:20px;padding:5px 14px;font-size:13px;font-weight:500;transition:all .2s}
.the-quick-cat:hover{background:var(--p);color:#fff;border-color:var(--p)}

/* Single */
.the-single-layout{display:grid;grid-template-columns:1fr 320px;gap:28px;align-items:start}
.the-single-hero{border-radius:var(--r);overflow:hidden;margin-bottom:24px;background:var(--dk2)}
.the-hero-cover{height:360px;background-size:cover;background-position:center;position:relative}
.the-hero-cover::after{content:'';position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.7) 0%,transparent 50%)}
.the-hero-body{padding:24px}
.the-hero-top{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.the-status-tag{padding:3px 10px;border-radius:20px;font-size:11px;font-weight:700;background:rgba(255,255,255,.15);color:#fff;backdrop-filter:blur(4px)}
.the-featured-tag{background:var(--acc);color:#000;padding:3px 10px;border-radius:20px;font-size:11px;font-weight:700}
.the-single-title{font-size:clamp(22px,4vw,36px);font-weight:800;color:#fff;margin-bottom:14px;line-height:1.2}
.the-hero-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.the-chip{background:rgba(255,255,255,.12);backdrop-filter:blur(6px);color:#fff;padding:6px 14px;border-radius:20px;font-size:13px;display:inline-flex;align-items:center;gap:5px}
.the-chip-link{background:var(--bg);color:var(--txt);transition:all .2s}
.the-chip-link:hover{background:var(--p);color:#fff}

/* Countdown */
.the-countdown{display:flex;gap:12px;margin-top:12px}
.the-cd-block{text-align:center;background:rgba(255,255,255,.12);backdrop-filter:blur(6px);padding:10px 16px;border-radius:10px;min-width:64px}
.the-cd-num{display:block;font-size:28px;font-weight:800;font-family:var(--ff-h);color:#fff;line-height:1}
.the-cd-block>span:last-child{color:rgba(255,255,255,.7);font-size:11px}

/* Sections */
.the-section{margin-bottom:32px}
.the-section h2{font-size:20px;margin-bottom:16px;padding-bottom:10px;border-bottom:2px solid var(--border)}
.the-content-body{line-height:1.8;font-size:15px}

/* Highlights */
.the-highlights-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px}
.the-highlight-item{background:var(--card);border-radius:10px;padding:14px;display:flex;align-items:center;gap:10px;box-shadow:var(--sh);font-size:14px;font-weight:600}
.the-highlight-item>span:first-child{font-size:24px;flex-shrink:0}

/* Performers */
.the-performers-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:16px}
.the-performer{text-align:center;background:var(--card);border-radius:12px;padding:16px 10px;box-shadow:var(--sh)}
.the-performer img{width:64px;height:64px;border-radius:50%;object-fit:cover;margin-bottom:8px}
.the-performer .the-avatar{margin:0 auto 8px}
.the-performer strong{display:block;font-size:13px;font-weight:700}
.the-performer small{color:var(--muted);font-size:11px}

/* Video */
.the-video-wrap{position:relative;padding-bottom:56.25%;height:0;overflow:hidden;border-radius:var(--r)}
.the-video-wrap iframe{position:absolute;inset:0;width:100%;height:100%}

/* Gallery */
.the-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:8px}
.the-gallery-item img{width:100%;height:120px;object-fit:cover;border-radius:var(--rs);transition:opacity .2s}
.the-gallery-item:hover img{opacity:.85}

/* Info grid */
.the-info-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px}
.the-info-item{background:var(--card);border-radius:10px;padding:14px;box-shadow:var(--sh)}
.the-info-item>span{font-size:12px;color:var(--muted);display:block;margin-bottom:4px}
.the-info-item strong{font-size:14px;line-height:1.4}

/* FAQ */
.the-faq{display:flex;flex-direction:column;gap:8px}
.the-faq-item{background:var(--card);border-radius:var(--rs);box-shadow:var(--sh);overflow:hidden}
.the-faq-q{width:100%;background:none;border:none;padding:14px 16px;text-align:left;font-weight:700;font-size:14px;cursor:pointer;font-family:var(--ff-b);display:flex;justify-content:space-between}
.the-faq-q::after{content:'▾';transition:transform .2s}
.the-faq-q.open::after{transform:rotate(180deg)}
.the-faq-a{padding:0 16px;max-height:0;overflow:hidden;transition:max-height .3s,padding .3s;font-size:14px;line-height:1.7;color:var(--muted)}
.the-faq-a.open{max-height:500px;padding:0 16px 14px}

/* Rules */
.the-rules-box{background:var(--card);border-radius:10px;padding:16px;box-shadow:var(--sh);font-size:14px;line-height:1.8}
.the-rules-box h4{font-size:14px;font-weight:700;margin-bottom:8px;color:var(--p)}

/* Map */
.the-map-wrap{position:relative;padding-bottom:56.25%;height:0;overflow:hidden;border-radius:var(--r)}
.the-map-wrap iframe{position:absolute;inset:0;width:100%;height:100%}

/* Contact */
.the-contact-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.the-contact-form{background:var(--card);border-radius:var(--r);padding:20px;box-shadow:var(--sh)}
.the-contact-form input,.the-contact-form textarea{width:100%;padding:10px 14px;border:1.5px solid var(--border);border-radius:var(--rs);font-family:var(--ff-b);font-size:14px;outline:none;transition:border-color .2s;margin-bottom:12px;background:var(--bg)}
.the-contact-form input:focus,.the-contact-form textarea:focus{border-color:var(--p);background:#fff}
.the-field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.the-contact-form button{background:var(--p);color:#fff;border:none;padding:11px 24px;border-radius:10px;font-weight:700;cursor:pointer;font-family:var(--ff-b);transition:background .2s}
.the-contact-form button:hover{background:var(--p2)}
.the-contact-result{margin-left:12px;font-size:14px}

/* Ticket sidebar */
.the-single-sidebar{position:sticky;top:20px}
.the-ticket-card{background:var(--card);border-radius:var(--r);padding:20px;box-shadow:var(--sh)}
.the-ticket-card .the-price{font-size:22px;display:block;margin-bottom:12px}
.the-tickets-bar{height:6px;background:var(--border);border-radius:3px;overflow:hidden;margin-bottom:6px}
.the-tickets-bar>div{height:100%;border-radius:3px;transition:width .3s}
.the-tickets-left{font-size:12px;color:var(--muted);margin-bottom:14px}
.the-buy-btn{display:block;background:var(--p);color:#fff;text-align:center;padding:14px;border-radius:12px;font-weight:700;font-size:16px;font-family:var(--ff-h);margin-bottom:16px;transition:background .2s}
.the-buy-btn:hover{background:var(--p2)}
.the-buy-ended,.the-buy-cancelled{background:var(--border);color:var(--muted);pointer-events:none}
.the-buy-free{background:#30D158}
.the-ticket-types{border-top:1px solid var(--border);padding-top:12px}
.the-tt-item{display:flex;justify-content:space-between;align-items:flex-start;padding:8px 0;border-bottom:1px solid var(--border);font-size:13px}
.the-tt-item:last-child{border:none}
.the-tt-item strong{display:block;font-weight:700}
.the-tt-item p{color:var(--muted);font-size:11px;margin-top:2px}
.the-tt-item>span{font-weight:700;color:var(--p);flex-shrink:0;padding-left:8px}
.the-share{margin-top:14px;padding-top:12px;border-top:1px solid var(--border);display:flex;align-items:center;gap:10px;font-size:13px;color:var(--muted)}
.the-share a{font-size:22px;transition:transform .2s}
.the-share a:hover{transform:scale(1.2)}

/* Related */
.the-related{margin-top:40px}

/* Btn */
.the-btn-outline{display:inline-block;border:2px solid var(--p);color:var(--p);padding:10px 20px;border-radius:10px;font-weight:700;transition:all .2s}
.the-btn-outline:hover{background:var(--p);color:#fff}

/* Submit page */
.the-submit-layout{display:grid;grid-template-columns:1fr 280px;gap:24px;align-items:start}
.the-submit-hdr{margin-bottom:24px}
.the-submit-hdr h1{font-size:26px;margin-bottom:6px}
.the-submit-hdr p{color:var(--muted)}

/* Steps */
.the-steps{display:flex;align-items:center;background:var(--card);border-radius:var(--r);padding:18px 20px;box-shadow:var(--sh);margin-bottom:24px}
.the-step{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600;color:var(--muted);white-space:nowrap}
.the-step span{width:26px;height:26px;border-radius:50%;background:var(--border);color:var(--muted);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:12px;flex-shrink:0}
.the-step.the-step-on{color:var(--p)}
.the-step.the-step-on span{background:var(--p);color:#fff}
.the-step.done span{background:#30D158;color:#fff}
.the-step-ln{flex:1;height:2px;background:var(--border);margin:0 8px;min-width:16px}

/* Form panels */
.the-panel{background:var(--card);border-radius:var(--r);box-shadow:var(--sh);padding:24px;margin-bottom:20px}
.the-panel-h{font-size:17px;margin-bottom:20px;padding-bottom:12px;border-bottom:2px solid var(--border)}
.the-lbl{display:block;margin-bottom:14px;font-weight:700;font-size:13px}
.the-lbl input[type=text],.the-lbl input[type=url],.the-lbl input[type=email],.the-lbl input[type=tel],.the-lbl input[type=number],.the-lbl input[type=date],.the-lbl input[type=time],.the-lbl textarea,.the-lbl select{display:block;width:100%;padding:10px 14px;border:1.5px solid var(--border);border-radius:var(--rs);font-family:var(--ff-b);font-size:14px;outline:none;transition:border-color .2s;background:var(--bg);margin-top:5px}
.the-lbl input:focus,.the-lbl textarea:focus,.the-lbl select:focus{border-color:var(--p);background:#fff}
.the-lbl input.err{border-color:#FF3B30!important}
.req{color:var(--p)}
.the-row-2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.the-row-3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
hr{border:none;border-top:1px solid var(--border);margin:18px 0}

/* Cat picker */
.the-cat-picker{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.the-cat-pick input{display:none}
.the-cat-pick span{display:inline-flex;align-items:center;gap:5px;padding:7px 13px;border:2px solid var(--border);border-radius:20px;cursor:pointer;font-size:13px;font-weight:500;transition:all .2s;background:var(--bg)}
.the-cat-pick input:checked+span{border-color:var(--p);background:#FFF0EB;color:var(--p)}

/* Badge picker */
.the-badge-pick{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.the-badge-pick label{display:flex;align-items:center;gap:5px;cursor:pointer;font-size:13px}

/* Toggle */
.the-toggle-lbl{display:flex;align-items:center;gap:12px;cursor:pointer;font-size:14px;margin-bottom:14px}
.the-toggle-cb{display:none}
.the-toggle-sw{width:42px;height:24px;background:var(--border);border-radius:12px;position:relative;transition:background .2s;flex-shrink:0}
.the-toggle-sw::after{content:'';position:absolute;width:18px;height:18px;background:#fff;border-radius:50%;top:3px;left:3px;transition:left .2s;box-shadow:0 1px 4px rgba(0,0,0,.2)}
.the-toggle-cb:checked~.the-toggle-sw{background:var(--p)}
.the-toggle-cb:checked~.the-toggle-sw::after{left:21px}

/* Upload zone */
.the-upload-zone{border:2px dashed var(--border);border-radius:var(--r);position:relative;cursor:pointer;margin-top:5px;transition:border-color .2s;background:var(--bg)}
.the-upload-zone:hover{border-color:var(--p)}
.the-upload-zone input[type=file]{position:absolute;inset:0;opacity:0;cursor:pointer;z-index:2}
.the-upload-hint{text-align:center;padding:28px 20px;pointer-events:none}
.the-upload-hint span{font-size:32px;display:block;margin-bottom:6px}
.the-upload-hint small{color:var(--muted);font-size:12px}
.the-upload-preview{position:relative}
.the-upload-preview img{width:100%;max-height:240px;object-fit:cover;display:block;border-radius:12px}
.the-upload-preview button{position:absolute;top:8px;right:8px;background:rgba(0,0,0,.7);color:#fff;border:none;border-radius:50%;width:30px;height:30px;cursor:pointer;font-size:13px}

/* Highlight row */
.the-hl-row{display:flex;gap:8px;margin-bottom:8px}
.the-hl-row input{border:1.5px solid var(--border);border-radius:var(--rs);padding:8px 12px;font-family:var(--ff-b);font-size:13px;outline:none;background:var(--bg)}
.the-hl-row input:focus{border-color:var(--p)}
.the-hl-row input:last-of-type{flex:1}
.the-add-hl-btn{background:none;border:1px dashed var(--border);padding:7px 14px;border-radius:8px;cursor:pointer;font-size:12px;color:var(--muted);font-family:var(--ff-b);margin-top:4px;transition:all .2s}
.the-add-hl-btn:hover{border-color:var(--p);color:var(--p)}
.the-agree-lbl{display:flex;align-items:flex-start;gap:8px;font-weight:500;font-size:13px;line-height:1.5;cursor:pointer;margin-bottom:16px}
.the-agree-lbl input{margin-top:2px;accent-color:var(--p);flex-shrink:0}

/* Nav row */
.the-nav-row{display:flex;justify-content:space-between;align-items:center;margin-top:24px;padding-top:16px;border-top:1px solid var(--border)}
.the-btn-next,.the-btn-prev{padding:10px 24px;border-radius:10px;font-weight:700;cursor:pointer;font-family:var(--ff-b);font-size:14px;border:none;transition:all .2s}
.the-btn-next{background:var(--p);color:#fff}
.the-btn-next:hover{background:var(--p2)}
.the-btn-prev{background:var(--bg);color:var(--txt);border:1px solid var(--border)}
.the-btn-submit{padding:13px 32px;background:var(--p);color:#fff;border:none;border-radius:12px;font-weight:700;font-size:16px;cursor:pointer;font-family:var(--ff-h);transition:all .2s;box-shadow:0 4px 20px rgba(255,91,34,.35)}
.the-btn-submit:hover{background:var(--p2);transform:translateY(-2px)}
.the-btn-submit:disabled{background:var(--muted);cursor:not-allowed;transform:none;box-shadow:none}
#sub-result .the-err{color:#FF3B30;font-size:14px;padding:10px;background:#FFF0EE;border-radius:8px;margin-top:8px}

/* Submit sidebar */
.the-submit-side{display:flex;flex-direction:column;gap:14px}
.the-info-box{background:var(--card);border-radius:var(--r);padding:18px;box-shadow:var(--sh)}
.the-info-box h3{font-family:var(--ff-h);font-size:14px;margin-bottom:12px;padding-bottom:8px;border-bottom:1px solid var(--border)}
.the-process{display:flex;flex-direction:column;gap:10px}
.the-ps{display:flex;align-items:flex-start;gap:10px}
.the-ps>span{width:26px;height:26px;border-radius:50%;background:var(--p);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:12px;flex-shrink:0}
.the-ps strong{font-size:13px;display:block}
.the-ps p{font-size:11px;color:var(--muted)}
.the-info-box ul{list-style:none;padding:0}
.the-info-box ul li{padding:5px 0;font-size:13px;border-bottom:1px solid var(--border)}
.the-info-box ul li:last-child{border:none}

/* Success */
#sub-success{display:none;padding:60px 20px;text-align:center}
.the-success-box{max-width:460px;margin:0 auto;background:var(--card);border-radius:20px;padding:44px 32px;box-shadow:var(--sh)}
.the-success-ico{font-size:60px;margin-bottom:14px}
.the-success-box h2{font-size:26px;margin-bottom:10px}
.the-success-box p{color:var(--muted);margin-bottom:24px;line-height:1.7}
.the-success-btns{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}

/* Admin */
.the-admin-wrap .the-col-avatar{width:44px;height:44px;border-radius:8px;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:14px}

/* Responsive */
@media(max-width:1024px){.the-grid-4{grid-template-columns:repeat(3,1fr)}.the-cats-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:768px){
    .the-grid-4,.the-grid-3{grid-template-columns:repeat(2,1fr)}
    .the-cats-grid{grid-template-columns:repeat(3,1fr)}
    .the-archive-layout{grid-template-columns:1fr}
    .the-sidebar{position:fixed;top:0;right:-100%;width:300px;height:100vh;overflow-y:auto;z-index:100;border-radius:0;transition:right .3s}
    .the-sidebar.open{right:0}
    .the-sidebar-head{display:flex;justify-content:space-between;align-items:center;padding:16px;font-weight:700;border-bottom:1px solid var(--border);background:var(--p);color:#fff}
    .the-sidebar-head button{background:none;border:none;color:#fff;font-size:20px;cursor:pointer}
    .the-mobile-filter-row{display:flex}
    .the-single-layout{grid-template-columns:1fr}
    .the-single-sidebar{position:static}
    .the-hero-cover{height:220px}
    .the-single-title{font-size:22px}
    .the-submit-layout{grid-template-columns:1fr}
    .the-submit-side{order:-1}
    .the-steps{flex-wrap:wrap;gap:6px}
    .the-step-ln{display:none}
    .the-row-2,.the-row-3{grid-template-columns:1fr}
    .the-hero-bar{flex-wrap:wrap}
    .the-hs-select{border-left:none;border-top:1px solid var(--border);width:100%;height:44px}
    .the-hero-bar button{width:100%}
    .the-submit-banner{flex-direction:column}
    .the-sb-btn{width:100%;text-align:center;margin-left:0}
    .the-field-row{grid-template-columns:1fr}
}
@media(max-width:480px){.the-grid-4,.the-grid-3,.the-grid-2{grid-template-columns:1fr}.the-cats-grid{grid-template-columns:repeat(2,1fr)}}
