/*
Theme Name: Assafir Sports
Theme URI: https://assafirsports.com
Description: Custom child theme for Assafir Sports, based on Depth News, styled to match elkhabar.com/fr/sports design
Author: Assafir Sports Team
Author URI: https://assafirsports.com
Template: depth-news
Version: 1.0.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: assafirsports
Tags: news, sports, magazine, responsive, custom-header, custom-menu, featured-images
*/

/*--------------------------------------------------------------
# Assafir Sports Custom Styles
# Based on elkhabar.com/fr/sports design
--------------------------------------------------------------*/

       /* Color Scheme - Matching Elkhabar */
       :root {
           --assafir-primary: #d32f2f; /* Red */
           --assafir-secondary: #1976d2; /* Blue */
           --assafir-primary-hover: #b71c1c; /* Brighter/Darker Red for hover */
           --assafir-dark: #1a1a1a;
           --assafir-light: #f5f5f5;
           --assafir-text: #333333;
           --assafir-border: #e0e0e0;
       }

/* Global Styles */
body {
    font-family: 'Arial', 'Helvetica Neue', 'Tahoma', sans-serif;
    color: var(--assafir-text);
    background-color: #ffffff;
}

/* Header Image Styles */
.header-image-container {
    margin-top: 20px;
    text-align: center;
    padding: 10px 0;
}

.header-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.site-identity {
    width: 100%;
}

/* RTL Support for Arabic */
body.rtl,
html[dir="rtl"] body {
    direction: rtl;
    text-align: right;
}

body.rtl .site-branding,
body.rtl .main-navigation,
body.rtl .entry-content,
body.rtl .widget,
body.rtl .post-meta,
body.rtl .entry-meta {
    direction: rtl;
    text-align: right;
}

body.rtl .main-navigation ul {
    direction: rtl;
}

body.rtl .top-header-left {
    float: right;
}

body.rtl .top-header-right {
    float: left;
}

/* Header Customization */
.depth-news-top-header {
    background-color: #ffffff !important;
    border-bottom: 3px solid var(--assafir-primary);
    padding: 15px 0;
}

.site-branding .site-title a {
    color: var(--assafir-primary);
    font-size: 32px;
    font-weight: bold;
    text-decoration: none;
}

.site-branding .site-title a:hover {
    color: var(--assafir-primary) !important; /* Red on hover instead of blue */
}

/* Header Auth Links */
.header-auth-links {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-left: 20px;
}

