/*
Theme Name: Neveshtan
Text Domain: neveshtan
Version: 2.2.16
Theme URI: https://github.com/eaoui/Neveshtan
Author: Neveshtan contributors on Github
Author URI: https://github.com/eaoui/Neveshtan/graphs/contributors
License: GNU Affero General Public License v3.0
License URI: https://github.com/eaoui/Neveshtan/blob/main/LICENSE
Description: A blog theme developed to be minimal, fast and standard... <a href="https://github.com/eaoui/Neveshtan/">Learn more</a>
Tags: blog, responsive, free, minimal, modern, mobile-first, fast, material-design, grid-style, customizable, rtl-language-support, footer-widgets, custom-color, translation-ready, one-culomn, block-patterns
*/

html {
    font-family: "SelectedFontFamily", Tahoma, Sans-serif;
    font-weight: normal;
    font-size: 14px;
    line-height: 1.8;
    -webkit-text-size-adjust: 100%;
}

body{
    margin:0;

    background:
        linear-gradient(
            rgba(230,235,240,.92),
            rgba(230,235,240,.92)
        ),
        url('images/abstract-grunge-texture-with-dark-stains-white-space_1194-638433.avif');

    background-size:cover;
    background-position:center;
    background-attachment:fixed;

    color:#222;
}

a {
    text-decoration: none;
    color: #1E88E5;
    background: none;
}

a:hover {
    color: #0D47A1;
}

a img {
    border: 0;
}

form {
    margin: 0 auto;
}

form input,
form textarea,
form select {
    font-family: "SelectedFontFamily", Tahoma, Sans-serif;
    -o-transition: all 0.2s;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    transition: all 0.2s;
}

form input[type="text"],
form input[type="password"],
form input[type="email"],
form input[type="search"],
form input[type="url"],
form input[type="submit"],
form input[type="button"],
form input[type="reset"],
form button {
    height: 40px;
    outline: none;
}

form textarea {
    outline: none;
}

form .input {
    margin: 16px 0;
    border: 2px solid #9e9e9e;
    border-radius: 24px;
}

form .checkbox input,
form .checkbox label {
    vertical-align: middle;
}

form .input label {
    position: absolute;
    display: block;
    line-height: 20px;
    transform-origin: top left;
    -ms-transform: translate(12px, 10px);
    -webkit-transform: translate(12px, 10px);
    -moz-transform: translate(12px, 10px);
    transform: translate(12px, 10px);
    -o-transition: all 0.2s;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    transition: all 0.2s;
    color: #616161;
    padding: 0 8px;
    background-color: #F5F5F5;
    border-radius: 100%;
}

form .input.active {
    border-color: #616161;
}

form .input.active label {
    -ms-transform: translate(24px, -12px);
    -webkit-transform: translate(24px, -12px);
    -moz-transform: translate(24px, -12px);
    transform: translate(24px, -12px);
    font-size: 0.76rem;
    color: #424242;
}

form .input input {
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: none;
    height: 40px;
    padding: 0 16px;
    background: none;
    border-radius: 20px;
}

h1 {
    font-weight: normal;
    font-size: 2.2rem;
}

h2 {
    font-weight: bold;
    font-size: 1.8rem;
    color: #212121;
}

h3 {
    font-weight: bold;
    font-size: 1.6rem;
    color: #616161;
}

h4 {
    font-weight: bold;
    font-size: 1.4rem;
    color: #9e9e9e;
}

h5 {
    font-weight: bold;
    font-size: 1.2rem;
    color: #bdbdbd;
}

h6 {
    font-weight: bold;
    font-size: 1rem;
    color: #bdbdbd;
}

.container {
    margin: 0 16px;
}

header {
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: #263238;
    z-index: 18;
    top: 0;
    overflow: hidden;
}

header a {
    display: inline-block;
}

header .site-title {
    display: inline-block;
    margin: auto;
    padding: 0;
    line-height: 48px;
    font-size: 1.2rem;
    color: #cfd8dc;
    font-weight: normal;
    white-space: nowrap;
    -o-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

header .site-title:hover {
    color: #000000;
}

header svg {
    -o-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

header #menu,
header #search {
    padding: 12px;
    fill: #cfd8dc;
    cursor: pointer;
}

header #menu:hover,
header #search:hover {
    fill: #fff;
}

header #menu {
    float: left;
    margin-right: 12px;
    width: 24px;
    height: 24px;
}

