:root { --bg: #0a0a0a; --surface: #1a1a1a; --text: #ffffff; --text-muted: #a0a0a0; --accent: #3b82f6; }
body { margin: 0; font-family: system-ui, -apple-system, sans-serif; background: var(--bg); color: var(--text); }
.cl-container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.cl-m-0 { margin: 0; }

/* Header */
.cl-global-header { background: var(--surface); border-bottom: 1px solid #333; position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.cl-logo { font-weight: bold; font-size: 1.2rem; text-decoration: none; color: var(--text); }
.cl-nav a { color: var(--text-muted); text-decoration: none; margin: 0 10px; transition: color 0.2s; }
.cl-nav a:hover { color: var(--text); }
.cl-search-box input { background: #000; border: 1px solid #444; color: #fff; padding: 6px 12px; border-radius: 4px; }

/* Mini Header */
.cl-mini-header { background: #111; padding: 15px 0; border-bottom: 1px solid #222; margin-bottom: 30px; position: sticky; top: 60px; z-index: 90; }
.cl-meta-badges .badge, .cl-celeb-title-row .badge { background: #333; padding: 4px 10px; border-radius: 20px; font-size: 0.85rem; }

/* Masonry Grid */
.cl-masonry { columns: 4 300px; gap: 15px; }
.cl-masonry-item { break-inside: avoid; margin-bottom: 15px; cursor: zoom-in; }
.cl-masonry-item img { width: 100%; display: block; border-radius: 6px; transition: opacity 0.2s; min-height: 100px; }
.cl-masonry-item:hover img { opacity: 0.8; }
.cl-group-title { border-bottom: 1px solid #333; padding-bottom: 10px; margin: 40px 0 20px; }

/* Lightbox */
.cl-lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 9999; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(0px); }
.cl-lightbox[hidden] { display: none; }
.cl-lightbox-toolbar { position: absolute; top: 0; left: 0; right: 0; padding: 15px 25px; display: flex; justify-content: flex-end; color: #fff; background: linear-gradient(rgba(0,0,0,0.8), transparent); z-index: 10; }
.cl-nav-btn { position: absolute; top: 50%; transform: translateY(-50%); background: transparent; border: none; color: #fff; font-size: 4rem; cursor: pointer; padding: 20px; opacity: 0.7; }
.cl-nav-btn:hover { opacity: 1; }
#cl-lb-prev { left: 20px; }
#cl-lb-next { right: 20px; }
#cl-lb-close { background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; }
#cl-lb-img { max-width: 90vw; max-height: 90vh; object-fit: contain; }

/* Index Grid */
.cl-index-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.cl-card { background: var(--surface); border-radius: 8px; overflow: hidden; text-decoration: none; color: inherit; }
.cl-card img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: center top; }
.cl-card-info { padding: 10px; display: flex; flex-direction: column; }

/* Celebrity pagination */
.cl-pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 28px auto 12px;
    padding: 0;
    max-width: none;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.cl-page-numbers {
    display: flex;
    gap: 3px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.cl-page-btn,
.cl-page-dots {
    min-width: 30px;
    height: 30px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.11);
    background: rgba(255,255,255,0.055);
    color: var(--text);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1;
    transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.cl-page-btn:hover {
    transform: translateY(-1px);
    background: rgba(255,255,255,0.11);
    border-color: rgba(255,255,255,0.28);
    box-shadow: none;
}

.cl-page-btn.is-current {
    color: #000;
    background: #e8c44a;
    border-color: #e8c44a;
    box-shadow: none;
}

.cl-page-btn.is-disabled {
    opacity: 0.32;
    cursor: default;
    pointer-events: none;
}

.cl-page-arrow {
    min-width: 86px;
    letter-spacing: 0.01em;
}

.cl-page-dots {
    min-width: 24px;
    padding: 0 4px;
    border-color: transparent;
    background: transparent;
    color: var(--text-muted);
}

@media (max-width: 640px) {
    .cl-pagination {
        border-radius: 22px;
        padding: 8px;
        gap: 7px;
    }

    .cl-page-arrow {
        min-width: auto;
        width: 100%;
    }

    .cl-page-numbers {
        order: -1;
        width: 100%;
    }
}

/* Global footer */
.cl-global-footer {
    margin-top: 56px;
    padding: 34px 0 26px;
    border-top: 1px solid rgba(255,255,255,0.08);
    background: #080808;
    color: var(--text-muted);
}

.cl-footer-wrap {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cl-footer-main {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: 28px;
    align-items: start;
}

.cl-footer-logo {
    display: inline-flex;
    color: var(--text);
    text-decoration: none;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.cl-footer-brand p,
.cl-footer-notice p {
    margin: 0;
    max-width: 620px;
    line-height: 1.55;
    font-size: 0.94rem;
}

.cl-footer-notice {
    padding: 16px 18px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    background: #050505;
}

.cl-footer-notice strong {
    display: block;
    color: var(--text);
    margin-bottom: 6px;
}

.cl-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
    align-items: center;
}

.cl-footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 0;
    border: 0;
    background: transparent;
}

.cl-footer-links a:hover {
    color: var(--text);
    text-decoration: underline;
}

.cl-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.07);
    font-size: 0.82rem;
    color: #777;
}

@media (max-width: 760px) {
    .cl-footer-main {
        grid-template-columns: 1fr;
    }

    .cl-footer-links a {
        flex: 1 1 auto;
        text-align: center;
    }
}


/* Country/category index cards */
.cl-taxonomy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.cl-taxonomy-card {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 18px;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid rgba(255,255,255,0.07);
    color: var(--text);
    text-decoration: none;
}

.cl-taxonomy-card:hover {
    border-color: rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.055);
}

.cl-taxonomy-card strong {
    font-size: 1.05rem;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cl-taxonomy-card span,
.cl-taxonomy-card small {
    color: var(--text-muted);
    white-space: nowrap;
}

/* Enhanced lightbox stats and zoom */
.cl-lightbox-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.cl-lb-left,
.cl-lb-actions {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}

.cl-lb-stat,
.cl-lb-like,
.cl-lb-zoom-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(0,0,0,0.34);
    color: var(--text);
    font-size: 0.84rem;
    line-height: 1;
}

.cl-lb-like,
.cl-lb-zoom-reset {
    cursor: pointer;
    font: inherit;
}

.cl-lb-like:hover,
.cl-lb-zoom-reset:hover {
    border-color: rgba(255,255,255,0.28);
    background: rgba(255,255,255,0.08);
}

.cl-lb-like.is-liked {
    color: #ff5c95;
    border-color: rgba(255,92,149,0.45);
}

.cl-lb-like:disabled {
    cursor: default;
}

#cl-lb-img {
    transition: transform 0.16s ease;
    transform-origin: center center;
    will-change: transform;
}

.cl-lightbox.is-zoomed #cl-lb-img {
    cursor: zoom-out;
}

@media (max-width: 700px) {
    .cl-lightbox-toolbar {
        align-items: flex-start;
    }

    .cl-lb-actions {
        justify-content: flex-end;
    }

    .cl-lb-stat,
    .cl-lb-like,
    .cl-lb-zoom-reset {
        min-height: 28px;
        padding: 0 8px;
        font-size: 0.78rem;
    }
}

/* Lightbox actions below image */
.cl-lb-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 92vw;
    max-height: 92vh;
}

.cl-lb-stage #cl-lb-img {
    max-width: 90vw;
    max-height: calc(90vh - 54px);
}

