/**
 * iDealSunucu Blog & Sidebar CSS
 * Modern Light Mode Design
 * Version: 5.4.5
 */

/* ============================================
   BLOG HERO
   ============================================ */
.blog-hero,
.category-hero,
.tag-hero {
    background: linear-gradient(135deg, #EFF6FF 0%, #F8FAFC 50%, #ECFEFF 100%);
    padding: 120px 0 60px;
    position: relative;
}

.blog-hero::before,
.category-hero::before,
.tag-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #3B82F6;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    color: #0F172A;
    margin: 0 0 16px;
    line-height: 1.2;
}

.hero-desc {
    font-size: 18px;
    color: #475569;
    max-width: 700px;
    line-height: 1.7;
    margin: 0 0 24px;
}

.archive-stats span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #3B82F6;
}

/* Category Header */
.category-header,
.tag-header {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-top: 24px;
}

.category-icon,
.tag-icon {
    width: 80px;
    height: 80px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #3B82F6;
    flex-shrink: 0;
}

.category-title,
.tag-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    color: #0F172A;
    margin: 0 0 8px;
}

.category-desc,
.tag-desc {
    font-size: 16px;
    color: #475569;
    margin: 0 0 16px;
    line-height: 1.6;
}

.category-meta span,
.tag-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #64748B;
}

/* Related Tags */
.related-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #E2E8F0;
}

.related-label {
    font-size: 14px;
    font-weight: 600;
    color: #64748B;
}

.related-tag {
    padding: 6px 14px;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    font-size: 13px;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s;
}

.related-tag:hover {
    background: #3B82F6;
    border-color: #3B82F6;
    color: #fff;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    font-size: 14px;
}

.breadcrumb a {
    color: #64748B;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #3B82F6;
}

.breadcrumb span {
    color: #0F172A;
    font-weight: 500;
}

.breadcrumb i {
    color: #CBD5E1;
    font-size: 10px;
}

/* ============================================
   BLOG MAIN LAYOUT
   ============================================ */
.blog-main {
    background: #F8FAFC;
    padding: 60px 0;
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}

@media (max-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }
}

/* Filter Bar */
.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    margin-bottom: 24px;
}

.results-count {
    font-size: 14px;
    color: #64748B;
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-options span {
    font-size: 14px;
    color: #64748B;
}

.sort-options select {
    padding: 8px 16px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: 14px;
    color: #0F172A;
    cursor: pointer;
}

/* ============================================
   POSTS GRID
   ============================================ */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }
}

/* Post Card */
.post-card {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
}

.post-card:hover {
    border-color: #3B82F6;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.1);
    transform: translateY(-4px);
}

.post-thumbnail {
    display: block;
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-thumbnail.no-image {
    background: linear-gradient(135deg, #EFF6FF, #F1F5F9);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-icon {
    font-size: 48px;
    color: #CBD5E1;
}

.post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.post-card:hover .post-overlay {
    opacity: 1;
}

.read-more-icon {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3B82F6;
    font-size: 18px;
    transform: scale(0.8);
    transition: transform 0.3s;
}

.post-card:hover .read-more-icon {
    transform: scale(1);
}

.post-content {
    padding: 24px;
}

.post-category {
    display: inline-block;
    padding: 5px 12px;
    background: #EFF6FF;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #3B82F6;
    text-decoration: none;
    margin-bottom: 12px;
    transition: all 0.2s;
}

.post-category:hover {
    background: #3B82F6;
    color: #fff;
}

.post-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 12px;
}

.post-title a {
    color: #0F172A;
    text-decoration: none;
    transition: color 0.2s;
}

.post-title a:hover {
    color: #3B82F6;
}

.post-excerpt {
    font-size: 14px;
    color: #64748B;
    line-height: 1.6;
    margin: 0 0 16px;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.mini-tag {
    padding: 4px 10px;
    background: #F1F5F9;
    border-radius: 4px;
    font-size: 12px;
    color: #64748B;
    text-decoration: none;
    transition: all 0.2s;
}

.mini-tag:hover,
.mini-tag.active {
    background: #3B82F6;
    color: #fff;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid #F1F5F9;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #94A3B8;
}

.post-meta i {
    font-size: 12px;
}

/* ============================================
   PAGINATION
   ============================================ */
.blog-pagination {
    margin-top: 40px;
}

.blog-pagination ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-pagination li a,
.blog-pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s;
}

.blog-pagination li a:hover {
    background: #3B82F6;
    border-color: #3B82F6;
    color: #fff;
}

.blog-pagination li span.current {
    background: #3B82F6;
    border-color: #3B82F6;
    color: #fff;
}

/* No Posts */
.no-posts {
    text-align: center;
    padding: 80px 40px;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
}

.no-posts-icon {
    width: 80px;
    height: 80px;
    background: #F1F5F9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
    color: #94A3B8;
}

.no-posts h3 {
    font-size: 24px;
    color: #0F172A;
    margin: 0 0 12px;
}

.no-posts p {
    font-size: 16px;
    color: #64748B;
    margin: 0 0 24px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #3B82F6;
    border-radius: 10px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-back:hover {
    background: #2563EB;
}

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-widget {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 24px;
}

.widget-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #3B82F6;
}

.widget-title i {
    color: #3B82F6;
}

/* Search Widget */
.search-input-wrapper {
    display: flex;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.2s;
}

.search-input-wrapper:focus-within {
    border-color: #3B82F6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-input-wrapper input {
    flex: 1;
    padding: 14px 16px;
    border: none;
    background: none;
    font-size: 14px;
    color: #0F172A;
    outline: none;
}

.search-input-wrapper input::placeholder {
    color: #94A3B8;
}

.search-input-wrapper button {
    padding: 14px 18px;
    background: #3B82F6;
    border: none;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
}

.search-input-wrapper button:hover {
    background: #2563EB;
}

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

.category-list li {
    margin-bottom: 8px;
}

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

.category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #F8FAFC;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s;
}

