/* =====================================================================
   PAGINA LOCAȚIEI (single-location.php) – design 04.11.2026
   spital_Monza_Bucuresti_ares_w_01.ai / Brain_Institute_Spital_ares_w_01.ai (artboard 1400):
   coloană 925 px (x 238) · titlu 50px pe banda gri (până la 463) · imagine 925×207 r40 de la y 400 ·
   text 13/15.6 · finder 927×130, border 2px, r40 · întrebări frecvente · echipa · formular și dosar 895 px
   ===================================================================== */
.loc-col { width: 925px; max-width: 100%; margin: 0 auto; }
.loc-col--wide { width: 895px; }

/* antet */
.loc-hero > .container { padding-top: 38px; padding-bottom: 128px; } /* antetul se termină la 242: titlul cu baseline la 325, banda gri până la 463 */
.loc-hero .loc-col { padding: 0 17px; }
.loc-hero .loc-title { font-size: 50px; font-weight: 300; line-height: 55px; text-transform: uppercase; margin: 0; }
.loc-hero .subtitle { margin: 12px 0 0; }

.loc-banner { margin-top: -63px; position: relative; }
.loc-banner img { display: block; width: 100%; height: 207px; object-fit: cover; border-radius: 40px; }

/* textul din editor */
.loc-content { padding: 0 16px; margin-top: 47px; }
.loc-content p,
.loc-content li { font-size: 13px; font-weight: 300; line-height: 15.6px; color: #222; }
.loc-content p { margin: 0 0 15.6px; }
.loc-content h2,
.loc-content h3 { font-size: 28px; font-weight: 300; color: #222; margin: 40px 0 16px; }
.loc-content strong,
.loc-content b { font-weight: 700; }
.loc-content .wp-block-html,
.loc-content figure { margin: 0; }

/* badge-uri SRC: cu titlu în stânga (Spitalul Monza) sau centrate (Brain Institute) */
.loc-badges { display: flex; align-items: center; justify-content: flex-start; margin: 53px 0 51px; }
.loc-badges-title { flex: 0 0 auto; margin: 0 34px 0 68px !important; font-size: 50px !important; font-weight: 300 !important; line-height: 60px; color: #065EA6 !important; }
.loc-badges-row { display: flex; align-items: center; }
.loc-badges-row img { width: 115px; height: auto; display: block; }
.loc-badges-row img + img { margin-left: -17px; }
.loc-badges-row img.loc-badge-lg { width: 133px; margin: 0 -8px 0 -25px; } /* badge-ul mare se suprapune 25px de ambele părți */
.loc-badges--center { justify-content: center; margin: 15px 0 47px; }
.loc-badges--center .loc-badges-row img + img,
.loc-badges--center .loc-badges-row img.loc-badge-lg { margin: 0 0 0 12px; }

/* imagine în text */
.loc-img { display: block; width: calc(100% + 32px); max-width: none; height: auto; margin: 56px -16px 56px; border-radius: 40px; aspect-ratio: 925 / 347; object-fit: cover; }

/* finder */
.loc-finder-title { margin: 62px 0 33px; text-align: center; font-size: 13px; font-weight: 700; line-height: 16px; color: #222; }
.loc-finder.pagina-doctori { border: 2px solid #d1d3d4; border-radius: 40px; padding: 45px 50px 20px; margin: 0; background: #fff; } /* 130 px înălțime, eticheta cu baseline la 73 px */
.loc-finder .sectiune-filtre { justify-content: flex-start; }
.loc-finder .dropdown-container { flex: 0 0 auto; justify-content: flex-start; text-align: left; }
.loc-finder .dropdown-container:first-child { width: 274px; }
.loc-finder .dropdown-container:nth-child(3) { width: 422px; padding-left: 66px; }
.loc-finder .trigger-filtru { margin: 0; align-items: flex-start; }
.loc-finder .trigger-filtru > span { padding-left: 2px; text-transform: lowercase; }
.loc-finder .dropdown-lista { left: 0; transform: none; }
.loc-finder .separator-filtre { height: 50px; }
.loc-finder .zona-cautare { flex: 1 1 auto; padding-left: 33px; cursor: pointer; }
.loc-results.departamente-section { padding: 0; margin: 0; }
.loc-results #departamenteContainer:not(:empty) { margin-top: 30px; }

/* întrebări frecvente */
.loc-section-title { font-size: 28px; font-weight: 300; line-height: 33px; color: #222; margin: 0 0 30px; text-align: left; }
.loc-faq { padding: 0 22px 0 10px; margin-top: 57px; }
.loc-faq .loc-section-title { margin: 0 0 30px 5px; }
.loc-faq-item { border-bottom: 1px solid #efefef; }
.loc-faq-item summary {
  list-style: none;
  position: relative;
  cursor: pointer;
  padding: 16px 60px 15px 6px;
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
  color: #000;
}
.loc-faq-item summary::-webkit-details-marker { display: none; }
/* „+” pe întrebările închise, săgeată pe cea deschisă (x ≈ 1095) */
.loc-faq-item summary::after {
  content: "";
  position: absolute;
  right: 38px;
  top: 50%;
  width: 15px;
  height: 15px;
  margin-top: -7.5px;
  background: linear-gradient(#065EA6, #065EA6) center / 15px 1px no-repeat, linear-gradient(#065EA6, #065EA6) center / 1px 15px no-repeat;
}
.loc-faq-item[open] summary::after { width: 10px; height: 10px; margin-top: -8px; right: 41px; background: none; border-right: 1px solid #065EA6; border-bottom: 1px solid #065EA6; transform: rotate(45deg); }
.loc-faq-answer { padding: 20px 60px 26px 6px; }
.loc-faq-answer p { font-size: 13px; font-weight: 300; line-height: 15.6px; color: #222; margin: 0 0 15.6px; }
.loc-faq-answer p:last-child { margin-bottom: 0; }

/* echipa medicală */
.loc-team { margin-top: 57px; }
.loc-team .loc-section-title { margin: 0 0 30px -1px; }

/* PLACEHOLDER-e din design, până le completează clientul în WordPress:
   imagine gri (locație fără imagine) și cardurile „Dr. Monza Ares” (locație fără medici) – 278×512, la 32 px */
.loc-banner--placeholder { height: 207px; border-radius: 40px; background: #ccc; }
.loc-ph-cards { display: flex; gap: 32px; }
.loc-ph-card { flex: 0 0 278px; background: #f2f2f2; }
.loc-ph-img { height: 256px; background: #ccc; }
.loc-ph-text { position: relative; height: 256px; padding: 33px 28px 0; }
.loc-ph-name { margin: 0 0 12px; font-size: 28px; font-weight: 300; line-height: 33px; color: #222; }
.loc-ph-role { margin: 0; font-size: 13px; font-weight: 300; line-height: 18px; color: #222; }
.loc-ph-text svg { position: absolute; left: 66px; bottom: 32px; }

/* formular și dosar */
.loc-bottom { margin-top: 80px; }
.loc-form.border-content { border: 1px solid #d1d3d4; border-radius: 20px; padding: 56px 40px 50px; }
.loc-form h2 { font-size: 28px; font-weight: 300; margin: 0; }
/* formularul din design: câmpuri 220×50 la 26 px, mesaj 466×108, text 10/12, buton 190×40 */
.loc-form.border-content { padding-bottom: 58px; }
.loc-form .form-wrapper { width: 466px; max-width: 100%; margin: 37px auto 0 !important; padding: 0; }
.loc-form .form-programare-monza { padding: 0; margin: 0; }
.loc-form .row.g-2 { --bs-gutter-x: 26px; --bs-gutter-y: 0; margin-top: 0; }
.loc-form .form-field-wrapper { position: relative; margin-bottom: 26px; }
.loc-form .form-programare-monza .form-control-custom { height: 50px; padding: 0 24px; margin: 0; border-width: 1.5px; font-size: 12px; }
.loc-form .form-programare-monza .textarea-custom { height: 108px; min-height: 108px; padding-top: 20px; }
.loc-form .fake-placeholder { left: 26px; top: 17px; font-size: 12px; line-height: 16px; }
.loc-form .textarea-custom + .fake-placeholder { top: 19px; left: 20px; }
.loc-form .error-message { min-height: 0; margin: 0; font-size: 11px; }
.loc-form .error-message:not(:empty) { margin-top: 3px; }
.loc-form .form-programare-monza .gdpr-text { font-size: 10px; line-height: 12px; color: #6d6e71; margin: -19px 0 24px; padding-left: 2px; }
.loc-form .form-programare-monza .btn-trimite { width: 190px; height: 40px; padding: 0; border-radius: 20px; font-size: 13px; background: #065EA6; box-shadow: none; }
.loc-form .form-programare-monza .btn-trimite:hover { background: #065EA6; box-shadow: none; }
.loc-dosar { margin-top: 53px; border: 1px solid #d1d3d4; }
.loc-dosar .ty-dosar-head { min-height: 224px; }
.loc-dosar .dosar-footer { padding: 29px 66px 18px 49px; }
.loc-dosar .dosar-footer p { line-height: 15.6px; }
.loc-dosar .dosar-btn { margin-top: 32px !important; }
.loc-map { margin-top: 60px; margin-bottom: 80px; }

@media (max-width: 991.98px) {
  .loc-hero .loc-title { font-size: 34px; line-height: 40px; }
  .loc-badges { flex-wrap: wrap; }
  .loc-badges-title { margin: 0 0 20px !important; width: 100%; text-align: center; font-size: 38px !important; line-height: 44px; }
  .loc-finder.pagina-doctori { padding: 24px 28px; }
  .loc-finder .dropdown-container:first-child,
  .loc-finder .dropdown-container:nth-child(3) { width: auto; padding-left: 0; }
}

@media (max-width: 767.98px) {
  .loc-hero .loc-col { padding: 0; }
  .loc-hero .loc-title { font-size: 28px; line-height: 33px; }
  .loc-hero > .container { padding-bottom: 90px; }
  .loc-banner { margin-top: -50px; }
  .loc-banner img,
  .loc-banner--placeholder { height: 160px; border-radius: 26px; }
  .loc-ph-cards { overflow-x: auto; gap: 20px; }
  .loc-ph-card { flex-basis: 204px; }
  .loc-ph-img, .loc-ph-text { height: 200px; }
  .loc-ph-name { font-size: 22px; line-height: 27px; }
  .loc-content { padding: 0; margin-top: 30px; }
  .loc-img { width: 100%; margin: 30px 0; border-radius: 26px; }
  .loc-badges-row { flex-wrap: wrap; justify-content: center; }
  .loc-badges-row img { width: 86px; }
  .loc-badges-row img.loc-badge-lg { width: 100px; }
  .loc-finder.pagina-doctori { border-radius: 26px; padding: 20px; }
  .loc-faq { padding: 0; margin-top: 50px; }
  .loc-section-title { font-size: 24px; }
  .loc-faq-item summary { padding-right: 44px; }
  .loc-faq-item summary::after { right: 16px; }
  .loc-faq-item[open] summary::after { right: 19px; }
  .loc-faq-answer { padding-right: 10px; }
  .loc-form.border-content { padding: 36px 20px; }
}

/* rezultate finder – categorii de proceduri, ca pe /proceduri/ (investigations-section) */
.loc-investigations { max-width: none; }
.loc-investigations .investigation-content { display: none; padding: 1rem 0 1.5rem; }
.loc-investigations .investigation-toggle svg { vertical-align: middle; margin-left: 6px; }
.loc-investigations .category-procedures-list { list-style: none; padding: 0 0 0 2rem; margin: 0; display: flex; flex-direction: column; gap: 0.4rem 1.5rem; }
.loc-investigations .category-procedure-item a { color: #065EA6; text-decoration: none; font-size: 0.95rem; }
.loc-investigations .category-procedure-item a:hover { text-decoration: underline; }
