/* ==========================================================================
   Articles & Blog Page Styles
   Website: เกมส์งานวัด.net
   Generated for optimized SEO & browser caching
   ========================================================================== */

:root {
            --brand-primary: #d32f2f;
            --brand-secondary: #f57c00;
            --brand-yellow: #ffc107;
            --brand-dark: #1f1b2e;
            --brand-light: #fff8f0;
        }

        body {
            font-family: 'Sarabun', sans-serif;
            color: #2b2b2b;
            background-color: #fbf9f5;
            font-size: 1.05rem;
            line-height: 1.7;
        }

        h1, h2, h3, h4, h5, h6, .font-heading {
            font-family: 'Kanit', sans-serif;
            font-weight: 600;
        }

        /* Unified Centered Navbar moved to css/awakegame.css */

        /* Article Header / Breadcrumb */
        .article-page-top {
            padding-top: 95px;
            background: #ffffff;
            border-bottom: 1px solid #ebe5dc;
        }
        .breadcrumb-nav {
            padding: 12px 0;
            font-size: 0.95rem;
        }
        .breadcrumb-nav a {
            color: #666;
            text-decoration: none;
        }
        .breadcrumb-nav a:hover {
            color: var(--brand-primary);
        }
        .breadcrumb-nav span.active {
            color: var(--brand-primary);
            font-weight: 600;
        }

        /* Article Wrapper */
        .article-card-main {
            background: #ffffff;
            border-radius: 16px;
            padding: 35px 30px;
            border: 1px solid #ebe5dc;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
            margin-bottom: 30px;
        }
        @media (max-width: 768px) {
            .article-card-main {
                padding: 22px 18px;
            }
        }

        /* Single H1 Title */
        .article-title-single {
            font-size: clamp(1.65rem, 3.5vw, 2.2rem);
            line-height: 1.35;
            color: #1a162b;
            font-weight: 700;
            margin-bottom: 16px;
        }

        .article-meta-bar {
            display: flex;
            flex-wrap: wrap;
            gap: 18px;
            font-size: 0.95rem;
            color: #777777;
            padding-bottom: 18px;
            margin-bottom: 25px;
            border-bottom: 1px solid #f0eae1;
        }
        .article-meta-bar span i {
            color: var(--brand-secondary);
            margin-right: 5px;
        }

        /* Featured Image Container */
        .featured-image-wrap {
            position: relative;
            width: 100%;
            border-radius: 14px;
            overflow: hidden;
            margin-bottom: 30px;
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
            background: #f5f2eb;
        }
        .featured-image-wrap img {
            width: 100%;
            max-height: 480px;
            object-fit: cover;
            display: block;
        }

        /* Rich Content Styling (Supports AI-generated HTML) */
        .article-content-body {
            font-size: 1.05rem;
            color: #333333;
            line-height: 1.75;
        }
        .article-content-body h2 {
            font-size: 1.35rem;
            color: #1f1b2e;
            margin-top: 32px;
            margin-bottom: 15px;
            padding-bottom: 8px;
            border-bottom: 2px solid #ffd54f;
        }
        .article-content-body h3 {
            font-size: 1.15rem;
            color: var(--brand-primary);
            margin-top: 24px;
            margin-bottom: 12px;
        }
        .article-content-body p {
            margin-bottom: 18px;
        }
        .article-content-body ul, .article-content-body ol {
            padding-left: 25px;
            margin-bottom: 20px;
        }
        .article-content-body li {
            margin-bottom: 8px;
        }
        .article-content-body blockquote {
            background: #fff8e1;
            border-left: 5px solid var(--brand-yellow);
            padding: 15px 20px;
            border-radius: 4px;
            font-style: italic;
            margin: 25px 0;
        }

        /* In-Article CTA Box */
        .article-cta-box {
            background: linear-gradient(135deg, #fff3e0 0%, #ffebee 100%);
            border: 2px dashed #f57c00;
            border-radius: 12px;
            padding: 25px;
            margin: 40px 0 25px;
            text-align: center;
        }
        .article-cta-box h3 {
            font-size: 1.25rem;
            color: #b71c1c;
            margin-bottom: 10px;
        }

        /* Share & Back buttons */
        .article-footer-actions {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 15px;
            padding-top: 25px;
            margin-top: 30px;
            border-top: 1px solid #f0eae1;
        }

        /* Sidebar Widgets */
        .sidebar-widget {
            background: #ffffff;
            border-radius: 14px;
            padding: 24px;
            border: 1px solid #ebe5dc;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
            margin-bottom: 25px;
        }
        .widget-title {
            font-size: 1.25rem;
            color: #1f1b2e;
            padding-bottom: 12px;
            margin-bottom: 18px;
            border-bottom: 2px solid #ffd54f;
        }
        .sidebar-recent-item {
            display: flex;
            gap: 14px;
            margin-bottom: 16px;
            padding-bottom: 14px;
            border-bottom: 1px solid #f4f0e8;
        }
        .sidebar-recent-item:last-child {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: none;
        }
        .sidebar-recent-thumb {
            width: 75px;
            height: 60px;
            border-radius: 8px;
            object-fit: cover;
            flex-shrink: 0;
        }
        .sidebar-recent-info h4 {
            font-size: 1.05rem;
            line-height: 1.35;
            margin-bottom: 4px;
        }
        .sidebar-recent-info a {
            color: #333;
            text-decoration: none;
            transition: color 0.2s;
        }
        .sidebar-recent-info a:hover {
            color: var(--brand-primary);
        }
        .sidebar-recent-date {
            font-size: 0.9rem;
            color: #888;
        }

        /* Footer & Floating Contact Buttons moved to css/awakegame.css */