.header-auth-links a {
    color: var(--assafir-text);
    text-decoration: none;
    font-size: 14px;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.header-auth-links .login-link,
.header-auth-links .register-link {
    background-color: var(--assafir-primary);
    color: #ffffff;
}

.header-auth-links .login-link:hover,
.header-auth-links .register-link:hover {
    background-color: var(--assafir-primary-hover);
    color: #ffffff;
}

.header-auth-links .profile-link,
.header-auth-links .logout-link {
	background-color: var(--assafir-primary);
	color: #ffffff !important;
	border: 1px solid var(--assafir-primary);
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.header-auth-links .profile-link:hover,
.header-auth-links .logout-link:hover {
	background-color: var(--assafir-primary-hover);
	border-color: var(--assafir-primary-hover);
	color: #ffffff !important;
}

.header-auth-links .profile-link *,
.header-auth-links .profile-link span,
.header-auth-links .profile-icon {
	color: #ffffff !important;
	fill: #ffffff !important;
}

.header-auth-links .profile-icon {
	font-size: 16px;
	display: inline-block;
	vertical-align: middle;
	color: #ffffff !important;
	filter: none !important;
	-webkit-filter: none !important;
	line-height: 1;
	opacity: 1 !important;
	width: 18px;
	height: 18px;
	position: relative;
}

/* Use SVG icon instead of emoji for better color control */
.header-auth-links .profile-icon::before {
	content: "";
	display: inline-block;
	width: 16px;
	height: 16px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}


.site-description {
    color: #666;
    font-size: 14px;
}

/* Navigation */
.depth-news-bottom-header {
    background-color: var(--assafir-primary) !important;
    border-bottom: none;
}

.depth-news-navigation-outer-wrapper {
    background-color: var(--assafir-primary);
}

.main-navigation ul li a {
    color: #ffffff !important;
    font-weight: 600;
    padding: 12px 20px;
    text-transform: uppercase;
    font-size: 14px;
}

.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
}

.main-navigation ul li {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.main-navigation ul li:last-child {
    border-right: none;
}

/* Search Icon */
.header-search-wrap .search-icon {
    color: var(--assafir-primary);
}

.header-custom-button a {
    background-color: var(--assafir-primary);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
}

.header-custom-button a:hover {
    background-color: var(--assafir-primary-hover);
}

/* Main Content Area */
.depth-news-main-wrapper {
    background-color: #ffffff;
    padding: 30px 0;
}

/* Article Cards - Inner container has white background */
.entry-content,
.post-text {
    background-color: #ffffff !important; /* White background for content */
}

.entry-title a {
    color: var(--assafir-dark);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.4;
    padding: 0;
    margin: 0;
}

.entry-title a:hover {
    color: var(--assafir-primary) !important; /* Red on hover */
}

/* Ensure all title links turn red on hover (not blue) */
.post-main-title a:hover,
h1.entry-title a:hover,
h2.entry-title a:hover,
h1.post-title a:hover,
h2.post-title a:hover,
.post-title a:hover,
article h2 a:hover,
article h1 a:hover {
    color: var(--assafir-primary) !important; /* Red on hover */
}

/* Featured Posts */
.featured-post,
.main-banner {
    border-bottom: 2px solid var(--assafir-primary);
    margin-bottom: 20px;
    padding: 20px 0;
}

/* Grid Layout - Red border and shadow only on hover */
.grid-layout .entry-content,
.blog-post-container {
    border: 1px solid transparent !important; /* No border by default */
    border-radius: 4px;
    padding: 25px;
    margin-bottom: 25px;
    background-color: #ffffff !important; /* White background for inner container */
    box-shadow: none !important; /* No shadow by default */
    transition: all 0.3s ease;
}

.grid-layout .entry-content:hover,
.blog-post-container:hover {
    border: 1px solid var(--assafir-primary) !important; /* Red border on hover */
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.2) !important; /* Red shadow on hover */
}

/* Remove outer container background */
article.post,
article {
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin-bottom: 0;
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Blog post inner container - Remove background */
.blog-post-inner {
    padding: 0;
    background: transparent !important;
}

.blog-post-detail {
    padding: 20px 0 0 0;
    background: transparent !important;
}

/* Remove container background */
.main-container-wrap {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.blog-post-image {
    margin-bottom: 20px;
    border-radius: 6px;
    overflow: hidden;
}

.blog-post-image img {
    width: 100%;
    height: auto;
    display: block;
}

.post-excerpt {
    padding: 0;
    margin: 15px 0;
    line-height: 1.7;
    color: #666;
}

/* Category Badges */
.entry-meta .cat-links a {
    background-color: var(--assafir-primary);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 3px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
}

.entry-meta .cat-links a:hover {
    background-color: var(--assafir-primary-hover);
}

/* Post Meta - Enhanced */
.entry-meta {
    color: #666;
    font-size: 13px;
    padding: 15px 0 0 0;
    margin: 15px 0 0 0;
    border-top: 1px solid var(--assafir-border);
}

.entry-meta a {
    color: #666;
}

.entry-meta a:hover {
    color: var(--assafir-primary);
}

/* Remove author display completely */
.post-author,
.entry-meta .post-author,
.post-meta .post-author {
    display: none !important;
}

/* Enhanced content spacing */
.entry-content {
    padding: 20px 0;
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 15px;
    padding: 0;
}

.entry-content img {
    margin: 20px 0;
    border-radius: 6px;
    max-width: 100%;
    height: auto;
    padding: 0;
}

.post-meta {
    padding: 15px 0 0 0;
    margin-top: 15px;
    border-top: 1px solid var(--assafir-border);
}

/* Remove author display completely */
.post-author,
.entry-meta .post-author,
.post-meta .post-author {
    display: none !important;
}

.post-meta {
    padding: 15px 0 0 0;
    margin-top: 15px;
    border-top: 1px solid var(--assafir-border);
}

/* Enhanced content spacing */
.entry-content {
    padding: 20px 0;
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 15px;
    padding: 0;
}

.entry-content img {
    margin: 20px 0;
    border-radius: 6px;
    max-width: 100%;
    height: auto;
}

/* Sidebar */
.widget {
    background-color: #ffffff;
    border: 1px solid var(--assafir-border);
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 30px;
}

.widget-title {
    color: var(--assafir-primary);
    font-size: 20px;
    font-weight: 700;
    border-bottom: 2px solid var(--assafir-primary);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* Footer */
.site-footer {
    background-color: var(--assafir-dark);
    color: #ffffff;
    margin-top: 50px;
}

.depth-news-top-footer {
    background-color: #2a2a2a;
    padding: 40px 0;
}

.depth-news-bottom-footer {
    background-color: var(--assafir-dark);
    padding: 20px 0;
    border-top: 1px solid #444;
}

.footer-widget .widget-title {
    color: #ffffff;
    border-bottom-color: var(--assafir-primary);
}

/* Buttons */
button,
.button,
a.button {
    background-color: var(--assafir-primary);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

       button:hover,
       .button:hover,
       a.button:hover {
           background-color: var(--assafir-primary-hover);
           color: #ffffff;
       }

/* Pagination */
.pagination .page-numbers {
    color: var(--assafir-primary);
    border: 1px solid var(--assafir-border);
    padding: 8px 12px;
    margin: 0 4px;
    border-radius: 4px;
    text-decoration: none;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background-color: var(--assafir-primary);
    color: #ffffff;
    border-color: var(--assafir-primary);
}

/* Single Post */
.single-post .entry-header {
    border-bottom: 2px solid var(--assafir-primary);
    padding: 25px 0;
    margin-bottom: 30px;
}

.single-post .entry-title {
    color: var(--assafir-dark);
    padding: 0;
    margin-bottom: 15px;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
}

.single-post .entry-content {
    padding: 25px 0;
    line-height: 1.8;
}

.single-post .entry-content p {
    margin-bottom: 18px;
    padding: 0;
}

/* Related Posts */
.related-posts {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--assafir-border);
}

.related-posts h2 {
    color: var(--assafir-primary);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .site-branding .site-title a {
        font-size: 24px;
    }
    
    .main-navigation ul li a {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .single-post .entry-title {
        font-size: 24px;
    }
}

/* Flash News / Breaking News */
.flash-news {
    background-color: var(--assafir-primary);
    color: #ffffff;
    padding: 10px 0;
}

.flash-news .flash-news-label {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 5px 15px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Social Links */
.social-links a {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 4px;
    margin: 0 5px;
}

.social-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Breadcrumb */
.breadcrumb-trail {
    background-color: var(--assafir-light);
    padding: 10px 0;
    margin-bottom: 20px;
}

.breadcrumb-trail a {
    color: var(--assafir-primary);
}

.breadcrumb-trail a:hover {
    color: var(--assafir-secondary);
}

/* Scroll to Top */
.scroll-to-top {
    background-color: var(--assafir-primary);
}

.scroll-to-top:hover {
    background-color: var(--assafir-primary-hover);
}

/* Additional Elkhabar-inspired Styles */

/* Blog Post Cards */
.blog-post-container {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.blog-post-image img {
    width: 100%;
    height: auto;
    border-radius: 4px 4px 0 0;
}

/* Main Banner Section */
.main-banner .featured-post {
    position: relative;
    overflow: hidden;
}

.main-banner .featured-post::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    pointer-events: none;
}

/* Grid Layout Enhancements */
.grid-layout.column-2 .blog-post-container,
.grid-layout.column-3 .blog-post-container {
    margin-bottom: 30px;
}

/* Entry Content Styling */
.entry-content p {
    line-height: 1.8;
    margin-bottom: 1.2em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: var(--assafir-dark);
    margin-top: 1.5em;
    margin-bottom: 1em;
    font-weight: 700;
}

.entry-content h2 {
    font-size: 24px;
    border-left: 4px solid var(--assafir-primary);
    padding-left: 15px;
}

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

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

/* Post Meta Icons */
.post-meta i,
.entry-meta i {
    margin-right: 5px;
    color: var(--assafir-primary);
}

/* Comments Section */
.comments-area {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--assafir-border);
}

.comment-form input,
.comment-form textarea {
    border: 1px solid var(--assafir-border);
    border-radius: 4px;
    padding: 10px;
    width: 100%;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--assafir-primary);
    outline: none;
}

/* Archive Page */
.archive .page-title {
    color: var(--assafir-primary);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--assafir-primary);
}

/* Search Results */
.search-results .page-title {
    color: var(--assafir-primary);
}

/* 404 Page */
.error404 .page-content {
    text-align: center;
    padding: 60px 20px;
}

.error404 .page-title {
    color: var(--assafir-primary);
    font-size: 48px;
    margin-bottom: 20px;
}

/* Loading Animation */
#loader {
    background-color: #ffffff;
}

#preloader {
    border-top-color: var(--assafir-primary);
}

/* Mobile Menu - Enhanced */
.menu-toggle {
	display: block;
	background-color: var(--assafir-primary);
	border: 2px solid #ffffff;
	color: #ffffff;
	padding: 10px 15px;
	border-radius: 4px;
	cursor: pointer;
	position: relative;
	z-index: 1000;
}

.menu-toggle .ham-icon {
	display: block;
	width: 25px;
	height: 3px;
	background-color: #ffffff;
	margin: 4px 0;
	transition: all 0.3s ease;
}

.menu-toggle[aria-expanded="true"] .ham-icon:nth-child(1) {
	transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle[aria-expanded="true"] .ham-icon:nth-child(2) {
	opacity: 0;
}

.menu-toggle[aria-expanded="true"] .ham-icon:nth-child(3) {
	transform: rotate(-45deg) translate(7px, -7px);
}

.menu-toggle:hover {
	background-color: rgba(255, 255, 255, 0.1);
}

/* Desktop Menu - Show by default on large screens */
@media (min-width: 769px) {
	.menu-toggle {
		display: none;
	}
	
	.navigation-area {
		display: block !important;
		position: static;
		background-color: transparent;
		box-shadow: none;
		border-top: none;
	}
	
	.main-navigation ul {
		display: flex;
		flex-direction: row;
	}
	
	.main-navigation ul li {
		display: inline-block;
		width: auto;
		border-right: 1px solid rgba(255, 255, 255, 0.2);
		border-bottom: none;
	}
}

/* Mobile Navigation - Hide by default, show on toggle */
@media (max-width: 768px) {
	.navigation-area {
		display: none;
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		background-color: var(--assafir-primary);
		z-index: 999;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
		border-top: 2px solid rgba(255, 255, 255, 0.2);
	}
	
	.navigation-area.toggled-on,
	.main-navigation.toggled-on .navigation-area {
		display: block !important;
	}
	
	.main-navigation {
		position: relative;
	}
	
	.main-navigation ul {
		list-style: none;
		margin: 0;
		padding: 0;
		display: block;
	}
	
	.main-navigation ul li {
		display: block;
		width: 100%;
		border-right: none;
		border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	}
	
	.main-navigation ul li:last-child {
		border-bottom: none;
	}
	
	.main-navigation ul li a {
		display: block;
		width: 100%;
		padding: 15px 20px;
		color: #ffffff !important;
		text-decoration: none;
		transition: all 0.3s ease;
	}
	
	.main-navigation ul li a:hover {
		background-color: rgba(255, 255, 255, 0.15) !important;
		color: #ffffff !important;
	}
}
    background-color: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
}

.menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Social Media Icons in Header */
.header-social-links .social-links {
    display: flex;
    gap: 10px;
}

.header-social-links .social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Widget Lists */
.widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--assafir-border);
    overflow: hidden;
    white-space: nowrap;
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    color: var(--assafir-text);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.widget ul li a:hover {
    color: var(--assafir-primary);
}

