@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/Inter-Regular-optimized.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/Inter-Medium-optimized.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/Inter-Bold-optimized.woff2') format('woff2');
    font-display: swap;
}

body {
    font-family: "Inter", sans-serif;
}

body,html{
    scroll-behavior: smooth !important;
}
body.search-disabled .SearchResults,
body.search-disabled .hideallexceptsearchresults {
    display: none !important;
}
body.search-disabled .Header .Search,
body.search-disabled .Header .SearchToggle {
    pointer-events: none;
}
.top-search-results-div-custom{

}
.category-header-custom{
    background-color: #333;
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
    padding: 20px;
}
.search-results-section
{
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
}
.Header-actions{
    z-index: 999;
}
.search-this-id{
    display: none;
}
.search-this-extra-id{
    display: none;
}
.search-header{
    color: #3182CE;
    font-size: 22px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
}

.cat-icon-default a::before {content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url(../images/play-icon.svg) center no-repeat;
    filter: invert(0);}
.cat-icon-default-for-cat::before {
    content: '';
    display: inline-block;
    width: 25px;
    height: 25px;
    background: url(../images/play-icon.svg) center no-repeat;
    background-size: contain;
    margin-right: 8px;
    filter: invert(0);
}
.cat-icon-preload-for-cat a {
    padding-left: 25px;
    height: 25px;
    margin-right: 8px;
}
.sprite-preload {
    padding-left: 16px;
    margin-left: 6px;
}
.search-ol-class {
    list-style-type: none;
    padding-left: 0;
    margin-left: 0;
}
.search-ol-class li {
    margin: 0;
    padding: 0;
}
.catbox-content-custom{
    display: block;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    width: 100%;
    padding: 8px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    color: #2B6CB0;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    background: #EBF4FF;
    border: 1px dashed #90CDF4;
    border-radius: 10px;
}
.catbox-content-custom-two {
    display: flex;
    margin-bottom: 15px;
    margin-top: 10px;
}
.CategoryGrid-item-custom{
    display: flex;
    flex-direction: column;
    min-width: 0;
    z-index: 0;
}

/* CatBox-content: buttons size to content, not stretch when few items */
.CatBox-content .catboxbox {
    flex: 0 0 auto;
    width: auto;
}

.catboxbox-custom {
    display: inline-flex;
    height: auto;
    margin-right: 10px;
    border: 1px solid #3182CE;
    border-radius: 7px;
    background-color: #EBF8FF;
    transition: background-color 0.2s ease, color 0.2s ease, border 0.2s ease;
    text-transform: uppercase;
    color: #3182CE;
    font-size: 14px;
    font-weight: bold;
}
.catboxbox-custom a {
    color: inherit;
    text-decoration: none;
    padding: 6px 8px;
}

.catboxbox-custom:hover {
    background-color: #3182CE;
    color: white;
    border: 1px solid #3182CE;
}

.LinkList-heading-custom {
    font-size: 14px;
    font-weight: bold;
    line-height: 15px;
    text-transform: uppercase;
    padding-bottom: 5px;
    color: #3182CE;
    display: inline-flex;
    align-items: center;
}
h2.LinkList-heading-custom::after {
    content: "";
    display: block;
    margin-left: 10px;
    flex-grow: 1;
    height: 2px;
    background-color: #4299E1;
}

.links-custom-capsule {
    font-size: 13px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-bottom: 5px;
}
.single-link-custom-capsule {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 2px;
    padding: 10px 5px;
    display: flex;
    align-items: center;

}
.single-link-custom-capsule:hover {
    background-color: #EBF8FF;
    border-radius: 7px;
}
a.single-link-a-custom {
    text-decoration: none;
    color: black;
    font-size: 14px;
}

a.top-all-search-custom {
    background-color: #4299E1;
    padding: 14px;
    color: #fff;
    text-decoration: none;
    text-align: center;
    border-radius: 7px;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 500;
}
a.top-all-search-custom:hover {
    background-color: #63B3ED;
}
i.fa-regular.fa-newspaper {
    padding-right: 6px;
}

