@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*:focus {
    outline: none;
}

html,
body {
    min-height: 100%;
}

:root {
    --bg-site-start: #f3f3f3;
    --bg-site-end: #f3f3f3;
    --bg-surface: #ffffff;
    --bg-panel: #2d2d2d;
    --text-base: #6a6a6a;
    --text-title: #6e9fbe;
    --text-accent-hover: #ff0076;
    --border-soft: rgba(45, 45, 45, 0.18);
    --border-strong: #d9d9d9;
    --surface-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: var(--bg-site-start) url("img/bg.png") repeat;
    color: var(--text-base);
    font: 13px/1.45 Verdana, Helvetica, sans-serif;
}

a {
    color: var(--text-title);
    text-decoration: none;
}

a:hover {
    color: var(--text-accent-hover);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}

.cc {
    clear: both;
}

.right {
    float: right !important;
}

#header,
#page {
    width: 100%;
}

.page-layout {
    width: 100%;
    max-width: 1532px;
    margin: 0 auto;
    padding: 0 12px;
    position: relative;
    box-sizing: border-box;
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    text-align: center;
}

#header {
    position: relative;
    isolation: isolate;
    width: 100%;
    max-width: 1532px;
    margin: 0 auto;
    background: transparent;
}

#header::before {
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: #f5f5f5;
    border-bottom: 1px solid #e5e5e5;
    content: "";
}

#header .header1 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    max-width: none;
    padding: 12px 18px;
    margin: 0 auto;
    background: transparent;
    border-bottom: 0;
    border-radius: 0;
    box-shadow: none;
    color: var(--text-base);
}

.logo-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    text-decoration: none;
    line-height: 1;
}

.logo-text img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
}

#search-box.header-search {
    width: 340px;
    max-width: 42%;
    min-width: 220px;
    margin: 0 0 0 auto;
    flex: 0 1 340px;
}

#search-box.header-search form {
    width: 100%;
    position: relative;
}

#search-box.header-search .searchform {
    width: 100%;
    height: 42px;
    padding: 0 48px 0 12px;
    border: 1px solid var(--border-soft);
    border-radius: 7px;
    background: #fff;
    color: var(--text-base);
    font-size: 14px;
    line-height: 42px;
}

#search-box.header-search .searchform::placeholder {
    color: #77717a;
}

#search-box.header-search .searchbut {
    position: absolute;
    top: 50%;
    right: 4px;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 5px;
    background: transparent;
}

#search-box.header-search .searchbut:hover {
    background: #edf1f5;
}

#search-box.header-search .searchbut svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: var(--text-title);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.header-note {
    margin-left: auto;
    max-width: 70%;
    color: var(--text-base);
    font-size: 13px;
    line-height: 1.4;
    text-align: right;
}

#menu-up {
    display: none;
}

.main-nav-bar {
    width: 100%;
    background: #f5f5f5;
    border-bottom: 1px solid #e5e5e5;
}

.main-nav-inner {
    width: 100%;
    max-width: 1532px;
    min-width: 0;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: 56px;
    flex-wrap: nowrap;
    background: #f5f5f5;
    border-top: 0;
    border-radius: 0;
    box-shadow: none;
}

.main-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dce5eb;
    border-radius: 7px;
    background: #fff;
}

.main-nav-list li {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
}

.main-nav-list li+li {
    border-left: 1px solid #dce5eb;
}

.main-nav-list a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    padding: 9px 16px;
    background: transparent;
    color: #5d5662;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.main-nav-list a:hover {
    color: #5a83a0;
    background: #f7fafc;
}

.main-nav-list a.is-active,
.main-nav-list a.is-active:hover {
    background: #7d9fba;
    color: #fff;
}

#page {
    display: flex;
    flex-direction: column;
    background: transparent;
    font-family: Arial, sans-serif;
    padding-top: 0;
    padding-bottom: 0;
    flex: 1 0 auto;
}

#page>.page-layout {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
    padding-bottom: 24px;
}

#page .container {
    padding: 6px 7px 2px;
    background: #ffffff;
    border: 1px solid var(--border-strong);
    border-top: 0;
    border-bottom: 0;
    border-radius: 0;
    box-shadow: var(--surface-shadow);
    flex: 1 0 auto;
}

.title-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0;
    padding: 10px 0;
}

.title-box-title {
    margin: 0;
    color: var(--text-title);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
}