/* Tag Cloud */
.tagcloud a {
    background-color: var(--assafir-light);
    color: var(--assafir-text);
    padding: 6px 12px;
    border-radius: 3px;
    margin: 5px 5px 5px 0;
    display: inline-block;
    text-decoration: none;
    font-size: 13px !important;
    transition: all 0.3s ease;
}

.tagcloud a:hover {
    background-color: var(--assafir-primary);
    color: #ffffff;
}

/* Calendar Widget */
.widget_calendar table {
    width: 100%;
}

.widget_calendar td,
.widget_calendar th {
    text-align: center;
    padding: 8px;
}

.widget_calendar .wp-calendar-nav-prev,
.widget_calendar .wp-calendar-nav-next {
    color: var(--assafir-primary);
}

.widget_calendar tbody a {
    background-color: var(--assafir-primary);
    color: #ffffff;
    display: block;
    font-weight: 700;
}

/* RSS Widget */
.widget_rss .rss-date {
    color: #666;
    font-size: 12px;
}

.widget_rss cite {
    color: var(--assafir-primary);
    font-weight: 600;
}

/* Archive Widget - Remove blue color and underline */
.widget_archive a,
.widget_archives a,
.wp-block-archives a,
.widget ul li a {
    color: var(--assafir-text) !important;
    text-decoration: none !important;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.widget_archive a:hover,
.widget_archives a:hover,
.wp-block-archives a:hover,
.widget ul li a:hover {
    color: var(--assafir-primary) !important;
    text-decoration: none !important;
}

/* Recent Posts Widget - Single line limit (no second line) */
.wp-block-latest-posts__list li,
.wp-block-latest-posts li,
.widget_recent_entries ul li {
    overflow: hidden;
    white-space: nowrap;
}

.wp-block-latest-posts__list li a,
.wp-block-latest-posts li a,
.widget_recent_entries ul li a {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}


/* Comments Section - Modern Design */
.comments-area {
	margin-top: 50px;
	padding: 40px 0;
	background-color: #fafafa;
	border-radius: 8px;
	padding: 40px;
}

.comments-title {
	color: var(--assafir-primary);
	font-size: 28px;
	font-weight: 700;
	margin-bottom: 35px;
	border-bottom: 3px solid var(--assafir-primary);
	padding-bottom: 15px;
	position: relative;
}

.comments-title::after {
	content: '';
	position: absolute;
	bottom: -3px;
	right: 0;
	width: 60px;
	height: 3px;
	background-color: var(--assafir-secondary);
}

.comment-list {
	list-style: none;
	padding: 0;
	margin: 0 0 40px 0;
}

.comment {
	padding: 25px;
	margin-bottom: 25px;
	background-color: #ffffff;
	border: 1px solid var(--assafir-border);
	border-radius: 8px;
	border-right: 4px solid var(--assafir-primary);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
}

.comment:hover {
	box-shadow: 0 4px 12px rgba(211, 47, 47, 0.15);
	transform: translateY(-2px);
}

.comment:last-child {
	margin-bottom: 0;
}

.comment-body {
	display: flex;
	flex-direction: column;
}

.comment-author {
	font-weight: 700;
	color: var(--assafir-primary);
	font-size: 16px;
	margin-bottom: 8px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.comment-author .fn {
	color: var(--assafir-primary);
	text-decoration: none;
}

.comment-author .fn:hover {
	color: var(--assafir-secondary);
}

.comment-author .says {
	color: #666;
	font-weight: 400;
	font-size: 14px;
}

.comment-meta {
	color: #888;
	font-size: 13px;
	margin-bottom: 15px;
	display: flex;
	align-items: center;
	gap: 15px;
}

.comment-meta a {
	color: #888;
	text-decoration: none;
	transition: color 0.3s ease;
}

.comment-meta a:hover {
	color: var(--assafir-primary);
}

.comment-content {
	color: var(--assafir-text);
	line-height: 1.8;
	margin-top: 15px;
	padding: 15px;
	background-color: #f9f9f9;
	border-radius: 6px;
	border-right: 3px solid var(--assafir-border);
}

.comment-content p {
	margin-bottom: 10px;
}

.comment-content p:last-child {
	margin-bottom: 0;
}

/* Comment Form */
.comment-form {
    margin-top: 30px;
    padding: 25px;
    background-color: #f9f9f9;
    border-radius: 4px;
}

.comment-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--assafir-dark);
    font-weight: 600;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--assafir-border);
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 15px;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--assafir-primary);
    outline: none;
}

