/* ==========================================================================
   TANKEE.DE – WordPress Theme Styles
   Tanken. Sparen. Danke, Tankee!

   Farbwelt:
   Tankee-Rot   #E24B4A — Primär, Kappe, CTAs, Logo-Akzent
   Hamster-Gold  #F5C47A — Maskottchen, warme Akzente
   Creme-Weiß    #FFF0D4 — Helle Flächen, Cards
   Anthrazit     #2C1810 — Text, Kontraste
   Spar-Grün     #4CAF50 — Ersparnisse, günstigste Preise
   ========================================================================== */

:root {
    --tk-rot: #E24B4A;
    --tk-rot-hover: #c93c3b;
    --tk-rot-light: #fce8e8;
    --tk-rot-ultra-light: #fef5f5;
    --tk-gold: #F5C47A;
    --tk-gold-dark: #e5a84a;
    --tk-gold-light: #fdf3e0;
    --tk-creme: #FFF0D4;
    --tk-creme-dark: #f5e0b8;
    --tk-anthrazit: #2C1810;
    --tk-anthrazit-light: #5a4437;
    --tk-gruen: #4CAF50;
    --tk-gruen-hover: #43a047;
    --tk-gruen-light: #e8f5e9;

    --tk-primary: var(--tk-rot);
    --tk-primary-hover: var(--tk-rot-hover);
    --tk-primary-light: var(--tk-rot-light);
    --tk-accent: var(--tk-gruen);
    --tk-accent-hover: var(--tk-gruen-hover);
    --tk-accent-light: var(--tk-gruen-light);

    --tk-text: var(--tk-anthrazit);
    --tk-text-secondary: #6b5549;
    --tk-text-muted: #a08e82;
    --tk-border: #e8ddd4;
    --tk-bg: #ffffff;
    --tk-bg-soft: #fefaf5;
    --tk-bg-warm: var(--tk-creme);
    --tk-bg-section: #f9f3ec;

    --tk-font-display: 'Nunito', sans-serif;
    --tk-font-body: 'DM Sans', sans-serif;

    --tk-max-width: 1200px;
    --tk-header-height: 72px;
    --tk-radius: 14px;
    --tk-radius-sm: 10px;
    --tk-radius-xs: 6px;

    --tk-shadow-xs: 0 1px 2px rgba(44,24,16,0.04);
    --tk-shadow-sm: 0 2px 8px rgba(44,24,16,0.06);
    --tk-shadow-md: 0 4px 20px rgba(44,24,16,0.08);
    --tk-shadow-lg: 0 8px 32px rgba(44,24,16,0.10);

    --tk-ease: cubic-bezier(0.4, 0, 0.2, 1);
    --tk-duration: 0.2s;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; font-size: 16px; }
body { font-family: var(--tk-font-body); color: var(--tk-text); background: var(--tk-bg); line-height: 1.6; overflow-x: hidden; }
a { color: var(--tk-primary); text-decoration: none; transition: color var(--tk-duration) var(--tk-ease); }
a:hover { color: var(--tk-primary-hover); }
img { max-width: 100%; height: auto; display: block; }
h1,h2,h3,h4,h5,h6 { font-family: var(--tk-font-display); font-weight: 800; line-height: 1.2; color: var(--tk-text); }

