﻿/* ā”€ā”€ Categories band ā”€ā”€ */
/* WP FSE rule: .entry-content.is-layout-flow > * { margin-block: 0 !important } = (0,2,0)
   We need (0,3,0) to win: add .is-layout-flow to our selector chain. */
.wp-block-post-content.is-layout-flow .duk-cats-band,
.entry-content.is-layout-flow .duk-cats-band {
  margin-block-start: -44px !important;
  position: relative;
  z-index: 5;
  padding-bottom: 0;
}
.duk-cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.duk-cat {
  background: #fff;
  border: 1px solid var(--pu-line);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  cursor: pointer;
  transition: .2s;
  box-shadow: var(--sh-2);
  position: relative;
  overflow: hidden;
  text-align: left;
}
.duk-cat::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--pu-blue-800);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .25s;
}
.duk-cat:hover { transform: translateY(-3px); box-shadow: var(--sh-3); border-color: var(--pu-blue-200); }
.duk-cat:hover::before,
.duk-cat.active::before { transform: scaleX(1); }
.duk-cat.active { border-color: var(--pu-blue-800); background: var(--pu-blue-50); }
.duk-cat .top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.duk-cat .ic {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: var(--pu-blue-50);
  color: var(--pu-blue-800);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .15s, color .15s;
}
.duk-cat.active .ic,
.duk-cat:hover .ic { background: var(--pu-blue-800); color: #fff; }
.duk-cat .ic svg {
  width: 22px; height: 22px;
  stroke: currentcolor; fill: none;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.duk-cat .count {
  font: 500 12px var(--f-mono);
  color: var(--pu-blue-700);
  letter-spacing: .08em;
  background: var(--pu-blue-50);
  padding: 5px 10px;
  border-radius: var(--r-pill);
}
.duk-cat.active .count { background: #fff; color: var(--pu-blue-800); }
.duk-cat h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.15;
  color: var(--pu-blue-900);
  margin: 0;
  letter-spacing: -.01em;
}
.duk-cat p { color: var(--pu-ink-2); font-size: 14px; line-height: 1.55; margin: 0; flex: 1; }
.duk-cat .more {
  font: 600 13px var(--f-body);
  color: var(--pu-blue-800);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-top: 6px;
  border-bottom: 1.5px solid;
  padding-bottom: 2px;
}
.duk-cat .more::after { content: "→"; transition: transform .15s; }
.duk-cat:hover .more::after { transform: translateX(4px); }

/* ā”€ā”€ FAQ section ā”€ā”€ */
.duk-faq-section { padding: 100px 0; }
.duk-faq-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: flex-start;
}
.duk-faq-aside { position: sticky; top: 96px; }
.duk-aside-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 14px 0 18px;
}
.duk-aside-head h4 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--pu-blue-900);
  margin: 0;
  letter-spacing: -.005em;
}
.duk-clear-btn {
  font: 500 12px var(--f-body);
  color: #fff;
  background: var(--pu-blue-800);
  border-radius: var(--r-pill);
  padding: 5px 12px;
  transition: background .15s;
  white-space: nowrap;
  cursor: pointer;
}
.duk-clear-btn:hover { background: var(--pu-blue-900); }
.duk-filters { display: flex; flex-direction: column; gap: 2px; margin-bottom: 32px; }
.duk-filters button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 16px;
  border-radius: var(--r-md);
  font: 500 14px var(--f-body);
  color: var(--pu-ink-2);
  transition: .15s;
  text-align: left;
  width: 100%;
  cursor: pointer;
}
.duk-filters button:hover { background: #fff; color: var(--pu-blue-900); }
.duk-filters button.on { background: var(--pu-blue-800); color: #fff; }
.duk-filters button.on .ct { background: rgba(255,255,255,.18); color: #fff; }
.duk-filters button .ct {
  font: 500 11px var(--f-mono);
  background: var(--pu-blue-50);
  color: var(--pu-blue-700);
  padding: 3px 8px;
  border-radius: var(--r-pill);
  letter-spacing: .04em;
}
.duk-helper {
  background: #fff;
  border: 1px solid var(--pu-line);
  border-radius: var(--r-lg);
  padding: 22px;
}
.duk-helper .ic {
  width: 42px; height: 42px;
  border-radius: var(--r-md);
  background: var(--pu-sand-200);
  color: var(--pu-sand-700);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.duk-helper .ic svg {
  width: 22px; height: 22px;
  stroke: currentcolor; fill: none;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.duk-helper b {
  display: block;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--pu-blue-900);
  margin-bottom: 6px;
  letter-spacing: -.005em;
}
.duk-helper p { font-size: 13.5px; color: var(--pu-ink-2); margin: 0 0 14px; line-height: 1.5; }
.duk-helper a {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font: 600 13px var(--f-body);
  color: var(--pu-blue-800);
  border-bottom: 1.5px solid;
  padding-bottom: 2px;
}
.duk-faq-main .section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.duk-faq-main .section-head h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.05;
  letter-spacing: -.015em;
  color: var(--pu-blue-900);
  margin: 14px 0 8px;
}
.duk-faq-main .section-head h2 em { font-style: normal; color: inherit; }
.duk-faq-main .section-head .meta-line {
  font: 500 12.5px var(--f-mono);
  color: var(--pu-ink-3);
  letter-spacing: .06em;
}
.duk-faq-main .section-head .meta-line b { color: var(--pu-blue-800); font-weight: 600; }
.duk-faq-list { display: flex; flex-direction: column; gap: 12px; }
.duk-faq-item {
  background: #fff;
  border: 1px solid var(--pu-line);
  border-radius: var(--r-lg);
  transition: border-color .2s, box-shadow .2s;
}
.duk-faq-item:hover { border-color: var(--pu-blue-200); }
.duk-faq-item.open { border-color: var(--pu-blue-800); box-shadow: var(--sh-2); }
.duk-faq-item .q {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  cursor: pointer;
  width: 100%;
  text-align: left;
}
.duk-faq-item .q .idx {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--pu-blue-700);
  background: var(--pu-blue-50);
  padding: 6px 10px;
  border-radius: var(--r-xs);
  flex-shrink: 0;
  font-weight: 500;
}
.duk-faq-item.open .q .idx { background: var(--pu-blue-800); color: #fff; }
.duk-faq-item .q .txt {
  flex: 1;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.35;
  color: var(--pu-blue-900);
  letter-spacing: -.005em;
}
.duk-faq-item .q .tag {
  font: 500 10.5px var(--f-mono);
  color: var(--pu-sea-600);
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 10px;
  background: var(--pu-sea-100);
  border-radius: var(--r-pill);
  flex-shrink: 0;
  white-space: nowrap;
}
.duk-faq-item .q .plus {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--pu-line);
  display: flex; align-items: center; justify-content: center;
  color: var(--pu-blue-800);
  transition: .25s;
  flex-shrink: 0;
  position: relative;
}
.duk-faq-item:hover .q .plus { border-color: var(--pu-blue-300); }
.duk-faq-item.open .q .plus {
  background: var(--pu-blue-800);
  color: #fff;
  border-color: var(--pu-blue-800);
  transform: rotate(45deg);
}
.duk-faq-item .q .plus::before,
.duk-faq-item .q .plus::after {
  content: "";
  position: absolute;
  background: currentcolor;
  border-radius: 2px;
}
.duk-faq-item .q .plus::before { width: 14px; height: 1.8px; }
.duk-faq-item .q .plus::after  { width: 1.8px; height: 14px; }
.duk-faq-item .a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s;
}
.duk-faq-item.open .a { grid-template-rows: 1fr; }
.duk-faq-item .a > .inner { overflow: hidden; min-height: 0; }
.duk-faq-item .a .pad {
  padding: 0 24px 24px 84px;
  color: var(--pu-ink-2);
  font-size: 15.5px;
  line-height: 1.7;
  border-top: 1px dashed transparent;
}
.duk-faq-item.open .a .pad { border-top-color: var(--pu-line); }
.duk-faq-item .a .pad p { margin: 14px 0 0; }
.duk-faq-item .a .pad p:first-child { margin-top: 18px; }
.duk-faq-item .a .pad ul { padding-left: 20px; margin: 12px 0 0; }
.duk-faq-item .a .pad ul li { margin-bottom: 6px; }
.duk-faq-item .a .pad .links {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--pu-line);
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.duk-faq-item .a .pad .links a {
  font: 600 13px var(--f-body);
  color: var(--pu-blue-800);
  display: inline-flex;
  gap: 6px;
  align-items: center;
  border-bottom: 1.5px solid;
  padding-bottom: 2px;
}
.duk-faq-item .a .pad .links a:hover { color: var(--pu-sea-600); }
.duk-faq-item.hidden { display: none; }
.duk-faq-empty {
  display: none;
  text-align: center;
  padding: 60px 20px;
  border: 1px dashed var(--pu-line);
  border-radius: var(--r-lg);
  background: #fff;
}
.duk-faq-empty.show { display: block; }
.duk-faq-empty h4 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--pu-blue-900);
  margin: 0 0 8px;
}
.duk-faq-empty p { color: var(--pu-ink-2); font-size: 14.5px; margin: 0 0 18px; }

