/* Open Smarter blog: lightweight styles for /blog/ and its posts.
   Colors and type follow the homepage (Divi): red header #832429, Montserrat, teal links. */
:root{
  --osc-red:#832429;
  --osc-red-dark:#751f29;
  --osc-pink:#eadada;
  --osc-pink-light:#f7eeee;
  --osc-salmon:#f18f80;
  --osc-navy:#171d28;
  --osc-teal:#37878b;
  --osc-text:#111111;
  --osc-heading:#222222;
  --osc-shadow:0 12px 18px -6px rgba(0,0,0,.2);
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body.osc{margin:0;background:#fff;color:var(--osc-text);font-family:'Montserrat',Helvetica,Arial,Lucida,sans-serif;font-size:17px;line-height:1.7;font-weight:400;overflow-x:hidden}
.osc img{max-width:100%;height:auto;border:0}
.osc a{color:var(--osc-teal)}
.osc a:hover{color:var(--osc-red)}
.osc-container{width:100%;max-width:1080px;margin:0 auto;padding:0 24px}
.osc-narrow{max-width:808px}
.osc-skip{position:absolute;left:-9999px;top:0;background:#fff;color:var(--osc-red);padding:8px 12px;z-index:100}
.osc-skip:focus{left:8px;top:8px}

/* Header: same red bar, logo and white menu as the homepage */
.osc-header{background:var(--osc-red);box-shadow:0 1px 0 rgba(0,0,0,.1);position:relative;z-index:10}
.osc-header__inner{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 24px;min-height:84px;padding-top:12px;padding-bottom:12px}
.osc-logo{display:block;line-height:0}
.osc-logo img{display:block;height:54px;width:auto}
.osc-nav ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:4px 28px}
.osc-nav li{margin:0}
.osc .osc-nav a{color:#fff;text-decoration:none;font-weight:600;font-size:17px;line-height:1.2;display:inline-block;padding:6px 0;border-bottom:2px solid transparent}
.osc .osc-nav a:hover{color:#fff;opacity:.75}
.osc .osc-nav a[aria-current="page"],.osc .osc-nav a.is-section{border-bottom-color:var(--osc-salmon)}

/* Title band with the homepage's slanted section divider */
.osc-hero{background:var(--osc-red);color:#fff;position:relative;padding:34px 0 108px}
.osc-hero::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:90px;background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDBweCIgdmlld0JveD0iMCAwIDEyODAgMTQwIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxnIGZpbGw9IiNmZmZmZmYiPjxwYXRoIGQ9Ik0xMjgwIDBsLTI2Mi4xIDExNi4yNmE3My4yOSA3My4yOSAwIDAgMS0zOS4wOSA2TDAgMHYxNDBoMTI4MHoiLz48L2c+PC9zdmc+);background-size:100% 100%;background-repeat:no-repeat;transform:rotateY(180deg)}
.osc-hero--short{padding-bottom:100px}
.osc-crumbs{font-size:14px;line-height:1.5;color:#f6d7d2;margin:0 0 14px}
.osc-crumbs ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:2px 0}
.osc-crumbs li+li::before{content:"\203A";margin:0 8px;color:var(--osc-salmon)}
.osc .osc-crumbs a{color:#fff;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.4)}
.osc .osc-crumbs a:hover{color:#fff;border-bottom-color:#fff}
.osc-hero h1{font-size:41px;line-height:1.2;font-weight:700;color:#fff;margin:0 0 14px}
.osc-hero__eyebrow{font-style:italic;font-weight:500;color:var(--osc-salmon);font-size:18px;margin:0 0 6px}
.osc-hero__lead{font-size:18px;line-height:1.6;color:#f9e6e3;margin:0;max-width:720px}
.osc-meta{font-size:15px;color:#f6d7d2;margin:0}
.osc-meta span+span::before{content:"\00B7";margin:0 8px}

/* Article */
.osc-main{padding:0 0 10px}
.osc-article{padding-top:6px}
.osc-article::after{content:"";display:block;clear:both}
.osc-article p{margin:0 0 1.15em}
.osc-article h2{font-size:28px;line-height:1.25;font-weight:700;color:var(--osc-red);margin:1.7em 0 .6em}
.osc-article h3{font-size:21px;line-height:1.3;font-weight:700;color:var(--osc-heading);margin:1.4em 0 .45em}
.osc-article ul,.osc-article ol{margin:0 0 1.3em;padding-left:1.4em}
.osc-article li{margin:0 0 .55em}
.osc-article li::marker{color:var(--osc-red)}
.osc-article strong{font-weight:700}
.osc-article blockquote{margin:0 0 1.3em;padding:16px 22px;background:var(--osc-pink-light);border-left:4px solid var(--osc-red);border-radius:3px}
.osc-figure{margin:0 0 1.3em}
.osc-figure img{display:block;border-radius:3px;box-shadow:var(--osc-shadow)}
.osc-figure figcaption{font-size:13px;line-height:1.5;color:#555;margin-top:8px}
.osc-figure--right{float:right;width:250px;margin:6px 0 18px 30px}
.osc-figure--crop img{width:100%;height:auto;aspect-ratio:984/940;object-fit:cover;object-position:50% 0}
.osc-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0 0 1.5em;border-radius:3px;box-shadow:var(--osc-shadow)}
.osc-table-wrap table{width:100%;min-width:560px;border-collapse:collapse;font-size:15px;line-height:1.5;background:#fff}
.osc-table-wrap th,.osc-table-wrap td{padding:11px 14px;text-align:left;vertical-align:top;border-bottom:1px solid var(--osc-pink)}
.osc-table-wrap thead th{background:var(--osc-red);color:#fff;font-weight:600;border-bottom:0}
.osc-table-wrap tbody th{background:var(--osc-pink-light);color:var(--osc-heading);font-weight:600;width:22%}
.osc-table-wrap tbody tr:last-child th,.osc-table-wrap tbody tr:last-child td{border-bottom:0}

/* Masterclass call to action */
.osc-cta{background:linear-gradient(169deg,var(--osc-red) 60%,var(--osc-red-dark) 60%);color:#fff;border-radius:3px;padding:34px 32px;margin:46px 0 0;box-shadow:0 12px 18px -6px rgba(0,0,0,.3)}
.osc-cta__eyebrow{font-style:italic;color:var(--osc-salmon);font-weight:500;margin:0 0 4px;font-size:16px}
.osc-cta h2{color:#fff;font-size:26px;line-height:1.25;font-weight:700;margin:0 0 12px}
.osc-cta p{color:#f9e6e3;margin:0 0 20px}
.osc .osc-btn{display:inline-block;background:var(--osc-teal);color:#fff;text-decoration:none;font-weight:600;font-size:17px;line-height:1.3;padding:13px 28px;border-radius:3px}
.osc .osc-btn:hover{color:#fff;background:#2f7376}

/* Post cards (blog index and "Keep reading") */
.osc-section{padding:8px 0 64px}
.osc-related{background:var(--osc-pink);padding:52px 0 64px;margin-top:64px}
.osc-related h2{font-size:28px;line-height:1.25;font-weight:700;color:var(--osc-heading);margin:0 0 26px}
.osc-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:30px}
.osc-card{background:#fff;border-radius:3px;overflow:hidden;box-shadow:var(--osc-shadow);display:flex;flex-direction:column;min-width:0}
.osc .osc-card__media{display:block;aspect-ratio:16/10;overflow:hidden;background:var(--osc-red);line-height:0;text-decoration:none}
.osc-card__media img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 25%;transition:transform .4s ease}
.osc-card:hover .osc-card__media img{transform:scale(1.03)}
.osc-card__ph{display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:18px;background:linear-gradient(169deg,var(--osc-red) 60%,var(--osc-red-dark) 60%);color:var(--osc-salmon);font-style:italic;font-weight:600;font-size:26px;line-height:1.2;text-align:center}
.osc-card__body{padding:20px 22px 24px;display:flex;flex-direction:column;flex:1}
.osc-card__date{font-size:13px;line-height:1.4;text-transform:uppercase;letter-spacing:.06em;color:var(--osc-red);font-weight:600;margin:0 0 8px}
.osc-card__title{font-size:19px;line-height:1.3;font-weight:700;margin:0 0 10px}
.osc .osc-card__title a{color:var(--osc-heading);text-decoration:none}
.osc .osc-card__title a:hover{color:var(--osc-red)}
.osc-card__excerpt{font-size:15px;line-height:1.6;color:#333;margin:0 0 14px;flex:1}
.osc .osc-card__more{font-weight:600;font-size:15px;color:var(--osc-teal);text-decoration:none}
.osc .osc-card__more:hover{color:var(--osc-red)}
.osc-section .osc-cta{margin-top:56px}

/* Footer: same dark copyright bar as the homepage */
.osc-footer{background:#111111;color:#898989;font-size:16px;line-height:1.5;padding:18px 0}
.osc-footer p{margin:0}

@media (max-width:980px){
  .osc-hero h1{font-size:34px}
}
@media (max-width:768px){
  body.osc{font-size:16px}
  .osc-container{padding:0 16px}
  .osc-header__inner{min-height:70px}
  .osc-logo img{height:44px}
  .osc-hero{padding:26px 0 76px}
  .osc-hero::after{height:48px}
  .osc-hero h1{font-size:30px}
  .osc-hero__lead{font-size:16px}
  .osc-article h2,.osc-related h2{font-size:24px}
  .osc-article h3{font-size:19px}
  .osc-cta{padding:26px 20px}
  .osc-cta h2{font-size:22px}
  .osc-related{padding:40px 0 48px;margin-top:48px}
  .osc-cards{gap:22px}
}
@media (max-width:450px){
  .osc-logo img{height:36px}
  .osc-nav ul{gap:2px 18px}
  .osc .osc-nav a{font-size:15px}
  .osc-hero h1{font-size:26px}
  .osc-figure--right{float:none;width:auto;max-width:260px;margin:0 auto 22px}
  .osc-cards{grid-template-columns:1fr}
  .osc-card__title{font-size:18px}
}
