/* RoboHubTech Free Homepage */
:root {
  --rht-bg: #07111f;
  --rht-bg-soft: #0f1d31;
  --rht-surface: #ffffff;
  --rht-surface-alt: #eff5ff;
  --rht-line: rgba(255,255,255,0.12);
  --rht-line-dark: rgba(7,17,31,0.12);
  --rht-text: #e9f2ff;
  --rht-text-dark: #0d1726;
  --rht-muted: #9ab0cf;
  --rht-primary: #4b86ff;
  --rht-primary-2: #76c6ff;
  --rht-accent: #7cf0ff;
  --rht-radius: 26px;
  --rht-shadow: 0 25px 60px rgba(2, 13, 30, 0.28);
}

.rht-home,
.rht-home * {
  box-sizing: border-box;
}

.rht-home {
  color: var(--rht-text-dark);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
  width: 100vw;
  max-width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
}

.rht-home a {
  text-decoration: none;
}

.rht-container {
  width: min(1720px, calc(100% - 48px));
  margin: 0 auto;
}

.rht-hero {
  position: relative;
  overflow: hidden;
  padding: 120px 0 88px;
  min-height: 72vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at top left, rgba(118,198,255,0.28), transparent 30%),
    radial-gradient(circle at bottom right, rgba(75,134,255,0.22), transparent 35%),
    linear-gradient(135deg, #07111f 0%, #0b1a2d 45%, #10294b 100%);
  color: var(--rht-text);
}

.rht-hero::before,
.rht-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(4px);
}

.rht-hero::before {
  width: 260px;
  height: 260px;
  top: -90px;
  right: -60px;
  background: rgba(124,240,255,0.1);
}

.rht-hero::after {
  width: 320px;
  height: 320px;
  bottom: -150px;
  left: -80px;
  background: rgba(75,134,255,0.13);
}

.rht-hero-grid,
.rht-insight-grid,
.rht-contact-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
}

.rht-eyebrow,
.rht-section-kicker,
.rht-panel-label,
.rht-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  border-radius: 999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
}

.rht-eyebrow,
.rht-panel-label {
  padding: 12px 18px;
  border: 1px solid var(--rht-line);
  background: rgba(255,255,255,0.06);
  color: #dff2ff;
}

.rht-eyebrow {
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 18px;
  font-weight: 800;
}

.rht-section-kicker {
  color: #5074c9;
  background: #e9f0ff;
  padding: 8px 12px;
}

.rht-hero h1 {
  margin: 18px 0 18px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: 820px;
}

.rht-lead {
  max-width: 650px;
  color: var(--rht-muted);
  font-size: 18px;
  line-height: 1.7;
  margin: 0 0 28px;
}

.rht-hero-actions,
.rht-center {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.rht-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.rht-btn:hover {
  transform: translateY(-1px);
}

.rht-btn-primary {
  background: linear-gradient(135deg, var(--rht-primary), var(--rht-primary-2));
  color: #fff;
  box-shadow: 0 16px 30px rgba(75, 134, 255, 0.28);
}

.rht-btn-secondary {
  color: #fff;
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.05);
}

.rht-btn-block {
  width: 100%;
}


.rht-form .rht-form-submit,
.rht-contact-box .rht-form-submit,
button.rht-form-submit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 56px !important;
  padding: 0 20px !important;
  border-radius: 11px !important;
  border: 1.75px solid #8e95a3 !important;
  background: linear-gradient(135deg, var(--rht-primary), var(--rht-primary-2)) !important;
  color: #ffffff !important;
  box-shadow: 0 16px 30px rgba(75, 134, 255, 0.28) !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.rht-form .rht-form-submit:hover,
.rht-form .rht-form-submit:focus,
.rht-contact-box .rht-form-submit:hover,
.rht-contact-box .rht-form-submit:focus,
button.rht-form-submit:hover,
button.rht-form-submit:focus {
  background: #d93577 !important;
  border-color: #d93577 !important;
  color: #ffffff !important;
  box-shadow: 0 12px 24px rgba(217, 53, 119, 0.22) !important;
}

.rht-hero-pills {
  margin-top: 22px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.rht-hero-pills span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--rht-line);
  color: #d9ecff;
  padding: 10px 14px;
  font-size: 14px;
}

.rht-hero-visual {
  display: grid;
  gap: 18px;
}

.rht-panel,
.rht-topic-card,
.rht-post-card,
.rht-insight-card,
.rht-contact-box {
  border-radius: var(--rht-radius);
  box-shadow: var(--rht-shadow);
}

.rht-panel {
  padding: 24px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--rht-line);
  color: #eff7ff;
  backdrop-filter: blur(10px);
}

.rht-panel h3,
.rht-panel strong {
  display: block;
  color: #fff;
  margin: 14px 0 10px;
}

.rht-panel p {
  color: #d2e3ff;
  margin: 0;
  line-height: 1.6;
}

