/* Blog Page Specific Styles */

.blog-header {
    background: linear-gradient(90deg, rgba(106, 17, 203, 0.1), rgba(37, 117, 252, 0.1));
    padding: 100px 0 50px;
    position: relative;
    overflow: hidden;
}

.blog-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/images/pattern.png');
    opacity: 0.05;
    z-index: 0;
}

.blog-header .container {
    position: relative;
    z-index: 1;
}

/* Blog Layout */
.blog-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* Blog Cards */
.blog-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    background-color: #fff;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.blog-img {
    position: relative;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.blog-card:hover .blog-img img {
    transform: scale(1.1);
}

.blog-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(37, 117, 252, 0.3);
    z-index: 1;
}

.blog-date .day {
    font-size: 1.5rem;
    line-height: 1;
}

.blog-date .month {
    font-size: 0.8rem;
    opacity: 0.9;
}

.blog-category {
    margin-bottom: 10px;
}

.blog-category .badge {
    font-size: 0.7rem;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 20px;
}

.blog-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
}

.blog-title a {
    color: #1e293b;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-title a:hover {
    color: #2575fc;
}

.blog-excerpt {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 15px;
    line-height: 1.6;
}

.blog-meta {
    border-top: 1px solid #f1f5f9;
    padding-top: 15px;
}

.blog-author {
    display: flex;
    align-items: center;
}

.blog-author img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.blog-author span {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

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

.sidebar-widget {
    background-color: #fff;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.widget-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
    color: #1e293b;
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #6a11cb, #2575fc);
}

/* Search Widget */
.search-form {
    position: relative;
}

.search-form input {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.search-form input:focus {
    border-color: #2575fc;
    box-shadow: 0 0 0 3px rgba(37, 117, 252, 0.1);
    outline: none;
}

.search-form button {
    position: absolute;
    right: 5px;
    top: 5px;
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-form button:hover {
    transform: scale(1.05);
}

/* Categories Widget */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 10px;
}

.category-list li:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.category-list a {
    color: #64748b;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.category-list a:hover {
    color: #2575fc;
}

.category-list .count {
    background-color: #f1f5f9;
    color: #64748b;
    border-radius: 20px;
    padding: 2px 8px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.category-list a:hover .count {
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    color: #fff;
}

/* Recent Posts Widget */
.recent-post {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f5f9;
}

.recent-post:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-post-img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
}

.recent-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-info h6 {
    font-size: 0.9rem;
    margin-bottom: 5px;
    line-height: 1.4;
}

.recent-post-info h6 a {
    color: #1e293b;
    text-decoration: none;
    transition: all 0.3s ease;
}

.recent-post-info h6 a:hover {
    color: #2575fc;
}

.recent-post-info span {
    font-size: 0.8rem;
    color: #64748b;
}

/* Tags Widget */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-cloud a {
    display: inline-block;
    padding: 5px 15px;
    background-color: #f1f5f9;
    color: #64748b;
    border-radius: 20px;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag-cloud a:hover {
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    color: #fff;
    transform: translateY(-3px);
}

/* Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.page-item {
    margin: 0 5px;
}

.page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: none;
    background-color: #f1f5f9;
    color: #64748b;
    font-weight: 500;
    transition: all 0.3s ease;
}

.page-link:hover {
    background-color: #e2e8f0;
    color: #1e293b;
}

.page-item.active .page-link {
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    color: #fff;
    box-shadow: 0 5px 15px rgba(37, 117, 252, 0.3);
}

.page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Blog Detail */
.blog-detail {
    padding: 80px 0;
}

.blog-detail-img {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.blog-detail-img img {
    width: 100%;
    height: auto;
}

.blog-detail-header {
    margin-bottom: 30px;
}

.blog-detail-header .blog-category {
    margin-bottom: 15px;
}

.blog-detail-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1e293b;
    line-height: 1.3;
}

.blog-detail-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.blog-detail-meta-item {
    display: flex;
    align-items: center;
    color: #64748b;
    font-size: 0.9rem;
}

.blog-detail-meta-item i {
    margin-right: 8px;
    color: #2575fc;
}

.blog-detail-content {
    margin-bottom: 40px;
}

.blog-detail-content p {
    margin-bottom: 20px;
    color: #64748b;
    line-height: 1.8;
}

.blog-detail-content h2, 
.blog-detail-content h3, 
.blog-detail-content h4 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: #1e293b;
}

.blog-detail-content ul, 
.blog-detail-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.blog-detail-content ul li, 
.blog-detail-content ol li {
    margin-bottom: 10px;
    color: #64748b;
}

.blog-detail-content blockquote {
    padding: 20px;
    background-color: #f8fafc;
    border-left: 4px solid #2575fc;
    margin: 30px 0;
    font-style: italic;
    color: #1e293b;
}

.blog-detail-content img {
    max-width: 100%;
    border-radius: 10px;
    margin: 30px 0;
}

/* Blog Author */
.blog-author-box {
    display: flex;
    background-color: #f8fafc;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
}

.blog-author-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
    flex-shrink: 0;
}

.blog-author-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-author-info h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #1e293b;
}

