/**
 * ThinkMoney Custom CSS
 * Additional custom styles and overrides
 */

/* Page Content Styles */
.page-content {
    min-height: 400px;
}

.entry-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--tm-gray);
}

.entry-title {
    color: var(--tm-navy);
    margin-bottom: 0;
}

.entry-content {
    line-height: 1.8;
}

.entry-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.entry-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--tm-radius-md);
}

/* Error 404 Styles */
.error-404 {
    padding: 4rem 0;
}

.error-content {
    max-width: 600px;
    margin: 0 auto;
}

.helpful-links ul {
    margin-top: 1rem;
}

.helpful-links a {
    display: block;
    padding: 0.75rem 1rem;
    background: white;
    border-radius: var(--tm-radius-md);
    transition: all 0.3s ease;
}

.helpful-links a:hover {
    background: var(--tm-gradient-light);
    transform: translateX(4px);
}

/* No Content Styles */
.no-content {
    text-align: center;
    padding: 4rem 2rem;
}

.no-content h2 {
    margin-bottom: 1rem;
}

/* Search Form Styles */
.search-form {
    max-width: 500px;
    margin: 2rem auto 0;
}

.search-form label {
    display: block;
    width: 100%;
}

.search-form input[type="search"] {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid var(--tm-gray);
    border-radius: var(--tm-radius-full);
    font-size: 1rem;
}

.search-form input[type="search"]:focus {
    outline: none;
    border-color: var(--tm-teal);
    box-shadow: 0 0 0 3px rgba(45, 157, 146, 0.1);
}

/* Page Links */
.page-links {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--tm-gray);
}

.page-links a {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    background: var(--tm-light-gray);
    border-radius: var(--tm-radius-md);
    transition: all 0.3s ease;
}

.page-links a:hover {
    background: var(--tm-teal);
    color: white;
}

/* Utility Classes */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.pt-1 { padding-top: 1rem; }
.pt-2 { padding-top: 2rem; }
.pt-3 { padding-top: 3rem; }
.pb-1 { padding-bottom: 1rem; }
.pb-2 { padding-bottom: 2rem; }
.pb-3 { padding-bottom: 3rem; }