.comment-form .form-submit input {
    background-color: var(--assafir-primary);
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    min-width: 140px;
}

.comment-form .form-submit input:hover:not(:disabled) {
    background-color: var(--assafir-primary-hover);
}

/* Disabled state when submitting */
.comment-form .form-submit input:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

/* Spinner for comment submit button */
.comment-form .form-submit input.submitting {
    padding-right: 40px;
}

.comment-form .form-submit input.submitting::after {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: comment-spin 0.8s linear infinite;
}

@keyframes comment-spin {
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

.must-log-in {
	background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
	border: 2px solid #ffc107;
	padding: 18px 20px;
	border-radius: 8px;
	margin-bottom: 25px;
	border-right: 4px solid #ffc107;
	box-shadow: 0 2px 8px rgba(255, 193, 7, 0.2);
}

.must-log-in a {
	color: var(--assafir-primary);
	font-weight: 700;
	text-decoration: none;
	transition: color 0.3s ease;
}

.must-log-in a:hover {
	color: var(--assafir-secondary);
	text-decoration: underline;
}

.logged-in-as {
	background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
	border: 2px solid #28a745;
	padding: 18px 20px;
	border-radius: 8px;
	margin-bottom: 25px;
	border-right: 4px solid #28a745;
	box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
}

.logged-in-as a {
	color: var(--assafir-primary);
	font-weight: 700;
	text-decoration: none;
	transition: color 0.3s ease;
}

.logged-in-as a:hover {
	color: var(--assafir-secondary);
	text-decoration: underline;
}

.must-log-in-notice {
	background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
	border: 2px solid #ffc107;
	padding: 18px 20px;
	border-radius: 8px;
	margin-bottom: 25px;
	border-right: 4px solid #ffc107;
	box-shadow: 0 2px 8px rgba(255, 193, 7, 0.2);
}

.must-log-in-notice a {
	color: var(--assafir-primary);
	font-weight: 700;
	text-decoration: none;
	transition: color 0.3s ease;
}

.must-log-in-notice a:hover {
	color: var(--assafir-secondary);
	text-decoration: underline;
}

/* Login/Register Pages - Enhanced Design - Centered */
.login-register-container {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}

.auth-form-wrapper {
    background-color: #ffffff;
    border: 1px solid var(--assafir-border);
    border-radius: 8px;
    padding: 40px 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.auth-title {
    color: var(--assafir-primary);
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--assafir-primary);
    padding-bottom: 15px;
}

.auth-description {
    color: var(--assafir-text);
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 14px;
}

.auth-form .form-row {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--assafir-dark);
    font-weight: 600;
    font-size: 14px;
}

