/**
 * Talent Matters Content Hub - Frontend Styles
 */

:root {
    --tmch-primary: #1a2a4a;       /* Navy */
    --tmch-secondary: #0b666a;     /* Teal */
    --tmch-accent: #b8944e;        /* Gold */
    --tmch-text: #1a1a1a;
    --tmch-muted: #6b7280;
    --tmch-light: #f8f7f4;
    --tmch-border: #e5e7eb;
    --tmch-white: #ffffff;
    --tmch-radius: 10px;
    --tmch-shadow: 0 4px 14px rgba(0,0,0,0.08);
    --tmch-shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    --tmch-gradient: linear-gradient(135deg, var(--tmch-secondary) 0%, var(--tmch-primary) 100%);
}

/* ============================================
   GRID LAYOUT
   ============================================ */
.tmch-grid {
    display: grid;
    gap: 30px;
    margin: 30px 0;
}
.tmch-grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.tmch-grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.tmch-grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 992px) {
    .tmch-grid-cols-3, .tmch-grid-cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .tmch-grid-cols-2, .tmch-grid-cols-3, .tmch-grid-cols-4 {
        grid-template-columns: 1fr;
    }
}

/* Grid Card */
.tmch-grid-item {
    background: var(--tmch-white);
    border-radius: var(--tmch-radius);
    overflow: hidden;
    box-shadow: var(--tmch-shadow);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid var(--tmch-border);
}
.tmch-grid-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--tmch-shadow-lg);
}
.tmch-grid-item-image {
    display: block;
    position: relative;
    overflow: hidden;
    background: var(--tmch-light);
}
.tmch-grid-item-image img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.tmch-grid-item:hover .tmch-grid-item-image img {
    transform: scale(1.05);
}
.tmch-post-type-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--tmch-white);
    color: var(--tmch-primary);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: var(--tmch-shadow);
    z-index: 2;
}
.tmch-grid-item-content {
    padding: 20px 22px 22px;
}
.tmch-post-type-label {
    display: inline-block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 700;
    color: var(--tmch-accent);
    margin-bottom: 10px;
}
.tmch-post-date {
    display: block;
    color: var(--tmch-muted);
    font-size: 0.85rem;
    margin-bottom: 8px;
}
.tmch-grid-item-content h3,
.tmch-grid-item-content h4 {
    margin: 0 0 12px;
    font-size: 1.15rem;
    line-height: 1.35;
}
.tmch-grid-item-content h3 a,
.tmch-grid-item-content h4 a {
    color: var(--tmch-primary);
    text-decoration: none;
    transition: color 0.2s;
}
.tmch-grid-item-content h3 a:hover,
.tmch-grid-item-content h4 a:hover {
    color: var(--tmch-accent);
}
.tmch-excerpt p {
    margin: 0 0 16px;
    color: var(--tmch-muted);
    font-size: 0.93rem;
    line-height: 1.55;
}
.tmch-grid-item-footer {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--tmch-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}
.tmch-grid-item-footer small {
    color: var(--tmch-muted);
}
.tmch-read-more {
    color: var(--tmch-secondary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s, transform 0.2s;
    display: inline-block;
}
.tmch-read-more:hover {
    color: var(--tmch-accent);
    transform: translateX(3px);
}
.tmch-case-client {
    display: inline-block;
    background: var(--tmch-light);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.82rem;
    color: var(--tmch-secondary);
    font-weight: 600;
    margin-bottom: 10px;
}
.tmch-report-date {
    display: block;
    margin-bottom: 10px;
    color: var(--tmch-muted);
    font-size: 0.85rem;
}
.tmch-report-date .dashicons,
.tmch-post-date .dashicons,
.tmch-event-meta .dashicons,
.tmch-blog-enhancements .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    vertical-align: -2px;
    margin-right: 3px;
}
.tmch-has-downloads {
    display: inline-block;
    background: rgba(184,148,78,0.1);
    color: var(--tmch-accent);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 10px;
}
.tmch-has-downloads .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    vertical-align: -2px;
    margin-right: 3px;
}
.tmch-premium-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #d4af37, #b8944e);
    color: var(--tmch-white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}
.tmch-post-author {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--tmch-muted);
    font-size: 0.85rem;
    margin-top: 4px;
}
.tmch-post-author img {
    border-radius: 50%;
}

