/*
 * HSWare 6.5.0 — APK Layout One Kadence Global Palette contract.
 *
 * This is the FINAL color layer for APK Layout One and is intentionally enqueued
 * after the APK Layout One homepage, directory, single-software and comment CSS.
 * Nothing here writes Kadence's --global-palette* variables. It only consumes
 * them, so changing a Kadence Selectable Palette updates every APK Layout One
 * screen at once.
 *
 * Kadence role map used by APK Layout One:
 *  1  Accent             -> primary buttons, primary links, active controls
 *  2  Accent Alt         -> hover/focus/active accent state
 *  3  Strongest Text     -> H1/H2/H3 and highest-contrast labels
 *  4  Strong Text        -> body/interface text
 *  5  Medium Text        -> descriptions/secondary text
 *  6  Subtle Text        -> metadata/placeholders/dividers
 *  7  Subtle Background  -> alternate sections and soft UI areas
 *  8  Lighter Background -> foreground on accent buttons + layered surfaces
 *  9  Base Background    -> page/card/base surface
 * 10  Accent Complement  -> supporting highlight only
 * 11  Success            -> positive/verified states
 * 12  Info               -> informational states
 * 13  Alert              -> critical/error states
 * 14  Warning            -> caution states
 * 15  Rating             -> ratings/highlight feedback
 */
