/* /experts/daniil-kozhemyakin/ — native expert page (extends home-v2.css) */

body.mg-page-experts-daniil,
body.mg-page-experts-daniil .mg2-main {
  text-align: left;
}

.mg-page-experts-daniil .mg-expert-dk a.mg2-textlink {
  color: var(--mg-blue-link);
}

.mg-page-experts-daniil .mg-expert-dk a.mg2-textlink:hover {
  color: var(--mg-blue-hover);
}

.mg-expert-dk .mg2-section-head {
  max-width: none;
  margin-bottom: 36px;
  text-align: left;
}

.mg-expert-dk .mg2-section-head h2 {
  font-size: clamp(28px, 6.6vw, 80px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--mg-black);
  text-wrap: pretty;
}

.mg-expert-dk .mg2-section-head p {
  margin: 16px 0 0;
  max-width: 36em;
  font-size: clamp(18px, 2.5vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--mg-black);
}

.mg-expert-dk .mg2-section-head p a.mg2-textlink {
  font-size: inherit;
  font-weight: inherit;
  white-space: nowrap;
}

.mg-expert-dk__h2-nowrap {
  white-space: nowrap;
}

.mg-expert-dk {
  padding-bottom: clamp(48px, 8vw, 96px);
}

.mg-expert-dk__hero {
  padding: 32px 0 clamp(48px, 6vw, 80px);
}

.mg-expert-dk__hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.9fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: end;
}

.mg-expert-dk__crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mg-black);
}

.mg-expert-dk__crumb-hub {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background: #000;
  color: #fff !important;
  text-decoration: none;
  border-radius: 0;
}

.mg-expert-dk__crumb-hub::after {
  content: none;
}

.mg-page-experts-daniil .mg-expert-dk a.mg-expert-dk__crumb-hub:hover {
  background: #000;
  color: #fff !important;
}

.mg-expert-dk__crumb-sep {
  font-weight: 700;
}

.mg-expert-dk__h1 {
  margin: 0;
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.06em;
  color: var(--mg-black);
}

.mg-expert-dk__h1 span {
  display: block;
}

.mg-expert-dk__lead-tail {
  white-space: nowrap;
}

.mg-expert-dk__lead {
  margin: 20px 0 0;
  max-width: 22em;
  font-size: clamp(18px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--mg-black);
}

.mg-expert-dk__hero-photo {
  background: var(--mg-cream);
  border-radius: var(--mg-radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.mg-expert-dk__hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mg-expert-dk__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.mg-expert-dk .mgig-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 60px;
  padding: 0 48px;
  border: none;
  border-radius: 3px;
  font-family: inherit;
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.7px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.mg-expert-dk .mgig-btn::before,
.mg-expert-dk .mgig-btn::after {
  content: none;
}

body.mg-site--v2b.mg-page-experts-daniil .mg-expert-dk a.mgig-btn--primary,
body.mg-site--v2b.mg-page-experts-daniil .mg-expert-dk button.mgig-btn--primary {
  background: #0062ad;
  color: #fff;
}

body.mg-site--v2b.mg-page-experts-daniil .mg-expert-dk a.mgig-btn--primary:hover,
body.mg-site--v2b.mg-page-experts-daniil .mg-expert-dk button.mgig-btn--primary:hover {
  background: #2b8ed9;
  color: #fff;
}

body.mg-site--v2b.mg-page-experts-daniil .mg-expert-dk a.mgig-btn--secondary {
  background: #f2eeeb;
  color: #000;
}

body.mg-site--v2b.mg-page-experts-daniil .mg-expert-dk a.mgig-btn--secondary:hover {
  background: #e8d7ca;
  color: #000;
}

.mg-expert-dk__section {
  padding: clamp(40px, 6vw, 72px) 0;
  background: var(--mg-white);
  text-align: left;
}

.mg-expert-dk__section--cream {
  background: var(--mg-cream);
}

.mg-expert-dk__about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.65fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: stretch;
}

.mg-expert-dk__about-copy p {
  margin: 0 0 16px;
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.04em;
}

.mg-expert-dk__about-copy p:last-child {
  margin-bottom: 0;
}

.mg-expert-dk__about-aside {
  display: flex;
  align-items: center;
  padding: 28px 24px;
  background: var(--mg-cream);
  border-radius: var(--mg-radius);
}

.mg-expert-dk__section--cream .mg-expert-dk__about-aside {
  background: var(--mg-white);
}

.mg-expert-dk__about-aside p {
  margin: 0;
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.mg-expert-dk__about-foot {
  margin: clamp(20px, 3vw, 28px) 0 0;
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.04em;
}

.mg-expert-dk__expertise,
.mg-expert-dk__manifesto {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.mg-expert-dk__expertise li,
.mg-expert-dk__manifesto li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  padding: 24px 28px;
  background: var(--mg-white);
  border-radius: var(--mg-radius);
}

.mg-expert-dk__manifesto li {
  background: var(--mg-cream);
}

.mg-expert-dk__num {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
  color: var(--mg-blue-link);
}

.mg-expert-dk__expertise h3,
.mg-expert-dk__manifesto h3 {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--mg-black);
}

.mg-expert-dk__expertise p,
.mg-expert-dk__manifesto p {
  margin: 0;
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 600;
  line-height: 1.35;
}

.mg-expert-dk__projects {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.mg-expert-dk__projects li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 24px;
  background: var(--mg-cream);
  border-radius: var(--mg-radius);
}

.mg-expert-dk__projects h3 {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
}

.mg-expert-dk__projects p {
  margin: 0;
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 600;
  line-height: 1.35;
  text-wrap: pretty;
}

.mg-expert-dk__projects li.mg-expert-dk__projects-cta {
  background: var(--mg-blue, #0062ad);
  color: #fff;
}

.mg-expert-dk__projects-cta h3,
.mg-expert-dk__projects-cta p {
  color: #fff;
}

.mg-expert-dk__projects-cta p {
  margin-bottom: 10px;
}

.mg-expert-dk__projects-cta-link {
  margin-top: auto;
  padding-top: 8px;
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
}

body.mg-site--v2b.mg-page-experts-daniil .mg-expert-dk a.mg-expert-dk__projects-cta-link,
.mg-page-experts-daniil .mg-expert-dk__projects-cta-link:hover {
  color: #fff;
}

.mg-page-experts-daniil .mg-expert-dk__projects-cta-link:hover {
  opacity: 0.85;
}

.mg-expert-dk__quotes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}

/* Нижняя левая — чуть выше правой (симметричная асимметрия) */
.mg-expert-dk__quotes li:nth-child(3) {
  margin-top: -30px;
}

/* Ритм как у соседних секций: без «воздушной подушки» сверху/снизу */
.mg-expert-dk__section#quotes {
  padding-top: clamp(24px, 3.5vw, 40px);
  padding-bottom: clamp(24px, 3.5vw, 40px);
}

