/* Один журнальный шаблон для образования, математики и IT. */
.journal-section{position:relative}
.journal-section>.section-heading{padding-right:235px;margin-bottom:16px}
.journal-section>.section-heading .section-icon{display:none}
.journal-section>.section-heading h2{font-size:clamp(31px,3.5vw,44px)}
.journal-statement{max-width:850px;margin:0 0 30px;font-size:17px;line-height:1.8;color:#657772}
.journal-statement a{text-decoration:underline;text-decoration-style:dotted;text-decoration-color:#cbd6c7;text-underline-offset:5px}
.journal-statement a:hover{color:#164b50;text-decoration-color:#d99c67}.journal-statement a>span{font-size:14px;color:#bc895b}
.journal-doodle{position:absolute;right:0;top:61px;width:214px;height:130px;color:#809385;opacity:.7;pointer-events:none}
.journal-doodle svg{width:100%;height:90px;stroke:currentColor;stroke-width:.9;stroke-linejoin:round;stroke-linecap:round}
.journal-doodle .handwritten{display:block;margin:0 8px 2px 0;text-align:right;font-size:20px;line-height:1.15;transform:rotate(-7deg)}
.journal-doodle-math{top:50px}
#education-cards.journal-overview,#math-cards.journal-overview{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:30px;align-items:stretch;margin-bottom:33px}
.journal-feature{display:flex;align-items:center;justify-content:space-between;gap:18px;min-width:0;min-height:100px;padding:15px 22px;border:1px solid #f1ddc8;border-radius:16px;background:#fcebd8;transition:background .18s,border-color .18s}
.journal-feature:hover{background:#f9e3cb;border-color:#dab892}
.journal-feature-main{display:grid;grid-template-columns:44px minmax(0,1fr);align-content:center;align-items:center;column-gap:15px;min-width:0}
.journal-brand{grid-column:1/-1;width:150px;height:43px;object-fit:contain;object-position:left center}
.journal-feature-main h3{grid-column:2;font-size:21px;line-height:1.2;letter-spacing:-.035em;margin:0 0 5px}
.journal-feature-main p{grid-column:2;margin:0;font-size:11px;line-height:1.6;color:#7b8271}
.journal-feature-main .journal-brand+p{grid-column:1/-1;margin-top:3px}
.journal-feature-icon{grid-column:1;grid-row:1/3;color:#2d6668}.journal-feature-icon svg{width:43px;height:43px;stroke-width:1.35}
.journal-feature-arrow{flex-shrink:0;font-size:11px;white-space:nowrap}.journal-feature-arrow svg{width:23px;height:23px}
.journal-facts{display:grid;grid-template-columns:repeat(var(--fact-count),minmax(0,1fr));align-content:center;align-items:stretch;min-width:0}
.journal-fact{position:relative;display:flex;flex-direction:column;justify-content:flex-start;min-width:0;min-height:87px;padding:6px 17px;border-left:1px solid #e8dfd1;transition:color .18s}
.journal-fact:first-child{border-left:0;padding-left:0}.journal-fact:last-child{padding-right:0}
.journal-fact strong{font-size:31px;line-height:1.15;letter-spacing:-.04em;font-weight:800;padding-right:9px}
.journal-fact-label{font-size:12px;line-height:1.5;margin-top:2px}
.journal-fact small{font-size:10px;line-height:1.6;color:#7b847d;margin-top:3px}
.journal-fact-arrow{position:absolute;top:8px;right:5px;color:#9aaa96;opacity:.65}.journal-fact-arrow svg{width:12px;height:12px}
.journal-fact:hover{color:#b97843}.journal-fact:hover .journal-fact-arrow{opacity:1}
.journal-section .journal-stories-heading{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:15px;margin:0 0 16px}
.journal-stories-heading h3{font-size:20px;line-height:1.3;margin:0;letter-spacing:-.035em}
.journal-count{font-size:11px;color:#7b847d;white-space:nowrap}
.journal-stories-heading .carousel-controls{gap:7px}.journal-stories-heading .carousel-controls button{width:33px;height:33px;background:#fff7eb;border-color:#e4dfd2}
.journal-stories-heading .carousel-controls button:not(:disabled):hover{background:#164b50;color:#fff9ef;border-color:#164b50}
.journal-stories-heading .carousel-controls button:disabled{opacity:.35}
.journal-stories-heading .carousel-controls[hidden]{display:none}
#education .journal-stories,#math .journal-stories{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - (var(--journal-columns) - 1) * 18px) / var(--journal-columns));gap:18px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;padding:0 1px 12px;scrollbar-width:thin;scrollbar-color:#d4ddce transparent}
.journal-story{position:relative;display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #e5e6da;border-radius:16px;background:#fffbf3;scroll-snap-align:start;transition:border-color .18s,box-shadow .18s}
.journal-story:hover{border-color:#d7b18a;box-shadow:0 5px 16px #294f4708}
.journal-story-image{position:relative;aspect-ratio:2.15;overflow:hidden;flex-shrink:0;background:#edf1e5}
.journal-story-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.journal-story-image img[src*="asi-regional-network"]{object-fit:contain;background:#edf3e7}
.journal-story-image img[src*="project-cto-yandex-announcement"]{object-fit:contain;background:#2860fb}
.journal-story-image img[src*="case-team-cup"]{object-fit:cover;object-position:50% 0%;background:#eee1c8}
.journal-story-image img[src*="microsoft-case-competition"]{object-position:50% 29%}
.journal-story-copy{position:relative;flex:1;min-height:92px;padding:14px 52px 17px 15px}
.journal-story-copy h4{margin:0 0 7px;font-size:17px;line-height:1.3;font-weight:800;letter-spacing:-.035em}
.journal-story-copy p{margin:0;font-size:11px;line-height:1.65;color:#76817a}
.journal-story-arrow{position:absolute;right:14px;bottom:16px;display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:#fbead5;color:#164b50}
.journal-story-arrow svg{width:18px;height:18px}
.journal-section .journal-more-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:18px 0 15px;padding-top:21px;border-top:1px solid #e3e4d9}
.journal-more-heading h3{font-size:16px;line-height:1.4;margin:0;letter-spacing:-.03em}.journal-more-heading>span{font-size:10px;color:#7b847d}
#education-more-cards.journal-more-grid,#math-more-cards.journal-more-grid{display:grid;grid-template-columns:repeat(var(--journal-extras),minmax(0,1fr));gap:18px;align-items:start}
.journal-more-story{display:grid;grid-template-columns:56px minmax(0,1fr) 19px;gap:11px;align-items:center;min-width:0;min-height:66px;border-radius:10px;transition:background .18s}
.journal-more-story:hover{background:#f4efdf}
.journal-more-thumb{display:block;width:56px;height:66px;border-radius:10px;overflow:hidden;background:#edf1e5}
.journal-more-thumb img{width:100%;height:100%;object-fit:cover}
.journal-more-thumb img[src$=".svg"],.journal-more-thumb img[src*="gsea-award"],.journal-more-thumb img[src*="phoenix-dragon-talisman"]{object-fit:contain}
.journal-more-thumb img[src*="mfl-logo"]{object-fit:contain;background:#200957;padding:5px}
.journal-mini-icon{display:grid;place-items:center;width:100%;height:100%;color:#b8844c;background:#f6e8d5}.journal-mini-icon svg{width:29px;height:29px;stroke-width:1.2}
.journal-more-copy{min-width:0}.journal-more-copy h4{font-size:12px;line-height:1.45;font-weight:800;letter-spacing:-.025em;margin:0 0 5px}
.journal-more-copy small{display:block;font-size:9px;line-height:1.6;color:#7b847d}
.journal-more-arrow{display:grid;place-items:center;width:19px;height:19px;border-radius:50%;background:#fce9cf}.journal-more-arrow svg{width:12px;height:12px}
#math.journal-section{margin-top:47px;padding-top:62px;border-top:1px solid #dedfd3}
@media(max-width:1100px){
 #education-cards.journal-overview,#math-cards.journal-overview{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:23px}
 .journal-feature{padding-inline:17px;gap:12px}.journal-feature-main{column-gap:11px}.journal-feature-main h3{font-size:19px}
 .journal-fact{padding-inline:13px}.journal-fact strong{font-size:28px}.journal-fact small{font-size:9px}
 #education-more-cards.journal-more-grid,#math-more-cards.journal-more-grid{gap:13px}
 .journal-more-story{grid-template-columns:47px minmax(0,1fr) 16px;gap:8px}.journal-more-thumb{width:47px;height:61px}.journal-more-arrow{width:16px;height:16px}
 .journal-story-copy h4{font-size:16px}
}
@media(max-width:900px){
 .journal-doodle{display:none}.journal-section>.section-heading{padding-right:0}
 #education-cards.journal-overview,#math-cards.journal-overview{grid-template-columns:1fr;gap:17px;margin-bottom:27px}
 .journal-feature{min-height:89px}.journal-feature-main .journal-brand{height:37px}.journal-feature-main h3{font-size:21px}
 .journal-facts{padding:0 6px}.journal-fact{min-height:72px;padding:1px 25px}.journal-fact strong{font-size:30px}.journal-fact small{font-size:10px}
 #education-more-cards.journal-more-grid,#math-more-cards.journal-more-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 24px}
 .journal-more-story{grid-template-columns:55px minmax(0,1fr) 20px;gap:12px}.journal-more-thumb{width:55px;height:64px}.journal-more-copy h4{font-size:13px}.journal-more-copy small{font-size:10px}
 .journal-more-arrow{width:20px;height:20px}
}
@media(max-width:760px){
 .journal-section>.section-heading h2{font-size:33px}.journal-statement{font-size:15px;line-height:1.85;margin-bottom:23px}
 .journal-stories-heading h3{font-size:18px}
 #education .journal-stories,#math .journal-stories{grid-auto-columns:78%;gap:15px}
 .journal-story-image{height:195px}.journal-story-copy{min-height:88px}.journal-story-copy h4{font-size:18px}
 #math.journal-section{margin-top:32px;padding-top:45px}
}
@media(max-width:480px){
 .journal-section>.section-heading{margin-bottom:13px}.journal-section>.section-heading h2{font-size:30px;line-height:1.17}
 .journal-statement{font-size:13px;line-height:1.9;margin-bottom:23px}
 .journal-feature{padding:15px 17px;border-radius:15px}.journal-feature-main h3{font-size:20px}.journal-feature-main p{font-size:11px}.journal-feature-icon svg{width:38px;height:38px}
 .journal-brand{width:143px}.journal-feature-arrow{font-size:11px}
 .journal-facts{padding:0}.journal-fact{padding:0 13px;min-height:77px}.journal-fact strong{font-size:27px}.journal-fact-label{font-size:11px}.journal-fact small{font-size:9px;line-height:1.6}.journal-fact-arrow{right:2px;top:1px}
 .journal-section .journal-stories-heading{grid-template-columns:minmax(0,1fr) auto;column-gap:13px;row-gap:7px;margin-bottom:14px}
 .journal-stories-heading h3{font-size:18px}.journal-count{grid-column:1;grid-row:2;font-size:10px}.journal-stories-heading .carousel-controls{grid-column:2;grid-row:1/3;gap:5px}.journal-stories-heading .carousel-controls button{width:30px;height:30px}
 #education .journal-stories,#math .journal-stories{grid-auto-columns:88%;gap:13px;padding-bottom:11px}
 .journal-story-image{height:174px}.journal-story-copy{padding:13px 48px 15px 14px;min-height:92px}.journal-story-copy h4{font-size:17px}.journal-story-copy p{font-size:10px;line-height:1.7}.journal-story-arrow{right:12px;bottom:15px;width:29px;height:29px}
 .journal-section .journal-more-heading{padding-top:19px;margin-top:14px}.journal-more-heading h3{font-size:15px}
 #education-more-cards.journal-more-grid,#math-more-cards.journal-more-grid{gap:14px 13px}
 .journal-more-story{grid-template-columns:41px minmax(0,1fr) 15px;gap:7px;min-height:62px}.journal-more-thumb{width:41px;height:58px;border-radius:8px}.journal-mini-icon svg{width:25px;height:25px}.journal-more-copy h4{font-size:12px;line-height:1.4;margin-bottom:4px}.journal-more-copy small{font-size:9px;line-height:1.65}.journal-more-arrow{width:15px;height:15px}.journal-more-arrow svg{width:10px;height:10px}
 #math.journal-section{margin-top:33px;padding-top:39px}
}
@media(prefers-reduced-motion:reduce){.journal-feature,.journal-story,.journal-fact,.journal-more-story{transition:none}}
