/*
Theme Name: AI Dispatch
Theme URI: https://aidispatch.news
Description: Wire service theme for AI news. Child of Kadence.
Author: AI Dispatch News
Template: kadence
Version: 1.1.0
*/

/* ============================================
   OVERRIDE KADENCE DEFAULTS
   ============================================ */

:root {
    --global-palette1: #1A1A1A !important;
    --global-palette2: #4A4A4A !important;
    --global-palette3: #2563EB !important;
    --global-palette4: #6B7280 !important;
    --global-palette5: #E5E7EB !important;
    --global-palette6: #F8F9FA !important;
    --global-palette7: #F8F9FA !important;
    --global-palette8: #FFFFFF !important;
    --global-palette9: #FFFFFF !important;
}

body {
    font-family: 'Source Serif 4', Georgia, serif !important;
    color: #4A4A4A !important;
    background: #FFFFFF !important;
}

/* Site Header */
.site-header-wrap,
.site-header {
    background: #FFFFFF !important;
    border-bottom: 1px solid #E5E7EB !important;
}

.site-branding .site-title {
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.5rem !important;
    color: #1A1A1A !important;
    letter-spacing: -0.02em !important;
}

/* Navigation */
.header-navigation .menu > li > a,
.main-navigation a {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: #4A4A4A !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

/* Category Labels - Remove Red */
.entry-taxonomies,
.entry-taxonomies a,
.post-categories a,
.cat-links a {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.6875rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    color: #6B7280 !important;
    background: #F8F9FA !important;
    padding: 0.125rem 0.5rem !important;
    border-radius: 2px !important;
    text-decoration: none !important;
}

.entry-taxonomies a:hover,
.post-categories a:hover {
    color: #1A1A1A !important;
    background: #E5E7EB !important;
}

/* Post Titles */
.entry-title,
.entry-title a,
h2.entry-title a {
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-weight: 600 !important;
    color: #1A1A1A !important;
    text-decoration: none !important;
    line-height: 1.3 !important;
}

.entry-title a:hover {
    color: #2563EB !important;
}

/* Post Meta - Date, Author */
.entry-meta,
.entry-meta a,
.posted-on,
.byline {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.8125rem !important;
    color: #6B7280 !important;
}

/* Post Content / Excerpt */
.entry-content,
.entry-summary,
.entry-content p {
    font-family: 'Source Serif 4', Georgia, serif !important;
    font-size: 1.0625rem !important;
    line-height: 1.65 !important;
    color: #4A4A4A !important;
}

/* Read More Links */
.entry-content .more-link,
.read-more-link,
a.more-link {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: #2563EB !important;
    text-decoration: none !important;
}

.entry-content .more-link:hover,
a.more-link:hover {
    text-decoration: underline !important;
}

/* Archive/Home Grid */
.loop-entry,
.entry {
    background: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 4px !important;
    padding: 1.5rem !important;
}

/* Remove Featured Images on Archive */
.home .post-thumbnail,
.archive .post-thumbnail,
.home .entry-thumbnail,
.archive .entry-thumbnail {
    display: none !important;
}

/* Footer */
.site-footer,
footer.site-footer {
    background: #1A1A1A !important;
    color: #FFFFFF !important;
}

.site-footer a {
    color: rgba(255,255,255,0.8) !important;
}

/* Links */
a {
    color: #2563EB !important;
    text-decoration: none !important;
}

a:hover {
    text-decoration: underline !important;
}

/* Single Article */
.single .entry-title {
    font-size: 2rem !important;
    letter-spacing: -0.02em !important;
}

.single .entry-content {
    max-width: 720px !important;
    margin: 0 auto !important;
}

/* Source Box */
.source-box {
    background: #F8F9FA !important;
    border-left: 3px solid #2563EB !important;
    padding: 1rem 1.25rem !important;
    margin: 2rem 0 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.875rem !important;
}

/* Content Width */
.site-container,
.content-container {
    max-width: 1080px !important;
}

.entry-content-wrap {
    max-width: 720px !important;
}

/* Hide Sidebar on Home */
.home .site-main {
    width: 100% !important;
}

/* Buttons */
button,
.button,
.wp-block-button__link {
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
    background: #1A1A1A !important;
    color: #FFFFFF !important;
    border-radius: 4px !important;
}
