/*
 * Theme Name: iOS Carrot (ios-carrot)
 * Theme URI: http://example.com
 * Description: A modern, clean theme inspired by iOS-style social media interfaces.
 * Author: Trae
 * Version: 1.0.0
 */

* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f5f5f7;
    color: #1d1d1f;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    min-height: 100vh;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

header {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
}

header h1 {
    font-size: 1.2rem;
    margin: 0;
}

header a {
    text-decoration: none;
    color: #0071e3;
    font-size: 0.9rem;
}

.post-list {
    padding: 10px;
}

.post-item {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 10px;
}

.post-item h2 {
    font-size: 1.1rem;
    margin: 0 0 10px 0;
}

.post-meta {
    font-size: 0.8rem;
    color: #86868b;
    margin-bottom: 10px;
}

.post-content {
    font-size: 0.95rem;
}

.post-tags {
    margin-top: 10px;
}

.post-tags a {
    color: #0071e3;
    text-decoration: none;
    margin-right: 10px;
    font-size: 0.9rem;
}

.admin-actions {
    margin-top: 15px;
    border-top: 1px dashed #eee;
    padding-top: 10px;
}

.admin-actions a {
    color: #ff3b30;
    margin-right: 15px;
    font-size: 0.85rem;
    text-decoration: none;
}

.post-page {
    padding: 20px;
}

.post-page h1 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.post-page-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 15px 0;
}

.post-page-meta {
    margin-bottom: 20px;
    color: #86868b;
}

.btn-new-post {
    display: block;
    width: calc(100% - 20px);
    margin: 10px;
    padding: 12px;
    background-color: #0071e3;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
}

.btn-new-post:hover {
    background-color: #0077ed;
}

footer {
    padding: 30px;
    text-align: center;
    color: #86868b;
    font-size: 0.8rem;
    border-top: 1px solid #f0f0f0;
}