header #menu #close-icon {
    display: none;
}

header #search {
    float: right;
    width: 24px;
    height: 24px;
}

header .custom-logo {
    vertical-align: middle;
    padding: 6px 8px;
}

.nav-drawer {
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    padding-top: 48px;
    height: 100%;
    background-color: #fafafa;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    min-width: 240px;
    max-width: 320px;
    z-index: 16;
    box-shadow: 0 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12);
    -o-transition: all 0.2s ease-in;
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
    -ms-transform: translate(-100%, 0);
    -webkit-transform: translate(-100%, 0);
    -moz-transform: translate(-100%, 0);
    transform: translate(-100%, 0);
    overflow-y: auto;
}

.nav-drawer ul {
    list-style: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 24px 0;
    margin: 0;
}

.nav-drawer ul.user-panel {
    border-bottom: 1px solid #e0e0e0;
}

.nav-drawer ul .current-menu-item,
.nav-drawer ul .current_page_item {
    opacity: 0.5;
    background-color: #f5f5f5;
}

.nav-drawer ul li {
    display: block;
    padding: 0 12px;
    margin-top: 4px;
}

.nav-drawer ul li img {
    vertical-align: middle;
    border-radius: 100%;
    margin-right: 8px;
}

.nav-drawer ul li svg {
    vertical-align: middle;
    width: 24px;
    height: 24px;
    fill: #9E9E9E;
    margin-right: 8px;
}

.nav-drawer ul li ul {
    display: none;
    background-color: #f5f5f5;
}

.nav-drawer ul li ul li {
    display: block;
}

.nav-drawer ul li ul li ul {
    display: none;
    background-color: #eee;
}

.nav-drawer ul li ul li ul li:hover {
    background-color: #e0e0e0;
}

.nav-drawer ul li ul li:hover {
    background-color: #eee;
}

.nav-drawer ul li:hover {
    background-color: #f5f5f5;
}

.nav-drawer ul li a {
    line-height: 48px;
    font-size: 0.96rem;
    color: #424242;
    padding: 0 4px;
    display: block;
}

.nav-drawer ul li a:hover {
    color: #000;
}

.nav-drawer {
    scrollbar-width: thin;
    scrollbar-color: #E0E0E0 #fafafa;
}

.nav-drawer::-webkit-scrollbar {
    width: 6px;
}

.nav-drawer::-webkit-scrollbar-track {
    background: #fafafa;
}

.nav-drawer::-webkit-scrollbar-thumb {
    background: #E0E0E0;
}

.nav-drawer::-webkit-scrollbar-thumb:hover {
    background: #BDBDBD;
}

.menu-item-has-children a:not(:last-child),
.page_item_has_children a:not(:last-child) {
    background-image: url("assets/images/expand.svg");
    background-repeat: no-repeat;
    background-position: center right;
    padding-right: 20px;
}

.search-box {
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: absolute;
    top: 0;
    z-index: 20;
    -ms-transform: translate(0, -100%);
    -webkit-transform: translate(0, -100%);
    -moz-transform: translate(0, -100%);
    transform: translate(0, -100%);
    -o-transition: all 0.2s;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    transition: all 0.2s;
}

.search-box form input[type="search"] {
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    height: 48px;
    padding-left: 16px;
    padding-right: 16px;
    font-size: 1.1rem;
    border: 0;
}

.search-box form input::-webkit-input-placeholder,
.search-box form input::-ms-input-placeholder,
.search-box form input::-moz-placeholder,
.search-box form input::placeholder,
.search-box form input[placeholder] {
    color: #9e9e9e;
}

.search-box form input[type="submit"] {
    display: none;
}

.nav-tabs {
    list-style: none;
    margin: 0;
    overflow-x: auto;
    white-space: nowrap;
    text-align: center;
    -ms-overflow-style: none;
    scrollbar-width: none;
    top: 48px;
    background-color: #eee;
    padding: 0 36px;
    z-index: 14;
}

.nav-tabs::-webkit-scrollbar {
    display: none;
}

