/*
Theme Name: NC Custom Theme
Theme URI: https://example.com/nc-custom-theme
Author: Copilot
Author URI: https://example.com
Description: Lightweight WordPress theme converted from the NC Custom static HTML design.
Version: 1.0.0
Text Domain: nc-custom-theme
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
*/

@import url('https://fonts.cdnfonts.com/css/mona-sans');

:root {
  --nc-brand-navy: #0b192c;
  --nc-brand-black: #000000;
  --nc-brand-text: #0f172a;
  --nc-muted: #64748b;
  --nc-white: #ffffff;
  --nc-soft: #f8fafc;
  --nc-border: #e2e8f0;
  --nc-blue: #0284c7;
  --nc-gold: #f59e0b;
  --nc-font-primary: "Mona Sans", "Segoe UI", sans-serif;
  --nc-font-heading: "Mona Sans", "Segoe UI", sans-serif;
  --nc-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05), 0 2px 6px -1px rgba(0, 0, 0, 0.03);

  --primary-color: #2b6af2;
  --secondary-color: #64748b;
  --success-color: #22c55e;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --white-color: #ffffff;
  --black-color: #000000;
  --color-text: #222222;
  --color-text-light: #666666;
  --clr-blue: #0E97E7;
  --clr-light-gray: #dddddd;
  --clr-dark-gray: #888888;
  --color-gray-300: #CCCCCC;
  --color-gray-100: #F5F5F5;
  --color-gray-200: #EEEEEE;
  --gray-600: #717182;
  --gray-950: #0A0A0A;
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-dark: #0f172a;
  --choco-bg: #FFFAF8;
  --lanco-bg: #EFF4FF;
  --font-primary: 'Mona Sans';
  --font-secondary: 'Avenir-Next';
  --font-tertiary: 'StenzGraxonPro';
  --font-quaternary: 'Merriweather', serif;
  --font-xs: 12px;
  --font-sm: 14px;
  --font-md: 16px;
  --font-lg: 18px;
  --font-xl: 24px;
  --font-xxl: 32px;
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --letter-spacing-tight: -0.5px;
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.5px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: #0f172a;
  font-family: var(--nc-font-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h4, h5, h6 {
  font-family: var(--nc-font-heading);
}

h2, h3 {
  font-family: var(--font-tertiary), var(--nc-font-heading);
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

* {
  box-sizing: border-box;
}

.site-main {
  display: block;
}

.container,
.max-w-7xl,
.max-w-\[1400px\] {
  width: min(100%, 1400px);
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container,
  .max-w-7xl,
  .max-w-\[1400px\] {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container,
  .max-w-7xl,
  .max-w-\[1400px\] {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

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

.site-header-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #000000;
  color: #fff;
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.08);
  border-bottom-left-radius: 2.5rem;
  border-bottom-right-radius: 2.5rem;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

body.has-transparent-header .site-header-wrap {
  position: fixed;
  left: 0;
  right: 0;
  background: transparent;
  box-shadow: none;
}

body.has-transparent-header .site-header-wrap.is-scrolled {
  background: #000000;
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.08);
}

.site-header-inner {
  width: min(100%, 1400px);
  min-height: 96px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .site-header-inner {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.site-logo img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: contain;
  background: transparent;
}

.site-nav-wrap {
  display: none;
}

.site-nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}

.site-nav-menu li {
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
}

@media (min-width: 1280px) {
  .site-nav-wrap {
    display: block;
  }
}

@media (max-width: 1279px) {
  .site-nav-wrap.is-open {
    display: block;
    position: absolute;
    top: 100%;
    left: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.92);
    border-radius: 1rem;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.15);
    padding: 1rem;
    z-index: 100;
    max-height: calc(100vh - 8rem);
    overflow-y: auto;
  }

  .site-nav-wrap.is-open .site-nav-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .site-nav-wrap.is-open .sub-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    position: static;
    background: none;
    box-shadow: none;
    padding: 0.5rem 0 0 1rem;
    margin-top: 0.5rem;
  }
}

