/*
Theme Name: SBOBET Pro TH
Theme URI: https://example.com/theme11
Description: Clean, professional sports review site theme with navy blue and sky blue accents.
Version: 1.0
Author: ThemeDev
Text Domain: sbobet-pro-th
*/

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Prompt', sans-serif; background: #ffffff; color: #333; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

.top-bar { background: #002244; color: #fff; font-size: 13px; padding: 8px 0; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: #0099cc; }
.top-bar a:hover { color: #fff; }

.site-header { background: #003366; padding: 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.site-logo { font-size: 24px; font-weight: 700; color: #fff; }
.site-logo span { color: #0099cc; }

.main-nav ul { display: flex; list-style: none; gap: 5px; }
.main-nav ul li a { color: #fff; padding: 10px 16px; border-radius: 4px; font-size: 14px; font-weight: 500; transition: all 0.3s; }
.main-nav ul li a:hover, .main-nav ul li a.active { background: #0099cc; color: #fff; }
.menu-toggle { display: none; background: none; border: none; color: #fff; font-size: 28px; cursor: pointer; }

.hero-slider { position: relative; overflow: hidden; height: 400px; }
.hero-slides { display: flex; animation: slideAnim 12s infinite; width: 300%; }
.hero-slide { width: 100%; min-width: 100%; height: 400px; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; padding: 40px; }
.hero-slide:nth-child(1) { background: linear-gradient(135deg, #003366 0%, #0099cc 100%); }
.hero-slide:nth-child(2) { background: linear-gradient(135deg, #0099cc 0%, #28a745 100%); }
.hero-slide:nth-child(3) { background: linear-gradient(135deg, #28a745 0%, #003366 100%); }
.hero-content h1 { font-size: 42px; margin-bottom: 15px; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); }
.hero-content p { font-size: 18px; margin-bottom: 25px; opacity: 0.9; }
.hero-btn { display: inline-block; background: #28a745; color: #fff; padding: 14px 35px; border-radius: 5px; font-weight: 600; font-size: 16px; transition: all 0.3s; }
.hero-btn:hover { background: #218838; transform: translateY(-2px); }
@keyframes slideAnim { 0%,30% { transform: translateX(0); } 33%,63% { transform: translateX(-33.333%); } 66%,96% { transform: translateX(-66.666%); } 100% { transform: translateX(0); } }

.features-section { padding: 60px 0; background: #f8f9fa; }
.section-title { text-align: center; font-size: 32px; color: #003366; margin-bottom: 40px; position: relative; }
.section-title::after { content: ''; display: block; width: 60px; height: 3px; background: #0099cc; margin: 10px auto 0; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.feature-card { background: #fff; padding: 30px 20px; text-align: center; border-radius: 8px; box-shadow: 0 3px 15px rgba(0,0,0,0.08); transition: transform 0.3s; }
.feature-card:hover { transform: translateY(-5px); }
.feature-icon { font-size: 48px; margin-bottom: 15px; }
.feature-card h3 { color: #003366; margin-bottom: 10px; font-size: 18px; }
.feature-card p { font-size: 14px; color: #666; }

.steps-section { padding: 60px 0; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; counter-reset: steps; }
.step-card { position: relative; padding: 30px; padding-top: 50px; background: #fff; border: 2px solid #e9ecef; border-radius: 8px; text-align: center; }
.step-card::before { counter-increment: steps; content: counter(steps); position: absolute; top: -20px; left: 50%; transform: translateX(-50%); width: 40px; height: 40px; background: #0099cc; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; }
.step-card h3 { color: #003366; margin-bottom: 10px; }
.step-card p { color: #666; font-size: 14px; }

.testimonials-section { padding: 60px 0; background: #003366; color: #fff; }
.testimonials-section .section-title { color: #fff; }
.testimonials-section .section-title::after { background: #28a745; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.testimonial-card { background: rgba(255,255,255,0.1); padding: 25px; border-radius: 8px; border-left: 4px solid #0099cc; }
.testimonial-card p { font-style: italic; margin-bottom: 15px; opacity: 0.9; }
.testimonial-card .author { font-weight: 600; color: #0099cc; }

.news-section { padding: 60px 0; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.news-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 3px 15px rgba(0,0,0,0.08); transition: transform 0.3s; }
.news-card:hover { transform: translateY(-3px); }
.news-card .thumb { height: 200px; background: #e9ecef; overflow: hidden; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card .card-body { padding: 20px; }
.news-card .card-date { font-size: 12px; color: #0099cc; margin-bottom: 8px; }
.news-card h3 { font-size: 16px; color: #003366; margin-bottom: 10px; line-height: 1.4; }
.news-card .excerpt { font-size: 14px; color: #666; margin-bottom: 15px; }
.news-card .read-more { color: #0099cc; font-size: 14px; font-weight: 500; }
.news-card .read-more:hover { color: #003366; }

.view-all-wrap { text-align: center; margin-top: 30px; }
.btn-view-all { display: inline-block; background: #28a745; color: #fff; padding: 12px 30px; border-radius: 5px; font-weight: 600; transition: all 0.3s; }
.btn-view-all:hover { background: #218838; }

.page-header { background: #003366; color: #fff; padding: 40px 0; text-align: center; }
.page-header h1 { font-size: 32px; }
.posts-listing { padding: 50px 0; }
.post-list-item { display: flex; gap: 25px; background: #fff; margin-bottom: 25px; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.06); }
.post-list-item .post-thumb { width: 280px; min-height: 200px; flex-shrink: 0; background: #e9ecef; }
.post-list-item .post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-list-item .post-info { padding: 25px; flex: 1; }
.post-list-item .post-meta { font-size: 13px; color: #0099cc; margin-bottom: 10px; }
.post-list-item h2 { font-size: 20px; color: #003366; margin-bottom: 10px; }
.post-list-item h2 a:hover { color: #0099cc; }
.post-list-item .post-excerpt { color: #666; font-size: 14px; margin-bottom: 15px; }
.post-list-item .btn-read { display: inline-block; background: #0099cc; color: #fff; padding: 8px 20px; border-radius: 4px; font-size: 13px; font-weight: 500; }
.post-list-item .btn-read:hover { background: #003366; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a, .pagination span { display: inline-block; padding: 10px 16px; border: 1px solid #dee2e6; border-radius: 4px; color: #003366; font-weight: 500; }
.pagination .current, .pagination a:hover { background: #0099cc; color: #fff; border-color: #0099cc; }

.single-article { padding: 50px 0; }
.article-header { text-align: center; margin-bottom: 30px; }
.article-header h1 { font-size: 32px; color: #003366; margin-bottom: 15px; }
.article-meta { font-size: 14px; color: #666; }
.article-meta span { margin: 0 10px; }
.article-featured-img { margin-bottom: 30px; border-radius: 8px; overflow: hidden; }
.article-content { max-width: 800px; margin: 0 auto; font-size: 16px; line-height: 1.8; }
.article-content p { margin-bottom: 20px; }
.article-content h2, .article-content h3 { color: #003366; margin: 25px 0 15px; }

.post-nav { display: flex; justify-content: space-between; margin-top: 40px; padding-top: 30px; border-top: 1px solid #e9ecef; }
.post-nav a { display: inline-block; padding: 10px 20px; background: #003366; color: #fff; border-radius: 4px; font-size: 14px; }
.post-nav a:hover { background: #0099cc; }

.related-posts { margin-top: 50px; padding-top: 40px; border-top: 1px solid #e9ecef; }
.related-posts h2 { font-size: 24px; color: #003366; margin-bottom: 25px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }

.site-footer { background: #003366; color: #fff; padding: 50px 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 40px; }
.footer-col h3 { font-size: 18px; margin-bottom: 15px; color: #0099cc; }
.footer-col p, .footer-col li { font-size: 14px; opacity: 0.8; margin-bottom: 8px; }
.footer-col ul { list-style: none; }
.footer-col ul li a:hover { color: #0099cc; opacity: 1; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; text-align: center; font-size: 13px; opacity: 0.7; }

@media (max-width: 992px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .main-nav ul { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #003366; padding: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.3); }
  .main-nav ul.active { display: flex; }
  .main-nav ul li a { padding: 12px 15px; display: block; }
  .hero-slider { height: 300px; }
  .hero-slide { height: 300px; }
  .hero-content h1 { font-size: 28px; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .post-list-item { flex-direction: column; }
  .post-list-item .post-thumb { width: 100%; height: 200px; }
  .footer-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .post-nav { flex-direction: column; gap: 10px; }
  .header-inner { flex-wrap: wrap; }
  .top-bar .container { flex-direction: column; gap: 5px; }
}
