/*!
Theme Name: Duptronics Theme
Theme URI: http://underscores.me/
Author: Duptronics
Author URI: https://www.duptronics.com/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: duptronics
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Duptronics Theme is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  -webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
  color: var(--color-text);
  font-family: -apple-system, "Hanken Grotesk", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 18px;
  line-height: 30px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
}

p {
  margin-bottom: 15px;
}

dfn,
cite,
em,
i {
  font-style: italic;
}

blockquote {
  margin: 0 1.5em;
}

address {
  margin: 0 0 1.5em;
}

pre {
  background: #eee;
  font-family: "Courier 10 Pitch", courier, monospace;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code,
kbd,
tt,
var {
  font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark,
ins {
  background: #fff9c0;
  text-decoration: none;
}

big {
  font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
  background: #fff;
}

hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

ul,
ol {
  margin: 0 0 1.5em 3em;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li>ul,
li>ol {
  margin-bottom: 0;
  margin-left: 1.5em;
}

dt {
  font-weight: 700;
}

dd {
  margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

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

figure {
  margin: 1em 0;
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

/* Links
--------------------------------------------- */
a {
  color: #656d4a;
}

a:hover,
a:focus,
a:active {
  color: #656d4a;
}

a:focus {
  outline: 0;
}

a:hover,
a:active {
  outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: none;
  background: linear-gradient(135deg, #3b82f6, #656d4a);
  color: #FFF;
  line-height: 1;
  padding: 14px 22px;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
  border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
  color: #666;
  border: 1px solid #e6e6e6;
  padding: 14px 16px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
  color: #111;
}

select {
  border: 1px solid #ccc;
}

textarea {
  width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
  display: block;
  width: 100%;
}

.main-navigation ul {
  display: none;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.main-navigation ul ul {
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  float: left;
  position: absolute;
  top: 100%;
  left: -999em;
  z-index: 99999;
}

.main-navigation ul ul ul {
  left: -999em;
  top: 0;
}

.main-navigation ul ul li:hover>ul,
.main-navigation ul ul li.focus>ul {
  display: block;
  left: auto;
}

.main-navigation ul ul a {
  width: 200px;
}

.main-navigation ul li:hover>ul,
.main-navigation ul li.focus>ul {
  left: auto;
}

.main-navigation li {
  position: relative;
}

.main-navigation a {
  display: block;
  text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
  display: block;
}

@media screen and (min-width: 37.5em) {

  .menu-toggle {
    display: none;
  }

  .main-navigation ul {
    display: flex;
  }
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
  display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  text-align: end;
  flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
  display: block;
}

.updated:not(.published) {
  display: none;
}

.page-content,
.entry-content,
.entry-summary {
  margin: 0 0;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
  margin: 0 0 1.5em;
}

.widget select {
  max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

.wp-caption-text {
  text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
  margin-bottom: 1.5em;
  display: grid;
  grid-gap: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  width: 100%;
}

.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
  display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
  outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

  /*rtl:ignore*/
  float: left;

  /*rtl:ignore*/
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {

  /*rtl:ignore*/
  float: right;

  /*rtl:ignore*/
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

/* ─────────────────────────────
   404 PAGE DESIGN
───────────────────────────── */

/* ==========================================================
   404 Not Found — Premium Styles
   Targets existing HTML only. Enqueue on is_404().
   Palette from 404.png: brown #4A3F35, green #3D6B35
   ========================================================== */

body.error404 {
  background-color: #faf8f5;
  background-image: radial-gradient(circle, rgba(61, 107, 53, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
}

.not-found {
	min-height: 60vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: var(--space-xl) 0 var(--space-xl);
}

/* ── H1 ──────────────────────────────────────────────────── */
.page-not-found .entry-title {
  font-size: clamp(1.2rem, 3vw, 1.65rem);
  font-weight: 700;
  color: #2c2420;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.page-not-found .entry-title::after {
  content: '';
  display: block;
  width: 44px;
  height: 2px;
  background: #3D6B35;
  margin: 1rem auto 0;
  opacity: 0.55;
}

/* ── H2 ──────────────────────────────────────────────────── */
.page-not-found .small-title {
  font-size: 1.05rem;
  font-weight: 400;
  color: #000000;
  line-height: 1.8;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Paragraph ───────────────────────────────────────────── */
.page-not-found p {
  color: #000000;
  font-size: 0.95rem;
  line-height: 1.75;
  margin-top: 1.25rem;
}

.page-not-found p strong {
  font-weight: 500;
}

/* ── Home link → button ──────────────────────────────────── */
.page-not-found p a {
	display: inline-block;
	background: #656d4a;
	color: #ffffff !important;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	padding: 10px 22px;
	text-decoration: none;
	margin: 0 4px;
	transition: background 0.18s ease, transform 0.12s ease;
}

.page-not-found p a:hover {
  background: #2f5429;
  color: #ffffff !important;
  text-decoration: none;
  transform: translateY(-1px);
}

.page-not-found p a:active {
  transform: translateY(0);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 576px) {

  img.fourohfour_img,
  img.\\34 04_img {
    width: 160px;
  }

  .page-not-found .entry-title {
    font-size: 1.1rem;
    letter-spacing: 0.02em;
  }

  .page-not-found .small-title {
    font-size: 0.95rem;
  }
}

/* ============================================================
   DUPTRONICS — Blog Archive Grid
   4-col → 2-col (tablet) → 1-col (mobile)
   All classes namespaced with .dt- to avoid conflicts
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --dt-col-gap: 28px;
  --dt-row-gap: 36px;
  --dt-radius: 14px;
  --dt-transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --dt-shadow-rest: 0 2px 8px rgba(0, 0, 0, .07), 0 1px 2px rgba(0, 0, 0, .05);
  --dt-shadow-hover: 0 12px 32px rgba(0, 0, 0, .13), 0 4px 10px rgba(0, 0, 0, .07);
  --dt-accent: #656d4a;
  --dt-accent-light: #eff6ff;
  --dt-surface: #ffffff;
  --dt-bg: #f8f9fc;
  --dt-text-primary: #0f172a;
  --dt-text-secondary: #475569;
  --dt-text-muted: #94a3b8;
  --dt-border: #e2e8f0;
  --dt-tag-bg: #f1f5f9;
  --dt-tag-color: #475569;
}

/* ── Page wrapper ───────────────────────────────────────────── */
.dt-blog-main {
  background: var(--dt-bg);
  min-height: 80vh;
  padding: 0 0 80px;
}

/* ── Archive header ─────────────────────────────────────────── */
.dt-archive-header {
	background: #656d4a;
	padding: 64px 24px 52px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.dt-archive-header__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #93c5fd;
  margin-bottom: 14px;
}

.dt-archive-header__title {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 14px;
  line-height: 1.18;
  letter-spacing: -.02em;
}

.dt-archive-header__desc {
  color: #FFFFFF;
  margin: 0 auto;
  max-width: 520px;
}

/* ── Grid container ─────────────────────────────────────────── */
.dt-grid-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 52px 24px 0;
}

.dt-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--dt-row-gap) var(--dt-col-gap);
}

/* ── Pagination ─────────────────────────────────────────────── */
.dt-pagination-wrap {
  max-width: 1280px;
  margin: 56px auto 0;
  padding: 0 24px;
}

.dt-pagination-wrap .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dt-pagination-wrap .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  background: var(--dt-surface);
  border: 1px solid var(--dt-border);
  color: var(--dt-text-secondary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--dt-transition);
}

.dt-pagination-wrap .page-numbers:hover {
  background: var(--dt-accent);
  border-color: var(--dt-accent);
  color: #fff;
}

.dt-pagination-wrap .page-numbers.current {
  background: var(--dt-accent);
  border-color: var(--dt-accent);
  color: #fff;
}

/* ── No posts state ─────────────────────────────────────────── */
.dt-no-posts {
  text-align: center;
  padding: 80px 24px;
}

.dt-no-posts__icon {
  font-size: 56px;
  margin-bottom: 20px;
  opacity: .5;
}

.dt-no-posts__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--dt-text-primary);
  margin-bottom: 10px;
}

.dt-no-posts__desc {
  color: var(--dt-text-secondary);
}

/* ── Responsive breakpoints ─────────────────────────────────── */
@media (max-width: 1100px) {
  .dt-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 780px) {
  .dt-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 18px;
  }

  .dt-grid-wrap {
    padding-top: 36px;
  }

  .dt-archive-header {
    padding: 44px 16px 36px;
  }
}

