﻿/* SISV v1 pages — content pages: news lists, CMS text, contact, services, facilities
   Linked once from institute.Master. Every rule is scoped to html.v1, so it only applies on pages that
   add the "v1" class (document.documentElement.className += " v1") and never touches the original pages.
   Builds on v1-base.css (colour tokens, banner, side menu, .ed-card, buttons, empty states). */

html.v1 #edPage { text-align: left; }
/* the template styles every <section> (padding + bottom border); sections inside v1 pages are plain wrappers */
html.v1 :where(#edPage) section:not(.ed-card) { padding: 0; border-bottom: 0; }
html.v1 :where(#edPage) section.ed-card { border-bottom: 1px solid var(--ed-line); }
html.v1 .ed-stack { display: grid; gap: 22px; }
html.v1 .ed-stack > * { min-width: 0; }

/* ---------- Section heading ---------- */
html.v1 .ed-head { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; }
html.v1 .ed-head-ico { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 18px; color: #fff; background: linear-gradient(135deg, var(--ed-primary-2), var(--ed-primary)); box-shadow: 0 10px 18px -10px rgba(14, 65, 111, .9); }
html.v1 .ed-head h2, html.v1 .ed-head h3 { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.3; color: var(--ed-ink); }
html.v1 .ed-head p { margin: 3px 0 0; font-size: 13.5px; color: var(--ed-muted); }
html.v1 .ed-head .ed-count { margin-left: 4px; }

/* ---------- Text from the content manager ---------- */
html.v1 .ed-prose { font-size: 15px; line-height: 1.75; color: #334155; overflow-wrap: anywhere; }
html.v1 .ed-prose > :first-child { margin-top: 0 !important; }
html.v1 .ed-prose > :last-child { margin-bottom: 0 !important; }
html.v1 .ed-prose h1, html.v1 .ed-prose h2, html.v1 .ed-prose h3, html.v1 .ed-prose h4, html.v1 .ed-prose h5 { color: var(--ed-ink); font-weight: 700; line-height: 1.3; margin: 1.6em 0 .6em; }
html.v1 .ed-prose h1 { font-size: 24px; }
html.v1 .ed-prose h2 { font-size: 21px; }
html.v1 .ed-prose h3 { font-size: 18px; }
html.v1 .ed-prose h4, html.v1 .ed-prose h5 { font-size: 16px; }
html.v1 .ed-prose p { margin: 0 0 1em; }
html.v1 .ed-prose a { color: var(--ed-primary-2); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(29, 111, 209, .35); }
html.v1 .ed-prose a:hover { text-decoration-color: currentColor; }
html.v1 .ed-prose ul, html.v1 .ed-prose ol { margin: 0 0 1em; padding-left: 1.4em; }
html.v1 .ed-prose li { margin: .3em 0; }
html.v1 .ed-prose li::marker { color: var(--ed-primary-2); }
html.v1 .ed-prose img { max-width: 100%; height: auto; border-radius: 12px; }
html.v1 .ed-prose table { width: 100% !important; max-width: 100%; margin: 0 0 1.2em; border-collapse: separate; border-spacing: 0; border: 1px solid var(--ed-line); border-radius: 14px; overflow: hidden; font-size: 14px; }
html.v1 .ed-prose th, html.v1 .ed-prose td { padding: 10px 14px; border: 0; border-top: 1px solid var(--ed-line); vertical-align: top; }
html.v1 .ed-prose tr:first-child > th, html.v1 .ed-prose tr:first-child > td { border-top: 0; }
html.v1 .ed-prose th, html.v1 .ed-prose thead td { background: var(--ed-soft); color: var(--ed-ink); font-weight: 700; }
html.v1 .ed-prose blockquote { margin: 0 0 1em; padding: 12px 18px; border-left: 4px solid var(--ed-accent); border-radius: 0 12px 12px 0; background: var(--ed-soft); color: var(--ed-ink); }
html.v1 .ed-prose hr { border: 0; border-top: 1px dashed var(--ed-line); margin: 1.6em 0; }
html.v1 .ed-prose iframe, html.v1 .ed-prose video { max-width: 100%; border: 0; border-radius: 12px; }
html.v1 .ed-prose-wrap { overflow-x: auto; }

/* ---------- Filter bar ---------- */
html.v1 .ed-filters { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .7fr) auto; gap: 14px; align-items: end; padding: 18px 20px; border-radius: var(--ed-radius); background: #fff; border: 1px solid var(--ed-line); box-shadow: var(--ed-shadow-lg); animation: ed-rise .5s ease both; }
html.v1 .ed-filters.is-2 { grid-template-columns: minmax(0, 1.6fr) minmax(0, .6fr); }
html.v1 .ed-field-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ed-muted); margin: 0 0 6px; }
html.v1 .ed-search { position: relative; }
html.v1 .ed-search > .fa { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--ed-muted); pointer-events: none; transition: color .2s ease; }
html.v1 .ed-search:focus-within > .fa { color: var(--ed-primary-2); }
html.v1 .ed-input, html.v1 .ed-select { width: 100%; height: 46px; border-radius: 14px; border: 1.5px solid #dbe3ee; background: #fbfcfe; font-size: 14px; color: var(--ed-ink); outline: none; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
html.v1 .ed-input { padding: 0 40px 0 42px; }
html.v1 .ed-select { padding: 0 12px; cursor: pointer; }
html.v1 .ed-input:focus, html.v1 .ed-select:focus { border-color: var(--ed-primary-2); background: #fff; box-shadow: 0 0 0 4px rgba(29, 111, 209, .12); }
html.v1 .ed-x { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 9px; border: 0; background: var(--ed-soft); color: var(--ed-muted); cursor: pointer; display: none; }
html.v1 .ed-x:hover { background: #e7edf5; color: var(--ed-ink); }
html.v1 .ed-x.is-visible { display: block; }

/* segmented control (division / type / tabs) */
html.v1 .ed-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 14px; background: var(--ed-soft); border: 1px solid var(--ed-line); min-height: 46px; max-width: 100%; }
html.v1 .ed-seg-btn { display: inline-flex; align-items: center; gap: 7px; border: 0; background: transparent; padding: 0 14px; min-height: 36px; border-radius: 10px; font-size: 13px; font-weight: 700; color: var(--ed-muted); cursor: pointer; white-space: nowrap; transition: all .2s ease; }
html.v1 .ed-seg-btn:hover { color: var(--ed-ink); background: rgba(255, 255, 255, .8); }
html.v1 .ed-seg-btn.is-active { color: #fff; background: linear-gradient(135deg, var(--ed-primary-2), var(--ed-primary)); box-shadow: 0 6px 14px -6px rgba(14, 65, 111, .8); }
html.v1 .ed-seg-btn[data-value="LS"].is-active { background: linear-gradient(135deg, #f59e0b, #d97706); box-shadow: 0 6px 14px -6px rgba(217, 119, 6, .8); }
html.v1 .ed-seg-btn[data-value="QS"].is-active { background: linear-gradient(135deg, #3d9970, #2f7a57); box-shadow: 0 6px 14px -6px rgba(47, 122, 87, .8); }
html.v1 .ed-seg-btn .ed-count { min-width: 22px; height: 20px; padding: 0 7px; font-size: 11px; }
html.v1 .ed-seg-btn.is-active .ed-count { color: #fff; background: rgba(255, 255, 255, .22); }
html.v1 .ed-tabs { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 14px; }

/* ---------- Results header + DataTables as a list of cards ---------- */
html.v1 .ed-results-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 4px; }
html.v1 .ed-results-head h3 { margin: 0; font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 10px; color: var(--ed-ink); }
html.v1 .ed-results-head .dataTables_length { float: none; margin: 0; padding: 0; flex: 0 0 auto; text-align: right !important; }
html.v1 .ed-results-head .dataTables_length label { display: inline-flex; align-items: center; margin: 0; padding: 0 !important; white-space: nowrap; }
html.v1 .ed-dt { width: 100% !important; margin: 0 !important; border: 0 !important; border-collapse: separate !important; border-spacing: 0 12px !important; background: transparent !important; }
html.v1 .ed-dt thead { display: none; }
html.v1 .ed-dt tbody tr, html.v1 .ed-dt tbody tr:hover { background: transparent !important; }
html.v1 .ed-dt tbody td { padding: 0 !important; border: 0 !important; background: transparent !important; }
html.v1 .ed-dt tbody td.dataTables_empty { padding: 0 !important; }
html.v1 #edPage .dataTables_wrapper .dataTables_info { padding-top: 8px; }

/* list item (circular, press release) */
html.v1 .ed-item { position: relative; display: grid; grid-template-columns: 78px minmax(0, 1fr) 40px; gap: 18px; align-items: center; padding: 16px; border-radius: var(--ed-radius); background: #fff; border: 1px solid var(--ed-line); box-shadow: var(--ed-shadow); color: inherit !important; text-decoration: none !important; overflow: hidden; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; animation: ed-pop .35s ease both; }
html.v1 .ed-item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--ed-primary-2), var(--ed-accent)); opacity: 0; transition: opacity .25s ease; }
html.v1 .ed-item:hover, html.v1 .ed-item:focus-visible { transform: translateY(-2px); box-shadow: var(--ed-shadow-lg); border-color: #d3deeb; outline: none; }
html.v1 .ed-item:hover::before, html.v1 .ed-item:focus-visible::before { opacity: 1; }
html.v1 .ed-date { width: 78px; border-radius: 14px; overflow: hidden; text-align: center; background: #fff; border: 1px solid var(--ed-line); box-shadow: 0 10px 20px -14px rgba(16, 36, 64, .6); }
html.v1 .ed-date-m { display: block; padding: 5px 0; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: linear-gradient(135deg, var(--ed-primary-2), var(--ed-primary)); }
html.v1 .ed-date-d { display: block; font-size: 26px; font-weight: 700; line-height: 1.1; color: var(--ed-ink); padding-top: 5px; }
html.v1 .ed-date-y { display: block; font-size: 11px; font-weight: 700; color: var(--ed-muted); padding-bottom: 7px; }
html.v1 .ed-date.is-none .ed-date-d { font-size: 18px; color: var(--ed-muted); padding: 10px 0 12px; }
html.v1 .ed-item-title { margin: 0 0 7px; font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--ed-ink); overflow-wrap: anywhere; transition: color .2s ease; }
html.v1 .ed-item:hover .ed-item-title { color: var(--ed-primary-2); }
html.v1 .ed-item-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14px; color: var(--ed-primary); }
html.v1 .ed-item-meta .fa { margin-right: 3px; }
html.v1 .ed-go { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--ed-primary-2); background: rgba(29, 111, 209, .08); transition: all .25s ease; }
html.v1 .ed-item:hover .ed-go { color: #fff; background: linear-gradient(135deg, var(--ed-primary-2), var(--ed-primary)); transform: translateX(3px); }
html.v1 .ed-chip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .04em; background: var(--ed-soft); color: #475569; border: 1px solid var(--ed-line); }
html.v1 .ed-chip.is-sisv { color: #0e5566; background: #ecfeff; border-color: #a5f3fc; }
html.v1 .ed-chip.is-ls { color: #b45309; background: #fffbeb; border-color: #fde68a; }
html.v1 .ed-chip.is-qs { color: #2f7a57; background: #ecfdf5; border-color: #a7f3d0; }
html.v1 .ed-chip.is-vgp { color: #334155; background: #eff6ff; border-color: #d3deeb; }
html.v1 .ed-chip.is-type { color: #5b21b6; background: #f5f3ff; border-color: #ddd6fe; }
html.v1 mark.ed-hl { background: #fef08a; color: inherit; border-radius: 3px; padding: 0 2px; }

/* skeleton while loading */
html.v1 .ed-skel { height: 96px; border-radius: var(--ed-radius); margin-bottom: 12px; background: linear-gradient(90deg, #f1f5f9 25%, #e5ebf2 37%, #f1f5f9 63%); background-size: 400% 100%; animation: ed-shimmer 1.4s ease infinite; }
html.v1 .ed-skel.is-text { height: 16px; border-radius: 8px; margin-bottom: 12px; }
html.v1 .ed-skel.is-text.is-short { width: 60%; }

/* ---------- Pop-up ---------- */
html.v1 .ed-modal .modal-dialog { -webkit-box-shadow: none !important; box-shadow: none !important; background: transparent !important; border-radius: 0 !important; }
html.v1 .ed-modal .modal-content { border: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(8, 24, 48, .45); }
html.v1 .ed-modal .modal-header { position: relative; padding: 22px 70px 20px 24px; border: 0; color: #fff; text-align: left; background: radial-gradient(600px 200px at 0% 0%, rgba(34, 184, 207, .35), transparent 60%), linear-gradient(135deg, var(--ed-primary-2), var(--ed-primary)); }
html.v1 .ed-modal .modal-header small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .85; margin-bottom: 4px; }
html.v1 .ed-modal .modal-title { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.35; color: #fff !important; overflow-wrap: anywhere; }
html.v1 .ed-modal .ed-modal-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 8px; font-size: 12.5px; opacity: .9; }
html.v1 .ed-modal .modal-header .close { position: absolute; top: 18px; right: 18px; margin: 0; width: 34px; height: 34px; border-radius: 10px; color: #fff; opacity: .85; text-shadow: none; background: rgba(255, 255, 255, .15); transition: background .2s ease, transform .2s ease; }
html.v1 .ed-modal .modal-header .close:hover { opacity: 1; background: rgba(255, 255, 255, .25); transform: rotate(90deg); }
html.v1 .ed-modal .modal-body { padding: 22px 24px; text-align: left; }
html.v1 .ed-modal .modal-footer { padding: 14px 24px 20px; border-top: 1px solid var(--ed-line); }
@media (min-width: 768px) { html.v1 .ed-modal .modal-dialog.modal-lg { width: 820px; } }

/* key / value rows */
html.v1 .ed-kv { margin: 0; }
html.v1 .ed-kv-row { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-top: 1px dashed var(--ed-line); }
html.v1 .ed-kv-row:first-child { border-top: 0; }
html.v1 .ed-kv dt { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ed-muted); }
html.v1 .ed-kv dt .fa { width: 16px; text-align: center; color: var(--ed-primary-2); }
html.v1 .ed-kv dd { margin: 0; font-size: 14.5px; font-weight: 600; line-height: 1.5; color: var(--ed-ink); overflow-wrap: anywhere; }
html.v1 .ed-kv dd a { color: var(--ed-primary-2); }

/* ---------- Tiles (contact details, quick links) ---------- */
html.v1 .ed-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
html.v1 .ed-tile { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--ed-radius); background: #fff; border: 1px solid var(--ed-line); box-shadow: var(--ed-shadow); color: inherit !important; text-decoration: none !important; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; animation: ed-rise .5s ease both; }
html.v1 a.ed-tile:hover { transform: translateY(-3px); box-shadow: var(--ed-shadow-lg); border-color: #d3deeb; }
html.v1 .ed-tile-ico { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 18px; color: var(--ed-primary-2); background: rgba(29, 111, 209, .1); transition: all .25s ease; }
html.v1 a.ed-tile:hover .ed-tile-ico { color: #fff; background: linear-gradient(135deg, var(--ed-primary-2), var(--ed-primary)); }
html.v1 .ed-tile small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ed-muted); margin-bottom: 3px; }
html.v1 .ed-tile b { display: block; font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--ed-ink); overflow-wrap: anywhere; }
html.v1 .ed-tile > span:not(.ed-tile-ico) { min-width: 0; }
html.v1 .ed-tile > span > span { display: block; margin-top: 3px; font-size: 13px; line-height: 1.5; color: var(--ed-muted); }
html.v1 .ed-tile .ed-tile-go { position: absolute; right: 16px; top: 18px; color: #94a3b8; transition: transform .25s ease, color .25s ease; }
html.v1 a.ed-tile:hover .ed-tile-go { color: var(--ed-primary-2); transform: translateX(3px); }

/* call to action strip */
html.v1 .ed-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 20px; border-radius: var(--ed-radius); color: #fff; background: radial-gradient(500px 180px at 0% 0%, rgba(34, 184, 207, .35), transparent 60%), linear-gradient(135deg, var(--ed-primary-2), var(--ed-primary)); box-shadow: var(--ed-shadow-lg); }
html.v1 .ed-cta-txt { flex: 1 1 260px; min-width: 0; }
html.v1 .ed-cta-txt b { display: block; font-size: 16px; font-weight: 700; }
html.v1 .ed-cta-txt span { display: block; font-size: 13.5px; opacity: .88; margin-top: 2px; }
html.v1 .ed-cta-txt a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
html.v1 .ed-cta .ed-btn-ghost { border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .12); color: #fff !important; }
html.v1 .ed-cta .ed-btn-ghost:hover { background: #fff; color: var(--ed-primary) !important; border-color: #fff; }
html.v1 .ed-btns { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Forms ---------- */
html.v1 .ed-form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 16px; }
html.v1 .ed-form .ed-field { margin-bottom: 16px; position: relative; }
html.v1 .ed-form .ed-span-all { grid-column: 1 / -1; }
html.v1 .ed-form label { display: block; margin: 0 0 6px; font-size: 13px; font-weight: 700; color: var(--ed-ink); }
html.v1 .ed-form .ed-req { color: #dc2626; }
html.v1 .ed-form .form-control { height: 46px; border-radius: 12px; border: 1.5px solid #dbe3ee; background: #fbfcfe; box-shadow: none; font-size: 14px; color: var(--ed-ink); transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
html.v1 .ed-form select.form-control { cursor: pointer; }
html.v1 .ed-form textarea.form-control { height: auto; min-height: 150px; padding: 12px 14px; resize: vertical; line-height: 1.6; }
html.v1 .ed-form .form-control:focus { border-color: var(--ed-primary-2); background: #fff; box-shadow: 0 0 0 4px rgba(29, 111, 209, .12); }
html.v1 .ed-form .form-control::placeholder { color: #9aa8bb; }
html.v1 .ed-form .has-error .form-control { border-color: #f04438; background: #fffbfa; }
html.v1 .ed-form .has-success .form-control { border-color: #32d583; }
html.v1 .ed-form .help-block { margin: 6px 0 0; font-size: 12.5px; font-weight: 600; }
html.v1 .ed-form .form-control-feedback { top: 31px; right: 4px; }
html.v1 .ed-form .ed-hint { display: flex; justify-content: space-between; gap: 10px; margin-top: 6px; font-size: 12px; color: var(--ed-muted); }
html.v1 .ed-form .ed-hint .is-near { color: #b42318; font-weight: 700; }
html.v1 .ed-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 6px; }
html.v1 .ed-privacy { display: flex; align-items: flex-start; gap: 8px; max-width: 420px; font-size: 12.5px; line-height: 1.5; color: var(--ed-muted); }
html.v1 .ed-privacy .fa { margin-top: 3px; color: #12b76a; }
html.v1 .ed-hp { position: absolute !important; left: -9999px !important; top: -9999px !important; }

/* ---------- Pictures ---------- */
html.v1 .ed-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
html.v1 .ed-shot { position: relative; display: block; margin: 0; padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: var(--ed-soft); cursor: zoom-in; aspect-ratio: 4 / 3; box-shadow: var(--ed-shadow); width: 100%; }
html.v1 .ed-shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
html.v1 .ed-shot:hover img, html.v1 .ed-shot:focus-visible img { transform: scale(1.06); }
html.v1 .ed-shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; font-size: 12.5px; font-weight: 700; color: #fff; text-align: left; background: linear-gradient(180deg, transparent, rgba(8, 24, 48, .75)); }
html.v1 .ed-shot.is-broken { display: none; }
html.v1 .ed-stats { display: flex; flex-wrap: wrap; gap: 10px; }
html.v1 .ed-stat { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 14px; background: var(--ed-soft); border: 1px solid var(--ed-line); }
html.v1 .ed-stat .fa { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--ed-primary-2), var(--ed-accent)); }
html.v1 .ed-stat small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ed-muted); }
html.v1 .ed-stat b { display: block; font-size: 15px; font-weight: 700; color: var(--ed-ink); }
html.v1 .ed-lightbox .modal-content { background: #0b1626; }
html.v1 .ed-lightbox .modal-body { padding: 0; position: relative; background: #0b1626; }
html.v1 .ed-lightbox .modal-body img { display: block; width: 100%; max-height: 75vh; object-fit: contain; }
html.v1 .ed-lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; color: #fff; background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); cursor: pointer; transition: background .2s ease; }
html.v1 .ed-lb-nav:hover { background: rgba(255, 255, 255, .3); }
html.v1 .ed-lb-prev { left: 12px; }
html.v1 .ed-lb-next { right: 12px; }

/* ---------- Mobile ---------- */
@media (max-width: 991px) {
    html.v1 .ed-filters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    html.v1 .ed-filters > .ed-filter-q { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
    html.v1 .ed-filters, html.v1 .ed-filters.is-2 { grid-template-columns: minmax(0, 1fr); padding: 16px; }
    html.v1 .ed-seg { width: 100%; }
    html.v1 .ed-seg-btn { flex: 1; justify-content: center; padding: 0 8px; }
    html.v1 .ed-item { grid-template-columns: 62px minmax(0, 1fr); gap: 12px; padding: 13px; }
    html.v1 .ed-item .ed-go { display: none; }
    html.v1 .ed-date { width: 62px; }
    html.v1 .ed-date-d { font-size: 21px; }
    html.v1 .ed-item-title { font-size: 14.5px; }
    html.v1 .ed-results-head .dataTables_length .ed-len-t { display: none; }
    html.v1 .ed-form-grid { grid-template-columns: minmax(0, 1fr); }
    html.v1 .ed-kv-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
    html.v1 .ed-modal .modal-header { padding: 20px 62px 18px 18px; }
    html.v1 .ed-modal .modal-body { padding: 18px; }
    html.v1 .ed-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    html.v1 .ed-card { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    html.v1 .ed-item, html.v1 .ed-tile, html.v1 .ed-filters, html.v1 .ed-shot img { animation: none !important; transition: none !important; }
}

/* ======================================================================
   Information pages (division About / Services / CPD, SISV overview, FAQ, terms, member associations)
   ====================================================================== */
html.v1 .ed-lead { margin: 0; font-size: 16.5px; line-height: 1.7; color: #334155; }
html.v1 .ed-prose blockquote { font-family: inherit; font-size: 15.5px; line-height: 1.65; font-style: italic; letter-spacing: 0; }
html.v1 .ed-lead a { color: var(--ed-primary-2); font-weight: 700; }

/* picture + text rows */
html.v1 .ed-feat { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: start; }
html.v1 .ed-feat + .ed-feat { margin-top: 22px; padding-top: 22px; border-top: 1px dashed var(--ed-line); }
html.v1 .ed-feat.is-rev { grid-template-columns: minmax(0, 1fr) 220px; }
html.v1 .ed-feat.is-rev .ed-feat-img { order: 2; }
html.v1 .ed-feat-img { margin: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--ed-soft); box-shadow: var(--ed-shadow); }
html.v1 .ed-feat-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
html.v1 .ed-feat:hover .ed-feat-img img { transform: scale(1.04); }
html.v1 .ed-feat h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; line-height: 1.35; color: var(--ed-ink); }
html.v1 .ed-feat .ed-prose { font-size: 14.5px; }

/* check lists */
html.v1 .ed-checks { list-style: none; margin: 0 0 1em; padding: 0; display: grid; gap: 9px; }
html.v1 .ed-checks:last-child { margin-bottom: 0; }
html.v1 .ed-checks.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 22px; }
html.v1 .ed-checks li { position: relative; margin: 0; padding-left: 31px; font-size: 14.5px; line-height: 1.55; color: #334155; }
    html.v1 .ed-checks li::before {
        content: "\f00c";
        font-family: "Font Awesome 5 Free";
        font-weight: 700;
        position: absolute;
        left: 0;
        top: 1px;
        width: 21px;
        height: 21px;
        border-radius: 7px;
        display: grid;
        place-items: center;
        font-size: 10px;
        color: #3c8dbc; /*background: linear-gradient(135deg, var(--ed-primary-2), var(--ed-accent));*/
    }

/* tag list */
html.v1 .ed-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1em; padding: 0; list-style: none; }
html.v1 .ed-pills li { margin: 0; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 700; color: var(--ed-ink); background: var(--ed-soft); border: 1px solid var(--ed-line); }
html.v1 .ed-pills li .fa { color: var(--ed-primary-2); }

/* card grids */
html.v1 .ed-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
html.v1 .ed-grid.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
html.v1 .ed-grid.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* service card: picture on top */
html.v1 .ed-svc { display: flex; flex-direction: column; border-radius: var(--ed-radius); overflow: hidden; background: #fff; border: 1px solid var(--ed-line); box-shadow: var(--ed-shadow); transition: transform .25s ease, box-shadow .25s ease; animation: ed-rise .5s ease both; }
html.v1 .ed-svc:hover { transform: translateY(-3px); box-shadow: var(--ed-shadow-lg); }
html.v1 .ed-svc-img { position: relative; margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ed-soft); }
html.v1 .ed-svc-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
html.v1 .ed-svc:hover .ed-svc-img img { transform: scale(1.05); }
html.v1 .ed-svc-img .ed-svc-ico { position: absolute; left: 16px; bottom: -20px; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 17px; color: #fff; background: linear-gradient(135deg, var(--ed-primary-2), var(--ed-primary)); box-shadow: 0 10px 18px -8px rgba(14, 65, 111, .9); border: 3px solid #fff; }
html.v1 .ed-svc-body { padding: 30px 20px 20px; flex: 1 1 auto; }
html.v1 .ed-svc-body h3 { margin: 0 0 12px; font-size: 17px; font-weight: 700; line-height: 1.35; color: var(--ed-ink); }
html.v1 .ed-svc-body .ed-checks li { font-size: 14px; }
html.v1 .ed-svc-note { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; font-size: 12.5px; line-height: 1.5; color: #7c4a03; background: #fffbeb; border: 1px solid #fde68a; }

/* call-out */
html.v1 .ed-note { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: #eff6ff; border: 1px solid #bfdbfe; color: #1e3a5f; font-size: 14.5px; line-height: 1.6; }
html.v1 .ed-note > .fa { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--ed-primary-2), var(--ed-primary)); }
html.v1 .ed-note b { color: var(--ed-ink); }
html.v1 .ed-note a { color: var(--ed-primary-2); font-weight: 700; }
html.v1 .ed-note p { margin: 0; }
html.v1 .ed-note p + p { margin-top: 6px; }
html.v1 .ed-note.is-warn { background: #fffbeb; border-color: #fde68a; color: #5b3a06; }
html.v1 .ed-note.is-warn > .fa { background: linear-gradient(135deg, #f59e0b, #d97706); }

/* key figures */
html.v1 .ed-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
html.v1 .ed-fact { position: relative; padding: 18px 18px 16px; border-radius: var(--ed-radius); background: #fff; border: 1px solid var(--ed-line); box-shadow: var(--ed-shadow); overflow: hidden; animation: ed-rise .5s ease both; }
html.v1 .ed-fact::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--ed-primary-2), var(--ed-accent)); }
html.v1 .ed-fact b { display: block; font-size: 30px; font-weight: 700; line-height: 1.1; color: var(--ed-primary); letter-spacing: -.02em; }
html.v1 .ed-fact b small { font-size: 14px; font-weight: 700; color: var(--ed-muted); letter-spacing: 0; }
html.v1 .ed-fact span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.45; color: var(--ed-muted); }

/* FAQ */
html.v1 .ed-faq { display: grid; gap: 10px; }
html.v1 .ed-faq details { border: 1px solid var(--ed-line); border-radius: 16px; background: #fff; box-shadow: var(--ed-shadow); overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease; }
html.v1 .ed-faq details[open] { border-color: #c7d7ea; box-shadow: var(--ed-shadow-lg); }
html.v1 .ed-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 15px 18px; font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--ed-ink); }
html.v1 .ed-faq summary::-webkit-details-marker { display: none; }
html.v1 .ed-faq summary:hover { color: var(--ed-primary-2); }
html.v1 .ed-faq summary:focus-visible { outline: 3px solid rgba(29, 111, 209, .3); outline-offset: -3px; }
html.v1 .ed-faq-n { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--ed-primary-2); background: rgba(29, 111, 209, .1); transition: all .2s ease; }
html.v1 .ed-faq details[open] .ed-faq-n { color: #fff; background: linear-gradient(135deg, var(--ed-primary-2), var(--ed-primary)); }
html.v1 .ed-faq-q { flex: 1 1 auto; min-width: 0; }
html.v1 .ed-faq-chev { flex: 0 0 auto; color: #94a3b8; transition: transform .25s ease; }
html.v1 .ed-faq details[open] .ed-faq-chev { transform: rotate(180deg); color: var(--ed-primary-2); }
html.v1 .ed-faq-a { padding: 0 20px 18px 64px; font-size: 14.5px; line-height: 1.7; color: #334155; animation: ed-rise .3s ease both; }
html.v1 .ed-faq-a p { margin: 0 0 .7em; }
html.v1 .ed-faq-a p:last-child { margin-bottom: 0; }
html.v1 .ed-faq-tools { display: flex; justify-content: flex-end; gap: 8px; margin: 0 0 10px; }

/* numbered clauses (terms & conditions) */
html.v1 .ed-clauses-sec + .ed-clauses-sec { margin-top: 20px; padding-top: 20px; border-top: 1px dashed var(--ed-line); }
html.v1 .ed-clauses-sec h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-size: 16.5px; font-weight: 700; color: var(--ed-ink); }
html.v1 .ed-clauses-sec h3 .ed-clause-no { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-size: 13px; color: #fff; background: linear-gradient(135deg, var(--ed-primary-2), var(--ed-primary)); }
html.v1 .ed-clauses { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
html.v1 .ed-clauses li { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 10px; margin: 0; font-size: 14.5px; line-height: 1.65; color: #334155; }
html.v1 .ed-clauses li > b { font-size: 12.5px; font-weight: 700; color: var(--ed-primary-2); padding-top: 2px; }

/* member associations */
html.v1 .ed-org { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--ed-radius); background: #fff; border: 1px solid var(--ed-line); box-shadow: var(--ed-shadow); color: inherit !important; text-decoration: none !important; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; animation: ed-rise .5s ease both; }
html.v1 a.ed-org:hover { transform: translateY(-3px); box-shadow: var(--ed-shadow-lg); border-color: #d3deeb; }
html.v1 .ed-org-badge { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; padding: 0 4px; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; text-align: center; line-height: 1.1; color: var(--ed-primary); background: linear-gradient(135deg, #e8f1fd, #e6f8fb); border: 1px solid #d6e6f8; overflow-wrap: anywhere; }
html.v1 .ed-org-txt { flex: 1 1 auto; min-width: 0; }
html.v1 .ed-org-txt b { display: block; font-size: 14.5px; font-weight: 700; line-height: 1.35; color: var(--ed-ink); }
html.v1 .ed-org-txt small { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 12px; font-weight: 700; color: var(--ed-muted); }
html.v1 a.ed-org:hover .ed-org-txt small { color: var(--ed-primary-2); }
html.v1 .ed-org-tag { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #475569; background: var(--ed-soft); border: 1px solid var(--ed-line); }

/* timeline (history) */
html.v1 .ed-timeline { position: relative; list-style: none; margin: 0; padding: 0 0 0 28px; }
html.v1 .ed-timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, var(--ed-primary-2), var(--ed-accent)); }
html.v1 .ed-timeline > li { position: relative; margin: 0; padding: 0 0 20px; }
html.v1 .ed-timeline > li:last-child { padding-bottom: 0; }
html.v1 .ed-timeline > li::before { content: ""; position: absolute; left: -26px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--ed-primary-2); box-shadow: 0 0 0 4px rgba(29, 111, 209, .12); }
html.v1 .ed-timeline > li.is-key::before { background: var(--ed-primary-2); }
html.v1 .ed-tl-year { display: inline-block; margin-bottom: 4px; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--ed-primary-2); background: rgba(29, 111, 209, .1); }
html.v1 .ed-timeline h4 { margin: 2px 0 4px; font-size: 15.5px; font-weight: 700; color: var(--ed-ink); }
html.v1 .ed-timeline p { margin: 0; font-size: 14.5px; line-height: 1.65; color: #334155; }

/* CPD activity tables */
html.v1 .ed-table-wrap { overflow-x: auto; border: 1px solid var(--ed-line); border-radius: 16px; -webkit-overflow-scrolling: touch; }
html.v1 .ed-table { width: 100%; min-width: 640px; margin: 0; border-collapse: separate; border-spacing: 0; font-size: 14px; line-height: 1.55; color: #334155; background: #fff; }
html.v1 .ed-table th { position: sticky; top: 0; padding: 12px 14px; text-align: left; vertical-align: bottom; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ed-muted); background: var(--ed-soft); border-bottom: 1px solid var(--ed-line); }
html.v1 .ed-table td { padding: 13px 14px; vertical-align: top; border-top: 1px solid var(--ed-line); }
html.v1 .ed-table tbody tr:first-child td { border-top: 0; }
html.v1 .ed-table tbody tr:hover td { background: #fbfcfe; }
html.v1 .ed-table td p { margin: 0 0 .4em; }
html.v1 .ed-table td p:last-child { margin-bottom: 0; }
html.v1 .ed-table tfoot td { font-weight: 700; color: var(--ed-ink); background: var(--ed-soft); }
html.v1 .ed-code { display: inline-grid; place-items: center; min-width: 40px; height: 30px; padding: 0 8px; border-radius: 9px; font-size: 13px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--ed-primary-2), var(--ed-primary)); }
html.v1 .ed-num { font-weight: 700; color: var(--ed-ink); white-space: nowrap; }
html.v1 .ed-table-cap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin: 0 0 12px; font-size: 13px; color: var(--ed-muted); }
html.v1 .ed-table-cap b { color: var(--ed-ink); }
html.v1 .ed-meta { margin: 12px 0 0; font-size: 12.5px; color: var(--ed-muted); }
html.v1 .ed-meta a { color: var(--ed-primary-2); font-weight: 700; }
html.v1 ol.ed-notes { margin: 0; padding-left: 1.4em; font-size: 14px; line-height: 1.65; color: #334155; }
html.v1 ol.ed-notes li { margin: .45em 0; padding-left: 4px; }
html.v1 ol.ed-notes li::marker { font-weight: 700; color: var(--ed-primary-2); }

@media (max-width: 991px) {
    html.v1 .ed-grid.is-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    html.v1 .ed-feat, html.v1 .ed-feat.is-rev { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    html.v1 .ed-feat.is-rev .ed-feat-img { order: 0; }
    html.v1 .ed-feat-img { aspect-ratio: 16 / 9; }
    html.v1 .ed-checks.is-2, html.v1 .ed-grid.is-2, html.v1 .ed-grid.is-3 { grid-template-columns: minmax(0, 1fr); }
    html.v1 .ed-faq-a { padding: 0 16px 16px; }
    html.v1 .ed-faq summary { padding: 14px; gap: 12px; font-size: 14.5px; }
    html.v1 .ed-clauses li { grid-template-columns: 36px minmax(0, 1fr); }
    html.v1 .ed-fact b { font-size: 26px; }
    html.v1 .ed-lead { font-size: 15.5px; }
    html.v1 .ed-note { flex-wrap: wrap; }
    html.v1 .ed-note > p { flex: 1 1 calc(100% - 48px) !important; }
    /* tables become stacked cards */
    html.v1 .ed-table-wrap { overflow: visible; border: 0; border-radius: 0; }
    html.v1 .ed-table { min-width: 0; background: transparent; }
    html.v1 .ed-table thead { display: none; }
    html.v1 .ed-table, html.v1 .ed-table tbody, html.v1 .ed-table tfoot, html.v1 .ed-table tr, html.v1 .ed-table td { display: block; width: 100%; }
    html.v1 .ed-table tbody tr { margin: 0 0 12px; padding: 12px 14px; border: 1px solid var(--ed-line); border-radius: 14px; background: #fff; }
    html.v1 .ed-table tbody tr:hover td { background: transparent; }
    html.v1 .ed-table td { padding: 6px 0; border-top: 1px dashed var(--ed-line); }
    html.v1 .ed-table tbody tr td:first-child { border-top: 0; padding-top: 0; }
    html.v1 .ed-table td[data-label]:not(:first-child)::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ed-muted); }
    html.v1 .ed-table tfoot tr { padding: 12px 14px; border-radius: 14px; background: var(--ed-soft); }
    html.v1 .ed-table tfoot td { padding: 0; background: transparent; text-align: left !important; display: inline; }
    html.v1 .ed-table tfoot td:empty { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    html.v1 .ed-svc, html.v1 .ed-org, html.v1 .ed-fact, html.v1 .ed-feat-img img, html.v1 .ed-svc-img img { animation: none !important; transition: none !important; }
}
html.v1 .ed-svc-sub { margin: 14px 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ed-primary); }
html.v1 .ed-svc-sub:first-of-type { margin-top: 0; }
html.v1 .ed-svc-lead { margin: 0 0 10px; font-size: 14px; color: #334155; }
html.v1 .ed-checks ol.ed-notes li { padding-left: 4px; }
html.v1 .ed-checks ol.ed-notes li::before { content: none; }

/* ---------- Pages converted with their original markup kept (.ed-legacy) ---------- */
html.v1 .ed-legacy .row { margin-left: 0; margin-right: 0; }
html.v1 .ed-legacy > .row > [class*="col-"]:only-child, html.v1 .ed-legacy > article.row > [class*="col-"]:only-child { padding-left: 0; padding-right: 0; }
html.v1 .ed-legacy p.lead { font-size: 16px; line-height: 1.7; color: #334155; }
html.v1 .ed-legacy img { max-width: 100%; height: auto; }
html.v1 .ed-legacy .btn-primary, html.v1 .ed-legacy .btn-info { border: 0; border-radius: 10px; background: var(--ed-primary-2); color: #fff !important; font-weight: 700; text-decoration: none; }
html.v1 .ed-legacy .btn-primary:hover, html.v1 .ed-legacy .btn-info:hover { background: var(--ed-primary); }
html.v1 .ed-legacy .btn-default { border-radius: 10px; }
html.v1 .ed-legacy .table { border-radius: 12px; }
html.v1 .ed-legacy .well { border: 1px solid var(--ed-line); border-radius: 14px; background: var(--ed-soft); box-shadow: none; }
html.v1 .ed-legacy .panel { border-color: var(--ed-line); border-radius: 14px; overflow: hidden; box-shadow: none; }
html.v1 .ed-legacy .panel-heading { background: var(--ed-soft) !important; color: var(--ed-ink) !important; border-color: var(--ed-line) !important; font-weight: 700; }
html.v1 .ed-legacy .nav-tabs > li.active > a { color: var(--ed-primary-2); font-weight: 700; }
html.v1 .ed-legacy .form-control { border-radius: 10px; border: 1.5px solid #dbe3ee; box-shadow: none; }
html.v1 .ed-legacy .form-control:focus { border-color: var(--ed-primary-2); box-shadow: 0 0 0 3px rgba(29, 111, 209, .12); }
html.v1 .ed-legacy .dataTables_wrapper { overflow-x: auto; }

/* tables converted to .ed-table inside an .ed-prose card: no double border, no forced width */
html.v1 .ed-prose .ed-table-wrap { margin: 0 0 1.2em; }
html.v1 .ed-prose .ed-table-wrap > table.ed-table { margin: 0; border: 0; border-radius: 0; overflow: visible; }
html.v1 .ed-legacy .ed-table { min-width: 0; }
html.v1 .ed-prose .ed-table th { background: var(--ed-soft); }
