@font-face {
    font-family: 'IRANYekanXFaNum';
    src: url('fonts/IRANYekanXFaNum-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
body, button, input, select, textarea,
h1, h2, h3, h4, h5, h6,
.site-title, .site-description, .main-header-menu,
.entry-title, .entry-meta, .wp-block-button__link,
.editor-styles-wrapper {
    font-family: 'IRANYekanXFaNum', Tahoma, sans-serif !important;
    font-weight: 400;
}
#content #primary .no-results.not-found {
    padding: 1rem;
    border-radius: 12px;
}
#content #primary .no-results.not-found .page-content p {
    font-size: 14px;
}
body.category #content #primary .no-results.not-found .page-content {
    display: flex;
    flex-direction: column;
}
body.category #content #primary .no-results.not-found .page-content p {
    order: 1;
    text-align: center;
    margin-bottom: 0;
}
@media (max-width: 479px) {
    #content #primary .no-results.not-found .page-content p {
        font-size: 13px;
    }
}
#content .no-results .webkaran-header-search {
    width: 100%;
    max-width: 350px;
    margin-inline: auto;
}
#content .no-results .webkaran-header-search input {
    flex: 1;
    min-width: 0;
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 0;
    background: transparent;
    font-size: 14px;
    box-shadow: none;
}
#content .no-results .webkaran-header-search button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 20px;
    height: 40px;
    margin: 0 0 0 10px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #666;
    box-shadow: none;
}
#page input.search-field {
    font-size: 14px;
}
.webkaran-popular-posts {
    margin-top: 32px;
}
.webkaran-popular-posts h2 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    text-align: center;
}
.webkaran-popular-posts ul {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.webkaran-popular-posts li {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    margin: 0;
}
.webkaran-popular-posts a {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    line-height: 24px;
    color: #454545;
}
.webkaran-popular-posts img {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    object-fit: cover;
    border-radius: 8px;
}
@media (max-width: 1199px) {
    .webkaran-popular-posts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
    .webkaran-popular-posts ul { grid-template-columns: minmax(0, 1fr); }
}
body.single-post #primary .entry-content .wp-block-table {
    max-width: 100%;
    overflow-x: auto;
}
body.single-post #primary .entry-content .wp-block-table table {
    min-width: 27.5rem;
}
body.single-post #primary .entry-content .wp-block-table :is(table, thead, tbody, tr, th, td) {
    border-color: #bbb;
}
body.single-post #primary .entry-content .wp-block-table :is(thead, tbody, th, td) {
    border-block-color: #ddd;
}
body.single-post #primary .entry-content .wp-block-table :is(table, tr) {
    border: 0;
}
body.single-post #primary .entry-content .wp-block-table thead tr:first-child > th {
    border-top: 0;
}
body.single-post #primary .entry-content .wp-block-table tbody tr:last-child > td {
    border-bottom: 0;
}
body.single-post #primary .entry-content .wp-block-table tr > :first-child {
    border-inline-start: 0;
}
body.single-post #primary .entry-content .wp-block-table tr > :last-child {
    border-inline-end: 0;
}
#primary .entry-content table,
#primary .entry-content .wp-block-table {
    box-shadow: none !important;
    filter: none;
}
#primary .entry-content .webkaran-code-block > pre,
#primary .entry-content pre.wp-block-code {
    background-color: #f5f5f5;
}
#primary .entry-content pre.wp-block-code {
    direction: ltr;
    text-align: left;
    unicode-bidi: isolate;
    max-width: 100%;
    overflow-x: auto;
    border-radius: 12px;
    padding: 16px;
    font-size: 13px;
    line-height: 24px;
}
#primary .entry-content .webkaran-code-block > pre code,
#primary .entry-content pre.wp-block-code code {
    background-color: transparent;
    padding: 0;
}
#primary .entry-content pre.wp-block-code code {
    font-family: Consolas, 'Courier New', monospace;
    white-space: pre;
}
/* Shared maximum width for the site content, header and footer. */
#masthead .menu-item.current-menu-item > .menu-link,
#colophon .webkaran-footer-menu .current-menu-item > a {
    background: transparent !important;
    border-bottom: 2px solid #2d68b2 !important;
    border-radius: 0;
}
#masthead #ast-desktop-header .menu-item.current-menu-item > .menu-link {
    background: #fff !important;
    border-bottom: 0 !important;
}
#masthead #ast-desktop-header .main-header-menu > .menu-item-has-children:hover > .menu-link,
#masthead #ast-desktop-header .main-header-menu > .menu-item-has-children:focus-within > .menu-link {
    background: #fff !important;
}
#masthead #ast-desktop-header .main-header-menu .sub-menu {
    border-top: 0 !important;
    border-radius: .75rem 0 .75rem .75rem;
}
#masthead #ast-desktop-header .main-header-menu > .menu-item > .menu-link {
    transition: background-color 0.1s ease, color 0.1s ease;
}
#masthead #ast-mobile-header .menu-item.current-menu-item > .menu-link {
    border-bottom: 0 !important;
    color: #2d68b2;
}
#ast-mobile-header .menu-link,
#ast-mobile-header .ast-menu-toggle,
#ast-mobile-header .menu-toggle {
    -webkit-tap-highlight-color: transparent;
}
#masthead #ast-mobile-header .menu-link:active,
#masthead #ast-mobile-header .menu-link:focus {
    background: transparent !important;
}
#masthead #ast-mobile-header .menu-item.current-menu-ancestor > .menu-link,
#masthead #ast-mobile-header .menu-item.current-menu-parent > .menu-link,
#masthead #ast-mobile-header .menu-item.ast-submenu-expanded > .menu-link,
#masthead #ast-mobile-header .menu-item.current-menu-ancestor > .ast-menu-toggle,
#masthead #ast-mobile-header .menu-item.current-menu-parent > .ast-menu-toggle,
#masthead #ast-mobile-header .menu-item.ast-submenu-expanded > .ast-menu-toggle {
    background: transparent !important;
    color: #2d68b2;
}
#colophon .webkaran-footer-navigation .webkaran-footer-menu .current-menu-item > a {
    border-bottom: 0 !important;
    color: #2d68b2;
}
#ast-mobile-header .ast-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    top: 7px;
    left: 8px;
    right: auto;
    width: 30px;
    height: 30px;
    padding: 5px;
    margin: 0;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    line-height: 18px;
    font-size: 12px;
    box-shadow: none;
}
#ast-mobile-header .ast-menu-toggle .ast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    line-height: 1;
}
#masthead #ast-mobile-header .ast-menu-toggle .ast-icon svg {
    transform: rotate(0deg);
    transform-origin: center;
    transition: transform 0.2s ease;
}
#masthead #ast-mobile-header .ast-submenu-expanded > .ast-menu-toggle .ast-icon svg {
    transform: rotate(180deg);
}
@media (prefers-reduced-motion: reduce) {
    #masthead #ast-mobile-header .ast-menu-toggle .ast-icon svg {
        transition: none;
    }
}
#ast-mobile-header .ast-menu-toggle:focus,
#ast-mobile-header .ast-menu-toggle:focus-visible,
#ast-mobile-header .ast-menu-toggle:active {
    outline: none;
    box-shadow: none;
}
#masthead .menu-toggle:focus,
#masthead .menu-toggle:focus-visible,
#masthead .menu-toggle:active {
    outline: none !important;
    box-shadow: none !important;
    border: 0 !important;
}
#masthead .ast-button-wrap:focus-within,
#masthead .menu-toggle:focus span,
#masthead .menu-toggle:active span {
    outline: none !important;
    box-shadow: none !important;
}
#ast-mobile-header .ast-menu-toggle svg {
    width: 12px;
    height: 12px;
    display: block;
    margin: 0;
    padding: 0;
}
/* Template headings only; preserve headings and custom colors inside editor content. */
#page :is(h1, h2, h3, h4, h5, h6):not(.entry-content *, .editor-styles-wrapper *),
#page :is(h1, h2, h3, h4, h5, h6):not(.entry-content *, .editor-styles-wrapper *) :is(a, span) {
    color: #454545 !important;
}
#primary .webkaran-related-posts {
    margin-top: 24px;
}
#primary .webkaran-related-posts h2 {
    font-size: 16px;
    font-weight: 700;
    color: #252525;
    margin: 0 0 12px;
}
#primary .webkaran-related-posts ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}
#primary .webkaran-related-posts li {
    list-style: none;
    margin: 0;
    min-width: 0;
}
#primary .webkaran-related-posts a {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
    padding: 12px;
    border-radius: 12px;
    background: #fff;
    font-size: 13px;
    line-height: 24px;
    color: #252525;
    text-decoration: none;
}
#primary .webkaran-related-posts img {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    object-fit: cover;
    border-radius: 8px;
}
#primary .webkaran-related-posts a:hover {
    color: #2d68b2;
}
@media (max-width: 767px) {
    #primary .webkaran-related-posts ul {
        grid-template-columns: minmax(0, 1fr);
    }
}
#secondary .webkaran-sidebar-image img {
    border-radius: 12px;
}
body input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    vertical-align: middle;
}
body a {
    color: #2d68b2;
}
#comments .comments-title {
    font-size: 14px;
    padding: 0 0 1rem;
}
#comments .comment-reply-title {
    font-size: 16px;
    margin-top: 1rem;
    margin-bottom: 8px;
}
#primary #comments .form-submit .submit {
    height: 40px;
    font-size: 14px;
    padding-top: 0;
    padding-bottom: 0;
    border-radius: 10px;
}
#primary #comments textarea#comment {
    border-radius: 12px;
    font-size: 13px;
    resize: none;
    display: block;
    margin: 0;
}
#primary #comments .comment-form-author input,
#primary #comments .comment-form-email input,
#primary #comments .comment-form-url input {
    font-size: 13px;
    border-radius: 12px;
    padding-top: 8px;
    padding-bottom: 8px;
}
#primary #comments .ast-comment-formwrap {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-inline: 0;
}
#primary #comments #email {
    direction: ltr;
    text-align: right;
}
#primary #comments .ast-comment-formwrap > p {
    width: auto;
    padding-inline: 0;
    margin: 0;
    float: none;
}
#primary #comments .ast-comment-formwrap input {
    margin-bottom: 0;
}
#primary #comments .comment-form-cookies-consent {
    margin-top: 1rem;
    font-size: 12px;
}
#primary #comments .comment-form-cookies-consent label {
    font-size: 12px;
}
#primary #comments .comment-form-cookies-consent input[type="checkbox"],
#primary #comments .comment-form-cookies-consent label {
    vertical-align: middle;
}
#primary #comments #wp-comment-cookies-consent {
    margin-left: 6px;
}
@media (max-width: 544px) {
    #primary #comments .ast-comment-formwrap {
        grid-template-columns: minmax(0, 1fr);
    }
}
#primary #comments .comment-textarea {
    margin: 0 0 16px 0;
    padding-bottom: 0;
}
#primary #comments .comment-form-comment {
    margin: 0;
    padding: 0;
}
#primary #comments .comment-form-textarea {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
    margin-bottom: 0;
}
#primary #comments .webkaran-comment-captcha,
#primary #comments .ast-comment-formwrap {
    margin-top: 0;
    padding-top: 0;
}
#primary #comments .logged-in-as,
#primary #comments .logged-in-as a,
#primary #comments .logged-in-as span,
#primary #comments .comment-notes,
#primary #comments .comment-notes span {
    font-size: 13px;
}
#comments .ast-comment-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
#comments .ast-comment {
    position: relative;
    padding-top: 16px;
    padding-bottom: 16px;
}
#comments .ast-comment-info {
    padding-left: 140px;
    min-height: 50px;
}
#comments .ast-comment-list .children {
    margin-inline: 0;
    padding-inline: 0;
}
#comments .ast-comment-list .children > li {
    padding-left: 0;
}
#comments .ast-comment-avatar-wrap {
    flex: 0 0 50px;
    width: 50px;
    min-width: 50px;
    margin: 0;
    padding: 0;
    float: none;
    box-shadow: none;
}
#comments .ast-comment-avatar-wrap img {
    box-shadow: none;
    width: 50px;
    min-width: 50px;
    max-width: none;
    height: 50px;
    object-fit: cover;
    border-radius: 10px;
}
@media (max-width: 379px) {
    #comments .ast-comment-avatar-wrap {
        flex-basis: 45px;
        width: 45px;
        min-width: 45px;
    }
    #comments .ast-comment-avatar-wrap img {
        width: 45px;
        min-width: 45px;
        height: 45px;
    }
}
#comments .ast-comment-info .ast-comment-meta {
    flex: 1;
    min-width: 0;
    width: auto;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
