/* Gram CRM web dev14: základ, hlavička, päta, blog. Príbeh úvodnej stránky je v story.css. */

:root {
  --bg: #f6f6f4;
  --bg-2: #efefec;
  --surface: #ffffff;
  --ink: #141418;
  --ink-2: #3e3b46;
  --muted: #676571;
  --faint: #9a98a3;
  --line: rgba(20, 20, 24, 0.09);
  --line-2: rgba(20, 20, 24, 0.16);

  /* značka a farby z aplikácie Gram CRM */
  --green: #47b972;
  --green-ink: #25804a;
  --green-soft: #e7f5ec;
  --blue: #245bc6;
  --blue-2: #4a8cf7;
  --blue-soft: #ebf2fe;
  --amber: #e9a800;
  --amber-soft: #fdf4d9;
  --red: #e5484d;
  --red-soft: #fdecec;
  --violet: #7a5af0;
  --violet-soft: #efebfe;
  --orange: #f07a2e;
  --teal: #1a9d9d;

  --night: #0e1013;
  --night-2: #171a1f;
  --night-line: rgba(255, 255, 255, 0.1);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(20, 20, 30, 0.06), 0 0 0 0.75px rgba(20, 20, 30, 0.07);
  --shadow: 0 1px 2px rgba(20, 20, 30, 0.05), 0 8px 24px -8px rgba(20, 20, 30, 0.16), 0 0 0 0.75px rgba(20, 20, 30, 0.07);
  --shadow-lg: 0 2px 4px rgba(20, 20, 30, 0.04), 0 24px 60px -20px rgba(20, 20, 30, 0.28), 0 0 0 0.75px rgba(20, 20, 30, 0.08);

  --header-h: 68px;
  --wrap: 1240px;
  --gutter: 24px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.isMenuOpen {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
  color: inherit;
}

/* iPhone priblíži stránku, keď pole formulára má písmo menšie ako 16 px */
@media (hover: none) and (pointer: coarse) {
  :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
    font-size: 16px;
  }
}

:focus-visible {
  outline: 2px solid var(--blue-2);
  outline-offset: 2px;
  border-radius: 6px;
}

.i {
  width: 1em;
  height: 1em;
  flex: none;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.srOnly {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skipLink {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
}

.skipLink:focus {
  top: 12px;
}

/* ===== Typografia ===== */

.display,
h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0;
  font-weight: 650;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.eyebrow b,
.eyebrow[data-num]::before {
  color: var(--green-ink);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* nadpisok môže byť aj nadpis (H1, H2): vyzerá rovnako, číslo kapitoly je z data-num, nie v texte nadpisu */
:where(h1, h2, h3).eyebrow {
  font-family: var(--font);
  line-height: inherit;
}

.eyebrow[data-num]::before {
  content: attr(data-num);
}

.lead {
  color: var(--muted);
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.55;
  margin: 0;
}

/* ===== Tlačidlá ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.18s, border-color 0.18s, color 0.18s, transform 0.18s, box-shadow 0.18s;
}

.btn .i {
  width: 16px;
  height: 16px;
}

.btnPrimary {
  background: var(--ink);
  color: #fff;
}

.btnPrimary:hover {
  background: #2a2a31;
}

.btnGreen {
  background: var(--green);
  color: #fff;
}

.btnGreen:hover {
  background: #3aa864;
}

.btnGhost {
  background: transparent;
  border-color: var(--line-2);
  color: var(--ink);
}

.btnGhost:hover {
  background: rgba(20, 20, 24, 0.04);
}

.btnLarge {
  min-height: 50px;
  padding: 0 22px;
  font-size: 16px;
}

/* ===== Hlavička ===== */

.siteHeader {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(246, 246, 244, 0.78);
  backdrop-filter: saturate(1.6) blur(16px);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background-color 0.2s;
}

.siteHeader.isScrolled,
.siteHeader.isMegaOpen {
  border-bottom-color: var(--line);
  background: rgba(246, 246, 244, 0.92);
}

/* logo vľavo, menu v strede hlavičky, tlačidlá vpravo */
.headerBar {
  height: var(--header-h);
  display: grid;
  grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr);
  align-items: center;
  gap: 28px;
}

.brand {
  justify-self: start;
}

.brand img {
  width: 138px;
  height: auto;
}

.mainNav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.navLink {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--ink-2);
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}

.navLink:hover,
.navLink[aria-expanded="true"],
.navLink[aria-current="page"] {
  background: rgba(20, 20, 24, 0.05);
  color: var(--ink);
}

.navCaret {
  width: 14px;
  height: 14px;
  opacity: 0.6;
  transition: transform 0.2s;
}

.navTrigger[aria-expanded="true"] .navCaret {
  transform: rotate(180deg);
}

.headerActions {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

.menuToggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.menuToggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s, top 0.2s;
}

.menuToggle span:first-child {
  top: 16px;
}

.menuToggle span:last-child {
  top: 23px;
}

.menuToggle[aria-expanded="true"] span:first-child {
  top: 20px;
  transform: rotate(45deg);
}

.menuToggle[aria-expanded="true"] span:last-child {
  top: 20px;
  transform: rotate(-45deg);
}

.megaPanel {
  border-top: 1px solid var(--line);
  background: rgba(250, 250, 248, 0.98);
  box-shadow: 0 30px 50px -30px rgba(20, 20, 30, 0.3);
  animation: megaIn 0.22s ease-out;
}

@keyframes megaIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

.megaInner {
  display: grid;
  grid-template-columns: 240px 1fr 260px;
  gap: 32px;
  padding: 28px 0 32px;
}

.megaKicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.megaLead {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 600;
}

.megaMore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green-ink);
  font-weight: 600;
  font-size: 14.5px;
}

