/**
 * Jetpack related posts
 */

/**
 * The Gutenberg block
 */

.jp-related-posts-i2 {
	margin-top: 1.5rem;
}

.jp-related-posts-i2__list {
	--hgap: 1rem;

	display: flex;
	flex-wrap: wrap;
	column-gap: var(--hgap);
	row-gap: 2rem;

	margin: 0;
	padding: 0;

	list-style-type: none;
}

.jp-related-posts-i2__post {
	display: flex;
	flex-direction: column;

	/* Default: 2 items by row */
	flex-basis: calc(( 100% - var(--hgap) ) / 2);
}

/* Quantity qeuries: see https://alistapart.com/article/quantity-queries-for-css/ */
.jp-related-posts-i2__post:nth-last-child(n+3):first-child,
.jp-related-posts-i2__post:nth-last-child(n+3):first-child ~ * {

	/* From 3 total items on, 3 items by row */
	flex-basis: calc(( 100% - var(--hgap) * 2 ) / 3);
}

.jp-related-posts-i2__post:nth-last-child(4):first-child,
.jp-related-posts-i2__post:nth-last-child(4):first-child ~ * {

	/* Exception for 4 total items: 2 items by row */
	flex-basis: calc(( 100% - var(--hgap) ) / 2);
}

.jp-related-posts-i2__post-link {
	display: flex;
	flex-direction: column;
	row-gap: 0.5rem;

	width: 100%;
	margin-bottom: 1rem;

	line-height: 1.2;
}

.jp-related-posts-i2__post-link:focus-visible {
	outline-offset: 2px;
}

.jp-related-posts-i2__post-img {
	order: -1;

	max-width: 100%;
}

.jp-related-posts-i2__post-defs {
	margin: 0;

	list-style-type: unset;
}

/* Hide, except from screen readers */
.jp-related-posts-i2__post-defs dt {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.jp-related-posts-i2__post-defs dd {
	margin: 0;
}

/* List view */

.jp-relatedposts-i2[data-layout="list"] .jp-related-posts-i2__list {
	display: block;
}

.jp-relatedposts-i2[data-layout="list"] .jp-related-posts-i2__post {
	margin-bottom: 2rem;
}

/* Breakpoints */

@media only screen and (max-width: 640px) {

	.jp-related-posts-i2__list {
		display: block;
	}

	.jp-related-posts-i2__post {
		margin-bottom: 2rem;
	}
}

/* Container */

#jp-relatedposts {
	display: none;
	padding-top: 1em;
	margin: 1em 0;
	position: relative;
	clear: both;
}

.jp-relatedposts::after {
	content: "";
	display: block;
	clear: both;
}

/* Headline above related posts section, labeled "Related" */

#jp-relatedposts h3.jp-relatedposts-headline {
	margin: 0 0 1em 0;
	display: inline-block;
	float: left;
	font-size: 9pt;
	font-weight: 700;
	font-family: inherit;
}

#jp-relatedposts h3.jp-relatedposts-headline em::before {
	content: "";
	display: block;
	width: 100%;
	min-width: 30px;
	border-top: 1px solid rgba(0, 0, 0, 0.2);
	margin-bottom: 1em;
}

#jp-relatedposts h3.jp-relatedposts-headline em {
	font-style: normal;
	font-weight: 700;
}

/* Related posts items (wrapping items) */

#jp-relatedposts .jp-relatedposts-items {
	clear: left;
}

#jp-relatedposts .jp-relatedposts-items-visual {
	margin-right: -20px;
}

/* Related posts item */

#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post {
	float: left;
	width: 33%;
	margin: 0 0 1em; /* Needs to be same as the main outer wrapper for Related Posts */
	box-sizing: border-box;
}

#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post {
	padding-right: 20px;
	filter: alpha(opacity=80);
	-moz-opacity: 0.8;
	opacity: 0.8;
}

#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:nth-child(3n+4),
#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post:nth-child(3n+4) {
	clear: both;
}

#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:hover .jp-relatedposts-post-title a {
	text-decoration: underline;
}

#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:hover {
	filter: alpha(opacity=100);
	-moz-opacity: 1;
	opacity: 1;
}

/* Related posts item content */

#jp-relatedposts .jp-relatedposts-items-visual h4.jp-relatedposts-post-title,
#jp-relatedposts .jp-relatedposts-items p,
#jp-relatedposts .jp-relatedposts-items time {
	font-size: 14px;
	line-height: 20px;
	margin: 0;
}

#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post-nothumbs {
	position: relative;
}

#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post-nothumbs a.jp-relatedposts-post-aoverlay {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	display: block;
	border-bottom: 0;
}

#jp-relatedposts .jp-relatedposts-items p,
#jp-relatedposts .jp-relatedposts-items time {
	margin-bottom: 0;
}

#jp-relatedposts .jp-relatedposts-items-visual h4.jp-relatedposts-post-title {
	text-transform: none;
	margin: 0;
	font-family: inherit;
	display: block;
	max-width: 100%;
}

#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a {
	font-size: inherit;
	font-weight: 400;
	text-decoration: none;
	filter: alpha(opacity=100);
	-moz-opacity: 1;
	opacity: 1;
}

#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a:hover {
	text-decoration: underline;
}

#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post img.jp-relatedposts-post-img,
#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post span {
	display: block;
	max-width: 90%;
	overflow: hidden;
	text-overflow: ellipsis;
}

#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post img.jp-relatedposts-post-img,
#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post span {
	height: auto;
	max-width: 100%;
}

#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-date,
#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-context {
	opacity: 0.6;
}

/* Hide the date by default, but leave the element there if
 * a theme wants to use css to make it visible. */
.jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-date {
	display: none;
}

/* Behavior when there are thumbnails in visual mode */
#jp-relatedposts .jp-relatedposts-items-visual div.jp-relatedposts-post-thumbs p.jp-relatedposts-post-excerpt {
	display: none;
}

/* Behavior when there are no thumbnails in visual mode */
#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post-nothumbs p.jp-relatedposts-post-excerpt {
	overflow: hidden;
}

#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post-nothumbs span {
	margin-bottom: 1em;
}

/* List Layout */
#jp-relatedposts .jp-relatedposts-list .jp-relatedposts-post {
	clear: both;
	width: 100%;
}

#jp-relatedposts .jp-relatedposts-list .jp-relatedposts-post img.jp-relatedposts-post-img {
	float: left;
	overflow: hidden;
	max-width: 33%;
	margin-right: 3%;
}

#jp-relatedposts .jp-relatedposts-list h4.jp-relatedposts-post-title {
	display: inline-block;
	max-width: 63%;
}

/*
 * Responsive
 */

@media only screen and (max-width: 640px) {

	#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post {
		width: 50%;
	}

	#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:nth-child(3n) {
		clear: left;
	}

	#jp-relatedposts .jp-relatedposts-items-visual {
		margin-right: 20px;
	}
}