.hp-intro-tip {
    display: flex;
    align-items: center;
    gap: 12px;
}
@media (max-width: 767px) {
    .hp-intro-tip {
        flex-direction: column;
        align-items: stretch;
    }
    .hp-intro-tip .OurTip-tip {
        width: 100%;
        justify-content: center;
    }
}

a.glink {
    text-decoration: none;
}
a.glink.gt-current-lang {
    font-weight: bold;
}
a.glink span {
    margin-right: 5px;
    font-size: 15px;
    vertical-align: middle;
}
a.glink img {
    vertical-align: middle;
    display: inline;
    border: 0;
    padding: 0;
    margin: 0;
    opacity: 0.8;
}
a.glink:hover img {
    opacity: 1;
}
.gt_black_overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    z-index: 10000;
    opacity: .80;
}
.gt_white_content {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 777px;
    height: 375px;
    margin: -187.5px 0 0 -388.5px;
    padding: 6px 16px;
    background-color: white;
    color: black;
    z-index: 19881205;
    overflow: auto;
    border-radius: 8px;
}
.gt_white_content a {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #e7e7e7;
    white-space: nowrap;
    line-height: 0;
    text-decoration: none;
    color: #333;
}
.gt_white_content a:hover {
    background-color: #f5f5f5;
}
.gt_white_content .gt_languages {
    display: flex;
    flex-flow: column wrap;
    max-height: 375px;
    overflow-x: hidden;
}
@media (max-width: 767px) {
    .gt_white_content {
        width: 80vw;
        margin-left: -40vw;
        height: 60vh;
        margin-top: -30vh;
    }
    .gt_white_content .gt_languages {
        max-height: none;
        flex-wrap: wrap;
    }
}
.category-search-results {
    display: flex; /* Flex allows elements to be placed next to each other */
    flex-wrap: wrap; /* Ensures that elements move to the next line if there's not enough space */
    gap: 10px; /* Space between the items */
    justify-content: flex-start;
    padding-top: 20px;
}

.category-search-href {
    display: inline-block;
    border: 2px solid white; /* Similar border color */
    border-radius: 7px; /* Same border radius as example */
    color: white; /* White text for black background */
    padding: 10px;
    width: auto; /* Allow flexibility in width */
    text-align: center;
    transition: background-color 0.2s ease, color 0.2s ease, border 0.2s ease;
    text-decoration: none;
}
.category-search-href:hover {

    background-color: black; /* Hover effect */
    color: white;
    border: 2px solid white;
    padding: 10px; /* Adds some padding inside each result box */
}

.category-search-href h2 {
    color: inherit; /* Inherit text color */
    margin: 0;
    font-size: 1.2em; /* Adjust the font size */
    text-decoration: none;
    padding: 10px; /* Adds some padding inside each result box */
    background-color: inherit;
}
.clear-input-button {
    background-color: transparent; /* No background for the button */
    border: none; /* Remove default button border */
    cursor: pointer; /* Change cursor to pointer */
    padding: 10px; /* Add padding for better click area */
    border-radius: 50%; /* Make the button round */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.clear-input-button i {
    color: #2B6CB0; /* Purple color for the icon */
    font-size: 20px; /* Size of the icon */
    transition: color 0.3s ease;
}
/* For mobile devices */
@media (max-width: 768px) {
    .clear-input-button {
        display: block; /* Show clear-input-button */
    }
    .Search-button {
        display: none !important; /* Hide search-button */
    }
}

/* For desktop devices */
@media (min-width: 769px) {
    .clear-input-button {
        display: none;
    }
    .Search-button {
        display: block;
    }
}

.Section-intro {
    color: #4A5568;
    font-size: 15px;
    line-height: 1.6;
    max-width: 600px;
    margin-bottom: 24px;
}

/* Category page: white title box higher up */
body.category .Section--category {
    padding-top: 20px;
}

/* Category page: title + description in white card */
body.category .CategoryHeader {
    background: #fff;
    padding: 24px 28px;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    margin-bottom: 24px;
    border: 1px solid #E2E8F0;
}
body.category .CategoryHeader .Heading--1 {
    margin-bottom: 0;
    color: #1A202C;
    font-size: 22px;
}
body.category .Section-intro {
    margin-top: 16px;
    margin-bottom: 0;
    padding: 0;
    background: none;
    box-shadow: none;
    border: none;
    max-width: 100%;
    color: #4A5568;
    font-size: 15px;
    line-height: 1.65;
}
body.category .Section-intro p {
    margin: 0 0 12px 0;
}
body.category .Section-intro p:last-child {
    margin-bottom: 0;
}

/* About, Privacy, Terms: heading inside white box, box higher up */
.Section--page {
    padding-top: 20px;
    padding-bottom: 50px;
}
.Section--page .Text--boxed .Heading--1 {
    margin-top: 0;
    margin-bottom: 16px;
}

/* Category page: clean card layout - image, title, description, buttons */
.CategorySiteGrid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 590px) {
    .CategorySiteGrid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 768px) {
    .CategorySiteGrid {
        grid-template-columns: repeat(4, 1fr);
    }
}
.CategorySiteCard {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    position: relative;
}
.CategorySiteCard-reviewLink {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #718096;
    font-size: 13px;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
    z-index: 10;
    text-decoration: none !important;
    border: none;
}
.CategorySiteCard-reviewLink:hover {
    color: #2B6CB0;
    background: #EBF8FF;
}
.CategorySiteCard-link {
    text-decoration: none;
    color: inherit;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}
