/*
Theme Name: Gas Saver Theme
Theme URI: https://gassaverbyheat.com/
Author: HEAT Energy Innovation
Author URI: https://gassaverbyheat.com/
Description: Modern, high-performance WordPress Theme for "Gas Saver - อุปกรณ์ประหยัดแก๊สอัจฉริยะ (by HEAT)". Built for high conversion, 100% Elementor compatibility, 2-column single post layout with 300x250 ad banners, 728x90 responsive footer ads, and built-in Schema.org SEO markup.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gas-saver
Tags: one-column, two-columns, right-sidebar, custom-menu, featured-images, full-width-template, theme-options, translation-ready, elementor
*/

/* Base CSS Variables & Responsive Layouts */
:root {
  --primary: #0284c7;
  --primary-dark: #0369a1;
  --accent-red: #dc2626;
  --accent-green: #16a34a;
  --line-color: #06c755;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Prompt', 'Sarabun', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
}

/* Banner 300x250 in Sidebar */
.sidebar-ad-300x250 {
  width: 100%;
  max-width: 300px;
  height: 250px;
  margin: 0 auto 24px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  position: relative;
  transition: transform 0.2s ease;
}
.sidebar-ad-300x250:hover {
  transform: translateY(-2px);
}

/* Horizontal Responsive Banner 728x90 */
.post-after-banner-728x90 {
  width: 100%;
  max-width: 728px;
  min-height: 90px;
  margin: 32px auto;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

/* Responsive YouTube Video Container */
.video-responsive-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  background-color: #000;
}
.video-responsive-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
