:root {
  --pp-primary: #15a1e1;
  --pp-secondary: #2383c5;
  --pp-tertiary: #0cb6f4;
  --pp-quaternary: #0f172a;
  --pp-accent: #f8db1f;
  --pp-bg: #f8fafc;
  --pp-color-1: #ebf8fe;
  --pp-surface: #ffffff;
  --pp-text: #111111;
  --pp-muted: #51607d;
  --pp-border: #dbe4f0;
  --pp-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  --pp-radius: 14px;
  --pp-container-width: 1700px;
  --pp-container-gutter: 1.5rem;
}

* {
  box-sizing: border-box;
}

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

body {
  color: var(--pp-text);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

body.dsi-pp-bg-1 {
  background: linear-gradient(
    180deg,
    var(--pp-surface) 0%,
    var(--pp-color-1) 50%,
    var(--pp-surface) 100%
  );
}
body.dsi-pp-bg-2 {
  background: var(--pp-surface);
}

a {
  color: var(--pp-primary);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--pp-text);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  line-height: 1.2;
}

.container {
  width: min(
    var(--pp-container-width),
    calc(100% - var(--pp-container-gutter))
  );
  margin-inline: auto;
}

.dsi-pp-container {
  width: min(
    var(--pp-container-width),
    calc(100% - var(--pp-container-gutter))
  ) !important;
  margin-inline: auto !important;
}

.py-5 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.top-header {
  background: var(--pp-surface);
  color: var(--pp-muted);
  font-size: 0.95rem;
  padding-top: 0.5rem;
}

.top-header__inner {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.top-header__inner .top-header__left,
.top-header__inner .top-header__right,
.top-header__right .top-header__item {
  display: inline-flex;
  gap: 0.8rem;
}

.top-header__right .top-header__item a {
  color: var(--pp-muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header--style-1 .site-header__inner {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr) minmax(0, auto);
  align-items: center;
  gap: 1rem;
}

.site-header--style-1 .site-branding {
  grid-column: 1;
}

.site-header--style-1 .main-navigation {
  grid-column: 2;
  justify-content: center;
}

.site-header--style-1 .header-tools {
  grid-column: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-self: end;
}

.site-header--style-1 .menu-toggle {
  flex-shrink: 0;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.main-navigation ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.85rem;
  padding: 0;
  margin: 0;
}

.main-navigation a {
  color: var(--pp-text);
  font-size: 1.2rem;
  font-weight: 500;
}

.main-navigation a:hover {
  color: var(--pp-primary);
  text-decoration: none;
}

.header-actions {
  display: inline-flex;
  gap: 0.6rem;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: var(--pp-primary);
  border: 1px solid var(--pp-primary);
  color: #fff;
  border-radius: 999px;
  padding: 0.44rem 1.75rem;
  font-weight: 500;
  line-height: 25px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.button:hover,
.button:focus {
  text-decoration: none;
  transform: translateY(-2px);
}

.button--ghost {
  background: var(--pp-surface);
  border: 1px solid var(--pp-primary);
  color: var(--pp-text);
}
.button--accent {
  background: var(--pp-accent);
  border: 1px solid var(--pp-accent);
  color: var(--pp-text);
}
.hero-section {
  padding: 5rem 0 4rem;
}

.hero-section__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--pp-primary);
}

.hero-section h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 0;
}

.hero-section p {
  color: var(--pp-muted);
  max-width: 58ch;
}

.hero-section__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.hero-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.hero-card {
  border-radius: var(--pp-radius);
  border: 1px solid var(--pp-border);
  background: linear-gradient(145deg, var(--pp-surface) 0%, var(--pp-bg) 100%);
  box-shadow: var(--pp-shadow);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 700;
  padding: 2.1rem 1rem;
  text-align: center;
}

.feature-section {
  padding: 0 0 4rem;
}