.title-box>span {
    margin: 0;
    padding: 0;
    width: 100%;
    float: none;
    background: none;
    color: var(--text-title);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    text-align: right;
}

.title-box-nav {
    display: inline-flex;
    align-items: center;
    gap: 0;
    flex: 0 0 auto;
    margin-left: auto;
    border-radius: 6px;
    overflow: hidden;
    background: #ffffff;
}

.title-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 82px;
    height: 34px;
    padding: 0 12px;
    border: none;
    border-radius: 0;
    background: #fff;
    color: #625b68;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    box-shadow: none;
}

.title-filter-btn+.title-filter-btn {
    border-left: 1px solid #e5e1e8;
}

.title-filter-btn:hover {
    color: #806f9e;
    background: #f2f0f5;
}

.title-filter-btn.is-active {
    color: #fff;
    background: #7d9fba;
    box-shadow: none;
}

.thumbs-grid {
    position: relative;
    min-height: 220px;
}

.thumbs-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.94);
    z-index: 20;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.page-loader-spinner,
.thumbs-loader .page-loader-spinner {
    width: 44px;
    height: 44px;
    border: 4px solid rgba(45, 45, 45, 0.18);
    border-top-color: var(--text-title);
    border-radius: 50%;
    animation: page-loader-spin 0.8s linear infinite;
}

.thumbs-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@keyframes page-loader-spin {
    to {
        transform: rotate(360deg);
    }
}

.th_container {
    list-style-type: none;
    position: relative;
    margin: 10px 0 0;
    padding: 0;
    visibility: hidden;
}

.th_container.mosaic-ready {
    visibility: visible;
}

.video-page .thumbs-grid {
    min-height: 0;
}

.video-th-container {
    list-style-type: none;
    position: relative;
    margin: 10px 0 0;
    padding: 0;
    visibility: visible;
}

.video-page .video-th-container {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    visibility: visible;
}

.video-page .video-th-container li {
    width: auto;
}

.video-page .video-th-container li img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.th_container li,
.video-th-container li {
    background: #ffffff;
    border: 1px solid #d9d9d9;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}

.th_container li:hover,
.video-th-container li:hover {
    border-color: var(--text-title);
}

.th_container li img,
.video-th-container li img {
    display: block;
    width: 100%;
    height: auto;
}

.th_container li p,
.video-th-container li p {
    color: var(--text-base);
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
    font-weight: 400;
    margin: 8px;
}

.th_container a,
.video-th-container a {
    position: relative;
    display: block;
}

.category-badge {
    position: absolute;
    right: 0;
    bottom: 0px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 8px 0 0 0;
    background: rgba(45, 45, 45, 0.88);
    color: var(--text-base);
    /* border: 1px solid var(--border-soft); */
    border-right: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-transform: capitalize;
}

.category-badge span {
    opacity: 1;
}

.gfb-entity-counts {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 38px;
    padding: 6px 8px;
    background: #fff;
}

.gfb-entity-count {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #5d5662;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.gfb-entity-count+.gfb-entity-count::before {
    content: "|";
    margin-right: 4px;
    color: #a7a7a7;
    font-weight: 400;
}

.gfb-entity-count svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #ff0076;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.gfb-entity-counts a:hover,
.gfb-entity-counts a:focus-visible {
    color: #5d5662;
    text-decoration: underline;
}

.gfb-entity-counts a:focus-visible {
    outline: 2px solid #ff0076;
    outline-offset: 2px;
}

.duration-badge {
    right: 6px;
    bottom: 6px;
    padding: 4px 7px;
    font-size: 12px;
    font-weight: 300;
    border-radius: 4px;
}


@media only screen and (max-width: 1200px) {
    .video-page .video-th-container {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 920px) {
    .video-page .video-th-container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 640px) {
    .video-page .video-th-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 420px) {
    .video-page .video-th-container {
        grid-template-columns: 1fr;
    }
}

.archive {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    float: none !important;
    clear: both;
    box-sizing: border-box;
    padding: 12px 0;
    margin: 20px 0 15px;
}

.archive a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border: 1px solid #dce5eb;
    border-radius: 6px;
    background: #fff;
    color: #5d5662;
    font-size: 18px;
    font-weight: 700;
}

.archive a:hover {
    border-color: #b8cbd8;
    background: #f7fafc;
    color: #5a83a0;
}

.archive a svg {
    display: block;
}

#footer {
    position: relative;
    isolation: isolate;
    width: 100%;
    max-width: 1532px;
    margin-right: auto;
    margin-left: auto;
    flex: 0 0 auto;
    margin-top: auto;
    padding-bottom: 0;
    background: transparent;
    color: #514b56;
}