.CategorySiteCard-image {
    display: block;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}
.CategorySiteCard-image img {
    display: block;
    width: 100%;
    aspect-ratio: 280/210;
    object-fit: cover;
    object-position: top;
    vertical-align: middle;
}
.CategorySiteCard-title {
    padding: 12px 14px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.CategorySiteCard-rank {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: #2B6CB0;
    color: #fff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}
.CategorySiteCard-name {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #1A202C;
    line-height: 1.4;
    flex: 1;
    min-width: 0;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.CategorySiteCard-desc {
    padding: 10px 14px 14px;
    margin: 0;
    font-size: 13px;
    color: #4A5568;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding-bottom: 6px;
}
@media (min-width: 768px) {
    .CategorySiteCard-desc {
        -webkit-line-clamp: 3;
    }
}
@media (max-width: 589px) {
    .CategorySiteCard-desc {
        -webkit-line-clamp: 4;
    }
}
.CategorySiteCard-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0 14px 14px;
    margin-top: 16px;
}
.CategorySiteCard-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    text-transform: uppercase;
}
.CategorySiteCard-actions .ActionButton {
    background: #2B6CB0;
    color: #fff;
}
.CategorySiteCard-actions .ActionButton:hover {
    background: #2C5282;
    color: #fff;
}
.CategorySiteCard-actions .Button--textBlue {
    background: #2D3748;
    color: #fff;
}
.CategorySiteCard-actions .Button--textBlue:hover {
    background: #4A5568;
    color: #fff;
}

.ContactForm {
    background: #fff;
    border-radius: 12px;
    padding: 36px 40px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 16px rgba(43,108,176,0.06);
}
@media (max-width: 600px) {
    .ContactForm {
        padding: 24px 18px;
    }
}
.ContactForm-field {
    margin-bottom: 20px;
}
.ContactForm-field--honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}
.ContactForm-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #2D3748;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.ContactForm-field input[type="text"],
.ContactForm-field input[type="email"],
.ContactForm-field input[type="url"],
.ContactForm-field textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    font-family: "Inter", sans-serif;
    color: #1A202C;
    background: #F7FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
}
.ContactForm-field input[type="text"]:focus,
.ContactForm-field input[type="email"]:focus,
.ContactForm-field input[type="url"]:focus,
.ContactForm-field textarea:focus {
    outline: none;
    border-color: #4299E1;
    box-shadow: 0 0 0 3px rgba(66,153,225,0.15);
    background: #fff;
}
.ContactForm-field textarea {
    resize: vertical;
    min-height: 140px;
}
.ContactForm-field select {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    font-family: "Inter", sans-serif;
    color: #1A202C;
    background: #F7FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
    cursor: pointer;
    appearance: none;
    background-image: url("../images/select-arrow.svg");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 36px;
}
.ContactForm-field select:focus {
    outline: none;
    border-color: #4299E1;
    box-shadow: 0 0 0 3px rgba(66,153,225,0.15);
    background-color: #fff;
}
.ContactForm-actions {
    padding-top: 8px;
}
.ContactForm-actions .ActionButton {
    width: 100%;
    min-height: 52px;
    font-size: 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.15s ease;
}
.ContactForm-actions .ActionButton:hover {
    background-color: #2C5282;
    color: #fff;
}

