/* Blog Details Page Styles */

/* Hero Section */
.blog-hero-section {
    padding: 80px 0;
    background: #ffffff;
}

.blog-hero-container {
    margin: 0 50px;
    padding: 0 20px;
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

/* Left Content */
.blog-hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.blog-category {
    font-size: 16px;
    font-style: normal;
    font-weight: 100;
    line-height: normal;
    display: flex;
    padding: 16px 30px;
    width: fit-content;
    align-items: center;
    gap: 4px;
    border-radius: 100px;
    background: var(--Sanad-Secondary, #A8AC90);
    color: white;
    margin-bottom: 20px;
}

.blog-title {
    color: var(--black, #000);
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 16px;
    color: #666;
}

.blog-author {
    font-weight: 400;
}

.blog-date {
    font-weight: 100;
}

.blog-intro {
    font-size: 18px;
    font-weight: 100;
    line-height: 1.6;
    color: #333;
    max-width: 600px;
}

.blog-intro p {
    margin: 0;
}

.blog-subsections {
    display: flex;
    flex-direction: column;
}

.subsection-title {
    font-size: 24px;
    font-weight: 100;
    color: var(--Sanad-Primary, black);
    margin: 0;
}

.subsection-content {
    font-size: 16px;
    font-weight: 100;
    line-height: 1.6;
    color: #333;
    margin: 8px 0 0 0;
    max-width: 600px;
}

/* Right Image */
.blog-hero-image {
    flex: 0 0 50%;
    position: relative;
}

.hero-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 100px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .blog-hero-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .blog-hero-content {
        max-width: 100%;
    }
    
    .blog-hero-image {
        flex: 1;
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .hero-img {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .blog-hero-section {
        padding: 60px 0;
    }
    
    .blog-title {
        font-size: 36px;
    }
    
    .blog-hero-container {
        padding: 0 15px;
    }
    
    .blog-hero-image {
        max-width: 100%;
    }
    
    .hero-img {
        height: 300px;
        border-radius: 20px;
    }
    
    .blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .blog-title {
        font-size: 28px;
    }
    
    .blog-category {
        font-size: 16px;
    }
    
    .blog-intro {
        font-size: 16px;
    }
    
    .subsection-title {
        font-size: 20px;
    }
    
    .subsection-content {
        font-size: 14px;
    }
    
    .hero-img {
        height: 250px;
        border-radius: 15px;
    }
}

/* Second Section */
.blog-second-section {
    padding: 80px 0;
    background: #ffffff;
}

.blog-second-container {
    margin: 0 50px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.blog-second-title {
    color: var(--black, #000);
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
}

.blog-second-description {
    color: var(--black, #000);
    font-size: 18px;
    font-style: normal;
    font-weight: 100;
    line-height: 1.6;
    margin: 0;
    max-width: 100%;
}

.blog-quote-section {
    background: var(--Sanad-Secondary, #A8AC90);
    padding: 32px;
    border-radius: 100px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.blog-quote-text {
    color: white;
    font-size: 24px;
    font-style: normal;
    font-weight: 100;
    line-height: 1.5;
    margin: 0;
    max-width: 900px;
    margin: 0 auto;
}

/* Third Section */
.blog-third-section {
    padding: 80px 0;
    background: #ffffff;
}

.blog-third-container {
    margin: 0 50px;
    padding: 0 20px;
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

/* Left Image */
.blog-third-image {
    flex: 0 0 50%;
    position: relative;
}

.third-section-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 99px;
    background: url(photo_2026-04-04_14-33-50.jpg) lightgray 50% / cover no-repeat;
}

/* Right Content List */
.blog-third-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.content-item {
    display: flex;
    flex-direction: column;
}

.content-title {
    color: var(--black, #000);
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 0;
}

.content-description {
    color: var(--black, #000);
    font-size: 20px;
    font-style: normal;
    font-weight: 100;
    line-height: normal;
    margin: 0;
}

/* Final Section */
.blog-final-section {
    padding: 80px 0;
    background: #ffffff;
}

.blog-final-container {
    margin: 0 50px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.blog-final-title {
    color: var(--black, #000);
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 0;
}

.blog-final-description {
    color: var(--black, #000);
    font-size: 20px;
    font-style: normal;
    font-weight: 100;
    line-height: 1.6;
    margin: 0;
    max-width: 100%;
}

/* Mobile Image (hidden by default) */
.blog-hero-mobile-image {
    display: none;
    width: 100%;
    margin: 20px 0;
}

.mobile-hero-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Animation and Transitions */
.blog-hero-content {
    animation: fadeInLeft 0.8s ease-out;
}

.blog-hero-image {
    animation: fadeInRight 0.8s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design for Blog Details */
@media (max-width: 768px) {
    /* Show mobile image, hide desktop image */
    .blog-hero-image {
        display: none;
    }
    
    .blog-hero-mobile-image {
        display: block;
    }
    
    /* Adjust layout for mobile */
    .blog-hero-container {
        flex-direction: column;
        gap: 0;
        margin: 0 20px;
        padding: 0 15px;
    }
    
    .blog-hero-content {
        flex: 1;
        width: 100%;
    }
    
    /* Adjust typography for mobile */
    .blog-title {
        font-size: 28px;
        line-height: 1.3;
        text-align: center;
    }
    
    .blog-category {
        font-size: 14px;
        margin-bottom: 12px;
        text-align: center;
        display: flex;
        align-self: center;
    }
    
    .blog-meta {
        font-size: 12px;
        gap: 10px;
        justify-content: space-around;
        display: flex;
        align-items: center;
        flex-direction: row;
    }
    
    .blog-intro {
        font-size: 16px;
    }
    
    .subsection-title {
        font-size: 20px;
    }
    
    .subsection-content {
        font-size: 14px;
    }
    
    /* Adjust mobile image */
    .mobile-hero-img {
        height: 250px;
        border-radius: 20px;
    }
    
    /* Adjust other sections */
    .blog-second-container,
    .blog-third-container,
    .blog-final-container {
        margin: 0 20px;
        padding: 0 15px;
    }
    
    .blog-second-title,
    .blog-final-title {
        font-size: 24px;
    }
    
    .blog-second-description,
    .blog-final-description {
        font-size: 16px;
    }
    
    .blog-quote-section {
        padding: 40px 25px;
        border-radius: 50px;
    }
    
    .blog-quote-text {
        font-size: 18px;
    }
    
    /* Third section adjustments */
    .blog-third-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .blog-third-image {
        flex: 1;
        width: 100%;
    }
    
    .third-section-img {
        height: 300px;
        border-radius: 50px;
    }
    
    .blog-third-content {
        flex: 1;
    }
    
    .content-title {
        font-size: 20px;
    }
    
    .content-description {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    /* Further adjustments for smaller screens */
    .blog-hero-section {
        padding: 40px 0;
    }
    
    .blog-hero-container {
        margin: 0 15px;
        padding: 0 10px;
    }
    
    .blog-title {
        font-size: 24px;
        line-height: 1.2;
        text-align: center;
    }
    
    .blog-category {
        font-size: 12px;
        padding: 12px 20px;
        text-align: center;
        display: flex;
        justify-content: center;
    }
    
    .blog-meta {
        font-size: 12px;
        gap: 10px;
        justify-content: center;
        display: flex;
        align-items: center;
    }
    
    .blog-intro {
        font-size: 15px;
    }
    
    .subsection-title {
        font-size: 18px;
    }
    
    .subsection-content {
        font-size: 13px;
    }
    
    .mobile-hero-img {
        height: 200px;
        border-radius: 15px;
    }
    
    .blog-second-section,
    .blog-third-section,
    .blog-final-section {
        padding: 40px 0;
    }
    
    .blog-second-container,
    .blog-third-container,
    .blog-final-container {
        margin: 0 15px;
        padding: 0 10px;
    }
    
    .blog-second-title,
    .blog-final-title {
        font-size: 20px;
    }
    
    .blog-second-description,
    .blog-final-description {
        font-size: 15px;
    }
    
    .blog-quote-section {
        padding: 30px 20px;
        border-radius: 30px;
    }
    
    .blog-quote-text {
        font-size: 16px;
    }
    
    .third-section-img {
        height: 250px;
        border-radius: 30px;
    }
    
    .content-title {
        font-size: 18px;
    }
    
    .content-description {
        font-size: 15px;
    }
}

/* Hover Effects */
.hero-img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-img:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.subsection-title {
    transition: color 0.3s ease;
}
