body, h2 {
    counter-reset: indepth; 
}

.indepth__tinies {
    display: grid;
    grid-auto-flow: column;
    overflow-y: hidden;
    overflow-x: scroll;
    scroll-snap-type: x proximity;
    padding: 0 1.25rem;
    grid-gap: 0 0.5rem;
    width: 100%;
    margin-left: -1.25rem;
}
.indepth__tinies .indepthlist__provider {
    width: 320px;
}

.indepthlist__provider {
    margin: 0.5rem auto 1.5rem;
    background: var(--color-primary-lightest);
    box-shadow: var(--box-shadow);
    box-sizing: border-box;
    border-radius: .5rem;
    max-width: 700px;
}

.indepthlist__provider p,
.indepthlist__provider strong,
.indepthlist__provider>ul>li,
.indepthlist__provider>ol>li,
.indepthlist__provider a,
.indepthlist__header {
    color: var(--text-color-card);
}

.review-card__review span svg {
    margin-left: 0.4rem;
}

.review-card__rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 700;
    color: var(--text-color-card);
}

.indepthlist__head h3 {
    display: block;
    margin: .75rem 0 .5rem;
    font-size: 1.25rem;
    color: var(--text-color-card);
}

.indepthlist__head {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-gap: 1rem;
    padding: 1rem 1.25rem;
    height: 110px;
}

h4.indepthlist__header {
    margin: .5rem 0;
}

.bonus-row__item-value {
    font-weight: 700;
    margin: 0.5rem 0 0;
}

.indepthlist__info {
    margin: 0 0 auto auto
}

.indepthlist__topper {
    display: flex;
    align-items:center ;
    justify-content: center;
    box-sizing: border-box;
    background: #f7f7f7;
    border-radius: .25rem;
    padding: 1rem;
    width: 120px;
    height: 100%;
}

.indepthlist__topper .review__logo {
    max-height: 65px;
    align-self: center;
    object-fit: contain;
    max-width: 100px;
    width: auto;
    height: 100%;
}


.indepthlist__nametop {
    display: flex;
    flex-direction: column;
    align-self: center;
}

.indepthlist__rank {
    display: block;
    font-size: .75rem;
    color: var(--text-color-card);
}

.indepthlist__rank::before { 
    counter-increment: indepth; 
    content: "#" counter(indepth) " ";
    color: #fff;
    background:  var(--color-secondary-light);
    padding: 0.25rem 0.75rem;
    border-radius: .25rem;
}

.indepthlist__offer {
    background: #f7f7f7;
    margin-bottom: .75rem;
    padding: 0 1.25rem 
}

.indepthlist__offer span {
    display: block
}

.indepthlist__offer .bonus-row__item-title {
    font-size: .8rem;
    margin-bottom: .2rem
}

.indepthlist__offer div {
    text-align: center;
    padding: 1rem .5rem;
    border-bottom: 1px solid #e7e7e7;
    color: var(--text-color-card);
}

.indepthlist__offer div:last-child {
    border-bottom: none;
}

.indepthlist__provider .list__review,
.indepthlist__provider .list__cta {
    text-align: center
}

.indepthlist__table,
.indepthlist__table tr,
.indepthlist__table td.compare__card-value,
.indepthlist__table th.compare__card-title {
    padding: 0;
    margin: 0;
    display: block;
    text-align: center;
    font-size: .8rem;
    font-weight: 400;
    color: var(--text-color-card);
}

.indepthlist__table td.compare__card-value {
    font-size: 1rem;
    font-weight: 700;
    margin: .5rem 0 0
}

.indepthlist__table {
    background: #f7f7f7;
    padding: 1rem 1.25rem 0rem;
}

.indepthlist__table-content {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(258px, 1fr));
    grid-gap: .25rem;
    border-bottom: 1px solid #e7e7e7;
    padding: 0 0 1rem;
}

.indepthlist__table tr:first-child {
    border-bottom: 1px solid #e7e7e7;
    padding-bottom: 1rem;
    margin-bottom: .75rem;
}

.indepthlist__procon {
    background: #f7f7f7;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    margin: 0;
    padding: 0.75rem 1.25rem 0;
}
.indepthlist__pro:first-child {
    border-bottom: 1px solid #e7e7e7;
    margin-bottom: .5rem
}
.indepthlist__procon p {
    color: var(--text-color-card);
    margin: 0;
    font-size: 0.8rem;
    font-weight: bold;
}

.indepthlist__procon ul {
    list-style-type: none;
    margin: 0 0 .5rem;
    font-size: .8rem;
    padding: 0;
    gap: 0 0.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    color: var(--text-color-card);
}

.indepthlist__procon li {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    line-height: 1.2;
    margin: .5rem 0;
}

.indepthlist__procon li svg {
    margin-right: .5rem
}

.indepthlist__item {
    display: grid;
    grid-template-columns: 1fr auto
}

.indepthlist__conclusion {
    display: block;
    max-width: 700px;
    padding: 1rem 1.25rem 0.5rem;
    color: var(--text-color-card);
}

.indepthlist__reviewcta {
    display: block;
    text-align: center
}

.indepthlist__links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20px, 1fr));
    grid-gap: 0 0.6rem;
    font-size: 0.75rem;
    margin-bottom: 0rem;
    padding: 0 1.25rem 0.75rem
}