.tk-container { width: 100%; max-width: var(--tk-max-width); margin: 0 auto; padding: 0 24px; }
.tk-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ---- HEADER ---- */
.tk-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,0.94); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--tk-border); height: var(--tk-header-height); transition: box-shadow var(--tk-duration) var(--tk-ease); }
.tk-header.scrolled { box-shadow: 0 2px 12px rgba(44,24,16,0.08); }
.tk-header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; max-width: var(--tk-max-width); margin: 0 auto; padding: 0 24px; }
.tk-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.tk-logo:hover { opacity: 0.9; }
.tk-logo__icon { width: 40px; height: 40px; border-radius: var(--tk-radius-sm); overflow: hidden; flex-shrink: 0; }
.tk-logo__icon img { width: 100%; height: 100%; object-fit: contain; }
.tk-logo__icon--fallback { background: linear-gradient(135deg, var(--tk-rot) 0%, var(--tk-gold) 100%); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.3rem; border-radius: 50%; }
.tk-logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.tk-logo__name { font-family: var(--tk-font-display); font-size: 1.5rem; font-weight: 900; color: var(--tk-rot); letter-spacing: -0.02em; }
.tk-logo__tagline { font-family: var(--tk-font-display); font-size: 0.58rem; font-weight: 600; color: var(--tk-text-muted); letter-spacing: 0.06em; text-transform: uppercase; }
.tk-nav { display: flex; align-items: center; gap: 4px; }
.tk-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.tk-nav li { list-style: none; margin: 0; padding: 0; }
.tk-nav a, .tk-nav .menu-item a { font-family: var(--tk-font-display); font-weight: 700; font-size: 0.88rem; color: var(--tk-text-secondary); padding: 8px 16px; border-radius: var(--tk-radius-xs); transition: all var(--tk-duration) var(--tk-ease); text-decoration: none; }
.tk-nav a:hover, .tk-nav .menu-item a:hover, .tk-nav a.current, .tk-nav .current-menu-item a { color: var(--tk-rot); background: var(--tk-rot-light); }
.tk-menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--tk-text); }
.tk-menu-toggle svg { width: 24px; height: 24px; }

/* ---- HERO ---- */
.tk-hero { position: relative; padding: 64px 0 40px; text-align: center; overflow: hidden; }
.tk-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(226,75,74,0.07) 0%, transparent 60%), radial-gradient(ellipse 60% 50% at 20% 80%, rgba(245,196,122,0.08) 0%, transparent 60%), radial-gradient(ellipse 50% 40% at 90% 90%, rgba(76,175,80,0.04) 0%, transparent 60%); pointer-events: none; }
.tk-hero__mascot { margin-bottom: 12px; animation: bounceIn 0.8s var(--tk-ease) both; }
.tk-hero__mascot img { width: 100px; height: 100px; margin: 0 auto; border-radius: 50%; box-shadow: 0 4px 20px rgba(226,75,74,0.15); }
.tk-hero__mascot-placeholder { width: 80px; height: 80px; margin: 0 auto; background: linear-gradient(135deg, var(--tk-gold) 0%, var(--tk-creme) 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; box-shadow: 0 4px 20px rgba(245,196,122,0.25); border: 3px solid #fff; }
.tk-hero__badge { display: inline-flex; align-items: center; gap: 6px; background: var(--tk-accent-light); color: var(--tk-gruen); font-family: var(--tk-font-display); font-weight: 700; font-size: 0.78rem; padding: 6px 16px; border-radius: 100px; margin-bottom: 20px; letter-spacing: 0.02em; animation: fadeInDown 0.6s var(--tk-ease) both; }
.tk-hero__title { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; letter-spacing: -0.03em; margin-bottom: 16px; animation: fadeInUp 0.6s var(--tk-ease) 0.1s both; }
.tk-hero__title span { color: var(--tk-rot); position: relative; }
.tk-hero__title span::after { content: ''; position: absolute; left: 0; bottom: 2px; width: 100%; height: 6px; background: var(--tk-gold); opacity: 0.4; border-radius: 3px; z-index: -1; }
.tk-hero__subtitle { font-size: clamp(1rem, 2vw, 1.12rem); color: var(--tk-text-secondary); max-width: 560px; margin: 0 auto 36px; line-height: 1.75; animation: fadeInUp 0.6s var(--tk-ease) 0.2s both; }
.tk-hero__stats { display: flex; justify-content: center; gap: 48px; margin-top: 20px; animation: fadeInUp 0.6s var(--tk-ease) 0.3s both; }
.tk-hero__stat { text-align: center; }
.tk-hero__stat-value { font-family: var(--tk-font-display); font-size: 1.5rem; font-weight: 900; color: var(--tk-rot); }
.tk-hero__stat-label { font-size: 0.75rem; color: var(--tk-text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 2px; }

/* ---- PLUGIN AREA ---- */
.tk-plugin-area { padding: 0 0 60px; }
.tk-plugin-wrap { max-width: var(--tk-max-width); margin: 0 auto; padding: 0 24px; }

/* ---- FEATURES ---- */
.tk-features { padding: 80px 0; background: var(--tk-bg-soft); border-top: 1px solid var(--tk-border); border-bottom: 1px solid var(--tk-border); position: relative; }
.tk-features::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--tk-rot), var(--tk-gold), var(--tk-gruen)); }
.tk-section-header { text-align: center; margin-bottom: 48px; }
.tk-section-header__label { display: inline-flex; align-items: center; gap: 6px; font-family: var(--tk-font-display); font-weight: 700; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--tk-rot); margin-bottom: 12px; }
.tk-section-header h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.02em; }
.tk-section-header p { color: var(--tk-text-secondary); max-width: 520px; margin: 12px auto 0; font-size: 1rem; }
.tk-features__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.tk-feature-card { background: var(--tk-bg); border: 1px solid var(--tk-border); border-radius: var(--tk-radius); padding: 28px; transition: all var(--tk-duration) var(--tk-ease); position: relative; overflow: hidden; }
.tk-feature-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--tk-rot), var(--tk-gold)); opacity: 0; transition: opacity var(--tk-duration) var(--tk-ease); }
.tk-feature-card:hover { border-color: var(--tk-rot); box-shadow: var(--tk-shadow-md); transform: translateY(-3px); }
.tk-feature-card:hover::before { opacity: 1; }
.tk-feature-card__icon { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 16px; background: var(--tk-creme); }
.tk-feature-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.tk-feature-card p { font-size: 0.88rem; color: var(--tk-text-secondary); line-height: 1.65; }

