/* style/game-strategies-landlord-tips.css */

:root {
  --primary-color: #003366;
  --secondary-color: #FFD700;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f9f9f9;
  --border-light: #e0e0e0;
}

.page-game-strategies-landlord-tips {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light); /* Default light background for sections, body background from shared.css */
}

/* Ensure content is not covered by fixed header */
.page-game-strategies-landlord-tips__intro-section {
  padding-top: 120px; /* Desktop: Adjust based on actual header height */
}

.page-game-strategies-landlord-tips__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-game-strategies-landlord-tips__section {
  padding: 60px 0;
  transition: background-color 0.3s ease;
}

.page-game-strategies-landlord-tips__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-game-strategies-landlord-tips__dark-bg .page-game-strategies-landlord-tips__link {
  color: var(--secondary-color);
}

.page-game-strategies-landlord-tips__main-title,
.page-game-strategies-landlord-tips__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-game-strategies-landlord-tips__dark-bg .page-game-strategies-landlord-tips__main-title,
.page-game-strategies-landlord-tips__dark-bg .page-game-strategies-landlord-tips__section-title {
  color: var(--text-light);
}

.page-game-strategies-landlord-tips__sub-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-game-strategies-landlord-tips__dark-bg .page-game-strategies-landlord-tips__sub-title {
  color: var(--secondary-color);
}

.page-game-strategies-landlord-tips__intro-text {
  font-size: 18px;
  text-align: center;
  margin-bottom: 30px;
}

.page-game-strategies-landlord-tips__main-image,
.page-game-strategies-landlord-tips__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-game-strategies-landlord-tips__cta-box {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  margin-top: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-game-strategies-landlord-tips__cta-box p {
  font-size: 20px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.page-game-strategies-landlord-tips__cta-box .page-game-strategies-landlord-tips__link {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-game-strategies-landlord-tips__cta-button {
  display: inline-block;
  padding: 15px 35px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-game-strategies-landlord-tips__cta-button:hover {
  background-color: #e0b800;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-game-strategies-landlord-tips__cta-button--secondary {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--secondary-color);
  margin-left: 20px;
}

.page-game-strategies-landlord-tips__cta-button--secondary:hover {
  background-color: #002244;
  border-color: #e0b800;
  color: var(--secondary-color);
}

.page-game-strategies-landlord-tips__list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-game-strategies-landlord-tips__list-item {
  background-color: #ffffff;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-game-strategies-landlord-tips__list-item p {
  margin-bottom: 0;
}

.page-game-strategies-landlord-tips__link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-game-strategies-landlord-tips__link:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* FAQ Section Styling */
.page-game-strategies-landlord-tips__faq-section {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-game-strategies-landlord-tips__faq-section .page-game-strategies-landlord-tips__section-title {
  color: var(--text-light);
}

.page-game-strategies-landlord-tips__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-game-strategies-landlord-tips__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-game-strategies-landlord-tips__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-game-strategies-landlord-tips__faq-question:hover {
  background: var(--bg-light);
  border-color: #d0d0d0;
}

.page-game-strategies-landlord-tips__faq-question:active {
  background: #eeeeee;
}

.page-game-strategies-landlord-tips__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-dark);
}

.page-game-strategies-landlord-tips__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-game-strategies-landlord-tips__faq-item.active .page-game-strategies-landlord-tips__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg); /* Change to X when active */
}

.page-game-strategies-landlord-tips__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  color: var(--text-light);
}

.page-game-strategies-landlord-tips__faq-item.active .page-game-strategies-landlord-tips__faq-answer {
  max-height: 2000px !important; /* Ensure it expands sufficiently */
  padding: 20px 15px !important;
  opacity: 1;
  background: #002244; /* Darker background for answer */
  border-radius: 0 0 5px 5px;
}

.page-game-strategies-landlord-tips__faq-answer p {
  margin-bottom: 0;
}

/* Blog Posts Section */
.page-game-strategies-landlord-tips__blog-posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-game-strategies-landlord-tips__blog-card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-strategies-landlord-tips__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-game-strategies-landlord-tips__blog-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-game-strategies-landlord-tips__blog-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
  padding: 15px 20px 10px;
  line-height: 1.4;
}

.page-game-strategies-landlord-tips__blog-link {
  color: var(--primary-color);
  text-decoration: none;
}

.page-game-strategies-landlord-tips__blog-link:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-game-strategies-landlord-tips__blog-summary {
  font-size: 15px;
  color: #555555;
  padding: 0 20px 15px;
  flex-grow: 1;
}

.page-game-strategies-landlord-tips__blog-readmore {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 10px 20px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 0 0 8px 8px;
  align-self: flex-start;
  margin-top: auto;
  transition: background-color 0.3s ease;
}

.page-game-strategies-landlord-tips__blog-readmore:hover {
  background-color: #002244;
}