#footer::before {
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: #f5f5f5;
    border-top: 1px solid #e5e5e5;
    content: "";
}

#footer-bottom {
    padding: 14px 16px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

#footer p {
    margin: 14px 0;
    color: #514b56;
    font-size: 14px;
    text-align: center;
    line-height: 1.5;
}

#footer p.copy {
    color: #6a646e;
    font-size: 13px;
}

#footer .gfb-footer-links a,
#footer p.copy a {
    color: #557d98;
    font-weight: 700;
}

#footer .gfb-footer-links a:hover,
#footer p.copy a:hover {
    color: #806f9e;
}

@media only screen and (max-width: 1000px) {
    #header .header1 {
        justify-content: space-between;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    #header .header1,
    .main-nav-inner,
    #page .container,
    #footer-bottom {
        padding-left: 12px;
        padding-right: 12px;
    }

    #page .container {
        padding-left: 6px;
        padding-right: 6px;
    }

    .logo-text {
        width: auto;
        flex: 0 0 auto;
        justify-content: center;
    }

    .logo-text img {
        width: auto;
        max-width: 100%;
    }

    .header-note {
        display: none;
    }
}

.gfb-gallery-page {
    padding: 12px 0 0;
}

.gfb-gallery-shell {
    width: 100%;
    max-width: 1508px;
    margin: 0 auto;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #d9d9d9;
    box-shadow: var(--surface-shadow);
}

.gfb-gallery-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 0 0 14px;
    border-bottom: 1px solid #e5e5e5;
}

.gfb-gallery-breadcrumb {
    grid-column: 1 / -1;
    color: #777777;
    font-size: 13px;
}

.gfb-gallery-breadcrumb a {
    color: #6e9fbe;
}

.gfb-gallery-title {
    min-width: 0;
    color: #4d4d4d;
    font-size: 24px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.gfb-gallery-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    align-items: start;
    gap: 16px;
    padding-top: 16px;
}

.gfb-gallery-main {
    min-width: 0;
}

.gfb-gallery-images {
    columns: 4 190px;
    column-gap: 8px;
}

.gfb-gallery-image {
    display: block;
    width: 100%;
    margin: 0 0 8px;
    break-inside: avoid;
    overflow: hidden;
    background: #f3f3f3;
    border: 1px solid #d9d9d9;
}

.gfb-gallery-image img {
    display: block;
    width: 100%;
    height: auto;
}

.gfb-gallery-image:hover {
    border-color: #6e9fbe;
}

.gfb-gallery-ad {
    width: 100%;
    margin: 0 auto 8px;
    break-inside: avoid;
}

.gfb-gallery-ad__unit {
    position: relative;
    width: 100%;
    aspect-ratio: 6 / 5;
    overflow: hidden;
    background: #f3f3f3;
}

.gfb-gallery-ad__unit::before {
    position: absolute;
    z-index: 2;
    top: 4px;
    left: 4px;
    padding: 2px 5px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .82);
    color: #666;
    content: "Ad";
    font-size: 9px;
    font-weight: 600;
    line-height: 1.2;
    pointer-events: none;
}

.gfb-gallery-ad__unit--mobile {
    display: none;
}

.gfb-gallery-ad__slot {
    position: absolute !important;
    top: 0;
    left: 50%;
    display: block !important;
    width: 300px !important;
    height: 250px !important;
    transform: translateX(-50%);
    transform-origin: top center;
}

.gfb-gallery-ad ins {
    position: absolute !important;
    inset: 0;
    display: block !important;
    width: 300px !important;
    height: 250px !important;
}

.gfb-gallery-ad iframe {
    display: block;
    width: 300px !important;
    max-width: none !important;
    height: 250px !important;
    border: 0;
}

.gfb-gallery-ad--sidebar {
    max-width: 100%;
}

.gfb-gallery-channel-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    margin-top: 12px;
    padding: 10px 14px;
    background: #ff0076;
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    overflow-wrap: anywhere;
    transition: background-color .18s ease;
}

.gfb-gallery-channel-cta:hover,
.gfb-gallery-channel-cta:focus-visible {
    background: #d90065;
    color: #fff;
}

.gfb-gallery-side {
    display: grid;
    gap: 12px;
}

