/* KTHU_V26_APPROVED_HOME – scope everything to the homepage only.
   Hero cropped from the exact user-approved image; announcement data comes from V24 feed. */
.kthu26-home{--k26-gold:#f8d18c;--k26-red:#76140c;box-sizing:border-box;min-height:calc(100vh - 70px);background:radial-gradient(ellipse at center top,#5c2530,#130e16 75%);color:#4e271d;font-family:'Segoe UI',Tahoma,Arial,sans-serif;padding-bottom:42px;position:relative;isolation:isolate}
.kthu26-home *{box-sizing:border-box}
.kthu26-home:before{content:"";position:absolute;inset:26% 0 0;z-index:-1;background:linear-gradient(180deg,rgba(18,10,19,.18),rgba(18,10,19,.87)),url('/assets/kthu26_home_approved.jpg') center top/cover no-repeat;filter:saturate(.86);pointer-events:none}
.kthu26-hero{width:100%;max-width:1536px;margin:0 auto;overflow:hidden;position:relative;box-shadow:0 10px 36px rgba(24,8,18,.38)}
.kthu26-hero picture,.kthu26-hero img{display:block;width:100%}
.kthu26-hero img{height:auto;object-fit:contain;image-rendering:auto}
.kthu26-news-wrap{width:min(95%,1250px);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:15px;margin:-1px auto 0;position:relative;z-index:1}
.kthu26-news-panel{min-width:0;border:3px ridge #c6924e;outline:1px solid #5e271d;border-radius:8px;box-shadow:0 0 0 3px #260e16,0 10px 26px rgba(0,0,0,.5);background:linear-gradient(150deg,#fffaf0,#f0e1c4 88%);overflow:hidden}
.kthu26-news-heading{margin:0;display:flex;gap:10px;align-items:center;padding:10px 13px;min-height:52px;background:linear-gradient(110deg,#530600,#ad1912 52%,#39050b);border-bottom:3px double #a87937;color:var(--k26-gold);text-shadow:0 2px 2px rgba(0,0,0,.65)}
.kthu26-title-icon{flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;border:1px solid #edb567;box-shadow:0 0 0 2px #430a0a inset;font-size:20px;background:#7a160f;color:#ffd98d}
.kthu26-news-heading h2{font:800 clamp(16px,1.7vw,22px)/1.25 'Segoe UI',Tahoma,Arial,sans-serif;letter-spacing:.01em;color:#ffe7a6;margin:0;flex:1}
.kthu26-news-heading a{color:#ffe6a8;font-weight:750;font-size:11px;white-space:nowrap;border:1px solid rgba(231,170,96,.75);padding:7px 9px;border-radius:5px;background:rgba(43,6,7,.5)}
.kthu26-news-heading a:hover{color:#fff8df;background:#8a160d}
.kthu26-news-content{padding:8px 12px;min-height:295px}
.kthu26-news-content .kthu24-feed-list{list-style:none;padding:0;margin:0}
.kthu26-news-content .kthu24-feed-item{display:flex;align-items:center;gap:10px;padding:11px 3px;border-bottom:1px solid #bd946565;min-height:53px}
.kthu26-news-content .kthu24-feed-item:last-child{border-bottom:none}
.kthu26-news-content .kthu24-feed-badge{display:inline-grid;place-items:center;flex:0 0 82px;max-width:82px;font-size:10px;font-weight:800;line-height:1.35;color:#fff3d2;background:linear-gradient(#b82f1b,#8a1b12);border:1px solid #e5ab70;border-radius:5px;padding:5px 3px;text-align:center;overflow-wrap:anywhere}
.kthu26-news-content .kthu24-event-icon{display:grid;place-items:center;flex:0 0 42px;height:39px;font-size:22px;color:#e8a954;border:1px solid #a97840;border-radius:5px;background:linear-gradient(130deg,#41101a,#732917)}
.kthu26-news-content .kthu24-feed-body{flex:1;min-width:0;overflow-wrap:anywhere}
.kthu26-news-content .kthu24-feed-body strong{display:block;color:#8c231a;font-size:14px;font-weight:800;line-height:1.32}
.kthu26-news-content .kthu24-feed-body small{display:block;color:#594938;font-size:11px;line-height:1.3;margin-top:3px}
.kthu26-news-content .kthu24-feed-meta{display:flex;flex-direction:column;gap:2px;text-align:right;flex:0 0 100px;max-width:100px;color:#9b633e;font-size:10px;line-height:1.25}
.kthu26-news-content .kthu24-feed-meta span{font-weight:bold;color:#268344}
.kthu26-news-content .kthu24-empty{margin:0;min-height:270px;display:grid;place-items:center;text-align:center;color:#8c6955;font-size:14px}
@media(max-width:1024px){.kthu26-news-wrap{width:96%;gap:10px}.kthu26-news-content .kthu24-feed-meta{flex-basis:72px;max-width:72px}.kthu26-news-content .kthu24-feed-item{gap:6px}.kthu26-news-heading h2{font-size:16px}.kthu26-news-content{padding:8px}}
@media(max-width:700px){.kthu26-home{padding-bottom:22px}.kthu26-hero{max-width:700px}.kthu26-hero img{height:auto;object-fit:contain}.kthu26-home:before{background-attachment:scroll}.kthu26-news-wrap{margin:8px auto 0;width:calc(100% - 18px);grid-template-columns:1fr;gap:15px}.kthu26-news-content{min-height:160px}.kthu26-news-content .kthu24-empty{min-height:155px}.kthu26-news-heading{min-height:48px;padding:7px 10px}.kthu26-news-heading h2{font-size:16px}.kthu26-news-content .kthu24-feed-item{min-height:45px;padding:9px 0}.kthu26-news-content .kthu24-feed-body strong{font-size:12px}.kthu26-news-content .kthu24-feed-body small{font-size:10px}}
@media(max-width:370px){.kthu26-news-content .kthu24-feed-meta{flex:0 0 57px;max-width:57px;font-size:9px}.kthu26-news-content .kthu24-feed-badge{flex-basis:58px;max-width:58px;font-size:8px}.kthu26-news-heading h2{font-size:14px}.kthu26-title-icon{width:27px;height:27px}}
/* Give the pre-existing navigation the approved gold/crimson look on home only. */
body:has(.kthu26-home) .top{background:linear-gradient(180deg,#140f16,#100d12);border-bottom:2px solid #9a5733;box-shadow:0 5px 18px rgba(0,0,0,.45)}
body:has(.kthu26-home) .brand{color:#f6c777;text-shadow:0 1px 6px #8a2c18}
body:has(.kthu26-home) .site-nav a[href="/"]{color:#ffe8a0;background:linear-gradient(#7e1e19,#3b1218);border-bottom:2px solid #e7b061;padding-left:13px;padding-right:13px}
body:has(.kthu26-home) .site-nav a:hover{color:#ffe2a0}
