/*
Theme Name: How to Enable Guide Hub
Theme URI: https://example.com/how-to-enable-guide-hub
Author: Guide Hub
Author URI: https://example.com
Description: A modern responsive theme for enable guides across devices and platforms.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: how-to-enable-guide-hub
*/

:root {
  --bg: #f6f9ff;
  --surface: #ffffff;
  --primary: #1d5eea;
  --primary-dark: #1548b4;
  --text: #1c2a3a;
  --muted: #5a6b83;
  --border: #d9e3f6;
  --success-bg: #eef8ff;
  --warn-bg: #fff8e8;
  --shadow: 0 10px 24px rgba(24, 62, 140, 0.08);
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
}

.logo {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  display: inline-block;
  padding: 0.35rem 0.55rem;
  border-radius: 0.45rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.main-nav a[aria-current="page"],
.main-nav a:hover {
  background: #edf3ff;
  text-decoration: none;
}

.breadcrumb {
  font-size: 0.9rem;
  color: var(--muted);
  padding: 0.8rem 0 0.2rem;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.hero {
  background: linear-gradient(160deg, #ffffff 0%, #e9f0ff 100%);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: clamp(1.2rem, 3vw, 2.6rem);
  margin: 1rem 0 1.3rem;
  box-shadow: var(--shadow);
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  font-size: clamp(1.5rem, 2.8vw, 2.35rem);
}

h2 {
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  margin-bottom: 0.7rem;
}

h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.subtitle {
  color: var(--muted);
  margin-top: 0.4rem;
}

.search-wrap {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.search-wrap input {
  flex: 1 1 260px;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  padding: 0.7rem 0.8rem;
  font-size: 1rem;
}

.search-wrap button {
  border: 0;
  background: var(--primary);
  color: #fff;
  border-radius: 0.6rem;
  padding: 0.7rem 1rem;
  font-weight: 700;
  cursor: pointer;
}

.search-wrap button:hover {
  background: var(--primary-dark);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.2rem 0 1.8rem;
}

.card {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 0.85rem;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.card p {
  margin-top: 0.4rem;
  color: var(--muted);
}

.content-section {
  margin: 1rem 0 1.3rem;
}

.step-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
}

.step-item {
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  background: var(--surface);
  padding: 0.9rem;
}

.step-item strong {
  color: var(--primary-dark);
}

.icon {
  margin-right: 0.35rem;
}

.placeholder {
  border: 1px dashed #93a9d7;
  border-radius: 0.7rem;
  background: #f2f6ff;
  color: #425b8f;
  text-align: center;
  padding: 1.2rem;
  font-size: 0.95rem;
  margin-top: 0.6rem;
}

.faq details {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 0.7rem;
  padding: 0.75rem 0.85rem;
  margin: 0.55rem 0;
}

.tips-box {
  background: var(--success-bg);
  border-left: 4px solid var(--primary);
  padding: 0.8rem 0.9rem;
  border-radius: 0.6rem;
  margin-top: 0.8rem;
}

.warning-box {
  background: var(--warn-bg);
  border-left: 4px solid #d18b00;
  padding: 0.8rem 0.9rem;
  border-radius: 0.6rem;
  margin-top: 0.8rem;
}

.internal-links {
  margin-top: 1rem;
}

.site-footer {
  margin-top: 2rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.footer-inner {
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

@media (max-width: 760px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav ul {
    gap: 0.3rem;
  }

  .main-nav a {
    padding: 0.35rem 0.45rem;
    font-size: 0.9rem;
  }
}
