/* CFPDR · cfpdr.eu: ce adaugă tema WordPress peste site.css (care rămâne copia prototipului, doar cu adresele fonturilor schimbate). */

/* Butoanele „Mă înscriu” sunt formulare (add-to-cart spre /checkout/); formularul nu contează în așezare, doar butonul */
form.cfpdr-insc { display: contents; }
@media (max-width: 760px) {
  .tg-r > .cfpdr-insc { display: none; }
}

/* Cardul cursului: durata și teoria nu se rup pe bucăți; dacă nu încap pe un rând, teoria trece dedesubt */
.cc-m { flex-wrap: wrap; row-gap: 2px; }
.cc-m > span:not(.dot) { white-space: nowrap; }

/* Domeniile din catalog sunt linkuri (fiecare are pagina lui), nu butoane */
.seg a[data-v] { position: relative; z-index: 1; display: inline-flex; align-items: center; padding: 0 16px; height: 38px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--muted); white-space: nowrap; transition: color .3s; }
.seg a[data-v]:hover { color: var(--ink); }
.seg a[data-v][aria-current="page"] { color: #fff; }
.no-js .seg a[data-v][aria-current="page"] { background: var(--ink); }

/* Textul paginilor, scris în editorul WordPress */
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(23px, 2.4vw, 30px); margin: 1.5em 0 .55em; }
.prose h3 { font-size: 20px; margin: 1.3em 0 .5em; }
.prose h4 { font-size: 17px; margin: 1.2em 0 .4em; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 1.2em; }
.prose ul li { margin-bottom: 6px; }
.prose ul ul, .prose ol ol, .prose ul ol, .prose ol ul { margin: 6px 0 0; }
.prose strong, .prose b { color: var(--ink); font-weight: 650; }
.prose img { border-radius: var(--r-sm); margin: 1.2em 0; }
.prose figure { margin: 1.2em 0; }
.prose figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; }
.prose blockquote { margin: 1.2em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--g-600); color: var(--ink-2); }
.prose table { width: 100%; margin: 1.2em 0; border-collapse: collapse; font-size: 15px; background: var(--paper); }
.prose th, .prose td { padding: 9px 12px; text-align: left; border: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--paper-2); font-weight: 650; }
.prose .tabel-lat { margin: 1.2em 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.prose .tabel-lat table { margin: 0; }
.prose .bcc-cookie-disclosure h3 { margin: 0; } /* tabelul de cookie-uri din BCC Cookie Consent: titlul categoriei stă pe un rând cu numărul */
.prose .bcc-cookie-disclosure small, .prose .bcc-cookie-disclosure .bcc-cd-type { font-size: 12px; color: var(--muted); } /* furnizorul și tipul („Stocare locală”): în modul au 11 px și un gri prea deschis pe fundalul paginii (4,4:1) */
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose .alignleft { float: left; margin: .3em 1.2em 1em 0; }
.prose .alignright { float: right; margin: .3em 0 1em 1.2em; }
.prose .aligncenter { margin-inline: auto; }
.prose-gol { color: var(--muted); }
.prose + .stats { max-width: 820px; }

/* Bara de administrare WordPress (doar pentru cei logați): antetul lipit rămâne sub ea */
@media screen and (min-width: 783px) {
  .admin-bar .hdr { top: 32px; }
  .admin-bar .mnav, .admin-bar .pal { top: 32px; }
}
@media screen and (min-width: 601px) and (max-width: 782px) {
  .admin-bar .hdr { top: 46px; }
  .admin-bar .mnav, .admin-bar .pal { top: 46px; }
}

/* Mesajele WooCommerce (ex. un curs care nu se poate adăuga la înscriere) */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-notices-wrapper { margin: 0 0 18px; }
.woocommerce-error, .woocommerce-message, .woocommerce-info { list-style: none; margin: 0 0 10px; padding: 14px 18px; border-radius: var(--r-sm); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-2); font-size: 15px; }
.woocommerce-error { background: var(--red-bg); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--red) 35%, transparent); color: var(--red); }
.woocommerce-message { background: var(--g-50); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--g-600) 35%, transparent); color: var(--g-800); }
.woocommerce-info { background: var(--blue-bg); color: var(--blue-ink); box-shadow: none; }
.woocommerce-error li + li { margin-top: 4px; }
.woocommerce-error a, .woocommerce-message a, .woocommerce-info a { font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.woocommerce-message .button, .woocommerce-info .button { margin-left: 10px; }

/* Formularul de recenzie de pe pagina cursului (se deschide din „Ai făcut cursul? Lasă o recenzie”) */
.rf-box { margin-top: 22px; border-radius: var(--r); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.rf-box > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; cursor: pointer; list-style: none; font-weight: 650; color: var(--g-700); }
.rf-box > summary::-webkit-details-marker { display: none; }
.rf-box > summary .ic { transition: transform .3s var(--ease); }
.rf-box[open] > summary .ic { transform: rotate(180deg); }
.rf-box .comment-respond { padding: 0 20px 20px; }
.rf-box .comment-reply-title { display: none; }
.rf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 14px; }
.rf > * { grid-column: 1 / -1; }
.rf > .fld-nume, .rf > .fld-email { grid-column: auto; }
.rf-nota { margin: 0 0 14px; font-size: 14.5px; }
.fld textarea { min-height: 130px; padding: 12px 14px; border: 0; border-radius: 13px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 16px; line-height: 1.5; resize: vertical; transition: box-shadow .2s; }
.fld textarea:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--g-600); }
.rf .form-submit { margin: 4px 0 0; }
.rf-ok { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 18px; padding: 14px 18px; border-radius: var(--r-sm); background: var(--g-50); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--g-600) 35%, transparent); color: var(--g-800); font-weight: 600; }
.rf-ok .ic { color: var(--g-700); margin-top: 2px; }
@media (max-width: 560px) {
  .rf > .fld-nume, .rf > .fld-email { grid-column: 1 / -1; }
}

/* Despre curs: avantajele și „Bine de știut” (din câmpurile cursului) */
.cs-sub { font-size: 19px; margin: 26px 0 12px; }

/* Firimiturile din catalog se refac la schimbarea domeniului */
.bc[data-flt-bc] { min-height: 22px; }