@media only screen and (max-width: 320px) {

	#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post {
		width: 100%;
		clear: both;
		margin: 0 0 1em;
	}

	#jp-relatedposts .jp-relatedposts-list .jp-relatedposts-post img.jp-relatedposts-post-img,
	#jp-relatedposts .jp-relatedposts-list h4.jp-relatedposts-post-title {
		float: none;
		max-width: 100%;
		margin-right: 0;
	}
}

/*
 * Hide the related post section in the print view of a post
 */

@media print {

	.jp-relatedposts {
		display: none !important;
	}
}
/* =========================================================
   PSS – ITKB/Firebase-aligned Dark Dashboard Theme
   ======================================================= */

/* Global safety */
*, *::before, *::after {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
svg,
canvas,
video {
  max-width: 100%;
  height: auto;
}

/* =========================================================
   Theme Tokens
   Matches ITKB/Firebase app-shell style
   ======================================================= */
:root {
  --pss-bg-page: #020617;
  --pss-bg-primary: rgba(15, 23, 42, 0.94);
  --pss-bg-secondary: rgba(15, 23, 42, 0.72);
  --pss-bg-card: rgba(30, 41, 59, 0.72);
  --pss-bg-elevated: rgba(51, 65, 85, 0.82);
  --pss-bg-input: rgba(2, 6, 23, 0.55);

  --pss-border: rgba(148, 163, 184, 0.16);
  --pss-border-light: rgba(148, 163, 184, 0.28);
  --pss-border-focus: rgba(96, 165, 250, 0.72);

  --pss-text-primary: #f8fafc;
  --pss-text-secondary: #cbd5e1;
  --pss-text-muted: #94a3b8;

  --pss-accent: #60a5fa;
  --pss-accent-strong: #3b82f6;
  --pss-accent-hover: #93c5fd;
  --pss-accent-subtle: rgba(59, 130, 246, 0.16);
  --pss-accent-panel: rgba(37, 99, 235, 0.18);

  --pss-success: #4ade80;
  --pss-success-bg: rgba(34, 197, 94, 0.12);
  --pss-success-border: rgba(34, 197, 94, 0.34);

  --pss-warning: #facc15;
  --pss-warning-bg: rgba(250, 204, 21, 0.12);
  --pss-warning-border: rgba(250, 204, 21, 0.34);

  --pss-danger: #fb7185;
  --pss-danger-bg: rgba(244, 63, 94, 0.13);
  --pss-danger-border: rgba(244, 63, 94, 0.36);

  --pss-radius-sm: 8px;
  --pss-radius-md: 12px;
  --pss-radius-lg: 16px;
  --pss-radius-xl: 22px;

  --pss-shadow-sm: 0 8px 22px rgba(0, 0, 0, 0.18);
  --pss-shadow-md: 0 16px 40px rgba(0, 0, 0, 0.24);
  --pss-shadow-lg: 0 24px 70px rgba(0, 0, 0, 0.34);
}

/* =========================================================
   Base Container
   ======================================================= */
.pss-app-container {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  color: var(--pss-text-primary);
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.92));
  border: 1px solid var(--pss-border);
  border-radius: var(--pss-radius-xl);
  width: min(100%, 960px);
  margin: 18px auto;
  padding: 22px;
  box-shadow: var(--pss-shadow-lg);
  backdrop-filter: blur(14px);
}

.itkb-private-scan-card .pss-app-container,
.pss-private-scanner.pss-app-container {
  width: 100%;
  margin: 1.25rem 0 0;
  box-shadow: none;
  background: rgba(15, 23, 42, 0.52);
}

.pss-app-container p,
.pss-app-container li {
  line-height: 1.55;
}

.pss-app-container a {
  color: var(--pss-accent);
  text-decoration: none;
}

.pss-app-container a:hover {
  color: var(--pss-accent-hover);
  text-decoration: underline;
}

/* =========================================================
   Input Group & Form Elements
   ======================================================= */
.pss-label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin: 0 0 0.65rem;
  color: var(--pss-text-primary);
}

.pss-input-group {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.85rem;
  align-items: end;
  margin: 0 0 1.25rem;
}

.pss-url-wrap {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
  width: 100%;
}

.pss-input-field {
  flex: 1;
  width: 100%;
  min-height: 52px;
  padding: 0 1rem;
  font-size: 16px;
  border-radius: var(--pss-radius-lg);
  border: 1px solid var(--pss-border);
  background: var(--pss-bg-input);
  color: var(--pss-text-primary);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.pss-input-field::placeholder {
  color: var(--pss-text-muted);
}

.pss-input-field:hover {
  border-color: var(--pss-border-light);
}

.pss-input-field:focus {
  border-color: var(--pss-border-focus);
  box-shadow: 0 0 0 4px var(--pss-accent-subtle);
  outline: none;
  background: rgba(2, 6, 23, 0.72);
}

/* =========================================================
   Buttons
   ======================================================= */
.pss-button {
  border: 1px solid var(--pss-border);
  background: rgba(30, 41, 59, 0.84);
  color: var(--pss-text-primary);
  font-weight: 700;
  padding: 0.78rem 1.1rem;
  border-radius: var(--pss-radius-lg);
  cursor: pointer;
  font-size: 0.95rem;
  min-height: 46px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.pss-button:hover {
  background: rgba(51, 65, 85, 0.94);
  border-color: rgba(96, 165, 250, 0.44);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--pss-shadow-sm);
  text-decoration: none;
}

.pss-button:active {
  transform: translateY(0);
}

.pss-button:focus-visible {
  outline: 3px solid var(--pss-accent-subtle);
  outline-offset: 2px;
}

.pss-button-scan {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.96), rgba(29, 78, 216, 0.96));
  border-color: rgba(96, 165, 250, 0.5);
  color: #fff;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.22);
}

.pss-button-scan:hover {
  background: linear-gradient(180deg, rgba(59, 130, 246, 1), rgba(37, 99, 235, 1));
  border-color: rgba(147, 197, 253, 0.72);
  color: #fff;
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.3);
}

.pss-button-scan:disabled,
.pss-button:disabled {
  background: rgba(30, 41, 59, 0.55);
  border-color: var(--pss-border);
  color: var(--pss-text-muted);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.pss-button-secondary {
  background: transparent;
}

/* QR button */
.pss-button-qr {
  width: 52px;
  padding: 0;
  flex: 0 0 52px;
}

/* =========================================================
   Messages
   ======================================================= */
.pss-messages-area {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--pss-radius-lg);
  display: none;
  font-size: 0.92rem;
  border: 1px solid var(--pss-border);
  background: rgba(15, 23, 42, 0.72);
}

.pss-messages-area p {
  margin: 0;
}

.pss-messages-error {
  background: var(--pss-danger-bg);
  color: #fecdd3;
  border: 1px solid var(--pss-danger-border);
  display: block;
}

