﻿.blog-sidebar {
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
    font-family: 'Roboto', sans-serif;
}
.file-card {
    transition: all 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

    .file-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    }

.file-icon {
    font-size: 2.5rem;
    padding: 15px;
    border-radius: 10px 0 0 10px;
}

.file-info {
    padding: 15px;
}

.file-name {
    font-weight: bold;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-type {
    font-size: 0.8rem;
    opacity: 0.7;
}

.attachments-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
}
.widget {
    margin-bottom: 40px;
}

.widget-title {
    font-size: 22px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    color: #2c3e50;
    text-transform: uppercase;
    font-weight: bold;
}

.search-widget form {
    display: flex;
    margin-bottom: 15px;
}

.search-widget input {
    flex-grow: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px 0 0 5px;
    transition: border-color 0.3s ease;
}

    .search-widget input:focus {
        border-color: #007bff;
    }

.search-widget button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .search-widget button:hover {
        background-color: #0056b3;
    }

.recent-post-widget ul {
    list-style: none;
    padding: 0;
}

.recent-post-widget li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.recent-post-widget img {
    min-width:60px;
    width: 60px;
    height: 60px;
    object-fit: cover;
    margin-right: 15px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.recent-post-widget h6 {
    font-size: 16px;
    margin: 0;
    color: #333;
    transition: color 0.3s ease;
}

.recent-post-widget a {
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

    .recent-post-widget a:hover h6 {
        color: #007bff;
    }

    .recent-post-widget a:hover {
        transform: translateX(5px);
    }

.tags-widget ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.tags-widget li {
    margin-right: 10px;
    margin-bottom: 10px;
}

.tags-widget .btn {
    background-color: #e9ecef;
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 14px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

    .tags-widget .btn:hover {
        background-color: #007bff;
        color: #fff;
    }
.blog-info {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 100%;
    overflow-x: hidden;
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Başlıklar */
.blog-info h1, .blog-info h2, .blog-info h3, .blog-info h4, .blog-info h5, .blog-info h6 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-weight: bold;
    color: #2c3e50;
    line-height: 1.2;
    position: relative;
    padding-left: 15px;
}

    .blog-info h1::before, .blog-info h2::before, .blog-info h3::before,
    .blog-info h4::before, .blog-info h5::before, .blog-info h6::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 5px;
        height: 70%;
        background-color: #007bff;
        border-radius: 2px;
    }

.blog-info h1 {
    font-size: 36px;
}

.blog-info h2 {
    font-size: 2em;
}

.blog-info h3 {
    font-size: 1.75em;
}

.blog-info h4 {
    font-size: 1.5em;
}

.blog-info h5 {
    font-size: 1.25em;
}

.blog-info h6 {
    font-size: 1em;
}

/* Paragraflar */
.blog-info p {
    margin-bottom: 1em;
    font-size: 1em;
    line-height: 1.8;
}

/* Listeler */
.blog-info ul, .blog-info ol {
    margin-bottom: 1em;
    padding-left: 0;
    list-style-type: none;
}

.blog-info li {
    margin-bottom: 0.5em;
    padding: 10px 15px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    padding-left: 30px;
}

    .blog-info li:hover {
        transform: translateX(5px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

.blog-info ul li::before {
    content: '•';
    color: #007bff;
    font-weight: bold;
    position: absolute;
    left: 10px;
}
.blog-details li {
    margin-bottom: 0.5em;
    padding: 10px 15px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    padding-left: 30px;
}
.blog-info ol {
    counter-reset: item;
}

    .blog-info ol li::before {
        content: counter(item) ".";
        counter-increment: item;
        color: #007bff;
        font-weight: bold;
        position: absolute;
        left: 10px;
    }

/* Alıntılar */
.blog-info blockquote {
    margin: 1em 0;
    padding: 1em;
    border-left: 5px solid #007bff;
    background-color: #fff;
    font-style: italic;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 5px;
}

/* Tablolar */
.blog-info table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 1em;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.blog-info th, .blog-info td {
    padding: 1em;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.blog-info th {
    background-color: #007bff;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.1em;
}

.blog-info tr:last-child td {
    border-bottom: none;
}

.blog-info tr:hover td {
    background-color: #f5f5f5;
}

/* Resimler ve medya */
.blog-info img, .blog-info video, .blog-info audio {
    max-width: 100%;
    height: auto;
    margin-bottom: 1em;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

    .blog-info img:hover, .blog-info video:hover {
        transform: scale(1.03);
    }

/* Kodlar */
.blog-info code {
    font-family: 'Fira Code', monospace;
    background-color: #f8f9fa;
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-size: 0.9em;
}

.blog-info pre {
    background-color: #2c3e50;
    color: #fff;
    padding: 1em;
    overflow-x: auto;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Linkler */
.blog-info a {
    color: #007bff;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

    .blog-info a::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: #007bff;
        transform: scaleX(0);
        transform-origin: bottom right;
        transition: transform 0.3s ease;
    }

    .blog-info a:hover::after {
        transform: scaleX(1);
        transform-origin: bottom left;
    }

/* Vurgu ve metin biçimlendirme */
.blog-info mark {
    background-color: #ffeaa7;
    padding: 0.2em 0.4em;
    border-radius: 3px;
}

/* Yatay çizgi */
.blog-info hr {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, #007bff, transparent);
    margin: 2em 0;
}

/* Form elemanları */
.blog-info input, .blog-info textarea, .blog-info select {
    width: 100%;
    padding: 0.8em;
    margin-bottom: 1em;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: all 0.3s ease;
}

    .blog-info input:focus, .blog-info textarea:focus, .blog-info select:focus {
        outline: none;
        border-color: #007bff;
        box-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
    }

.blog-info button {
    background-color: #007bff;
    color: white;
    padding: 0.8em 1.5em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .blog-info button:hover {
        background-color: #cc0000;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

/* Detay ve özet */
.blog-info details {
    margin-bottom: 1em;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow: hidden;
}

.blog-info summary {
    cursor: pointer;
    padding: 1em;
    background-color: #007bff;
    color: #fff;
    font-weight: bold;
    transition: all 0.3s ease;
}

    .blog-info summary:hover {
        background-color: #cc0000;
    }

.blog-info details[open] summary {
    border-bottom: 1px solid #eee;
}

.blog-info details > *:not(summary) {
    padding: 1em;
}

/* İlerleme çubuğu */
.blog-info progress {
    width: 100%;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
}

    .blog-info progress::-webkit-progress-bar {
        background-color: #f0f0f0;
    }

    .blog-info progress::-webkit-progress-value {
        background-color: #007bff;
    }

/* Altyazı */
.blog-info abbr {
    text-decoration: none;
    border-bottom: 1px dashed #007bff;
    cursor: help;
}

/* Klavye girişi */
.blog-info kbd {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 0.1em 0.3em;
    font-size: 0.9em;
    box-shadow: 0 1px 1px rgba(0,0,0,0.2);
}
@media (min-width: 991px) and (max-width: 1250px) {
    #sidebarBlogD {
        display: none;
    }
}

/* Diğer boyutlarda göster */
@media (max-width: 990px), (min-width: 1201px) {
    #sidebarBlogD {
        display: block; /* veya inline-block, flex, grid, vs. */
    }
}
