/* Blog Page Specific Styles */
.blog-page {
    background-color: #f8f4f3;
    padding: 40px 0;
    min-height: 100vh;
}

/* Digital Marketing Banner */
.digital-marketing-banner {
    background: linear-gradient(90deg, #000000 0%, #1a1a1a 60%, #8B0000 100%);
    padding: 20px 0;
    margin-bottom: 40px;
}

.banner-title {
    color: #FFC107;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
}

.banner-subtitle {
    font-size: 16px;
    font-weight: 500;
}

.banner-list {
    list-style: none;
    padding: 0;
    color: white;
    font-size: 14px;
}

.banner-list li:before {
    content: "• ";
    color: white;
    margin-right: 5px;
}

.banner-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.price-label {
    color: white;
    font-size: 12px;
    text-transform: uppercase;
}

.price-amount {
    color: #FFC107;
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
}

/* Blog Header */
.blog-header {
    margin-bottom: 30px;
}

.blog-count {
    font-size: 20px;
    color: #212529;
    font-weight: 600;
}

.count-number {
    color: #f84525;
    font-weight: 700;
}

/* Blog Card - Grid Style */
.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100% !important;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.blog-card-grid .blog-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.blog-card-grid .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 30px 20px 20px;
}

.blog-title-overlay {
    color: white;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.blog-card-grid .blog-content {
    padding: 20px;
}

/* Blog Card - Horizontal Style */
.blog-card-horizontal {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card-horizontal:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.blog-card-horizontal .blog-image {
    height: 100%;
    min-height: 300px;
}

.blog-card-horizontal .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-horizontal .blog-content {
    padding: 40px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-card-horizontal .blog-title {
    font-size: 24px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 15px;
    line-height: 1.4;
}

/* Blog Meta */
.blog-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.blog-date {
    color: #6c757d;
    font-size: 14px;
}

.blog-category {
    background-color: #f84525;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

/* Blog Content */
.blog-excerpt {
    color: #495057;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.blog-read-more {
    color: #f84525;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.blog-read-more:hover {
    gap: 12px;
    color: #d63619;
}

/* Apply Now Button */
.btn-apply-now {
    background-color: #f84525;
    color: white;
    padding: 14px 50px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-apply-now:hover {
    background-color: #d63619;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(248, 69, 37, 0.3);
}

/* Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-search {
    margin-bottom: 20px;
}

.sidebar-search .form-control {
    border: 1px solid #dee2e6;
    border-radius: 8px 0 0 8px;
    padding: 12px 16px;
    font-size: 14px;
}

.sidebar-search .form-control:focus {
    border-color: #f84525;
    box-shadow: none;
}

.btn-search {
    background-color: white;
    border: 1px solid #dee2e6;
    border-left: none;
    border-radius: 0 8px 8px 0;
    color: #6c757d;
    padding: 12px 20px;
}

.btn-search:hover {
    background-color: #f8f9fa;
    color: #f84525;
}

.sidebar-filter .form-select {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    color: #6c757d;
}

.sidebar-filter .form-select:focus {
    border-color: #f84525;
    box-shadow: none;
}

/* Sidebar Ad Banner */
.sidebar-ad-banner {
    background: linear-gradient(180deg, #000000 0%, #1a1a1a 50%, #8B0000 100%);
    border-radius: 12px;
    padding: 30px 20px;
    color: white;
    text-align: center;
}

.ad-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ad-title {
    color: #FFC107;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
}

.ad-subtitle {
    font-size: 14px;
    font-weight: 500;
}

.ad-features {
    border-top: 1px solid rgba(255,255,255,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding: 15px 0;
}

.ad-feature {
    font-size: 13px;
    color: white;
    display: block;
}

.ad-price-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ad-price-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ad-price-main {
    color: #FFC107;
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    margin: 10px 0;
}

/* Responsive Design */
@media (max-width: 991px) {
    .blog-card-horizontal .blog-image {
        min-height: 250px;
    }

    .blog-card-horizontal .blog-content {
        padding: 30px 20px;
    }

    .blog-sidebar {
        margin-top: 40px;
        position: static;
    }

    .banner-title {
        font-size: 24px;
    }

    .price-amount {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .blog-card-horizontal .blog-title {
        font-size: 20px;
    }

    .blog-title-overlay {
        font-size: 18px;
    }

    .digital-marketing-banner {
        text-align: center;
    }

    .banner-price {
        align-items: center;
        margin-top: 15px;
    }
}
