/*
Theme Name: EduScholar Pro
Theme URI: https://example.com/eduscholar-pro
Author: Antigravity Education Themes
Author URI: https://example.com
Description: High-converting WordPress Theme for Educational Platforms, Admission Portals, Lead Generation, Ad Monetization, and Course Management. Features keyword-targeted templates for UG, PG, PhD, Fee Structure, Syllabus, Result, and Entrance Exams. Fully compatible with Gutenberg, WP Customizer, Toolset, and WPML.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eduscholar
Tags: education, admissions, lead-generation, ad-ready, block-styles, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-width-template, theme-options, translation-ready, two-columns

EduScholar Pro WordPress Theme, Copyright 2026 Antigravity
EduScholar Pro is distributed under the terms of the GNU GPL
*/

/* ==========================================================================
   WordPress Core Required Layout Utilities & Accessibility
   ========================================================================== */

/* Text alignment */
.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1em;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1em;
}

/* Gutenberg alignment support */
.alignwide {
    margin-left: -40px;
    margin-right: -40px;
    max-width: calc(100% + 80px);
    width: auto;
}

.alignfull {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: 100vw;
    width: 100vw;
}

@media (max-width: 768px) {
    .alignwide {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }
    .alignfull {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
        width: 100%;
    }
}

/* Captions */
.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
    font-size: 0.875rem;
    color: var(--text-muted, #64748b);
    text-align: center;
}

/* Screen reader text for accessibility */
.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;
}

.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;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Gallery column support */
.gallery {
    margin-bottom: 1.5em;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    width: 100%;
    max-width: calc(33.333% - 1rem);
}

.gallery-columns-2 .gallery-item { max-width: calc(50% - 1rem); }
.gallery-columns-3 .gallery-item { max-width: calc(33.333% - 1rem); }
.gallery-columns-4 .gallery-item { max-width: calc(25% - 1rem); }

.gallery-icon img {
    height: auto;
    max-width: 100%;
    border-radius: 8px;
}

/* Post Password Form */
.post-password-form input[type="password"] {
    padding: 0.625rem 1rem;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 6px;
    margin-right: 0.5rem;
}

.post-password-form input[type="submit"] {
    background: var(--primary-color, #0f172a);
    color: #ffffff;
    border: none;
    padding: 0.625rem 1.25rem;
    border-radius: 6px;
    cursor: pointer;
}
