/*
Theme Name: Richmond Sports Council
Template: twentytwentyfive
Author: Grumpee Productions
Version: 1.4.1769911449
Updated: 2026-02-01 02:04:09

*/

/* ALL PAGES */

body.page .wp-site-blocks > main {
  margin-top: 1.2rem !important;
}



/* FRONT PAGE */

/* FOOTER */
.footer-note{
    font-size: .7em;
}

/* ABOUT US */

/* Overlay image animation on page load */

/* Responsive overlay system */

.image-overlay-wrap{
  position: relative;
  overflow: hidden;
}

/* Make sure the base image / cover area scales cleanly */
.image-overlay-wrap img{
  max-width: 100%;
  height: auto;
}

/* Overlay: centered horizontally, in the top third, responsive sizing */
.image-overlay-wrap .wp-block-image.image-overlay{
  position: absolute !important;
  z-index: 10 !important;

  /* nuke any theme alignment behavior */
  float: none !important;
  margin: 0 !important;

  /* true center */
  left: 50% !important;
  right: auto !important;
  top: clamp(1.25rem, 12%, 33%) !important;

  /* responsive sizing (no jump) */
  width: clamp(72px, 12vw, 150px);
  max-width: min(40%, 150px);
}

.image-overlay-wrap .wp-block-image.image-overlay img{
  display: block;
  width: 100%;
  height: auto;
}

/* Page-load animation: fade + slide up (keeps centering transform) */
.image-overlay-wrap .wp-block-image.image-overlay.image-overlay--animate{
  opacity: 0;
  transform: translateX(-50%) translateY(14px) scale(0.98);
  animation: overlayFadeSlideUp 0.8s ease-out forwards;
  animation-delay: 0.2s;
  will-change: transform, opacity;
}

@keyframes overlayFadeSlideUp{
  from{
    opacity: 0;
    transform: translateX(-50%) translateY(14px) scale(0.98);
  }
  to{
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

/* Mobile: keep it centered, but reduce size + adjust vertical placement */
@media (max-width: 600px){
  .image-overlay-wrap .wp-block-image.image-overlay{
    width: clamp(64px, 14vw, 110px);       /* <-- key change: no jump larger */
    max-width: min(45%, 110px);
    top: clamp(1rem, 10%, 28%) !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
}

/* About page row: responsive stacking */
.about-row {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

/* Stack on smaller screens */
@media (max-width: 900px) {
  .about-row {
    flex-direction: column;
  }
}

/* MEMBER RESOURCES */

.resource-list {
    list-style:none;
}

/* GROUP SUBMISSION */

/* === Group Submission Form === */

#group-submission-form {
  max-width: 980px;
  margin: 3rem auto;
  padding: 2.25rem 2.5rem;
  background: var(--wp--preset--color--surface, #fff);
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  font-family: inherit;
}

/* Full-width rows */
#group-submission-form textarea,
#group-submission-form input[type="file"],
#group-submission-form input[type="submit"] {
  grid-column: 1 / -1;
}

/* Labels */
#group-submission-form label {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--wp--preset--color--primary, #0f172a);
  gap: 0.4rem;
}

/* Inputs & textareas */
#group-submission-form input[type="text"],
#group-submission-form input[type="email"],
#group-submission-form input[type="url"],
#group-submission-form textarea {
  padding: 0.7rem 0.75rem;
  font-size: 0.95rem;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Textareas */
#group-submission-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* Focus state */
#group-submission-form input:focus,
#group-submission-form textarea:focus {
  outline: none;
  border-color: var(--wp--preset--color--accent, #22c55e);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

/* File input */
#group-submission-form input[type="file"] {
  padding: 0.35rem 0;
  font-size: 0.9rem;
}

/* Submit button */
#group-submission-form input[type="submit"] {
  margin-top: 1.5rem;
  align-self: flex-start;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: var(--wp--preset--color--primary, #0f172a);
  color: #fff;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

#group-submission-form input[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.2);
}

#group-submission-form input[type="submit"]:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Mobile: stack everything */
@media (max-width: 800px) {
  #group-submission-form {
    grid-template-columns: 1fr;
    padding: 1.75rem 1.5rem;
  }
}

/* SINGLE GROUP PAGE */

/* Group details card */
.rsc-group-details {
  list-style: none;
  margin: 0;
  padding: 1.5rem 1.75rem;

  background: var(--wp--preset--color--surface, #ffffff);
  border: 1px solid var(--wp--preset--color--border, #e5e7eb);
  border-radius: 14px;

  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.06),
    0 2px 6px rgba(0, 0, 0, 0.04);

  max-width: 100%;
}

/* Individual rows */
.rsc-group-details li {
  display: grid;
  grid-template-columns: minmax(120px, 160px) 1fr;
  gap: 0.75rem;

  padding: 0.65rem 0;
  border-bottom: 1px solid var(--wp--preset--color--border, #e5e7eb);

  font-size: 0.95rem;
  line-height: 1.5;
}

/* Remove divider on last item */
.rsc-group-details li:last-child {
  border-bottom: none;
}

/* Labels (left column) */
.rsc-group-details li strong {
  font-weight: 600;
  color: var(--wp--preset--color--foreground, #111827);
}

/* Values (right column) */
.rsc-group-details li span,
.rsc-group-details li a,
.rsc-group-details li {
  color: var(--wp--preset--color--muted, #4b5563);
}

/* Links */
.rsc-group-details a {
  color: var(--wp--preset--color--accent, #2563eb);
  text-decoration: none;
  font-weight: 500;
}

.rsc-group-details a:hover {
  text-decoration: underline;
}

/* Programs text gets a bit more breathing room */
.rsc-group-details li:last-child {
  padding-bottom: 0;
}

/* Mobile adjustments */
@media (max-width: 640px) {
  .rsc-group-details {
    padding: 1.25rem;
  }

  .rsc-group-details li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .rsc-group-details li strong {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--wp--preset--color--muted, #6b7280);
  }
}

.wp-block-query.rsc-group-author-posts .wp-block-post-template{
  list-style: none;
  padding: 0;
  margin: 0;
}


