/*-------------------------------------------------------------
@Author: ThemeMascot
Custom Styles - DO NOT modify style-main.css directly
--------------------------------------------------------------*/

/* Blog Card Base Styles */
.blog {
    margin-top: 10px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(29, 28, 28, 0.1);
}

.blog__thumb img {
    width: 100%;
    height: 210px;
    display: block;
    border-bottom: 1px solid #eee;
}

/* Blog Content Layout */
.blog__content {
    border: 1px solid #e7dfdf;
    padding: 20px;
    text-align: justify;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    height: 319px;
}

/* Title */
.blog__content__title {
    font-size: 16px;
    margin-bottom: -3px;
}

.blog__content__title a {
    color: #050505;
    text-decoration: none;
    transition: color 0.3s;
}

.blog__content__title a:hover {
    background: #cec5c5 !important;
}

/* Blog Text and Button Alignment */
.blog-text {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: -13px;
}

/* "Read More" Button Styling */
.read-more {
    margin-top: auto;
    margin-bottom: 0;
}

.read-more a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #F2184F;
    color: #fff;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.read-more a i {
    font-size: 14px;
}

.read-more a:hover {
    background-color: #c7153d;
    text-decoration: none;
}

/* Calendar Style */
.blog-meta {
    font-size: 17px;
    margin-top: -16px;
}

.blog-meta span,
.blog-meta i {
    color: #F2184F;
    font-size: 14px;
    margin-right: 5px;
}

/* Global Icon Color */
.blog-content i,
.blog-meta i {
    color: #F2184F;
    font-size: 18px;
}

/* Typography */
h3 {
    font-size: 28px;
    margin-bottom: 25px;
    color: #1a237e;
    font-weight: 600;
}

h5 {
    font-size: 20px;
    color: #0d47a1;
    margin-top: 25px;
    font-weight: 500;
}

/* Text Content */
.blog-text p,
.blog-content p {
    font-size: 15px;
    color: #555;
    margin-bottom: 15px;
    margin-top: 10px;
    text-align: justify;
}

/* Blog Lists */
.blog-content ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}



.blog-content ul li {
    text-align: justify;
    margin-bottom: 10px;
    color: #555;
}

/* Images */
.img-blog {
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.img-blog img {
    width: 100%;
    height: 350px;
    border: 1px solid rgb(199, 197, 197);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.img-blog img:hover {
    transform: scale(1.03);
}

/* Calendar Pink Class */
.calendar-pink {
    color: #F2184F;
    font-weight: 500;
}

.calendar-pink a {
    color: #F2184F;
    text-decoration: none;
}

.calendar-pink a:hover {
    text-decoration: underline;
}

/* Force Columns Same Height */
.col-md-4 {
    display: flex;
    flex-direction: column;
}

/* Responsive Fixes */
@media (max-width: 768px) {
    h3 {
        font-size: 24px;
    }

    h5 {
        font-size: 18px;
    }

    .blog-content {
        padding: 10px;
    }

    .read-more a {
        padding: 5px 12px;
        font-size: 14px;
    }
}