/* SmartWinners blog — content styles matching the 2026 site design */
.sw-blog .blog-content a { color: #005a9c; }
.sw-blog .blog-content a:hover { color: #00adef; }

/* ---------- Post list (home, category, tag, author) ---------- */
.sw-blog .posts { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .sw-blog .posts { grid-template-columns: repeat(2, 1fr); } }
.sw-blog .post-home { background: #fff; border: 1px solid #e1e8f0; border-radius: 20px; box-shadow: 0 10px 30px -5px rgba(0,45,86,.08), 0 4px 12px -5px rgba(0,45,86,.04); padding: 0; overflow: hidden; display: flex; flex-direction: column; position: relative; transition: transform .25s, box-shadow .25s; }
.sw-blog .post-home::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: #00adef; z-index: 2; }
.sw-blog .post-home:hover { transform: translateY(-4px); box-shadow: 0 16px 32px -8px rgba(0,45,86,.14); }
.sw-blog .post-home .post-header { padding: 1.5rem 1.5rem .5rem; }
.sw-blog .post-home .post-body { padding: 0 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.sw-blog .post-home .post-title { font-size: 1.3rem; line-height: 1.3; font-weight: 900; margin: 0 0 .5rem; }
.sw-blog .post-home .post-title a { color: #002d56; text-decoration: none; }
.sw-blog .post-home .post-title a:hover { color: #00adef; }
.sw-blog .post-home .post-body p { color: rgba(0,45,86,.7); font-weight: 600; line-height: 1.6; margin: 0 0 1.25rem; }
.sw-blog .post-home .post-cover { display: block; margin: 0 -1.5rem 1.25rem; background: #f2f5f8; }
.sw-blog .post-home .post-cover img { display: block; width: 100%; max-width: none !important; max-height: none !important; height: 210px; object-fit: cover; }
.sw-blog .post-home .post-body { position: relative; }
.sw-blog .post-more { margin-top: auto; align-self: flex-start; display: inline-block; background: #002d56; color: #fff !important; font-weight: 900; padding: .7rem 1.5rem; border-radius: .75rem; text-decoration: none; box-shadow: 0 4px 0 #001a33; transition: background .2s, transform .1s, box-shadow .1s; }
.sw-blog .post-more:hover { background: #005a9c; color: #fff !important; }
.sw-blog .post-more:active { transform: translateY(4px); box-shadow: none; }

.sw-blog .post-meta { font-size: .8rem; font-weight: 700; color: rgba(0,45,86,.55); text-transform: uppercase; letter-spacing: .04em; display: flex; flex-wrap: wrap; gap: .25rem .75rem; align-items: center; }
.sw-blog .post-meta a { color: #00adef !important; text-decoration: none; }
.sw-blog .post-meta a:hover { text-decoration: underline; }

/* ---------- Single post ---------- */
.sw-blog .post-single, .sw-blog .page-global, .sw-blog .well-global, .sw-blog .search-page, .sw-blog .archive-page, .sw-blog #comment-form, .sw-blog .comment-form, .sw-blog #commentlist { background: #fff; border: 1px solid #e1e8f0; border-radius: 24px; box-shadow: 0 10px 30px -5px rgba(0,45,86,.08); padding: 1.75rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .sw-blog .post-single, .sw-blog .page-global { padding: 2.5rem 3rem; } }
.sw-blog .post-single .post-header { border-bottom: 1px solid #e1e8f0; padding-bottom: 1.25rem; margin-bottom: 1.75rem; }
.sw-blog .post-single .post-title, .sw-blog .page-global-title { font-size: 1.9rem; line-height: 1.2; font-weight: 900; color: #002d56; letter-spacing: -.02em; margin: 0 0 .75rem; }
@media (min-width: 768px) { .sw-blog .post-single .post-title, .sw-blog .page-global-title { font-size: 2.6rem; } }
.sw-blog .post-single .post-title a { color: #002d56 !important; text-decoration: none; }
.sw-blog .post-footer { border-top: 1px solid #e1e8f0; margin-top: 2rem; padding-top: 1rem; }
.sw-blog .post-tags a { display: inline-block; background: #f2f5f8; border: 1px solid #e1e8f0; color: #002d56 !important; font-weight: 700; font-size: .8rem; padding: .25rem .75rem; border-radius: 999px; margin: 0 .25rem .4rem 0; text-decoration: none; }
.sw-blog .post-tags a:hover { border-color: #00adef; color: #00adef !important; }

/* Share dropdown */
.sw-blog .post-share { position: relative; margin-left: auto; }
.sw-blog .post-share .dropdown-toggle { display: inline-flex; align-items: center; gap: .4rem; background: #f2f5f8; border: 1px solid #e1e8f0; border-radius: 999px; padding: .3rem .9rem; color: #002d56 !important; text-decoration: none !important; }
.sw-blog .post-share .dropdown-toggle:hover { border-color: #00adef; }
.sw-blog .post-share .dropdown-menu { display: none; position: absolute; right: 0; top: 110%; z-index: 50; min-width: 180px; background: #fff; border: 1px solid #e1e8f0; border-radius: 16px; box-shadow: 0 20px 40px -10px rgba(0,45,86,.25); padding: .4rem 0; text-transform: none; letter-spacing: 0; }
.sw-blog .post-share .dropdown-menu.show { display: block; }
.sw-blog .post-share .dropdown-item { display: flex; align-items: center; gap: .6rem; padding: .5rem 1rem; color: #002d56 !important; font-weight: 700; font-size: .85rem; }
.sw-blog .post-share .dropdown-item:hover { background: #f2f5f8; text-decoration: none; }

/* Article typography (Tailwind preflight resets these) */
.sw-blog .post-body.content-stlye, .sw-blog .page-global > div { color: rgba(0,45,86,.88); font-size: 1.075rem; line-height: 1.75; font-weight: 500; }
.sw-blog .content-stlye h1, .sw-blog .page-global > div h1 { font-size: 2rem; font-weight: 900; margin: 2rem 0 1rem; color: #002d56; line-height: 1.2; }
.sw-blog .content-stlye h2, .sw-blog .page-global > div h2 { font-size: 1.6rem; font-weight: 900; margin: 2rem 0 .9rem; color: #002d56; line-height: 1.25; }
.sw-blog .content-stlye h3, .sw-blog .page-global > div h3 { font-size: 1.075rem; font-weight: 600; margin: 1.2rem 0 .6rem; color: #002d56; line-height: 1.6; }
.sw-blog .content-stlye h4, .sw-blog .content-stlye h5, .sw-blog .content-stlye h6,
.sw-blog .page-global > div h4, .sw-blog .page-global > div h5, .sw-blog .page-global > div h6 { font-size: 1.1rem; font-weight: 800; margin: 1.3rem 0 .6rem; color: #002d56; }
.sw-blog .content-stlye p, .sw-blog .page-global > div p { margin: 0 0 1.1rem; }
.sw-blog .content-stlye ul, .sw-blog .page-global > div ul { list-style: disc; padding-left: 1.5rem; margin: 0 0 1.1rem; }
.sw-blog .content-stlye ol, .sw-blog .page-global > div ol { list-style: decimal; padding-left: 1.5rem; margin: 0 0 1.1rem; }
.sw-blog .content-stlye li, .sw-blog .page-global > div li { margin-bottom: .4rem; }
.sw-blog .content-stlye li::marker, .sw-blog .page-global > div li::marker { color: #00adef; font-weight: 800; }
.sw-blog .content-stlye a, .sw-blog .page-global > div a { color: #005a9c; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(0,173,239,.4); text-underline-offset: 3px; }
.sw-blog .content-stlye a:hover, .sw-blog .page-global > div a:hover { color: #00adef; }
.sw-blog .content-stlye strong, .sw-blog .content-stlye b, .sw-blog .page-global > div strong { font-weight: 800; color: #002d56; }
.sw-blog .content-stlye img, .sw-blog .page-global > div img { max-width: 100%; height: auto; border-radius: 16px; margin: 1.25rem 0; }
.sw-blog .content-stlye blockquote, .sw-blog .page-global > div blockquote { border-left: 4px solid #00adef; background: #f2f5f8; padding: 1rem 1.25rem; border-radius: 0 14px 14px 0; margin: 1.5rem 0; font-weight: 600; }
.sw-blog .content-stlye table, .sw-blog .page-global > div table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid #e1e8f0; border-radius: 14px; overflow: hidden; margin: 1.5rem 0; font-size: .95rem; display: block; overflow-x: auto; }
.sw-blog .content-stlye th, .sw-blog .page-global > div th { background: #002d56; color: #fff; font-weight: 800; text-align: left; padding: .7rem .9rem; }
.sw-blog .content-stlye td, .sw-blog .page-global > div td { padding: .65rem .9rem; border-top: 1px solid #e1e8f0; }
.sw-blog .content-stlye tr:nth-child(even) td, .sw-blog .page-global > div tr:nth-child(even) td { background: #f8fafc; }
.sw-blog .content-stlye hr, .sw-blog .page-global > div hr { border: 0; border-top: 1px solid #e1e8f0; margin: 2rem 0; }
.sw-blog .content-stlye code, .sw-blog .page-global > div code { background: #f2f5f8; border-radius: 6px; padding: .1rem .35rem; font-size: .9em; }
.sw-blog .content-stlye pre, .sw-blog .page-global > div pre { background: #002d56; color: #fff; border-radius: 14px; padding: 1rem; overflow-x: auto; margin: 1.25rem 0; }
.sw-blog .content-stlye iframe, .sw-blog .page-global > div iframe { max-width: 100%; border-radius: 16px; }

/* Buttons/forms used inside posts (were Bootstrap) */
.sw-blog .btn { display: inline-block; font-weight: 900; padding: .65rem 1.4rem; border-radius: .75rem; border: 0; cursor: pointer; text-decoration: none !important; background: #00adef; color: #fff !important; box-shadow: 0 4px 0 #0091c9; }
.sw-blog .btn:hover { background: #28beff; }
.sw-blog .btn-primary { background: #00adef; }
.sw-blog .btn-success { background: #009640; box-shadow: 0 4px 0 #006d2e; }
.sw-blog .btn-danger { background: #e30613; box-shadow: 0 4px 0 #a8040f; }
.sw-blog .btn-warning { background: #fecd08; color: #002d56 !important; box-shadow: 0 4px 0 #d9af07; }
.sw-blog .blog-content input[type=text], .sw-blog .blog-content input[type=email], .sw-blog .blog-content input[type=search], .sw-blog .blog-content input[type=url], .sw-blog .blog-content textarea, .sw-blog .blog-content select, .sw-blog .form-control { width: 100%; border: 2px solid #e1e8f0; border-radius: 12px; padding: .65rem .9rem; font-weight: 600; color: #002d56; background: #fff; outline: none; }
.sw-blog .blog-content input:focus, .sw-blog .blog-content textarea:focus, .sw-blog .form-control:focus { border-color: #00adef; }
.sw-blog .blog-content input[type=submit], .sw-blog .blog-content input[type=button], .sw-blog .blog-content button[type=submit] { background: #00adef; color: #fff; font-weight: 900; border-radius: 12px; padding: .65rem 1.4rem; cursor: pointer; box-shadow: 0 4px 0 #0091c9; }

/* ---------- Post navigation, paging, related ---------- */
.sw-blog .navigation-posts { margin: 0 0 1.5rem; }
.sw-blog .navigation-posts a { display: inline-flex; align-items: center; gap: .4rem; background: #fff; border: 1px solid #e1e8f0; border-radius: 999px; padding: .55rem 1.1rem; font-weight: 800; color: #002d56; text-decoration: none; }
.sw-blog .navigation-posts a:hover { border-color: #00adef; color: #00adef; }
.sw-blog #postPaging { margin: 2rem 0; overflow: hidden; }
.sw-blog #postPaging a, .sw-blog .pager a, .sw-blog .pagination a { display: inline-block; background: #fff; border: 2px solid #e1e8f0; color: #002d56; font-weight: 900; padding: .6rem 1.2rem; border-radius: 12px; text-decoration: none; }
.sw-blog #postPaging a:hover, .sw-blog .pager a:hover, .sw-blog .pagination a:hover { border-color: #00adef; color: #00adef; }
.sw-blog .well-global-title { font-size: 1.4rem; font-weight: 900; color: #002d56; margin: 0 0 1rem; text-transform: uppercase; letter-spacing: .02em; }
.sw-blog .related-posts { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.sw-blog .related-posts-item { border: 1px solid #e1e8f0; border-radius: 14px; padding: .9rem 1rem; transition: border-color .2s; }
.sw-blog .related-posts-item:hover { border-color: #00adef; }
.sw-blog .related-posts-item a { display: block; font-weight: 800; color: #002d56; text-decoration: none; margin-bottom: .25rem; }
.sw-blog .related-posts-item span { display: block; font-size: .9rem; color: rgba(0,45,86,.65); font-weight: 600; }

/* ---------- Widgets / sidebars ---------- */
.sw-blog .widgetzone .widget, .sw-blog .widgetzone .Widget { background: #fff; border: 1px solid #e1e8f0; border-radius: 20px; box-shadow: 0 10px 30px -5px rgba(0,45,86,.06); padding: 1.25rem 1.4rem; margin-bottom: 1.25rem; }
.sw-blog .widget-header, .sw-blog .WidgetHeader { font-size: .95rem; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; color: #002d56; border-bottom: 3px solid #00adef; padding-bottom: .6rem; margin: 0 0 .9rem; }
.sw-blog .widget-content ul { list-style: none; padding: 0; margin: 0; }
.sw-blog .widget-content li { border-bottom: 1px solid #f2f5f8; padding: .5rem 0; }
.sw-blog .widget-content li:last-child { border-bottom: 0; }
.sw-blog .widget-content a { color: #002d56; font-weight: 700; text-decoration: none; }
.sw-blog .widget-content a:hover { color: #00adef; }
.sw-blog .post-item-title { font-size: .95rem; font-weight: 700; margin: 0; line-height: 1.4; }
.sw-blog .widgetzone .tagcloud a, .sw-blog .widget.tagcloud a { display: inline-block; background: #f2f5f8; border-radius: 999px; padding: .2rem .7rem; margin: 0 .3rem .4rem 0; font-size: .8rem !important; }

/* ---------- Comments ---------- */
.sw-blog .comment { border: 1px solid #e1e8f0; border-radius: 16px; padding: 1rem 1.2rem; margin-bottom: 1rem; background: #fff; }
.sw-blog .comment .author, .sw-blog .comment-author { font-weight: 900; color: #002d56; }

/* Hide legacy ASP.NET hidden wrappers spacing */
.sw-blog .aspNetHidden { display: none; }
.sw-blog .post-adminlinks a { margin-right: .5rem; font-size: .85rem; }

/* Empty spacer paragraphs from old content */
.sw-blog .blog-content .sw-empty { margin: 0 !important; padding: 0 !important; height: .5rem; line-height: 0; font-size: 0; }

/* Icon lists (ol li > img) — same layout as the previous theme */
.sw-blog .content-stlye ol li:has(> img), .sw-blog .page-global > div ol li:has(> img) { position: relative; margin-left: 140px; list-style: none; min-height: 100px; }
.sw-blog .content-stlye ol li > img, .sw-blog .page-global > div ol li > img { position: absolute; top: 0; right: calc(100% + 40px); width: 100px; height: auto; object-fit: contain; margin: 0; border-radius: 0; }
@media (max-width: 767px) {
  .sw-blog .content-stlye ol li:has(> img), .sw-blog .page-global > div ol li:has(> img) { margin-left: 0; display: flex; flex-direction: column; }
  .sw-blog .content-stlye ol li > img, .sw-blog .page-global > div ol li > img { position: relative; right: 0; margin-bottom: 10px; }
}


/*blogs only patch*/
.sw-blog .post-body.content-stlye, 
.sw-blog .page-global > div 
{ /* font-size: 1.075rem; */ line-height: 1.5; }

.sw-blog .content-stlye p, 
.sw-blog .page-global > div p 
{ margin: 0; }

.sw-blog .content-stlye p:not(.sw-empty) + p:not(.sw-empty), 
.sw-blog .page-global > div p:not(.sw-empty) + p:not(.sw-empty) 
{ margin-top: .5rem; }