/*
Theme Name: Trending Techs Theme
Theme URI: https://trendingtechs.nl
Author: Jim
Author URI: https://trendingtechs.nl
Description: Custom theme voor Trending Techs blog - geoptimaliseerd voor product reviews en SEO
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: trending-techs-theme
Tags: blog, e-commerce, products, reviews, seo, custom
*/

/* ==========================================================================
   CSS Custom Properties
   ========================================================================== */

:root {
    /* Colors */
    --tt-primary: #0056b3;
    --tt-primary-dark: #004494;
    --tt-secondary: #6c757d;
    --tt-success: #28a745;
    --tt-warning: #ffc107;
    --tt-danger: #dc3545;

    /* Brand Colors */
    --tt-bol: #0000ff;
    --tt-amazon: #ff9900;

    /* Neutrals */
    --tt-white: #ffffff;
    --tt-gray-50: #f8f9fa;
    --tt-gray-100: #f1f3f5;
    --tt-gray-200: #e9ecef;
    --tt-gray-300: #dee2e6;
    --tt-gray-400: #ced4da;
    --tt-gray-500: #adb5bd;
    --tt-gray-600: #6c757d;
    --tt-gray-700: #495057;
    --tt-gray-800: #343a40;
    --tt-gray-900: #212529;

    /* Typography */
    --tt-font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --tt-font-mono: 'SF Mono', Monaco, 'Cascadia Code', Consolas, monospace;

    /* Spacing */
    --tt-space-xs: 0.25rem;
    --tt-space-sm: 0.5rem;
    --tt-space-md: 1rem;
    --tt-space-lg: 1.5rem;
    --tt-space-xl: 2rem;
    --tt-space-2xl: 3rem;
    --tt-space-3xl: 4rem;

    /* Layout */
    --tt-container-max: 1200px;
    --tt-content-max: 800px;
    --tt-header-height: 70px;

    /* Borders */
    --tt-radius-sm: 4px;
    --tt-radius-md: 8px;
    --tt-radius-lg: 12px;
    --tt-radius-xl: 16px;

    /* Shadows */
    --tt-shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --tt-shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --tt-shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --tt-shadow-xl: 0 20px 25px rgba(0,0,0,0.15);

    /* Transitions */
    --tt-transition-fast: 150ms ease;
    --tt-transition-normal: 250ms ease;
    --tt-transition-slow: 350ms ease;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--tt-font-sans);
    line-height: 1.6;
    color: var(--tt-gray-800);
    background: var(--tt-gray-50);
}

body.tt-single {
    padding-top: var(--tt-header-height);
}

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

a {
    color: var(--tt-primary);
    text-decoration: none;
    transition: color var(--tt-transition-fast);
}

a:hover {
    color: var(--tt-primary-dark);
}

/* ==========================================================================
   Accessibility
   ========================================================================== */

.tt-skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--tt-gray-900);
    color: var(--tt-white);
    padding: var(--tt-space-sm) var(--tt-space-md);
    border-radius: var(--tt-radius-md);
    z-index: 9999;
    transition: top var(--tt-transition-fast);
}

.tt-skip-link:focus {
    top: var(--tt-space-md);
    color: var(--tt-white);
}

/* ==========================================================================
   Container
   ========================================================================== */

.tt-container {
    max-width: var(--tt-container-max);
    margin: 0 auto;
    padding: 0 var(--tt-space-lg);
}

/* ==========================================================================
   Header
   ========================================================================== */

.tt-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--tt-white);
    border-bottom: 1px solid var(--tt-gray-200);
    z-index: 1000;
    height: var(--tt-header-height);
}

.tt-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--tt-header-height);
}

.tt-logo {
    display: flex;
    align-items: center;
    gap: var(--tt-space-sm);
}

.tt-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--tt-gray-900);
}

.tt-logo:hover .tt-logo-text {
    color: var(--tt-primary);
}

.tt-nav {
    display: none;
}

.tt-menu {
    display: flex;
    list-style: none;
    gap: var(--tt-space-lg);
}

.tt-menu li a {
    color: var(--tt-gray-700);
    font-weight: 500;
    padding: var(--tt-space-sm) 0;
    position: relative;
}

.tt-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--tt-primary);
    transition: width var(--tt-transition-normal);
}

.tt-menu li a:hover::after {
    width: 100%;
}

@media (min-width: 768px) {
    .tt-nav {
        display: block;
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.tt-hero {
    position: relative;
    width: 100%;
    height: 40vh;
    min-height: 300px;
    max-height: 500px;
    overflow: hidden;
    margin-bottom: calc(-1 * var(--tt-space-3xl));
}

.tt-hero-image {
    width: 100%;
    height: 100%;
}

.tt-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tt-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, var(--tt-gray-50), transparent);
}

/* ==========================================================================
   Main Content Area
   ========================================================================== */

.tt-main {
    min-height: calc(100vh - var(--tt-header-height) - 200px);
}

.tt-article {
    background: var(--tt-white);
    border-radius: var(--tt-radius-lg);
    box-shadow: var(--tt-shadow-md);
    margin-top: var(--tt-space-xl);
    margin-bottom: var(--tt-space-2xl);
    overflow: hidden;
}

/* ==========================================================================
   Article Header
   ========================================================================== */

.tt-article-header {
    padding: var(--tt-space-2xl) var(--tt-space-xl);
    border-bottom: 1px solid var(--tt-gray-200);
}

.tt-breadcrumb {
    font-size: 0.875rem;
    color: var(--tt-gray-600);
    margin-bottom: var(--tt-space-md);
}

.tt-breadcrumb a {
    color: var(--tt-gray-600);
}

.tt-breadcrumb a:hover {
    color: var(--tt-primary);
}

.tt-separator {
    margin: 0 var(--tt-space-sm);
    color: var(--tt-gray-400);
}

.tt-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--tt-gray-900);
    margin-bottom: var(--tt-space-lg);
}

.tt-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--tt-space-md) var(--tt-space-lg);
    color: var(--tt-gray-600);
    font-size: 0.875rem;
}

.tt-meta-item {
    display: flex;
    align-items: center;
    gap: var(--tt-space-xs);
}

.tt-meta-item svg {
    flex-shrink: 0;
    opacity: 0.7;
}

/* ==========================================================================
   Article Content
   ========================================================================== */

.tt-content {
    padding: var(--tt-space-2xl) var(--tt-space-xl);
    max-width: var(--tt-content-max);
    margin: 0 auto;
}

/* Headings */
.tt-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--tt-gray-900);
    margin: var(--tt-space-2xl) 0 var(--tt-space-md);
    padding-top: var(--tt-space-lg);
    border-top: 1px solid var(--tt-gray-200);
}

.tt-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.tt-content h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--tt-gray-800);
    margin: var(--tt-space-xl) 0 var(--tt-space-sm);
}

.tt-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--tt-gray-800);
    margin: var(--tt-space-lg) 0 var(--tt-space-sm);
}

/* Paragraphs */
.tt-content p {
    margin-bottom: var(--tt-space-md);
    color: var(--tt-gray-700);
}

/* Lists */
.tt-content ul,
.tt-content ol {
    margin: var(--tt-space-md) 0;
    padding-left: var(--tt-space-xl);
}

.tt-content li {
    margin-bottom: var(--tt-space-sm);
    color: var(--tt-gray-700);
}

/* Links in content */
.tt-content a {
    color: var(--tt-primary);
    text-decoration: underline;
    text-decoration-color: rgba(0, 86, 179, 0.3);
    text-underline-offset: 2px;
    transition: text-decoration-color var(--tt-transition-fast);
}