/* ---- BLOG / POSTS ---- */
.tk-blog-section { padding: 80px 0; }
.tk-posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.tk-post-card { background: var(--tk-bg); border: 1px solid var(--tk-border); border-radius: var(--tk-radius); overflow: hidden; transition: all var(--tk-duration) var(--tk-ease); display: flex; flex-direction: column; }
.tk-post-card:hover { box-shadow: var(--tk-shadow-md); transform: translateY(-3px); border-color: var(--tk-gold); }
.tk-post-card__image { aspect-ratio: 16 / 9; overflow: hidden; background: var(--tk-bg-section); }
.tk-post-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--tk-ease); }
.tk-post-card:hover .tk-post-card__image img { transform: scale(1.04); }
.tk-post-card__image-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--tk-creme) 0%, var(--tk-gold-light) 100%); font-size: 2.8rem; }
.tk-post-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.tk-post-card__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 0.78rem; color: var(--tk-text-muted); font-weight: 500; }
.tk-post-card__category { background: var(--tk-rot-light); color: var(--tk-rot); padding: 3px 10px; border-radius: 100px; font-family: var(--tk-font-display); font-weight: 700; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.04em; }
.tk-post-card__title { font-size: 1.12rem; font-weight: 800; margin-bottom: 8px; line-height: 1.35; }
.tk-post-card__title a { color: var(--tk-text); }
.tk-post-card__title a:hover { color: var(--tk-rot); }
.tk-post-card__excerpt { font-size: 0.88rem; color: var(--tk-text-secondary); line-height: 1.65; flex: 1; }
.tk-post-card__readmore { display: inline-flex; align-items: center; gap: 6px; font-family: var(--tk-font-display); font-weight: 700; font-size: 0.85rem; color: var(--tk-rot); margin-top: 16px; transition: gap var(--tk-duration) var(--tk-ease); }
.tk-post-card__readmore:hover { gap: 10px; }