/* Category page SiteBox action buttons */
.SiteBox .SiteBox-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px 10px 10px;
    background: #202020;
}
.SiteBox .SiteBox-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    padding: 8px 12px;
    min-height: 36px;
    border-radius: 6px;
    box-sizing: border-box;
}
.SiteBox .SiteBox-actions .ActionButton {
    background: #2B6CB0;
    color: #fff;
}
.SiteBox .SiteBox-actions .ActionButton:hover {
    background: #3182CE;
    color: #fff;
}
.SiteBox .SiteBox-actions .Button--textBlue {
    background: #2D3748;
    color: #fff;
}
.SiteBox .SiteBox-actions .Button--textBlue:hover {
    background: #4A5568;
    color: #fff;
}

/* Website detail: header layout - name/url left, Visit right (desktop); stacked (mobile) */
.SiteDetailNew-contentHeader {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    margin-bottom: 20px;
}
.SiteDetailNew-headingBlock {
    flex: 1;
    min-width: 0;
}
.SiteDetailNew-title {
    margin: 0 0 4px 0;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.SiteDetailNew-headingBlock .SiteDetailNew-title {
    text-decoration: none;
}
.SiteDetailNew-url {
    display: block;
    font-size: 14px;
    color: #90CDF4;
    text-decoration: none;
    word-break: break-all;
}
.SiteDetailNew-url:hover {
    color: #63B3ED;
}
.SiteDetailNew-visitTop {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none !important;
    background: #2B6CB0;
    color: #fff !important;
    border-radius: 8px;
    flex-shrink: 0;
    transition: background 0.2s;
}
.SiteDetailNew-visitTop:hover {
    background: #2C5282;
    color: #fff !important;
}
@media (min-width: 768px) {
    .SiteDetailNew-contentHeader {
        flex-wrap: nowrap;
        justify-content: space-between;
    }
    .SiteDetailNew-headingBlock {
        flex: 1;
        min-width: 0;
    }
    .SiteDetailNew-visitTop {
        order: 3;
        margin-left: auto;
    }
}
@media (max-width: 767px) {
    .SiteDetailNew-content {
        padding: 18px 16px 24px !important;
    }
    .SiteDetailNew-contentHeader {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    .SiteDetailNew-headingBlock {
        order: 1;
    }
    .rank-nexttohead {
        order: 2;
        align-self: flex-start;
    }
    .SiteDetailNew-visitTop {
        order: 3;
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 15px;
    }
}

/* Show bottom Visit button on mobile (override main.css hide) */
@media (max-width: 767px) {
    .buttindetail {
        display: block !important;
        margin-top: 24px;
    }
    .buttindetail .ActionButton {
        display: flex !important;
        width: 100%;
        justify-content: center;
        align-items: center;
        padding: 14px 20px;
        box-sizing: border-box;
    }
}

/* Gap between image and text */
.SiteDetailNew-summary--spaced {
    margin-top: 20px;
}

/* Review page main image */
.SiteDetailNew-image img {
    display: block;
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    object-position: top;
    border-radius: 6px;
}

/* Site favicons */
.site-favicon {
    display: inline-block;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 4px;
    border-radius: 2px;
    flex-shrink: 0;
}
.site-favicon--lg {
    width: 24px;
    height: 24px;
    margin-right: 6px;
    border-radius: 3px;
}
.LinkList-text {
    display: flex;
    align-items: center;
}
.LinkList-itemWithReview {
    gap: 6px;
}
/* Don't let the stretched link ::after cover the review icon */
.LinkList-itemWithReview .LinkList-text::after {
    right: 32px;
}
.LinkList-itemWithReview .LinkList-text {
    flex: 1;
    min-width: 0;
}
.LinkList-reviewIcon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #718096;
    font-size: 12px;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
    text-decoration: none !important;
    position: relative;
    z-index: 2;
    border: none;
}
.LinkList-reviewIcon:hover {
    color: #2B6CB0;
    background: #EBF8FF;
}
.SiteBox-heading .site-favicon {
    margin-right: 6px;
}

.Header-actions .LangSelector {
    display: inline-flex !important;
}
@media (max-width: 767px) {
    .Header-actions .LangSelector {
        display: none !important;
    }
}

.BlogList {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
@media (min-width: 768px) {
    .BlogList {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 15px;
    }
}
@media (min-width: 1024px) {
    .BlogList {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 15px;
    }
}
.BlogList a {
    color: #fff;
    text-decoration: none;
}
.BlogList .relatedblogsbox {
    padding: 4px;
    color: #fff;
    border: 2px solid #3182CE;
    background: #3182CE url("../images/bg-pattern.svg") left top repeat;
    background-size: 400px 200px;
    height: 100%;
}
.BlogList .relatedblogsbox h3 {
    font-size: 15px;
    line-height: 20px;
    padding: 4px 8px 6px;
    margin: 0;
}
.BlogList .relatedblogsbox:hover {
    background: #EBF8FF;
    color: #3182CE;
    border: 2px solid #3182CE;
}
.BlogList a:hover {
    color: #3182CE;
}

.OurTip-tip--1 {
    background-color: #3182CE;
    padding-right: 14px;
}
.OurTip-tip--1 .OurTip-iconContainer {
    background: #2B6CB0;
}
.OurTip-tip--1:hover {
    background-color: #2B6CB0;
}

/* Fix mobile footer gap - disable sticky footer on small screens */
@media (max-width: 767px) {
    .Footer {
        margin-top: 0;
    }
    .PageBody {
        min-height: auto;
    }
}

/* Profile boxes - 4 cols desktop, 2 cols mobile. Shorter boxes, bigger image. */
.ProfileBoxes-hp {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}
@media (max-width: 1023px) {
    .ProfileBoxes-hp {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 589px) {
    .ProfileBoxes-hp {
        grid-template-columns: 1fr 1fr;
    }
}

.ProfileBoxes-hp .profilebox-hp {
    display: block;
    width: 100%;
    text-decoration: none;
    color: #1A202C;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.ProfileBoxes-hp .profilebox-hp:hover {
    border-color: #3182CE;
    box-shadow: 0 2px 8px rgba(49,130,206,0.15);
    transform: translateY(-2px);
}
.ProfileBoxes-hp .profilebox-hp-inner {
    display: flex;
    flex-direction: column;
}
.ProfileBoxes-hp .profilebox-hp-image {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
    background: #EDF2F7;
}
.ProfileBoxes-hp .profilebox-hp-image--placeholder {
    min-height: 100px;
}
.ProfileBoxes-hp .profilebox-hp-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ProfileBoxes-hp .profilebox-online-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: #48BB78;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 6px;
    border-radius: 4px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    animation: profilebox-pulse 2s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(72, 187, 120, 0.5);
}
.ProfileBoxes-hp .profilebox-online-badge::before {
    content: "";
    width: 5px;
    height: 5px;
    background: #fff;
    border-radius: 50%;
    animation: profilebox-dot-pulse 1.2s ease-in-out infinite;
}
@keyframes profilebox-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(72, 187, 120, 0.5); }
    50% { box-shadow: 0 0 0 6px rgba(72, 187, 120, 0); }
}
@keyframes profilebox-dot-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.9); }
}
.ProfileBoxes-hp .profilebox-hp-content {
    padding: 8px 10px 10px;
    background: #fff;
}
.ProfileBoxes-hp .profilebox-hp-title {
    font-size: 13px;
    line-height: 16px;
    padding: 0;
    margin: 0 0 2px 0;
    font-weight: 700;
    color: #2D3748;
}
.ProfileBoxes-hp .profilebox-hp-desc {
    font-size: 11px;
    line-height: 1.3;
    margin: 0 0 4px 0;
    color: #505050;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ProfileBoxes-hp .profilebox-last-seen {
    font-size: 10px;
    color: #718096;
    margin: 0;
}

