/* =========================================================
   Romania–Bulgaria — Reporting, FLC and control
   ========================================================= */

:root {
  --report-navy: #0e4d84;
  --report-blue: #1f6fa9;
  --report-teal: #168d95;
  --report-green: #4d9148;
  --report-ink: #153f68;
  --report-line: rgba(26, 80, 116, .14);
  --report-soft-blue: #eef8fc;
  --report-soft-green: #f2f8ef;
}

.robg-reporting-page {
  overflow: hidden;
  background: linear-gradient(180deg, #fbfaf6 0%, #f7fbfa 66%, #edf8fa 100%);
}

.robg-reporting {
  padding: 26px 0 31px;
  color: var(--report-ink);
}

.robg-reporting-inner {
  width: min(1480px, calc(100% - 52px));
  margin: 0 auto;
}

.robg-reporting-breadcrumbs {
  margin-bottom: 17px;
}

/* Hero */
.robg-reporting-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, .72fr);
  gap: 28px;
  align-items: center;
  min-height: 260px;
  margin-bottom: 16px;
  padding: 23px 22px 25px;
  overflow: hidden;
  border-radius: 0 0 56px 56px;
  background:
    linear-gradient(
      90deg,
      rgba(251,250,246,1) 0%,
      rgba(251,250,246,.98) 33%,
      rgba(251,250,246,.72) 52%,
      rgba(251,250,246,.08) 100%
    ),
    url("../images/romania-bulgaria/reporting/reporting-hero-background.png")
    right center / 72% 100% no-repeat;
}

.robg-reporting-copy {
  position: relative;
  z-index: 2;
  max-width: 730px;
}

.robg-reporting-copy h1 {
  margin: 0 0 13px;
  color: var(--report-navy);
  font-size: clamp(48px, 4.15vw, 68px);
  line-height: 1;
  letter-spacing: -1.7px;
}

.robg-reporting-copy p {
  max-width: 680px;
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
}

.robg-prepare-card {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 150px;
  gap: 13px;
  align-items: center;
  padding: 13px 15px;
  border: 1px solid #bddbea;
  border-radius: 19px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 14px 30px rgba(25,75,104,.1);
}

.robg-info-icon,
.robg-note-icon {
  display: grid;
  place-items: center;
  width: 41px;
  height: 41px;
  border-radius: 50%;
  color: white;
  background: var(--report-blue);
  font-size: 23px;
  font-weight: 800;
}

.robg-prepare-card strong {
  display: block;
  margin-bottom: 5px;
  color: var(--report-navy);
  font-size: 15px;
  line-height: 1.3;
}

.robg-prepare-card p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.42;
}

.robg-prepare-card > img {
  width: 150px;
  height: 95px;
  object-fit: contain;
}

/* Process */
.robg-reporting-process {
  position: relative;
  min-height: 204px;
  margin-bottom: 16px;
  padding: 18px 18px 14px;
  overflow: hidden;
  border: 1px solid var(--report-line);
  border-radius: 22px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 10px 25px rgba(25,75,104,.06);
}

.robg-process-wave {
  position: absolute;
  left: 3%;
  right: 3%;
  bottom: 31px;
  width: 94%;
  height: 86px;
  object-fit: fill;
  opacity: .78;
  pointer-events: none;
}

.robg-process-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns:
    minmax(95px,1fr) 28px
    minmax(95px,1fr) 28px
    minmax(95px,1fr) 28px
    minmax(95px,1fr) 28px
    minmax(95px,1fr) 28px
    minmax(95px,1fr) 28px
    minmax(95px,1fr);
  gap: 5px;
  align-items: center;
}

.robg-process-grid article {
  display: grid;
  justify-items: center;
  text-align: center;
}

.robg-process-grid article img {
  width: 76px;
  height: 76px;
  margin-bottom: 7px;
  object-fit: contain;
}

.robg-process-grid article strong {
  color: var(--report-navy);
  font-size: 15px;
}

.robg-process-grid article span {
  margin-top: 3px;
  font-size: 10.8px;
  line-height: 1.32;
}

.robg-process-grid > i {
  color: var(--report-blue);
  font-size: 27px;
  font-style: normal;
  text-align: center;
}

/* Roles */
.robg-reporting-roles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.robg-role-card {
  display: grid;
  grid-template-columns: 205px 1fr;
  gap: 15px;
  align-items: center;
  min-height: 248px;
  padding: 16px;
  border: 1px solid var(--report-line);
  border-radius: 20px;
  background: rgba(255,255,255,.9);
}

