/*
Theme Name: KRINTECH Block Theme
Theme URI: https://krintech.pl
Author: KRINTECH
Author URI: https://krintech.pl
Description: W pelni blokowy i edytowalny motyw WordPress dla strony KRINTECH.
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 8.1
Version: 1.0.0
Text Domain: krintech
*/

/*
 * Theme styles that complement theme.json.
 * Keep section-level visuals here so patterns/templates stay lightweight.
 */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.krintech-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.krintech-brand img {
  width: auto;
  height: 55px;
  display: block;
}

.krintech-brand-wrap {
  text-align: center;
}

.krintech-header-row {
  row-gap: 10px;
}

/* ============================================================
   MOBILE / RESPONSIVE — header & navigation
   ============================================================ */
@media (max-width: 781px) {
  /* Header row: stack items, center everything */
  .krintech-header-row {
    flex-direction: row;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: nowrap;
  }

  /* Mobile hamburger menu: center overlay menu */
  .wp-block-navigation__responsive-container.is-menu-open {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 80px;
  }

  .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    text-align: center;
  }

  .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation-item {
    width: 100%;
    text-align: center;
  }

  .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation-item__content {
    display: block;
    text-align: center;
    font-size: 1.15rem;
    padding: 10px 0;
  }

  /* BIP logo smaller on mobile */
  .krintech-bip-svg {
    height: 30px;
    max-width: 100px;
  }

  /* Brand logo smaller on mobile */
  .krintech-brand img {
    height: 42px;
  }
}

.krintech-main-nav .wp-block-navigation-item__content {
  color: var(--wp--preset--color--foreground);
}

.krintech-main-nav .wp-block-navigation-item__content:hover,
.krintech-main-nav .wp-block-navigation-item__content:focus-visible {
  color: var(--wp--preset--color--primary);
}

.krintech-bip-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
}

.krintech-bip-link--img {
  border: none;
  background: transparent;
  padding: 0;
  border-radius: 0;
  width: auto;
  height: auto;
}

.krintech-bip-svg {
  display: block;
  height: 40px;
  width: auto;
  max-width: 130px;
}

.krintech-brand--footer img {
  height: 65px;
  margin-inline: auto;
}

.wp-site-blocks {
  background: #ffffff;
}

/* Remove inherited top-level flow gap between template parts and main content. */
.wp-site-blocks > * + * {
  margin-block-start: 0;
}

.wp-site-blocks main {
  isolation: isolate;
}

.wp-block-heading {
  letter-spacing: -0.02em;
}

.wp-block-paragraph {
  max-width: 72ch;
}

.is-style-krintech-card {
  border: 1px solid var(--wp--preset--color--border);
  border-radius: 12px;
  background: var(--wp--preset--color--card);
  box-shadow: 0 1px 2px rgba(30, 58, 138, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.is-style-krintech-card:hover {
  transform: none;
  box-shadow: 0 12px 28px rgba(30, 58, 138, 0.14);
  border-color: color-mix(in srgb, var(--wp--preset--color--primary) 45%, var(--wp--preset--color--border));
}

.krintech-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  margin-inline: auto;
  background: rgba(30, 64, 175, 0.12);
  background: color-mix(in srgb, var(--wp--preset--color--primary) 12%, white);
  color: var(--wp--preset--color--primary);
}

.krintech-icon-badge svg {
  width: 24px;
  height: 24px;
  display: block;
  stroke: currentColor;
  fill: none;
}

.krintech-icon-badge svg * {
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  vector-effect: non-scaling-stroke;
}

.krintech-icon-badge:empty::before {
  content: "";
  width: 24px;
  height: 24px;
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px 24px;
}

#solutions .wp-block-column:nth-child(1) .krintech-icon-badge:empty::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e40af' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M8 20h8'/%3E%3Cpath d='M12 16v4'/%3E%3C/svg%3E");
}

#solutions .wp-block-column:nth-child(2) .krintech-icon-badge:empty::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e40af' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 7v5c0 5 3.5 8.5 8 9 4.5-.5 8-4 8-9V7z'/%3E%3C/svg%3E");
}

#solutions .wp-block-column:nth-child(3) .krintech-icon-badge:empty::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e40af' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 3 14h7l-1 8 10-12h-7z'/%3E%3C/svg%3E");
}

