@import url('https://fonts.googleapis.com/css2?family=Baskervville:ital,wght@0,400..700;1,400..700&display=swap');

* {
box-sizing: border-box;
padding:0;
margin:0% 0% 0% 0%;
}

body {
    font-family: 'Baskervville',serif;
    color: #06334A;
   /* color: #111;*/
    background-color:#E5E0DA ;
}

h1 {
    padding: 2px;
    text-align: center;
    font-size: 48px;
}
h2 {
    padding: 2px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 24px;
}
h3 {
    padding: 2px;
    text-align: center;
}
p {
  margin-bottom: 1em; /* You can adjust the value: 1em = roughly one line height */
  font-size:20px;
  text-align: justify;
}
ul {
    list-style-type: none;
}

a {
    text-decoration: none;
    color: #fff;
}

img {
    display:block;
    max-width: 100%;
    height: auto;
    margin:auto;

}

.letterhead {
    padding: 0px;
    margin:0;
    overflow-y:hidden;
}

.navbar {
    background-color:#9b8055;
    color:#fff;
    height: 60px;
    overflow:auto;
    

}

.navbar ul {
    display: flex;
}
.navbar a {
    color: white;
    padding: 10px;
 
}

.navbar a:hover {
    border-bottom: 3px #fff solid;
    
}

.container {
    display:flex;
    max-width: 1100px;
    margin: 0 auto;

    padding: 0 0px;
    overflow-y:hidden;
}

.container div {
    margin:0;
}

.flex {
    display:  flex;
    justify-content: center;
    align-items: center;
    height: 100%;

}

.main {
    margin:20px;
    }
.card {
    background-color:#fff;
    border-radius:10px;
    box-shadow: 0 3px 10px rgba(0,0,0,.2);
    padding:20px;
    margin:10px;
    height:100%;

}
.cardtext {
    padding: 20px;
    margin-left: 30px;
    margin-right: 30px;
}
.card p {
    text-align: center;
    
}
.container-section {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 40px;
  justify-content: center;
}

/* Shared box styling (applies to both content-box and wide) */
.content-box,
.content-box-wide {
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 20px;
  width: 22%;
  min-width: 400px;
  box-sizing: border-box;
  text-align: center;
  transition: transform 0.2s ease;
  position: relative;
  overflow: visible; /* allow it to grow */
}

/* Keep the hover effect */
.content-box:hover,
.content-box-wide:hover {
  transform: translateY(-5px);
}

/* Text wrapper that truncates overflow */
.content-text {
  overflow: hidden;
  max-height: 160px;
  position: relative;
  transition: max-height 0.4s ease;
}

/* Add gradient fade at bottom */
.content-text::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px; /* height of fade effect */
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), white 90%);
  pointer-events: none; /* so clicks pass through to button */
}

/* Expanded state — remove fade */
.content-box.expanded .content-text::after,
.content-box-wide.expanded .content-text::after {
  display: none;
}

/* Expanded state allows full content */
.content-box.expanded .content-text,
.content-box-wide.expanded .content-text {
  max-height: 800px; /* adjust for your longest text */
}

/* Image consistency */
.content-box img,
.content-box-wide img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 15px;
}

/* Button styling */
.read-more-btn {
  background-color: #9b8055;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 8px 12px;
  cursor: pointer;
  margin-top: 10px;
  transition: background-color 0.3s;
}

.read-more-btn:hover {
  background-color: #7c6843;
}
.content-box-wide, 
.content-box h3 {
  margin-top: 0;
  font-size: 1.2em;
  color: #333;
}


.content-box, 
.content-box-wide 
p { 
  font-size: .8em; 
  color: #555; 
}

.quote {
  font-size: 2rem;
  font-style: italic;
  color: #333;
  text-align: center;
  max-width: 800px;
  margin: 50px auto;
  padding: 10px;
  line-height: 1.6;
  position: relative;
}
.quote footer {
  margin-top: 30px;
  font-size: 1.2rem;
  font-weight: normal;
  color: #666;
}
.infotext {
    padding-bottom: 100px;
    margin-left: 40px; 
    margin-right: 40px;
}

.ticketscene-button {
  background-color: #9b8055;
  color: #ffffff;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease;

  /* Center and position below navbar */
  display: inline-block;
  margin: 20px auto 0 auto; /* pushes it down from navbar */
  position: relative;
  top: 0; /* ensures it doesn’t overlap */
  left: 50%;
  transform: translateX(-50%);
}

.ticketscene-button:hover {
  background-color: #8b724c; /* slightly darker shade for hover effect */
}