/* Minimal KB Styles */
.minimal-kb-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.minimal-kb-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 0.3rem;
}

.minimal-kb-desc {
    color: #64748b;
    font-size: 1.1rem;
    margin: 0;
}

.minimal-kb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.minimal-kb-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px 0 #e0e7ef;
    border: 1.5px solid #e5e7eb;
    padding: 1.5rem 1.2rem 1.2rem 1.2rem;
    display: flex;
    flex-direction: column;
    min-height: 220px;
    transition: box-shadow 0.18s, border-color 0.18s, transform 0.18s;
}

.minimal-kb-card:hover {
    box-shadow: 0 8px 32px 0 #a5b4fc44;
    border-color: #a5b4fc;
    transform: translateY(-2px) scale(1.012);
}

.minimal-kb-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 0.7rem;
}

.minimal-kb-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #f1f5f9;
    object-fit: contain;
    box-shadow: 0 1px 4px 0 #e0e7ef;
    padding: 6px;
}

.minimal-kb-icon-placeholder {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 12px;
    color: #a5b4fc;
    font-size: 1.3rem;
}

.minimal-kb-meta {
    flex: 1;
    min-width: 0;
}

.minimal-kb-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    margin-bottom: 2px;
    display: block;
    transition: color 0.18s;
}

.minimal-kb-card-title:hover {
    color: #6366f1;
    text-decoration: underline;
}

.minimal-kb-card-count {
    font-size: 0.92rem;
    color: #64748b;
    background: #f1f5f9;
    border-radius: 10px;
    padding: 2px 10px;
    display: inline-block;
    margin-top: 2px;
}

.minimal-kb-articles {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 0.7rem;
}

.minimal-kb-article-link {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #475569;
    font-size: 0.98rem;
    text-decoration: none;
    border-radius: 7px;
    padding: 4px 7px;
    transition: background 0.15s, color 0.15s;
}

.minimal-kb-article-link:hover {
    background: #f1f5f9;
    color: #6366f1;
}

.minimal-kb-footer {
    margin-top: auto;
    text-align: right;
}

.minimal-kb-seeall {
    color: #6366f1;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.98rem;
    transition: color 0.18s;
}

.minimal-kb-seeall:hover {
    color: #334155;
    text-decoration: underline;
}

@media (max-width: 600px) {
    .minimal-kb-title {
        font-size: 1.3rem;
    }

    .minimal-kb-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .minimal-kb-card {
        padding: 1rem 0.5rem 0.7rem 0.5rem;
    }

    .minimal-kb-card-header {
        gap: 8px;
    }

    .minimal-kb-icon,
    .minimal-kb-icon-placeholder {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .minimal-kb-card-title {
        font-size: 1rem;
    }

    .minimal-kb-card-count {
        font-size: 0.85rem;
    }
}

/* Article Page Custom Styles */
.modern-feature-box {
    background: linear-gradient(135deg, #f8fafc 60%, #e0e7ef 100%);
    border-radius: 18px;
    box-shadow: 0 4px 24px 0 rgba(80, 120, 200, 0.10);
    padding: 32px 18px 24px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
    border: 1px solid #e3e8f0;
}

.modern-feature-box img {
    margin-bottom: 18px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px 0 rgba(80, 120, 200, 0.07);
}

.modern-feature-box .btn,
.modern-feature-box button {
    width: 100%;
    margin-bottom: 8px;
}

.modern-feature-box .d-flex {
    justify-content: center;
}

@media (min-width: 768px) {
    .modern-feature-box {
        margin-right: 32px;
    }

    .modern-altform-box {
        margin-left: 0;
    }

    .boykot-info-list {
        flex-direction: row;
        gap: 32px;
    }
}

@media (max-width: 767px) {
    .row.align-items-start.mb-4.flex-column.flex-md-row {
        flex-direction: column !important;
    }

    .col-12.col-md-3.d-flex.flex-column.align-items-center.mb-3.mb-md-0 {
        order: 2;
        margin-bottom: 24px !important;
    }

    .col {
        order: 1;
        margin-bottom: 24px;
    }

    .modern-feature-box {
        width: 100%;
        max-width: none;
        margin: 0 0 24px 0;
    }

    .boykot-info-list {
        flex-direction: column;
        gap: 16px;
    }

    .boykot-info-item {
        min-width: auto;
        width: 100%;
    }
}

.modern-altform-box {
    background: linear-gradient(135deg, #f3f6fa 70%, #e0e7ef 100%);
    border-radius: 16px;
    box-shadow: 0 4px 18px 0 rgba(80, 120, 200, 0.10);
    padding: 28px 18px 18px 18px;
    margin: 32px 0 24px 0;
    border: 1px solid #e3e8f0;
    max-width: 600px;
}

.modern-altform-box h4 {
    font-weight: 600;
    font-size: 1.15rem;
    margin-bottom: 18px;
    color: #3a4668;
}

.modern-altform-box .form-control {
    border-radius: 8px;
    border: 1px solid #d1d5db;
}

.modern-altform-box .btn {
    border-radius: 8px;
    font-weight: 500;
}

.boykot-info-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 32px 0 24px 0;
}

.boykot-info-item {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px 0 rgba(80, 120, 200, 0.07);
    padding: 22px 18px 18px 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 220px;
    transition: box-shadow 0.2s, background 0.2s;
    position: relative;
}

.boykot-icon {
    font-size: 2rem;
    color: #3a4668;
    margin-bottom: 8px;
}

.boykot-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 6px;
    transition: color 0.2s, text-shadow 0.2s;
    cursor: pointer;
}

.boykot-info-item:hover .boykot-title {
    color: #2563eb;
    text-shadow: 0 2px 8px #bcd0fa;
    background: linear-gradient(90deg, #e0e7ef 60%, #f3f6fa 100%);
    border-radius: 8px;
    padding: 2px 8px;
}

.boykot-desc {
    color: #444;
    font-size: 1rem;
    margin-bottom: 0;
}

.modern-digital-counter {
    background: linear-gradient(90deg, #e0e7ef 60%, #f3f6fa 100%);
    border-radius: 14px;
    box-shadow: 0 2px 16px 0 rgba(80, 120, 200, 0.13);
    padding: 18px 18px 12px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.counter-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 4px;
}

.counter-label {
    font-size: 0.85rem;
    color: #475569;
    font-weight: 500;
}

/* ========================================
   MODERN PAGE HEADER & CONTENT STYLES
   ======================================== */

.modern-page-header {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0 60px 0;
    margin-top: -20px;
    overflow: hidden;
}

.modern-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.1)"><polygon points="0,0 1000,0 1000,60 0,100"/></svg>') no-repeat center bottom;
    background-size: cover;
    pointer-events: none;
}

.modern-page-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.modern-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.02em;
}