.blog-author-info p {
    color: #64748b;
    margin-bottom: 15px;
    line-height: 1.7;
}

.blog-author-social {
    display: flex;
    gap: 10px;
}

.blog-author-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: #fff;
    color: #2575fc;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.blog-author-social a:hover {
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    color: #fff;
    transform: translateY(-3px);
}

/* Comments */
.blog-comments {
    margin-bottom: 40px;
}

.blog-comments h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #1e293b;
}

.comment {
    display: flex;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e2e8f0;
}

.comment:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.comment-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
    flex-shrink: 0;
}

.comment-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-body h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #1e293b;
}

.comment-date {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 10px;
}

.comment-text {
    color: #64748b;
    margin-bottom: 10px;
    line-height: 1.7;
}

.comment-reply {
    color: #2575fc;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.comment-reply:hover {
    color: #6a11cb;
}

.comment-reply i {
    margin-right: 5px;
}

.comment-form {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.comment-form h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #1e293b;
}

/* Animation for blog items */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .blog-header {
        padding: 80px 0 40px;
    }
    
    .blog-container {
        grid-template-columns: 1fr;
    }
    
    .blog-sidebar {
        position: static;
        margin-top: 40px;
    }
    
    .blog-detail-header h1 {
        font-size: 2rem;
    }
    
    .blog-author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .blog-author-img {
        margin-right: 0;
        margin-bottom: 20px;
    }
}

