/**
 * Fanzade Blog Home - Frontend CSS v1.2
 */

/* ==================== VARIABLES ==================== */
.fbh-container,
.fbh-global-header,
.fbh-global-footer {
    --fbh-dark: #1a1a2e;
    --fbh-light: #f8fafc;
    --fbh-text: #334155;
    --fbh-text-light: #64748b;
    --fbh-border: #e2e8f0;
    --fbh-radius: 12px;
    --fbh-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* ==================== GLOBAL HEADER ==================== */
.fbh-global-header {
    max-width: 1400px;
    margin: 0 auto 20px;
    padding: 0 16px;
}

/* Global Menu */
.fbh-global-menu {
    background: #fff;
    border-radius: var(--fbh-radius);
    box-shadow: var(--fbh-shadow);
    margin-bottom: 12px;
    padding: 8px;
}

.fbh-global-menu-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 6px;
}

.fbh-global-menu-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--fbh-light);
    border-radius: 50px;
    text-decoration: none !important;
    color: var(--fbh-text) !important;
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.fbh-global-menu-item:hover {
    background: var(--cat-color) !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.fbh-menu-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    object-fit: cover;
}

.fbh-menu-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Global Search */
.fbh-global-search {
    max-width: 600px;
    margin: 0 auto;
}

.fbh-search-container {
    position: relative;
}

.fbh-search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.fbh-search-icon {
    position: absolute;
    left: 16px;
    width: 20px;
    height: 20px;
    color: var(--fbh-text-light);
    pointer-events: none;
}

.fbh-search-input {
    width: 100%;
    padding: 14px 52px 14px 48px;
    border: 2px solid var(--fbh-border);
    border-radius: 50px;
    font-size: 15px;
    background: #fff;
    transition: all 0.3s;
}

.fbh-search-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.fbh-search-submit-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 8px;
    background: #1a1a2e;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    flex-shrink: 0;
    padding: 0;
}

.fbh-search-submit-btn:hover {
    background: #3b82f6;
}

.fbh-search-submit-btn svg {
    width: 16px;
    height: 16px;
}

.fbh-search-loading {
    position: absolute;
    right: 50px;
}

.fbh-spin {
    width: 20px;
    height: 20px;
    color: #3b82f6;
    animation: fbh-spin 1s linear infinite;
}

@keyframes fbh-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.fbh-search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: var(--fbh-radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.fbh-search-results.active {
    display: block;
}

.fbh-search-result-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    text-decoration: none !important;
    color: var(--fbh-text) !important;
    transition: background 0.2s;
    border-bottom: 1px solid var(--fbh-border);
}

.fbh-search-result-item:last-child {
    border-bottom: none;
}

.fbh-search-result-item:hover {
    background: var(--fbh-light);
}

.fbh-search-result-thumb {
    width: 60px;
    height: 45px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--fbh-light);
    flex-shrink: 0;
}

.fbh-search-result-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fbh-search-result-info {
    flex: 1;
    min-width: 0;
}

.fbh-search-result-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px;
    color: var(--fbh-dark);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fbh-search-result-info span {
    font-size: 12px;
    color: var(--fbh-text-light);
}

.fbh-search-result-cat {
    padding: 4px 10px;
    background: var(--fbh-light);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: var(--fbh-text);
}

.fbh-search-empty {
    padding: 30px;
    text-align: center;
    color: var(--fbh-text-light);
}

/* ==================== GLOBAL FOOTER ==================== */
.fbh-global-footer {
    background: var(--fbh-dark);
    color: #fff;
    margin-top: 50px;
    padding: 30px 0;
}

.fbh-footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.fbh-footer-menu .fbh-footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
}

.fbh-footer-nav li a {
    color: rgba(255,255,255,0.8) !important;
    text-decoration: none !important;
    font-size: 14px;
    transition: color 0.3s;
}

.fbh-footer-nav li a:hover {
    color: #fff !important;
}

.fbh-footer-social {
    display: flex;
    gap: 12px;
}

.fbh-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #fff !important;
    transition: all 0.3s;
}

.fbh-social-link:hover {
    transform: translateY(-3px);
}

.fbh-social-link svg {
    width: 18px;
    height: 18px;
}

.fbh-social-facebook:hover { background: #1877f2; }
.fbh-social-twitter:hover { background: #000; }
.fbh-social-instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.fbh-social-youtube:hover { background: #ff0000; }
.fbh-social-tiktok:hover { background: #000; }

.fbh-footer-copyright {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

/* ==================== MAIN CONTAINER ==================== */
.fbh-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px 20px;
}

.fbh-container *, .fbh-container *::before, .fbh-container *::after {
    box-sizing: border-box;
}

/* ==================== HERO SLIDER ==================== */
.fbh-hero {
    position: relative;
    margin-bottom: 30px;
    border-radius: var(--fbh-radius);
    overflow: hidden;
}

.fbh-hero-slider {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 4px;
    min-height: 450px;
}

.fbh-hero-item {
    position: relative;
    overflow: hidden;
}

.fbh-hero-link {
    display: block;
    height: 100%;
    text-decoration: none !important;
    color: #fff !important;
}

.fbh-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.fbh-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.fbh-hero-item:hover .fbh-hero-image img {
    transform: scale(1.05);
}

.fbh-hero-placeholder {
    width: 100%;
    height: 100%;
}

.fbh-hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 30%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}

.fbh-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    z-index: 2;
}

.fbh-badge {
    display: inline-block;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    color: #fff !important;
    text-decoration: none !important;
    margin-bottom: 12px;
}

.fbh-hero-title {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0;
    color: #fff !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.fbh-hero-featured .fbh-hero-title {
    font-size: 26px;
}

.fbh-hero-excerpt {
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.9) !important;
}

/* ==================== MAIN LAYOUT ==================== */
.fbh-main-content {
    display: flex;
    gap: 0;
    align-items: flex-start;
}

.fbh-content-area {
    flex: 1;
    min-width: 0;
    padding: 20px 20px 20px 24px;
}

.fbh-sidebar {
    width: 340px;
    flex-shrink: 0;
}

/* ==================== CATEGORY SECTIONS ==================== */
.fbh-category-section {
    margin-bottom: 50px;
}

.fbh-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--fbh-border);
}

