/* Final homepage refinements: reference-matched enquiry, labels and update cards. */

body .ts-refreshed.premium-home .ts-message-section .ts-message-title > .refresh-kicker {
  min-height: 47px !important;
  padding: 0 24px !important;
  border: 1px solid rgba(241, 90, 58, 0.28) !important;
  border-radius: 999px !important;
  background: #fff0e9 !important;
  color: var(--ts-navy) !important;
  box-shadow: none !important;
}

body .ts-refreshed.premium-home .ts-message-section .ts-message-title > .refresh-kicker::before {
  width: 15px !important;
  height: 15px !important;
  flex-basis: 15px !important;
  background: var(--ts-orange) !important;
}

body .ts-refreshed.premium-home .nori-enquiry {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr) !important;
  align-items: start !important;
  gap: clamp(52px, 7vw, 112px) !important;
  padding-top: 100px !important;
  padding-bottom: 100px !important;
  border-radius: 0 !important;
  background: #fff !important;
}

body .ts-refreshed.premium-home .nori-enquiry::before {
  z-index: 0 !important;
  top: 112px !important;
  right: 48% !important;
  width: 130px !important;
  height: 74px !important;
  border-top: 3px solid var(--ts-navy) !important;
  opacity: 0.2 !important;
}

body .ts-refreshed.premium-home .nori-enquiry-copy,
body .ts-refreshed.premium-home .nori-enquiry-form {
  position: relative !important;
  z-index: 1 !important;
}

body .ts-refreshed.premium-home .nori-enquiry-copy h2 {
  margin: 0 !important;
  text-align: left !important;
  font-size: clamp(44px, 4.7vw, 70px) !important;
  line-height: 1.08 !important;
}

body .ts-refreshed.premium-home .nori-enquiry-copy > p {
  max-width: 720px !important;
  margin: 34px 0 42px !important;
  font-size: 17px !important;
  line-height: 1.8 !important;
}

body .ts-refreshed.premium-home .nori-contact-icon {
  width: 48px !important;
  height: 48px !important;
  flex-basis: 48px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--ts-navy) !important;
}

body .ts-refreshed.premium-home .nori-contact-icon svg {
  width: 38px !important;
  height: 38px !important;
  stroke-width: 2 !important;
}

body .ts-refreshed.premium-home .nori-contact-item:hover .nori-contact-icon {
  background: transparent !important;
  color: var(--ts-orange) !important;
  transform: translateY(-3px) rotate(-4deg) !important;
}

body .ts-refreshed.premium-home .nori-contact-item strong { font-size: 19px !important; }
body .ts-refreshed.premium-home .nori-contact-item small { font-size: 15px !important; }

body .ts-refreshed.premium-home .nori-enquiry-form {
  padding: 22px 0 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body .ts-refreshed.premium-home .nori-enquiry-form .form-grid { gap: 30px 36px !important; }
body .ts-refreshed.premium-home .nori-enquiry-form label { font-size: 16px !important; }

body .ts-refreshed.premium-home .nori-enquiry-form :is(input, select, textarea) {
  padding: 13px 0 !important;
  border-bottom: 2px solid #e5e5e7 !important;
}

body .ts-refreshed.premium-home .nori-enquiry-form :is(input, select, textarea):focus {
  border-color: var(--ts-orange) !important;
}

body .ts-refreshed.premium-home .nori-enquiry-form textarea { min-height: 145px !important; }

body .ts-refreshed.premium-home .nori-submit {
  min-height: 74px !important;
  padding: 0 8px 0 30px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--ts-orange) !important;
  box-shadow: none !important;
  font-size: 17px !important;
  justify-content: center !important;
}

body .ts-refreshed.premium-home .nori-submit span:first-child { margin: auto !important; }

body .ts-refreshed.premium-home .nori-submit span:last-child {
  width: 54px !important;
  height: 54px !important;
  flex: 0 0 54px !important;
  border: 2px solid #fff !important;
  background: transparent !important;
  transition: transform 0.25s ease !important;
}

body .ts-refreshed.premium-home .nori-submit:hover {
  background: var(--ts-navy) !important;
  transform: translateY(-3px) !important;
}

body .ts-refreshed.premium-home .nori-submit:hover span:last-child { transform: rotate(45deg) !important; }

body .ts-refreshed.premium-home .updates-grid .panel::before {
  left: 24px !important;
  right: 24px !important;
  width: auto !important;
  background: var(--ts-orange) !important;
}

