.author-page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-dark) 100%);
    margin-bottom: 30px;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
}

    .header-content h1 {
        font-size: 48px;
        font-weight: 700;
        margin-bottom: 20px;
        text-shadow: 0 2px 4px rgba(0,0,0,0.1);
        color: var(--text-light);
    }

    .header-content p {
        font-size: 20px;
        opacity: 0.9;
        margin-bottom: 40px;
    }


.news-listing {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

    .news-listing .section-heading {
        margin-bottom: 20px;
    }

.news-listing__container {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
}

.news-listing__grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-listing__sidebar {
    position: relative;
    gap: 20px;
    display: flex;
    flex-direction: column;
}


.minimal-subscription {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-top: 20px;
}

.minimal-subscription__paper {
    position: relative;
    width: 100%;
    padding-top: 140%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

    .minimal-subscription__paper:hover {
        transform: translateY(-5px);
    }

    .minimal-subscription__paper img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.minimal-subscription__date {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    background: rgba(255,255,255,0.95);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    color: var(--text-dark);
    text-align: center;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.minimal-subscription__content {
    text-align: center;
}

.minimal-subscription__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.minimal-subscription__price {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    margin: 12px 0;
}

    .minimal-subscription__price span {
        font-size: 14px;
        font-weight: 500;
        color: var(--text-dark-low);
    }

.minimal-subscription__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: calc(100% - 20px);
    background: var(--primary-color);
    color: white;
    padding: 10px 10px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

    .minimal-subscription__cta i {
        font-size: 14px;
    }

    .minimal-subscription__cta:hover {
        background: var(--primary-color-dark);
        transform: translateY(-2px);
    }

.sidesearch {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 20px;
}

.sidesearch__form {
    display: flex;
    position: relative;
}

.sidesearch__input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    color: var(--text-dark);
    background-color: #f9f9f9;
}

    .sidesearch__input:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.1);
        background-color: white;
    }

    .sidesearch__input::placeholder {
        color: #aaa;
        font-style: italic;
    }

.sidesearch__button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .sidesearch__button i {
        font-size: 16px;
        color: white;
    }

    .sidesearch__button:hover {
        background: var(--primary-color-dark);
        transform: translateY(-50%) scale(1.05);
    }



/* Haber Detay Sayfası CSS Kodları */
.article-container {
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.article-divider {
    position: relative;
    width: 100%;
    margin: 50px 0;
}

    .article-divider::before {
        content: '';
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 100px;
        height: 5px;
        background: var(--primary-color);
        border-radius: 3px;
    }

.news-article {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    padding: 30px;
    margin-bottom: 30px;
}

.article-header {
    margin-bottom: 25px;
    border-bottom: 1px solid var(--bg-color);
    padding-bottom: 20px;
}

.article-title {
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 15px;
    color: var(--text-dark-dark);
    font-weight: 700;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.article-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-dark-low);
    font-size: 14px;
}

    .article-date i {
        font-size: 14px;
        color: var(--primary-color);
    }

.article-author {
    display: flex;
}

    .article-author a {
        display: flex;
        align-items: center;
        gap: 8px;
        transition: all 0.3s ease;
    }

        .article-author a:hover span {
            color: var(--primary-color);
        }

    .article-author img {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        object-fit: cover;
    }

    .article-author span {
        font-size: 14px;
        font-weight: 500;
        color: var(--text-dark);
        transition: color 0.3s ease;
    }

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

    .article-tags .tag {
        display: inline-block;
        padding: 4px 12px;
        background: var(--bg-color);
        color: var(--text-dark);
        border-radius: 20px;
        font-size: 12px;
        font-weight: 500;
        transition: all 0.3s ease;
    }

        .article-tags .tag:hover {
            background: var(--primary-color);
            color: white;
        }

.reading-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.reading-option-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--bg-color);
    color: var(--text-dark);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .reading-option-btn i {
        font-size: 14px;
    }

    .reading-option-btn:hover {
        background: var(--primary-color);
        color: white;
    }

