/**
 * Blog Custom Styles
 * Matching Pera.works color scheme
 */

/* Blog Hero Section - Orange Red Gradient */
.inner-section-area {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0505 30%, #150a0a 60%, #0a0a0a 100%) !important;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.inner-section-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(90deg, rgba(255, 67, 8, 0.08) 1px, transparent 1px),
        linear-gradient(rgba(255, 67, 8, 0.08) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    opacity: 0.7;
    z-index: 1;
}

.inner-section-area::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top center, rgba(255, 67, 8, 0.15) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.inner-section-area .container {
    position: relative;
    z-index: 2;
}

.hero-header-area h1 {
    color: #ffffff;
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 0;
}

.hero-header-area h4 {
    color: #999;
    font-size: 16px;
    font-weight: 500;
}

.hero-header-area h4 a {
    color: #FF4308;
    transition: all 0.3s ease;
}

.hero-header-area h4 a:hover {
    color: #FEFE1F;
}

.hero-header-area h4 i {
    color: #666;
    margin: 0 10px;
}

/* Blog List Area - Orange Red Gradient */
.vl-blog-1-area {
    background: linear-gradient(135deg, #0a0a0a 0%, #150505 25%, #1a0808 50%, #100505 75%, #0a0a0a 100%) !important;
    position: relative;
    overflow: hidden;
}

.vl-blog-1-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 67, 8, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.vl-blog-1-area::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at 70% 50%, rgba(251, 133, 0, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.vl-blog-1-area .container {
    position: relative;
    z-index: 2;
}

.vl-blog-1-section-box h2 {
    color: #ffffff;
    font-size: 36px;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #FF4308 50%, #FEFE1F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Blog Card Styles */
.vl-blog-1-item {
    background: linear-gradient(135deg, rgba(30, 20, 20, 0.9) 0%, rgba(20, 15, 15, 0.9) 100%);
    border: 1px solid rgba(255, 67, 8, 0.2);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.vl-blog-1-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(255, 67, 8, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.vl-blog-1-item:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 67, 8, 0.5);
    box-shadow: 0 20px 40px rgba(255, 67, 8, 0.2);
    background: linear-gradient(135deg, rgba(40, 25, 20, 0.95) 0%, rgba(25, 18, 15, 0.95) 100%);
}

.vl-blog-1-item:hover::before {
    opacity: 1;
}

.vl-blog-1-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 0;
}

.vl-blog-1-thumb img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.vl-blog-1-item:hover .vl-blog-1-thumb img {
    transform: scale(1.1);
}

.vl-blog-1-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.vl-blog-meta ul {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.vl-blog-meta li a {
    color: #999;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.vl-blog-meta li a:hover {
    color: #FF4308;
}

.vl-blog-meta li a img {
    width: 14px;
    height: 14px;
    opacity: 0.7;
}

.vl-blog-1-title {
    margin-top: auto;
}

.vl-blog-1-title a {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    transition: all 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vl-blog-1-title a:hover {
    color: #FF4308;
}

.vl-blog-1-icon a {
    color: #FF4308;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.vl-blog-1-icon a:hover {
    color: #FEFE1F;
    gap: 12px;
}

.vl-blog-1-icon a i {
    transition: transform 0.3s ease;
}

.vl-blog-1-icon a:hover i {
    transform: translateX(4px);
}

/* Pagination */
.pagination-area {
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    gap: 8px;
}

.page-link {
    background: rgba(255, 67, 8, 0.1);
    border: 1px solid rgba(255, 67, 8, 0.3);
    color: #ffffff;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-link:hover,
.page-link.active {
    background: linear-gradient(135deg, #FF4308 0%, #FB8500 100%);
    border-color: #FF4308;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Blog Details Section - Orange Red Gradient */
.blog-details-section-area {
    background: linear-gradient(135deg, #0a0a0a 0%, #120505 20%, #180808 40%, #120505 60%, #0a0a0a 100%) !important;
    position: relative;
    overflow: hidden;
}

.blog-details-section-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top left, rgba(255, 67, 8, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.blog-details-section-area::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 60%;
    background: radial-gradient(ellipse at bottom right, rgba(251, 133, 0, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.blog-details-section-area .container {
    position: relative;
    z-index: 2;
}

/* Blog Details Sidebar */
.blog-details-side {
    background: rgba(30, 30, 30, 0.6);
    border: 1px solid rgba(255, 67, 8, 0.2);
    border-radius: 16px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.blog-details-side h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 0;
}

.search-area form {
    position: relative;
    display: flex;
}

.search-area input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 67, 8, 0.3);
    border-radius: 8px;
    padding: 12px 50px 12px 16px;
    color: #ffffff;
    font-size: 14px;
}

.search-area input:focus {
    outline: none;
    border-color: #FF4308;
    background: rgba(255, 255, 255, 0.08);
}

.search-area button {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #FF4308 0%, #FB8500 100%);
    border: none;
    border-radius: 6px;
    width: 40px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-area button:hover {
    transform: translateY(-50%) scale(1.05);
}

.category-area ul li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 67, 8, 0.05);
    border-radius: 8px;
    color: #cccccc;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.category-area ul li a:hover {
    background: rgba(255, 67, 8, 0.15);
    border-color: rgba(255, 67, 8, 0.3);
    color: #FF4308;
    transform: translateX(4px);
}

.recent-posts .content-area a {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.recent-posts .content-area a:hover {
    color: #FF4308;
}

.recent-posts .readmore {
    color: #FF4308;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.recent-posts .readmore:hover {
    color: #FEFE1F;
}

.blog-category2 ul {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.blog-category2 ul li a {
    padding: 8px 16px;
    background: rgba(255, 67, 8, 0.1);
    border: 1px solid rgba(255, 67, 8, 0.3);
    border-radius: 20px;
    color: #FF4308;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.blog-category2 ul li a:hover {
    background: linear-gradient(135deg, #FF4308 0%, #FB8500 100%);
    color: #ffffff;
    border-color: #FF4308;
}

/* Blog Single Content */
.blog-others-sidebar {
    background: linear-gradient(135deg, rgba(25, 20, 18, 0.6) 0%, rgba(18, 15, 13, 0.6) 100%);
    border: 1px solid rgba(255, 67, 8, 0.15);
    border-radius: 16px;
    padding: 40px;
    backdrop-filter: blur(10px);
    position: relative;
}

.blog-others-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle at top right, rgba(255, 67, 8, 0.08) 0%, transparent 60%);
    pointer-events: none;
    border-radius: 0 16px 0 0;
}

.blog-others-sidebar h2 {
    color: #ffffff;
    font-size: 32px;
    font-weight: 900;
    line-height: 1.3;
}

.blog-others-sidebar h3 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    margin-top: 20px;
}

.blog-others-sidebar p {
    color: #cccccc;
    line-height: 1.8;
}

.list-author {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.list-author li a {
    color: #999;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.list-author li a:hover {
    color: #FF4308;
}

.tags-social {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(255, 67, 8, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 67, 8, 0.2);
    flex-wrap: wrap;
    gap: 20px;
}

.tags ul,
.social ul {
    display: flex;
    gap: 10px;
    align-items: center;
}

.tags ul li:first-child,
.social ul li:first-child {
    color: #999;
    font-weight: 600;
    margin-right: 5px;
}

.tags ul li a {
    padding: 6px 14px;
    background: rgba(255, 67, 8, 0.1);
    border: 1px solid rgba(255, 67, 8, 0.3);
    border-radius: 16px;
    color: #FF4308;
    font-size: 13px;
    transition: all 0.3s ease;
}

.tags ul li a:hover {
    background: #FF4308;
    color: #ffffff;
}

.social ul li a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 67, 8, 0.1);
    border: 1px solid rgba(255, 67, 8, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF4308;
    transition: all 0.3s ease;
}

.social ul li a:hover {
    background: linear-gradient(135deg, #FF4308 0%, #FB8500 100%);
    color: #ffffff;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 991px) {
    .hero-header-area h1 {
        font-size: 36px;
    }

    .vl-blog-1-section-box h2 {
        font-size: 28px;
    }

    .blog-details-side {
        margin-top: 40px;
    }
}

@media (max-width: 767px) {
    .hero-header-area h1 {
        font-size: 28px;
    }

    .vl-blog-1-section-box h2 {
        font-size: 24px;
    }

    .tags-social {
        flex-direction: column;
        align-items: flex-start;
    }
}
