/*
Theme Name: Yotkom
Theme URI: https://yotkom.com
Description: A modern, responsive WordPress theme designed for Yotkom Uganda, featuring beautiful animations, custom post types for projects and team members, and integrated donation functionality. The theme includes GSAP animations, custom sliders, and a professional design optimized for non-profit organizations.
Author: Yotkom Development Team
Author URI: https://yotkom.com
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yotkom
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, blog, portfolio, non-profit, charity, responsive, modern, animation, gsap, bootstrap
*/

/* 
This file is required by WordPress for theme identification.
The main theme styles are located in assets/css/style.css
*/

/* Import main theme styles */
@import url('assets/css/style.css');

/* Basic WordPress admin bar adjustments */
.admin-bar .header-area {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .header-area {
        top: 46px;
    }
}

/* WordPress content area styling */
.wp-content {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* WordPress post content styling */
.entry-content {
    max-width: 100%;
}

.entry-content img {
    max-width: 100%;
    height: auto;
}

/* WordPress comment styling */
.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    margin-bottom: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 5px;
}

/* WordPress form styling */
.wpcf7-form input,
.wpcf7-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.wpcf7-form input[type="submit"] {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 12px 25px;
    cursor: pointer;
    border-radius: 4px;
}

/* WordPress pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.pagination .page-numbers {
    padding: 8px 12px;
    margin: 0 5px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: var(--color-primary);
}

.pagination .current {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

/* WordPress search form */
.search-form {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.search-form input[type="search"] {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.search-form input[type="submit"] {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}

/* WordPress widget areas */
.widget {
    margin-bottom: 30px;
}

.widget-title {
    margin-bottom: 15px;
    color: var(--color-heading-1);
}

.widget ul {
    list-style: none;
    padding: 0;
}

.widget ul li {
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.widget ul li:last-child {
    border-bottom: none;
}

/* WordPress responsive images */
.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-top: 10px;
}

/* WordPress gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.gallery-item {
    text-align: center;
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

/* WordPress block editor compatibility */
.wp-block-image img {
    max-width: 100%;
    height: auto;
}

.wp-block-quote {
    border-left: 4px solid var(--color-primary);
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
}

.wp-block-code {
    background: #f4f4f4;
    padding: 15px;
    border-radius: 4px;
    font-family: monospace;
    overflow-x: auto;
}

/* WordPress accessibility improvements */
.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;
}

/* WordPress skip link */
.skip-link {
    background-color: #f1f1f1;
    box-shadow: 0 0 1px 0 rgba(0,0,0,.15);
    color: #0071a1;
    display: block;
    font-size: 14px;
    font-weight: 700;
    left: -9999em;
    outline: none;
    padding: 15px 23px 14px;
    text-decoration: none;
    text-transform: uppercase;
    top: -9999em;
}

.skip-link:focus {
    clip: auto;
    height: auto;
    left: 6px;
    top: 7px;
    width: auto;
    z-index: 100000;
}
