/* crumbs */

.hero .breadcrumbs {
    display: none;
}

.taxcrumbs {
    margin-top: 3rem;
}

.taxcrumbs .breadcrumbs {
		margin-top: 1em;
    margin-left: 1em;
}

.taxcrumbs .breadcrumbs li:first-of-type {
    margin-left: -.5em;
}

.taxcrumbs .breadcrumbs li:first-of-type::before {
	content: '';
}

.taxcrumbs .breadcrumbs > li:not(:nth-last-child(2))
{
    display: inline-block;
}

/* structural for now */



.asidegroup--reset {
      display: flex;
      gap: 1em;
      flex-direction: row;
      background-color: white;
      position: relative;
}

.asidegroup--margins-large > .page-sidebar {
    margin-left: 2.5em;
    margin-top: 2.5em;
    min-width: 14em;
}

.menu.hierarchical-taxonomy-menu ul, .tax-nav-menu ul {
	width: 100%;
}

/* guide menu and view specific */

.guides--experts-guide {
	padding-bottom: 2rem;
}

/* no crumbs on main so add padding */
.guides--experts-guide--pageall {
	padding-top: 3rem;
}

.guides--experts-guide--firstlevel,
.guides--experts-guide--alllevels
{
    display: flex;
    flex-direction: row;
}

.guides--experts-guide--firstlevel form,
.guides--experts-guide--alllevels form {
    flex-basis: 25%;
    min-width: 300px;
}



.tax-nav-select form select,
.guides--experts-guide--firstlevel form select,
.guides--experts-guide--alllevels form select{
                width: 90%;
                padding: .5rem;
                font-size: smaller;
            }

.guide-rows {
    list-style: none;
}

.guide-row .collection-item.collection-item--experts {
    display: flex;
    gap: 1em;
    padding: 1em;
    align-items: center;
}

.guide-row .collection-item--experts .accessories {
	display: none;
}

.guide-row article.media {
	    flex-basis: 120px;
    flex-shrink: 0;
    padding: .25rem;
}


.ajax-progress-fullscreen {
	display: none !important;
}

[id^="block-yse-views-block-experts-guide"] {
/*	display: flex; */
}

.guides--experts-guide--firstlevel form ul ul,
.guides--experts-guide form li:has(a[name="tid[All]"]) {
	display: none;
}

.guides--experts-guide form ul {
    font-size: smaller;
    list-style: none;
    line-height: 1.5;
    max-width: 300px;
}

.guides--experts-guide--firstlevel option[data-bef-nested] {
    display: none;
}


.collection-item .content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: .25rem;
}



/* tags style */


.term-tree-list > ul.term {
            display: flex;
            flex-wrap: wrap;
            padding: 0;
            margin: 0;
            list-style-type: none;
          }
          
          .term-tree-list ul.term ul.term {
            display: contents;
            padding: 0;
            margin: 0;
          }
          
          .term-tree-list > ul.term > li {
          	display: contents;
            line-height: 1.2;
            font-size: smaller;
          }
          
          .term-tree-list ul.term li a {
            text-decoration: none;
            color: #0066cc;
            padding: 2px 6px;
            border-radius: 4px;
            background-color: rgba(0, 102, 204, 0.1);
            display: inline-block;
            line-height: 1.2;
          }
          
          .term-tree-list ul.term li a:hover {
            background-color: rgba(0, 102, 204, 0.2);
          }


.term-tree-list > ul.term ul li {
    display: inline-block;
    margin: 3px;
    font-size: smaller;
}


  /* Hide list items without nested ULs (your existing rule) */
  .term-tree-list > ul.term > li:not(:has(ul)) {
    display: none;
  }




/* end tags */

.collection-item .text--primary h2 {
    font-size: x-large;
}

.collection-item .text--primary {
    font-size: large;
}

.collection-item .text--secondary {
    font-size: medium;
}





            .guide-grid .guide-rows {
                list-style: none;
                display: flex;
                flex-direction: row;
                flex-wrap: wrap;
            }

            .guide-grid .guide-row {
                width: 300px;
            }

            .guide-grid    .guide-row .collection-item {
                display: flex;
                flex-direction: column;
            }

            .guide-grid  .collection-item .text--secondary {
                font-size: smaller;
                line-height: 1.5em;
            }








@media (min-width: 48em) {

/* faking desktop */
.tax-nav-select,
.form-item-tid__sync__select {
    visibility: hidden;
    width: 0;
    height: 0;
}

.asidegroup--margins-large  .main-content {
	  margin-right: 3em;
}


}

@media (max-width: 48em) {

.asidegroup--reset {
	flex-direction: column;
}

.asidegroup--reset .main-content {
 margin-top: 0;	
}

.asidegroup--margins-large > .page-sidebar {
   margin-left: 1em;
   margin-right: 1em;
}

.taxcrumbs .breadcrumbs {
		display:none;
}


/* faking mobile */
.tax-nav,
.form-item-tid {
    visibility: hidden;
    width: 0;
    height: 0;
}



.guides--experts-guide--firstlevel,
.guides--experts-guide--alllevels {
    flex-direction: column;
}

.guide-row article.media {
    align-self: flex-start;
}

.collection-item .text--secondary {
    font-size: smaller;
    line-height: 1.5em;
}

}