/* Shared Divi modules for the 2026 panel discussion and its programme. */
.forum-site :is(.kk-event-hero, .kk-story, .kk-related, .kk-home-banner) {
  --kk-pine: #234b40;
  --kk-leaf: #375f47;
  --kk-paper: #f5f4e9;
  --kk-ink: #202f28;
  --kk-rule: #c6d1bf;
  --kk-serif: Butler, Georgia, serif;
  color: var(--kk-ink);
}

.forum-site .kk-event-hero {
  padding: clamp(36px, 6vw, 88px) 0 !important;
  border-bottom: 1px solid var(--kk-rule);
  background: linear-gradient(115deg, #f8f7ed 15%, #eaf0e3 76%, #e3ebdf);
}

.forum-site :is(.kk-hero-row, .kk-banner-row, .kk-related-row).et_pb_row {
  display: grid !important;
  align-items: center;
  grid-template-columns: minmax(0, 1.07fr) minmax(0, .93fr);
  gap: clamp(32px, 5vw, 76px);
}

.forum-site :is(.kk-hero-row, .kk-banner-row, .kk-story-row, .kk-related-row) > .et_pb_column {
  width: 100% !important;
  min-width: 0;
}

.forum-site .kk-event-hero .kk-kicker p,
.forum-site .kk-home-banner .kk-kicker p {
  color: var(--kk-leaf);
  font: 600 13px/1.55 Gordita, Arial, sans-serif;
  letter-spacing: .115em;
  text-transform: uppercase;
  padding: 0;
}

.forum-site .kk-kicker p::before {
  content: '';
  display: inline-block;
  width: 34px;
  height: 2px;
  margin-right: 12px;
  vertical-align: .3em;
  background: currentColor;
}

.forum-site .kk-title h1,
.forum-site .kk-banner-title h2 {
  color: var(--kk-pine);
  font-family: var(--kk-serif);
  font-weight: 400;
  font-size: clamp(42px, 4.8vw, 76px);
  line-height: 1.09;
  letter-spacing: -.032em;
  margin: 18px 0 20px;
  padding: 0;
  text-wrap: balance;
}

.forum-site .kk-lead p {
  color: #364c3c;
  font-size: clamp(17px, 1.26vw, 20px);
  line-height: 1.7;
  max-width: 59ch;
  padding-bottom: .7em;
}

.forum-site .kk-meta {
  margin-top: 24px;
  border-top: 1px solid var(--kk-rule);
  padding-top: 16px;
}

.forum-site .kk-meta p {
  color: var(--kk-leaf);
  font-size: 15px;
  line-height: 1.7;
}

.forum-site .kk-hero-art .et_pb_image_wrap,
.forum-site .kk-banner-row > .et_pb_column:last-child .et_pb_image_wrap {
  display: block;
  overflow: hidden;
  border-radius: 2px clamp(55px, 6.5vw, 110px) 2px 2px;
}

.forum-site .kk-hero-art img,
.forum-site .kk-banner-row > .et_pb_column:last-child img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center;
}

.forum-site .kk-story {
  background: #fff;
  padding: clamp(40px, 6vw, 88px) 0 !important;
}

.forum-site .kk-story .kk-story-row.et_pb_row {
  display: block !important;
  max-width: 790px !important;
}

.forum-site .kk-story-row + .kk-story-row.et_pb_row {
  margin-top: 32px !important;
}

.forum-site .kk-prose .et_pb_text_inner {
  color: var(--kk-ink);
  font-size: clamp(17px, 1.15vw, 19px);
  line-height: 1.8;
  overflow-wrap: break-word;
}

