/* The Wading Kit: single post template (compact hero, side spacing, author card).
   Loaded on single posts only. */

/* Compact hero, same treatment as the category template */
body.single-post .header-hero{padding-bottom:40px!important;box-shadow:inset 0 0 0 100vmax rgba(8,18,15,.58)}
body.single-post .hero-page-title{padding:24px 24px 0!important}
body.single-post .hero-page-title .wrap{max-width:960px}
body.single-post .hero-page-title h1{color:#fff!important;font-size:44px!important;line-height:1.15;margin:0 0 12px!important;text-shadow:0 2px 14px rgba(0,0,0,.55)}
body.single-post .hero-page-title .entry-header .entry-meta,
body.single-post .hero-page-title p.entry-meta{margin:0;font-size:16px;color:#f1f5f3;text-shadow:0 1px 8px rgba(0,0,0,.6)}
body.single-post .breadcrumb{font-size:15px;color:#d9e2de;text-shadow:0 1px 8px rgba(0,0,0,.6)}
body.single-post .breadcrumb a{color:#f0b36b;text-decoration:none}
body.single-post .breadcrumb a:hover,body.single-post .breadcrumb a:focus{text-decoration:underline}
@media (max-width:600px){body.single-post .hero-page-title h1{font-size:34px!important}}

/* No overlap with the hero, and no gold connector line (the hero is short now) */
body.single-post .site-inner{margin-top:0;padding:0}
body.single-post .site-inner::before{display:none}

/* Space from the sides inside the white box, with a readable line length */
body.single-post .content{width:100%;max-width:900px;margin:0 auto;padding:56px 48px 48px;box-sizing:border-box}
@media (max-width:1023px){body.single-post .content{padding:44px 40px 40px}}
@media (max-width:860px){body.single-post .content{padding:32px 22px 28px}}
body.single-post .entry-content figure.wp-block-table{overflow-x:auto}

/* Author box: a separate card below the white box */
body.single-post .wk-author-outer{margin-top:32px}
body.single-post .wk-author-outer .author-box{display:grid;grid-template-columns:96px minmax(0,1fr);column-gap:28px;row-gap:12px;align-items:start;margin:0 0 48px;padding:32px 36px;text-align:left;background:#fff;color:#333;border-radius:6px;box-shadow:0 1px 2px rgba(20,30,25,.08),0 8px 24px rgba(20,30,25,.06);font-size:17px;line-height:1.65}
body.single-post .wk-author-outer .author-box::before,
body.single-post .wk-author-outer .author-box::after{display:none}
body.single-post .wk-author-outer .author-box .avatar{grid-row:1 / span 2;float:none;width:96px;height:96px;margin:0;object-fit:cover}
body.single-post .wk-author-outer .about-author{grid-column:2;grid-row:1}
body.single-post .wk-author-outer .about-author h4{margin:0 0 8px;font-family:'Lora',serif;font-weight:500;font-size:21px;line-height:1.3}
body.single-post .wk-author-outer .about-author p{margin:0}
body.single-post .wk-author-outer .social-links{grid-column:2;grid-row:2;display:flex;flex-wrap:wrap;gap:10px;list-style:none;margin:0;padding:0}
body.single-post .wk-author-outer .social-links li{margin:0;padding:0}
body.single-post .wk-author-outer .social-links a{display:flex;align-items:center;justify-content:center;flex:none;width:42px;height:42px;padding:0;box-sizing:border-box;border-radius:50%;background:#2f5e7e;color:#fff;font-size:18px;line-height:1;text-decoration:none}
body.single-post .wk-author-outer .social-links a i{display:block;width:auto;height:auto;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;color:inherit;font-size:18px;line-height:1;text-align:center}
body.single-post .wk-author-outer .social-links a:hover,
body.single-post .wk-author-outer .social-links a:focus{background:#9a4f00;color:#fff}
@media (max-width:600px){
body.single-post .wk-author-outer .author-box{grid-template-columns:64px minmax(0,1fr);column-gap:16px;padding:24px 20px;font-size:16px}
body.single-post .wk-author-outer .author-box .avatar{grid-row:1;width:64px;height:64px}
body.single-post .wk-author-outer .social-links{grid-column:1 / -1}
}
