/* Home page sections under the banner (draft 2026-10-22).
   Left-aligned, alternating light and navy bands; one warm accent (ember)
   for actions. Everything is scoped to .jt-home. */
.jt-home { --navy: #0A406B; --navy-deep: #072f4f; --ice: #BBEFFF; --mist: #F2F6F9; --ink: #1d2a36; --ember: #FF8A3D; color: var(--ink); }
.jt-home section { padding: 96px 0; }
.jt-home .jt-h2 { font-family: Raleway, "Helvetica Neue", Arial, sans-serif; font-weight: 800; font-size: clamp(1.9rem, 3vw, 2.75rem);
  line-height: 1.12; letter-spacing: -.015em; text-transform: none; color: inherit; margin: 0 0 18px; text-align: left; }
.jt-home .jt-h3 { font-family: Raleway, "Helvetica Neue", Arial, sans-serif; font-weight: 700; font-size: 1.25rem; margin: 0 0 14px; color: inherit; text-transform: none; letter-spacing: 0; }
.jt-home p { font-size: 1.1rem; line-height: 1.65; }
.jt-home a { color: inherit; }
.jt-head { max-width: 46rem; margin-bottom: 40px; }
.jt-head p { opacity: .85; margin: 0; }

/* Intro */
.jt-intro { background: #fff; }
.jt-intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
.jt-intro .jt-h2 { color: var(--navy); font-size: clamp(2rem, 3.4vw, 3rem); margin: 0; }
.jt-intro p { margin: 0 0 22px; max-width: 38rem; }
.jt-links { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.jt-links a { font-weight: 700; color: var(--navy); text-decoration: underline; text-decoration-color: var(--ember); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.jt-links a:hover { color: var(--navy-deep); text-decoration-color: var(--navy); }

/* Videos */
.jt-videos { background: var(--navy); color: #fff; }
.jt-video-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: stretch; }
.jt-feature { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: #000; cursor: pointer; aspect-ratio: 16 / 9; }
.jt-feature img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.jt-feature:hover img { transform: scale(1.03); }
.jt-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,28,48,.75) 0%, rgba(4,28,48,0) 45%); }
.jt-play { position: absolute; z-index: 1; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: rgba(255,255,255,.95); box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.jt-play::before { content: ""; position: absolute; left: 31px; top: 24px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent var(--navy); }
.jt-feature-title { position: absolute; z-index: 1; left: 24px; bottom: 20px; right: 24px; text-align: left; color: #fff; font-family: Raleway, "Helvetica Neue", Arial, sans-serif; font-weight: 700; font-size: 1.35rem; }
.jt-vlist { list-style: none; margin: 0; padding: 0 6px 0 0; overflow-y: auto; max-height: 100%; display: grid; gap: 8px; align-content: start; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.35) transparent; }
.jt-video-grid > .jt-vlist { max-height: calc((min(100vw, 1140px) - 24px) * 7 / 12 * 9 / 16); }
.jt-vrow { display: flex; align-items: center; gap: 14px; width: 100%; padding: 8px; border: 0; border-radius: 10px; background: rgba(255,255,255,.06); color: #fff; text-align: left; font: inherit; cursor: pointer; transition: background-color .2s; }
.jt-vrow:hover { background: rgba(255,255,255,.14); }
.jt-vrow img { width: 112px; height: 63px; object-fit: cover; border-radius: 6px; flex: none; }
.jt-vrow span { font-weight: 700; font-size: .98rem; line-height: 1.3; }
.jt-feature:focus-visible, .jt-vrow:focus-visible, .jt-btn:focus-visible, .jt-brand:focus-visible, .jt-links a:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; }

/* Brands */
.jt-brands { background: var(--mist); }
.jt-brands .jt-h2 { color: var(--navy); margin-bottom: 32px; }
.jt-brand-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.jt-brand { display: grid; grid-template-rows: auto 1fr; background: #fff; border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: 0 1px 0 rgba(10,64,107,.06); }
.jt-brand:hover { text-decoration: none; color: var(--ink); }
.jt-brand-photo { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; object-position: center 58%; transition: transform .6s ease; }
.jt-brand:hover .jt-brand-photo { transform: scale(1.04); }
.jt-brand-body { display: flex; flex-direction: column; gap: 14px; padding: 28px 30px 30px; }
.jt-brand-logo { height: 44px; width: auto; max-width: 180px; object-fit: contain; object-position: left center; }
.jt-brand-text { font-size: 1.05rem; line-height: 1.55; color: #3b4a57; }
.jt-brand-cta { font-weight: 700; color: var(--navy); text-decoration: underline; text-decoration-color: var(--ember); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* News (markup comes from news-part.php, shared with the live page, so it is
   restyled here rather than edited) */
.jt-news .news_events_wrap { background: #fff; padding: 96px 0; }
.jt-news .news_events_wrap > .container > .title { font-family: Raleway, "Helvetica Neue", Arial, sans-serif; font-weight: 800;
  font-size: clamp(1.9rem, 3vw, 2.75rem); line-height: 1.12; letter-spacing: -.015em; text-transform: none; color: #0A406B;
  text-align: left; width: auto; margin: 0 0 36px; padding: 0; border: 0; }
.jt-news .news_events_wrap > .container > .title span { display: none; }
.jt-news .welcome_right_text .title { font-family: Raleway, "Helvetica Neue", Arial, sans-serif; font-weight: 800; text-transform: none;
  font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.2; color: #0A406B; border: 0; padding: 0; }
.jt-news .welcome_right_text p { font-size: 1.05rem; line-height: 1.65; }
.jt-news .btn-wrap .btn-danger { background: #0A406B; border: 2px solid #0A406B; color: #fff; border-radius: 999px; padding: 10px 22px; font-weight: 700; text-transform: none; }
.jt-news .btn-wrap .btn-danger:hover { background: #072f4f; border-color: #072f4f; }

/* Help + FAQ */
.jt-help { background: var(--mist); }
.jt-help-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.jt-help-contact { position: sticky; top: 110px; }
.jt-help .jt-h2 { color: var(--navy); }
.jt-help-contact p { max-width: 30rem; }
.jt-phone { display: block; font-family: Raleway, "Helvetica Neue", Arial, sans-serif; font-weight: 800; font-size: clamp(1.8rem, 2.6vw, 2.3rem); color: var(--navy) !important; text-decoration: none; margin: 8px 0 4px; }
.jt-email { display: inline-block; font-size: 1.1rem; color: var(--navy) !important; margin-bottom: 26px; }
.jt-help-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.jt-btn { display: inline-block; border-radius: 999px; padding: 12px 22px; font-weight: 700; font-size: 1rem; border: 2px solid var(--navy); background: var(--navy); color: #fff !important; text-decoration: none; cursor: pointer; }
.jt-btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); text-decoration: none; }
.jt-btn--line { background: transparent; color: var(--navy) !important; }
.jt-btn--line:hover { background: #fff; }
.jt-faq .accordion-item { background: #fff; border: 0; border-radius: 12px !important; margin-bottom: 10px; overflow: hidden; }
.jt-faq .accordion-header { margin: 0; }
.jt-faq .accordion-button { font-family: Lato, "Helvetica Neue", Arial, sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--ink); background: #fff; padding: 18px 22px; box-shadow: none; text-transform: none; }
.jt-faq .accordion-button:not(.collapsed) { color: var(--navy); background: #fff; }
.jt-faq .accordion-button:focus { box-shadow: inset 0 0 0 3px var(--ember); }
.jt-faq .accordion-body { padding: 0 22px 20px; font-size: 1rem; line-height: 1.6; color: #3b4a57; }
.jt-faq .accordion-body a { color: var(--navy); }

/* Retailers */
.jt-stores { background: var(--navy-deep); color: #fff; }
.jt-stores p { opacity: .85; margin: 0 0 40px; }
.jt-logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.jt-logos li { display: flex; align-items: center; justify-content: center; height: 96px; padding: 18px; border-radius: 12px; background: rgba(255,255,255,.05); }
.jt-logos img { width: 100%; height: 48px; object-fit: contain; opacity: .9; }

@media (max-width: 991px) {
  .jt-home section { padding: 64px 0; }
  .jt-intro-grid, .jt-video-grid, .jt-help-grid, .jt-brand-grid { grid-template-columns: 1fr; gap: 28px; }
  .jt-video-grid > .jt-vlist { max-height: 340px; }
  .jt-help-contact { position: static; }
  .jt-logos { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 575px) {
  .jt-logos { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .jt-play { width: 56px; height: 56px; margin: -28px 0 0 -28px; top: 42%; }
  .jt-play::before { left: 22px; top: 17px; border-width: 11px 0 11px 17px; }
  .jt-feature-title { font-size: 1.05rem; left: 16px; bottom: 12px; }
  .jt-logos li { height: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  .jt-feature img, .jt-brand-photo, .jt-vrow { transition: none; }
  .jt-feature:hover img, .jt-brand:hover .jt-brand-photo { transform: none; }
}

/* Shared video player (home page videos come from the admin's Videos page) */
.jt-player { background: #000; border: 0; border-radius: 14px; overflow: hidden; }
.jt-player .modal-header { background: #072f4f; color: #fff; border: 0; padding: 12px 18px; }
.jt-player .modal-title { font-family: Raleway, "Helvetica Neue", Arial, sans-serif; font-weight: 700; font-size: 1.1rem; color: #fff; }
.jt-player .btn-close { filter: invert(1) grayscale(1) brightness(2); }
.jt-player video { display: block; width: 100%; max-height: 80vh; background: #000; }

/* News & events (home): up to three cards from tbl_events */
.jt-news2 { background: #fff; }
.jt-news-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; margin-bottom: 32px; }
.jt-news-head .jt-h2 { color: var(--navy); margin: 0; }
.jt-more { font-weight: 700; color: var(--navy) !important; text-decoration: underline; text-decoration-color: var(--ember); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.jt-news-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.jt-news-card { display: flex; flex-direction: column; gap: 10px; height: 100%; text-decoration: none; color: var(--ink); }
.jt-news-card:hover { text-decoration: none; color: var(--ink); }
.jt-news-img { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--mist); margin-bottom: 6px; }
.jt-news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.jt-news-card:hover .jt-news-img img { transform: scale(1.04); }
.jt-news-tag { position: absolute; left: 12px; top: 12px; background: rgba(7, 47, 79, .88); color: #fff; font-size: .82rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.jt-news-title { font-family: Raleway, "Helvetica Neue", Arial, sans-serif; font-weight: 700; font-size: 1.25rem; line-height: 1.25; color: var(--navy); }
.jt-news-card:hover .jt-news-title { text-decoration: underline; text-decoration-color: var(--ember); text-underline-offset: 4px; }
.jt-news-text { font-size: 1rem; line-height: 1.55; color: #3b4a57; }
.jt-news-card:focus-visible { outline: 3px solid var(--ember); outline-offset: 4px; border-radius: 14px; }
@media (max-width: 991px) { .jt-news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .jt-news-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .jt-news-img img { transition: none; } .jt-news-card:hover .jt-news-img img { transform: none; } }
