/* Site typography (2026-11-30, "Calm"): Sofia Pro Light for reading, Sofia Pro Regular for headings.
   Cormorant Garamond (YtSerif) is kept for an editorial look: set --yt-heading to var(--yt-serif).
   Both fonts are served from our own server. Loaded after combined.css in layouts/app. */
@font-face{font-family:YtSerif;font-style:italic;font-weight:400;font-display:swap;src:url(/fonts/cormorant/cormorant-italic-400-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:YtSerif;font-style:italic;font-weight:400;font-display:swap;src:url(/fonts/cormorant/cormorant-italic-400-latin.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:YtSerif;font-style:normal;font-weight:400 600;font-display:swap;src:url(/fonts/cormorant/cormorant-normal-400-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:YtSerif;font-style:normal;font-weight:400 600;font-display:swap;src:url(/fonts/cormorant/cormorant-normal-400-latin.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:YtSofia;font-weight:300;font-style:normal;font-display:swap;src:url(/fonts/sofiapro/SofiaProLight.otf) format("opentype")}
@font-face{font-family:YtSofia;font-weight:400;font-style:normal;font-display:swap;src:url(/fonts/sofiapro/sofiapro-regular-webfont.woff2) format("woff2"),url(/fonts/sofiapro/sofiapro-regular-webfont.woff) format("woff")}
@font-face{font-family:YtSofia;font-weight:700;font-style:normal;font-display:swap;src:url(/fonts/sofiapro/SofiaPro-Bold.otf) format("opentype")}

/* Headings use --yt-heading. Nicklas chose "Calm" (all Sofia) on 2026-11-30. */
:root{
  --yt-sans:YtSofia,SofiaPro,"Open Sans",sans-serif;
  --yt-serif:YtSerif,"Cormorant Garamond",Georgia,serif;
  --yt-heading:var(--yt-sans);
  --yt-heading-weight:400;
  --yt-ink:#241422;
  --yt-heading-color:#2a1027; /* the footer purple */
  --yt-text:#43343f;
  --yt-muted:#8a7487;
  --yt-plum:#773669;
}

body{font-family:var(--yt-sans)}

/* ---------- Reading text: blog posts, classes, programs, challenges, collections, teachers */
.single .post_content,.blog__content{font-family:var(--yt-sans) !important;font-weight:300;font-size:18px;line-height:1.8;color:var(--yt-text)}
.single .post_content p,.single .post_content li,.blog__content p,.blog__content li,.blog__content td{font-family:var(--yt-sans) !important;font-weight:300 !important;font-size:18px !important;line-height:1.8 !important;color:var(--yt-text) !important}
.single .post_content p,.blog__content p{margin:0 0 1.1em !important}
.single .post_content ul,.single .post_content ol,.blog__content ul,.blog__content ol{padding-left:1.25em !important;margin:0 0 1.2em !important}
.single .post_content li,.blog__content li{margin:0 0 .5em !important}
.single .post_content strong,.single .post_content b,.blog__content strong,.blog__content b{font-weight:400 !important;color:var(--yt-ink)}
.single .post_content a,.blog__content a{color:var(--yt-plum) !important;text-decoration:underline !important;text-decoration-color:#d9c3d3 !important;text-decoration-thickness:1px !important;text-underline-offset:4px;font-weight:300}
.single .post_content a:hover,.blog__content a:hover{text-decoration-color:var(--yt-plum) !important}
.blog__content h2,.blog__content h3,.single .post_content h2,.single .post_content h3{font-family:var(--yt-heading) !important;font-weight:var(--yt-heading-weight) !important;color:var(--yt-heading-color) !important;letter-spacing:-.015em !important;text-align:left !important;text-transform:none !important}
.blog__content h2,.single .post_content h2{font-size:25px !important;line-height:1.2 !important;margin:1.7em 0 .55em !important}
.blog__content h3,.single .post_content h3{font-size:20px !important;line-height:1.25 !important;margin:1.4em 0 .45em !important}
.blog__content blockquote{border-left:2px solid #e3d3de;padding:2px 0 2px 20px;margin:1.4em 0;font-style:normal;color:var(--yt-ink)}

/* Page titles */
.blog__title,.single h1.post_title{font-family:var(--yt-heading) !important;font-weight:var(--yt-heading-weight) !important;color:var(--yt-heading-color) !important;letter-spacing:-.02em !important;line-height:1.15 !important}
h1.blog__title{font-size:34px !important;line-height:1.2 !important}
h2.blog__title,h2.blog__title a{font-size:24px !important;line-height:1.3 !important;color:var(--yt-heading-color) !important;margin:0 0 10px !important}
.single h1.post_title{font-size:32px !important}

/* "Duration / Level / Styles" under a class or program */
.single .post_meta .post_meta_title{font-family:var(--yt-sans) !important;font-weight:400 !important;font-size:11px !important;letter-spacing:.16em;text-transform:uppercase;color:var(--yt-muted) !important}
.single .post_meta .diff_style,.single .post_meta .diff_style a{font-family:var(--yt-sans) !important;font-weight:400;font-size:16px !important}

/* ---------- The same headings on the newer pages */
html body .rt h1,html body .rt-section h2,html body .rt-host h2,html body .rt-more h2,html body .rt-empty h2,html body .rt-legal h2,html body .rt-hostcard strong,
html body .yt-contact h1,html body .yt-legal h1,html body .yt-legal__body h2,html body .yt-legal__body h3,
html body .page-account h1,html body .yt-hello__name,html body .yt-calsheet h2{
  font-family:var(--yt-heading) !important;font-weight:var(--yt-heading-weight) !important;letter-spacing:-.005em !important}

/* ---------- Blog sidebar: categories, contributors, wiki (2026-11-30) */
.widget_categories li,.widget_categories li a,.widget_categories p,.widget p,.widget li a{font-family:var(--yt-sans) !important;font-weight:300 !important}
.widget_categories li a{font-size:16px !important;line-height:1.6 !important}
.widget .widget_title,.widget h2.widget_title{font-family:var(--yt-sans) !important;font-weight:400 !important;letter-spacing:-.01em}

@media (max-width:767px){
  .single .post_content p,.single .post_content li,.blog__content p,.blog__content li{font-size:17px !important;line-height:1.75 !important}
  h1.blog__title{font-size:27px !important}
  h2.blog__title,h2.blog__title a{font-size:21px !important}
  .single h1.post_title{font-size:26px !important}
  .blog__content h2,.single .post_content h2{font-size:22px !important}
}
