.horroj-commercial{border:1px solid #cdd8d2;border-radius:8px;background:#f5f8f6;color:#172c24;padding:20px;margin:24px 0;font-family:system-ui,sans-serif;break-inside:avoid}.commercial-kicker{font:600 14px system-ui,sans-serif;color:#475e54;margin-bottom:16px}.commercial-content{display:flex;align-items:center;gap:24px}.commercial-content img{width:180px;max-width:40%;height:160px;object-fit:contain;border-radius:4px;background:#fff}.commercial-content h3{font-size:24px;margin:0 0 10px;line-height:1.3;overflow-wrap:anywhere}.commercial-content p{font-size:16px;line-height:1.6;margin:0 0 18px}.commercial-cta{display:inline-block;background:#194b3c;color:white!important;padding:12px 18px;border-radius:5px;font:600 16px system-ui,sans-serif;text-decoration:none}.commercial-disclosure{font:14px/1.5 system-ui,sans-serif!important;color:#42594e;margin:18px 0 0!important}.commercials-body{margin:0;background:#f4f6f4;color:#182820;font:16px/1.5 system-ui,sans-serif}.commercials-header{background:white;border-bottom:1px solid #d9e1dc;padding:20px max(20px,calc((100vw - 1200px)/2));display:flex;justify-content:space-between;align-items:center;gap:20px}.commercials-header strong{font:700 28px Georgia,serif}.commercials-header nav{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.commercials-body a{color:#194b3c}.commercials-main{max-width:1200px;padding:32px 20px;margin:auto}.commercials-main h1{font:700 36px Georgia,serif;margin:0 0 8px}.commercials-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;margin-top:28px}.commercials-panel{background:white;border:1px solid #d9e1dc;border-radius:8px;padding:24px}.commercials-panel h2{margin-top:0;font-size:22px}.commercials-body label{display:block;font-weight:600;margin:18px 0 6px}.commercials-body input:not([type=checkbox]),.commercials-body select,.commercials-body textarea{box-sizing:border-box;width:100%;font:inherit;padding:12px;border:1px solid #afbeb5;border-radius:4px;background:white;color:inherit}.commercials-body fieldset{border:1px solid #d9e1dc;margin:20px 0;padding:12px 16px}.commercials-body fieldset label{display:flex;gap:10px;align-items:center;margin:10px 0}.commercials-body button{font:600 16px system-ui,sans-serif;padding:11px 15px;border:1px solid #194b3c;border-radius:4px;background:white;color:#194b3c;cursor:pointer}.commercials-body button.primary{background:#194b3c;color:white}.commercials-body button:disabled{opacity:.5;cursor:wait}.commercials-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.commercials-help{font-size:14px;color:#526258}.commercials-status{min-height:24px;color:#194b3c}.commercials-status.error{color:#a12323}.commercials-list{padding:0;list-style:none}.commercials-list li{padding:16px 0;border-bottom:1px solid #e0e5e2}.commercials-list button{text-align:left;width:100%}.commercials-list small{display:block;color:#526258;margin-top:5px}.commercials-body :focus-visible{outline:3px solid #c78720;outline-offset:3px}.poster-preview-only .commercials-header,.poster-preview-only .commercials-intro,.poster-preview-only .commercial-editor,.poster-preview-only .saved-commercials{display:none}.poster-preview-only .commercials-grid{display:block;max-width:900px;margin:auto}@media(max-width:750px){.commercials-grid{grid-template-columns:1fr}.commercials-header{align-items:flex-start;flex-direction:column}.commercials-main{padding:24px 14px}.commercials-panel{padding:18px}.commercial-content{gap:14px}.commercial-content h3{font-size:21px}.commercial-content img{width:120px;height:130px}}@media(max-width:400px){.commercial-content{flex-direction:column;align-items:flex-start}.commercial-content img{width:100%;max-width:100%;height:160px}}

.ad-placement{min-width:0;max-width:100%;clear:both}.ad-placement .horroj-commercial{box-sizing:border-box;width:100%}.ad-placement .commercial-content>div{min-width:0}.ad-placement p{overflow-wrap:anywhere}.ad-slot-section-between{grid-column:1/-1}.content-with-ad{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:32px;align-items:start}.content-with-ad>.article{width:100%;box-sizing:border-box;margin:32px auto}.content-with-ad>.listing{min-width:0}.placement-sidebar{min-width:0}.placement-sidebar .commercial-content,.ad-slot-home-sidebar .commercial-content{flex-direction:column;align-items:flex-start}.placement-sidebar .commercial-content img,.ad-slot-home-sidebar .commercial-content img{width:100%;max-width:100%;height:180px}.placement-sidebar h3,.ad-slot-home-sidebar h3{font-size:22px}.ad-placement-preview{outline:3px dashed #bd7400;outline-offset:4px}.ad-preview-label,.commercial-preview-notice{font:600 14px/1.5 system-ui,sans-serif!important;background:#fff1cd;color:#684006;padding:8px 12px;margin:8px 0}.layout-preview-main{padding:24px;max-width:1440px;margin:auto}.layout-preview-controls{display:grid;grid-template-columns:2fr 1fr 2fr 1fr;gap:16px}.layout-preview-scroll{max-width:100%;overflow:auto;border:1px solid #afbeb5;background:#e5e9e6;padding:12px;box-sizing:border-box}.layout-preview-scroll iframe{display:block;height:850px;border:0;background:white;max-width:none;margin:0 auto}.commercials-body #category-options,.commercials-body #placement-options{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}
@media(max-width:900px){.content-with-ad{grid-template-columns:1fr;gap:0}.placement-sidebar{width:100%}.layout-preview-controls{grid-template-columns:1fr 1fr}.content-with-ad>.article{max-width:710px}.layout-preview-main{padding:16px}}
@media(max-width:500px){.commercials-body #category-options,.commercials-body #placement-options,.layout-preview-controls{grid-template-columns:1fr}.ad-placement .commercial-content{flex-direction:column;align-items:flex-start}.ad-placement .commercial-content img{max-width:100%;width:100%;height:160px}.ad-placement .horroj-commercial{padding:16px}}
