/* ========================================
   COMBINED BLOG STYLES
   ======================================== */

/* ========================================
   GLOBAL STYLES
   ======================================== */

/* ========================================
   CUSTOM FONTS
   ======================================== */
/* Heading Font */
@font-face {
    font-family: 'HeadingFont';
    src: url('/fonts/MV_AammuFK_Regular.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Body Font */
@font-face {
    font-family: 'BodyFont';
    src: url('/fonts/mvtypewritersb_v1.1.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Apply fonts */
body {
    font-family: 'BodyFont', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #ffffff;
    color: #1a1a1a;
}

h1, h2, h3, h4, h5, h6,
.hero-title,
.site-title,
.featured-post-title,
.post-card-title,
.article-title,
.related-post-title,
.article-tags-title,
.share-title {
    font-family: 'HeadingFont', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Also apply to paragraphs and content */
p,
.hero-subtitle,
.post-excerpt,
.article-excerpt,
.article-body,
.article-body p,
.post-meta,
.article-meta {
    font-family: 'BodyFont', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Line Clamp Utilities */
.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;
}

/* Search Form Animation */
#search-form {
    transition: all 0.3s ease;
}

#search-form.hidden {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

/* ========================================
   HEADER STYLES
   ======================================== */
.main-header {
    background: linear-gradient(135deg, rgb(116, 147, 116) 0%, rgb(222, 255, 222) 100%);
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.3);
}

.site-title {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Logo Styles */
.header-logo {
    height: 50px;
    width: auto;
    transition: opacity 0.3s;
}

.header-logo:hover {
    opacity: 0.8;
}

/* ========================================
   MENU DROPDOWN STYLES (RTL)
   ======================================== */

/* Main menu container */
.main-header nav {
    position: relative;
}

/* Dropdown menu container */
.group {
    position: relative;
}

/* Dropdown content - hidden by default */
.group > div[class*="absolute"] {
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

/* Show dropdown on hover */
.group:hover > div[class*="absolute"] {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

/* Nested dropdown (sub-submenu) */
.group\/sub {
    position: relative;
}

.group\/sub > div[class*="absolute"] {
    visibility: hidden;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.group\/sub:hover > div[class*="absolute"] {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
}

/* Dropdown menu styling */
.main-header .group > div[class*="absolute"],
.main-header .group\/sub > div[class*="absolute"] {
    min-width: 200px;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* Dropdown items */
.main-header nav a[class*="hover:bg-gray-50"] {
    transition: all 0.2s ease;
    position: relative;
}

.main-header nav a[class*="hover:bg-gray-50"]:hover {
    background-color: rgba(128, 128, 128, 0.1) !important;
    padding-right: 1.25rem;
}

/* Arrow icons in dropdowns */
.main-header svg {
    transition: transform 0.3s ease;
}

.group:hover > button > svg,
.group:hover > a > svg {
    transform: rotate(180deg);
}

/* Mobile menu */
#mobile-menu {
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

#mobile-menu a {
    transition: all 0.2s ease;
    border-right: 3px solid transparent;
}

#mobile-menu a:hover {
    background-color: rgba(102, 126, 234, 0.05);
}

/* Mobile submenu animation */
.mobile-menu-item > div[id] {
    overflow: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-item > div[id].hidden {
    max-height: 0;
}

.mobile-menu-item > div[id]:not(.hidden) {
    max-height: 1000px;
}

/* Mobile menu item with children wrapper */
.mobile-menu-item-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.75rem;
    border-radius: 0.25rem;
    transition: background-color 0.2s;
}

.mobile-menu-item-wrapper:hover {
    background-color: #f3f4f6;
}

/* Mobile menu item link */
.mobile-menu-item-link {
    flex: 1;
    display: block;
    padding: 0.5rem 0;
    color: #374151;
    font-weight: 500;
    text-align: right;
}

.mobile-menu-item-link:hover {
    color: #111827;
}

/* Mobile menu toggle button */
.mobile-menu-toggle-btn {
    padding: 0.5rem;
}

.mobile-menu-toggle-icon {
    width: 1rem;
    height: 1rem;
    color: #4b5563;
    transition: transform 0.3s;
}

/* Simple mobile menu link (no children) */
.mobile-menu-simple-link {
    display: block;
    padding: 0.5rem 0.75rem;
    color: #374151;
    font-weight: 500;
    text-align: right;
    border-radius: 0.25rem;
    transition: all 0.2s;
}

.mobile-menu-simple-link:hover {
    background-color: #f3f4f6;
    color: #111827;
}

/* Mobile menu bullet for nested items */
.mobile-menu-bullet {
    color: #9ca3af;
    margin-left: 0.5rem;
}

/* Padding levels for nested items - RTL */
.mobile-menu-level-0 { padding-right: 0px; }
.mobile-menu-level-1 { padding-right: 16px; }
.mobile-menu-level-2 { padding-right: 32px; }
.mobile-menu-level-3 { padding-right: 48px; }
.mobile-menu-level-4 { padding-right: 64px; }
.mobile-menu-level-5 { padding-right: 80px; }

/* Additional padding for simple links */
.mobile-menu-simple-level-0 { padding-right: 12px; }
.mobile-menu-simple-level-1 { padding-right: 28px; }
.mobile-menu-simple-level-2 { padding-right: 44px; }
.mobile-menu-simple-level-3 { padding-right: 60px; }
.mobile-menu-simple-level-4 { padding-right: 76px; }
.mobile-menu-simple-level-5 { padding-right: 92px; }

/* RTL specific adjustments */
[dir="rtl"] .main-header nav {
    direction: rtl;
}

[dir="rtl"] .main-header .group > div[class*="absolute"] {
    text-align: right;
}

/* ========================================
   CASCADING MENU SPECIFIC STYLES
   ======================================== */

/* Main menu item with dropdown */
.group\/main {
    position: relative;
}

.group\/main > a {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Main dropdown appears below */
.group\/main > div {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 0.5rem;
    width: 14rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid #e5e7eb;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 50;
}

.group\/main:hover > div {
    opacity: 1;
    visibility: visible;
}

/* Dropdown item with submenu */
.group\/item {
    position: relative;
}

.group\/item > div:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    color: #374151;
    transition: background-color 0.2s;
    cursor: pointer;
}

.group\/item > div:first-child:hover {
    background-color: rgba(107, 114, 128, 0.1);
}

.group\/item > div:first-child a {
    flex: 1;
    text-align: right;
}

.group\/item > div:first-child svg {
    margin-right: 0.5rem;
    flex-shrink: 0;
}

/* Submenu appears to the LEFT */
.group\/item > div:last-child {
    position: absolute;
    right: 100%;
    top: 0;
    margin-right: 0.25rem;
    width: 14rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid #e5e7eb;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 50;
}

.group\/item:hover > div:last-child {
    opacity: 1;
    visibility: visible;
}

/* Simple dropdown items without children */
.main-header nav a.block {
    display: block;
    padding: 0.5rem 1rem;
    color: #374151;
    transition: background-color 0.2s;
    text-align: right;
}

.main-header nav a.block:hover {
    background-color: rgba(107, 114, 128, 0.1);
}

/* Arrow rotation */
.group\/main:hover > a > svg {
    transform: rotate(180deg);
}

/* Dropdown container padding */
.group\/main > div > div,
.group\/item > div:last-child > div {
    padding: 0.25rem 0;
}

/* ========================================
   HERO/BANNER SECTION
   ======================================== */
.hero-section {
    background: linear-gradient(135deg, rgb(116, 147, 116) 0%, rgb(222, 255, 222) 100%);
    padding: 2.5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: 'HeadingFont';
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color:#1f2937;
    direction: rtl;
}

.hero-subtitle {
    font-family: 'BodyFont';
    font-size: 1.25rem;
    opacity: 0.95;
    line-height: 1.6;
    color: #374151;
    direction: rtl;
}

/* Hero Logo */
.hero-logo {
    height: 200px !important;
    width: auto !important;
    margin: 0 auto 2rem !important;
    display: block !important;
}

/* ========================================
   FEATURED POST
   ======================================== */
.featured-post {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    height: 500px;
    margin-bottom: 4rem;
    direction: rtl;
    text-align: right;
}

.featured-post-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-post-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    padding: 3rem;
    color: white;
}

.featured-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.featured-post-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* ========================================
   POST CARDS
   ======================================== */
.post-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f3f4f6;
    height: 100%;
    display: flex;
    flex-direction: column;
    direction: rtl;
    text-align: right;
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #e5e7eb;
}

.post-card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #f3f4f6;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.post-card:hover .post-card-image img {
    transform: scale(1.08);
}

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

.post-category {
    font-size: 0.90rem;
    font-family: 'headingFont';
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #667eea;
    margin-bottom: 0.75rem;
}

.post-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.5;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
    transition: color 0.3s;
}

.post-card:hover .post-card-title {
    color: #667eea;
}

.post-excerpt {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.post-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
    font-size: 0.875rem;
    color: #9ca3af;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
}

/* ========================================
   PAGINATION
   ======================================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 4rem;
}

.pagination-link {
    padding: 0.75rem 1.25rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    color: #4b5563;
    text-decoration: none;
    transition: all 0.3s;
}

.pagination-link:hover,
.pagination-link.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* ========================================
   FOOTER
   ======================================== */
.main-footer {
    background: rgb(31, 53, 41);
    color: #c4c7c5;
    padding: 3rem 0;
    margin-top: 6rem;
}

.footer-content {
    text-align: center;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.social-link:hover {
    background: #667eea;
    transform: translateY(-3px);
}

/* ========================================
   SINGLE POST - NEW LAYOUT
   ======================================== */

/* Featured Image at Top */
.article-featured-image-top {
    margin-bottom: 2rem;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.article-featured-image-top img {
    width: 100%;
    height: auto;
    display: block;
}

/* Title */
.article-title-top {
    font-size: 3rem;
    line-height: 1.2;
    color: #1a1a1a;
    margin-bottom: 2rem;
    text-align: center;
}

/* Meta Box - One Line */
.article-meta-box {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.1rem;
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.article-author-avatar-small {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .article-title-top {
        font-size: 2rem;
    }

    .article-meta-box {
        padding: 1rem;
    }

}

/* Article Content */
.article-content {
    max-width: 1200px;
    margin: 0 auto;
    direction: rtl;
    text-align: justify;
}

.article-excerpt {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #4b5563;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-left: 4px solid #667eea;
    border-radius: 0 0.75rem 0.75rem 0;
    margin-bottom: 3rem;
    font-style: italic;
}

/* Content Prose Styles */
.article-body {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #374151;
}

.article-body h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.article-body h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
}

.article-body h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body img {
    border-radius: 1rem;
    margin: 2.5rem auto;
    max-width: 100%;
    height: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.article-body li {
    margin: 0.75rem 0;
    line-height: 1.8;
}

.article-body blockquote {
    margin: 2.5rem 0;
    padding: 1.5rem 2rem;
    background: #f9fafb;
    border-left: 4px solid #667eea;
    border-radius: 0 0.75rem 0.75rem 0;
    font-style: italic;
    color: #4b5563;
}

.article-body a {
    color: #667eea;
    text-decoration: underline;
    transition: color 0.3s;
}

.article-body a:hover {
    color: #764ba2;
}

.article-body code {
    background: #f3f4f6;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.9em;
    color: #db2777;
    font-family: 'Monaco', 'Courier New', monospace;
}

.article-body pre {
    background: #1f2937;
    color: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.75rem;
    overflow-x: auto;
    margin: 2rem 0;
}

.article-body pre code {
    background: transparent;
    padding: 0;
    color: #f9fafb;
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.article-body th,
.article-body td {
    border: 1px solid #e5e7eb;
    padding: 0.75rem;
    text-align: left;
}

.article-body th {
    background-color: #f9fafb;
    font-weight: 600;
    color: #111827;
}

.article-body hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 2rem 0;
}

/* Article Footer */
.article-footer {
    max-width: 1200px;
    margin: 4rem auto 0;
    padding-top: 3rem;
    border-top: 2px solid #f3f4f6;
}

/* Tags */
.article-tags {
    margin-bottom: 3rem;
}

.article-tags-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag-link {
    padding: 0.5rem 1.25rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 2rem;
    color: #4b5563;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s;
}

.tag-link:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

/* Share Buttons */
.share-section {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    padding: 2rem;
    border-radius: 1rem;
    margin-bottom: 3rem;
}

.share-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.25rem;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.share-button {
    padding: 0.75rem 1.5rem;
    color: white;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.share-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.share-facebook { background-color: #1877F2; }
.share-twitter { background-color: #000000; }
.share-whatsapp { background-color: #25D366; }
.share-telegram { background-color: #0088cc; }
.share-viber { background-color: #7360f2; }

/* Author Box */
.author-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2.5rem;
    border-radius: 1.5rem;
    color: white;
    margin-bottom: 4rem;
}

.author-box-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.author-box-avatar {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    flex-shrink: 0;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.author-box-details h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.author-box-details p {
    opacity: 0.9;
    line-height: 1.6;
}

/* Related Posts */
.related-posts {
    margin-top: 5rem;
}

.related-posts-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2rem;
    text-align: center;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.related-post-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #f3f4f6;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.related-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #e5e7eb;
}

.related-post-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #f3f4f6;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.related-post-card:hover .related-post-image img {
    transform: scale(1.08);
}

.related-post-content {
    padding: 1.5rem;
}

.related-post-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #667eea;
    margin-bottom: 0.75rem;
}

.related-post-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
    transition: color 0.3s;
}

.related-post-card:hover .related-post-title {
    color: #667eea;
}

.related-post-date {
    font-size: 0.875rem;
    color: #9ca3af;
}

/* Back Button */
.back-to-blog {
    text-align: center;
    margin: 4rem 0;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: #1a1a1a;
    color: white;
    border-radius: 3rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.back-button:hover {
    background: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

/* Prose Styles */
.prose {
    max-width: none;
}

.prose img {
    border-radius: 1rem;
    margin: 2rem auto;
}

.prose h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #111827;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.prose h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #111827;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.prose h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.prose p {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.prose a {
    color: #2563eb;
    text-decoration: underline;
}

.prose ul, .prose ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.prose li {
    margin: 0.5rem 0;
    color: #4b5563;
}

.prose strong {
    color: #111827;
    font-weight: 600;
}

.prose blockquote {
    border-left: 4px solid #e5e7eb;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #6b7280;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .article-header,
    .article-content,
    .article-footer,
    .article-featured-image {
        max-width: 900px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-logo {
        height: 150px !important;
    }

    .featured-post {
        height: 400px;
    }

    .featured-post-title {
        font-size: 1.75rem;
    }

    .post-card-title {
        font-size: 1.25rem;
    }

    .article-header,
    .article-content,
    .article-footer,
    .article-featured-image {
        max-width: 100%;
    }

    .article-title {
        font-size: 2rem;
    }

    .article-meta {
        flex-direction: column;
        gap: 1rem;
    }

    .article-body {
        font-size: 1rem;
    }

    .article-body h2 {
        font-size: 1.5rem;
    }

    .author-box-content {
        flex-direction: column;
        text-align: center;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

/* Smooth Transitions */
.transition-all {
    transition: all 0.3s ease;
}
