/* Typeface */
:root { --sc-font-title: "Bebas Neue", system-ui, -apple-system, sans-serif; --sc-font-mono:"Space Mono", ui-monospace, monospace; }
.sc-course { font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; color:#111; line-height:1.5;     padding-top: 45px;}
.sc-container { max-width: 1120px; margin: 0 auto; padding: 28px 20px 80px; }

/* Header */
.sc-header { margin-bottom: 24px; }
.sc-title { font-family: var(--sc-font-title); font-size: clamp(34px, 5vw, 60px); line-height: .98; letter-spacing: .2px; margin: 0 0 12px; }
.sc-sub { font-size: 18px; color:#333; margin: 0 0 18px; }
.sc-price-cta { display:flex; gap:16px; align-items:center; flex-wrap:wrap; }
.sc-price { font-family: var(--sc-font-title); font-size: 48px; color:#000; padding:10px 18px; border-radius:12px; }
.sc-buy { display:flex; gap:10px; }
.sc-buy input {margin: 0 !important;}
.sc-input { height:48px; padding:0 12px; border:1px solid #d0d0d7; border-radius:10px; min-width:260px; font-size:16px; }
.sc-btn { height:48px; padding:0 18px; background:var(--sc-red); color:#fff; border:0; border-radius:12px; font-weight:600; cursor:pointer; }
.sc-btn:hover { filter:brightness(.95); }

/* Grid */
.sc-grid { display:grid; grid-template-columns: minmax(0,1fr) var(--sc-sidebar); gap: 36px; align-items:start; }
@media (max-width: 980px){ .sc-grid { grid-template-columns: 1fr; } }

/* Left */
.sc-h3 { font-size: 18px; font-weight:800; margin: 16px 0 10px; }
.sc-section { margin-top: 26px; }
.sc-section ul { padding-left: 20px; }
.sc-section li { margin: 6px 0; }

/* Accordion */
.sc-accordion { border:1px solid #eee; border-radius:14px; overflow:hidden; background:#fff; }
.sc-acc + .sc-acc { border-top: 1px solid #f0f0f3; }
.sc-acc summary { list-style:none; display:flex; justify-content:space-between; align-items:center; padding:14px 16px; cursor:pointer; font-weight:600; }
.sc-acc summary::-webkit-details-marker { display:none; }
.sc-acc[open] summary { background:#fafafa; }
.sc-acc .sc-panel { padding: 10px 18px 16px; }
.sc-acc ul { margin: 6px 0 0; padding-left: 18px; }
.sc-acc li { margin: 6px 0; }

/* Right promo + ribbons */
.sc-right { position:relative; }
.sc-promo { aspect-ratio: 16/10; background:#0c0c0c; border-radius:20px; display:grid; place-items:center; overflow:hidden; box-shadow: 0 18px 40px rgba(0,0,0,.12); }
.sc-play3d { width: 58%; aspect-ratio: 1/1; border-radius: 28%; background: radial-gradient(45% 45% at 50% 40%, #ff6a5f 0%, #e4372e 35%, #b31f19 100%); position:relative; }
.sc-play3d::after{ content:""; position:absolute; inset:0; margin:auto; width:40%; aspect-ratio:1; clip-path: polygon(30% 20%, 80% 50%, 30% 80%); background:#fff; filter:drop-shadow(0 6px 10px rgba(0,0,0,.35)); }

.sc-ribbons { list-style:none; padding:0; margin:18px 0 0 !important; display:grid; gap:10px; }
.sc-ribbons li {
    font-size: 14px;
    padding: 10px 12px;
    background: #F8F8F8;
    width: fit-content;
}

/* After lead small note */
.sc-after-lead { color:#6b6b78; font-size:14px; margin-top: 14px; }

/* Utilities */
.sc-left ul { padding-left: 22px; }
.sc-left li { margin: 6px 0; }

/* Dark button focus */
.sc-btn {
    height: 48px;
    padding: 0 18px;
    background: var(--sc-red);
    color: #fff;
    border: 0;
    border-radius: 0;
    font-weight: 400;
    cursor: pointer;
    font-family: 'Inter';
    font-size: 18px;
    width: 240px;
}

.sc-acc summary em {
  display: inline-block;
  transition: transform 0.3s ease;
}

.sc-acc[open] summary em {
  transform: rotate(180deg); /* Поворот стрелки на 180 градусов */
}

.bottom_meta {
	display: none;
}
.main-blog-promo {
	display: none;
}
.header-master, #mobileheader {
    background: #0F1428;
}

.fixedheader {
    background: #fff;
}

.sc-preview-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  background-color: #f0f0f0; /* цвет фона, если нужно */
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1); /* тенейка для улучшения визуала */
  overflow: hidden;
}

.sc-preview-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.sc-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #e4372e;
    color: white;
    font-size: 14px;
    font-weight: 700;
    padding: 6px 12px;
    margin-top: 11px;
}

.sc-badge .sc-badge-icon {
    display: inline-block;
    border-radius: 50%;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    font-size: 17px;
    color: #fff;
}

@media (max-width:640px){
.sc-buy {
    display: block;
}
.sc-btn {
    width: 100%;
    margin-top: 15px;
}
.sc-price {

    padding: 0;
    border-radius: 12px;
}
.sc-price-cta {
    gap: 0;
}
  .sc-left {
    order: 2; /* Меняем местами: теперь левый блок идет после правого */
  }
    .sc-right {
        order: 1;
        margin-top: 35px;
    }
    .sc-title {
        margin-top: 0px !important;
    }
}