.megaMore .i {
  width: 15px;
  height: 15px;
}

.megaGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 12px;
  align-content: start;
}

.megaSide {
  display: grid;
  gap: 2px;
  align-content: start;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.megaLink {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  transition: background-color 0.15s;
}

.megaLink:hover {
  background: rgba(20, 20, 24, 0.045);
}

.megaIcon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 9px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--green-ink);
}

.megaIcon .i {
  width: 17px;
  height: 17px;
}

.megaLink strong {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.3;
}

.megaLink small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.mobileNav {
  height: calc(100vh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.mobileNavInner {
  display: grid;
  padding: 12px 0 28px;
}

.mobileGroup summary,
.mobileLink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.mobileGroup summary .i {
  width: 18px;
  height: 18px;
  transition: transform 0.2s;
}

.mobileGroup[open] summary .i {
  transform: rotate(180deg);
}

.mobileGroup a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 8px;
  color: var(--ink-2);
  font-size: 15.5px;
}

.mobileGroup a .i {
  width: 18px;
  height: 18px;
  color: var(--green-ink);
}

.mobileGroup[open] {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.mobileGroup[open] summary {
  border-bottom: 0;
}

.mobileActions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.mobileActions .btn {
  min-height: 46px;
}

@media (max-width: 1080px) {
  .mainNav,
  .headerActions .btn {
    display: none;
  }

  .menuToggle {
    display: block;
  }

  .megaPanel {
    display: none;
  }
}

/* ===== Päta ===== */

.siteFooter {
  background: var(--night);
  color: rgba(255, 255, 255, 0.72);
  padding: 72px 0 28px;
}

.footerGrid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px;
}

.footerBrand img {
  width: 140px;
  height: auto;
}

.footerBrand p {
  max-width: 320px;
  margin: 18px 0 22px;
  font-size: 15px;
}

.footerBrand .btnPrimary {
  background: #fff;
  color: var(--ink);
}

.footerCol {
  display: grid;
  align-content: start;
  gap: 10px;
  font-size: 14.5px;
}

.footerCol h2 {
  margin: 0 0 6px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.footerCol a:hover,
.footerBottom a:hover {
  color: #fff;
}

.footerBottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--night-line);
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.5);
}

.footerBottom p {
  margin: 0;
}

