/*
Theme Name: Pratik Cozumler
Author: Grok
Description: Pratikcozumler.com için modern, SEO uyumlu, kullanıcı dostu tema.
Version: 2.9
*/

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

html, body {
    margin: 0 !important;
    padding: 0 !important;
    height: 100%;
    background: #F5F6F5 !important;
}

body {
    font-family: 'Inter', sans-serif;
    background: #F5F6F5;
    color: #1A1A1A;
    line-height: 1.6;
    margin: 0 !important;
    padding: 0 !important;
}

body.modal-open {
    overflow: hidden;
}

body.menu-open {
    overflow: hidden;
}

body.single-not {
    margin: 0 !important;
    padding: 0 !important;
    background: #F5F6F5 !important;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Header */
.site-header {
    background: linear-gradient(135deg, #0288D1, #4CAF50);
    color: white;
    position: sticky;
    top: 0;
    z-index: 99980;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    margin: 0 !important;
    padding: 0 !important;
}

body.admin-bar .site-header {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

body.admin-bar .container {
    margin-top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .container {
        margin-top: 46px;
    }
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 20px;
    height: 70px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.logo a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.logo a:hover {
    color: #FFCA28;
}

.logo .custom-logo {
    max-height: 45px;
    width: auto;
}

.header-nav {
    flex: 1;
    margin: 0 20px;
    display: block !important;
}

.nav-menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
}

.nav-menu li {
    margin: 0 10px;
    position: relative;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding: 10px 15px;
    transition: background 0.3s, color 0.3s;
    display: block;
}

/* Aşağı ok simgesi */
.nav-menu .menu-item-has-children > a::after {
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 5px;
    font-size: 14px;
}

.nav-menu a:hover {
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
}

/* Child Menü Stilleri */
.nav-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    border-radius: 5px;
    min-width: 200px;
    z-index: 999;
    list-style: none;
    padding: 0;
    max-height: 300px; /* Maksimum yükseklik */
    overflow-y: auto; /* Kaydırma çubuğu */
}

.nav-menu li:hover > .sub-menu {
    display: block;
}

.nav-menu .sub-menu li {
    margin: 0;
}

.nav-menu .sub-menu a {
    color: #1A1A1A;
    padding: 10px 20px;
    font-size: 14px;
}

.nav-menu .sub-menu a:hover {
    background: #F5F6F5;
    color: #0288D1;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    width: 300px;
    z-index: 99981;
}

#search-toggle {
    display: none !important;
    color: white;
    font-size: 20px;
    text-decoration: none;
}

#search-toggle:hover {
    color: #FFCA28;
}

.search-container {
    display: block;
    width: 100%;
    position: relative;
}

.search-form {
    flex: 1;
    max-width: 100%;
    display: flex;
    align-items: center;
}

.search-form input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 20px 0 0 20px;
    font-size: 14px;
    height: 38px;
    background: #fff;
    border: 1px solid #ddd;
    border-right: none;
}

.search-form button {
    padding: 0 15px;
    background: #FFCA28;
    border: none;
    border-radius: 0 20px 20px 0;
    color: #1A1A1A;
    cursor: pointer;
    height: 38px;
    border: 1px solid #ddd;
    border-left: none;
}

.search-form button:hover {
    background: #FFB300;
}

.search-form button i {
    font-size: 16px;
}

.live-search-results {
    position: absolute;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 99982 !important;
    padding: 10px !important;
    border-radius: 0 0 5px 5px;
    border: 1px solid #ddd;
    max-height: 300px;
    overflow-y: auto !important;
    width: 100%;
    top: 38px;
    display: none;
}

.live-search-result {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.live-search-result:last-child {
    border-bottom: none;
}

.live-search-result a {
    color: #0288D1;
    text-decoration: none;
    font-weight: 600;
}

.live-search-result a:hover {
    color: #4CAF50;
}

.live-search-result p {
    margin: 5px 0 0;
    font-size: 14px;
    color: #333;
}

.share-btn {
    background: #4CAF50 !important;
    padding: 8px 15px !important;
    border-radius: 5px !important;
    color: white !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    transition: background 0.3s ease !important;
    font-size: 14px !important;
}

.share-btn:hover {
    background: #388E3C !important;
}

.mobile-nav {
    display: block;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    z-index: 999;
    background: #0277BD;
}

.mobile-nav .nav-menu {
    display: none !important;
    flex-direction: column;
    width: 100%;
}

.mobile-nav .nav-menu.active {
    display: flex !important;
}

.mobile-nav .nav-menu li {
    margin: 5px 0;
}

.mobile-nav .nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding: 10px 20px;
    display: block;
}

