/* OTSI NEO — Single Blog Post template
   Real, dynamic content only. Matches the site's established Ronin
   design tokens (navy/blue/gold/green), reused here directly since this
   stylesheet only loads on is_single() for the 'post' post type. */

.otsi-single-post{--navy-950:#04162c;--navy-900:#071d38;--navy-800:#0a2547;--gold:#eab040;--gold-dark:#c9963a;--blue:#3568c9;--blue-tint:#eaf1fd;--green:#1f9d64;--green-tint:#eaf7f1;--ink:#0b1f3a;--ink-soft:#4a5568;--bg-tint:#f7f8fa;--gray-100:#f2f3f6;--gray-200:#e4e8f0;--radius-lg:16px;--radius-md:12px;--radius-sm:8px;--shadow-card:0 1px 2px rgba(10,20,40,.04),0 8px 24px -12px rgba(10,20,40,.12);
  font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg-tint);
}
.otsi-single-post .icon{width:20px;height:20px;flex-shrink:0;}
.otsi-single-post .icon-sm{width:16px;height:16px;}

/* Breadcrumb */
.sp-breadcrumb-row{padding:16px 24px 0;max-width:1240px;margin:0 auto;}
.sp-breadcrumb{font-size:13px;color:var(--ink-soft);display:flex;gap:6px;align-items:center;flex-wrap:wrap;}
.sp-breadcrumb a{color:var(--ink-soft);text-decoration:none;}
.sp-breadcrumb a:hover{color:var(--blue);}
.sp-breadcrumb span{color:var(--ink);font-weight:600;}

