@media (prefers-color-scheme: dark) {
    meta[name="theme-color"] {
      content: #540000; /* Koyu modda tema rengi */
    }
  }
  
/* Tarayıcıya zorunlu koyu mod bildirimi */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
  }
}

:root {
    font-family: 'Noto Sans', sans-serif;
}

@font-face {
    font-family: 'Uni Sans';
    src: url('../gorsel/uni-sans.otf') format('opentype');
}
@font-face {
    font-family: 'NotoSans';
    src: url('../fonts/notosans-regular.ttf') format('truetype');
}


@keyframes animated-bg-gradient {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 50% 60%;
    }
    50% {
        background-position: 100% 50%;
    }
    75% {
        background-position: 50% 40%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    font-family: 'Times New Roman', serif;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.modal-content {
    background: linear-gradient(135deg, #1b1b1b 0%, #2d2d2d 100%);
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 1200px;
    text-align: justify;
    position: fixed;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: modalSlideIn 0.4s ease-out;
    overflow-y: auto;
    overflow-x: hidden; /* Yatayda kaydırma engellendi */
    max-height: 95vh;
    box-sizing: border-box;     /* Padding ve border dahil */
}

@keyframes modalSlideIn {
    from {
        transform: translate(-50%, -10px);
        opacity: 0;
    }
    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #fff;
    background: rgba(255, 0, 0, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 0, 0, 0.4);
    transform: rotate(90deg);
}

#modalBaslik {
    font-size: 36px;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 0, 0, 0.3);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

#modalYazar {
    font-size: 20px;
    text-align: left;
    color: #cccccc;
    margin-bottom: 30px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid rgba(255, 0, 0, 0.5);
}

#makalebutonlari {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
    background: rgba(30,30,30,0.85);
    border-radius: 10px;
    padding: 12px 10px 8px 10px;
    margin-bottom: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    width: 98%;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.makalebuton {
    background: linear-gradient(135deg, #232323 0%, #444 100%);
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: 10px 18px;
    font-size: 1em;
    font-family: 'Uni Sans', 'Arial', sans-serif;
    margin: 0;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.12s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.10);
    outline: none;
    min-width: 90px;
    min-height: 38px;
    font-weight: 500;
    letter-spacing: 0.01em;
    display: flex;
    align-items: center;
    justify-content: center;
}
.makalebuton:hover, .makalebuton:focus {
    background: linear-gradient(135deg, #444 0%, #232323 100%);
    color: #ff4b2b;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    transform: translateY(-2px) scale(1.04);
}
.makalebuton:active {
    background: #222;
    color: #fff;
    transform: scale(0.98);
}
#font-selector {
    margin: 0 8px;
    min-width: 120px;
    max-width: 180px;
    height: 38px;
    font-size: 1em;
    border-radius: 7px;
    background: #232323;
    color: #fff;
    border: 1px solid #444;
    box-shadow: 0 1px 4px rgba(0,0,0,0.10);
    outline: none;
    padding: 0 10px;
    transition: border 0.18s, color 0.18s;
}
#font-selector:focus {
    border: 1.5px solid #ff4b2b;
    color: #ff4b2b;
}


@keyframes animated-bg-gradient {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 50% 60%;
    }
    50% {
        background-position: 100% 50%;
    }
    75% {
        background-position: 50% 40%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    font-family: 'Times New Roman', serif;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.modal-content {
    background: linear-gradient(135deg, #1b1b1b 0%, #2d2d2d 100%);
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 1200px;
    text-align: justify;
    position: fixed;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: modalSlideIn 0.4s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translate(-50%, -10px);
        opacity: 0;
    }
    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #fff;
    background: rgba(255, 0, 0, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 0, 0, 0.4);
    transform: rotate(90deg);
}

#modalBaslik {
    font-size: 36px;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 0, 0, 0.3);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

