/* ===================================================================
   CUSTOM POST TYPE: BÁO CHÍ NÓI VỀ CHÚNG TÔI - STYLES
   =================================================================== */

/* Reset & Base */
.baochi-page-wrapper {
    background: #f8f9fa;
}

.baochi-full-width {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

/* Breadcrumb */
.baochi-breadcrumb {
    background: #a64356;
    padding: 15px 0;
    color: white;
}

.baochi-breadcrumb .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.baochi-breadcrumb a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.baochi-breadcrumb a:hover {
    text-decoration: underline;
}

.baochi-breadcrumb span {
    margin: 0 10px;
}

/* Page Title */
.baochi-page-title {
    background: white;
    padding: 2% 0;
    text-align: center;
    border-bottom: 3px solid #a64356;
}

.baochi-page-title h1 {
    font-size: 30px;
    font-weight: 700;
    color: #a64356;
    text-transform: uppercase;
    margin: 0;
    text-align: left;
}

/* Slider Section */
.baochi-slider-section {
    background: #2c3e50;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.baochi-slider-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.baochi-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.baochi-slide {
    display: none;
    position: relative;
    width: 100%;
    height: 600px;
}

.baochi-slide.active {
    display: block;
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.baochi-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.baochi-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 80px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
    color: white;
}

.baochi-slide-logo {
    display: inline-block;
    background: white;
    padding: 10px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.baochi-slide-logo img {
    max-height: 40px;
    width: auto;
}

.baochi-slide-source {
    display: inline-block;
    background: #a64356;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.baochi-slide-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.baochi-slide-excerpt {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.95;
    max-width: 800px;
}

.baochi-slide-date {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.baochi-slide-date i {
    margin-right: 8px;
}

.baochi-slide-button {
    display: inline-block;
    background: #a64356;
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.4);
}

.baochi-slide-button:hover {
    background: #E64A19;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.6);
}

/* Slider Navigation */
.baochi-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    transition: all 0.3s ease;
}
.baochi-slide-button{
    color:#fff !important
}
.baochi-slider-nav:hover {
    background: rgba(255,255,255,0.4);
    transform: translateY(-50%) scale(1.1);
}

.baochi-slider-prev {
    left: 30px;
}

.baochi-slider-next {
    right: 30px;
}

/* Slider Dots */
.baochi-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.baochi-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.baochi-dot.active {
    background: #a64356;
    width: 40px;
    border-radius: 6px;
}

/* Main Content */
.baochi-main-content {
    padding: 30px 0;
}

.baochi-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.baochi-section-title {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.baochi-section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #a64356;
    border-radius: 2px;
}

/* Grid */
.baochi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.baochi-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
}

.baochi-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.baochi-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.baochi-thumbnail {
    position: relative;
    overflow: hidden;
    padding-top: 60%;
    background: #ecf0f1;
}

.baochi-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.baochi-item:hover .baochi-thumbnail img {
    transform: scale(1.1);
}

.baochi-no-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2c3e50 0%, #a64356 100%);
    color: white;
    font-size: 64px;
}

.baochi-logo-overlay {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(255,255,255,0.98);
    padding: 8px 15px;
    border-radius: 6px;
    max-width: 120px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 2;
}

.baochi-logo-overlay img {
    width: 100%;
    height: auto;
    max-height: 35px;
    object-fit: contain;
}

.baochi-content {
    padding: 25px;
}

.baochi-title {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 25px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.baochi-item:hover .baochi-title {
    color: #a64356;
}

.baochi-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #7f8c8d;
    flex-wrap: wrap;
}

.baochi-meta i {
    margin-right: 5px;
}

.baochi-source {
    font-weight: 600;
    color: #2c3e50;
}

.baochi-excerpt {
    font-size: 15px;
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.baochi-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #a64356;
    font-weight: 600;
    font-size: 14px;
    transition: gap 0.3s ease;
}

.baochi-item:hover .baochi-read-more {
    gap: 12px;
}

/* Pagination */
.baochi-pagination {
    text-align: center;
    margin-top: 50px;
}

.baochi-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 15px;
    margin: 0 5px;
    background: #fff;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.baochi-pagination .page-numbers:hover,