.reading-estimate {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-dark-low);
}

    .reading-estimate i {
        font-size: 14px;
        color: var (--primary-color);
    }

.article-featured-image {
    margin-bottom: 25px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

    .article-featured-image img {
        width: 100%;
        max-height: 600px;
        border-radius: 8px;
        display: block;
        object-fit: contain;
    }

.image-caption {
    padding: 12px 15px;
    background-color: rgba(0, 0, 0, 0.03);
    color: var(--text-dark-low);
    font-size: 14px;
    font-style: italic;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

    .article-share span {
        font-size: 14px;
        font-weight: 500;
        color: var(--text-dark);
    }

.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

    .share-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .share-btn i {
        font-size: 16px;
        color: white;
    }

    .share-btn.facebook {
        background-color: #3b5998;
    }

    .share-btn.twitter {
        background-color: #1da1f2;
    }

    .share-btn.whatsapp {
        background-color: #25d366;
    }

    .share-btn.telegram {
        background-color: #0088cc;
    }

    .share-btn.linkedin {
        background-color: #0077b5;
    }

    .share-btn.email {
        background-color: #777777;
    }

    .share-btn.copy-link {
        background-color: var(--primary-color);
    }

.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 30px;
}

    .article-content p {
        margin-bottom: 20px;
    }

    .article-content h2 {
        font-size: 24px;
        font-weight: 700;
        margin: 35px 0 20px;
        color: var(--text-dark-dark);
    }

    .article-content h3 {
        font-size: 20px;
        font-weight: 600;
        margin: 30px 0 20px;
        color: var(--text-dark-dark);
    }

    .article-content ul, .article-content ol {
        margin-bottom: 20px;
        padding-left: 25px;
    }

        .article-content ul li, .article-content ol li {
            margin-bottom: 10px;
        }

    .article-content a {
        color: var(--primary-color);
        text-decoration: underline;
    }

        .article-content a:hover {
            color: var(--primary-color-dark);
        }

.article-image {
    margin: 30px 0;
    border-radius: 8px;
    overflow: hidden;
    width: max-content;
    max-width: 100%;
    width: 50%;
}

    .article-image img {
        border-radius: 8px 8px 0 0;
        display: block;
        width: 100%;
        height: auto;
    }

.article-quote {
    margin: 30px 0;
    padding: 25px 30px;
    background: var(--bg-color);
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
}

    .article-quote p {
        font-size: 18px;
        line-height: 1.7;
        font-style: italic;
        color: var(--text-dark);
        margin-bottom: 10px;
    }

    .article-quote cite {
        display: block;
        font-size: 14px;
        color: var(--text-dark-low);
        font-style: normal;
        font-weight: 500;
    }

.article-info-box {
    margin: 30px 0;
    padding: 20px 25px;
    background: #f0f7ff;
    border-radius: 8px;
    border: 1px solid rgba(0, 111, 183, 0.2);
}

    .article-info-box h3 {
        margin-top: 0;
        font-size: 18px;
        color: var(--primary-color);
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .article-info-box h3 i {
            font-size: 18px;
            color: var(--primary-color);
        }

    .article-info-box p {
        margin-bottom: 0;
        font-size: 15px;
    }

.article-table {
    margin: 30px 0;
    overflow-x: auto;
}

    .article-table table {
        width: 100%;
        border-collapse: collapse;
        border: 1px solid var(--bg-color);
    }

    .article-table th, .article-table td {
        padding: 12px 15px;
        text-align: left;
        border-bottom: 1px solid var(--bg-color);
    }

    .article-table th {
        background-color: var(--bg-color);
        font-weight: 600;
        color: var(--text-dark-dark);
    }

    .article-table tr:nth-child(even) {
        background-color: rgba(0, 0, 0, 0.02);
    }

    .article-table tr:hover {
        background-color: rgba(0, 0, 0, 0.04);
    }

.article-author-box {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--bg-color-low);
    border-radius: 10px;
    margin: 40px 0 30px;
}

.author-avatar {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

    .author-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.author-info {
    flex-grow: 1;
}

.author-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark-dark);
}