#comments .ast-comment-meta .ast-comment-cite-wrap,
#comments .ast-comment-meta .ast-comment-time {
    width: auto;
    margin: 0;
    padding: 0;
}
#comments .ast-comment-meta .ast-comment-time {
    order: -1;
}
#comments .ast-comment-cite-wrap,
#comments .ast-comment-cite-wrap cite,
#comments .ast-comment-cite-wrap .fn,
#comments .ast-comment-cite-wrap a {
    font-size: 14px;
}
@media (width < 379px) {
    #comments .ast-comment-cite-wrap,
    #comments .ast-comment-cite-wrap cite,
    #comments .ast-comment-cite-wrap .fn,
    #comments .ast-comment-cite-wrap a {
        font-size: 12px;
    }
}
#primary #comments .ast-comment-content,
#primary #comments .ast-comment-content p {
    font-size: 13px;
    line-height: 24px;
}
#comments .ast-comment-cite-wrap,
#comments .ast-comment-cite-wrap cite,
#comments .ast-comment-cite-wrap .fn,
#comments .ast-comment-cite-wrap a,
#comments .ast-comment-time,
#comments .ast-comment-time a,
#comments .ast-comment-time time {
    color: #777;
}
#comments .ast-comment-cite-wrap,
#comments .ast-comment-cite-wrap cite,
#comments .ast-comment-cite-wrap .fn,
#comments .ast-comment-cite-wrap a {
    color: #333;
}
#comments .comment-reply-link {
    margin-left: 0.5rem;
}
#comments .ast-comment-edit-reply-wrap {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    direction: rtl;
    position: absolute;
    top: 16px;
    left: 0;
    width: auto;
    max-width: none;
    margin-inline: 0;
    padding-inline: 0;
}
#comments .ast-comment-edit-reply-wrap > span {
    margin-inline: 0;
    padding-inline: 0;
}
#comments .ast-comment-edit-reply-wrap .comment-reply-link,
#comments .ast-comment-edit-reply-wrap .comment-edit-link {
    display: inline-block;
    border: 1px solid #ddd;
    color: #666;
    border-radius: 6px;
    padding: 1px 10px;
    margin: 0;
}
#comments .ast-comment-edit-reply-wrap .comment-reply-link:hover {
    color: #fff;
}
@media (width < 379px) {
    #comments .ast-comment-edit-reply-wrap .comment-reply-link,
    #comments .ast-comment-edit-reply-wrap .comment-edit-link {
        padding-left: 8px;
        padding-right: 8px;
    }
}
#comments section.ast-comment-content.comment {
    position: static;
    padding-left: 0;
    padding-right: 50px;
}
@media (min-width: 921px) {
    #comments section.ast-comment-content.comment {
        padding-right: 70px;
    }
}
#comments .ast-comment-meta .ast-comment-time,
#comments .ast-comment-meta .ast-comment-time a,
#comments .ast-comment-meta .ast-comment-time time {
    font-size: 10px;
}
body #comments.comments-area,
body #comments .comments-count-wrapper,
body #comments .ast-comment-list > li,
body #comments .comment-respond {
    background: transparent;
    padding: 0;
    box-shadow: none;
}
.webkaran-comment-captcha label,
.webkaran-comment-captcha small {
    display: block;
    font-size: 13px;
    margin-bottom: 8px;
}
#comments .webkaran-comment-captcha input[type="text"] {
    display: block;
    width: 120px;
    max-width: 100%;
    padding: 8px 12px;
    margin: 0 0 8px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
}
.webkaran-comment-captcha {
    margin-bottom: 16px;
}
#comments .webkaran-comment-submit-row {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
}
#comments .webkaran-comment-submit-row .webkaran-comment-captcha,
#comments .webkaran-comment-submit-row .form-submit {
    margin: 0;
}
.webkaran-captcha-equation {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: fit-content;
    font-size: 14px;
}
#comments .webkaran-captcha-equation > span {
    font-size: 16px;
}
.webkaran-captcha-equation {
    align-items: flex-start;
}
.webkaran-captcha-equation > span {
    line-height: 40px;
}
#comments #webkaran-captcha-error {
    display: block;
    color: #c00;
    font-size: 12px;
    line-height: 1.75;
    margin-top: 4px;
    direction: rtl;
    white-space: nowrap;
    position: absolute;
    top: 100%;
    right: 0;
    text-align: right;
}
#comments .webkaran-captcha-input {
    position: relative;
    flex: 0 0 64px;
    width: 64px;
}
.webkaran-comment-captcha:has(#webkaran-captcha-error:not([hidden])) {
    padding-bottom: 26px;
}
#comments #webkaran-captcha-error[hidden] {
    display: none;
}
#comments .webkaran-captcha-equation input[type="text"] {
    width: 64px;
    margin: 0;
    text-align: center;
}
body:is(.blog, .search) #content {
    padding-top: 0;
}
body:is(.blog, .search) #content > .ast-container {
    padding-top: 0;
}
body:is(.blog, .search) #content #primary {
    margin-top: 0;
    padding-top: 0;
}
body #content .webkaran-home-header,
body #content .webkaran-single-header,
body #content #primary .ast-archive-description {
    margin-top: 32px !important;
    padding-top: 0 !important;
}
/* Astra adds vertical primary padding when the mobile header is active. */
body.ast-header-break-point #content,
body.ast-header-break-point #content > .ast-container,
body.ast-header-break-point #content #primary {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
body #content .webkaran-home-header h1,
body #content .webkaran-single-header h1,
body #content .ast-archive-description h1 {
    margin-top: 0;
}
body.search #content .ast-breadcrumbs-wrapper {
    display: none;
}
body #content .webkaran-single-header,
body #content .webkaran-home-header,
body #content #primary .ast-archive-description {
    margin-bottom: 20px !important;
}
body:is(.single-post, .page, .archive) #content {
    padding-top: 0;
}
body:is(.single-post, .page, .archive) #content > .ast-container {
    padding-top: 0;
}
body:is(.single-post, .page, .archive) #content .webkaran-single-header,
body.archive #content #primary .ast-archive-description {
    margin-top: 32px;
    padding-top: 0;
}
body:is(.single-post, .page, .archive) #content .webkaran-single-header .entry-title,
body.archive #content #primary .ast-archive-description .page-title {
    margin-top: 0;
}
body.page-id-37 #primary .entry-content p {
    margin-top: 0;
    margin-bottom: 0;
}
body.page {
    background-color: #f0f5fa;
}
body.page #page,
body.page #content {
    background-color: transparent;
}
body.page #content {
    padding-top: 0;
}
.webkaran-page-breadcrumbs,
.webkaran-page-breadcrumbs a,
.webkaran-page-breadcrumbs span,
.webkaran-page-breadcrumbs li {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.75;
}
.webkaran-page-breadcrumbs {
    margin-top: 8px;
    text-align: center;
}
.webkaran-page-breadcrumbs .trail-items {
    margin: 0;
    padding: 0;
}
.webkaran-page-breadcrumbs ol {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 8px;
    direction: rtl;
    list-style: none;
    margin: 0;
    padding: 0;
}
.webkaran-page-breadcrumbs li {
    list-style: none;
    margin: 0;
}
.webkaran-page-breadcrumbs li + li::before {
    content: "/";
    margin-inline-end: 8px;
    color: #999;
}
body:is(.single-post, .page) .post-navigation .nav-links {
    display: grid;
    width: 100%;
    direction: rtl;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
body:is(.single-post, .page) .post-navigation .nav-previous {
    grid-column: 1;
    text-align: right;
}
body:is(.single-post, .page) .post-navigation .nav-next {
    grid-column: 2;
    text-align: left;
}
body:is(.single-post, .page) .post-navigation .nav-next a {
    display: inline-block;
    width: auto;
    max-width: 100%;
    margin: 0;
    padding-left: 0;
    text-align: left;
}
body:is(.single-post, .page) .post-navigation .nav-previous a {
    display: inline-block;
    width: auto;
    max-width: 100%;
    margin: 0;
    padding-right: 0;
    text-align: right;
}
body:is(.single-post, .page) .post-navigation .nav-previous,
body:is(.single-post, .page) .post-navigation .nav-next {
    grid-row: 1;
    width: 100% !important;
    max-width: none;
    margin: 0;
    justify-self: stretch;
    float: none;
}
body:is(.single-post, .page) .post-navigation .ast-post-nav svg {
    transform: none;
    position: static;
    width: 20px;
    height: 20px;
    fill: none;
    flex-shrink: 0;
}
body:is(.single-post, .page) .post-navigation a .ast-post-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    direction: rtl;
}
body:is(.single-post, .page) .post-navigation .nav-previous .ast-post-nav {
    justify-content: flex-start;
}
body:is(.single-post, .page) .post-navigation .nav-next .ast-post-nav {
    justify-content: flex-end;
}
body:is(.single-post, .page) .post-navigation a p {
    font-size: 13px;
}
.post-navigation .nav-previous::after {
    background: none;
}
body:is(.single-post, .page) #content > .ast-container {
    width: 100%;
    max-width: 1440px;
    padding: 0 16px 16px;
    margin-inline: auto;
}
body:is(.single-post, .page) #primary {
    width: 100%;
    max-width: none;
}
body:is(.single-post, .page) #content > .ast-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    direction: rtl;
    gap: 0 24px;
    align-items: start;
}
body:is(.single-post, .page) #content #primary {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 0;
}
body:is(.single-post, .page) #content #secondary {
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    border-radius: 12px;
}
body:is(.single-post, .page) #secondary .widget-title {
    font-size: 14px;
    font-weight: 600;
    color: #454545;
    margin-bottom: 12px;
}
body:is(.single-post, .page) #secondary a {
    font-size: 13px;
}
#secondary li {
    font-size: 13px;
    line-height: 1.125rem;
}
#secondary .widget li > a {
    position: relative;
    display: inline-block;
    padding-right: 14px;
}
#secondary .widget li > a::before {
    content: "";
    position: absolute;
    right: 0;
    top: 6px;
    transform: none;
    width: 6px;
    height: 6px;
    box-sizing: border-box;
    border: 1px solid currentColor;
    border-radius: 50%;
    margin-left: 8px;
}
#secondary .widget {
    margin-bottom: 1.5rem;
}
#secondary .widget:last-child {
    margin-bottom: 0;
}
#secondary .webkaran-post-details {
    background: #e4ecf4;
    padding: 16px;
    margin-bottom: 24px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.75;
}
#secondary .webkaran-post-details > div + div {
    margin-top: 8px;
}
#secondary .webkaran-post-details time {
    color: #2d68b2;
}
@media (min-width: 992px) {
    body:is(.single-post, .page) #content #secondary {
        position: sticky;
        top: 16px;
        align-self: start;
    }
    body.admin-bar:is(.single-post, .page) #content #secondary {
        top: 48px;
    }
}
@media (max-width: 991px) {
    body:is(.single-post, .page) #content > .ast-container {
        grid-template-columns: minmax(0, 1fr);
    }
    body:is(.single-post, .page) #content #secondary {
        position: static;
        top: auto;
        grid-column: 1;
        grid-row: 3;
        margin: 24px 0 0;
    }
}
body:is(.single-post, .page) #primary .ast-article-single {
    padding: 16px;
    border-radius: 12px;
}
body:is(.single-post, .page) .webkaran-single-featured {
    margin: 0 0 24px;
}
body:is(.single-post, .page) #primary .entry-content,
body:is(.single-post, .page) #primary .entry-content > *,
body:is(.single-post, .page) #primary .entry-content .wp-block-group__inner-container {
    max-width: none;
}
body:is(.single-post, .page) #primary .entry-content {
    font-size: 14px;
    line-height: 30px;
    text-align: justify;
    color: #252525;
}
body:is(.single-post, .page) #primary .entry-content :where(p, li, blockquote, td, th) {
    font-size: 14px;
    line-height: 30px;
}
@media (max-width: 767px) {
    body:is(.single-post, .page) #content .entry-header .entry-title,
    body:is(.single-post, .page) #content .page-title {
        font-size: 1.25rem;
    }
    body:is(.single-post, .page) #primary .entry-content,
    body:is(.single-post, .page) #primary .entry-content :where(p, li, blockquote, td, th) {
        font-size: 13px;
        line-height: 27px;
    }
}
body:is(.single-post, .page) .webkaran-single-featured img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}
body.page #primary .ast-article-single {
    border-radius: 12px;
    background: #fff;
    padding: 16px;
}
body.page #primary article > .entry-header {
    display: none;
}
body:is(.single-post, .page) #content .webkaran-single-header {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 100%;
    margin: 2rem 0 0;
    padding: 0;
    background: transparent;
    text-align: center;
}
body:is(.single-post, .page) .webkaran-single-header .entry-title {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 8px;
}
body.blog .webkaran-home-header {
    margin: 2rem 0 20px;
    text-align: center;
}
body.blog #content > .ast-container {
    padding-top: 0;
}
body.blog #content #primary {
    margin-top: 0;
}
body.blog .webkaran-home-header .entry-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #252525;
    margin: 0 0 8px;
}
body.blog .webkaran-home-description {
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}
@media (width < 767px) {
    body.blog .webkaran-home-description {
        font-size: 14px;
    }
}
body:is(.single-post, .page) #content .webkaran-single-header .entry-meta {
    display: none;
}
body:is(.single-post, .page) #content .webkaran-single-header .entry-meta .posted-on {
    margin-inline-start: 0.5rem;
}
#masthead,
#masthead .ast-primary-header-bar,
#masthead .ast-above-header-bar,
#masthead .ast-below-header-bar,
#masthead .ast-mobile-header-content,
#colophon,
#colophon .site-above-footer-wrap,
#colophon .site-primary-footer-wrap,
#colophon .site-below-footer-wrap {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none;
}
.ast-breadcrumbs-wrapper,
.ast-breadcrumbs-wrapper a,
.ast-breadcrumbs-wrapper span,
.ast-breadcrumbs,
.ast-breadcrumbs a,
.ast-breadcrumbs span {
    font-size: 12px;
}
body .ast-container,
#masthead .ast-container,
#masthead .site-primary-header-wrap.ast-container,
#colophon .ast-builder-grid-row-container-inner {
    max-width: 1440px;
    margin-inline: auto;
}
@media (max-width: 921px) {
    body #content > .ast-container,
    body.ast-separate-container #content > .ast-container,
    #masthead .ast-container,
    #masthead .site-primary-header-wrap.ast-container,
    #colophon .ast-builder-grid-row-container-inner {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
/* Place the brand on the right and navigation to its left. */
#masthead .ast-primary-header-bar .ast-builder-grid-row {
    direction: rtl;
}
#masthead .site-header-section {
    direction: rtl;
}
#masthead .custom-logo-link img.custom-logo {
    height: 50px;
    width: auto;
    max-height: none;
}
#masthead .site-logo-img {
    margin-right: 0;
    padding-right: 0;
}
#masthead .menu-toggle {
    padding: 0;
}
#ast-mobile-header .ast-builder-layout-element[data-section="section-header-mobile-trigger"] {
    padding-right: 0;
}
/* Group desktop navigation directly beside the brand. */
#ast-desktop-header .ast-primary-header-bar .ast-builder-grid-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    column-gap: 2rem;
}
#ast-desktop-header .ast-primary-header-bar .site-header-section {
    flex: 0 0 auto;
    margin: 0;
}
#ast-desktop-header .ast-primary-header-bar .site-header-section:empty {
    display: none;
}
#ast-desktop-header .ast-primary-header-bar .ast-builder-layout-element {
    padding-inline: 0;
    margin-inline: 0;
}
#ast-desktop-header .site-branding {
    margin-inline: 0;
    padding-inline: 0;
}
#ast-desktop-header .main-header-menu {
    gap: 0;
}
#masthead .main-header-menu .menu-link,
#masthead .ast-nav-menu .menu-link {
    font-size: 14px;
}
#ast-mobile-header .ast-mobile-header-content {
    border-bottom: 3px solid #bbb;
}
#ast-mobile-header .ast-builder-menu-mobile .main-header-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px;
    margin: 0;
    background: #fff;
    direction: rtl;
}
#ast-mobile-header .ast-builder-menu-mobile .menu-item {
    width: 100%;
    margin: 0;
}
#ast-mobile-header .ast-builder-menu-mobile .menu-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 12px;
    font-family: 'IRANYekanXFaNum', Tahoma, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-align: right;
    color: #252525;
    border: 0;
    border-radius: 8px;
}
#ast-mobile-header .ast-builder-menu-mobile .current-menu-item > .menu-link {
    color: #2d67b2;
    background: transparent;
}
#ast-mobile-header .ast-builder-menu-mobile .menu-link:hover {
    background: #f5f5f5;
}
#ast-mobile-header .ast-builder-menu-mobile .sub-menu {
    padding-inline: 12px 0;
    margin: 0;
    border: 0 !important;
    box-shadow: none;
}
#masthead #ast-mobile-header .ast-builder-menu-mobile .main-header-menu {
    flex-wrap: nowrap;
    border: 0 !important;
    border-bottom: 3px solid #ddd !important;
    max-height: 300px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
}
#masthead #ast-mobile-header .ast-builder-menu-mobile .main-header-menu > .menu-item {
    flex: 0 0 auto;
    width: 100%;
}
#ast-desktop-header .main-header-menu > .menu-item > .menu-link {
    padding-inline: 0.5rem;
}
#ast-desktop-header .main-header-menu > .menu-item:first-child > .menu-link {
    padding-inline-start: 0.5rem;
}
#colophon,
#colophon p,
#colophon a,
#colophon .ast-footer-copyright {
    font-size: 12px;
}
#colophon .webkaran-footer-logo {
    display: block;
    width: fit-content;
    margin: 0 auto 4px;
}
#colophon [data-section="section-footer-builder"] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
#colophon .webkaran-footer-navigation,
#colophon .ast-footer-copyright {
    width: 100%;
    text-align: center;
}
#colophon .webkaran-footer-logo-image {
    display: block;
    height: 40px;
    width: auto;
    filter: grayscale(100%);
}
#colophon .webkaran-footer-navigation {
    margin: 4px 0 16px;
    direction: rtl;
}
#colophon .webkaran-footer-archives {
    width: 240px;
    max-width: 100%;
    margin: 0 auto 16px;
}
#colophon .webkaran-footer-archives select {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    height: 40px;
    padding: 4px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 10px center;
    background-size: 16px 16px;
    padding-left: 36px;
    color: #454545;
    font-size: 13px;
    direction: rtl;
}
#colophon .webkaran-footer-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}
#colophon .webkaran-footer-menu li {
    position: relative;
    list-style: none;
    margin: 0;
}
#colophon .webkaran-footer-menu a {
    font-size: 12px;
    line-height: 1.75;
    color: #454545;
}
#colophon .ast-footer-copyright,
#colophon .ast-footer-copyright p,
#colophon .ast-footer-copyright a:not(.menu-link) {
    color: #999;
}
#colophon .webkaran-footer-navigation .webkaran-footer-menu a {
    color: #454545;
}
#colophon .webkaran-footer-menu .sub-menu {
    display: none;
    position: absolute;
    bottom: 100%;
    right: 0;
    min-width: 160px;
    padding: 12px;
    margin: 0;
    background: #fff;
    border-radius: 12px;
    text-align: right;
    z-index: 10;
}
#colophon .webkaran-footer-menu li:hover > .sub-menu,
#colophon .webkaran-footer-menu li:focus-within > .sub-menu {
    display: block;
}
#ast-desktop-header .ast-primary-header-bar .site-header-primary-section-right {
    flex: 1 1 auto;
    justify-content: flex-start;
    gap: 24px;
}
.webkaran-header-search {
    display: flex;
    align-items: center;
    direction: rtl;
    width: 240px;
    max-width: 100%;
    margin: 0;
    margin-inline-start: auto;
    border: 1px solid #e5e5e5;
    border-radius: 0.75rem;
    background: #f8f8f8;
    overflow: hidden;
}
#masthead .webkaran-header-search input {
    flex: 1;
    min-width: 0;
    width: 100%;
    height: 40px;
    padding: 0 12px;
    padding-right: 0;
    border: 0;
    background: transparent;
    font-size: 13px;
    color: #252525;
    box-shadow: none;
}
#masthead .webkaran-header-search input:autofill {
    background-color: #fff;
    box-shadow: 0 0 0 1000px #fff inset;
}
#masthead .webkaran-header-search input:-webkit-autofill,
#masthead .webkaran-header-search input:-webkit-autofill:hover,
#masthead .webkaran-header-search input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #fff inset;
    box-shadow: 0 0 0 1000px #fff inset;
    -webkit-text-fill-color: #252525;
}
#masthead .webkaran-header-search button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 20px;
    margin-left: 0;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #666;
}
#masthead .webkaran-header-search button:hover {
    color: #666;
    background: transparent;
}
.webkaran-header-search:focus-within {
    border-color: #999;
    background: #fff;
}
#ast-mobile-header .site-header-primary-section-right {
    flex-wrap: nowrap;
    gap: 12px;
}
#ast-mobile-header .webkaran-header-search {
    width: 200px;
    margin: 0;
}
#masthead .webkaran-header-search button:focus-visible {
    outline: 2px solid #2874b8;
    outline-offset: -3px;
}
@media (max-width: 575px) {
    #ast-mobile-header .ast-primary-header-bar .ast-builder-grid-row {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    #ast-mobile-header .site-header-primary-section-left {
        flex: 0 0 auto;
    }
    #ast-mobile-header .site-header-primary-section-right {
        flex: 1 1 0;
        min-width: 0;
    }
    #ast-mobile-header .ast-primary-header-bar .webkaran-header-search {
        flex: 1 1 0;
        min-width: 0;
        width: auto;
    }
    #ast-mobile-header [data-section="section-header-mobile-trigger"] {
        flex: 0 0 auto;
    }
}
/* Two post cards per row, with a single column on small screens. */
body.blog #primary #main > .ast-row,
body:is(.archive, .search) #primary #main > .ast-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
}
body.blog #primary #main > .ast-row > .ast-article-post,
body:is(.archive, .search) #primary #main > .ast-row > .ast-article-post {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
}
body.blog #primary .ast-article-post,
body:is(.archive, .search) #primary .ast-article-post,
body.blog #primary .ast-article-inner,
body:is(.archive, .search) #primary .ast-article-inner,
body.blog #primary .ast-article-post:hover,
body:is(.archive, .search) #primary .ast-article-post:hover,
body.blog #primary .ast-article-post:hover .ast-article-inner,
body:is(.archive, .search) #primary .ast-article-post:hover .ast-article-inner {
    box-shadow: none !important;
}
body.blog #primary .ast-article-post .ast-article-inner,
body:is(.archive, .search) #primary .ast-article-post .ast-article-inner {
    border-radius: 0.75rem;
    overflow: hidden;
    padding: 1rem;
}
body.blog #primary .ast-article-post .cat-links,
body:is(.archive, .search) #primary .ast-article-post .cat-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}
body.blog #primary .ast-article-post .cat-links a,
body:is(.archive, .search) #primary .ast-article-post .cat-links a {
    display: inline-block;
    color: #666;
    background-color: #f1f1f1;
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 12px;
    line-height: 1.7;
    text-decoration: none;
}
body.blog #primary .entry-meta,
body:is(.archive, .search) #primary .entry-meta,
body:is(.single-post, .page) #primary .entry-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 0.5rem;
}
body.blog #primary .ast-article-post .entry-meta,
body.blog #primary .ast-article-post .entry-meta *,
body:is(.archive, .search) #primary .ast-article-post .entry-meta,
body:is(.archive, .search) #primary .ast-article-post .entry-meta * {
    font-size: 13px;
    font-weight: 400;
    color: #999;
}
body.blog #primary .ast-article-post .entry-title,
body:is(.archive, .search) #primary .ast-article-post .entry-title {
    font-size: 16px;
    line-height: 24px;
    color: #252525;
}
body.blog #primary .ast-article-post .entry-title a,
body:is(.archive, .search) #primary .ast-article-post .entry-title a {
    color: #252525;
}
body.blog #primary .ast-article-post .ast-excerpt-container,
body:is(.archive, .search) #primary .ast-article-post .ast-excerpt-container {
    padding-top: 4px;
}
body.blog #primary .ast-article-post .ast-excerpt-container,
body:is(.archive, .search) #primary .ast-article-post .ast-excerpt-container,
body.blog #primary .ast-article-post .entry-content,
body:is(.archive, .search) #primary .ast-article-post .entry-content {
    font-size: 14px;
}
body.blog #primary .ast-blog-featured-section,
body:is(.archive, .search) #primary .ast-blog-featured-section {
    display: none;
}
.webkaran-card-heading {
    display: flex;
    direction: rtl;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}
