/* ============================================================
   Kava Technology - global stylesheet
   Magazine layout rhythm rebranded with an original deep-teal
   and amber palette.
   ============================================================ */

:root {
  --c-primary: #0f766e;
  --c-primary-dark: #0b4f49;
  --c-primary-deep: #083b37;
  --c-primary-soft: #e6f2f0;
  --c-accent: #e8a33d;
  --c-accent-dark: #c47f1f;
  --c-accent-soft: #fdf3e2;
  --c-cream: #faf7f0;
  --c-surface: #ffffff;
  --c-ink: #1f2937;
  --c-body: #313131;
  --c-muted: #6b7280;
  --c-border: #e7e2d8;
  --c-border-soft: #ececec;
  --c-dark: #111111;
  --font-logo: "Pacifico", cursive;
  --font-sans: "Open Sans", "Segoe UI", Arial, sans-serif;
  --font-serif: "PT Serif", Georgia, serif;
  --container: 1170px;
  --nav-h: 60px;
  --shadow: 0 1px 5px rgba(190, 190, 190, 0.46);
  --radius: 4px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-body);
  background: var(--c-cream);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--c-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--c-accent-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  color: var(--c-ink);
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 0.5em;
}

.container {
  width: var(--container);
  max-width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}

.container.penci_sidebar #main {
  width: 70.94%;
  padding-right: 50px;
  float: left;
}

.container.penci_sidebar .penci-sidebar-content {
  width: 29.06%;
  float: right;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============ Header ============ */

.penci-top-bar {
  background: #111111;
  color: #fff;
  font-size: 13px;
}

.penci-top-bar .top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 40px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.penci-headline {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.penci-headline .topbar-badge {
  background: var(--c-accent);
  color: #1f2937;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 2px;
  white-space: nowrap;
}

.headline-ticker {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.headline-ticker a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
}

.headline-ticker a:hover {
  color: var(--c-accent);
}

.penci-topbar-social {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.penci-topbar-social a {
  color: rgba(255, 255, 255, 0.8);
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.penci-topbar-social a:hover {
  color: var(--c-accent);
}

.site-header .inner-header {
  background: var(--c-surface);
}

.site-header .inner-header .container {
  padding: 18px 15px;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}

.site-logo img,
.site-logo svg {
  width: 58px;
  height: 58px;
}

.site-logo .logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.site-logo .logo-word {
  font-family: var(--font-logo);
  font-size: 40px;
  color: var(--c-primary-dark);
  letter-spacing: 0.5px;
}

.site-logo .logo-sub {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--c-accent-dark);
}

.site-header .header-slogan {
  font-size: 14px;
  color: var(--c-muted);
  border-left: 1px solid var(--c-border);
  padding-left: 24px;
  max-width: 420px;
  text-align: left;
}

/* ============ Navigation ============ */

.site-nav {
  position: relative;
  z-index: 9999;
  background: var(--c-primary);
  height: var(--nav-h);
  border-top: 1px solid var(--c-primary-deep);
  border-bottom: 1px solid var(--c-border-soft);
  transition: box-shadow 0.3s ease;
}

.site-nav.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: var(--shadow);
  border-color: transparent;
}

.site-nav .nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.button-menu-mobile {
  display: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  padding: 0 10px;
  background: none;
  border: 0;
}

.nav-menu {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  height: var(--nav-h);
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  height: var(--nav-h);
  padding: 0 16px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #fff;
}

.nav-menu > li > a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 3px;
  background: var(--c-accent);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav-menu > li:hover > a::after,
.nav-menu > li.current-menu-item > a::after {
  transform: scaleX(1);
}

.nav-menu > li:hover > a,
.nav-menu > li.current-menu-item > a {
  color: #fff;
  background: var(--c-primary-dark);
}

.nav-menu .has-children > a .caret {
  font-size: 10px;
  margin-left: 2px;
}

.nav-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #fff;
  border-top: 3px solid var(--c-accent);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 200;
}

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

.nav-menu .sub-menu li {
  position: relative;
}

.nav-menu .sub-menu a {
  display: block;
  padding: 9px 18px;
  color: var(--c-body);
  font-size: 14px;
  border-left: 3px solid transparent;
}

.nav-menu .sub-menu a:hover {
  color: var(--c-primary);
  border-left-color: var(--c-primary);
  background: var(--c-primary-soft);
}

.nav-menu .sub-menu .sub-menu {
  top: -8px;
  left: 100%;
}

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

.nav-search {
  display: flex;
  align-items: center;
}

.nav-search .search-click {
  color: #fff;
  font-size: 17px;
  padding: 0 14px;
  cursor: pointer;
  background: none;
  border: 0;
}

.nav-search .show-search {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  background: var(--c-primary);
  padding: 12px 15px;
  display: none;
}

.nav-search .show-search.open {
  display: block;
}

.nav-search .show-search form {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-search .search-input {
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  padding: 10px 14px;
  font-family: var(--font-sans);
  font-size: 15px;
  border-radius: var(--radius);
}

.nav-search .search-input::placeholder {
  color: rgba(255, 255, 255, 0.8);
}

.nav-search .close-search {
  color: #fff;
  background: none;
  border: 0;
  font-size: 16px;
  cursor: pointer;
  padding: 8px;
}

/* ============ Mobile drawer ============ */

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}

.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 290px;
  max-width: 85vw;
  background: #fff;
  z-index: 10001;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.18);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer .drawer-logo {
  padding: 22px 20px;
  border-bottom: 1px solid var(--c-border-soft);
}

