/* ASPO / Personal Digital Certificate, page 2681. Scoped to this page only. */
#pl-2681 { color:#29445c; font-size:18px; line-height:1.32; }
#pl-2681, #pl-2681 * { box-sizing:border-box; }
#pl-2681 > .panel-grid { min-width:0; }
#pl-2681 > .panel-grid:not(#pg-2681-0) { width:100%; max-width:1140px; margin-left:auto; margin-right:auto; }
#pl-2681 .panel-grid-cell { min-width:0; }

/* Hero: edge to edge, preserving natural 1920x600 proportions. */
#pl-2681 > #pg-2681-0 { width:100vw !important; max-width:none !important; margin-left:calc(50% - 50vw) !important; margin-right:0 !important; padding:0 !important; }
#pl-2681 #pg-2681-0 > .panel-row-style { width:100% !important; max-width:none !important; margin:0 !important; padding:0 !important; display:block !important; }
#pl-2681 #pg-2681-0 .panel-grid-cell, #pl-2681 #pg-2681-0 .sow-image-container { width:100% !important; margin:0 !important; padding:0 !important; }
#pl-2681 #pg-2681-0 img { display:block !important; width:100% !important; max-width:none !important; height:auto !important; margin:0 !important; }
/* Breadcrumbs below the hero. */
#pl-2681 > #pg-2681-1 { margin-top:20px !important; margin-bottom:28px !important; font-size:16px; }
#pl-2681 > #pg-2681-1 a { text-decoration:underline; }
/* The wide blue certificate poster. */
#pl-2681 > #pg-2681-2 { margin-bottom:30px !important; }
#pl-2681 #pg-2681-2 img { display:block; width:100%; max-width:1100px; height:auto; margin:0 auto; }