/* ============================================
   EVENT SPECIFIC
   ============================================ */
.tmch-event-date-badge {
    width: 72px;
    padding: 10px 8px;
    background: var(--tmch-gradient);
    color: var(--tmch-white);
    text-align: center;
    border-radius: 8px;
    box-shadow: var(--tmch-shadow);
    position: relative;
    z-index: 2;
    margin: 14px;
}
.tmch-date-badge-overlay {
    position: absolute;
    top: 0;
    left: 0;
}
.tmch-event-date-badge .tmch-event-month,
.tmch-event-hero-date .tmch-event-date-month {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.2;
    opacity: 0.9;
}
.tmch-event-date-badge .tmch-event-day,
.tmch-event-hero-date .tmch-event-date-day {
    display: block;
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1;
    margin: 3px 0;
}
.tmch-event-date-badge .tmch-event-year {
    display: block;
    font-size: 0.7rem;
    opacity: 0.9;
}
.tmch-event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 12px 0;
    font-size: 0.85rem;
    color: var(--tmch-muted);
}
.tmch-event-meta > span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.tmch-type-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}
.tmch-tag-webinar { background: rgba(11, 102, 106, 0.12); color: var(--tmch-secondary); }
.tmch-tag-workshop { background: rgba(26, 42, 74, 0.1); color: var(--tmch-primary); }
.tmch-tag-conference { background: rgba(184, 148, 78, 0.12); color: var(--tmch-accent); }
.tmch-tag-seminar { background: rgba(59, 130, 246, 0.12); color: #2563eb; }
.tmch-tag-training { background: rgba(139, 92, 246, 0.12); color: #7c3aed; }
.tmch-tag-networking { background: rgba(16, 185, 129, 0.12); color: #059669; }
.tmch-tag-virtual { background: rgba(236, 72, 153, 0.1); color: #db2777; }
.tmch-tag-other { background: var(--tmch-light); color: var(--tmch-muted); }

/* ============================================
   DOWNLOADS
   ============================================ */
.tmch-downloads-container {
    margin: 36px 0;
    padding: 28px;
    background: linear-gradient(135deg, rgba(26, 42, 74, 0.03) 0%, rgba(11, 102, 106, 0.03) 100%);
    border: 1px solid var(--tmch-border);
    border-radius: var(--tmch-radius);
}
.tmch-downloads-title {
    margin: 0 0 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--tmch-accent);
    display: inline-block;
    font-size: 1.25rem;
    color: var(--tmch-primary);
}
.tmch-downloads-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.tmch-download-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--tmch-white);
    border: 1px solid var(--tmch-border);
    border-radius: 8px;
    transition: all 0.25s ease;
}
.tmch-download-item:hover {
    box-shadow: var(--tmch-shadow);
    border-color: var(--tmch-accent);
}
.tmch-download-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tmch-white);
    background: var(--tmch-gradient);
}
.tmch-file-pdf .tmch-download-icon { background: linear-gradient(135deg, #ef4444, #dc2626); }
.tmch-file-doc .tmch-download-icon,
.tmch-file-docx .tmch-download-icon { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.tmch-file-xls .tmch-download-icon,
.tmch-file-xlsx .tmch-download-icon,
.tmch-file-csv .tmch-download-icon { background: linear-gradient(135deg, #10b981, #059669); }
.tmch-file-ppt .tmch-download-icon,
.tmch-file-pptx .tmch-download-icon { background: linear-gradient(135deg, #f97316, #ea580c); }
.tmch-file-zip .tmch-download-icon,
.tmch-file-rar .tmch-download-icon,
.tmch-file-7z .tmch-download-icon { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.tmch-download-icon .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}
.tmch-download-info {
    flex: 1;
}
.tmch-download-label {
    display: block;
    color: var(--tmch-text);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 3px;
}
.tmch-download-meta {
    font-size: 0.82rem;
    color: var(--tmch-muted);
}
.tmch-email-required {
    background: rgba(11, 102, 106, 0.1);
    color: var(--tmch-secondary);
    padding: 1px 8px;
    border-radius: 10px;
    margin-left: 4px;
}
.tmch-download-btn.button {
    background: var(--tmch-gradient);
    color: var(--tmch-white);
    border: none;
    padding: 9px 20px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s;
}
.tmch-download-btn.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.18);
    color: var(--tmch-white);
}

/* ============================================
   ARCHIVE PAGES
   ============================================ */
.tmch-archive-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}
.tmch-archive-header {
    margin-bottom: 40px;
    padding-bottom: 28px;
    border-bottom: 2px solid var(--tmch-border);
    position: relative;
}
.tmch-archive-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 120px;
    height: 2px;
    background: var(--tmch-accent);
}
.tmch-archive-title {
    font-size: 2.4rem;
    margin: 0 0 14px;
    color: var(--tmch-primary);
    font-weight: 800;
}
.tmch-archive-description {
    font-size: 1.05rem;
    color: var(--tmch-muted);
    max-width: 720px;
    margin: 0 0 24px;
}
.tmch-archive-filters {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.tmch-filter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: 0.9rem;
}
.tmch-filter-list strong {
    margin-right: 8px;
    color: var(--tmch-primary);
}
.tmch-filter-list a {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid var(--tmch-border);
    color: var(--tmch-text);
    text-decoration: none;
    transition: all 0.2s;
    background: var(--tmch-white);
}
.tmch-filter-list a:hover {
    border-color: var(--tmch-accent);
    color: var(--tmch-accent);
}
.tmch-filter-list a.tmch-active-filter {
    background: var(--tmch-gradient);
    color: var(--tmch-white);
    border-color: transparent;
}
.tmch-archive-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}
.tmch-no-content {
    text-align: center;
    padding: 60px 20px;
    background: var(--tmch-light);
    border-radius: var(--tmch-radius);
}

/* ============================================
   SINGLE PAGES
   ============================================ */
.tmch-single-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}
.tmch-single-header {
    margin-bottom: 40px;
}
.tmch-post-type-badge a {
    color: var(--tmch-primary);
    text-decoration: none;
}
.tmch-post-type-badge a:hover {
    color: var(--tmch-accent);
}
.tmch-single-title {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    line-height: 1.2;
    margin: 18px 0 18px;
    color: var(--tmch-primary);
    font-weight: 800;
}
.tmch-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 20px;
    padding: 14px 20px;
    background: var(--tmch-light);
    border-radius: 8px;
    margin-bottom: 28px;
    color: var(--tmch-muted);
    font-size: 0.9rem;
    align-items: center;
}
.tmch-single-meta > span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.tmch-single-meta .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}
.tmch-meta-author {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.tmch-meta-author img {
    border-radius: 50%;
}
.tmch-single-hero-image {
    border-radius: var(--tmch-radius);
    overflow: hidden;
    margin: 28px 0;
    box-shadow: var(--tmch-shadow-lg);
}
.tmch-single-hero-image img {
    display: block;
    width: 100%;
    height: auto;
}
.tmch-single-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 40px;
    margin-bottom: 40px;
}
@media (max-width: 992px) {
    .tmch-single-content-wrapper {
        grid-template-columns: 1fr;
    }
}
.tmch-single-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--tmch-text);
}
.tmch-single-content p {
    margin: 0 0 20px;
}
.tmch-single-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.tmch-share-block {
    padding: 20px;
    background: var(--tmch-light);
    border-radius: var(--tmch-radius);
    border: 1px solid var(--tmch-border);
    position: sticky;
    top: 20px;
}
.tmch-share-block h4 {
    margin: 0 0 14px;
    font-size: 0.95rem;
    color: var(--tmch-primary);
}
.tmch-share-btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 8px;
    padding: 8px 12px !important;
    font-size: 0.88rem !important;
}
.tmch-share-fb { background: #1877f2 !important; color: #fff !important; border-color: #1877f2 !important; }
.tmch-share-tw { background: #1da1f2 !important; color: #fff !important; border-color: #1da1f2 !important; }
.tmch-share-li { background: #0a66c2 !important; color: #fff !important; border-color: #0a66c2 !important; }

/* ============================================
   CONTENT BLOCKS (Meta)
   ============================================ */
.tmch-content-block {
    margin: 36px 0;
    padding: 28px;
    background: var(--tmch-light);
    border: 1px solid var(--tmch-border);
    border-radius: var(--tmch-radius);
}
.tmch-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}
.tmch-meta-item {
    background: var(--tmch-white);
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid var(--tmch-border);
    text-align: center;
    transition: all 0.25s;
}
.tmch-meta-item:hover {
    box-shadow: var(--tmch-shadow);
    transform: translateY(-2px);
}
.tmch-meta-item .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    color: var(--tmch-accent);
    margin-bottom: 6px;
}
.tmch-meta-label {
    display: block;
    font-size: 0.75rem;
    color: var(--tmch-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}
.tmch-meta-value {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--tmch-primary);
    margin-top: 2px;
}
.tmch-meta-inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--tmch-light);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--tmch-muted);
    margin: 10px 0;
}
.tmch-meta-inline .dashicons {
    color: var(--tmch-accent);
}