.auth-form .input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--assafir-border);
    border-radius: 4px;
    font-size: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.auth-form .input:focus {
    border-color: var(--assafir-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.auth-form .remember-me {
    margin-bottom: 20px;
}

.auth-form .remember-me label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
    cursor: pointer;
}

.auth-form .remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.auth-form .form-submit {
    margin-top: 25px;
}

.auth-form .button-primary {
    width: 100%;
    background-color: var(--assafir-primary);
    color: #ffffff;
    border: none;
    padding: 16px 30px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-form .button-primary:hover {
    background-color: var(--assafir-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(183, 28, 28, 0.3);
}

.auth-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
}

.auth-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
}

.auth-success .button-primary {
    margin-top: 15px;
    max-width: 200px;
}

.auth-links {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--assafir-border);
}

.auth-links a {
    color: var(--assafir-primary);
    text-decoration: none;
    font-weight: 600;
}

.auth-links a:hover {
    text-decoration: underline;
}

.auth-links .separator {
    margin: 0 10px;
    color: #999;
}

/* Responsive Design for Auth Pages */
@media (max-width: 768px) {
    .login-register-container {
        max-width: 100%;
        margin: 20px auto;
        padding: 15px;
    }
    
    .auth-form-wrapper {
        padding: 30px 25px;
    }
    
    .auth-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .auth-form .input {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    .auth-form .button-primary {
        padding: 14px 25px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .auth-form-wrapper {
        padding: 25px 20px;
    }
    
    .auth-title {
        font-size: 22px;
    }
    
    .auth-links {
        font-size: 13px;
    }
    
    .auth-links .separator {
        margin: 0 8px;
    }
}

/* Comment Submit Button - Disabled for non-logged-in */
.comment-submit-disabled {
    display: inline-block;
    background-color: #cccccc !important;
    color: #666666 !important;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    cursor: not-allowed;
    text-decoration: none;
    pointer-events: auto;
    position: relative;
}

.comment-submit-disabled:hover {
    background-color: #999999 !important;
    color: #ffffff !important;
}

.comment-submit-disabled::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--assafir-dark);
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    margin-bottom: 5px;
}

.comment-submit-disabled:hover::after {
    opacity: 1;
}

/* Show comment form to all users */
.comment-form {
    display: block !important;
}


/* Disabled comment submit button for non-logged-in users */
.comment-submit-disabled {
    display: inline-block;
    background-color: #cccccc !important;
    color: #666666 !important;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    cursor: not-allowed;
    text-decoration: none;
    pointer-events: auto;
    position: relative;
    transition: all 0.3s ease;
}

.comment-submit-disabled:hover {
    background-color: #999999 !important;
    color: #ffffff !important;
}

.comment-submit-disabled::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--assafir-dark);
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    margin-bottom: 5px;
    z-index: 1000;
}

.comment-submit-disabled:hover::after {
    opacity: 1;
}

