/* Trumbowyg Editor CSS Import */
@import url('https://cdnjs.cloudflare.com/ajax/libs/Trumbowyg/2.27.3/ui/trumbowyg.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/Trumbowyg/2.27.3/plugins/colors/ui/trumbowyg.colors.min.css');
@import url('https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css');

/* Content Wrapper (Remove positioning and size constraints) */
.content-wrapper {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Paragraph Styling */
p {
    width: 100%;
    overflow-wrap: break-word;
}

/* Remove Trumbowyg Box Maximum Width and Margin */
.trumbowyg-box {
    margin: 0; /* Reset the margin */
    max-width: none; /* Allow it to expand to fit its container */
}

/* Trumbowyg Editor Styling */
.trumbowyg-editor {
    max-width: 100%;
    overflow-wrap: break-word;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
    .content-wrapper {
        max-width: 100%;
    }
}

@media (min-width: 769px) {
    .content-wrapper {
        max-width: 100%;
    }
}

/* Action Buttons Styling */
.actions {
    display: flex;
    justify-content: space-between;
}

.action-button {
    margin: 0 5px;
}

/* Container Styling */
.container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Custom Editor Toolbar and Editor Styling (Keep Original Structure) */
.trumbowyg-button-pane {
    background-color: #f5f5f5;
}

.trumbowyg-button {
    color: #333;
}

    .trumbowyg-button:hover {
        background-color: #e0e0e0;
    }

.trumbowyg-dropdown {
    background-color: #f9f9f9;
    border: 1px solid #ccc;
}

    .trumbowyg-dropdown button:hover {
        background-color: #ddd;
    }

.trumbowyg-editor {
    background-color: #ffffff;
    color: #000;
    font-family: Arial, sans-serif;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.page-section {
    padding: 50px 0;
}

.page-container {
    max-width: 900px;
    margin: 0 auto;
}

.page-header {
    font-size: 2.5rem;
    color: #333;
    text-align: center;
    margin-bottom: 40px;
}

.page-paragraph {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.page-subheader {
    font-size: 1.5rem;
    color: #222;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-link {
    color: #007bff;
    text-decoration: none;
}
.page-link:hover {
    text-decoration: underline;
}

.thumbnail {
    width: 100%; 
    max-height: 350px;
    object-fit: cover;
}

.user-thumbnail {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.comment-thumbnail {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.post-info {
    margin-bottom: 15px;
}

    .post-info .user-name,
    .post-info .category,
    .post-info .date,
    .post-info .comments,
    .post-info .views {
        margin-right: 10px;
    }

.comment-header {
    margin-bottom: 5px;
}

.user-thumbnail {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
}

.user-name a, .category a {
    text-decoration: none;
    color: #333;
}

.comments, .views, .date {
    color: #6c757d;
}

.d-flex {
    display: flex;
}

.flex-grow-1 {
    flex-grow: 1;
}

.justify-content-center {
    justify-content: center;
}

.sidebar {
    max-height: 800px;
    overflow-y: auto;
    padding-right: 10px;
    position: sticky;
    top: 20px;
    margin-bottom: 50px;
}
.sidebar::-webkit-scrollbar {
    width: 0;
    background: transparent;
}

body {
    overflow-y: auto;
}

.sidebar {
    
}

.user-link {
    color: #000;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.15s cubic-bezier(1, 0.8, 0.25, 1);
}

    .user-link:hover {
        text-decoration: underline;
        color: #000;
        font-weight: bold;
    }

#userArticlesTable {
    border-collapse: collapse !important;
    width: 100%;
    border: 1px solid #ddd !important;
    background-color: white;
}

#userArticlesTable {
    border-collapse: collapse !important;
    width: 100%;
    border: 1px solid #ddd !important;
    background-color: white;
    /* Tablo dışına gölge ekleyelim */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 20px; /* Üstten biraz boşluk verelim */
}

    /* Satır aralarındaki çizgilerin belirgin olması için */
    #userArticlesTable td, #userArticlesTable th {
        border: 1px solid #ddd !important;
        padding: 8px !important;
    }

    /* Satır renklendirmeleri */
    #userArticlesTable tr:nth-child(even) {
        background-color: #f2f2f2;
    }

    #userArticlesTable tr:hover {
        background-color: #ddd;
    }

/* Tabloyu çevreleyen hat */
.table-container {
    padding: 15px; /* Tablo ile kenar arasında biraz boşluk */
    border-radius: 8px; /* Kenarları yuvarlak yapalım */
}

/* Navbar arka planını beyaz yap ve yazı stilini ayarla */
.navbar {
    background-color: #ffffff; /* Arka plan beyaz */
    font-family: Arial, sans-serif; /* Yazı karakteri Arial */
    padding: 10px 0; /* Üst ve alt boşluk ekleyelim */
}

/* Navbar linklerinin rengi ve stili */
.navbar-nav .nav-link {
    color: #333; /* Link rengi */
    font-weight: 500; /* Kalınlık */
    text-transform: uppercase; /* Büyük harflerle yazı */
    letter-spacing: 0.5px; /* Harfler arası boşluk */
    padding: 10px 15px; /* Linkler için padding */
}

    /* Hover efekti */
    .navbar-nav .nav-link:hover {
        color: #007bff; /* Hover rengi */
        text-decoration: none; /* Hoverda alt çizgi olmasın */
    }

/* Menü öğelerini ortalama */
.navbar-nav {
    margin: 0 auto; /* Ortala */
}

/* Hamburger menü ikonu */
.navbar-toggler {
    border: none; /* Kenarlarını kaldır */
}

/* Dropdown menü stilleri */
.navbar .dropdown-menu {
    background-color: #fff; /* Arka plan beyaz */
    border: 1px solid #ccc; /* Kenarları gri */
}

    .navbar .dropdown-menu .dropdown-item {
        color: #333; /* Yazı rengi */
    }

        .navbar .dropdown-menu .dropdown-item:hover {
            background-color: #007bff; /* Hover rengi */
            color: #fff; /* Yazı rengi beyaz */
        }

.navbar-nav.ms-auto {
    margin-right: 0 !important;
    padding-right: 0 !important;
}