.rht-panel-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rht-topics,
.rht-posts {
  padding: 82px 0;
}

.rht-topics {
  background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
}

.rht-insights {
  padding: 20px 0 82px;
  background: linear-gradient(180deg, #f3f8ff 0%, #eef5ff 100%);
}

.rht-posts {
  background: linear-gradient(180deg, #091322 0%, #0f2037 100%);
  color: var(--rht-text);
}

.rht-section-head {
  max-width: 720px;
  margin-bottom: 30px;
}

.rht-section-head h2,
.rht-insight-copy h2,
.rht-contact-copy h2 {
  margin: 16px 0 14px;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.rht-section-head p,
.rht-insight-copy p,
.rht-contact-copy p {
  color: #547090;
  line-height: 1.75;
  font-size: 17px;
  margin: 0;
}

.rht-section-head-light .rht-section-kicker {
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--rht-line);
  color: #dff2ff;
}

.rht-section-head-light p,
.rht-section-head-light h2 {
  color: var(--rht-text);
}

.rht-topic-grid,
.rht-post-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rht-topic-card {
  background: #fff;
  border: 1px solid var(--rht-line-dark);
  padding: 28px;
}

.rht-topic-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--rht-primary), var(--rht-primary-2));
  box-shadow: 0 14px 30px rgba(75, 134, 255, 0.22);
}

.rht-topic-card h3 {
  font-size: 24px;
  margin: 22px 0 12px;
  color: var(--rht-text-dark);
}

.rht-topic-card p {
  margin: 0;
  color: #54657f;
  line-height: 1.72;
}

.rht-insight-copy .rht-checklist {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}

.rht-insight-copy .rht-checklist li {
  position: relative;
  padding-left: 28px;
  color: #29405f;
  font-weight: 600;
}

.rht-insight-copy .rht-checklist li::before {
  content: "•";
  position: absolute;
  left: 8px;
  top: -1px;
  color: var(--rht-primary);
  font-size: 22px;
  line-height: 1;
}

.rht-insight-card {
  background: #fff;
  border: 1px solid rgba(13, 23, 38, 0.08);
  padding: 12px;
  display: grid;
  gap: 12px;
}

.rht-insight-stat {
  border-radius: 22px;
  background: linear-gradient(180deg, #f6f9ff 0%, #edf4ff 100%);
  border: 1px solid rgba(80, 116, 201, 0.12);
  padding: 22px;
}

.rht-insight-stat strong {
  display: block;
  font-size: 42px;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--rht-text-dark);
}

.rht-insight-stat span {
  color: #506680;
}

.rht-post-card {
  overflow: hidden;
  border: 1px solid var(--rht-line);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
}

.rht-post-card-link {
  display: block;
  height: 100%;
  color: inherit;
}

.rht-post-image {
  aspect-ratio: 16 / 4;
  min-height: 120px;
  background-size: cover;
  background-position: center;
}

.rht-post-image-placeholder {
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  background:
    linear-gradient(135deg, rgba(75,134,255,0.7), rgba(118,198,255,0.55)),
    linear-gradient(135deg, #13243a, #1b3556);
}

.rht-post-body {
  padding: 22px;
}

.rht-post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: #b2c6e5;
  font-size: 13px;
  margin-bottom: 14px;
}

.rht-chip {
  padding: 8px 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--rht-line);
  color: #e3efff;
}

.rht-post-card h3 {
  color: #fff;
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.3;
}

.rht-post-card p {
  margin: 0 0 18px;
  color: #c4d4ea;
  line-height: 1.7;
}

.rht-readmore {
  color: #8dd7ff;
  font-weight: 700;
}

.rht-empty-posts {
  text-align: center;
  padding: 46px 24px;
  border-radius: var(--rht-radius);
  border: 1px dashed rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.04);
  color: #dcecff;
}

.rht-empty-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  font-size: 28px;
  background: rgba(255,255,255,0.08);
}

.rht-contact {
  padding: 82px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
}

.rht-contact-meta {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 20px;
  background: #eff5ff;
  border: 1px solid rgba(80, 116, 201, 0.12);
}

.rht-contact-meta span {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #5f7ba8;
  margin-bottom: 8px;
}

.rht-contact-meta strong {
  color: var(--rht-text-dark);
  font-size: 17px;
}

.rht-contact-box {
  background: #fff;
  border: 1px solid rgba(13, 23, 38, 0.08);
  padding: 24px;
}

.rht-form {
  display: grid;
  gap: 14px;
}

.rht-form label {
  display: grid;
  gap: 8px;
}

.rht-form span {
  color: var(--rht-text-dark);
  font-size: 14px;
  font-weight: 700;
}

.rht-form input,
.rht-form textarea {
  width: 100%;
  border: 1px solid rgba(13, 23, 38, 0.12);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  color: var(--rht-text-dark);
  background: #fff;
}