.nav-tabs li {
    display: inline-block;
    margin: 0 4px;
    font-size: 0.9rem;
    min-width: 64px;
    -o-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.nav-tabs li a {
    color: #616161;
    display: block;
    padding: 0 8px;
    line-height: 40px;
    -o-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.nav-tabs li a:hover {
    color: #2196f3;
}

.nav-tabs li ul {
    display: none;
    position: absolute;
    background-color: #fafafa;
    margin: 0;
    padding: 0;
    z-index: 14;
    margin-left: -8px;
    box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);
    text-align: left;
}

.nav-tabs li ul li {
    display: block;
    margin: 0;
}

.nav-tabs li ul li ul {
    display: none;
    background-color: #f5f5f5;
    top: 0;
    left: 100%;
    margin: 0;
}

.nav-tabs li ul li ul li:hover {
    background-color: #eee;
}

.nav-tabs li ul li:hover {
    background-color: #f5f5f5;
}

.nav-tabs .current_page_item,
.nav-tabs .current-menu-item {
    background-color: #F5F5F5;
}

.nav-tabs .current_page_item a,
.nav-tabs .current-menu-item a {
    color: #212121;
}

main {
    display: grid;
    grid-gap: 16px;
    grid-template-columns: 1fr;
    padding: 8px 0;
    margin: 16px;
}

main article {
    align-self: start;
    background-color: #fafafa;
    border-radius: 8px;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 1;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 2px 1px -1px rgba(0, 0, 0, 0.12);
    -o-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    word-break: break-word;
}

main article:hover {
    z-index: 4;
    background-color: #fff;
    box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);
}

main article .featured-image {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #eee;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    height: 192px;
    border-radius: 8px 8px 0 0;
}

main article .featured-image .post-category {
    float: right;
    background: rgba(255, 255, 255, 0.7);
    min-width: 96px;
    text-align: center;
    border-radius: 0 8px 0 20px;
    -o-transition: all 0.2s;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    transition: all 0.2s;
}

main article .featured-image .post-category:hover {
    background: rgba(255, 255, 255, 0.9);
}

main article .featured-image .post-category a {
    display: block;
    line-height: 32px;
    padding: 0 16px;
    color: #212121;
    font-size: 0.86rem;
}

main article .content {
    padding: 16px;
}

main article h3 {
    padding: 0;
    margin: 0;
    font-size: 1.2rem;
    color: #000;
    font-weight: normal;
    line-height: 1.6;
}

main article h3:hover,
main article h3:focus,
main article h3:active {
    text-decoration: underline;
}

main article .post-info {
    color: #9e9e9e;
    font-size: 0.78rem;
}

main article p {
    font-size: 0.86rem;
    margin: 0;
    padding: 8px 0;
    color: #616161;
}

main article .bottom {
    padding-top: 8px;
    height: 36px;
}

main article .bottom .read-more {
    float: right;
    border-radius: 8px;
    text-align: center;
    opacity: 0.86;
}

main article .bottom .read-more a {
    display: block;
    padding: 0 16px;
    line-height: 36px;
    font-size: 0.8rem;
    color: #fff;
}

main article .bottom .read-more:hover,
main article .bottom .read-more:focus {
    opacity: 0.9;
}

main article .bottom .read-more:active {
    opacity: 1;
}

main article .bottom .comment-count {
    line-height: 36px;
    font-size: 0.8rem;
}

main article .bottom .comment-count svg {
    vertical-align: middle;
    opacity: 0.2;
    width: 24px;
    height: 24px;
    -ms-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    -moz-transform: scaleX(-1);
    transform: scaleX(-1);
}

main article.sticky .content p,
main article.sticky .content .bottom {
    display: none;
}

main section {
    align-self: start;
}

.pagination {
    height: 36px;
    font-size: 0.94rem;
}

.pagination .op {
    background-color: #E0E0E0;
    border-radius: 12px;
    opacity: 0.7;
}

.pagination .op a {
    color: #9E9E9E;
    font-weight: 600;
    padding: 0 24px;
    line-height: 36px;
    display: block;
    font-size: 0.92rem;
}

.pagination .op:hover {
    opacity: 1;
}

.pagination #older-posts {
    float: right;
}

.pagination #newer-posts {
    float: left;
}

article .post-information {
    font-size: 0.9rem;
    display: block;
    color: #9e9e9e;
}

article .post-categories {
    text-align: right;
    padding-top: 8px;
    font-size: 0.88rem;
}

article .post-categories li {
    display: inline-block;
    border-radius: 32px;
    border: 1px solid #BDBDBD;
    opacity: 0.7;
    margin-left: 8px;
}

article .post-categories li a {
    display: inline-block;
    line-height: 32px;
    padding: 0 16px;
    color: #212121;
}