.must-log-in-notice {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.must-log-in-notice a {
    color: var(--assafir-primary);
    font-weight: 600;
}

/* Show comment form to all users */
.comment-form {
    display: block !important;
}

.comment-form textarea[readonly] {
    background-color: #f5f5f5;
    cursor: not-allowed;
}



/* Center auth pages vertically and horizontally - Only the form, not the header */
.page-template-page-login .depth-news-main-wrapper,
.page-template-page-register .depth-news-main-wrapper,
.page-template-page-lostpassword .depth-news-main-wrapper {
    padding: 50px 0;
}

.page-template-page-login .section-wrapper,
.page-template-page-register .section-wrapper,
.page-template-page-lostpassword .section-wrapper {
    width: 100%;
}

.page-template-page-login .depth-news-container-wrapper,
.page-template-page-register .depth-news-container-wrapper,
.page-template-page-lostpassword .depth-news-container-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 400px);
    width: 100%;
}

/* Ensure header stays normal on auth pages */
.page-template-page-login .site-header,
.page-template-page-register .site-header,
.page-template-page-lostpassword .site-header {
    position: relative;
}

.page-template-page-login .depth-news-top-header,
.page-template-page-register .depth-news-top-header,
.page-template-page-lostpassword .depth-news-top-header,
.page-template-page-login .depth-news-bottom-header,
.page-template-page-register .depth-news-bottom-header,
.page-template-page-lostpassword .depth-news-bottom-header {
    display: block;
    width: 100%;
}

.page-template-page-login .depth-news-main-wrapper,
.page-template-page-register .depth-news-main-wrapper,
.page-template-page-lostpassword .depth-news-main-wrapper {
    padding: 50px 0;
}



/* Modern Comment Section Enhancements */
.comments-area {
	background-color: #fafafa !important;
	border-radius: 12px !important;
	padding: 40px !important;
	margin-top: 50px;
}

.comment {
	background-color: #ffffff !important;
	border: 1px solid var(--assafir-border) !important;
	border-radius: 8px !important;
	border-right: 4px solid var(--assafir-primary) !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
	transition: all 0.3s ease !important;
	padding: 25px !important;
	margin-bottom: 25px !important;
}

.comment:hover {
	box-shadow: 0 4px 12px rgba(211, 47, 47, 0.15) !important;
	transform: translateY(-2px) !important;
}

.comment-content {
	background-color: #f9f9f9 !important;
	border-radius: 6px !important;
	border-right: 3px solid var(--assafir-border) !important;
	padding: 15px !important;
}

.comment-form {
	background-color: #ffffff !important;
	border: 2px solid var(--assafir-border) !important;
	border-radius: 12px !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
	padding: 35px !important;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	border: 2px solid var(--assafir-border) !important;
	border-radius: 6px !important;
	padding: 14px 16px !important;
}

.comment-form input:focus,
.comment-form textarea:focus {
	border-color: var(--assafir-primary) !important;
	box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1) !important;
}

.comment .reply a {
	background-color: var(--assafir-primary) !important;
	color: #ffffff !important;
	padding: 8px 18px !important;
	border-radius: 5px !important;
	transition: all 0.3s ease !important;
}

       .comment .reply a:hover {
       	background-color: var(--assafir-primary-hover) !important;
       	transform: translateY(-2px) !important;
       	box-shadow: 0 4px 8px rgba(183, 28, 28, 0.3) !important;
       }

/* Comment Pagination */
.comments-navigation {
	margin: 30px 0;
	padding: 20px 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 15px;
}

.comments-navigation .nav-previous,
.comments-navigation .nav-next {
	flex: 1;
	min-width: 150px;
}

.comments-navigation a {
	color: var(--assafir-primary);
	text-decoration: none;
	font-weight: 600;
	padding: 12px 25px;
	border: 2px solid var(--assafir-primary);
	border-radius: 6px;
	transition: all 0.3s ease;
	display: inline-block;
	text-align: center;
	background-color: #ffffff;
}

.comments-navigation a:hover {
	background-color: var(--assafir-primary);
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(211, 47, 47, 0.3);
}

.comments-navigation .nav-previous a::before {
	content: "← ";
	margin-left: 5px;
}

.comments-navigation .nav-next a::after {
	content: " →";
	margin-right: 5px;
}

/* Comment Page Numbers */
.comment-navigation {
	margin: 30px 0;
	padding: 20px 0;
	text-align: center;
}

.comment-navigation .page-numbers {
	display: inline-block;
	padding: 10px 15px;
	margin: 0 5px;
	color: var(--assafir-primary);
	border: 2px solid var(--assafir-border);
	border-radius: 6px;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s ease;
	background-color: #ffffff;
}

.comment-navigation .page-numbers:hover,
.comment-navigation .page-numbers.current {
	background-color: var(--assafir-primary);
	color: #ffffff;
	border-color: var(--assafir-primary);
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(211, 47, 47, 0.3);
}

.comment-navigation .page-numbers.dots {
	border: none;
	background: transparent;
	cursor: default;
}

.comment-navigation .page-numbers.dots:hover {
	transform: none;
	box-shadow: none;
}



/* ============================================
   Profile Page - Clean Professional Design
   ============================================ */

/* Main Container - Fully Centered (like login/register pages) */
.page-template-page-profile .depth-news-main-wrapper {
	padding: 50px 0;
	background: #f5f5f5;
}

.page-template-page-profile .section-wrapper {
	width: 100%;
}

.page-template-page-profile .depth-news-container-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: calc(100vh - 400px);
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.profile-page-container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0;
	box-sizing: border-box;
}