.author-bio {
    font-size: 14px;
    color: var(--text-dark-low);
    margin-bottom: 15px;
    line-height: 1.6;
}

.author-social {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

    .author-social .social-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        border-radius: 5px;
        background: var(--primary-color);
        color: var(--text-light);
        transition: all 0.3s ease;
    }

        .author-social .social-link i {
            font-size: 14px;
        }

        .author-social .social-link:hover {
            background: var(--primary-color);
            transform: translateY(-3px);
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        }

            .author-social .social-link:hover i {
                color: white;
            }

.author-more {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

    .author-more:hover {
        color: var(--primary-color-dark);
        text-decoration: underline;
    }

.article-footer-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid var(--bg-color);
}

    .article-footer-tags span {
        font-size: 14px;
        font-weight: 600;
        color: var(--text-dark);
    }

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.related-articles {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 30px;
}


.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}


.article-comments {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

.comments-count {
    font-size: 16px;
    color: var(--text-dark-low);
    font-weight: normal;
}

.comments-form {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--bg-color);
}

    .comments-form h3 {
        font-size: 18px;
        margin-bottom: 20px;
        color: var(--text-dark);
    }

.form-group {
    margin-bottom: 15px;
}

    .form-group input, .form-group textarea {
        width: 100%;
        padding: 12px 15px;
        border: 1px solid var(--bg-color);
        border-radius: 8px;
        font-size: 14px;
        color: var(--text-dark);
        transition: all 0.3s ease;
    }

        .form-group input:focus, .form-group textarea:focus {
            border-color: var(--primary-color);
            outline: none;
            box-shadow: 0 0 0 3px rgba(0, 111, 183, 0.1);
        }

    .form-group textarea {
        min-height: 120px;
        resize: vertical;
    }

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
}

    .btn-primary:hover {
        background: var(--primary-color-dark);
        transform: translateY(-2px);
    }

.btn-secondary {
    background: var(--bg-color);
    color: var(--text-dark);
    border: none;
}

    .btn-secondary:hover {
        background: var(--secondary-color);
        color: white;
        transform: translateY(-2px);
    }

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment {
    display: flex;
    gap: 15px;
}

.comment-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

    .comment-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.comment-content {
    flex-grow: 1;
    background: var(--bg-color-low);
    border-radius: 10px;
    padding: 15px;
    position: relative;
}

    .comment-content:before {
        content: "";
        position: absolute;
        top: 15px;
        left: -8px;
        width: 0;
        height: 0;
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
        border-right: 8px solid var(--bg-color-low);
    }

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 5px;
}

.comment-author {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.comment-date {
    font-size: 12px;
    color: var(--text-dark-low);
}

.comment-body {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-dark);
}

.comment-footer {
    text-align: right;
}

