/*
Theme Name: ETC6 FAFA88 AMP Theme
Author: Custom Theme Conversion
Description: ธีมหลักจาก ETC6–FAFA88 AMP Page v1.1.1 พร้อมหน้าแรก AMP, สี 30 แบบ, SEO, Logo, Banner และตั้งค่ารายเพจที่ รูปลักษณ์ > ตั้งค่า ETC6–FAFA88
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: etc6-fafa88-main-theme
*/

/* AMP routes keep the original inline AMP CSS. This stylesheet is for normal
   WordPress pages, posts, archives, search and password-protected content. */
.etc6-standard-page { margin: 0; background: var(--etc6-bg, #071a0b); color: var(--etc6-text, #d9f0de); font: 16px/1.8 Arial, Tahoma, sans-serif; }
.etc6-standard-page *, .etc6-standard-page *::before, .etc6-standard-page *::after { box-sizing: border-box; }
.etc6-standard-page a { color: var(--etc6-accent, #7ee8b1); text-underline-offset: .2em; }
.etc6-standard-page img, .etc6-standard-page video, .etc6-standard-page iframe { max-width: 100%; }
.etc6-standard-page img { height: auto; }
.etc6-site-header, .etc6-site-footer { background: var(--etc6-page, #103020); border-block: 1px solid var(--etc6-border, #357c56); }
.etc6-site-bar { max-width: 1100px; margin: auto; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.etc6-site-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; font-size: 24px; font-weight: 700; }
.etc6-site-brand img { max-width: 190px; max-height: 80px; object-fit: contain; }
.etc6-main { max-width: 1000px; margin: 36px auto; padding: 0 24px; min-height: 50vh; }
.etc6-standard-page .menu { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; padding: 0; margin: 0; }
.etc6-standard-page .menu a { text-decoration: none; }
.etc6-standard-page .sub-menu { padding-left: 20px; }
.etc6-entry { margin-bottom: 28px; padding: clamp(20px, 4vw, 38px); background: var(--etc6-surface, #071a12); border: 1px solid var(--etc6-border, #357c56); border-radius: 14px; overflow-wrap: anywhere; }
.etc6-entry h1, .etc6-entry h2, .etc6-entry h3 { line-height: 1.45; color: var(--etc6-heading, #eaf8e8); }
.etc6-entry > :first-child, .etc6-entry-content > :first-child { margin-top: 0; }
.etc6-entry-meta { font-size: 14px; color: var(--etc6-muted, #a5c9ac); }
.etc6-entry-content table { border-collapse: collapse; max-width: 100%; }
.etc6-entry-content th, .etc6-entry-content td { border: 1px solid currentColor; padding: 8px 12px; }
.etc6-entry-content pre { overflow-x: auto; padding: 16px; background: var(--etc6-bg, #071a0b); }
.etc6-standard-page input, .etc6-standard-page textarea, .etc6-standard-page select { max-width: 100%; padding: 10px 12px; border: 1px solid var(--etc6-border, #357c56); border-radius: 6px; font: inherit; color: #222; background: #fff; }
.etc6-standard-page input[type=submit], .etc6-standard-page button { padding: 10px 18px; border: 0; border-radius: 6px; background: var(--etc6-primary, #4bc781); color: var(--etc6-primary-text, #072e14); cursor: pointer; font: inherit; font-weight: 700; }
.etc6-standard-page .nav-links { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; margin: 20px 0; }
.etc6-standard-page .alignleft { float: left; margin: 0 20px 20px 0; }
.etc6-standard-page .alignright { float: right; margin: 0 0 20px 20px; }
.etc6-standard-page .aligncenter { display: block; margin-inline: auto; }
.etc6-standard-page .wp-caption { max-width: 100%; }
.etc6-standard-page .wp-caption-text { font-size: 14px; }
.etc6-standard-page .comment-list { padding-left: 24px; }
.etc6-standard-page .comment { margin-block: 24px; }
.etc6-standard-page .comment-form label { display: block; }
.etc6-standard-page .comment-form-cookies-consent label { display: inline; }
.etc6-standard-page .screen-reader-text { clip-path: inset(50%); height: 1px; width: 1px; overflow: hidden; position: absolute; white-space: nowrap; }
.etc6-standard-page .skip-link:focus { clip-path: none; height: auto; width: auto; left: 20px; top: 20px; padding: 12px; background: #fff; color: #000; z-index: 999999; }
@media(max-width: 600px) { .etc6-main { padding: 0 16px; margin: 20px auto; } .etc6-site-bar { padding: 16px; } }
