/* Epson Download Center Design System Theme */
:root {
  --epson-blue-dark: #00297a;
  --epson-blue: #003399;
  --epson-blue-hover: #002266;
  --epson-blue-light: #e8f0fe;
  --epson-accent: #0066cc;
  --epson-text: #222222;
  --epson-text-muted: #595959;
  --epson-border: #dcdcdc;
  --epson-bg-light: #f5f6f8;
  --epson-bg-card: #ffffff;
  --epson-tag-bg: #eaf1fb;
  --epson-tag-color: #0b57d0;
  --epson-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  --epson-shadow-hover: 0 4px 12px rgba(0, 41, 122, 0.12);
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ==========================================================================
   Self-Contained Grid, Flexbox, Typography & Utility Reset
   Ensures 100% pixel-perfect styling even without external Bootstrap CDN
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

img, svg, picture {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--epson-blue);
  text-decoration: underline;
  transition: color 0.15s ease-in-out;
}
a:hover {
  color: var(--epson-blue-hover);
}

/* Containers */
.container {
  width: 100%;
  max-width: 1240px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 20px;
  padding-left: 20px;
}

/* Flexbox System */
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }
.d-block { display: block !important; }
.d-inline-block { display: inline-block !important; }
.d-none { display: none !important; }

@media (min-width: 768px) {
  .d-md-flex { display: flex !important; }
  .d-md-block { display: block !important; }
  .d-md-none { display: none !important; }
}

.flex-column { flex-direction: column !important; }
.flex-row { flex-direction: row !important; }
.flex-wrap { flex-wrap: wrap !important; }

.justify-content-between { justify-content: space-between !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-start { justify-content: flex-start !important; }
.justify-content-end { justify-content: flex-end !important; }

.align-items-center { align-items: center !important; }
.align-items-start { align-items: flex-start !important; }
.align-items-end { align-items: flex-end !important; }

/* Grid System */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

[class*="col-"] {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  box-sizing: border-box;
}

.col-12 { flex: 0 0 100%; max-width: 100%; }

@media (min-width: 768px) {
  .col-md-3 { flex: 0 0 25%; max-width: 25%; }
  .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  .col-md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-md-9 { flex: 0 0 75%; max-width: 75%; }
  .col-md-12 { flex: 0 0 100%; max-width: 100%; }
  .text-md-end { text-align: right !important; }
}

@media (min-width: 992px) {
  .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
  .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
  .col-lg-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-lg-9 { flex: 0 0 75%; max-width: 75%; }
  .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
  .mt-lg-0 { margin-top: 0 !important; }
}

/* Nav & Header resets */
.fixed-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}

.navbar-nav {
  display: flex;
  flex-direction: row;
  padding-left: 0;
  margin: 0;
  list-style: none;
  align-items: center;
  gap: 8px;
}
.nav-item { list-style: none; }
.nav-link {
  display: block;
  padding: 0.5rem 0.85rem;
  text-decoration: none;
}

/* Dropdown System */
.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-toggle {
  cursor: pointer;
  user-select: none;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  min-width: 10rem;
  padding: 0.5rem 0;
  margin: 0.125rem 0 0;
  font-size: 0.88rem;
  color: var(--epson-text);
  text-align: left;
  list-style: none;
  background-color: #ffffff;
  background-clip: padding-box;
  border: 1px solid var(--epson-border);
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.dropdown-menu-end {
  right: 0;
  left: auto;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu,
.dropdown.show .dropdown-menu,
.dropdown-menu.show {
  display: block;
}
.dropdown-item {
  display: block;
  width: 100%;
  padding: 0.4rem 1.2rem;
  clear: both;
  font-weight: 400;
  color: #212529;
  text-align: inherit;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
}
.dropdown-item:hover, .dropdown-item:focus {
  color: #00297a;
  background-color: var(--epson-blue-light);
}

/* Breadcrumbs */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
  align-items: center;
}
.breadcrumb-item {
  display: inline-flex;
  align-items: center;
}
.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  padding: 0 0.5rem;
  color: #8c9ba5;
}

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 500;
  line-height: 1.5;
  color: #212529;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.45rem 1rem;
  font-size: 0.95rem;
  border-radius: 4px;
  transition: all 0.2s ease-in-out;
}
.btn-primary {
  color: #ffffff !important;
  background-color: var(--epson-blue);
  border-color: var(--epson-blue);
}
.btn-primary:hover {
  background-color: var(--epson-blue-hover);
  border-color: var(--epson-blue-hover);
}
.btn-light {
  color: #212529;
  background-color: #f8f9fa;
  border-color: #dee2e6;
}
.btn-light:hover {
  background-color: #e2e6ea;
}
.btn-outline-primary {
  color: var(--epson-blue);
  border-color: var(--epson-blue);
}
.btn-outline-primary:hover {
  color: #ffffff;
  background-color: var(--epson-blue);
}
.btn-outline-secondary {
  color: #6c757d;
  border-color: #6c757d;
}
.btn-outline-secondary:hover {
  color: #ffffff;
  background-color: #6c757d;
}
.btn-outline-light {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}
.btn-sm {
  padding: 0.25rem 0.55rem;
  font-size: 0.82rem;
  border-radius: 4px;
}

