/* Additional Experience-specific overrides */

/* Remove white background container on Experience pages */
body.single-experience .site-content,
body.single-experience .content-area,
body.single-experience .ast-container{
  background: transparent !important;
}

/* Make content full width */
body.single-experience .ast-container{
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Hide Astra default title/meta on Experience pages */
body.single-experience header.entry-header{
  display:none !important;
}

/* Main wrapper */
.hg-exp{
  width: 100vw;
  max-width: none;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  background: none !important;
  padding: 0 !important;
}


/* HERO */
.hg-exp-hero{
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 420px;
  height: 420px;
  background-size: cover;
  background-position: center;
  margin-bottom: 18px;
}

.hg-exp-hero__overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.55));
}

.hg-exp-hero__title{
  position:absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin:0;
  color:#fff;
  font-size: 54px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-align: center;
  width: calc(100% - 56px);
  text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

/* City */
.hg-exp-city{
  font-size: 18px;
  opacity: .8;
  margin: 6px auto 18px;
  width: min(960px, calc(100vw - 80px));
}

/* Middle info row */
.hg-exp-mid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: min(960px, calc(100vw - 80px));
  margin: 12px auto 18px;
  align-items: center;
}

.hg-exp-mid__item{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.hg-exp-mid__item:visited,
.hg-exp-mid__item:hover,
.hg-exp-mid__item:focus,
.hg-exp-mid__item:active{
  text-decoration: none;
}

.hg-exp-mid__link,
.hg-exp-mid__link:visited,
.hg-exp-mid__link:hover,
.hg-exp-mid__link:focus,
.hg-exp-mid__link:active{
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  justify-content: center;
}

.hg-exp-mid__icon{
  width: 54px;
  height: 54px;
  object-fit: contain;
  display: block;
}

.hg-exp-mid__label{
  font-size: 14px;
  font-weight: 600;
  color: #1b1b1b;
}

.hg-exp-mid__item:hover{
  opacity: 0.85;
}

/* Description (similar “editorial” feel) */
.hg-exp-desc{
  max-width: 820px;
  font-size: 19px;
  line-height: 1.8;
  opacity: .92;
  margin: 0 auto 22px;
  width: min(960px, calc(100vw - 80px));
}

.hg-exp-desc-extended{
  max-width: 980px;
  font-size: 17px;
  line-height: 1.6;
  color: #1b1b1b;
  margin: 0 auto 26px;
  width: min(960px, calc(100vw - 80px));
}

.hg-exp-desc-extended p{
  margin: 0;
}

/* 3 images grid */
.hg-exp-gallery-3{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 433px));
  gap: 22px;
  margin: 0 auto 22px;
  width: 100%;
  max-width: 1343px;
  justify-content: center;
}

.hg-exp-gallery-3 figure{
  width: 433px;
  max-width: 100%;
  aspect-ratio: 433 / 317;
  margin:0;
  border-radius: 18px;
  overflow:hidden;
}

.hg-exp-gallery-3 img{
  width:100%;
  height:100%;
  object-fit: cover;
  object-position: center top;
  display:block;
}


/* Responsive */
@media (max-width: 1024px){
  .hg-exp-hero__title{ font-size: 44px; }
  .hg-exp-gallery-3{ grid-template-columns: repeat(2, minmax(0, 433px)); }
}

@media (max-width: 768px){
  .hg-exp-hero{ min-height: 260px; height: 260px; border-radius: 18px; }
  .hg-exp-hero__title{ font-size: 34px; width: calc(100% - 36px); }
  .hg-exp-gallery-3{ grid-template-columns: minmax(0, 433px); }
  .hg-exp-mid{ grid-template-columns: 1fr; gap: 16px; }
}

/* Tickets Container */
.hg-tickets-container {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 30px auto;
  width: min(860px, calc(100vw - 96px));
  background: #fff;
  border-radius: 22px;
  padding: 16px 20px 22px;
  box-shadow: 0 12px 30px rgba(5, 10, 20, 0.08);
}

