/* Карточки промокодов и акций сетей (inc/che-vk-offers.php). Цвета — акцент журнала #1abc9c. */
.che-offer-list{margin:24px 0}
.che-offer{--offer-accent:#14967c;box-sizing:border-box;display:flex;align-items:center;gap:20px;margin:16px 0;padding:22px 24px;border:1px solid #bfe8dd;border-radius:16px;background:#f2fbf8;color:#223b38;overflow-wrap:anywhere;font-family:Arial,Helvetica,sans-serif;position:relative}
.che-offer *{box-sizing:border-box}
.che-offer--ended{background:#f7f7f7;border-color:#e2e2e2;color:#555}
.che-offer__icon{display:grid;place-items:center;flex:0 0 56px;height:56px;border-radius:14px;background:#daf3ec;color:var(--offer-accent)}
.che-offer--ended .che-offer__icon{background:#ececec;color:#888}
.che-offer__icon svg{width:34px;height:34px}
.che-offer__info{flex:1;min-width:0}
.che-offer .che-offer__label{display:block;margin:0 0 6px;font-size:12px;line-height:1.4;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#4f7069}
.che-offer .che-offer__benefit{margin:0 0 6px;font-size:19px;line-height:1.4;font-weight:700;color:#1f3a34}
.che-offer .che-offer__benefit a{color:inherit;font-size:inherit;text-decoration:none}
.che-offer .che-offer__benefit a:hover{text-decoration:underline}
.che-offer .che-offer__status{margin:0;font-size:13px;line-height:1.5;color:#6c7d78}
.che-offer__action{flex:0 0 220px;text-align:center}
.che-offer .che-offer__open,.che-offer .che-offer__copy{position:static;display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:auto;min-height:46px;margin:0;padding:11px 16px;border:0;border-radius:12px;background:var(--offer-accent);color:#fff;font:700 15px/1.4 Arial,Helvetica,sans-serif;text-decoration:none;cursor:pointer;transition:background .15s}
.che-offer .che-offer__open:hover,.che-offer .che-offer__copy:hover{background:#0f7863;color:#fff}
.che-offer .che-offer__copy:disabled{opacity:.55;cursor:default}
.che-offer .che-offer__hint{display:block;margin-top:7px;font-size:11px;line-height:1.4;color:#6c7d78}
.che-offer .che-offer__ended{display:block;font-size:14px;line-height:1.4;color:#777}
.che-offer button:focus-visible,.che-offer a:focus-visible,.che-offer input:focus-visible{outline:3px solid #7cc9b6;outline-offset:3px}
.che-offer dialog.che-offer__dialog{position:fixed;inset:0;display:none;width:540px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 40px);margin:auto;padding:32px;border:0;border-radius:20px;background:#fff;color:#1f3a34;box-shadow:0 24px 90px rgba(16,45,50,.25);overflow:auto;text-align:left}
.che-offer dialog.che-offer__dialog[open]{display:block}
.che-offer__dialog::backdrop{background:rgba(16,29,34,.5)}
.che-offer .che-offer__close{position:absolute;right:14px;top:12px;display:grid;place-items:center;width:34px;height:34px;min-height:0;padding:0;border:0;border-radius:50%;background:#eef4f2;color:#5f706b;font:400 24px/1 Arial,sans-serif;cursor:pointer}
.che-offer .che-offer__dialog-title{margin:0 24px 18px 0;font-size:22px;line-height:1.35;font-weight:700;color:#1f3a34}
.che-offer__codebox{display:flex;gap:10px;margin:0 0 4px}
.che-offer input.che-offer__code{flex:1;min-width:0;width:auto;height:50px;margin:0;padding:10px 14px;border:1px dashed #8fcfbf;border-radius:12px;background:#f5fbf9;color:#1f3a34;font:700 20px/1.4 Arial,Helvetica,sans-serif;letter-spacing:.04em;float:none}
.che-offer .che-offer__copy{flex:0 0 130px;width:130px;min-height:50px;font-size:14px}
.che-offer .che-offer__feedback{min-height:18px;margin:0 0 8px;font-size:13px;line-height:1.4;color:var(--offer-accent)}
.che-offer .che-offer__text,.che-offer .che-offer__note,.che-offer .che-offer__conditions{margin:14px 0;font-size:15px;line-height:1.6;color:#41574f}
.che-offer .che-offer__note{font-size:13px;color:#6c7d78}
.che-offer ul.che-offer__conditions{padding-left:20px;list-style:disc}
.che-offer .che-offer__conditions li{margin:4px 0;list-style:disc}
.che-offer a.che-offer__link{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;margin-top:18px;padding:10px 14px;border:1px solid var(--offer-accent);border-radius:12px;color:var(--offer-accent);font-size:15px;line-height:1.4;text-decoration:none}
.che-offer a.che-offer__link:hover{background:#eefaf6}
@media(max-width:760px){
.che-offer{flex-wrap:wrap;gap:12px;padding:16px}
.che-offer__icon{flex-basis:44px;height:44px;border-radius:12px}
.che-offer__icon svg{width:28px;height:28px}
.che-offer__info{flex-basis:calc(100% - 56px)}
.che-offer .che-offer__benefit{font-size:17px}
.che-offer__action{flex-basis:100%}
.che-offer dialog.che-offer__dialog{padding:26px 20px;border-radius:16px}
.che-offer .che-offer__dialog-title{font-size:19px}
.che-offer .che-offer__copy{flex-basis:108px;width:108px}
.che-offer input.che-offer__code{font-size:18px}
}
@media(prefers-reduced-motion:reduce){.che-offer button,.che-offer a{transition:none}}

/* Витрина /stories/promokody/ */
.che-codes__finder{margin:8px 0 24px;padding:20px 22px;border:1px solid #e3ece9;border-radius:16px;background:#fff}
.che-codes__finder h2{margin:0 0 12px;font-size:20px;line-height:1.3}
.che-codes__search{display:flex;align-items:center;gap:10px;max-width:560px;padding:0 14px;border:1px solid #cfdcd8;border-radius:12px;background:#fbfdfc}
.che-codes__search svg{flex:0 0 20px;width:20px;height:20px;color:#6c7d78}
.che-codes__search input{flex:1;min-width:0;width:auto;height:46px;margin:0;padding:0;border:0;background:transparent;font-size:16px;float:none;outline:none}
.che-codes__nets{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 0}
.che-codes__nets a{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border:1px solid #d6e6e1;border-radius:999px;color:#24413a;font-size:14px;line-height:1.3;text-decoration:none;background:#f6fbf9}
.che-codes__nets a span{color:#14967c;font-weight:700}
.che-codes__nets a:hover{border-color:#14967c}
.che-codes__status{margin:10px 0 0;font-size:13px;color:#6c7d78}
.che-codes__group{margin:28px 0}
.che-codes__group h2{margin:0 0 4px;font-size:22px;line-height:1.3}
.che-codes__group-meta{margin:0 0 6px;font-size:14px;color:#6c7d78}
.che-codes__group-meta a{color:#14967c;font-size:inherit}
.che-codes__archive summary{cursor:pointer;font-size:15px;color:#4f7069;margin:8px 0}
.che-codes__empty{padding:20px;border-radius:12px;background:#f7f7f7;font-size:16px}
.che-codes__notice{margin:28px 0;padding:16px 18px;border-left:4px solid #1abc9c;background:#f4fbf8;border-radius:0 12px 12px 0;font-size:15px;line-height:1.55;color:#41574f}
.che-codes__notice p{margin:0 0 6px}
.journal-promo-badge{display:inline-block;margin-right:6px;padding:1px 8px;border-radius:999px;background:#daf3ec;color:#0f7863;font-size:12px;font-weight:700;vertical-align:middle}
/* Блоки витрины внутри flex-контейнера темы занимают всю ширину. */
.che-codes .citylist__inner>*{flex:0 0 100%;width:100%;max-width:100%}
.che-codes .journal-hub__intro{font-size:16px;line-height:1.55}
.che-offer .che-offer__copy{white-space:nowrap}
.che-offer ul.che-offer__conditions{padding-left:0;list-style:none}
.che-offer .che-offer__conditions li{list-style:none}
@media(max-width:760px){.che-offer .che-offer__copy{flex-basis:118px;width:118px;padding:8px;font-size:13px}}

/* Ссылка из статьи-промокода на страницу всех промокодов сети */
.che-offer-more{margin:8px 0 20px;font-size:16px}
.che-offer-more a{color:#10806A;font-weight:600;text-decoration:none}
.che-offer-more a:hover{text-decoration:underline}
