/* Text Tools Grid - Frontend Styles */

.ttg-wrapper {
    max-width: 1100px;
    margin: 40px auto;
    padding: 30px 15px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.ttg-main-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 28px;
    letter-spacing: -0.4px;
}

/* ========== Full category grid (mode cũ) ========== */
.ttg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 900px) {
    .ttg-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .ttg-grid {
        grid-template-columns: 1fr;
    }
}

.ttg-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ttg-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.ttg-card-header {
    padding: 14px 20px;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.3px;
}

.ttg-tool-list {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.ttg-tool-list li {
    border-bottom: 1px solid #f0f0f0;
}

.ttg-tool-list li:last-child {
    border-bottom: none;
}

.ttg-tool-list a {
    display: block;
    padding: 11px 20px;
    color: #2c3e50;
    text-decoration: none;
    font-size: 0.95rem;
    transition: background-color 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
}

.ttg-tool-list a:hover {
    background-color: #f8f9fa;
    color: #1a73e8;
    padding-left: 26px;
}

/* ========== Random tools – 3 cột đẹp ========== */
.ttg-random-mode {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 16px;
    border: 1px solid #e8ecf1;
    padding: 32px 20px 28px;
}

.ttg-random-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 900px) {
    .ttg-random-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .ttg-random-grid {
        grid-template-columns: 1fr;
    }
}

.ttg-random-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #e5e9ef;
    border-radius: 12px;
    padding: 16px 18px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.ttg-random-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--ttg-accent, #2980b9);
    opacity: 0.85;
}

.ttg-random-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.ttg-random-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ttg-accent, #2980b9);
    margin-bottom: 2px;
}

.ttg-random-name {
    font-size: 0.98rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.35;
}

.ttg-random-card:hover .ttg-random-name {
    color: var(--ttg-accent, #1a73e8);
}

.ttg-random-cat {
    font-size: 0.78rem;
    color: #94a3b8;
    font-weight: 500;
}

/* ========== Search bar (feature) ========== */
.ttg-wrapper .ttg-search-bar {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 480px;
    width: 100%;
    margin: 0 auto 22px;
    box-sizing: border-box;
}
.ttg-wrapper .ttg-category-select {
    flex: 0 0 120px;
    width: 120px;
    max-width: 120px;
    height: 40px;
    box-sizing: border-box;
    padding: 0 26px 0 10px;
    margin: 0;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 13px;
    font-family: inherit;
    color: #0f172a;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}
.ttg-wrapper .ttg-search-wrap {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 420px;
    margin: 0 auto 22px;
}
.ttg-wrapper .ttg-search-bar .ttg-search-wrap {
    margin: 0;
    max-width: none;
}
.ttg-wrapper .ttg-search-input {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 36px 8px 12px;
    margin: 0;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    color: #0f172a;
    background: #fff;
    outline: none;
    height: 40px;
}
.ttg-wrapper .ttg-search-input:focus,
.ttg-wrapper .ttg-category-select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}
.ttg-wrapper .ttg-search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    pointer-events: none;
    opacity: .7;
}
.ttg-wrapper .ttg-search-empty {
    text-align: center;
    color: #94a3b8;
    font-size: 14px;
    margin: 12px 0 0;
}

/* ========== NEW tools section ========== */
.ttg-wrapper .ttg-new-section {
    margin-bottom: 28px;
    padding: 18px 16px 16px;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border: 1px solid #bbf7d0;
    border-radius: 14px;
}
.ttg-wrapper .ttg-new-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.ttg-wrapper .ttg-new-badge-title {
    display: inline-block;
    background: #22c55e;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    padding: 3px 9px;
    border-radius: 6px;
}
.ttg-wrapper .ttg-new-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}
.ttg-wrapper .ttg-new-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
@media (max-width: 900px) {
    .ttg-wrapper .ttg-new-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .ttg-wrapper .ttg-new-grid { grid-template-columns: 1fr; }
}
.ttg-wrapper .ttg-new-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: #fff;
    border: 1px solid #e5e9ef;
    border-radius: 12px;
    padding: 14px 16px;
    text-decoration: none;
    color: inherit;
    position: relative;
    transition: all .2s ease;
    overflow: hidden;
}
.ttg-wrapper .ttg-new-card::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--ttg-accent, #22c55e);
}
.ttg-wrapper .ttg-new-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0,0,0,.1);
}
.ttg-wrapper .ttg-new-label {
    display: inline-block;
    align-self: flex-start;
    background: #22c55e;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 4px;
}
.ttg-wrapper .ttg-new-name {
    font-size: .95rem;
    font-weight: 600;
    color: #1e293b;
}
.ttg-wrapper .ttg-new-cat {
    font-size: .75rem;
    color: #94a3b8;
}
.ttg-wrapper .ttg-inline-new {
    display: inline-block;
    background: #22c55e;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 3px;
    margin-left: 6px;
    vertical-align: middle;
}

