/*
Theme Name: FC Nations Child Theme
Template Name: Club Page 
Description: Styles specific to the Club page (page-club.php)
Author: Your Name
Version: 1.0
*/

#page-hero {
  position: relative;
  height: 40vh;
  min-height: 40vh;
  display: flex;
  justify-content: center; /* centers wrap horizontally */
  align-items: stretch;    /* allows child to fill vertically */
  color: white;
  z-index: 0;
  background-color: #000;
}

/* Hero Background Image */
#page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://madebyliam.co/nationsfc/hero.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.5;
  z-index: -1; /* behind content */
}

/* Hero Wrap (Red) */
#page-hero-wrap {
  max-width: 1200px;
  width: 80%;       /* only as wide as content */
  margin: 0 auto;

  display: flex;
  align-items: stretch; /* stretch children vertically */
  height: 100%;         /* match #page-hero height */
}

/* Hero Content (Blue) */
.page-hero-content {
  width: auto;      /* only as wide as content */
  height: 100%; 
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertically center the text */
  padding-top:13vh; /* optional padding */
}
#page-hero h1 {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

#club-first { background:#f8f8f8;
width: 100%;
margin: 0; padding: 0;
}
#club-first-wrap {
width: 80%; max-width: 1200px;
margin: 0 auto; padding: 4rem 0; /* vertical spacing */ 
display: flex; justify-content:space-between;;
border-left: 1px solid #00fcff;
border-right: 1px solid #00fcff;
}
.club-first-one { width:50%; }
.club-first-two { width:50%; display:flex; align-items:center; justify-content: flex-start; }
.club-first-two-wrap { display:flex; align-items:center; }

#club-second { 
background:#f8f8f8;
width: 100%;
margin: 0; padding: 0;
}
#club-second-wrap { 
width: 80%; max-width: 1200px;
margin: 0 auto;   padding: 4rem 0; /* vertical spacing */ 
border-top:1px solid grey;
display: flex; justify-content:space-between;;
border-left: 1px solid #00fcff;
border-right: 1px solid #00fcff;
}
.club-second-one { width:25%;}
.club-second-two { width:25%; }
.club-second-three { width:25%; }
.club-second-four { width:25%; }
.club-one {  }
.club-two {  text-align:right;}
.club-three { text-align:center; }
.club-four { text-align:center; }

/* ⭐ ADDED NUMBER BLOCK STYLES */
.club-stat { 
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align:center;
}

.club-stat-number {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-size: 5rem; color:#050417;
  text-align: center;
  line-height: 1;
}
.club-stat-number { text-align:center;
  display: inline-block;           /* allows us to control width */
  text-align: right;               /* keeps digits aligned right */
  font-variant-numeric: tabular-nums; /* all digits same width */
}
.club-stat-number::after {
  content: attr(data-placeholder); /* invisible placeholder text */
  visibility: hidden;              /* does not show */
  height: 0;                       /* no vertical space */
  display: inline-block;
}
.club-stat-label {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.1rem; color:#050417;
  text-align: center;
}
.club-stat-number .suffix {
  font-size: 0.5em;   /* or whatever size you want */
  vertical-align:0; /* optional: raise slightly */
  margin-left: 0.05em;   /* small spacing if needed */
}


#club-third {
  background: #fff;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Inner Wrap */
#club-third-wrap {
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 0; /* vertical spacing */
  display: flex;
  justify-content: space-between;
  border-left: 1px solid #00fcff;
  border-right: 1px solid #00fcff;
  gap: 2%;                      /* optional spacing between flex items */
}

/* Image Block - Square with Background */
.club-third-one {
  width: 45%;                    /* relative width of parent */
  aspect-ratio: 1 / 1;           /* keeps square shape */
  background-image: url('https://fcnations.com/img/about-01.jpg');
  background-size: cover;        /* fills container without stretching */
  background-position: center;   /* centers image */
  min-width: 100px; min-height: 100px;           
  max-width: 500px; max-height: 500px;             
  width: 500px; height: 500px;    
  flex-shrink: 0;                /* prevent shrinking on smaller screens */
}

/* Text Block Container */
.club-third-two {
  width: 50%;
  display: flex;
  align-items: center;           /* vertically center the inner block */
  justify-content: flex-start;   /* horizontal alignment */
}

/* Inner Text Wrapper */
.club-third-two-wrap {
  display: flex;
  flex-direction: column;        /* stack h1 and p vertically */
  align-items: flex-start;       /* left-align text */
  gap: 1rem;                     /* spacing between h1 and p */
}

/* Optional: make text responsive */
.club-third-two-wrap h1 {
  margin: 0;
}

.club-third-two-wrap p {
  margin: 0;
}

#club-four { 
width: 100%;
margin: 0; padding: 0;
}
#club-four-wrap {
	width: 80%; max-width: 1200px;
margin: 0 auto; padding: 4rem 0; /* vertical spacing */ 
border-top:1px solid grey;
display: flex; justify-content:space-between;;
border-left: 1px solid #00fcff;
border-right: 1px solid #00fcff;

}



#club-testimonials-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.testimonial { 
    padding: 1rem;
    flex: 1 1 30%; /* ~3 per row */
    box-sizing: border-box;
}

.testimonial-header { 
    display: flex;
    align-items: center;   /* vertically align image and h3 */
    gap: 0.75rem;          /* space between image and title */
    margin-bottom: 1.50rem;
}