.webkaran-card-thumbnail {
    display: block;
    flex: 0 0 100px;
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 8px;
}
.webkaran-card-thumbnail img.webkaran-card-image {
    display: block;
    width: 100px;
    height: 100px;
    object-fit: cover;
}
body.blog #primary .webkaran-card-heading .entry-title,
body:is(.archive, .search) #primary .webkaran-card-heading .entry-title {
    flex: 1;
    min-width: 0;
    margin: 0;
}
/* Align category, title and metadata in one column beside the thumbnail. */
body.blog #primary .ast-article-post .post-content,
body:is(.archive, .search) #primary .ast-article-post .post-content {
    display: grid;
    direction: rtl;
    grid-template-columns: 100px minmax(0, 1fr);
    column-gap: 16px;
    row-gap: 6px;
    align-content: start;
}
body.blog #primary .ast-article-post .post-content > *,
body:is(.archive, .search) #primary .ast-article-post .post-content > * {
    grid-column: 1 / -1;
}
body.blog #primary .ast-article-post .post-content > .cat-links,
body:is(.archive, .search) #primary .ast-article-post .post-content > .cat-links {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    align-self: start;
}
body.blog #primary .post-content > .webkaran-card-heading,
body:is(.archive, .search) #primary .post-content > .webkaran-card-heading {
    display: contents;
}
body.blog #primary .webkaran-card-heading .webkaran-card-thumbnail,
body:is(.archive, .search) #primary .webkaran-card-heading .webkaran-card-thumbnail {
    grid-column: 1;
    grid-row: 1 / 4;
    align-self: start;
}
body.blog #primary .webkaran-card-heading .entry-title,
body:is(.archive, .search) #primary .webkaran-card-heading .entry-title {
    grid-column: 2;
    grid-row: 2;
}
body.blog #primary .ast-article-post .post-content > .entry-header,
body:is(.archive, .search) #primary .ast-article-post .post-content > .entry-header {
    grid-column: 2;
    grid-row: 3;
    margin: 0 0 12px;
}
/* Compact author/date label in the upper-left corner of each post card. */
body:is(.blog, .archive, .search) #primary .ast-article-post .post-content {
    grid-template-rows: auto 1fr;
    align-items: start;
}
body:is(.blog, .archive, .search) #primary .ast-article-post .cat-links,
body:is(.blog, .archive, .search) #primary .webkaran-card-heading .entry-title {
    align-self: start;
}
body:is(.blog, .archive, .search) #primary .ast-article-post .post-content {
    position: static;
}
body:is(.blog, .archive, .search) #primary .ast-article-post .ast-article-inner {
    position: relative;
}
body:is(.blog, .archive, .search) #primary .ast-article-post .post-content > .entry-header {
    display: none;
}
body:is(.blog, .archive, .search) #primary .post-content > .webkaran-card-labels {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
body:is(.blog, .archive, .search) #primary .webkaran-card-labels .cat-links,
body:is(.blog, .archive, .search) #primary .webkaran-card-labels .entry-meta {
    margin: 0;
}
body:is(.blog, .archive, .search) #primary .ast-article-post .webkaran-card-inline-meta,
body:is(.blog, .archive, .search) #primary .ast-article-post .webkaran-card-inline-meta * {
    font-size: 10px;
}
body:is(.blog, .archive, .search) #primary .webkaran-card-inline-meta {
    column-gap: 0.25rem;
}
body:is(.blog, .archive, .search) #primary .ast-article-post .entry-header .entry-meta {
    margin: 0;
    line-height: 20px;
}
body:is(.blog, .archive, .search) #primary .webkaran-card-heading .webkaran-card-thumbnail {
    grid-row: 1 / 3;
}
#ast-scroll-top {
    width: 45px;
    height: 45px;
    line-height: 45px;
    padding: 0;
    border-radius: 50%;
}
/* Compact pagination matching the post cards. */
body #primary .ast-pagination {
    padding-top: 24px;
}
body #primary .ast-pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    direction: rtl;
}
body #primary .ast-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 40px;
    height: 40px;
    margin: 0;
    padding: 0 12px;
    border: 0;
    border-radius: 0.75rem;
    background: #fff;
    color: #666;
    font-family: 'IRANYekanXFaNum', Tahoma, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    box-shadow: none;
    transition: background-color .15s, border-color .15s;
}
body #primary .ast-pagination .prev.page-numbers,
body #primary .ast-pagination .next.page-numbers {
    box-sizing: border-box;
    width: 45px;
    min-width: 45px;
    height: 45px;
    padding: 4px;
    border-radius: 50%;
}
body #primary .ast-pagination .page-numbers:not(.prev):not(.next):not(.dots) {
    display: inline-grid;
    place-items: center;
    text-align: center;
    text-indent: 0;
    line-height: 1;
    font-weight: 700;
    box-sizing: border-box;
    width: 45px;
    min-width: 45px;
    height: 45px;
    padding: 4px;
    border-radius: 50%;
}
body #primary .ast-pagination a.page-numbers:hover {
    background: #f1f1f1;
    border-color: #ccc;
    color: #252525;
}
body #primary .ast-pagination .page-numbers.current {
    background: #2d67b2;
    border-color: #e5e5e5;
    color: #fff;
}
body #primary .ast-pagination a.page-numbers:focus-visible {
    outline: 2px solid #2874b8;
    outline-offset: 3px;
}
body #primary .ast-pagination .page-numbers.dots {
    background: transparent;
    border-color: transparent;
    padding: 0;
    min-width: 24px;
}
body #primary .ast-pagination .page-numbers svg {
    top: 0;
    width: 22px;
    height: 22px;
}
/* Search shares the card design while retaining three desktop columns. */
body.archive #content > .ast-container {
    padding-top: 0;
}
body.archive #content #primary {
    margin-top: 0;
}
body.archive #primary .ast-archive-description {
    width: 100%;
    max-width: none;
    padding: 0;
    background: transparent;
    margin-top: 2rem;
}
body.archive #primary .page-title {
    font-size: 14px;
    font-weight: 400;
    color: #666;
    text-align: center;
}
body.archive #primary .page-title > span {
    font-size: 20px;
    color: #252525;
}
body.category #primary .page-title,
body.category #primary .page-title > span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #252525;
    text-align: center;
}
body.category #primary .page-title {
    margin-bottom: 8px;
}
body:is(.search, .webkaran-monthly-archive) #primary .ast-archive-description {
    width: 100%;
    max-width: none;
    grid-column: 1 / -1;
    background: transparent;
    padding: 0;
}
body:is(.search, .webkaran-monthly-archive) #primary .ast-archive-title,
body:is(.search, .webkaran-monthly-archive) #primary .page-title {
    font-size: 14px;
    color: #666;
    font-weight: 400;
}
body:is(.search, .webkaran-monthly-archive) #primary .ast-archive-title > span,
body:is(.search, .webkaran-monthly-archive) #primary .page-title > span {
    font-size: 20px;
    color: #252525;
}
body:is(.search, .webkaran-monthly-archive) #primary .ast-article-post .entry-title {
    font-size: 14px;
}
body:is(.search, .webkaran-monthly-archive) #primary .ast-article-post .ast-excerpt-container,
body:is(.search, .webkaran-monthly-archive) #primary .ast-article-post .entry-content {
    font-size: 13px;
}
body:is(.search, .webkaran-monthly-archive) #primary .ast-article-post .ast-excerpt-container {
    padding-top: 4px;
    margin-top: -0.5rem;
}
body:is(.search, .webkaran-monthly-archive) #primary .ast-article-post .post-content {
    grid-template-columns: 80px minmax(0, 1fr);
}
body:is(.search, .webkaran-monthly-archive) #primary .webkaran-card-thumbnail,
body:is(.search, .webkaran-monthly-archive) #primary .webkaran-card-thumbnail img.webkaran-card-image {
    width: 80px;
    height: 80px;
}
body:is(.search, .webkaran-monthly-archive) #primary .webkaran-card-thumbnail {
    flex-basis: 80px;
}
body:is(.search, .webkaran-monthly-archive) #primary #main > .ast-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (min-width: 900px) and (width < 1199px) {
    body:is(.search, .webkaran-monthly-archive) #primary #main > .ast-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 991px) {
    body.blog #primary .ast-article-post .entry-title {
        font-size: 14px;
    }
    body.blog #primary .ast-article-post .ast-excerpt-container,
    body.blog #primary .ast-article-post .entry-content {
        font-size: 13px;
    }
}
@media (max-width: 899px) {
    body.blog #primary #main > .ast-row,
    body.category #primary #main > .ast-row,
    body:is(.search, .webkaran-monthly-archive) #primary #main > .ast-row {
        grid-template-columns: minmax(0, 1fr) !important;
    }
    body.blog #primary #main > .ast-row > .ast-article-post,
    body.category #primary #main > .ast-row > .ast-article-post,
    body:is(.search, .webkaran-monthly-archive) #primary #main > .ast-row > .ast-article-post {
        width: 100% !important;
        max-width: 100%;
    }
}
@media (max-width: 544px) {
    body.blog #primary #main > .ast-row,
    body:is(.archive, .search) #primary #main > .ast-row {
        grid-template-columns: minmax(0, 1fr);
    }
}
@media (max-width: 767px) {
    body #content .webkaran-home-header h1.entry-title,
    body #content .webkaran-single-header h1.entry-title,
    body.category #content #primary h1.page-title,
    body.category #content #primary h1.page-title > span {
        font-size: 1.25rem;
    }
}

