/* Hastshilp Mela Ujjain — public site. Light theme matching the WordPress site. */

:root {
  --orange: #C55A11;
  --orange-dark: #A4470D;
  --peach: #F7C197;
  --peach-border: #E97C3C;
  --nav-bg: #E9E9E9;
  --nav-active: #F5A26B;
  --nav-line: #E49F76;
  --brown: #4A2E14;
  --cream: #FFF9F0;
  --card-border: #F3C28A;
  --footer-grey: #E4E4E7;
  --footer-cream: #FAF1E6;
  --text: #333;
  --muted: #777;
  --white: #fff;
  /* Noto Sans Devanagari for Hindi, a clean Latin face (Open Sans) for English.
     Both already loaded in the <head>; the fallbacks cover offline visits. */
  --font: 'Noto Sans Devanagari', 'Open Sans', 'Nirmala UI', 'Mangal', Arial, sans-serif;
  --font-latin: 'Open Sans', 'Noto Sans Devanagari', 'Nirmala UI', Arial, sans-serif;
  /* The English pages use a Latin-first stack so Noto Sans Devanagari is not
     preferred for English text. */
  --font-en: 'Open Sans', 'Noto Sans Devanagari', 'Nirmala UI', Arial, sans-serif;
}
html.lang-en, .lang-en { --font: var(--font-en); }
body.lang-en { font-family: var(--font-en); }
body.lang-en .main-nav li a,
body.lang-en .news-date .d, body.lang-en .news-date .m,
body.lang-en .ex-table, body.lang-en .contact, body.lang-en .btn { font-family: var(--font-en); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); }
h1, h2, h3 { line-height: 1.3; }
.ic { width: 1em; height: 1em; fill: currentColor; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 0; background: #000; color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: 1366px; margin: 0 auto; padding: 0 35px; }
.narrow { max-width: 1200px; margin: 0 auto; }

/* ---------------------------------------------------------------- ticker */
.ticker { background: var(--peach); border: 1px solid var(--peach-border); height: 42px; overflow: hidden; display: flex; align-items: center; }
.ticker-track { display: inline-flex; white-space: nowrap; animation: ticker 45s linear infinite; padding-left: 100%; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { color: #150909; font-size: 16px; font-weight: 500; padding: 0 28px 0 18px; position: relative; }
.ticker-item::before { content: ''; position: absolute; left: 0; top: 50%; width: 9px; height: 9px; margin-top: -4px; border-radius: 50%; background: #150909; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation-duration: 120s; } }

/* ---------------------------------------------------------------- header */
.site-header { background: var(--white); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 8px; padding-bottom: 8px; }
.logo { display: block; flex: none; line-height: 0; }
.logo img { display: block; width: auto; height: auto; max-height: 80px; max-width: 100%; object-fit: contain; }
.header-right { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.contacts { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.contact { display: flex; align-items: center; gap: 10px; color: #111; text-decoration: none; font-family: Arial, sans-serif; font-size: 15px; padding: 0 10px; line-height: 1.75; white-space: nowrap; }
.contact + .contact { border-left: 1px solid #ddd; }
.contact .ic { width: 28px; height: 28px; }
.contact span { display: flex; flex-direction: column; }
.contact small { font-size: 14px; }
.contact:hover span { text-decoration: underline; }

/* ---------------------------------------------------------------- language switcher */
.lang-switch { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; flex: none; }
.lang-btn { background: none; border: 0; padding: 4px 10px; cursor: pointer; font: inherit; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--muted); border-radius: 8px; line-height: 1.4; }
.lang-btn:hover { color: var(--orange); background: #FDEBDD; }
.lang-btn.on { color: #fff; background: var(--orange); cursor: default; }
.lang-sep { color: #ccc; }

/* ---------------------------------------------------------------- menu */
.main-nav { background: var(--nav-bg); border-top: 4px solid var(--nav-line); position: sticky; top: 0; z-index: 50; }
.main-nav ul { list-style: none; margin: 0; padding: 0 0 0 15px; display: flex; flex-wrap: wrap; }
.main-nav li a { display: block; padding: 10px 16px; font-family: var(--font-latin); font-size: 14px; font-weight: 600; text-transform: uppercase; color: #232323; text-decoration: none; line-height: 1.5; }
.main-nav li:hover, .main-nav li.current { background: var(--nav-active); }
.main-nav li { position: relative; }
.main-nav li.has-sub { display: flex; align-items: stretch; }
.sub-toggle { background: none; border: 0; padding: 0 10px 0 0; margin-left: -10px; cursor: pointer; color: #232323; font-size: 13px; }
.main-nav ul.sub { display: none; position: absolute; top: 100%; left: 0; min-width: 230px; flex-direction: column; padding: 6px 0; background: #fff; border-top: 3px solid var(--nav-active); box-shadow: 0 10px 24px rgba(0,0,0,.14); z-index: 60; }
.main-nav ul.sub li a { padding: 9px 16px; text-transform: none; font-size: 14px; }
.main-nav ul.sub li:hover, .main-nav ul.sub li.current { background: #FDEBDD; }
.main-nav li.has-sub:hover > ul.sub, .main-nav li.has-sub:focus-within > ul.sub, .main-nav li.has-sub.open > ul.sub { display: flex; }
.nav-toggle { display: none; align-items: center; gap: 8px; background: none; border: 0; padding: 10px 0; font: 600 15px var(--font-latin); color: #232323; cursor: pointer; }
.nav-toggle .ic { width: 26px; height: 26px; }

/* ---------------------------------------------------------------- page */
.site-main { padding: 22px 0 40px; min-height: 40vh; }
.page-title { text-align: center; color: var(--orange); font-size: 30px; font-weight: 700; margin: 6px 0 24px; }
.section-title { text-align: center; color: var(--orange); font-size: 28px; font-weight: 700; margin: 0 0 25px; }
.pill-head { background: var(--orange); color: #fff; border-radius: 12px; padding: 12px 18px; text-align: center; margin: 0 0 18px; font-size: 20px; font-weight: 600; }

/* ---------------------------------------------------------------- home: slider + news */
.hero { display: flex; gap: 25px; align-items: stretch; max-width: 1200px; margin: 10px auto 30px; }
.slider { flex: 0 0 68%; position: relative; border-radius: 15px; overflow: hidden; box-shadow: 0 8px 25px rgba(0,0,0,.15); background: #eee; aspect-ratio: 900 / 360; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(0,0,0,.45); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; transition: opacity .2s; }
.slider:hover .slider-btn, .slider-btn:focus { opacity: 1; }
.slider-btn .ic { width: 22px; height: 22px; }
.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }
.news-card { flex: 1; min-width: 0; display: flex; flex-direction: column; background: #fff; border-radius: 20px; padding: 22px; border: 2px solid #e6e6e6; box-shadow: 0 6px 22px rgba(0,0,0,.12); }
.news-scroll { flex: 1 1 0; min-height: 0; overflow-y: auto; overflow-x: hidden; padding-right: 10px; scrollbar-width: thin; scrollbar-color: var(--orange) transparent; }
.news-scroll::-webkit-scrollbar { width: 6px; }
.news-scroll::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 20px; }
.news-item { display: flex; gap: 14px; padding: 6px 0 14px; border-bottom: 1px solid #eee; margin-bottom: 10px; }
.news-date { flex: 0 0 52px; text-align: center; }
.news-date .d { display: block; font-family: var(--font-latin); font-size: 26px; line-height: 1.2; color: #222; border-bottom: 1px dotted #bbb; padding-bottom: 2px; }
.news-date .m { display: block; font-family: var(--font-latin); font-size: 12px; text-transform: uppercase; color: #333; padding-top: 4px; }
.news-body h3 { font-size: 17px; font-weight: 500; margin: 0 0 4px; }
.news-body h3 a { color: #333; text-decoration: none; }
.news-body h3 a:hover { color: var(--orange); }
.news-body p { margin: 0; font-size: 14px; color: var(--brown); }

/* ---------------------------------------------------------------- home: CEO + intro */
.intro { display: flex; gap: 10px; justify-content: center; align-items: flex-start; flex-wrap: wrap; max-width: 1200px; margin: 0 auto 20px; padding: 10px; }
.ceo-card { flex: 1; max-width: 350px; background: #fff; border-radius: 10px; padding: 25px; box-shadow: 0 15px 30px rgba(0,0,0,.1); display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--brown); transition: transform .3s, box-shadow .3s; }
.ceo-card:hover { transform: translateY(-8px); box-shadow: 0 18px 45px rgba(0,0,0,.2); }
.ceo-card img { width: 100%; max-width: 180px; border-radius: 10%; border: 4px solid var(--card-border); margin-bottom: 20px; }
.ceo-card h3 { font-size: 20px; color: var(--orange); font-weight: 600; margin: 0 0 10px; }
.ceo-card .desig { font-size: 16px; margin-bottom: 10px; }
.ceo-card blockquote { margin: 0; font-size: 13px; line-height: 1.5; font-style: italic; }
.mela-card { flex: 2; min-width: 0; background: var(--cream); border: 2px solid var(--card-border); border-radius: 15px; padding: 25px; box-shadow: 0 10px 25px rgba(0,0,0,.12); }
.mela-card h2 { background: var(--orange); color: #fff; border-radius: 12px; padding: 12px 20px; margin: 0 0 18px; text-align: center; font-size: 28px; font-weight: 500; letter-spacing: .5px; }
.mela-card p { font-size: 17px; line-height: 1.8; color: var(--brown); text-align: justify; margin: 0 0 1.4em; }
.mela-card p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- home: sales chart */
.chart-wrap { width: 80%; max-width: 1000px; margin: 10px auto 30px; padding: 10px; }
.chart-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.chart-card img { width: 100%; height: auto; object-fit: contain; }

/* ---------------------------------------------------------------- gallery */
.gallery { max-width: 1200px; margin: 30px auto; padding: 10px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.g-card { background: #fff; border-radius: 15px; box-shadow: 0 6px 18px rgba(0,0,0,.12); overflow: hidden; border: 2px solid var(--card-border); margin: 0; cursor: zoom-in; }
.g-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.g-card figcaption { padding: 15px; color: var(--brown); font-size: 15px; line-height: 1.6; }
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1200px; margin: 0 auto; }
.photo-grid figure { margin: 0; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,.15); cursor: zoom-in; background: #fff; }
.photo-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s; }
.photo-grid figure:hover img { transform: scale(1.04); }

.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.88); display: none; align-items: center; justify-content: center; flex-direction: column; z-index: 200; padding: 50px 16px 20px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 80vh; border-radius: 6px; }
.lightbox p { color: #fff; margin: 12px 0 0; text-align: center; max-width: 800px; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; padding: 8px; }
.lightbox button .ic { width: 34px; height: 34px; }
.lb-close { top: 8px; right: 8px; }
.lb-prev { left: 4px; top: 50%; }
.lb-next { right: 4px; top: 50%; }

/* ---------------------------------------------------------------- video + explore */
.video-box { background: #fff; border-radius: 10px; box-shadow: 0 4px 8px rgba(0,0,0,.1); padding: 20px; margin: 30px auto; max-width: 1300px; }
.video-title { text-align: center; color: #c55a11; font-weight: 600; font-size: 32px; margin: 10px 0 20px; }
.video-frame { margin-bottom: 30px; }
.video-frame iframe, .video-frame video { width: 100%; height: 500px; border: 0; border-radius: 10px; display: block; background: #000; }
.explore { text-align: center; padding: 20px; }
.explore h2 { color: #ad1f5f; font-size: 24px; font-weight: 500; margin: 0 0 12px; }
.explore p { font-size: 16px; color: #333; line-height: 1.6; }

/* ---------------------------------------------------------------- about */
.about { max-width: 1200px; margin: auto; padding: 10px; }
.about-ribbon { text-align: center; padding: 20px 10px; background: linear-gradient(to right, #C55A11, #A4470D); color: #fff; border-radius: 10px; font-size: 30px; font-weight: 800; margin: 0 0 30px; letter-spacing: 1px; text-shadow: 1px 1px 3px rgba(0,0,0,.4); }
.about-rule { width: 180px; height: 6px; background: var(--orange); margin: 0 auto 35px; border-radius: 6px; }
.about-sec { padding: 25px 30px; border-radius: 12px; margin-bottom: 45px; }
.about-sec h3 { font-size: 24px; font-weight: 800; margin: 0 0 12px; color: var(--orange); }
.about-sec p { font-size: 17px; line-height: 1.85; text-align: justify; color: #000; margin: 0 0 1.2em; }
.about-sec p:last-child { margin-bottom: 0; }
.about-sec.s1 { border: 2px solid var(--card-border); border-radius: 18px; }
.about-sec.s2 { background: #FFF7ED; border-left: 10px solid var(--orange); box-shadow: 0 4px 15px rgba(0,0,0,.15); }
.about-sec.s2 h3, .about-sec.s4 h3 { color: var(--orange-dark); }
.about-sec.s3 { background: #FFFDF6; border-top: 10px solid var(--orange); box-shadow: 0 3px 12px rgba(0,0,0,.12); }
.about-sec.s4 { background: #FFF8EE; border-left: 10px solid var(--orange-dark); box-shadow: 0 3px 12px rgba(0,0,0,.15); }
.about-sec.s5 { background: #fff; border: 2px solid var(--card-border); box-shadow: 0 5px 20px rgba(0,0,0,.18); margin-bottom: 0; }

/* ---------------------------------------------------------------- exhibitors */
.table-scroll { width: 100%; overflow-x: auto; margin: 10px 0; -webkit-overflow-scrolling: touch; }
.ex-table { width: 100%; border-collapse: collapse; font-size: 16px; color: #333; border-radius: 10px; overflow: hidden; box-shadow: rgba(0,0,0,.15) 0 4px 15px; font-family: Arial, var(--font); }
.ex-table thead tr { background: var(--orange); }
.ex-table th { color: #000; padding: 14px; font-size: 17px; font-weight: 400; text-transform: uppercase; text-align: center; border-right: 1px solid rgba(255,255,255,.4); }
.ex-table td { padding: 12px; text-align: center; vertical-align: top; border-bottom: 1px solid #ddd; }
.ex-table tbody tr { background: #FFF7EF; }
.ex-table td b { display: block; }
.ex-org { color: var(--orange); font-weight: 800; display: block; margin-top: 8px; }
.ex-link { color: var(--orange); font-weight: 600; text-decoration: none; white-space: nowrap; }
.ex-link:hover { text-decoration: underline; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* ---------------------------------------------------------------- news */
.news-list { max-width: 1270px; margin: 0 auto; }
.news-row { display: flex; gap: 50px; padding: 22px 0; border-bottom: 1px solid #ddd; }
.news-row:last-child { border-bottom: 0; }
.news-row .news-date { flex: 0 0 110px; }
.news-row .news-date .d { font-size: 30px; }
.news-row .news-date .m { font-size: 14px; }
.news-row h2 { font-size: 24px; font-weight: 400; margin: 0 0 8px; }
.news-row h2 a { color: #333; text-decoration: none; }
.news-row h2 a:hover { color: var(--orange); }
.news-row p { margin: 0; color: #aaa; font-size: 16px; }
.pager { display: flex; justify-content: center; gap: 8px; margin: 30px 0 0; flex-wrap: wrap; }
.pager a, .pager span { padding: 6px 14px; border: 1px solid var(--card-border); border-radius: 6px; text-decoration: none; color: var(--brown); }
.pager .cur { background: var(--orange); color: #fff; border-color: var(--orange); }

.article { max-width: 900px; margin: 0 auto; }
.article h1 { font-size: 30px; font-weight: 500; color: #333; margin: 0 0 6px; }
.article .meta { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.article .body { font-size: 17px; line-height: 1.8; color: #333; }
.article .body img { border-radius: 8px; margin: 12px 0; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 8px; border: 2px solid var(--orange); background: var(--orange); color: #fff; font: 600 16px var(--font); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.btn.ghost { background: #fff; color: var(--orange); }
.btn .ic { width: 20px; height: 20px; }
.post-nav { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid #eee; margin-top: 30px; padding-top: 16px; font-size: 15px; }
.post-nav a { text-decoration: none; max-width: 48%; }
.post-nav .next { text-align: right; margin-left: auto; }
.related { max-width: 900px; margin: 40px auto 0; }
.related h2 { font-size: 22px; color: var(--orange); margin: 0 0 14px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.related-card { display: block; background: var(--cream); border: 1px solid var(--card-border); border-radius: 10px; padding: 14px 16px; text-decoration: none; color: var(--brown); }
.related-card strong { display: block; color: #333; margin-bottom: 6px; font-weight: 600; }
.related-card small { color: var(--orange); }

/* ---------------------------------------------------------------- visitors */
.choice-box { display: flex; gap: 12px; justify-content: center; max-width: 420px; margin: 24px auto; padding: 16px; background: #f9fafb; border-radius: 16px; border: 1px solid #e5e7eb; box-shadow: 0 6px 16px rgba(15,23,42,.05); }
.choice { flex: 1; min-height: 70px; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; font-size: 15px; font-weight: 600; box-shadow: 0 3px 8px rgba(148,163,184,.25); transition: transform .15s, box-shadow .15s, background .15s; padding: 8px; text-align: center; }
.choice small { font-size: 11px; opacity: .8; font-weight: 400; margin-top: 2px; }
.choice:hover { transform: translateY(-2px); }
.choice.fb { background: #ecfdf3; color: #166534; }
.choice.fb:hover { background: #dcfce7; box-shadow: 0 6px 16px rgba(22,101,52,.25); }
.choice.cp { background: #fef2f2; color: #b91c1c; }
.choice.cp:hover { background: #fee2e2; box-shadow: 0 6px 16px rgba(185,28,28,.25); }

/* ---------------------------------------------------------------- forms */
.form-card { max-width: 900px; margin: 0 auto; padding: 25px; border: 1px solid #ddd; border-radius: 10px; box-shadow: 0 0 10px rgba(0,0,0,.1); background: #fff; }
.form-card h1 { font-size: 26px; color: #333; margin: 0 0 8px; font-weight: 600; }
.form-desc { color: #555; margin: 0 0 18px; white-space: pre-line; }
.field { margin-bottom: 20px; }
.field > label, .field > .label { display: block; font-weight: 600; color: rgba(0,0,0,.85); margin-bottom: 6px; font-size: 16px; }
.req { color: #d63637; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=number], .field input[type=url], .field input[type=date], .field input[type=file], .field select, .field textarea {
  width: 100%; max-width: 100%; padding: 10px 14px; border: 1px solid rgba(0,0,0,.25); border-radius: 3px; font: 16px var(--font); background: #fff; color: #333; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--nav-active); border-color: var(--orange); }
.options { display: flex; flex-direction: column; gap: 6px; }
.options label { display: flex; align-items: flex-start; gap: 8px; font-weight: 400; cursor: pointer; }
.options input { margin-top: 5px; width: 16px; height: 16px; flex: none; accent-color: var(--orange); }
.hint { display: block; color: rgba(0,0,0,.55); font-size: 14px; margin-top: 4px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #d63637; }
.err-msg { display: block; color: #d63637; font-size: 14px; margin-top: 4px; }
.alert { border-radius: 10px; padding: 14px 18px; margin: 0 auto 20px; max-width: 900px; }
.alert-error { background: #fdecea; border: 1px solid #f5c6cb; color: #721c24; }
.alert ul { margin: 6px 0 0; padding-left: 20px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.status-card { max-width: 560px; margin: 20px auto; padding: 30px 24px; text-align: center; background: #fff; border-radius: 12px; border: 1px solid #e6e6e6; box-shadow: 0 6px 15px rgba(0,0,0,.12); }
.status-card .ic { width: 54px; height: 54px; color: var(--orange); margin: 0 auto 10px; display: block; }
.status-card h2 { font-size: 26px; color: var(--orange); margin: 0 0 6px; }
.status-card p { margin: 6px 0; color: #555; }
.status-card .ref { display: inline-block; font-family: var(--font-latin); font-size: 26px; font-weight: 700; letter-spacing: 1px; color: var(--brown); background: var(--cream); border: 2px dashed var(--card-border); border-radius: 10px; padding: 8px 20px; margin: 10px 0; }
.status-card .ok { color: #1a7f37; }

/* ---------------------------------------------------------------- registration form (themed) */
.reg-card { max-width: 1000px; margin: 0 auto; background: #fff; border: 2px solid var(--card-border); border-radius: 18px; box-shadow: 0 10px 28px rgba(197,90,17,.12); overflow: hidden; }
.reg-title { margin: 0; background: linear-gradient(to right, #C55A11, #A4470D); color: #fff; text-align: center; font-size: 24px; font-weight: 700; padding: 16px 20px; line-height: 1.4; }
.reg-intro { background: var(--cream); border-bottom: 1px solid #f3dcc4; padding: 14px 26px; color: var(--brown); font-size: 15px; }
.reg-intro p { margin: 4px 0; }
.req-note { font-size: 14px; }
.reg-card .alert { margin: 16px 26px 0; }
.reg-form { padding: 6px 26px 0; }
.fsec { margin: 22px 0 6px; }
.fsec-title { display: flex; align-items: center; gap: 10px; font-size: 19px; color: var(--orange-dark); margin: 0 0 14px; padding-bottom: 8px; border-bottom: 2px solid #f6dcc4; }
.fsec-num { width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; flex: none; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 22px; }
.fgrid .field.wide { grid-column: 1 / -1; }
.reg-form .field { margin-bottom: 16px; min-width: 0; }
.reg-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.reg-form .label { display: block; font-weight: 600; color: #2d2116; margin-bottom: 7px; font-size: 15.5px; line-height: 1.45; }
.reg-form input[type=text], .reg-form input[type=email], .reg-form input[type=tel], .reg-form input[type=url], .reg-form input[type=date], .reg-form select, .reg-form textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid #d9c6b4; border-radius: 10px; font: 16px var(--font); background: #fff; color: #222; transition: border-color .15s, box-shadow .15s; }
.reg-form textarea { min-height: 110px; resize: vertical; }
.reg-form input:focus, .reg-form select:focus, .reg-form textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(245,162,107,.35); }
.opt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; }
.opt-grid.few { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.opt-grid.many { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.opt { position: relative; display: flex; align-items: flex-start; gap: 9px; padding: 10px 12px; border: 1.5px solid #e6d5c4; border-radius: 10px; background: #fffdfa; cursor: pointer; font-size: 15px; line-height: 1.4; transition: border-color .15s, background .15s; }
.opt:hover { border-color: var(--nav-active); background: #fff6ee; }
.opt input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--orange); }
.opt:has(input:checked) { border-color: var(--orange); background: #FDEBDD; box-shadow: inset 0 0 0 1px var(--orange); }
.opt:has(input:focus-visible) { box-shadow: 0 0 0 4px rgba(245,162,107,.45); }
.dropzone { position: relative; display: flex; align-items: center; gap: 12px; min-height: 74px; padding: 12px 14px; border: 2px dashed #e4b48d; border-radius: 12px; background: #fffaf5; color: var(--brown); transition: background .15s, border-color .15s; }
.dropzone input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dropzone:hover, .dropzone.drag { background: #FDEBDD; border-color: var(--orange); }
.dropzone:focus-within { box-shadow: 0 0 0 4px rgba(245,162,107,.4); border-color: var(--orange); }
.dz-icon { width: 38px; height: 38px; border-radius: 50%; background: var(--orange); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.dz-icon .ic { width: 22px; height: 22px; }
.dz-text { font-size: 14.5px; word-break: break-word; }
.dropzone.has-file { border-style: solid; border-color: #6aa874; background: #f2fbf3; }
.dropzone.has-file .dz-icon { background: #2e8b3e; }
.dz-preview img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; border: 1px solid #ddd; display: block; }
.dz-preview { margin-left: auto; flex: none; }
.req { color: #d63637; }
.err-msg { display: block; color: #c62828; font-size: 14px; margin-top: 5px; font-weight: 500; }
.err-msg:empty { display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea, .field.has-error .dropzone, .field.has-error .opt { border-color: #d63637; }
.submit-bar { position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; gap: 18px; justify-content: space-between; margin: 10px -26px 0; padding: 14px 26px; background: rgba(255,255,255,.96); border-top: 2px solid #f3dcc4; box-shadow: 0 -6px 16px rgba(0,0,0,.06); backdrop-filter: blur(4px); }
.progress { flex: 1; min-width: 0; }
.progress-track { height: 8px; border-radius: 8px; background: #f3e3d3; overflow: hidden; }
.progress-fill { display: block; height: 100%; background: linear-gradient(to right, #F5A26B, #C55A11); transition: width .3s; }
.progress-text { display: block; font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.btn-submit { min-height: 52px; padding: 12px 34px; font-size: 18px; border-radius: 12px; box-shadow: 0 6px 16px rgba(197,90,17,.3); }
.btn-submit[disabled] { opacity: .7; cursor: wait; }
@media (max-width: 768px) {
  .reg-card { border-radius: 14px; }
  .reg-title { font-size: 19px; padding: 14px; }
  .reg-intro, .reg-form { padding-left: 16px; padding-right: 16px; }
  .reg-card .alert { margin: 14px 16px 0; }
  .fgrid { grid-template-columns: 1fr; }
  .submit-bar { margin: 10px -16px 0; padding: 12px 16px; gap: 12px; }
  .btn-submit { padding: 12px 22px; font-size: 17px; }
  .opt-grid, .opt-grid.many { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .opt-grid, .opt-grid.many { grid-template-columns: 1fr; }
  .opt-grid.few { grid-template-columns: 1fr 1fr; }
}

/* ---------------------------------------------------------------- print (thank-you page) */
.print-only { display: none; }
@media print {
  .ticker, .site-header, .main-nav, .site-footer, .no-print, .skip { display: none !important; }
  .print-only { display: block; }
  body { background: #fff; }
  .status-card { box-shadow: none; border: 1px solid #999; }
}

/* ---------------------------------------------------------------- custom pages (Admin → Pages) */
.cpage { max-width: 1100px; margin: 0 auto; }
.cpage-body:not(.code) { font-size: 17px; line-height: 1.8; color: #333; }
.cpage-body:not(.code) h2, .cpage-body:not(.code) h3 { color: var(--orange); }
.cpage-body:not(.code) img { max-width: 100%; height: auto; border-radius: 8px; }
.cpage-body:not(.code) table { border-collapse: collapse; width: 100%; margin: 14px 0; }
.cpage-body:not(.code) th, .cpage-body:not(.code) td { border: 1px solid #e5d3c1; padding: 8px 10px; }
.cpage-body:not(.code) th { background: var(--cream); }
.cpage-body iframe { max-width: 100%; border: 0; border-radius: 10px; }
.cpage-body .table-scroll, .cpage-body:not(.code) table { display: block; overflow-x: auto; }
.preview-bar { background: #fff4e0; border-bottom: 2px solid var(--nav-active); text-align: center; padding: 8px 16px; font-weight: 600; color: #6b3b06; }

/* ---------------------------------------------------------------- privacy / 404 */
.prose { max-width: 900px; margin: 0 auto; font-size: 17px; line-height: 1.8; }
.prose h2 { color: var(--orange); font-size: 22px; margin: 26px 0 8px; }

/* ---------------------------------------------------------------- footer */
.footer-top { background: var(--footer-grey); padding: 18px 16px 20px; display: flex; justify-content: center; }
.visitor-pill { display: inline-flex; align-items: center; gap: 10px; background: #FFF6EC; color: #5A2E0A; padding: 8px 18px; border-radius: 30px; box-shadow: 0 4px 10px rgba(197,90,17,.25); font-weight: 600; font-size: 14px; border: 1.5px solid #E6B385; }
.vp-icon { width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.vp-icon .ic { width: 16px; height: 16px; }
.vp-num { background: #FDE6D2; border-radius: 20px; padding: 3px 12px; font-family: Arial, sans-serif; font-weight: 700; }
.footer-bottom { background: var(--footer-cream); color: var(--brown); text-align: center; padding: 10px 16px; font-size: 15px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--orange); text-decoration: none; }
.footer-bottom .powered { color: var(--orange); }
.footer-bottom .sep { color: #c9a98a; margin: 0 4px; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1024px) {
  .wrap { padding: 0 20px; }
  .contact { font-size: 14px; }
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
  .main-nav li a { padding: 10px 11px; font-size: 13px; }
}
@media (max-width: 900px) {
  .hero { flex-direction: column; }
  .slider { flex: none; width: 100%; }
  .news-card { flex: none; }
  .news-scroll { flex: none; height: 220px; }
}
@media (max-width: 768px) {
  .wrap { padding: 0 16px; }
  .header-row { flex-direction: column; gap: 6px; padding-top: 6px; padding-bottom: 8px; }
  .logo img { max-height: 56px; margin: 0 auto; }
  .header-right { flex-direction: column; gap: 4px; align-items: center; }
  .contacts { justify-content: center; row-gap: 4px; }
  .contact { font-size: 13px; padding: 2px 8px; }
  .contact small { font-size: 12px; }
  .contact .ic { width: 22px; height: 22px; }
  .main-nav ul { display: none; flex-direction: column; padding: 0 0 8px; }
  .main-nav.open ul { display: flex; }
  .main-nav li a { padding: 10px 12px; font-size: 14px; border-top: 1px solid #ddd; }
  .main-nav li.has-sub { flex-wrap: wrap; }
  .main-nav li.has-sub > a { flex: 1; }
  .sub-toggle { margin: 0; padding: 0 16px; border-top: 1px solid #ddd; font-size: 16px; }
  .main-nav ul.sub { position: static; width: 100%; box-shadow: none; border-top: 0; padding: 0 0 0 16px; background: #f4f4f4; }
  .main-nav li.has-sub:hover > ul.sub, .main-nav li.has-sub:focus-within > ul.sub { display: none; }
  .main-nav li.has-sub.open > ul.sub { display: flex; }
  .nav-toggle { display: inline-flex; }
  .site-main { padding-top: 14px; }
  .page-title { font-size: 24px; }
  .intro { flex-direction: column; align-items: stretch; padding: 0; }
  .ceo-card { max-width: none; }
  .mela-card { padding: 18px; }
  .mela-card h2 { font-size: 20px; }
  .mela-card p { font-size: 16px; }
  .chart-wrap { width: 100%; padding: 5px 0; }
  .gallery { padding: 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .section-title { font-size: 22px; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .video-box { padding: 12px; }
  .video-title { font-size: 22px; }
  .video-frame iframe, .video-frame video { height: auto; aspect-ratio: 16 / 9; }
  .explore { padding: 10px 0; }
  .about-ribbon { font-size: 22px; }
  .about-sec { padding: 18px; margin-bottom: 28px; }
  .about-sec h3 { font-size: 20px; }
  .about-sec p { font-size: 16px; }
  .ex-table { font-size: 14px; }
  .ex-table th, .ex-table td { padding: 8px; }
  .ex-table th { font-size: 14px; }
  .news-row { gap: 14px; }
  .news-row .news-date { flex-basis: 60px; }
  .news-row h2 { font-size: 19px; }
  .form-card { padding: 16px; }
  .form-card h1 { font-size: 21px; }
  .article h1 { font-size: 24px; }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; }
  /* Exhibitors: one card per exhibitor instead of a wide table */
  .ex-table, .ex-table tbody, .ex-table tr, .ex-table td { display: block; width: 100%; }
  .ex-table { box-shadow: none; border-radius: 0; }
  .ex-table thead { display: none; }
  .ex-table tbody tr { border: 1px solid var(--card-border); border-radius: 12px; margin-bottom: 12px; overflow: hidden; box-shadow: 0 3px 10px rgba(0,0,0,.08); }
  .ex-table td { display: flex; justify-content: space-between; gap: 12px; text-align: right; padding: 6px 14px; border-bottom: 1px solid #f1e3d3; }
  .ex-table td::before { content: attr(data-label); font-weight: 600; color: var(--brown); text-align: left; }
  .ex-table td.ex-main { display: block; text-align: center; background: #FDEBDD; padding: 10px 14px; }
  .ex-table td.ex-main::before { content: none; }
  .ex-table td:last-child { border-bottom: 0; }
}
@media (max-width: 480px) {
  .ex-table { font-size: 13px; }
  .ex-table th, .ex-table td { padding: 6px; }
  .choice-box { flex-direction: column; }
  .footer-bottom { font-size: 14px; }
  .status-card .ref { font-size: 21px; }
}