.baochi-pagination .page-numbers.current {
    background: #a64356;
    color: #fff;
    border-color: #a64356;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1200px) {
    .baochi-slider {
        height: 500px;
    }
    
    .baochi-slide {
        height: 500px;
    }
    
    .baochi-slide-content {
        padding: 40px 60px;
    }
    
    .baochi-slide-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .baochi-slider {
        height: 450px;
    }
    
    .baochi-slide {
        height: 450px;
    }
    
    .baochi-slide-content {
        padding: 30px 20px;
    }
    
    .baochi-slide-title {
        font-size: 28px;
    }
    
    .baochi-slide-excerpt {
        font-size: 16px;
    }
    
    .baochi-slider-nav {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .baochi-slider-prev {
        left: 15px;
    }
    
    .baochi-slider-next {
        right: 15px;
    }
    
    .baochi-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .baochi-page-title h1 {
        font-size: 28px;
    }
}
.btPageHeadline{
    display: none !important;
}
.btSidebar{
    display: none !important;
}
.btContent{
    width: 100% !important;
}
/* ===================================================================
   SINGLE POST STYLES
   =================================================================== */

.baochi-single-wrapper {
    padding: 40px 0 60px;
    background: #f8f9fa;
}

.baochi-single-article {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

/* Breadcrumb */
.baochi-breadcrumb a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.baochi-breadcrumb a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.baochi-breadcrumb .separator {
    margin: 0 8px;
    color: #bdc3c7;
}

.baochi-breadcrumb .current {
    color: #2c3e50;
    font-weight: 600;
}

/* Single Header */
.baochi-single-header {
    padding: 40px 50px 30px;
    border-bottom: 2px solid #ecf0f1;
}

.baochi-single-title {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.3;
    margin-bottom: 25px;
}

.baochi-single-meta {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    align-items: center;
    font-size: 15px;
}

.baochi-single-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #7f8c8d;
}

.baochi-single-meta .meta-source {
    font-weight: 600;
    color: #2c3e50;
}

.baochi-single-meta .source-logo {
    max-width: 100px;
    max-height: 35px;
    object-fit: contain;
}

.baochi-single-meta i {
    color: #95a5a6;
}

.btn-view-original {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #3498db;
    color: white !important;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-view-original:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

/* Thumbnail */
.baochi-single-thumbnail {
    line-height: 0;
}

.baochi-single-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

/* Content */
.baochi-single-content {
    padding: 50px;
    font-size: 17px;
    line-height: 1.8;
    color: #34495e;
}

.baochi-single-content p {
    margin-bottom: 20px;
}

.baochi-single-content h2,
.baochi-single-content h3 {
    color: #2c3e50;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 700;
}

.baochi-single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 25px 0;
}

.baochi-single-content a {
    color: #3498db;
    text-decoration: underline;
}

.baochi-single-content a:hover {
    color: #2980b9;
}

/* Tags */
.baochi-single-tags {
    padding: 25px 50px;
    border-top: 2px solid #ecf0f1;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.baochi-single-tags a {
    display: inline-block;
    padding: 8px 16px;
    background: #ecf0f1;
    color: #7f8c8d;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.baochi-single-tags a:hover {
    background: #3498db;
    color: white;
}

/* Navigation */
.baochi-single-navigation {
    padding: 30px 50px;
    border-top: 2px solid #ecf0f1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.baochi-single-navigation a {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.baochi-single-navigation a:hover {
    background: #ecf0f1;
    transform: translateX(3px);
}

.nav-previous a:hover {
    transform: translateX(-3px);
}

.baochi-single-navigation .nav-label {
    font-size: 13px;
    color: #95a5a6;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.baochi-single-navigation .nav-title {
    font-size: 16px;
    color: #2c3e50;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nav-next a {
    align-items: flex-end;
    text-align: right;
}

/* Back Button */
.baochi-back-to-archive {
    padding: 30px 50px;
    border-top: 2px solid #ecf0f1;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: #2c3e50;
    color: white !important;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: #34495e;
    transform: translateX(-3px);
}

/* Related Posts */
.baochi-related-posts {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.baochi-related-posts .related-title {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
}

.baochi-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.baochi-related-item {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.baochi-related-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.baochi-related-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.baochi-related-item .related-thumbnail {
    line-height: 0;
    overflow: hidden;
}

.baochi-related-item .related-thumbnail img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.baochi-related-item:hover .related-thumbnail img {
    transform: scale(1.05);
}

.baochi-related-item .related-content {
    padding: 20px;
}

.baochi-related-item .related-post-title {
    font-size: 17px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.baochi-related-item .related-meta {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: #95a5a6;
}

/* ===================================================================
   RESPONSIVE STYLES
   =================================================================== */

@media (max-width: 1200px) {
    .baochi-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .baochi-archive-wrapper {
        padding: 40px 0;
    }

    .baochi-header .page-title {
        font-size: 32px;
    }

    .baochi-header .page-description {
        font-size: 16px;
    }

    .baochi-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .baochi-content {
        padding: 20px;
    }

    .baochi-title {
        font-size: 20px;
    }

    .baochi-pagination .page-numbers {
        min-width: 40px;
        height: 40px;
        padding: 0 12px;
        font-size: 14px;
    }

    /* Single Post Mobile */
    .baochi-single-header {
        padding: 30px 25px 20px;
    }

    .baochi-single-title {
        font-size: 28px;
    }

    .baochi-single-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .baochi-single-content {
        padding: 30px 25px;
        font-size: 16px;
    }

    .baochi-single-navigation {
        grid-template-columns: 1fr;
        padding: 20px 25px;
        gap: 15px;
    }

    .nav-next a {
        align-items: flex-start;
        text-align: left;
    }

    .baochi-back-to-archive {
        padding: 20px 25px;
    }

    .baochi-related-posts {
        padding: 30px 20px;
    }

    .baochi-related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .baochi-header .page-title {
        font-size: 26px;
    }

    .baochi-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .baochi-logo-overlay {
        max-width: 100px;
        padding: 8px 12px;
    }

    .btn-view-original {
        width: 100%;
        justify-content: center;
    }
}