.footerBottom nav {
  display: flex;
  gap: 18px;
}

@media (max-width: 960px) {
  .footerGrid {
    grid-template-columns: 1fr 1fr;
  }

  .footerBrand {
    grid-column: 1 / -1;
  }
}

/* ===== Cookies ===== */

.cookieBanner {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 150;
  width: min(460px, calc(100% - 32px));
  padding: 18px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  font-size: 14px;
  color: var(--ink-2);
}

.cookieBanner[hidden] {
  display: none;
}

.cookieBanner p {
  margin: 0 0 14px;
}

.cookieBanner a {
  text-decoration: underline;
}

.cookieActions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

/* Nastaviť: textové tlačidlo vľavo, otvorí voľbu meranie a reklama */
.cookieMore {
  margin-right: auto;
  padding: 6px 2px;
  border: 0;
  background: none;
  color: var(--ink-2);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.cookieMore[hidden],
.cookieActions .btn[hidden] {
  display: none;
}

.cookieChoices {
  display: grid;
  gap: 2px;
  margin: -4px 0 14px;
}

.cookieChoices[hidden] {
  display: none;
}

.cookieChoice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
}

.cookieChoice input {
  flex: none;
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--green-ink);
}

.cookieChoice b {
  display: block;
  color: var(--ink);
  font-weight: 600;
}

/* ===== Podstránky (blog) ===== */

.pageMain {
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 96px;
}

.pageHead {
  max-width: 760px;
  margin-bottom: 44px;
}

.pageHead h1 {
  font-size: clamp(38px, 5vw, 60px);
  margin-bottom: 16px;
}

.blogFeatured {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  margin-bottom: 56px;
}

.blogFeatured .blogThumb {
  aspect-ratio: 16 / 10;
  border-radius: 14px;
}

.blogFeaturedText {
  padding: 12px 20px 12px 0;
}

.blogFeaturedText h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin: 12px 0 14px;
}

.blogFeaturedText p {
  color: var(--muted);
  margin: 0 0 22px;
}

.blogFilters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.blogFilter {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  transition: background-color 0.15s, color 0.15s;
}

.blogFilter:hover {
  background: rgba(20, 20, 24, 0.04);
}

.blogFilter.isActive {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.blogGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
}

.blogCard {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.blogThumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 16px;
  background: var(--bg-2);
  box-shadow: var(--shadow-sm);
}

.blogThumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.blogCard:hover .blogThumb img,
.blogFeatured:hover .blogThumb img {
  transform: scale(1.03);
}

.blogCard h2,
.blogCardTitle {
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.018em;
}

.blogCard p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blogMeta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--faint);
  font-size: 13px;
}

.blogPill {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-ink);
  font-weight: 600;
  font-size: 13px;
}

.blogEmpty {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 56px;
}

.pageLink {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
}

.pageLink:hover {
  background: rgba(20, 20, 24, 0.05);
}

.pageLink.isActive {
  background: var(--ink);
  color: #fff;
}

/* článok */

.article {
  max-width: 1180px;
  margin-inline: auto;
}

/* text článku a bočný panel s obsahom článku a výzvou na vyskúšanie */
.articleLayout {
  display: grid;
  grid-template-columns: minmax(0, 820px) 280px;
  justify-content: space-between;
  gap: 56px;
  align-items: start;
}

.articleAside {
  position: sticky;
  top: calc(var(--header-h) + 28px);
}

.articleAsideIn {
  display: grid;
  gap: 16px;
}

