/* ==========================================================================
   SINGLE POST STYLES
   ========================================================================== */

/* 1. Entry Header & Content */
.single-post-view .entry-header { margin: 50px 0; text-align: center; }
.single-post-view .entry-title { font-size: 2.5rem; margin-bottom: 15px; color: #222; }
.post-thumbnail-large img { border-radius: 8px; width: 100%; margin-bottom: 40px; }

.entry-content { font-size: 1.125rem; line-height: 1.8; color: #2c2c2c; }
.entry-content p { margin-bottom: 1.5em; }

/* Fix Content Lists (คืนค่า Bullet) */
.entry-content ul, .entry-content ol { margin-bottom: 1.5em; padding-left: 40px; }
.entry-content ul { list-style: disc; } 
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: 0.5em; padding: 0; }

.entry-content blockquote { border-left: 4px solid var(--primary-color); margin: 2em 0; padding: 1em 2em; background: #fff; font-style: italic; color: #555; }
.entry-footer { margin-top: 50px; padding-top: 20px; border-top: 1px solid var(--border-color); }

/* Capsule Links */
.single-capsule-container { text-align: center; margin: 20px 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.single-capsule-container.top { margin-bottom: 30px; }
.single-capsule-container.bottom { margin-top: 0; padding-top: 0; border-top: none; }
.capsule-link { display: inline-block; background: var(--primary-color); color: #fff; padding: 6px 15px; border-radius: 20px; font-size: 0.9rem; font-weight: 500; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.capsule-link:hover { background: var(--primary-hover); color: #fff; transform: translateY(-2px); }
.capsule-link.tag-style { background: #f0f0f0; color: #555; } 
.capsule-link.tag-style:hover { background: var(--primary-color); color: #fff; }

/* 2. GIGA DOWNLOAD BUTTON (v6.1 Design) */
#download.f0nt-dl-wrapper { background: transparent; padding: 40px 0; margin: 60px auto; text-align: center; width: 100%; border: none; box-shadow: none; }
.dl-notice { font-size: 0.9rem; color: #999; margin-bottom: 25px; }

.dl-btn-hero { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 50px; 
    background: var(--primary-color); 
    color: #fff !important; 
    text-decoration: none; 
    padding: 40px 60px; 
    width: 95%; 
    margin: 0 auto; 
    border-radius: 999px; /* แคปซูล */
    transition: all 0.3s; 
    box-shadow: none; /* แบบ Flat */
    border: 4px solid rgba(255,255,255,0.2); 
}
.dl-btn-hero:hover { transform: translateY(-5px) scale(1.01); background: #d63c58; }

/* Icon Zone */
.hero-left-col { display: flex; flex-direction: column; align-items: center; text-align: center; border-right: 1px solid rgba(255,255,255,0.3); padding-right: 40px; }
.hero-icon i { 
    font-size: 4.5rem; 
    line-height: 1; 
    text-shadow: 3px 3px 0 rgba(0,0,0,0.03); 
    margin-bottom: 10px; 
    animation: floating 1s ease-in-out infinite; 
}
@keyframes floating { 0% { transform: translateY(0px); } 50% { transform: translateY(-5px); } 100% { transform: translateY(0px); } }
.hero-stats-text { font-size: 0.9rem; font-weight: 300; opacity: 0.9; }

/* Text Zone */
.hero-right-col { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.hero-title { 
    font-size: 2.5rem; 
    font-weight: 900; 
    line-height: 1.25; 
    margin-bottom: 20px; 
    letter-spacing: -1px; 
    text-shadow: 2px 2px 0 rgba(0,0,0,0.1); 
}
.hero-fontname { font-size: 1rem; font-weight: 300; font-style: italic; opacity: 0.95; line-height: 0.5; margin-bottom: 0; }
.hero-author { font-size: 1.1rem; font-weight: 300; font-style: italic; opacity: 0.9; }

.downloaddesc { display: block; margin-top: 25px; color: #aaa; font-size: 1.1rem; max-width: 80%; margin-left: auto; margin-right: auto; }

/* 3. AUTHOR INFO WIDGET (Sidebar) */
/* ย้ายมาอยู่ไฟล์นี้เพราะ Widget นี้แสดงเฉพาะหน้า Single */
.widget.author-info-widget { 
    background: #f0f0f0; 
    color: #333; 
    border: 1px solid #e0e0e0; 
    box-shadow: none; 
    text-align: center; 
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
}
.widget-title-small { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: #777; margin-bottom: 10px; border: none; padding: 0; }

/* Avatar */
.sidebar-author-avatar { margin-bottom: 20px; display: flex; justify-content: center; }
.sidebar-author-avatar img.avatar { 
    width: 120px !important; height: 120px !important; 
    border-radius: 50% !important; 
    border: 4px solid #fff !important; 
    box-shadow: none; 
    display: block; 
}

/* Author Name */
.author-highlight { margin: 15px 0 25px; padding: 0 10px; }
.author-highlight a { 
    font-size: 2rem; 
    font-weight: 800; 
    color: #333; 
    line-height: 1.3; 
    text-decoration: none; 
    display: block; 
}
.author-highlight a:hover { color: var(--primary-color); }

.sidebar-author-bio { font-size: 0.95rem; color: #666; margin-bottom: 20px; line-height: 1.5; }
.sidebar-author-socials { margin-bottom: 30px; }

/* Fonts List in Widget */
.author-fonts-list { padding: 0; margin: 0; list-style: none; }
.author-fonts-list li { padding: 15px 0; border-bottom: 1px solid #ccc; display: flex; flex-direction: column; gap: 10px; }
.other-font-thumb img { border-radius: 6px; width: 100%; transition: transform 0.3s; opacity: 0.8; }
.other-font-thumb:hover img { transform: scale(1.05); opacity: 1; }
.other-font-title { color: #555; font-size: 1rem; font-weight: 500; transition: color 0.2s; }
.other-font-title:hover { color: var(--primary-color); }
.view-all-author { display: inline-block; margin-top: 20px; font-size: 0.85rem; color: var(--primary-color); font-weight: bold; padding: 5px 15px; border: 1px solid var(--primary-color); border-radius: 20px; }
.view-all-author:hover { background: var(--primary-color); color: #fff; }

/* 4. SOCIAL SHARE */
.f0nt-share-zone { text-align: center; margin-top: 40px; padding: 20px; border-top: 1px solid #eee; border-bottom: 1px solid #eee; background: #fdfdfd; border-radius: 8px; }
.share-buttons { display: flex; justify-content: center; gap: 10px; }
.share-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; font-size: 1.2rem; transition: transform 0.2s; }
.share-btn:hover { transform: translateY(-3px); opacity: 0.9; color: #fff; }
.share-btn.fb { background: #1877f2; } 
.share-btn.tw { background: #1da1f2; } 
.share-btn.line { background: #00c300; } 
.share-btn.ig { background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); }

/* 5. RESPONSIVE */
@media (max-width: 991px) {
    .dl-btn-hero { flex-direction: column; padding: 40px 20px; gap: 20px; border-radius: 40px; text-align: center; width: 100%; }
    .hero-left-col { border-right: none; padding-right: 0; border-bottom: 1px solid rgba(255,255,255,0.3); padding-bottom: 20px; width: 100%; }
    .hero-right-col { align-items: center; text-align: center; }
    .hero-title { font-size: 2.2rem; }
    .author-social-container.layout-vertical { align-items: center; }
    .author-social-container.layout-vertical .social-item { width: 100%; justify-content: center; }
}