.pss-messages-success {
  background: var(--pss-success-bg);
  color: #bbf7d0;
  border: 1px solid var(--pss-success-border);
  display: block;
}

/* =========================================================
   Tabs Navigation
   ======================================================= */
.pss-tabs-nav {
  display: flex;
  gap: 0.55rem;
  margin: 0.35rem 0 0;
  flex-wrap: wrap;
  justify-content: flex-start;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  padding: 0.15rem 0.1rem 0.35rem;
}

.pss-tabs-nav::-webkit-scrollbar {
  height: 4px;
}

.pss-tabs-nav::-webkit-scrollbar-track {
  background: transparent;
}

.pss-tabs-nav::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.28);
  border-radius: 999px;
}

.pss-tab {
  scroll-snap-align: start;
  background: rgba(15, 23, 42, 0.72);
  color: var(--pss-text-secondary);
  border: 1px solid var(--pss-border);
  padding: 0.68rem 0.95rem;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 999px;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
  min-height: 42px;
}

.pss-tab:hover {
  background: rgba(30, 41, 59, 0.92);
  color: #fff;
  border-color: rgba(96, 165, 250, 0.38);
  transform: translateY(-1px);
}

.pss-tab.pss-tab-active {
  background: var(--pss-accent-panel);
  color: #fff;
  font-weight: 800;
  border-color: rgba(96, 165, 250, 0.56);
}

.pss-tab:focus-visible {
  outline: 3px solid var(--pss-accent-subtle);
  outline-offset: 2px;
}

/* Tab Content */
.pss-tab-content {
  background: rgba(15, 23, 42, 0.66);
  color: var(--pss-text-primary);
  padding: 1.15rem;
  border: 1px solid var(--pss-border);
  border-radius: var(--pss-radius-xl);
  margin-top: 0.75rem;
  max-width: 100%;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.pss-tab-panel {
  display: none;
}

.pss-tab-panel.pss-tab-panel-active {
  display: block;
  animation: pssFadeIn 0.18s ease;
}

@keyframes pssFadeIn {
  from { opacity: 0; transform: translateY(2px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   Risk Badge
   ======================================================= */
.pss-risk-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.15rem 2.25rem;
  border-radius: var(--pss-radius-xl);
  margin-bottom: 1.35rem;
  text-align: center;
  min-width: 160px;
  position: relative;
}

.pss-risk-high {
  background: linear-gradient(145deg, rgba(127, 29, 29, 0.94), rgba(153, 27, 27, 0.96));
  border: 1px solid rgba(248, 113, 113, 0.6);
  box-shadow: 0 18px 42px rgba(220, 38, 38, 0.24), inset 0 1px 0 rgba(255,255,255,0.1);
}

.pss-risk-medium {
  background: linear-gradient(145deg, rgba(120, 53, 15, 0.94), rgba(146, 64, 14, 0.96));
  border: 1px solid rgba(251, 191, 36, 0.58);
  box-shadow: 0 18px 42px rgba(217, 119, 6, 0.24), inset 0 1px 0 rgba(255,255,255,0.1);
}

.pss-risk-low {
  background: linear-gradient(145deg, rgba(20, 83, 45, 0.94), rgba(22, 101, 52, 0.96));
  border: 1px solid rgba(74, 222, 128, 0.52);
  box-shadow: 0 18px 42px rgba(22, 163, 74, 0.2), inset 0 1px 0 rgba(255,255,255,0.1);
}

.pss-risk-score {
  font-size: 2.65rem;
  font-weight: 900;
  line-height: 1;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.35);
}

.pss-risk-label {
  font-size: 0.9rem;
  font-weight: 800;
  margin-top: 0.5rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pss-risk-severity {
  font-size: 0.75rem;
  margin-top: 0.25rem;
  color: rgba(255,255,255,0.75);
  text-transform: capitalize;
}

/* =========================================================
   Section Headers
   ======================================================= */
.pss-section-title,
.pss-analysis-section-header {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--pss-text-primary);
  margin: 1.45rem 0 0.85rem;
  padding: 0 0 0.5rem;
  border-bottom: 1px solid var(--pss-border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pss-section-title:first-child,
.pss-analysis-section-header:first-child {
  margin-top: 0;
}

/* =========================================================
   Tables
   ======================================================= */
.pss-analysis-table,
.pss-kv {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.88rem;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid var(--pss-border);
  border-radius: var(--pss-radius-lg);
  overflow: hidden;
}

.pss-analysis-table th,
.pss-analysis-table td,
.pss-kv th,
.pss-kv td {
  text-align: left;
  padding: 0.72rem 0.85rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  vertical-align: top;
  word-break: break-word;
}

.pss-analysis-table th,
.pss-kv thead th {
  background: rgba(30, 41, 59, 0.78);
  color: var(--pss-text-primary);
  font-weight: 800;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.055em;
}

.pss-analysis-table td:first-child,
.pss-kv td:first-child {
  font-weight: 700;
  width: 32%;
  color: var(--pss-text-secondary);
}

.pss-analysis-table tr:last-child td,
.pss-kv tr:last-child td {
  border-bottom: none;
}

.pss-analysis-table a,
.pss-kv a {
  color: var(--pss-accent);
}

.pss-analysis-table a:hover,
.pss-kv a:hover {
  color: var(--pss-accent-hover);
}

.na-value {
  color: var(--pss-text-muted);
  font-style: italic;
}

/* =========================================================
   Issues Groups
   ======================================================= */
.pss-issues-group {
  margin-bottom: 1rem;
  border-radius: var(--pss-radius-lg);
  overflow: hidden;
}

.pss-issues-high {
  background: rgba(127, 29, 29, 0.32);
  border: 1px solid rgba(248, 113, 113, 0.28);
}

.pss-issues-medium {
  background: rgba(120, 53, 15, 0.32);
  border: 1px solid rgba(251, 191, 36, 0.28);
}

.pss-issues-low {
  background: rgba(20, 83, 45, 0.32);
  border: 1px solid rgba(74, 222, 128, 0.26);
}

.pss-issues-header {
  font-size: 0.88rem;
  font-weight: 800;
  padding: 0.75rem 1rem;
  margin: 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.pss-issues-high .pss-issues-header {
  color: #fecdd3;
  background: rgba(244, 63, 94, 0.1);
}

.pss-issues-medium .pss-issues-header {
  color: #fde68a;
  background: rgba(250, 204, 21, 0.1);
}

.pss-issues-low .pss-issues-header {
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.1);
}

.pss-issues-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pss-issue-item {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.055);
}

.pss-issue-item:last-child {
  border-bottom: none;
}

.pss-issue-code {
  font-family: "SF Mono", Monaco, Consolas, monospace;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--pss-text-primary);
  display: block;
  margin-bottom: 0.25rem;
}

.pss-issue-message {
  font-size: 0.84rem;
  color: var(--pss-text-secondary);
  line-height: 1.48;
}

/* =========================================================
   Signals Grid
   ======================================================= */
.pss-signals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 0.7rem;
}

.pss-signal-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: var(--pss-radius-md);
  font-size: 0.82rem;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid var(--pss-border);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.pss-signal-item:hover {
  border-color: var(--pss-border-light);
  background: rgba(30, 41, 59, 0.82);
}

.pss-signal-active {
  background: rgba(127, 29, 29, 0.3);
  border-color: rgba(248, 113, 113, 0.28);
}

.pss-signal-active:hover {
  background: rgba(127, 29, 29, 0.42);
}

.pss-signal-label {
  color: var(--pss-text-secondary);
}

.pss-signal-value {
  font-weight: 800;
  color: var(--pss-text-primary);
}

.pss-signal-active .pss-signal-value {
  color: #fecdd3;
}

/* =========================================================
   Domain Tags
   ======================================================= */
.pss-domain-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pss-domain-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.72rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-family: "SF Mono", Monaco, Consolas, monospace;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid var(--pss-border);
  color: var(--pss-text-secondary);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.pss-domain-tag:hover {
  background: rgba(30, 41, 59, 0.88);
  border-color: var(--pss-border-light);
}

.pss-domain-suspicious {
  background: rgba(127, 29, 29, 0.34);
  border-color: rgba(248, 113, 113, 0.34);
  color: #fecdd3;
}

/* =========================================================
   Collapsible Details
   ======================================================= */
details.pss-details {
  margin: 0.75rem 0;
  border: 1px solid var(--pss-border);
  border-radius: var(--pss-radius-lg);
  background: rgba(15, 23, 42, 0.72);
  overflow: hidden;
}

details.pss-details summary {
  padding: 0.9rem 1rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--pss-text-primary);
  background: rgba(30, 41, 59, 0.78);
  transition: background 0.15s ease, color 0.15s ease;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

details.pss-details summary::-webkit-details-marker {
  display: none;
}

details.pss-details summary::before {
  content: "▸";
  font-size: 0.75rem;
  transition: transform 0.2s ease;
  color: var(--pss-text-muted);
}

details.pss-details[open] summary::before {
  transform: rotate(90deg);
}

details.pss-details summary:hover {
  background: rgba(51, 65, 85, 0.88);
  color: #fff;
}

details.pss-details[open] summary {
  border-bottom: 1px solid var(--pss-border);
}

details.pss-details > div,
details.pss-details > ul,
details.pss-details > pre {
  padding: 1rem;
}

/* =========================================================
   Preformatted / Code
   ======================================================= */
.pss-pre {
  display: block;
  white-space: pre-wrap;
  word-break: break-word;
  background: rgba(2, 6, 23, 0.74);
  color: var(--pss-text-primary);
  border: 1px solid var(--pss-border);
  border-radius: var(--pss-radius-lg);
  padding: 1rem;
  margin: 0.5rem 0;
  font-family: "SF Mono", Monaco, Consolas, monospace;
  font-size: 0.82rem;
  line-height: 1.5;
  overflow-x: auto;
}

code {
  font-family: "SF Mono", Monaco, Consolas, monospace;
  font-size: 0.875em;
  background: rgba(2, 6, 23, 0.72);
  padding: 0.125em 0.375em;
  border-radius: 5px;
  color: var(--pss-accent-hover);
}

/* =========================================================
   Screenshots
   ======================================================= */
#pss-screenshot-output img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--pss-border);
  border-radius: var(--pss-radius-lg);
  box-shadow: var(--pss-shadow-md);
}