.cl-lb-actions-bottom {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    pointer-events: auto;
}

.cl-lb-actions-bottom .cl-lb-stat,
.cl-lb-actions-bottom .cl-lb-like,
.cl-lb-actions-bottom .cl-lb-zoom-reset {
    background: rgba(0,0,0,0.58);
}

/* Lightbox zoom panning */
.cl-lightbox.is-zoomed #cl-lb-img {
    cursor: grab;
    touch-action: none;
}

.cl-lightbox.is-panning #cl-lb-img {
    cursor: grabbing;
}

.cl-lightbox.is-zoomed .cl-lb-stage {
    overflow: hidden;
}

/* Lightbox adjacent image previews */
.cl-lb-image-row {
    display: grid;
    grid-template-columns: minmax(90px, 16vw) minmax(0, auto) minmax(90px, 16vw);
    align-items: center;
    justify-content: center;
    gap: clamp(34px, 4vw, 64px);
    width: min(98vw, 1600px);
    max-width: 96vw;
}

.cl-lb-image-row #cl-lb-img {
    justify-self: center;
    max-width: min(58vw, 920px);
    max-height: calc(90vh - 54px);
}

.cl-lb-side-preview {
    justify-self: center;
    max-width: 100%;
    max-height: min(58vh, 560px);
    object-fit: contain;
    border-radius: 12px;
    opacity: 1;
    filter: saturate(0.9) brightness(0.82);
    cursor: pointer;
    transition: opacity 0.16s ease, filter 0.16s ease, transform 0.16s ease;
    background: rgba(255,255,255,0.035);
}

.cl-lb-side-preview:hover {
    opacity: 1;
    filter: saturate(1) brightness(1);
    transform: scale(1.025);
}

.cl-lb-side-preview[hidden] {
    display: block;
    visibility: hidden;
    pointer-events: none;
}

.cl-lightbox.is-zoomed .cl-lb-side-preview {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@media (max-width: 900px) {
    .cl-lb-image-row {
        display: flex;
        justify-content: center;
        width: 96vw;
    }

    .cl-lb-side-preview {
        display: none !important;
    }

    .cl-lb-image-row #cl-lb-img {
        max-width: 90vw;
    }
}

.cl-lb-hint {
    width: 100%;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.2;
    opacity: 0.78;
    margin-top: -4px;
    user-select: none;
}

