/*
Theme Name: TechUncos by DIZETECH
Theme URI: https://dizetech.in
Author: DIZE TECH IT SOLUTIONS
Author URI: https://dizetech.in
Description: High-performance, futuristic dark/light mode tech theme for blogs, AI guides, gadget reviews, and tool collections. Built with fluid responsiveness, smooth CSS gradients, neon glows, and interactive filtering.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: techuncos
Tags: blog, technology, news, grid-layout, custom-menu, featured-images, theme-options, dark-mode
*/

:root {
  --bg: #040b1c;
  --bg2: #071530;
  --card: #0a1c3d;
  --line: #14315f;
  --text: #e8f3ff;
  --mute: #8fa8c9;
  --c1: #22e0ff;
  --c2: #1a8cff;
  --grad: linear-gradient(135deg, #22e0ff, #1a8cff);
  --glow: 0 0 24px rgba(34, 224, 255, .35);
  --r: 18px;
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

@media (prefers-color-scheme:light) {
  :root:not([data-theme="dark"]) {
    --bg: #f0f6ff;
    --bg2: #ffffff;
    --card: #ffffff;
    --line: #d8e8fa;
    --text: #06173a;
    --mute: #4b6385;
    --c1: #0284c7;
    --c2: #0066cc;
    --grad: linear-gradient(135deg, #0284c7, #0066cc);
    --glow: 0 6px 24px rgba(2, 132, 199, .2)
  }
}

:root[data-theme="light"] {
  --bg: #f0f6ff;
  --bg2: #ffffff;
  --card: #ffffff;
  --line: #d8e8fa;
  --text: #06173a;
  --mute: #4b6385;
  --c1: #0284c7;
  --c2: #0066cc;
  --grad: linear-gradient(135deg, #0284c7, #0066cc);
  --glow: 0 6px 24px rgba(2, 132, 199, .2)
}

:root[data-theme="dark"] {
  --bg: #040b1c;
  --bg2: #071530;
  --card: #0a1c3d;
  --line: #14315f;
  --text: #e8f3ff;
  --mute: #8fa8c9;
  --c1: #22e0ff;
  --c2: #1a8cff;
  --grad: linear-gradient(135deg, #22e0ff, #1a8cff);
  --glow: 0 0 24px rgba(34, 224, 255, .35)
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(600px 400px at 85% -5%, rgba(34, 224, 255, .16), transparent 70%), radial-gradient(500px 400px at 0% 40%, rgba(26, 140, 255, .12), transparent 70%);
  z-index: -1
}

a {
  color: inherit;
  text-decoration: none
}

.wrap {
  width: min(1200px, 92%);
  margin: auto
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: .95rem;
  transition: .25s;
  text-align: center
}

.btn.p,
button[type="submit"].btn,
input[type="submit"] {
  background: var(--grad);
  color: #021027;
  box-shadow: var(--glow);
  border: none;
  cursor: pointer
}

.btn.p:hover,
button[type="submit"].btn:hover,
input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 34px rgba(34, 224, 255, .6)
}

.btn.o {
  border: 1.5px solid var(--c1);
  color: var(--c1);
  background: transparent
}

.btn.o:hover {
  background: rgba(34, 224, 255, .12)
}

/* ==================== HEADER & NAV ==================== */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
}

body.admin-bar header.site-header {
  top: 32px;
}

body.admin-bar .side {
  top: 124px;
}

@media screen and (max-width: 782px) {
  body.admin-bar header.site-header {
    top: 46px;
  }

  body.admin-bar .side {
    top: 138px;
  }
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: .5px
}

.logo svg {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 0 8px rgba(34, 224, 255, .6))
}

.logo b {
  color: var(--c1)
}

.custom-logo-link img {
  max-height: 42px;
  width: auto;
  display: block
}

nav ul {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0
}

nav li {
  position: relative
}

nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 500;
  font-size: .92rem;
  color: var(--mute);
  transition: .2s;
  display: block
}

nav a:hover,
nav li.current-menu-item>a,
nav li.current_page_item>a {
  color: var(--c1);
  background: rgba(34, 224, 255, .1)
}

.tools {
  display: flex;
  gap: 10px;
  align-items: center
}

.ic {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  max-width: 42px;
  max-height: 42px;
  border-radius: 50% !important;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--c1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  flex-shrink: 0;
  line-height: 1;
  cursor: pointer;
  font-size: 1.15rem;
  transition: all .2s ease;
}

.ic:hover {
  border-color: var(--c1);
  box-shadow: var(--glow);
  transform: scale(1.06);
}

#theme svg {
  width: 20px;
  height: 20px;
  display: block;
  margin: auto;
  pointer-events: none;
}

