/**
 * TCG page styles (hub, search, card detail, events, how to play, deckbuilder)
 * All selectors scoped under .tcg-page. Uses var(--tcg-color) and shared layout from tcg-common.css.
 */

/* Theme mode: content inside theme layout (menu, sidebar, etc.) – no full-page takeover */
body.tcg-theme-layout .tcg-page.tcg-theme-content {
    min-height: auto;
    padding: 0;
    background: none;
    position: static;
}

body.tcg-theme-layout .tcg-page.tcg-theme-content::before {
    display: none;
}

/* Hub intro text */
.tcg-page .hub-intro {
    font-size: 1.15rem;
    color: #444;
    margin-bottom: 8px;
    line-height: 1.5;
}

.tcg-page .hub-intro-sub {
    font-size: 1rem;
    color: #666;
    margin-top: 0;
    margin-bottom: 0;
}

.tcg-page .header .hub-intro {
    margin-top: 10px;
}

/* Hub logo next to header text */
.tcg-page .header-with-logo {
    display: flex;
    align-items: center;
    gap: 28px;
    text-align: left;
}

.tcg-page .header-with-logo .header-text {
    flex: 1;
}

.tcg-page .hub-logo {
    max-height: 80px;
    width: auto;
    flex-shrink: 0;
    object-fit: contain;
}

.tcg-page .hub-intro-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
    text-align: left;
}

.tcg-page .hub-intro-block .hub-logo {
    max-height: 180px;
    width: auto;
    flex-shrink: 0;
    object-fit: contain;
}

.tcg-page .hub-intro-block .hub-intro-text {
    flex: 1 1 200px;
    min-width: 0;
}

.tcg-page .hub-intro-block .hub-intro,
.tcg-page .hub-intro-block .hub-intro-sub {
    margin-bottom: 6px;
}

.tcg-page .hub-intro-block .hub-intro-sub:last-child {
    margin-bottom: 0;
}

/* Hub section: tiles grouped with subtle divider and light background */
.tcg-page .hub-section {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.4);
    padding: 30px 24px 40px;
    border-radius: 12px;
    margin-top: 20px;
}

/* Hub page – flexbox for responsive layout */
.hub-grid,
.tcg-page .hub-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 0;
}

.tcg-page .hub-card {
    flex: 1 1 300px;
    min-width: 0;
}

/* 4th tile and onwards: full width + horizontal layout (icon left, content center, button right) */
.tcg-page .hub-card:nth-child(n+4) {
    flex: 1 1 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 28px;
    text-align: left;
    padding: 28px 36px;
}

.tcg-page .hub-card:nth-child(n+4) .hub-icon,
.tcg-page .hub-card:nth-child(n+4) .hub-icon-image {
    flex-shrink: 0;
    margin: 0;
    align-self: center;
}

.tcg-page .hub-card:nth-child(n+4) .hub-icon {
    font-size: 3rem;
}

.tcg-page .hub-card:nth-child(n+4) .hub-icon-image {
    width: 56px;
    height: 56px;
}

.tcg-page .hub-card:nth-child(n+4) .hub-title {
    flex: 1 1 180px;
    margin: 0 0 6px 0;
    font-size: 1.5rem;
    min-width: 0;
}

.tcg-page .hub-card:nth-child(n+4) .hub-description {
    flex: 1 1 180px;
    margin: 0;
    font-size: 0.95rem;
    min-width: 0;
}

.tcg-page .hub-card:nth-child(n+4) .hub-link {
    flex-shrink: 0;
    align-self: center;
}