.forum-site .kk-prose .et_pb_text_inner p,
.forum-site .kk-prose .et_pb_text_inner li {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.forum-site .kk-prose p + p,
.forum-site .kk-story-row .kk-prose + .kk-prose {
  margin-top: 1.15em;
}

.forum-site .kk-prose h2,
.forum-site .kk-prose h3,
.forum-site .kk-related-row h2 {
  font-family: var(--kk-serif);
  font-weight: 400;
  color: var(--kk-pine);
  font-size: clamp(30px, 3vw, 43px);
  line-height: 1.17;
  letter-spacing: -.02em;
  padding: 0;
  margin: 0 0 .5em;
  text-wrap: balance;
}

.forum-site .kk-prose h3 {
  font-size: clamp(24px, 2.3vw, 32px);
}

.forum-site .kk-prose .et_pb_text_inner ul {
  padding: 0 0 0 1.35em;
  margin: .55em 0 1.1em;
  list-style: disc outside;
}

.forum-site .kk-prose li + li { margin-top: .4em; }
.forum-site .kk-prose li::marker { color: #49704f; }

.forum-site .kk-prose a {
  color: #265d52;
  text-decoration: underline;
  text-underline-offset: .15em;
}

.forum-site .kk-story .kk-program-item {
  padding: 21px clamp(18px, 2.4vw, 34px);
  border-left: 3px solid #71956b;
  background: #f3f6ee;
}

.forum-site .kk-related {
  padding: clamp(34px, 4.4vw, 62px) 0 !important;
  border-top: 1px solid var(--kk-rule);
  background: var(--kk-paper);
}

.forum-site .kk-related-row p { font-size: 17px; line-height: 1.7; }
.forum-site .kk-related-row .kk-partner-logo { margin: 0 0 12px !important; }
.forum-site .kk-partner-logo .et_pb_image_wrap { width: min(230px, 75%) !important; }
.forum-site .kk-partner-logo img { width: 100%; height: auto; object-fit: contain; }

.forum-site .kk-home-banner {
  padding: clamp(28px, 4vw, 62px) 0 !important;
  background: #fff;
}

.forum-site .kk-home-banner .kk-banner-row.et_pb_row {
  padding: clamp(28px, 4.25vw, 64px) !important;
  background: var(--kk-pine);
  border-radius: 4px;
  color: #fff;
}

.forum-site .kk-home-banner .kk-kicker p { color: #d8e8b9; }
.forum-site .kk-home-banner .kk-banner-title h2 {
  color: #fffdf3;
  font-size: clamp(35px, 3.5vw, 56px);
  margin: 14px 0;
}
.forum-site .kk-home-banner .kk-lead p { color: #edf2e5; }
.forum-site .kk-home-banner .kk-meta p { color: #d8e8b9; }
.forum-site .kk-home-banner .kk-meta { border-color: #60816d; }
.forum-site .kk-banner-row > .et_pb_column:last-child img { aspect-ratio: 3 / 2; }

.forum-site :is(.kk-button, .kk-button-alt).et_pb_button {
  display: inline-flex !important;
  align-items: center;
  gap: .35em;
  max-width: 100%;
  min-height: 44px;
  padding: 10px 17px !important;
  margin: 18px 8px 0 0 !important;
  border: 1px solid var(--kk-pine) !important;
  border-radius: 3px;
  background: var(--kk-pine) !important;
  color: white !important;
  font: 500 15px/1.5 Gordita, Arial, sans-serif !important;
  white-space: normal;
}

.forum-site .kk-home-banner .kk-button.et_pb_button {
  background: #e5edca !important;
  color: #183f33 !important;
  border-color: #e5edca !important;
}

.forum-site .kk-home-banner .kk-button-alt.et_pb_button {
  background: transparent !important;
  color: white !important;
  border-color: #a9bf9c !important;
}

.forum-site :is(.kk-button, .kk-button-alt).et_pb_button:hover {
  text-decoration: underline;
  text-underline-offset: .18em;
}

.forum-site :is(.kk-button, .kk-button-alt).et_pb_button:focus-visible {
  outline: 3px solid #bf8b18;
  outline-offset: 4px;
}

/* The new partner takes a fifth equal card on wide screens. */
@media (min-width: 1120px) {
  .forum-site .forum-partners-grid:has(> .forum-partner:nth-child(5)) {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .forum-site .forum-partners-grid:has(> .forum-partner:nth-child(5)) > .forum-partner {
    padding: 24px clamp(12px, 1.3vw, 20px) 18px;
  }
}
@media (min-width: 701px) and (max-width: 1119px) {
  .forum-site .forum-partners-grid:has(> .forum-partner:nth-child(5)) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .forum-site .forum-partners-grid:has(> .forum-partner:nth-child(5)) {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* The seventh link needs a wider desktop row or a dedicated navigation line. */
@media (min-width: 1321px) and (max-width: 1519px) {
  .forum-site .forum-header-row.et_pb_row:has(.et-menu > li:nth-child(7)) {
    grid-template-columns: 382px minmax(0, 1fr);
    gap: 10px 22px;
    padding: 16px 0 10px !important;
  }
  .forum-site .forum-header-row:has(.et-menu > li:nth-child(7)) .forum-header-menu {
    grid-column: 1 / -1;
    border-top: 1px solid var(--forum-line);
    padding-top: 8px;
  }
  .forum-site .forum-header-row:has(.et-menu > li:nth-child(7)) .et_pb_menu__wrap {
    justify-content: flex-start !important;
  }
}
@media (min-width: 1520px) {
  .forum-site .forum-header-row.et_pb_row:has(.et-menu > li:nth-child(7)) {
    max-width: 1490px !important;
  }
}
.forum-site .forum-navigation :is(.et-menu, .et_mobile_menu) a:is([href*="dyskusja-panelowa-2026"], [href*="kulaty-stul-2026"]) {
  color: #315f42 !important;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #a3bf8c;
  text-underline-offset: 5px;
}

@media (max-width: 800px) {
  .forum-site :is(.kk-hero-row, .kk-banner-row, .kk-related-row).et_pb_row {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }
  .forum-site .kk-hero-art img { aspect-ratio: 16 / 9; }
  .forum-site .kk-banner-row > .et_pb_column:last-child img { aspect-ratio: 16 / 8; }
}

@media (max-width: 480px) {
  .forum-site .kk-title h1 { font-size: clamp(35px, 10vw, 43px); }
  .forum-site .kk-banner-title h2 { font-size: 34px; }
  .forum-site .kk-home-banner .kk-banner-row.et_pb_row { padding: 24px 18px !important; }
  .forum-site :is(.kk-button, .kk-button-alt).et_pb_button { margin-right: 0 !important; }
}