.logo-custom img,
.custom-logo-link img,
.footer-logo img {
  max-height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}

#menu {
  display: none
}

/* ==================== SECTION HEADINGS & BANNER ==================== */
section {
  padding: 44px 0
}

.sh {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 26px;
  gap: 12px
}

.sh h2 {
  font-size: 1.7rem;
  font-weight: 700
}

.sh h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 4px;
  border-radius: 4px;
  background: var(--grad);
  margin-top: 8px
}

.sh a {
  color: var(--c1);
  font-weight: 500;
  font-size: .9rem
}

.tgrid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px
}

.tgrid.single-col {
  grid-template-columns: 1fr;
}

.no-posts {
  color: var(--mute);
  font-size: .95rem;
  padding: 36px 20px;
  background: var(--card);
  border: 1px dashed var(--line);
  border-radius: var(--r);
  text-align: center;
  grid-column: 1 / -1;
  width: 100%;
}

.feat {
  min-height: 420px;
  border-radius: var(--r);
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--c1);
  box-shadow: var(--glow);
  color: #fff;
  background: var(--card);
  transition: .3s
}

.feat:hover {
  transform: translateY(-4px)
}

.feat>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s
}

.feat:hover>img {
  transform: scale(1.05)
}

.feat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 10, 28, 0) 30%, rgba(2, 10, 28, .95));
  z-index: 1
}

.feat-b {
  position: relative;
  z-index: 2;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start
}

.feat .pill {
  align-self: flex-start;
  background: var(--grad);
  color: #021027;
  font-weight: 700;
  font-size: .72rem;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 12px
}

.feat h3,
.feat h3 a {
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  line-height: 1.3;
  margin-bottom: 10px;
  color: #ffffff !important
}

.feat p {
  color: #c9dcf5 !important;
  font-size: .9rem;
  margin-bottom: 12px
}

.feat .meta,
.feat .meta span {
  color: #9fc2ea !important;
  font-size: .78rem;
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.alist {
  display: grid;
  gap: 14px
}

.ad {
  margin-top: 44px;
  border: 1.5px dashed var(--c2);
  border-radius: var(--r);
  padding: 30px 16px;
  text-align: center;
  color: var(--mute);
  background: rgba(34, 224, 255, .04)
}

.banner-ad-section {
  padding: 10px 0 24px;
}

.banner-ad-section .ad {
  margin-top: 0;
}

.ad b {
  display: block;
  color: var(--c1);
  letter-spacing: 2px;
  font-size: .78rem;
  margin-bottom: 4px
}

.g3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px
}

/* ==================== CARD COMPONENTS ==================== */
/* Horizontal Card (.hc) */
.hc {
  display: flex;
  gap: 16px;
  align-items: stretch;
  padding: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: .25s
}

.hc:hover {
  border-color: var(--c1);
  box-shadow: var(--glow);
  transform: translateX(4px)
}

.hc-img {
  flex: 0 0 clamp(96px, 26%, 150px);
  aspect-ratio: 1/1;
  border-radius: 14px;
  overflow: hidden;
  align-self: center;
  background: var(--bg2)
}

.hc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s
}

.hc:hover .hc-img img {
  transform: scale(1.08)
}

.hc-b {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  align-items: flex-start;
  justify-content: center
}

.hc-b h3 {
  font-size: .98rem;
  line-height: 1.35
}

.hc-b h3 a:hover {
  color: var(--c1)
}

.hc-b p {
  color: var(--mute);
  font-size: .84rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.chip {
  display: inline-block;
  font-size: .74rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--c1);
  background: rgba(2, 132, 199, .08);
  letter-spacing: .3px
}

.rm {
  color: var(--c1);
  font-weight: 600;
  font-size: .85rem
}