.fbh-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--fbh-dark);
    margin: 0;
}

.fbh-title-bar {
    width: 5px;
    height: 28px;
    border-radius: 3px;
    background-color: var(--section-color);
}

/* ==================== CATEGORY SUBMENU (Kategori Sayfaları) ==================== */
.fbh-category-submenu {
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.fbh-submenu-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fbh-submenu-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: #f1f5f9;
    border-radius: 50px;
    text-decoration: none !important;
    color: #334155 !important;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.fbh-submenu-item:hover {
    background: var(--item-color, var(--parent-color));
    color: #fff !important;
    transform: translateY(-2px);
}

.fbh-submenu-item.active {
    background: var(--item-color, var(--parent-color));
    color: #fff !important;
    border-color: var(--item-color, var(--parent-color));
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.fbh-submenu-all {
    background: var(--parent-color);
    color: #fff !important;
}

.fbh-submenu-all:hover {
    opacity: 0.9;
}

.fbh-submenu-all.active {
    box-shadow: 0 0 0 3px rgba(0,0,0,0.1), 0 4px 15px rgba(0,0,0,0.2);
}

.fbh-submenu-count {
    background: rgba(255,255,255,0.2);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
}

/* Posts Grid (Oklar kaldırıldı) */
.fbh-posts-slider-wrap {
    overflow: hidden;
}

.fbh-posts-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* Post Card */
.fbh-post-card {
    flex: 0 0 calc(25% - 15px);
    min-width: 280px;
    background: #fff;
    border-radius: var(--fbh-radius);
    overflow: hidden;
    box-shadow: var(--fbh-shadow);
    transition: all 0.3s ease;
}

.fbh-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

/* 3-column grid in blog homepage content column */
.fbh-content-area .fbh-post-card {
    flex: 0 0 calc(33.333% - 14px);
    min-width: 200px;
}

.fbh-card-link {
    display: block;
    text-decoration: none !important;
    color: inherit !important;
}

.fbh-card-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--fbh-light);
}

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

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

.fbh-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--fbh-light), #e2e8f0);
}

.fbh-card-image .fbh-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 2;
}

.fbh-card-content {
    padding: 18px;
}

.fbh-card-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 10px;
    color: var(--fbh-dark) !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fbh-card-meta {
    font-size: 12px;
    color: var(--fbh-text-light);
    margin-bottom: 10px;
}

.fbh-meta-author {
    color: var(--section-color);
    font-weight: 600;
}

.fbh-meta-sep {
    margin: 0 6px;
    opacity: 0.5;
}

.fbh-card-excerpt {
    font-size: 13px;
    line-height: 1.5;
    color: var(--fbh-text);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Mobile Extra Posts - Sadece mobilde görünür */
.fbh-mobile-extra-posts {
    display: none;
}

/* Section Footer */
.fbh-section-footer {
    margin-top: 24px;
    text-align: center;
}

.fbh-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--section-color) !important;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 14px;
    border-radius: 50px;
    transition: all 0.3s;
}

.fbh-more-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    color: #fff !important;
}

.fbh-more-btn svg {
    width: 18px;
    height: 18px;
}

/* ==================== SIDEBAR ==================== */
.fbh-sidebar-inner {
    position: sticky;
    top: 20px;
}

.fbh-widget {
    background: #fff;
    border-radius: var(--fbh-radius);
    box-shadow: var(--fbh-shadow);
    margin-bottom: 24px;
    overflow: hidden;
}

.fbh-widget-title {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 18px 20px;
    margin: 0;
    background: linear-gradient(135deg, var(--fbh-dark), #2d3748);
    color: #fff;
}

.fbh-featured-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fbh-featured-item {
    border-bottom: 1px solid var(--fbh-border);
}

.fbh-featured-item:last-child {
    border-bottom: none;
}

.fbh-featured-item a {
    display: flex;
    gap: 14px;
    padding: 16px 20px;
    text-decoration: none !important;
    transition: background 0.3s;
}

.fbh-featured-item a:hover {
    background: var(--fbh-light);
}

.fbh-featured-thumb {
    width: 75px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--fbh-light);
}

.fbh-featured-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fbh-thumb-placeholder {
    width: 100%;
    height: 100%;
}

.fbh-featured-info {
    flex: 1;
    min-width: 0;
}