/* Mobil aşağı ok simgesi */
.mobile-nav .menu-item-has-children > a::after {
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 5px;
    font-size: 14px;
}

.mobile-nav .nav-menu a:hover {
    background: #4CAF50;
    border-radius: 5px;
}

/* Mobil Alt Menü Stilleri */
.mobile-nav .sub-menu {
    display: none;
    background: #01579B;
    padding-left: 20px;
    list-style: none;
    max-height: 300px; /* Maksimum yükseklik */
    overflow-y: auto; /* Kaydırma çubuğu */
}

.mobile-nav .sub-menu.active {
    display: block;
}

.mobile-nav .sub-menu a {
    font-size: 14px;
    padding: 8px 20px;
}

.hamburger {
    display: none !important;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

/* Kategoriler */
.categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.category-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: flex-start !important;
    min-height: 60px;
    text-align: left !important;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card a {
    color: #0288D1 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    height: 100% !important;
    gap: 8px;
}

.category-card i {
    font-size: 20px;
    color: #0288D1;
    margin-right: 8px;
    vertical-align: middle;
    display: inline-block;
}

/* Kategori ikonları */
.category-card.ev-ve-yasam i::before { content: "\f015"; }
.category-card.mutfak-ve-yemek i::before { content: "\f2e7"; }
.category-card.kisisel-gelisim i::before { content: "\f5dc"; }
.category-card.is-ve-kariyer i::before { content: "\f0b1"; }
.category-card.egitim-ve-ogrenme i::before { content: "\f19d"; }
.category-card.aile-ve-cocuk i::before { content: "\f1ae"; }
.category-card.saglik-ve-zindelik i::before { content: "\f21e"; }
.category-card.para-ve-butce i::before { content: "\f3d1"; }
.category-card.teknoloji-ve-dijital i::before { content: "\f108"; }
.category-card.iliskiler-ve-sosyal-hayat i::before { content: "\f0c0"; }
.category-card.seyahat-ve-gezi i::before { content: "\f5a2"; }
.category-card.hobi-ve-eglence i::before { content: "\f11b"; }
.category-card.alisveris-ve-tuketci i::before { content: "\f07a"; }
.category-card.kulturel-ve-geleneksel i::before { content: "\f51c"; }
.category-card.acil-durumlar i::before { content: "\f0f9"; }
.category-card.genel i::before { content: "\f0c8"; }
.category-card.doga-ve-cevre i::before { content: "\f06c"; }
.category-card.hayvan-bakimi i::before { content: "\f1b0"; }
.category-card.hizli-onarim-ve-tamir i::before { content: "\f7d9"; }
.category-card.moda-ve-guzellik i::before { content: "\f553"; }
.category-card.ozel-gunler-ve-kutlamalar i::before { content: "\f06b"; }

/* Kategori Not Sayısı */
.category-card .category-count {
    font-size: 14px;
    color: #777;
    background: #e0e0e0;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 30px;
    text-align: center;
    display: inline-block;
}

/* Notlar (Normal Liste) */
.note-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    border-left: 5px solid #0288D1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.note-card .title {
    font-size: 20px;
    font-weight: 600;
}

.note-card .content {
    color: #444;
    margin: 10px 0;
    font-size: 16px;
}

.note-card .note-meta {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 14px;
    color: #777;
}

.note-card .like-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.note-card .like-buttons a {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 12px;
    transition: opacity 0.3s;
    background: none;
}

.note-card .like-buttons a.voted {
    opacity: 0.5;
    pointer-events: none;
}

.note-card .like-buttons .like {
    color: #4CAF50;
}

.note-card .like-buttons .dislike {
    color: #D32F2F;
}

.note-card .like-buttons .view-count {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 12px;
    color: #0288D1;
    margin-left: 10px;
}

/* Reddit Embed Stili */
.reddit-embed-bq {
    max-width: 100%;
    margin: 15px 0;
}

/* Problem ve Çözüm etiketleri için renk sınıfları */
.problem-label {
    color: #D32F2F;
}

