/* Collection editorial layout: existing Course Story, real artwork, original access controls. */
.ycf-course-story.ycf-story-collection{--ycf-page:1080px;--ycf-frame:1180px;--ycf-story-panel:#f6f6f2;--ycf-story-ink:#20323c;--ycf-story-line:#d9dfdc}
.ycf-story-collection .ycf-story-main{background:#f6f6f2;color:#20323c}
.ycf-story-collection .ycf-collection-hero{display:flex;flex-direction:column;min-width:0;background:#142630}
.ycf-story-collection .ycf-collection-hero>figure{order:-1;position:relative;margin:0;min-width:0;width:100%;background:#10191e}
.ycf-story-collection .ycf-collection-cover{display:block;width:100%;height:auto;max-height:560px;object-fit:contain;margin:0}
.ycf-story-collection .ycf-collection-intro{min-width:0;padding:46px 64px 48px;max-width:100%}
.ycf-story-collection .ycf-story-hero h1{font-family:inherit;font-size:clamp(28px,3.6vw,44px);line-height:1.3;letter-spacing:0!important;color:#fff;margin:14px 0 0}
.ycf-story-collection .ycf-collection-subtitle{color:#c6e8df;font-size:21px;line-height:1.6;margin:18px 0 0}
.ycf-story-collection .ycf-story-lead{color:#c8d2d3;font-size:16px;line-height:1.9;margin:16px 0;max-width:780px}
.ycf-story-collection .ycf-collection-focus{font-size:13px;line-height:1.7;color:#97bcbf;margin:0}
.ycf-story-collection .ycf-collection-nav{display:flex;gap:28px;flex-wrap:wrap;margin-top:24px}
.ycf-story-collection .ycf-collection-nav a{color:#fff;font-size:14px;text-decoration:none;border-bottom:1px solid #819fa4;padding:8px 0}
.ycf-story-collection .ycf-course-consultation{margin:32px 64px 0;border-radius:8px}
.ycf-story-collection :is(.ycf-collection-directory,.ycf-collection-learning,.ycf-collection-watch,.ycf-collection-original){padding:64px;margin:0;background:#f6f6f2;border:0;border-radius:0;color:#20323c;box-sizing:border-box;max-width:none}
.ycf-story-collection :is(.ycf-collection-learning,.ycf-collection-watch,.ycf-collection-original){border-top:1px solid #dce1de}
.ycf-story-collection :is(.ycf-collection-directory,.ycf-collection-learning,.ycf-collection-watch,.ycf-collection-original) :is(h2,h3,h4,p,summary,li,strong,span){color:#20323c}
.ycf-story-collection :is(.ycf-collection-directory,.ycf-collection-learning,.ycf-collection-watch) a{color:#08677e}
.ycf-story-collection :is(.ycf-collection-directory,.ycf-collection-learning,.ycf-collection-watch) h2{font-size:clamp(24px,2.8vw,32px);font-weight:700;line-height:1.4;margin:0 0 16px}
.ycf-story-collection p{line-height:1.85}
.ycf-story-collection .ycf-collection-eyebrow{font-size:11px;letter-spacing:.15em;color:#52777b;margin:0 0 14px}
.ycf-collection-heading>p:last-child{font-size:15px;color:#58696b!important;max-width:720px}
.ycf-collection-cases{display:block;margin:40px 0 0}
.ycf-editorial-case{min-width:0;overflow-wrap:anywhere;padding:42px 0 50px;border-top:1px solid #cfd8d4}
.ycf-editorial-case>header{display:flex;gap:22px;align-items:baseline;margin-bottom:28px}
.ycf-editorial-case>header>div{min-width:0}
.ycf-story-collection .ycf-case-number{font-size:38px;color:#779b99!important;line-height:1;font-variant-numeric:tabular-nums;font-weight:300;flex:0 0 2ch;white-space:nowrap}
.ycf-story-collection .ycf-editorial-case h3{margin:0;font-size:clamp(22px,2.3vw,28px);line-height:1.5}
.ycf-story-collection .ycf-collection-status{margin:5px 0 0;font-size:13px;color:#596f71!important}
.ycf-case-spread{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:40px;align-items:center}
.ycf-editorial-case:nth-child(even) .ycf-case-spread>figure{order:2}
.ycf-case-spread figure{margin:0;min-width:0}
.ycf-case-spread figure>a{display:block;background:#e4e8e4;overflow:hidden}
.ycf-case-spread figure img{display:block;width:100%;height:auto;min-height:240px;max-height:640px;object-fit:contain;margin:0}
.ycf-case-spread figcaption{padding:12px 0 0;font-size:12px;line-height:1.7;color:#6c7c7c}
.ycf-collection-case-copy{min-width:0}
.ycf-story-collection .ycf-collection-case-copy h4{font-size:22px;line-height:1.55;margin:0 0 16px;font-weight:650}
.ycf-collection-case-copy>p{font-size:15px;margin:12px 0}
.ycf-story-collection .ycf-case-points-label{font-size:12px;color:#68817d!important;margin:25px 0 12px}
.ycf-case-points{list-style:none;counter-reset:case-point;padding:0!important;margin:0!important;border-top:1px solid #d8dfd9}
.ycf-case-points li{counter-increment:case-point;display:flex;gap:18px;align-items:center;padding:13px 0;border-bottom:1px solid #d8dfd9;font-size:14px;line-height:1.6;margin:0!important}
.ycf-case-points li:before{content:counter(case-point,decimal-leading-zero);font-size:11px;color:#78938b;flex:0 0 20px}
.ycf-case-link{display:inline-block;padding:12px 0 6px;margin-top:16px;font-size:14px;font-weight:600;border-bottom:1px solid #9db7b3;text-decoration:none!important}
.ycf-editorial-case.without-art .ycf-case-spread{display:block}
.ycf-editorial-case.without-art .ycf-collection-case-copy{display:grid;grid-template-columns:1fr 1fr;column-gap:36px;align-items:start}
.ycf-editorial-case.without-art .ycf-case-points{grid-column:2;grid-row:1/5}
.ycf-editorial-case.without-art .ycf-case-points-label{display:none}
.ycf-collection-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:24px;margin:30px 0}
.ycf-collection-gallery figure{margin:0;background:#e4e8e4}
.ycf-collection-gallery img{display:block;width:100%;height:auto;max-height:780px;object-fit:contain;margin:0}
.ycf-collection-art-study,.ycf-contact-sheet{border-top:1px solid #cfd8d4;padding:44px 0 20px}
.ycf-contact-panels{display:grid;gap:14px;margin-top:28px}
.ycf-contact-panels--4{grid-template-columns:repeat(4,minmax(0,1fr))}
.ycf-contact-panels--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.ycf-contact-panels figure{margin:0;min-width:0}
.ycf-contact-panels figure a{display:block;position:relative;overflow:hidden;background:#222}
.ycf-contact-panels img{position:absolute;inset:0;display:block;width:100%;height:100%!important;max-height:none;object-fit:cover;margin:0}
.ycf-contact-panels--4 figure a{aspect-ratio:11383/18000}
.ycf-contact-panels--3 figure a{aspect-ratio:7000/6600}
.ycf-contact-panels figcaption{font-size:12px;color:#5f7472;padding:10px 0}
.ycf-collection-beginner .ycf-collection-cover{height:420px;object-fit:cover;object-position:center 30%}
.ycf-collection-beginner .ycf-case-spread figure{width:100%;max-width:380px;margin-inline:auto}.ycf-collection-beginner .ycf-case-spread figure img{aspect-ratio:11383/18000;max-height:none;object-fit:cover;object-position:33.333% center}
.ycf-collection-directory details{margin-top:30px;padding:20px 24px;background:#eaf0e9;border-radius:6px}
.ycf-collection-directory summary{cursor:pointer;font-weight:600;line-height:1.6}
.ycf-collection-directory details li{margin:9px 0;overflow-wrap:anywhere}
.ycf-story-collection .ycf-collection-note{color:#61716f!important;font-size:13px;line-height:1.8;margin:20px 0 0}
.ycf-collection-learning ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin:28px 0;padding-left:20px}
.ycf-collection-learning li{padding-left:5px}
.ycf-collection-learning li p{font-size:14px;margin:10px 0}
.ycf-story-collection .ycf-collection-original{background:#eaf0e9}
.ycf-story-collection .ycf-collection-original .ycf-story-shell{width:100%}
.ycf-story-collection .ycf-collection-original :is(.ycf-story-card,.ycf-story-module){background:#f6f6f2;border-color:#d9dfdc}
.ycf-story-collection a:focus-visible,.ycf-story-collection summary:focus-visible{outline:3px solid #2493a3;outline-offset:4px}
@media(max-width:900px){.ycf-story-collection .ycf-collection-intro{padding:36px}.ycf-story-collection .ycf-course-consultation{margin:28px 36px 0}.ycf-story-collection :is(.ycf-collection-directory,.ycf-collection-learning,.ycf-collection-watch,.ycf-collection-original){padding:40px 36px}.ycf-case-spread{gap:28px}.ycf-story-collection .ycf-collection-case-copy h4{font-size:20px}}
@media(max-width:700px){.ycf-case-spread{grid-template-columns:1fr}.ycf-editorial-case:nth-child(even) .ycf-case-spread>figure{order:0}.ycf-case-spread figure img{max-height:620px;min-height:0}.ycf-editorial-case.without-art .ycf-collection-case-copy{display:block}.ycf-contact-panels--4{grid-template-columns:repeat(2,minmax(0,1fr))}.ycf-collection-beginner .ycf-collection-cover{height:auto;aspect-ratio:16/10;object-fit:cover}}
@media(max-width:540px){.ycf-story-collection .ycf-collection-intro{padding:28px 20px 32px}.ycf-story-collection .ycf-course-consultation{margin:24px 20px 0}.ycf-story-collection :is(.ycf-collection-directory,.ycf-collection-learning,.ycf-collection-watch,.ycf-collection-original){padding:36px 20px}.ycf-story-collection .ycf-collection-subtitle{font-size:18px}.ycf-story-collection .ycf-story-kicker{font-size:11px;letter-spacing:.08em!important}.ycf-story-collection .ycf-story-kicker:before{flex-basis:24px;width:24px}.ycf-editorial-case{padding:30px 0 38px}.ycf-editorial-case>header{gap:15px;margin-bottom:22px}.ycf-story-collection .ycf-case-number{font-size:30px}.ycf-collection-learning ol{grid-template-columns:1fr;gap:24px}.ycf-contact-panels--3{grid-template-columns:1fr}.ycf-contact-panels--3 figure a{aspect-ratio:7000/6600}.ycf-collection-directory details{padding:16px}}
/* Keep course catalog rows aligned within the existing theme markup. */
.post-item.item-grid:has(.ycf-course-card-price) .entry-title{min-height:2.8em;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.post-item.item-grid:has(.ycf-course-card-price) .entry-desc{min-height:1.5em}
.post-item.item-grid:has(.ycf-course-card-price) .entry-meta{display:flex;flex-wrap:nowrap;gap:8px;font-size:11px;align-items:center}
.post-item.item-grid:has(.ycf-course-card-price) .entry-meta>span{margin:0;white-space:nowrap}
.post-item.item-grid:has(.ycf-course-card-price) .entry-meta .meta-date{margin-right:auto}
.post-item:has([data-course-id="2679"]) .entry-media a{background-size:contain;background-repeat:no-repeat;background-color:#101b24}
.post-item:has([data-course-id="2674"]) .entry-media a{background-size:180% auto;background-position:50% 35%;background-color:#222}
