* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    background: #f8f9fa;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Navigation - Minimal Web 2.0 */
.navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    padding: 1.5rem 0;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    gap: 2rem;
    flex-wrap: wrap;
}

.navbar h1 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 600;
    color: #2c3e50;
    letter-spacing: -0.5px;
}

.navbar h1 a {
    text-decoration: none;
    color: #2c3e50;
    transition: color 0.2s ease;
}

.navbar h1 a:hover {
    color: #ff6b9d;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-search-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.nav-search-input {
    padding: 0.5rem 1rem;
    border: 1px solid #e1e8ed;
    border-radius: 20px;
    font-size: 0.9rem;
    width: 200px;
    background: #f8f9fa;
    transition: all 0.2s ease;
    font-family: inherit;
}

.nav-search-input:focus {
    outline: none;
    border-color: #ff6b9d;
    background: white;
    width: 250px;
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
}

.nav-search-button {
    background: transparent;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.5rem;
    color: #5a6c7d;
    transition: color 0.2s ease;
    line-height: 1;
}

.nav-search-button:hover {
    color: #ff6b9d;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-categories,
.nav-pages {
    margin: 0;
    position: relative;
}

.nav-categories li {
    position: relative;
}

.nav-categories li.has-dropdown > a {
    padding-right: 1.5rem;
}

.dropdown-arrow {
    font-size: 0.7rem;
    margin-left: 0.5rem;
    display: inline-block;
    transition: transform 0.2s ease;
}

.nav-categories li.has-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    gap: 0;
}

.nav-categories li.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: #5a6c7d;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f8f9fa;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: #f8f9fa;
    color: #ff6b9d;
    padding-left: 1.5rem;
}

.dropdown-menu a.active {
    background: #fff5f8;
    color: #ff6b9d;
    font-weight: 500;
}

