/*
Copyrights © SlashWeb Network
/*
Theme Name: Sw News
Description: Premium Multi-purpose WordPress Theme
Theme URI: https://slashweb.net.eg
Author: SlashWeb Network
Author URI: https://slashweb.net.eg
Version: 2.18
*/

footer,footer a{color:var(--muted)}p.related_links a,p.related_links a:hover{color:var(--link)}footer a:hover,p.related_links a:hover{text-decoration:underline}.author-inner,.post-gnews,.post-tags,.sw-post-item,.widget-title h2,.widget-title-About,footer a,footer p{text-align:center}.dark-color,.dark-color a{color:#fff!important;background-color:transparent!important}.light-color,.light-color a,.light-color a:focus,.light-color a:hover,a.light-color:focus,a.light-color:hover{color:#000!important;background-color:transparent!important}footer{background:var(--primary);padding:25px 0;margin-top:24px}footer a{text-decoration:none}footer p{margin:10px 4px 0;font-size:14px}.footer-links{max-width:1200px;margin:auto;display:flex;flex-wrap:wrap;justify-content:center;gap:10px}.logo{display:inline-block;width:170px;height:auto;cursor:pointer}.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{transform:translateY(-3px);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}@media (max-width:575px){body.simple-mode .posts .post.style2 .post-link,body.simple-mode .posts .post.style3 .post-link{flex-direction:row;gap:15px}body.simple-mode .posts .post.style2 .title,body.simple-mode .posts .post.style3 .title{margin:10px;height:var(--style1-height);overflow:hidden}body.simple-mode .posts .post.style2 .post-thumb,body.simple-mode .posts .post.style3 .post-thumb{flex-shrink:0;width:40%;order:1}.scroll-posts .widget-content{display:flex!important;margin:-5px;white-space:nowrap;overflow-x:auto;overflow-y:hidden}.scroll-posts .widget-content .post{white-space:initial}.scroll-posts .widget-content .posts-inner{display:flex!important;padding:5px}}.widget-inner{margin:30px 0}.widget-title h2{margin:0 0 10px}.widget-title i{vertical-align:middle}.widget-header{margin-bottom:20px;border:2px solid rgba(0,0,0,.05);padding:4px 8px;border-radius:12px}.widget-header .widget-title h2{color:#000;font-size:18px}.widget-header .widget-title h2::before{content:"📰 "}.archive-inner a,.widget-area a{text-decoration:none!important;color:var(--link-color)}.NewLink a,.author-title h2 a,.gnews-btn,.post-tags-inner a,p.related_links a{text-decoration:none}.widget-link-icon::after{font-family:'Font Awesome 5 Free';font-weight:700;font-size:.7em;margin-inline:5px 0;content:""}.rtl .widget-link-icon::after{content:"\f053";margin-right:5px}.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)}.share-buttons-default{display:flex;justify-content:center;align-items:center;gap:10px;margin:20px 0}.share-buttons-inner{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:15px}.share-buttons-default a{display:flex;align-items:center;justify-content:center;width:50px;height:50px;border-radius:50%;color:#fff;font-weight:700;font-size:18px;text-decoration:none;transition:transform .2s,box-shadow .2s}.sb-facebook a,.ss-facebook{background:#3b5998}.ss-messenger{background:#0084ff}.ss-whatsapp{background:#25d366}.ss-twitter{background:#000}.page-header-inner{display:flex;justify-content:flex-start;gap:15px}.NewLink,.mwLink{margin:10px auto;padding:12px 18px;border:4px solid;border-color:#fff var(--main-color) #fff #fff;border-radius:25px;font-size:15px;line-height:1.8;display:flex;align-items:center;gap:.75em;border-right:3px solid #00505e;box-shadow:2px 2px 12px rgba(0,0,0,.15);max-width:100%;transition:.3s ease-in-out}.comments-inner,.site-section-author{max-width:800px;font-family:Arial,sans-serif}.NewLink a{color:#e31205!important;display:block}.NewLink:hover{transform:translateX(-5px)}.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}@media (min-width:769px){.show-desktop{display:block!important}.hide-desktop{display:none!important}}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}.gnews-btn,.social-links li a{align-items:center;transition:background .3s}p.related_links::before{content:"🔗 "}@media (max-width:768px){.show-mobile{display:block!important}.hide-mobile{display:none!important}p.related_links{font-size:15px;padding:8px 12px}}.post-gnews{margin:30px 0}.gnews-btn{display:inline-flex;justify-content:center;flex-wrap:wrap;gap:6px;background:#f6f6f6;font-size:18px;font-weight:700;padding:8px 10px;border-radius:8px;white-space:normal;line-height:1.6}.gnews-btn:hover{background:#e4e4e4}.gnews-icon{width:28px;height:28px;flex-shrink:0}.social-links ul{list-style:none;display:flex;gap:10px;justify-content:center;padding:0;margin:0}.social-links li a{display:flex;justify-content:center;width:40px;height:40px;border-radius:50%}.sb-twitter a{background:#1da1f2}.sb-instagram a{background:#c13584}.sb-youtube a{background:red}.social-links li a:hover{opacity:.8}.comments-inner{margin:30px auto;padding:0 15px}.widget-title h2{font-size:24px;margin-bottom:20px}.comment-list{list-style:none;padding:0;margin:0}.comment-item{background:#f9f9f9;border-radius:10px;padding:15px 20px;margin-bottom:15px}.comment-author{font-weight:700;color:#333;margin-bottom:5px}.comment-meta{font-size:12px;color:#777;margin-bottom:10px}.comment-text{font-size:14px;color:#444;line-height:1.6}.comment-form input[type=email],.comment-form input[type=text],.comment-form textarea{width:100%;padding:12px;border:1px solid #ccc;border-radius:8px;margin-bottom:10px}.comment-form button{background-color:#0073aa;color:#fff;padding:10px 20px;border-radius:8px;cursor:pointer;border:none}.site-section-author{background-color:#fdfdfd;padding:20px 25px;border-radius:12px;box-shadow:0 2px 8px rgba(0,0,0,.06);margin:30px auto}.site-section-author .widget-title h2{font-size:24px;font-weight:600;text-align:center;margin-bottom:20px}.author-inner{display:flex;align-items:center;gap:20px;flex-direction:column;align-items:center}.author-avatar-inner img{border-radius:50%;width:100px;height:100px;object-fit:cover;border:3px solid #0073aa}.author-info{flex:1}.author-title h2{font-size:20px;font-weight:600;margin:0 0 5px}.author-title h2 a{color:#0073aa;transition:color .3s}.author-title h2 a:hover{color:#005177}.author-description{font-size:14px;color:#555;line-height:1.5}.widget-title-About{font-size:20px;font-weight:600;color:#0073aa;margin-bottom:15px;text-transform:uppercase;letter-spacing:1px;font-family:Arial,sans-serif}.widget-title-About:hover{color:#005177;transition:color .3s}.sw-posts-grid{display:grid;gap:15px}@media (min-width:1200px){.sw-posts-grid{grid-template-columns:repeat(3,1fr)}}@media (max-width:991px){.sw-posts-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:600px){.tags-label{font-size:13px}.post-tags-inner a{font-size:12px;padding:5px 10px}.author-inner{flex-direction:column;align-items:center;text-align:center}.author-avatar-inner img{margin-bottom:10px}.sw-posts-grid{grid-template-columns:1fr}}.sw-post-item{background:#fff;border:1px solid #eee;border-radius:6px;overflow:hidden;transition:transform .3s,box-shadow .3s;padding:5px}.sw-post-item:hover{transform:translateY(-4px);box-shadow:0 3px 8px rgba(0,0,0,.1)}.sw-post-item img{width:100%;height:80px;object-fit:cover;display:block;border-radius:4px}