body .ts-refreshed.premium-home .updates-grid .event-row h4 { color: var(--ts-navy) !important; }

body .ts-refreshed.premium-home .updates-grid .timing-row {
  position: relative !important;
  margin: 2px -10px !important;
  padding: 13px 10px !important;
  border-radius: 12px !important;
  border-bottom: 1px solid rgba(241, 90, 58, 0.24) !important;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease !important;
}

body .ts-refreshed.premium-home .updates-grid .timing-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 0;
  border-radius: 5px;
  background: var(--ts-orange);
  transform: translateY(-50%);
  transition: height 0.25s ease !important;
}

body .ts-refreshed.premium-home .updates-grid .timing-row:hover {
  background: var(--ts-orange) !important;
  color: #fff !important;
  transform: translateX(5px) !important;
  box-shadow: 0 10px 24px rgba(241, 90, 58, 0.22) !important;
}

body .ts-refreshed.premium-home .updates-grid .timing-row:hover::before {
  height: 70% !important;
  background: #fff !important;
}

body .ts-refreshed.premium-home .updates-grid .timing-row:hover :is(span, b) { color: #fff !important; }

/* Reference-style interactive rows for Events and Notice Board. */
body .ts-refreshed.premium-home .updates-grid .event-row,
body .ts-refreshed.premium-home .updates-grid .notice-row {
  margin: 2px -10px !important;
  padding: 14px 10px !important;
  border-radius: 14px !important;
  border-bottom: 1px solid rgba(241, 90, 58, 0.2) !important;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease !important;
}

body .ts-refreshed.premium-home .updates-grid .event-row:hover,
body .ts-refreshed.premium-home .updates-grid .notice-row:hover {
  background: #fff5f0 !important;
  border-bottom-color: var(--ts-orange) !important;
  transform: translateX(5px) !important;
  box-shadow: 0 12px 28px rgba(241, 90, 58, 0.1) !important;
}

body .ts-refreshed.premium-home .updates-grid .event-row .date,
body .ts-refreshed.premium-home .updates-grid .notice-row > span {
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.25s ease !important;
}

body .ts-refreshed.premium-home .updates-grid .event-row:hover .date,
body .ts-refreshed.premium-home .updates-grid .notice-row:hover > span {
  border-color: var(--ts-orange) !important;
  background: var(--ts-orange) !important;
  color: #fff !important;
  transform: rotate(-3deg) scale(1.03) !important;
}

body .ts-refreshed.premium-home .updates-grid .event-row:hover .date :is(b, span),
body .ts-refreshed.premium-home .updates-grid .notice-row:hover > span {
  color: #fff !important;
}

body .ts-refreshed.premium-home .updates-grid .event-row:hover h4,
body .ts-refreshed.premium-home .updates-grid .notice-row:hover b {
  color: var(--ts-orange) !important;
}

/* Blog cards keep a simple editorial text link, not a button bar. */
body .ts-refreshed.premium-home .blog-grid article .story-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: auto !important;
  gap: 8px !important;
  margin-top: 18px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--ts-navy) !important;
}

body .ts-refreshed.premium-home .blog-grid article .story-link span {
  width: auto !important;
  height: auto !important;
  display: inline !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--ts-orange) !important;
  transform: none !important;
}

body .ts-refreshed.premium-home .blog-grid article .story-link:hover {
  color: var(--ts-orange) !important;
  transform: translateX(4px) !important;
}

@media (max-width: 1050px) {
  body .ts-refreshed.premium-home .nori-enquiry { grid-template-columns: 1fr !important; }
  body .ts-refreshed.premium-home .nori-enquiry-copy h2 { text-align: center !important; }
}

@media (max-width: 700px) {
  body .ts-refreshed.premium-home .nori-enquiry {
    padding-top: 68px !important;
    padding-bottom: 68px !important;
    gap: 38px !important;
  }

  body .ts-refreshed.premium-home .nori-enquiry-copy h2 { font-size: clamp(38px, 11vw, 50px) !important; }
  body .ts-refreshed.premium-home .nori-enquiry-form { padding: 0 !important; }
  body .ts-refreshed.premium-home .nori-submit { min-height: 62px !important; }

  body .ts-refreshed.premium-home .nori-submit span:last-child {
    width: 46px !important;
    height: 46px !important;
    flex-basis: 46px !important;
  }
}

