/*
Theme Name: Police - Department & Law Enforcement
Theme URI: https://themewild.com/
Author: ThemeWild
Author URI: https://themewild.com/
Description: A modern, responsive WordPress theme designed for Police Departments, Law Enforcement, Security Services, and Government agencies. Built to be 100% compatible with WordPress 6.x+, Elementor Page Builder, Gutenberg, and popular plugins.
Version: 1.0.0
Tested up to: 6.7
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: police-theme
Tags: government, police, security, law-enforcement, elementor, custom-menu, featured-images, full-width-template, theme-options, translation-ready, wide-blocks

(C) 2026 ThemeWild.
*/

/* WordPress Core Alignment & Layout Classes */
.alignnone {
    margin: 5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}
.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}
.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}
a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}
a img.alignnone {
    margin: 5px 20px 20px 0;
}
a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}
a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}
.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}
.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}
.wp-caption p.wp-caption-text {
    font-size: 13px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

/* Elementor Full Width & Editor Compatibility */
.elementor-page .site-content,
.police-template-wrapper {
    padding: 0 !important;
    margin: 0 !important;
}
.elementor-editor-active .wow {
    visibility: visible !important;
    opacity: 1 !important;
}
/* Ensure Hero Slider & Carousels are ALWAYS visible in Elementor Editor and before JS init */
.owl-carousel:not(.owl-loaded) {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}
.owl-carousel:not(.owl-loaded) > *:not(:first-child) {
    display: none;
}
.hero-single [data-animation] {
    opacity: 1 !important;
    visibility: visible !important;
}
.elementor-widget-text-editor .elementor-widget-container > p:empty {
    display: none;
}

/* Post Pagination */
.pagination-area .pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}
.pagination-area .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f4f6f9;
    color: #1e2530;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}
.pagination-area .page-numbers.current,
.pagination-area .page-numbers:hover {
    background: #112d4e;
    color: #fff;
}

/* WordPress Comments Styling */
.comments-area {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #e5e9f2;
}
.comments-title, .comment-reply-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #0b1c39;
}
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}
.comment-list .comment {
    border-bottom: 1px solid #f0f3f8;
    padding-bottom: 25px;
    margin-bottom: 25px;
}
.comment-list .comment-body {
    display: flex;
    gap: 20px;
}
.comment-list .comment-author img {
    border-radius: 50%;
}
.comment-metadata {
    font-size: 13px;
    color: #8892a4;
    margin-bottom: 8px;
}
.comment-content p {
    color: #556070;
    margin-bottom: 10px;
}
.comment-reply-link {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #112d4e;
    text-decoration: none;
}
.comment-reply-link:hover {
    color: #d19f39;
}
.comment-form .form-control {
    border-radius: 6px;
    border: 1px solid #e1e7f0;
    padding: 12px 16px;
    margin-bottom: 15px;
}
.comment-form input[type="submit"] {
    background: #112d4e;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}
.comment-form input[type="submit"]:hover {
    background: #d19f39;
}

/* Sidebar Widgets */
.sidebar-widget {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    border: 1px solid #eef1f6;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.sidebar-widget-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    position: relative;
    border-bottom: 2px solid #eef1f6;
    color: #0b1c39;
}
.sidebar-widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #d19f39;
}
.sidebar-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-widget ul li {
    padding: 10px 0;
    border-bottom: 1px solid #f4f6fa;
}
.sidebar-widget ul li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.sidebar-widget ul li a {
    color: #4b566b;
    text-decoration: none;
    transition: color 0.2s ease;
}
.sidebar-widget ul li a:hover {
    color: #112d4e;
    padding-left: 5px;
}