.modern-page-description {
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Modern Content Section */
.modern-page-content-section {
    position: relative;
    padding: 60px 0;
    background: #f8fafc;
    margin-top: -40px;
    border-radius: 20px 20px 0 0;
}

.modern-content-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.modern-content-body {
    padding: 2.5rem;
    line-height: 1.7;
    color: #374151;
}

.modern-content-body h1,
.modern-content-body h2,
.modern-content-body h3,
.modern-content-body h4,
.modern-content-body h5,
.modern-content-body h6 {
    color: #1f2937;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.modern-content-body h1 {
    font-size: 2rem;
}

.modern-content-body h2 {
    font-size: 1.75rem;
}

.modern-content-body h3 {
    font-size: 1.5rem;
}

.modern-content-body p {
    margin-bottom: 1.5rem;
}

.modern-content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Modern Contact Form */
.modern-contact-form {
    padding: 2.5rem;
}

.modern-form-group {
    margin-bottom: 1.5rem;
}

.modern-form-label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.modern-form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
    color: #374151;
}

.modern-form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

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

.modern-form-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.modern-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
}

.modern-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.modern-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .modern-page-header {
        padding: 100px 0 40px 0;
        margin-top: -20px;
    }

    .modern-page-title {
        font-size: 2rem;
        padding: 0 1rem;
    }

    .modern-page-description {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .modern-page-content-section {
        padding: 40px 0;
        margin-top: -20px;
        border-radius: 15px 15px 0 0;
    }

    .modern-content-card {
        margin: 0 1rem;
        border-radius: 12px;
    }

    .modern-content-body,
    .modern-contact-form {
        padding: 1.5rem;
    }

    .modern-content-body h1 {
        font-size: 1.75rem;
    }

    .modern-content-body h2 {
        font-size: 1.5rem;
    }

    .modern-content-body h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .modern-page-title {
        font-size: 1.75rem;
    }

    .modern-page-description {
        font-size: 1rem;
    }

    .modern-form-actions {
        align-items: stretch;
    }

    .modern-btn {
        width: 100%;
    }
}

/* ========================================
   ACCESSIBILITY & ANIMATIONS
   ======================================== */

@media (prefers-reduced-motion: reduce) {

    .modern-btn,
    .modern-form-control,
    .modern-page-header::before {
        transition: none;
    }

    .modern-btn:hover {
        transform: none;
    }
}

/* Focus styles for accessibility */
.modern-form-control:focus,
.modern-btn:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .modern-content-card {
        border: 2px solid #000;
    }

    .modern-form-control {
        border: 2px solid #000;
    }
}

/* CKEditor 5 Image Alignment Styles */
.ck-content .image {
    display: table;
    clear: both;
    text-align: center;
    margin: 1em auto;
}

.ck-content .image img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    min-width: 50px;
}

/* Sola Yasla */
.ck-content .image-style-side,
.ck-content .image-style-align-left {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1em;
    max-width: 50%;
}

/* Saa Yasla */
.ck-content .image-style-align-right {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1em;
    max-width: 50%;
}

/* Ortala (Blok) */
.ck-content .image-style-block-align-center,
.ck-content .image-style-align-center {
    margin-left: auto;
    margin-right: auto;
}

/* Resim Alt Yazs (Caption) */
.ck-content .image>figcaption {
    display: table-caption;
    caption-side: bottom;
    word-break: break-word;
    color: #555;
    background-color: #f7f7f7;
    padding: .6em;
    font-size: .75em;
    outline-offset: -1px;
    text-align: center;
}

/* Responsive Dzeltme */
@media screen and (max-width: 768px) {

    .ck-content .image-style-side,
    .ck-content .image-style-align-left,
    .ck-content .image-style-align-right {
        float: none;
        margin: 1em auto;
        max-width: 100%;
    }
}

/* --- STORY CONTAINER FIX --- */
/* Silik görünümü (faded effect) kaldırmak için */
#story-circles-container {
    mask-image: none !important;
    -webkit-mask-image: none !important;
    opacity: 1 !important;
}

#story-circles-container * {
    mask-image: none !important;
    -webkit-mask-image: none !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

/* Story Modal Modern Styles */
.story-title-top,
.story-main-title {
    font-size: 1.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    background: linear-gradient(to right, #fff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInDown 0.5s ease;
}

.story-sign-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 15px;
    color: white;
    text-align: center;
}

.story-description,
.story-question-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    line-height: 1.6;
    margin-top: 10px;
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}