/* Online profile: typing indicator */
.ProfileBoxes-hp .profilebox-typing {
    font-size: 10px;
    color: #48BB78;
    margin: 0 0 6px 0;
    display: flex;
    align-items: center;
    gap: 2px;
}
.ProfileBoxes-hp .profilebox-typing-dots span {
    animation: profilebox-typing-bounce 1.4s ease-in-out infinite;
    display: inline-block;
}
.ProfileBoxes-hp .profilebox-typing-dots span:nth-child(1) { animation-delay: 0s; }
.ProfileBoxes-hp .profilebox-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.ProfileBoxes-hp .profilebox-typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes profilebox-typing-bounce {
    0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(-2px); }
}

/* Message CTA for online profiles */
.ProfileBoxes-hp .profilebox-cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: #3182CE;
    background: #EBF8FF;
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid #90CDF4;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.ProfileBoxes-hp .profilebox-hp:hover .profilebox-cta {
    background: #3182CE;
    color: #fff;
    border-color: #3182CE;
}

/* Reconnect ticker - scrolling list of who is looking for whom */
.ReconnectTicker {
    margin-top: 24px;
    margin-bottom: 28px;
    padding: 12px 0;
    background: #F7FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    overflow: hidden;
}
.ReconnectTicker-label {
    font-size: 12px;
    font-weight: 600;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 16px 8px;
}
.ReconnectTicker-track {
    overflow: hidden;
    position: relative;
}
.ReconnectTicker-track::before,
.ReconnectTicker-track::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 48px;
    pointer-events: none;
    z-index: 1;
}
.ReconnectTicker-track::before {
    left: 0;
    background: linear-gradient(to right, #F7FAFC 0%, transparent 100%);
}
.ReconnectTicker-track::after {
    right: 0;
    background: linear-gradient(to left, #F7FAFC 0%, transparent 100%);
}
.ReconnectTicker-spacer {
    flex-shrink: 0;
    width: 16px;
    display: inline-block;
}
.ReconnectTicker-content {
    display: flex;
    align-items: center;
    gap: 12px;
    animation: reconnect-ticker-scroll 60s linear infinite;
}
.ReconnectTicker-content:hover {
    animation-play-state: paused;
}
.ReconnectTicker-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    font-size: 13px;
    color: #4A5568;
}
.ReconnectTicker-item strong {
    color: #2B6CB0;
}
.ReconnectTicker-time {
    font-size: 11px;
    color: #A0AEC0;
}
.ReconnectTicker-sep {
    color: #CBD5E0;
    font-size: 10px;
    flex-shrink: 0;
}
@keyframes reconnect-ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Reconnect list (on reconnect page) - white box with improved layout */
.ReconnectListBox {
    background: #fff;
    border-radius: 12px;
    padding: 28px 32px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 16px rgba(43,108,176,0.06);
    margin-bottom: 20px;
}
@media (max-width: 600px) {
    .ReconnectListBox {
        padding: 20px 18px;
    }
}
.ReconnectListBox .ReconnectList-heading {
    font-size: 18px;
    font-weight: 700;
    color: #1A202C;
    margin: 0 0 20px;
}
.ReconnectList {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}
.ReconnectList-item {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 16px;
    background: #F7FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: 14px;
    color: #4A5568;
}
.ReconnectList-item strong {
    color: #2B6CB0;
}
.ReconnectList-time {
    font-size: 12px;
    color: #A0AEC0;
    margin-left: auto;
}
.ReconnectList-actions {
    margin-top: 20px;
}