.rht-form input:focus,
.rht-form textarea:focus {
  outline: none;
  border-color: rgba(75,134,255,0.45);
  box-shadow: 0 0 0 4px rgba(75,134,255,0.12);
}

.rht-alert {
  margin-bottom: 16px;
  border-radius: 16px;
  padding: 14px 16px;
  font-weight: 600;
}

.rht-alert-success {
  background: #effbf2;
  color: #176238;
  border: 1px solid #b8ecc7;
}

.rht-alert-error {
  background: #fff2f2;
  color: #8a2020;
  border: 1px solid #f0c3c3;
}

.rht-footer {
  background: #09111e;
  color: #e6f0ff;
  padding: 26px 0;
}

.rht-footer-row {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.2fr auto auto;
  align-items: center;
}

.rht-footer p {
  margin: 8px 0 0;
  color: #96abc7;
}

.rht-footer-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.rht-footer-nav a,
.rht-footer-copy {
  color: #d2e3ff;
}

@media (max-width: 980px) {
  .rht-hero-grid,
  .rht-insight-grid,
  .rht-contact-grid,
  .rht-topic-grid,
  .rht-post-grid,
  .rht-footer-row {
    grid-template-columns: 1fr;
  }

  .rht-hero {
    padding-top: 82px;
  }

  .rht-panel-grid {
    grid-template-columns: 1fr;
  }

  .rht-footer-copy {
    justify-self: start;
  }
}


@media (min-width: 1440px) {
  .rht-container {
    width: min(1540px, calc(100% - 32px));
  }

  .rht-hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .rht-container {
    width: min(100% - 22px, 100%);
  }

  .rht-posts,
  .rht-topics,
  .rht-contact {
    padding: 64px 0;
  }

  .rht-insights {
    padding: 10px 0 64px;
  }

  .rht-contact-box,
  .rht-topic-card,
  .rht-post-body,
  .rht-panel {
    padding-left: 18px;
    padding-right: 18px;
  }

  .rht-hero-actions,
  .rht-center {
    flex-direction: column;
    align-items: stretch;
  }
}

.rht-hero-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.rht-lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.rht-lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  color: #dff2ff;
  font-weight: 700;
}

.rht-lang-btn.is-active {
  background: linear-gradient(135deg, var(--rht-primary), var(--rht-primary-2));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 16px 30px rgba(75, 134, 255, 0.22);
}

@media (max-width: 767px) {
  .rht-hero-topbar {
    align-items: flex-start;
  }
}

.rht-hero-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.rht-lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.rht-lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  color: #dff2ff;
  font-weight: 700;
}

.rht-lang-btn.is-active {
  background: linear-gradient(135deg, var(--rht-primary), var(--rht-primary-2));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 16px 30px rgba(75, 134, 255, 0.22);
}

@media (max-width: 767px) {
  .rht-hero-topbar {
    align-items: flex-start;
  }
}


/* Single post styling to match RoboHubTech */
body.single-post {
  background:
    radial-gradient(circle at top left, rgba(118,198,255,0.18), transparent 28%),
    radial-gradient(circle at bottom right, rgba(75,134,255,0.16), transparent 34%),
    linear-gradient(135deg, #07111f 0%, #0b1a2d 45%, #10294b 100%) !important;
  color: var(--rht-text) !important;
}

body.single-post .site,
body.single-post #page,
body.single-post .site-main,
body.single-post .content-area,
body.single-post .site-content {
  background: transparent !important;
}

body.single-post .site-main,
body.single-post main.site-main {
  max-width: 100% !important;
  padding: 42px 16px 72px !important;
}

body.single-post article.post,
body.single-post .type-post,
body.single-post .single-post .post,
body.single-post .single-post article {
  width: min(1080px, 100%) !important;
  margin: 0 auto !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.12)) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 28px !important;
  box-shadow: 0 30px 70px rgba(2, 13, 30, 0.34) !important;
  backdrop-filter: blur(10px);
  overflow: hidden;
}

body.single-post .entry-header,
body.single-post header.entry-header {
  padding: 42px 42px 16px !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0)) !important;
}

body.single-post .entry-title,
body.single-post h1.entry-title {
  color: #ffffff !important;
  font-size: clamp(36px, 5vw, 56px) !important;
  line-height: 1.06 !important;
  letter-spacing: -0.03em !important;
  margin: 0 0 14px !important;
}

body.single-post .entry-meta,
body.single-post .post-meta,
body.single-post .entry-footer,
body.single-post .posted-on,
body.single-post .byline,
body.single-post .cat-links,
body.single-post .tags-links {
  color: #c8d8f5 !important;
}

body.single-post .entry-meta a,
body.single-post .post-meta a,
body.single-post .entry-footer a,
body.single-post .posted-on a,
body.single-post .byline a,
body.single-post .cat-links a,
body.single-post .tags-links a {
  color: #8fd0ff !important;
}

