/* Custom CSS for Blog Template 11 */

/* Hero Slider */
.hero-gradient {
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 100%);
}

.swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
}
.swiper-pagination-bullet-active {
    opacity: 1;
    background: #8b7b6c;
}

/* Post Card (Vertical) */
.post-card {
    transition: all 0.4s ease;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    border: 1px solid #f0f0f0;
}

.post-card .img-container {
    overflow: hidden;
}

.post-card img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.post-card .title {
    transition: transform 0.4s ease, color 0.3s;
}

.post-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}

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

.post-card:hover .title {
    transform: translateY(-2px);
    color: #8b7b6c;
}

/* Post Card (Horizontal) */
.post-card-h {
    transition: all 0.3s ease;
}

.post-card-h .img-container {
    overflow: hidden;
}

.post-card-h img {
    transition: transform 0.6s ease;
}

.post-card-h:hover {
    background: #fafafa;
}

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

.post-card-h:hover .title {
    color: #8b7b6c;
}

/* Prose Styling (Article Content) */
.prose {
    line-height: 1.8;
    letter-spacing: 0.05em;
    font-size: 1rem;
    color: #333;
}
@media (min-width: 768px) {
    .prose {
        font-size: 1.05rem;
        line-height: 2.2;
    }
}
.prose h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}
@media (min-width: 768px) {
    .prose h2 { font-size: 1.875rem; }
}
.prose h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid #8b7b6c;
    padding-left: 0.75rem;
}
.prose p {
    margin-bottom: 2rem;
    color: #4b5563;
}
.prose img {
    border-radius: 0.5rem;
    margin: 3rem 0;
    width: 100%;
}
.prose blockquote {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.15rem;
    color: #6b7280;
    border-left: 2px solid #8b7b6c;
    padding-left: 1.5rem;
    margin: 3rem 0;
    font-style: italic;
    background: #fafafa;
    padding: 2.5rem 2rem;
    border-radius: 0 0.5rem 0.5rem 0;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.8s ease forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
