/* ==========================================================================
   SBTU Modern News Showcase (.sbtu-news-section / #latest-news)
   Soft-Card UI + Frosted Date Pill + Clean Owl Carousel Polish
   ========================================================================== */

.sbtu-news-section {
    position: relative;
    width: 100%;
    padding: 34px 0 38px;
    background: #ffffff;
}

.sbtu-news-section > .container {
    width: min(1240px, calc(100% - 32px));
    max-width: 1240px;
}

.sbtu-news-section .news-sections,
.sbtu-news-section .latest-news-wrapper {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Section Title + "Tüm Haberler" Pill Button */
.sbtu-news-section h1.section-title {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin: 0 0 22px !important;
    padding: 0 0 12px !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: #0f2942 !important;
    border: 0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    background: transparent !important;
}

.sbtu-news-section h1.section-title::before,
.sbtu-news-section h1.section-title span::before,
.sbtu-news-section h1.section-title span::after {
    display: none !important;
    content: none !important;
}

.sbtu-news-section h1.section-title::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    bottom: -1px !important;
    width: 48px !important;
    height: 3px !important;
    border-radius: 3px !important;
    background: linear-gradient(90deg, #009fe3 0%, #38bdf8 100%) !important;
}

.sbtu-news-section h1.section-title > span:first-child {
    border: 0 !important;
    padding: 0 !important;
    color: #0f2942 !important;
}

.sbtu-news-section h1.section-title .navbar-right {
    float: none !important;
    margin: 0 !important;
}

.sbtu-news-section h1.section-title .navbar-right a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 6px 14px !important;
    border-radius: 999px !important;
    background: #f1f7fc !important;
    border: 1px solid #cfe3f5 !important;
    color: #0b63a3 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    text-transform: none !important;
    text-decoration: none !important;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease !important;
}

.sbtu-news-section h1.section-title .navbar-right a::after {
    content: "→";
    font-size: 13px;
    transition: transform 0.2s ease;
}

.sbtu-news-section h1.section-title .navbar-right a:hover {
    background: #009fe3 !important;
    border-color: #009fe3 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.sbtu-news-section h1.section-title .navbar-right a:hover::after {
    transform: translateX(3px);
}

/* Owl Carousel Item Padding so Shadows Don't Clip */
.sbtu-news-section #latest-news .owl-stage-outer {
    padding: 6px 2px 14px !important;
}

.sbtu-news-section #latest-news .owl-item {
    padding: 0 8px !important;
    box-sizing: border-box;
}

/* Modern News Card */
.sbtu-news-section .post.medium-post {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: 0 6px 18px -8px rgba(15, 23, 42, 0.12) !important;
    transition:
        transform 0.26s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.26s ease,
        box-shadow 0.26s ease !important;
}

.sbtu-news-section .post.medium-post:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 159, 227, 0.5) !important;
    box-shadow: 0 16px 32px -12px rgba(0, 159, 227, 0.24) !important;
}

.sbtu-news-section .post.medium-post .entry-header {
    position: relative !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

.sbtu-news-section .post.medium-post .entry-thumbnail {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 16 / 10;
    overflow: hidden !important;
    background: #eef3f9;
}

.sbtu-news-section .post.medium-post .entry-thumbnail img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.sbtu-news-section .post.medium-post:hover .entry-thumbnail img {
    transform: scale(1.05);
}

/* Modern Frosted Pill for "1 HAFTA ÖNCE" */
.sbtu-news-section .post.medium-post .catagory.politics {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    bottom: auto !important;
    z-index: 3 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

.sbtu-news-section .post.medium-post .catagory.politics span,
.sbtu-news-section .post.medium-post .catagory.politics a {
    display: inline-flex !important;
    align-items: center !important;
    padding: 4px 10px !important;
    border-radius: 999px !important;
    background: rgba(6, 18, 36, 0.72) !important;
    border: 1px solid rgba(125, 211, 252, 0.45) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    line-height: 1.2 !important;
}

.sbtu-news-section .post.medium-post .catagory.politics span {
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
}

/* Card Body */
.sbtu-news-section .post.medium-post .post-content {
    padding: 14px 16px 16px !important;
    background: #ffffff !important;
}

.sbtu-news-section .post.medium-post .entry-meta {
    margin: 0 0 8px !important;
    padding: 0 !important;
}

.sbtu-news-section .post.medium-post .entry-meta ul {
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sbtu-news-section .post.medium-post .entry-meta li.views {
    display: none !important;
}

.sbtu-news-section .post.medium-post .entry-meta li.publish-date {
    padding: 0 !important;
    margin: 0 !important;
}

.sbtu-news-section .post.medium-post .entry-meta li.publish-date a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #64748b !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.sbtu-news-section .post.medium-post .entry-meta li.publish-date i {
    color: #009fe3 !important;
}

.sbtu-news-section .post.medium-post h2.entry-title {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    line-height: 1.42 !important;
    min-height: 42px;
}

.sbtu-news-section .post.medium-post h2.entry-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #0f2942 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.sbtu-news-section .post.medium-post:hover h2.entry-title a {
    color: #0077b6 !important;
}

/* Modern Owl Pagination Pills */
.sbtu-news-section #latest-news .owl-controls,
.sbtu-news-section #latest-news .owl-dots {
    margin-top: 8px !important;
    text-align: center !important;
}

.sbtu-news-section #latest-news .owl-page span,
.sbtu-news-section #latest-news .owl-dot span {
    width: 8px !important;
    height: 8px !important;
    margin: 0 4px !important;
    border-radius: 999px !important;
    background: #cbd5e1 !important;
    opacity: 1 !important;
    transition: width 0.25s ease, background 0.25s ease !important;
}

.sbtu-news-section #latest-news .owl-page.active span,
.sbtu-news-section #latest-news .owl-dot.active span {
    width: 24px !important;
    background: #009fe3 !important;
}

@media (max-width: 768px) {
    .sbtu-news-section {
        padding: 24px 0 28px;
    }
    .sbtu-news-section h1.section-title {
        font-size: 14.5px !important;
        margin-bottom: 16px !important;
    }
    .sbtu-news-section #latest-news .owl-item {
        padding: 0 4px !important;
    }
}
