/*
Theme Name: Skill Urdu Newspaper
Theme URI: https://skillsurface.com/skill-urdu-newspaper/
Author: Skill Surface
Author URI: https://skillsurface.com/
Description: Advanced Newspaper/Magazine Website Theme in Urdu and Arabic Language for WordPress. Responsive, RTL-native, with built-in Urdu Editor and advanced customizer options.
Version: 1.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: skill-urdu-newspaper
Tags: news, magazine, urdu, arabic, rtl, elementor, responsive

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize & Reset
--------------------------------------------------------------*/
:root {
	--skill-primary: #c62633;
    --skill-secondary: #333;
    --skill-bg: #ededed;
    --skill-text: #404040;
}

html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	margin: 0;
    direction: rtl;
	unicode-bidi: embed;
    text-align: right;
    background-color: var(--skill-bg);
    color: var(--skill-text);
    font-family: 'Noto Nastaliq Urdu', 'Lateef', serif;
    font-size: 20px;
    line-height: 1.6;
}

.site {
	background:#fff;
    transition: all 0.3s;
}

.site.boxed {
	box-shadow: 0 0 50px rgba(0,0,0,0.1);
    max-width: 1570px;
    margin: 0 auto;
}

.site.fullwidth {
    width: 100%;
}

/* Layout Elements */
article, aside, details, figcaption, figure, footer, header, main, nav, section {
	display: block;
}

a {
	background-color: transparent;
    text-decoration: none;
    color: var(--skill-primary);
    transition: color 0.2s;
}

a:hover { color: var(--skill-secondary); }

img {
	border: 0;
    max-width: 100%;
    height: auto;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
	clear: both;
	font-weight: normal;
	margin: 0 0 15px;
	text-align: right;
	unicode-bidi: embed;
    font-family: 'Mirza', 'Noto Nastaliq Urdu', serif;
}

h1 { font-size: 48px; }
h2 { font-size: 42px; }
h3 { font-size: 36px; }
h4 { font-size: 30px; }
h5 { font-size: 22px; }
h6 { font-size: 18px; }

p { margin-bottom: 1.5em; }

/*--------------------------------------------------------------
# Header & Navigation
--------------------------------------------------------------*/
.site-header {
    background: #fff;
    border-bottom: 1px solid #eee;
}

.header-meta-row {
    background: var(--skill-primary);
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
}

.header-meta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-date-clock {
    display: flex;
    gap: 20px;
}

.live-clock {
    font-weight: bold;
}

.main-navigation {
    background: var(--skill-secondary);
    color: #fff;
}

.container {
    max-width: 1570px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Branding */
.branding-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.main-logo {
    max-height: 80px;
}

/*--------------------------------------------------------------
# Main Content & Sidebar
--------------------------------------------------------------*/
.main-container {
    display: flex;
    gap: 30px;
    padding: 30px 0;
}

.content-area {
    flex: 3;
    min-width: 0;
}

.widget-area {
    flex: 1;
    min-width: 300px;
}

/* Sidebar Position Logic */
body.sidebar-left .main-container { flex-direction: row; }
body.sidebar-right .main-container { flex-direction: row-reverse; }

/* News Ticker */
.news-ticker-wrapper {
    background: #fff;
    border: 1px solid #ddd;
    margin: 10px 0;
    display: flex;
    height: 40px;
    overflow: hidden;
}

.ticker-title {
    background: var(--skill-primary);
    color: #fff;
    padding: 0 15px;
    display: flex;
    align-items: center;
    font-weight: bold;
    z-index: 10;
}

/* Responsive */
@media (max-width: 992px) {
    .main-container { flex-direction: column !important; }
    .branding-container { flex-direction: column; gap: 20px; text-align: center; }
}

/*--------------------------------------------------------------
# Elementor & Plugins Compatibility
--------------------------------------------------------------*/
.elementor-section { direction: rtl; }
.elementor-column { text-align: right; }

/* Custom Newspaper Styles */
.entry-title {
    margin-top: 0;
    line-height: 1.2;
}

.skill-post {
    background: #fff;
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #eee;
}

.has-box-shadow .skill-post {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
