/*!
Theme Name: Ruizarch Child
Theme URI: https://bslthemes.com/
Author: bslthemes
Author URI: https://themeforest.net/user/bslthemes
Description: Ruizarch - Architecture WordPress Theme
Version: 1.0.0
License: General Public License
License URI: http://www.gnu.org/licenses/gpl.html
Template: ruizarch
Text Domain: ruizarch-child
Tags: full-width-template, editor-style, featured-images, sticky-post, threaded-comments, translation-ready, theme-options
*/


/* Terms & Conditions Styling */\

/* Put this in Elementor > Custom CSS or your theme CSS */

/* 1) Normalize */
.term-conditions :where(ol, ul){ margin:0 0 1rem; padding-left:2rem; }
.term-conditions li{ display:list-item !important; list-style-position:outside; }
.term-conditions li::before{ content:none !important; } /* kill theme counters */

/* 2) Continuous numbering for TOP-LEVEL list items */
.term-conditions{ counter-reset: tc; }
.term-conditions > ol{ list-style:none; padding-left:2rem; }     /* remove native numbers at level 1 */
.term-conditions > ol > li{ counter-increment: tc; position:relative; }
.term-conditions > ol > li::marker{ content:''; }                 /* hide marker if browser shows one */
.term-conditions > ol > li::before{
  content: counter(tc) ". ";
  margin-right:.5rem;
  /* optional: align nicely */
  font-variant-numeric: tabular-nums;
}

/* 3) Keep nested lists using native markers */
.term-conditions ol ol{ list-style: lower-alpha !important; margin-left:2rem;}
.term-conditions ol ol ol{ list-style: lower-roman !important; margin-left:2rem;}

/* 4) Paste quirk: if a nested <ol> becomes a sibling after an <li>, treat it as nested visually */
.term-conditions li + ol{ list-style: lower-alpha !important; margin-top:.5rem; }


/* Brand Filter Compress */
/* new flat list for filters + "See all" support */
.amka-filter-list {
  list-style: none;
  padding-left: 0;
/*   margin: .25rem 0; */
}

/* .amka-filter-list .amka-term {
  margin: .15rem 0;
} */


.hidden-term {
  display: none;
}


.amka-see-all {
  margin-top: .4rem;
  padding: .1rem 0;
  border: 0;
  background: none;
  font: inherit;
  color: #000;
  text-decoration: underline;
  cursor: pointer;
}