.testimonial-image img {
    border-radius: 50%;
    width: 40px;
    height:40px;
    object-fit: cover;
}

.testimonial-header h3 {
    font-family: "Bebas Neue", sans-serif;
    font-size: 1.85rem;
    margin: 0;
}

.testimonial-text p {
    margin:0; font-weight:400;
    font-size: 0.85rem;
    line-height: 1.6rem; margin-bottom:1.50rem;
}
.testimonial-text p.testimonial-clamp {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;  /* max 3 lines */
    overflow: hidden;
}
.testimonial-readmore { display:block;
    color:#050417;
    text-decoration: none;
    font-weight: 600;
	font-size: 0.85rem;
	transition: transform 0.2s ease;
}
.testimonial-readmore:hover {
    color:#797292;
	text-decoration:none;
	transform: translateX(0.5rem);
}














/*
Theme Name: FC Nations Child Theme
Template Name: Announcements Page 
Description: Styles specific to the Announcements page (page-club.php)
Author: Your Name
Version: 1.0
*/


#announcements { 
background:#fff;
width: 100%;
margin: 0; padding: 0;
}
#announcements h1 {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 2rem; margin: 0;
  padding: 0;
}
#announcements h2 {
  font-family: Helvetica, Arial, sans-serif;
  font-weight:200;
  font-size:0.9rem;
  line-height:0rem; 
}
#announcements h2 a {
  font-family: Helvetica, Arial, sans-serif;
  font-weight:200;
  font-size:0.9rem;
  line-height:0rem; 
}
#announcements-wrap { 
width: 80%; max-width: 1200px;
margin: 0 auto; padding: 4rem 0; /* vertical spacing */ 
display: flex; justify-content:space-between;;
border-left: 1px solid #00fcff;
border-right: 1px solid #00fcff;
}
.announcements-first-one { width:55%; }
.announcements-first-two { width:35%; display:flex; align-items:center; justify-content: flex-start; }

#announcements-card {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.announcement-card { 
    display: flex;
    flex-direction: column; padding-bottom:1.5rem;
    border-bottom:1px solid grey;
}

.announcement-date {
    font-weight: 700;
    font-size: 1.2rem;
    color: #050417;
    margin-bottom: 0.5rem;
}

.announcement-title {
    font-family: "Bebas Neue", sans-serif;
    font-size: 1.5rem;
    margin: 0 0 0.5rem;
}

.announcement-author {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 0.5rem;
}

.announcement-blurb {
    font-size: 0.95rem;
    line-height: 1.5rem;
    margin-bottom: 0.5rem;
}

.announcement-readmore,
.announcement-readmore:visited {
    color: #050417;       /* normal color */
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.announcement-readmore:hover {
    color: #797292;
	text-decoration:none;
    transform: translateX(0.5rem);
}

.announcement-share {
    margin: 1.5rem 0 0 0.5rem;
    display: flex;
    gap: 1rem; /* space between buttons */
}
.announcement-share a {
    display: inline-block;
    width: 20px;               /* slightly bigger for padding around icon */
    height: 20px;
    background-color: #65686c; /* default block behind PNG */
    border: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
    transition: background-color 0.2s ease;
}


/* WhatsApp block */
.share-whatsapp {
    background-image: url('/img/whatsapp.png');
}

.share-whatsapp:hover {
    background-color: #050417;       /* darker green on hover */
}

/* Messenger block */
.share-messenger {
    background-image: url('/img/messenger.png');
}

.share-messenger:hover {
    background-color: #050417;       /* darker blue on hover */
}








#single-announcement { 
background:#f8f8f8;
width: 100%;
margin: 0; padding: 0;
}
#single-announcement h1 {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 2rem; margin: 0;
  padding: 0;
}
#single-announcement h2 {
  font-family: Helvetica, Arial, sans-serif;
  font-weight:200;
  font-size:0.9rem;
  line-height:0rem; 
}
#single-announcement h2 a {
  font-family: Helvetica, Arial, sans-serif;
  font-weight:200;
  font-size:0.9rem;
  line-height:0rem; 
}
#single-announcement-wrap {
width: 80%; max-width: 1200px;
margin: 0 auto; padding: 4rem 0; /* vertical spacing */ 
display: flex; justify-content:space-between;;
border-left: 1px solid #00fcff;
border-right: 1px solid #00fcff;
}

.announcement-paper {
    width: 57.5%;
    background: #fff;
    padding: 5%;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}


/* initial state for glide */
.single-announcement-first-one {
    opacity: 0;
    transform: translateY(50px); /* start slightly below */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.single-announcement-first-one.glide-in {
    opacity: 1;
    transform: translateY(0);
}


/* Universal fade-in wrappers for home, club, announcements */
#page-hero-wrap,
#club-first-wrap,
#club-second-wrap,
#club-third-wrap,
#club-four-wrap,
#announcements-wrap,
.single-announcement-first-one,
#mailing-list-wrap,
#sponsor-wrap,
#footer-wrap,
#sub-footer-wrap {
  opacity: 0;
  transform: translateY(60px);
  transition: all 1s ease-out;
}

#page-hero-wrap.visible,
#club-first-wrap.visible,
#club-second-wrap.visible,
#club-third-wrap.visible,
#club-four-wrap.visible,
#announcements-wrap.visible,
.single-announcement-first-one.visible,
#mailing-list-wrap.visible,
#sponsor-wrap.visible,
#footer-wrap.visible,
#sub-footer-wrap.visible {
  opacity: 1;
  transform: translateY(0);
}
