/* Small improvements to the retained design. Brand blue + pink; branch accents. */
.tr-home-band{--branch-tone:#023f87;box-sizing:border-box;color:#173452;background:#fff;font:16px/1.6 Arial,sans-serif;width:100%;min-width:0;clear:both;overflow-wrap:anywhere}
.tr-home-band *{box-sizing:border-box}.tr-home-band[hidden],.tr-home-band [hidden]{display:none!important}
.tr-home-band .tr-home-wrap{width:min(1120px,calc(100% - 40px));margin:auto;padding:24px 0}
.tr-home-band h2{font:600 clamp(23px,3vw,32px)/1.25 Arial,sans-serif;color:#023f87;margin:0 0 16px;letter-spacing:-.02em}
.tr-home-band h3{font:600 clamp(20px,2.4vw,27px)/1.3 Arial,sans-serif;color:#023f87;margin:10px 0}
.tr-home-band p{margin:8px 0 16px}.tr-home-band a{color:#023f87;text-underline-offset:4px}
.tr-home-band a:focus-visible,.tr-home-band button:focus-visible,.tr-home-band summary:focus-visible{outline:3px solid #b02a5a;outline-offset:3px}
.tr-home-actions{display:grid;grid-template-columns:repeat(4,1fr);border-block:1px solid #dce4ec;background:#f5f7f9}
.tr-home-actions a{display:flex;align-items:center;justify-content:space-between;min-height:64px;gap:12px;padding:16px;border-bottom:3px solid var(--branch-tone);font-weight:600;text-decoration:none}
.tr-home-actions a:hover{background:#fff0f5}.tr-home-actions a+a{border-left:1px solid #dce4ec}
.tr-event-carousel{border:1px solid #dce4ec;border-top:4px solid var(--branch-tone);background:#f5f7f9}
.tr-event-slide{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);min-width:0;margin:0}
.tr-event-slide>a{display:flex;align-items:center;justify-content:center;min-height:260px;background:#eef1f4}
.tr-event-slide img{display:block;width:100%;height:320px;object-fit:contain}
.tr-event-copy{padding:24px;min-width:0}.tr-event-copy .tr-event-date{font-weight:700;color:#023f87}
.tr-event-copy a{display:inline-flex;align-items:center;min-height:44px}
.tr-slide-controls{display:flex;align-items:center;gap:12px;padding:12px 16px;border-top:1px solid #dce4ec}
.tr-slide-controls button{font:inherit;min-width:44px;min-height:44px;border:1px solid #b8c8d9;background:#fff;color:#023f87;border-radius:4px;cursor:pointer}
.tr-slide-controls .tr-slide-count{margin-left:auto}.tr-home-band details{margin-top:18px;border-block:1px solid #dce4ec;padding:10px 0}
.tr-home-band summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:600;color:#023f87}.tr-home-band summary:after{content:' +';margin-left:auto}
.tr-home-band details[open]>summary:after{content:' −'}.tr-home-band .tr-home-notes{padding-bottom:12px}
.tr-home-band #trbs-seasonal-corrections,.tr-home-band #trbs-current-programmes{padding:16px 0!important;background:#fff!important}
.tr-home-band .tr-branch-list{display:flex;gap:16px;flex-wrap:wrap;align-items:center;margin-top:18px}.tr-home-band .tr-branch-list a{min-height:44px;display:flex;align-items:center}
.tr-home-band .tr-branch-logo{width:96px;height:96px;object-fit:contain;flex:none}.tr-home-band .tr-brandline{display:flex;align-items:center;gap:18px;margin-bottom:18px}
.tr-home-band .tr-brandline p{margin:0}.tr-home-band .tr-brandline strong{display:block;color:#023f87;font-size:19px}
.tr-home-band[data-branch=puchong]{--branch-tone:#f05b89}.tr-home-band[data-branch=klang]{--branch-tone:#3f5577}.tr-home-band[data-branch=heights]{--branch-tone:#023f87}.tr-home-band[data-branch=pj]{--branch-tone:#ad7e27}.tr-home-band[data-branch=bangsar]{--branch-tone:#e6cc20}.tr-home-band[data-branch=bentong]{--branch-tone:#ed482e}.tr-home-band[data-branch=cheras]{--branch-tone:#302728}
.tr-home-band .tr-community-links{display:flex;flex-wrap:wrap;gap:8px 24px;padding-top:10px}.tr-home-band .tr-community-links a{min-height:44px;display:flex;align-items:center}
body[data-trbs-site=app] .hero{margin-top:0}.restored-home .society-highlights{padding-top:30px}.restored-home .society-slideshow .temple-frames img{object-fit:contain}
@media(max-width:650px){.tr-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.tr-home-actions a{padding:12px;font-size:15px}.tr-event-slide{grid-template-columns:1fr}.tr-event-slide img{height:240px}.tr-event-slide>a{min-height:200px}.tr-event-copy{padding:18px}.tr-home-band .tr-home-wrap{width:calc(100% - 28px);padding:20px 0}.tr-home-band .tr-branch-logo{width:76px;height:76px}}
@media(prefers-reduced-motion:reduce){.tr-home-band *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* App-inspired branch experience: photography stays native; practical content becomes one coherent band. */
.tr-home-band{--tr-blue:#023f87;--tr-pink:#ef5687;--tr-line:#dce4ec}
.tr-home-band .tr-home-wrap{width:min(1240px,calc(100% - 48px));padding:24px 0 40px}
.tr-home-band .tr-brandline{gap:14px;margin-bottom:20px}.tr-home-band .tr-branch-logo{width:68px;height:68px;border-radius:3px}
.tr-home-band .tr-brandline strong{font-size:21px}.tr-home-band .tr-brandline a{font-size:14px}
.tr-community-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(270px,1fr);gap:32px;margin:36px 0 0;align-items:start}
.tr-home-band .tr-eyebrow{color:#023f87;font-weight:700;font-size:13px;letter-spacing:.02em;margin:0 0 10px;display:flex;align-items:center;gap:10px}
.tr-home-band .tr-eyebrow:before{content:'';width:24px;height:2px;background:#ef5687;flex:none}
.tr-home-band .tr-event-slide{grid-template-columns:minmax(0,1fr)}
.tr-home-band .tr-event-slide>a{background:#eef2f6;min-height:0}
.tr-home-band .tr-event-slide img{height:300px}
.tr-home-band .tr-event-copy{padding:20px 24px;background:#fff}.tr-home-band .tr-event-copy h3{font-size:23px;margin:8px 0}.tr-home-band .tr-event-copy p{margin:0 0 8px}
.tr-home-band .tr-event-carousel{border-radius:6px;overflow:hidden;border-top:3px solid var(--branch-tone)}
.tr-home-band .tr-slide-controls{background:#f3f6fa}.tr-home-band .tr-slide-controls button:hover{background:#023f87;color:white}
.tr-home-band .tr-visit-card{background:#f2f6fb;border-top:3px solid var(--branch-tone);padding:25px;border-radius:3px;color:#173452;min-width:0}
.tr-home-band .tr-visit-card h2{font-size:26px}.tr-home-band .tr-visit-card address{font-style:normal;font-size:15px;border-top:1px solid #d5dfeb;padding-top:16px;margin:18px 0 8px}
.tr-home-band .tr-visit-note{font-size:16px;line-height:1.7}.tr-home-band .tr-visit-actions{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.tr-home-band .tr-visit-actions a{min-height:44px;display:flex;align-items:center;overflow-wrap:anywhere}
.tr-home-band .tr-visit-actions .tr-solid-link{background:#023f87;color:white;padding:10px 16px;margin-top:10px;border-radius:4px;text-decoration:none;font-weight:600}
.tr-home-band .tr-visit-footnote{font-size:14px;margin:16px 0 0}
.tr-home-band .tr-pathways{margin-top:36px;padding-top:32px;border-top:1px solid #dce4ec}
.tr-pathway-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.tr-home-band .tr-pathway-card{display:flex;flex-direction:column;position:relative;gap:12px;border:1px solid #dce4ec;border-top:3px solid var(--branch-tone);padding:24px;background:white;text-decoration:none;border-radius:4px;min-width:0}
.tr-home-band .tr-pathway-card:hover{background:#f3f6fa;border-color:#023f87}.tr-pathway-title{font-weight:700;font-size:20px;line-height:1.3}.tr-pathway-desc{font-size:16px;line-height:1.65;color:#3b4f61}.tr-pathway-arrow{align-self:flex-end;margin-top:auto;color:#023f87}
.tr-home-band .tr-section-directory{margin-top:24px}.tr-section-directory nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 20px;padding:8px 0 20px}.tr-section-directory nav a{min-height:44px;display:flex;align-items:center;font-size:15px}
.tr-home-band .tr-event-empty{padding:28px;background:#f3f6fa;border-left:3px solid var(--branch-tone)}
.tr-home-band .tr-community-links{font-size:14px;gap:0 18px}.tr-home-band .tr-programme-archive .ts-wrap{width:100%}
#tr-community-events{scroll-margin-top:140px}
@media(max-width:900px){.tr-community-layout{grid-template-columns:1fr;gap:24px}.tr-home-band .tr-visit-card{display:block}.tr-pathway-grid{grid-template-columns:1fr}.tr-section-directory nav{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.tr-home-band .tr-home-wrap{width:calc(100% - 32px);padding:20px 0 28px}.tr-home-band .tr-branch-logo{width:60px;height:60px}.tr-home-band .tr-brandline strong{font-size:18px}.tr-community-layout{margin-top:28px}.tr-home-band .tr-event-slide img{height:270px}.tr-home-band .tr-event-copy{padding:18px}.tr-home-band .tr-event-copy h3{font-size:22px}.tr-home-band .tr-visit-card{padding:22px}.tr-home-band .tr-pathway-card{padding:20px}.tr-section-directory nav{grid-template-columns:1fr}}