.category-list a:hover {
    background: #EFF6FF;
    transform: translateX(4px);
}

.cat-name {
    font-size: 14px;
    font-weight: 500;
    color: #0F172A;
}

.category-list a:hover .cat-name {
    color: #3B82F6;
}

.cat-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    background: #E2E8F0;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #64748B;
}

.category-list a:hover .cat-count {
    background: #3B82F6;
    color: #fff;
}

/* Popular Posts Widget */
.popular-posts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.popular-post {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.post-rank {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #3B82F6, #38BDF8);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.popular-post .post-info h4 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 6px;
}

.popular-post .post-info h4 a {
    color: #0F172A;
    text-decoration: none;
    transition: color 0.2s;
}

.popular-post .post-info h4 a:hover {
    color: #3B82F6;
}

.popular-post .post-date {
    font-size: 12px;
    color: #94A3B8;
}

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

.tag-item {
    padding: 8px 14px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: 13px;
    color: #64748B;
    text-decoration: none;
    transition: all 0.2s;
}

.tag-item:hover {
    background: #3B82F6;
    border-color: #3B82F6;
    color: #fff;
}

/* CTA Widget */
.widget-cta {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    border: none;
}

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

.cta-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: #fff;
}

.widget-cta h3 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
}

.widget-cta p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 20px;
    line-height: 1.6;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #fff;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #3B82F6;
    text-decoration: none;
    transition: all 0.2s;
}

.cta-btn:hover {
    background: #F8FAFC;
    transform: translateY(-2px);
}

