/* --------------------------------------------------
   MASTER CONTROLLER 
-------------------------------------------------- */  

:root {
  --accent: #b30000;
  --dark: #222;
  --light: #ddd;
  --max-width: 900px;
  --radius: 8px;
}

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: var(--light);
  color: var(--dark);
  line-height: 1.6;
  margin-bottom: 0;
  padding-bottom: 0;

}

h1, h2, h3, h4, h5, h6,
p, ul, ol, li {
  line-height: inherit;
}

/* --------------------------------------------------
   HEADER 
-------------------------------------------------- */

.site-header {
  background: #fff;
  border-bottom: 0px solid #ddd;
  margin-bottom: 0;
  padding-bottom: 0;

}

.header-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: .5rem 1rem;
}

.site-logo {
  height: 80px;
  flex-shrink: 0;
}

.site-title {
  font-size: 1.6rem;
  font-weight: 800;
  text-align: left;
  line-height: 1.2;
}

/* --- MOBILE (≤600px) --- */

@media (max-width: 600px) {
  .header-inner {
    display: block;
    text-align: center;
    padding: .75rem .5rem;
    max-width: 100%;
  }

  .site-logo {
    display: block;
    margin: 0 auto .5rem auto;
    height: 55px;
  }

  .site-title {
    font-size: 1.3rem;
    text-align: center;
    white-space: normal;
    margin: 0;
  }
}

/* --- DESKTOP (≥601px) --- */

@media (min-width: 601px) {
  .header-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: .5rem 2rem;
    gap: 1rem;
  }

  .site-title {
    white-space: nowrap;
  }
}

/* --------------------------------------------------
   NAVIGATION
-------------------------------------------------- */

nav {
  background: #fff;
  border-top: 5px solid #fff;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

nav a {
  color: var(--dark);
  text-decoration: none;
  padding: 0.45rem 0.9rem;
  border-radius: 4px;
  border: 2px solid #444;
  background: rgba(0,0,0,0.09);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

nav a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--dark);
}

/* --------------------------------------------------
   UL in the Body of the page = NOT NAV
-------------------------------------------------- */

.page-ul {
  list-style: none;
  margin: 1rem 0 1.5rem 1.2rem;   /* reduced from 2rem */
  padding: 0;
}

.page-ul li {
  margin-bottom: 0.6rem;
  position: relative;
  padding-left: 1.1rem;          /* reduced from 1.4rem */
}

.page-ul li::before {
  content: "\25B8";
  position: absolute;
  left: 0;
  top: 0.05em;
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 700;
  line-height: 1;
}



/* --------------------------------------------------
   SPACING TAGS
-------------------------------------------------- */

space-xs { height: .1rem; display: block; }
space-s  { height: 10px; display: block; }
space-m  { height: 15px; display: block; }
space-l  { height: 20px; display: block; }
space-xl { height: 30px; display: block; }

/* --------------------------------------------------
   MAIN CONTENT
-------------------------------------------------- */

main {
  max-width: var(--max-width);
  margin: 2rem auto;
  padding: 0 1rem;
}

section {
  background: #fff;
  padding: 1.2rem 1.4rem;
  margin: 1.2rem 0;
  border-radius: 6px;
  box-shadow:
    0 3px 6px rgba(0,0,0,0.22),
    -3px 0 6px rgba(0,0,0,0.12);
}

/* Mobile override */
@media (max-width: 600px) {
  section {
    padding: 0.7rem 1rem; /* narrower padding = wider white box */
  }
}


/* colour the background behind text from programme*/
.prog {
  background: #fdd;
  padding: 1.2rem 1.4rem;
  margin: 1.2rem 0;
  border-radius: 6px;
  box-shadow:
  0 3px 6px rgba(0,0,0,0.22),
  -3px 0 6px rgba(0,0,0,0.12);
}

/* --------------------------------------------------
   TYPOGRAPHY
-------------------------------------------------- */

h1.site-title {
  margin: 0;
  font-size: 2.0rem;
  font-weight: 800;
  line-height: 1.2;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--accent);
  letter-spacing: 0.5px;
  text-rendering: optimizeLegibility;
  text-decoration: underline;
  position: relative;
  text-decoration-color: #666;
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}


h2 {
  margin: 0 0 0.5em 0;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.2;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--accent);
  text-align: left;
  letter-spacing: 0.5px;
  text-rendering: optimizeLegibility;
}

p {
  margin: 0 0 0.1rem 0;
  font-size: 1rem;
  /*line-height: 1.55;*/
  color: var(--dark);
}


figcaption {
  font-size: 0.9rem;
  font-weight: 400; /* normal */
  font-family: "Inter", "Roboto", Arial, sans-serif;
  color: #000;
  line-height: 1.4;
  margin-top: 0.35rem;
  /*background: yellow; It could look good*/
}


p a {
  color: blue;
  font-weight: 600;
  text-decoration: underline;
}

p a:hover {
  color: red;
}

.footnote {
  text-align: left;
  font-size: 0.75rem;
  margin: 0px;
  padding: 0px;
  color: #555;
  font-style: italic
}