#primary .entry-content .webkaran-code-block {
    position: relative;
}
#primary .entry-content pre.wp-block-code,
#primary .entry-content .webkaran-code-block > pre {
    max-height: 30rem;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-gutter: auto;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
#primary .entry-content pre.wp-block-code::-webkit-scrollbar,
#primary .entry-content .webkaran-code-block > pre::-webkit-scrollbar {
    width: 5px;
}
#primary .entry-content pre.wp-block-code::-webkit-scrollbar-thumb,
#primary .entry-content .webkaran-code-block > pre::-webkit-scrollbar-thumb {
    background-color: #bbb;
    border-radius: 999px;
}
#primary .entry-content pre.wp-block-code::-webkit-scrollbar-thumb:hover,
#primary .entry-content pre.wp-block-code::-webkit-scrollbar-thumb:active,
#primary .entry-content .webkaran-code-block > pre::-webkit-scrollbar-thumb:hover,
#primary .entry-content .webkaran-code-block > pre::-webkit-scrollbar-thumb:active {
    background-color: #aaa;
}
@supports not selector(::-webkit-scrollbar) {
    #primary .entry-content pre.wp-block-code,
    #primary .entry-content .webkaran-code-block > pre {
        scrollbar-width: thin;
        scrollbar-color: #bbb transparent;
    }
}
#primary .entry-content pre.wp-block-code > span {
    overflow: visible;
}
#primary .entry-content pre.wp-block-code code,
#primary .entry-content .webkaran-code-block > pre code {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
#primary .entry-content pre.wp-block-code .shcb-code-table {
    table-layout: fixed;
}
#primary .entry-content pre.wp-block-code .shcb-code-table > .shcb-loc:nth-child(even):not(mark) {
    background-color: #fafafa;
}
#primary .entry-content pre.wp-block-code .shcb-line-numbers > .shcb-loc::before {
    width: 4ch;
    vertical-align: top;
}
#primary .entry-content .webkaran-code-copy {
    position: absolute;
    top: calc(1rem - 12px);
    right: calc(1rem - 12px);
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #344054;
}
#primary .entry-content .webkaran-code-copy:hover {
    background: transparent;
}
#primary .entry-content .webkaran-code-copy,
#primary .entry-content .webkaran-code-copy:is(:hover, :focus, :active) {
    border: 0;
    box-shadow: none;
    outline: none;
}
#primary .entry-content .webkaran-code-copy:focus-visible svg {
    outline: 2px solid #2874b8;
    outline-offset: 2px;
}
#primary .entry-content .webkaran-code-status:not(:empty) {
    position: absolute;
    top: 0.625rem;
    right: 3.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    background: #fff;
    color: #344054;
    font-size: 0.75rem;
}