/* Case Study Highlights */
.tmch-case-highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
@media (min-width: 900px) {
    .tmch-case-highlights {
        grid-template-columns: 1fr 1fr 1fr;
    }
}
.tmch-highlight {
    background: var(--tmch-white);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--tmch-accent);
    box-shadow: var(--tmch-shadow);
}
.tmch-highlight-solution { border-left-color: var(--tmch-secondary); }
.tmch-highlight-results { border-left-color: var(--tmch-primary); }
.tmch-highlight h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    font-size: 1.05rem;
    color: var(--tmch-primary);
}
.tmch-highlight h4 .dashicons {
    color: var(--tmch-accent);
    font-size: 20px;
    width: 20px;
    height: 20px;
}
.tmch-highlight-solution h4 .dashicons { color: var(--tmch-secondary); }
.tmch-highlight-results h4 .dashicons { color: var(--tmch-primary); }
.tmch-project-url {
    margin-top: 22px;
    text-align: center;
}
.tmch-project-url .button {
    background: var(--tmch-gradient) !important;
    border: none !important;
    color: #fff !important;
    padding: 11px 28px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
}

/* Event Card Hero */
.tmch-event-hero {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 24px;
    align-items: start;
    padding: 0 !important;
    background: var(--tmch-white) !important;
    overflow: hidden;
}
.tmch-event-hero-date {
    background: var(--tmch-gradient);
    color: var(--tmch-white);
    padding: 30px 18px;
    text-align: center;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.tmch-event-hero-details {
    padding: 24px 24px 24px 0;
}
.tmch-event-detail {
    margin: 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--tmch-text);
    font-size: 0.95rem;
}
.tmch-event-detail .dashicons {
    color: var(--tmch-accent);
    width: 20px;
    height: 20px;
    font-size: 20px;
}
.tmch-event-price {
    margin-left: 10px;
    color: var(--tmch-primary);
    background: rgba(26, 42, 74, 0.08);
    padding: 3px 10px;
    border-radius: 12px;
}
.tmch-event-ticket {
    margin-top: 18px;
}
.tmch-event-ticket .button {
    background: var(--tmch-gradient) !important;
    border: none !important;
    color: #fff !important;
    padding: 11px 28px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
}
.tmch-event-additional {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed var(--tmch-border);
}
.tmch-event-extra {
    margin: 6px 0;
    font-size: 0.95rem;
}