.indepthlist__reviewcta a, .indepthlist__provider .list__button  {
    grid-row: 4;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-cta-btn-bg);
    border-radius: var(--border-radius);
    margin: 0;
    min-height: 48px;
    color: var(--text-color-cta);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

.indepthlist__reviewcta a {
    background: transparent;
    color: var(--text-color-card);
    border: 2px solid var(--text-color-card);
}

.indepthlist__prop-link[href^='#/'] {
    opacity: 0.3;
    pointer-events: none;
}

.indepthlist__reviewcta a:hover {
    color: #fff;
    background: var(--text-color-card);
    text-decoration: none;
}

.indepthlist__provider .list__button:hover {
    background: var(--color-cta-dark);
}



.tc-readmore {
    color: var(--color-secondary-light);
    text-decoration: underline;
    display: inline-block;
    cursor: pointer;
}

.indepth__tc-title {
    display: block;
    color: var(--color-secondary-light);
    font-size: 0.625rem;
}

.indepth__tc-title a {
    color: var(--color-secondary-light);
    text-decoration: none;
}

.indepth__tc {
    font-size: 0.625rem;
    display: block;
    text-align: center;
    padding: 0 1.25rem 1rem;
}

.indepth__tc-text,
.indepth__tc-text a,
.expl-inner__terms-content,
.expl-inner__terms-content a {
    color: var(--text-color-card);
}

.indepth__tc-popoup {
    display: none;
}

.indepth__tcpopup {
    display: none;
    position: fixed;
    left: 0;
    bottom: -999%;
    width: 290px;
    height: 400px;
    background: var(--card-bg-color);
    position: fixed;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
    transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
}

.indepth__tcpopup.indepth__tcpopup--show {
    display: block !important;
    z-index: 9999999;
    position: fixed;
    margin: auto;
    opacity: 1;
    visibility: visible;
    transform: scale(1.0);
    transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
    left: 0;
    right: 0;
    margin: auto;
    bottom: auto;
    top: 34%;
    z-index: 9999999 !important;
}

.indepth__expl-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto 40px;
    grid-gap: 0.6rem 0.8rem;
    max-width: 330px;
    min-height: 300px;
    margin: auto;
    padding: 1.5rem;
    margin: 20px auto;
    background: #fff;
    color: var(--text-color-card);
}

.indepth__expl-inner .indepth__logo {
    display: flex;
    grid-column: 1 / span 2;
    grid-row: 1;
    margin: auto;
    align-self: center;
    align-items: center;
    justify-content: center;
}

.indepth__expl-close {
    grid-column: 2;
    grid-row: 1;
    box-shadow: none;
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0 0 auto auto;
    cursor: pointer;
    z-index: 9998;
}

.expl-inner__text {
    grid-column: -1/1;
}

.expl-inner__terms-title,
.expl-inner__terms-content {
    grid-column: -1/1;
    display: block;
    margin: auto;
    font-size: var(--font-size-caption);
    line-height: var(--line-height);
    white-space: pre-line;
    max-height: 40vh;
    overflow: scroll;
}

.expl-inner__terms-title {
    color: var(--color-secondary-light);
    margin: 0;
    font-weight: bold;
}

.explicit-terms.explicit-terms--open {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #3e3d3d8c;
    display: block !important;
    z-index: 9999;
}

.indepth__expl-inner {
    position: absolute;
    top: 30%;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 9998;
}


.indepth__button {
    grid-row: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-cta-btn-bg);
    border-radius: var(--border-radius);
    margin: 0;
    min-height: 40px;
    color: var(--text-color-cta);
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

.indepth__link>a.indepth__button:hover {
    text-decoration: unset;
}

.indepth__link {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20px, 1fr));
    grid-gap: 0 0.6rem;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
}

.indepth__button.indepth__button--review[href^='#/'] {
    pointer-events: none;
    opacity: 0.3;
}

.indepth__link.indepth__link--popup {
    grid-column: -1/1;
    grid-row: 4;
}

.indepth__button--review {
    background: transparent;
    color: var(--text-color-card);
    border: 1px solid var(--text-color-card);
}

.indepth__button.indepth__button--review:hover {
    color: #fff;
    background: var(--text-color-card);
    text-decoration: none;
}

.indepth__button:hover {
    background: var(--color-cta-dark);
}

.indepth__button:active {
    background: var(--color-cta-darker);
}


@media (max-width: 992px) {
    .indepth__link {
        align-self: end;
    }
}

@media (max-width: 480px) {
    .indepth__expl-inner {
        margin: auto 1rem;
        top: 20%;
    }
}

@media (min-width: 600px) {
    .indepth__card .indepthlist__head {
        height: 130px;
    }
    
    .indepth__card .indepthlist__topper {
        width: 240px;
    }
    .indepth__card .indepthlist__topper .review__logo {
        max-width: 170px;
    }

    .indepth__card .indepthlist__table tr:first-child {
        border-right: 1px solid #e7e7e7;
        border-bottom: 0;
        padding-bottom: 0;
        margin-bottom: 0;
    }
    .indepthlist__pro:first-child  {
        border-bottom: none;
        margin-bottom: 0
    }
}

@media (min-width: 1020px) {
    .indepth__tinies {
        display: grid;
        grid-auto-flow: column;
        overflow-y: hidden;
        overflow-x: hidden;
        scroll-snap-type: x proximity;
        padding: 0;
        margin-left: 0;
    }
}