.cozum-label {
    color: #4CAF50;
}

/* Modern Kare Not Görünümü (Kategori Sayfası ve Arama Sonuçları için) */
.note-grid {
    margin-bottom: 30px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    position: relative;
}

.note-postit {
    background: #A3BFFA;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 15px;
    width: 280px;
    height: auto;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 20px;
}

.note-postit:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* Pastel renk döngüsü */
.note-postit:nth-child(5n+1) { background: #A3BFFA; }
.note-postit:nth-child(5n+2) { background: #C3E6CB; }
.note-postit:nth-child(5n+3) { background: #FDC1CC; }
.note-postit:nth-child(5n+4) { background: #D6BCFA; }
.note-postit:nth-child(5n+5) { background: #FED7AA; }

.note-postit .note-content {
    flex: 1;
    overflow: hidden;
}

.note-postit .note-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.note-postit .note-title a {
    color: #333;
    text-decoration: none;
}

.note-postit .note-title a:hover {
    color: #0288D1;
}

.note-postit .note-body {
    font-size: 16px;
    color: #444;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.note-postit .note-body iframe {
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 10px 0;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.note-postit .note-meta {
    margin-top: 10px;
    font-size: 12px;
    color: #777;
    border-top: 1px solid #ddd;
    padding-top: 8px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    overflow: hidden;
}

.note-postit .note-meta span {
    margin-right: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.note-postit .like-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.note-postit .like-buttons a {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 12px;
    transition: opacity 0.3s;
    background: none;
}

.note-postit .like-buttons a.voted {
    opacity: 0.5;
    pointer-events: none;
}

.note-postit .like-buttons .like {
    color: #4CAF50;
}

.note-postit .like-buttons .dislike {
    color: #D32F2F;
}

.note-postit .like-buttons .comment-count {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 12px;
    background: none;
    color: #0288D1;
    cursor: default;
}

.note-postit .like-buttons .comment-count i {
    font-size: 14px;
    color: #0288D1;
}

.note-postit .like-buttons .comment-count .comment-number {
    font-weight: 600;
}

/* Pastel renk döngüsü için arka planlar kaldırıldı */
.note-postit:nth-child(5n+1) .like-buttons .like,
.note-postit:nth-child(5n+1) .like-buttons .dislike,
.note-postit:nth-child(5n+1) .like-buttons .comment-count { background: none; }
.note-postit:nth-child(5n+2) .like-buttons .like,
.note-postit:nth-child(5n+2) .like-buttons .dislike,
.note-postit:nth-child(5n+2) .like-buttons .comment-count { background: none; }
.note-postit:nth-child(5n+3) .like-buttons .like,
.note-postit:nth-child(5n+3) .like-buttons .dislike,
.note-postit:nth-child(5n+3) .like-buttons .comment-count { background: none; }
.note-postit:nth-child(5n+4) .like-buttons .like,
.note-postit:nth-child(5n+4) .like-buttons .dislike,
.note-postit:nth-child(5n+4) .like-buttons .comment-count { background: none; }
.note-postit:nth-child(5n+5) .like-buttons .like,
.note-postit:nth-child(5n+5) .like-buttons .dislike,
.note-postit:nth-child(5n+5) .like-buttons .comment-count { background: none; }

/* İçerik Formu */
.content-form {
    background: white;
    padding: 30px;
    border-radius: 0 0 12px 12px;
    margin-bottom: 30px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.content-form h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #0288D1;
}

.content-form input,
.content-form textarea,
.content-form select {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.content-form textarea {
    resize: vertical;
    min-height: 120px;
}

.content-form .char-count {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
}

.content-form .error {
    color: #D32F2F;
    font-size: 16px;
    background: rgba(211, 47, 47, 0.1);
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    position: relative;
}

.content-form .error a {
    color: #0288D1;
    text-decoration: underline;
}

.content-form .error a:hover {
    color: #4CAF50;
}

.content-form .error .error-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 18px;
    color: #D32F2F;
    cursor: pointer;
}

.content-form .success {
    color: #4CAF50;
    font-size: 16px;
    background: rgba(76, 175, 80, 0.1);
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    position: relative;
}

.content-form .success .success-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 18px;
    color: #4CAF50;
    cursor: pointer;
}

.content-form button {
    background: #FFCA28;
    color: #1A1A1A;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.content-form button:hover {
    background: #FFB300;
}

/* Güvenlik Kodu Pop-up */
#captcha-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 100005;
}

#captcha-modal.fadeIn {
    display: flex;
    align-items: center;
    justify-content: center;
}

#captcha-modal .modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    padding: 20px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    transform: scale(0.8);
    transition: transform 0.3s ease;
    position: relative;
    margin: auto;
}

#captcha-modal.fadeIn .modal-content {
    transform: scale(1);
}

#captcha-modal .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 18px;
    color: white;
    cursor: pointer;
    background: #D32F2F;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    transition: background 0.3s;
}

#captcha-modal .close-btn:hover {
    background: #B71C1C;
}

