/*
Theme Name: FB Archive
Author: Gil Rimon
Description: A Facebook-style archive theme for displaying imported posts with search, filtering, and gallery features.
Version: 1.4.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fb-archive
*/

:root {
    --fb-blue: #1877f2;
    --fb-gray: #e4e6eb;
    --fb-dark-gray: #65676b;
    --fb-bg: #f0f2f5;
    --fb-white: #ffffff;
    --fb-border: #ccd0d5;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--fb-bg);
    color: #050505;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Main Layout with Sidebar */
.main-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.archive-sidebar {
    width: 250px;
    flex-shrink: 0;
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

.archive-sidebar-content {
    background-color: var(--fb-white);
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.archive-sidebar h3 {
    margin: 0 0 16px 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--fb-text);
}

.archive-year {
    margin-bottom: 4px;
}

.archive-year-link {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #050505;
    text-decoration: none;
    transition: all 0.2s ease;
    background: transparent;
}

.archive-year-link:hover {
    background-color: #f0f2f5;
    transform: translateX(2px);
}

.archive-year-link .year-label {
    color: #050505;
}

.archive-year-link .post-count {
    color: #65676b;
    font-size: 13px;
    font-weight: 400;
}

.archive-months {
    display: none;
    padding-left: 12px;
    margin-top: 4px;
}

.archive-months.show {
    display: block;
}

.archive-month-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 12px;
    color: var(--fb-dark-gray);
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background-color 0.2s;
}

.archive-month-link:hover {
    background-color: var(--fb-gray);
    color: var(--fb-blue);
}

.archive-month-link .post-count {
    font-size: 12px;
    color: var(--fb-dark-gray);
}

.main-content {
    flex: 1;
    min-width: 0;
}

@media (max-width: 768px) {
    .main-layout {
        flex-direction: column;
    }

    .archive-sidebar {
        width: 100%;
        position: static;
        max-height: none;
    }
}

/* Header Styles */
.site-header {
    background-color: var(--fb-white);
    border-bottom: 1px solid var(--fb-border);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
}

.site-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--fb-blue);
    text-decoration: none;
}

/* Filter Bar */
.filter-bar {
    background-color: var(--fb-white);
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.filter-toggle {
    width: 100%;
    text-align: left;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toggle-icon {
    font-size: 12px;
    transition: transform 0.3s;
}

.filter-content {
    margin-top: 16px;
}

/* Post Stats */
.post-stats {
    background-color: var(--fb-white);
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: var(--fb-dark-gray);
    font-size: 14px;
    font-weight: 500;
}

.filter-section {
    margin-bottom: 12px;
}

.filter-section:last-child {
    margin-bottom: 0;
}

.filter-section label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--fb-dark-gray);
    font-size: 14px;
}

.filter-section input[type="text"],
.filter-section input[type="date"],
.filter-section select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--fb-border);
    border-radius: 6px;
    font-size: 15px;
    background-color: var(--fb-gray);
}

.filter-section input[type="text"]:focus,
.filter-section input[type="date"]:focus,
.filter-section select:focus {
    outline: none;
    border-color: var(--fb-blue);
    background-color: var(--fb-white);
}

.filter-buttons {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background-color: var(--fb-blue);
    color: white;
}

.btn-primary:hover {
    background-color: #166fe5;
}

.btn-secondary {
    background-color: var(--fb-gray);
    color: #050505;
}

.btn-secondary:hover {
    background-color: #d8dadf;
}

.view-toggle {
    display: flex;
    gap: 8px;
}