/* Vertical Image Card (.icard) */
.icard {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: .3s
}

.icard:hover {
  transform: translateY(-6px);
  border-color: var(--c1);
  box-shadow: var(--glow)
}

.ic-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg2)
}

.ic-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s
}

.icard:hover .ic-img img {
  transform: scale(1.07)
}

.ic-img .cat {
  position: absolute;
  left: 12px;
  top: 12px;
  font-size: .7rem;
  font-weight: 600;
  background: rgba(2, 16, 39, .8);
  color: var(--c1);
  padding: 4px 12px;
  border-radius: 999px
}

.ic-b {
  padding: 16px 18px 20px
}

.ic-b h3 {
  font-size: 1.05rem;
  line-height: 1.4;
  margin-bottom: 6px
}

.ic-b p {
  color: var(--mute);
  font-size: .86rem
}

/* Prime Section */
.prime {
  padding: 44px 34px;
  border-radius: 28px;
  border: 1px solid var(--c1);
  box-shadow: var(--glow);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: center;
  background: linear-gradient(135deg, rgba(34, 224, 255, .2), rgba(26, 140, 255, .08)), var(--card)
}

.prime .tag {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--c1);
  color: var(--c1);
  border-radius: 999px;
  font-size: .78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px
}

.prime h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  line-height: 1.15;
  margin: 10px 0
}

.prime p {
  color: var(--mute);
  margin-bottom: 22px
}

.prime ul {
  list-style: none;
  display: grid;
  gap: 12px;
  padding: 0
}

.prime li {
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--bg2);
  border: 1px solid var(--line);
  font-size: .92rem
}

.prime li::before {
  content: "✓ ";
  color: var(--c1);
  font-weight: 700
}

/* ==================== BLOG LISTING & LAYOUT ==================== */
.pagehead {
  padding: 46px 0 26px
}

.pagehead h1 {
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  margin: 6px 0 8px
}

.pagehead p {
  color: var(--mute);
  max-width: 560px
}

.crumb {
  font-size: .84rem;
  color: var(--mute)
}

.crumb a {
  color: var(--c1)
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  align-items: start;
  padding-bottom: 30px
}

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px
}

.fchip {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--mute);
  font-family: inherit;
  font-size: .86rem;
  font-weight: 500;
  cursor: pointer;
  transition: .2s;
  min-height: 40px;
  display: inline-flex;
  align-items: center
}

.fchip:hover {
  border-color: var(--c1);
  color: var(--c1)
}

.fchip.on {
  background: var(--grad);
  color: #021027;
  border-color: transparent;
  box-shadow: var(--glow)
}

.bgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px
}

.bp {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: .3s
}

.bp:hover {
  transform: translateY(-6px);
  border-color: var(--c1);
  box-shadow: var(--glow)
}

.bp.hide {
  display: none
}

.bp-img {
  position: relative;
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg2)
}

.bp-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s
}

.bp:hover .bp-img img {
  transform: scale(1.07)
}

.bp-img .cat {
  position: absolute;
  left: 12px;
  top: 12px;
  font-size: .7rem;
  font-weight: 600;
  background: rgba(2, 16, 39, .8);
  color: var(--c1);
  padding: 4px 12px;
  border-radius: 999px
}

.bp-b {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 0
}

.bp-b .chip {
  display: none;
  align-self: flex-start
}

.bp-b h3 {
  font-size: 1.06rem;
  line-height: 1.4
}

.bp-b h3 a:hover {
  color: var(--c1)
}

.bp-b p {
  color: var(--mute);
  font-size: .88rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.bp-b .meta {
  font-size: .78rem;
  color: var(--mute);
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.bp-b .rm {
  margin-top: auto;
  padding-top: 6px
}

.empty {
  padding: 40px;
  text-align: center;
  color: var(--mute)
}

/* ==================== SIDEBAR & WIDGETS ==================== */
.side {
  display: grid;
  gap: 22px;
  position: sticky;
  top: 92px;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  max-width: 100%;
  min-width: 0
}

.box,
.widget {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden
}

.box h4,
.widget h4,
.widgettitle {
  font-size: 1.05rem;
  margin-bottom: 14px;
  font-weight: 700
}

.box.about {
  text-align: center
}

.about .av {
  width: 84px;
  height: 84px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg2);
  border: 2px solid var(--c1);
  box-shadow: var(--glow)
}

.about .av svg {
  width: 48px;
  height: 48px
}

.about p {
  color: var(--mute);
  font-size: .86rem;
  margin-bottom: 14px;
  overflow-wrap: anywhere
}

.search,
.search-form {
  display: flex;
  gap: 8px;
  width: 100%
}

input[type="text"],
input[type="search"],
input[type="email"],
textarea {
  flex: 1;
  min-width: 0;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg2);
  color: var(--text);
  font-family: inherit;
  outline: 0
}

