/* =========================
   Gregynog footer – 2025 refresh
   ========================= */

.gy-footer {
  background: radial-gradient(circle at 0% 0%, #222c5b, #11182f 55%, #0a1024);
  color: #e3ecff;
  border-radius: 24px;
  padding: 18px 24px 20px;
  margin-top: 30px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

/* Neutralise any old .footer styles */
.logoboxcontainer .footer,
#base2,
#base2_sponsors {
  background: transparent;
  border: 0;
  float: none;
}

/* Main layout */
.gy-footer-main {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px;
}

/* Columns */
.gy-footer-col {
  flex: 1 1 220px;
  min-width: 0;
}

.gy-footer-col-brand {
  max-width: 260px;
}

.gy-footer-logo {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Sponsors block */
.gy-footer-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  font-weight: 700;
  color: #f6f1c6;
  margin: 4px 0 8px;
}

.gy-footer-sponsor-logos img {
  display: inline-block;
  margin: 4px 6px 4px 0;
  vertical-align: middle;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.3));
}

/* Meta / legal text */
.gy-footer-col-meta p {
  margin: 4px 0;
}

.gy-footer-legal span {
  font-weight: 700;
  letter-spacing: 0.06em;
}

.gy-footer-links,
.gy-footer-credit {
  font-size: 13px;
}

/* Links – echo header style but subtler */
.gy-footer a {
  color: #f0d98b;
  text-decoration: none;
  position: relative;
}

.gy-footer a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: linear-gradient(90deg, #e6c76f, #f6f1c6);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.18s ease-out;
}

.gy-footer a:hover::after,
.gy-footer a:focus::after {
  transform: scaleX(1);
}

/* Separator dot/pipe */
.gy-footer-sep {
  display: inline-block;
  margin: 0 6px;
  opacity: 0.7;
}

/* Typography tuning */
.gy-footer {
  font-size: 14px;
  line-height: 1.5;
}
.gy-footer p {
  margin: 3px 0;
}

/* -------------------------
   Responsive tweaks
   ------------------------- */

@media (max-width: 768px) {
  .gy-footer {
    border-radius: 0 0 16px 16px;
    padding: 16px 16px 18px;
  }

  .gy-footer-main {
    flex-direction: column;
    gap: 16px;
  }

  .gy-footer-col-brand,
  .gy-footer-col-sponsors,
  .gy-footer-col-meta {
    max-width: none;
  }

  .gy-footer-col-brand,
  .gy-footer-col-sponsors {
    text-align: center;
  }

  .gy-footer-sponsor-logos img {
    margin: 6px 4px;
  }

  .gy-footer-col-meta {
    text-align: center;
  }
}
/* Center footer content globally */
.gy-footer-main {
  max-width: 1000px;          /* keeps it nicely contained */
  margin: 0 auto;             /* centres the block itself */
  justify-content: center;    /* centre the flex children horizontally */
}

.gy-footer-col {
  text-align: center;         /* centre text & images in each column */
}

/* Make sure logo and sponsors look centred too */
.gy-footer-col-brand,
.gy-footer-col-sponsors,
.gy-footer-col-meta {
  text-align: center;
}

/* Cookie / privacy banner – styled to match header/footer */

.privacyDiv {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  pointer-events: none;        /* allow clicks only on inner bar */
}

.privacyBar {
  max-width: 1000px;
  margin: 0 auto 10px;
  background: radial-gradient(circle at 0% 0%, #222c5b, #11182f 55%, #0a1024);
  color: #e3ecff;
  border-radius: 999px;
  padding: 10px 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  line-height: 1.4;
  pointer-events: auto;
}

.privacyBar p {
  margin: 0;
  flex: 1 1 220px;
}

.privacyBar a {
  color: #f0d98b;
  text-decoration: underline;
}

/* Use existing .button but tweak size for the cookie bar */
.privacyBar .button {
  font-size: 12px;
  padding: 6px 18px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Mobile tweaks */
@media (max-width: 600px) {
  .privacyBar {
    margin: 0 8px 8px;
    border-radius: 14px;
    flex-direction: column;
    align-items: stretch;
  }

  .privacyBar .button {
    align-self: flex-end;
    margin-top: 4px;
  }
}
