/*
Theme Name: USBCopier 2026
Theme URI: https://www.usbcopier.com
Author: USBCopier / Nexcopy Incorporated
Description: Service-first WordPress theme for USB, SD, microSD and NVMe duplication and fulfillment services.
Version: 1.0
*/

/* ======================================
   GLOBAL FOUNDATION
====================================== */

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: #1f2937;
  background-color: #f3f4f6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: 0;
}

p {
  margin: 0 0 1.2em 0;
}

a {
  color: #2a6a96;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:visited {
  color: #2a6a96;
}

a:hover,
a:focus {
  color: #1f4f72;
  text-decoration: none;
}

/* ======================================
   LAYOUT CONTAINERS
====================================== */

.site-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ======================================
   HEADER
====================================== */

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 28px 0;
  position: relative;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-branding {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.site-branding img {
  max-height: 48px;
  width: auto;
}

.site-tagline {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
  font-weight: 500;
}

.nav-toggle {
  display: none;
}

.primary-nav .menu {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav a {
  font-size: 16px;
  font-weight: 500;
  color: #1f2937;
  text-decoration: none;
  transition: color 0.2s ease;
}

.primary-nav a:hover {
  color: #2a6a96;
}

/* ======================================
   MAIN AREA
====================================== */

.site-main {
  padding: 0;
  background: #f3f4f6;
}

/* ======================================
   PILLAR + HERO GRADIENT BAND
====================================== */

.pillar-hero,
.section-block.hero-gradient {
  width: 100%;
  margin: 0 0 12px 0;
  background: linear-gradient(
    90deg,
    #d6dee7 0%,
    #eef2f6 25%,
    #ffffff 50%,
    #eef2f6 75%,
    #d6dee7 100%
  );
  border-bottom: 1px solid #d8dde3;
}

.pillar-hero-inner,
.section-block.hero-gradient {
  max-width: 1100px;
  margin: 0 auto;
  padding: 26px 20px;
  background: transparent;
  border: none;
}

.pillar-hero h1,
.section-block.hero-gradient h1 {
  margin: 0 0 10px 0;
  font-size: 2.2rem;
}

.pillar-description,
.section-block.hero-gradient p {
  max-width: 700px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #4a5560;
}

/* ======================================
   FEATURED ANALYSIS (HOME)
====================================== */

.featured-analysis-block .section-intro {
  max-width: 860px;
  margin-bottom: 1.5rem;
  font-size: 1.35rem;
  line-height: 1.75;
  color: #2f3a45;
}

.featured-analysis-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.featured-analysis-thumb {
  display: block;
  width: 100%;
  height: 380px;
  overflow: hidden;
  border-radius: 18px;
  background: #e9eef3;
}

.featured-analysis-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-analysis-content {
  max-width: 860px;
}

.featured-analysis-content h3 {
  margin: 0 0 1rem;
  font-size: 2.15rem;
  line-height: 1.2;
}

.featured-analysis-content h3 a {
  text-decoration: none;
}

.featured-analysis-content h3 a:hover {
  text-decoration: underline;
}

.featured-analysis-content p {
  margin: 0 0 1.25rem;
  font-size: 1.45rem;
  line-height: 1.75;
  color: #2f3a45;
}

.featured-analysis-content .read-more-link {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
}

.featured-analysis-content .read-more-link:hover {
  text-decoration: underline;
}

/* ======================================
   PILLAR FEATURED ARTICLE
====================================== */

.section-block.pillar-featured-article {
  padding: 0;
  overflow: hidden;
}

.pillar-featured-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pillar-featured-thumb {
  display: block;
  width: 100%;
  height: 320px;
  overflow: hidden;
  background: #e9eef3;
}

.pillar-featured-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pillar-featured-content {
  padding: 0 32px 32px 32px;
  max-width: 920px;
}

.pillar-featured-content h2 {
  margin: 0 0 1rem 0;
  font-size: 2.15rem;
  line-height: 1.2;
}

.pillar-featured-content h2 a {
  text-decoration: none;
}

.pillar-featured-content h2 a:hover {
  text-decoration: underline;
}

.pillar-featured-content p {
  margin: 0 0 1.25rem 0;
  font-size: 1.3rem;
  line-height: 1.75;
  color: #2f3a45;
}

.pillar-featured-content .read-more-link {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
}

.pillar-featured-content .read-more-link:hover {
  text-decoration: underline;
}

/* ======================================
   SEARCH BLOCK
====================================== */

.search-block {
  padding: 50px;
  margin-bottom: 60px;
}

.search-block form {
  display: flex;
  align-items: center;
  gap: 14px;
}

.search-block button,
.search-block input[type="submit"] {
  background: rgba(42, 106, 150, 0.08);
  color: #2a6a96;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-block button:hover,
.search-block input[type="submit"]:hover {
  background: rgba(42, 106, 150, 0.18);
}

.search-block input[type="search"] {
  flex: 1;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  font-size: 16px;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-block input[type="search"]:focus {
  outline: none;
  border-color: #2a6a96;
  box-shadow: 0 0 0 3px rgba(42, 106, 150, 0.08);
}

/* ======================================
   SECTION BLOCKS
====================================== */

.section-block {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 60px 50px;
  margin-bottom: 60px;
}

.section-block.latest-articles {
  padding: 100px 50px 90px 50px;
}

.section-block.latest-articles h2 {
  margin-bottom: 40px;
}

/* ======================================
   TOPIC GRID
====================================== */

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: 30px;
  width: 100%;
}

.topic-card {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 36px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.topic-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
  color: #1f2937;
}

.topic-card p {
  color: #4b5563;
  line-height: 1.6;
}

.topic-card:hover {
  transform: translateY(-4px);
  border-color: #9ca3af;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
}

.card-thumb {
  margin-bottom: 18px;
}

.card-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

/* ======================================
   CATEGORY BACKGROUND VARIATIONS
====================================== */

.topic-card.flash-storage {
  background: #e7f0f8;
  border-color: #c8dced;
}

.topic-card.usb-security {
  background: #e9f3ee;
  border-color: #cde3d7;
}

.topic-card.data-integrity {
  background: #eeeaf7;
  border-color: #d8d1ec;
}

.topic-card.usb-hardware {
  background: #e8eef5;
  border-color: #ccd8e8;
}

.topic-card.duplication-systems {
  background: #f0ece6;
  border-color: #ddd2c2;
}

.topic-card.industry-analysis {
  background: #e6f0f3;
  border-color: #c7dde5;
}

/* ======================================
   HERO ARTICLE (FEATURED)
====================================== */

.section-block.hero-article {
  padding: 0;
}

.hero-card {
  position: relative;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-card h2 {
  margin: 0;
  padding: 24px 28px;
  font-size: 22px;
}

.hero-card img {
  filter: blur(3px) brightness(0.85);
  transition: filter 0.4s ease;
}

.hero-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.hero-card:hover img {
  filter: blur(0) brightness(1);
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.12);
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.hero-card:hover::after {
  opacity: 0;
}

/* ======================================
   ARTICLE GRID
====================================== */

.section-block .article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 28px;
  row-gap: 40px;
  align-items: stretch;
  width: 100%;
}

.section-block .article-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  padding: 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.section-block .article-card-content {
  padding: 20px 20px 14px;
}

.section-block .article-card h3 {
  margin: 0 0 12px 0;
  font-size: 20px;
}

.section-block .article-card p {
  display: none;
  font-size: 15px;
  line-height: 1.6;
}

.section-block .article-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.section-block .article-card:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

/* ======================================
   PILLAR COLOR SYSTEM
====================================== */

.section-block .article-card.flash-storage {
  background: linear-gradient(180deg, rgba(126, 157, 183, 0.25), rgba(126, 157, 183, 0.1));
  border-color: rgba(126, 157, 183, 0.35);
}

.section-block .article-card.usb-security {
  background: linear-gradient(180deg, rgba(144, 167, 156, 0.25), rgba(144, 167, 156, 0.1));
  border-color: rgba(144, 167, 156, 0.35);
}

.section-block .article-card.data-integrity {
  background: linear-gradient(180deg, rgba(158, 148, 178, 0.25), rgba(158, 148, 178, 0.1));
  border-color: rgba(158, 148, 178, 0.35);
}

.section-block .article-card.controller-architecture {
  background: linear-gradient(180deg, rgba(130, 150, 170, 0.25), rgba(130, 150, 170, 0.1));
  border-color: rgba(130, 150, 170, 0.35);
}

.section-block .article-card.duplication-systems {
  background: linear-gradient(180deg, rgba(181, 170, 152, 0.25), rgba(181, 170, 152, 0.1));
  border-color: rgba(181, 170, 152, 0.35);
}

.section-block .article-card.industry-analysis {
  background: linear-gradient(180deg, rgba(142, 166, 171, 0.25), rgba(142, 166, 171, 0.1));
  border-color: rgba(142, 166, 171, 0.35);
}

/* ======================================
   PILLAR PAGINATION
====================================== */

.pillar-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 60px 0;
}

.pillar-pagination .page-numbers {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  color: #2a6a96;
  background: rgba(42, 106, 150, 0.08);
}

.pillar-pagination .page-numbers:hover {
  background: rgba(42, 106, 150, 0.18);
}

.pillar-pagination .current {
  background: #2a6a96;
  color: #ffffff;
}

.pillar-pagination .next {
  font-weight: 600;
}

/* ======================================
   PILLAR CONTENT
====================================== */

.pillar-content {
  max-width: 800px;
  margin: 60px auto;
  font-size: 18px;
  line-height: 1.75;
  color: #374151;
}

/* ======================================
   INTERIOR PAGE HERO
====================================== */

.interior-hero {
  background: linear-gradient(
    180deg,
    rgba(42, 106, 150, 0.1),
    rgba(42, 106, 150, 0.03)
  );
  padding: 80px 0 60px 0;
  border-bottom: 1px solid rgba(42, 106, 150, 0.15);
}

.interior-hero h1 {
  max-width: 1100px;
  margin: 0 auto;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* ======================================
   STANDARD PAGE LAYOUT
====================================== */

.page .page-content {
  padding-top: 60px;
  padding-bottom: 80px;
}

.page .container.page-layout {
  max-width: 1100px;
  margin: 0 auto;
}

.page .page-main {
  background: #ffffff;
  padding: 60px 60px;
  border-radius: 14px;
}

.page .page-main > section > h1,
.page .page-main h1 {
  font-size: 40px;
  margin-bottom: 30px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.page .page-main h2 {
  margin-top: 50px;
  margin-bottom: 16px;
  font-size: 24px;
}

.page .page-main p {
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 20px;
  color: #1f2937;
}

/* ======================================
   GLOSSARY PLUGIN LAYOUT
====================================== */

.glossary-term {
  position: relative;
  display: inline-block;
  cursor: help;
  border-bottom: 1px dotted #2a6a96;
  text-decoration: none;
  overflow: visible;
}

.glossary-tooltip {
  position: absolute;
  left: 0;
  bottom: 130%;
  z-index: 9999;
  display: block;
  width: 260px;
  max-width: 80vw;
  min-height: 44px;
  padding: 10px 12px;
  background: #2a6a96;
  color: #ffffff;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 400;
  font-family: inherit;
  text-align: left;
  border-radius: 6px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
  white-space: normal;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.glossary-term::before {
  content: "";
  position: absolute;
  left: 18px;
  bottom: calc(130% - 8px);
  z-index: 10000;
  border-width: 8px 8px 0 8px;
  border-style: solid;
  border-color: #2a6a96 transparent transparent transparent;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.glossary-term:hover .glossary-tooltip,
.glossary-term:focus .glossary-tooltip {
  opacity: 1;
  visibility: visible;
}

.glossary-term:hover::before,
.glossary-term:focus::before {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 767px) {
  .glossary-tooltip {
    width: 220px;
    left: 50%;
    transform: translateX(-50%);
    bottom: 140%;
  }

  .glossary-term::before {
    left: 50%;
    transform: translateX(-50%);
    bottom: calc(140% - 8px);
  }
}



/* ======================================
   SINGLE POST LAYOUT
====================================== */

.post-body {
  padding: 60px 0;
}

.post-content-narrow {
  max-width: 760px;
  margin: 0 auto;
}

.post-content-narrow p {
  font-size: 18px;
  line-height: 1.75;
  color: #1f2937;
}

/* ======================================
   SINGLE POST NEXT / PREVIOUS TILES
====================================== */

.post-nav-tiles-wrap {
  padding: 0 0 70px 0;
}

.post-nav-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
}

.post-nav-tile {
  display: block;
  background: #ffffff;
  border: 1px solid #d9e3ec;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  min-width: 0;
}

.post-nav-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  border-color: #bfd2e2;
}

.post-nav-thumb {
  background: #dfe8ef;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.post-nav-thumb img,
.post-nav-thumb-fallback {
  display: block;
  width: 100%;
  height: 100%;
}

.post-nav-thumb img {
  object-fit: cover;
}

.post-nav-thumb-fallback {
  background: linear-gradient(135deg, #dfe8ef 0%, #cfdbe6 100%);
}

.post-nav-content {
  padding: 22px 24px 24px 24px;
}

.post-nav-label {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2a6a96;
}

.post-nav-content h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.35;
  color: #1f2937;
}

@media (max-width: 768px) {
  .post-nav-tiles {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .post-nav-content h3 {
    font-size: 20px;
  }
}

/*  ==============================
    PROMO LAYOUT
===============================*/

.single-review-promo {
  margin: 2rem 0 0;
}

.single-review-promo .site-container {
  padding-left: 20px;
  padding-right: 20px;
}

.single-review-promo-card {
  display: grid;
  grid-template-columns: 38% 62%;
  align-items: stretch;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #dbe3ea;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.single-review-promo-card:hover {
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.10);
}

.single-review-promo-image {
  height: 210px;
  padding: 10px;
  box-sizing: border-box;
  background: #f8fafc;
}

.single-review-promo-image img,
.single-review-promo-image .review-promo-fallback {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.review-promo-fallback {
  background: linear-gradient(135deg, #dbeafe, #e5e7eb);
  color: #1e3a5f;
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.single-review-promo-content {
  padding: 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.single-review-promo-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2a6a96;
}

.single-review-promo-content h2 {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
  line-height: 1.2;
  color: #1f2937;
}

.single-review-promo-excerpt {
  margin: 0 0 0.7rem;
  color: #4b5563;
  line-height: 1.5;
  font-size: 0.94rem;
}

.single-review-promo-link {
  font-weight: 700;
  color: #2a6a96;
}

@media (max-width: 900px) {
  .single-review-promo-card {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .single-review-promo-image {
    height: 200px;
    padding: 10px;
  }

  .single-review-promo-image img,
  .single-review-promo-image .review-promo-fallback {
    height: 100%;
  }

  .single-review-promo-content {
    padding: 1.2rem;
  }

  .single-review-promo-content h2 {
    font-size: 1rem;
  }
}

/* ======================================
   EDITORIAL BLOCKQUOTE
====================================== */

.post-content-narrow blockquote {
  margin: 30px 0 30px 15px;
  padding: 22px 28px;
  border-left: 4px solid #2a6a96;
  background: rgba(42, 106, 150, 0.05);
  font-size: 19px;
  line-height: 1.7;
  color: #1f2937;
}

.post-content-narrow blockquote p {
  margin: 0 0 0 5px;
}

/* ======================================
   POST SIDEBAR
====================================== */

.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: start;
}

.post-sidebar {
  position: sticky;
  top: 140px;
  background: var(--sidebar-bg);
  padding: 36px;
  border-radius: 14px;
  margin-top: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
}

.sidebar-block {
  margin-bottom: 42px;
}

.sidebar-block:last-child {
  margin-bottom: 0;
}

.sidebar-title {
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-list li {
  margin-bottom: 12px;
}

.sidebar-list li:last-child {
  margin-bottom: 0;
}

.sidebar-list a {
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.sidebar-list a:hover {
  opacity: 0.7;
}

.advertising {
  font-size: 14px;
  opacity: 0.85;
}

.sidebar-advertising .sidebar-widget,
.sidebar-advertising .advertising-widget,
.sidebar-advertising .ad-widget {
  margin-bottom: 18px;
  padding: 8px;
  background: #ffffff;
  border: 1px solid #d8e1ea;
  border-radius: 12px;
  box-sizing: border-box;
  overflow: hidden;
}

.sidebar-advertising .sidebar-widget:last-child,
.sidebar-advertising .advertising-widget:last-child,
.sidebar-advertising .ad-widget:last-child {
  margin-bottom: 0;
}

.sidebar-advertising img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
/* ======================================
   CATEGORY SIDEBAR COLOR
====================================== */

.single.category-flash-storage .post-sidebar {
  background: #e9f0f7;
}

.single.category-usb-security .post-sidebar {
  background: #e6efe9;
}

.single.category-data-integrity .post-sidebar {
  background: #eeeaf6;
}

.single.category-duplication-systems .post-sidebar {
  background: #f5edf9;
}

.single.category-industry-analysis .post-sidebar {
  background: #f7f2e8;
}

.sidebar-featured-insight {
  padding: 0;
  margin-bottom: 42px;
}

.sidebar-featured-insight p {
  margin-bottom: 15px;
  font-size: 15px;
  line-height: 1.6;
}

.sidebar-featured-insight a {
  font-weight: 600;
  display: inline-block;
}

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

/* ======================================
   VIDEO MODAL
====================================== */

.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.video-modal.active {
  display: flex;
}

.video-modal-inner {
  background: #000;
  max-width: 900px;
  width: 90%;
  position: relative;
}

.video-modal video {
  width: 100%;
  height: auto;
  display: block;
}

/* ======================================
   FOOTER
====================================== */

footer {
  margin-top: 80px;
  padding: 70px 0 30px;
  color: #e5e7eb;
  background-image:
    linear-gradient(
      rgba(17, 24, 39, 0.82),
      rgba(17, 24, 39, 0.82)
    ),
    url("assets/home-hero-bg.webp");
  background-position: center bottom;
  background-size: cover;
  background-repeat: no-repeat;
}

.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  align-items: stretch;
}

.footer-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.footer-column > div,
.footer-widget {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 32px 28px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  height: 100%;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.footer-widget:hover,
.footer-column > div:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.14);
}

.footer-widget h6,
.footer-widget h3,
.footer-column > div h6,
.footer-column > div h3 {
  margin: 0 0 20px 0;
  font-size: 20px;
  line-height: 1.35;
  color: #ffffff;
  font-weight: 600;
}

.footer-widget p,
.footer-widget li,
.footer-widget div,
.footer-column > div p,
.footer-column > div li,
.footer-column > div div {
  font-size: 14px;
  line-height: 1.6;
  color: #d1d5db;
}

.footer-widget p,
.footer-column > div p {
  margin: 0 0 12px 0;
}

.footer-widget ul,
.footer-column > div ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-widget li,
.footer-column > div li {
  margin: 0 0 8px 0;
}

footer a {
  color: #e5e7eb;
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color 0.25s ease;
}

footer a:hover {
  color: #ffffff;
}

footer a:visited {
  color: #e5e7eb;
}

.footer-widget img,
.footer-column > div img {
  width: 115%;
  height: auto;
  display: block;
}

footer img {
  filter: brightness(0) invert(1);
}

.copy {
  text-align: center;
  padding: 20px;
  font-size: 13px;
  background: rgba(0, 0, 0, 0.25);
  color: #9ca3af;
}

/* ======================================
   TABLET
====================================== */

@media (max-width: 1024px) {
  .pillar-featured-thumb {
    height: 280px;
  }

  .pillar-featured-content h2 {
    font-size: 1.9rem;
  }

  .pillar-featured-content p {
    font-size: 1.16rem;
    line-height: 1.7;
  }

  .featured-analysis-block .section-intro {
    font-size: 1.22rem;
    line-height: 1.7;
  }

  .featured-analysis-thumb {
    height: 320px;
  }

  .featured-analysis-content h3 {
    font-size: 1.9rem;
  }

  .featured-analysis-content p {
    font-size: 1.25rem;
  }

  .topic-grid,
  .section-block .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-block,
  .section-block.latest-articles {
    padding: 50px 32px;
  }

  .content-with-sidebar {
    grid-template-columns: 1fr;
  }

  .post-sidebar {
    position: relative;
    top: auto;
    margin-top: 40px;
  }
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

/* ======================================
   EEAT NOTE LAYOUT
====================================== */


.eeat-note {
    font-size: 13px;
    line-height: 1.6;
    color: #666;
    border-top: 1px solid #ddd;
    padding-top: 14px;
    margin-top: 24px;
}

.eeat-note p {
    font-size: 13px !important;
    line-height: 1.6;
    color: #666;
    margin-bottom: 12px;
}

.eeat-note strong {
    color: #444;
}


/* ======================================
   MOBILE NAVIGATION (HAMBURGER + ACCORDION)
====================================== */

@media (max-width: 900px) {
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
  }

  .site-branding {
    min-width: 0;
    flex: 1 1 auto;
  }

  .site-branding img {
    max-width: 220px;
    height: auto;
  }

  .site-tagline {
    font-size: 12px;
    letter-spacing: 0.06em;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: 16px;
    z-index: 1002;
    position: relative;
  }

  .nav-toggle-bar {
    display: block;
    width: 26px;
    height: 3px;
    background: #1f2937;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .nav-toggle.is-active .nav-toggle-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle.is-active .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-active .nav-toggle-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .primary-nav {
    display: none;
    width: 100%;
    order: 3;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
  }

  .primary-nav.is-active {
    display: block;
  }

  .primary-nav .menu {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .primary-nav li {
    width: 100%;
    position: relative;
    border-top: 1px solid #eef2f6;
  }

  .primary-nav .menu > li:first-child {
    border-top: 0;
  }

  .primary-nav a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 500;
    color: #1f2937;
  }

  .primary-nav li.menu-item-has-children > a {
    position: relative;
    padding-right: 30px;
  }

  .primary-nav li.menu-item-has-children > a::after {
    content: "";
    position: absolute;
    right: 6px;
    top: 50%;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #6b7280;
    transform: translateY(-50%);
    transition: transform 0.2s ease;
    opacity: 0.8;
  }

  .primary-nav li.is-open > a::after {
    transform: translateY(-50%) rotate(180deg);
  }

  .primary-nav li:hover > .sub-menu {
    display: none !important;
  }

  .primary-nav .sub-menu {
    display: none !important;
    position: static !important;
    min-width: 0 !important;
    margin: 0;
    padding: 0 0 0 16px;
    list-style: none;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
  }

  .primary-nav li.is-open > .sub-menu,
  .primary-nav .sub-menu li.is-open > .sub-menu {
    display: block !important;
  }

  .primary-nav .sub-menu li {
    border-top: 1px solid #f3f4f6;
  }

  .primary-nav .sub-menu a {
    padding: 12px 0;
    font-size: 15px;
    font-weight: 400;
    white-space: normal;
  }

  .primary-nav * {
    -webkit-tap-highlight-color: transparent;
  }
}

/* ======================================
   MOBILE
====================================== */

@media (max-width: 768px) {
  .pillar-featured-thumb {
    height: 220px;
  }

  .pillar-featured-content {
    padding: 0 24px 24px 24px;
  }

  .pillar-featured-content h2 {
    font-size: 1.55rem;
  }

  .pillar-featured-content p {
    font-size: 1.02rem;
    line-height: 1.65;
  }

  .featured-analysis-block .section-intro {
    font-size: 1.06rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
  }

  .featured-analysis-thumb {
    height: 240px;
    border-radius: 14px;
  }

  .featured-analysis-content h3 {
    font-size: 1.55rem;
  }

  .featured-analysis-content p {
    font-size: 1.08rem;
    line-height: 1.65;
  }

  .topic-grid,
  .section-block .article-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .topic-card,
  .section-block .article-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .topic-card {
    padding: 28px;
  }

  .section-block {
    padding: 36px 20px;
    margin-bottom: 36px;
    overflow: hidden;
  }

  .section-block.latest-articles {
    padding: 42px 20px 38px 20px;
  }

  .section-block .article-card {
    padding: 24px;
  }

  .section-block .article-card img,
  .card-thumb img {
    height: auto;
  }

  .search-block {
    padding: 28px 20px;
    margin-bottom: 36px;
  }

  .search-block form {
    flex-direction: column;
    align-items: stretch;
  }

  .search-block button,
  .search-block input[type="submit"],
  .search-block input[type="search"] {
    width: 100%;
  }

  .interior-hero h1 {
    padding-left: 20px;
    padding-right: 20px;
    font-size: 32px;
  }

  .footer-widget img,
  .footer-column > div img {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-column > div,
  .footer-widget {
    padding: 26px 22px;
  }
}

/* ======================================
   USBCOPIER SERVICE HOMEPAGE
====================================== */
.text-logo, .footer-text-logo { font-weight: 800; letter-spacing: -0.045em; text-decoration: none; line-height: 1; }
.text-logo { font-size: 34px; color: #1f2937 !important; }
.text-logo .brand-usb, .footer-text-logo span { color: #2a6a96; }
.text-logo .brand-dot { font-size: .58em; letter-spacing: -0.02em; color: #6b7280; margin-left: 2px; }
.footer-text-logo { display: inline-block; font-size: 27px; color: #fff !important; margin-bottom: 24px; }
.usbcopier-hero { padding-top: 42px !important; padding-bottom: 42px !important; }
.usbcopier-hero h1 { max-width: 820px; font-size: clamp(2.05rem, 4vw, 3.15rem); line-height: 1.08; }
.usbcopier-hero > p:not(.eyebrow) { max-width: 850px; font-size: 1.12rem; }
.eyebrow { margin: 0 0 10px !important; color: #2a6a96 !important; font-size: 13px !important; line-height: 1.3 !important; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.section-lead { max-width: 800px; color: #4b5563; font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.button-primary, .button-secondary { display: inline-block; padding: 12px 20px; border-radius: 7px; font-weight: 700; text-decoration: none; }
.button-primary, .button-primary:visited { background: #2a6a96; color: #fff; }
.button-primary:hover { background: #1f4f72; color: #fff; }
.button-secondary, .button-secondary:visited { background: #fff; color: #2a6a96; border: 1px solid #b8c8d6; }
.button-secondary:hover { border-color: #2a6a96; color: #1f4f72; }
.service-grid .topic-card { display: flex; flex-direction: column; min-height: 245px; }
.service-grid .topic-card p { flex: 1; }
.card-action { display: block; margin-top: 18px; color: #2a6a96; font-weight: 700; font-size: 14px; }
.service-usb { background: #e7f0f8; border-color: #c8dced; }
.service-sd { background: #e9f3ee; border-color: #cde3d7; }
.service-microsd { background: #eeeaf7; border-color: #d8d1ec; }
.service-nvme { background: #e8eef5; border-color: #ccd8e8; }
.service-copy-protect { background: #f0ece6; border-color: #ddd2c2; }
.service-write-protect { background: #e6f0f3; border-color: #c7dde5; }
.fulfillment-block { background: linear-gradient(135deg, #f7fafc 0%, #eef4f8 100%); border-color: #cad9e5; }
.fulfillment-copy { max-width: 960px; }
.fulfillment-lead { font-size: 1.2rem; line-height: 1.75; color: #2f3a45; }
.fulfillment-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 30px 0; padding: 22px; background: #fff; border: 1px solid #dbe3ea; border-radius: 10px; }
.fulfillment-flow span { padding: 8px 10px; background: #f3f6f8; border-radius: 6px; font-size: 14px; font-weight: 700; }
.fulfillment-flow b { color: #2a6a96; }
.resource-card { padding: 22px; }
.resource-card h3 { line-height: 1.35; }
.section-cta { margin-top: 32px; }
.final-cta { text-align: center; background: #f8fafc; }
.final-cta p:not(.eyebrow) { max-width: 760px; margin-left: auto; margin-right: auto; }

@media (max-width: 760px) {
  .text-logo { font-size: 29px; }
  .usbcopier-hero { padding: 32px 24px !important; }
  .fulfillment-flow { align-items: stretch; flex-direction: column; }
  .fulfillment-flow b { transform: rotate(90deg); align-self: center; }
  .hero-actions .button-primary, .hero-actions .button-secondary { width: 100%; text-align: center; }
}

/* ======================================
   DESKTOP NAVIGATION DROPDOWNS
====================================== */
@media (min-width: 901px) {
  .primary-nav .menu > li {
    position: relative;
  }

  .primary-nav .menu > li.menu-item-has-children > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
  }

  .primary-nav .menu > li.menu-item-has-children > a::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #6b7280;
    margin-top: 2px;
    transition: transform 0.2s ease;
  }

  .primary-nav .menu > li.menu-item-has-children:hover > a::after,
  .primary-nav .menu > li.menu-item-has-children:focus-within > a::after {
    transform: rotate(180deg);
  }

  .primary-nav .sub-menu {
    display: block;
    position: absolute;
    top: calc(100% + 12px);
    left: -18px;
    min-width: 245px;
    margin: 0;
    padding: 9px 0;
    list-style: none;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    box-shadow: 0 12px 28px rgba(31, 41, 55, 0.13);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
    z-index: 1000;
  }

  /* Invisible bridge keeps the menu open while the pointer crosses the gap. */
  .primary-nav .sub-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -13px;
    height: 13px;
  }

  .primary-nav .menu > li:hover > .sub-menu,
  .primary-nav .menu > li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .primary-nav .sub-menu li {
    position: relative;
    margin: 0;
    padding: 0;
    width: 100%;
  }

  .primary-nav .sub-menu a {
    display: block;
    padding: 10px 18px;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 500;
    color: #1f2937;
    white-space: nowrap;
  }

  .primary-nav .sub-menu a:hover,
  .primary-nav .sub-menu a:focus {
    background: #f3f6f8;
    color: #2a6a96;
  }
}