.mg-expert-dk__section#quotes .mg2-section-head {
  margin-bottom: 24px;
}

.mg-expert-dk__quotes blockquote {
  margin: 0;
  padding: 28px 24px;
  background: var(--mg-white);
  border-radius: var(--mg-radius);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.mg-expert-dk__stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.mg-expert-dk__stats li {
  padding: 28px 24px;
  background: var(--mg-cream);
  border-radius: var(--mg-radius);
}

.mg-expert-dk__stats strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
  color: var(--mg-blue-link);
}

.mg-expert-dk__stats span {
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 600;
  line-height: 1.3;
}

.mg-expert-dk__section-cta {
  margin: 24px 0 0;
}

.mg-expert-dk__videos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.mg-expert-dk__video h3 {
  margin: 14px 0 6px;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  white-space: nowrap;
}

.mg-expert-dk__video p {
  margin: 0;
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 600;
  line-height: 1.35;
}

.mg-expert-dk__video-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--mg-radius);
  overflow: hidden;
  background: #1a1a1a;
}

.mg-expert-dk__video-thumb iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

.mg-expert-dk__video-hit {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.mg-expert-dk__materials {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.mg-expert-dk__materials li {
  padding: 24px;
  background: var(--mg-white);
  border-radius: var(--mg-radius);
}

.mg-expert-dk__materials h3 {
  margin: 0 0 8px;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
}

.mg-expert-dk__materials p {
  margin: 0;
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 600;
  line-height: 1.35;
}

.mg-expert-dk .mg2-faq__item p {
  color: var(--mg-black);
  font-weight: 600;
  font-size: clamp(16px, 1.8vw, 20px);
}

.mg-expert-dk__press {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 8px;
}

.mg-expert-dk__press-bio,
.mg-expert-dk__press-files {
  padding: 28px 24px;
  background: var(--mg-cream);
  border-radius: var(--mg-radius);
}

.mg-expert-dk__press-kicker {
  margin: 0 0 12px;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
}

.mg-expert-dk__press-bio p {
  margin: 0 0 12px;
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 600;
  line-height: 1.35;
}

.mg-expert-dk__press-bio p strong {
  font-weight: 700;
}

.mg-expert-dk__press-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
}

.mg-page-experts-daniil .mg-expert-dk__press-contacts a {
  color: var(--mg-blue-link);
  font-weight: 700;
  text-decoration: none;
}

.mg-page-experts-daniil .mg-expert-dk__press-contacts a:hover {
  color: var(--mg-blue-hover);
}

.mg-expert-dk__press-files h3 {
  margin: 0 0 12px;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
}

.mg-expert-dk__press-files h3 + .mg-expert-dk__topics,
.mg-expert-dk__press-files h3:nth-of-type(2) {
  margin-top: 24px;
}

.mg-expert-dk__press-dl {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mg-expert-dk__press-dl .mgig-btn {
  min-height: 44px;
  padding: 0 18px;
  font-size: 18px;
}

body.mg-site--v2b.mg-page-experts-daniil .mg-expert-dk__press-dl a.mgig-btn--secondary {
  background: #fff;
  color: #000;
}

body.mg-site--v2b.mg-page-experts-daniil .mg-expert-dk__press-dl a.mgig-btn--secondary:hover {
  background: #e8d7ca;
  color: #000;
}

.mg-expert-dk__topics {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mg-expert-dk__topics li {
  padding: 8px 12px;
  background: var(--mg-white);
  border-radius: var(--mg-radius);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mg-expert-dk__contact {
  text-align: left;
}

.mg-expert-dk__contact .mg2-section-head {
  margin-bottom: 28px;
}

.mg-expert-dk__contact .mg2-section-head h2 {
  white-space: nowrap;
}

.mg-expert-dk__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  box-sizing: border-box;
  max-width: 720px;
  margin: 0;
  padding: 32px;
  background: var(--mg-cream, #f2eeeb);
  border: 1px solid var(--mg-border);
  border-radius: var(--mg-radius);
  text-align: left;
}

.mg-expert-dk__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}

.mg-expert-dk__label {
  display: block;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--mg-black);
}

.mg-expert-dk__input,
.mg-expert-dk__textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  border: 1px solid #e3e5ea;
  border-radius: var(--mg-radius);
  background: var(--mg-white);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--mg-black);
  appearance: none;
}

