/*
 Theme Name:   Twenty Fourteen Child
 Description:  ธีมลูกสำหรับปรับแต่ง Grid 2 คอลัมน์ และระบบสุ่มบทความ
 Author:       Your Name
 Template:     twentyfourteen
 Version:      1.0.0
*/

/* เขียน CSS เพิ่มเติมต่อท้ายตรงนี้ได้เลย */


/* 1.*/
body, .site, .site-content .entry-header, .site-content .entry-content, 
.site-content .entry-summary, .site-content .entry-meta, .page-content {
    background-color: #1a1a1a !important;
    color: #e0e0e0 !important;
}

/* 2.*/
.site-header {
    background-color: #000000 !important;
}

/* 3.*/
.site-before-content, .secondary-navigation, .primary-navigation, 
#secondary, #supplementary {
    background-color: #121212 !important;
    border-color: #333 !important;
}

/* 4*/
a, .entry-title a, .widget-title, .widget a {
    color: #ffffff !important;
}

a:hover {
    color: #248cc8 !important; /* สีฟ้าเมื่อเอาเมาส์ชี้ */
}

/* 5*/
.custom-grid-item {
    background-color: #1a1a1a !important; /* สีเทาเข้มกว่าพื้นหลังเล็กน้อย */
    border: 1px solid #1a1a1a !important;
    padding: 15px !important;
    border-radius: 4px;
}

/* 6.*/
.site-footer {
    background-color: #000000 !important;
    border-top: 1px solid #333 !important;
}

/* 7.*/
input, textarea {
    background-color: #333 !important;
    color: #fff !important;
    border: 1px solid #444 !important;
}

button, .button, input[type="submit"] {
    background-color: #248cc8 !important;
    color: #fff !important;
}

/* 8.*/
.featured-content, .featured-content .entry-header {
    background-color: #000 !important;
}

/* ฟอนต์ * /

/*  */
body, input, button, select, textarea {
    font-family: 'Sarabun', sans-serif; 
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 18px;
    line-height: 1.6;
}

/* */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

h1 { font-size: 1.5rem !important; }
h2 { font-size: 1.4rem !important; }
h3 { font-size: 1.3rem !important; }

/*  */
@media (max-width: 782px) {
    body {
        font-size: 18px;
    }
    h1 { font-size: 1.3rem !important; }
    h2 { font-size: 1.3rem !important; }
}