/* Clickable category header */
.ttg-wrapper button.ttg-card-header.ttg-cat-trigger {
    display: block;
    width: 100%;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: filter .15s;
}
.ttg-wrapper button.ttg-card-header.ttg-cat-trigger:hover {
    filter: brightness(1.08);
}

/* View more */
.ttg-wrapper .ttg-view-more {
    display: block;
    width: calc(100% - 24px);
    margin: 4px 12px 14px;
    padding: 8px 12px;
    border: 1.5px dashed #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-align: center;
}
.ttg-wrapper .ttg-view-more:hover {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #1d4ed8;
}

/* ========== AI Tools Grid (AIXPLORIA-style) ========== */
.ttg-ai-wrapper {
    max-width: 1200px;
}

.ttg-ai-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1100px) {
    .ttg-ai-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .ttg-ai-grid {
        grid-template-columns: 1fr;
    }
}

.ttg-ai-grid-single {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
}

.ttg-ai-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e8ecf1;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ttg-ai-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
}

.ttg-ai-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 16px 18px 12px;
    border: none;
    border-bottom: 1px solid #f1f5f9;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: background 0.15s ease;
}
button.ttg-ai-card-header:hover {
    background: #f8fafc;
}

.ttg-ai-card-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--ttg-ai-accent, #6366f1);
    flex-shrink: 0;
}

.ttg-ai-card-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.2px;
}

.ttg-ai-tool-list {
    list-style: none;
    margin: 0;
    padding: 8px 0 12px;
}

.ttg-ai-tool-list li {
    border-bottom: 1px solid #f8fafc;
}

.ttg-ai-tool-list li:last-child {
    border-bottom: none;
}

.ttg-ai-tool-row-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 10px 0 18px;
    transition: background 0.15s ease;
}
.ttg-ai-tool-row-link:hover {
    background: #f8fafc;
}