@media (max-width: 767.98px) {
    .blog-header {
        padding: 60px 0 30px;
    }
    
    .blog-detail-header h1 {
        font-size: 1.8rem;
    }
    
    .blog-detail-meta {
        gap: 15px;
    }
    
    .comment {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .comment-img {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

/* Enhanced Blog Styling */

/* Animated Background Elements */
.animated-bg-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    z-index: 0;
    background: linear-gradient(45deg, #6a11cb, #2575fc);
    animation: float 15s infinite ease-in-out;
}

.element-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.element-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: 10%;
    animation-delay: 5s;
}

.element-3 {
    width: 150px;
    height: 150px;
    top: 20%;
    right: -50px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

/* Blog Header Search */
.blog-header-search {
    max-width: 500px;
    margin: 0 auto;
}

.blog-header-search .search-form {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Featured Post */
.featured-post-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    transition: all 0.4s ease;
}

.featured-post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.featured-post-img {
    position: relative;
    height: 100%;
}

.featured-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(90deg, #ff9a44, #fc6076);
    color: #fff;
    padding: 8px 15px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.8rem;
    box-shadow: 0 5px 15px rgba(252, 96, 118, 0.3);
}

.featured-post-content {
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-post-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.featured-post-title a {
    color: #1e293b;
    text-decoration: none;
    transition: all 0.3s ease;
}

.featured-post-title a:hover {
    color: #2575fc;
}

.featured-post-excerpt {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.7;
}

.featured-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: auto;
}

.blog-date-info, .blog-read-time {
    display: flex;
    align-items: center;
    color: #64748b;
    font-size: 0.85rem;
}

/* Blog Filter Tabs */
.blog-filter {
    position: relative;
    z-index: 1;
}

.blog-filter .nav-pills {
    background-color: #f8fafc;
    border-radius: 50px;
    padding: 5px;
    display: inline-flex;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.blog-filter .nav-link {
    color: #64748b;
    border-radius: 50px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}

.blog-filter .nav-link:hover {
    color: #1e293b;
}

.blog-filter .nav-link.active {
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    color: #fff;
    box-shadow: 0 5px 15px rgba(37, 117, 252, 0.3);
}

/* Newsletter Section */
.newsletter-section {
    position: relative;
    overflow: hidden;
}

.newsletter-container {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
    box-shadow: 0 15px 40px rgba(37, 117, 252, 0.3);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.newsletter-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/images/pattern.png');
    opacity: 0.05;
    z-index: -1;
}

.newsletter-container h2 {
    font-weight: 700;
}

.newsletter-form .form-control {
    border: none;
    padding: 12px 20px;
    border-radius: 50px 0 0 50px;
}

.newsletter-form .btn {
    border-radius: 0 50px 50px 0;
    padding-left: 25px;
    padding-right: 25px;
    background-color: #fff;
    color: #2575fc;
    font-weight: 600;
    border: none;
}

.newsletter-form .btn:hover {
    background-color: #f8fafc;
    color: #6a11cb;
}

.newsletter-form .form-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

/* Call to Action Section */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-content {
    background: linear-gradient(135deg, #2575fc, #6a11cb);
    color: white;
    box-shadow: 0 15px 40px rgba(37, 117, 252, 0.3);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/images/pattern.png');
    opacity: 0.05;
    z-index: -1;
}

.cta-content h2 {
    font-weight: 700;
}

.cta-content .btn-light {
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-content .btn-light:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Glassmorphism Effect for Cards */
.glassmorphism-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
}

/* 3D Card Effect */
.card-3d {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    transform-style: preserve-3d;
}

.card-3d:hover {
    transform: rotateY(5deg) rotateX(5deg);
    box-shadow: -20px 20px 30px rgba(0, 0, 0, 0.2);
}

/* Skeleton Loading Animation */
.skeleton-loading {
    position: relative;
    overflow: hidden;
    background-color: #e2e8f0;
    border-radius: 4px;
}

.skeleton-loading::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.2) 50%, 
        rgba(255, 255, 255, 0) 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

/* Tooltip Styling */
.custom-tooltip {
    position: relative;
    display: inline-block;
}

.custom-tooltip .tooltip-text {
    visibility: hidden;
    width: 120px;
    background-color: #1e293b;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.custom-tooltip .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #1e293b transparent transparent transparent;
}

.custom-tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Floating Labels for Form Fields */
.form-floating > .form-control,
.form-floating > .form-control-plaintext {
    padding: 1.625rem 0.75rem 0.625rem;
    height: calc(3.5rem + 2px);
}

.form-floating > label {
    padding: 1rem 0.75rem;
    color: #64748b;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #6a11cb, #2575fc);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #5a0cb0, #1565eb);
}

/* Mobile-specific enhancements */
@media (max-width: 767.98px) {
    .blog-filter .nav-pills {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        padding: 5px;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
    }
    
    .blog-filter .nav-pills::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    .blog-filter .nav-link {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .featured-post-content {
        padding: 25px;
    }
    
    .featured-post-title {
        font-size: 1.5rem;
    }
    
    .newsletter-form .input-group {
        flex-direction: column;
    }
    
    .newsletter-form .form-control,
    .newsletter-form .btn {
        border-radius: 50px;
        width: 100%;
        margin-bottom: 10px;
    }
    
    /* Touch-friendly adjustments */
    .blog-card, 
    .sidebar-widget,
    .tag-cloud a,
    .page-link {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Swipeable blog cards for mobile */
    .swipeable-cards {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 10px 0;
    }
    
    .swipeable-cards::-webkit-scrollbar {
        display: none;
    }
    
    .swipeable-cards .blog-card {
        flex: 0 0 85%;
        margin-right: 15px;
        scroll-snap-align: start;
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 991.98px) {
    .featured-post-content {
        padding: 30px;
    }
    
    .blog-filter .nav-link {
        padding: 10px 15px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .dark-mode-support {
        background-color: #1a202c;
        color: #e2e8f0;
    }
    
    .dark-mode-support .blog-card,
    .dark-mode-support .sidebar-widget {
        background-color: #2d3748;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }
    
    .dark-mode-support .blog-title a,
    .dark-mode-support .widget-title {
        color: #e2e8f0;
    }
    
    .dark-mode-support .blog-excerpt,
    .dark-mode-support .blog-meta span {
        color: #a0aec0;
    }
}

/* Print styles */
@media print {
    .blog-header,
    .blog-filter,
    .blog-sidebar,
    .newsletter-section,
    .cta-section,
    footer {
        display: none !important;
    }
    
    .blog-detail-content {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
    }
    
    .blog-detail-header h1 {
        font-size: 18pt;
        margin-bottom: 10pt;
    }
    
    a {
        text-decoration: none !important;
        color: #000 !important;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
        font-size: 10pt;
        color: #666;
    }
}




/* Gallery Specific Styles */
.gallery-item .card-img-wrapper {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(43, 76, 126, 0.8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .card-overlay {
    opacity: 1;
}

/* Filter Buttons */
.filter-buttons .btn {
    transition: all 0.3s ease;
    border-radius: 25px;
    padding: 8px 20px;
}

.filter-buttons .btn.active {
    background-color: var(--primary-color);
    color: white;
}