.fbh-featured-info h4 {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 6px;
    color: var(--fbh-dark) !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fbh-featured-meta {
    font-size: 11px;
    color: var(--fbh-text-light);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1200px) {
    .fbh-post-card {
        flex: 0 0 calc(33.333% - 14px);
    }
}

@media (max-width: 992px) {
    .fbh-main-content {
        flex-direction: column;
    }
    
    .fbh-sidebar {
        width: 100%;
    }
    
    .fbh-hero-slider {
        grid-template-columns: 1fr 1fr;
        min-height: 400px;
    }
    
    .fbh-hero-featured {
        grid-column: span 2;
    }
    
    .fbh-post-card {
        flex: 0 0 calc(50% - 10px);
    }
    
    .fbh-footer-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .fbh-submenu-inner {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    /* Global Menu - Wrap */
    .fbh-global-menu-inner {
        justify-content: center;
    }
    
    .fbh-global-menu-item {
        padding: 8px 14px;
        font-size: 13px;
    }

    .fbh-menu-icon {
        width: 22px;
        height: 22px;
    }
    
    /* Hero */
    .fbh-hero-slider {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .fbh-hero-item {
        min-height: 300px;
    }
    
    .fbh-hero-featured {
        grid-column: span 1;
    }
    
    .fbh-hero-title {
        font-size: 18px;
    }
    
    .fbh-hero-featured .fbh-hero-title {
        font-size: 20px;
    }
    
    /* Category Section - Mobilde tek büyük kart + küçük kartlar */
    .fbh-posts-slider {
        display: block;
    }
    
    .fbh-post-card {
        width: 100%;
        margin-bottom: 0;
    }
    
    /* Sadece ilk kartı göster (fbh-content-area dışında) */
    .fbh-post-card:not(:first-child) {
        display: none;
    }

    /* fbh-content-area içinde tüm kartlar görünsün */
    .fbh-content-area .fbh-post-card:not(:first-child) {
        display: block !important;
    }
    
    /* Mobile Extra Posts Göster */
    .fbh-mobile-extra-posts {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid var(--fbh-border);
    }
    
    .fbh-mobile-post {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px;
        background: #fff;
        border-radius: 10px;
        text-decoration: none !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
        transition: all 0.3s;
    }
    
    .fbh-mobile-post:hover {
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }
    
    .fbh-mobile-post-thumb {
        width: 70px;
        height: 55px;
        border-radius: 8px;
        overflow: hidden;
        flex-shrink: 0;
        background: var(--fbh-light);
    }
    
    .fbh-mobile-post-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .fbh-mobile-post-placeholder {
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, var(--fbh-light), #e2e8f0);
    }
    
    .fbh-mobile-post-info {
        flex: 1;
        min-width: 0;
    }
    
    .fbh-mobile-post-info h4 {
        font-size: 14px;
        font-weight: 600;
        line-height: 1.3;
        margin: 0 0 4px;
        color: var(--fbh-dark) !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .fbh-mobile-post-info span {
        font-size: 11px;
        color: var(--fbh-text-light);
    }
    
    .fbh-section-title {
        font-size: 16px;
    }
    
    /* Footer */
    .fbh-footer-nav {
        justify-content: center;
    }
    
    .fbh-footer-social {
        justify-content: center;
    }
    
    /* Category Submenu */
    .fbh-submenu-item {
        padding: 8px 14px;
        font-size: 12px;
    }
}

/* ==================== WIDGET ORTAK STİLLER ==================== */
.fbh-widget-wrap {
    background: #fff;
    border-radius: var(--fbh-radius);
    box-shadow: var(--fbh-shadow);
    padding: 16px;
    margin-bottom: 20px;
}

.dark-mode .fbh-widget-wrap,
[data-theme="dark"] .fbh-widget-wrap {
    background: #1e293b;
}

.fbh-widget-social-feed,
.fbh-widget-recent-comments {
    font-family: inherit;
}

.fbh-widget-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--fbh-border);
}

.fbh-widget-heading {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--fbh-dark);
    flex: 1;
}

.fbh-widget-header-link {
    font-size: 11px;
    color: #3b82f6 !important;
    text-decoration: none !important;
    font-weight: 600;
    white-space: nowrap;
}

.fbh-widget-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fbh-widget-item {
    margin-bottom: 10px;
}

.fbh-widget-item:last-child {
    margin-bottom: 0;
}

.fbh-widget-item-link {
    display: flex;
    gap: 10px;
    text-decoration: none !important;
    color: inherit !important;
    align-items: flex-start;
    transition: opacity 0.2s;
}

.fbh-widget-item-link:hover {
    opacity: 0.8;
}

.fbh-widget-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    flex-shrink: 0;
    overflow: hidden;
}

.fbh-widget-avatar--gravatar {
    background: var(--fbh-light);
}

.fbh-widget-avatar-img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    display: block !important;
}

.fbh-widget-item-body {
    flex: 1;
    min-width: 0;
}

.fbh-widget-item-meta {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 3px;
    flex-wrap: wrap;
}

.fbh-widget-username {
    font-size: 11px;
    font-weight: 700;
    color: var(--fbh-dark);
}

.fbh-widget-badge {
    padding: 1px 6px;
    border-radius: 10px;
    font-size: 9px;
    font-weight: 700;
    color: #fff;
}