.mobile-drawer .drawer-logo svg {
  width: 42px;
  height: 42px;
}

.mobile-drawer .drawer-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: 0;
  font-size: 20px;
  color: var(--c-muted);
  cursor: pointer;
}

.mobile-drawer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-drawer .menu > li > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 20px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  color: var(--c-ink);
  border-bottom: 1px solid var(--c-border-soft);
}

.mobile-drawer .sub-menu {
  display: none;
  background: var(--c-cream);
}

.mobile-drawer .sub-menu.open {
  display: block;
}

.mobile-drawer .sub-menu a {
  display: block;
  padding: 10px 32px;
  font-size: 14px;
  color: var(--c-body);
  border-bottom: 1px solid var(--c-border-soft);
}

.mobile-drawer .drawer-toggle {
  background: none;
  border: 0;
  color: var(--c-muted);
  cursor: pointer;
  font-size: 12px;
}

/* ============ Page header / breadcrumb ============ */

.container.penci-breadcrumb {
  padding-top: 14px;
  font-size: 13px;
  color: var(--c-muted);
}

.container.penci-breadcrumb a {
  color: var(--c-muted);
}

.container.penci-breadcrumb a:hover {
  color: var(--c-primary);
}

.container-single-fullwidth {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 15px;
}

.header-standard {
  margin: 26px 0 10px;
}

.header-standard.header-classic.single-header {
  margin: 10px 0 26px;
  text-align: center;
}

.penci-standard-cat .cat,
.penci-single-cat .cat {
  display: inline-block;
  margin-bottom: 10px;
}

.penci-cat-name {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--c-accent-dark);
}

.penci-cat-name:hover {
  color: var(--c-primary);
}

.header-standard h1,
.header-standard .post-title {
  font-size: 30px;
  letter-spacing: 0.5px;
  color: var(--c-ink);
}

.post-box-meta-single {
  font-size: 14px;
  color: var(--c-muted);
  margin-top: 8px;
}

.post-box-meta-single span + span::before {
  content: "/";
  margin: 0 10px;
  color: var(--c-border);
}

.post-box-meta-single a {
  color: var(--c-ink);
  text-transform: capitalize;
}

.post-box-meta-single a:hover {
  color: var(--c-primary);
}

.archive-box {
  margin: 30px 0 28px;
  text-align: center;
}

.archive-box .title-bar {
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--c-primary);
}

.archive-box h1 {
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  color: var(--c-accent-dark);
}

/* ============ Homepage section titles ============ */

.penci-homepage-title {
  position: relative;
  margin: 0 0 20px;
  border-bottom: 2px solid var(--c-primary);
}

.penci-homepage-title .inner-arrow {
  display: inline-block;
  background: var(--c-accent);
  color: #1f2937;
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 7px 18px;
  border-radius: 3px 3px 0 0;
}

.penci-homepage-title .inner-arrow a {
  color: inherit;
}

.penci-homepage-title .see-more {
  position: absolute;
  right: 0;
  bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--c-primary);
}

/* ============ Featured area (mosaic) ============ */

.featured-area {
  margin: 0 0 34px;
}

.featured-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 4px;
}

.penci-mag-featured-content {
  position: relative;
  overflow: hidden;
}

.penci-mag-featured-content.featured-large {
  grid-column: span 2;
}

.penci-mag-featured-content .slide-link {
  display: block;
  position: absolute;
  inset: 0;
}

