:root {
    --primary-color: #ff4081;
    --secondary-color: #333;
}

.heading_class{
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1f2937;
}
.post_description{
    font-family: Arial, sans-serif; /* Normal font */
    font-size: 16px; /* Optional */
    white-space: pre-wrap; /* Preserve line breaks and wrap long lines */
    word-wrap: break-word; /* Ensure words wrap if they're too long */
    overflow-wrap: break-word; /* Fallback for older browsers */
}
.password-wrapper {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}
@media only screen and (max-width:767px) {
    .heading_class{
        font-size: 2rem;
    }
}
@media only screen and (max-width:400px) {
    .heading_class{
        font-size: 1.5rem;
    }
}
  
.featured-post {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
 }
  
.featured-post-img {
    height: 400px;
    object-fit: cover;
}
  
.featured-post-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    color: var(--white);
}

.view-all-link {
    text-decoration: none;
    color: #007bff;
    display: inline-flex;
    align-items: center;
}

.view-all-link i {
    margin-left: 5px;
    position: relative;
    animation: arrow-move 1s infinite alternate ease-in-out;
}



@media only screen and (max-width:1048px) {
    .heading_class{
        font-size: 2rem;
    }
}

@media only screen and (max-width:767px) {
    .heading_class{
        font-size: 1.5rem;
    }
}

.featured-post {
    transition: transform 0.3s;
    margin-bottom: 30px;
}

.featured-post:hover {
    transform: translateY(-5px);
}

.featured-post img {
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}

.category-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.post-meta {
    font-size: 0.9rem;
    color: #666;
}

.sidebar-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
}

.popular-posts img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
}

.social-links a {
    color: var(--secondary-color);
    margin-right: 15px;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary-color);
}
.footer {
    background: var(--secondary-color);
    color: white;
    padding: 50px 0 20px;
}

@media (max-width: 768px) {
    .hero-section {
        height: 400px;
    }
    .sidebar-section {
        margin-top: 30px;
    }
}
