.adbnr {display:none;}
        :root {
            --primary-color: #3498db;
            --secondary-color: #2c3e50;
            --background-light: #f4f7f6;
            --text-dark: #333;
            --text-light: #fff;
            --card-bg: #fff;
            --shadow-light: 0 4px 12px rgba(0, 0, 0, 0.05);
            --shadow-hover: 0 6px 20px rgba(0, 0, 0, 0.1);
            --txt-font: "Yrsa", "vilna";
            --sans101-font: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
            --down-arrow-svg:white;
        }
        body { 
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; 
            line-height: 1.6;  
            margin: 0; 
            padding: 0; 
        }
        .a-resources-layout { position: relative; z-index: 1; }
        .a-feature-bg {
            position: fixed;
            inset: 0;
            z-index: -1;
            pointer-events: none;
            opacity: 0;
            overflow: hidden;
            transition: opacity 0.35s ease;
        }
        .a-feature-bg.is-visible { opacity: 0.38; }
        .a-feature-bg-image {
            display: block;
            width: 100vw;
            height: 100%;
            margin: 0 auto;
            object-fit: contain;
            object-position: center 150px;
            filter: blur(95px);
            transform: scale(1.12);
            mask-image: linear-gradient(to bottom, black 30%, transparent 90%);
        }
        body.has-feature-bg::after {
            content: "";
            background-image: var(--feature-bg-url);
            position: absolute;
            max-width: 1900px;
            width:100%;
            margin:0 auto;
            padding:0;
            height: 100%;
            left: 50%;
            transform: translateX(-50%);
            top: 0;
            z-index: -1;
            opacity: 0.4;
            filter: blur(95px);
            background-repeat: no-repeat;
            background-size: 900px;
            background-position: center;
            mix-blend-mode:hard-light;
            background-position-y: 150px;
            mask-image: linear-gradient(to bottom, black 30%, rgba(0, 0, 0, 0));
            background-attachment: fixed;
            position: fixed;
        }
        main {
            max-width: 1200px;
        }
        .container {  margin: 40px auto;margin-top: 10px; }
        #posts-list-view {
            max-width: 1200px;
            margin:0 auto;
            margin-top:10px;
        }
        header { text-align: center; margin-bottom: 40px; }
        
       
        #search-input::placeholder { color: #ffffff7a; }
        #tags-container { display: flex; flex-wrap: wrap; gap: 8px; min-height: 20px; }
        .search-tag { display: inline-flex; align-items: center; gap: 8px; background-color: var(--primary-color); color: white; fill: white; padding: 6px 12px; border-radius: 20px; font-size: 14px; font-weight: 500; animation: slideIn 0.3s ease-out; }
        @keyframes slideIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
        .search-tag-remove { cursor: pointer; font-size: 18px; font-weight: bold; background: none; border: none; color: white; padding: 0; margin: 0; display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; transition: 0.2s; }
        .search-tag-remove:hover { transform: scale(1.2); color: #ffcccc; }
        h1 { color: var(--secondary-color); font-size: 2.5em; }
        #posts-container { 
            display: flex;
            flex-wrap: wrap;
            flex-direction: row-reverse;
            gap: 25px;
            max-width: 1200px;
            margin: auto;
            justify-content: center;
            align-items: stretch;
        }
        .post-card { 
            flex: 1 1 calc(33% - 25px);
            background-color: #ffffff0d; 
            border-radius: 20px; 
            box-shadow: var(--shadow-light); 
            overflow: hidden; 
            transition: 0.3s ease-in-out;
            max-width: 420px;
            outline: 0px #9cdfff00 solid;
            display: flex;
            flex-direction: column; }
        .post-card:hover { box-shadow: var(--shadow-hover);    outline: 1px #9cdfffc4 solid;}
        .post-image { width: 100%; height: 250px; object-fit: cover;transition: 0.2s; }

        .post-card:hover  { 
            transform: translateY(-2px); 
            box-shadow: var(--shadow-hover); 
        }

        .post-card-skeleton {
            min-height: 350px;
            border: 1px solid rgba(255, 255, 255, 0.08);
            background: rgba(255, 255, 255, 0.035);
            box-shadow: none;
        }

        .post-card-skeleton:hover {
            transform: none;
            box-shadow: none;
            outline: 0;
        }

        .post-card-skeleton-image,
        .post-card-skeleton-body span,
        .post-card-skeleton-meta span {
            position: relative;
            overflow: hidden;
            background: rgba(255, 255, 255, 0.09);
            border-radius: 6px;
        }

        .post-card-skeleton-image::after,
        .post-card-skeleton-body span::after,
        .post-card-skeleton-meta span::after {
            position: absolute;
            inset: 0;
            content: '';
            transform: translateX(-100%);
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
            animation: postSkeletonShimmer 1.5s ease-in-out infinite;
        }

        .post-card-skeleton-image { width: 100%; height: 210px; flex: 0 0 auto; }
        .post-card-skeleton-body { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: 16px; }
        .post-card-skeleton-body .post-card-skeleton-title { width: 74%; height: 22px; }
        .post-card-skeleton-body .post-card-skeleton-line { width: 100%; height: 12px; }
        .post-card-skeleton-body .post-card-skeleton-line.is-short { width: 62%; }
        .post-card-skeleton-meta { display: flex; justify-content: space-between; gap: 16px; margin-top: auto; }
        .post-card-skeleton-meta span { width: 34%; height: 12px; }
        .post-card-skeleton-meta span + span { width: 22%; }

        .post-content { 
            padding: 15px;
            text-wrap-style: pretty;
            text-align: start;
            display: flex;
            flex-direction: column;
            flex: 1; 
            font-family: var(--element-font);
        }
        .post-title {margin-block:0; color: white; font-size: 1.3em; font-weight: 500; }
        .post-title a:hover { text-decoration: underline; }
        .post-preview { margin-top: 8px; margin-bottom: 6px; font-size: 13px; color: #bbb; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .post-meta-row { 
            display: flex;
            gap: 12px;
            align-items: center;
            justify-content: space-between;
            margin-top: auto; }
        .post-tags { font-size: 0.9em;
    color: #ffffff5b; }
        .post-tags b { color:#ffffff50;font-weight: normal; margin-right:0px;margin-left:5px; }
        .post-date { font-size: 0.9em; color: #7f8c8d; margin: 0; white-space: nowrap; }
        .loading-message, .error-message, .no-posts-message { text-align: center; font-style: italic; color: #95a5a6; padding: 50px; }
        #single-post-view { 
            margin:0 auto;
            max-width: 700px;
            display: none;text-align: start; }
        #single-post-content { background-color: #0000000d; padding: 30px; border-radius: 20px; }
        .post-header-single { text-align: center; padding-bottom: 20px; }

        .post-skeleton {
            display: flex;
            flex-direction: column;
            gap: 18px;
            min-height: 680px;
        }

        .post-skeleton-image,
        .post-skeleton-title,
        .post-skeleton-meta,
        .post-skeleton-lines span {
            position: relative;
            overflow: hidden;
            background: rgba(255, 255, 255, 0.09);
            border-radius: 8px;
        }

        .post-skeleton-image::after,
        .post-skeleton-title::after,
        .post-skeleton-meta::after,
        .post-skeleton-lines span::after {
            position: absolute;
            inset: 0;
            content: '';
            transform: translateX(-100%);
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.13), transparent);
            animation: postSkeletonShimmer 1.5s ease-in-out infinite;
        }

        .post-skeleton-image { aspect-ratio: 16 / 9; width: 100%; }
        .post-skeleton-title { height: 48px; width: 78%; margin: 8px auto 0; }
        .post-skeleton-meta { height: 14px; width: 42%; }
        .post-skeleton-lines { display: flex; flex-direction: column; gap: 13px; margin-top: 8px; }
        .post-skeleton-lines span { display: block; height: 18px; width: 100%; }
        .post-skeleton-lines span:nth-child(2) { width: 94%; }
        .post-skeleton-lines span:nth-child(3) { width: 98%; }
        .post-skeleton-lines span:nth-child(4) { width: 88%; }
        .post-skeleton-lines span.short { width: 60%; }

        @keyframes postSkeletonShimmer {
            100% { transform: translateX(100%); }
        }

        .post-title-single {
            color: white;
            font-size: 2.5em;
            margin: 0px;
            text-align: center;
            font-family: var(--txt-font);
            font-weight: 700;
            letter-spacing: 0.02em;
            line-height: 1.1;
            background: linear-gradient(0deg, #0f253aed 50%, transparent 100%);
            padding: 30px 0 30px 0;
            backdrop-filter: blur(1px);
            transition: opacity 0.5s, transform 0.5s;
        }
        .post-content-single p img{ max-width: 100%;border-radius: 8px; }

         .post-content-single table {
            width: 100%;
            border-collapse: collapse;
            margin-block: 1em;
            border-spacing: 0;
            border: 1px solid #0000001f;
            border-radius: 8px;
            overflow: hidden;
         }
         .post-content-single table thead {
                background: #0000001f;
         }
            .post-content-single table th, .post-content-single table td {
                border: 1px solid #0000001f;
                padding: 8px;
                text-align: left;
                font-size: 18px;
                font-family: var(--txt-font);
            }
                    
        .post-meta-single { font-size: 10px; color: #7f8c8d;margin:0; }
        .post-meta-tags-wrapper { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 12px; flex-wrap: wrap; }
        .post-image-single { width: 100%; height: auto; border-radius: 8px; }
        .post-content-single { padding: 0px 0; text-align: justify;}
        .post-content-single h1, .post-content-single h2, .post-content-single h3 { color:var(--body-color);font-family: var(--txt-font);margin-bottom:0.3em;line-height: normal; }
        .post-content-single hr {border: 2px solid #ffffff45;border-radius: 3px;}
        .post-content-single p { margin-bottom: 1em;font-size: 24px;font-family:var(--txt-font);text-align: start; }
        .post-content-single p a { color: var(--primary-color); }
        .post-content-single figure { margin: 20px auto; max-width: 100%;  }
        .post-content-single figure img { max-width: 100%; height: auto; display: block; margin: 0 auto; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
        .post-content-single figcaption { font-size: 0.9em; color: #777; margin-top: 5px; font-style: italic;font-family: var(--sans101-font); }
        .post-content-single blockquote { border-left: 4px solid var(--primary-color); padding-left: 15px; margin-left: 0; font-style: italic;  }
        .post-content-single ul, .post-content-single ol { padding-left: 20px; }
        .post-content-single ul, .post-content-single li {font-family: var(--txt-font);font-size: 24px;margin-inline-start: 10px;}
        .post-content-single pre { background-color: #2d2d2d; color: #f8f8f2; padding: 15px; border-radius: 4px; overflow-x: auto; white-space: pre-wrap; word-wrap: break-word; }
        .post-content-single code {
            background: #00000094;
            padding: 4px 7px;
            border-radius: 5px;
            font-family: monospace;
            font-size: 0.7em;
        }
        .post-content-single a.btnlink {
            display: inline-block;
            padding: 4px 20px 7px 20px;
            background-color: var(--primary-color);
            color: #fff;
            text-decoration: none;
            border-radius: 5px;
            transition: 0.3s;
            outline: 0px #ffffff00 solid;
        }
        .post-content-single a.btnlink:active {
            transform: scale(0.98);
        }
        .post-content-single a.redirect {
            position: relative;
            padding-right: 20px;
        }

        .post-content-single a.redirect svg {
            transform: translate(4px, 9px);
            fill:#fff;
            transition: 0.2s;
        }

        .post-content-single a.redirect:hover svg {
            transform: translate(8px, 9px);
        }
        
        .post-content-single a.btnlink:hover {
            background-color: #297fb900;
            outline: 1px #ffffffc4 solid;
        }
        .back-link {     
            display: inline-block;
            margin-block: 20px;
            color: var(--main-mid);
            text-decoration: none;
            font-weight: bold;
            background: #ffffff0d;
            padding: 6px 20px;
            border-radius: 15px; 
            transition: 0.2s;
        }
        .back-link:hover { background: #0000002f; }
        .back-link svg {
            fill: var(--main-mid);
            height: 20px;
            margin-bottom: -4.45px;
            margin-inline: -5px;
            transition: 0.2s;
        }

        .back-link:hover svg {
            transform: translate(-3px);
        }

        .poll-question img {
            max-width: 100%;
            height: auto;
            display: block;
            margin: 0 auto;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            margin-bottom: 10px
        }

        .poll-like, .poll-dislike, .poll-yes, .poll-no {
            background:#00000000;
            color:#fff;
            border:1px solid #ffffff45;
            padding:8px 18px;
            border-radius:8px;
            font-size:1em;
            cursor:pointer;
            transition: 0.3s;
        }

        .poll-actions .poll-like:hover, .poll-actions .poll-dislike:hover, .poll-actions .poll-yes:hover, .poll-actions .poll-no:hover {
            background: #ffffff1a;
            color:#fff;
        }
        

       .poll-like svg, .poll-dislike svg {
            fill: white;
            height: 20px;
            margin-top: -3px;
            transition: 0.2s;
            background:transparent;
        }
        .poll-like:hover, .poll-dislike:hover {
            background: #0000002f;
        }
        .poll-like:hover {
            background: rgba(0, 128, 0, 0.4);
        }
        .poll-dislike:hover {
            background: rgba(255, 0, 0, 0.4);
        }

        .poll-no.active, .poll-yes.active {
                background: #ffffff;
                color: var(--body-bgcolor);
        }
                
        .poll-box {
        margin-block:20px;
            background:#00000033;
            border-radius:12px;
            padding:18px 16px;
            box-shadow:0 2px 12px #0001;
            width:100%;
            text-align: center;
        }

        .poll-actions {
            display: flex;
            gap: 10px;
            align-items: center;
            justify-content: center;
        }

        .poll-question p {
            margin-block:5px;
        }

        /* comments */

        #comments-section:before {
            background: #ffffff21;
            height: 6px;
            width: 100%;
            position: relative;
            display: flex;
            content: "";
            border-radius: 30px;
            margin-bottom: 10px;
        }

        .comment-item {
            margin-block:15px;
            padding:12px 16px;
            background:#00000042;
            border-radius:8px;box-shadow:0 2px 8px #0001;
        }

        #new-comment-box {
            background:#00000042;
            padding:10px;
            border-radius:8px;
            margin-bottom:12px;
        }

        #user-name-input, #new-comment-text, .reply-text, .edit-comment-text {
            width: 100%;
            padding: 8px;
            border-radius: 6px;
            border: none;
            margin-block: 4px;
            background: #00000042;
            color: #fff;
            font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
            transition: 0.2s
        }

        #user-name-input {margin-top:0;}

        #new-comment-text {
            min-height: 60px;
        }

        #add-comment-btn {
            margin-top: 8px;
            padding: 8px 14px;
            border-radius: 8px;
            background: #0000002f;
            color: #fff;
            cursor: pointer;
            transition: 0.2s;
            border: 1px solid transparent;

        }

        #add-comment-btn:hover {
            background: #ffffff0d;
            border: 1px solid  #fff;
        }

        .reply-btn, .post-reply-btn, .save-edit-btn, .cancel-edit-btn {
            border:none;
            outline:none;
            background:#ffffff0d;
            color:#fff;
            font-size:1em;
            cursor:pointer;
            transition: 0.3s;
            padding: 6px 12px;
            border-radius: 8px;
            transition: 0.3s;
            text-decoration: none;
        }

        .reply-btn:hover {
            background: #ffffff21;
        }

        .comment-replies {
            border-inline-start: 3px solid rgba(255, 255, 255, 0.3);
        }

        .comment-like-btn svg {
            fill: #3498db;
        }
        .comment-like-btn:hover svg {
            fill: #fff;
        }

        .edit-btn, .comment-like-btn, .delete-btn {
            background: #0000;
            color: #3498db;
            border: 1px solid #3498db;
            border-radius: 18px;
            padding: 7px 11px;
            cursor: pointer;
            height: 30px;
            transition: 0.2s;
        }
        .edit-btn:hover, .comment-like-btn:hover, .delete-btn:hover {
            background: #3498db;
            color: #fff;
        }

        .edit-btn, .delete-btn { display:none;}

        button#copy-text {
            background: #ffffff3d;
            border: none;
            appearance: none;
            border-radius: 8px;
            padding: 6px;
            height: 31px;
            font-size: 8px;
            margin: 5px;
            transition: 0.2s;
            border: 1px solid #ffffff;
        }
        button#copy-text:hover {
            background: #3498db;
            color: #fff;
        }
        button#copy-text svg.copy-icon {
            height: 18px;
            fill:white;
        }
        

        @media screen and (min-width: 700px) {
            .post-title-single {
                position: fixed;
                left: 50%;
                bottom: 0;
                transform: translateX(-50%);
                width: 100%;
                max-width: 700px;
                z-index: 100;
                pointer-events: none;
                margin-top: -50px;
                padding-top: 50px;
                padding-bottom:10px;
            }
            .post-title-single.fade-out {
                opacity: 0;
                transform: translateX(-50%) translateY(100px);
            }
        }
        @media screen and (max-width: 699px) {
            .container {margin-top: 80px;}
            .post-card { flex: 1 1 100%; }
            .post-title-single {position: static;width: 100%;background: none;padding: 0.5em 0 0.5em 0;opacity: 1 !important;transform: none !important;padding-top:0px;}
            .post-content-single p { line-height: 1.6; font-size: 20px; }
            #single-post-content { padding: 14px;margin-top:0px; }
            #posts-container { gap: 15px; }
            .post-skeleton { min-height: 520px; }
            .post-skeleton-title { width: 90%; }
        }

        
        @media print {
            nav, .nav-fade, a.back-link, #back-to-blog  {display:none;}
            body[noheader]:has(nav .nav-subrow.show) main {
    padding-top: 0px !important;}
        }