.penci-mag-featured-content .penci-image-holder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.penci-mag-featured-content .penci-image-holder::before {
  display: none;
}

.penci-mag-featured-content .slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 59, 55, 0.94) 0%, rgba(8, 59, 55, 0.35) 55%, rgba(8, 59, 55, 0.1) 100%);
  transition: background 0.25s ease;
}

.penci-mag-featured-content:hover .slide-overlay {
  background: linear-gradient(to top, rgba(11, 79, 73, 0.96) 0%, rgba(11, 79, 73, 0.45) 60%, rgba(11, 79, 73, 0.15) 100%);
}

.penci-mag-featured-content .feat-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 20px 16px;
  color: #fff;
}

.penci-mag-featured-content.featured-large .feat-text {
  padding: 24px 28px 22px;
  max-width: 720px;
}

.penci-mag-featured-content .featured-cat {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--c-accent);
  margin-bottom: 4px;
}

.penci-mag-featured-content .feat-text h3 {
  color: #fff;
  font-size: 15px;
  line-height: 1.35;
  margin: 0 0 4px;
}

.penci-mag-featured-content.featured-large .feat-text h3 {
  font-size: 26px;
}

.penci-mag-featured-content .feat-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
}

/* ============ Homepage category sections ============ */

.home-featured-cat {
  margin-bottom: 34px;
}

.home-featured-cat-content.style-1 {
  display: table;
  width: calc(100% + 30px);
  margin-left: -15px;
  margin-right: -15px;
}

.home-featured-cat-content .cat-left,
.home-featured-cat-content .cat-right {
  width: 50%;
  float: left;
  padding: 0 15px;
}

.mag-post-box {
  width: 100%;
  overflow: hidden;
  display: table;
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: 1px solid var(--c-border-soft);
}

.mag-post-box.first-post {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.mag-post-box .magcat-thumb {
  float: left;
  margin-right: 20px;
  position: relative;
  transition: opacity 0.3s;
}

.mag-post-box .magcat-thumb:hover {
  opacity: 0.82;
}

.mag-post-box.first-post .magcat-thumb {
  float: none;
  margin: 0 0 20px;
}

.penci-image-holder {
  position: relative;
  display: block;
  width: 100%;
  background: #f1f1f1 center/cover no-repeat;
  overflow: hidden;
}

.penci-image-holder::before {
  display: block;
  content: "";
  width: 100%;
  padding-top: 66.6667%;
}

.penci-image-holder.small-fix-size {
  width: 120px;
}

.mag-post-box .magcat-thumb img {
  width: 120px;
  height: auto;
}

.mag-post-box.first-post .magcat-thumb img {
  width: 100%;
}

.magcat-detail h3 {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
}

.magcat-detail h3 a {
  color: var(--c-ink);
}

.magcat-detail h3 a:hover {
  color: var(--c-primary);
}

.mag-post-box.first-post .magcat-detail h3 a {
  font-size: 18px;
}

.mag-post-box .mag-meta {
  margin-top: 6px;
  font-size: 13px;
  color: var(--c-muted);
}

.mag-post-box.first-post .mag-header {
  padding-bottom: 13px;
  margin-bottom: 13px;
  border-bottom: 1px solid var(--c-border);
}

.mag-post-box .mag-excerpt {
  margin-top: 10px;
  font-size: 14px;
  color: var(--c-muted);
}

/* ============ Archive grid ============ */

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

.penci-grid > li {
  width: 48.05%;
  margin-right: 3.9%;
  margin-bottom: 40px;
  float: left;
}

.penci-grid > li:nth-of-type(2n + 2) {
  margin-right: 0;
}

.penci-grid > li:nth-of-type(2n + 1) {
  clear: both;
}

.penci-grid .item .thumbnail {
  margin-bottom: 26px;
}

.penci-grid .header-list-style {
  margin-bottom: 12px;
}

.penci-grid .cat {
  display: inline-block;
  margin-bottom: 6px;
}

.penci-grid h2.grid-title {
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 6px;
}

.penci-grid h2.grid-title a {
  color: var(--c-ink);
}

.penci-grid h2.grid-title a:hover {
  color: var(--c-primary);
}

.grid-post-box-meta {
  font-size: 13px;
  color: var(--c-muted);
}

.penci-grid .item-content {
  font-size: 14px;
  color: var(--c-muted);
  margin: 10px 0 14px;
}

.penci-btn-readmore {
  display: inline-block;
  border: 2px solid var(--c-primary);
  color: var(--c-primary);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 8px 18px;
  border-radius: var(--radius);
  transition: all 0.25s ease;
}

.penci-btn-readmore:hover {
  background: var(--c-primary);
  color: #fff;
}

.penci-pagination {
  clear: both;
  padding: 18px 0 30px;
  text-align: center;
}

.penci-pagination a {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 13px;
  color: var(--c-body);
  background: #fff;
  margin: 0 3px;
}

.penci-pagination a:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
}

