:root {
  /* numeric (unitless) values — good for JS */
  --bp-small-phone-num: 500;
  --bp-phone-num: 825;
  --bp-tablet-num: 1300;

  /* derived values with units — good for CSS */
  --bp-small-phone: calc(var(--bp-small-phone-num) * 1px);
  --bp-phone: calc(var(--bp-phone-num) * 1px);
  --bp-tablet: calc(var(--bp-tablet-num) * 1px);

	--sWidth: window.innerWidth;
  --expand-breakpoint: 768px;

}

#viewport-debug {
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.75);
  color: #f39c12;
  font-family: system-ui, sans-serif;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 6px;
  pointer-events: none;
  letter-spacing: 0.5px;
}

body {
  margin: 0;
  font-family: 'Cinzel Decorative', sans-serif;
  background: #111;
  color: #fff;
  scroll-behavior: smooth;
}

/* header container */
header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 20px 40px;
  background: #222;
  position: sticky;
  top: 0;
  z-index: 100;
  box-sizing: border-box;
}

h1, h2, h3 {
  font-family: "Cinzel Decorative", serif;
  font-weight: bold;
}

a {
  color: inherit;
  text-decoration: none;
	transition: transform 0.3s ease;
}
a:hover {
  transform: scale(1.05);
  text-decoration: none;
}
a:visited {
  color: inherit;
}

/* logo sizing */
.header-left .band-logo {
  max-height: 80px;
  width: auto;
}

.header-center .band-title {
  max-height: 80px;
  width: auto;
}

.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.header-social-icons {
  display: flex;
  gap: 15px;
  margin: 0;
}

.header-social-icons a {
  color: #f39c12;
  font-size: 1.3rem;
  transition: transform 0.3s;
}

.header-social-icons a:hover {
  transform: scale(1.2);
  text-decoration: none;
}

.header-right nav {
  display: flex;
  gap: 20px;
}

.header-right nav a {
  color: #f39c12;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
}
.header-right nav a:hover {
  transform: scale(1.2);
  text-decoration: none;
}

/* hero section */
.hero {
  height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: top;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}
.hero .band-logo {
	width: 300px;
	height: auto;
}
.hero h1 {
  font-size: 4rem;
  margin-bottom: 0.5rem;
}
.hero p {
  font-size: 1.3rem;
  max-width: 700px;
  margin-bottom: 20px;
}
.hero .contact {
  padding: 15px 30px;
  background: #f39c12;
  color: #111;
  font-weight: bold;
  font-size: 1.5rem;
  border-radius: 5px;
  text-decoration: none;
}
.hero .contact:hover {
  background: #f39c12;
  transform: scale(1.2);
  text-decoration: none;
}

/* band section */
.band .band-image {
  display: block;
  margin: 0 auto;
  max-height: 200px;
  width: auto;
}

.band band-link:hover {

  transform: scale(1.2);
  text-decoration: none;
}	




/* section defaults */
section {
  padding: 80px 20px;
  max-width: 1200px;
	margin: 0 auto;
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
  color: #f39c12;
}

/* grid and cards */
.grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  /*align-items: start;  /* ADD THIS LINE */
	
	align-items: stretch;  /* ADD THIS LINE */
	
	
	justify-content: center;
}
.shows-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));*/
  align-items: start;  /* ADD THIS LINE */
}
.card {
  background: #222;
  color: #eee;
  border: 1px solid #444;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  transition: all 0.35s ease;
  min-height: 300px;  /* ADD THIS LINE for desktop*/
}

.card-press {
  background: #222;
  color: #eee;
  border: 1px solid #444;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  transition: all 0.35s ease;
  /*min-height: 400px;  /* ADD THIS LINE for desktop */
	
  min-height: 0;  /* ADD THIS LINE for desktop */
}

.card-shows {
  background: #222;
  color: #eee;
  border: 1px solid #444;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .card:hover {
    transform: translateY(-6px);
		box-shadow: 0 10px 30px rgba(90,90,90, 0.3);
  }
}

.card-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
  height: 100%;
}
.card-date {
	margin-top: auto;
}