#makalebutonlari {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
    background: rgba(30,30,30,0.85);
    border-radius: 10px;
    padding: 12px 10px 8px 10px;
    margin-bottom: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    width: 98%;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.makalebuton {
    background: linear-gradient(135deg, #232323 0%, #444 100%);
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: 10px 18px;
    font-size: 1em;
    font-family: 'Uni Sans', 'Arial', sans-serif;
    margin: 0;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.12s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.10);
    outline: none;
    min-width: 90px;
    min-height: 38px;
    font-weight: 500;
    letter-spacing: 0.01em;
    display: flex;
    align-items: center;
    justify-content: center;
}
.makalebuton:hover, .makalebuton:focus {
    background: linear-gradient(135deg, #444 0%, #232323 100%);
    color: #ff4b2b;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    transform: translateY(-2px) scale(1.04);
}
.makalebuton:active {
    background: #222;
    color: #fff;
    transform: scale(0.98);
}
#font-selector {
    margin: 0 8px;
    min-width: 120px;
    max-width: 180px;
    height: 38px;
    font-size: 1em;
    border-radius: 7px;
    background: #232323;
    color: #fff;
    border: 1px solid #444;
    box-shadow: 0 1px 4px rgba(0,0,0,0.10);
    outline: none;
    padding: 0 10px;
    transition: border 0.18s, color 0.18s;
}
#font-selector:focus {
    border: 1.5px solid #ff4b2b;
    color: #ff4b2b;
}
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: linear-gradient(135deg, #0a0a0a, #330000, #0a0a0a);
    background-size: 400% 400%;
    animation: bgShift 20s ease-in-out infinite;
  }
  
  @keyframes bgShift {
    0% {background-position: 0% 50%;}
    50% {background-position: 100% 50%;}
    100% {background-position: 0% 50%;}
  }
  

@keyframes animated-bg-gradient {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 50% 60%;
    }
    50% {
        background-position: 100% 50%;
    }
    75% {
        background-position: 50% 40%;
    }
    100% {
        background-position: 0% 50%;
    }
}

    #modalIcerik {
        width: 85%;
        margin: 25px auto 15px auto;
        padding: 20px 20px;
        color: #f3f3f3;
        background: linear-gradient(120deg, rgba(40,0,0,0.35) 0%, rgba(30,30,30,0.85) 100%);
        border-radius: 18px;
        box-shadow: 0 4px 24px rgba(0,0,0,0.35), inset 0 0 18px rgba(0,0,0,0.18);
        font-size: 1.18em;
        line-height: 2.1;
        text-align: left;
        text-indent: 2em;
        word-break: break-word;
        overflow-wrap: break-word;
        letter-spacing: 0.02em;
        transition: box-shadow 0.2s, background 0.2s;
        border-left: 5px solid #ff0000;
    }
#modalIcerik p {
    margin-bottom: 1.2em;
    text-indent: 12em;
     text-align: left !important;
}

#modal .modal-content #modalIcerik {
    text-align: left !important;
}

.bilgilendirme-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(25, 25, 25, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1055;
}

.bilgilendirme {
    position: relative;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-family: 'Uni Sans', sans-serif;
    padding: 20px;
    border-radius: 10px;
    font-size: 25px;
    max-width: 80%;
    text-align: center;
    max-height: 52%;
    overflow-y: auto;
    word-wrap: break-word;
    padding: 30px;
    padding-bottom: 50px;
}
.bilgilendirme::-webkit-scrollbar {
    width: 10px;
}

.bilgilendirme::-webkit-scrollbar-track {
    background: grey;
    border-radius: 5px;
}

.bilgilendirme::-webkit-scrollbar-thumb {
    background: red;
    border-radius: 5px;
}

.bilgilendirme::-webkit-scrollbar-thumb:hover {
    background: darkred;
}
.ana-kutu::-webkit-scrollbar {
    width: 10px;
}

.ana-kutu::-webkit-scrollbar-track {
    background: grey;
    border-radius: 5px;
}

