/*
Theme Name: Apso
Description: A modern WordPress theme for Apso - AI-powered backend platform. Built for developers and entrepreneurs who need flexibility and velocity without compromise.
Author: Mavric Technology
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: apso
Domain Path: /languages
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
*/

/* Import existing styles */
@import url('./assets/css/bootstrap.min.css');
@import url('./assets/css/swiper-bundle.min.css');
@import url('./assets/css/custom.css');

/* WordPress specific styles */
.wp-block-image {
    margin: 1em 0;
}

.alignleft {
    float: left;
    margin-right: 1em;
}

.alignright {
    float: right;
    margin-left: 1em;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.875em;
    color: #666;
    margin-top: 0.5em;
}

/* WordPress admin bar adjustments */
body.admin-bar #topbar {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar #topbar {
        top: 46px;
    }
}

/* WordPress content styles */
.entry-content {
    line-height: 1.6;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.entry-content p {
    margin-bottom: 1em;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1em;
    padding-left: 2em;
}

.entry-content blockquote {
    margin: 1.5em 0;
    padding-left: 1em;
    border-left: 3px solid #0018FF;
    font-style: italic;
}

/* WordPress navigation */
.main-navigation {
    clear: both;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: block;
    text-decoration: none;
    padding: 0.5em 1em;
}

/* WordPress widgets */
.widget {
    margin-bottom: 2em;
}

.widget-title {
    font-size: 1.25em;
    margin-bottom: 1em;
    font-weight: 600;
}

/* WordPress comments */
.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment {
    margin-bottom: 2em;
    padding-bottom: 2em;
    border-bottom: 1px solid #eee;
}

.comment-author {
    font-weight: 600;
    margin-bottom: 0.5em;
}

.comment-meta {
    font-size: 0.875em;
    color: #666;
    margin-bottom: 1em;
}

.comment-content {
    margin-bottom: 1em;
}

/* WordPress pagination */
.page-numbers {
    display: inline-block;
    padding: 0.5em 1em;
    margin: 0 0.25em;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.page-numbers.current {
    background-color: #0018FF;
    color: white;
    border-color: #0018FF;
}

/* WordPress search */
.search-form {
    display: flex;
    margin-bottom: 2em;
}

.search-field {
    flex: 1;
    padding: 0.5em;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
}

.search-submit {
    padding: 0.5em 1em;
    background-color: #0018FF;
    color: white;
    border: 1px solid #0018FF;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

/* WordPress responsive images */
img {
    max-width: 100%;
    height: auto;
}

/* WordPress accessibility */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}
