/* Main Theme Styles */
:root {
    --primary-color: #f97316;
    --secondary-color: #1e40af;
    --text-color: #1f2937;
    --light-gray: #f3f4f6;
    --dark-gray: #6b7280;
    --white: #ffffff;
    --black: #111827;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
}

/* Custom Logo */
.custom-logo {
    height: auto;
    width: 150px;
    max-width: 100%;
}

.site-branding .custom-logo-link {
    display: inline-block;
    line-height: 0;
}

/* Base Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--white);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: #ea580c;
    border-color: #ea580c;
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

/* Layout */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.site-header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.entry-content {
    font-size: 1rem;
    line-height: 1.75;
    color: #334155;
}
.entry-content > * {
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: #0f172a;
    font-weight: 700;
    line-height: 1.25;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}
.entry-content h1 { font-size: 3rem; }
.entry-content h2 { font-size: 2.25rem; }
.entry-content h3 { font-size: 1.75rem; }
.entry-content h4 { font-size: 1.125rem; }
.entry-content h5 { font-size: 1rem; }
.entry-content h6 { font-size: 0.875rem; }
.entry-content h3 {
    margin-top: 1.75rem;
    margin-bottom: 1rem;
}
.entry-content .wp-block-heading {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.75rem;
    line-height: 1.3;
}
.entry-content p {
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.entry-content ul,
.entry-content ol {
    padding-left: 1.25rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    list-style-position: outside;
}
.entry-content ul { list-style-type: disc; }
.entry-content ol { list-style-type: decimal; }
.entry-content li {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}
.entry-content blockquote {
    border-left: 4px solid #e2e8f0;
    padding-left: 1rem;
    color: #475569;
    font-style: italic;
}
.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
}
.entry-content figure {
    margin: 1.25rem 0;
    text-align: center;
}
.entry-content figcaption {
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 0.5rem;
}
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}
.entry-content table th,
.entry-content table td {
    border: 1px solid #e2e8f0;
    padding: 0.75rem;
    text-align: left;
}
.entry-content hr {
    border: 0;
    border-top: 1px solid #e2e8f0;
    margin: 2rem 0;
}
.entry-content a {
    color: var(--primary-color);
}
.entry-content a:hover {
    color: #ea580c;
}
.entry-content a.bg-orange-500,
.entry-content a.bg-orange-500:hover {
    color: #ffffff;
}
.entry-content pre,
.entry-content code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
.entry-content pre {
    background: #0f172a;
    color: #e5e7eb;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow: auto;
}
.entry-content .wp-block-image img {
    border-radius: 0.5rem;
}
.entry-content .wp-block-quote {
    border-left: 4px solid #e2e8f0;
    padding-left: 1rem;
}
.entry-content .wp-block-list {
    padding-left: 1.25rem;
}
.entry-content .read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    .entry-content h1 { font-size: 2.25rem; }
    .entry-content h2 { font-size: 2rem; }
    .entry-content h3 { font-size: 1.5rem; }
    .entry-content .wp-block-heading { font-size: 1.5rem; }
}