.site-nav-menu a {
  color: rgba(255,255,255,0.95);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.site-nav-menu a:hover,
.site-nav-menu a:focus-visible {
  color: #cbd5e1;
}

.site-nav-menu .menu-item-has-children > a::after {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -0.15rem;
}

@media (min-width: 1280px) {
  .site-nav-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.75rem;
    min-width: 13rem;
    background: #0f172a;
    border-radius: 0.75rem;
    padding: 0.5rem;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.25);
    z-index: 200;
  }

  .site-nav-menu .sub-menu li {
    width: 100%;
  }

  .site-nav-menu .sub-menu a {
    display: block;
    padding: 0.6rem 0.75rem;
    border-radius: 0.5rem;
    width: 100%;
  }

  .site-nav-menu .sub-menu a:hover,
  .site-nav-menu .sub-menu a:focus-visible {
    background: rgba(255, 255, 255, 0.08);
  }

  .site-nav-menu li.menu-item-has-children:hover > .sub-menu,
  .site-nav-menu li.menu-item-has-children:focus-within > .sub-menu {
    display: block;
  }
}

.site-header-search {
  flex: 0 1 22rem;
  min-width: 0;
  margin-left: auto;
}

.header-search-wrap {
  position: relative;
}

.header-search-wrap > svg {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: #64748b;
}

.search-icon-right {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
}

.header-search-wrap input {
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #1e293b;
  padding: 0.75rem 2.75rem 0.75rem 2.75rem;
  font-size: 0.875rem;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.04);
}

.header-search-wrap input::placeholder {
  color: #64748b;
}

.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  color: #fff;
  flex-shrink: 0;
}

