/* Start custom CSS *//* Tariffe Petrolà — solo selettori che le classi Atomic non esprimono (stesso sistema del prototipo approvato, verifiche/proposta-tariffe) */
/* Intestazione: briciole Yoast, visibile solo «Home»; l'elemento corrente resta per i lettori di schermo (nascosto solo visivamente). Stesse regole di Chi siamo. */
.pt-chi-hero-crumb a { color: var(--pt-muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.pt-chi-hero-crumb a:hover { color: var(--pt-black); }
.pt-chi-hero-crumb a:focus-visible { outline: 3px solid var(--pt-cyan-ink); outline-offset: 3px; border-radius: 2px; }
.pt-chi-hero-crumb p, .pt-chi-hero-crumb .elementor-shortcode { margin: 0; }
.pt-chi-hero-crumb nav { font-size: 0; }
.pt-chi-hero-crumb nav > span:first-child { font-size: 12px; }
.pt-chi-hero-crumb .breadcrumb_last { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Quattro punti: elenco senza segni, la griglia è nella classe */
.elementor .pt-tar-g-princ, .elementor .pt-tar-g-princ li { list-style: none; }
.elementor .pt-tar-g-princ li, .elementor .pt-tar-g-princ li > * { margin: 0; padding: 0; }
/* Tabella tariffe: markup tabellare semantico (role espliciti perché le righe sono in griglia) */
.elementor .pt-tar-tab { display: block; width: 100%; margin: 0; border: 0; border-top: 1px solid var(--pt-line); border-collapse: collapse; background: transparent; }
.elementor .pt-tar-tab tbody { display: block; }
.elementor .pt-tar-tab tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 25rem); column-gap: clamp(24px, 4vw, 56px); align-items: baseline; padding: 16px 0; border: 0; border-bottom: 1px solid var(--pt-line); background: transparent; }
.elementor .pt-tar-tab th, .elementor .pt-tar-tab td { display: block; padding: 0; border: 0; background: transparent; text-align: left; vertical-align: baseline; }
.elementor .pt-tar-tab th { grid-column: 1; font-family: var(--pt-font-body); font-weight: 500; }
.elementor .pt-tar-tab td { grid-column: 2; display: flex; flex-direction: column; gap: 4px; font-family: var(--pt-font-body); font-weight: 400; }
.pt-tar-tab .nome { display: block; font-size: 17px; line-height: 1.4; font-weight: 500; color: var(--pt-black); }
.pt-tar-tab .desc { display: block; margin-top: 2px; font-size: 15px; line-height: 1.5; font-weight: 400; color: var(--pt-muted); }
.pt-tar-tab .rg { display: grid; grid-template-columns: 8rem minmax(0, 1fr); column-gap: 12px; align-items: baseline; }
.pt-tar-tab .lbl { grid-column: 1; justify-self: end; text-align: right; font-size: 15px; line-height: 1.4; color: var(--pt-muted); }
.pt-tar-tab .val { grid-column: 2; }
.pt-tar-tab .val strong { font-family: var(--pt-font-head); font-weight: 600; font-size: 20px; line-height: 1.3; color: var(--pt-black); white-space: nowrap; }
.pt-tar-tab .cnd { margin-left: .2em; font-size: 15px; line-height: 1.4; color: var(--pt-muted); }
.pt-tar-tab .vuoto { display: none; }
@media (max-width: 767px) {
  .elementor .pt-tar-tab tr { display: block; padding: 14px 0; }
  .elementor .pt-tar-tab th, .elementor .pt-tar-tab td { display: block; }
  .elementor .pt-tar-tab td { margin-top: 8px; gap: 2px; }
  .pt-tar-tab .nome { font-size: 16px; }
  .pt-tar-tab .rg { display: block; }
  .pt-tar-tab .lbl { display: inline; margin-right: .3em; text-align: left; }
  .pt-tar-tab .val { display: inline; }
  .pt-tar-tab .val strong { font-size: 18px; }
}
/* Condizioni e contatti: collegamenti evidenti */
.pt-tar-p-cond a { font-weight: 500; overflow-wrap: anywhere; }
.pt-tar-p-cond strong { font-weight: inherit; }
.elementor .pt-tar-p-cond a { color: var(--pt-cyan-ink); text-decoration: underline; }
.elementor .pt-tar-p-cond a:hover { color: var(--pt-black); }
.elementor .pt-tar-p-cond a:focus-visible { outline: 3px solid var(--pt-cyan-ink); outline-offset: 3px; border-radius: 2px; }
/* Collegamenti finali: a destra del titolo, in riga (come il prototipo); a tutta larghezza e impilati su mobile */
.pt-tar-fine .pt-actions { flex: 0 0 auto; width: auto; }
@media (max-width: 640px) { .pt-tar-fine .pt-actions { flex-direction: column; width: 100%; } .pt-tar-fine .pt-actions > * { width: 100%; } }
/* 641–767 px: Elementor passa a «mobile» solo a 640; qui si allinea al prototipo approvato (una colonna, testo 16 px). Specificità maggiore delle regole delle classi. */
@media (min-width: 641px) and (max-width: 767px) {
  .elementor ul.pt-tar-g-princ, .elementor div.pt-tar-g-cond { grid-template-columns: minmax(0, 1fr); }
  .elementor ul.pt-tar-g-princ { row-gap: 28px; }
  .elementor p.pt-tar-lead, .elementor p.pt-tar-quote, .elementor p.pt-tar-p, .elementor p.pt-tar-p-cond { font-size: 16px; }
}/* End custom CSS */