/* =========================================================
   BULGARIA–SERBIA — 03 / PROGRAMME OVERVIEW
   Dedicated page styles. Does not modify local-hub.css.
   ========================================================= */

.site-header .bgrs-header-programme-logo {
  width: 68px;
  height: 44px;
  flex: 0 0 68px;
  border: 0;
  border-radius: 0;
  background: transparent url("../images/programmes/logos/bulgaria-serbia-logo.png") center / 148% auto no-repeat;
  box-shadow: none;
}

.site-footer .bgrs-footer-master-logo {
  width: 50px;
  height: 44px;
  flex: 0 0 50px;
  border: 0;
  border-radius: 0;
  background: transparent url("../images/master-logo-mark-transparent.png") center / contain no-repeat;
  box-shadow: none;
}

.site-header .bgrs-header-programme-logo::before,
.site-footer .bgrs-footer-master-logo::before {
  content: none !important;
  display: none !important;
}


.costs-page{--navy:#073b75;--green:#477b4e;background:#f7f4eb;color:#243647;padding:28px 24px 60px}.costs-shell{max-width:1200px;margin:auto}.costs-page h1,.costs-page h2,.costs-page h3{color:var(--navy);line-height:1.2}.costs-page h1{margin:12px 0 18px}.costs-page h2{margin:0 0 20px}.costs-page h3{font-size:20px;margin:0 0 12px}.costs-page p,.costs-page li{line-height:1.7}.costs-page a{color:var(--navy)}.breadcrumbs{display:flex;flex-wrap:wrap;gap:10px;font-size:14px}.costs-intro{padding:42px 0 28px;max-width:920px}.costs-intro>p{font-size:20px}.kicker{display:block;color:var(--green);font-size:13px;letter-spacing:.1em;text-transform:uppercase;font-weight:700}.scope,.practical{background:#eaf1e7;border-left:4px solid var(--green);padding:20px 24px;border-radius:0 14px 14px 0}.scope p,.practical p{margin:8px 0 0}.costs-nav{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:36px}.costs-nav a{background:white;border:1px solid #d6dfd4;border-radius:24px;padding:10px 16px;text-decoration:none}.costs-page section{margin-bottom:48px;scroll-margin-top:30px}.cost-grid,.category-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.cost-card{background:#fffdf7;border:1px solid #dce3d8;border-radius:18px;padding:26px}.source{font-size:14px;color:#56675d;border-top:1px solid #e0e5dc;padding-top:12px}.cost-card .source{margin-top:18px}.checklist{padding-left:24px}.checklist li{padding:5px 0}.category{border:1px solid #d8e0d4;border-radius:16px;background:#fffdf7;margin:12px 0;overflow:hidden}.category summary{padding:22px 24px;display:flex;align-items:center;gap:16px;cursor:pointer;font-weight:700;color:var(--navy);font-size:20px;list-style:none}.category summary::-webkit-details-marker{display:none}.number{font-size:14px;background:#e8efe3;border-radius:10px;padding:9px;color:var(--green);flex-shrink:0}.expand{margin-left:auto}.category[open] .expand{transform:rotate(45deg)}.category-body{padding:0 24px 24px}.category-body .practical{margin:20px 0}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;background:#fffdf7;font-size:15px}th,td{text-align:left;padding:16px;border-bottom:1px solid #dde4d8;vertical-align:top;line-height:1.6}th{background:#e8efe3;color:var(--navy)}.source-links li{padding:8px 0}.back-links{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.costs-page a:focus-visible,.category summary:focus-visible{outline:3px solid #477b4e;outline-offset:4px}.costs-nav a:hover{background:#e8efe3}@media(max-width:700px){.costs-page{padding:20px 16px 40px}.cost-grid,.category-grid{grid-template-columns:1fr}.cost-card{padding:20px}.category summary{font-size:18px;padding:18px 16px}.category-body{padding:0 16px 20px}.costs-intro{padding-top:28px}.scope,.practical{padding:16px}.costs-nav a{font-size:14px}th,td{min-width:120px;padding:12px}}@media print{.site-header,.site-footer,.costs-nav,.back-links{display:none}.costs-page{background:white}.cost-card,.category{break-inside:avoid}}

/* Compact introductory panel */
.costs-page .costs-intro{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(240px,.8fr);align-items:center;gap:30px;max-width:none;padding:22px 0 24px}.costs-page .costs-intro h1{margin:10px 0 14px;line-height:1.15}.costs-intro-copy>p{font-size:16px;line-height:1.65;max-width:650px;margin:0 0 18px}.costs-intro-copy>.kicker{font-size:11px;letter-spacing:.07em}.costs-page .costs-intro .scope{padding:15px 18px;font-size:16px}.costs-page .costs-intro .scope p{line-height:1.6;margin-top:6px}.costs-intro-visual{margin:0;max-width:340px;justify-self:center;width:100%}.costs-intro-visual img{display:block;width:100%;height:auto;border-radius:24px;mix-blend-mode:multiply}.costs-page .costs-nav{margin-bottom:30px}@media(max-width:700px){.costs-page .costs-intro{grid-template-columns:1fr;gap:14px;padding-top:20px}.costs-intro-visual{max-width:230px}.costs-intro-copy>p{font-size:16px}.costs-page .costs-intro h1{}}

/* Four checks before expenditure */
.costs-page #before h2{margin:9px 0 14px}.costs-page #before>.kicker{font-size:11px}.before-lead{font-size:16px;max-width:950px;margin:0 0 20px}.before-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0;padding:0;list-style:none}.before-steps li{display:flex;align-items:flex-start;gap:16px;padding:20px;background:#fffdf7;border:1px solid #dce3d8;border-radius:16px}.step-number{display:grid;place-items:center;flex:0 0 42px;height:42px;background:#e8efe3;border-radius:12px;color:#477b4e;font-size:17px;font-weight:700}.costs-page .before-steps h3{font-size:18px;margin:2px 0 7px}.before-steps p{font-size:16px;line-height:1.6;margin:0}.before-note{display:flex;gap:18px;align-items:baseline;background:#eaf1e7;border-left:4px solid #477b4e;padding:14px 18px;margin-top:16px;border-radius:0 12px 12px 0;font-size:14px}.before-note strong{flex-shrink:0}.before-note p{margin:0;line-height:1.6}.before-panel>.source{margin-top:16px}@media(max-width:700px){.before-steps{grid-template-columns:1fr}.before-steps li{padding:16px}.before-note{display:block}.before-note p{margin-top:6px}}

/* Compact reimbursement model comparison */
.costs-page #models>h2{margin-bottom:18px}.costs-page #models .cost-grid{gap:14px}.costs-page #models .cost-card{padding:20px;display:flex;flex-direction:column}.model-heading{display:flex;align-items:center;gap:13px;margin-bottom:14px}.model-icon{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;color:#477b4e;background:#e8efe3;border-radius:12px}.model-icon svg{width:24px;height:24px}.costs-page #models .model-heading h3{font-size:19px;margin:0 0 3px}.model-english{display:block;font-size:12px;color:#617568}.costs-page #models .cost-card>p:not(.source){font-size:16px;line-height:1.65;margin:0 0 14px}.costs-page #models .cost-card>.source{font-size:14px;margin-top:auto;margin-bottom:0;padding-top:10px}.rate-example{margin-top:18px;padding:20px 24px;background:#eaf1e7;border-left:4px solid #477b4e;border-radius:0 14px 14px 0}.costs-page #models .rate-example h3{font-size:18px;margin:0 0 8px}.rate-example>p{font-size:16px;margin:0 0 12px}.rate-table-wrap{overflow-x:auto}.costs-page .rate-table{background:transparent;font-size:16px}.rate-table caption{text-align:left;font-size:14px;color:#56675d;padding-bottom:10px}.costs-page .rate-table th,.costs-page .rate-table td{padding:10px 14px;border-bottom:1px solid #cedbc9;min-width:0}.costs-page .rate-table thead th{background:#dce8d6;font-size:14px}.rate-table tbody th{background:transparent;font-weight:600}.rate-table td strong{font-size:20px;color:#073b75}.rate-example .rate-note{font-size:14px;line-height:1.6;margin:14px 0 0}@media(max-width:700px){.rate-example{padding:16px}.costs-page #models .cost-card{padding:18px}.costs-page .rate-table th,.costs-page .rate-table td{padding:9px 7px}.rate-table td strong{font-size:18px}}

/* General eligibility rules */
.costs-page #general>h2{margin-bottom:18px}
.costs-page #general .cost-grid{gap:14px;margin-bottom:18px}
.costs-page #general .cost-card{padding:20px;display:flex;flex-direction:column;min-width:0}
.rule-heading{display:flex;align-items:center;gap:13px;margin-bottom:14px}
.rule-icon{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;color:#477b4e;background:#e8efe3;border-radius:12px}
.rule-icon svg{width:24px;height:24px}
.costs-page #general .rule-heading h3{font-size:19px;margin:0;line-height:1.3}
.costs-page #general .cost-card>p{font-size:16px;line-height:1.65;margin:0 0 14px}
.costs-page #general .cost-card>.source{font-size:14px;margin-top:auto;margin-bottom:0;padding-top:10px}
.payment-deadline{display:flex;align-items:center;gap:14px;background:#eaf1e7;border-radius:12px;padding:12px 14px;margin-bottom:14px}
.payment-deadline strong{font-size:22px;line-height:1.2;color:#073b75;white-space:nowrap}
.payment-deadline span{font-size:14px;line-height:1.45;color:#42584a}
.costs-page #general .cost-card>.vat-partner{padding:12px 14px;border-left:3px solid #8eaa83;background:#f2f5ed;border-radius:0 10px 10px 0;margin-bottom:12px}
.vat-partner strong{display:block;color:#073b75;margin-bottom:5px;font-size:14px}
.costs-page #general .general-detail summary{font-size:17px;padding:17px 20px;gap:14px}
.rule-toggle{margin-left:auto;flex:0 0 28px;height:28px;display:grid;place-items:center;background:#e8efe3;border-radius:8px;color:#477b4e;font-size:22px;line-height:1}
.rule-toggle::before{content:'+'}
.general-detail[open] .rule-toggle::before{content:'−'}
.costs-page #general .category-body{font-size:16px;line-height:1.65;padding:0 20px 20px}
.costs-page #general .category-body li{margin-bottom:7px}
.costs-page #general .category-body .source{font-size:14px;margin-bottom:0}
@media(max-width:700px){.costs-page #general .cost-card{padding:18px}.costs-page #general .rule-heading h3{font-size:18px}.costs-page #general .general-detail summary{padding:16px;font-size:16px}.costs-page #general .category-body{padding:0 16px 18px}.payment-deadline{flex-wrap:wrap;gap:5px 12px}}

/* Budget categories: separate page links and readable category detail. */
.cost-category-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.costs-page .cost-category-link{display:flex;flex-direction:column;align-items:flex-start;padding:24px;background:#fffdf7;border:1px solid #d8e0d4;border-radius:18px;text-decoration:none;min-width:0}
.costs-page .cost-category-link:last-child:nth-child(odd){grid-column:1 / -1}
.cost-category-link:hover{background:#edf3e8;border-color:#477b4e}
.cost-category-code{font-size:14px;font-weight:700;color:#477b4e;margin-bottom:10px}
.cost-category-link h3{font-size:22px;margin-bottom:10px}
.cost-category-link p{font-size:16px;margin:0 0 18px}
.cost-category-action{font-size:16px;font-weight:600;margin-top:auto}
.costs-page #categories>h2{margin:9px 0 14px}
.costs-page #categories>p{font-size:16px;max-width:900px;margin-bottom:20px}
.cost-category-content{background:#fffdf7;border:1px solid #d8e0d4;border-radius:18px;padding:28px;font-size:16px}
.cost-category-content>.category-grid{margin:26px 0}
.cost-category-content h2{}
.cost-category-content .source{font-size:14px}
.cost-category-content .practical{margin-top:20px}
.cost-category-related{margin-top:32px}
.cost-related-links{display:flex;flex-wrap:wrap;gap:16px 24px}
.cost-related-links a{font-size:16px;padding:8px 0}
.cost-helper-entry{margin-bottom:32px}
@media(max-width:700px){.cost-category-links{grid-template-columns:1fr}.costs-page .cost-category-link{padding:20px}.cost-category-content{padding:20px}.cost-category-content h2{}}

/* Annex reference table */
.costs-page #annexes>h2{margin-bottom:18px}
.costs-page #annexes .table-wrap{border:1px solid #dce3d8;border-radius:16px;overflow-x:auto}
.costs-page #annexes table{font-size:16px}
.costs-page #annexes th,.costs-page #annexes td{padding:12px 16px;line-height:1.55}
.costs-page #annexes thead th{font-size:16px}
.costs-page #annexes tbody th{background:#fffdf7;font-weight:600;width:140px;min-width:140px}
.costs-page #annexes tbody tr:last-child>*{border-bottom:0}
.annex-number{display:inline-block;color:#477b4e;background:#e8efe3;border-radius:8px;padding:6px 9px;font-size:13px;white-space:nowrap}
.annex-note{background:#eaf1e7;border-left:3px solid #477b4e;border-radius:0 12px 12px 0;padding:15px 18px;margin-top:16px;font-size:14px}
.annex-note>strong{color:#073b75}
.costs-page .annex-note p{margin:7px 0 0;line-height:1.6}
@media(max-width:700px){.costs-page #annexes table{min-width:660px}.costs-page #annexes th,.costs-page #annexes td{padding:10px 12px}.annex-note{padding:14px 16px}}

/* Official sources: compact linked rows */
.costs-page #sources>h2{margin-bottom:18px}
.costs-page #sources .source-links{margin:0;padding:0;list-style:none;background:#fffdf7;border:1px solid #dce3d8;border-radius:16px;overflow:hidden}
.costs-page #sources .source-links li{padding:0;margin:0;border-bottom:1px solid #e0e5dc}
.costs-page #sources .source-links li:last-child{border-bottom:0}
.costs-page #sources .source-links a{display:flex;align-items:center;gap:16px;padding:14px 18px;font-size:16px;line-height:1.55;text-decoration:none}
.costs-page #sources .source-links a:hover{background:#edf3e8}
.costs-page #sources .source-links a:focus-visible{outline-offset:-4px}
.source-label{min-width:0;overflow-wrap:anywhere}
.source-arrow{display:grid;place-items:center;margin-left:auto;flex:0 0 28px;height:28px;border-radius:8px;background:#e8efe3;color:#477b4e;font-size:18px}
.costs-page #sources>.source{border-top:0;font-size:14px;line-height:1.65;margin:16px 0 8px;padding:0}
.costs-page #sources>.source-checked{font-size:12px;color:#56675d;margin:0;line-height:1.6}
.source-checked time{font-weight:600}
@media(max-width:700px){.costs-page #sources .source-links a{padding:12px 14px;gap:12px}}
