/*
Theme Name: BlogSyra
Theme URI: https://blogsyra.com
Author: BlogSyra Team
Author URI: https://blogsyra.com
Description: A modern, responsive WordPress theme for business and portfolio websites. Features include custom homepage sections, blog functionality, portfolio showcase, team members, testimonials, and more.
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: blogsyra
Tags: one-column, two-columns, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, custom-logo, featured-images, footer-widgets, full-width-template, theme-options, translation-ready, blog, portfolio

This theme is based on the BlogSyra Bootstrap Template.
*/

/* WordPress Required Styles */
.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: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.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: #eee;
    clip: auto !important;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* WordPress Gallery */
.gallery {
    margin-bottom: 1.5em;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    width: 100%;
}

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-columns-3 .gallery-item {
    max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
}

.gallery-columns-5 .gallery-item {
    max-width: 20%;
}

.gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
    max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
    max-width: 11.11%;
}

.gallery-caption {
    display: block;
}

/* WordPress Widgets */
.widget {
    margin: 0 0 1.5em;
}

.widget select {
    max-width: 100%;
}

/* WordPress Comments */
.comment-content a {
    word-wrap: break-word;
}

.bypostauthor {
    display: block;
}

/* Sticky Posts */
.sticky {
    display: block;
}

/* WordPress Pagination */
.pagination {
    margin: 20px 0;
}

.page-numbers {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    color: #212529;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-numbers:hover,
.page-numbers.current {
    background: #e84545;
    border-color: #e84545;
    color: #fff;
}

/* WordPress Admin Bar Fix */
body.admin-bar .header.fixed-top,
body.admin-bar .header.sticky-top {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .header.fixed-top,
    body.admin-bar .header.sticky-top {
        top: 46px;
    }
}

/* WordPress Block Editor Support */
.wp-block-button__link {
    background-color: #e84545;
    border-radius: 50px;
    padding: 12px 40px;
}

.wp-block-button__link:hover {
    background-color: #d63838;
}

/* Entry Content Styles */
.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: 1em 1.5em;
    border-left: 4px solid #e84545;
    background: #f8f9fa;
    font-style: italic;
}

.entry-content img {
    max-width: 100%;
    height: auto;
}

.entry-content table {
    width: 100%;
    margin-bottom: 1em;
    border-collapse: collapse;
}

.entry-content table th,
.entry-content table td {
    padding: 0.75em;
    border: 1px solid #dee2e6;
}

.entry-content table th {
    background: #f8f9fa;
}
