@import url('https://fonts.googleapis.com/css2?family=Sarabun:wght@400;600;700&display=swap');

:root {
    /* Primary Red System */
    --brand: #cc0000;
    /* Primary Red */
    --brand-dark: #a30000;
    /* Darker */
    --brand-light: #e64545;
    /* Lighter */

    /* Background & Border Tones */
    --note-bg: rgba(204, 0, 0, 0.05);
    --note-border: rgba(204, 0, 0, 0.25);
    --promo-bg: rgba(204, 0, 0, 0.02);
    --promo-border: rgba(204, 0, 0, 0.25);
    --border: rgba(0, 0, 0, 0.06);
    --bg: rgba(204, 0, 0, 0.028);

    /* Neutral Text Colors */
    --text: #1c1c1c;
    /* Black */
    --muted: #737373;
    /* Gray */
    --heading-color: #1c1c1c;
    /* Black */
    --subheading-color: #737373;
    /* Gray */

    /* Light Neutral */
    --light-gray: #dedede;
    --white: #ffffff;

    /* Chips */
    --chip-bg: rgba(204, 0, 0, 0.06);
    --chip-border: rgba(204, 0, 0, 0.25);
}


/* =======GENERIC UTILS============ */
.scroll-y {
    height: 1024px;
    overflow-y: auto;
    padding: 20px;
}

/* .home_content_left {
    width: 100% !important;
} */

.topic_article {
    padding-left: 20px;
}

/* ===============PRIVACY SECTION========== */
.privacy-section {
    margin: 0;
    padding: 0 20px 20px 20px;
    font-family: 'Sarabun', system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans Thai", sans-serif;
}

.privacy-icon {
    font-size: 24px;
    margin-right: 0.75rem;
    vertical-align: middle;
    color: var(--brand);
}

.privacy-header {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--heading-color);
    margin: 0 0 1.5rem;
    display: inline-block;
}

.privacy-content {
    line-height: 1.8;
    color: var(--muted);
    font-size: 1rem;
}

.privacy-content p {
    margin: 0 0 1rem;
}

.privacy-content strong {
    font-weight: 600;
    color: var(--text);
}

.privacy-section h2 {
    font-size: clamp(1.25rem, 1.2vw + 0.5rem, 1.25rem);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-family: 'Sarabun', sans-serif;
    color: var(--brand);
    font-weight: 700;
}

h2.topic_article {
    font-size: clamp(1.25rem, 1.2vw + 0.5rem, 1.65rem);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-family: 'Sarabun', sans-serif;
    color: var(--brand);
    font-weight: 700;
}

.privacy-section h2 span {
    font-family: 'Sarabun', sans-serif;
    font-weight: 700;
    font-size: clamp(1.25rem, 1.2vw + 0.5rem, 1.25rem);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

/* à¸”à¸µà¸à¸§à¹ˆà¸² nth-child(odd/even): à¸à¸³à¸«à¸™à¸”à¸Šà¸±à¸”à¹€à¸ˆà¸™à¸•à¸±à¸§à¹à¸£à¸/à¸•à¸±à¸§à¸«à¸¥à¸±à¸‡ */
.privacy-section h2 span:first-of-type {
    color: var(--brand);
    width: 35px;
    /* à¸Šà¹ˆà¸­à¸‡à¹€à¸¥à¸‚à¸«à¸±à¸§à¸‚à¹‰à¸­ */
    flex: 0 0 35px;
}

.privacy-section h2 span:last-of-type {
    color: var(--brand);
    width: auto;
    /* à¸‚à¹‰à¸­à¸„à¸§à¸²à¸¡à¸«à¸±à¸§à¸‚à¹‰à¸­ */
    flex: 1 1 auto;
}

.privacy-section p {
    color: var(--text);
    line-height: 1.8;
    margin: 0;
}

.privacy-section strong {
    color: var(--heading-color);
    font-weight: 600;
}

/* à¹€à¸¥à¹€à¸¢à¸­à¸£à¹Œà¸¥à¸´à¸ªà¸•à¹Œà¸¢à¹ˆà¸­à¸¢ */
.s-one,
.s-two,
.s-three,
.s-four {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 15px;
}

.s-one {
    margin-left: 40px;
}

.s-two {
    margin-left: 70px;
}

.s-three {
    margin-left: 100px;
}

.s-four {
    margin-left: 82px;
}

/* =========CONTACT FLEX (à¹„à¸­à¸„à¸­à¸™ + à¸¥à¸´à¸‡à¸à¹Œ) - 1 ROW 2 COLUMNS==================== */
.contact-flex {
    font-family: 'Sarabun', system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans Thai", sans-serif;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* â† à¹à¸à¹‰à¸ˆà¸²à¸ 3 à¹€à¸›à¹‡à¸™ 2 */
    gap: 12px;
    padding: 16px 20px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .04);
    color: var(--text);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--chip-bg);
    border: 1px solid var(--chip-border);
    min-height: 44px;
}

.contact-item i {
    font-size: 18px;
    color: var(--brand);
    flex: 0 0 auto;
}

.contact-text {
    line-height: 1.45;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    font-size: 14px;
}

.contact-text .label {
    font-weight: 600;
    color: var(--text);
    margin-bottom: .15rem;
}

.contact-text a {
    color: var(--brand);
    text-decoration: none;
    font-weight: 600;
    word-break: break-word;
}

.contact-text a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-flex {
        grid-template-columns: 1fr;
        /* à¹€à¸«à¸¥à¸·à¸­ 1 à¸„à¸­à¸¥à¸±à¸¡à¸™à¹Œà¹ƒà¸™à¸ˆà¸­à¹€à¸¥à¹‡à¸ */
        padding: 12px;
    }
}

/* Browser grid */
.browser-grid {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

@media (min-width: 680px) {
    .browser-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 980px) {
    .browser-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.browser-card {
    position: relative;
    display: grid;
    grid-template-columns: 44px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--chip-border);
    background: #fff;
    border-radius: 14px;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .04);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.browser-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(228, 0, 0, .12);
    border-color: var(--brand);
    border: 1px solid var(--brand);
    text-decoration: none;
}

.browser-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--chip-bg);
    color: var(--brand);
    font-size: 20px;
}

.browser-info h3 {
    margin: 0;
    color: var(--heading-color);
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
    font-family: 'Sarabun';
    letter-spacing: 0;
}

.browser-info .chip {
    display: inline-block;
    font-size: .82rem;
    padding: 4px 8px;
    border: 1px solid var(--chip-border);
    background: var(--chip-bg);
    color: var(--brand-dark);
    border-radius: 999px;
    font-weight: 600;
}

.browser-cta {
    color: var(--brand);
    opacity: .9;
    transition: transform .2s ease;
}

.browser-card:hover .browser-cta {
    transform: translateX(2px);
}

/* Small help line */
.cookie-small {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    color: var(--muted);
    font-size: .95rem;
}

.cookie-small i {
    color: var(--brand);
}