/* Sources in articles, separated from the main content. */
#primary .entry-content .webkaran-sources {
    border-top: 1px solid #ddd;
    margin-top: 24px;
    padding-top: 16px;
    font-size: 12px;
    line-height: 24px;
}
#primary .entry-content .webkaran-sources :is(h1, h2, h3, h4, h5, h6) {
    font-size: 13px;
    margin-top: 0;
    margin-bottom: 8px;
}
#primary .entry-content .webkaran-sources :is(p, li, a, span) {
    font-size: 12px;
}
#primary .entry-content .webkaran-sources :is(h1, h2, h3, h4, h5, h6) :is(span, a) {
    font-size: inherit;
}
#primary .entry-content .webkaran-sources a,
#primary .entry-content .webkaran-sources a:hover,
#primary .entry-content .webkaran-sources a:focus {
    text-decoration: none;
}
body.single-post #primary .entry-content p {
    margin-bottom: 16px;
}
body:is(.single-post, .page) #primary .entry-content > p:last-child,
body:is(.single-post, .page) #primary .entry-content > :last-child p:last-child {
    margin-bottom: 0;
}
@media (max-width: 767px) {
    body:is(.single-post, .page) #content .webkaran-single-header h1.entry-title {
        line-height: 1.65;
    }
}
#secondary .webkaran-tag-bricks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    direction: rtl;
}
#secondary .webkaran-tag-bricks a {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 4px 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    color: #666;
    font-size: 12px;
    line-height: 22px;
    text-decoration: none;
    overflow-wrap: anywhere;
    box-shadow: none;
}
#secondary .webkaran-tag-bricks a:hover {
    color: #2d68b2;
    border-color: #2d68b2;
}
body.single-post #primary .entry-content table tbody > tr:nth-child(odd) > :is(td, th) {
    background-color: #fafafa;
}
body.single-post #primary .entry-content :not(pre) > code:not(.hljs) {
    background-color: #fcecff;
}
#masthead #ast-desktop-header .main-header-menu .sub-menu > .menu-item:first-child > .menu-link {
    border-top-left-radius: .75rem;
}
body.single-post .entry-content .webkaran-fetch-diagram {
    margin: 24px auto;
    max-width: 480px;
}
body.single-post .entry-content .webkaran-fetch-diagram img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}
body.single-post #primary .entry-content .webkaran-fetch-diagram,
body.single-post #primary .entry-content .webkaran-fetch-diagram img {
    box-shadow: none !important;
    filter: none !important;
}
body.single-post #primary .entry-content figure.webkaran-fetch-diagram {
    width: min(100%, 600px) !important;
    max-width: 600px !important;
    margin: 24px auto !important;
}
body.single-post #primary .entry-content figure.webkaran-fetch-diagram > img {
    width: 100% !important;
    max-width: 600px !important;
    height: auto !important;
}
body.single-post #primary .entry-content figure.webkaran-axios-diagram {
    width: min(100%, 600px) !important;
    max-width: 600px !important;
    margin: 24px auto !important;
    box-shadow: none !important;
    filter: none !important;
}
body.single-post #primary .entry-content figure.webkaran-axios-diagram > img {
    display: block;
    width: 100% !important;
    max-width: 600px !important;
    height: auto !important;
    border-radius: 12px;
    box-shadow: none !important;
    filter: none !important;
}
body.single-post #primary .entry-content .webkaran-color-wheel {
    width: min(100%, 600px) !important;
    max-width: 600px !important;
    margin: 24px auto !important;
    box-shadow: none !important;
}
body.single-post #primary .entry-content .webkaran-color-wheel img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: none !important;
    filter: none !important;
}
body.postid-73 #primary .entry-content .wp-block-table table {
    width: 100%;
    table-layout: fixed;
}
body.postid-73 #primary .entry-content .wp-block-table tr > :is(th, td) {
    width: 50%;
    overflow-wrap: anywhere;
}
body.postid-73 #primary .entry-content .wp-block-table tr > :first-child {
    width: 40%;
}
body.postid-73 #primary .entry-content .wp-block-table tr > :nth-child(2) {
    width: 60%;
}
body.single-post #primary .entry-content .webkaran-article-image {
    width: min(100%, 600px) !important;
    max-width: 600px !important;
    margin: 24px auto !important;
    box-shadow: none !important;
}
body.single-post #primary .entry-content .webkaran-article-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: none !important;
    filter: none !important;
}
body.single-post #primary .entry-content .webkaran-article-image figcaption {
    margin-top: 8px;
    font-size: 12px;
    line-height: 24px;
    color: #666;
    direction: rtl;
    text-align: right;
}
body.single-post #primary .entry-content .webkaran-sources :is(h1, h2, h3, h4, h5, h6),
body.single-post #primary .entry-content .webkaran-sources :is(h1, h2, h3, h4, h5, h6) :is(span, a) {
    color: #454545 !important;
}
body.single-post #primary .entry-content :not(pre) > code[dir="ltr"] {
    display: inline-block;
    direction: ltr;
    unicode-bidi: isolate;
    text-align: left;
    background-color: #fcecff;
    padding: 2px 6px;
    border-radius: 4px;
}
body.single-post #primary .entry-content p.webkaran-formula {
    direction: ltr;
    text-align: left;
}
body.single-post #primary .entry-content p.webkaran-formula > code {
    font-size: 16px;
}
@media (max-width: 767px) {
    body.single-post #primary .entry-content p.webkaran-formula > code {
        font-size: 14px;
    }
}
body:is(.single-post, .page) #primary .entry-content p {
    margin-bottom: 0;
}
body.single-post #primary .entry-content figcaption a,
body.single-post #primary .entry-content figcaption a:hover,
body.single-post #primary .entry-content figcaption a:focus,
body.single-post #primary .entry-content .wp-caption-text a {
    text-decoration: none !important;
}
body a:hover {
    color: #4277ba;
}
body.single-post #primary .entry-content a:hover,
body.page #primary .entry-content a:hover,
#secondary .webkaran-tag-bricks a:hover,
#secondary .webkaran-post-details a:hover {
    color: #4277ba;
}
#page a:hover {
    color: #5f8cc4 !important;
}
#colophon .webkaran-footer-menu .sub-menu {
    display: none !important;
}
body.single-post #primary .entry-content .webkaran-sources :is(h1, h2, h3, h4, h5, h6) {
    margin-bottom: 0;
    padding-bottom: 0;
}
body:is(.single-post, .page) #primary .entry-content p:has(+ :is(pre.wp-block-code, .webkaran-code-block, .wp-block-code)) {
    margin-bottom: 12px;
}
body:is(.single-post, .page) #primary .entry-content p + :is(pre.wp-block-code, .webkaran-code-block, .wp-block-code) {
    margin-top: 0;
}
body:is(.blog, .archive, .search) #primary .ast-article-post .cat-links {
    gap: 5px;
}
#content .webkaran-listing-sort {
    display: flex;
    justify-content: center;
    margin: 16px 0 20px;
    direction: rtl;
}
#content .ast-archive-description .webkaran-listing-sort {
    margin-bottom: 0;
}
#content .webkaran-listing-sort select {
    appearance: none;
    width: auto;
    max-width: 100%;
    height: 40px;
    padding: 6px 12px 6px 32px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat left 10px center;
    font-size: 13px;
    color: #454545;
    box-shadow: none;
}
#content #primary .ast-archive-description .webkaran-category-description {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.875;
    color: #666;
    text-align: center;
    margin: 8px 0 0;
}
@media (max-width: 767px) {
    #content #primary .ast-archive-description .webkaran-category-description {
        font-size: 14px;
    }
}
#content .webkaran-listing-sort {
    align-items: center;
    gap: 8px;
}
#content .webkaran-listing-sort label {
    margin: 0;
    font-size: 13px;
    font-weight: 400;
    color: #666;
}
body.blog #primary .webkaran-home-intro > .webkaran-page-breadcrumbs {
    display: none;
}