.ana-kutu::-webkit-scrollbar-thumb {
    background: red;
    border-radius: 5px;
}

.ana-kutu::-webkit-scrollbar-thumb:hover {
    background: darkred;
}
.bilgilendirme-baslik {
    text-align: center;
    font-size: 28px;
    margin-bottom: 15px;
    color: white;
    font-family: 'Uni Sans', sans-serif;
}
.bilgilendirme-kapat {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    cursor: pointer;
    color: white;
    background: rgba(255, 0, 0, 0.8);
    padding: 5px 10px;
    border-radius: 5px;
}

.bilgilendirme-kapat:hover {
    background: rgba(200, 0, 0, 0.8);
}
 

.ana-kutu {
    position: fixed;
    top: 20px;
    right: 30px;
    width: 35%;
    font-family: 'Uni Sans', sans-serif;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
    max-height: 65%;
    overflow-y: auto;
}
.ana-kutu span{
    font-size: 25px;
}

.alt-kutu {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    display: flex;
    height: auto;
    cursor: pointer;
    flex-direction: column;
    margin-bottom: 5px;
}
 
.quote-box {
    position: fixed;
    left: 0;
    width: 100%;
    z-index: 522;
    opacity: 1;
    font-family: 'Uni Sans', sans-serif;
    font-size: 30px;
    color: white;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 0 30px;
    bottom: 50px;
}

.quote-text  {
    margin: 0;
    width: 100%;
    text-align: right;
    color: white;
    font-style: italic;
    background: none;
    border: none;
    padding: 0;
    box-sizing: border-box;
    /* Remove position: fixed from children */
    position: static !important;
    right: auto !important;
    top: auto !important;
}

.quote-text {
    /* Değiştirilmeyen Orijinal Özellikler */
    font-size: 1em;
    font-style: italic;
    white-space: normal;
    overflow: visible;
    display: block;
    border-right: none;
    padding-right: 5px;
    opacity: 1;

    /* İsteğiniz Üzerine Eklenen Görünüm Özellikleri */
    font-family: 'Arial Light', Arial, sans-serif;
    font-weight: 100; /* 'Light' fontlar genellikle 300 ağırlığındadır */
}



.alt-kutu:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease-in-out;
    background: rgba(155, 155, 155, 0.1);
}

.baslik {
    font-size: 21px;
    font-weight: bold;
    margin-bottom: 5px;
    color: white;
}

.yazar {
    font-size: 17px;
    color: white;
}


.info-close-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: white;
    font-size: 1.5em;
    padding: 2px 8px;
    border-radius: 50%;
    transition: background 0.2s;
}

.info-close-btn:hover {
    background: rgba(255,255,255,0.2);
}

.editor-close-btn {
    position: fixed;
    top: 15px;
    right: 25px;
    cursor: pointer;
    font-size: 2.5em;
    color: #fff;
    z-index: 1001;
}

/* Diğer stiller aynı kalacak */
.rich-text-editor {
    width: 90%;
    min-height: 500px;
    padding: 15px;
    margin: 15px auto;
    font-size: 22px;
    border: none;
    border-radius: 10px;
    background: #333;
    color: white;
    font-family: 'Times New Roman', Times, serif;
    text-align: justify;
    white-space: pre-wrap;
}

#video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.8;
    transform: scale(1.02);
}
body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}
h4 {
    font-family: 'Uni Sans', sans-serif;
    color: white;
    margin: 20px 0 0 0;
    z-index: 2;
    font-size: 2.5em;
}
::selection {
    color: red;
    background: black;
}
::-moz-selection {
    color: red;
    background: black;
}
.button-container {
    position: fixed;
    top: 15px;
    left: 10px;
    transform: translateX(15px);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 50%;
    z-index: 10;
    justify-content: center;
}

