
body { background-color: #151a26; -webkit-font-smoothing: antialiased; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #151a26; }
::-webkit-scrollbar-thumb { background: #2d3748; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #4a5568; }

/* İlişkilendirilmiş kategori / ürünler */
.news-detail-related .meta-head-line {
    margin: 0;
}

.category-list-flex {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.news-detail-related-link {
    flex-shrink: 0;
    text-decoration: none;
}

.related-category {
    display: flex;
    flex-direction: column;
    padding: 10px;
    background: rgba(0, 0, 0, 0.28);
    border-radius: 12px;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: border-color 0.3s ease;
}

.news-detail-related-link:hover .related-category {
    border-color: rgba(255, 122, 26, 0.45);
}

.related-category img {
    width: 100px;
    height: 125px;
    border-radius: 6px;
    object-fit: cover;
}

.related-category span {
    display: block;
    width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    color: rgb(164 176 203);
    font-size: 0.875rem;
}

.news-detail-related-link:hover .related-category span {
    color: #FF7A1A;
}

/* CKEditor içerik alanı (NewsDetail .description ile uyumlu) */
.news-detail-content.description {
    color: rgb(164 176 203);
    font-size: 1.0625rem;
    line-height: 1.85;
    max-width: 100%;
    margin-bottom: 2.5rem;
    word-wrap: break-word;
}

.news-detail-content.description p,
.news-detail-content.description li,
.news-detail-content.description td {
    font-weight: 450;
    margin-bottom: 1em;
}

.news-detail-content.description h1 {
    font-size: 1.4em;
    line-height: 1.45;
    margin: 1.25em 0 0.75em;
    font-weight: 600;
    color: #f4f7ff;
    text-transform: capitalize;
}

.news-detail-content.description h2 {
    font-size: 1.3em;
    line-height: 1.45;
    margin: 1.25em 0 0.75em;
    font-weight: 600;
    color: #f4f7ff;
    text-transform: capitalize;
}

.news-detail-content.description h3 {
    font-size: 1.2em;
    line-height: 1.45;
    margin: 1.1em 0 0.65em;
    font-weight: 600;
    color: #f4f7ff;
    text-transform: capitalize;
}

.news-detail-content.description h4,
.news-detail-content.description h5,
.news-detail-content.description h6 {
    font-size: 1.1em;
    line-height: 1.45;
    margin: 1em 0 0.6em;
    font-weight: 600;
    color: #f4f7ff;
    text-transform: capitalize;
}

.news-detail-content.description img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    object-fit: contain;
    background: #1b2130;
    margin: 1em 0;
}

.news-detail-content.description ul,
.news-detail-content.description ol {
    padding-inline-start: 40px !important;
    margin-bottom: 1rem !important;
    line-height: 1.85;
}

.news-detail-content.description ul {
    list-style: disc !important;
}

.news-detail-content.description ol {
    list-style: decimal !important;
}

.news-detail-content.description ul li,
.news-detail-content.description ol li {
    margin-bottom: 0.35em;
}

.news-detail-content.description a {
    color: #FF7A1A;
    text-decoration: none;
}

.news-detail-content.description a:hover {
    text-decoration: underline;
}

.news-detail-content.description blockquote {
    border-left: 3px solid rgba(255, 122, 26, 0.55);
    padding: 0.5em 0 0.5em 1em;
    margin: 1em 0;
    color: rgb(180 190 210);
    font-style: italic;
}

.news-detail-content.description iframe,
.news-detail-content.description iframe.ql-video {
    max-width: 100%;
    width: 100%;
    min-height: 280px;
    margin: 1em 0;
    border-radius: 4px;
    border: none;
}

@media (min-width: 768px) {
    .news-detail-content.description iframe.ql-video {
        width: 70%;
        margin-left: 15%;
    }
}

.news-detail-content.description table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    border-color: #3c4866;
    margin: 1em 0;
}

.news-detail-content.description table th,
.news-detail-content.description table td {
    padding: 5px 10px;
    color: #a4b0cb;
    border: 1px solid #3c4866;
}

.news-detail-content.description table th {
    background: #0c0f18;
    color: #fff;
    padding-block: 7px;
}

.news-detail-content.description figure {
    max-width: 100%;
    margin: 1em 0;
}

.news-detail-content.description figure img {
    margin: 0;
}

.news-detail-content.description strong,
.news-detail-content.description b {
    font-weight: 600;
    color: #e8ecf5;
}

.tag-pill {
    background: rgba(255,122,26,0.12);
    border: 1px solid rgba(255,122,26,0.25);
    color: #FF7A1A;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 4px 12px;
    border-radius: 999px;
    text-transform: uppercase;
}

/* Sidebar Card Hover */
.sidebar-card { transition: transform 0.3s ease, border-color 0.3s ease; }
.sidebar-card:hover { transform: translateY(-4px); border-color: rgba(255,122,26,0.25); }
.sidebar-card:hover .card-img { transform: scale(1.05); }
.card-img { transition: transform 0.5s ease; }

/* Accordion (SSS) */
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease; }
.faq-answer > div { overflow: hidden; min-height: 0; opacity: 0; transition: opacity 0.3s ease; }
.faq-item.active .faq-answer { grid-template-rows: 1fr; }
.faq-item.active .faq-answer > div { opacity: 1; }
.faq-item.active .faq-icon { transform: rotate(180deg); }
.faq-icon { transition: transform 0.3s ease; }

