{"id":1192,"date":"2026-11-30T06:49:59","date_gmt":"2026-11-30T06:49:59","guid":{"rendered":"https:\/\/caprs.lspr.ac.id\/?page_id=1192"},"modified":"2026-11-30T06:51:37","modified_gmt":"2026-11-30T06:51:37","slug":"news","status":"publish","type":"page","link":"https:\/\/caprs.lspr.ac.id\/index.php\/news\/","title":{"rendered":"News"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"1192\" class=\"elementor elementor-1192\">\n\t\t\t\t<div class=\"elementor-element elementor-element-818bf6d e-con e-atomic-element e-flexbox-base e-default-div e-fff61cc \" data-id=\"818bf6d\" data-element_type=\"e-flexbox\" data-e-type=\"e-flexbox\" data-interaction-id=\"818bf6d\">\n    \t\t<div class=\"elementor-element elementor-element-8a2887f elementor-widget elementor-widget-html\" data-id=\"8a2887f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t<!-- CAPRS News | Paste the entire file into one Elementor HTML widget -->\n<style>\n.caprs-news{--cn-ink:#132b3c;--cn-muted:#566b76;--cn-accent:#0a756f;--cn-paper:#f4f8f7;--cn-line:#dce6e4;box-sizing:border-box;width:100%;max-width:none;color:var(--cn-ink);background:var(--cn-paper);font:16px\/1.65 Arial,Helvetica,sans-serif;overflow-wrap:anywhere;text-align:left}\n.caprs-news *,.caprs-news *::before,.caprs-news *::after{box-sizing:border-box}\n.caprs-news.cn-full{width:100vw;max-width:none;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);overflow:clip}\n.caprs-news .cn-wrap{width:min(100%,1440px);margin:0 auto;padding-inline:clamp(20px,5vw,80px)}\n.caprs-news .cn-hero{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(115deg,#102c3d,#155c60);color:white;padding-block:clamp(64px,9vw,130px)}\n.caprs-news .cn-hero::after{content:'';position:absolute;z-index:-1;right:-100px;top:-210px;width:650px;height:650px;border:1px solid #ffffff35;border-radius:50%;box-shadow:0 0 0 55px #ffffff09,0 0 0 110px #ffffff08,0 0 0 165px #ffffff06;pointer-events:none}\n.caprs-news .cn-kicker{font-size:12px;line-height:1.5;font-weight:700;letter-spacing:2px;text-transform:uppercase;margin:0 0 14px;color:inherit}\n.caprs-news .cn-hero .cn-kicker{color:#b6e5df}\n.caprs-news .cn-hero h1{font-size:clamp(44px,7vw,90px);font-weight:750;letter-spacing:-.055em;line-height:1.02;color:white;margin:0 0 20px}\n.caprs-news .cn-hero p:not(.cn-kicker){max-width:630px;margin:0;color:#e0eeed;font-size:clamp(16px,2vw,20px)}\n.caprs-news .cn-main{padding-block:clamp(35px,6vw,80px)}\n.caprs-news .cn-sectionhead{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:0 0 24px}\n.caprs-news .cn-sectionhead h2{font-size:clamp(26px,4vw,40px);letter-spacing:-.035em;line-height:1.15;color:var(--cn-ink);margin:0;font-weight:750}\n.caprs-news .cn-sectionhead .cn-kicker{color:var(--cn-accent);margin-bottom:6px}\n.caprs-news .cn-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}\n.caprs-news .cn-card{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid var(--cn-line);border-radius:20px;overflow:hidden;transition:transform .22s,box-shadow .22s}\n.caprs-news .cn-card:hover{transform:translateY(-4px);box-shadow:0 14px 32px #132b3c12}\n.caprs-news .cn-photo{display:block;position:relative;aspect-ratio:16\/10;overflow:hidden;background:linear-gradient(140deg,#163d4c,#0b7770);color:white;text-decoration:none}\n.caprs-news .cn-photo img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;transition:transform .4s}\n.caprs-news .cn-card:hover .cn-photo img{transform:scale(1.035)}\n.caprs-news .cn-noimage{position:absolute;inset:0;display:grid;place-items:center;font-size:clamp(20px,3vw,34px);font-weight:700;letter-spacing:4px;color:#fff9}\n.caprs-news .cn-body{padding:clamp(20px,2.5vw,32px);display:flex;flex-direction:column;align-items:flex-start;flex:1;min-width:0}\n.caprs-news .cn-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px;font-weight:600;color:var(--cn-muted);margin:0 0 14px}\n.caprs-news .cn-tag{color:var(--cn-accent);background:#e5f4f0;border-radius:100px;padding:4px 12px;text-transform:uppercase;letter-spacing:1px}\n.caprs-news .cn-card h3{font-size:clamp(19px,2vw,24px);font-weight:750;line-height:1.3;letter-spacing:-.025em;margin:0 0 12px;color:var(--cn-ink)}\n.caprs-news .cn-card h3 a{color:inherit;text-decoration:none}\n.caprs-news .cn-card h3 a:hover{color:var(--cn-accent)}\n.caprs-news .cn-excerpt{color:var(--cn-muted);font-size:15px;line-height:1.7;margin:0 0 22px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}\n.caprs-news .cn-read{display:inline-flex;align-items:center;gap:8px;margin-top:auto;color:var(--cn-accent);font-weight:700;font-size:14px;text-decoration:none}\n.caprs-news .cn-read:hover{text-decoration:underline}\n.caprs-news .cn-featured{grid-column:1\/-1;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);min-height:350px}\n.caprs-news .cn-featured .cn-photo{aspect-ratio:auto;min-height:350px}\n.caprs-news .cn-featured .cn-photo img{position:absolute;inset:0}\n.caprs-news .cn-featured .cn-body{justify-content:center;padding:clamp(25px,4vw,60px)}\n.caprs-news .cn-featured h3{font-size:clamp(26px,3vw,44px);line-height:1.13}\n.caprs-news .cn-featured .cn-excerpt{-webkit-line-clamp:4}\n.caprs-news .cn-featured .cn-read{margin-top:5px}\n.caprs-news .cn-actions{text-align:center;margin-top:40px}\n.caprs-news .cn-more{font:inherit;font-weight:700;background:var(--cn-ink);color:white;border:1px solid var(--cn-ink);border-radius:100px;padding:14px 30px;cursor:pointer;text-decoration:none;display:inline-block;transition:background .2s}\n.caprs-news .cn-more:hover{background:var(--cn-accent);color:white}\n.caprs-news .cn-more:disabled{opacity:.55;cursor:wait}\n.caprs-news [hidden]{display:none!important}\n.caprs-news .cn-status{color:var(--cn-muted);text-align:center;margin:20px 0;min-height:0}\n.caprs-news .cn-status:empty{display:none}\n.caprs-news .cn-fallback{color:var(--cn-accent);font-weight:700;text-decoration:underline}\n.caprs-news a:focus-visible,.caprs-news button:focus-visible{outline:3px solid #e9ad44;outline-offset:3px}\n@media(max-width:900px){.caprs-news .cn-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.caprs-news .cn-featured{grid-template-columns:1fr 1fr}.caprs-news .cn-featured .cn-photo{min-height:300px}}\n@media(max-width:600px){.caprs-news .cn-grid{grid-template-columns:minmax(0,1fr);gap:16px}.caprs-news .cn-featured{display:flex;min-height:0}.caprs-news .cn-featured .cn-photo{min-height:0;aspect-ratio:16\/10}.caprs-news .cn-hero::after{opacity:.45}.caprs-news .cn-sectionhead{align-items:flex-start;flex-direction:column}.caprs-news .cn-hero h1{font-size:clamp(40px,12vw,64px)}}\n@media(prefers-reduced-motion:reduce){.caprs-news *{transition:none!important}}\n<\/style>\n<section class=\"caprs-news cn-full\" data-caprs-news aria-label=\"CAPRS News\">\n  <header class=\"cn-hero\"><div class=\"cn-wrap\">\n    <p class=\"cn-kicker\">Centre for ASEAN Public Relations Studies<\/p>\n    <h1>News &amp; Updates.<\/h1>\n    <p>Explore news, events and stories from our academic community and across the ASEAN region.<\/p>\n  <\/div><\/header>\n  <div class=\"cn-main cn-wrap\">\n    <div class=\"cn-sectionhead\"><div><p class=\"cn-kicker\">Discover our stories<\/p><h2>Latest News<\/h2><\/div><\/div>\n    <div class=\"cn-grid\" data-grid aria-busy=\"true\"><\/div>\n    <p class=\"cn-status\" data-status role=\"status\" aria-live=\"polite\">Loading news\u2026<\/p>\n    <div class=\"cn-actions\">\n      <button class=\"cn-more\" data-more type=\"button\" hidden>Load More News<\/button>\n      <a class=\"cn-fallback\" data-fallback href=\"https:\/\/caprs.lspr.ac.id\/index.php\/category\/news\/\" hidden>Open the original news archive<\/a>\n    <\/div>\n    <noscript><a href=\"https:\/\/caprs.lspr.ac.id\/index.php\/category\/news\/\">View the original news archive<\/a><\/noscript>\n  <\/div>\n<\/section>\n<script>\n(function(){\n  'use strict';\n  const root=document.currentScript.previousElementSibling;\n  if(!root || !root.matches('[data-caprs-news]') || root.dataset.initialized) return;\n  root.dataset.initialized='1';\n  const site=location.hostname.replace(\/^www\\.\/,'')==='caprs.lspr.ac.id'?location.origin:'https:\/\/caprs.lspr.ac.id';\n  const archive=site+'\/index.php\/category\/news\/';\n  const grid=root.querySelector('[data-grid]'), status=root.querySelector('[data-status]'), more=root.querySelector('[data-more]'), fallback=root.querySelector('[data-fallback]');\n  const pageSize=10, seen=new Set();\n  let api=null, category=null, page=1, next=archive, mode=null, busy=false, hasMore=true;\n  function clean(html){const t=document.createElement('template');t.innerHTML=String(html||'');return (t.content.textContent||'').replace(\/\\s+\/g,' ').trim();}\n  function url(value,base=site){try{if(!value)return '';const u=new URL(value,base);return \/^https?:$\/.test(u.protocol)?u.href:'';}catch(e){return '';}}\n  function sameSite(value){try{return new URL(value).origin===new URL(site).origin;}catch(e){return false;}}\n  function date(value){if(!value)return '';const d=new Date(value);return Number.isNaN(d.getTime())?'':new Intl.DateTimeFormat('en-GB',{day:'numeric',month:'short',year:'numeric',timeZone:'Asia\/Jakarta'}).format(d);}\n  function node(tag,cls,txt){const e=document.createElement(tag);if(cls)e.className=cls;if(txt)e.textContent=txt;return e;}\n  function add(post){\n    const link=url(post.link);if(!link||!post.title||seen.has(link))return;\n    const featured=seen.size===0;seen.add(link);\n    const card=node('article','cn-card'+(featured?' cn-featured':''));\n    const photo=node('a','cn-photo');photo.href=link;photo.tabIndex=-1;photo.setAttribute('aria-hidden','true');\n    const placeholder=node('span','cn-noimage','CAPRS');photo.append(placeholder);\n    const source=url(post.image);\n    if(source){const img=node('img');img.src=source;img.alt='';img.loading=featured?'eager':'lazy';img.decoding='async';img.addEventListener('error',()=>img.remove(),{once:true});photo.append(img);}\n    const body=node('div','cn-body');const meta=node('div','cn-meta');meta.append(node('span','cn-tag',featured?'Latest news':'News'));\n    if(post.date)meta.append(node('span','',post.date));\n    const h=node('h3');const title=node('a','',post.title);title.href=link;h.append(title);\n    body.append(meta,h);if(post.excerpt)body.append(node('p','cn-excerpt',post.excerpt));\n    const read=node('a','cn-read','Read Article \u2197');read.href=link;read.setAttribute('aria-label','Read article: '+post.title);body.append(read);card.append(photo,body);grid.append(card);\n  }\n  function endpoint(kind,path,params={}){\n    const u=new URL(kind===2?site+'\/':site+(kind===1?'\/index.php\/wp-json':'\/wp-json')+path);\n    if(kind===2)u.searchParams.set('rest_route',path);\n    Object.entries(params).forEach(([k,v])=>u.searchParams.set(k,v));return u.href;\n  }\n  async function fetchResponse(address){\n    const controller=new AbortController();const timer=setTimeout(()=>controller.abort(),8000);\n    try{const res=await fetch(address,{signal:controller.signal,credentials:'same-origin'});if(!res.ok)throw Error('HTTP '+res.status);return res;}\n    finally{clearTimeout(timer);}\n  }\n  async function discover(){\n    \/\/ Try the WordPress REST URL variants in parallel, accepting the first valid response.\n    const checks=[0,1,2].map(async kind=>{\n      const r=await fetchResponse(endpoint(kind,'\/wp\/v2\/categories',{slug:'news'}));const terms=await r.json();\n      const term=Array.isArray(terms)&&terms.find(t=>t.slug==='news');if(!term)throw Error('Category not available');\n      return {kind,id:term.id};\n    });\n    const result=await Promise.any(checks);api=result.kind;category=result.id;\n  }\n  async function restPage(){\n    const r=await fetchResponse(endpoint(api,'\/wp\/v2\/posts',{categories:category,per_page:pageSize,page,orderby:'date',order:'desc',_embed:1}));\n    const items=await r.json();if(!Array.isArray(items))throw Error('Invalid REST response');\n    const totalHeader=r.headers.get('X-WP-TotalPages'), total=totalHeader?Number(totalHeader):NaN;\n    items.forEach(p=>{const media=p._embedded?.['wp:featuredmedia']?.[0];add({title:clean(p.title?.rendered),excerpt:clean(p.excerpt?.rendered),link:p.link,date:date(p.date_gmt?p.date_gmt+'Z':p.date),image:media?.media_details?.sizes?.large?.source_url||media?.source_url});});\n    hasMore=Number.isFinite(total)?page<total:items.length===pageSize;page++;\n  }\n  function extractArchive(html,address){\n    const doc=new DOMParser().parseFromString(html,'text\/html');\n    if(doc.querySelector('[data-caprs-news]'))throw Error('The original archive has been replaced');\n    const nodes=Array.from(doc.querySelectorAll('article, .fusion-post-wrapper, .fusion-blog-layout-grid .fusion-post-grid'));\n    const found=new Map();\n    function parseCard(card){\n      const a=card.querySelector('h2 a[href], h3.entry-title a[href], .entry-title a[href], h3.blog-shortcode-post-title a[href]');\n      if(!a)return;\n      const link=url(a.getAttribute('href'),address);const title=a.textContent.trim();\n      if(!sameSite(link)||!title||link.includes('\/category\/')||link.includes('\/author\/'))return;\n      const img=card.querySelector('.fusion-image-wrapper img, .fusion-flexslider img, .wp-post-image, .post-thumbnail img, img');\n      const rawImage=img&&(img.getAttribute('data-src')||img.getAttribute('data-lazy-src')||img.getAttribute('data-orig-src')||img.getAttribute('src'));\n      const ex=card.querySelector('.fusion-post-content-container, .entry-summary, .post-content, .excerpt');\n      const time=card.querySelector('time[datetime], [itemprop=\"datePublished\"], .updated[datetime], .published[datetime]');\n      const p=card.querySelector('p');\n      found.set(link,{link,title,image:url(rawImage,address),date:date(time&&(time.getAttribute('datetime')||time.getAttribute('content')||time.textContent)),excerpt:(ex||p)?.textContent.trim()||''});\n    }\n    nodes.forEach(parseCard);\n    if(!found.size){doc.querySelectorAll('main h2 a[href], #content h2 a[href], .fusion-blog-shortcode h2 a[href]').forEach(a=>{const card=a.closest('article,.fusion-post-wrapper,.post,.fusion-post-content')||a.parentElement.parentElement;parseCard(card);});}\n    if(!found.size)throw Error('No archive posts detected');\n    const nextNode=doc.querySelector('a.pagination-next, a.next.page-numbers, .pagination a.next, a[rel=\"next\"], link[rel=\"next\"]');\n    const expected=new URL(address);const current=Number(expected.pathname.match(\/\\\/page\\\/(\\d+)\\\/?$\/)?.[1]||1);\n    const expectedPath='\/index.php\/category\/news\/page\/'+(current+1)+'\/';\n    const alternate=Array.from(doc.querySelectorAll('a[href]')).find(a=>{const link=url(a.getAttribute('href'),address);return sameSite(link)&&new URL(link).pathname.replace(\/\\\/?$\/,'\/')===expectedPath;});\n    const candidate=url((nextNode||alternate)?.getAttribute('href'),address);\n    return {items:[...found.values()],next:sameSite(candidate)&&candidate!==address&&\/\\\/category\\\/news\\\/page\\\/\\d+\\\/?$\/.test(new URL(candidate).pathname)?candidate:null};\n  }\n  async function archivePage(){\n    if(!next){hasMore=false;return;}\n    const address=next;const r=await fetchResponse(address);const result=extractArchive(await r.text(),address);\n    result.items.forEach(add);next=result.next;hasMore=!!next;\n  }\n  async function load(){\n    if(busy||!hasMore)return;busy=true;grid.setAttribute('aria-busy','true');more.disabled=true;status.textContent='Loading news\u2026';fallback.hidden=true;\n    try{\n      if(!mode){try{await discover();await restPage();mode='rest';}catch(e){mode='archive';await archivePage();}}\n      else if(mode==='rest')await restPage();else await archivePage();\n      status.textContent=seen.size?(hasMore?'':'You have reached the end of the news archive.'):'No news available yet.';\n      more.textContent='Load More News';more.hidden=!hasMore;\n    }catch(e){\n      status.textContent='News could not be loaded. Please try again.';more.textContent='Try Again';more.hidden=false;\n      \/\/ If the widget sits on the archive itself, avoid a link that simply reloads it.\n      fallback.hidden=location.pathname.replace(\/\\\/$\/,'')===new URL(archive).pathname.replace(\/\\\/$\/,'');\n      console.warn('CAPRS news:',e);\n    }finally{busy=false;more.disabled=false;grid.setAttribute('aria-busy','false');}\n  }\n  more.addEventListener('click',load);load();\n})();\n<\/script>\n\t\t\t\t<\/div>\n\t\t\n<\/div>\n\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Centre for ASEAN Public Relations Studies News &amp; Updates. Explore news, events and stories from our academic community and across the ASEAN region. Discover our stories Latest News Loading news\u2026 Load More News Open the original news archive View the original news archive<\/p>\n","protected":false},"author":5,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"footnotes":""},"class_list":["post-1192","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/caprs.lspr.ac.id\/index.php\/wp-json\/wp\/v2\/pages\/1192","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/caprs.lspr.ac.id\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/caprs.lspr.ac.id\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/caprs.lspr.ac.id\/index.php\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/caprs.lspr.ac.id\/index.php\/wp-json\/wp\/v2\/comments?post=1192"}],"version-history":[{"count":7,"href":"https:\/\/caprs.lspr.ac.id\/index.php\/wp-json\/wp\/v2\/pages\/1192\/revisions"}],"predecessor-version":[{"id":1200,"href":"https:\/\/caprs.lspr.ac.id\/index.php\/wp-json\/wp\/v2\/pages\/1192\/revisions\/1200"}],"wp:attachment":[{"href":"https:\/\/caprs.lspr.ac.id\/index.php\/wp-json\/wp\/v2\/media?parent=1192"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}