/* =========================================================
   Output Panels
   ======================================================= */
#pss-whois-output,
#pss-dns-output,
#pss-ipgeo-output,
#pss-analysis-output,
#pss-scripts-output {
  background: transparent;
  color: var(--pss-text-primary);
  max-width: 100%;
}

/* =========================================================
   Scripts Tab
   ======================================================= */
#pss-scripts-select {
  display: block;
  max-width: 100%;
  width: 100%;
  margin: 0 auto 1rem;
  background: rgba(2, 6, 23, 0.74);
  color: var(--pss-text-primary);
  border: 1px solid var(--pss-border);
  border-radius: var(--pss-radius-lg);
  padding: 0.72rem 0.85rem;
  font-size: 0.9rem;
  cursor: pointer;
}

#pss-scripts-select:focus {
  border-color: var(--pss-accent);
  outline: none;
  box-shadow: 0 0 0 4px var(--pss-accent-subtle);
}

#pss-script-detail {
  max-width: 100%;
  margin: 0;
  padding: 1rem;
  border: 1px solid var(--pss-border);
  background: rgba(2, 6, 23, 0.74);
  color: var(--pss-text-primary);
  overflow: auto;
  border-radius: var(--pss-radius-lg);
  font-family: "SF Mono", Monaco, Consolas, monospace;
  font-size: 0.82rem;
  line-height: 1.5;
}

/* =========================================================
   Badges
   ======================================================= */
.pss-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(30, 41, 59, 0.78);
  border: 1px solid var(--pss-border);
  color: var(--pss-text-secondary);
  margin-right: 0.375rem;
  margin-bottom: 0.375rem;
}

.pss-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin: 0.5rem 0;
}

/* =========================================================
   Share CTA
   ======================================================= */
.pss-share-cta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid var(--pss-border);
  border-radius: var(--pss-radius-lg);
  margin-top: 1.25rem;
}

.pss-share-cta .pss-input-field {
  flex: 1;
  min-width: 180px;
  max-width: 420px;
  min-height: 42px;
  padding: 0 0.8rem;
  font-size: 0.85rem;
}

/* =========================================================
   Loading State
   ======================================================= */
.pss-loading {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--pss-text-secondary);
}

.pss-loading::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid rgba(148, 163, 184, 0.32);
  border-top-color: var(--pss-accent);
  border-radius: 50%;
  animation: pssSpin 0.7s linear infinite;
}

@keyframes pssSpin {
  to { transform: rotate(360deg); }
}

/* =========================================================
   WHOIS Blocks
   ======================================================= */
.pss-whois-block {
  margin-bottom: 1.25rem;
}

.pss-whois-block h5.pss-section-title,
.pss-whois-block h3 {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.055em;
  margin: 1.25rem 0 0.65rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--pss-border);
  color: var(--pss-text-primary);
}

.pss-whois-block h3:first-child,
.pss-whois-block h5:first-child {
  margin-top: 0;
}

.pss-whois-block .pss-list {
  margin: 0.5rem 0;
  padding-left: 1.25rem;
  color: var(--pss-text-secondary);
}

.pss-whois-block .pss-list li {
  padding: 0.25rem 0;
}

.pss-whois-block .pss-list a {
  color: var(--pss-accent);
}

.pss-whois-block .pss-list a:hover {
  color: var(--pss-accent-hover);
}