.mg-expert-dk__input {
  height: 40px;
  min-height: 40px;
  padding: 0 12px;
}

.mg-expert-dk__textarea {
  min-height: 80px;
  padding: 10px 12px;
  resize: vertical;
}

.mg-expert-dk__input::placeholder,
.mg-expert-dk__textarea::placeholder {
  color: var(--mg-muted, #5c5854);
  opacity: 0.75;
  font-weight: 600;
}

.mg-expert-dk__input:focus,
.mg-expert-dk__textarea:focus {
  outline: 2px solid var(--mg-blue-hover, #2b8ed9);
  outline-offset: 1px;
  border-color: var(--mg-blue-link, #0062ad);
}

.mg-expert-dk__form-check {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 2px 0 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--mg-black);
  cursor: pointer;
}

.mg-expert-dk__form-check input {
  position: absolute;
  opacity: 0;
  width: 18px;
  height: 18px;
  margin: 0;
  cursor: pointer;
}

.mg-expert-dk__form-check-indicator {
  box-sizing: border-box;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 1.5px solid var(--mg-black);
  border-radius: 3px;
  background: var(--mg-white);
}

.mg-expert-dk__form-check input:checked + .mg-expert-dk__form-check-indicator {
  border-color: var(--mg-blue-link);
  background-color: var(--mg-blue-link);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' d='M1.5 5.2 4.6 8.2 10.5 1.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.mg-expert-dk__form-check input:focus-visible + .mg-expert-dk__form-check-indicator {
  outline: 2px solid var(--mg-blue-hover);
  outline-offset: 2px;
}

.mg-expert-dk__form-check-text {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--mg-black);
}

.mg-page-experts-daniil .mg-expert-dk__form-check-text a {
  color: var(--mg-blue-link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mg-page-experts-daniil .mg-expert-dk__form-check-text a:hover {
  color: var(--mg-blue-hover);
}

.mg-expert-dk__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.mg-expert-dk__form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.mg-expert-dk__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 200px;
  min-height: 52px;
  padding: 12px 28px;
  border: 2px solid var(--mg-blue, #0062ad);
  border-radius: var(--mg-radius);
  background: var(--mg-blue, #0062ad);
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
  cursor: pointer;
}

.mg-expert-dk__submit:hover,
.mg-expert-dk__submit:focus-visible {
  background: var(--mg-blue-hover, #2b8ed9);
  border-color: var(--mg-blue-hover, #2b8ed9);
  color: #fff;
}

.mg-expert-dk__form-msg {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.mg-expert-dk__form-msg--success {
  color: var(--mg-blue-link);
}

.mg-expert-dk__form-msg--error {
  color: #b00020;
}

@media (max-width: 900px) {
  .mg-expert-dk__hero-grid {
    align-items: start;
  }

  .mg-expert-dk__hero-grid,
  .mg-expert-dk__about-grid,
  .mg-expert-dk__projects,
  .mg-expert-dk__quotes,
  .mg-expert-dk__stats,
  .mg-expert-dk__videos,
  .mg-expert-dk__materials,
  .mg-expert-dk__press {
    grid-template-columns: 1fr;
  }

  .mg-expert-dk__quotes li:nth-child(3) {
    margin-top: 0;
  }

  .mg-expert-dk__h2-nowrap {
    white-space: normal;
  }

  .mg-expert-dk__contact .mg2-section-head h2 {
    white-space: nowrap;
  }

  .mg-expert-dk__hero-photo {
    max-width: 360px;
  }
}

@media (max-width: 640px) {
  .mg-expert-dk .mgig-btn {
    width: 100%;
    min-height: 52px;
    padding: 0 28px;
    font-size: 20px;
  }

  .mg-expert-dk__press-dl .mgig-btn {
    width: auto;
    min-height: 44px;
    font-size: 16px;
  }

  .mg-expert-dk__form {
    padding: 20px 16px;
  }

  .mg-expert-dk__submit {
    width: 100%;
  }

  .mg-expert-dk__cta-row {
    flex-direction: column;
    align-items: stretch;
  }
}