@media (max-width: 480px) {
  .dt-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   DUPTRONICS — Post Card Component
   Namespaced with .dt-card-* to avoid conflicts
   ============================================================ */

/* ── Card shell ─────────────────────────────────────────────── */
.dt-card {
  display: flex;
  flex-direction: column;
  background: var(--dt-surface, #ffffff);
  border: 1px solid var(--dt-border, #e2e8f0);
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--dt-shadow-rest, 0 2px 8px rgba(0, 0, 0, .07));
  transition: transform var(--dt-transition, .28s ease), box-shadow var(--dt-transition, .28s ease);
  height: 100%;
  position: relative;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
}

.dt-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--dt-shadow-hover, 0 12px 32px rgba(0, 0, 0, .13));
}

.dt-card:hover .dt-card__img img {
  transform: scale(1.05);
}

/* ── Thumbnail ──────────────────────────────────────────────── */
.dt-card__img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #e0e7ff 0%, #FFFFFF 100%);
  position: relative;
  flex-shrink: 0;
}

.dt-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.dt-card__img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: #93c5fd;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

/* ── Category badge ─────────────────────────────────────────── */
.dt-card__cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--dt-accent, #656d4a);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  line-height: 1;
  text-decoration: none;
  z-index: 2;
  backdrop-filter: blur(4px);
}

