﻿/*
Author: MK.XLII
Design: W3layout - https://w3layouts.com
License: Creative Commons Attribution 3.0 Unported - https://creativecommons.org/licenses/by/3.0/
*/
/*******************************************************************************************************/
/*-- Gear --*/
/*******************************************************************************************************/
.games {
	padding: 1em 0 1em 0;
	text-align: center;
}
.games img {
	width:100%;
	box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.15);

}
.schedule-card img {
	width:100%;
	box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}
/*******************************************************************************************************/
/* faq */
.faq-card {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  max-width: 900px;
  background-color: var(--lfg);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #eef2f6;
  overflow: hidden;
  margin: 20px auto;
}
/* Content Body */
.faq-content {
  padding: 12px 24px 24px;
}
/*******************************************************************************************************/

.games-schedule {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  max-width: 1170px;
  margin: 20px auto 40px;
  padding: 20px;
  background-color: var(--lfg);
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.games-schedule h2 {
  text-align: center;
  color: #222;
  margin-bottom: 10px;
}
.games-schedule p {
  text-align: center;
  font-style:italic;
  color: #222;
  margin-bottom: 20px;
}
.games-cta {
	padding: 3em 0 1em;
}
/* Responsive Grid setup */
.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Forces exactly 3 columns on large screens */
  gap: 20px;
}

/* Breakpoint to stack into 1 column under 1170px */
@media (max-width: 1169px) {
  .games-grid {
    grid-template-columns: 1fr; /* Forces exactly 1 column */
    justify-items: center;      /* Centers the card horizontally on the screen */
  }
  
  .games-card {
    max-width: 363px;          /* Matches the natural desktop card width */
    width: 100%;               /* Ensures it is fully responsive on smaller phone screens */
  }
}

/* Individual card styling */
.games-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 20px;
  text-align: center;
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.games-card:hover {
  transform: translateY(-2px);
}
.games-card p {
  font-style:normal;
}
.games-twist {
    font-size: 12px;
    font-weight: 600;
    padding: 10px 12px;
    margin-top: auto;
}


