/* Single post content with left and right sidebar */

.bl-sidebar {
    margin: 0;
}

.bl-sidebar.bl-sidebar--left {
    position: absolute;
    left: 0;
    width: clamp(140px, 18vw, 280px);
}

.bl-sidebar.bl-sidebar--right {
    position: absolute;
    right: 0;
    width: clamp(140px, 18vw, 280px);
}

.bl-sidebar details {
    background-color: color-mix(in srgb, var(--post-fg) 20%, var(--post-bg) 50%);
    border-radius: 15px;
    
}



.bl-sidebar details summary {
    padding: 15px 20px;
}
.bl-sidebar details p {
    margin-top: 0px;
    padding: 20px 20px;
}

.bl-sidebar.bl-sidebar--right details p {
    font-size: var(--wp--preset--font-size--rg);
}
.bl-sidebar.bl-sidebar--left details p {
    font-family: var(--wp--preset--font-family--baola-sans);
    font-size: var(--wp--preset--font-size--rg);
}


/* =========== Ends mark =========== */




.wp-block-pullquote {
    color: var(--post-accent);
}

.wp-block-quote {
    position: relative;
}

.wp-block-quote::before {
    content: "“";
    
    position: absolute;
    
    font-size: 350px;
    line-height: 1;

    top: -25px;
    left: -20px;
    
    color: var(--post-accent);
    opacity: 0.15;
}


.has-drop-cap:not(:focus)::first-letter {
    font-size: 4em;
    color: var(--post-accent);
    position: relative;
    z-index: 1;
}


.entry-content .has-start-mark {
    position: relative;
}

.entry-content .has-start-mark::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 80px;
    height: 80px;
    
    background-color: color-mix(in srgb, var(--post-accent) 25%, transparent);
    
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M463.7 21 361.2 50.81l41.5-28.09c-26.2 5.92-59.3 17.5-100.9 36.19l-67.9 70.79L258 80.25c-23.3 12.96-48 29.95-71.8 49.85l-15.8 64.3-3.4-47.6c-23.5 21.6-45.6 45.6-63.9 70.9-19.23 26.5-34.26 54.5-41.79 82.4l-28.12-18.8c2.52 23.7 10.31 44.3 23.09 63.2l-33.62-10.3c7.64 23.5 20.13 38.7 41.25 51C52.08 418.5 44.96 456.3 39 491l23-22C97.61 257.1 230.9 142.8 367 82.72L355 108c-118.576 58.089-195.162 138.386-246.9 271.2 18.1.1 35.8-2.1 52.2-6.3l4.9-60.9 13.1 55.5c10.9-4 20.9-8.8 29.8-14.4l-20.7-43.5 32.8 34.8c8-6.4 14.6-13.6 19.6-21.5 30.4-47.5 62.2-94.7 124.8-134.2l-45.7-16.2 70.1 2.1c11.4-5.8 23.4-12.9 32.5-19.6l-49.7-4 74.7-17.6c5.8-5.8 11.2-11.9 16.1-18 17.3-21.94 29-44.78 26.2-65.55-1.3-10.39-7.5-20.16-17.6-25.63-2.5-1.3-5.2-2.45-7.5-3.22'/></svg>") center / contain no-repeat;
    
    z-index: 0;
}


.entry-content .has-article-end::after {
    content: "";

    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 3px;

    margin-left: 6px;
    position: relative;
    bottom: -2px;

    background-color: var(--post-accent);

    -webkit-mask: url("data:image/svg+xml;utf8,<svg viewBox='0 0 2000 2000' xmlns='http://www.w3.org/2000/svg'><path d='M2000 0v2000H0V0zM954.531 500 500 1500h98.875l155.375-341.878h392.622L1302.283 1500H1500L1045.467 500zm-3.968 226.25 155.404 341.872H795.188z'/></svg>") center / contain no-repeat;

    mask: url("data:image/svg+xml;utf8,<svg viewBox='0 0 2000 2000' xmlns='http://www.w3.org/2000/svg'><path d='M2000 0v2000H0V0zM954.531 500 500 1500h98.875l155.375-341.878h392.622L1302.283 1500H1500L1045.467 500zm-3.968 226.25 155.404 341.872H795.188z'/></svg>") center / contain no-repeat;
    
    opacity: 0.75;
}