.topic-section,
.start-writing,
.faq-toggle,
.amac,
.anamenu {
    font-family: 'Uni Sans', sans-serif;
    color: white;
    cursor: pointer;
    background: rgba(45, 45, 45, 0.7);
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 18px;
    white-space: nowrap;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.start-writing {
    background: rgba(200, 0, 0, 0.9);
    font-weight: bold;
}


.faq-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2111;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.faq-container.open {
    display: flex;
    opacity: 1;
}
.faq-container.closing {
    opacity: 0;
}

.writing-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    transition: opacity 0.3s ease;
    overflow-y: auto;
    overflow-x: hidden;
}

#makalebilgispani {
    font-family: 'Uni Sans', sans-serif;
    font-size: 18px;
    height: auto;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    margin: 20px auto;
    border-left: 4px solid #ff4b2b;
    border-radius: 5px;
    width: 40%;
    max-width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow-y: auto;
}


#makalebilgispani strong {
    color: #ff4b2b;
    font-weight: bold;
}
#makalebilgispani {
    position: relative;
    padding-right: 35px !important;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out !important;
}



.close-btn:hover,
#makalebilgispani .close-btn:hover {
    background: rgba(255,255,255,0.2);
}
.article-input {
    width: 90%;
    padding: 15px;
    margin: 10px 0;
    font-size: 1.5em;
    border: none;
    border-radius: 10px;
    background: rgba(50, 50, 50, 0.7);
    color: white;
    font-family: 'Times New Roman', Times, serif;
    border-bottom: 2px solid rgba(200, 0, 0, 0.5);
}

.quote-author{
    font-size: 23px;
}
#publish-btn {
    background: #008000;
    border: none;
    padding: 15px;
    margin: 10px;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.2em;
}

#publish-btn:hover {
    background: #006400;
}

#article-title, #author-name {
    background: rgba(40, 40, 40, 0.7);
    width: 55%;
    margin-left: auto;
    margin-right: auto;
    display: block;
}


.faq-content {
    width: 100%;
    max-width: 65%;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    color: white;
    position: relative;
}
.faq-content .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5em;
    cursor: pointer;
    color: white;
}
.faq-content .question {
    cursor: pointer;
    margin: 10px 0;
    font-family: 'Uni Sans', sans-serif;
    font-size: 1.5em;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    transition: background 0.3s ease;
}
.faq-content .question:hover {
    background: rgba(255, 255, 255, 0.2);
}
.faq-content .answer {
    max-height: 0;
    overflow-y: auto;
    margin: 0;
    padding: 0 10px;
    font-family: 'Uni Sans', sans-serif;
    font-size: 1.2em;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    transition: max-height 0.5s ease, padding 0.5s ease, margin 0.5s ease;
}
.faq-content .answer.open {
    max-height: 250px;
    padding: 10px;
    margin: 5px 0 10px 0;
}


.fade-out {
    animation: fadeOut 0.5s forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
    }
}

.faq-toggle, .anamenu, .amac {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-toggle:hover, .anamenu:hover, .amac:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.faq-toggle:active, .anamenu:active, .amac:active {
    transform: scale(1.05);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}


.start-writing:hover {
    background: rgba(180, 0, 0, 0.95);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}


.cookie-consent {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: rgba(0, 0, 0, 0.8);
color: white;
padding: 20px;
border-radius: 10px;
z-index: 10000;
display: flex;
flex-direction: column;
align-items: center;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
text-align: center;
max-width: auto;
width: 70%;
font-size: 3vmax;
}

.cookie-consent button {
background: #ff4b2b;
border: none;
padding: 10px 20px;
border-radius: 5px;
color: white;
cursor: pointer;
transition: background 0.3s ease;
margin-top: 10px;
width: 50%;
font-size: 2vmax;
}

.cookie-consent button:hover {
background: #cc0000;
}

.censored > *:not(.cookie-consent) {
filter: blur(10px);
pointer-events: none;
}


.writing-container {
position: fixed;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.7);
color: white;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
transition: top 0.5s ease;
z-index: 10000;
padding: 20px;
box-sizing: border-box;
font-family: 'Times New Roman', Times, serif;
}