/* Hero */
.sp-hero{position:relative;margin:16px 24px 0;border-radius:var(--radius-lg);overflow:hidden;background-size:cover;background-repeat:no-repeat;min-height:340px;display:flex;align-items:flex-end;max-width:1240px;margin-left:auto;margin-right:auto;background-color:var(--navy-800);}
.sp-hero--photo{background-position:center 22%;}
.sp-hero--logo,.sp-hero--plain{background-image:linear-gradient(135deg,var(--navy-900) 0%,var(--navy-800) 55%,#0d2c52 100%);}
.sp-hero__overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,22,44,.55) 0%,rgba(4,22,44,.72) 55%,rgba(4,22,44,.92) 100%);}
.sp-hero__badge-logo{position:absolute;top:24px;right:24px;width:84px;height:84px;background:#fff;border-radius:14px;padding:12px;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 24px rgba(0,0,0,.3);z-index:2;}
.sp-hero__badge-logo img{max-width:100%;max-height:100%;object-fit:contain;}
@media (max-width:640px){.sp-hero__badge-logo{width:64px;height:64px;top:16px;right:16px;padding:9px;}}
.sp-hero__inner{position:relative;padding:40px 40px 32px;color:#fff;width:100%;}
.sp-hero__badge{display:inline-flex;align-items:center;gap:6px;background:var(--blue);color:#fff;font-size:11.5px;font-weight:700;letter-spacing:.02em;padding:5px 12px;border-radius:6px;margin-bottom:14px;}
.sp-hero__inner h1{font-size:clamp(24px,3.4vw,38px);font-weight:800;line-height:1.15;margin:0 0 12px;max-width:820px;}
.sp-hero__subtitle{font-size:15.5px;color:#dbe4f3;max-width:720px;margin:0 0 20px;line-height:1.55;}
.sp-hero__meta{display:flex;flex-wrap:wrap;gap:20px;font-size:12.5px;color:#c7d3e8;border-top:1px solid rgba(255,255,255,.18);padding-top:16px;}
.sp-hero__meta span{display:flex;align-items:center;gap:6px;}
.sp-hero__meta svg{width:15px;height:15px;color:var(--gold);}

/* Layout */
.sp-layout{display:grid;grid-template-columns:1fr 320px;gap:28px;max-width:1240px;margin:28px auto;padding:0 24px;align-items:start;}
@media (max-width:900px){.sp-layout{grid-template-columns:1fr;}}

.sp-article{background:#fff;border-radius:var(--radius-lg);box-shadow:var(--shadow-card);padding:32px 36px 36px;}
@media (max-width:640px){.sp-article{padding:22px 18px 26px;}.sp-hero__inner{padding:28px 20px 24px;}}

/* Lead / featured summary */
.sp-lead-box{display:flex;gap:14px;background:var(--blue-tint);border-left:4px solid var(--blue);border-radius:var(--radius-md);padding:18px 20px;margin-bottom:28px;}
.sp-lead-box__icon{flex-shrink:0;width:36px;height:36px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;color:var(--blue);}
.sp-lead-box__icon svg{width:19px;height:19px;}
.sp-lead-box p{margin:0;font-size:14.5px;line-height:1.65;color:var(--ink);font-weight:500;}

/* Article body */
.sp-content{font-size:15px;line-height:1.75;color:var(--ink);}
.sp-content p{margin:0 0 18px;}
.sp-content h2{font-size:22px;font-weight:800;color:var(--ink);margin:32px 0 12px;padding-bottom:8px;border-bottom:1px solid var(--gray-200);}
.sp-content h3{font-size:17.5px;font-weight:700;color:var(--ink);margin:26px 0 10px;}
.sp-content ul,.sp-content ol{margin:0 0 18px;padding-left:22px;}
.sp-content li{margin-bottom:8px;}
.sp-content a{color:var(--blue);text-decoration:underline;text-underline-offset:2px;}
.sp-content img{max-width:100%;height:auto;border-radius:var(--radius-md);margin:8px 0 18px;}
.sp-content blockquote{border-left:3px solid var(--gold);margin:0 0 18px;padding:4px 0 4px 18px;color:var(--ink-soft);font-style:italic;}

/* Auto-generated transfer news items (Transfer News post) */
.sp-transfer-item{padding:14px 0;border-bottom:1px solid var(--gray-200);}
.sp-transfer-item:last-child{border-bottom:none;}
.sp-transfer-item p{margin:0 0 6px;}
.sp-transfer-item__meta{display:flex;align-items:center;gap:8px;font-size:11.5px;color:var(--ink-soft);}
.sp-transfer-badge{font-size:10.5px;font-weight:700;padding:2px 9px;border-radius:10px;}
.sp-transfer-badge.is-verified{background:var(--green-tint);color:var(--green);}
.sp-transfer-badge.is-unverified{background:var(--gray-100);color:var(--ink-soft);}

/* Key takeaway */
.sp-takeaway-box{display:flex;gap:14px;align-items:flex-start;background:var(--green-tint);border-radius:var(--radius-md);padding:16px 20px;margin:24px 0;}
.sp-takeaway-box svg{width:22px;height:22px;color:var(--green);flex-shrink:0;margin-top:1px;}
.sp-takeaway-box p{margin:0;font-size:14px;line-height:1.6;color:var(--ink);}
.sp-takeaway-box strong{color:var(--green);}

/* Key insights */
.sp-insights-box{background:var(--bg-tint);border:1px solid var(--gray-200);border-radius:var(--radius-md);padding:20px 22px;margin:24px 0;}
.sp-insights-box__head{display:flex;align-items:center;gap:10px;margin-bottom:14px;}
.sp-insights-box__head svg{width:20px;height:20px;color:var(--blue);}
.sp-insights-box__head h3{margin:0;font-size:15.5px;font-weight:700;color:var(--ink);}
.sp-insights-box ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;}
.sp-insights-box li{display:flex;align-items:flex-start;gap:10px;font-size:14px;line-height:1.55;color:var(--ink);}
.sp-insights-box li svg{width:16px;height:16px;color:var(--green);flex-shrink:0;margin-top:2px;}

/* CTA band inside article */
.sp-cta-band{display:flex;align-items:center;gap:16px;flex-wrap:wrap;background:var(--blue-tint);border-radius:var(--radius-md);padding:20px 24px;margin:28px 0 8px;}
.sp-cta-band__icon{flex-shrink:0;width:40px;height:40px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;color:var(--blue);}
.sp-cta-band__icon svg{width:20px;height:20px;}
.sp-cta-band__text{flex:1;min-width:200px;}
.sp-cta-band__text h3{margin:0 0 3px;font-size:15px;font-weight:700;color:var(--ink);}
.sp-cta-band__text p{margin:0;font-size:13px;color:var(--ink-soft);}
.sp-cta-band .btn{white-space:nowrap;}

/* Buttons (scoped copies of the sitewide button system) */
.otsi-single-post .btn{display:inline-flex;align-items:center;gap:8px;font-size:13.5px;font-weight:700;padding:11px 20px;border-radius:var(--radius-sm);text-decoration:none;border:1px solid transparent;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease;}
.otsi-single-post .btn svg{width:14px;height:14px;}
.otsi-single-post .btn--gold{background:var(--gold);color:var(--navy-950);}
.otsi-single-post .btn--gold:hover{background:#f4bd5c;transform:translateY(-1px);box-shadow:0 10px 22px rgba(234,176,64,.28);}
.otsi-single-post .btn--blue{background:var(--blue);color:#fff;}
.otsi-single-post .btn--blue:hover{background:#4577d6;transform:translateY(-1px);box-shadow:0 10px 22px rgba(53,104,201,.26);}
.otsi-single-post .btn--outline{background:transparent;border-color:var(--gold);color:var(--gold);}
.otsi-single-post .btn--outline:hover{background:var(--gold);color:var(--navy-950);}
.otsi-single-post .btn--outline-white{background:transparent;border-color:rgba(255,255,255,.4);color:#fff;}
.otsi-single-post .btn--outline-white:hover{background:#fff;color:var(--navy-950);}

/* Tags + Share */
.sp-tags-share{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px;padding-top:22px;margin-top:22px;border-top:1px solid var(--gray-200);}
.sp-tags{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.sp-tags__label{font-size:13px;font-weight:700;color:var(--ink);}
.sp-tag-chip{background:var(--blue-tint);color:var(--blue);font-size:12px;font-weight:600;padding:5px 12px;border-radius:20px;text-decoration:none;}
.sp-share{display:flex;align-items:center;gap:10px;}
.sp-share__label{font-size:13px;font-weight:700;color:var(--ink);margin-right:2px;}
.sp-share a{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;text-decoration:none;flex-shrink:0;}
.sp-share a svg{width:15px;height:15px;}
.sp-share__fb{background:#1877f2;}
.sp-share__x{background:#111;}
.sp-share__li{background:#0a66c2;}
.sp-share__wa{background:#25d366;}
.sp-share a:hover{opacity:.85;}

/* Author box */
.sp-author-box{display:flex;align-items:center;gap:16px;flex-wrap:wrap;background:var(--bg-tint);border-radius:var(--radius-md);padding:18px 20px;margin-top:22px;}
.sp-author-box img{width:52px;height:52px;border-radius:50%;flex-shrink:0;object-fit:cover;}
.sp-author-box__info{flex:1;min-width:180px;}
.sp-author-box__info h4{margin:0 0 3px;font-size:14.5px;font-weight:700;color:var(--ink);}
.sp-author-box__info p{margin:0;font-size:12.5px;color:var(--ink-soft);line-height:1.5;}

/* Sidebar */
.sp-sidebar{display:flex;flex-direction:column;gap:18px;}
.sp-widget{background:#fff;border-radius:var(--radius-lg);box-shadow:var(--shadow-card);padding:20px 20px 22px;}
.sp-widget__head{display:flex;align-items:center;gap:9px;margin-bottom:16px;}
.sp-widget__head svg{width:18px;height:18px;color:var(--blue);}
.sp-widget__head h3{margin:0;font-size:14.5px;font-weight:700;color:var(--ink);flex:1;}
.sp-widget__head a{font-size:12px;font-weight:700;color:var(--blue);text-decoration:none;white-space:nowrap;}
.sp-widget__head a:hover{text-decoration:underline;}

.sp-related__item{display:flex;gap:10px;text-decoration:none;color:inherit;padding:8px 0;border-bottom:1px solid var(--gray-100);}
.sp-related__item:last-child{border-bottom:none;padding-bottom:0;}
.sp-related__item:first-child{padding-top:0;}
.sp-related__thumb{width:52px;height:52px;border-radius:var(--radius-sm);object-fit:cover;flex-shrink:0;background:var(--gray-100);}
.sp-related__thumb--ph{display:flex;align-items:center;justify-content:center;color:#b7c1d4;}
.sp-related__thumb--ph svg{width:20px;height:20px;}
.sp-related__title{font-size:12.5px;font-weight:600;color:var(--ink);line-height:1.4;margin:0 0 4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.sp-related__date{font-size:11px;color:var(--ink-soft);}

.sp-cat-row{display:flex;align-items:center;gap:9px;padding:8px 0;text-decoration:none;color:var(--ink);font-size:13px;border-bottom:1px solid var(--gray-100);}
.sp-cat-row:last-child{border-bottom:none;padding-bottom:0;}
.sp-cat-row:first-child{padding-top:0;}
.sp-cat-row svg{width:15px;height:15px;color:var(--ink-soft);flex-shrink:0;}
.sp-cat-row span{margin-left:auto;background:var(--gray-100);color:var(--ink-soft);font-size:11px;font-weight:700;padding:2px 8px;border-radius:10px;}
.sp-cat-row:hover{color:var(--blue);}

.sp-newsletter p{font-size:12.5px;color:var(--ink-soft);line-height:1.55;margin:0 0 14px;}
.sp-newsletter form{display:flex;flex-direction:column;gap:10px;}
.sp-newsletter input[type=email]{border:1px solid var(--gray-200);border-radius:var(--radius-sm);padding:10px 12px;font-size:13px;font-family:inherit;}
.sp-newsletter input[type=email]:focus{outline:2px solid var(--blue);outline-offset:1px;}
.sp-newsletter button{width:100%;justify-content:center;}
.sp-newsletter__success{font-size:13px;color:var(--green);font-weight:600;margin:0;}
.sp-newsletter__error{font-size:12px;color:#c0392b;margin:8px 0 0;}

.sp-work-with{background:var(--navy-800);color:#fff;text-align:left;}
.sp-work-with__icon{width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.1);display:flex;align-items:center;justify-content:center;margin-bottom:12px;color:var(--gold);}
.sp-work-with__icon svg{width:20px;height:20px;}
.sp-work-with h3{margin:0 0 8px;font-size:15px;font-weight:700;color:#fff;}
.sp-work-with p{margin:0 0 16px;font-size:12.5px;color:#c7d3e8;line-height:1.55;}
