/*
Theme Name: Hello Elementor Child
Template: hello-elementor
Version: 1.0.0
*/
/* ====================================
   Tour Page
   ==================================== */
:root{
  --cake-accent: #681612; /* Cake red */
}

.all-tour-dates ul {
    margin: 0;
    padding-left: 20px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
}

@media (max-width: 576px) {
    .all-tour-dates ul {
        flex-direction: column;
        align-items: center;
        padding-left: 20px;
    }
}

@media (max-width: 576px) {
    .all-tour-dates ul h3 {
        margin-bottom: 9px;
        line-height: 1.1;
        font-size: 3.8rem;
    }
}

.all-tour-dates ul h3 span {
    line-height: 1.3;
}

.all-tour-dates li.one-tour-date {
    width: 100%;
    margin-bottom: 40px;
    padding: 20px 0;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    border-bottom: 1px solid red; /* banner red line */
}

@media (max-width: 480px) {
    .all-tour-dates li.one-tour-date {
        flex-direction: column;
        width: 100%;
        margin-bottom: 60px;
        align-items: flex-start;
    }
}

.all-tour-dates li.one-tour-date.cancelled {
    text-decoration: line-through;
    text-decoration-color: red;
}

.all-tour-dates li.one-tour-date.cancelled .buttons {
    display: none;
}

/* Date square */
.all-tour-dates .date {
    background: #FFF9E5; /* light yellow */
    width: 90px;
    padding: 9px 15px 9px 0px;
    color: black;
    margin-right: 25px;
}

@media (max-width: 480px) {
    .all-tour-dates .date {
        margin-right: 20px;
        width: 80px;
        flex-shrink: 0;
    }
}

.all-tour-dates .date span {
    display: block;
    text-align: right;
    text-transform: uppercase;
    font-size: 1.9rem;
    color: black;
    line-height: 1;
}

.all-tour-dates .date span.day {
    font-size: 4.4rem;
    font-weight: 700;
}

@media (max-width: 480px) {
    .all-tour-dates .date span.day {
        font-size: 4rem;
    }
}

.all-tour-dates .venue,
.all-tour-dates .location {
    display: block;
    width: 100%;
    padding-top: 10px;
    color: black;
    font-weight: 700;
}

@media (max-width: 480px) {
    .all-tour-dates .venue,
    .all-tour-dates .location {
        display: inline;
        width: inherit;
        padding-top: 0;
    }
}

.all-tour-dates .hyphen {
    display: none;
}

@media (max-width: 480px) {
    .all-tour-dates .hyphen {
        display: inline;
    }
}

/* Buttons */
.all-tour-dates .buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 12px;
    width: 100%;
}

