/* style/blog-how-to-choose-5mb-games.css */

/* Base styles for the page content, assuming body has padding-top from shared.css */
.page-blog-how-to-choose-5mb-games {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #FFF5E1; /* Text Main color on dark background */
  background-color: #B71C1C; /* Background color from custom palette */
  padding: 0 0 40px 0; /* Adjust overall padding, sections will add specific padding */
}

/* Highlight for keywords */
.page-blog-how-to-choose-5mb-games .highlight {
  color: #F4D34D; /* Gold for emphasis */
  font-weight: bold;
}

/* Hero Section */
.page-blog-how-to-choose-5mb-games__hero-section {
  position: relative;
  width: 100%;
  padding: 80px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background: linear-gradient(180deg, #C91F17 0%, #7A0E0E 100%); /* Deep Red gradient */
  text-align: center;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  justify-content: center;
  min-height: 550px;
  margin-bottom: 40px; /* Space before next section */
  box-sizing: border-box;
}

.page-blog-how-to-choose-5mb-games__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px; /* Space between image and text */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-blog-how-to-choose-5mb-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-blog-how-to-choose-5mb-games__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px; /* Inner padding for text */
}

.page-blog-how-to-choose-5mb-games__main-title {
  color: #FFF5E1; /* Text Main */
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Using clamp for H1 */
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-blog-how-to-choose-5mb-games__description {
  color: #FFF5E1; /* Text Main */
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* General Section Styling */
.page-blog-how-to-choose-5mb-games__section {
  max-width: 1200px;
  margin: 0 auto 40px auto; /* Center sections and add space */
  padding: 60px 40px;
  background-color: #D32F2F; /* Card BG color for sections */
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

.page-blog-how-to-choose-5mb-games__heading {
  color: #F4D34D; /* Gold color for sub-headings */
  font-size: 2.2rem;
  margin-bottom: 35px;
  text-align: center;
  font-weight: 600;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-blog-how-to-choose-5mb-games__sub-heading {
  color: #FFCC66; /* Glow color for sub-sub-headings */
  font-size: 1.8rem;
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: left;
  font-weight: 500;
}

.page-blog-how-to-choose-5mb-games__text-block {
  margin-bottom: 25px;
  color: #FFF5E1; /* Text Main */
  font-size: 1rem;
}

.page-blog-how-to-choose-5mb-games__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 25px;
  color: #FFF5E1; /* Text Main */
}

.page-blog-how-to-choose-5mb-games__list-item {
  margin-bottom: 10px;
  color: #FFF5E1; /* Text Main */
}

/* Image in Content */
.page-blog-how-to-choose-5mb-games__image-wrapper {
  margin: 40px auto;
  text-align: center;
  max-width: 800px; /* Limit content images */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
}

.page-blog-how-to-choose-5mb-games__content-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Buttons */
.page-blog-how-to-choose-5mb-games__button {
  display: inline-block;
  padding: 14px 30px;
  margin: 10px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  max-width: 100%; /* Ensure button doesn't overflow */
  box-sizing: border-box; /* Include padding and border in element's total width and height */
  text-align: center;
}

.page-blog-how-to-choose-5mb-games__button--primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button color */
  color: #333333; /* Dark text for contrast on gold button */
  border: none;
}

.page-blog-how-to-choose-5mb-games__button--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  filter: brightness(1.1); /* Subtle hover effect */
}

.page-blog-how-to-choose-5mb-games__button--secondary {
  background: transparent;
  color: #F4D34D; /* Gold text */
  border: 2px solid #F4D34D; /* Gold border */
}

.page-blog-how-to-choose-5mb-games__button--secondary:hover {
  background: #F4D34D; /* Gold background on hover */
  color: #333333; /* Dark text on hover */
  filter: brightness(1.1); /* Subtle hover effect */
}

/* CTA Section */
.page-blog-how-to-choose-5mb-games__cta-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #7A0E0E; /* Deep Red */
  border-radius: 12px;
  margin: 20px auto 40px auto; /* Center and add space */
  max-width: 1200px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

.page-blog-how-to-choose-5mb-games__cta-title {
  color: #FFF5E1; /* Text Main */
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-blog-how-to-choose-5mb-games__cta-description {
  color: #FFF5E1; /* Text Main */
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-how-to-choose-5mb-games__cta-buttons-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  box-sizing: border-box;
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-blog-how-to-choose-5mb-games {
    font-size: 16px;
    line-height: 1.6;
    padding: 0 0 20px 0; /* Adjust overall padding for mobile */
  }

  .page-blog-how-to-choose-5mb-games__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Ensure small top padding */
    min-height: 400px;
    margin-bottom: 20px;
  }

  .page-blog-how-to-choose-5mb-games__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-blog-how-to-choose-5mb-games__hero-content {
    padding: 0;
  }

  .page-blog-how-to-choose-5mb-games__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-blog-how-to-choose-5mb-games__description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-blog-how-to-choose-5mb-games__section {
    padding: 30px 15px;
    margin: 0 auto 20px auto;
  }

  .page-blog-how-to-choose-5mb-games__heading {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .page-blog-how-to-choose-5mb-games__sub-heading {
    font-size: 1.5rem;
    margin-top: 25px;
    margin-bottom: 15px;
  }

  .page-blog-how-to-choose-5mb-games__text-block {
    font-size: 0.95rem;
  }

  .page-blog-how-to-choose-5mb-games__list {
    margin-left: 20px;
  }

  .page-blog-how-to-choose-5mb-games__image-wrapper {
    margin: 20px auto;
  }

  /* Images responsive */
  .page-blog-how-to-choose-5mb-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Buttons responsive */
  .page-blog-how-to-choose-5mb-games__button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 8px 0 !important; /* Stack buttons vertically */
    padding: 12px 20px; /* Adjust padding for smaller screens */
  }
  
  .page-blog-how-to-choose-5mb-games__cta-buttons-wrapper {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
  }

  .page-blog-how-to-choose-5mb-games__cta-section {
    padding: 40px 15px;
    margin: 10px auto 20px auto;
  }

  .page-blog-how-to-choose-5mb-games__cta-title {
    font-size: 2rem;
  }

  .page-blog-how-to-choose-5mb-games__cta-description {
    font-size: 1rem;
  }
}