.view-btn {
    padding: 8px 12px;
    background-color: var(--fb-gray);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

.view-btn.active {
    background-color: var(--fb-blue);
    color: white;
}

/* Feed/List View */
.posts-feed {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.post-card {
    background-color: var(--fb-white);
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.post-header {
    padding: 12px 16px;
    border-bottom: 1px solid var(--fb-gray);
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-date {
    color: var(--fb-dark-gray);
    font-size: 13px;
}

.post-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.category-badge {
    background-color: var(--fb-gray);
    color: var(--fb-dark-gray);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    text-decoration: none;
}

.category-badge:hover {
    background-color: #d8dadf;
}

.post-content {
    padding: 16px;
}

.post-text {
    font-size: 15px;
    margin-bottom: 12px;
    white-space: pre-wrap;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.post-media {
    margin-top: 12px;
}

.post-media img,
.post-media video {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.post-media video {
    width: 100%;
}

.post-media iframe,
.post-media embed,
.post-media object {
    max-width: 100%;
    width: 100%;
    height: auto;
}

.post-footer {
    padding: 8px 16px;
    border-top: 1px solid var(--fb-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.read-more {
    color: var(--fb-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.read-more:hover {
    text-decoration: underline;
}

.share-buttons {
    display: flex;
    gap: 8px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.share-btn svg {
    flex-shrink: 0;
}

.share-facebook {
    background-color: #1877f2;
    color: white;
}

.share-facebook:hover {
    background-color: #0d65d9;
}

.share-x {
    background-color: #000000;
    color: white;
}

.share-x:hover {
    background-color: #333333;
}

.share-whatsapp {
    background-color: #25d366;
    color: white;
}

.share-whatsapp:hover {
    background-color: #1fb855;
}

.post-date {
    color: var(--fb-dark-gray);
    text-decoration: none;
}

.post-date:hover {
    text-decoration: underline;
}

/* Profile Page Styles */
.profile-container {
    max-width: none !important;
    padding: 0 !important;
    overflow-x: hidden;
    width: 100%;
}

/* Cover Photo */
.profile-cover {
    width: 100%;
    height: 400px;
    background-color: var(--fb-gray);
    overflow: hidden;
}

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

.profile-cover-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Profile Header */
.profile-header-container {
    background-color: var(--fb-white);
    border-bottom: 1px solid var(--fb-border);
    position: sticky;
    top: 0;
    z-index: 10;
}

.profile-header {
    max-width: 1250px;
    margin: 0 auto;
    padding: 8px 32px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.profile-header-left {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.profile-picture {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    margin-top: -60px;
    background-color: var(--fb-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
}

.profile-picture img,
.profile-picture-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-picture-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 52px;
    font-weight: bold;
}

.profile-info {
    padding-bottom: 4px;
    text-decoration: none;
    color: inherit;
}

.profile-name {
    font-size: 28px;
    font-weight: bold;
    color: var(--fb-text);
    margin: 0 0 2px 0;
}

.profile-bio {
    font-size: 14px;
    color: var(--fb-dark-gray);
    margin: 0;
}

.profile-header-right {
    display: flex;
    gap: 8px;
    padding-bottom: 4px;
}

.btn-message {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background-color: var(--fb-blue);
    color: white;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: background-color 0.2s;
}

.btn-message:hover {
    background-color: #166fe5;
}

/* Navigation Tabs */
.profile-nav-container {
    background-color: var(--fb-white);
    border-bottom: 1px solid var(--fb-border);
}

.profile-nav {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    gap: 8px;
}

.profile-nav-item {
    padding: 16px 16px 12px 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--fb-dark-gray);
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: background-color 0.2s;
    border-radius: 4px 4px 0 0;
}

.profile-nav-item:hover {
    background-color: var(--fb-gray);
}

.profile-nav-item.active {
    color: var(--fb-blue);
    border-bottom-color: var(--fb-blue);
}

/* Profile Content */
.profile-content {
    max-width: 1250px;
    margin: 20px auto 0;
    padding: 0 32px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
}

.profile-sidebar {
    width: 360px;
    flex-shrink: 0;
}

.profile-main {
    flex: 1;
    max-width: 680px;
    min-width: 0;
    overflow: hidden;
}

/* Profile Card */
.profile-card {
    background-color: var(--fb-white);
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    margin-bottom: 16px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.profile-card h3 {
    font-size: 20px;
    font-weight: bold;
    color: var(--fb-text);
    margin: 0 0 16px 0;
}

.profile-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.profile-card-header h3 {
    margin: 0;
}

.see-all-link {
    color: var(--fb-blue);
    font-size: 15px;
    text-decoration: none;
    font-weight: 600;
}

.see-all-link:hover {
    text-decoration: underline;
}

/* Intro Items */
.intro-bio {
    font-size: 15px;
    color: var(--fb-text);
    margin: 0 0 16px 0;
}

.intro-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.intro-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--fb-text);
}

.intro-item svg {
    flex-shrink: 0;
    color: var(--fb-dark-gray);
}

.intro-item a {
    color: var(--fb-blue);
    text-decoration: none;
}

.intro-item a:hover {
    text-decoration: underline;
}

/* Photos Grid */
.photos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

.photo-thumb {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    display: block;
}

.photo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s;
}

.photo-thumb:hover img {
    transform: scale(1.05);
}

/* Create Post Box */
.create-post-box {
    background-color: var(--fb-white);
    border-radius: 8px;
    padding: 12px 16px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    margin-bottom: 16px;
}

.create-post-input {
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-picture-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.profile-picture-small img,
.profile-picture-small .profile-picture-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-picture-small .profile-picture-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 16px;
    font-weight: bold;
}

.create-post-text {
    flex: 1;
    padding: 10px 16px;
    background-color: var(--fb-gray);
    border-radius: 20px;
    color: var(--fb-dark-gray);
    text-decoration: none;
    font-size: 15px;
    display: block;
}

.create-post-text:hover {
    background-color: #e4e6eb;
}

/* Tab Content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Responsive */
@media (max-width: 1100px) {
    .profile-content {
        flex-direction: column;
    }

    .profile-sidebar {
        width: 100%;
        max-width: 680px;
    }
}

@media (max-width: 768px) {
    * {
        max-width: 100vw;
    }

    body {
        width: 100vw;
        overflow-x: hidden;
    }

    .profile-cover {
        height: 250px;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }

    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 16px 8px;
    }

    .profile-header-left {
        flex-direction: column;
        align-items: center;
    }

    .profile-picture {
        width: 120px;
        height: 120px;
        margin-top: -60px;
    }

    .profile-name {
        font-size: 24px;
    }

    .profile-content {
        padding: 0 8px !important;
        box-sizing: border-box;
        width: 100%;
        max-width: 100vw;
    }

    .profile-sidebar {
        width: 100% !important;
        padding: 0 !important;
        box-sizing: border-box;
    }

    .profile-main {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 !important;
        box-sizing: border-box;
    }

    .posts-feed {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
    }

    .post-card {
        margin: 0 0 16px 0 !important;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .post-content {
        padding: 12px;
        width: 100%;
        box-sizing: border-box;
    }

    .post-header {
        padding: 10px 12px;
    }

    .post-footer {
        padding: 8px 12px;
        flex-wrap: wrap;
    }

    .share-buttons {
        flex-wrap: wrap;
    }

    .photos-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .post-media {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden;
        box-sizing: border-box;
    }

    .post-media img,
    .post-media video,
    .post-media iframe {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .fb-shared-link {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .fb-shared-link img {
        max-width: 100% !important;
        width: 100% !important;
    }

    .profile-card {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 12px;
    }

    .create-post-box {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* Year and Month Dividers */
.year-divider {
    margin: 0 auto;
    text-align: center;
    max-width: 200px;
}

.year-divider h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--fb-dark-gray);
    margin: 0;
    padding: 6px 14px;
    background-color: var(--fb-gray);
    border-radius: 20px;
    display: inline-block;
}

.month-divider {
    margin: 20px 0 16px 0;
    padding: 8px 0;
    border-bottom: 2px solid var(--fb-border);
}

.month-divider h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--fb-dark-gray);
    margin: 0;
}

/* Shared Link Preview */
.fb-shared-link {
    margin-top: 12px;
    border: 1px solid var(--fb-border);
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--fb-white);
    direction: ltr;
    text-align: left;
}

/* Hide empty shared link divs */
.fb-shared-link:empty {
    display: none;
}

.fb-shared-link a {
    color: var(--fb-blue);
    text-decoration: none;
    word-break: break-all;
    direction: ltr;
}

.fb-shared-link a:hover {
    text-decoration: underline;
}

/* Rich link preview */
.fb-link-preview {
    display: block;
    text-decoration: none !important;
    color: inherit !important;
}

.fb-link-preview:hover {
    background-color: var(--fb-gray);
}

.fb-link-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: #f0f2f5;
}

.fb-link-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fb-link-content {
    padding: 12px;
}

.fb-link-title {
    font-weight: 600;
    font-size: 16px;
    color: var(--fb-text);
    margin-bottom: 4px;
    line-height: 1.3;
}

.fb-link-description {
    font-size: 14px;
    color: var(--fb-dark-gray);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fb-link-url {
    font-size: 12px;
    color: var(--fb-dark-gray);
    text-transform: uppercase;
}

/* Gallery View */
.posts-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

/* Gallery Grid - 3 columns on desktop */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    background-color: var(--fb-white);
}

.gallery-item-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
}

.gallery-item-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    padding: 12px;
    font-size: 12px;
}

.gallery-item:hover {
    transform: scale(1.02);
    transition: transform 0.2s;
}

/* Single Post View */
.single-post {
    background-color: var(--fb-white);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.single-post-header {
    margin-bottom: 20px;
}

.single-post-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.single-post-content {
    font-size: 16px;
    line-height: 1.8;
}

.single-post-share {
    margin-top: 24px;
    padding-top: 20px;
}

.single-post-share h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--fb-dark-gray);
}

.single-post-share .share-buttons {
    gap: 12px;
}

/* Hide default WordPress navigation */
.nav-links,
.navigation.post-navigation .nav-links {
    display: none !important;
}

.post-navigation {
    position: fixed;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 50;
    border: none;
    padding: 0;
    margin: 0;
}

.nav-arrow {
    position: absolute;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--fb-white);
    border-radius: 50%;
    color: var(--fb-dark-gray);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    pointer-events: auto;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-arrow:hover {
    background-color: var(--fb-blue);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.nav-prev {
    left: 20px;
}

.nav-next {
    right: 20px;
}

@media (max-width: 768px) {
    .nav-arrow {
        width: 44px;
        height: 44px;
    }

    .nav-prev {
        left: 10px;
    }

    .nav-next {
        right: 10px;
    }

    .nav-arrow svg {
        width: 24px;
        height: 24px;
    }
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 20px;
    color: var(--fb-dark-gray);
    font-size: 14px;
    margin-top: 40px;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 12px;
    }

    .posts-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

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

/* Loading spinner */
.loading {
    text-align: center;
    padding: 40px;
    color: var(--fb-dark-gray);
}

/* No results message */
.no-results {
    text-align: center;
    padding: 40px;
    background-color: var(--fb-white);
    border-radius: 8px;
    color: var(--fb-dark-gray);
}

.site-header {
    display: none;
}
.home>.profile-cover,
.home>.profile-header-container {
    display: none;
}
body:not(.home) .profile-cover {
    display: none;
}
.fb-post-navigation {
    display: none;
}

#posts-container .post-title a {
    color: #1c1e21;
    text-decoration: none;
    font-weight: 600;
}

/* Years Filter Toggle - Hidden on desktop, visible on mobile */
.years-filter-toggle {
    display: none;
    width: 100%;
    padding: 12px 16px;
    background-color: var(--fb-blue);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 12px;
    transition: background-color 0.2s;
    align-items: center;
    justify-content: space-between;
}

.years-filter-toggle:hover {
    background-color: #166fe5;
}

.years-filter-toggle .toggle-icon {
    font-size: 12px;
    transition: transform 0.3s;
}

.years-filter-toggle.active .toggle-icon {
    transform: rotate(180deg);
}

/* Years filter content */
.years-filter-content {
    display: block;
}

/* Mobile styles */
@media (max-width: 1100px) {
    .years-filter-toggle {
        display: flex;
    }

    .years-filter-content {
        display: none;
    }

    .years-filter-content.show {
        display: block;
    }
}

/* About Tab Styles */
.about-bio-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #050505;
    font-style: italic;
    text-align: center;
    padding: 1rem;
    background: #f0f2f5;
    border-radius: 8px;
    margin: 0;
}

.family-members {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.family-member-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: #f0f2f5;
    border-radius: 20px;
    font-size: 0.9rem;
}

.family-member-name {
    font-weight: 500;
    color: #050505;
}

.family-member-relation {
    color: #65676b;
    font-size: 0.8rem;
}

.movies-grid-about {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
}

.movie-item-about {
    text-align: center;
}

.movie-poster-about {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.movie-poster-placeholder-about {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e4e6eb;
    font-size: 2rem;
}

.movie-title-about {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #050505;
    line-height: 1.3;
}

@media (max-width: 600px) {
    .movies-grid-about {
        grid-template-columns: repeat(3, 1fr);
    }
}