.penci-pagination a.current {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}

/* ============ Single post ============ */

.post-entry {
  font-size: 16px;
}

.post-entry .post-image {
  margin: 0 0 26px;
}

.post-entry .post-image img {
  width: 100%;
}

.post-entry h2 {
  font-size: 24px;
  margin: 34px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--c-border);
}

.post-entry h3 {
  font-size: 20px;
  margin: 28px 0 10px;
}

.post-entry h4 {
  font-size: 17px;
  margin: 22px 0 8px;
}

.post-entry p {
  margin: 0 0 18px;
}

.post-entry ul,
.post-entry ol {
  margin: 0 0 20px;
  padding-left: 24px;
}

.post-entry li {
  margin-bottom: 8px;
}

.post-entry ul li::marker {
  color: var(--c-primary);
}

.post-entry blockquote {
  margin: 24px 0;
  padding: 16px 22px;
  border-left: 4px solid var(--c-accent);
  background: var(--c-accent-soft);
  color: var(--c-ink);
  font-style: italic;
}

.post-entry blockquote p:last-child {
  margin-bottom: 0;
}

.post-entry img {
  margin: 22px auto;
  border-radius: var(--radius);
}

.post-entry table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  font-size: 14px;
  background: #fff;
}

.post-entry th,
.post-entry td {
  border: 1px solid var(--c-border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.post-entry th {
  background: var(--c-primary-soft);
  color: var(--c-primary-dark);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.post-entry tr:nth-child(even) td {
  background: var(--c-cream);
}

.affiliate-note {
  background: var(--c-accent-soft);
  border: 1px solid #f0d7a8;
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 13.5px;
  color: #5c4a26;
  margin: 0 0 24px;
}

.affiliate-note strong {
  color: #4a3a1c;
}

.product-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 6px;
  padding: 22px;
  margin: 22px 0;
}

.product-card .pc-head {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--c-border-soft);
  padding-bottom: 10px;
}

.product-card .pc-head h3 {
  margin: 0;
  font-size: 18px;
}

.product-card .pc-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--c-accent-dark);
  white-space: nowrap;
}

.product-card .pc-col {
  min-width: 0;
}

.product-card .pc-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--c-muted);
  margin: 0 0 8px;
}

.product-card .pc-features {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
}

.product-card .pc-features li {
  margin-bottom: 6px;
}

.product-card .pc-pros {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  color: var(--c-primary-dark);
}

.product-card .pc-cons {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  color: #9a3412;
}

.product-card .pc-pros li,
.product-card .pc-cons li {
  margin-bottom: 6px;
}

.product-card .pc-cta {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--c-border-soft);
  padding-top: 16px;
}

.product-card .pc-price {
  font-size: 13px;
  color: var(--c-muted);
}

.btn-cta {
  display: inline-block;
  background: var(--c-primary);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 11px 22px;
  border-radius: var(--radius);
  border: 2px solid var(--c-primary);
  transition: all 0.25s ease;
}

.btn-cta:hover {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: #1f2937;
}

.post-entry details.faq-item {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: #fff;
  margin: 0 0 12px;
  padding: 14px 18px;
}

.post-entry details.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--c-ink);
  font-size: 15px;
}

.post-entry details.faq-item summary::marker {
  color: var(--c-primary);
}

.post-entry details.faq-item p {
  margin: 10px 0 0;
  font-size: 14.5px;
}

.post-box-title {
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid var(--c-primary);
  padding-bottom: 10px;
  margin: 40px 0 22px;
}

.post-related {
  margin-bottom: 40px;
}

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

.related-grid .item-related h3 {
  font-size: 14px;
  line-height: 1.45;
  margin: 10px 0 4px;
}

.related-grid .item-related h3 a {
  color: var(--c-ink);
}

.related-grid .item-related h3 a:hover {
  color: var(--c-primary);
}

.related-grid .item-related .date {
  font-size: 13px;
  color: var(--c-muted);
}