article .post-categories li:hover {
    opacity: 1;
}

article img {
    max-width: 100%;
    height: auto;
}

blockquote {
    font-size: 1.1rem;
    color: #757575;
    margin: 12px 0;
    padding: 12px 24px;
    border-left: 4px solid #424242;
}

pre {
    overflow: auto;
}

.alignright {
    text-align: right;
    margin-left: auto;
}

.wp-block-code {
    display: block;
    padding: 16px;
    background-color: #37474f;
    border-radius: 4px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    color: #fafafa;
    direction: ltr;
    text-align: left;
    font-size: 0.86rem;
}

code {
    background-color: #37474f;
    color: #fafafa;
    border-radius: 4px;
    padding: 4px;
    direction: ltr;
    white-space: normal;
}

figcaption {
    font-size: 0.9rem;
    color: #9e9e9e;
    text-align: center;
}

.comments {
    max-width: 576px;
    margin: 64px auto;
}

.comments h4 {
    text-align: center;
}

.comments .bubble {
    background-color: #fff;
    border-radius: 32px 32px 32px 0;
    padding: 8px 16px;
    border: 2px solid #e0e0e0;
    line-height: 24px;
    margin-top: 16px;
}

.comments .bubble p {
    color: #212121;
    font-size: 0.92rem;
}

.comments .bubble .reply {
    font-size: 0.8rem;
    text-align: right;
    padding-right: 12px;
}

.comments .comment-info {
    color: #757575;
    font-size: 0.7rem;
    margin: 8px 0;
    line-height: 32px;
}

.comments .comment-info img {
    border-radius: 100%;
    vertical-align: middle;
    width: 32px;
    height: 32px;
    background-color: #eee;
}

.comments .comment-info strong {
    font-size: 0.9rem;
    line-height: 32px;
}

.comments .children {
    padding-left: 16px;
}

.comments h5 {
    line-height: 48px;
    font-weight: normal;
    margin: 36px 12px 0 12px;
    display: inline-block;
}

.comments form {
    max-width: 384px;
    font-size: 0.9rem;
    margin: 24px auto;
}

.comments form input,
.comments form textarea {
    font-size: 0.94rem;
}

.comments form textarea {
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    max-width: 384px;
    border: 2px solid #9e9e9e;
    padding: 16px 16px;
    border-radius: 32px 32px 0 32px;
    background-color: #fafafa;
    min-height: 160px;
}

.comments form textarea:focus {
    background-color: #fff;
    border-radius: 0;
    border-color: #616161;
}

.comments form .form-submit {
    text-align: center;
}

.comments form .form-submit input {
    min-width: 120px;
    border-radius: 20px;
    border: none;
    background-color: #616161;
    color: #fafafa;
    cursor: pointer;
}

.comments form .form-submit input:hover,
.comments form .form-submit input:focus {
    background-color: #424242;
    color: #fff;
    border-radius: 8px;
}

.page {
    background-color: #fafafa;
    margin: 16px;
    z-index: 1;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 2px 1px -1px rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    padding: 24px 0;
}

footer {
    margin-top: 48px;
    background-color: #263238;
    padding: 24px 0 12px 0;
    color: #cfd8dc;
    font-size: 0.92rem;
}

footer a {
    color: #90CAF9;
}

footer a:hover {
    color: #E3F2FD;
}

footer .backtotop {
    float: right;
    margin-right: 24px;
    margin-top: -48px;
    padding: 12px;
    width: 24px;
    height: 24px;
    border-radius: 20px;
    background-color: #607d8b;
    fill: #cfd8dc;
    cursor: pointer;
    z-index: 4;
    box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);
    -o-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

footer .backtotop:hover {
    fill: #fff;
}

footer main {
    margin-top: 0;
}

footer h2 {
    font-size: 1.5rem;
}

footer h6 {
    margin: 16px 0;
}

footer h1,
footer h2,
footer h3,
footer h4,
footer h5,
footer h6 {
    color: #fafafa;
}

footer .wp-block-latest-comments {
    padding: 0;
}

footer article footer {
    padding: 16px;
}

.search-result form input[type="search"] {
    height: 48px;
    width: 100%;
    box-sizing: border-box;
    margin-top: 24px;
    font-size: 1.1rem;
    padding-left: 16px;
    padding-right: 108px;
    border-radius: 4px;
    border: 1px solid #E0E0E0;
}