/* ── Card body ──────────────────────────────────────────────── */
.dt-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 20px 22px;
  gap: 10px;
}

/* ── Meta row ───────────────────────────────────────────────── */
.dt-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--dt-text-muted, #94a3b8);
  line-height: 1;
}

.dt-card__meta-dot {
  width: 3px;
  height: 3px;
  background: currentColor;
  border-radius: 50%;
  flex-shrink: 0;
  opacity: .5;
}

.dt-card__author-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--dt-accent-light, #eff6ff);
}

.dt-card__author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Title ──────────────────────────────────────────────────── */
.dt-card__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: -.01em;
}

.dt-card__title a {
  color: var(--dt-text-primary, #0f172a);
  text-decoration: none;
  background-image: linear-gradient(var(--dt-accent, #656d4a), var(--dt-accent, #656d4a));
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size var(--dt-transition, .28s ease), color var(--dt-transition, .28s ease);
}

.dt-card:hover .dt-card__title a {
  background-size: 100% 2px;
  color: var(--dt-accent, #656d4a);
}

/* ── Excerpt ────────────────────────────────────────────────── */
.dt-card__excerpt {
  font-size: 13.5px;
  color: var(--dt-text-secondary, #475569);
  line-height: 1.65;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Footer / read more ─────────────────────────────────────── */
.dt-card__footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--dt-border, #e2e8f0);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.dt-card__readmore {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--dt-accent, #656d4a);
  text-decoration: none;
  letter-spacing: .01em;
  transition: gap var(--dt-transition, .28s ease);
}

.dt-card__readmore:hover {
  gap: 9px;
}

.dt-card__readmore-arrow {
  font-size: 14px;
  line-height: 1;
  transition: transform var(--dt-transition, .28s ease);
}

.dt-card:hover .dt-card__readmore-arrow {
  transform: translateX(3px);
}

.dt-card__read-time {
  font-size: 11.5px;
  color: var(--dt-text-muted, #94a3b8);
  white-space: nowrap;
}

/* ── Tags ───────────────────────────────────────────────────── */
.dt-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: -2px;
}

.dt-card__tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--dt-tag-color, #475569);
  background: var(--dt-tag-bg, #f1f5f9);
  padding: 3px 9px;
  border-radius: 100px;
  text-decoration: none;
  transition: background var(--dt-transition, .28s ease), color var(--dt-transition, .28s ease);
}

.dt-card__tag:hover {
  background: var(--dt-accent-light, #eff6ff);
  color: var(--dt-accent, #656d4a);
}

/* ── Singular / single post ─────────────────────────────────── */
.single .dt-card {
  max-width: 780px;
  margin: 0 auto;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.single .dt-card:hover {
  transform: none;
  box-shadow: none;
}

.single .dt-card__img {
  aspect-ratio: 21 / 9;
  overflow: hidden;
}

.single .dt-card__body {
  padding: 32px 0;
  gap: 16px;
}

.single .dt-card__title {
  font-size: clamp(22px, 4vw, 34px);
  line-height: 1.25;
}

.single .dt-card__excerpt {
  -webkit-line-clamp: unset;
  font-size: 16px;
  line-height: 1.75;
}

/* ── Reduced motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {

  .dt-card,
  .dt-card__img img,
  .dt-card__title a,
  .dt-card__readmore,
  .dt-card__readmore-arrow {
    transition: none;
  }

  .dt-card:hover {
    transform: none;
  }
}

/* ============================================================
   DUPTRONICS — Static Page
   ============================================================ */

/* Hero */
.dt-page-hero {
  background: linear-gradient(135deg, #2d3121 0%, #656d4a 100%);
  padding: 72px 24px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.dt-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 110%, rgba(37, 99, 235, .35) 0%, transparent 68%);
  pointer-events: none;
}

.dt-page-hero__breadcrumb {
  position: relative;
  z-index: 1;
  font-size: 12px;
  color: #656d4a;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.dt-page-hero__breadcrumb a {
  color: inherit;
  text-decoration: none;
  opacity: .75;
  transition: opacity 0.26s cubic-bezier(0.4, 0, 0.2, 1);
}

.dt-page-hero__breadcrumb a:hover {
  opacity: 1;
}

.dt-page-hero__breadcrumb-sep {
  opacity: .4;
  font-size: 10px;
}

.dt-page-hero__title {
  position: relative;
  z-index: 1;
  font-size: clamp(24px, 4.5vw, 42px);
  font-weight: 800;
  color: #ffffff;
  margin: 0 auto 14px;
  max-width: 680px;
  line-height: 1.15;
  letter-spacing: -.025em;
}

.dt-page-hero__subtitle {
  position: relative;
  z-index: 1;
  font-size: 15px;
  color: #FFFFFF;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Featured image */
.dt-page-feat-img {
  max-width: 100%;
  margin: -1px auto 0;
  position: relative;
  z-index: 2;
}

.dt-page-feat-img img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 21 / 7;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .16);
}

/* Content card */
.dt-page-card {
  padding: 44px 48px;
}

/* Prose */


.dt-page-body .entry-content h1,
.dt-page-body .entry-content h2,
.dt-page-body .entry-content h3,
.dt-page-body .entry-content h4 {
  color: #0f172a;
  font-weight: 700;
  letter-spacing: -.015em;
  margin-top: 0;
  margin-bottom: .5em;
  line-height: 1.3;
}

.dt-page-body .entry-content h2 {
  font-size: 23px;
}

.dt-page-body .entry-content h3 {
  font-size: 19px;
}

.dt-page-body .entry-content p {
  margin-bottom: 1.4em;
}

.dt-page-body .entry-content blockquote {
  border-left: 4px solid #656d4a;
  background: #eff6ff;
  margin: 2em 0;
  padding: 16px 20px;
  font-style: italic;
  color: #0f172a;
}

.dt-page-body .entry-content img {

  max-width: 100%;
  height: auto;
}

.dt-page-body .entry-content ul,
.dt-page-body .entry-content ol {
  padding-left: 1.5em;
  margin-bottom: 1.4em;
}

.dt-page-body .entry-content li {
  margin-bottom: .45em;
}

.dt-page-body .entry-content code {
  background: #f1f5f9;
  padding: 2px 6px;
  font-size: .87em;
  color: #be185d;
}

.dt-page-body .entry-content pre {
  background: #0f172a;
  color: #e2e8f0;
  padding: 18px 20px;
  overflow-x: auto;
  font-size: 13.5px;
  margin-bottom: 1.4em;
}

.dt-page-body .entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.6em;
  font-size: 14px;
}

.dt-page-body .entry-content th,
.dt-page-body .entry-content td {
  padding: 9px 13px;
  border: 1px solid #e2e8f0;
  text-align: left;
}

.dt-page-body .entry-content th {
  background: #f8fafc;
  font-weight: 700;
  color: #0f172a;
}

.dt-page-footer {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
}

.dt-page-comments {
  margin-top: 36px;
}

/* Responsive */
@media (max-width: 780px) {
  .dt-page-hero {
    padding: 52px 16px 44px;
  }

  .dt-page-card {
    padding: 32px 24px;
  }
}

@media (max-width: 480px) {
  .dt-page-card {
    padding: 24px 16px;
  }
}

/* =========================
   CF7 PREMIUM LABEL STYLE
========================= */
.wpcf7-form {
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
  padding: 30px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
}
.wpcf7-form label {
  display: block;
  font-weight: 500;
  color: #222;
  margin-bottom: 14px;
}

/* spacing between fields */
.wpcf7-form label {
  margin-bottom: 18px;
}

/* input + textarea styling */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  border: 1px solid #e6e6e6;
  border-radius: 0;
  font-size: 14px;
  background: #fff;
  outline: none;
  transition: all 0.25s ease;
  box-sizing: border-box;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
}

/* textarea height */
.wpcf7-form textarea {
  min-height: 140px;
  resize: none;
}

/* focus state */
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  border-color: #6c5ce7;
  box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.12);
}

/* submit button */
.wpcf7-form input[type="submit"] {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 0;
  background: linear-gradient(135deg, #6c5ce7, #8e44ad);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
  margin-top: 10px;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
}

/* hover effect */
.wpcf7-form input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(108, 92, 231, 0.25);
}

/* ============================================================
   DUPTRONICS — Single Post
   ============================================================ */

.dt-single-main { background: #f8f9fc; padding-bottom: 0; }

/* Hero */
.dt-single-hero {
  background: #656d4a;
  padding: 64px 24px 0;
  display: flex; flex-direction: column; align-items: center;
  position: relative; overflow: hidden;
}

.dt-single-hero__inner {
  position: relative; z-index: 1;
  max-width: 100%; width: 100%; text-align: center;
}
.dt-single-hero__cats {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 20px;
}
.dt-single-hero__cat {
  display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: #93c5fd; background: rgba(255,255,255,.1);
  padding: 5px 13px; border-radius: 100px; text-decoration: none;
  border: 1px solid rgba(147,197,253,.25); transition: background 0.26s cubic-bezier(0.4,0,0.2,1);
}
.dt-single-hero__cat:hover {
	background: #FFF;
}
.dt-single-hero__title {
  font-size: clamp(22px, 4vw, 38px); font-weight: 800; color: #ffffff;
  line-height: 1.2; letter-spacing: -.02em; margin: 0 0 24px;
}
.dt-single-hero__meta {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  flex-wrap: wrap; font-size: 13px; color: #FFFFFF; margin-bottom: 36px;
}
.dt-single-hero__meta-sep {
  width: 3px; height: 3px; border-radius: 50%; background: #656d4a; opacity: .6; flex-shrink: 0;
}
.dt-single-hero__avatar { display: flex; align-items: center; gap: 8px; }
.dt-single-hero__avatar img {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.3); object-fit: cover;
}
.dt-single-hero__thumb {
  width: 100%;
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 16 / 7;
  margin: 0 auto;
  position: relative;
  max-width: 1230px;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
}
.dt-single-hero__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dt-single-hero__thumb-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 56px; opacity: .3;
}

/* Prose */
.dt-single-body .entry-content {
  font-size: 16px; line-height: 1.8; color: #475569;
}
.dt-single-body .entry-content h2,
.dt-single-body .entry-content h3,
.dt-single-body .entry-content h4 {
  color: #0f172a; font-weight: 700; letter-spacing: -.015em;
  margin-top: 2em; margin-bottom: .5em;
}
.dt-single-body .entry-content h2 { font-size: 23px; }
.dt-single-body .entry-content h3 { font-size: 19px; }
.dt-single-body .entry-content p { margin-bottom: 1.4em; }
.dt-single-body .entry-content a { color: #656d4a; text-decoration: underline; text-underline-offset: 3px; }
.dt-single-body .entry-content blockquote {
  border-left: 4px solid #656d4a;
  background: #eff6ff;
  margin: 2em 0;
  padding: 16px 20px;
  border-radius: 0;
  font-style: italic;
  color: #0f172a;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
}
.dt-single-body .entry-content img { border-radius: 0; max-width: 100%; height: auto; -webkit-border-radius: 0; -moz-border-radius: 0; -ms-border-radius: 0; -o-border-radius: 0; }
.dt-single-body .entry-content ul,
.dt-single-body .entry-content ol { padding-left: 1.5em; margin-bottom: 1.4em; }
.dt-single-body .entry-content li { margin-bottom: .4em; }
.dt-single-body .entry-content code {
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 0;
  font-size: .87em;
  color: #be185d;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
}
.dt-single-body .entry-content pre {
  background: #0f172a;
  color: #e2e8f0;
  padding: 18px 20px;
  border-radius: 0;
  overflow-x: auto;
  font-size: 13.5px;
  margin-bottom: 1.4em;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
}

/* Tags */
.dt-single-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 36px; padding-top: 24px; border-top: 1px solid #e2e8f0;
}
.dt-single-tags__label {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  color: #94a3b8; align-self: center; margin-right: 4px;
}
.dt-single-tags a {
  display: inline-block; font-size: 12px; font-weight: 600; color: #475569;
  background: #f1f5f9; padding: 5px 12px; border-radius: 100px; text-decoration: none;
  transition: background 0.26s cubic-bezier(0.4,0,0.2,1), color 0.26s cubic-bezier(0.4,0,0.2,1);
}
.dt-single-tags a:hover { background: #eff6ff; color: #656d4a; }

/* Post nav */
.dt-post-nav { margin-top: 44px; }
.dt-post-nav .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dt-post-nav .nav-previous,
.dt-post-nav .nav-next {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0;
  padding: 16px 18px;
  transition: box-shadow 0.26s cubic-bezier(0.4,0,0.2,1), transform 0.26s cubic-bezier(0.4,0,0.2,1);
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
}
.dt-post-nav .nav-previous:hover,
.dt-post-nav .nav-next:hover { box-shadow: 0 8px 24px rgba(0,0,0,.09); transform: translateY(-2px); }
.dt-post-nav .nav-next { text-align: right; }
.dt-post-nav .nav-subtitle {
  display: block; font-size: 10px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: #656d4a; margin-bottom: 5px;
}
.dt-post-nav .nav-title { display: block; font-size: 13.5px; font-weight: 700; color: #0f172a; line-height: 1.4; }
.dt-post-nav a { text-decoration: none; }

/* Comments */
.dt-single-comments { margin-top: 40px; }

/* Responsive */
@media (max-width: 640px) {
  .dt-single-hero { padding: 44px 16px 0; }
  .dt-post-nav .nav-links { grid-template-columns: 1fr; }
  .dt-post-nav .nav-next { text-align: left; }
  .dt-single-body .entry-content { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .dt-post-nav .nav-previous, .dt-post-nav .nav-next { transition: none; }
  .dt-post-nav .nav-previous:hover, .dt-post-nav .nav-next:hover { transform: none; }
}