/* Cards & Surfaces */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #ffffff;
  background-clip: border-box;
  border: 1px solid var(--epson-border);
  border-radius: 8px;
}

.rounded { border-radius: 6px !important; }
.shadow-sm { box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04) !important; }
.border { border: 1px solid var(--epson-border) !important; }
.border-0 { border: 0 !important; }
.border-top { border-top: 1px solid var(--epson-border) !important; }
.bg-light { background-color: var(--epson-bg-light) !important; }
.bg-white { background-color: #ffffff !important; }
.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }
.img-fluid { max-width: 100%; height: auto; }

/* Typography & Text */
.text-center { text-align: center !important; }
.text-start { text-align: left !important; }
.text-decoration-none { text-decoration: none !important; }
.text-muted { color: var(--epson-text-muted) !important; }
.text-dark { color: #1e293b !important; }
.text-uppercase { text-transform: uppercase !important; }
.text-break { word-break: break-word !important; }
.fw-bold { font-weight: 700 !important; }
.fw-semibold { font-weight: 600 !important; }
.small { font-size: 0.875rem !important; }
.list-unstyled { padding-left: 0; list-style: none; margin: 0; }

.h3 { font-size: 1.75rem; font-weight: 700; margin-bottom: 0.5rem; }
.h5 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; }
.h6 { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }

/* Spacing System */
.m-0 { margin: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 2.5rem !important; }

.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 2.5rem !important; }
.mt-md-0 { margin-top: 0 !important; }

.my-2 { margin-top: 0.5rem !important; margin-bottom: 0.5rem !important; }
.my-3 { margin-top: 1rem !important; margin-bottom: 1rem !important; }
.my-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
.my-5 { margin-top: 2.5rem !important; margin-bottom: 2.5rem !important; }

.p-0 { padding: 0 !important; }
.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.ps-3 { padding-left: 1rem !important; }
.pt-2 { padding-top: 0.5rem !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.px-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }

.gap-1 { gap: 0.25rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 1rem !important; }
.gap-4 { gap: 1.5rem !important; }
.g-3 { gap: 1rem; }


body {
  font-family: var(--font-family);
  color: var(--epson-text);
  background-color: var(--epson-bg-light);
  line-height: 1.65;
  margin: 0;
  padding-top: 70px;
}

/* Header & Top Bar */
.epson-navbar {
  background-color: var(--epson-blue-dark);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  padding: 0.6rem 0;
  border-bottom: 2px solid #001f5c;
}

.epson-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
}

.epson-logo-text {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: #ffffff;
  text-transform: uppercase;
}

.epson-site-subtitle {
  font-size: 0.95rem;
  font-weight: 400;
  color: #c9d8f8;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  padding-left: 12px;
  line-height: 1.2;
}

.epson-nav-link {
  color: #e0e9ff !important;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.5rem 0.85rem !important;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.epson-nav-link:hover, .epson-nav-link.active {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.12);
}

.epson-lang-btn {
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff !important;
  font-size: 0.88rem;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.epson-lang-btn:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.dropdown-menu {
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--epson-border);
}

