/*
Theme Name: Optica WordPress
Theme URI: 
Author: Converted from Tumblr
Author URI: 
Description: Tumblr Optica temasından dönüştürülmüş WordPress teması
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: optica-wp
*/

/* ============================================================
   Tumblr Optica - Orijinal CSS korunmuştur
   ============================================================ */

body {
    background: #fff;
    margin: 0;
    padding: 0;
    font-family: "Helvetica Neue", HelveticaNeue, Arial, sans-serif;
}

.blog-title {
    font-family: "Helvetica Neue", HelveticaNeue, Arial, sans-serif;
    font-weight: bold;
}

.blog-title a,
.description,
.search-no-results,
.related-posts-wrapper > h2,
.widget-title {
    color: #444;
}

a {
    color: #35465d;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ---- Layout ---- */
#page {
    max-width: 1200px;
    margin: 0 auto;
}

.content {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

.container {
    display: flex;
    gap: 30px;
    padding: 20px;
}

.main {
    flex: 1;
    min-width: 0;
}

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

/* ---- Header ---- */
.header-wrapper {
    position: relative;
    width: 100%;
}

.header-image-wrapper {
    width: 100%;
    max-height: 300px;
    overflow: hidden;
}

.header-image-wrapper img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.blog-title-wrapper {
    display: flex;
    align-items: center;
    padding: 20px;
    gap: 15px;
}

.avatar-wrapper a.user-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    display: block;
    border: 3px solid #fff;
    box-shadow: 0 0 0 4px #fff;
}

.avatar-wrapper a.user-avatar img {
    display: none;
}

.blog-title h1 {
    margin: 0;
    font-size: 1.8em;
}

.blog-title h1 a {
    color: inherit;
    text-decoration: none;
}

.description {
    font-size: 0.9em;
    margin-top: 5px;
    display: block;
}

/* ---- Navigation ---- */
.nav-wrapper {
    border-bottom: 1px solid #eee;
    padding: 0 20px;
    background: #fff;
}

.nav-menu ul.inline-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0;
}

.nav-menu ul.inline-nav li a {
    display: block;
    padding: 12px 16px;
    color: #444;
    text-decoration: none;
    font-size: 0.9em;
    border-bottom: 2px solid transparent;
}

.nav-menu ul.inline-nav li a:hover,
.nav-menu ul.inline-nav li a.current-page {
    border-bottom-color: #35465d;
    color: #35465d;
}

/* ---- Posts ---- */
article {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    margin-bottom: 20px;
    overflow: hidden;
}

.post-wrapper {
    padding: 0;
}

.post-header {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.85em;
    color: #999;
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-header a {
    color: #35465d;
    font-weight: bold;
}

.blog-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    vertical-align: middle;
}

section.post {
    padding: 15px;
}

.post-content {
    line-height: 1.6;
}

.post-content h2.title {
    margin-top: 0;
    font-size: 1.4em;
}

.post-content h2.title a {
    color: #333;
    text-decoration: none;
}

.body-text {
    font-size: 0.95em;
    color: #444;
}

/* ---- Photo Posts ---- */
figure.post-content {
    margin: 0;
    padding: 0;
}

.photo-wrapper {
    width: 100%;
    overflow: hidden;
    background: #f5f5f5;
}

.photo-wrapper-inner img,
.photo-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

figcaption.caption {
    padding: 12px 15px;
    font-size: 0.9em;
    color: #555;
    line-height: 1.5;
}

/* ---- Quote Posts ---- */
blockquote {
    border-left: 4px solid #35465d;
    margin: 0 0 10px 0;
    padding: 10px 20px;
    font-size: 1.2em;
    font-style: italic;
    color: #444;
    background: #f9f9f9;
}

.source {
    font-size: 0.85em;
    color: #999;
    padding: 5px 0;
}

/* ---- Link Posts ---- */
.link-wrapper a.link {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 4px;
    text-decoration: none;
    gap: 12px;
    color: inherit;
}

.link-wrapper a.link:hover {
    background: #f0f0f0;
}

.link-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 3px;
}