/* One visual language for every homepage section label. */
body .ts-refreshed.premium-home :is(.label, .refresh-kicker, .section-kicker, .ts-message-title > .refresh-kicker) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  padding: 0 20px !important;
  border: 1px solid rgba(241, 90, 58, 0.28) !important;
  border-radius: 999px !important;
  background: #fff0e9 !important;
  color: var(--ts-navy) !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

body .ts-refreshed.premium-home :is(.label, .refresh-kicker, .section-kicker, .ts-message-title > .refresh-kicker)::before {
  content: "" !important;
  display: inline-block !important;
  width: 10px !important;
  height: 10px !important;
  margin-right: 10px !important;
  border-radius: 50% !important;
  background: var(--ts-orange) !important;
  box-shadow: 0 0 0 5px rgba(241, 90, 58, 0.13) !important;
}

/* Latest Updates uses the same warm paper background as adjacent sections. */
body .ts-refreshed.premium-home .updates {
  background: var(--ts-paper, #f7f4ef) !important;
  color: var(--ts-navy) !important;
}

body .ts-refreshed.premium-home .updates::before,
body .ts-refreshed.premium-home .updates::after { display: none !important; }

body .ts-refreshed.premium-home .updates :is(.updates-heading, .section-subtitle) {
  color: var(--ts-navy) !important;
  opacity: 1 !important;
}

body .ts-refreshed.premium-home .updates .section-subtitle { color: #5f6575 !important; }

/* Suppress legacy generated arrows: each action keeps only its authored icon. */
body .ts-refreshed.premium-home .story-link::before,
body .ts-refreshed.premium-home .story-link::after,
body .ts-refreshed.premium-home .nori-submit::before,
body .ts-refreshed.premium-home .nori-submit::after { content: none !important; display: none !important; }

/* Full video gallery: all unique videos, premium image-led cards. */
.all-video-grid {
  width: min(1320px, calc(100% - 40px));
  margin: 48px auto 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.all-video-card {
  position: relative;
  min-height: 270px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  background: var(--ts-navy, #202540);
  box-shadow: 0 18px 45px rgba(32, 37, 64, 0.14);
  cursor: pointer;
  isolation: isolate;
}

.all-video-card img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
  transition: transform .55s ease, filter .55s ease;
}

.all-video-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: 1fr auto;
  align-items: end;
  gap: 14px;
  padding: 20px;
  color: #fff;
  background: linear-gradient(180deg, rgba(20,24,44,.05) 28%, rgba(20,24,44,.9) 100%);
}

.all-video-number {
  position: absolute;
  top: 18px;
  left: 18px;
  min-width: 42px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
  background: rgba(32,37,64,.55);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  backdrop-filter: blur(8px);
}

.all-video-play {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 50%;
  background: var(--ts-orange, #f58220);
  font-size: 16px;
  box-shadow: 0 10px 24px rgba(245,130,32,.35);
  transition: transform .3s ease, background .3s ease;
}

.all-video-title {
  align-self: center;
  text-align: left;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

.all-video-card:hover img { transform: scale(1.07); filter: saturate(1.08); }
.all-video-card:hover .all-video-play { transform: scale(1.1); background: #fff; color: var(--ts-orange, #f58220); }

@media (max-width: 980px) { .all-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .all-video-grid { width: min(100% - 28px, 540px); grid-template-columns: 1fr; gap: 18px; }
  .all-video-card, .all-video-card img { min-height: 225px; }
}

/* Cover carousel: the supplied 16:9 artwork remains the visual itself. */
body .ts-refreshed.premium-home .hero {
  position: relative !important;
  min-height: 0 !important;
  aspect-ratio: 16 / 9 !important;
  align-items: stretch !important;
  overflow: hidden !important;
  background: var(--ts-navy, #202540) !important;
}

.hero-cover-slider,
.hero-cover-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-cover-slide {
  object-fit: cover;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity .9s ease, transform 6.5s ease;
}

.hero-cover-slide.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}

.hero-cover-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 24px;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
}

.hero-cover-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 999px;
  background: rgba(255,255,255,.5);
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}

.hero-cover-dots button.is-active {
  width: 34px;
  background: var(--ts-orange, #f58220);
}

@media (max-width: 760px) {
  body .ts-refreshed.premium-home .hero {
    margin-top: 0 !important;
    border-radius: 0 0 22px 22px !important;
  }
  .hero-cover-dots { bottom: 12px; }
  .hero-cover-dots button { width: 8px; height: 8px; }
  .hero-cover-dots button.is-active { width: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-cover-slide { transition: none; transform: none; }
}