.writing-container input[type="text"],
.writing-container textarea {
width: 90%;
padding: 15px;
margin: 15px 0;
font-size: 1.5em;
border: none;
border-radius: 10px;
background: #333;
color: white;
font-family: 'Times New Roman', Times, serif;
}

.writing-container textarea {
height: 500px;
line-height: 1.6;
font-family: 'Times New Roman', Times, serif;
text-align: justify;
}

.writing-container .buttons {
display: flex;
justify-content: center;
flex-wrap: wrap;
margin: 15px 0;
}

.writing-container .buttons button {
background: #540000;
border: none;
padding: 15px;
margin: 10px;
border-radius: 10px;
color: white;
cursor: pointer;
transition: background 0.3s ease;
font-family: 'Times New Roman', Times, serif;
font-size: 1.2em;
}

.writing-container .buttons button:hover {
background: #cc0000;
}

.writing-container .close-btn {
position: absolute;
top: 20px;
right: 20px;
font-size: 2em;
cursor: pointer;
color: white;
}
@media (max-width: 768px) {
    body, html {
      overflow-y: auto;
      overflow-x: hidden;
    }
    #modalYazar {
        font-size: 18px;
    }
    .quote-author{
    font-size: 9px;
}

    .button-container {
        position: fixed;
        top: 10px;
        left: 0;
        right: 0;
        transform: none;
        max-width: 100%;
        padding: 10px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        background: transparent;    
        z-index: 1000;
        background-color: rgba(1,1,1,0.4);
      }
    
      .topic-section {
        grid-column: 1 / -1;
        font-size: 14px;
        padding: 8px;
        background: rgba(45, 45, 45, 0.7);
      }
    
      .topic-section,
      .start-writing,
      .faq-toggle,
      .amac,
      .anamenu {
        font-size: 10px;
        padding: 7px 8px;
        white-space: nowrap;
        text-align: center;
        border-radius: 6px;
        margin: 0;
        background: rgba(45, 45, 45, 0.7);
      }
    
      .start-writing {
        grid-column: 1 / -1;
        order: -1;
        background: rgba(200, 0, 0, 0.9);
      }
    .modal {
        padding: 10px;
        width: 100% !important;
        height: 100%;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        overflow-y: auto;
        box-sizing: border-box;
    }

    .modal-content {
        width: 90% !important;
        max-width: 90%;
        margin: 10px auto;
        padding: 15px;
        font-size: 14px;
        position: absolute;
        left: 50%;
        transform: translateX(-50%) !important;
        box-sizing: border-box;
    }

    #modalBaslik {
        font-size: 16px;
        padding: 8px 0;
        margin-bottom: 12px;
    }

    #modalIcerik {
        font-size: 14px;
        padding: 12px;
        margin-bottom: 15px;
        line-height: 1.5;
    }

    #modalYazar {
        font-size: 12px;
        padding: 6px 12px;
        margin-bottom: 15px;
    }

    .modal-close {
        position: fixed;
        top: 10px;
        right: 10px;
        z-index: 1003;
    }

    .bilgilendirme {
font-size: 15px;
    }
    .bilgilendirme-kapat {
font-size: 15px;
    }
    .bilgilendirme-baslik {
        text-align: center;
        font-size: 18px;
    }
.baslik {
    font-size: 14px;
}
.yazar {
    font-size: 9px;
}
    .alt-kutu {
        background: rgba(255, 255, 255, 0.1);
        padding: 3px;
        border-radius: 5px;
        text-align: center;
        display: flex;
        height: auto;
        cursor: pointer;
        width: auto;
        flex-direction: column;
        margin-bottom: 4px;
    }
