/* Tour banner (2026-11-25, AGT only). 2027 design: course photo, optional local tour logo,
   tour name in League Gothic, "Golfweek Amateur Tour - 2027 Season" line.
   Built by /new/Site/javascript/tourbanner.js inside the page's .blackHeader .leftSlides
   (so the 76px header offset on .blackHeader stays). Based on the mock-up (artifact XrS21H8NoK6xWmLPVePKWb),
   then made 30% shorter at DCS's request (11-25) to give the tour content more room: 242px tall at 1440 wide (was 345).
   Photo:  /new/Site/themed-images/tour-banners/<tour folder>.jpg, set by tourbanner.js as --tbn-photo with its crop
           focus as --tbn-pos (2026-11-26); tours without a photo keep default.jpg
   Logo:   /new/Site/themed-images/tour-logos/<tour folder>.png (missing file = empty space) */

body.tbn-on .blackHeader .leftSlides > :not(.tbn) { display: none !important; }

.tbn { position: relative; box-sizing: border-box; height: clamp(196px, 16.8vw, 300px); padding: 14px 24px;
       display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; text-align: center;
       color: #F3F1EB; font-family: Montserrat, 'Open Sans', Arial, sans-serif; overflow: hidden;
       background-color: #30383B; background-repeat: no-repeat; background-size: cover; background-position: center, center, var(--tbn-pos, center center);
       background-image: radial-gradient(ellipse 60% 70% at 50% 55%, rgba(23,26,27,.38), rgba(23,26,27,.08) 75%),
                         linear-gradient(180deg, rgba(23,26,27,.15), rgba(23,26,27,0) 40%, rgba(23,26,27,.35)),
                         var(--tbn-photo, url(/new/Site/themed-images/tour-banners/default.jpg)); }
.tbn *, .tbn *::before, .tbn *::after { box-sizing: border-box; }

/* Logo slot: always takes its space so every banner lines up; the image only shows when the file exists */
.tbn__logo { width: clamp(50px, 4.5vw, 68px); height: clamp(50px, 4.5vw, 68px); flex: none; display: flex; align-items: center; justify-content: center; }
.tbn__logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.tbn__logo img.tbn-missing { display: none; }

.tbn__name { margin: 0; font-family: 'League Gothic', Impact, 'Arial Narrow', sans-serif; font-weight: 400; text-transform: uppercase;
             letter-spacing: .01em; font-size: clamp(62px, 7.8vw, 117px); line-height: .88; color: #F3F1EB;
             text-shadow: 0 4px 24px rgba(0,0,0,.45); max-width: 100%; overflow-wrap: anywhere; }
.tbn--long .tbn__name { font-size: clamp(49px, 5.85vw, 94px); }

.tbn__season { margin: 2px 0 0; font-size: clamp(10px, .9vw, 13px); font-weight: 700; letter-spacing: .3em; text-transform: uppercase;
               line-height: 1.4; color: #F3F1EB; text-shadow: 0 2px 10px rgba(0,0,0,.55); }

@media (max-width: 575px) {
  .tbn { height: auto; min-height: 196px; padding: 12px 16px; gap: 6px; }
  .tbn__name { font-size: 65px; }
  .tbn--long .tbn__name { font-size: 47px; }
  .tbn__season { letter-spacing: .2em; }
}