.nav-user {
    margin: 0;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: #5a6c7d;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff6b9d;
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: #2c3e50;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-categories a.active,
.nav-pages a.active {
    color: #ff6b9d;
    font-weight: 500;
}

.nav-categories a.active::after,
.nav-pages a.active::after {
    width: 100%;
}

.nav-menu span {
    color: #2c3e50;
    font-weight: 500;
    font-size: 0.95rem;
}

/* Forms - Minimal */
.auth-form {
    max-width: 450px;
    margin: 4rem auto;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.post-form {
    max-width: 900px;
    margin: 3rem auto;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Post Editor - Redesigned */
.post-editor-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e1e8ed;
}

.post-editor-subtitle {
    color: #7f8c8d;
    margin-top: 0.25rem;
    font-size: 0.95rem;
    font-weight: 400;
}

.post-editor-form {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    align-items: start;
}

.post-editor-main {
    min-width: 0;
}

.post-editor-sidebar {
    position: sticky;
    top: 100px;
}

.post-editor-section {
    background: white;
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.post-editor-section:last-child {
    margin-bottom: 0;
}

.post-editor-section-inline {
    margin-top: 2rem;
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    padding: 1.5rem;
    background: white;
}

.post-editor-section-title {
    margin: 0 0 1.25rem 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}

.post-title-input {
    font-size: 1.75rem !important;
    font-weight: 600 !important;
    padding: 1.25rem 1.5rem !important;
    border: none !important;
    border-bottom: 2px solid #e1e8ed !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #000 !important;
    margin-bottom: 1.5rem;
}

.post-title-input:focus {
    border-bottom-color: #ff6b9d !important;
    box-shadow: none !important;
    background: transparent !important;
}

.post-content-textarea {
    min-height: 500px !important;
    font-size: 1.05rem !important;
    line-height: 1.8 !important;
    padding: 1.5rem !important;
    border: 1px solid #e1e8ed !important;
    border-radius: 12px !important;
    background: #fafbfc !important;
    color: #000 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.post-content-textarea:focus {
    background: white !important;
    border-color: #ff6b9d !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.08) !important;
}

.form-actions-compact {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-block {
    width: 100%;
    text-align: center;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border: 2px dashed #e1e8ed;
    border-radius: 12px;
    background: #fafbfc;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    min-height: auto;
}

.file-upload-label:hover {
    border-color: #ff6b9d;
    background: #fff5f8;
}

.file-upload-icon {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.file-upload-text {
    color: #5a6c7d;
    font-size: 0.85rem;
    font-weight: 500;
}

.file-upload-input {
    display: none;
}

.char-count {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.25rem;
    font-size: 0.8rem;
    color: #95a5a6;
}

.trash-section {
    margin-bottom: 2.5rem;
}

.trash-section:last-child {
    margin-bottom: 0;
}

.trash-section-title {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e1e8ed;
}

.form-group-large {
    margin-bottom: 2rem;
}

.form-group-large label {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .post-editor-form {
        grid-template-columns: 1fr;
    }
    
    .post-editor-sidebar {
        position: static;
    }
}

.form-group {
    margin-bottom: 1.75rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2c3e50;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.2s ease;
    background: #fafbfc;
    color: #2c3e50;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #ff6b9d;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 200px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Buttons - Minimal */
.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    background: #2c3e50;
    color: white;
}

.btn-primary {
    background: #2c3e50;
    color: white;
}

.btn-primary:hover {
    background: #1a252f;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.2);
}

.btn-secondary {
    background: white;
    color: #2c3e50;
    border: 1px solid #e1e8ed;
}

.btn-secondary:hover {
    background: #f8f9fa;
    border-color: #2c3e50;
}

.btn-danger {
    background: #e74c3c;
    color: white !important;
}

.btn-danger:hover {
    background: #c0392b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.2);
    color: white !important;
}

.btn-small.btn-danger {
    color: white !important;
}

.btn-small {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

/* Messages - Minimal */
.error {
    background: #fff5f5;
    color: #c53030;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 3px solid #c53030;
    font-size: 0.9rem;
}

.success {
    background: #f0fff4;
    color: #22543d;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 3px solid #22543d;
    font-size: 0.9rem;
}

.warning {
    background: #fffaf0;
    color: #c05621;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 3px solid #c05621;
    font-size: 0.9rem;
}

/* Posts - Minimal Layout */
.index-layout {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.index-main {
    flex: 2;
    min-width: 0;
}

.posts-list {
    display: grid;
    gap: 2.5rem;
}

.sidebar {
    flex: 0 0 280px;
    max-width: 280px;
}

.tag-cloud-sidebar {
    flex-shrink: 0;
    width: 260px;
}

.sidebar-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 100px;
    margin-bottom: 1.5rem;
}

.sidebar-box:last-child {
    margin-bottom: 0;
}

.tag-cloud-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 100px;
}

.sidebar-box h3,
.tag-cloud-box h3 {
    margin: 0 0 1.5rem 0;
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e1e8ed;
    letter-spacing: -0.3px;
}

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

.category-list li {
    margin-bottom: 0.5rem;
}

.category-list a {
    color: #5a6c7d;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    display: block;
    padding: 0.25rem 0;
}

.category-list a:hover {
    color: #ff6b9d;
}

.category-list li.active a {
    color: #ff6b9d;
    font-weight: 500;
}

.category-count {
    color: #7f8c8d;
    font-size: 0.85rem;
    font-weight: 400;
}

.category-link {
    color: #ff6b9d;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s ease;
}

.category-link:hover {
    color: #c44569;
    text-decoration: underline;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    line-height: 1.6;
    align-items: center;
}

.tag-cloud-item {
    display: inline-block;
    color: #5a6c7d;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-weight: 400;
    font-size: 0.9rem;
}

.tag-cloud-item:hover {
    color: #ff6b9d;
}

.tag-cloud-item.active {
    color: #ff6b9d;
    font-weight: 500;
}

.filter-info {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.filter-info h2 {
    margin: 0 0 0.75rem 0;
    color: #2c3e50;
    font-size: 1.25rem;
    font-weight: 600;
}

.clear-filter {
    color: #ff6b9d;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.clear-filter:hover {
    color: #c44569;
}

.post-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.post-card .post-thumbnail {
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    max-width: 400px;
    display: block;
}

.post-card .post-thumbnail a {
    display: block;
    width: 100%;
}

.post-card .post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.post-card .post-thumbnail:hover img {
    transform: scale(1.02);
}

.post-card h3 {
    margin: 0 0 0.75rem 0;
    padding: 0;
}

.post-card h3 a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 1.75rem;
    font-weight: 600;
    transition: color 0.2s ease;
    line-height: 1.3;
    display: block;
    letter-spacing: -0.5px;
}

.post-card h3 a:hover {
    color: #ff6b9d;
}

.post-meta {
    color: #7f8c8d;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-excerpt {
    margin-bottom: 1.5rem;
    color: #5a6c7d;
    line-height: 1.7;
    font-size: 0.95rem;
}

.post-card-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e1e8ed;
}

.read-more-link {
    color: #ff6b9d;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    display: inline-block;
}

.read-more-link:hover {
    color: #c44569;
}

.current-image {
    margin-bottom: 1rem;
}

.current-image img {
    border: 1px solid #e1e8ed;
    border-radius: 8px;
}

/* Pagination - Minimal */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin: 3rem 0 2rem 0;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.pagination-link {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: #f8f9fa;
    border: 1px solid #e1e8ed;
    font-size: 0.9rem;
}

.pagination-link:hover {
    background: #2c3e50;
    color: white;
    border-color: #2c3e50;
}

.pagination-info {
    color: #7f8c8d;
    font-weight: 400;
    font-size: 0.9rem;
}

/* Post View - Minimal */
.post-view-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
    align-items: start;
}

.post-view {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    min-width: 0;
}

.post-view h1 {
    margin-bottom: 1rem;
    color: #2c3e50;
    font-size: 2.25rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.post-content-wrapper {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    margin: 2.5rem 0;
}

.post-featured-image {
    flex-shrink: 0;
    width: 280px;
    max-width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.post-content {
    flex: 1;
    line-height: 1.8;
    color: #5a6c7d;
    font-size: 1.05rem;
    margin: 0;
}

/* Rich text editor content styling */
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    color: #2c3e50;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
}

.post-content h1 { font-size: 2rem; }
.post-content h2 { font-size: 1.75rem; }
.post-content h3 { font-size: 1.5rem; }
.post-content h4 { font-size: 1.25rem; }
.post-content h5 { font-size: 1.1rem; }
.post-content h6 { font-size: 1rem; }

.post-content p {
    margin-bottom: 1rem;
}

.post-content ul,
.post-content ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

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

.post-content a {
    color: #ff6b9d;
    text-decoration: underline;
}

.post-content a:hover {
    color: #c44569;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.post-content blockquote {
    border-left: 3px solid #e1e8ed;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    color: #7f8c8d;
    font-style: italic;
}

.post-content code {
    background: #f8f9fa;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #e74c3c;
}

.post-content pre {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
    border: 1px solid #e1e8ed;
}

.post-content pre code {
    background: none;
    padding: 0;
    color: #2c3e50;
}

.post-content hr {
    border: none;
    border-top: 1px solid #e1e8ed;
    margin: 2rem 0;
}

/* Post Sidebar Widgets */
.post-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 100px;
}

.related-posts-widget,
.popular-posts-widget {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.related-posts-widget h3,
.popular-posts-widget h3 {
    margin: 0 0 1.5rem 0;
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e1e8ed;
    letter-spacing: -0.3px;
}

.related-posts-list,
.popular-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.related-post-item,
.popular-post-item {
    margin: 0;
}

.related-post-link,
.popular-post-link {
    display: flex;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    padding: 0.5rem;
    border-radius: 8px;
    margin: -0.5rem;
}

.related-post-link:hover,
.popular-post-link:hover {
    background: #f8f9fa;
    transform: translateX(4px);
}

.related-post-image,
.popular-post-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
}

.related-post-image img,
.popular-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.related-post-content,
.popular-post-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.related-post-title,
.popular-post-title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.related-post-link:hover .related-post-title,
.popular-post-link:hover .popular-post-title {
    color: #ff6b9d;
}

.related-post-excerpt {
    margin: 0;
    font-size: 0.85rem;
    color: #7f8c8d;
    line-height: 1.5;
}

.related-post-date,
.popular-post-date {
    font-size: 0.8rem;
    color: #95a5a6;
    font-weight: 400;
}

/* Reading Progress Indicator */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.05);
    z-index: 1000;
    display: none;
}

.reading-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #ff6b9d, #c44569);
    width: 0%;
    transition: width 0.1s ease;
    box-shadow: 0 2px 4px rgba(255, 107, 157, 0.3);
}