.tcg-page .hub-card {
    background: rgba(255, 255, 255, 0.94);
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    padding: 40px 10px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.tcg-page .hub-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--tcg-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tcg-page .hub-card:hover {
    transform: translateY(-10px);
    border-color: var(--tcg-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: #fff;
}

.tcg-page .hub-card:hover::before {
    transform: scaleX(1);
}

.tcg-page .hub-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
    transition: transform 0.3s ease;
}

.tcg-page .hub-icon-image {
    display: block;
    margin: 0 auto;
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.tcg-page .hub-card:hover .hub-icon,
.tcg-page .hub-card:hover .hub-icon-image {
    transform: scale(1.2) rotate(5deg);
}

.tcg-page .hub-title {
    font-size: 1.8rem;
    font-weight: normal;
    margin-bottom: 15px;
    color: var(--tcg-color);
    transition: color 0.3s ease;
}

.tcg-page .hub-card:hover .hub-title {
    color: #fff;
    text-shadow: 0 0 15px var(--tcg-color);
}

.tcg-page .hub-description {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.tcg-page .hub-link {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    background: var(--tcg-color);
    color: #121212;
    font-weight: normal;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.tcg-page .hub-link:hover {
    background: #fff;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Smaller screens: 2 columns, all tiles same size, reset wide layout */
@media (max-width: 1024px) {
    .tcg-page .hub-grid {
        gap: 20px;
    }
    .tcg-page .hub-card {
        flex: 1 1 calc(50% - 10px);
        min-width: 0;
    }
    .tcg-page .hub-card:nth-child(n+4) {
        flex: 1 1 calc(50% - 10px);
        display: block;
        padding: 40px 10px;
        text-align: center;
    }
    .tcg-page .hub-card:nth-child(n+4) .hub-icon,
    .tcg-page .hub-card:nth-child(n+4) .hub-icon-image {
        margin-bottom: 20px;
    }
    .tcg-page .hub-card:nth-child(n+4) .hub-icon {
        font-size: 4rem;
    }
    .tcg-page .hub-card:nth-child(n+4) .hub-icon-image {
        width: 64px;
        height: 64px;
    }
    .tcg-page .hub-card:nth-child(n+4) .hub-title {
        margin-bottom: 15px;
        font-size: 1.8rem;
    }
    .tcg-page .hub-card:nth-child(n+4) .hub-description {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .tcg-page .header-with-logo {
        flex-direction: column;
        text-align: center;
    }
    .tcg-page .header-with-logo .hub-logo {
        max-height: 60px;
    }
    .tcg-page .hub-intro-block {
        flex-direction: column;
        text-align: center;
        gap: 0px;
    }
    .tcg-page .hub-intro-block .hub-logo {
        max-height: 160px;
    }
    .tcg-page .header h1 {
        font-size: 2rem;
    }
    .tcg-page .hub-section {
        padding: 20px 16px 30px;
    }
    .tcg-page .hub-grid {
        gap: 16px;
    }
    .tcg-page .hub-card {
        flex: 1 1 calc(50% - 8px);
        min-width: 0;
    }
    .tcg-page .hub-card .hub-description,
    .tcg-page .hub-card .hub-link {
        display: none;
    }
    .tcg-page .hub-card .hub-title {
        font-size: 1rem;
        margin: 12px 0 0 0;
    }
    .tcg-page .hub-card .hub-icon {
        font-size: 2.5rem;
        margin-bottom: 0;
    }
    .tcg-page .hub-card .hub-icon-image {
        width: 40px;
        height: 40px;
        margin-bottom: 0;
    }
    .tcg-page .hub-card {
        padding: 20px 12px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .tcg-page .hub-card:nth-child(n+4) {
        flex: 1 1 calc(50% - 8px);
        display: flex;
        flex-direction: column;
        padding: 20px 12px;
        text-align: center;
        align-items: center;
        justify-content: center;
    }
    .tcg-page .hub-card:nth-child(n+4) .hub-icon,
    .tcg-page .hub-card:nth-child(n+4) .hub-icon-image {
        margin: 0;
    }
    .tcg-page .hub-card:nth-child(n+4) .hub-icon {
        font-size: 2.5rem;
    }
    .tcg-page .hub-card:nth-child(n+4) .hub-icon-image {
        width: 40px;
        height: 40px;
    }
    .tcg-page .hub-card:nth-child(n+4) .hub-description,
    .tcg-page .hub-card:nth-child(n+4) .hub-link {
        display: none;
    }
    .tcg-page .hub-card:nth-child(n+4) .hub-title {
        display: block;
        font-size: 1rem;
        margin: 12px 0 0 0;
    }
    .tcg-page .hub-card {
        padding: 30px 20px;
    }
    .tcg-page .content {
        padding: 24px 16px;
    }
    .tcg-page .nav-bar {
        flex-wrap: wrap;
        gap: 8px;
        display: none;
    }
    .tcg-page .search-container .nav-bar {
        display: flex !important;
    }
    .tcg-page .nav-bar .nav-links {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .tcg-page .content {
        padding: 16px 12px;
    }
    .tcg-page .content h2 {
        font-size: 1.5rem;
    }
    .tcg-page .hub-card,
    .tcg-page .hub-card:nth-child(n+4) {
        flex: 1 1 100%;
    }
    .tcg-page .hub-section {
        padding: 16px 12px 24px;
    }
    .tcg-page .hub-grid {
        gap: 12px;
    }
}

@media (max-width: 360px) {
    .tcg-page .hub-card,
    .tcg-page .hub-card:nth-child(n+4) {
        flex: 1 1 100%;
    }
}

/* Events page */
.tcg-page .container.tcg-events-container { max-width: 1000px; }
.tcg-page .content {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    padding: 60px 40px;
    backdrop-filter: blur(10px);
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.tcg-page .content h2 {
    color: var(--tcg-color);
    font-size: 2rem;
    margin-bottom: 20px;
}
.tcg-page .content p {
    font-size: 1rem;
    margin-bottom: 10px;
}
.tcg-page .coming-soon {
    font-size: 4rem;
    margin-bottom: 20px;
}

/* How to play page */
/* Pokémon disclaimer footer – all TCG pages */
.tcg-page .tcg-disclaimer {
    margin-top: 32px;
    padding: 16px 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
    text-align: center;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    border-top: 1px solid #e0e0e0;
}
.tcg-page .container.tcg-howto-container { max-width: 1000px; }
.tcg-page .container.tcg-howto-container.guide-full-width { max-width: none; padding-left: 16px; padding-right: 16px; }
.tcg-page .how-to-play-selector {
    margin-bottom: 24px;
}
.tcg-page .guide-select-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}
.tcg-page .guide-select-form label {
    font-weight: 600;
    color: #333;
}
.tcg-page .guide-select-form select {
    padding: 10px 16px;
    font-size: 1rem;
    min-width: 280px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
}
.tcg-page .how-to-play-guide-content {
    overflow-x: auto;
}
.tcg-page .how-to-play-guide-iframe {
    width: 100%;
    min-height: 80vh;
    height: 1200px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}
.tcg-page .container.tcg-howto-container .content { padding: 40px 0px; }
.tcg-page .article_body_content p { margin-bottom: 20px !important; line-height: 1.8; }
.tcg-page .article_body_content h2 { margin-top: 40px !important; margin-bottom: 25px !important; color: var(--tcg-color); }
.tcg-page .article_body_content h3 { margin-top: 35px !important; margin-bottom: 20px !important; }
.tcg-page .article_body_content img { max-width: 100% !important; height: auto !important; display: block; margin: 20px auto; }
.tcg-page .article_body_content ul { margin: 20px 0; padding-left: 40px; }
.tcg-page .article_body_content li { margin-bottom: 10px; }
.tcg-page .article_body_content .dib-post-content { max-width: 100%; }
.tcg-page .article_body_content .dib-post-content h2 { color: var(--tcg-color); margin-top: 40px; margin-bottom: 20px; }
.tcg-page .article_body_content .dib-post-content h3 { color: var(--tcg-color); margin-top: 30px; margin-bottom: 15px; }
.tcg-page .article_body_content .dib-post-content img { max-width: 100%; height: auto; display: block; margin: 20px auto; border-radius: 8px; }
.tcg-page .article_body_content .dib-post-content a { color: var(--tcg-color); text-decoration: underline; }
.tcg-page .article_body_content .dib-post-content a:hover { text-decoration: none; }
@media (max-width: 768px) {
    .tcg-page .article_body_content img { max-width: 100%; }
    .tcg-page .article_body_content .dib-post-content img { max-width: 100%; }
}

/* How to play page – mobile only */
@media (max-width: 768px) {
    .tcg-page .tcg-howto-container .hub-intro {
        font-size: 1.25rem;
    }
    .tcg-page .tcg-howto-container .hub-intro-sub {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    .tcg-page .tcg-howto-container .nav-bar {
        padding: 8px 12px;
        margin-bottom: 16px;
    }
    .tcg-page .tcg-howto-container .nav-bar a {
        padding: 5px 10px;
        font-size: 0.8rem;
    }
    .tcg-page .tcg-howto-container .content {
        padding: 28px 0px;
        border: none;
        box-shadow: none;
    }
    .tcg-page .tcg-howto-container .article_body_content,
    .tcg-page .tcg-howto-container .article_body_content .dib-post-content,
    .tcg-page .tcg-howto-container .article_body_content p,
    .tcg-page .tcg-howto-container .article_body_content .dib-post-content p {
        font-size: 1.125rem !important;
        line-height: 1.75 !important;
    }
    .tcg-page .tcg-howto-container .article_body_content p,
    .tcg-page .tcg-howto-container .article_body_content .dib-post-content p {
        margin-bottom: 20px !important;
    }
    .tcg-page .tcg-howto-container .article_body_content h2,
    .tcg-page .tcg-howto-container .article_body_content .dib-post-content h2 {
        margin-top: 32px !important;
        margin-bottom: 18px !important;
        font-size: 1.6rem !important;
        line-height: 1.3;
    }
    .tcg-page .tcg-howto-container .article_body_content h3,
    .tcg-page .tcg-howto-container .article_body_content .dib-post-content h3 {
        margin-top: 28px !important;
        margin-bottom: 14px !important;
        font-size: 1.3rem !important;
        line-height: 1.35;
    }
    .tcg-page .tcg-howto-container .article_body_content img,
    .tcg-page .tcg-howto-container .article_body_content .dib-post-content img {
        margin: 20px auto;
    }
    .tcg-page .tcg-howto-container .article_body_content ul {
        margin: 20px 0;
        padding-left: 28px;
    }
    .tcg-page .tcg-howto-container .article_body_content li {
        margin-bottom: 12px;
        font-size: 1.125rem !important;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .tcg-page .tcg-howto-container .hub-intro {
        font-size: 1.15rem;
    }
    .tcg-page .tcg-howto-container .hub-intro-sub {
        font-size: 1.05rem;
    }
    .tcg-page .tcg-howto-container .content {
        padding: 24px 0px;
    }
    .tcg-page .tcg-howto-container .article_body_content p,
    .tcg-page .tcg-howto-container .article_body_content .dib-post-content p {
        margin-bottom: 18px !important;
        font-size: 1.0625rem !important;
        line-height: 1.7 !important;
    }
    .tcg-page .tcg-howto-container .article_body_content h2,
    .tcg-page .tcg-howto-container .article_body_content .dib-post-content h2 {
        margin-top: 28px !important;
        margin-bottom: 14px !important;
        font-size: 1.45rem !important;
    }
    .tcg-page .tcg-howto-container .article_body_content h3,
    .tcg-page .tcg-howto-container .article_body_content .dib-post-content h3 {
        margin-top: 24px !important;
        margin-bottom: 12px !important;
        font-size: 1.2rem !important;
    }
    .tcg-page .tcg-howto-container .article_body_content li {
        font-size: 1.0625rem !important;
    }
}

/* Cardchecker / search per-page selector */
.tcg-per-page-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}
.tcg-per-page-row label {
    color: #000;
}
.tcg-per-page-row select {
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #dee2e6;
    background: #fff;
    color: #000;
}

/* Cardchecker / search pagination */
.tcg-pagination {
    text-align: center;
    margin: 30px 0;
    color: #000;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.tcg-pagination .tcg-pagination-info {
    flex: 0 0 auto;
    font-size: 0.9rem;
}
.tcg-pagination .tcg-pagination-nav {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 2px;
    align-items: center;
    justify-content: center;
}
.tcg-pagination a,
.tcg-pagination .tcg-pagination-current,
.tcg-pagination .tcg-pagination-disabled {
    padding: 6px 10px;
    font-size: 0.875rem;
    min-width: 32px;
    text-align: center;
}
.tcg-pagination a {
    background: #e9ecef;
    border-radius: 4px;
    text-decoration: none;
    color: #000;
}
.tcg-pagination a:hover {
    background: #dee2e6;
}
.tcg-pagination .tcg-pagination-current {
    font-weight: bold;
    color: #000;
    background: #ced4da;
    border-radius: 4px;
}
.tcg-pagination .tcg-pagination-disabled {
    opacity: 0.5;
    color: #000;
}

/* Search page – nav and form (flexbox for responsive stacking) */
.tcg-page .search-container {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.tcg-page .search-container .nav-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    margin-bottom: 20px;
}
.tcg-page .search-container .nav-bar a {
    padding: 6px 12px;
    font-size: 0.875rem;
}
.tcg-page .search-container .search-row {
    gap: 24px;
}
.tcg-page .search-container input[type="text"],
.tcg-page .search-container select {
    font-size: 14px;
}

/* Search / Cardchecker page – responsive */
@media (max-width: 768px) {
    .tcg-page .search-container {
        padding: 20px 16px;
    }
    .tcg-page .search-container .nav-bar,
    .tcg-page .tcg-card-detail .nav-bar,
    .tcg-page .tcg-howto-container .nav-bar {
        display: flex !important;
        flex-wrap: wrap;
        margin-bottom: 12px;
    }
    .tcg-page .search-row {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
    .tcg-page .search-container input[type="text"] {
        width: 100%;
        max-width: none;
        box-sizing: border-box;
        font-size:14px;
    }
    .tcg-page .search-container select {
        width: 100%;
        min-width: 0;
        max-width: none;
        font-size:14px;
        padding: 10px 10px;
    }
    .tcg-page .search-container button {
        width: 100%;
    }
    .tcg-page .results {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
    }
    .tcg-page .results .card {
        flex: 1 1 140px;
        min-width: 0;
    }
    .tcg-page .sets-mainset-header {
        flex-direction: row;
        align-items: flex-start;
        gap: 12px;
    }
    .tcg-page .sets-mainset-logo {
        width: 100px;
        height: 60px;
    }
    .tcg-page .sets-mainset-title {
        font-size: 14px;
    }
    .tcg-page .sets-mainset-details .sets-grid {
        padding: 0px;
    }
    .tcg-page .sets-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin: 24px 0;
    }
    .tcg-page .sets-grid .set-item {
        flex: 1 1 140px;
        min-width: 0;
    }
    .tcg-page .set-item {
        padding: 8px;
    }
    .tcg-page .set-item .set-logo {
        width: 105px;
        height: 80px;
        margin-left: auto;
        margin-right: auto;
        font-size: 36px;
    }
    .tcg-page .set-info-banner .set-logo-large {
        max-width: 280px;
    }
    .tcg-page .info .name { font-size: 13px; }
    .tcg-page .info .type,
    .tcg-page .info .hp,
    .tcg-page .info .evolution,
    .tcg-page .info .cardnumber,
    .tcg-page .info .set { font-size: 11px; }
    .tcg-page .set-item .set-name { font-size: 14px; }
    .tcg-page .set-item .set-serie { font-size: 11px; }
    .tcg-page .set-item .set-date { font-size: 10px; }
    .tcg-page .tcg-pagination {
        gap: 8px;
        margin: 20px 0;
    }
    .tcg-page .tcg-pagination .tcg-pagination-info {
        font-size: 0.8rem;
    }
    .tcg-page .tcg-pagination a,
    .tcg-page .tcg-pagination .tcg-pagination-current,
    .tcg-page .tcg-pagination .tcg-pagination-disabled {
        padding: 5px 8px;
        font-size: 0.8rem;
        min-width: 28px;
    }
}

@media (max-width: 480px) {
    .tcg-page .container {
        padding: 24px 12px;
    }
    .tcg-page .hub-intro-block {
        gap: 16px;
    }
    .tcg-page .hub-intro-block .hub-logo {
        max-height: 120px;
    }
    .tcg-page .hub-intro-block .hub-intro {
        font-size: 1rem;
    }
    .tcg-page .hub-intro-block .hub-intro-sub {
        font-size: 0.9rem;
    }
    .tcg-page .search-container {
        padding: 16px 12px;
    }
    .tcg-page .results {
        gap: 12px;
    }
    .tcg-page .results .card {
        flex: 1 1 calc(50% - 6px);
        min-width: 0;
    }
    .tcg-page .sets-grid {
        gap: 10px;
    }
    .tcg-page .sets-grid .set-item {
        flex: 1 1 calc(50% - 5px);
        min-width: 0;
    }
    .tcg-page .info .name {
        font-size: 12px;
    }
    .tcg-page .info .type,
    .tcg-page .info .hp,
    .tcg-page .info .evolution,
    .tcg-page .info .cardnumber,
    .tcg-page .info .set {
        font-size: 11px;
    }
    .tcg-page .set-item .set-name { font-size: 13px; }
    .tcg-page .set-item .set-serie { font-size: 10px; }
    .tcg-page .set-item .set-date { font-size: 9px; }
    .tcg-page .set-item .set-logo {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
    .tcg-page .sets-mainset-logo {
        width: 90px;
        height: 52px;
    }
    .tcg-page .set-info-banner .set-logo-large {
        max-width: 200px;
    }
    .tcg-page .tcg-per-page-row { font-size: 0.85rem; }
}

@media (max-width: 360px) {
    .tcg-page .container {
        padding: 16px 10px;
    }
    .tcg-page .hub-intro-block .hub-logo {
        max-height: 100px;
    }
    .tcg-page .hub-intro-block .hub-intro {
        font-size: 0.95rem;
    }
    .tcg-page .hub-intro-block .hub-intro-sub {
        font-size: 0.85rem;
    }
    .tcg-page .sets-grid .set-item,
    .tcg-page .results .card {
        flex: 1 1 100%;
    }
    .tcg-page .info .name { font-size: 11px; }
    .tcg-page .info .type,
    .tcg-page .info .hp,
    .tcg-page .info .evolution,
    .tcg-page .info .cardnumber,
    .tcg-page .info .set { font-size: 10px; }
    .tcg-page .set-item .set-name { font-size: 12px; }
    .tcg-page .set-item .set-serie,
    .tcg-page .set-item .set-date { font-size: 9px; }
    .tcg-page .set-item .set-logo {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    .tcg-page .sets-mainset-logo {
        width: 75px;
        height: 44px;
    }
    .tcg-page .set-info-banner .set-logo-large {
        max-width: 160px;
    }
    .tcg-page .tcg-per-page-row { font-size: 0.8rem; }
    .tcg-page .tcg-pagination .tcg-pagination-info { font-size: 0.7rem; }
}
