/* ===== Theme tokens ===== */
:root {
  --red: #ff0000;
  --red-dark: #d40000;
  --heading: #111111;
  --text: #333333;
  --link: #060097;
  --border: #e7e7e7;
  --table-border: #e8e8e8;
  --bg: #ffffff;
  --bg-soft: #f9fafb;
  --container: 1200px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
a:hover { color: var(--red); }
h1, h2, h3, h4 { color: var(--heading); margin: 0 0 14px; line-height: 1.35; }
h2 { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 25px; margin-top: 28px; }
h3 { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 20px; margin-top: 22px; }
p { margin: 0 0 12px; }
ul, ol { margin: 0 0 16px; padding-left: 20px; }
li { margin-bottom: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -999px; top: 0; background: #000; color: #fff; padding: 8px 14px; z-index: 999; }
.skip-link:focus { left: 10px; }

/* ===== Header ===== */
.site-header { background: #F2F3F5; border-bottom: 1px solid var(--border); position: relative; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 20px; }
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo img { width: 50px; height: 50px; }
.site-title { font-family: 'Inter', sans-serif; font-size: 26px; font-weight: 400; color: #000; white-space: nowrap; }
.main-nav ul { list-style: none; display: flex; flex-wrap: wrap; margin: 0; padding: 0; }
.main-nav li { margin: 0; }
.main-nav a {
  display: block; padding: 0 1em; line-height: var(--header-h); font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px; font-weight: 600; color: #222; text-decoration: none;
}
.main-nav a:hover, .main-nav a.active { color: var(--link); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: #000; }
.header-download { display: none; }
.nav-toggle svg { width: 26px; height: 26px; display: block; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

/* ===== Page content ===== */
.site-content { padding: 20px 0 50px; }
.page-title {
  font-family: 'Rozha One', serif; font-weight: 400; font-size: 32px; text-align: center;
  color: #000; margin: 4px 0 20px; line-height: 1.3;
}
.hero-logo { width: 280px; margin: 6px auto 22px; border-radius: 17%; }
.hero-image { width: 100%; max-width: 760px; margin: 10px auto 26px; border-radius: 6px; }
.btn-wrap { text-align: center; margin: 0 0 18px; }
.btn-download {
  display: inline-flex; align-items: center; gap: 8px; background: var(--red); color: #fff;
  font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 500; padding: 12px 24px;
  border-radius: 3px; text-decoration: none; box-shadow: 0 4px 10px rgba(255, 0, 0, .25); transition: background .2s;
}
.btn-download:hover { background: var(--red-dark); color: #fff; }
.btn-download svg { width: 16px; height: 16px; }

/* Table */
.table-wrap { overflow-x: auto; margin: 0 0 30px; -webkit-overflow-scrolling: touch; }
.info-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.info-table th, .info-table td { border: 1px solid var(--table-border); padding: 14px 18px; text-align: left; }
.info-table thead th { text-align: center; font-weight: 600; color: var(--heading); }
.info-table td:first-child { width: 29%; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0 0 30px; }
.gallery img { width: 100%; aspect-ratio: 1 / 2.05; object-fit: cover; object-position: top; border-radius: 6px; background: #000; }

/* FAQ */
.faq-list { margin: 0 0 20px; }
.faq-item h3 { font-size: 18px; margin: 18px 0 6px; }

/* Contact form */
.contact-form { max-width: 700px; margin: 10px 0 30px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 500; color: var(--heading); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 11px 14px; border: 1px solid #ccc; border-radius: 3px; font: inherit; color: var(--text);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--link); }
.field textarea { min-height: 150px; resize: vertical; }
.btn-submit {
  background: var(--red); color: #fff; border: 0; padding: 12px 30px; border-radius: 3px; font: inherit;
  font-weight: 500; cursor: pointer;
}
.btn-submit:hover { background: var(--red-dark); }
.form-success { display: none; color: #047857; font-weight: 500; margin-top: 12px; }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 10px; }
.post-card { border: 1px solid var(--border); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.post-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.post-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.post-body h2 { font-size: 19px; margin: 0 0 8px; }
.post-body h2 a { color: var(--heading); text-decoration: none; }
.post-body h2 a:hover { color: var(--link); }
.post-meta { font-size: 13px; color: #777; margin-bottom: 8px; }
.read-more { margin-top: auto; font-weight: 500; text-decoration: none; }

/* ===== Footer ===== */
.ic7-footer {
    background:#F2F3F5;
    color:#111111;
    margin-top: 50px;
  }

.ic7-footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
  }

  /* Logo */
.ic7-footer-logo {
    display: block;
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 14px;
  }

.ic7-footer h3,
.ic7-footer h4 {
    margin: 0 0 14px;
    color:#F70F1C;
  }

.ic7-footer h3 {
    font-size: 22px;
  }

.ic7-footer h4 {
    font-size: 17px;
  }

.ic7-footer p {
    margin: 0;
    color:#111111;
    font-size: 14px;
    line-height: 1.7;
  }

.ic7-footer-links ul {
    list-style: none;
    color:#F70F1C;
    margin: 0;
    padding: 0;
  }

.ic7-footer-links li {
    margin-bottom: 9px;
  }
.ic7-footer a {
    color: #111111;
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s ease;
  }
.ic7-footer-links a:hover {
    color: #F70F1C;
  }
.ic7-play-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 18px;
    background: #fff;
    color: #111 !important;
    border-radius: 5px;
    font-weight: 600;
  }
.ic7-play-btn:hover {
    opacity: 0.9;
  }
.ic7-footer-bottom {
    border-top: 1px solid #292929;
    text-align: center;
    padding: 16px 20px;
  }
.ic7-footer-bottom p {
    font-size: 13px;
  }

  @media (max-width: 700px) {
    .ic7-footer-container {
      grid-template-columns: 1fr;
      gap: 28px;
      padding: 32px 18px;
    }
.ic7-footer {
      margin-top: 35px;
    }
.ic7-footer-logo {
      width: 70px;
      height: 70px;
    }
  }
  @media (max-width: 700px) {
    .ic7-footer-container {
      grid-template-columns: 1fr;
      gap: 28px;
      padding: 32px 18px;
    }
.ic7-footer {
      margin-top: 35px;
    }
  }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .main-nav a { padding: 0 .65em; font-size: 13.5px; }
}

@media (max-width: 921px) {
  :root { --header-h: 70px; }
  .header-download {
    display: inline-flex; align-items: center; justify-content: center; margin-left: auto;
    padding: 8px 12px; border-radius: 3px; background: var(--red); color: #fff;
    font-size: 13px; font-weight: 500; line-height: 1.3; text-decoration: none; white-space: nowrap;
  }
  .header-download:hover { background: var(--red-dark); color: #fff; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); box-shadow: 0 8px 16px rgba(0, 0, 0, .06);
  }
  .nav-open .main-nav { display: block; }
  .main-nav ul { flex-direction: column; }
  .main-nav li { border-bottom: 1px solid #f0f0f0; }
  .main-nav li:last-child { border-bottom: 0; }
  .main-nav a { line-height: 1.5; padding: 13px 20px; font-size: 15px; }
  .footer-inner { flex-direction: column; justify-content: center; text-align: center; }
  .footer-menu { justify-content: center; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .site-title { font-size: 22px; }
  .logo img { width: 42px; height: 42px; }
  .page-title { font-size: 26px; }
  h2 { font-size: 22px; }
  h3 { font-size: 18px; }
  .gallery { gap: 8px; }
  .post-grid { grid-template-columns: 1fr; }
  .info-table th, .info-table td { padding: 11px 12px; }
}

@media (max-width: 544px) {
  .container { padding: 0 16px; }
  .page-title { font-size: 24px; }
  .info-table { font-size: 14px; }
  .hero-logo { width: 220px; }
}

/* ===== Blog (PHP) ===== */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 36px; }
.pagination a { padding: 7px 14px; border: 1px solid var(--border); border-radius: 3px; text-decoration: none; color: var(--heading); }
.pagination a.current, .pagination a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.single-post { max-width: 860px; margin: 0 auto; }
.breadcrumbs { font-size: 13px; color: #777; margin-bottom: 8px; text-align: center; }
.breadcrumbs a { color: #777; text-decoration: none; }
.breadcrumbs a:hover { color: var(--red); }
.single-meta { text-align: center; color: #777; font-size: 14px; }
.preview-bar { background: #fff8e1; border: 1px solid #ffe08a; color: #7a5300; padding: 10px 16px; border-radius: 4px; margin-bottom: 16px; text-align: center; }
.post-content img { border-radius: 6px; margin: 16px auto; }
.post-content blockquote { margin: 18px 0; padding: 12px 20px; border-left: 4px solid var(--red); background: var(--bg-soft); }
.post-content pre { background: #1e1e1e; color: #eee; padding: 14px; border-radius: 6px; overflow-x: auto; }
.post-content iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; }
.post-content .ql-align-center { text-align: center; }
.post-content .ql-align-right { text-align: right; }
.post-content .ql-align-justify { text-align: justify; }
.post-content li[data-list="bullet"] { list-style-type: disc; }
.post-tags a { display: inline-block; margin: 0 6px 6px 0; padding: 3px 10px; background: var(--bg-soft); border-radius: 20px; font-size: 13px; text-decoration: none; }

/* ===== Single post: content + sidebar ===== */
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; margin-top: 10px; }
.single-post { max-width: none; margin: 0; }
.post-featured { width: 100%; border-radius: 6px; margin: 0 0 24px; }
.blog-sidebar { position: sticky; top: 20px; display: grid; gap: 24px; }
.widget { border: 1px solid var(--border); border-radius: 6px; padding: 20px; background: #fff; }
.widget-title { font-size: 18px; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--red); display: inline-block; }
.search-form { display: flex; border: 1px solid #ccc; border-radius: 3px; overflow: hidden; }
.search-form:focus-within { border-color: var(--link); }
.search-form input { flex: 1; min-width: 0; border: 0; padding: 10px 12px; font: inherit; color: var(--text); outline: none; }
.search-form button { background: var(--red); color: #fff; border: 0; width: 46px; display: grid; place-items: center; cursor: pointer; }
.search-form button:hover { background: var(--red-dark); }
.search-form svg { width: 18px; height: 18px; }
.search-inline { max-width: 520px; margin: 0 auto 26px; }
.recent-posts { list-style: none; margin: 0; padding: 0; }
.recent-posts li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid #f0f0f0; margin: 0; }
.recent-posts li:first-child { padding-top: 0; }
.recent-posts li:last-child { border-bottom: 0; padding-bottom: 0; }
.recent-thumb { flex-shrink: 0; }
.recent-thumb img { width: 80px; height: 60px; object-fit: cover; border-radius: 4px; }
.recent-title { display: block; color: var(--heading); text-decoration: none; font-weight: 500; font-size: 14px; line-height: 1.45; }
.recent-title:hover { color: var(--red); }
.recent-date { display: block; font-size: 12px; color: #888; margin-top: 3px; }

@media (max-width: 991px) {
  .post-layout { grid-template-columns: 1fr; gap: 30px; }
  .blog-sidebar { position: static; }
}
 .basic-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-family: Arial, sans-serif;
    font-size: 15px;
  }

  .basic-table th,
  .basic-table td {
    border: 1px solid #ddd;
    padding: 12px 14px;
    text-align: left;
  }

  .basic-table th {
    background: #f5f5f5;
    font-weight: 600;
  }

  .basic-table td:first-child {
    font-weight: 600;
  }

  @media (max-width: 600px) {
    .basic-table {
      font-size: 14px;
    }

    .basic-table th,
    .basic-table td {
      padding: 10px;
    }
  }
  
  
  .responsive-table {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 20px 0;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 650px;
}

.cookie-table th,
.cookie-table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: left;
    word-break: break-word;
}

.cookie-table th {
    font-weight: 600;
}

.cookie-table tr {
    vertical-align: top;
}

@media (max-width: 600px) {
    .responsive-table {
        margin: 15px 0;
    }

    .cookie-table {
        min-width: 600px;
    }

    .cookie-table th,
    .cookie-table td {
        padding: 10px;
        font-size: 14px;
    }
}
.ic7-keywords {
    max-width: 1000px;
    margin: 35px auto 10px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fafafa;
  }

  .ic7-keywords h2 {
    margin: 0 0 15px;
    font-size: 20px;
    line-height: 1.4;
    color: #222;
  }

  .ic7-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .ic7-tags a {
    display: inline-block;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #333;
    font-size: 14px;
    line-height: 1.4;
    text-decoration: none;
    transition: all 0.2s ease;
  }

  .ic7-tags a:hover {
    background: #f2f2f2;
    border-color: #bbb;
    color: #111;
  }

  @media (max-width: 600px) {
    .ic7-keywords {
      padding: 16px;
      margin-top: 25px;
    }

    .ic7-keywords h2 {
      font-size: 18px;
    }

    .ic7-tags {
      gap: 8px;
    }

    .ic7-tags a {
      padding: 7px 11px;
      font-size: 13px;
    }
  }