/**
 * FootBet Theme - Theme CSS
 * All classes prefixed with tg- to avoid conflicts with plugin (pa-/pluginapuestas-)
 * Colors and fonts use CSS custom properties set via WordPress Customizer
 *
 * @package FootBet_Theme
 */

/* ══════════════════════════════════════
   DEFAULTS (overridden by inline :root from Customizer)
   ══════════════════════════════════════ */
:root {
    --tg-shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --tg-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --tg-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --tg-radius-sm: 6px;
    --tg-radius-md: 10px;
    --tg-radius-lg: 16px;
}

/* ══════════════════════════════════════
   RESET & BASE
   ══════════════════════════════════════ */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--tg-font-body);
    background: var(--tg-bg-light);
    color: var(--tg-text-primary);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* ══════════════════════════════════════
   CONTAINER
   ══════════════════════════════════════ */
.tg-container {
    max-width: 1300px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* ══════════════════════════════════════
   HEADER
   ══════════════════════════════════════ */
.tg-header {
    background: var(--tg-bg-white);
    border-bottom: 1px solid var(--tg-border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Top Bar */
.tg-top-bar {
    background: var(--tg-secondary);
    padding: 10px 0;
    font-size: 13px;
    color: var(--tg-text-muted);
}

.tg-top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tg-top-bar a {
    color: var(--tg-accent-yellow);
    font-weight: 600;
}

.tg-top-bar a:hover {
    text-decoration: underline;
}

/* Main Nav */
.tg-main-nav {
    border-bottom: 1px solid var(--tg-border-color);
}

.tg-main-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

/* Logo */
.tg-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.tg-logo-link {
    display: flex;
    align-items: center;
}

.tg-logo .custom-logo {
    max-height: 40px;
    width: auto;
    display: block;
}

.tg-logo-icon {
    width: 40px;
    height: 40px;
    background: var(--tg-primary);
    border-radius: var(--tg-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.tg-logo-text {
    font-family: var(--tg-font-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--tg-primary);
}

/* Mobile Toggle */
.tg-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.tg-mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--tg-text-primary);
    transition: transform 0.3s;
}

/* Nav Links */
.tg-nav-links {
    display: flex;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.tg-nav-links li {
    margin: 0;
}

.tg-nav-links a {
    color: var(--tg-text-secondary);
    padding: 10px 18px;
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--tg-radius-sm);
    transition: all 0.2s;
    display: block;
}

.tg-nav-links a:hover {
    background: var(--tg-bg-light);
    color: var(--tg-primary);
}

.tg-nav-links .current-menu-item a,
.tg-nav-links .current_page_item a {
    background: var(--tg-primary);
    color: white;
}

/* Sub Nav */
.tg-sub-nav {
    background: var(--tg-bg-gray);
    border-bottom: 1px solid var(--tg-border-color);
    padding: 12px 0;
}

.tg-sub-nav-content {
    overflow-x: auto;
}

.tg-sub-nav-links {
    display: flex;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.tg-sub-nav-links li {
    margin: 0;
}

.tg-sub-nav-links a {
    white-space: nowrap;
    padding: 8px 16px;
    background: var(--tg-bg-white);
    border: 1px solid var(--tg-border-color);
    border-radius: 50px;
    color: var(--tg-text-secondary);
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
    display: block;
}

.tg-sub-nav-links a:hover {
    border-color: var(--tg-primary);
    color: var(--tg-primary);
}

/* ══════════════════════════════════════
   OFFERS CAROUSEL
   ══════════════════════════════════════ */
.tg-offers-carousel {
    background: var(--tg-secondary);
    padding: 20px 0;
    overflow: hidden;
}

.tg-carousel-container {
    position: relative;
}

.tg-carousel-track {
    display: flex;
    gap: 20px;
    animation: tg-scroll 30s linear infinite;
}

.tg-carousel-track:hover {
    animation-play-state: paused;
}

@keyframes tg-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.tg-offer-card {
    flex-shrink: 0;
    width: 380px;
    height: 160px;
    border-radius: var(--tg-radius-lg);
    overflow: hidden;
    position: relative;
    display: flex;
    cursor: pointer;
    transition: transform 0.3s;
    color: white;
    text-decoration: none;
}

.tg-offer-card:hover {
    transform: scale(1.02);
}

.tg-offer-watermark {
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--tg-font-heading);
    font-size: 80px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    opacity: 0.08;
    pointer-events: none;
    text-transform: uppercase;
    color: white;
}

.tg-offer-content {
    flex: 1;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.tg-offer-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.85;
    margin-bottom: 6px;
}

.tg-offer-title {
    font-family: var(--tg-font-heading);
    font-size: 30px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 4px;
}

.tg-offer-subtitle {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    opacity: 0.9;
}

.tg-offer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 20px;
    position: relative;
    z-index: 1;
    gap: 8px;
}

.tg-offer-cta {
    background: white;
    color: var(--tg-text-primary);
    padding: 8px 18px;
    border-radius: var(--tg-radius-sm);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.tg-offer-terms {
    font-size: 9px;
    opacity: 0.6;
    white-space: nowrap;
}

/* ══════════════════════════════════════
   MAIN CONTENT GRID
   ══════════════════════════════════════ */
.tg-main-content {
    padding: 30px 0;
}

.tg-content-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
}

/* ══════════════════════════════════════
   SECTION HEADERS
   ══════════════════════════════════════ */
.tg-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.tg-section-title {
    font-family: var(--tg-font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--tg-text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.tg-section-title-icon {
    width: 32px;
    height: 32px;
    background: var(--tg-primary-light);
    border-radius: var(--tg-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.tg-view-all {
    color: var(--tg-primary);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s;
}

.tg-view-all:hover {
    gap: 8px;
}

/* ══════════════════════════════════════
   FEATURED TIPS
   ══════════════════════════════════════ */
.tg-featured-tips-section {
    margin-bottom: 30px;
}

.tg-featured-tips {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.tg-featured-tip-card {
    background: var(--tg-bg-white);
    border-radius: var(--tg-radius-lg);
    border: 1px solid var(--tg-border-color);
    overflow: hidden;
    transition: all 0.2s;
}

.tg-featured-tip-card:hover {
    box-shadow: var(--tg-shadow-lg);
    border-color: var(--tg-primary);
}

.tg-featured-tip-card.tg-highlight {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.tg-tip-image {
    height: 140px;
    background: linear-gradient(135deg, var(--tg-primary) 0%, var(--tg-primary-dark) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tg-highlight .tg-tip-image {
    height: 100%;
}

.tg-tip-image-content {
    text-align: center;
    color: white;
}

.tg-tip-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: var(--tg-font-heading);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 4px;
}

.tg-tip-vs-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 4px;
}

.tg-tip-vs-text {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
}

.tg-tip-league-badge {
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    display: inline-block;
}

.tg-tip-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--tg-accent-orange);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.tg-tip-time {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,0.5);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.tg-tip-content {
    padding: 16px;
}

.tg-tip-teams {
    font-family: var(--tg-font-heading);
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--tg-text-primary);
}

.tg-tip-teams a {
    color: inherit;
}

.tg-tip-teams a:hover {
    color: var(--tg-primary);
}

.tg-tip-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--tg-text-muted);
    margin-bottom: 12px;
}

.tg-tip-excerpt {
    font-size: 14px;
    color: var(--tg-text-secondary);
    margin-bottom: 14px;
    line-height: 1.5;
}

.tg-tip-prediction-box {
    background: var(--tg-bg-light);
    border-radius: var(--tg-radius-sm);
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tg-tip-prediction-label {
    font-size: 12px;
    color: var(--tg-text-muted);
    margin-bottom: 2px;
}

.tg-tip-prediction-value {
    font-weight: 700;
    color: var(--tg-primary);
}

.tg-tip-odds {
    background: var(--tg-accent-green);
    color: white;
    padding: 8px 14px;
    border-radius: var(--tg-radius-sm);
    font-weight: 700;
    font-size: 15px;
    flex-shrink: 0;
}

/* ══════════════════════════════════════
   LATEST TIPS LIST
   ══════════════════════════════════════ */
.tg-latest-tips-section {
    margin-bottom: 30px;
}

.tg-tips-list {
    background: var(--tg-bg-white);
    border-radius: var(--tg-radius-lg);
    border: 1px solid var(--tg-border-color);
    overflow: hidden;
}

.tg-tip-list-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-bottom: 1px solid var(--tg-border-color);
    transition: background 0.2s;
}

.tg-tip-list-item:last-child {
    border-bottom: none;
}

.tg-tip-list-item:hover {
    background: var(--tg-bg-light);
}

.tg-tip-list-odds {
    font-family: var(--tg-font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--tg-text-primary);
    text-align: center;
}

.tg-tip-list-info h4 {
    font-family: var(--tg-font-heading);
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 4px;
}

.tg-tip-list-info p {
    font-size: 13px;
    color: var(--tg-text-muted);
    margin: 0;
}

.tg-tip-list-prediction {
    text-align: right;
}

.tg-tip-list-prediction span {
    display: block;
    font-size: 12px;
    color: var(--tg-text-muted);
    margin-bottom: 2px;
}

.tg-tip-list-prediction strong {
    color: var(--tg-primary);
    font-weight: 600;
}

.tg-tip-list-cta {
    background: var(--tg-primary);
    color: white;
    padding: 10px 20px;
    border-radius: var(--tg-radius-sm);
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
}

/* ══════════════════════════════════════
   NEWS GRID
   ══════════════════════════════════════ */
.tg-news-section {
    margin-bottom: 30px;
}

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

.tg-news-card {
    background: var(--tg-bg-white);
    border-radius: var(--tg-radius-md);
    border: 1px solid var(--tg-border-color);
    overflow: hidden;
    transition: all 0.2s;
    display: block;
}

.tg-news-card:hover {
    box-shadow: var(--tg-shadow-md);
    transform: translateY(-4px);
}

.tg-news-image {
    height: 140px;
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.tg-news-image .tg-news-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tg-news-category {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--tg-primary);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 1;
}

.tg-news-content {
    padding: 14px;
}

.tg-news-title {
    font-family: var(--tg-font-heading);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tg-news-date {
    font-size: 12px;
    color: var(--tg-text-muted);
}

/* ══════════════════════════════════════
   LEAGUES GRID
   ══════════════════════════════════════ */
.tg-leagues-section {
    margin-bottom: 30px;
}

.tg-leagues-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.tg-league-card {
    background: var(--tg-bg-white);
    border-radius: var(--tg-radius-md);
    border: 1px solid var(--tg-border-color);
    padding: 20px 12px;
    text-align: center;
    transition: all 0.2s;
    display: block;
}

.tg-league-card:hover {
    border-color: var(--tg-primary);
    box-shadow: var(--tg-shadow-md);
    transform: translateY(-2px);
}

.tg-league-icon {
    width: 48px;
    height: 48px;
    background: var(--tg-bg-light);
    border-radius: 50%;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.tg-league-name {
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 2px;
}

.tg-league-count {
    font-size: 12px;
    color: var(--tg-text-muted);
}

/* ══════════════════════════════════════
   SIDEBAR
   ══════════════════════════════════════ */
.tg-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tg-sidebar-card {
    background: var(--tg-bg-white);
    border-radius: var(--tg-radius-lg);
    border: 1px solid var(--tg-border-color);
    overflow: hidden;
}

.tg-sidebar-card-header {
    background: var(--tg-primary);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.tg-sidebar-card-header.tg-header-orange {
    background: var(--tg-accent-orange);
}

.tg-sidebar-card-header.tg-header-green {
    background: var(--tg-accent-green);
}

.tg-sidebar-card-header.tg-header-dark {
    background: var(--tg-secondary);
}

.tg-sidebar-card-header h3 {
    font-family: var(--tg-font-heading);
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

.tg-sidebar-card-body {
    padding: 16px;
}

/* Popular Predictions */
.tg-popular-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--tg-border-color);
    transition: background 0.2s;
}

.tg-popular-item:last-child {
    border-bottom: none;
}

.tg-popular-item:hover {
    background: var(--tg-bg-light);
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
}

.tg-popular-rank {
    width: 28px;
    height: 28px;
    background: var(--tg-primary-light);
    color: var(--tg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
}

.tg-popular-info {
    flex: 1;
    min-width: 0;
}

.tg-popular-info strong {
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tg-popular-info span {
    font-size: 12px;
    color: var(--tg-text-muted);
}

.tg-popular-odds {
    font-family: var(--tg-font-heading);
    font-weight: 700;
    color: var(--tg-accent-green);
    font-size: 15px;
    flex-shrink: 0;
}

/* Free Bets */
.tg-free-bet-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--tg-border-color);
}

.tg-free-bet-item:last-child {
    border-bottom: none;
}

.tg-free-bet-logo {
    width: 48px;
    height: 48px;
    background: var(--tg-bg-light);
    border-radius: var(--tg-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 11px;
    color: var(--tg-text-secondary);
    overflow: hidden;
    flex-shrink: 0;
}

.tg-free-bet-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tg-free-bet-info {
    flex: 1;
    min-width: 0;
}

.tg-free-bet-info strong {
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
}

.tg-free-bet-info span {
    font-size: 12px;
    color: var(--tg-text-muted);
}

.tg-free-bet-cta {
    background: var(--tg-accent-green);
    color: white;
    padding: 8px 14px;
    border-radius: var(--tg-radius-sm);
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.tg-free-bet-cta:hover {
    opacity: 0.9;
}

/* Bookmakers */
.tg-bookie-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--tg-border-color);
}

.tg-bookie-item:last-child {
    border-bottom: none;
}

.tg-bookie-logo {
    width: 48px;
    height: 48px;
    background: var(--tg-bg-light);
    border-radius: var(--tg-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 11px;
    color: var(--tg-text-secondary);
    overflow: hidden;
    flex-shrink: 0;
}

.tg-bookie-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tg-bookie-info {
    flex: 1;
}

.tg-bookie-info strong {
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
}

.tg-bookie-info span {
    font-size: 12px;
    color: var(--tg-text-muted);
}

.tg-bookie-rating {
    color: var(--tg-accent-yellow);
    font-size: 13px;
    letter-spacing: -1px;
    display: block;
}

.tg-bookie-cta {
    background: var(--tg-secondary);
    color: white;
    padding: 8px 14px;
    border-radius: var(--tg-radius-sm);
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
    text-decoration: none;
    display: inline-block;
}

.tg-bookie-cta:hover {
    opacity: 0.9;
}

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */
.tg-footer {
    background: var(--tg-secondary);
    color: var(--tg-text-muted);
    padding: 50px 0 30px;
    margin-top: 40px;
}

.tg-footer .tg-logo {
    color: white;
    margin-bottom: 14px;
}

.tg-footer-grid {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.tg-footer-brand {
    flex: 2;
    min-width: 0;
}

.tg-footer-section {
    flex: 1;
    min-width: 0;
}

.tg-footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    margin-top: 14px;
}

.tg-footer-section h4 {
    font-family: var(--tg-font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 16px;
    color: white;
}

.tg-footer-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tg-footer-section li {
    margin-bottom: 10px;
}

.tg-footer-section a {
    color: var(--tg-text-muted);
    font-size: 14px;
    transition: color 0.2s;
}

.tg-footer-section a:hover {
    color: white;
}

.tg-footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tg-footer-bottom p {
    font-size: 13px;
    margin: 0;
}

.tg-footer-bottom a {
    color: var(--tg-text-muted);
}

.tg-footer-bottom a:hover {
    color: white;
}

.tg-gamble-aware {
    display: flex;
    align-items: center;
    gap: 16px;
}

.tg-age-badge {
    border: 2px solid var(--tg-accent-orange);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    color: var(--tg-accent-orange);
    flex-shrink: 0;
}

.tg-gamble-aware span {
    font-size: 13px;
}

/* ══════════════════════════════════════
   BASIC PAGE TEMPLATES
   ══════════════════════════════════════ */
.tg-page-content {
    padding: 30px 0;
}

.tg-page-content .tg-container {
    max-width: 1300px;
}

.tg-page-content .tg-container.tg-container-full {
    max-width: 1300px;
}

.tg-page-title {
    font-family: var(--tg-font-heading);
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 24px;
}

.tg-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tg-archive-card {
    background: var(--tg-bg-white);
    border-radius: var(--tg-radius-md);
    border: 1px solid var(--tg-border-color);
    overflow: hidden;
    transition: all 0.2s;
}

.tg-archive-card:hover {
    box-shadow: var(--tg-shadow-md);
    transform: translateY(-2px);
}

.tg-archive-card-body {
    padding: 16px;
}

.tg-archive-card-body h3 {
    font-family: var(--tg-font-heading);
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px;
}

.tg-archive-card-body h3 a {
    color: var(--tg-text-primary);
}

.tg-archive-card-body h3 a:hover {
    color: var(--tg-primary);
}

.tg-archive-card-meta {
    font-size: 13px;
    color: var(--tg-text-muted);
    margin-bottom: 8px;
}

.tg-archive-card-excerpt {
    font-size: 14px;
    color: var(--tg-text-secondary);
    line-height: 1.5;
}

.tg-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.tg-pagination .page-numbers {
    padding: 8px 14px;
    background: var(--tg-bg-white);
    border: 1px solid var(--tg-border-color);
    border-radius: var(--tg-radius-sm);
    font-weight: 600;
    font-size: 14px;
}

.tg-pagination .page-numbers.current {
    background: var(--tg-primary);
    color: white;
    border-color: var(--tg-primary);
}

/* Single post/page content */
.tg-single-content {
    background: var(--tg-bg-white);
    border-radius: var(--tg-radius-lg);
    border: 1px solid var(--tg-border-color);
    padding: 30px;
    margin-bottom: 30px;
}

.tg-single-content h1,
.tg-single-content h2,
.tg-single-content h3,
.tg-single-content h4 {
    font-family: var(--tg-font-heading);
}

.tg-single-meta {
    font-size: 14px;
    color: var(--tg-text-muted);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--tg-border-color);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.tg-meta-separator {
    color: var(--tg-text-muted);
}

.tg-meta-author {
    color: var(--tg-text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.tg-meta-author:hover {
    color: var(--tg-primary);
}

.tg-featured-figure {
    margin: 0 0 24px;
    border-radius: var(--tg-radius-md);
    overflow: hidden;
}

.tg-featured-caption {
    font-size: 12px;
    color: var(--tg-text-muted);
    padding: 8px 12px;
    background: var(--tg-bg-light);
    border-top: 1px solid var(--tg-border-color);
}

/* Sections layout: custom header + full-width pages
   Each top-level block becomes its own card section */
.tg-sections-layout {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
}

.tg-sections-layout > .tg-entry-content > * {
    background: var(--tg-bg-white);
    border-radius: var(--tg-radius-lg, 12px);
    border: 1px solid var(--tg-border-color);
    padding: 35px;
    margin-bottom: 30px;
}

.tg-sections-layout > .tg-entry-content > *:last-child {
    margin-bottom: 0;
}

.tg-sections-layout > .tg-entry-content h1,
.tg-sections-layout > .tg-entry-content h2,
.tg-sections-layout > .tg-entry-content h3,
.tg-sections-layout > .tg-entry-content h4 {
    font-family: var(--tg-font-heading);
}

/* Callout box — apply via "Additional CSS class" on a Group block
   Uses theme CSS variables so it adapts to any color scheme */
.tg-callout {
    background: var(--tg-primary-light) !important;
    border-left: 4px solid var(--tg-primary) !important;
    border-radius: var(--tg-radius-md, 8px) !important;
    padding: 25px 30px !important;
    margin-top: 20px;
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
}

.tg-callout h3,
.tg-callout h4 {
    font-family: var(--tg-font-heading);
    color: var(--tg-primary-dark);
    margin-top: 0;
    margin-bottom: 10px;
}

.tg-callout p {
    margin-bottom: 0;
    font-style: italic;
}

@media (max-width: 768px) {
    .tg-sections-layout > .tg-entry-content > * {
        padding: 24px 18px;
        margin-bottom: 20px;
    }

    .tg-callout {
        padding: 18px 20px !important;
    }
}

/* 404 */
.tg-404 {
    text-align: center;
    padding: 80px 24px;
}

.tg-404 h1 {
    font-family: var(--tg-font-heading);
    font-size: 80px;
    font-weight: 800;
    color: var(--tg-primary);
    margin: 0;
}

.tg-404 p {
    font-size: 18px;
    color: var(--tg-text-secondary);
    margin: 16px 0 24px;
}

.tg-404 a {
    display: inline-block;
    background: var(--tg-primary);
    color: white;
    padding: 12px 28px;
    border-radius: var(--tg-radius-sm);
    font-weight: 600;
}

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 1200px) {
    .tg-content-grid {
        grid-template-columns: 1fr;
    }

    .tg-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tg-leagues-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .tg-footer-grid {
        flex-wrap: wrap;
    }

    .tg-footer-brand {
        flex-basis: 100%;
    }

    .tg-archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tg-mobile-toggle {
        display: flex;
    }

    .tg-nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--tg-bg-white);
        border-bottom: 1px solid var(--tg-border-color);
        flex-direction: column;
        padding: 16px;
        box-shadow: var(--tg-shadow-lg);
    }

    .tg-nav-links.tg-nav-open {
        display: flex;
    }

    .tg-main-nav-inner {
        position: relative;
    }

    .tg-featured-tips {
        grid-template-columns: 1fr;
    }

    .tg-featured-tip-card.tg-highlight {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .tg-news-grid {
        grid-template-columns: 1fr;
    }

    .tg-leagues-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tg-footer-grid {
        flex-direction: column;
        gap: 24px;
    }

    .tg-tip-list-item {
        grid-template-columns: 70px 1fr;
        gap: 12px;
    }

    .tg-tip-list-prediction,
    .tg-tip-list-cta {
        display: none;
    }

    .tg-footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .tg-archive-grid {
        grid-template-columns: 1fr;
    }

    .tg-offer-card {
        width: 300px;
        height: 140px;
    }

    .tg-offer-watermark {
        font-size: 50px;
    }

    .tg-offer-title {
        font-size: 24px;
    }

    .tg-top-bar-content {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
}

/* ══════════════════════════════════════
   BLOCK: Menu CTA
   ══════════════════════════════════════ */
.tg-menu-cta {
    border-radius: var(--tg-radius-lg);
    padding: 32px 36px;
    margin-bottom: 24px;
}

.tg-menu-cta-title {
    font-family: var(--tg-font-heading);
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.tg-menu-cta-desc {
    font-size: 15px;
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.tg-menu-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tg-menu-cta-pill {
    display: inline-block;
    background: #ffffff;
    color: var(--tg-text-primary);
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    box-shadow: var(--tg-shadow-sm);
    transition: box-shadow 0.2s, transform 0.15s;
}

.tg-menu-cta-pill:hover {
    box-shadow: var(--tg-shadow-md);
    transform: translateY(-1px);
    color: var(--tg-primary);
}

@media (max-width: 600px) {
    .tg-menu-cta {
        padding: 24px 20px;
    }

    .tg-menu-cta-buttons {
        gap: 8px;
    }

    .tg-menu-cta-pill {
        padding: 7px 14px;
        font-size: 13px;
    }
}

/* ══════════════════════════════════════
   CUSTOM PAGE HEADER
   ══════════════════════════════════════ */
.tg-page-header {
    padding: 36px 0 32px;
}

.tg-page-header-title {
    font-family: var(--tg-font-heading);
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.tg-page-header-subtitle {
    font-size: 16px;
    margin: 0 0 18px 0;
    line-height: 1.6;
    opacity: 0.85;
}

.tg-page-header-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.tg-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}

.tg-badge-updated {
    background: var(--tg-accent-green);
    color: #ffffff;
}

.tg-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffffff;
    flex-shrink: 0;
}

.tg-badge-author {
    background: rgba(0, 0, 0, 0.08);
    color: inherit;
    transition: background 0.2s;
}

.tg-badge-author:hover {
    background: rgba(0, 0, 0, 0.14);
}

.tg-badge-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .tg-page-header {
        padding: 24px 0 20px;
    }

    .tg-page-header-title {
        font-size: 22px;
    }

    .tg-page-header-subtitle {
        font-size: 14px;
    }
}

/* ══════════════════════════════════════
   BLOCK: FAQ Accordion
   ══════════════════════════════════════ */
.tg-faq-item {
    border: 1px solid var(--tg-border-color);
    border-radius: var(--tg-radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--tg-bg-white);
}

.tg-faq-question {
    width: 100%;
    padding: 18px 20px;
    background: var(--tg-bg-light);
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--tg-font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--tg-secondary);
    transition: all 0.2s;
}

.tg-faq-question:hover {
    background: var(--tg-primary-light);
    color: var(--tg-primary);
}

.tg-faq-question.tg-faq-active {
    background: var(--tg-primary);
    color: #ffffff;
}

.tg-faq-icon {
    font-size: 20px;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.tg-faq-question.tg-faq-active .tg-faq-icon {
    transform: rotate(45deg);
}

.tg-faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.tg-faq-answer.tg-faq-open {
    padding: 20px;
    max-height: 500px;
}

.tg-faq-answer p {
    font-size: 15px;
    color: var(--tg-text-secondary);
    margin: 0;
    line-height: 1.7;
}

/* ══════════════════════════════════════
   BLOCK: Team Grid
   ══════════════════════════════════════ */
.tg-team-grid {
    display: grid;
    gap: 20px;
}

.tg-team-cols-2 { grid-template-columns: repeat(2, 1fr); }
.tg-team-cols-3 { grid-template-columns: repeat(3, 1fr); }

.tg-team-card {
    background: var(--tg-bg-light);
    border-radius: var(--tg-radius-md);
    padding: 25px;
    border: 1px solid var(--tg-border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.tg-team-card:hover {
    border-color: var(--tg-primary);
    box-shadow: var(--tg-shadow-md);
    transform: translateY(-3px);
}

.tg-team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tg-primary) 0%, var(--tg-primary-dark) 100%);
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 36px;
    font-family: var(--tg-font-heading);
    font-weight: 700;
    border: 4px solid #ffffff;
    box-shadow: var(--tg-shadow-md);
}

.tg-team-name {
    font-family: var(--tg-font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--tg-secondary);
    margin-bottom: 4px;
}

.tg-team-role {
    font-size: 13px;
    font-weight: 600;
    color: var(--tg-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.tg-team-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-bottom: 15px;
}

.tg-team-specialties span {
    background: var(--tg-bg-white);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--tg-text-secondary);
    border: 1px solid var(--tg-border-color);
}

.tg-team-bio {
    font-size: 14px;
    color: var(--tg-text-secondary);
    line-height: 1.6;
    margin-bottom: 18px;
}

.tg-team-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--tg-primary);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: gap 0.2s;
}

.tg-team-link:hover {
    gap: 10px;
}

/* ══════════════════════════════════════
   BLOCK: Author Hero
   ══════════════════════════════════════ */
.tg-author-hero {
    background: var(--tg-bg-white);
    border-radius: var(--tg-radius-lg);
    padding: 40px;
    margin-bottom: 30px;
    border: 1px solid var(--tg-border-color);
    display: flex;
    gap: 35px;
    align-items: flex-start;
}

.tg-author-photo-lg {
    width: 180px;
    height: 180px;
    border-radius: var(--tg-radius-lg);
    background: linear-gradient(135deg, var(--tg-primary) 0%, var(--tg-primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 64px;
    font-family: var(--tg-font-heading);
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: var(--tg-shadow-lg);
}

.tg-author-info { flex: 1; }

.tg-author-name-lg {
    font-family: var(--tg-font-heading);
    font-size: 36px;
    font-weight: 800;
    color: var(--tg-secondary);
    margin: 0 0 8px 0;
}

.tg-author-role-lg {
    font-size: 16px;
    font-weight: 600;
    color: var(--tg-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.tg-author-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tg-author-specialties span {
    background: var(--tg-bg-light);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--tg-text-secondary);
    border: 1px solid var(--tg-border-color);
    font-weight: 500;
}

.tg-author-intro {
    font-size: 16px;
    color: var(--tg-text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.tg-author-socials {
    display: flex;
    gap: 10px;
}

.tg-social-btn {
    width: 42px;
    height: 42px;
    border-radius: var(--tg-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s;
}

.tg-social-btn-twitter   { background: #1DA1F2; }
.tg-social-btn-linkedin  { background: #0A66C2; }
.tg-social-btn-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.tg-social-btn-facebook  { background: #1877F2; }
.tg-social-btn-youtube   { background: #FF0000; }
.tg-social-btn-tiktok    { background: #000000; }
.tg-social-btn-telegram  { background: #26A5E4; }
.tg-social-btn-discord   { background: #5865F2; }
.tg-social-btn-twitch    { background: #9146FF; }
.tg-social-btn-pinterest { background: #BD081C; }
.tg-social-btn-reddit    { background: #FF4500; }
.tg-social-btn-github    { background: #181717; }
.tg-social-btn-whatsapp  { background: #25D366; }
.tg-social-btn-email     { background: #64748b; }
.tg-social-btn-website   { background: #64748b; }
.tg-social-btn-custom    { background: #64748b; }

.tg-social-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--tg-shadow-md);
}

/* ══════════════════════════════════════
   BLOCK: Author Articles
   ══════════════════════════════════════ */
.tg-author-articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.tg-article-card {
    background: var(--tg-bg-light);
    border-radius: var(--tg-radius-md);
    overflow: hidden;
    border: 1px solid var(--tg-border-color);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.tg-article-card:hover {
    border-color: var(--tg-primary);
    box-shadow: var(--tg-shadow-md);
    transform: translateY(-3px);
}

.tg-article-thumb {
    width: 100%;
    height: 140px;
    background: linear-gradient(135deg, var(--tg-secondary) 0%, #1e293b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.tg-article-thumb::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: rgba(26, 126, 230, 0.2);
    border-radius: 50%;
}

.tg-article-badge {
    background: var(--tg-primary);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.tg-article-body {
    padding: 18px;
}

.tg-article-body h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--tg-secondary);
    margin: 0 0 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tg-article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--tg-text-muted);
}

.tg-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 25px;
    padding: 12px 24px;
    background: var(--tg-primary);
    color: #ffffff;
    border-radius: var(--tg-radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}

.tg-view-all-btn:hover {
    background: var(--tg-primary-dark);
    gap: 12px;
}

/* Responsive for new blocks */
@media (max-width: 1024px) {
    .tg-author-hero {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .tg-author-specialties { justify-content: center; }
    .tg-author-socials { justify-content: center; }
}

@media (max-width: 768px) {
    .tg-team-cols-2,
    .tg-team-cols-3 { grid-template-columns: 1fr; }

    .tg-author-hero { padding: 30px 20px; }

    .tg-author-photo-lg {
        width: 140px;
        height: 140px;
        font-size: 48px;
    }

    .tg-author-name-lg { font-size: 28px; }

    .tg-author-articles-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════
   BLOCK: Author Box
   ══════════════════════════════════════ */
.tg-author-box {
    background: var(--tg-bg-white);
    border: 1px solid var(--tg-border-color);
    border-radius: var(--tg-radius-lg);
    overflow: hidden;
    margin: 30px 0;
}

.tg-author-box-header {
    background: var(--tg-bg-light);
    padding: 14px 24px;
    font-family: var(--tg-font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--tg-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--tg-border-color);
}

.tg-author-box-body {
    display: flex;
    gap: 24px;
    padding: 24px;
    align-items: flex-start;
}

.tg-author-box-avatar {
    flex-shrink: 0;
}

.tg-author-box-avatar img {
    width: 80px;
    height: 80px;
    border-radius: var(--tg-radius-md);
    object-fit: cover;
    display: block;
}

.tg-author-box-initials {
    width: 80px;
    height: 80px;
    border-radius: var(--tg-radius-md);
    background: linear-gradient(135deg, var(--tg-primary) 0%, var(--tg-primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 28px;
    font-family: var(--tg-font-heading);
    font-weight: 700;
}

.tg-author-box-content { flex: 1; }

.tg-author-box-name {
    font-family: var(--tg-font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--tg-secondary);
    text-decoration: none;
    display: block;
    margin-bottom: 2px;
}

.tg-author-box-name:hover {
    color: var(--tg-primary);
}

.tg-author-box-role {
    font-size: 13px;
    font-weight: 600;
    color: var(--tg-primary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 10px;
}

.tg-author-box-bio {
    font-size: 14px;
    color: var(--tg-text-secondary);
    line-height: 1.6;
    margin: 0 0 12px 0;
}

.tg-author-box-socials {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.tg-author-box-socials .tg-social-btn {
    width: 32px;
    height: 32px;
    border-radius: var(--tg-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tg-bg-light);
    color: var(--tg-text-secondary);
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid var(--tg-border-color);
}

.tg-author-box-socials .tg-social-btn:hover {
    background: var(--tg-primary);
    color: #ffffff;
    border-color: var(--tg-primary);
}

.tg-author-box-socials .tg-social-btn svg {
    width: 14px;
    height: 14px;
}

.tg-author-box-profile-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--tg-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s;
}

.tg-author-box-profile-link:hover { gap: 8px; }

@media (max-width: 600px) {
    .tg-author-box-body {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .tg-author-box-socials { justify-content: center; }
}

/* ══════════════════════════════════════
   BLOCK: Trust Grid
   ══════════════════════════════════════ */
.tg-trust-grid {
    display: grid;
    gap: 16px;
    margin-top: 25px;
}

.tg-trust-cols-2 { grid-template-columns: repeat(2, 1fr); }
.tg-trust-cols-3 { grid-template-columns: repeat(3, 1fr); }
.tg-trust-cols-4 { grid-template-columns: repeat(4, 1fr); }

.tg-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    background: var(--tg-bg-light);
    border-radius: var(--tg-radius-md);
    border: 1px solid var(--tg-border-color);
    transition: all 0.2s;
}

.tg-trust-item:hover {
    border-color: var(--tg-primary);
    box-shadow: var(--tg-shadow-sm);
}

.tg-trust-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--tg-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.tg-trust-icon-green  { background: var(--tg-accent-green); }
.tg-trust-icon-orange { background: var(--tg-accent-orange); }
.tg-trust-icon-blue   { background: var(--tg-primary); }
.tg-trust-icon-yellow { background: var(--tg-accent-yellow); }
.tg-trust-icon-red    { background: var(--tg-accent-red); }

.tg-trust-content h4 {
    font-family: var(--tg-font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--tg-text-primary);
    margin: 0 0 6px 0;
}

.tg-trust-content p {
    font-size: 14px;
    color: var(--tg-text-secondary);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .tg-trust-cols-2,
    .tg-trust-cols-3,
    .tg-trust-cols-4 { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════
   UTILITY: Contact Cards
   Apply class "tg-contact-cards" on a Columns block
   to turn each column into a styled card.
   ══════════════════════════════════════ */
.tg-contact-cards {
    margin-top: 20px !important;
}

.tg-contact-cards > .wp-block-column {
    background: var(--tg-bg-light);
    border: 1px solid var(--tg-border-color);
    border-radius: var(--tg-radius-md);
    padding: 24px;
}

.tg-contact-cards > .wp-block-column h3,
.tg-contact-cards > .wp-block-column h4 {
    font-family: var(--tg-font-heading);
    margin-top: 0;
}

.tg-contact-cards > .wp-block-column a {
    color: var(--tg-primary);
    font-weight: 600;
}

.tg-contact-cards > .wp-block-column a:hover {
    text-decoration: underline;
}

.tg-contact-cards .wp-block-social-links .wp-social-link {
    border-radius: var(--tg-radius-sm);
}
