/* Professional Hospital Placement Blog Styles */

/* CSS Variables */
:root {
    --primary-blue: #0056b3;
    --primary-blue-light: #e6f7ff;
    --primary-blue-dark: #004494;
    --secondary-teal: #00a0a0;
    --secondary-teal-light: #e6ffff;
    --accent-red: #dc3545;
    --accent-hover: #ff5252;
    --success: #28a745;
    --warning: #ffc107;
    --info: #17a2b8;
    
    --text-dark: #2d3748;
    --text-gray: #4a5568;
    --text-light: #718096;
    --text-muted: #a0aec0;
    
    --white: #ffffff;
    --gray-100: #f7fafc;
    --gray-200: #edf2f7;
    --gray-300: #e2e8f0;
    --gray-400: #cbd5e0;
    --gray-500: #a0aec0;
    
    --background-light: #f8f9fa;
    --background-alt: #f1f5f9;
    
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --border-radius-sm: 4px;
    
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
    --box-shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    --box-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    
    --transition: all 0.3s ease;
    --transition-fast: all 0.2s ease;
    --transition-slow: all 0.5s ease;
    
    --container-width: 1200px;
    --content-width: 800px;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Merriweather', Georgia, serif;
    
    /* Enhanced gradient colors */
    --gradient-blue: linear-gradient(135deg, #0056b3, #0088cc);
    --gradient-teal: linear-gradient(135deg, #00a0a0, #00c2c2);
    --gradient-primary: linear-gradient(135deg, #0056b3, #00a0a0);
    --gradient-accent: linear-gradient(135deg, #dc3545, #ff5252);
}

/* Base Styles */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Adjust based on your header height */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3rem 0;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.pagination-link,
.pagination-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    background-color: var(--white);
    color: var(--text-gray);
    font-weight: 500;
    border: 1px solid var(--gray-300);
    transition: var(--transition-fast);
    min-width: 40px;
    text-align: center;
}

.pagination-number {
    padding: 0.5rem;
}

.pagination-link:hover,
.pagination-number:hover {
    background-color: var(--gray-200);
    color: var(--primary-blue);
    text-decoration: none;
}

.pagination-number.active {
    background-color: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.pagination-ellipsis {
    color: var(--text-muted);
    padding: 0 0.5rem;
}

.prev-page,
.next-page {
    font-weight: 600;
}

.prev-page i,
.next-page i {
    font-size: 0.75rem;
}

.prev-page i {
    margin-right: 0.5rem;
}

.next-page i {
    margin-left: 0.5rem;
}

.no-posts-message {
    text-align: center;
    padding: 3rem 0;
    width: 100%;
    color: var(--text-muted);
    font-style: italic;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-blue-dark);
    text-decoration: underline;
}

/* Blog Hero Section */
.blog-hero {
    background: var(--gradient-primary);
    background-size: 200% 200%;
    color: var(--white);
    padding: 6rem 0 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: gradientAnimation 15s ease infinite;
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="white" opacity="0.1"/><circle cx="80" cy="40" r="1.5" fill="white" opacity="0.1"/><circle cx="40" cy="80" r="1" fill="white" opacity="0.1"/><circle cx="65" cy="10" r="1" fill="white" opacity="0.1"/><circle cx="10" cy="65" r="1.5" fill="white" opacity="0.1"/></svg>') repeat;
    opacity: 0.3;
    animation: floatAnimation 30s linear infinite;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-content h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    color: var(--white);
    text-decoration: none;
    transform: translateY(-2px);
}

.hero-shape {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 60px;
    background: var(--background-light);
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 100%);
}

/* Featured Section */
.featured-section {
    padding: 5rem 0 3rem;
    position: relative;
    background: var(--white);
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-heading {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subheading {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Featured Post */
.featured-post {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    margin-bottom: 2rem;
    position: relative;
    transition: var(--transition);
}

.featured-post:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 86, 179, 0.2);
}

.featured-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.05), rgba(0, 160, 160, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.featured-post:hover::before {
    opacity: 1;
}

.featured-image {
    position: relative;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-post:hover .featured-image img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.4));
    opacity: 0;
    transition: var(--transition);
}

.featured-post:hover .image-overlay {
    opacity: 1;
}

.featured-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-category {
    display: inline-block;
    background: var(--accent-red);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.featured-post:hover .post-category {
    background: var(--primary-blue);
}

.featured-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.post-excerpt {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.post-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.post-meta span {
    display: flex;
    align-items: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transition: none;
}

.btn-primary:hover {
    background: var(--primary-blue-dark);
    color: var(--white);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
}

.btn-primary:hover::before {
    animation: shineAnimation 1.5s ease-in-out;
}

.btn-primary i {
    margin-left: 0.5rem;
    font-size: 0.9rem;
}

/* Blog Grid */
.blog-grid {
    padding: 5rem 0;
    background-color: var(--background-light);
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-heading {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subheading {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
}

/* Blog Cards */
.blog-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 86, 179, 0.15);
}

.blog-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.blog-card:hover::after {
    transform: scaleX(1);
}

.card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.card-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-red);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.card-title a {
    color: var(--text-dark);
    text-decoration: none;
}

.card-title a:hover {
    color: var(--primary-blue);
}

.card-excerpt {
    color: var(--text-muted);
    flex-grow: 1;
    margin-bottom: 1rem;
}

.card-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
    border-top: 1px solid var(--gray-200);
    padding-top: 0.75rem;
}

/* Newsletter Section */
.newsletter-section {
    background: var(--gradient-primary);
    background-size: 200% 200%;
    padding: 3rem 0;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: gradientAnimation 15s ease infinite;
}

.newsletter-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter-content p {
    color: var(--white);
    opacity: 0.9;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    font-size: 1rem;
    outline: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.newsletter-form button {
    padding: 1rem 1.5rem;
    background: var(--accent-red);
    color: var(--white);
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    display: flex;
    align-items: center;
}

.newsletter-form button i {
    margin-left: 0.5rem;
}

.newsletter-form button:hover {
    background: #c82333;
}

.form-privacy {
    text-align: left;
    font-size: 0.85rem;
    opacity: 0.9;
    margin-top: 1rem;
}

.newsletter-decoration {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.decoration-circle {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    top: -150px;
    right: -100px;
}

.decoration-dots {
    position: absolute;
    width: 200px;
    height: 200px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.2) 2px, transparent 2px);
    background-size: 30px 30px;
    bottom: -50px;
    left: -50px;
    opacity: 0.3;
}

/* Article Page */
.article-header {
    background: var(--gradient-primary);
    background-size: 200% 200%;
    padding: 3rem 0 2rem;
    color: var(--white);
    text-align: center;
    animation: gradientAnimation 15s ease infinite;
}

.article-title {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 1rem;
    opacity: 0.9;
}

.article-content {
    max-width: 800px;
    margin: 2rem auto;
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.article-content h2 {
    font-size: 1.75rem;
    margin: 2rem 0 1rem;
    color: var(--primary-blue);
    position: relative;
    padding-bottom: 0.5rem;
}

.article-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.article-content h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 0.75rem;
    color: var(--text-dark);
}

.article-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.highlight-box {
    background: linear-gradient(to right, #f8f9fa, #e3f2fd);
    border-left: 4px solid var(--primary-blue);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    box-shadow: 0 3px 10px rgba(0, 86, 179, 0.1);
}

.back-button {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    margin-top: 2rem;
}

.back-button:hover {
    background: var(--primary-blue-dark);
    color: var(--white);
    text-decoration: none;
    transform: translateY(-2px);
}

/* Single Post Styles */
.blog-content {
    padding: 3rem 0;
    background-color: var(--background-light);
}

.single-post {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.post-header {
    padding: 2rem 2rem 1rem;
}

.post-meta-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.post-category {
    display: inline-block;
    background: var(--accent-red);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.post-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.post-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--text-dark);
}

.post-meta-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.post-meta-bottom span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-share {
    margin-left: auto;
}

.post-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--gray-200);
    color: var(--text-gray);
    margin-left: 0.5rem;
    transition: var(--transition);
}

