/* Blog Card Equal Image Sizes */
.blog-card__image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card__image img:hover {
    transform: scale(1.05);
}

/* Blog Card Date Badge */
.blog-card__date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #e21c1c;
    color: #ffffff;
    padding: 8px 15px;
    text-align: center;
    border-radius: 4px;
    z-index: 2;
}

.blog-card__date__day {
    display: block;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.blog-card__date__month {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Blog Card Content */
.blog-card__content {
    padding: 20px;
    background: #1a1a1a;
}

.blog-card__title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card__title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card__title a:hover {
    color: #e21c1c;
}

.blog-card__excerpt {
    color: #cccccc;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    color: #e21c1c;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #ffffff;
}

/* Equal Height Cards */
.blog-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.blog-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card__excerpt {
    flex: 1;
}

/* Responsive */
@media (max-width: 991px) {
    .blog-card__image {
        height: 200px;
    }
}

@media (max-width: 767px) {
    .blog-card__image {
        height: 180px;
    }
    
    .blog-card__title {
        font-size: 16px;
    }
}

/* ===== SIDEBAR STYLES ===== */

/* Sidebar Widget */
.sidebar-widget {
    background: #1a1a1a;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid #2a2a2a;
}

.sidebar-title {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e21c1c;
}

.sidebar-title h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Search Box */
.search-box .form-group {
    position: relative;
    margin: 0;
}

.search-box input {
    width: 100%;
    padding: 12px 50px 12px 15px;
    border: 1px solid #2a2a2a;
    border-radius: 4px;
    background: #0d0d0d;
    color: #ffffff;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: #e21c1c;
}

.search-box input::placeholder {
    color: #666666;
}

.search-box button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    padding: 0 15px;
    background: #e21c1c;
    border: none;
    border-radius: 0 4px 4px 0;
    color: #ffffff;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-box button:hover {
    background: #c41818;
}

/* Category & Service Lists */
.category-list,
.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li,
.service-list li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #2a2a2a;
}

.category-list li:last-child,
.service-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.category-list li a,
.service-list li a {
    color: #cccccc;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: block;
}

.category-list li a i,
.service-list li a i {
    color: #e21c1c;
    margin-right: 8px;
    font-size: 12px;
}

.category-list li a:hover,
.service-list li a:hover {
    color: #ffffff;
    padding-left: 5px;
}

/* Recent Posts */
.recent-post {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #2a2a2a;
}

.recent-post:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.recent-post__image {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
}

.recent-post__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post__content {
    flex: 1;
}

.recent-post__content h5 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 5px 0;
    line-height: 1.4;
}

.recent-post__content h5 a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.recent-post__content h5 a:hover {
    color: #e21c1c;
}

.recent-post__date {
    color: #888888;
    font-size: 12px;
}

.recent-post__date i {
    color: #e21c1c;
    margin-right: 5px;
}

/* CTA Widget */
.cta-widget {
    background: linear-gradient(135deg, #e21c1c 0%, #a01515 100%);
    border: none;
    text-align: center;
}

.cta-content h4 {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin-bottom: 20px;
}

.cta-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #ffffff;
    color: #e21c1c;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.cta-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.cta-phone {
    color: #ffffff;
    font-size: 16px;
}

.cta-phone i {
    margin-right: 8px;
}

/* Tags List */
.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tags-list a {
    display: inline-block;
    padding: 6px 14px;
    background: #0d0d0d;
    color: #cccccc;
    font-size: 12px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #2a2a2a;
}

.tags-list a:hover {
    background: #e21c1c;
    color: #ffffff;
    border-color: #e21c1c;
}

/* Responsive Sidebar */
@media (max-width: 991px) {
    .sidebar-widget {
        padding: 20px;
    }
}

/* ===== BLOG DETAILS - H2 HEADINGS SIZE REDUCTION ===== */

/* Blog Details Page H2 Headings */
.blog-full-content h2 {
    font-size: 22px !important;
    color: #ffffff;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.4;
}

/* Blog Summary Box H2 Headings */
.blog-summary-box h2 {
    font-size: 24px !important;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 700;
}

/* Blog Summary Box H3 Headings */
.blog-summary-box h3 {
    font-size: 18px !important;
    color: #ffffff;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

/* Responsive - Mobile Devices */
@media (max-width: 767px) {
    .blog-full-content h2 {
        font-size: 18px !important;
    }
    
    .blog-summary-box h2 {
        font-size: 20px !important;
    }
    
    .blog-summary-box h3 {
        font-size: 16px !important;
    }
}

/* Optional: If you want even smaller H2 headings */
.blog-full-content h2 {
    font-size: 20px !important;
    /* Alternative smaller size */
}

/* For all H2 headings in blog area */
.about-section-three .blog-full-content h2,
.about-section-three .blog-summary-box h2 {
    font-size: 22px !important;
}