.card img.album-cover {
  flex: 0 0 auto;      /* let image use its natural width */
  max-width: 234px;    /* don't exceed 250px */
  /*height: 234px;*/
  display: block;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.card .tracks {
  display: none;
  transition: flex 0.35s ease, max-width 0.35s ease;
}

.card.expanded .tracks {
  display: flex;    /* or block if you don’t need flex inside */
  flex: 1;
  max-width: 600px;
  text-align: right;  /* aligns text inside to the right */
}



.card-footer {
  margin-top: auto;
  text-align: left; /* or center/right if you prefer */
  font-size: 0.9rem;
  line-height: 1.4em;
  color: #fff;
  padding-bottom: 0.75em; /* optional spacing from bottom edge */
}
.card img.album-cover:hover {
  transform: scale(1.03);
}

/* blurbs */
.album-blurb {
  max-height: 0;
  overflow: hidden;
  color: #ccc;
  text-align: left;
  line-height: 1.6em;
  transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease;
  opacity: 0;
  font-size: 0.9rem;
  margin-top: 0;                 /* ensure consistent base */
  will-change: max-height, opacity;
}
.album-blurb.show {
  /* don't hard-rely on this exact max-height for animation,
     JS will set a measured max-height for smoothness */
  max-height: 1000px;
  opacity: 1;
}


.card h3 {
  margin: 0 0 0px 0;
  font-size: 0.9rem;
  line-height: 0.9;
}

.card p {
  margin: 5px 0;
  font-size: 0.9rem;
}
.card-press p {
  margin: 5px 0;
  font-size: 0.9rem;
}

/* links at bottom */
.link-cards {
  display: flex;
  gap: 15px;
  margin-top: auto;
  padding-top: 15px;
}
.link-card {
  background: #111;
  border-radius: 10px;
  padding: 12px;
  flex: 1;
  transition: background 0.3s, transform 0.3s;
  text-align: center;
}
.link-card a {
  color: #fff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
}
.link-card img {
  width: 24px;
  height: 24px;
}
.link-card:hover {
  background: #444;
  transform: scale(1.05);
}
.link-card a:hover {
  transform: scale(1.2);
  text-decoration: none;
}

footer {
  background: #111;
  text-align: center;
  padding: 20px;
  color: #888;
  font-size: 0.9rem;
}
.body-centre-text {
	text-align: center;
}


.card.expanded {
  grid-column: 1 / -1;   /* span full grid width */
  z-index: 1;
}

.card.expanded img.album-cover {
  width: 234px;
}

.grid.has-expanded .card:not(.expanded) {
  opacity: 0.3;
  pointer-events: none;
}

.video-card {
	position: relative;
	display: block;
	text-decoration: none;
	overflow: hidden;
	border-radius: 8px;
	margin-bottom: 15px;
}

.video-card img {
	display: block;
	width: 100%;
	height: auto;
}

.video-card:hover img {
	transform: none;
}

.play-button {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 90px;
	height: 90px;
}

.play-button svg {
	width: 100%;
	height: 100%;
	display: block;
}

.play-button circle {
	fill: rgba(0, 0, 0, 0.55);
	stroke: rgba(255, 255, 255, 0.8);
	stroke-width: 3;
}

.play-button polygon {
	fill: white;
}

.video-card:hover .play-button circle {
	fill: rgba(255, 255, 255, 0.75);
}

.video-card:hover .play-button polygon {
	fill: black;
}

.video-card:hover .play-button {
	background: rgba(255,255,255,0);
	color: black;
	transform: translate(-50%, -50%) scale(1.2);
}

.facts-list {
  padding-left: 0px;
}

.facts-list table {
	border-collapse: collapse;
		display: inline-table;
		vertical-align: top;
}

.facts-list td {
	vertical-align: top;
	padding: 0;
}

.facts-list .label {
	width: 160px;      /* adjust to taste */
	font-weight: bold;
	white-space: nowrap;
	padding-right: 0px;
}






/* ---------- RESPONSIVE BREAKPOINTS ---------- */

/* tablets */
@media (max-width: 1300px) {
  .card-shows {
    grid-column: 1 / -1; /* spans all columns in its grid */
    font-size: 0.9rem;
  }
  header {
    flex-direction: column;
    align-items: center;
    padding: 15px 20px;
    gap: 15px;
  }
  
  .header-left .band-logo {
    max-height: 60px;
  }
  
  .header-center .band-title {
    max-height: 60px;
  }
  
  .header-right {
    align-items: center;
    width: 100%;
  }
  
  .header-social-icons {
    gap: 20px;
  }
  
  .header-social-icons a {
    font-size: 1.2rem;
  }
  
  .header-right nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  
  .header-right nav a {
    font-size: 0.9rem;
  }
  
  .hero {
    height: 50vh;
  }
  
  .hero h1 { 
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }
  
  .hero p { 
    font-size: 1rem;
    margin-bottom: 25px;
  }
  
  .hero .contact {
    padding: 12px 25px;
    font-size: 0.95rem;
  }

	.hero .band-logo {
		width: 250px;
		height: auto;
	}  

  .grid {
    gap: 15px;
  grid-template-columns: repeat(auto-fit, 250px); 
  }
	
  
  section {
    padding: 60px 15px;
  }
  
  h2 {
    font-size: 1.6rem;
    margin-bottom: 30px;
  }
  
  .card {
    padding: 12px;
    min-height: 300px;  /* ADD THIS LINE for tablets/phones */
  }
  .card-press {
    padding: 12px;
    min-height: 300px;  /* ADD THIS LINE for tablets/phones */
  }
	.card img.album-cover {
		max-width: 224px;    /* don't exceed 250px */
	}
  .card-shows {
    padding: 12px;
	}


	
  .card h3 {
    font-size: 0.95rem;
  }
  
  .card p {
    font-size: 0.8rem;
  }
  .card-press p {
    font-size: 0.8rem;
  }
  
  .album-blurb {
    font-size: 0.8rem;
  }
  
  .link-cards {
    gap: 8px;
    padding-top: 10px;
  }
  
  .link-card {
    padding: 8px;
  }
  
  .link-card a {
    font-size: 0.75rem;
  }
  
  .link-card img {
    width: 20px;
    height: 20px;
  }
	
	
	.play-button {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 85px;
	height: 85px;
	}
	.facts-list .label {
		width: 160px;      /* adjust to taste */
		font-weight: bold;
		white-space: nowrap;
		padding-right: 0px;
	}
	
}

/* ---------- RESPONSIVE BREAKPOINTS ---------- */
/* phone*/
@media (max-width: 825px) {
  .card-shows {
    font-size: 0.8rem;
  }
  header {
    padding: 10px 15px;
  }
  
  .header-left .band-logo {
    max-height: 45px;
  }
  
  .header-center .band-title {
    max-height: 45px;
  }
  
  .header-social-icons a {
    font-size: 1rem;
  }
  
  .header-right nav a {
    font-size: 0.8rem;
  }
  
  .hero h1 { 
    font-size: 1.6rem;
  }
  
  .hero p { 
    font-size: 0.85rem;
  }
  
  .hero .contact {
    padding: 10px 20px;
    font-size: 0.85rem;
  }

	.hero .band-logo {
		width: 200px;
		height: auto;
	}  
  
  .grid {
    gap: 10px;
  grid-template-columns: repeat(auto-fit, 150px); 
	}
	
	.band { 
    font-size: 0.8rem;
  }
  
  section {
    padding: 40px 10px;
  }
  
  h2 {
    font-size: 1.3rem;
    margin-bottom: 20px;
  }
  
  .card {
    padding: 10px;
    min-height: 210px; 
  }
  .card-press {
    padding: 10px;
    min-height: 210px; 
  }	
	.card img.album-cover {
		max-width: 128px;    /* don't exceed 250px */
		max-height: 128px;
	}
  .card-shows {
    padding: 10px;
	}
    
  .card h3 {
    font-size: 0.7rem;
    line-height: 1.2;
  }
  
  .card p {
    font-size: 0.7rem;
    line-height: 1.3;
  }  
  .card-press p {
    font-size: 0.7rem;
    line-height: 1.3;
  }
  
  .album-blurb {
    font-size: 0.7rem;
    line-height: 1.4;
  }
  
  .link-cards {
    flex-direction: column;
    gap: 6px;
  }
  
  .link-card {
    padding: 8px;
  }
  
  .link-card a {
    flex-direction: row;
    justify-content: center;
    font-size: 0.7rem;
    gap: 6px;
  }
  
  .link-card img {
    width: 18px;
    height: 18px;
  }

	.play-button {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 50px;
	height: 50px;
	}
	
	.facts-list .label {
		width: 140px;      /* adjust to taste */
		font-weight: bold;
		white-space: nowrap;
		padding-right: 0px;
	}
}


/* ---------- RESPONSIVE BREAKPOINTS ---------- */
/* small phones */
@media (max-width: 500px) {
  .card-shows {
    font-size: 0.75rem;
  }
	
	
	.band { 
    font-size: 0.8rem;
  }
	
  header {
    padding: 10px 15px;
  }
  
  .header-left .band-logo {
    max-height: 45px;
  }
  
  .header-center .band-title {
    max-height: 45px;
  }
  
  .header-social-icons a {
    font-size: 1rem;
  }
  
  .header-right nav a {
    font-size: 0.65rem;
  }
  
  .hero h1 { 
    font-size: 1.6rem;
  }
  
  .hero p { 
    font-size: 0.85rem;
  }
  
  .hero .contact {
    padding: 10px 20px;
    font-size: 0.85rem;
  }

	.hero .band-logo {
		width: 150px;
		height: auto;
	}  

  .grid {
    gap: 10px;
  grid-template-columns: repeat(auto-fit, 120px);
  }
  
  section {
    padding: 40px 5px;
  }
  
  h2 {
    font-size: 1.3rem;
    margin-bottom: 20px;
  }
  
  .card {
    padding: 5px;
    min-height: 210px; 
  }  
  .card-press {
    padding: 5px;
    min-height: 210px;
  }
	.card img.album-cover {
		max-width: 108px;   
		max-height: 108px;   
	}
  .card-shows {
    padding: 10px;
	}
    
  .card h3 {
    font-size: 0.7rem;
    line-height: 1.2;
  }
  
  .card p {
    font-size: 0.7rem;
    line-height: 1.3;
  }  
  .card-press p {
    font-size: 0.7rem;
    line-height: 1.3;
  }
  
  .album-blurb {
    font-size: 0.6rem;
    line-height: 1.4;
  }
  
  .link-cards {
    flex-direction: column;
    gap: 6px;
  }
  
  .link-card {
    padding: 8px;
  }
  
  .link-card a {
    flex-direction: row;
    justify-content: center;
    font-size: 0.7rem;
    gap: 6px;
  }
  
  .link-card img {
    width: 18px;
    height: 18px;
  }
	
	.play-button {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 40px;
	height: 40px;
	}
		
	.facts-list .label {
		width: 120px;      /* adjust to taste */
		font-weight: bold;
		white-space: nowrap;
		padding-right: 0px;
	}


}





/* ---------- Default table styling (desktop/tablet) ---------- */
.card-shows .shows-table {
  width: 100%;                 /* table spans full card width */
    margin-bottom: 15px;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 10px;
  margin-top: 10px;
  font-size: 0.9rem;
  table-layout: fixed;          /* evenly divides columns */
  color: #eee;                  /* default text color */
}
  
.card-shows .shows-table th,
.card-shows .shows-table td {
  border: 0px solid #000;       /* light border for contrast */
  padding: 8px 12px;
  text-align: left;
}

.card-shows .shows-table th {
  background-color: #222;       /* light grey header */
  color: #ffffff;               /* orange text */
  font-weight: bold;
}

.card-shows .shows-table td a {
  color: #f39c12;
  text-decoration: none;
  transition: color 0.2s ease;
}

.card-shows .shows-table td a:hover {
  color: #fff;
  transform: scale(1.2);
  text-decoration: none;
}

/* ---------- Mobile stacked rows ---------- */
@media (max-width: 320px) {
  .card-shows .shows-table,
  .card-shows .shows-table thead,
  .card-shows .shows-table tbody,
  .card-shows .shows-table th,
  .card-shows .shows-table td,
  .card-shows .shows-table tr {
    display: block;
    width: 100%;
  }

  .card-shows .shows-table {
    border: none;           /* REMOVE table border */
    padding: 0;             /* REMOVE table padding */
    margin-top: 0;          /* REMOVE top margin */
    font-size: 0.8rem;
  }

  .card-shows .shows-table thead tr {
    display: none;
  }

  .card-shows .shows-table tr {
    margin-bottom: 15px;
    border-radius: 8px;
    padding: 10px;
  }

  .card-shows .shows-table td {
    text-align: right;
    padding-left: 50%;
    padding-right: 10px;    /* ADD right padding */
    position: relative;
    border: none;
    border-bottom: 1px solid #444;
  }

  .card-shows .shows-table td:last-child {
    border-bottom: 0;
  }

  .card-shows .shows-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 12px;
    width: calc(50% - 24px);
    text-align: left;
    font-weight: bold;
    color: #f39c12;
  }
	
}