/* Breadcrumbs */
.epson-breadcrumb-bar {
  background-color: #ffffff;
  border-bottom: 1px solid var(--epson-border);
  padding: 0.65rem 0;
  font-size: 0.85rem;
}

.epson-breadcrumb-bar ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.epson-breadcrumb-bar li + li::before {
  content: ">";
  color: var(--epson-text-muted);
  margin-right: 8px;
}

.epson-breadcrumb-bar a {
  color: var(--epson-blue);
  text-decoration: none;
}

.epson-breadcrumb-bar a:hover {
  text-decoration: underline;
}

.epson-breadcrumb-bar li.active {
  color: var(--epson-text-muted);
}

/* Product Info Banner */
.product-hero-card {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid var(--epson-border);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--epson-shadow);
}

.product-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--epson-blue-dark);
  margin-bottom: 0.3rem;
}

.product-meta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.epson-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

.epson-badge-primary {
  background-color: var(--epson-tag-bg);
  color: var(--epson-tag-color);
}

.epson-badge-success {
  background-color: #e6f4ea;
  color: #137333;
}

.epson-badge-neutral {
  background-color: #f1f3f4;
  color: #5f6368;
}

/* OS Selector Controls */
.os-selector-box {
  background-color: #f8fafc;
  border: 1px solid var(--epson-border);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.os-selector-label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--epson-text);
  display: flex;
  align-items: center;
  gap: 6px;
}

.os-filter-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.os-filter-btn {
  background-color: #ffffff;
  border: 1px solid var(--epson-border);
  color: var(--epson-text);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
}

.os-filter-btn:hover {
  border-color: var(--epson-blue);
  color: var(--epson-blue);
}

.os-filter-btn.active {
  background-color: var(--epson-blue);
  color: #ffffff;
  border-color: var(--epson-blue);
}

/* Section Headings */
.section-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--epson-blue);
  padding-bottom: 0.5rem;
  margin-top: 1.25rem;
  margin-bottom: 1rem;
}

.section-header-bar h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--epson-blue-dark);
  margin: 0;
}

/* Download Cards */
.download-card {
  background: var(--epson-bg-card);
  border: 1px solid var(--epson-border);
  border-radius: 8px;
  margin-bottom: 1.25rem;
  box-shadow: var(--epson-shadow);
  transition: box-shadow 0.2s, border-color 0.2s;
  overflow: hidden;
}

.download-card:hover {
  box-shadow: var(--epson-shadow-hover);
  border-color: #b0c8f5;
}

.download-card-header {
  padding: 1.2rem 1.5rem;
  background-color: #ffffff;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.download-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.download-card-version {
  color: var(--epson-text-muted);
  font-size: 0.88rem;
  font-weight: 400;
}

.download-card-body {
  padding: 1.25rem 1.5rem;
}

.download-spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  background-color: #f9fbfd;
  border: 1px solid #edf2f7;
  padding: 0.85rem 1.15rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-label {
  color: var(--epson-text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.spec-value {
  color: var(--epson-text);
  font-weight: 600;
}

.epson-btn-download {
  background-color: var(--epson-blue);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.65rem 1.4rem;
  border-radius: 4px;
  border: 1px solid var(--epson-blue-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  transition: all 0.2s;
  cursor: pointer;
}

.epson-btn-download:hover {
  background-color: var(--epson-blue-hover);
  box-shadow: 0 2px 6px rgba(0, 41, 122, 0.35);
  transform: translateY(-1px);
}

.epson-btn-download svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Other Software Section */
.other-software-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.other-software-card {
  background: #ffffff;
  border: 1px solid var(--epson-border);
  border-radius: 6px;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.other-software-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--epson-blue-dark);
  margin-bottom: 4px;
}

.other-software-desc {
  font-size: 0.85rem;
  color: var(--epson-text-muted);
  margin-bottom: 0.85rem;
  flex-grow: 1;
}

/* SEO Content Typography & Sections */
.seo-content-container {
  background: #ffffff;
  border: 1px solid var(--epson-border);
  border-radius: 8px;
  padding: 2.2rem 2.5rem;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--epson-shadow);
}

.seo-content-container h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--epson-blue-dark);
  margin-top: 2.2rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid #e2e8f0;
}

.seo-content-container h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #1a202c;
  margin-top: 1.4rem;
  margin-bottom: 0.5rem;
}

