.posts,.posts .post,.posts .post-link,.sidebar,.sidebar .widget-area,.site-section {
    position:relative
}
.posts+.posts {
    margin-top:10px
}
.posts .posts-inner {
    position:relative;
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
    gap:5px
}
.col-xl-6 .posts .posts-inner,.col-xl-8 .posts .posts-inner {
    grid-template-columns:repeat(auto-fill,minmax(300px,1fr))
}
.col-xl-3 .posts .posts-inner,.col-xl-4 .posts .posts-inner {
    grid-template-columns:repeat(auto-fill,minmax(200px,1fr))
}
.posts .post {
    margin:5px;
    flex-basis:250px;
    flex-shrink:0;
    box-shadow:0 2px 8px rgba(0,0,0,.25);
    border-radius:8px;
    overflow:hidden;
    transition:transform .2s,box-shadow .2s;
    --style1-height:7.5em;
    background:#fff
}
.posts .post:hover {
    box-shadow:0 4px 16px rgba(0,0,0,.2)
}
.posts .post-link {
    height:100%;
    border:1px solid transparent;
    display:flex
}
.posts .post-link:hover {
    transform:scale(1.02);
    transition:transform .3s ease-in-out
}
.posts .post-thumb {
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    z-index:10;
    transition:transform .3s
}
.posts .post:hover .post-thumb {
    transform:scale(1.05)
}
.posts .overlay {
    visibility:hidden;
    background:rgba(0,0,0,.2)
}
.posts .post:hover .overlay {
    background:0 0
}
.posts .title {
    flex-grow:1;
    margin:0;
    z-index:20;
    font-size:1em;
    line-height:1.6
}
.posts .post.style1 .post-link {
    flex-direction:row;
    gap:15px
}
.posts .post.style1 .title {
    margin:10px;
    height:var(--style1-height);
    overflow:hidden
}
.posts .post.style1 .post-thumb {
    flex-shrink:0;
    width:40%;
    order:1
}
body:not(.simple-mode) .posts .post.style2 .post-link {
    flex-direction:column
}
.hide-thumb .post.style3 .post-link,body:not(.simple-mode) .posts .post.style2 .post-thumb {
    min-height:150px
}
body:not(.simple-mode) .posts .post.style2 .title {
    margin:10px
}
body:not(.simple-mode) .posts .post.style3 .post-link {
    flex-direction:column;
    justify-content:flex-end;
    min-height:220px;
    position:relative
}
body:not(.simple-mode) .posts .post.style3 .post-thumb {
    position:absolute;
    inset:0
}
body:not(.simple-mode) .posts .post.style3 .title {
    flex-grow:0;
    padding:50px 40px 20px;
    background:linear-gradient(to bottom,transparent,rgba(0,0,0,.7) 40%,#000);
    color:#fff;
    text-shadow:0 1px 1px #000
}
body:not(.simple-mode) .posts .post.style3 .overlay {
    visibility:visible;
    transition:.2s
}
.post-tags {
    margin-top:20px
}
.post-tags-inner {
    display:inline-flex;
    flex-wrap:wrap;
    gap:10px 12px;
    justify-content:center;
    padding:0
}
.tags-label {
    font-weight:700;
    color:#444;
    font-size:15px;
    align-self:center;
    margin-right:10px
}
.gnews-btn,.gnews-site {
    color:#000
}
.post-tags-inner a {
    display:inline-block;
    background:#f9fafb;
    color:#333;
    padding:6px 12px;
    border-radius:30px;
    font-size:13px;
    transition:.3s;
    border:1px solid #e0e0e0;
    line-height:1.4
}
.post-tags-inner a:hover {
    background:#0073aa;
    color:#fff;
    border-color:#0073aa;
    transform:translateY(-3px);
    box-shadow:0 6px 12px rgba(0,0,0,.12)
}
.related-posts ol,.related-posts ul,.sidebar-post_below ol,.sidebar-post_below ul {
    margin:0;
    padding:0;
    list-style:none
}
.show-desktop,.show-mobile {
    display:none
}

p.related_links {
    background-color:#fafafa;
    border-left:4px solid var(--main-color);
    padding:10px 15px;
    margin:15px 0;
    font-size:16px;
    line-height:1.6;
    border-radius:6px;
    transition:.3s
}
p.related_links a {
    font-weight:600;
    transition:color .3s,text-decoration .3s
}
p.related_links::before {
    content:"🔗 "
}

.post-content {
    word-wrap:break-word;
    word-break:break-word;
    overflow-wrap:anywhere;
    white-space:normal;
    max-width:100%;
    overflow-x:hidden
}

.post-content {
    overflow:visible!important;
    white-space:normal!important;
    display:block!important;
    width:100%!important;
    box-sizing:border-box!important
}
.post-content a {
    color: #0a63b8;
}
.post-content a:hover {
    color: #003d80;
    text-decoration-color: #003d80;
}


.post-content img {
    max-width:100%;
    height:auto;
    display:block;
    margin:1em auto
}
.post-content iframe,.post-content video {
    display:block;
    margin:1em auto;
    max-width:100%;
    border-radius:8px;
    border:none
}
.post-content table {
    width:100%;
    border-collapse:collapse;
    margin:1em 0;
    overflow-x:auto;
    display:block
}
.post-content table th,.post-content table td {
    border:1px solid #ddd;
    padding:8px;
    text-align:start
}
.post-content ul,.post-content ol,.post-content li {
    margin:1em 0 1em 1.5em
}

.post-content blockquote {
    border-left:4px solid #ccc;
    padding-left:1em;
    margin:1.5em 0;
    color:#555;
    font-style:italic
}

.post-content,.post-content table {
    direction:rtl;
    unicode-bidi:embed
}
.post-content .table-wrap {
    direction:rtl;
    -webkit-overflow-scrolling:touch
}
.post-content table {
    width:100%;
    border-collapse:collapse;
    margin:1em 0;
    table-layout:auto;
    background:transparent;
    color:var(--text-color,#222);
    font-size:.95rem
}
.post-content table th,.post-content table td {
    padding:10px 12px;
    border:1px solid rgba(0,0,0,.08);
    text-align:right;
    vertical-align:middle;
    word-break:break-word;
    white-space:normal;
    min-width:60px
}
.post-content table thead th {
    background:linear-gradient(180deg,#f6f7f8,#f0f2f4);
    font-weight:700;
    color:var(--muted,#333)
}
.post-content table tbody tr:nth-child(odd) {
    background:rgba(0,0,0,.015)
}
.post-content table caption {
    caption-side:top;
    text-align:right;
    font-weight:700;
    margin-bottom:8px;
    color:var(--muted,#444)
}
.post-content table a {
    color:var(--link,#0073aa);
    text-decoration:underline
}
.post-content table {
    display:table;
    max-width:100%
}
.post-content .table-wrap {
    border-radius:8px;
    box-shadow:0 6px 18px rgba(0,0,0,.04);
    background:#fff;
    padding:6px
}

.post-content img,.post-image img,.wp-caption img,.entry-content img,article img {
    display:block;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    object-fit:cover;
    box-sizing:border-box
}
.post-image,.post-image-inner,.wp-caption,figure.wp-caption,figure#post-image,figure[aria-describedby],figure[id^="attachment_"] {
    width:100%!important;
    max-width:100%!important;
    margin-inline:auto;
    box-sizing:border-box;
    overflow:visible
}
figure[style*="width: 1200px"],figure[style*="width:1200px"] {
    width:100%!important;
    max-width:100%!important
}

.NewLink,.mwLink {
    margin:12px auto;
    padding:14px 22px;
    border-radius:30px;
    display:flex;
    align-items:center;
    gap:1em;
    font-size:16px;
    line-height:1.8;
    max-width:100%;
    border:none;
    transition:all 0.4s ease;
    cursor:pointer
}
.NewLink:hover,.mwLink:hover {
    transform:translateY(-3px)
}
.NewLink a {
    text-decoration:none;
    font-weight:500
}


.posts .post-link:hover {
    transform:none!important
}
.post-tags-inner a:hover,.NewLink:hover,.mwLink:hover {
    transform:none!important
}
.post-subtitle,article h1 {
    margin-bottom:10px;
    text-align:center
}
.content,.sidebar.style1 {
    background-color:#fff
}

.post-meta {
    margin:15px 0;
    text-align:center;
    font-size:.9rem;
    color:#666;
    flex-wrap:wrap;
    gap:12px;
    justify-content:center
}
.post-meta .post-meta-item {
    display:flex;
    align-items:center;
    gap:4px;
    background:#f5f5f5;
    padding:4px 10px;
    border-radius:18px;
    box-shadow:0 1px 3px rgba(0,0,0,.1);
    transition:background-color .3s
}
.post-meta .post-meta-item-content a {
    color:var(--link);
    text-decoration:none;
    transition:color .3s
}
.d-lg-block,.post-meta-item.post-meta-published .post-date-updated,.post-meta-item.post-meta-updated .post-date-published {
    display:none
}

.d-none,.post-caption {
    display:none!important
}
.d-lg-none {
    display:block!important
}
.post-image  {
    margin-bottom: 30px;
}
.post-image img {
    width:100%;
    height:auto;
    border-radius:4px;
    display:block;
    object-fit:cover;
    margin:0;
    padding: 0;
}
.post-image-inner {
    margin: 0 auto;
    overflow:hidden;
}