/* Theme Name: Auntri Child Theme
Theme URI: https://themeforest.net/user/ovatheme/portfolio
Description: This is child theme of auntri
Author: Ovatheme
Author URI: https://themeforest.net/user/ovatheme
Template: auntri
Version: 1.0.0
Tags: two-columns, three-columns, left-sidebar, right-sidebar, custom-menu, editor-style, featured-images, flexible-header, full-width-template, post-formats, rtl-language-support, sticky-post, translation-ready
Text Domain:  auntri-child
*/

/* =========================
   NEWS TABS WRAPPER
========================= */
.news-tabs {
    width: 100%;
    margin: 0;
    background: #fff;
    border-radius: 8px;
    padding: 20px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.news-tabs-inner {
    width: 100%;
    padding: 0 20px;
    margin: 0;
}

/* =========================
   TAB BUTTONS
========================= */
.tab-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 16px;
    padding: 0 10px;
}

/* Hide scrollbar (desktop) */
.tab-buttons::-webkit-scrollbar {
    display: none;
}

.tab-buttons li {
    list-style: none;
    padding: 8px 14px;
    font-size: 16px;
    font-weight: 500;
    color: var(--heading);
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.25s ease;
    white-space: nowrap;
    flex: 0 0 auto;
}

/* Hover */
.tab-buttons li:hover {
    background: #f3f4f6;
    color: #111827;
}

/* Active */
.tab-buttons li.active {
    background: #00b1e5;
    color: #fff;
    font-weight: 600;
}

/* =========================
   TAB CONTENT
========================= */
.tab-content {
    display: none;
    padding-right: 0;
}

.tab-content.active {
    display: block;
}

/* Scrollbar (if used anywhere) */
.tab-content::-webkit-scrollbar {
    width: 5px;
}
.tab-content::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

/* =========================
   WIDGET RESET
========================= */
.news-tabs .widget {
    padding: 0;
    margin: 0;
}

/* Title */
.news-tabs .widget-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--heading);
    margin-bottom: 16px;
}

/* =========================
   RSS ITEMS
========================= */
.news-tabs .srr-item {
    padding: 12px 0;
    transition: background 0.2s ease;
    border-bottom: 1px solid #eee;
}

.news-tabs .srr-item:hover {
    background: #f9fafb;
}

.news-tabs .srr-item:last-child {
    border-bottom: none;
}

/* Title wrapper */
.news-tabs .srr-title {
    margin-bottom: 4px;
}

/* LINKS */
.news-tabs .srr-title a {
    text-decoration: none;
    font-size: 15px;
    color: #034f99;
    font-weight: 500;
    transition: all 0.25s ease;
    display: inline-block;
    line-height: 1.4;
}

/* Hover */
.news-tabs .srr-title a:hover {
    color: #00b1e5 !important;
}

/* Underline animation */
.news-tabs .srr-title a::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background: #00b1e5;
    transition: width 0.3s ease;
    margin-top: 2px;
}

.news-tabs .srr-title a:hover::after {
    width: 100%;
}

/* META (DATE) */
.news-tabs .srr-meta {
    font-size: 13px;
    color: #6b7280;
}

/* =========================
   REMOVE DEFAULT PLUGIN SPACING
========================= */
.news-tabs .srr-wrap,
.news-tabs .srr-inner,
.news-tabs .srr-item {
    margin: 0 !important;
}

/* =========================
   TABLET & MOBILE FIX
========================= */
@media (max-width: 768px) {

    .news-tabs {
        padding: 12px 0;
    }

    .news-tabs-inner {
        padding: 0 15px;
    }

    /* FIX: allow horizontal scroll for tabs */
    .tab-buttons {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tab-buttons li {
        font-size: 13px;
        padding: 7px 12px;
    }

    .news-tabs .widget-title {
        font-size: 18px;
    }

    .news-tabs .srr-title a {
        font-size: 14px;
    }

    /* IMPORTANT FIX: no content cut */
    .tab-content {
        max-height: none;
        overflow: visible;
    }
}

/* =========================
   SMALL MOBILE
========================= */
@media (max-width: 480px) {

    .tab-buttons {
        gap: 6px;
    }

    .tab-buttons li {
        padding: 6px 10px;
        font-size: 12px;
    }

    .news-tabs .srr-title a {
        font-size: 13px;
    }
}