.cl-lb-go-back {
    display: inline;
    margin-left: 10px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 0.78rem;
    text-decoration: underline;
    cursor: pointer;
}

.cl-lb-go-back:hover {
    color: #fff;
}

.cl-celeb-title-link {
    color: inherit;
    text-decoration: none;
}

.cl-celeb-title-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.cl-meta-badges a.badge, .cl-celeb-title-row a.badge {
    color: var(--text);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.cl-meta-badges a.badge:hover, .cl-celeb-title-row a.badge:hover {
    background: #444;
}

/* Celebrity sort controls */
.cl-sort-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
    margin: 0 0 26px;
}

.cl-sort-label {
    color: var(--text-muted);
    font-size: 0.86rem;
    margin-right: 2px;
}

.cl-sort-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.11);
    background: rgba(255,255,255,0.045);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 600;
}

.cl-sort-link:hover {
    color: var(--text);
    border-color: rgba(255,255,255,0.24);
    background: rgba(255,255,255,0.075);
}

.cl-sort-link.is-active {
    color: #050505;
    background: linear-gradient(180deg, #fff, #cfcfcf);
    border-color: rgba(255,255,255,0.85);
}

/* Photos heading sort dropdown */
.cl-photos-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    margin: 40px 0 20px;
}

.cl-photos-head .cl-group-title {
    margin: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.cl-sort-dropdown-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.84rem;
    white-space: nowrap;
}

.cl-sort-dropdown {
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.14);
    background: #111;
    color: var(--text);
    font: inherit;
    font-size: 0.84rem;
    cursor: pointer;
    outline: none;
}

.cl-sort-dropdown:hover,
.cl-sort-dropdown:focus {
    border-color: rgba(255,255,255,0.32);
    background: #171717;
}

@media (max-width: 640px) {
    .cl-photos-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}


/* Homepage hub */
.cl-home-hero {
    padding: 70px 0 42px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    background: #111;
}

.cl-home-hero-inner {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.cl-home-hero .cl-home-kicker { color: #e8c44a !important; }
.cl-home-kicker {
    margin: 0 0 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.76rem;
    font-weight: 800;
}

.cl-home-hero h1 {
    margin: 0;
    font-size: clamp(3rem, 8vw, 6.4rem);
    line-height: 0.95;
    letter-spacing: -0.07em;
}

.cl-home-subtitle {
    max-width: 620px;
    margin: 18px auto 0;
    color: #ffffff;
    font-size: 1.08rem;
    line-height: 1.55;
    font-weight: 600;
    text-shadow: 0 2px 12px rgba(0,0,0,0.9), 0 1px 3px rgba(0,0,0,1);
}

.cl-home-stats {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.cl-home-stats span {
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(0,0,0,0.45);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 0.86rem;
    font-weight: 700;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

.cl-home-wrap {
    padding-top: 34px;
}

.cl-home-hubs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 34px;
}

.cl-home-hub-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 118px;
    padding: 20px;
    border-radius: 18px;
    background: var(--surface);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text);
    text-decoration: none;
}

.cl-home-hub-card:hover {
    background: rgba(255,255,255,0.055);
    border-color: rgba(255,255,255,0.18);
}

.cl-home-hub-card strong {
    font-size: 1.2rem;
}

.cl-home-hub-card span {
    color: var(--text-muted);
    line-height: 1.45;
}

.cl-home-section {
    margin-bottom: 36px;
}

.cl-home-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.cl-home-section-head h2 {
    margin: 0;
    font-size: 1.25rem;
}

.cl-home-section-head a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
}

.cl-home-section-head a:hover {
    color: var(--text);
    text-decoration: underline;
}

.cl-home-featured {
    display: grid;
    grid-template-columns: minmax(240px, 0.42fr) minmax(0, 0.58fr);
    gap: 0;
    overflow: hidden;
    border-radius: 22px;
    background: var(--surface);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text);
    text-decoration: none;
}

.cl-home-featured:hover {
    border-color: rgba(255,255,255,0.18);
}

.cl-home-featured-img img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    display: block;
}

.cl-home-featured-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(24px, 4vw, 54px);
}

.cl-home-featured-info h2 {
    margin: 0 0 10px;
    font-size: clamp(2rem, 5vw, 4.2rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.cl-home-featured-info p {
    margin: 0 0 12px;
    color: var(--text-muted);
}

.cl-home-featured-info strong {
    margin-bottom: 22px;
}

.cl-home-cta {
    display: inline-flex;
    width: fit-content;
    padding: 10px 15px;
    border-radius: 999px;
    background: #fff;
    color: #050505;
    font-weight: 800;
    font-size: 0.9rem;
}

.cl-home-two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.cl-home-link-list {
    display: grid;
    gap: 10px;
}

.cl-home-link-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 14px 15px;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid rgba(255,255,255,0.07);
    color: var(--text);
    text-decoration: none;
}

.cl-home-link-list a:hover {
    border-color: rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.055);
}

.cl-home-link-list small {
    color: var(--text-muted);
    white-space: nowrap;
}