.quote-box {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.8;
    padding: 10px;
    z-index: 300;
    width: 90%;
}


      .quote-text {
        margin: 0;
        font-style: italic;
        white-space: normal;
        overflow: visible;
        display: block;
        border-right: none;
        padding-right: 1px;
        max-width: 1000px;
        text-align: right;
        position: fixed;
        right: 15px;
        top: 40px;         font-size: 10px;

    }
    
    .ana-kutu span{
        font-size: 12px;
    }

    .rich-text-editor, #makalebilgispani {
        font-size: 12px;
        max-width: 90%;
    }
    .ana-kutu {
        position: fixed;
        left: 50%;
        transform: translateX(-50%);
        width: 75%;
        height: 170px;
        border-radius: 15px 15px 0 0;
        top: auto !important;
        bottom: 200px !important;
        /* Ortalamak için yukarıdaki ayarlar yeterli */
    }

    #makalebilgispani {
        max-width: 70%;
        width: 70%;
        font-size: 14px;
    }


    .writing-container {
      position: relative;
      width: 100%;
      max-height: 95vh;
      margin: 0 auto;
      padding: 15px;
      box-sizing: border-box;
      overflow-y: auto;
      display: block;
    }
  
    .cookie-consent {
      width: 95%;
      padding: 15px;
      font-size: 1.5rem;
      border-radius: 8px;
      text-align: center;
    }
    
    .cookie-consent button {
      width: 100%;
      padding: 12px;
      font-size: 1.3rem;
      margin-top: 10px;
    }
    
    .writing-container input[type="text"],
    .writing-container textarea {
      width: 100%;
      padding: 12px;
      font-size: 1.2rem;
      border-radius: 8px;
      box-sizing: border-box;
    }
    
    .writing-container textarea {
      height: 300px;
      line-height: 1.4;
    }
    
    .writing-container .buttons {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 10px;
      margin: 15px 0;
    }
    
    .writing-container .buttons button {
      flex: 1 1 auto;
      padding: 10px;
      font-size: 1.1rem;
      border-radius: 8px;
    }
    
    .writing-container .close-btn,
    .info-close-btn {
      font-size: 1.5rem;
      padding: 5px;
      top: 10px;
      right: 10px;
    }
    

    #article-title,
    #author-name,
    .article-input {
      width: 90%;
      margin: 10px auto;
      padding: 10px; font-family: 'Uni Sans', sans-serif;
      font-size: 1.2rem;
    }
    


    h4 {
      font-size: 1.5rem;
      margin: 10px 0;
    }
    
    .faq-content {
        max-width: 100%;
      width: 95%;
      padding: 15px;
      font-size: 1rem;
    }
    
    .faq-content .close-btn {
      font-size: 1.3rem;
    }
    
    .faq-content .question {
      font-size: 1rem;
      padding: 8px;
    }
    
    .faq-content{
      font-size: 0.9rem;
      padding: 8px;
    }

    .makalebuton {
        font-size: 0.8em;
        padding: 5px 10px;
    }
    .makalebuton.active-bold {
    background-color: #ff4b2b; /* Bright red for active bold */
    color: white; 
    border: 2px solid white;
}

.makalebuton.active-italic {
    background-color: #ff7f50; /* Coral for active italic */
    color: white;
    border: 2px solid white;
}

#font-selector {
    background: rgba(50, 50, 50, 0.7);
    color: red;
    border: none;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 1.1em;
    font-family: 'Times New Roman', Times, serif;
    margin: 0 10px;
    margin-bottom: 10px;
    outline: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: background 0.2s, color 0.2s;
}
#font-selector:focus {
    background: #222;
    color: #ff4b2b;
}
#font-selector option {
    background: #222;
    color: white;
}
    #makalebutonlari {
        gap: 5px;
        padding: 7px 2px 5px 2px;
        max-width: 99vw;
    }
    .makalebuton {
        font-size: 0.95em;
        min-width: 70px;
        min-height: 32px;
        padding: 7px 8px;
        border-radius: 6px;
    }
    #font-selector {
        min-width: 80px;
        max-width: 120px;
        height: 32px;
        font-size: 0.95em;
        border-radius: 6px;
        padding: 0 6px;
    }

}