.tt-content a:hover {
    text-decoration-color: var(--tt-primary);
}

/* Images in content */
.tt-content img {
    border-radius: var(--tt-radius-md);
    margin: var(--tt-space-lg) 0;
}

.tt-content figure {
    margin: var(--tt-space-xl) 0;
}

.tt-content figcaption {
    font-size: 0.875rem;
    color: var(--tt-gray-600);
    text-align: center;
    margin-top: var(--tt-space-sm);
}

/* Blockquotes */
.tt-content blockquote {
    border-left: 4px solid var(--tt-primary);
    padding: var(--tt-space-md) var(--tt-space-lg);
    margin: var(--tt-space-lg) 0;
    background: var(--tt-gray-50);
    border-radius: 0 var(--tt-radius-md) var(--tt-radius-md) 0;
}

.tt-content blockquote p:last-child {
    margin-bottom: 0;
}

/* Code */
.tt-content code {
    font-family: var(--tt-font-mono);
    font-size: 0.875em;
    background: var(--tt-gray-100);
    padding: 0.2em 0.4em;
    border-radius: var(--tt-radius-sm);
}

.tt-content pre {
    background: var(--tt-gray-900);
    color: var(--tt-gray-100);
    padding: var(--tt-space-lg);
    border-radius: var(--tt-radius-md);
    overflow-x: auto;
    margin: var(--tt-space-lg) 0;
}

.tt-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

/* Tables */
.tt-content table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--tt-space-lg) 0;
    font-size: 0.9375rem;
}

.tt-content th,
.tt-content td {
    padding: var(--tt-space-sm) var(--tt-space-md);
    text-align: left;
    border-bottom: 1px solid var(--tt-gray-200);
}

.tt-content th {
    font-weight: 600;
    background: var(--tt-gray-50);
    color: var(--tt-gray-800);
}

.tt-content tr:hover {
    background: var(--tt-gray-50);
}

/* ==========================================================================
   Article Footer
   ========================================================================== */

.tt-article-footer {
    padding: var(--tt-space-xl);
    background: var(--tt-gray-50);
    border-top: 1px solid var(--tt-gray-200);
}

/* Tags */
.tt-tags {
    margin-bottom: var(--tt-space-lg);
}

.tt-tags-label {
    font-weight: 600;
    color: var(--tt-gray-700);
    margin-right: var(--tt-space-sm);
}

.tt-tags a {
    display: inline-block;
    background: var(--tt-white);
    color: var(--tt-gray-700);
    padding: var(--tt-space-xs) var(--tt-space-sm);
    border-radius: var(--tt-radius-sm);
    font-size: 0.875rem;
    margin-right: var(--tt-space-xs);
    margin-bottom: var(--tt-space-xs);
    border: 1px solid var(--tt-gray-200);
    transition: all var(--tt-transition-fast);
}

.tt-tags a:hover {
    background: var(--tt-primary);
    color: var(--tt-white);
    border-color: var(--tt-primary);
}

/* Share Buttons */
.tt-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--tt-space-md);
}

.tt-share-label {
    font-weight: 600;
    color: var(--tt-gray-700);
}

.tt-share-buttons {
    display: flex;
    gap: var(--tt-space-sm);
}

.tt-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--tt-radius-md);
    color: var(--tt-white);
    transition: transform var(--tt-transition-fast), opacity var(--tt-transition-fast);
}

.tt-share-btn:hover {
    transform: translateY(-2px);
    color: var(--tt-white);
    opacity: 0.9;
}

.tt-share-facebook { background: #1877f2; }
.tt-share-twitter { background: #1da1f2; }
.tt-share-whatsapp { background: #25d366; }
.tt-share-email { background: var(--tt-gray-600); }

/* ==========================================================================
   Related Posts
   ========================================================================== */

.tt-related {
    margin-top: var(--tt-space-2xl);
    padding-top: var(--tt-space-2xl);
}

.tt-related-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--tt-gray-900);
    margin-bottom: var(--tt-space-lg);
}

.tt-related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--tt-space-lg);
}

@media (min-width: 640px) {
    .tt-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .tt-related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.tt-related-card {
    display: block;
    background: var(--tt-white);
    border-radius: var(--tt-radius-md);
    box-shadow: var(--tt-shadow-sm);
    overflow: hidden;
    transition: transform var(--tt-transition-normal), box-shadow var(--tt-transition-normal);
}

.tt-related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--tt-shadow-lg);
}

.tt-related-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.tt-related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--tt-transition-slow);
}

.tt-related-card:hover .tt-related-image img {
    transform: scale(1.05);
}

.tt-related-content {
    padding: var(--tt-space-md);
}

.tt-related-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--tt-gray-900);
    line-height: 1.4;
    margin-bottom: var(--tt-space-xs);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tt-related-date {
    font-size: 0.8125rem;
    color: var(--tt-gray-500);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.tt-footer {
    background: var(--tt-gray-900);
    color: var(--tt-gray-300);
    padding: var(--tt-space-2xl) 0 var(--tt-space-lg);
    margin-top: var(--tt-space-3xl);
}

.tt-footer-inner {
    display: flex;
    flex-direction: column;
    gap: var(--tt-space-xl);
    padding-bottom: var(--tt-space-xl);
    border-bottom: 1px solid var(--tt-gray-700);
}

@media (min-width: 768px) {
    .tt-footer-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.tt-footer-brand {
    max-width: 300px;
}

.tt-footer-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--tt-white);
    display: block;
    margin-bottom: var(--tt-space-sm);
}

.tt-footer-desc {
    font-size: 0.875rem;
    color: var(--tt-gray-400);
    line-height: 1.6;
}

.tt-footer-menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: var(--tt-space-md) var(--tt-space-lg);
}

.tt-footer-menu a {
    color: var(--tt-gray-400);
    font-size: 0.875rem;
    transition: color var(--tt-transition-fast);
}

.tt-footer-menu a:hover {
    color: var(--tt-white);
}

.tt-footer-bottom {
    padding-top: var(--tt-space-lg);
    text-align: center;
    font-size: 0.8125rem;
    color: var(--tt-gray-500);
}

.tt-footer-bottom p {
    margin-bottom: var(--tt-space-xs);
}

.tt-affiliate-notice {
    font-size: 0.75rem;
    color: var(--tt-gray-600);
    font-style: italic;
}

/* ==========================================================================
   Table of Contents (Easy TOC Plugin Styles)
   ========================================================================== */

#ez-toc-container {
    background: var(--tt-gray-50) !important;
    border: 1px solid var(--tt-gray-200) !important;
    border-radius: var(--tt-radius-md) !important;
    padding: var(--tt-space-lg) !important;
    margin: var(--tt-space-xl) 0 !important;
    box-shadow: none !important;
}

.ez-toc-title-container {
    border-bottom: 1px solid var(--tt-gray-200);
    padding-bottom: var(--tt-space-sm);
    margin-bottom: var(--tt-space-md);
}

.ez-toc-title {
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: var(--tt-gray-800) !important;
}

#ez-toc-container nav ul {
    padding-left: var(--tt-space-md) !important;
}

#ez-toc-container nav ul li {
    margin-bottom: var(--tt-space-xs) !important;
}

#ez-toc-container nav ul li a {
    color: var(--tt-gray-700) !important;
    font-size: 0.9375rem !important;
    text-decoration: none !important;
}

#ez-toc-container nav ul li a:hover {
    color: var(--tt-primary) !important;
}

/* ==========================================================================
   Product Cards (Blog Content)
   ========================================================================== */

