/* Blog-only additions to the shared Antler theme. */
.sl-blog {
    --sl-blog-border: rgba(130, 139, 149, .24);
    --sl-blog-accent: #ee5586;
    overflow-wrap: anywhere;
}
.sl-blog .top-header .heading {
    margin: 0 0 12px;
    text-transform: none;
}
.sl-blog .top-header .subheading { margin: 0; }
.sl-blog .sl-blog-detail-header .heading {
    max-width: 1050px;
    font-size: clamp(32px, 4.2vw, 60px);
    line-height: 1.2;
}
.sl-blog .sl-blog-detail-header .subheading {
    max-width: 950px;
    font-size: 19px;
    line-height: 1.8;
}
.sl-blog .sl-blog-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    color: #fff;
    font-size: 14px;
}
.sl-blog .sl-blog-breadcrumb a { color: #fff; }
.sl-blog .sl-blog-breadcrumb a:hover { text-decoration: underline; }
.sl-blog .sl-blog-columns { row-gap: 40px; }
.sl-blog .sl-blog-card-column { display: flex; margin-bottom: 48px; }
.sl-blog .sl-blog-card { display: flex; flex-direction: column; width: 100%; }
.sl-blog .sl-blog-cover-link { display: block; border-radius: 12px 12px 0 0; overflow: hidden; }
.sl-blog .service-wrap img.sl-blog-cover {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 8 / 5;
    object-fit: cover;
    margin-top: 0;
}
.sl-blog .service-wrap .sl-blog-card .service-section {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 42px 36px 36px;
}
.sl-blog .service-wrap .service-section .title { font-size: 23px; line-height: 1.45; }
.sl-blog .service-wrap .service-section .title a { display: inline; margin: 0; }
.sl-blog .service-wrap .service-section .title a:hover { color: var(--sl-blog-accent) !important; }
.sl-blog .service-wrap .service-section .subtitle { line-height: 1.9; }
.sl-blog .service-wrap .service-section a.sl-blog-category {
    top: 12px;
    right: 16px;
    max-width: calc(100% - 32px);
    padding: 5px 10px;
    margin: 0;
    color: #fff;
    white-space: normal;
    text-decoration: none;
}
.sl-blog .sl-blog-card-bottom { margin-top: auto; }
.sl-blog .sl-blog-card hr { margin: 24px 0; border-color: var(--sl-blog-border); opacity: 1; }
.sl-blog .sl-blog-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    font-size: 12px;
    line-height: 1.65;
}
.sl-blog .sl-blog-meta > span { display: inline-flex; align-items: center; gap: 8px; }
.sl-blog .service-wrap .service-section .sl-blog-meta i,
.sl-blog .sl-blog-meta i { font-size: 19px; }
.sl-blog .service-wrap .service-section .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 13px 23px;
}
.sl-blog .service-wrap .service-section .btn i { font-size: 12px; }
.sl-blog .sl-blog-sidebar { padding: 40px; }
.sl-blog .sl-blog-search {
    position: relative;
    display: flex;
    border: 1px solid var(--sl-blog-border);
    border-radius: 30px;
    overflow: hidden;
}
.sl-blog .sl-blog-search input[type="search"] {
    width: 100%;
    min-width: 0;
    padding: 15px 52px 15px 20px;
    border: 0;
    border-radius: 30px;
    color: inherit;
    background: transparent;
    font: inherit;
    font-size: 14px;
}
.sl-blog .sl-blog-search input::placeholder { color: inherit; opacity: .7; }
.sl-blog .sl-blog-search button {
    position: absolute;
    top: 0;
    right: 4px;
    width: 45px;
    height: 100%;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.sl-blog .sl-blog-search:focus-within { outline: 2px solid var(--sl-blog-accent); outline-offset: 3px; }
.sl-blog .sl-blog-search input:focus { outline: 0; }
.sl-blog .sl-blog-sidebar .sl-blog-sidebar-section { margin-top: 40px; }
.sl-blog .sl-blog-sidebar .heading.active { margin: 0 0 16px; cursor: default; font-size: 21px; }
.sl-blog .sl-blog-sidebar .line.active { margin-bottom: 24px; background: var(--sl-blog-border); }
.sl-blog .sl-blog-sidebar .line.active:before { background: var(--sl-blog-accent); width: 44px; height: 2px; }
.sl-blog .sl-blog-sidebar .posts .item-wrap {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 24px;
}
.sl-blog .sl-blog-recent-image { flex: 0 0 95px; }
.sl-blog .sl-blog-sidebar .posts .sl-blog-recent .img {
    display: block;
    float: none;
    width: 95px;
    height: 76px;
    margin: 0;
    object-fit: cover;
    border-radius: 9px;
}
.sl-blog .sl-blog-recent-copy { min-width: 0; }
.sl-blog .sl-blog-sidebar .posts .heading-article { font-size: 15px; line-height: 1.6; margin: 0 0 5px; }
.sl-blog .sl-blog-sidebar .posts .heading-article a { font-size: inherit; }
.sl-blog .sl-blog-recent time { display: block; font-size: 11px; line-height: 1.7; }
.sl-blog .sl-blog-link-list { list-style: none; padding: 0; margin: 0; }
.sl-blog .sl-blog-link-list li + li { border-top: 1px solid var(--sl-blog-border); }
.sl-blog .sl-blog-link-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
    font-size: 15px;
    line-height: 1.65;
}
.sl-blog .sl-blog-link-list i { font-size: 11px; }
.sl-blog .sl-blog-count { font-size: 12px; flex-shrink: 0; }
.sl-blog .sl-blog-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.sl-blog .sl-blog-tags .badge {
    max-width: 100%;
    padding: 9px 13px;
    border: 1px solid var(--sl-blog-border);
    border-radius: 5px;
    background: transparent;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
    white-space: normal;
    text-align: left;
}
.sl-blog .sl-blog-link-list a:hover,
.sl-blog .sl-blog-tags a:hover,
.sl-blog .sl-blog-selected { color: var(--sl-blog-accent) !important; }
.sl-blog .sl-blog-tags a:hover,
.sl-blog .sl-blog-tags .sl-blog-selected { border-color: var(--sl-blog-accent); }
.sl-blog .sl-blog-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    font-size: 13px;
}
.sl-blog .sl-blog-result-count { margin: 0 0 8px; font-size: 16px; }
.sl-blog .sl-blog-filter-values { display: flex; flex-wrap: wrap; gap: 5px 16px; }
.sl-blog .sl-blog-text-link { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.sl-blog .sl-blog-filters > a { flex-shrink: 0; }
.sl-blog .sl-blog-state { padding: 60px 40px; border-radius: 12px; }
.sl-blog .sl-blog-state h2 { margin: 0 0 18px; font-size: 28px; line-height: 1.4; }
.sl-blog .sl-blog-state p { max-width: 550px; margin: 0 0 25px; line-height: 1.9; }
.sl-blog .sl-blog-state-icon { display: block; margin-bottom: 25px; font-size: 36px; }
.sl-blog .sl-blog-pagination ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 0;
    margin: 0 0 16px;
    list-style: none;
}
.sl-blog .sl-blog-pagination li > a,
.sl-blog .sl-blog-pagination li > span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid var(--sl-blog-border);
    border-radius: 6px;
    font-size: 14px;
}
.sl-blog .sl-blog-pagination a:hover { border-color: var(--sl-blog-accent); }
.sl-blog .sl-blog-pagination .sl-blog-current { color: #181b22; background: #fdd700; border-color: #fdd700; font-weight: 700; }
.sl-blog .sl-blog-pagination .sl-blog-ellipsis { border: 0; min-width: 20px; padding: 0; }
.sl-blog .sl-blog-pagination p { text-align: center; font-size: 12px; margin-bottom: 0; }
.sl-blog .wrap-blog img.sl-blog-detail-cover {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 8 / 5;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 30px;
}
.sl-blog .sl-blog-article .wrapper { padding: 48px; }
.sl-blog .sl-blog-detail-meta { font-size: 13px; }
.sl-blog .sl-blog-article-category { font-weight: 600; margin-left: auto; }
.sl-blog .sl-blog-article .wrapper > hr { margin: 25px 0 30px; border-color: var(--sl-blog-border); opacity: 1; }
.sl-blog .sl-blog-article-body { margin: 0; font-size: 16px; line-height: 1.95; }
.sl-blog .sl-blog-article-body > :first-child { margin-top: 0; }
.sl-blog .sl-blog-article-body > :last-child { margin-bottom: 0; }
.sl-blog .sl-blog-article-body p { margin-bottom: 24px; }
.sl-blog .sl-blog-article-body h2,
.sl-blog .sl-blog-article-body h3,
.sl-blog .sl-blog-article-body h4 { margin: 36px 0 16px; color: inherit; font-weight: 700; line-height: 1.45; }
.sl-blog .sl-blog-article-body h2 { font-size: 27px; }
.sl-blog .sl-blog-article-body h3 { font-size: 23px; }
.sl-blog .sl-blog-article-body h4 { font-size: 20px; }
.sl-blog .sl-blog-article-body ul,
.sl-blog .sl-blog-article-body ol { padding-left: 24px; margin-bottom: 24px; }
.sl-blog .sl-blog-article-body li { padding-left: 4px; margin-bottom: 8px; }
.sl-blog .sl-blog-article-body a { color: inherit; text-decoration: underline; text-decoration-color: var(--sl-blog-accent); text-underline-offset: 4px; }
.sl-blog .sl-blog-article-body a:hover { color: var(--sl-blog-accent); }
.sl-blog .sl-blog-article-body blockquote {
    margin: 30px 0;
    padding: 18px 24px;
    border-left: 3px solid var(--sl-blog-accent);
    background: rgba(130, 139, 149, .07);
    font-size: 19px;
    line-height: 1.8;
}
.sl-blog .sl-blog-article-body blockquote p:last-child { margin-bottom: 0; }
.sl-blog .sl-blog-article-body pre { max-width: 100%; padding: 20px; overflow-x: auto; border: 1px solid var(--sl-blog-border); border-radius: 8px; background: rgba(130, 139, 149, .07); color: inherit; line-height: 1.65; }
.sl-blog .sl-blog-article-body code { font-size: .9em; color: inherit; overflow-wrap: break-word; }
.sl-blog .sl-blog-article-body p code { padding: 2px 5px; border-radius: 3px; background: rgba(130, 139, 149, .13); }
.sl-blog .sl-blog-article-body pre code { white-space: pre; overflow-wrap: normal; }
.sl-blog .sl-blog-article-body img { max-width: 100%; height: auto; }
.sl-blog .sl-blog-article-footer { margin-top: 40px; padding-top: 25px; border-top: 1px solid var(--sl-blog-border); }
.sl-blog .sl-blog-tag-label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 15px; }
.sl-blog .sl-blog-back { margin-top: 30px; }
.sl-blog .sl-blog-related { margin-top: 55px; }
.sl-blog .sl-blog-related > h2 { font-size: 26px; margin-bottom: 25px; }
.sl-blog .sl-blog-related-column { display: flex; margin-bottom: 24px; }
.sl-blog .sl-blog-related-card { width: 100%; overflow: hidden; border-radius: 12px; }
.sl-blog .sl-blog-related-card img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; }
.sl-blog .sl-blog-related-card > div { padding: 26px; }
.sl-blog .sl-blog-related-card h3 { font-size: 20px; line-height: 1.5; margin: 0 0 12px; }
.sl-blog .sl-blog-related-card p { font-size: 14px; line-height: 1.8; margin: 0; }
.sl-blog .sl-blog-preview { padding: 18px 22px; margin-bottom: 25px; border: 1px solid #d7ad31; border-radius: 8px; background: #fff5d5; color: #493b17; font-size: 14px; line-height: 1.7; }
.sl-blog .sl-blog-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.sl-blog a:focus-visible,
.sl-blog button:focus-visible { outline: 3px solid var(--sl-blog-accent); outline-offset: 4px; }
@media (max-width: 1199.98px) {
    .sl-blog .sl-blog-sidebar { padding: 28px; }
    .sl-blog .sl-blog-sidebar .posts .item-wrap { gap: 12px; }
    .sl-blog .sl-blog-recent-image { flex-basis: 75px; }
    .sl-blog .sl-blog-sidebar .posts .sl-blog-recent .img { width: 75px; height: 64px; }
}
@media (max-width: 991.98px) {
    .sl-blog .sl-blog-sidebar { padding: 35px; }
    .sl-blog .sl-blog-columns { row-gap: 45px; }
    .sl-blog .sl-blog-article .wrapper { padding: 36px; }
}
@media (max-width: 575.98px) {
    .sl-blog .top-header { padding-bottom: 45px; }
    .sl-blog .top-header .heading { font-size: 36px; line-height: 1.25; }
    .sl-blog .top-header .subheading { font-size: 17px; line-height: 1.75; }
    .sl-blog .sec-normal { padding-top: 45px !important; padding-bottom: 45px; }
    .sl-blog .service-wrap .sl-blog-card .service-section { padding: 42px 26px 28px; }
    .sl-blog .sl-blog-card-column { margin-bottom: 32px; }
    .sl-blog .sl-blog-sidebar { padding: 28px; }
    .sl-blog .sl-blog-article .wrapper { padding: 28px 24px; }
    .sl-blog .sl-blog-article-category { margin-left: 0; }
    .sl-blog .sl-blog-article-body h2 { font-size: 24px; }
    .sl-blog .sl-blog-article-body blockquote { padding: 16px 20px; font-size: 17px; }
    .sl-blog .sl-blog-filters { align-items: flex-start; flex-direction: column; gap: 12px; }
    .sl-blog .sl-blog-state { padding: 35px 26px; }
    .sl-blog .sl-blog-state h2 { font-size: 24px; }
}