.gfb-gallery-card {
    background: #ffffff;
    border: 1px solid #d9d9d9;
}

.gfb-gallery-card__title {
    padding: 10px 12px;
    background: #2d2d2d;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
}

.gfb-gallery-card__body {
    padding: 12px;
}

.gfb-gallery-stats {
    display: grid;
    gap: 8px;
    color: #525252;
    font-size: 14px;
}

.gfb-gallery-stat {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.gfb-gallery-like-slot {
    margin-top: 12px;
}

.gfb-gallery-like-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    width: 100%;
    padding: 0 12px;
    background: #6e9fbe;
    border: 1px solid #5d8cab;
    border-radius: 4px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease;
}

.gfb-gallery-like-button svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gfb-gallery-like-button:hover {
    color: #ffffff;
    background-color: #ff0076;
    border-color: #e00069;
}

.gfb-gallery-like-button:disabled {
    cursor: wait;
    opacity: .75;
}

.gfb-gallery-liked {
    color: #4f7f52;
    font-weight: 700;
}

.gfb-gallery-meta-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.gfb-gallery-meta-list a {
    display: inline-flex;
    padding: 5px 8px;
    background: #f2f2f2;
    border: 1px solid #dcdcdc;
    color: #525252;
    font-size: 12px;
}

.gfb-gallery-meta-list a:hover {
    color: #ff0076;
    border-color: #ff0076;
}

.gfb-gallery-empty {
    padding: 32px 16px;
    background: #ffffff;
    border: 1px solid #d9d9d9;
    color: #6a6a6a;
    text-align: center;
}

.gfb-paysites-section {
    padding: 0;
}

.gfb-category-index {
    padding: 14px 0 28px;
}

.gfb-category-index__section {
    width: 100%;
}

.gfb-category-index__heading {
    margin-bottom: 16px;
}

.gfb-category-index__heading h1 {
    color: #4d4d4d;
    font-size: 23px;
    line-height: 1.25;
}

.gfb-category-index__card {
    position: relative;
    display: block;
    overflow: hidden;
}

.gfb-category-index__card:hover img,
.gfb-category-index__card:focus-visible img {
    opacity: .9;
}

.gfb-category-index__label {
    position: absolute;
    top: 0;
    left: 0;
    max-width: calc(100% - 12px);
    padding: 7px 10px;
    overflow: hidden;
    border-radius: 5px 0 0 0;
    background: rgba(0, 0, 0, .62);
    color: rgba(255, 255, 255, .94);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gfb-category-index__card:focus-visible {
    outline: 2px solid #ff0076;
    outline-offset: 2px;
}

.gfb-category-index__empty {
    width: 100%;
    padding: 24px;
    color: var(--text-base);
    text-align: center;
}

.gfb-paysites-heading {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-soft);
}

.gfb-paysites-heading h1 {
    color: #4d4d4d;
    font-size: 23px;
    line-height: 1.25;
}

.gfb-paysites-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin-bottom: 22px;
}

.gfb-paysites-nav__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    min-height: 34px;
    padding: 6px 10px;
    border-radius: 3px;
    color: #557f9a;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.gfb-paysites-nav__link--all {
    min-width: 52px;
}

.gfb-paysites-nav__link:hover,
.gfb-paysites-nav__link:focus-visible,
.gfb-paysites-nav__link.is-active {
    background: #2d2d2d;
    color: #fff;
}

.gfb-paysites-group {
    margin: 0;
    padding: 0 0 18px;
    border-bottom: 1px solid var(--border-strong);
}

.gfb-paysites-group+.gfb-paysites-group {
    margin-top: 16px;
}

.gfb-paysites-group:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.gfb-paysites-letter {
    margin-bottom: 12px;
    color: #4d4d4d;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.gfb-paysites-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px 12px;
}

.gfb-paysites-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid rgba(45, 45, 45, .1);
    border-radius: 3px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.gfb-paysites-link__name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #557f9a;
    text-decoration: none;
}

.gfb-paysites-link__counts {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
}

.gfb-paysites-link__count {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #5d5662;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.gfb-paysites-link__count+.gfb-paysites-link__count::before {
    content: "|";
    margin-right: 4px;
    color: #a7a7a7;
    font-weight: 400;
}

.gfb-paysites-link__count svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #ff0076;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.gfb-paysites-link:hover,
.gfb-paysites-link:focus-visible {
    background: #fff8fb;
    border-color: rgba(255, 0, 118, .32);
}