/* Product comparison table responsive */
.tt-content table[style*="border-collapse"] {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Product cards in blog */
.tt-content div[style*="display:flex"][style*="background:#fff"] {
    border-radius: var(--tt-radius-md) !important;
    box-shadow: var(--tt-shadow-md) !important;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.tt-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    .tt-header,
    .tt-footer,
    .tt-share,
    .tt-related,
    #ez-toc-container {
        display: none !important;
    }

    body.tt-single {
        padding-top: 0;
    }

    .tt-article {
        box-shadow: none;
        border: 1px solid #ccc;
    }

    .tt-content a::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }
}

/* ==========================================================================
   WordPress Core Overrides
   ========================================================================== */

.wp-block-image {
    margin: var(--tt-space-lg) 0;
}

.wp-block-image img {
    border-radius: var(--tt-radius-md);
}

.wp-block-image figcaption {
    font-size: 0.875rem;
    color: var(--tt-gray-600);
    text-align: center;
    margin-top: var(--tt-space-sm);
}

.alignleft {
    float: left;
    margin-right: var(--tt-space-lg);
    margin-bottom: var(--tt-space-md);
}

.alignright {
    float: right;
    margin-left: var(--tt-space-lg);
    margin-bottom: var(--tt-space-md);
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignwide {
    max-width: calc(var(--tt-content-max) + 100px);
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* WordPress Admin Bar adjustment */
body.admin-bar .tt-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .tt-header {
        top: 46px;
    }
}

/* ==========================================================================
   Two Column Layout
   ========================================================================== */

.tt-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--tt-space-2xl);
    align-items: start;
}

.tt-layout-main {
    min-width: 0; /* Prevent overflow */
}

.tt-layout-sidebar {
    position: sticky;
    top: calc(var(--tt-header-height) + var(--tt-space-lg));
    max-height: calc(100vh - var(--tt-header-height) - var(--tt-space-2xl));
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--tt-gray-300) transparent;
}

.tt-layout-sidebar::-webkit-scrollbar {
    width: 6px;
}

.tt-layout-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.tt-layout-sidebar::-webkit-scrollbar-thumb {
    background: var(--tt-gray-300);
    border-radius: 3px;
}

.tt-layout-sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--tt-gray-400);
}

/* Responsive: Stack on tablet/mobile */
@media (max-width: 1024px) {
    .tt-layout {
        grid-template-columns: 1fr;
        gap: var(--tt-space-xl);
    }

    .tt-layout-sidebar {
        position: static;
        max-height: none;
        overflow-y: visible;
    }
}

/* ==========================================================================
   Sidebar & Widget Styles
   ========================================================================== */

.tt-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--tt-space-lg);
}

/* Base Widget Styles */
.widget {
    background: var(--tt-white);
    border-radius: var(--tt-radius-lg);
    padding: var(--tt-space-lg);
    box-shadow: var(--tt-shadow-sm);
    border: 1px solid var(--tt-gray-100);
}

.widget-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--tt-gray-900);
    margin: 0 0 var(--tt-space-md) 0;
    padding-bottom: var(--tt-space-sm);
    border-bottom: 2px solid var(--tt-primary);
    display: flex;
    align-items: center;
    gap: var(--tt-space-sm);
}

.widget-title::before {
    content: '';
    width: 4px;
    height: 1.2em;
    background: var(--tt-primary);
    border-radius: 2px;
}

/* Widget Lists */
.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget ul li {
    padding: var(--tt-space-sm) 0;
    border-bottom: 1px solid var(--tt-gray-100);
    font-size: 0.9375rem;
}

.widget ul li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.widget ul li:first-child {
    padding-top: 0;
}

.widget ul li a {
    color: var(--tt-gray-700);
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--tt-transition-fast);
}

.widget ul li a:hover {
    color: var(--tt-primary);
    padding-left: var(--tt-space-xs);
}

/* Widget with counts (categories, archives) */
.widget ul li a .count,
.widget ul li span.count,
.widget_categories ul li a::after {
    background: var(--tt-gray-100);
    color: var(--tt-gray-600);
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 500;
    flex-shrink: 0;
    margin-left: var(--tt-space-sm);
}

/* Fix categories count display from WordPress */
.widget_categories ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.widget_categories ul li a {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: var(--tt-space-xs);
}

/* Search Widget */
.widget_search .search-form {
    display: flex;
    gap: var(--tt-space-xs);
}

.widget_search .search-field {
    flex: 1;
    padding: var(--tt-space-sm) var(--tt-space-md);
    border: 1px solid var(--tt-gray-200);
    border-radius: var(--tt-radius-md);
    font-size: 0.9375rem;
    transition: border-color var(--tt-transition-fast), box-shadow var(--tt-transition-fast);
}

.widget_search .search-field:focus {
    outline: none;
    border-color: var(--tt-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.widget_search .search-submit {
    background: var(--tt-primary);
    color: var(--tt-white);
    border: none;
    padding: var(--tt-space-sm) var(--tt-space-md);
    border-radius: var(--tt-radius-md);
    cursor: pointer;
    font-weight: 600;
    transition: background var(--tt-transition-fast);
}

.widget_search .search-submit:hover {
    background: var(--tt-primary-dark);
}

/* Recent Posts Widget */
.widget_recent_entries ul li {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.widget_recent_entries ul li a {
    font-weight: 500;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.widget_recent_entries ul li .post-date {
    font-size: 0.8125rem;
    color: var(--tt-gray-500);
}

/* Tag Cloud Widget */
.widget_tag_cloud .tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: var(--tt-space-xs);
}

.widget_tag_cloud .tagcloud a {
    display: inline-block;
    padding: var(--tt-space-xs) var(--tt-space-sm);
    background: var(--tt-gray-50);
    border: 1px solid var(--tt-gray-200);
    border-radius: var(--tt-radius-sm);
    font-size: 0.8125rem !important;
    color: var(--tt-gray-700);
    text-decoration: none;
    transition: all var(--tt-transition-fast);
}

.widget_tag_cloud .tagcloud a:hover {
    background: var(--tt-primary);
    border-color: var(--tt-primary);
    color: var(--tt-white);
}

/* Calendar Widget */
.widget_calendar table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    font-size: 0.875rem;
}

.widget_calendar caption {
    font-weight: 600;
    color: var(--tt-gray-900);
    padding-bottom: var(--tt-space-sm);
}

.widget_calendar th {
    padding: var(--tt-space-xs);
    font-weight: 600;
    color: var(--tt-gray-500);
    font-size: 0.75rem;
    text-transform: uppercase;
}

.widget_calendar td {
    padding: var(--tt-space-xs);
    color: var(--tt-gray-700);
}

.widget_calendar td a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--tt-primary);
    color: var(--tt-white);
    border-radius: 50%;
    text-decoration: none;
    font-weight: 600;
}

.widget_calendar #today {
    background: var(--tt-gray-100);
    border-radius: 50%;
}

/* Text Widget */
.widget_text .textwidget {
    font-size: 0.9375rem;
    color: var(--tt-gray-700);
    line-height: 1.7;
}

.widget_text .textwidget p:last-child {
    margin-bottom: 0;
}

/* Custom HTML Widget */
.widget_custom_html .custom-html-widget {
    font-size: 0.9375rem;
}

/* Image Widget */
.widget_media_image img {
    width: 100%;
    height: auto;
    border-radius: var(--tt-radius-md);
}

/* Navigation Menu Widget */
.widget_nav_menu ul li {
    position: relative;
}

.widget_nav_menu ul li a {
    padding-left: var(--tt-space-md);
}

