/* Base reset */
* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
  line-height: 1.6;
  color: #333;
  margin: 0;
  background: #f5f5f5
}

a {
  color: #0066cc;
  text-decoration: none
}

a:hover {
  text-decoration: underline
}

.container {
  max-width: 100%;
  margin: 0;
  padding: 0 20px;
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #2c3e50;
  color: #fff;
  border-bottom: 3px solid #3498db;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 15px 20px
}

.brand {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .2px;
  display: flex;
}

.brand img {
  width: 160px;
  height: auto;
}

.nav {
  margin-left: auto;
  display: flex;
  gap: 14px;
  flex-wrap: wrap
}

.nav a {
  color: #ecf0f1;
  font-size: 14px
}

.nav a.active {
  color: #fff;
  text-decoration: underline
}

.main-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.hero-section {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: #fff;
  border-radius: 12px;
  margin-bottom: 40px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-section h1 {
  font-size: 36px;
  margin: 0 0 15px;
  font-weight: 700;
  line-height: 1.2;
}

.hero-section .meta {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  margin-bottom: 25px;
}

.content-wrapper {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  line-height: 1.8;
}

.content-wrapper h2 {
  font-size: 28px;
  margin: 40px 0 20px;
  color: #2c3e50;
  padding-bottom: 10px;
  border-bottom: 3px solid #3498db;
}

.content-wrapper h3 {
  font-size: 22px;
  margin: 30px 0 15px;
  color: #34495e;
}

.content-wrapper p {
  margin: 15px 0;
  color: #444;
}

.content-wrapper ul,
.content-wrapper ol {
  margin: 15px 0;
  padding-left: 25px;
}

.content-wrapper li {
  margin: 8px 0;
  color: #444;
}

.toc {
  display: none;
}

/* FAQ accordion */
.faq .item {
  border: 1px solid #ddd;
  border-radius: 8px;
  margin: 10px 0;
  background: #fff
}

.faq .q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 14px 16px;
  background: #ecf0f1;
  border-radius: 8px;
  cursor: pointer
}

.faq .a {
  display: none;
  padding: 14px 16px
}

.faq .item.open .a {
  display: block
}

/* Footer */
.footer {
  margin-top: 60px;
  color: #666;
  text-align: center;
  font-size: 13px;
  padding: 40px 20px;
  background: #2c3e50;
  color: #ecf0f1;
  border-top: 3px solid #3498db
}

code,
pre {
  background: #ecf0f1;
  border-radius: 4px;
  padding: .2em .4em
}

table {
  border-collapse: collapse;
  width: 100%;
  margin: 25px 0;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

td,
th {
  border: 1px solid #e0e0e0;
  padding: 12px 15px;
  text-align: left
}

th {
  background: #3498db;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.5px;
}

tr:nth-child(even) {
  background: #f8f9fa
}

tr:hover {
  background: #e8f4f8;
  transition: background 0.2s;
}

/* ------------------------------ */
/* Mobile navigation and burger  */
/* These styles add a hamburger button for small screens and toggle the primary navigation. */

/* Base burger button: hidden by default on larger screens */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 24px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #fff;
}

/* Ensure the burger is hidden on larger screens */
@media (min-width: 769px) {
  .burger {
    display: none;
  }
}

/* Responsive adjustments for screens 768px and narrower */
@media (max-width: 768px) {
  .main-content {
    padding: 10px;
  }

  .hero-section {
    padding: 30px 15px;
    margin-bottom: 30px;
  }

  .hero-section h1 {
    font-size: 24px;
  }

  .content-wrapper {
    padding: 25px 20px;
  }

  .content-wrapper h2 {
    font-size: 22px;
    margin: 30px 0 15px;
  }

  .content-wrapper h3 {
    font-size: 18px;
  }

  .btns-group {
    flex-direction: column;
    gap: 10px;
  }

  .btns-group a {
    min-width: 100%;
    padding: 12px 20px;
  }

  /* Allow header content to wrap so nav appears on a new row */
  .header .wrap {
    flex-wrap: wrap;
  }

  /* Hide nav by default and stack its links vertically when shown */
  .nav {
    display: none;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    margin-left: 0;
    padding: 8px 0;
    background: #2c3e50;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  /* Show nav when it has .open class, toggled via JS */
  .nav.open {
    display: flex;
  }

  /* Style nav links for mobile */
  .nav a {
    padding: 8px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
  }

  /* Display the burger button and push it to the right */
  .burger {
    display: flex;
    margin-left: auto;
  }

  table {
    font-size: 14px;
  }

  td, th {
    padding: 8px 10px;
  }
}

.wp-block-table {
  margin: 0;
  display: block;
  overflow-x: auto;
}

.btns-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.btns-group a {
  border: 2px solid #fff;
  padding: 14px 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  min-width: 180px;
  text-align: center;
  transition: all 0.3s;
  font-weight: 600;
  font-size: 14px;
}

.btns-group a:hover {
  background: #fff;
  color: #3498db;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}