/* ==============================
   likee-join.css
   ============================== */

/* Center and constrain main content */
main.container {
  max-width: 760px;
  margin: 3rem auto;
  padding: 0;
}

/* Service section “card” */
.service-section {
  background: #ffffff;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Section headings */
.service-section h2 {
  font-size: 2rem;
  color: #1c2942;
  margin-bottom: 1.5rem;
  text-align: center;
}
.service-section h3 {
  font-size: 1.5rem;
  color: #1c2942;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* Paragraph text */
.service-section p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: #333333;
}

/* --------------------------------------
   Details panels: white background, grey header
   -------------------------------------- */
details {
  background: #ffffff;
  border: 1px solid #e0e5ed;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

/* Summary bar */
summary {
  background: #f0f2f5;
  padding: 0.9rem 1.25rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1c2942;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
summary:hover {
  background: #e8ecf3;
}
details[open] > summary {
  background: #dde0e4;
}

/* Arrow icon */
summary::marker,
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "▸";
  transition: transform 0.2s;
}
details[open] > summary::after {
  transform: rotate(90deg);
}

/* Content area */
details > p,
details > ul {
  background: #ffffff;
  padding: 0 1.5rem 1rem;
  margin: 0;
  line-height: 1.6;
  border-top: none;
}

/* Lists */
details ul {
  list-style: disc outside;
  padding-left: 2rem;
  margin-top: 0.5rem;
}
details ul li {
  margin-bottom: 0.5rem;
}

/* Section labels (formerly “Odgovornosti:”, “Kvalifikacije:”) */
details > p > strong {
  display: block;
  margin: 1rem 0 0.5rem;
  font-size: 1rem;
  color: #1c2942;
  border-bottom: 1px solid #e0e5ed;
  padding-bottom: 0.25rem;
}

/* —— collapse gap & extra border above every bullet list —— */
details > ul {
  border-top: none;    /* kill that extra line */
  padding-top: 0;      /* remove the list’s top padding */
  margin-top: -10;       /* ensure no default margin sneaks in */
}

/* —— tighten up label-to-list spacing —— */

/* 1) Remove the big bottom padding on the <p> that holds your label */
details > p {
  padding-bottom: 0 !important;
}

/* 2) Collapse the strong’s own margins (it was pushing things down) */
details > p > strong {
  margin: 0 !important;
  padding-bottom: 0.25rem;   /* just enough for the underline */
  border-bottom: 1px solid #e0e5ed;
}

/* 3) Kill any extra space above the UL that follows your label */
details > p + ul {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* — add breathing room above the first <p> under summary — */
details > summary + p {
  padding-top: 0.75rem !important;
}

/* (keep the collapsed bottom-padding from before) */
details > p {
  padding-bottom: 0 !important;
}