.fbh-widget-time {
    font-size: 9px;
    color: var(--fbh-text-light);
    margin-left: auto;
    white-space: nowrap;
}

.fbh-widget-text {
    font-size: 11px;
    color: #475569;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.fbh-widget-prefix {
    color: var(--fbh-text-light);
    font-style: italic;
}

.fbh-widget-comment-post {
    font-size: 10px;
    color: #3b82f6;
    margin-top: 3px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.fbh-widget-empty {
    font-size: 13px;
    color: var(--fbh-text-light);
    margin: 8px 0;
}

.fbh-widget-more-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 12px;
    font-weight: 600;
    color: #3b82f6 !important;
    text-decoration: none !important;
}

/* ── Widget: Son Reels grid ── */
.fbh-widget-reels-grid {
    display: grid;
    grid-template-columns: repeat( var(--reels-cols, 3), 1fr );
    gap: 4px;
    margin-bottom: 10px;
}

.fbh-widget-reel-thumb {
    position: relative;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border-radius: 6px;
    background: #1a1a2e;
    display: block;
}

.fbh-widget-reel-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.fbh-widget-reel-thumb:hover img {
    transform: scale(1.06);
}

.fbh-widget-reel-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e, #334155);
}

.fbh-widget-reel-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: background 0.2s;
}

.fbh-widget-reel-thumb:hover .fbh-widget-reel-play {
    background: rgba(255, 255, 255, 1);
}

/* Dark mode */
.dark-mode .fbh-widget-heading,
[data-theme="dark"] .fbh-widget-heading {
    color: #e2e8f0;
}

.dark-mode .fbh-widget-username,
[data-theme="dark"] .fbh-widget-username {
    color: #e2e8f0;
}

.dark-mode .fbh-widget-text,
[data-theme="dark"] .fbh-widget-text {
    color: #94a3b8;
}

/* ==================== SOSYAL AKIŞ KOLONU ==================== */
.fbh-social-col {
    width: 290px;
    flex-shrink: 0;
    background: #f8fafc;
    border-right: 1px solid var(--fbh-border);
    padding: 16px;
    position: sticky;
    top: 20px;
    align-self: start;
}

.fbh-social-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--fbh-border);
}

.fbh-social-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--fbh-dark);
}

.fbh-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
    animation: fbh-live-pulse 1.5s ease-in-out infinite;
}

@keyframes fbh-live-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(1.3); }
}

.fbh-social-all-link {
    font-size: 11px;
    color: #3b82f6 !important;
    text-decoration: none !important;
    font-weight: 600;
}

.fbh-social-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fbh-social-item {
    display: flex;
    gap: 8px;
    padding: 8px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid var(--fbh-border);
    text-decoration: none !important;
    color: inherit !important;
    transition: box-shadow 0.2s, transform 0.2s;
}

.fbh-social-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-1px);
}

.fbh-social-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
    overflow: hidden;
}

.fbh-social-body {
    flex: 1;
    min-width: 0;
}

.fbh-social-meta {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.fbh-social-username {
    font-size: 11px;
    font-weight: 700;
    color: var(--fbh-dark);
    white-space: nowrap;
}

.fbh-social-badge {
    padding: 1px 6px;
    border-radius: 10px;
    font-size: 9px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

.fbh-social-time {
    font-size: 9px;
    color: var(--fbh-text-light);
    margin-left: auto;
    white-space: nowrap;
}

.fbh-social-text {
    font-size: 10px;
    color: #475569;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.fbh-social-prefix {
    color: var(--fbh-text-light);
    font-style: italic;
}

.fbh-social-empty {
    padding: 20px;
    text-align: center;
    font-size: 12px;
    color: var(--fbh-text-light);
}

.fbh-social-footer {
    margin-top: 12px;
    text-align: center;
}

.fbh-social-more-btn {
    display: inline-block;
    padding: 8px 18px;
    background: var(--fbh-dark) !important;
    color: #fff !important;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background 0.2s;
}

.fbh-social-more-btn:hover {
    background: #f97316 !important;
}

/* ==================== SON REELS ==================== */
.fbh-reels-section {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 2px solid var(--fbh-border);
}

.fbh-reels-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.fbh-reels-title {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--fbh-dark);
}

.fbh-reels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    margin-bottom: 10px;
}

.fbh-reel-thumb {
    position: relative;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border-radius: 6px;
    background: #1a1a2e;
    display: block;
}

.fbh-reel-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.fbh-reel-thumb:hover img {
    transform: scale(1.06);
}

.fbh-reel-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e, #334155);
}

.fbh-reel-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 26px;
    height: 26px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: background 0.2s;
}

.fbh-reel-thumb:hover .fbh-reel-play {
    background: rgba(255, 255, 255, 1);
}

.fbh-reels-more-btn {
    display: block;
    text-align: center;
    padding: 8px 12px;
    background: var(--fbh-dark);
    color: #fff !important;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background 0.2s;
}

.fbh-reels-more-btn:hover {
    background: #ef4444 !important;
    color: #fff !important;
}

/* Dark mode */
.dark-mode .fbh-reels-section,
[data-theme="dark"] .fbh-reels-section {
    border-color: #334155;
}

.dark-mode .fbh-reels-title,
[data-theme="dark"] .fbh-reels-title {
    color: #e2e8f0;
}