/* Blog Enhancements */
.tmch-blog-enhancements {
    margin: 16px 0;
    padding: 14px 0;
    border-top: 1px solid var(--tmch-border);
    border-bottom: 1px solid var(--tmch-border);
}
.tmch-subheading {
    font-size: 1.2rem;
    color: var(--tmch-muted);
    font-weight: 400;
    margin: 0 0 10px;
    font-style: italic;
}
.tmch-read-time {
    margin: 0;
    color: var(--tmch-muted);
    font-size: 0.9rem;
}

/* Post Terms */
.tmch-post-terms {
    margin: 24px 0;
    padding: 20px;
    background: var(--tmch-light);
    border-radius: var(--tmch-radius);
}
.tmch-terms-list {
    margin: 8px 0;
    font-size: 0.95rem;
}
.tmch-terms-list a {
    color: var(--tmch-secondary);
    text-decoration: none;
}
.tmch-terms-list a:hover {
    color: var(--tmch-accent);
}

/* Related Posts */
.tmch-related-posts {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid var(--tmch-border);
}
.tmch-related-posts h3 {
    margin: 0 0 24px;
    font-size: 1.4rem;
    color: var(--tmch-primary);
}

/* ============================================
   EMAIL GATE
   ============================================ */
.tmch-email-gate-wrapper {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, rgba(26,42,74,0.05), rgba(11,102,106,0.05));
}
.tmch-email-gate-card {
    max-width: 460px;
    width: 100%;
    background: var(--tmch-white);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    padding: 36px 32px;
    text-align: center;
}
.tmch-email-gate-header .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    background: var(--tmch-gradient);
    color: #fff;
    border-radius: 50%;
    padding: 14px;
    box-sizing: content-box;
    margin-bottom: 16px;
}
.tmch-email-gate-header h2 {
    margin: 0 0 12px;
    color: var(--tmch-primary);
    font-size: 1.8rem;
    font-weight: 800;
}
.tmch-email-gate-intro {
    color: var(--tmch-muted);
    margin-bottom: 24px;
    font-size: 1rem;
}
.tmch-email-gate-form {
    text-align: left;
}
.tmch-form-field {
    margin-bottom: 16px;
}
.tmch-form-field label {
    display: block;
    margin-bottom: 6px;
    color: var(--tmch-primary);
    font-weight: 600;
    font-size: 0.9rem;
}
.tmch-form-field input[type="text"],
.tmch-form-field input[type="email"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--tmch-border);
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: all 0.2s;
}
.tmch-form-field input:focus {
    outline: none;
    border-color: var(--tmch-accent);
    box-shadow: 0 0 0 3px rgba(184,148,78,0.12);
}
.tmch-form-checkbox label {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--tmch-muted);
    cursor: pointer;
}
.tmch-download-gate-btn {
    width: 100%;
    padding: 14px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    background: var(--tmch-gradient) !important;
    border: none !important;
    border-radius: 8px !important;
    color: #fff !important;
    cursor: pointer;
    transition: all 0.25s !important;
}
.tmch-download-gate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
.tmch-email-gate-message {
    margin-top: 14px;
    font-size: 0.9rem;
    text-align: center;
}
.tmch-email-gate-message.tmch-success {
    color: #059669;
    font-weight: 600;
}
.tmch-email-gate-message.tmch-error {
    color: #dc2626;
}
.tmch-privacy-note {
    margin: 18px 0 0;
    color: var(--tmch-muted);
    line-height: 1.5;
}