.widget_nav_menu ul li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--tt-gray-300);
    border-radius: 50%;
    transition: background var(--tt-transition-fast);
}

.widget_nav_menu ul li a:hover::before {
    background: var(--tt-primary);
}

/* Recent Comments Widget */
.widget_recent_comments ul li {
    font-size: 0.875rem;
}

.widget_recent_comments ul li .comment-author-link {
    font-weight: 600;
    color: var(--tt-gray-900);
}

.widget_recent_comments ul li a {
    color: var(--tt-primary);
}

/* RSS Widget */
.widget_rss .rss-widget-icon {
    display: none;
}

.widget_rss ul li {
    margin-bottom: var(--tt-space-md);
    padding-bottom: var(--tt-space-md);
}

.widget_rss ul li .rsswidget {
    display: block;
    font-weight: 600;
    color: var(--tt-gray-900);
    margin-bottom: var(--tt-space-xs);
}

.widget_rss ul li .rss-date {
    font-size: 0.8125rem;
    color: var(--tt-gray-500);
    display: block;
    margin-bottom: var(--tt-space-xs);
}

.widget_rss ul li .rssSummary {
    font-size: 0.875rem;
    color: var(--tt-gray-600);
    line-height: 1.5;
}

/* Meta Widget */
.widget_meta ul li a {
    display: flex;
    align-items: center;
    gap: var(--tt-space-sm);
}

/* Archives Widget - Dropdown */
.widget_archive select,
.widget_categories select {
    width: 100%;
    padding: var(--tt-space-sm) var(--tt-space-md);
    border: 1px solid var(--tt-gray-200);
    border-radius: var(--tt-radius-md);
    font-size: 0.9375rem;
    color: var(--tt-gray-700);
    background: var(--tt-white);
    cursor: pointer;
    transition: border-color var(--tt-transition-fast);
}

.widget_archive select:focus,
.widget_categories select:focus {
    outline: none;
    border-color: var(--tt-primary);
}

/* Featured/Sticky Widget */
.widget.widget-featured {
    background: linear-gradient(135deg, #eff6ff, #f0fdf4);
    border-color: var(--tt-primary);
}

.widget.widget-featured .widget-title {
    color: var(--tt-primary);
}

/* CTA Widget (custom) */
.widget-cta {
    background: linear-gradient(135deg, var(--tt-primary), var(--tt-primary-dark));
    color: var(--tt-white);
    text-align: center;
}

.widget-cta .widget-title {
    color: var(--tt-white);
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.widget-cta .widget-title::before {
    background: var(--tt-white);
}

.widget-cta p {
    margin-bottom: var(--tt-space-md);
    opacity: 0.9;
}

.widget-cta .btn {
    display: inline-block;
    background: var(--tt-white);
    color: var(--tt-primary);
    padding: var(--tt-space-sm) var(--tt-space-lg);
    border-radius: var(--tt-radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: transform var(--tt-transition-fast), box-shadow var(--tt-transition-fast);
}

.widget-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Newsletter Widget (custom) */
.widget-newsletter {
    background: var(--tt-gray-900);
    color: var(--tt-white);
}

.widget-newsletter .widget-title {
    color: var(--tt-white);
    border-bottom-color: var(--tt-primary);
}

.widget-newsletter .widget-title::before {
    background: var(--tt-primary);
}

.widget-newsletter p {
    color: var(--tt-gray-300);
    font-size: 0.875rem;
    margin-bottom: var(--tt-space-md);
}

.widget-newsletter input[type="email"] {
    width: 100%;
    padding: var(--tt-space-sm) var(--tt-space-md);
    border: 1px solid var(--tt-gray-700);
    border-radius: var(--tt-radius-md);
    background: var(--tt-gray-800);
    color: var(--tt-white);
    font-size: 0.9375rem;
    margin-bottom: var(--tt-space-sm);
}

.widget-newsletter input[type="email"]::placeholder {
    color: var(--tt-gray-500);
}

.widget-newsletter input[type="email"]:focus {
    outline: none;
    border-color: var(--tt-primary);
}

.widget-newsletter button {
    width: 100%;
    padding: var(--tt-space-sm) var(--tt-space-md);
    background: var(--tt-primary);
    color: var(--tt-white);
    border: none;
    border-radius: var(--tt-radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: background var(--tt-transition-fast);
}

.widget-newsletter button:hover {
    background: var(--tt-primary-dark);
}

/* Social Links Widget (custom) */
.widget-social .social-links {
    display: flex;
    gap: var(--tt-space-sm);
}

.widget-social .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--tt-gray-100);
    border-radius: var(--tt-radius-md);
    color: var(--tt-gray-600);
    transition: all var(--tt-transition-fast);
}

.widget-social .social-links a:hover {
    background: var(--tt-primary);
    color: var(--tt-white);
}

.widget-social .social-links a.facebook:hover { background: #1877f2; }
.widget-social .social-links a.twitter:hover { background: #1da1f2; }
.widget-social .social-links a.instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.widget-social .social-links a.youtube:hover { background: #ff0000; }
.widget-social .social-links a.linkedin:hover { background: #0077b5; }

/* About Widget (custom) */
.widget-about {
    text-align: center;
}

.widget-about .about-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto var(--tt-space-md);
    object-fit: cover;
    border: 3px solid var(--tt-primary);
}

.widget-about .about-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--tt-gray-900);
    margin-bottom: var(--tt-space-xs);
}

.widget-about .about-role {
    font-size: 0.875rem;
    color: var(--tt-primary);
    margin-bottom: var(--tt-space-md);
}

.widget-about .about-bio {
    font-size: 0.875rem;
    color: var(--tt-gray-600);
    line-height: 1.6;
}

/* Responsive Widget Adjustments */
@media (max-width: 768px) {
    .widget {
        padding: var(--tt-space-md);
    }

    .widget-title {
        font-size: 0.9375rem;
    }
}

/* ==========================================================================
   GeneratePress / GP-Premium Sidebar Override
   Stijl de externe sidebar van GP-Premium plugin
   ========================================================================== */

/* Target GP sidebar widgets */
#right-sidebar .widget,
#right-sidebar .inside-right-sidebar aside,
.sidebar .widget,
aside.widget,
.slideout-widget,
#secondary .widget,
.widget-area .widget {
    background: var(--tt-white) !important;
    border-radius: var(--tt-radius-lg) !important;
    padding: var(--tt-space-lg) !important;
    box-shadow: var(--tt-shadow-sm) !important;
    border: 1px solid var(--tt-gray-100) !important;
    margin-bottom: var(--tt-space-lg) !important;
}

/* Widget titles voor GP sidebar */
#right-sidebar .widget-title,
#right-sidebar h2.widget-title,
.sidebar .widget-title,
aside.widget .widget-title,
#secondary .widget-title,
.widget-area .widget-title {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: var(--tt-gray-900) !important;
    margin: 0 0 var(--tt-space-md) 0 !important;
    padding-bottom: var(--tt-space-sm) !important;
    border-bottom: 2px solid var(--tt-primary) !important;
    position: relative !important;
    padding-left: var(--tt-space-md) !important;
}

#right-sidebar .widget-title::before,
.sidebar .widget-title::before,
aside.widget .widget-title::before,
#secondary .widget-title::before,
.widget-area .widget-title::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 4px !important;
    height: 1.2em !important;
    background: var(--tt-primary) !important;
    border-radius: 2px !important;
}

/* GP Sidebar lists */
#right-sidebar ul,
.sidebar ul,
#secondary ul,
.widget-area ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

#right-sidebar ul li,
.sidebar ul li,
#secondary ul li,
.widget-area ul li {
    padding: var(--tt-space-sm) 0 !important;
    border-bottom: 1px solid var(--tt-gray-100) !important;
    font-size: 0.9375rem !important;
}

#right-sidebar ul li:last-child,
.sidebar ul li:last-child,
#secondary ul li:last-child,
.widget-area ul li:last-child {
    border-bottom: none !important;
}

#right-sidebar ul li a,
.sidebar ul li a,
#secondary ul li a,
.widget-area ul li a {
    color: var(--tt-gray-700) !important;
    text-decoration: none !important;
    display: block !important;
    transition: all 0.2s ease !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

#right-sidebar ul li a:hover,
.sidebar ul li a:hover,
#secondary ul li a:hover,
.widget-area ul li a:hover {
    color: var(--tt-primary) !important;
    padding-left: var(--tt-space-xs) !important;
}

/* Hide external sidebar on single posts if we have our own */
.tt-single #right-sidebar,
.tt-single .sidebar:not(.tt-sidebar),
.tt-single #secondary {
    display: none !important;
}

/* ==========================================================================
   Header Styles
   ========================================================================== */

.tt-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--tt-white);
    border-bottom: 1px solid var(--tt-gray-100);
    transition: all var(--tt-transition-fast);
}