/* Social Buttons */
.social-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 12px;
    background: #111620; border: 1px solid rgba(255,255,255,0.06);
    color: #9ca3af; transition: all 0.2s ease;
}
.social-btn:hover { transform: translateY(-3px); color: #fff; }
.social-btn.twitter:hover { background: #000; border-color: #000; }
.social-btn.facebook:hover { background: #4267B2; border-color: #4267B2; }
.social-btn.whatsapp:hover { background: #25D366; border-color: #25D366; }
.social-btn.link:hover { background: #FF7A1A; border-color: #FF7A1A; }

/* Campaign Slider Classes */
.slider-slide {
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.slider-dot {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Sidebar kategori rozetleri */
.sidebar-cat-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    flex-shrink: 0;
    font-size: 8px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.sidebar-cat-badge--haber { background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); }
.sidebar-cat-badge--duyuru { background: linear-gradient(135deg, #f87171 0%, #dc2626 100%); }
.sidebar-cat-badge--rehber { background: linear-gradient(135deg, #4ade80 0%, #16a34a 100%); }
.sidebar-cat-badge--inceleme { background: linear-gradient(135deg, #c084fc 0%, #9333ea 100%); }
.sidebar-cat-badge--default { background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%); }

/* Custom sidebar scrollbar styles */
.custom-sidebar-scroll::-webkit-scrollbar {
    width: 4px;
}
.custom-sidebar-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 99px;
}
.custom-sidebar-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 122, 26, 0.15);
    border-radius: 99px;
}
.custom-sidebar-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 122, 26, 0.35);
}

/* Yorumlar */
.commentCollapseBtn b { color: #FF7A1A; font-weight: 600; }

/* Cevapla paneli – minimal + animasyon */
.news-reply-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}
.news-reply-panel.is-open {
    grid-template-rows: 1fr;
}
.news-reply-panel-inner {
    overflow: hidden;
    min-height: 0;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.28s ease, transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}
.news-reply-panel.is-open .news-reply-panel-inner {
    opacity: 1;
    transform: translateY(0);
}
.news-reply-form {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.news-reply-field {
    flex: 1;
    min-height: 38px;
    max-height: 120px;
    padding: 8px 12px;
    font-size: 0.875rem;
    line-height: 1.4;
    color: #e5e7eb;
    background: #0e1219;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    resize: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.news-reply-field::placeholder { color: #6b7280; }
.news-reply-field:focus {
    outline: none;
    border-color: rgba(255, 122, 26, 0.45);
    box-shadow: 0 0 0 1px rgba(255, 122, 26, 0.25);
}
.news-reply-submit {
    flex-shrink: 0;
    padding: 8px 14px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #fff;
    background: #FF7A1A;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}
.news-reply-submit:hover { background: #e66a12; }
.news-reply-submit:active { transform: scale(0.97); }
.news-comment-reply-btn.is-active { color: #e66a12; }
