{"id":34982,"date":"2026-03-07T23:40:10","date_gmt":"2026-03-07T23:40:10","guid":{"rendered":"https:\/\/www.tun.com\/home\/?page_id=34982"},"modified":"2026-04-07T14:19:45","modified_gmt":"2026-04-07T14:19:45","slug":"news","status":"publish","type":"page","link":"https:\/\/www.tun.com\/home\/news\/","title":{"rendered":""},"content":{"rendered":"\n<head>\n<meta charset=\"UTF-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n<title>News \u2014 TUN<\/title>\n<link href=\"https:\/\/fonts.googleapis.com\/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&#038;family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,500;0,9..144,700;1,9..144,400&#038;display=swap\" rel=\"stylesheet\">\n<style>\n  :root{--tun-black:#0D0D0D;--tun-white:#FAFAF8;--tun-blue:#1B4DFF;--tun-blue-light:#E8EEFF;--tun-blue-dark:#0A2DB3;--tun-gold:#F5A623;--tun-gold-light:#FFF7E8;--tun-green:#1DB954;--tun-green-light:#E8FBF0;--tun-gray-100:#F4F4F2;--tun-gray-200:#E8E8E4;--tun-gray-400:#A8A8A0;--tun-gray-600:#6B6B63;--tun-gray-800:#2D2D28;--font-display:'Fraunces',Georgia,serif;--font-body:'DM Sans',system-ui,sans-serif}\n  *{margin:0;padding:0;box-sizing:border-box}html{scroll-behavior:smooth}body{font-family:var(--font-body);color:var(--tun-gray-800);background:var(--tun-white);line-height:1.6;-webkit-font-smoothing:antialiased}\n  .site-header{position:fixed;top:0;left:0;right:0;z-index:100;background:rgba(250,250,248,0.95);backdrop-filter:blur(16px);border-bottom:1px solid var(--tun-gray-200);transition:box-shadow .3s ease}.site-header.scrolled{box-shadow:0 2px 24px rgba(0,0,0,0.06)}.site-header-inner{max-width:1200px;margin:0 auto;padding:14px 32px;display:flex;align-items:center;justify-content:space-between}.site-header-nav{display:flex;gap:28px}.site-header-nav a{font-size:14px;font-weight:500;color:var(--tun-gray-600);text-decoration:none;transition:color .2s ease}.site-header-nav a:hover{color:var(--tun-black)}.nav-logo{font-family:var(--font-display);font-size:28px;font-weight:700;color:var(--tun-black);text-decoration:none}.nav-logo span{color:var(--tun-blue)}\n  .section{padding:100px 32px}.section-inner{max-width:1200px;margin:0 auto}.section-label{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:2px;color:var(--tun-blue);margin-bottom:16px}.section-title{font-family:var(--font-display);font-size:clamp(32px,3.5vw,48px);font-weight:700;line-height:1.12;letter-spacing:-1px;color:var(--tun-black);margin-bottom:16px}\n\n  .hero{padding:130px 32px 50px;position:relative;overflow:hidden;background:linear-gradient(180deg,var(--tun-white) 0%,var(--tun-blue-light) 50%,var(--tun-white) 100%)}\n  .hero::before{content:'';position:absolute;top:-200px;left:50%;transform:translateX(-50%);width:900px;height:900px;border-radius:50%;background:radial-gradient(circle,rgba(27,77,255,0.06) 0%,transparent 55%);pointer-events:none}\n  .hero-inner{max-width:1200px;margin:0 auto;position:relative}\n  .hero-top{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:32px}\n  .hero-title{font-family:var(--font-display);font-size:clamp(40px,5vw,56px);font-weight:700;line-height:1.06;letter-spacing:-2px;color:var(--tun-black)}.hero-title em{font-style:italic;color:var(--tun-blue)}\n  .hero-sub{font-size:16px;color:var(--tun-gray-600);max-width:400px;text-align:right}\n  .hero-badges{display:flex;gap:6px;margin-top:8px;justify-content:flex-end}\n  .hero-badge-sm{padding:4px 12px;background:white;border:1px solid var(--tun-gray-200);border-radius:100px;font-size:11px;font-weight:600;color:var(--tun-gray-400)}\n\n  .cat-bar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:32px}\n  .cat-btn{padding:8px 20px;border-radius:100px;font-size:14px;font-weight:600;border:1px solid var(--tun-gray-200);color:var(--tun-gray-600);cursor:pointer;transition:all .2s ease;background:white;font-family:var(--font-body)}\n  .cat-btn:hover,.cat-btn.active{background:var(--tun-blue);color:white;border-color:var(--tun-blue)}\n\n  .featured-story{display:grid;grid-template-columns:1.4fr 1fr;gap:0;margin-bottom:40px;border-radius:20px;overflow:hidden;border:1px solid var(--tun-gray-200);background:white;transition:all .3s ease;text-decoration:none;color:inherit}\n  .featured-story:hover{border-color:var(--tun-blue);box-shadow:0 16px 48px rgba(0,0,0,0.08)}\n  .featured-story-image{min-height:320px;background:linear-gradient(135deg,var(--tun-blue-light),#D0DBFF);background-size:cover;background-position:center;display:flex;align-items:center;justify-content:center;font-size:48px;color:white}\n  .featured-story-body{padding:40px;display:flex;flex-direction:column;justify-content:center}\n  .featured-story-cat{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:1.5px;margin-bottom:10px}\n  .featured-story-body h2{font-family:var(--font-display);font-size:26px;font-weight:700;color:var(--tun-black);line-height:1.25;margin-bottom:10px}\n  .featured-story-body p{font-size:15px;color:var(--tun-gray-600);line-height:1.6;margin-bottom:12px}\n  .featured-story-date{font-size:12px;color:var(--tun-gray-400)}\n  .featured-story-link{font-size:14px;font-weight:600;color:var(--tun-blue)}\n\n  .news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}\n  .news-card{background:white;border-radius:16px;overflow:hidden;border:1px solid var(--tun-gray-200);transition:all .3s ease;text-decoration:none;color:inherit;display:block}\n  .news-card:hover{border-color:var(--tun-blue);transform:translateY(-3px);box-shadow:0 12px 32px rgba(0,0,0,0.06)}\n  .news-card-image{height:180px;background:var(--tun-gray-100);background-size:cover;background-position:center;display:flex;align-items:center;justify-content:center;font-size:28px;color:white}\n  .news-card-body{padding:22px}\n  .news-card-cat{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:1.5px;margin-bottom:6px}\n  .cat-ai{color:var(--tun-blue)}\n\n  \/* Category gradient backgrounds for articles without featured images *\/\n  .img-ai{background:linear-gradient(135deg,#0D1B33,#1B4DFF)}\n  .img-health{background:linear-gradient(135deg,#3D0D0D,#EF4444)}\n  .img-science{background:linear-gradient(135deg,#1a0D33,#7C3AED)}\n  .img-sustain{background:linear-gradient(135deg,#0D2D1A,#1DB954)}\n  .img-climate{background:linear-gradient(135deg,#0D2D28,#0D9488)}\n  .img-tech{background:linear-gradient(135deg,#0D1B33,#3B82F6)}\n  .img-edu{background:linear-gradient(135deg,#2D1B00,#F5A623)}\n  .img-lifestyle{background:linear-gradient(135deg,#2D1500,#F97316)}\n  .img-food{background:linear-gradient(135deg,#2D1500,#FB923C)}\n  .img-career{background:linear-gradient(135deg,#1a0D33,#8B5CF6)}\n  .img-scholarship{background:linear-gradient(135deg,#2D1B00,#F5A623)}\n  .img-default{background:linear-gradient(135deg,#0D0D1A,#1B4DFF)}.cat-health{color:#EF4444}.cat-science{color:#7C3AED}.cat-sustain{color:var(--tun-green)}.cat-tech{color:var(--tun-blue)}.cat-edu{color:var(--tun-gold)}.cat-lifestyle{color:#F97316}.cat-climate{color:var(--tun-green)}.cat-career{color:#F97316}.cat-food{color:#F97316}.cat-scholarship{color:var(--tun-gold)}\n  .news-card-body h4{font-family:var(--font-display);font-size:17px;font-weight:700;color:var(--tun-black);line-height:1.35;margin-bottom:6px}\n  .news-card-body p{font-size:13px;color:var(--tun-gray-600);line-height:1.5}\n  .news-card-date{font-size:12px;color:var(--tun-gray-400);margin-top:10px}\n\n  .load-more-wrap{text-align:center;margin-top:48px}\n  .load-more-btn{display:inline-flex;align-items:center;gap:8px;padding:14px 36px;background:var(--tun-blue);color:white;border:none;border-radius:12px;font-size:16px;font-weight:600;cursor:pointer;font-family:var(--font-body);transition:all .25s ease}.load-more-btn:hover{background:var(--tun-blue-dark);transform:translateY(-1px)}.load-more-btn:disabled{background:var(--tun-gray-200);color:var(--tun-gray-400);cursor:default;transform:none}\n  .news-loading{text-align:center;padding:48px 0;color:var(--tun-gray-400);font-size:15px}\n  .news-empty{text-align:center;padding:48px 0}.news-empty p{color:var(--tun-gray-400);font-size:15px;margin-bottom:12px}.news-empty a{color:var(--tun-blue);font-weight:600;text-decoration:none;font-size:15px}\n\n  .research{background:var(--tun-gray-100)}\n  .research-scroll{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:12px;margin-top:36px;scrollbar-width:thin;scrollbar-color:var(--tun-gray-200) transparent}\n  .research-scroll::-webkit-scrollbar{height:6px}.research-scroll::-webkit-scrollbar-thumb{background:var(--tun-gray-200);border-radius:3px}\n  .research-card{min-width:280px;max-width:280px;flex-shrink:0;scroll-snap-align:start;background:white;border-radius:14px;padding:24px;border:1px solid var(--tun-gray-200);transition:all .3s ease;text-decoration:none;color:inherit;display:block}\n  .research-card:hover{border-color:var(--tun-blue);transform:translateY(-2px);box-shadow:0 6px 20px rgba(0,0,0,0.06)}\n  .research-card-cat{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:1.5px;margin-bottom:8px}\n  .research-card h4{font-family:var(--font-display);font-size:16px;font-weight:700;color:var(--tun-black);line-height:1.35;margin-bottom:8px}\n  .research-card p{font-size:12px;color:var(--tun-gray-400)}\n\n  .newsletter{background:var(--tun-black);color:white;text-align:center;padding:80px 32px;position:relative;overflow:hidden}\n  .newsletter::before{content:'';position:absolute;top:-100px;left:50%;transform:translateX(-50%);width:600px;height:600px;border-radius:50%;background:radial-gradient(circle,rgba(27,77,255,0.08) 0%,transparent 55%);pointer-events:none}\n  .newsletter h3{font-family:var(--font-display);font-size:28px;font-weight:700;margin-bottom:8px;position:relative}\n  .newsletter p{font-size:16px;color:rgba(255,255,255,0.5);margin-bottom:24px;position:relative}\n  .newsletter-stats{display:flex;justify-content:center;gap:40px;margin-bottom:32px;position:relative}\n  .newsletter-stat{text-align:center}\n  .newsletter-stat-value{font-family:var(--font-display);font-size:28px;font-weight:700;color:white}\n  .newsletter-stat-value .accent{color:var(--tun-gold)}\n  .newsletter-stat-label{font-size:12px;color:rgba(255,255,255,0.4)}\n  .newsletter-cta{display:inline-flex;align-items:center;gap:10px;padding:16px 32px;background:white;color:var(--tun-blue);text-decoration:none;font-weight:600;font-size:16px;border-radius:12px;transition:all .25s ease;position:relative}.newsletter-cta:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(0,0,0,0.2)}\n\n  .footer{background:var(--tun-black);color:rgba(255,255,255,0.5);padding:48px 32px;text-align:center;font-size:14px;border-top:1px solid rgba(255,255,255,0.06)}.footer a{color:rgba(255,255,255,0.7);text-decoration:none}.footer a:hover{color:white}.footer-links{display:flex;justify-content:center;gap:32px;margin-bottom:16px}.footer-address{margin-top:10px;font-size:13px;color:rgba(255,255,255,0.3)}\n\n  .fade-in{opacity:0;transform:translateY(24px);transition:all .6s cubic-bezier(.22,1,.36,1)}.fade-in.visible{opacity:1;transform:translateY(0)}\n\n  @media(max-width:1024px){.featured-story{grid-template-columns:1fr}.featured-story-image{min-height:220px}.news-grid{grid-template-columns:repeat(2,1fr)}.hero-top{flex-direction:column;gap:16px}.hero-sub{text-align:left}.hero-badges{justify-content:flex-start}.newsletter-stats{gap:24px}}\n  @media(max-width:640px){.hero{padding:110px 20px 40px}.section{padding:72px 20px}.site-header-nav{display:none}.news-grid{grid-template-columns:1fr}.footer-links{flex-direction:column;gap:10px}.newsletter-stats{flex-wrap:wrap}.research-card{min-width:250px;max-width:250px}}\n\n \n\/* \u2500\u2500 Search bar \u2500\u2500 *\/\n.search-wrap {\n  position: relative;\n  margin-bottom: 24px;\n}\n \n.search-form {\n  display: flex;\n  align-items: center;\n  background: white;\n  border: 1.5px solid var(--tun-gray-200);\n  border-radius: 14px;\n  overflow: hidden;\n  transition: border-color .2s ease, box-shadow .2s ease;\n  box-shadow: 0 2px 12px rgba(0,0,0,0.04);\n}\n \n.search-form:focus-within {\n  border-color: var(--tun-blue);\n  box-shadow: 0 0 0 3px rgba(27,77,255,0.10);\n}\n \n.search-icon {\n  padding: 0 16px 0 20px;\n  color: var(--tun-gray-400);\n  display: flex;\n  align-items: center;\n  flex-shrink: 0;\n}\n \n.search-icon svg {\n  width: 18px;\n  height: 18px;\n  transition: color .2s ease;\n}\n \n.search-form:focus-within .search-icon svg {\n  color: var(--tun-blue);\n}\n \n.search-input {\n  flex: 1;\n  border: none;\n  outline: none;\n  font-family: var(--font-body);\n  font-size: 16px;\n  font-weight: 400;\n  color: var(--tun-black);\n  background: transparent;\n  padding: 16px 0;\n  min-width: 0;\n}\n \n.search-input::placeholder {\n  color: var(--tun-gray-400);\n  font-weight: 400;\n}\n \n.search-clear {\n  display: none;\n  align-items: center;\n  justify-content: center;\n  width: 28px;\n  height: 28px;\n  border-radius: 50%;\n  background: var(--tun-gray-200);\n  border: none;\n  cursor: pointer;\n  margin-right: 8px;\n  color: var(--tun-gray-600);\n  flex-shrink: 0;\n  transition: background .15s ease;\n}\n \n.search-clear:hover {\n  background: var(--tun-gray-400);\n  color: white;\n}\n \n.search-clear svg {\n  width: 12px;\n  height: 12px;\n}\n \n.search-clear.visible {\n  display: flex;\n}\n \n.search-btn {\n  padding: 0 24px;\n  height: 52px;\n  background: var(--tun-blue);\n  color: white;\n  border: none;\n  cursor: pointer;\n  font-family: var(--font-body);\n  font-size: 15px;\n  font-weight: 600;\n  transition: background .2s ease;\n  flex-shrink: 0;\n  letter-spacing: -0.2px;\n}\n \n.search-btn:hover {\n  background: var(--tun-blue-dark);\n}\n \n\/* \u2500\u2500 Search state indicators \u2500\u2500 *\/\n.search-status {\n  display: none;\n  align-items: center;\n  gap: 10px;\n  padding: 10px 0 4px;\n  font-size: 14px;\n  color: var(--tun-gray-600);\n}\n \n.search-status.visible {\n  display: flex;\n}\n \n.search-status-term {\n  font-weight: 600;\n  color: var(--tun-black);\n}\n \n.search-status-count {\n  color: var(--tun-gray-400);\n}\n \n.search-status-clear {\n  margin-left: auto;\n  font-size: 13px;\n  font-weight: 600;\n  color: var(--tun-blue);\n  cursor: pointer;\n  background: none;\n  border: none;\n  padding: 0;\n  font-family: var(--font-body);\n  transition: color .15s ease;\n}\n \n.search-status-clear:hover {\n  color: var(--tun-blue-dark);\n}\n \n\/* \u2500\u2500 Search spinner \u2500\u2500 *\/\n.search-spinner {\n  display: none;\n  width: 16px;\n  height: 16px;\n  border: 2px solid var(--tun-gray-200);\n  border-top-color: var(--tun-blue);\n  border-radius: 50%;\n  animation: spin .7s linear infinite;\n  flex-shrink: 0;\n}\n \n.search-spinner.visible {\n  display: block;\n}\n \n@keyframes spin {\n  to { transform: rotate(360deg); }\n}\n \n\/* \u2500\u2500 Popular searches \u2500\u2500 *\/\n.search-suggestions {\n  display: flex;\n  align-items: center;\n  gap: 8px;\n  flex-wrap: wrap;\n  padding-top: 10px;\n}\n \n.search-suggestion-label {\n  font-size: 12px;\n  color: var(--tun-gray-400);\n  font-weight: 500;\n  white-space: nowrap;\n}\n \n.search-suggestion-pill {\n  padding: 5px 14px;\n  border-radius: 100px;\n  background: white;\n  border: 1px solid var(--tun-gray-200);\n  font-size: 13px;\n  font-weight: 500;\n  color: var(--tun-gray-600);\n  cursor: pointer;\n  transition: all .15s ease;\n  font-family: var(--font-body);\n}\n \n.search-suggestion-pill:hover {\n  border-color: var(--tun-blue);\n  color: var(--tun-blue);\n  background: var(--tun-blue-light);\n}\n \n\/* \u2500\u2500 No results state \u2500\u2500 *\/\n.search-no-results {\n  grid-column: 1 \/ -1;\n  text-align: center;\n  padding: 64px 32px;\n}\n \n.search-no-results-icon {\n  font-size: 48px;\n  margin-bottom: 16px;\n  opacity: 0.5;\n}\n \n.search-no-results h3 {\n  font-family: var(--font-display);\n  font-size: 22px;\n  font-weight: 700;\n  color: var(--tun-black);\n  margin-bottom: 8px;\n}\n \n.search-no-results p {\n  font-size: 15px;\n  color: var(--tun-gray-400);\n  margin-bottom: 20px;\n}\n \n.search-no-results-btn {\n  display: inline-flex;\n  align-items: center;\n  gap: 6px;\n  padding: 10px 22px;\n  background: var(--tun-blue);\n  color: white;\n  border: none;\n  border-radius: 10px;\n  font-size: 14px;\n  font-weight: 600;\n  cursor: pointer;\n  font-family: var(--font-body);\n  transition: background .2s ease;\n}\n \n.search-no-results-btn:hover {\n  background: var(--tun-blue-dark);\n}\n \n\/* \u2500\u2500 Cat bar hidden during search \u2500\u2500 *\/\n.cat-bar.search-active {\n  opacity: 0.4;\n  pointer-events: none;\n}\n \n\/* \u2500\u2500 Responsive \u2500\u2500 *\/\n@media (max-width: 640px) {\n  .search-btn {\n    padding: 0 16px;\n    font-size: 14px;\n  }\n  .search-input {\n    font-size: 15px;\n    padding: 14px 0;\n  }\n  .search-suggestions {\n    display: none;\n  }\n}\n \n<\/style>\n<\/head>\n<body>\n\n<div class=\"site-header\" id=\"siteHeader\"><\/div>\n\n<section class=\"hero\">\n  <div class=\"hero-inner\">\n    \n<!-- \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\n     2. HTML \u2014 replace the existing .hero-top div with this\n     \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550 -->\n<div class=\"hero-top-replacement\">\n \n  <div class=\"hero-top\">\n    <h1 class=\"hero-title\">TUN <em>News<\/em><\/h1>\n    <div class=\"hero-sub\">\n      Research and discoveries shaping the future &mdash; published daily, translated into 15+ languages, cited by AI.\n      <div class=\"hero-badges\">\n        <span class=\"hero-badge-sm\">&#128240; Google News Publisher<\/span>\n        <span class=\"hero-badge-sm\">&#127760; 15+ Languages<\/span>\n      <\/div>\n    <\/div>\n  <\/div>\n \n  <!-- Search bar -->\n  <div class=\"search-wrap\">\n    <div class=\"search-form\">\n      <div class=\"search-icon\">\n        <svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n          <circle cx=\"11\" cy=\"11\" r=\"8\"\/><line x1=\"21\" y1=\"21\" x2=\"16.65\" y2=\"16.65\"\/>\n        <\/svg>\n      <\/div>\n      <input\n        class=\"search-input\"\n        id=\"newsSearchInput\"\n        type=\"search\"\n        placeholder=\"Search 10,000+ articles \u2014 AI, health, climate, careers\u2026\"\n        autocomplete=\"off\"\n        autocorrect=\"off\"\n        spellcheck=\"false\"\n        aria-label=\"Search TUN News\"\n      >\n      <button class=\"search-clear\" id=\"searchClearBtn\" aria-label=\"Clear search\" title=\"Clear search\">\n        <svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\">\n          <line x1=\"18\" y1=\"6\" x2=\"6\" y2=\"18\"\/><line x1=\"6\" y1=\"6\" x2=\"18\" y2=\"18\"\/>\n        <\/svg>\n      <\/button>\n      <button class=\"search-btn\" id=\"searchSubmitBtn\" onclick=\"triggerSearch()\">Search<\/button>\n    <\/div>\n \n    <!-- Search status bar (shown during\/after search) -->\n    <div class=\"search-status\" id=\"searchStatus\">\n      <div class=\"search-spinner\" id=\"searchSpinner\"><\/div>\n      <span id=\"searchStatusText\">Searching\u2026<\/span>\n      <span class=\"search-status-count\" id=\"searchStatusCount\"><\/span>\n      <button class=\"search-status-clear\" onclick=\"clearSearch()\">Clear search \u2715<\/button>\n    <\/div>\n \n    <!-- Popular search suggestions (shown when idle) -->\n    <div class=\"search-suggestions\" id=\"searchSuggestions\">\n      <span class=\"search-suggestion-label\">Popular:<\/span>\n      <button class=\"search-suggestion-pill\" onclick=\"searchFor('artificial intelligence')\">Artificial intelligence<\/button>\n      <button class=\"search-suggestion-pill\" onclick=\"searchFor('scholarships')\">Scholarships<\/button>\n      <button class=\"search-suggestion-pill\" onclick=\"searchFor('climate change')\">Climate change<\/button>\n      <button class=\"search-suggestion-pill\" onclick=\"searchFor('mental health')\">Mental health<\/button>\n      <button class=\"search-suggestion-pill\" onclick=\"searchFor('internships')\">Internships<\/button>\n      <button class=\"search-suggestion-pill\" onclick=\"searchFor('financial aid')\">Financial aid<\/button>\n    <\/div>\n  <\/div>\n \n<\/div>\n    <div class=\"cat-bar\" id=\"catBar\">\n      <button class=\"cat-btn active\" data-cat=\"all\">All<\/button>\n      <button class=\"cat-btn\" data-cat=\"8\">AI<\/button>\n      <button class=\"cat-btn\" data-cat=\"12\">Health<\/button>\n      <button class=\"cat-btn\" data-cat=\"11\">Climate<\/button>\n      <button class=\"cat-btn\" data-cat=\"18\">Education<\/button>\n      <button class=\"cat-btn\" data-cat=\"20\">Lifestyle<\/button>\n      <button class=\"cat-btn\" data-cat=\"30\">Food<\/button>\n      <button class=\"cat-btn\" data-cat=\"9\">Career<\/button>\n    <\/div>\n    <div id=\"featuredStory\"><\/div>\n  <\/div>\n<\/section>\n\n<section class=\"section\" style=\"padding-top:60px;\">\n  <div class=\"section-inner\">\n    <div id=\"newsLoading\" class=\"news-loading\">Loading latest news&#8230;<\/div>\n    <div class=\"news-grid\" id=\"newsGrid\"><\/div>\n    <div class=\"load-more-wrap\"><button class=\"load-more-btn\" id=\"loadMoreBtn\" onclick=\"loadMore()\" style=\"display:none;\">Load more articles<\/button><\/div>\n  <\/div>\n<\/section>\n\n<section class=\"section research\">\n  <div class=\"section-inner\">\n    <div class=\"section-label\">Research Highlights<\/div>\n    <h2 class=\"section-title\">2025&#8217;s biggest breakthroughs<\/h2>\n    <div class=\"research-scroll\">\n      <a href=\"https:\/\/www.tun.com\/home\/how-university-researchers-used-artificial-intelligence-to-drive-real-world-impact-in-2025\/\" class=\"research-card fade-in\"><div class=\"research-card-cat cat-ai\">AI<\/div><h4>How Researchers Used AI to Drive Real-World Impact in 2025<\/h4><p>TUN &middot; Featured<\/p><\/a>\n      <a href=\"https:\/\/www.tun.com\/home\/2025-sustainability-climate-research-scalable-solutions-real-world-impact\/\" class=\"research-card fade-in\"><div class=\"research-card-cat cat-sustain\">Sustainability<\/div><h4>2025 Climate Research: Scalable Solutions, Real-World Impact<\/h4><p>TUN &middot; Featured<\/p><\/a>\n      <a href=\"https:\/\/www.tun.com\/home\/what-2025-revealed-about-well-being-resilience-and-care\/\" class=\"research-card fade-in\"><div class=\"research-card-cat cat-health\">Well-Being<\/div><h4>What 2025 Revealed About Well-Being, Resilience, and Care<\/h4><p>TUN &middot; Featured<\/p><\/a>\n      <a href=\"https:\/\/www.tun.com\/home\/what-2025-research-revealed-about-the-future-of-learning-and-student-success\/\" class=\"research-card fade-in\"><div class=\"research-card-cat cat-edu\">Education<\/div><h4>The Future of Learning and Student Success<\/h4><p>TUN &middot; Featured<\/p><\/a>\n      <a href=\"https:\/\/www.tun.com\/home\/health-research-in-2025-from-early-detection-to-real-world-prevention\/\" class=\"research-card fade-in\"><div class=\"research-card-cat cat-science\">Health<\/div><h4>Health Research 2025: Early Detection to Prevention<\/h4><p>TUN &middot; Featured<\/p><\/a>\n    <\/div>\n  <\/div>\n<\/section>\n\n<section class=\"newsletter\">\n  <h3>Stay in the loop<\/h3>\n  <p>Join 600,000+ students and educators who get TUN&#8217;s newsletter.<\/p>\n  <div class=\"newsletter-stats\">\n    <div class=\"newsletter-stat\"><div class=\"newsletter-stat-value\">600<span class=\"accent\">K+<\/span><\/div><div class=\"newsletter-stat-label\">Subscribers<\/div><\/div>\n    <div class=\"newsletter-stat\"><div class=\"newsletter-stat-value\"><span class=\"accent\">Daily<\/span><\/div><div class=\"newsletter-stat-label\">New Articles<\/div><\/div>\n    <div class=\"newsletter-stat\"><div class=\"newsletter-stat-value\">15<span class=\"accent\">+<\/span><\/div><div class=\"newsletter-stat-label\">Languages<\/div><\/div>\n  <\/div>\n  <a href=\"https:\/\/www.tun.com\/home\/\" class=\"newsletter-cta\">&#128240; Subscribe to TUN News &rarr;<\/a>\n<\/section>\n\n<footer class=\"footer\">\n  <div class=\"footer-links\"><a href=\"https:\/\/www.tun.com\/home\/\">News<\/a><a href=\"https:\/\/www.tun.com\/scholarships\/\">Scholarships<\/a><a href=\"https:\/\/www.tun.com\/courses\/\">Courses<\/a><a href=\"https:\/\/www.tun.com\/jobs\/\">Careers<\/a><a href=\"https:\/\/www.tun.com\/ai\/\">TUN AI<\/a><a href=\"https:\/\/www.tun.com\/brand\/\">Discounts<\/a><a href=\"https:\/\/www.tun.com\/home\/partnerships\/\">Partnerships<\/a><a href=\"https:\/\/www.tun.com\/jobs\/about\/\">About<\/a><\/div>\n  <p>&copy; 2026 TUN, Inc. All rights reserved. &nbsp;|&nbsp; <a href=\"https:\/\/www.tun.com\/blog\/we-use-cookies-to-make-our-website-experience-better\/\">Privacy<\/a><\/p>\n  <div class=\"footer-address\">TUN, Inc. &middot; 99 Wall Street, #2508 &middot; New York, NY 10005<\/div>\n<\/footer>\n\n<script>\n  var observer = new IntersectionObserver(function(e){e.forEach(function(en){if(en.isIntersecting)en.target.classList.add('visible')})},{threshold:.15,rootMargin:'0px 0px -40px 0px'});\n  document.querySelectorAll('.fade-in').forEach(function(el){observer.observe(el)});\n  window.addEventListener('scroll',function(){document.getElementById('siteHeader').classList.toggle('scrolled',window.scrollY>20)});\n<\/script>\n\n<script>\n(function(){\n\n  var API_BASE = 'https:\/\/www.tun.com\/home\/wp-json\/wp\/v2\/posts';\n  var PER_PAGE = 9;\n  var currentCat = 'all';\n  var currentPage = 1;\n  var totalPages = 1;\n\n  var CAT_GRADIENTS = {\n    'ai':'img-ai','health':'img-health','health-care':'img-health',\n    'science':'img-science','sustainability':'img-sustain',\n    'climate-and-environment':'img-climate','tech':'img-tech',\n    'education':'img-edu','lifestyle':'img-lifestyle',\n    'food-nutrition':'img-food','career':'img-career',\n    'scholarship':'img-scholarship'\n  };\n\n  var CAT_EMOJIS = {\n    'ai':'&#129302;','health':'&#10084;&#65039;','health-care':'&#129657;',\n    'science':'&#128300;','sustainability':'&#127793;',\n    'climate-and-environment':'&#127757;','tech':'&#128187;',\n    'education':'&#128218;','lifestyle':'&#127775;',\n    'food-nutrition':'&#127828;','career':'&#128188;',\n    'scholarship':'&#127891;','default':'&#128240;'\n  };\n\n  var CAT_COLORS = {\n    'scholarship':'cat-scholarship','ai':'cat-ai','science':'cat-science',\n    'health':'cat-health','health-care':'cat-health','sustainability':'cat-sustain',\n    'climate-and-environment':'cat-climate','tech':'cat-tech','education':'cat-edu',\n    'lifestyle':'cat-lifestyle','food-nutrition':'cat-food','career':'cat-career'\n  };\n\n  var grid = document.getElementById('newsGrid');\n  var featured = document.getElementById('featuredStory');\n  var loading = document.getElementById('newsLoading');\n  var loadBtn = document.getElementById('loadMoreBtn');\n\n  function getEmbedded(post, key1, key2) {\n    if (!post._embedded) return null;\n    if (!post._embedded[key1]) return null;\n    if (key2 !== undefined) {\n      if (!post._embedded[key1][key2]) return null;\n      return post._embedded[key1][key2];\n    }\n    return post._embedded[key1];\n  }\n\n  function getCats(post) {\n    var terms = getEmbedded(post, 'wp:term', 0);\n    if (!terms) return [];\n    return terms;\n  }\n\n  function getFeaturedImage(post) {\n    var media = getEmbedded(post, 'wp:featuredmedia', 0);\n    if (!media) return '';\n    return media.source_url || '';\n  }\n\n  document.querySelectorAll('.cat-btn').forEach(function(btn){\n    btn.addEventListener('click', function(){\n      document.querySelectorAll('.cat-btn').forEach(function(b){b.classList.remove('active')});\n      btn.classList.add('active');\n      currentCat = btn.dataset.cat;\n      currentPage = 1;\n      grid.innerHTML = '';\n      featured.innerHTML = '';\n      loadArticles(true);\n    });\n  });\n\n  function loadArticles(isFirst) {\n    var count = isFirst ? PER_PAGE + 1 : PER_PAGE;\n    var url = API_BASE + '?per_page=' + count + '&page=' + currentPage + '&_embed';\n    if (currentCat !== 'all') {\n      url = url + '&categories=' + currentCat;\n    }\n\n    if (isFirst) { loading.style.display = 'block'; }\n    else { loading.style.display = 'none'; }\n    if (loadBtn) { loadBtn.disabled = true; loadBtn.textContent = 'Loading...'; }\n\n    fetch(url).then(function(r){\n      totalPages = parseInt(r.headers.get('X-WP-TotalPages') || '1');\n      return r.json();\n    }).then(function(posts){\n      loading.style.display = 'none';\n      if (!posts) { return; }\n      if (posts.length === 0) {\n        if (isFirst) {\n          grid.innerHTML = '<div class=\"news-empty\" style=\"grid-column:1\/-1;\"><p>No articles found.<\/p><\/div>';\n        }\n        loadBtn.style.display = 'none';\n        return;\n      }\n\n      var startIdx = 0;\n\n      if (isFirst) {\n        var f = posts[0];\n        startIdx = 1;\n        var fCats = getCats(f);\n        var fSlug = (fCats.length > 0) ? fCats[0].slug : 'news';\n        var fName = (fCats.length > 0) ? decodeHTML(fCats[0].name) : 'News';\n        var fColor = CAT_COLORS[fSlug] || 'cat-ai';\n        var fImg = getFeaturedImage(f);\n        var fGradClass = CAT_GRADIENTS[fSlug] || 'img-default';\n        var fEmoji = CAT_EMOJIS[fSlug] || CAT_EMOJIS['default'];\n        var fBg = fImg ? 'background-image:url(' + fImg + ');' : '';\n        var fImgClass = fImg ? '' : ' ' + fGradClass;\n        var fIcon = fImg ? '' : '<span style=\"font-size:64px;opacity:0.4;\">' + fEmoji + '<\/span>';\n\n        featured.innerHTML = '<a href=\"' + f.link + '\" class=\"featured-story\">'\n          + '<div class=\"featured-story-image' + fImgClass + '\" style=\"' + fBg + '\">' + fIcon + '<\/div>'\n          + '<div class=\"featured-story-body\">'\n          + '<div class=\"featured-story-cat ' + fColor + '\">' + fName + '<\/div>'\n          + '<h2>' + decodeHTML(f.title.rendered) + '<\/h2>'\n          + '<p>' + decodeHTML(stripHTML(f.excerpt.rendered)).substring(0, 160) + '...<\/p>'\n          + '<div class=\"featured-story-date\">' + formatDate(f.date) + '<\/div>'\n          + '<div class=\"featured-story-link\">Read article &rarr;<\/div>'\n          + '<\/div><\/a>';\n      }\n\n      var html = '';\n      var i = startIdx;\n      while (i < posts.length) {\n        var p = posts[i];\n        var cats = getCats(p);\n        var slug = (cats.length > 0) ? cats[0].slug : 'news';\n        var name = (cats.length > 0) ? decodeHTML(cats[0].name) : 'News';\n        var color = CAT_COLORS[slug] || 'cat-ai';\n        var img = getFeaturedImage(p);\n        var gradClass = CAT_GRADIENTS[slug] || 'img-default';\n        var emoji = CAT_EMOJIS[slug] || CAT_EMOJIS['default'];\n        var imgStyle = img ? 'background-image:url(' + img + ');' : '';\n        var imgClass = img ? '' : ' ' + gradClass;\n        var icon = img ? '' : '<span style=\"font-size:36px;opacity:0.35;\">' + emoji + '<\/span>';\n\n        html = html + '<a href=\"' + p.link + '\" class=\"news-card\">'\n          + '<div class=\"news-card-image' + imgClass + '\" style=\"' + imgStyle + '\">' + icon + '<\/div>'\n          + '<div class=\"news-card-body\">'\n          + '<div class=\"news-card-cat ' + color + '\">' + name + '<\/div>'\n          + '<h4>' + decodeHTML(p.title.rendered) + '<\/h4>'\n          + '<p>' + decodeHTML(stripHTML(p.excerpt.rendered)).substring(0, 120) + '...<\/p>'\n          + '<div class=\"news-card-date\">' + formatDate(p.date) + '<\/div>'\n          + '<\/div><\/a>';\n        i = i + 1;\n      }\n      grid.innerHTML = grid.innerHTML + html;\n\n      if (currentPage < totalPages) {\n        loadBtn.style.display = 'inline-flex';\n        loadBtn.disabled = false;\n        loadBtn.textContent = 'Load more articles';\n      } else {\n        loadBtn.style.display = 'none';\n      }\n\n    }).catch(function(err){\n      loading.style.display = 'none';\n      grid.innerHTML = '<div class=\"news-empty\" style=\"grid-column:1\/-1;\"><p>Unable to load news.<\/p><a href=\"https:\/\/www.tun.com\/home\/\">Visit TUN News &rarr;<\/a><\/div>';\n    });\n  }\n\n  window.loadMore = function(){\n    currentPage = currentPage + 1;\n    loadArticles(false);\n  };\n\n  function decodeHTML(html) {\n    var txt = document.createElement('textarea');\n    txt.innerHTML = html;\n    return txt.value;\n  }\n\n  function stripHTML(html) {\n    var tmp = document.createElement('div');\n    tmp.innerHTML = html;\n    return tmp.textContent || tmp.innerText || '';\n  }\n\n  function formatDate(dateStr) {\n    try {\n      var d = new Date(dateStr);\n      return d.toLocaleDateString('en-US', { year: 'numeric', month: 'long', day: 'numeric' });\n    } catch(e) {\n      return dateStr;\n    }\n  }\n\n  loadArticles(true);\n\n})();\n<\/script>\n<script id=\"tun-news-js-replacement\">\n(function(){\n \n  var API_BASE    = 'https:\/\/www.tun.com\/home\/wp-json\/wp\/v2\/posts';\n  var PER_PAGE    = 9;\n  var currentCat  = 'all';\n  var currentPage = 1;\n  var totalPages  = 1;\n  var currentSearch = '';\n  var debounceTimer = null;\n \n  var CAT_GRADIENTS = {\n    'ai':'img-ai','health':'img-health','health-care':'img-health',\n    'science':'img-science','sustainability':'img-sustain',\n    'climate-and-environment':'img-climate','tech':'img-tech',\n    'education':'img-edu','lifestyle':'img-lifestyle',\n    'food-nutrition':'img-food','career':'img-career',\n    'scholarship':'img-scholarship'\n  };\n \n  var CAT_EMOJIS = {\n    'ai':'&#129302;','health':'&#10084;&#65039;','health-care':'&#129657;',\n    'science':'&#128300;','sustainability':'&#127793;',\n    'climate-and-environment':'&#127757;','tech':'&#128187;',\n    'education':'&#128218;','lifestyle':'&#127775;',\n    'food-nutrition':'&#127828;','career':'&#128188;',\n    'scholarship':'&#127891;','default':'&#128240;'\n  };\n \n  var CAT_COLORS = {\n    'scholarship':'cat-scholarship','ai':'cat-ai','science':'cat-science',\n    'health':'cat-health','health-care':'cat-health','sustainability':'cat-sustain',\n    'climate-and-environment':'cat-climate','tech':'cat-tech','education':'cat-edu',\n    'lifestyle':'cat-lifestyle','food-nutrition':'cat-food','career':'cat-career'\n  };\n \n  \/* \u2500\u2500 DOM refs \u2500\u2500 *\/\n  var grid        = document.getElementById('newsGrid');\n  var featured    = document.getElementById('featuredStory');\n  var loading     = document.getElementById('newsLoading');\n  var loadBtn     = document.getElementById('loadMoreBtn');\n  var searchInput = document.getElementById('newsSearchInput');\n  var clearBtn    = document.getElementById('searchClearBtn');\n  var status      = document.getElementById('searchStatus');\n  var spinner     = document.getElementById('searchSpinner');\n  var statusText  = document.getElementById('searchStatusText');\n  var statusCount = document.getElementById('searchStatusCount');\n  var suggestions = document.getElementById('searchSuggestions');\n  var catBar      = document.getElementById('catBar');\n \n  \/* \u2500\u2500 Helpers \u2500\u2500 *\/\n  function getEmbedded(post, key1, key2) {\n    if (!post._embedded) return null;\n    if (!post._embedded[key1]) return null;\n    if (key2 !== undefined) {\n      if (!post._embedded[key1][key2]) return null;\n      return post._embedded[key1][key2];\n    }\n    return post._embedded[key1];\n  }\n \n  function getCats(post) {\n    var terms = getEmbedded(post, 'wp:term', 0);\n    return terms || [];\n  }\n \n  function getFeaturedImage(post) {\n    var media = getEmbedded(post, 'wp:featuredmedia', 0);\n    if (!media) return '';\n    return media.source_url || '';\n  }\n \n  function decodeHTML(html) {\n    var txt = document.createElement('textarea');\n    txt.innerHTML = html;\n    return txt.value;\n  }\n \n  function stripHTML(html) {\n    var tmp = document.createElement('div');\n    tmp.innerHTML = html;\n    return tmp.textContent || tmp.innerText || '';\n  }\n \n  function formatDate(dateStr) {\n    try {\n      var d = new Date(dateStr);\n      return d.toLocaleDateString('en-US', { year:'numeric', month:'long', day:'numeric' });\n    } catch(e) { return dateStr; }\n  }\n \n  function buildCardHTML(p, isFeatured) {\n    var cats     = getCats(p);\n    var slug     = (cats.length > 0) ? cats[0].slug : 'news';\n    var name     = (cats.length > 0) ? decodeHTML(cats[0].name) : 'News';\n    var color    = CAT_COLORS[slug] || 'cat-ai';\n    var img      = getFeaturedImage(p);\n    var gradClass= CAT_GRADIENTS[slug] || 'img-default';\n    var emoji    = CAT_EMOJIS[slug] || CAT_EMOJIS['default'];\n    var imgStyle = img ? 'background-image:url(' + img + ');' : '';\n    var imgClass = img ? '' : ' ' + gradClass;\n \n    if (isFeatured) {\n      var icon = img ? '' : '<span style=\"font-size:64px;opacity:0.4;\">' + emoji + '<\/span>';\n      return '<a href=\"' + p.link + '\" class=\"featured-story\">'\n        + '<div class=\"featured-story-image' + imgClass + '\" style=\"' + imgStyle + '\">' + icon + '<\/div>'\n        + '<div class=\"featured-story-body\">'\n        + '<div class=\"featured-story-cat ' + color + '\">' + name + '<\/div>'\n        + '<h2>' + decodeHTML(p.title.rendered) + '<\/h2>'\n        + '<p>' + decodeHTML(stripHTML(p.excerpt.rendered)).substring(0, 160) + '...<\/p>'\n        + '<div class=\"featured-story-date\">' + formatDate(p.date) + '<\/div>'\n        + '<div class=\"featured-story-link\">Read article &rarr;<\/div>'\n        + '<\/div><\/a>';\n    } else {\n      var icon2 = img ? '' : '<span style=\"font-size:36px;opacity:0.35;\">' + emoji + '<\/span>';\n      return '<a href=\"' + p.link + '\" class=\"news-card\">'\n        + '<div class=\"news-card-image' + imgClass + '\" style=\"' + imgStyle + '\">' + icon2 + '<\/div>'\n        + '<div class=\"news-card-body\">'\n        + '<div class=\"news-card-cat ' + color + '\">' + name + '<\/div>'\n        + '<h4>' + decodeHTML(p.title.rendered) + '<\/h4>'\n        + '<p>' + decodeHTML(stripHTML(p.excerpt.rendered)).substring(0, 120) + '...<\/p>'\n        + '<div class=\"news-card-date\">' + formatDate(p.date) + '<\/div>'\n        + '<\/div><\/a>';\n    }\n  }\n \n  \/* \u2500\u2500 Search UI state \u2500\u2500 *\/\n  function setSearchActive(term) {\n    currentSearch = term;\n    if (term) {\n      status.classList.add('visible');\n      suggestions.style.display = 'none';\n      catBar.classList.add('search-active');\n      clearBtn.classList.add('visible');\n      spinner.classList.add('visible');\n      statusText.textContent = 'Searching for';\n      statusCount.textContent = '';\n      \/\/ Show term in bold via a span\n      statusText.innerHTML = 'Searching for <span class=\"search-status-term\">&ldquo;' + escapeHTML(term) + '&rdquo;<\/span>';\n    } else {\n      status.classList.remove('visible');\n      suggestions.style.display = 'flex';\n      catBar.classList.remove('search-active');\n      clearBtn.classList.remove('visible');\n      spinner.classList.remove('visible');\n    }\n  }\n \n  function setSearchDone(term, count) {\n    spinner.classList.remove('visible');\n    if (term) {\n      var countStr = count === 0 ? 'No results' : count + ' result' + (count === 1 ? '' : 's');\n      statusText.innerHTML = 'Results for <span class=\"search-status-term\">&ldquo;' + escapeHTML(term) + '&rdquo;<\/span>';\n      statusCount.textContent = countStr;\n    }\n  }\n \n  function escapeHTML(str) {\n    return str.replace(\/&\/g,'&amp;').replace(\/<\/g,'&lt;').replace(\/>\/g,'&gt;').replace(\/\"\/g,'&quot;');\n  }\n \n  \/* \u2500\u2500 No results UI \u2500\u2500 *\/\n  function showNoResults(term) {\n    grid.innerHTML = '<div class=\"search-no-results\">'\n      + '<div class=\"search-no-results-icon\">&#128270;<\/div>'\n      + '<h3>No results for &ldquo;' + escapeHTML(term) + '&rdquo;<\/h3>'\n      + '<p>Try different keywords, or browse by category below.<\/p>'\n      + '<button class=\"search-no-results-btn\" onclick=\"clearSearch()\">&#8592; Back to all news<\/button>'\n      + '<\/div>';\n  }\n \n  \/* \u2500\u2500 Core fetch \u2500\u2500 *\/\n  function loadArticles(isFirst) {\n    var count = (isFirst && !currentSearch) ? PER_PAGE + 1 : PER_PAGE;\n    var url   = API_BASE + '?per_page=' + count + '&page=' + currentPage + '&_embed';\n \n    if (currentSearch) {\n      url += '&search=' + encodeURIComponent(currentSearch);\n    } else if (currentCat !== 'all') {\n      url += '&categories=' + currentCat;\n    }\n \n    if (isFirst) {\n      loading.style.display = 'block';\n      if (loadBtn) { loadBtn.style.display = 'none'; }\n    } else {\n      loading.style.display = 'none';\n      if (loadBtn) { loadBtn.disabled = true; loadBtn.textContent = 'Loading\u2026'; }\n    }\n \n    fetch(url).then(function(r) {\n      totalPages = parseInt(r.headers.get('X-WP-TotalPages') || '1');\n      var total  = parseInt(r.headers.get('X-WP-Total') || '0');\n      return r.json().then(function(posts) { return { posts: posts, total: total }; });\n \n    }).then(function(result) {\n      var posts = result.posts;\n      var total = result.total;\n \n      loading.style.display = 'none';\n \n      if (currentSearch) {\n        setSearchDone(currentSearch, total);\n      }\n \n      if (!posts || posts.length === 0) {\n        if (isFirst) {\n          if (currentSearch) {\n            featured.innerHTML = '';\n            showNoResults(currentSearch);\n          } else {\n            grid.innerHTML = '<div class=\"news-empty\" style=\"grid-column:1\/-1;\"><p>No articles found.<\/p><\/div>';\n          }\n        }\n        if (loadBtn) { loadBtn.style.display = 'none'; }\n        return;\n      }\n \n      var startIdx = 0;\n \n      \/\/ Featured story \u2014 only on first load when NOT searching\n      if (isFirst && !currentSearch) {\n        featured.innerHTML = buildCardHTML(posts[0], true);\n        startIdx = 1;\n      } else if (isFirst && currentSearch) {\n        featured.innerHTML = '';\n      }\n \n      var html = '';\n      for (var i = startIdx; i < posts.length; i++) {\n        html += buildCardHTML(posts[i], false);\n      }\n      if (isFirst) {\n        grid.innerHTML = html;\n      } else {\n        grid.innerHTML += html;\n      }\n \n      \/\/ Animate new cards in\n      grid.querySelectorAll('.news-card:not(.visible)').forEach(function(el) {\n        observer.observe(el);\n      });\n \n      if (currentPage < totalPages) {\n        if (loadBtn) { loadBtn.style.display = 'inline-flex'; loadBtn.disabled = false; loadBtn.textContent = 'Load more articles'; }\n      } else {\n        if (loadBtn) { loadBtn.style.display = 'none'; }\n      }\n \n    }).catch(function() {\n      loading.style.display = 'none';\n      if (currentSearch) { setSearchDone(currentSearch, 0); }\n      grid.innerHTML = '<div class=\"news-empty\" style=\"grid-column:1\/-1;\"><p>Unable to load articles.<\/p><a href=\"https:\/\/www.tun.com\/home\/\">Visit TUN News &rarr;<\/a><\/div>';\n    });\n  }\n \n  \/* \u2500\u2500 Search actions \u2500\u2500 *\/\n  function runSearch(term) {\n    term = (term || '').trim();\n    currentPage = 1;\n    grid.innerHTML = '';\n    featured.innerHTML = '';\n    if (term) {\n      setSearchActive(term);\n    } else {\n      setSearchActive('');\n    }\n    loadArticles(true);\n  }\n \n  window.triggerSearch = function() {\n    var term = searchInput ? searchInput.value.trim() : '';\n    clearTimeout(debounceTimer);\n    runSearch(term);\n  };\n \n  window.clearSearch = function() {\n    if (searchInput) { searchInput.value = ''; }\n    if (clearBtn) { clearBtn.classList.remove('visible'); }\n    currentSearch = '';\n    currentPage   = 1;\n \n    \/\/ Re-enable cat bar\n    catBar.classList.remove('search-active');\n    status.classList.remove('visible');\n    suggestions.style.display = 'flex';\n    spinner.classList.remove('visible');\n \n    grid.innerHTML = '';\n    featured.innerHTML = '';\n    loadArticles(true);\n  };\n \n  window.searchFor = function(term) {\n    if (searchInput) { searchInput.value = term; }\n    if (clearBtn) { clearBtn.classList.add('visible'); }\n    runSearch(term);\n  };\n \n  window.loadMore = function() {\n    currentPage++;\n    loadArticles(false);\n  };\n \n  \/* \u2500\u2500 Search input events \u2500\u2500 *\/\n  if (searchInput) {\n    \/\/ Show\/hide clear button as user types\n    searchInput.addEventListener('input', function() {\n      var val = searchInput.value;\n      if (clearBtn) {\n        if (val.length > 0) { clearBtn.classList.add('visible'); }\n        else { clearBtn.classList.remove('visible'); }\n      }\n      \/\/ Debounced live search \u2014 fires 600ms after user stops typing\n      clearTimeout(debounceTimer);\n      if (val.trim().length >= 3) {\n        debounceTimer = setTimeout(function() {\n          runSearch(val.trim());\n        }, 600);\n      } else if (val.trim().length === 0 && currentSearch) {\n        \/\/ Cleared via keyboard\n        window.clearSearch();\n      }\n    });\n \n    \/\/ Enter key\n    searchInput.addEventListener('keydown', function(e) {\n      if (e.key === 'Enter') {\n        e.preventDefault();\n        clearTimeout(debounceTimer);\n        window.triggerSearch();\n      }\n      if (e.key === 'Escape') {\n        window.clearSearch();\n        searchInput.blur();\n      }\n    });\n  }\n \n  if (clearBtn) {\n    clearBtn.addEventListener('click', function() {\n      window.clearSearch();\n      if (searchInput) { searchInput.focus(); }\n    });\n  }\n \n  \/* \u2500\u2500 Category filter (unchanged logic, wired to new runSearch\/loadArticles) \u2500\u2500 *\/\n  document.querySelectorAll('.cat-btn').forEach(function(btn) {\n    btn.addEventListener('click', function() {\n      \/\/ Don't respond if search is active\n      if (currentSearch) return;\n      document.querySelectorAll('.cat-btn').forEach(function(b) { b.classList.remove('active'); });\n      btn.classList.add('active');\n      currentCat  = btn.dataset.cat;\n      currentPage = 1;\n      grid.innerHTML = '';\n      featured.innerHTML = '';\n      loadArticles(true);\n    });\n  });\n \n  \/* \u2500\u2500 Intersection observer for fade-in \u2500\u2500 *\/\n  var observer = new IntersectionObserver(function(entries) {\n    entries.forEach(function(en) {\n      if (en.isIntersecting) { en.target.classList.add('visible'); }\n    });\n  }, { threshold: 0.10, rootMargin: '0px 0px -30px 0px' });\n \n  document.querySelectorAll('.fade-in').forEach(function(el) { observer.observe(el); });\n \n  \/* \u2500\u2500 Scroll header \u2500\u2500 *\/\n  window.addEventListener('scroll', function() {\n    var h = document.getElementById('siteHeader');\n    if (h) { h.classList.toggle('scrolled', window.scrollY > 20); }\n    var stickyCta = document.getElementById('stickyCta');\n    if (stickyCta) { stickyCta.classList.toggle('visible', window.scrollY > 400); }\n  });\n \n  \/* \u2500\u2500 Initial load \u2500\u2500 *\/\n  loadArticles(true);\n \n})();\n<\/script>\n\n<\/body>\n","protected":false},"excerpt":{"rendered":"<p>News \u2014 TUN TUN News Research and discoveries shaping the future &mdash; published daily, translated into 15+ languages, cited by AI. &#128240; Google News Publisher &#127760; 15+ Languages Search Searching\u2026 Clear search \u2715 Popular: Artificial intelligence Scholarships Climate change Mental health Internships Financial aid All AI Health Climate Education Lifestyle Food Career Loading latest news&#8230; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"sales-pages","meta":{"_acf_changed":false,"_uag_custom_page_level_css":"","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"class_list":["post-34982","page","type-page","status-publish","hentry"],"acf":[],"aioseo_notices":[],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"Magic","author_link":"https:\/\/www.tun.com\/home\/author\/magic\/"},"uagb_comment_info":0,"uagb_excerpt":"News \u2014 TUN TUN News Research and discoveries shaping the future &mdash; published daily, translated into 15+ languages, cited by AI. &#128240; Google News Publisher &#127760; 15+ Languages Search Searching\u2026 Clear search \u2715 Popular: Artificial intelligence Scholarships Climate change Mental health Internships Financial aid All AI Health Climate Education Lifestyle Food Career Loading latest news&#8230;&hellip;","_links":{"self":[{"href":"https:\/\/www.tun.com\/home\/wp-json\/wp\/v2\/pages\/34982","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tun.com\/home\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.tun.com\/home\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.tun.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tun.com\/home\/wp-json\/wp\/v2\/comments?post=34982"}],"version-history":[{"count":4,"href":"https:\/\/www.tun.com\/home\/wp-json\/wp\/v2\/pages\/34982\/revisions"}],"predecessor-version":[{"id":35841,"href":"https:\/\/www.tun.com\/home\/wp-json\/wp\/v2\/pages\/34982\/revisions\/35841"}],"wp:attachment":[{"href":"https:\/\/www.tun.com\/home\/wp-json\/wp\/v2\/media?parent=34982"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}