.feature-section__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-card,
.post-card,
.page-card,
.archive-card,
.search-card,
.no-results {
  background: var(--pp-surface);
  border: 1px solid var(--pp-border);
  border-radius: var(--pp-radius);
  box-shadow: var(--pp-shadow);
  padding: 1.2rem;
}

.archive-grid {
  margin: 1.5rem 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.content-area {
  padding: 2.5rem 0;
}

/* .printpress-elementor-front {
  max-width: 1180px;
  margin-inline: auto;
} */

.entry-meta {
  display: flex;
  gap: 0.75rem;
  color: var(--pp-muted);
  font-size: 0.92rem;
}

.cta-section {
  padding: 2rem 0;
}

.cta-section__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  background: linear-gradient(
    145deg,
    var(--pp-secondary) 0%,
    var(--pp-tertiary) 67%
  );
  padding: 2.5rem 3.8rem;
  border-radius: 22px;
  width: 85%;
  margin: 0 auto;
}

.cta-section__text,
.cta-section__title {
  color: #fff;
}

.site-footer {
  margin-top: 3rem;
  color: var(--pp-text);
}

body.dsi-pp-bg-2 .site-footer {
  background: linear-gradient(
    180deg,
    var(--pp-surface) 0%,
    var(--pp-color-1) 50%,
    var(--pp-surface) 100%
  );
}

.site-footer a {
  color: var(--pp-text);
}

.site-footer__inner {
  display: grid;
  gap: 1rem;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  padding: 2.4rem 0;
}

.site-footer__branding {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.site-footer__branding .custom-logo-link {
  display: inline-flex;
}

.site-footer__branding .custom-logo {
  display: block;
  max-width: 220px;
  height: auto;
}

.site-footer__title {
  margin: 0;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}

.site-footer__text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--pp-muted);
  max-width: 340px;
  margin-bottom: 2rem;
}

.site-footer__social-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Social Icons */
.site-footer__social {
  display: flex;
  gap: 0.75rem;
}

.site-footer__social a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--pp-text);
  text-decoration: none;
  transition: all 0.3s ease;
}

.site-footer__social a:hover {
  background: var(--pp-text);
  color: var(--pp-bg);
}

/* Columns */
.site-footer__column h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

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

.site-footer__column li {
  margin-bottom: 0.85rem;
}

.site-footer__column a {
  text-decoration: none;
  color: var(--pp-muted);
  font-size: 1rem;
  transition: color 0.3s ease;
}

.site-footer__column a:hover {
  color: var(--pp-text);
}

.site-footer__meta {
  background: linear-gradient(
    145deg,
    var(--pp-secondary) 0%,
    var(--pp-tertiary) 67%
  );
  padding: 0.55rem 0;
  font-size: 0.875rem;
  text-align: center;
  color: var(--pp-surface) !important;
}

.site-footer__meta a {
  color: var(--pp-surface) !important;
}

.site-header--style-2 {
  position: static;
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
}

.header-utility {
  background: var(--pp-secondary);
  color: var(--pp-tertiary);
  font-size: 0.85rem;
}

.header-utility a {
  color: var(--pp-surface);
}