.robg-beneficiary-card {
  border-color: rgba(31,111,169,.22);
  background: linear-gradient(135deg, #eff8fd, #ffffff);
}

.robg-controller-card {
  border-color: rgba(77,145,72,.22);
  background: linear-gradient(135deg, #f3f8f0, #ffffff);
}

.robg-role-illustration {
  width: 205px;
  height: 190px;
  object-fit: contain;
}

.robg-role-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 11px;
}

.robg-role-heading span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: white;
  background: var(--report-blue);
  font-size: 15px;
}

.robg-controller-card .robg-role-heading span {
  background: var(--report-green);
}

.robg-role-heading h2 {
  margin: 0;
  color: var(--report-navy);
  font-size: 20px;
}

.robg-controller-card .robg-role-heading h2 {
  color: #357c36;
}

.robg-role-card ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 7px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.robg-role-card li {
  position: relative;
  padding-left: 21px;
  font-size: 12px;
  line-height: 1.38;
}

.robg-role-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  color: white;
  background: var(--report-green);
  font-size: 9px;
  font-weight: 800;
}

/* Checklist */
.robg-reporting-checklist {
  display: grid;
  grid-template-columns: 215px minmax(0, 1fr);
  gap: 0;
  margin-bottom: 16px;
  padding: 14px 15px;
  border: 1px solid var(--report-line);
  border-radius: 20px;
  background: rgba(255,255,255,.83);
  scroll-margin-top: 90px;
}

.robg-checklist-title {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 10px;
  align-items: center;
  padding-right: 16px;
  border-right: 1px solid rgba(35,92,128,.18);
}

.robg-checklist-title img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.robg-checklist-title h2 {
  margin: 0;
  color: var(--report-navy);
  font-size: 19px;
  line-height: 1.28;
}

.robg-reporting-check-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0,1fr));
}

.robg-reporting-check-grid article {
  position: relative;
  min-height: 118px;
  padding: 0 10px 4px;
  border-right: 1px dashed rgba(45,100,137,.24);
  text-align: center;
}

.robg-reporting-check-grid article:last-child {
  border-right: 0;
}

.robg-reporting-check-grid article > span {
  position: absolute;
  top: 0;
  left: 8px;
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  color: white;
  background: var(--report-blue);
  font-size: 11px;
  font-weight: 800;
}

.robg-reporting-check-grid article:nth-child(even) > span {
  background: var(--report-green);
}

.robg-reporting-check-grid img {
  width: 48px;
  height: 48px;
  margin: 2px auto 7px;
  object-fit: contain;
}

.robg-reporting-check-grid h3 {
  margin: 0;
  color: var(--report-navy);
  font-size: 11.3px;
  line-height: 1.3;
}

/* Advice */
.robg-reporting-advice {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 445px;
  gap: 15px;
  align-items: center;
  min-height: 122px;
  margin-bottom: 14px;
  padding: 12px 16px;
  overflow: hidden;
  border: 1px solid #bddbea;
  border-radius: 19px;
  background:
    linear-gradient(90deg, rgba(235,247,253,.98), rgba(255,255,255,.88)),
    linear-gradient(180deg, #f7fbfd, #edf8fb);
}

.robg-advice-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #e0f1fa;
}

.robg-advice-icon img {
  width: 43px;
  height: 43px;
  object-fit: contain;
}

.robg-reporting-advice h2 {
  margin: 0 0 5px;
  color: var(--report-navy);
  font-size: 20px;
}

.robg-reporting-advice p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.43;
}

.robg-reporting-footer-art {
  width: 445px;
  height: 105px;
  object-fit: contain;
  object-position: right center;
}

