/* XtremeDesign — arhivă portofoliu: titluri centrate, paragrafe justify (05.11.2026). Se scoate ștergând linkul #xd-portofoliu-text din <head>. */

/* titlurile din zonele de conținut: centrate */
:is(.entry-content, .wpb_text_column, .et_pb_text_inner, .fusion-text, .woocommerce-Tabs-panel, .term-description, .page-content)
  :is(h1, h2, h3, h4, h5, h6):not(:is(footer, .fusion-footer, .et-l--footer, .et-l--header, #footer, .site-footer, .fusion-header-wrapper, .fusion-tb-header) *),
.post-content > :is(h1, h2, h3, h4, h5, h6),
.woocommerce-Tabs-panel .rion-title, .woocommerce-Tabs-panel .rion-title .title-inner {
  text-align: center !important;
}

/* interzis (Rion): titlul din descriere are lățime fixă → centrat cu margini automate, linia de sub el la mijloc */
.woocommerce-Tabs-panel .rion-title .block-title { margin-left: auto !important; margin-right: auto !important; }
.woocommerce-Tabs-panel .rion-title .block-title::after, .woocommerce-Tabs-panel .rion-title .block-title::before { left: 50% !important; transform: translateX(-50%); margin-left: 0 !important; }

/* paragrafele de conținut: justify cu silabe, ultimul rând centrat, lățime de citire ~75 de caractere */
:is(.entry-content, .wpb_text_column, .et_pb_text_inner, .fusion-text, .woocommerce-Tabs-panel, .term-description, .page-content)
  p:not(:is(footer, .fusion-footer, .et-l--footer, .et-l--header, #footer, .site-footer, .fusion-header-wrapper, .fusion-tb-header, .woocommerce-product-details__short-description) *),
.post-content > p {
  text-align: justify !important;
  text-align-last: center;
  -webkit-hyphens: auto;
  hyphens: auto;
  overflow-wrap: break-word;
}
/* interzis (Rion): textele lungi din blocurile „rion-title” (ex. Despre noi) sunt div-uri, nu <p> */
.rion-title .block-desc {
  text-align: justify !important;
  text-align-last: center;
  -webkit-hyphens: auto;
  hyphens: auto;
}

/* lățimea limitată doar pentru paragrafele fără imagini/video (altfel pozele se îngustează) */
:is(.entry-content, .wpb_text_column, .et_pb_text_inner, .fusion-text, .woocommerce-Tabs-panel, .term-description, .page-content)
  p:not(:has(img, iframe, video, picture)):not(:is(footer, .fusion-footer, .et-l--footer, .et-l--header, #footer, .site-footer, .woocommerce-product-details__short-description) *),
.post-content > p:not(:has(img, iframe, video, picture)) {
  max-width: 75ch;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* delia (Divi): răspunsurile din „Întrebări frecvente” aveau text închis pe fundal închis */
.et_pb_toggle_content, .et_pb_toggle_content p {
  color: rgba(255, 255, 255, .82) !important;
}