/* ---- SINGLE POST ---- */
.tk-single { padding: 60px 0; }
.tk-single__header { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.tk-single__category { display: inline-block; background: var(--tk-rot-light); color: var(--tk-rot); padding: 4px 14px; border-radius: 100px; font-family: var(--tk-font-display); font-weight: 700; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 16px; text-decoration: none; }
.tk-single__title { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -0.03em; margin-bottom: 16px; }
.tk-single__meta { color: var(--tk-text-muted); font-size: 0.88rem; }
.tk-single__meta a { color: var(--tk-rot); }
.tk-single__featured { max-width: 900px; margin: 0 auto 40px; border-radius: var(--tk-radius); overflow: hidden; box-shadow: var(--tk-shadow-md); }
.tk-single__featured img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.tk-single__content { max-width: 720px; margin: 0 auto; }
.tk-single__content h2 { font-size: 1.5rem; margin: 40px 0 16px; }
.tk-single__content h3 { font-size: 1.2rem; margin: 32px 0 12px; }
.tk-single__content p { margin-bottom: 20px; font-size: 1.05rem; line-height: 1.8; color: var(--tk-text-secondary); }
.tk-single__content ul, .tk-single__content ol { margin: 0 0 20px 24px; color: var(--tk-text-secondary); font-size: 1.05rem; line-height: 1.8; }
.tk-single__content blockquote { border-left: 4px solid var(--tk-rot); padding: 16px 24px; margin: 24px 0; background: var(--tk-creme); border-radius: 0 var(--tk-radius-sm) var(--tk-radius-sm) 0; font-style: italic; color: var(--tk-text-secondary); }
.tk-single__content img { border-radius: var(--tk-radius-sm); margin: 24px 0; box-shadow: var(--tk-shadow-sm); }
.tk-single__content a { color: var(--tk-rot); text-decoration: underline; text-decoration-color: rgba(226,75,74,0.3); text-underline-offset: 3px; }
.tk-single__content a:hover { text-decoration-color: var(--tk-rot); }
.tk-post-nav { max-width: 720px; margin: 60px auto 0; padding-top: 32px; border-top: 1px solid var(--tk-border); display: flex; justify-content: space-between; gap: 24px; }
.tk-post-nav a { font-family: var(--tk-font-display); font-weight: 700; font-size: 0.9rem; color: var(--tk-text-secondary); display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: var(--tk-radius-sm); transition: all var(--tk-duration) var(--tk-ease); }
.tk-post-nav a:hover { background: var(--tk-rot-light); color: var(--tk-rot); }

/* ---- CTA ---- */
.tk-cta { padding: 80px 0; text-align: center; position: relative; overflow: hidden; background: var(--tk-creme); }
.tk-cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 20% 50%, rgba(226,75,74,0.06) 0%, transparent 60%), radial-gradient(ellipse 50% 60% at 80% 50%, rgba(245,196,122,0.08) 0%, transparent 60%); pointer-events: none; }
.tk-cta h2 { font-size: clamp(1.6rem, 3vw, 2rem); letter-spacing: -0.02em; margin-bottom: 12px; position: relative; }
.tk-cta p { color: var(--tk-text-secondary); max-width: 440px; margin: 0 auto 28px; position: relative; }
.tk-btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--tk-font-display); font-weight: 700; font-size: 0.95rem; padding: 14px 28px; border-radius: var(--tk-radius-sm); border: none; cursor: pointer; transition: all var(--tk-duration) var(--tk-ease); text-decoration: none; position: relative; }
.tk-btn--primary { background: var(--tk-rot); color: #fff; box-shadow: 0 4px 14px rgba(226,75,74,0.3); }
.tk-btn--primary:hover { background: var(--tk-rot-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(226,75,74,0.35); }
.tk-btn--outline { background: transparent; color: var(--tk-rot); border: 2px solid var(--tk-rot); }
.tk-btn--outline:hover { background: var(--tk-rot); color: #fff; }

/* ---- FOOTER ---- */
.tk-footer { background: var(--tk-anthrazit); color: rgba(255,255,255,0.65); padding: 60px 0 0; }
.tk-footer a { color: rgba(255,255,255,0.65); transition: color var(--tk-duration) var(--tk-ease); }
.tk-footer a:hover { color: #fff; }
.tk-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.tk-footer__brand { max-width: 300px; }
.tk-footer__logo { font-family: var(--tk-font-display); font-weight: 900; font-size: 1.3rem; color: #fff; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.tk-footer__logo-dot { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--tk-rot), var(--tk-gold)); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; flex-shrink: 0; }
.tk-footer__tagline { color: var(--tk-gold); font-family: var(--tk-font-display); font-weight: 700; font-size: 0.82rem; margin-bottom: 14px; font-style: italic; }
.tk-footer__desc { font-size: 0.88rem; line-height: 1.7; margin-bottom: 20px; }
.tk-footer__social { display: flex; gap: 10px; }
.tk-footer__social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; transition: all var(--tk-duration) var(--tk-ease); }
.tk-footer__social a:hover { background: var(--tk-rot); color: #fff; }
.tk-footer__col h4 { color: #fff; font-family: var(--tk-font-display); font-size: 0.85rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.tk-footer__col ul { list-style: none; }
.tk-footer__col li { margin-bottom: 10px; }
.tk-footer__col li a { font-size: 0.88rem; }
.tk-footer__bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; }
.tk-footer__legal { display: flex; gap: 20px; }

/* ---- PAGE / ARCHIVE ---- */
.tk-page { padding: 60px 0; }
.tk-page__header { text-align: center; margin-bottom: 48px; }
.tk-page__title { font-size: clamp(1.8rem, 4vw, 2.4rem); letter-spacing: -0.02em; }
.tk-page__content { max-width: 720px; margin: 0 auto; }
.tk-page__content p { margin-bottom: 20px; line-height: 1.8; color: var(--tk-text-secondary); }
.tk-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 48px; }
.tk-pagination a, .tk-pagination span { display: flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; border-radius: var(--tk-radius-xs); font-family: var(--tk-font-display); font-weight: 700; font-size: 0.88rem; border: 1px solid var(--tk-border); transition: all var(--tk-duration) var(--tk-ease); }
.tk-pagination a:hover { border-color: var(--tk-rot); background: var(--tk-rot-light); color: var(--tk-rot); }
.tk-pagination span.current { background: var(--tk-rot); color: #fff; border-color: var(--tk-rot); }

/* ---- 404 ---- */
.tk-404 { padding: 100px 0; text-align: center; }
.tk-404__emoji { font-size: 4rem; margin-bottom: 16px; }
.tk-404__code { font-family: var(--tk-font-display); font-size: 5rem; font-weight: 900; color: var(--tk-rot); line-height: 1; margin-bottom: 12px; }
.tk-404 h1 { font-size: 1.5rem; margin-bottom: 12px; }
.tk-404 p { color: var(--tk-text-secondary); margin-bottom: 28px; max-width: 400px; margin-left: auto; margin-right: auto; }

/* ---- COMMENTS ---- */
.tk-comments { max-width: 720px; margin: 60px auto 0; padding-top: 40px; border-top: 1px solid var(--tk-border); }
.tk-comments h3 { font-size: 1.3rem; margin-bottom: 24px; }
.comment-list { list-style: none; }
.comment { padding: 20px 0; border-bottom: 1px solid var(--tk-border); }
.comment-author { font-family: var(--tk-font-display); font-weight: 700; }
.comment-body p { color: var(--tk-text-secondary); font-size: 0.95rem; line-height: 1.7; margin-top: 8px; }
.comment-respond label { display: block; font-family: var(--tk-font-display); font-weight: 700; font-size: 0.85rem; margin-bottom: 6px; }
.comment-respond input[type="text"], .comment-respond input[type="email"], .comment-respond input[type="url"], .comment-respond textarea { width: 100%; padding: 10px 14px; border: 2px solid var(--tk-border); border-radius: var(--tk-radius-xs); font-family: var(--tk-font-body); font-size: 0.95rem; margin-bottom: 16px; transition: border-color var(--tk-duration) var(--tk-ease); }
.comment-respond input:focus, .comment-respond textarea:focus { outline: none; border-color: var(--tk-rot); box-shadow: 0 0 0 3px var(--tk-rot-light); }
.comment-respond .submit { background: var(--tk-rot); color: #fff; border: none; padding: 12px 24px; border-radius: var(--tk-radius-xs); font-family: var(--tk-font-display); font-weight: 700; cursor: pointer; }
.comment-respond .submit:hover { background: var(--tk-rot-hover); }

/* ---- SEARCH RESULTS ---- */
.tk-search-results .tk-post-card { flex-direction: row; }
.tk-search-results .tk-post-card__image { width: 200px; flex-shrink: 0; aspect-ratio: auto; }

/* ---- SIDEBAR ---- */
.tk-sidebar .widget { margin-bottom: 28px; padding: 24px; background: var(--tk-bg); border: 1px solid var(--tk-border); border-radius: var(--tk-radius); }
.tk-sidebar .widget-title { font-family: var(--tk-font-display); font-size: 0.95rem; font-weight: 800; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 3px solid var(--tk-rot); }
.tk-sidebar .widget ul { list-style: none; }
.tk-sidebar .widget li { padding: 6px 0; border-bottom: 1px solid var(--tk-border); }
.tk-sidebar .widget li:last-child { border-bottom: none; }
.tk-sidebar .widget li a { font-size: 0.88rem; color: var(--tk-text-secondary); }
.tk-sidebar .widget li a:hover { color: var(--tk-rot); }

/* Sidebar Layout (two-column) */
.tk-has-sidebar {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}
.tk-has-sidebar .tk-single__main,
.tk-has-sidebar .tk-blog__main {
    min-width: 0;
}
.tk-has-sidebar .tk-single__content { max-width: none; }
.tk-has-sidebar .tk-post-nav { max-width: none; }
.tk-has-sidebar .tk-comments { max-width: none; }
.tk-has-sidebar .tk-single__tags { max-width: none; }
.tk-has-sidebar .tk-posts-grid { grid-template-columns: 1fr; }

/* Sidebar sticky on scroll */
.tk-has-sidebar .tk-sidebar {
    position: sticky;
    top: calc(var(--tk-header-height) + 24px);
}

/* Tags */
.tk-single__tags {
    max-width: 720px;
    margin: 32px auto 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tk-tag {
    background: var(--tk-bg-soft);
    border: 1px solid var(--tk-border);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--tk-text-secondary);
    transition: all var(--tk-duration) var(--tk-ease);
}
.tk-tag:hover {
    border-color: var(--tk-rot);
    color: var(--tk-rot);
}

/* With sidebar: blog grid can be 2 columns if enough space */
.tk-posts-grid--sidebar {
    grid-template-columns: 1fr !important;
}

/* ---- WP ADMIN BAR ---- */
.admin-bar .tk-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .tk-header { top: 46px; } }

/* ---- ANIMATIONS ---- */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bounceIn { 0% { opacity: 0; transform: scale(0.5) translateY(20px); } 60% { transform: scale(1.05) translateY(-4px); } 100% { opacity: 1; transform: scale(1) translateY(0); } }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) { .tk-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
    :root { --tk-header-height: 60px; }
    .tk-menu-toggle { display: block; }
    .tk-nav { display: none; position: absolute; top: var(--tk-header-height); left: 0; right: 0; background: var(--tk-bg); border-bottom: 1px solid var(--tk-border); flex-direction: column; padding: 16px 24px; box-shadow: var(--tk-shadow-md); }
    .tk-nav.open { display: flex; }
    .tk-nav ul { flex-direction: column; width: 100%; }
    .tk-nav a, .tk-nav .menu-item a { padding: 12px 0; width: 100%; }
    .tk-hero { padding: 40px 0 28px; }
    .tk-hero__stats { gap: 24px; flex-wrap: wrap; }
    .tk-features, .tk-blog-section, .tk-cta { padding: 48px 0; }
    .tk-footer__grid { grid-template-columns: 1fr; gap: 28px; }
    .tk-footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
    .tk-posts-grid { grid-template-columns: 1fr; }
    .tk-search-results .tk-post-card { flex-direction: column; }
    .tk-search-results .tk-post-card__image { width: 100%; aspect-ratio: 16 / 9; }
    .tk-post-nav { flex-direction: column; }
    .tk-has-sidebar { grid-template-columns: 1fr; }
    .tk-has-sidebar .tk-sidebar { position: static; }
}
@media (max-width: 480px) {
    .tk-container { padding: 0 16px; }
    .tk-hero__title { font-size: 1.7rem; }
    .tk-hero__stats { gap: 16px; }
    .tk-hero__stat-value { font-size: 1.3rem; }
}