/* Show progress bar on scroll */
body.scrolled .reading-progress {
    display: block;
}

/* Post Toolbar */
.post-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e1e8ed;
}

.post-toolbar-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-print {
    background: transparent;
    border: 1px solid #e1e8ed;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #5a6c7d;
    transition: all 0.2s ease;
}

.btn-print:hover {
    background: #f8f9fa;
    border-color: #ff6b9d;
    color: #ff6b9d;
}

.reading-time {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Table of Contents */
.table-of-contents {
    background: #f8f9fa;
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.table-of-contents h3 {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
}

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

.toc-item {
    margin: 0.5rem 0;
}

.toc-item a {
    color: #5a6c7d;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: block;
    padding: 0.25rem 0;
}

.toc-item a:hover {
    color: #ff6b9d;
    padding-left: 0.5rem;
}

.toc-level-1 {
    font-weight: 600;
    margin-left: 0;
}

.toc-level-2 {
    margin-left: 1rem;
}

.toc-level-3 {
    margin-left: 2rem;
    font-size: 0.9rem;
}

.toc-level-4 {
    margin-left: 3rem;
    font-size: 0.85rem;
}

.toc-level-5,
.toc-level-6 {
    margin-left: 4rem;
    font-size: 0.85rem;
    color: #7f8c8d;
}

/* Post Navigation */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 3rem 0 2rem 0;
    padding-top: 2rem;
    border-top: 2px solid #e1e8ed;
}

.post-nav-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.post-nav-prev {
    text-align: left;
}

.post-nav-next {
    text-align: right;
}

.post-nav-label {
    font-size: 0.85rem;
    color: #7f8c8d;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-nav-link {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    padding: 1rem;
    border-radius: 8px;
    background: #f8f9fa;
    border: 1px solid #e1e8ed;
}

.post-nav-link:hover {
    background: white;
    border-color: #ff6b9d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.post-nav-link h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    transition: color 0.2s ease;
}

.post-nav-link:hover h4 {
    color: #ff6b9d;
}

.post-nav-link p {
    margin: 0;
    font-size: 0.9rem;
    color: #7f8c8d;
    line-height: 1.5;
}

/* Social Sharing */
.social-sharing {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding: 1.5rem 0;
    margin: 1.5rem 0;
    border-top: 1px solid #e1e8ed;
    border-bottom: 1px solid #e1e8ed;
}

.social-sharing-label {
    font-size: 0.9rem;
    color: #7f8c8d;
    font-weight: 500;
    margin-right: 0.5rem;
}

.social-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid #e1e8ed;
    background: white;
    color: #5a6c7d;
}