.entry-content .has-section-end::after {
    content: "";

    display: block;

    width: 100%;
    max-width: 720px;

    height: 100px;

    margin: 1.5em auto;
    
    background-color: var(--post-accent);
    
    -webkit-mask: url("data:image/svg+xml;utf8,<svg viewBox='0 0 1389 449' xmlns='http://www.w3.org/2000/svg'><path fill='currentColor' d='M284.446 363.043c10.236 8.056-9.083 11.613-12.789 4.938-4.028-7.255-31.757-12.238-66-13.077-49.49-1.213-109.31 5.918-143.046 16.102-33.737 10.184-42.007 22.677-26.328 32.212 33.466 20.351 151.398 25.16 256.795 20.211 157.608-7.402 263.687-25.955 400.735-48.494l20.415-14.002c9.503-6.517 22.522-16.553 51.186-21.373 23.29-3.917 51.24-4.095 61.934-2.044 6.755 1.297 5.861 3.319 3.37 5.405-7.502 6.285-34.729 15.087-71.191 23.016-18.226 3.965-30.392 8.257-35.001 12.349l-7.061 6.272c77.21-15.785 41.328-8.236 98.76-19.128 265.48-50.353 566.351-38.658 571.823 7.357 2.187 18.372-43.893 40.348-131.623 51.854-52.651 6.907-124.204 10.356-169.13 5.104-53.49-6.254-76.681-21.266-25.066-35.53 19.757-5.461 48.301-9.576 77.285-11.48 88.112-5.784 144.234 16.04 80.592 26.246-18.232 2.923-43.996 4.098-56.19.929-5.23-1.36-7.163-3.58-3.976-5.632 5.875-3.783 15.131-1.655 25.114-1.066 5.706.337 12.888.194 18.729-.71 23.034-3.558 10.276-10.458-2.771-12.483-15.397-2.388-38.777-3.127-60.58-2.242-26.778 1.086-45.272 3.616-60.892 9.068-42.313 14.773-6.444 28.935 61.738 30.008 65.57 1.031 139.149-9.632 179.75-22.493 28.106-8.902 37.81-18.37 36.689-27.575-2.843-23.34-93.052-33.738-195.247-34.997-81.995-1.01-150.4 3.014-233.199 13.718-77.582 10.03-65.87 8.394-220.256 36.384l-12.947 11.514c-15.996 14.222-47.696 22.609-85.448 22.609-45.58 0-32.985-10.886 29.202-25.235 20.808-4.802 37.463-10.254 41.4-13.552 6.513-5.455 5.691-5.358-72.465 8.443-164.375 29.028-314.862 40.573-451.582 34.642-54.93-2.383-106.455-7.66-134.543-17.455-28.04-9.778-31.726-23.813-1.448-36.707 35.543-15.137 109.453-26.647 181.822-26.4 33.877.115 57.107 2.679 71.48 8.081 3.765-22.096 5.786-34.36 10.813-59.336-17.31-10.08-27.546-22.539-33.808-41.799l27.555 8.442c-10.475-15.49-16.859-32.374-18.925-51.798l23.047 15.409c6.172-22.868 18.49-45.816 34.251-67.535 14.999-20.736 33.111-40.406 52.371-58.11l2.787 39.014 12.95-52.7c19.506-16.31 39.75-30.235 58.846-40.857l-19.751 40.529 55.65-58.02c34.094-15.317 61.223-24.808 82.697-29.66l-34.014 23.023L612.964-.001c1.885.632 4.097 1.574 6.146 2.639 8.278 4.484 13.36 12.49 14.426 21.006 2.294 17.023-7.295 35.743-21.474 53.724-4.016 5-8.442 10-13.195 14.754l-61.224 14.424 40.733 3.279c-7.458 5.49-17.293 11.31-26.636 16.064l-57.454-1.721 37.456 13.277c-51.306 32.374-77.369 71.058-102.284 109.99-4.099 6.474-9.508 12.374-16.064 17.62l-26.884-28.521 16.966 35.652c-7.295 4.59-15.49 8.524-24.424 11.802l-10.736-45.487-4.016 49.913c-13.442 3.441-27.949 5.245-42.783 5.163 42.404-108.853 105.174-174.664 202.357-222.273l9.835-20.72c-110.658 48.85-219.05 141.432-249.263 312.459m511.778-20.663c-16.392 1.252-39.507 8.58-47.082 14.924-8.486 7.108 5.512 6.548 29.475-1.18 25.276-8.153 34.05-15.001 17.607-13.744M644.92 414.605c21.866-7.053 31.081-13.287 19.639-13.287-9.395 0-55.704 12.808-60.336 16.688-6.043 5.062 21.622 2.75 40.696-3.402z'/></svg>") center / contain no-repeat;


    mask: url("data:image/svg+xml;utf8,<svg viewBox='0 0 1389 449' xmlns='http://www.w3.org/2000/svg'><path fill='currentColor' d='M284.446 363.043c10.236 8.056-9.083 11.613-12.789 4.938-4.028-7.255-31.757-12.238-66-13.077-49.49-1.213-109.31 5.918-143.046 16.102-33.737 10.184-42.007 22.677-26.328 32.212 33.466 20.351 151.398 25.16 256.795 20.211 157.608-7.402 263.687-25.955 400.735-48.494l20.415-14.002c9.503-6.517 22.522-16.553 51.186-21.373 23.29-3.917 51.24-4.095 61.934-2.044 6.755 1.297 5.861 3.319 3.37 5.405-7.502 6.285-34.729 15.087-71.191 23.016-18.226 3.965-30.392 8.257-35.001 12.349l-7.061 6.272c77.21-15.785 41.328-8.236 98.76-19.128 265.48-50.353 566.351-38.658 571.823 7.357 2.187 18.372-43.893 40.348-131.623 51.854-52.651 6.907-124.204 10.356-169.13 5.104-53.49-6.254-76.681-21.266-25.066-35.53 19.757-5.461 48.301-9.576 77.285-11.48 88.112-5.784 144.234 16.04 80.592 26.246-18.232 2.923-43.996 4.098-56.19.929-5.23-1.36-7.163-3.58-3.976-5.632 5.875-3.783 15.131-1.655 25.114-1.066 5.706.337 12.888.194 18.729-.71 23.034-3.558 10.276-10.458-2.771-12.483-15.397-2.388-38.777-3.127-60.58-2.242-26.778 1.086-45.272 3.616-60.892 9.068-42.313 14.773-6.444 28.935 61.738 30.008 65.57 1.031 139.149-9.632 179.75-22.493 28.106-8.902 37.81-18.37 36.689-27.575-2.843-23.34-93.052-33.738-195.247-34.997-81.995-1.01-150.4 3.014-233.199 13.718-77.582 10.03-65.87 8.394-220.256 36.384l-12.947 11.514c-15.996 14.222-47.696 22.609-85.448 22.609-45.58 0-32.985-10.886 29.202-25.235 20.808-4.802 37.463-10.254 41.4-13.552 6.513-5.455 5.691-5.358-72.465 8.443-164.375 29.028-314.862 40.573-451.582 34.642-54.93-2.383-106.455-7.66-134.543-17.455-28.04-9.778-31.726-23.813-1.448-36.707 35.543-15.137 109.453-26.647 181.822-26.4 33.877.115 57.107 2.679 71.48 8.081 3.765-22.096 5.786-34.36 10.813-59.336-17.31-10.08-27.546-22.539-33.808-41.799l27.555 8.442c-10.475-15.49-16.859-32.374-18.925-51.798l23.047 15.409c6.172-22.868 18.49-45.816 34.251-67.535 14.999-20.736 33.111-40.406 52.371-58.11l2.787 39.014 12.95-52.7c19.506-16.31 39.75-30.235 58.846-40.857l-19.751 40.529 55.65-58.02c34.094-15.317 61.223-24.808 82.697-29.66l-34.014 23.023L612.964-.001c1.885.632 4.097 1.574 6.146 2.639 8.278 4.484 13.36 12.49 14.426 21.006 2.294 17.023-7.295 35.743-21.474 53.724-4.016 5-8.442 10-13.195 14.754l-61.224 14.424 40.733 3.279c-7.458 5.49-17.293 11.31-26.636 16.064l-57.454-1.721 37.456 13.277c-51.306 32.374-77.369 71.058-102.284 109.99-4.099 6.474-9.508 12.374-16.064 17.62l-26.884-28.521 16.966 35.652c-7.295 4.59-15.49 8.524-24.424 11.802l-10.736-45.487-4.016 49.913c-13.442 3.441-27.949 5.245-42.783 5.163 42.404-108.853 105.174-174.664 202.357-222.273l9.835-20.72c-110.658 48.85-219.05 141.432-249.263 312.459m511.778-20.663c-16.392 1.252-39.507 8.58-47.082 14.924-8.486 7.108 5.512 6.548 29.475-1.18 25.276-8.153 34.05-15.001 17.607-13.744M644.92 414.605c21.866-7.053 31.081-13.287 19.639-13.287-9.395 0-55.704 12.808-60.336 16.688-6.043 5.062 21.622 2.75 40.696-3.402z'/></svg>") center / contain no-repeat;

    opacity: 0.5;
}



/* =========Mobile=========== */


@media (max-width: 1250px) {
.bl-sidebar {
    position: static !important;
    width: auto !important;
    padding: 0px !important;
    margin-bottom: 1em !important;
    }

.bl-sidebar details p {
    margin-top: 0px;
}



/* ===Aniamation====== */
.bl-sidebar .wp-block-details::details-content {
    display: block;
    block-size: 0;
    overflow: hidden;
    transition-property: block-size, content-visibility;
    transition-duration: 0.5s;
    transition-behavior: allow-discrete;
}

.bl-sidebar .wp-block-details[open]::details-content {
    block-size: auto;
    block-size: calc-size(auto, size);
}

}

@media (min-width: 1251px) {
.bl-sidebar details summary {
    pointer-events: none;
    display: none;
  }

}