@media (min-width: 1300px) {
    body.blog #primary .webkaran-home-intro,
    body.category #content #primary .ast-archive-description {
        display: grid;
        direction: rtl;
        grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
        align-items: flex-end;
        column-gap: 16px;
    }
    body.blog #primary .webkaran-home-intro {
        margin: 2rem 0 20px;
    }
    body.blog #content #primary .webkaran-home-intro > .webkaran-home-header {
        grid-area: 1 / 2;
        margin: 0 !important;
    }
    body.category #content #primary .ast-archive-description > .page-title {
        grid-area: 1 / 2;
        margin-bottom: 0;
    }
    body.category #primary .ast-archive-description > .webkaran-category-description {
        grid-area: 2 / 2;
    }
    body.blog #primary .webkaran-home-intro > .webkaran-page-breadcrumbs,
    body.category #primary .ast-archive-description > .webkaran-page-breadcrumbs {
        display: block;
        grid-area: 1 / 1 / span 2;
        justify-self: start;
        margin: 0;
    }
    body.blog #primary .webkaran-home-intro > .webkaran-page-breadcrumbs ol,
    body.category #primary .ast-archive-description > .webkaran-page-breadcrumbs ol {
        justify-content: flex-start;
    }
    body.blog #content #primary .webkaran-home-intro > .webkaran-listing-sort,
    body.category #content #primary .ast-archive-description > .webkaran-listing-sort {
        grid-area: 1 / 3 / span 2;
        justify-self: end;
        margin: 0;
    }
}