body.softorbit-apk-layout-one {
  --apk1-accent: var(--global-palette1, #059669);
  --apk1-accent-alt: var(--global-palette2, #047857);
  --apk1-text-strongest: var(--global-palette3, #0c0a09);
  --apk1-text-strong: var(--global-palette4, #1c1917);
  --apk1-text-medium: var(--global-palette5, #57534e);
  --apk1-text-subtle: var(--global-palette6, #78716c);
  --apk1-bg-subtle: var(--global-palette7, #f5f5f4);
  --apk1-bg-lighter: var(--global-palette8, #fafaf9);
  --apk1-bg-base: var(--global-palette9, #ffffff);
  --apk1-accent-complement: var(--global-palette10, #f6b000);
  --apk1-success: var(--global-palette11, #10b981);
  --apk1-info: var(--global-palette12, #1a69ff);
  --apk1-alert: var(--global-palette13, #c2410c);
  --apk1-warning: var(--global-palette14, #fdba74);
  --apk1-rating: var(--global-palette15, #f6b000);

  /* User-requested primary-button foreground: Kadence Palette 8. */
  --apk1-on-accent: var(--apk1-bg-lighter);

  /* Derived colors stay tied to the same live Kadence palette. */
  --apk1-border: color-mix(in srgb, var(--apk1-text-subtle) 18%, var(--apk1-bg-base));
  --apk1-border-strong: color-mix(in srgb, var(--apk1-text-subtle) 31%, var(--apk1-bg-base));
  --apk1-accent-soft: color-mix(in srgb, var(--apk1-accent) 8%, var(--apk1-bg-base));
  --apk1-accent-soft-2: color-mix(in srgb, var(--apk1-accent) 15%, var(--apk1-bg-base));
  --apk1-accent-border: color-mix(in srgb, var(--apk1-accent) 30%, var(--apk1-bg-base));
  --apk1-complement-soft: color-mix(in srgb, var(--apk1-accent-complement) 14%, var(--apk1-bg-base));
  --apk1-success-soft: color-mix(in srgb, var(--apk1-success) 14%, var(--apk1-bg-base));
  --apk1-info-soft: color-mix(in srgb, var(--apk1-info) 10%, var(--apk1-bg-base));
  --apk1-alert-soft: color-mix(in srgb, var(--apk1-alert) 9%, var(--apk1-bg-base));
  --apk1-warning-soft: color-mix(in srgb, var(--apk1-warning) 14%, var(--apk1-bg-base));
  --apk1-rating-soft: color-mix(in srgb, var(--apk1-rating) 18%, var(--apk1-bg-base));

  /* Backward-compatible aliases used throughout the existing APK Layout One CSS. */
  --apk1-accent-primary: var(--apk1-accent);
  --apk1-accent-secondary: var(--apk1-accent-alt);
  --apk1-button-text: var(--apk1-on-accent);
  --apk1-base-1: var(--apk1-bg-subtle);
  --apk1-base-2: var(--apk1-bg-lighter);
  --apk1-base-3: var(--apk1-bg-base);
  --apk1-blue: var(--apk1-accent);
  --apk1-blue-hover: var(--apk1-accent-alt);
  --apk1-deep: var(--apk1-text-strongest);
  --apk1-ink: var(--apk1-text-strong);
  --apk1-slate: var(--apk1-text-medium);
  --apk1-steel: var(--apk1-text-subtle);
  --apk1-surface: var(--apk1-bg-base);
  --apk1-base-soft: var(--apk1-bg-subtle);
  --apk1-white: var(--apk1-bg-base);
  --apk1-yellow: var(--apk1-accent-complement);
  --apk1-green: var(--apk1-success);
  --apk1-info: var(--apk1-info);
  --apk1-coral: var(--apk1-alert);
  --apk1-warning: var(--apk1-warning);
  --apk1-rating: var(--apk1-rating);
  --apk1-blue-soft: var(--apk1-accent-soft);
  --apk1-blue-border: var(--apk1-accent-border);
  --apk1-yellow-soft: var(--apk1-complement-soft);
  --apk1-yellow-soft-2: color-mix(in srgb, var(--apk1-accent-complement) 11%, var(--apk1-bg-base));
  --apk1-yellow-ink: color-mix(in srgb, var(--apk1-accent-complement) 55%, var(--apk1-text-strongest));
  --apk1-coral-soft: var(--apk1-alert-soft);
  --apk1-green-soft: var(--apk1-success-soft);
  --apk1-charcoal: var(--apk1-text-strong);
  --apk1-placeholder: color-mix(in srgb, var(--apk1-text-subtle) 72%, var(--apk1-bg-base));
  --apk1-line-soft: var(--apk1-border);
  --apk1-line: var(--apk1-border);
  --apk1-line-strong: var(--apk1-border-strong);

  --sb-stone-50: var(--apk1-bg-base);
  --sb-stone-100: var(--apk1-bg-subtle);
  --sb-stone-200: var(--apk1-border);
  --sb-stone-300: var(--apk1-border-strong);
  --sb-stone-400: var(--apk1-text-subtle);
  --sb-stone-500: var(--apk1-text-subtle);
  --sb-stone-600: var(--apk1-text-medium);
  --sb-stone-700: color-mix(in srgb, var(--apk1-text-strong) 72%, var(--apk1-text-medium));
  --sb-stone-800: var(--apk1-text-strong);
  --sb-stone-900: var(--apk1-text-strong);
  --sb-stone-950: var(--apk1-text-strongest);
  --sb-green: var(--apk1-accent);
  --sb-green-dark: var(--apk1-accent-alt);
  --sb-green-soft: var(--apk1-accent-soft);

  background: var(--apk1-bg-base) !important;
  color: var(--apk1-text-strong) !important;
}

body.softorbit-apk-layout-one .dsoft-apk1 {
  --apk1-ink: var(--apk1-text-strong);
  --apk1-deep: var(--apk1-text-strongest);
  --apk1-muted: var(--apk1-text-medium);
  --apk1-line: var(--apk1-border);
  --apk1-soft: var(--apk1-bg-subtle);
  --apk1-blue: var(--apk1-accent);
  --apk1-yellow: var(--apk1-accent-complement);
  --apk1-green: var(--apk1-success);
  color: var(--apk1-text-strong) !important;
  background: transparent !important;
}

/* --------------------------------------------------------------------------
 * Global APK Layout One surfaces and typography.
 * Contrast colors stay text/interface colors; Base colors stay backgrounds.
 * -------------------------------------------------------------------------- */
body.softorbit-apk-layout-one .content-bg,
body.softorbit-apk-layout-one .site-main,
body.softorbit-apk-layout-one .apk1-home,
body.softorbit-apk-layout-one .sb-archive-main,
body.softorbit-apk-layout-one .hsware-directory-page,
body.softorbit-apk-layout-one .hsware-directory-results,
body.softorbit-apk-layout-one .hsware-category-directory-results,
body.softorbit-apk-layout-one.kadence-downly-software-single .kadence-downloadable-single-main {
  background: var(--apk1-bg-base) !important;
  color: var(--apk1-text-strong) !important;
}

body.softorbit-apk-layout-one h1,
body.softorbit-apk-layout-one h2,
body.softorbit-apk-layout-one h3,
body.softorbit-apk-layout-one h4,
body.softorbit-apk-layout-one .apk1-hero h1,
body.softorbit-apk-layout-one .apk1-home .sb-section h2,
body.softorbit-apk-layout-one .hsware-directory-heading h2,
body.softorbit-apk-layout-one .hsware-category-main-identity h2 a,
body.softorbit-apk-layout-one .hsware-category-tile h3 a,
body.softorbit-apk-layout-one .dsoft-apk1 h1,
body.softorbit-apk-layout-one .dsoft-apk1 h2,
body.softorbit-apk-layout-one .dsoft-apk1 h3 {
  color: var(--apk1-text-strongest) !important;
}

body.softorbit-apk-layout-one p {
  color: var(--apk1-text-strong);
}
body.softorbit-apk-layout-one .apk1-hero-desc,
body.softorbit-apk-layout-one .apk1-home .sb-section-head p,
body.softorbit-apk-layout-one .apk1-home .sb-slider-head p,
body.softorbit-apk-layout-one .dsoft-apk1-subtitle,
body.softorbit-apk-layout-one .dsoft-apk1-heading p,
body.softorbit-apk-layout-one .hsware-category-main-identity p,
body.softorbit-apk-layout-one .hsware-category-tile > p {
  color: var(--apk1-text-medium);
}

/* Base-surface cards across homepage, archives, category pages and software. */
body.softorbit-apk-layout-one .apk1-search,
body.softorbit-apk-layout-one .apk1-popular a,
body.softorbit-apk-layout-one .apk1-software-card,
body.softorbit-apk-layout-one .apk1-card-logo,
body.softorbit-apk-layout-one .apk1-card-footer,
body.softorbit-apk-layout-one .apk1-home .sb-all-row,
body.softorbit-apk-layout-one .apk1-home .sb-empty,
body.softorbit-apk-layout-one .sb-archive-hero,
body.softorbit-apk-layout-one .hsware-directory-sidebar,
body.softorbit-apk-layout-one .hsware-category-group,
body.softorbit-apk-layout-one .hsware-category-section,
body.softorbit-apk-layout-one .hsware-category-section-head,
body.softorbit-apk-layout-one .hsware-category-tile,
body.softorbit-apk-layout-one .dsoft-apk1-logo,
body.softorbit-apk-layout-one .dsoft-apk1-stats,
body.softorbit-apk-layout-one .dsoft-apk1-stats > div,
body.softorbit-apk-layout-one .dsoft-apk1-copy-card,
body.softorbit-apk-layout-one .dsoft-apk1-versions,
body.softorbit-apk-layout-one .dsoft-apk1-faqs,
body.softorbit-apk-layout-one .dsoft-apk1-faqs details,
body.softorbit-apk-layout-one .dsoft-apk1-comments .comment-respond,
body.softorbit-apk-layout-one .dsoft-apk1-comments textarea,
body.softorbit-apk-layout-one .dsoft-apk1-comments input[type="text"],
body.softorbit-apk-layout-one .dsoft-apk1-comments input[type="email"],
body.softorbit-apk-layout-one .dsoft-apk1-comments input[type="url"],
body.softorbit-apk-layout-one .dsoft-apk1-comments .comment-list > li > .comment-body {
  background-color: var(--apk1-bg-base) !important;
  border-color: var(--apk1-border) !important;
}

body.softorbit-apk-layout-one .hsware-category-tile-grid,
body.softorbit-apk-layout-one .hsware-category-group-children,
body.softorbit-apk-layout-one .hsware-category-section-empty,
body.softorbit-apk-layout-one .hsware-sidebar-directory-link,
body.softorbit-apk-layout-one .apk1-home .sb-filter-pills {
  background: var(--apk1-bg-subtle) !important;
}

/* --------------------------------------------------------------------------
 * Primary action contract: Palette 1 bg, Palette 2 hover, Palette 8 foreground.
 * This covers every custom APK Layout One primary button, not only the hero button.
 * -------------------------------------------------------------------------- */
body.softorbit-apk-layout-one .apk1-search button,
body.softorbit-apk-layout-one .sb-search button,
body.softorbit-apk-layout-one .apk1-download,
body.softorbit-apk-layout-one .apk1-home .sb-all-row > a,
body.softorbit-apk-layout-one .apk1-home .sb-filter-pills button.is-active,
body.softorbit-apk-layout-one .hsware-software-directory .hsware-directory-search button,
body.softorbit-apk-layout-one .hsware-directory-pagination > span.page-numbers.current,
body.softorbit-apk-layout-one .hsware-directory-pagination > a.page-numbers:hover,
body.softorbit-apk-layout-one .sb-pagination .page-numbers.current,
body.softorbit-apk-layout-one .sb-pagination .page-numbers:hover,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-primary,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-old-download,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-versions button,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-download-stack-cta button,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-comments .submit,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-comments input[type="submit"],
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-comments button[type="submit"] {
  border-color: var(--apk1-accent) !important;
  background: var(--apk1-accent) !important;
  color: var(--apk1-on-accent) !important;
}

body.softorbit-apk-layout-one .apk1-search button:hover,
body.softorbit-apk-layout-one .apk1-search button:focus-visible,
body.softorbit-apk-layout-one .sb-search button:hover,
body.softorbit-apk-layout-one .sb-search button:focus-visible,
body.softorbit-apk-layout-one .apk1-download:hover,
body.softorbit-apk-layout-one .apk1-download:focus-visible,
body.softorbit-apk-layout-one .apk1-home .sb-all-row > a:hover,
body.softorbit-apk-layout-one .apk1-home .sb-all-row > a:focus-visible,
body.softorbit-apk-layout-one .apk1-home .sb-filter-pills button.is-active:hover,
body.softorbit-apk-layout-one .hsware-software-directory .hsware-directory-search button:hover,
body.softorbit-apk-layout-one .hsware-software-directory .hsware-directory-search button:focus-visible,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-primary:hover,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-primary:focus-visible,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-old-download:hover,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-old-download:focus-visible,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-versions button:hover,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-versions button:focus-visible,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-download-stack-cta button:hover,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-download-stack-cta button:focus-visible,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-comments .submit:hover,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-comments input[type="submit"]:hover,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-comments button[type="submit"]:hover {
  border-color: var(--apk1-accent-alt) !important;
  background: var(--apk1-accent-alt) !important;
  color: var(--apk1-on-accent) !important;
}

/* All glyphs/content inside primary actions inherit the Palette 8 foreground. */
body.softorbit-apk-layout-one .apk1-search button svg,
body.softorbit-apk-layout-one .apk1-search button svg *,
body.softorbit-apk-layout-one .sb-search button svg,
body.softorbit-apk-layout-one .sb-search button svg *,
body.softorbit-apk-layout-one .apk1-download svg,
body.softorbit-apk-layout-one .apk1-download svg *,
body.softorbit-apk-layout-one .hsware-software-directory .hsware-directory-search button svg,
body.softorbit-apk-layout-one .hsware-software-directory .hsware-directory-search button svg *,
body.softorbit-apk-layout-one .dsoft-apk1-primary .dsoft-apk1-button-icon,
body.softorbit-apk-layout-one .dsoft-apk1-primary .dsoft-apk1-button-icon svg,
body.softorbit-apk-layout-one .dsoft-apk1-primary .dsoft-apk1-button-icon svg *,
body.softorbit-apk-layout-one .dsoft-apk1-old-download .dsoft-apk1-button-icon,
body.softorbit-apk-layout-one .dsoft-apk1-old-download .dsoft-apk1-button-icon svg,
body.softorbit-apk-layout-one .dsoft-apk1-old-download .dsoft-apk1-button-icon svg * {
  color: var(--apk1-on-accent) !important;
  stroke: currentColor !important;
}

/* Shared button metadata stays in the button and uses the same foreground role. */
body.softorbit-apk-layout-one .dsoft-apk1-button-copy,
body.softorbit-apk-layout-one .dsoft-apk1-button-copy > b,
body.softorbit-apk-layout-one .dsoft-apk1-button-copy > span,
body.softorbit-apk-layout-one .dsoft-apk1-button-meta {
  color: inherit !important;
}
body.softorbit-apk-layout-one .dsoft-apk1-button-meta {
  border-left-color: color-mix(in srgb, var(--apk1-on-accent) 32%, transparent) !important;
  color: color-mix(in srgb, var(--apk1-on-accent) 82%, transparent) !important;
}

/* Outline/secondary action: Accent outline/text, Accent Alt on hover. */
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-secondary,
body.softorbit-apk-layout-one .hsware-category-main-actions > a {
  border-color: var(--apk1-accent) !important;
  background: transparent !important;
  color: var(--apk1-accent) !important;
}
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-secondary:hover,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-secondary:focus-visible,
body.softorbit-apk-layout-one .hsware-category-main-actions > a:hover,
body.softorbit-apk-layout-one .hsware-category-main-actions > a:focus-visible {
  border-color: var(--apk1-accent-alt) !important;
  background: var(--apk1-accent-soft) !important;
  color: var(--apk1-accent-alt) !important;
}

/* --------------------------------------------------------------------------
 * Homepage: every interactive/control color follows the same palette roles.
 * -------------------------------------------------------------------------- */
body.softorbit-apk-layout-one .apk1-search:focus-within,
body.softorbit-apk-layout-one .sb-search:focus-within {
  border-color: var(--apk1-accent) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--apk1-accent) 14%, transparent) !important;
}
body.softorbit-apk-layout-one .apk1-search input,
body.softorbit-apk-layout-one .sb-search input { color: var(--apk1-text-strong) !important; }
body.softorbit-apk-layout-one .apk1-search input::placeholder,
body.softorbit-apk-layout-one .sb-search input::placeholder { color: var(--apk1-text-subtle) !important; }

body.softorbit-apk-layout-one .apk1-home .sb-section-meta,
body.softorbit-apk-layout-one .apk1-home .sb-slider-view-all,
body.softorbit-apk-layout-one .apk1-card-meta a,
body.softorbit-apk-layout-one .apk1-software-card:hover h3 a {
  color: var(--apk1-accent) !important;
}
body.softorbit-apk-layout-one .apk1-home .sb-section-meta::before,
body.softorbit-apk-layout-one .apk1-card-meta a,
body.softorbit-apk-layout-one .apk1-home .sb-all-icon {
  background-color: var(--apk1-accent-soft) !important;
}
body.softorbit-apk-layout-one .apk1-home .sb-section-meta::before { background: var(--apk1-accent) !important; }
body.softorbit-apk-layout-one .apk1-home .sb-slider-view-all:hover { color: var(--apk1-accent-alt) !important; }
body.softorbit-apk-layout-one .apk1-home .sb-all-icon { color: var(--apk1-accent) !important; }
body.softorbit-apk-layout-one .apk1-home .sb-filter-pills button { color: var(--apk1-text-medium) !important; }
body.softorbit-apk-layout-one .apk1-home .sb-filter-pills button:hover {
  border-color: var(--apk1-accent-border) !important;
  background: var(--apk1-accent-soft) !important;
  color: var(--apk1-accent-alt) !important;
}
body.softorbit-apk-layout-one .apk1-verified,
body.softorbit-apk-layout-one .apk1-home .sb-updates-note,
body.softorbit-apk-layout-one .apk1-stats strong.is-green,
body.softorbit-apk-layout-one .apk1-update-badge { color: var(--apk1-success) !important; }

/* Category area is no longer a contrast/text color used as a background. */
body.softorbit-apk-layout-one .apk1-categories {
  background: var(--apk1-bg-subtle) !important;
  color: var(--apk1-text-strong) !important;
  border: 1px solid var(--apk1-border) !important;
  box-shadow: 0 16px 38px color-mix(in srgb, var(--apk1-text-strongest) 7%, transparent) !important;
}
body.softorbit-apk-layout-one .apk1-categories::before { background: var(--apk1-accent) !important; }
body.softorbit-apk-layout-one .apk1-categories::after { background: var(--apk1-accent-complement) !important; }
body.softorbit-apk-layout-one .apk1-category-eyebrow { color: var(--apk1-accent) !important; }
body.softorbit-apk-layout-one .apk1-category-eyebrow i { background: var(--apk1-accent) !important; }
body.softorbit-apk-layout-one .apk1-category-head h2 { color: var(--apk1-text-strongest) !important; }
body.softorbit-apk-layout-one .apk1-category-head p { color: var(--apk1-text-medium) !important; }
body.softorbit-apk-layout-one .apk1-categories .sb-category-card {
  border-color: var(--apk1-border) !important;
  background: var(--apk1-bg-base) !important;
  color: var(--apk1-text-strong) !important;
}
body.softorbit-apk-layout-one .apk1-categories .sb-category-card:hover {
  border-color: var(--apk1-accent-border) !important;
  background: var(--apk1-bg-base) !important;
}
body.softorbit-apk-layout-one .apk1-categories .sb-cat-icon {
  background: var(--apk1-accent-soft) !important;
  color: var(--apk1-accent) !important;
}
body.softorbit-apk-layout-one .apk1-categories .sb-category-card h3 { color: var(--apk1-text-strongest) !important; }
body.softorbit-apk-layout-one .apk1-categories .sb-category-card:hover h3 { color: var(--apk1-accent-alt) !important; }
body.softorbit-apk-layout-one .apk1-categories .sb-category-card p { color: var(--apk1-text-medium) !important; }
body.softorbit-apk-layout-one .apk1-categories .sb-cat-view {
  background: var(--apk1-accent-soft) !important;
  color: var(--apk1-accent) !important;
}
body.softorbit-apk-layout-one .apk1-categories .sb-category-card:hover .sb-cat-view {
  background: var(--apk1-accent) !important;
  color: var(--apk1-on-accent) !important;
}

/* --------------------------------------------------------------------------
 * Directory/category/archive pages.
 * -------------------------------------------------------------------------- */
body.softorbit-apk-layout-one .hsware-directory-hero,
body.softorbit-apk-layout-one .sb-archive-hero { background: var(--apk1-bg-base) !important; border-color: var(--apk1-border) !important; }
body.softorbit-apk-layout-one .hsware-directory-search,
body.softorbit-apk-layout-one .hsware-directory-page-size { background: var(--apk1-bg-base) !important; border-color: var(--apk1-border-strong) !important; }
body.softorbit-apk-layout-one .hsware-directory-search:focus-within { border-color: var(--apk1-accent) !important; }
body.softorbit-apk-layout-one .hsware-directory-heading > a,
body.softorbit-apk-layout-one .hsware-directory-heading-actions > a,
body.softorbit-apk-layout-one .hsware-category-tile-view:hover,
body.softorbit-apk-layout-one .hsware-category-group-view:hover,
body.softorbit-apk-layout-one .hsware-sidebar-directory-link:hover { color: var(--apk1-accent-alt) !important; }

body.softorbit-apk-layout-one .hsware-category-filter.is-active,
body.softorbit-apk-layout-one .hsware-category-filter.is-active:not(.hsware-category-all),
body.softorbit-apk-layout-one .hsware-category-all.is-active,
body.softorbit-apk-layout-one .hsware-category-toggle:hover,
body.softorbit-apk-layout-one .hsware-category-toggle:focus-visible,
body.softorbit-apk-layout-one .hsware-category-toggle[aria-expanded="true"] {
  border-color: var(--apk1-accent-border) !important;
  background: var(--apk1-accent-soft) !important;
  color: var(--apk1-accent-alt) !important;
}
body.softorbit-apk-layout-one .hsware-category-filter.is-active,
body.softorbit-apk-layout-one .hsware-category-all.is-active { box-shadow: inset 3px 0 0 var(--apk1-accent) !important; }
body.softorbit-apk-layout-one .hsware-category-children { border-left-color: var(--apk1-accent-border) !important; }
body.softorbit-apk-layout-one .hsware-category-group-count,
body.softorbit-apk-layout-one .hsware-category-main-actions > b,
body.softorbit-apk-layout-one .hsware-category-tile-stats > b {
  background: var(--apk1-accent-soft) !important;
  color: var(--apk1-accent-alt) !important;
}
body.softorbit-apk-layout-one .hsware-sidebar-heading-icon {
  border-color: var(--apk1-accent-border) !important;
  background: var(--apk1-accent-soft) !important;
  color: var(--apk1-accent) !important;
}
body.softorbit-apk-layout-one .hsware-sidebar-heading > a {
  border-color: var(--apk1-accent) !important;
  background: transparent !important;
  color: var(--apk1-accent) !important;
}
body.softorbit-apk-layout-one .hsware-sidebar-heading > a:hover,
body.softorbit-apk-layout-one .hsware-sidebar-heading > a:focus-visible {
  border-color: var(--apk1-accent-alt) !important;
  background: var(--apk1-accent-soft) !important;
  color: var(--apk1-accent-alt) !important;
}
body.softorbit-apk-layout-one .hsware-directory-pagination > a.page-numbers,
body.softorbit-apk-layout-one .hsware-directory-pagination > span.page-numbers,
body.softorbit-apk-layout-one .sb-pagination .page-numbers {
  border-color: var(--apk1-border) !important;
  background: var(--apk1-bg-base) !important;
  color: var(--apk1-text-medium) !important;
}
body.softorbit-apk-layout-one .hsware-directory-pagination > span.page-numbers.current,
body.softorbit-apk-layout-one .hsware-directory-pagination > a.page-numbers:hover,
body.softorbit-apk-layout-one .sb-pagination .page-numbers.current,
body.softorbit-apk-layout-one .sb-pagination .page-numbers:hover {
  border-color: var(--apk1-accent) !important;
  background: var(--apk1-accent) !important;
  color: var(--apk1-on-accent) !important;
}

/* --------------------------------------------------------------------------
 * Software single page.
 * -------------------------------------------------------------------------- */
body.softorbit-apk-layout-one.kadence-downly-software-single,
body.softorbit-apk-layout-one.kadence-downly-software-single .content-bg,
body.softorbit-apk-layout-one.kadence-downly-software-single .site-main,
body.softorbit-apk-layout-one.kadence-downly-software-single .kadence-downloadable-single-main,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 {
  background: var(--apk1-bg-base) !important;
}

/* Stable compact hero and old-version button layout. */
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-primary,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-old-download {
  min-height: 44px !important;
  border-radius: 999px !important;
  padding: 0 20px !important;
  line-height: 1 !important;
}
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-old-download {
  display: inline-flex !important;
  min-width: 176px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
}
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-old-download .dsoft-apk1-button-copy {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-old-download .dsoft-apk1-button-meta {
  margin: 0;
  padding-left: 8px;
  border-left: 1px solid color-mix(in srgb, var(--apk1-on-accent) 32%, transparent) !important;
  font-size: 10px;
  line-height: 1;
}

/* Requirements remain compact accent mini-strips, now fully palette-driven. */
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-req-card {
  border-color: var(--apk1-accent) !important;
  background: var(--apk1-accent) !important;
  color: var(--apk1-on-accent) !important;
  box-shadow: none !important;
}
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-req-card > small,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-req-card b { color: var(--apk1-on-accent) !important; }
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-req-card span {
  color: color-mix(in srgb, var(--apk1-on-accent) 78%, transparent) !important;
}
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-req-card > div {
  border-bottom-color: color-mix(in srgb, var(--apk1-on-accent) 18%, transparent) !important;
}

/* Hero information card = Base background, Contrast text. */
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-stats,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-stats > div {
  background: var(--apk1-bg-base) !important;
  border-color: var(--apk1-border) !important;
}
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-stats small { color: var(--apk1-text-subtle) !important; }
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-stats strong { color: var(--apk1-text-strongest) !important; }

/* Feature tones use Accent Complement + Notice roles, never random colors. */
body.softorbit-apk-layout-one .dsoft-apk1-features article.tone-0 { background: var(--apk1-complement-soft) !important; }
body.softorbit-apk-layout-one .dsoft-apk1-features article.tone-1 { background: var(--apk1-info-soft) !important; }
body.softorbit-apk-layout-one .dsoft-apk1-features article.tone-2 { background: var(--apk1-alert-soft) !important; }
body.softorbit-apk-layout-one .dsoft-apk1-features article.tone-3 { background: var(--apk1-success-soft) !important; }
body.softorbit-apk-layout-one .dsoft-apk1-features article > span { background: var(--apk1-bg-base) !important; color: var(--apk1-text-medium) !important; }

/* V6.5 reference FAQ uses neutral text/chevrons; Accent is reserved for actions. */
body.softorbit-apk-layout-one .dsoft-apk1-faqs .dsoft-apk1-faq-question {
  background: transparent !important;
  color: var(--apk1-text-strongest) !important;
}
body.softorbit-apk-layout-one .dsoft-apk1-faqs .dsoft-apk1-faq-toggle,
body.softorbit-apk-layout-one .dsoft-apk1-faqs details[open] .dsoft-apk1-faq-toggle {
  background: transparent !important;
  color: var(--apk1-text-subtle) !important;
}

/* Lower CTA is a Base section so its download button can use the same primary action contract. */
body.softorbit-apk-layout-one .dsoft-apk1-cta {
  background: var(--apk1-bg-subtle) !important;
  color: var(--apk1-text-strong) !important;
  border: 1px solid var(--apk1-border) !important;
}
body.softorbit-apk-layout-one .dsoft-apk1-cta > div > span {
  background: var(--apk1-accent-soft) !important;
  color: var(--apk1-accent-alt) !important;
}
body.softorbit-apk-layout-one .dsoft-apk1-cta h2 { color: var(--apk1-text-strongest) !important; }
body.softorbit-apk-layout-one .dsoft-apk1-cta p { color: var(--apk1-text-medium) !important; }

/* Comment controls use Contrast for text and Accent for focus/submit. */
body.softorbit-apk-layout-one .dsoft-apk1-comments form.comment-form label { color: var(--apk1-text-strong) !important; }
body.softorbit-apk-layout-one .dsoft-apk1-comments .comment-notes,
body.softorbit-apk-layout-one .dsoft-apk1-comments .logged-in-as { color: var(--apk1-text-subtle) !important; }
body.softorbit-apk-layout-one .dsoft-apk1-comments textarea,
body.softorbit-apk-layout-one .dsoft-apk1-comments input[type="text"],
body.softorbit-apk-layout-one .dsoft-apk1-comments input[type="email"],
body.softorbit-apk-layout-one .dsoft-apk1-comments input[type="url"] {
  border-color: var(--apk1-border-strong) !important;
  background: var(--apk1-bg-base) !important;
  color: var(--apk1-text-strong) !important;
}
body.softorbit-apk-layout-one .dsoft-apk1-comments textarea:focus,
body.softorbit-apk-layout-one .dsoft-apk1-comments input:focus {
  border-color: var(--apk1-accent) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--apk1-accent) 14%, transparent) !important;
}


/* Notice/status roles. */
body.softorbit-apk-layout-one .dsoft-apk1-trust span:first-child,
body.softorbit-apk-layout-one .apk1-verified,
body.softorbit-apk-layout-one .apk1-update-badge { color: var(--apk1-success) !important; }
body.softorbit-apk-layout-one .apk1-update-badge { background: var(--apk1-bg-base) !important; border-color: var(--apk1-border) !important; }

@media (max-width: 640px) {
  body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-old-download {
    min-width: 0;
    width: auto !important;
    max-width: 100%;
  }
}

/* The CTA previously had a higher-specificity legacy metadata color. Keep its
 * version/size text on the same Palette 8 foreground as every primary button. */
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-download-stack-cta .dsoft-apk1-button-meta {
  border-left-color: color-mix(in srgb, var(--apk1-on-accent) 32%, transparent) !important;
  color: color-mix(in srgb, var(--apk1-on-accent) 82%, transparent) !important;
}

/* Directory final-specificity guards for legacy !important rules. */
body.softorbit-apk-layout-one .hsware-software-directory .hsware-directory-pagination > a.page-numbers,
body.softorbit-apk-layout-one .hsware-software-directory .hsware-directory-pagination > span.page-numbers {
  border-color: var(--apk1-border) !important;
  background: var(--apk1-bg-base) !important;
  color: var(--apk1-text-medium) !important;
}
body.softorbit-apk-layout-one .hsware-software-directory .hsware-directory-pagination > span.page-numbers.current,
body.softorbit-apk-layout-one .hsware-software-directory .hsware-directory-pagination > a.page-numbers:hover {
  border-color: var(--apk1-accent) !important;
  background: var(--apk1-accent) !important;
  color: var(--apk1-on-accent) !important;
}
body.softorbit-apk-layout-one .hsware-software-directory .hsware-category-toggle:hover,
body.softorbit-apk-layout-one .hsware-software-directory .hsware-category-toggle:focus-visible,
body.softorbit-apk-layout-one .hsware-software-directory .hsware-category-toggle[aria-expanded="true"] {
  border-color: var(--apk1-accent-border) !important;
  background: var(--apk1-accent-soft) !important;
  color: var(--apk1-accent-alt) !important;
}

/* Remaining shared APK Layout One action/badge surfaces. */
body.softorbit-apk-layout-one .apk1-home .sb-section-meta span {
  border-color: var(--apk1-accent-border) !important;
  background: var(--apk1-accent-soft) !important;
  color: var(--apk1-accent-alt) !important;
}
body.softorbit-apk-layout-one main .wp-element-button,
body.softorbit-apk-layout-one main .wp-block-button__link {
  border-color: var(--apk1-accent) !important;
  background: var(--apk1-accent) !important;
  color: var(--apk1-on-accent) !important;
}
body.softorbit-apk-layout-one main .wp-element-button:hover,
body.softorbit-apk-layout-one main .wp-element-button:focus-visible,
body.softorbit-apk-layout-one main .wp-block-button__link:hover,
body.softorbit-apk-layout-one main .wp-block-button__link:focus-visible {
  border-color: var(--apk1-accent-alt) !important;
  background: var(--apk1-accent-alt) !important;
  color: var(--apk1-on-accent) !important;
}
body.softorbit-apk-layout-one .sb-carousel-controls > button:hover,
body.softorbit-apk-layout-one .sb-post-slider-controls button:hover:not(:disabled) {
  border-color: var(--apk1-accent) !important;
  background: var(--apk1-accent) !important;
  color: var(--apk1-on-accent) !important;
}

/* Hero verification pill is a branded highlight, so it follows Accent just like
 * the active category/search controls: Palette 1 foreground, accent-derived soft
 * surface/border. Verified statuses inside software cards can still use Success. */
body.softorbit-apk-layout-one .apk1-verified-pill {
  border-color: var(--apk1-accent-border) !important;
  background: var(--apk1-accent-soft) !important;
  color: var(--apk1-accent) !important;
}
body.softorbit-apk-layout-one .apk1-verified-pill span { color: var(--apk1-accent) !important; }
body.softorbit-apk-layout-one .apk1-popular a:hover,
body.softorbit-apk-layout-one .apk1-popular a:focus-visible {
  border-color: var(--apk1-accent-border) !important;
  background: var(--apk1-accent-soft) !important;
  color: var(--apk1-accent-alt) !important;
}

/* ========================================================================== 
 * HSWare 5.1.6 — APK Layout One single-page semantic finishing layer.
 *
 * Requirements: Contrast palette owns the dark surface; Base palette owns the
 * readable foreground.  The APK Layout One single layout no longer supplies a
 * custom font family, so Kadence typography is inherited from the site.
 *
 * Comments: the submit control uses the same Accent -> Accent Alt -> Base
 * foreground contract as every other primary action.  #comments selectors are
 * deliberately included to outrank the legacy comment stylesheet.
 *
 * Bottom download CTA: Accent 1 + Accent 2 form the section gradient, while
 * its pill/button are Base surfaces with Contrast text.
 * ========================================================================== */

/* Let the selected Kadence typography flow through the complete APK Layout One
 * single-software experience instead of the legacy child-theme font stack. */
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 {
  font-family: inherit !important;
}
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 button,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 input,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 textarea,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 select {
  font-family: inherit !important;
}

/* Requirements mini-strips: dark Contrast surface + light Base foreground. */
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-req-card {
  border-color: color-mix(in srgb, var(--apk1-text-strong) 82%, var(--apk1-text-strongest)) !important;
  background: linear-gradient(
    145deg,
    var(--apk1-text-strongest) 0%,
    var(--apk1-text-strong) 100%
  ) !important;
  color: var(--apk1-bg-base) !important;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--apk1-text-strongest) 10%, transparent) !important;
}
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-req-card > small {
  color: var(--apk1-bg-lighter) !important;
  font-family: inherit !important;
  opacity: .82 !important;
}
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-req-card > div {
  border-bottom-color: color-mix(in srgb, var(--apk1-bg-base) 18%, transparent) !important;
  color: var(--apk1-bg-base) !important;
  font-family: inherit !important;
}
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-req-card span {
  color: color-mix(in srgb, var(--apk1-bg-lighter) 78%, transparent) !important;
}
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-req-card b {
  color: var(--apk1-bg-base) !important;
  font-family: inherit !important;
}

/* Comments: override the old neutral gradient with Kadence Accent colors. */
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1-comments #comments .submit,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1-comments #comments input[type="submit"],
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1-comments #comments button[type="submit"],
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1-comments .comments-area .submit,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1-comments .comments-area input[type="submit"],
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1-comments .comments-area button[type="submit"] {
  border-color: var(--apk1-accent) !important;
  background: var(--apk1-accent) !important;
  color: var(--apk1-on-accent) !important;
  box-shadow: none !important;
}
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1-comments #comments .submit:hover,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1-comments #comments input[type="submit"]:hover,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1-comments #comments button[type="submit"]:hover,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1-comments #comments .submit:focus-visible,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1-comments #comments input[type="submit"]:focus-visible,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1-comments #comments button[type="submit"]:focus-visible,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1-comments .comments-area .submit:hover,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1-comments .comments-area input[type="submit"]:hover,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1-comments .comments-area button[type="submit"]:hover,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1-comments .comments-area .submit:focus-visible,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1-comments .comments-area input[type="submit"]:focus-visible,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1-comments .comments-area button[type="submit"]:focus-visible {
  border-color: var(--apk1-accent-alt) !important;
  background: var(--apk1-accent-alt) !important;
  color: var(--apk1-on-accent) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--apk1-accent) 15%, transparent) !important;
}
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1-comments #comments .dsoft-comment-submit-icon,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1-comments #comments .dsoft-comment-submit-icon svg,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1-comments .comments-area .dsoft-comment-submit-icon,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1-comments .comments-area .dsoft-comment-submit-icon svg {
  color: inherit !important;
  stroke: currentColor !important;
}

/* Bottom CTA: branded Accent gradient, then Base surfaces + Contrast text. */
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-cta {
  position: relative;
  isolation: isolate;
  border-color: color-mix(in srgb, var(--apk1-accent-alt) 36%, transparent) !important;
  background: linear-gradient(
    135deg,
    var(--apk1-accent) 0%,
    color-mix(in srgb, var(--apk1-accent) 55%, var(--apk1-accent-alt)) 48%,
    var(--apk1-accent-alt) 100%
  ) !important;
  color: var(--apk1-bg-base) !important;
  box-shadow: 0 18px 42px color-mix(in srgb, var(--apk1-accent-alt) 18%, transparent) !important;
}
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 250px;
  height: 250px;
  top: -155px;
  right: -65px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--apk1-bg-base) 13%, transparent);
  filter: blur(2px);
  pointer-events: none;
}
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-cta > div > span {
  border: 1px solid color-mix(in srgb, var(--apk1-bg-base) 72%, transparent) !important;
  background: var(--apk1-bg-lighter) !important;
  color: var(--apk1-text-strong) !important;
  box-shadow: 0 3px 12px color-mix(in srgb, var(--apk1-text-strongest) 8%, transparent) !important;
}
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-cta h2 {
  color: var(--apk1-bg-base) !important;
}
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-cta p {
  color: color-mix(in srgb, var(--apk1-bg-lighter) 88%, transparent) !important;
}
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-download-stack-cta button {
  border: 1px solid var(--apk1-bg-lighter) !important;
  background: var(--apk1-bg-base) !important;
  color: var(--apk1-text-strongest) !important;
  box-shadow: 0 7px 18px color-mix(in srgb, var(--apk1-text-strongest) 12%, transparent) !important;
}
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-download-stack-cta button:hover,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-download-stack-cta button:focus-visible {
  border-color: var(--apk1-bg-subtle) !important;
  background: var(--apk1-bg-lighter) !important;
  color: var(--apk1-text-strongest) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--apk1-bg-base) 25%, transparent),
              0 9px 22px color-mix(in srgb, var(--apk1-text-strongest) 15%, transparent) !important;
}
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-download-stack-cta .dsoft-apk1-button-copy,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-download-stack-cta [data-dsoft-button-label] {
  color: inherit !important;
}
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-download-stack-cta .dsoft-apk1-button-meta {
  border-left-color: color-mix(in srgb, var(--apk1-text-strongest) 22%, transparent) !important;
  color: var(--apk1-text-medium) !important;
}



/* --------------------------------------------------------------------------
 * HSWare V5.1.7 — APK Layout One artwork breathing room
 *
 * Software logos must sit inside their framed surface instead of touching the
 * border. These rules intentionally live in the late-loaded palette contract
 * so homepage, directory/category, related cards and the single hero all use
 * one consistent component treatment while still following Kadence Base and
 * Contrast palette colors.
 * -------------------------------------------------------------------------- */
body.softorbit-apk-layout-one .apk1-card-logo.has-image {
  box-sizing: border-box !important;
  padding: 7px !important;
  overflow: hidden !important;
  border: 1px solid var(--apk1-border) !important;
  background: var(--apk1-bg-base) !important;
  box-shadow: 0 1px 3px color-mix(in srgb, var(--apk1-text-strongest) 5%, transparent) !important;
}
body.softorbit-apk-layout-one .apk1-card-logo.has-image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 10px !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Compact directory cards use the same frame with slightly tighter spacing. */
body.softorbit-apk-layout-one .hsware-software-directory .apk1-software-card.hsware-compact-software-card .apk1-card-logo.has-image {
  padding: 6px !important;
}

/* Large software hero artwork: preserve the 250/200/150px outer frame and add
   proportional inner breathing room instead of shrinking the frame itself. */
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-logo,
body.kadence-downly-software-single.softorbit-apk-layout-one .dsoft-apk1 .dsoft-apk1-logo {
  box-sizing: border-box !important;
  padding: clamp(12px, 1.4vw, 20px) !important;
  overflow: hidden !important;
  border: 1px solid var(--apk1-border) !important;
  background: var(--apk1-bg-base) !important;
  box-shadow: 0 8px 24px -4px color-mix(in srgb, var(--apk1-text-strongest) 6%, transparent) !important;
}
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-logo img,
body.kadence-downly-software-single.softorbit-apk-layout-one .dsoft-apk1 .dsoft-apk1-logo img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 12px !important;
  background: transparent !important;
  box-shadow: none !important;
}

