/* Homepage-only layout and responsive behavior.
 * Owns the one stacked search form inside .tn-home-hero.
 * Do not reintroduce the retired horizontal search bar rules.
 */
.tn-home {
  --home-gutter:clamp(22px,2.2vw,42px);
  padding-top:0;
  max-width:1484px;
  width:calc(100% - 80px);
  padding-bottom:50px;
}

.tn-home-hero:before {
  content:"";
  position:absolute;
  inset:0;
  background:url("/img/ticketneon-concert-hero.webp?v=20261122") center 55%/cover no-repeat;
  z-index:-2;
}

.tn-home-hero-shade {
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(90deg,#07091ded 0%,#080a20e8 23%,#0b0824ac 43%,#0a092747 65%,#10062b26 100%),linear-gradient(0deg,#080b21ba 0%,transparent 40%,#0c072248 100%);
}

.tn-home-hero-copy {
  position:relative;
  z-index:1;
  padding:28px 24px 38px;
  max-width:730px;
}

.tn-home-eyebrow {
  color:#fc62df;
  letter-spacing:.23em;
  font-size:calc(.8rem - 1px);
  font-weight:800;
}

.tn-home-hero h1 {
  font-size:calc(clamp(2.8rem,4.2vw,4.2rem) - 1px);
  line-height:1.03;
  letter-spacing:-.055em;
  font-weight:900;
  margin-top:13px;
}

.tn-home-hero h1 .tn-gradient {
  background:linear-gradient(93deg,#ff60c8 0%,#dc6cfa 42%,#718dff 100%);
  background-clip:text;
  -webkit-background-clip:text;
  color:transparent;
}

.tn-home-hero-copy>p:not(.tn-home-eyebrow) {
  font-size:calc(1.12rem - 1px);
  line-height:1.43;
  color:#f2e9f5;
  margin-top:14px;
}

.tn-home-hero-actions {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:17px;
  margin-top:23px;
}

.tn-home-hero-actions .tn-btn {
  padding:11px 23px;
  min-height:48px;
}

/* Keep the Host an Event action outlined, despite the shared .tn-btn
 * transparent-border shorthand declared after .tn-btn-outline. */
.tn-home-hero-actions a.tn-btn-outline {
  border:1px solid #bda0d9;
  background:#0a0d23a6;
}
.tn-home-hero-actions a.tn-btn-outline:hover,
.tn-home-hero-actions a.tn-btn-outline:focus-visible {
  border-color:#ff74ec;
  background:#47225d7d;
}

.tn-home-search input::placeholder {
  color:#d0c4dc;
}

.tn-home-search select {
  appearance:auto;
  cursor:pointer;
}

.tn-home-search option {
  color:#121328;
  background:#faf7ff;
}

.tn-home-steps,
.tn-home > .tn-home-events,
.tn-home-organizer {
  margin-inline:var(--home-gutter);
}

.tn-home-steps {
  margin-block:7px 23px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  min-height:70px;
  align-items:center;
  border-top:1px solid #70408d;
  border-bottom:1px solid #70408d;
}

.tn-home-steps>div {
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  min-width:0;
}

/* 105 degrees measured from the horizontal: the original vertical 90
 * degree separators are now tilted 15 degrees clockwise. */
.tn-home-steps>div:not(:last-child)::after {
  content:"";
  position:absolute;
  right:0;
  top:50%;
  height:50px;
  width:1px;
  background:#6c5681;
  transform:translateY(-50%) rotate(15deg);
  pointer-events:none;
}

.tn-home-steps svg {
  color:#ed4ed7;
  flex-shrink:0;
}

.tn-home-steps>div:nth-child(2) svg {
  color:#bd51ed;
}

.tn-home-steps>div:nth-child(3) svg {
  color:#6da4ff;
}

.tn-home-steps b {
  display:block;
  font-size:calc(1.03rem + 1px);
  font-weight:850;
}

.tn-home-steps small {
  font-size:calc(.79rem + 1px);
  color:#d8cde4;
}

/* One vertically repeating tile per loop: downwards only, no X drift. */

.tn-home-organizer {
  margin-top:30px;
  display:flex;
  align-items:center;
  gap:25px;
  padding:0 26px 0 0;
  min-height:130px;
  overflow:hidden;
  border:1px solid #a955d4;
  border-radius:7px;
  background:linear-gradient(100deg,#401052,#221642 62%,#361349);
  box-shadow:0 8px 29px #ab19a02e;
}

.tn-home-organizer-photo {
  width:260px;
  align-self:stretch;
  flex-shrink:0;
  background:linear-gradient(45deg,#2f004a4d,#eb2cc916),url("https://images.unsplash.com/photo-1470229538611-16ba8c7ffbd7?auto=format&fit=crop&w=700&q=85") center/cover no-repeat;
  border-right:5px solid #dd43f3;
  transform:skewX(-10deg);
  margin-left:-15px;
}

.tn-home-organizer-copy {
  flex:1;
  min-width:0;
}

.tn-home-organizer-copy h2 {
  font-size:calc(clamp(1.28rem,2.25vw,2rem) - 1px);
  font-weight:900;
  letter-spacing:-.04em;
}

.tn-home-organizer-copy p {
  font-size:calc(.94rem - 1px);
  color:#efe1f4;
  margin-top:6px;
}

.tn-home-organizer>.tn-btn {
  white-space:nowrap;
  min-height:47px;
}

@media(max-width:1100px) {
.tn-home {
  width:calc(100% - 34px);
}
}

@media(max-width:1100px) {
.tn-home-hero {
  height:335px;
}
}

@media(max-width:780px) {
.tn-home {
  width:calc(100% - 28px);
}
}

@media(max-width:780px) {
.tn-home-hero {
  height:auto;
  min-height:370px;
}
}

@media(max-width:780px) {
.tn-home-hero-copy {
  padding:34px 22px 45px;
}
}

@media(max-width:780px) {
.tn-home-hero h1 {
  font-size:calc(clamp(2.6rem,6vw,4rem) - 1px);
}
}

@media(max-width:780px) {
.tn-home-steps {
  grid-template-columns:repeat(2,1fr);
  gap:8px;
  margin-top:18px;
}
}

@media(max-width:780px) {
.tn-home-steps>div {
  justify-content:flex-start;
  padding:10px 14px;
}
.tn-home-steps>div::after {
  display:none;
}
}

@media(max-width:780px) {
.tn-home-organizer-photo {
  width:160px;
}
}

@media(max-width:780px) {
.tn-home-organizer {
  flex-wrap:wrap;
  padding:0 18px 18px 0;
  gap:12px;
}
}

@media(max-width:780px) {
.tn-home-organizer>.tn-btn {
  margin-left:auto;
}
}

@media(max-width:490px) {
.tn-home-hero h1 {
  font-size:calc(2.4rem - 1px);
}
}

@media(max-width:490px) {
.tn-home-hero-copy>p:not(.tn-home-eyebrow) {
  font-size:calc(.97rem - 1px);
}
}

@media(max-width:490px) {
.tn-desktop-break {
  display:none;
}
}

@media(max-width:490px) {
.tn-home-hero {
  min-height:370px;
}
}

@media(max-width:490px) {
.tn-home-steps {
  grid-template-columns:1fr 1fr;
}
}

@media(max-width:490px) {
.tn-home-steps>div {
  padding:8px;
  gap:9px;
}
}

@media(max-width:490px) {
.tn-home-steps b {
  font-size:calc(.9rem + 1px);
}
}

@media(max-width:490px) {
.tn-home-steps small {
  font-size:calc(.69rem + 1px);
}
}

@media(max-width:490px) {
.tn-home-organizer-photo {
  height:100px;
  width:100%;
  transform:none;
  margin:0;
  border:0;
}
}

@media(max-width:490px) {
.tn-home-organizer {
  padding:0 16px 16px;
}
}

@media(max-width:490px) {
.tn-home-organizer>.tn-btn {
  margin-left:0;
  width:100%;
}
}

.tn-home-location-line {
  display:flex;
  align-items:center;
  gap:17px;
  flex-wrap:wrap;
}

.tn-city-switch {
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-width:166px;
  background:#221536d9;
  color:#f5e6ff;
  border:1px solid #aa76c9;
  border-radius:7px;
  padding:5px 13px;
  font-weight:750;
  font-size:calc(.88rem - 1px);
  max-width:210px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.tn-city-switch > svg {
  flex-shrink:0;
  width:17px;
  height:17px;
}

/* Align the dropdown caret at the far right instead of relying on the
 * font's uneven glyph baseline. The span's original glyph is hidden. */
.tn-city-switch > span[aria-hidden="true"] {
  display:block;
  flex:0 0 8px;
  width:8px;
  height:8px;
  margin-left:auto;
  margin-right:2px;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  font-size:0;
  transform:translateY(-2px) rotate(45deg);
}

.tn-city-switch:hover {
  border-color:#f66dde;
  background:#3b2155;
}

/* Keep the city selector and its dropdown together inside the hero. */
.tn-city-switch-wrap {
  position:relative;
  display:inline-flex;
  flex:0 0 auto;
  min-width:0;
}

.tn-city-switch[aria-expanded="true"] {
  border-color:#ef7ce9;
  background:#3b2155;
}

.tn-city-picker {
  position:absolute;
  z-index:20;
  top:calc(100% + 9px);
  right:0;
  box-sizing:border-box;
  width:min(320px,calc(100vw - 44px));
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:11px;
  margin:0;
  padding:16px;
  background:linear-gradient(155deg,#241536f7,#141127fc);
  border:1px solid #b66ad8;
  border-radius:10px;
  box-shadow:0 16px 40px #05000bbd,0 0 0 1px #e07df21a;
  backdrop-filter:blur(14px);
}

.tn-city-picker-field {
  min-width:0;
}

.tn-city-picker-field label {
  display:block;
  font-size:12px;
  color:#f3dffa;
  font-weight:750;
  margin-bottom:7px;
}

.tn-city-picker-field input {
  box-sizing:border-box;
  width:100%;
  min-height:40px;
  border:1px solid #8356a2;
  border-radius:7px;
  background:#17122d;
  padding:9px 12px;
  color:#fff;
  font-size:13px;
}

/* The shared autocomplete owns its dropdown and one focused border.
 * Do not stack Chrome's native focus outline over the purple control. */
.tn-city-picker .tn-browse-city-control .tn-input:focus-visible {
  outline:none!important;
}
.tn-city-picker .tn-browse-city-control:focus-within .tn-input {
  border-color:#e877ec;
  box-shadow:0 0 0 2px #e877ec49;
}
.tn-city-picker .tn-browse-city-list {
  width:100%;
  max-width:100%;
  max-height:244px;
}

.tn-city-picker-actions {
  display:flex;
  gap:8px;
}

.tn-city-picker-actions .tn-btn {
  flex:1;
  min-width:0;
  min-height:36px;
  padding:7px 10px;
  font-size:12px;
  font-weight:750;
  white-space:nowrap;
}

.tn-city-auto {
  align-self:center;
  border:0;
  background:transparent;
  color:#f1b2fb;
  text-decoration:underline;
  text-underline-offset:3px;
  padding:3px 6px;
  font-size:12px;
}

.tn-city-auto:hover:not(:disabled) {
  color:#fff;
}

.tn-city-auto:disabled {
  opacity:.8;
  cursor:progress;
  text-decoration:none;
}

.tn-city-error {
  color:#ffb2c1;
  font-size:12px;
  line-height:1.4;
}

@media(max-width:780px) {
  .tn-city-picker {
    left:0;
    right:auto;
  }
}

@media(max-width:780px) {
.tn-home-location-line {
  gap:9px;
}
}

@media(max-width:780px) {
.tn-city-switch {
  max-width:180px;
}
}

.tn-home-hero {
  height:auto;
  position:relative;
  isolation:isolate;
  background:#080b20;
  overflow:hidden;
  min-height:420px;
}

/* Let the open selector float over hero content without getting clipped. */
.tn-home-hero.tn-city-picker-open {
  overflow:visible;
  z-index:2;
}

.tn-home-hero-layout {
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(310px,375px);
  align-items:center;
  gap:clamp(22px,3.5vw,64px);
  width:100%;
  min-height:420px;
  padding:28px var(--home-gutter);
}

.tn-home-hero .tn-home-hero-copy {
  min-width:0;
  max-width:none;
  padding:8px 0 18px;
}

.tn-home-hero .tn-home-search {
  box-sizing:border-box;
  display:grid;
  grid-template-columns:minmax(0,1fr);
  align-items:stretch;
  gap:9px;
  justify-self:end;
  width:100%;
  max-width:375px;
  min-width:0;
  height:auto;
  margin:0;
  padding:17px;
  border:1px solid #a66ac5;
  border-radius:7px;
  background:linear-gradient(145deg,#211333ed,#12112be8);
  box-shadow:0 18px 44px #05031399,0 0 28px #df42eb16;
  backdrop-filter:blur(12px);
}

.tn-home-search-heading {
  font-size:calc(1.16rem - 2px);
  font-weight:850;
  letter-spacing:-.025em;
  line-height:1.3;
  margin:0 0 3px;
}

.tn-home-hero .tn-home-search label {
  box-sizing:border-box;
  width:100%;
  height:45px;
  min-height:45px;
  min-width:0;
  flex:none;
  display:flex;
  align-items:center;
  gap:9px;
  padding:0 12px;
  border:1px solid #7c5b9c;
  border-radius:7px;
  background:#17132dcf;
  color:#f9f4ff;
}

.tn-home-hero .tn-home-search label:focus-within {
  border-color:#e877ec;
  box-shadow:0 0 0 3px #e84be823;
}

/* The shared date-range control presents one trigger in the hero. */
.tn-home-hero .tn-home-search .tn-date-range {
  min-height:45px;
}

.tn-home-hero .tn-home-search label svg {
  flex-shrink:0;
  color:#efd9fa;
}

/* The label owns the focus border: suppress the global input focus-visible
 * outline so it cannot form a second, offset rectangle inside the label. */
.tn-home-hero .tn-home-search label :is(input,select):focus-visible {
  outline:none!important;
}

.tn-home-hero .tn-home-search label :is(input,select) {
  outline:0;
  flex:1;
  width:100%;
  height:100%;
  min-height:0;
  min-width:0;
  padding:0!important;
  margin:0;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#f7efff;
  font-size:calc(.92rem - 2px);
}

.tn-home-hero .tn-home-search .tn-btn {
  width:100%;
  padding:7px 18px;
  font-size:.92rem;
  min-height:45px;
  margin-top:3px;
  font-weight:850;
}

@media(max-width:950px) {
.tn-home-hero,
.tn-home-hero-layout {
  height:auto;
  min-height:0;
}
}

@media(max-width:950px) {
.tn-home-hero-layout {
  grid-template-columns:minmax(0,1fr);
  gap:17px;
  padding:30px var(--home-gutter) 28px;
}
}

@media(max-width:950px) {
.tn-home-hero .tn-home-hero-copy {
  padding:0;
  max-width:740px;
}
}

@media(max-width:950px) {
.tn-home-hero .tn-home-search {
  justify-self:stretch;
  max-width:none;
  padding:16px;
  margin:0;
  gap:9px;
}
}

@media(max-width:560px) {
.tn-home {
  --home-gutter:16px;
}
.tn-home-hero-layout {
  padding:24px var(--home-gutter);
}
}

@media(max-width:560px) {
.tn-home-hero .tn-home-search {
  padding:14px;
}
}

@media(max-width:560px) {
.tn-home-hero .tn-home-search label {
  height:44px;
  min-height:44px;
}
}

main.tn-home.tn-page {
  box-sizing:border-box;
  width:100%;
  max-width:1510px;
  margin-inline:auto;
  padding-inline:0;
}

main.tn-home.tn-page .tn-home-search {
  margin-inline:0;
}