.tt-header-scrolled {
    box-shadow: var(--tt-shadow-md);
}

.tt-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--tt-space-sm) 0;
    gap: var(--tt-space-md);
    min-height: 70px;
}

.tt-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.tt-logo-link {
    text-decoration: none;
}

.tt-logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--tt-gray-900);
    letter-spacing: -0.02em;
}

/* Custom logo styling - WordPress wraps it in .custom-logo-link */
.tt-logo .custom-logo-link {
    display: flex;
    align-items: center;
}

.tt-logo img,
.tt-logo .custom-logo-link img,
.tt-logo .custom-logo {
    max-height: 55px;
    width: auto;
    height: auto;
    display: block;
}

/* Ensure header stays fixed height */
@media (min-width: 901px) {
    .tt-header-inner {
        min-height: 70px;
    }
}

.tt-nav {
    display: flex;
    align-items: center;
    gap: var(--tt-space-sm);
    flex: 1;
    justify-content: flex-end;
}

.tt-menu {
    display: flex;
    flex-wrap: nowrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2px;
    align-items: center;
}

.tt-menu li {
    position: relative;
    white-space: nowrap;
}

.tt-menu li a {
    display: block;
    padding: var(--tt-space-xs) var(--tt-space-sm);
    color: var(--tt-gray-700);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: var(--tt-radius-md);
    transition: all var(--tt-transition-fast);
    white-space: nowrap;
}

.tt-menu li a:hover,
.tt-menu li.current-menu-item > a {
    color: var(--tt-primary);
    background: var(--tt-gray-50);
}

/* Submenu */
.tt-menu li ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--tt-white);
    border-radius: var(--tt-radius-lg);
    box-shadow: var(--tt-shadow-lg);
    padding: var(--tt-space-sm);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--tt-transition-fast);
    z-index: 100;
    flex-direction: column;
}

.tt-menu li:hover > ul.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tt-menu li ul.sub-menu li {
    width: 100%;
}

.tt-menu li ul.sub-menu li a {
    padding: var(--tt-space-sm) var(--tt-space-md);
    font-size: 0.8125rem;
    white-space: normal;
}

/* Mobile Menu Toggle */
.tt-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: var(--tt-space-sm);
    cursor: pointer;
    z-index: 1002;
}

.tt-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 24px;
}

.tt-hamburger span {
    display: block;
    height: 2px;
    background: var(--tt-gray-700);
    border-radius: 1px;
    transition: all var(--tt-transition-fast);
}

/* Search Toggle */
.tt-nav-search {
    position: relative;
    flex-shrink: 0;
}

/* Hide search dropdown by default */
.tt-search-dropdown {
    display: none;
}

.tt-search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--tt-gray-100);
    border: none;
    border-radius: var(--tt-radius-md);
    cursor: pointer;
    color: var(--tt-gray-600);
    transition: all var(--tt-transition-fast);
}

.tt-search-toggle:hover {
    background: var(--tt-primary);
    color: var(--tt-white);
}

/* Search Overlay */
.tt-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--tt-transition-base);
}

.tt-search-overlay.tt-active {
    opacity: 1;
    visibility: visible;
}

.tt-search-overlay-inner {
    width: 100%;
    max-width: 600px;
    padding: var(--tt-space-xl);
}

.tt-search-close {
    position: absolute;
    top: var(--tt-space-lg);
    right: var(--tt-space-lg);
    background: none;
    border: none;
    color: var(--tt-white);
    cursor: pointer;
    padding: var(--tt-space-sm);
}

.tt-search-overlay-form h2 {
    color: var(--tt-white);
    margin-bottom: var(--tt-space-lg);
    text-align: center;
}

.tt-search-overlay-form .search-form {
    display: flex;
    gap: var(--tt-space-sm);
}

.tt-search-overlay-form .search-field {
    flex: 1;
    padding: var(--tt-space-md) var(--tt-space-lg);
    font-size: 1.125rem;
    border: 2px solid transparent;
    border-radius: var(--tt-radius-lg);
    background: var(--tt-white);
}

.tt-search-overlay-form .search-field:focus {
    outline: none;
    border-color: var(--tt-primary);
}

.tt-search-overlay-form .search-submit {
    padding: var(--tt-space-md) var(--tt-space-xl);
    background: var(--tt-primary);
    color: var(--tt-white);
    border: none;
    border-radius: var(--tt-radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: background var(--tt-transition-fast);
}

.tt-search-overlay-form .search-submit:hover {
    background: var(--tt-primary-dark);
}

/* Tablet/Desktop Menu Adjustments */
@media (max-width: 1100px) {
    .tt-menu li a {
        padding: var(--tt-space-xs) 6px;
        font-size: 0.8125rem;
    }
}

/* Mobile Navigation */
@media (max-width: 900px) {
    .tt-menu-toggle {
        display: block;
        order: 3;
    }

    .tt-search-toggle {
        order: 2;
    }

    .tt-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--tt-white);
        flex-direction: column;
        align-items: flex-start;
        padding: var(--tt-space-3xl) var(--tt-space-lg) var(--tt-space-lg);
        box-shadow: var(--tt-shadow-xl);
        transition: right var(--tt-transition-base);
        z-index: 1001;
        justify-content: flex-start;
        overflow-y: auto;
    }

    .tt-nav.tt-nav-open {
        right: 0;
    }

    .tt-menu {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .tt-menu li {
        width: 100%;
        border-bottom: 1px solid var(--tt-gray-100);
    }

    .tt-menu li:last-child {
        border-bottom: none;
    }

    .tt-menu li a {
        padding: var(--tt-space-md);
        font-size: 1rem;
    }

    .tt-menu li ul.sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: var(--tt-space-md);
    }

    .tt-nav-search {
        width: 100%;
        margin-top: var(--tt-space-lg);
    }

    .tt-search-toggle {
        width: 100%;
        justify-content: flex-start;
        gap: var(--tt-space-sm);
    }

    .tt-search-toggle::after {
        content: 'Zoeken';
    }
}

body.tt-menu-open {
    overflow: hidden;
}

body.tt-no-scroll {
    overflow: hidden;
}

/* ==========================================================================
   Footer Styles
   ========================================================================== */