#solutions .wp-block-column:nth-child(4) .krintech-icon-badge:empty::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e40af' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3Ccircle cx='16' cy='8' r='3'/%3E%3Cpath d='M2 20c0-3 2.5-5 6-5s6 2 6 5'/%3E%3Cpath d='M10 20c.5-2.5 2.5-4 5-4 3.5 0 6 2 6 5'/%3E%3C/svg%3E");
}

#legal .wp-block-column:nth-child(1) .krintech-icon-badge:empty::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e40af' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E");
}

.krintech-legal-meta {
  border-radius: 12px;
  border: 1px solid var(--wp--preset--color--border);
  background: var(--wp--preset--color--muted);
}

.krintech-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.krintech-contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.krintech-contact-list svg {
  width: 20px;
  height: 20px;
  color: var(--wp--preset--color--primary);
  flex-shrink: 0;
}

.krintech-contact-list-core {
  margin: 0;
  padding-left: 1.1rem;
}

.krintech-contact-list-core li {
  margin-bottom: 0.75rem;
  color: var(--wp--preset--color--foreground);
}

.wp-block-button.is-style-outline > .wp-block-button__link {
  border-color: var(--wp--preset--color--border);
}

#solutions .wp-block-columns {
  align-items: stretch;
}

#solutions .wp-block-column {
  display: flex;
}

#solutions .wp-block-column > .wp-block-group.is-style-krintech-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

#solutions .wp-block-column > .wp-block-group.is-style-krintech-card .wp-block-heading {
  min-height: 2.8em;
}

.krintech-solutions-cta .wp-block-button__link {
  min-width: 320px;
  padding-inline: 2.5rem;
}

@media (max-width: 680px) {
  .krintech-solutions-cta .wp-block-button__link {
    min-width: 100%;
  }
}

#legal .krintech-legal-action {
  width: 100%;
}

#legal .krintech-legal-action .wp-block-button__link {
  width: 100%;
  text-align: center;
}

.krintech-info-pills {
  margin-top: var(--wp--preset--spacing--6);
  gap: 10px;
}

.krintech-info-pills .wp-block-button__link {
  border-radius: 999px;
  padding-inline: 1rem;
}

.krintech-info-cluster {
  margin-top: var(--wp--preset--spacing--8);
}

.krintech-info-cluster .wp-block-heading {
  margin-bottom: var(--wp--preset--spacing--2);
}

.krintech-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--wp--preset--spacing--6);
  align-items: stretch;
}

.krintech-info-cluster-title {
  grid-column: 1 / -1;
  margin: 0;
  margin-top: var(--wp--preset--spacing--2);
}

.krintech-info-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.krintech-info-card > .wp-block-paragraph {
  flex: 1;
}

.krintech-info-card .wp-block-buttons,
.krintech-info-card .wp-block-button,
.krintech-info-card .wp-block-button__link,
.krintech-info-link,
.krintech-info-link .wp-block-button__link {
  width: 100%;
}

.krintech-info-card .wp-block-button__link {
  text-align: center;
}

.krintech-info-cta {
  background: #f5f8fd;
  border-color: color-mix(in srgb, var(--wp--preset--color--primary) 25%, var(--wp--preset--color--border));
}

.krintech-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.krintech-footer-links a {
  color: var(--wp--preset--color--muted-foreground);
  text-decoration: none;
}

.krintech-footer-links a:hover,
.krintech-footer-links a:focus-visible {
  color: var(--wp--preset--color--primary);
  text-decoration: underline;
}

.krintech-page-columns {
  align-items: flex-start;
}

.krintech-page-aside {
  position: sticky;
  top: 96px;
}

.krintech-page-links {
  margin: 0;
  padding-left: 1.1rem;
}

.krintech-page-links li {
  margin-bottom: 0.55rem;
}

@media (max-width: 1024px) {
  .krintech-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .krintech-page-aside {
    position: static;
  }
}

@media (max-width: 680px) {
  .krintech-info-grid {
    grid-template-columns: 1fr;
  }

  .krintech-info-pills {
    justify-content: center;
  }

  .krintech-main-nav {
    width: 100%;
  }

  .krintech-main-nav .wp-block-navigation__container {
    justify-content: flex-start;
  }
}

