/* {TOI} Design and develop Hidden Gems landing page {31-36} */

/* header */
.hidden-gems-page{ --hidden-gems-font: "quiverleaf-cf", sans-serif; }
.hidden-gems-page button{ cursor: pointer; }
.hidden-gems-page .social-header{ position: absolute; right: 5px; top: 12px; }
.hidden-gems-page-wrapper{ max-width: 1280px; margin: 0 auto; margin-top: 100px; }
.hidden-gems-header{ font-family: var(--hidden-gems-font); margin-top: 45px; text-align: center; }
.hidden-gems-header-top .exclusive{font-family: "Roboto Condensed", "Arial Narrow";color: #111115; font-size: 13px; letter-spacing: 0.5px; line-height: 18px;text-transform: uppercase;}
.hidden-gems-header-top img{ width: 100%; max-width: 144px; margin-top: 10px;}
.hidden-gems-title{ font-size: 90px; line-height: 92px; margin-top: 25px; }
.hidden-gems-overline{ font-size: 32px; letter-spacing: 0.5px; margin-top: 8px; }
.hidden-gems-overline img{ width: 100%; max-width: 144px; margin-top: 10px;}
/* cover */
.hidden-gems-page .hidden-gems-cover { margin: 45px auto 48px auto; position: relative; display: flex; align-items: center; justify-content: center; }
.hidden-gems-page .hidden-gems-cover .media { width: 100%; height: 100%; background: linear-gradient(180deg,rgba(0,0,0,0) 0,rgba(0,0,0,.75) 100%); }
.hidden-gems-page .hidden-gems-cover img{ width: 100%; mix-blend-mode: multiply; aspect-ratio: 16/9; object-fit: cover; }
.hidden-gems-page .cover-text { position: absolute; bottom: 56px; text-align: center; width: 100%; color: #fff; }
.hidden-gems-page .hidden-gems-cover .headline{ font-family: var(--hidden-gems-font); font-size: 90px; line-height: 84px; margin-bottom: 30px; }
.hidden-gems-page .hidden-gems-cover .overline{ font-family: 'Roboto', sans-serif; font-size: 24px; line-height: 28px; font-weight: bold; letter-spacing: 0; color: #fff; }

/* filter-dropdown */
.hidden-gems-content{ max-width: 1000px; padding-inline: 20px; margin: 0 auto; }
.hidden-gems-filter-wrapper{ display: flex; justify-content: space-between; align-items: center; padding-bottom: 13px; margin-bottom: 30px; border-bottom: 1px solid #ABABAB; padding-top: 15px; border-top: 4px solid #1E1E1E; }
.hidden-gems-filter-groups{ display: flex; gap: 30px;}
.topics-list.filters{ position: relative; }
.hidden-gems-content .dropdown-button{ font-family: var(--hidden-gems-font); font-size: 32px; letter-spacing: 0.5px; background-color: transparent; border-width: 0; padding: 0; cursor: pointer;color: #000000; }
.hidden-gems-content .dropdown-button::after{ font-family: toi-new; content: "\ea16"; color: #1E1E1E; font-size: 24px; margin-left:6px; margin-top: 10px; }
.topics-list.open .dropdown-button::after {content: "\ea14";}

.hidden-gems-filter-dropdown{ font-family: "Roboto Condensed", "Arial Narrow", sans-serif; font-size: 14px; line-height: 20px; padding-right: 60px; display: flex; flex-direction: column; gap: 10px; background: #FFFFFF; border: 1px solid #ABABAB; border-radius: 2px; box-shadow: 0 1px 10px 0 rgba(0,0,0,0.15); overflow: hidden; }
.animated-grid{ display: grid; grid-template-rows: 0fr; position: absolute; top: 45px; width: max-content; z-index:2; animation: subMenuOpen .3s ease-out forwards;}
.animated-grid[data-state="closing"] { animation: subMenuClose .3s ease-out forwards; }
.animated-grid[data-state="closed"] { display: none; }

@keyframes subMenuOpen {
    0% { grid-template-rows: 0fr; opacity: 0; }
    1% { grid-template-rows: 0fr; opacity: 1; }
    100% { grid-template-rows: 1fr; opacity: 1; }
}
@keyframes subMenuClose {
    0% { grid-template-rows: 1fr; opacity: 1; }
    50% { opacity: 1; }
    100% { grid-template-rows: 0fr; opacity: 0; }
}

.hidden-gems-filter-dropdown .checkbox-wrapper{ display:flex; align-items: center; gap: 10px; margin-inline: 30px; }
.hidden-gems-filter-dropdown .checkbox-wrapper:first-child{ margin-top: 30px; }
.hidden-gems-filter-dropdown .checkbox-wrapper:last-child{ margin-bottom: 30px; }
.hidden-gems-filter-dropdown .checkbox-wrapper input[type="checkbox"] { appearance: none; -webkit-appearance: none; -moz-appearance: none; margin: 0; }
.hidden-gems-filter-dropdown .checkbox-wrapper input[type="checkbox"]::before { content: "\e944"; font-family: "toi-new"; font-size: 14px; color: white; display: flex;justify-content: center; background: white; color: black; }
.hidden-gems-filter-dropdown .checkbox-wrapper input[type="checkbox"]:checked::before { content: "\e946"; }


/* filtered-container */
.filtered-container{ display:grid; font-family: "Roboto Condensed", "Arial Narrow", sans-serif; padding-bottom: 14px; margin-bottom: 30px; border-bottom: 1px solid #ABABAB; grid-template-rows: 0fr; }
.filtered-container[data-state="open"] { animation: subMenuOpen .5s ease-in forwards; }
.filtered-container[data-state="closing"] { animation: subMenuClose .5s ease-out forwards; }
.filtered-container[data-state="closed"] { display: none; }
.hidden-gems-filter-filtered > span{ color: #666666; font-size: 14px; line-height: 20px; text-transform: uppercase; }
.hidden-gems-filter-filtered .filtered-item{ border: 1px solid #1E1E1E; border-radius: 13px; background-color: #fff; color: #1E1E1E; font-family: "Roboto Condensed", "Arial Narrow", sans-serif; font-size: 14px; letter-spacing: 0.5px; line-height: 20px; padding: 3.5px 10.5px; display: flex; align-items: flex-end; gap: 5px; }
.filtered-item::after { font-family: toi-new; content: "\e9e0"; color: #666666; font-size: 14px; line-height: 18px; }
.hidden-gems-filter-filtered .clear-all{ border: 1px solid #1E1E1E; border-radius: 13px; background-color: #1E1E1E; padding: 3px 14px; font-family: "Roboto Condensed", "Arial Narrow", sans-serif; font-size: 14px; letter-spacing: 0.5px; line-height: 20px; color: #FFFFFF; text-transform: capitalize; margin-left: auto; order: 100;}
.hidden-gems-filter-filtered{display:flex; align-items: center;flex-wrap: wrap; gap: 15px;overflow: hidden;}
.filtered-items-list{ display:flex; flex-wrap:wrap; gap:15px; flex-grow: 1;}

@media (max-width: 768px){
    .hidden-gems-page-wrapper { margin-top: 80px; }
    .hidden-gems-header { margin-top: 30px; padding-inline: 20px; }
    .hidden-gems-page .hidden-gems-cover { margin-block: 30px; flex-direction: column; }
    .hidden-gems-page .cover-text{ position: unset; background-color: #010000; padding-block: 30px; }
    .hidden-gems-title { font-size: 60px; line-height: 61px; margin-top: 10px; }
    .hidden-gems-overline { font-size: 20px; margin-top: 5px; }
    .hidden-gems-page .hidden-gems-cover .media { background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.9) 100%); margin-bottom: 0; }
    .hidden-gems-page .hidden-gems-cover img { aspect-ratio: 75/46; }
    .hidden-gems-page .hidden-gems-cover .headline { font-size: 48px; line-height: 48px; margin-bottom: 10px; padding-inline: 20px; }
    .hidden-gems-page .hidden-gems-cover .overline { font-size: 18px; line-height: 24px; font-weight: normal; padding-inline: 20px; }

    .hidden-gems-filter-wrapper{margin-bottom: 20px;}
    .hidden-gems-filter-groups { gap: 25px;}
    .animated-grid { top: 41px; }
    .hidden-gems-page .dropdown-button { font-size: 24px; line-height: 28px; }
    .hidden-gems-page .dropdown-button::after { font-size: 20px; margin-left: 2px; }
    .hidden-gems-filter-filtered .clear-all{ margin-left: initial;}
}

/* load more */
.hidden-gems-content .hidden-gems-load-more-wrapper{ margin-bottom: 80px; }
.hidden-gems-content .hidden-gems-load-more-wrapper .load-more a{ border: 1px solid #484848; border-radius: 20px; padding: 9px 20px; color: #000; }
.hidden-gems-content .load-more a::before{ display: none; }

/* load more loader */
/* .gi_loading .hidden-gems-load-more {display: none;} */
.lds-facebook { display: none; position: relative; clear: both; margin: auto; width: 80px; height: 80px; }
.lds-facebook div { display: inline-block; position: absolute; left: 8px; width: 16px; background: #d1d1d1; animation: lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite; }
.lds-facebook div:nth-child(1) { left: 8px; animation-delay: -0.24s; }
.lds-facebook div:nth-child(2) { left: 32px; animation-delay: -0.12s; }
.lds-facebook div:nth-child(3) { left: 56px; animation-delay: 0; }
.gi_loading .lds-facebook {display: block;}

@keyframes lds-facebook {
    0% { top: 8px; height: 64px; }
    50%, 100% { top: 24px; height: 32px; }
}

@media (max-width: 768px){
    .hidden-gems-content .hidden-gems-load-more-wrapper{ margin-bottom: 14px; }
}

/* cards */
.hidden-gems-cards-wrapper{ display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; margin-bottom: 30px; }
.hidden-gems-card{ font-family: 'Roboto', sans-serif; display: grid; border-radius: 2px; background-color: #FFFFFF; box-shadow: 0 1px 10px 0 rgba(0,0,0,0.15); }
.hidden-gems-card .media{ width: 100%; min-height: 300px; }
.hidden-gems-card .media img{ object-fit: cover; aspect-ratio: 1/1; }
.hidden-gems-card .media .video-wrap{ height: inherit; }
.hidden-gems-card-bottom{ padding-inline: 10px; padding-block: 20px; text-align: center; }
.hidden-gems-card .post-title{ font-size: 18px; font-weight: bold; letter-spacing: 0; line-height: 24px; margin-bottom: 10px; }
.hidden-gems-card .post-date{ font-size: 13px; letter-spacing: 0; line-height: 18px; }
.hidden-gems-cards-wrapper .no-results{ font-family: 'Roboto', sans-serif; font-size: 18px; font-weight: bold; color: #878787; margin-top: 80px; grid-column: 1 / -1; text-align: center; margin-bottom: 300px;}
@media (max-width: 768px){
    .hidden-gems-cards-wrapper { grid-template-columns: 1fr; gap: 20px; }
    .hidden-gems-card .media .video-wrap{ height: 100%;padding: 0;}
}


/* {TOI} Changes to Those We Have Lost page {23-30} */
.cat-cards-page{ --background-color:#101114; --color:#FFFFFF; --font-family: trade-gothic-next-condensed, sans-serif; }
.cat-cards-page .social-header { position: absolute; right: 26px; top: 12px; }
.g-social-podcast-page.social-header.social li { width: initial; }

/* cover */
.cat-cards-page-wrapper{ background-color: var(--background-color); color: var(--color); font-family: var(--font-family); padding-bottom: 50px; }
.cat-cards-text{ position: relative; padding-inline: 20px; }
/* .cat-cards-text::after { content: ''; position: absolute; top: 31px; left: 0; right: 0; bottom: -3px; background: linear-gradient(180deg, rgba(16, 17, 20, 0.00) 0%, rgba(16, 17, 20, 0.80) 100%); pointer-events: none; } */
.cat-cards-header{ min-height: 450px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-bottom: 70px;  }
.cat-cards-img { margin-top: 50px; margin-bottom: 20px; }
.cat-cards-img .media{ width: 845px; height: auto; }
.cat-cards-headline { font-weight: 800; font-size: 60px; max-width: 960px; margin-bottom: 10px; text-transform: uppercase; }
.cat-cards-description { font-family: "trade-gothic-next", sans-serif; font-size: 21px; max-width: 500px; text-wrap: balance; line-height: normal; }
@media (max-width: 768px){
    .cat-cards-header{ min-height: 345px; padding-bottom: 30px; justify-content: end; }
    .cat-cards-img { margin-block: 0; }
    .cat-cards-img .media{ max-width: 375px; margin-bottom: 0; }
    .cat-cards-img .media img{ height: 200px; }
    .cat-cards-headline{ font-size: 36px; }
    .cat-cards-description{ font-size: 16px; line-height: 20px; max-width: 315px; }
}

/* content */
.cat-cards-content.hidden-gems-content{ max-width: 1150px; }
.cat-cards-content .hidden-gems-filter-wrapper{ padding-bottom: 15px; border-block: 1px solid #525252; }
.cat-cards-content:has(.filtered-container[data-state="open"]) .hidden-gems-filter-wrapper{ margin-top: 20px; }
.cat-cards-content .dropdown-button{ color: inherit; font-family: inherit; font-size: 28px; font-weight: 800; text-transform: uppercase; }
.cat-cards-content .dropdown-button::after{ color: #F2F2F2; font-weight: normal; margin-left: 10px; } 

.cat-cards-content .hidden-gems-filter-dropdown{ background-color: var(--background-color); border: 1px solid #525252; }
.cat-cards-content .hidden-gems-filter-dropdown .checkbox-wrapper{ align-items: flex-start; }
.cat-cards-content .hidden-gems-filter-dropdown .checkbox-wrapper input[type="checkbox"]{ margin-top: 3px; }
.cat-cards-content .hidden-gems-filter-dropdown .checkbox-wrapper input[type="checkbox"]::before{ background-color: var(--background-color); color: #FFFFFF; }
.cat-cards-content .hidden-gems-filter-dropdown .checkbox-wrapper label{ font-weight: 700; }
.cat-cards-content .hidden-gems-filter-dropdown .checkbox-wrapper label .category-description{ font-weight: 400; color: #9B9B9B; }
.cat-cards-content .hidden-gems-filter-filtered .filtered-item{ border: 1px solid #FFF; background-color: var(--background-color); color: #FFF; }

.cat-cards-content .hidden-gems-filter-filtered > span,
.cat-cards-content .filtered-item::after{ color: #9B9B9B; }
.cat-cards-content .hidden-gems-filter-filtered .clear-all{ background-color: #525252; border: none; }

/* search */
.cat-cards-content .searchform-wrapper{ position: relative; }
.cat-cards-content .searchform-input[type="text"]{ border: 1px solid #FFF; background: #101114; color: #FFF; font-size: 14px; line-height: 22px; padding: 9px 20px; width: initial; }
.cat-cards-content .searchform-input[type="text"]::placeholder{ color:#FFF !important; text-align: left !important; }
.cat-cards-content .searchform-input[type="text"]:focus::placeholder{ color: transparent; }
.cat-cards-content .searchform-input[type="text"]:focus-visible,
.cat-cards-content .searchform-input[type="text"]:focus{ outline: none; box-shadow: none; }
.cat-cards-content .searchform-submit{ position: absolute; right: 15px; top: 0px; background: transparent; color: #fff; border: 0; padding: 0; line-height: 40px; display: flex; }
.cat-cards-content .searchform-submit::before { font-family: 'Toi-new'; content: "\ea18"; font-size:16px; }
.cat-cards-content .searchform-toggle{ display: none; }
@media (max-width: 768px){
    .cat-cards-content .hidden-gems-filter-wrapper{ position: relative; }
    .cat-cards-content .searchform-toggle{ position: absolute; right: 0px; top: 15px; background: transparent; color: #fff; border: 0; padding: 0; padding-right: 15px; line-height: 40px; display: flex; border-left: 1px solid #525252; padding-left: 18px; line-height: 35px; }
    .cat-cards-content .search-form{ display: none; }
    .cat-cards-content .cat-cards-searchform.open-form .search-form{ display: block; }
    .cat-cards-content .cat-cards-searchform.open-form .searchform-toggle{ visibility: hidden; }
    .cat-cards-content .searchform-toggle::before{ font-family: 'Toi-new'; content: "\ea18"; font-size: 16px; }
    .cat-cards-content .hidden-gems-filter-dropdown{ max-width: calc(100vw - 40px); padding: 0; }
    .cat-cards-content .searchform-input[type="text"]{ border: none; padding-left: 0; padding-right: 15px; }
    .cat-cards-content .searchform-input[type="text"]::placeholder{ color:#9B9B9B !important; text-align: left !important; }
    .cat-cards-content .cat-cards-searchform.open-form{ position: absolute; width: 100%; }
    .cat-cards-content .searchform-submit{ border-left: 1px solid #525252; padding-left: 18px; line-height: 35px; right: 0; padding-right: 15px; background: #525252; padding-block: 6px; top: -6px; border-radius: 3px; }
}

/* cards */
.cat-cards-content .twhl-disclaimer{ color: #9B9B9B; font-family: Roboto, sans-serif; font-size: 14px; line-height: 22px; justify-content: center; margin-bottom: 30px; display: none; }
.cat-cards-content .twhl-disclaimer.show{ display: flex; }
.cat-cards-content .twhl-disclaimer p{ text-align: center; max-width: 560px; }
.cat-cards-content .hidden-gems-cards-wrapper .no-results{ margin-top: -10px; color: #fff; }
.cat-cards-content .hidden-gems-cards-wrapper{ grid-template-columns: repeat(4, 1fr); }
.cat-cards-content .hidden-gems-card{ display: grid; align-content: flex-start; }
.cat-cards-content .hidden-gems-card .media{ min-height: 230px; }
.cat-cards-content .hidden-gems-card-bottom{ padding: 15px; }
.cat-cards-content .hidden-gems-card .post-title{ font-size: 20px; line-height: 20px; font-weight: 800; font-family: "trade-gothic-next",sans-serif; color: #000A00; margin-bottom: 5px; }
.cat-cards-content .hidden-gems-card .post-excerpt{ color: #525252; font-size: 14px; line-height: 20px; }
.cat-cards-content .hidden-gems-card .post-date{ font-size: 15px; line-height: 21px; font-weight: bold; color: #000; }
@media (max-width: 1024px){
    .cat-cards-content .twhl-disclaimer{ margin-inline: 15px; }
    .cat-cards-content .hidden-gems-cards-wrapper { grid-template-columns: 1fr; }
    .cat-cards-content .hidden-gems-card-bottom{ padding: 10px; text-align: left; }
    .cat-cards-content .hidden-gems-card{ grid-template-columns: 100px 1fr; }
    .cat-cards-content .hidden-gems-card .post-excerpt{ font-size: 12px; line-height: 16px; }
    .cat-cards-content .hidden-gems-card .media{ height: 90px; width: 90px; padding: 12px; margin: 0; min-height: auto; }
    .cat-cards-content .hidden-gems-card .post-title{ font-size: 18px; line-height: 20px; }
}

/* footer */
.cat-cards-page .footer{ border-color: #fff; }
.cat-cards-page .footer .newsletter input { border: solid 1px #fff; border-right: none; background: transparent; color: #fff; }
.cat-cards-page .footer .newsletter input::placeholder {color: #fff;opacity: 0.7;}
.cat-cards-page .footer .newsletter .submit { background: transparent; border: solid 1px #fff; border-left: solid 1px rgba(255, 255, 255, 0.5);}