.search-result form input[type="search"]:focus {
    border-color: #2196F3;
}

.search-result form input[type="submit"] {
    position: absolute;
    margin-top: 28px;
    border: none;
    background-color: #EEEEEE;
    width: 96px;
    margin-left: -100px;
    border-radius: 4px;
    cursor: pointer;
    color: #9E9E9E;
    font-size: 0.9rem;
}

.search-result form input[type="submit"]:hover {
    background-color: #E0E0E0;
    color: #757575;
}

.search-result p {
    font-size: 0.86rem;
    color: #616161;
}

article.page {
    padding: unset;
    margin: unset;
}

article.page .bottom {
    display: none;
}

@media only screen and (min-width: 400px) {
    html {
        font-size: 15px;
    }

    main {
        margin: 16px auto;
        max-width: 368px;
    }

    main article .featured-image {
        height: 216px;
    }
}

@media only screen and (min-width: 600px) {
    html {
        font-size: 16px;
    }

    main {
        grid-template-columns: 1fr 1fr;
        max-width: none;
        margin: 16px;
    }

    main article.sticky {
        grid-column: span 2;
    }

    main article .featured-image {
        height: 168px;
    }
}

@media only screen and (min-width: 720px) {
    .container {
        max-width: 640px;
        margin: 0 auto;
    }

    main {
        grid-gap: 24px;
        margin: 24px;
    }

    main article .featured-image {
        height: 192px;
    }

    .page {
        margin: 24px;
    }
}

@media only screen and (min-width: 840px) {

    main,
    .page {
        margin: 24px auto;
        max-width: 792px;
    }

    main article .featured-image {
        height: 200px;
    }
}

@media only screen and (min-width: 960px) {
    header {
        padding: 8px 12px;
    }

    header #menu {
        margin-right: 36px;
    }

    .nav-drawer {
        padding-top: 64px;
        height: 100%;
    }

    .search-box {
        width: 280px;
        right: 16px;
    }

    .search-box form input[type="search"] {
        height: 40px;
        line-height: 40px;
        font-size: .96rem;
        margin: 12px 0;
        border-radius: 4px;
    }

    .search-box form input[type="search"]:hover,
    .search-box form input[type="search"]:focus,
    .search-box form input[type="search"]:active {
        opacity: 1;
    }

    .nav-tabs li {
        padding: 0 8px;
    }

    main {
        grid-template-columns: 1fr 1fr 1fr;
        max-width: none;
        margin: 24px;
    }

    main article.sticky {
        grid-column: span 2;
    }

    main article {
        opacity: 0.95;
    }

    main article:hover {
        opacity: 1;
    }

    main article .featured-image {
        height: 144px;
    }

    main article.sticky .featured-image {
        height: 288px;
    }
}

@media only screen and (min-width: 1024px) {
    html {
        font-size: 17px;
    }

    .container {
        max-width: 720px;
    }

    main,
    .page {
        margin: 24px auto;
        max-width: 960px;
    }

    main article .featured-image {
        height: 168px;
    }

    main article.sticky .featured-image {
        height: 326px;
    }
}

@media only screen and (min-width: 1440px) {
    html {
        font-size: 18px;
    }

    .container {
        max-width: 920px;
    }

    main,
    .page {
        max-width: 1152px;
    }

    main article .featured-image {
        height: 192px;
    }

    main article.sticky .featured-image {
        height: 384px;
    }
}

@media only screen and (min-width: 1920px) {
    html {
        font-size: 19px;
    }

    .container {
        max-width: 1024px;
    }

    main {
        max-width: 1440px;
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    main article .featured-image {
        height: 168px;
    }

    main article.sticky .featured-image {
        height: 326px;
    }

    .page {
        max-width: 1440px;
    }
}

.darken {
    display: none;
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 15;
    cursor: pointer;
}

.sticky-element {
    position: -webkit-sticky;
    position: sticky;
}

.relative {
    position: relative !important;
    top: auto !important;
}

.transform {
    visibility: visible !important;
    -ms-transform: translate(0, 0) !important;
    -webkit-transform: translate(0, 0) !important;
    -moz-transform: translate(0, 0) !important;
    transform: translate(0, 0) !important;
}

.display-block {
    display: block !important;
}

.avoid-scroll {
    overflow: hidden !important;
}

.add-collapse-icon {
    background-image: url("assets/images/collapse.svg") !important;
}

#wpadminbar {
    position: absolute !important;
}