/* ── Responsive: sosyal kolon ── */
@media (max-width: 1023px) {
    .fbh-social-col {
        width: 100%;
        position: static;
        border-right: none;
        border-bottom: 1px solid var(--fbh-border);
        margin-bottom: 20px;
    }
    .fbh-social-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .fbh-content-area {
        padding: 16px;
    }
    .fbh-content-area .fbh-post-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 767px) {
    .fbh-social-list {
        grid-template-columns: 1fr;
    }
    /* On mobile show max 4 social items */
    .fbh-social-item:nth-child(n+5) {
        display: none;
    }
    .fbh-content-area {
        padding: 12px;
    }
    .fbh-content-area .fbh-post-card {
        flex: 0 0 100%;
    }
}

/* Dark mode — social col */
.dark-mode .fbh-social-col,
[data-theme="dark"] .fbh-social-col {
    background: #1e293b;
    border-color: #334155;
}

.dark-mode .fbh-social-item,
[data-theme="dark"] .fbh-social-item {
    background: #0f172a;
    border-color: #334155;
}

.dark-mode .fbh-social-username,
[data-theme="dark"] .fbh-social-username {
    color: #e2e8f0;
}

.dark-mode .fbh-social-text,
[data-theme="dark"] .fbh-social-text {
    color: #94a3b8;
}

/* ==================== MOBİL SIDEBAR + FOOTER WIDGET BAR ==================== */

/* --- Sidebar fix: Tailwind'in hidden !important'ını geç --- */
@media (max-width: 1023px) {
    .single #white-rabbit-main > aside,
    .archive #white-rabbit-main > aside,
    .category #white-rabbit-main > aside {
        display: block !important;   /* Tailwind hidden'ı geçer */
        width: 100% !important;
        min-width: 0 !important;
        flex-basis: auto !important;
    }

    .single #white-rabbit-main,
    .archive #white-rabbit-main,
    .category #white-rabbit-main {
        flex-direction: column !important;
    }
}

/* --- Mobil Footer Widget Bar --- */
.fbh-mobile-widget-bar {
    display: none; /* masaüstünde gizli */
    background: #f8fafc;
    border-top: 1px solid var(--fbh-border, #e2e8f0);
    padding: 20px 16px;
}

@media (max-width: 639px) {
    .fbh-mobile-widget-bar {
        display: block;
    }
}

.fbh-mobile-widget-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.fbh-mobile-widget-box {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.dark-mode .fbh-mobile-widget-bar,
[data-theme="dark"] .fbh-mobile-widget-bar {
    background: #0f172a;
    border-color: #334155;
}

.dark-mode .fbh-mobile-widget-box,
[data-theme="dark"] .fbh-mobile-widget-box {
    background: #1e293b;
}

/* ==================== DARK MODE ==================== */
.dark-mode .fbh-global-menu,
.dark-mode .fbh-post-card,
.dark-mode .fbh-widget,
.dark-mode .fbh-mobile-post,
.dark-mode .fbh-category-submenu,
[data-theme="dark"] .fbh-global-menu,
[data-theme="dark"] .fbh-post-card,
[data-theme="dark"] .fbh-widget,
[data-theme="dark"] .fbh-mobile-post,
[data-theme="dark"] .fbh-category-submenu {
    background: #1e293b;
}

.dark-mode .fbh-global-menu-item,
.dark-mode .fbh-submenu-item,
[data-theme="dark"] .fbh-global-menu-item,
[data-theme="dark"] .fbh-submenu-item {
    background: #334155;
    color: #e2e8f0 !important;
}

.dark-mode .fbh-search-input,
.dark-mode .fbh-search-results,
[data-theme="dark"] .fbh-search-input,
[data-theme="dark"] .fbh-search-results {
    background: #1e293b;
    border-color: #334155;
    color: #e2e8f0;
}

.dark-mode .fbh-card-title,
.dark-mode .fbh-featured-info h4,
.dark-mode .fbh-mobile-post-info h4,
.dark-mode .fbh-search-result-info h4,
[data-theme="dark"] .fbh-card-title,
[data-theme="dark"] .fbh-featured-info h4,
[data-theme="dark"] .fbh-mobile-post-info h4,
[data-theme="dark"] .fbh-search-result-info h4 {
    color: #e2e8f0 !important;
}

.dark-mode .fbh-section-title,
[data-theme="dark"] .fbh-section-title {
    color: #e2e8f0;
}

.dark-mode .fbh-mobile-extra-posts,
[data-theme="dark"] .fbh-mobile-extra-posts {
    border-color: #334155;
}

/* ==================== İLGİLİ YAZILAR ==================== */
.fbh-related-posts {
    margin-top: 40px;
    padding: 28px 0 0;
    border-top: 2px solid var(--fbh-border, #e2e8f0);
    --fbh-border: #e2e8f0;
    --fbh-text: #334155;
    --fbh-text-light: #64748b;
    --fbh-radius: 12px;
    --fbh-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.fbh-related-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.fbh-related-icon {
    display: flex;
    align-items: center;
    color: #64748b;
    flex-shrink: 0;
}

.fbh-related-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--fbh-text, #334155);
    margin: 0;
    line-height: 1.3;
}

.fbh-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.fbh-related-card {
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    color: inherit !important;
    border-radius: var(--fbh-radius, 12px);
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform .18s ease, box-shadow .18s ease;
}

.fbh-related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.fbh-related-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f1f5f9;
}

.fbh-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}

.fbh-related-card:hover .fbh-related-thumb img {
    transform: scale(1.04);
}

.fbh-related-thumb-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
}

