/*
Theme Name: Pets Into
Theme URI: https://petsinto.com
Description: Custom theme for Pets Into - Thai pet telemedicine platform
Version: 1.0
Author: Pets Into
Author URI: https://petsinto.com
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: petsinto
Domain Path: /languages
*/

/* LINE Seed Sans TH Font Faces */
@font-face {
  font-family: 'LINE Seed Sans TH';
  src: url('fonts/line-seed-thin.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'LINE Seed Sans TH';
  src: url('fonts/line-seed-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'LINE Seed Sans TH';
  src: url('fonts/line-seed-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'LINE Seed Sans TH';
  src: url('fonts/line-seed-xbold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* Fallback to Noto Sans Thai if LINE Seed is not loaded */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@100;400;700;800&display=swap');

/* CSS Variables */
:root {
  --orange: #FE540B;
  --orange-gradient: linear-gradient(180deg, #FE540B 25%, #FF7235 100%);
  --text-dark: #2F3036;
  --text-medium: #494A50;
  --text-white: #FFFFFF;
  --orange-light-20: rgba(254, 84, 11, 0.2);
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'LINE Seed Sans TH', 'Noto Sans Thai', system-ui, sans-serif;
  color: var(--text-dark);
  background-color: #FFFFFF;
  line-height: 1.5;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

/* Header / Navigation */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 80px;
  background-color: #FFFFFF;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--orange);
  text-decoration: none;
}

.logo-image {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.logo-text {
  color: var(--orange);
  font-weight: 700;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 40px;
  margin: 0;
}

nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--orange);
}

/* Dropdown Menu */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  list-style: none;
  margin-top: 8px;
  padding: 8px 0;
  z-index: 101;
  transition: opacity 0.2s ease;
}

.nav-dropdown.active .dropdown-menu {
  display: block;
}

.nav-dropdown > a {
  cursor: pointer;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu li a {
  display: block;
  padding: 12px 20px;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.dropdown-menu li a:hover {
  background: rgba(254, 84, 11, 0.08);
  color: var(--orange);
  padding-left: 24px;
}

.btn-register {
  background: var(--orange);
  color: var(--text-white);
  border: none;
  padding: 10px 24px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.3s ease;
  text-decoration: none;
}

.btn-register:hover {
  opacity: 0.9;
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 20px;
    padding: 15px 20px;
  }

  nav ul {
    gap: 15px;
    font-size: 14px;
  }

  .dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    margin-top: 0;
    padding: 8px 0 8px 20px;
    background: #FAFAFA;
  }

  .nav-dropdown.active .dropdown-menu {
    display: block;
  }

  .dropdown-menu li a {
    padding: 10px 0;
    font-size: 14px;
  }
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 60px 80px 30px 80px;
  min-height: 605px;
  background-color: #FFFFFF;
  max-width: 1440px;
  margin: 0 auto;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 550px;
}

.hero-title {
  font-size: 64px;
  font-weight: 800;
  line-height: 101px;
  color: var(--text-dark);
  margin: 0;
}

.hero-subtitle {
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  color: var(--text-medium);
  margin: 0;
}

.hero-cta {
  display: inline-flex;
  padding: 8px;
  gap: 0;
  width: fit-content;
  background: var(--orange-gradient);
  border-radius: 30px;
}

.btn-primary {
  background: linear-gradient(180deg, #FE540B 25%, #FF7235 100%);
  color: var(--text-white);
  border: none;
  padding: 12px 32px;
  border-radius: 28px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(254, 84, 11, 0.3);
}

.hero-image-area {
  flex: 1;
  width: 600px;
  height: 520px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.hero-image-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    gap: 40px;
    padding: 40px;
  }

  .hero-content,
  .hero-image-area {
    width: 100%;
  }

  .hero-image-area {
    height: 380px;
    width: 100%;
  }
}

/* Problems Section */
.problems-section {
  position: relative;
  margin-top: 60px;
}

.section-divider-top {
  width: 100%;
  height: 64px;
  background: white;
  border-radius: 0 0 64px 64px;
  margin-bottom: -1px;
}

.problems-band {
  width: 100%;
  background: var(--orange);
  padding: 80px 0;
}

.problems-heading {
  text-align: center;
  color: var(--text-white);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 60px;
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 0 80px;
  max-width: 1440px;
  margin: 0 auto;
}

.problem-card {
  background: var(--text-white);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.problem-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--orange) 0%, #FF7235 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.problem-image {
  width: calc(100% + 48px);
  height: 200px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px 12px 0 0;
  margin: -32px -24px 16px -24px;
  display: block;
}

.problem-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.problem-description {
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}

.section-divider-bottom {
  width: 100%;
  height: 64px;
  background: white;
  border-radius: 64px 64px 0 0;
}

@media (max-width: 1024px) {
  .problems-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 40px;
  }
}

@media (max-width: 768px) {
  .problems-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
}

/* How It Works Section */
.how-it-works {
  background: var(--orange-gradient);
  padding: 80px;
  margin-top: 60px;
  position: relative;
}

.how-it-works .container {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.how-section-title {
  text-align: center;
  color: var(--text-white);
  font-size: 40px;
  font-weight: 800;
  line-height: 63px;
}

.how-section-subtitle {
  text-align: center;
  color: var(--text-white);
  font-size: 16px;
  font-weight: 400;
  margin-top: 12px;
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.step {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 0;
  min-height: 180px;
}

.step:nth-child(even) {
  flex-direction: row-reverse;
}

.step-number {
  font-size: 80px;
  font-weight: 800;
  color: var(--orange);
  min-width: 120px;
  text-align: center;
  flex-shrink: 0;
  padding: 16px;
  margin: 16px;
}

.step-content {
  flex: 1;
  padding: 32px;
  margin: 16px;
}

.step-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 16px 0;
}

.step-description {
  font-size: 16px;
  color: var(--text-medium);
  line-height: 1.6;
  margin: 0;
}

.step-image {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 16 / 14;
  background: linear-gradient(135deg, rgba(254, 84, 11, 0.1) 0%, rgba(255, 114, 53, 0.1) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 60px;
  flex-shrink: 0;
  overflow: hidden;
}

.step-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 768px) {
  .how-it-works {
    padding: 40px 20px;
  }

  .step {
    flex-direction: column !important;
    gap: 20px;
  }

  .step-image {
    width: 100%;
    max-width: none;
    height: 220px;
  }
}

/* Partnership Section */
.partnership {
  padding: 80px;
  background: #FFFFFF;
  max-width: 1440px;
  margin: 0 auto;
}

.partnership-title {
  font-size: 40px;
  font-weight: 800;
  text-align: center;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.partnership-subtitle {
  text-align: center;
  color: var(--text-medium);
  font-size: 16px;
  margin-bottom: 60px;
}

.partnership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.partnership-card {
  width: 408px;
  height: 735px;
  border: 2px solid #FE540B;
  border-radius: 56px;
  padding: 0;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 1;
  transform: rotate(0deg);
  background: #FFFFFF;
  box-shadow: 0 4px 12px rgba(254, 84, 11, 0.08);
  overflow: hidden;
}

.partnership-card:hover {
  border-color: #FE540B;
  box-shadow: 0 16px 48px rgba(254, 84, 11, 0.2);
  transform: translateY(-8px);
}

.partnership-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 32px;
  background: linear-gradient(135deg, var(--orange) 0%, #FF7235 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
}

.partnership-image {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center;
  border-radius: 48px 48px 0 0;
  margin: 0 !important;
  padding: 0 !important;
  display: block;
  flex-shrink: 0;
}

.partnership-card-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0;
  padding: 32px 24px 0 24px;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.partnership-description {
  color: var(--text-medium);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
  padding: 0 24px;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partnership-card .btn-secondary {
  margin: 32px 24px 32px 24px;
  width: calc(100% - 48px);
}

.btn-secondary {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
  padding: 14px 36px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
}

.btn-secondary:hover {
  background: var(--orange);
  color: #FFFFFF;
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(254, 84, 11, 0.3);
}

.btn-secondary:hover {
  background: var(--orange);
  color: var(--text-white);
}

@media (max-width: 768px) {
  .partnership-grid {
    grid-template-columns: 1fr;
  }

  .partnership-image {
    height: 200px;
  }
}

/* Blog Section */
.blog-section {
  padding: 80px;
  background: #FFFFFF;
  max-width: 1440px;
  margin: 0 auto;
}

.blog-title {
  font-size: 40px;
  font-weight: 800;
  text-align: center;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.blog-subtitle {
  text-align: center;
  color: var(--text-medium);
  font-size: 16px;
  margin-bottom: 60px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.blog-card {
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.blog-image {
  width: 100%;
  height: 320px;
  background: linear-gradient(135deg, rgba(254, 84, 11, 0.1) 0%, rgba(255, 114, 53, 0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 48px;
}

.blog-content {
  padding: 24px;
}

.blog-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.blog-excerpt {
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.6;
  margin-bottom: 16px;
}

.blog-link {
  color: var(--orange);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: opacity 0.3s ease;
}

.blog-link:hover {
  opacity: 0.8;
}

.blog-footer {
  text-align: center;
}

.btn-view-all {
  background: transparent;
  color: var(--text-dark);
  border: 2px solid var(--text-dark);
  padding: 12px 32px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-view-all:hover {
  background: var(--text-dark);
  color: var(--text-white);
}

@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* FAQ Section */
.faq-section {
  padding: 80px;
  background: #FFFFFF;
  max-width: 1440px;
  margin: 0 auto;
}

.faq-title {
  font-size: 40px;
  font-weight: 800;
  text-align: center;
  color: var(--text-dark);
  margin-bottom: 60px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active {
  border-color: var(--orange);
}

.faq-question {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  transition: all 0.3s ease;
  user-select: none;
}

.faq-item.active .faq-question {
  background: rgba(254, 84, 11, 0.05);
  color: var(--orange);
}

.faq-question:hover {
  background: rgba(254, 84, 11, 0.02);
}

.faq-toggle {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 20px 24px;
  border-top: 1px solid #e0e0e0;
  background: rgba(254, 84, 11, 0.02);
}

.faq-answer-text {
  color: var(--text-medium);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* Newsletter Section */
.newsletter-section {
  padding: 80px;
  background: #FFFFFF;
  max-width: 1440px;
  margin: 0 auto;
}

.newsletter-container {
  background: linear-gradient(135deg, rgba(254, 84, 11, 0.08) 0%, rgba(255, 114, 53, 0.08) 100%);
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
  border: 2px solid rgba(254, 84, 11, 0.2);
}

.newsletter-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.newsletter-subtitle {
  font-size: 16px;
  color: var(--text-medium);
  margin-bottom: 40px;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--orange);
}

.newsletter-btn {
  background: var(--orange-gradient);
  color: var(--text-white);
  border: none;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(254, 84, 11, 0.3);
}

@media (max-width: 768px) {
  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-input,
  .newsletter-btn {
    width: 100%;
  }
}

/* Footer */
footer {
  background: #2B2D33;
  color: var(--text-white);
  padding: 60px 80px 30px;
  margin-top: 60px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  max-width: 1440px;
  margin: 0 auto 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 16px;
  text-decoration: none;
}

.footer-logo-image {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.footer-logo-text {
  color: var(--orange);
  font-weight: 700;
}

.footer-section h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--text-white);
}

.footer-section p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 18px;
}

.social-icon:hover {
  background: var(--orange);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.footer-bottom p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 30px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  footer {
    padding: 40px 20px 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-40 {
  margin-top: 40px;
}

.mt-60 {
  margin-top: 60px;
}

.mb-40 {
  margin-bottom: 40px;
}

.mb-60 {
  margin-bottom: 60px;
}

/* Blog Wrapper Styles (for /blog integration) */
.blog-wrapper {
  background: var(--text-white);
  min-height: 600px;
  padding: 60px 20px 40px;
}

/* Hide the blog's internal header (WordPress provides the real one) */
.blog-wrapper .blog-header {
  display: none;
}

/* Posts Grid - Modern Design */
.blog-wrapper .posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.blog-wrapper .post-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.blog-wrapper .post-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(254, 84, 11, 0.15);
  border-color: var(--orange-primary);
}

.blog-wrapper .post-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--bg-light);
}

.blog-wrapper .post-card-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-wrapper .post-card-date {
  font-size: 0.85rem;
  color: var(--orange-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.blog-wrapper .post-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.4;
  flex-grow: 1;
}

.blog-wrapper .post-card-title a {
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.blog-wrapper .post-card-title a:hover {
  color: var(--orange-primary);
}

.blog-wrapper .post-card-excerpt {
  color: var(--text-medium);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.blog-wrapper .read-more {
  color: var(--orange-primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.blog-wrapper .read-more:hover {
  transform: translateX(4px);
  text-decoration: underline;
}

/* Individual Post Styles */
.blog-wrapper .post {
  background: #FFFFFF;
  padding: 40px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  margin-bottom: 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.blog-wrapper .post-meta {
  font-size: 0.95rem;
  color: var(--text-medium);
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--bg-light);
}

.blog-wrapper .post-meta time {
  color: var(--orange-primary);
  font-weight: 700;
}

.blog-wrapper .post-image {
  margin: 30px 0;
  text-align: center;
}

.blog-wrapper .post-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.blog-wrapper .post-image figcaption {
  font-size: 0.9rem;
  color: var(--text-medium);
  font-style: italic;
  margin-top: 12px;
}

.blog-wrapper .post-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin: 30px 0;
}

.blog-wrapper .post-content p {
  margin-bottom: 20px;
}

.blog-wrapper .post-footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 2px solid var(--bg-light);
}

.blog-wrapper .facebook-link {
  color: var(--orange-primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.blog-wrapper .facebook-link:hover {
  transform: translateX(4px);
  text-decoration: underline;
}

/* Navigation */
.blog-wrapper .post-nav {
  margin: 40px 0;
}

.blog-wrapper .post-nav a {
  color: var(--orange-primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
}

.blog-wrapper .post-nav a:hover {
  transform: translateX(-4px);
  text-decoration: underline;
}

/* Posts Info */
.blog-wrapper .posts-info {
  text-align: center;
  padding: 30px;
  background: var(--bg-light);
  border-radius: 12px;
  color: var(--text-medium);
  border: 1px solid var(--border-color);
}

/* Headings */
.blog-wrapper h1,
.blog-wrapper h2,
.blog-wrapper h3,
.blog-wrapper h4,
.blog-wrapper h5,
.blog-wrapper h6 {
  font-family: "LINE Seed Sans TH App", "Noto Sans Thai", system-ui;
  color: var(--text-dark);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 700;
}

.blog-wrapper h1 {
  font-size: 2rem;
}

.blog-wrapper h2 {
  font-size: 1.6rem;
}

.blog-wrapper h3 {
  font-size: 1.3rem;
}

/* Links */
.blog-wrapper a {
  color: var(--orange-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-wrapper a:hover {
  text-decoration: underline;
}

/* General paragraph */
.blog-wrapper p {
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 15px;
}

/* Images */
.blog-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .blog-wrapper .posts-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
  }

  .blog-wrapper .post {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .blog-wrapper {
    padding: 40px 16px 30px;
  }

  .blog-wrapper .posts-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .blog-wrapper .post {
    padding: 24px;
  }

  .blog-wrapper .post-card-image {
    height: 180px;
  }

  .blog-wrapper .post-content {
    font-size: 1rem;
  }
}

/* Error Message Styling */
.error-message {
  text-align: center;
  padding: 60px 20px;
  background: rgba(254, 84, 11, 0.05);
  border-radius: 8px;
  margin: 40px 0;
}

.error-message h1 {
  color: var(--orange-primary);
  margin-bottom: 20px;
}

.error-message a {
  display: inline-block;
  padding: 10px 20px;
  background: var(--orange-primary);
  color: white;
  border-radius: 4px;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.error-message a:hover {
  text-decoration: none;
  background: #FF7235;
}

/* Social Media Icons */
.social-links {
  display: flex;
  gap: 20px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  text-decoration: none;
  border-radius: 50%;
}

.social-icon:hover {
  transform: scale(1.2);
  opacity: 0.8;
}

.social-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: hue-rotate(0deg) saturate(1);
}
}
