/* Blog Dark Section */
.blog-one--dark {
    padding: 120px 0;
    background-color: var(--smartmove-color-theme-blue); /* Your Blacky Gray Shade */
}

.blog-one__single {
    position: relative;
    background: var(--smartmove-color-theme-blue2); /* Slightly lighter gray for the card itself */
    border-radius: 20px;
    overflow: hidden;
    transition: all 400ms ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
}

/* IMAGE FIX: This ensures all images are identical in size */
.blog-one__img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2; /* Forces a landscape 3:2 ratio */
    overflow: hidden;
}

.blog-one__img {
    width: 100%;
    height: 100%;
}

.blog-one__img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover; /* Crops the image to fill the space perfectly */
    transition: transform 500ms ease;
}

.blog-one__single:hover {
    transform: translateY(-10px);
    border-color: var(--smartmove-color-theme-gold);
}

.blog-one__single:hover .blog-one__img img {
    transform: scale(1.1);
}

/* Date & Content Styling */
.blog-one__date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--smartmove-color-theme-blue);
    color: #fff;
    width: 55px;
    height: 55px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    z-index: 2;
}

.blog-one__content {
    padding: 25px;
}

.blog-one__meta li {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    display: inline-block;
    margin-right: 15px;
}

.blog-one__meta li i {
    color: var(--smartmove-color-theme-gold);
}

.blog-one__title {
    margin-top: 10px;
    margin-bottom: 20px;
}

.blog-one__title a {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    font-family: var(--smartmove-font-two);
    line-height: 1.4;
    transition: 0.3s;
}

.blog-one__title a:hover {
    color: var(--smartmove-base);
}

.blog-one__btn a {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-one__btn span {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 10px;
    transition: 0.3s;
}

.blog-one__btn a:hover span {
    background: var(--smartmove-base);
    transform: rotate(45deg);
}



/* Blog Page  */
/* --- Single Blog Styling --- */
.single-blog-title {
    font-weight: 800;
    color: white;
    line-height: 1.2;
}

.single-blog-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: white;
}

/* --- Related Posts Cards --- */
.related-card {
    background: var(--smartmove-color-theme-blue);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #eee;
}

.related-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.related-img-container {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.related-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This prevents "squashed" images */
    transition: transform 0.5s ease;
}

.related-card:hover .related-img {
    transform: scale(1.1);
}

.related-card-body {
    padding: 15px;
}

.related-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limits title to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-date {
    font-size: 0.85rem;
    color: #888;
}

/* --- Animation Classes (for JS) --- */
.animate-fade {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Navigation Buttons --- */
.single-blog-nav a {
    padding: 10px 20px;
    background: #f8f9fa;
    border-radius: 50px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid #ddd;
    transition: 0.3s;
}

.single-blog-nav a:hover {
    background: #333;
    color: #fff;
}




/* Main Page  */
/* Container Background */
.blogs-section {
    background-color: var(--smartmove-color-theme-blue2);
}

/* Main Card */
.blog-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Image Handling */
.blog-img-wrapper {
    position: relative;
    width: 100%;
    height: 240px; /* Forces all images to same height */
    overflow: hidden;
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Crops image to fill space without stretching */
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-img {
    transform: scale(1.1);
}

/* Date Badge Overlay */
.blog-date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--smartmove-color-theme-blue);
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 2;
}

/* Card Body */
.blog-card-body {
    padding: 25px;
    text-align: left;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background-color: var(--smartmove-color-theme-blue);
    color: #fff;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-title a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-title a:hover {
    color: var(--smartmove-color-theme-gold); /* Replace with your primary color */
}

.blog-excerpt {
    font-size: 0.95rem;
    color: white;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Read More Link */
.read-more-link {
    margin-top: auto;
    font-weight: 700;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    transition: gap 0.3s;
}

.read-more-link i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.read-more-link:hover {
    color: var(--smartmove-color-theme-gold);
}

.read-more-link:hover i {
    transform: translateX(5px);
}