﻿/* ============================================================
   Inner Pages CSS - All page-specific component styles
   ============================================================ */

/* ----------------------------------------------------------
   Inner Banner
   ---------------------------------------------------------- */
.inner-banner-content .title {
  color: #fff;
  font-size: 50px;
  font-weight: 700;
  margin-bottom: 15px;
}
@media (max-width: 991px) {
  .inner-banner-content .title { font-size: 32px; }
}
.inner-banner-content .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}
.inner-banner-content .breadcrumb-item a { color: #e80000; }
.inner-banner-content .breadcrumb-item.active,
.inner-banner-content .breadcrumb-item + .breadcrumb-item::before { color: #fff; }

/* ----------------------------------------------------------
   Sub-title
   ---------------------------------------------------------- */
.sub-title {
  display: inline-block;
  color: #e80000;
  font-family: "Kanit", sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* ----------------------------------------------------------
   Athletes Page
   ---------------------------------------------------------- */
.athletes-filter-area { margin-top: 40px; }
.athletes-filter { justify-content: center; margin-bottom: 40px; flex-wrap: wrap; gap: 8px; }

.athlete-item {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0,0,0,.08);
  transition: transform .3s;
}
.athlete-item:hover { transform: translateY(-5px); }
.athlete-thumb { position: relative; overflow: hidden; }
.athlete-thumb img { width: 100%; height: 260px; object-fit: cover; }
.athlete-overlay {
  position: absolute; inset: 0;
  background: rgba(232,0,0,.8);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: .3s;
}
.athlete-item:hover .athlete-overlay { opacity: 1; }
.athlete-social a {
  width: 38px; height: 38px; line-height: 38px; text-align: center;
  border-radius: 50%; border: 1px solid #fff; color: #fff;
  margin: 0 4px; font-size: 14px; transition: .3s;
}
.athlete-social a:hover { background: #fff; color: #e80000; }
.athlete-content { padding: 20px; }
.athlete-content .name { font-size: 18px; margin-bottom: 4px; }
.athlete-content .country,
.athlete-content .category {
  display: block; font-size: 13px; color: #666; margin-bottom: 2px;
}
.athlete-content .category { color: #e80000; font-weight: 600; }
.athlete-stats { margin-top: 12px; border-top: 1px solid #eee; padding-top: 12px; }
.stat-item { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 4px; }
.stat-item .label { color: #888; }
.stat-item .value { font-weight: 700; color: #e80000; }

/* Stats section */
.stats-item { padding: 30px 20px; }
.stats-number { font-family: "Kanit", sans-serif; font-size: 60px; font-weight: 700; color: #e80000; line-height: 1; }
.stats-number .plus { font-size: 40px; }
.stats-item .title { color: #fff; margin-top: 10px; font-size: 16px; }

/* ----------------------------------------------------------
   Schedule Page
   ---------------------------------------------------------- */
.schedule-tab-area { margin-top: 20px; }
.schedule-tab { justify-content: center; margin-bottom: 40px; flex-wrap: wrap; gap: 10px; border: none; }
.schedule-tab .nav-item .nav-link {
  border: 2px solid #e80000; border-radius: 8px; padding: 15px 30px;
  text-align: center; color: #e80000; transition: .3s;
}
.schedule-tab .nav-item .nav-link.active,
.schedule-tab .nav-item .nav-link:hover { background: #e80000; color: #fff; }
.schedule-tab-content .date { display: block; font-size: 32px; font-weight: 700; font-family: "Kanit", sans-serif; line-height: 1; }
.schedule-tab-content .month { display: block; font-size: 14px; font-weight: 600; letter-spacing: 1px; }
.schedule-tab-content .day { display: block; font-size: 12px; opacity: .8; }

.schedule-day-title { color: #e80000; margin-bottom: 30px; font-size: 22px; }
.schedule-item {
  display: flex; gap: 30px; padding: 25px;
  border: 1px solid #eee; border-radius: 8px; margin-bottom: 15px;
  transition: .3s; background: #fff;
}
.schedule-item:hover { border-color: #e80000; box-shadow: 0 5px 20px rgba(232,0,0,.1); }
.schedule-time { min-width: 90px; }
.schedule-time .time { font-family: "Kanit", sans-serif; font-weight: 700; color: #e80000; font-size: 16px; }
.schedule-details .title { font-size: 18px; margin-bottom: 8px; }
.schedule-details p { margin-bottom: 6px; font-size: 14px; color: #666; }
.schedule-details .venue { font-size: 13px; color: #e80000; font-weight: 600; }

.download-content .title { margin-bottom: 15px; }
.download-btn-area { margin-top: 25px; display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.btn--outline { background: transparent !important; border: 2px solid #fff !important; color: #fff !important; }
.btn--outline:hover { background: #fff !important; color: #e80000 !important; }

/* ----------------------------------------------------------
   Venue Page
   ---------------------------------------------------------- */
.venue-info-list { margin-top: 30px; }
.venue-info-item { display: flex; gap: 20px; margin-bottom: 25px; align-items: flex-start; }
.venue-info-icon {
  width: 50px; height: 50px; min-width: 50px; border-radius: 50%;
  background: #e80000; color: #fff; display: flex; align-items: center;
  justify-content: center; font-size: 18px;
}
.venue-info-content h4 { font-size: 16px; margin-bottom: 4px; }
.venue-info-content p { margin: 0; font-size: 14px; color: #666; }

.feature-item {
  padding: 30px 25px; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1); border-radius: 10px;
  text-align: center; transition: .3s;
}
.feature-item:hover { background: rgba(232,0,0,.2); border-color: #e80000; }
.feature-icon { font-size: 40px; color: #e80000; margin-bottom: 15px; }
.feature-item .title { color: #fff; font-size: 16px; margin-bottom: 10px; }
.feature-item p { color: rgba(255,255,255,.7); font-size: 14px; margin: 0; }

.transport-item { display: flex; gap: 20px; padding: 25px; border: 1px solid #eee; border-radius: 10px; margin-bottom: 0; }
.transport-icon { font-size: 30px; color: #e80000; min-width: 40px; }
.transport-content .title { font-size: 18px; margin-bottom: 8px; }
.transport-content p { font-size: 14px; color: #666; margin-bottom: 4px; }

.map-container { border: 1px solid #eee; }
.map-placeholder i { display: block; }

/* ----------------------------------------------------------
   Contact Page
   ---------------------------------------------------------- */
.contact-form-area { background: #fff; padding: 40px; border-radius: 10px; box-shadow: 0 5px 25px rgba(0,0,0,.08); }
.form-title { font-size: 22px; margin-bottom: 25px; }
.contact-form .form-group { margin-bottom: 20px; }
.contact-form .form-control {
  border: 1px solid #e6e6e6; border-radius: 5px; padding: 12px 20px;
  font-size: 14px; height: auto; transition: .3s;
}
.contact-form .form-control:focus { border-color: #e80000; box-shadow: none; }
.contact-form textarea.form-control { min-height: 150px; resize: vertical; }
.contact-form select.form-control { cursor: pointer; }

.contact-info-area { padding: 30px; background: #f8f9ff; border-radius: 10px; }
.info-title { font-size: 20px; margin-bottom: 25px; }
.contact-info-item { display: flex; gap: 15px; margin-bottom: 25px; align-items: flex-start; }
.contact-info-icon {
  width: 45px; height: 45px; min-width: 45px; border-radius: 50%;
  background: #e80000; color: #fff; display: flex; align-items: center;
  justify-content: center; font-size: 16px;
}
.contact-info-content h4 { font-size: 15px; margin-bottom: 5px; }
.contact-info-content p { font-size: 13px; color: #666; margin: 0; }
.contact-social { margin-top: 25px; }
.contact-social h4 { font-size: 15px; margin-bottom: 12px; }
.social-links a {
  width: 36px; height: 36px; line-height: 36px; text-align: center;
  border-radius: 50%; background: #e80000; color: #fff;
  margin-right: 6px; font-size: 13px; transition: .3s;
}
.social-links a:hover { background: #000; }

.department-item {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px; padding: 30px; transition: .3s;
}
.department-item:hover { background: rgba(232,0,0,.15); border-color: #e80000; }
.department-icon { font-size: 36px; color: #e80000; margin-bottom: 15px; }
.department-item .title { color: #fff; font-size: 18px; margin-bottom: 12px; }
.department-contact p { color: rgba(255,255,255,.7); font-size: 13px; margin-bottom: 5px; }
.department-contact i { margin-right: 6px; color: #e80000; }
.department-item > p { color: rgba(255,255,255,.6); font-size: 13px; margin-top: 10px; margin-bottom: 0; }

.faq-accordion .card { border: 1px solid #eee; border-radius: 8px !important; margin-bottom: 10px; overflow: hidden; }
.faq-accordion .card-header { background: #f8f9ff; padding: 0; border: none; }
.faq-accordion .card-header .btn-link {
  width: 100%; text-align: left; padding: 18px 20px; color: #000;
  font-weight: 600; font-size: 15px; text-decoration: none;
}
.faq-accordion .card-header .btn-link:hover { color: #e80000; }
.faq-accordion .card-body { padding: 15px 20px; font-size: 14px; color: #666; }

/* ----------------------------------------------------------
   Book Seat Page
   ---------------------------------------------------------- */
.ticket-item {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 5px 25px rgba(0,0,0,.08); position: relative;
  transition: transform .3s;
}
.ticket-item:hover { transform: translateY(-5px); }
.ticket-item.popular { border: 2px solid #e80000; }
.popular-badge {
  position: absolute; top: 15px; right: 15px;
  background: #e80000; color: #fff; font-size: 11px;
  font-weight: 700; padding: 4px 12px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: 1px;
}
.ticket-header { background: #000; padding: 30px; text-align: center; }
.ticket-header .category { color: #fff; font-size: 22px; margin-bottom: 15px; }
.ticket-header .price { color: #fff; }
.ticket-header .currency { font-size: 20px; vertical-align: top; margin-top: 8px; }
.ticket-header .amount { font-size: 48px; font-weight: 700; font-family: "Kanit", sans-serif; line-height: 1; }
.ticket-header .period { font-size: 14px; opacity: .7; }
.ticket-features { padding: 25px 30px; }
.ticket-features ul li { padding: 8px 0; font-size: 14px; border-bottom: 1px solid #f0f0f0; }
.ticket-features ul li:last-child { border: none; }
.ticket-features ul li i { margin-right: 8px; }
.ticket-features ul li .fa-check { color: #28c76f; }
.ticket-features ul li .fa-times { color: #ea5455; }
.ticket-btn { padding: 0 30px 30px; }

.single-day-item {
  background: #fff; border: 1px solid #eee; border-radius: 10px;
  padding: 25px; position: relative; transition: .3s;
}
.single-day-item:hover { border-color: #e80000; box-shadow: 0 5px 20px rgba(232,0,0,.1); }
.single-day-item.popular-day { border: 2px solid #e80000; }
.day-title { font-size: 18px; margin-bottom: 5px; }
.day-desc { font-size: 13px; color: #888; margin-bottom: 15px; }
.day-prices { margin-bottom: 20px; }
.price-item { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid #f0f0f0; font-size: 14px; }
.price-item .category { color: #666; }
.price-item .price { font-weight: 700; color: #e80000; }

.booking-summary { background: #f8f9ff; border-radius: 8px; padding: 20px; margin-top: 20px; }
.booking-summary h5 { margin-bottom: 15px; font-size: 16px; }
.summary-item { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #eee; font-size: 14px; }
.summary-item.total { font-weight: 700; font-size: 16px; border: none; color: #e80000; }

.info-item { display: flex; gap: 20px; padding: 25px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; }
.info-icon { font-size: 30px; color: #e80000; min-width: 40px; }
.info-content .title { color: #fff; font-size: 16px; margin-bottom: 8px; }
.info-content p { color: rgba(255,255,255,.7); font-size: 14px; margin: 0; }

/* ----------------------------------------------------------
   Countries Page
   ---------------------------------------------------------- */
.country-item {
  background: #fff; border-radius: 10px; padding: 20px;
  box-shadow: 0 3px 15px rgba(0,0,0,.07); text-align: center;
  transition: .3s; border: 2px solid transparent;
}
.country-item:hover { border-color: #e80000; transform: translateY(-3px); }
.country-item.host-country { border-color: #e80000; }
.country-flag { margin-bottom: 12px; }
.country-flag img { width: 60px; height: 40px; object-fit: cover; border-radius: 4px; border: 1px solid #eee; }
.country-name { font-size: 15px; margin-bottom: 5px; }
.host-badge { background: #e80000; color: #fff; font-size: 10px; padding: 2px 8px; border-radius: 10px; margin-left: 5px; }
.athletes-count { font-size: 13px; color: #e80000; font-weight: 600; display: block; margin-bottom: 6px; }
.country-stats { display: flex; justify-content: center; gap: 10px; font-size: 12px; color: #888; }

.continental-item {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px; padding: 30px 20px; transition: .3s;
}
.continental-item:hover { background: rgba(232,0,0,.15); border-color: #e80000; }
.continental-icon { font-size: 40px; color: #e80000; margin-bottom: 15px; }
.continental-item .title { color: #fff; font-size: 18px; margin-bottom: 12px; }
.continental-stats { display: flex; flex-direction: column; gap: 5px; }
.continental-stats .countries,
.continental-stats .athletes { font-size: 14px; color: rgba(255,255,255,.7); }
.continental-stats .athletes { color: #e80000; font-weight: 600; }

/* ----------------------------------------------------------
   News Page
   ---------------------------------------------------------- */
.news-item { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 3px 15px rgba(0,0,0,.07); margin-bottom: 0; }
.news-thumb { position: relative; overflow: hidden; }
.news-thumb img { width: 100%; height: 220px; object-fit: cover; transition: .4s; }
.news-item:hover .news-thumb img { transform: scale(1.05); }
.news-item.large .news-thumb img { height: 320px; }
.news-date {
  position: absolute; top: 15px; left: 15px;
  background: #e80000; color: #fff; text-align: center;
  padding: 8px 12px; border-radius: 6px; line-height: 1;
}
.news-date .day { display: block; font-size: 22px; font-weight: 700; font-family: "Kanit", sans-serif; }
.news-date .month { display: block; font-size: 12px; text-transform: uppercase; }
.news-content-area { padding: 20px; }
.news-meta { margin-bottom: 10px; }
.news-meta .category {
  background: rgba(232,0,0,.1); color: #e80000; font-size: 11px;
  font-weight: 700; padding: 3px 10px; border-radius: 20px;
  text-transform: uppercase; margin-right: 8px;
}
.news-meta .author { font-size: 12px; color: #888; }
.news-content-area .title { font-size: 18px; margin-bottom: 10px; line-height: 1.4; }
.news-item.large .news-content-area .title { font-size: 22px; }
.news-content-area p { font-size: 14px; color: #666; margin-bottom: 12px; }
.read-more { color: #e80000; font-size: 13px; font-weight: 600; }
.read-more i { margin-left: 5px; transition: .3s; }
.read-more:hover i { transform: translateX(4px); }

/* Sidebar */
.news-sidebar { padding-left: 20px; }
@media (max-width: 991px) { .news-sidebar { padding-left: 0; margin-top: 40px; } }
.sidebar-widget { background: #fff; border-radius: 10px; padding: 25px; margin-bottom: 30px; box-shadow: 0 3px 15px rgba(0,0,0,.07); }
.widget-title { font-size: 18px; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid #e80000; }
.search-widget form { display: flex; border: 1px solid #eee; border-radius: 5px; overflow: hidden; }
.search-widget input { border: none; padding: 10px 15px; flex: 1; font-size: 14px; }
.search-widget button { background: #e80000; color: #fff; padding: 10px 15px; border: none; cursor: pointer; }
.category-list li { padding: 8px 0; border-bottom: 1px solid #f0f0f0; font-size: 14px; }
.category-list li:last-child { border: none; }
.category-list li a { color: #555; display: flex; justify-content: space-between; }
.category-list li a:hover { color: #e80000; }
.category-list li a span { color: #e80000; font-weight: 600; }
.recent-post-item { display: flex; gap: 12px; margin-bottom: 15px; align-items: flex-start; }
.recent-post-thumb img { width: 65px; height: 55px; object-fit: cover; border-radius: 5px; }
.recent-post-content h5 { font-size: 13px; margin-bottom: 4px; line-height: 1.4; }
.recent-post-content h5 a:hover { color: #e80000; }
.recent-post-content .date { font-size: 11px; color: #888; }
.newsletter-widget p { font-size: 13px; color: #666; margin-bottom: 12px; }
.newsletter-form { display: flex; flex-direction: column; gap: 10px; }
.newsletter-form input { border: 1px solid #eee; border-radius: 5px; padding: 10px 15px; font-size: 14px; }
.newsletter-form .btn--base { width: 100%; text-align: center; }
.quick-links li { padding: 8px 0; border-bottom: 1px solid #f0f0f0; }
.quick-links li:last-child { border: none; }
.quick-links li a { font-size: 14px; color: #555; }
.quick-links li a i { margin-right: 8px; color: #e80000; font-size: 12px; }
.quick-links li a:hover { color: #e80000; }

/* ----------------------------------------------------------
   Updates Page
   ---------------------------------------------------------- */
.timeline-container { position: relative; padding-left: 30px; }
.timeline-container::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: #eee;
}
.timeline-item { position: relative; display: flex; gap: 25px; margin-bottom: 35px; }
.timeline-date {
  min-width: 60px; text-align: center; background: #e80000;
  color: #fff; border-radius: 8px; padding: 10px 8px; line-height: 1;
  height: fit-content;
}
.timeline-date .day { display: block; font-size: 22px; font-weight: 700; font-family: "Kanit", sans-serif; }
.timeline-date .month { display: block; font-size: 11px; text-transform: uppercase; margin-top: 2px; }
.timeline-date .year { display: block; font-size: 10px; opacity: .8; margin-top: 2px; }
.timeline-content {
  flex: 1; background: #fff; border-radius: 10px; padding: 20px 25px;
  box-shadow: 0 3px 15px rgba(0,0,0,.07); position: relative;
}
.timeline-badge {
  position: absolute; top: 20px; right: 20px;
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: #fff;
}
.timeline-badge.urgent { background: #ea5455; }
.timeline-badge.success { background: #28c76f; }
.timeline-badge.info { background: #1e9ff2; }
.timeline-badge.warning { background: #ff9f43; }
.timeline-content .title { font-size: 17px; margin-bottom: 10px; padding-right: 40px; }
.timeline-content p { font-size: 14px; color: #666; margin-bottom: 12px; }
.timeline-meta { display: flex; gap: 15px; font-size: 12px; }
.timeline-meta .category { background: rgba(232,0,0,.1); color: #e80000; padding: 2px 10px; border-radius: 20px; font-weight: 600; }
.timeline-meta .time { color: #888; }

.announcement-item {
  display: flex; gap: 20px; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1); border-radius: 10px;
  padding: 25px; align-items: flex-start; transition: .3s;
}
.announcement-item:hover { background: rgba(232,0,0,.15); border-color: #e80000; }
.announcement-icon { font-size: 30px; color: #e80000; min-width: 40px; }
.announcement-content .title { color: #fff; font-size: 16px; margin-bottom: 5px; }
.announcement-content p { color: rgba(255,255,255,.7); font-size: 13px; margin-bottom: 8px; }
.status {
  display: inline-block; font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 20px; text-transform: uppercase;
}
.status.extended { background: #ff9f43; color: #fff; }
.status.selling-fast { background: #ea5455; color: #fff; }
.status.available { background: #28c76f; color: #fff; }
.status.info { background: #1e9ff2; color: #fff; }

.newsletter-section .newsletter-content .title { font-size: 28px; margin-bottom: 10px; }
.newsletter-section .newsletter-form .input-group { max-width: 500px; margin: 0 auto; }
.newsletter-section .newsletter-form .form-control { border-radius: 30px 0 0 30px; padding: 12px 20px; border: 1px solid #eee; }
.newsletter-section .newsletter-form .btn--base { border-radius: 0 30px 30px 0; padding: 12px 25px; }
.newsletter-note { font-size: 12px; color: #888; margin-top: 10px; }