body.single-post .tags-links a:first-of-type {
  margin-left: 0.35em !important;
}

body.single-post .post-thumbnail,
body.single-post .featured-image,
body.single-post .wp-post-image {
  display: block;
}

body.single-post .post-thumbnail img,
body.single-post .featured-image img,
body.single-post img.wp-post-image {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

body.single-post .entry-content,
body.single-post .post-content,
body.single-post .elementor-widget-theme-post-content {
  color: #e8f1ff !important;
  padding: 10px 42px 46px !important;
  font-size: 18px !important;
  line-height: 1.9 !important;
}

body.single-post .entry-content p,
body.single-post .post-content p,
body.single-post .entry-content li,
body.single-post .post-content li,
body.single-post .entry-content blockquote,
body.single-post .entry-content figcaption {
  color: #e8f1ff !important;
}

body.single-post .entry-content h2,
body.single-post .entry-content h3,
body.single-post .entry-content h4,
body.single-post .post-content h2,
body.single-post .post-content h3,
body.single-post .post-content h4 {
  color: #ffffff !important;
  margin-top: 1.8em !important;
  margin-bottom: 0.6em !important;
  line-height: 1.2 !important;
}

body.single-post .entry-content a,
body.single-post .post-content a {
  color: #8fd0ff !important;
  text-decoration: underline;
}

body.single-post .entry-content a:hover,
body.single-post .entry-content a:focus,
body.single-post .entry-content a:active,
body.single-post .post-content a:hover,
body.single-post .post-content a:focus,
body.single-post .post-content a:active,
body.single-post article .entry-content a:hover,
body.single-post article .entry-content a:focus,
body.single-post article .entry-content a:active,
body.single-post article .post-content a:hover,
body.single-post article .post-content a:focus,
body.single-post article .post-content a:active,
body.single-post .entry-meta a:hover,
body.single-post .entry-meta a:focus,
body.single-post .post-meta a:hover,
body.single-post .post-meta a:focus,
body.single-post .entry-footer a:hover,
body.single-post .entry-footer a:focus,
body.single-post .posted-on a:hover,
body.single-post .posted-on a:focus,
body.single-post .byline a:hover,
body.single-post .byline a:focus,
body.single-post .cat-links a:hover,
body.single-post .cat-links a:focus,
body.single-post .tags-links a:hover,
body.single-post .tags-links a:focus,
body.single-post .comments-area a:hover,
body.single-post .comments-area a:focus,
body.single-post .nav-links a:hover,
body.single-post .nav-links a:focus,
body.single-post .post-navigation a:hover,
body.single-post .post-navigation a:focus {
  color: #8fd0ff !important;
  text-decoration-color: #8fd0ff !important;
}

body.single-post .entry-content strong,
body.single-post .post-content strong {
  color: #ffffff !important;
}

body.single-post .entry-content code,
body.single-post .post-content code,
body.single-post .entry-content pre,
body.single-post .post-content pre {
  background: rgba(5, 14, 27, 0.7) !important;
  color: #dff2ff !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 14px !important;
}

body.single-post .entry-content blockquote,
body.single-post .post-content blockquote {
  border-left: 4px solid #76c6ff !important;
  background: rgba(255,255,255,0.05) !important;
  padding: 18px 20px !important;
  border-radius: 0 16px 16px 0 !important;
}

body.single-post .entry-content .wp-block-image img,
body.single-post .post-content .wp-block-image img,
body.single-post .entry-content img,
body.single-post .post-content img {
  border-radius: 11px !important;
}

body.single-post .nav-links,
body.single-post .post-navigation,
body.single-post .comments-area {
  width: min(1080px, 100%) !important;
  margin: 24px auto 0 !important;
  color: #e8f1ff !important;
}

body.single-post .post-navigation a,
body.single-post .nav-links a,
body.single-post .comments-area a {
  color: #8fd0ff !important;
}

body.single-post .comments-area,
body.single-post .comment-respond {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 24px !important;
  padding: 24px !important;
}

body.single-post input[type="text"],
body.single-post input[type="email"],
body.single-post input[type="url"],
body.single-post textarea {
  background: rgba(255,255,255,0.08) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,0.16) !important;
  border-radius: 14px !important;
}

@media (max-width: 782px) {
  body.single-post .entry-header {
    padding: 28px 22px 12px !important;
  }

  body.single-post .entry-content,
  body.single-post .post-content,
  body.single-post .elementor-widget-theme-post-content {
    padding: 8px 22px 30px !important;
    font-size: 17px !important;
  }
}


