/*!
Theme Name: Vista News (Premium)
Theme URI: https://www.facebook.com/mustafaabdo09
Author: Mustafa Abdo
Author URI: https://www.facebook.com/mustafaabdo09
Description: A professional WordPress theme designed for news and magazines, featuring a modern, responsive design that works seamlessly across all devices. It offers an easy-to-use control panel with comprehensive customization options and full support. The theme is optimized for SEO. Ideal for news websites, blogs and digital magazines
Version: 2.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: vistanews
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Vista News (Premium) is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

 html {
    scroll-behavior: smooth;
}


 .logo-mobile.d-inline.d-md-none img {
    width: 200px;
    height: auto;
}

.logo-tablet.d-md-inline.d-lg-none.d-none img {
    width: 240px;
    height: auto;
}

 .vc_row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}


.vc_column_container > .vc_column-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;

}


.sidebar-widget.widget-social-network.mb-30.col-lg-12.col-md-6 {
    padding: 0;
}

.widget-area.row {
    margin: 0;
}

aside#secondary {
    width: 100%;
}


.video-area.background_dark.area-padding.pt-50.pb-50 .img-hover-scale img {
    height: 200px;
	width: 100%;
    object-fit: cover;
}

.video-area.background_dark.area-padding.pt-50.pb-50 {
    margin: 50px 0 0 !important;
}


.post-carausel-1-items .slick-slide img {
	height: 200px;
	object-fit: cover;
}

.footer-menu.float-lg-right.mt-lg-0.mt-3 {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

#sidebar-wrapper {
    background: #ffffff !important;
}

.featured-slider-1-items.slick-initialized .slick-slide img {
	width: 100% !important;
	height: 400px !important;
	object-fit: cover !important;
}

.entry-meta.meta-2 .author-img img {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
}


.single-thumnail img {
    width: 100%;
}


img {
	object-fit: cover;
}


span.has-dot {
    padding-left: 5px;
}

.entry-meta.meta-1 span {
    margin-right: 5px;
}



.custom-image-wrapper {
    width: 100%; /* تجعل الصورة بعرض الحاوية */
    height: auto; /* تجعل ارتفاع الصورة تلقائياً بناءً على العرض */
}

.custom-image-class {
    width: 100%;
    max-width: 370px;
    height: 370px;
    border-radius: 10px;
    display: block;
}


.archive-header h2 {
    font-size: 45px;
    padding-top: 40px;
}



h2.screen-reader-text {
    display: none;
}


.img-post-metro img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}


.post-cat {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 3px;
}


.widget-area.pl-30 {
    padding-left: 0 !important;
}

.widget-taber-content.background-white.pt-30.pb-30.pl-30.pr-30.border-radius-5 {
    padding-left: 30px;
}

.col-lg-4.col-md-12.col-sm-12.primary-sidebar.sticky-sidebar {
    max-width: 100%;
}

img.img-fluid.w-100.h-auto.wp-post-image {
    width: 900px !important;
    height: 539.84 !important;
    height: auto;
    object-fit: cover;
}

.thumb-overlay.position-relative {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: cover !important;
}

img.border-radius-5.mb-15 {
    width: 100%;
    height: 130px !important;
    object-fit: cover;
}

blockquote {
    margin: 0 0 16px;
    padding: 30px;
    background: #f4f5f9;
    border-radius: 5px;
}

blockquote P {
    font-size: 25px !important;
    line-height: 1.3 !important;
    font-style: normal;
    color: #506172;
}



.entry-main-content h1, .entry-main-content h2 .entry-main-content h3, .entry-main-content h4, .entry-main-content h5, .entry-main-content h6 {
    font-size: 30px;
    font-style: normal;
    font-weight: 600;
    margin: 30px 0 25px 0;
}

.entry-main-content h2 {
    font-size: 25px;
}

.entry-main-content h3 {
    font-size: 22px;
}

.entry-main-content h4 {
    font-size: 20px;
}

.entry-main-content h5 {
    font-size: 18px;
}

.entry-main-content h6 {
    font-size: 16px;
}

.entry-main-content li {
    padding: 0 25px;
}

.comments-area .comment-list {
    padding: 0;
    margin-bottom: 0 !important;
}

.comments-area .thumb {
    width: 150px;
    margin-right: 10px !important;
}

.comments-area .comment {
    margin-bottom: 50px !important;
}

.comments-area .thumb img {
    width: 50px !important;
    border-radius: 50%;
    object-fit: cover;
    height: auto;
}


.comments-title {
    margin-bottom: 25px;
    font-size: 25px;
}

.comment-reply-title {
    margin-top: 20px;
    font-size: 16px;
    margin-bottom: 0;
}

.comment-respond small {
    margin-left: 15px;
}

p.comment {
    display: none;
}

.comments-area .desc p {
    font-size: 15px;
    color: #777777;
}

.ad-above-post.mb-30, .ad-inside-post.mb-30, .ad-below-post.mb-30 {
    text-align: center;
}











.toc-container {
    border: 1px solid #ccc;
    padding: 10px;
    margin: 20px 0;
    background-color: #f9f9f9;
    border-radius: 5px;
    transition: width 0.5s ease;
    width: 250px;
    overflow: hidden; 
    border-color: rgba(51, 51, 51, .95);
    padding: 20px;
    
}

.toc-container h2 {
    font-weight: 700;
    margin-bottom: 0 !important;
    text-align: center;
    font-size: 14px !important;
    line-height: 1.75;
    color: #506172;
    margin-top: 0 !important;
}

.table-of-contents {
    list-style: none;
    padding-left: 0;
    margin-top: 10px; /* فراغ بين العنوان والمحتوى */
    display: none; /* إخفاءها بشكل افتراضي */
}

.table-of-contents li {
    margin-bottom: 5px;
}

.toc-number {
    background-color: #dee1f3;
    color: #333;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.toc-toggle {
    color: #171616;
    font-size: small;
    cursor: pointer;
    font-weight: 400;
}

.toc-toggle:hover {
    text-decoration: underline;
}


#footer-thankyou {
    display: none !important;
}