/* Newsletter Widget */
.newsletter-desc {
    font-size: 14px;
    color: #64748B;
    margin: 0 0 16px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-form input {
    padding: 14px 16px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    font-size: 14px;
    color: #0F172A;
    transition: all 0.2s;
}

.newsletter-form input:focus {
    border-color: #3B82F6;
    outline: none;
}

.newsletter-form button {
    padding: 14px;
    background: #3B82F6;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

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

/* Social Widget */
.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #64748B;
    text-decoration: none;
    transition: all 0.2s;
}

.social-link:hover {
    background: var(--social-color, #3B82F6);
    border-color: var(--social-color, #3B82F6);
    color: #fff;
}

/* ============================================
   SINGLE POST
   ============================================ */
.single-post {
    background: #F8FAFC;
}

.post-header {
    background: linear-gradient(135deg, #EFF6FF 0%, #F8FAFC 100%);
    padding: 120px 0 60px;
}

.post-categories {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.category-badge {
    padding: 6px 14px;
    background: #3B82F6;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
}

.post-header .post-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: #0F172A;
    line-height: 1.3;
    margin: 0 0 24px;
    max-width: 800px;
}

.post-meta-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-info img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 15px;
    font-weight: 600;
    color: #0F172A;
    text-decoration: none;
}

.author-name:hover {
    color: #3B82F6;
}

.author-role {
    font-size: 13px;
    color: #64748B;
}

.post-info {
    display: flex;
    gap: 20px;
}

.post-info span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #64748B;
}

/* Featured Image */
.post-featured-image {
    margin-top: -30px;
    margin-bottom: 40px;
}

.post-featured-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Post Layout */
.post-main {
    padding: 40px 0 80px;
}

.post-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}

@media (max-width: 1024px) {
    .post-layout {
        grid-template-columns: 1fr;
    }
}

.post-content-area {
    display: flex;
    gap: 24px;
}

/* Share Sidebar */
.share-sidebar {
    width: 50px;
    flex-shrink: 0;
}

.share-sticky {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.share-label {
    font-size: 11px;
    font-weight: 600;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 1px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    margin-bottom: 8px;
}

.share-btn {
    width: 42px;
    height: 42px;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #64748B;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.share-btn:hover {
    transform: translateY(-2px);
}

.share-btn.twitter:hover { background: #1DA1F2; border-color: #1DA1F2; color: #fff; }
.share-btn.facebook:hover { background: #1877F2; border-color: #1877F2; color: #fff; }
.share-btn.linkedin:hover { background: #0A66C2; border-color: #0A66C2; color: #fff; }
.share-btn.whatsapp:hover { background: #25D366; border-color: #25D366; color: #fff; }
.share-btn.copy-link:hover { background: #3B82F6; border-color: #3B82F6; color: #fff; }

@media (max-width: 768px) {
    .share-sidebar {
        display: none;
    }
}

/* Post Content */
.post-content {
    flex: 1;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 40px;
}

.entry-content {
    font-size: 17px;
    line-height: 1.8;
    color: #334155;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: #0F172A;
    margin-top: 32px;
    margin-bottom: 16px;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content a {
    color: #3B82F6;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 24px 0;
}

.entry-content blockquote {
    margin: 24px 0;
    padding: 24px 30px;
    background: #F8FAFC;
    border-left: 4px solid #3B82F6;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #475569;
}

.entry-content pre,
.entry-content code {
    background: #1E293B;
    color: #E2E8F0;
    border-radius: 8px;
}

.entry-content pre {
    padding: 20px;
    overflow-x: auto;
}

.entry-content code {
    padding: 2px 8px;
    font-size: 14px;
}

.entry-content ul,
.entry-content ol {
    margin: 20px 0;
    padding-left: 24px;
}

.entry-content li {
    margin-bottom: 8px;
}

/* Tags Footer */
.post-tags-footer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #E2E8F0;
}

.tags-label {
    font-size: 14px;
    font-weight: 600;
    color: #64748B;
}

.tag-link {
    padding: 6px 14px;
    background: #F1F5F9;
    border-radius: 6px;
    font-size: 13px;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s;
}

.tag-link:hover {
    background: #3B82F6;
    color: #fff;
}

/* Author Box */
.author-box {
    display: flex;
    gap: 24px;
    margin-top: 40px;
    padding: 32px;
    background: #F8FAFC;
    border-radius: 16px;
}

.author-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.author-box .author-label {
    font-size: 12px;
    font-weight: 600;
    color: #3B82F6;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.author-box .author-name {
    font-size: 20px;
    font-weight: 700;
    color: #0F172A;
    margin: 8px 0;
}

.author-bio {
    font-size: 14px;
    color: #64748B;
    line-height: 1.6;
    margin: 0 0 16px;
}

.author-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #3B82F6;
    text-decoration: none;
}

.author-link:hover {
    text-decoration: underline;
}

/* Post Navigation */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

@media (max-width: 600px) {
    .post-navigation {
        grid-template-columns: 1fr;
    }
}

.nav-prev,
.nav-next {
    padding: 24px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
}

.nav-prev:hover,
.nav-next:hover {
    border-color: #3B82F6;
    background: #fff;
}

.nav-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #3B82F6;
    margin-bottom: 8px;
}

.nav-title {
    font-size: 15px;
    font-weight: 600;
    color: #0F172A;
}

.nav-next {
    text-align: right;
}

.nav-next .nav-label {
    justify-content: flex-end;
}

/* Related Posts */
.related-posts {
    background: #fff;
    border-top: 1px solid #E2E8F0;
    padding: 60px 0;
}

.related-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 32px;
}

.related-title i {
    color: #3B82F6;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .related-grid {
        grid-template-columns: 1fr;
    }
}

.related-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    transition: all 0.2s;
}

.related-card:hover {
    border-color: #3B82F6;
    transform: translateY(-2px);
}

.related-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.related-content h4 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 8px;
}

.related-content h4 a {
    color: #0F172A;
    text-decoration: none;
}

.related-content h4 a:hover {
    color: #3B82F6;
}

.related-date {
    font-size: 13px;
    color: #94A3B8;
}

/* ============================================
   SEARCH PAGE
   ============================================ */
.search-results .search-title {
    font-size: 14px;
    color: #64748B;
    margin-bottom: 8px;
}

.search-results .search-query {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    color: #3B82F6;
}
