/* Внешние проекты узнаются по тёплой поверхности, рамке и явному переходу. */
.portal-card{background:#fae4ce!important;border-color:#e4bd96}
.portal-card:hover{border-color:#d69664;background:#f9ddbf!important}
.portal-card-music{background:#e1ead7!important;border-color:#b6cba8}
.portal-card-music:hover{background:#d8e5cc!important;border-color:#98b68b}
.portal-badge{font-size:9px;line-height:1.4;white-space:nowrap;font-weight:800;border-radius:99px;background:#fffaf1;padding:6px 9px;color:#855b39;margin-top:3px}
.portal-card-music .portal-badge{color:#46693d}
.external-arrow{font-size:25px;line-height:1}
.portal-card .card-open{color:#785738;font-weight:800}
.portal-card-music .card-open{color:#46693d}
.card-teaser{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
#education-cards{grid-template-columns:repeat(6,minmax(0,1fr))}
#education-cards>.story-card{grid-column:span 2}
#education-cards>.story-card:nth-child(n+4){grid-column:span 2}
#education-cards .card-photo{height:174px;object-position:50% 20%}
#education-cards>.story-card:nth-child(5) .card-content{justify-content:center;min-height:310px}
.modal-visual:has(img[src*="gsea-award"]){height:360px}
.modal-visual>img[src*="gsea-award"]{object-fit:contain;background:#080e0e}
[hidden]{display:none!important}
#music-cards{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1100px){#music-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){#music-cards{grid-template-columns:1fr}}

/* Оглавление остаётся навигационной панелью при чтении страницы. */
:root{--nav-height:74px}
.contents-intro{display:flex;align-items:baseline;justify-content:space-between;gap:20px;padding-top:8px;padding-bottom:18px}
.contents-intro h2{font-size:29px;letter-spacing:-.045em}
.contents-intro p{font-size:12px;line-height:1.7;color:var(--muted)}
.section-nav{transition:box-shadow .2s ease}
.section-nav.is-stuck{box-shadow:0 7px 20px #164b5009}
.section-nav-inner{display:grid;grid-template-columns:100px minmax(0,1fr);gap:20px;overflow:visible}
.section-nav-label{display:flex;align-items:center;gap:10px;color:#7c715c;font-size:9px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}
.section-nav-label svg{width:19px;height:19px;color:#cc8b5d;stroke-width:1.4}
.section-nav-links{display:flex;position:relative;min-width:0;gap:2px;padding:4px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;border-radius:99px;background:#eef2e7;isolation:isolate}
.section-nav-links::-webkit-scrollbar{display:none}
.section-nav a{display:flex;align-items:center;justify-content:center;gap:8px;position:relative;flex:1 0 auto;z-index:1;font-size:11px;line-height:1.7;padding:10px 14px;border:0;background:transparent;transition:color .2s,background .2s}
.section-nav a:hover{background:#dfe8d8}
.section-nav a[aria-current=true]{color:#fffaf0;background:transparent;border-color:transparent}
.section-nav a[aria-current=true]:hover{background:transparent}
.toc-number{font-size:9px;font-weight:700;color:#8d9b87;font-variant-numeric:tabular-nums;transition:color .2s}
.section-nav a[aria-current=true] .toc-number{color:#f1bc8b}
.section-nav-indicator{position:absolute;left:0;top:4px;height:calc(100% - 8px);background:#20595b;border-radius:99px;opacity:0;pointer-events:none;transition:transform .28s ease,width .28s ease,opacity .2s}
.section-nav-indicator.is-visible{opacity:1}
@media(max-width:1100px){.section-nav-inner{grid-template-columns:86px minmax(0,1fr);gap:12px}.section-nav a{padding-inline:12px;font-size:10px}}
@media(max-width:760px){:root{--nav-height:66px}.contents-intro{display:block;padding-top:10px;padding-bottom:15px}.contents-intro h2{font-size:25px;margin-bottom:8px}.contents-intro p{font-size:11px}.section-nav-inner{width:calc(100% - 38px);padding-inline:0;grid-template-columns:70px minmax(0,1fr);gap:8px}.section-nav-label{font-size:8px;letter-spacing:.03em;gap:6px}.section-nav-label svg{width:16px;height:16px}.section-nav a{font-size:10px;padding:9px 12px;gap:7px}.toc-number{font-size:8px}}
@media(prefers-reduced-motion:reduce){.section-nav,.section-nav a,.section-nav-indicator,.toc-number{transition:none}}

#education-cards .card-photo[src*="phoenix-dragon-talisman"]{height:225px;object-fit:contain;object-position:center;background:#15525c}
.modal-visual:has(img[src*="phoenix-dragon-talisman"]){height:auto;max-height:none}
.modal-visual>img[src*="phoenix-dragon-talisman"]{height:auto;max-height:570px;object-fit:contain;background:#15525c}
@media(max-width:480px){#education-cards .card-photo[src*="phoenix-dragon-talisman"]{height:170px}.modal-visual>img[src*="phoenix-dragon-talisman"]{max-height:420px}}
@media(max-width:760px){#education-cards{grid-template-columns:repeat(2,minmax(0,1fr))}#education-cards>.story-card,#education-cards>.story-card:nth-child(n+4){grid-column:span 1}#education-cards>.story-card:last-child{grid-column:span 2}#education-cards>.story-card:nth-child(5) .card-content{min-height:190px}#education-cards .card-photo{height:165px}.portal-badge{font-size:8px;padding:5px 7px}}
@media(max-width:480px){.portal-card .card-topline{flex-wrap:wrap;gap:9px;margin-bottom:15px}.portal-badge{font-size:7px;padding:4px 6px;letter-spacing:0}.music-section .portal-card .card-content{display:flex;padding:22px;position:relative}.music-section .portal-card .card-topline{display:flex;width:100%;justify-content:space-between;flex-wrap:nowrap;margin-bottom:19px}.music-section .portal-card .card-topline .portal-badge{font-size:9px;padding:6px 9px}.music-section .portal-card .card-title{font-size:22px}.music-section .portal-card .card-teaser{font-size:12px;max-width:280px;margin-bottom:18px}.music-section .portal-card .card-bottom{display:flex;width:100%}.music-section .portal-card .card-open{display:block;font-size:11px}.music-section .portal-card .card-arrow{width:30px}.modal-visual:has(img[src*="gsea-award"]){height:240px}#education-cards .card-photo{height:145px}}

@media(max-width:760px){#education-cards>.story-card:last-child{grid-column:span 1}}

.inspiration-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.inspiration-grid>.story-card{grid-column:span 2}.inspiration-grid>.story-card:nth-child(-n+2){grid-column:span 3}.inspiration-grid .card-art{height:164px}.reading-note{margin:26px 0 0;padding:21px 24px;background:#fce6d2;border-radius:15px}.reading-note>span{display:block;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.13em;color:#9a704b;margin-bottom:8px}.modal-copy .reading-note p{font-size:17px!important;color:#6c4b33!important}.inspiration-grid .card-placeholder .card-content{min-height:210px}
@media(max-width:760px){.inspiration-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.inspiration-grid>.story-card,.inspiration-grid>.story-card:nth-child(-n+2){grid-column:span 1}.inspiration-grid>.story-card:last-child{grid-column:span 2}}
@media(max-width:480px){.inspiration-grid>.story-card:nth-child(-n+2){grid-column:span 2}.inspiration-grid .card-art{height:145px}.inspiration-grid .card-content{padding:22px}.inspiration-grid .card-title{font-size:19px}.inspiration-grid .card-teaser{font-size:12px}.inspiration-grid .card-placeholder .card-content{padding:19px 15px;min-height:200px}.inspiration-grid .card-placeholder .card-title{font-size:16px}.inspiration-grid .card-placeholder .card-teaser{font-size:11px}}

.inspiration-grid>.story-card:nth-child(-n+3){grid-column:span 2}.inspiration-grid>.story-card:nth-child(n+4){grid-column:span 3}.inspiration-grid .card-photo{height:200px;object-position:50% 24%}.modal-visual:has(img[src*="the-elders-mandela"]){height:290px}.modal-visual>img[src*="the-elders-mandela"]{object-fit:contain;background:#e9efe2}.modal-visual>img[src*="ecole42-students"]{object-position:50% 35%}
@media(max-width:760px){.inspiration-grid>.story-card:nth-child(-n+3),.inspiration-grid>.story-card:nth-child(n+4){grid-column:span 1}.inspiration-grid>.story-card:nth-child(3){grid-column:span 2}.inspiration-grid>.story-card:last-child{grid-column:span 1}}
@media(max-width:480px){.inspiration-grid>.story-card:nth-child(-n+3){grid-column:span 2}.inspiration-grid .card-photo{height:195px}}

.inspiration-grid .card-photo[src*="daud-mamiy"]{object-position:50% 20%}.inspiration-grid .card-photo[src*="microsoft-world"]{object-position:50% 43%}.modal-visual:has(img[src*="microsoft-world"]){height:auto}.modal-visual>img[src*="microsoft-world"]{height:auto;object-fit:contain}.modal-visual>img[src*="daud-mamiy"]{object-position:50% 20%}
@media(max-width:480px){.inspiration-grid>.story-card:nth-child(4){grid-column:span 2}.inspiration-grid>.story-card:last-child{grid-column:span 2}.inspiration-grid .card-placeholder .card-content{min-height:180px}}

.project-card .card-photo[src*="phoenix-case-school"]{height:180px;object-fit:contain;background:#eee8d8}.modal-visual:has(img[src*="phoenix-case-school"]){height:auto}.modal-visual>img[src*="phoenix-case-school"]{height:auto;object-fit:contain}

.inspiration-grid .card-photo[src*="cagmo"]{object-position:50% 54%}.modal-visual:has(img[src*="cagmo"]){height:auto}.modal-visual>img[src*="cagmo"]{height:auto;object-fit:contain}

.video-coming-soon{border-style:dashed;border-color:#d4c7ae}.video-coming-soon .video-frame{background:#f7ebd9}.video-coming-soon .video-frame::before{background:#ecd9bf}.video-coming-soon .video-frame::after{background:#e9dfca}.video-placeholder{position:absolute;inset:0;z-index:2;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;color:#9b714e}.video-placeholder svg{height:32px;width:32px;stroke-width:1.2;margin-bottom:2px}.video-placeholder strong{font-size:13px;font-weight:700}.video-placeholder small{font-size:9px;color:#9d896f}.video-coming-soon .video-caption h4{margin-right:0}

.inspiration-grid .card-photo[src*="the-elders-mandela"]{object-fit:contain;background:#e9eee2}

#inspiration-cards>.story-card{grid-column:span 2}.inspiration-grid .card-photo[src*="avatar-aang"]{object-position:50% 55%}.modal-visual:has(img[src*="avatar-aang"]){height:auto}.modal-visual>img[src*="avatar-aang"]{height:auto;object-fit:contain}
@media(max-width:760px){#inspiration-cards>.story-card{grid-column:span 1}}
@media(max-width:480px){#inspiration-cards>.story-card{grid-column:span 2}}

#inspiration-cards{grid-template-columns:repeat(12,minmax(0,1fr))}#inspiration-cards>.story-card:nth-child(n){grid-column:span 3}#inspiration-cards>.story-card:nth-child(-n+3){grid-column:span 4}.modal-visual:has(img[src*="expedition33-art"]){height:auto}.modal-visual>img[src*="expedition33-art"]{height:auto;object-fit:contain}
@media(max-width:760px){#inspiration-cards{grid-template-columns:repeat(2,minmax(0,1fr))}#inspiration-cards>.story-card:nth-child(n){grid-column:span 1}}
@media(max-width:480px){#inspiration-cards>.story-card:nth-child(n){grid-column:span 2}}

.music-philosophy{margin:25px 0 29px;padding:26px 205px 27px 29px;border-radius:22px;background:#eef2e5;color:#36595a;font-size:14px;line-height:1.85}.music-philosophy p+p{margin-top:13px}.music-philosophy .music-philosophy-lead{font-size:20px;line-height:1.65;font-weight:700;color:#164b50;letter-spacing:-.025em}#music-cards{grid-template-columns:repeat(5,minmax(0,1fr))}.music-section .three-columns .card-content{padding:23px 19px}#music-cards .card-title{font-size:17px}.music-section .portal-badge{font-size:8px;padding:5px 7px}
@media(max-width:1100px){#music-cards{grid-template-columns:repeat(2,minmax(0,1fr))}#music-cards>.story-card:last-child{grid-column:span 2}.music-philosophy{padding-right:130px}}
@media(max-width:760px){.music-philosophy{padding:23px 24px}.music-philosophy .music-philosophy-lead{font-size:18px;max-width:90%}.music-philosophy p{font-size:13px}.music-section .fern-hello{top:48px}}
@media(max-width:480px){#music-cards{grid-template-columns:1fr}#music-cards>.story-card:last-child{grid-column:span 1}.music-philosophy{padding:22px 20px;margin-top:23px}.music-philosophy .music-philosophy-lead{font-size:17px;max-width:none}.music-philosophy p{font-size:12px;line-height:1.9}.music-section .fern-hello{top:63px;width:86px}.music-section .three-columns .card-content{padding:22px}#music-cards .card-title{font-size:18px}.music-section .portal-badge{font-size:9px}}

#education-cards{grid-template-columns:repeat(12,minmax(0,1fr))}#education-cards>.story-card:nth-child(n){grid-column:span 4}#education-cards>.story-card:nth-child(-n+4){grid-column:span 3}#education-cards>.story-card:nth-child(5) .card-content{min-height:0}
@media(max-width:760px){#education-cards{grid-template-columns:repeat(2,minmax(0,1fr))}#education-cards>.story-card:nth-child(n){grid-column:span 1}#education-cards>.story-card:last-child{grid-column:span 2}}

#inspiration-cards>.story-card:nth-child(n){grid-column:span 3}.inspiration-grid .card-photo[src*="benjamin-zander"]{object-position:50% 25%}.modal-visual>img[src*="benjamin-zander"]{object-position:50% 24%}.modal-videos{margin-top:31px}.modal-videos>h3{font-size:20px;line-height:1.3;letter-spacing:-.03em;margin-bottom:17px}.modal-videos-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px}.modal-talk{min-width:0}.modal-talk .video-frame{border-radius:14px}.modal-talk h4{font-size:14px;line-height:1.4;margin:14px 0 7px;font-weight:800}.modal-copy .modal-talk p{font-size:11px!important;line-height:1.7!important;margin:0 0 8px!important}.modal-talk>a{font-size:10px;font-weight:700;color:#85633e;text-decoration:underline;text-underline-offset:4px}
@media(max-width:760px){#inspiration-cards>.story-card:nth-child(n){grid-column:span 1}.modal-videos-grid{grid-template-columns:1fr;gap:26px}}
@media(max-width:480px){#inspiration-cards>.story-card:nth-child(n){grid-column:span 2}}

/* Десять историй об образовании и восемь музыкальных историй. */
#education-cards>.story-card:nth-child(n){grid-column:span 4}
#education-cards>.story-card:nth-child(-n+4){grid-column:span 3}
#music-cards{grid-template-columns:repeat(4,minmax(0,1fr))}
#music-cards>.story-card:last-child{grid-column:span 1}
@media(max-width:1100px){#music-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){#education-cards>.story-card:nth-child(n){grid-column:span 1}}
@media(max-width:480px){#music-cards{grid-template-columns:1fr}}

/* Логотип МФЛ целиком, без кадрирования. */
#education-cards .card-photo[src*="mfl-logo"]{height:195px;object-fit:contain;object-position:center;background:#200957;padding:12px}
.modal-visual:has(img[src*="mfl-logo"]){height:320px;background:#200957;padding:20px}
.modal-visual>img[src*="mfl-logo"]{height:100%;width:100%;object-fit:contain}
@media(max-width:480px){#education-cards .card-photo[src*="mfl-logo"]{height:150px;padding:8px}.modal-visual:has(img[src*="mfl-logo"]){height:240px;padding:15px}}

/* Две ссылки на проекты остаются в шапке на телефоне. */
@media(max-width:760px){.header-inner{gap:8px}.header-inner .wordmark{font-size:16px}.header-links{gap:6px;font-size:10px}.header-links .sibling-link{padding:9px 10px}.header-links .sibling-link span{padding-left:4px}}
@media(max-width:360px){.header-inner .wordmark{font-size:14px}.header-links{font-size:9px;gap:5px}.header-links .sibling-link{padding:9px 8px}}

#math-cards .card-photo[src*="case-team-cup"]{height:225px;object-fit:contain;background:#eee1c8}
.modal-visual:has(img[src*="case-team-cup"]){height:auto}
.modal-visual>img[src*="case-team-cup"]{height:auto;object-fit:contain}
@media(max-width:760px){#math-cards>.story-card:nth-child(3){grid-column:span 2}#math-cards>.story-card:last-child{grid-column:span 1}}
@media(max-width:480px){#math-cards .card-photo[src*="case-team-cup"]{height:225px}}
.section-nav a:focus-visible{outline-offset:-3px}

.project-card .card-photo{height:180px;object-fit:cover;object-position:center}
.modal-visual.modal-project{height:auto}
.modal-visual.modal-project>img{height:auto;object-fit:contain}

#math-cards .card-photo[src*="remsh-campus"]{height:225px;object-fit:cover;object-position:50% 30%}
.modal-visual:has(img[src*="remsh-campus"]){height:390px;background:#edf2e5}
.modal-visual>img[src*="remsh-campus"]{height:100%;width:100%;object-fit:contain}
@media(max-width:480px){#math-cards .card-photo[src*="remsh-campus"]{height:155px}.modal-visual:has(img[src*="remsh-campus"]){height:300px}}

#education-cards .card-photo[src*="phoenix-client-logos"]{height:65px;object-fit:contain;padding:8px 16px;background:#fff9ef}
.modal-visual:has(img[src*="phoenix-client-logos"]){height:auto;padding:25px;background:#fff9ef}
.modal-visual>img[src*="phoenix-client-logos"]{height:auto;object-fit:contain}
.project-card .card-photo[src*="project-cto-yandex-announcement"]{object-fit:contain;background:#2860fb}
.modal-visual.modal-project:has(img[src*="project-gazprom-neft-energy"]){padding:23px;background:#edf2e5}
.modal-visual.modal-project>img[src*="project-gazprom-neft-energy"]{width:100%;max-width:640px;margin:auto}
#math-cards .card-photo[src*="microsoft-krylatsky-office"]{height:225px;object-fit:cover;object-position:50% 0%}
.modal-visual:has(img[src*="microsoft-krylatsky-office"]){height:auto}
.modal-visual>img[src*="microsoft-krylatsky-office"]{height:auto;object-fit:contain}
@media(max-width:480px){#education-cards .card-photo[src*="phoenix-client-logos"]{height:65px;padding:8px}#math-cards .card-photo[src*="microsoft-krylatsky-office"]{height:155px}.modal-visual:has(img[src*="phoenix-client-logos"]){padding:18px}.modal-visual.modal-project:has(img[src*="project-gazprom-neft-energy"]){padding:15px}}

/* Более содержательные тизеры проектов читаются целиком. */
.project-card .card-teaser{display:block;-webkit-line-clamp:unset;font-size:12px;line-height:1.75}
@media(max-width:480px){.project-card .card-teaser{font-size:12px;line-height:1.75}}

/* Ключевые факты → проекты → личные истории. */
#education-cards>.story-card:nth-child(n){grid-column:span 3}
#education-cards .card-teaser{display:block;-webkit-line-clamp:unset;font-size:12px;line-height:1.75}
.brand-logo{width:131px;height:41px;object-fit:contain;flex-shrink:0}
.brand-story-card .card-topline{align-items:center;gap:9px}
.brand-story-card .card-title{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.card-tagline{font-size:18px;line-height:1.3;font-weight:800;letter-spacing:-.035em;margin:0 0 12px}
.education-more-heading{margin:48px 0 21px}
.education-more-heading h3{font-size:25px;margin-bottom:10px}
.education-more-heading p{font-size:13px;line-height:1.75;color:var(--muted)}
#education-more-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
#education-more-cards .card-photo{height:185px;object-fit:cover}
#education-more-cards .card-photo[src$=".svg"]{object-fit:contain}
#education-more-cards .card-photo[src*="phoenix-dragon-talisman"]{object-fit:contain;object-position:center;background:#15525c}
#education-more-cards .card-photo[src*="mfl-logo"]{object-fit:contain;padding:15px;background:#200957}
#education-more-cards .card-teaser{display:block;-webkit-line-clamp:unset}
.story-photo-wrap{position:relative;flex-shrink:0}
.media-stat{position:absolute;top:13px;right:13px;z-index:2}
.story-photo-placeholder{min-height:185px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;text-align:center;padding:22px;background:repeating-linear-gradient(135deg,#edf1e7,#edf1e7 15px,#f2f4ea 15px,#f2f4ea 30px);color:#849985;border-bottom:1px dashed #cad5c3}
.story-photo-placeholder>svg{width:35px;height:35px;stroke-width:1.3;margin-bottom:2px}
.story-photo-placeholder strong{font-size:12px;color:#5c7e6a}
.story-photo-placeholder span{font-size:10px;max-width:230px;line-height:1.7}
.modal-visual>.story-photo-placeholder{height:100%;width:100%}
.project-card .card-photo[src*="asi-regional-network"]{object-fit:contain;background:#edf3e7}
.modal-visual>img[src*="educational-dream"],.modal-visual>img[src*="phoenix-metaverse-idea"]{height:auto;object-fit:contain}
.modal-visual:has(img[src*="educational-dream"]),.modal-visual:has(img[src*="phoenix-metaverse-idea"]){height:auto}
#math-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
#math-cards>.story-card:nth-child(n){grid-column:span 1}
#math-cards .card-teaser{display:block;-webkit-line-clamp:unset;font-size:12px;line-height:1.8}
#math-cards .card-title{font-size:19px;line-height:1.3}
#math-cards .card-photo[src*="microsoft-case-competition"]{height:225px;object-fit:cover;object-position:50% 32%}
.modal-visual:has(img[src*="microsoft-case-competition"]){height:auto}
.modal-visual>img[src*="microsoft-case-competition"]{height:auto;object-fit:contain}
@media(max-width:760px){
 #education-cards>.story-card:nth-child(n){grid-column:span 1}
 #education-cards .card-teaser{font-size:11px}
 #education-more-cards,#math-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
 #math-cards>.story-card:nth-child(n){grid-column:span 1}
 .education-more-heading{margin-top:34px}.education-more-heading h3{font-size:23px}
 .brand-logo{width:110px;height:35px}.brand-story-card .card-topline{flex-wrap:wrap;gap:9px;align-items:flex-start}
 .card-tagline{font-size:17px}
}
@media(max-width:480px){
 #education-cards .card-teaser{font-size:10.5px;line-height:1.8}
 .brand-story-card .card-content{padding:19px 15px}.brand-story-card .card-topline{margin-bottom:16px}
 .brand-story-card .portal-badge{font-size:7px;padding:4px 7px}
 #education-more-cards{gap:12px}#education-more-cards .card-content{padding:20px 17px}
 #education-more-cards .card-title{font-size:16px;line-height:1.3}#education-more-cards .card-teaser{font-size:11px;line-height:1.8}
 #education-more-cards .card-photo,.story-photo-placeholder{height:155px;min-height:155px}
 .story-photo-placeholder{padding:16px 12px;gap:7px}.story-photo-placeholder strong{font-size:11px}.story-photo-placeholder span{font-size:9px}
 #math-cards{grid-template-columns:1fr}#math-cards .card-content{padding:22px}
 #math-cards .card-title{font-size:20px}#math-cards .card-teaser{font-size:13px;line-height:1.85}
}

.hobbies-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:760px){.hobbies-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.hobbies-grid>.story-card:last-child{grid-column:span 1}.hobbies-grid>.story-card:last-child .card-content{min-height:0;padding:18px 15px}}

#music-cards .card-teaser,.hobbies-grid .card-teaser{display:block;-webkit-line-clamp:unset}
.hobbies-grid{grid-template-columns:repeat(12,minmax(0,1fr))}
.hobbies-grid>.story-card{grid-column:span 3}
.hobbies-grid>.story-card:nth-child(n+5){grid-column:span 4}
@media(max-width:760px){.hobbies-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hobbies-grid>.story-card:nth-child(n){grid-column:span 1}.hobbies-grid>.story-card:last-child{grid-column:span 2}}
@media(max-width:480px){.hobbies-grid>.story-card:last-child .card-content{padding:22px}.hobbies-grid>.story-card:last-child .card-teaser{font-size:12px;line-height:1.8}}

#education-more-cards{grid-template-columns:repeat(6,minmax(0,1fr))}
#education-more-cards>.story-card{grid-column:span 2}
#education-more-cards>.story-card:nth-child(n+4){grid-column:span 3}
#dreams-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
#dreams-cards .card-photo,#dreams-cards .card-art{height:180px}
#dreams-cards .card-photo{object-fit:contain;background:#f8e6d2}
#dreams-cards .card-teaser{display:block;-webkit-line-clamp:unset}
#dreams-cards .card-placeholder .card-art{opacity:.55}
#dreams-cards .card-placeholder .card-art::before,#dreams-cards .card-placeholder .card-art::after{opacity:.35}
@media(max-width:760px){#education-more-cards,#dreams-cards{grid-template-columns:repeat(2,minmax(0,1fr))}#education-more-cards>.story-card:nth-child(n){grid-column:span 1}#education-more-cards>.story-card:last-child{grid-column:span 2}}
@media(max-width:480px){#dreams-cards .card-content{padding:19px 15px}#dreams-cards .card-title{font-size:17px;line-height:1.3}#dreams-cards .card-teaser{font-size:11px;line-height:1.8}#dreams-cards .card-photo,#dreams-cards .card-art{height:145px}}

#cooking-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
#cooking-cards .card-photo{height:195px;object-fit:cover}
@media(max-width:760px){#cooking-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){#cooking-cards .card-photo{height:155px}}

.modal-visual.modal-food{height:auto;max-height:460px;background:#f3ecdd}
.modal-visual.modal-food>img{height:auto;max-height:460px;object-fit:contain;background:#f3ecdd}
#cooking-cards .card-photo[src*="food-palak-paneer"]{object-position:50% 58%}
#cooking-cards .card-photo[src*="food-baked-dorado"]{object-position:55% 50%}

#inspiration-cards>.story-card[data-story="my-parents"]{grid-column:1/-1;display:grid;grid-template-columns:1fr 2fr}
#inspiration-cards [data-story="my-parents"] .story-photo-placeholder{height:100%;min-height:210px;border-bottom:0;border-right:1px dashed #cad5c3}
@media(max-width:480px){#inspiration-cards>.story-card[data-story="my-parents"]{display:flex}#inspiration-cards [data-story="my-parents"] .story-photo-placeholder{height:175px;min-height:175px;border-right:0;border-bottom:1px dashed #cad5c3}}