@media (max-width: 820px) {
    .cl-home-hubs,
    .cl-home-featured,
    .cl-home-two-col {
        grid-template-columns: 1fr;
    }

    .cl-home-featured-img img {
        min-height: 280px;
        max-height: 420px;
    }
}

/* Country flags */
.cl-country-card-title,
.cl-country-title {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.cl-country-card-title {
    font-size: 1.08rem;
}

.cl-country-title {
    gap: 10px;
}

/* Category icons */
.cl-category-card-title,
.cl-category-title {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.cl-category-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}


/* Category icon spacing inside pills/buttons */
.badge .cl-category-icon,
.cl-sort-link .cl-category-icon,
.cl-taxonomy-card .cl-category-icon {
    margin-right: 3px;
}

.cl-meta-badges a.badge {
    gap: 3px;
}

/* Header search dropdown */
.cl-search-box {
    position: relative;
}

.cl-search-results {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(360px, 86vw);
    max-height: 430px;
    overflow: auto;
    z-index: 2000;
    padding: 8px;
    border-radius: 16px;
    background: #101010;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 18px 48px rgba(0,0,0,0.5);
}

.cl-search-result {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 8px;
    border-radius: 12px;
    color: var(--text);
    text-decoration: none;
}

.cl-search-result:hover {
    background: rgba(255,255,255,0.07);
}

.cl-search-result img {
    width: 46px;
    height: 58px;
    object-fit: cover;
    object-position: center top;
    border-radius: 8px;
    background: #222;
}

.cl-search-result-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.cl-search-result-text strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cl-search-result-text small,
.cl-search-empty {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.cl-search-empty {
    padding: 12px;
    text-align: center;
}

/* Celebrity card-list sort dropdown */
.cl-card-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 20px;
}

.cl-card-list-head h2 {
    margin: 0;
    font-size: 1.15rem;
}

.cl-card-sort-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.84rem;
    white-space: nowrap;
}

.cl-card-sort-dropdown {
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.14);
    background: #111;
    color: var(--text);
    font: inherit;
    font-size: 0.84rem;
    cursor: pointer;
    outline: none;
}

.cl-card-sort-dropdown:hover,
.cl-card-sort-dropdown:focus {
    border-color: rgba(255,255,255,0.32);
    background: #171717;
}

@media (max-width: 640px) {
    .cl-card-list-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}

.cl-lb-resolution-stat {
    display: inline-flex;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1;
    padding: 0;
    margin-left: 2px;
    border: 0;
    background: transparent;
    user-select: none;
}

.cl-photos-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    min-width: 0;
}

.cl-inline-next-page {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.13);
    background: rgba(255,255,255,0.045);
    color: var(--text);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 650;
    white-space: nowrap;
}

.cl-inline-next-page:hover {
    background: rgba(255,255,255,0.09);
    border-color: rgba(255,255,255,0.26);
}


/* Visual masonry order matches lightbox order */
.cl-masonry[data-visual-masonry="1"] {
    columns: auto;
    display: grid;
    grid-template-columns: repeat(var(--cl-visual-cols, 4), minmax(0, 1fr));
    gap: 15px;
    align-items: start;
}

.cl-masonry-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 0;
}

.cl-masonry[data-visual-masonry="1"] .cl-masonry-item {
    margin-bottom: 0;
}

/* Masonry column stagger without changing click/lightbox order */
.cl-masonry[data-visual-masonry="1"] .cl-masonry-col:nth-child(2) {
    padding-top: 28px;
}

.cl-masonry[data-visual-masonry="1"] .cl-masonry-col:nth-child(3) {
    padding-top: 12px;
}

.cl-masonry[data-visual-masonry="1"] .cl-masonry-col:nth-child(4) {
    padding-top: 42px;
}

/* Homepage WordPress tagline under main H1 */
.cl-home-hero .cl-home-subtitle {
    display: block;
    max-width: 720px;
    margin: 18px auto 0;
    color: rgba(255,255,255,0.82);
    font-size: clamp(1rem, 2vw, 1.24rem);
    line-height: 1.5;
    text-align: center;
}

/* Header logo tagline */
.cl-brand-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.05;
    min-width: 190px;
}

.cl-brand-block .cl-logo {
    margin: 0;
}

.cl-header-tagline {
    display: block;
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 500;
    white-space: nowrap;
}