/* =========================================================
   Private Scan Dashboard Integration
   ======================================================= */
.itkb-private-scan-dashboard {
  width: 100%;
}

.itkb-private-scan-card {
  overflow: hidden;
}

.itkb-private-scan-card .pss-tabs-nav {
  margin-top: 1rem;
}

.itkb-private-scan-card .pss-tab-content {
  margin-top: 0.85rem;
}

.itkb-private-scan-card .pss-input-group {
  margin-top: 0.25rem;
}

/* =========================================================
   Responsive
   ======================================================= */
@media (max-width: 800px) {
  .pss-app-container {
    padding: 1rem;
    border-radius: var(--pss-radius-lg);
  }

  .pss-input-group {
    grid-template-columns: 1fr;
  }

  .pss-url-wrap {
    width: 100%;
  }

  .pss-button-scan {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .pss-url-wrap {
    flex-direction: column;
  }

  .pss-button-qr {
    width: 100%;
    flex-basis: auto;
  }

  .pss-tabs-nav {
    gap: 0.45rem;
  }

  .pss-tab {
    padding: 0.65rem 0.8rem;
    font-size: 0.84rem;
  }

  .pss-tab-content {
    padding: 0.9rem;
  }

  .pss-analysis-table thead {
    display: none;
  }

  .pss-analysis-table tr {
    display: block;
    border-bottom: 1px solid var(--pss-border);
  }

  .pss-analysis-table td {
    display: block;
    width: 100%;
    border-bottom: 0;
    padding: 0.55rem 0.65rem;
  }

  .pss-analysis-table td:first-child {
    width: auto;
    color: var(--pss-accent-hover);
    font-size: 0.74rem;
    text-transform: uppercase;
  }

  .pss-signals-grid {
    grid-template-columns: 1fr;
  }

  .pss-share-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .pss-share-cta .pss-input-field {
    max-width: none;
  }
}

@media (max-width: 420px) {
  .pss-app-container {
    margin: 12px auto;
    padding: 0.85rem;
  }

  .pss-risk-badge {
    padding: 1rem 1.5rem;
    min-width: 130px;
  }

  .pss-risk-score {
    font-size: 2.25rem;
  }
}

/* =========================================================
   Accessibility / Motion
   ======================================================= */
.pss-input-group:focus-within {
  outline: 3px solid var(--pss-accent-subtle);
  outline-offset: 3px;
  border-radius: var(--pss-radius-lg);
}

@media (pointer: coarse) {
  .pss-tab {
    min-height: 44px;
  }

  .pss-button {
    min-height: 48px;
  }
}

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

/* =========================================================
   Container Queries
   ======================================================= */
.pss-app-container {
  container-type: inline-size;
}

@container (max-width: 560px) {
  .pss-tabs-nav {
    gap: 0.45rem;
  }

  .pss-tab {
    padding: 0.62rem 0.78rem;
    font-size: 0.84rem;
  }
}
/* =========================================================
   Desktop Scanner Form Alignment Fix
   ======================================================= */

.pss-input-group {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: end;
  width: 100%;
}

.pss-input-group .pss-label {
  grid-column: 1 / -1;
  margin: 0;
}

.pss-input-group .pss-url-wrap {
  grid-column: 1 / 2;
  width: 100%;
  min-width: 0;
}

.pss-input-group .pss-button-scan {
  grid-column: 2 / 3;
  width: auto;
  min-width: 220px;
  white-space: nowrap;
}

.pss-url-wrap .pss-input-field {
  min-width: 0;
}

.pss-private-scanner .pss-input-group {
  max-width: 100%;
}

/* Keep the scanner centered inside the dashboard card */
.itkb-private-scan-card .pss-app-container {
  max-width: 100%;
}

/* Better desktop spacing */
@media (min-width: 801px) {
  .pss-input-group {
    grid-template-columns: minmax(360px, 1fr) minmax(220px, auto);
  }

  .pss-input-group .pss-button-scan {
    align-self: stretch;
  }
}

/* Mobile/tablet stacks cleanly */
@media (max-width: 800px) {
  .pss-input-group {
    grid-template-columns: 1fr;
  }

  .pss-input-group .pss-label,
  .pss-input-group .pss-url-wrap,
  .pss-input-group .pss-button-scan {
    grid-column: 1 / -1;
  }

  .pss-input-group .pss-button-scan {
    width: 100%;
    min-width: 0;
  }
}
/* =========================================================
   QR Scanner Button + Camera Overlay
   Final override — keep this at the very bottom
   ======================================================= */

/* ---------- Input + QR button layout ---------- */

.pss-app-container .pss-url-wrap {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  overflow: visible !important;
  gap: 0 !important;
  align-items: initial !important;
}

.pss-app-container .pss-url-wrap .pss-input-field {
  position: relative !important;
  z-index: 1 !important;

  width: 100% !important;
  min-width: 0 !important;
  min-height: 52px !important;
  height: 52px !important;

  padding-right: 58px !important;
  box-sizing: border-box !important;
}

/* QR button inside input */
.pss-app-container .pss-button.pss-button-qr,
.pss-app-container .pss-button-qr {
  position: absolute !important;
  top: 50% !important;
  right: 12px !important;
  transform: translateY(-50%) !important;

  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  min-height: 30px !important;
  max-width: 30px !important;
  max-height: 30px !important;

  flex: 0 0 30px !important;

  padding: 0 !important;
  margin: 0 !important;

  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 6px !important;
  background: #2563eb !important;
  color: #ffffff !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  line-height: 1 !important;
  appearance: none !important;
  -webkit-appearance: none !important;

  cursor: pointer !important;
  z-index: 20 !important;

  box-shadow: none !important;
  text-decoration: none !important;

  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease !important;
}

.pss-app-container .pss-button.pss-button-qr:hover,
.pss-app-container .pss-button-qr:hover {
  background: #1d4ed8 !important;
  border-color: rgba(255, 255, 255, 0.24) !important;
  color: #ffffff !important;
  transform: translateY(-50%) !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

.pss-app-container .pss-button.pss-button-qr:active,
.pss-app-container .pss-button-qr:active {
  transform: translateY(-50%) !important;
  box-shadow: none !important;
}

.pss-app-container .pss-button.pss-button-qr:focus,
.pss-app-container .pss-button-qr:focus {
  outline: none !important;
}

.pss-app-container .pss-button.pss-button-qr:focus-visible,
.pss-app-container .pss-button-qr:focus-visible {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.35) !important;
}

/* Inline SVG icon inside the button */
.pss-app-container .pss-button-qr .pss-qr-svg,
.pss-app-container .pss-qr-svg {
  display: block !important;
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  flex: 0 0 16px !important;
  pointer-events: none !important;
}

/* Stop mobile CSS from turning the QR button into a full-width button */
@media (max-width: 640px) {
  .pss-app-container .pss-url-wrap {
    position: relative !important;
    display: block !important;
    flex-direction: initial !important;
    width: 100% !important;
  }

  .pss-app-container .pss-url-wrap .pss-input-field {
    width: 100% !important;
    padding-right: 58px !important;
  }

  .pss-app-container .pss-button.pss-button-qr,
  .pss-app-container .pss-button-qr {
    position: absolute !important;
    top: 50% !important;
    right: 12px !important;

    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    max-width: 30px !important;
    max-height: 30px !important;

    flex: 0 0 30px !important;
    transform: translateY(-50%) !important;
  }

  .pss-app-container .pss-button.pss-button-qr:hover,
  .pss-app-container .pss-button-qr:hover,
  .pss-app-container .pss-button.pss-button-qr:active,
  .pss-app-container .pss-button-qr:active {
    transform: translateY(-50%) !important;
  }
}

/* ---------- Overlay camera sheet ---------- */

.pss-qr-sheet[hidden] {
  display: none !important;
}

.pss-qr-sheet {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  background: rgba(0, 0, 0, 0.75);

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 1rem;
  box-sizing: border-box;
  pointer-events: auto;
}

/* Prevent background scroll while scanning */
body.pss-qr-open {
  overflow: hidden !important;
}

/* Dialog card */
.pss-qr-sheet__inner {
  background: #111827;
  color: #f8fafc;

  width: min(92vw, 640px);
  padding: 12px;

  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 12px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);

  pointer-events: auto;
  outline: none;
}