.social-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.social-share-btn svg {
    flex-shrink: 0;
}

.social-share-twitter:hover {
    background: #1da1f2;
    color: white;
    border-color: #1da1f2;
}

.social-share-facebook:hover {
    background: #1877f2;
    color: white;
    border-color: #1877f2;
}

.social-share-linkedin:hover {
    background: #0a66c2;
    color: white;
    border-color: #0a66c2;
}

.social-share-copy:hover {
    background: #f8f9fa;
    border-color: #ff6b9d;
    color: #ff6b9d;
}

.author-link {
    color: #ff6b9d;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.author-link:hover {
    color: #c44569;
    text-decoration: underline;
}

/* Author Profile Page */
.author-profile {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.author-header {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e1e8ed;
}

.author-avatar {
    flex-shrink: 0;
}

.author-avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b9d, #c44569);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(255, 107, 157, 0.3);
}

.author-info {
    flex: 1;
}

.author-info h1 {
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
    color: #2c3e50;
}

.author-email {
    color: #7f8c8d;
    margin: 0 0 1.5rem 0;
    font-size: 0.95rem;
}

.author-stats {
    display: flex;
    gap: 2rem;
}

.author-stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.85rem;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
}

.author-posts-section {
    margin-top: 2rem;
}

.author-posts-section h2 {
    margin: 0 0 2rem 0;
    font-size: 1.5rem;
    color: #2c3e50;
}

.author-posts-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.author-post-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.author-post-card:hover {
    border-color: #ff6b9d;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.author-post-image {
    flex-shrink: 0;
    width: 200px;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
}

.author-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-post-content {
    flex: 1;
    min-width: 0;
}

.author-post-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
}

.author-post-content h3 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.2s ease;
}

.author-post-content h3 a:hover {
    color: #ff6b9d;
}

.author-post-meta {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.author-post-excerpt {
    color: #5a6c7d;
    line-height: 1.6;
    margin: 0.75rem 0 0 0;
}

.author-empty {
    text-align: center;
    padding: 3rem;
    color: #7f8c8d;
}

/* Post Reactions */
.post-reactions {
    margin: 1.5rem 0;
    padding: 1rem 0;
}

.reaction-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid #e1e8ed;
    border-radius: 50px;
    background: white;
    color: #5a6c7d;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.reaction-btn:hover {
    border-color: #ff6b9d;
    color: #ff6b9d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.2);
}

.reaction-btn.reacted {
    background: #fff5f8;
    border-color: #ff6b9d;
    color: #ff6b9d;
}

.reaction-btn.reacted svg {
    fill: #ff6b9d;
    animation: heartBeat 0.3s ease;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.reaction-count {
    font-weight: 600;
    min-width: 1.5rem;
    text-align: center;
}

.reaction-label {
    font-weight: 500;
}

.post-actions {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e1e8ed;
    display: flex;
    gap: 1rem;
}

/* Tables - Minimal */
.data-table {
    width: 100%;
    background: white;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.data-table thead {
    background: #2c3e50;
    color: white;
}

.data-table th,
.data-table td {
    padding: 1.25rem;
    text-align: left;
}

.data-table th {
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table tbody tr {
    border-bottom: 1px solid #e1e8ed;
    transition: background 0.2s ease;
}

.data-table tbody tr:hover {
    background: #f8f9fa;
}

.data-table tbody tr:last-child {
    border-bottom: none;
}

.data-table a {
    color: #ff6b9d;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s ease;
}

.data-table a:hover {
    color: #c44569;
}

/* Dashboard */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e1e8ed;
}

.dashboard-subtitle {
    color: #7f8c8d;
    margin-top: 0.25rem;
    font-size: 0.95rem;
}

.dashboard-quick-actions {
    display: flex;
    gap: 0.75rem;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.stat-icon {
    font-size: 2rem;
    line-height: 1;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #7f8c8d;
    font-weight: 400;
}

.dashboard-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f8f9fa;
}

.dashboard-topbar {
    background: white;
    border-bottom: 1px solid #e1e8ed;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.topbar-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-content h1 {
    margin: 0;
    font-size: 1.5rem;
}

.topbar-content h1 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.2s ease;
}

.topbar-content h1 a:hover {
    color: #ff6b9d;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.9rem;
}

.topbar-right span {
    color: #5a6c7d;
}

.topbar-right a {
    color: #5a6c7d;
    text-decoration: none;
    transition: color 0.2s ease;
}

.topbar-right a:hover {
    color: #ff6b9d;
}

.dashboard-wrapper-inner {
    display: flex;
    flex: 1;
    min-height: 0;
    align-items: flex-start;
    overflow: hidden;
}

.dashboard-sidebar-left {
    width: 260px;
    background: #2c3e50;
    color: #ecf0f1;
    flex-shrink: 0;
    height: calc(100vh - 70px);
    overflow-y: auto;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
}

.sidebar-nav {
    padding: 1rem 0;
}

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

.sidebar-menu li {
    margin: 0;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    border-left: 3px solid transparent;
}

.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-left-color: #ff6b9d;
}