.fbh-related-cat {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.6;
}

.fbh-related-info {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.fbh-related-card-title {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--fbh-text, #334155) !important;
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: normal;
}

.fbh-related-date {
    font-size: 0.75rem;
    color: var(--fbh-text-light, #64748b);
    margin-top: auto;
}

/* Responsive */
@media (max-width: 900px) {
    .fbh-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .fbh-related-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .fbh-related-card-title {
        font-size: 0.72rem;
        line-height: 1.28;
        -webkit-line-clamp: 5;
    }

    .fbh-related-title {
        font-size: 0.95rem;
    }

    .fbh-related-info {
        padding: 10px 10px 12px;
        gap: 8px;
    }

    .fbh-related-date {
        font-size: 0.68rem;
    }
}

/* Dark mode */
.dark-mode .fbh-related-posts,
[data-theme="dark"] .fbh-related-posts {
    border-color: #334155;
    --fbh-border: #334155;
    --fbh-text: #e2e8f0;
    --fbh-text-light: #94a3b8;
}

.dark-mode .fbh-related-card,
[data-theme="dark"] .fbh-related-card {
    background: #1e293b;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.dark-mode .fbh-related-thumb-placeholder,
[data-theme="dark"] .fbh-related-thumb-placeholder {
    background: linear-gradient(135deg, #1e293b, #334155);
}

/* ==================== FANZADE HOME BUILDER ==================== */
.fbh-home-builder {
    --fbh-ink: #101010;
    --fbh-paper: #ffffff;
    --fbh-page: #f2f2f2;
    --fbh-muted: #666;
    --fbh-accent: #d29f13;
    --fbh-line: #d8d8d8;
    color: var(--fbh-ink);
}

.fbh-home-builder,
.fbh-home-builder * {
    letter-spacing: 0;
}

.fbh-home-block {
    margin-bottom: 34px;
}

.fbh-block-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.fbh-block-heading h2 {
    margin: 0;
    color: var(--fbh-ink);
    font-size: 22px;
    font-weight: 900;
    line-height: 1.1;
}

.fbh-block-heading a,
.fbh-more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #6d5a1a !important;
    text-decoration: none !important;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.fbh-block-heading a::after,
.fbh-more-link::after {
    content: "";
    width: 18px;
    height: 8px;
    background: linear-gradient(90deg, var(--fbh-accent), transparent);
    clip-path: polygon(0 35%, 72% 35%, 72% 0, 100% 50%, 72% 100%, 72% 65%, 0 65%);
}

.fbh-card-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 80px;
    background: linear-gradient(135deg, #e5e7eb, #cbd5e1);
}

.fbh-media-card,
.fbh-feature-card a,
.fbh-news-card a,
.fbh-short-card a {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 8px;
    text-decoration: none !important;
    color: inherit !important;
    background: #111;
}

.fbh-media-card-image,
.fbh-feature-card-media,
.fbh-news-card-media,
.fbh-short-media {
    display: block;
    width: 100%;
    height: 100%;
    background: #1f2937;
}

.fbh-media-card img,
.fbh-feature-card img,
.fbh-news-card img,
.fbh-short-card img,
.fbh-latest-row img,
.fbh-latest-mini img,
.fbh-trending-now img,
.fbh-community-list .fbh-community-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fbh-media-card-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,0.86) 100%);
    pointer-events: none;
}

.fbh-media-card-content,
.fbh-feature-card-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 14px;
    color: #fff;
}

.fbh-kicker {
    display: inline-flex;
    margin-bottom: 8px;
    padding: 4px 8px;
    border-radius: 4px;
    background: var(--kicker-color, var(--fbh-accent));
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.fbh-hero-board {
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(280px, 1fr);
    gap: 24px;
    align-items: stretch;
}

.fbh-hero-feature,
.fbh-media-card-large {
    min-height: 420px;
}

.fbh-media-card-large .fbh-media-card-image {
    position: absolute;
    inset: 0;
}

.fbh-hero-headline {
    margin: 0;
    color: #fff !important;
    font-size: 30px;
    line-height: 1.12;
    font-weight: 950;
    text-wrap: balance;
}

.fbh-hero-latest {
    display: flex;
    flex-direction: column;
    padding: 0 0 10px;
}

.fbh-side-heading {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 14px;
    margin: 8px 0 14px;
}

.fbh-side-heading span {
    height: 1px;
    background: var(--fbh-ink);
}

.fbh-side-heading h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 950;
    text-transform: uppercase;
}

.fbh-hero-latest-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
}

.fbh-latest-mini {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 12px;
    padding: 12px;
    border-bottom: 1px solid var(--fbh-line);
    text-decoration: none !important;
    color: var(--fbh-ink) !important;
}

.fbh-latest-mini:last-child {
    border-bottom: 0;
}

.fbh-latest-mini strong {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 900;
}

.fbh-latest-mini-thumb {
    display: block;
    height: 68px;
    overflow: hidden;
    border-radius: 6px;
    background: #e5e7eb;
}