/* Video preview */
#pss-qr-video {
  display: block;
  width: 100%;
  max-height: 70vh;

  border-radius: 10px;
  background: #000;

  position: relative;
  z-index: 1;
}

/* Controls under the video */
.pss-qr-sheet__controls {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.pss-qr-sheet__controls .pss-button {
  flex: 1 1 auto;
  text-align: center;
}

/* Tip text */
.pss-qr-tip {
  font-size: 0.85rem;
  opacity: 0.8;
  margin: 0.5rem 0 0;
  text-align: center;
}/*
Theme Name: Extendable
Theme URI: https://github.com/extendify/extendable
Author: Extendify
Author URI: https://extendify.com
Description: Extendable is a distinct, dynamic block theme designed as a canvas for your next online venture. Sporting multiple style variations, Extendable is the most expressive block theme yet. Go fresh, bold, bohemian or minimal — with a single click.
Requires at least: 6.6
Tested up to: 6.9
Requires PHP: 7.4
Version: 2.1.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: extendable
Tags: one-column, custom-colors, custom-menu, custom-logo, e-commerce, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments

Extendable is a derivative work of the code from the
Twenty Twenty-Two WordPress Theme, which is licensed GPLv2.

Extendable WordPress Theme, Copyright (C) 2021-2025 Extendify Inc.
Extendable therefore is also distributed under the terms of the GNU GPL.
*/


/* Fallback for deprecate variables.
---------------------------------------------------------------------------- */
:root {
	--wp--custom--spacing--small: var(--wp--preset--spacing--30, clamp(1.5rem, 5vw, 2rem));
	--wp--custom--spacing--medium: var(--wp--preset--spacing--50, clamp(2.5rem, 8vw, 4rem));
	--wp--custom--spacing--large: var(--wp--preset--spacing--60, clamp(2.5rem, 8vw, 6rem));
	--wp--custom--spacing--outer: max(1.25rem, 4vw);
    --wp--preset--spacing--80: min(8rem, 12vw);
}

/*
 * Smooth scrolling
 */

 html {
	scroll-behavior: smooth;
  }

/*
 * Font smoothing.
 * This is a niche setting that will not be available via Global Styles.
 * https://github.com/WordPress/gutenberg/issues/35934
 */

body {
	-moz-osx-font-smoothing: var(--wp--custom--typography--font-smoothing--moz, auto);
	-webkit-font-smoothing: var(--wp--custom--typography--font-smoothing--webkit, auto);
}

/*
 * Text and navigation link styles.
 * Necessary until the following issue is resolved in Gutenberg:
 * https://github.com/WordPress/gutenberg/issues/27075
 */

a {
	text-decoration-style: var(--wp--custom--elements--link--static--text-decoration-style, solid);
	text-decoration-thickness: var(--wp--custom--elements--link--text-decoration-thickness, 1px);
	text-underline-offset: var(--wp--custom--elements--link--text-underline-offset, 0.25ch);
}

a:hover,
a:focus {
	text-decoration-style: var(--wp--custom--elements--link--interactive--text-decoration-style, dashed);
}

:where(.wp-site-blocks *:focus) {
	outline-width:1px;
	outline-style:solid
}

a:active {
	text-decoration: none;
}

/*
 * Navigation Block
 */

 @media (min-width: 600px) {
    .site-logo-title {
        display:none
    }

	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item, 
	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container, 
	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-page-list {
		align-items: flex-start !important;
	}
}

 @media (max-width: 600px) {
	.has-modal-open .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item, 
	.has-modal-open .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container, 
	.has-modal-open .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-page-list {
		align-items: flex-start !important;
	}
}

.wp-block-navigation__responsive-container.has-modal-open.is-menu-open .site-logo-title {
    display: flex;
	flex-wrap: nowrap;
	max-width: 100%;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: var(--wp--preset--spacing--30);
    position: relative;
	padding-inline-end: 52px;
}

.wp-block-navigation__responsive-container.has-modal-open.is-menu-open .site-logo-title::after {
    content: "";
    position: absolute;
    left: calc(-1 * var(--wp--preset--spacing--30));
    right: calc(-1 * var(--wp--preset--spacing--30));
    bottom: 0;
    height: 1px;
    background: #8080801d;
}

.wp-block-navigation__responsive-container.has-modal-open.is-menu-open .site-logo-title img {
	max-height: 42px !important;
	height: auto !important;
	width: auto !important;

}

.wp-block-navigation__responsive-container.has-modal-open.is-menu-open .site-logo-title .site-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--wp--preset--color--foreground);
	text-transform: uppercase;
    letter-spacing: -0.02em;
    box-sizing: border-box;
    line-height: 1.15;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: var(--wp--preset--spacing--30);
}

.has-modal-open .wp-block-navigation__responsive-container-close {
	background-color:var(--wp--preset--color--tertiary);
	padding: 0.625rem;
	border-radius: 100%;
    top: -2.5px !important;
}

.has-modal-open .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
	gap: 0 !important;
	width: 100%;
}

.has-modal-open .wp-block-navrigation__containe, .has-modal-open .wp-block-navigation__container ul {
    row-gap: 0.75rem !important;
    width: -webkit-fill-available;
  	max-width: 100%;
}

.has-modal-open .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content > ul.wp-block-navigation__container > li.wp-block-navigation-item:not(.wp-block-navigation__submenu-container) {
	border-bottom: 1px solid #8080801d;
	padding-top: 0.75rem;
	padding-bottom: 0.75rem;
	width: -webkit-fill-available;
	max-width: 100%;
}

