/*!
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: A child theme for the Kadence Theme.
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

/* Theme customization starts here
-------------------------------------------------------------- */
@media (max-width: 767px) {
  .desktop-only {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .mobile-only {
    display: none !important;
  }
}

/* -------------------------- */
/* Styled Content Lists Only */
/* -------------------------- */

/* Target only content areas, NOT nav menus */
.entry-content ul, .post-content ul, .page-content ul {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
  margin-bottom: 20px;
}

.entry-content ul li, .post-content ul li, .page-content ul li {
  position: relative;
  background-color: #f2f2f2;
  padding: 10px 15px 10px 40px;
  margin-bottom: 10px;
  border-left: 4px solid #FBC02D;
  border-radius: 6px;
  font-size: 1rem;
  color: #333;
  transition: background-color 0.3s ease;
}

.entry-content ul li::before, 
.post-content ul li::before,
.page-content ul li::before {
  content: "•";
  position: absolute;
  left: 15px;
  top: 10px;
  color: #FBC02D;
  font-weight: bold;
  font-size: 1.1rem;
}

.entry-content ul li:hover,
.post-content ul li:hover,
.page-content ul li:hover {
  background-color: #e8e8e8;
}

/* Reset + style for sub-lists */
.entry-content ul ul li,
.post-content ul ul li,
.page-content ul ul li {
  border-left: none;        /* remove yellow border */
  font-size: 0.95rem;       /* slightly smaller */
  color: #555;              /* lighter text color */
}

.entry-content ul ul li::before,
.post-content ul ul li::before,
.page-content ul ul li::before {
  content: none;            /* remove custom icon */
}


/* ----------------------------------------- */
/* Styled Rank Math FAQs - Matching Lists UI */
/* ----------------------------------------- */

.rank-math-block .rank-math-list-item {
  background-color: #f2f2f2;
  border-left: 4px solid #FBC02D;
  border-radius: 6px;
  padding: 15px 20px 15px 45px;
  margin-bottom: 15px;
  position: relative;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.rank-math-block .rank-math-list-item:hover {
  background-color: #e8e8e8;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.rank-math-block .rank-math-question {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin: 0;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

/* Toggle icon (+ or -) */
.rank-math-block .rank-math-question::after {
  content: "+";
  position: absolute;
  right: 10px;
  top: 2px;
  font-size: 1.2rem;
  color: #FBC02D;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.rank-math-block .rank-math-question.active::after {
  content: "−";
}

.rank-math-block .rank-math-answer {
  display: none;
  padding-top: 10px;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
  transition: all 0.3s ease;
}

.rank-math-block .rank-math-answer.open {
  display: block;
}

/* Responsive Tweaks */
@media (max-width: 600px) {
  .rank-math-block .rank-math-question {
    font-size: 1rem;
  }

  .rank-math-block .rank-math-list-item {
    padding: 12px 15px 12px 40px;
  }
}