/* Blog-specific CSS with cosmic/astrology theme */

/* Modern Blog Content Styling (Owner.com style) */
.blog-content-modern {
    color: #2C2416;
    line-height: 1.65;
    font-size: 1.2rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.blog-content-modern p {
    margin-bottom: 1rem;
    color: #4A3D2E;
    line-height: 1.65;
}

.blog-content-modern h1 {
    color: #2C2416;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 2rem;
    line-height: 1.3;
    font-size: 2.5rem;
}

.blog-content-modern h2,
.blog-content-modern h3,
.blog-content-modern h4 {
    color: #2C2416;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.blog-content-modern h2 {
    font-size: 2rem;
    color: #2C2416;
    border-bottom: none;
    padding-bottom: 0;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.blog-content-modern h3 {
    font-size: 1.5rem;
    color: #2C2416;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.blog-content-modern h4 {
    font-size: 1.25rem;
    color: #4A3D2E;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.blog-content-modern strong {
    color: #2C2416;
    font-weight: 700;
}

.blog-content-modern em {
    font-style: italic;
    color: #4A3D2E;
}

.blog-content-modern ul,
.blog-content-modern ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.blog-content-modern li {
    margin-bottom: 0.5rem;
    color: #4A3D2E;
    line-height: 1.65;
}

.blog-content-modern ul li {
    list-style-type: disc;
    padding-left: 0.5rem;
}

.blog-content-modern ul li::before {
    display: none;
}

.blog-content-modern a {
    color: #D4AF37;
    text-decoration: underline;
    text-decoration-color: rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.blog-content-modern a:hover {
    color: #C9A961;
    text-decoration-color: rgba(201, 169, 97, 0.6);
}

.blog-content-modern blockquote {
    border-left: 4px solid #D4AF37;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #6B5D4A;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.05) 0%, transparent 100%);
    padding: 1rem 1.5rem;
    border-radius: 0 8px 8px 0;
}

.blog-content-modern hr {
    border: none;
    height: 1px;
    background: #e5e7eb;
    margin: 2rem 0;
}

.blog-content-modern img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
}

/* Modern Zodiac Icons - Trendy SVG icons */
.blog-content-modern .zodiac-icon-modern {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    vertical-align: middle;
    color: #D4AF37;
    opacity: 0.85;
    flex-shrink: 0;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.2));
}

.blog-content-modern h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.blog-content-modern h3 .zodiac-icon-modern {
    margin-right: 0;
    margin-left: 0;
}

.blog-content-modern h3:hover .zodiac-icon-modern {
    opacity: 1;
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 4px 8px rgba(212, 175, 55, 0.4));
}


/* Blog Content Styling (Legacy) */
.blog-content {
    color: #2C2416;
    line-height: 1.8;
    font-size: 1.125rem;
}

.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4 {
    color: #2C2416;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-content h1 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #D4AF37 0%, #C9A961 50%, #B8956A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-content h2 {
    font-size: 2rem;
    color: #D4AF37;
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
    padding-bottom: 0.5rem;
    margin-top: 3rem;
}

.blog-content h3 {
    font-size: 1.5rem;
    color: #C9A961;
    margin-top: 2rem;
}

.blog-content h4 {
    font-size: 1.25rem;
    color: #B8956A;
}

.blog-content p {
    margin-bottom: 1.5rem;
    color: #4A3D2E;
}

.blog-content strong {
    color: #2C2416;
    font-weight: 700;
}

.blog-content em {
    font-style: italic;
    color: #6B5D4A;
}

/* Lists */
.blog-content ul,
.blog-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.blog-content li {
    margin-bottom: 0.75rem;
    color: #4A3D2E;
    line-height: 1.7;
}

.blog-content ul li {
    list-style-type: none;
    position: relative;
    padding-left: 1.5rem;
}

.blog-content ul li::before {
    content: "✨";
    position: absolute;
    left: 0;
    color: #D4AF37;
}

.blog-content ol li {
    list-style-type: decimal;
}

/* Links */
.blog-content a {
    color: #D4AF37;
    text-decoration: underline;
    text-decoration-color: rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.blog-content a:hover {
    color: #C9A961;
    text-decoration-color: rgba(201, 169, 97, 0.6);
}

/* Blockquotes */
.blog-content blockquote {
    border-left: 4px solid #D4AF37;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #6B5D4A;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.05) 0%, transparent 100%);
    padding: 1rem 1.5rem;
    border-radius: 0 8px 8px 0;
}

/* Code blocks */
.blog-content code {
    background: rgba(212, 175, 55, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
    color: #B8956A;
}

.blog-content pre {
    background: #2C2416;
    color: #F9F6F0;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.blog-content pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}

/* Horizontal Rules */
.blog-content hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #D4AF37 50%, transparent 100%);
    margin: 3rem 0;
}

/* Images */
.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

/* Tables */
.blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    box-shadow: 0 4px 6px rgba(212, 175, 55, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.blog-content th {
    background: linear-gradient(135deg, #D4AF37 0%, #C9A961 100%);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 700;
}

.blog-content td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    background: white;
}

.blog-content tr:nth-child(even) td {
    background: #F9F6F0;
}

/* Zodiac Sign Styling */
.blog-content h3:has-text("♈"),
.blog-content h3:has-text("♉"),
.blog-content h3:has-text("♊"),
.blog-content h3:has-text("♋"),
.blog-content h3:has-text("♌"),
.blog-content h3:has-text("♍"),
.blog-content h3:has-text("♎"),
.blog-content h3:has-text("♏"),
.blog-content h3:has-text("♐"),
.blog-content h3:has-text("♑"),
.blog-content h3:has-text("♒"),
.blog-content h3:has-text("♓") {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Special cosmic elements */
.blog-content p:has-text("🔮"),
.blog-content p:has-text("🌌"),
.blog-content p:has-text("✨"),
.blog-content p:has-text("🌠"),
.blog-content p:has-text("🌙") {
    font-size: 1.25rem;
    line-height: 1.9;
}

/* Card hover effects */
.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
}

/* Line clamp utility */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .blog-content {
        font-size: 1rem;
    }
    
    .blog-content h1 {
        font-size: 2rem;
    }
    
    .blog-content h2 {
        font-size: 1.75rem;
    }
    
    .blog-content h3 {
        font-size: 1.25rem;
    }
}

/* Cosmic background patterns */
@keyframes cosmic-float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.cosmic-element {
    animation: cosmic-float 6s ease-in-out infinite;
}

/* Gradient text effects */
.gradient-text {
    background: linear-gradient(135deg, #D4AF37 0%, #C9A961 50%, #B8956A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Banner Image Background */
.hero-banner-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

/* Logo styling in navigation */
nav img[alt="AI Pandit Logo"] {
    object-fit: cover;
    max-height: 40px;
    aspect-ratio: 1;
    border-radius: 50%;
}

/* Category tag styling - 20% larger font size */
.blog-category-tag {
    font-size: 1.05rem; /* 20% increase from text-sm (0.875rem * 1.2 = 1.05rem) */
}