@media (max-width: 900px) and (min-width: 641px) {
  body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-logo,
  body.kadence-downly-software-single.softorbit-apk-layout-one .dsoft-apk1 .dsoft-apk1-logo {
    padding: 16px !important;
  }
}
@media (max-width: 640px) {
  body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-logo,
  body.kadence-downly-software-single.softorbit-apk-layout-one .dsoft-apk1 .dsoft-apk1-logo {
    padding: 12px !important;
  }
}

/* V6.6.0 — preserve the new hero/release button geometry while retaining Kadence palette colors. */
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-head-actions .dsoft-apk1-primary {
  min-height: 46px !important;
  padding: 0 19px !important;
  border-radius: 13px !important;
}
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-release-download.dsoft-apk1-primary,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-release-link.dsoft-apk1-primary {
  min-height: 38px !important;
  padding: 0 12px !important;
  border-radius: 11px !important;
}


/* V6.7.0 — final APK hero button contract after Kadence palette overrides. */
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-titlecopy>.dsoft-apk1-head-actions .dsoft-apk1-primary,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-titlecopy>.dsoft-apk1-head-actions .dsoft-apk1-google-play{
  width:196px!important;min-width:196px!important;min-height:50px!important;padding:0 18px!important;border-radius:14px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;text-align:center!important;
}
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-titlecopy>.dsoft-apk1-head-actions .dsoft-apk1-google-play{
  border-color:var(--apk1-text-strongest)!important;background:var(--apk1-text-strongest)!important;color:var(--apk1-bg-base)!important;
}
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-titlecopy>.dsoft-apk1-head-actions .dsoft-apk1-google-play:hover,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-titlecopy>.dsoft-apk1-head-actions .dsoft-apk1-google-play:focus-visible{
  border-color:var(--apk1-text-strongest)!important;background:var(--apk1-text-strong)!important;color:var(--apk1-bg-base)!important;
}
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-titlecopy>.dsoft-apk1-head-actions .dsoft-apk1-primary .dsoft-apk1-button-icon svg,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-titlecopy>.dsoft-apk1-head-actions .dsoft-apk1-primary .dsoft-apk1-button-icon svg *,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-release-download .dsoft-apk1-button-icon svg,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-release-download .dsoft-apk1-button-icon svg *,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-release-link .dsoft-apk1-button-icon svg,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-release-link .dsoft-apk1-button-icon svg *{
  fill:currentColor!important;stroke:none!important;
}
@media (max-width:640px){
  body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-titlecopy>.dsoft-apk1-head-actions .dsoft-apk1-primary,
  body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-titlecopy>.dsoft-apk1-head-actions .dsoft-apk1-google-play{width:100%!important;min-width:0!important}
}