/* ========================= */
/* CUSTOM BLOG LAYOUT */
/* ========================= */

/* รูปหน้าปกทุกโพสต์ */
main article .featured-image {
    height: 150px !important;
    background-size: cover !important;
    background-position: center center !important;
}

/* ซ่อน Category */
main article .featured-image .post-category {
    display: none !important;
}

/* ซ่อน Author + Date */
main article .post-info {
    display: none !important;
}

/* ซ่อนข้อความรายละเอียด */
main article p {
    display: none !important;
}

/* ซ่อน Comment */
main article .comment-count {
    display: none !important;
}

/* ซ่อนปุ่ม More */
main article .read-more {
    display: none !important;
}

/* ซ่อนแถบล่างทั้งหมด */
main article .bottom {
    display: none !important;
}

/* ปรับ title */
main article h3 {
    text-align: center;
    margin: 0;
    padding: 8px;

    font-size: 14px;
    font-weight: 700;

    line-height: 1.25;
}

/* ความสูงกล่องเท่ากัน */
main article {
    display: flex;
    flex-direction: column;
}

/* เหลือเฉพาะ title */
main article .content {
    padding: 0;
    min-height: auto;
}


.video-tags{
    margin-top:20px;
    margin-bottom:20px;
}

.video-tag{
    display:inline-block;
    background:#111827;
    color:#fff !important;
    text-decoration:none;
    padding:6px 12px;
    margin:4px;
    border-radius:20px;
    font-size:13px;
    font-weight:600;
}

.video-tag:hover{
    background:#2563eb;
}


/* สมมติว่า class ของการ์ดคือ .post-card (คุณต้องปรับให้ตรงกับ class ในธีม) */
.post-card {
    transition: all 0.3s ease-in-out;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); /* เงาเริ่มต้นแบบบางๆ */
}

.post-card:hover {
    transform: translateY(-8px); /* ลอยขึ้นเบาๆ */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15); /* เงาเข้มและกว้างขึ้นเมื่อ hover */
}

/* เพิ่ม Effect ให้รูปภาพซูมเข้าเล็กน้อยเมื่อ hover การ์ด */
.post-card img {
    transition: transform 0.5s ease;
}
.post-card:hover img {
    transform: scale(1.05);
}




/* จัดการกล่องคลุมโพสต์ให้เป็น Grid 4 คอลัมน์ */
.posts {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px; /* ปรับระยะห่างระหว่างการ์ดได้ตามใจชอบ */
}

/* ทำให้การ์ดแต่ละใบความกว้างเต็มช่อง 100% */
.posts article {
    width: 100% !important;
    margin: 0 !important; /* ล้างค่า margin เดิมที่ธีมอาจจะตั้งไว้ */
}

/* -------------------------------------
   การตั้งค่าสำหรับหน้าจอมือถือและแท็บเล็ต (Responsive)
-------------------------------------- */