.link-host {
    font-size: 0.75em;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.link-title {
    margin: 0;
    font-size: 1em;
    color: #35465d;
}

.link-excerpt {
    font-size: 0.85em;
    color: #666;
    margin-top: 4px;
}

.link-author {
    font-size: 0.8em;
    color: #999;
}

/* ---- Chat Posts ---- */
ul.conversation {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul.conversation li {
    padding: 8px 12px;
    font-size: 0.9em;
    border-bottom: 1px solid #f5f5f5;
}

ul.conversation li:nth-child(odd) {
    background: #f9f9f9;
}

ul.conversation li .label {
    font-weight: bold;
    color: #35465d;
    margin-right: 6px;
}

/* ---- Audio Posts ---- */
.audio_container {
    padding: 10px 0;
}

/* ---- Video Posts ---- */
.video-wrapper {
    width: 100%;
    background: #000;
}

.video-wrapper iframe,
.video-wrapper video {
    width: 100%;
    display: block;
}

/* ---- Answer Posts ---- */
.note-item {
    display: flex;
    gap: 12px;
    padding: 12px 15px;
    border-bottom: 1px solid #f5f5f5;
}

.note-item .text {
    flex: 1;
}

.note-item .avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.asker, .answerer {
    margin: 0 0 5px 0;
    font-size: 0.85em;
    color: #999;
}

/* ---- Reblog Trail ---- */
.reblog-list {
    margin-top: 10px;
}

.post-reblog-trail-item {
    border-left: 3px solid #eee;
    margin-bottom: 10px;
    padding-left: 12px;
}

.post-reblog-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.post-avatar-wrapper {
    display: inline-block;
}

.post-avatar-image {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.post-tumblelog-name {
    font-weight: bold;
    font-size: 0.85em;
    color: #35465d;
}

.post-body {
    font-size: 0.9em;
    color: #555;
    line-height: 1.5;
}

/* ---- Post Meta ---- */
.inline-meta {
    padding: 8px 15px;
    border-top: 1px solid #f5f5f5;
    font-size: 0.8em;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.tag-link {
    background: #f0f0f0;
    color: #666;
    padding: 2px 8px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.9em;
}

.tag-link:hover {
    background: #35465d;
    color: #fff;
}

.source-link {
    color: #999;
    font-style: italic;
}

/* ---- Post Footer ---- */
.post-footer {
    padding: 10px 15px;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
}

.date-note-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8em;
}

.post-date {
    color: #999;
    text-decoration: none;
}

.post-notes {
    color: #35465d;
    font-weight: bold;
    text-decoration: none;
}

.post-controls {
    margin-top: 8px;
}

.controls-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

.share-menu {
    position: relative;
    display: inline-block;
}

/* ---- Pagination ---- */
#pagination {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 30px 0;
}

#pagination a {
    padding: 8px 20px;
    border: 1px solid #35465d;
    border-radius: 4px;
    color: #35465d;
    text-decoration: none;
    font-size: 0.9em;
}

#pagination a:hover {
    background: #35465d;
    color: #fff;
}

/* ---- Sidebar ---- */
.widget {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    margin-bottom: 20px;
    overflow: hidden;
}

.widget-title {
    padding: 12px 15px;
    font-size: 0.85em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
    border-bottom: 1px solid #eee;
    background: #fafafa;
}

/* ---- Search ---- */
.search-no-results {
    padding: 40px 20px;
    text-align: center;
    color: #999;
    font-size: 1.1em;
}

/* ---- Comments ---- */
.comments {
    padding: 20px 15px;
    border-top: 1px solid #eee;
}

#comments {
    margin-top: 20px;
}

#comments h2 {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.comment {
    border-bottom: 1px solid #f0f0f0;
    padding: 15px 0;
}

.comment-author {
    font-weight: bold;
    font-size: 0.9em;
}

.comment-content {
    margin-top: 8px;
    font-size: 0.9em;
    color: #555;
    line-height: 1.6;
}

/* ---- Single Post ---- */
.single .post-wrapper {
    padding-bottom: 20px;
}

/* ---- Footer ---- */
#footer {
    padding: 30px 20px;
    border-top: 1px solid #eee;
    text-align: center;
    color: #999;
    font-size: 0.85em;
    margin-top: 40px;
}

/* ---- Responsive ---- */
@media screen and (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .blog-title-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .nav-menu ul.inline-nav {
        flex-wrap: wrap;
    }

    .nav-menu ul.inline-nav li a {
        padding: 10px 12px;
        font-size: 0.85em;
    }
}

@media screen and (max-width: 480px) {
    .blog-title h1 {
        font-size: 1.4em;
    }

    section.post {
        padding: 10px;
    }

    blockquote {
        font-size: 1em;
        padding: 8px 15px;
    }
}
