/* ===== BLOG PAGE - AI PEOPLE DARK THEME ===== */

/* Smooth scroll for НАВЕРХ button */
html { scroll-behavior: smooth; }

body { background-color: #0a0a0a !important; }

/* ── Hide unwanted blocks ── */
#rec2102745351 { display: none !important; }
#rec2109925461,
#rec2109942011 { display: none !important; }
.tn-elem__21101109011470210128180,
.tn-elem__21101109011470233923389 { display: none !important; }

/* ── HERO BLOCK ── */
#rec2110110901 {
    background-color: #0a0a0a !important;
    position: relative;
    overflow: hidden;
}
#rec2110110901::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg, transparent, transparent 39px,
        rgba(0,212,255,0.04) 39px, rgba(0,212,255,0.04) 40px
    ),
    repeating-linear-gradient(
        90deg, transparent, transparent 79px,
        rgba(0,212,255,0.04) 79px, rgba(0,212,255,0.04) 80px
    );
    pointer-events: none;
    z-index: 0;
}
#rec2110110901::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 60%; height: 2px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
    box-shadow: 0 0 20px rgba(0,212,255,0.6);
    z-index: 1;
}

/* ── SOCIAL BLOCK (T471) ── */
#rec2120528681 {
    background-color: #0a0a0a !important;
    padding-top: 32px !important;
    padding-bottom: 32px !important;
}
#rec2120528681 .t471__descr {
    color: #8ab8c8 !important;
    font-size: 12px !important;
    font-family: 'Montserrat', Arial, sans-serif !important;
    margin-bottom: 16px !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
}
#rec2120528681 .t-sociallinks a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 52px !important;
    height: 52px !important;
    border-radius: 50% !important;
    background: rgba(0,212,255,0.07) !important;
    border: 1px solid rgba(0,212,255,0.3) !important;
    transition: background 0.2s, border-color 0.2s, transform 0.2s !important;
    text-decoration: none !important;
    margin: 0 6px !important;
}
#rec2120528681 .t-sociallinks a:hover {
    background: rgba(0,212,255,0.18) !important;
    border-color: rgba(0,212,255,0.7) !important;
    transform: translateY(-2px) !important;
}
#rec2120528681 .t-sociallinks__svg path,
#rec2120528681 .t-sociallinks a svg path {
    fill: #00d4ff !important;
}

/* ── ARTICLES ── */
#rec2102745361, #rec2103789341, #rec2103788431,
#rec2103787421, #rec2102745371 {
    background-color: #0a0a0a !important;
}
.t-entry__title a, .t-entry__title { color: #e8f4f8 !important; }
.t-entry__date { color: #8ab8c8 !important; }
.t-entry__text { color: #b0cdd6 !important; }

/* ── FOOTER ── */
#rec2109947491 { display: none !important; }
#rec2120350261,
#rec2120322431,
#rec2120382341 { display: none !important; }
#rec2120229531 { background-color: #0a0a0a !important; }

/* === LIGHT THEME OVERRIDE FOR /oferta PAGE === */
html:has([data-tilda-page-alias="oferta"]), body:has([data-tilda-page-alias="oferta"]) { background-color: #ffffff !important; }
body:has([data-tilda-page-alias="oferta"]) .t-body { background-color: #ffffff !important; }
body:has([data-tilda-page-alias="oferta"]) .t-rec, body:has([data-tilda-page-alias="oferta"]) .t-records, body:has([data-tilda-page-alias="oferta"]) [class*="t-rec"] { background-color: transparent !important; }
body:has([data-tilda-page-alias="oferta"]) .t-text, body:has([data-tilda-page-alias="oferta"]) .t-text *, body:has([data-tilda-page-alias="oferta"]) p, body:has([data-tilda-page-alias="oferta"]) span, body:has([data-tilda-page-alias="oferta"]) h1, body:has([data-tilda-page-alias="oferta"]) h2, body:has([data-tilda-page-alias="oferta"]) h3, body:has([data-tilda-page-alias="oferta"]) h4, body:has([data-tilda-page-alias="oferta"]) li, body:has([data-tilda-page-alias="oferta"]) td { color: #111111 !important; }
body:has([data-tilda-page-alias="oferta"]) a { color: #2563eb !important; }

/* === LIGHT THEME FOR /confidentiality PAGE === */
html:has([data-tilda-page-alias="confidentiality"]),
body:has([data-tilda-page-alias="confidentiality"]) {
  background-color: #ffffff !important;
}
body.t-body:has([data-tilda-page-alias="confidentiality"]) .t-rec,
body.t-body:has([data-tilda-page-alias="confidentiality"]) .t-records {
  background-color: transparent !important;
}
body.t-body:has([data-tilda-page-alias="confidentiality"]),
body.t-body:has([data-tilda-page-alias="confidentiality"]) p,
body.t-body:has([data-tilda-page-alias="confidentiality"]) li,
body.t-body:has([data-tilda-page-alias="confidentiality"]) h1,
body.t-body:has([data-tilda-page-alias="confidentiality"]) h2,
body.t-body:has([data-tilda-page-alias="confidentiality"]) h3,
body.t-body:has([data-tilda-page-alias="confidentiality"]) h4,
body.t-body:has([data-tilda-page-alias="confidentiality"]) span,
body.t-body:has([data-tilda-page-alias="confidentiality"]) div,
body.t-body:has([data-tilda-page-alias="confidentiality"]) .tn-atom {
  color: #1a1a1a !important;
}
body.t-body:has([data-tilda-page-alias="confidentiality"]) a {
  color: #2563eb !important;
}

/* === FIX: DARK TEXT FOR SPECIFIC LIGHT-BACKGROUND BLOCKS (MAIN PAGE) === */
/* ПРОГРАММА ИНТЕНСИВ tabs — white artboard bg, need dark text */
#rec872362492 .t396__artboard .tn-atom,
#rec872362492 .t396__artboard li,
#rec872362492 .t396__artboard p,
#rec872362492 .t396__artboard span,
#rec872362492 .t396__artboard div,
#rec877754818 .t396__artboard .tn-atom,
#rec877754818 .t396__artboard li,
#rec877754818 .t396__artboard p,
#rec877754818 .t396__artboard span,
#rec877754818 .t396__artboard div,
#rec877776760 .t396__artboard .tn-atom,
#rec877776760 .t396__artboard li,
#rec877776760 .t396__artboard p,
#rec877776760 .t396__artboard span,
#rec877776760 .t396__artboard div,
#rec877780411 .t396__artboard .tn-atom,
#rec877780411 .t396__artboard li,
#rec877780411 .t396__artboard p,
#rec877780411 .t396__artboard span,
#rec877780411 .t396__artboard div,
#rec877784149 .t396__artboard .tn-atom,
#rec877784149 .t396__artboard li,
#rec877784149 .t396__artboard p,
#rec877784149 .t396__artboard span,
#rec877784149 .t396__artboard div {
  color: #1a1a1a !important;
}

/* НАШИ КЛИЕНТЫ — white artboard bg */
#rec876709657 .t396__artboard .tn-atom,
#rec876709657 .t396__artboard li,
#rec876709657 .t396__artboard p,
#rec876709657 .t396__artboard span,
#rec876709657 .t396__artboard div {
  color: #1a1a1a !important;
}

/* ОТЗЫВЫ — only the section title element (on white area), names on dark cards stay white */
#rec1085990071 .tn-elem__10859900711740841572001 .tn-atom {
  color: #1a1a1a !important;
}