
.timeline{
    position: relative;
    padding: 0 var(--gap-small) 0 0;
    font-size: var(--step-05);
}

@media(min-width: 768px ){
    .timeline{
        padding: 0 var(--gap) 0 var(--gap);
        font-size: var(--step-1);
    }
}

.timeline_row{
    display: grid;
    grid-template-columns: 108px 12px 1fr;
    max-height: 1000px;
    transition: max-height 0.45s ease-in-out;
    overflow: hidden;
}

.tl_bar{
    background-color: var(--pink);
}

.tl_intro,
.timeline .tl_intro{
    padding-top: var(--gap);
	font-size: var(--step-05);
}

.tl_separator{
	display: inline-flex;
	color:white;
	padding-inline: 4px;
}

@media(min-width: 992px ){

    .timeline{
        padding: 0 calc(2 * var(--gap)) 0 calc(2 * var(--gap));
        font-size: var(--step-1);
    }

    .timeline_row{
        display: grid;
        grid-template-columns: 300px 12px 1fr;
    }

    .tl_decade_row .tl_content{
        order:3;
    }

    .tl_decade_row .tl_bar{
        order:2;
    }

    .tl_decade_row .tl_date{
        order:1;
    }

}


.tl_date{
    text-align: right;
    padding:0 var(--gap) var(--gap) 0;
}

.tl_decade_row .tl_date{
    padding:0;
}

.tl_decade{
    display: flex;
    flex-direction: row-reverse;
    gap: 12px;
    padding:2rem 0;
    flex:1;
}

.tld_number{
    font-size: var(--step-2);
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: start;
    padding-bottom: 13px;
    flex: 1;
}

@media(min-width: 576px ){

    .tld_number{
        font-size: var(--step-3);
    }

}

.tld_symbol{
    width:127px;
    background: url('/site/assets/images/symbol/arrow.svg') no-repeat;
    min-height: 80px;
    background-position: center;
    background-size: 100% auto;
    display: flex;

}

.tl_date_year{
    font-size: var(--step-2);
}

.tl_date_month{
    font-size: var(--step-0);
}

@media(min-width: 768px ){
    .tl_date_month{
        font-size: var(--step-05);
    }
}

@media(min-width: 992px ){

    .tl_decade{
        flex-direction: row;

    }

    .tld_number{
        justify-content: end;
    }

    .tld_symbol{
        transform: rotate(180deg);
    }
}

.tl_content{
    padding-bottom: var(--gap);
}

.tl_gnomon{
    height:88px;
    background: url(/site/assets/images/gnomon/gnomon_none.svg) no-repeat;
}

.media .tl_gnomon{
    background-image: url(/site/assets/images/gnomon/gnomon_media.svg);
}

.our_history .tl_gnomon{
    background-image: url(/site/assets/images/gnomon/gnomon_case_profile.svg);
}

.case_profile .tl_gnomon{
    background-image: url(/site/assets/images/gnomon/gnomon_case_profile.svg);
}

.campaign .tl_gnomon{
    background-image: url(/site/assets/images/gnomon/gnomon_campaign.svg);
}

.legal .tl_gnomon{
    background-image: url(/site/assets/images/gnomon/gnomon_legal.svg);
}

.policy .tl_gnomon{
    background-image: url(/site/assets/images/gnomon/gnomon_policy.svg);
}

.multiple .tl_gnomon{
    background-image: url(/site/assets/images/gnomon/gnomon_multiple.svg);
}


.tl_content_grid{
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: var(--gap);
}

.tl_content_text {
	padding-left: var(--gap);
	display: flex;
	flex-direction: column;
	gap: calc(0.5 * var(--gap));
}

@media(min-width: 992px ){

    .tl_content_text {
        padding-left: 78px;
    }

}