input[type="text"]:focus,
input[type="search"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: var(--c1);
  box-shadow: 0 0 10px rgba(34, 224, 255, .2)
}

textarea {
  border-radius: 16px;
  resize: vertical
}

.clist,
.widget_categories ul {
  list-style: none;
  display: grid;
  gap: 4px;
  padding: 0;
  margin: 0
}

.clist a,
.widget_categories li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: .9rem;
  color: var(--mute);
  transition: .2s
}

.clist a:hover,
.clist a.on,
.widget_categories li a:hover {
  background: rgba(34, 224, 255, .1);
  color: var(--c1)
}

.clist span,
.widget_categories li .count {
  font-size: .75rem;
  background: var(--bg2);
  padding: 1px 10px;
  border-radius: 999px;
  border: 1px solid var(--line)
}

.pp {
  list-style: none;
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0
}

.pp a {
  display: flex;
  gap: 12px;
  align-items: center
}

.pp img {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--bg2)
}

.pp b {
  display: block;
  font-size: .86rem;
  line-height: 1.35;
  font-weight: 600
}

.pp a:hover b {
  color: var(--c1)
}

.pp small {
  color: var(--mute);
  font-size: .74rem
}

.tags,
.tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 100%
}

.tags a,
.tagcloud a {
  padding: 5px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .78rem !important;
  color: var(--mute);
  transition: .2s
}

.tags a:hover,
.tagcloud a:hover {
  border-color: var(--c1);
  color: var(--c1);
  background: rgba(34, 224, 255, .08)
}

.soc {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 100%
}

.soc a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--bg2);
  color: var(--c1);
  transition: .25s;
  font-weight: 700;
  font-size: .85rem
}

.soc a:hover {
  background: var(--grad);
  color: #021027;
  box-shadow: var(--glow);
  transform: translateY(-3px)
}

.soc svg {
  width: 20px;
  height: 20px;
  fill: currentColor
}

/* ==================== PAGINATION ==================== */
.pg,
.pagination,
.navigation.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 34px;
  flex-wrap: wrap;
  position: static;
  width: auto;
  background: none;
  box-shadow: none
}

.pg a,
.pg span,
.pagination a,
.pagination span,
.navigation.pagination a,
.navigation.pagination span {
  min-width: 42px;
  height: 42px;
  padding: 0 16px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  font-weight: 600;
  font-size: .9rem;
  transition: .2s;
  color: var(--text)
}

.pg a:hover,
.pg .current,
.pagination a:hover,
.pagination .current,
.navigation.pagination .current {
  background: var(--grad);
  color: #021027;
  border-color: transparent;
  box-shadow: var(--glow)
}

/* ==================== SINGLE ARTICLE & CONTENT ==================== */
.single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 36px;
  padding: 36px 0 60px
}

.single-article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px;
  min-width: 0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .04);
}

.post-header {
  margin-bottom: 28px
}

.post-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.25;
  margin: 12px 0 16px;
  color: var(--text)
}

.post-meta-bar {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .85rem;
  color: var(--mute);
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px
}

.post-meta-bar span {
  display: inline-flex;
  align-items: center;
  gap: 6px
}

.post-featured-media {
  margin: 28px 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line)
}

.post-featured-media img {
  width: 100%;
  height: auto;
  display: block
}

/* Typography for Post Content */
.entry-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text)
}

.entry-content p {
  margin-bottom: 22px
}

.entry-content h2 {
  font-size: 1.6rem;
  margin: 36px 0 16px;
  font-weight: 700
}

.entry-content h3 {
  font-size: 1.3rem;
  margin: 28px 0 14px;
  font-weight: 600
}