.asideBox {
  padding: 18px 16px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.asideTitle {
  margin: 0 0 8px 6px;
  color: var(--faint);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.asideToc {
  display: grid;
  gap: 2px;
  max-height: 52vh;
  overflow-y: auto;
}

.asideToc a {
  padding: 6px 8px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  transition: background-color 0.15s, color 0.15s;
}

.asideToc a:hover {
  background: var(--bg-2);
  color: var(--ink);
}

.asideToc a.isActive {
  background: var(--green-soft);
  color: var(--green-ink);
}

.asideCta {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  font-size: 14.5px;
  line-height: 1.5;
}

.asideCta p {
  margin: 0 0 14px;
}

.asideCta .asideCtaTitle {
  margin-bottom: 6px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 650;
}

.asideCta .btn {
  width: 100%;
  justify-content: center;
  background: #fff;
  color: var(--ink);
}

.asideCtaLink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: #fff;
  font-weight: 600;
}

.asideCtaLink .i {
  width: 15px;
  height: 15px;
}

@media (max-width: 1080px) {
  .articleLayout {
    grid-template-columns: minmax(0, 1fr);
    max-width: 820px;
  }

  .articleAside {
    display: none;
  }
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--faint);
  font-size: 14px;
}

.crumbs a:hover {
  color: var(--ink);
}

.article h1 {
  max-width: 980px;
  font-size: clamp(34px, 4.6vw, 56px);
  margin: 16px 0 40px;
  text-wrap: balance;
}

.prose {
  font-size: 18px;
  line-height: 1.7;
  color: #2a2930;
}

.prose > * {
  margin-block: 0 1.1em;
}

.prose h2 {
  font-size: 30px;
  margin-top: 1.8em;
  margin-bottom: 0.6em;
}

.prose h3 {
  font-size: 23px;
  margin-top: 1.6em;
  margin-bottom: 0.5em;
}

.prose a {
  color: var(--green-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose img,
.prose video,
.prose iframe {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}

.prose figure {
  margin-inline: 0;
}

.prose figcaption {
  color: var(--faint);
  font-size: 14px;
  margin-top: 8px;
}

.prose blockquote {
  margin-inline: 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--green);
  color: var(--ink-2);
}

.prose ul,
.prose ol {
  padding-left: 1.3em;
}

.prose li {
  margin-bottom: 0.4em;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15.5px;
  display: block;
  overflow-x: auto;
}

.prose th,
.prose td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.prose pre {
  overflow-x: auto;
  padding: 16px;
  border-radius: 12px;
  background: var(--night);
  color: #e8e8ea;
  font-size: 14px;
}

.articleNav {
  max-width: 820px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.articleNav a {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
  line-height: 1.35;
}

.articleNav a small {
  color: var(--faint);
  font-weight: 500;
  font-size: 13px;
}

.articleNav .next {
  text-align: right;
}

.relatedHead {
  margin: 96px 0 28px;
  font-size: 30px;
}

.ctaBand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 96px;
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--night);
  color: #fff;
}

.ctaBand h2 {
  font-size: clamp(26px, 3vw, 34px);
  max-width: 560px;
}

.ctaBand p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.65);
}

.ctaBand .btnGhost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.ctaBand .btnGhost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.ctaBand .btnPrimary {
  background: #fff;
  color: var(--ink);
}

.ctaBandActions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 960px) {
  .blogGrid {
    grid-template-columns: 1fr 1fr;
  }

  .blogFeatured {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .blogFeaturedText {
    padding: 8px 8px 12px;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 16px;
  }

  .blogGrid {
    grid-template-columns: 1fr;
  }

  .articleNav {
    grid-template-columns: 1fr;
  }

  .articleNav .next {
    text-align: left;
  }

  .ctaBand {
    padding: 28px 22px;
  }

  .prose {
    font-size: 17px;
  }
}

/* ===== Spoločné bloky stránok ===== */

/* slovo so spojovníkom (e-mail) sa nezalomí, pridáva ho typo() v config.php */
.nw {
  white-space: nowrap;
}

/* časté otázky (úvodná stránka, AI, partneri) */
.faqList {
  max-width: 960px;
  border-top: 1px solid var(--line);
}

.faqList details {
  border-bottom: 1px solid var(--line);
}

.faqList summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 4px;
  font-size: 17px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

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

.faqCaret {
  width: 18px;
  height: 18px;
  color: var(--muted);
  transition: transform 0.2s;
}

.faqList details[open] .faqCaret {
  transform: rotate(180deg);
}

.faqList details p {
  max-width: 840px;
  margin: 0;
  padding: 0 4px 20px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.6;
}