/* V6.7.1 — final simple hero action contract after Kadence palette overrides. */
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-titlecopy>.dsoft-apk1-head-actions .dsoft-apk1-primary,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-titlecopy>.dsoft-apk1-head-actions .dsoft-apk1-google-play{
  width:176px!important;min-width:176px!important;min-height:44px!important;padding:0 16px!important;border-radius:10px!important;
  box-shadow:none!important;transform:none!important;filter:none!important;
}
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-titlecopy>.dsoft-apk1-head-actions .dsoft-apk1-google-play{
  border-color:var(--apk1-border)!important;background:var(--apk1-bg-base)!important;color:var(--apk1-text-strongest)!important;
}
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-titlecopy>.dsoft-apk1-head-actions .dsoft-apk1-google-play:hover,
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-titlecopy>.dsoft-apk1-head-actions .dsoft-apk1-google-play:focus-visible{
  border-color:var(--apk1-text-subtle)!important;background:var(--apk1-bg-subtle)!important;color:var(--apk1-text-strongest)!important;
}
body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-titlecopy>.dsoft-apk1-head-actions .dsoft-apk1-button-icon{
  width:18px!important;height:18px!important;flex-basis:18px!important;border-radius:0!important;background:transparent!important;
}
@media (max-width:640px){
  body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-titlecopy>.dsoft-apk1-head-actions .dsoft-apk1-primary,
  body.softorbit-apk-layout-one.kadence-downly-software-single .dsoft-apk1 .dsoft-apk1-titlecopy>.dsoft-apk1-head-actions .dsoft-apk1-google-play{width:100%!important;min-width:0!important}
}