.entry-content ul,
.entry-content ol {
  margin: 0 0 22px 24px
}

.entry-content li {
  margin-bottom: 8px
}

.entry-content blockquote {
  border-left: 4px solid var(--c1);
  padding: 14px 22px;
  margin: 24px 0;
  background: rgba(34, 224, 255, .05);
  border-radius: 0 14px 14px 0;
  font-style: italic
}

.entry-content pre {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  overflow-x: auto;
  font-family: monospace;
  font-size: .9rem;
  margin-bottom: 22px
}

.entry-content code {
  background: rgba(34, 224, 255, .1);
  color: var(--c1);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: .9em
}

.entry-content img {
  border-radius: 14px;
  height: auto
}

.entry-content a {
  color: var(--c1);
  text-decoration: underline
}

/* Post Tags & Author Box */
.post-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 32px 0;
  padding-top: 20px;
  border-top: 1px solid var(--line)
}

.post-author-box {
  display: flex;
  gap: 20px;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  margin-top: 36px;
  align-items: center
}

.post-author-box img {
  border-radius: 50%;
  width: 72px;
  height: 72px
}

.post-author-box h5 {
  font-size: 1.1rem;
  margin-bottom: 4px
}

.post-author-box p {
  color: var(--mute);
  font-size: .88rem;
  margin: 0
}

/* Post Navigation (Prev/Next) */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 34px 0
}

.post-nav-card {
  padding: 18px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: .25s
}

.post-nav-card:hover {
  border-color: var(--c1);
  box-shadow: var(--glow)
}

.post-nav-card span {
  font-size: .76rem;
  text-transform: uppercase;
  color: var(--c1);
  display: block;
  margin-bottom: 6px
}

.post-nav-card b {
  font-size: .95rem;
  line-height: 1.4
}

/* Related Posts */
.related-posts {
  margin-top: 48px
}

.related-posts h3 {
  font-size: 1.4rem;
  margin-bottom: 20px
}

/* Comments Section */
.comments-area {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--line)
}

.comments-title {
  font-size: 1.4rem;
  margin-bottom: 24px
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 20px
}

.comment-body {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px
}

.comment-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px
}

.comment-author .fn {
  font-weight: 700
}

.comment-metadata a {
  color: var(--mute);
  font-size: .8rem
}

.comment-content p {
  margin-bottom: 10px;
  font-size: .92rem
}

.reply a {
  color: var(--c1);
  font-weight: 600;
  font-size: .82rem
}

.comment-respond {
  margin-top: 36px;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px
}

.comment-reply-title {
  font-size: 1.3rem;
  margin-bottom: 14px
}

.comment-form {
  display: grid;
  gap: 14px
}

.comment-form p {
  margin: 0
}

.comment-form-comment textarea {
  width: 100%;
  height: 120px
}

.form-submit {
  margin-top: 8px
}

/* WordPress Standard Classes */
.alignleft {
  float: left;
  margin: 0 20px 20px 0
}

.alignright {
  float: right;
  margin: 0 0 20px 20px
}

.aligncenter {
  clear: both;
  display: block;
  margin: 0 auto 20px
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important
}

/* ==================== FOOTER ==================== */
footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: var(--bg2);
  padding: 50px 0 0
}

.fg {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px
}

footer p,
footer li a {
  color: var(--mute);
  font-size: .88rem
}

footer h5,
footer .widgettitle {
  font-size: 1rem;
  margin-bottom: 14px;
  font-weight: 700
}

footer ul {
  list-style: none;
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0
}

footer li a:hover {
  color: var(--c1)
}

.footer-social-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 36px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer-social-wrap .soc {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 0 auto;
}

/* Sidebar Square Ad */
.ad-square-box {
  padding: 18px 16px;
  text-align: center;
  border: 1.5px dashed var(--c2);
  border-radius: var(--r);
  background: rgba(34, 224, 255, .04);
}

.ad-label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--c1);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.ad-content-square {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mute);
  font-size: .88rem;
  overflow: hidden;
  border-radius: 12px;
}

.ad-content-square img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.copy {
  margin-top: 24px;
  padding: 18px 0 28px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: .84rem;
  color: var(--mute)
}