@media (min-width: 1280px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.hero-section {
  position: relative;
  overflow: hidden;
  background: #020617;
  color: #fff;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 60% 45%, rgba(14, 116, 144, 0.45) 0%, rgba(3, 7, 18, 0.95) 75%);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  mix-blend-mode: screen;
  background-image: radial-gradient(circle at center top, #1e40af 0%, #030712 80%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 460px;
  max-width: 80rem;
  margin: 0 auto;
  padding: 5rem 1rem 2.5rem;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .hero-inner {
    flex-direction: row;
    padding-top: 6rem;
    padding-bottom: 4rem;
  }
}

.hero-copy {
  max-width: 36rem;
  z-index: 2;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #fff;
}

.hero-copy h1 span {
  color: #e2e8f0;
}

.hero-copy .subtitle {
  margin-top: 1rem;
  color: rgba(255,255,255,0.85);
  font-size: clamp(1.5rem, 2vw, 2.25rem);
  font-family: "Playfair Display", serif;
  font-style: italic;
}

.hero-visual {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1024px) {
  .hero-visual {
    width: 50%;
  }
}

.hero-stack {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1rem;
}

.hero-card {
  width: 4.5rem;
  background: linear-gradient(to top, #1f5c45, #16a34a);
  border-radius: 0.75rem;
  padding: 0.35rem;
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255,255,255,0.2);
  text-align: center;
  color: #fff;
  transform: translateY(0.5rem) rotate(-6deg);
}

.hero-card:nth-child(2) {
  transform: none;
  width: 5.5rem;
  background: linear-gradient(to top, #0c4a6e, #0ea5e9);
}

.hero-card:nth-child(3) {
  transform: none;
  width: 5.5rem;
  background: linear-gradient(to top, #b91c1c, #f43f5e);
}

.hero-card:nth-child(4) {
  transform: translateY(0.5rem) rotate(6deg);
  background: linear-gradient(to top, #0f766e, #06b6d4);
}

.hero-card .eyebrow {
  display: block;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-card .icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
}

.hero-card .badge {
  display: block;
  font-size: 0.45rem;
  background: rgba(255,255,255,0.18);
  border-radius: 0.25rem;
  padding: 0.15rem 0.25rem;
}

.trophy-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  padding: 0 0.5rem;
}

.trophy-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 7rem;
  height: 11rem;
  background: linear-gradient(to bottom, #fef3c7, #fbbf24, #d97706);
  border-radius: 999px;
  box-shadow: 0 0 50px rgba(245, 158, 11, 0.6);
  opacity: 0.95;
}

.trophy-pill i {
  color: rgba(69, 26, 3, 0.7);
  font-size: 4rem;
}

.hero-indicators {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-indicators span {
  display: inline-block;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
}

.hero-indicators span:last-child {
  background: rgba(255,255,255,0.35);
}

.section-shell {
  max-width: 80rem;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .section-shell {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .section-shell {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.section {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.section--light {
  background: #f8fafc;
}

.section--white {
  background: #fff;
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading h2 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(1.4rem, 1.5vw, 1.9rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.15;
}

.section-heading p {
  margin: 0.38rem 0 0;
  font-size: 0.7rem;
  color: #64748b;
  line-height: 1.6;
}

.featured-grid,
.case-grid,
.social-proof-grid,
.best-grid,
.banner-grid {
  display: grid;
  gap: 1.5rem;
}

.case-card,
.social-card,
.best-card {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.section-header-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-header-inline h2 {
  margin: 0;
  font-size: 1.5625vw;
  letter-spacing: 5%;
  text-transform: uppercase;
}

.section-header-inline p {
  margin: 0.25rem 0 0;
  font-size: 15px;
  color: #222222;
}

.section-header-inline a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 13px;
  font-weight: 700;
  color: #024B84;
  letter-spacing: 0.04em;
}

.section-header-inline a i {
  font-size: 0.65rem;
}

.case-card:hover img,
.social-card:hover img,
.promo-card:hover img,
.image-hover:hover img {
  transform: scale(1.05);
}

.sustainability-panel {
  position: relative;
  min-height: 24rem;
  border-radius: 1.5rem;
  overflow: hidden;
  background: #0f172a;
  color: #fff;
  display: flex;
  align-items: center;
}

.sustainability-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.sustainability-panel .inner {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  padding: 2rem 1.25rem;
  margin: 1rem;
  background: rgba(2,6,23,0.7);
  backdrop-filter: blur(0.5rem);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1rem;
}

.sustainability-panel h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
}

.sustainability-panel p {
  margin: 0 0 1.5rem;
  color: rgba(255,255,255,0.82);
  font-size: 0.8rem;
  line-height: 1.7;
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 999px;
  background: rgba(255,255,255,0.2);
  color: #fff;
  padding: 0.7rem 1.2rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cert-badge {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  display: none;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 0 30px rgba(0,0,0,0.12);
  color: #059669;
}

@media (min-width: 640px) {
  .cert-badge {
    display: flex;
  }
}

.best-grid,
.featured-grid,
.case-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 640px) {
  .best-grid,
  .featured-grid,
  .case-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .best-grid,
  .featured-grid,
  .case-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .case-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.case-card {
  display: flex;
  flex-direction: column;
}

.case-card .image-wrap {
  position: relative;
  height: 11rem;
  overflow: hidden;
  background: #e2e8f0;
}

.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.case-card .content {
  padding: 0.9rem 0.9rem 1rem;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
}

.case-card .meta {
  font-size: 0.7rem;
  color: #94a3b8;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.case-card h3 {
font-size: 15px;
  line-height: 1.5;
  font-weight: 700;
  color: #000000;
  letter-spacing: 0.75px;
  text-transform: uppercase;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-bottom: 5px;
}

.case-card-excerpt {
  font-size: 13px;
  color: #222222;
  line-height: normal;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px !important;
  min-height: 18px;
  font-weight: 400;
}

.case-card-label {
  color: #2563eb;
  font-weight: 700;
}

.case-card-date {
  float: right;
}

.press-row-excerpt {
  margin: 0.7rem 0 0;
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.7;
}

.hero-icon-gold {
  color: #fcd34d;
  font-size: 2rem;
}

.case-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
}

/* Press Releases: image left, text right */
.press-rows {
  display: flex;
  flex-direction: column;
}

.press-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.press-row:first-child {
  padding-top: 0;
}

.press-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

@media (max-width: 767px) {
  .press-row {
    flex-direction: column;
    align-items: stretch;
  }
}

.press-row-image {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: 16rem;
  border-radius: 1rem;
  overflow: hidden;
  background: #e2e8f0;
}

@media (max-width: 767px) {
  .press-row-image {
    width: 100%;
  }
}

.press-row-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}

.press-row:hover .press-row-image img {
  transform: scale(1.05);
}

.press-row-body {
  flex: 1;
  min-width: 0;
}

.press-row-body h3 {
  margin: 0.5rem 0 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
}

.press-row-body h3 a:hover {
  color: #2563eb;
}

.press-row-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2563eb;
}

/* Latest News: pulsing "New" badge on the most recent post */
.news-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: #ef4444;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  animation: nc-pulse 2s ease-in-out infinite;
}

@keyframes nc-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.55;
  }
}

@media (min-width: 1024px) {
  .case-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.promo-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .promo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.promo-card {
  position: relative;
  min-height: 18rem;
  border-radius: 1.5rem;
  overflow: hidden;
  display: block;
}

.promo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.promo-card .promo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.promo-card .promo-card-box {
  align-self: flex-start;
  background: rgba(255,255,255,0.95);
  border-radius: 1rem;
  padding: 1rem 1.2rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.promo-card .promo-card-box h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-weight: 900;
  line-height: 1;
  color: #0f172a;
  text-transform: uppercase;
}

.promo-card .promo-link-wrap {
  align-self: flex-end;
}

.social-proof-grid {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .social-proof-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.social-card {
  position: relative;
  min-height: 16rem;
  overflow: hidden;
}

.social-card.testimonial {
  min-height: auto;
  padding: 1.5rem;
}

.social-card.testimonial .stars {
  color: #fbbf24;
  font-size: 0.65rem;
  letter-spacing: 0.14rem;
  margin-bottom: 1rem;
}

.social-card.testimonial p {
  margin: 0;
  font-size: 0.7rem;
  color: #475569;
  line-height: 1.7;
  font-style: italic;
}

.social-card.testimonial .person {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

.social-card.testimonial .person p {
  margin: 0;
  font-style: normal;
  line-height: 1.5;
}

.social-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.social-card .badge-over {
  position: absolute;
  left: 1rem;
  top: 1rem;
  background: rgba(15, 23, 42, 0.6);
  color: #fff;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.55rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.social-card .bottom-content {
  position: absolute;
  inset: auto 1rem 1rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.social-card .bottom-content .text {
  color: #fff;
}

.social-card .bottom-content h4 {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.social-card .bottom-content p {
  margin: 0.2rem 0 0;
  color: rgba(255,255,255,0.78);
  font-size: 0.56rem;
  line-height: 1.3;
  max-width: 11rem;
}

.social-card .bottom-content .cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.95);
  color: #0f172a;
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-size: 0.55rem;
  font-weight: 800;
  white-space: nowrap;
}

.cert-strip {
  margin-top: 3rem;
  border-top: 1px solid #e2e8f0;
  padding-top: 2rem;
}

.cert-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 640px) {
  .cert-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .cert-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.cert-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.85rem;
  min-height: 3.5rem;
  padding: 0.5rem 0.7rem;
  color: #475569;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  box-shadow: 0 1px 2px rgba(15,23,42,0.04);
}

.cert-item i {
  font-size: 0.8rem;
}

.site-footer {
  margin-top: auto;
  background: #eef3f5;
  padding-top: 2rem;
  padding-bottom: 1rem;
  border-top: 1px solid #dfe9ee;
}

.site-footer-inner {
  width: min(100%, 1480px);
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 1024px) {
  .site-footer-inner {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

.footer-copy {
  color: #475569;
  font-size: 0.78rem;
  line-height: 1.6;
  margin: 0;
}

.footer-bottom {
 /* border-top: 1px solid #dfe7ea;
  margin-top: 2.5rem;
  padding-top: 1.25rem;*/
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-social-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0f172a;
}

.footer-social-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-social-list a {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: #dfe7ec;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.footer-social-list a:hover,
.footer-social-list a:focus-visible {
  background: #0f172a;
  color: #fff;
}

.powered-by {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.68rem;
  color: #64748b;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.powered-by-logo {
  height: 12px;
  width: auto;
  display: block;
}

.powered-by-sep {
  color: #cbd5e1;
}

.content-page {
  padding: 4rem 0;
}

.single-featured-image {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.single-featured-image img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: var(--nc-shadow);
}

.page-header {
  margin-bottom: 2rem;
}

.page-header h1,
.entry-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  color: #0f172a;
}

.post-meta {
  color: #64748b;
  font-size: 0.8rem;
  margin-top: 0.75rem;
}

.entry-content p,
.entry-content li,
.entry-content blockquote {
  font-size: 1rem;
  line-height: 1.8;
  color: #334155;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: #0f172a;
}

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #0284c7, #f59e0b);
  z-index: 999;
}

.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 0;
  background: #0f172a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.25);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.5rem);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 200;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: #1e293b;
}

.related-posts {
  margin-top: 3rem;
}

.related-posts-title {
  margin: 0 0 1.5rem;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0f172a;
}

.error-page {
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
}

.error-box {
  max-width: 40rem;
  background: #fff;
  border: 1px solid rgba(148,163,184,0.3);
  border-radius: 1rem;
  box-shadow: var(--nc-shadow);
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.error-box h1 {
  margin: 0 0 1rem;
  font-size: clamp(3rem, 12vw, 6rem);
  color: #0f172a;
}

.error-box p {
  margin: 0 0 1.5rem;
  color: #475569;
  line-height: 1.7;
}

.page-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.page-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.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;
}

.navigation.pagination {
  margin: 2.5rem 0 0;
}

.navigation.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: #0f172a;
  color: #fff;
}

.pagination .page-numbers.dots {
  background: none;
}

.wp-block-image img,
.alignwide,
.alignfull {
  max-width: 100%;
  height: auto;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