.seo-content-container p {
  color: #374151;
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.seo-content-container ul, .seo-content-container ol {
  color: #374151;
  font-size: 0.95rem;
  line-height: 1.75;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.seo-content-container li {
  margin-bottom: 0.4rem;
}

.seo-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.9rem;
}

.seo-table th {
  background-color: #f1f5f9;
  color: var(--epson-blue-dark);
  font-weight: 600;
  text-align: left;
  padding: 0.75rem 1rem;
  border: 1px solid var(--epson-border);
}

.seo-table td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--epson-border);
  color: #374151;
}

.seo-table tr:nth-child(even) {
  background-color: #fbfcfd;
}

/* FAQ Accordion */
.faq-item {
  border: 1px solid var(--epson-border);
  border-radius: 6px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-question {
  background-color: #ffffff;
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--epson-blue-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: background-color 0.2s;
}

.faq-question:hover {
  background-color: #f8fafc;
}

.faq-question::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--epson-blue);
  transition: transform 0.2s;
}

.faq-item.active .faq-question::after {
  content: "−";
}

.faq-answer {
  display: none;
  padding: 1rem 1.25rem;
  background-color: #fcfdfe;
  border-top: 1px solid #edf2f7;
  font-size: 0.92rem;
  color: #4b5563;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Footer */
.epson-footer {
  background-color: #1e293b;
  color: #cbd5e1;
  padding: 2.5rem 0 1.5rem 0;
  font-size: 0.88rem;
  border-top: 3px solid var(--epson-blue);
  margin-top: 3rem;
}

.epson-footer a {
  color: #93c5fd;
  text-decoration: none;
}

.epson-footer a:hover {
  text-decoration: underline;
  color: #ffffff;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 1.25rem;
  list-style: none;
  padding: 0;
}

.footer-disclaimer {
  color: #94a3b8;
  font-size: 0.8rem;
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
  line-height: 1.5;
}

/* RTL Support */
[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .epson-site-subtitle {
  border-left: none;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  padding-left: 0;
  padding-right: 12px;
}

[dir="rtl"] .epson-breadcrumb-bar li + li::before {
  content: "<";
  margin-right: 0;
  margin-left: 8px;
}

[dir="rtl"] .seo-table th, [dir="rtl"] .seo-table td {
  text-align: right;
}

[dir="rtl"] .seo-content-container ul, [dir="rtl"] .seo-content-container ol {
  padding-left: 0;
  padding-right: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  body {
    padding-top: 60px;
  }
  .product-title {
    font-size: 1.4rem;
  }
  .seo-content-container {
    padding: 1.5rem 1.25rem;
  }
  .download-card-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .download-card-header .epson-btn-download {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .product-hero-card {
    padding: 1.25rem 1rem;
  }
  .download-card-body {
    padding: 1rem;
  }
  .download-spec-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .other-software-grid {
    grid-template-columns: 1fr;
  }
  .os-filter-btn-group {
    flex-direction: column;
    width: 100%;
  }
  .os-filter-btn {
    width: 100%;
    text-align: center;
  }
}

/* ==========================================================================
   Section Styling Polish (Features, Advantages, How to Use, FAQs)
   ========================================================================== */
.seo-content-container h2 {
  position: relative;
  padding-bottom: 0.4rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--epson-blue-light);
}

.seo-content-container h2::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--epson-blue);
}

[dir="rtl"] .seo-content-container h2::after {
  left: auto;
  right: 0;
}

.seo-content-container ul,
.seo-content-container ol {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--epson-blue);
  border-radius: 6px;
  padding: 1.25rem 1.5rem 1.25rem 2.25rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

[dir="rtl"] .seo-content-container ul,
[dir="rtl"] .seo-content-container ol {
  border-left: 1px solid #e2e8f0;
  border-right: 4px solid var(--epson-blue);
  padding-left: 1.5rem;
  padding-right: 2.25rem;
}

.seo-content-container ul li,
.seo-content-container ol li {
  margin-bottom: 0.6rem;
  line-height: 1.6;
}

.seo-content-container ul li:last-child,
.seo-content-container ol li:last-child {
  margin-bottom: 0;
}