.sidebar-link.active {
    background: rgba(255, 107, 157, 0.1);
    color: #ff6b9d;
    border-left-color: #ff6b9d;
    font-weight: 600;
}

.sidebar-icon {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.sidebar-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0.5rem 1.5rem;
    padding: 0;
}

.sidebar-item-has-dropdown {
    position: relative;
}

.sidebar-dropdown-toggle {
    position: relative;
}

.sidebar-arrow {
    margin-left: auto;
    font-size: 0.7rem;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.sidebar-item-has-dropdown.active .sidebar-arrow {
    transform: rotate(180deg);
}

.sidebar-dropdown {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(0, 0, 0, 0.2);
}

.sidebar-item-has-dropdown.active .sidebar-dropdown {
    max-height: 500px;
}

.sidebar-dropdown-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem 0.75rem 3.5rem;
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    border-left: 3px solid transparent;
}

.sidebar-dropdown-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-left-color: #ff6b9d;
}

.sidebar-dropdown-link .sidebar-icon {
    font-size: 1rem;
    width: 20px;
}

.sidebar-dropdown-link.active {
    background: rgba(255, 107, 157, 0.15);
    color: #ff6b9d;
    border-left-color: #ff6b9d;
    font-weight: 600;
}

.dashboard-main-content {
    flex: 1;
    min-width: 0;
    background: #f8f9fa;
    padding: 2rem 0;
}

.dashboard-main-content .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.dashboard-content {
    display: block;
}

.dashboard-main {
    min-width: 0;
}

.dashboard-posts-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 2rem;
}

.dashboard-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e1e8ed;
}

.dashboard-section-header h3 {
    margin: 0;
    font-size: 1.35rem;
}

.dashboard-section-actions {
    display: flex;
    gap: 0.75rem;
}