body.blog #content .webkaran-home-header .webkaran-home-description,
body.category #content #primary .ast-archive-description .webkaran-category-description {
    font-size: 14px;
}
#colophon .webkaran-footer-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin: 12px auto 16px;
    direction: rtl;
}
#colophon .webkaran-footer-tags a {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: transparent;
    color: #666;
    font-size: 12px;
    line-height: 22px;
    text-decoration: none;
    box-shadow: none;
}
body.tag #content #primary .ast-archive-description {
    text-align: center;
}
body.tag #content #primary :is(.page-title, .ast-archive-title),
body.tag #content #primary :is(.page-title, .ast-archive-title) > span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #454545;
    text-align: center;
}
body.tag #content #primary :is(.page-title, .ast-archive-title) {
    margin: 0 0 8px;
}
@media (max-width: 767px) {
    body.tag #content #primary :is(.page-title, .ast-archive-title),
    body.tag #content #primary :is(.page-title, .ast-archive-title) > span {
        font-size: 1.25rem;
        line-height: 1.65;
    }
}
#colophon .webkaran-footer-tags a,
#secondary .webkaran-tag-bricks a {
    background-color: #f9fbfd;
}
#colophon .webkaran-footer-navigation {
    margin-bottom: 0;
}
#colophon .webkaran-footer-navigation + .webkaran-footer-tags {
    margin-top: 16px;
}
#colophon .webkaran-last-updated {
    display: inline-block;
    margin-inline-start: 12px;
    color: #999;
    font-size: 12px;
}
#colophon .webkaran-last-updated {
    margin-inline-start: 0;
}
#colophon .webkaran-last-updated::before {
    content: "|";
    display: inline-block;
    margin-inline: 8px;
}
body.single-post #primary .entry-content figcaption,
body.single-post #primary .entry-content .wp-caption-text {
    line-height: 20px;
}body.single-post #primary .entry-content .webkaran-article-image figcaption {
    line-height: 20px;
}
body.single-post #primary .entry-content hr.webkaran-logo-separator {
    width: 100%;
    max-width: none;
    height: 0;
    margin: 24px 0;
    padding: 0;
    border: 0;
    border-top: 1px solid #ddd;
    background: none;
    box-shadow: none;
}
body.single-post #primary .entry-content p:has(+ p.webkaran-formula) {
    margin-bottom: 10px;
}
body.single-post #primary .entry-content p + p.webkaran-formula {
    margin-top: 0;
}
body.single-post #primary .entry-content p.webkaran-definition {
    background-color: #fcecff;
    padding: 12px;
    border-radius: 8px;
    box-shadow: none;
}
body.single-post #primary .entry-content p.webkaran-definition {
    background: transparent;
    padding: 0;
    border-radius: 0;
}
body.single-post #primary .entry-content .webkaran-definition-highlight {
    background-color: #fcecff;
    padding: 2px 3px;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}
#primary .webkaran-article-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #ddd;
    direction: rtl;
    font-size: 13px;
    color: #666;
}
#primary .webkaran-share-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
#primary .webkaran-share-actions :is(a, button) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 4px 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f9fbfd;
    color: #666;
    font-size: 12px;
    font-weight: 400;
    line-height: 22px;
    text-decoration: none;
    box-shadow: none;
    cursor: pointer;
}
#primary .webkaran-share-actions :is(a, button):hover {
    color: #5f8cc4;
}
#primary .webkaran-share-feedback {
    flex-basis: 100%;
    font-size: 12px;
    line-height: 20px;
}
#primary .webkaran-share-feedback[hidden],
#primary .webkaran-share-copy-fallback[hidden] {
    display: none;
}
#primary .webkaran-share-copy-fallback {
    display: block;
    width: 100%;
    margin-top: 8px;
    font-size: 12px;
}
#primary .webkaran-article-share {
    border-top: 0;
    border-bottom: 1px solid #ddd;
    padding-top: 0;
    padding-bottom: 16px;
}
#primary .webkaran-share-actions :is(a, button) {
    width: 36px;
    height: 36px;
    min-height: 36px;
    padding: 7px;
}
#primary .webkaran-share-actions svg {
    display: block;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}