/* Trust Indicators & Verification Widgets */
.verification-box {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  margin-top: 0.85rem;
  font-size: 0.82rem;
}

.verification-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}

.verification-row:last-child {
  margin-bottom: 0;
}

.verification-label {
  font-weight: 600;
  color: #475569;
}

.verification-hash {
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  background-color: #e2e8f0;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.78rem;
  color: #0f172a;
  word-break: break-all;
}

.trust-badges-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #edf2f7;
  font-size: 0.8rem;
  color: #475569;
}

.trust-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
}

/* Table Responsive Container */
.seo-table-container {
  overflow-x: auto;
  margin-bottom: 1.5rem;
  border-radius: 6px;
  border: 1px solid var(--epson-border);
}

.seo-table-container .seo-table {
  margin-bottom: 0;
}

/* Author & Reviewer Box */
.author-review-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #10b981;
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--epson-blue-light);
  color: var(--epson-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ==========================================================================
   Blog Hub & Article Layout Styles
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.blog-card {
  background-color: #ffffff;
  border: 1px solid var(--epson-border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--epson-shadow);
  transition: all 0.25s ease;
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--epson-shadow-hover);
  border-color: var(--epson-blue);
  color: inherit;
}

.blog-card-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-bottom: 1px solid var(--epson-border);
}

.blog-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-tag {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--epson-blue);
  background-color: var(--epson-blue-light);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.blog-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--epson-blue-dark);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.blog-card-desc {
  font-size: 0.9rem;
  color: var(--epson-text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.blog-card-footer {
  font-size: 0.8rem;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
  padding-top: 0.75rem;
}

/* Article Page Layout */
.article-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--epson-border);
}

.article-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--epson-blue-dark);
  line-height: 1.3;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .article-title {
    font-size: 1.6rem;
  }
}

.article-featured-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: var(--epson-shadow);
}

.article-toc {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

.article-toc-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--epson-blue-dark);
  margin-bottom: 0.75rem;
}

.article-toc ul {
  margin-bottom: 0;
  padding-left: 1.25rem;
  background: transparent;
  border: none;
  box-shadow: none;
}

.article-toc li {
  margin-bottom: 0.4rem;
}

.article-toc a {
  color: var(--epson-blue);
  text-decoration: none;
}

.article-toc a:hover {
  text-decoration: underline;
}

.article-content {
  font-size: 1.02rem;
  line-height: 1.75;
  color: #1e293b;
}

.article-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--epson-blue-dark);
  margin-top: 2.25rem;
  margin-bottom: 1rem;
}

.article-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #334155;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.article-content p {
  margin-bottom: 1.2rem;
}

.article-cta-box {
  background: linear-gradient(135deg, #00297a 0%, #0044b3 100%);
  color: #ffffff;
  border-radius: 8px;
  padding: 2rem;
  margin: 2.5rem 0;
  text-align: center;
}

.article-cta-box h3 {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.article-cta-box p {
  color: #e0e9ff;
  max-width: 600px;
  margin: 0 auto 1.5rem auto;
}


.faq-accordion {
  margin-top: 1.5rem;
}

.form-label {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--epson-text);
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.55rem 0.85rem;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid var(--epson-border);
  border-radius: 4px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
  color: #212529;
  background-color: #fff;
  border-color: var(--epson-accent);
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 51, 153, 0.2);
}


/* ==========================================================================
   Zero-Gap AdSlot Container & Collapsing Rules
   ========================================================================== */
.ad-slot-wrapper {
  margin: 1rem auto;
  text-align: center;
  clear: both;
}

ins.adsbygoogle {
  display: block;
  margin: 0 auto;
}

/* If unfilled, empty, or failed, collapse immediately with 0 height and 0 margin */
ins.adsbygoogle[data-ad-status="unfilled"],
ins.adsbygoogle[data-ad-status="unfilled"] *,
ins.adsbygoogle:empty {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ad-slot-wrapper:has(ins.adsbygoogle[data-ad-status="unfilled"]),
.ad-slot-wrapper:has(ins.adsbygoogle:empty),
.text-center:has(> ins.adsbygoogle[data-ad-status="unfilled"]),
.text-center:has(> ins.adsbygoogle:empty) {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