/* Category archive styling for both language versions */
body.category-polski,
body.category-english,
body.archive.category {
  background:
    radial-gradient(circle at top left, rgba(118,198,255,0.18), transparent 28%),
    radial-gradient(circle at bottom right, rgba(75,134,255,0.16), transparent 34%),
    linear-gradient(135deg, #07111f 0%, #0b1a2d 45%, #10294b 100%) !important;
  color: var(--rht-text) !important;
}

body.category-polski .site,
body.category-polski #page,
body.category-polski .site-main,
body.category-polski .content-area,
body.category-polski .site-content,
body.category-english .site,
body.category-english #page,
body.category-english .site-main,
body.category-english .content-area,
body.category-english .site-content,
body.archive.category .site,
body.archive.category #page,
body.archive.category .site-main,
body.archive.category .content-area,
body.archive.category .site-content {
  background: transparent !important;
}

body.category-polski .site-main,
body.category-polski main.site-main,
body.category-english .site-main,
body.category-english main.site-main,
body.archive.category .site-main,
body.archive.category main.site-main {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 42px 16px 72px !important;
}

body.category-polski .page-header,
body.category-polski header.page-header,
body.category-english .page-header,
body.category-english header.page-header,
body.archive.category .page-header,
body.archive.category header.page-header {
  width: min(1180px, 100%) !important;
  margin: 0 auto 28px !important;
  padding: 34px 36px !important;
  background: rgba(255,255,255,0.07) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 28px !important;
  box-shadow: 0 30px 70px rgba(2, 13, 30, 0.34) !important;
}

body.category-polski .archive-title,
body.category-polski .page-title,
body.category-english .archive-title,
body.category-english .page-title,
body.archive.category .archive-title,
body.archive.category .page-title {
  color: #ffffff !important;
  font-size: clamp(34px, 4vw, 52px) !important;
  line-height: 1.05 !important;
  margin: 0 0 10px !important;
}

body.category-polski .archive-description,
body.category-polski .taxonomy-description,
body.category-english .archive-description,
body.category-english .taxonomy-description,
body.archive.category .archive-description,
body.archive.category .taxonomy-description {
  color: #dceaff !important;
}

body.category-polski article.post,
body.category-polski .type-post,
body.category-english article.post,
body.category-english .type-post,
body.archive.category article.post,
body.archive.category .type-post {
  width: min(1180px, 100%) !important;
  margin: 0 auto 24px !important;
  background: rgba(255,255,255,0.07) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 24px !important;
  box-shadow: 0 20px 50px rgba(2, 13, 30, 0.25) !important;
  overflow: hidden;
}

body.category-polski article.post .entry-header,
body.category-polski article.post .entry-content,
body.category-polski article.post .entry-footer,
body.category-english article.post .entry-header,
body.category-english article.post .entry-content,
body.category-english article.post .entry-footer,
body.archive.category article.post .entry-header,
body.archive.category article.post .entry-content,
body.archive.category article.post .entry-footer {
  padding-left: 28px !important;
  padding-right: 28px !important;
}

body.category-polski article.post .entry-header,
body.category-english article.post .entry-header,
body.archive.category article.post .entry-header {
  padding-top: 28px !important;
  padding-bottom: 8px !important;
}

body.category-polski article.post .entry-content,
body.category-english article.post .entry-content,
body.archive.category article.post .entry-content {
  color: #e8f1ff !important;
  padding-bottom: 22px !important;
}

body.category-polski article.post .entry-content,
body.category-english article.post .entry-content,
body.archive.category article.post .entry-content {
  padding-left: 60px !important;
  padding-right: 60px !important;
}

body.category-polski article.post .entry-title,
body.category-polski article.post .entry-title a,
body.category-english article.post .entry-title,
body.category-english article.post .entry-title a,
body.archive.category article.post .entry-title,
body.archive.category article.post .entry-title a {
  color: #ffffff !important;
}

body.category-polski article.post p,
body.category-polski article.post li,
body.category-polski article.post .entry-meta,
body.category-polski article.post .entry-footer,
body.category-english article.post p,
body.category-english article.post li,
body.category-english article.post .entry-meta,
body.category-english article.post .entry-footer,
body.archive.category article.post p,
body.archive.category article.post li,
body.archive.category article.post .entry-meta,
body.archive.category article.post .entry-footer {
  color: #dceaff !important;
}

body.category-polski a,
body.category-english a,
body.archive.category a {
  color: #8fd0ff !important;
}

body.category-polski .nav-links,
body.category-polski .pagination,
body.category-english .nav-links,
body.category-english .pagination,
body.archive.category .nav-links,
body.archive.category .pagination {
  width: min(1180px, 100%) !important;
  margin: 12px auto 0 !important;
  color: #e8f1ff !important;
}

.rht-insight-subtext {
  margin-top: 14px;
}

@media (max-width: 980px) {
  .rht-post-image {
    aspect-ratio: 16 / 6;
    min-height: 110px;
  }
}

@media (max-width: 640px) {
  .rht-post-image {
    aspect-ratio: 16 / 7;
    min-height: 100px;
  }
}


body.single-post .rht-single-back-wrap {
  display: flex;
  justify-content: center;
  margin: 26px 0 12px !important;
}

body.single-post .rht-single-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: linear-gradient(180deg, rgba(255,255,255,0.20), rgba(255,255,255,0.13));
  color: #eef5ff !important;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 14px 28px rgba(3, 15, 32, 0.18);
}