.ttg-ai-tool-main {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
    padding: 9px 8px 9px 0;
    text-decoration: none;
    color: #1e293b;
    font-size: 0.92rem;
    transition: color 0.15s ease;
}
.ttg-ai-tool-main:hover {
    color: var(--ttg-ai-accent, #6366f1);
}

.ttg-ai-favicon {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    object-fit: contain;
    flex-shrink: 0;
    background: #f1f5f9;
}

.ttg-ai-tool-name {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}

.ttg-ai-ext-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    font-size: 13px;
    color: #94a3b8;
    text-decoration: none;
    border-radius: 6px;
    opacity: 0.55;
    transition: opacity 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.ttg-ai-tool-row-link:hover .ttg-ai-ext-icon {
    opacity: 1;
}
.ttg-ai-ext-icon:hover {
    color: var(--ttg-ai-accent, #6366f1);
    background: #eef2ff;
    opacity: 1;
}

/* Random AI cards */
.ttg-ai-random-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

@media (max-width: 900px) {
    .ttg-ai-random-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .ttg-ai-random-grid {
        grid-template-columns: 1fr;
    }
}

.ttg-ai-random-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    background: #fff;
    border: 1px solid #e5e9ef;
    border-radius: 12px;
    padding: 16px 18px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.ttg-ai-random-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--ttg-ai-accent, #6366f1);
}

.ttg-ai-random-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.ttg-ai-random-card .ttg-ai-favicon {
    width: 22px;
    height: 22px;
}

.ttg-ai-random-card .ttg-ai-tool-name {
    font-size: 0.98rem;
    font-weight: 600;
    color: #1e293b;
    white-space: normal;
}

.ttg-ai-random-card:hover .ttg-ai-tool-name {
    color: var(--ttg-ai-accent, #6366f1);
}

.ttg-ai-random-cat {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
}

.ttg-ai-wrapper .ttg-view-more {
    margin: 4px 14px 16px;
    border-style: solid;
    border-color: #e2e8f0;
    background: #f8fafc;
    color: #475569;
    font-size: 12.5px;
}

.ttg-ai-wrapper .ttg-view-more:hover {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #4338ca;
}

/* ========== AI Tool Detail (AIXPLORIA Genie style) ========== */
.ttg-tool-detail {
    max-width: 980px;
    margin: 24px auto 40px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #0f172a;
}

.ttg-breadcrumb {
    font-size: 13.5px;
    color: #64748b;
    margin-bottom: 18px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}
.ttg-bc-sep { color: #94a3b8; margin: 0 2px; }
.ttg-bc-current { color: #334155; font-weight: 600; }

.ttg-tool-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #e8ecf1;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.07);
    overflow: hidden;
    padding: 28px 28px 24px;
}

.ttg-tool-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.ttg-tool-identity {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.ttg-tool-logo {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    object-fit: contain;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.ttg-tool-title {
    margin: 0 0 6px;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.4px;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ttg-verified-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #3b82f6;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.ttg-tool-meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #64748b;
}

.ttg-rank-badge {
    display: inline-block;
    background: #fef08a;
    color: #854d0e;
    font-weight: 800;
    font-size: 13px;
    padding: 3px 9px;
    border-radius: 6px;
}

.ttg-rank-in strong {
    color: #3b82f6;
    font-weight: 600;
}
.ttg-rank-in a.ttg-cat-link {
    text-decoration: none;
    color: inherit;
}
.ttg-rank-in a.ttg-cat-link strong {
    color: #3b82f6;
    border-bottom: 1px solid transparent;
    transition: border-color 0.15s ease, color 0.15s ease;
}
.ttg-rank-in a.ttg-cat-link:hover strong {
    color: #1d4ed8;
    border-bottom-color: #93c5fd;
}

.ttg-stars {
    letter-spacing: 1px;
    font-size: 15px;
}
.ttg-star-full { color: #f59e0b; }
.ttg-star-half { color: #f59e0b; opacity: 0.65; }
.ttg-star-empty { color: #cbd5e1; }

.ttg-tool-actions {
    flex-shrink: 0;
}

.ttg-visit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1e293b;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 13.5px;
    letter-spacing: 0.3px;
    padding: 12px 22px;
    border-radius: 10px;
    transition: background 0.15s ease, transform 0.15s ease;
}
.ttg-visit-btn:hover {
    background: #0f172a;
    transform: translateY(-1px);
}
.ttg-visit-icon { font-size: 14px; }

.ttg-tool-body {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 28px;
    align-items: start;
}

@media (max-width: 780px) {
    .ttg-tool-body {
        grid-template-columns: 1fr;
    }
}

.ttg-tool-image {
    width: 100%;
    border-radius: 14px;
    display: block;
    object-fit: cover;
    max-height: 320px;
    background: #f1f5f9;
}

.ttg-tool-image-placeholder {
    width: 100%;
    height: 220px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 14px;
}

.ttg-tool-quote {
    margin: 0 0 18px;
    padding: 0;
    border: none;
    font-size: 1.05rem;
    line-height: 1.65;
    color: #334155;
    font-style: italic;
    font-weight: 450;
}

.ttg-learn-more {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    font-size: 13.5px;
    color: #64748b;
}
.ttg-learn-label { margin-right: 4px; }

.ttg-learn-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 5px 10px;
    text-decoration: none;
    color: #1e293b;
    font-weight: 600;
    font-size: 13px;
    transition: border-color 0.15s, background 0.15s;
}
.ttg-learn-chip:hover {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #1d4ed8;
}
.ttg-learn-chip img {
    width: 16px;
    height: 16px;
    border-radius: 3px;
}

.ttg-tool-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.ttg-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12.5px;
    font-weight: 600;
    padding: 5px 11px;
    border-radius: 20px;
    background: #f1f5f9;
    color: #475569;
}
.ttg-badge-verified {
    background: #ecfdf5;
    color: #047857;
}
.ttg-badge-pricing {
    background: #f0fdf4;
    color: #15803d;
}
.ttg-badge-visits {
    background: #eff6ff;
    color: #1d4ed8;
}
.ttg-badge-upvotes {
    background: #fef3c7;
    color: #b45309;
}

.ttg-similar {
    margin-top: 8px;
}
.ttg-similar-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    color: #94a3b8;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.ttg-similar-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.ttg-similar-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    color: #334155;
    font-size: 13.5px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.15s;
}
.ttg-similar-item:hover {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #1d4ed8;
}
.ttg-similar-item img {
    width: 18px;
    height: 18px;
    border-radius: 4px;
}

.ttg-tool-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #f1f5f9;
}
.ttg-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #6366f1;
    background: #eef2ff;
    padding: 6px 14px;
    border-radius: 20px;
}

/* ========== Related posts same AI category ========== */
.ttg-related-wrap {
    max-width: 980px;
    margin: 28px auto 0;
    padding: 0 4px;
}
.ttg-related-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 16px;
    letter-spacing: -0.2px;
}
.ttg-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
@media (max-width: 780px) {
    .ttg-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .ttg-related-grid {
        grid-template-columns: 1fr;
    }
}
.ttg-related-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    background: #fff;
    border: 1px solid #e5e9ef;
    border-radius: 12px;
    padding: 16px 18px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}
.ttg-related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}
.ttg-related-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.35;
}
.ttg-related-card:hover .ttg-related-name {
    color: #3b82f6;
}
.ttg-related-cat {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
}