#contact .wpcf7 {
  width: 100%;
}

#contact .wpcf7-form {
  display: grid;
  gap: 12px;
}

#contact .wpcf7-form p {
  margin: 0;
}

#contact .wpcf7-form label {
  display: block;
  font-weight: 600;
  color: var(--wp--preset--color--foreground);
  margin-bottom: 6px;
}

#contact .wpcf7-form-control-wrap {
  display: block;
  margin-top: 6px;
}

#contact input[type="text"],
#contact input[type="email"],
#contact textarea {
  width: 100%;
  border: 1px solid var(--wp--preset--color--border);
  border-radius: 10px;
  background: #ffffff;
  padding: 12px 14px;
  font: inherit;
  color: var(--wp--preset--color--foreground);
  box-sizing: border-box;
}

#contact textarea {
  min-height: 140px;
  resize: vertical;
}

#contact input[type="text"]:focus,
#contact input[type="email"]:focus,
#contact textarea:focus {
  outline: none;
  border-color: var(--wp--preset--color--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--wp--preset--color--primary) 22%, transparent);
}

#contact .wpcf7-submit {
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: var(--wp--preset--color--primary);
  color: #ffffff;
  padding: 12px 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.12s ease, filter 0.18s ease;
}

#contact .wpcf7-submit:hover {
  filter: brightness(0.96);
}

#contact .wpcf7-submit:active {
  transform: translateY(1px);
}

.krintech-partners-grid .krintech-partner-card {
  border: 1px solid var(--wp--preset--color--border);
  border-radius: 12px;
  background: #ffffff;
  height: 100%;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  box-shadow: 0 1px 2px rgba(30, 58, 138, 0.06);
}

.krintech-partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1.5rem;
}

/* Gutenberg flow layout injects top margins between siblings.
   Reset them in partner grid so first row cards start at the same top line. */
.krintech-partners-grid.is-layout-flow > *,
.krintech-partners-grid > .krintech-partner-card,
.krintech-partners-grid > .wp-block-group {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
}

.krintech-partners-grid > * + * {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
}

@media (max-width: 1024px) {
  .krintech-partners-grid > .krintech-partner-card {
    flex-basis: calc(50% - 0.75rem);
    max-width: calc(50% - 0.75rem);
  }
}

@media (max-width: 680px) {
  .krintech-partners-grid > .krintech-partner-card {
    flex-basis: 100%;
    max-width: 100%;
  }
}

.krintech-partners-grid > .krintech-partner-card {
  flex: 0 1 calc(33.333% - 1rem);
  max-width: calc(33.333% - 1rem);
  min-width: 260px;
  display: flex;
}

