/* A branch's own country pages ("Courier to USA from Kakinada": branch-country-template.html,
   scripts/build/clone_branch_country.py). Only what is new here: the intro with the branch manager's card, the
   local goods checked against the country's food rules, the service cards and the other countries of the branch.
   Everything else is an existing component (waybill hero, rate table, steps, FAQ, customs-rules section). */

.bcx-intro { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.bcx-intro__text h2 { margin-top: 0; }
.bcx-intro__text p { line-height: 1.75; color: var(--text); }

.bcx-manager { background: #f7f2fb; border: 1.5px solid #e6daf1; border-radius: 16px; overflow: hidden; }
.bcx-manager img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.bcx-manager__body { padding: 18px 20px 20px; }
.bcx-manager__role { display: inline-block; font-size: .75rem; font-weight: 700; color: #4a0072; background: #f1e6fa; border-radius: 999px; padding: 3px 10px; margin: 0 0 8px; }
.bcx-manager h3 { margin: 0 0 8px; color: #2a0045; font-size: 1.2rem; }
.bcx-manager p { margin: 0; font-size: .93rem; line-height: 1.6; color: #3d2c4f; }

.bcx-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.bcx-item { background: var(--white); border: 1.5px solid #e6daf1; border-radius: 14px; padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 8px; }
.bcx-item h3 { margin: 0; font-size: 1.05rem; color: #2a0045; }
.bcx-item__what { margin: 0; font-size: .9rem; color: #5a4a6c; line-height: 1.55; }
.bcx-item__rule { margin: 0; font-size: .9rem; line-height: 1.55; color: #24103a; }
.bcx-item__src { font-size: .8rem; color: #6a0099; }
.bcx-item__src a { color: inherit; }
.bcx-status { align-self: flex-start; font-size: .75rem; font-weight: 700; border-radius: 999px; padding: 3px 10px; }
.bcx-status--ok { background: #e3f6e9; color: #1d6b38; }
.bcx-status--cond { background: #fff2c7; color: #7a4b00; }
.bcx-status--no { background: #fde4e4; color: #9b1c1c; }
.bcx-status--check { background: #eef0f5; color: #3b4256; }

.bcx-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.bcx-service { background: var(--white); border: 1px solid var(--hairline); border-radius: 14px; padding: 18px; }
.bcx-service h3 { margin: 0 0 6px; font-size: 1.05rem; color: var(--primary); }
.bcx-service p { margin: 0 0 8px; font-size: .92rem; line-height: 1.6; }
.bcx-service a { font-weight: 700; color: #6a0099; }

.bcx-card { background: var(--white); border: 1px solid var(--hairline); border-radius: 16px; padding: 24px 26px; box-shadow: var(--shadow-sm); }
.bcx-card h3 { color: var(--primary); margin: 0 0 14px; font-size: 1.15rem; }
.bcx-towns { margin: 16px 0 0; font-size: .92rem; line-height: 1.6; color: #1d7a3e; font-weight: 600; }

.bcx-more { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.bcx-more a { display: block; background: var(--white); border: 1px solid var(--hairline); border-radius: 10px; padding: 10px 12px; font-weight: 600; color: #2a0045; text-decoration: none; }
.bcx-more a:hover { border-color: #9821c8; }
.bcx-more-links { margin: 18px 0 0; text-align: center; font-size: .95rem; }
.bcx-more-links a { font-weight: 700; color: #6a0099; }

@media (max-width: 860px) {
  .bcx-intro { grid-template-columns: 1fr; gap: 22px; }
  .bcx-card { padding: 20px 18px; }
}
.bcx-intro__text p { margin: 0 0 14px; }
.bcx-glance { margin: 12px 0 0; padding-left: 20px; line-height: 1.65; }
.bcx-glance li { margin: 0 0 8px; }
.bcx-glance a { font-size: .85rem; color: #6a0099; }
.bcx-glance__more { margin: 16px 0 0; font-weight: 700; }
.bcx-glance__more a { color: #6a0099; }
.bcx-services-line { margin: 22px 0 0; text-align: center; font-size: .95rem; line-height: 1.7; }
.bcx-services-line a { font-weight: 700; color: #6a0099; }
/* the branch page itself (branch-template.html): the manager and the branch's own goods, inside "About our branch" */
.bcx-manager-row { max-width: 420px; margin: 22px 0; }
.branch-local h3 { margin: 26px 0 10px; color: var(--primary); font-size: 1.15rem; }
.bcx-local-items { margin: 0; padding-left: 20px; line-height: 1.7; }
.bcx-local-items li { margin: 0 0 8px; }
.bcx-local-items a { font-size: .85rem; color: #6a0099; }