.all-tour-dates .buttons a,
.all-tour-dates .buttons .link-inactive-style {
    background-color: #FFF9E5; /* same as date square */
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 47%;
    min-height: 53px;
    padding: 10px 15px;
    margin: 0 5px 5px 0;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1.4rem;
    text-align: center;
    text-decoration: none;
    line-height: 1.3;
    white-space: normal; /* allow wrapping */
    word-wrap: break-word;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Active buttons */
.all-tour-dates .buttons a.link-active-style {
    border: 1px solid #d6d0a9;
    background-color: #FFF9E5;
}

.all-tour-dates .buttons a.link-active-style:hover,
.all-tour-dates .buttons a.link-active-style:focus {
    background-color: #f0e6c0;
}

/* Inactive buttons */
.all-tour-dates .buttons a.link-inactive-style {
    background-color: #f7f3da;
    color: #555;
    border: 1px solid #e6e0b8;
    cursor: not-allowed;
}

.all-tour-dates .buttons a.link-inactive-style:hover,
.all-tour-dates .buttons a.link-inactive-style:focus {
    background: #f7f3da;
    color: #555;
    cursor: not-allowed;
}

@media (max-width: 480px) {
    .all-tour-dates .buttons a {
        font-size: 1.2rem;
        min-height: 48px;
        width: calc(50% - 5px);
    }
}

@media (max-width: 360px) {
    .all-tour-dates .buttons a {
        width: 100%;
        margin-right: 0;
    }
}

/* Details */
.all-tour-dates .details {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding-top: 15px;
}

@media (max-width: 576px) {
    .all-tour-dates .details {
        flex-direction: column;
    }
}

.all-tour-dates .details h3 {
    width: 65%;
    text-align: left;
    margin-top: 0;
    padding-top: 10px;
    color: black;
    font-weight: 700;
}

@media (max-width: 576px) {
    .all-tour-dates .details h3 {
        width: 100%;
    }
}

@media (max-width: 480px) {
  .all-tour-dates .details h3 {
    white-space: nowrap !important;
    font-size: 1.8rem;
    line-height: 1.1;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Extra info */
.all-tour-dates .extra-info {
    margin: 10px 0;
    color: black;
    padding-top: 8px;
    width: 100%;
}

.all-tour-dates .extra-info a {
    color: red; /* banner red */
    text-decoration: underline;
}

.all-tour-dates .main-buttons {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

@media (max-width: 576px) {
    .all-tour-dates .main-buttons {
        justify-content: space-between;
    }
}

.all-tour-dates .details a:not(.button-presale):not(.button-ticket) {
    color: red; /* banner red */
    text-decoration: underline;
    background-color: transparent;
}

.all-tour-dates .details a:not(.button-presale):not(.button-ticket):hover {
    color: darkred;
    text-decoration: none;
}

/* Tour info */
.tour-bottom-image {
    text-align: center;
}

.tour-bottom-image img {
    display: block;
    margin: 0 auto;
}

.nodates p {
    color: black;
}

.tour-link-empty {
    color: black;
    margin: 0 5px 0 0;
    display: inline-block;
}

@media (max-width: 480px) {
    .tour-link-empty {
        line-height: inherit;
        display: block;
        width: 50%;
        font-size: 1.4rem;
    }
}

@media (max-width: 360px) {
    .tour-link-empty {
        width: 100%;
    }
}

.tour-info-block {
    color: black;
}

.tour-info-block * {
    color: black;
}

.tour-top-info-block {
    margin-bottom: 65px;
}

.tour-bottom-info-block {
    margin-top: 50px;
    margin-bottom: 65px;
}

/* Presale and ticket buttons */
.button-presale,
.button-ticket {
    background: #FFF9E5;
    border: 1px solid #d6d0a9;
    color: black;
    padding: 12px 25px;
    text-align: center;
    text-decoration: none;
    font-size: 1.6rem;
    line-height: 1.3;
    border-radius: 6px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    white-space: normal; /* allow wrapping */
    word-wrap: break-word;
    transition: background 0.3s ease, color 0.3s ease;
}

.button-presale:hover,
.button-presale:focus,
.button-ticket:hover,
.button-ticket:focus {
    background: #f0e6c0;
}

/* Responsive fixes */
@media (max-width: 480px) {
    .all-tour-dates ul h3 {
        font-size: 2rem;
        line-height: 1.2;
        text-align: center;
        word-break: break-word;
    }
    .all-tour-dates li.one-tour-date {
        flex-direction: column;
        align-items: flex-start;
    }
    .all-tour-dates .date {
        margin-bottom: 10px;
    }
    .all-tour-dates .venue,
    .all-tour-dates .location {
        display: block;
        width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .all-tour-dates ul h3 {
        font-size: 2.2rem;
    }
}
/* Constrain tour dates to site content width */
.all-tour-dates {
    max-width: 1200px; /* adjust to match theme */
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}
/* Constrain TOUR title to site content width */
h2.content-title{
  max-width: 1200px;      /* match .all-tour-dates */
  margin: 0 auto 30px;    /* centers it and keeps spacing */
  padding: 0 20px;
  box-sizing: border-box;
}
/* ====================================
   Cake Brand Colors – Tour Page
   ==================================== */

:root {
  --cake-cream: #FEFEC8;
  --cake-red: #681612;
}

/* Date square */
.all-tour-dates .date {
  background: var(--cake-cream);
  color: #000;
}

.all-tour-dates .date span {
  color: #000;
}

/* Divider line */
.all-tour-dates li.one-tour-date {
  border-bottom: 1px solid var(--cake-red);
}

/* Title */
h2.content-title {
  color: var(--cake-red);
}

/* Venue / location */
.all-tour-dates .venue,
.all-tour-dates .location {
  color: #000;
}

/* Buttons */
.all-tour-dates .buttons a,
.all-tour-dates .buttons .link-inactive-style {
  background-color: var(--cake-cream);
  color: #000;
  border: 1px solid var(--cake-red);
}

/* Active button hover */
.all-tour-dates .buttons a.link-active-style:hover,
.all-tour-dates .buttons a.link-active-style:focus {
  background-color: var(--cake-red);
  color: #fff;
}

/* Inactive buttons */
.all-tour-dates .buttons a.link-inactive-style {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Text links */
.all-tour-dates a:not(.button-presale):not(.button-ticket) {
  color: var(--cake-red);
}
/* Venue links – force Cake red */
.all-tour-dates a.venue {
  color: #681612 !important; /* Cake red */
  text-decoration: underline;
}

/* Presale/Ticket button hover = Cake cream background + Cake red text */
.button-presale:hover,
.button-presale:focus,
.button-ticket:hover,
.button-ticket:focus{
  background: #FEFEC8 !important; /* Cake cream */
  color: #681612 !important;      /* Cake red */
  border-color: #681612 !important;
}

/* If buttons contain spans/icons, force their color too */
.button-presale:hover *,
.button-presale:focus *,
.button-ticket:hover *,
.button-ticket:focus *{
  color: #681612 !important;
}
/* =========================
   Tour Buttons – sizing only
   (no color changes)
   ========================= */

.all-tour-dates .buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.all-tour-dates .buttons a,
.all-tour-dates .button-presale,
.all-tour-dates .button-ticket {
  display: inline-flex;
  justify-content: center;
  align-items: center;

  width: 200px;
  min-height: 40px;     /* smaller */
  padding: 6px 12px;    /* smaller */

  font-size: 1.2rem;    /* smaller */
  line-height: 1.1;     /* tighter */
  text-align: center;
  white-space: normal;

  box-sizing: border-box;
}

/* Tablet / small desktop */
@media (max-width: 576px) {
  .all-tour-dates .buttons a,
  .all-tour-dates .button-presale,
  .all-tour-dates .button-ticket {
    width: 48%;
  }
}

/* Very small screens */
@media (max-width: 360px) {
  .all-tour-dates .buttons a,
  .all-tour-dates .button-presale,
  .all-tour-dates .button-ticket {
    width: 100%;
  }
}

/* =========================================
   TOUR: Main buttons (Tickets / Presale) — same size + gap + padding
   Paste at VERY BOTTOM
   ========================================= */

.all-tour-dates .main-buttons{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;                 /* space BETWEEN the two buttons */
  align-items: stretch !important;
  width: 100% !important;
}

.all-tour-dates .main-buttons a.button-ticket,
.all-tour-dates .main-buttons a.button-presale{
  box-sizing: border-box !important;

  /* same size */
  width: 100% !important;
  height: 64px !important;              /* reduce if you want (try 58–70) */
  min-height: 0 !important;

  /* comfortable padding */
  padding: 10px 14px !important;

  /* center + allow wrapping (no ellipses) */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;

  white-space: normal !important;
  overflow: hidden !important;          /* keeps text inside border */
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  line-height: 1.15 !important;

  /* kill any weird spacing from older rules */
  margin: 0 !important;
}

@media (max-width: 360px){
  .all-tour-dates .main-buttons{
    grid-template-columns: 1fr !important;
  }
}
/* =========================================
   TOUR buttons — mobile comfort tweak only
   ========================================= */
@media (max-width: 480px){

  .all-tour-dates .main-buttons a.button-ticket,
  .all-tour-dates .main-buttons a.button-presale{
    padding: 12px 14px !important;   /* more inner breathing room */
    font-size: 1rem !important;   /* slightly smaller text */
    line-height: 1.2 !important;     /* cleaner wrapping */
  }
}
body,
body .site,
body .main {
  background-color: #FEFEC8;