.comment-reply {
    font-size: 12px;
    font-weight: 500;
    color: var(--primary-color);
    background: transparent;
    padding: 0;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

    .comment-reply:hover {
        color: var(--primary-color-dark);
        text-decoration: underline;
    }

/* Text Settings Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1010;
    justify-content: center;
    align-items: center;
}

    .modal.show {
        display: flex;
    }

.modal-content {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--bg-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .modal-header h2 {
        margin: 0;
        font-size: 22px;
        color: var(--text-dark);
    }

.close-modal {
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    color: var(--text-dark-low);
    cursor: pointer;
    transition: color 0.3s ease;
}

    .close-modal:hover {
        color: var(--text-dark);
    }

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid var(--bg-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.setting-group {
    margin-bottom: 25px;
}

    .setting-group h3 {
        font-size: 16px;
        margin-bottom: 15px;
        color: var(--text-dark);
    }

.font-size-controls,
.line-height-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.font-control-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .font-control-btn i {
        font-size: 14px;
        color: var(--text-dark);
    }

    .font-control-btn:hover {
        background: var(--primary-color);
    }

        .font-control-btn:hover i {
            color: white;
        }

#current-font-size,
#current-line-height {
    min-width: 50px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
}

.font-family-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.font-family-btn {
    padding: 8px 15px;
    border-radius: 6px;
    background: var(--bg-color);
    font-size: 14px;
    transition: all 0.3s ease;
}

    .font-family-btn.active {
        background: var(--primary-color);
        color: white;
    }

.theme-controls {
    display: flex;
    gap: 10px;
}

.theme-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px;
    border-radius: 8px;
    background: var(--bg-color);
    transition: all 0.3s ease;
}

    .theme-btn i {
        font-size: 20px;
        color: var(--text-dark);
    }

    .theme-btn span {
        font-size: 14px;
        color: var(--text-dark);
    }

    .theme-btn.active {
        background: var(--primary-color);
    }

        .theme-btn.active i,
        .theme-btn.active span {
            color: white;
        }

/* Dark Theme */
.article-content.dark-theme {
    background-color: #1a1a1a;
    color: #e0e0e0;
}

    .article-content.dark-theme h2,
    .article-content.dark-theme h3 {
        color: #ffffff;
    }

    .article-content.dark-theme a {
        color: #64b5f6;
    }

/* Sepia Theme */
.article-content.sepia-theme {
    background-color: #f5efe0;
    color: #5b4636;
}

    .article-content.sepia-theme h2,
    .article-content.sepia-theme h3 {
        color: #33281e;
    }

    .article-content.sepia-theme a {
        color: #a86422;
    }

.article-separator {
    height: 1px;
    background: var(--bg-color);
    margin: 40px 0;
    position: relative;
}

    .article-separator::before {
        content: '';
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 50px;
        height: 5px;
        background: var(--primary-color);
        border-radius: 3px;
    }

/* Enhanced Responsive Styles */
/* Large screens (desktops) */
@media (min-width: 1400px) {
    .article-container {
        max-width: 1300px;
    }
}

/* Medium-large screens */
@media (max-width: 1200px) {
    .news-listing__container {
        grid-template-columns: 1fr 280px;
        gap: 20px;
    }

    .related-articles-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }


    .article-title {
        font-size: 32px;
    }
}

/* Medium screens (tablets, small laptops) */
@media (max-width: 992px) {
    .news-listing__container {
        grid-template-columns: 1fr;
    }

    .article-container {
        padding: 0 15px;
    }

    .related-articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }


    .article-title {
        font-size: 28px;
    }

    .article-content h2 {
        font-size: 22px;
    }

    .article-content h3 {
        font-size: 18px;
    }

    .article-image {
        width: 60%;
    }

    .theme-controls {
        flex-wrap: wrap;
    }


    .header-content h1 {
        font-size: 36px;
    }

    .header-content p {
        font-size: 18px;
    }
}