/* Header Section - Smaller */
.profile-header {
	text-align: center;
	margin-bottom: 25px;
	padding: 20px 15px;
	background: var(--assafir-primary);
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(211, 47, 47, 0.2);
	color: #ffffff;
}

.profile-title {
	color: #ffffff;
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 5px;
}

.profile-subtitle {
	color: rgba(255, 255, 255, 0.9);
	font-size: 13px;
	font-weight: 400;
}

/* Profile Tabs Navigation - Centered & Compact */
.profile-tabs-nav {
	display: flex;
	gap: 8px;
	margin: 0 auto 20px auto;
	border-bottom: 2px solid #e0e0e0;
	background: #ffffff;
	border-radius: 10px 10px 0 0;
	padding: 0 15px;
	overflow-x: hidden;
	overflow-y: hidden;
	justify-content: center;
	max-width: 100%;
	scrollbar-width: none; /* Firefox */
	-ms-overflow-style: none; /* IE and Edge */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.profile-tabs-nav::-webkit-scrollbar {
	display: none;
}

.profile-tab-btn {
	background: transparent;
	border: none;
	padding: 12px 18px;
	font-size: 14px;
	font-weight: 600;
	color: #666;
	cursor: pointer;
	transition: all 0.3s ease;
	border-bottom: 3px solid transparent;
	margin-bottom: -2px;
	white-space: nowrap;
}

.profile-tab-btn:hover {
	color: var(--assafir-primary);
	background-color: #f8f9fa;
}

.profile-tab-btn.active {
	color: var(--assafir-primary);
	border-bottom-color: var(--assafir-primary);
	background-color: #fff5f5;
}

/* Tab Content */
.profile-tabs-content {
	width: 100%;
}

.profile-tab-pane {
	display: none;
	animation: fadeIn 0.3s ease;
}

.profile-tab-pane.active {
	display: block;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Statistics Grid - Centered & Compact */
.profile-stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	margin: 0 auto 20px auto;
	max-width: 100%;
}

.stat-card {
	background: #ffffff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 12px 10px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	position: relative;
}

.stat-card:hover {
	box-shadow: 0 3px 10px rgba(211, 47, 47, 0.12);
	transform: translateY(-1px);
	border-color: var(--assafir-primary);
}

.stat-card-icon {
	font-size: 28px;
	width: 45px;
	height: 45px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff5f5;
	border-radius: 8px;
	margin-bottom: 8px;
	flex-shrink: 0;
}

.stat-card-content {
	flex: 1;
	width: 100%;
}

.stat-card-value {
	font-size: 18px;
	font-weight: 700;
	color: var(--assafir-primary);
	margin-bottom: 4px;
	display: block;
}

.stat-card-label {
	font-size: 12px;
	font-weight: 600;
	color: var(--assafir-dark);
	margin-bottom: 2px;
	display: block;
}

.stat-card-sub {
	font-size: 10px;
	color: #999;
	display: block;
}

/* Profile Info Section - Centered & Compact */
.profile-info-section {
	background: #ffffff;
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	padding: 20px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	margin: 0 auto;
	max-width: 100%;
}

.profile-info-title {
	font-size: 18px;
	font-weight: 700;
	color: var(--assafir-primary);
	margin-bottom: 15px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--assafir-primary);
	text-align: right;
}

.profile-info-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.profile-info-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 0;
	border-bottom: 1px solid #f0f0f0;
}

.profile-info-item:last-child {
	border-bottom: none;
}

.info-label {
	font-weight: 600;
	color: #666;
	font-size: 14px;
}

.info-value {
	font-weight: 600;
	color: var(--assafir-dark);
	font-size: 14px;
}

.info-badge {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
}

.info-badge.active {
	background-color: #d4edda;
	color: #155724;
	border: 1px solid #28a745;
}

/* Profile Sections - Compact & Clean */
.profile-section {
	background: #ffffff;
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	padding: 20px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	width: 100%;
	box-sizing: border-box;
	height: fit-content;
	transition: all 0.2s ease;
}

.profile-section:hover {
	box-shadow: 0 4px 12px rgba(211, 47, 47, 0.12);
	border-color: var(--assafir-primary);
}

.profile-section-title {
	color: var(--assafir-primary);
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 15px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--assafir-primary);
}

.profile-form .form-row {
	margin-bottom: 15px;
}

.profile-form .form-row-half {
	display: inline-block;
	width: calc(50% - 5px);
	margin-left: 5px;
	vertical-align: top;
}

.profile-form .form-row-half:first-child {
	margin-left: 0;
}

.profile-form label {
	display: block;
	margin-bottom: 5px;
	color: var(--assafir-dark);
	font-weight: 600;
	font-size: 13px;
}

.profile-form .required {
	color: var(--assafir-primary);
}

.profile-form input[type="text"],
.profile-form input[type="email"],
.profile-form input[type="url"],
.profile-form input[type="password"],
.profile-form textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 13px;
	transition: all 0.2s ease;
	background-color: #ffffff;
	font-family: inherit;
}