body.single-post .rht-single-back:hover {
  transform: translateY(-1px);
}

body.category-polski .page-header,
body.category-polski header.page-header,
body.category-english .page-header,
body.category-english header.page-header,
body.archive.category .page-header,
body.archive.category header.page-header {
  text-align: center !important;
}

body.category-polski .archive-description,
body.category-polski .taxonomy-description,
body.category-english .archive-description,
body.category-english .taxonomy-description,
body.archive.category .archive-description,
body.archive.category .taxonomy-description {
  text-align: center !important;
}


body.category-polski article.post,
body.category-polski .type-post,
body.category-english article.post,
body.category-english .type-post,
body.archive.category article.post,
body.archive.category .type-post {
  background: linear-gradient(180deg, rgba(255,255,255,0.27), rgba(255,255,255,0.18)) !important;
  border: 1px solid rgba(255,255,255,0.22) !important;
}

body.category-polski article.post .entry-header,
body.category-polski article.post .entry-content,
body.category-polski article.post .entry-footer,
body.category-english article.post .entry-header,
body.category-english article.post .entry-content,
body.category-english article.post .entry-footer,
body.archive.category article.post .entry-header,
body.archive.category article.post .entry-content,
body.archive.category article.post .entry-footer {
  padding-left: 52px !important;
  padding-right: 52px !important;
}

body.category-polski article.post .entry-title,
body.category-polski article.post .entry-title a,
body.category-english article.post .entry-title,
body.category-english article.post .entry-title a,
body.archive.category article.post .entry-title,
body.archive.category article.post .entry-title a {
  font-size: clamp(19px, 2.05vw, 25px) !important;
  line-height: 1.2 !important;
  margin: 0 0 14px !important;
}


body.category-polski article.post .entry-title,
body.category-polski article.post .entry-title a,
body.category-english article.post .entry-title,
body.category-english article.post .entry-title a,
body.archive.category article.post .entry-title,
body.archive.category article.post .entry-title a {
  padding-left: 8px !important;
  padding-right: 8px !important;
}

body.category-polski article.post .entry-content p,
body.category-english article.post .entry-content p,
body.archive.category article.post .entry-content p {
  margin-left: 0 !important;
  padding-left: 22px !important;
  padding-right: 22px !important;
}

body.category-polski .page-header,
body.category-polski header.page-header,
body.category-english .page-header,
body.category-english header.page-header,
body.archive.category .page-header,
body.archive.category header.page-header,
body.category-polski .archive-title,
body.category-polski .page-title,
body.category-english .archive-title,
body.category-english .page-title,
body.archive.category .archive-title,
body.archive.category .page-title,
body.category-polski .archive-description,
body.category-polski .taxonomy-description,
body.category-english .archive-description,
body.category-english .taxonomy-description,
body.archive.category .archive-description,
body.archive.category .taxonomy-description {
  text-align: center !important;
}

body.category-polski .rht-single-back-wrap,
body.category-english .rht-single-back-wrap,
body.archive.category .rht-single-back-wrap {
  display: flex;
  justify-content: center;
  width: min(1180px, 100%) !important;
  margin: 52px auto 26px !important;
}

body.category-polski .rht-single-back,
body.category-english .rht-single-back,
body.archive.category .rht-single-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: linear-gradient(180deg, rgba(255,255,255,0.20), rgba(255,255,255,0.13));
  color: #eef5ff !important;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 14px 28px rgba(3, 15, 32, 0.18);
}


@media (max-width: 640px) {
  body.category-polski article.post .entry-header,
  body.category-polski article.post .entry-content,
  body.category-polski article.post .entry-footer,
  body.category-english article.post .entry-header,
  body.category-english article.post .entry-content,
  body.category-english article.post .entry-footer,
  body.archive.category article.post .entry-header,
  body.archive.category article.post .entry-content,
  body.archive.category article.post .entry-footer {
    padding-left: 30px !important;
    padding-right: 30px !important;
  }

  body.category-polski article.post .entry-title,
  body.category-polski article.post .entry-title a,
  body.category-english article.post .entry-title,
  body.category-english article.post .entry-title a,
  body.archive.category article.post .entry-title,
  body.archive.category article.post .entry-title a {
    font-size: clamp(19px, 5.8vw, 23px) !important;
  }
}


/* v32 archive excerpt padding fix */
body.category-polski article.post .entry-summary,
body.category-english article.post .entry-summary,
body.archive.category article.post .entry-summary {
  padding-left: 52px !important;
  padding-right: 52px !important;
  padding-bottom: 22px !important;
  color: #e8f1ff !important;
}