/* Homepage hero title: favicon-style luxury CL look */
.cl-home-hero h1 {
    display: inline-block;
    padding: 0.04em 0.18em 0.08em;
    font-weight: 950;
    letter-spacing: -0.085em;
    line-height: 0.92;
    color: #fff;
    background: linear-gradient(180deg, #ffffff 0%, #f2f2f2 34%, #bdbdbd 68%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow:
        0 2px 0 rgba(255,255,255,0.08),
        0 18px 48px rgba(255,255,255,0.12),
        0 26px 80px rgba(0,0,0,0.9);
    filter: drop-shadow(0 2px 0 rgba(255,255,255,0.08));
}

.cl-home-hero h1::first-letter {
    letter-spacing: -0.1em;
}

/* Homepage hero title: gold favicon gradient override */
.cl-home-hero h1 {
    color: transparent;
    background:
        linear-gradient(
            180deg,
            #fff58a 0%,
            #ffe45c 22%,
            #ffc72a 48%,
            #d89408 76%,
            #ffe06a 100%
        );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-stroke: 1px rgba(255, 232, 112, 0.28);
    text-shadow:
        0 1px 0 rgba(255,255,255,0.22),
        0 8px 18px rgba(255,194,38,0.18),
        0 22px 55px rgba(0,0,0,0.9);
    filter: drop-shadow(0 2px 0 rgba(85,54,0,0.55));
}

/* Homepage hero title: remove heavy gold glow */
.cl-home-hero h1 {
    text-shadow:
        0 1px 0 rgba(255,255,255,0.16),
        0 3px 0 rgba(84,55,0,0.55);
    filter: none;
}

/* Homepage hero title: soft gold glow, no hard letter shadow */
.cl-home-hero h1 {
    text-shadow:
        0 1px 0 rgba(255,255,255,0.18),
        0 0 12px rgba(255,202,48,0.20),
        0 0 28px rgba(255,184,20,0.10);
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.55));
}

/* Homepage hero title: remove bottom black shadow, keep soft gold glow */
.cl-home-hero h1 {
    text-shadow:
        0 0 10px rgba(255,210,55,0.18),
        0 0 22px rgba(255,184,20,0.10);
    filter: none;
}

/* Homepage hero title: remove bottom black shadow, keep soft gold glow */
.cl-home-hero h1 {
    text-shadow:
        0 0 10px rgba(255,210,55,0.18),
        0 0 22px rgba(255,184,20,0.10);
    filter: none;
}

/* FINAL homepage hero title: gold gradient, soft glow, no bottom shadow */
.cl-home-hero .cl-home-hero-inner > h1 {
    -webkit-text-stroke: 0 !important;
    text-shadow:
        0 0 8px rgba(255,210,55,0.18),
        0 0 18px rgba(255,184,20,0.10) !important;
    filter:
        drop-shadow(0 0 5px rgba(255,205,40,0.14))
        drop-shadow(0 0 14px rgba(255,175,15,0.08)) !important;
}

/* FINAL FIX: clean gold hero title, no blur/shadow */
.cl-home-hero .cl-home-hero-inner > h1 {
    color: transparent !important;
    background: linear-gradient(
        180deg,
        #fff58a 0%,
        #ffe45c 24%,
        #ffc72a 50%,
        #d89408 78%,
        #ffe06a 100%
    ) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-stroke: 0 !important;
    text-shadow: none !important;
    filter: none !important;
}

/* FINAL FIX: prevent hero title descenders from being cut */
.cl-home-hero .cl-home-hero-inner > h1 {
    line-height: 1.08 !important;
    padding: 0.02em 0.18em 0.18em !important;
    margin: 0 auto -0.04em !important;
    overflow: visible !important;
}

.cl-home-hero,
.cl-home-hero-inner {
    overflow: visible !important;
}

/* Header logo: moving gold/white gradient */
.cl-global-header .cl-logo { display: inline-flex !important; align-items: center;
    font-weight: 900 !important;
    background-image: linear-gradient(90deg, #d89408, #ffc72a, #fff58a, #ffffff, #ffc72a, #d89408) !important;
    background-size: 300% 100% !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    text-decoration: none !important;
    text-shadow: none !important;
    filter: none !important;
}

.cl-global-header .cl-logo::before,
.cl-global-header .cl-logo::after {
    content: none !important;
}


/* FINAL homepage hero H1 size */
.cl-home-hero .cl-home-hero-inner > h1 {
    font-size: clamp(1.7rem, 4vw, 3.2rem) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.055em !important;
}

/* Homepage stats under tagline: plain text, not buttons */
.cl-home-hero .cl-home-stats {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 18px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.cl-home-hero .cl-home-stats span {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--text-muted) !important;
}

.cl-home-hero .cl-home-stats span:not(:last-child)::after {
    content: "•";
    margin-left: 14px;
    color: rgba(255,255,255,0.28);
}

/* Homepage hero: reduce gap below header */
.cl-home-hero {
    padding-top: 38px !important;
}

@media (max-width: 760px) {
    .cl-home-hero {
        padding-top: 26px !important;
    }
}

/* Legal pages */
.cl-legal-page {
    max-width: 860px;
    line-height: 1.7;
    color: var(--text);
}

.cl-legal-page h2 {
    margin-top: 30px;
    margin-bottom: 8px;
}

.cl-legal-page p {
    color: var(--text-muted);
}

.cl-legal-page a {
    color: var(--text);
}

/* Footer bottom/legal links */
.cl-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.9rem;
}

