/*
Theme Name: Library In A Box
Theme URI: https://example.com/library-in-a-box
Author: Antigravity
Description: A custom theme converted from React prototype "Library-In-A-Box".
Version: 1.0.0
Text Domain: library-in-a-box
*/

/* 
 * This theme uses Tailwind CSS. 
 * For development speed, we are injecting Tailwind via CDN in header.php.
 * In a production environment, you should use a build process.
 */

:root {
  /* Colors from Spec */
  --color-brand-blue: #3B82F6;
  --color-brand-dark: #1e293b;
  --color-brand-text: #475569;
  --color-bg-light: #f8fafc;
  --color-white: #ffffff;
}

body {
    background-color: var(--color-bg-light);
    color: var(--color-brand-text);
    line-height: 1.8;
}

/* Typography Improvements for Article Pages */
.entry-content p,
.wp-block-paragraph {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.9;
}

/* H1 - Page Titles - Large, Bold, Distinctive */
h1,
.entry-title,
.wp-block-post-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--color-brand-dark);
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin-bottom: 2rem;
}

/* H2 - Section Headings - Clear visual hierarchy */
h2,
.wp-block-heading:where(h2) {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-brand-blue);
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(59, 130, 246, 0.2);
    letter-spacing: -0.015em;
}

/* H3 - Subsection headings */
h3,
.wp-block-heading:where(h3) {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--color-brand-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Separator/Divider styling */
hr,
.wp-block-separator {
    margin: 2.5rem 0;
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(59, 130, 246, 0.3), transparent);
}

/* Strong/Bold text in content */
.entry-content strong,
.wp-block-paragraph strong {
    font-weight: 600;
    color: var(--color-brand-dark);
}

/* Italic text styling */
.entry-content em,
.wp-block-paragraph em {
    font-style: italic;
    color: #64748b;
}

/* Links in content */
.entry-content a,
.wp-block-paragraph a {
    color: var(--color-brand-blue);
    text-decoration: none;
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
    transition: all 0.2s ease;
}

.entry-content a:hover,
.wp-block-paragraph a:hover {
    border-bottom-color: var(--color-brand-blue);
}