body.category-polski article.post .entry-summary p,
body.category-english article.post .entry-summary p,
body.archive.category article.post .entry-summary p,
body.category-polski article.post .entry-content p,
body.category-english article.post .entry-content p,
body.archive.category article.post .entry-content p {
  margin: 0 !important;
  padding-left: 8px !important;
  padding-right: 8px !important;
}

@media (max-width: 640px) {
  body.category-polski article.post .entry-summary,
  body.category-english article.post .entry-summary,
  body.archive.category article.post .entry-summary {
    padding-left: 30px !important;
    padding-right: 30px !important;
  }
}


/* v33 archive excerpt padding hard fix */
body.category-polski article.post,
body.category-english article.post,
body.archive.category article.post {
  box-sizing: border-box !important;
}

body.category-polski article.post .entry-header,
body.category-english article.post .entry-header,
body.archive.category article.post .entry-header {
  padding: 26px 44px 10px !important;
  box-sizing: border-box !important;
}

body.category-polski article.post .entry-summary,
body.category-english article.post .entry-summary,
body.archive.category article.post .entry-summary,
body.category-polski article.post .entry-content,
body.category-english article.post .entry-content,
body.archive.category article.post .entry-content {
  padding: 0 44px 24px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

body.category-polski article.post .entry-summary p,
body.category-english article.post .entry-summary p,
body.archive.category article.post .entry-summary p,
body.category-polski article.post .entry-content p,
body.category-english article.post .entry-content p,
body.archive.category article.post .entry-content p {
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

@media (max-width: 640px) {
  body.category-polski article.post .entry-header,
  body.category-english article.post .entry-header,
  body.archive.category article.post .entry-header,
  body.category-polski article.post .entry-summary,
  body.category-english article.post .entry-summary,
  body.archive.category article.post .entry-summary,
  body.category-polski article.post .entry-content,
  body.category-english article.post .entry-content,
  body.archive.category article.post .entry-content {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}


/* v34 robust archive spacing and lighter archive header */
body.category-polski .page-header,
body.category-polski header.page-header,
body.category-english .page-header,
body.category-english header.page-header,
body.archive.category .page-header,
body.archive.category header.page-header {
  background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.07)) !important;
}

body.category-polski article.post .entry-summary,
body.category-polski article.post .entry-content,
body.category-polski article.post .post-excerpt,
body.category-polski article.post .entry-excerpt,
body.category-polski article.post .excerpt,
body.category-english article.post .entry-summary,
body.category-english article.post .entry-content,
body.category-english article.post .post-excerpt,
body.category-english article.post .entry-excerpt,
body.category-english article.post .excerpt,
body.archive.category article.post .entry-summary,
body.archive.category article.post .entry-content,
body.archive.category article.post .post-excerpt,
body.archive.category article.post .entry-excerpt,
body.archive.category article.post .excerpt {
  display: block !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 52px 24px !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

body.category-polski article.post .entry-summary p,
body.category-polski article.post .entry-content p,
body.category-polski article.post .post-excerpt p,
body.category-polski article.post .entry-excerpt p,
body.category-polski article.post .excerpt p,
body.category-english article.post .entry-summary p,
body.category-english article.post .entry-content p,
body.category-english article.post .post-excerpt p,
body.category-english article.post .entry-excerpt p,
body.category-english article.post .excerpt p,
body.archive.category article.post .entry-summary p,
body.archive.category article.post .entry-content p,
body.archive.category article.post .post-excerpt p,
body.archive.category article.post .entry-excerpt p,
body.archive.category article.post .excerpt p {
  margin: 0 !important;
  padding: 0 !important;
}

@media (max-width: 640px) {
  body.category-polski article.post .entry-summary,
  body.category-polski article.post .entry-content,
  body.category-polski article.post .post-excerpt,
  body.category-polski article.post .entry-excerpt,
  body.category-polski article.post .excerpt,
  body.category-english article.post .entry-summary,
  body.category-english article.post .entry-content,
  body.category-english article.post .post-excerpt,
  body.category-english article.post .entry-excerpt,
  body.category-english article.post .excerpt,
  body.archive.category article.post .entry-summary,
  body.archive.category article.post .entry-content,
  body.archive.category article.post .post-excerpt,
  body.archive.category article.post .entry-excerpt,
  body.archive.category article.post .excerpt {
    margin: 0 24px 22px !important;
  }
}


/* v35 custom language archive page */
body.rht-archive-screen,
body.rht-archive-screen * {
  box-sizing: border-box;
}

body.rht-archive-screen {
  background: radial-gradient(circle at 15% 12%, rgba(75, 127, 190, 0.22), transparent 26%), radial-gradient(circle at 85% 18%, rgba(99, 149, 223, 0.20), transparent 24%), linear-gradient(180deg, #02152f 0%, #06234a 52%, #071a33 100%);
  color: #ffffff;
  min-height: 100vh;
}

body.rht-archive-screen .site,
body.rht-archive-screen #page,
body.rht-archive-screen .site-main,
body.rht-archive-screen .content-area,
body.rht-archive-screen .site-content,
body.rht-archive-screen .site-header,
body.rht-archive-screen .site-footer,
body.rht-archive-screen .page-header,
body.rht-archive-screen header.page-header,
body.rht-archive-screen article.post,
body.rht-archive-screen .type-post {
  all: unset;
}

.rht-archive-screen-shell {
  min-height: 100vh;
  padding: 34px 0 40px;
}

.rht-archive-wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.rht-archive-hero {
  background: linear-gradient(135deg, rgba(255,255,255,0.14), rgba(255,255,255,0.08));
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 30px;
  min-height: 138px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 28px;
  box-shadow: 0 26px 60px rgba(2, 13, 30, 0.32);
}

.rht-archive-title {
  margin: 0;
  color: #ffffff;
  text-align: center;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  font-weight: 700;
}

.rht-archive-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.rht-archive-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.27), rgba(255,255,255,0.18));
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 30px;
  box-shadow: 0 18px 42px rgba(2, 13, 30, 0.24);
  padding: 18px 30px 20px 30px;
}

