/*
Theme Name: Quantro Base
Theme URI: https://example.com/quantro-base/
Author: Your Name/Company
Author URI: https://example.com
Description: A clean, modern, and responsive WordPress starter theme built with Tailwind CSS. Quantro Base provides a solid foundation for custom WordPress development, focusing on performance and flexibility.
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: quantro-base
Tags: blog, one-column, two-columns, custom-background, custom-colors, custom-header, custom-logo, custom-menu, featured-images, flexible-header, full-width-template, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready, block-patterns, block-styles, wide-blocks, editor-style, footer-widgets

This file is primarily for theme identification by WordPress and for any global CSS.
Most styling is handled by Tailwind CSS classes applied directly in template files.
*/

/* Basic body font for consistency */
body {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    line-height: 1.6;
    color: #333; /* Default text color */
}

/* Define CSS variables for Customizer colors */
:root {
    --quantro-base-primary-color: #3B82F6; /* Default Tailwind blue-500 */
}

/* Basic styling for WordPress core elements not covered by Tailwind defaults */
.alignwide {
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: 100vw;
    width: 100vw;
}

/* Clearfix for floats */
.clearfix::before,
.clearfix::after {
    content: "";
    display: table;
}
.clearfix::after {
    clear: both;
}

/* Accessibility: Hide content visually but keep it available for screen readers */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto;
    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; /* Above all other elements */
}

/* Basic WordPress alignment classes */
.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}
.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}
.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Image captions */
.wp-caption {
    max-width: 100%; /* Image does not overflow the container */
    background-color: #f5f5f5;
    padding: 4px;
    text-align: center;
}
.wp-caption-text {
    font-size: 0.875rem; /* text-sm */
    color: #6b7280; /* text-gray-500 */
    margin-top: 0.5rem;
    padding: 0.25rem 0.5rem;
}

/* Gallery styles */
.gallery {
    margin: auto;
}
.gallery-item {
    float: left;
    margin-top: 10px;
    text-align: center;
    width: 33%; /* Adjust as needed */
}
.gallery-caption {
    margin-left: 0;
}

/* Comments */
.bypostauthor {
    font-weight: bold;
    font-style: italic;
}

/* Adjustments for customizer color output */
/* These will be overridden by the inline style in functions.php, but good for fallback */
a {
    color: var(--quantro-base-primary-color);
}
a:hover {
    color: #2563eb; /* A slightly darker blue for hover */
}