.tt-footer {
    background: var(--tt-gray-900);
    color: var(--tt-gray-300);
    padding: var(--tt-space-3xl) 0 var(--tt-space-lg);
    margin-top: var(--tt-space-3xl);
}

.tt-footer-widgets {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--tt-space-2xl);
    padding-bottom: var(--tt-space-2xl);
    border-bottom: 1px solid var(--tt-gray-800);
}

.tt-footer-about {
    grid-column: span 1;
}

.tt-footer-logo {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--tt-white);
    margin-bottom: var(--tt-space-md);
}

.tt-footer-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: var(--tt-space-lg);
}

.tt-footer-social {
    display: flex;
    gap: var(--tt-space-sm);
}

.tt-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--tt-gray-800);
    border-radius: var(--tt-radius-md);
    color: var(--tt-gray-400);
    transition: all var(--tt-transition-fast);
}

.tt-social-link:hover {
    background: var(--tt-primary);
    color: var(--tt-white);
}

.tt-footer-widget-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--tt-white);
    margin-bottom: var(--tt-space-md);
}

.tt-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tt-footer-links li {
    margin-bottom: var(--tt-space-sm);
}

.tt-footer-links a {
    color: var(--tt-gray-400);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color var(--tt-transition-fast);
}

.tt-footer-links a:hover {
    color: var(--tt-white);
}

.tt-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--tt-space-md);
    padding-top: var(--tt-space-lg);
    font-size: 0.875rem;
}

.tt-footer-bottom p {
    margin: 0;
}

.tt-affiliate-notice {
    font-size: 0.8125rem;
    color: var(--tt-gray-500);
}

.tt-footer-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--tt-space-lg);
}

.tt-footer-menu a {
    color: var(--tt-gray-400);
    text-decoration: none;
    font-size: 0.875rem;
}

.tt-footer-menu a:hover {
    color: var(--tt-white);
}

/* Back to Top */
.tt-back-to-top {
    position: fixed;
    bottom: var(--tt-space-lg);
    right: var(--tt-space-lg);
    width: 48px;
    height: 48px;
    background: var(--tt-primary);
    color: var(--tt-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--tt-shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--tt-transition-fast);
    z-index: 100;
}

.tt-back-to-top.tt-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tt-back-to-top:hover {
    background: var(--tt-primary-dark);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .tt-footer-widgets {
        grid-template-columns: 1fr 1fr;
        gap: var(--tt-space-xl);
    }

    .tt-footer-about {
        grid-column: span 2;
    }

    .tt-footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .tt-footer-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .tt-footer-widgets {
        grid-template-columns: 1fr;
    }

    .tt-footer-about {
        grid-column: span 1;
    }
}

/* ==========================================================================
   Homepage Styles
   ========================================================================== */

/* Hero Section */
.tt-hero-home {
    position: relative;
    padding: var(--tt-space-3xl) 0;
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    overflow: hidden;
}

.tt-hero-home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 50px 50px;
    opacity: 0.5;
}

.tt-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.tt-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--tt-white);
    margin-bottom: var(--tt-space-md);
    line-height: 1.2;
}

.tt-highlight {
    color: var(--tt-primary-light);
    position: relative;
}

.tt-hero-subtitle {
    font-size: 1.125rem;
    color: var(--tt-gray-300);
    margin-bottom: var(--tt-space-xl);
    line-height: 1.7;
}

.tt-hero-search {
    max-width: 500px;
    margin: 0 auto var(--tt-space-lg);
}

.tt-hero-search .search-form {
    display: flex;
    gap: var(--tt-space-sm);
}

.tt-hero-search .search-field {
    flex: 1;
    padding: var(--tt-space-md) var(--tt-space-lg);
    font-size: 1rem;
    border: none;
    border-radius: var(--tt-radius-lg);
    background: var(--tt-white);
}

.tt-hero-search .search-submit {
    padding: var(--tt-space-md) var(--tt-space-xl);
    background: var(--tt-primary);
    color: var(--tt-white);
    border: none;
    border-radius: var(--tt-radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: background var(--tt-transition-fast);
}

.tt-hero-search .search-submit:hover {
    background: var(--tt-primary-dark);
}

.tt-hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--tt-space-sm);
    color: var(--tt-gray-400);
    font-size: 0.875rem;
}

.tt-tag {
    display: inline-block;
    padding: var(--tt-space-xs) var(--tt-space-md);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--tt-radius-full);
    color: var(--tt-gray-300);
    text-decoration: none;
    transition: all var(--tt-transition-fast);
}

.tt-tag:hover {
    background: var(--tt-primary);
    color: var(--tt-white);
}

/* Section Styles */
.tt-section {
    padding: var(--tt-space-3xl) 0;
}

.tt-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--tt-space-xl);
    flex-wrap: wrap;
    gap: var(--tt-space-md);
}

.tt-section-title {
    display: flex;
    align-items: center;
    gap: var(--tt-space-sm);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--tt-gray-900);
    margin: 0;
}

.tt-section-title svg {
    color: var(--tt-primary);
}

.tt-section-link {
    display: inline-flex;
    align-items: center;
    gap: var(--tt-space-xs);
    color: var(--tt-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: gap var(--tt-transition-fast);
}

.tt-section-link:hover {
    gap: var(--tt-space-sm);
}

/* Featured Grid */
.tt-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--tt-space-lg);
}

.tt-featured-card {
    border-radius: var(--tt-radius-xl);
    overflow: hidden;
    background: var(--tt-white);
    box-shadow: var(--tt-shadow-sm);
    transition: all var(--tt-transition-base);
}

.tt-featured-card:hover {
    box-shadow: var(--tt-shadow-lg);
    transform: translateY(-4px);
}

.tt-featured-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    height: 100%;
}

.tt-featured-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--tt-gray-100);
}

.tt-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--tt-transition-base);
}

.tt-featured-card:hover .tt-featured-image img {
    transform: scale(1.05);
}

.tt-featured-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tt-gray-100);
    color: var(--tt-gray-400);
}

.tt-featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    pointer-events: none;
}

.tt-featured-content {
    padding: var(--tt-space-md);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tt-featured-cat {
    display: inline-block;
    padding: 4px 10px;
    background: var(--tt-primary);
    color: var(--tt-white);
    border-radius: var(--tt-radius-sm);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--tt-space-sm);
    align-self: flex-start;
}

.tt-featured-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--tt-gray-900);
    margin: 0 0 auto;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tt-featured-meta {
    display: flex;
    align-items: center;
    font-size: 0.8125rem;
    color: var(--tt-gray-500);
    margin-top: var(--tt-space-sm);
    padding-top: var(--tt-space-sm);
    border-top: 1px solid var(--tt-gray-100);
}

.tt-featured-date {
    color: var(--tt-gray-500);
}

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

@media (max-width: 640px) {
    .tt-featured-grid {
        grid-template-columns: 1fr;
        gap: var(--tt-space-md);
    }

    .tt-featured-card {
        display: flex;
        flex-direction: row;
    }

    .tt-featured-link {
        flex-direction: row;
        width: 100%;
    }

    .tt-featured-image {
        width: 120px;
        aspect-ratio: 1;
        flex-shrink: 0;
    }

    .tt-featured-content {
        padding: var(--tt-space-sm) var(--tt-space-md);
        justify-content: center;
    }

    .tt-featured-title {
        font-size: 0.9375rem;
        -webkit-line-clamp: 2;
    }

    .tt-featured-meta {
        border-top: none;
        padding-top: 0;
    }
}

/* Categories Grid */
.tt-categories-section {
    background: var(--tt-gray-50);
}