/* แท็บเล็ต (หน้าจอไม่เกิน 1024px) ให้ลดเหลือ 3 คอลัมน์ */
@media screen and (max-width: 1024px) {
    .posts {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* มือถือแนวนอน (หน้าจอไม่เกิน 768px) ให้ลดเหลือ 2 คอลัมน์ */
@media screen and (max-width: 768px) {
    .posts {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* มือถือแนวตั้ง (หน้าจอไม่เกิน 480px) ให้เหลือ 1 คอลัมน์ */
@media screen and (max-width: 480px) {
    .posts {
        grid-template-columns: 1fr !important;
    }
}



.site-footer{
    background:#1f2d38;
    padding:25px 20px;
    text-align:center;
}

.footer-links{
    margin-bottom:10px;
}

.footer-links a{
    color:#ffffff;
    text-decoration:none;
    margin:0 8px;
    font-size:14px;
}

.footer-links a:hover{
    color:#4da3ff;
}

.footer-links span{
    color:#888;
}

.footer-copyright{
    color:#bdbdbd;
    font-size:13px;
}



header{
    display:flex;
    align-items:center;
}

.custom-menu{
    flex:1;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:40px;
}

.custom-menu{
    display:flex;
    gap:60px;
    justify-content:center;
    align-items:center;
}

.custom-menu a{
    color:#ffffff;
    text-decoration:none;
    font-size:24px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:1px;

    text-shadow:
        2px 2px 0 #000,
        3px 3px 0 #000;
}

.custom-menu a:hover{
    color:#ffcc00;
}


.header-search{
    display:flex;
    align-items:center;
    margin-right:20px;
}

.header-search input{
    width:220px;
    height:36px;
    padding:0 12px;
    border:none;
    border-radius:20px 0 0 20px;
    outline:none;
}

.header-search button{
    width:42px;
    height:36px;
    border:none;
    cursor:pointer;
    border-radius:0 20px 20px 0;
    background:#ffffff;
}



.single-post h1,
.single-post h2,
.single-post .post-title {
    text-align: center;
}

/* ซ่อนข้อมูลผู้เขียนและวันที่ */
.single-post .post-info {
    display: none;
}


.single-post .post-title{
    text-align:center;
    font-size:52px;
    font-weight:900;
    text-transform:uppercase;
    margin:30px 0;
    color:#000000;
    text-shadow:
        2px 2px 0 #000,
        4px 4px 0 rgba(0,0,0,.4);
}

.single-post article{
    max-width:1200px;
    margin:auto;
}



/* จัดกลางหน้าโพสต์ */
.single-post h1{
    text-align: center !important;
    width: 100%;
    display: block;
    margin: 30px auto;
}

/* เนื้อหาโพสต์จัดกึ่งกลาง */
.single-post article.container{
    max-width: 1200px;
    margin: 0 auto;
}

.post-title-wrapper{
    background:#22313b;
    border:1px solid #000;
}


/* Single Post Title */
.post-title{
    max-width:900px;
    margin:0 auto 30px;
    padding:20px;

    background:#22313b;
    color:#ffffff !important;

    border:2px solid #000;
    border-radius:8px;

    text-align:center;
    font-size:42px;
    font-weight:700;
    line-height:1.4;
}

/* จัดหมวดหมู่ให้อยู่กลางด้วย */
.single-post .post-categories,
.single-post .category,
.single-post article > a{
    text-align: center;
}



.related-title{
    text-align:center;
    font-size:32px;
    margin:60px 0 30px;
}

.related-posts{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin-bottom:60px;
}

.related-card{
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 2px 8px rgba(0,0,0,.08);
    transition:.3s;
}

.related-card:hover{
    transform:translateY(-5px);
}

.related-card img{
    width:100%;
    height:220px;
    object-fit:cover;
    display:block;
}

.related-card h3{
    padding:12px;
    font-size:18px;
    text-align:center;
    color:#222;
}

.related-card a{
    text-decoration:none;
}

@media(max-width:900px){
    .related-posts{
        grid-template-columns:repeat(2,1fr);
    }
}


/* Center Gutenberg Buttons */
.wp-block-buttons{
    display:flex !important;
    justify-content:center !important;
    width:100% !important;
    margin:30px auto !important;
}

.wp-block-button{
    margin:0 auto !important;
}

.wp-block-button__link{
    text-align:center !important;
}



/* กล่องครอบหน้าโพสต์ */
.single-post article{
    background:#fff;
    max-width:1200px;
    margin:40px auto;
    padding:40px;
    border-radius:10px;
    box-shadow:0 0 15px rgba(0,0,0,.15);
}


.video-box{
    max-width:900px;
    margin:30px auto;
    padding:30px;

    background:#ffffff;

    border:2px solid #000000;

    border-radius:12px;

}



/* =========================
   PAGE BACKGROUND
========================= */

body.single-post {
    background: #f5f5f5;
}

/* =========================
   MAIN POST BOX
========================= */

.video-box {
    max-width: 900px;
    margin: 40px auto;
    background: #ffffff;
    border: 1px solid #000000;
    border-radius: 12px;
    padding: 35px;
}


.video-content {
    color: #333;
}

/* =========================
   RELATED POSTS
========================= */

.related-title {
    text-align: center;
    color: #222;
    font-size: 32px;
    margin-bottom: 25px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}

.related-card {
    display: block;
    background: #ffffff;
    border: 1px solid #000000;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    transition: .25s;
}

.related-card:hover {
    transform: translateY(-4px);
    border-color: #00adef;
}

.related-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.related-card span {
    display: block;
    padding: 12px;
    text-align: center;
    color: #fff;
    font-weight: 600;
}

/* =========================
   DOWNLOAD BUTTONS
========================= */

.video-content .wp-block-button__link {
    background: #00adef;
    color: white;
    border-radius: 8px;
}

.video-content .wp-block-button__link:hover {
    background: #0095cf;
}


/* =========================
   RELATED POSTS BLACK BORDER
========================= */


.related-title{
    color:#000000;
    text-align:center;
}


.related-card:hover{
    transform:none;
}

.related-card h3{
    color:#000000;
}



.vr-logo{
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:180px;
}

.vr-logo a{
    font-size:32px;
    font-weight:800;
    text-decoration:none;
    color:#ffffff;
    text-transform:uppercase;
}


.vr-logo a{
    font-size:34px;
    font-weight:900;
    color:#fff;
    text-decoration:none;
}

.vr-logo span{
    color:#28c7fa;
}


.related-wrapper{
    max-width:900px;
    margin:40px auto;

    border:1px solid #000;
    background:#fff;

    padding:20px;

    border-radius:12px;
    overflow:hidden;
}

.related-title{
    margin:0 0 25px 0;
    padding:15px;

    border:1px solid #000;
    border-radius:8px;

    background:#22313b;
    color:#fff;

    text-align:center;
    font-size:32px;
    font-weight:700;
}


/* =========================
   RELATED POSTS BOX
========================= */

.related-wrapper{
    max-width:900px;
    margin:40px auto;

    border:1px solid #000;
    background:#fff;

    padding:20px;

    border-radius:12px;
    overflow:hidden;
}

/* หัวข้อ Related Posts */
.related-title{
    width:100%;
    box-sizing:border-box;

    margin:0 0 25px 0;
    padding:15px;

    border:1px solid #000;
    background:#22313b;
    color:#fff;

    text-align:center;
    font-size:32px;
    font-weight:700;
}

.related-posts{
    border:none;

    padding:20px 0 0 0;

    display:flex;
    justify-content:center;

    gap:20px;

    flex-wrap:wrap;
}

/* การ์ดเหมือนหน้า Home */
.related-card{
    width:255px;
    background:#fff;

    border:1px solid #dcdcdc;
    border-radius:8px;

    overflow:hidden;

    box-shadow:0 1px 4px rgba(0,0,0,.10);

    transition:.3s;
}

.related-card:hover{
    transform:translateY(-3px);
}

.related-card a{
    display:block;
    color:inherit;
}

/* รูปเหมือนหน้า Home */
.related-card img{
    width:100%;
    height:180px;
    object-fit:cover;
    display:block;
}

/* ชื่อเหมือนหน้า Home */
.related-card h3{
    margin:0;
    padding:14px 10px;

    background:#ffffff;

    color:#111;

    text-align:center;

    font-size:16px;
    font-weight:700;
    line-height:1.4;
}



main{
    display:grid !important;
    grid-template-columns:repeat(6,minmax(0,1fr)) !important;

    gap:10px !important;

    width:75% !important;
    max-width:1400px !important;

    margin:30px auto !important;
}

main article{
    width:auto !important;
    min-width:0 !important;
}



.pornstar-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.pornstar-card{
    background:#fff;
    border-radius:10px;
    overflow:hidden;
    border:1px solid #ddd;
    box-shadow:0 2px 8px rgba(0,0,0,.08);
}

.pornstar-card img{
    width:100%;
    height:240px;
    object-fit:cover;
    display:block;
}

.pornstar-card h3{
    background:#fff;
    color:#111;
    padding:12px 8px;
    margin:0;

    text-align:center;

    font-size:18px;
    font-weight:700;
    line-height:1.3;
}



.categories-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
    gap:20px;
}

.category-card{
    position:relative;
    overflow:hidden;
    border-radius:12px;
    display:block;
}

.category-card img{
    width:100%;
    height:340px;
    object-fit:cover;
}

.overlay{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    padding:20px;
    color:#fff;
    background:linear-gradient(
        transparent,
        rgba(0,0,0,.8)
    );
}



.posts{
    display:grid !important;

    /* 6 ช่อง */
    grid-template-columns:repeat(5,1fr) !important;

    gap:10px !important;

    width:75% !important;
    max-width:1400px !important;

    margin:30px auto !important;
}



.card-link{
    display:block;
    width:100%;
    height:100%;
    color:inherit;
    text-decoration:none;
}

.card-link:hover{
    color:inherit;
}

.posts article{
    cursor:pointer;
}



