/* ==========================================
   POSTS - BLOG CONTENT
========================================== */
.latest-posts {
    padding: 80px 0 100px;
    background: #f7f5f0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-tag {
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #999;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.section-title span {
    color: #c0392b;
    font-style: italic;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.post-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    opacity: 0;
    transform: translateY(40px);
}

.post-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.post-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

.post-thumbnail {
    overflow: hidden;
    position: relative;
}

.post-thumbnail img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-category {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(10px); /* Safari 9+, iOS 9+ */
    backdrop-filter: blur(10px);
    padding: 6px 16px;
    border-radius: 100px;
}

.post-content {
    padding: 28px;
}

.post-meta {
    font-size: 12px;
    color: #bbb;
    font-weight: 300;
    display: flex;
    gap: 16px;
    margin-bottom: 8px;
}

.post-meta i {
    margin-right: 4px;
    color: #c0392b;
}

.post-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.3;
}

.post-content h3 a {
    transition: color 0.3s ease;
    color: inherit;
}

.post-content h3 a:hover {
    color: #c0392b;
}

.post-content p {
    font-size: 14px;
    color: #888;
    line-height: 1.6;
    font-weight: 300;
    margin-bottom: 12px;
}

.read-more {
    font-size: 13px;
    font-weight: 400;
    color: #c0392b;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 12px;
}

.no-posts {
    text-align: center;
    padding: 60px 0;
    color: #999;
    font-size: 16px;
}

/* Categories Section */
.categories-section {
    padding: 80px 0;
    background: #fff;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.category-card {
    text-align: center;
    padding: 40px 20px;
    background: #f7f5f0;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.category-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.category-card .icon {
    font-size: 36px;
    color: #c0392b;
    display: block;
    margin-bottom: 12px;
}

.category-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.category-card p {
    font-size: 13px;
    color: #999;
    font-weight: 300;
}

/* About Section */
.about-blog {
    padding: 80px 0;
    background: #1a1a1a;
    color: rgba(255, 255, 255, 0.7);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: #fff;
    margin-bottom: 16px;
}

.about-content h2 span {
    color: #c0392b;
    font-style: italic;
}

.about-content p {
    font-size: 16px;
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 12px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.about-stat {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.about-stat .number {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: #c0392b;
    display: block;
}

.about-stat .label {
    font-size: 12px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-images img {
    border-radius: 12px;
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.about-images img:nth-child(2) { margin-top: 20px; }
.about-images img:nth-child(4) { margin-top: 20px; }

@media (max-width: 991px) {
    .posts-grid { grid-template-columns: repeat(2, 1fr); }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 576px) {
    .posts-grid { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: 1fr 1fr; }
    .about-images { grid-template-columns: 1fr 1fr; }
    .about-images img { height: 120px; }
    .section-title { font-size: 30px; }
}