/* ExhibitionsInd page polish. Keeps every page's layout, colours and content; it only fixes
   spacing, overflow, broken/empty boxes and gives forms, tables and cards a cleaner finish.
   Loaded after the theme and page CSS on every public page. */

/* ---------- Global ---------- */
body {
  overflow-x: clip; /* stops sideways wobble on phones without breaking the sticky header */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; }
a { transition: color .15s ease; }
::selection { background: rgba(29, 95, 224, .18); }

/* Old offsets made for the previous fixed header / fixed-height boxes: let content set the height. */
.mini_container_height,
.mini_container_height_arch,
.minimt_1800 { min-height: 0 !important; }
.exh-page-catalogues [style*="min-height:1200px"],
.exh-page-organizers [style*="min-height:800px"] { min-height: 0 !important; }
.services_minimargin1 { margin-top: 0 !important; }
.serv_adsize { height: auto !important; }
.miniadmt { margin-top: 0 !important; }
.mini-margin { margin-top: 14px !important; }

/* ---------- Section title bars (E-Paper / E-Brochure / ... ) ---------- */
.exh-page-services .row[style*="border-radius:11px"],
.exh-page-archives .row[style*="border-radius:11px"] {
  height: auto !important;
  min-height: 40px;
  align-items: center;
  margin-left: 0;
  margin-right: 0;
  border-radius: 12px !important;
  box-shadow: 0 6px 16px rgba(6, 67, 168, .12);
  font-weight: 700 !important;
  letter-spacing: .01em;
}
.exh-page-services .row[style*="border-radius:11px"] > div,
.exh-page-archives .row[style*="border-radius:11px"] > div { padding-top: 7px; padding-bottom: 7px; padding-left: 16px !important; }

/* Services text boxes were fixed at 100px, so text spilled into the next block. */
.exh-page-services .row[style*="height:100px"] { height: auto !important; margin: 12px 0 26px; }
.exh-page-services .row[style*="height:100px"] > div { min-height: 0 !important; overflow: visible !important; }
.exh-page-services .row[style*="height:100px"] p { margin: 0; padding: 0 16px; line-height: 1.75; font-size: 14.5px; }
.exh-page-services .ulMiniNoDisplay { margin-top: 0 !important; }
.exh-page-services .serv_emailserver { height: auto !important; margin: 12px 0 26px; }