.krintech-partner-logo {
  margin: 0;
  min-height: 78px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.krintech-partner-logo img {
  display: block;
  max-height: 64px;
  max-width: 220px;
  height: auto;
  width: auto;
  object-fit: contain;
}

.krintech-partner-link {
  color: var(--wp--preset--color--foreground);
  text-decoration: none;
  font-weight: 700;
}

.krintech-partner-link:hover,
.krintech-partner-link:focus-visible {
  color: var(--wp--preset--color--primary);
  text-decoration: underline;
}

.krintech-partners-carousel {
  width: 100%;
}

.krintech-partners-viewport {
  overflow: hidden;
}

.krintech-partners-carousel .krintech-partners-grid {
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 1rem;
  transition: transform 0.35s ease;
}

.krintech-partners-carousel .krintech-partners-grid > .krintech-partner-card {
  flex: 0 0 calc((100% - 2rem) / 3);
  max-width: none;
  min-width: 0;
  margin-top: 0 !important;
}

.krintech-partners-controls {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.krintech-carousel-nav {
  width: 36px;
  height: 36px;
  border: 1px solid var(--wp--preset--color--border);
  border-radius: 999px;
  background: #ffffff;
  color: var(--wp--preset--color--foreground);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.krintech-carousel-nav:hover,
.krintech-carousel-nav:focus-visible {
  border-color: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--primary);
}

.krintech-carousel-nav:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

@media (max-width: 1024px) {
  .krintech-partners-carousel .krintech-partners-grid > .krintech-partner-card {
    flex-basis: calc((100% - 1rem) / 2);
  }
}

@media (max-width: 680px) {
  .krintech-partners-carousel .krintech-partners-grid > .krintech-partner-card {
    flex-basis: 100%;
  }
}

/* Premium business visual layer. */
:root {
  --krintech-premium-ink: #102746;
  --krintech-premium-ink-strong: #0f315f;
  --krintech-premium-accent: #2a72da;
  --krintech-premium-accent-soft: #e8f2ff;
  --krintech-premium-border: #d7e2ef;
  --krintech-premium-surface: #ffffff;
  --krintech-premium-shadow-sm: 0 3px 10px rgba(16, 39, 70, 0.06);
  --krintech-premium-shadow-lg: 0 8px 18px rgba(16, 39, 70, 0.1);
}

body {
  color: var(--krintech-premium-ink);
  background: #f7f9fc;
}

.wp-site-blocks {
  background: #ffffff;
}

.wp-block-button__link {
  border-radius: 12px;
  letter-spacing: 0.01em;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.wp-block-button:not(.is-style-outline) > .wp-block-button__link {
  background: #154ea6;
  border: 1px solid #154ea6;
  box-shadow: none;
}

.wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover,
.wp-block-button:not(.is-style-outline) > .wp-block-button__link:focus-visible {
  background: #123f85;
  border-color: #123f85;
  box-shadow: none;
}

.wp-block-button.is-style-outline > .wp-block-button__link {
  background: #ffffff;
  border: 1px solid var(--krintech-premium-border);
  color: var(--krintech-premium-ink);
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover,
.wp-block-button.is-style-outline > .wp-block-button__link:focus-visible {
  background: #f8fbff;
  border-color: color-mix(in srgb, var(--krintech-premium-accent) 48%, var(--krintech-premium-border));
  color: var(--krintech-premium-ink-strong);
}

.krintech-header-shell {
  background: #ffffff !important;
  box-shadow: 0 2px 8px rgba(16, 39, 70, 0.07);
  position: relative;
}

.krintech-header-shell::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: #d7e2ef;
}

.krintech-header-row {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  gap: 0.8rem;
}

.krintech-main-nav .wp-block-navigation__container {
  gap: 0.15rem;
}

.krintech-main-nav .wp-block-navigation-item__content {
  color: var(--krintech-premium-ink);
  border-radius: 999px;
  padding: 0.46rem 0.9rem;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.krintech-main-nav .wp-block-navigation-item__content:hover,
.krintech-main-nav .wp-block-navigation-item__content:focus-visible {
  color: var(--krintech-premium-ink-strong);
  background: rgba(21, 78, 166, 0.1);
}

#home,
#about,
#solutions,
#company-information,
#legal,
#contact {
  position: relative;
  isolation: isolate;
}

#home {
  overflow: hidden;
  background: #eef3f9;
}

#home .wp-block-heading,
#home .wp-block-paragraph {
  color: var(--wp--preset--color--foreground);
}

#home .has-primary-color {
  color: var(--wp--preset--color--primary) !important;
}

#home .has-muted-foreground-color {
  color: var(--wp--preset--color--muted-foreground) !important;
}

#home .wp-block-button.is-style-outline > .wp-block-button__link {
  background: #ffffff;
  border-color: var(--krintech-premium-border);
  color: var(--krintech-premium-ink);
}

#home .wp-block-button.is-style-outline > .wp-block-button__link:hover,
#home .wp-block-button.is-style-outline > .wp-block-button__link:focus-visible {
  background: #f8fbff;
  border-color: var(--krintech-premium-border);
}

#home .wp-block-button:not(.is-style-outline) > .wp-block-button__link {
  background: #154ea6;
  color: #ffffff;
  border-color: #154ea6;
  box-shadow: none;
}

#about,
#contact {
  background: #f5f8fd;
}

#solutions,
#company-information,
#legal {
  background: #ffffff;
}

.is-style-krintech-card {
  border: 1px solid var(--krintech-premium-border);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--krintech-premium-shadow-sm);
  overflow: hidden;
}

.is-style-krintech-card::before {
  content: none;
}