.tags-share-box {
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: 16px 0;
  margin: 34px 0;
  font-size: 13px;
  color: var(--c-muted);
}

.tags-share-box a {
  color: var(--c-primary);
}

.post-pagination {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 30px 0;
}

.post-pagination .prev,
.post-pagination .next {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 16px;
  font-size: 14px;
}

.post-pagination .next {
  text-align: right;
}

.post-pagination h5 {
  font-size: 14px;
  margin: 0 0 4px;
  text-transform: uppercase;
  color: var(--c-muted);
  letter-spacing: 0.6px;
}

.post-pagination a {
  color: var(--c-ink);
  font-weight: 700;
}

.post-pagination a:hover {
  color: var(--c-primary);
}

/* ============ Sidebar ============ */

.penci-sidebar-content .widget {
  margin-bottom: 38px;
}

.penci-sidebar-content .widget-title {
  position: relative;
  margin: 0 0 20px;
  border-bottom: 2px solid var(--c-primary);
}

.penci-sidebar-content .widget-title .inner-arrow {
  display: inline-block;
  background: var(--c-primary);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 8px 16px;
  border-radius: 3px 3px 0 0;
}

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

.widget ul li {
  border-bottom: 1px solid var(--c-border-soft);
}

.widget ul li:last-child {
  border-bottom: 0;
}

.widget ul li a {
  display: block;
  padding: 9px 0;
  color: var(--c-body);
  font-size: 14px;
}

.widget ul li a:hover {
  color: var(--c-primary);
}

.widget.widget_categories li {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.widget.widget_categories .category-item-count {
  font-size: 12px;
  color: var(--c-muted);
  background: var(--c-cream);
  border: 1px solid var(--c-border);
  border-radius: 20px;
  padding: 1px 9px;
}

.widget .side-newsfeed li {
  display: flex;
  gap: 14px;
  padding: 10px 0;
  align-items: flex-start;
}

.widget .side-newsfeed li .side-image {
  flex: 0 0 80px;
}

.widget .side-newsfeed li .side-image .penci-image-holder::before {
  padding-top: 100%;
}

.widget .side-newsfeed li h4 {
  font-size: 13.5px;
  line-height: 1.45;
  margin: 0 0 4px;
}

.widget .side-newsfeed li h4 a {
  padding: 0;
  color: var(--c-ink);
}

.widget .side-newsfeed li h4 a:hover {
  color: var(--c-primary);
}

.widget .side-newsfeed .side-item-meta {
  font-size: 12px;
  color: var(--c-muted);
}

.widget-affiliate-note {
  font-size: 13px;
  font-style: italic;
  color: var(--c-muted);
  background: var(--c-accent-soft);
  border-left: 3px solid var(--c-accent);
  padding: 12px 14px;
}

.widget-subscribe p {
  font-size: 14px;
  color: var(--c-muted);
  margin: 0 0 12px;
}

.widget-subscribe .rss-link {
  display: inline-block;
  background: var(--c-accent);
  color: #1f2937;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  padding: 9px 16px;
  border-radius: var(--radius);
}

.widget-subscribe .rss-link:hover {
  background: var(--c-accent-dark);
  color: #fff;
}

.widget-search .search-form {
  display: flex;
}

.widget-search .search-input {
  flex: 1;
  border: 1px solid var(--c-border);
  border-right: 0;
  border-radius: var(--radius) 0 0 var(--radius);
  padding: 10px 12px;
  font-family: var(--font-sans);
  font-size: 14px;
  background: #fff;
}

.widget-search .search-btn {
  border: 0;
  background: var(--c-primary);
  color: #fff;
  padding: 0 16px;
  border-radius: 0 var(--radius) var(--radius) 0;
  cursor: pointer;
  font-size: 15px;
}

.widget-about p {
  font-size: 14px;
  color: var(--c-muted);
  margin: 0;
}

/* ============ Static pages / contact ============ */

.page-content .post-entry {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 6px;
  padding: 30px 34px;
  margin-bottom: 40px;
}

.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 6px;
  padding: 28px 32px;
  margin-bottom: 40px;
}

.contact-form-wrap label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin: 0 0 6px;
  color: var(--c-ink);
}

.contact-form-wrap input,
.contact-form-wrap textarea {
  width: 100%;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 11px 13px;
  font-family: var(--font-sans);
  font-size: 15px;
  margin-bottom: 18px;
  background: var(--c-cream);
}

.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus {
  outline: 2px solid var(--c-primary);
  outline-offset: 1px;
  background: #fff;
}