/* ---------- Ad spaces that have no advert yet ---------- */
.exh-adslot {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  border: 1.5px dashed #b9c7e4 !important;
  border-radius: 14px;
  background: linear-gradient(135deg, #f7f9fe, #eef3fc);
  overflow: hidden;
  transition: border-color .15s ease, background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.exh-adslot > :not(.exh-adslot-link) { display: none !important; }
.exh-adslot-link {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #4f5b72 !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none !important;
}
.exh-adslot-link svg { width: 22px; height: 22px; fill: currentColor; opacity: .8; }
.exh-adslot-link small { font-size: 11.5px; font-weight: 600; }
.exh-adslot:hover { border-color: #1d5fe0 !important; background: #eaf1ff; transform: translateY(-1px); box-shadow: 0 8px 18px rgba(29, 95, 224, .12); }
.exh-adslot:hover .exh-adslot-link { color: #1d5fe0 !important; }

/* Archive thumbnails whose image file is missing */
.exh-thumb-missing {
  display: flex !important;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e7f1 !important;
  border-radius: 10px;
  background: linear-gradient(160deg, #f8faff, #eef2f9);
  color: #5f6b82;
  font-size: 11.5px;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
}
.exh-thumb-missing img { display: none !important; }
.exh-thumb-missing::after { content: "Coming soon"; padding: 6px; }

/* ---------- Archives ---------- */
/* Thumbnail rows: an even grid where each thumbnail fills its column (no wide gaps on big screens). */
.exh-page-archives .row.justify-content-around:has(> .arch_img_mt) {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 16px;
  margin: 14px 0 0;
}
.exh-page-archives .arch_img_mt {
  flex: none;
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  aspect-ratio: 3 / 4;
}
.exh-page-archives .arch_img_mt > a { display: block; height: 100%; }
.exh-page-archives .arch_img_mt .img-size1 {
  display: block;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  object-fit: cover;
}
@media (max-width: 767px) {
  .exh-page-archives .row.justify-content-around:has(> .arch_img_mt) { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
}
.exh-page-archives .img-size1 {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(16, 24, 40, .1);
  transition: transform .18s ease, box-shadow .18s ease;
}
.exh-page-archives a:hover .img-size1 { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(16, 24, 40, .18); }

/* ---------- Catalogues / Organizers ---------- */
.exh-page-catalogues .bar1,
.exh-page-organizers .org_pg_hdr_bar {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto !important;
  min-height: 38px !important;
  margin-bottom: 8px;
  padding: 6px 14px !important;
  border-radius: 999px;
  font-weight: 600 !important;
  line-height: 1.4;
  box-shadow: 0 6px 16px rgba(4, 120, 64, .14);
}
.exh-page-catalogues .nav-tabs,
.exh-page-organizers .nav-tabs { border-bottom: 2px solid #e4e9f2; gap: 4px; }
.exh-page-catalogues .nav-tabs .nav-link,
.exh-page-organizers .nav-tabs .nav-link {
  border: 0 !important;
  border-radius: 10px 10px 0 0;
  margin-bottom: -2px;
  padding: 10px 18px;
  font-weight: 600;
  border-bottom: 3px solid transparent !important;
}
.exh-page-catalogues .nav-tabs .nav-link:hover,
.exh-page-organizers .nav-tabs .nav-link:hover { background: #f1f5fd; }
.exh-page-catalogues .nav-tabs .nav-link.active,
.exh-page-organizers .nav-tabs .nav-link.active { background: #eaf2ff; border-bottom-color: #0643a8 !important; }

/* Development outlines (red / pink / blue) become soft card borders. */
.exh-page-catalogues [style*="1px solid red"],
.exh-page-catalogues [style*="1px solid pink"],
.exh-page-catalogues [style*="border: 1px solid blue"],
.exh-page-catalogues [style*="border:1px solid blue; "] {
  border: 1px solid #e4e9f2 !important;
  border-radius: 14px;
}
.exh-page-catalogues .col-md-4[style*="solid red"] { padding: 10px; background: #fff; box-shadow: 0 4px 14px rgba(16, 24, 40, .05); }
.exh-page-catalogues #catTab,
.exh-page-catalogues #twTab,
.exh-page-catalogues #natTab,
.exh-page-catalogues #intlTab { background: #fbfcff; }
.exh-empty-note {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 220px;
  height: 100%;
  padding: 24px;
  color: #4f5b72;
  font-size: 14.5px;
  font-weight: 600;
  text-align: center;
}
.exh-empty-note svg { width: 34px; height: 34px; fill: #b9c7e4; }
.exh-page-catalogues .accordion .toggle > label {
  border-radius: 10px;
  transition: background-color .15s ease, color .15s ease;
}
.exh-page-organizers table,
.exh-page-catalogues table { width: 100%; border-radius: 12px; overflow: hidden; }
.exh-empty-row td {
  padding: 34px 16px !important;
  background: #fbfcff !important;
  color: #4f5b72;
  font-size: 14.5px;
  font-weight: 600;
  text-align: center !important;
}
.exh-empty-row td svg { width: 20px; height: 20px; fill: #b9c7e4; vertical-align: -4px; margin-right: 6px; }

/* ---------- Tables (home page list, organizers, catalogues) ---------- */
.exh-page-index .mycol1 table {
  width: 100%;
  border: 1px solid #e1e6ef;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(16, 24, 40, .06);
}
.exh-page-index .mycol1 th { padding-top: 11px; padding-bottom: 11px; letter-spacing: .01em; }
.exh-page-index .mycol1 td { padding-top: 11px; padding-bottom: 11px; vertical-align: middle; }
.exh-page-index .mycol1 tr { transition: background-color .15s ease; }
.exh-page-index .mycol1 tr:hover td { background: #eef4ff; }
table tr td a:hover { font-size: inherit; text-decoration: underline; }

/* ---------- Home page ---------- */
.exh-page-index .exhb-header { border-radius: 8px; display: flex; align-items: center; letter-spacing: .01em; }
.exh-page-index .row.justify-content-center > .exhb-header { border-radius: 0; height: 36px; }
.exh-page-index .row.justify-content-center > .exhb-header:first-child { border-radius: 10px 0 0 0 !important; }
.exh-page-index .row.justify-content-center > .exhb-header + .exhb-header { border-radius: 0 10px 0 0 !important; justify-content: flex-end; }
.exh-page-index .exhibition-row { border-bottom: 1px solid #efe7c9; }
.exh-page-index .exhb-name { font-weight: 700; line-height: 1.45; margin-bottom: 4px; }
.exh-page-index .exhb-row-logo { object-fit: contain; border-radius: 8px; background: #fff; }
.exh-page-index .exhb-row-datamart { padding-left: 8px; padding-right: 8px; text-align: center; line-height: 1.5; }
.exh-page-index a[href="upcomingexhibition.php"][style*="background-color:#0643A8"] {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px !important;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(6, 67, 168, .22);
  transition: transform .15s ease, box-shadow .15s ease;
}
.exh-page-index a[href="upcomingexhibition.php"][style*="background-color:#0643A8"]:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(6, 67, 168, .3); color: #fff !important; }
/* Banner logos: no stretching, and a gentle zoom instead of the old width jump. */
.adv-img-size1 { object-fit: contain; background: #fff; border-radius: 8px; }
.advcol1:hover, .adv-img-size1:hover { width: 100% !important; height: 100px !important; }
.advcol1 a { display: block; border-radius: 8px; transition: transform .18s ease, box-shadow .18s ease; }
.advcol1 a:hover { transform: scale(1.03); box-shadow: 0 8px 20px rgba(16, 24, 40, .14); position: relative; z-index: 1; }
.exh-page-index .epaper-border { transition: transform .18s ease, box-shadow .18s ease; }
.exh-page-index .epaper-border:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(16, 24, 40, .16); position: relative; z-index: 1; }

/* ---------- Forms (Contact, Advertise, Post Your Exhibition, Registration, Stall Booking) ---------- */
.form-control {
  border-color: #d9e0ec;
  border-radius: 10px !important;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-control:not(textarea):not([type="date"]):not(select) { min-height: 44px; }
.form-control:focus { border-color: #1d5fe0; box-shadow: 0 0 0 4px rgba(29, 95, 224, .12); }
.form-control::placeholder { color: #94a0b6; }
select.form-control { min-height: 44px; }
.exh-page-contact .btn-primary,
.exh-page-advertise .btn-primary,
.exh-page-postUrExhb .btn-primary,
.exh-page-clickevent .btn-success,
.exh-page-stallbook .btn-success {
  min-height: 44px;
  padding: 0 26px;
  border-radius: 999px !important;
  font-weight: 700;
  letter-spacing: .03em;
  box-shadow: 0 6px 16px rgba(6, 67, 168, .2);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.exh-page-contact .btn-primary:hover,
.exh-page-advertise .btn-primary:hover,
.exh-page-postUrExhb .btn-primary:hover,
.exh-page-clickevent .btn-success:hover,
.exh-page-stallbook .btn-success:hover { transform: translateY(-1px); filter: brightness(1.06); }
.exh-page-clickevent .card,
.exh-page-stallbook .card { border: 1px solid #e4e9f2; border-radius: 16px; box-shadow: 0 10px 30px rgba(16, 24, 40, .06); overflow: hidden; }
.exh-page-clickevent .card-header,
.exh-page-stallbook .card-header { background: linear-gradient(90deg, #f4f7fd, #fff); border-bottom: 1px solid #e4e9f2; }
.exh-page-clickevent .card-title,
.exh-page-stallbook .card-title { margin-top: 16px !important; color: #0a2f78; font-weight: 700; }
.exh-page-clickevent label, .exh-page-clickevent lable,
.exh-page-stallbook label, .exh-page-stallbook lable { color: #14213d; font-weight: 600; font-size: 14px; }
.exh-page-clickevent input[type="radio"],
.exh-page-stallbook input[type="radio"] { accent-color: #047840; width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; }

/* ---------- Upcoming Exhibitions page ---------- */
.exh-page-upcomingexhibition .btn-success { border-radius: 999px; font-weight: 700; padding: 8px 18px; box-shadow: 0 4px 12px rgba(4, 120, 64, .2); }

/* ---------- Phones ---------- */
@media (max-width: 575px) {
  /* Top banners: two per row instead of one huge banner per screen. */
  .exh-page-index .row.mx-0 > .col-sm-2.epaper-border { flex: 0 0 50%; max-width: 50%; }
  .exh-page-index .mini-margin { margin-left: 8px !important; margin-right: 8px !important; }
  .exh-page-services .row[style*="height:100px"] p { padding: 0 6px; }
  .exh-page-index .mycol1 th { padding-right: 10px; }
}
@media (max-width: 767px) {
  /* B2B / B2C logo lists: two per row on phones. */
  .exh-page-index .order-sm-1 > .row,
  .exh-page-index .order-sm-3 > .row { display: flex; flex-wrap: wrap; margin-left: 0; margin-right: 0; gap: 0 10px; }
  .exh-page-index .order-sm-1 > .row > .advcol1,
  .exh-page-index .order-sm-3 > .row > .advcol1 { flex: 0 0 calc(50% - 5px); max-width: calc(50% - 5px); }
  .exh-page-index .order-sm-1 > .row > .exhb-header,
  .exh-page-index .order-sm-3 > .row > .exhb-header { margin: 12px 0 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* ================= Forms (modern finish + validation states) ================= */
.exh-form-anchor { position: relative; top: -110px; }
.exh-form-card {
  padding: 26px 28px 24px;
  border: 1px solid #e4e9f2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 24, 40, .07);
}
.exh-form-intro { margin: 0 0 18px; color: #55627a; font-size: 14.5px; line-height: 1.7; }
.exh-form .form-row { margin-left: -8px; margin-right: -8px; }
.exh-form .form-row > [class*="col"] { padding-left: 8px; padding-right: 8px; }
.exh-form .form-group { margin-bottom: 16px; }
.exh-label { display: block; margin: 0 0 6px; color: #14213d; font-size: 13.5px; font-weight: 700; letter-spacing: .01em; }
.exh-label small { color: #55627a; font-weight: 600; }
.exh-req { color: #e3262e; }
.exh-form .form-control {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1.5px solid #d9e0ec;
  border-radius: 12px !important;
  background-color: #f9fbfe;
  color: #14213d;
  font-size: 15px;
  line-height: 1.4;
  box-shadow: none;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.exh-form textarea.form-control { min-height: 110px; resize: vertical; }
.exh-form .form-control:hover { border-color: #c3cfe4; }
.exh-form .form-control:focus { border-color: #1d5fe0; background-color: #fff; box-shadow: 0 0 0 4px rgba(29, 95, 224, .12); outline: none; }
.exh-form .form-control.is-valid { border-color: #2fa36b; background-color: #fff; }
.exh-form .form-control.is-invalid { border-color: #e3262e; background-color: #fffafa; }
.exh-form .form-control.is-invalid:focus { box-shadow: 0 0 0 4px rgba(227, 38, 46, .12); }
.exh-form .form-control.is-valid,
.exh-form .form-control.is-invalid { padding-right: 14px; background-image: none; }
.exh-form select.form-control { appearance: auto; }
.exh-field-error {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 6px;
  color: #c81e26;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
.exh-field-error::before { content: "!"; display: inline-flex; align-items: center; justify-content: center; flex: none; width: 16px; height: 16px; margin-top: 1px; border-radius: 50%; background: #e3262e; color: #fff; font-size: 11px; font-weight: 800; }
.exh-field-error[hidden] { display: none; }
.exh-counter { margin-top: 4px; color: #5f6b82; font-size: 12px; text-align: right; }
.exh-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.exh-form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.exh-form-note { color: #55627a; font-size: 13px; }
.exh-form .exh-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px !important;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: none;
  box-shadow: 0 8px 20px rgba(6, 67, 168, .22);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease, opacity .15s ease;
}
.exh-form .btn-primary.exh-submit { background: linear-gradient(135deg, #2f74f0, #0643a8); }
.exh-form .btn-success.exh-submit { background: linear-gradient(135deg, #10a35c, #047840); box-shadow: 0 8px 20px rgba(4, 120, 64, .22); }
.exh-form .exh-submit svg { width: 18px; height: 18px; fill: currentColor; }
.exh-form .exh-submit:hover { transform: translateY(-1px); filter: brightness(1.06); }
.exh-submit.is-loading { opacity: .75; pointer-events: none; }
.exh-submit.is-loading svg { animation: exh-spin .9s linear infinite; }
@keyframes exh-spin { to { transform: rotate(360deg); } }

.exh-alert { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 18px; padding: 14px 16px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; }
.exh-alert svg { width: 22px; height: 22px; flex: none; fill: currentColor; }
.exh-alert-ok { background: #e9f8f0; border: 1px solid #b9e6cd; color: #0b6b3a; }
.exh-alert-err { background: #fdeeee; border: 1px solid #f4c4c6; color: #a3202a; }

.exh-choice { display: flex; flex-wrap: wrap; gap: 10px; }
.exh-choice-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 16px;
  border: 1.5px solid #d9e0ec;
  border-radius: 12px;
  background: #f9fbfe;
  color: #14213d;
  font-weight: 600;
  cursor: pointer;
}
.exh-choice-item:has(input:checked) { border-color: #047840; background: #effaf4; }
.exh-choice-item input { width: 17px; height: 17px; margin: 0; accent-color: #047840; }

.exh-form-aside {
  height: 100%;
  min-height: 100%;
  padding: 26px 26px 18px;
  border-radius: 18px;
  background: linear-gradient(160deg, #0a3b8f, #061a44);
  color: rgba(255, 255, 255, .86);
  box-shadow: 0 14px 34px rgba(6, 26, 68, .18);
}
.exh-form-aside h3 { margin: 0 0 18px; color: #fff; font-size: 19px; font-weight: 700; }
.exh-form-aside ul { margin: 0; padding: 0; list-style: none; }
.exh-form-aside li { display: flex !important; gap: 12px; margin: 0 0 18px; padding: 0; text-align: left !important; font-size: 14px; line-height: 1.55; }
.exh-form-aside small { display: block; color: #8fc9ff; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.exh-form-aside a { display: block; color: #fff !important; font-weight: 600; text-decoration: none; }
.exh-form-aside a:hover { text-decoration: underline; }
.exh-aside-ico { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 38px; height: 38px; border-radius: 11px; background: rgba(20, 167, 230, .18); color: #62c4ff; }
.exh-aside-ico svg { width: 18px; height: 18px; fill: currentColor; }
.exh-aside-wa { background: rgba(37, 211, 102, .16); color: #4be08a; }

/* Visitor / stall pages: the card already exists, give the form room. */
.exh-click-form { padding: 22px 20px 10px !important; }
.exh-page-clickevent .card-body .table-responsive,
.exh-page-stallbook .card-body .table-responsive { overflow: visible; }
.exh-page-clickevent .exh-alert, .exh-page-stallbook .exh-alert { margin: 18px 20px 0; }

/* Footer newsletter error state */
#footer.exh-footer .exf-field.is-invalid { border-color: #e3262e; background: #fffafa; }
#footer.exh-footer .exh-field-error { margin: 8px 4px 0; }

@media (max-width: 991px) {
  .exh-form-aside { margin-top: 20px; height: auto; min-height: 0; }
}
@media (max-width: 575px) {
  .exh-form-card { padding: 20px 16px 18px; border-radius: 16px; }
  .exh-form .exh-submit { width: 100%; justify-content: center; }
  .exh-form-actions { flex-direction: column; align-items: stretch; text-align: center; }
  .exh-click-form { padding: 18px 6px 6px !important; }
}
/* ================= Headings, section titles and backgrounds ================= */
:root {
  --exh-h-navy: #0a1f4d;
  --exh-h-blue: #0643a8;
  --exh-h-cyan: #14a7e6;
}

/* Page title banner (About, Services, Contact, ...): same text, richer backdrop. */
.page-header.page-header-modern {
  position: relative;
  overflow: hidden;
  padding: 30px 0 28px;
  background-color: #0b2a6b;
  background-image:
    radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.2px),
    radial-gradient(900px 340px at 88% -20%, rgba(20, 167, 230, .38), transparent 62%),
    radial-gradient(700px 300px at 0% 120%, rgba(227, 38, 46, .18), transparent 60%),
    linear-gradient(120deg, #0a3b8f 0%, #082a6b 48%, #061a44 100%);
  background-size: 22px 22px, auto, auto, auto;
  isolation: isolate;
}
.page-header.page-header-modern::before {
  content: "";
  position: absolute;
  right: -90px;
  top: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 46px solid rgba(255, 255, 255, .05);
  z-index: -1;
}
.page-header.page-header-modern::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, #e3262e 0%, #ff8c00 33%, #14a7e6 66%, #0643a8 100%);
  opacity: .9;
}
.page-header.page-header-modern h1 {
  display: block;
  margin-bottom: 0;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .18);
}
.page-header.page-header-modern h1::after {
  content: "";
  display: block;
  width: 54px;
  height: 4px;
  margin: 9px 0 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--exh-h-cyan), #62c4ff);
}
.page-header.page-header-modern .sub-title,
.page-header.page-header-modern h1 + ul span,
.page-header.page-header-modern h1 + div span {
  color: rgba(255, 255, 255, .86) !important;
  font-size: 16.5px;
  font-weight: 400;
  letter-spacing: .01em;
}
.page-header.page-header-modern h1 + ul { margin-top: 0; }
.page-header.page-header-modern .breadcrumb {
  display: inline-flex !important;
  float: right;
  align-items: center;
  gap: 2px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.page-header.page-header-modern .breadcrumb > li { font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.page-header.page-header-modern .breadcrumb > li + li::before {
  content: "\203A";
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  padding: 0 8px 0 6px;
  opacity: .6;
}
.page-header.page-header-modern .breadcrumb > li > a { opacity: .85; }
.page-header.page-header-modern .breadcrumb > li > a:hover { opacity: 1; text-decoration: none; }
.page-header.page-header-modern .breadcrumb > li.active { color: #8fd3ff; }

/* Content sections */
section.dark {
  border-top: 0;
  background:
    radial-gradient(800px 260px at 100% 0%, rgba(20, 167, 230, .07), transparent 60%),
    linear-gradient(180deg, #f3f6fc 0%, #eef2f9 100%);
}
section.default + section.dark { box-shadow: inset 0 1px 0 #e4e9f2; }
.exh-page-about #banner {
  position: relative;
  background: linear-gradient(120deg, #fbf6e3, #f9f1d6) !important;
  border-top: 1px solid #efe3bb;
  border-bottom: 1px solid #efe3bb;
}
.exh-page-about #banner .container { position: relative; padding-left: 34px; }
.exh-page-about #banner .container::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, #ff8c00, #e3262e);
}
.exh-page-about #banner p { line-height: 1.8; }

/* Section headings inside pages (About, Contact, Advertise, Post Your Exhibition) */
section.default h2,
section.dark h2 {
  color: var(--exh-h-navy) !important;
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -.02em;
}
section.default h2 strong,
section.dark h2 strong {
  font-weight: 800;
  background: linear-gradient(90deg, var(--exh-h-blue), var(--exh-h-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
section.default h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin-top: 12px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--exh-h-cyan), #62c4ff);
}
.exh-page-about section.default h3,
.exh-page-about section.dark h3 {
  position: relative;
  margin-bottom: 12px;
  padding-left: 14px;
  color: var(--exh-h-navy);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.01em;
}
.exh-page-about section.default h3::before,
.exh-page-about section.dark h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--exh-h-cyan), var(--exh-h-blue));
}
.exh-page-about section.default h3 strong { font-weight: inherit; }
.exh-page-about section.default .col-lg-4 {
  padding: 24px 26px 18px;
  border: 1px solid #e4e9f2;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f8faff);
  box-shadow: 0 12px 30px rgba(16, 24, 40, .06);
}
.exh-page-about section.default .col-lg-4 h3 + p { margin-bottom: 18px; }

/* Coloured section title bars (Services, Archives) */
.exh-page-services .row[style*="border-radius:11px"],
.exh-page-archives .row[style*="border-radius:11px"] {
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 55%);
}
.exh-page-services .row[style*="border-radius:11px"] > div > div,
.exh-page-archives .row[style*="border-radius:11px"] > div > div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
}
.exh-page-services .row[style*="border-radius:11px"] > div > div::before,
.exh-page-archives .row[style*="border-radius:11px"] > div > div::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .22);
}

/* Home page block titles (B2B / B2C / Upcoming Exhibitions) */
.exh-page-index .exhb-header {
  min-height: 38px;
  height: auto !important;
  padding: 8px 14px !important;
  background: linear-gradient(120deg, #2f74f0, #0643a8) !important;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: .01em;
  box-shadow: 0 6px 16px rgba(6, 67, 168, .18);
}
.exh-page-index .order-sm-1 .exhb-header::before,
.exh-page-index .order-sm-3 .exhb-header::before,
.exh-page-index .row.justify-content-center > .exhb-header:first-child::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .22);
}
.exh-page-index .row.justify-content-center > .exhb-header { box-shadow: none; }
.exh-page-index .row.justify-content-center > .exhb-header + .exhb-header a {
  padding: 3px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  font-size: 13px !important;
  transition: background-color .15s ease;
}
.exh-page-index .row.justify-content-center > .exhb-header + .exhb-header a:hover { background: rgba(255, 255, 255, .28); color: #fff !important; }

/* Table headers */
.exh-page-index .mycol1 th,
.exh-page-organizers th,
.exh-page-catalogues th { background: linear-gradient(180deg, #0b52c4, #0643a8); }

/* Standalone pages (Upcoming Exhibitions, E-Paper, Visitor Registration, Stall Booking) */
.sections-bg {
  background:
    radial-gradient(900px 300px at 100% 0%, rgba(20, 167, 230, .08), transparent 60%),
    linear-gradient(180deg, #f3f6fc 0%, #eef2f9 100%) !important;
}
.section-header h2 {
  display: inline-block;
  padding-bottom: 16px;
  color: var(--exh-h-navy);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.section-header h2::after {
  width: 64px !important;
  height: 4px !important;
  border-radius: 4px;
  background: linear-gradient(90deg, #e3262e, #ff8c00 35%, #14a7e6 70%, #0643a8) !important;
}
.exh-page-clickevent .card-title,
.exh-page-stallbook .card-title {
  position: relative;
  padding-left: 14px;
  font-size: 22px !important;
  font-weight: 800 !important;
  letter-spacing: -.01em;
}
.exh-page-clickevent .card-title::before,
.exh-page-stallbook .card-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, #10a35c, #047840);
}

@media (max-width: 991px) {
  .page-header.page-header-modern .breadcrumb { float: none; margin-top: 10px; margin-bottom: 0; padding: 5px 13px; }
}
@media (max-width: 767px) {
  .page-header.page-header-modern { padding: 20px 0 18px; }
  .page-header.page-header-modern h1 { font-size: 25px; }
  .page-header.page-header-modern h1::after { width: 44px; height: 3px; margin: 7px 0 6px; }
  .page-header.page-header-modern .sub-title,
  .page-header.page-header-modern h1 + ul span,
.page-header.page-header-modern h1 + div span { font-size: 14px; line-height: 1.5; }
  .page-header.page-header-modern::before { width: 220px; height: 220px; border-width: 30px; right: -70px; top: -80px; }
  section.default h2, section.dark h2 { font-size: 26px; }
  .section-header h2 { font-size: 28px; }
  .exh-page-about section.default .col-lg-4 { margin-top: 26px !important; }
}
/* Breadcrumb pill: size to its text (old global ul{width:100%} rule) */
.page-header.page-header-modern .breadcrumb { width: auto !important; }

/* Upcoming Exhibitions: each event as a clean card */
.exh-page-upcomingexhibition .portfolio-isotope > .row[style*="border: 1px solid"] {
  margin: 0 auto 26px !important;
  padding: 22px 10px;
  border: 1px solid #e1e7f2 !important;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 24, 40, .07);
  overflow: hidden;
}
.exh-page-upcomingexhibition .portfolio-isotope > .row > .col-md-6:first-child img {
  max-width: 100%;
  height: auto;
  padding: 10px !important;
  border: 1px solid #e8edf5;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(16, 24, 40, .06);
}
.exh-page-upcomingexhibition .portfolio-isotope .border1 {
  border: 0 !important;
  border-left: 1px solid #e8edf5 !important;
  padding-left: 26px;
}
.exh-page-upcomingexhibition .portfolio-isotope .border1 > .row { margin-left: 0; margin-right: 0; gap: 6px; align-items: baseline; }
.exh-page-upcomingexhibition .portfolio-isotope .border1 b p { margin: 0; color: #0a1f4d; }
.exh-page-upcomingexhibition .portfolio-isotope .border1 > .row:last-child { gap: 12px; }
.exh-page-upcomingexhibition .portfolio-isotope .btn-success {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-right: 0 !important;
  padding: 0 22px;
}
@media (max-width: 767px) {
  .exh-page-upcomingexhibition .portfolio-isotope .border1 { border-left: 0 !important; border-top: 1px solid #e8edf5 !important; padding-left: 15px; padding-top: 16px; margin-top: 6px; }
}
/* Breathing room between the title banner and the first coloured bar */
.exh-page-organizers .container123 > .row:first-child,
.exh-page-catalogues .container123 > .row:first-child { margin-top: 22px !important; }
/* E-Paper reader: slightly deeper blue so white text meets contrast guidelines, matching block titles */
#exr-reader { --x-bright: #1d5fe0; }
#exr-reader .exr-head { background: linear-gradient(120deg, #2f6fe8, #0643a8); box-shadow: 0 6px 16px rgba(6, 67, 168, .18); }
#exr-reader .exr-head p { color: #f2f7ff; }

/* Standalone page heading: win over the template stylesheet that loads later */
.sections-bg .section-header h2 { font-size: 36px; font-weight: 800; letter-spacing: -.02em; color: #0a1f4d; }
@media (max-width: 767px) { .sections-bg .section-header h2 { font-size: 28px; } }
/* ---------- E-Paper "Subscribe" button + popup ---------- */
#exr-reader .exr-subscribe {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  margin-left: auto;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #0643a8;
  font: 700 13px/1 "Open Sans", Arial, sans-serif;
  letter-spacing: .02em;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .14);
  transition: transform .15s ease, box-shadow .15s ease;
}
#exr-reader .exr-subscribe svg { width: 15px; height: 15px; fill: #ff8c00; }
#exr-reader .exr-subscribe:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(0, 0, 0, .2); }
#exr-reader .exr-subscribe:focus-visible { outline: 3px solid rgba(255, 255, 255, .7); outline-offset: 2px; }
#exr-reader .exr-head p { flex: 1 1 auto; }

.exh-sub-dialog {
  width: min(440px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: #fff;
  color: #14213d;
  box-shadow: 0 30px 80px rgba(6, 26, 68, .35);
  overflow: auto;
}
.exh-sub-dialog::backdrop { background: rgba(6, 20, 52, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.exh-sub-dialog[open] { animation: exh-sub-in .2s ease-out; }
@keyframes exh-sub-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.exh-sub-body { padding: 30px 28px 26px; text-align: center; }
.exh-sub-body h2 { margin: 14px 0 8px; color: #0a1f4d; font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.exh-sub-body > p { margin: 0 0 18px; color: #55627a; font-size: 14.5px; line-height: 1.6; }
.exh-sub-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, #2f74f0, #0643a8);
  box-shadow: 0 10px 24px rgba(6, 67, 168, .3);
}
.exh-sub-icon svg { width: 28px; height: 28px; fill: #fff; }
.exh-sub-icon-ok { background: linear-gradient(135deg, #10a35c, #047840); box-shadow: 0 10px 24px rgba(4, 120, 64, .3); }
.exh-sub-form { text-align: left; }
.exh-sub-form .exh-submit { width: 100%; justify-content: center; }
.exh-sub-done .exh-submit { margin-top: 6px; }
.exh-sub-error { margin: -4px 0 12px; color: #c81e26; font-size: 13px; font-weight: 600; }
.exh-sub-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f1f4fa;
  color: #55627a;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.exh-sub-close:hover { background: #e4e9f2; color: #14213d; }
@media (max-width: 480px) {
  #exr-reader .exr-subscribe span { display: none; }
  #exr-reader .exr-subscribe { padding: 0 10px; }
  .exh-sub-body { padding: 26px 20px 22px; }
}
/* ---------- Speed & accessibility finishing ---------- */
/* Top banners keep their shape (no stretching) inside the fixed-height strip. */
.exh-page-index .epaper-border img { object-fit: contain; background: #fff; }
/* Upcoming Exhibitions buttons: site green with readable white text. */
.exh-page-upcomingexhibition .btn-success { background: linear-gradient(135deg, #0b8a4b, #047840) !important; border-color: #047840 !important; color: #fff !important; }
/* "Coming soon" archive tiles keep the thumbnail shape. */
.exh-page-archives .exh-thumb-missing { aspect-ratio: 3 / 4; }