{"id":738,"date":"2025-12-25T10:24:04","date_gmt":"2025-12-25T10:24:04","guid":{"rendered":"https:\/\/fhss.sjp.ac.lk\/orientation\/?page_id=738"},"modified":"2026-11-19T04:38:49","modified_gmt":"2026-11-19T04:38:49","slug":"opportunities-for-students","status":"publish","type":"page","link":"https:\/\/fhss.sjp.ac.lk\/orientation\/opportunities-for-students\/","title":{"rendered":"Opportunities for students"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"738\" class=\"elementor elementor-738\">\n\t\t\t\t<div class=\"elementor-element elementor-element-422b1e2 e-flex e-con-boxed e-con e-parent\" data-id=\"422b1e2\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-299a4e6 elementor-widget elementor-widget-html\" data-id=\"299a4e6\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<link href=\"https:\/\/fonts.googleapis.com\/css2?family=Yeseva+One&family=Archivo:wght@400;500;600;700&display=swap\" rel=\"stylesheet\">\r\n\r\n<style>\r\nhtml, body { overflow-x: hidden; overflow-x: clip; }\r\n\r\n.sc, .sc * { box-sizing: border-box; }\r\n.sc {\r\n  --maroon:#7a0c1a; --maroon-dark:#4f0710; --crimson:#9b1b2c;\r\n  --gold:#f5b82e; --ink:#2a1a1c; --muted:#6b5a5c; --line:#eadcdc; --soft:#fbf6f4;\r\n  --title-font:'Yeseva One', Georgia, serif;\r\n  --text-font:'Archivo', system-ui, sans-serif;\r\n  position: relative;\r\n  width: 100vw; max-width: 100vw;\r\n  margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);\r\n  overflow: hidden; overflow: clip;\r\n  padding: 70px 20px 90px;\r\n  font-family: var(--text-font); color: var(--ink);\r\n  background: linear-gradient(180deg, #fff 0%, var(--soft) 100%);\r\n}\r\n.sc-wrap { max-width: 1200px; margin: 0 auto; }\r\n\r\n\/* ---------- header ---------- *\/\r\n.sc-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }\r\n.sc-kicker { display: inline-block; margin: 0 0 12px; padding: 6px 14px; border-radius: 999px; font-family: var(--text-font); font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--maroon); background: rgba(245,184,46,.22); }\r\n.sc-title { margin: 0 0 10px; font-family: var(--title-font); font-weight: 400; font-size: clamp(28px, 4vw, 42px); line-height: 1.15; color: var(--maroon); }\r\n.sc-sub { margin: 0; max-width: 560px; font-family: var(--text-font); font-size: 15.5px; line-height: 1.7; color: var(--muted); }\r\n\r\n.sc-search { position: relative; width: 100%; max-width: 340px; }\r\n.sc-search input {\r\n  width: 100%; padding: 15px 20px 15px 50px; font: 500 15px 'Archivo', system-ui, sans-serif; color: var(--ink);\r\n  border: 1px solid var(--line); border-radius: 999px; background: #fff; outline: none;\r\n  box-shadow: 0 6px 18px rgba(122,12,26,.06); transition: border-color .3s, box-shadow .3s;\r\n}\r\n.sc-search input:focus { border-color: var(--maroon); box-shadow: 0 0 0 4px rgba(122,12,26,.10); }\r\n.sc-search svg { position: absolute; left: 19px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); stroke: var(--maroon); fill: none; stroke-width: 2; }\r\n\r\n\/* ---------- filter tabs ---------- *\/\r\n.sc-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 46px; }\r\n.sc-tab {\r\n  padding: 10px 20px; border-radius: 999px; cursor: pointer; font: 600 14px 'Archivo', system-ui, sans-serif;\r\n  color: var(--maroon); background: #fff; border: 1.5px solid var(--line);\r\n  transition: background .3s, color .3s, border-color .3s, transform .3s;\r\n}\r\n.sc-tab:hover { border-color: var(--maroon); transform: translateY(-2px); }\r\n.sc-tab.on { background: var(--maroon); color: #fff; border-color: var(--maroon); }\r\n.sc-tab:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }\r\n.sc-tab b { margin-left: 6px; padding: 2px 8px; border-radius: 999px; font-size: 12px; background: rgba(122,12,26,.08); }\r\n.sc-tab.on b { background: rgba(255,255,255,.22); }\r\n\r\n\/* ---------- group section ---------- *\/\r\n.sc-group { margin: 0 0 64px; }\r\n.sc-group:last-of-type { margin-bottom: 0; }\r\n.sc-gh { display: flex; align-items: center; gap: 16px; margin: 0 0 28px; }\r\n.sc-gh::before { content: \"\"; flex: none; width: 8px; height: 34px; border-radius: 6px; background: linear-gradient(180deg, var(--gold), var(--maroon)); }\r\n.sc-gh h3 { margin: 0; font-family: var(--title-font); font-size: clamp(20px, 2.6vw, 27px); line-height: 1.25; font-weight: 400; color: var(--maroon); }\r\n.sc-gh::after { content: \"\"; flex: 1; height: 1px; background: var(--line); }\r\n\r\n\/* ---------- grid: cards in a row stretch to the same height ---------- *\/\r\n.sc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }\r\n@media (max-width: 1024px) { .sc-grid { grid-template-columns: repeat(2, 1fr); } }\r\n@media (max-width: 640px)  { .sc-grid { grid-template-columns: 1fr; gap: 20px; } }\r\n\r\n\/* ---------- card ---------- *\/\r\n.sc-card {\r\n  position: relative; display: flex; flex-direction: column; overflow: hidden;\r\n  height: 100%;\r\n  padding: 26px 24px 22px; background: #fff; border: 1px solid var(--line); border-radius: 24px;\r\n  box-shadow: 0 8px 24px rgba(42,26,28,.05);\r\n  opacity: 0; transform: translateY(46px) scale(.97);\r\n  transition: opacity .8s ease, transform .6s cubic-bezier(.2,.8,.2,1), box-shadow .4s, border-color .3s;\r\n}\r\n.sc-card::before { content: \"\"; position: absolute; left: 0; top: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--maroon), var(--crimson) 60%, var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.2,.8,.2,1); }\r\n.sc-card.show { opacity: 1; transform: none; }\r\n.sc-card.show:hover { transform: translateY(-10px); border-color: rgba(122,12,26,.4); box-shadow: 0 28px 54px rgba(122,12,26,.18); }\r\n.sc-card:hover::before { transform: scaleX(1); }\r\n\r\n\/* head: fixed minimum height so short and long names take the same space *\/\r\n.sc-head { display: flex; align-items: center; gap: 16px; min-height: 110px; margin: 0 0 18px; }\r\n\r\n\/* logo tile: white, logo fills the full tile *\/\r\n.sc-logo {\r\n  position: relative; flex: none; width: 68px; height: 68px; border-radius: 20px; overflow: hidden;\r\n  display: flex; align-items: center; justify-content: center;\r\n  font: 400 22px 'Yeseva One', Georgia, serif; letter-spacing: .02em; color: var(--maroon);\r\n  background: #fff; border: 1px solid var(--line);\r\n  box-shadow: 0 10px 22px rgba(122,12,26,.12);\r\n  transition: transform .5s cubic-bezier(.2,.8,.2,1);\r\n}\r\n.sc-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; z-index: 2; }\r\n.sc-card:hover .sc-logo { transform: rotate(-6deg) scale(1.07); }\r\n\r\n.sc-name { margin: 0 0 8px; font-family: var(--text-font); font-size: 19px; line-height: 1.3; font-weight: 600; color: var(--maroon); }\r\n.sc-tag { display: inline-block; padding: 4px 11px; border-radius: 999px; font-family: var(--text-font); font-size: 12px; font-weight: 600; color: var(--maroon); background: rgba(245,184,46,.22); border: 1px solid rgba(245,184,46,.7); }\r\n\r\n\/* body: fills the middle of the card and pushes the buttons to the bottom *\/\r\n.sc-body { display: flex; flex-direction: column; flex: 1 1 auto; margin: 0 0 22px; }\r\n.sc-desc {\r\n  position: relative; margin: 0; font-family: var(--text-font); font-size: 14.5px; line-height: 1.75; color: var(--muted);\r\n  min-height: calc(1.75em * 5);   \/* always the height of 5 lines *\/\r\n  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;\r\n}\r\n.sc-card.open .sc-desc { -webkit-line-clamp: unset; display: block; }\r\n\r\n\/* Read more: plain text, no highlight *\/\r\n.sc .sc-more,\r\n.sc .sc-more:hover,\r\n.sc .sc-more:focus,\r\n.sc .sc-more:active {\r\n  align-self: flex-start; margin: 10px 0 0; cursor: pointer;\r\n  font: 500 13.5px 'Archivo', system-ui, sans-serif !important;\r\n  padding: 0 !important;\r\n  border: 0 !important;\r\n  background: none !important;\r\n  box-shadow: none !important;\r\n  outline: none !important;\r\n  color: var(--muted) !important;\r\n  text-decoration: none !important;\r\n}\r\n.sc .sc-more:focus-visible { outline: 2px solid var(--line) !important; outline-offset: 3px; border-radius: 4px; }\r\n\r\n.sc-foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 0; padding-top: 18px; border-top: 1px dashed var(--line); }\r\n.sc-link {\r\n  display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px 9px 10px; border-radius: 999px; text-decoration: none;\r\n  font: 600 13.5px 'Archivo', system-ui, sans-serif; color: var(--maroon); background: transparent; border: 1.5px solid var(--maroon);\r\n  transition: background .35s, color .35s;\r\n}\r\n.sc-link .ic { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--maroon); transition: background .35s; }\r\n.sc-link .ic svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s; }\r\n.sc-link .ic svg.fill { fill: #fff; stroke: none; transition: fill .35s; }\r\n.sc-link:hover, .sc-link:focus-visible { background: var(--maroon); color: #fff; }\r\n.sc-link:hover .ic, .sc-link:focus-visible .ic { background: var(--gold); }\r\n.sc-link:hover .ic svg, .sc-link:focus-visible .ic svg { stroke: var(--maroon-dark); }\r\n.sc-link:hover .ic svg.fill, .sc-link:focus-visible .ic svg.fill { fill: var(--maroon-dark); stroke: none; }\r\n.sc-link:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }\r\n\r\n.sc-empty { display: none; text-align: center; padding: 50px 0; font-family: var(--text-font); color: var(--muted); }\r\n\r\n@media (max-width: 640px) {\r\n  .sc { padding: 48px 16px 64px; }\r\n  .sc-top { margin-bottom: 22px; }\r\n  .sc-search { max-width: none; }\r\n  .sc-tabs { margin-bottom: 34px; }\r\n  .sc-group { margin-bottom: 46px; }\r\n  .sc-card { padding: 22px 18px 18px; }\r\n  .sc-head { min-height: 0; }   \/* one card per row on phones, so no need to reserve space *\/\r\n}\r\n@media (prefers-reduced-motion: reduce) {\r\n  .sc *, .sc *::before, .sc *::after { transition: none !important; animation: none !important; }\r\n  .sc-card { opacity: 1; transform: none; }\r\n}\r\n<\/style>\r\n\r\n<section class=\"sc\" id=\"scSection\">\r\n  <div class=\"sc-wrap\">\r\n\r\n    <div class=\"sc-top\">\r\n      <div>\r\n        <span class=\"sc-kicker\">Opportunities for Students<\/span>\r\n        <h2 class=\"sc-title\">Student Societies &amp; Units<\/h2>\r\n        <p class=\"sc-sub\">Join a club, build your skills and meet people beyond your lecture hall. Find the group that fits you.<\/p>\r\n      <\/div>\r\n      <div class=\"sc-search\">\r\n        <svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><circle cx=\"11\" cy=\"11\" r=\"7\"><\/circle><path d=\"M20 20l-4-4\"><\/path><\/svg>\r\n        <input id=\"scSearch\" type=\"search\" placeholder=\"Search club or interest\" aria-label=\"Search societies\">\r\n      <\/div>\r\n    <\/div>\r\n\r\n    <div class=\"sc-tabs\" id=\"scTabs\" role=\"tablist\" aria-label=\"Filter societies\"><\/div>\r\n\r\n    <div id=\"scGroups\"><\/div>\r\n    <p class=\"sc-empty\" id=\"scEmpty\">No society found. Try another word.<\/p>\r\n  <\/div>\r\n<\/section>\r\n\r\n<script>\r\n(function () {\r\n\r\n  \/* ====== EDIT YOUR SOCIETIES HERE ======\r\n     group    = \"faculty\" or \"university\"\r\n     initials = letters shown on the logo tile (used only if the logo fails to load)\r\n     logo     = image URL of the club logo\r\n     links    = type \"web\" (website) or \"fb\" (Facebook) *\/\r\n  var GROUPS = [\r\n    { key: \"faculty\",    title: \"In the Faculty of Humanities and Social Sciences\" },\r\n    { key: \"university\", title: \"In the University of Sri Jayewardenepura\" }\r\n  ];\r\n\r\n  var ITEMS = [\r\n    {\r\n      group: \"faculty\", name: \"Entre Club\", tag: \"Entrepreneurship\", initials: \"EC\",\r\n      logo: \"https:\/\/fhss.sjp.ac.lk\/orientation\/wp-content\/uploads\/sites\/34\/2026\/11\/images-1.jpg\",\r\n      desc: \"Students who are looking to get a business idea off the ground can now turn to The Entrepreneurship Development Unit for a helping hand. The Unit offers students support to build up their simple concept into a prosperous business plan and product development until commercialization. Workshops, competitions, one-to-one mentoring and networking opportunities, as well as informative events such as seminars with successful entrepreneurs and startup companies, will be supported to create and develop the entrepreneurship culture at the Faculty of Humanities and Social Sciences of the University of Sri Jayewardenepura.\",\r\n      links: [ { type: \"web\", label: \"Website\", url: \"https:\/\/entreclub.sjp.ac.lk\/\" }, { type: \"fb\", label: \"Facebook\", url: \"https:\/\/www.facebook.com\/entreclubpage\/\" } ]\r\n    },\r\n    {\r\n      group: \"faculty\", name: \"Green Hub\", tag: \"Environment\", initials: \"GH\",\r\n      logo: \"https:\/\/fhss.sjp.ac.lk\/orientation\/wp-content\/uploads\/sites\/34\/2026\/11\/GreenHubFinale.jpg\",\r\n      desc: \"Global warming, depletion of natural resources, increased carbon emission, pollution as well as corrupt and damaging human activities are the major concerns across the world. One of the ways to save our endangered environment is to \\u201CGO GREEN\\u201D. The Green Hub is an institutional body established for ensuring a clean, green and innovative teaching and learning environment at the Faculty of Humanities and Social Sciences, emphasizing an eco-sustainable environment as a key factor. The initiative to establish the Green Hub was taken on the concept of the Dean of the Faculty, and it is the first attempt by the Faculty to start such an institutional body within the university premises.\",\r\n      links: [ { type: \"web\", label: \"Website\", url: \"https:\/\/fhss.sjp.ac.lk\/greenhub\/\" }, { type: \"fb\", label: \"Facebook\", url: \"https:\/\/www.facebook.com\/GreenHUB.FHSS\/\" } ]\r\n    },\r\n    {\r\n      group: \"university\", name: \"J\\u2019Pura Flames\", tag: \"Sports\", initials: \"JF\",\r\n      logo: \"https:\/\/fhss.sjp.ac.lk\/orientation\/wp-content\/uploads\/sites\/34\/2026\/11\/download-9.png\",\r\n      desc: \"This will also update you on major sports activities in other universities and inter-university sports activities as well. If you are willing to provide information about any sports activity related to the University of Sri Jayewardenepura or any other university, feel free to contact us. We will be covering any event which has the whole university as its audience. In sports activities it should be at least a faculty.\",\r\n      links: [ { type: \"web\", label: \"Website\", url: \"https:\/\/jpuraflames.com\/\" }, { type: \"fb\", label: \"Facebook\", url: \"https:\/\/www.facebook.com\/Jpuraflames\/\" } ]\r\n    },\r\n    {\r\n      group: \"university\", name: \"AIESEC \\u2013 USJ\", tag: \"Leadership\", initials: \"AI\",\r\n      logo: \"https:\/\/fhss.sjp.ac.lk\/orientation\/wp-content\/uploads\/sites\/34\/2026\/11\/download-1-1.png\",\r\n      desc: \"AIESEC is a global, non-political, independent, not-for-profit organization run by students and recent graduates of institutions of higher education. Its members are interested in world issues, leadership and management. AIESEC does not discriminate on the basis of race, color, gender, sexual orientation, creed, religion, national or social origin. AIESEC identifies itself as the international platform for young people to explore and develop their leadership potential. It is one of the largest student-run organizations in the world. It annually offers 13,000 leadership positions and delivers over 500 conferences to its membership of over 86,000 students. AIESEC also runs an international exchange program that enables over 15,000 students and recent graduates the opportunity to live and intern in another country.\",\r\n      links: [ { type: \"web\", label: \"Website\", url: \"https:\/\/aiesec.lk\/\" }, { type: \"fb\", label: \"Facebook\", url: \"https:\/\/www.facebook.com\/groups\/aiesecjlcsl\/\" } ]\r\n    },\r\n    {\r\n      group: \"university\", name: \"Gavel Club of University of Sri Jayewardenepura\", tag: \"Public Speaking\", initials: \"GC\",\r\n      logo: \"https:\/\/fhss.sjp.ac.lk\/orientation\/wp-content\/uploads\/sites\/34\/2026\/11\/download-2-1.png\",\r\n      desc: \"The Gavel Club of the University of Sri Jayewardenepura is an affiliate of Toastmasters International dedicated to enhancing students\\u2019 communication, public speaking, and leadership skills. The club offers a supportive and structured environment where members can improve their English language proficiency, build confidence, and develop effective speaking and presentation skills. Through regular meetings, prepared speeches, impromptu speaking sessions, and constructive evaluations, the Gavel Club helps students become articulate communicators and confident leaders. It serves as a valuable platform for personal and professional development, preparing students to excel in academic, social, and career-oriented settings.\",\r\n      links: [ { type: \"web\", label: \"Website\", url: \"https:\/\/gavel.sjp.ac.lk\/\" }, { type: \"fb\", label: \"Facebook\", url: \"https:\/\/www.facebook.com\/gavelclubofusjp\" } ]\r\n    },\r\n    {\r\n      group: \"university\", name: \"Career Guidance Unit (CGU)\", tag: \"Careers\", initials: \"CG\",\r\n      logo: \"https:\/\/fhss.sjp.ac.lk\/orientation\/wp-content\/uploads\/sites\/34\/2026\/11\/download-3-1.png\",\r\n      desc: \"At the Career Guidance Unit (CGU) of the University of Sri Jayewardenepura, we are dedicated to empowering students and professionals with the skills, knowledge, and confidence they need to thrive in their careers. Our mission is to bridge the gap between academic learning and professional success by providing comprehensive support, resources, and opportunities that align with the demands of today\\u2019s job market.\",\r\n      links: [ { type: \"web\", label: \"Website\", url: \"https:\/\/career.sjp.ac.lk\/\" }, { type: \"fb\", label: \"Facebook\", url: \"https:\/\/www.facebook.com\/cgu.sjp\/\" } ]\r\n    },\r\n    {\r\n      group: \"university\", name: \"Leo Club of University of Sri Jayewardenepura\", tag: \"Community Service\", initials: \"LC\",\r\n      logo: \"https:\/\/fhss.sjp.ac.lk\/orientation\/wp-content\/uploads\/sites\/34\/2026\/11\/images.jpg\",\r\n      desc: \"The Leo Club of the University of Sri Jayewardenepura is a dynamic youth-led organization committed to community service, leadership development, and social responsibility. Operating under the guidance of Lions Clubs International, the club actively engages students in meaningful social service projects that address community needs, promote volunteerism, and foster compassion. Through initiatives in education, health, environment, and social welfare, the Leo Club empowers students to serve society with passion while developing essential leadership, teamwork, and ethical values. The club provides an excellent platform for undergraduates to grow as responsible citizens and future leaders who contribute positively to society.\",\r\n      links: [ { type: \"web\", label: \"Website\", url: \"https:\/\/jpurad7leos.org.lk\/\" }, { type: \"fb\", label: \"Facebook\", url: \"https:\/\/www.facebook.com\/leoclub.usjp\/\" } ]\r\n    }\r\n  ];\r\n\r\n  var ICONS = {\r\n    web: '<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><circle cx=\"12\" cy=\"12\" r=\"9\"><\/circle><path d=\"M3 12h18M12 3c2.8 3 2.8 15 0 18M12 3c-2.8 3-2.8 15 0 18\"><\/path><\/svg>',\r\n    fb:  '<svg class=\"fill\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path d=\"M13.5 21v-7.6h2.6l.4-3h-3V8.5c0-.9.3-1.5 1.5-1.5h1.6V4.3c-.3 0-1.2-.1-2.3-.1-2.3 0-3.9 1.4-3.9 4v2.2H7.8v3h2.6V21h3.1z\"\/><\/svg>'\r\n  };\r\n\r\n  var groupsEl = document.getElementById('scGroups');\r\n  var tabsEl   = document.getElementById('scTabs');\r\n  var emptyEl  = document.getElementById('scEmpty');\r\n  var searchEl = document.getElementById('scSearch');\r\n  var active = 'all', query = '';\r\n\r\n  function esc(s) { return String(s).replace(\/&\/g, '&amp;').replace(\/<\/g, '&lt;').replace(\/>\/g, '&gt;').replace(\/\"\/g, '&quot;'); }\r\n\r\n  \/* ---------- build sections + cards ---------- *\/\r\n  GROUPS.forEach(function (g) {\r\n    var list = ITEMS.filter(function (i) { return i.group === g.key; });\r\n    if (!list.length) return;\r\n\r\n    var sec = document.createElement('section');\r\n    sec.className = 'sc-group';\r\n    sec.setAttribute('data-group', g.key);\r\n    sec.innerHTML = '<div class=\"sc-gh\"><h3>' + esc(g.title) + '<\/h3><\/div><div class=\"sc-grid\"><\/div>';\r\n    var grid = sec.querySelector('.sc-grid');\r\n\r\n    list.forEach(function (it) {\r\n      var card = document.createElement('article');\r\n      card.className = 'sc-card';\r\n      card.setAttribute('data-search', (it.name + ' ' + it.tag + ' ' + it.desc).toLowerCase());\r\n\r\n      var logo = it.logo\r\n        ? '<img decoding=\"async\" loading=\"lazy\" alt=\"' + esc(it.name) + ' logo\" src=\"' + esc(it.logo) + '\" onerror=\"this.remove()\">'\r\n        : '';\r\n      var links = it.links.map(function (l) {\r\n        return '<a class=\"sc-link\" href=\"' + esc(l.url) + '\" target=\"_blank\" rel=\"noopener\">' +\r\n               '<span class=\"ic\">' + (ICONS[l.type] || ICONS.web) + '<\/span>' + esc(l.label) + '<\/a>';\r\n      }).join('');\r\n      var long = it.desc.length > 230;\r\n\r\n      card.innerHTML =\r\n        '<div class=\"sc-head\">' +\r\n          '<div class=\"sc-logo\">' + esc(it.initials) + logo + '<\/div>' +\r\n          '<div><h4 class=\"sc-name\">' + esc(it.name) + '<\/h4><span class=\"sc-tag\">' + esc(it.tag) + '<\/span><\/div>' +\r\n        '<\/div>' +\r\n        '<div class=\"sc-body\">' +\r\n          '<p class=\"sc-desc\">' + esc(it.desc) + '<\/p>' +\r\n          (long ? '<button class=\"sc-more\" type=\"button\" aria-expanded=\"false\">Read more<\/button>' : '') +\r\n        '<\/div>' +\r\n        '<div class=\"sc-foot\">' + links + '<\/div>';\r\n\r\n      grid.appendChild(card);\r\n    });\r\n    groupsEl.appendChild(sec);\r\n  });\r\n\r\n  \/* ---------- tabs ---------- *\/\r\n  function makeTab(key, label, count) {\r\n    var b = document.createElement('button');\r\n    b.type = 'button'; b.className = 'sc-tab' + (key === 'all' ? ' on' : '');\r\n    b.setAttribute('data-key', key); b.setAttribute('role', 'tab');\r\n    b.setAttribute('aria-selected', key === 'all' ? 'true' : 'false');\r\n    b.innerHTML = esc(label) + '<b>' + count + '<\/b>';\r\n    tabsEl.appendChild(b);\r\n  }\r\n  makeTab('all', 'All', ITEMS.length);\r\n  GROUPS.forEach(function (g) {\r\n    var n = ITEMS.filter(function (i) { return i.group === g.key; }).length;\r\n    if (n) makeTab(g.key, g.key === 'faculty' ? 'In the Faculty' : 'In the University', n);\r\n  });\r\n\r\n  tabsEl.addEventListener('click', function (e) {\r\n    var b = e.target.closest('.sc-tab'); if (!b) return;\r\n    active = b.getAttribute('data-key');\r\n    Array.prototype.forEach.call(tabsEl.children, function (t) {\r\n      var on = t === b; t.classList.toggle('on', on); t.setAttribute('aria-selected', on ? 'true' : 'false');\r\n    });\r\n    apply();\r\n  });\r\n\r\n  \/* ---------- read more ---------- *\/\r\n  groupsEl.addEventListener('click', function (e) {\r\n    var b = e.target.closest('.sc-more'); if (!b) return;\r\n    var card = b.closest('.sc-card');\r\n    var open = card.classList.toggle('open');\r\n    b.textContent = open ? 'Show less' : 'Read more';\r\n    b.setAttribute('aria-expanded', open ? 'true' : 'false');\r\n  });\r\n\r\n  \/* ---------- filter + search ---------- *\/\r\n  function apply() {\r\n    var shown = 0;\r\n    Array.prototype.forEach.call(groupsEl.querySelectorAll('.sc-group'), function (sec) {\r\n      var inGroup = active === 'all' || sec.getAttribute('data-group') === active;\r\n      var count = 0;\r\n      Array.prototype.forEach.call(sec.querySelectorAll('.sc-card'), function (c) {\r\n        var ok = inGroup && (!query || c.getAttribute('data-search').indexOf(query) > -1);\r\n        c.style.display = ok ? '' : 'none';\r\n        if (ok) { count++; c.classList.add('show'); }\r\n      });\r\n      sec.style.display = count ? '' : 'none';\r\n      shown += count;\r\n    });\r\n    emptyEl.style.display = shown ? 'none' : 'block';\r\n  }\r\n  searchEl.addEventListener('input', function () { query = this.value.trim().toLowerCase(); apply(); });\r\n\r\n  \/* ---------- scroll reveal ---------- *\/\r\n  var cards = Array.prototype.slice.call(groupsEl.querySelectorAll('.sc-card'));\r\n  if ('IntersectionObserver' in window) {\r\n    var io = new IntersectionObserver(function (entries) {\r\n      entries.forEach(function (e) {\r\n        if (!e.isIntersecting) return;\r\n        var i = cards.indexOf(e.target);\r\n        setTimeout(function () { e.target.classList.add('show'); }, (i % 3) * 120);\r\n        io.unobserve(e.target);\r\n      });\r\n    }, { threshold: 0.12 });\r\n    cards.forEach(function (c) { io.observe(c); });\r\n  } else {\r\n    cards.forEach(function (c) { c.classList.add('show'); });\r\n  }\r\n})();\r\n<\/script>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Opportunities for Students Student Societies &amp; Units Join a club, build your skills and meet people beyond your lecture hall. Find the group that fits you. No society found. Try another word.<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-738","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/fhss.sjp.ac.lk\/orientation\/wp-json\/wp\/v2\/pages\/738"}],"collection":[{"href":"https:\/\/fhss.sjp.ac.lk\/orientation\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/fhss.sjp.ac.lk\/orientation\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/fhss.sjp.ac.lk\/orientation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fhss.sjp.ac.lk\/orientation\/wp-json\/wp\/v2\/comments?post=738"}],"version-history":[{"count":19,"href":"https:\/\/fhss.sjp.ac.lk\/orientation\/wp-json\/wp\/v2\/pages\/738\/revisions"}],"predecessor-version":[{"id":1315,"href":"https:\/\/fhss.sjp.ac.lk\/orientation\/wp-json\/wp\/v2\/pages\/738\/revisions\/1315"}],"wp:attachment":[{"href":"https:\/\/fhss.sjp.ac.lk\/orientation\/wp-json\/wp\/v2\/media?parent=738"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}