.header-utility__inner {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-utility__inner p {
  margin: 0;
}

.site-header--style-2 .site-header__inner {
  margin-top: 0.9rem;
  border: 1px solid var(--pp-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  padding-inline: 1rem;
}

.site-header--style-3 {
  position: static;
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
  padding-top: 1rem;
}

.header-center-branding {
  display: flex;
  justify-content: center;
  padding: 0.8rem 0;
}

.main-navigation--centered {
  justify-content: center;
  border-top: 1px solid var(--pp-border);
  padding: 0.9rem 0;
}

.main-navigation--centered ul {
  flex: 1;
  justify-content: center;
}

.site-footer--style-2 {
  background: var(--pp-quaternary);
}

.footer-style-2__top {
  padding: 2rem 0 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-style-2__middle {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1rem;
  padding: 1rem 0 2.2rem;
}

.footer-style-2__middle h3 {
  color: #fff;
}

.footer-style-2__middle p {
  margin: 0;
}

.site-footer--style-3 {
  background: linear-gradient(
    140deg,
    var(--pp-quaternary) 0%,
    var(--pp-quinary) 52%,
    var(--pp-senary) 100%
  );
}

.footer-style-3__cta {
  text-align: center;
  padding: 2.8rem 0 2rem;
}

.footer-style-3__cta h2 {
  color: var(--pp-surface);
  margin: 0;
}

.footer-style-3__cta p {
  margin: 0.8rem auto 1.2rem;
  color: var(--pp-tertiary);
  max-width: 70ch;
}

.footer-style-3__cta .hero-section__actions {
  justify-content: center;
}

.footer-style-3__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.footer-style-3__bottom ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.8rem;
}

.footer-style-3__bottom p {
  margin: 0;
  color: var(--pp-tertiary);
}

.pp-account-login-grid,
.pp-account-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.pp-account-card {
  background: #fff;
  border: 1px solid var(--pp-border);
  border-radius: var(--pp-radius);
  box-shadow: var(--pp-shadow);
  padding: 1.2rem;
}

.pp-account-dashboard__header {
  margin-bottom: 1rem;
}

.pp-account-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}

.pp-account-table th,
.pp-account-table td {
  border-bottom: 1px solid var(--pp-border);
  text-align: left;
  padding: 0.6rem 0.4rem;
}

.pp-status-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--pp-border);
  border-radius: 999px;
  padding: 0.22rem 0.68rem;
  background: var(--pp-quaternary);
  color: var(--pp-surface);
  font-size: 0.82rem;
  font-weight: 700;
}

.pp-register-form label,
.pp-account-login-grid label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.pp-register-form input,
.pp-account-login-grid input {
  width: 100%;
  border: 1px solid var(--pp-border);
  border-radius: 10px;
  min-height: 42px;
  padding: 0.5rem 0.7rem;
}

.pp-account-login-grid .login-submit {
  margin-top: 0.5rem;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: var(--pp-secondary);
}

.screen-reader-text {
  position: absolute;
  left: -9999px;
}

@media (max-width: 992px) {
  .hero-section__inner,
  .feature-section__grid,
  .site-footer__inner,
  .archive-grid {
    grid-template-columns: 1fr;
  }

  .site-header--style-1 .site-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
  }

  .site-header--style-1 .site-branding {
    grid-column: 1;
    grid-row: 1;
  }

  .site-header--style-1 .header-tools {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .site-header--style-1 .main-navigation {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    justify-content: flex-start;
  }

  .site-header--style-1 .header-actions {
    flex-direction: row;
    width: auto;
    align-items: center;
  }

  .menu-toggle {
    display: block;
  }

  .main-navigation {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--pp-border);
    box-shadow: var(--pp-shadow);
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
    transform: translateY(-130%);
    transition: transform 0.2s ease;
    z-index: 120;
  }

  .main-navigation ul {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .header-actions {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header--style-2 .main-navigation {
    top: 124px;
  }

  .site-header--style-3 .main-navigation {
    top: 140px;
  }

  .site-header--style-2 .site-header__inner {
    border-radius: 14px;
  }

  .footer-style-2__top,
  .footer-style-2__middle,
  .footer-style-3__bottom,
  .pp-account-login-grid,
  .pp-account-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .footer-style-3__bottom {
    display: grid;
  }

  .footer-style-3__bottom ul {
    flex-wrap: wrap;
  }

  .main-navigation.is-open {
    transform: translateY(0);
  }
}

/* Keep plugin pages full width and avoid conflicting spacing. */
.dsi-view .site-main {
  padding-top: 0;
}

.elementor-counter-number-suffix .counter-sign {
    color: #11A9E8;
}