.rht-archive-card-title {
  margin: 0 0 16px;
  padding-left: 10px;
  padding-right: 10px;
  font-size: clamp(20px, 2.2vw, 24px);
  line-height: 1.22;
  font-weight: 500;
}

.rht-archive-card-title a {
  color: #ffffff;
  text-decoration: none;
}

.rht-archive-card-excerpt {
  margin: 0;
  padding-left: 14px;
  padding-right: 14px;
  color: #eef5ff;
  font-size: clamp(17px, 1.35vw, 18px);
  line-height: 1.55;
}

.rht-archive-back-spacer {
  height: 68px;
}

body.rht-archive-screen .rht-single-back-wrap {
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

body.rht-archive-screen .rht-single-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: linear-gradient(180deg, rgba(255,255,255,0.20), rgba(255,255,255,0.13));
  color: #eef5ff !important;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 14px 28px rgba(3, 15, 32, 0.18);
}

.rht-archive-footer {
  width: min(1180px, calc(100% - 48px));
  margin: 34px auto 0;
  text-align: center;
  color: #dceaff;
  font-size: 15px;
}

@media (max-width: 640px) {
  .rht-archive-wrap,
  .rht-archive-footer {
    width: min(1180px, calc(100% - 24px));
  }

  .rht-archive-hero {
    min-height: 112px;
    border-radius: 24px;
  }

  .rht-archive-card {
    border-radius: 24px;
    padding: 14px 18px 16px 18px;
  }

  .rht-archive-card-title {
    padding-left: 6px;
    padding-right: 6px;
    margin-bottom: 12px;
    font-size: clamp(16px, 6vw, 22px);
  }

  .rht-archive-card-excerpt {
    padding-left: 8px;
    padding-right: 8px;
    font-size: 15px;
  }

  .rht-archive-back-spacer {
    height: 52px;
  }
}


/* Stronger fallback spacing before the first tag link on single posts */
body.single-post .entry-footer a[rel~="tag"]:first-of-type,
body.single-post .tags-links a:first-of-type,
body.single-post .entry-meta a[rel~="tag"]:first-of-type {
  margin-left: 0.45em !important;
  display: inline-block !important;
}


/* v1.39 stronger hover override for article links */
body.single-post .entry-content a:not(.rht-single-back):hover,
body.single-post .entry-content a:not(.rht-single-back):focus,
body.single-post .post-content a:not(.rht-single-back):hover,
body.single-post .post-content a:not(.rht-single-back):focus,
body.single-post article a:not(.rht-single-back):hover,
body.single-post article a:not(.rht-single-back):focus {
  color: #8fd0ff !important;
  text-decoration-color: #8fd0ff !important;
}


/* v1.40 ultra-strong hover override for article links */
html body.single-post article a[href]:hover,
html body.single-post article a[href]:focus,
html body.single-post article a[href]:active,
html body.single-post article a[href]:visited:hover,
html body.single-post article a[href]:visited:focus,
html body.single-post .entry-content a[href]:hover,
html body.single-post .entry-content a[href]:focus,
html body.single-post .entry-content a[href]:active,
html body.single-post .entry-content a[href]:visited:hover,
html body.single-post .entry-content a[href]:visited:focus,
html body.single-post .post-content a[href]:hover,
html body.single-post .post-content a[href]:focus,
html body.single-post .post-content a[href]:active,
html body.single-post .post-content a[href]:visited:hover,
html body.single-post .post-content a[href]:visited:focus {
  color: #8fd0ff !important;
  text-decoration-color: #8fd0ff !important;
  -webkit-text-fill-color: #8fd0ff !important;
}