.dashboard-empty {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.dashboard-empty p {
    margin-bottom: 1.5rem;
    color: #7f8c8d;
}

.dashboard-posts-list {
    margin-top: 1.5rem;
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.dashboard-table thead {
    background: #f8f9fa;
    border-bottom: 2px solid #e1e8ed;
}

.dashboard-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dashboard-table td {
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.dashboard-table tbody tr {
    transition: background-color 0.2s ease;
}

.dashboard-table tbody tr:hover {
    background-color: #f8f9fa;
}

.dashboard-table tbody tr:last-child td {
    border-bottom: none;
}

.post-title-cell {
    min-width: 200px;
}

.post-title-link {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s ease;
    display: block;
}

.post-title-link:hover {
    color: #ff6b9d;
}

.post-status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-status-badge.status-published {
    background: #d4edda;
    color: #155724;
}

.post-status-badge.status-draft {
    background: #fff3cd;
    color: #856404;
}

.post-category-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #e3f2fd;
    color: #1976d2;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
}

.post-date-cell {
    color: #7f8c8d;
    font-size: 0.9rem;
    white-space: nowrap;
}

.post-actions-cell {
    white-space: nowrap;
    text-align: right;
}

.post-actions-inline {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    align-items: center;
}

.action-link {
    color: #3498db;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
    padding: 0.25rem 0;
}

.action-link:hover {
    color: #2980b9;
    text-decoration: underline;
}

.action-link-danger {
    color: #e74c3c;
}

.action-link-danger:hover {
    color: #c0392b;
}

.text-muted {
    color: #95a5a6;
    font-style: italic;
}

.dashboard-more {
    margin-top: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.dashboard-more p {
    margin-bottom: 1rem;
    color: #7f8c8d;
}

.dashboard-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.dashboard-widget {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 100px;
}

.dashboard-widget h4 {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    color: #2c3e50;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e1e8ed;
}

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

.dashboard-links li {
    margin: 0;
    border-bottom: 1px solid #f8f9fa;
}

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

.dashboard-links a {
    display: block;
    padding: 0.75rem 0;
    color: #5a6c7d;
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.dashboard-links a:hover {
    color: #ff6b9d;
    padding-left: 0.5rem;
}

.dashboard-actions {
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

h3 {
    color: #2c3e50;
    margin: 2rem 0 1rem;
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.text-center {
    text-align: center;
    margin-top: 1rem;
}

.text-center a {
    color: #ff6b9d;
    text-decoration: none;
    font-weight: 400;
}

.text-center a:hover {
    color: #c44569;
}

/* Links */
a {
    color: #ff6b9d;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #c44569;
}

/* Tags */
.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e1e8ed;
    flex-wrap: wrap;
    gap: 1rem;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
    align-items: center;
}

.post-tags strong {
    margin-right: 0.5rem;
    color: #5a6c7d;
    font-weight: 500;
    font-size: 0.9rem;
}

.tag {
    display: inline-block;
    background: #f8f9fa;
    color: #5a6c7d;
    padding: 0.35rem 0.875rem;
    border-radius: 6px;
    font-size: 0.85rem;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid #e1e8ed;
    transition: all 0.2s ease;
    font-weight: 400;
}

.tag:hover {
    background: #ff6b9d;
    color: white;
    border-color: #ff6b9d;
    text-decoration: none;
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: #7f8c8d;
    font-size: 0.85rem;
}

/* Settings */
.settings-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e1e8ed;
}

.settings-subtitle {
    color: #7f8c8d;
    margin-top: 0.25rem;
    font-size: 0.95rem;
}

.settings-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    align-items: start;
}

.settings-sidebar {
    position: sticky;
    top: 100px;
}

.settings-nav {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.settings-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    color: #5a6c7d;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 400;
    font-size: 0.95rem;
}

.settings-nav-item:hover {
    background: #f8f9fa;
    color: #2c3e50;
}

.settings-nav-item.active {
    background: #fff5f8;
    color: #ff6b9d;
    font-weight: 500;
}

.nav-icon {
    font-size: 1.25rem;
    line-height: 1;
}

.settings-content {
    min-width: 0;
}

.settings-panel {
    display: none;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.settings-panel.active {
    display: block;
}

.settings-panel-header {
    padding: 2rem 2rem 1rem 2rem;
    border-bottom: 1px solid #e1e8ed;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.settings-panel-header h3 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
}

.settings-panel-header > p {
    margin: 0;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.settings-panel-actions {
    flex-shrink: 0;
}

.settings-panel-body {
    padding: 2rem;
}

.settings-form {
    max-width: 600px;
}

.settings-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.settings-card {
    background: #f8f9fa;
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s ease;
}

.settings-card:hover {
    border-color: #ff6b9d;
    box-shadow: 0 2px 20px rgba(255, 107, 157, 0.1);
}

.settings-card-icon {
    font-size: 2rem;
    line-height: 1;
    flex-shrink: 0;
}

.settings-card-content {
    flex: 1;
    min-width: 0;
}

.settings-card-content h4 {
    margin: 0 0 0.25rem 0;
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
}

.settings-card-content p {
    margin: 0;
    color: #7f8c8d;
    font-size: 0.875rem;
}

.settings-card-action {
    flex-shrink: 0;
}

.settings-empty {
    text-align: center;
    padding: 3rem 2rem;
    color: #7f8c8d;
}

.settings-empty p {
    margin-bottom: 1.5rem;
}

.settings-table-wrapper {
    overflow-x: auto;
}

.badge-current {
    display: inline-block;
    background: #fff5f8;
    color: #ff6b9d;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-left: 0.5rem;
}

.table-actions {
    display: flex;
    gap: 0.5rem;
}

/* Settings Sections (legacy support) */
.settings-sections {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.settings-section {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.settings-section h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-size: 1.35rem;
    font-weight: 600;
    border-bottom: 1px solid #e1e8ed;
    padding-bottom: 1rem;
    letter-spacing: -0.3px;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
}

.status-draft {
    background: #f59e0b;
}

.status-published {
    background: #10b981;
}

/* Post Date Styling */
.post-date-cell {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.date-display {
    font-weight: 500;
    color: #2c3e50;
    font-size: 0.9rem;
}

.date-time {
    font-size: 0.8rem;
    color: #7f8c8d;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 20px;
    }
    
    .nav-right {
        width: 100%;
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-search-form {
        order: -1;
        width: 100%;
        justify-content: center;
    }
    
    .nav-search-input {
        flex: 1;
        max-width: 100%;
        width: 100%;
    }
    
    .nav-search-input:focus {
        width: 100%;
        max-width: 100%;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        width: 100%;
    }
    
    .nav-categories,
    .nav-pages {
        justify-content: center;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        padding-top: 1rem;
        margin-top: 1rem;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        margin-top: 0;
        padding-left: 1rem;
        background: #f8f9fa;
        border-radius: 4px;
    }
    
    .dropdown-arrow {
        display: none;
    }
    
    .nav-user {
        justify-content: center;
    }
    
    .container {
        padding: 1rem;
    }
    
    .auth-form, .post-form {
        padding: 2rem;
        margin: 1rem;
    }
    
    .post-view-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .post-sidebar {
        position: static;
        order: -1;
    }
    
    .post-view {
        padding: 2rem;
    }
    
    .post-view h1 {
        font-size: 1.75rem;
    }
    
    .post-content-wrapper {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .post-featured-image {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .related-post-link,
    .popular-post-link {
        flex-direction: column;
    }
    
    .related-post-image,
    .popular-post-image {
        width: 100%;
        height: 180px;
    }
    
    .post-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .post-navigation {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .post-nav-next {
        text-align: left;
    }
    
    .table-of-contents {
        padding: 1rem;
    }
    
    .index-layout {
        flex-direction: column;
        gap: 2rem;
    }
    
    .sidebar {
        flex: 1;
        max-width: 100%;
        width: 100%;
        order: -1;
    }
    
    .tag-cloud-sidebar {
        width: 100%;
        order: -1;
    }
    
    .sidebar-box,
    .tag-cloud-box {
        position: static;
    }
    
    .post-card {
        padding: 1.5rem;
    }
    
    .post-card h3 a {
        font-size: 1.5rem;
    }
    
    .dashboard-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .dashboard-quick-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dashboard-wrapper-inner {
        flex-direction: column;
    }
    
    .dashboard-sidebar-left {
        width: 100%;
        position: static;
        height: auto;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .topbar-content {
        padding: 0 1rem;
    }
    
    .sidebar-nav {
        padding: 0.5rem 0;
    }
    
    .sidebar-menu {
        display: flex;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
    .sidebar-menu li {
        flex-shrink: 0;
    }
    
    .sidebar-link {
        padding: 0.75rem 1rem;
        white-space: nowrap;
    }
    
    .sidebar-divider {
        display: none;
    }
    
    .sidebar-dropdown {
        max-height: none !important;
    }
    
    .sidebar-item-has-dropdown.active .sidebar-dropdown {
        max-height: none !important;
    }
    
    .dashboard-main-content {
        padding: 1.5rem 0;
    }
    
    .dashboard-main-content .container {
        padding: 0 1rem;
    }
    
    .dashboard-posts-section {
        padding: 1.5rem;
    }
    
    .dashboard-table {
        font-size: 0.85rem;
    }
    
    .dashboard-table th,
    .dashboard-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .post-title-cell {
        min-width: 150px;
    }
    
    .post-actions-inline {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-end;
    }
    
    .dashboard-table th:nth-child(3),
    .dashboard-table td:nth-child(3) {
        display: none; /* Hide category on mobile */
    }
    
    .dashboard-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .dashboard-section-actions {
        width: 100%;
    }
    
    .settings-layout {
        grid-template-columns: 1fr;
    }
    
    .settings-sidebar {
        position: static;
        order: -1;
    }
    
    .settings-nav {
        flex-direction: row;
        overflow-x: auto;
        padding: 0.5rem;
    }
    
    .settings-nav-item {
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .settings-panel-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .settings-panel-actions {
        width: 100%;
    }
    
    .settings-cards {
        grid-template-columns: 1fr;
    }
}

/* Footer Styles */
.site-footer {
    background: #2c3e50;
    color: #ecf0f1;
    margin-top: 4rem;
    padding: 3rem 0 2rem;
    border-top: 3px solid #ff6b9d;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-menu li {
    margin-bottom: 0.75rem;
}

.footer-menu a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.95rem;
}

.footer-menu a:hover {
    color: #ff6b9d;
    padding-left: 0.25rem;
}

.footer-text {
    color: #95a5a6;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-section {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .site-footer {
        padding: 2rem 0 1.5rem;
    }
}

/* Archive Pages */
.archive-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e1e8ed;
}

.archive-header h1 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.archive-header p {
    color: #7f8c8d;
    font-size: 1rem;
}

.no-posts {
    text-align: center;
    padding: 3rem;
    background: #f8f9fa;
    border-radius: 12px;
    margin: 2rem 0;
}

.no-posts p {
    color: #7f8c8d;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* News Article Template Styles */
.news-article {
    max-width: 800px;
    margin: 0 auto;
    font-family: Georgia, 'Times New Roman', serif;
}

.news-article .article-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e1e8ed;
}

.news-article .article-headline {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #1a1a1a;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.news-article .article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: #7f8c8d;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.news-article .article-byline {
    font-weight: 600;
    color: #2c3e50;
}

.news-article .article-lead {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-left: 4px solid #007bff;
    border-radius: 4px;
}

.news-article .lead-paragraph {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #2c3e50;
    margin: 0;
}

.news-article .article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.news-article .article-body p {
    margin-bottom: 1.5rem;
}

.news-article .article-body h2 {
    font-size: 1.75rem;
    margin: 2rem 0 1rem;
    color: #1a1a1a;
    font-weight: 700;
}

.news-article .article-body ul,
.news-article .article-body ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.news-article .article-body li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.news-article .article-body blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border-left: 4px solid #007bff;
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.7;
    color: #2c3e50;
}

.news-article .article-body blockquote cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.95rem;
    font-style: normal;
    color: #7f8c8d;
    font-weight: 600;
}

.news-article .article-footer {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e1e8ed;
    font-size: 0.95rem;
    color: #7f8c8d;
    font-style: italic;
}

/* Tutorial & Guide Template Styles */
.tutorial-guide {
    max-width: 900px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.tutorial-guide .tutorial-intro {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid #007bff;
}

.tutorial-guide .tutorial-intro h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.tutorial-guide .tutorial-subtitle {
    font-size: 1.15rem;
    color: #7f8c8d;
    font-weight: 400;
    margin: 0;
}

.tutorial-guide .tutorial-overview,
.tutorial-guide .tutorial-prerequisites {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid #28a745;
}

.tutorial-guide .tutorial-overview h2,
.tutorial-guide .tutorial-prerequisites h2 {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-weight: 600;
}

.tutorial-guide .tutorial-overview ul,
.tutorial-guide .tutorial-prerequisites ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.tutorial-guide .tutorial-overview li,
.tutorial-guide .tutorial-prerequisites li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.tutorial-guide .tutorial-prerequisites p {
    margin: 0.75rem 0;
    color: #2c3e50;
}

.tutorial-guide .tutorial-content {
    margin: 2rem 0;
}

.tutorial-guide .tutorial-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e1e8ed;
}

.tutorial-guide .tutorial-content h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 1.5rem 0 1rem;
}

.tutorial-guide .tutorial-content h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 1rem 0 0.5rem;
}

.tutorial-guide .tutorial-content p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
    color: #333;
}

.tutorial-guide .tutorial-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.tutorial-guide .tutorial-content ol li {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #333;
}

.tutorial-guide .code-example {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 1.5rem;
    border-radius: 6px;
    margin: 1.5rem 0;
    overflow-x: auto;
}

.tutorial-guide .code-example h4 {
    color: #f8f8f2;
    margin-top: 0;
    margin-bottom: 1rem;
}

.tutorial-guide .code-example pre {
    margin: 0;
    background: transparent;
    padding: 0;
}

.tutorial-guide .code-example code {
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #f8f8f2;
}

.tutorial-guide .tip-box {
    background: #e7f5e7;
    border-left: 4px solid #28a745;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    border-radius: 4px;
}

.tutorial-guide .tip-box p {
    margin: 0;
    color: #155724;
}

.tutorial-guide .warning-box {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    border-radius: 4px;
}

.tutorial-guide .warning-box p {
    margin: 0;
    color: #856404;
}

.tutorial-guide .tutorial-troubleshooting {
    background: #fff5f5;
    border: 1px solid #fecaca;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.tutorial-guide .tutorial-troubleshooting h2 {
    color: #c53030;
    border-bottom: 2px solid #fecaca;
    padding-bottom: 0.5rem;
    margin-top: 0;
}

.tutorial-guide .troubleshooting-item {
    margin: 1.5rem 0;
    padding: 1rem;
    background: white;
    border-radius: 4px;
}

.tutorial-guide .troubleshooting-item h3 {
    color: #c53030;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.tutorial-guide .troubleshooting-item p {
    margin: 0;
    color: #333;
}

.tutorial-guide .tutorial-summary {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2.5rem 0;
}

.tutorial-guide .tutorial-summary h2 {
    color: #1565c0;
    border-bottom: 2px solid #90caf9;
    margin-top: 0;
    padding-bottom: 0.5rem;
}

.tutorial-guide .tutorial-summary h3 {
    color: #1976d2;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.tutorial-guide .tutorial-summary ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.tutorial-guide .tutorial-summary li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.tutorial-guide .tutorial-next-steps,
.tutorial-guide .tutorial-resources {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.tutorial-guide .tutorial-next-steps h2,
.tutorial-guide .tutorial-resources h2 {
    color: #1a1a1a;
    margin-top: 0;
    margin-bottom: 1rem;
    border-bottom: none;
    padding-bottom: 0;
}

.tutorial-guide .tutorial-next-steps ul,
.tutorial-guide .tutorial-resources ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.tutorial-guide .tutorial-next-steps li,
.tutorial-guide .tutorial-resources li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.tutorial-guide .tutorial-resources a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.tutorial-guide .tutorial-resources a:hover {
    text-decoration: underline;
}

/* Responsive styles for templates */
@media (max-width: 768px) {
    .news-article .article-headline {
        font-size: 2rem;
    }
    
    .news-article .lead-paragraph {
        font-size: 1.1rem;
    }
    
    .tutorial-guide .tutorial-intro h1 {
        font-size: 1.75rem;
    }
    
    .tutorial-guide .tutorial-content h2 {
        font-size: 1.5rem;
    }
}
