/* Funeral service pages. hu-partners.css is the Hungarian partner stylesheet, copied unchanged;
   this file is what the Czech pages add or change. Phones first: the contact box comes straight
   after the header, the text after it. */

.partner-profile-hero .hero-kicker { margin: 0; color: var(--gold); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .78rem; }
.partner-profile-hero .breadcrumbs a { color: rgba(255,255,255,.85); }
.partner-profile-rating a { color: #FFF; text-decoration: underline; }
.partner-profile-heading h1 { word-break: break-word; }

.company-call { font-size: 1.05rem; }
.company-grid dd { overflow-wrap: anywhere; }
.company-grid dd a, .company-rest a:not(.btn):not(.company-nearby-card) { color: var(--blue); }
.company-contact-note { color: var(--muted); }

.partner-profile-section > p + p, .partner-profile-section > ul + p { margin-top: .8rem; }
.partner-profile-section .check-list { margin: 1rem 0; }

.company-branch-list { display: grid; gap: 1rem; }
.company-branch { padding: 1.1rem 1.2rem; border: 1px solid #DDD6CA; border-radius: 8px; background: #FFF; }
.company-branch h3 { margin: 0 0 .3rem; font-family: "Playfair Display", Georgia, serif; font-size: 1.3rem; }
.company-branch h3 a { color: var(--navy); }
.company-branch p { margin: 0 0 .35rem; }
.company-branch .btn-row { margin-top: .8rem; }
.company-branch-rating, .company-nearby-rating { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; font-size: .88rem; }
.muted { color: var(--muted); }

.company-address-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid #ECE8E0; }
.company-address-list li { padding: .75rem 0; border-bottom: 1px solid #ECE8E0; }
.company-address-list li > span { display: block; margin-top: .2rem; font-size: .9rem; }

.company-nearby { display: grid; gap: .75rem; }
.company-nearby-card { display: grid; gap: .25rem; padding: 1rem 1.1rem; border: 1px solid #DDD6CA; border-radius: 8px; background: #FFF; color: var(--navy); text-decoration: none; }
.company-nearby-card:hover { border-color: var(--gold); }
.company-nearby-card strong { font-size: 1.02rem; }
.company-nearby-card > span:not(.company-nearby-rating) { color: var(--muted); font-size: .88rem; }


@media (max-width: 800px) {
  .partner-profile-hero { padding: 1.25rem 0 1.75rem; }
  .partner-profile-hero .breadcrumbs { margin-bottom: 1rem; }
  .partner-profile-heading { gap: 1rem; }
  .partner-profile-section > h2 { font-size: 1.45rem; }
}

@media (min-width: 720px) {
  .company-nearby { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Gold dots, as in the articles; the Hungarian marker colour is only set inside its timeline. */
.partner-profile-section .check-list { padding: 0; }
.partner-profile-section .check-list li { font-size: .98rem; }
.partner-profile-section .check-list li::before { background: var(--gold); }

/* Branch cards: a gold rule on the left, so the other branches read as places you can call. */
.company-branch { border-left: 4px solid var(--gold); box-shadow: var(--shadow-soft); }
.company-branch-kicker { margin: 0 0 .15rem; color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.company-branch .btn-row { display: grid; grid-template-columns: 1fr; gap: .5rem; }
.company-branch .btn { text-align: center; }
@media (min-width: 560px) { .company-branch .btn-row { grid-template-columns: auto auto; justify-content: start; } }
.company-report { color: var(--muted); font-size: .9rem; }

/* The grid: what a family came for (the contact, or on a company page the branches) first and
   widest, then the firm's other branches; nearby services in the side column on desktop, after the
   branches on phones. Rows have no gap so an absent block leaves no hole; blocks carry the space. */
.company-grid { display: grid; row-gap: 0; }
.company-grid > * { min-width: 0; margin-bottom: 2.5rem; }
.company-grid > .company-rest { margin-bottom: 0; }
.company-lead > h2, .company-side h2, .company-contact-card h2 {
  margin: 0 0 .8rem; color: var(--navy); font-family: "Playfair Display", Georgia, serif; font-size: 1.6rem; }
.company-side .partner-profile-section { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.company-side-contact { margin-bottom: 2rem; }
@media (min-width: 900px) {
  .company-grid.has-side { grid-template-columns: minmax(0, 1fr) 320px; grid-template-areas: "lead side" "branches side" "rest side"; grid-template-rows: auto auto 1fr; column-gap: 3rem; align-items: start; }
  .company-lead { grid-area: lead; }
  .company-branches { grid-area: branches; }
  .company-side { grid-area: side; }
  .company-rest { grid-area: rest; }
  .company-grid:not(.has-side) { max-width: 880px; }
  .company-side .company-nearby { grid-template-columns: 1fr; }
  .company-side .partner-profile-section > h2 { font-size: 1.35rem; }
}

.company-contact-card { padding: 1.5rem; border: 1px solid #DDD6CA; border-top: 4px solid var(--gold); border-radius: 8px; background: #FFF; box-shadow: var(--shadow-soft); }
.company-contact-actions .btn { display: block; width: 100%; margin-top: .65rem; text-align: center; }
.company-contact-details { margin: 1.25rem 0 0; }
.company-contact-details > div { padding: .6rem 0; border-bottom: 1px solid #ECE8E0; }
.company-contact-details > div:last-child { border-bottom: 0; }
.company-contact-details dt { color: var(--muted); font-size: .76rem; }
.company-contact-details dd { color: var(--navy); font-weight: 600; }
@media (min-width: 720px) {
  .company-contact-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; padding: 2rem; }
  .company-contact-details { margin: 0; }
  .company-call { padding-top: 1.1rem; padding-bottom: 1.1rem; font-size: 1.15rem; }
}

.company-side-contact.partner-profile-aside { position: static; }
.company-branches .partner-profile-section:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }

/* Town, district and region pages. */
.company-nearby-more { margin-top: .9rem; font-size: .95rem; }
.company-nearby-more a, .place-link-list a, .place-town-list a, .place-region a, .place-district h3 a, .place-town h2 a { color: var(--blue); }
.place-order-note { margin: -.4rem 0 1rem; color: var(--muted); font-size: .9rem; }
.company-branch-service h3 { font-size: 1.2rem; line-height: 1.3; }
.company-branch-service h3 a { text-decoration: none; }
.company-branch-service h3 a:hover { text-decoration: underline; }
.company-grid h2 small, .company-grid h3 small, .place-region h3 small { color: var(--muted); font-family: "DM Sans", system-ui, sans-serif; font-size: .82rem; font-weight: 500; white-space: nowrap; }

.place-link-list { list-style: none; padding: 0; margin: 0; }
.place-link-list li { padding: .6rem 0; border-bottom: 1px solid #ECE8E0; }
.place-link-list li:last-child { border-bottom: 0; }
.place-link-list small { color: var(--muted); }
.place-more { margin-top: 2rem; }
.company-side > .place-more:first-child { margin-top: 0; }

/* District page: a row of towns to jump to, then each town's services. */
.place-jump { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.place-jump a { display: inline-flex; gap: .35rem; align-items: center; min-height: 40px; padding: .35rem .8rem; border: 1px solid #DDD6CA; border-radius: 999px; background: #FFF; color: var(--navy); text-decoration: none; font-size: .92rem; }
.place-jump a small { color: var(--muted); }
.place-town { margin-bottom: 2.25rem; scroll-margin-top: 90px; }
.place-town:last-child { margin-bottom: 0; }
.place-town > h2 { margin: 0 0 .8rem; color: var(--navy); font-family: "Playfair Display", Georgia, serif; font-size: 1.45rem; }

/* Region page: districts, their towns, and the services in each. */
.place-district-list { display: grid; gap: 1.25rem; }
.place-district { padding: 1.1rem 1.2rem; border: 1px solid #DDD6CA; border-radius: 8px; background: #FFF; }
.place-district h3 { margin: 0 0 .5rem; font-family: "Playfair Display", Georgia, serif; font-size: 1.25rem; }
.place-town-list { list-style: none; padding: 0; margin: 0; }
.place-town-list li { padding: .55rem 0; border-top: 1px solid #ECE8E0; }
.place-town-name { display: inline-block; font-weight: 700; margin-right: .4rem; }
.place-town-list li > span { display: block; font-size: .9rem; color: var(--muted); }

/* Overview: every region with its towns. */
.place-regions-title { margin: 0 0 1rem; color: var(--navy); font-family: "Playfair Display", Georgia, serif; font-size: 1.6rem; }
.place-region-grid { display: grid; gap: 1rem; }
.place-region { padding: 1.1rem 1.2rem; border: 1px solid #DDD6CA; border-radius: 8px; background: #FFF; }
.place-region h3 { margin: 0 0 .4rem; font-family: "Playfair Display", Georgia, serif; font-size: 1.25rem; }
.place-region-towns { margin: 0; font-size: .95rem; line-height: 2.2; }
.place-before-call { max-width: 880px; margin-top: 3rem; }
@media (min-width: 800px) { .place-region-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.company-report + .company-report { margin-top: .6rem; }

/* "Navigovat" and "Google Maps": 44px tall tap targets. The negative margin keeps the line where it
   was, so the look does not change, only the area a finger can hit (QA C10). */
.company-grid a[data-track="map_tap"], .company-grid a[data-track="google_tap"], .partner-profile-rating a[data-track="google_tap"] {
  display: inline-flex; align-items: center; min-height: 44px; margin: -12px 0; vertical-align: middle; }