/* ============================================
   ADMIN (Dashboard widget)
   ============================================ */
.tmch-dashboard-stats {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}
.tmch-dashboard-stats li a {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px 14px;
    background: #f6f7f7;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    color: #1a1a1a;
    min-height: 72px;
    transition: all 0.2s;
}
.tmch-dashboard-stats li a:hover {
    border-color: #b8944e;
    background: #fff;
    color: #1a1a1a;
}
.tmch-dashboard-stats li.tmch-stat-total {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #1a2a4a, #0b666a) !important;
    color: #fff !important;
    border-color: transparent !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
}
.tmch-dashboard-stats li a strong {
    font-size: 1.4rem;
    color: #0b666a;
}
.tmch-dashboard-stats li.tmch-stat-total strong {
    color: #fff !important;
}

/* Admin Page */
.tmch-admin-wrap .tmch-admin-header {
    background: linear-gradient(135deg, #1a2a4a, #0b666a);
    color: #fff;
    padding: 20px 24px;
    border-radius: 8px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.tmch-admin-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.tmch-admin-logo .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
    color: #b8944e;
}
.tmch-admin-logo h2 {
    margin: 0;
    color: #fff;
    font-size: 1.3rem;
}
.tmch-admin-docs {
    background: #fff;
    padding: 24px 28px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    margin-top: 24px;
}
.tmch-doc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin: 20px 0 30px;
}
.tmch-doc-card {
    background: #f9fafb;
    padding: 18px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}
.tmch-doc-card h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    color: #1a2a4a;
    font-size: 1.05rem;
}
.tmch-doc-card h3 .dashicons {
    color: #b8944e;
}
.tmch-doc-card code {
    display: block;
    padding: 8px 10px;
    background: #1a2a4a;
    color: #fff;
    border-radius: 5px;
    font-size: 0.8rem;
    word-break: break-all;
    margin: 0 0 8px;
}
.tmch-doc-section {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}
