/* 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; }

/* "NEW" starburst sticker on the Shilpi Registration menu item while that
   form is scheduled but not yet open (registration_new_badge()). A small,
   gently-tilted sticker sitting next to the label text. */
.new-burst-wrap { display: inline-flex; width: 22px; height: 22px; margin-left: 6px; vertical-align: -2px; transform: rotate(8deg); }
.new-burst-wrap svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 1px 1px rgba(0,0,0,.25)); }
.main-nav ul.sub .new-burst-wrap { width: 20px; height: 20px; }

/* The registration open/closed status line rendered above a form. */
.reg-status { text-align: center; font-size: 15px; color: var(--muted); margin: 0 0 14px; }
.reg-status strong { color: var(--orange-dark); }

/* -----------------------------------------------------------------
   Registration hub (the "Shilpi Registration" menu page).
   Each visible form is a clickable card: a status badge, the form's
   title, an optional "opens between" line, and a call-to-action.
   A card the admin has hidden simply does not render at all.
------------------------------------------------------------------- */
.reg-hub { padding: 6px 0 20px; }
.reg-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
  max-width: 1100px;
  margin: 0 auto;
}
.reg-hub-card {
  position: relative;
  display: block;
  background: var(--cream);
  border: 2px solid var(--card-border);
  border-radius: 16px;
  padding: 20px 22px 24px;
  box-shadow: 0 10px 25px rgba(0,0,0,.12);
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.reg-hub-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.16); border-color: var(--peach-border); }
.reg-hub-card .badge { position: absolute; top: 14px; right: 14px; }
.reg-hub-title { color: var(--brown); font-size: 22px; font-weight: 700; margin: 4px 0 6px; line-height: 1.35; }
.reg-hub-dates { color: var(--orange-dark); font-size: 15px; margin: 6px 0 0; }
.reg-hub-btn { display: inline-block; margin-top: 14px; color: var(--orange); font-weight: 700; font-size: 16px; }
/* Status badge colours (open=green, not-open-yet=amber, closed=grey). */
.reg-hub-card .badge {
  font: 700 12px/1 var(--font-latin);
  letter-spacing: .4px;
  padding: 5px 11px;
  border-radius: 20px;
  text-transform: uppercase;
}
/* Devanagari has no case and letter-spacing splits matra joins — normalise it. */
html:not(.lang-en) .reg-hub-card .badge { text-transform: none; letter-spacing: 0; font-family: var(--font); }
.reg-hub-card .badge.open { background: #e6f4ea; color: #1a7f37; }
.reg-hub-card .badge.wait { background: #fff3d6; color: #a06b00; }
.reg-hub-card .badge.closed { background: #ececec; color: #666; }
/* A card whose form is not open yet reads as "coming soon". */
.reg-hub-card.is-locked .reg-hub-title { color: var(--muted); }
.reg-hub-card.is-locked .reg-hub-btn { color: var(--muted); }

/* ---------------------------------------------------------------- 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; }

/* ---- PART 1: news images ------------------------------------------------ */
/* News detail: large rounded hero image under the title. */
.article .hero-img { margin: 20px 0 26px; }
.article .hero-img img { width: 100%; height: auto; border-radius: 18px; box-shadow: 0 8px 28px rgba(74,46,20,.16); display: block; background: var(--cream); }
.article .hero-img figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; text-align: center; }

/* PDF + share row under the article. */
.post-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 26px 0 6px; padding-top: 18px; border-top: 1px solid #f0e6da; }
.share { display: inline-flex; gap: 8px; margin-left: auto; }
.share a { display: inline-block; padding: 7px 13px; border-radius: 999px; border: 1.5px solid var(--card-border); background: var(--cream); color: var(--brown); font-size: 13px; font-weight: 600; text-decoration: none; transition: .15s; }
.share a:hover { background: var(--peach); border-color: var(--peach-border); color: #fff; }
body.lang-en .share a { color: #555; }
body.lang-en .share a:hover { color: #fff; }

/* Detail-page photo gallery (extra images, lightbox-enabled). */
.n-gallery { max-width: 900px; margin: 34px auto 0; }
.n-gallery h2 { font-size: 22px; color: var(--orange); margin: 0 0 14px; }
.n-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.n-gallery-grid figure { margin: 0; border-radius: 14px; overflow: hidden; background: var(--cream); border: 1px solid var(--card-border); box-shadow: 0 4px 14px rgba(74,46,20,.10); cursor: zoom-in; }
.n-gallery-grid img { width: 100%; height: 150px; object-fit: cover; display: block; }
.n-gallery-grid figure:hover { box-shadow: 0 8px 22px rgba(74,46,20,.22); }

/* News list: card grid with thumbnail on top + date badge. */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.news-grid .news-card { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: 18px; overflow: hidden; border: 1px solid #ececec; box-shadow: 0 6px 22px rgba(0,0,0,.08); transition: .18s; }
.news-grid .news-card:hover { box-shadow: 0 12px 30px rgba(197,90,17,.18); transform: translateY(-2px); }
.news-grid .nc-img { position: relative; display: block; background: var(--cream); overflow: hidden; }
.news-grid .nc-img img { width: 100%; height: 175px; object-fit: cover; display: block; }
/* No-image placeholder: the logo on cream, never a broken image. */
.news-grid .nc-ph { position: absolute; inset: 0; margin: auto; height: 84px; width: auto; padding: 22px; opacity: .55; }
.news-grid .nc-date { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; align-items: center; width: 52px; padding: 6px 0; background: rgba(255,255,255,.94); border: 1.5px solid var(--peach-border); border-radius: 10px; box-shadow: 0 3px 10px rgba(74,46,20,.18); }
.news-grid .nc-date .d { font-family: var(--font-latin); font-size: 22px; font-weight: 700; line-height: 1.1; color: var(--orange); }
.news-grid .nc-date .m { font-family: var(--font-latin); font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--brown); letter-spacing: .04em; }
.news-grid .nc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.news-grid .nc-body h2 { font-size: 17px; font-weight: 600; margin: 0 0 6px; }
.news-grid .nc-body h2 a { color: #333; text-decoration: none; }
.news-grid .nc-body h2 a:hover { color: var(--orange); }
.news-grid .nc-body p { margin: 0 0 10px; font-size: 14px; color: var(--muted); flex: 1; }
.news-grid .nc-more { align-self: flex-start; font-size: 14px; font-weight: 600; color: var(--orange); text-decoration: none; }
.news-grid .nc-more:hover { color: var(--orange-dark); }

/* Home page Latest News box: small square thumbnail beside the date badge. */
.news-item.has-img { display: grid; grid-template-columns: 52px 56px 1fr; }
.news-item .news-thumb { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; border: 1px solid var(--card-border); background: var(--cream); }

/* Related news cards may carry a small thumbnail. */
.related-card.has-img { padding-bottom: 12px; }
.related-card.has-img img { width: 100%; height: 96px; object-fit: cover; border-radius: 8px; margin-bottom: 8px; background: var(--cream); }

/* ---- responsive adjustments -------------------------------------------- */
.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; }
/* Conditional (dependent) fields: guarantee [hidden] reliably removes the
   field from layout even where a parent forces a display value. */
.reg-form .field[hidden], .reg-form .fsec[hidden] { display: none !important; }
.reg-form .fsec[hidden] { margin: 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 14px; }
  /* Mobile header = one clean row (like the desktop look): logo on the left,
     the language switcher + hamburger on the right. E-mail / phone are hidden
     to keep it tight. */
  .header-row { flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; padding-top: 6px; padding-bottom: 6px; }
  .logo img { max-height: 44px; margin: 0; }
  .header-right { flex-direction: row; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: nowrap; }
  .contacts { display: none; }
  .lang-switch { gap: 6px; }
  .lang-btn { padding: 5px 10px; font-size: 14px; }
  /* Hamburger button in the header row (moved out of the menu strip). */
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 0; padding: 0; background: #2f2a5b; color: #fff; border: 0; border-radius: 8px; width: 44px; height: 38px; cursor: pointer; flex: none; }
  .nav-toggle .ic { width: 22px; height: 22px; }
  .nav-toggle span { display: none; }   /* icon only in the compact row */
  /* Collapsible menu: hidden until the hamburger opens it. Links are centered
     on mobile (a touch-friendly, tidy look). */
  .main-nav { background: var(--nav-bg); }
  .main-nav ul { display: none; flex-direction: column; padding: 0 0 8px; }
  .main-nav.open ul { display: flex; }
  .main-nav li a { padding: 10px 14px; font-size: 15px; border-top: 1px solid #ddd; text-align: center; }
  .main-nav li.has-sub { flex-direction: column; align-items: center; flex-wrap: nowrap; }
  .main-nav li.has-sub > a { flex: none; text-align: center; }
  .sub-toggle { margin: 0; padding: 0 0 2px; border: 0; font-size: 14px; }
  .main-nav ul.sub { position: static; width: 100%; box-shadow: none; border-top: 0; padding: 0; background: #f4f4f4; }
  .main-nav ul.sub li a { text-align: center; }
  .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; }
  /* Hide the whole menu strip until the header hamburger opens it (no empty
     orange bar when closed). */
  .main-nav { display: none; }
  .main-nav.open { display: block; }
  .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; }
  .news-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
  .n-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .post-actions { flex-direction: column; align-items: flex-start; }
  .share { margin-left: 0; }
  .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; }
}

/* ---------------------------------------------------------------------------
   Justified text
   Shared "Justified text" rule set. Every running body paragraph in a
   .text-justify-area wrapper is justified, so content added later from the
   admin (Hindi or English) and content written in the visual editor or the
   page-builder code mode all read justified in one place.

   Deliberately low specificity (.text-justify-area p / li / blockquote, no
   !important) so that a later rule on a page-specific class — the site CSS,
   or the admin's own <style> on a custom page / page-builder design — always
   wins. <html lang="hi|en"> is set by layout.php / PageDesign so hyphens:auto
   works. blockquote is included so the home CEO quote block is covered too.
--------------------------------------------------------------------------- */
.text-justify-area p,
.text-justify-area li,
.text-justify-area blockquote {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  overflow-wrap: break-word;
  word-break: normal;
}

/* The visual editor (a custom page in visual mode → .cpage-body without the
   "code" class) drops an inline text-align on a paragraph. Force that back to
   justified — the ONLY !important in this block — except where the editor was
   deliberately given .keep-align, so an intentional center/right can still be
   chosen (its inline text-align then wins the cascade, since the base rule
   above is not !important). In code mode (.cpage-body.code) and on
   page-builder designs this !important does not apply, so the admin's own
   HTML/CSS stays in control (add .keep-align there to opt a paragraph out of
   the general rule). */
.cpage-body:not(.code) p[style*="text-align"]:not(.keep-align) {
  text-align: justify !important;
}

/* Short single-line notes inside a .text-justify-area that must NOT be
   justified (justifying a one-liner only stretches it to the width): the
   "no news" empty state keeps its original centering, and the "required
   fields" note and the article date line stay left. (Headings, buttons,
   tables, form labels /inputs, captions, the ticker, the home Latest News
   box and the footer are already safe — they are not p/li/blockquote, so the
   rule above never touches them.) */
.text-justify-area .empty { text-align: center; }
.text-justify-area .req-note,
.text-justify-area .meta { text-align: inherit; }

/* Mobile: below 480px justify creates wide inter-word gaps, so fall back to
   left; above that keep justified. (A single line fills the width, so it is
   unaffected either way.) */
@media (max-width: 480px) {
  .text-justify-area p,
  .text-justify-area li,
  .text-justify-area blockquote { text-align: left; }
  .cpage-body:not(.code) p[style*="text-align"]:not(.keep-align) { text-align: left !important; }
}