.post-share a:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.post-featured-image {
    margin-bottom: 2rem;
    position: relative;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
}

.image-caption {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-style: italic;
}

.post-content {
    padding: 0 2rem 2rem;
}

.content-box {
    margin: 2rem 0;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-sm);
}

.highlight-box {
    background: linear-gradient(to right, #f8f9fa, #e3f2fd);
    border-left: 4px solid var(--primary-blue);
}

.quote-box {
    background: var(--gray-100);
    border-left: 4px solid var(--secondary-teal);
    font-style: italic;
}

.quote-box blockquote {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.quote-box cite {
    display: block;
    margin-top: 1rem;
    font-weight: 600;
    font-style: normal;
    color: var(--text-dark);
}

.cta-box {
    background: linear-gradient(to right, #f1f5f9, #e6f7ff);
    border: 1px solid var(--primary-blue-light);
    text-align: center;
}

.cta-box h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.cta-box .btn-primary {
    margin-top: 1rem;
}

.author-bio {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--gray-100);
    border-radius: var(--border-radius);
    margin: 3rem 2rem;
}

.author-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

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

.author-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.author-info p {
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.author-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--white);
    color: var(--text-gray);
    margin-right: 0.5rem;
    transition: var(--transition);
}

.author-social a:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.related-posts {
    padding: 2rem;
    border-top: 1px solid var(--gray-200);
}

.related-posts h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.related-post {
    display: block;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.related-post:hover {
    transform: translateY(-5px);
    text-decoration: none;
}

.related-post img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 0.75rem;
}

.related-post h4 {
    font-size: 1rem;
    line-height: 1.4;
    margin: 0;
    transition: var(--transition);
}

.related-post:hover h4 {
    color: var(--primary-blue);
}

.blog-sidebar {
    margin-top: 3rem;
}

.sidebar-widget {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow-sm);
}