.fbh-card-time,
.fbh-byline {
    display: inline-block;
    color: var(--fbh-muted);
    font-size: 11px;
    line-height: 1.3;
}

.fbh-hero-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.fbh-media-card-small {
    min-height: 170px;
}

.fbh-media-card-small .fbh-media-card-image {
    position: absolute;
    inset: 0;
}

.fbh-media-card-small strong {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #fff;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 900;
}

.fbh-featured-grid,
.fbh-category-card-row,
.fbh-shorts-strip,
.fbh-community-grid {
    display: grid;
    gap: 14px;
}

.fbh-featured-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.fbh-feature-card a {
    min-height: 235px;
}

.fbh-feature-card-media {
    position: absolute;
    inset: 0;
}

.fbh-feature-card h3 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    margin: 4px 0 8px;
    color: #fff !important;
    font-size: 15px;
    line-height: 1.16;
    font-weight: 900;
}

.fbh-feature-card .fbh-byline {
    color: rgba(255,255,255,0.86);
    font-weight: 700;
}

.fbh-category-row {
    margin-bottom: 24px;
}

.fbh-category-row .fbh-block-heading h2::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 22px;
    margin-right: 10px;
    border-radius: 4px;
    vertical-align: -4px;
    background: var(--section-color, var(--fbh-accent));
}

.fbh-category-card-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fbh-news-card a {
    background: #fff;
    color: var(--fbh-ink) !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.fbh-news-card-media {
    aspect-ratio: 16 / 10;
}

.fbh-news-card-body {
    display: block;
    padding: 12px;
}

.fbh-news-card h3 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin: 0 0 8px;
    color: var(--fbh-ink) !important;
    font-size: 15px;
    line-height: 1.24;
    font-weight: 900;
}

.fbh-shorts-strip {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.fbh-short-card a {
    background: transparent;
    color: var(--fbh-ink) !important;
}

.fbh-short-media {
    position: relative;
    aspect-ratio: 9 / 13;
    overflow: hidden;
    border-radius: 8px;
}

.fbh-play-mark {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: 46px;
    height: 46px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
}

.fbh-play-mark::after {
    content: "";
    position: absolute;
    left: 18px;
    top: 13px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #111;
}

.fbh-short-meta {
    display: block;
    padding-top: 8px;
}

.fbh-short-meta strong {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: var(--fbh-ink);
    font-size: 13px;
    line-height: 1.25;
    font-weight: 900;
}

.fbh-community-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fbh-community-card a {
    display: flex;
    gap: 12px;
    height: 100%;
    padding: 14px;
    border: 1px solid var(--fbh-line);
    border-radius: 8px;
    background: #fff;
    color: var(--fbh-ink) !important;
    text-decoration: none !important;
}

.fbh-community-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #d29f13);
    background-size: cover;
    background-position: center;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.fbh-community-body,
.fbh-latest-row-body {
    min-width: 0;
}

.fbh-community-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 5px;
}

.fbh-community-meta strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
}

.fbh-community-meta span {
    padding: 2px 6px;
    border-radius: 999px;
    background: var(--badge-color, #64748b);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
}

.fbh-community-text {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #334155;
    font-size: 13px;
    line-height: 1.35;
}

.fbh-community-text em {
    color: var(--fbh-muted);
    font-style: normal;
}

.fbh-latest-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
    align-items: start;
}

.fbh-latest-feed {
    padding: 20px;
    border-radius: 8px;
    background: #fff;
}

.fbh-latest-heading {
    margin-bottom: 14px;
}

.fbh-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.fbh-filter-pills a {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 10px;
    border-radius: 4px;
    background: #222;
    color: #fff !important;
    text-decoration: none !important;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 900;
}

.fbh-filter-pills a.active {
    background: var(--fbh-accent);
    color: #111 !important;
}

.fbh-latest-list-large {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fbh-latest-row a {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 16px;
    color: var(--fbh-ink) !important;
    text-decoration: none !important;
}

.fbh-latest-row-media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 8px;
    background: #e5e7eb;
}

.fbh-latest-row h3 {
    margin: 4px 0 6px;
    color: var(--fbh-ink) !important;
    font-size: 21px;
    line-height: 1.12;
    font-weight: 950;
}

.fbh-latest-row p {
    margin: 0 0 8px;
    color: #333;
    font-size: 13px;
    line-height: 1.45;
}

.fbh-see-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.fbh-see-more-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 320px;
    min-height: 42px;
    border: 1px solid #111;
    border-radius: 6px;
    color: #111 !important;
    text-decoration: none !important;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 950;
}

.fbh-trend-sidebar {
    position: sticky;
    top: 20px;
}

.fbh-ad-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 72px;
    margin-bottom: 22px;
    border-top: 1px solid var(--fbh-line);
    border-bottom: 1px solid var(--fbh-line);
    color: #c7c7c7;
    font-weight: 800;
}

.fbh-trend-box {
    padding-top: 14px;
    margin-bottom: 28px;
    border-top: 1px solid var(--fbh-line);
}

.fbh-trend-box h3 {
    margin: 0 0 14px;
    color: var(--fbh-ink);
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 950;
}

.fbh-trend-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fbh-trend-list a {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    color: var(--fbh-ink) !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 900;
}

.fbh-trend-list span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 1px solid #111;
    font-size: 11px;
}

