/* Стили статей ptemkosti.ru, блок .pte-article */
.pte-article{--pte-accent:#1f5f8b;--pte-accent-light:#e8f1f7;--pte-border:#d9dee3;--pte-text:#22272b;--pte-muted:#5f6b75;--pte-bg-soft:#f6f8f9;color:var(--pte-text);font-size:17px;line-height:1.65;max-width:none!important;width:100%!important;margin:0!important;padding:0!important}
.pte-article *{box-sizing:border-box}
.pte-article h1{font-size:34px;line-height:1.2;margin:0 0 24px}
.pte-article h2{font-size:26px;line-height:1.25;margin:48px 0 16px}
.pte-article h3{font-size:20px;line-height:1.3;margin:32px 0 10px}
.pte-article p{margin:0 0 14px}
.pte-article a{color:var(--pte-accent);text-decoration:underline;text-underline-offset:3px}
.pte-article a:hover{text-decoration:none}

.pte-lead{font-size:19px;background:var(--pte-accent-light);border-left:4px solid var(--pte-accent);padding:20px 24px;border-radius:0 8px 8px 0;margin:0 0 32px}
.pte-lead p:last-child{margin-bottom:0}

.pte-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0 0 16px;border:1px solid var(--pte-border);border-radius:8px}
.pte-table{width:100%;min-width:640px;border-collapse:collapse;font-size:15px;line-height:1.5}
.pte-table th,.pte-table td{padding:12px 14px;text-align:left;vertical-align:top;border-bottom:1px solid var(--pte-border)}
.pte-table thead th{background:var(--pte-accent);color:#fff;font-weight:600}
.pte-table tbody th{background:var(--pte-bg-soft);font-weight:600;width:22%}
.pte-table tbody tr:last-child th,.pte-table tbody tr:last-child td{border-bottom:none}
.pte-note{color:var(--pte-muted);font-size:15px}

.pte-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;margin:20px 0 24px}
.pte-card{border:1px solid var(--pte-border);border-radius:10px;overflow:hidden;background:#fff;display:flex;flex-direction:column}
.pte-card img{width:100%;height:180px;object-fit:cover;display:block;background:var(--pte-bg-soft)}
.pte-card__body{padding:16px 18px 18px;display:flex;flex-direction:column;flex:1}
.pte-card__title{font-size:18px;font-weight:600;margin:0 0 8px;line-height:1.3}
.pte-card__body p{font-size:15px;margin:0 0 12px}
.pte-card__link{margin-top:auto;font-weight:600;font-size:15px}

.pte-callout{background:var(--pte-bg-soft);border:1px solid var(--pte-border);border-radius:8px;padding:18px 22px;margin:8px 0 24px}
.pte-callout__label{font-size:13px;text-transform:uppercase;letter-spacing:.06em;color:var(--pte-muted);margin:0 0 6px}
.pte-callout p:last-child{margin-bottom:0}

.pte-tree{margin:20px 0 28px;padding:24px 16px;background:var(--pte-bg-soft);border-radius:10px;text-align:center}
.pte-tree__root{display:inline-block;background:var(--pte-accent);color:#fff;font-weight:600;padding:10px 22px;border-radius:6px}
.pte-tree__stem{width:2px;height:22px;background:var(--pte-accent);margin:0 auto}
.pte-tree__branches{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;border-top:2px solid var(--pte-accent);padding-top:22px;position:relative;text-align:left}
.pte-tree__node{background:#fff;border:1px solid var(--pte-border);border-top:3px solid var(--pte-accent);border-radius:6px;padding:12px 14px;font-size:14px;line-height:1.45}
.pte-tree__node strong{display:block;font-size:15px;margin-bottom:6px}
.pte-tree__node ul{margin:0;padding-left:16px}
@media (max-width:760px){.pte-tree__branches{grid-template-columns:1fr 1fr}}
@media (max-width:480px){.pte-tree__branches{grid-template-columns:1fr}}

.pte-figure{margin:16px 0 24px}
.pte-figure img{width:100%;height:auto;border-radius:8px;display:block}
.pte-figure figcaption{font-size:14px;color:var(--pte-muted);margin-top:8px}

.pte-checklist{list-style:none;padding:0;margin:16px 0 20px}
.pte-checklist li{position:relative;padding:10px 0 10px 36px;border-bottom:1px dashed var(--pte-border)}
.pte-checklist li:last-child{border-bottom:none}
.pte-checklist li::before{content:"";position:absolute;left:4px;top:13px;width:18px;height:18px;border:2px solid var(--pte-accent);border-radius:4px}
.pte-checklist li::after{content:"";position:absolute;left:10px;top:16px;width:6px;height:10px;border:solid var(--pte-accent);border-width:0 2px 2px 0;transform:rotate(45deg)}

.pte-tip{background:var(--pte-accent-light);border-radius:8px;padding:16px 20px;margin:0 0 20px}
.pte-tip p:last-child{margin-bottom:0}
.pte-btn{display:inline-block;background:var(--pte-accent);color:#fff!important;text-decoration:none!important;font-weight:600;padding:14px 28px;border-radius:6px;transition:background .2s}
.pte-btn:hover{background:#174a6d}

.pte-faq details{border:1px solid var(--pte-border);border-radius:8px;margin:0 0 10px;background:#fff}
.pte-faq summary{cursor:pointer;list-style:none;padding:16px 48px 16px 20px;position:relative}
.pte-faq summary::-webkit-details-marker{display:none}
.pte-faq summary h3{display:inline;font-size:18px;margin:0}
.pte-faq summary::after{content:"+";position:absolute;right:20px;top:50%;transform:translateY(-50%);font-size:24px;color:var(--pte-accent);line-height:1}
.pte-faq details[open] summary::after{content:"−"}
.pte-faq__answer{padding:0 20px 16px}
.pte-faq__answer p:last-child{margin-bottom:0}

/* Защита от стилей сайта: тема переопределяет таблицы, заголовки и выравнивание */
.pte-article h1,.pte-article h2,.pte-article h3,.pte-article p,.pte-article li,.pte-article figcaption{text-align:left!important}
.pte-article .pte-table{border:none!important;background:#fff!important;margin:0!important}
.pte-article .pte-table th,.pte-article .pte-table td{text-align:left!important;vertical-align:top!important;border:none!important;border-bottom:1px solid var(--pte-border)!important;padding:12px 14px!important;font-size:15px!important;line-height:1.5!important}
.pte-article .pte-table thead th,.pte-article .pte-table thead tr{background:var(--pte-accent)!important;color:#fff!important;font-weight:600!important;opacity:1!important}
.pte-article .pte-table tbody th{background:var(--pte-bg-soft)!important;color:var(--pte-text)!important;font-weight:600!important}
.pte-article .pte-table tbody td{background:#fff!important;color:var(--pte-text)!important}
.pte-article .pte-table tbody tr:last-child th,.pte-article .pte-table tbody tr:last-child td{border-bottom:none!important}
.pte-article .pte-tree__root{text-align:center!important}
.pte-article .pte-tree__node ul,.pte-article .pte-checklist{margin-left:0!important}
.pte-article .pte-checklist li{list-style:none!important;background:none!important}
.pte-article .pte-btn{text-align:center!important}
.pte-article .pte-card img{width:100%!important;height:200px!important;max-width:none!important;object-fit:cover!important;margin:0!important;padding:0!important;border:none!important;float:none!important;display:block!important}
.pte-article .pte-card__body{padding:16px 18px 18px!important}
.pte-article .pte-card__title{margin-top:0!important}
.pte-article .pte-figure{max-width:720px!important;margin:16px 0 24px!important;padding:0!important}
.pte-article .pte-figure img{width:100%!important;height:auto!important;max-height:420px!important;object-fit:cover!important;margin:0!important;float:none!important;display:block!important}

.pte-article .pte-media{display:grid!important;grid-template-columns:300px 1fr!important;gap:28px!important;align-items:start!important;margin:0!important;padding:24px 0!important;border-bottom:1px solid var(--pte-border)!important}
.pte-article .pte-media:last-of-type{border-bottom:none!important}
.pte-article .pte-media img{width:100%!important;height:200px!important;object-fit:cover!important;border-radius:8px!important;margin:0!important;max-width:none!important;display:block!important;float:none!important}
.pte-article .pte-media__body h3{margin:0 0 10px!important}
.pte-article .pte-media__body p{margin:0 0 10px!important}
.pte-article .pte-media--plain{border-bottom:none!important;padding:8px 0 16px!important}
.pte-article .pte-media__fig{margin:0!important;padding:0!important}
.pte-article .pte-media__fig figcaption{font-size:13px!important;line-height:1.4!important;color:var(--pte-muted)!important;margin-top:8px!important}
@media (max-width:700px){.pte-article .pte-media{grid-template-columns:1fr!important;gap:14px!important}}

.pte-article .pte-zoom{display:block!important;cursor:zoom-in!important;text-decoration:none!important;border:none!important}
.pte-article .pte-zoom img{transition:opacity .2s}
.pte-article .pte-zoom:hover img{opacity:.9}

.pte-article .pte-decide{background:var(--pte-bg-soft)!important;border-radius:10px!important;padding:20px 22px!important;margin:20px 0 28px!important}
.pte-article .pte-decide__title{font-weight:600!important;font-size:18px!important;margin:0 0 12px!important}
.pte-article .pte-decide__head{display:grid;grid-template-columns:1fr 40px 1fr;gap:12px;font-size:13px;text-transform:uppercase;letter-spacing:.06em;color:var(--pte-muted);margin-bottom:6px}
.pte-article .pte-decide__row{display:grid;grid-template-columns:1fr 40px 1fr;gap:12px;align-items:stretch;margin-bottom:10px}
.pte-article .pte-decide__row:last-child{margin-bottom:0}
.pte-article .pte-decide__if,.pte-article .pte-decide__then{background:#fff;border:1px solid var(--pte-border);border-radius:8px;padding:12px 16px;font-size:15px;line-height:1.45;display:flex;flex-direction:column;justify-content:center}
.pte-article .pte-decide__then{border-left:4px solid var(--pte-accent)}
.pte-article .pte-decide__then strong{font-size:16px;margin-bottom:2px}
.pte-article .pte-decide__then span{color:var(--pte-muted);font-size:14px}
.pte-article .pte-decide__arrow{display:flex;align-items:center;justify-content:center;font-size:24px;color:var(--pte-accent)}
@media (max-width:700px){.pte-article .pte-decide__head{display:none}.pte-article .pte-decide__row{grid-template-columns:1fr;gap:4px;margin-bottom:16px}.pte-article .pte-decide__arrow{transform:rotate(90deg);height:24px}}

.pte-article .pte-related{margin-top:56px!important;padding-top:32px!important;border-top:1px solid var(--pte-border)!important}
.pte-article .pte-related h2{margin-top:0!important}
.pte-article .pte-related__list{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;margin-bottom:12px}
.pte-article .pte-related__item{display:flex!important;flex-direction:column;gap:8px;padding:18px 20px;border:1px solid var(--pte-border);border-radius:10px;background:#fff;color:var(--pte-text)!important;text-decoration:none!important;transition:border-color .2s,box-shadow .2s}
.pte-article .pte-related__item:hover{border-color:var(--pte-accent);box-shadow:0 4px 16px rgba(31,95,139,.12)}
.pte-article .pte-related__label{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--pte-muted)}
.pte-article .pte-related__title{font-size:17px;font-weight:600;line-height:1.35}
.pte-article .pte-related__more{margin-top:auto;color:var(--pte-accent);font-weight:600;font-size:15px}
.pte-article .pte-related__all{margin:0!important}

@media (max-width:600px){
  .pte-article{font-size:16px}
  .pte-article h1{font-size:27px}
  .pte-article h2{font-size:22px}
  .pte-lead{font-size:17px;padding:16px 18px}
}
.pte-article .pte-table-wrap{overflow-x:auto!important;-webkit-overflow-scrolling:touch;max-width:100%!important}
.pte-article .pte-table{width:100%!important;min-width:640px!important;table-layout:auto!important}


/* Кнопки заявки */
.pte-article .pte-actions{display:flex;flex-wrap:wrap;gap:12px;margin:8px 0 24px}
.pte-article .pte-btn--outline{background:#fff!important;color:var(--pte-accent)!important;border:2px solid var(--pte-accent)!important;padding:12px 26px!important}
.pte-article .pte-btn--outline:hover{background:var(--pte-accent-light)!important}

/* FAQ: лёгкий список с разделителями, текст по одной линии с остальной статьёй */
.pte-article .pte-faq{border-top:1px solid var(--pte-border)!important;margin:0 0 24px!important}
.pte-article .pte-faq details{border:none!important;border-bottom:1px solid var(--pte-border)!important;border-radius:0!important;margin:0!important;background:transparent!important}
.pte-article .pte-faq summary{padding:16px 40px 16px 0!important}
.pte-article .pte-faq summary h3{font-size:17px!important;font-weight:600!important;line-height:1.4!important;margin:0!important;color:var(--pte-text)!important}
.pte-article .pte-faq summary:hover h3{color:var(--pte-accent)!important}
.pte-article .pte-faq summary::after{right:4px!important;font-size:22px!important}
.pte-article .pte-faq__answer{padding:0 40px 18px 0!important}
.pte-article .pte-faq__answer p{color:var(--pte-text)!important}
.pte-article .pte-actions{margin-bottom:8px!important}


/* FAQ отдельной секцией на сером фоне */
.pte-article .pte-faq-section{background:#eef2f5!important;border-radius:12px!important;padding:28px 32px 12px!important;margin:56px 0 0!important}
.pte-article .pte-faq-section h2{margin:0 0 12px!important}
.pte-article .pte-faq-section .pte-faq{border-top:none!important;margin:0!important}
.pte-article .pte-faq-section .pte-faq details:last-child{border-bottom:none!important}
@media (max-width:600px){.pte-article .pte-faq-section{padding:20px 18px 6px!important}}

/* Другие статьи: голубые карточки, без линии сверху */
.pte-article .pte-related{border-top:none!important;padding-top:0!important;margin-top:56px!important}
.pte-article .pte-related__item{background:#e8f1f7!important;border:none!important;border-left:4px solid #1f5f8b!important;border-radius:10px!important}

/* Список параметров заявки без галочек */
.pte-article .pte-checklist li{padding:10px 0!important}
.pte-article .pte-checklist li::before,.pte-article .pte-checklist li::after{content:none!important;display:none!important}

/* Схема границы давления 0,07 МПа */
.pte-article .pte-gauge{background:#eef2f5;border-radius:8px;padding:18px 18px 16px;font-size:14px;line-height:1.4}
.pte-article .pte-gauge__title{font-weight:600;font-size:14px;margin-bottom:28px;color:var(--pte-text)}
.pte-article .pte-gauge__bar{position:relative;display:flex;height:12px;border-radius:6px;overflow:visible}
.pte-article .pte-gauge__low{flex:1;background:#9fc3dc;border-radius:6px 0 0 6px}
.pte-article .pte-gauge__high{flex:1;background:var(--pte-accent);border-radius:0 6px 6px 0}
.pte-article .pte-gauge__mark{position:absolute;left:50%;top:-24px;transform:translateX(-50%);font-weight:700;font-size:13px;color:var(--pte-accent);white-space:nowrap}
.pte-article .pte-gauge__mark::after{content:"";position:absolute;left:50%;top:20px;width:2px;height:20px;background:var(--pte-text);transform:translateX(-50%)}
.pte-article .pte-gauge__cols{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}
.pte-article .pte-gauge__cols div{color:var(--pte-muted)}
.pte-article .pte-gauge__cols strong{display:block;color:var(--pte-text);font-size:14px}
.pte-article .pte-gauge__cols div:last-child{text-align:right}
.pte-article .pte-gauge__note{margin-top:12px;padding-top:10px;border-top:1px solid var(--pte-border);color:var(--pte-muted);font-size:13px}

/* Обычные маркированные списки в тексте */
.pte-article ul:not([class]){list-style:disc!important;padding-left:22px!important;margin:12px 0 18px!important}
.pte-article ul:not([class]) li{list-style:disc!important;margin:0 0 6px!important;padding:0!important}