.sidebar-widget h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.sidebar-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.newsletter-widget {
    background: linear-gradient(to right, #f1f5f9, #e6f7ff);
}

.sidebar-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.sidebar-form input {
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
}

.popular-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.popular-post {
    display: flex;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
}

.popular-post:hover {
    transform: translateY(-3px);
}

.post-image {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

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

.post-info h4 {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.25rem;
    transition: var(--transition);
}

.popular-post:hover .post-info h4 {
    color: var(--primary-blue);
}

.post-info .post-date {
    font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        max-width: 95%;
    }
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .featured-post {
        grid-template-columns: 1fr;
    }
    
    .featured-image {
        height: 250px;
    }
    
    .posts-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 5rem 0 4rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-heading {
        font-size: 2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        border-radius: var(--border-radius);
    }
    
    .newsletter-form input {
        border-radius: var(--border-radius) var(--border-radius) 0 0;
        margin-bottom: 0;
    }
    
    .newsletter-form button {
        border-radius: 0 0 var(--border-radius) var(--border-radius);
        width: 100%;
        justify-content: center;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-primary, .btn-outline {
        width: 100%;
        justify-content: center;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .article-content {
        padding: 2rem;
    }
    
    /* Single Post Responsive */
    .post-title {
        font-size: 2rem;
    }
    
    .post-meta-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .post-share {
        margin-left: 0;
        width: 100%;
        margin-top: 0.5rem;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .related-post img {
        height: 200px;
    }
    
    .author-bio {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem;
        margin: 2rem 1rem;
    }
    
    .author-social {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .blog-hero {
        padding: 4rem 0 3rem;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
        margin-bottom: 1rem;
    }
    
    .featured-content {
        padding: 1.5rem;
    }
    
    .article-content {
        padding: 1.5rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    /* Single Post Small Screen */
    .single-post {
        border-radius: 0;
    }
    
    .post-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .post-content {
        padding: 0 1.5rem 1.5rem;
    }
    
    .post-title {
        font-size: 1.75rem;
    }
    
    .post-meta-top {
        flex-wrap: wrap;
    }
    
    .content-box {
        padding: 1.25rem;
    }
    
    .post-featured-image img {
        border-radius: 0;
    }
    
    .related-posts {
        padding: 1.5rem;
    }
    
    .related-post h4 {
        font-size: 0.95rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.px-2 { padding-left: 1rem; padding-right: 1rem; }
.px-3 { padding-left: 1.5rem; padding-right: 1.5rem; }
.text-primary { color: var(--primary-blue); }
.text-secondary { color: var(--secondary-teal); }
.bg-light { background-color: var(--background-light); }
.bg-white { background-color: var(--white); }
.rounded { border-radius: var(--border-radius); }
.shadow { box-shadow: var(--box-shadow); }
.gradient-text { background: var(--gradient-primary); -webkit-background-clip: text; color: transparent; }
.float-animation { animation: floatAnimation 6s ease-in-out infinite; }
.pulse-animation { animation: pulseAnimation 2s ease-in-out infinite; }
.hover-lift { transition: transform 0.3s ease; }
.hover-lift:hover { transform: translateY(-5px); }

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeIn 0.5s ease-in forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes floatAnimation {
    0% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-5px) translateX(5px); }
    50% { transform: translateY(0) translateX(10px); }
    75% { transform: translateY(5px) translateX(5px); }
    100% { transform: translateY(0) translateX(0); }
}

@keyframes pulseAnimation {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes shineAnimation {
    0% { background-position: -100% 0; }
    100% { background-position: 200% 0; }
}