.fbh-trending-now {
    display: grid;
    gap: 10px;
}

.fbh-trending-now a {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
    color: var(--fbh-ink) !important;
    text-decoration: none !important;
}

.fbh-trending-now a > span {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 6px;
    background: #e5e7eb;
}

.fbh-trending-now strong {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    font-size: 12px;
    line-height: 1.22;
    font-weight: 900;
}

.fbh-sidebar-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.fbh-sidebar-title-row h3 {
    margin: 0;
}

.fbh-sidebar-title-row a {
    color: #8a6500 !important;
    text-decoration: none !important;
    text-transform: uppercase;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 900;
}

.fbh-community-list {
    display: grid;
    gap: 12px;
}

.fbh-community-list-item {
    display: block;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--fbh-ink) !important;
    text-decoration: none !important;
}

.fbh-community-list-widget {
    gap: 11px;
}

.fbh-community-widget-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
}

.fbh-community-list .fbh-community-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #111;
    color: #fff;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 950;
}

.fbh-community-list-body {
    min-width: 0;
}

.fbh-community-list-body strong {
    display: block;
    min-width: 0;
    overflow: hidden;
    color: var(--fbh-ink);
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    line-height: 1.18;
    font-weight: 850;
}

.fbh-community-list-body small {
    display: block;
    margin-top: 3px;
    color: var(--fbh-muted);
    font-size: 12px;
    font-weight: 700;
}

.fbh-community-list-cover {
    gap: 10px;
}

.fbh-community-cover-item {
    display: block;
}

.fbh-community-cover {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 86px;
    overflow: hidden;
    border-radius: 8px;
    background-color: #111;
    background-position: center;
    background-size: cover;
    isolation: isolate;
}

.fbh-community-cover-shade {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.76), rgba(0,0,0,0.22));
}

.fbh-community-cover .fbh-community-avatar {
    position: relative;
    z-index: 1;
    margin: 0 10px 10px;
    border: 2px solid rgba(255,255,255,0.92);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.fbh-community-cover-body {
    position: relative;
    z-index: 1;
    min-width: 0;
    padding: 0 10px 11px 0;
    color: #fff;
}

.fbh-community-cover-body strong {
    display: block;
    overflow: hidden;
    color: #fff;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    line-height: 1.15;
    font-weight: 950;
}

.fbh-community-cover-body small {
    display: block;
    margin-top: 3px;
    color: rgba(255,255,255,0.84);
    font-size: 12px;
    font-weight: 750;
}

.fbh-empty-block {
    margin: 0;
    padding: 18px;
    border: 1px solid var(--fbh-line);
    border-radius: 8px;
    background: #fff;
    color: var(--fbh-muted);
}

.dark-mode .fbh-home-builder,
[data-theme="dark"] .fbh-home-builder {
    --fbh-ink: #f8fafc;
    --fbh-paper: #111827;
    --fbh-page: #0f172a;
    --fbh-muted: #94a3b8;
    --fbh-line: #334155;
}

.dark-mode .fbh-hero-latest-list,
.dark-mode .fbh-feature-card a,
.dark-mode .fbh-news-card a,
.dark-mode .fbh-community-card a,
.dark-mode .fbh-latest-feed,
[data-theme="dark"] .fbh-hero-latest-list,
[data-theme="dark"] .fbh-feature-card a,
[data-theme="dark"] .fbh-news-card a,
[data-theme="dark"] .fbh-community-card a,
[data-theme="dark"] .fbh-latest-feed {
    background: #1e293b;
}

.dark-mode .fbh-latest-row p,
.dark-mode .fbh-community-text,
[data-theme="dark"] .fbh-latest-row p,
[data-theme="dark"] .fbh-community-text {
    color: #cbd5e1;
}

@media (max-width: 1180px) {
    .fbh-hero-board,
    .fbh-latest-layout {
        grid-template-columns: 1fr;
    }

    .fbh-trend-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .fbh-community-sidebar {
        display: block;
    }

    .fbh-ad-slot {
        display: none;
    }
}

@media (max-width: 1023px) {
    .fbh-featured-grid,
    .fbh-shorts-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .fbh-category-card-row,
    .fbh-community-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .fbh-home-builder {
        padding-left: 12px;
        padding-right: 12px;
    }

    .fbh-home-block {
        margin-bottom: 28px;
    }

    .fbh-block-heading h2 {
        font-size: 19px;
    }

    .fbh-hero-feature,
    .fbh-media-card-large {
        min-height: 340px;
    }

    .fbh-hero-headline {
        font-size: 25px;
    }

    .fbh-hero-strip,
    .fbh-featured-grid,
    .fbh-category-card-row,
    .fbh-shorts-strip,
    .fbh-community-grid,
    .fbh-trend-sidebar {
        grid-template-columns: 1fr;
    }

    .fbh-media-card-small {
        min-height: 160px;
    }

    .fbh-latest-row a {
        grid-template-columns: 1fr;
    }

    .fbh-latest-row h3 {
        font-size: 18px;
    }

    .fbh-latest-feed {
        padding: 14px;
    }

    .fbh-see-more-button {
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .fbh-latest-mini {
        grid-template-columns: minmax(0, 1fr) 92px;
    }

    .fbh-latest-mini-thumb {
        height: 58px;
    }
}