.copy a {
  color: var(--c1);
  font-weight: 600;
  text-decoration: none;
  transition: .2s
}

.copy a:hover {
  text-decoration: underline;
  color: #fff
}

/* ==================== RESPONSIVE RULES ==================== */
img,
svg {
  max-width: 100%
}

.btn,
.cat-c {
  min-height: 44px
}

@media(hover:none) {

  .tc:hover,
  .art:hover,
  .feat:hover {
    transform: none
  }
}

@media(max-width:992px) {
  .fg {
    grid-template-columns: 1fr 1fr
  }

  .tgrid,
  .g3,
  .wgrid,
  .prime,
  .blog-layout,
  .single-layout {
    grid-template-columns: 1fr
  }

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

  .feat {
    min-height: 340px
  }

  .side {
    position: static;
    max-width: 100%
  }

  nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    background: var(--bg2);
    border-bottom: 1px solid var(--line);
    padding: 10px 4%;
    display: none;
    box-shadow: 0 20px 30px rgba(0, 0, 0, .35)
  }

  nav.open {
    display: block
  }

  nav ul {
    flex-direction: column;
    gap: 2px
  }

  nav a {
    display: block;
    padding: 14px 16px;
    font-size: 1rem
  }

  #menu {
    display: grid
  }
}

@media(max-width:640px) {
  .wrap {
    width: 92%
  }

  .nav {
    height: 64px
  }

  nav {
    top: 64px
  }

  .logo {
    font-size: 1.15rem
  }

  .logo svg {
    width: 34px;
    height: 34px
  }

  .tools .btn {
    display: none
  }

  section {
    padding: 30px 0
  }

  .sh {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px
  }

  .sh h2 {
    font-size: 1.4rem
  }

  .g3 {
    grid-template-columns: 1fr
  }

  .feat {
    min-height: 300px;
    padding: 0
  }

  .feat-b {
    padding: 20px
  }

  .ad {
    margin-top: 30px;
    padding: 22px 12px
  }

  .prime {
    padding: 28px 20px;
    border-radius: 22px
  }

  .prime .btn {
    width: 100%;
    justify-content: center
  }

  .fg {
    grid-template-columns: 1fr;
    gap: 24px
  }

  .copy {
    font-size: .76rem
  }

  .filters {
    flex-wrap: wrap;
    overflow: visible;
    margin-inline: 0;
    padding: 0;
    gap: 8px
  }

  .fchip {
    flex: 0 1 auto;
    padding: 8px 16px;
    font-size: .82rem;
    min-height: 38px
  }

  .bgrid {
    grid-template-columns: 1fr;
    gap: 18px
  }

  .bp {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0
  }

  .bp-img {
    flex: none;
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 0
  }

  .bp-img .cat {
    display: inline-block
  }

  .bp-b {
    padding: 16px 18px 20px;
    gap: 8px
  }

  .bp-b .chip {
    display: none
  }

  .bp-b h3 {
    font-size: 1.02rem;
    line-height: 1.4
  }

  .bp-b p {
    font-size: .86rem;
    -webkit-line-clamp: 3;
    line-clamp: 3
  }

  .bp-b .meta {
    font-size: .78rem;
    gap: 12px
  }

  .bp-b .rm {
    font-size: .85rem;
    padding-top: 6px
  }

  .hc {
    padding: 12px;
    gap: 12px
  }

  .hc-img {
    flex-basis: 92px
  }

  .hc-b h3 {
    font-size: .92rem
  }

  .hc-b p {
    -webkit-line-clamp: 2;
    line-clamp: 2;
    font-size: .8rem
  }

  .single-article {
    padding: 20px;
    border-radius: 18px
  }

  .post-nav {
    grid-template-columns: 1fr
  }

  .post-author-box {
    flex-direction: column;
    text-align: center
  }
}

@media(max-width:380px) {
  html {
    font-size: 15px
  }

  .logo span {
    font-size: 1.05rem
  }

  .feat h3 {
    font-size: 1.15rem
  }

  .bp-img {
    flex-basis: 92px
  }
}

@media(max-height:480px) and (orientation:landscape) {
  .nav {
    height: 56px
  }

  nav {
    top: 56px;
    max-height: 70vh;
    overflow: auto
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important
  }
}