/*
Theme Name: St. Paul & the Broken Bones
Theme URI: https://stpaulandthebrokenbones.com/
Author: FADE Agency
Author URI: https://fadeagency.com
Version: 1.0
Text Domain: st-paul-the-broken-bones
Tags: 
*/

/* =========================
   Defaults
========================= */
a {
      transition: all 0.3s;
}
a:hover {
    opacity: 0.7;

}



.wp-block-cover.hero-img > img.wp-block-cover__image-background {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
 }

#newsletter-img {
  min-height: 350px;
}

/* =========================
   Tour Dates Section
========================= */

.tour-dates {
  margin: 60px 0;
}
.seated-events-table {
  text-align: left;
}

.seated-follow-box {
  display: none;
}

.home .seated-event-row:nth-child(n + 6) {
  display: none;
}

.seated-events-table > div:last-child {
  text-align: center !important;
  margin: 2em 0 !important;
}

.seated-event-date-cell {
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: 900 !important;
}

.seated-event-venue-name {
  text-transform: capitalize;
  font-size: 36px;
  font-weight: 900 !important;
  line-height: 36px;
}

.seated-event-venue-location {
  text-transform: uppercase;
  font-size: 16px;
}

.seated-event-details-cell {
  color: #00000098;
  font-size: 14px;
  margin-top: 10px;
}

.seated-event-link1,
.seated-event-link1:visited,
.seated-event-link1:hover,
.seated-event-link2,
.seated-event-link2:visited,
.seated-event-link2:hover {
  background: #000000 !important;
  font-style: normal;
  font-size: 14px !important;
  text-transform: uppercase;
  padding: 10px 5px !important;
  text-decoration: none;
  border: 0 !important;
  border-radius: 5px !important;
  cursor: pointer !important;
  transition: linear 0.2s all !important;
  color: #fbfbf7 !important;
}

.seated-event-link1:hover,
.seated-event-link2:hover {
  opacity: 1;
  color: #000 !important;
  background: #fbfbf7 !important;
  border: 1px solid #000 !important;
  cursor: pointer !important;
}

.seated-event-row {
  border-bottom: 1px dashed rgb(0, 0, 0) !important;
  padding: 30px 0 !important;
}

.seated-events-table {
  border-top: 1px dashed rgb(0, 0, 0) !important;
}
.home .seated-event-row:nth-child(n + 6) {
  display: none;
}



/* =========================
   Mailing List Form
========================= */

.mailing-list p {
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 15px;
  text-align: center;
}

.tbits {
  max-width: 600px;
  margin: 0 auto 60px auto;
}

.newsletter-signup .form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-split {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.signup-input {
  flex: 1 1 45%;
  padding: 10px 12px;
  font-size: 1rem;
  border: 1px solid #fbfbf7;
  border-radius: 10px;
  transition: border-color 0.3s ease;
  background: #000;
  color: #fbfbf7;
}
.signup-input::placeholder {
  color: #fbfbf7;
}
.signup-input:focus {
  border-color: #fbfbf7;
  outline: none;
}

/* Highlight inputs with errors */
.signup-input.error {
  border-color: red;
  box-shadow: 0 0 5px rgba(217, 83, 79, 0.7);
}

/* Inline error messages */
.input-error-message {
  color: red;
  font-size: 0.875rem;
  margin-top: 4px;
  font-weight: 600;
}
.form-footer {
  text-align: left;
}

/* =========================
   Buttons Primary (form submit)
========================= */

.btn-primary {
  background-color: #000;
  color: #fff;
  border: none;
  padding: 10px 25px;
  border-radius: 5px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-2px);
  outline: none;
}

.btn-secondary {
  background-color: #fbfbf7;
  color: #000;
  border: none;
  padding: 10px 25px;
  border-radius: 5px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.btn-secondary:hover,
.btn-secondary:focus {
  transform: translateY(-2px);
  outline: none;
}

/* =========================
   Form Messages
========================= */
#signup-thank-you p,
#error-signup p {
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 15px;
  color: rgb(255, 255, 255);
}

#error-signup p {
  color: red;
  margin-bottom: 0;
}


/* =========================
   Media Queries
========================= */

@media screen and (max-width: 768px) {
h1 {
    font-size: 50px;
}
h2 {
    font-size: 40px;
}
h3 {
    font-size: 30px;
}
.wp-block-cover.hero-img {
    min-height: auto !important;
    height: 450px !important;
  }

  .wp-block-cover.hero-img > img.wp-block-cover__image-background {
    height: auto !important;
    max-height: none !important;
    margin-top: 160px; 
  }
  .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content {
    font-size: 35px;
}

}