.has-modal-open .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child .wp-block-navigation__submenu-container {
	padding: 0.75rem 0.75rem 0 0.75rem !important;
    gap: 0.75rem !important;
 }

.has-modal-open .wp-block-navigation__responsive-dialog ul.wp-block-navigation__container > li:not(.wp-block-navigation__submenu-container) > a.wp-block-navigation-item__content {
    font-size: 1.25rem;
	font-weight: 600;
}

.has-modal-open .wp-block-navigation__submenu-container {
   padding-top: 0.75rem !important;
}

.has-modal-open .wp-block-navigation__responsive-dialog ul.wp-block-navigation__container .wp-block-navigation-submenu .wp-block-navigation-item a {
    font-size: 1rem !important;
}

.wp-block-navigation .wp-block-navigation-item a:hover,
.wp-block-navigation .wp-block-navigation-item a:focus {
	text-decoration: underline;
	text-decoration-style: solid;
}

/* Don't display the homepage in the Page List block, when located inside a navigation element. */
nav .wp-block-pages-list__item.wp-block-navigation-item.menu-item-home {
	display: none;
}

/*
 * Responsive menu container padding.
 * This ensures the responsive container inherits the same
 * spacing defined above. This behavior may be built into
 * the Block Editor in the future.
 */

.wp-block-navigation__responsive-container.is-menu-open {
	padding-top: var(--wp--preset--spacing--30);
	padding-bottom: var(--wp--preset--spacing--30);
	padding-right: var(--wp--preset--spacing--30);
	padding-left: var(--wp--preset--spacing--30);
}

/*
 * --------------------------------------------------------
 *  Custom - blocks
 * --------------------------------------------------------
 */

 /* Button
----------------------------------------------------------*/
.wp-element-button {
	transition: background-color 0.15s ease;
}
.wp-block-button .wp-block-button__link.is-style-outline:not(.has-background):hover,
.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-background):hover {
	background-color: rgba(159, 159, 159, 0.2);
}

/* Table
----------------------------------------------------------*/
.wp-block-table.is-style-stripes tbody tr:nth-child(odd){
	background-color: var(--wp--custom--blocks--core-table--variant-stripes--color--background, var(--wp--preset--color--tertiary));
}

/* Template Part Block
----------------------------------------------------------*/

/* Temporary fix until template-part blocks support spacing */

footer.wp-block-template-part:not([style*="margin-top"]) {
	margin-top: 0;
}

/* Quote - 'Plain' variation
----------------------------------------------------------*/
blockquote:is(.is-style-plain) {
	border: none;
	padding-left: 0;
}

/* Search Block
----------------------------------------------------------*/
:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) {
	border-color: var(--wp--custom--elements--input--border--color);
	border-radius: var(--wp--custom--elements--button--border--radius);
	border-width: var(--wp--custom--elements--input--border--width);
}
:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) .wp-block-search__input {
	border-color: transparent;
}
.wp-block-search .wp-block-search__input {
	border-radius: var(--wp--custom--elements--button--border--radius);
}

/* Image
----------------------------------------------------------*/
.wp-block-image[style*="-radius"]:not([style*="overflow"]) { overflow: hidden }

/*
 * --------------------------------------------------------
 *  Custom - experimental
 * --------------------------------------------------------
 */

.block-editor-block-list__block.wp-block.is-default-size.wp-block-site-logo .components-resizable-box__container,
.wp-block-site-logo.is-default-size img {
    max-height: 42px !important;
    height: auto !important;
    width: auto !important;
}

/* Ensure default logo works well on light and dark backgrounds
----------------------------------------------------------*/
.wp-block-site-logo img[src*="extendify-demo-"],
.wp-block-site-logo img[src*="ext-custom-logo-"] {
	filter: var(--wp--preset--duotone--primary-foreground);
}


/*
 * Remove all animations, transitions and smooth scroll
 * for people that prefer not to see them.
 */