.cl-footer-links {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.cl-footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.cl-footer-links a:hover,
.cl-footer-logo:hover {
    color: var(--text);
}

@media (max-width: 760px) {
    .cl-footer-main {
        grid-template-columns: 1fr;
    }

    .cl-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

.cl-masonry-item { position: relative; overflow: hidden; }
.cl-masonry-item::before { content: attr(data-name); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.2); background: linear-gradient(90deg, #1a1a1a 25%, #333 50%, #1a1a1a 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite, pulse-text 2s ease-in-out infinite; z-index: 1; }
.cl-masonry-item img { position: relative; z-index: 2; }
.cl-masonry-item.img-loaded::before { display: none; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@keyframes pulse-text { 0%, 100% { color: rgba(255,255,255,0.1); } 50% { color: rgba(255,255,255,0.3); } }

.cl-card { position: relative; isolation: isolate; }
.cl-card-info { position: relative; z-index: 3; }
.cl-card::before { content: attr(data-name); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.2); background: linear-gradient(90deg, #1a1a1a 25%, #333 50%, #1a1a1a 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite, pulse-text 2s ease-in-out infinite; z-index: 1; padding: 10px; text-align: center; }
.cl-card img { position: relative; z-index: 2; display: block; }
.cl-card.img-loaded::before { display: none; }

/* View toggle buttons */
.cl-view-toggle { display: flex; gap: 8px; align-items: center; }
.cl-toggle-btn { background: #2a2a2a; color: rgba(255,255,255,0.6); border: 1px solid #444; padding: 6px 14px; border-radius: 4px; cursor: pointer; font-size: 13px; transition: all 0.2s; }
.cl-toggle-btn:hover { background: #333; color: #fff; }
.cl-toggle-btn.active { background: #444; color: #fff; border-color: #666; }

/* Alpha list view */
.cl-alpha-list { padding: 20px 0; }
.cl-alpha-section { margin-bottom: 24px; }
.cl-alpha-letter { font-size: 22px; font-weight: 700; color: #fff; border-bottom: 1px solid #333; padding-bottom: 6px; margin-bottom: 10px; }
.cl-alpha-names { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 20px; }
.cl-alpha-name { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 13px; padding: 3px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 0.15s; }
.cl-alpha-name:hover { color: #fff; }
@media (max-width: 600px) { .cl-alpha-names { grid-template-columns: repeat(2, 1fr); } }

/* Sorted list view (non-AZ) */
.cl-sorted-list-rows { padding: 20px 0; } .cl-sorted-row { display: flex; gap: 40px; margin-bottom: 0; padding: 20px 0; border-bottom: 1px solid #333; } .cl-sorted-row:last-child { border-bottom: none; } .cl-sorted-col { flex: 1; display: flex; flex-direction: column; gap: 3px; }
@media (max-width: 600px) { .cl-sorted-list { grid-template-columns: repeat(2, 1fr); } }

/* List view numbers */
.cl-list-num { color: rgba(255,255,255,0.3); font-size: 11px; margin-right: 6px; min-width: 24px; display: inline-block; text-align: right; }

/* Latest additions grid */
.cl-home-latest-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.cl-home-latest-card { display: block; text-decoration: none; border-radius: 8px; overflow: hidden; background: #1a1a1a; transition: transform 0.2s; }
.cl-home-latest-card:hover { transform: translateY(-2px); }
.cl-home-latest-img { aspect-ratio: 3/4; overflow: hidden; }
.cl-home-latest-img img { width: 100%; height: 100%; object-fit: cover; }
.cl-home-latest-info { padding: 8px; }
.cl-home-latest-info h3 { margin: 0 0 4px; font-size: 13px; color: #fff; }
.cl-home-latest-info p { margin: 0 0 4px; font-size: 12px; color: rgba(255,255,255,0.5); }
.cl-home-latest-info strong { font-size: 12px; color: rgba(255,255,255,0.7); }
@media (max-width: 600px) { .cl-home-latest-grid { grid-template-columns: repeat(2, 1fr); } }

/* Category showcase hub cards */
.cl-home-hubs { margin-top: 0 !important; padding-top: 0 !important; }
.cl-home-hub-showcase { display: block; text-decoration: none; border-radius: 10px; overflow: hidden; background: #1a1a1a; transition: transform 0.2s; border: 1px solid #333; }
.cl-home-hub-showcase:hover { transform: translateY(-2px); }
.cl-hub-thumbs-row { display: flex; gap: 2px; height: 140px; }
.cl-hub-thumb { flex: 1; background-size: cover; background-position: center top; }
.cl-hub-info { padding: 10px 14px; display: flex; justify-content: space-between; align-items: center; }
.cl-hub-info strong { color: #fff; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 65%; }
.cl-hub-info span { color: rgba(255,255,255,0.5); font-size: 12px; white-space: nowrap; }

.cl-header-logo { width: 28px; height: 28px; object-fit: contain; margin-right: 8px; }

/* Hero montage background */
.cl-home-hero { position: relative; overflow: hidden; }
.cl-hero-montage { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(10, 1fr); grid-template-rows: repeat(2, 1fr); z-index: 0; pointer-events: none; }
.cl-hero-thumb { overflow: hidden; }
.cl-hero-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: blur(1px) brightness(0.4); transform: scale(1.05); display: block; }
.cl-home-hero .cl-container { position: relative; z-index: 1; }


.cl-pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; padding: 24px 0; }
.cl-pagination a { padding: 6px 12px; border-radius: 6px; background: #1a1a1a; color: var(--color-text-secondary); text-decoration: none; font-size: 14px; border: 1px solid #333; }
.cl-pagination a.active { background: #e8c44a; color: #000; border-color: #e8c44a; font-weight: 600; }
.cl-pagination a { padding: 6px 12px; border-radius: 6px; background: rgba(255,255,255,0.055); color: var(--color-text-secondary); text-decoration: none; font-size: 14px; border: 1px solid rgba(255,255,255,0.11); transition: background 0.16s; }
.cl-pagination a:hover { background: rgba(255,255,255,0.11); color: #fff; }
.cl-pagination a:hover { background: #333; color: #fff; }

.cl-page-dots { cursor: pointer; }
.cl-page-dots:hover { background: rgba(255,255,255,0.11) !important; border-color: rgba(255,255,255,0.28) !important; color: #fff !important; }

h2 small, h3 small { font-size: 0.6em; font-weight: 400; color: var(--color-text-secondary); margin-left: 6px; }

.cl-category-title a:hover, .cl-country-title a:hover { text-decoration: underline !important; }

.cl-category-title a span:hover, .cl-country-title a span:hover { text-decoration: underline; }
.cl-category-title a:hover, .cl-country-title a:hover { text-decoration: none !important; }

.cl-mini-header h1 a:hover span, .cl-mini-header h1 a:hover { text-decoration: underline !important; }

.cl-lb-right { display: flex; align-items: center; gap: 4px; }
.cl-lb-icon-btn { background: none; border: none; color: rgba(255,255,255,0.7); font-size: 18px; cursor: pointer; padding: 6px 8px; border-radius: 6px; transition: color 0.15s, background 0.15s; line-height: 1; }
.cl-lb-icon-btn:hover { color: #fff; background: rgba(255,255,255,0.1); }


.cl-lb-counter-above { display: block; text-align: center; color: rgba(255,255,255,0.7); font-size: 13px; font-weight: 500; padding: 4px 0; letter-spacing: 0.05em; }

.cl-lb-spacer { flex: 1; }

.cl-home-hero-inner { background: radial-gradient(ellipse at center, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 70%, transparent 100%); padding: 40px 20px; border-radius: 16px; }

.cl-home-hero-inner { background: none; padding: 0; border-radius: 0; }

.cl-home-az-list { display: flex; flex-direction: column; }
.cl-home-az-row { display: flex; align-items: baseline; gap: 16px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.cl-home-az-letter { font-size: 1rem; font-weight: 800; color: #e8c44a; min-width: 28px; flex-shrink: 0; }
.cl-home-az-names { display: flex; flex-wrap: wrap; gap: 4px 0; }
.cl-home-az-names a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 0.88rem; padding: 2px 10px; }
.cl-home-az-names a:hover { color: #fff; }
.cl-home-az-names a:not(:last-child)::after { content: '•'; margin-left: 10px; color: rgba(255,255,255,0.2); }
.cl-home-az-more { color: var(--text-muted) !important; font-size: 0.8rem !important; font-style: italic; }

.cl-home-az-list { max-width: 900px; margin: 0 auto; }
.cl-home-az-more { background: rgba(255,255,255,0.08) !important; border: 1px solid rgba(255,255,255,0.15) !important; border-radius: 4px !important; padding: 1px 8px !important; font-size: 0.78rem !important; font-style: normal !important; color: rgba(255,255,255,0.6) !important; }
.cl-home-az-more:hover { background: rgba(255,255,255,0.15) !important; color: #fff !important; }

.cl-home-az-list ~ .cl-home-section-head, .cl-home-section:has(.cl-home-az-list) .cl-home-section-head { margin-bottom: 16px; }

.cl-home-az-list + * , .cl-home-section:has(.cl-home-az-list) { text-align: left; }
.cl-home-section:has(.cl-home-az-list) { max-width: 900px; margin: 0 auto; }

#cl-lb-progress { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: rgba(255,255,255,0.15); z-index: 10; display: none; }
#cl-lb-progress-bar { height: 100%; background: #e8c44a; width: 0%; }

.cl-celeb-header-left { display: flex; align-items: center; gap: 16px; }
.cl-celeb-title-wrap h1 { white-space: nowrap; }
.cl-celeb-desc { margin: 0; font-size: 0.85rem; color: var(--text-muted); max-width: 420px; line-height: 1.5; }

.cl-celeb-face-thumb { width: 80px; height: 80px; border-radius: 10px; object-fit: cover; object-position: top; flex-shrink: 0; }
.cl-celeb-title-wrap { display: flex; flex-direction: column; gap: 6px; }
.cl-celeb-title-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cl-celeb-title-row h1 { flex-basis: 100%; }
.cl-celeb-title-wrap h1 { white-space: nowrap; }

.cl-celeb-title-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cl-celeb-title-row h1 { flex-basis: 100%; }

.cl-mini-header .cl-container { display: flex; align-items: center; gap: 32px; }
.cl-celeb-header-left { flex: 1; min-width: 0; }
.cl-celeb-more-sidebar { display: flex; gap: 24px; flex-shrink: 0; }
.cl-celeb-more-group {}
.cl-celeb-more-label { margin: 0 0 8px; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); white-space: nowrap; }
.cl-celeb-more-list { display: flex; gap: 8px; }
.cl-celeb-more-item { display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; width: 70px; }
.cl-celeb-more-item img { width: 70px; height: 88px; object-fit: cover; object-position: top; border-radius: 6px; }
.cl-celeb-more-item span { font-size: 11px; color: var(--text-muted); text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: 100%; }
.cl-celeb-more-item:hover span { color: var(--text); }

.cl-tax-header { display: flex; align-items: center; gap: 40px; }
.cl-tax-header-left { flex-shrink: 0; }
.cl-tax-related { flex: 1; min-width: 0; }
.cl-tax-related-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.cl-tax-related-pills .badge { background: #2a2a2a; color: var(--text-muted); text-decoration: none; padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; border: 1px solid rgba(255,255,255,0.08); transition: background 0.15s; }
.cl-tax-related-pills .badge:hover { background: #333; color: var(--text); }

.cl-celeb-title-row h1 { flex-basis: 100%; }

.cl-tax-flag-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cl-tax-flag-link { font-size: 40px; text-decoration: none; line-height: 1; transition: transform 0.15s; display: block; }
.cl-tax-flag-link:hover { transform: scale(1.15); }

@media (max-width: 640px) {
    .cl-masonry { columns: 2; gap: 8px; }
    .cl-masonry-item { margin-bottom: 8px; }
}
@media (max-width: 1295px) {
    .cl-mini-header .cl-container { flex-direction: column; align-items: flex-start; gap: 12px; }
    .cl-celeb-more-sidebar { display: none; }
    .cl-celeb-header-left { display: flex !important; flex-direction: row !important; align-items: flex-start; gap: 12px; width: 100%; }
    .cl-celeb-face-thumb { width: 60px !important; height: 60px !important; flex-shrink: 0 !important; }
    .cl-celeb-title-wrap { flex: 1; min-width: 0; }
    .cl-celeb-header-left .cl-celeb-desc { display: block; margin-top: 6px; margin-left: calc(-60px - 12px) !important; width: calc(100% + 60px + 12px) !important; }
    .cl-celeb-title-row { flex-wrap: wrap; gap: 6px; }
    .cl-celeb-title-row h1 { font-size: 1.4rem; }
    .cl-tax-header { flex-direction: column; gap: 12px; }
    .cl-celeb-more-list { gap: 6px; }
    .cl-celeb-more-item { width: 56px; }
    .cl-celeb-more-item img { width: 56px; height: 70px; }
}

.cl-hamburger { display: none; background: none; border: none; color: var(--text); font-size: 24px; cursor: pointer; padding: 4px 8px; margin-left: auto; }
@media (max-width: 768px) {
    .cl-hamburger { display: block; }
    .cl-nav { display: none; position: absolute; top: 60px; left: 0; right: 0; background: #111; border-bottom: 1px solid #222; flex-direction: column; padding: 12px 20px; gap: 0; z-index: 200; }
    .cl-nav.is-open { display: flex; }
    .cl-nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.07); font-size: 1rem; }
    .cl-nav a:last-child { border-bottom: none; }
    .cl-header-tagline { display: none; }
    .cl-search-box { flex: 1; max-width: none; }
    .cl-search-box input { width: 100%; box-sizing: border-box; }
    .header-inner { position: relative; }
}

.cl-celeb-title-row h1 { width: 100% !important; flex-basis: 100% !important; }

.cl-celeb-header-left { align-items: flex-start !important; }
@media (min-width: 1296px) {
.cl-celeb-header-left .cl-celeb-desc { margin-left: calc(-80px - 16px) !important; width: calc(100% + 80px + 16px) !important; margin-top: 8px; }
}

@media (max-width: 640px) { .cl-taxonomy-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; } .cl-taxonomy-card { min-width: 0; padding: 10px 8px; } .cl-taxonomy-card strong { font-size: 0.75rem; } .cl-taxonomy-card span { font-size: 0.7rem; } }

@media (max-width: 768px) { #cl-lb-prev, #cl-lb-next { display: none !important; } }

/* Card like button overlay */
.cl-masonry-item { position: relative; }
.cl-card-like-btn {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
    z-index: 2;
}
.cl-card-like-btn.is-liked { color: #e8c44a; }
