/*
Theme Name: Sedd Theme
Description: A lightweight, display-only theme for Sedd Visual Editor.
Version: 1.3.1
Author: Sedd
*/

/* --- Reset & Base --- */
body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    /* Clean Sans */
    line-height: 1.7;
    color: #333;
    background: #fdfdfd;
    /* Soft white */
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #111;
    letter-spacing: -0.02em;
    margin-top: 0;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #0073aa;
}

/* --- Site Header --- */
.site-header {
    padding: 30px 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    margin-bottom: 60px;
}

.site-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.5px;
}


/* --- Single Post (Premium Minimal) --- */
.single-post-wrapper {
    max-width: 800px;
    margin: 0 auto 100px;
    padding: 0 20px;
}

.entry-header {
    text-align: center;
    margin-bottom: 60px;
}

.entry-meta-top {
    font-size: 13px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.entry-cat a {
    color: #888;
    font-weight: 600;
    margin-left: 10px;
}

.entry-title {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 40px;
    font-weight: 800;
    opacity: 0.9;
}

.entry-featured-image {
    width: 100%;
    margin-bottom: 60px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

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

/* Content Typography */
.entry-content-wrapper {
    font-size: 18px;
    color: #444;
}

.entry-content-wrapper p {
    margin-bottom: 1.8em;
}

.entry-content-wrapper h2 {
    font-size: 28px;
    margin-top: 60px;
    margin-bottom: 25px;
}

.entry-content-wrapper h3 {
    font-size: 22px;
    margin-top: 50px;
    margin-bottom: 20px;
}

.entry-content-wrapper ul {
    margin-bottom: 30px;
    padding-left: 20px;
}

.entry-content-wrapper li {
    margin-bottom: 10px;
}

/* Navigation */
.sedd-post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-prev,
.nav-next {
    width: 45%;
}

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

.nav-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    color: #aaa;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.sedd-post-navigation a {
    font-size: 16px;
    font-weight: 600;
    color: #222;
}

/* --- Archive Grid --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.post-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.post-card {
    border: none;
}

.post-card:hover .post-card__title a {
    color: #0073aa;
}

.post-card__thumb {
    height: 240px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.post-card__title {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 700;
}

.post-card__meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 15px;
}

/* --- Editor --- */
.sedd-module {
    position: relative;
    min-height: 0;
}

.sedd-editor-active .sedd-module {
    min-height: 50px;
    border: 1px dashed #e0e0e0;
    margin-bottom: 5px;
}

.sedd-editor-active .sedd-module:hover {
    outline: 2px dashed #0073aa;
    background-color: rgba(0, 115, 170, 0.03);
}

.sedd-edit-btn {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    z-index: 100;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.sedd-editor-active .sedd-module:hover .sedd-edit-btn {
    display: block;
}