.profile-form input:focus,
.profile-form textarea:focus {
	border-color: var(--assafir-primary);
	outline: none;
	box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.profile-form textarea {
	resize: vertical;
	min-height: 70px;
}

.profile-form small {
	display: block;
	margin-top: 3px;
	color: #666;
	font-size: 11px;
}

.profile-form .form-submit {
	margin-top: 15px;
}

.profile-form .button-primary {
	background-color: var(--assafir-primary);
	color: #ffffff;
	border: none;
	padding: 10px 20px;
	border-radius: 6px;
	font-weight: 600;
	font-size: 13px;
	cursor: pointer;
	transition: all 0.2s ease;
	width: 100%;
}

       .profile-form .button-primary:hover {
       	background-color: var(--assafir-primary-hover);
       	transform: translateY(-1px);
       	box-shadow: 0 4px 8px rgba(183, 28, 28, 0.3);
       }

/* Messages */
.profile-message {
	padding: 10px 14px;
	border-radius: 6px;
	margin-bottom: 15px;
	font-weight: 600;
	font-size: 13px;
}

.profile-success {
	background-color: #d4edda;
	border: 1px solid #28a745;
	border-right: 3px solid #28a745;
	color: #155724;
}

.profile-error {
	background-color: #f8d7da;
	border: 1px solid #dc3545;
	border-right: 3px solid #dc3545;
	color: #721c24;
}

/* Statistics */
.profile-stats {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.stat-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 12px;
	background-color: #f8f9fa;
	border-radius: 6px;
	border-right: 3px solid var(--assafir-primary);
	font-size: 13px;
}

.stat-label {
	color: #666;
	font-weight: 600;
	font-size: 12px;
}

.stat-value {
	color: var(--assafir-dark);
	font-weight: 700;
	font-size: 13px;
}

/* Actions */
.profile-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.action-button {
	background-color: var(--assafir-primary);
	color: #ffffff !important;
	padding: 10px 18px;
	border-radius: 6px;
	text-align: center;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.2s ease;
	font-size: 13px;
	display: block;
}

.action-button:hover {
	background-color: var(--assafir-primary-hover);
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(183, 28, 28, 0.3);
	color: #ffffff !important;
}

.action-button-danger {
	background-color: #dc3545;
	color: #ffffff !important;
}

.action-button-danger:hover {
	background-color: #c82333;
	box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
	color: #ffffff !important;
}

/* Responsive Design */
@media (min-width: 1400px) {
	.profile-stats-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 25px;
	}
	
	.stat-card {
		padding: 30px 25px;
	}
	
	.stat-card-icon {
		font-size: 52px;
		width: 75px;
		height: 75px;
	}
	
	.stat-card-value {
		font-size: 36px;
	}
}

@media (max-width: 1399px) and (min-width: 1200px) {
	.profile-stats-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 20px;
	}
}

@media (max-width: 1199px) and (min-width: 900px) {
	.profile-stats-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
}

@media (max-width: 899px) {
	.profile-stats-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 15px;
	}
	
	.page-template-page-profile .depth-news-main-wrapper {
		padding: 30px 10px;
	}
	
	.profile-header {
		padding: 25px 15px;
		margin-bottom: 30px;
	}
	
	.profile-title {
		font-size: 26px;
	}
	
	.profile-subtitle {
		font-size: 14px;
	}
	
	.profile-tabs-nav {
		padding: 0 10px;
		gap: 5px;
	}
	
	.profile-tab-btn {
		padding: 12px 15px;
		font-size: 13px;
	}
	
	.profile-section {
		padding: 20px;
	}
	
	.profile-section-title {
		font-size: 18px;
		margin-bottom: 15px;
	}
	
	.stat-card {
		padding: 20px;
		flex-direction: column;
		text-align: center;
	}
	
	.stat-card-icon {
		margin: 0 auto;
	}
}

@media (max-width: 768px) {
	.page-template-page-profile .depth-news-main-wrapper {
		padding: 20px 10px;
	}
	
	.profile-header {
		padding: 20px 15px;
		margin-bottom: 25px;
	}
	
	.profile-title {
		font-size: 22px;
	}
	
	.profile-subtitle {
		font-size: 13px;
	}
	
	.profile-tabs-nav {
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		padding: 0 5px;
	}
	
	.profile-tab-btn {
		padding: 10px 12px;
		font-size: 12px;
		min-width: auto;
	}
	
	.profile-stats-grid {
		grid-template-columns: 1fr;
		gap: 15px;
	}
	
	.profile-section {
		padding: 18px;
	}
	
	.profile-section-title {
		font-size: 16px;
		margin-bottom: 15px;
	}
	
	.profile-form .form-row {
		margin-bottom: 15px;
	}
	
	.profile-form .form-row-half {
		width: 100%;
		margin-left: 0;
		display: block;
	}
	
	.profile-form input[type="text"],
	.profile-form input[type="email"],
	.profile-form input[type="url"],
	.profile-form input[type="password"],
	.profile-form textarea {
		padding: 10px 12px;
		font-size: 13px;
	}
	
	.profile-form .button-primary {
		padding: 10px 20px;
		font-size: 13px;
	}
	
	.action-button {
		padding: 10px 18px;
		font-size: 13px;
	}
	
	.stat-item {
		padding: 10px 12px;
		font-size: 13px;
	}
	
	.stat-card {
		padding: 15px;
	}
	
	.stat-card-value {
		font-size: 24px;
	}
	
	.stat-card-icon {
		font-size: 32px;
		width: 50px;
		height: 50px;
	}
}

