/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Mar 10 2026 | 08:15:13 */
/* --- 1. Variables & Global Settings --- */
:root {
    --primary-color: #D42030;
    --secondary-color: #E58B31;
    --text-dark: #282825;
    --text-light: #ffffff;
    --transition: all 0.4s ease;
    --h1: 2.30rem;
    --h2: 2rem;
    --h3: 1.6rem;
    --title: 1.4rem;
    --body: 1rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --- 2. Typography --- */
body, p, li {
    font-family: 'prompt', sans-serif;
    font-size: var(--body);
    line-height: 1.5rem;
}

.thai-text {
  font-variant-ligatures: normal;
  font-feature-settings: "liga" on, "mkmk" on;
  -webkit-font-feature-settings: "liga" on, "mkmk" on;
}

h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
a { font-size: var(--body); }

.title { font-size: var(--title); }

/* --- 3. Layout Components --- */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.padding {
    padding: 12px 0;
}

.grid {
    display: grid;
    gap: 24px;
}

.grid--2-cols { grid-template-columns: repeat(2, 1fr); }
.grid--3-cols { grid-template-columns: repeat(3, 1fr); }
.grid--4-cols { grid-template-columns: repeat(4, 1fr); }

/* Logo */
.logo {
    font-size: 2rem;
    font-weight: 700;
    color: #fff; /* สีขาวตอนอยู่บนรูป */
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
}

.image-container {
    max-width: 1140px;
    min-height: 100px;  
}

@media (max-width: 992px) {
    .grid--3-cols.image-container {
        grid-template-columns: 1fr;
    }
}

.crop-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; /*เลือกจุดครอบ center, top, bottom*/
    cursor: pointer;
}

.photo-cover {
    max-width: 1140px;
    max-height: 640px;
}