/* ==========================================================================
   WIDGETS CSS - Magazine & News Themes
   ========================================================================== */

/* ==========================================================================
   WEATHER WIDGET
   ========================================================================== */
.weather-widget {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 20px;
    color: #fff;
    margin-bottom: 20px;
}

.weather-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.weather-location {
    font-size: 14px;
    font-weight: 600;
}

.weather-date {
    font-size: 12px;
    opacity: 0.8;
}

.weather-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.weather-icon {
    font-size: 48px;
}

.weather-temp {
    font-size: 42px;
    font-weight: 700;
}

.weather-desc {
    text-align: center;
    font-size: 14px;
    opacity: 0.9;
}

/* ==========================================================================
   AUTHORS WIDGET
   ========================================================================== */
.authors-widget {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.authors-widget-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--vr-theme-color, #dc2626);
}

.author-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.author-item:last-child {
    border-bottom: none;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 3px;
}

.author-role {
    font-size: 12px;
    color: #888;
}

/* ==========================================================================
   FIXTURE WIDGET
   ========================================================================== */
.fixture-widget {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.fixture-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 15px;
    color: #fff;
    text-align: center;
}

.fixture-title {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
}

.fixture-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
}

.fixture-team {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.fixture-team-logo {
    width: 24px;
    height: 24px;
}

.fixture-team-name {
    font-size: 13px;
    font-weight: 600;
}

.fixture-score {
    font-size: 16px;
    font-weight: 700;
    color: var(--vr-theme-color, #dc2626);
    padding: 0 15px;
}

.fixture-time {
    font-size: 12px;
    color: #888;
    text-align: center;
}

/* ==========================================================================
   NEWSPAPER WIDGET
   ========================================================================== */
.newspaper-widget {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.newspaper-widget-header {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    padding: 15px;
    color: #fff;
}

.newspaper-widget-title {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.newspaper-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 15px;
}

.newspaper-item {
    text-align: center;
    cursor: pointer;
}

.newspaper-img-wrap {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.newspaper-img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    transition: transform 0.3s;
}

.newspaper-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    color: #fff;
    font-size: 24px;
}

.newspaper-item:hover .newspaper-overlay {
    opacity: 1;
}

.newspaper-item:hover .newspaper-img {
    transform: scale(1.1);
}

.newspaper-name {
    display: block;
    font-size: 11px;
    font-weight: 600;
    margin-top: 6px;
    color: #333;
}

.newspaper-footer {
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid #eee;
    text-align: center;
}

.newspaper-footer a {
    font-size: 12px;
    color: var(--vr-theme-color, #dc2626);
    text-decoration: none;
    font-weight: 600;
}

/* ==========================================================================
   NEWSPAPER PAGE
   ========================================================================== */
.page-header {
    text-align: center;
    padding: 20px 0;
    border-bottom: 3px solid var(--vr-theme-color, #dc2626);
    margin-bottom: 30px;
}

.page-header .page-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
}

.newspaper-date-badge {
    display: inline-block;
    background: var(--vr-theme-color, #dc2626);
    color: #fff;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    margin-top: 10px;
}

.newspaper-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.newspaper-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.newspaper-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.newspaper-img-wrapper {
    position: relative;
    padding-top: 145%;
    overflow: hidden;
    background: #f0f0f0;
}

.newspaper-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.newspaper-card:hover .newspaper-img-wrapper img {
    transform: scale(1.05);
}

.newspaper-info {
    padding: 15px;
    text-align: center;
    background: linear-gradient(135deg, #fffdf2 0%, #fff 100%);
    border-top: 2px solid #f1c40f;
}

/* Fullscreen Modal */
.newspaper-modal .modal-content {
    background: #111 !important;
}

.newspaper-fullscreen-img {
    max-width: 95%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   YAZAR PAGES
   ========================================================================== */
.author-page-content {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.author-articles-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.author-article-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s;
}

.author-article-item:hover {
    background: var(--vr-theme-color, #dc2626);
    color: #fff;
    transform: translateX(5px);
}

.author-article-icon {
    font-size: 16px;
    color: var(--vr-theme-color, #dc2626);
}

.author-article-item:hover .author-article-icon {
    color: #fff;
}

.author-article-title {
    font-weight: 600;
}

/* ==========================================================================
   TOP NEWS GRID
   ========================================================================== */
.top-news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.top-news-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #1a1a1a;
}

.top-news-link {
    display: block;
    text-decoration: none;
}

.top-news-media {
    position: relative;
    width: 100%;
    padding-top: 75%;
}

.top-news-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.top-news-card:hover .top-news-img {
    transform: scale(1.08);
}

.top-news-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    pointer-events: none;
}

.top-news-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    z-index: 5;
}

.top-news-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.top-news-date {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.75);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ==========================================================================
   SCROLL NEWS
   ========================================================================== */
.scroll-news-wrapper {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    overflow: hidden;
}

.scroll-news-label {
    background: var(--vr-theme-color, #dc2626);
    color: #fff;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
}

.scroll-news-container {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.scroll-news-track {
    display: flex;
    gap: 20px;
    animation: scrollNews 30s linear infinite;
}

@keyframes scrollNews {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.scroll-news-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    text-decoration: none;
    flex-shrink: 0;
    min-width: 280px;
}

.scroll-news-img {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.scroll-news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scroll-news-content {
    flex: 1;
}

.scroll-news-cat {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.scroll-news-title {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

.scroll-news-nav {
    display: flex;
    gap: 5px;
    padding: 0 15px;
}

.scroll-nav-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.scroll-nav-btn:hover {
    background: var(--vr-theme-color, #dc2626);
    color: #fff;
    border-color: var(--vr-theme-color, #dc2626);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 991px) {
    .top-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-news-grid {
        grid-template-columns: 1fr;
    }

    .scroll-news-wrapper {
        flex-direction: column;
    }

    .scroll-news-label {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .top-news-title {
        font-size: 12px;
    }

    .top-news-date {
        font-size: 10px;
    }
}

/* ==========================================================================
   HEADLINE + POPULAR LIST
   ========================================================================== */
.headline-wrapper {
    display: grid;
    grid-template-columns: 1.6fr 0.5fr 0.9fr;
    gap: 12px;
    margin-bottom: 30px;
}

/* Orta: 2 Resimli Kart */
.headline-middle-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.middle-card {
    flex: 1;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #1a1a1a;
}

.middle-card-link {
    display: block;
    height: 100%;
    text-decoration: none;
}

.middle-card-media {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 180px;
}

.middle-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.middle-card:hover .middle-card-img {
    transform: scale(1.08);
}

.middle-card-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    pointer-events: none;
}

.middle-card-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    z-index: 5;
}

.middle-card-category {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 6px;
}

.middle-card-title {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Sol: Ana Slider */
.headline-main-col {
    display: flex;
    flex-direction: column;
}

.headline-slider {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #1a1a1a;
    flex: 1;
}

.headline-link {
    display: block;
    height: 100%;
    text-decoration: none;
}

.headline-media {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 450px;
}

.headline-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.headline-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
    pointer-events: none;
}

.headline-caption {
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
    padding: 0 25px;
    z-index: 5;
}

.headline-category {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 10px;
}

.headline-title {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    line-height: 1.35;
    margin: 0;
}

/* Pagination */
.headline-pager {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    background: rgba(0, 0, 0, 0.8);
    padding: 0;
    z-index: 10;
}

.headline-pager-item {
    flex: 1;
    padding: 12px 0;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.2s;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.headline-pager-item:last-child {
    border-right: none;
}

.headline-pager-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.headline-pager-item.is-active {
    background: var(--vr-theme-color, #dc2626);
    color: #fff;
}

/* Sağ: Çok Okunanlar */
.headline-side-col {
    display: flex;
    flex-direction: column;
}

.popular-box {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid #eee;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.popular-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.popular-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.popular-list {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.popular-item {
    flex: 1;
    border-bottom: 1px solid #f0f0f0;
}

.popular-item:last-child {
    border-bottom: none;
}

.popular-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    text-decoration: none;
    height: 100%;
    transition: background 0.2s;
}

.popular-link:hover {
    background: #f8f9fa;
}

.popular-number {
    font-size: 28px;
    font-weight: 800;
    color: #ddd;
    min-width: 35px;
    transition: color 0.2s;
}

.popular-link:hover .popular-number {
    color: var(--vr-theme-color, #dc2626);
}

.popular-content {
    flex: 1;
    min-width: 0;
}

.popular-item-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.popular-link:hover .popular-item-title {
    color: var(--vr-theme-color, #dc2626);
}

/* Headline Responsive */
@media (max-width: 991px) {
    .headline-wrapper {
        grid-template-columns: 1fr;
    }

    .headline-media {
        min-height: 320px;
    }

    .headline-title {
        font-size: 20px;
    }

    .headline-middle-col {
        flex-direction: row;
    }

    .popular-list {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .popular-item {
        flex: 1 1 50%;
        border-right: 1px solid #f0f0f0;
    }

    .popular-item:nth-child(2n) {
        border-right: none;
    }
}

@media (max-width: 768px) {
    .headline-media {
        min-height: 280px;
    }

    .headline-title {
        font-size: 18px;
    }

    .headline-pager-item {
        padding: 10px 0;
        font-size: 11px;
    }

    .headline-middle-col {
        flex-direction: column;
    }

    .popular-list {
        flex-direction: column;
    }

    .popular-item {
        flex: none;
        border-right: none;
    }

    .popular-link {
        padding: 15px;
    }

    .popular-number {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .headline-media {
        min-height: 220px;
    }

    .headline-caption {
        bottom: 50px;
        padding: 0 15px;
    }

    .headline-title {
        font-size: 16px;
    }

    .headline-pager-item {
        padding: 8px 0;
        font-size: 10px;
    }
}