/*
Theme Name: Shibooo1 SEO
Theme URI: https://shibooo1.com
Author: Shibooo1
Author URI: https://shibooo1.com
Description: Official SEO theme for shibooo1.com. Mobile-friendly, works with Yoast SEO and Rank Math.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.8
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: shibooo1-seo
Tags: blog, entertainment, custom-menu, featured-images, translation-ready, responsive-layout
*/

:root {
  --shibo-blue: #0693e3;
  --shibo-text: #334155;
  --shibo-muted: #64748b;
  --shibo-border: #eaeaea;
  --shibo-max: 900px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--shibo-text);
  background: #fff;
}

a {
  color: var(--shibo-blue);
}

img {
  max-width: 100%;
  height: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--shibo-border);
}

.site-header__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-title {
  margin: 0;
  font-size: 1.25rem;
}

.site-title a {
  color: var(--shibo-text);
  text-decoration: none;
}

.primary-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav a {
  text-decoration: none;
  font-weight: 500;
}

.btn-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--shibo-blue);
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}

.site-main {
  max-width: var(--shibo-max);
  margin: 0 auto;
  padding: 24px 16px 48px;
}

.entry-title {
  margin: 0 0 1rem;
  font-size: clamp(1.375rem, 3vw, 2.25rem);
  line-height: 1.3;
}

.entry-content h2,
.entry-content h3 {
  margin-top: 1.75rem;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  overflow-x: auto;
  display: block;
}

.entry-content th,
.entry-content td {
  border: 1px solid var(--shibo-border);
  padding: 8px 12px;
}

.site-footer {
  border-top: 1px solid var(--shibo-border);
  padding: 24px 16px;
  text-align: center;
  color: var(--shibo-muted);
  font-size: 0.875rem;
}

.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border-top: 1px solid var(--shibo-border);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.mobile-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--shibo-text);
}

.mobile-bar a.is-primary {
  background: var(--shibo-blue);
  color: #fff;
}

body {
  padding-bottom: calc(52px + env(safe-area-inset-bottom, 0));
}

@media (min-width: 768px) {
  .mobile-bar {
    display: none;
  }

  body {
    padding-bottom: 0;
  }
}

@media (max-width: 767px) {
  .primary-nav {
    display: none;
  }
}