.gfb-paysites-link__name:hover,
.gfb-paysites-link:focus-within .gfb-paysites-link__name {
    color: #557f9a;
    text-decoration: underline;
}

.gfb-paysites-link__count:hover,
.gfb-paysites-link:focus-within .gfb-paysites-link__count {
    color: #5d5662;
    text-decoration: underline;
}

.gfb-paysites-empty {
    padding: 18px 0;
    color: var(--text-base);
    text-align: center;
}

.gfb-paysites-pagination {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
}

.gfb-paysites-pagination a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--border-strong);
    border-radius: 3px;
    background: var(--bg-surface);
    color: #557f9a;
    font-size: 14px;
    font-weight: 700;
}

.gfb-paysites-pagination a:hover {
    border-color: #2d2d2d;
    background: #2d2d2d;
    color: #fff;
}

.gfb-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
}

@media only screen and (max-width: 900px) {
    .gfb-gallery-content {
        grid-template-columns: minmax(0, 1fr) 220px;
    }

    .gfb-gallery-images {
        columns: 3 170px;
    }

    .gfb-paysites-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media only screen and (max-width: 640px) {
    .gfb-gallery-shell {
        padding: 10px;
    }

    .gfb-gallery-heading {
        grid-template-columns: minmax(0, 1fr);
    }

    .gfb-gallery-breadcrumb {
        grid-column: auto;
    }

    .gfb-gallery-title {
        font-size: 21px;
    }

    .gfb-gallery-content {
        grid-template-columns: minmax(0, 1fr);
    }

    .gfb-gallery-ad--sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .gfb-gallery-ad__unit--mobile {
        display: block;
    }

    .gfb-gallery-images {
        columns: 2 130px;
    }

    .gfb-paysites-section {
        padding: 0;
    }

    .gfb-category-index__label {
        padding: 6px 8px;
        font-size: 14px;
    }

    .gfb-paysites-heading h1 {
        font-size: 20px;
    }

    .gfb-paysites-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .gfb-paysites-link {
        padding: 10px 12px;
    }

    .gfb-paysites-link__counts {
        gap: 12px;
    }

    .gfb-paysites-link__count {
        gap: 5px;
        font-size: 18px;
    }

    .gfb-paysites-link__count svg {
        width: 22px;
        height: 22px;
    }

    .gfb-entity-counts {
        gap: 16px;
        min-height: 46px;
        padding: 8px;
    }

    .gfb-entity-count {
        gap: 5px;
        font-size: 18px;
    }

    .gfb-entity-count svg {
        width: 22px;
        height: 22px;
    }
}

@media only screen and (max-width: 360px) {
    .gfb-gallery-images {
        columns: 1;
    }
}

@media only screen and (min-width: 601px) and (max-width: 960px) {
    .main-nav-inner {
        flex-wrap: wrap;
        gap: 8px;
    }

    .main-nav-list {
        flex: 1 0 100%;
        gap: 0;
    }

    .main-nav-list a {
        font-size: 14px;
        padding: 9px 12px;
    }

}

@media only screen and (max-width: 760px) {
    #header .header1 {
        flex-direction: column;
        justify-content: center;
        gap: 12px;
        padding: 16px 12px 14px;
    }

    #header .logo-text {
        width: 100%;
        justify-content: center;
    }

    #header .logo-text img {
        max-width: min(100%, 400px);
    }

    #search-box.header-search {
        width: 100%;
        max-width: 420px;
        min-width: 0;
        margin: 0 auto;
        flex: 0 1 auto;
    }
}

@media only screen and (max-width: 600px) {
    .main-nav-inner {
        min-width: 0;
        padding: 6px 8px;
        flex-wrap: wrap;
        gap: 6px 12px;
        min-height: 0;
    }

    .main-nav-list {
        display: flex;
        flex: 1 0 100%;
        gap: 0;
        order: 1;
    }

    .main-nav-list a {
        min-height: 40px;
        padding: 8px 5px;
        font-size: 13px;
    }

    #search-box.header-search .searchform {
        height: 44px;
        line-height: 44px;
    }

    #search-box.header-search .searchbut {
        width: 36px;
        height: 36px;
    }
}

@media only screen and (max-width: 360px) {
    .main-nav-list a {
        padding-right: 2px;
        padding-left: 2px;
        font-size: 11px;
    }
}
