/**
 * Simple Theme - Main Styles
 */

/* Base */
.site-container {
    max-width: var(--simple-container, 1280px);
}

/* Navigation Styles */
.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s;
}

.main-navigation a:hover {
    color: var(--simple-primary, #3b82f6);
}

.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
    color: var(--simple-primary, #3b82f6);
}

/* Mobile Navigation */
#mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#mobile-menu a {
    display: block;
    padding: 0.5rem 0;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
}

/* Header Centered Style */
.header-centered .site-container > div {
    flex-direction: column;
    height: auto;
    padding: 1rem 0;
    gap: 1rem;
}

.header-centered .site-branding {
    order: -1;
}

/* Custom Logo */
.custom-logo-link {
    display: block;
}

.custom-logo {
    max-height: 60px;
    width: auto;
}

/* Prose Overrides for Tailwind Typography */
.prose {
    max-width: none;
}

.prose a {
    color: var(--simple-primary, #3b82f6);
}

.prose img {
    border-radius: 0.5rem;
}

/* Widgets */
.widget {
    margin-bottom: 1.5rem;
}

.widget-title {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #374151;
    margin-bottom: 0.75rem;
}

.widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget li {
    padding: 0.375rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.widget li:last-child {
    border-bottom: none;
}

.widget a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.15s;
}

.widget a:hover {
    color: var(--simple-primary, #3b82f6);
}

/* Footer Navigation */
.footer-navigation a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.15s;
}

.footer-navigation a:hover {
    color: white;
}

/* Post Navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.post-navigation a {
    text-decoration: none;
    color: inherit;
}

.post-navigation a:hover {
    color: var(--simple-primary, #3b82f6);
}

/* Comments */
.comments-area {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment {
    padding: 1rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.comment-meta {
    margin-bottom: 0.5rem;
}

.comment-author {
    font-weight: 600;
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.15s;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--simple-primary, #3b82f6);
}

/* Buttons */
button,
input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background: var(--simple-primary, #3b82f6);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s;
}

button:hover,
input[type="submit"]:hover {
    background: #2563eb;
}

/* Screen Reader Text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* Alignment */
.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* WP Block Styles */
.wp-block-image {
    margin-bottom: 1.5rem;
}

.wp-block-image img {
    max-width: 100%;
    height: auto;
}

/* Responsive */
@media (max-width: 1024px) {
    .site-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