.tt-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--tt-space-md);
}

.tt-category-card {
    position: relative;
    height: 160px;
    border-radius: var(--tt-radius-xl);
    overflow: hidden;
    text-decoration: none;
    transition: transform var(--tt-transition-fast);
}

.tt-category-card:hover {
    transform: translateY(-4px);
}

.tt-category-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--tt-primary), var(--tt-primary-dark));
    background-size: cover;
    background-position: center;
}

.tt-category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.3));
}

.tt-category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--tt-space-lg);
    color: var(--tt-white);
    z-index: 1;
}

.tt-category-name {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 var(--tt-space-xs);
}

.tt-category-count {
    font-size: 0.8125rem;
    opacity: 0.8;
}

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

@media (max-width: 480px) {
    .tt-categories-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--tt-space-sm);
    }

    .tt-category-card {
        height: 120px;
    }
}

/* Posts Grid */
.tt-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--tt-space-lg);
}

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

.tt-post-card {
    background: var(--tt-white);
    border-radius: var(--tt-radius-xl);
    overflow: hidden;
    box-shadow: var(--tt-shadow-sm);
    transition: all var(--tt-transition-base);
}

.tt-post-card:hover {
    box-shadow: var(--tt-shadow-lg);
    transform: translateY(-4px);
}

.tt-post-link {
    display: block;
    text-decoration: none;
}

.tt-post-image {
    height: 180px;
    overflow: hidden;
}

.tt-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--tt-transition-base);
}

.tt-post-card:hover .tt-post-image img {
    transform: scale(1.05);
}

.tt-post-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tt-gray-100);
    color: var(--tt-gray-400);
}

.tt-post-content {
    padding: var(--tt-space-lg);
}

.tt-post-cat {
    display: inline-block;
    padding: var(--tt-space-xs) var(--tt-space-sm);
    background: var(--tt-gray-100);
    color: var(--tt-primary);
    border-radius: var(--tt-radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--tt-space-sm);
}

.tt-post-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--tt-gray-900);
    margin: 0 0 var(--tt-space-sm);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tt-post-excerpt {
    font-size: 0.9375rem;
    color: var(--tt-gray-600);
    margin: 0 0 var(--tt-space-md);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tt-post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
    color: var(--tt-gray-500);
}

.tt-post-author,
.tt-post-date {
    display: flex;
    align-items: center;
    gap: var(--tt-space-xs);
}

.tt-post-read-more {
    color: var(--tt-primary);
    font-weight: 600;
}

/* Horizontal Post Card */
.tt-post-horizontal {
    display: flex;
    flex-direction: row;
}

.tt-post-horizontal .tt-post-link {
    display: flex;
    width: 100%;
}

.tt-post-horizontal .tt-post-image {
    width: 280px;
    height: auto;
    min-height: 200px;
    flex-shrink: 0;
}

.tt-post-horizontal .tt-post-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.tt-posts-list {
    display: flex;
    flex-direction: column;
    gap: var(--tt-space-lg);
}

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

@media (max-width: 768px) {
    .tt-posts-grid {
        grid-template-columns: 1fr;
    }

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

    .tt-post-horizontal {
        flex-direction: column;
    }

    .tt-post-horizontal .tt-post-image {
        width: 100%;
        height: 200px;
    }
}

/* Newsletter Section */
.tt-newsletter-section {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
}

.tt-newsletter-box {
    display: flex;
    align-items: center;
    gap: var(--tt-space-3xl);
}

.tt-newsletter-content {
    flex: 1;
}

.tt-newsletter-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--tt-white);
    margin: 0 0 var(--tt-space-sm);
}

.tt-newsletter-desc {
    font-size: 1rem;
    color: var(--tt-gray-300);
    margin: 0;
}

.tt-newsletter-form {
    flex: 1;
}

.tt-form-group {
    display: flex;
    gap: var(--tt-space-sm);
}

.tt-input {
    flex: 1;
    padding: var(--tt-space-md) var(--tt-space-lg);
    font-size: 1rem;
    border: none;
    border-radius: var(--tt-radius-lg);
    background: var(--tt-white);
}

.tt-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3);
}

.tt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--tt-space-sm);
    padding: var(--tt-space-md) var(--tt-space-xl);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--tt-radius-lg);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--tt-transition-fast);
}

.tt-btn-primary {
    background: var(--tt-primary);
    color: var(--tt-white);
}

.tt-btn-primary:hover {
    background: var(--tt-primary-dark);
}

.tt-btn-outline {
    background: transparent;
    color: var(--tt-gray-700);
    border: 2px solid var(--tt-gray-300);
}

.tt-btn-outline:hover {
    border-color: var(--tt-primary);
    color: var(--tt-primary);
}

.tt-btn-lg {
    padding: var(--tt-space-md) var(--tt-space-2xl);
    font-size: 1.125rem;
}

.tt-form-notice {
    font-size: 0.8125rem;
    color: var(--tt-gray-400);
    margin-top: var(--tt-space-sm);
}

.tt-form-notice a {
    color: var(--tt-gray-300);
}

@media (max-width: 768px) {
    .tt-newsletter-box {
        flex-direction: column;
        text-align: center;
    }

    .tt-form-group {
        flex-direction: column;
    }
}

/* Trust Section */
.tt-trust-section {
    background: var(--tt-gray-50);
}

.tt-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--tt-space-xl);
}

.tt-trust-item {
    text-align: center;
    padding: var(--tt-space-lg);
}

.tt-trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--tt-white);
    border-radius: 50%;
    color: var(--tt-primary);
    margin-bottom: var(--tt-space-md);
    box-shadow: var(--tt-shadow-md);
}

.tt-trust-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--tt-gray-900);
    margin: 0 0 var(--tt-space-sm);
}

.tt-trust-desc {
    font-size: 0.9375rem;
    color: var(--tt-gray-600);
    margin: 0;
}

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

@media (max-width: 480px) {
    .tt-trust-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Page Header Styles
   ========================================================================== */

.tt-page-header {
    text-align: center;
    padding: var(--tt-space-2xl) 0;
    margin-bottom: var(--tt-space-xl);
}

.tt-page-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--tt-gray-900);
    margin: var(--tt-space-md) 0;
}