.tl_strap{
    color: var(--pink, #EA79A9);
    font-weight: var(--strong);
    line-height: normal;
    letter-spacing: 0.64px;
    text-transform: uppercase;   
    font-size: var(--step--1); 
}

.tl_title{
    font-size: var(--step-1);
    line-height: 120%; /* 38.4px */
}


.tlcg_image{
    padding-top:calc(2 * var(--gap));
}

.tl_summary{
    font-size: var(--step--1);
}

.tl_more{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-transform: uppercase;
	font-size: var(--step-0);
	font-weight: var(--heavy);
}

@media(min-width: 992px ){

    .tl_more{
        flex-direction: row;
    }

}

.tl_row{
    max-height: 1000px;
    transition:var(--transition);
}

.tl_row_hidden{
    max-height:0;
    height:0;
    transition: max-height 0.45s ease-in-out;
}


/** filters ***/

.filters_title{
    color: var(--pink, #EA79A9);
    text-align: center;
    font-feature-settings: 'liga' off;
    font-size: 1.5rem;
    line-height: 120%; /* 28.8px */
}

.decades_grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap:8px;
}

.decades_grid > a{
    display: flex;
    border:2px solid white;
	color:var(--white);
    font-size: var(--step--1);
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition:var(--transition);
}

.decades_grid > a:hover{
    color: var(--pink);
    border-color: var(--pink);
    transition:var(--transition);
}

.filter_rows{
    display: flex;
    flex-direction: column;
    gap:16px;
}

@media(min-height: 800px ){

.filter_rows{
    gap:24px;
}
}


.filter_image{
    width: 40px;
    height: 40px;
}

.filter_image .iq_symbol{
    width: 40px;
    height: 40px;
}
.filter_image svg{
    max-width: 100%;
}

.filter_title{
    display: flex;
    align-items: center;
    flex:1;
    text-transform: uppercase;
}

.fill_ter{
    fill: white;
}


.filter_toggle_button{
    display: flex;
    align-items: center;
}

.toglabel{
    display: flex;
    gap: var(--gap-small);
    cursor: pointer;
}

.toglabel:has(.filter_active)  .fill_ter{
    fill:var(--pink);
    transition:var(--transition);
  }

  .toglabel:has(.filter_active)  .filter_title{
    color:var(--pink);
    transition:var(--transition);
  }


.cat_link{
    color:var(--purple);
    background-color: transparent;
    border:0;
    text-transform: uppercase;
    text-decoration: underline;
    cursor: pointer;
    transition:var(--transition);
	padding:0;
	letter-spacing: 1px;
}

.cat_link:hover{
    text-decoration: none;
    transition:var(--transition);
}

.tl_overlay{
    position: fixed;
    bottom:0;
    height:0;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1px 1fr;
    transition:var(--transition);
}

@media(min-width: 992px ){
    .tl_overlay{
        grid-template-columns: 312px 1fr;
    }
}

.overlay_active{

    height:calc(100vh - 114px);
    max-height:calc(100vh - 114px);
    transition:var(--transition);
    overflow: auto;
}

.close_overlay{
    position: absolute;
    top:1rem;
    right: 1rem;
}

.tl_detail_content{
    background-color: var(--dark);
	padding-top: 80px; /* on mobile we need space for the close butt */
}


@media(min-width: 768px ){

	.tl_detail_content{
		padding-top: 0;
	}

}

.tl_edit_link{
    color:var(--purple);
    font-size: 0.875rem;
}







/* CASE STYUDY timeline 

Copied pretty much wholesale from the polic science site.
*/

.iq_cst_heading{
    font-size: var(--step-2);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: var(--gap);
}

.cs_timeline {
    container-type: inline-size;
    background: linear-gradient(90deg,
        rgba(0, 0, 0, 0) calc(50% - 3px),
        var(--pink-alpha) calc(50% - 4px),
        var(--pink-alpha) calc(50% + 4px),
        rgba(0, 0, 0, 0) calc(50% + 3px));
    margin-bottom: 2rem;
  }
  
  
  .cstl_row {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .cstl_card,
  .cstl_date {
    flex: 1
  }
  
  .cstl_date {
    display: flex;
  }
  
  
  .cstl_line {
    width: 80px;
    display: flex;
    align-items: start;
    justify-content: center;  

  }
  
  .cstl_cap {
    width: 32px;
    height: 4px;
    background: var(--pink);
  
  }
  
  .csgnomon {
    height: 64px;
    display: flex;
    align-items: center;
    width: 100%;
  }
  
  .csgno_line {
    height: 6px;
    background-color: var(--pink);
    flex: 1;
	opacity: 0;
  }
  
  
  
  .csgno_circle {
    width: 24px;
    height: 24px;
    background-color: var(--purple);
    border-radius: 50%;
    position: relative;
    box-shadow: var(--shadow);
    z-index: 1;
  }
  
  .csgno_circle::after {
	content: '';
	width: 12px;
	height: 12px;
	background-color: var(--dark);
	border-radius: 50%;
	position: absolute;
	top: 6px;
	left: 6px;
}
  
  .csgno_space {
    flex: 1;
  }
  
  .cstl_row:nth-of-type(odd) .csgnomon {
    flex-direction: row-reverse;
  }
  
  .cstl_card_item {
    color: white;
    text-align: center;
    font-size: var(--step-0);
  }
  
  .cstl_card_meta {
    margin: 0 1rem 0 1rem;
  }
  
  .cstl_card_summary p {
    padding-bottom: 0.5rem;
    margin-bottom: 0;
  }
  
  @container (min-width: 420px) {

	.cs_timeline {

		background: linear-gradient(90deg,
			rgba(0, 0, 0, 0) calc(50% - 3px),
			var(--pink) calc(50% - 4px),
			var(--pink) calc(50% + 4px),
			rgba(0, 0, 0, 0) calc(50% + 3px));

	  }
	  
    .cstl_row {
      flex-direction: row;
      align-items: revert;
    }
  
    .cstl_row:nth-of-type(odd) {
      flex-direction: row-reverse;
    }
  
    .csgno_line {
	opacity: 1;
      background-color: var(--purple);
    }
  
    .cstl_card_item {
      text-align: right;
    }
  
    .cstl_row:nth-of-type(odd) .cstl_card_item {
      text-align: left;
    }
  
  }
  
  .cstl_card_title {
    text-transform: uppercase;
    font-size: var(--step-2);
    margin: 0;
    color: var(--purple);
  }
  
  .cstl_card_strap {
    font-size: var(--step-1);
    text-transform: uppercase;
    color: white
  }