#captcha-modal h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #0288D1;
}

#captcha-modal p {
    font-size: 16px;
    margin-bottom: 10px;
}

#captcha-modal #captcha-code {
    font-size: 24px;
    font-weight: 600;
    color: #1A1A1A;
    background: #f0f0f0;
    padding: 10px;
    text-align: center;
    margin-bottom: 15px;
}

#captcha-modal input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

#captcha-modal button {
    background: #FFCA28;
    color: #1A1A1A;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

#captcha-modal button:hover {
    background: #FFB300;
}

/* Pop-up Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 100004 !important;
}

.modal.fadeIn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    padding: 30px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0 !important;
}

.modal.fadeIn .modal-content {
    transform: translate(-50%, -50%) scale(1);
}

@media (max-width: 768px) {
    .modal-content {
        top: 80px; /* Mobil header yüksekliği (60px) + boşluk */
        transform: translateX(-50%); /* Sadece yatayda ortala */
    }
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 18px;
    color: white;
    cursor: pointer;
    background: #D32F2F;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    transition: background 0.3s;
}

.close-btn:hover {
    background: #B71C1C;
}

/* Sayfalama (Yeni Standart Buton Tasarımı) */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    background: #0288D1;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.1s ease;
    line-height: 1;
}

.pagination .page-numbers:hover {
    background: #4CAF50;
    transform: translateY(-2px);
}

.pagination .page-numbers.current {
    background: #4CAF50;
    font-weight: 600;
    cursor: default;
    transform: none;
}

.pagination .prev,
.pagination .next {
    padding: 10px 20px;
    background: #0288D1;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.1s ease;
}

.pagination .prev:hover,
.pagination .next:hover {
    background: #4CAF50;
    transform: translateY(-2px);
}

.pagination .prev.disabled,
.pagination .next.disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Kategori Açıklaması */
.category-description {
    margin-bottom: 20px;
    font-size: 16px;
    color: #444;
    line-height: 1.8;
}

/* Single Not Sayfası */
.note-card .note-solution {
    display: inline-block;
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    vertical-align: top;
    white-space: normal;
}

.note-card .note-solution p {
    display: inline;
    margin: 0;
}

/* Video Wrapper ve Gömülü Video Stilleri */
.video-wrapper {
    max-width: 90% !important;
    max-height: 540px !important;
    margin: 10px auto !important;
    overflow: hidden;
}

.video-wrapper iframe {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    object-fit: contain !important;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: block;
}

