/* --- Layout Grid (แบ่งซ้าย 70% ขวา 30%) --- */
.grid-layout-sidebar {
    display: grid;
    grid-template-columns: 2fr 1fr; /* ข่าว 2 ส่วน, Sidebar 1 ส่วน */
    gap: 40px;
}

@media (max-width: 992px) {
    .grid-layout-sidebar {
        grid-template-columns: 1fr; /* จอเล็กเหลือคอลัมน์เดียว */
    }
}

/* --- Breadcrumb --- */
.breadcrumb-section {
    background: #f9f9f9;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}
.breadcrumb {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}
.breadcrumb li::after {
    content: "/";
    margin: 0 10px;
    color: #ccc;
}
.breadcrumb li:last-child::after {
    content: "";
}
.breadcrumb a {
    text-decoration: none;
    color: #666;
}
.breadcrumb span {
    color: #D16F50; /* สีธีม */
}

/* --- News Header --- */
.news-header { margin-bottom: 24px; }
.news-category {
    background: #D16F50;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 10px;
}
.news-header h1 {
    font-size: 2.2rem;
    line-height: 1.3;
    margin: 10px 0;
    color: #333;
}
.news-meta {
    font-size: 0.9rem;
    color: #888;
}
.news-meta span { margin-right: 15px; }
.news-meta i { margin-right: 5px; }

/* --- Featured Image --- */
.news-featured-image {
    margin: 0 0 30px 0;
    border-radius: 8px;
    overflow: hidden;
}
.news-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Content Body (สำคัญมากสำหรับการอ่าน) --- */
.news-content-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}
.news-content-body p { margin-bottom: 20px; }
.news-content-body h3 {
    font-size: 1.5rem;
    color: #222;
    margin-top: 40px;
    margin-bottom: 20px;
    border-left: 4px solid #D16F50;
    padding-left: 15px;
}
.news-content-body ul {
    margin-bottom: 20px;
    padding-left: 20px;
}
.news-content-body li { margin-bottom: 10px; }
.news-content-body .lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: #333;
}
/* Quote */
.news-content-body blockquote {
    background: #fdf2f0; /* สีธีมจางๆ */
    border-left: 5px solid #D16F50;
    margin: 30px 0;
    padding: 20px;
    font-style: italic;
    font-size: 1.2rem;
    color: #555;
}

/* --- Share Section --- */
.news-share {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}
.share-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 0.2rem;
}

.fab {
    font-size: 0.2rem;
}

.share-btn.fb { background: #3b5998; }
.share-btn.line { background: #00c300; }
.share-btn.in { background: #0A66C2; }

/* --- Sidebar --- */
.sidebar-sticky {
    position: sticky;
    top: 20px; /* ให้ Sidebar เลื่อนตามเมื่อ Scroll */
}
.widget {
    background: #fff;
    border: 1px solid #eee;
    padding: 24px;
    border-radius: 8px;
    margin-bottom: 30px;
}
.widget h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    border-bottom: 2px solid #D16F50;
    padding-bottom: 10px;
    display: inline-block;
}

/* Widget: Category */
.category-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.category-widget li {
    border-bottom: 1px solid #f0f0f0;
}
.category-widget li a {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    text-decoration: none;
    color: #555;
    transition: 0.2s;
}
.category-widget li a:hover { color: #D16F50; padding-left: 5px; }

/* Widget: Recent News */
.recent-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}
.recent-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
}
.recent-item a {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    line-height: 1.4;
    display: block;
    margin-bottom: 5px;
}
.recent-item .date {
    font-size: 0.8rem;
    color: #888;
}