@media (prefers-reduced-motion: reduce) {
	html:focus-within {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/*
 * Matching caret and focus outline colors.
 */
input, textarea {
	caret-color: inherit;
	outline-color: inherit;
}

/*
 * Matching input with outline button style.
 */
:where(.wp-block-post-comments-form) input:not([type=submit]),
:where(.wp-block-post-comments-form) textarea {
	background-color: var(--wp--preset--color--background);
	color: var(--wp--preset--color--foreground);
	border-color: inherit;
}


/*
 * Woocommerce temporarily customization until the woo blocks offer support
 */

.woocommerce-Tabs-panel--description h2, .woocommerce-Reviews-title {
	font-size: var(--wp--preset--font-size--medium);
}

.wp-block-button.wc-block-components-product-button {
	flex-direction: row;
    flex-wrap: wrap;
    justify-content: start;
	gap: 1rem;
}
.wp-block-button.wc-block-components-product-button a.added_to_cart {
	margin-top: 0;
}

.woocommerce-checkout.woocommerce-page header.wp-block-template-part nav.wp-block-navigation {
	visibility: hidden;
}

.wp-site-blocks .wp-block-group.woocommerce.product {
	margin-top: 0;
	margin-bottom: 0; 
}
.wc-block-product-template__responsive {
	grid-row-gap: 2rem;
}
.wc-block-components-product-button__button {
	z-index: 1;
}
/*
 * Adds offset for sticky header overlap
 */

 .sticky-header-offset-container .entry-content > .wp-block-group {
	scroll-margin-top: var(--wp--preset--spacing--60);
}

/*
 * Avoids parent/child color collision when child has no custom background.
 */

:not(.block-editor-block-preview__content-iframe)
.has-tertiary-background-color.has-background 
[class*='is-style-ext-preset--group--'][class*='item-card-1']:not(.has-background)
{
    background-color: var(--wp--preset--color--background);
}

:not(.block-editor-block-preview__content-iframe)
.has-tertiary-background-color.has-background 
[class*='is-style-ext-preset--group--'][class*='item-card-1']:not(.has-background)::before {
    background-color: var(--wp--preset--color--background) !important;
}

:not(.block-editor-block-preview__content-iframe)
.has-tertiary-background-color.has-background 
[class*='is-style-ext-preset--image--']:not(.has-background)::before {
    background-color: var(--wp--preset--color--tertiary) !important;
}

:not(.block-editor-block-preview__content-iframe)
.has-tertiary-background-color.has-background 
[class*='is-style-ext-preset--group--'][class*='item-card-1']::before,:not(.block-editor-block-preview__content-iframe)
.has-tertiary-background-color.has-background 
[class*='is-style-ext-preset--media-text--']:before {
    background-color: var(--wp--preset--color--background) !important;
}

.block-editor-block-preview__content-iframe 
[class*='is-style-ext-preset--group--natural-1'][class*='item-card-1'] {
    background-color: transparent !important;
}

:root {
	--grid-vector-bg: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTQ0MCAxMDI0IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxnIG9wYWNpdHk9IjAuMDkiIHN0cm9rZT0iY3VycmVudENvbG9yIiBzdHJva2Utb3BhY2l0eT0iMC43IiBzdHJva2Utd2lkdGg9IjEuMjYwNyI+CiAgICA8bGluZSB4MT0iLTUwLjYxNzIiIHkxPSI2MjQuOTk1IiB4Mj0iMTQ2MC45NiIgeTI9IjYyNC45OTUiIC8+CiAgICA8bGluZSB4MT0iLTUwLjYxNzIiIHkxPSI5NDcuNzMzIiB4Mj0iMTQ2MC45NiIgeTI9Ijk0Ny43MzMiIC8+CiAgICA8bGluZSB4MT0iLTUwLjYxNzIiIHkxPSIzMDIuMjU2IiB4Mj0iMTQ2MC45NiIgeTI9IjMwMi4yNTYiIC8+CiAgICA8bGluZSB4MT0iLTUwLjYxNzIiIHkxPSI0NjMuNjI0IiB4Mj0iMTQ2MC45NiIgeTI9IjQ2My42MjQiIC8+CiAgICA8bGluZSB4MT0iLTUwLjYxNzIiIHkxPSI3ODYuMzYyIiB4Mj0iMTQ2MC45NiIgeTI9Ijc4Ni4zNjIiIC8+CiAgICA8bGluZSB4MT0iLTUwLjYxNzIiIHkxPSIxNDAuODg1IiB4Mj0iMTQ2MC45NiIgeTI9IjE0MC44ODUiIC8+CiAgICA8bGluZSB4MT0iLTUwLjYxNzIiIHkxPSI1NDQuMzExIiB4Mj0iMTQ2MC45NiIgeTI9IjU0NC4zMTEiIC8+CiAgICA8bGluZSB4MT0iLTUwLjYxNzIiIHkxPSI4NjcuMDQ5IiB4Mj0iMTQ2MC45NiIgeTI9Ijg2Ny4wNDkiIC8+CiAgICA8bGluZSB4MT0iLTUwLjYxNzIiIHkxPSIyMjEuNTcz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9IjgxLjM3MjMiIGZpbGwtb3BhY2l0eT0iMC4xOCIgLz4KICAgIDxyZWN0IHg9IjExMjYuNzYiIHk9IjcwNi4wNzgiIHdpZHRoPSI4MC4yMjYyIiBoZWlnaHQ9IjgwLjIyNjIiIGZpbGwtb3BhY2l0eT0iMC4xMyIgLz4KICAgIDxyZWN0IHg9IjEyMDYuOTkiIHk9Ijc4Ni4zMDUiIHdpZHRoPSI4MC4yMjYyIiBoZWlnaHQ9IjgwLjIyNjIiIGZpbGwtb3BhY2l0eT0iMC4xMyIgLz4KICA8L2c+Cjwvc3ZnPg==");
}

/*
 * CSS related to prism vibe
 */

/*
 * CSS related to wave vibe
 */

[class*="is-style-ext-preset--group--"][class*="--section"].has-tertiary-background-color:has(
  + .has-background-background-color > .wp-block-cover.alignfull
)::after {
  content: none !important;
}

[class*="is-style-ext-preset--group--"][class*="--section"].has-tertiary-background-color:has(
  + .has-background-background-color > .wp-block-cover.alignfull
) {
  margin-bottom: 0 !important;
}

[class*="is-style-ext-preset--group--"][class*="--section"].has-background-background-color:has(.wp-block-cover.alignfull)
+ .has-tertiary-background-color::before {
  content: none !important;
}

[class*="is-style-ext-preset--group--"][class*="--section"].has-background-background-color:has(.wp-block-cover.alignfull)
+ .has-tertiary-background-color {
  margin-top: 0 !important;
}

/*
 * utilities
 */

 .m-0 {
	margin: 0 !important;
}

.z-0 {
	z-index: 0 !important;
}

.z-10 {
	z-index: 10 !important;
}
.z-20 {
	z-index: 20 !important;
}
.z-30 {
	z-index: 30 !important;
}


.d-none {
  display: none;
}

.d-block {
  display: block;
}

@media (min-width: 640px) {
  .sm-d-none {
    display: none;
  }

  .sm-d-block {
    display: block;
  }
}

@media (min-width: 768px) {
  .md-d-none {
    display: none;
  }

  .md-d-block {
    display: block;
  }
}

@media (min-width: 1024px) {
  .lg-d-none {
    display: none;
  }

  .lg-d-block {
    display: block;
  }
}

/* RTL-only fix for Gutenberg Group left justification */

[dir="rtl"] [class*="wp-container-core-group-is-layout-"].ext-is-logical-start.is-content-justification-left
	> :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	margin-inline-start: 0 !important;
	margin-inline-end: auto !important;
}

.no-underline, .no-underline a {
  text-decoration: none;
}

/* CSS for extendify-agent vibe previews */

.extendify-agent .preview-is-style-ext-preset--group--matrix-1--section .preview-is-style-ext-preset--group--matrix-1--item-card-1--align-center {
    border: solid 6px color-mix(in oklab, var(--wp--preset--color--foreground) 10%, transparent) !important;
}


.extendify-agent .preview-is-style-ext-preset--group--wave-1--section {
    --wave-ratio: 1440 / 80;
    overflow: visible;
}

.extendify-agent .preview-is-style-ext-preset--group--wave-1--section .preview-is-style-ext-preset--group--wave-1--item-card-1--align-center {
    position: relative;
    overflow: visible;
}

.extendify-agent .preview-is-style-ext-preset--group--wave-1--section .preview-is-style-ext-preset--group--wave-1--item-card-1--align-center::after {
    content: "";
    position: absolute;
    width: 150%;
    left: 50%;
    transform: translateX(-35%);
    aspect-ratio: var(--wave-ratio);
    background-color: var(--wp--preset--color--background);
    -webkit-mask: var(--wave-mask) no-repeat center / 100% 100%;
    mask: var(--wave-mask) no-repeat center / 100% 100%;
    bottom: -1px;
    pointer-events: none;
    z-index: 1;
}
.extendify-agent .preview-is-style-ext-preset--group--wave-1--section .preview-is-style-ext-preset--group--wave-1--item-card-1--align-center::before {
    content: "";
    position: absolute;
    width: 150%;
    left: 50%;
    transform: translateX(-65%) scale(-1, -1);
    aspect-ratio: var(--wave-ratio);
    background-color: var(--wp--preset--color--background);
    -webkit-mask: var(--wave-mask) no-repeat center / 100% 100%;
    mask: var(--wave-mask) no-repeat center / 100% 100%;
    top: -1px;
    pointer-events: none;
    z-index: 1;
}