#primary .webkaran-article-share {
    padding-top: 16px;
}
#primary .webkaran-article-share {
    margin-top: 0;
    padding-top: 16px;
}
#content .webkaran-search-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: center;
    gap: 12px;
    margin: 16px 0 0;
    direction: rtl;
    text-align: right;
}
#content .webkaran-search-filters > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
#content .webkaran-search-filters label {
    font-size: 12px;
    font-weight: 400;
    color: #666;
}
#content .webkaran-search-filters :is(input, select) {
    width: 200px;
    max-width: 100%;
    height: 40px;
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #fff;
    color: #454545;
    font-size: 13px;
    box-shadow: none;
}
#content .webkaran-search-filters select {
    appearance: none;
    padding-left: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 10px center;
}
#content .webkaran-search-filters button {
    height: 40px;
    padding: 6px 16px;
    border-radius: 10px;
    font-size: 13px;
    background-color: #2d68b2;
    color: #fff;
    box-shadow: none;
}
#content .webkaran-search-filters .webkaran-search-reset {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    font-size: 12px;
}
@media (max-width: 767px) {
    #content .webkaran-search-filters > div { flex: 1 1 180px; }
    #content .webkaran-search-filters :is(input, select) { width: 100%; }
}
body.single-post #primary .entry-content .webkaran-article-toc {
    margin: 16px 0 24px;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #f9fbfd;
    direction: rtl;
    text-align: right;
    box-shadow: none;
}
body.single-post #primary .entry-content .webkaran-article-toc summary {
    color: #454545;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
body.single-post #primary .entry-content .webkaran-article-toc ul {
    margin: 12px 0 0;
    padding: 0 18px 0 0;
    list-style: disc;
}
body.single-post #primary .entry-content .webkaran-article-toc li {
    margin: 0 0 6px;
    font-size: 13px;
    line-height: 24px;
}
body.single-post #primary .entry-content .webkaran-article-toc li:last-child {
    margin-bottom: 0;
}
body.single-post #primary .entry-content .webkaran-article-toc .webkaran-toc-level-3 {
    margin-inline-start: 16px;
}
body.single-post #primary .entry-content .webkaran-article-toc a {
    text-decoration: none;
}
body.single-post #primary .entry-content :is(h2, h3)[id] {
    scroll-margin-top: 80px;
}
#page #comments .ast-comment-edit-reply-wrap :is(.comment-reply-link, .comment-edit-link):hover,
#page #comments .ast-comment-edit-reply-wrap :is(.comment-reply-link, .comment-edit-link):hover * {
    color: #fff !important;
}
@media (max-width: 767px) {
    #primary #comments .comment-reply-title {
        font-size: 14px;
    }
}
#page #comments .ast-comment-edit-reply-wrap :is(.comment-reply-link, .comment-edit-link) {
    font-size: 12px;
}
@media (max-width: 767px) {
    #primary .webkaran-related-posts h2 {
        font-size: 14px;
    }
}
#colophon .webkaran-footer-navigation .webkaran-footer-menu :is(.current-menu-item, .current-menu-parent, .current-menu-ancestor) > a {
    color: #454545;
}
body.single-post #primary .entry-content a,
body.single-post #primary .entry-content a:hover,
body.single-post #primary .entry-content a:focus {
    text-decoration: none !important;
}
/* Reduce article heading spacing by 8px from the active theme spacing. */
body.single-post #primary .entry-content :is(h1, h2, h3, h4, h5, h6) {
    margin-bottom: calc(0.3em + 2px);
}
body.single-post #primary .entry-content .webkaran-sources :is(h1, h2, h3, h4, h5, h6) {
    margin-bottom: 0;
}

/* Keep Perelman's portrait compact beside the proof section. */
body.single-post #primary .entry-content .webkaran-perelman-section > .webkaran-article-image {
    width: 270px !important;
    max-width: 40% !important;
    float: right;
    margin: 0 0 12px 16px !important;
}
/* Equal columns for Perelman's portrait and the proof text. */
body.single-post #primary .entry-content .webkaran-perelman-section {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 16px;
    align-items: start;
}
body.single-post #primary .entry-content .webkaran-perelman-section > .webkaran-article-image {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 270px !important;
    max-width: 100% !important;
    float: none;
    margin: 0 !important;
}
body.single-post #primary .entry-content .webkaran-perelman-section > :is(h2, p) {
    grid-column: 2;
    min-width: 0;
}
body.single-post #primary .entry-content .webkaran-perelman-section > .webkaran-article-image {
    justify-self: center;
}
body.single-post #primary .entry-content .webkaran-perelman-section > .webkaran-article-image {
    grid-row: 1;
}
body.single-post #primary .entry-content .webkaran-perelman-section > .webkaran-perelman-text {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
}
body.single-post #primary .entry-content .webkaran-perelman-text > h2:first-child {
    margin-top: 0;
}
/* Space the paragraph immediately before Perelman's portrait section. */
body.single-post #primary .entry-content > p:has(+ .webkaran-perelman-section) {
    margin-bottom: 12px !important;
}
body.single-post #primary .entry-content .webkaran-perelman-section {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}
body.single-post #primary .entry-content .webkaran-perelman-section > .webkaran-perelman-text {
    align-self: center;
}
@media (min-width: 1300px) {
    body.single-post #primary .entry-content .webkaran-perelman-section {
        max-width: 70%;
    }
}
@media (max-width: 991px) {
    body.single-post #primary .entry-content .webkaran-perelman-section {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 16px;
    }
    body.single-post #primary .entry-content .webkaran-perelman-section > .webkaran-article-image {
        grid-column: 1;
        grid-row: 1;
    }
    body.single-post #primary .entry-content .webkaran-perelman-section > .webkaran-perelman-text {
        grid-column: 1;
        grid-row: 2;
    }
}
/* Compact line spacing in article sources. */
body.single-post #primary .entry-content .webkaran-sources,
body.single-post #primary .entry-content .webkaran-sources :is(p, li, a, span, h1, h2, h3, h4, h5, h6) {
    line-height: 20px;
}
body.single-post #primary .entry-content .webkaran-react-person {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin: 16px 0;
}
body.single-post #primary .entry-content .webkaran-react-person-photo {
    width: 100px !important;
    height: 100px !important;
    min-width: 100px;
    flex: 0 0 100px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: none !important;
}
body.single-post #primary .entry-content .webkaran-react-person-text {
    flex: 1;
    min-width: 0;
}
/* Match comment text to the author name at every avatar size. */
#comments {
    --webkaran-comment-avatar-width: 50px;
    --webkaran-comment-author-gap: 12px;
}
#comments .ast-comment-info {
    column-gap: var(--webkaran-comment-author-gap);
    padding-right: 0;
}
#comments .ast-comment-avatar-wrap {
    flex-basis: var(--webkaran-comment-avatar-width);
    width: var(--webkaran-comment-avatar-width);
    min-width: var(--webkaran-comment-avatar-width);
}
#comments section.ast-comment-content.comment {
    padding-right: calc(var(--webkaran-comment-avatar-width) + var(--webkaran-comment-author-gap));
    padding-left: 0;
    margin-right: 0;
}
@media (max-width: 379px) {
    #comments {
        --webkaran-comment-avatar-width: 45px;
    }
}
/* One, two and three small strokes identify nested reply levels. */
#comments li.depth-2 > .ast-comment {
    --webkaran-reply-mark-width: 2px;
}
#comments li.depth-3 > .ast-comment {
    --webkaran-reply-mark-width: 7px;
}
#comments li.depth-4 > .ast-comment {
    --webkaran-reply-mark-width: 12px;
}
#comments :is(li.depth-2, li.depth-3, li.depth-4) > .ast-comment > .ast-comment-info > .ast-comment-meta > .ast-comment-cite-wrap::after {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: var(--webkaran-reply-mark-width);
    height: 10px;
    margin-inline-start: 6px;
    background: repeating-linear-gradient(to left, #2d68b2 0 2px, transparent 2px 5px);
}
/* A quiet lead paragraph, using the blog's blue accent and RTL alignment. */
body.single-post #primary .entry-content > p.webkaran-article-intro {
    margin-block: 0 24px;
    padding: 1rem;
    border: 0;

    border-radius: .75rem;
    background: #ebf7ff;
    color: #263c55;
    line-height: 2.15;
    overflow-wrap: anywhere;
}
body.single-post #primary .entry-content > p.webkaran-article-intro a {
    text-decoration: underline;
    text-decoration-color: #a7c3e5;
    text-underline-offset: 4px;
}
@media (max-width: 544px) {
    body.single-post #primary .entry-content > p.webkaran-article-intro {
        padding: 0 1rem 0 0;
        border-radius: 0;
        margin-block-end: 20px;
    }
}