.is-style-krintech-card:hover {
  transform: none;
  border-color: color-mix(in srgb, var(--krintech-premium-accent) 46%, var(--krintech-premium-border));
  box-shadow: var(--krintech-premium-shadow-sm);
}

.krintech-icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: #edf3fb;
  border: 1px solid color-mix(in srgb, var(--krintech-premium-accent) 30%, #ffffff);
  box-shadow: none;
  color: var(--krintech-premium-ink-strong);
}

.krintech-info-pills .wp-block-button__link {
  background: #ffffff;
  border: 1px solid var(--krintech-premium-border);
}

.krintech-info-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--wp--preset--spacing--6);
}

.krintech-info-grid .krintech-info-cluster-title {
  flex: 0 0 100%;
}

.krintech-info-grid .krintech-info-card {
  flex: 0 1 320px;
  width: 100%;
  max-width: 320px;
}

.krintech-info-cluster-title {
  text-align: center;
  color: var(--krintech-premium-ink-strong);
  font-size: clamp(1.1rem, 1.05rem + 0.25vw, 1.32rem);
  border-bottom: 1px solid color-mix(in srgb, var(--krintech-premium-accent) 34%, var(--krintech-premium-border));
  padding-bottom: 0.6rem;
}

.krintech-info-cta {
  background: #f5f8fd;
  border-color: color-mix(in srgb, var(--krintech-premium-accent) 36%, var(--krintech-premium-border));
}

.krintech-page-shell {
  background: #f7f9fc;
}

.krintech-page-intro .wp-block-paragraph {
  max-width: 68ch;
  margin-inline: auto;
}

.krintech-page-columns > .wp-block-column:first-child > .wp-block-post-content {
  border-radius: 18px;
  border: 1px solid var(--krintech-premium-border);
  background: #ffffff;
  padding: clamp(1.2rem, 1rem + 1.2vw, 2rem);
  box-shadow: var(--krintech-premium-shadow-sm);
}

.krintech-page-aside {
  top: 108px;
}

.krintech-page-aside-card {
  background: #ffffff;
}

.krintech-footer-shell {
  background: var(--wp--preset--color--card) !important;
  border-top-color: var(--wp--preset--color--border) !important;
}

.krintech-footer-shell .wp-block-heading,
.krintech-footer-shell p,
.krintech-footer-shell li,
.krintech-footer-shell a {
  color: var(--wp--preset--color--foreground);
}

.krintech-footer-shell .has-muted-foreground-color {
  color: var(--wp--preset--color--muted-foreground) !important;
}

.krintech-footer-shell .krintech-footer-links a {
  color: var(--wp--preset--color--muted-foreground);
}

.krintech-footer-shell .krintech-footer-links a:hover,
.krintech-footer-shell .krintech-footer-links a:focus-visible {
  color: var(--wp--preset--color--primary);
  text-decoration: underline;
}

.krintech-footer-shell .krintech-brand--footer img {
  filter: none;
}

#contact input[type="text"],
#contact input[type="email"],
#contact textarea {
  border-color: var(--krintech-premium-border);
  box-shadow: inset 0 1px 0 rgba(17, 35, 59, 0.02);
}

#contact .wpcf7-submit {
  background: #154ea6;
  box-shadow: none;
}

.krintech-partners-grid .krintech-partner-card {
  border-radius: 14px;
  border: 1px solid var(--krintech-premium-border);
  background: #ffffff;
  box-shadow: var(--krintech-premium-shadow-sm);
}

.krintech-partner-link {
  color: var(--krintech-premium-ink-strong);
}

@media (max-width: 1024px) {
  .krintech-header-row {
    max-width: 100%;
  }

  .krintech-page-columns > .wp-block-column:first-child > .wp-block-post-content {
    padding: 1.2rem;
  }
}

@media (max-width: 680px) {
  #home {
    padding-top: var(--wp--preset--spacing--16) !important;
    padding-bottom: var(--wp--preset--spacing--16) !important;
  }

  .krintech-main-nav .wp-block-navigation-item__content {
    padding-inline: 0.6rem;
  }

  .krintech-info-grid {
    display: flex;
    justify-content: center;
  }

  .krintech-info-grid .krintech-info-card {
    flex-basis: 100%;
    width: 100%;
    max-width: 520px;
  }
}
