:root {
    --primary-color: #80A8FF;
    --secondary-color: #00c7ff;
    --accent-color: #00f0ca;
}

body {
    font-family: 'Sarabun', sans-serif;

    /* Polkar dot background */
    background-color: #fff;
    opacity: 1;
    background-image: radial-gradient(#e1dfeb 0.9px, #fff 0.9px);
    background-size: 18px 18px;
}

/* Header */


@media (max-width: 4096px) {
    #header {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1.1rem;
        padding: 1.2rem 0;
    }

    #header img {
        width: 88px;
    }
}

@media (max-width: 768px) {
    #header {
        display: block;
        text-align: center;
    }

    #header img {
        width: 100px;
        margin-bottom: 0.7rem;
    }
}




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

.navbar {
    font-family: 'Kanit', sans-serif;
    background-color: #fafafa;
}

@media (max-width: 4096px) {
    #first-menu-margin {
        margin-left: 4rem;
    }
}

@media (max-width: 1399px) {
    #first-menu-margin {
        margin-left: 2rem;
    }
}

@media (max-width: 991px) {
    #first-menu-margin {
        margin-left: 0;
    }
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: auto;
}

.footer h5 {
    color: #fff;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #fafafa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.social-links a {
    display: inline-block;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.newsletter-form .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
}

.newsletter-form .form-control::placeholder {
    color: #ccc;
}

.newsletter-form .btn {
    background-color: var(--secondary-color);
    border: none;
}

.newsletter-form .btn:hover {
    background-color: #2980b9;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
}

.sub-page-header {
    background:
        linear-gradient(to bottom,
            rgba(0, 0, 0, 0.7),
            rgba(0, 0, 0, 0.3)),
        url('../img/news-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 200px;

    display: flex;
    align-items: center;
    color: #fff;
}

.p-indent {
    text-indent: 2em;
}

.label-committee-position {
    margin-top: 0.7rem;
    font-family: 'Kanit', sans-serif;
    font-weight: 600;
    color: var(--primary-color);
}

.label-committee-name {
    font-family: 'Sarabun', sans-serif;
}

/* picture inside gallery */
.gallery img {
    width: 100%;
    height: auto;
}

/* iframe for embed thing */
iframe {
    width: 100%;
    height: 45vw;
}

.iframe-gmap {
    width: 100%;
    height: 420px;
}

/* breadcumb */
ol.breadcrumb {
    font-size: 0.8rem;
}

/* publish date */
small.published-date,
small.views-count {
    color: #6c757d;
}

/* page view */
.pv {
    display: flex;
    max-width: 180px;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #333;
    background: #f8f8f8;
    border-radius: 8px;
    padding: 6px 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.pv-label {
    font-size: 13px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pv-count {
    font-weight: 600;
    font-size: 15px;
    color: #000;
}