body.single-experience .hg-tickets,
body.single-experience .hg-ticket,
body.single-experience .hg-ticket-card,
body.single-experience .hg-ticket-desc-row,
body.single-experience .experience-tickets,
body.single-experience .experience-tickets .tickets-list {
  max-width: min(860px, calc(100vw - 96px));
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

body.single-experience .experience-tickets .tickets-list {
  justify-content: center;
}

/* Ticket Card */
.hg-ticket-card {
  display: grid;
  grid-template-columns: 54px 1fr 140px;
  gap: 20px;
  align-items: center;
  padding: 16px 0;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
  transition: none;
}

.hg-ticket-card:hover {
  background: none !important;
}

/* Expand Arrow */
.hg-ticket-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hg-ticket-arrow {
  background: #0b1b2b;
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  padding: 0;
  transition: transform 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hg-ticket-arrow:hover {
  opacity: 0.9;
}

.hg-ticket-arrow:active {
  opacity: 1;
}

.hg-ticket-arrow:focus {
  outline: none;
  opacity: 1;
}

.hg-ticket-card.is-open .hg-ticket-arrow {
  transform: rotate(90deg);
}

/* Ticket Info */
.hg-ticket-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hg-ticket-name {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
}

.hg-ticket-price {
  margin: 0;
  font-size: 12px;
  color: #666;
  font-weight: 400;
}

/* Quantity Selector */
.hg-ticket-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
}

.qty-btn {
  background: #0b1b2b;
  color: #fff;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: background 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background: #ff9500;
}

.qty-btn:active {
  background: #0b1b2b;
}

.qty-btn:focus {
  outline: none;
  background: #0b1b2b;
}

.qty-input {
  width: 44px;
  text-align: center;
  border: 1px solid rgba(11, 27, 43, 0.35);
  background: rgba(11, 27, 43, 0.08);
  color: #0b1b2b;
  font-size: 12px;
  padding: 6px 4px;
  border-radius: 8px;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.qty-input:focus {
  outline: none;
  border-color: #0b1b2b;
  box-shadow: 0 0 0 2px rgba(11, 27, 43, 0.25);
}

/* Description Row */
.hg-ticket-desc-row {
  display: none;
  grid-column: 1 / -1;
  padding: 14px 24px 18px 78px;
  border-bottom: 1px solid rgba(11, 27, 43, 0.12);
  background: rgba(11, 27, 43, 0.05);
  border-radius: 0 0 22px 22px;
  backdrop-filter: blur(8px);
}

.hg-ticket-card.is-open + .hg-ticket-desc-row {
  display: block;
}

.hg-ticket-description {
  font-size: 12px;
  color: #23374f;
  line-height: 1.7;
  margin: 0;
}

/* Total Section */
.hg-tickets-total {
  display: grid;
  grid-template-columns: 54px 1fr 140px;
  gap: 20px;
  align-items: center;
  padding: 20px 24px;
  background: rgba(11, 27, 43, 0.06);
  border: 1px solid rgba(11, 27, 43, 0.2);
  border-radius: 26px;
  margin-top: 28px;
  font-size: 13px;
  font-weight: 600;
  color: #102036;
  box-shadow: 0 15px 35px rgba(5, 10, 20, 0.12);
  backdrop-filter: blur(10px);
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  align-self: stretch;
}

.hg-total-price {
  color: #0b1b2b;
  font-size: 14px;
  font-weight: 700;
  justify-self: end;
}

/* Add to Cart Button */
.hg-tickets-add-all {
  background: #0b1b2b;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  margin-top: 16px;
  transition: background 0.2s ease;
}

.hg-tickets-add-all,
.hg-cart-redirect {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  display: block;
  align-self: stretch;
}

.hg-tickets-add-all:hover {
  background: #27ae60;
}

.hg-tickets-add-all:active {
  background: #0b1b2b;
}

.hg-tickets-add-all:focus {
  outline: none;
  background: #0b1b2b;
}

.hg-tickets-add-all:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

/* Legacy button styles for compatibility */
.hg-ticket__add.btn {
  display: inline-block;
  background: #0b1b2b;
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

.hg-ticket__add.btn:hover {
  opacity: 0.9;
}

.hg-cart-redirect {
  text-align: center;
  margin-top: 25px;
}

.hg-cart-redirect .hg-exp-buy {
  background: #0b1b2b;
  color: #fff;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.hg-ticket__add.btn.added {
  background: #198754;
  color: #fff;
}

.hg-ticket__add.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