.credit {
  text-align: center;
  font-size: 0.75rem;
  margin-top: 0.25rem;
  color: #555;
}

a.credit {
  color: blue;
  text-decoration: underline;
  font-weight: normal;
}

/* --------------------------------------------------
   MISC ELEMENTS
-------------------------------------------------- */

.highlight-box {
  background: #fdd;
  padding: 1rem;
  border-radius: var(--radius);
}

.center-img p {
  margin: 0;
  line-height: 1.1;
}

.center-img {
  text-align: center;
  margin: 0 auto;
  max-width: 450px;
  width: 100%; /* ensures the figure shrinks with the page */
}

.center-img img {
  max-width: 100%; /* image scales with container */
  height: auto;
  width: 100%; /* ensures the figure shrinks with the page */
  border: 1px solid black;
}

footer {
  text-align: center;
  padding: 2rem 1rem;
  color: #666;
  font-size: 0.9rem;
}

hr.red {
  border: 2px solid #f00;
  border-radius: 2px;
  margin: 20px auto;
  width: 98%;
}

hr.grey {
  border: 1px solid #666;
  margin: 20px 0;
}

hr {
  width: 50%;
  margin: 2rem auto;
  border: none;
  border-top: 1px solid #ccc;
}

/* --------------------------------------------------
   TABLES
-------------------------------------------------- */

.lc-table {
  border-collapse: collapse;
  font-size: 0.8rem;
  width: 100%;
  table-layout: fixed;   /* predictable column widths */
  }

.lc-table td {
  padding: 3px 6px;
  border: 1px solid #888;
  vertical-align: top;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* First column: dates */
.lc-table td:first-child {
  width: auto;           /* adjust to taste */
  white-space: nowrap;   /* keeps 2013/14 on one line */
  font-weight: 600;
}

/* Second column: text */
.lc-table td + td {
  text-align: left;
}

 .table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
}

.table-scroll table {
  width: max-content; /* keeps columns natural width */
  font-size: 0.9rem;  /* optional: slightly smaller text */
  background: #cff;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  justify-content: center;
}


/* --------------------------------------------------
   FEEDBACK FORM
-------------------------------------------------- */

.feedback-form {
  display: block;                 /* Prevent grid inheritance */
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  padding: 1rem;
  border: 1px solid #000;
  border-radius: 10px;
  background-color: #fcc;
  box-sizing: border-box;
}

.feedback-form h2 {
  text-align: center;
}

.feedback-form label {
  display: block;
  margin-top: 1rem;
}

.feedback-form input,
.feedback-form textarea {
  width: 96%;
  padding: 0.5rem;
  margin-top: 0.5rem;
  border: 1px solid #000;
  border-radius: 7px;
}

.feedback-form button {
  display: block;
  width: 100%;
  padding: 0.75rem;
  margin-top: 1rem;
  border: none;
  border-radius: 3px;
  background-color: #252;
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
}

/* --------------------------------------------------
   I USED GRID INSTEAD OF A TABLE ON FAWNL.HTML
-------------------------------------------------- */

.grid-containertitle {
 display: grid;
 grid-gap: 0px 0px;
 grid-template-columns:100%;
 background-color: #eee;
 padding: 0px;
   font-size:  clamp(0.8rem, 1.0vw, 1.9rem);
}

.grid-container {
 display: grid;
 grid-gap: 0px 0px;
 grid-template-columns:12% 44% 44%;
 background-color: #eee;
 padding: 0px;
}


.grid-item1 {
  background-color: #fff;
  border: 1px solid black;
  padding: 0px;
  font-size: 9px;
  text-align: center;
}

.grid-item2 {
  background-color: #ffff88;
  border: 1px solid black;
  padding: 0px;
  font-size: 9px;
  text-align: center;
}


.grid-two-columns 
{display: grid; gap: 1rem; padding: 0rem;}

/* --------------------------------------------------
   I USE 'BIG MENU' ON MENU.HTML
-------------------------------------------------- */


.big-menu a 
{
display: block;
margin-bottom: 1rem;   /* vertical spacing between buttons */
padding: 0.45rem 0.9rem;
color: var(--dark);
text-decoration: none;
text-align:center;
border-radius: 8px;
border: 2px solid black;
background: #fff;
transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
box-sizing: border-box;
}

.big-menu a:last-child 
{margin-bottom: 0;}

.big-menu a:hover,
.big-menu a:focus 
{
background: var(--accent);
color: #fff;                 /* white text */
border-color: #000;
}

.card {
  background: #ddd;
  padding: 1rem;
  overflow: hidden; /* forces margins to stay inside */
}


/* --------------------------------------------------
   SPECIAL FOR PLAYER GALLERY
-------------------------------------------------- */

.wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: .8rem;
  padding: .5rem;
  background: #fff;
}

.box {
  background: #ccc;
  border: 1px solid gray;
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.box img {
  width: 100%;
  height: auto;
  border: 1px solid gray;
  border-radius: 4%;
  margin-bottom: 0.5rem;
}

.box h4 {
  margin: 0;
  line-height: 1.3;
}



.box:hover {border-color:#ff0000;}