.tt-page-desc {
    font-size: 1.125rem;
    color: var(--tt-gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.tt-archive-header {
    padding-bottom: var(--tt-space-xl);
    border-bottom: 1px solid var(--tt-gray-200);
}

.tt-archive-icon {
    margin-bottom: var(--tt-space-md);
    color: var(--tt-primary);
}

.tt-archive-icon img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.tt-archive-count {
    display: inline-block;
    padding: var(--tt-space-xs) var(--tt-space-md);
    background: var(--tt-gray-100);
    border-radius: var(--tt-radius-full);
    font-size: 0.875rem;
    color: var(--tt-gray-600);
    margin-top: var(--tt-space-md);
}

/* ==========================================================================
   Search Page Styles
   ========================================================================== */

.tt-search-header {
    padding-bottom: var(--tt-space-xl);
}

.tt-search-icon {
    color: var(--tt-primary);
    margin-bottom: var(--tt-space-md);
}

.tt-search-term {
    color: var(--tt-primary);
}

.tt-search-again {
    max-width: 500px;
    margin: var(--tt-space-lg) auto 0;
}

.tt-search-again .search-form {
    display: flex;
    gap: var(--tt-space-sm);
}

.tt-search-again .search-field {
    flex: 1;
    padding: var(--tt-space-sm) var(--tt-space-md);
    border: 2px solid var(--tt-gray-200);
    border-radius: var(--tt-radius-lg);
    font-size: 1rem;
}

.tt-search-again .search-field:focus {
    outline: none;
    border-color: var(--tt-primary);
}

.tt-search-again .search-submit {
    padding: var(--tt-space-sm) var(--tt-space-lg);
    background: var(--tt-primary);
    color: var(--tt-white);
    border: none;
    border-radius: var(--tt-radius-lg);
    font-weight: 600;
    cursor: pointer;
}

.tt-search-result-type {
    display: inline-block;
    padding: var(--tt-space-xs) var(--tt-space-sm);
    background: var(--tt-gray-100);
    color: var(--tt-gray-600);
    border-radius: var(--tt-radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: var(--tt-space-sm);
}

.tt-post-excerpt mark {
    background: #fef08a;
    padding: 0 2px;
    border-radius: 2px;
}

/* No Results */
.tt-no-results,
.tt-no-posts {
    text-align: center;
    padding: var(--tt-space-3xl) var(--tt-space-lg);
}

.tt-no-results-icon {
    color: var(--tt-gray-400);
    margin-bottom: var(--tt-space-lg);
}

.tt-no-results h2,
.tt-no-posts h2 {
    font-size: 1.5rem;
    color: var(--tt-gray-900);
    margin-bottom: var(--tt-space-sm);
}

.tt-no-results p,
.tt-no-posts p {
    color: var(--tt-gray-600);
    margin-bottom: var(--tt-space-lg);
}

.tt-no-results-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--tt-space-sm);
    margin-bottom: var(--tt-space-xl);
}

/* ==========================================================================
   404 Page Styles
   ========================================================================== */

.tt-404 {
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.tt-404-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: var(--tt-space-2xl) var(--tt-space-lg);
}

.tt-404-visual {
    position: relative;
    margin-bottom: var(--tt-space-xl);
}

.tt-404-number {
    font-size: 8rem;
    font-weight: 900;
    color: var(--tt-gray-100);
    line-height: 1;
}

.tt-404-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--tt-gray-400);
}

.tt-404-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--tt-gray-900);
    margin-bottom: var(--tt-space-md);
}

.tt-404-desc {
    font-size: 1.125rem;
    color: var(--tt-gray-600);
    margin-bottom: var(--tt-space-xl);
}

.tt-404-search {
    max-width: 400px;
    margin: 0 auto var(--tt-space-2xl);
}

.tt-404-search p {
    font-weight: 600;
    color: var(--tt-gray-700);
    margin-bottom: var(--tt-space-sm);
}

.tt-404-suggestions h2,
.tt-404-recent h2 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--tt-gray-900);
    margin-bottom: var(--tt-space-md);
}

.tt-404-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--tt-space-sm);
    margin-bottom: var(--tt-space-2xl);
}

.tt-404-cat-link {
    display: flex;
    flex-direction: column;
    padding: var(--tt-space-md);
    background: var(--tt-gray-50);
    border-radius: var(--tt-radius-lg);
    text-decoration: none;
    transition: all var(--tt-transition-fast);
}

.tt-404-cat-link:hover {
    background: var(--tt-primary);
}

.tt-404-cat-name {
    font-weight: 600;
    color: var(--tt-gray-900);
}

.tt-404-cat-link:hover .tt-404-cat-name {
    color: var(--tt-white);
}

.tt-404-cat-count {
    font-size: 0.8125rem;
    color: var(--tt-gray-500);
}

.tt-404-cat-link:hover .tt-404-cat-count {
    color: var(--tt-gray-200);
}

.tt-404-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--tt-space-md);
    margin-bottom: var(--tt-space-2xl);
}

.tt-404-post {
    display: flex;
    align-items: center;
    gap: var(--tt-space-md);
    padding: var(--tt-space-sm);
    background: var(--tt-white);
    border-radius: var(--tt-radius-lg);
    box-shadow: var(--tt-shadow-sm);
    text-decoration: none;
    transition: all var(--tt-transition-fast);
}

.tt-404-post:hover {
    box-shadow: var(--tt-shadow-md);
}

.tt-404-post-image {
    width: 60px;
    height: 60px;
    border-radius: var(--tt-radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

.tt-404-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tt-404-post-content {
    text-align: left;
}

.tt-404-post-content h3 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--tt-gray-900);
    margin: 0 0 var(--tt-space-xs);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tt-404-post-content span {
    font-size: 0.75rem;
    color: var(--tt-gray-500);
}

.tt-404-actions {
    display: flex;
    justify-content: center;
    gap: var(--tt-space-md);
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .tt-404-number {
        font-size: 5rem;
    }

    .tt-404-categories {
        grid-template-columns: repeat(2, 1fr);
    }

    .tt-404-posts {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Pagination Styles
   ========================================================================== */

.tt-pagination {
    margin-top: var(--tt-space-2xl);
}

.tt-pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--tt-space-xs);
    flex-wrap: wrap;
}

.tt-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 var(--tt-space-sm);
    background: var(--tt-white);
    border: 1px solid var(--tt-gray-200);
    border-radius: var(--tt-radius-md);
    color: var(--tt-gray-700);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--tt-transition-fast);
}

.tt-pagination .page-numbers:hover {
    background: var(--tt-gray-50);
    border-color: var(--tt-primary);
    color: var(--tt-primary);
}

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

.tt-pagination .prev,
.tt-pagination .next {
    gap: var(--tt-space-xs);
}

.tt-pagination .dots {
    border: none;
    background: none;
}

/* ==========================================================================
   Page Template Styles
   ========================================================================== */

.tt-page-article {
    max-width: 800px;
    margin: 0 auto;
}

.tt-page-featured-image {
    margin-bottom: var(--tt-space-xl);
    border-radius: var(--tt-radius-xl);
    overflow: hidden;
}

.tt-page-featured-image img {
    width: 100%;
    height: auto;
}

.tt-page-links {
    margin-top: var(--tt-space-xl);
    padding: var(--tt-space-md);
    background: var(--tt-gray-50);
    border-radius: var(--tt-radius-lg);
}

.tt-page-links-title {
    font-weight: 600;
    margin-right: var(--tt-space-md);
}

.tt-page-link {
    display: inline-block;
    margin: 0 var(--tt-space-xs);
    padding: var(--tt-space-xs) var(--tt-space-sm);
    background: var(--tt-white);
    border-radius: var(--tt-radius-sm);
}

.tt-child-pages {
    margin-top: var(--tt-space-3xl);
    padding-top: var(--tt-space-2xl);
    border-top: 1px solid var(--tt-gray-200);
}

.tt-child-pages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--tt-space-lg);
    margin-top: var(--tt-space-xl);
}

.tt-child-page-card {
    display: block;
    background: var(--tt-white);
    border-radius: var(--tt-radius-xl);
    overflow: hidden;
    box-shadow: var(--tt-shadow-sm);
    text-decoration: none;
    transition: all var(--tt-transition-base);
}

.tt-child-page-card:hover {
    box-shadow: var(--tt-shadow-lg);
    transform: translateY(-4px);
}

.tt-child-page-image {
    height: 150px;
    overflow: hidden;
}

.tt-child-page-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tt-child-page-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--tt-gray-900);
    margin: 0;
    padding: var(--tt-space-md);
}

.tt-child-page-excerpt {
    font-size: 0.875rem;
    color: var(--tt-gray-600);
    margin: 0;
    padding: 0 var(--tt-space-md) var(--tt-space-md);
}

@media (max-width: 768px) {
    .tt-child-pages-grid {
        grid-template-columns: 1fr;
    }
}