/* Official note */
.robg-reporting-note {
  display: grid;
  grid-template-columns: 42px minmax(0,1fr) auto;
  gap: 13px;
  align-items: center;
  padding: 11px 14px;
  border: 1px solid #c3deeb;
  border-radius: 16px;
  background: linear-gradient(135deg, #eaf6fd, #f8fbfd);
}

.robg-reporting-note strong {
  display: block;
  margin-bottom: 2px;
  color: var(--report-navy);
  font-size: 13px;
}

.robg-reporting-note p {
  margin: 0;
  font-size: 11px;
  line-height: 1.38;
}

.robg-reporting-note a {
  padding: 10px 17px;
  border-radius: 999px;
  color: white;
  background: var(--report-blue);
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}

.robg-reporting-back {
  display: flex;
  justify-content: center;
  gap: 42px;
  margin-top: 18px;
}

.robg-reporting-back a {
  color: #09639c;
  text-decoration: none;
  font-weight: 800;
}

/* Responsive */
@media (max-width: 1260px) {
  .robg-reporting-hero {
    grid-template-columns: 1fr;
    background:
      linear-gradient(90deg, rgba(251,250,246,.98), rgba(251,250,246,.76)),
      url("../images/romania-bulgaria/reporting/reporting-hero-background.png")
      right center / cover no-repeat;
  }

  .robg-prepare-card {
    max-width: 680px;
  }

  .robg-process-grid {
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 17px;
  }

  .robg-process-grid > i,
  .robg-process-wave {
    display: none;
  }

  .robg-reporting-roles {
    grid-template-columns: 1fr;
  }

  .robg-reporting-checklist {
    grid-template-columns: 1fr;
  }

  .robg-checklist-title {
    border-right: 0;
    border-bottom: 1px solid rgba(35,92,128,.18);
    padding: 0 0 12px;
    margin-bottom: 12px;
  }

  .robg-reporting-advice {
    grid-template-columns: 58px 1fr 330px;
  }

  .robg-reporting-footer-art {
    width: 330px;
  }
}

@media (max-width: 860px) {
  .robg-reporting-inner {
    width: min(100% - 28px, 760px);
  }

  .robg-prepare-card {
    grid-template-columns: 42px 1fr;
  }

  .robg-prepare-card > img {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .robg-process-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .robg-role-card {
    grid-template-columns: 1fr;
  }

  .robg-role-illustration {
    justify-self: center;
  }

  .robg-role-card ul {
    grid-template-columns: 1fr;
  }

  .robg-reporting-check-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
    row-gap: 15px;
  }

  .robg-reporting-check-grid article {
    border-right: 0;
    border-bottom: 1px dashed rgba(45,100,137,.24);
  }

  .robg-reporting-advice {
    grid-template-columns: 54px 1fr;
  }

  .robg-reporting-footer-art {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 520px);
  }

  .robg-reporting-note {
    grid-template-columns: 42px 1fr;
  }

  .robg-reporting-note a {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 520px) {
  .robg-reporting {
    padding-top: 20px;
  }

  .robg-reporting-inner {
    width: min(100% - 22px, 470px);
  }

  .robg-reporting-hero {
    padding: 18px 14px;
  }

  .robg-process-grid,
  .robg-reporting-check-grid {
    grid-template-columns: 1fr;
  }

  .robg-role-illustration {
    width: 180px;
    height: 160px;
  }

  .robg-reporting-back {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
}
/* =========================================================
   ROBG reporting — compact desktop header and process
   ========================================================= */

@media (min-width: 1261px) {

  /* По-компактна Hero зона */
  .robg-reporting-hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(430px, 0.72fr);
    gap: 24px;

    min-height: 205px;
    padding: 16px 20px 18px;

    border-radius: 0 0 48px 48px;

    background:
      linear-gradient(
        90deg,
        rgba(251, 250, 246, 1) 0%,
        rgba(251, 250, 246, 0.97) 31%,
        rgba(251, 250, 246, 0.55) 48%,
        rgba(251, 250, 246, 0.04) 100%
      ),
      url("../images/romania-bulgaria/reporting/reporting-hero-background.png")
      right center / 70% 100% no-repeat;
  }

  /* Заглавието на един ред */
  .robg-reporting-copy h1 {
    max-width: none;
    margin-bottom: 12px;

    font-size: clamp(46px, 3.15vw, 58px);
    line-height: 1;
    letter-spacing: -1.4px;
    white-space: nowrap;
  }

  .robg-reporting-copy p {
    max-width: 720px;
    font-size: 15.5px;
    line-height: 1.45;
  }

  /* По-малка информационна карта вдясно */
  .robg-prepare-card {
    grid-template-columns: 40px minmax(0, 1fr) 128px;
    gap: 11px;

    width: 100%;
    max-width: 555px;
    min-height: 108px;
    justify-self: end;

    padding: 10px 13px;
  }

  .robg-prepare-card > img {
    width: 128px;
    height: 78px;
  }

  .robg-prepare-card strong {
    font-size: 14px;
  }

  .robg-prepare-card p {
    font-size: 11.5px;
  }

  /* Скриваме допълнителното заглавие над процеса */
  .robg-reporting-process > h2 {
    display: none;
  }

  /* Компактен процес като в оригинала */
  .robg-reporting-process {
    min-height: 158px;
    padding: 11px 16px 10px;
  }

  .robg-process-grid article img {
    width: 64px;
    height: 64px;
    margin-bottom: 5px;
  }

  .robg-process-grid article strong {
    font-size: 14px;
  }

  /* В оригинала под иконите има само наименованията */
  .robg-process-grid article span {
    display: none;
  }

  .robg-process-grid > i {
    font-size: 24px;
  }

  .robg-process-wave {
    bottom: 24px;
    height: 66px;
  }
}