/*
Theme Name: GeneratePress Child
Theme URI: https://generatepress.com
Description: Child theme for GeneratePress (Quiz Funnel Custom UI)
Author: Apurba Pathak
Template: generatepress
Version: 1.0
*/

/* ===== QUIZ GLOBAL STYLES ===== */

#block-13{padding:0;}

.custom-ad-box {
    min-width: 300px;
	  min-height: 310px;
  }

  .mobileShow { 
    display: none; /* Hidden by default */
  }

  .mobileHide {
    display: flex; /* Horizontal layout */
    justify-content: center;
    gap: 20px;
  }

  /* Mobile & Tablet (up to 767px) */
  @media only screen and (max-width: 767px) {
    .mobileShow {
      display: block; /* Show mobile version */
    }
    .mobileHide {
      display: none; /* Hide desktop version */
    }
  }


/* Override layout for both game-category and game-tag pages */
.tax-game-category .site-content,
.tax-game-tag .site-content {
    display: block !important; /* Disable flex layout just on these pages */
}

.wp-block-categories__label {display:none!important;}



@media (max-width: 768px) {
  .inside-article .entry-title {
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 8px;
  }

  .inside-article .entry-summary p {
    font-size: 12px!important;
    line-height: 1.6;
  }

  .inside-article .read-more.button {
    font-size: 14px;
    padding: 6px 12px;
  }
	h2, h3 {
    font-size: 20px;
    line-height: 1.4;
  }
}


/* Responsive table styling for WordPress content */
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #ddd;
  margin-bottom: 1.5em;
}

.entry-content table th,
.entry-content table td {
  border: 1px solid #ddd;
  padding: 8px 10px;
  text-align: left;
}

.entry-content table th {
  background: #f7f7f7;
  font-weight: 600;
}

/* Make tables scroll horizontally on small screens */
@media (max-width: 768px) {
  .entry-content table {
    display: block;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
  }

  .entry-content table th,
  .entry-content table td {
    font-size: 14px;
    padding: 6px 8px;
  }
}
@media (max-width: 768px) {
  .entry-content ul li,
  .entry-content ol li {
    margin-bottom: 4px;   /* reduce spacing */
    line-height: 1.4;     /* tighten line spacing */
  }

  .entry-content ul,
  .entry-content ol {
    margin-left: 1em;     /* optional: reduce left indent */
    padding-left: 1em;
  }
}


/* quiz funnel */

/* Page background */
body {
  background: #f3f4f6;
  font-family: 'Segoe UI', sans-serif;
}

/* Center card */
.quiz-card {
  max-width: 420px;
  margin: 60px auto;
  background: #ffffff;
  padding: 30px 25px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  text-align: center;
}

/* Heading */
.quiz-card h1 {
  font-size: 26px;
  margin-bottom: 10px;
  font-weight: 700;
}

/* Subtitle */
.quiz-card p {
  color: #666;
  font-size: 15px;
  margin-bottom: 20px;
}

/* Feature list */
.quiz-features {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.quiz-features li {
  margin: 8px 0;
  font-size: 14px;
}

/* Gradient buttons */
.quiz-btn {
  display: block;
  width: 100%;
  padding: 14px;
  margin: 10px 0;
  background: linear-gradient(135deg, #4f46e5, #22c55e);
  color: #fff !important;
  text-decoration: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  transition: 0.25s;
}

/* Hover */
.quiz-btn:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

/* Progress bar */
.quiz-progress-bar {
  width: 100%;
  height: 8px;
  background: #e5e7eb;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 20px;
}

.quiz-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #4f46e5, #22c55e);
  transition: width 0.5s ease;
}

/* Mobile */
@media (max-width: 600px) {
  .quiz-card {
    margin: 20px;
    padding: 20px;
  }
}


/* Question title */
.quiz-question {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
}

/* Answer buttons (bigger like app UI) */
.quiz-option {
  display: block;
  width: 100%;
  padding: 16px;
  margin: 12px 0;
  background: linear-gradient(135deg, #4f46e5, #22c55e);
  color: #fff !important;
  text-decoration: none;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 600;
  transition: 0.25s;
}

/* Hover + click feel */
.quiz-option:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

/* Click animation */
.quiz-option:active {
  transform: scale(0.98);
}


/* Share buttons */
.share-btn {
  display: block;
  width: 100%;
  padding: 14px;
  margin: 10px 0;
  background: #1877f2;
  color: #fff !important;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
}

/* WhatsApp color */
.share-btn.whatsapp {
  background: #25d366;
}

.quiz-btn-success {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}


/* Animation */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}