/* Small screens (mobile tablets) */
@media (max-width: 768px) {
    .author-page-header {
        padding: 30px 0;
        margin-bottom: 20px;
    }

    .header-content h1 {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .header-content p {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .article-container {
        padding: 0 12px;
    }

    .news-article {
        padding: 20px 15px;
        border-radius: 10px;
    }

    .article-title {
        font-size: 24px;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .reading-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .article-author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .author-avatar {
        width: 80px;
        height: 80px;
        margin-bottom: 15px;
    }

    .author-social {
        justify-content: center;
    }

    .related-articles {
        padding: 20px 15px;
    }


    .related-articles-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .article-comments {
        padding: 20px 15px;
    }

    .comment {
        flex-direction: column;
    }

    .comment-avatar {
        width: 40px;
        height: 40px;
        margin-right: auto;
    }

    .comment-content:before {
        display: none;
    }

    .article-share span {
        width: 100%;
        margin-bottom: 5px;
    }

    .share-buttons {
        justify-content: flex-start;
    }

    .article-image {
        width: 100%;
    }

    .article-quote {
        padding: 20px 15px;
    }

        .article-quote p {
            font-size: 16px;
        }

    .news-card.style2 {
        margin-bottom: 15px;
    }

        .news-card.style2 .card-image {
            height: 180px;
        }
}

/* Extra small screens (phones) */
@media (max-width: 576px) {
    .author-page-header {
        padding: 25px 0;
    }

    .header-content h1 {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .header-content p {
        font-size: 14px;
    }

    .news-article {
        padding: 15px;
        margin-bottom: 20px;
    }

    .article-header {
        padding-bottom: 15px;
        margin-bottom: 20px;
    }

    .article-title {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .article-content {
        font-size: 15px;
    }

        .article-content h2 {
            font-size: 20px;
            margin: 25px 0 15px;
        }

        .article-content h3 {
            font-size: 17px;
            margin: 20px 0 15px;
        }

    .article-featured-image {
        margin-bottom: 20px;
    }

    .image-caption {
        padding: 10px;
        font-size: 12px;
    }

    .article-share {
        margin-bottom: 20px;
    }

    .share-btn {
        width: 32px;
        height: 32px;
    }

        .share-btn i {
            font-size: 14px;
        }

    .article-separator {
        margin: 30px 0;
    }

    .article-author-box {
        padding: 15px;
        margin: 30px 0 20px;
    }

    .author-avatar {
        width: 60px;
        height: 60px;
    }

    .author-name {
        font-size: 16px;
    }

    .author-bio {
        font-size: 13px;
    }

    .article-footer-tags {
        padding-top: 15px;
    }

        .article-footer-tags span {
            display: block;
            width: 100%;
            margin-bottom: 5px;
        }

    .related-articles {
        padding: 15px;
    }


    .article-comments {
        padding: 15px;
    }

    .comments-form h3 {
        font-size: 16px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .comment-content {
        padding: 12px;
    }

    .comment-author {
        font-size: 14px;
    }

    .comment-body {
        font-size: 13px;
    }

    .news-card.style2 .card-image {
        height: 160px;
    }

    .news-card.style2 .card-content {
        padding: 12px;
    }

    .news-card.style2 .card-title {
        font-size: 15px;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }

    .modal-content {
        width: 95%;
    }

    .modal-header h2 {
        font-size: 18px;
    }

    .modal-body, .modal-header, .modal-footer {
        padding: 15px;
    }

    .font-family-controls,
    .theme-controls {
        flex-direction: column;
        gap: 8px;
    }

    .font-family-btn, .theme-btn {
        width: 100%;
        text-align: center;
    }
}

/* Loading effect for news cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-card.style2 {
    animation: fadeInUp 0.5s ease forwards;
}

    /* Apply different animation delays to create a staggered effect */
    .news-card.style2:nth-child(2) {
        animation-delay: 0.1s;
    }

    .news-card.style2:nth-child(3) {
        animation-delay: 0.2s;
    }

    .news-card.style2:nth-child(4) {
        animation-delay: 0.3s;
    }

/* Touch-friendly improvements for mobile */
@media (max-width: 768px) {
    .share-btn {
        width: 40px; /* Larger tap target */
        height: 40px;
    }

    .form-group input,
    .form-group textarea,
    .btn {
        padding: 12px 15px; /* More comfortable touch inputs */
    }

    .article-tags .tag {
        padding: 6px 14px; /* Larger tap target for tags */
        margin-bottom: 5px;
    }
}

/* Accessibility improvements */
.article-content {
    word-break: break-word;
}

    .article-content img,
    .article-featured-image {
        max-width: 100%;
    }

@media (prefers-reduced-motion: reduce) {
    .news-card.style2,
    .news-card.style2:hover,
    .share-btn:hover,
    .btn:hover,
    .modal-content {
        animation: none;
        transform: none;
        transition: none;
    }
}

/* Fix for Safari flex gap issue */
@supports not (gap: 25px) {
    .article-meta > * {
        margin-right: 20px;
    }

    .share-buttons > * {
        margin-right: 10px;
    }

    .related-articles-grid > * {
        margin: 12.5px;
    }
}

/* Print styles */
@media print {
    .news-article {
        box-shadow: none;
        padding: 0;
    }

    .article-content {
        font-size: 12pt;
        line-height: 1.5;
    }

    .article-title {
        font-size: 18pt;
    }

    .article-content h2 {
        font-size: 16pt;
    }

    .article-content h3 {
        font-size: 14pt;
    }

    .article-featured-image {
        max-height: 300px;
    }

    .article-author-box,
    .related-articles,
    .article-comments,
    .share-buttons,
    .reading-options {
        display: none;
    }
}

/* Fix width issues on ultra-small phones */
@media (max-width: 374px) {
    .article-container {
        padding: 0 10px;
    }

    .news-article {
        padding: 12px;
    }

    .article-title {
        font-size: 20px;
    }

    .article-meta {
        font-size: 12px;
    }

    .article-content {
        font-size: 14px;
    }
}

/* Hero Banner with YouTube Video - Responsive Design */
.hero-banner-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-banner-link:hover {
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

.hero-banner-link:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

.hero-banner-container {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: box-shadow 0.2s ease;
}

.hero-banner-link:hover .hero-banner-container {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/uploads/sabanci-reklam.jpg');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.hero-video-wrapper {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 2;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    pointer-events: none;
}

.hero-video-wrapper:hover {
    transform: translateY(-50%) translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.video-container {
    position: relative;
    width: 480px;
    height: 270px;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    pointer-events: none;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
    pointer-events: none;
}

/* Tablet Responsive */
@media (max-width: 1024px) {
    .hero-banner-container {
        height: 350px;
    }
    
    .video-container {
        width: 320px;
        height: 180px;
    }
    
    .hero-video-wrapper {
        top: 50%;
        right: 15px;
        transform: translateY(-50%);
        z-index: 2;
        pointer-events: none;
    }
    
    .hero-video-wrapper:hover {
        transform: translateY(-50%) translateY(-2px);
    }
}

/* Mobile Landscape */
@media (max-width: 768px) {
    .hero-banner-container {
        height: 300px;
    }
    
    .video-container {
        width: 240px;
        height: 135px;
    }
    
    .hero-video-wrapper {
        top: 50%;
        right: 10px;
        transform: translateY(-50%);
        z-index: 2;
        pointer-events: none;
    }
    
    .hero-video-wrapper:hover {
        transform: translateY(-50%) translateY(-2px);
    }
}

/* Mobile Portrait */
@media (max-width: 576px) {
    .hero-banner-container {
        height: 250px;
        border-radius: 8px;
    }
    
    .video-container {
        width: 200px;
        height: 112px;
    }
    
    .hero-video-wrapper {
        top: 50%;
        right: 10px;
        transform: translateY(-50%);
        z-index: 2;
        pointer-events: none;
    }
    
    .hero-video-wrapper:hover {
        transform: translateY(-50%) translateY(-2px);
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-banner-container {
        height: 220px;
    }
    
    .video-container {
        width: 180px;
        height: 101px;
    }
    
    .hero-video-wrapper {
        top: 50%;
        right: 8px;
        transform: translateY(-50%);
        z-index: 2;
        pointer-events: none;
    }
    
    .hero-video-wrapper:hover {
        transform: translateY(-50%) translateY(-2px);
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .hero-banner-container {
        height: 200px;
    }
    
    .video-container {
        width: 160px;
        height: 90px;
    }
    
    .hero-video-wrapper {
        top: 50%;
        right: 5px;
        transform: translateY(-50%);
        z-index: 2;
        pointer-events: none;
    }
    
    .hero-video-wrapper:hover {
        transform: translateY(-50%) translateY(-2px);
    }
}