/* Distinct light-blue informational panels, as on the original. */
#pl-2681 > :is(#pg-2681-3,#pg-2681-4,#pg-2681-5,#pg-2681-6,#pg-2681-7) {
  background:#bce9f2 !important; padding:24px 20px 30px !important; margin-bottom:28px !important;
  display:block !important; width:100% !important;
}
#pl-2681 > :is(#pg-2681-3,#pg-2681-4,#pg-2681-5,#pg-2681-6,#pg-2681-7) > .panel-row-style {
  background:transparent !important; width:100% !important; max-width:none !important;
  margin:0 !important; padding:0 !important; display:block !important;
}
#pl-2681 > :is(#pg-2681-3,#pg-2681-4,#pg-2681-5,#pg-2681-6,#pg-2681-7) > .panel-row-style > .panel-grid-cell {
  width:100% !important; max-width:100% !important; flex:none !important; display:block !important;
}
#pl-2681 :is(#pg-2681-3,#pg-2681-4,#pg-2681-5,#pg-2681-7,#pg-2681-8,#pg-2681-9) .sow-headline {
  font-size:28px !important; font-weight:400 !important; line-height:1.25 !important;
  text-align:center !important; color:#194b7b !important; margin:0 0 30px !important;
}
#pl-2681 #pg-2681-8 .sow-headline { margin-bottom:26px !important; }
#pl-2681 #pg-2681-9 .sow-headline { margin:24px 0 28px !important; }
#pl-2681 .textwidget { font-size:20px; line-height:1.27; color:#29445c; }
#pl-2681 .textwidget p { margin:0 0 19px; }
#pl-2681 .textwidget p:last-child { margin-bottom:0; }
/* First, second and fourth panels: floated artwork with natural text wrap. */
#pl-2681 :is(#pg-2681-3,#pg-2681-4,#pg-2681-6) .textwidget p:first-child > img:first-child {
  display:block !important; float:left !important; clear:none !important; position:static !important;
  width:216px !important; max-width:35% !important; height:auto !important;
  margin:0 20px 15px 20px !important; object-fit:contain;
}
#pl-2681 :is(#pg-2681-3,#pg-2681-4,#pg-2681-6) .textwidget::after { content:""; display:block; clear:both; }
/* Three columns: artwork + two uninterrupted lists of 24 regions. */
#pl-2681 #pg-w6063067a802a3-0 {
  width:100% !important; display:grid !important;
  grid-template-columns:minmax(180px,28%) minmax(0,1fr) minmax(0,1fr) !important;
  gap:26px !important; align-items:start !important;
}
#pl-2681 #pg-w6063067a802a3-0 > .panel-grid-cell { width:auto !important; max-width:none !important; flex:none !important; }
#pl-2681 #pg-w6063067a802a3-0 p { font-size:19px !important; line-height:1.29 !important; margin:0 !important; }
#pl-2681 #pgc-w6063067a802a3-0-0 img { display:block; max-width:100%; width:235px; height:auto; margin:0 auto; }
/* How to register: illustration on left, steps on right. */
#pl-2681 #pg-w606305aa0a18f-0 { display:grid !important; width:100% !important; grid-template-columns:minmax(180px,27%) minmax(0,1fr) !important; gap:30px !important; align-items:start !important; }
#pl-2681 #pg-w606305aa0a18f-0 > .panel-grid-cell { width:auto !important; max-width:none !important; flex:none !important; }
#pl-2681 #pgc-w606305aa0a18f-0-0 img { width:235px !important; max-width:100% !important; height:auto !important; margin:0 auto !important; display:block !important; }
#pl-2681 #pg-2681-7 ol { font-size:20px; padding-left:1.3em; margin:0; }
#pl-2681 #pg-2681-7 li { margin:0 0 2px; line-height:1.25; }
/* Linked program poster and centered contacts. */
#pl-2681 #pg-2681-8 { text-align:center; margin:5px auto 26px !important; }
#pl-2681 #pg-2681-8 .sow-headline a { color:#194b7b; text-decoration:underline; }
#pl-2681 #pg-2681-8 img { display:block; width:100%; max-width:1122px; height:auto; margin:0 auto; }
#pl-2681 #pg-2681-9 { text-align:center; padding-bottom:30px; }
#pl-2681 #pg-2681-9 .textwidget { text-align:center !important; }
#pl-2681 #pg-2681-9 .textwidget p { text-align:center !important; font-size:20px !important; }
@media (max-width:850px) {
 #pl-2681 #pg-w6063067a802a3-0 { grid-template-columns:190px minmax(0,1fr) !important; gap:18px !important; }
 #pl-2681 #pgc-w6063067a802a3-0-0 { grid-row:1 / 3; }
 #pl-2681 #pg-w606305aa0a18f-0 { grid-template-columns:190px minmax(0,1fr) !important; gap:18px !important; }
}
@media (max-width:600px) {
 #pl-2681 > :is(#pg-2681-3,#pg-2681-4,#pg-2681-5,#pg-2681-6,#pg-2681-7) { padding:20px 16px !important; }
 #pl-2681 .textwidget { font-size:16px; line-height:1.45; }
 #pl-2681 :is(#pg-2681-3,#pg-2681-4,#pg-2681-5,#pg-2681-7,#pg-2681-8,#pg-2681-9) .sow-headline { font-size:23px !important; }
 #pl-2681 :is(#pg-2681-3,#pg-2681-4,#pg-2681-6) .textwidget p:first-child > img:first-child { width:130px !important; max-width:45% !important; margin:0 14px 10px 0 !important; }
 #pl-2681 #pg-w6063067a802a3-0 { display:block !important; }
 #pl-2681 #pg-w6063067a802a3-0 > .panel-grid-cell { margin-bottom:18px; }
 #pl-2681 #pgc-w6063067a802a3-0-0 img { width:160px; margin:0 auto 15px; }
 #pl-2681 #pg-w6063067a802a3-0 p, #pl-2681 #pg-2681-7 li { font-size:16px !important; }
 #pl-2681 #pg-w606305aa0a18f-0 { display:block !important; }
 #pl-2681 #pg-w606305aa0a18f-0 > .panel-grid-cell { margin-bottom:16px; }
 #pl-2681 #pg-2681-9 .textwidget p { font-size:16px !important; }
}

/* ASPO — Certificate Fix v20.1 */

/* 1. Убираем лишний отступ между меню и баннером */
#pl-2681 #pg-2681-0 {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

#pl-2681 #pg-2681-0 .panel-row-style {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Убираем верхний отступ у контейнера страницы */
#posts:has(#pl-2681),
.post-excerpt:has(#pl-2681) {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* 2. Заголовок «Контакты» по центру */
#pl-2681 #pg-2681-9 {
    width: 100% !important;
    text-align: center !important;
}

#pl-2681 #pg-2681-9 .sow-headline-container,
#pl-2681 #pg-2681-9 .sow-headline {
    text-align: center !important;
}

/* 3. Контактная информация по центру */
#pl-2681 #pg-2681-9 .textwidget,
#pl-2681 #pg-2681-9 .textwidget p {
    width: 100% !important;
    text-align: center !important;
}

/* 4. Центрируем колонку с контактами */
#pl-2681 #pg-2681-9 .panel-grid-cell {
    width: 100% !important;
    max-width: 100% !important;
}
/* ASPO — убираем промежуток между меню и баннером */

/* Внешняя секция страницы */
body:has(#pl-2681) #content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Основные контейнеры */
body:has(#pl-2681) #content > .wrapper,
body:has(#pl-2681) #posts,
body:has(#pl-2681) #posts > .post,
body:has(#pl-2681) .post-excerpt {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Первый блок с баннером */
#pl-2681,
#pl-2681 #pg-2681-0,
#pl-2681 #pg-2681-0 .panel-row-style {
    margin-top: 0 !important;
    padding-top: 0 !important;
}