/* Resim Stilleri */
.note-card .note-solution img {
    max-width: 400px !important;
    width: 100%;
    height: auto;
    display: block;
    margin: 10px 0;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.note-postit .note-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px 0;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }

    .header-inner {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 10px 15px;
        gap: 10px;
        height: 60px;
    }

    .hamburger {
        display: block !important;
        font-size: 22px;
        order: -1;
    }

    .logo {
        font-size: 20px;
        flex: 1;
        text-align: center;
        order: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .logo .custom-logo {
        max-height: 40px;
    }

    .header-nav {
        display: none !important;
    }

    .mobile-nav {
        display: block;
        background: #0277BD;
        z-index: 999;
    }

    .header-actions {
        display: flex;
        align-items: center;
        gap: 10px;
        order: 1;
    }

    .search-wrapper {
        width: auto;
    }

    .search-wrapper #share-btn {
        order: 1;
        padding: 8px 12px;
        font-size: 13px;
    }

    .search-wrapper #search-toggle {
        order: 2;
        display: block !important;
        font-size: 18px;
    }

    .search-wrapper #search-container {
        order: 3;
    }

    .search-container {
        display: none;
        position: fixed !important;
        top: 60px !important;
        left: 0;
        right: 0;
        width: 100vw;
        background: #fff;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        z-index: 1001;
        padding: 10px;
    }

    .search-form {
        max-width: 100%;
    }

    .search-form input {
        font-size: 14px;
        width: 100%;
        border-radius: 20px;
        min-width: 0;
    }

    .search-form button {
        display: none;
    }

    .live-search-results {
        position: fixed !important;
        top: 110px !important;
        left: 0;
        right: 0;
        width: 100% !important;
        max-width: 100%;
        margin: 0 !important;
        max-height: 200px;
        z-index: 1001;
    }

    .live-search-result {
        padding: 8px;
    }

    .live-search-result a {
        font-size: 14px;
    }

    .live-search-result p {
        font-size: 14px;
    }

    .pagination {
        gap: 5px;
    }

    .pagination .page-numbers {
        padding: 8px 12px;
        font-size: 14px;
    }

    .pagination .prev,
    .pagination .next {
        padding: 8px 15px;
        font-size: 14px;
    }

    .category-card {
        padding: 15px;
        min-height: 60px;
        justify-content: flex-start !important;
        text-align: left !important;
    }

    .category-card a {
        justify-content: space-between !important;
    }

    .category-card i {
        font-size: 18px;
    }

    .note-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }

    .note-postit {
        padding: 12px;
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin-bottom: 0;
    }

    .note-postit .note-title {
        font-size: 16px;
    }

    .note-postit .note-body {
        font-size: 14px;
        white-space: normal;
        line-height: 1.4;
    }

    .note-postit .note-meta {
        font-size: 11px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .note-postit .note-meta span {
        font-size: 11px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .note-postit .like-buttons {
        display: flex;
        align-items: center;
        gap: 5px;
        width: 100%;
        overflow: hidden;
    }

    .note-postit .like-buttons a {
        font-size: 12px;
        padding: 4px 6px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        gap: 3px;
        min-width: 50px;
        overflow: hidden;
        text-overflow: ellipsis;
        background: none;
    }

    .note-postit .like-buttons a span {
        display: inline-block;
        min-width: 20px;
        text-align: center;
    }

    .note-card .note-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .note-card .like-buttons {
        width: 100%;
    }

    .note-card .view-count {
        margin-left: 0;
        margin-top: 5px;
    }

    .modal-content {
        width: 95%;
        padding: 20px;
        top: 80px !important; /* Mobil header yüksekliği + boşluk */
        left: 50% !important;
        transform: translateX(-50%) !important; /* Yatayda ortala */
        margin: 0 !important;
    }

    .video-wrapper,
    .note-postit .note-body iframe,
    .note-card .note-solution iframe {
        max-width: 90% !important;
        max-height: 270px !important;
        height: auto;
    }

    .note-postit .note-body img,
    .note-card .note-solution img {
        max-width: 100%;
    }

    .reddit-embed-bq {
        height: auto !important;
        max-height: 300px;
    }
	
	.note-media {
    margin-top: 10px;
}
	
	.note-field {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.note-field strong {
    margin-right: 5px;
}

.note-text {
    display: inline;
    vertical-align: top;
    white-space: normal;
}

.note-media {
    margin-top: 15px;
}
	
/* single-not.php için ek stiller */
.note-content {
    margin-top: 5px;
    margin-bottom: 15px;
    line-height: 1.6;
    color: #444;
}

.note-content p {
    margin-bottom: 15px;
}

.note-content h1,
.note-content h2,
.note-content h3,
.note-content h4,
.note-content h5,
.note-content h6 {
    margin: 10px 0;
    color: #1A1A1A;
}

.note-content strong {
    font-weight: 700;
}

.note-content em {
    font-style: italic;
}
	
	/* single-not.php için Markdown stilleri */
.note-content ul {
    list-style-type: disc;
    margin: 10px 0 15px 20px;
    padding-left: 20px;
}

.note-content li {
    margin-bottom: 8px;
    color: #444;
}

.note-content strong {
    font-weight: 700;
}

.note-content em {
    font-style: italic;
}

.note-content p {
    margin-bottom: 15px;
}

.note-content h1,
.note-content h2,
.note-content h3,
.note-content h4,
.note-content h5,
.note-content h6 {
    margin: 10px 0;
    color: #1A1A1A;
}
}