/* ============ Search page ============ */

.search-page .search-form-big {
  display: flex;
  gap: 10px;
  margin-bottom: 26px;
}

.search-page .search-form-big input {
  flex: 1;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 13px 16px;
  font-size: 16px;
  font-family: var(--font-sans);
}

.search-results li {
  margin-bottom: 20px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 6px;
  padding: 18px 20px;
}

.search-results h3 {
  margin: 0 0 4px;
  font-size: 17px;
}

.search-results p {
  margin: 0;
  font-size: 14px;
  color: var(--c-muted);
}

.search-empty {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 6px;
  padding: 24px;
  color: var(--c-muted);
}

/* ============ Footer ============ */

.site-footer {
  background: var(--c-primary-deep);
  color: rgba(255, 255, 255, 0.82);
  padding: 34px 0 26px;
  margin-top: 50px;
  clear: both;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.85);
}

.site-footer a:hover {
  color: var(--c-accent);
}

.footer-menu {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 26px;
}

.footer-menu a {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.footer-email {
  text-align: center;
  font-size: 14px;
  margin: 0 0 10px;
}

.footer-copyright {
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.penci-go-to-top-floating {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  border: 0;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s ease;
  z-index: 9000;
}

.penci-go-to-top-floating.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.penci-go-to-top-floating:hover {
  background: var(--c-accent);
  color: #1f2937;
}

/* ============ 404 ============ */

.error-404 {
  text-align: center;
  padding: 70px 20px;
}

.error-404 h1 {
  font-size: 110px;
  color: var(--c-primary);
  margin: 0;
  line-height: 1;
}

.error-404 .go-back-home {
  margin-top: 22px;
}

.error-404 .go-back-home a {
  display: inline-block;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--c-primary);
  border-bottom: 2px solid var(--c-accent);
  padding-bottom: 3px;
}

/* ============ Responsive ============ */

@media (max-width: 1199px) {
  .container {
    width: 100%;
  }

  .penci-mag-featured-content.featured-large .feat-text h3 {
    font-size: 22px;
  }
}

@media (max-width: 960px) {
  .button-menu-mobile {
    display: block;
  }

  .nav-menu {
    display: none;
  }

  .site-header .header-slogan {
    display: none;
  }

  .container.penci_sidebar #main,
  .container.penci_sidebar .penci-sidebar-content {
    width: 100%;
    float: none;
    padding-right: 0;
  }

  .penci-sidebar-content {
    margin-top: 40px;
  }

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

@media (max-width: 767px) {
  .site-logo .logo-word {
    font-size: 32px;
  }

  .featured-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
  }

  .penci-mag-featured-content .feat-text {
    padding: 12px 14px 10px;
  }

  .penci-mag-featured-content.featured-large .feat-text {
    padding: 16px 18px;
  }

  .penci-mag-featured-content .feat-text h3 {
    font-size: 13px;
  }

  .penci-mag-featured-content.featured-large .feat-text h3 {
    font-size: 18px;
  }

  .home-featured-cat-content.style-1 {
    display: block;
    width: 100%;
    margin: 0;
  }

  .home-featured-cat-content .cat-left,
  .home-featured-cat-content .cat-right {
    width: 100%;
    float: none;
    padding: 0;
  }

  .home-featured-cat-content .cat-right {
    margin-top: 20px;
  }

  .penci-grid > li {
    width: 100%;
    margin-right: 0;
  }

  .header-standard h1,
  .header-standard .post-title {
    font-size: 24px;
  }

  .product-card {
    grid-template-columns: 1fr;
  }

  .product-card .pc-head {
    grid-column: 1;
    flex-direction: column;
    align-items: flex-start;
  }

  .product-card .pc-cta {
    grid-column: 1;
    flex-direction: column;
    align-items: flex-start;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .post-pagination {
    grid-template-columns: 1fr;
  }

  .post-pagination .next {
    text-align: left;
  }

  .page-content .post-entry,
  .contact-form-wrap {
    padding: 20px 18px;
  }

  .post-entry table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .mag-post-box .magcat-thumb img {
    width: 100px;
  }

  .penci-image-holder.small-fix-size {
    width: 100px;
  }

  .featured-mosaic {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .penci-mag-featured-content,
  .penci-mag-featured-content.featured-large {
    grid-column: span 1;
    min-height: 190px;
  }

  .header-row {
    gap: 14px;
  }

  .error-404 h1 {
    font-size: 72px;
  }
}