/* ā”€ā”€ CTA section ā”€ā”€ */
.duk-cta-section { padding: 0 0 100px; }
.duk-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.duk-cta-card {
  padding: 48px 44px;
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
  color: #fff;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.duk-cta-card:hover { transform: translateY(-3px); box-shadow: var(--sh-3); }
.duk-cta-card.contact { background: var(--pu-blue-900); }
.duk-cta-card.portal  { background: var(--pu-sea-800); }
.duk-cta-card > * { position: relative; }
.duk-cta-card .ic {
  width: 54px; height: 54px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,.1);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.16);
  margin-bottom: 20px;
}
.duk-cta-card .ic svg {
  width: 26px; height: 26px;
  stroke: currentcolor; fill: none;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.duk-cta-card .kicker { color: var(--pu-sand-400); }
.duk-cta-card.portal .kicker { color: var(--pu-sea-400); }
.duk-cta-card h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 34px;
  line-height: 1.05;
  color: #fff;
  margin: 12px 0;
  letter-spacing: -.015em;
  max-width: 14ch;
}
.duk-cta-card h3 em { font-style: normal; color: inherit; }
.duk-cta-card p {
  color: rgba(255,255,255,.78);
  font-size: 15px;
  margin: 0 0 28px;
  line-height: 1.55;
  max-width: 36ch;
}
.duk-cta-card .actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.duk-cta-card .actions .btn-primary {
  background: #fff;
  color: var(--pu-blue-900);
  border-color: #fff;
}
.duk-cta-card .actions .btn-primary:hover { background: var(--pu-blue-100); border-color: var(--pu-blue-100); transform: none; }
.duk-cta-card.portal .actions .btn-primary { color: var(--pu-sea-800); }
.duk-cta-card.portal .actions .btn-primary:hover { background: var(--pu-sea-100); }
.duk-cta-card .actions .quick {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font: 500 13px var(--f-mono);
  color: rgba(255,255,255,.78);
  letter-spacing: .04em;
}
.duk-cta-card .actions .quick b { color: #fff; font-weight: 600; }

/* ā”€ā”€ Active filters bar ā”€ā”€ */
.duk-active-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding: 12px 16px;
  background: var(--pu-blue-50);
  border: 1px solid var(--pu-blue-200);
  border-radius: var(--r-lg);
}
.afl-label {
  font: 500 11px var(--f-mono);
  color: var(--pu-blue-600);
  letter-spacing: .08em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.afl-chips { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
.afl-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1.5px solid var(--pu-blue-300);
  border-radius: var(--r-pill);
  padding: 5px 6px 5px 10px;
  font: 500 13px var(--f-body);
  color: var(--pu-blue-900);
}
.afl-chip-icon {
  display: flex;
  align-items: center;
  color: var(--pu-blue-600);
  flex-shrink: 0;
}
.afl-chip-icon svg {
  width: 13px; height: 13px;
  stroke: currentcolor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.afl-chip-label {
  max-width: 22ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.afl-chip button {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--pu-blue-100);
  color: var(--pu-blue-700);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .15s, color .15s;
  cursor: pointer;
}
.afl-chip button svg {
  width: 11px; height: 11px;
  stroke: currentcolor; fill: none;
  stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}
.afl-chip button:hover { background: var(--pu-blue-800); color: #fff; }
.afl-clear-all {
  font: 500 12px var(--f-body);
  color: #fff;
  background: var(--pu-blue-800);
  border-radius: var(--r-pill);
  padding: 5px 12px;
  white-space: nowrap;
  margin-left: auto;
  flex-shrink: 0;
  transition: background .15s;
  cursor: pointer;
}
.afl-clear-all:hover { background: var(--pu-blue-900); }

/* ā”€ā”€ Responsive ā”€ā”€ */
@media (max-width: 1280px) {
  .duk-filters { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
  .duk-cta-card h3 { max-width: 100%; }
}

@media (max-width: 1100px) {
  .duk-faq-layout { grid-template-columns: 1fr; gap: 40px; }
  .duk-faq-main { min-width: 0; }
  .duk-faq-aside { position: static; }
  .duk-filters { flex-flow: wrap; gap: 8px; }
  .duk-filters button { flex: 0 0 auto; background: #fff; border: 1px solid var(--pu-line); }
  .duk-cats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  .duk-faq-section { padding: 60px 0; }
  .duk-cta-section { padding: 0 0 60px; }
  .duk-cta-grid { grid-template-columns: repeat(2, 1fr); }
  .duk-cta-card h3 { font-size: 30px; max-width: 100%; }
}
@media (max-width: 760px) {
  .duk-faq-section { padding: 60px 0; }
  .duk-cta-section { padding: 0 0 60px; }
  .duk-faq-item .q { padding: 18px; gap: 12px; }
  .duk-faq-item .q .tag { display: none; }
  .duk-faq-item .q .txt { font-size: 16.5px; }
  .duk-faq-item .a .pad { padding: 0 18px 20px; }
  .duk-cta-grid { grid-template-columns: 1fr; }
  .duk-cta-card { padding: 36px 28px; min-height: 0; }
  .duk-cta-card h3 { font-size: 28px; max-width: 100%; }
  .duk-cta-card .actions { display: flex; gap: 20px; justify-content: center; }
  .duk-cta-card .actions .btn-primary { width: 100%; justify-content: center; }
  .duk-cta-card .actions .quick { width: 100%; justify-content: center; }
  .duk-cats { grid-template-columns: 1fr; }
  .duk-cats-band { margin-top: -20px; }
  .duk-filters button { white-space: normal; text-align: left; }
  .duk-active-filters { flex-direction: column; align-items: flex-start; }
  .afl-clear-all { margin-left: 0; }
}

@media (max-width: 380px) {
  .duk-faq-item .q { gap: 8px; padding: 14px; }
  .duk-faq-item .q .idx { display: none; }
  .duk-faq-item .q .plus { width: 30px; height: 30px; flex-shrink: 0; }
}
